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.
34 lines
122 KiB
34 lines
122 KiB
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[638],{16549:function(Ze,Be,y){"use strict";y.d(Be,{f:function(){return hi}});var u=y(4942),me=y(74165),le=y(15861),he=y(91),F=y(97685),m=y(1413),ae=y(10915),de=y(21770),v=y(67294);function xe(r){var e=typeof window=="undefined",t=(0,v.useState)(function(){return e?!1:window.matchMedia(r).matches}),n=(0,F.Z)(t,2),a=n[0],o=n[1];return(0,v.useLayoutEffect)(function(){if(!e){var i=window.matchMedia(r),l=function(d){return o(d.matches)};return i.addListener(l),function(){return i.removeListener(l)}}},[r]),a}var ce={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)"}},ye=function(){var e=void 0;if(typeof window=="undefined")return e;var t=Object.keys(ce).find(function(n){var a=ce[n].matchMedia;return!!window.matchMedia(a).matches});return e=t,e},A=function(){var e=xe(ce.md.matchMedia),t=xe(ce.lg.matchMedia),n=xe(ce.xxl.matchMedia),a=xe(ce.xl.matchMedia),o=xe(ce.sm.matchMedia),i=xe(ce.xs.matchMedia),l=(0,v.useState)(ye()),c=(0,F.Z)(l,2),d=c[0],f=c[1];return(0,v.useEffect)(function(){if(n){f("xxl");return}if(a){f("xl");return}if(t){f("lg");return}if(e){f("md");return}if(o){f("sm");return}if(i){f("xs");return}f("md")},[e,t,n,a,o,i]),d},X=y(12044);function x(r,e){var t=typeof r.pageName=="string"?r.title:e;(0,v.useEffect)(function(){(0,X.j)()&&t&&(document.title=t)},[r.title,t])}var j=y(1977),M=y(73177);function _(r){if((0,j.n)((0,M.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,m.Z)({},r);return Object.keys(e).forEach(function(n){t[n]!==void 0&&(t[e[n]]=t[n],delete t[n])}),t}var ee=y(90743);function D(r,e){return e>>>r|e<<32-r}function O(r,e,t){return r&e^~r&t}function k(r,e,t){return r&e^r&t^e&t}function Q(r){return D(2,r)^D(13,r)^D(22,r)}function J(r){return D(6,r)^D(11,r)^D(25,r)}function K(r){return D(7,r)^D(18,r)^r>>>3}function G(r){return D(17,r)^D(19,r)^r>>>10}function se(r,e){return r[e&15]+=G(r[e+14&15])+r[e+9&15]+K(r[e+1&15])}var oe=[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,H,Ce="0123456789abcdef";function Pe(r,e){var t=(r&65535)+(e&65535),n=(r>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function De(){z=new Array(8),te=new Array(2),H=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 Re(){var r,e,t,n,a,o,i,l,c,d,f=new Array(16);r=z[0],e=z[1],t=z[2],n=z[3],a=z[4],o=z[5],i=z[6],l=z[7];for(var h=0;h<16;h++)f[h]=H[(h<<2)+3]|H[(h<<2)+2]<<8|H[(h<<2)+1]<<16|H[h<<2]<<24;for(var g=0;g<64;g++)c=l+J(a)+O(a,o,i)+oe[g],g<16?c+=f[g]:c+=se(f,g),d=Q(r)+k(r,e,t),l=i,i=o,o=a,a=Pe(n,c),n=t,t=e,e=r,r=Pe(c,d);z[0]+=r,z[1]+=e,z[2]+=t,z[3]+=n,z[4]+=a,z[5]+=o,z[6]+=i,z[7]+=l}function ze(r,e){var t,n,a=0;n=te[0]>>3&63;var o=e&63;for((te[0]+=e<<3)<e<<3&&te[1]++,te[1]+=e>>29,t=0;t+63<e;t+=64){for(var i=n;i<64;i++)H[i]=r.charCodeAt(a++);Re(),n=0}for(var l=0;l<o;l++)H[l]=r.charCodeAt(a++)}function Ae(){var r=te[0]>>3&63;if(H[r++]=128,r<=56)for(var e=r;e<56;e++)H[e]=0;else{for(var t=r;t<64;t++)H[t]=0;Re();for(var n=0;n<56;n++)H[n]=0}H[56]=te[1]>>>24&255,H[57]=te[1]>>>16&255,H[58]=te[1]>>>8&255,H[59]=te[1]&255,H[60]=te[0]>>>24&255,H[61]=te[0]>>>16&255,H[62]=te[0]>>>8&255,H[63]=te[0]&255,Re()}function We(){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+=Ce.charAt(z[e]>>>t&15);return r}function St(r){return De(),ze(r,r.length),Ae(),Ge()}var Ot=St;function ct(r){"@babel/helpers - typeof";return ct=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},ct(r)}var nr=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function rr(r,e){return ir(r)||or(r,e)||At(r,e)||ar()}function ar(){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 or(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],a=!0,o=!1,i,l;try{for(t=t.call(r);!(a=(i=t.next()).done)&&(n.push(i.value),!(e&&n.length===e));a=!0);}catch(c){o=!0,l=c}finally{try{!a&&t.return!=null&&t.return()}finally{if(o)throw l}}return n}}function ir(r){if(Array.isArray(r))return r}function lr(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=At(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(d){throw d},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 o=!0,i=!1,l;return{s:function(){t=t.call(r)},n:function(){var d=t.next();return o=d.done,d},e:function(d){i=!0,l=d},f:function(){try{!o&&t.return!=null&&t.return()}finally{if(i)throw l}}}}function cr(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function ln(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 ur(r,e,t){return e&&ln(r.prototype,e),t&&ln(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function sr(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&&ut(r,e)}function dr(r){var e=cn();return function(){var n=st(r),a;if(e){var o=st(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return vr(this,a)}}function vr(r,e){if(e&&(ct(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fr(r)}function fr(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Ht(r){var e=typeof Map=="function"?new Map:void 0;return Ht=function(n){if(n===null||!mr(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 Mt(n,arguments,st(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ut(a,n)},Ht(r)}function Mt(r,e,t){return cn()?Mt=Reflect.construct.bind():Mt=function(a,o,i){var l=[null];l.push.apply(l,o);var c=Function.bind.apply(a,l),d=new c;return i&&ut(d,i.prototype),d},Mt.apply(null,arguments)}function cn(){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 mr(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function ut(r,e){return ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},ut(r,e)}function st(r){return st=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},st(r)}function un(r){return pr(r)||gr(r)||At(r)||hr()}function hr(){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 At(r,e){if(r){if(typeof r=="string")return _t(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 _t(r,e)}}function gr(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function pr(r){if(Array.isArray(r))return _t(r)}function _t(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 yr(r,e){if(r==null)return{};var t=xr(r,e),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);for(a=0;a<o.length;a++)n=o[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function xr(r,e){if(r==null)return{};var t={},n=Object.keys(r),a,o;for(o=0;o<n.length;o++)a=n[o],!(e.indexOf(a)>=0)&&(t[a]=r[a]);return t}function sn(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 ve(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?sn(Object(t),!0).forEach(function(n){Cr(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):sn(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function Cr(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Te="routes";function dt(r){return r.split("?")[0].split("#")[0]}var Dt=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},br=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Ot(JSON.stringify(e)))}catch(n){}return t&&dt(t)},Sr=function(e,t){var n=e.name,a=e.locale;return"locale"in e&&a===!1||!n?!1:e.locale||"".concat(t,".").concat(n)},dn=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("/")||Dt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},Mr=function(e,t){var n=e.menu,a=n===void 0?{}:n,o=e.indexRoute,i=e.path,l=i===void 0?"":i,c=e.children||[],d=a.name,f=d===void 0?e.name:d,h=a.icon,g=h===void 0?e.icon:h,b=a.hideChildren,R=b===void 0?e.hideChildren:b,S=a.flatMenu,Z=S===void 0?e.flatMenu:S,L=o&&Object.keys(o).join(",")!=="redirect"?[ve({path:l,menu:a},o)].concat(c||[]):c,w=ve({},e);if(f&&(w.name=f),g&&(w.icon=g),L&&L.length){if(R)return delete w.children,w;var P=zt(ve(ve({},t),{},{data:L}),e);if(Z)return P;delete w[Te]}return w},Ve=function(e){return Array.isArray(e)&&e.length>0};function zt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,a=r.parentName,o=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(i){return i?Ve(i.children)||i.path||i.originPath||i.layout?!0:(i.redirect||i.unaccessible,!1):!1}).filter(function(i){var l,c;return!(i==null||(l=i.menu)===null||l===void 0)&&l.name||i!=null&&i.flatMenu||!(i==null||(c=i.menu)===null||c===void 0)&&c.flatMenu?!0:i.menu!==!1}).map(function(i){var l=ve(ve({},i),{},{path:i.path||i.originPath});return!l.children&&l[Te]&&(l.children=l[Te],delete l[Te]),l.unaccessible&&delete l.name,l.path==="*"&&(l.path="."),l.path==="/*"&&(l.path="."),!l.path&&l.originPath&&(l.path=l.originPath),l}).map(function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},l=i.children||i[Te]||[],c=dn(i.path,e?e.path:"/"),d=i.name,f=Sr(i,a||"menu"),h=f!==!1&&o!==!1&&n&&f?n({id:f,defaultMessage:d}):d,g=e.pro_layout_parentKeys,b=g===void 0?[]:g,R=e.children,S=e.icon,Z=e.flatMenu,L=e.indexRoute,w=e.routes,P=yr(e,nr),I=new Set([].concat(un(b),un(i.parentKeys||[])));e.key&&I.add(e.key);var E=ve(ve(ve({},P),{},{menu:void 0},i),{},{path:c,locale:f,key:i.key||br(ve(ve({},i),{},{path:c})),pro_layout_parentKeys:Array.from(I).filter(function(B){return B&&B!=="/"})});if(h?E.name=h:delete E.name,E.menu===void 0&&delete E.menu,Ve(l)){var p=zt(ve(ve({},r),{},{data:l,parentName:f||""}),E);Ve(p)&&(E.children=p)}return Mr(E,r)}).flat(1)}var Zr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||Ve(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var n=ve({},t),a=n.children||t[Te]||[];if(delete n[Te],Ve(a)&&!n.hideChildrenInMenu&&a.some(function(i){return i&&!!i.name})){var o=r(a);if(o.length)return ve(ve({},n),{},{children:o})}return ve({},t)}).filter(function(t){return t})},Ir=function(r){sr(t,r);var e=dr(t);function t(){return cr(this,t),e.apply(this,arguments)}return ur(t,[{key:"get",value:function(a){var o;try{var i=lr(this.entries()),l;try{for(i.s();!(l=i.n()).done;){var c=rr(l.value,2),d=c[0],f=c[1],h=dt(d);if(!Dt(d)&&(0,ee.Bo)(h,[]).test(a)){o=f;break}}}catch(g){i.e(g)}finally{i.f()}}catch(g){o=void 0}return o}}]),t}(Ht(Map)),Br=function(e){var t=new Ir,n=function a(o,i){o.forEach(function(l){var c=l.children||l[Te]||[];Ve(c)&&a(c,l);var d=dn(l.path,i?i.path:"/");t.set(dt(d),l)})};return n(e),t},Rr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var n=t.children||t[Te];if(Ve(n)){var a=r(n);if(a.length)return ve({},t)}var o=ve({},t);return delete o[Te],delete o.children,o}).filter(function(t){return t})},jr=function(e,t,n,a){var o=zt({data:e,formatMessage:n,locale:t}),i=a?Rr(o):Zr(o),l=Br(o);return{breadcrumb:l,menuData:i}},Tr=jr;function vn(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 vt(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?vn(Object(t),!0).forEach(function(n){wr(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):vn(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function wr(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Pr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(n){var a=vt({},n);if(!(!a||!a.key)){!a.children&&a[Te]&&(a.children=a[Te],delete a[Te]);var o=a.children||[];t[dt(a.path||a.key||"/")]=vt({},a),t[a.key||a.path||"/"]=vt({},a),o&&(t=vt(vt({},t),r(o)))}}),t},Er=Pr,$r=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&&!Dt(a)){var o=dt(a);try{if(n&&(0,ee.Bo)("".concat(o)).test(t)||(0,ee.Bo)("".concat(o),[]).test(t)||(0,ee.Bo)("".concat(o,"/(.*)")).test(t))return!0}catch(i){}}return!1}).sort(function(a,o){return a===t?10:o===t?-10:a.substr(1).split("/").length-o.substr(1).split("/").length})},Nr=function(e,t,n,a){var o=Er(t),i=Object.keys(o),l=$r(i,e||"/",a);return!l||l.length<1?[]:(n||(l=[l[l.length-1]]),l.map(function(c){var d=o[c]||{pro_layout_parentKeys:"",key:""},f=new Map,h=(d.pro_layout_parentKeys||[]).map(function(g){return f.has(g)?null:(f.set(g,!0),o[g])}).filter(function(g){return g});return d.key&&h.push(d),h}).flat(1))},Lr=Nr,Ne=y(28459),Qe=y(74902),Or=y(93967),W=y.n(Or),Zt=y(98423),_e=y(53124),Hr=y(82401),Ar=y(50344),Wt=y(10130);function _r(r,e,t){return typeof t=="boolean"?t:r.length?!0:(0,Ar.Z)(e).some(a=>a.type===Wt.Z)}var ft=y(54548),fn=y(91945),Dr=r=>{const{componentCls:e,bodyBg:t,lightSiderBg:n,lightTriggerBg:a,lightTriggerColor:o}=r;return{[`${e}-sider-light`]:{background:n,[`${e}-sider-trigger`]:{color:o,background:a},[`${e}-sider-zero-width-trigger`]:{color:o,background:a,border:`1px solid ${t}`,borderInlineStart:0}}}};const zr=r=>{const{antCls:e,componentCls:t,colorText:n,triggerColor:a,footerBg:o,triggerBg:i,headerHeight:l,headerPadding:c,headerColor:d,footerPadding:f,triggerHeight:h,zeroTriggerHeight:g,zeroTriggerWidth:b,motionDurationMid:R,motionDurationSlow:S,fontSize:Z,borderRadius:L,bodyBg:w,headerBg:P,siderBg:I}=r;return{[t]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:w,"&, *":{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:I,transition:`all ${R}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${e}-menu${e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:h},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:h,color:a,lineHeight:(0,ft.bf)(h),textAlign:"center",background:i,cursor:"pointer",transition:`all ${R}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:l,insetInlineEnd:r.calc(b).mul(-1).equal(),zIndex:1,width:b,height:g,color:a,fontSize:r.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:I,borderStartStartRadius:0,borderStartEndRadius:L,borderEndEndRadius:L,borderEndStartRadius:0,cursor:"pointer",transition:`background ${S} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${S}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:r.calc(b).mul(-1).equal(),borderStartStartRadius:L,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:L}}}}},Dr(r)),{"&-rtl":{direction:"rtl"}}),[`${t}-header`]:{height:l,padding:c,color:d,lineHeight:(0,ft.bf)(l),background:P,[`${e}-menu`]:{lineHeight:"inherit"}},[`${t}-footer`]:{padding:f,color:n,fontSize:Z,background:o},[`${t}-content`]:{flex:"auto",color:n,minHeight:0}}},Wr=r=>{const{colorBgLayout:e,controlHeight:t,controlHeightLG:n,colorText:a,controlHeightSM:o,marginXXS:i,colorTextLightSolid:l,colorBgContainer:c}=r,d=n*1.25;return{colorBgHeader:"#001529",colorBgBody:e,colorBgTrigger:"#002140",bodyBg:e,headerBg:"#001529",headerHeight:t*2,headerPadding:`0 ${d}px`,headerColor:a,footerPadding:`${o}px ${d}px`,footerBg:e,siderBg:"#001529",triggerHeight:n+i*2,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:a}};var mn=(0,fn.I$)("Layout",r=>[zr(r)],Wr,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),hn=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 It(r){let{suffixCls:e,tagName:t,displayName:n}=r;return a=>v.forwardRef((i,l)=>v.createElement(a,Object.assign({ref:l,suffixCls:e,tagName:t},i)))}const Ft=v.forwardRef((r,e)=>{const{prefixCls:t,suffixCls:n,className:a,tagName:o}=r,i=hn(r,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:l}=v.useContext(_e.E_),c=l("layout",t),[d,f,h]=mn(c),g=n?`${c}-${n}`:c;return d(v.createElement(o,Object.assign({className:W()(t||g,a,f,h),ref:e},i)))}),Fr=v.forwardRef((r,e)=>{const{direction:t}=v.useContext(_e.E_),[n,a]=v.useState([]),{prefixCls:o,className:i,rootClassName:l,children:c,hasSider:d,tagName:f,style:h}=r,g=hn(r,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),b=(0,Zt.Z)(g,["suffixCls"]),{getPrefixCls:R,layout:S}=v.useContext(_e.E_),Z=R("layout",o),L=_r(n,c,d),[w,P,I]=mn(Z),E=W()(Z,{[`${Z}-has-sider`]:L,[`${Z}-rtl`]:t==="rtl"},S==null?void 0:S.className,i,l,P,I),p=v.useMemo(()=>({siderHook:{addSider:B=>{a(U=>[].concat((0,Qe.Z)(U),[B]))},removeSider:B=>{a(U=>U.filter(N=>N!==B))}}}),[]);return w(v.createElement(Hr.V.Provider,{value:p},v.createElement(f,Object.assign({ref:e,className:E,style:Object.assign(Object.assign({},S==null?void 0:S.style),h)},b),c)))}),kr=It({tagName:"div",displayName:"Layout"})(Fr),Kr=It({suffixCls:"header",tagName:"header",displayName:"Header"})(Ft),Ur=It({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Ft),Gr=It({suffixCls:"content",tagName:"main",displayName:"Content"})(Ft);var Vr=kr;const Ye=Vr;Ye.Header=Kr,Ye.Footer=Ur,Ye.Content=Gr,Ye.Sider=Wt.Z,Ye._InternalSiderContext=Wt.D;var Xe=Ye,gn=y(97435),Xr=y(80334),pn=y(81758),Qr=y(78164),s=y(85893),Yr=function(e){var t=(0,v.useContext)(ae.L_),n=t.hashId,a=e.style,o=e.prefixCls,i=e.children,l=e.hasPageContainer,c=l===void 0?0:l,d=W()("".concat(o,"-content"),n,(0,u.Z)((0,u.Z)({},"".concat(o,"-has-header"),e.hasHeader),"".concat(o,"-content-has-page-container"),c>0)),f=e.ErrorBoundary||Qr.S;return e.ErrorBoundary===!1?(0,s.jsx)(Xe.Content,{className:d,style:a,children:i}):(0,s.jsx)(f,{children:(0,s.jsx)(Xe.Content,{className:d,style:a,children:i})})},Jr=function(){return(0,s.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,s.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,s.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,s.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,s.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,s.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,s.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,s.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,s.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,s.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,s.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,s.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,s.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,s.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,s.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,s.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,s.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,s.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,s.jsxs)("g",{children:[(0,s.jsxs)("g",{fillRule:"nonzero",children:[(0,s.jsxs)("g",{children:[(0,s.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,s.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,s.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,s.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},Je=y(87462),qr={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"},ea=qr,yn=y(65555),ta=function(e,t){return v.createElement(yn.Z,(0,Je.Z)({},e,{ref:t,icon:ea}))},na=v.forwardRef(ta),Ie=y(98082),ra=function(e){return(0,u.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 aa(r){return(0,Ie.Xj)("ProLayoutFooter",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[ra(t)]})}var oa=function(e){var t=e.className,n=e.prefixCls,a=e.links,o=e.copyright,i=e.style,l=(0,v.useContext)(Ne.ZP.ConfigContext),c=l.getPrefixCls(n||"pro-global-footer"),d=aa(c),f=d.wrapSSR,h=d.hashId;return(a==null||a===!1||Array.isArray(a)&&a.length===0)&&(o==null||o===!1)?null:f((0,s.jsxs)("div",{className:W()(c,h,t),style:i,children:[a&&(0,s.jsx)("div",{className:"".concat(c,"-list ").concat(h).trim(),children:a.map(function(g){return(0,s.jsx)("a",{className:"".concat(c,"-list-link ").concat(h).trim(),title:g.key,target:g.blankTarget?"_blank":"_self",href:g.href,rel:"noreferrer",children:g.title},g.key)})}),o&&(0,s.jsx)("div",{className:"".concat(c,"-copyright ").concat(h).trim(),children:o})]}))},ia=Xe.Footer,la=function(e){var t=e.links,n=e.copyright,a=e.style,o=e.className,i=e.prefixCls;return(0,s.jsx)(ia,{className:o,style:(0,m.Z)({padding:0},a),children:(0,s.jsx)(oa,{links:t,prefixCls:i,copyright:n===!1?null:(0,s.jsxs)(v.Fragment,{children:[(0,s.jsx)(na,{})," ",n]})})})},mt=y(62812),ca={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"},ua=ca,sa=function(e,t){return v.createElement(yn.Z,(0,Je.Z)({},e,{ref:t,icon:ua}))},da=v.forwardRef(sa),va=y(55241),fa=function(){return(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},ma=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,o=e.itemClick;return(0,s.jsx)("div",{className:"".concat(n,"-content ").concat(a).trim(),children:(0,s.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a).trim(),children:t==null?void 0:t.map(function(i,l){var c;return i!=null&&(c=i.children)!==null&&c!==void 0&&c.length?(0,s.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a).trim(),children:[(0,s.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a).trim(),children:i.title}),(0,s.jsx)(r,{hashId:a,itemClick:o,appList:i==null?void 0:i.children,baseClassName:n})]},l):(0,s.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),o==null||o(i)},children:(0,s.jsxs)("a",{href:o?void 0:i.url,target:i.target,rel:"noreferrer",children:[Kt(i.icon),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{children:i.title}),i.desc?(0,s.jsx)("span",{children:i.desc}):null]})]})},l)})})})},kt=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},ha=function(e,t){if(e&&typeof e=="string"&&kt(e))return(0,s.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,s.jsx)("div",{id:"avatarLogo",children:e});if(!e&&t&&typeof t=="string"){var n=t.substring(0,1);return(0,s.jsx)("div",{id:"avatarLogo",children:n})}return e},ga=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,o=e.itemClick;return(0,s.jsx)("div",{className:"".concat(n,"-content ").concat(a).trim(),children:(0,s.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a).trim(),children:t==null?void 0:t.map(function(i,l){var c;return i!=null&&(c=i.children)!==null&&c!==void 0&&c.length?(0,s.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a).trim(),children:[(0,s.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a).trim(),children:i.title}),(0,s.jsx)(r,{hashId:a,itemClick:o,appList:i==null?void 0:i.children,baseClassName:n})]},l):(0,s.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),o==null||o(i)},children:(0,s.jsxs)("a",{href:o?"javascript:;":i.url,target:i.target,rel:"noreferrer",children:[ha(i.icon,i.title),(0,s.jsx)("div",{children:(0,s.jsx)("div",{children:i.title})})]})},l)})})})},pa=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":Ie.Wf===null||Ie.Wf===void 0?void 0:(0,Ie.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"}}}}}}},ya=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"}}}}}}},xa=function(e){var t,n,a,o,i;return(0,u.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:(o=e.layout)===null||o===void 0?void 0:o.colorTextAppListIconHover,backgroundColor:(i=e.layout)===null||i===void 0?void 0:i.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,u.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":ya(e),"&-default":pa(e)})};function Ca(r){return(0,Ie.Xj)("AppsLogoComponents",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[xa(t)]})}var Kt=function(e){return typeof e=="string"?(0,s.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},Ut=function(e){var t,n=e.appList,a=e.appListRender,o=e.prefixCls,i=o===void 0?"ant-pro":o,l=e.onItemClick,c=v.useRef(null),d=v.useRef(null),f="".concat(i,"-layout-apps"),h=Ca(f),g=h.wrapSSR,b=h.hashId,R=(0,v.useState)(!1),S=(0,F.Z)(R,2),Z=S[0],L=S[1],w=function(B){l==null||l(B,d)},P=(0,v.useMemo)(function(){var p=n==null?void 0:n.some(function(B){return!(B!=null&&B.desc)});return p?(0,s.jsx)(ga,{hashId:b,appList:n,itemClick:l?w:void 0,baseClassName:"".concat(f,"-simple")}):(0,s.jsx)(ma,{hashId:b,appList:n,itemClick:l?w:void 0,baseClassName:"".concat(f,"-default")})},[n,f,b]);if(!(e!=null&&(t=e.appList)!==null&&t!==void 0&&t.length))return null;var I=a?a(e==null?void 0:e.appList,P):P,E=(0,M.X)(void 0,function(p){return L(p)});return g((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:c,onClick:function(B){B.stopPropagation(),B.preventDefault()}}),(0,s.jsx)(va.Z,(0,m.Z)((0,m.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},E),{},{overlayClassName:"".concat(f,"-popover ").concat(b).trim(),content:I,getPopupContainer:function(){return c.current||document.body},children:(0,s.jsx)("span",{ref:d,onClick:function(B){B.stopPropagation()},className:W()("".concat(f,"-icon"),b,(0,u.Z)({},"".concat(f,"-icon-active"),Z)),children:(0,s.jsx)(fa,{})})}))]}))},xn=y(7134),ba=y(78957),Cn=y(68508);function Sa(){return(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,s.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 Ma=function(e){var t,n,a;return(0,u.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 Za(r){return(0,Ie.Xj)("SiderMenuCollapsedIcon",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[Ma(t)]})}var Ia=["isMobile","collapsed"],Ba=function(e){var t=e.isMobile,n=e.collapsed,a=(0,he.Z)(e,Ia),o=Za(e.className),i=o.wrapSSR,l=o.hashId;return t&&n?null:i((0,s.jsx)("div",(0,m.Z)((0,m.Z)({},a),{},{className:W()(e.className,l,(0,u.Z)((0,u.Z)({},"".concat(e.className,"-collapsed"),n),"".concat(e.className,"-is-mobile"),t)),children:(0,s.jsx)(Sa,{})})))},Ra=y(43144),ja=y(15671),Ta=y(42550),wa=y(2446),Bt=y(14004),Pa=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],bn=v.forwardRef(function(r,e){var t=r.className,n=r.component,a=r.viewBox,o=r.spin,i=r.rotate,l=r.tabIndex,c=r.onClick,d=r.children,f=(0,he.Z)(r,Pa),h=v.useRef(),g=(0,Ta.x1)(h,e);(0,Bt.Kp)(!!(n||d),"Should have `component` prop or `children`."),(0,Bt.C3)(h);var b=v.useContext(wa.Z),R=b.prefixCls,S=R===void 0?"anticon":R,Z=b.rootClassName,L=W()(Z,S,t),w=W()((0,u.Z)({},"".concat(S,"-spin"),!!o)),P=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,I=(0,m.Z)((0,m.Z)({},Bt.vD),{},{className:w,style:P,viewBox:a});a||delete I.viewBox;var E=function(){return n?v.createElement(n,I,d):d?((0,Bt.Kp)(!!a||v.Children.count(d)===1&&v.isValidElement(d)&&v.Children.only(d).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),v.createElement("svg",(0,Je.Z)({},I,{viewBox:a}),d)):null},p=l;return p===void 0&&c&&(p=-1),v.createElement("span",(0,Je.Z)({role:"img"},f,{ref:g,tabIndex:p,onClick:c,className:L}),E())});bn.displayName="AntdIcon";var Ea=bn,$a=["type","children"],Sn=new Set;function Na(r){return!!(typeof r=="string"&&r.length&&!Sn.has(r))}function Rt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=r[e];if(Na(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),r.length>e+1&&(n.onload=function(){Rt(r,e+1)},n.onerror=function(){Rt(r,e+1)}),Sn.add(t),document.body.appendChild(n)}}function Mn(){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)?Rt(e.reverse()):Rt([e]));var a=v.forwardRef(function(o,i){var l=o.type,c=o.children,d=(0,he.Z)(o,$a),f=null;return o.type&&(f=v.createElement("use",{xlinkHref:"#".concat(l)})),c&&(f=c),v.createElement(Ea,(0,Je.Z)({},n,d,{ref:i}),f)});return a.displayName="Iconfont",a}function La(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var Oa=y(83062),jt=r=>{const{prefixCls:e,className:t,style:n,size:a,shape:o}=r,i=W()({[`${e}-lg`]:a==="large",[`${e}-sm`]:a==="small"}),l=W()({[`${e}-circle`]:o==="circle",[`${e}-square`]:o==="square",[`${e}-round`]:o==="round"}),c=v.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return v.createElement("span",{className:W()(e,i,l,t),style:Object.assign(Object.assign({},c),n)})},Ha=y(45503);const Aa=new ft.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Tt=r=>({height:r,lineHeight:(0,ft.bf)(r)}),qe=r=>Object.assign({width:r},Tt(r)),_a=r=>({background:r.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Aa,animationDuration:r.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Gt=(r,e)=>Object.assign({width:e(r).mul(5).equal(),minWidth:e(r).mul(5).equal()},Tt(r)),Da=r=>{const{skeletonAvatarCls:e,gradientFromColor:t,controlHeight:n,controlHeightLG:a,controlHeightSM:o}=r;return{[`${e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:t},qe(n)),[`${e}${e}-circle`]:{borderRadius:"50%"},[`${e}${e}-lg`]:Object.assign({},qe(a)),[`${e}${e}-sm`]:Object.assign({},qe(o))}},za=r=>{const{controlHeight:e,borderRadiusSM:t,skeletonInputCls:n,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i,calc:l}=r;return{[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t},Gt(e,l)),[`${n}-lg`]:Object.assign({},Gt(a,l)),[`${n}-sm`]:Object.assign({},Gt(o,l))}},Zn=r=>Object.assign({width:r},Tt(r)),Wa=r=>{const{skeletonImageCls:e,imageSizeBase:t,gradientFromColor:n,borderRadiusSM:a,calc:o}=r;return{[`${e}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:n,borderRadius:a},Zn(o(t).mul(2).equal())),{[`${e}-path`]:{fill:"#bfbfbf"},[`${e}-svg`]:Object.assign(Object.assign({},Zn(t)),{maxWidth:o(t).mul(4).equal(),maxHeight:o(t).mul(4).equal()}),[`${e}-svg${e}-svg-circle`]:{borderRadius:"50%"}}),[`${e}${e}-circle`]:{borderRadius:"50%"}}},Vt=(r,e,t)=>{const{skeletonButtonCls:n}=r;return{[`${t}${n}-circle`]:{width:e,minWidth:e,borderRadius:"50%"},[`${t}${n}-round`]:{borderRadius:e}}},Xt=(r,e)=>Object.assign({width:e(r).mul(2).equal(),minWidth:e(r).mul(2).equal()},Tt(r)),Fa=r=>{const{borderRadiusSM:e,skeletonButtonCls:t,controlHeight:n,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i,calc:l}=r;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:e,width:l(n).mul(2).equal(),minWidth:l(n).mul(2).equal()},Xt(n,l))},Vt(r,n,t)),{[`${t}-lg`]:Object.assign({},Xt(a,l))}),Vt(r,a,`${t}-lg`)),{[`${t}-sm`]:Object.assign({},Xt(o,l))}),Vt(r,o,`${t}-sm`))},ka=r=>{const{componentCls:e,skeletonAvatarCls:t,skeletonTitleCls:n,skeletonParagraphCls:a,skeletonButtonCls:o,skeletonInputCls:i,skeletonImageCls:l,controlHeight:c,controlHeightLG:d,controlHeightSM:f,gradientFromColor:h,padding:g,marginSM:b,borderRadius:R,titleHeight:S,blockRadius:Z,paragraphLiHeight:L,controlHeightXS:w,paragraphMarginTop:P}=r;return{[`${e}`]:{display:"table",width:"100%",[`${e}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:h},qe(c)),[`${t}-circle`]:{borderRadius:"50%"},[`${t}-lg`]:Object.assign({},qe(d)),[`${t}-sm`]:Object.assign({},qe(f))},[`${e}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${n}`]:{width:"100%",height:S,background:h,borderRadius:Z,[`+ ${a}`]:{marginBlockStart:f}},[`${a}`]:{padding:0,"> li":{width:"100%",height:L,listStyle:"none",background:h,borderRadius:Z,"+ li":{marginBlockStart:w}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${e}-content`]:{[`${n}, ${a} > li`]:{borderRadius:R}}},[`${e}-with-avatar ${e}-content`]:{[`${n}`]:{marginBlockStart:b,[`+ ${a}`]:{marginBlockStart:P}}},[`${e}${e}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Fa(r)),Da(r)),za(r)),Wa(r)),[`${e}${e}-block`]:{width:"100%",[`${o}`]:{width:"100%"},[`${i}`]:{width:"100%"}},[`${e}${e}-active`]:{[`
|
|
${n},
|
|
${a} > li,
|
|
${t},
|
|
${o},
|
|
${i},
|
|
${l}
|
|
`]:Object.assign({},_a(r))}}},Ka=r=>{const{colorFillContent:e,colorFill:t}=r,n=e,a=t;return{color:n,colorGradientEnd:a,gradientFromColor:n,gradientToColor:a,titleHeight:r.controlHeight/2,blockRadius:r.borderRadiusSM,paragraphMarginTop:r.marginLG+r.marginXXS,paragraphLiHeight:r.controlHeight/2}};var et=(0,fn.I$)("Skeleton",r=>{const{componentCls:e,calc:t}=r,n=(0,Ha.TS)(r,{skeletonAvatarCls:`${e}-avatar`,skeletonTitleCls:`${e}-title`,skeletonParagraphCls:`${e}-paragraph`,skeletonButtonCls:`${e}-button`,skeletonInputCls:`${e}-input`,skeletonImageCls:`${e}-image`,imageSizeBase:t(r.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${r.gradientFromColor} 25%, ${r.gradientToColor} 37%, ${r.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ka(n)]},Ka,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ua=r=>{const{prefixCls:e,className:t,rootClassName:n,active:a,shape:o="circle",size:i="default"}=r,{getPrefixCls:l}=v.useContext(_e.E_),c=l("skeleton",e),[d,f,h]=et(c),g=(0,Zt.Z)(r,["prefixCls","className"]),b=W()(c,`${c}-element`,{[`${c}-active`]:a},t,n,f,h);return d(v.createElement("div",{className:b},v.createElement(jt,Object.assign({prefixCls:`${c}-avatar`,shape:o,size:i},g))))},Ga=r=>{const{prefixCls:e,className:t,rootClassName:n,active:a,block:o=!1,size:i="default"}=r,{getPrefixCls:l}=v.useContext(_e.E_),c=l("skeleton",e),[d,f,h]=et(c),g=(0,Zt.Z)(r,["prefixCls"]),b=W()(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},t,n,f,h);return d(v.createElement("div",{className:b},v.createElement(jt,Object.assign({prefixCls:`${c}-button`,size:i},g))))};const Va="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Xa=r=>{const{prefixCls:e,className:t,rootClassName:n,style:a,active:o}=r,{getPrefixCls:i}=v.useContext(_e.E_),l=i("skeleton",e),[c,d,f]=et(l),h=W()(l,`${l}-element`,{[`${l}-active`]:o},t,n,d,f);return c(v.createElement("div",{className:h},v.createElement("div",{className:W()(`${l}-image`,t),style:a},v.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},v.createElement("path",{d:Va,className:`${l}-image-path`})))))},Qa=r=>{const{prefixCls:e,className:t,rootClassName:n,active:a,block:o,size:i="default"}=r,{getPrefixCls:l}=v.useContext(_e.E_),c=l("skeleton",e),[d,f,h]=et(c),g=(0,Zt.Z)(r,["prefixCls"]),b=W()(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},t,n,f,h);return d(v.createElement("div",{className:b},v.createElement(jt,Object.assign({prefixCls:`${c}-input`,size:i},g))))},Ya={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ja=Ya,qa=y(93771),eo=function(e,t){return v.createElement(qa.Z,(0,Je.Z)({},e,{ref:t,icon:Ja}))},to=v.forwardRef(eo),no=r=>{const{prefixCls:e,className:t,rootClassName:n,style:a,active:o,children:i}=r,{getPrefixCls:l}=v.useContext(_e.E_),c=l("skeleton",e),[d,f,h]=et(c),g=W()(c,`${c}-element`,{[`${c}-active`]:o},f,t,n,h),b=i!=null?i:v.createElement(to,null);return d(v.createElement("div",{className:g},v.createElement("div",{className:W()(`${c}-image`,t),style:a},b)))},ro=r=>{const e=l=>{const{width:c,rows:d=2}=r;if(Array.isArray(c))return c[l];if(d-1===l)return c},{prefixCls:t,className:n,style:a,rows:o}=r,i=(0,Qe.Z)(Array(o)).map((l,c)=>v.createElement("li",{key:c,style:{width:e(c)}}));return v.createElement("ul",{className:W()(t,n),style:a},i)},ao=r=>{let{prefixCls:e,className:t,width:n,style:a}=r;return v.createElement("h3",{className:W()(e,t),style:Object.assign({width:n},a)})};function Qt(r){return r&&typeof r=="object"?r:{}}function oo(r,e){return r&&!e?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function io(r,e){return!r&&e?{width:"38%"}:r&&e?{width:"50%"}:{}}function lo(r,e){const t={};return(!r||!e)&&(t.width="61%"),!r&&e?t.rows=3:t.rows=2,t}const tt=r=>{const{prefixCls:e,loading:t,className:n,rootClassName:a,style:o,children:i,avatar:l=!1,title:c=!0,paragraph:d=!0,active:f,round:h}=r,{getPrefixCls:g,direction:b,skeleton:R}=v.useContext(_e.E_),S=g("skeleton",e),[Z,L,w]=et(S);if(t||!("loading"in r)){const P=!!l,I=!!c,E=!!d;let p;if(P){const N=Object.assign(Object.assign({prefixCls:`${S}-avatar`},oo(I,E)),Qt(l));p=v.createElement("div",{className:`${S}-header`},v.createElement(jt,Object.assign({},N)))}let B;if(I||E){let N;if(I){const q=Object.assign(Object.assign({prefixCls:`${S}-title`},io(P,E)),Qt(c));N=v.createElement(ao,Object.assign({},q))}let $;if(E){const q=Object.assign(Object.assign({prefixCls:`${S}-paragraph`},lo(P,I)),Qt(d));$=v.createElement(ro,Object.assign({},q))}B=v.createElement("div",{className:`${S}-content`},N,$)}const U=W()(S,{[`${S}-with-avatar`]:P,[`${S}-active`]:f,[`${S}-rtl`]:b==="rtl",[`${S}-round`]:h},R==null?void 0:R.className,n,a,L,w);return Z(v.createElement("div",{className:U,style:Object.assign(Object.assign({},R==null?void 0:R.style),o)},p,B))}return typeof i!="undefined"?i:null};tt.Button=Ga,tt.Avatar=Ua,tt.Input=Qa,tt.Image=Xa,tt.Node=no;var co=tt,uo=co,In=y(14192),so=function(e,t){var n,a,o=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,m.Z)((0,m.Z)((0,u.Z)({},"".concat(e.componentCls),(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({background:"transparent",color:o==null?void 0:o.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),(0,u.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,u.Z)((0,u.Z)((0,u.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:o==null?void 0:o.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,u.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.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,u.Z)((0,u.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,u.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,u.Z)((0,u.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,u.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,u.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,u.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,u.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function vo(r,e){return(0,Ie.Xj)("ProLayoutBaseMenu"+e,function(t){var n=(0,m.Z)((0,m.Z)({},t),{},{componentCls:".".concat(r)});return[so(n,e||"inline")]})}var Bn=function(e){var t=(0,v.useState)(e.collapsed),n=(0,F.Z)(t,2),a=n[0],o=n[1],i=(0,v.useState)(!1),l=(0,F.Z)(i,2),c=l[0],d=l[1];return(0,v.useEffect)(function(){d(!1),setTimeout(function(){o(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,s.jsx)(Oa.Z,{title:e.title,open:a&&e.collapsed?c:!1,placement:"right",onOpenChange:d,children:e.children})},Rn=Mn({scriptUrl:In.h.iconfontUrl}),jn=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(kt(e)||La(e))return(0,s.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,s.jsx)(Rn,{type:e})}return e},Tn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},fo=(0,Ra.Z)(function r(e){var t=this;(0,ja.Z)(this,r),(0,u.Z)(this,"props",void 0),(0,u.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return n.map(function(i){return t.getSubMenuOrItem(i,a,o)}).filter(function(i){return i}).flat(1)}),(0,u.Z)(this,"getSubMenuOrItem",function(n,a,o){var i=t.props,l=i.subMenuItemRender,c=i.baseClassName,d=i.prefixCls,f=i.collapsed,h=i.menu,g=i.iconPrefixes,b=i.layout,R=(h==null?void 0:h.type)==="group"&&b!=="top",S=t.props.token,Z=t.getIntlName(n),L=(n==null?void 0:n.children)||(n==null?void 0:n.routes),w=R&&a===0?"group":void 0;if(Array.isArray(L)&&L.length>0){var P,I,E,p,B,U=a===0||R&&a===1,N=jn(n.icon,g,"".concat(c,"-icon ").concat((P=t.props)===null||P===void 0?void 0:P.hashId)),$=f&&U?Tn(Z):null,q=(0,s.jsxs)("div",{className:W()("".concat(c,"-item-title"),(I=t.props)===null||I===void 0?void 0:I.hashId,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(c,"-item-title-collapsed"),f),"".concat(c,"-item-title-collapsed-level-").concat(o),f),"".concat(c,"-group-item-title"),w==="group"),"".concat(c,"-item-collapsed-show-title"),(h==null?void 0:h.collapsedShowTitle)&&f)),children:[w==="group"&&f?null:U&&N?(0,s.jsx)("span",{className:"".concat(c,"-item-icon ").concat((E=t.props)===null||E===void 0?void 0:E.hashId).trim(),children:N}):$,(0,s.jsx)("span",{className:W()("".concat(c,"-item-text"),(p=t.props)===null||p===void 0?void 0:p.hashId,(0,u.Z)({},"".concat(c,"-item-text-has-icon"),w!=="group"&&U&&(N||$))),children:Z})]}),ie=l?l((0,m.Z)((0,m.Z)({},n),{},{isUrl:!1}),q,t.props):q;if(R&&a===0&&t.props.collapsed&&!h.collapsedShowGroupTitle)return t.getNavMenuItems(L,a+1,a);var C=t.getNavMenuItems(L,a+1,R&&a===0&&t.props.collapsed?a:a+1);return[{type:w,key:n.key||n.path,label:ie,onClick:R?void 0:n.onTitleClick,children:C,className:W()((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(c,"-group"),w==="group"),"".concat(c,"-submenu"),w!=="group"),"".concat(c,"-submenu-has-icon"),w!=="group"&&U&&N))},R&&a===0?{type:"divider",prefixCls:d,className:"".concat(c,"-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:S==null||(B=S.layout)===null||B===void 0||(B=B.sider)===null||B===void 0?void 0:B.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(c,"-menu-item"),disabled:n.disabled,key:n.key||n.path,onClick:n.onTitleClick,label:t.getMenuItemPath(n,a,o)}}),(0,u.Z)(this,"getIntlName",function(n){var a=n.name,o=n.locale,i=t.props,l=i.menu,c=i.formatMessage;return o&&(l==null?void 0:l.locale)!==!1?c==null?void 0:c({id:o,defaultMessage:a}):a}),(0,u.Z)(this,"getMenuItemPath",function(n,a,o){var i,l,c,d,f=t.conversionPath(n.path||"/"),h=t.props,g=h.location,b=g===void 0?{pathname:"/"}:g,R=h.isMobile,S=h.onCollapse,Z=h.menuItemRender,L=h.iconPrefixes,w=t.getIntlName(n),P=t.props,I=P.baseClassName,E=P.menu,p=P.collapsed,B=(E==null?void 0:E.type)==="group",U=a===0||B&&a===1,N=U?jn(n.icon,L,"".concat(I,"-icon ").concat((i=t.props)===null||i===void 0?void 0:i.hashId)):null,$=p&&U?Tn(w):null,q=(0,s.jsxs)("div",{className:W()("".concat(I,"-item-title"),(l=t.props)===null||l===void 0?void 0:l.hashId,(0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(I,"-item-title-collapsed"),p),"".concat(I,"-item-title-collapsed-level-").concat(o),p),"".concat(I,"-item-collapsed-show-title"),(E==null?void 0:E.collapsedShowTitle)&&p)),children:[(0,s.jsx)("span",{className:"".concat(I,"-item-icon ").concat((c=t.props)===null||c===void 0?void 0:c.hashId).trim(),style:{display:$===null&&!N?"none":""},children:N||(0,s.jsx)("span",{className:"anticon",children:$})}),(0,s.jsx)("span",{className:W()("".concat(I,"-item-text"),(d=t.props)===null||d===void 0?void 0:d.hashId,(0,u.Z)({},"".concat(I,"-item-text-has-icon"),U&&(N||$))),children:w})]},f),ie=kt(f);if(ie){var C,ue,T;q=(0,s.jsxs)("span",{onClick:function(){var fe,re;(fe=window)===null||fe===void 0||(re=fe.open)===null||re===void 0||re.call(fe,f,"_blank")},className:W()("".concat(I,"-item-title"),(C=t.props)===null||C===void 0?void 0:C.hashId,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(I,"-item-title-collapsed"),p),"".concat(I,"-item-title-collapsed-level-").concat(o),p),"".concat(I,"-item-link"),!0),"".concat(I,"-item-collapsed-show-title"),(E==null?void 0:E.collapsedShowTitle)&&p)),children:[(0,s.jsx)("span",{className:"".concat(I,"-item-icon ").concat((ue=t.props)===null||ue===void 0?void 0:ue.hashId).trim(),style:{display:$===null&&!N?"none":""},children:N||(0,s.jsx)("span",{className:"anticon",children:$})}),(0,s.jsx)("span",{className:W()("".concat(I,"-item-text"),(T=t.props)===null||T===void 0?void 0:T.hashId,(0,u.Z)({},"".concat(I,"-item-text-has-icon"),U&&(N||$))),children:w})]},f)}if(Z){var Y=(0,m.Z)((0,m.Z)({},n),{},{isUrl:ie,itemPath:f,isMobile:R,replace:f===b.pathname,onClick:function(){return S&&S(!0)},children:void 0});return a===0?(0,s.jsx)(Bn,{collapsed:p,title:w,disable:n.disabledTooltip,children:Z(Y,q,t.props)}):Z(Y,q,t.props)}return a===0?(0,s.jsx)(Bn,{collapsed:p,title:w,disable:n.disabledTooltip,children:q}):q}),(0,u.Z)(this,"conversionPath",function(n){return n&&n.indexOf("http")===0?n:"/".concat(n||"").replace(/\/+/g,"/")}),this.props=e}),mo=function(e,t){var n=t.layout,a=t.collapsed,o={};return e&&!a&&["side","mix"].includes(n||"mix")&&(o={openKeys:e}),o},wn=function(e){var t=e.mode,n=e.className,a=e.handleOpenChange,o=e.style,i=e.menuData,l=e.prefixCls,c=e.menu,d=e.matchMenuKeys,f=e.iconfontUrl,h=e.selectedKeys,g=e.onSelect,b=e.menuRenderType,R=e.openKeys,S=(0,v.useContext)(ae.L_),Z=S.dark,L=S.token,w="".concat(l,"-base-menu-").concat(t),P=(0,v.useRef)([]),I=(0,de.Z)(c==null?void 0:c.defaultOpenAll),E=(0,F.Z)(I,2),p=E[0],B=E[1],U=(0,de.Z)(function(){return c!=null&&c.defaultOpenAll?(0,mt.O7)(i)||[]:R===!1?!1:[]},{value:R===!1?void 0:R,onChange:a}),N=(0,F.Z)(U,2),$=N[0],q=N[1],ie=(0,de.Z)([],{value:h,onChange:g?function(pe){g&&pe&&g(pe)}:void 0}),C=(0,F.Z)(ie,2),ue=C[0],T=C[1];(0,v.useEffect)(function(){c!=null&&c.defaultOpenAll||R===!1||d&&(q(d),T(d))},[d.join("-")]),(0,v.useEffect)(function(){f&&(Rn=Mn({scriptUrl:f}))},[f]),(0,v.useEffect)(function(){if(d.join("-")!==(ue||[]).join("-")&&T(d),!p&&R!==!1&&d.join("-")!==($||[]).join("-")){var pe=d;(c==null?void 0:c.autoClose)===!1&&(pe=Array.from(new Set([].concat((0,Qe.Z)(d),(0,Qe.Z)($||[]))))),q(pe)}else c!=null&&c.ignoreFlatMenu&&p?q((0,mt.O7)(i)):B(!1)},[d.join("-")]);var Y=(0,v.useMemo)(function(){return mo($,e)},[$&&$.join(","),e.layout,e.collapsed]),ne=vo(w,t),fe=ne.wrapSSR,re=ne.hashId,be=(0,v.useMemo)(function(){return new fo((0,m.Z)((0,m.Z)({},e),{},{token:L,menuRenderType:b,baseClassName:w,hashId:re}))},[e,L,b,w,re]);if(c!=null&&c.loading)return(0,s.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,s.jsx)(uo,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(P.current=d);var ge=e.postMenuData?e.postMenuData(i):i;return ge&&(ge==null?void 0:ge.length)<1?null:fe((0,v.createElement)(Cn.Z,(0,m.Z)((0,m.Z)({},Y),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:P.current,theme:Z?"dark":"light",selectedKeys:ue,style:(0,m.Z)({backgroundColor:"transparent",border:"none"},o),className:W()(n,re,w,(0,u.Z)((0,u.Z)({},"".concat(w,"-horizontal"),t==="horizontal"),"".concat(w,"-collapsed"),e.collapsed)),items:be.getNavMenuItems(ge,0,0),onOpenChange:function(Ee){e.collapsed||q(Ee)}},e.menuProps)))};function ho(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,Ie.Xj)("ProLayoutSiderMenuStylish",function(a){var o=(0,m.Z)((0,m.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,u.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,u.Z)({},"".concat(o.componentCls),t==null?void 0:t(o)))]:[]})}var go=["title","render"],po=v.memo(function(r){return(0,s.jsx)(s.Fragment,{children:r.children})}),yo=Xe.Sider,Pn=Xe._InternalSiderContext,xo=Pn===void 0?{Provider:po}:Pn,Yt=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",n=e.logo,a=e.title,o=e.layout,i=e[t];if(i===!1)return null;var l=Kt(n),c=(0,s.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return i?i(l,e.collapsed?null:c,e):e.isMobile?null:o==="mix"&&t==="menuHeaderRender"?!1:e.collapsed?(0,s.jsx)("a",{children:l},"title"):(0,s.jsxs)("a",{children:[l,c]},"title")},En=function(e){var t,n=e.collapsed,a=e.originCollapsed,o=e.fixSiderbar,i=e.menuFooterRender,l=e.onCollapse,c=e.theme,d=e.siderWidth,f=e.isMobile,h=e.onMenuHeaderClick,g=e.breakpoint,b=g===void 0?"lg":g,R=e.style,S=e.layout,Z=e.menuExtraRender,L=Z===void 0?!1:Z,w=e.links,P=e.menuContentRender,I=e.collapsedButtonRender,E=e.prefixCls,p=e.avatarProps,B=e.rightContentRender,U=e.actionsRender,N=e.onOpenChange,$=e.stylish,q=e.logoStyle,ie=(0,v.useContext)(ae.L_),C=ie.hashId,ue=(0,v.useMemo)(function(){return!(f||S==="mix")},[f,S]),T="".concat(E,"-sider"),Y=64,ne=ho("".concat(T,".").concat(T,"-stylish"),{stylish:$,proLayoutCollapsedWidth:Y}),fe=W()("".concat(T),C,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(T,"-fixed"),o),"".concat(T,"-fixed-mix"),S==="mix"&&!f&&o),"".concat(T,"-collapsed"),e.collapsed),"".concat(T,"-layout-").concat(S),S&&!f),"".concat(T,"-light"),c!=="dark"),"".concat(T,"-mix"),S==="mix"&&!f),"".concat(T,"-stylish"),!!$)),re=Yt(e),be=L&&L(e),ge=(0,v.useMemo)(function(){return P!==!1&&(0,v.createElement)(wn,(0,m.Z)((0,m.Z)({},e),{},{key:"base-menu",mode:n&&!f?"vertical":"inline",handleOpenChange:N,style:{width:"100%"},className:"".concat(T,"-menu ").concat(C).trim()}))},[T,C,P,N,e]),pe=(w||[]).map(function(Se,Le){return{className:"".concat(T,"-link"),label:Se,key:Le}}),Ee=(0,v.useMemo)(function(){return P?P(e,ge):ge},[P,ge,e]),je=(0,v.useMemo)(function(){if(!p)return null;var Se=p.title,Le=p.render,$e=(0,he.Z)(p,go),Et=(0,s.jsxs)("div",{className:"".concat(T,"-actions-avatar"),children:[$e!=null&&$e.src||$e!=null&&$e.srcSet||$e.icon||$e.children?(0,s.jsx)(xn.C,(0,m.Z)({size:28},$e)):null,p.title&&!n&&(0,s.jsx)("span",{children:Se})]});return Le?Le(p,Et,e):Et},[p,T,n]),we=(0,v.useMemo)(function(){return U?(0,s.jsx)(ba.Z,{align:"center",size:4,direction:n?"vertical":"horizontal",className:W()(["".concat(T,"-actions-list"),n&&"".concat(T,"-actions-list-collapsed"),C]),children:U==null?void 0:U(e).map(function(Se,Le){return(0,s.jsx)("div",{className:"".concat(T,"-actions-list-item ").concat(C).trim(),children:Se},Le)})}):null},[U,T,n]),Oe=(0,v.useMemo)(function(){return(0,s.jsx)(Ut,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),Fe=(0,v.useMemo)(function(){if(I===!1)return null;var Se=(0,s.jsx)(Ba,{isMobile:f,collapsed:a,className:"".concat(T,"-collapsed-button"),onClick:function(){l==null||l(!a)}});return I?I(n,Se):Se},[I,f,a,T,n,l]),ke=(0,v.useMemo)(function(){return!je&&!we?null:(0,s.jsxs)("div",{className:W()("".concat(T,"-actions"),C,n&&"".concat(T,"-actions-collapsed")),children:[je,we]})},[we,je,T,n,C]),Ke=(0,v.useMemo)(function(){var Se;return e!=null&&(Se=e.menu)!==null&&Se!==void 0&&Se.hideMenuWhenCollapsed&&n?"".concat(T,"-hide-menu-collapsed"):null},[T,n,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),ht=i&&(i==null?void 0:i(e)),Pt=(0,s.jsxs)(s.Fragment,{children:[re&&(0,s.jsxs)("div",{className:W()([W()("".concat(T,"-logo"),C,(0,u.Z)({},"".concat(T,"-logo-collapsed"),n))]),onClick:ue?h:void 0,id:"logo",style:q,children:[re,Oe]}),be&&(0,s.jsx)("div",{className:W()(["".concat(T,"-extra"),!re&&"".concat(T,"-extra-no-logo"),C]),children:be}),(0,s.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Ee}),(0,s.jsxs)(xo.Provider,{value:{},children:[w?(0,s.jsx)("div",{className:"".concat(T,"-links ").concat(C).trim(),children:(0,s.jsx)(Cn.Z,{inlineIndent:16,className:"".concat(T,"-link-menu ").concat(C).trim(),selectedKeys:[],openKeys:[],theme:c,mode:"inline",items:pe})}):null,ue&&(0,s.jsxs)(s.Fragment,{children:[ke,!we&&B?(0,s.jsx)("div",{className:W()("".concat(T,"-actions"),C,(0,u.Z)({},"".concat(T,"-actions-collapsed"),n)),children:B==null?void 0:B(e)}):null]}),ht&&(0,s.jsx)("div",{className:W()(["".concat(T,"-footer"),C,(0,u.Z)({},"".concat(T,"-footer-collapsed"),n)]),children:ht})]})]});return ne.wrapSSR((0,s.jsxs)(s.Fragment,{children:[o&&!f&&!Ke&&(0,s.jsx)("div",{style:(0,m.Z)({width:n?Y:d,overflow:"hidden",flex:"0 0 ".concat(n?Y:d,"px"),maxWidth:n?Y:d,minWidth:n?Y:d,transition:"all 0.2s ease 0s"},R)}),(0,s.jsxs)(yo,{collapsible:!0,trigger:null,collapsed:n,breakpoint:b===!1?void 0:b,onCollapse:function(Le){f||l==null||l(Le)},collapsedWidth:Y,style:R,theme:c,width:d,className:W()(fe,C,Ke),children:[Ke?(0,s.jsx)("div",{className:"".concat(T,"-hide-when-collapsed ").concat(C).trim(),style:{height:"100%",width:"100%",opacity:Ke?0:1},children:Pt}):Pt,Fe]})]}))},Co=y(10178),bo=y(9220),So=function(e){var t,n,a,o,i;return(0,u.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:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgRightActionsItemHover}}}}})};function Mo(r){return(0,Ie.Xj)("ProLayoutRightContent",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[So(t)]})}var Zo=["rightContentRender","avatarProps","actionsRender","headerContentRender"],Io=["title","render"],$n=function(e){var t=e.rightContentRender,n=e.avatarProps,a=e.actionsRender,o=e.headerContentRender,i=(0,he.Z)(e,Zo),l=(0,v.useContext)(Ne.ZP.ConfigContext),c=l.getPrefixCls,d="".concat(c(),"-pro-global-header"),f=Mo(d),h=f.wrapSSR,g=f.hashId,b=(0,v.useState)("auto"),R=(0,F.Z)(b,2),S=R[0],Z=R[1],L=(0,v.useMemo)(function(){if(!n)return null;var E=n.title,p=n.render,B=(0,he.Z)(n,Io),U=[B!=null&&B.src||B!=null&&B.srcSet||B.icon||B.children?(0,v.createElement)(xn.C,(0,m.Z)((0,m.Z)({},B),{},{size:28,key:"avatar"})):null,E?(0,s.jsx)("span",{style:{marginInlineStart:8},children:E},"name"):void 0];return p?p(n,(0,s.jsx)("div",{children:U}),i):(0,s.jsx)("div",{children:U})},[n]),w=a||L?function(E){var p=a&&(a==null?void 0:a(E));return!p&&!L?null:(Array.isArray(p)||(p=[p]),h((0,s.jsxs)("div",{className:"".concat(d,"-header-actions ").concat(g).trim(),children:[p.filter(Boolean).map(function(B,U){var N=!1;if(v.isValidElement(B)){var $;N=!!(B!=null&&($=B.props)!==null&&$!==void 0&&$["aria-hidden"])}return(0,s.jsx)("div",{className:W()("".concat(d,"-header-actions-item ").concat(g),(0,u.Z)({},"".concat(d,"-header-actions-hover"),!N)),children:B},U)}),L&&(0,s.jsx)("span",{className:"".concat(d,"-header-actions-avatar ").concat(g).trim(),children:L})]})))}:void 0,P=(0,Co.D)(function(){var E=(0,le.Z)((0,me.Z)().mark(function p(B){return(0,me.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:Z(B);case 1:case"end":return N.stop()}},p)}));return function(p){return E.apply(this,arguments)}}(),160),I=w||t;return(0,s.jsx)("div",{className:"".concat(d,"-right-content ").concat(g).trim(),style:{minWidth:S,height:"100%"},children:(0,s.jsx)("div",{style:{height:"100%"},children:(0,s.jsx)(bo.Z,{onResize:function(p){var B=p.width;P.run(B)},children:I?(0,s.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:I((0,m.Z)((0,m.Z)({},i),{},{rightContentSize:S}))}):null})})})},Bo=function(e){var t,n;return(0,u.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,u.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 Ro(r){return(0,Ie.Xj)("ProLayoutTopNavHeader",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[Bo(t)]})}var Nn=function(e){var t,n,a,o,i,l,c,d=(0,v.useRef)(null),f=e.onMenuHeaderClick,h=e.contentWidth,g=e.rightContentRender,b=e.className,R=e.style,S=e.headerContentRender,Z=e.layout,L=e.actionsRender,w=(0,v.useContext)(Ne.ZP.ConfigContext),P=w.getPrefixCls,I=(0,v.useContext)(ae.L_),E=I.dark,p="".concat(e.prefixCls||P("pro"),"-top-nav-header"),B=Ro(p),U=B.wrapSSR,N=B.hashId,$=void 0;e.menuHeaderRender!==void 0?$="menuHeaderRender":(Z==="mix"||Z==="top")&&($="headerTitleRender");var q=Yt((0,m.Z)((0,m.Z)({},e),{},{collapsed:!1}),$),ie=(0,v.useContext)(ae.L_),C=ie.token,ue=(0,v.useMemo)(function(){var T,Y,ne,fe,re,be,ge,pe,Ee,je,we,Oe,Fe,ke=(0,s.jsx)(Ne.ZP,{theme:{hashed:(0,ae.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,m.Z)({},_({colorItemBg:((T=C.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.colorBgHeader)||"transparent",colorSubItemBg:((Y=C.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.colorBgHeader)||"transparent",radiusItem:C.borderRadius,colorItemBgSelected:((ne=C.layout)===null||ne===void 0||(ne=ne.header)===null||ne===void 0?void 0:ne.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),itemHoverBg:((fe=C.layout)===null||fe===void 0||(fe=fe.header)===null||fe===void 0?void 0:fe.colorBgMenuItemHover)||(C==null?void 0:C.colorBgTextHover),colorItemBgSelectedHorizontal:((re=C.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((be=C.layout)===null||be===void 0||(be=be.header)===null||be===void 0?void 0:be.colorTextMenu)||(C==null?void 0:C.colorTextSecondary),colorItemTextHoverHorizontal:((ge=C.layout)===null||ge===void 0||(ge=ge.header)===null||ge===void 0?void 0:ge.colorTextMenuActive)||(C==null?void 0:C.colorText),colorItemTextSelectedHorizontal:((pe=C.layout)===null||pe===void 0||(pe=pe.header)===null||pe===void 0?void 0:pe.colorTextMenuSelected)||(C==null?void 0:C.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((Ee=C.layout)===null||Ee===void 0||(Ee=Ee.header)===null||Ee===void 0?void 0:Ee.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((je=C.layout)===null||je===void 0||(je=je.header)===null||je===void 0?void 0:je.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((we=C.layout)===null||we===void 0||(we=we.header)===null||we===void 0?void 0:we.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:C==null?void 0:C.colorBgElevated,subMenuItemBg:C==null?void 0:C.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:C==null?void 0:C.colorBgElevated}))},token:{colorBgElevated:((Oe=C.layout)===null||Oe===void 0||(Oe=Oe.header)===null||Oe===void 0?void 0:Oe.colorBgHeader)||"transparent"}},children:(0,s.jsx)(wn,(0,m.Z)((0,m.Z)((0,m.Z)({theme:E?"dark":"light"},e),{},{className:"".concat(p,"-base-menu ").concat(N).trim()},e.menuProps),{},{style:(0,m.Z)({width:"100%"},(Fe=e.menuProps)===null||Fe===void 0?void 0:Fe.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return S?S(e,ke):ke},[(t=C.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgHeader,(n=C.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgMenuItemSelected,(a=C.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(o=C.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenu,(i=C.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenuActive,(l=C.layout)===null||l===void 0||(l=l.header)===null||l===void 0?void 0:l.colorTextMenuSelected,(c=C.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorBgMenuElevated,C.borderRadius,C==null?void 0:C.colorBgTextHover,C==null?void 0:C.colorTextSecondary,C==null?void 0:C.colorText,C==null?void 0:C.colorTextBase,C.colorBgElevated,E,e,p,N,S]);return U((0,s.jsx)("div",{className:W()(p,N,b,(0,u.Z)({},"".concat(p,"-light"),!0)),style:R,children:(0,s.jsxs)("div",{ref:d,className:W()("".concat(p,"-main"),N,(0,u.Z)({},"".concat(p,"-wide"),h==="Fixed"&&Z==="top")),children:[q&&(0,s.jsxs)("div",{className:W()("".concat(p,"-main-left ").concat(N)),onClick:f,children:[(0,s.jsx)(Ut,(0,m.Z)({},e)),(0,s.jsx)("div",{className:"".concat(p,"-logo ").concat(N).trim(),id:"logo",children:q},"logo")]}),(0,s.jsx)("div",{style:{flex:1},className:"".concat(p,"-menu ").concat(N).trim(),children:ue}),(g||L||e.avatarProps)&&(0,s.jsx)($n,(0,m.Z)((0,m.Z)({rightContentRender:g},e),{},{prefixCls:p}))]})}))},jo=function(e){var t,n,a;return(0,u.Z)({},e.componentCls,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.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 To(r){return(0,Ie.Xj)("ProLayoutGlobalHeader",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[jo(t)]})}var wo=function(e,t){return e===!1?null:e?e(t,null):t},Po=function(e){var t=e.isMobile,n=e.logo,a=e.collapsed,o=e.onCollapse,i=e.rightContentRender,l=e.menuHeaderRender,c=e.onMenuHeaderClick,d=e.className,f=e.style,h=e.layout,g=e.children,b=e.splitMenus,R=e.menuData,S=e.prefixCls,Z=(0,v.useContext)(Ne.ZP.ConfigContext),L=Z.getPrefixCls,w=Z.direction,P="".concat(S||L("pro"),"-global-header"),I=To(P),E=I.wrapSSR,p=I.hashId,B=W()(d,P,p);if(h==="mix"&&!t&&b){var U=(R||[]).map(function(ie){return(0,m.Z)((0,m.Z)({},ie),{},{children:void 0,routes:void 0})}),N=(0,mt.QX)(U);return(0,s.jsx)(Nn,(0,m.Z)((0,m.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:N}))}var $=W()("".concat(P,"-logo"),p,(0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(P,"-logo-rtl"),w==="rtl"),"".concat(P,"-logo-mix"),h==="mix"),"".concat(P,"-logo-mobile"),t)),q=(0,s.jsx)("span",{className:$,children:(0,s.jsx)("a",{children:Kt(n)})},"logo");return E((0,s.jsxs)("div",{className:B,style:(0,m.Z)({},f),children:[t&&(0,s.jsx)("span",{className:"".concat(P,"-collapsed-button ").concat(p).trim(),onClick:function(){o==null||o(!a)},children:(0,s.jsx)(da,{})}),t&&wo(l,q),h==="mix"&&!t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Ut,(0,m.Z)({},e)),(0,s.jsx)("div",{className:$,onClick:c,children:Yt((0,m.Z)((0,m.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,s.jsx)("div",{style:{flex:1},children:g}),(i||e.actionsRender||e.avatarProps)&&(0,s.jsx)($n,(0,m.Z)({rightContentRender:i},e))]}))},Eo=function(e){var t,n,a,o;return(0,u.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,u.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:((o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.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 $o(r){return(0,Ie.Xj)("ProLayoutHeader",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[Eo(t)]})}function No(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,Ie.Xj)("ProLayoutHeaderStylish",function(a){var o=(0,m.Z)((0,m.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,u.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,u.Z)({},"".concat(o.componentCls),t==null?void 0:t(o)))]:[]})}var Ln=Xe.Header,Lo=function(e){var t,n,a,o=e.isMobile,i=e.fixedHeader,l=e.className,c=e.style,d=e.collapsed,f=e.prefixCls,h=e.onCollapse,g=e.layout,b=e.headerRender,R=e.headerContentRender,S=(0,v.useContext)(ae.L_),Z=S.token,L=(0,v.useContext)(Ne.ZP.ConfigContext),w=(0,v.useState)(!1),P=(0,F.Z)(w,2),I=P[0],E=P[1],p=i||g==="mix",B=(0,v.useCallback)(function(){var T=g==="top",Y=(0,mt.QX)(e.menuData||[]),ne=(0,s.jsx)(Po,(0,m.Z)((0,m.Z)({onCollapse:h},e),{},{menuData:Y,children:R&&R(e,null)}));return T&&!o&&(ne=(0,s.jsx)(Nn,(0,m.Z)((0,m.Z)({mode:"horizontal",onCollapse:h},e),{},{menuData:Y}))),b&&typeof b=="function"?b(e,ne):ne},[R,b,o,g,h,e]);(0,v.useEffect)(function(){var T,Y=(L==null||(T=L.getTargetContainer)===null||T===void 0?void 0:T.call(L))||document.body,ne=function(){var re,be=Y.scrollTop;return be>(((re=Z.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.heightLayoutHeader)||56)&&!I?(E(!0),!0):(I&&E(!1),!1)};if(p&&typeof window!="undefined")return Y.addEventListener("scroll",ne,{passive:!0}),function(){Y.removeEventListener("scroll",ne)}},[(t=Z.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader,p,I]);var U=g==="top",N="".concat(f,"-layout-header"),$=$o(N),q=$.wrapSSR,ie=$.hashId,C=No("".concat(N,".").concat(N,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ue=W()(l,ie,N,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(N,"-fixed-header"),p),"".concat(N,"-fixed-header-scroll"),I),"".concat(N,"-mix"),g==="mix"),"".concat(N,"-fixed-header-action"),!d),"".concat(N,"-top-menu"),U),"".concat(N,"-header"),!0),"".concat(N,"-stylish"),!!e.stylish));return g==="side"&&!o?null:C.wrapSSR(q((0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(Ne.ZP,{theme:{hashed:(0,ae.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[p&&(0,s.jsx)(Ln,{style:(0,m.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},c)}),(0,s.jsx)(Ln,{className:ue,style:c,children:B()})]})})))},Oo=y(83832),Ho=y(85265),On=new ft.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ao=function(e){var t,n,a,o,i,l,c,d,f,h,g,b;return(0,u.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,u.Z)((0,u.Z)((0,u.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,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.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,u.Z)((0,u.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:hover"),{color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((l=e.layout)===null||l===void 0||(l=l.sider)===null||l===void 0?void 0:l.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:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorTextMenuTitle,animationName:On,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,u.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:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.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:(h=e.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:On,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(((g=e.layout)===null||g===void 0||(g=g.header)===null||g===void 0?void 0:g.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((b=e.layout)===null||b===void 0||(b=b.header)===null||b===void 0?void 0:b.heightLayoutHeader)||56,"px")}}))};function _o(r,e){var t=e.proLayoutCollapsedWidth;return(0,Ie.Xj)("ProLayoutSiderMenu",function(n){var a=(0,m.Z)((0,m.Z)({},n),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return[Ao(a)]})}var Hn=function(e){var t,n=e.isMobile,a=e.siderWidth,o=e.collapsed,i=e.onCollapse,l=e.style,c=e.className,d=e.hide,f=e.prefixCls,h=(0,v.useContext)(ae.L_),g=h.token;(0,v.useEffect)(function(){n===!0&&(i==null||i(!0))},[n]);var b=(0,gn.Z)(e,["className","style"]),R=v.useContext(Ne.ZP.ConfigContext),S=R.direction,Z=_o("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),L=Z.wrapSSR,w=Z.hashId,P=W()("".concat(f,"-sider"),c,w);if(d)return null;var I=(0,M.X)(!o,function(){return i==null?void 0:i(!0)});return L(n?(0,s.jsx)(Ho.Z,(0,m.Z)((0,m.Z)({placement:S==="rtl"?"right":"left",className:W()("".concat(f,"-drawer-sider"),c)},I),{},{style:(0,m.Z)({padding:0,height:"100vh"},l),onClose:function(){i==null||i(!0)},maskClosable:!0,closable:!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(t=g.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorMenuBackground}},children:(0,s.jsx)(En,(0,m.Z)((0,m.Z)({},b),{},{isMobile:!0,className:P,collapsed:n?!1:o,splitMenus:!1,originCollapsed:o}))})):(0,s.jsx)(En,(0,m.Z)((0,m.Z)({className:P,originCollapsed:o},b),{},{style:l})))},An=y(76509),Do=y(14779),Jt=y.n(Do),zo=function(e,t,n){if(n){var a=(0,Qe.Z)(n.keys()).find(function(i){return Jt()(i).test(e)});if(a)return n.get(a)}if(t){var o=Object.keys(t).find(function(i){return Jt()(i).test(e)});if(o)return t[o]}return{path:""}},qt=function(e,t){var n=e.pathname,a=n===void 0?"/":n,o=e.breadcrumb,i=e.breadcrumbMap,l=e.formatMessage,c=e.title,d=e.menu,f=d===void 0?{locale:!1}:d,h=t?"":c||"",g=zo(a,o,i);if(!g)return{title:h,id:"",pageName:h};var b=g.name;return f.locale!==!1&&g.locale&&l&&(b=l({id:g.locale||"",defaultMessage:g.name})),b?t||!c?{title:b,id:g.locale||"",pageName:b}:{title:"".concat(b," - ").concat(c),id:g.locale||"",pageName:b}:{title:h,id:g.locale||"",pageName:h}},zi=function(e,t){return qt(e,t).title},Wo=y(52676),wt=y(67159),nt=y(34155),Fo=function(){var e;return typeof nt=="undefined"?wt.Z:((e=nt)===null||nt===void 0||(nt={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||nt===void 0?void 0:nt.ANTD_VERSION)||wt.Z},ko=function(e){var t,n,a,o,i,l,c,d,f,h,g,b,R,S,Z,L,w,P,I,E,p,B,U,N,$,q,ie,C,ue,T,Y,ne;return(t=Fo())!==null&&t!==void 0&&t.startsWith("5")?{}:(0,u.Z)((0,u.Z)((0,u.Z)({},e.componentCls,(0,u.Z)((0,u.Z)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(p={color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextMenu},(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)(p,"".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,u.Z)((0,u.Z)({color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,u.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,u.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,u.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(l=e.layout)===null||l===void 0||(l=l.sider)===null||l===void 0?void 0:l.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,u.Z)((0,u.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.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:(h=e.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(g=e.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorTextMenuSelected}),(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)(p,"".concat(e.antCls,"-menu-submenu-selected"),{color:(b=e.layout)===null||b===void 0||(b=b.sider)===null||b===void 0?void 0:b.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(R=e.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,u.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(S=e.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.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,u.Z)((0,u.Z)((0,u.Z)((0,u.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:(L=e.layout)===null||L===void 0||(L=L.header)===null||L===void 0?void 0:L.colorTextMenuActive,backgroundColor:"".concat((w=e.layout)===null||w===void 0||(w=w.header)===null||w===void 0?void 0:w.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,u.Z)({backgroundColor:(P=e.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((I=e.layout)===null||I===void 0||(I=I.header)===null||I===void 0?void 0:I.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,u.Z)((0,u.Z)({},"&".concat(e.antCls,"-menu"),(0,u.Z)({color:(B=e.layout)===null||B===void 0||(B=B.header)===null||B===void 0?void 0:B.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,u.Z)((0,u.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,u.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:(N=e.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:($=e.layout)===null||$===void 0||($=$.header)===null||$===void 0?void 0:$.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:(ie=e.layout)===null||ie===void 0||(ie=ie.header)===null||ie===void 0?void 0:ie.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,u.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:(C=e.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(ue=e.layout)===null||ue===void 0||(ue=ue.sider)===null||ue===void 0?void 0:ue.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,u.Z)((0,u.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(T=e.layout)===null||T===void 0||(T=T.sider)===null||T===void 0?void 0:T.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:(Y=e.layout)===null||Y===void 0||(Y=Y.sider)===null||Y===void 0?void 0:Y.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}))))},Ko=function(e){var t,n,a,o;return(0,u.Z)((0,u.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.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:(o=e.layout)===null||o===void 0?void 0:o.bgLayout}))};function Uo(r){return(0,Ie.Xj)("ProLayout",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[Ko(t),ko(t)]})}function Go(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 rt=y(34155),Vo=function(){var e;return typeof rt=="undefined"?wt.Z:((e=rt)===null||rt===void 0||(rt={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||rt===void 0?void 0:rt.ANTD_VERSION)||wt.Z},Xo=function(e,t,n){var a=e,o=a.breadcrumbName,i=a.title,l=a.path,c=n.findIndex(function(d){return d.linkPath===e.path})===n.length-1;return c?(0,s.jsx)("span",{children:i||o}):(0,s.jsx)("span",{onClick:l?function(){return location.href=l}:void 0,children:i||o})},Qo=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},Yo=function(e,t){var n=e.get(t);if(!n){var a=Array.from(e.keys())||[],o=a.find(function(i){return Jt()(i.replace("?","")).test(t)});o&&(n=e.get(o))}return n||{path:""}},Jo=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},qo=function(e,t,n){var a=Go(e==null?void 0:e.pathname),o=a.map(function(i){var l=Yo(t,i),c=Qo(l,n),d=l.hideInBreadcrumb;return c&&!d?{linkPath:i,breadcrumbName:c,title:c,component:l.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(i){return i&&i.linkPath});return o},ei=function(e){var t=Jo(e),n=t.location,a=t.breadcrumbMap;return n&&n.pathname&&a?qo(n,a,e):[]},ti=function(e,t){var n=e.breadcrumbRender,a=e.itemRender,o=t.breadcrumbProps||{},i=o.minLength,l=i===void 0?2:i,c=ei(e),d=function(g){for(var b=a||Xo,R=arguments.length,S=new Array(R>1?R-1:0),Z=1;Z<R;Z++)S[Z-1]=arguments[Z];return b==null?void 0:b.apply(void 0,[(0,m.Z)((0,m.Z)({},g),{},{path:g.linkPath||g.path})].concat(S))},f=c;return n&&(f=n(f||[])||void 0),(f&&f.length<l||n===!1)&&(f=void 0),(0,j.n)(Vo(),"5.3.0")>-1?{items:f,itemRender:d}:{routes:f,itemRender:d}};function ni(r){return(0,Qe.Z)(r).reduce(function(e,t){var n=(0,F.Z)(t,2),a=n[0],o=n[1];return e[a]=o,e},{})}var ri=function r(e,t,n,a){var o=Tr(e,(t==null?void 0:t.locale)||!1,n,!0),i=o.menuData,l=o.breadcrumb;return a?r(a(i),t,n,void 0):{breadcrumb:ni(l),breadcrumbMap:l,menuData:i}},ai=y(71002),oi=y(51812),ii=function(e){var t=(0,v.useState)({}),n=(0,F.Z)(t,2),a=n[0],o=n[1];return(0,v.useEffect)(function(){o((0,oi.Y)({layout:(0,ai.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},li=["id","defaultMessage"],ci=["fixSiderbar","navTheme","layout"],_n=0,ui=function(e,t){var n;return e.headerRender===!1||e.pure?null:(0,s.jsx)(Lo,(0,m.Z)((0,m.Z)({matchMenuKeys:t},e),{},{stylish:(n=e.stylish)===null||n===void 0?void 0:n.header}))},si=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,m.Z)({},e),(0,s.jsx)(la,{})):null},di=function(e,t){var n,a=e.layout,o=e.isMobile,i=e.selectedKeys,l=e.openKeys,c=e.splitMenus,d=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var h=e.menuData;if(c&&(l!==!1||a==="mix")&&!o){var g=i||t,b=(0,F.Z)(g,1),R=b[0];if(R){var S;h=((S=e.menuData)===null||S===void 0||(S=S.find(function(P){return P.key===R}))===null||S===void 0?void 0:S.children)||[]}else h=[]}var Z=(0,mt.QX)(h||[]);if(Z&&(Z==null?void 0:Z.length)<1&&(c||d))return null;if(a==="top"&&!o){var L;return(0,s.jsx)(Hn,(0,m.Z)((0,m.Z)({matchMenuKeys:t},e),{},{hide:!0,stylish:(L=e.stylish)===null||L===void 0?void 0:L.sider}))}var w=(0,s.jsx)(Hn,(0,m.Z)((0,m.Z)({matchMenuKeys:t},e),{},{menuData:Z,stylish:(n=e.stylish)===null||n===void 0?void 0:n.sider}));return f?f(e,w):w},vi=function(e,t){var n=t.pageTitleRender,a=qt(e);if(n===!1)return{title:t.title||"",id:"",pageName:""};if(n){var o=n(e,a.title,a);if(typeof o=="string")return qt((0,m.Z)((0,m.Z)({},a),{},{title:o}));(0,Xr.ZP)(typeof o=="string","pro-layout: renderPageTitle return value should be a string")}return a},fi=function(e,t,n){return e?t?64:n:0},mi=function(e){var t,n,a,o,i,l,c,d,f,h,g,b,R,S,Z=e||{},L=Z.children,w=Z.onCollapse,P=Z.location,I=P===void 0?{pathname:"/"}:P,E=Z.contentStyle,p=Z.route,B=Z.defaultCollapsed,U=Z.style,N=Z.siderWidth,$=Z.menu,q=Z.siderMenuType,ie=Z.isChildrenLayout,C=Z.menuDataRender,ue=Z.actionRef,T=Z.bgLayoutImgList,Y=Z.formatMessage,ne=Z.loading,fe=(0,v.useMemo)(function(){return N||(e.layout==="mix"?215:256)},[e.layout,N]),re=(0,v.useContext)(Ne.ZP.ConfigContext),be=(t=e.prefixCls)!==null&&t!==void 0?t:re.getPrefixCls("pro"),ge=(0,de.Z)(!1,{value:$==null?void 0:$.loading,onChange:$==null?void 0:$.onLoadingChange}),pe=(0,F.Z)(ge,2),Ee=pe[0],je=pe[1],we=(0,v.useState)(function(){return _n+=1,"pro-layout-".concat(_n)}),Oe=(0,F.Z)(we,1),Fe=Oe[0],ke=(0,v.useCallback)(function(Me){var Ue=Me.id,Lt=Me.defaultMessage,Ct=(0,he.Z)(Me,li);if(Y)return Y((0,m.Z)({id:Ue,defaultMessage:Lt},Ct));var bt=(0,Wo.e)();return bt[Ue]?bt[Ue]:Lt},[Y]),Ke=(0,pn.ZP)([Fe,$==null?void 0:$.params],function(){var Me=(0,le.Z)((0,me.Z)().mark(function Ue(Lt){var Ct,bt,er,tr;return(0,me.Z)().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return bt=(0,F.Z)(Lt,2),er=bt[1],je(!0),lt.next=4,$==null||(Ct=$.request)===null||Ct===void 0?void 0:Ct.call($,er||{},(p==null?void 0:p.children)||(p==null?void 0:p.routes)||[]);case 4:return tr=lt.sent,je(!1),lt.abrupt("return",tr);case 7:case"end":return lt.stop()}},Ue)}));return function(Ue){return Me.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),ht=Ke.data,Pt=Ke.mutate,Se=Ke.isLoading;(0,v.useEffect)(function(){je(Se)},[Se]);var Le=(0,pn.kY)(),$e=Le.cache;(0,v.useEffect)(function(){return function(){$e instanceof Map&&$e.delete(Fe)}},[]);var Et=(0,v.useMemo)(function(){return ri(ht||(p==null?void 0:p.children)||(p==null?void 0:p.routes)||[],$,ke,C)},[ke,$,C,ht,p==null?void 0:p.children,p==null?void 0:p.routes]),en=Et||{},gi=en.breadcrumb,Dn=en.breadcrumbMap,zn=en.menuData,gt=zn===void 0?[]:zn;ue&&$!==null&&$!==void 0&&$.request&&(ue.current={reload:function(){Pt()}});var pt=(0,v.useMemo)(function(){return Lr(I.pathname||"/",gt||[],!0)},[I.pathname,gt]),tn=(0,v.useMemo)(function(){return Array.from(new Set(pt.map(function(Me){return Me.key||Me.path||""})))},[pt]),Wn=pt[pt.length-1]||{},Fn=ii(Wn),$t=(0,m.Z)((0,m.Z)({},e),Fn),pi=$t.fixSiderbar,Wi=$t.navTheme,yt=$t.layout,yi=(0,he.Z)($t,ci),at=A(),ot=(0,v.useMemo)(function(){return(at==="sm"||at==="xs")&&!e.disableMobile},[at,e.disableMobile]),xi=yt!=="top"&&!ot,Ci=(0,de.Z)(function(){return B!==void 0?B:!!(ot||at==="md")},{value:e.collapsed,onChange:w}),kn=(0,F.Z)(Ci,2),xt=kn[0],Kn=kn[1],it=(0,gn.Z)((0,m.Z)((0,m.Z)((0,m.Z)({prefixCls:be},e),{},{siderWidth:fe},Fn),{},{formatMessage:ke,breadcrumb:gi,menu:(0,m.Z)((0,m.Z)({},$),{},{type:q||($==null?void 0:$.type),loading:Ee}),layout:yt}),["className","style","breadcrumbRender"]),nn=vi((0,m.Z)((0,m.Z)({pathname:I.pathname},it),{},{breadcrumbMap:Dn}),e),bi=ti((0,m.Z)((0,m.Z)({},it),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:Dn}),e),Nt=di((0,m.Z)((0,m.Z)({},it),{},{menuData:gt,onCollapse:Kn,isMobile:ot,collapsed:xt}),tn),rn=ui((0,m.Z)((0,m.Z)({},it),{},{children:null,hasSiderMenu:!!Nt,menuData:gt,isMobile:ot,collapsed:xt,onCollapse:Kn}),tn),Un=si((0,m.Z)({isMobile:ot,collapsed:xt},it)),Si=(0,v.useContext)(An.X),Mi=Si.isChildrenLayout,an=ie!==void 0?ie:Mi,He="".concat(be,"-layout"),Gn=Uo(He),Zi=Gn.wrapSSR,on=Gn.hashId,Ii=W()(e.className,on,"ant-design-pro",He,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"screen-".concat(at),at),"".concat(He,"-top-menu"),yt==="top"),"".concat(He,"-is-children"),an),"".concat(He,"-fix-siderbar"),pi),"".concat(He,"-").concat(yt),yt)),Bi=fi(!!xi,xt,fe),Vn={position:"relative"};(an||E&&E.minHeight)&&(Vn.minHeight=0),(0,v.useEffect)(function(){var Me;(Me=e.onPageChange)===null||Me===void 0||Me.call(e,e.location)},[I.pathname,(n=I.pathname)===null||n===void 0?void 0:n.search]);var Ri=(0,v.useState)(!1),Xn=(0,F.Z)(Ri,2),Qn=Xn[0],ji=Xn[1],Ti=(0,v.useState)(0),Yn=(0,F.Z)(Ti,2),Jn=Yn[0],wi=Yn[1];x(nn,e.title||!1);var Pi=(0,v.useContext)(ae.L_),V=Pi.token,qn=(0,v.useMemo)(function(){return T&&T.length>0?T==null?void 0:T.map(function(Me,Ue){return(0,s.jsx)("img",{src:Me.src,style:(0,m.Z)({position:"absolute"},Me)},Ue)}):null},[T]);return Zi((0,s.jsx)(An.X.Provider,{value:(0,m.Z)((0,m.Z)({},it),{},{breadcrumb:bi,menuData:gt,isMobile:ot,collapsed:xt,hasPageContainer:Jn,setHasPageContainer:wi,isChildrenLayout:!0,title:nn.pageName,hasSiderMenu:!!Nt,hasHeader:!!rn,siderWidth:Bi,hasFooter:!!Un,hasFooterToolbar:Qn,setHasFooterToolbar:ji,pageTitleInfo:nn,matchMenus:pt,matchMenuKeys:tn,currentMenu:Wn}),children:e.pure?(0,s.jsx)(s.Fragment,{children:L}):(0,s.jsxs)("div",{className:Ii,children:[qn||(a=V.layout)!==null&&a!==void 0&&a.bgLayout?(0,s.jsx)("div",{className:W()("".concat(He,"-bg-list"),on),children:qn}):null,(0,s.jsxs)(Xe,{style:(0,m.Z)({minHeight:"100%",flexDirection:Nt?"row":void 0},U),children:[(0,s.jsx)(Ne.ZP,{theme:{hashed:(0,ae.nu)(),token:{controlHeightLG:((o=V.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.menuHeight)||(V==null?void 0:V.controlHeightLG)},components:{Menu:_({colorItemBg:((i=V.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorMenuBackground)||"transparent",colorSubItemBg:((l=V.layout)===null||l===void 0||(l=l.sider)===null||l===void 0?void 0:l.colorMenuBackground)||"transparent",radiusItem:V.borderRadius,colorItemBgSelected:((c=V.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorBgMenuItemSelected)||(V==null?void 0:V.colorBgTextHover),colorItemBgHover:((d=V.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemHover)||(V==null?void 0:V.colorBgTextHover),colorItemBgActive:((f=V.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(V==null?void 0:V.colorBgTextActive),colorItemBgSelectedHorizontal:((h=V.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorBgMenuItemSelected)||(V==null?void 0:V.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((g=V.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorTextMenu)||(V==null?void 0:V.colorTextSecondary),colorItemTextHover:((b=V.layout)===null||b===void 0||(b=b.sider)===null||b===void 0?void 0:b.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((R=V.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:V==null?void 0:V.colorBgElevated,subMenuItemBg:V==null?void 0:V.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:V==null?void 0:V.colorBgElevated})}},children:Nt}),(0,s.jsxs)("div",{style:Vn,className:"".concat(He,"-container ").concat(on).trim(),children:[rn,(0,s.jsx)(Yr,(0,m.Z)((0,m.Z)({hasPageContainer:Jn,isChildrenLayout:an},yi),{},{hasHeader:!!rn,prefixCls:He,style:E,children:ne?(0,s.jsx)(Oo.S,{}):L})),Un,Qn&&(0,s.jsx)("div",{className:"".concat(He,"-has-footer"),style:{height:64,marginBlockStart:(S=V.layout)===null||S===void 0||(S=S.pageContainer)===null||S===void 0?void 0:S.paddingBlockPageContainerContent}})]})]})]})}))},hi=function(e){var t=e.colorPrimary,n=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,s.jsx)(Ne.ZP,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,s.jsx)(ae._Y,(0,m.Z)((0,m.Z)({autoClearCache:!0},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,s.jsx)(mi,(0,m.Z)((0,m.Z)({logo:(0,s.jsx)(Jr,{})},In.h),{},{location:(0,X.j)()?window.location:void 0},e))}))})}},83832:function(Ze,Be,y){"use strict";y.d(Be,{S:function(){return ae}});var u=y(1413),me=y(91),le=y(75081),he=y(67294),F=y(85893),m=["isLoading","pastDelay","timedOut","error","retry"],ae=function(v){var xe=v.isLoading,ce=v.pastDelay,ye=v.timedOut,A=v.error,X=v.retry,x=(0,me.Z)(v,m);return(0,F.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,F.jsx)(le.Z,(0,u.Z)({size:"large"},x))})}},76509:function(Ze,Be,y){"use strict";y.d(Be,{X:function(){return me}});var u=y(67294),me=(0,u.createContext)({})},90743:function(Ze,Be){var y;function u(x){"@babel/helpers - typeof";return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},u(x)}y={value:!0},Be.Bo=y=y=y=y=y=y=void 0;function me(x){for(var j=[],M=0;M<x.length;){var _=x[M];if(_==="*"||_==="+"||_==="?"){j.push({type:"MODIFIER",index:M,value:x[M++]});continue}if(_==="\\"){j.push({type:"ESCAPED_CHAR",index:M++,value:x[M++]});continue}if(_==="{"){j.push({type:"OPEN",index:M,value:x[M++]});continue}if(_==="}"){j.push({type:"CLOSE",index:M,value:x[M++]});continue}if(_===":"){for(var ee="",D=M+1;D<x.length;){var O=x.charCodeAt(D);if(O>=48&&O<=57||O>=65&&O<=90||O>=97&&O<=122||O===95){ee+=x[D++];continue}break}if(!ee)throw new TypeError("Missing parameter name at "+M);j.push({type:"NAME",index:M,value:ee}),M=D;continue}if(_==="("){var k=1,Q="",D=M+1;if(x[D]==="?")throw new TypeError('Pattern cannot start with "?" at '+D);for(;D<x.length;){if(x[D]==="\\"){Q+=x[D++]+x[D++];continue}if(x[D]===")"){if(k--,k===0){D++;break}}else if(x[D]==="("&&(k++,x[D+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+D);Q+=x[D++]}if(k)throw new TypeError("Unbalanced pattern at "+M);if(!Q)throw new TypeError("Missing pattern at "+M);j.push({type:"PATTERN",index:M,value:Q}),M=D;continue}j.push({type:"CHAR",index:M,value:x[M++]})}return j.push({type:"END",index:M,value:""}),j}function le(x,j){j===void 0&&(j={});for(var M=me(x),_=j.prefixes,ee=_===void 0?"./":_,D="[^"+de(j.delimiter||"/#?")+"]+?",O=[],k=0,Q=0,J="",K=function(We){if(Q<M.length&&M[Q].type===We)return M[Q++].value},G=function(We){var Ge=K(We);if(Ge!==void 0)return Ge;var St=M[Q],Ot=St.type,ct=St.index;throw new TypeError("Unexpected "+Ot+" at "+ct+", expected "+We)},se=function(){for(var We="",Ge;Ge=K("CHAR")||K("ESCAPED_CHAR");)We+=Ge;return We};Q<M.length;){var oe=K("CHAR"),z=K("NAME"),te=K("PATTERN");if(z||te){var H=oe||"";ee.indexOf(H)===-1&&(J+=H,H=""),J&&(O.push(J),J=""),O.push({name:z||k++,prefix:H,suffix:"",pattern:te||D,modifier:K("MODIFIER")||""});continue}var Ce=oe||K("ESCAPED_CHAR");if(Ce){J+=Ce;continue}J&&(O.push(J),J="");var Pe=K("OPEN");if(Pe){var H=se(),De=K("NAME")||"",Re=K("PATTERN")||"",ze=se();G("CLOSE"),O.push({name:De||(Re?k++:""),pattern:De&&!Re?D:Re,prefix:H,suffix:ze,modifier:K("MODIFIER")||""});continue}G("END")}return O}y=le;function he(x,j){return F(le(x,j),j)}y=he;function F(x,j){j===void 0&&(j={});var M=v(j),_=j.encode,ee=_===void 0?function(Q){return Q}:_,D=j.validate,O=D===void 0?!0:D,k=x.map(function(Q){if(u(Q)==="object")return new RegExp("^(?:"+Q.pattern+")$",M)});return function(Q){for(var J="",K=0;K<x.length;K++){var G=x[K];if(typeof G=="string"){J+=G;continue}var se=Q?Q[G.name]:void 0,oe=G.modifier==="?"||G.modifier==="*",z=G.modifier==="*"||G.modifier==="+";if(Array.isArray(se)){if(!z)throw new TypeError('Expected "'+G.name+'" to not repeat, but got an array');if(se.length===0){if(oe)continue;throw new TypeError('Expected "'+G.name+'" to not be empty')}for(var te=0;te<se.length;te++){var H=ee(se[te],G);if(O&&!k[K].test(H))throw new TypeError('Expected all "'+G.name+'" to match "'+G.pattern+'", but got "'+H+'"');J+=G.prefix+H+G.suffix}continue}if(typeof se=="string"||typeof se=="number"){var H=ee(String(se),G);if(O&&!k[K].test(H))throw new TypeError('Expected "'+G.name+'" to match "'+G.pattern+'", but got "'+H+'"');J+=G.prefix+H+G.suffix;continue}if(!oe){var Ce=z?"an array":"a string";throw new TypeError('Expected "'+G.name+'" to be '+Ce)}}return J}}y=F;function m(x,j){var M=[],_=X(x,M,j);return ae(_,M,j)}y=m;function ae(x,j,M){M===void 0&&(M={});var _=M.decode,ee=_===void 0?function(D){return D}:_;return function(D){var O=x.exec(D);if(!O)return!1;for(var k=O[0],Q=O.index,J=Object.create(null),K=function(oe){if(O[oe]===void 0)return"continue";var z=j[oe-1];z.modifier==="*"||z.modifier==="+"?J[z.name]=O[oe].split(z.prefix+z.suffix).map(function(te){return ee(te,z)}):J[z.name]=ee(O[oe],z)},G=1;G<O.length;G++)K(G);return{path:k,index:Q,params:J}}}y=ae;function de(x){return x.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function v(x){return x&&x.sensitive?"":"i"}function xe(x,j){if(!j)return x;var M=x.source.match(/\((?!\?)/g);if(M)for(var _=0;_<M.length;_++)j.push({name:_,prefix:"",suffix:"",modifier:"",pattern:""});return x}function ce(x,j,M){var _=x.map(function(ee){return X(ee,j,M).source});return new RegExp("(?:"+_.join("|")+")",v(M))}function ye(x,j,M){return A(le(x,M),j,M)}function A(x,j,M){M===void 0&&(M={});for(var _=M.strict,ee=_===void 0?!1:_,D=M.start,O=D===void 0?!0:D,k=M.end,Q=k===void 0?!0:k,J=M.encode,K=J===void 0?function(Ae){return Ae}:J,G="["+de(M.endsWith||"")+"]|$",se="["+de(M.delimiter||"/#?")+"]",oe=O?"^":"",z=0,te=x;z<te.length;z++){var H=te[z];if(typeof H=="string")oe+=de(K(H));else{var Ce=de(K(H.prefix)),Pe=de(K(H.suffix));if(H.pattern)if(j&&j.push(H),Ce||Pe)if(H.modifier==="+"||H.modifier==="*"){var De=H.modifier==="*"?"?":"";oe+="(?:"+Ce+"((?:"+H.pattern+")(?:"+Pe+Ce+"(?:"+H.pattern+"))*)"+Pe+")"+De}else oe+="(?:"+Ce+"("+H.pattern+")"+Pe+")"+H.modifier;else oe+="("+H.pattern+")"+H.modifier;else oe+="(?:"+Ce+Pe+")"+H.modifier}}if(Q)ee||(oe+=se+"?"),oe+=M.endsWith?"(?="+G+")":"$";else{var Re=x[x.length-1],ze=typeof Re=="string"?se.indexOf(Re[Re.length-1])>-1:Re===void 0;ee||(oe+="(?:"+se+"(?="+G+"))?"),ze||(oe+="(?="+se+"|"+G+")")}return new RegExp(oe,v(M))}y=A;function X(x,j,M){return x instanceof RegExp?xe(x,j):Array.isArray(x)?ce(x,j,M):ye(x,j,M)}Be.Bo=X},78164:function(Ze,Be,y){"use strict";y.d(Be,{S:function(){return xe}});var u=y(15671),me=y(43144),le=y(97326),he=y(32531),F=y(29388),m=y(4942),ae=y(29905),de=y(67294),v=y(85893),xe=function(ce){(0,he.Z)(A,ce);var ye=(0,F.Z)(A);function A(){var X;(0,u.Z)(this,A);for(var x=arguments.length,j=new Array(x),M=0;M<x;M++)j[M]=arguments[M];return X=ye.call.apply(ye,[this].concat(j)),(0,m.Z)((0,le.Z)(X),"state",{hasError:!1,errorInfo:""}),X}return(0,me.Z)(A,[{key:"componentDidCatch",value:function(x,j){console.log(x,j)}},{key:"render",value:function(){return this.state.hasError?(0,v.jsx)(ae.ZP,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(x){return{hasError:!0,errorInfo:x.message}}}]),A}(de.Component)},14779:function(Ze){Ze.exports=ye,Ze.exports.parse=me,Ze.exports.compile=le,Ze.exports.tokensToFunction=he,Ze.exports.tokensToRegExp=ce;var Be="/",y="./",u=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function me(A,X){for(var x=[],j=0,M=0,_="",ee=X&&X.delimiter||Be,D=X&&X.delimiters||y,O=!1,k;(k=u.exec(A))!==null;){var Q=k[0],J=k[1],K=k.index;if(_+=A.slice(M,K),M=K+Q.length,J){_+=J[1],O=!0;continue}var G="",se=A[M],oe=k[2],z=k[3],te=k[4],H=k[5];if(!O&&_.length){var Ce=_.length-1;D.indexOf(_[Ce])>-1&&(G=_[Ce],_=_.slice(0,Ce))}_&&(x.push(_),_="",O=!1);var Pe=G!==""&&se!==void 0&&se!==G,De=H==="+"||H==="*",Re=H==="?"||H==="*",ze=G||ee,Ae=z||te;x.push({name:oe||j++,prefix:G,delimiter:ze,optional:Re,repeat:De,partial:Pe,pattern:Ae?m(Ae):"[^"+F(ze)+"]+?"})}return(_||M<A.length)&&x.push(_+A.substr(M)),x}function le(A,X){return he(me(A,X))}function he(A){for(var X=new Array(A.length),x=0;x<A.length;x++)typeof A[x]=="object"&&(X[x]=new RegExp("^(?:"+A[x].pattern+")$"));return function(j,M){for(var _="",ee=M&&M.encode||encodeURIComponent,D=0;D<A.length;D++){var O=A[D];if(typeof O=="string"){_+=O;continue}var k=j?j[O.name]:void 0,Q;if(Array.isArray(k)){if(!O.repeat)throw new TypeError('Expected "'+O.name+'" to not repeat, but got array');if(k.length===0){if(O.optional)continue;throw new TypeError('Expected "'+O.name+'" to not be empty')}for(var J=0;J<k.length;J++){if(Q=ee(k[J],O),!X[D].test(Q))throw new TypeError('Expected all "'+O.name+'" to match "'+O.pattern+'"');_+=(J===0?O.prefix:O.delimiter)+Q}continue}if(typeof k=="string"||typeof k=="number"||typeof k=="boolean"){if(Q=ee(String(k),O),!X[D].test(Q))throw new TypeError('Expected "'+O.name+'" to match "'+O.pattern+'", but got "'+Q+'"');_+=O.prefix+Q;continue}if(O.optional){O.partial&&(_+=O.prefix);continue}throw new TypeError('Expected "'+O.name+'" to be '+(O.repeat?"an array":"a string"))}return _}}function F(A){return A.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function m(A){return A.replace(/([=!:$/()])/g,"\\$1")}function ae(A){return A&&A.sensitive?"":"i"}function de(A,X){if(!X)return A;var x=A.source.match(/\((?!\?)/g);if(x)for(var j=0;j<x.length;j++)X.push({name:j,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return A}function v(A,X,x){for(var j=[],M=0;M<A.length;M++)j.push(ye(A[M],X,x).source);return new RegExp("(?:"+j.join("|")+")",ae(x))}function xe(A,X,x){return ce(me(A,x),X,x)}function ce(A,X,x){x=x||{};for(var j=x.strict,M=x.start!==!1,_=x.end!==!1,ee=F(x.delimiter||Be),D=x.delimiters||y,O=[].concat(x.endsWith||[]).map(F).concat("$").join("|"),k=M?"^":"",Q=A.length===0,J=0;J<A.length;J++){var K=A[J];if(typeof K=="string")k+=F(K),Q=J===A.length-1&&D.indexOf(K[K.length-1])>-1;else{var G=K.repeat?"(?:"+K.pattern+")(?:"+F(K.delimiter)+"(?:"+K.pattern+"))*":K.pattern;X&&X.push(K),K.optional?K.partial?k+=F(K.prefix)+"("+G+")?":k+="(?:"+F(K.prefix)+"("+G+"))?":k+=F(K.prefix)+"("+G+")"}}return _?(j||(k+="(?:"+ee+")?"),k+=O==="$"?"$":"(?="+O+")"):(j||(k+="(?:"+ee+"(?="+O+"))?"),Q||(k+="(?="+ee+"|"+O+")")),new RegExp(k,ae(x))}function ye(A,X,x){return A instanceof RegExp?de(A,X):Array.isArray(A)?v(A,X,x):xe(A,X,x)}},64599:function(Ze,Be,y){var u=y(96263);function me(le,he){var F=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!F){if(Array.isArray(le)||(F=u(le))||he&&le&&typeof le.length=="number"){F&&(le=F);var m=0,ae=function(){};return{s:ae,n:function(){return m>=le.length?{done:!0}:{done:!1,value:le[m++]}},e:function(ye){throw ye},f:ae}}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 de=!0,v=!1,xe;return{s:function(){F=F.call(le)},n:function(){var ye=F.next();return de=ye.done,ye},e:function(ye){v=!0,xe=ye},f:function(){try{!de&&F.return!=null&&F.return()}finally{if(v)throw xe}}}}Ze.exports=me,Ze.exports.__esModule=!0,Ze.exports.default=Ze.exports}}]);
|
|
|