28 lines
104 KiB
JavaScript
28 lines
104 KiB
JavaScript
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[4587],{16646:function(Te,Pe,p){"use strict";p.d(Pe,{f:function(){return no}});var l=p(88357),be=p(11642),ve=p(73356),Se=p(56929),z=p(959),v=p(35361),ce=p(38292),ge=p(3691),m=p(50959);function Me(r){var e=typeof window=="undefined",n=(0,m.useState)(function(){return e?!1:window.matchMedia(r).matches}),t=(0,z.Z)(n,2),a=t[0],i=t[1];return(0,m.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(r),u=function(s){return i(s.matches)};return o.addListener(u),function(){return o.removeListener(u)}}},[r]),a}var fe={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)"}},Ze=function(){var e=void 0;if(typeof window=="undefined")return e;var n=Object.keys(fe).find(function(t){var a=fe[t].matchMedia;return!!window.matchMedia(a).matches});return e=n,e},N=function(){var e=Me(fe.md.matchMedia),n=Me(fe.lg.matchMedia),t=Me(fe.xxl.matchMedia),a=Me(fe.xl.matchMedia),i=Me(fe.sm.matchMedia),o=Me(fe.xs.matchMedia),u=(0,m.useState)(Ze()),d=(0,z.Z)(u,2),s=d[0],f=d[1];return(0,m.useEffect)(function(){if(t){f("xxl");return}if(a){f("xl");return}if(n){f("lg");return}if(e){f("md");return}if(i){f("sm");return}if(o){f("xs");return}f("md")},[e,n,t,a,i,o]),s},G=p(32532);function h(r,e){var n=typeof r.pageName=="string"?r.title:e;(0,m.useEffect)(function(){(0,G.j)()&&n&&(document.title=n)},[r.title,n])}var R=p(17104),b=p(6721);function A(r){if((0,R.n)((0,b.b)(),"5.6.0")<0)return r;var e={colorGroupTitle:"groupTitleColor",radiusItem:"itemBorderRadius",radiusSubMenuItem:"subMenuItemBorderRadius",colorItemText:"itemColor",colorItemTextHover:"itemHoverColor",colorItemTextHoverHorizontal:"horizontalItemHoverColor",colorItemTextSelected:"itemSelectedColor",colorItemTextSelectedHorizontal:"horizontalItemSelectedColor",colorItemTextDisabled:"itemDisabledColor",colorDangerItemText:"dangerItemColor",colorDangerItemTextHover:"dangerItemHoverColor",colorDangerItemTextSelected:"dangerItemSelectedColor",colorDangerItemBgActive:"dangerItemActiveBg",colorDangerItemBgSelected:"dangerItemSelectedBg",colorItemBg:"itemBg",colorItemBgHover:"itemHoverBg",colorSubItemBg:"subMenuItemBg",colorItemBgActive:"itemActiveBg",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},n=(0,v.Z)({},r);return Object.keys(e).forEach(function(t){n[t]!==void 0&&(n[e[t]]=n[t],delete n[t])}),n}var ae=p(99864);function O(r,e){return e>>>r|e<<32-r}function E(r,e,n){return r&e^~r&n}function F(r,e,n){return r&e^r&n^e&n}function Q(r){return O(2,r)^O(13,r)^O(22,r)}function k(r){return O(6,r)^O(11,r)^O(25,r)}function K(r){return O(7,r)^O(18,r)^r>>>3}function U(r){return O(17,r)^O(19,r)^r>>>10}function he(r,e){return r[e&15]+=U(r[e+14&15])+r[e+9&15]+K(r[e+1&15])}var de=[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],$,oe,L,Ie="0123456789abcdef";function Le(r,e){var n=(r&65535)+(e&65535),t=(r>>16)+(e>>16)+(n>>16);return t<<16|n&65535}function Oe(){$=new Array(8),oe=new Array(2),L=new Array(64),oe[0]=oe[1]=0,$[0]=1779033703,$[1]=3144134277,$[2]=1013904242,$[3]=2773480762,$[4]=1359893119,$[5]=2600822924,$[6]=528734635,$[7]=1541459225}function je(){var r,e,n,t,a,i,o,u,d,s,f=new Array(16);r=$[0],e=$[1],n=$[2],t=$[3],a=$[4],i=$[5],o=$[6],u=$[7];for(var g=0;g<16;g++)f[g]=L[(g<<2)+3]|L[(g<<2)+2]<<8|L[(g<<2)+1]<<16|L[g<<2]<<24;for(var y=0;y<64;y++)d=u+k(a)+E(a,i,o)+de[y],y<16?d+=f[y]:d+=he(f,y),s=Q(r)+F(r,e,n),u=o,o=i,i=a,a=Le(t,d),t=n,n=e,e=r,r=Le(d,s);$[0]+=r,$[1]+=e,$[2]+=n,$[3]+=t,$[4]+=a,$[5]+=i,$[6]+=o,$[7]+=u}function $e(r,e){var n,t,a=0;t=oe[0]>>3&63;var i=e&63;for((oe[0]+=e<<3)<e<<3&&oe[1]++,oe[1]+=e>>29,n=0;n+63<e;n+=64){for(var o=t;o<64;o++)L[o]=r.charCodeAt(a++);je(),t=0}for(var u=0;u<i;u++)L[u]=r.charCodeAt(a++)}function De(){var r=oe[0]>>3&63;if(L[r++]=128,r<=56)for(var e=r;e<56;e++)L[e]=0;else{for(var n=r;n<64;n++)L[n]=0;je();for(var t=0;t<56;t++)L[t]=0}L[56]=oe[1]>>>24&255,L[57]=oe[1]>>>16&255,L[58]=oe[1]>>>8&255,L[59]=oe[1]&255,L[60]=oe[0]>>>24&255,L[61]=oe[0]>>>16&255,L[62]=oe[0]>>>8&255,L[63]=oe[0]&255,je()}function We(){for(var r=0,e=new Array(32),n=0;n<8;n++)e[r++]=$[n]>>>24&255,e[r++]=$[n]>>>16&255,e[r++]=$[n]>>>8&255,e[r++]=$[n]&255;return e}function Ue(){for(var r=new String,e=0;e<8;e++)for(var n=28;n>=0;n-=4)r+=Ie.charAt($[e]>>>n&15);return r}function pn(r){return Oe(),$e(r,r.length),De(),Ue()}var Bn=pn;function tn(r){"@babel/helpers - typeof";return tn=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},tn(r)}var _t=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Nt(r,e){return Dt(r)||Ht(r,e)||jn(r,e)||At()}function At(){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 Ht(r,e){var n=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(n!=null){var t=[],a=!0,i=!1,o,u;try{for(n=n.call(r);!(a=(o=n.next()).done)&&(t.push(o.value),!(e&&t.length===e));a=!0);}catch(d){i=!0,u=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw u}}return t}}function Dt(r){if(Array.isArray(r))return r}function Ot(r,e){var n=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=jn(r))||e&&r&&typeof r.length=="number"){n&&(r=n);var t=0,a=function(){};return{s:a,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(s){throw s},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){n=n.call(r)},n:function(){var s=n.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function $t(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(r,e){for(var n=0;n<e.length;n++){var t=e[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,t.key,t)}}function Wt(r,e,n){return e&&Un(r.prototype,e),n&&Un(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}function zt(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&&rn(r,e)}function Ft(r){var e=Gn();return function(){var t=an(r),a;if(e){var i=an(this).constructor;a=Reflect.construct(t,arguments,i)}else a=t.apply(this,arguments);return Kt(this,a)}}function Kt(r,e){if(e&&(tn(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ut(r)}function Ut(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Pn(r){var e=typeof Map=="function"?new Map:void 0;return Pn=function(t){if(t===null||!Gt(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(t))return e.get(t);e.set(t,a)}function a(){return yn(t,arguments,an(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),rn(a,t)},Pn(r)}function yn(r,e,n){return Gn()?yn=Reflect.construct.bind():yn=function(a,i,o){var u=[null];u.push.apply(u,i);var d=Function.bind.apply(a,u),s=new d;return o&&rn(s,o.prototype),s},yn.apply(null,arguments)}function Gn(){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 Gt(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function rn(r,e){return rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},rn(r,e)}function an(r){return an=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},an(r)}function Xn(r){return Yt(r)||Vt(r)||jn(r)||Xt()}function Xt(){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 jn(r,e){if(r){if(typeof r=="string")return wn(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wn(r,e)}}function Vt(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Yt(r){if(Array.isArray(r))return wn(r)}function wn(r,e){(e==null||e>r.length)&&(e=r.length);for(var n=0,t=new Array(e);n<e;n++)t[n]=r[n];return t}function Qt(r,e){if(r==null)return{};var n=Jt(r,e),t,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)t=i[a],!(e.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(r,t)&&(n[t]=r[t])}return n}function Jt(r,e){if(r==null)return{};var n={},t=Object.keys(r),a,i;for(i=0;i<t.length;i++)a=t[i],!(e.indexOf(a)>=0)&&(n[a]=r[a]);return n}function Vn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function pe(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Vn(Object(n),!0).forEach(function(t){kt(r,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))})}return r}function kt(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}var Ee="routes";function on(r){return r.split("?")[0].split("#")[0]}var En=function(e){if(!e.startsWith("http"))return!1;try{var n=new URL(e);return!!n}catch(t){return!1}},qt=function(e){var n=e.path;if(!n||n==="/")try{return"/".concat(Bn(JSON.stringify(e)))}catch(t){}return n&&on(n)},er=function(e,n){var t=e.name,a=e.locale;return"locale"in e&&a===!1||!t?!1:e.locale||"".concat(n,".").concat(t)},Yn=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||n).startsWith("/")||En(e)?e:"/".concat(n,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},nr=function(e,n){var t=e.menu,a=t===void 0?{}:t,i=e.indexRoute,o=e.path,u=o===void 0?"":o,d=e.children||[],s=a.name,f=s===void 0?e.name:s,g=a.icon,y=g===void 0?e.icon:g,Z=a.hideChildren,j=Z===void 0?e.hideChildren:Z,T=a.flatMenu,M=T===void 0?e.flatMenu:T,H=i&&Object.keys(i).join(",")!=="redirect"?[pe({path:u,menu:a},i)].concat(d||[]):d,D=pe({},e);if(f&&(D.name=f),y&&(D.icon=y),H&&H.length){if(j)return delete D.children,D;var W=Ln(pe(pe({},n),{},{data:H}),e);if(M)return W;delete D[Ee]}return D},Ge=function(e){return Array.isArray(e)&&e.length>0};function Ln(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=r.data,t=r.formatMessage,a=r.parentName,i=r.locale;return!n||!Array.isArray(n)?[]:n.filter(function(o){return o?Ge(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var u,d;return!(o==null||(u=o.menu)===null||u===void 0)&&u.name||o!=null&&o.flatMenu||!(o==null||(d=o.menu)===null||d===void 0)&&d.flatMenu?!0:o.menu!==!1}).map(function(o){var u=pe(pe({},o),{},{path:o.path||o.originPath});return!u.children&&u[Ee]&&(u.children=u[Ee],delete u[Ee]),u.unaccessible&&delete u.name,u.path==="*"&&(u.path="."),u.path==="/*"&&(u.path="."),!u.path&&u.originPath&&(u.path=u.originPath),u}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},u=o.children||o[Ee]||[],d=Yn(o.path,e?e.path:"/"),s=o.name,f=er(o,a||"menu"),g=f!==!1&&i!==!1&&t&&f?t({id:f,defaultMessage:s}):s,y=e.pro_layout_parentKeys,Z=y===void 0?[]:y,j=e.children,T=e.icon,M=e.flatMenu,H=e.indexRoute,D=e.routes,W=Qt(e,_t),_=new Set([].concat(Xn(Z),Xn(o.parentKeys||[])));e.key&&_.add(e.key);var I=pe(pe(pe({},W),{},{menu:void 0},o),{},{path:d,locale:f,key:o.key||qt(pe(pe({},o),{},{path:d})),pro_layout_parentKeys:Array.from(_).filter(function(S){return S&&S!=="/"})});if(g?I.name=g:delete I.name,I.menu===void 0&&delete I.menu,Ge(u)){var x=Ln(pe(pe({},r),{},{data:u,parentName:f||""}),I);Ge(x)&&(I.children=x)}return nr(I,r)}).flat(1)}var tr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(n){return n&&(n.name||Ge(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var t=pe({},n),a=t.children||n[Ee]||[];if(delete t[Ee],Ge(a)&&!t.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return pe(pe({},t),{},{children:i})}return pe({},n)}).filter(function(n){return n})},rr=function(r){zt(n,r);var e=Ft(n);function n(){return $t(this,n),e.apply(this,arguments)}return Wt(n,[{key:"get",value:function(a){var i;try{var o=Ot(this.entries()),u;try{for(o.s();!(u=o.n()).done;){var d=Nt(u.value,2),s=d[0],f=d[1],g=on(s);if(!En(s)&&(0,ae.Bo)(g,[]).test(a)){i=f;break}}}catch(y){o.e(y)}finally{o.f()}}catch(y){i=void 0}return i}}]),n}(Pn(Map)),ar=function(e){var n=new rr,t=function a(i,o){i.forEach(function(u){var d=u.children||u[Ee]||[];Ge(d)&&a(d,u);var s=Yn(u.path,o?o.path:"/");n.set(on(s),u)})};return t(e),n},or=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(n){var t=n.children||n[Ee];if(Ge(t)){var a=r(t);if(a.length)return pe({},n)}var i=pe({},n);return delete i[Ee],delete i.children,i}).filter(function(n){return n})},ir=function(e,n,t,a){var i=Ln({data:e,formatMessage:t,locale:n}),o=a?or(i):tr(i),u=ar(i);return{breadcrumb:u,menuData:o}},lr=ir;function Qn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function ln(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Qn(Object(n),!0).forEach(function(t){ur(r,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))})}return r}function ur(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}var cr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n={};return e.forEach(function(t){var a=ln({},t);if(!(!a||!a.key)){!a.children&&a[Ee]&&(a.children=a[Ee],delete a[Ee]);var i=a.children||[];n[on(a.path||a.key||"/")]=ln({},a),n[a.key||a.path||"/"]=ln({},a),i&&(n=ln(ln({},n),r(i)))}}),n},dr=cr,sr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&n==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!En(a)){var i=on(a);try{if(t&&(0,ae.Bo)("".concat(i)).test(n)||(0,ae.Bo)("".concat(i),[]).test(n)||(0,ae.Bo)("".concat(i,"/(.*)")).test(n))return!0}catch(o){}}return!1}).sort(function(a,i){return a===n?10:i===n?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},vr=function(e,n,t,a){var i=dr(n),o=Object.keys(i),u=sr(o,e||"/",a);return!u||u.length<1?[]:(t||(u=[u[u.length-1]]),u.map(function(d){var s=i[d]||{pro_layout_parentKeys:"",key:""},f=new Map,g=(s.pro_layout_parentKeys||[]).map(function(y){return f.has(y)?null:(f.set(y,!0),i[y])}).filter(function(y){return y});return s.key&&g.push(s),g}).flat(1))},fr=vr,Ae=p(96558),Ve=p(41573),mr=p(82187),ne=p.n(mr),Jn=p(71770),hr=p(3769),kn=p(84707),gr=p(58211),c=p(11527),pr=function(e){var n,t=(0,m.useContext)(ce.L_),a=t.hashId,i=e.style,o=e.prefixCls,u=e.children,d=e.hasPageContainer,s=d===void 0?0:d,f=ne()("".concat(o,"-content"),a,(n={},(0,l.Z)(n,"".concat(o,"-has-header"),e.hasHeader),(0,l.Z)(n,"".concat(o,"-content-has-page-container"),s>0),n)),g=e.ErrorBoundary||gr.S;return e.ErrorBoundary===!1?(0,c.jsx)(Ve.Z.Content,{className:f,style:i,children:u}):(0,c.jsx)(g,{children:(0,c.jsx)(Ve.Z.Content,{className:f,style:i,children:u})})},yr=function(){return(0,c.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,c.jsxs)("defs",{children:[(0,c.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,c.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,c.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,c.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,c.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,c.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,c.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,c.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,c.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,c.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,c.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,c.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,c.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,c.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,c.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,c.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,c.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,c.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,c.jsxs)("g",{children:[(0,c.jsxs)("g",{fillRule:"nonzero",children:[(0,c.jsxs)("g",{children:[(0,c.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,c.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,c.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,c.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},xr=p(14143),un=p(45793),xn=p(27263),Cr=p(4619),br=p(30961),Sr=function(e,n){return m.createElement(br.Z,(0,xn.Z)({},e,{ref:n,icon:Cr.Z}))},Zr=m.forwardRef(Sr),Mr=p(25666),Ir=function(){return(0,c.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,c.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Rr=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,c.jsx)("div",{className:"".concat(t,"-content ").concat(a).trim(),children:(0,c.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a).trim(),children:n==null?void 0:n.map(function(o,u){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,c.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a).trim(),children:[(0,c.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,c.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},u):(0,c.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,c.jsxs)("a",{href:i?void 0:o.url,target:o.target,rel:"noreferrer",children:[Nn(o.icon),(0,c.jsxs)("div",{children:[(0,c.jsx)("div",{children:o.title}),o.desc?(0,c.jsx)("span",{children:o.desc}):null]})]})},u)})})})},_n=function(e){if(!e||!e.startsWith("http"))return!1;try{var n=new URL(e);return!!n}catch(t){return!1}},Tr=function(e,n){if(e&&typeof e=="string"&&_n(e))return(0,c.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,c.jsx)("div",{id:"avatarLogo",children:e});if(!e&&n&&typeof n=="string"){var t=n.substring(0,1);return(0,c.jsx)("div",{id:"avatarLogo",children:t})}return e},Br=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,c.jsx)("div",{className:"".concat(t,"-content ").concat(a).trim(),children:(0,c.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a).trim(),children:n==null?void 0:n.map(function(o,u){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,c.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a).trim(),children:[(0,c.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,c.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},u):(0,c.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,c.jsxs)("a",{href:i?"javascript:;":o.url,target:o.target,rel:"noreferrer",children:[Tr(o.icon,o.title),(0,c.jsx)("div",{children:(0,c.jsx)("div",{children:o.title})})]})},u)})})})},we=p(69601),Pr=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":we.Wf===null||we.Wf===void 0?void 0:(0,we.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"}}}}}}},jr=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"}}}}}}},wr=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIconHover,backgroundColor:(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,l.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":jr(e),"&-default":Pr(e)})};function Er(r){return(0,we.Xj)("AppsLogoComponents",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[wr(n)]})}var Nn=function(e){return typeof e=="string"?(0,c.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},An=function(e){var n,t=e.appList,a=e.appListRender,i=e.prefixCls,o=i===void 0?"ant-pro":i,u=e.onItemClick,d=m.useRef(null),s=m.useRef(null),f="".concat(o,"-layout-apps"),g=Er(f),y=g.wrapSSR,Z=g.hashId,j=(0,m.useState)(!1),T=(0,z.Z)(j,2),M=T[0],H=T[1],D=function(S){u==null||u(S,s)},W=(0,m.useMemo)(function(){var x=t==null?void 0:t.some(function(S){return!(S!=null&&S.desc)});return x?(0,c.jsx)(Br,{hashId:Z,appList:t,itemClick:u?D:void 0,baseClassName:"".concat(f,"-simple")}):(0,c.jsx)(Rr,{hashId:Z,appList:t,itemClick:u?D:void 0,baseClassName:"".concat(f,"-default")})},[t,f,Z]);if(!(e!=null&&(n=e.appList)!==null&&n!==void 0&&n.length))return null;var _=a?a(e==null?void 0:e.appList,W):W,I=(0,b.X)(void 0,function(x){return H(x)});return y((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{ref:d,onClick:function(S){S.stopPropagation(),S.preventDefault()}}),(0,c.jsx)(Mr.Z,(0,v.Z)((0,v.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},I),{},{overlayClassName:"".concat(f,"-popover ").concat(Z).trim(),content:_,getPopupContainer:function(){return d.current||document.body},children:(0,c.jsx)("span",{ref:s,onClick:function(S){S.stopPropagation()},className:ne()("".concat(f,"-icon"),Z,(0,l.Z)({},"".concat(f,"-icon-active"),M)),children:(0,c.jsx)(Ir,{})})}))]}))},qn=p(23229),Lr=p(36735),et=p(16150);function _r(){return(0,c.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,c.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 Nr=function(e){var n,t,a;return(0,l.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextCollapsedButton,backgroundColor:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(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 Ar(r){return(0,we.Xj)("SiderMenuCollapsedIcon",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Nr(n)]})}var Hr=["isMobile","collapsed"],Dr=function(e){var n,t=e.isMobile,a=e.collapsed,i=(0,Se.Z)(e,Hr),o=Ar(e.className),u=o.wrapSSR,d=o.hashId;return t&&a?null:u((0,c.jsx)("div",(0,v.Z)((0,v.Z)({},i),{},{className:ne()(e.className,d,(n={},(0,l.Z)(n,"".concat(e.className,"-collapsed"),a),(0,l.Z)(n,"".concat(e.className,"-is-mobile"),t),n)),children:(0,c.jsx)(_r,{})})))},Cn=p(30360),Or=p(97086),$r=p(5952),Wr=p(38152),zr=p(29482),bn=p(74942),Fr=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],nt=m.forwardRef(function(r,e){var n=r.className,t=r.component,a=r.viewBox,i=r.spin,o=r.rotate,u=r.tabIndex,d=r.onClick,s=r.children,f=(0,Se.Z)(r,Fr),g=m.useRef(),y=(0,Wr.x1)(g,e);(0,bn.Kp)(!!(t||s),"Should have `component` prop or `children`."),(0,bn.C3)(g);var Z=m.useContext(zr.Z),j=Z.prefixCls,T=j===void 0?"anticon":j,M=Z.rootClassName,H=ne()(M,T,n),D=ne()((0,l.Z)({},"".concat(T,"-spin"),!!i)),W=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,_=(0,v.Z)((0,v.Z)({},bn.vD),{},{className:D,style:W,viewBox:a});a||delete _.viewBox;var I=function(){return t?m.createElement(t,_,s):s?((0,bn.Kp)(!!a||m.Children.count(s)===1&&m.isValidElement(s)&&m.Children.only(s).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),m.createElement("svg",(0,xn.Z)({},_,{viewBox:a}),s)):null},x=u;return x===void 0&&d&&(x=-1),m.createElement("span",(0,xn.Z)({role:"img"},f,{ref:y,tabIndex:x,onClick:d,className:H}),I())});nt.displayName="AntdIcon";var Kr=nt,Ur=["type","children"],tt=new Set;function Gr(r){return!!(typeof r=="string"&&r.length&&!tt.has(r))}function Sn(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=r[e];if(Gr(n)){var t=document.createElement("script");t.setAttribute("src",n),t.setAttribute("data-namespace",n),r.length>e+1&&(t.onload=function(){Sn(r,e+1)},t.onerror=function(){Sn(r,e+1)}),tt.add(n),document.body.appendChild(t)}}function rt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,n=r.extraCommonProps,t=n===void 0?{}:n;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?Sn(e.reverse()):Sn([e]));var a=m.forwardRef(function(i,o){var u=i.type,d=i.children,s=(0,Se.Z)(i,Ur),f=null;return i.type&&(f=m.createElement("use",{xlinkHref:"#".concat(u)})),d&&(f=d),m.createElement(Kr,(0,xn.Z)({},t,s,{ref:o}),f)});return a.displayName="Iconfont",a}function Xr(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var Vr=p(38546),Yr=p(39910),at=p(53198),Qr=function(e,n){var t,a,i,o,u,d,s,f=n.includes("horizontal")?(t=e.layout)===null||t===void 0?void 0:t.header:(a=e.layout)===null||a===void 0?void 0:a.sider;return(0,v.Z)((0,v.Z)((0,l.Z)({},"".concat(e.componentCls),(s={background:"transparent",color:f==null?void 0:f.colorTextMenu,border:"none"},(0,l.Z)(s,"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),(0,l.Z)(s,"".concat(e.componentCls,"-submenu-has-icon"),(0,l.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),(0,l.Z)(s,"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),(0,l.Z)(s,"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),(0,l.Z)(s,"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),(0,l.Z)(s,"&&-collapsed",(i={},(0,l.Z)(i,"".concat(e.antCls,`-menu-item,
|
|
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item,
|
|
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title,
|
|
`).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),(0,l.Z)(i,"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title,
|
|
`).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:f==null?void 0:f.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),(0,l.Z)(i,"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),i)),(0,l.Z)(s,"&-item-title",(d={display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},(0,l.Z)(d,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),(0,l.Z)(d,"&-collapsed",(o={minWidth:40,height:40},(0,l.Z)(o,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),(0,l.Z)(o,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),o)),(0,l.Z)(d,"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),(0,l.Z)(d,"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),(0,l.Z)(d,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(u={display:"flex"},(0,l.Z)(u,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),(0,l.Z)(u,"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4}),u))),d)),(0,l.Z)(s,"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,l.Z)(s,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),s)),n.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function Jr(r,e){return(0,we.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,v.Z)((0,v.Z)({},n),{},{componentCls:".".concat(r)});return[Qr(t,e||"inline")]})}var ot=function(e){var n=(0,m.useState)(e.collapsed),t=(0,z.Z)(n,2),a=t[0],i=t[1],o=(0,m.useState)(!1),u=(0,z.Z)(o,2),d=u[0],s=u[1];return(0,m.useEffect)(function(){s(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,c.jsx)(Vr.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:s,children:e.children})},it=rt({scriptUrl:at.h.iconfontUrl}),lt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(_n(e)||Xr(e))return(0,c.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,c.jsx)(it,{type:e})}return e},ut=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},kr=(0,Or.Z)(function r(e){var n=this;(0,$r.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return t.map(function(o){return n.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a,i){var o=n.props,u=o.subMenuItemRender,d=o.baseClassName,s=o.prefixCls,f=o.collapsed,g=o.menu,y=o.iconPrefixes,Z=o.layout,j=(g==null?void 0:g.type)==="group"&&Z!=="top",T=n.props.token,M=n.getIntlName(t),H=(t==null?void 0:t.children)||(t==null?void 0:t.routes),D=j&&a===0?"group":void 0;if(Array.isArray(H)&&H.length>0){var W,_,I,x,S,q,w,B=a===0||j&&a===1,V=lt(t.icon,y,"".concat(d,"-icon ").concat((W=n.props)===null||W===void 0?void 0:W.hashId)),re=f&&B?ut(M):null,C=(0,c.jsxs)("div",{className:ne()("".concat(d,"-item-title"),(_=n.props)===null||_===void 0?void 0:_.hashId,(I={},(0,l.Z)(I,"".concat(d,"-item-title-collapsed"),f),(0,l.Z)(I,"".concat(d,"-item-title-collapsed-level-").concat(i),f),(0,l.Z)(I,"".concat(d,"-group-item-title"),D==="group"),(0,l.Z)(I,"".concat(d,"-item-collapsed-show-title"),(g==null?void 0:g.collapsedShowTitle)&&f),I)),children:[D==="group"&&f?null:B&&V?(0,c.jsx)("span",{className:"".concat(d,"-item-icon ").concat((x=n.props)===null||x===void 0?void 0:x.hashId).trim(),children:V}):re,(0,c.jsx)("span",{className:ne()("".concat(d,"-item-text"),(S=n.props)===null||S===void 0?void 0:S.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),D!=="group"&&B&&(V||re))),children:M})]}),Y=u?u((0,v.Z)((0,v.Z)({},t),{},{isUrl:!1}),C,n.props):C;if(j&&a===0&&n.props.collapsed&&!g.collapsedShowGroupTitle)return n.getNavMenuItems(H,a+1,a);var ee=n.getNavMenuItems(H,a+1,j&&a===0&&n.props.collapsed?a:a+1);return[{type:D,key:t.key||t.path,label:Y,onClick:j?void 0:t.onTitleClick,children:ee,className:ne()((q={},(0,l.Z)(q,"".concat(d,"-group"),D==="group"),(0,l.Z)(q,"".concat(d,"-submenu"),D!=="group"),(0,l.Z)(q,"".concat(d,"-submenu-has-icon"),D!=="group"&&B&&V),q))},j&&a===0?{type:"divider",prefixCls:s,className:"".concat(d,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:T==null||(w=T.layout)===null||w===void 0||(w=w.sider)===null||w===void 0?void 0:w.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a,i)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,u=o.menu,d=o.formatMessage;return i&&(u==null?void 0:u.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a,i){var o,u,d,s,f,g=n.conversionPath(t.path||"/"),y=n.props,Z=y.location,j=Z===void 0?{pathname:"/"}:Z,T=y.isMobile,M=y.onCollapse,H=y.menuItemRender,D=y.iconPrefixes,W=n.getIntlName(t),_=n.props,I=_.baseClassName,x=_.menu,S=_.collapsed,q=(x==null?void 0:x.type)==="group",w=a===0||q&&a===1,B=w?lt(t.icon,D,"".concat(I,"-icon ").concat((o=n.props)===null||o===void 0?void 0:o.hashId)):null,V=S&&w?ut(W):null,re=(0,c.jsxs)("div",{className:ne()("".concat(I,"-item-title"),(u=n.props)===null||u===void 0?void 0:u.hashId,(d={},(0,l.Z)(d,"".concat(I,"-item-title-collapsed"),S),(0,l.Z)(d,"".concat(I,"-item-title-collapsed-level-").concat(i),S),(0,l.Z)(d,"".concat(I,"-item-collapsed-show-title"),(x==null?void 0:x.collapsedShowTitle)&&S),d)),children:[(0,c.jsx)("span",{className:"".concat(I,"-item-icon ").concat((s=n.props)===null||s===void 0?void 0:s.hashId).trim(),style:{display:V===null&&!B?"none":""},children:B||(0,c.jsx)("span",{className:"anticon",children:V})}),(0,c.jsx)("span",{className:ne()("".concat(I,"-item-text"),(f=n.props)===null||f===void 0?void 0:f.hashId,(0,l.Z)({},"".concat(I,"-item-text-has-icon"),w&&(B||V))),children:W})]},g),C=_n(g);if(C){var Y,ee,P,te;re=(0,c.jsxs)("span",{onClick:function(){var J,le;(J=window)===null||J===void 0||(le=J.open)===null||le===void 0||le.call(J,g,"_blank")},className:ne()("".concat(I,"-item-title"),(Y=n.props)===null||Y===void 0?void 0:Y.hashId,(ee={},(0,l.Z)(ee,"".concat(I,"-item-title-collapsed"),S),(0,l.Z)(ee,"".concat(I,"-item-title-collapsed-level-").concat(i),S),(0,l.Z)(ee,"".concat(I,"-item-link"),!0),(0,l.Z)(ee,"".concat(I,"-item-collapsed-show-title"),(x==null?void 0:x.collapsedShowTitle)&&S),ee)),children:[(0,c.jsx)("span",{className:"".concat(I,"-item-icon ").concat((P=n.props)===null||P===void 0?void 0:P.hashId).trim(),style:{display:V===null&&!B?"none":""},children:B||(0,c.jsx)("span",{className:"anticon",children:V})}),(0,c.jsx)("span",{className:ne()("".concat(I,"-item-text"),(te=n.props)===null||te===void 0?void 0:te.hashId,(0,l.Z)({},"".concat(I,"-item-text-has-icon"),w&&(B||V))),children:W})]},g)}if(H){var ie=(0,v.Z)((0,v.Z)({},t),{},{isUrl:C,itemPath:g,isMobile:T,replace:g===j.pathname,onClick:function(){return M&&M(!0)},children:void 0});return a===0?(0,c.jsx)(ot,{collapsed:S,title:W,disable:t.disabledTooltip,children:H(ie,re,n.props)}):H(ie,re,n.props)}return a===0?(0,c.jsx)(ot,{collapsed:S,title:W,disable:t.disabledTooltip,children:re}):re}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),qr=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},ct=function(e){var n,t=e.mode,a=e.className,i=e.handleOpenChange,o=e.style,u=e.menuData,d=e.prefixCls,s=e.menu,f=e.matchMenuKeys,g=e.iconfontUrl,y=e.selectedKeys,Z=e.onSelect,j=e.menuRenderType,T=e.openKeys,M=(0,m.useContext)(ce.L_),H=M.dark,D=M.token,W="".concat(d,"-base-menu-").concat(t),_=(0,m.useRef)([]),I=(0,ge.Z)(s==null?void 0:s.defaultOpenAll),x=(0,z.Z)(I,2),S=x[0],q=x[1],w=(0,ge.Z)(function(){return s!=null&&s.defaultOpenAll?(0,un.O7)(u)||[]:T===!1?!1:[]},{value:T===!1?void 0:T,onChange:i}),B=(0,z.Z)(w,2),V=B[0],re=B[1],C=(0,ge.Z)([],{value:y,onChange:Z?function(se){Z&&se&&Z(se)}:void 0}),Y=(0,z.Z)(C,2),ee=Y[0],P=Y[1];(0,m.useEffect)(function(){s!=null&&s.defaultOpenAll||T===!1||f&&(re(f),P(f))},[f.join("-")]),(0,m.useEffect)(function(){g&&(it=rt({scriptUrl:g}))},[g]),(0,m.useEffect)(function(){if(f.join("-")!==(ee||[]).join("-")&&P(f),!S&&T!==!1&&f.join("-")!==(V||[]).join("-")){var se=f;(s==null?void 0:s.autoClose)===!1&&(se=Array.from(new Set([].concat((0,Cn.Z)(f),(0,Cn.Z)(V||[]))))),re(se)}else s!=null&&s.ignoreFlatMenu&&S?re((0,un.O7)(u)):q(!1)},[f.join("-")]);var te=(0,m.useMemo)(function(){return qr(V,e)},[V&&V.join(","),e.layout,e.collapsed]),ie=Jr(W,t),me=ie.wrapSSR,J=ie.hashId,le=(0,m.useMemo)(function(){return new kr((0,v.Z)((0,v.Z)({},e),{},{token:D,menuRenderType:j,baseClassName:W,hashId:J}))},[e,D,j,W,J]);if(s!=null&&s.loading)return(0,c.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,c.jsx)(Yr.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(_.current=f);var ue=e.postMenuData?e.postMenuData(u):u;return ue&&(ue==null?void 0:ue.length)<1?null:me((0,m.createElement)(et.Z,(0,v.Z)((0,v.Z)({},te),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:_.current,theme:H?"dark":"light",selectedKeys:ee,style:(0,v.Z)({backgroundColor:"transparent",border:"none"},o),className:ne()(a,J,W,(n={},(0,l.Z)(n,"".concat(W,"-horizontal"),t==="horizontal"),(0,l.Z)(n,"".concat(W,"-collapsed"),e.collapsed),n)),items:le.getNavMenuItems(ue,0,0),onOpenChange:function(ye){e.collapsed||re(ye)}},e.menuProps)))};function ea(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var na=["title","render"],ta=m.memo(function(r){return(0,c.jsx)(c.Fragment,{children:r.children})}),ra=Ve.Z.Sider,dt=Ve.Z._InternalSiderContext,aa=dt===void 0?{Provider:ta}:dt,Hn=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n];if(o===!1)return null;var u=Nn(t),d=(0,c.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(u,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,c.jsx)("a",{children:u},"title"):(0,c.jsxs)("a",{children:[u,d]},"title")},st=function(e){var n,t,a=e.collapsed,i=e.originCollapsed,o=e.fixSiderbar,u=e.menuFooterRender,d=e.onCollapse,s=e.theme,f=e.siderWidth,g=e.isMobile,y=e.onMenuHeaderClick,Z=e.breakpoint,j=Z===void 0?"lg":Z,T=e.style,M=e.layout,H=e.menuExtraRender,D=H===void 0?!1:H,W=e.links,_=e.menuContentRender,I=e.collapsedButtonRender,x=e.prefixCls,S=e.avatarProps,q=e.rightContentRender,w=e.actionsRender,B=e.onOpenChange,V=e.stylish,re=e.logoStyle,C=(0,m.useContext)(ce.L_),Y=C.hashId,ee=(0,m.useMemo)(function(){return!(g||M==="mix")},[g,M]),P="".concat(x,"-sider"),te=64,ie=ea("".concat(P,".").concat(P,"-stylish"),{stylish:V,proLayoutCollapsedWidth:te}),me=ne()("".concat(P),Y,(n={},(0,l.Z)(n,"".concat(P,"-fixed"),o),(0,l.Z)(n,"".concat(P,"-fixed-mix"),M==="mix"&&!g&&o),(0,l.Z)(n,"".concat(P,"-collapsed"),e.collapsed),(0,l.Z)(n,"".concat(P,"-layout-").concat(M),M&&!g),(0,l.Z)(n,"".concat(P,"-light"),s!=="dark"),(0,l.Z)(n,"".concat(P,"-mix"),M==="mix"&&!g),(0,l.Z)(n,"".concat(P,"-stylish"),!!V),n)),J=Hn(e),le=D&&D(e),ue=(0,m.useMemo)(function(){return _!==!1&&(0,m.createElement)(ct,(0,v.Z)((0,v.Z)({},e),{},{key:"base-menu",mode:a&&!g?"vertical":"inline",handleOpenChange:B,style:{width:"100%"},className:"".concat(P,"-menu ").concat(Y).trim()}))},[P,Y,_,B,e]),se=(W||[]).map(function(Be,_e){return{className:"".concat(P,"-link"),label:Be,key:_e}}),ye=(0,m.useMemo)(function(){return _?_(e,ue):ue},[_,ue,e]),xe=(0,m.useMemo)(function(){if(!S)return null;var Be=S.title,_e=S.render,Ne=(0,Se.Z)(S,na),Je=(0,c.jsxs)("div",{className:"".concat(P,"-actions-avatar"),children:[Ne!=null&&Ne.src||Ne!=null&&Ne.srcSet||Ne.icon||Ne.children?(0,c.jsx)(qn.C,(0,v.Z)({size:28},Ne)):null,S.title&&!a&&(0,c.jsx)("span",{children:Be})]});return _e?_e(S,Je,e):Je},[S,P,a]),Ce=(0,m.useMemo)(function(){return w?(0,c.jsx)(Lr.Z,{align:"center",size:4,direction:a?"vertical":"horizontal",className:ne()(["".concat(P,"-actions-list"),a&&"".concat(P,"-actions-list-collapsed"),Y]),children:w==null?void 0:w(e).map(function(Be,_e){return(0,c.jsx)("div",{className:"".concat(P,"-actions-list-item ").concat(Y).trim(),children:Be},_e)})}):null},[w,P,a]),ze=(0,m.useMemo)(function(){return(0,c.jsx)(An,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),Fe=(0,m.useMemo)(function(){if(I===!1)return null;var Be=(0,c.jsx)(Dr,{isMobile:g,collapsed:i,className:"".concat(P,"-collapsed-button"),onClick:function(){d==null||d(!i)}});return I?I(a,Be):Be},[I,g,i,P,a,d]),cn=(0,m.useMemo)(function(){return!xe&&!Ce?null:(0,c.jsxs)("div",{className:ne()("".concat(P,"-actions"),Y,a&&"".concat(P,"-actions-collapsed")),children:[xe,Ce]})},[Ce,xe,P,a,Y]),Xe=(0,m.useMemo)(function(){var Be;return e!=null&&(Be=e.menu)!==null&&Be!==void 0&&Be.hideMenuWhenCollapsed&&a?"".concat(P,"-hide-menu-collapsed"):null},[P,a,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),Mn=u&&(u==null?void 0:u(e)),dn=(0,c.jsxs)(c.Fragment,{children:[J&&(0,c.jsxs)("div",{className:ne()([ne()("".concat(P,"-logo"),Y,(0,l.Z)({},"".concat(P,"-logo-collapsed"),a))]),onClick:ee?y:void 0,id:"logo",style:re,children:[J,ze]}),le&&(0,c.jsx)("div",{className:ne()(["".concat(P,"-extra"),!J&&"".concat(P,"-extra-no-logo"),Y]),children:le}),(0,c.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:ye}),(0,c.jsxs)(aa.Provider,{value:{},children:[W?(0,c.jsx)("div",{className:"".concat(P,"-links ").concat(Y).trim(),children:(0,c.jsx)(et.Z,{inlineIndent:16,className:"".concat(P,"-link-menu ").concat(Y).trim(),selectedKeys:[],openKeys:[],theme:s,mode:"inline",items:se})}):null,ee&&(0,c.jsxs)(c.Fragment,{children:[cn,!Ce&&q?(0,c.jsx)("div",{className:ne()("".concat(P,"-actions"),Y,(0,l.Z)({},"".concat(P,"-actions-collapsed"),a)),children:q==null?void 0:q(e)}):null]}),Mn&&(0,c.jsx)("div",{className:ne()(["".concat(P,"-footer"),Y,(0,l.Z)({},"".concat(P,"-footer-collapsed"),a)]),children:Mn})]})]});return ie.wrapSSR((0,c.jsxs)(c.Fragment,{children:[o&&!g&&!Xe&&(0,c.jsx)("div",{style:(0,v.Z)({width:a?te:f,overflow:"hidden",flex:"0 0 ".concat(a?te:f,"px"),maxWidth:a?te:f,minWidth:a?te:f,transition:"all 0.2s ease 0s"},T)}),(0,c.jsxs)(ra,{collapsible:!0,trigger:null,collapsed:a,breakpoint:j===!1?void 0:j,onCollapse:function(_e){g||d==null||d(_e)},collapsedWidth:te,style:T,theme:s,width:f,className:ne()(me,Y,Xe),children:[Xe?(0,c.jsx)("div",{className:"".concat(P,"-hide-when-collapsed ").concat(Y).trim(),style:{height:"100%",width:"100%",opacity:Xe?0:1},children:dn}):dn,Fe]})]}))},oa=p(71739),ia=p(28033),la=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function ua(r){return(0,we.Xj)("ProLayoutRightContent",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[la(n)]})}var ca=["rightContentRender","avatarProps","actionsRender","headerContentRender"],da=["title","render"],vt=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,Se.Z)(e,ca),u=(0,m.useContext)(Ae.ZP.ConfigContext),d=u.getPrefixCls,s="".concat(d(),"-pro-global-header"),f=ua(s),g=f.wrapSSR,y=f.hashId,Z=(0,m.useState)("auto"),j=(0,z.Z)(Z,2),T=j[0],M=j[1],H=(0,m.useMemo)(function(){if(!t)return null;var I=t.title,x=t.render,S=(0,Se.Z)(t,da),q=[S!=null&&S.src||S!=null&&S.srcSet||S.icon||S.children?(0,m.createElement)(qn.C,(0,v.Z)((0,v.Z)({},S),{},{size:28,key:"avatar"})):null,I?(0,c.jsx)("span",{style:{marginInlineStart:8},children:I},"name"):void 0];return x?x(t,(0,c.jsx)("div",{children:q}),o):(0,c.jsx)("div",{children:q})},[t]),D=a||H?function(I){var x=a&&(a==null?void 0:a(I));return!x&&!H?null:(Array.isArray(x)||(x=[x]),g((0,c.jsxs)("div",{className:"".concat(s,"-header-actions ").concat(y).trim(),children:[x.filter(Boolean).map(function(S,q){var w=!1;if(m.isValidElement(S)){var B;w=!!(S!=null&&(B=S.props)!==null&&B!==void 0&&B["aria-hidden"])}return(0,c.jsx)("div",{className:ne()("".concat(s,"-header-actions-item ").concat(y),(0,l.Z)({},"".concat(s,"-header-actions-hover"),!w)),children:S},q)}),H&&(0,c.jsx)("span",{className:"".concat(s,"-header-actions-avatar ").concat(y).trim(),children:H})]})))}:void 0,W=(0,oa.D)(function(){var I=(0,ve.Z)((0,be.Z)().mark(function x(S){return(0,be.Z)().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:M(S);case 1:case"end":return w.stop()}},x)}));return function(x){return I.apply(this,arguments)}}(),160),_=D||n;return(0,c.jsx)("div",{className:"".concat(s,"-right-content ").concat(y).trim(),style:{minWidth:T,height:"100%"},children:(0,c.jsx)("div",{style:{height:"100%"},children:(0,c.jsx)(ia.Z,{onResize:function(x){var S=x.width;W.run(S)},children:_?(0,c.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:_((0,v.Z)((0,v.Z)({},o),{},{rightContentSize:T}))}):null})})})},sa=function(e){var n,t;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};function va(r){return(0,we.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[sa(n)]})}var ft=function(e){var n,t,a,i,o,u,d,s=(0,m.useRef)(null),f=e.onMenuHeaderClick,g=e.contentWidth,y=e.rightContentRender,Z=e.className,j=e.style,T=e.headerContentRender,M=e.layout,H=e.actionsRender,D=(0,m.useContext)(Ae.ZP.ConfigContext),W=D.getPrefixCls,_=(0,m.useContext)(ce.L_),I=_.dark,x="".concat(e.prefixCls||W("pro"),"-top-nav-header"),S=va(x),q=S.wrapSSR,w=S.hashId,B=void 0;e.menuHeaderRender!==void 0?B="menuHeaderRender":(M==="mix"||M==="top")&&(B="headerTitleRender");var V=Hn((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),B),re=(0,m.useContext)(ce.L_),C=re.token,Y=(0,m.useMemo)(function(){var ee,P,te,ie,me,J,le,ue,se,ye,xe,Ce,ze,Fe=(0,c.jsx)(Ae.ZP,{theme:{hashed:(0,ce.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,v.Z)({},A({colorItemBg:((ee=C.layout)===null||ee===void 0||(ee=ee.header)===null||ee===void 0?void 0:ee.colorBgHeader)||"transparent",colorSubItemBg:((P=C.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorBgHeader)||"transparent",radiusItem:C.borderRadius,colorItemBgSelected:((te=C.layout)===null||te===void 0||(te=te.header)===null||te===void 0?void 0:te.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),itemHoverBg:((ie=C.layout)===null||ie===void 0||(ie=ie.header)===null||ie===void 0?void 0:ie.colorBgMenuItemHover)||(C==null?void 0:C.colorBgTextHover),colorItemBgSelectedHorizontal:((me=C.layout)===null||me===void 0||(me=me.header)===null||me===void 0?void 0:me.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((J=C.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.colorTextMenu)||(C==null?void 0:C.colorTextSecondary),colorItemTextHoverHorizontal:((le=C.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.colorTextMenuActive)||(C==null?void 0:C.colorText),colorItemTextSelectedHorizontal:((ue=C.layout)===null||ue===void 0||(ue=ue.header)===null||ue===void 0?void 0:ue.colorTextMenuSelected)||(C==null?void 0:C.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((se=C.layout)===null||se===void 0||(se=se.header)===null||se===void 0?void 0:se.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((ye=C.layout)===null||ye===void 0||(ye=ye.header)===null||ye===void 0?void 0:ye.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((xe=C.layout)===null||xe===void 0||(xe=xe.header)===null||xe===void 0?void 0:xe.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:((Ce=C.layout)===null||Ce===void 0||(Ce=Ce.header)===null||Ce===void 0?void 0:Ce.colorBgHeader)||"transparent"}},children:(0,c.jsx)(ct,(0,v.Z)((0,v.Z)((0,v.Z)({theme:I?"dark":"light"},e),{},{className:"".concat(x,"-base-menu ").concat(w).trim()},e.menuProps),{},{style:(0,v.Z)({width:"100%"},(ze=e.menuProps)===null||ze===void 0?void 0:ze.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return T?T(e,Fe):Fe},[(n=C.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgHeader,(t=C.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgMenuItemSelected,(a=C.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=C.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=C.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(u=C.layout)===null||u===void 0||(u=u.header)===null||u===void 0?void 0:u.colorTextMenuSelected,(d=C.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.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,I,e,x,w,T]);return q((0,c.jsx)("div",{className:ne()(x,w,Z,(0,l.Z)({},"".concat(x,"-light"),!0)),style:j,children:(0,c.jsxs)("div",{ref:s,className:ne()("".concat(x,"-main"),w,(0,l.Z)({},"".concat(x,"-wide"),g==="Fixed"&&M==="top")),children:[V&&(0,c.jsxs)("div",{className:ne()("".concat(x,"-main-left ").concat(w)),onClick:f,children:[(0,c.jsx)(An,(0,v.Z)({},e)),(0,c.jsx)("div",{className:"".concat(x,"-logo ").concat(w).trim(),id:"logo",children:V},"logo")]}),(0,c.jsx)("div",{style:{flex:1},className:"".concat(x,"-menu ").concat(w).trim(),children:Y}),(y||H||e.avatarProps)&&(0,c.jsx)(vt,(0,v.Z)((0,v.Z)({rightContentRender:y},e),{},{prefixCls:x}))]})}))},fa=function(e){var n,t,a,i;return(0,l.Z)({},e.componentCls,(i={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,l.Z)(i,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,l.Z)(i,"&-collapsed-button",{minHeight:"22px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,l.Z)(i,"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((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"}}),(0,l.Z)(i,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),i))};function ma(r){return(0,we.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[fa(n)]})}var ha=function(e,n){return e===!1?null:e?e(n,null):n},ga=function(e){var n,t=e.isMobile,a=e.logo,i=e.collapsed,o=e.onCollapse,u=e.rightContentRender,d=e.menuHeaderRender,s=e.onMenuHeaderClick,f=e.className,g=e.style,y=e.layout,Z=e.children,j=e.splitMenus,T=e.menuData,M=e.prefixCls,H=(0,m.useContext)(Ae.ZP.ConfigContext),D=H.getPrefixCls,W=H.direction,_="".concat(M||D("pro"),"-global-header"),I=ma(_),x=I.wrapSSR,S=I.hashId,q=ne()(f,_,S);if(y==="mix"&&!t&&j){var w=(T||[]).map(function(C){return(0,v.Z)((0,v.Z)({},C),{},{children:void 0,routes:void 0})}),B=(0,un.QX)(w);return(0,c.jsx)(ft,(0,v.Z)((0,v.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:B}))}var V=ne()("".concat(_,"-logo"),S,(n={},(0,l.Z)(n,"".concat(_,"-logo-rtl"),W==="rtl"),(0,l.Z)(n,"".concat(_,"-logo-mix"),y==="mix"),(0,l.Z)(n,"".concat(_,"-logo-mobile"),t),n)),re=(0,c.jsx)("span",{className:V,children:(0,c.jsx)("a",{children:Nn(a)})},"logo");return x((0,c.jsxs)("div",{className:q,style:(0,v.Z)({},g),children:[t&&(0,c.jsx)("span",{className:"".concat(_,"-collapsed-button ").concat(S).trim(),onClick:function(){o==null||o(!i)},children:(0,c.jsx)(Zr,{})}),t&&ha(d,re),y==="mix"&&!t&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(An,(0,v.Z)({},e)),(0,c.jsx)("div",{className:V,onClick:s,children:Hn((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,c.jsx)("div",{style:{flex:1},children:Z}),(u||e.actionsRender||e.avatarProps)&&(0,c.jsx)(vt,(0,v.Z)({rightContentRender:u},e))]}))},pa=function(e){var n,t,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function ya(r){return(0,we.Xj)("ProLayoutHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[pa(n)]})}function xa(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var mt=Ve.Z.Header,Ca=function(e){var n,t,a,i,o=e.isMobile,u=e.fixedHeader,d=e.className,s=e.style,f=e.collapsed,g=e.prefixCls,y=e.onCollapse,Z=e.layout,j=e.headerRender,T=e.headerContentRender,M=(0,m.useContext)(ce.L_),H=M.token,D=(0,m.useContext)(Ae.ZP.ConfigContext),W=(0,m.useState)(!1),_=(0,z.Z)(W,2),I=_[0],x=_[1],S=u||Z==="mix",q=(0,m.useCallback)(function(){var P=Z==="top",te=(0,un.QX)(e.menuData||[]),ie=(0,c.jsx)(ga,(0,v.Z)((0,v.Z)({onCollapse:y},e),{},{menuData:te,children:T&&T(e,null)}));return P&&!o&&(ie=(0,c.jsx)(ft,(0,v.Z)((0,v.Z)({mode:"horizontal",onCollapse:y},e),{},{menuData:te}))),j&&typeof j=="function"?j(e,ie):ie},[T,j,o,Z,y,e]);(0,m.useEffect)(function(){var P,te=(D==null||(P=D.getTargetContainer)===null||P===void 0?void 0:P.call(D))||document.body,ie=function(){var J,le=te.scrollTop;return le>(((J=H.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.heightLayoutHeader)||56)&&!I?(x(!0),!0):(I&&x(!1),!1)};if(S&&typeof window!="undefined")return te.addEventListener("scroll",ie,{passive:!0}),function(){te.removeEventListener("scroll",ie)}},[(n=H.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader,S,I]);var w=Z==="top",B="".concat(g,"-layout-header"),V=ya(B),re=V.wrapSSR,C=V.hashId,Y=xa("".concat(B,".").concat(B,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ee=ne()(d,C,B,(t={},(0,l.Z)(t,"".concat(B,"-fixed-header"),S),(0,l.Z)(t,"".concat(B,"-fixed-header-scroll"),I),(0,l.Z)(t,"".concat(B,"-mix"),Z==="mix"),(0,l.Z)(t,"".concat(B,"-fixed-header-action"),!f),(0,l.Z)(t,"".concat(B,"-top-menu"),w),(0,l.Z)(t,"".concat(B,"-header"),!0),(0,l.Z)(t,"".concat(B,"-stylish"),!!e.stylish),t));return Z==="side"&&!o?null:Y.wrapSSR(re((0,c.jsx)(c.Fragment,{children:(0,c.jsxs)(Ae.ZP,{theme:{hashed:(0,ce.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[S&&(0,c.jsx)(mt,{style:(0,v.Z)({height:((a=H.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,lineHeight:"".concat(((i=H.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},s)}),(0,c.jsx)(mt,{className:ee,style:s,children:q()})]})})))},ba=p(9037),Sa=p(83609),Za=p(601),ht=new Za.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ma=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(M={},(0,l.Z)(M,"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),(0,l.Z)(M,e.componentCls,(Z={position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},(0,l.Z)(Z,"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.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}),(0,l.Z)(Z,"".concat(e.antCls,"-menu"),(o={},(0,l.Z)(o,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,l.Z)(o,"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover}),o)),(0,l.Z)(Z,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(u=e.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.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:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenuTitle,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),(0,l.Z)(Z,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(g=e.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),(0,l.Z)(Z,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,l.Z)(Z,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,l.Z)(Z,"&-links",{width:"100%",ul:{height:"auto"}}),(0,l.Z)(Z,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,l.Z)(Z,"&-footer",{color:(y=e.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease"}),Z)),(0,l.Z)(M,"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((j=e.layout)===null||j===void 0||(j=j.header)===null||j===void 0?void 0:j.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((T=e.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.heightLayoutHeader)||56,"px")}}),M))};function Ia(r,e){var n=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutSiderMenu",function(t){var a=(0,v.Z)((0,v.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ma(a)]})}var gt=function(e){var n,t=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,u=e.style,d=e.className,s=e.hide,f=e.prefixCls,g=(0,m.useContext)(ce.L_),y=g.token;(0,m.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var Z=(0,Jn.Z)(e,["className","style"]),j=m.useContext(Ae.ZP.ConfigContext),T=j.direction,M=Ia("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),H=M.wrapSSR,D=M.hashId,W=ne()("".concat(f,"-sider"),d,D);if(s)return null;var _=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return H(t?(0,c.jsx)(Sa.Z,(0,v.Z)((0,v.Z)({placement:T==="rtl"?"right":"left",className:ne()("".concat(f,"-drawer-sider"),d)},_),{},{style:(0,v.Z)({padding:0,height:"100vh"},u),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(n=y.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground}},children:(0,c.jsx)(st,(0,v.Z)((0,v.Z)({},Z),{},{isMobile:!0,className:W,collapsed:t?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,c.jsx)(st,(0,v.Z)((0,v.Z)({className:W,originCollapsed:i},Z),{},{style:u})))},pt=p(2621),Ra=p(58809),Dn=p.n(Ra),Ta=function(e,n,t){if(t){var a=(0,Cn.Z)(t.keys()).find(function(o){return Dn()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return Dn()(o).test(e)});if(i)return n[i]}return{path:""}},On=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,u=e.formatMessage,d=e.title,s=e.menu,f=s===void 0?{locale:!1}:s,g=n?"":d||"",y=Ta(a,i,o);if(!y)return{title:g,id:"",pageName:g};var Z=y.name;return f.locale!==!1&&y.locale&&u&&(Z=u({id:y.locale||"",defaultMessage:y.name})),Z?n||!d?{title:Z,id:y.locale||"",pageName:Z}:{title:"".concat(Z," - ").concat(d),id:y.locale||"",pageName:Z}:{title:g,id:y.locale||"",pageName:g}},Co=function(e,n){return On(e,n).title},Ba=p(89507),Zn=p(8550),Ye=p(14224),Pa=function(){var e;return typeof Ye=="undefined"?Zn.Z:((e=Ye)===null||Ye===void 0||(Ye={API_URL:"http://guangdongadminapi.zhongshuai2023.com",WS_URL:"ws://lv.com",STATIC_URL:"http://lv.com",WEMAP_KEY:"ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||Zn.Z},ja=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M,H,D,W,_,I,x,S,q,w,B,V,re,C,Y,ee,P,te,ie,me,J,le,ue,se,ye,xe,Ce;return(n=Pa())!==null&&n!==void 0&&n.startsWith("5")?{}:(Ce={},(0,l.Z)(Ce,e.componentCls,(ie={width:"100%",height:"100%"},(0,l.Z)(ie,"".concat(e.proComponentsCls,"-base-menu"),(w={color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextMenu},(0,l.Z)(w,"".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}),(0,l.Z)(w,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,l.Z)(w,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,l.Z)(w,"&".concat(e.antCls,"-menu"),(o={color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},(0,l.Z)(o,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,l.Z)(o,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),o)),(0,l.Z)(w,"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,l.Z)(w,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)(w,"".concat(e.antCls,`-menu-item:active,
|
|
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,l.Z)(w,"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,`-menu-submenu-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(u=e.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorTextMenuActive}))),(0,l.Z)(w,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(Z={},(0,l.Z)(Z,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,l.Z)(Z,"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((g=e.layout)===null||g===void 0||(g=g.header)===null||g===void 0?void 0:g.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(y=e.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenuActive})),Z)),(0,l.Z)(w,"".concat(e.antCls,"-menu-item-selected"),{color:(j=e.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected}),(0,l.Z)(w,"".concat(e.antCls,"-menu-submenu-selected"),{color:(T=e.layout)===null||T===void 0||(T=T.sider)===null||T===void 0?void 0:T.colorTextMenuSelected}),(0,l.Z)(w,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(M=e.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuSelected}),(0,l.Z)(w,"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(H=e.layout)===null||H===void 0||(H=H.sider)===null||H===void 0?void 0:H.colorTextMenuSelected})),(0,l.Z)(w,"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:(D=e.layout)===null||D===void 0||(D=D.sider)===null||D===void 0?void 0:D.colorTextMenuActive}),(0,l.Z)(w,"&".concat(e.antCls,"-menu-horizontal"),(q={},(0,l.Z)(q,"".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:(W=e.layout)===null||W===void 0||(W=W.header)===null||W===void 0?void 0:W.colorTextMenuActive,backgroundColor:"".concat((_=e.layout)===null||_===void 0||(_=_.header)===null||_===void 0?void 0:_.colorBgMenuItemHover," !important")}),(0,l.Z)(q,"".concat(e.antCls,`-menu-item-open,
|
|
`).concat(e.antCls,`-menu-submenu-open,
|
|
`).concat(e.antCls,`-menu-item-selected,
|
|
`).concat(e.antCls,"-menu-submenu-selected"),(0,l.Z)({backgroundColor:(I=e.layout)===null||I===void 0||(I=I.header)===null||I===void 0?void 0:I.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((x=e.layout)===null||x===void 0||(x=x.header)===null||x===void 0?void 0:x.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((S=e.layout)===null||S===void 0||(S=S.header)===null||S===void 0?void 0:S.colorTextMenuSelected," !important")})),(0,l.Z)(q,"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),(0,l.Z)(q,"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"}),q)),w)),(0,l.Z)(ie,"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(te={},(0,l.Z)(te,"&".concat(e.antCls,"-menu"),(0,l.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"})),(0,l.Z)(te,"&".concat(e.antCls,"-menu-light"),(P={},(0,l.Z)(P,"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,`-menu-submenu-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(V=e.layout)===null||V===void 0||(V=V.header)===null||V===void 0?void 0:V.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(re=e.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(C=e.layout)===null||C===void 0||(C=C.header)===null||C===void 0?void 0:C.colorTextMenuActive})),(0,l.Z)(P,"".concat(e.antCls,"-menu-item-selected"),{color:(Y=e.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(ee=e.layout)===null||ee===void 0||(ee=ee.header)===null||ee===void 0?void 0:ee.colorBgMenuItemSelected}),P)),te)),ie)),(0,l.Z)(Ce,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)(Ce,"".concat(e.antCls,"-menu-submenu-popup"),(xe={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,l.Z)(xe,"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active,
|
|
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),(0,l.Z)(xe,"".concat(e.antCls,"-menu-item-selected"),{color:(me=e.layout)===null||me===void 0||(me=me.sider)===null||me===void 0?void 0:me.colorTextMenuSelected}),(0,l.Z)(xe,"".concat(e.antCls,"-menu-submenu-selected"),{color:(J=e.layout)===null||J===void 0||(J=J.sider)===null||J===void 0?void 0:J.colorTextMenuSelected}),(0,l.Z)(xe,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(ye={},(0,l.Z)(ye,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(le=e.layout)===null||le===void 0||(le=le.sider)===null||le===void 0?void 0:le.colorTextMenuSelected}),(0,l.Z)(ye,"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(ue=e.layout)===null||ue===void 0||(ue=ue.sider)===null||ue===void 0?void 0:ue.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(se=e.layout)===null||se===void 0||(se=se.sider)===null||se===void 0?void 0:se.colorTextMenuActive})),ye)),xe)),Ce)},wa=function(e){var n,t,a,i,o,u;return u={},(0,l.Z)(u,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,l.Z)(u,e.componentCls,(o={},(0,l.Z)(o,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,l.Z)(o,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.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}}),(0,l.Z)(o,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,l.Z)(o,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}),o)),u};function Ea(r){return(0,we.Xj)("ProLayout",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[wa(n),ja(n)]})}function La(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Qe=p(14224),_a=function(){var e;return typeof Qe=="undefined"?Zn.Z:((e=Qe)===null||Qe===void 0||(Qe={API_URL:"http://guangdongadminapi.zhongshuai2023.com",WS_URL:"ws://lv.com",STATIC_URL:"http://lv.com",WEMAP_KEY:"ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X"})===null||Qe===void 0?void 0:Qe.ANTD_VERSION)||Zn.Z},Na=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,u=a.path,d=t.findIndex(function(s){return s.linkPath===e.path})===t.length-1;return d?(0,c.jsx)("span",{children:o||i}):(0,c.jsx)("span",{onClick:u?function(){return location.href=u}:void 0,children:o||i})},Aa=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},Ha=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return Dn()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},Da=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},Oa=function(e,n,t){var a=La(e==null?void 0:e.pathname),i=a.map(function(o){var u=Ha(n,o),d=Aa(u,t),s=u.hideInBreadcrumb;return d&&!s?{linkPath:o,breadcrumbName:d,title:d,component:u.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},$a=function(e){var n=Da(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?Oa(t,a,e):[]},Wa=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,u=o===void 0?2:o,d=$a(e),s=function(y){for(var Z=a||Na,j=arguments.length,T=new Array(j>1?j-1:0),M=1;M<j;M++)T[M-1]=arguments[M];return Z==null?void 0:Z.apply(void 0,[(0,v.Z)((0,v.Z)({},y),{},{path:y.linkPath||y.path})].concat(T))},f=d;return t&&(f=t(f||[])||void 0),(f&&f.length<u||t===!1)&&(f=void 0),(0,R.n)(_a(),"5.3.0")>-1?{items:f,itemRender:s}:{routes:f,itemRender:s}};function za(r){return(0,Cn.Z)(r).reduce(function(e,n){var t=(0,z.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var Fa=function r(e,n,t,a){var i=lr(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,u=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:za(u),breadcrumbMap:u,menuData:o}},Ka=p(97382),Ua=p(21373),Ga=function(e){var n=(0,m.useState)({}),t=(0,z.Z)(n,2),a=t[0],i=t[1];return(0,m.useEffect)(function(){i((0,Ua.Y)({layout:(0,Ka.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},Xa=["id","defaultMessage"],Va=["fixSiderbar","navTheme","layout"],yt=0,Ya=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,c.jsx)(Ca,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},Qa=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,v.Z)({},e),(0,c.jsx)(xr.q,{})):null},Ja=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,u=e.openKeys,d=e.splitMenus,s=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var g=e.menuData;if(d&&(u!==!1||a==="mix")&&!i){var y=o||n,Z=(0,z.Z)(y,1),j=Z[0];if(j){var T;g=((T=e.menuData)===null||T===void 0||(T=T.find(function(W){return W.key===j}))===null||T===void 0?void 0:T.children)||[]}else g=[]}var M=(0,un.QX)(g||[]);if(M&&(M==null?void 0:M.length)<1&&(d||s))return null;if(a==="top"&&!i){var H;return(0,c.jsx)(gt,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:(H=e.stylish)===null||H===void 0?void 0:H.sider}))}var D=(0,c.jsx)(gt,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{menuData:M,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return f?f(e,D):D},ka=function(e,n){var t=n.pageTitleRender,a=On(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return On((0,v.Z)((0,v.Z)({},a),{},{title:i}));(0,hr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},qa=function(e,n,t){return e?n?64:t:0},eo=function(e){var n,t,a,i,o,u,d,s,f,g,y,Z,j,T,M=e||{},H=M.children,D=M.onCollapse,W=M.location,_=W===void 0?{pathname:"/"}:W,I=M.contentStyle,x=M.route,S=M.defaultCollapsed,q=M.style,w=M.siderWidth,B=M.menu,V=M.siderMenuType,re=M.isChildrenLayout,C=M.menuDataRender,Y=M.actionRef,ee=M.bgLayoutImgList,P=M.formatMessage,te=M.loading,ie=(0,m.useMemo)(function(){return w||(e.layout==="mix"?215:256)},[e.layout,w]),me=(0,m.useContext)(Ae.ZP.ConfigContext),J=(n=e.prefixCls)!==null&&n!==void 0?n:me.getPrefixCls("pro"),le=(0,ge.Z)(!1,{value:B==null?void 0:B.loading,onChange:B==null?void 0:B.onLoadingChange}),ue=(0,z.Z)(le,2),se=ue[0],ye=ue[1],xe=(0,m.useState)(function(){return yt+=1,"pro-layout-".concat(yt)}),Ce=(0,z.Z)(xe,1),ze=Ce[0],Fe=(0,m.useCallback)(function(Re){var Ke=Re.id,Tn=Re.defaultMessage,hn=(0,Se.Z)(Re,Xa);if(P)return P((0,v.Z)({id:Ke,defaultMessage:Tn},hn));var gn=(0,Ba.e)();return gn[Ke]?gn[Ke]:Tn},[P]),cn=(0,kn.ZP)([ze,B==null?void 0:B.params],function(){var Re=(0,ve.Z)((0,be.Z)().mark(function Ke(Tn){var hn,gn,Et,Lt;return(0,be.Z)().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return gn=(0,z.Z)(Tn,2),Et=gn[1],ye(!0),nn.next=4,B==null||(hn=B.request)===null||hn===void 0?void 0:hn.call(B,Et||{},(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[]);case 4:return Lt=nn.sent,ye(!1),nn.abrupt("return",Lt);case 7:case"end":return nn.stop()}},Ke)}));return function(Ke){return Re.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Xe=cn.data,Mn=cn.mutate,dn=cn.isLoading;(0,m.useEffect)(function(){ye(dn)},[dn]);var Be=(0,kn.kY)(),_e=Be.cache;(0,m.useEffect)(function(){return function(){_e instanceof Map&&_e.delete(ze)}},[]);var Ne=(0,m.useMemo)(function(){return Fa(Xe||(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[],B,Fe,C)},[Fe,B,C,Xe,x==null?void 0:x.children,x==null?void 0:x.routes]),Je=Ne||{},to=Je.breadcrumb,xt=Je.breadcrumbMap,Ct=Je.menuData,sn=Ct===void 0?[]:Ct;Y&&B!==null&&B!==void 0&&B.request&&(Y.current={reload:function(){Mn()}});var vn=(0,m.useMemo)(function(){return fr(_.pathname||"/",sn||[],!0)},[_.pathname,sn]),$n=(0,m.useMemo)(function(){return Array.from(new Set(vn.map(function(Re){return Re.key||Re.path||""})))},[vn]),bt=vn[vn.length-1]||{},St=Ga(bt),In=(0,v.Z)((0,v.Z)({},e),St),ro=In.fixSiderbar,bo=In.navTheme,fn=In.layout,ao=(0,Se.Z)(In,Va),ke=N(),qe=(0,m.useMemo)(function(){return(ke==="sm"||ke==="xs")&&!e.disableMobile},[ke,e.disableMobile]),oo=fn!=="top"&&!qe,io=(0,ge.Z)(function(){return S!==void 0?S:!!(qe||ke==="md")},{value:e.collapsed,onChange:D}),Zt=(0,z.Z)(io,2),mn=Zt[0],Mt=Zt[1],en=(0,Jn.Z)((0,v.Z)((0,v.Z)((0,v.Z)({prefixCls:J},e),{},{siderWidth:ie},St),{},{formatMessage:Fe,breadcrumb:to,menu:(0,v.Z)((0,v.Z)({},B),{},{type:V||(B==null?void 0:B.type),loading:se}),layout:fn}),["className","style","breadcrumbRender"]),Wn=ka((0,v.Z)((0,v.Z)({pathname:_.pathname},en),{},{breadcrumbMap:xt}),e),lo=Wa((0,v.Z)((0,v.Z)({},en),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:xt}),e),Rn=Ja((0,v.Z)((0,v.Z)({},en),{},{menuData:sn,onCollapse:Mt,isMobile:qe,collapsed:mn}),$n),zn=Ya((0,v.Z)((0,v.Z)({},en),{},{children:null,hasSiderMenu:!!Rn,menuData:sn,isMobile:qe,collapsed:mn,onCollapse:Mt}),$n),It=Qa((0,v.Z)({isMobile:qe,collapsed:mn},en)),uo=(0,m.useContext)(pt.X),co=uo.isChildrenLayout,Fn=re!==void 0?re:co,He="".concat(J,"-layout"),Rt=Ea(He),so=Rt.wrapSSR,Kn=Rt.hashId,vo=ne()(e.className,Kn,"ant-design-pro",He,(t={},(0,l.Z)(t,"screen-".concat(ke),ke),(0,l.Z)(t,"".concat(He,"-top-menu"),fn==="top"),(0,l.Z)(t,"".concat(He,"-is-children"),Fn),(0,l.Z)(t,"".concat(He,"-fix-siderbar"),ro),(0,l.Z)(t,"".concat(He,"-").concat(fn),fn),t)),fo=qa(!!oo,mn,ie),Tt={position:"relative"};(Fn||I&&I.minHeight)&&(Tt.minHeight=0),(0,m.useEffect)(function(){var Re;(Re=e.onPageChange)===null||Re===void 0||Re.call(e,e.location)},[_.pathname,(a=_.pathname)===null||a===void 0?void 0:a.search]);var mo=(0,m.useState)(!1),Bt=(0,z.Z)(mo,2),Pt=Bt[0],ho=Bt[1],go=(0,m.useState)(0),jt=(0,z.Z)(go,2),wt=jt[0],po=jt[1];h(Wn,e.title||!1);var yo=(0,m.useMemo)(function(){return ee&&ee.length>0?ee.map(function(Re,Ke){return(0,c.jsx)("img",{src:Re.src,style:(0,v.Z)({position:"absolute"},Re)},Ke)}):null},[ee]),xo=(0,m.useContext)(ce.L_),X=xo.token;return so((0,c.jsx)(pt.X.Provider,{value:(0,v.Z)((0,v.Z)({},en),{},{breadcrumb:lo,menuData:sn,isMobile:qe,collapsed:mn,hasPageContainer:wt,setHasPageContainer:po,isChildrenLayout:!0,title:Wn.pageName,hasSiderMenu:!!Rn,hasHeader:!!zn,siderWidth:fo,hasFooter:!!It,hasFooterToolbar:Pt,setHasFooterToolbar:ho,pageTitleInfo:Wn,matchMenus:vn,matchMenuKeys:$n,currentMenu:bt}),children:e.pure?(0,c.jsx)(c.Fragment,{children:H}):(0,c.jsxs)("div",{className:vo,children:[(0,c.jsx)("div",{className:ne()("".concat(He,"-bg-list"),Kn),children:yo}),(0,c.jsxs)(Ve.Z,{style:(0,v.Z)({minHeight:"100%",flexDirection:Rn?"row":void 0},q),children:[(0,c.jsx)(Ae.ZP,{theme:{hashed:(0,ce.nu)(),token:{controlHeightLG:((i=X.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(X==null?void 0:X.controlHeightLG)},components:{Menu:A({colorItemBg:((o=X.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((u=X.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorMenuBackground)||"transparent",radiusItem:X.borderRadius,colorItemBgSelected:((d=X.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorItemBgHover:((s=X.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorBgMenuItemHover)||(X==null?void 0:X.colorBgTextHover),colorItemBgActive:((f=X.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(X==null?void 0:X.colorBgTextActive),colorItemBgSelectedHorizontal:((g=X.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((y=X.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenu)||(X==null?void 0:X.colorTextSecondary),colorItemTextHover:((Z=X.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((j=X.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:X==null?void 0:X.colorBgElevated,subMenuItemBg:X==null?void 0:X.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:X==null?void 0:X.colorBgElevated})}},children:Rn}),(0,c.jsxs)("div",{style:Tt,className:"".concat(He,"-container ").concat(Kn).trim(),children:[zn,(0,c.jsx)(pr,(0,v.Z)((0,v.Z)({hasPageContainer:wt,isChildrenLayout:Fn},ao),{},{hasHeader:!!zn,prefixCls:He,style:I,children:te?(0,c.jsx)(ba.S,{}):H})),It,Pt&&(0,c.jsx)("div",{className:"".concat(He,"-has-footer"),style:{height:64,marginBlockStart:(T=X.layout)===null||T===void 0||(T=T.pageContainer)===null||T===void 0?void 0:T.paddingBlockPageContainerContent}})]})]})]})}))},no=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,c.jsx)(Ae.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,c.jsx)(ce._Y,(0,v.Z)((0,v.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,c.jsx)(eo,(0,v.Z)((0,v.Z)({logo:(0,c.jsx)(yr,{})},at.h),{},{location:(0,G.j)()?window.location:void 0},e))}))})}},9037:function(Te,Pe,p){"use strict";p.d(Pe,{S:function(){return ce}});var l=p(35361),be=p(56929),ve=p(38631),Se=p(50959),z=p(11527),v=["isLoading","pastDelay","timedOut","error","retry"],ce=function(m){var Me=m.isLoading,fe=m.pastDelay,Ze=m.timedOut,N=m.error,G=m.retry,h=(0,be.Z)(m,v);return(0,z.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,z.jsx)(ve.Z,(0,l.Z)({size:"large"},h))})}},2621:function(Te,Pe,p){"use strict";p.d(Pe,{X:function(){return be}});var l=p(50959),be=(0,l.createContext)({})},58211:function(Te,Pe,p){"use strict";p.d(Pe,{S:function(){return Me}});var l=p(5952),be=p(97086),ve=p(1378),Se=p(3122),z=p(25678),v=p(88357),ce=p(84974),ge=p(50959),m=p(11527),Me=function(fe){(0,Se.Z)(N,fe);var Ze=(0,z.Z)(N);function N(){var G;(0,l.Z)(this,N);for(var h=arguments.length,R=new Array(h),b=0;b<h;b++)R[b]=arguments[b];return G=Ze.call.apply(Ze,[this].concat(R)),(0,v.Z)((0,ve.Z)(G),"state",{hasError:!1,errorInfo:""}),G}return(0,be.Z)(N,[{key:"componentDidCatch",value:function(h,R){console.log(h,R)}},{key:"render",value:function(){return this.state.hasError?(0,m.jsx)(ce.ZP,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(h){return{hasError:!0,errorInfo:h.message}}}]),N}(ge.Component)},99864:function(Te,Pe){var p;function l(h){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},l(h)}p={value:!0},Pe.Bo=p=p=p=p=p=p=void 0;function be(h){for(var R=[],b=0;b<h.length;){var A=h[b];if(A==="*"||A==="+"||A==="?"){R.push({type:"MODIFIER",index:b,value:h[b++]});continue}if(A==="\\"){R.push({type:"ESCAPED_CHAR",index:b++,value:h[b++]});continue}if(A==="{"){R.push({type:"OPEN",index:b,value:h[b++]});continue}if(A==="}"){R.push({type:"CLOSE",index:b,value:h[b++]});continue}if(A===":"){for(var ae="",O=b+1;O<h.length;){var E=h.charCodeAt(O);if(E>=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||E===95){ae+=h[O++];continue}break}if(!ae)throw new TypeError("Missing parameter name at "+b);R.push({type:"NAME",index:b,value:ae}),b=O;continue}if(A==="("){var F=1,Q="",O=b+1;if(h[O]==="?")throw new TypeError('Pattern cannot start with "?" at '+O);for(;O<h.length;){if(h[O]==="\\"){Q+=h[O++]+h[O++];continue}if(h[O]===")"){if(F--,F===0){O++;break}}else if(h[O]==="("&&(F++,h[O+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+O);Q+=h[O++]}if(F)throw new TypeError("Unbalanced pattern at "+b);if(!Q)throw new TypeError("Missing pattern at "+b);R.push({type:"PATTERN",index:b,value:Q}),b=O;continue}R.push({type:"CHAR",index:b,value:h[b++]})}return R.push({type:"END",index:b,value:""}),R}function ve(h,R){R===void 0&&(R={});for(var b=be(h),A=R.prefixes,ae=A===void 0?"./":A,O="[^"+ge(R.delimiter||"/#?")+"]+?",E=[],F=0,Q=0,k="",K=function(We){if(Q<b.length&&b[Q].type===We)return b[Q++].value},U=function(We){var Ue=K(We);if(Ue!==void 0)return Ue;var pn=b[Q],Bn=pn.type,tn=pn.index;throw new TypeError("Unexpected "+Bn+" at "+tn+", expected "+We)},he=function(){for(var We="",Ue;Ue=K("CHAR")||K("ESCAPED_CHAR");)We+=Ue;return We};Q<b.length;){var de=K("CHAR"),$=K("NAME"),oe=K("PATTERN");if($||oe){var L=de||"";ae.indexOf(L)===-1&&(k+=L,L=""),k&&(E.push(k),k=""),E.push({name:$||F++,prefix:L,suffix:"",pattern:oe||O,modifier:K("MODIFIER")||""});continue}var Ie=de||K("ESCAPED_CHAR");if(Ie){k+=Ie;continue}k&&(E.push(k),k="");var Le=K("OPEN");if(Le){var L=he(),Oe=K("NAME")||"",je=K("PATTERN")||"",$e=he();U("CLOSE"),E.push({name:Oe||(je?F++:""),pattern:Oe&&!je?O:je,prefix:L,suffix:$e,modifier:K("MODIFIER")||""});continue}U("END")}return E}p=ve;function Se(h,R){return z(ve(h,R),R)}p=Se;function z(h,R){R===void 0&&(R={});var b=m(R),A=R.encode,ae=A===void 0?function(Q){return Q}:A,O=R.validate,E=O===void 0?!0:O,F=h.map(function(Q){if(l(Q)==="object")return new RegExp("^(?:"+Q.pattern+")$",b)});return function(Q){for(var k="",K=0;K<h.length;K++){var U=h[K];if(typeof U=="string"){k+=U;continue}var he=Q?Q[U.name]:void 0,de=U.modifier==="?"||U.modifier==="*",$=U.modifier==="*"||U.modifier==="+";if(Array.isArray(he)){if(!$)throw new TypeError('Expected "'+U.name+'" to not repeat, but got an array');if(he.length===0){if(de)continue;throw new TypeError('Expected "'+U.name+'" to not be empty')}for(var oe=0;oe<he.length;oe++){var L=ae(he[oe],U);if(E&&!F[K].test(L))throw new TypeError('Expected all "'+U.name+'" to match "'+U.pattern+'", but got "'+L+'"');k+=U.prefix+L+U.suffix}continue}if(typeof he=="string"||typeof he=="number"){var L=ae(String(he),U);if(E&&!F[K].test(L))throw new TypeError('Expected "'+U.name+'" to match "'+U.pattern+'", but got "'+L+'"');k+=U.prefix+L+U.suffix;continue}if(!de){var Ie=$?"an array":"a string";throw new TypeError('Expected "'+U.name+'" to be '+Ie)}}return k}}p=z;function v(h,R){var b=[],A=G(h,b,R);return ce(A,b,R)}p=v;function ce(h,R,b){b===void 0&&(b={});var A=b.decode,ae=A===void 0?function(O){return O}:A;return function(O){var E=h.exec(O);if(!E)return!1;for(var F=E[0],Q=E.index,k=Object.create(null),K=function(de){if(E[de]===void 0)return"continue";var $=R[de-1];$.modifier==="*"||$.modifier==="+"?k[$.name]=E[de].split($.prefix+$.suffix).map(function(oe){return ae(oe,$)}):k[$.name]=ae(E[de],$)},U=1;U<E.length;U++)K(U);return{path:F,index:Q,params:k}}}p=ce;function ge(h){return h.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function m(h){return h&&h.sensitive?"":"i"}function Me(h,R){if(!R)return h;var b=h.source.match(/\((?!\?)/g);if(b)for(var A=0;A<b.length;A++)R.push({name:A,prefix:"",suffix:"",modifier:"",pattern:""});return h}function fe(h,R,b){var A=h.map(function(ae){return G(ae,R,b).source});return new RegExp("(?:"+A.join("|")+")",m(b))}function Ze(h,R,b){return N(ve(h,b),R,b)}function N(h,R,b){b===void 0&&(b={});for(var A=b.strict,ae=A===void 0?!1:A,O=b.start,E=O===void 0?!0:O,F=b.end,Q=F===void 0?!0:F,k=b.encode,K=k===void 0?function(De){return De}:k,U="["+ge(b.endsWith||"")+"]|$",he="["+ge(b.delimiter||"/#?")+"]",de=E?"^":"",$=0,oe=h;$<oe.length;$++){var L=oe[$];if(typeof L=="string")de+=ge(K(L));else{var Ie=ge(K(L.prefix)),Le=ge(K(L.suffix));if(L.pattern)if(R&&R.push(L),Ie||Le)if(L.modifier==="+"||L.modifier==="*"){var Oe=L.modifier==="*"?"?":"";de+="(?:"+Ie+"((?:"+L.pattern+")(?:"+Le+Ie+"(?:"+L.pattern+"))*)"+Le+")"+Oe}else de+="(?:"+Ie+"("+L.pattern+")"+Le+")"+L.modifier;else de+="("+L.pattern+")"+L.modifier;else de+="(?:"+Ie+Le+")"+L.modifier}}if(Q)ae||(de+=he+"?"),de+=b.endsWith?"(?="+U+")":"$";else{var je=h[h.length-1],$e=typeof je=="string"?he.indexOf(je[je.length-1])>-1:je===void 0;ae||(de+="(?:"+he+"(?="+U+"))?"),$e||(de+="(?="+he+"|"+U+")")}return new RegExp(de,m(b))}p=N;function G(h,R,b){return h instanceof RegExp?Me(h,R):Array.isArray(h)?fe(h,R,b):Ze(h,R,b)}Pe.Bo=G},58809:function(Te){Te.exports=Ze,Te.exports.parse=be,Te.exports.compile=ve,Te.exports.tokensToFunction=Se,Te.exports.tokensToRegExp=fe;var Pe="/",p="./",l=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function be(N,G){for(var h=[],R=0,b=0,A="",ae=G&&G.delimiter||Pe,O=G&&G.delimiters||p,E=!1,F;(F=l.exec(N))!==null;){var Q=F[0],k=F[1],K=F.index;if(A+=N.slice(b,K),b=K+Q.length,k){A+=k[1],E=!0;continue}var U="",he=N[b],de=F[2],$=F[3],oe=F[4],L=F[5];if(!E&&A.length){var Ie=A.length-1;O.indexOf(A[Ie])>-1&&(U=A[Ie],A=A.slice(0,Ie))}A&&(h.push(A),A="",E=!1);var Le=U!==""&&he!==void 0&&he!==U,Oe=L==="+"||L==="*",je=L==="?"||L==="*",$e=U||ae,De=$||oe;h.push({name:de||R++,prefix:U,delimiter:$e,optional:je,repeat:Oe,partial:Le,pattern:De?v(De):"[^"+z($e)+"]+?"})}return(A||b<N.length)&&h.push(A+N.substr(b)),h}function ve(N,G){return Se(be(N,G))}function Se(N){for(var G=new Array(N.length),h=0;h<N.length;h++)typeof N[h]=="object"&&(G[h]=new RegExp("^(?:"+N[h].pattern+")$"));return function(R,b){for(var A="",ae=b&&b.encode||encodeURIComponent,O=0;O<N.length;O++){var E=N[O];if(typeof E=="string"){A+=E;continue}var F=R?R[E.name]:void 0,Q;if(Array.isArray(F)){if(!E.repeat)throw new TypeError('Expected "'+E.name+'" to not repeat, but got array');if(F.length===0){if(E.optional)continue;throw new TypeError('Expected "'+E.name+'" to not be empty')}for(var k=0;k<F.length;k++){if(Q=ae(F[k],E),!G[O].test(Q))throw new TypeError('Expected all "'+E.name+'" to match "'+E.pattern+'"');A+=(k===0?E.prefix:E.delimiter)+Q}continue}if(typeof F=="string"||typeof F=="number"||typeof F=="boolean"){if(Q=ae(String(F),E),!G[O].test(Q))throw new TypeError('Expected "'+E.name+'" to match "'+E.pattern+'", but got "'+Q+'"');A+=E.prefix+Q;continue}if(E.optional){E.partial&&(A+=E.prefix);continue}throw new TypeError('Expected "'+E.name+'" to be '+(E.repeat?"an array":"a string"))}return A}}function z(N){return N.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function v(N){return N.replace(/([=!:$/()])/g,"\\$1")}function ce(N){return N&&N.sensitive?"":"i"}function ge(N,G){if(!G)return N;var h=N.source.match(/\((?!\?)/g);if(h)for(var R=0;R<h.length;R++)G.push({name:R,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return N}function m(N,G,h){for(var R=[],b=0;b<N.length;b++)R.push(Ze(N[b],G,h).source);return new RegExp("(?:"+R.join("|")+")",ce(h))}function Me(N,G,h){return fe(be(N,h),G,h)}function fe(N,G,h){h=h||{};for(var R=h.strict,b=h.start!==!1,A=h.end!==!1,ae=z(h.delimiter||Pe),O=h.delimiters||p,E=[].concat(h.endsWith||[]).map(z).concat("$").join("|"),F=b?"^":"",Q=N.length===0,k=0;k<N.length;k++){var K=N[k];if(typeof K=="string")F+=z(K),Q=k===N.length-1&&O.indexOf(K[K.length-1])>-1;else{var U=K.repeat?"(?:"+K.pattern+")(?:"+z(K.delimiter)+"(?:"+K.pattern+"))*":K.pattern;G&&G.push(K),K.optional?K.partial?F+=z(K.prefix)+"("+U+")?":F+="(?:"+z(K.prefix)+"("+U+"))?":F+=z(K.prefix)+"("+U+")"}}return A?(R||(F+="(?:"+ae+")?"),F+=E==="$"?"$":"(?="+E+")"):(R||(F+="(?:"+ae+"(?="+E+"))?"),Q||(F+="(?="+ae+"|"+E+")")),new RegExp(F,ce(h))}function Ze(N,G,h){return N instanceof RegExp?ge(N,G):Array.isArray(N)?m(N,G,h):Me(N,G,h)}},335:function(Te,Pe,p){var l=p(31479);function be(ve,Se){var z=typeof Symbol!="undefined"&&ve[Symbol.iterator]||ve["@@iterator"];if(!z){if(Array.isArray(ve)||(z=l(ve))||Se&&ve&&typeof ve.length=="number"){z&&(ve=z);var v=0,ce=function(){};return{s:ce,n:function(){return v>=ve.length?{done:!0}:{done:!1,value:ve[v++]}},e:function(Ze){throw Ze},f:ce}}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 ge=!0,m=!1,Me;return{s:function(){z=z.call(ve)},n:function(){var Ze=z.next();return ge=Ze.done,Ze},e:function(Ze){m=!0,Me=Ze},f:function(){try{!ge&&z.return!=null&&z.return()}finally{if(m)throw Me}}}}Te.exports=be,Te.exports.__esModule=!0,Te.exports.default=Te.exports}}]);
|