Files
Sillyv2/core/admin/650.6dec3238.async.js
T
cdle 3ca1543d3f x
2023-06-21 12:03:37 +08:00

84 lines
112 KiB
JavaScript

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[650],{41465:function(_e,$e,f){"use strict";f.d($e,{Z:function(){return Kn}});var l=f(75782),ae=f(50959),ue=f(76171),Ce=f(91600),G=f(24572),v=f(58733),te=f(84875),oe=f.n(te),p=(0,ae.createContext)({}),ge=p,be=f(26143),ye=f(36914),R=f(31105),V=2,m=.16,T=.05,M=.05,L=.15,b=5,S=4,y=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function g(C){var W=C.r,Q=C.g,K=C.b,ce=(0,ye.py)(W,Q,K);return{h:ce.h*360,s:ce.s,v:ce.v}}function P(C){var W=C.r,Q=C.g,K=C.b;return"#".concat((0,ye.vq)(W,Q,K,!1))}function w(C,W,Q){var K=Q/100,ce={r:(W.r-C.r)*K+C.r,g:(W.g-C.g)*K+C.g,b:(W.b-C.b)*K+C.b};return ce}function B(C,W,Q){var K;return Math.round(C.h)>=60&&Math.round(C.h)<=240?K=Q?Math.round(C.h)-V*W:Math.round(C.h)+V*W:K=Q?Math.round(C.h)+V*W:Math.round(C.h)-V*W,K<0?K+=360:K>=360&&(K-=360),K}function D(C,W,Q){if(C.h===0&&C.s===0)return C.s;var K;return Q?K=C.s-m*W:W===S?K=C.s+m:K=C.s+T*W,K>1&&(K=1),Q&&W===b&&K>.1&&(K=.1),K<.06&&(K=.06),Number(K.toFixed(2))}function ve(C,W,Q){var K;return Q?K=C.v+M*W:K=C.v-L*W,K>1&&(K=1),Number(K.toFixed(2))}function le(C){for(var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Q=[],K=(0,R.uA)(C),ce=b;ce>0;ce-=1){var Qe=g(K),Ye=P((0,R.uA)({h:B(Qe,ce,!0),s:D(Qe,ce,!0),v:ve(Qe,ce,!0)}));Q.push(Ye)}Q.push(P(K));for(var Je=1;Je<=S;Je+=1){var tn=g(K),dn=P((0,R.uA)({h:B(tn,Je),s:D(tn,Je),v:ve(tn,Je)}));Q.push(dn)}return W.theme==="dark"?y.map(function(De){var _n=De.index,Cn=De.opacity,ke=P(w((0,R.uA)(W.backgroundColor||"#141414"),(0,R.uA)(Q[_n]),Cn*100));return ke}):Q}var de={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},fe={},q={};Object.keys(de).forEach(function(C){fe[C]=le(de[C]),fe[C].primary=fe[C][5],q[C]=le(de[C],{theme:"dark",backgroundColor:"#141414"}),q[C].primary=q[C][5]});var Le=fe.red,ze=fe.volcano,on=fe.gold,Ne=fe.orange,ln=fe.yellow,en=fe.lime,nn=fe.green,fn=fe.cyan,Wn=fe.blue,at=fe.geekblue,ot=fe.purple,xt=fe.magenta,Ut=fe.grey,Ct=f(60829),bt=f(40150);function St(C,W){(0,Ct.ZP)(C,"[@ant-design/icons] ".concat(W))}function it(C){return(0,be.Z)(C)==="object"&&typeof C.name=="string"&&typeof C.theme=="string"&&((0,be.Z)(C.icon)==="object"||typeof C.icon=="function")}function In(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(C).reduce(function(W,Q){var K=C[Q];switch(Q){case"class":W.className=K,delete W.class;break;default:W[Q]=K}return W},{})}function mn(C,W,Q){return Q?ae.createElement(C.tag,(0,l.Z)((0,l.Z)({key:W},In(C.attrs)),Q),(C.children||[]).map(function(K,ce){return mn(K,"".concat(W,"-").concat(C.tag,"-").concat(ce))})):ae.createElement(C.tag,(0,l.Z)({key:W},In(C.attrs)),(C.children||[]).map(function(K,ce){return mn(K,"".concat(W,"-").concat(C.tag,"-").concat(ce))}))}function Fn(C){return le(C)[0]}function lt(C){return C?Array.isArray(C)?C:[C]:[]}var Tn={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},xn=`
.anticon {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,ut=function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xn,Q=(0,ae.useContext)(ge),K=Q.csp;(0,ae.useEffect)(function(){(0,bt.hq)(W,"@ant-design-icons",{prepend:!0,csp:K})},[])},Zt=["icon","className","onClick","style","primaryColor","secondaryColor"],un={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Mt(C){var W=C.primaryColor,Q=C.secondaryColor;un.primaryColor=W,un.secondaryColor=Q||Fn(W),un.calculated=!!Q}function $t(){return(0,l.Z)({},un)}var hn=function(W){var Q=W.icon,K=W.className,ce=W.onClick,Qe=W.style,Ye=W.primaryColor,Je=W.secondaryColor,tn=(0,v.Z)(W,Zt),dn=un;if(Ye&&(dn={primaryColor:Ye,secondaryColor:Je||Fn(Ye)}),ut(),St(it(Q),"icon should be icon definiton, but got ".concat(Q)),!it(Q))return null;var De=Q;return De&&typeof De.icon=="function"&&(De=(0,l.Z)((0,l.Z)({},De),{},{icon:De.icon(dn.primaryColor,dn.secondaryColor)})),mn(De.icon,"svg-".concat(De.name),(0,l.Z)({className:K,onClick:ce,style:Qe,"data-icon":De.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},tn))};hn.displayName="IconReact",hn.getTwoToneColors=$t,hn.setTwoToneColors=Mt;var zn=hn;function dt(C){var W=lt(C),Q=(0,Ce.Z)(W,2),K=Q[0],ce=Q[1];return zn.setTwoToneColors({primaryColor:K,secondaryColor:ce})}function ct(){var C=zn.getTwoToneColors();return C.calculated?[C.primaryColor,C.secondaryColor]:C.primaryColor}var Te=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];dt("#1890ff");var Rn=ae.forwardRef(function(C,W){var Q,K=C.className,ce=C.icon,Qe=C.spin,Ye=C.rotate,Je=C.tabIndex,tn=C.onClick,dn=C.twoToneColor,De=(0,v.Z)(C,Te),_n=ae.useContext(ge),Cn=_n.prefixCls,ke=Cn===void 0?"anticon":Cn,It=_n.rootClassName,Tt=oe()(It,ke,(Q={},(0,G.Z)(Q,"".concat(ke,"-").concat(ce.name),!!ce.name),(0,G.Z)(Q,"".concat(ke,"-spin"),!!Qe||ce.name==="loading"),Q),K),Un=Je;Un===void 0&&tn&&(Un=-1);var Rt=Ye?{msTransform:"rotate(".concat(Ye,"deg)"),transform:"rotate(".concat(Ye,"deg)")}:void 0,_t=lt(dn),st=(0,Ce.Z)(_t,2),Ke=st[0],bn=st[1];return ae.createElement("span",(0,l.Z)((0,l.Z)({role:"img","aria-label":ce.name},De),{},{ref:W,tabIndex:Un,onClick:tn,className:Tt}),ae.createElement(zn,{icon:ce,primaryColor:Ke,secondaryColor:bn,style:Rt}))});Rn.displayName="AntdIcon",Rn.getTwoToneColor=ct,Rn.setTwoToneColor=dt;var Oe=Rn,gn=function(W,Q){return ae.createElement(Oe,(0,l.Z)((0,l.Z)({},W),{},{ref:Q,icon:ue.Z}))};gn.displayName="LogoutOutlined";var Kn=ae.forwardRef(gn)},20937:function(_e,$e,f){"use strict";f.d($e,{f:function(){return bo}});var l=f(24572),ae=f(99932),ue=f(78450),Ce=f(58733),G=f(91600),v=f(75782),te=f(35276),oe=f(95027),p=f(50959),ge=f(37063);function be(r,e){var n=typeof r.pageName=="string"?r.title:e;(0,p.useEffect)(function(){(0,ge.j)()&&n&&(document.title=n)},[r.title,n])}var ye=f(6866);function R(r,e){return e>>>r|e<<32-r}function V(r,e,n){return r&e^~r&n}function m(r,e,n){return r&e^r&n^e&n}function T(r){return R(2,r)^R(13,r)^R(22,r)}function M(r){return R(6,r)^R(11,r)^R(25,r)}function L(r){return R(7,r)^R(18,r)^r>>>3}function b(r){return R(17,r)^R(19,r)^r>>>10}function S(r,e){return r[e&15]+=b(r[e+14&15])+r[e+9&15]+L(r[e+1&15])}var y=[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],g,P,w,B="0123456789abcdef";function D(r,e){var n=(r&65535)+(e&65535),t=(r>>16)+(e>>16)+(n>>16);return t<<16|n&65535}function ve(){g=new Array(8),P=new Array(2),w=new Array(64),P[0]=P[1]=0,g[0]=1779033703,g[1]=3144134277,g[2]=1013904242,g[3]=2773480762,g[4]=1359893119,g[5]=2600822924,g[6]=528734635,g[7]=1541459225}function le(){var r,e,n,t,a,i,o,u,s,c,h=new Array(16);r=g[0],e=g[1],n=g[2],t=g[3],a=g[4],i=g[5],o=g[6],u=g[7];for(var I=0;I<16;I++)h[I]=w[(I<<2)+3]|w[(I<<2)+2]<<8|w[(I<<2)+1]<<16|w[I<<2]<<24;for(var $=0;$<64;$++)s=u+M(a)+V(a,i,o)+y[$],$<16?s+=h[$]:s+=S(h,$),c=T(r)+m(r,e,n),u=o,o=i,i=a,a=D(t,s),t=n,n=e,e=r,r=D(s,c);g[0]+=r,g[1]+=e,g[2]+=n,g[3]+=t,g[4]+=a,g[5]+=i,g[6]+=o,g[7]+=u}function de(r,e){var n,t,a=0;t=P[0]>>3&63;var i=e&63;for((P[0]+=e<<3)<e<<3&&P[1]++,P[1]+=e>>29,n=0;n+63<e;n+=64){for(var o=t;o<64;o++)w[o]=r.charCodeAt(a++);le(),t=0}for(var u=0;u<i;u++)w[u]=r.charCodeAt(a++)}function fe(){var r=P[0]>>3&63;if(w[r++]=128,r<=56)for(var e=r;e<56;e++)w[e]=0;else{for(var n=r;n<64;n++)w[n]=0;le();for(var t=0;t<56;t++)w[t]=0}w[56]=P[1]>>>24&255,w[57]=P[1]>>>16&255,w[58]=P[1]>>>8&255,w[59]=P[1]&255,w[60]=P[0]>>>24&255,w[61]=P[0]>>>16&255,w[62]=P[0]>>>8&255,w[63]=P[0]&255,le()}function q(){for(var r=0,e=new Array(32),n=0;n<8;n++)e[r++]=g[n]>>>24&255,e[r++]=g[n]>>>16&255,e[r++]=g[n]>>>8&255,e[r++]=g[n]&255;return e}function Le(){for(var r=new String,e=0;e<8;e++)for(var n=28;n>=0;n-=4)r+=B.charAt(g[e]>>>n&15);return r}function ze(r){return ve(),de(r,r.length),fe(),Le()}var on=ze;function Ne(r){return Ne=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},Ne(r)}var ln=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function en(r,e){return Wn(r)||fn(r,e)||un(r,e)||nn()}function nn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fn(r,e){var n=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(n!=null){var t=[],a=!0,i=!1,o,u;try{for(n=n.call(r);!(a=(o=n.next()).done)&&(t.push(o.value),!(e&&t.length===e));a=!0);}catch(s){i=!0,u=s}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw u}}return t}}function Wn(r){if(Array.isArray(r))return r}function at(r,e){var n=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=un(r))||e&&r&&typeof r.length=="number"){n&&(r=n);var t=0,a=function(){};return{s:a,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(c){throw c},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){n=n.call(r)},n:function(){var c=n.next();return i=c.done,c},e:function(c){o=!0,u=c},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function ot(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function xt(r,e){for(var n=0;n<e.length;n++){var t=e[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,t.key,t)}}function Ut(r,e,n){return e&&xt(r.prototype,e),n&&xt(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}function Ct(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Tn(r,e)}function bt(r){var e=Fn();return function(){var t=xn(r),a;if(e){var i=xn(this).constructor;a=Reflect.construct(t,arguments,i)}else a=t.apply(this,arguments);return St(this,a)}}function St(r,e){if(e&&(Ne(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return it(r)}function it(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function In(r){var e=typeof Map=="function"?new Map:void 0;return In=function(t){if(t===null||!lt(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(t))return e.get(t);e.set(t,a)}function a(){return mn(t,arguments,xn(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Tn(a,t)},In(r)}function mn(r,e,n){return Fn()?mn=Reflect.construct.bind():mn=function(a,i,o){var u=[null];u.push.apply(u,i);var s=Function.bind.apply(a,u),c=new s;return o&&Tn(c,o.prototype),c},mn.apply(null,arguments)}function Fn(){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(r){return!1}}function lt(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function Tn(r,e){return Tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},Tn(r,e)}function xn(r){return xn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(r)}function ut(r){return $t(r)||Mt(r)||un(r)||Zt()}function Zt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function un(r,e){if(r){if(typeof r=="string")return hn(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hn(r,e)}}function Mt(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function $t(r){if(Array.isArray(r))return hn(r)}function hn(r,e){(e==null||e>r.length)&&(e=r.length);for(var n=0,t=new Array(e);n<e;n++)t[n]=r[n];return t}function zn(r,e){if(r==null)return{};var n=dt(r,e),t,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)t=i[a],!(e.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(r,t)&&(n[t]=r[t])}return n}function dt(r,e){if(r==null)return{};var n={},t=Object.keys(r),a,i;for(i=0;i<t.length;i++)a=t[i],!(e.indexOf(a)>=0)&&(n[a]=r[a]);return n}function ct(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function Te(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ct(Object(n),!0).forEach(function(t){Rn(r,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))})}return r}function Rn(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}var Oe="routes";function gn(r){return r.split("?")[0].split("#")[0]}var Kn=function(e){if(!e.startsWith("http"))return!1;try{var n=new URL(e);return!!n}catch(t){return!1}},C=function(e){var n=e.path;if(!n||n==="/")try{return"/".concat(on(JSON.stringify(e)))}catch(t){}return n&&gn(n)},W=function(e,n){var t=e.name,a=e.locale;return"locale"in e&&a===!1||!t?!1:e.locale||"".concat(n,".").concat(t)},Q=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||n).startsWith("/")||Kn(e)?e:"/".concat(n,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},K=function(e,n){var t=e.menu,a=t===void 0?{}:t,i=e.indexRoute,o=e.path,u=o===void 0?"":o,s=e.children||[],c=a.name,h=c===void 0?e.name:c,I=a.icon,$=I===void 0?e.icon:I,A=a.hideChildren,Y=A===void 0?e.hideChildren:A,F=a.flatMenu,N=F===void 0?e.flatMenu:F,O=i&&Object.keys(i).join(",")!=="redirect"?[Te({path:u,menu:a},i)].concat(s||[]):s,z=Te({},e);if(h&&(z.name=h),$&&(z.icon=$),O&&O.length){if(Y)return delete z.children,z;var X=Qe(Te(Te({},n),{},{data:O}),e);if(N)return X;delete z[Oe]}return z},ce=function(e){return Array.isArray(e)&&e.length>0};function Qe(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=r.data,t=r.formatMessage,a=r.parentName,i=r.locale;return!n||!Array.isArray(n)?[]:n.filter(function(o){return o?ce(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)&&u.name||o!=null&&o.flatMenu||!(o==null||(s=o.menu)===null||s===void 0)&&s.flatMenu?!0:o.menu!==!1}).map(function(o){var u=Te(Te({},o),{},{path:o.path||o.originPath});return!u.children&&u[Oe]&&(u.children=u[Oe],delete u[Oe]),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[Oe]||[],s=Q(o.path,e?e.path:"/"),c=o.name,h=W(o,a||"menu"),I=h!==!1&&i!==!1&&t&&h?t({id:h,defaultMessage:c}):c,$=e.pro_layout_parentKeys,A=$===void 0?[]:$,Y=e.children,F=e.icon,N=e.flatMenu,O=e.indexRoute,z=e.routes,X=zn(e,ln),Z=new Set([].concat(ut(A),ut(o.parentKeys||[])));e.key&&Z.add(e.key);var _=Te(Te(Te({},X),{},{menu:void 0},o),{},{path:s,locale:h,key:o.key||C(Te(Te({},o),{},{path:s})),pro_layout_parentKeys:Array.from(Z).filter(function(E){return E&&E!=="/"})});if(I?_.name=I:delete _.name,_.menu===void 0&&delete _.menu,ce(u)){var U=Qe(Te(Te({},r),{},{data:u,parentName:h||""}),_);ce(U)&&(_.children=U)}return K(_,r)}).flat(1)}var Ye=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(n){return n&&(n.name||ce(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var t=Te({},n),a=t.children||n[Oe]||[];if(delete t[Oe],ce(a)&&!t.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return Te(Te({},t),{},{children:i})}return Te({},n)}).filter(function(n){return n})},Je=function(r){Ct(n,r);var e=bt(n);function n(){return ot(this,n),e.apply(this,arguments)}return Ut(n,[{key:"get",value:function(a){var i;try{var o=at(this.entries()),u;try{for(o.s();!(u=o.n()).done;){var s=en(u.value,2),c=s[0],h=s[1],I=gn(c);if(!Kn(c)&&(0,ye.Bo)(I,[]).test(a)){i=h;break}}}catch($){o.e($)}finally{o.f()}}catch($){i=void 0}return i}}]),n}(In(Map)),tn=function(e){var n=new Je,t=function a(i,o){i.forEach(function(u){var s=u.children||u[Oe]||[];ce(s)&&a(s,u);var c=Q(u.path,o?o.path:"/");n.set(gn(c),u)})};return t(e),n},dn=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(n){var t=n.children||n[Oe];if(ce(t)){var a=r(t);if(a.length)return Te({},n)}var i=Te({},n);return delete i[Oe],delete i.children,i}).filter(function(n){return n})},De=function(e,n,t,a){var i=Qe({data:e,formatMessage:t,locale:n}),o=a?dn(i):Ye(i),u=tn(i);return{breadcrumb:u,menuData:o}},_n=De;function Cn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function ke(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Cn(Object(n),!0).forEach(function(t){It(r,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Cn(Object(n)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))})}return r}function It(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}var Tt=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n={};return e.forEach(function(t){var a=ke({},t);if(!(!a||!a.key)){!a.children&&a[Oe]&&(a.children=a[Oe],delete a[Oe]);var i=a.children||[];n[gn(a.path||a.key||"/")]=ke({},a),n[a.key||a.path||"/"]=ke({},a),i&&(n=ke(ke({},n),r(i)))}}),n},Un=Tt,Rt=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&n==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!Kn(a)){var i=gn(a);try{if(t&&(0,ye.Bo)("".concat(i)).test(n)||(0,ye.Bo)("".concat(i),[]).test(n)||(0,ye.Bo)("".concat(i,"/(.*)")).test(n))return!0}catch(o){}}return!1}).sort(function(a,i){return a===n?10:i===n?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},_t=function(e,n,t,a){var i=Un(n),o=Object.keys(i),u=Rt(o,e||"/",a);return!u||u.length<1?[]:(t||(u=[u[u.length-1]]),u.map(function(s){var c=i[s]||{pro_layout_parentKeys:"",key:""},h=new Map,I=(c.pro_layout_parentKeys||[]).map(function($){return h.has($)?null:(h.set($,!0),i[$])}).filter(function($){return $});return c.key&&I.push(c),I}).flat(1))},st=_t,Ke=f(50554),bn=f(24538),jr=f(84875),se=f.n(jr),Gt=f(71770),Er=f(60829),Xt=f(94083),Lr=f(76835),d=f(11527),Ar=function(){return(0,d.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,d.jsxs)("defs",{children:[(0,d.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,d.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,d.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,d.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,d.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,d.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,d.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,d.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,d.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,d.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,d.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,d.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,d.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,d.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,d.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,d.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,d.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,d.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,d.jsxs)("g",{children:[(0,d.jsxs)("g",{fillRule:"nonzero",children:[(0,d.jsxs)("g",{children:[(0,d.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,d.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,d.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,d.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},Br=f(73521),Fe=f(43447),Nr=function(e){var n,t,a,i,o,u,s,c;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:(e==null||(n=e.layout)===null||n===void 0||(t=n.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat((e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:(e==null||(o=e.layout)===null||o===void 0||(u=o.header)===null||u===void 0?void 0:u.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:(e==null||(s=e.layout)===null||s===void 0||(c=s.header)===null||c===void 0?void 0:c.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function Or(r){return(0,Fe.Xj)("ProLayoutHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Nr(n)]})}var Gn=f(41201),Ue=f(45645),Dr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},Hr=Dr,Wr=f(26087),Fr=function(e,n){return p.createElement(Wr.Z,(0,Ue.Z)((0,Ue.Z)({},e),{},{ref:n,icon:Hr}))},zr=p.forwardRef(Fr),Vt=f(56234),Kr=f(11608),Ur=function(){return(0,d.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Gr=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,d.jsx)("div",{className:"".concat(t,"-content ").concat(a),children:(0,d.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a),children:n==null?void 0:n.map(function(o,u){var s;return o!=null&&(s=o.children)!==null&&s!==void 0&&s.length?(0,d.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a),children:[(0,d.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a),children:o.title}),(0,d.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},u):(0,d.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a),children:(0,d.jsxs)("a",{href:i?"javascript:;":o.url,onClick:function(){return i==null?void 0:i(o)},target:o.target,rel:"noreferrer",children:[wt(o.icon),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{children:o.title}),o.desc?(0,d.jsx)("span",{children:o.desc}):null]})]})},u)})})})},Pt=function(e){if(!e||!e.startsWith("http"))return!1;try{var n=new URL(e);return!!n}catch(t){return!1}},Xr=function(e,n){if(e&&typeof e=="string"&&Pt(e))return(0,d.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,d.jsx)("div",{id:"avatarLogo",children:e});if(!e&&n&&typeof n=="string"){var t=n.substring(0,1);return(0,d.jsx)("div",{id:"avatarLogo",children:t})}return e},Vr=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,d.jsx)("div",{className:"".concat(t,"-content ").concat(a),children:(0,d.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a),children:n==null?void 0:n.map(function(o,u){var s;return o!=null&&(s=o.children)!==null&&s!==void 0&&s.length?(0,d.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a),children:[(0,d.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a),children:o.title}),(0,d.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},u):(0,d.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a),children:(0,d.jsxs)("a",{href:i?"javascript:;":o.url,onClick:function(){return i==null?void 0:i(o)},target:o.target,rel:"noreferrer",children:[Xr(o.icon,o.title),(0,d.jsx)("div",{children:(0,d.jsx)("div",{children:o.title})})]})},u)})})})},Qr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},"* div":Fe.Wf===null||Fe.Wf===void 0?void 0:(0,Fe.Wf)(e),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Yr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:e.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:e.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Jr=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:e==null||(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,"&:hover":{color:e==null||(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIconHover,backgroundColor:e==null||(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:e==null||(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:e==null||(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,l.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":Yr(e),"&-default":Qr(e)})};function kr(r){return(0,Fe.Xj)("AppsLogoComponents",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Jr(n)]})}var wt=function(e){return typeof e=="string"?(0,d.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},jt=function(e){var n,t=e.appList,a=e.prefixCls,i=a===void 0?"ant-pro":a,o=e.itemClick,u=p.useRef(null),s=p.useRef(null),c="".concat(i,"-layout-apps"),h=kr(c),I=h.wrapSSR,$=h.hashId,A=(0,p.useState)(!1),Y=(0,G.Z)(A,2),F=Y[0],N=Y[1],O=function(_){o==null||o(_,s)},z=(0,p.useMemo)(function(){var Z=t==null?void 0:t.some(function(_){return!(_!=null&&_.desc)});return Z?(0,d.jsx)(Vr,{hashId:$,appList:t,itemClick:o?O:void 0,baseClassName:"".concat(c,"-simple")}):(0,d.jsx)(Gr,{hashId:$,appList:t,itemClick:o?O:void 0,baseClassName:"".concat(c,"-default")})},[t,c,$]);if(!(e!=null&&(n=e.appList)!==null&&n!==void 0&&n.length))return null;var X=(0,Vt.X)(void 0,function(Z){return N(Z)});return I((0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{ref:u,onClick:function(_){_.stopPropagation(),_.preventDefault()}}),(0,d.jsx)(Kr.Z,(0,v.Z)((0,v.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},X),{},{overlayClassName:"".concat(c,"-popover ").concat($),content:z,getPopupContainer:function(){return u.current||document.body},children:(0,d.jsx)("span",{ref:s,onClick:function(_){_.stopPropagation()},className:se()("".concat(c,"-icon"),$,(0,l.Z)({},"".concat(c,"-icon-active"),F)),children:(0,d.jsx)(Ur,{})})}))]}))},Qt=f(63538),qr=f(68243),Yt=f(59529);function ea(){return(0,d.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var na=function(e){var n,t,a,i,o,u;return(0,l.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:e==null||(n=e.layout)===null||n===void 0||(t=n.sider)===null||t===void 0?void 0:t.colorTextCollapsedButton,backgroundColor:e==null||(a=e.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:e==null||(o=e.layout)===null||o===void 0||(u=o.sider)===null||u===void 0?void 0:u.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function ta(r){return(0,Fe.Xj)("SiderMenuCollapsedIcon",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[na(n)]})}var ra=["isMobile","collapsed"],aa=function(e){var n,t=e.isMobile,a=e.collapsed,i=(0,Ce.Z)(e,ra),o=ta(e.className),u=o.wrapSSR,s=o.hashId;return t&&a?null:u((0,d.jsx)("div",(0,v.Z)((0,v.Z)({},i),{},{className:se()(e.className,s,(n={},(0,l.Z)(n,"".concat(e.className,"-collapsed"),a),(0,l.Z)(n,"".concat(e.className,"-is-mobile"),t),n)),children:(0,d.jsx)(ea,{})})))},vt=f(49544),oa=f(49962),ia=f(40936),Jt=f(18216),la=f(58457),ua=f(5980),ft=f(73736),da=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],kt=p.forwardRef(function(r,e){var n=r.className,t=r.component,a=r.viewBox,i=r.spin,o=r.rotate,u=r.tabIndex,s=r.onClick,c=r.children,h=(0,Jt.Z)(r,da);(0,ft.Kp)(Boolean(t||c),"Should have `component` prop or `children`."),(0,ft.C3)();var I=p.useContext(ua.Z),$=I.prefixCls,A=$===void 0?"anticon":$,Y=I.rootClassName,F=se()(Y,A,n),N=se()((0,la.Z)({},"".concat(A,"-spin"),!!i)),O=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,z=(0,Ue.Z)((0,Ue.Z)({},ft.vD),{},{className:N,style:O,viewBox:a});a||delete z.viewBox;var X=function(){return t?p.createElement(t,(0,Ue.Z)({},z),c):c?((0,ft.Kp)(Boolean(a)||p.Children.count(c)===1&&p.isValidElement(c)&&p.Children.only(c).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),p.createElement("svg",(0,Ue.Z)((0,Ue.Z)({},z),{},{viewBox:a}),c)):null},Z=u;return Z===void 0&&s&&(Z=-1),p.createElement("span",(0,Ue.Z)((0,Ue.Z)({role:"img"},h),{},{ref:e,tabIndex:Z,onClick:s,className:F}),X())});kt.displayName="AntdIcon";var ca=kt,sa=["type","children"],qt=new Set;function va(r){return Boolean(typeof r=="string"&&r.length&&!qt.has(r))}function mt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=r[e];if(va(n)){var t=document.createElement("script");t.setAttribute("src",n),t.setAttribute("data-namespace",n),r.length>e+1&&(t.onload=function(){mt(r,e+1)},t.onerror=function(){mt(r,e+1)}),qt.add(n),document.body.appendChild(t)}}function er(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,n=r.extraCommonProps,t=n===void 0?{}:n;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?mt(e.reverse()):mt([e]));var a=p.forwardRef(function(i,o){var u=i.type,s=i.children,c=(0,Jt.Z)(i,sa),h=null;return i.type&&(h=p.createElement("use",{xlinkHref:"#".concat(u)})),s&&(h=s),p.createElement(ca,(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},t),c),{},{ref:o}),h)});return a.displayName="Iconfont",a}function fa(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var ma=f(37454),nr=f(40315),ha=function(e,n){var t,a,i,o,u,s,c,h=n.includes("horizontal")?(t=e.layout)===null||t===void 0?void 0:t.header:(a=e.layout)===null||a===void 0?void 0:a.sider;return(0,l.Z)({},"".concat(e.componentCls),(c={background:"transparent",color:h==null?void 0:h.colorTextMenu,border:"none"},(0,l.Z)(c,"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),(0,l.Z)(c,"".concat(e.componentCls,"-submenu-has-icon"),(0,l.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),(0,l.Z)(c,"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),(0,l.Z)(c,"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),(0,l.Z)(c,"&&-collapsed",(i={},(0,l.Z)(i,"".concat(e.antCls,`-menu-item,
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item,
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title,
`).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),(0,l.Z)(i,"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title,
`).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:h==null?void 0:h.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),(0,l.Z)(i,"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),i)),(0,l.Z)(c,"".concat(e.componentCls,"-item-icon"),{height:"14px",width:"14px",opacity:"0.85",lineHeight:"14px","> span.anticon":{lineHeight:"14px!important",height:"14px"}}),(0,l.Z)(c,"& &-item-title",(s={display:"flex",flexDirection:"row",alignItems:"center",gap:8,"&-collapsed":(o={flexDirection:"column",justifyContent:"center",minWidth:40,height:40},(0,l.Z)(o,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),(0,l.Z)(o,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%"}),(0,l.Z)(o,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),o)},(0,l.Z)(s,"&".concat(e.componentCls,"-group-item-title"),{gap:4,height:18,overflow:"hidden"}),(0,l.Z)(s,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",height:"48px"},"&".concat(e.componentCls,"-item-title-collapsed"),(u={display:"flex"},(0,l.Z)(u,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),(0,l.Z)(u,"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4}),u))),s)),(0,l.Z)(c,"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,l.Z)(c,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),c))};function ga(r,e){return(0,Fe.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,v.Z)((0,v.Z)({},n),{},{componentCls:".".concat(r)});return[ha(t,e||"inline")]})}var tr=er({scriptUrl:nr.h.iconfontUrl}),rr=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Pt(e)||fa(e))return(0,d.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,d.jsx)(tr,{type:e})}return e},ar=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},ya=(0,oa.Z)(function r(e){var n=this;(0,ia.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return t.map(function(i){return n.getSubMenuOrItem(i,a)}).filter(function(i){return i}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a){var i=n.props,o=i.subMenuItemRender,u=i.baseClassName,s=i.prefixCls,c=i.collapsed,h=i.menu,I=i.iconPrefixes,$=i.layout,A=(h==null?void 0:h.type)==="group"&&$!=="top",Y=n.props.token,F=n.getIntlName(t),N=(t==null?void 0:t.children)||(t==null?void 0:t.routes),O=A&&a===0?"group":void 0;if(Array.isArray(N)&&N.length>0){var z,X,Z,_,U,E,ne,J,k=a===0||A&&a===1,j=rr(t.icon,I,"".concat(u,"-icon ").concat((z=n.props)===null||z===void 0?void 0:z.hashId)),ee=c&&k?ar(F):null,ie=(0,d.jsxs)("div",{className:se()("".concat(u,"-item-title"),(X=n.props)===null||X===void 0?void 0:X.hashId,(Z={},(0,l.Z)(Z,"".concat(u,"-item-title-collapsed"),c),(0,l.Z)(Z,"".concat(u,"-group-item-title"),O==="group"),(0,l.Z)(Z,"".concat(u,"-item-collapsed-show-title"),(h==null?void 0:h.collapsedShowTitle)&&c),Z)),children:[O==="group"&&c?null:k&&j?(0,d.jsx)("span",{className:"".concat(u,"-item-icon ").concat((_=n.props)===null||_===void 0?void 0:_.hashId),children:j}):ee,(0,d.jsx)("span",{className:se()("".concat(u,"-item-text"),(U=n.props)===null||U===void 0?void 0:U.hashId,(0,l.Z)({},"".concat(u,"-item-text-has-icon"),O!=="group"&&k&&(j||ee))),children:F})]}),re=o?o((0,v.Z)((0,v.Z)({},t),{},{isUrl:!1}),ie,n.props):ie,me=n.getNavMenuItems(N,a+1);return A&&a===0&&n.props.collapsed&&!h.collapsedShowGroupTitle?me:[{type:O,key:t.key||t.path,label:re,onClick:A?void 0:t.onTitleClick,children:me,className:se()((E={},(0,l.Z)(E,"".concat(u,"-group"),O==="group"),(0,l.Z)(E,"".concat(u,"-submenu"),O!=="group"),(0,l.Z)(E,"".concat(u,"-submenu-has-icon"),O!=="group"&&k&&j),E))},A&&a===0?{type:"divider",prefixCls:s,className:"".concat(u,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:Y==null||(ne=Y.layout)===null||ne===void 0||(J=ne.sider)===null||J===void 0?void 0:J.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(u,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,u=o.menu,s=o.formatMessage;return i&&(u==null?void 0:u.locale)!==!1?s==null?void 0:s({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a){var i,o,u,s,c,h=n.conversionPath(t.path||"/"),I=n.props,$=I.location,A=$===void 0?{pathname:"/"}:$,Y=I.isMobile,F=I.onCollapse,N=I.menuItemRender,O=I.iconPrefixes,z=n.getIntlName(t),X=n.props,Z=X.baseClassName,_=X.menu,U=X.collapsed,E=(_==null?void 0:_.type)==="group",ne=a===0||E&&a===1,J=ne?rr(t.icon,O,"".concat(Z,"-icon ").concat((i=n.props)===null||i===void 0?void 0:i.hashId)):null,k=U&&ne?ar(z):null,j=(0,d.jsxs)("div",{className:se()("".concat(Z,"-item-title"),(o=n.props)===null||o===void 0?void 0:o.hashId,(u={},(0,l.Z)(u,"".concat(Z,"-item-title-collapsed"),U),(0,l.Z)(u,"".concat(Z,"-item-collapsed-show-title"),(_==null?void 0:_.collapsedShowTitle)&&U),u)),children:[(0,d.jsx)("span",{className:"".concat(Z,"-item-icon ").concat((s=n.props)===null||s===void 0?void 0:s.hashId),style:{display:k===null&&!J?"none":""},children:J||(0,d.jsx)("span",{className:"anticon",children:k})}),(0,d.jsx)("span",{className:se()("".concat(Z,"-item-text"),(c=n.props)===null||c===void 0?void 0:c.hashId,(0,l.Z)({},"".concat(Z,"-item-text-has-icon"),ne&&(J||k))),children:z})]},h),ee=Pt(h);if(ee){var ie,re,me,H;j=(0,d.jsxs)("span",{onClick:function(){var xe,he;(xe=window)===null||xe===void 0||(he=xe.open)===null||he===void 0||he.call(xe,h,"_blank")},className:se()("".concat(Z,"-item-title"),(ie=n.props)===null||ie===void 0?void 0:ie.hashId,(re={},(0,l.Z)(re,"".concat(Z,"-item-title-collapsed"),U),(0,l.Z)(re,"".concat(Z,"-item-link"),!0),(0,l.Z)(re,"".concat(Z,"-item-collapsed-show-title"),(_==null?void 0:_.collapsedShowTitle)&&U),re)),children:[(0,d.jsx)("span",{className:"".concat(Z,"-item-icon ").concat((me=n.props)===null||me===void 0?void 0:me.hashId),style:{display:k===null&&!J?"none":""},children:J||(0,d.jsx)("span",{className:"anticon",children:k})}),(0,d.jsx)("span",{className:se()("".concat(Z,"-item-text"),(H=n.props)===null||H===void 0?void 0:H.hashId,(0,l.Z)({},"".concat(Z,"-item-text-has-icon"),ne&&(J||k))),children:z})]},h)}if(N){var Se=(0,v.Z)((0,v.Z)({},t),{},{isUrl:ee,itemPath:h,isMobile:Y,replace:h===A.pathname,onClick:function(){return F&&F(!0)},children:void 0});return N(Se,j,n.props)}return j}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),pa=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},or=function(e){var n,t=e.mode,a=e.className,i=e.handleOpenChange,o=e.style,u=e.menuData,s=e.prefixCls,c=e.menu,h=e.matchMenuKeys,I=e.iconfontUrl,$=e.selectedKeys,A=e.onSelect,Y=e.menuRenderType,F=e.openKeys,N=(0,p.useContext)(te.L_),O=N.dark,z=N.token,X="".concat(s,"-base-menu-").concat(t),Z=(0,p.useRef)([]),_=(0,oe.Z)(c==null?void 0:c.defaultOpenAll),U=(0,G.Z)(_,2),E=U[0],ne=U[1],J=(0,oe.Z)(function(){return c!=null&&c.defaultOpenAll?(0,Gn.O7)(u)||[]:F===!1?!1:[]},{value:F===!1?void 0:F,onChange:i}),k=(0,G.Z)(J,2),j=k[0],ee=k[1],ie=(0,oe.Z)([],{value:$,onChange:A?function(Re){A&&Re&&A(Re)}:void 0}),re=(0,G.Z)(ie,2),me=re[0],H=re[1];(0,p.useEffect)(function(){c!=null&&c.defaultOpenAll||F===!1||h&&(ee(h),H(h))},[h.join("-")]),(0,p.useEffect)(function(){I&&(tr=er({scriptUrl:I}))},[I]),(0,p.useEffect)(function(){if(h.join("-")!==(me||[]).join("-")&&H(h),!E&&F!==!1&&h.join("-")!==(j||[]).join("-")){var Re=h;(c==null?void 0:c.autoClose)===!1&&(Re=Array.from(new Set([].concat((0,vt.Z)(h),(0,vt.Z)(j||[]))))),ee(Re)}else c!=null&&c.ignoreFlatMenu&&E?ee((0,Gn.O7)(u)):ne(!1)},[h.join("-")]);var Se=(0,p.useMemo)(function(){return pa(j,e)},[j&&j.join(","),e.layout,e.collapsed]),je=ga(X,t),xe=je.wrapSSR,he=je.hashId,Pe=(0,p.useMemo)(function(){return new ya((0,v.Z)((0,v.Z)({},e),{},{token:z,menuRenderType:Y,baseClassName:X,hashId:he}))},[e,z,Y,X,he]);if(c!=null&&c.loading)return(0,d.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,d.jsx)(ma.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(Z.current=h);var Ee=e.postMenuData?e.postMenuData(u):u;return Ee&&(Ee==null?void 0:Ee.length)<1?null:xe((0,p.createElement)(Yt.Z,(0,v.Z)((0,v.Z)({},Se),{},{key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:Z.current,theme:O?"dark":"light",selectedKeys:me,style:(0,v.Z)({backgroundColor:"transparent",border:"none"},o),className:se()(a,he,X,(n={},(0,l.Z)(n,"".concat(X,"-horizontal"),t==="horizontal"),(0,l.Z)(n,"".concat(X,"-collapsed"),e.collapsed),n)),items:Pe.getNavMenuItems(Ee,0),onOpenChange:function(He){e.collapsed||ee(He)}},e.menuProps)))};function xa(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Fe.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var Ca=["title","render"],ba=bn.Z.Sider,Et=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n||""];if(o===!1)return null;var u=wt(t),s=(0,d.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(u,e.collapsed?null:s,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,d.jsx)("a",{children:u},"title"):(0,d.jsxs)("a",{children:[u,s]},"title")},ir=function(e){var n,t,a=e.collapsed,i=e.originCollapsed,o=e.fixSiderbar,u=e.menuFooterRender,s=e.onCollapse,c=e.theme,h=e.siderWidth,I=e.isMobile,$=e.onMenuHeaderClick,A=e.breakpoint,Y=A===void 0?"lg":A,F=e.style,N=e.layout,O=e.menuExtraRender,z=O===void 0?!1:O,X=e.links,Z=e.menuContentRender,_=e.collapsedButtonRender,U=e.prefixCls,E=e.avatarProps,ne=e.rightContentRender,J=e.actionsRender,k=e.onOpenChange,j=e.stylish,ee=e.logoStyle,ie=(0,p.useContext)(te.L_),re=ie.hashId,me=(0,p.useMemo)(function(){return!(I||N==="mix")},[I,N]),H="".concat(U,"-sider"),Se=64,je=xa("".concat(H,".").concat(H,"-stylish"),{stylish:j,proLayoutCollapsedWidth:Se}),xe=se()("".concat(H),re,(n={},(0,l.Z)(n,"".concat(H,"-fixed"),o),(0,l.Z)(n,"".concat(H,"-fixed-mix"),N==="mix"&&!I&&o),(0,l.Z)(n,"".concat(H,"-collapsed"),e.collapsed),(0,l.Z)(n,"".concat(H,"-layout-").concat(N),N&&!I),(0,l.Z)(n,"".concat(H,"-light"),c!=="dark"),(0,l.Z)(n,"".concat(H,"-mix"),N==="mix"&&!I),(0,l.Z)(n,"".concat(H,"-stylish"),!!j),n)),he=Et(e),Pe=z&&z(e),Ee=(0,p.useMemo)(function(){return Z!==!1&&(0,p.createElement)(or,(0,v.Z)((0,v.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:k,style:{width:"100%"},className:"".concat(H,"-menu ").concat(re)}))},[H,re,Z,k,e]),Re=(X||[]).map(function(we,Ae){return{className:"".concat(H,"-link"),label:we,key:Ae}}),He=(0,p.useMemo)(function(){return Z?Z(e,Ee):Ee},[Z,Ee,e]),We=(0,p.useMemo)(function(){if(!E)return null;var we=E.title,Ae=E.render,qe=(0,Ce.Z)(E,Ca),rn=(0,d.jsxs)("div",{className:"".concat(H,"-actions-avatar"),children:[(0,d.jsx)(Qt.C,(0,v.Z)({size:28},qe)),E.title&&!a&&(0,d.jsx)("span",{children:we})]});return Ae?Ae(E,rn):rn},[E,H,a]),Ge=(0,p.useMemo)(function(){return J?(0,d.jsx)(qr.Z,{align:"center",size:4,direction:a?"vertical":"horizontal",className:se()(["".concat(H,"-actions-list"),a&&"".concat(H,"-actions-list-collapsed"),re]),children:J==null?void 0:J(e).map(function(we,Ae){return(0,d.jsx)("div",{className:"".concat(H,"-actions-list-item ").concat(re),children:we},Ae)})}):null},[J,H,a]),Xe=(0,p.useMemo)(function(){return(0,d.jsx)(jt,{itemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),Ze=(0,p.useMemo)(function(){if(_===!1)return null;var we=(0,d.jsx)(aa,{isMobile:I,collapsed:i,className:"".concat(H,"-collapsed-button"),onClick:function(){s==null||s(!i)}});return _?_(a,we):we},[_,I,i,H,a,s]),cn=(0,p.useMemo)(function(){return!We&&!Ge?null:(0,d.jsxs)("div",{className:se()("".concat(H,"-actions"),re,a&&"".concat(H,"-actions-collapsed")),children:[We,Ge]})},[Ge,We,H,a,re]),Ve=(0,p.useMemo)(function(){var we;return e!=null&&(we=e.menu)!==null&&we!==void 0&&we.hideMenuWhenCollapsed&&a?"".concat(H,"-hide-menu-collapsed"):null},[H,a,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),Me=u&&(u==null?void 0:u(e)),sn=(0,d.jsxs)(d.Fragment,{children:[he&&(0,d.jsxs)("div",{className:se()([se()("".concat(H,"-logo"),re,(0,l.Z)({},"".concat(H,"-logo-collapsed"),a))]),onClick:me?$:void 0,id:"logo",style:ee,children:[he,Xe]}),Pe&&(0,d.jsx)("div",{className:se()(["".concat(H,"-extra"),!he&&"".concat(H,"-extra-no-logo"),re]),children:Pe}),(0,d.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:He}),X?(0,d.jsx)("div",{className:"".concat(H,"-links ").concat(re),children:(0,d.jsx)(Yt.Z,{inlineIndent:16,className:"".concat(H,"-link-menu ").concat(re),selectedKeys:[],openKeys:[],theme:c,mode:"inline",items:Re})}):null,me&&(0,d.jsxs)(d.Fragment,{children:[cn,!Ge&&ne?(0,d.jsx)("div",{className:se()("".concat(H,"-actions"),re,(0,l.Z)({},"".concat(H,"-actions-collapsed"),a)),children:ne==null?void 0:ne(e)}):null]}),Me&&(0,d.jsx)("div",{className:se()(["".concat(H,"-footer"),re,(0,l.Z)({},"".concat(H,"-footer-collapsed"),a)]),children:Me})]});return je.wrapSSR((0,d.jsxs)(d.Fragment,{children:[o&&!I&&!Ve&&(0,d.jsx)("div",{style:(0,v.Z)({width:a?Se:h,overflow:"hidden",flex:"0 0 ".concat(a?Se:h,"px"),maxWidth:a?Se:h,minWidth:a?Se:h,transition:"all 0.2s ease 0s"},F)}),(0,d.jsxs)(ba,{collapsible:!0,trigger:null,collapsed:a,breakpoint:Y===!1?void 0:Y,onCollapse:function(Ae){I||s==null||s(Ae)},collapsedWidth:Se,style:F,theme:c,width:h,className:se()(xe,re,Ve),children:[Ve?(0,d.jsx)("div",{className:"".concat(H,"-hide-when-collapsed ").concat(re),style:{height:"100%",width:"100%",opacity:Ve?0:1},children:sn}):sn,Ze]})]}))},Sa=f(57939),Za=f(71860),Ma=function(e){var n,t,a,i,o,u;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:e==null||(n=e.layout)===null||n===void 0||(t=n.header)===null||t===void 0?void 0:t.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:e.colorTextSecondary,"> div":{height:"44px",color:e.colorTextSecondary,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:e==null||(o=e.layout)===null||o===void 0||(u=o.header)===null||u===void 0?void 0:u.colorBgRightActionsItemHover}}}}})};function $a(r){return(0,Fe.Xj)("ProLayoutRightContent",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Ma(n)]})}var Ia=["rightContentRender","avatarProps","actionsRender","headerContentRender"],Ta=["title","render"],lr=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,Ce.Z)(e,Ia),u=(0,p.useContext)(Ke.ZP.ConfigContext),s=u.getPrefixCls,c="".concat(s(),"-pro-global-header"),h=$a(c),I=h.wrapSSR,$=h.hashId,A=(0,p.useState)("auto"),Y=(0,G.Z)(A,2),F=Y[0],N=Y[1],O=(0,p.useMemo)(function(){if(!t)return null;var _=t.title,U=t.render,E=(0,Ce.Z)(t,Ta),ne=[(0,p.createElement)(Qt.C,(0,v.Z)((0,v.Z)({},E),{},{size:28,key:"avatar"})),_?(0,d.jsx)("span",{style:{marginInlineStart:8},children:_},"name"):void 0];return U?U(t,(0,d.jsx)("div",{children:ne})):(0,d.jsx)("div",{children:ne})},[t]),z=a||O?function(_){var U=a&&(a==null?void 0:a(_));return!U&&!O?null:(Array.isArray(U)||(U=[U]),I((0,d.jsxs)("div",{className:"".concat(c,"-header-actions ").concat($),children:[U.filter(Boolean).map(function(E,ne){var J=!1;if(p.isValidElement(E)){var k;J=!!(E!=null&&(k=E.props)!==null&&k!==void 0&&k["aria-hidden"])}return(0,d.jsx)("div",{className:se()("".concat(c,"-header-actions-item ").concat($),(0,l.Z)({},"".concat(c,"-header-actions-hover"),!J)),children:E},ne)}),O&&(0,d.jsx)("span",{className:"".concat(c,"-header-actions-avatar ").concat($),children:O})]})))}:void 0,X=(0,Sa.D)(function(){var _=(0,ue.Z)((0,ae.Z)().mark(function U(E){return(0,ae.Z)().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:N(E);case 1:case"end":return J.stop()}},U)}));return function(U){return _.apply(this,arguments)}}(),160),Z=z||n;return(0,d.jsx)("div",{className:"".concat(c,"-right-content ").concat($),style:{minWidth:F,height:"100%"},children:(0,d.jsx)("div",{style:{height:"100%"},children:(0,d.jsx)(Za.Z,{onResize:function(U){var E=U.width;X.run(E)},children:Z?(0,d.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:Z((0,v.Z)((0,v.Z)({},o),{},{rightContentSize:F}))}):null})})})},Ra=function(e){var n,t,a,i;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:e==null||(n=e.layout)===null||n===void 0||(t=n.header)===null||t===void 0?void 0:t.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max(((e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56)-12,40),"px")}})};function _a(r){return(0,Fe.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Ra(n)]})}var ur=function(e){var n,t,a,i,o,u,s,c,h,I,$,A,Y=(0,p.useRef)(null),F=e.onMenuHeaderClick,N=e.contentWidth,O=e.rightContentRender,z=e.className,X=e.style,Z=e.headerContentRender,_=e.layout,U=e.actionsRender,E=(0,p.useContext)(Ke.ZP.ConfigContext),ne=E.getPrefixCls,J=(0,p.useContext)(te.L_),k=J.dark,j=J.token,ee="".concat(e.prefixCls||ne("pro"),"-top-nav-header"),ie=_a(ee),re=ie.wrapSSR,me=ie.hashId,H=void 0;e.menuHeaderRender!==void 0?H="menuHeaderRender":(_==="mix"||_==="top")&&(H="headerTitleRender");var Se=Et((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),H),je=(0,p.useMemo)(function(){var xe,he=(0,d.jsx)(or,(0,v.Z)((0,v.Z)((0,v.Z)({theme:k?"dark":"light"},e),{},{className:"".concat(ee,"-base-menu ").concat(me)},e.menuProps),{},{style:(0,v.Z)({width:"100%"},(xe=e.menuProps)===null||xe===void 0?void 0:xe.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}));return Z?Z(e,he):he},[j==null||(n=j.layout)===null||n===void 0||(t=n.header)===null||t===void 0?void 0:t.colorBgHeader,j==null||(a=j.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorBgMenuItemSelected,j==null||(o=j.layout)===null||o===void 0||(u=o.header)===null||u===void 0?void 0:u.colorBgMenuItemHover,j==null||(s=j.layout)===null||s===void 0||(c=s.header)===null||c===void 0?void 0:c.colorTextMenu,j==null||(h=j.layout)===null||h===void 0||(I=h.header)===null||I===void 0?void 0:I.colorTextMenuActive,j==null||($=j.layout)===null||$===void 0||(A=$.header)===null||A===void 0?void 0:A.colorTextMenuSelected,j==null?void 0:j.colorBgTextHover,j==null?void 0:j.colorTextSecondary,j==null?void 0:j.colorText,j==null?void 0:j.colorTextBase,e,ee,me,Z]);return re((0,d.jsx)("div",{className:se()(ee,me,z,(0,l.Z)({},"".concat(ee,"-light"),!0)),style:X,children:(0,d.jsxs)("div",{ref:Y,className:se()("".concat(ee,"-main"),me,(0,l.Z)({},"".concat(ee,"-wide"),N==="Fixed")),children:[Se&&(0,d.jsxs)("div",{className:se()("".concat(ee,"-main-left ").concat(me)),onClick:F,children:[(0,d.jsx)(jt,(0,v.Z)({},e)),(0,d.jsx)("div",{className:"".concat(ee,"-logo ").concat(me),id:"logo",children:Se},"logo")]}),(0,d.jsx)("div",{style:{flex:1},className:"".concat(ee,"-menu ").concat(me),children:je}),(O||U||e.avatarProps)&&(0,d.jsx)(lr,(0,v.Z)((0,v.Z)({rightContentRender:O},e),{},{prefixCls:ee}))]})}))},Pa=function(e){var n,t,a,i,o,u,s;return(0,l.Z)({},e.componentCls,(s={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(t=n.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,l.Z)(s,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,l.Z)(s,"&-collapsed-button",{minHeight:"22px",color:e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,l.Z)(s,"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((o=e.layout)===null||o===void 0||(u=o.header)===null||u===void 0?void 0:u.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),(0,l.Z)(s,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),s))};function wa(r){return(0,Fe.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Pa(n)]})}var ja=function(e,n){return e===!1?null:e?e(n,null):n},Ea=function(e){var n,t=e.isMobile,a=e.logo,i=e.collapsed,o=e.onCollapse,u=e.rightContentRender,s=e.menuHeaderRender,c=e.onMenuHeaderClick,h=e.className,I=e.style,$=e.layout,A=e.children,Y=e.splitMenus,F=e.menuData,N=e.prefixCls,O=(0,p.useContext)(Ke.ZP.ConfigContext),z=O.getPrefixCls,X=O.direction,Z="".concat(N||z("pro"),"-global-header"),_=wa(Z),U=_.wrapSSR,E=_.hashId,ne=se()(h,Z,E);if($==="mix"&&!t&&Y){var J=(F||[]).map(function(ie){return(0,v.Z)((0,v.Z)({},ie),{},{children:void 0,routes:void 0})}),k=(0,Gn.QX)(J);return(0,d.jsx)(ur,(0,v.Z)((0,v.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:k}))}var j=se()("".concat(Z,"-logo"),E,(n={},(0,l.Z)(n,"".concat(Z,"-logo-rtl"),X==="rtl"),(0,l.Z)(n,"".concat(Z,"-logo-mix"),$==="mix"),(0,l.Z)(n,"".concat(Z,"-logo-mobile"),t),n)),ee=(0,d.jsx)("span",{className:j,children:(0,d.jsx)("a",{children:wt(a)})},"logo");return U((0,d.jsxs)("div",{className:ne,style:(0,v.Z)({},I),children:[t&&(0,d.jsx)("span",{className:"".concat(Z,"-collapsed-button ").concat(E),onClick:function(){o==null||o(!i)},children:(0,d.jsx)(zr,{})}),t&&ja(s,ee),$==="mix"&&!t&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(jt,(0,v.Z)({},e)),(0,d.jsx)("div",{className:j,onClick:c,children:Et((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,d.jsx)("div",{style:{flex:1},children:A}),(u||e.actionsRender||e.avatarProps)&&(0,d.jsx)(lr,(0,v.Z)({rightContentRender:u},e))]}))};function La(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Fe.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var dr=bn.Z.Header,Aa=function(e){var n,t,a,i,o,u,s,c=e.isMobile,h=e.fixedHeader,I=e.className,$=e.style,A=e.collapsed,Y=e.prefixCls,F=e.onCollapse,N=e.layout,O=e.headerRender,z=e.headerContentRender,X=(0,p.useContext)(te.L_),Z=X.token,_=(0,p.useContext)(Ke.ZP.ConfigContext),U=(0,p.useState)(!1),E=(0,G.Z)(U,2),ne=E[0],J=E[1],k=h||N==="mix",j=(0,p.useCallback)(function(){var xe=N==="top",he=(0,Gn.QX)(e.menuData||[]),Pe=(0,d.jsx)(Ea,(0,v.Z)((0,v.Z)({onCollapse:F},e),{},{menuData:he,children:z&&z(e,null)}));return xe&&!c&&(Pe=(0,d.jsx)(ur,(0,v.Z)((0,v.Z)({mode:"horizontal",onCollapse:F},e),{},{menuData:he}))),O&&typeof O=="function"?O(e,Pe):Pe},[z,O,c,N,F,e]);(0,p.useEffect)(function(){var xe,he=(_==null||(xe=_.getTargetContainer)===null||xe===void 0?void 0:xe.call(_))||document.body,Pe=function(){var Re,He,We=he.scrollTop;return We>((Z==null||(Re=Z.layout)===null||Re===void 0||(He=Re.header)===null||He===void 0?void 0:He.heightLayoutHeader)||56)&&!We?(J(!0),!0):(We&&J(!1),!1)};if(k&&typeof window!="undefined")return he.addEventListener("scroll",Pe,{passive:!0}),function(){he.removeEventListener("scroll",Pe)}},[Z==null||(n=Z.layout)===null||n===void 0||(t=n.header)===null||t===void 0?void 0:t.heightLayoutHeader,k]);var ee=N==="top",ie="".concat(Y,"-layout-header"),re=Or(ie),me=re.wrapSSR,H=re.hashId,Se=La("".concat(ie,".").concat(ie,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),je=se()(I,H,ie,(a={},(0,l.Z)(a,"".concat(ie,"-fixed-header"),k),(0,l.Z)(a,"".concat(ie,"-fixed-header-scroll"),ne),(0,l.Z)(a,"".concat(ie,"-mix"),N==="mix"),(0,l.Z)(a,"".concat(ie,"-fixed-header-action"),!A),(0,l.Z)(a,"".concat(ie,"-top-menu"),ee),(0,l.Z)(a,"".concat(ie,"-header"),!0),(0,l.Z)(a,"".concat(ie,"-stylish"),!!e.stylish),a));return N==="side"&&!c?null:Se.wrapSSR(me((0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(Ke.ZP,{theme:{hashed:(0,te.nu)(),components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"}}},children:[k&&(0,d.jsx)(dr,{style:(0,v.Z)({height:(Z==null||(i=Z.layout)===null||i===void 0||(o=i.header)===null||o===void 0?void 0:o.heightLayoutHeader)||56,lineHeight:"".concat((Z==null||(u=Z.layout)===null||u===void 0||(s=u.header)===null||s===void 0?void 0:s.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},$)}),(0,d.jsx)(dr,{className:je,style:$,children:j()})]})})))},Ba=f(79693),Na=f(9829),Oa=f(28405),Da=new Oa.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0},"80%":{display:"none",opacity:0},"100%":{display:"unset",opacity:1}}),Ha=function(e){var n,t,a,i,o,u,s,c,h,I,$,A,Y,F,N,O,z,X,Z,_,U,E,ne,J,k,j,ee;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(ee={},(0,l.Z)(ee,e.componentCls,(E={position:"relative",background:((n=e.layout)===null||n===void 0||(t=n.sider)===null||t===void 0?void 0:t.colorMenuBackground)||"transparent",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},(0,l.Z)(E,"".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(a=e.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.paddingInlineLayoutMenu,paddingBlock:(o=e.layout)===null||o===void 0||(u=o.sider)===null||u===void 0?void 0:u.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),(0,l.Z)(E,"".concat(e.antCls,"-menu"),(h={},(0,l.Z)(h,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,l.Z)(h,"".concat(e.antCls,"-menu-item:hover"),{color:e==null||(s=e.layout)===null||s===void 0||(c=s.sider)===null||c===void 0?void 0:c.colorTextMenuItemHover}),h)),(0,l.Z)(E,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(I=e.layout)===null||I===void 0||($=I.sider)===null||$===void 0?void 0:$.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((A=e.layout)===null||A===void 0||(Y=A.sider)===null||Y===void 0?void 0:Y.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(F=e.layout)===null||F===void 0||(N=F.sider)===null||N===void 0?void 0:N.colorTextMenuTitle,fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),(0,l.Z)(E,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(O=e.layout)===null||O===void 0||(z=O.sider)===null||z===void 0?void 0:z.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(X=e.layout)===null||X===void 0||(Z=X.sider)===null||Z===void 0?void 0:Z.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:8,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),(0,l.Z)(E,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,l.Z)(E,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,l.Z)(E,"&-links",{width:"100%",ul:{height:"auto"}}),(0,l.Z)(E,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,l.Z)(E,"&-footer",{color:(_=e.layout)===null||_===void 0||(U=_.sider)===null||U===void 0?void 0:U.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:Da,animationDuration:".3s",animationTimingFunction:"ease"}),E)),(0,l.Z)(ee,"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat((e==null||(ne=e.layout)===null||ne===void 0||(J=ne.header)===null||J===void 0?void 0:J.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((e==null||(k=e.layout)===null||k===void 0||(j=k.header)===null||j===void 0?void 0:j.heightLayoutHeader)||56,"px")}}),ee))};function Wa(r,e){var n=e.proLayoutCollapsedWidth;return(0,Fe.Xj)("ProLayoutSiderMenu",function(t){var a=(0,v.Z)((0,v.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ha(a)]})}var cr=function(e){var n,t,a=e.isMobile,i=e.siderWidth,o=e.collapsed,u=e.onCollapse,s=e.style,c=e.className,h=e.hide,I=e.getContainer,$=I===void 0?!1:I,A=e.prefixCls,Y=(0,p.useContext)(te.L_),F=Y.token;(0,p.useEffect)(function(){a===!0&&(u==null||u(!0))},[a]);var N=(0,Gt.Z)(e,["className","style"]),O=p.useContext(Ke.ZP.ConfigContext),z=O.direction,X=Wa("".concat(A,"-sider"),{proLayoutCollapsedWidth:64}),Z=X.wrapSSR,_=X.hashId,U=se()("".concat(A,"-sider"),c,_);if(h)return null;var E=(0,Vt.X)(!o,function(){return u==null?void 0:u(!0)});return Z(a?(0,d.jsx)(Na.Z,(0,v.Z)((0,v.Z)({placement:z==="rtl"?"right":"left",className:se()("".concat(A,"-drawer-sider"),c)},E),{},{style:(0,v.Z)({padding:0,height:"100vh"},s),onClose:function(){u==null||u(!0)},maskClosable:!0,closable:!1,getContainer:$,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:F==null||(n=F.layout)===null||n===void 0||(t=n.sider)===null||t===void 0?void 0:t.colorMenuBackground},children:(0,d.jsx)(ir,(0,v.Z)((0,v.Z)({},N),{},{isMobile:!0,className:U,collapsed:a?!1:o,splitMenus:!1,originCollapsed:o}))})):(0,d.jsx)(ir,(0,v.Z)((0,v.Z)({className:U,originCollapsed:o},N),{},{style:s})))},sr=f(43507),Fa=f(58809),Lt=f.n(Fa),za=function(e,n,t){if(t){var a=(0,vt.Z)(t.keys()).find(function(o){return Lt()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return Lt()(o).test(e)});if(i)return n[i]}return{path:""}},At=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,u=e.formatMessage,s=e.title,c=e.menu,h=c===void 0?{locale:!1}:c,I=n?"":s||"",$=za(a,i,o);if(!$)return{title:I,id:"",pageName:I};var A=$.name;return h.locale!==!1&&$.locale&&u&&(A=u({id:$.locale||"",defaultMessage:$.name})),A?n||!s?{title:A,id:$.locale||"",pageName:A}:{title:"".concat(A," - ").concat(s),id:$.locale||"",pageName:A}:{title:I,id:$.locale||"",pageName:I}},Ko=function(e,n){return At(e,n).title},Ka=f(40364),ht=f(2765),Bt=f(14224),Ua=function(){var e,n;return typeof Bt=="undefined"?ht.Z:((e=Bt)===null||Bt===void 0||(n={NODE_ENV:"production",PUBLIC_PATH:"/admin/"})===null||n===void 0?void 0:n.ANTD_VERSION)||ht.Z},Ga=function(e){var n,t,a,i,o,u,s,c,h,I,$,A,Y,F,N,O,z,X,Z,_,U,E,ne,J,k,j,ee,ie,re,me,H,Se,je,xe,he,Pe,Ee,Re,He,We,Ge,Xe,Ze,cn,Ve,Me,sn,we,Ae,qe,rn,Ie,Pn,Xn,Sn,pe,wn,Zn,jn,En,yn,Mn,Vn,Ln,Qn,An,Yn,Bn,Nn,vn,$n;return(n=Ua())!==null&&n!==void 0&&n.startsWith("5")?{}:($n={},(0,l.Z)($n,e.componentCls,(Zn={width:"100%",height:"100%"},(0,l.Z)(Zn,"".concat(e.proComponentsCls,"-base-menu"),(Ze={color:e==null||(t=e.layout)===null||t===void 0||(a=t.sider)===null||a===void 0?void 0:a.colorTextMenu},(0,l.Z)(Ze,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:e==null||(i=e.layout)===null||i===void 0||(o=i.sider)===null||o===void 0?void 0:o.colorTextMenu}),(0,l.Z)(Ze,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,l.Z)(Ze,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,l.Z)(Ze,"&".concat(e.antCls,"-menu"),(c={color:e==null||(u=e.layout)===null||u===void 0||(s=u.sider)===null||s===void 0?void 0:s.colorTextMenu},(0,l.Z)(c,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,l.Z)(c,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),c)),(0,l.Z)(Ze,"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,l.Z)(Ze,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)(Ze,"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,l.Z)(Ze,"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,`-menu-submenu-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:e==null||(h=e.layout)===null||h===void 0||(I=h.sider)===null||I===void 0?void 0:I.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||($=e.layout)===null||$===void 0||(A=$.sider)===null||A===void 0?void 0:A.colorTextMenuActive}))),(0,l.Z)(Ze,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(U={},(0,l.Z)(U,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:e==null||(Y=e.layout)===null||Y===void 0||(F=Y.sider)===null||F===void 0?void 0:F.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,l.Z)(U,"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:e==null||(N=e.layout)===null||N===void 0||(O=N.sider)===null||O===void 0?void 0:O.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat(e==null||(z=e.layout)===null||z===void 0||(X=z.header)===null||X===void 0?void 0:X.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(Z=e.layout)===null||Z===void 0||(_=Z.sider)===null||_===void 0?void 0:_.colorTextMenuActive})),U)),(0,l.Z)(Ze,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(E=e.layout)===null||E===void 0||(ne=E.sider)===null||ne===void 0?void 0:ne.colorTextMenuSelected}),(0,l.Z)(Ze,"".concat(e.antCls,"-menu-submenu-selected"),{color:e==null||(J=e.layout)===null||J===void 0||(k=J.sider)===null||k===void 0?void 0:k.colorTextMenuSelected}),(0,l.Z)(Ze,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:e==null||(j=e.layout)===null||j===void 0||(ee=j.sider)===null||ee===void 0?void 0:ee.colorTextMenuSelected}),(0,l.Z)(Ze,"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:e==null||(ie=e.layout)===null||ie===void 0||(re=ie.sider)===null||re===void 0?void 0:re.colorTextMenuSelected})),(0,l.Z)(Ze,"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(me=e.layout)===null||me===void 0||(H=me.sider)===null||H===void 0?void 0:H.colorTextMenuActive}),(0,l.Z)(Ze,"&".concat(e.antCls,"-menu-horizontal"),(Xe={},(0,l.Z)(Xe,"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-submenu:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:e==null||(Se=e.layout)===null||Se===void 0||(je=Se.header)===null||je===void 0?void 0:je.colorTextMenuActive,backgroundColor:"".concat(e==null||(xe=e.layout)===null||xe===void 0||(he=xe.header)===null||he===void 0?void 0:he.colorBgMenuItemHover," !important")}),(0,l.Z)(Xe,"".concat(e.antCls,`-menu-item-open,
`).concat(e.antCls,`-menu-submenu-open,
`).concat(e.antCls,`-menu-item-selected,
`).concat(e.antCls,"-menu-submenu-selected"),(0,l.Z)({backgroundColor:e==null||(Pe=e.layout)===null||Pe===void 0||(Ee=Pe.header)===null||Ee===void 0?void 0:Ee.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat(e==null||(Re=e.layout)===null||Re===void 0||(He=Re.header)===null||He===void 0?void 0:He.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat(e==null||(We=e.layout)===null||We===void 0||(Ge=We.header)===null||Ge===void 0?void 0:Ge.colorTextMenuSelected," !important")})),(0,l.Z)(Xe,"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),(0,l.Z)(Xe,"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"}),Xe)),Ze)),(0,l.Z)(Zn,"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(wn={},(0,l.Z)(wn,"&".concat(e.antCls,"-menu"),(0,l.Z)({color:e==null||(cn=e.layout)===null||cn===void 0||(Ve=cn.header)===null||Ve===void 0?void 0:Ve.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),(0,l.Z)(wn,"&".concat(e.antCls,"-menu-light"),(pe={},(0,l.Z)(pe,"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,`-menu-submenu-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:e==null||(Me=e.layout)===null||Me===void 0||(sn=Me.header)===null||sn===void 0?void 0:sn.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:e==null||(we=e.layout)===null||we===void 0||(Ae=we.header)===null||Ae===void 0?void 0:Ae.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(qe=e.layout)===null||qe===void 0||(rn=qe.header)===null||rn===void 0?void 0:rn.colorTextMenuActive})),(0,l.Z)(pe,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(Ie=e.layout)===null||Ie===void 0||(Pn=Ie.header)===null||Pn===void 0?void 0:Pn.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:e==null||(Xn=e.layout)===null||Xn===void 0||(Sn=Xn.header)===null||Sn===void 0?void 0:Sn.colorBgMenuItemSelected}),pe)),wn)),Zn)),(0,l.Z)($n,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)($n,"".concat(e.antCls,"-menu-submenu-popup"),(vn={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,l.Z)(vn,"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),(0,l.Z)(vn,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(jn=e.layout)===null||jn===void 0||(En=jn.sider)===null||En===void 0?void 0:En.colorTextMenuSelected}),(0,l.Z)(vn,"".concat(e.antCls,"-menu-submenu-selected"),{color:e==null||(yn=e.layout)===null||yn===void 0||(Mn=yn.sider)===null||Mn===void 0?void 0:Mn.colorTextMenuSelected}),(0,l.Z)(vn,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(Nn={},(0,l.Z)(Nn,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:e==null||(Vn=e.layout)===null||Vn===void 0||(Ln=Vn.sider)===null||Ln===void 0?void 0:Ln.colorTextMenuSelected}),(0,l.Z)(Nn,"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:e==null||(Qn=e.layout)===null||Qn===void 0||(An=Qn.sider)===null||An===void 0?void 0:An.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(Yn=e.layout)===null||Yn===void 0||(Bn=Yn.sider)===null||Bn===void 0?void 0:Bn.colorTextMenuActive})),Nn)),vn)),$n)},Xa=function(e){var n,t,a,i,o,u,s,c,h;return h={},(0,l.Z)(h,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,l.Z)(h,e.componentCls,(c={},(0,l.Z)(c,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,l.Z)(c,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(e==null||(n=e.layout)===null||n===void 0||(t=n.pageContainer)===null||t===void 0?void 0:t.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:e==null||(a=e.layout)===null||a===void 0||(i=a.pageContainer)===null||i===void 0?void 0:i.paddingBlockPageContainerContent,paddingInline:e==null||(o=e.layout)===null||o===void 0||(u=o.pageContainer)===null||u===void 0?void 0:u.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,l.Z)(c,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,l.Z)(c,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:e==null||(s=e.layout)===null||s===void 0?void 0:s.bgLayout}),c)),(0,l.Z)(h,"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}),h};function Va(r){return(0,Fe.Xj)("ProLayout",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Xa(n),Ga(n)]})}var Qa=f(11817);function Ya(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Nt=f(14224),Ja=function(){var e,n;return typeof Nt=="undefined"?ht.Z:((e=Nt)===null||Nt===void 0||(n={NODE_ENV:"production",PUBLIC_PATH:"/admin/"})===null||n===void 0?void 0:n.ANTD_VERSION)||ht.Z},ka=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,u=a.path,s=t.indexOf(e)===t.length-1;return s?(0,d.jsx)("span",{children:o||i}):(0,d.jsx)("span",{onClick:u?function(){location.href=u}:void 0,children:o||i})},qa=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},eo=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return Lt()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},no=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},to=function(e,n,t){var a=Ya(e==null?void 0:e.pathname),i=a.map(function(o){var u=eo(n,o),s=qa(u,t),c=u.hideInBreadcrumb;return s&&!c?{linkPath:o,breadcrumbName:s,title:s,component:u.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},ro=function(e){var n=no(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?to(t,a,e):[]},ao=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,u=o===void 0?2:o,s=ro(e),c=function($){for(var A=a||ka,Y=arguments.length,F=new Array(Y>1?Y-1:0),N=1;N<Y;N++)F[N-1]=arguments[N];return A==null?void 0:A.apply(void 0,[(0,v.Z)((0,v.Z)({},$),{},{path:$.linkPath||$.path})].concat(F))},h=s;return t&&(h=t(h||[])||void 0),(h&&h.length<u||t===!1)&&(h=void 0),(0,Qa.n)(Ja(),"5.3.0")>-1?{items:h,itemRender:c}:{routes:h,itemRender:c}};function oo(r){return(0,vt.Z)(r).reduce(function(e,n){var t=(0,G.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var io=function r(e,n,t,a){var i=_n(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,u=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:oo(u),breadcrumbMap:u,menuData:o}},lo=f(26143),uo=f(87837),co=function(e){var n=(0,p.useState)({}),t=(0,G.Z)(n,2),a=t[0],i=t[1];return(0,p.useEffect)(function(){i((0,uo.Y)({layout:(0,lo.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}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},so=f(80407),vo=function(e){var n,t=(0,p.useContext)(te.L_),a=t.hashId,i=e.style,o=e.prefixCls,u=e.children,s=e.hasPageContainer,c=s===void 0?0:s,h=se()("".concat(o,"-content"),a,(n={},(0,l.Z)(n,"".concat(o,"-has-header"),e.hasHeader),(0,l.Z)(n,"".concat(o,"-content-has-page-container"),c>0),n)),I=e.ErrorBoundary||so.S;return e.ErrorBoundary===!1?(0,d.jsx)(bn.Z.Content,{className:h,style:i,children:u}):(0,d.jsx)(I,{children:(0,d.jsx)(bn.Z.Content,{className:h,style:i,children:u})})},fo=["id","defaultMessage"],mo=["fixSiderbar","navTheme","layout"],vr=0,ho=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,d.jsx)(Aa,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},go=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,v.Z)({},e),(0,d.jsx)(Br.q,{})):null},yo=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,u=e.openKeys,s=e.splitMenus,c=e.suppressSiderWhenMenuEmpty,h=e.menuRender;if(e.menuRender===!1||e.pure)return null;var I=e.menuData;if(s&&(u!==!1||a==="mix")&&!i){var $=o||n,A=(0,G.Z)($,1),Y=A[0];if(Y){var F,N;I=((F=e.menuData)===null||F===void 0||(N=F.find(function(Z){return Z.key===Y}))===null||N===void 0?void 0:N.children)||[]}else I=[]}var O=(0,Gn.QX)(I||[]);if(O&&(O==null?void 0:O.length)<1&&(s||c))return null;if(a==="top"&&!i){var z;return(0,d.jsx)(cr,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:(z=e.stylish)===null||z===void 0?void 0:z.sider}))}var X=(0,d.jsx)(cr,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{menuData:O,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return h?h(e,X):X},po=function(e,n){var t=n.pageTitleRender,a=At(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return At((0,v.Z)((0,v.Z)({},a),{},{title:i}));(0,Er.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},xo=function(e,n,t){return e?n?60:t:0},Co=function(e){var n,t,a,i,o,u,s,c,h,I,$,A,Y,F,N,O,z,X,Z,_,U,E,ne,J,k,j,ee,ie,re,me,H,Se,je,xe,he,Pe,Ee,Re,He,We,Ge,Xe,Ze,cn,Ve,Me=e||{},sn=Me.children,we=Me.onCollapse,Ae=Me.location,qe=Ae===void 0?{pathname:"/"}:Ae,rn=Me.contentStyle,Ie=Me.route,Pn=Me.defaultCollapsed,Xn=Me.style,Sn=Me.siderWidth,pe=Me.menu,wn=Me.siderMenuType,Zn=Me.isChildrenLayout,jn=Me.menuDataRender,En=Me.actionRef,yn=Me.bgLayoutImgList,Mn=Me.formatMessage,Vn=Me.loading,Ln=(0,p.useMemo)(function(){return Sn||(e.layout==="mix"?215:256)},[e.layout,Sn]),Qn=(0,p.useContext)(Ke.ZP.ConfigContext),An=(n=e.prefixCls)!==null&&n!==void 0?n:Qn.getPrefixCls("pro"),Yn=(0,oe.Z)(!1,{value:pe==null?void 0:pe.loading,onChange:pe==null?void 0:pe.onLoadingChange}),Bn=(0,G.Z)(Yn,2),Nn=Bn[0],vn=Bn[1],$n=(0,p.useState)(function(){return vr+=1,"pro-layout-".concat(vr)}),So=(0,G.Z)($n,1),Zo=So[0],Ot=(0,p.useCallback)(function(Be){var pn=Be.id,pt=Be.defaultMessage,tt=(0,Ce.Z)(Be,fo);if(Mn)return Mn((0,v.Z)({id:pn,defaultMessage:pt},tt));var rt=(0,Ka.e)();return rt[pn]?rt[pn]:pt},[Mn]),fr=(0,Xt.ZP)([Zo,pe==null?void 0:pe.params],function(){var Be=(0,ue.Z)((0,ae.Z)().mark(function pn(pt){var tt,rt,Pr,wr;return(0,ae.Z)().wrap(function(Hn){for(;;)switch(Hn.prev=Hn.next){case 0:return rt=(0,G.Z)(pt,2),Pr=rt[1],vn(!0),Hn.next=4,pe==null||(tt=pe.request)===null||tt===void 0?void 0:tt.call(pe,Pr||{},(Ie==null?void 0:Ie.children)||(Ie==null?void 0:Ie.routes)||[]);case 4:return wr=Hn.sent,vn(!1),Hn.abrupt("return",wr);case 7:case"end":return Hn.stop()}},pn)}));return function(pn){return Be.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),mr=fr.data,Mo=fr.mutate,$o=(0,Xt.kY)(),hr=$o.cache;(0,p.useEffect)(function(){return function(){hr instanceof Map&&hr.clear()}},[]);var Io=(0,p.useMemo)(function(){return io(mr||(Ie==null?void 0:Ie.children)||(Ie==null?void 0:Ie.routes)||[],pe,Ot,jn)},[Ot,pe,jn,mr,Ie==null?void 0:Ie.children,Ie==null?void 0:Ie.routes]),Dt=Io||{},gr=Dt.breadcrumb,To=gr===void 0?{}:gr,yr=Dt.breadcrumbMap,pr=Dt.menuData,Jn=pr===void 0?[]:pr;En&&pe!==null&&pe!==void 0&&pe.request&&(En.current={reload:function(){Mo()}});var kn=(0,p.useMemo)(function(){return st(qe.pathname||"/",Jn||[],!0)},[qe.pathname,Jn]),Ht=(0,p.useMemo)(function(){return Array.from(new Set(kn.map(function(Be){return Be.key||Be.path||""})))},[kn]),xr=kn[kn.length-1]||{},Cr=co(xr),gt=(0,v.Z)((0,v.Z)({},e),Cr),Ro=gt.fixSiderbar,Uo=gt.navTheme,qn=gt.layout,_o=(0,Ce.Z)(gt,mo),et=(0,Lr.ZP)(),On=(et==="sm"||et==="xs")&&!e.disableMobile,Po=qn!=="top"&&!On,wo=(0,oe.Z)(function(){return Pn!==void 0?Pn:(0,te.nu)()===!1?!1:!!(On||et==="md")},{value:e.collapsed,onChange:we}),br=(0,G.Z)(wo,2),nt=br[0],Sr=br[1],Dn=(0,Gt.Z)((0,v.Z)((0,v.Z)((0,v.Z)({prefixCls:An},e),{},{siderWidth:Ln},Cr),{},{formatMessage:Ot,breadcrumb:To,menu:(0,v.Z)((0,v.Z)({},pe),{},{type:wn||(pe==null?void 0:pe.type),loading:Nn}),layout:qn}),["className","style","breadcrumbRender"]),Wt=po((0,v.Z)((0,v.Z)({pathname:qe.pathname},Dn),{},{breadcrumbMap:yr}),e),jo=ao((0,v.Z)((0,v.Z)({},Dn),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:yr}),e),yt=yo((0,v.Z)((0,v.Z)({},Dn),{},{menuData:Jn,onCollapse:Sr,isMobile:On,collapsed:nt}),Ht),Ft=ho((0,v.Z)((0,v.Z)({},Dn),{},{children:null,hasSiderMenu:!!yt,menuData:Jn,isMobile:On,collapsed:nt,onCollapse:Sr}),Ht),Zr=go((0,v.Z)({isMobile:On,collapsed:nt},Dn)),Eo=(0,p.useContext)(sr.X),Lo=Eo.isChildrenLayout,zt=Zn!==void 0?Zn:Lo,an="".concat(An,"-layout"),Mr=Va(an),Ao=Mr.wrapSSR,Kt=Mr.hashId,Bo=se()(e.className,Kt,"ant-design-pro",an,(t={},(0,l.Z)(t,"screen-".concat(et),et),(0,l.Z)(t,"".concat(an,"-top-menu"),qn==="top"),(0,l.Z)(t,"".concat(an,"-is-children"),zt),(0,l.Z)(t,"".concat(an,"-fix-siderbar"),Ro),(0,l.Z)(t,"".concat(an,"-").concat(qn),qn),t)),No=xo(!!Po,nt,Ln),$r={position:"relative"};(zt||rn&&rn.minHeight)&&($r.minHeight=0),(0,p.useEffect)(function(){var Be;(Be=e.onPageChange)===null||Be===void 0||Be.call(e,e.location)},[qe.pathname,(a=qe.pathname)===null||a===void 0?void 0:a.search]);var Oo=(0,p.useState)(!1),Ir=(0,G.Z)(Oo,2),Tr=Ir[0],Do=Ir[1],Ho=(0,p.useState)(0),Rr=(0,G.Z)(Ho,2),_r=Rr[0],Wo=Rr[1];be(Wt,e.title||!1);var Fo=(0,p.useMemo)(function(){return yn&&yn.length>0?yn.map(function(Be,pn){return(0,d.jsx)("img",{src:Be.src,style:(0,v.Z)({position:"absolute"},Be)},pn)}):null},[yn]),zo=(0,p.useContext)(te.L_),x=zo.token;return Ao((0,d.jsx)(sr.X.Provider,{value:(0,v.Z)((0,v.Z)({},Dn),{},{breadcrumb:jo,menuData:Jn,isMobile:On,collapsed:nt,hasPageContainer:_r,setHasPageContainer:Wo,isChildrenLayout:!0,title:Wt.pageName,hasSiderMenu:!!yt,hasHeader:!!Ft,siderWidth:No,hasFooter:!!Zr,hasFooterToolbar:Tr,setHasFooterToolbar:Do,pageTitleInfo:Wt,matchMenus:kn,matchMenuKeys:Ht,currentMenu:xr}),children:e.pure?(0,d.jsx)(d.Fragment,{children:sn}):(0,d.jsxs)("div",{className:Bo,children:[(0,d.jsx)("div",{className:se()("".concat(an,"-bg-list"),Kt),children:Fo}),(0,d.jsxs)(bn.Z,{style:(0,v.Z)({minHeight:"100%",flexDirection:yt?"row":void 0},Xn),children:[(0,d.jsx)(Ke.ZP,{theme:{hashed:(0,te.nu)(),components:{Menu:{colorItemBg:(x==null||(i=x.layout)===null||i===void 0||(o=i.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:(x==null||(u=x.layout)===null||u===void 0||(s=u.sider)===null||s===void 0?void 0:s.colorMenuBackground)||"transparent",radiusItem:4,controlHeightLG:(x==null||(c=x.layout)===null||c===void 0||(h=c.sider)===null||h===void 0?void 0:h.menuHeight)||(x==null?void 0:x.controlHeightLG),colorItemBgSelected:(x==null||(I=x.layout)===null||I===void 0||($=I.sider)===null||$===void 0?void 0:$.colorBgMenuItemSelected)||(x==null?void 0:x.colorBgTextHover),colorItemBgActive:(x==null||(A=x.layout)===null||A===void 0||(Y=A.sider)===null||Y===void 0?void 0:Y.colorBgMenuItemHover)||(x==null?void 0:x.colorBgTextHover),colorItemBgSelectedHorizontal:(x==null||(F=x.layout)===null||F===void 0||(N=F.sider)===null||N===void 0?void 0:N.colorBgMenuItemSelected)||(x==null?void 0:x.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(x==null||(O=x.layout)===null||O===void 0||(z=O.sider)===null||z===void 0?void 0:z.colorTextMenu)||(x==null?void 0:x.colorTextSecondary),colorItemTextHover:(x==null||(X=x.layout)===null||X===void 0||(Z=X.sider)===null||Z===void 0?void 0:Z.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(x==null||(_=x.layout)===null||_===void 0||(U=_.sider)===null||U===void 0?void 0:U.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorBgElevated:(x==null||(E=x.layout)===null||E===void 0||(ne=E.sider)===null||ne===void 0?void 0:ne.colorBgMenuItemCollapsedElevated)||"#fff"}}},children:yt}),(0,d.jsxs)("div",{style:$r,className:"".concat(an,"-container ").concat(Kt),children:[(0,d.jsx)(Ke.ZP,{theme:{hashed:(0,te.nu)(),components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"},Menu:{colorItemBg:(x==null||(J=x.layout)===null||J===void 0||(k=J.header)===null||k===void 0?void 0:k.colorBgHeader)||"transparent",colorSubItemBg:(x==null||(j=x.layout)===null||j===void 0||(ee=j.header)===null||ee===void 0?void 0:ee.colorBgHeader)||"transparent",radiusItem:4,colorItemBgSelected:(x==null||(ie=x.layout)===null||ie===void 0||(re=ie.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected)||(x==null?void 0:x.colorBgTextHover),colorItemBgActive:(x==null||(me=x.layout)===null||me===void 0||(H=me.header)===null||H===void 0?void 0:H.colorBgMenuItemHover)||(x==null?void 0:x.colorBgTextHover),colorItemBgSelectedHorizontal:(x==null||(Se=x.layout)===null||Se===void 0||(je=Se.header)===null||je===void 0?void 0:je.colorBgMenuItemSelected)||(x==null?void 0:x.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(x==null||(xe=x.layout)===null||xe===void 0||(he=xe.header)===null||he===void 0?void 0:he.colorTextMenu)||(x==null?void 0:x.colorTextSecondary),colorItemTextHoverHorizontal:(x==null||(Pe=x.layout)===null||Pe===void 0||(Ee=Pe.header)===null||Ee===void 0?void 0:Ee.colorTextMenuActive)||(x==null?void 0:x.colorText),colorItemTextSelectedHorizontal:(x==null||(Re=x.layout)===null||Re===void 0||(He=Re.header)===null||He===void 0?void 0:He.colorTextMenuSelected)||(x==null?void 0:x.colorTextBase),colorItemTextHover:(x==null||(We=x.layout)===null||We===void 0||(Ge=We.header)===null||Ge===void 0?void 0:Ge.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(x==null||(Xe=x.layout)===null||Xe===void 0||(Ze=Xe.header)===null||Ze===void 0?void 0:Ze.colorTextMenuSelected)||"rgba(0, 0, 0, 1)"}}},children:Ft}),(0,d.jsx)(vo,(0,v.Z)((0,v.Z)({hasPageContainer:_r,isChildrenLayout:zt},_o),{},{hasHeader:!!Ft,prefixCls:an,style:rn,children:Vn?(0,d.jsx)(Ba.S,{}):sn})),Zr,Tr&&(0,d.jsx)("div",{className:"".concat(an,"-has-footer"),style:{height:64,marginBlockStart:x==null||(cn=x.layout)===null||cn===void 0||(Ve=cn.pageContainer)===null||Ve===void 0?void 0:Ve.paddingBlockPageContainerContent}})]})]})]})}))},bo=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,d.jsx)(Ke.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,d.jsx)(te._Y,(0,v.Z)((0,v.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,d.jsx)(Co,(0,v.Z)((0,v.Z)({logo:(0,d.jsx)(Ar,{})},nr.h),{},{location:(0,ge.j)()?window.location:void 0},e))}))})}},79693:function(_e,$e,f){"use strict";f.d($e,{S:function(){return te}});var l=f(75782),ae=f(58733),ue=f(86981),Ce=f(50959),G=f(11527),v=["isLoading","pastDelay","timedOut","error","retry"],te=function(p){var ge=p.isLoading,be=p.pastDelay,ye=p.timedOut,R=p.error,V=p.retry,m=(0,ae.Z)(p,v);return(0,G.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,G.jsx)(ue.Z,(0,l.Z)({size:"large"},m))})}},43507:function(_e,$e,f){"use strict";f.d($e,{X:function(){return ae}});var l=f(50959),ae=(0,l.createContext)({})},80407:function(_e,$e,f){"use strict";f.d($e,{S:function(){return ge}});var l=f(40936),ae=f(49962),ue=f(60790),Ce=f(39027),G=f(76614),v=f(24572),te=f(28630),oe=f(50959),p=f(11527),ge=function(be){(0,Ce.Z)(R,be);var ye=(0,G.Z)(R);function R(){var V;(0,l.Z)(this,R);for(var m=arguments.length,T=new Array(m),M=0;M<m;M++)T[M]=arguments[M];return V=ye.call.apply(ye,[this].concat(T)),(0,v.Z)((0,ue.Z)(V),"state",{hasError:!1,errorInfo:""}),V}return(0,ae.Z)(R,[{key:"componentDidCatch",value:function(m,T){console.log(m,T)}},{key:"render",value:function(){return this.state.hasError?(0,p.jsx)(te.ZP,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(m){return{hasError:!0,errorInfo:m.message}}}]),R}(oe.Component)},57939:function(_e,$e,f){"use strict";f.d($e,{D:function(){return G}});var l=f(99932),ae=f(78450),ue=f(50959),Ce=f(88938);function G(v,te){var oe=(0,Ce.J)(v),p=(0,ue.useRef)(),ge=(0,ue.useCallback)(function(){p.current&&(clearTimeout(p.current),p.current=null)},[]),be=(0,ue.useCallback)((0,ae.Z)((0,l.Z)().mark(function ye(){var R,V,m,T=arguments;return(0,l.Z)().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:for(R=T.length,V=new Array(R),m=0;m<R;m++)V[m]=T[m];if(!(te===0||te===void 0)){L.next=3;break}return L.abrupt("return",oe.apply(void 0,V));case 3:return ge(),L.abrupt("return",new Promise(function(b){p.current=setTimeout((0,ae.Z)((0,l.Z)().mark(function S(){return(0,l.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.t0=b,g.next=3,oe.apply(void 0,V);case 3:return g.t1=g.sent,(0,g.t0)(g.t1),g.abrupt("return");case 6:case"end":return g.stop()}},S)})),te)}));case 5:case"end":return L.stop()}},ye)})),[oe,ge,te]);return(0,ue.useEffect)(function(){return ge},[ge]),{run:be,cancel:ge}}},88938:function(_e,$e,f){"use strict";f.d($e,{J:function(){return ue}});var l=f(49544),ae=f(50959),ue=function(G){var v=(0,ae.useRef)(null);return v.current=G,(0,ae.useCallback)(function(){for(var te,oe=arguments.length,p=new Array(oe),ge=0;ge<oe;ge++)p[ge]=arguments[ge];return(te=v.current)===null||te===void 0?void 0:te.call.apply(te,[v].concat((0,l.Z)(p)))},[])}},6866:function(_e,$e){var f;function l(m){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},l(m)}f={value:!0},$e.Bo=f=f=f=f=f=f=void 0;function ae(m){for(var T=[],M=0;M<m.length;){var L=m[M];if(L==="*"||L==="+"||L==="?"){T.push({type:"MODIFIER",index:M,value:m[M++]});continue}if(L==="\\"){T.push({type:"ESCAPED_CHAR",index:M++,value:m[M++]});continue}if(L==="{"){T.push({type:"OPEN",index:M,value:m[M++]});continue}if(L==="}"){T.push({type:"CLOSE",index:M,value:m[M++]});continue}if(L===":"){for(var b="",S=M+1;S<m.length;){var y=m.charCodeAt(S);if(y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||y===95){b+=m[S++];continue}break}if(!b)throw new TypeError("Missing parameter name at "+M);T.push({type:"NAME",index:M,value:b}),M=S;continue}if(L==="("){var g=1,P="",S=M+1;if(m[S]==="?")throw new TypeError('Pattern cannot start with "?" at '+S);for(;S<m.length;){if(m[S]==="\\"){P+=m[S++]+m[S++];continue}if(m[S]===")"){if(g--,g===0){S++;break}}else if(m[S]==="("&&(g++,m[S+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+S);P+=m[S++]}if(g)throw new TypeError("Unbalanced pattern at "+M);if(!P)throw new TypeError("Missing pattern at "+M);T.push({type:"PATTERN",index:M,value:P}),M=S;continue}T.push({type:"CHAR",index:M,value:m[M++]})}return T.push({type:"END",index:M,value:""}),T}function ue(m,T){T===void 0&&(T={});for(var M=ae(m),L=T.prefixes,b=L===void 0?"./":L,S="[^"+oe(T.delimiter||"/#?")+"]+?",y=[],g=0,P=0,w="",B=function(nn){if(P<M.length&&M[P].type===nn)return M[P++].value},D=function(nn){var fn=B(nn);if(fn!==void 0)return fn;var Wn=M[P],at=Wn.type,ot=Wn.index;throw new TypeError("Unexpected "+at+" at "+ot+", expected "+nn)},ve=function(){for(var nn="",fn;fn=B("CHAR")||B("ESCAPED_CHAR");)nn+=fn;return nn};P<M.length;){var le=B("CHAR"),de=B("NAME"),fe=B("PATTERN");if(de||fe){var q=le||"";b.indexOf(q)===-1&&(w+=q,q=""),w&&(y.push(w),w=""),y.push({name:de||g++,prefix:q,suffix:"",pattern:fe||S,modifier:B("MODIFIER")||""});continue}var Le=le||B("ESCAPED_CHAR");if(Le){w+=Le;continue}w&&(y.push(w),w="");var ze=B("OPEN");if(ze){var q=ve(),on=B("NAME")||"",Ne=B("PATTERN")||"",ln=ve();D("CLOSE"),y.push({name:on||(Ne?g++:""),pattern:on&&!Ne?S:Ne,prefix:q,suffix:ln,modifier:B("MODIFIER")||""});continue}D("END")}return y}f=ue;function Ce(m,T){return G(ue(m,T),T)}f=Ce;function G(m,T){T===void 0&&(T={});var M=p(T),L=T.encode,b=L===void 0?function(P){return P}:L,S=T.validate,y=S===void 0?!0:S,g=m.map(function(P){if(l(P)==="object")return new RegExp("^(?:"+P.pattern+")$",M)});return function(P){for(var w="",B=0;B<m.length;B++){var D=m[B];if(typeof D=="string"){w+=D;continue}var ve=P?P[D.name]:void 0,le=D.modifier==="?"||D.modifier==="*",de=D.modifier==="*"||D.modifier==="+";if(Array.isArray(ve)){if(!de)throw new TypeError('Expected "'+D.name+'" to not repeat, but got an array');if(ve.length===0){if(le)continue;throw new TypeError('Expected "'+D.name+'" to not be empty')}for(var fe=0;fe<ve.length;fe++){var q=b(ve[fe],D);if(y&&!g[B].test(q))throw new TypeError('Expected all "'+D.name+'" to match "'+D.pattern+'", but got "'+q+'"');w+=D.prefix+q+D.suffix}continue}if(typeof ve=="string"||typeof ve=="number"){var q=b(String(ve),D);if(y&&!g[B].test(q))throw new TypeError('Expected "'+D.name+'" to match "'+D.pattern+'", but got "'+q+'"');w+=D.prefix+q+D.suffix;continue}if(!le){var Le=de?"an array":"a string";throw new TypeError('Expected "'+D.name+'" to be '+Le)}}return w}}f=G;function v(m,T){var M=[],L=V(m,M,T);return te(L,M,T)}f=v;function te(m,T,M){M===void 0&&(M={});var L=M.decode,b=L===void 0?function(S){return S}:L;return function(S){var y=m.exec(S);if(!y)return!1;for(var g=y[0],P=y.index,w=Object.create(null),B=function(le){if(y[le]===void 0)return"continue";var de=T[le-1];de.modifier==="*"||de.modifier==="+"?w[de.name]=y[le].split(de.prefix+de.suffix).map(function(fe){return b(fe,de)}):w[de.name]=b(y[le],de)},D=1;D<y.length;D++)B(D);return{path:g,index:P,params:w}}}f=te;function oe(m){return m.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function p(m){return m&&m.sensitive?"":"i"}function ge(m,T){if(!T)return m;var M=m.source.match(/\((?!\?)/g);if(M)for(var L=0;L<M.length;L++)T.push({name:L,prefix:"",suffix:"",modifier:"",pattern:""});return m}function be(m,T,M){var L=m.map(function(b){return V(b,T,M).source});return new RegExp("(?:"+L.join("|")+")",p(M))}function ye(m,T,M){return R(ue(m,M),T,M)}function R(m,T,M){M===void 0&&(M={});for(var L=M.strict,b=L===void 0?!1:L,S=M.start,y=S===void 0?!0:S,g=M.end,P=g===void 0?!0:g,w=M.encode,B=w===void 0?function(en){return en}:w,D="["+oe(M.endsWith||"")+"]|$",ve="["+oe(M.delimiter||"/#?")+"]",le=y?"^":"",de=0,fe=m;de<fe.length;de++){var q=fe[de];if(typeof q=="string")le+=oe(B(q));else{var Le=oe(B(q.prefix)),ze=oe(B(q.suffix));if(q.pattern)if(T&&T.push(q),Le||ze)if(q.modifier==="+"||q.modifier==="*"){var on=q.modifier==="*"?"?":"";le+="(?:"+Le+"((?:"+q.pattern+")(?:"+ze+Le+"(?:"+q.pattern+"))*)"+ze+")"+on}else le+="(?:"+Le+"("+q.pattern+")"+ze+")"+q.modifier;else le+="("+q.pattern+")"+q.modifier;else le+="(?:"+Le+ze+")"+q.modifier}}if(P)b||(le+=ve+"?"),le+=M.endsWith?"(?="+D+")":"$";else{var Ne=m[m.length-1],ln=typeof Ne=="string"?ve.indexOf(Ne[Ne.length-1])>-1:Ne===void 0;b||(le+="(?:"+ve+"(?="+D+"))?"),ln||(le+="(?="+ve+"|"+D+")")}return new RegExp(le,p(M))}f=R;function V(m,T,M){return m instanceof RegExp?ge(m,T):Array.isArray(m)?be(m,T,M):ye(m,T,M)}$e.Bo=V},58809:function(_e){_e.exports=ye,_e.exports.parse=ae,_e.exports.compile=ue,_e.exports.tokensToFunction=Ce,_e.exports.tokensToRegExp=be;var $e="/",f="./",l=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function ae(R,V){for(var m=[],T=0,M=0,L="",b=V&&V.delimiter||$e,S=V&&V.delimiters||f,y=!1,g;(g=l.exec(R))!==null;){var P=g[0],w=g[1],B=g.index;if(L+=R.slice(M,B),M=B+P.length,w){L+=w[1],y=!0;continue}var D="",ve=R[M],le=g[2],de=g[3],fe=g[4],q=g[5];if(!y&&L.length){var Le=L.length-1;S.indexOf(L[Le])>-1&&(D=L[Le],L=L.slice(0,Le))}L&&(m.push(L),L="",y=!1);var ze=D!==""&&ve!==void 0&&ve!==D,on=q==="+"||q==="*",Ne=q==="?"||q==="*",ln=D||b,en=de||fe;m.push({name:le||T++,prefix:D,delimiter:ln,optional:Ne,repeat:on,partial:ze,pattern:en?v(en):"[^"+G(ln)+"]+?"})}return(L||M<R.length)&&m.push(L+R.substr(M)),m}function ue(R,V){return Ce(ae(R,V))}function Ce(R){for(var V=new Array(R.length),m=0;m<R.length;m++)typeof R[m]=="object"&&(V[m]=new RegExp("^(?:"+R[m].pattern+")$"));return function(T,M){for(var L="",b=M&&M.encode||encodeURIComponent,S=0;S<R.length;S++){var y=R[S];if(typeof y=="string"){L+=y;continue}var g=T?T[y.name]:void 0,P;if(Array.isArray(g)){if(!y.repeat)throw new TypeError('Expected "'+y.name+'" to not repeat, but got array');if(g.length===0){if(y.optional)continue;throw new TypeError('Expected "'+y.name+'" to not be empty')}for(var w=0;w<g.length;w++){if(P=b(g[w],y),!V[S].test(P))throw new TypeError('Expected all "'+y.name+'" to match "'+y.pattern+'"');L+=(w===0?y.prefix:y.delimiter)+P}continue}if(typeof g=="string"||typeof g=="number"||typeof g=="boolean"){if(P=b(String(g),y),!V[S].test(P))throw new TypeError('Expected "'+y.name+'" to match "'+y.pattern+'", but got "'+P+'"');L+=y.prefix+P;continue}if(y.optional){y.partial&&(L+=y.prefix);continue}throw new TypeError('Expected "'+y.name+'" to be '+(y.repeat?"an array":"a string"))}return L}}function G(R){return R.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function v(R){return R.replace(/([=!:$/()])/g,"\\$1")}function te(R){return R&&R.sensitive?"":"i"}function oe(R,V){if(!V)return R;var m=R.source.match(/\((?!\?)/g);if(m)for(var T=0;T<m.length;T++)V.push({name:T,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return R}function p(R,V,m){for(var T=[],M=0;M<R.length;M++)T.push(ye(R[M],V,m).source);return new RegExp("(?:"+T.join("|")+")",te(m))}function ge(R,V,m){return be(ae(R,m),V,m)}function be(R,V,m){m=m||{};for(var T=m.strict,M=m.start!==!1,L=m.end!==!1,b=G(m.delimiter||$e),S=m.delimiters||f,y=[].concat(m.endsWith||[]).map(G).concat("$").join("|"),g=M?"^":"",P=R.length===0,w=0;w<R.length;w++){var B=R[w];if(typeof B=="string")g+=G(B),P=w===R.length-1&&S.indexOf(B[B.length-1])>-1;else{var D=B.repeat?"(?:"+B.pattern+")(?:"+G(B.delimiter)+"(?:"+B.pattern+"))*":B.pattern;V&&V.push(B),B.optional?B.partial?g+=G(B.prefix)+"("+D+")?":g+="(?:"+G(B.prefix)+"("+D+"))?":g+=G(B.prefix)+"("+D+")"}}return L?(T||(g+="(?:"+b+")?"),g+=y==="$"?"$":"(?="+y+")"):(T||(g+="(?:"+b+"(?="+y+"))?"),P||(g+="(?="+b+"|"+y+")")),new RegExp(g,te(m))}function ye(R,V,m){return R instanceof RegExp?oe(R,V):Array.isArray(R)?p(R,V,m):ge(R,V,m)}},76835:function(_e,$e,f){"use strict";f.d($e,{ZP:function(){return L}});var l=f(50959);function ae(b,S){return te(b)||v(b,S)||Ce(b,S)||ue()}function ue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ce(b,S){if(b){if(typeof b=="string")return G(b,S);var y=Object.prototype.toString.call(b).slice(8,-1);if(y==="Object"&&b.constructor&&(y=b.constructor.name),y==="Map"||y==="Set")return Array.from(b);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return G(b,S)}}function G(b,S){(S==null||S>b.length)&&(S=b.length);for(var y=0,g=new Array(S);y<S;y++)g[y]=b[y];return g}function v(b,S){var y=b&&(typeof Symbol!="undefined"&&b[Symbol.iterator]||b["@@iterator"]);if(y!=null){var g=[],P=!0,w=!1,B,D;try{for(y=y.call(b);!(P=(B=y.next()).done)&&(g.push(B.value),!(S&&g.length===S));P=!0);}catch(ve){w=!0,D=ve}finally{try{!P&&y.return!=null&&y.return()}finally{if(w)throw D}}return g}}function te(b){if(Array.isArray(b))return b}function oe(b){var S=typeof window=="undefined",y=(0,l.useState)(function(){return S?!1:window.matchMedia(b).matches}),g=ae(y,2),P=g[0],w=g[1];return(0,l.useLayoutEffect)(function(){if(!S){var B=window.matchMedia(b),D=function(le){return w(le.matches)};return B.addListener(D),function(){return B.removeListener(D)}}},[b]),P}function p(b,S){return V(b)||R(b,S)||be(b,S)||ge()}function ge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function be(b,S){if(b){if(typeof b=="string")return ye(b,S);var y=Object.prototype.toString.call(b).slice(8,-1);if(y==="Object"&&b.constructor&&(y=b.constructor.name),y==="Map"||y==="Set")return Array.from(b);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return ye(b,S)}}function ye(b,S){(S==null||S>b.length)&&(S=b.length);for(var y=0,g=new Array(S);y<S;y++)g[y]=b[y];return g}function R(b,S){var y=b&&(typeof Symbol!="undefined"&&b[Symbol.iterator]||b["@@iterator"]);if(y!=null){var g=[],P=!0,w=!1,B,D;try{for(y=y.call(b);!(P=(B=y.next()).done)&&(g.push(B.value),!(S&&g.length===S));P=!0);}catch(ve){w=!0,D=ve}finally{try{!P&&y.return!=null&&y.return()}finally{if(w)throw D}}return g}}function V(b){if(Array.isArray(b))return b}var m={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},T=function(){var S="md";if(typeof window=="undefined")return S;var y=Object.keys(m).find(function(g){var P=m[g].matchMedia;return!!window.matchMedia(P).matches});return S=y,S},M=function(){var S=oe(m.md.matchMedia),y=oe(m.lg.matchMedia),g=oe(m.xxl.matchMedia),P=oe(m.xl.matchMedia),w=oe(m.sm.matchMedia),B=oe(m.xs.matchMedia),D=(0,l.useState)(T()),ve=p(D,2),le=ve[0],de=ve[1];return(0,l.useEffect)(function(){if(g){de("xxl");return}if(P){de("xl");return}if(y){de("lg");return}if(S){de("md");return}if(w){de("sm");return}if(B){de("xs");return}de("md")},[S,y,g,P,w,B]),le},L=M},54689:function(_e,$e,f){var l=f(41442);function ae(ue,Ce){var G=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!G){if(Array.isArray(ue)||(G=l(ue))||Ce&&ue&&typeof ue.length=="number"){G&&(ue=G);var v=0,te=function(){};return{s:te,n:function(){return v>=ue.length?{done:!0}:{done:!1,value:ue[v++]}},e:function(ye){throw ye},f:te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var oe=!0,p=!1,ge;return{s:function(){G=G.call(ue)},n:function(){var ye=G.next();return oe=ye.done,ye},e:function(ye){p=!0,ge=ye},f:function(){try{!oe&&G.return!=null&&G.return()}finally{if(p)throw ge}}}}_e.exports=ae,_e.exports.__esModule=!0,_e.exports.default=_e.exports}}]);