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

26 lines
110 KiB

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[970],{79970:function(Ne,Me,C){"use strict";C.d(Me,{f:function(){return Lo}});var l=C(4942),me=C(74165),Te=C(15861),he=C(91),Q=C(97685),v=C(1413),le=C(10915),fe=C(21770),m=C(67294);function Ie(r){var e=typeof window=="undefined",t=(0,m.useState)(function(){return e?!1:window.matchMedia(r).matches}),n=(0,Q.Z)(t,2),a=n[0],i=n[1];return(0,m.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(r),c=function(s){return i(s.matches)};return o.addListener(c),function(){return o.removeListener(c)}}},[r]),a}var ge={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)"}},He=function(){var e=void 0;if(typeof window=="undefined")return e;var t=Object.keys(ge).find(function(n){var a=ge[n].matchMedia;return!!window.matchMedia(a).matches});return e=t,e},D=function(){var e=Ie(ge.md.matchMedia),t=Ie(ge.lg.matchMedia),n=Ie(ge.xxl.matchMedia),a=Ie(ge.xl.matchMedia),i=Ie(ge.sm.matchMedia),o=Ie(ge.xs.matchMedia),c=(0,m.useState)(He()),d=(0,Q.Z)(c,2),s=d[0],f=d[1];return(0,m.useEffect)(function(){if(n){f("xxl");return}if(a){f("xl");return}if(t){f("lg");return}if(e){f("md");return}if(i){f("sm");return}if(o){f("xs");return}f("md")},[e,t,n,a,i,o]),s},X=C(12044);function g(r,e){var t=typeof r.pageName=="string"?r.title:e;(0,m.useEffect)(function(){(0,X.j)()&&t&&(document.title=t)},[r.title,t])}var I=C(1977),b=C(73177);function _(r){if((0,I.n)((0,b.b)(),"5.6.0")<0)return r;var e={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,v.Z)({},r);return Object.keys(e).forEach(function(n){t[n]!==void 0&&(t[e[n]]=t[n],delete t[n])}),t}var ee=C(90743);function $(r,e){return e>>>r|e<<32-r}function L(r,e,t){return r&e^~r&t}function W(r,e,t){return r&e^r&t^e&t}function V(r){return $(2,r)^$(13,r)^$(22,r)}function k(r){return $(6,r)^$(11,r)^$(25,r)}function F(r){return $(7,r)^$(18,r)^r>>>3}function K(r){return $(17,r)^$(19,r)^r>>>10}function ue(r,e){return r[e&15]+=K(r[e+14&15])+r[e+9&15]+F(r[e+1&15])}var ae=[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],z,te,A,pe="0123456789abcdef";function je(r,e){var t=(r&65535)+(e&65535),n=(r>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function _e(){z=new Array(8),te=new Array(2),A=new Array(64),te[0]=te[1]=0,z[0]=1779033703,z[1]=3144134277,z[2]=1013904242,z[3]=2773480762,z[4]=1359893119,z[5]=2600822924,z[6]=528734635,z[7]=1541459225}function Se(){var r,e,t,n,a,i,o,c,d,s,f=new Array(16);r=z[0],e=z[1],t=z[2],n=z[3],a=z[4],i=z[5],o=z[6],c=z[7];for(var p=0;p<16;p++)f[p]=A[(p<<2)+3]|A[(p<<2)+2]<<8|A[(p<<2)+1]<<16|A[p<<2]<<24;for(var h=0;h<64;h++)d=c+k(a)+L(a,i,o)+ae[h],h<16?d+=f[h]:d+=ue(f,h),s=V(r)+W(r,e,t),c=o,o=i,i=a,a=je(n,d),n=t,t=e,e=r,r=je(d,s);z[0]+=r,z[1]+=e,z[2]+=t,z[3]+=n,z[4]+=a,z[5]+=i,z[6]+=o,z[7]+=c}function $e(r,e){var t,n,a=0;n=te[0]>>3&63;var i=e&63;for((te[0]+=e<<3)<e<<3&&te[1]++,te[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=n;o<64;o++)A[o]=r.charCodeAt(a++);Se(),n=0}for(var c=0;c<i;c++)A[c]=r.charCodeAt(a++)}function De(){var r=te[0]>>3&63;if(A[r++]=128,r<=56)for(var e=r;e<56;e++)A[e]=0;else{for(var t=r;t<64;t++)A[t]=0;Se();for(var n=0;n<56;n++)A[n]=0}A[56]=te[1]>>>24&255,A[57]=te[1]>>>16&255,A[58]=te[1]>>>8&255,A[59]=te[1]&255,A[60]=te[0]>>>24&255,A[61]=te[0]>>>16&255,A[62]=te[0]>>>8&255,A[63]=te[0]&255,Se()}function ze(){for(var r=0,e=new Array(32),t=0;t<8;t++)e[r++]=z[t]>>>24&255,e[r++]=z[t]>>>16&255,e[r++]=z[t]>>>8&255,e[r++]=z[t]&255;return e}function Ge(){for(var r=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)r+=pe.charAt(z[e]>>>t&15);return r}function pt(r){return _e(),$e(r,r.length),De(),Ge()}var Tt=pt;function nt(r){"@babel/helpers - typeof";return nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nt(r)}var Kn=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Un(r,e){return Vn(r)||Xn(r,e)||Pt(r,e)||Gn()}function Gn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xn(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],a=!0,i=!1,o,c;try{for(t=t.call(r);!(a=(o=t.next()).done)&&(n.push(o.value),!(e&&n.length===e));a=!0);}catch(d){i=!0,c=d}finally{try{!a&&t.return!=null&&t.return()}finally{if(i)throw c}}return n}}function Vn(r){if(Array.isArray(r))return r}function Qn(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=Pt(r))||e&&r&&typeof r.length=="number"){t&&(r=t);var n=0,a=function(){};return{s:a,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(s){throw s},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,c;return{s:function(){t=t.call(r)},n:function(){var s=t.next();return i=s.done,s},e:function(s){o=!0,c=s},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw c}}}}function Yn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Yt(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function Jn(r,e,t){return e&&Yt(r.prototype,e),t&&Yt(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function kn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&rt(r,e)}function qn(r){var e=Jt();return function(){var n=at(r),a;if(e){var i=at(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return er(this,a)}}function er(r,e){if(e&&(nt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tr(r)}function tr(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function jt(r){var e=typeof Map=="function"?new Map:void 0;return jt=function(n){if(n===null||!nr(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,a)}function a(){return yt(n,arguments,at(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),rt(a,n)},jt(r)}function yt(r,e,t){return Jt()?yt=Reflect.construct.bind():yt=function(a,i,o){var c=[null];c.push.apply(c,i);var d=Function.bind.apply(a,c),s=new d;return o&&rt(s,o.prototype),s},yt.apply(null,arguments)}function Jt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(r){return!1}}function nr(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function rt(r,e){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},rt(r,e)}function at(r){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},at(r)}function kt(r){return or(r)||ar(r)||Pt(r)||rr()}function rr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pt(r,e){if(r){if(typeof r=="string")return wt(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return wt(r,e)}}function ar(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function or(r){if(Array.isArray(r))return wt(r)}function wt(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function ir(r,e){if(r==null)return{};var t=lr(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function lr(r,e){if(r==null)return{};var t={},n=Object.keys(r),a,i;for(i=0;i<n.length;i++)a=n[i],!(e.indexOf(a)>=0)&&(t[a]=r[a]);return t}function qt(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function ce(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?qt(Object(t),!0).forEach(function(n){ur(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):qt(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function ur(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Re="routes";function ot(r){return r.split("?")[0].split("#")[0]}var Et=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},cr=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Tt(JSON.stringify(e)))}catch(n){}return t&&ot(t)},dr=function(e,t){var n=e.name,a=e.locale;return"locale"in e&&a===!1||!n?!1:e.locale||"".concat(t,".").concat(n)},en=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||Et(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},sr=function(e,t){var n=e.menu,a=n===void 0?{}:n,i=e.indexRoute,o=e.path,c=o===void 0?"":o,d=e.children||[],s=a.name,f=s===void 0?e.name:s,p=a.icon,h=p===void 0?e.icon:p,S=a.hideChildren,j=S===void 0?e.hideChildren:S,M=a.flatMenu,Z=M===void 0?e.flatMenu:M,O=i&&Object.keys(i).join(",")!=="redirect"?[ce({path:c,menu:a},i)].concat(d||[]):d,P=ce({},e);if(f&&(P.name=f),h&&(P.icon=h),O&&O.length){if(j)return delete P.children,P;var N=Lt(ce(ce({},t),{},{data:O}),e);if(Z)return N;delete P[Re]}return P},Xe=function(e){return Array.isArray(e)&&e.length>0};function Lt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,a=r.parentName,i=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(o){return o?Xe(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var c,d;return!(o==null||(c=o.menu)===null||c===void 0)&&c.name||o!=null&&o.flatMenu||!(o==null||(d=o.menu)===null||d===void 0)&&d.flatMenu?!0:o.menu!==!1}).map(function(o){var c=ce(ce({},o),{},{path:o.path||o.originPath});return!c.children&&c[Re]&&(c.children=c[Re],delete c[Re]),c.unaccessible&&delete c.name,c.path==="*"&&(c.path="."),c.path==="/*"&&(c.path="."),!c.path&&c.originPath&&(c.path=c.originPath),c}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},c=o.children||o[Re]||[],d=en(o.path,e?e.path:"/"),s=o.name,f=dr(o,a||"menu"),p=f!==!1&&i!==!1&&n&&f?n({id:f,defaultMessage:s}):s,h=e.pro_layout_parentKeys,S=h===void 0?[]:h,j=e.children,M=e.icon,Z=e.flatMenu,O=e.indexRoute,P=e.routes,N=ir(e,Kn),T=new Set([].concat(kt(S),kt(o.parentKeys||[])));e.key&&T.add(e.key);var E=ce(ce(ce({},N),{},{menu:void 0},o),{},{path:d,locale:f,key:o.key||cr(ce(ce({},o),{},{path:d})),pro_layout_parentKeys:Array.from(T).filter(function(R){return R&&R!=="/"})});if(p?E.name=p:delete E.name,E.menu===void 0&&delete E.menu,Xe(c)){var y=Lt(ce(ce({},r),{},{data:c,parentName:f||""}),E);Xe(y)&&(E.children=y)}return sr(E,r)}).flat(1)}var vr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||Xe(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var n=ce({},t),a=n.children||t[Re]||[];if(delete n[Re],Xe(a)&&!n.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return ce(ce({},n),{},{children:i})}return ce({},t)}).filter(function(t){return t})},fr=function(r){kn(t,r);var e=qn(t);function t(){return Yn(this,t),e.apply(this,arguments)}return Jn(t,[{key:"get",value:function(a){var i;try{var o=Qn(this.entries()),c;try{for(o.s();!(c=o.n()).done;){var d=Un(c.value,2),s=d[0],f=d[1],p=ot(s);if(!Et(s)&&(0,ee.Bo)(p,[]).test(a)){i=f;break}}}catch(h){o.e(h)}finally{o.f()}}catch(h){i=void 0}return i}}]),t}(jt(Map)),mr=function(e){var t=new fr,n=function a(i,o){i.forEach(function(c){var d=c.children||c[Re]||[];Xe(d)&&a(d,c);var s=en(c.path,o?o.path:"/");t.set(ot(s),c)})};return n(e),t},hr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var n=t.children||t[Re];if(Xe(n)){var a=r(n);if(a.length)return ce({},t)}var i=ce({},t);return delete i[Re],delete i.children,i}).filter(function(t){return t})},gr=function(e,t,n,a){var i=Lt({data:e,formatMessage:n,locale:t}),o=a?hr(i):vr(i),c=mr(i);return{breadcrumb:c,menuData:o}},pr=gr;function tn(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function it(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?tn(Object(t),!0).forEach(function(n){yr(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):tn(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function yr(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var xr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(n){var a=it({},n);if(!(!a||!a.key)){!a.children&&a[Re]&&(a.children=a[Re],delete a[Re]);var i=a.children||[];t[ot(a.path||a.key||"/")]=it({},a),t[a.key||a.path||"/"]=it({},a),i&&(t=it(it({},t),r(i)))}}),t},Cr=xr,br=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&t==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!Et(a)){var i=ot(a);try{if(n&&(0,ee.Bo)("".concat(i)).test(t)||(0,ee.Bo)("".concat(i),[]).test(t)||(0,ee.Bo)("".concat(i,"/(.*)")).test(t))return!0}catch(o){}}return!1}).sort(function(a,i){return a===t?10:i===t?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},Sr=function(e,t,n,a){var i=Cr(t),o=Object.keys(i),c=br(o,e||"/",a);return!c||c.length<1?[]:(n||(c=[c[c.length-1]]),c.map(function(d){var s=i[d]||{pro_layout_parentKeys:"",key:""},f=new Map,p=(s.pro_layout_parentKeys||[]).map(function(h){return f.has(h)?null:(f.set(h,!0),i[h])}).filter(function(h){return h});return s.key&&p.push(s),p}).flat(1))},Zr=Sr,Ee=C(28459),lt=C(74902),Mr=C(93967),Y=C.n(Mr),Ir=C(98423),Nt=C(53124),Rr=C(82401),Br=C(50344),Ht=C(10130);function Tr(r,e,t){return typeof t=="boolean"?t:r.length?!0:(0,Br.Z)(e).some(a=>a.type===Ht.Z)}var Ot=C(54548),jr=C(91945),Pr=r=>{const{componentCls:e,bodyBg:t,lightSiderBg:n,lightTriggerBg:a,lightTriggerColor:i}=r;return{[`${e}-sider-light`]:{background:n,[`${e}-sider-trigger`]:{color:i,background:a},[`${e}-sider-zero-width-trigger`]:{color:i,background:a,border:`1px solid ${t}`,borderInlineStart:0}}}};const wr=r=>{const{antCls:e,componentCls:t,colorText:n,triggerColor:a,footerBg:i,triggerBg:o,headerHeight:c,headerPadding:d,headerColor:s,footerPadding:f,triggerHeight:p,zeroTriggerHeight:h,zeroTriggerWidth:S,motionDurationMid:j,motionDurationSlow:M,fontSize:Z,borderRadius:O,bodyBg:P,headerBg:N,siderBg:T}=r;return{[t]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:P,"&, *":{boxSizing:"border-box"},[`&${t}-has-sider`]:{flexDirection:"row",[`> ${t}, > ${t}-content`]:{width:0}},[`${t}-header, &${t}-footer`]:{flex:"0 0 auto"},[`${t}-sider`]:{position:"relative",minWidth:0,background:T,transition:`all ${j}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${e}-menu${e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:p},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:p,color:a,lineHeight:(0,Ot.bf)(p),textAlign:"center",background:o,cursor:"pointer",transition:`all ${j}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:r.calc(S).mul(-1).equal(),zIndex:1,width:S,height:h,color:a,fontSize:r.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:T,borderStartStartRadius:0,borderStartEndRadius:O,borderEndEndRadius:O,borderEndStartRadius:0,cursor:"pointer",transition:`background ${M} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${M}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:r.calc(S).mul(-1).equal(),borderStartStartRadius:O,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:O}}}}},Pr(r)),{"&-rtl":{direction:"rtl"}}),[`${t}-header`]:{height:c,padding:d,color:s,lineHeight:(0,Ot.bf)(c),background:N,[`${e}-menu`]:{lineHeight:"inherit"}},[`${t}-footer`]:{padding:f,color:n,fontSize:Z,background:i},[`${t}-content`]:{flex:"auto",color:n,minHeight:0}}},Er=r=>{const{colorBgLayout:e,controlHeight:t,controlHeightLG:n,colorText:a,controlHeightSM:i,marginXXS:o,colorTextLightSolid:c,colorBgContainer:d}=r,s=n*1.25;return{colorBgHeader:"#001529",colorBgBody:e,colorBgTrigger:"#002140",bodyBg:e,headerBg:"#001529",headerHeight:t*2,headerPadding:`0 ${s}px`,headerColor:a,footerPadding:`${i}px ${s}px`,footerBg:e,siderBg:"#001529",triggerHeight:n+o*2,triggerBg:"#002140",triggerColor:c,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:d,lightTriggerBg:d,lightTriggerColor:a}};var nn=(0,jr.I$)("Layout",r=>[wr(r)],Er,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),rn=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(r);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(r,n[a])&&(t[n[a]]=r[n[a]]);return t};function xt(r){let{suffixCls:e,tagName:t,displayName:n}=r;return a=>m.forwardRef((o,c)=>m.createElement(a,Object.assign({ref:c,suffixCls:e,tagName:t},o)))}const At=m.forwardRef((r,e)=>{const{prefixCls:t,suffixCls:n,className:a,tagName:i}=r,o=rn(r,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:c}=m.useContext(Nt.E_),d=c("layout",t),[s,f,p]=nn(d),h=n?`${d}-${n}`:d;return s(m.createElement(i,Object.assign({className:Y()(t||h,a,f,p),ref:e},o)))}),Lr=m.forwardRef((r,e)=>{const{direction:t}=m.useContext(Nt.E_),[n,a]=m.useState([]),{prefixCls:i,className:o,rootClassName:c,children:d,hasSider:s,tagName:f,style:p}=r,h=rn(r,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),S=(0,Ir.Z)(h,["suffixCls"]),{getPrefixCls:j,layout:M}=m.useContext(Nt.E_),Z=j("layout",i),O=Tr(n,d,s),[P,N,T]=nn(Z),E=Y()(Z,{[`${Z}-has-sider`]:O,[`${Z}-rtl`]:t==="rtl"},M==null?void 0:M.className,o,c,N,T),y=m.useMemo(()=>({siderHook:{addSider:R=>{a(U=>[].concat((0,lt.Z)(U),[R]))},removeSider:R=>{a(U=>U.filter(H=>H!==R))}}}),[]);return P(m.createElement(Rr.V.Provider,{value:y},m.createElement(f,Object.assign({ref:e,className:E,style:Object.assign(Object.assign({},M==null?void 0:M.style),p)},S),d)))}),Nr=xt({tagName:"div",displayName:"Layout"})(Lr),Hr=xt({suffixCls:"header",tagName:"header",displayName:"Header"})(At),Or=xt({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(At),Ar=xt({suffixCls:"content",tagName:"main",displayName:"Content"})(At);var Dr=Nr;const Qe=Dr;Qe.Header=Hr,Qe.Footer=Or,Qe.Content=Ar,Qe.Sider=Ht.Z,Qe._InternalSiderContext=Ht.D;var Ve=Qe,an=C(97435),_r=C(80334),on=C(81758),$r=C(78164),u=C(85893),zr=function(e){var t=(0,m.useContext)(le.L_),n=t.hashId,a=e.style,i=e.prefixCls,o=e.children,c=e.hasPageContainer,d=c===void 0?0:c,s=Y()("".concat(i,"-content"),n,(0,l.Z)((0,l.Z)({},"".concat(i,"-has-header"),e.hasHeader),"".concat(i,"-content-has-page-container"),d>0)),f=e.ErrorBoundary||$r.S;return e.ErrorBoundary===!1?(0,u.jsx)(Ve.Content,{className:s,style:a,children:o}):(0,u.jsx)(f,{children:(0,u.jsx)(Ve.Content,{className:s,style:a,children:o})})},Wr=function(){return(0,u.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,u.jsxs)("defs",{children:[(0,u.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,u.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,u.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,u.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,u.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,u.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,u.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,u.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,u.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,u.jsxs)("g",{children:[(0,u.jsxs)("g",{fillRule:"nonzero",children:[(0,u.jsxs)("g",{children:[(0,u.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,u.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,u.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,u.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},ut=C(87462),Fr={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"},Kr=Fr,ln=C(65555),Ur=function(e,t){return m.createElement(ln.Z,(0,ut.Z)({},e,{ref:t,icon:Kr}))},Gr=m.forwardRef(Ur),be=C(98082),Xr=function(e){return(0,l.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}})};function Vr(r){return(0,be.Xj)("ProLayoutFooter",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Xr(t)]})}var Qr=function(e){var t=e.className,n=e.prefixCls,a=e.links,i=e.copyright,o=e.style,c=(0,m.useContext)(Ee.ZP.ConfigContext),d=c.getPrefixCls(n||"pro-global-footer"),s=Vr(d),f=s.wrapSSR,p=s.hashId;return(a==null||a===!1||Array.isArray(a)&&a.length===0)&&(i==null||i===!1)?null:f((0,u.jsxs)("div",{className:Y()(d,p,t),style:o,children:[a&&(0,u.jsx)("div",{className:"".concat(d,"-list ").concat(p).trim(),children:a.map(function(h){return(0,u.jsx)("a",{className:"".concat(d,"-list-link ").concat(p).trim(),title:h.key,target:h.blankTarget?"_blank":"_self",href:h.href,rel:"noreferrer",children:h.title},h.key)})}),i&&(0,u.jsx)("div",{className:"".concat(d,"-copyright ").concat(p).trim(),children:i})]}))},Yr=Ve.Footer,Jr=function(e){var t=e.links,n=e.copyright,a=e.style,i=e.className,o=e.prefixCls;return(0,u.jsx)(Yr,{className:i,style:(0,v.Z)({padding:0},a),children:(0,u.jsx)(Qr,{links:t,prefixCls:o,copyright:n===!1?null:(0,u.jsxs)(m.Fragment,{children:[(0,u.jsx)(Gr,{})," ",n]})})})},ct=C(62812),kr={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"},qr=kr,ea=function(e,t){return m.createElement(ln.Z,(0,ut.Z)({},e,{ref:t,icon:qr}))},ta=m.forwardRef(ea),na=C(55241),ra=function(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},aa=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(n,"-content ").concat(a).trim(),children:(0,u.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a).trim(),children:t==null?void 0:t.map(function(o,c){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,u.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a).trim(),children:[(0,u.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]},c):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?void 0:o.url,target:o.target,rel:"noreferrer",children:[_t(o.icon),(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{children:o.title}),o.desc?(0,u.jsx)("span",{children:o.desc}):null]})]})},c)})})})},Dt=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},oa=function(e,t){if(e&&typeof e=="string"&&Dt(e))return(0,u.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,u.jsx)("div",{id:"avatarLogo",children:e});if(!e&&t&&typeof t=="string"){var n=t.substring(0,1);return(0,u.jsx)("div",{id:"avatarLogo",children:n})}return e},ia=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(n,"-content ").concat(a).trim(),children:(0,u.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a).trim(),children:t==null?void 0:t.map(function(o,c){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,u.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a).trim(),children:[(0,u.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]},c):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?"javascript:;":o.url,target:o.target,rel:"noreferrer",children:[oa(o.icon,o.title),(0,u.jsx)("div",{children:(0,u.jsx)("div",{children:o.title})})]})},c)})})})},la=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":be.Wf===null||be.Wf===void 0?void 0:(0,be.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"}}}}}}},ua=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"}}}}}}},ca=function(e){var t,n,a,i,o;return(0,l.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIconHover,backgroundColor:(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,l.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":ua(e),"&-default":la(e)})};function da(r){return(0,be.Xj)("AppsLogoComponents",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[ca(t)]})}var _t=function(e){return typeof e=="string"?(0,u.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},$t=function(e){var t,n=e.appList,a=e.appListRender,i=e.prefixCls,o=i===void 0?"ant-pro":i,c=e.onItemClick,d=m.useRef(null),s=m.useRef(null),f="".concat(o,"-layout-apps"),p=da(f),h=p.wrapSSR,S=p.hashId,j=(0,m.useState)(!1),M=(0,Q.Z)(j,2),Z=M[0],O=M[1],P=function(R){c==null||c(R,s)},N=(0,m.useMemo)(function(){var y=n==null?void 0:n.some(function(R){return!(R!=null&&R.desc)});return y?(0,u.jsx)(ia,{hashId:S,appList:n,itemClick:c?P:void 0,baseClassName:"".concat(f,"-simple")}):(0,u.jsx)(aa,{hashId:S,appList:n,itemClick:c?P:void 0,baseClassName:"".concat(f,"-default")})},[n,f,S]);if(!(e!=null&&(t=e.appList)!==null&&t!==void 0&&t.length))return null;var T=a?a(e==null?void 0:e.appList,N):N,E=(0,b.X)(void 0,function(y){return O(y)});return h((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:d,onClick:function(R){R.stopPropagation(),R.preventDefault()}}),(0,u.jsx)(na.Z,(0,v.Z)((0,v.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},E),{},{overlayClassName:"".concat(f,"-popover ").concat(S).trim(),content:T,getPopupContainer:function(){return d.current||document.body},children:(0,u.jsx)("span",{ref:s,onClick:function(R){R.stopPropagation()},className:Y()("".concat(f,"-icon"),S,(0,l.Z)({},"".concat(f,"-icon-active"),Z)),children:(0,u.jsx)(ra,{})})}))]}))},un=C(7134),sa=C(78957),cn=C(68508);function va(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.jsx)("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var fa=function(e){var t,n,a;return(0,l.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextCollapsedButton,backgroundColor:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function ma(r){return(0,be.Xj)("SiderMenuCollapsedIcon",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[fa(t)]})}var ha=["isMobile","collapsed"],ga=function(e){var t=e.isMobile,n=e.collapsed,a=(0,he.Z)(e,ha),i=ma(e.className),o=i.wrapSSR,c=i.hashId;return t&&n?null:o((0,u.jsx)("div",(0,v.Z)((0,v.Z)({},a),{},{className:Y()(e.className,c,(0,l.Z)((0,l.Z)({},"".concat(e.className,"-collapsed"),n),"".concat(e.className,"-is-mobile"),t)),children:(0,u.jsx)(va,{})})))},pa=C(43144),ya=C(15671),xa=C(42550),Ca=C(2446),Ct=C(14004),ba=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],dn=m.forwardRef(function(r,e){var t=r.className,n=r.component,a=r.viewBox,i=r.spin,o=r.rotate,c=r.tabIndex,d=r.onClick,s=r.children,f=(0,he.Z)(r,ba),p=m.useRef(),h=(0,xa.x1)(p,e);(0,Ct.Kp)(!!(n||s),"Should have `component` prop or `children`."),(0,Ct.C3)(p);var S=m.useContext(Ca.Z),j=S.prefixCls,M=j===void 0?"anticon":j,Z=S.rootClassName,O=Y()(Z,M,t),P=Y()((0,l.Z)({},"".concat(M,"-spin"),!!i)),N=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,T=(0,v.Z)((0,v.Z)({},Ct.vD),{},{className:P,style:N,viewBox:a});a||delete T.viewBox;var E=function(){return n?m.createElement(n,T,s):s?((0,Ct.Kp)(!!a||m.Children.count(s)===1&&m.isValidElement(s)&&m.Children.only(s).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),m.createElement("svg",(0,ut.Z)({},T,{viewBox:a}),s)):null},y=c;return y===void 0&&d&&(y=-1),m.createElement("span",(0,ut.Z)({role:"img"},f,{ref:h,tabIndex:y,onClick:d,className:O}),E())});dn.displayName="AntdIcon";var Sa=dn,Za=["type","children"],sn=new Set;function Ma(r){return!!(typeof r=="string"&&r.length&&!sn.has(r))}function bt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=r[e];if(Ma(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),r.length>e+1&&(n.onload=function(){bt(r,e+1)},n.onerror=function(){bt(r,e+1)}),sn.add(t),document.body.appendChild(n)}}function vn(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,t=r.extraCommonProps,n=t===void 0?{}:t;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?bt(e.reverse()):bt([e]));var a=m.forwardRef(function(i,o){var c=i.type,d=i.children,s=(0,he.Z)(i,Za),f=null;return i.type&&(f=m.createElement("use",{xlinkHref:"#".concat(c)})),d&&(f=d),m.createElement(Sa,(0,ut.Z)({},n,s,{ref:o}),f)});return a.displayName="Iconfont",a}function Ia(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var Ra=C(83062),Ba=C(99559),fn=C(14192),Ta=function(e,t){var n,a,i=t.includes("horizontal")?(n=e.layout)===null||n===void 0?void 0:n.header:(a=e.layout)===null||a===void 0?void 0:a.sider;return(0,v.Z)((0,v.Z)((0,l.Z)({},"".concat(e.componentCls),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({background:"transparent",color:i==null?void 0:i.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),(0,l.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),"&&-collapsed",(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item,
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item,
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title,
`).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title,
`).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:i==null?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",(0,l.Z)((0,l.Z)({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,l.Z)((0,l.Z)({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4})))),"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),t.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function ja(r,e){return(0,be.Xj)("ProLayoutBaseMenu"+e,function(t){var n=(0,v.Z)((0,v.Z)({},t),{},{componentCls:".".concat(r)});return[Ta(n,e||"inline")]})}var mn=function(e){var t=(0,m.useState)(e.collapsed),n=(0,Q.Z)(t,2),a=n[0],i=n[1],o=(0,m.useState)(!1),c=(0,Q.Z)(o,2),d=c[0],s=c[1];return(0,m.useEffect)(function(){s(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(Ra.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:s,children:e.children})},hn=vn({scriptUrl:fn.h.iconfontUrl}),gn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",n=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Dt(e)||Ia(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,u.jsx)(hn,{type:e})}return e},pn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},Pa=(0,pa.Z)(function r(e){var t=this;(0,ya.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return n.map(function(o){return t.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(n,a,i){var o=t.props,c=o.subMenuItemRender,d=o.baseClassName,s=o.prefixCls,f=o.collapsed,p=o.menu,h=o.iconPrefixes,S=o.layout,j=(p==null?void 0:p.type)==="group"&&S!=="top",M=t.props.token,Z=t.getIntlName(n),O=(n==null?void 0:n.children)||(n==null?void 0:n.routes),P=j&&a===0?"group":void 0;if(Array.isArray(O)&&O.length>0){var N,T,E,y,R,U=a===0||j&&a===1,H=gn(n.icon,h,"".concat(d,"-icon ").concat((N=t.props)===null||N===void 0?void 0:N.hashId)),w=f&&U?pn(Z):null,q=(0,u.jsxs)("div",{className:Y()("".concat(d,"-item-title"),(T=t.props)===null||T===void 0?void 0:T.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-item-title-collapsed"),f),"".concat(d,"-item-title-collapsed-level-").concat(i),f),"".concat(d,"-group-item-title"),P==="group"),"".concat(d,"-item-collapsed-show-title"),(p==null?void 0:p.collapsedShowTitle)&&f)),children:[P==="group"&&f?null:U&&H?(0,u.jsx)("span",{className:"".concat(d,"-item-icon ").concat((E=t.props)===null||E===void 0?void 0:E.hashId).trim(),children:H}):w,(0,u.jsx)("span",{className:Y()("".concat(d,"-item-text"),(y=t.props)===null||y===void 0?void 0:y.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),P!=="group"&&U&&(H||w))),children:Z})]}),oe=c?c((0,v.Z)((0,v.Z)({},n),{},{isUrl:!1}),q,t.props):q;if(j&&a===0&&t.props.collapsed&&!p.collapsedShowGroupTitle)return t.getNavMenuItems(O,a+1,a);var x=t.getNavMenuItems(O,a+1,j&&a===0&&t.props.collapsed?a:a+1);return[{type:P,key:n.key||n.path,label:oe,onClick:j?void 0:n.onTitleClick,children:x,className:Y()((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-group"),P==="group"),"".concat(d,"-submenu"),P!=="group"),"".concat(d,"-submenu-has-icon"),P!=="group"&&U&&H))},j&&a===0?{type:"divider",prefixCls:s,className:"".concat(d,"-divider"),key:(n.key||n.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:t.props.collapsed?"4px":"6px 16px",marginBlockStart:t.props.collapsed?4:8,borderColor:M==null||(R=M.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:n.disabled,key:n.key||n.path,onClick:n.onTitleClick,label:t.getMenuItemPath(n,a,i)}}),(0,l.Z)(this,"getIntlName",function(n){var a=n.name,i=n.locale,o=t.props,c=o.menu,d=o.formatMessage;return i&&(c==null?void 0:c.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(n,a,i){var o,c,d,s,f=t.conversionPath(n.path||"/"),p=t.props,h=p.location,S=h===void 0?{pathname:"/"}:h,j=p.isMobile,M=p.onCollapse,Z=p.menuItemRender,O=p.iconPrefixes,P=t.getIntlName(n),N=t.props,T=N.baseClassName,E=N.menu,y=N.collapsed,R=(E==null?void 0:E.type)==="group",U=a===0||R&&a===1,H=U?gn(n.icon,O,"".concat(T,"-icon ").concat((o=t.props)===null||o===void 0?void 0:o.hashId)):null,w=y&&U?pn(P):null,q=(0,u.jsxs)("div",{className:Y()("".concat(T,"-item-title"),(c=t.props)===null||c===void 0?void 0:c.hashId,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),y),"".concat(T,"-item-title-collapsed-level-").concat(i),y),"".concat(T,"-item-collapsed-show-title"),(E==null?void 0:E.collapsedShowTitle)&&y)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((d=t.props)===null||d===void 0?void 0:d.hashId).trim(),style:{display:w===null&&!H?"none":""},children:H||(0,u.jsx)("span",{className:"anticon",children:w})}),(0,u.jsx)("span",{className:Y()("".concat(T,"-item-text"),(s=t.props)===null||s===void 0?void 0:s.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),U&&(H||w))),children:P})]},f),oe=Dt(f);if(oe){var x,ie,B;q=(0,u.jsxs)("span",{onClick:function(){var de,re;(de=window)===null||de===void 0||(re=de.open)===null||re===void 0||re.call(de,f,"_blank")},className:Y()("".concat(T,"-item-title"),(x=t.props)===null||x===void 0?void 0:x.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),y),"".concat(T,"-item-title-collapsed-level-").concat(i),y),"".concat(T,"-item-link"),!0),"".concat(T,"-item-collapsed-show-title"),(E==null?void 0:E.collapsedShowTitle)&&y)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((ie=t.props)===null||ie===void 0?void 0:ie.hashId).trim(),style:{display:w===null&&!H?"none":""},children:H||(0,u.jsx)("span",{className:"anticon",children:w})}),(0,u.jsx)("span",{className:Y()("".concat(T,"-item-text"),(B=t.props)===null||B===void 0?void 0:B.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),U&&(H||w))),children:P})]},f)}if(Z){var J=(0,v.Z)((0,v.Z)({},n),{},{isUrl:oe,itemPath:f,isMobile:j,replace:f===S.pathname,onClick:function(){return M&&M(!0)},children:void 0});return a===0?(0,u.jsx)(mn,{collapsed:y,title:P,disable:n.disabledTooltip,children:Z(J,q,t.props)}):Z(J,q,t.props)}return a===0?(0,u.jsx)(mn,{collapsed:y,title:P,disable:n.disabledTooltip,children:q}):q}),(0,l.Z)(this,"conversionPath",function(n){return n&&n.indexOf("http")===0?n:"/".concat(n||"").replace(/\/+/g,"/")}),this.props=e}),wa=function(e,t){var n=t.layout,a=t.collapsed,i={};return e&&!a&&["side","mix"].includes(n||"mix")&&(i={openKeys:e}),i},yn=function(e){var t=e.mode,n=e.className,a=e.handleOpenChange,i=e.style,o=e.menuData,c=e.prefixCls,d=e.menu,s=e.matchMenuKeys,f=e.iconfontUrl,p=e.selectedKeys,h=e.onSelect,S=e.menuRenderType,j=e.openKeys,M=(0,m.useContext)(le.L_),Z=M.dark,O=M.token,P="".concat(c,"-base-menu-").concat(t),N=(0,m.useRef)([]),T=(0,fe.Z)(d==null?void 0:d.defaultOpenAll),E=(0,Q.Z)(T,2),y=E[0],R=E[1],U=(0,fe.Z)(function(){return d!=null&&d.defaultOpenAll?(0,ct.O7)(o)||[]:j===!1?!1:[]},{value:j===!1?void 0:j,onChange:a}),H=(0,Q.Z)(U,2),w=H[0],q=H[1],oe=(0,fe.Z)([],{value:p,onChange:h?function(ve){h&&ve&&h(ve)}:void 0}),x=(0,Q.Z)(oe,2),ie=x[0],B=x[1];(0,m.useEffect)(function(){d!=null&&d.defaultOpenAll||j===!1||s&&(q(s),B(s))},[s.join("-")]),(0,m.useEffect)(function(){f&&(hn=vn({scriptUrl:f}))},[f]),(0,m.useEffect)(function(){if(s.join("-")!==(ie||[]).join("-")&&B(s),!y&&j!==!1&&s.join("-")!==(w||[]).join("-")){var ve=s;(d==null?void 0:d.autoClose)===!1&&(ve=Array.from(new Set([].concat((0,lt.Z)(s),(0,lt.Z)(w||[]))))),q(ve)}else d!=null&&d.ignoreFlatMenu&&y?q((0,ct.O7)(o)):R(!1)},[s.join("-")]);var J=(0,m.useMemo)(function(){return wa(w,e)},[w&&w.join(","),e.layout,e.collapsed]),ne=ja(P,t),de=ne.wrapSSR,re=ne.hashId,ye=(0,m.useMemo)(function(){return new Pa((0,v.Z)((0,v.Z)({},e),{},{token:O,menuRenderType:S,baseClassName:P,hashId:re}))},[e,O,S,P,re]);if(d!=null&&d.loading)return(0,u.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(Ba.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(N.current=s);var se=e.postMenuData?e.postMenuData(o):o;return se&&(se==null?void 0:se.length)<1?null:de((0,m.createElement)(cn.Z,(0,v.Z)((0,v.Z)({},J),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:N.current,theme:Z?"dark":"light",selectedKeys:ie,style:(0,v.Z)({backgroundColor:"transparent",border:"none"},i),className:Y()(n,re,P,(0,l.Z)((0,l.Z)({},"".concat(P,"-horizontal"),t==="horizontal"),"".concat(P,"-collapsed"),e.collapsed)),items:ye.getNavMenuItems(se,0,0),onOpenChange:function(Pe){e.collapsed||q(Pe)}},e.menuProps)))};function Ea(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,be.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),t==null?void 0:t(i)))]:[]})}var La=["title","render"],Na=m.memo(function(r){return(0,u.jsx)(u.Fragment,{children:r.children})}),Ha=Ve.Sider,xn=Ve._InternalSiderContext,Oa=xn===void 0?{Provider:Na}:xn,zt=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",n=e.logo,a=e.title,i=e.layout,o=e[t];if(o===!1)return null;var c=_t(n),d=(0,u.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(c,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&t==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:c},"title"):(0,u.jsxs)("a",{children:[c,d]},"title")},Cn=function(e){var t,n=e.collapsed,a=e.originCollapsed,i=e.fixSiderbar,o=e.menuFooterRender,c=e.onCollapse,d=e.theme,s=e.siderWidth,f=e.isMobile,p=e.onMenuHeaderClick,h=e.breakpoint,S=h===void 0?"lg":h,j=e.style,M=e.layout,Z=e.menuExtraRender,O=Z===void 0?!1:Z,P=e.links,N=e.menuContentRender,T=e.collapsedButtonRender,E=e.prefixCls,y=e.avatarProps,R=e.rightContentRender,U=e.actionsRender,H=e.onOpenChange,w=e.stylish,q=e.logoStyle,oe=(0,m.useContext)(le.L_),x=oe.hashId,ie=(0,m.useMemo)(function(){return!(f||M==="mix")},[f,M]),B="".concat(E,"-sider"),J=64,ne=Ea("".concat(B,".").concat(B,"-stylish"),{stylish:w,proLayoutCollapsedWidth:J}),de=Y()("".concat(B),x,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(B,"-fixed"),i),"".concat(B,"-fixed-mix"),M==="mix"&&!f&&i),"".concat(B,"-collapsed"),e.collapsed),"".concat(B,"-layout-").concat(M),M&&!f),"".concat(B,"-light"),d!=="dark"),"".concat(B,"-mix"),M==="mix"&&!f),"".concat(B,"-stylish"),!!w)),re=zt(e),ye=O&&O(e),se=(0,m.useMemo)(function(){return N!==!1&&(0,m.createElement)(yn,(0,v.Z)((0,v.Z)({},e),{},{key:"base-menu",mode:n&&!f?"vertical":"inline",handleOpenChange:H,style:{width:"100%"},className:"".concat(B,"-menu ").concat(x).trim()}))},[B,x,N,H,e]),ve=(P||[]).map(function(xe,Le){return{className:"".concat(B,"-link"),label:xe,key:Le}}),Pe=(0,m.useMemo)(function(){return N?N(e,se):se},[N,se,e]),Ze=(0,m.useMemo)(function(){if(!y)return null;var xe=y.title,Le=y.render,we=(0,he.Z)(y,La),Mt=(0,u.jsxs)("div",{className:"".concat(B,"-actions-avatar"),children:[we!=null&&we.src||we!=null&&we.srcSet||we.icon||we.children?(0,u.jsx)(un.C,(0,v.Z)({size:28},we)):null,y.title&&!n&&(0,u.jsx)("span",{children:xe})]});return Le?Le(y,Mt,e):Mt},[y,B,n]),Be=(0,m.useMemo)(function(){return U?(0,u.jsx)(sa.Z,{align:"center",size:4,direction:n?"vertical":"horizontal",className:Y()(["".concat(B,"-actions-list"),n&&"".concat(B,"-actions-list-collapsed"),x]),children:U==null?void 0:U(e).map(function(xe,Le){return(0,u.jsx)("div",{className:"".concat(B,"-actions-list-item ").concat(x).trim(),children:xe},Le)})}):null},[U,B,n]),Oe=(0,m.useMemo)(function(){return(0,u.jsx)($t,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),We=(0,m.useMemo)(function(){if(T===!1)return null;var xe=(0,u.jsx)(ga,{isMobile:f,collapsed:a,className:"".concat(B,"-collapsed-button"),onClick:function(){c==null||c(!a)}});return T?T(n,xe):xe},[T,f,a,B,n,c]),Fe=(0,m.useMemo)(function(){return!Ze&&!Be?null:(0,u.jsxs)("div",{className:Y()("".concat(B,"-actions"),x,n&&"".concat(B,"-actions-collapsed")),children:[Ze,Be]})},[Be,Ze,B,n,x]),Ke=(0,m.useMemo)(function(){var xe;return e!=null&&(xe=e.menu)!==null&&xe!==void 0&&xe.hideMenuWhenCollapsed&&n?"".concat(B,"-hide-menu-collapsed"):null},[B,n,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),dt=o&&(o==null?void 0:o(e)),Zt=(0,u.jsxs)(u.Fragment,{children:[re&&(0,u.jsxs)("div",{className:Y()([Y()("".concat(B,"-logo"),x,(0,l.Z)({},"".concat(B,"-logo-collapsed"),n))]),onClick:ie?p:void 0,id:"logo",style:q,children:[re,Oe]}),ye&&(0,u.jsx)("div",{className:Y()(["".concat(B,"-extra"),!re&&"".concat(B,"-extra-no-logo"),x]),children:ye}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Pe}),(0,u.jsxs)(Oa.Provider,{value:{},children:[P?(0,u.jsx)("div",{className:"".concat(B,"-links ").concat(x).trim(),children:(0,u.jsx)(cn.Z,{inlineIndent:16,className:"".concat(B,"-link-menu ").concat(x).trim(),selectedKeys:[],openKeys:[],theme:d,mode:"inline",items:ve})}):null,ie&&(0,u.jsxs)(u.Fragment,{children:[Fe,!Be&&R?(0,u.jsx)("div",{className:Y()("".concat(B,"-actions"),x,(0,l.Z)({},"".concat(B,"-actions-collapsed"),n)),children:R==null?void 0:R(e)}):null]}),dt&&(0,u.jsx)("div",{className:Y()(["".concat(B,"-footer"),x,(0,l.Z)({},"".concat(B,"-footer-collapsed"),n)]),children:dt})]})]});return ne.wrapSSR((0,u.jsxs)(u.Fragment,{children:[i&&!f&&!Ke&&(0,u.jsx)("div",{style:(0,v.Z)({width:n?J:s,overflow:"hidden",flex:"0 0 ".concat(n?J:s,"px"),maxWidth:n?J:s,minWidth:n?J:s,transition:"all 0.2s ease 0s"},j)}),(0,u.jsxs)(Ha,{collapsible:!0,trigger:null,collapsed:n,breakpoint:S===!1?void 0:S,onCollapse:function(Le){f||c==null||c(Le)},collapsedWidth:J,style:j,theme:d,width:s,className:Y()(de,x,Ke),children:[Ke?(0,u.jsx)("div",{className:"".concat(B,"-hide-when-collapsed ").concat(x).trim(),style:{height:"100%",width:"100%",opacity:Ke?0:1},children:Zt}):Zt,We]})]}))},Aa=C(10178),Da=C(9220),_a=function(e){var t,n,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function $a(r){return(0,be.Xj)("ProLayoutRightContent",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[_a(t)]})}var za=["rightContentRender","avatarProps","actionsRender","headerContentRender"],Wa=["title","render"],bn=function(e){var t=e.rightContentRender,n=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,he.Z)(e,za),c=(0,m.useContext)(Ee.ZP.ConfigContext),d=c.getPrefixCls,s="".concat(d(),"-pro-global-header"),f=$a(s),p=f.wrapSSR,h=f.hashId,S=(0,m.useState)("auto"),j=(0,Q.Z)(S,2),M=j[0],Z=j[1],O=(0,m.useMemo)(function(){if(!n)return null;var E=n.title,y=n.render,R=(0,he.Z)(n,Wa),U=[R!=null&&R.src||R!=null&&R.srcSet||R.icon||R.children?(0,m.createElement)(un.C,(0,v.Z)((0,v.Z)({},R),{},{size:28,key:"avatar"})):null,E?(0,u.jsx)("span",{style:{marginInlineStart:8},children:E},"name"):void 0];return y?y(n,(0,u.jsx)("div",{children:U}),o):(0,u.jsx)("div",{children:U})},[n]),P=a||O?function(E){var y=a&&(a==null?void 0:a(E));return!y&&!O?null:(Array.isArray(y)||(y=[y]),p((0,u.jsxs)("div",{className:"".concat(s,"-header-actions ").concat(h).trim(),children:[y.filter(Boolean).map(function(R,U){var H=!1;if(m.isValidElement(R)){var w;H=!!(R!=null&&(w=R.props)!==null&&w!==void 0&&w["aria-hidden"])}return(0,u.jsx)("div",{className:Y()("".concat(s,"-header-actions-item ").concat(h),(0,l.Z)({},"".concat(s,"-header-actions-hover"),!H)),children:R},U)}),O&&(0,u.jsx)("span",{className:"".concat(s,"-header-actions-avatar ").concat(h).trim(),children:O})]})))}:void 0,N=(0,Aa.D)(function(){var E=(0,Te.Z)((0,me.Z)().mark(function y(R){return(0,me.Z)().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:Z(R);case 1:case"end":return H.stop()}},y)}));return function(y){return E.apply(this,arguments)}}(),160),T=P||t;return(0,u.jsx)("div",{className:"".concat(s,"-right-content ").concat(h).trim(),style:{minWidth:M,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(Da.Z,{onResize:function(y){var R=y.width;N.run(R)},children:T?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:T((0,v.Z)((0,v.Z)({},o),{},{rightContentSize:M}))}):null})})})},Fa=function(e){var t,n;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56)-12,40),"px")}})};function Ka(r){return(0,be.Xj)("ProLayoutTopNavHeader",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Fa(t)]})}var Sn=function(e){var t,n,a,i,o,c,d,s=(0,m.useRef)(null),f=e.onMenuHeaderClick,p=e.contentWidth,h=e.rightContentRender,S=e.className,j=e.style,M=e.headerContentRender,Z=e.layout,O=e.actionsRender,P=(0,m.useContext)(Ee.ZP.ConfigContext),N=P.getPrefixCls,T=(0,m.useContext)(le.L_),E=T.dark,y="".concat(e.prefixCls||N("pro"),"-top-nav-header"),R=Ka(y),U=R.wrapSSR,H=R.hashId,w=void 0;e.menuHeaderRender!==void 0?w="menuHeaderRender":(Z==="mix"||Z==="top")&&(w="headerTitleRender");var q=zt((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),w),oe=(0,m.useContext)(le.L_),x=oe.token,ie=(0,m.useMemo)(function(){var B,J,ne,de,re,ye,se,ve,Pe,Ze,Be,Oe,We,Fe=(0,u.jsx)(Ee.ZP,{theme:{hashed:(0,le.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,v.Z)({},_({colorItemBg:((B=x.layout)===null||B===void 0||(B=B.header)===null||B===void 0?void 0:B.colorBgHeader)||"transparent",colorSubItemBg:((J=x.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.colorBgHeader)||"transparent",radiusItem:x.borderRadius,colorItemBgSelected:((ne=x.layout)===null||ne===void 0||(ne=ne.header)===null||ne===void 0?void 0:ne.colorBgMenuItemSelected)||(x==null?void 0:x.colorBgTextHover),itemHoverBg:((de=x.layout)===null||de===void 0||(de=de.header)===null||de===void 0?void 0:de.colorBgMenuItemHover)||(x==null?void 0:x.colorBgTextHover),colorItemBgSelectedHorizontal:((re=x.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected)||(x==null?void 0:x.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((ye=x.layout)===null||ye===void 0||(ye=ye.header)===null||ye===void 0?void 0:ye.colorTextMenu)||(x==null?void 0:x.colorTextSecondary),colorItemTextHoverHorizontal:((se=x.layout)===null||se===void 0||(se=se.header)===null||se===void 0?void 0:se.colorTextMenuActive)||(x==null?void 0:x.colorText),colorItemTextSelectedHorizontal:((ve=x.layout)===null||ve===void 0||(ve=ve.header)===null||ve===void 0?void 0:ve.colorTextMenuSelected)||(x==null?void 0:x.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((Pe=x.layout)===null||Pe===void 0||(Pe=Pe.header)===null||Pe===void 0?void 0:Pe.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((Ze=x.layout)===null||Ze===void 0||(Ze=Ze.header)===null||Ze===void 0?void 0:Ze.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((Be=x.layout)===null||Be===void 0||(Be=Be.header)===null||Be===void 0?void 0:Be.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:x==null?void 0:x.colorBgElevated,subMenuItemBg:x==null?void 0:x.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:x==null?void 0:x.colorBgElevated}))},token:{colorBgElevated:((Oe=x.layout)===null||Oe===void 0||(Oe=Oe.header)===null||Oe===void 0?void 0:Oe.colorBgHeader)||"transparent"}},children:(0,u.jsx)(yn,(0,v.Z)((0,v.Z)((0,v.Z)({theme:E?"dark":"light"},e),{},{className:"".concat(y,"-base-menu ").concat(H).trim()},e.menuProps),{},{style:(0,v.Z)({width:"100%"},(We=e.menuProps)===null||We===void 0?void 0:We.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return M?M(e,Fe):Fe},[(t=x.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgHeader,(n=x.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgMenuItemSelected,(a=x.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=x.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=x.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(c=x.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorTextMenuSelected,(d=x.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,x.borderRadius,x==null?void 0:x.colorBgTextHover,x==null?void 0:x.colorTextSecondary,x==null?void 0:x.colorText,x==null?void 0:x.colorTextBase,x.colorBgElevated,E,e,y,H,M]);return U((0,u.jsx)("div",{className:Y()(y,H,S,(0,l.Z)({},"".concat(y,"-light"),!0)),style:j,children:(0,u.jsxs)("div",{ref:s,className:Y()("".concat(y,"-main"),H,(0,l.Z)({},"".concat(y,"-wide"),p==="Fixed"&&Z==="top")),children:[q&&(0,u.jsxs)("div",{className:Y()("".concat(y,"-main-left ").concat(H)),onClick:f,children:[(0,u.jsx)($t,(0,v.Z)({},e)),(0,u.jsx)("div",{className:"".concat(y,"-logo ").concat(H).trim(),id:"logo",children:q},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(y,"-menu ").concat(H).trim(),children:ie}),(h||O||e.avatarProps)&&(0,u.jsx)(bn,(0,v.Z)((0,v.Z)({rightContentRender:h},e),{},{prefixCls:y}))]})}))},Ua=function(e){var t,n,a;return(0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}))};function Ga(r){return(0,be.Xj)("ProLayoutGlobalHeader",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Ua(t)]})}var Xa=function(e,t){return e===!1?null:e?e(t,null):t},Va=function(e){var t=e.isMobile,n=e.logo,a=e.collapsed,i=e.onCollapse,o=e.rightContentRender,c=e.menuHeaderRender,d=e.onMenuHeaderClick,s=e.className,f=e.style,p=e.layout,h=e.children,S=e.splitMenus,j=e.menuData,M=e.prefixCls,Z=(0,m.useContext)(Ee.ZP.ConfigContext),O=Z.getPrefixCls,P=Z.direction,N="".concat(M||O("pro"),"-global-header"),T=Ga(N),E=T.wrapSSR,y=T.hashId,R=Y()(s,N,y);if(p==="mix"&&!t&&S){var U=(j||[]).map(function(oe){return(0,v.Z)((0,v.Z)({},oe),{},{children:void 0,routes:void 0})}),H=(0,ct.QX)(U);return(0,u.jsx)(Sn,(0,v.Z)((0,v.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:H}))}var w=Y()("".concat(N,"-logo"),y,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(N,"-logo-rtl"),P==="rtl"),"".concat(N,"-logo-mix"),p==="mix"),"".concat(N,"-logo-mobile"),t)),q=(0,u.jsx)("span",{className:w,children:(0,u.jsx)("a",{children:_t(n)})},"logo");return E((0,u.jsxs)("div",{className:R,style:(0,v.Z)({},f),children:[t&&(0,u.jsx)("span",{className:"".concat(N,"-collapsed-button ").concat(y).trim(),onClick:function(){i==null||i(!a)},children:(0,u.jsx)(ta,{})}),t&&Xa(c,q),p==="mix"&&!t&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)($t,(0,v.Z)({},e)),(0,u.jsx)("div",{className:w,onClick:d,children:zt((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:h}),(o||e.actionsRender||e.avatarProps)&&(0,u.jsx)(bn,(0,v.Z)({rightContentRender:o},e))]}))},Qa=function(e){var t,n,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat(((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.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:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?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)"}}))};function Ya(r){return(0,be.Xj)("ProLayoutHeader",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Qa(t)]})}function Ja(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,be.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),t==null?void 0:t(i)))]:[]})}var Zn=Ve.Header,ka=function(e){var t,n,a,i=e.isMobile,o=e.fixedHeader,c=e.className,d=e.style,s=e.collapsed,f=e.prefixCls,p=e.onCollapse,h=e.layout,S=e.headerRender,j=e.headerContentRender,M=(0,m.useContext)(le.L_),Z=M.token,O=(0,m.useContext)(Ee.ZP.ConfigContext),P=(0,m.useState)(!1),N=(0,Q.Z)(P,2),T=N[0],E=N[1],y=o||h==="mix",R=(0,m.useCallback)(function(){var B=h==="top",J=(0,ct.QX)(e.menuData||[]),ne=(0,u.jsx)(Va,(0,v.Z)((0,v.Z)({onCollapse:p},e),{},{menuData:J,children:j&&j(e,null)}));return B&&!i&&(ne=(0,u.jsx)(Sn,(0,v.Z)((0,v.Z)({mode:"horizontal",onCollapse:p},e),{},{menuData:J}))),S&&typeof S=="function"?S(e,ne):ne},[j,S,i,h,p,e]);(0,m.useEffect)(function(){var B,J=(O==null||(B=O.getTargetContainer)===null||B===void 0?void 0:B.call(O))||document.body,ne=function(){var re,ye=J.scrollTop;return ye>(((re=Z.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.heightLayoutHeader)||56)&&!T?(E(!0),!0):(T&&E(!1),!1)};if(y&&typeof window!="undefined")return J.addEventListener("scroll",ne,{passive:!0}),function(){J.removeEventListener("scroll",ne)}},[(t=Z.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader,y,T]);var U=h==="top",H="".concat(f,"-layout-header"),w=Ya(H),q=w.wrapSSR,oe=w.hashId,x=Ja("".concat(H,".").concat(H,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ie=Y()(c,oe,H,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(H,"-fixed-header"),y),"".concat(H,"-fixed-header-scroll"),T),"".concat(H,"-mix"),h==="mix"),"".concat(H,"-fixed-header-action"),!s),"".concat(H,"-top-menu"),U),"".concat(H,"-header"),!0),"".concat(H,"-stylish"),!!e.stylish));return h==="side"&&!i?null:x.wrapSSR(q((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(Ee.ZP,{theme:{hashed:(0,le.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[y&&(0,u.jsx)(Zn,{style:(0,v.Z)({height:((n=Z.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((a=Z.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},d)}),(0,u.jsx)(Zn,{className:ie,style:d,children:R()})]})})))},qa=C(83832),eo=C(85265),Mn=new Ot.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),to=function(e){var t,n,a,i,o,c,d,s,f,p,h,S;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorMenuBackground)||"transparent"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?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:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorTextMenuTitle,animationName:Mn,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:(p=e.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:Mn,animationDuration:".4s",animationTimingFunction:"ease"})),"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((h=e.layout)===null||h===void 0||(h=h.header)===null||h===void 0?void 0:h.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((S=e.layout)===null||S===void 0||(S=S.header)===null||S===void 0?void 0:S.heightLayoutHeader)||56,"px")}}))};function no(r,e){var t=e.proLayoutCollapsedWidth;return(0,be.Xj)("ProLayoutSiderMenu",function(n){var a=(0,v.Z)((0,v.Z)({},n),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return[to(a)]})}var In=function(e){var t,n=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,c=e.style,d=e.className,s=e.hide,f=e.prefixCls,p=(0,m.useContext)(le.L_),h=p.token;(0,m.useEffect)(function(){n===!0&&(o==null||o(!0))},[n]);var S=(0,an.Z)(e,["className","style"]),j=m.useContext(Ee.ZP.ConfigContext),M=j.direction,Z=no("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),O=Z.wrapSSR,P=Z.hashId,N=Y()("".concat(f,"-sider"),d,P);if(s)return null;var T=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return O(n?(0,u.jsx)(eo.Z,(0,v.Z)((0,v.Z)({placement:M==="rtl"?"right":"left",className:Y()("".concat(f,"-drawer-sider"),d)},T),{},{style:(0,v.Z)({padding:0,height:"100vh"},c),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(t=h.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorMenuBackground}},children:(0,u.jsx)(Cn,(0,v.Z)((0,v.Z)({},S),{},{isMobile:!0,className:N,collapsed:n?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,u.jsx)(Cn,(0,v.Z)((0,v.Z)({className:N,originCollapsed:i},S),{},{style:c})))},Rn=C(76509),ro=C(14779),Wt=C.n(ro),ao=function(e,t,n){if(n){var a=(0,lt.Z)(n.keys()).find(function(o){return Wt()(o).test(e)});if(a)return n.get(a)}if(t){var i=Object.keys(t).find(function(o){return Wt()(o).test(e)});if(i)return t[i]}return{path:""}},Ft=function(e,t){var n=e.pathname,a=n===void 0?"/":n,i=e.breadcrumb,o=e.breadcrumbMap,c=e.formatMessage,d=e.title,s=e.menu,f=s===void 0?{locale:!1}:s,p=t?"":d||"",h=ao(a,i,o);if(!h)return{title:p,id:"",pageName:p};var S=h.name;return f.locale!==!1&&h.locale&&c&&(S=c({id:h.locale||"",defaultMessage:h.name})),S?t||!d?{title:S,id:h.locale||"",pageName:S}:{title:"".concat(S," - ").concat(d),id:h.locale||"",pageName:S}:{title:p,id:h.locale||"",pageName:p}},Jo=function(e,t){return Ft(e,t).title},oo=C(52676),St=C(67159),Ye=C(34155),io=function(){var e;return typeof Ye=="undefined"?St.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||St.Z},lo=function(e){var t,n,a,i,o,c,d,s,f,p,h,S,j,M,Z,O,P,N,T,E,y,R,U,H,w,q,oe,x,ie,B,J,ne;return(t=io())!==null&&t!==void 0&&t.startsWith("5")?{}:(0,l.Z)((0,l.Z)((0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(y={color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextMenu},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(y,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextMenu}),"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),"&".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,`-menu-submenu-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((f=e.layout)===null||f===void 0||(f=f.header)===null||f===void 0?void 0:f.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(p=e.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(h=e.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenuSelected}),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(y,"".concat(e.antCls,"-menu-submenu-selected"),{color:(S=e.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(j=e.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(M=e.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:(Z=e.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuActive}),"&".concat(e.antCls,"-menu-horizontal"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-submenu:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:(O=e.layout)===null||O===void 0||(O=O.header)===null||O===void 0?void 0:O.colorTextMenuActive,backgroundColor:"".concat((P=e.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorBgMenuItemHover," !important")}),"".concat(e.antCls,`-menu-item-open,
`).concat(e.antCls,`-menu-submenu-open,
`).concat(e.antCls,`-menu-item-selected,
`).concat(e.antCls,"-menu-submenu-selected"),(0,l.Z)({backgroundColor:(N=e.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((T=e.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((E=e.layout)===null||E===void 0||(E=E.header)===null||E===void 0?void 0:E.colorTextMenuSelected," !important")})),"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"})))),"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(0,l.Z)((0,l.Z)({},"&".concat(e.antCls,"-menu"),(0,l.Z)({color:(R=e.layout)===null||R===void 0||(R=R.header)===null||R===void 0?void 0:R.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,`-menu-submenu-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(U=e.layout)===null||U===void 0||(U=U.header)===null||U===void 0?void 0:U.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(H=e.layout)===null||H===void 0||(H=H.header)===null||H===void 0?void 0:H.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(w=e.layout)===null||w===void 0||(w=w.header)===null||w===void 0?void 0:w.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:(q=e.layout)===null||q===void 0||(q=q.header)===null||q===void 0?void 0:q.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(oe=e.layout)===null||oe===void 0||(oe=oe.header)===null||oe===void 0?void 0:oe.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:(x=e.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(ie=e.layout)===null||ie===void 0||(ie=ie.sider)===null||ie===void 0?void 0:ie.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(B=e.layout)===null||B===void 0||(B=B.sider)===null||B===void 0?void 0:B.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(J=e.layout)===null||J===void 0||(J=J.sider)===null||J===void 0?void 0:J.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(ne=e.layout)===null||ne===void 0||(ne=ne.sider)===null||ne===void 0?void 0:ne.colorTextMenuActive}))))},uo=function(e){var t,n,a,i;return(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}))};function co(r){return(0,be.Xj)("ProLayout",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[uo(t),lo(t)]})}function so(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(t){return t});return e.map(function(t,n){return"/".concat(e.slice(0,n+1).join("/"))})}var Je=C(34155),vo=function(){var e;return typeof Je=="undefined"?St.Z:((e=Je)===null||Je===void 0||(Je={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Je===void 0?void 0:Je.ANTD_VERSION)||St.Z},fo=function(e,t,n){var a=e,i=a.breadcrumbName,o=a.title,c=a.path,d=n.findIndex(function(s){return s.linkPath===e.path})===n.length-1;return d?(0,u.jsx)("span",{children:o||i}):(0,u.jsx)("span",{onClick:c?function(){return location.href=c}:void 0,children:o||i})},mo=function(e,t){var n=t.formatMessage,a=t.menu;return e.locale&&n&&(a==null?void 0:a.locale)!==!1?n({id:e.locale,defaultMessage:e.name}):e.name},ho=function(e,t){var n=e.get(t);if(!n){var a=Array.from(e.keys())||[],i=a.find(function(o){return Wt()(o.replace("?","")).test(t)});i&&(n=e.get(i))}return n||{path:""}},go=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},po=function(e,t,n){var a=so(e==null?void 0:e.pathname),i=a.map(function(o){var c=ho(t,o),d=mo(c,n),s=c.hideInBreadcrumb;return d&&!s?{linkPath:o,breadcrumbName:d,title:d,component:c.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},yo=function(e){var t=go(e),n=t.location,a=t.breadcrumbMap;return n&&n.pathname&&a?po(n,a,e):[]},xo=function(e,t){var n=e.breadcrumbRender,a=e.itemRender,i=t.breadcrumbProps||{},o=i.minLength,c=o===void 0?2:o,d=yo(e),s=function(h){for(var S=a||fo,j=arguments.length,M=new Array(j>1?j-1:0),Z=1;Z<j;Z++)M[Z-1]=arguments[Z];return S==null?void 0:S.apply(void 0,[(0,v.Z)((0,v.Z)({},h),{},{path:h.linkPath||h.path})].concat(M))},f=d;return n&&(f=n(f||[])||void 0),(f&&f.length<c||n===!1)&&(f=void 0),(0,I.n)(vo(),"5.3.0")>-1?{items:f,itemRender:s}:{routes:f,itemRender:s}};function Co(r){return(0,lt.Z)(r).reduce(function(e,t){var n=(0,Q.Z)(t,2),a=n[0],i=n[1];return e[a]=i,e},{})}var bo=function r(e,t,n,a){var i=pr(e,(t==null?void 0:t.locale)||!1,n,!0),o=i.menuData,c=i.breadcrumb;return a?r(a(o),t,n,void 0):{breadcrumb:Co(c),breadcrumbMap:c,menuData:o}},So=C(71002),Zo=C(51812),Mo=function(e){var t=(0,m.useState)({}),n=(0,Q.Z)(t,2),a=n[0],i=n[1];return(0,m.useEffect)(function(){i((0,Zo.Y)({layout:(0,So.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},Io=["id","defaultMessage"],Ro=["fixSiderbar","navTheme","layout"],Bn=0,Bo=function(e,t){var n;return e.headerRender===!1||e.pure?null:(0,u.jsx)(ka,(0,v.Z)((0,v.Z)({matchMenuKeys:t},e),{},{stylish:(n=e.stylish)===null||n===void 0?void 0:n.header}))},To=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,v.Z)({},e),(0,u.jsx)(Jr,{})):null},jo=function(e,t){var n,a=e.layout,i=e.isMobile,o=e.selectedKeys,c=e.openKeys,d=e.splitMenus,s=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var p=e.menuData;if(d&&(c!==!1||a==="mix")&&!i){var h=o||t,S=(0,Q.Z)(h,1),j=S[0];if(j){var M;p=((M=e.menuData)===null||M===void 0||(M=M.find(function(N){return N.key===j}))===null||M===void 0?void 0:M.children)||[]}else p=[]}var Z=(0,ct.QX)(p||[]);if(Z&&(Z==null?void 0:Z.length)<1&&(d||s))return null;if(a==="top"&&!i){var O;return(0,u.jsx)(In,(0,v.Z)((0,v.Z)({matchMenuKeys:t},e),{},{hide:!0,stylish:(O=e.stylish)===null||O===void 0?void 0:O.sider}))}var P=(0,u.jsx)(In,(0,v.Z)((0,v.Z)({matchMenuKeys:t},e),{},{menuData:Z,stylish:(n=e.stylish)===null||n===void 0?void 0:n.sider}));return f?f(e,P):P},Po=function(e,t){var n=t.pageTitleRender,a=Ft(e);if(n===!1)return{title:t.title||"",id:"",pageName:""};if(n){var i=n(e,a.title,a);if(typeof i=="string")return Ft((0,v.Z)((0,v.Z)({},a),{},{title:i}));(0,_r.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},wo=function(e,t,n){return e?t?64:n:0},Eo=function(e){var t,n,a,i,o,c,d,s,f,p,h,S,j,M,Z=e||{},O=Z.children,P=Z.onCollapse,N=Z.location,T=N===void 0?{pathname:"/"}:N,E=Z.contentStyle,y=Z.route,R=Z.defaultCollapsed,U=Z.style,H=Z.siderWidth,w=Z.menu,q=Z.siderMenuType,oe=Z.isChildrenLayout,x=Z.menuDataRender,ie=Z.actionRef,B=Z.bgLayoutImgList,J=Z.formatMessage,ne=Z.loading,de=(0,m.useMemo)(function(){return H||(e.layout==="mix"?215:256)},[e.layout,H]),re=(0,m.useContext)(Ee.ZP.ConfigContext),ye=(t=e.prefixCls)!==null&&t!==void 0?t:re.getPrefixCls("pro"),se=(0,fe.Z)(!1,{value:w==null?void 0:w.loading,onChange:w==null?void 0:w.onLoadingChange}),ve=(0,Q.Z)(se,2),Pe=ve[0],Ze=ve[1],Be=(0,m.useState)(function(){return Bn+=1,"pro-layout-".concat(Bn)}),Oe=(0,Q.Z)(Be,1),We=Oe[0],Fe=(0,m.useCallback)(function(Ce){var Ue=Ce.id,Bt=Ce.defaultMessage,ht=(0,he.Z)(Ce,Io);if(J)return J((0,v.Z)({id:Ue,defaultMessage:Bt},ht));var gt=(0,oo.e)();return gt[Ue]?gt[Ue]:Bt},[J]),Ke=(0,on.ZP)([We,w==null?void 0:w.params],function(){var Ce=(0,Te.Z)((0,me.Z)().mark(function Ue(Bt){var ht,gt,Wn,Fn;return(0,me.Z)().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return gt=(0,Q.Z)(Bt,2),Wn=gt[1],Ze(!0),tt.next=4,w==null||(ht=w.request)===null||ht===void 0?void 0:ht.call(w,Wn||{},(y==null?void 0:y.children)||(y==null?void 0:y.routes)||[]);case 4:return Fn=tt.sent,Ze(!1),tt.abrupt("return",Fn);case 7:case"end":return tt.stop()}},Ue)}));return function(Ue){return Ce.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),dt=Ke.data,Zt=Ke.mutate,xe=Ke.isLoading;(0,m.useEffect)(function(){Ze(xe)},[xe]);var Le=(0,on.kY)(),we=Le.cache;(0,m.useEffect)(function(){return function(){we instanceof Map&&we.delete(We)}},[]);var Mt=(0,m.useMemo)(function(){return bo(dt||(y==null?void 0:y.children)||(y==null?void 0:y.routes)||[],w,Fe,x)},[Fe,w,x,dt,y==null?void 0:y.children,y==null?void 0:y.routes]),Kt=Mt||{},No=Kt.breadcrumb,Tn=Kt.breadcrumbMap,jn=Kt.menuData,st=jn===void 0?[]:jn;ie&&w!==null&&w!==void 0&&w.request&&(ie.current={reload:function(){Zt()}});var vt=(0,m.useMemo)(function(){return Zr(T.pathname||"/",st||[],!0)},[T.pathname,st]),Ut=(0,m.useMemo)(function(){return Array.from(new Set(vt.map(function(Ce){return Ce.key||Ce.path||""})))},[vt]),Pn=vt[vt.length-1]||{},wn=Mo(Pn),It=(0,v.Z)((0,v.Z)({},e),wn),Ho=It.fixSiderbar,ko=It.navTheme,ft=It.layout,Oo=(0,he.Z)(It,Ro),ke=D(),qe=(0,m.useMemo)(function(){return(ke==="sm"||ke==="xs")&&!e.disableMobile},[ke,e.disableMobile]),Ao=ft!=="top"&&!qe,Do=(0,fe.Z)(function(){return R!==void 0?R:!!(qe||ke==="md")},{value:e.collapsed,onChange:P}),En=(0,Q.Z)(Do,2),mt=En[0],Ln=En[1],et=(0,an.Z)((0,v.Z)((0,v.Z)((0,v.Z)({prefixCls:ye},e),{},{siderWidth:de},wn),{},{formatMessage:Fe,breadcrumb:No,menu:(0,v.Z)((0,v.Z)({},w),{},{type:q||(w==null?void 0:w.type),loading:Pe}),layout:ft}),["className","style","breadcrumbRender"]),Gt=Po((0,v.Z)((0,v.Z)({pathname:T.pathname},et),{},{breadcrumbMap:Tn}),e),_o=xo((0,v.Z)((0,v.Z)({},et),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:Tn}),e),Rt=jo((0,v.Z)((0,v.Z)({},et),{},{menuData:st,onCollapse:Ln,isMobile:qe,collapsed:mt}),Ut),Xt=Bo((0,v.Z)((0,v.Z)({},et),{},{children:null,hasSiderMenu:!!Rt,menuData:st,isMobile:qe,collapsed:mt,onCollapse:Ln}),Ut),Nn=To((0,v.Z)({isMobile:qe,collapsed:mt},et)),$o=(0,m.useContext)(Rn.X),zo=$o.isChildrenLayout,Vt=oe!==void 0?oe:zo,Ae="".concat(ye,"-layout"),Hn=co(Ae),Wo=Hn.wrapSSR,Qt=Hn.hashId,Fo=Y()(e.className,Qt,"ant-design-pro",Ae,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"screen-".concat(ke),ke),"".concat(Ae,"-top-menu"),ft==="top"),"".concat(Ae,"-is-children"),Vt),"".concat(Ae,"-fix-siderbar"),Ho),"".concat(Ae,"-").concat(ft),ft)),Ko=wo(!!Ao,mt,de),On={position:"relative"};(Vt||E&&E.minHeight)&&(On.minHeight=0),(0,m.useEffect)(function(){var Ce;(Ce=e.onPageChange)===null||Ce===void 0||Ce.call(e,e.location)},[T.pathname,(n=T.pathname)===null||n===void 0?void 0:n.search]);var Uo=(0,m.useState)(!1),An=(0,Q.Z)(Uo,2),Dn=An[0],Go=An[1],Xo=(0,m.useState)(0),_n=(0,Q.Z)(Xo,2),$n=_n[0],Vo=_n[1];g(Gt,e.title||!1);var Qo=(0,m.useContext)(le.L_),G=Qo.token,zn=(0,m.useMemo)(function(){return B&&B.length>0?B==null?void 0:B.map(function(Ce,Ue){return(0,u.jsx)("img",{src:Ce.src,style:(0,v.Z)({position:"absolute"},Ce)},Ue)}):null},[B]);return Wo((0,u.jsx)(Rn.X.Provider,{value:(0,v.Z)((0,v.Z)({},et),{},{breadcrumb:_o,menuData:st,isMobile:qe,collapsed:mt,hasPageContainer:$n,setHasPageContainer:Vo,isChildrenLayout:!0,title:Gt.pageName,hasSiderMenu:!!Rt,hasHeader:!!Xt,siderWidth:Ko,hasFooter:!!Nn,hasFooterToolbar:Dn,setHasFooterToolbar:Go,pageTitleInfo:Gt,matchMenus:vt,matchMenuKeys:Ut,currentMenu:Pn}),children:e.pure?(0,u.jsx)(u.Fragment,{children:O}):(0,u.jsxs)("div",{className:Fo,children:[zn||(a=G.layout)!==null&&a!==void 0&&a.bgLayout?(0,u.jsx)("div",{className:Y()("".concat(Ae,"-bg-list"),Qt),children:zn}):null,(0,u.jsxs)(Ve,{style:(0,v.Z)({minHeight:"100%",flexDirection:Rt?"row":void 0},U),children:[(0,u.jsx)(Ee.ZP,{theme:{hashed:(0,le.nu)(),token:{controlHeightLG:((i=G.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(G==null?void 0:G.controlHeightLG)},components:{Menu:_({colorItemBg:((o=G.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((c=G.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuBackground)||"transparent",radiusItem:G.borderRadius,colorItemBgSelected:((d=G.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(G==null?void 0:G.colorBgTextHover),colorItemBgHover:((s=G.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorBgMenuItemHover)||(G==null?void 0:G.colorBgTextHover),colorItemBgActive:((f=G.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(G==null?void 0:G.colorBgTextActive),colorItemBgSelectedHorizontal:((p=G.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.colorBgMenuItemSelected)||(G==null?void 0:G.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((h=G.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenu)||(G==null?void 0:G.colorTextSecondary),colorItemTextHover:((S=G.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((j=G.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:G==null?void 0:G.colorBgElevated,subMenuItemBg:G==null?void 0:G.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:G==null?void 0:G.colorBgElevated})}},children:Rt}),(0,u.jsxs)("div",{style:On,className:"".concat(Ae,"-container ").concat(Qt).trim(),children:[Xt,(0,u.jsx)(zr,(0,v.Z)((0,v.Z)({hasPageContainer:$n,isChildrenLayout:Vt},Oo),{},{hasHeader:!!Xt,prefixCls:Ae,style:E,children:ne?(0,u.jsx)(qa.S,{}):O})),Nn,Dn&&(0,u.jsx)("div",{className:"".concat(Ae,"-has-footer"),style:{height:64,marginBlockStart:(M=G.layout)===null||M===void 0||(M=M.pageContainer)===null||M===void 0?void 0:M.paddingBlockPageContainerContent}})]})]})]})}))},Lo=function(e){var t=e.colorPrimary,n=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(Ee.ZP,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,u.jsx)(le._Y,(0,v.Z)((0,v.Z)({autoClearCache:!0},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(Eo,(0,v.Z)((0,v.Z)({logo:(0,u.jsx)(Wr,{})},fn.h),{},{location:(0,X.j)()?window.location:void 0},e))}))})}},83832:function(Ne,Me,C){"use strict";C.d(Me,{S:function(){return le}});var l=C(1413),me=C(91),Te=C(75081),he=C(67294),Q=C(85893),v=["isLoading","pastDelay","timedOut","error","retry"],le=function(m){var Ie=m.isLoading,ge=m.pastDelay,He=m.timedOut,D=m.error,X=m.retry,g=(0,me.Z)(m,v);return(0,Q.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,Q.jsx)(Te.Z,(0,l.Z)({size:"large"},g))})}},76509:function(Ne,Me,C){"use strict";C.d(Me,{X:function(){return me}});var l=C(67294),me=(0,l.createContext)({})},90743:function(Ne,Me){var C;function l(g){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},l(g)}C={value:!0},Me.Bo=C=C=C=C=C=C=void 0;function me(g){for(var I=[],b=0;b<g.length;){var _=g[b];if(_==="*"||_==="+"||_==="?"){I.push({type:"MODIFIER",index:b,value:g[b++]});continue}if(_==="\\"){I.push({type:"ESCAPED_CHAR",index:b++,value:g[b++]});continue}if(_==="{"){I.push({type:"OPEN",index:b,value:g[b++]});continue}if(_==="}"){I.push({type:"CLOSE",index:b,value:g[b++]});continue}if(_===":"){for(var ee="",$=b+1;$<g.length;){var L=g.charCodeAt($);if(L>=48&&L<=57||L>=65&&L<=90||L>=97&&L<=122||L===95){ee+=g[$++];continue}break}if(!ee)throw new TypeError("Missing parameter name at "+b);I.push({type:"NAME",index:b,value:ee}),b=$;continue}if(_==="("){var W=1,V="",$=b+1;if(g[$]==="?")throw new TypeError('Pattern cannot start with "?" at '+$);for(;$<g.length;){if(g[$]==="\\"){V+=g[$++]+g[$++];continue}if(g[$]===")"){if(W--,W===0){$++;break}}else if(g[$]==="("&&(W++,g[$+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+$);V+=g[$++]}if(W)throw new TypeError("Unbalanced pattern at "+b);if(!V)throw new TypeError("Missing pattern at "+b);I.push({type:"PATTERN",index:b,value:V}),b=$;continue}I.push({type:"CHAR",index:b,value:g[b++]})}return I.push({type:"END",index:b,value:""}),I}function Te(g,I){I===void 0&&(I={});for(var b=me(g),_=I.prefixes,ee=_===void 0?"./":_,$="[^"+fe(I.delimiter||"/#?")+"]+?",L=[],W=0,V=0,k="",F=function(ze){if(V<b.length&&b[V].type===ze)return b[V++].value},K=function(ze){var Ge=F(ze);if(Ge!==void 0)return Ge;var pt=b[V],Tt=pt.type,nt=pt.index;throw new TypeError("Unexpected "+Tt+" at "+nt+", expected "+ze)},ue=function(){for(var ze="",Ge;Ge=F("CHAR")||F("ESCAPED_CHAR");)ze+=Ge;return ze};V<b.length;){var ae=F("CHAR"),z=F("NAME"),te=F("PATTERN");if(z||te){var A=ae||"";ee.indexOf(A)===-1&&(k+=A,A=""),k&&(L.push(k),k=""),L.push({name:z||W++,prefix:A,suffix:"",pattern:te||$,modifier:F("MODIFIER")||""});continue}var pe=ae||F("ESCAPED_CHAR");if(pe){k+=pe;continue}k&&(L.push(k),k="");var je=F("OPEN");if(je){var A=ue(),_e=F("NAME")||"",Se=F("PATTERN")||"",$e=ue();K("CLOSE"),L.push({name:_e||(Se?W++:""),pattern:_e&&!Se?$:Se,prefix:A,suffix:$e,modifier:F("MODIFIER")||""});continue}K("END")}return L}C=Te;function he(g,I){return Q(Te(g,I),I)}C=he;function Q(g,I){I===void 0&&(I={});var b=m(I),_=I.encode,ee=_===void 0?function(V){return V}:_,$=I.validate,L=$===void 0?!0:$,W=g.map(function(V){if(l(V)==="object")return new RegExp("^(?:"+V.pattern+")$",b)});return function(V){for(var k="",F=0;F<g.length;F++){var K=g[F];if(typeof K=="string"){k+=K;continue}var ue=V?V[K.name]:void 0,ae=K.modifier==="?"||K.modifier==="*",z=K.modifier==="*"||K.modifier==="+";if(Array.isArray(ue)){if(!z)throw new TypeError('Expected "'+K.name+'" to not repeat, but got an array');if(ue.length===0){if(ae)continue;throw new TypeError('Expected "'+K.name+'" to not be empty')}for(var te=0;te<ue.length;te++){var A=ee(ue[te],K);if(L&&!W[F].test(A))throw new TypeError('Expected all "'+K.name+'" to match "'+K.pattern+'", but got "'+A+'"');k+=K.prefix+A+K.suffix}continue}if(typeof ue=="string"||typeof ue=="number"){var A=ee(String(ue),K);if(L&&!W[F].test(A))throw new TypeError('Expected "'+K.name+'" to match "'+K.pattern+'", but got "'+A+'"');k+=K.prefix+A+K.suffix;continue}if(!ae){var pe=z?"an array":"a string";throw new TypeError('Expected "'+K.name+'" to be '+pe)}}return k}}C=Q;function v(g,I){var b=[],_=X(g,b,I);return le(_,b,I)}C=v;function le(g,I,b){b===void 0&&(b={});var _=b.decode,ee=_===void 0?function($){return $}:_;return function($){var L=g.exec($);if(!L)return!1;for(var W=L[0],V=L.index,k=Object.create(null),F=function(ae){if(L[ae]===void 0)return"continue";var z=I[ae-1];z.modifier==="*"||z.modifier==="+"?k[z.name]=L[ae].split(z.prefix+z.suffix).map(function(te){return ee(te,z)}):k[z.name]=ee(L[ae],z)},K=1;K<L.length;K++)F(K);return{path:W,index:V,params:k}}}C=le;function fe(g){return g.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function m(g){return g&&g.sensitive?"":"i"}function Ie(g,I){if(!I)return g;var b=g.source.match(/\((?!\?)/g);if(b)for(var _=0;_<b.length;_++)I.push({name:_,prefix:"",suffix:"",modifier:"",pattern:""});return g}function ge(g,I,b){var _=g.map(function(ee){return X(ee,I,b).source});return new RegExp("(?:"+_.join("|")+")",m(b))}function He(g,I,b){return D(Te(g,b),I,b)}function D(g,I,b){b===void 0&&(b={});for(var _=b.strict,ee=_===void 0?!1:_,$=b.start,L=$===void 0?!0:$,W=b.end,V=W===void 0?!0:W,k=b.encode,F=k===void 0?function(De){return De}:k,K="["+fe(b.endsWith||"")+"]|$",ue="["+fe(b.delimiter||"/#?")+"]",ae=L?"^":"",z=0,te=g;z<te.length;z++){var A=te[z];if(typeof A=="string")ae+=fe(F(A));else{var pe=fe(F(A.prefix)),je=fe(F(A.suffix));if(A.pattern)if(I&&I.push(A),pe||je)if(A.modifier==="+"||A.modifier==="*"){var _e=A.modifier==="*"?"?":"";ae+="(?:"+pe+"((?:"+A.pattern+")(?:"+je+pe+"(?:"+A.pattern+"))*)"+je+")"+_e}else ae+="(?:"+pe+"("+A.pattern+")"+je+")"+A.modifier;else ae+="("+A.pattern+")"+A.modifier;else ae+="(?:"+pe+je+")"+A.modifier}}if(V)ee||(ae+=ue+"?"),ae+=b.endsWith?"(?="+K+")":"$";else{var Se=g[g.length-1],$e=typeof Se=="string"?ue.indexOf(Se[Se.length-1])>-1:Se===void 0;ee||(ae+="(?:"+ue+"(?="+K+"))?"),$e||(ae+="(?="+ue+"|"+K+")")}return new RegExp(ae,m(b))}C=D;function X(g,I,b){return g instanceof RegExp?Ie(g,I):Array.isArray(g)?ge(g,I,b):He(g,I,b)}Me.Bo=X},78164:function(Ne,Me,C){"use strict";C.d(Me,{S:function(){return Ie}});var l=C(15671),me=C(43144),Te=C(97326),he=C(32531),Q=C(29388),v=C(4942),le=C(29905),fe=C(67294),m=C(85893),Ie=function(ge){(0,he.Z)(D,ge);var He=(0,Q.Z)(D);function D(){var X;(0,l.Z)(this,D);for(var g=arguments.length,I=new Array(g),b=0;b<g;b++)I[b]=arguments[b];return X=He.call.apply(He,[this].concat(I)),(0,v.Z)((0,Te.Z)(X),"state",{hasError:!1,errorInfo:""}),X}return(0,me.Z)(D,[{key:"componentDidCatch",value:function(g,I){console.log(g,I)}},{key:"render",value:function(){return this.state.hasError?(0,m.jsx)(le.ZP,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(g){return{hasError:!0,errorInfo:g.message}}}]),D}(fe.Component)},14779:function(Ne){Ne.exports=He,Ne.exports.parse=me,Ne.exports.compile=Te,Ne.exports.tokensToFunction=he,Ne.exports.tokensToRegExp=ge;var Me="/",C="./",l=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function me(D,X){for(var g=[],I=0,b=0,_="",ee=X&&X.delimiter||Me,$=X&&X.delimiters||C,L=!1,W;(W=l.exec(D))!==null;){var V=W[0],k=W[1],F=W.index;if(_+=D.slice(b,F),b=F+V.length,k){_+=k[1],L=!0;continue}var K="",ue=D[b],ae=W[2],z=W[3],te=W[4],A=W[5];if(!L&&_.length){var pe=_.length-1;$.indexOf(_[pe])>-1&&(K=_[pe],_=_.slice(0,pe))}_&&(g.push(_),_="",L=!1);var je=K!==""&&ue!==void 0&&ue!==K,_e=A==="+"||A==="*",Se=A==="?"||A==="*",$e=K||ee,De=z||te;g.push({name:ae||I++,prefix:K,delimiter:$e,optional:Se,repeat:_e,partial:je,pattern:De?v(De):"[^"+Q($e)+"]+?"})}return(_||b<D.length)&&g.push(_+D.substr(b)),g}function Te(D,X){return he(me(D,X))}function he(D){for(var X=new Array(D.length),g=0;g<D.length;g++)typeof D[g]=="object"&&(X[g]=new RegExp("^(?:"+D[g].pattern+")$"));return function(I,b){for(var _="",ee=b&&b.encode||encodeURIComponent,$=0;$<D.length;$++){var L=D[$];if(typeof L=="string"){_+=L;continue}var W=I?I[L.name]:void 0,V;if(Array.isArray(W)){if(!L.repeat)throw new TypeError('Expected "'+L.name+'" to not repeat, but got array');if(W.length===0){if(L.optional)continue;throw new TypeError('Expected "'+L.name+'" to not be empty')}for(var k=0;k<W.length;k++){if(V=ee(W[k],L),!X[$].test(V))throw new TypeError('Expected all "'+L.name+'" to match "'+L.pattern+'"');_+=(k===0?L.prefix:L.delimiter)+V}continue}if(typeof W=="string"||typeof W=="number"||typeof W=="boolean"){if(V=ee(String(W),L),!X[$].test(V))throw new TypeError('Expected "'+L.name+'" to match "'+L.pattern+'", but got "'+V+'"');_+=L.prefix+V;continue}if(L.optional){L.partial&&(_+=L.prefix);continue}throw new TypeError('Expected "'+L.name+'" to be '+(L.repeat?"an array":"a string"))}return _}}function Q(D){return D.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function v(D){return D.replace(/([=!:$/()])/g,"\\$1")}function le(D){return D&&D.sensitive?"":"i"}function fe(D,X){if(!X)return D;var g=D.source.match(/\((?!\?)/g);if(g)for(var I=0;I<g.length;I++)X.push({name:I,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return D}function m(D,X,g){for(var I=[],b=0;b<D.length;b++)I.push(He(D[b],X,g).source);return new RegExp("(?:"+I.join("|")+")",le(g))}function Ie(D,X,g){return ge(me(D,g),X,g)}function ge(D,X,g){g=g||{};for(var I=g.strict,b=g.start!==!1,_=g.end!==!1,ee=Q(g.delimiter||Me),$=g.delimiters||C,L=[].concat(g.endsWith||[]).map(Q).concat("$").join("|"),W=b?"^":"",V=D.length===0,k=0;k<D.length;k++){var F=D[k];if(typeof F=="string")W+=Q(F),V=k===D.length-1&&$.indexOf(F[F.length-1])>-1;else{var K=F.repeat?"(?:"+F.pattern+")(?:"+Q(F.delimiter)+"(?:"+F.pattern+"))*":F.pattern;X&&X.push(F),F.optional?F.partial?W+=Q(F.prefix)+"("+K+")?":W+="(?:"+Q(F.prefix)+"("+K+"))?":W+=Q(F.prefix)+"("+K+")"}}return _?(I||(W+="(?:"+ee+")?"),W+=L==="$"?"$":"(?="+L+")"):(I||(W+="(?:"+ee+"(?="+L+"))?"),V||(W+="(?="+ee+"|"+L+")")),new RegExp(W,le(g))}function He(D,X,g){return D instanceof RegExp?fe(D,X):Array.isArray(D)?m(D,X,g):Ie(D,X,g)}}}]);