👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2 lines
94 KiB

(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_ant-design-pro"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_ant-design-pro"]||[]).push([["59cf2cec"],{"59cf2cec":function(e,t,n){n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return nN;}});var o,l,a,r=n("777fffbe"),i=n("852bbaa9"),u=n("dac8af92"),d=n("c7d71c0a"),c=n("609f48be"),s=i._(c),f=n("a854094b"),p=r._(f),m=n("23934e00"),v=r._(m),h=n("9b84be4b"),g=r._(h),y=n("613f75ca"),x=r._(y),b=n("ee64167d"),C=r._(b),j=n("e4870cf0"),k=r._(j),S=n("64681837"),M=n("599977b0"),I=n("e2a12cbd"),R=n("932349b5"),w=n("7fd40603"),B=n("c5499b8c"),T=n("2ef2ced3");function N(e,t){return t>>>e|t<<32-e;}var P=[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];function H(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n;}function A(){var e,t,n,l,r,i,u,d,c,s,f,p,m,v,h,g,y=Array(16);u=o[0],d=o[1],c=o[2],s=o[3],f=o[4],p=o[5],m=o[6],v=o[7];for(var x=0;x<16;x++)y[x]=a[(x<<2)+3]|a[(x<<2)+2]<<8|a[(x<<2)+1]<<16|a[x<<2]<<24;for(var b=0;b<64;b++)h=v+(N(6,e=f)^N(11,e)^N(25,e))+((t=f)&p^~t&m)+P[b],b<16?h+=y[b]:h+=function(e,t){var n,o;return e[15&t]+=(N(17,n=e[t+14&15])^N(19,n)^n>>>10)+e[t+9&15]+(N(7,o=e[t+1&15])^N(18,o)^o>>>3);}(y,b),g=(N(2,n=u)^N(13,n)^N(22,n))+((l=u)&(r=d)^l&(i=c)^r&i),v=m,m=p,p=f,f=H(s,h),s=c,c=d,d=u,u=H(h,g);o[0]+=u,o[1]+=d,o[2]+=c,o[3]+=s,o[4]+=f,o[5]+=p,o[6]+=m,o[7]+=v;}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}var L=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function E(e){var t="function"==typeof Map?new Map:void 0;return(E=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n);}function n(){return z(e,arguments,_(this).constructor);}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),F(n,e);})(e);}function z(e,t,n){return(z=D()?Reflect.construct.bind():function(e,t,n){var o=[null];o.push.apply(o,t);var l=new(Function.bind.apply(e,o));return n&&F(l,n.prototype),l;}).apply(null,arguments);}function D(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0;}catch(e){return!1;}}function F(e,t){return(F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e;})(e,t);}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e);})(e);}function W(e){return function(e){if(Array.isArray(e))return K(e);}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e);}(e)||G(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function G(e,t){if(e){if("string"==typeof e)return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return K(e,t);}}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o;}function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,o);}return n;}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach(function(t){var o;o=n[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o;}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var X="routes";function Z(e){return e.split("?")[0].split("#")[0];}var q=function(e){if(!e.startsWith("http"))return!1;try{return new URL(e),!0;}catch(e){return!1;}},J=function(e){var t,n=e.path;if(!n||"/"===n)try{return"/".concat((t=JSON.stringify(e),o=Array(8),l=[,,],a=Array(64),l[0]=l[1]=0,o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,!function(e,t){var n,o,r=0;o=l[0]>>3&63;var i=63&t;for((l[0]+=t<<3)<t<<3&&l[1]++,l[1]+=t>>29,n=0;n+63<t;n+=64){for(var u=o;u<64;u++)a[u]=e.charCodeAt(r++);A(),o=0;}for(var d=0;d<i;d++)a[d]=e.charCodeAt(r++);}(t,t.length),!function(){var e=l[0]>>3&63;if(a[e++]=128,e<=56)for(var t=e;t<56;t++)a[t]=0;else{for(var n=e;n<64;n++)a[n]=0;A();for(var o=0;o<56;o++)a[o]=0;}a[56]=l[1]>>>24&255,a[57]=l[1]>>>16&255,a[58]=l[1]>>>8&255,a[59]=255&l[1],a[60]=l[0]>>>24&255,a[61]=l[0]>>>16&255,a[62]=l[0]>>>8&255,a[63]=255&l[0],A();}(),function(){for(var e=new String,t=0;t<8;t++)for(var n=28;n>=0;n-=4)e+="0123456789abcdef".charAt(o[t]>>>n&15);return e;}()));}catch(e){}return n?Z(n):n;},Y=function(e,t){var n=e.name,o=e.locale;return(!("locale"in e)||!1!==o)&&!!n&&(e.locale||"".concat(t,".").concat(n));},$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||q(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/");},Q=function(e,t){var n=e.menu,o=void 0===n?{}:n,l=e.indexRoute,a=e.path,r=e.children||[],i=o.name,u=void 0===i?e.name:i,d=o.icon,c=void 0===d?e.icon:d,s=o.hideChildren,f=void 0===s?e.hideChildren:s,p=o.flatMenu,m=void 0===p?e.flatMenu:p,v=l&&"redirect"!==Object.keys(l).join(",")?[V({path:void 0===a?"":a,menu:o},l)].concat(r||[]):r,h=V({},e);if(u&&(h.name=u),c&&(h.icon=c),v&&v.length){if(f)return delete h.children,h;var g=et(V(V({},t),{},{data:v}),e);if(m)return g;delete h[X];}return h;},ee=function(e){return Array.isArray(e)&&e.length>0;};function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:"/"},n=e.data,o=e.formatMessage,l=e.parentName,a=e.locale;return n&&Array.isArray(n)?n.filter(function(e){return!!e&&(!!ee(e.children)||!!e.path||!!e.originPath||!!e.layout||!e.redirect&&(e.unaccessible,!1));}).filter(function(e){var t,n;return null!=e&&null!==(t=e.menu)&&void 0!==t&&!!t.name||null!=e&&!!e.flatMenu||null!=e&&null!==(n=e.menu)&&void 0!==n&&!!n.flatMenu||!1!==e.menu;}).map(function(e){var t=V(V({},e),{},{path:e.path||e.originPath});return!t.children&&t[X]&&(t.children=t[X],delete t[X]),t.unaccessible&&delete t.name,"*"===t.path&&(t.path="."),"/*"===t.path&&(t.path="."),!t.path&&t.originPath&&(t.path=t.originPath),t;}).map(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:"/"},r=n.children||n[X]||[],i=$(n.path,t?t.path:"/"),u=n.name,d=Y(n,l||"menu"),c=!1!==d&&!1!==a&&o&&d?o({id:d,defaultMessage:u}):u,s=t.pro_layout_parentKeys,f=(t.children,t.icon,t.flatMenu,t.indexRoute,t.routes,function(e,t){if(null==e)return{};var n,o,l=function(e,t){if(null==e)return{};var n,o,l={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(l[n]=e[n]);return l;}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n]);}return l;}(t,L)),p=new Set([].concat(W(void 0===s?[]:s),W(n.parentKeys||[])));t.key&&p.add(t.key);var m=V(V(V({},f),{},{menu:void 0},n),{},{path:i,locale:d,key:n.key||J(V(V({},n),{},{path:i})),pro_layout_parentKeys:Array.from(p).filter(function(e){return e&&"/"!==e;})});if(c?m.name=c:delete m.name,void 0===m.menu&&delete m.menu,ee(r)){var v=et(V(V({},e),{},{data:r,parentName:d||""}),m);ee(v)&&(m.children=v);}return Q(m,e);}).flat(1):[];}var en=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(function(e){return e&&(e.name||ee(e.children))&&!e.hideInMenu&&!e.redirect;}).map(function(t){var n=V({},t),o=n.children||t[X]||[];if(delete n[X],ee(o)&&!n.hideChildrenInMenu&&o.some(function(e){return e&&!!e.name;})){var l=e(o);if(l.length)return V(V({},n),{},{children:l});}return V({},t);}).filter(function(e){return e;});},eo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t);}(l,e);var t,n,o=(t=D(),function(){var e,n=_(l);return e=t?Reflect.construct(n,arguments,_(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}(e);}(this,e);});function l(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function");}(this,l),o.apply(this,arguments);}return n=[{key:"get",value:function(e){var t;try{var n,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=G(e))){n&&(e=n);var o=0,l=function(){};return{s:l,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]};},e:function(e){throw e;},f:l};}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a,r=!0,i=!1;return{s:function(){n=n.call(e);},n:function(){var e=n.next();return r=e.done,e;},e:function(e){i=!0,a=e;},f:function(){try{r||null==n.return||n.return();}finally{if(i)throw a;}}};}(this.entries());try{for(o.s();!(n=o.n()).done;){var l,a=(l=n.value,function(e){if(Array.isArray(e))return e;}(l)||function(e,t){var n,o,l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var a=[],r=!0,i=!1;try{for(l=l.call(e);!(r=(n=l.next()).done)&&(a.push(n.value),2!==a.length);r=!0);}catch(e){i=!0,o=e;}finally{try{r||null==l.return||l.return();}finally{if(i)throw o;}}return a;}}(l,2)||G(l,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}()),r=a[0],i=a[1],u=Z(r);if(!q(r)&&(0,T.pathToRegexp)(u,[]).test(e)){t=i;break;}}}catch(e){o.e(e);}finally{o.f();}}catch(e){t=void 0;}return t;}}],function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o);}}(l.prototype,n),Object.defineProperty(l,"prototype",{writable:!1}),l;}(E(Map)),el=function(e){var t=new eo;return!function e(n,o){n.forEach(function(n){var l=n.children||n[X]||[];ee(l)&&e(l,n);var a=$(n.path,o?o.path:"/");t.set(Z(a),n);});}(e),t;},ea=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.map(function(t){var n=t.children||t[X];if(ee(n)&&e(n).length)return V({},t);var o=V({},t);return delete o[X],delete o.children,o;}).filter(function(e){return e;});},er=function(e,t,n,o){var l=et({data:e,formatMessage:n,locale:t}),a=o?ea(l):en(l);return{breadcrumb:el(l),menuData:a};};function ei(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,o);}return n;}function eu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(n),!0).forEach(function(t){var o;o=n[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o;}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ei(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var ed=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n={};return t.forEach(function(t){var o=eu({},t);if(o&&o.key){!o.children&&o[X]&&(o.children=o[X],delete o[X]);var l=o.children||[];n[Z(o.path||o.key||"/")]=eu({},o),n[o.key||o.path||"/"]=eu({},o),l&&(n=eu(eu({},n),e(l)));}}),n;},ec=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.filter(function(e){if("/"===e&&"/"===t)return!0;if("/"!==e&&"/*"!==e&&e&&!q(e)){var o=Z(e);try{if(n&&(0,T.pathToRegexp)("".concat(o)).test(t)||(0,T.pathToRegexp)("".concat(o),[]).test(t)||(0,T.pathToRegexp)("".concat(o,"/(.*)")).test(t))return!0;}catch(e){}}return!1;}).sort(function(e,n){return e===t?10:n===t?-10:e.substr(1).split("/").length-n.substr(1).split("/").length;});},es=function(e,t,n,o){var l=ed(t),a=ec(Object.keys(l),e||"/",o);return!a||a.length<1?[]:(n||(a=[a[a.length-1]]),a.map(function(e){var t=l[e]||{pro_layout_parentKeys:"",key:""},n=new Map,o=(t.pro_layout_parentKeys||[]).map(function(e){return n.has(e)?null:(n.set(e,!0),l[e]);}).filter(function(e){return e;});return t.key&&o.push(t),o;}).flat(1));},ef=n("a5a99096"),ep=r._(ef),em=n("5e27348f"),ev=r._(em),eh=n("064ecd09"),eg=r._(eh),ey=n("ce03fd86"),ex=r._(ey),eb=n("ddaa0afd"),eC=r._(eb),ej=n("a275200c"),ek=r._(ej);n("f1cdeeaa");var eS=n("9d6414cf"),eM=i._(eS),eI=n("4e19c03f"),eR=function(e){var t=(0,s.useContext)(S.ProProvider).hashId,n=e.style,o=e.prefixCls,l=e.children,a=e.hasPageContainer,r=(0,eg.default)("".concat(o,"-content"),t,(0,p.default)((0,p.default)({},"".concat(o,"-has-header"),e.hasHeader),"".concat(o,"-content-has-page-container"),(void 0===a?0:a)>0)),i=e.ErrorBoundary||eI.ErrorBoundary;return!1===e.ErrorBoundary?(0,u.jsx)(ev.default.Content,{className:r,style:n,children:l}):(0,u.jsx)(i,{children:(0,u.jsx)(ev.default.Content,{className:r,style:n,children:l})});},ew=function(){return(0,u.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,u.jsxs)("defs",{children:[(0,u.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,u.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,u.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,u.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,u.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,u.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,u.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,u.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,u.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,u.jsxs)("g",{children:[(0,u.jsxs)("g",{fillRule:"nonzero",children:[(0,u.jsxs)("g",{children:[(0,u.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,u.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,u.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,u.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]});},eB=n("0488000c"),eT=n("d36f00b5"),eN=n("7cfeda15"),eP=r._(eN),eH={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"},eA=n("887aaf6c"),eO=r._(eA),eL=s.forwardRef(function(e,t){return s.createElement(eO.default,(0,eP.default)({},e,{ref:t,icon:eH}));}),eE=n("f583c194"),ez=n("60996a32"),eD=r._(ez),eF=n("04655333"),e_=r._(eF),eW=n("8f0ec5f3"),eG=r._(eW),eK=n("384da8f0"),eU=r._(eK);function eV(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.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 eX=n("a3273044"),eZ=function(e){var t,n,o;return(0,p.default)({},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:null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.colorTextCollapsedButton,backgroundColor:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.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:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.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)"}}});},eq=["isMobile","collapsed"],eJ=function(e){var t,n=e.isMobile,o=e.collapsed,l=(0,x.default)(e,eq),a=(t=e.className,(0,eX.useStyle)("SiderMenuCollapsedIcon",function(e){return[eZ((0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(t)}))];})),r=a.wrapSSR,i=a.hashId;return n&&o?null:r((0,u.jsx)("div",(0,k.default)((0,k.default)({},l),{},{className:(0,eg.default)(e.className,i,(0,p.default)((0,p.default)({},"".concat(e.className,"-collapsed"),o),"".concat(e.className,"-is-mobile"),n)),children:(0,u.jsx)(eV,{})})));},eY=n("f1020fa4"),e$=r._(eY),eQ=n("85158032"),e0=r._(eQ),e1=n("8bbe4f57"),e2=r._(e1),e4=n("002639b3"),e5=n("c8379d8f"),e8=r._(e5),e6=n("d540b9b1"),e3=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],e9=s.forwardRef(function(e,t){var n=e.className,o=e.component,l=e.viewBox,a=e.spin,r=e.rotate,i=e.tabIndex,u=e.onClick,d=e.children,c=(0,x.default)(e,e3),f=s.useRef(),m=(0,e4.useComposeRef)(f,t);(0,e6.warning)(!!(o||d),"Should have `component` prop or `children`."),(0,e6.useInsertStyles)(f);var v=s.useContext(e8.default),h=v.prefixCls,g=void 0===h?"anticon":h,y=v.rootClassName,b=(0,eg.default)(y,g,(0,p.default)({},"".concat(g,"-spin"),!!a&&!!o),n),C=(0,eg.default)((0,p.default)({},"".concat(g,"-spin"),!!a)),j=(0,k.default)((0,k.default)({},e6.svgBaseProps),{},{className:C,style:r?{msTransform:"rotate(".concat(r,"deg)"),transform:"rotate(".concat(r,"deg)")}:void 0,viewBox:l});l||delete j.viewBox;var S=i;return void 0===S&&u&&(S=-1),s.createElement("span",(0,eP.default)({role:"img"},c,{ref:m,tabIndex:S,onClick:u,className:b}),o?s.createElement(o,j,d):d?((0,e6.warning)(!!l||1===s.Children.count(d)&&s.isValidElement(d)&&"use"===s.Children.only(d).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),s.createElement("svg",(0,eP.default)({},j,{viewBox:l}),d)):null);});e9.displayName="AntdIcon";var e7=["type","children"],te=new Set;function tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t];if("string"==typeof n&&n.length&&!te.has(n)){var o=document.createElement("script");o.setAttribute("src",n),o.setAttribute("data-namespace",n),e.length>t+1&&(o.onload=function(){tt(e,t+1);},o.onerror=function(){tt(e,t+1);}),te.add(n),document.body.appendChild(o);}}function tn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,o=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?tt(t.reverse()):tt([t]));var l=s.forwardRef(function(e,t){var n=e.type,l=e.children,a=(0,x.default)(e,e7),r=null;return e.type&&(r=s.createElement("use",{xlinkHref:"#".concat(n)})),l&&(r=l),s.createElement(e9,(0,eP.default)({},o,a,{ref:t}),r);});return l.displayName="Iconfont",l;}var to=n("964c531e"),tl=n("9c4b579b"),ta=n("7971c6b6"),tr=r._(ta),ti=n("7376d2b3"),tu=r._(ti),td=n("855108b3"),tc=function(e,t){var n,o,l=t.includes("horizontal")?null===(n=e.layout)||void 0===n?void 0:n.header:null===(o=e.layout)||void 0===o?void 0:o.sider;return(0,k.default)((0,k.default)((0,p.default)({},"".concat(e.componentCls),(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({background:"transparent",color:null==l?void 0:l.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),(0,p.default)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),"&&-collapsed",(0,p.default)((0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item, \n ").concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-item, \n ").concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title, \n ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".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, \n ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:null==l?void 0:l.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,p.default)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",(0,p.default)((0,p.default)({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,p.default)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,p.default)((0,p.default)({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".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})))),"&-group",(0,p.default)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),t.includes("horizontal")?{}:(0,p.default)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,p.default)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,p.default)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}));},ts=function(e){var t=(0,s.useState)(e.collapsed),n=(0,C.default)(t,2),o=n[0],l=n[1],a=(0,s.useState)(!1),r=(0,C.default)(a,2),i=r[0],d=r[1];return((0,s.useEffect)(function(){d(!1),setTimeout(function(){l(e.collapsed);},400);},[e.collapsed]),e.disable)?e.children:(0,u.jsx)(tu.default,{title:e.title,open:!!o&&!!e.collapsed&&i,placement:"right",onOpenChange:d,children:e.children});},tf=tn({scriptUrl:td.defaultSettings.iconfontUrl}),tp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"icon-",n=arguments.length>2?arguments[2]:void 0;if("string"==typeof e&&""!==e){if((0,tl.isUrl)(e)||(0,to.isImg)(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,u.jsx)(tf,{type:e});}return e;},tm=function(e){return e&&"string"==typeof e?e.substring(0,1).toUpperCase():null;},tv=(0,e0.default)(function e(t){var n=this;(0,e2.default)(this,e),(0,p.default)(this,"props",void 0),(0,p.default)(this,"getNavMenuItems",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return e.map(function(e){return n.getSubMenuOrItem(e,t,o);}).filter(function(e){return e;}).flat(1);}),(0,p.default)(this,"getSubMenuOrItem",function(e,t,o){var l=n.props,a=l.subMenuItemRender,r=l.baseClassName,i=l.prefixCls,d=l.collapsed,c=l.menu,s=l.iconPrefixes,f=l.layout,m=(null==c?void 0:c.type)==="group"&&"top"!==f,v=n.props.token,h=n.getIntlName(e),g=(null==e?void 0:e.children)||(null==e?void 0:e.routes),y=m&&0===t?"group":void 0;if(Array.isArray(g)&&g.length>0){var x,b,C,j,S,M=0===t||m&&1===t,I=tp(e.icon,s,"".concat(r,"-icon ").concat(null===(x=n.props)||void 0===x?void 0:x.hashId)),R=d&&M?tm(h):null,w=(0,u.jsxs)("div",{className:(0,eg.default)("".concat(r,"-item-title"),null===(b=n.props)||void 0===b?void 0:b.hashId,(0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(r,"-item-title-collapsed"),d),"".concat(r,"-item-title-collapsed-level-").concat(o),d),"".concat(r,"-group-item-title"),"group"===y),"".concat(r,"-item-collapsed-show-title"),(null==c?void 0:c.collapsedShowTitle)&&d)),children:["group"===y&&d?null:M&&I?(0,u.jsx)("span",{className:"".concat(r,"-item-icon ").concat(null===(C=n.props)||void 0===C?void 0:C.hashId).trim(),children:I}):R,(0,u.jsx)("span",{className:(0,eg.default)("".concat(r,"-item-text"),null===(j=n.props)||void 0===j?void 0:j.hashId,(0,p.default)({},"".concat(r,"-item-text-has-icon"),"group"!==y&&M&&(I||R))),children:h})]}),B=a?a((0,k.default)((0,k.default)({},e),{},{isUrl:!1}),w,n.props):w;if(m&&0===t&&n.props.collapsed&&!c.collapsedShowGroupTitle)return n.getNavMenuItems(g,t+1,t);var T=n.getNavMenuItems(g,t+1,m&&0===t&&n.props.collapsed?t:t+1);return[{type:y,key:e.key||e.path,label:B,onClick:m?void 0:e.onTitleClick,children:T,className:(0,eg.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(r,"-group"),"group"===y),"".concat(r,"-submenu"),"group"!==y),"".concat(r,"-submenu-has-icon"),"group"!==y&&M&&I))},m&&0===t?{type:"divider",prefixCls:i,className:"".concat(r,"-divider"),key:(e.key||e.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:null==v||null===(S=v.layout)||void 0===S||null===(S=S.sider)||void 0===S?void 0:S.colorMenuItemDivider}}:void 0].filter(Boolean);}return{className:"".concat(r,"-menu-item"),disabled:e.disabled,key:e.key||e.path,onClick:e.onTitleClick,label:n.getMenuItemPath(e,t,o)};}),(0,p.default)(this,"getIntlName",function(e){var t=e.name,o=e.locale,l=n.props,a=l.menu,r=l.formatMessage,i=t;return(o&&(null==a?void 0:a.locale)!==!1&&(i=null==r?void 0:r({id:o,defaultMessage:t})),n.props.menuTextRender)?n.props.menuTextRender(e,i,n.props):i;}),(0,p.default)(this,"getMenuItemPath",function(e,t,o){var l,a,r,i,d,c,s,f=n.conversionPath(e.path||"/"),m=n.props,v=m.location,h=m.isMobile,g=m.onCollapse,y=m.menuItemRender,x=m.iconPrefixes,b=n.getIntlName(e),C=n.props,j=C.baseClassName,S=C.menu,M=C.collapsed,I=(null==S?void 0:S.type)==="group",R=0===t||I&&1===t,w=R?tp(e.icon,x,"".concat(j,"-icon ").concat(null===(l=n.props)||void 0===l?void 0:l.hashId)):null,B=M&&R?tm(b):null,T=(0,u.jsxs)("div",{className:(0,eg.default)("".concat(j,"-item-title"),null===(a=n.props)||void 0===a?void 0:a.hashId,(0,p.default)((0,p.default)((0,p.default)({},"".concat(j,"-item-title-collapsed"),M),"".concat(j,"-item-title-collapsed-level-").concat(o),M),"".concat(j,"-item-collapsed-show-title"),(null==S?void 0:S.collapsedShowTitle)&&M)),children:[(0,u.jsx)("span",{className:"".concat(j,"-item-icon ").concat(null===(r=n.props)||void 0===r?void 0:r.hashId).trim(),style:{display:null!==B||w?"":"none"},children:w||(0,u.jsx)("span",{className:"anticon",children:B})}),(0,u.jsx)("span",{className:(0,eg.default)("".concat(j,"-item-text"),null===(i=n.props)||void 0===i?void 0:i.hashId,(0,p.default)({},"".concat(j,"-item-text-has-icon"),R&&(w||B))),children:b})]},f),N=(0,tl.isUrl)(f);if(N&&(T=(0,u.jsxs)("span",{onClick:function(){var e,t;null===(e=window)||void 0===e||null===(t=e.open)||void 0===t||t.call(e,f,"_blank");},className:(0,eg.default)("".concat(j,"-item-title"),null===(d=n.props)||void 0===d?void 0:d.hashId,(0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(j,"-item-title-collapsed"),M),"".concat(j,"-item-title-collapsed-level-").concat(o),M),"".concat(j,"-item-link"),!0),"".concat(j,"-item-collapsed-show-title"),(null==S?void 0:S.collapsedShowTitle)&&M)),children:[(0,u.jsx)("span",{className:"".concat(j,"-item-icon ").concat(null===(c=n.props)||void 0===c?void 0:c.hashId).trim(),style:{display:null!==B||w?"":"none"},children:w||(0,u.jsx)("span",{className:"anticon",children:B})}),(0,u.jsx)("span",{className:(0,eg.default)("".concat(j,"-item-text"),null===(s=n.props)||void 0===s?void 0:s.hashId,(0,p.default)({},"".concat(j,"-item-text-has-icon"),R&&(w||B))),children:b})]},f)),y){var P=(0,k.default)((0,k.default)({},e),{},{isUrl:N,itemPath:f,isMobile:h,replace:f===(void 0===v?{pathname:"/"}:v).pathname,onClick:function(){return g&&g(!0);},children:void 0});return 0===t?(0,u.jsx)(ts,{collapsed:M,title:b,disable:e.disabledTooltip,children:y(P,T,n.props)}):y(P,T,n.props);}return 0===t?(0,u.jsx)(ts,{collapsed:M,title:b,disable:e.disabledTooltip,children:T}):T;}),(0,p.default)(this,"conversionPath",function(e){return e&&0===e.indexOf("http")?e:"/".concat(e||"").replace(/\/+/g,"/");}),this.props=t;}),th=function(e,t){var n=t.layout,o=t.collapsed,l={};return e&&!o&&["side","mix"].includes(n||"mix")&&(l={openKeys:e}),l;},tg=function(e){var t=e.mode,n=e.className,o=e.handleOpenChange,l=e.style,a=e.menuData,r=e.prefixCls,i=e.menu,d=e.matchMenuKeys,c=e.iconfontUrl,f=e.selectedKeys,m=e.onSelect,v=e.menuRenderType,h=e.openKeys,g=(0,s.useContext)(S.ProProvider),y=g.dark,x=g.token,b="".concat(r,"-base-menu-").concat(t),j=(0,s.useRef)([]),M=(0,B.useMountMergeState)(null==i?void 0:i.defaultOpenAll),I=(0,C.default)(M,2),R=I[0],w=I[1],T=(0,B.useMountMergeState)(function(){return null!=i&&i.defaultOpenAll?(0,eT.getOpenKeysFromMenuData)(a)||[]:!1!==h&&[];},{value:!1===h?void 0:h,onChange:o}),N=(0,C.default)(T,2),P=N[0],H=N[1],A=(0,B.useMountMergeState)([],{value:f,onChange:m?function(e){m&&e&&m(e);}:void 0}),O=(0,C.default)(A,2),L=O[0],E=O[1];(0,s.useEffect)(function(){(null==i||!i.defaultOpenAll)&&!1!==h&&d&&(H(d),E(d));},[d.join("-")]),(0,s.useEffect)(function(){c&&(tf=tn({scriptUrl:c}));},[c]),(0,s.useEffect)(function(){if(d.join("-")!==(L||[]).join("-")&&E(d),R||!1===h||d.join("-")===(P||[]).join("-"))null!=i&&i.ignoreFlatMenu&&R?H((0,eT.getOpenKeysFromMenuData)(a)):w(!1);else{var e=d;(null==i?void 0:i.autoClose)===!1&&(e=Array.from(new Set([].concat((0,e$.default)(d),(0,e$.default)(P||[]))))),H(e);}},[d.join("-")]);var z=(0,s.useMemo)(function(){return th(P,e);},[P&&P.join(","),e.layout,e.collapsed]),D=(0,eX.useStyle)("ProLayoutBaseMenu"+t,function(e){return[tc((0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(b)}),t||"inline")];}),F=D.wrapSSR,_=D.hashId,W=(0,s.useMemo)(function(){return new tv((0,k.default)((0,k.default)({},e),{},{token:x,menuRenderType:v,baseClassName:b,hashId:_}));},[e,x,v,b,_]);if(null!=i&&i.loading)return(0,u.jsx)("div",{style:null!=t&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(tr.default,{active:!0,title:!1,paragraph:{rows:null!=t&&t.includes("inline")?6:1}})});!1!==e.openKeys||e.handleOpenChange||(j.current=d);var G=e.postMenuData?e.postMenuData(a):a;return G&&(null==G?void 0:G.length)<1?null:F((0,s.createElement)(e_.default,(0,k.default)((0,k.default)({},z),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:j.current,theme:y?"dark":"light",selectedKeys:L,style:(0,k.default)({backgroundColor:"transparent",border:"none"},l),className:(0,eg.default)(n,_,b,(0,p.default)((0,p.default)({},"".concat(b,"-horizontal"),"horizontal"===t),"".concat(b,"-collapsed"),e.collapsed)),items:W.getNavMenuItems(G,0,0),onOpenChange:function(t){e.collapsed||H(t);}},e.menuProps)));},ty=["title","render"],tx=s.default.memo(function(e){return(0,u.jsx)(u.Fragment,{children:e.children});}),tb=ev.default.Sider,tC=ev.default._InternalSiderContext,tj=void 0===tC?{Provider:tx}:tC,tk=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"menuHeaderRender",n=e.logo,o=e.title,l=e.layout,a=e[t];if(!1===a)return null;var r=(0,eE.defaultRenderLogo)(n),i=(0,u.jsx)("h1",{children:null!=o?o:"Ant Design Pro"});return a?a(r,e.collapsed?null:i,e):e.isMobile?null:("mix"!==l||"menuHeaderRender"!==t)&&(e.collapsed?(0,u.jsx)("a",{children:r},"title"):(0,u.jsxs)("a",{children:[r,i]},"title"));},tS=function(e){var t,n,o,l,a,r=e.collapsed,i=e.originCollapsed,d=e.fixSiderbar,c=e.menuFooterRender,f=e.onCollapse,m=e.theme,v=e.siderWidth,h=e.isMobile,g=e.onMenuHeaderClick,y=e.breakpoint,b=void 0===y?"lg":y,C=e.style,j=e.layout,M=e.menuExtraRender,I=void 0!==M&&M,R=e.links,w=e.menuContentRender,B=e.collapsedButtonRender,T=e.prefixCls,N=e.avatarProps,P=e.rightContentRender,H=e.actionsRender,A=e.onOpenChange,O=e.stylish,L=e.logoStyle,E=(0,s.useContext)(S.ProProvider).hashId,z=(0,s.useMemo)(function(){return!h&&"mix"!==j;},[h,j]),D="".concat(T,"-sider"),F=(t="".concat(D,".").concat(D,"-stylish"),o=(n={stylish:O,proLayoutCollapsedWidth:64}).stylish,l=n.proLayoutCollapsedWidth,(0,eX.useStyle)("ProLayoutSiderMenuStylish",function(e){var n=(0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:l});return o?[(0,p.default)({},"div".concat(e.proComponentsCls,"-layout"),(0,p.default)({},"".concat(n.componentCls),null==o?void 0:o(n)))]:[];})),_=(0,eg.default)("".concat(D),E,(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(D,"-fixed"),d),"".concat(D,"-fixed-mix"),"mix"===j&&!h&&d),"".concat(D,"-collapsed"),e.collapsed),"".concat(D,"-layout-").concat(j),j&&!h),"".concat(D,"-light"),"dark"!==m),"".concat(D,"-mix"),"mix"===j&&!h),"".concat(D,"-stylish"),!!O)),W=tk(e),G=I&&I(e),K=(0,s.useMemo)(function(){return!1!==w&&(0,s.createElement)(tg,(0,k.default)((0,k.default)({},e),{},{key:"base-menu",mode:r&&!h?"vertical":"inline",handleOpenChange:A,style:{width:"100%"},className:"".concat(D,"-menu ").concat(E).trim()}));},[D,E,w,A,e]),U=(R||[]).map(function(e,t){return{className:"".concat(D,"-link"),label:e,key:t};}),V=(0,s.useMemo)(function(){return w?w(e,K):K;},[w,K,e]),X=(0,s.useMemo)(function(){if(!N)return null;var t=N.title,n=N.render,o=(0,x.default)(N,ty),l=(0,u.jsxs)("div",{className:"".concat(D,"-actions-avatar"),children:[null!=o&&o.src||null!=o&&o.srcSet||o.icon||o.children?(0,u.jsx)(eD.default,(0,k.default)({size:28},o)):null,N.title&&!r&&(0,u.jsx)("span",{children:t})]});return n?n(N,l,e):l;},[N,D,r]),Z=(0,s.useMemo)(function(){return H?(0,u.jsx)(eG.default,{align:"center",size:4,direction:r?"vertical":"horizontal",className:(0,eg.default)(["".concat(D,"-actions-list"),r&&"".concat(D,"-actions-list-collapsed"),E]),children:[null==H?void 0:H(e)].flat(1).map(function(e,t){return(0,u.jsx)("div",{className:"".concat(D,"-actions-list-item ").concat(E).trim(),children:e},t);})}):null;},[H,D,r]),q=(0,s.useMemo)(function(){return(0,u.jsx)(eE.AppsLogoComponents,{onItemClick:e.itemClick,appListRender:e.appListRender,appList:e.appList,prefixCls:e.prefixCls});},[e.appList,e.appListRender,e.prefixCls]),J=(0,s.useMemo)(function(){if(!1===B)return null;var e=(0,u.jsx)(eJ,{isMobile:h,collapsed:i,className:"".concat(D,"-collapsed-button"),onClick:function(){null==f||f(!i);}});return B?B(r,e):e;},[B,h,i,D,r,f]),Y=(0,s.useMemo)(function(){return X||Z?(0,u.jsxs)("div",{className:(0,eg.default)("".concat(D,"-actions"),E,r&&"".concat(D,"-actions-collapsed")),children:[X,Z]}):null;},[Z,X,D,r,E]),$=(0,s.useMemo)(function(){var t;return null!=e&&null!==(t=e.menu)&&void 0!==t&&t.hideMenuWhenCollapsed&&r?"".concat(D,"-hide-menu-collapsed"):null;},[D,r,null==e||null===(a=e.menu)||void 0===a?void 0:a.hideMenuWhenCollapsed]),Q=c&&(null==c?void 0:c(e)),ee=(0,u.jsxs)(u.Fragment,{children:[W&&(0,u.jsxs)("div",{className:(0,eg.default)([(0,eg.default)("".concat(D,"-logo"),E,(0,p.default)({},"".concat(D,"-logo-collapsed"),r))]),onClick:z?g:void 0,id:"logo",style:L,children:[W,q]}),G&&(0,u.jsx)("div",{className:(0,eg.default)(["".concat(D,"-extra"),!W&&"".concat(D,"-extra-no-logo"),E]),children:G}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:V}),(0,u.jsxs)(tj.Provider,{value:{},children:[R?(0,u.jsx)("div",{className:"".concat(D,"-links ").concat(E).trim(),children:(0,u.jsx)(e_.default,{inlineIndent:16,className:"".concat(D,"-link-menu ").concat(E).trim(),selectedKeys:[],openKeys:[],theme:m,mode:"inline",items:U})}):null,z&&(0,u.jsxs)(u.Fragment,{children:[Y,!Z&&P?(0,u.jsx)("div",{className:(0,eg.default)("".concat(D,"-actions"),E,(0,p.default)({},"".concat(D,"-actions-collapsed"),r)),children:null==P?void 0:P(e)}):null]}),Q&&(0,u.jsx)("div",{className:(0,eg.default)(["".concat(D,"-footer"),E,(0,p.default)({},"".concat(D,"-footer-collapsed"),r)]),children:Q})]})]});return F.wrapSSR((0,u.jsxs)(u.Fragment,{children:[d&&!h&&!$&&(0,u.jsx)("div",{style:(0,k.default)({width:r?64:v,overflow:"hidden",flex:"0 0 ".concat(r?64:v,"px"),maxWidth:r?64:v,minWidth:r?64:v,transition:"all 0.2s ease 0s"},C)}),(0,u.jsxs)(tb,{collapsible:!0,trigger:null,collapsed:r,breakpoint:!1===b?void 0:b,onCollapse:function(e){h||null==f||f(e);},collapsedWidth:64,style:C,theme:m,width:v,className:(0,eg.default)(_,E,$),children:[$?(0,u.jsx)("div",{className:"".concat(D,"-hide-when-collapsed ").concat(E).trim(),style:{height:"100%",width:"100%",opacity:$?0:1},children:ee}):ee,J]})]}));},tM=n("1e3f45fa"),tI=n("ec71d407"),tR=r._(tI),tw=function(e){var t,n,o,l,a;return(0,p.default)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorTextRightActionsItem,"> div":{height:"44px",color:null===(l=e.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:null===(a=e.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorBgRightActionsItemHover}}}}});},tB=["rightContentRender","avatarProps","actionsRender","headerContentRender"],tT=["title","render"],tN=function(e){var t,n=e.rightContentRender,o=e.avatarProps,l=e.actionsRender,a=(e.headerContentRender,(0,x.default)(e,tB)),r=(0,s.useContext)(ep.default.ConfigContext).getPrefixCls,i="".concat(r(),"-pro-global-header"),d=(0,eX.useStyle)("ProLayoutRightContent",function(e){return[tw((0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(i)}))];}),c=d.wrapSSR,f=d.hashId,m=(0,s.useState)("auto"),h=(0,C.default)(m,2),y=h[0],b=h[1],j=(0,s.useMemo)(function(){if(!o)return null;var e=o.title,t=o.render,n=(0,x.default)(o,tT),l=[null!=n&&n.src||null!=n&&n.srcSet||n.icon||n.children?(0,s.createElement)(eD.default,(0,k.default)((0,k.default)({},n),{},{size:28,key:"avatar"})):null,e?(0,u.jsx)("span",{style:{marginInlineStart:8},children:e},"name"):void 0];return t?t(o,(0,u.jsx)("div",{children:l}),a):(0,u.jsx)("div",{children:l});},[o]),S=l||j?function(e){var t=l&&(null==l?void 0:l(e));return t||j?Array.isArray(t)?c((0,u.jsxs)("div",{className:"".concat(i,"-header-actions ").concat(f).trim(),children:[t.filter(Boolean).map(function(e,t){var n,o=!1;return s.default.isValidElement(e)&&(o=!!(null!=e&&null!==(n=e.props)&&void 0!==n&&n["aria-hidden"])),(0,u.jsx)("div",{className:(0,eg.default)("".concat(i,"-header-actions-item ").concat(f),(0,p.default)({},"".concat(i,"-header-actions-hover"),!o)),children:e},t);}),j&&(0,u.jsx)("span",{className:"".concat(i,"-header-actions-avatar ").concat(f).trim(),children:j})]})):c((0,u.jsxs)("div",{className:"".concat(i,"-header-actions ").concat(f).trim(),children:[t,j&&(0,u.jsx)("span",{className:"".concat(i,"-header-actions-avatar ").concat(f).trim(),children:j})]})):null;}:void 0,M=(0,tM.useDebounceFn)((t=(0,g.default)((0,v.default)().mark(function e(t){return(0,v.default)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:b(t);case 1:case"end":return e.stop();}},e);})),function(e){return t.apply(this,arguments);}),160),I=S||n;return(0,u.jsx)("div",{className:"".concat(i,"-right-content ").concat(f).trim(),style:{minWidth:y,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(tR.default,{onResize:function(e){var t=e.width;M.run(t);},children:I?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:I((0,k.default)((0,k.default)({},a),{},{rightContentSize:y}))}):null})})});},tP=function(e){var t,n;return(0,p.default)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,p.default)({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:null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max(((null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader)||56)-12,40),"px")}});},tH=function(e){var t,n,o,l,a,r,i,d=(0,s.useRef)(null),c=e.onMenuHeaderClick,f=e.contentWidth,m=e.rightContentRender,v=e.className,h=e.style,g=e.headerContentRender,y=e.layout,x=e.actionsRender,b=(0,s.useContext)(ep.default.ConfigContext).getPrefixCls,C=(0,s.useContext)(S.ProProvider).dark,j="".concat(e.prefixCls||b("pro"),"-top-nav-header"),I=(0,eX.useStyle)("ProLayoutTopNavHeader",function(e){return[tP((0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(j)}))];}),R=I.wrapSSR,w=I.hashId,B=void 0;void 0!==e.menuHeaderRender?B="menuHeaderRender":("mix"===y||"top"===y)&&(B="headerTitleRender");var T=tk((0,k.default)((0,k.default)({},e),{},{collapsed:!1}),B),N=(0,s.useContext)(S.ProProvider).token,P=(0,s.useMemo)(function(){var t,n,o,l,a,r,i,d,c,s,f,p,m,v=(0,u.jsx)(ep.default,{theme:{hashed:(0,S.isNeedOpenHash)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,k.default)({},(0,M.coverToNewToken)({colorItemBg:(null===(t=N.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorBgHeader)||"transparent",colorSubItemBg:(null===(n=N.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgHeader)||"transparent",radiusItem:N.borderRadius,colorItemBgSelected:(null===(o=N.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorBgMenuItemSelected)||(null==N?void 0:N.colorBgTextHover),itemHoverBg:(null===(l=N.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorBgMenuItemHover)||(null==N?void 0:N.colorBgTextHover),colorItemBgSelectedHorizontal:(null===(a=N.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorBgMenuItemSelected)||(null==N?void 0:N.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(null===(r=N.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorTextMenu)||(null==N?void 0:N.colorTextSecondary),colorItemTextHoverHorizontal:(null===(i=N.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorTextMenuActive)||(null==N?void 0:N.colorText),colorItemTextSelectedHorizontal:(null===(d=N.layout)||void 0===d||null===(d=d.header)||void 0===d?void 0:d.colorTextMenuSelected)||(null==N?void 0:N.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:(null===(c=N.layout)||void 0===c||null===(c=c.header)||void 0===c?void 0:c.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:(null===(s=N.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:(null===(f=N.layout)||void 0===f||null===(f=f.header)||void 0===f?void 0:f.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:null==N?void 0:N.colorBgElevated,subMenuItemBg:null==N?void 0:N.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:null==N?void 0:N.colorBgElevated}))},token:{colorBgElevated:(null===(p=N.layout)||void 0===p||null===(p=p.header)||void 0===p?void 0:p.colorBgHeader)||"transparent"}},children:(0,u.jsx)(tg,(0,k.default)((0,k.default)((0,k.default)({theme:C?"dark":"light"},e),{},{className:"".concat(j,"-base-menu ").concat(w).trim()},e.menuProps),{},{style:(0,k.default)({width:"100%"},null===(m=e.menuProps)||void 0===m?void 0:m.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return g?g(e,v):v;},[null===(t=N.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorBgHeader,null===(n=N.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgMenuItemSelected,null===(o=N.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorBgMenuItemHover,null===(l=N.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorTextMenu,null===(a=N.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorTextMenuActive,null===(r=N.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorTextMenuSelected,null===(i=N.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorBgMenuElevated,N.borderRadius,null==N?void 0:N.colorBgTextHover,null==N?void 0:N.colorTextSecondary,null==N?void 0:N.colorText,null==N?void 0:N.colorTextBase,N.colorBgElevated,C,e,j,w,g]);return R((0,u.jsx)("div",{className:(0,eg.default)(j,w,v,(0,p.default)({},"".concat(j,"-light"),!0)),style:h,children:(0,u.jsxs)("div",{ref:d,className:(0,eg.default)("".concat(j,"-main"),w,(0,p.default)({},"".concat(j,"-wide"),"Fixed"===f&&"top"===y)),children:[T&&(0,u.jsxs)("div",{className:(0,eg.default)("".concat(j,"-main-left ").concat(w)),onClick:c,children:[(0,u.jsx)(eE.AppsLogoComponents,(0,k.default)({},e)),(0,u.jsx)("div",{className:"".concat(j,"-logo ").concat(w).trim(),id:"logo",children:T},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(j,"-menu ").concat(w).trim(),children:P}),(m||x||e.avatarProps)&&(0,u.jsx)(tN,(0,k.default)((0,k.default)({rightContentRender:m},e),{},{prefixCls:j}))]})}));},tA=function(e){var t,n,o;return(0,p.default)({},e.componentCls,(0,p.default)((0,p.default)((0,p.default)((0,p.default)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:(null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),"&-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:(null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}));},tO=function(e){var t=e.isMobile,n=e.logo,o=e.collapsed,l=e.onCollapse,a=e.rightContentRender,r=e.menuHeaderRender,i=e.onMenuHeaderClick,d=e.className,c=e.style,f=e.layout,m=e.children,v=e.splitMenus,h=e.menuData,g=e.prefixCls,y=(0,s.useContext)(ep.default.ConfigContext),x=y.getPrefixCls,b=y.direction,C="".concat(g||x("pro"),"-global-header"),j=(0,eX.useStyle)("ProLayoutGlobalHeader",function(e){return[tA((0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(C)}))];}),S=j.wrapSSR,M=j.hashId,I=(0,eg.default)(d,C,M);if("mix"===f&&!t&&v){var R=(h||[]).map(function(e){return(0,k.default)((0,k.default)({},e),{},{children:void 0,routes:void 0});}),w=(0,eT.clearMenuItem)(R);return(0,u.jsx)(tH,(0,k.default)((0,k.default)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:w}));}var B=(0,eg.default)("".concat(C,"-logo"),M,(0,p.default)((0,p.default)((0,p.default)({},"".concat(C,"-logo-rtl"),"rtl"===b),"".concat(C,"-logo-mix"),"mix"===f),"".concat(C,"-logo-mobile"),t)),T=(0,u.jsx)("span",{className:B,children:(0,u.jsx)("a",{children:(0,eE.defaultRenderLogo)(n)})},"logo");return S((0,u.jsxs)("div",{className:I,style:(0,k.default)({},c),children:[t&&(0,u.jsx)("span",{className:"".concat(C,"-collapsed-button ").concat(M).trim(),onClick:function(){null==l||l(!o);},children:(0,u.jsx)(eL,{})}),t&&(!1===r?null:r?r(T,null):T),"mix"===f&&!t&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(eE.AppsLogoComponents,(0,k.default)({},e)),(0,u.jsx)("div",{className:B,onClick:i,children:tk((0,k.default)((0,k.default)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:m}),(a||e.actionsRender||e.avatarProps)&&(0,u.jsx)(tN,(0,k.default)({rightContentRender:a},e))]}));},tL=function(e){var t,n,o,l;return(0,p.default)({},"".concat(e.proComponentsCls,"-layout"),(0,p.default)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:(null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat((null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:(null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.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:(null===(l=e.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.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)"}}));},tE=ev.default.Header,tz=function(e){var t,n,o,l,a,r,i,d=e.isMobile,c=e.fixedHeader,f=e.className,m=e.style,v=e.collapsed,h=e.prefixCls,g=e.onCollapse,y=e.layout,x=e.headerRender,b=e.headerContentRender,j=(0,s.useContext)(S.ProProvider).token,M=(0,s.useContext)(ep.default.ConfigContext),I=(0,s.useState)(!1),R=(0,C.default)(I,2),w=R[0],B=R[1],T=c||"mix"===y,N=(0,s.useCallback)(function(){var t="top"===y,n=(0,eT.clearMenuItem)(e.menuData||[]),o=(0,u.jsx)(tO,(0,k.default)((0,k.default)({onCollapse:g},e),{},{menuData:n,children:b&&b(e,null)}));return(t&&!d&&(o=(0,u.jsx)(tH,(0,k.default)((0,k.default)({mode:"horizontal",onCollapse:g},e),{},{menuData:n}))),x&&"function"==typeof x)?x(e,o):o;},[b,x,d,y,g,e]);(0,s.useEffect)(function(){var e,t=(null==M||null===(e=M.getTargetContainer)||void 0===e?void 0:e.call(M))||document.body,n=function(){var e;return t.scrollTop>((null===(e=j.layout)||void 0===e||null===(e=e.header)||void 0===e?void 0:e.heightLayoutHeader)||56)&&!w?(B(!0),!0):(w&&B(!1),!1);};if(T&&"undefined"!=typeof window)return t.addEventListener("scroll",n,{passive:!0}),function(){t.removeEventListener("scroll",n);};},[null===(a=j.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.heightLayoutHeader,T,w]);var P="".concat(h,"-layout-header"),H=(0,eX.useStyle)("ProLayoutHeader",function(e){return[tL((0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(P)}))];}),A=H.wrapSSR,O=H.hashId,L=(t="".concat(P,".").concat(P,"-stylish"),o=(n={proLayoutCollapsedWidth:64,stylish:e.stylish}).stylish,l=n.proLayoutCollapsedWidth,(0,eX.useStyle)("ProLayoutHeaderStylish",function(e){var n=(0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:l});return o?[(0,p.default)({},"div".concat(e.proComponentsCls,"-layout"),(0,p.default)({},"".concat(n.componentCls),null==o?void 0:o(n)))]:[];})),E=(0,eg.default)(f,O,P,(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(P,"-fixed-header"),T),"".concat(P,"-fixed-header-scroll"),w),"".concat(P,"-mix"),"mix"===y),"".concat(P,"-fixed-header-action"),!v),"".concat(P,"-top-menu"),"top"===y),"".concat(P,"-header"),!0),"".concat(P,"-stylish"),!!e.stylish));return"side"!==y||d?L.wrapSSR(A((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(ep.default,{theme:{hashed:(0,S.isNeedOpenHash)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[T&&(0,u.jsx)(tE,{style:(0,k.default)({height:(null===(r=j.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.heightLayoutHeader)||56,lineHeight:"".concat((null===(i=j.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},m)}),(0,u.jsx)(tE,{className:E,style:m,children:N()})]})}))):null;},tD=n("f9a266b4"),tF=n("4175825c"),t_=n("04f9d9ff"),tW=r._(t_),tG=new(n("398ab4d8")).Keyframes("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),tK=function(e){var t,n,o,l,a,r,i,u,d,c,s,f;return(0,p.default)({},"".concat(e.proComponentsCls,"-layout"),(0,p.default)((0,p.default)((0,p.default)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:(null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.colorMenuBackground)||"transparent"}),e.componentCls,(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.paddingInlineLayoutMenu,paddingBlock:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),(0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:not(").concat(e.antCls,"-menu-item-selected):hover"),{color:null===(l=e.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:null===(a=e.layout)||void 0===a||null===(a=a.sider)||void 0===a?void 0:a.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat(null===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.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:null===(i=e.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorTextMenuTitle,animationName:tG,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,p.default)({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"})}),"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:null===(u=e.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:null===(d=e.layout)||void 0===d||null===(d=d.sider)||void 0===d?void 0:d.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:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:null===(c=e.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:tG,animationDuration:".4s",animationTimingFunction:"ease"})),"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat((null===(s=e.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((null===(f=e.layout)||void 0===f||null===(f=f.header)||void 0===f?void 0:f.heightLayoutHeader)||56,"px")}}));},tU=function(e){var t,n,o=e.isMobile,l=e.siderWidth,a=e.collapsed,r=e.onCollapse,i=e.style,d=e.className,c=e.hide,f=e.prefixCls,p=e.getContainer,m=(0,s.useContext)(S.ProProvider).token;(0,s.useEffect)(function(){!0===o&&(null==r||r(!0));},[o]);var v=(0,eC.default)(e,["className","style"]),h=s.default.useContext(ep.default.ConfigContext).direction,g=(t="".concat(f,"-sider"),(0,eX.useStyle)("ProLayoutSiderMenu",function(e){return[tK((0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:64}))];})),y=g.wrapSSR,x=g.hashId,b=(0,eg.default)("".concat(f,"-sider"),d,x);if(c)return null;var C=(0,tF.openVisibleCompatible)(!a,function(){return null==r?void 0:r(!0);});return y(o?(0,u.jsx)(tW.default,(0,k.default)((0,k.default)({placement:"rtl"===h?"right":"left",className:(0,eg.default)("".concat(f,"-drawer-sider"),d)},C),{},{style:(0,k.default)({padding:0,height:"100vh"},i),onClose:function(){null==r||r(!0);},maskClosable:!0,closable:!1,getContainer:p||!1,width:l,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:null===(n=m.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.colorMenuBackground}},children:(0,u.jsx)(tS,(0,k.default)((0,k.default)({},v),{},{isMobile:!0,className:b,collapsed:!o&&a,splitMenus:!1,originCollapsed:a}))})):(0,u.jsx)(tS,(0,k.default)((0,k.default)({className:b,originCollapsed:a},v),{},{style:i})));},tV=n("0b6beeba"),tX=n("33a06475"),tZ=function(e,t,n){if(n){var o=(0,e$.default)(n.keys()).find(function(t){try{if(t.startsWith("http"))return!1;return(0,tX.match)(t)(e);}catch(e){return console.log("key",t,e),!1;}});if(o)return n.get(o);}if(t){var l=Object.keys(t).find(function(t){try{if(null!=t&&t.startsWith("http"))return!1;return(0,tX.match)(t)(e);}catch(e){return console.log("key",t,e),!1;}});if(l)return t[l];}return{path:""};},tq=function(e,t){var n=e.pathname,o=e.breadcrumb,l=e.breadcrumbMap,a=e.formatMessage,r=e.title,i=e.menu,u=t?"":r||"",d=tZ(void 0===n?"/":n,o,l);if(!d)return{title:u,id:"",pageName:u};var c=d.name;return(!1!==(void 0===i?{locale:!1}:i).locale&&d.locale&&a&&(c=a({id:d.locale||"",defaultMessage:d.name})),c)?t||!r?{title:c,id:d.locale||"",pageName:c}:{title:"".concat(c," - ").concat(r),id:d.locale||"",pageName:c}:{title:u,id:d.locale||"",pageName:u};},tJ=n("6e641d62"),tY=n("1054d627"),t$=function(){var e;return void 0===tY?eU.default:(null===(e=tY)||void 0===e||null===(e=e.env)||void 0===e?void 0:e.ANTD_VERSION)||eU.default;},tQ=function(e){var t,n,o,l,a,r,i,u,d,c,s,f,m,v,h,g,y,x,b,C,j,k,S,M,I,R,w,B,T,N,P,H;return null!==(t=t$())&&void 0!==t&&t.startsWith("5")?{}:(0,p.default)((0,p.default)((0,p.default)({},e.componentCls,(0,p.default)((0,p.default)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(j={color:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.colorTextMenu},(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)(j,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.colorTextMenu}),"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),"&".concat(e.antCls,"-menu"),(0,p.default)((0,p.default)({color:null===(l=e.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,p.default)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-item:active, \n ").concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,p.default)({},"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active, \n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,p.default)({color:null===(a=e.layout)||void 0===a||null===(a=a.sider)||void 0===a?void 0:a.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:null===(i=e.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,p.default)({color:null===(u=e.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat(null===(d=e.layout)||void 0===d||null===(d=d.header)||void 0===d?void 0:d.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(c=e.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:null===(s=e.layout)||void 0===s||null===(s=s.sider)||void 0===s?void 0:s.colorTextMenuSelected}),(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)(j,"".concat(e.antCls,"-menu-submenu-selected"),{color:null===(f=e.layout)||void 0===f||null===(f=f.sider)||void 0===f?void 0:f.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:null===(m=e.layout)||void 0===m||null===(m=m.sider)||void 0===m?void 0:m.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,p.default)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:null===(v=e.layout)||void 0===v||null===(v=v.sider)||void 0===v?void 0:v.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:null===(h=e.layout)||void 0===h||null===(h=h.sider)||void 0===h?void 0:h.colorTextMenuActive}),"&".concat(e.antCls,"-menu-horizontal"),(0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item:hover,\n ").concat(e.antCls,"-menu-submenu:hover,\n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:null===(g=e.layout)||void 0===g||null===(g=g.header)||void 0===g?void 0:g.colorTextMenuActive,backgroundColor:"".concat(null===(y=e.layout)||void 0===y||null===(y=y.header)||void 0===y?void 0:y.colorBgMenuItemHover," !important")}),"".concat(e.antCls,"-menu-item-open,\n ").concat(e.antCls,"-menu-submenu-open,\n ").concat(e.antCls,"-menu-item-selected,\n ").concat(e.antCls,"-menu-submenu-selected"),(0,p.default)({backgroundColor:null===(x=e.layout)||void 0===x||null===(x=x.header)||void 0===x?void 0:x.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat(null===(b=e.layout)||void 0===b||null===(b=b.header)||void 0===b?void 0:b.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat(null===(C=e.layout)||void 0===C||null===(C=C.header)||void 0===C?void 0:C.colorTextMenuSelected," !important")})),"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"})))),"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(0,p.default)((0,p.default)({},"&".concat(e.antCls,"-menu"),(0,p.default)({color:null===(k=e.layout)||void 0===k||null===(k=k.header)||void 0===k?void 0:k.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active, \n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,p.default)({color:null===(S=e.layout)||void 0===S||null===(S=S.header)||void 0===S?void 0:S.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:null===(M=e.layout)||void 0===M||null===(M=M.header)||void 0===M?void 0:M.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(I=e.layout)||void 0===I||null===(I=I.header)||void 0===I?void 0:I.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:null===(R=e.layout)||void 0===R||null===(R=R.header)||void 0===R?void 0:R.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:null===(w=e.layout)||void 0===w||null===(w=w.header)||void 0===w?void 0:w.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,p.default)((0,p.default)((0,p.default)((0,p.default)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,p.default)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,"-menu-item:active, \n ").concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:null===(B=e.layout)||void 0===B||null===(B=B.sider)||void 0===B?void 0:B.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:null===(T=e.layout)||void 0===T||null===(T=T.sider)||void 0===T?void 0:T.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:null===(N=e.layout)||void 0===N||null===(N=N.sider)||void 0===N?void 0:N.colorTextMenuSelected}),"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,p.default)({color:null===(P=e.layout)||void 0===P||null===(P=P.sider)||void 0===P?void 0:P.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(H=e.layout)||void 0===H||null===(H=H.sider)||void 0===H?void 0:H.colorTextMenuActive}))));},t0=function(e){var t,n,o,l;return(0,p.default)((0,p.default)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(null===(t=e.layout)||void 0===t||null===(t=t.pageContainer)||void 0===t?void 0:t.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:null===(n=e.layout)||void 0===n||null===(n=n.pageContainer)||void 0===n?void 0:n.paddingBlockPageContainerContent,paddingInline:null===(o=e.layout)||void 0===o||null===(o=o.pageContainer)||void 0===o?void 0:o.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:null===(l=e.layout)||void 0===l?void 0:l.bgLayout}));},t1=n("ca3807c9"),t2=function(){var e;return void 0===tY?eU.default:(null===(e=tY)||void 0===e||null===(e=e.env)||void 0===e?void 0:e.ANTD_VERSION)||eU.default;},t4=function(e,t,n){var o=e.breadcrumbName,l=e.title,a=e.path;return n.findIndex(function(t){return t.linkPath===e.path;})===n.length-1?(0,u.jsx)("span",{children:l||o}):(0,u.jsx)("span",{onClick:a?function(){return location.href=a;}:void 0,children:l||o});},t5=function(e,t){var n=t.formatMessage,o=t.menu;return e.locale&&n&&(null==o?void 0:o.locale)!==!1?n({id:e.locale,defaultMessage:e.name}):e.name;},t8=function(e,t){var n=e.get(t);if(!n){var o=(Array.from(e.keys())||[]).find(function(e){try{if(null!=e&&e.startsWith("http"))return!1;return(0,tX.match)(e.replace("?",""))(t);}catch(t){return console.log("path",e,t),!1;}});o&&(n=e.get(o));}return n||{path:""};},t6=function(e){var t={location:e.location,breadcrumbMap:e.breadcrumbMap},n=t.location,o=t.breadcrumbMap;return n&&n.pathname&&o?(function(e){if(!e||"/"===e)return["/"];var t=e.split("/").filter(function(e){return e;});return t.map(function(e,n){return"/".concat(t.slice(0,n+1).join("/"));});})(null==n?void 0:n.pathname).map(function(t){var n=t8(o,t),l=t5(n,e),a=n.hideInBreadcrumb;return l&&!a?{linkPath:t,breadcrumbName:l,title:l,component:n.component}:{linkPath:"",breadcrumbName:"",title:""};}).filter(function(e){return e&&e.linkPath;}):[];},t3=function(e,t){var n=e.breadcrumbRender,o=e.itemRender,l=(t.breadcrumbProps||{}).minLength,a=t6(e),r=function(e){for(var t=o||t4,n=arguments.length,l=Array(n>1?n-1:0),a=1;a<n;a++)l[a-1]=arguments[a];return null==t?void 0:t.apply(void 0,[(0,k.default)((0,k.default)({},e),{},{path:e.linkPath||e.path})].concat(l));},i=a;return n&&(i=n(i||[])||void 0),(i&&i.length<(void 0===l?2:l)||!1===n)&&(i=void 0),(0,t1.compareVersions)(t2(),"5.3.0")>-1?{items:i,itemRender:r}:{routes:i,itemRender:r};},t9=function e(t,n,o,l){var a=er(t,(null==n?void 0:n.locale)||!1,o,!0),r=a.menuData,i=a.breadcrumb;return l?e(l(r),n,o,void 0):{breadcrumb:(0,e$.default)(i).reduce(function(e,t){var n=(0,C.default)(t,2),o=n[0],l=n[1];return e[o]=l,e;},{}),breadcrumbMap:i,menuData:r};},t7=n("99c0cd4c"),ne=r._(t7),nt=n("87ed5a26"),nn=function(e){var t=(0,s.useState)({}),n=(0,C.default)(t,2),o=n[0],l=n[1];return(0,s.useEffect)(function(){l((0,nt.omitUndefined)({layout:"object"!==(0,ne.default)(e.layout)?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]),o;},no=["id","defaultMessage"],nl=["fixSiderbar","navTheme","layout"],na=0,nr=function(e,t){var n;return!1===e.headerRender||e.pure?null:(0,u.jsx)(tz,(0,k.default)((0,k.default)({matchMenuKeys:t},e),{},{stylish:null===(n=e.stylish)||void 0===n?void 0:n.header}));},ni=function(e,t){var n,o=e.layout,l=e.isMobile,a=e.selectedKeys,r=e.openKeys,i=e.splitMenus,d=e.suppressSiderWhenMenuEmpty,c=e.menuRender;if(!1===e.menuRender||e.pure)return null;var s=e.menuData;if(i&&(!1!==r||"mix"===o)&&!l){var f,p,m=a||t,v=(0,C.default)(m,1)[0];s=v&&(null===(p=e.menuData)||void 0===p||null===(p=p.find(function(e){return e.key===v;}))||void 0===p?void 0:p.children)||[];}var h=(0,eT.clearMenuItem)(s||[]);if(h&&(null==h?void 0:h.length)<1&&(i||d))return null;if("top"===o&&!l)return(0,u.jsx)(tU,(0,k.default)((0,k.default)({matchMenuKeys:t},e),{},{hide:!0,stylish:null===(n=e.stylish)||void 0===n?void 0:n.sider}));var g=(0,u.jsx)(tU,(0,k.default)((0,k.default)({matchMenuKeys:t},e),{},{menuData:h,stylish:null===(f=e.stylish)||void 0===f?void 0:f.sider}));return c?c(e,g):g;},nu=function(e,t){var n=t.pageTitleRender,o=tq(e);if(!1===n)return{title:t.title||"",id:"",pageName:""};if(n){var l=n(e,o.title,o);if("string"==typeof l)return tq((0,k.default)((0,k.default)({},o),{},{title:l}));(0,ek.default)("string"==typeof l,"pro-layout: renderPageTitle return value should be a string");}return o;},nd=function(e){var t,n,o,l,a,r,i,d,c,f,m,h,y,b,j,I,T=e||{},N=T.children,P=T.onCollapse,H=T.location,A=void 0===H?{pathname:"/"}:H,O=T.contentStyle,L=T.route,E=T.defaultCollapsed,z=T.style,D=T.siderWidth,F=T.menu,_=T.siderMenuType,W=T.isChildrenLayout,G=T.menuDataRender,K=T.actionRef,U=T.bgLayoutImgList,V=T.formatMessage,X=T.loading,Z=(0,s.useMemo)(function(){return D||("mix"===e.layout?215:256);},[e.layout,D]),q=(0,s.useContext)(ep.default.ConfigContext),J=null!==(o=e.prefixCls)&&void 0!==o?o:q.getPrefixCls("pro"),Y=(0,B.useMountMergeState)(!1,{value:null==F?void 0:F.loading,onChange:null==F?void 0:F.onLoadingChange}),$=(0,C.default)(Y,2),Q=$[0],ee=$[1],et=(0,s.useState)(function(){return na+=1,"pro-layout-".concat(na);}),en=(0,C.default)(et,1)[0],eo=(0,s.useCallback)(function(e){var t=e.id,n=e.defaultMessage,o=(0,x.default)(e,no);if(V)return V((0,k.default)({id:t,defaultMessage:n},o));var l=(0,tJ.gLocaleObject)();return l[t]?l[t]:n;},[V]),el=(0,eM.default)([en,null==F?void 0:F.params],(t=(0,g.default)((0,v.default)().mark(function e(t){var n,o,l;return(0,v.default)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=(0,C.default)(t,2)[1],ee(!0),e.next=4,null==F||null===(n=F.request)||void 0===n?void 0:n.call(F,o||{},(null==L?void 0:L.children)||(null==L?void 0:L.routes)||[]);case 4:return l=e.sent,ee(!1),e.abrupt("return",l);case 7:case"end":return e.stop();}},e);})),function(e){return t.apply(this,arguments);}),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),ea=el.data,er=el.mutate,ei=el.isLoading;(0,s.useEffect)(function(){ee(ei);},[ei]);var eu=(0,eM.useSWRConfig)().cache;(0,s.useEffect)(function(){return function(){eu instanceof Map&&eu.delete(en);};},[]);var ed=(0,s.useMemo)(function(){return t9(ea||(null==L?void 0:L.children)||(null==L?void 0:L.routes)||[],F,eo,G);},[eo,F,G,ea,null==L?void 0:L.children,null==L?void 0:L.routes])||{},ec=ed.breadcrumb,ef=ed.breadcrumbMap,em=ed.menuData,eh=void 0===em?[]:em;K&&null!=F&&F.request&&(K.current={reload:function(){er();}});var ey=(0,s.useMemo)(function(){return es(A.pathname||"/",eh||[],!0);},[A.pathname,eh]),eb=(0,s.useMemo)(function(){return Array.from(new Set(ey.map(function(e){return e.key||e.path||"";})));},[ey]),ej=ey[ey.length-1]||{},ek=nn(ej),eS=(0,k.default)((0,k.default)({},e),ek),eI=eS.fixSiderbar,ew=(eS.navTheme,eS.layout),eT=(0,x.default)(eS,nl),eN=(0,R.useBreakpoint)(),eP=(0,s.useMemo)(function(){return("sm"===eN||"xs"===eN)&&!e.disableMobile;},[eN,e.disableMobile]),eH="top"!==ew&&!eP,eA=(0,ex.default)(function(){return void 0!==E?E:!!eP||"md"===eN;},{value:e.collapsed,onChange:P}),eO=(0,C.default)(eA,2),eL=eO[0],eE=eO[1],ez=(0,eC.default)((0,k.default)((0,k.default)((0,k.default)({prefixCls:J},e),{},{siderWidth:Z},ek),{},{formatMessage:eo,breadcrumb:ec,menu:(0,k.default)((0,k.default)({},F),{},{type:_||(null==F?void 0:F.type),loading:Q}),layout:ew}),["className","style","breadcrumbRender"]),eD=nu((0,k.default)((0,k.default)({pathname:A.pathname},ez),{},{breadcrumbMap:ef}),e),eF=t3((0,k.default)((0,k.default)({},ez),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:ef}),e),e_=ni((0,k.default)((0,k.default)({},ez),{},{menuData:eh,onCollapse:eE,isMobile:eP,collapsed:eL}),eb),eW=nr((0,k.default)((0,k.default)({},ez),{},{children:null,hasSiderMenu:!!e_,menuData:eh,isMobile:eP,collapsed:eL,onCollapse:eE}),eb),eG=!1===(n=(0,k.default)({isMobile:eP,collapsed:eL},ez)).footerRender||n.pure?null:n.footerRender?n.footerRender((0,k.default)({},n),(0,u.jsx)(eB.DefaultFooter,{})):null,eK=(0,s.useContext)(tV.RouteContext).isChildrenLayout,eU=void 0!==W?W:eK,eV="".concat(J,"-layout"),eZ=(0,eX.useStyle)("ProLayout",function(e){var t=(0,k.default)((0,k.default)({},e),{},{componentCls:".".concat(eV)});return[t0(t),tQ(t)];}),eq=eZ.wrapSSR,eJ=eZ.hashId,eY=(0,eg.default)(e.className,eJ,"ant-design-pro",eV,(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"screen-".concat(eN),eN),"".concat(eV,"-top-menu"),"top"===ew),"".concat(eV,"-is-children"),eU),"".concat(eV,"-fix-siderbar"),eI),"".concat(eV,"-").concat(ew),ew)),e$=eH?eL?64:Z:0,eQ={position:"relative"};(eU||O&&O.minHeight)&&(eQ.minHeight=0),(0,s.useEffect)(function(){var t;null===(t=e.onPageChange)||void 0===t||t.call(e,e.location);},[A.pathname,null===(l=A.pathname)||void 0===l?void 0:l.search]);var e0=(0,s.useState)(!1),e1=(0,C.default)(e0,2),e2=e1[0],e4=e1[1],e5=(0,s.useState)(0),e8=(0,C.default)(e5,2),e6=e8[0],e3=e8[1];(0,w.useDocumentTitle)(eD,e.title||!1);var e9=(0,s.useContext)(S.ProProvider).token,e7=(0,s.useMemo)(function(){return U&&U.length>0?null==U?void 0:U.map(function(e,t){return(0,u.jsx)("img",{src:e.src,style:(0,k.default)({position:"absolute"},e)},t);}):null;},[U]);return eq((0,u.jsx)(tV.RouteContext.Provider,{value:(0,k.default)((0,k.default)({},ez),{},{breadcrumb:eF,menuData:eh,isMobile:eP,collapsed:eL,hasPageContainer:e6,setHasPageContainer:e3,isChildrenLayout:!0,title:eD.pageName,hasSiderMenu:!!e_,hasHeader:!!eW,siderWidth:e$,hasFooter:!!eG,hasFooterToolbar:e2,setHasFooterToolbar:e4,pageTitleInfo:eD,matchMenus:ey,matchMenuKeys:eb,currentMenu:ej}),children:e.pure?(0,u.jsx)(u.Fragment,{children:N}):(0,u.jsxs)("div",{className:eY,children:[e7||null!==(a=e9.layout)&&void 0!==a&&a.bgLayout?(0,u.jsx)("div",{className:(0,eg.default)("".concat(eV,"-bg-list"),eJ),children:e7}):null,(0,u.jsxs)(ev.default,{style:(0,k.default)({minHeight:"100%",flexDirection:e_?"row":void 0},z),children:[(0,u.jsx)(ep.default,{theme:{hashed:(0,S.isNeedOpenHash)(),token:{controlHeightLG:(null===(r=e9.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.menuHeight)||(null==e9?void 0:e9.controlHeightLG)},components:{Menu:(0,M.coverToNewToken)({colorItemBg:(null===(i=e9.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorMenuBackground)||"transparent",colorSubItemBg:(null===(d=e9.layout)||void 0===d||null===(d=d.sider)||void 0===d?void 0:d.colorMenuBackground)||"transparent",radiusItem:e9.borderRadius,colorItemBgSelected:(null===(c=e9.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorBgMenuItemSelected)||(null==e9?void 0:e9.colorBgTextHover),colorItemBgHover:(null===(f=e9.layout)||void 0===f||null===(f=f.sider)||void 0===f?void 0:f.colorBgMenuItemHover)||(null==e9?void 0:e9.colorBgTextHover),colorItemBgActive:(null===(m=e9.layout)||void 0===m||null===(m=m.sider)||void 0===m?void 0:m.colorBgMenuItemActive)||(null==e9?void 0:e9.colorBgTextActive),colorItemBgSelectedHorizontal:(null===(h=e9.layout)||void 0===h||null===(h=h.sider)||void 0===h?void 0:h.colorBgMenuItemSelected)||(null==e9?void 0:e9.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(null===(y=e9.layout)||void 0===y||null===(y=y.sider)||void 0===y?void 0:y.colorTextMenu)||(null==e9?void 0:e9.colorTextSecondary),colorItemTextHover:(null===(b=e9.layout)||void 0===b||null===(b=b.sider)||void 0===b?void 0:b.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(null===(j=e9.layout)||void 0===j||null===(j=j.sider)||void 0===j?void 0:j.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:null==e9?void 0:e9.colorBgElevated,subMenuItemBg:null==e9?void 0:e9.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:null==e9?void 0:e9.colorBgElevated})}},children:e_}),(0,u.jsxs)("div",{style:eQ,className:"".concat(eV,"-container ").concat(eJ).trim(),children:[eW,(0,u.jsx)(eR,(0,k.default)((0,k.default)({hasPageContainer:e6,isChildrenLayout:eU},eT),{},{hasHeader:!!eW,prefixCls:eV,style:O,children:X?(0,u.jsx)(tD.PageLoading,{}):N})),eG,e2&&(0,u.jsx)("div",{className:"".concat(eV,"-has-footer"),style:{height:64,marginBlockStart:null===(I=e9.layout)||void 0===I||null===(I=I.pageContainer)||void 0===I?void 0:I.paddingBlockPageContainerContent}})]})]})]})}));},nc=function(e){var t=e.colorPrimary,n=void 0!==e.navTheme?{dark:"realDark"===e.navTheme}:{};return(0,u.jsx)(ep.default,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,u.jsx)(S.ProConfigProvider,(0,k.default)((0,k.default)({},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(nd,(0,k.default)((0,k.default)({logo:(0,u.jsx)(ew,{})},td.defaultSettings),{},{location:(0,I.isBrowser)()?window.location:void 0},e))}))});};let ns=()=>(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,u.jsxs)("defs",{children:[(0,u.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,u.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,u.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,u.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,u.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,u.jsx)("g",{transform:"translate(-20 -20)",children:(0,u.jsx)("g",{transform:"translate(20 20)",children:(0,u.jsxs)("g",{children:[(0,u.jsxs)("g",{fillRule:"nonzero",children:[(0,u.jsxs)("g",{children:[(0,u.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,u.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,u.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,u.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]});var nf=n("8873cb98"),np=r._(nf),nm=n("38ab0c18"),nv=r._(nm);let nh=e=>{var t,n;return!e.route&&(e.noFound||e.notFound)||(null===(t=e.route)||void 0===t?void 0:t.unaccessible)&&(e.unAccessible||e.noAccessible)||(!e.route||(null===(n=e.route)||void 0===n?void 0:n.unaccessible))&&(0,u.jsx)(np.default,{status:e.route?"403":"404",title:e.route?"403":"404",subTitle:e.route?"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762":"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,u.jsx)(nv.default,{type:"primary",onClick:()=>d.history.push("/"),children:"\u8FD4\u56DE\u9996\u9875"})})||e.children;};var ng=n("61d82ba1"),ny=r._(ng),nx=n("e68da947"),nb=r._(nx),nC=n("668f64e3"),nj=r._(nC),nk=n("254eba48"),nS=r._(nk),nM=s.forwardRef(function(e,t){return s.createElement(nS.default,(0,k.default)((0,k.default)({},e),{},{ref:t,icon:nj.default}));}),nI=n("a07ca92d"),nR=n("3a3ad302"),nw=n("0a6434f7");let nB=(e,t)=>{if(0===e.length)return[];let n=[];for(let o of e){let e={...o};t(o)?Array.isArray(e.routes)&&n.push(...nB(e.routes,t)):(Array.isArray(e.children)&&(e.children=nB(e.children,t),e.routes=e.children),n.push(e));}return n;},nT=e=>0===e.length?[]:e.map(e=>{let t={...e};return e.originPath&&(t.path=e.originPath),Array.isArray(e.routes)&&(t.routes=nT(e.routes)),Array.isArray(e.children)&&(t.children=nT(e.children)),t;});var nN=e=>{let t=(0,d.useLocation)(),n=(0,d.useNavigate)(),{clientRoutes:o,pluginManager:l}=(0,d.useAppData)(),a=nR.useModel&&(0,nR.useModel)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},{initialState:r,loading:i,setInitialState:c}=a,f={locale:!0,navTheme:"light",colorPrimary:"#1890ff",layout:"mix",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"Ant Design Pro",pwa:!0,logo:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg",iconfontUrl:"",token:{}},{formatMessage:p}=(0,nI.useIntl)(),m=l.applyPlugins({key:"layout",type:"modify",initialValue:{...a}}),v=nB(o.filter(e=>"ant-design-pro-layout"===e.id),e=>!!e.isLayout&&"ant-design-pro-layout"!==e.id||!!e.isWrapper),[h]=(0,nw.useAccessMarkedRoutes)(nT(v)),g=(0,s.useMemo)(()=>{var e,n,o;return null===(o=(0,d.matchRoutes)(h.children,t.pathname))||void 0===o?void 0:null===(n=o.pop)||void 0===n?void 0:null===(e=n.call(o))||void 0===e?void 0:e.route;},[t.pathname]);return(0,u.jsx)(nc,{route:h,location:t,title:f.title||"ant-design-pro",navTheme:"dark",siderWidth:256,onMenuHeaderClick:e=>{e.stopPropagation(),e.preventDefault(),n("/");},formatMessage:f.formatMessage||p,menu:{locale:f.locale},logo:ns,menuItemRender:(e,n)=>e.isUrl||e.children?n:e.path&&t.pathname!==e.path?(0,u.jsx)(d.Link,{to:e.path.replace("/*",""),target:e.target,children:n}):n,itemRender:(e,t,n)=>{let{breadcrumbName:o,title:l,path:a}=e,r=l||o,i=n[n.length-1];return i&&(i.path===a||i.linkPath===a)?(0,u.jsx)("span",{children:r}):(0,u.jsx)(d.Link,{to:a,children:r});},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,...m,rightContentRender:!1!==m.rightContentRender&&(e=>{let t=function(e){var t,n,o,l,a;let r;if(e.runtimeConfig.rightRender)return e.runtimeConfig.rightRender(e.initialState,e.setInitialState,e.runtimeConfig);let i=(null===(t=e.initialState)||void 0===t?void 0:t.avatar)||(null===(n=e.initialState)||void 0===n?void 0:n.name)||e.runtimeConfig.logout,d=(null===(o=e.initialState)||void 0===o?void 0:o.avatar)===!1,c=i?(0,u.jsxs)("span",{className:"umi-plugin-layout-action",children:[d?null:(0,u.jsx)(eD.default,{size:"small",className:"umi-plugin-layout-avatar",src:(null===(l=e.initialState)||void 0===l?void 0:l.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,u.jsx)("span",{className:d?"umi-plugin-layout-name umi-plugin-layout-hide-avatar-img":"umi-plugin-layout-name",children:null===(a=e.initialState)||void 0===a?void 0:a.name})]}):null;if(e.loading)return(0,u.jsx)("div",{className:"umi-plugin-layout-right",children:(0,u.jsx)(nb.default,{size:"small",style:{marginLeft:8,marginRight:8}})});let s={className:"umi-plugin-layout-menu",selectedKeys:[],items:[{key:"logout",label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(nM,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:()=>{var t,n;null==e||null===(n=e.runtimeConfig)||void 0===n||null===(t=n.logout)||void 0===t||t.call(n,e.initialState);}}]};return r=eU.default.startsWith("5.")||eU.default.startsWith("4.24.")?{menu:s}:eU.default.startsWith("3.")?{overlay:(0,u.jsx)(e_.default,{children:s.items.map(e=>(0,u.jsx)(e_.default.Item,{onClick:e.onClick,children:e.label},e.key))})}:{overlay:(0,u.jsx)(e_.default,{...s})},(0,u.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[e.runtimeConfig.logout?(0,u.jsx)(ny.default,{...r,overlayClassName:"umi-plugin-layout-container",children:c}):c,(0,u.jsx)(nI.SelectLang,{})]});}({runtimeConfig:m,loading:i,initialState:r,setInitialState:c});return m.rightContentRender?m.rightContentRender(e,t,{userConfig:f,runtimeConfig:m,loading:i,initialState:r,setInitialState:c}):t;}),children:(0,u.jsx)(nh,{route:g,noFound:null==m?void 0:m.noFound,notFound:null==m?void 0:m.notFound,unAccessible:null==m?void 0:m.unAccessible,noAccessible:null==m?void 0:m.noAccessible,children:m.childrenRender?m.childrenRender((0,u.jsx)(d.Outlet,{}),e):(0,u.jsx)(d.Outlet,{})})});};}}]);
//# sourceMappingURL=59cf2cec-async.c485c64f.js.map