You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
80 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6301],{64335:function(me,ae,c){"use strict";var h=c(67294),C=(0,h.createContext)({});ae.Z=C},16254:function(me){me.exports=Ce,me.exports.parse=C,me.exports.compile=Z,me.exports.tokensToFunction=y,me.exports.tokensToRegExp=xe;var ae="/",c="./",h=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function C(S,W){for(var T=[],B=0,m=0,l="",ye=W&&W.delimiter||ae,ce=W&&W.delimiters||c,D=!1,z;(z=h.exec(S))!==null;){var de=z[0],fe=z[1],A=z.index;if(l+=S.slice(m,A),m=A+de.length,fe){l+=fe[1],D=!0;continue}var U="",ge=S[m],Ee=z[2],se=z[3],Ze=z[4],he=z[5];if(!D&&l.length){var ve=l.length-1;ce.indexOf(l[ve])>-1&&(U=l[ve],l=l.slice(0,ve))}l&&(T.push(l),l="",D=!1);var Se=U!==""&&ge!==void 0&&ge!==U,we=he==="+"||he==="*",G=he==="?"||he==="*",x=U||ye,N=se||Ze;T.push({name:Ee||B++,prefix:U,delimiter:x,optional:G,repeat:we,partial:Se,pattern:N?M(N):"[^"+P(x)+"]+?"})}return(l||m<S.length)&&T.push(l+S.substr(m)),T}function Z(S,W){return y(C(S,W))}function y(S){for(var W=new Array(S.length),T=0;T<S.length;T++)typeof S[T]=="object"&&(W[T]=new RegExp("^(?:"+S[T].pattern+")$"));return function(B,m){for(var l="",ye=m&&m.encode||encodeURIComponent,ce=0;ce<S.length;ce++){var D=S[ce];if(typeof D=="string"){l+=D;continue}var z=B?B[D.name]:void 0,de;if(Array.isArray(z)){if(!D.repeat)throw new TypeError('Expected "'+D.name+'" to not repeat, but got array');if(z.length===0){if(D.optional)continue;throw new TypeError('Expected "'+D.name+'" to not be empty')}for(var fe=0;fe<z.length;fe++){if(de=ye(z[fe],D),!W[ce].test(de))throw new TypeError('Expected all "'+D.name+'" to match "'+D.pattern+'"');l+=(fe===0?D.prefix:D.delimiter)+de}continue}if(typeof z=="string"||typeof z=="number"||typeof z=="boolean"){if(de=ye(String(z),D),!W[ce].test(de))throw new TypeError('Expected "'+D.name+'" to match "'+D.pattern+'", but got "'+de+'"');l+=D.prefix+de;continue}if(D.optional){D.partial&&(l+=D.prefix);continue}throw new TypeError('Expected "'+D.name+'" to be '+(D.repeat?"an array":"a string"))}return l}}function P(S){return S.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function M(S){return S.replace(/([=!:$/()])/g,"\\$1")}function K(S){return S&&S.sensitive?"":"i"}function k(S,W){if(!W)return S;var T=S.source.match(/\((?!\?)/g);if(T)for(var B=0;B<T.length;B++)W.push({name:B,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return S}function ue(S,W,T){for(var B=[],m=0;m<S.length;m++)B.push(Ce(S[m],W,T).source);return new RegExp("(?:"+B.join("|")+")",K(T))}function F(S,W,T){return xe(C(S,T),W,T)}function xe(S,W,T){T=T||{};for(var B=T.strict,m=T.start!==!1,l=T.end!==!1,ye=P(T.delimiter||ae),ce=T.delimiters||c,D=[].concat(T.endsWith||[]).map(P).concat("$").join("|"),z=m?"^":"",de=S.length===0,fe=0;fe<S.length;fe++){var A=S[fe];if(typeof A=="string")z+=P(A),de=fe===S.length-1&&ce.indexOf(A[A.length-1])>-1;else{var U=A.repeat?"(?:"+A.pattern+")(?:"+P(A.delimiter)+"(?:"+A.pattern+"))*":A.pattern;W&&W.push(A),A.optional?A.partial?z+=P(A.prefix)+"("+U+")?":z+="(?:"+P(A.prefix)+"("+U+"))?":z+=P(A.prefix)+"("+U+")"}}return l?(B||(z+="(?:"+ye+")?"),z+=D==="$"?"$":"(?="+D+")"):(B||(z+="(?:"+ye+"(?="+D+"))?"),de||(z+="(?="+ye+"|"+D+")")),new RegExp(z,K(T))}function Ce(S,W,T){return S instanceof RegExp?k(S,W):Array.isArray(S)?ue(S,W,T):F(S,W,T)}},80430:function(me){"use strict";var ae=!1,c=function(){};if(ae){var h=function(Z,y){var P=arguments.length;y=new Array(P>1?P-1:0);for(var M=1;M<P;M++)y[M-1]=arguments[M];var K=0,k="Warning: "+Z.replace(/%s/g,function(){return y[K++]});typeof console!="undefined"&&console.error(k);try{throw new Error(k)}catch(ue){}};c=function(C,Z,y){var P=arguments.length;y=new Array(P>2?P-2:0);for(var M=2;M<P;M++)y[M-2]=arguments[M];if(Z===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");C||h.apply(null,[Z].concat(y))}}me.exports=c},38475:function(me,ae,c){"use strict";c.d(ae,{Z:function(){return fe}});var h=c(28481),C=c(67294),Z=c(73935),y=c(98924),P=c(80334),M=c(42550),K=C.createContext(null),k=K,ue=c(85061),F=c(8410),xe=[];function Ce(A,U){var ge=C.useState(function(){if(!(0,y.Z)())return null;var L=document.createElement("div");return L}),Ee=(0,h.Z)(ge,1),se=Ee[0],Ze=C.useRef(!1),he=C.useContext(k),ve=C.useState(xe),Se=(0,h.Z)(ve,2),we=Se[0],G=Se[1],x=he||(Ze.current?void 0:function(L){G(function(q){var V=[L].concat((0,ue.Z)(q));return V})});function N(){se.parentElement||document.body.appendChild(se),Ze.current=!0}function H(){var L;(L=se.parentElement)===null||L===void 0||L.removeChild(se),Ze.current=!1}return(0,F.Z)(function(){return A?he?he(N):N():H(),H},[A]),(0,F.Z)(function(){we.length&&(we.forEach(function(L){return L()}),G(xe))},[we]),[se,x]}var S=c(44958),W=c(74204);function T(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var B="rc-util-locker-".concat(Date.now()),m=0;function l(A){var U=!!A,ge=C.useState(function(){return m+=1,"".concat(B,"_").concat(m)}),Ee=(0,h.Z)(ge,1),se=Ee[0];(0,F.Z)(function(){if(U){var Ze=(0,W.Z)(),he=T();(0,S.hq)(`
  2. html body {
  3. overflow-y: hidden;
  4. `.concat(he?"width: calc(100% - ".concat(Ze,"px);"):"",`
  5. }`),se)}else(0,S.jL)(se);return function(){(0,S.jL)(se)}},[U,se])}var ye=!1;function ce(A){return typeof A=="boolean"&&(ye=A),ye}var D=function(U){return U===!1?!1:!(0,y.Z)()||!U?null:typeof U=="string"?document.querySelector(U):typeof U=="function"?U():U},z=C.forwardRef(function(A,U){var ge=A.open,Ee=A.autoLock,se=A.getContainer,Ze=A.debug,he=A.autoDestroy,ve=he===void 0?!0:he,Se=A.children,we=C.useState(ge),G=(0,h.Z)(we,2),x=G[0],N=G[1],H=x||ge;C.useEffect(function(){(ve||ge)&&N(ge)},[ge,ve]);var L=C.useState(function(){return D(se)}),q=(0,h.Z)(L,2),V=q[0],Y=q[1];C.useEffect(function(){var O=D(se);Y(O!=null?O:null)});var $=Ce(H&&!V,Ze),I=(0,h.Z)($,2),ie=I[0],J=I[1],oe=V!=null?V:ie;l(Ee&&ge&&(0,y.Z)()&&(oe===ie||oe===document.body));var Pe=null;if(Se&&(0,M.Yr)(Se)&&U){var ze=Se;Pe=ze.ref}var Ke=(0,M.x1)(Pe,U);if(!H||!(0,y.Z)()||V===void 0)return null;var _e=oe===!1||ce(),He=Se;return U&&(He=C.cloneElement(Se,{ref:Ke})),C.createElement(k.Provider,{value:J},_e?He:(0,Z.createPortal)(He,oe))}),de=z,fe=de},7700:function(){},2828:function(){},17124:function(){},43361:function(){},17212:function(){},18067:function(){},50799:function(me,ae,c){"use strict";c.r(ae),c.d(ae,{default:function(){return ti}});var h=c(11849),C=c(2824),Z=c(67294),y=c(48971),P=c(79004),M=c(93224),K=c(73727),k=c(24793),ue=c(97183),F=c(96156),xe=c(55507),Ce=c(92137),S=c(81253),W=c(84305),T=c(39559),B=c(28481),m=c(28991),l=c(85893),ye=c(78775),ce=c(56725),D=c(12044);function z(n,e){var t=typeof n.pageName=="string"?n.title:e;(0,Z.useEffect)(function(){(0,D.Z)()&&t&&(document.title=t)},[n.title,t])}var de=z,fe=c(21879),A=c.n(fe),U=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function ge(n,e){return!!(n===e||U(n)&&U(e))}function Ee(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++)if(!ge(n[t],e[t]))return!1;return!0}function se(n,e){e===void 0&&(e=Ee);var t,r=[],i,a=!1;function o(){for(var u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return a&&t===this&&e(u,r)||(i=n.apply(this,u),a=!0,t=this,r=u),i}return o}var Ze=se;function he(n){for(var e=[],t=0;t<n.length;){var r=n[t];if(r==="*"||r==="+"||r==="?"){e.push({type:"MODIFIER",index:t,value:n[t++]});continue}if(r==="\\"){e.push({type:"ESCAPED_CHAR",index:t++,value:n[t++]});continue}if(r==="{"){e.push({type:"OPEN",index:t,value:n[t++]});continue}if(r==="}"){e.push({type:"CLOSE",index:t,value:n[t++]});continue}if(r===":"){for(var i="",a=t+1;a<n.length;){var o=n.charCodeAt(a);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){i+=n[a++];continue}break}if(!i)throw new TypeError("Missing parameter name at "+t);e.push({type:"NAME",index:t,value:i}),t=a;continue}if(r==="("){var u=1,s="",a=t+1;if(n[a]==="?")throw new TypeError('Pattern cannot start with "?" at '+a);for(;a<n.length;){if(n[a]==="\\"){s+=n[a++]+n[a++];continue}if(n[a]===")"){if(u--,u===0){a++;break}}else if(n[a]==="("&&(u++,n[a+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+a);s+=n[a++]}if(u)throw new TypeError("Unbalanced pattern at "+t);if(!s)throw new TypeError("Missing pattern at "+t);e.push({type:"PATTERN",index:t,value:s}),t=a;continue}e.push({type:"CHAR",index:t,value:n[t++]})}return e.push({type:"END",index:t,value:""}),e}function ve(n,e){e===void 0&&(e={});for(var t=he(n),r=e.prefixes,i=r===void 0?"./":r,a="[^"+N(e.delimiter||"/#?")+"]+?",o=[],u=0,s=0,d="",g=function(Q){if(s<t.length&&t[s].type===Q)return t[s++].value},f=function(Q){var pe=g(Q);if(pe!==void 0)return pe;var Me=t[s],X=Me.type,Oe=Me.index;throw new TypeError("Unexpected "+X+" at "+Oe+", expected "+Q)},v=function(){for(var Q="",pe;pe=g("CHAR")||g("ESCAPED_CHAR");)Q+=pe;return Q};s<t.length;){var b=g("CHAR"),R=g("NAME"),w=g("PATTERN");if(R||w){var p=b||"";i.indexOf(p)===-1&&(d+=p,p=""),d&&(o.push(d),d=""),o.push({name:R||u++,prefix:p,suffix:"",pattern:w||a,modifier:g("MODIFIER")||""});continue}var j=b||g("ESCAPED_CHAR");if(j){d+=j;continue}d&&(o.push(d),d="");var E=g("OPEN");if(E){var p=v(),te=g("NAME")||"",_=g("PATTERN")||"",re=v();f("CLOSE"),o.push({name:te||(_?u++:""),pattern:te&&!_?a:_,prefix:p,suffix:re,modifier:g("MODIFIER")||""});continue}f("END")}return o}function Se(n,e){return we(ve(n,e),e)}function we(n,e){e===void 0&&(e={});var t=H(e),r=e.encode,i=r===void 0?function(s){return s}:r,a=e.validate,o=a===void 0?!0:a,u=n.map(function(s){if(typeof s=="object")return new RegExp("^(?:"+s.pattern+")$",t)});return function(s){for(var d="",g=0;g<n.length;g++){var f=n[g];if(typeof f=="string"){d+=f;continue}var v=s?s[f.name]:void 0,b=f.modifier==="?"||f.modifier==="*",R=f.modifier==="*"||f.modifier==="+";if(Array.isArray(v)){if(!R)throw new TypeError('Expected "'+f.name+'" to not repeat, but got an array');if(v.length===0){if(b)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var w=0;w<v.length;w++){var p=i(v[w],f);if(o&&!u[g].test(p))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but got "'+p+'"');d+=f.prefix+p+f.suffix}continue}if(typeof v=="string"||typeof v=="number"){var p=i(String(v),f);if(o&&!u[g].test(p))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but got "'+p+'"');d+=f.prefix+p+f.suffix;continue}if(!b){var j=R?"an array":"a string";throw new TypeError('Expected "'+f.name+'" to be '+j)}}return d}}function G(n,e){var t=[],r=$(n,t,e);return x(r,t,e)}function x(n,e,t){t===void 0&&(t={});var r=t.decode,i=r===void 0?function(a){return a}:r;return function(a){var o=n.exec(a);if(!o)return!1;for(var u=o[0],s=o.index,d=Object.create(null),g=function(v){if(o[v]===void 0)return"continue";var b=e[v-1];b.modifier==="*"||b.modifier==="+"?d[b.name]=o[v].split(b.prefix+b.suffix).map(function(R){return i(R,b)}):d[b.name]=i(o[v],b)},f=1;f<o.length;f++)g(f);return{path:u,index:s,params:d}}}function N(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function H(n){return n&&n.sensitive?"":"i"}function L(n,e){if(!e)return n;var t=n.source.match(/\((?!\?)/g);if(t)for(var r=0;r<t.length;r++)e.push({name:r,prefix:"",suffix:"",modifier:"",pattern:""});return n}function q(n,e,t){var r=n.map(function(i){return $(i,e,t).source});return new RegExp("(?:"+r.join("|")+")",H(t))}function V(n,e,t){return Y(ve(n,t),e,t)}function Y(n,e,t){t===void 0&&(t={});for(var r=t.strict,i=r===void 0?!1:r,a=t.start,o=a===void 0?!0:a,u=t.end,s=u===void 0?!0:u,d=t.encode,g=d===void 0?function(Q){return Q}:d,f="["+N(t.endsWith||"")+"]|$",v="["+N(t.delimiter||"/#?")+"]",b=o?"^":"",R=0,w=n;R<w.length;R++){var p=w[R];if(typeof p=="string")b+=N(g(p));else{var j=N(g(p.prefix)),E=N(g(p.suffix));if(p.pattern)if(e&&e.push(p),j||E)if(p.modifier==="+"||p.modifier==="*"){var te=p.modifier==="*"?"?":"";b+="(?:"+j+"((?:"+p.pattern+")(?:"+E+j+"(?:"+p.pattern+"))*)"+E+")"+te}else b+="(?:"+j+"("+p.pattern+")"+E+")"+p.modifier;else b+="("+p.pattern+")"+p.modifier;else b+="(?:"+j+E+")"+p.modifier}}if(s)i||(b+=v+"?"),b+=t.endsWith?"(?="+f+")":"$";else{var _=n[n.length-1],re=typeof _=="string"?v.indexOf(_[_.length-1])>-1:_===void 0;i||(b+="(?:"+v+"(?="+f+"))?"),re||(b+="(?="+v+"|"+f+")")}return new RegExp(b,H(t))}function $(n,e,t){return n instanceof RegExp?L(n,e):Array.isArray(n)?q(n,e,t):V(n,e,t)}function I(n,e){return e>>>n|e<<32-n}function ie(n,e,t){return n&e^~n&t}function J(n,e,t){return n&e^n&t^e&t}function oe(n){return I(2,n)^I(13,n)^I(22,n)}function Pe(n){return I(6,n)^I(11,n)^I(25,n)}function ze(n){return I(7,n)^I(18,n)^n>>>3}function Ke(n){return I(17,n)^I(19,n)^n>>>10}function _e(n,e){return n[e&15]+=Ke(n[e+14&15])+n[e+9&15]+ze(n[e+1&15])}var He=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],O,ne,ee,Ue="0123456789abcdef";function $e(n,e){var t=(n&65535)+(e&65535),r=(n>>16)+(e>>16)+(t>>16);return r<<16|t&65535}function dt(){O=new Array(8),ne=new Array(2),ee=new Array(64),ne[0]=ne[1]=0,O[0]=1779033703,O[1]=3144134277,O[2]=1013904242,O[3]=2773480762,O[4]=1359893119,O[5]=2600822924,O[6]=528734635,O[7]=1541459225}function et(){var n,e,t,r,i,a,o,u,s,d,g=new Array(16);n=O[0],e=O[1],t=O[2],r=O[3],i=O[4],a=O[5],o=O[6],u=O[7];for(var f=0;f<16;f++)g[f]=ee[(f<<2)+3]|ee[(f<<2)+2]<<8|ee[(f<<2)+1]<<16|ee[f<<2]<<24;for(var v=0;v<64;v++)s=u+Pe(i)+ie(i,a,o)+He[v],v<16?s+=g[v]:s+=_e(g,v),d=oe(n)+J(n,e,t),u=o,o=a,a=i,i=$e(r,s),r=t,t=e,e=n,n=$e(s,d);O[0]+=n,O[1]+=e,O[2]+=t,O[3]+=r,O[4]+=i,O[5]+=a,O[6]+=o,O[7]+=u}function ft(n,e){var t,r,i=0;r=ne[0]>>3&63;var a=e&63;for((ne[0]+=e<<3)<e<<3&&ne[1]++,ne[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=r;o<64;o++)ee[o]=n.charCodeAt(i++);et(),r=0}for(var u=0;u<a;u++)ee[u]=n.charCodeAt(i++)}function vt(){var n=ne[0]>>3&63;if(ee[n++]=128,n<=56)for(var e=n;e<56;e++)ee[e]=0;else{for(var t=n;t<64;t++)ee[t]=0;et();for(var r=0;r<56;r++)ee[r]=0}ee[56]=ne[1]>>>24&255,ee[57]=ne[1]>>>16&255,ee[58]=ne[1]>>>8&255,ee[59]=ne[1]&255,ee[60]=ne[0]>>>24&255,ee[61]=ne[0]>>>16&255,ee[62]=ne[0]>>>8&255,ee[63]=ne[0]&255,et()}function $t(){for(var n=0,e=new Array(32),t=0;t<8;t++)e[n++]=O[t]>>>24&255,e[n++]=O[t]>>>16&255,e[n++]=O[t]>>>8&255,e[n++]=O[t]&255;return e}function mt(){for(var n=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)n+=Ue.charAt(O[e]>>>t&15);return n}function Mt(n){return dt(),ft(n,n.length),vt(),mt()}var Zt=Mt;function Rt(n){return Rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rt(n)}var Ln=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Bn(n,e){return $n(n)||Hn(n,e)||St(n,e)||zn()}function zn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  6. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hn(n,e){var t=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r=[],i=!0,a=!1,o,u;try{for(t=t.call(n);!(i=(o=t.next()).done)&&(r.push(o.value),!(e&&r.length===e));i=!0);}catch(s){a=!0,u=s}finally{try{!i&&t.return!=null&&t.return()}finally{if(a)throw u}}return r}}function $n(n){if(Array.isArray(n))return n}function Wn(n,e){var t=typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=St(n))||e&&n&&typeof n.length=="number"){t&&(n=t);var r=0,i=function(){};return{s:i,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  7. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,u;return{s:function(){t=t.call(n)},n:function(){var d=t.next();return a=d.done,d},e:function(d){o=!0,u=d},f:function(){try{!a&&t.return!=null&&t.return()}finally{if(o)throw u}}}}function Kn(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function Wt(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function Un(n,e,t){return e&&Wt(n.prototype,e),t&&Wt(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function Gn(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&tt(n,e)}function Vn(n){var e=Kt();return function(){var r=nt(n),i;if(e){var a=nt(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return Qn(this,i)}}function Qn(n,e){if(e&&(Rt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yn(n)}function Yn(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Et(n){var e=typeof Map=="function"?new Map:void 0;return Et=function(r){if(r===null||!Xn(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return gt(r,arguments,nt(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),tt(i,r)},Et(n)}function gt(n,e,t){return Kt()?gt=Reflect.construct.bind():gt=function(i,a,o){var u=[null];u.push.apply(u,a);var s=Function.bind.apply(i,u),d=new s;return o&&tt(d,o.prototype),d},gt.apply(null,arguments)}function Kt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(n){return!1}}function Xn(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function tt(n,e){return tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},tt(n,e)}function nt(n){return nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},nt(n)}function Ut(n){return qn(n)||kn(n)||St(n)||Jn()}function Jn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  8. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function St(n,e){if(!!n){if(typeof n=="string")return jt(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return jt(n,e)}}function kn(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function qn(n){if(Array.isArray(n))return jt(n)}function jt(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function _n(n,e){if(n==null)return{};var t=er(n,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(i=0;i<a.length;i++)r=a[i],!(e.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,r)||(t[r]=n[r]))}return t}function er(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(t[i]=n[i]);return t}function Gt(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function le(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Gt(Object(t),!0).forEach(function(r){rt(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Gt(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function rt(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var be="routes";function at(n){return n.split("?")[0].split("#")[0]}var Pt=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},tr=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Zt(JSON.stringify(e)))}catch(r){}return t&&at(t)},nr=function(e,t){var r=e.name,i=e.locale;return"locale"in e&&i===!1||!r?!1:e.locale||"".concat(t,".").concat(r)},Vt=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||Pt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},rr=function(e,t){var r=e.menu,i=r===void 0?{}:r,a=e.indexRoute,o=e.path,u=o===void 0?"":o,s=e.children||e[be],d=i.name,g=d===void 0?e.name:d,f=i.icon,v=f===void 0?e.icon:f,b=i.hideChildren,R=b===void 0?e.hideChildren:b,w=i.flatMenu,p=w===void 0?e.flatMenu:w,j=a&&Object.keys(a).join(",")!=="redirect"?[le({path:u,menu:i},a)].concat(s||[]):s,E=le({},e);if(g&&(E.name=g),v&&(E.icon=v),j&&j.length){if(R)return delete E[be],delete E.children,E;var te=Nt(le(le({},t),{},{data:j}),e);if(p)return te;E[be]=te}return E},Te=function(e){return Array.isArray(e)&&e.length>0};function Nt(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=n.data,r=n.formatMessage,i=n.parentName,a=n.locale;return!t||!Array.isArray(t)?[]:t.filter(function(o){return o?Te(o[be])||Te(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var u,s;return(o==null||(u=o.menu)===null||u===void 0?void 0:u.name)||(o==null?void 0:o.flatMenu)||(o==null||(s=o.menu)===null||s===void 0?void 0:s.flatMenu)?!0:o.menu!==!1}).map(function(o){var u=le({},o);return u.unaccessible&&delete u.name,u.path==="*"&&(u.path="."),u.path==="/*"&&(u.path="."),!u.path&&u.originPath&&(u.path=u.originPath),u}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},u=o.children||o[be],s=Vt(o.path,e?e.path:"/"),d=o.name,g=nr(o,i||"menu"),f=g!==!1&&a!==!1&&r&&g?r({id:g,defaultMessage:d}):d,v=e.pro_layout_parentKeys,b=v===void 0?[]:v,R=e.children,w=e.icon,p=e.flatMenu,j=e.indexRoute,E=e.routes,te=_n(e,Ln),_=new Set([].concat(Ut(b),Ut(o.parentKeys||[])));e.key&&_.add(e.key);var re=le(le(le({},te),{},{menu:void 0},o),{},{path:s,locale:g,key:o.key||tr(le(le({},o),{},{path:s})),pro_layout_parentKeys:Array.from(_).filter(function(pe){return pe&&pe!=="/"})});if(f?re.name=f:delete re.name,re.menu===void 0&&delete re.menu,Te(u)){var Q=Nt(le(le({},n),{},{data:u,parentName:g||""}),re);Te(Q)&&(re[be]=Q,re.children=Q)}return rr(re,n)}).flat(1)}var ar=Ze(Nt,A()),ir=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||Te(t[be])||Te(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var r=le({},t),i=r.children||r[be];if(Te(i)&&!r.hideChildrenInMenu&&i.some(function(u){return u&&!!u.name})){var a,o=n(i);if(o.length)return le(le({},r),{},(a={},rt(a,be,o),rt(a,"children",o),a))}return le(le({},t),{},rt({},be,void 0))}).filter(function(t){return t})},or=function(n){Gn(t,n);var e=Vn(t);function t(){return Kn(this,t),e.apply(this,arguments)}return Un(t,[{key:"get",value:function(i){var a;try{var o=Wn(this.entries()),u;try{for(o.s();!(u=o.n()).done;){var s=Bn(u.value,2),d=s[0],g=s[1],f=at(d);if(!Pt(d)&&$(f,[]).test(i)){a=g;break}}}catch(v){o.e(v)}finally{o.f()}}catch(v){a=void 0}return a}}]),t}(Et(Map)),lr=function(e){var t=new or,r=function i(a,o){a.forEach(function(u){var s=u.children||u[be];Te(s)&&i(s,u);var d=Vt(u.path,o?o.path:"/");t.set(at(d),u)})};return r(e),t},ur=Ze(lr,A()),sr=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var r=t.children||t[be];if(Te(r)){var i=n(r);if(i.length)return le(le({},t),{},rt({},be,i))}var a=le({},t);return delete a[be],delete a.children,a}).filter(function(t){return t})},cr=function(e,t,r,i){var a=ar({data:e,formatMessage:r,locale:t}),o=i?sr(a):ir(a),u=ur(a);return{breadcrumb:u,menuData:o}},Qt=cr;function Yt(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function ht(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Yt(Object(t),!0).forEach(function(r){dr(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Yt(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function dr(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var fr=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(r){if(!(!r||!r.key)){var i=r.children||r[be];t[at(r.path||r.key||"/")]=ht({},r),t[r.key||r.path||"/"]=ht({},r),i&&(t=ht(ht({},t),n(i)))}}),t},Xt=fr,vr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return e.filter(function(i){if(i==="/"&&t==="/")return!0;if(i!=="/"&&i!=="/*"&&i&&!Pt(i)){var a=at(i);try{if(r&&$("".concat(a)).test(t)||$("".concat(a),[]).test(t)||$("".concat(a,"/(.*)")).test(t))return!0}catch(o){}}return!1}).sort(function(i,a){return i===t?10:a===t?-10:i.substr(1).split("/").length-a.substr(1).split("/").length})},mr=function(e,t,r,i){var a=Xt(t),o=Object.keys(a),u=vr(o,e||"/",i);return!u||u.length<1?[]:(r||(u=[u[u.length-1]]),u.map(function(s){var d=a[s]||{pro_layout_parentKeys:"",key:""},g=new Map,f=(d.pro_layout_parentKeys||[]).map(function(v){return g.has(v)?null:(g.set(v,!0),a[v])}).filter(function(v){return v});return d.key&&f.push(d),f}).flat(1))},Jt=mr,gr=c(94184),Re=c.n(gr),kt=c(97435),hr=c(21770),qt=c(29405),pr=c(38069),yr=c(80430),xr=c.n(yr),xi=c(7700),Cr=c(83832),Ci=c(57338),br=c(273),Mr=c(57186);function Zr(){var n=(0,Z.useState)([]),e=(0,B.Z)(n,2),t=e[0],r=e[1];return{flatMenuKeys:t,setFlatMenuKeys:r}}var Rr=(0,Mr.f)(Zr),pt=Rr,bi=c(30887),yt=c(28682),Er=c(1351),Sr=c(76629),Mi=c(18446),jr=c(19586),xt=c(85061),_t=c(5991),en=c(6610),tn=c(91321),Pr=c(16165),Nr=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},wt=Nr;function wr(n){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(n)}var Or=wr,Tr={navTheme:"dark",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,iconfontUrl:"",primaryColor:"#1890ff",splitMenus:!1},nn=Tr,rn=function n(e){return(e||[]).reduce(function(t,r){if(r.key&&t.push(r.key),r.routes){var i=t.concat(n(r.routes)||[]);return i}return t},[])},an={daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Zi(n){return n&&an[n]?an[n]:n}function it(n){return n.map(function(e){var t=e.children||e.routes,r=(0,m.Z)({},e);if(!r.name||r.hideInMenu)return null;if(r&&(r==null?void 0:r.routes)){if(!r.hideChildrenInMenu&&t.some(function(i){return i&&i.name&&!i.hideInMenu}))return(0,m.Z)((0,m.Z)({},e),{},{children:it(t),routes:it(t)});delete r.routes,delete r.children}return r}).filter(function(e){return e})}var Ri=c(43361),on=(0,tn.Z)({scriptUrl:nn.iconfontUrl}),ln=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-";if(typeof e=="string"&&e!==""){if(wt(e)||Or(e))return(0,l.jsx)(Pr.Z,{component:function(){return(0,l.jsx)("img",{src:e,alt:"icon",className:"ant-pro-sider-menu-icon"})}});if(e.startsWith(t))return(0,l.jsx)(on,{type:e})}return e},Dr=(0,_t.Z)(function n(e){var t=this;(0,en.Z)(this,n),this.props=void 0,this.getNavMenuItems=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return r.map(function(a){return t.getSubMenuOrItem(a,i)}).filter(function(a){return a})},this.getSubMenuOrItem=function(r,i){var a=(r==null?void 0:r.children)||(r==null?void 0:r.routes);if(Array.isArray(a)&&a.length>0){var o=t.getIntlName(r),u=t.props,s=u.subMenuItemRender,d=u.prefixCls,g=u.menu,f=u.iconPrefixes,v=r.icon?(0,l.jsxs)("span",{className:"".concat(d,"-menu-item"),title:o,children:[!i&&ln(r.icon,f),(0,l.jsx)("span",{className:"".concat(d,"-menu-item-title"),children:o})]}):(0,l.jsx)("span",{className:"".concat(d,"-menu-item"),title:o,children:o}),b=s?s((0,m.Z)((0,m.Z)({},r),{},{isUrl:!1}),v,t.props):v;return{type:(g==null?void 0:g.type)==="group"?"group":void 0,label:b,children:t.getNavMenuItems(a,!0),onTitleClick:r.onTitleClick,key:r.key||r.path}}return{label:t.getMenuItemPath(r,i),title:t.getIntlName(r),key:r.key||r.path,disabled:r.disabled,onClick:function(w){var p;wt(r==null?void 0:r.path)&&window.open(r.path,"_blank"),(p=r.onTitleClick)===null||p===void 0||p.call(r,w)}}},this.getIntlName=function(r){var i=r.name,a=r.locale,o=t.props,u=o.menu,s=o.formatMessage;return a&&(u==null?void 0:u.locale)!==!1?s==null?void 0:s({id:a,defaultMessage:i}):i},this.getMenuItemPath=function(r,i){var a=t.conversionPath(r.path||"/"),o=t.props,u=o.location,s=u===void 0?{pathname:"/"}:u,d=o.isMobile,g=o.onCollapse,f=o.menuItemRender,v=o.iconPrefixes,b=t.getIntlName(r),R=t.props.prefixCls,w=i?null:ln(r.icon,v),p=wt(a),j=(0,l.jsxs)("span",{className:Re()("".concat(R,"-menu-item"),(0,F.Z)({},"".concat(R,"-menu-item-link"),p)),children:[w,(0,l.jsx)("span",{className:"".concat(R,"-menu-item-title"),children:b})]});if(f){var E=(0,m.Z)((0,m.Z)({},r),{},{isUrl:p,itemPath:a,isMobile:d,replace:a===s.pathname,onClick:function(){p&&window.open(a,"_blank"),g&&g(!0)},children:void 0});return f(E,j,t.props)}return j},this.conversionPath=function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")},this.props=e}),Ar=function(e,t){var r=t.layout,i=t.collapsed,a={};return e&&!i&&["side","mix"].includes(r||"mix")&&(a={openKeys:e}),a},un=function(e){var t=e.theme,r=e.mode,i=e.className,a=e.handleOpenChange,o=e.style,u=e.menuData,s=e.menu,d=e.matchMenuKeys,g=e.iconfontUrl,f=e.collapsed,v=e.selectedKeys,b=e.onSelect,R=e.openKeys,w=(0,Z.useRef)([]),p=pt.useContainer(),j=p.flatMenuKeys,E=(0,ce.Z)(s==null?void 0:s.defaultOpenAll),te=(0,B.Z)(E,2),_=te[0],re=te[1],Q=(0,ce.Z)(function(){return(s==null?void 0:s.defaultOpenAll)?rn(u)||[]:R===!1?!1:[]},{value:R===!1?void 0:R,onChange:a}),pe=(0,B.Z)(Q,2),Me=pe[0],X=pe[1],Oe=(0,ce.Z)([],{value:v,onChange:b?function(We){b&&We&&b(We)}:void 0}),De=(0,B.Z)(Oe,2),Ae=De[0],Ie=De[1];(0,Z.useEffect)(function(){(s==null?void 0:s.defaultOpenAll)||R===!1||j.length||d&&(X(d),Ie(d))},[d.join("-")]),(0,Z.useEffect)(function(){g&&(on=(0,tn.Z)({scriptUrl:g}))},[g]),(0,Z.useEffect)(function(){if(d.join("-")!==(Ae||[]).join("-")&&Ie(d),!_&&R!==!1&&d.join("-")!==(Me||[]).join("-")){var We=d;(s==null?void 0:s.autoClose)===!1&&(We=Array.from(new Set([].concat((0,xt.Z)(d),(0,xt.Z)(Me||[]))))),X(We)}else(s==null?void 0:s.ignoreFlatMenu)&&_?X(rn(u)):j.length>0&&re(!1)},[d.join("-"),f]);var Ge=(0,Z.useMemo)(function(){return Ar(Me,e)},[Me&&Me.join(","),e.layout,e.collapsed]),Ve=(0,Z.useState)(function(){return new Dr(e)}),Qe=(0,B.Z)(Ve,1),Fe=Qe[0];if(s==null?void 0:s.loading)return(0,l.jsx)("div",{style:(r==null?void 0:r.includes("inline"))?{padding:24}:{marginTop:16},children:(0,l.jsx)(jr.Z,{active:!0,title:!1,paragraph:{rows:(r==null?void 0:r.includes("inline"))?6:1}})});var Le=Re()(i,{"top-nav-menu":r==="horizontal"});Fe.props=e,e.openKeys===!1&&!e.handleOpenChange&&(w.current=d);var Ne=e.postMenuData?e.postMenuData(u):u;return Ne&&(Ne==null?void 0:Ne.length)<1?null:(0,Z.createElement)(yt.Z,(0,m.Z)((0,m.Z)({},Ge),{},{key:"Menu",mode:r,items:Fe.getNavMenuItems(Ne,!1),inlineIndent:16,defaultOpenKeys:w.current,theme:t,selectedKeys:Ae,style:o,className:Le,onOpenChange:X},e.menuProps))};un.defaultProps={postMenuData:function(e){return e||[]}};var sn=un,Ir=ue.Z.Sider,cn=function(e){return typeof e=="string"?(0,l.jsx)("img",{src:e,alt:"logo"}):typeof e=="function"?e():e},Ot=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",r=e.logo,i=e.title,a=e.layout,o=e[t||""];if(o===!1)return null;var u=cn(r),s=(0,l.jsx)("h1",{children:i!=null?i:"Ant Design Pro"});return o?o(u,e.collapsed?null:s,e):a==="mix"&&t==="menuHeaderRender"?null:(0,l.jsxs)("a",{children:[u,e.collapsed?null:s]})},dn=function(e){return e?(0,l.jsx)(Er.Z,{}):(0,l.jsx)(Sr.Z,{})},Fr=function(e){var t,r=e.collapsed,i=e.fixSiderbar,a=e.menuFooterRender,o=e.onCollapse,u=e.theme,s=e.siderWidth,d=e.isMobile,g=e.onMenuHeaderClick,f=e.breakpoint,v=f===void 0?"lg":f,b=e.style,R=e.layout,w=e.menuExtraRender,p=w===void 0?!1:w,j=e.collapsedButtonRender,E=j===void 0?dn:j,te=e.links,_=e.menuContentRender,re=e.prefixCls,Q=e.onOpenChange,pe=e.headerHeight,Me=e.logoStyle,X="".concat(re,"-sider"),Oe=pt.useContainer(),De=Oe.flatMenuKeys,Ae=Re()("".concat(X),(t={},(0,F.Z)(t,"".concat(X,"-fixed"),i),(0,F.Z)(t,"".concat(X,"-layout-").concat(R),R&&!d),(0,F.Z)(t,"".concat(X,"-light"),u!=="dark"),t)),Ie=Ot(e),Ge=p&&p(e),Ve=_!==!1&&De&&(0,Z.createElement)(sn,(0,m.Z)((0,m.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:Q,style:{width:"100%"},className:"".concat(X,"-menu")})),Qe=_?_(e,Ve):Ve,Fe=(te||[]).map(function(Le,Ne){return{className:"".concat(X,"-link"),label:Le,key:Ne}});return E&&!d&&Fe.push({className:"".concat(X,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){o&&o(!r)},label:E(r)}),(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)("div",{style:(0,m.Z)({width:r?48:s,overflow:"hidden",flex:"0 0 ".concat(r?48:s,"px"),maxWidth:r?48:s,minWidth:r?48:s,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},b)}),(0,l.jsxs)(Ir,{collapsible:!0,trigger:null,collapsed:r,breakpoint:v===!1?void 0:v,onCollapse:function(Ne){d||o==null||o(Ne)},collapsedWidth:48,style:(0,m.Z)({overflow:"hidden",paddingTop:R==="mix"&&!d?pe:void 0},b),width:s,theme:u,className:Ae,children:[Ie&&(0,l.jsx)("div",{className:Re()("".concat(X,"-logo"),(0,F.Z)({},"".concat(X,"-collapsed"),r)),onClick:R!=="mix"?g:void 0,id:"logo",style:Me,children:Ie}),Ge&&(0,l.jsx)("div",{className:"".concat(X,"-extra ").concat(!Ie&&"".concat(X,"-extra-no-logo")),children:Ge}),(0,l.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Qe}),(0,l.jsx)("div",{className:"".concat(X,"-links"),children:(0,l.jsx)(yt.Z,{theme:u,inlineIndent:16,className:"".concat(X,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:Fe})}),a&&(0,l.jsx)("div",{className:Re()("".concat(X,"-footer"),(0,F.Z)({},"".concat(X,"-footer-collapsed"),!r)),children:a(e)})]})]})},fn=Fr,Lr=function(e){var t=e.isMobile,r=e.menuData,i=e.siderWidth,a=e.collapsed,o=e.onCollapse,u=e.style,s=e.className,d=e.hide,g=e.getContainer,f=e.prefixCls,v=e.matchMenuKeys,b=pt.useContainer(),R=b.setFlatMenuKeys;(0,Z.useEffect)(function(){if(!(!r||r.length<1)){var p=Xt(r);R(Object.keys(p))}},[v.join("-")]),(0,Z.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var w=(0,kt.Z)(e,["className","style"]);return d?null:t?(0,l.jsx)(br.Z,{visible:!a,placement:"left",className:Re()("".concat(f,"-drawer-sider"),s),onClose:function(){return o==null?void 0:o(!0)},style:(0,m.Z)({padding:0,height:"100vh"},u),getContainer:g,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,l.jsx)(fn,(0,m.Z)((0,m.Z)({},w),{},{className:Re()("".concat(f,"-sider"),s),collapsed:t?!1:a,splitMenus:!1}))}):(0,l.jsx)(fn,(0,m.Z)((0,m.Z)({className:Re()("".concat(f,"-sider"),s)},w),{},{style:u}))},vn=Lr,Br=c(63485),zr=c(16254),Tt=c.n(zr),Hr=function(e,t,r){if(r){var i=(0,xt.Z)(r.keys()).find(function(o){return Tt()(o).test(e)});if(i)return r.get(i)}if(t){var a=Object.keys(t).find(function(o){return Tt()(o).test(e)});if(a)return t[a]}return{path:""}},mn=function(e,t){var r=e.pathname,i=r===void 0?"/":r,a=e.breadcrumb,o=e.breadcrumbMap,u=e.formatMessage,s=e.title,d=e.menu,g=d===void 0?{locale:!1}:d,f=t?"":s||"",v=Hr(i,a,o);if(!v)return{title:f,id:"",pageName:f};var b=v.name;return g.locale!==!1&&v.locale&&u&&(b=u({id:v.locale||"",defaultMessage:v.name})),b?t||!s?{title:b,id:v.locale||"",pageName:b}:{title:"".concat(b," - ").concat(s),id:v.locale||"",pageName:b}:{title:f,id:v.locale||"",pageName:f}},Ei=function(e,t){return mn(e,t).title},Si=null,$r=c(10379),Wr=c(44144),Kr=c(10178),Ur=c(48717),ji=c(17212),Gr=["rightContentRender","prefixCls"],Vr=function(e){var t=e.rightContentRender,r=e.prefixCls,i=(0,S.Z)(e,Gr),a=(0,Z.useState)("auto"),o=(0,B.Z)(a,2),u=o[0],s=o[1],d=(0,Kr.Z)(function(){var g=(0,Ce.Z)((0,xe.Z)().mark(function f(v){return(0,xe.Z)().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:s(v);case 1:case"end":return R.stop()}},f)}));return function(f){return g.apply(this,arguments)}}(),160);return(0,l.jsx)("div",{className:"".concat(r,"-right-content"),style:{minWidth:u},children:(0,l.jsx)("div",{style:{paddingRight:8},children:(0,l.jsx)(Ur.Z,{onResize:function(f){var v=f.width;d.run(v)},children:t&&(0,l.jsx)("div",{className:"".concat(r,"-right-content-resize"),children:t((0,m.Z)((0,m.Z)({},i),{},{rightContentSize:u}))})})})})},Qr=function(e){var t=(0,Z.useRef)(null),r=e.theme,i=e.onMenuHeaderClick,a=e.contentWidth,o=e.rightContentRender,u=e.className,s=e.style,d=e.headerContentRender,g=e.layout,f="".concat(e.prefixCls||"ant-pro","-top-nav-header"),v=Ot((0,m.Z)((0,m.Z)({},e),{},{collapsed:!1}),g==="mix"?"headerTitleRender":void 0),b=Re()(f,u,{light:r==="light"}),R=(0,l.jsx)(sn,(0,m.Z)((0,m.Z)({},e),e.menuProps)),w=d?d==null?void 0:d(e,R):R;return(0,l.jsx)("div",{className:b,style:s,children:(0,l.jsxs)("div",{ref:t,className:"".concat(f,"-main ").concat(a==="Fixed"?"wide":""),children:[v&&(0,l.jsx)("div",{className:"".concat(f,"-main-left"),onClick:i,children:(0,l.jsx)("div",{className:"".concat(f,"-logo"),id:"logo",children:v},"logo")}),(0,l.jsx)("div",{style:{flex:1},className:"".concat(f,"-menu"),children:w}),o&&(0,l.jsx)(Vr,(0,m.Z)({rightContentRender:o,prefixCls:f},e))]})})},gn=Qr,Pi=c(17124),Yr=function(e,t){return e===!1?null:e?e(t,null):t},Xr=function(e){var t=e.isMobile,r=e.logo,i=e.collapsed,a=e.onCollapse,o=e.collapsedButtonRender,u=o===void 0?dn:o,s=e.rightContentRender,d=e.menuHeaderRender,g=e.onMenuHeaderClick,f=e.className,v=e.style,b=e.layout,R=e.children,w=e.headerTheme,p=w===void 0?"dark":w,j=e.splitMenus,E=e.menuData,te=e.prefixCls,_=(0,Z.useContext)(T.ZP.ConfigContext),re=_.direction,Q="".concat(te,"-global-header"),pe=Re()(f,Q,(0,F.Z)({},"".concat(Q,"-layout-").concat(b),b&&p==="dark"));if(b==="mix"&&!t&&j){var Me=(E||[]).map(function(Ae){return(0,m.Z)((0,m.Z)({},Ae),{},{children:void 0,routes:void 0})}),X=it(Me);return(0,l.jsx)(gn,(0,m.Z)((0,m.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:X,theme:p}))}var Oe=Re()("".concat(Q,"-logo"),(0,F.Z)({},"".concat(Q,"-logo-rtl"),re==="rtl")),De=(0,l.jsx)("span",{className:Oe,children:(0,l.jsx)("a",{children:cn(r)})},"logo");return(0,l.jsxs)("div",{className:pe,style:(0,m.Z)({},v),children:[t&&Yr(d,De),t&&u&&(0,l.jsx)("span",{className:"".concat(Q,"-collapsed-button"),onClick:function(){a&&a(!i)},children:u(i)}),b==="mix"&&!t&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:Oe,onClick:g,children:Ot((0,m.Z)((0,m.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})}),(0,l.jsx)("div",{style:{flex:1},children:R}),s&&s(e)]})},Jr=Xr,Ni=c(2828),hn=ue.Z.Header,kr=function(n){(0,$r.Z)(t,n);var e=(0,Wr.Z)(t);function t(){var r;(0,en.Z)(this,t);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=e.call.apply(e,[this].concat(a)),r.renderContent=function(){var u=r.props,s=u.isMobile,d=u.onCollapse,g=u.navTheme,f=u.layout,v=u.headerRender,b=u.headerContentRender,R=f==="top",w=it(r.props.menuData||[]),p=(0,l.jsx)(Jr,(0,m.Z)((0,m.Z)({onCollapse:d},r.props),{},{menuData:w,children:b&&b(r.props,null)}));return R&&!s&&(p=(0,l.jsx)(gn,(0,m.Z)((0,m.Z)({theme:g,mode:"horizontal",onCollapse:d},r.props),{},{menuData:w}))),v&&typeof v=="function"?v(r.props,p):p},r}return(0,_t.Z)(t,[{key:"render",value:function(){var i,a=this.props,o=a.fixedHeader,u=a.layout,s=a.className,d=a.style,g=a.navTheme,f=a.collapsed,v=a.siderWidth,b=a.hasSiderMenu,R=a.isMobile,w=a.prefixCls,p=a.headerHeight,j=o||u==="mix",E=u==="top",te=j&&b&&!E&&!R,_=Re()(s,(i={},(0,F.Z)(i,"".concat(w,"-fixed-header"),j),(0,F.Z)(i,"".concat(w,"-fixed-header-action"),!f),(0,F.Z)(i,"".concat(w,"-top-menu"),E),(0,F.Z)(i,"".concat(w,"-header-").concat(g),g&&u!=="mix"),i)),re=u!=="mix"&&te?"calc(100% - ".concat(f?48:v,"px)"):"100%",Q=j?0:void 0;return(0,l.jsxs)(l.Fragment,{children:[j&&(0,l.jsx)(hn,{style:{height:p,lineHeight:"".concat(p,"px"),background:"transparent"}}),(0,l.jsx)(hn,{style:(0,m.Z)({padding:0,height:p,lineHeight:"".concat(p,"px"),width:re,zIndex:u==="mix"?100:19,right:Q},d),className:_,children:this.renderContent()})]})}}]),t}(Z.Component),qr=kr,_r={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},ea=(0,m.Z)({},_r),ta={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.daybreak":"Blu cielo mattutino (default)","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},na=(0,m.Z)({},ta),ra={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},aa=(0,m.Z)({},ra),ia={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.daybreak":"\u62C2\u6653\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},oa=(0,m.Z)({},ia),la={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},ua=(0,m.Z)({},la),pn={"zh-CN":oa,"zh-TW":ua,"en-US":ea,"it-IT":na,"ko-KR":aa},sa=function(){if(!(0,D.Z)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},ca=function(){var e=sa();return pn[e]||pn["zh-CN"]},yn=c(64335),da=function(e){var t=["sidemenu","topmenu"];return t.includes(e)?e==null?void 0:e.replace("menu",""):e},fa=da;function va(n){if(!n||n==="/")return["/"];var e=n.split("/").filter(function(t){return t});return e.map(function(t,r){return"/".concat(e.slice(0,r+1).join("/"))})}var ma=function(e){var t=e.breadcrumbName,r=e.path;return(0,l.jsx)("a",{href:r,children:t})},ga=function(e,t){var r=t.formatMessage,i=t.menu;return e.locale&&r&&(i==null?void 0:i.locale)!==!1?r({id:e.locale,defaultMessage:e.name}):e.name},ha=function(e,t){var r=e.get(t);if(!r){var i=Array.from(e.keys())||[],a=i.find(function(o){return Tt()(o.replace("?","")).test(t)});a&&(r=e.get(a))}return r||{path:""}},pa=function(e){var t=e.location,r=e.breadcrumbMap;return{location:t,breadcrumbMap:r}},ya=function(e,t,r){var i=va(e==null?void 0:e.pathname),a=i.map(function(o){var u=ha(t,o),s=ga(u,r),d=u.hideInBreadcrumb;return s&&!d?{path:o,breadcrumbName:s,component:u.component}:{path:"",breadcrumbName:""}}).filter(function(o){return o&&o.path});return a},xa=function(e){var t=pa(e),r=t.location,i=t.breadcrumbMap;return r&&r.pathname&&i?ya(r,i,e):[]},Ca=function(e,t){var r=e.breadcrumbRender,i=e.itemRender,a=t.breadcrumbProps||{},o=a.minLength,u=o===void 0?2:o,s=xa(e),d=i||ma,g=s;return r&&(g=r(g)||[]),(g&&g.length<u||r===!1)&&(g=void 0),{routes:g,itemRender:d}};function ba(n){return(0,xt.Z)(n).reduce(function(e,t){var r=(0,B.Z)(t,2),i=r[0],a=r[1];return e[i]=a,e},{})}var Ma=function n(e,t,r,i){var a=Qt(e,(t==null?void 0:t.locale)||!1,r,!0),o=a.menuData,u=a.breadcrumb;return i?n(i(o),t,r,void 0):{breadcrumb:ba(u),breadcrumbMap:u,menuData:o}},Za=Ma,Ra=c(90484),Ea=c(51812),Sa=function(e){var t=(0,Z.useState)({}),r=(0,B.Z)(t,2),i=r[0],a=r[1];return(0,Z.useEffect)(function(){a((0,Ea.Z)({layout:(0,Ra.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar,headerTheme:e.headerTheme}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar,e.headerTheme]),i},ja=Sa,Pa=c(78164),Na=function(e){var t=e.autoClearCache,r=t===void 0?!0:t,i=e.style,a=e.className,o=e.children,u=e.ErrorBoundary||Pa.Z;return(0,l.jsx)(ye.oK,{autoClearCache:r,children:e.ErrorBoundary===!1?(0,l.jsx)(ue.Z.Content,{className:a,style:i,children:o}):(0,l.jsx)(u,{children:(0,l.jsx)(ue.Z.Content,{className:a,style:i,children:o})})})},wa=Na,Oa=["id","defaultMessage"],Ta=["fixSiderbar","navTheme","layout"],xn=0,Da=function(e,t){return e.headerRender===!1||e.pure?null:(0,l.jsx)(qr,(0,m.Z)({matchMenuKeys:t},e))},Aa=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,m.Z)({},e),(0,l.jsx)(Br.Z,{})):null},Ia=function(e,t){var r=e.layout,i=e.navTheme,a=e.isMobile,o=e.openKeys,u=e.splitMenus,s=e.menuRender;if(e.menuRender===!1||e.pure)return null;var d=e.menuData;if(u&&(o!==!1||r==="mix")&&!a){var g=(0,B.Z)(t,1),f=g[0];if(f){var v,b;d=((v=e.menuData)===null||v===void 0||(b=v.find(function(p){return p.key===f}))===null||b===void 0?void 0:b.routes)||[]}else d=[]}var R=it(d||[]);if(R&&(R==null?void 0:R.length)<1&&u)return null;if(r==="top"&&!a)return(0,l.jsx)(vn,(0,m.Z)((0,m.Z)({matchMenuKeys:t},e),{},{hide:!0}));var w=(0,l.jsx)(vn,(0,m.Z)((0,m.Z)({matchMenuKeys:t},e),{},{style:i==="realDark"?{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"}:{},menuData:R}));return s?s(e,w):w},Fa=function(e,t){var r=t.pageTitleRender,i=mn(e);if(r===!1)return{title:t.title||"",id:"",pageName:""};if(r){var a=r(e,i.title,i);if(typeof a=="string")return(0,m.Z)((0,m.Z)({},i),{},{title:a});xr()(typeof a=="string","pro-layout: renderPageTitle return value should be a string")}return i},La=function(e,t,r){return e?t?48:r:0},Cn=function(e){var t,r,i,a,o=e||{},u=o.children,s=o.onCollapse,d=o.location,g=d===void 0?{pathname:"/"}:d,f=o.contentStyle,v=o.route,b=o.defaultCollapsed,R=o.style,w=o.disableContentMargin,p=o.siderWidth,j=p===void 0?208:p,E=o.menu,te=o.isChildrenLayout,_=o.menuDataRender,re=o.actionRef,Q=o.formatMessage,pe=o.loading,Me=(0,Z.useContext)(T.ZP.ConfigContext),X=(t=e.prefixCls)!==null&&t!==void 0?t:Me.getPrefixCls("pro"),Oe=(0,ce.Z)(!1,{value:E==null?void 0:E.loading,onChange:E==null?void 0:E.onLoadingChange}),De=(0,B.Z)(Oe,2),Ae=De[0],Ie=De[1],Ge=(0,Z.useState)(function(){return xn+=1,"pro-layout-".concat(xn)}),Ve=(0,B.Z)(Ge,1),Qe=Ve[0],Fe=(0,Z.useCallback)(function(je){var Je=je.id,bt=je.defaultMessage,Ht=(0,S.Z)(je,Oa);if(Q)return Q((0,m.Z)({id:Je,defaultMessage:bt},Ht));var ke=ca();return ke[Je]?ke[Je]:bt},[Q]),Le=(0,qt.ZP)(function(){return(E==null?void 0:E.params)?[Qe,E==null?void 0:E.params]:[Qe,{}]},function(){var je=(0,Ce.Z)((0,xe.Z)().mark(function Je(bt,Ht){var ke,Fn;return(0,xe.Z)().wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:return Ie(!0),qe.next=3,E==null||(ke=E.request)===null||ke===void 0?void 0:ke.call(E,Ht,(v==null?void 0:v.routes)||[]);case 3:return Fn=qe.sent,Ie(!1),qe.abrupt("return",Fn);case 6:case"end":return qe.stop()}},Je)}));return function(Je,bt){return je.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Ne=Le.data,We=Le.mutate,ni=(0,qt.kY)(),Rn=ni.cache;(0,Z.useEffect)(function(){return function(){Rn instanceof Map&&Rn.clear()}},[]);var ri=(0,Z.useMemo)(function(){return Za(Ne||(v==null?void 0:v.routes)||[],E,Fe,_)},[Fe,E,_,Ne,v==null?void 0:v.routes]),At=ri||{},En=At.breadcrumb,ai=En===void 0?{}:En,Sn=At.breadcrumbMap,jn=At.menuData,ot=jn===void 0?[]:jn;re&&(E==null?void 0:E.request)&&(re.current={reload:function(){We()}});var lt=(0,Z.useMemo)(function(){return Jt(g.pathname||"/",ot||[],!0)},[g.pathname,ot]),It=(0,Z.useMemo)(function(){return Array.from(new Set(lt.map(function(je){return je.key||je.path||""})))},[lt]),Pn=lt[lt.length-1]||{},Nn=ja(Pn),Ct=(0,m.Z)((0,m.Z)({},e),Nn),ii=Ct.fixSiderbar,wn=Ct.navTheme,oi=Ct.layout,li=(0,S.Z)(Ct,Ta),ut=fa(oi),st=(0,pr.ZP)(),Ye=(st==="sm"||st==="xs")&&!e.disableMobile,ui=ut!=="top"&&!Ye,si=(0,hr.Z)(function(){return b!==void 0?b:!!(Ye||st==="md")},{value:e.collapsed,onChange:s}),On=(0,B.Z)(si,2),ct=On[0],Tn=On[1],Xe=(0,kt.Z)((0,m.Z)((0,m.Z)((0,m.Z)({prefixCls:X},e),{},{siderWidth:j},Nn),{},{formatMessage:Fe,breadcrumb:ai,menu:(0,m.Z)((0,m.Z)({},E),{},{loading:Ae}),layout:ut}),["className","style","breadcrumbRender"]),Ft=Fa((0,m.Z)((0,m.Z)({pathname:g.pathname},Xe),{},{breadcrumbMap:Sn}),e),ci=Ca((0,m.Z)((0,m.Z)({},Xe),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:Sn}),e),Lt=Ia((0,m.Z)((0,m.Z)({},Xe),{},{menuData:ot,onCollapse:Tn,isMobile:Ye,theme:wn==="dark"?"dark":"light",collapsed:ct}),It),Bt=Da((0,m.Z)((0,m.Z)({},Xe),{},{hasSiderMenu:!!Lt,menuData:ot,isMobile:Ye,collapsed:ct,onCollapse:Tn,theme:wn==="dark"?"dark":"light"}),It),Dn=Aa((0,m.Z)({isMobile:Ye,collapsed:ct},Xe)),di=(0,Z.useContext)(yn.Z),fi=di.isChildrenLayout,zt=te!==void 0?te:fi,Be="".concat(X,"-basicLayout"),vi=Re()(e.className,"ant-design-pro",Be,(r={},(0,F.Z)(r,"screen-".concat(st),st),(0,F.Z)(r,"".concat(Be,"-top-menu"),ut==="top"),(0,F.Z)(r,"".concat(Be,"-is-children"),zt),(0,F.Z)(r,"".concat(Be,"-fix-siderbar"),ii),(0,F.Z)(r,"".concat(Be,"-").concat(ut),ut),r)),mi=La(!!ui,ct,j),An={position:"relative"};(zt||f&&f.minHeight)&&(An.minHeight=0);var gi=Re()("".concat(Be,"-content"),(i={},(0,F.Z)(i,"".concat(Be,"-has-header"),Bt),(0,F.Z)(i,"".concat(Be,"-content-disable-margin"),w),i));(0,Z.useEffect)(function(){var je;(je=e.onPageChange)===null||je===void 0||je.call(e,e.location)},[g.pathname,(a=g.pathname)===null||a===void 0?void 0:a.search]);var hi=(0,Z.useState)(!1),In=(0,B.Z)(hi,2),pi=In[0],yi=In[1];return de(Ft,e.title||!1),(0,l.jsx)(pt.Provider,{children:(0,l.jsx)(yn.Z.Provider,{value:(0,m.Z)((0,m.Z)({},Xe),{},{breadcrumb:ci,menuData:ot,isMobile:Ye,collapsed:ct,isChildrenLayout:!0,title:Ft.pageName,hasSiderMenu:!!Lt,hasHeader:!!Bt,siderWidth:mi,hasFooter:!!Dn,hasFooterToolbar:pi,setHasFooterToolbar:yi,pageTitleInfo:Ft,matchMenus:lt,matchMenuKeys:It,currentMenu:Pn}),children:e.pure?(0,l.jsx)(ye.oK,{autoClearCache:!0,children:u}):(0,l.jsx)("div",{className:vi,children:(0,l.jsxs)(ue.Z,{style:(0,m.Z)({minHeight:"100%"},R),children:[Lt,(0,l.jsxs)("div",{style:An,className:Me.getPrefixCls("layout"),children:[Bt,(0,l.jsx)(wa,(0,m.Z)((0,m.Z)({autoClearCache:!1,isChildrenLayout:zt},li),{},{className:gi,style:f,children:pe?(0,l.jsx)(Cr.Z,{}):u})),Dn]})]})})})})},Ba=function(){return(0,l.jsxs)("svg",{width:"32px",height:"32px",viewBox:"0 0 200 200",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,l.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,l.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,l.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,l.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,l.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,l.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,l.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,l.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("g",{fillRule:"nonzero",children:[(0,l.jsxs)("g",{children:[(0,l.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,l.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,l.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,l.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})};Cn.defaultProps=(0,m.Z)((0,m.Z)({logo:(0,l.jsx)(Ba,{})},nn),{},{location:(0,D.Z)()?window.location:void 0});var za=Cn,wi=null,Ha=za,Oi=c(59250),$a=c(13013),Ti=c(20228),Wa=c(11382),Di=c(94233),Ka=c(51890),Ua=c(55035);function Dt(n,e,t,r){if(n.rightRender)return n.rightRender(t,r,n);var i=(0,l.jsx)(yt.Z,{className:"umi-plugin-layout-menu",children:(0,l.jsxs)(yt.Z.Item,{onClick:function(){return n.logout&&(n==null?void 0:n.logout(t))},children:[(0,l.jsx)(Ua.Z,{}),"\u9000\u51FA\u767B\u5F55"]},"logout")}),a=(0,l.jsxs)("span",{className:"umi-plugin-layout-action",children:[(0,l.jsx)(Ka.C,{size:"small",className:"umi-plugin-layout-avatar",src:(t==null?void 0:t.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,l.jsx)("span",{className:"umi-plugin-layout-name",children:t==null?void 0:t.name})]});return e?(0,l.jsx)("div",{className:"umi-plugin-layout-right",children:(0,l.jsx)(Wa.Z,{size:"small",style:{marginLeft:8,marginRight:8}})}):(0,l.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[n.logout?(0,l.jsx)($a.Z,{overlay:i,overlayClassName:"umi-plugin-layout-container",children:a}):a,y.pD&&(0,l.jsx)(y.pD,{})]})}var Ai=c(57106),bn=c(6129),Ii=c(57663),Mn=c(71577);function Zn(){y.m8.push("/")}var Ga=function(){return(0,l.jsx)(bn.ZP,{status:"404",title:"404",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,l.jsx)(Mn.Z,{type:"primary",onClick:Zn,children:"\u8FD4\u56DE\u9996\u9875"})})},Va=function(){return(0,l.jsx)(bn.ZP,{status:"403",title:"403",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762",extra:(0,l.jsx)(Mn.Z,{type:"primary",onClick:Zn,children:"\u8FD4\u56DE\u9996\u9875"})})},Qa=function(e){var t=e.children,r=e.currentPathConfig;return r?r.unAccessible||r.unaccessible?e.unAccessible||(0,l.jsx)(Va,{}):t:e.noFound||(0,l.jsx)(Ga,{})},Ya=function(){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,l.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,l.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,l.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,l.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,l.jsx)("g",{transform:"translate(-20 -20)",children:(0,l.jsx)("g",{transform:"translate(20 20)",children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("g",{fillRule:"nonzero",children:[(0,l.jsxs)("g",{children:[(0,l.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,l.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,l.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,l.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},Xa=Ya,Ja=function(e){var t,r,i,a={};return e!=null&&e.hideFooter&&(a.footerRender=!1),(e==null?void 0:e.layout)==!1?(a.pure=!0,a):(e!=null&&(t=e.layout)!==null&&t!==void 0&&t.hideMenu&&(a.menuRender=!1),e!=null&&(r=e.layout)!==null&&r!==void 0&&r.hideFooter&&(a.footerRender=!1),e!=null&&(i=e.layout)!==null&&i!==void 0&&i.hideNav&&(a.headerRender=!1),a)},ka=Ja,qa=["children","userConfig","location","route"],_a=function(e){var t,r=e.children,i=e.userConfig,a=i===void 0?{}:i,o=e.location,u=e.route,s=(0,M.Z)(e,qa),d=y.tT&&(0,y.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},g=d.initialState,f=d.loading,v=d.setInitialState,b=(0,Z.useMemo)(function(){var p,j=Qt((e==null||(p=e.route)===null||p===void 0?void 0:p.routes)||[],void 0,void 0,!0),E=j.menuData,te=Jt(o.pathname,E).pop();return te||{}},[o==null?void 0:o.pathname,e==null||(t=e.route)===null||t===void 0?void 0:t.routes]),R=(0,h.Z)((0,h.Z)((0,h.Z)({itemRender:function(j){return(0,l.jsx)(K.rU,{to:j.path,children:j.breadcrumbName})}},a),s),ka(b||{})),w=y.md===null||y.md===void 0?void 0:(0,y.md)();return(0,l.jsx)(Ha,(0,h.Z)((0,h.Z)({route:u,location:o,title:(a==null?void 0:a.name)||(a==null?void 0:a.title),navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(j){j.stopPropagation(),j.preventDefault(),y.m8.push("/")},menu:{locale:a.locale},menuDataRender:a.patchMenus?function(p){return a==null?void 0:a.patchMenus(p,d)}:void 0,formatMessage:a==null?void 0:a.formatMessage,logo:Xa,menuItemRender:function(j,E){return j.isUrl?E:j.path&&o.pathname!==j.path?(0,l.jsx)(K.rU,{to:j.path,target:j.target,children:E}):E},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,postMenuData:y.Bz?function(p){return y.Bz===null||y.Bz===void 0?void 0:(0,y.Bz)(p,w)}:void 0},R),{},{rightContentRender:(R==null?void 0:R.rightContentRender)!==!1&&function(p){var j=Dt==null?void 0:Dt(a,f,g,v);return R.rightContentRender?R.rightContentRender(p,j,{userConfig:a,loading:f,initialState:g,setInitialState:v}):j},children:(0,l.jsx)(Qa,{noFound:a==null?void 0:a.noFound,unAccessible:a==null?void 0:a.unAccessible,currentPathConfig:b,children:a.childrenRender?a.childrenRender(r,e):r})}))},ei=_a,ti=function(n){var e=(0,Z.useState)(null),t=(0,C.Z)(e,2),r=t[0],i=t[1],a=y.tT&&(0,y.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},o=y.md===null||y.md===void 0?void 0:(0,y.md)();(0,Z.useEffect)(function(){var g=y.BA.applyPlugins({key:"layout",type:P.Ac.modify,initialValue:(0,h.Z)((0,h.Z)({},a),{},{traverseModifyRoutes:function(v){return y.Bz===null||y.Bz===void 0?void 0:(0,y.Bz)(v,o)}})})||{};if(g instanceof Promise){g.then(function(f){i(f)});return}i(g)},[a==null?void 0:a.initialState,o]);var u=(0,h.Z)((0,h.Z)({},{name:"ant-design-pro",theme:"PRO",locale:!1,showBreadcrumb:!0,siderWidth:208,navTheme:"dark",primaryColor:"#FA541C",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"\u8FDE\u9501\u7ECF\u8425\u5E73\u53F0",pwa:!1,logo:"/logo.svg",iconfontUrl:""}),r||{}),s=(0,y.YB)(),d=s.formatMessage;return r?Z.createElement(ei,(0,h.Z)({userConfig:u,formatMessage:d},n)):null}},65223:function(me,ae,c){"use strict";c.d(ae,{q3:function(){return P},qI:function(){return M},RV:function(){return K},Rk:function(){return k},aM:function(){return ue},Ux:function(){return F}});var h=c(22122),C=c(48526),Z=c(98423),y=c(67294),P=y.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),M=y.createContext(null),K=function(Ce){var S=(0,Z.Z)(Ce,["prefixCls"]);return y.createElement(C.RV,(0,h.Z)({},S))},k=y.createContext({prefixCls:""}),ue=y.createContext({}),F=function(Ce){var S=Ce.children,W=Ce.status,T=Ce.override,B=(0,y.useContext)(ue),m=(0,y.useMemo)(function(){var l=(0,h.Z)({},B);return T&&delete l.isFormItemInput,W&&(delete l.status,delete l.hasFeedback,delete l.feedbackIcon),l},[W,T,B]);return y.createElement(ue.Provider,{value:m},S)}},19586:function(me,ae,c){"use strict";c.d(ae,{Z:function(){return we}});var h=c(96156),C=c(22122),Z=c(90484),y=c(94184),P=c.n(y),M=c(67294),K=c(53124),k=c(98423),ue=function(x){var N,H,L=x.prefixCls,q=x.className,V=x.style,Y=x.size,$=x.shape,I=P()((N={},(0,h.Z)(N,"".concat(L,"-lg"),Y==="large"),(0,h.Z)(N,"".concat(L,"-sm"),Y==="small"),N)),ie=P()((H={},(0,h.Z)(H,"".concat(L,"-circle"),$==="circle"),(0,h.Z)(H,"".concat(L,"-square"),$==="square"),(0,h.Z)(H,"".concat(L,"-round"),$==="round"),H)),J=M.useMemo(function(){return typeof Y=="number"?{width:Y,height:Y,lineHeight:"".concat(Y,"px")}:{}},[Y]);return M.createElement("span",{className:P()(L,I,ie,q),style:(0,C.Z)((0,C.Z)({},J),V)})},F=ue,xe=function(x){var N=x.prefixCls,H=x.className,L=x.active,q=x.shape,V=q===void 0?"circle":q,Y=x.size,$=Y===void 0?"default":Y,I=M.useContext(K.E_),ie=I.getPrefixCls,J=ie("skeleton",N),oe=(0,k.Z)(x,["prefixCls","className"]),Pe=P()(J,"".concat(J,"-element"),(0,h.Z)({},"".concat(J,"-active"),L),H);return M.createElement("div",{className:Pe},M.createElement(F,(0,C.Z)({prefixCls:"".concat(J,"-avatar"),shape:V,size:$},oe)))},Ce=xe,S=function(x){var N,H=x.prefixCls,L=x.className,q=x.active,V=x.block,Y=V===void 0?!1:V,$=x.size,I=$===void 0?"default":$,ie=M.useContext(K.E_),J=ie.getPrefixCls,oe=J("skeleton",H),Pe=(0,k.Z)(x,["prefixCls"]),ze=P()(oe,"".concat(oe,"-element"),(N={},(0,h.Z)(N,"".concat(oe,"-active"),q),(0,h.Z)(N,"".concat(oe,"-block"),Y),N),L);return M.createElement("div",{className:ze},M.createElement(F,(0,C.Z)({prefixCls:"".concat(oe,"-button"),size:I},Pe)))},W=S,T=c(93181),B=function(x){var N=x.prefixCls,H=x.className,L=x.style,q=x.active,V=x.children,Y=M.useContext(K.E_),$=Y.getPrefixCls,I=$("skeleton",N),ie=P()(I,"".concat(I,"-element"),(0,h.Z)({},"".concat(I,"-active"),q),H),J=V!=null?V:M.createElement(T.Z,null);return M.createElement("div",{className:ie},M.createElement("div",{className:P()("".concat(I,"-image"),H),style:L},J))},m=B,l="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",ye=function(x){var N=x.prefixCls,H=x.className,L=x.style,q=x.active,V=M.useContext(K.E_),Y=V.getPrefixCls,$=Y("skeleton",N),I=P()($,"".concat($,"-element"),(0,h.Z)({},"".concat($,"-active"),q),H);return M.createElement("div",{className:I},M.createElement("div",{className:P()("".concat($,"-image"),H),style:L},M.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat($,"-image-svg")},M.createElement("path",{d:l,className:"".concat($,"-image-path")}))))},ce=ye,D=function(x){var N,H=x.prefixCls,L=x.className,q=x.active,V=x.block,Y=x.size,$=Y===void 0?"default":Y,I=M.useContext(K.E_),ie=I.getPrefixCls,J=ie("skeleton",H),oe=(0,k.Z)(x,["prefixCls"]),Pe=P()(J,"".concat(J,"-element"),(N={},(0,h.Z)(N,"".concat(J,"-active"),q),(0,h.Z)(N,"".concat(J,"-block"),V),N),L);return M.createElement("div",{className:Pe},M.createElement(F,(0,C.Z)({prefixCls:"".concat(J,"-input"),size:$},oe)))},z=D,de=c(85061),fe=function(x){var N=function(I){var ie=x.width,J=x.rows,oe=J===void 0?2:J;if(Array.isArray(ie))return ie[I];if(oe-1===I)return ie},H=x.prefixCls,L=x.className,q=x.style,V=x.rows,Y=(0,de.Z)(Array(V)).map(function($,I){return M.createElement("li",{key:I,style:{width:N(I)}})});return M.createElement("ul",{className:P()(H,L),style:q},Y)},A=fe,U=function(x){var N=x.prefixCls,H=x.className,L=x.width,q=x.style;return M.createElement("h3",{className:P()(N,H),style:(0,C.Z)({width:L},q)})},ge=U;function Ee(G){return G&&(0,Z.Z)(G)==="object"?G:{}}function se(G,x){return G&&!x?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ze(G,x){return!G&&x?{width:"38%"}:G&&x?{width:"50%"}:{}}function he(G,x){var N={};return(!G||!x)&&(N.width="61%"),!G&&x?N.rows=3:N.rows=2,N}var ve=function(x){var N=x.prefixCls,H=x.loading,L=x.className,q=x.style,V=x.children,Y=x.avatar,$=Y===void 0?!1:Y,I=x.title,ie=I===void 0?!0:I,J=x.paragraph,oe=J===void 0?!0:J,Pe=x.active,ze=x.round,Ke=M.useContext(K.E_),_e=Ke.getPrefixCls,He=Ke.direction,O=_e("skeleton",N);if(H||!("loading"in x)){var ne,ee=!!$,Ue=!!ie,$e=!!oe,dt;if(ee){var et=(0,C.Z)((0,C.Z)({prefixCls:"".concat(O,"-avatar")},se(Ue,$e)),Ee($));dt=M.createElement("div",{className:"".concat(O,"-header")},M.createElement(F,(0,C.Z)({},et)))}var ft;if(Ue||$e){var vt;if(Ue){var $t=(0,C.Z)((0,C.Z)({prefixCls:"".concat(O,"-title")},Ze(ee,$e)),Ee(ie));vt=M.createElement(ge,(0,C.Z)({},$t))}var mt;if($e){var Mt=(0,C.Z)((0,C.Z)({prefixCls:"".concat(O,"-paragraph")},he(ee,Ue)),Ee(oe));mt=M.createElement(A,(0,C.Z)({},Mt))}ft=M.createElement("div",{className:"".concat(O,"-content")},vt,mt)}var Zt=P()(O,(ne={},(0,h.Z)(ne,"".concat(O,"-with-avatar"),ee),(0,h.Z)(ne,"".concat(O,"-active"),Pe),(0,h.Z)(ne,"".concat(O,"-rtl"),He==="rtl"),(0,h.Z)(ne,"".concat(O,"-round"),ze),ne),L);return M.createElement("div",{className:Zt,style:q},dt,ft)}return typeof V!="undefined"?V:null};ve.Button=W,ve.Avatar=Ce,ve.Input=z,ve.Image=ce,ve.Node=m;var Se=ve,we=Se},18446:function(me,ae,c){"use strict";var h=c(38663),C=c.n(h),Z=c(18067),y=c.n(Z)},21879:function(me){"use strict";var ae=typeof BigInt64Array!="undefined";me.exports=function c(h,C){if(h===C)return!0;if(h&&C&&typeof h=="object"&&typeof C=="object"){if(h.constructor!==C.constructor)return!1;var Z,y,P;if(Array.isArray(h)){if(Z=h.length,Z!=C.length)return!1;for(y=Z;y--!=0;)if(!c(h[y],C[y]))return!1;return!0}if(h instanceof Map&&C instanceof Map){if(h.size!==C.size)return!1;for(y of h.entries())if(!C.has(y[0]))return!1;for(y of h.entries())if(!c(y[1],C.get(y[0])))return!1;return!0}if(h instanceof Set&&C instanceof Set){if(h.size!==C.size)return!1;for(y of h.entries())if(!C.has(y[0]))return!1;return!0}if(ArrayBuffer.isView(h)&&ArrayBuffer.isView(C)){if(Z=h.length,Z!=C.length)return!1;for(y=Z;y--!=0;)if(h[y]!==C[y])return!1;return!0}if(h.constructor===RegExp)return h.source===C.source&&h.flags===C.flags;if(h.valueOf!==Object.prototype.valueOf)return h.valueOf()===C.valueOf();if(h.toString!==Object.prototype.toString)return h.toString()===C.toString();if(P=Object.keys(h),Z=P.length,Z!==Object.keys(C).length)return!1;for(y=Z;y--!=0;)if(!Object.prototype.hasOwnProperty.call(C,P[y]))return!1;for(y=Z;y--!=0;){var M=P[y];if(!(M==="_owner"&&h.$$typeof)&&!c(h[M],C[M]))return!1}return!0}return h!==h&&C!==C}},97435:function(me,ae){"use strict";function c(h,C){for(var Z=Object.assign({},h),y=0;y<C.length;y+=1){var P=C[y];delete Z[P]}return Z}ae.Z=c},74204:function(me,ae,c){"use strict";c.d(ae,{Z:function(){return C},o:function(){return y}});var h;function C(P){if(typeof document=="undefined")return 0;if(P||h===void 0){var M=document.createElement("div");M.style.width="100%",M.style.height="200px";var K=document.createElement("div"),k=K.style;k.position="absolute",k.top="0",k.left="0",k.pointerEvents="none",k.visibility="hidden",k.width="200px",k.height="150px",k.overflow="hidden",K.appendChild(M),document.body.appendChild(K);var ue=M.offsetWidth;K.style.overflow="scroll";var F=M.offsetWidth;ue===F&&(F=K.clientWidth),document.body.removeChild(K),h=ue-F}return h}function Z(P){var M=P.match(/^(.*)px$/),K=Number(M==null?void 0:M[1]);return Number.isNaN(K)?C():K}function y(P){if(typeof document=="undefined"||!P||!(P instanceof Element))return{width:0,height:0};var M=getComputedStyle(P,"::-webkit-scrollbar"),K=M.width,k=M.height;return{width:Z(K),height:Z(k)}}}}]);