(self.webpackChunkblackpearl=self.webpackChunkblackpearl||[]).push([[717],{62522:function(y,h,n){"use strict";n.r(h),n.d(h,{default:function(){return z}});var p=n(5574),x=n.n(p),t=n(62435),E=n(61172),N=n(73126),e=n(44845),i=n(80222),c=n.n(i),I=n(39022),Z=n.n(I),D=n(93967),S=n.n(D),L=n(76),T=n(86226),B=n(8044),F=n(24482),K=function(l,u){var f={};for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&u.indexOf(s)<0&&(f[s]=l[s]);if(l!=null&&typeof c()=="function")for(var r=0,s=c()(l);r<s.length;r++)u.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(l,s[r])&&(f[s[r]]=l[s[r]]);return f},M=(0,T.b)("page","container","component"),W=function(u,f){var s,r,C=(0,t.useContext)(L.Z),G=C.getPrefixCls,J=C.prefixCls,Q=C.compDefaultProps,o=(0,B.i)("Spin",Q,u),d=o.children,X=o.className,$=o.indicator,P=o.spinning,j=o.style,b=o.tip,v=o.type,w=o.prefixCls,k=K(o,["children","className","indicator","spinning","style","tip","type","prefixCls"]);(0,F.Z)(M.indexOf(v)===-1,"spin","cannot found spin type '".concat(v,"'"));var a=G(J,"spin",w),q=S()(a,X,(r={},(0,e.Z)(r,Z()(s="".concat(a,"-")).call(s,v),v),(0,e.Z)(r,"".concat(a,"-indicator-container"),!0),(0,e.Z)(r,"".concat(a,"-has-children"),d),r)),_=(0,t.useRef)(),A=f||_,tt=function(R){if(R)return R;switch(v){case"page":return t.createElement("div",{className:"".concat(a,"-dot-spin")},t.createElement("i",{className:"".concat(a,"-dot-item")}),t.createElement("i",{className:"".concat(a,"-dot-item")}),t.createElement("i",{className:"".concat(a,"-dot-item")}),t.createElement("i",{className:"".concat(a,"-dot-item")}));case"container":return t.createElement("div",{className:"".concat(a,"-dot-spin")},t.createElement("i",{className:"".concat(a,"-dot-item")}),t.createElement("i",{className:"".concat(a,"-dot-item")}),t.createElement("i",{className:"".concat(a,"-dot-item")}),t.createElement("i",{className:"".concat(a,"-dot-item")}));case"component":return t.createElement("div",{className:"".concat(a,"-dot-spin")},t.createElement("i",{className:"".concat(a,"-dot-item")}))}},et=tt($),nt=d?j:null,at=d?null:j,st=d?A:null,rt=d?null:A,O=P?t.createElement("div",(0,N.Z)({className:q,ref:rt,style:at},k),et,b||""):null,it=S()((0,e.Z)({},"".concat(a,"-children-container"),d&&P)),ct=d?t.createElement("div",{className:"".concat(a,"-children-wrapper"),style:nt,ref:st},O,t.createElement("div",{className:it},d)):O;return ct},g=t.forwardRef(W);g.displayName="Spin";var H=g,U=H,m=n(86074),V=function(){return(0,m.jsx)("div",{className:"app-loading",children:(0,m.jsx)(U,{})})},lt=n(2649),Y=function(){var u=(0,t.useState)(!0),f=x()(u,2),s=f[0],r=f[1];return(0,t.useEffect)(function(){setTimeout(function(){r(!1)},1e3)},[]),(0,m.jsx)("div",{className:"app",children:s?(0,m.jsx)(V,{}):(0,m.jsx)(E.Outlet,{})})},z=Y},2649:function(){"use strict"},93967:function(y,h){var n,p;(function(){"use strict";var x={}.hasOwnProperty;function t(){for(var e="",i=0;i<arguments.length;i++){var c=arguments[i];c&&(e=N(e,E(c)))}return e}function E(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return t.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var i="";for(var c in e)x.call(e,c)&&e[c]&&(i=N(i,c));return i}function N(e,i){return i?e?e+" "+i:e+i:e}y.exports?(t.default=t,y.exports=t):(n=[],p=function(){return t}.apply(h,n),p!==void 0&&(y.exports=p))})()}}]);
