-
Notifications
You must be signed in to change notification settings - Fork 0
/
3165.async.js
1 lines (1 loc) · 126 KB
/
3165.async.js
1
(self.webpackChunk=self.webpackChunk||[]).push([[3165],{77082:function(e,n,t){"use strict";t.d(n,{f:function(){return St}});var o=t(4942),r=t(74165),i=t(15861),a=t(91),l=t(97685),c=t(1413),u=t(10915),s=t(21770),d=t(62435);function p(e){var n="undefined"==typeof window,t=(0,d.useState)((function(){return!n&&window.matchMedia(e).matches})),o=(0,l.Z)(t,2),r=o[0],i=o[1];return(0,d.useLayoutEffect)((function(){if(!n){var t=window.matchMedia(e),o=function(e){return i(e.matches)};return t.addListener(o),function(){return t.removeListener(o)}}}),[e]),r}var m={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},h=function(){var e,n=p(m.md.matchMedia),t=p(m.lg.matchMedia),o=p(m.xxl.matchMedia),r=p(m.xl.matchMedia),i=p(m.sm.matchMedia),a=p(m.xs.matchMedia),c=(0,d.useState)((e=void 0,"undefined"==typeof window?e:e=Object.keys(m).find((function(e){var n=m[e].matchMedia;return!!window.matchMedia(n).matches})))),u=(0,l.Z)(c,2),s=u[0],h=u[1];return(0,d.useEffect)((function(){h(o?"xxl":r?"xl":t?"lg":n?"md":i?"sm":a?"xs":"md")}),[n,t,o,r,i,a]),s},f=t(12044);var v=t(1977),g=t(73177);function x(e){if((0,v.n)((0,g.b)(),"5.6.0")<0)return e;var n={colorGroupTitle:"groupTitleColor",radiusItem:"itemBorderRadius",radiusSubMenuItem:"subMenuItemBorderRadius",colorItemText:"itemColor",colorItemTextHover:"itemHoverColor",colorItemTextHoverHorizontal:"horizontalItemHoverColor",colorItemTextSelected:"itemSelectedColor",colorItemTextSelectedHorizontal:"horizontalItemSelectedColor",colorItemTextDisabled:"itemDisabledColor",colorDangerItemText:"dangerItemColor",colorDangerItemTextHover:"dangerItemHoverColor",colorDangerItemTextSelected:"dangerItemSelectedColor",colorDangerItemBgActive:"dangerItemActiveBg",colorDangerItemBgSelected:"dangerItemSelectedBg",colorItemBg:"itemBg",colorItemBgHover:"itemHoverBg",colorSubItemBg:"subMenuItemBg",colorItemBgActive:"itemActiveBg",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},t=(0,c.Z)({},e);return Object.keys(n).forEach((function(e){void 0!==t[e]&&(t[n[e]]=t[e],delete t[e])})),t}var y=t(47930);function b(e,n){return n>>>e|n<<32-e}function C(e,n,t){return e&n^~e&t}function Z(e,n,t){return e&n^e&t^n&t}function k(e){return b(2,e)^b(13,e)^b(22,e)}function w(e,n){return e[15&n]+=(b(17,t=e[n+14&15])^b(19,t)^t>>>10)+e[n+9&15]+function(e){return b(7,e)^b(18,e)^e>>>3}(e[n+1&15]);var t}var j,S,I,M=[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 B(e,n){var t=(65535&e)+(65535&n);return(e>>16)+(n>>16)+(t>>16)<<16|65535&t}function T(){var e,n,t,o,r,i,a,l,c,u,s,d=new Array(16);e=j[0],n=j[1],t=j[2],o=j[3],r=j[4],i=j[5],a=j[6],l=j[7];for(var p=0;p<16;p++)d[p]=I[3+(p<<2)]|I[2+(p<<2)]<<8|I[1+(p<<2)]<<16|I[p<<2]<<24;for(var m=0;m<64;m++)c=l+(b(6,s=r)^b(11,s)^b(25,s))+C(r,i,a)+M[m],c+=m<16?d[m]:w(d,m),u=k(e)+Z(e,n,t),l=a,a=i,i=r,r=B(o,c),o=t,t=n,n=e,e=B(c,u);j[0]+=e,j[1]+=n,j[2]+=t,j[3]+=o,j[4]+=r,j[5]+=i,j[6]+=a,j[7]+=l}var R=function(e){return j=new Array(8),S=new Array(2),I=new Array(64),S[0]=S[1]=0,j[0]=1779033703,j[1]=3144134277,j[2]=1013904242,j[3]=2773480762,j[4]=1359893119,j[5]=2600822924,j[6]=528734635,j[7]=1541459225,function(e,n){var t,o,r=0;o=S[0]>>3&63;var i=63&n;for((S[0]+=n<<3)<n<<3&&S[1]++,S[1]+=n>>29,t=0;t+63<n;t+=64){for(var a=o;a<64;a++)I[a]=e.charCodeAt(r++);T(),o=0}for(var l=0;l<i;l++)I[l]=e.charCodeAt(r++)}(e,e.length),function(){var e=S[0]>>3&63;if(I[e++]=128,e<=56)for(var n=e;n<56;n++)I[n]=0;else{for(var t=e;t<64;t++)I[t]=0;T();for(var o=0;o<56;o++)I[o]=0}I[56]=S[1]>>>24&255,I[57]=S[1]>>>16&255,I[58]=S[1]>>>8&255,I[59]=255&S[1],I[60]=S[0]>>>24&255,I[61]=S[0]>>>16&255,I[62]=S[0]>>>8&255,I[63]=255&S[0],T()}(),function(){for(var e=new String,n=0;n<8;n++)for(var t=28;t>=0;t-=4)e+="0123456789abcdef".charAt(j[n]>>>t&15);return e}()};function E(e){return E="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(e)}var H=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function N(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var o,r,i=[],a=!0,l=!1;try{for(t=t.call(e);!(a=(o=t.next()).done)&&(i.push(o.value),!n||i.length!==n);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==t.return||t.return()}finally{if(l)throw r}}return i}(e,n)||G(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function L(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function z(e,n){if(n&&("object"===E(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function P(e){var n="function"==typeof Map?new Map:void 0;return P=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,o)}function o(){return O(e,arguments,F(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),W(o,e)},P(e)}function O(e,n,t){return O=D()?Reflect.construct.bind():function(e,n,t){var o=[null];o.push.apply(o,n);var r=new(Function.bind.apply(e,o));return t&&W(r,t.prototype),r},O.apply(null,arguments)}function D(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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 W(e,n){return W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},W(e,n)}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function _(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||G(e)||function(){throw new 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,n){if(e){if("string"==typeof e)return U(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?U(e,n):void 0}}function U(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function K(e,n){if(null==e)return{};var t,o,r=function(e,n){if(null==e)return{};var t,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)t=i[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)t=i[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function V(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?X(Object(t),!0).forEach((function(n){$(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function $(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Y="routes";function q(e){return e.split("?")[0].split("#")[0]}var J=function(e){if(!e.startsWith("http"))return!1;try{return!!new URL(e)}catch(e){return!1}},Q=function(e){var n=e.path;if(!n||"/"===n)try{return"/".concat(R(JSON.stringify(e)))}catch(e){}return n?q(n):n},ee=function(e,n){var t=e.name,o=e.locale;return!("locale"in e&&!1===o||!t)&&(e.locale||"".concat(n,".").concat(t))},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||n).startsWith("/")||J(e)?e:"/".concat(n,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},te=function(e,n){var t=e.menu,o=void 0===t?{}:t,r=e.indexRoute,i=e.path,a=void 0===i?"":i,l=e.children||[],c=o.name,u=void 0===c?e.name:c,s=o.icon,d=void 0===s?e.icon:s,p=o.hideChildren,m=void 0===p?e.hideChildren:p,h=o.flatMenu,f=void 0===h?e.flatMenu:h,v=r&&"redirect"!==Object.keys(r).join(",")?[V({path:a,menu:o},r)].concat(l||[]):l,g=V({},e);if(u&&(g.name=u),d&&(g.icon=d),v&&v.length){if(m)return delete g.children,g;var x=re(V(V({},n),{},{data:v}),e);if(f)return x;delete g[Y]}return g},oe=function(e){return Array.isArray(e)&&e.length>0};function re(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:"/"},t=e.data,o=e.formatMessage,r=e.parentName,i=e.locale;return t&&Array.isArray(t)?t.filter((function(e){return!!e&&(!!oe(e.children)||(!!e.path||(!!e.originPath||(!!e.layout||(e.redirect||e.unaccessible,!1)))))})).filter((function(e){var n,t;return!!((null==e||null===(n=e.menu)||void 0===n?void 0:n.name)||(null==e?void 0:e.flatMenu)||(null==e||null===(t=e.menu)||void 0===t?void 0:t.flatMenu))||!1!==e.menu})).map((function(e){var n=V(V({},e),{},{path:e.path||e.originPath});return!n.children&&n[Y]&&(n.children=n[Y],delete n[Y]),n.unaccessible&&delete n.name,"*"===n.path&&(n.path="."),"/*"===n.path&&(n.path="."),!n.path&&n.originPath&&(n.path=n.originPath),n})).map((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:"/"},a=t.children||t[Y]||[],l=ne(t.path,n?n.path:"/"),c=t.name,u=ee(t,r||"menu"),s=!1!==u&&!1!==i&&o&&u?o({id:u,defaultMessage:c}):c,d=n.pro_layout_parentKeys,p=void 0===d?[]:d,m=(n.children,n.icon,n.flatMenu,n.indexRoute,n.routes,K(n,H)),h=new Set([].concat(_(p),_(t.parentKeys||[])));n.key&&h.add(n.key);var f=V(V(V({},m),{},{menu:void 0},t),{},{path:l,locale:u,key:t.key||Q(V(V({},t),{},{path:l})),pro_layout_parentKeys:Array.from(h).filter((function(e){return e&&"/"!==e}))});if(s?f.name=s:delete f.name,void 0===f.menu&&delete f.menu,oe(a)){var v=re(V(V({},e),{},{data:a,parentName:u||""}),f);oe(v)&&(f.children=v)}return te(f,e)})).flat(1):[]}var ie=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n.filter((function(e){return e&&(e.name||oe(e.children))&&!e.hideInMenu&&!e.redirect})).map((function(n){var t=V({},n),o=t.children||n[Y]||[];if(delete t[Y],oe(o)&&!t.hideChildrenInMenu&&o.some((function(e){return e&&!!e.name}))){var r=e(o);if(r.length)return V(V({},t),{},{children:r})}return V({},n)})).filter((function(e){return e}))},ae=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&W(e,n)}(l,e);var n,t,o,r,i,a=(n=l,t=D(),function(){var e,o=F(n);if(t){var r=F(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return z(this,e)});function l(){return A(this,l),a.apply(this,arguments)}return o=l,(r=[{key:"get",value:function(e){var n;try{var t,o=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=G(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}(this.entries());try{for(o.s();!(t=o.n()).done;){var r=N(t.value,2),i=r[0],a=r[1],l=q(i);if(!J(i)&&(0,y.Bo)(l,[]).test(e)){n=a;break}}}catch(e){o.e(e)}finally{o.f()}}catch(e){n=void 0}return n}}])&&L(o.prototype,r),i&&L(o,i),Object.defineProperty(o,"prototype",{writable:!1}),l}(P(Map)),le=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n.map((function(n){var t=n.children||n[Y];if(oe(t)&&e(t).length)return V({},n);var o=V({},n);return delete o[Y],delete o.children,o})).filter((function(e){return e}))},ce=function(e,n,t,o){var r=re({data:e,formatMessage:t,locale:n}),i=o?le(r):ie(r),a=function(e){var n=new ae;return function e(t,o){t.forEach((function(t){var r=t.children||t[Y]||[];oe(r)&&e(r,t);var i=ne(t.path,o?o.path:"/");n.set(q(i),t)}))}(e),n}(r);return{breadcrumb:a,menuData:i}};function ue(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function se(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ue(Object(t),!0).forEach((function(n){de(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ue(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function de(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var pe=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t={};return n.forEach((function(n){var o=se({},n);if(o&&o.key){!o.children&&o[Y]&&(o.children=o[Y],delete o[Y]);var r=o.children||[];t[q(o.path||o.key||"/")]=se({},o),t[o.key||o.path||"/"]=se({},o),r&&(t=se(se({},t),e(r)))}})),t},me=function(e,n,t,o){var r=pe(n),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return e.filter((function(e){if("/"===e&&"/"===n)return!0;if("/"!==e&&"/*"!==e&&e&&!J(e)){var o=q(e);try{if(t&&(0,y.Bo)("".concat(o)).test(n))return!0;if((0,y.Bo)("".concat(o),[]).test(n))return!0;if((0,y.Bo)("".concat(o,"/(.*)")).test(n))return!0}catch(e){}}return!1})).sort((function(e,t){return e===n?10:t===n?-10:e.substr(1).split("/").length-t.substr(1).split("/").length}))}(Object.keys(r),e||"/",o);return!i||i.length<1?[]:(t||(i=[i[i.length-1]]),i.map((function(e){var n=r[e]||{pro_layout_parentKeys:"",key:""},t=new Map,o=(n.pro_layout_parentKeys||[]).map((function(e){return t.has(e)?null:(t.set(e,!0),r[e])})).filter((function(e){return e}));return n.key&&o.push(n),o})).flat(1))},he=t(28459),fe=t(21612),ve=t(93967),ge=t.n(ve),xe=t(97435),ye=t(80334),be=t(59734),Ce=t(78164),Ze=t(86074),ke=function(e){var n,t=(0,d.useContext)(u.L_).hashId,r=e.style,i=e.prefixCls,a=e.children,l=e.hasPageContainer,c=void 0===l?0:l,s=ge()("".concat(i,"-content"),t,(n={},(0,o.Z)(n,"".concat(i,"-has-header"),e.hasHeader),(0,o.Z)(n,"".concat(i,"-content-has-page-container"),c>0),n)),p=e.ErrorBoundary||Ce.S;return!1===e.ErrorBoundary?(0,Ze.jsx)(fe.Z.Content,{className:s,style:r,children:a}):(0,Ze.jsx)(p,{children:(0,Ze.jsx)(fe.Z.Content,{className:s,style:r,children:a})})},we=function(){return(0,Ze.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,Ze.jsxs)("defs",{children:[(0,Ze.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,Ze.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,Ze.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,Ze.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,Ze.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,Ze.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,Ze.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,Ze.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,Ze.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,Ze.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,Ze.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,Ze.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,Ze.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,Ze.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,Ze.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,Ze.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,Ze.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,Ze.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,Ze.jsxs)("g",{children:[(0,Ze.jsxs)("g",{fillRule:"nonzero",children:[(0,Ze.jsxs)("g",{children:[(0,Ze.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,Ze.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,Ze.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,Ze.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},je=t(87462),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},Ie=t(84089),Me=function(e,n){return d.createElement(Ie.Z,(0,je.Z)({},e,{ref:n,icon:Se}))};var Be=d.forwardRef(Me),Te=t(98082),Re=function(e){return(0,o.Z)({},e.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:e.colorTextSecondary,"&-link":{color:e.colorTextSecondary,textDecoration:e.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:e.colorPrimary}},"&-copyright":{fontSize:"14px",color:e.colorText}})};var Ee=function(e){var n=e.className,t=e.prefixCls,o=e.links,r=e.copyright,i=e.style,a=(0,d.useContext)(he.ZP.ConfigContext).getPrefixCls(t||"pro-global-footer"),l=function(e){return(0,Te.Xj)("ProLayoutFooter",(function(n){var t=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e)});return[Re(t)]}))}(a),u=l.wrapSSR,s=l.hashId;return!(null==o||!1===o||Array.isArray(o)&&0===o.length)||null!=r&&!1!==r?u((0,Ze.jsxs)("div",{className:ge()(a,s,n),style:i,children:[o&&(0,Ze.jsx)("div",{className:"".concat(a,"-list ").concat(s).trim(),children:o.map((function(e){return(0,Ze.jsx)("a",{className:"".concat(a,"-list-link ").concat(s).trim(),title:e.key,target:e.blankTarget?"_blank":"_self",href:e.href,rel:"noreferrer",children:e.title},e.key)}))}),r&&(0,Ze.jsx)("div",{className:"".concat(a,"-copyright ").concat(s).trim(),children:r})]})):null},He=fe.Z.Footer,Ne=function(e){var n=e.links,t=e.copyright,o=e.style,r=e.className,i=e.prefixCls;return(0,Ze.jsx)(He,{className:r,style:(0,c.Z)({padding:0},o),children:(0,Ze.jsx)(Ee,{links:n,prefixCls:i,copyright:!1===t?null:(0,Ze.jsxs)(d.Fragment,{children:[(0,Ze.jsx)(Be,{})," ",t]})})})},Ae=function e(n){return(n||[]).reduce((function(n,t){return t.key&&n.push(t.key),t.children||t.routes?n.concat(e(t.children||t.routes)||[]):n}),[])};function Le(e){return e.map((function(e){var n=e.children||[],t=(0,c.Z)({},e);if(!t.children&&t.routes&&(t.children=t.routes),!t.name||t.hideInMenu)return null;if(t&&null!=t&&t.children){if(!t.hideChildrenInMenu&&n.some((function(e){return e&&e.name&&!e.hideInMenu})))return(0,c.Z)((0,c.Z)({},e),{},{children:Le(n)});delete t.children}return delete t.routes,t})).filter((function(e){return e}))}var ze={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"},Pe=function(e,n){return d.createElement(Ie.Z,(0,je.Z)({},e,{ref:n,icon:ze}))};var Oe=d.forwardRef(Pe),De=t(55241),We=function(){return(0,Ze.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,Ze.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Fe=function e(n){var t=n.appList,o=n.baseClassName,r=n.hashId,i=n.itemClick;return(0,Ze.jsx)("div",{className:"".concat(o,"-content ").concat(r).trim(),children:(0,Ze.jsx)("ul",{className:"".concat(o,"-content-list ").concat(r).trim(),children:null==t?void 0:t.map((function(n,t){var a;return null!=n&&null!==(a=n.children)&&void 0!==a&&a.length?(0,Ze.jsxs)("div",{className:"".concat(o,"-content-list-item-group ").concat(r).trim(),children:[(0,Ze.jsx)("div",{className:"".concat(o,"-content-list-item-group-title ").concat(r).trim(),children:n.title}),(0,Ze.jsx)(e,{hashId:r,itemClick:i,appList:null==n?void 0:n.children,baseClassName:o})]},t):(0,Ze.jsx)("li",{className:"".concat(o,"-content-list-item ").concat(r).trim(),onClick:function(e){e.stopPropagation(),null==i||i(n)},children:(0,Ze.jsxs)("a",{href:i?void 0:n.url,target:n.target,rel:"noreferrer",children:[$e(n.icon),(0,Ze.jsxs)("div",{children:[(0,Ze.jsx)("div",{children:n.title}),n.desc?(0,Ze.jsx)("span",{children:n.desc}):null]})]})},t)}))})})},_e=function(e){if(!e)return!1;if(!e.startsWith("http"))return!1;try{return!!new URL(e)}catch(e){return!1}},Ge=function(e,n){if(e&&"string"==typeof e&&_e(e))return(0,Ze.jsx)("img",{src:e,alt:"logo"});if("function"==typeof e)return e();if(e&&"string"==typeof e)return(0,Ze.jsx)("div",{id:"avatarLogo",children:e});if(!e&&n&&"string"==typeof n){var t=n.substring(0,1);return(0,Ze.jsx)("div",{id:"avatarLogo",children:t})}return e},Ue=function e(n){var t=n.appList,o=n.baseClassName,r=n.hashId,i=n.itemClick;return(0,Ze.jsx)("div",{className:"".concat(o,"-content ").concat(r).trim(),children:(0,Ze.jsx)("ul",{className:"".concat(o,"-content-list ").concat(r).trim(),children:null==t?void 0:t.map((function(n,t){var a;return null!=n&&null!==(a=n.children)&&void 0!==a&&a.length?(0,Ze.jsxs)("div",{className:"".concat(o,"-content-list-item-group ").concat(r).trim(),children:[(0,Ze.jsx)("div",{className:"".concat(o,"-content-list-item-group-title ").concat(r).trim(),children:n.title}),(0,Ze.jsx)(e,{hashId:r,itemClick:i,appList:null==n?void 0:n.children,baseClassName:o})]},t):(0,Ze.jsx)("li",{className:"".concat(o,"-content-list-item ").concat(r).trim(),onClick:function(e){e.stopPropagation(),null==i||i(n)},children:(0,Ze.jsxs)("a",{href:i?"javascript:;":n.url,target:n.target,rel:"noreferrer",children:[Ge(n.icon,n.title),(0,Ze.jsx)("div",{children:(0,Ze.jsx)("div",{children:n.title})})]})},t)}))})})},Ke=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},"* div":null===Te.Wf||void 0===Te.Wf?void 0:(0,Te.Wf)(e),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Xe=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:e.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:e.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Ve=function(e){var n,t,r,i,a;return(0,o.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:null===(n=e.layout)||void 0===n?void 0:n.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:null===(t=e.layout)||void 0===t?void 0:t.colorTextAppListIconHover,backgroundColor:null===(r=e.layout)||void 0===r?void 0:r.colorBgAppListIconHover},"&-active":{color:null===(i=e.layout)||void 0===i?void 0:i.colorTextAppListIconHover,backgroundColor:null===(a=e.layout)||void 0===a?void 0:a.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,o.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":Xe(e),"&-default":Ke(e)})};var $e=function(e){return"string"==typeof e?(0,Ze.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):"function"==typeof e?e():e},Ye=function(e){var n,t=e.appList,r=e.appListRender,i=e.prefixCls,a=void 0===i?"ant-pro":i,u=e.onItemClick,s=d.useRef(null),p=d.useRef(null),m="".concat(a,"-layout-apps"),h=function(e){return(0,Te.Xj)("AppsLogoComponents",(function(n){var t=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e)});return[Ve(t)]}))}(m),f=h.wrapSSR,v=h.hashId,x=(0,d.useState)(!1),y=(0,l.Z)(x,2),b=y[0],C=y[1],Z=function(e){null==u||u(e,p)},k=(0,d.useMemo)((function(){return(null==t?void 0:t.some((function(e){return!(null!=e&&e.desc)})))?(0,Ze.jsx)(Ue,{hashId:v,appList:t,itemClick:u?Z:void 0,baseClassName:"".concat(m,"-simple")}):(0,Ze.jsx)(Fe,{hashId:v,appList:t,itemClick:u?Z:void 0,baseClassName:"".concat(m,"-default")})}),[t,m,v]);if(null==e||null===(n=e.appList)||void 0===n||!n.length)return null;var w=r?r(null==e?void 0:e.appList,k):k,j=(0,g.X)(void 0,(function(e){return C(e)}));return f((0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)("div",{ref:s,onClick:function(e){e.stopPropagation(),e.preventDefault()}}),(0,Ze.jsx)(De.Z,(0,c.Z)((0,c.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},j),{},{overlayClassName:"".concat(m,"-popover ").concat(v).trim(),content:w,getPopupContainer:function(){return s.current||document.body},children:(0,Ze.jsx)("span",{ref:p,onClick:function(e){e.stopPropagation()},className:ge()("".concat(m,"-icon"),v,(0,o.Z)({},"".concat(m,"-icon-active"),b)),children:(0,Ze.jsx)(We,{})})}))]}))},qe=t(7134),Je=t(42075),Qe=t(68508);function en(){return(0,Ze.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,Ze.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 nn=function(e){var n,t,r;return(0,o.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.colorTextCollapsedButton,backgroundColor:null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.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===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.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)"}}})};var tn=["isMobile","collapsed"],on=function(e){var n,t,r=e.isMobile,i=e.collapsed,l=(0,a.Z)(e,tn),u=(t=e.className,(0,Te.Xj)("SiderMenuCollapsedIcon",(function(e){var n=(0,c.Z)((0,c.Z)({},e),{},{componentCls:".".concat(t)});return[nn(n)]}))),s=u.wrapSSR,d=u.hashId;return r&&i?null:s((0,Ze.jsx)("div",(0,c.Z)((0,c.Z)({},l),{},{className:ge()(e.className,d,(n={},(0,o.Z)(n,"".concat(e.className,"-collapsed"),i),(0,o.Z)(n,"".concat(e.className,"-is-mobile"),r),n)),children:(0,Ze.jsx)(en,{})})))},rn=t(74902),an=t(43144),ln=t(15671),cn=t(42550),un=t(63017),sn=t(41755),dn=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],pn=d.forwardRef((function(e,n){var t=e.className,r=e.component,i=e.viewBox,l=e.spin,u=e.rotate,s=e.tabIndex,p=e.onClick,m=e.children,h=(0,a.Z)(e,dn),f=d.useRef(),v=(0,cn.x1)(f,n);(0,sn.Kp)(Boolean(r||m),"Should have `component` prop or `children`."),(0,sn.C3)(f);var g=d.useContext(un.Z),x=g.prefixCls,y=void 0===x?"anticon":x,b=g.rootClassName,C=ge()(b,y,t),Z=ge()((0,o.Z)({},"".concat(y,"-spin"),!!l)),k=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,w=(0,c.Z)((0,c.Z)({},sn.vD),{},{className:Z,style:k,viewBox:i});i||delete w.viewBox;var j=s;return void 0===j&&p&&(j=-1),d.createElement("span",(0,je.Z)({role:"img"},h,{ref:v,tabIndex:j,onClick:p,className:C}),r?d.createElement(r,w,m):m?((0,sn.Kp)(Boolean(i)||1===d.Children.count(m)&&d.isValidElement(m)&&"use"===d.Children.only(m).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),d.createElement("svg",(0,je.Z)({},w,{viewBox:i}),m)):null)}));pn.displayName="AntdIcon";var mn=pn,hn=["type","children"],fn=new Set;function vn(e){return Boolean("string"==typeof e&&e.length&&!fn.has(e))}function gn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=e[n];if(vn(t)){var o=document.createElement("script");o.setAttribute("src",t),o.setAttribute("data-namespace",t),e.length>n+1&&(o.onload=function(){gn(e,n+1)},o.onerror=function(){gn(e,n+1)}),fn.add(t),document.body.appendChild(o)}}function xn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.scriptUrl,t=e.extraCommonProps,o=void 0===t?{}:t;n&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(n)?gn(n.reverse()):gn([n]));var r=d.forwardRef((function(e,n){var t=e.type,r=e.children,i=(0,a.Z)(e,hn),l=null;return e.type&&(l=d.createElement("use",{xlinkHref:"#".concat(t)})),r&&(l=r),d.createElement(mn,(0,je.Z)({},o,i,{ref:n}),l)}));return r.displayName="Iconfont",r}function yn(e){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e)}var bn=t(83062),Cn=t(21687),Zn={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},kn=function(e,n){var t,r,i,a,l,u,s,d=n.includes("horizontal")?null===(t=e.layout)||void 0===t?void 0:t.header:null===(r=e.layout)||void 0===r?void 0:r.sider;return(0,c.Z)((0,c.Z)((0,o.Z)({},"".concat(e.componentCls),(s={background:"transparent",color:null==d?void 0:d.colorTextMenu,border:"none"},(0,o.Z)(s,"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),(0,o.Z)(s,"".concat(e.componentCls,"-submenu-has-icon"),(0,o.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),(0,o.Z)(s,"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),(0,o.Z)(s,"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),(0,o.Z)(s,"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),(0,o.Z)(s,"&&-collapsed",(i={},(0,o.Z)(i,"".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"}),(0,o.Z)(i,"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title, \n ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:null==d?void 0:d.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),(0,o.Z)(i,"".concat(e.componentCls,"-group"),(0,o.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),i)),(0,o.Z)(s,"&-item-title",(u={display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},(0,o.Z)(u,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),(0,o.Z)(u,"&-collapsed",(a={minWidth:40,height:40},(0,o.Z)(a,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),(0,o.Z)(a,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),a)),(0,o.Z)(u,"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),(0,o.Z)(u,"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),(0,o.Z)(u,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,o.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(l={display:"flex"},(0,o.Z)(l,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),(0,o.Z)(l,"".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}),l))),u)),(0,o.Z)(s,"&-group",(0,o.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,o.Z)(s,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),s)),n.includes("horizontal")?{}:(0,o.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,o.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,o.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};var wn=function(e){var n=(0,d.useState)(e.collapsed),t=(0,l.Z)(n,2),o=t[0],r=t[1],i=(0,d.useState)(!1),a=(0,l.Z)(i,2),c=a[0],u=a[1];return(0,d.useEffect)((function(){u(!1),setTimeout((function(){r(e.collapsed)}),400)}),[e.collapsed]),e.disable?e.children:(0,Ze.jsx)(bn.Z,{title:e.title,open:!(!o||!e.collapsed)&&c,placement:"right",onOpenChange:u,children:e.children})},jn=xn({scriptUrl:Zn.iconfontUrl}),Sn=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if("string"==typeof e&&""!==e){if(_e(e)||yn(e))return(0,Ze.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,Ze.jsx)(jn,{type:e})}return e},In=function(e){return e&&"string"==typeof e?e.substring(0,1).toUpperCase():null},Mn=(0,an.Z)((function e(n){var t=this;(0,ln.Z)(this,e),(0,o.Z)(this,"props",void 0),(0,o.Z)(this,"getNavMenuItems",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return e.map((function(e){return t.getSubMenuOrItem(e,n,o)})).filter((function(e){return e})).flat(1)})),(0,o.Z)(this,"getSubMenuOrItem",(function(e,n,r){var i=t.props,a=i.subMenuItemRender,l=i.baseClassName,u=i.prefixCls,s=i.collapsed,d=i.menu,p=i.iconPrefixes,m=i.layout,h="group"===(null==d?void 0:d.type)&&"top"!==m,f=t.props.token,v=t.getIntlName(e),g=(null==e?void 0:e.children)||(null==e?void 0:e.routes),x=h&&0===n?"group":void 0;if(Array.isArray(g)&&g.length>0){var y,b,C,Z,k,w,j,S=0===n||h&&1===n,I=Sn(e.icon,p,"".concat(l,"-icon ").concat(null===(y=t.props)||void 0===y?void 0:y.hashId)),M=s&&S?In(v):null,B=(0,Ze.jsxs)("div",{className:ge()("".concat(l,"-item-title"),null===(b=t.props)||void 0===b?void 0:b.hashId,(C={},(0,o.Z)(C,"".concat(l,"-item-title-collapsed"),s),(0,o.Z)(C,"".concat(l,"-item-title-collapsed-level-").concat(r),s),(0,o.Z)(C,"".concat(l,"-group-item-title"),"group"===x),(0,o.Z)(C,"".concat(l,"-item-collapsed-show-title"),(null==d?void 0:d.collapsedShowTitle)&&s),C)),children:["group"===x&&s?null:S&&I?(0,Ze.jsx)("span",{className:"".concat(l,"-item-icon ").concat(null===(Z=t.props)||void 0===Z?void 0:Z.hashId).trim(),children:I}):M,(0,Ze.jsx)("span",{className:ge()("".concat(l,"-item-text"),null===(k=t.props)||void 0===k?void 0:k.hashId,(0,o.Z)({},"".concat(l,"-item-text-has-icon"),"group"!==x&&S&&(I||M))),children:v})]}),T=a?a((0,c.Z)((0,c.Z)({},e),{},{isUrl:!1}),B,t.props):B;if(h&&0===n&&t.props.collapsed&&!d.collapsedShowGroupTitle)return t.getNavMenuItems(g,n+1,n);var R=t.getNavMenuItems(g,n+1,h&&0===n&&t.props.collapsed?n:n+1);return[{type:x,key:e.key||e.path,label:T,onClick:h?void 0:e.onTitleClick,children:R,className:ge()((w={},(0,o.Z)(w,"".concat(l,"-group"),"group"===x),(0,o.Z)(w,"".concat(l,"-submenu"),"group"!==x),(0,o.Z)(w,"".concat(l,"-submenu-has-icon"),"group"!==x&&S&&I),w))},h&&0===n?{type:"divider",prefixCls:u,className:"".concat(l,"-divider"),key:(e.key||e.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:t.props.collapsed?"4px":"6px 16px",marginBlockStart:t.props.collapsed?4:8,borderColor:null==f||null===(j=f.layout)||void 0===j||null===(j=j.sider)||void 0===j?void 0:j.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(l,"-menu-item"),disabled:e.disabled,key:e.key||e.path,onClick:e.onTitleClick,label:t.getMenuItemPath(e,n,r)}})),(0,o.Z)(this,"getIntlName",(function(e){var n=e.name,o=e.locale,r=t.props,i=r.menu,a=r.formatMessage;return o&&!1!==(null==i?void 0:i.locale)?null==a?void 0:a({id:o,defaultMessage:n}):n})),(0,o.Z)(this,"getMenuItemPath",(function(e,n,r){var i,a,l,u,s,d,p,m,h,f=t.conversionPath(e.path||"/"),v=t.props,g=v.location,x=void 0===g?{pathname:"/"}:g,y=v.isMobile,b=v.onCollapse,C=v.menuItemRender,Z=v.iconPrefixes,k=t.getIntlName(e),w=t.props,j=w.baseClassName,S=w.menu,I=w.collapsed,M="group"===(null==S?void 0:S.type),B=0===n||M&&1===n,T=B?Sn(e.icon,Z,"".concat(j,"-icon ").concat(null===(i=t.props)||void 0===i?void 0:i.hashId)):null,R=I&&B?In(k):null,E=(0,Ze.jsxs)("div",{className:ge()("".concat(j,"-item-title"),null===(a=t.props)||void 0===a?void 0:a.hashId,(l={},(0,o.Z)(l,"".concat(j,"-item-title-collapsed"),I),(0,o.Z)(l,"".concat(j,"-item-title-collapsed-level-").concat(r),I),(0,o.Z)(l,"".concat(j,"-item-collapsed-show-title"),(null==S?void 0:S.collapsedShowTitle)&&I),l)),children:[(0,Ze.jsx)("span",{className:"".concat(j,"-item-icon ").concat(null===(u=t.props)||void 0===u?void 0:u.hashId).trim(),style:{display:null!==R||T?"":"none"},children:T||(0,Ze.jsx)("span",{className:"anticon",children:R})}),(0,Ze.jsx)("span",{className:ge()("".concat(j,"-item-text"),null===(s=t.props)||void 0===s?void 0:s.hashId,(0,o.Z)({},"".concat(j,"-item-text-has-icon"),B&&(T||R))),children:k})]},f),H=_e(f);H&&(E=(0,Ze.jsxs)("span",{onClick:function(){var e,n;null===(e=window)||void 0===e||null===(n=e.open)||void 0===n||n.call(e,f,"_blank")},className:ge()("".concat(j,"-item-title"),null===(d=t.props)||void 0===d?void 0:d.hashId,(p={},(0,o.Z)(p,"".concat(j,"-item-title-collapsed"),I),(0,o.Z)(p,"".concat(j,"-item-title-collapsed-level-").concat(r),I),(0,o.Z)(p,"".concat(j,"-item-link"),!0),(0,o.Z)(p,"".concat(j,"-item-collapsed-show-title"),(null==S?void 0:S.collapsedShowTitle)&&I),p)),children:[(0,Ze.jsx)("span",{className:"".concat(j,"-item-icon ").concat(null===(m=t.props)||void 0===m?void 0:m.hashId).trim(),style:{display:null!==R||T?"":"none"},children:T||(0,Ze.jsx)("span",{className:"anticon",children:R})}),(0,Ze.jsx)("span",{className:ge()("".concat(j,"-item-text"),null===(h=t.props)||void 0===h?void 0:h.hashId,(0,o.Z)({},"".concat(j,"-item-text-has-icon"),B&&(T||R))),children:k})]},f));if(C){var N=(0,c.Z)((0,c.Z)({},e),{},{isUrl:H,itemPath:f,isMobile:y,replace:f===x.pathname,onClick:function(){return b&&b(!0)},children:void 0});return 0===n?(0,Ze.jsx)(wn,{collapsed:I,title:k,disable:e.disabledTooltip,children:C(N,E,t.props)}):C(N,E,t.props)}return 0===n?(0,Ze.jsx)(wn,{collapsed:I,title:k,disable:e.disabledTooltip,children:E}):E})),(0,o.Z)(this,"conversionPath",(function(e){return e&&0===e.indexOf("http")?e:"/".concat(e||"").replace(/\/+/g,"/")})),this.props=n})),Bn=function(e){var n,t=e.mode,r=e.className,i=e.handleOpenChange,a=e.style,p=e.menuData,m=e.prefixCls,h=e.menu,f=e.matchMenuKeys,v=e.iconfontUrl,g=e.selectedKeys,x=e.onSelect,y=e.menuRenderType,b=e.openKeys,C=(0,d.useContext)(u.L_),Z=C.dark,k=C.token,w="".concat(m,"-base-menu-").concat(t),j=(0,d.useRef)([]),S=(0,s.Z)(null==h?void 0:h.defaultOpenAll),I=(0,l.Z)(S,2),M=I[0],B=I[1],T=(0,s.Z)((function(){return null!=h&&h.defaultOpenAll?Ae(p)||[]:!1!==b&&[]}),{value:!1===b?void 0:b,onChange:i}),R=(0,l.Z)(T,2),E=R[0],H=R[1],N=(0,s.Z)([],{value:g,onChange:x?function(e){x&&e&&x(e)}:void 0}),A=(0,l.Z)(N,2),L=A[0],z=A[1];(0,d.useEffect)((function(){null!=h&&h.defaultOpenAll||!1===b||f&&(H(f),z(f))}),[f.join("-")]),(0,d.useEffect)((function(){v&&(jn=xn({scriptUrl:v}))}),[v]),(0,d.useEffect)((function(){if(f.join("-")!==(L||[]).join("-")&&z(f),M||!1===b||f.join("-")===(E||[]).join("-"))null!=h&&h.ignoreFlatMenu&&M?H(Ae(p)):B(!1);else{var e=f;!1===(null==h?void 0:h.autoClose)&&(e=Array.from(new Set([].concat((0,rn.Z)(f),(0,rn.Z)(E||[]))))),H(e)}}),[f.join("-")]);var P=(0,d.useMemo)((function(){return function(e,n){var t=n.layout,o=n.collapsed,r={};return e&&!o&&["side","mix"].includes(t||"mix")&&(r={openKeys:e}),r}(E,e)}),[E&&E.join(","),e.layout,e.collapsed]),O=function(e,n){return(0,Te.Xj)("ProLayoutBaseMenu"+n,(function(t){var o=(0,c.Z)((0,c.Z)({},t),{},{componentCls:".".concat(e)});return[kn(o,n||"inline")]}))}(w,t),D=O.wrapSSR,W=O.hashId,F=(0,d.useMemo)((function(){return new Mn((0,c.Z)((0,c.Z)({},e),{},{token:k,menuRenderType:y,baseClassName:w,hashId:W}))}),[e,k,y,w,W]);if(null!=h&&h.loading)return(0,Ze.jsx)("div",{style:null!=t&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,Ze.jsx)(Cn.Z,{active:!0,title:!1,paragraph:{rows:null!=t&&t.includes("inline")?6:1}})});!1!==e.openKeys||e.handleOpenChange||(j.current=f);var _=e.postMenuData?e.postMenuData(p):p;return _&&(null==_?void 0:_.length)<1?null:D((0,d.createElement)(Qe.Z,(0,c.Z)((0,c.Z)({},P),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:j.current,theme:Z?"dark":"light",selectedKeys:L,style:(0,c.Z)({backgroundColor:"transparent",border:"none"},a),className:ge()(r,W,w,(n={},(0,o.Z)(n,"".concat(w,"-horizontal"),"horizontal"===t),(0,o.Z)(n,"".concat(w,"-collapsed"),e.collapsed),n)),items:F.getNavMenuItems(_,0,0),onOpenChange:function(n){e.collapsed||H(n)}},e.menuProps)))};var Tn=["title","render"],Rn=d.memo((function(e){return(0,Ze.jsx)(Ze.Fragment,{children:e.children})})),En=fe.Z.Sider,Hn=fe.Z._InternalSiderContext,Nn=void 0===Hn?{Provider:Rn}:Hn,An=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"menuHeaderRender",t=e.logo,o=e.title,r=e.layout,i=e[n];if(!1===i)return null;var a=$e(t),l=(0,Ze.jsx)("h1",{children:null!=o?o:"Ant Design Pro"});return i?i(a,e.collapsed?null:l,e):e.isMobile?null:("mix"!==r||"menuHeaderRender"!==n)&&(e.collapsed?(0,Ze.jsx)("a",{children:a},"title"):(0,Ze.jsxs)("a",{children:[a,l]},"title"))},Ln=function(e){var n,t,r=e.collapsed,i=e.originCollapsed,l=e.fixSiderbar,s=e.menuFooterRender,p=e.onCollapse,m=e.theme,h=e.siderWidth,f=e.isMobile,v=e.onMenuHeaderClick,g=e.breakpoint,x=void 0===g?"lg":g,y=e.style,b=e.layout,C=e.menuExtraRender,Z=void 0!==C&&C,k=e.links,w=e.menuContentRender,j=e.collapsedButtonRender,S=e.prefixCls,I=e.avatarProps,M=e.rightContentRender,B=e.actionsRender,T=e.onOpenChange,R=e.stylish,E=e.logoStyle,H=(0,d.useContext)(u.L_).hashId,N=(0,d.useMemo)((function(){return!f&&"mix"!==b}),[f,b]),A="".concat(S,"-sider"),L=64,z=function(e,n){var t=n.stylish,r=n.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutSiderMenuStylish",(function(n){var i=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:r});return t?[(0,o.Z)({},"div".concat(n.proComponentsCls,"-layout"),(0,o.Z)({},"".concat(i.componentCls),null==t?void 0:t(i)))]:[]}))}("".concat(A,".").concat(A,"-stylish"),{stylish:R,proLayoutCollapsedWidth:L}),P=ge()("".concat(A),H,(n={},(0,o.Z)(n,"".concat(A,"-fixed"),l),(0,o.Z)(n,"".concat(A,"-fixed-mix"),"mix"===b&&!f&&l),(0,o.Z)(n,"".concat(A,"-collapsed"),e.collapsed),(0,o.Z)(n,"".concat(A,"-layout-").concat(b),b&&!f),(0,o.Z)(n,"".concat(A,"-light"),"dark"!==m),(0,o.Z)(n,"".concat(A,"-mix"),"mix"===b&&!f),(0,o.Z)(n,"".concat(A,"-stylish"),!!R),n)),O=An(e),D=Z&&Z(e),W=(0,d.useMemo)((function(){return!1!==w&&(0,d.createElement)(Bn,(0,c.Z)((0,c.Z)({},e),{},{key:"base-menu",mode:r&&!f?"vertical":"inline",handleOpenChange:T,style:{width:"100%"},className:"".concat(A,"-menu ").concat(H).trim()}))}),[A,H,w,T,e]),F=(k||[]).map((function(e,n){return{className:"".concat(A,"-link"),label:e,key:n}})),_=(0,d.useMemo)((function(){return w?w(e,W):W}),[w,W,e]),G=(0,d.useMemo)((function(){if(!I)return null;var e=I.title,n=I.render,t=(0,a.Z)(I,Tn),o=(0,Ze.jsxs)("div",{className:"".concat(A,"-actions-avatar"),children:[null!=t&&t.src||null!=t&&t.srcSet||t.icon||t.children?(0,Ze.jsx)(qe.C,(0,c.Z)({size:28},t)):null,I.title&&!r&&(0,Ze.jsx)("span",{children:e})]});return n?n(I,o):o}),[I,A,r]),U=(0,d.useMemo)((function(){return B?(0,Ze.jsx)(Je.Z,{align:"center",size:4,direction:r?"vertical":"horizontal",className:ge()(["".concat(A,"-actions-list"),r&&"".concat(A,"-actions-list-collapsed"),H]),children:null==B?void 0:B(e).map((function(e,n){return(0,Ze.jsx)("div",{className:"".concat(A,"-actions-list-item ").concat(H).trim(),children:e},n)}))}):null}),[B,A,r]),K=(0,d.useMemo)((function(){return(0,Ze.jsx)(Ye,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})}),[e.appList,e.prefixCls]),X=(0,d.useMemo)((function(){if(!1===j)return null;var e=(0,Ze.jsx)(on,{isMobile:f,collapsed:i,className:"".concat(A,"-collapsed-button"),onClick:function(){null==p||p(!i)}});return j?j(r,e):e}),[j,f,i,A,r,p]),V=(0,d.useMemo)((function(){return G||U?(0,Ze.jsxs)("div",{className:ge()("".concat(A,"-actions"),H,r&&"".concat(A,"-actions-collapsed")),children:[G,U]}):null}),[U,G,A,r,H]),$=(0,d.useMemo)((function(){var n;return null!=e&&null!==(n=e.menu)&&void 0!==n&&n.hideMenuWhenCollapsed&&r?"".concat(A,"-hide-menu-collapsed"):null}),[A,r,null==e||null===(t=e.menu)||void 0===t?void 0:t.hideMenuWhenCollapsed]),Y=s&&(null==s?void 0:s(e)),q=(0,Ze.jsxs)(Ze.Fragment,{children:[O&&(0,Ze.jsxs)("div",{className:ge()([ge()("".concat(A,"-logo"),H,(0,o.Z)({},"".concat(A,"-logo-collapsed"),r))]),onClick:N?v:void 0,id:"logo",style:E,children:[O,K]}),D&&(0,Ze.jsx)("div",{className:ge()(["".concat(A,"-extra"),!O&&"".concat(A,"-extra-no-logo"),H]),children:D}),(0,Ze.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:_}),(0,Ze.jsxs)(Nn.Provider,{value:{},children:[k?(0,Ze.jsx)("div",{className:"".concat(A,"-links ").concat(H).trim(),children:(0,Ze.jsx)(Qe.Z,{inlineIndent:16,className:"".concat(A,"-link-menu ").concat(H).trim(),selectedKeys:[],openKeys:[],theme:m,mode:"inline",items:F})}):null,N&&(0,Ze.jsxs)(Ze.Fragment,{children:[V,!U&&M?(0,Ze.jsx)("div",{className:ge()("".concat(A,"-actions"),H,(0,o.Z)({},"".concat(A,"-actions-collapsed"),r)),children:null==M?void 0:M(e)}):null]}),Y&&(0,Ze.jsx)("div",{className:ge()(["".concat(A,"-footer"),H,(0,o.Z)({},"".concat(A,"-footer-collapsed"),r)]),children:Y})]})]});return z.wrapSSR((0,Ze.jsxs)(Ze.Fragment,{children:[l&&!f&&!$&&(0,Ze.jsx)("div",{style:(0,c.Z)({width:r?L:h,overflow:"hidden",flex:"0 0 ".concat(r?L:h,"px"),maxWidth:r?L:h,minWidth:r?L:h,transition:"all 0.2s ease 0s"},y)}),(0,Ze.jsxs)(En,{collapsible:!0,trigger:null,collapsed:r,breakpoint:!1===x?void 0:x,onCollapse:function(e){f||null==p||p(e)},collapsedWidth:L,style:y,theme:m,width:h,className:ge()(P,H,$),children:[$?(0,Ze.jsx)("div",{className:"".concat(A,"-hide-when-collapsed ").concat(H).trim(),style:{height:"100%",width:"100%",opacity:$?0:1},children:q}):q,X]})]}))},zn=t(10178),Pn=t(48555),On=function(e){var n,t,r,i,a;return(0,o.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:null===(r=e.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorTextRightActionsItem,"> div":{height:"44px",color:null===(i=e.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.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}}}}})};var Dn=["rightContentRender","avatarProps","actionsRender","headerContentRender"],Wn=["title","render"],Fn=function(e){var n=e.rightContentRender,t=e.avatarProps,u=e.actionsRender,s=(e.headerContentRender,(0,a.Z)(e,Dn)),p=(0,d.useContext)(he.ZP.ConfigContext).getPrefixCls,m="".concat(p(),"-pro-global-header"),h=function(e){return(0,Te.Xj)("ProLayoutRightContent",(function(n){var t=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e)});return[On(t)]}))}(m),f=h.wrapSSR,v=h.hashId,g=(0,d.useState)("auto"),x=(0,l.Z)(g,2),y=x[0],b=x[1],C=(0,d.useMemo)((function(){if(!t)return null;var e=t.title,n=t.render,o=(0,a.Z)(t,Wn),r=[null!=o&&o.src||null!=o&&o.srcSet||o.icon||o.children?(0,d.createElement)(qe.C,(0,c.Z)((0,c.Z)({},o),{},{size:28,key:"avatar"})):null,e?(0,Ze.jsx)("span",{style:{marginInlineStart:8},children:e},"name"):void 0];return n?n(t,(0,Ze.jsx)("div",{children:r})):(0,Ze.jsx)("div",{children:r})}),[t]),Z=u||C?function(e){var n=u&&(null==u?void 0:u(e));return n||C?(Array.isArray(n)||(n=[n]),f((0,Ze.jsxs)("div",{className:"".concat(m,"-header-actions ").concat(v).trim(),children:[n.filter(Boolean).map((function(e,n){var t,r=!1;d.isValidElement(e)&&(r=!(null==e||null===(t=e.props)||void 0===t||!t["aria-hidden"]));return(0,Ze.jsx)("div",{className:ge()("".concat(m,"-header-actions-item ").concat(v),(0,o.Z)({},"".concat(m,"-header-actions-hover"),!r)),children:e},n)})),C&&(0,Ze.jsx)("span",{className:"".concat(m,"-header-actions-avatar ").concat(v).trim(),children:C})]}))):null}:void 0,k=(0,zn.D)(function(){var e=(0,i.Z)((0,r.Z)().mark((function e(n){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:b(n);case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),160),w=Z||n;return(0,Ze.jsx)("div",{className:"".concat(m,"-right-content ").concat(v).trim(),style:{minWidth:y,height:"100%"},children:(0,Ze.jsx)("div",{style:{height:"100%"},children:(0,Ze.jsx)(Pn.Z,{onResize:function(e){var n=e.width;k.run(n)},children:w?(0,Ze.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:w((0,c.Z)((0,c.Z)({},s),{},{rightContentSize:y}))}):null})})})},_n=function(e){var n,t;return(0,o.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,o.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max(((null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};var Gn=function(e){var n,t,r,i,a,l,s,p=(0,d.useRef)(null),m=e.onMenuHeaderClick,h=e.contentWidth,f=e.rightContentRender,v=e.className,g=e.style,y=e.headerContentRender,b=e.layout,C=e.actionsRender,Z=(0,d.useContext)(he.ZP.ConfigContext).getPrefixCls,k=(0,d.useContext)(u.L_).dark,w="".concat(e.prefixCls||Z("pro"),"-top-nav-header"),j=function(e){return(0,Te.Xj)("ProLayoutTopNavHeader",(function(n){var t=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e)});return[_n(t)]}))}(w),S=j.wrapSSR,I=j.hashId,M=void 0;void 0!==e.menuHeaderRender?M="menuHeaderRender":"mix"!==b&&"top"!==b||(M="headerTitleRender");var B=An((0,c.Z)((0,c.Z)({},e),{},{collapsed:!1}),M),T=(0,d.useContext)(u.L_).token,R=(0,d.useMemo)((function(){var n,t,o,r,i,a,l,s,d,p,m,h,f,v=(0,Ze.jsx)(he.ZP,{theme:{hashed:(0,u.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,c.Z)({},x({colorItemBg:(null===(n=T.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgHeader)||"transparent",colorSubItemBg:(null===(t=T.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorBgHeader)||"transparent",radiusItem:T.borderRadius,colorItemBgSelected:(null===(o=T.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorBgMenuItemSelected)||(null==T?void 0:T.colorBgTextHover),itemHoverBg:(null===(r=T.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorBgMenuItemHover)||(null==T?void 0:T.colorBgTextHover),colorItemBgSelectedHorizontal:(null===(i=T.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorBgMenuItemSelected)||(null==T?void 0:T.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(null===(a=T.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorTextMenu)||(null==T?void 0:T.colorTextSecondary),colorItemTextHoverHorizontal:(null===(l=T.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorTextMenuActive)||(null==T?void 0:T.colorText),colorItemTextSelectedHorizontal:(null===(s=T.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.colorTextMenuSelected)||(null==T?void 0:T.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:(null===(d=T.layout)||void 0===d||null===(d=d.header)||void 0===d?void 0:d.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:(null===(p=T.layout)||void 0===p||null===(p=p.header)||void 0===p?void 0:p.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:(null===(m=T.layout)||void 0===m||null===(m=m.header)||void 0===m?void 0:m.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:null==T?void 0:T.colorBgElevated,darkPopupBg:null==T?void 0:T.colorBgElevated}))},token:{colorBgElevated:(null===(h=T.layout)||void 0===h||null===(h=h.header)||void 0===h?void 0:h.colorBgHeader)||"transparent"}},children:(0,Ze.jsx)(Bn,(0,c.Z)((0,c.Z)((0,c.Z)({theme:k?"dark":"light"},e),{},{className:"".concat(w,"-base-menu ").concat(I).trim()},e.menuProps),{},{style:(0,c.Z)({width:"100%"},null===(f=e.menuProps)||void 0===f?void 0:f.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return y?y(e,v):v}),[null===(n=T.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgHeader,null===(t=T.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorBgMenuItemSelected,null===(r=T.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorBgMenuItemHover,null===(i=T.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorTextMenu,null===(a=T.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorTextMenuActive,null===(l=T.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorTextMenuSelected,null===(s=T.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.colorBgMenuElevated,T.borderRadius,null==T?void 0:T.colorBgTextHover,null==T?void 0:T.colorTextSecondary,null==T?void 0:T.colorText,null==T?void 0:T.colorTextBase,T.colorBgElevated,k,e,w,I,y]);return S((0,Ze.jsx)("div",{className:ge()(w,I,v,(0,o.Z)({},"".concat(w,"-light"),!0)),style:g,children:(0,Ze.jsxs)("div",{ref:p,className:ge()("".concat(w,"-main"),I,(0,o.Z)({},"".concat(w,"-wide"),"Fixed"===h&&"top"===b)),children:[B&&(0,Ze.jsxs)("div",{className:ge()("".concat(w,"-main-left ").concat(I)),onClick:m,children:[(0,Ze.jsx)(Ye,(0,c.Z)({},e)),(0,Ze.jsx)("div",{className:"".concat(w,"-logo ").concat(I).trim(),id:"logo",children:B},"logo")]}),(0,Ze.jsx)("div",{style:{flex:1},className:"".concat(w,"-menu ").concat(I).trim(),children:R}),(f||C||e.avatarProps)&&(0,Ze.jsx)(Fn,(0,c.Z)((0,c.Z)({rightContentRender:f},e),{},{prefixCls:w}))]})}))},Un=function(e){var n,t,r,i;return(0,o.Z)({},e.componentCls,(i={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:(null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,o.Z)(i,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,o.Z)(i,"&-collapsed-button",{minHeight:"22px",color:null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,o.Z)(i,"&-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===(r=e.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),(0,o.Z)(i,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),i))};var Kn=function(e,n){return!1===e?null:e?e(n,null):n},Xn=function(e){var n,t=e.isMobile,r=e.logo,i=e.collapsed,a=e.onCollapse,l=e.rightContentRender,u=e.menuHeaderRender,s=e.onMenuHeaderClick,p=e.className,m=e.style,h=e.layout,f=e.children,v=e.splitMenus,g=e.menuData,x=e.prefixCls,y=(0,d.useContext)(he.ZP.ConfigContext),b=y.getPrefixCls,C=y.direction,Z="".concat(x||b("pro"),"-global-header"),k=function(e){return(0,Te.Xj)("ProLayoutGlobalHeader",(function(n){var t=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e)});return[Un(t)]}))}(Z),w=k.wrapSSR,j=k.hashId,S=ge()(p,Z,j);if("mix"===h&&!t&&v){var I=Le((g||[]).map((function(e){return(0,c.Z)((0,c.Z)({},e),{},{children:void 0,routes:void 0})})));return(0,Ze.jsx)(Gn,(0,c.Z)((0,c.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:I}))}var M=ge()("".concat(Z,"-logo"),j,(n={},(0,o.Z)(n,"".concat(Z,"-logo-rtl"),"rtl"===C),(0,o.Z)(n,"".concat(Z,"-logo-mix"),"mix"===h),(0,o.Z)(n,"".concat(Z,"-logo-mobile"),t),n)),B=(0,Ze.jsx)("span",{className:M,children:(0,Ze.jsx)("a",{children:$e(r)})},"logo");return w((0,Ze.jsxs)("div",{className:S,style:(0,c.Z)({},m),children:[t&&(0,Ze.jsx)("span",{className:"".concat(Z,"-collapsed-button ").concat(j).trim(),onClick:function(){null==a||a(!i)},children:(0,Ze.jsx)(Oe,{})}),t&&Kn(u,B),"mix"===h&&!t&&(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)(Ye,(0,c.Z)({},e)),(0,Ze.jsx)("div",{className:M,onClick:s,children:An((0,c.Z)((0,c.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,Ze.jsx)("div",{style:{flex:1},children:f}),(l||e.actionsRender||e.avatarProps)&&(0,Ze.jsx)(Fn,(0,c.Z)({rightContentRender:l},e))]}))},Vn=function(e){var n,t,r,i;return(0,o.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,o.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:(null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat((null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:(null===(r=e.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.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===(i=e.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.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)"}}))};var $n=fe.Z.Header,Yn=function(e){var n,t,r,i,a=e.isMobile,s=e.fixedHeader,p=e.className,m=e.style,h=e.collapsed,f=e.prefixCls,v=e.onCollapse,g=e.layout,x=e.headerRender,y=e.headerContentRender,b=(0,d.useContext)(u.L_).token,C=(0,d.useContext)(he.ZP.ConfigContext),Z=(0,d.useState)(!1),k=(0,l.Z)(Z,2),w=k[0],j=k[1],S=s||"mix"===g,I=(0,d.useCallback)((function(){var n="top"===g,t=Le(e.menuData||[]),o=(0,Ze.jsx)(Xn,(0,c.Z)((0,c.Z)({onCollapse:v},e),{},{menuData:t,children:y&&y(e,null)}));return n&&!a&&(o=(0,Ze.jsx)(Gn,(0,c.Z)((0,c.Z)({mode:"horizontal",onCollapse:v},e),{},{menuData:t}))),x&&"function"==typeof x?x(e,o):o}),[y,x,a,g,v,e]);(0,d.useEffect)((function(){var e,n=(null==C||null===(e=C.getTargetContainer)||void 0===e?void 0:e.call(C))||document.body,t=function(){var e;return n.scrollTop>((null===(e=b.layout)||void 0===e||null===(e=e.header)||void 0===e?void 0:e.heightLayoutHeader)||56)&&!w?(j(!0),!0):(w&&j(!1),!1)};if(S&&"undefined"!=typeof window)return n.addEventListener("scroll",t,{passive:!0}),function(){n.removeEventListener("scroll",t)}}),[null===(n=b.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader,S,w]);var M="top"===g,B="".concat(f,"-layout-header"),T=function(e){return(0,Te.Xj)("ProLayoutHeader",(function(n){var t=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e)});return[Vn(t)]}))}(B),R=T.wrapSSR,E=T.hashId,H=function(e,n){var t=n.stylish,r=n.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutHeaderStylish",(function(n){var i=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:r});return t?[(0,o.Z)({},"div".concat(n.proComponentsCls,"-layout"),(0,o.Z)({},"".concat(i.componentCls),null==t?void 0:t(i)))]:[]}))}("".concat(B,".").concat(B,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),N=ge()(p,E,B,(t={},(0,o.Z)(t,"".concat(B,"-fixed-header"),S),(0,o.Z)(t,"".concat(B,"-fixed-header-scroll"),w),(0,o.Z)(t,"".concat(B,"-mix"),"mix"===g),(0,o.Z)(t,"".concat(B,"-fixed-header-action"),!h),(0,o.Z)(t,"".concat(B,"-top-menu"),M),(0,o.Z)(t,"".concat(B,"-header"),!0),(0,o.Z)(t,"".concat(B,"-stylish"),!!e.stylish),t));return"side"!==g||a?H.wrapSSR(R((0,Ze.jsx)(Ze.Fragment,{children:(0,Ze.jsxs)(he.ZP,{theme:{hashed:(0,u.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[S&&(0,Ze.jsx)($n,{style:(0,c.Z)({height:(null===(r=b.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.heightLayoutHeader)||56,lineHeight:"".concat((null===(i=b.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},m)}),(0,Ze.jsx)($n,{className:N,style:m,children:I()})]})}))):null},qn=t(83832),Jn=t(85265),Qn=new(t(54548).E4)("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),et=function(e){var n,t,r,i,a,l,c,u,s,d,p,m,h,f,v;return(0,o.Z)({},"".concat(e.proComponentsCls,"-layout"),(v={},(0,o.Z)(v,"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:(null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.colorMenuBackground)||"transparent"}),(0,o.Z)(v,e.componentCls,(m={position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},(0,o.Z)(m,"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.paddingInlineLayoutMenu,paddingBlock:null===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),(0,o.Z)(m,"".concat(e.antCls,"-menu"),(a={},(0,o.Z)(a,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,o.Z)(a,"".concat(e.antCls,"-menu-item:hover"),{color:null===(i=e.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorTextMenuItemHover}),a)),(0,o.Z)(m,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:null===(l=e.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat(null===(c=e.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.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===(u=e.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorTextMenuTitle,animationName:Qn,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,o.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),(0,o.Z)(m,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:null===(s=e.layout)||void 0===s||null===(s=s.sider)||void 0===s?void 0:s.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}}}),(0,o.Z)(m,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,o.Z)(m,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,o.Z)(m,"&-links",{width:"100%",ul:{height:"auto"}}),(0,o.Z)(m,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,o.Z)(m,"&-footer",{color:null===(p=e.layout)||void 0===p||null===(p=p.sider)||void 0===p?void 0:p.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:Qn,animationDuration:".4s",animationTimingFunction:"ease"}),m)),(0,o.Z)(v,"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat((null===(h=e.layout)||void 0===h||null===(h=h.header)||void 0===h?void 0:h.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")}}),v))};var nt=function(e){var n,t=e.isMobile,o=e.siderWidth,r=e.collapsed,i=e.onCollapse,a=e.style,l=e.className,s=e.hide,p=e.prefixCls,m=(0,d.useContext)(u.L_).token;(0,d.useEffect)((function(){!0===t&&(null==i||i(!0))}),[t]);var h=(0,xe.Z)(e,["className","style"]),f=d.useContext(he.ZP.ConfigContext).direction,v=function(e,n){var t=n.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutSiderMenu",(function(n){var o=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e),proLayoutCollapsedWidth:t});return[et(o)]}))}("".concat(p,"-sider"),{proLayoutCollapsedWidth:64}),x=v.wrapSSR,y=v.hashId,b=ge()("".concat(p,"-sider"),l,y);if(s)return null;var C=(0,g.X)(!r,(function(){return null==i?void 0:i(!0)}));return x(t?(0,Ze.jsx)(Jn.Z,(0,c.Z)((0,c.Z)({placement:"rtl"===f?"right":"left",className:ge()("".concat(p,"-drawer-sider"),l)},C),{},{style:(0,c.Z)({padding:0,height:"100vh"},a),onClose:function(){null==i||i(!0)},maskClosable:!0,closable:!1,width:o,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,Ze.jsx)(Ln,(0,c.Z)((0,c.Z)({},h),{},{isMobile:!0,className:b,collapsed:!t&&r,splitMenus:!1,originCollapsed:r}))})):(0,Ze.jsx)(Ln,(0,c.Z)((0,c.Z)({className:b,originCollapsed:r},h),{},{style:a})))},tt=t(76509),ot=t(14779),rt=t.n(ot),it=function(e,n){var t=e.pathname,o=void 0===t?"/":t,r=e.breadcrumb,i=e.breadcrumbMap,a=e.formatMessage,l=e.title,c=e.menu,u=void 0===c?{locale:!1}:c,s=n?"":l||"",d=function(e,n,t){if(t){var o=(0,rn.Z)(t.keys()).find((function(n){return rt()(n).test(e)}));if(o)return t.get(o)}if(n){var r=Object.keys(n).find((function(n){return rt()(n).test(e)}));if(r)return n[r]}return{path:""}}(o,r,i);if(!d)return{title:s,id:"",pageName:s};var p=d.name;return!1!==u.locale&&d.locale&&a&&(p=a({id:d.locale||"",defaultMessage:d.name})),p?n||!l?{title:p,id:d.locale||"",pageName:p}:{title:"".concat(p," - ").concat(l),id:d.locale||"",pageName:p}:{title:s,id:d.locale||"",pageName:s}},at=(0,c.Z)({},{"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success,please replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"}),lt=(0,c.Z)({},{"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalità di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello è visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"}),ct=(0,c.Z)({},{"app.setting.pagestyle":"스타일 설정","app.setting.pagestyle.dark":"다크 모드","app.setting.pagestyle.light":"라이트 모드","app.setting.content-width":"컨텐츠 너비","app.setting.content-width.fixed":"고정","app.setting.content-width.fluid":"흐름","app.setting.themecolor":"테마 색상","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"네비게이션 모드","app.setting.regionalsettings":"영역별 설정","app.setting.regionalsettings.header":"헤더","app.setting.regionalsettings.menu":"메뉴","app.setting.regionalsettings.footer":"바닥글","app.setting.regionalsettings.menuHeader":"메뉴 헤더","app.setting.sidemenu":"메뉴 사이드 배치","app.setting.topmenu":"메뉴 상단 배치","app.setting.mixmenu":"혼합형 배치","app.setting.splitMenus":"메뉴 분리","app.setting.fixedheader":"헤더 고정","app.setting.fixedsidebar":"사이드바 고정","app.setting.fixedsidebar.hint":"'메뉴 사이드 배치'를 선택했을 때 동작함","app.setting.hideheader":"스크롤 중 헤더 감추기","app.setting.hideheader.hint":"'헤더 감추기 옵션'을 선택했을 때 동작함","app.setting.othersettings":"다른 설정","app.setting.weakmode":"고대비 모드","app.setting.copy":"설정값 복사","app.setting.loading":"테마 로딩 중","app.setting.copyinfo":"복사 성공. src/models/settings.js에 있는 defaultSettings를 교체해 주세요.","app.setting.production.hint":"설정 판넬은 개발 환경에서만 보여집니다. 직접 수동으로 변경바랍니다."}),ut={"zh-CN":(0,c.Z)({},{"app.setting.pagestyle":"整体风格设置","app.setting.pagestyle.dark":"暗色菜单风格","app.setting.pagestyle.light":"亮色菜单风格","app.setting.pagestyle.realdark":"暗色风格(实验功能)","app.setting.content-width":"内容区域宽度","app.setting.content-width.fixed":"定宽","app.setting.content-width.fluid":"流式","app.setting.themecolor":"主题色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"极光绿","app.setting.themecolor.techBlue":"科技蓝(默认)","app.setting.themecolor.daybreak":"拂晓","app.setting.themecolor.geekblue":"极客蓝","app.setting.themecolor.purple":"酱紫","app.setting.navigationmode":"导航模式","app.setting.sidermenutype":"侧边菜单类型","app.setting.sidermenutype-sub":"经典模式","app.setting.sidermenutype-group":"分组模式","app.setting.regionalsettings":"内容区域","app.setting.regionalsettings.header":"顶栏","app.setting.regionalsettings.menu":"菜单","app.setting.regionalsettings.footer":"页脚","app.setting.regionalsettings.menuHeader":"菜单头","app.setting.sidemenu":"侧边菜单布局","app.setting.topmenu":"顶部菜单布局","app.setting.mixmenu":"混合菜单布局","app.setting.splitMenus":"自动分割菜单","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定侧边菜单","app.setting.fixedsidebar.hint":"侧边菜单布局时可配置","app.setting.hideheader":"下滑时隐藏 Header","app.setting.hideheader.hint":"固定 Header 时可配置","app.setting.othersettings":"其他设置","app.setting.weakmode":"色弱模式","app.setting.copy":"拷贝设置","app.setting.loading":"正在加载主题","app.setting.copyinfo":"拷贝成功,请到 src/defaultSettings.js 中替换默认配置","app.setting.production.hint":"配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件"}),"zh-TW":(0,c.Z)({},{"app.setting.pagestyle":"整體風格設置","app.setting.pagestyle.dark":"暗色菜單風格","app.setting.pagestyle.realdark":"暗色風格(实验功能)","app.setting.pagestyle.light":"亮色菜單風格","app.setting.content-width":"內容區域寬度","app.setting.content-width.fixed":"定寬","app.setting.content-width.fluid":"流式","app.setting.themecolor":"主題色","app.setting.themecolor.dust":"薄暮","app.setting.themecolor.volcano":"火山","app.setting.themecolor.sunset":"日暮","app.setting.themecolor.cyan":"明青","app.setting.themecolor.green":"極光綠","app.setting.themecolor.techBlue":"科技蓝(默認)","app.setting.themecolor.daybreak":"拂曉藍","app.setting.themecolor.geekblue":"極客藍","app.setting.themecolor.purple":"醬紫","app.setting.navigationmode":"導航模式","app.setting.sidemenu":"側邊菜單布局","app.setting.topmenu":"頂部菜單布局","app.setting.mixmenu":"混合菜單布局","app.setting.splitMenus":"自动分割菜单","app.setting.fixedheader":"固定 Header","app.setting.fixedsidebar":"固定側邊菜單","app.setting.fixedsidebar.hint":"側邊菜單布局時可配置","app.setting.hideheader":"下滑時隱藏 Header","app.setting.hideheader.hint":"固定 Header 時可配置","app.setting.othersettings":"其他設置","app.setting.weakmode":"色弱模式","app.setting.copy":"拷貝設置","app.setting.loading":"正在加載主題","app.setting.copyinfo":"拷貝成功,請到 src/defaultSettings.js 中替換默認配置","app.setting.production.hint":"配置欄只在開發環境用於預覽,生產環境不會展現,請拷貝後手動修改配置文件"}),"en-US":at,"it-IT":lt,"ko-KR":ct},st=function(){var e=(0,f.j)()?window.localStorage.getItem("umi_locale")||window.g_locale||navigator.language:"zh-CN";return ut[e]||ut["zh-CN"]},dt=t(67159),pt=t(34155),mt=function(e){var n,t,r,i,a,l,c,u,s,d,p,m,h,f,v,g,x,y,b,C,Z,k,w,j,S,I,M,B,T,R,E,H,N,A,L,z,P,O,D,W,F;return null!==(n=void 0===pt?dt.Z:(null==pt||null===(pt={NODE_ENV:"production",PUBLIC_PATH:"/"})||void 0===pt?void 0:pt.ANTD_VERSION)||dt.Z)&&void 0!==n&&n.startsWith("5")?{}:(F={},(0,o.Z)(F,e.componentCls,(N={width:"100%",height:"100%"},(0,o.Z)(N,"".concat(e.proComponentsCls,"-base-menu"),(j={color:null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.colorTextMenu},(0,o.Z)(j,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:null===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.colorTextMenu}),(0,o.Z)(j,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,o.Z)(j,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,o.Z)(j,"&".concat(e.antCls,"-menu"),(a={color:null===(i=e.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorTextMenu},(0,o.Z)(a,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,o.Z)(a,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),a)),(0,o.Z)(j,"&".concat(e.antCls,"-menu-inline"),(0,o.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,o.Z)(j,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,o.Z)(j,"".concat(e.antCls,"-menu-item:active, \n ").concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,o.Z)(j,"&".concat(e.antCls,"-menu-light"),(0,o.Z)({},"".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,o.Z)({color:null===(l=e.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorTextMenuActive,borderRadius:e.borderRadius},"".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}))),(0,o.Z)(j,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(m={},(0,o.Z)(m,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:null===(u=e.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,o.Z)(m,"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,o.Z)({color:null===(s=e.layout)||void 0===s||null===(s=s.sider)||void 0===s?void 0:s.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===(p=e.layout)||void 0===p||null===(p=p.sider)||void 0===p?void 0:p.colorTextMenuActive})),m)),(0,o.Z)(j,"".concat(e.antCls,"-menu-item-selected"),{color:null===(h=e.layout)||void 0===h||null===(h=h.sider)||void 0===h?void 0:h.colorTextMenuSelected}),(0,o.Z)(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}),(0,o.Z)(j,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:null===(v=e.layout)||void 0===v||null===(v=v.sider)||void 0===v?void 0:v.colorTextMenuSelected}),(0,o.Z)(j,"&".concat(e.antCls,"-menu-vertical"),(0,o.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:null===(g=e.layout)||void 0===g||null===(g=g.sider)||void 0===g?void 0:g.colorTextMenuSelected})),(0,o.Z)(j,"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:null===(x=e.layout)||void 0===x||null===(x=x.sider)||void 0===x?void 0:x.colorTextMenuActive}),(0,o.Z)(j,"&".concat(e.antCls,"-menu-horizontal"),(w={},(0,o.Z)(w,"".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===(y=e.layout)||void 0===y||null===(y=y.header)||void 0===y?void 0:y.colorTextMenuActive,backgroundColor:"".concat(null===(b=e.layout)||void 0===b||null===(b=b.header)||void 0===b?void 0:b.colorBgMenuItemHover," !important")}),(0,o.Z)(w,"".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,o.Z)({backgroundColor:null===(C=e.layout)||void 0===C||null===(C=C.header)||void 0===C?void 0:C.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat(null===(Z=e.layout)||void 0===Z||null===(Z=Z.header)||void 0===Z?void 0:Z.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat(null===(k=e.layout)||void 0===k||null===(k=k.header)||void 0===k?void 0:k.colorTextMenuSelected," !important")})),(0,o.Z)(w,"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),(0,o.Z)(w,"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"}),w)),j)),(0,o.Z)(N,"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(H={},(0,o.Z)(H,"&".concat(e.antCls,"-menu"),(0,o.Z)({color:null===(S=e.layout)||void 0===S||null===(S=S.header)||void 0===S?void 0:S.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),(0,o.Z)(H,"&".concat(e.antCls,"-menu-light"),(E={},(0,o.Z)(E,"".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,o.Z)({color:null===(I=e.layout)||void 0===I||null===(I=I.header)||void 0===I?void 0:I.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===(B=e.layout)||void 0===B||null===(B=B.header)||void 0===B?void 0:B.colorTextMenuActive})),(0,o.Z)(E,"".concat(e.antCls,"-menu-item-selected"),{color:null===(T=e.layout)||void 0===T||null===(T=T.header)||void 0===T?void 0:T.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:null===(R=e.layout)||void 0===R||null===(R=R.header)||void 0===R?void 0:R.colorBgMenuItemSelected}),E)),H)),N)),(0,o.Z)(F,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,o.Z)(F,"".concat(e.antCls,"-menu-submenu-popup"),(W={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,o.Z)(W,"".concat(e.antCls,"-menu"),(0,o.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,"-menu-item:active, \n ").concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),(0,o.Z)(W,"".concat(e.antCls,"-menu-item-selected"),{color:null===(A=e.layout)||void 0===A||null===(A=A.sider)||void 0===A?void 0:A.colorTextMenuSelected}),(0,o.Z)(W,"".concat(e.antCls,"-menu-submenu-selected"),{color:null===(L=e.layout)||void 0===L||null===(L=L.sider)||void 0===L?void 0:L.colorTextMenuSelected}),(0,o.Z)(W,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(D={},(0,o.Z)(D,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:null===(z=e.layout)||void 0===z||null===(z=z.sider)||void 0===z?void 0:z.colorTextMenuSelected}),(0,o.Z)(D,"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,o.Z)({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===(O=e.layout)||void 0===O||null===(O=O.sider)||void 0===O?void 0:O.colorTextMenuActive})),D)),W)),F)},ht=function(e){var n,t,r,i,a,l;return l={},(0,o.Z)(l,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,o.Z)(l,e.componentCls,(a={},(0,o.Z)(a,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,o.Z)(a,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(null===(n=e.layout)||void 0===n||null===(n=n.pageContainer)||void 0===n?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:null===(t=e.layout)||void 0===t||null===(t=t.pageContainer)||void 0===t?void 0:t.paddingBlockPageContainerContent,paddingInline:null===(r=e.layout)||void 0===r||null===(r=r.pageContainer)||void 0===r?void 0:r.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,o.Z)(a,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,o.Z)(a,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:null===(i=e.layout)||void 0===i?void 0:i.bgLayout}),a)),l};var ft=t(34155),vt=function(e,n,t){var o=e,r=o.breadcrumbName,i=o.title,a=o.path;return t.findIndex((function(n){return n.linkPath===e.path}))===t.length-1?(0,Ze.jsx)("span",{children:i||r}):(0,Ze.jsx)("span",{onClick:a?function(){return location.href=a}:void 0,children:i||r})},gt=function(e,n,t){var o=function(e){if(!e||"/"===e)return["/"];var n=e.split("/").filter((function(e){return e}));return n.map((function(e,t){return"/".concat(n.slice(0,t+1).join("/"))}))}(null==e?void 0:e.pathname).map((function(e){var o=function(e,n){var t=e.get(n);if(!t){var o=(Array.from(e.keys())||[]).find((function(e){return rt()(e.replace("?","")).test(n)}));o&&(t=e.get(o))}return t||{path:""}}(n,e),r=function(e,n){var t=n.formatMessage,o=n.menu;return e.locale&&t&&!1!==(null==o?void 0:o.locale)?t({id:e.locale,defaultMessage:e.name}):e.name}(o,t),i=o.hideInBreadcrumb;return r&&!i?{linkPath:e,breadcrumbName:r,title:r,component:o.component}:{linkPath:"",breadcrumbName:"",title:""}})).filter((function(e){return e&&e.linkPath}));return o},xt=function(e,n){var t=e.breadcrumbRender,o=e.itemRender,r=(n.breadcrumbProps||{}).minLength,i=void 0===r?2:r,a=function(e){var n=function(e){return{location:e.location,breadcrumbMap:e.breadcrumbMap}}(e),t=n.location,o=n.breadcrumbMap;return t&&t.pathname&&o?gt(t,o,e):[]}(e),l=function(e){for(var n=o||vt,t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return null==n?void 0:n.apply(void 0,[(0,c.Z)((0,c.Z)({},e),{},{path:e.linkPath||e.path})].concat(r))},u=a;return t&&(u=t(u||[])||void 0),(u&&u.length<i||!1===t)&&(u=void 0),(0,v.n)(void 0===ft?dt.Z:(null==ft||null===(ft={NODE_ENV:"production",PUBLIC_PATH:"/"})||void 0===ft?void 0:ft.ANTD_VERSION)||dt.Z,"5.3.0")>-1?{items:u,itemRender:l}:{routes:u,itemRender:l}};var yt=function e(n,t,o,r){var i,a=ce(n,(null==t?void 0:t.locale)||!1,o,!0),c=a.menuData,u=a.breadcrumb;return r?e(r(c),t,o,void 0):{breadcrumb:(i=u,(0,rn.Z)(i).reduce((function(e,n){var t=(0,l.Z)(n,2),o=t[0],r=t[1];return e[o]=r,e}),{})),breadcrumbMap:u,menuData:c}},bt=t(71002),Ct=t(51812),Zt=["id","defaultMessage"],kt=["fixSiderbar","navTheme","layout"],wt=0,jt=function(e){var n,t,p,m,v,g,y,b,C,Z,k,w,j,S,I=e||{},M=I.children,B=I.onCollapse,T=I.location,R=void 0===T?{pathname:"/"}:T,E=I.contentStyle,H=I.route,N=I.defaultCollapsed,A=I.style,L=I.siderWidth,z=I.menu,P=I.siderMenuType,O=I.isChildrenLayout,D=I.menuDataRender,W=I.actionRef,F=I.bgLayoutImgList,_=I.formatMessage,G=I.loading,U=(0,d.useMemo)((function(){return L||("mix"===e.layout?215:256)}),[e.layout,L]),K=(0,d.useContext)(he.ZP.ConfigContext),X=null!==(n=e.prefixCls)&&void 0!==n?n:K.getPrefixCls("pro"),V=(0,s.Z)(!1,{value:null==z?void 0:z.loading,onChange:null==z?void 0:z.onLoadingChange}),$=(0,l.Z)(V,2),Y=$[0],q=$[1],J=(0,d.useState)((function(){return"pro-layout-".concat(wt+=1)})),Q=(0,l.Z)(J,1)[0],ee=(0,d.useCallback)((function(e){var n=e.id,t=e.defaultMessage,o=(0,a.Z)(e,Zt);if(_)return _((0,c.Z)({id:n,defaultMessage:t},o));var r=st();return r[n]?r[n]:t}),[_]),ne=(0,be.ZP)([Q,null==z?void 0:z.params],function(){var e=(0,i.Z)((0,r.Z)().mark((function e(n){var t,o,i,a;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(0,l.Z)(n,2),i=o[1],q(!0),e.next=4,null==z||null===(t=z.request)||void 0===t?void 0:t.call(z,i||{},(null==H?void 0:H.children)||(null==H?void 0:H.routes)||[]);case 4:return a=e.sent,q(!1),e.abrupt("return",a);case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),te=ne.data,oe=ne.mutate,re=ne.isLoading;(0,d.useEffect)((function(){q(re)}),[re]);var ie=(0,be.kY)().cache;(0,d.useEffect)((function(){return function(){ie instanceof Map&&ie.delete(Q)}}),[]);var ae=(0,d.useMemo)((function(){return yt(te||(null==H?void 0:H.children)||(null==H?void 0:H.routes)||[],z,ee,D)}),[ee,z,D,te,null==H?void 0:H.children,null==H?void 0:H.routes])||{},le=ae.breadcrumb,ce=ae.breadcrumbMap,ue=ae.menuData,se=void 0===ue?[]:ue;W&&null!=z&&z.request&&(W.current={reload:function(){oe()}});var de=(0,d.useMemo)((function(){return me(R.pathname||"/",se||[],!0)}),[R.pathname,se]),pe=(0,d.useMemo)((function(){return Array.from(new Set(de.map((function(e){return e.key||e.path||""}))))}),[de]),ve=de[de.length-1]||{},Ce=function(e){var n=(0,d.useState)({}),t=(0,l.Z)(n,2),o=t[0],r=t[1];return(0,d.useEffect)((function(){r((0,Ct.Y)({layout:"object"!==(0,bt.Z)(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}(ve),we=(0,c.Z)((0,c.Z)({},e),Ce),je=we.fixSiderbar,Se=(we.navTheme,we.layout),Ie=(0,a.Z)(we,kt),Me=h(),Be=(0,d.useMemo)((function(){return("sm"===Me||"xs"===Me)&&!e.disableMobile}),[Me,e.disableMobile]),Re="top"!==Se&&!Be,Ee=(0,s.Z)((function(){return void 0!==N?N:!!Be||"md"===Me}),{value:e.collapsed,onChange:B}),He=(0,l.Z)(Ee,2),Ae=He[0],ze=He[1],Pe=(0,xe.Z)((0,c.Z)((0,c.Z)((0,c.Z)({prefixCls:X},e),{},{siderWidth:U},Ce),{},{formatMessage:ee,breadcrumb:le,menu:(0,c.Z)((0,c.Z)({},z),{},{type:P||(null==z?void 0:z.type),loading:Y}),layout:Se}),["className","style","breadcrumbRender"]),Oe=function(e,n){var t=n.pageTitleRender,o=it(e);if(!1===t)return{title:n.title||"",id:"",pageName:""};if(t){var r=t(e,o.title,o);if("string"==typeof r)return it((0,c.Z)((0,c.Z)({},o),{},{title:r}));(0,ye.ZP)("string"==typeof r,"pro-layout: renderPageTitle return value should be a string")}return o}((0,c.Z)((0,c.Z)({pathname:R.pathname},Pe),{},{breadcrumbMap:ce}),e),De=xt((0,c.Z)((0,c.Z)({},Pe),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:ce}),e),We=function(e,n){var t,o=e.layout,r=e.isMobile,i=e.selectedKeys,a=e.openKeys,u=e.splitMenus,s=e.suppressSiderWhenMenuEmpty,d=e.menuRender;if(!1===e.menuRender||e.pure)return null;var p=e.menuData;if(u&&(!1!==a||"mix"===o)&&!r){var m,h=i||n,f=(0,l.Z)(h,1)[0];p=f&&(null===(m=e.menuData)||void 0===m||null===(m=m.find((function(e){return e.key===f})))||void 0===m?void 0:m.children)||[]}var v,g=Le(p||[]);if(g&&(null==g?void 0:g.length)<1&&(u||s))return null;if("top"===o&&!r)return(0,Ze.jsx)(nt,(0,c.Z)((0,c.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:null===(v=e.stylish)||void 0===v?void 0:v.sider}));var x=(0,Ze.jsx)(nt,(0,c.Z)((0,c.Z)({matchMenuKeys:n},e),{},{menuData:g,stylish:null===(t=e.stylish)||void 0===t?void 0:t.sider}));return d?d(e,x):x}((0,c.Z)((0,c.Z)({},Pe),{},{menuData:se,onCollapse:ze,isMobile:Be,collapsed:Ae}),pe),Fe=function(e,n){var t;return!1===e.headerRender||e.pure?null:(0,Ze.jsx)(Yn,(0,c.Z)((0,c.Z)({matchMenuKeys:n},e),{},{stylish:null===(t=e.stylish)||void 0===t?void 0:t.header}))}((0,c.Z)((0,c.Z)({},Pe),{},{children:null,hasSiderMenu:!!We,menuData:se,isMobile:Be,collapsed:Ae,onCollapse:ze}),pe),_e=function(e){return!1===e.footerRender||e.pure?null:e.footerRender?e.footerRender((0,c.Z)({},e),(0,Ze.jsx)(Ne,{})):null}((0,c.Z)({isMobile:Be,collapsed:Ae},Pe)),Ge=(0,d.useContext)(tt.X).isChildrenLayout,Ue=void 0!==O?O:Ge,Ke="".concat(X,"-layout"),Xe=function(e){return(0,Te.Xj)("ProLayout",(function(n){var t=(0,c.Z)((0,c.Z)({},n),{},{componentCls:".".concat(e)});return[ht(t),mt(t)]}))}(Ke),Ve=Xe.wrapSSR,$e=Xe.hashId,Ye=ge()(e.className,$e,"ant-design-pro",Ke,(t={},(0,o.Z)(t,"screen-".concat(Me),Me),(0,o.Z)(t,"".concat(Ke,"-top-menu"),"top"===Se),(0,o.Z)(t,"".concat(Ke,"-is-children"),Ue),(0,o.Z)(t,"".concat(Ke,"-fix-siderbar"),je),(0,o.Z)(t,"".concat(Ke,"-").concat(Se),Se),t)),qe=function(e,n,t){return e?n?64:t:0}(!!Re,Ae,U),Je={position:"relative"};(Ue||E&&E.minHeight)&&(Je.minHeight=0),(0,d.useEffect)((function(){var n;null===(n=e.onPageChange)||void 0===n||n.call(e,e.location)}),[R.pathname,null===(p=R.pathname)||void 0===p?void 0:p.search]);var Qe,en,nn,tn=(0,d.useState)(!1),on=(0,l.Z)(tn,2),rn=on[0],an=on[1],ln=(0,d.useState)(0),cn=(0,l.Z)(ln,2),un=cn[0],sn=cn[1];Qe=Oe,en=e.title||!1,nn="string"==typeof Qe.pageName?Qe.title:en,(0,d.useEffect)((function(){(0,f.j)()&&nn&&(document.title=nn)}),[Qe.title,nn]);var dn=(0,d.useMemo)((function(){return F&&F.length>0?F.map((function(e,n){return(0,Ze.jsx)("img",{src:e.src,style:(0,c.Z)({position:"absolute"},e)},n)})):null}),[F]),pn=(0,d.useContext)(u.L_).token;return Ve((0,Ze.jsx)(tt.X.Provider,{value:(0,c.Z)((0,c.Z)({},Pe),{},{breadcrumb:De,menuData:se,isMobile:Be,collapsed:Ae,hasPageContainer:un,setHasPageContainer:sn,isChildrenLayout:!0,title:Oe.pageName,hasSiderMenu:!!We,hasHeader:!!Fe,siderWidth:qe,hasFooter:!!_e,hasFooterToolbar:rn,setHasFooterToolbar:an,pageTitleInfo:Oe,matchMenus:de,matchMenuKeys:pe,currentMenu:ve}),children:e.pure?(0,Ze.jsx)(Ze.Fragment,{children:M}):(0,Ze.jsxs)("div",{className:Ye,children:[(0,Ze.jsx)("div",{className:ge()("".concat(Ke,"-bg-list"),$e),children:dn}),(0,Ze.jsxs)(fe.Z,{style:(0,c.Z)({minHeight:"100%",flexDirection:We?"row":void 0},A),children:[(0,Ze.jsx)(he.ZP,{theme:{hashed:(0,u.nu)(),token:{controlHeightLG:(null===(m=pn.layout)||void 0===m||null===(m=m.sider)||void 0===m?void 0:m.menuHeight)||(null==pn?void 0:pn.controlHeightLG)},components:{Menu:x({colorItemBg:(null===(v=pn.layout)||void 0===v||null===(v=v.sider)||void 0===v?void 0:v.colorMenuBackground)||"transparent",colorSubItemBg:(null===(g=pn.layout)||void 0===g||null===(g=g.sider)||void 0===g?void 0:g.colorMenuBackground)||"transparent",radiusItem:pn.borderRadius,colorItemBgSelected:(null===(y=pn.layout)||void 0===y||null===(y=y.sider)||void 0===y?void 0:y.colorBgMenuItemSelected)||(null==pn?void 0:pn.colorBgTextHover),colorItemBgHover:(null===(b=pn.layout)||void 0===b||null===(b=b.sider)||void 0===b?void 0:b.colorBgMenuItemHover)||(null==pn?void 0:pn.colorBgTextHover),colorItemBgActive:(null===(C=pn.layout)||void 0===C||null===(C=C.sider)||void 0===C?void 0:C.colorBgMenuItemActive)||(null==pn?void 0:pn.colorBgTextActive),colorItemBgSelectedHorizontal:(null===(Z=pn.layout)||void 0===Z||null===(Z=Z.sider)||void 0===Z?void 0:Z.colorBgMenuItemSelected)||(null==pn?void 0:pn.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(null===(k=pn.layout)||void 0===k||null===(k=k.sider)||void 0===k?void 0:k.colorTextMenu)||(null==pn?void 0:pn.colorTextSecondary),colorItemTextHover:(null===(w=pn.layout)||void 0===w||null===(w=w.sider)||void 0===w?void 0:w.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(null===(j=pn.layout)||void 0===j||null===(j=j.sider)||void 0===j?void 0:j.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:null==pn?void 0:pn.colorBgElevated,darkPopupBg:null==pn?void 0:pn.colorBgElevated})}},children:We}),(0,Ze.jsxs)("div",{style:Je,className:"".concat(Ke,"-container ").concat($e).trim(),children:[Fe,(0,Ze.jsx)(ke,(0,c.Z)((0,c.Z)({hasPageContainer:un,isChildrenLayout:Ue},Ie),{},{hasHeader:!!Fe,prefixCls:Ke,style:E,children:G?(0,Ze.jsx)(qn.S,{}):M})),_e,rn&&(0,Ze.jsx)("div",{className:"".concat(Ke,"-has-footer"),style:{height:64,marginBlockStart:null===(S=pn.layout)||void 0===S||null===(S=S.pageContainer)||void 0===S?void 0:S.paddingBlockPageContainerContent}})]})]})]})}))},St=function(e){var n=e.colorPrimary,t=void 0!==e.navTheme?{dark:"realDark"===e.navTheme}:{};return(0,Ze.jsx)(he.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,Ze.jsx)(u._Y,(0,c.Z)((0,c.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,Ze.jsx)(jt,(0,c.Z)((0,c.Z)({logo:(0,Ze.jsx)(we,{})},Zn),{},{location:(0,f.j)()?window.location:void 0},e))}))})}},83832:function(e,n,t){"use strict";t.d(n,{S:function(){return c}});var o=t(1413),r=t(91),i=t(57953),a=(t(62435),t(86074)),l=["isLoading","pastDelay","timedOut","error","retry"],c=function(e){e.isLoading,e.pastDelay,e.timedOut,e.error,e.retry;var n=(0,r.Z)(e,l);return(0,a.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,a.jsx)(i.Z,(0,o.Z)({size:"large"},n))})}},76509:function(e,n,t){"use strict";t.d(n,{X:function(){return o}});var o=(0,t(62435).createContext)({})},94968:function(e,n,t){"use strict";t.d(n,{Z:function(){return U}});var o=t(1413),r=t(62435),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},a=t(97685),l=t(4942),c=t(91),u=t(93967),s=t.n(u),d=(0,r.createContext)({}),p=t(71002),m=t(86500),h=t(1350),f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function v(e){var n=e.r,t=e.g,o=e.b,r=(0,m.py)(n,t,o);return{h:360*r.h,s:r.s,v:r.v}}function g(e){var n=e.r,t=e.g,o=e.b;return"#".concat((0,m.vq)(n,t,o,!1))}function x(e,n,t){var o=t/100;return{r:(n.r-e.r)*o+e.r,g:(n.g-e.g)*o+e.g,b:(n.b-e.b)*o+e.b}}function y(e,n,t){var o;return(o=Math.round(e.h)>=60&&Math.round(e.h)<=240?t?Math.round(e.h)-2*n:Math.round(e.h)+2*n:t?Math.round(e.h)+2*n:Math.round(e.h)-2*n)<0?o+=360:o>=360&&(o-=360),o}function b(e,n,t){return 0===e.h&&0===e.s?e.s:((o=t?e.s-.16*n:4===n?e.s+.16:e.s+.05*n)>1&&(o=1),t&&5===n&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2)));var o}function C(e,n,t){var o;return(o=t?e.v+.05*n:e.v-.15*n)>1&&(o=1),Number(o.toFixed(2))}function Z(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=[],o=(0,h.uA)(e),r=5;r>0;r-=1){var i=v(o),a=g((0,h.uA)({h:y(i,r,!0),s:b(i,r,!0),v:C(i,r,!0)}));t.push(a)}t.push(g(o));for(var l=1;l<=4;l+=1){var c=v(o),u=g((0,h.uA)({h:y(c,l),s:b(c,l),v:C(c,l)}));t.push(u)}return"dark"===n.theme?f.map((function(e){var o=e.index,r=e.opacity;return g(x((0,h.uA)(n.backgroundColor||"#141414"),(0,h.uA)(t[o]),100*r))})):t}var k={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},w={},j={};Object.keys(k).forEach((function(e){w[e]=Z(k[e]),w[e].primary=w[e][5],j[e]=Z(k[e],{theme:"dark",backgroundColor:"#141414"}),j[e].primary=j[e][5]}));w.red,w.volcano,w.gold,w.orange,w.yellow,w.lime,w.green,w.cyan,w.blue,w.geekblue,w.purple,w.magenta,w.grey;var S=t(80334),I=t(44958),M=t(68929),B=t.n(M);function T(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(n,t){var o=e[t];if("class"===t)n.className=o,delete n.class;else delete n[t],n[B()(t)]=o;return n}),{})}function E(e,n,t){return t?r.createElement(e.tag,(0,o.Z)((0,o.Z)({key:n},R(e.attrs)),t),(e.children||[]).map((function(t,o){return E(t,"".concat(n,"-").concat(e.tag,"-").concat(o))}))):r.createElement(e.tag,(0,o.Z)({key:n},R(e.attrs)),(e.children||[]).map((function(t,o){return E(t,"".concat(n,"-").concat(e.tag,"-").concat(o))})))}function H(e){return Z(e)[0]}function N(e){return e?Array.isArray(e)?e:[e]:[]}var A="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",L=["icon","className","onClick","style","primaryColor","secondaryColor"],z={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var P=function(e){var n,t,i=e.icon,a=e.className,l=e.onClick,u=e.style,s=e.primaryColor,p=e.secondaryColor,m=(0,c.Z)(e,L),h=z;if(s&&(h={primaryColor:s,secondaryColor:p||H(s)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,n=(0,r.useContext)(d).csp;(0,r.useEffect)((function(){(0,I.hq)(e,"@ant-design-icons",{prepend:!0,csp:n})}),[])}(),n=T(i),t="icon should be icon definiton, but got ".concat(i),(0,S.ZP)(n,"[@ant-design/icons] ".concat(t)),!T(i))return null;var f=i;return f&&"function"==typeof f.icon&&(f=(0,o.Z)((0,o.Z)({},f),{},{icon:f.icon(h.primaryColor,h.secondaryColor)})),E(f.icon,"svg-".concat(f.name),(0,o.Z)({className:a,onClick:l,style:u,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},m))};P.displayName="IconReact",P.getTwoToneColors=function(){return(0,o.Z)({},z)},P.setTwoToneColors=function(e){var n=e.primaryColor,t=e.secondaryColor;z.primaryColor=n,z.secondaryColor=t||H(n),z.calculated=!!t};var O=P;function D(e){var n=N(e),t=(0,a.Z)(n,2),o=t[0],r=t[1];return O.setTwoToneColors({primaryColor:o,secondaryColor:r})}var W=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];D("#1890ff");var F=r.forwardRef((function(e,n){var t,i=e.className,u=e.icon,p=e.spin,m=e.rotate,h=e.tabIndex,f=e.onClick,v=e.twoToneColor,g=(0,c.Z)(e,W),x=r.useContext(d),y=x.prefixCls,b=void 0===y?"anticon":y,C=x.rootClassName,Z=s()(C,b,(t={},(0,l.Z)(t,"".concat(b,"-").concat(u.name),!!u.name),(0,l.Z)(t,"".concat(b,"-spin"),!!p||"loading"===u.name),t),i),k=h;void 0===k&&f&&(k=-1);var w=m?{msTransform:"rotate(".concat(m,"deg)"),transform:"rotate(".concat(m,"deg)")}:void 0,j=N(v),S=(0,a.Z)(j,2),I=S[0],M=S[1];return r.createElement("span",(0,o.Z)((0,o.Z)({role:"img","aria-label":u.name},g),{},{ref:n,tabIndex:k,onClick:f,className:Z}),r.createElement(O,{icon:u,primaryColor:I,secondaryColor:M,style:w}))}));F.displayName="AntdIcon",F.getTwoToneColor=function(){var e=O.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},F.setTwoToneColor=D;var _=F,G=function(e,n){return r.createElement(_,(0,o.Z)((0,o.Z)({},e),{},{ref:n,icon:i}))};G.displayName="LogoutOutlined";var U=r.forwardRef(G)},47930:function(e,n){function t(e){return t="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},t(e)}function o(e,n){void 0===n&&(n={});for(var t=function(e){for(var n=[],t=0;t<e.length;){var o=e[t];if("*"!==o&&"+"!==o&&"?"!==o)if("\\"!==o)if("{"!==o)if("}"!==o)if(":"!==o)if("("!==o)n.push({type:"CHAR",index:t,value:e[t++]});else{var r=1,i="";if("?"===e[l=t+1])throw new TypeError('Pattern cannot start with "?" at '+l);for(;l<e.length;)if("\\"!==e[l]){if(")"===e[l]){if(0==--r){l++;break}}else if("("===e[l]&&(r++,"?"!==e[l+1]))throw new TypeError("Capturing groups are not allowed at "+l);i+=e[l++]}else i+=e[l++]+e[l++];if(r)throw new TypeError("Unbalanced pattern at "+t);if(!i)throw new TypeError("Missing pattern at "+t);n.push({type:"PATTERN",index:t,value:i}),t=l}else{for(var a="",l=t+1;l<e.length;){var c=e.charCodeAt(l);if(!(c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||95===c))break;a+=e[l++]}if(!a)throw new TypeError("Missing parameter name at "+t);n.push({type:"NAME",index:t,value:a}),t=l}else n.push({type:"CLOSE",index:t,value:e[t++]});else n.push({type:"OPEN",index:t,value:e[t++]});else n.push({type:"ESCAPED_CHAR",index:t++,value:e[t++]});else n.push({type:"MODIFIER",index:t,value:e[t++]})}return n.push({type:"END",index:t,value:""}),n}(e),o=n.prefixes,r=void 0===o?"./":o,i="[^"+a(n.delimiter||"/#?")+"]+?",l=[],c=0,u=0,s="",d=function(e){if(u<t.length&&t[u].type===e)return t[u++].value},p=function(e){var n=d(e);if(void 0!==n)return n;var o=t[u],r=o.type,i=o.index;throw new TypeError("Unexpected "+r+" at "+i+", expected "+e)},m=function(){for(var e,n="";e=d("CHAR")||d("ESCAPED_CHAR");)n+=e;return n};u<t.length;){var h=d("CHAR"),f=d("NAME"),v=d("PATTERN");if(f||v){var g=h||"";-1===r.indexOf(g)&&(s+=g,g=""),s&&(l.push(s),s=""),l.push({name:f||c++,prefix:g,suffix:"",pattern:v||i,modifier:d("MODIFIER")||""})}else{var x=h||d("ESCAPED_CHAR");if(x)s+=x;else if(s&&(l.push(s),s=""),d("OPEN")){g=m();var y=d("NAME")||"",b=d("PATTERN")||"",C=m();p("CLOSE"),l.push({name:y||(b?c++:""),pattern:y&&!b?i:b,prefix:g,suffix:C,modifier:d("MODIFIER")||""})}else p("END")}}return l}function r(e,n){void 0===n&&(n={});var o=l(n),r=n.encode,i=void 0===r?function(e){return e}:r,a=n.validate,c=void 0===a||a,u=e.map((function(e){if("object"===t(e))return new RegExp("^(?:"+e.pattern+")$",o)}));return function(n){for(var t="",o=0;o<e.length;o++){var r=e[o];if("string"!=typeof r){var a=n?n[r.name]:void 0,l="?"===r.modifier||"*"===r.modifier,s="*"===r.modifier||"+"===r.modifier;if(Array.isArray(a)){if(!s)throw new TypeError('Expected "'+r.name+'" to not repeat, but got an array');if(0===a.length){if(l)continue;throw new TypeError('Expected "'+r.name+'" to not be empty')}for(var d=0;d<a.length;d++){var p=i(a[d],r);if(c&&!u[o].test(p))throw new TypeError('Expected all "'+r.name+'" to match "'+r.pattern+'", but got "'+p+'"');t+=r.prefix+p+r.suffix}}else if("string"!=typeof a&&"number"!=typeof a){if(!l){var m=s?"an array":"a string";throw new TypeError('Expected "'+r.name+'" to be '+m)}}else{p=i(String(a),r);if(c&&!u[o].test(p))throw new TypeError('Expected "'+r.name+'" to match "'+r.pattern+'", but got "'+p+'"');t+=r.prefix+p+r.suffix}}else t+=r}return t}}function i(e,n,t){void 0===t&&(t={});var o=t.decode,r=void 0===o?function(e){return e}:o;return function(t){var o=e.exec(t);if(!o)return!1;for(var i=o[0],a=o.index,l=Object.create(null),c=function(e){if(void 0===o[e])return"continue";var t=n[e-1];"*"===t.modifier||"+"===t.modifier?l[t.name]=o[e].split(t.prefix+t.suffix).map((function(e){return r(e,t)})):l[t.name]=r(o[e],t)},u=1;u<o.length;u++)c(u);return{path:i,index:a,params:l}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function l(e){return e&&e.sensitive?"":"i"}function c(e,n,t){void 0===t&&(t={});for(var o=t.strict,r=void 0!==o&&o,i=t.start,c=void 0===i||i,u=t.end,s=void 0===u||u,d=t.encode,p=void 0===d?function(e){return e}:d,m="["+a(t.endsWith||"")+"]|$",h="["+a(t.delimiter||"/#?")+"]",f=c?"^":"",v=0,g=e;v<g.length;v++){var x=g[v];if("string"==typeof x)f+=a(p(x));else{var y=a(p(x.prefix)),b=a(p(x.suffix));if(x.pattern)if(n&&n.push(x),y||b)if("+"===x.modifier||"*"===x.modifier){var C="*"===x.modifier?"?":"";f+="(?:"+y+"((?:"+x.pattern+")(?:"+b+y+"(?:"+x.pattern+"))*)"+b+")"+C}else f+="(?:"+y+"("+x.pattern+")"+b+")"+x.modifier;else f+="("+x.pattern+")"+x.modifier;else f+="(?:"+y+b+")"+x.modifier}}if(s)r||(f+=h+"?"),f+=t.endsWith?"(?="+m+")":"$";else{var Z=e[e.length-1],k="string"==typeof Z?h.indexOf(Z[Z.length-1])>-1:void 0===Z;r||(f+="(?:"+h+"(?="+m+"))?"),k||(f+="(?="+h+"|"+m+")")}return new RegExp(f,l(t))}function u(e,n,t){return e instanceof RegExp?function(e,n){if(!n)return e;var t=e.source.match(/\((?!\?)/g);if(t)for(var o=0;o<t.length;o++)n.push({name:o,prefix:"",suffix:"",modifier:"",pattern:""});return e}(e,n):Array.isArray(e)?function(e,n,t){var o=e.map((function(e){return u(e,n,t).source}));return new RegExp("(?:"+o.join("|")+")",l(t))}(e,n,t):function(e,n,t){return c(o(e,t),n,t)}(e,n,t)}n.Bo=void 0,n.Bo=u},62663:function(e){e.exports=function(e,n,t,o){var r=-1,i=null==e?0:e.length;for(o&&i&&(t=e[++r]);++r<i;)t=n(t,e[r],r,e);return t}},44286:function(e){e.exports=function(e){return e.split("")}},49029:function(e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},18674:function(e){e.exports=function(e){return function(n){return null==e?void 0:e[n]}}},14259:function(e){e.exports=function(e,n,t){var o=-1,r=e.length;n<0&&(n=-n>r?0:r+n),(t=t>r?r:t)<0&&(t+=r),r=n>t?0:t-n>>>0,n>>>=0;for(var i=Array(r);++o<r;)i[o]=e[o+n];return i}},40180:function(e,n,t){var o=t(14259);e.exports=function(e,n,t){var r=e.length;return t=void 0===t?r:t,!n&&t>=r?e:o(e,n,t)}},98805:function(e,n,t){var o=t(40180),r=t(62689),i=t(83140),a=t(79833);e.exports=function(e){return function(n){n=a(n);var t=r(n)?i(n):void 0,l=t?t[0]:n.charAt(0),c=t?o(t,1).join(""):n.slice(1);return l[e]()+c}}},35393:function(e,n,t){var o=t(62663),r=t(53816),i=t(58748),a=RegExp("['’]","g");e.exports=function(e){return function(n){return o(i(r(n).replace(a,"")),e,"")}}},69389:function(e,n,t){var o=t(18674)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=o},62689:function(e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},93157:function(e){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},83140:function(e,n,t){var o=t(44286),r=t(62689),i=t(676);e.exports=function(e){return r(e)?i(e):o(e)}},676:function(e){var n="\\ud800-\\udfff",t="["+n+"]",o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^"+n+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+o+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",s=u+c+("(?:\\u200d(?:"+[i,a,l].join("|")+")"+u+c+")*"),d="(?:"+[i+o+"?",o,a,l,t].join("|")+")",p=RegExp(r+"(?="+r+")|"+d+s,"g");e.exports=function(e){return e.match(p)||[]}},2757:function(e){var n="\\ud800-\\udfff",t="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",l="\\d+",c="["+t+"]",u="["+o+"]",s="[^"+n+i+l+t+o+r+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",m="["+r+"]",h="(?:"+u+"|"+s+")",f="(?:"+m+"|"+s+")",v="(?:['’](?:d|ll|m|re|s|t|ve))?",g="(?:['’](?:D|LL|M|RE|S|T|VE))?",x="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",b=y+x+("(?:\\u200d(?:"+["[^"+n+"]",d,p].join("|")+")"+y+x+")*"),C="(?:"+[c,d,p].join("|")+")"+b,Z=RegExp([m+"?"+u+"+"+v+"(?="+[a,m,"$"].join("|")+")",f+"+"+g+"(?="+[a,m+h,"$"].join("|")+")",m+"?"+h+"+"+v,m+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",l,C].join("|"),"g");e.exports=function(e){return e.match(Z)||[]}},68929:function(e,n,t){var o=t(48403),r=t(35393)((function(e,n,t){return n=n.toLowerCase(),e+(t?o(n):n)}));e.exports=r},48403:function(e,n,t){var o=t(79833),r=t(11700);e.exports=function(e){return r(o(e).toLowerCase())}},53816:function(e,n,t){var o=t(69389),r=t(79833),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=r(e))&&e.replace(i,o).replace(a,"")}},11700:function(e,n,t){var o=t(98805)("toUpperCase");e.exports=o},58748:function(e,n,t){var o=t(49029),r=t(93157),i=t(79833),a=t(2757);e.exports=function(e,n,t){return e=i(e),void 0===(n=t?void 0:n)?r(e)?a(e):o(e):e.match(n)||[]}},14779:function(e){e.exports=c,e.exports.parse=t,e.exports.compile=function(e,n){return o(t(e,n))},e.exports.tokensToFunction=o,e.exports.tokensToRegExp=l;var n=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function t(e,t){for(var o,a=[],l=0,c=0,u="",s=t&&t.delimiter||"/",d=t&&t.delimiters||"./",p=!1;null!==(o=n.exec(e));){var m=o[0],h=o[1],f=o.index;if(u+=e.slice(c,f),c=f+m.length,h)u+=h[1],p=!0;else{var v="",g=e[c],x=o[2],y=o[3],b=o[4],C=o[5];if(!p&&u.length){var Z=u.length-1;d.indexOf(u[Z])>-1&&(v=u[Z],u=u.slice(0,Z))}u&&(a.push(u),u="",p=!1);var k=""!==v&&void 0!==g&&g!==v,w="+"===C||"*"===C,j="?"===C||"*"===C,S=v||s,I=y||b;a.push({name:x||l++,prefix:v,delimiter:S,optional:j,repeat:w,partial:k,pattern:I?i(I):"[^"+r(S)+"]+?"})}}return(u||c<e.length)&&a.push(u+e.substr(c)),a}function o(e){for(var n=new Array(e.length),t=0;t<e.length;t++)"object"==typeof e[t]&&(n[t]=new RegExp("^(?:"+e[t].pattern+")$"));return function(t,o){for(var r="",i=o&&o.encode||encodeURIComponent,a=0;a<e.length;a++){var l=e[a];if("string"!=typeof l){var c,u=t?t[l.name]:void 0;if(Array.isArray(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but got array');if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var s=0;s<u.length;s++){if(c=i(u[s],l),!n[a].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'"');r+=(0===s?l.prefix:l.delimiter)+c}}else if("string"!=typeof u&&"number"!=typeof u&&"boolean"!=typeof u){if(!l.optional)throw new TypeError('Expected "'+l.name+'" to be '+(l.repeat?"an array":"a string"));l.partial&&(r+=l.prefix)}else{if(c=i(String(u),l),!n[a].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but got "'+c+'"');r+=l.prefix+c}}else r+=l}return r}}function r(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e.replace(/([=!:$/()])/g,"\\$1")}function a(e){return e&&e.sensitive?"":"i"}function l(e,n,t){for(var o=(t=t||{}).strict,i=!1!==t.start,l=!1!==t.end,c=r(t.delimiter||"/"),u=t.delimiters||"./",s=[].concat(t.endsWith||[]).map(r).concat("$").join("|"),d=i?"^":"",p=0===e.length,m=0;m<e.length;m++){var h=e[m];if("string"==typeof h)d+=r(h),p=m===e.length-1&&u.indexOf(h[h.length-1])>-1;else{var f=h.repeat?"(?:"+h.pattern+")(?:"+r(h.delimiter)+"(?:"+h.pattern+"))*":h.pattern;n&&n.push(h),h.optional?h.partial?d+=r(h.prefix)+"("+f+")?":d+="(?:"+r(h.prefix)+"("+f+"))?":d+=r(h.prefix)+"("+f+")"}}return l?(o||(d+="(?:"+c+")?"),d+="$"===s?"$":"(?="+s+")"):(o||(d+="(?:"+c+"(?="+s+"))?"),p||(d+="(?="+c+"|"+s+")")),new RegExp(d,a(t))}function c(e,n,o){return e instanceof RegExp?function(e,n){if(!n)return e;var t=e.source.match(/\((?!\?)/g);if(t)for(var o=0;o<t.length;o++)n.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}(e,n):Array.isArray(e)?function(e,n,t){for(var o=[],r=0;r<e.length;r++)o.push(c(e[r],n,t).source);return new RegExp("(?:"+o.join("|")+")",a(t))}(e,n,o):function(e,n,o){return l(t(e,o),n,o)}(e,n,o)}},64599:function(e,n,t){var o=t(96263);e.exports=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=o(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){c=!0,a=e},f:function(){try{l||null==t.return||t.return()}finally{if(c)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports}}]);