eiam/eiam-portal/src/main/resources/fe/155.41757cd1.async.js

49 lines
122 KiB
JavaScript

/*
* eiam-portal - Employee Identity and Access Management Program
* Copyright © 2020-2022 TopIAM (support@topiam.cn)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[155],{43913:function(T,w,c){"use strict";c.d(w,{f:function(){return Zo}});var a=c(4942),m=c(74165),M=c(15861),g=c(91),S=c(97685),s=c(1413),l=c(85893),j=c(73964),P=c(60869),h=c(67294),q=c(12044);function V(n,e){var t=typeof n.pageName=="string"?n.title:e;(0,h.useEffect)(function(){(0,q.j)()&&t&&(document.title=t)},[n.title,t])}var $=c(21879),B=c.n($),A=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function J(n,e){return!!(n===e||A(n)&&A(e))}function re(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++)if(!J(n[t],e[t]))return!1;return!0}function K(n,e){e===void 0&&(e=re);var t,r=[],o,i=!1;function u(){for(var d=[],v=0;v<arguments.length;v++)d[v]=arguments[v];return i&&t===this&&e(d,r)||(o=n.apply(this,d),i=!0,t=this,r=d),o}return u}var ge=K;function ie(n){for(var e=[],t=0;t<n.length;){var r=n[t];if(r==="*"||r==="+"||r==="?"){e.push({type:"MODIFIER",index:t,value:n[t++]});continue}if(r==="\\"){e.push({type:"ESCAPED_CHAR",index:t++,value:n[t++]});continue}if(r==="{"){e.push({type:"OPEN",index:t,value:n[t++]});continue}if(r==="}"){e.push({type:"CLOSE",index:t,value:n[t++]});continue}if(r===":"){for(var o="",i=t+1;i<n.length;){var u=n.charCodeAt(i);if(u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||u===95){o+=n[i++];continue}break}if(!o)throw new TypeError("Missing parameter name at "+t);e.push({type:"NAME",index:t,value:o}),t=i;continue}if(r==="("){var d=1,v="",i=t+1;if(n[i]==="?")throw new TypeError('Pattern cannot start with "?" at '+i);for(;i<n.length;){if(n[i]==="\\"){v+=n[i++]+n[i++];continue}if(n[i]===")"){if(d--,d===0){i++;break}}else if(n[i]==="("&&(d++,n[i+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+i);v+=n[i++]}if(d)throw new TypeError("Unbalanced pattern at "+t);if(!v)throw new TypeError("Missing pattern at "+t);e.push({type:"PATTERN",index:t,value:v}),t=i;continue}e.push({type:"CHAR",index:t,value:n[t++]})}return e.push({type:"END",index:t,value:""}),e}function O(n,e){e===void 0&&(e={});for(var t=ie(n),r=e.prefixes,o=r===void 0?"./":r,i="[^"+ee(e.delimiter||"/#?")+"]+?",u=[],d=0,v=0,f="",p=function(N){if(v<t.length&&t[v].type===N)return t[v++].value},x=function(N){var W=p(N);if(W!==void 0)return W;var Y=t[v],Q=Y.type,y=Y.index;throw new TypeError("Unexpected "+Q+" at "+y+", expected "+N)},C=function(){for(var N="",W;W=p("CHAR")||p("ESCAPED_CHAR");)N+=W;return N};v<t.length;){var b=p("CHAR"),D=p("NAME"),I=p("PATTERN");if(D||I){var R=b||"";o.indexOf(R)===-1&&(f+=R,R=""),f&&(u.push(f),f=""),u.push({name:D||d++,prefix:R,suffix:"",pattern:I||i,modifier:p("MODIFIER")||""});continue}var Z=b||p("ESCAPED_CHAR");if(Z){f+=Z;continue}f&&(u.push(f),f="");var _=p("OPEN");if(_){var R=C(),F=p("NAME")||"",L=p("PATTERN")||"",E=C();x("CLOSE"),u.push({name:F||(L?d++:""),pattern:F&&!L?i:L,prefix:R,suffix:E,modifier:p("MODIFIER")||""});continue}x("END")}return u}function H(n,e){return fe(O(n,e),e)}function fe(n,e){e===void 0&&(e={});var t=Pe(e),r=e.encode,o=r===void 0?function(v){return v}:r,i=e.validate,u=i===void 0?!0:i,d=n.map(function(v){if(typeof v=="object")return new RegExp("^(?:"+v.pattern+")$",t)});return function(v){for(var f="",p=0;p<n.length;p++){var x=n[p];if(typeof x=="string"){f+=x;continue}var C=v?v[x.name]:void 0,b=x.modifier==="?"||x.modifier==="*",D=x.modifier==="*"||x.modifier==="+";if(Array.isArray(C)){if(!D)throw new TypeError('Expected "'+x.name+'" to not repeat, but got an array');if(C.length===0){if(b)continue;throw new TypeError('Expected "'+x.name+'" to not be empty')}for(var I=0;I<C.length;I++){var R=o(C[I],x);if(u&&!d[p].test(R))throw new TypeError('Expected all "'+x.name+'" to match "'+x.pattern+'", but got "'+R+'"');f+=x.prefix+R+x.suffix}continue}if(typeof C=="string"||typeof C=="number"){var R=o(String(C),x);if(u&&!d[p].test(R))throw new TypeError('Expected "'+x.name+'" to match "'+x.pattern+'", but got "'+R+'"');f+=x.prefix+R+x.suffix;continue}if(!b){var Z=D?"an array":"a string";throw new TypeError('Expected "'+x.name+'" to be '+Z)}}return f}}function X(n,e){var t=[],r=le(n,t,e);return G(r,t,e)}function G(n,e,t){t===void 0&&(t={});var r=t.decode,o=r===void 0?function(i){return i}:r;return function(i){var u=n.exec(i);if(!u)return!1;for(var d=u[0],v=u.index,f=Object.create(null),p=function(C){if(u[C]===void 0)return"continue";var b=e[C-1];b.modifier==="*"||b.modifier==="+"?f[b.name]=u[C].split(b.prefix+b.suffix).map(function(D){return o(D,b)}):f[b.name]=o(u[C],b)},x=1;x<u.length;x++)p(x);return{path:d,index:v,params:f}}}function ee(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function Pe(n){return n&&n.sensitive?"":"i"}function oe(n,e){if(!e)return n;var t=n.source.match(/\((?!\?)/g);if(t)for(var r=0;r<t.length;r++)e.push({name:r,prefix:"",suffix:"",modifier:"",pattern:""});return n}function $e(n,e,t){var r=n.map(function(o){return le(o,e,t).source});return new RegExp("(?:"+r.join("|")+")",Pe(t))}function We(n,e,t){return Ie(O(n,t),e,t)}function Ie(n,e,t){t===void 0&&(t={});for(var r=t.strict,o=r===void 0?!1:r,i=t.start,u=i===void 0?!0:i,d=t.end,v=d===void 0?!0:d,f=t.encode,p=f===void 0?function(N){return N}:f,x="["+ee(t.endsWith||"")+"]|$",C="["+ee(t.delimiter||"/#?")+"]",b=u?"^":"",D=0,I=n;D<I.length;D++){var R=I[D];if(typeof R=="string")b+=ee(p(R));else{var Z=ee(p(R.prefix)),_=ee(p(R.suffix));if(R.pattern)if(e&&e.push(R),Z||_)if(R.modifier==="+"||R.modifier==="*"){var F=R.modifier==="*"?"?":"";b+="(?:"+Z+"((?:"+R.pattern+")(?:"+_+Z+"(?:"+R.pattern+"))*)"+_+")"+F}else b+="(?:"+Z+"("+R.pattern+")"+_+")"+R.modifier;else b+="("+R.pattern+")"+R.modifier;else b+="(?:"+Z+_+")"+R.modifier}}if(v)o||(b+=C+"?"),b+=t.endsWith?"(?="+x+")":"$";else{var L=n[n.length-1],E=typeof L=="string"?C.indexOf(L[L.length-1])>-1:L===void 0;o||(b+="(?:"+C+"(?="+x+"))?"),E||(b+="(?="+C+"|"+x+")")}return new RegExp(b,Pe(t))}function le(n,e,t){return n instanceof RegExp?oe(n,e):Array.isArray(n)?$e(n,e,t):We(n,e,t)}function Re(n,e){return e>>>n|e<<32-n}function at(n,e,t){return n&e^~n&t}function ot(n,e,t){return n&e^n&t^e&t}function et(n){return Re(2,n)^Re(13,n)^Re(22,n)}function Te(n){return Re(6,n)^Re(11,n)^Re(25,n)}function Ct(n){return Re(7,n)^Re(18,n)^n>>>3}function mt(n){return Re(17,n)^Re(19,n)^n>>>10}function dt(n,e){return n[e&15]+=mt(n[e+14&15])+n[e+9&15]+Ct(n[e+1&15])}var Ht=[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],te,Ce,pe,Ft="0123456789abcdef";function st(n,e){var t=(n&65535)+(e&65535),r=(n>>16)+(e>>16)+(t>>16);return r<<16|t&65535}function _t(){te=new Array(8),Ce=new Array(2),pe=new Array(64),Ce[0]=Ce[1]=0,te[0]=1779033703,te[1]=3144134277,te[2]=1013904242,te[3]=2773480762,te[4]=1359893119,te[5]=2600822924,te[6]=528734635,te[7]=1541459225}function bt(){var n,e,t,r,o,i,u,d,v,f,p=new Array(16);n=te[0],e=te[1],t=te[2],r=te[3],o=te[4],i=te[5],u=te[6],d=te[7];for(var x=0;x<16;x++)p[x]=pe[(x<<2)+3]|pe[(x<<2)+2]<<8|pe[(x<<2)+1]<<16|pe[x<<2]<<24;for(var C=0;C<64;C++)v=d+Te(o)+at(o,i,u)+Ht[C],C<16?v+=p[C]:v+=dt(p,C),f=et(n)+ot(n,e,t),d=u,u=i,i=o,o=st(r,v),r=t,t=e,e=n,n=st(v,f);te[0]+=n,te[1]+=e,te[2]+=t,te[3]+=r,te[4]+=o,te[5]+=i,te[6]+=u,te[7]+=d}function zt(n,e){var t,r,o=0;r=Ce[0]>>3&63;var i=e&63;for((Ce[0]+=e<<3)<e<<3&&Ce[1]++,Ce[1]+=e>>29,t=0;t+63<e;t+=64){for(var u=r;u<64;u++)pe[u]=n.charCodeAt(o++);bt(),r=0}for(var d=0;d<i;d++)pe[d]=n.charCodeAt(o++)}function Wt(){var n=Ce[0]>>3&63;if(pe[n++]=128,n<=56)for(var e=n;e<56;e++)pe[e]=0;else{for(var t=n;t<64;t++)pe[t]=0;bt();for(var r=0;r<56;r++)pe[r]=0}pe[56]=Ce[1]>>>24&255,pe[57]=Ce[1]>>>16&255,pe[58]=Ce[1]>>>8&255,pe[59]=Ce[1]&255,pe[60]=Ce[0]>>>24&255,pe[61]=Ce[0]>>>16&255,pe[62]=Ce[0]>>>8&255,pe[63]=Ce[0]&255,bt()}function Et(){for(var n=0,e=new Array(32),t=0;t<8;t++)e[n++]=te[t]>>>24&255,e[n++]=te[t]>>>16&255,e[n++]=te[t]>>>8&255,e[n++]=te[t]&255;return e}function St(){for(var n=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)n+=Ft.charAt(te[e]>>>t&15);return n}function Gn(n){return _t(),zt(n,n.length),Wt(),St()}var Xn=Gn;function Ut(n){return Ut=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},Ut(n)}var Yn=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Qn(n,e){return qn(n)||kn(n,e)||Vt(n,e)||Jn()}function Jn(){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 kn(n,e){var t=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r=[],o=!0,i=!1,u,d;try{for(t=t.call(n);!(o=(u=t.next()).done)&&(r.push(u.value),!(e&&r.length===e));o=!0);}catch(v){i=!0,d=v}finally{try{!o&&t.return!=null&&t.return()}finally{if(i)throw d}}return r}}function qn(n){if(Array.isArray(n))return n}function er(n,e){var t=typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Vt(n))||e&&n&&typeof n.length=="number"){t&&(n=t);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(f){throw f},f:o}}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,u=!1,d;return{s:function(){t=t.call(n)},n:function(){var f=t.next();return i=f.done,f},e:function(f){u=!0,d=f},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(u)throw d}}}}function tr(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function an(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function nr(n,e,t){return e&&an(n.prototype,e),t&&an(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function rr(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&Zt(n,e)}function ar(n){var e=on();return function(){var r=Mt(n),o;if(e){var i=Mt(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return or(this,o)}}function or(n,e){if(e&&(Ut(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ir(n)}function ir(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Kt(n){var e=typeof Map=="function"?new Map:void 0;return Kt=function(r){if(r===null||!lr(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(r))return e.get(r);e.set(r,o)}function o(){return jt(r,arguments,Mt(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Zt(o,r)},Kt(n)}function jt(n,e,t){return on()?jt=Reflect.construct.bind():jt=function(o,i,u){var d=[null];d.push.apply(d,i);var v=Function.bind.apply(o,d),f=new v;return u&&Zt(f,u.prototype),f},jt.apply(null,arguments)}function on(){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(n){return!1}}function lr(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function Zt(n,e){return Zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Zt(n,e)}function Mt(n){return Mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Mt(n)}function ln(n){return sr(n)||dr(n)||Vt(n)||ur()}function ur(){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 Vt(n,e){if(!!n){if(typeof n=="string")return Gt(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Gt(n,e)}}function dr(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function sr(n){if(Array.isArray(n))return Gt(n)}function Gt(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function cr(n,e){if(n==null)return{};var t=vr(n,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,r)||(t[r]=n[r]))}return t}function vr(n,e){if(n==null)return{};var t={},r=Object.keys(n),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(t[o]=n[o]);return t}function un(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function xe(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?un(Object(t),!0).forEach(function(r){$t(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):un(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function $t(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var Le="routes";function It(n){return n.split("?")[0].split("#")[0]}var Xt=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},fr=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Xn(JSON.stringify(e)))}catch(r){}return t&&It(t)},pr=function(e,t){var r=e.name,o=e.locale;return"locale"in e&&o===!1||!r?!1:e.locale||"".concat(t,".").concat(r)},dn=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||Xt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},mr=function(e,t){var r=e.menu,o=r===void 0?{}:r,i=e.indexRoute,u=e.path,d=u===void 0?"":u,v=e.children||e[Le],f=o.name,p=f===void 0?e.name:f,x=o.icon,C=x===void 0?e.icon:x,b=o.hideChildren,D=b===void 0?e.hideChildren:b,I=o.flatMenu,R=I===void 0?e.flatMenu:I,Z=i&&Object.keys(i).join(",")!=="redirect"?[xe({path:d,menu:o},i)].concat(v||[]):v,_=xe({},e);if(p&&(_.name=p),C&&(_.icon=C),Z&&Z.length){if(D)return delete _[Le],delete _.children,_;var F=Yt(xe(xe({},t),{},{data:Z}),e);if(R)return F;_[Le]=F}return _},tt=function(e){return Array.isArray(e)&&e.length>0};function Yt(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=n.data,r=n.formatMessage,o=n.parentName,i=n.locale;return!t||!Array.isArray(t)?[]:t.filter(function(u){return u?tt(u[Le])||tt(u.children)||u.path||u.originPath||u.layout?!0:(u.redirect||u.unaccessible,!1):!1}).filter(function(u){var d,v;return(u==null||(d=u.menu)===null||d===void 0?void 0:d.name)||(u==null?void 0:u.flatMenu)||(u==null||(v=u.menu)===null||v===void 0?void 0:v.flatMenu)?!0:u.menu!==!1}).map(function(u){var d=xe({},u);return d.unaccessible&&delete d.name,d.path==="*"&&(d.path="."),d.path==="/*"&&(d.path="."),!d.path&&d.originPath&&(d.path=d.originPath),d}).map(function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},d=u.children||u[Le],v=dn(u.path,e?e.path:"/"),f=u.name,p=pr(u,o||"menu"),x=p!==!1&&i!==!1&&r&&p?r({id:p,defaultMessage:f}):f,C=e.pro_layout_parentKeys,b=C===void 0?[]:C,D=e.children,I=e.icon,R=e.flatMenu,Z=e.indexRoute,_=e.routes,F=cr(e,Yn),L=new Set([].concat(ln(b),ln(u.parentKeys||[])));e.key&&L.add(e.key);var E=xe(xe(xe({},F),{},{menu:void 0},u),{},{path:v,locale:p,key:u.key||fr(xe(xe({},u),{},{path:v})),pro_layout_parentKeys:Array.from(L).filter(function(W){return W&&W!=="/"})});if(x?E.name=x:delete E.name,E.menu===void 0&&delete E.menu,tt(d)){var N=Yt(xe(xe({},n),{},{data:d,parentName:p||""}),E);tt(N)&&(E[Le]=N,E.children=N)}return mr(E,n)}).flat(1)}var hr=ge(Yt,B()),gr=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||tt(t[Le])||tt(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var r=xe({},t),o=r.children||r[Le];if(tt(o)&&!r.hideChildrenInMenu&&o.some(function(d){return d&&!!d.name})){var i,u=n(o);if(u.length)return xe(xe({},r),{},(i={},$t(i,Le,u),$t(i,"children",u),i))}return xe(xe({},t),{},$t({},Le,void 0))}).filter(function(t){return t})},yr=function(n){rr(t,n);var e=ar(t);function t(){return tr(this,t),e.apply(this,arguments)}return nr(t,[{key:"get",value:function(o){var i;try{var u=er(this.entries()),d;try{for(u.s();!(d=u.n()).done;){var v=Qn(d.value,2),f=v[0],p=v[1],x=It(f);if(!Xt(f)&&le(x,[]).test(o)){i=p;break}}}catch(C){u.e(C)}finally{u.f()}}catch(C){i=void 0}return i}}]),t}(Kt(Map)),xr=function(e){var t=new yr,r=function o(i,u){i.forEach(function(d){var v=d.children||d[Le];tt(v)&&o(v,d);var f=dn(d.path,u?u.path:"/");t.set(It(f),d)})};return r(e),t},Cr=ge(xr,B()),br=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var r=t.children||t[Le];if(tt(r)){var o=n(r);if(o.length)return xe(xe({},t),{},$t({},Le,o))}var i=xe({},t);return delete i[Le],delete i.children,i}).filter(function(t){return t})},Sr=function(e,t,r,o){var i=hr({data:e,formatMessage:r,locale:t}),u=o?br(i):gr(i),d=Cr(i);return{breadcrumb:d,menuData:u}},Zr=Sr;function sn(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function Lt(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?sn(Object(t),!0).forEach(function(r){Mr(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):sn(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Mr(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var $r=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(r){if(!(!r||!r.key)){var o=r.children||r[Le];t[It(r.path||r.key||"/")]=Lt({},r),t[r.key||r.path||"/"]=Lt({},r),o&&(t=Lt(Lt({},t),n(o)))}}),t},Ir=$r,Rr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return e.filter(function(o){if(o==="/"&&t==="/")return!0;if(o!=="/"&&o!=="/*"&&o&&!Xt(o)){var i=It(o);try{if(r&&le("".concat(i)).test(t)||le("".concat(i),[]).test(t)||le("".concat(i,"/(.*)")).test(t))return!0}catch(u){}}return!1}).sort(function(o,i){return o===t?10:i===t?-10:o.substr(1).split("/").length-i.substr(1).split("/").length})},Tr=function(e,t,r,o){var i=Ir(t),u=Object.keys(i),d=Rr(u,e||"/",o);return!d||d.length<1?[]:(r||(d=[d[d.length-1]]),d.map(function(v){var f=i[v]||{pro_layout_parentKeys:"",key:""},p=new Map,x=(f.pro_layout_parentKeys||[]).map(function(C){return p.has(C)?null:(p.set(C,!0),i[C])}).filter(function(C){return C});return f.key&&x.push(f),x}).flat(1))},wr=Tr,nt=c(46986),Rt=c(97183),Pr=c(94184),ne=c.n(Pr),cn=c(97435),_r=c(45520),vn=c(59734),Er=c(59209),jr=function(){return(0,l.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,l.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,l.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,l.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,l.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,l.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,l.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,l.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,l.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("g",{fillRule:"nonzero",children:[(0,l.jsxs)("g",{children:[(0,l.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,l.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,l.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,l.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},Lr=c(39654),Oe=c(14855),Nr=function(e){var t,r,o,i,u,d;return(0,a.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,a.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:(e==null||(t=e.layout)===null||t===void 0||(r=t.header)===null||r===void 0?void 0:r.heightLayoutHeader)||56,lineHeight:"".concat((e==null||(o=e.layout)===null||o===void 0||(i=o.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:8,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:(e==null||(u=e.layout)===null||u===void 0||(d=u.header)===null||d===void 0?void 0:d.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-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 Or(n){return(0,Oe.Xj)("ProLayoutHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(n)});return[Nr(t)]})}var fn=function n(e){return(e||[]).reduce(function(t,r){if(r.key&&t.push(r.key),r.routes){var o=t.concat(n(r.routes)||[]);return o}return t},[])},pn={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function jo(n){return n&&pn[n]?pn[n]:n}function Nt(n){return n.map(function(e){var t=e.children||[],r=(0,s.Z)({},e);if(!r.children&&r.routes&&(r.children=r.routes),!r.name||r.hideInMenu)return null;if(r&&(r==null?void 0:r.children)){if(!r.hideChildrenInMenu&&t.some(function(o){return o&&o.name&&!o.hideInMenu}))return(0,s.Z)((0,s.Z)({},e),{},{children:Nt(t)});delete r.children}return delete r.routes,r}).filter(function(e){return e})}var Br={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},Ar=Br,Dr=c(84089),mn=function(e,t){return h.createElement(Dr.Z,(0,s.Z)((0,s.Z)({},e),{},{ref:t,icon:Ar}))};mn.displayName="MenuOutlined";var Hr=h.forwardRef(mn),hn=c(73177),Fr=c(55241),zr=function(){return(0,l.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Wr=function(e){var t=e.appList,r=e.baseClassName,o=e.hashId;return(0,l.jsx)("div",{className:"".concat(r,"-content ").concat(o),children:(0,l.jsx)("ul",{className:"".concat(r,"-content-list ").concat(o),children:t==null?void 0:t.map(function(i,u){return(0,l.jsx)("li",{className:"".concat(r,"-content-list-item ").concat(o),children:(0,l.jsxs)("a",{href:i.url,target:i.target,rel:"noreferrer",children:[Jt(i.icon),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{children:i.title}),i.desc?(0,l.jsx)("span",{children:i.desc}):null]})]})},u)})})})},Qt=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},Ur=function(e,t){if(e&&typeof e=="string"&&Qt(e))return(0,l.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,l.jsx)("div",{id:"avatarLogo",children:e});if(!e&&t&&typeof t=="string"){var r=t.substring(0,1);return(0,l.jsx)("div",{id:"avatarLogo",children:r})}return e},Kr=function(e){var t=e.appList,r=e.baseClassName,o=e.hashId;return(0,l.jsx)("div",{className:"".concat(r,"-content ").concat(o),children:(0,l.jsx)("ul",{className:"".concat(r,"-content-list ").concat(o),children:t==null?void 0:t.map(function(i,u){return(0,l.jsx)("li",{className:"".concat(r,"-content-list-item ").concat(o),children:(0,l.jsxs)("a",{href:i.url,target:i.target,rel:"noreferrer",children:[Ur(i.icon,i.title),(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:i.title})})]})},u)})})})},Vr=function(e){return{"&-content":{"&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","> *":{boxSizing:"border-box",fontFamily:e.fontFamily},"&-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,"&:hover":{backgroundColor:e.colorBgTextHover},"*":{boxSizing:"border-box",fontFamily:e.fontFamily},"* div":Oe.Wf===null||Oe.Wf===void 0?void 0:(0,Oe.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"}}}}}}},Gr=function(e){return{"&-content":{"&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","*":{boxSizing:"border-box",fontFamily:e.fontFamily},"&-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,"&: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"}}}}}}},Xr=function(e){var t,r,o,i,u,d;return(0,a.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:e==null||(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIcon,"&:hover":{color:e==null||(r=e.layout)===null||r===void 0?void 0:r.colorTextAppListIconHover,backgroundColor:e==null||(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover},"&-active":{color:e==null||(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:e==null||(u=e.layout)===null||u===void 0?void 0:u.colorBgAppListIconHover}},"&-popover":(d={},(0,a.Z)(d,"".concat(e.antCls,"-popover-arrow"),{display:"none"}),(0,a.Z)(d,"*",{boxSizing:"border-box",fontFamily:e.fontFamily}),d),"&-simple":Gr(e),"&-default":Vr(e)})};function Yr(n){return(0,Oe.Xj)("AppsLogoComponents",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(n)});return[Xr(t)]})}var Jt=function(e){return typeof e=="string"?(0,l.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},kt=function(e){var t,r=e.appList,o=e.prefixCls,i=o===void 0?"ant-pro":o,u=h.useRef(null),d="".concat(i,"-layout-apps"),v=Yr(d),f=v.wrapSSR,p=v.hashId,x=(0,h.useState)(!1),C=(0,S.Z)(x,2),b=C[0],D=C[1],I=(0,h.useMemo)(function(){var Z=r==null?void 0:r.some(function(_){return!(_!=null&&_.desc)});return Z?(0,l.jsx)(Kr,{hashId:p,appList:r,baseClassName:"".concat(d,"-simple")}):(0,l.jsx)(Wr,{hashId:p,appList:r,baseClassName:"".concat(d,"-default")})},[r,d,p]);if(!(!(e==null||(t=e.appList)===null||t===void 0)&&t.length))return null;var R=(0,hn.X)(void 0,function(Z){return D(Z)});return f((0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{ref:u,onClick:function(_){_.stopPropagation(),_.preventDefault()}}),(0,l.jsx)(Fr.Z,(0,s.Z)((0,s.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrowPointAtCenter:!0},R),{},{overlayClassName:"".concat(d,"-popover ").concat(p),content:I,getPopupContainer:function(){return u.current||document.body},children:(0,l.jsx)("span",{onClick:function(_){_.stopPropagation()},className:ne()("".concat(d,"-icon"),p,(0,a.Z)({},"".concat(d,"-icon-active"),b)),children:(0,l.jsx)(zr,{})})}))]}))},gn=c(26713),yn=c(98293),xn=c(68508);function Qr(){return(0,l.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,l.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 Jr=function(e){var t,r,o,i,u,d;return(0,a.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:e==null||(t=e.layout)===null||t===void 0||(r=t.sider)===null||r===void 0?void 0:r.colorTextCollapsedButton,backgroundColor:e==null||(o=e.layout)===null||o===void 0||(i=o.sider)===null||i===void 0?void 0:i.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:e==null||(u=e.layout)===null||u===void 0||(d=u.sider)===null||d===void 0?void 0:d.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 kr(n){return(0,Oe.Xj)("SiderMenuCollapsedIcon",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(n)});return[Jr(t)]})}var qr=["isMobile","collapsed"],ea=function(e){var t,r=e.isMobile,o=e.collapsed,i=(0,g.Z)(e,qr),u=kr(e.className),d=u.wrapSSR,v=u.hashId;return r&&o?null:d((0,l.jsx)("div",(0,s.Z)((0,s.Z)({},i),{},{className:ne()(e.className,v,(t={},(0,a.Z)(t,"".concat(e.className,"-collapsed"),o),(0,a.Z)(t,"".concat(e.className,"-is-mobile"),r),t)),children:(0,l.jsx)(Qr,{})})))},Ot=c(74902),ta=c(43144),na=c(15671),ra=c(63017),Bt=c(41755),aa=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],Cn=h.forwardRef(function(n,e){var t=n.className,r=n.component,o=n.viewBox,i=n.spin,u=n.rotate,d=n.tabIndex,v=n.onClick,f=n.children,p=(0,g.Z)(n,aa);(0,Bt.Kp)(Boolean(r||f),"Should have `component` prop or `children`."),(0,Bt.C3)();var x=h.useContext(ra.Z),C=x.prefixCls,b=C===void 0?"anticon":C,D=x.rootClassName,I=ne()(D,b,t),R=ne()((0,a.Z)({},"".concat(b,"-spin"),!!i)),Z=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,_=(0,s.Z)((0,s.Z)({},Bt.vD),{},{className:R,style:Z,viewBox:o});o||delete _.viewBox;var F=function(){return r?h.createElement(r,(0,s.Z)({},_),f):f?((0,Bt.Kp)(Boolean(o)||h.Children.count(f)===1&&h.isValidElement(f)&&h.Children.only(f).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),h.createElement("svg",(0,s.Z)((0,s.Z)({},_),{},{viewBox:o}),f)):null},L=d;return L===void 0&&v&&(L=-1),h.createElement("span",(0,s.Z)((0,s.Z)({role:"img"},p),{},{ref:e,tabIndex:L,onClick:v,className:I}),F())});Cn.displayName="AntdIcon";var oa=Cn,ia=["type","children"],bn=new Set;function la(n){return Boolean(typeof n=="string"&&n.length&&!bn.has(n))}function At(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=n[e];if(la(t)){var r=document.createElement("script");r.setAttribute("src",t),r.setAttribute("data-namespace",t),n.length>e+1&&(r.onload=function(){At(n,e+1)},r.onerror=function(){At(n,e+1)}),bn.add(t),document.body.appendChild(r)}}function Sn(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.scriptUrl,t=n.extraCommonProps,r=t===void 0?{}:t;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?At(e.reverse()):At([e]));var o=h.forwardRef(function(i,u){var d=i.type,v=i.children,f=(0,g.Z)(i,ia),p=null;return i.type&&(p=h.createElement("use",{xlinkHref:"#".concat(d)})),v&&(p=v),h.createElement(oa,(0,s.Z)((0,s.Z)((0,s.Z)({},r),f),{},{ref:u}),p)});return o.displayName="Iconfont",o}function ua(n){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(n)}var da=c(21687),Zn={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},sa=function(e){var t,r,o,i,u,d,v;return(0,a.Z)({},"".concat(e.componentCls),(v={background:"transparent",border:"none"},(0,a.Z)(v,"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),(0,a.Z)(v,"".concat(e.componentCls,"-submenu-has-icon"),(0,a.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),(0,a.Z)(v,"&&-collapsed",(o={},(0,a.Z)(o,"".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:"8px !important"}),(0,a.Z)(o,"".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:(t=e.layout)===null||t===void 0||(r=t.sider)===null||r===void 0?void 0:r.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,a.Z)(o,"".concat(e.componentCls,"-group"),(0,a.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),o)),(0,a.Z)(v,"".concat(e.componentCls,"-item-icon"),{height:"14px",width:"14px",opacity:"0.85",".anticon":{lineHeight:"14px",height:"14px"}}),(0,a.Z)(v,"& &-item-title",(d={display:"flex",flexDirection:"row",alignItems:"center","&-collapsed":(i={flexDirection:"column",justifyContent:"center"},(0,a.Z)(i,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%"}),(0,a.Z)(i,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),i)},(0,a.Z)(d,"&".concat(e.componentCls,"-group-item-title"),{gap:4,height:18,overflow:"hidden"}),(0,a.Z)(d,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,a.Z)({lineHeight:"16px",height:"48px"},"&".concat(e.componentCls,"-item-title-collapsed"),(u={display:"flex"},(0,a.Z)(u,"".concat(e.componentCls,"-item-icon"),{height:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),(0,a.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,a.Z)(v,"&-group",(0,a.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,a.Z)(v,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),v))};function ca(n){return(0,Oe.Xj)("ProLayoutBaseMenu",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(n)});return[sa(t)]})}var Mn=Sn({scriptUrl:Zn.iconfontUrl}),$n=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",r=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Qt(e)||ua(e))return(0,l.jsx)("img",{width:16,src:e,alt:"icon",className:r},e);if(e.startsWith(t))return(0,l.jsx)(Mn,{type:e})}return e},In=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},va=(0,ta.Z)(function n(e){var t=this;(0,na.Z)(this,n),this.props=void 0,this.getNavMenuItems=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0;return r.map(function(i){return t.getSubMenuOrItem(i,o)}).filter(function(i){return i}).flat(1)},this.getSubMenuOrItem=function(r,o){var i=t.props,u=i.subMenuItemRender,d=i.baseClassName,v=i.prefixCls,f=i.collapsed,p=i.menu,x=i.iconPrefixes,C=i.layout,b=(p==null?void 0:p.type)==="group"&&C!=="top",D=t.props.token,I=t.getIntlName(r),R=(r==null?void 0:r.children)||(r==null?void 0:r.routes),Z=b&&o===0?"group":void 0;if(Array.isArray(R)&&R.length>0){var _,F,L,E,N,W,Y,Q,y=o===0||b&&o===1,z=$n(r.icon,x,"action ".concat(d,"-icon ").concat((_=t.props)===null||_===void 0?void 0:_.hashId)),ve=f&&y?In(I):null,ue=(0,l.jsxs)("div",{title:I,className:ne()("".concat(d,"-item-title"),(F=t.props)===null||F===void 0?void 0:F.hashId,(L={},(0,a.Z)(L,"".concat(d,"-item-title-collapsed"),f),(0,a.Z)(L,"".concat(d,"-group-item-title"),Z==="group"),(0,a.Z)(L,"".concat(d,"-item-collapsed-show-title"),(p==null?void 0:p.collapsedShowTitle)&&f),L)),children:[Z==="group"&&f?null:y&&z?(0,l.jsx)("span",{className:"anticon ".concat(d,"-item-icon ").concat((E=t.props)===null||E===void 0?void 0:E.hashId),children:z}):ve,(0,l.jsx)("span",{className:ne()("".concat(d,"-item-text"),(N=t.props)===null||N===void 0?void 0:N.hashId,(0,a.Z)({},"".concat(d,"-item-text-has-icon"),Z!=="group"&&y&&(z||ve))),children:I})]}),k=u?u((0,s.Z)((0,s.Z)({},r),{},{isUrl:!1}),ue,t.props):ue,ae=t.getNavMenuItems(R,o+1);return b&&o===0&&t.props.collapsed&&!p.collapsedShowGroupTitle?ae:[{type:Z,key:r.key||r.path,title:r.tooltip||k,label:k,onClick:b?void 0:r.onTitleClick,children:ae,className:ne()((W={},(0,a.Z)(W,"".concat(d,"-group"),Z==="group"),(0,a.Z)(W,"".concat(d,"-submenu"),Z!=="group"),(0,a.Z)(W,"".concat(d,"-submenu-has-icon"),Z!=="group"&&y&&z),W))},b&&o===0?{type:"divider",prefixCls:v,className:"".concat(d,"-divider"),key:(r.key||r.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:t.props.collapsed?"4px":"6px 16px",marginBlockStart:t.props.collapsed?4:8,borderColor:D==null||(Y=D.layout)===null||Y===void 0||(Q=Y.sider)===null||Q===void 0?void 0:Q.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),title:r.tooltip||I,disabled:r.disabled,key:r.key||r.path,onClick:r.onTitleClick,label:t.getMenuItemPath(r,o)}},this.getIntlName=function(r){var o=r.name,i=r.locale,u=t.props,d=u.menu,v=u.formatMessage;return i&&(d==null?void 0:d.locale)!==!1?v==null?void 0:v({id:i,defaultMessage:o}):o},this.getMenuItemPath=function(r,o){var i,u,d,v,f,p=t.conversionPath(r.path||"/"),x=t.props,C=x.location,b=C===void 0?{pathname:"/"}:C,D=x.isMobile,I=x.onCollapse,R=x.menuItemRender,Z=x.iconPrefixes,_=t.getIntlName(r),F=t.props,L=F.baseClassName,E=F.menu,N=F.collapsed,W=(E==null?void 0:E.type)==="group",Y=o===0||W&&o===1,Q=Y?$n(r.icon,Z,"".concat(L,"-icon ").concat((i=t.props)===null||i===void 0?void 0:i.hashId)):null,y=N&&Y?In(_):null,z=(0,l.jsxs)("div",{className:ne()("".concat(L,"-item-title"),(u=t.props)===null||u===void 0?void 0:u.hashId,(d={},(0,a.Z)(d,"".concat(L,"-item-title-collapsed"),N),(0,a.Z)(d,"".concat(L,"-item-collapsed-show-title"),(E==null?void 0:E.collapsedShowTitle)&&N),d)),children:[Q?(0,l.jsx)("span",{className:"anticon ".concat(L,"-item-icon ").concat((v=t.props)===null||v===void 0?void 0:v.hashId),children:Q}):y,(0,l.jsx)("span",{className:ne()("".concat(L,"-item-text"),(f=t.props)===null||f===void 0?void 0:f.hashId,(0,a.Z)({},"".concat(L,"-item-text-has-icon"),Y&&(Q||y))),children:_})]},p),ve=Qt(p);if(ve){var ue,k,ae,Ze;z=(0,l.jsxs)("span",{title:_,onClick:function(){var de,me;(de=window)===null||de===void 0||(me=de.open)===null||me===void 0||me.call(de,p,"_blank")},className:ne()("".concat(L,"-item-title"),(ue=t.props)===null||ue===void 0?void 0:ue.hashId,(k={},(0,a.Z)(k,"".concat(L,"-item-title-collapsed"),N),(0,a.Z)(k,"".concat(L,"-item-link"),!0),(0,a.Z)(k,"".concat(L,"-item-collapsed-show-title"),(E==null?void 0:E.collapsedShowTitle)&&N),k)),children:[Q?(0,l.jsx)("span",{className:"anticon ".concat(L,"-item-icon ").concat((ae=t.props)===null||ae===void 0?void 0:ae.hashId),children:Q}):y,(0,l.jsx)("span",{className:ne()("".concat(L,"-item-text"),(Ze=t.props)===null||Ze===void 0?void 0:Ze.hashId,(0,a.Z)({},"".concat(L,"-item-text-has-icon"),Y&&(Q||y))),children:_})]},p)}if(R){var _e=(0,s.Z)((0,s.Z)({},r),{},{isUrl:ve,itemPath:p,isMobile:D,replace:p===b.pathname,onClick:function(){return I&&I(!0)},children:void 0});return R(_e,z,t.props)}return z},this.conversionPath=function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")},this.props=e}),fa=function(e,t){var r=t.layout,o=t.collapsed,i={};return e&&!o&&["side","mix"].includes(r||"mix")&&(i={openKeys:e}),i},Rn=function(e){var t,r=e.mode,o=e.className,i=e.handleOpenChange,u=e.style,d=e.menuData,v=e.prefixCls,f=e.menu,p=e.matchMenuKeys,x=e.iconfontUrl,C=e.selectedKeys,b=e.onSelect,D=e.menuRenderType,I=e.openKeys,R=(0,h.useContext)(j.L_),Z=R.token,_="".concat(v,"-base-menu"),F=(0,h.useRef)([]),L=(0,P.Z)(f==null?void 0:f.defaultOpenAll),E=(0,S.Z)(L,2),N=E[0],W=E[1],Y=(0,P.Z)(function(){return f!=null&&f.defaultOpenAll?fn(d)||[]:I===!1?!1:[]},{value:I===!1?void 0:I,onChange:i}),Q=(0,S.Z)(Y,2),y=Q[0],z=Q[1],ve=(0,P.Z)([],{value:C,onChange:b?function(Me){b&&Me&&b(Me)}:void 0}),ue=(0,S.Z)(ve,2),k=ue[0],ae=ue[1];(0,h.useEffect)(function(){(f==null?void 0:f.defaultOpenAll)||I===!1||p&&(z(p),ae(p))},[p.join("-")]),(0,h.useEffect)(function(){x&&(Mn=Sn({scriptUrl:x}))},[x]),(0,h.useEffect)(function(){if(p.join("-")!==(k||[]).join("-")&&ae(p),!N&&I!==!1&&p.join("-")!==(y||[]).join("-")){var Me=p;(f==null?void 0:f.autoClose)===!1&&(Me=Array.from(new Set([].concat((0,Ot.Z)(p),(0,Ot.Z)(y||[]))))),z(Me)}else(f==null?void 0:f.ignoreFlatMenu)&&N?z(fn(d)):W(!1)},[p.join("-")]);var Ze=(0,h.useMemo)(function(){return fa(y,e)},[y&&y.join(","),e.layout,e.collapsed]),_e=ca(_),be=_e.wrapSSR,de=_e.hashId,me=(0,h.useMemo)(function(){return new va((0,s.Z)((0,s.Z)({},e),{},{token:Z,menuRenderType:D,baseClassName:_,hashId:de}))},[e,Z,D,_,de]);if(f!=null&&f.loading)return(0,l.jsx)("div",{style:r!=null&&r.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,l.jsx)(da.Z,{active:!0,title:!1,paragraph:{rows:r!=null&&r.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(F.current=p);var Se=e.postMenuData?e.postMenuData(d):d;return Se&&(Se==null?void 0:Se.length)<1?null:be((0,h.createElement)(xn.Z,(0,s.Z)((0,s.Z)({},Ze),{},{key:"Menu",mode:r,inlineIndent:16,defaultOpenKeys:F.current,theme:"light",selectedKeys:k,style:(0,s.Z)({backgroundColor:"transparent",border:"none"},u),className:ne()(o,de,_,(t={},(0,a.Z)(t,"".concat(_,"-horizontal"),r==="horizontal"),(0,a.Z)(t,"".concat(_,"-collapsed"),e.collapsed),t)),items:me.getNavMenuItems(Se,0),onOpenChange:z},e.menuProps)))};function pa(n,e){var t=e.stylish,r=e.proLayoutCollapsedWidth;return(0,Oe.Xj)("ProLayoutSiderMenuStylish",function(o){var i=(0,s.Z)((0,s.Z)({},o),{},{componentCls:".".concat(n),proLayoutCollapsedWidth:r});return t?[(0,a.Z)({},o.proComponentsCls,(0,a.Z)({},"".concat(o.proComponentsCls,"-layout"),(0,a.Z)({},"".concat(i.componentCls),t==null?void 0:t(i))))]:[]})}var ma=Rt.Z.Sider,qt=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",r=e.logo,o=e.title,i=e.layout,u=e[t||""];if(u===!1)return null;var d=Jt(r),v=(0,l.jsx)("h1",{children:o!=null?o:"Ant Design Pro"});return u?u(d,e.collapsed?null:v,e):e.isMobile?null:i==="mix"&&t==="menuHeaderRender"?!1:e.collapsed?(0,l.jsx)("a",{children:d},"title"):(0,l.jsxs)("a",{children:[d,v]},"title")},Tn=function(e){var t,r,o,i,u,d,v,f,p,x,C,b,D,I=e.collapsed,R=e.originCollapsed,Z=e.fixSiderbar,_=e.menuFooterRender,F=e.onCollapse,L=e.theme,E=e.siderWidth,N=e.isMobile,W=e.onMenuHeaderClick,Y=e.breakpoint,Q=Y===void 0?"lg":Y,y=e.style,z=e.layout,ve=e.menuExtraRender,ue=ve===void 0?!1:ve,k=e.links,ae=e.menuContentRender,Ze=e.collapsedButtonRender,_e=e.prefixCls,be=e.avatarProps,de=e.rightContentRender,me=e.actionsRender,Se=e.onOpenChange,Me=e.stylish,Xe=e.logoStyle,Ue=(0,h.useContext)(j.L_),se=Ue.hashId,Be=(0,h.useMemo)(function(){return!(N||z==="mix")},[N,z]),U="".concat(_e,"-sider"),ce=pa("".concat(U,".").concat(U,"-stylish"),{stylish:Me,proLayoutCollapsedWidth:64}),Ke=ne()("".concat(U),se,(t={},(0,a.Z)(t,"".concat(U,"-fixed"),Z),(0,a.Z)(t,"".concat(U,"-collapsed"),e.collapsed),(0,a.Z)(t,"".concat(U,"-layout-").concat(z),z&&!N),(0,a.Z)(t,"".concat(U,"-light"),L!=="dark"),(0,a.Z)(t,"".concat(U,"-mix"),z==="mix"&&!N),(0,a.Z)(t,"".concat(U,"-stylish"),!!Me),t)),Ae=qt(e),Ee=ue&&ue(e),we=(0,h.useMemo)(function(){return ae!==!1&&(0,h.createElement)(Rn,(0,s.Z)((0,s.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:Se,style:{width:"100%"},className:"".concat(U,"-menu ").concat(se)}))},[U,se,ae,Se,e]),He=(k||[]).map(function(ye,ze){return{className:"".concat(U,"-link"),label:ye,key:ze}}),Ve=(0,h.useMemo)(function(){return ae?ae(e,we):we},[ae,we,e]),Fe=(0,h.useMemo)(function(){return be&&(0,l.jsxs)(gn.Z,{align:"center",className:"".concat(U,"-actions-avatar"),children:[(0,l.jsx)(yn.C,(0,s.Z)({size:28},be)),be.title&&!I&&(0,l.jsx)("span",{children:be.title})]})},[be,U,I]),Ge=(0,h.useMemo)(function(){return me?(0,l.jsx)(gn.Z,{align:"center",size:4,direction:I?"vertical":"horizontal",className:ne()(["".concat(U,"-actions-list"),I&&"".concat(U,"-actions-list-collapsed"),se]),children:me==null?void 0:me(e).map(function(ye,ze){return(0,l.jsx)("div",{className:"".concat(U,"-actions-list-item ").concat(se),children:ye},ze)})}):null},[me,U,I]),ct=(0,h.useMemo)(function(){return(0,l.jsx)(kt,{appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),ht=(0,h.useMemo)(function(){if(Ze===!1)return null;var ye=(0,l.jsx)(ea,{isMobile:N,collapsed:R,className:"".concat(U,"-collapsed-button"),onClick:function(){F==null||F(!R)}});return Ze?Ze(I,ye):ye},[Ze,N,R,U,I,F]),Ye=(0,h.useMemo)(function(){return!Fe&&!Ge?null:(0,l.jsxs)("div",{className:ne()("".concat(U,"-actions"),se,I&&"".concat(U,"-actions-collapsed")),children:[Fe,Ge]})},[Ge,Fe,U,I,se]),Qe=60,Ne=(0,h.useMemo)(function(){var ye;return(e==null||(ye=e.menu)===null||ye===void 0?void 0:ye.hideMenuWhenCollapsed)&&I?"".concat(U,"-hide-menu-collapsed"):null},[U,I,e==null||(r=e.menu)===null||r===void 0?void 0:r.hideMenuWhenCollapsed]),De=_&&(_==null?void 0:_(e)),rt=(0,l.jsxs)(l.Fragment,{children:[Ae&&(0,l.jsxs)("div",{className:ne()([ne()("".concat(U,"-logo"),se,(0,a.Z)({},"".concat(U,"-logo-collapsed"),I))]),onClick:Be?W:void 0,id:"logo",style:Xe,children:[Ae,ct]}),Ee&&(0,l.jsx)("div",{className:ne()(["".concat(U,"-extra"),!Ae&&"".concat(U,"-extra-no-logo"),se]),children:Ee}),(0,l.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Ve}),k?(0,l.jsx)("div",{className:"".concat(U,"-links ").concat(se),children:(0,l.jsx)(xn.Z,{inlineIndent:16,className:"".concat(U,"-link-menu ").concat(se),selectedKeys:[],openKeys:[],theme:"light",mode:"inline",items:He})}):null,Be&&(0,l.jsxs)(l.Fragment,{children:[Ye,de?(0,l.jsx)("div",{className:ne()("".concat(U,"-actions"),se,(0,a.Z)({},"".concat(U,"-actions-collapsed"),I)),children:de==null?void 0:de(e)}):null]}),De&&(0,l.jsx)("div",{className:ne()(["".concat(U,"-footer"),se,(0,a.Z)({},"".concat(U,"-footer-collapsed"),I)]),children:De})]}),vt=(0,h.useContext)(j.L_),he=vt.token;return ce.wrapSSR((0,l.jsxs)(l.Fragment,{children:[Z&&!N&&!Ne&&(0,l.jsx)("div",{style:(0,s.Z)({width:I?Qe:E,overflow:"hidden",flex:"0 0 ".concat(I?Qe:E,"px"),maxWidth:I?Qe:E,minWidth:I?Qe:E,transition:"all 0.2s ease 0s"},y)}),(0,l.jsxs)(ma,{collapsible:!0,trigger:null,collapsed:I,breakpoint:Q===!1?void 0:Q,onCollapse:function(ze){N||F==null||F(ze)},collapsedWidth:Qe,style:y,theme:"light",width:E,className:ne()(Ke,se,Ne),children:[(0,l.jsx)(nt.ZP,{theme:{hashed:((o="production")===null||o===void 0?void 0:o.toLowerCase())!=="test",components:{Menu:{radiusItem:4,colorItemBgSelected:(he==null||(i=he.layout)===null||i===void 0||(u=i.sider)===null||u===void 0?void 0:u.colorBgMenuItemSelected)||"rgba(0, 0, 0, 0.04)",colorItemBgActive:(he==null||(d=he.layout)===null||d===void 0||(v=d.sider)===null||v===void 0?void 0:v.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(he==null||(f=he.layout)===null||f===void 0||(p=f.sider)===null||p===void 0?void 0:p.colorTextMenu)||"rgba(0, 0, 0, 0.65)",colorItemTextHover:(he==null||(x=he.layout)===null||x===void 0||(C=x.sider)===null||C===void 0?void 0:C.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(he==null||(b=he.layout)===null||b===void 0||(D=b.sider)===null||D===void 0?void 0:D.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorItemBg:"transparent",colorSubItemBg:"transparent"}}},children:Ne?(0,l.jsx)("div",{className:"".concat(U,"-hide-when-collapsed ").concat(se),style:{height:"100%",width:"100%",opacity:Ne?0:1},children:rt}):rt}),ht]})]}))},ha=c(10178),ga=c(48555),ya=function(e){var t,r,o,i,u,d;return(0,a.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:e==null||(t=e.layout)===null||t===void 0||(r=t.header)===null||r===void 0?void 0:r.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:e==null||(o=e.layout)===null||o===void 0||(i=o.header)===null||i===void 0?void 0:i.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:e.colorTextSecondary,"> div":{height:"44px",color:e.colorTextSecondary,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:e==null||(u=e.layout)===null||u===void 0||(d=u.header)===null||d===void 0?void 0:d.colorBgRightActionsItemHover}}}}})};function xa(n){return(0,Oe.Xj)("ProLayoutRightContent",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(n)});return[ya(t)]})}var Ca=["rightContentRender","avatarProps","actionsRender","headerContentRender"],ba=["title"],wn=function(e){var t=e.rightContentRender,r=e.avatarProps,o=e.actionsRender,i=e.headerContentRender,u=(0,g.Z)(e,Ca),d=(0,h.useContext)(nt.ZP.ConfigContext),v=d.getPrefixCls,f="".concat(v(),"-pro-global-header"),p=xa(f),x=p.wrapSSR,C=p.hashId,b=(0,h.useState)("auto"),D=(0,S.Z)(b,2),I=D[0],R=D[1],Z=(0,h.useMemo)(function(){if(!r)return null;var L=r.title,E=(0,g.Z)(r,ba);return[(0,h.createElement)(yn.C,(0,s.Z)((0,s.Z)({},E),{},{size:28,key:"avatar"})),L?(0,l.jsx)("span",{style:{marginInlineStart:8},children:L},"name"):void 0]},[r]),_=function(E){var N=o&&(o==null?void 0:o(E));return!N&&!Z?null:(Array.isArray(N)||(N=[N]),x((0,l.jsxs)("div",{className:"".concat(f,"-header-actions ").concat(C),children:[N.filter(Boolean).map(function(W,Y){var Q=!1;if(h.isValidElement(W)){var y;Q=!!(!(W==null||(y=W.props)===null||y===void 0)&&y["aria-hidden"])}return(0,l.jsx)("div",{className:ne()("".concat(f,"-header-actions-item ").concat(C),(0,a.Z)({},"".concat(f,"-header-actions-hover"),!Q)),children:W},Y)}),Z&&(0,l.jsx)("span",{className:"".concat(f,"-header-actions-avatar ").concat(C),children:(0,l.jsx)("div",{children:Z})})]})))},F=(0,ha.D)(function(){var L=(0,M.Z)((0,m.Z)().mark(function E(N){return(0,m.Z)().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:R(N);case 1:case"end":return Y.stop()}},E)}));return function(E){return L.apply(this,arguments)}}(),160);return(0,l.jsx)("div",{className:"".concat(f,"-right-content ").concat(C),style:{minWidth:I,height:"100%"},children:(0,l.jsx)("div",{style:{height:"100%"},children:(0,l.jsx)(ga.Z,{onResize:function(E){var N=E.width;F.run(N)},children:(t||_)&&(0,l.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:(t||_)((0,s.Z)((0,s.Z)({},u),{},{rightContentSize:I}))})})})})},Sa=function(e){var t,r,o,i;return(0,a.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,a.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:e==null||(t=e.layout)===null||t===void 0||(r=t.header)===null||r===void 0?void 0:r.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(((e==null||(o=e.layout)===null||o===void 0||(i=o.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56)-12,"px")}})};function Za(n){return(0,Oe.Xj)("ProLayoutTopNavHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(n)});return[Sa(t)]})}var Pn=function(e){var t,r,o,i,u,d,v,f,p,x,C,b,D=(0,h.useRef)(null),I=e.onMenuHeaderClick,R=e.contentWidth,Z=e.rightContentRender,_=e.className,F=e.style,L=e.headerContentRender,E=e.layout,N=e.actionsRender,W=(0,h.useContext)(nt.ZP.ConfigContext),Y=W.getPrefixCls,Q=(0,h.useContext)(j.L_),y=Q.token,z="".concat(e.prefixCls||Y("pro"),"-top-nav-header"),ve=Za(z),ue=ve.wrapSSR,k=ve.hashId,ae=qt((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),E==="mix"?"headerTitleRender":void 0),Ze=(0,h.useMemo)(function(){var _e,be,de,me,Se,Me,Xe,Ue,se,Be,U,ce,Ke,Ae,Ee,we,He,Ve,Fe=(0,l.jsx)(nt.ZP,{theme:{hashed:((_e="production")===null||_e===void 0?void 0:_e.toLowerCase())!=="test",components:{Menu:{colorItemBg:(y==null||(be=y.layout)===null||be===void 0||(de=be.header)===null||de===void 0?void 0:de.colorBgHeader)||"transparent",colorSubItemBg:(y==null||(me=y.layout)===null||me===void 0||(Se=me.header)===null||Se===void 0?void 0:Se.colorBgHeader)||"transparent",radiusItem:4,colorItemBgSelected:(y==null||(Me=y.layout)===null||Me===void 0||(Xe=Me.header)===null||Xe===void 0?void 0:Xe.colorBgMenuItemSelected)||(y==null?void 0:y.colorBgTextHover),colorItemBgActive:(y==null||(Ue=y.layout)===null||Ue===void 0||(se=Ue.header)===null||se===void 0?void 0:se.colorBgMenuItemHover)||(y==null?void 0:y.colorBgTextHover),colorItemBgSelectedHorizontal:(y==null||(Be=y.layout)===null||Be===void 0||(U=Be.header)===null||U===void 0?void 0:U.colorBgMenuItemSelected)||(y==null?void 0:y.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(y==null||(ce=y.layout)===null||ce===void 0||(Ke=ce.header)===null||Ke===void 0?void 0:Ke.colorTextMenu)||(y==null?void 0:y.colorTextSecondary),colorItemTextHover:(y==null||(Ae=y.layout)===null||Ae===void 0||(Ee=Ae.header)===null||Ee===void 0?void 0:Ee.colorTextMenuActive)||(y==null?void 0:y.colorText),colorItemTextSelected:(y==null||(we=y.layout)===null||we===void 0||(He=we.header)===null||He===void 0?void 0:He.colorTextMenuSelected)||(y==null?void 0:y.colorTextBase)}}},children:(0,l.jsx)(Rn,(0,s.Z)((0,s.Z)((0,s.Z)({theme:"light"},e),{},{className:"".concat(z,"-base-menu ").concat(k)},e.menuProps),{},{style:(0,s.Z)({width:"100%"},(Ve=e.menuProps)===null||Ve===void 0?void 0:Ve.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return L?L(e,Fe):Fe},[y==null||(t=y.layout)===null||t===void 0||(r=t.header)===null||r===void 0?void 0:r.colorBgHeader,y==null||(o=y.layout)===null||o===void 0||(i=o.header)===null||i===void 0?void 0:i.colorBgMenuItemSelected,y==null||(u=y.layout)===null||u===void 0||(d=u.header)===null||d===void 0?void 0:d.colorBgMenuItemHover,y==null||(v=y.layout)===null||v===void 0||(f=v.header)===null||f===void 0?void 0:f.colorTextMenu,y==null||(p=y.layout)===null||p===void 0||(x=p.header)===null||x===void 0?void 0:x.colorTextMenuActive,y==null||(C=y.layout)===null||C===void 0||(b=C.header)===null||b===void 0?void 0:b.colorTextMenuSelected,y==null?void 0:y.colorBgTextHover,y==null?void 0:y.colorTextSecondary,y==null?void 0:y.colorText,y==null?void 0:y.colorTextBase,e,z,k,L]);return ue((0,l.jsx)("div",{className:ne()(z,k,_,(0,a.Z)({},"".concat(z,"-light"),!0)),style:F,children:(0,l.jsxs)("div",{ref:D,className:ne()("".concat(z,"-main"),k,(0,a.Z)({},"".concat(z,"-wide"),R==="Fixed")),children:[ae&&(0,l.jsxs)("div",{className:ne()("".concat(z,"-main-left ").concat(k)),onClick:I,children:[(0,l.jsx)(kt,(0,s.Z)({},e)),(0,l.jsx)("div",{className:"".concat(z,"-logo ").concat(k),id:"logo",children:ae},"logo")]}),(0,l.jsx)("div",{style:{flex:1},className:"".concat(z,"-menu ").concat(k),children:Ze}),(Z||N||e.avatarProps)&&(0,l.jsx)(wn,(0,s.Z)((0,s.Z)({rightContentRender:Z},e),{},{prefixCls:z}))]})}))},Ma=function(e){var t,r,o,i,u,d,v;return(0,a.Z)({},e.componentCls,(v={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((t=e.layout)===null||t===void 0||(r=t.header)===null||r===void 0?void 0:r.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,a.Z)(v,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,a.Z)(v,"&-collapsed-button",{minHeight:"22px",color:e==null||(o=e.layout)===null||o===void 0||(i=o.header)===null||i===void 0?void 0:i.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,a.Z)(v,"&-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:((u=e.layout)===null||u===void 0||(d=u.header)===null||d===void 0?void 0:d.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),(0,a.Z)(v,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),v))};function $a(n){return(0,Oe.Xj)("ProLayoutGlobalHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(n)});return[Ma(t)]})}var Ia=function(e,t){return e===!1?null:e?e(t,null):t},Ra=function(e){var t,r=e.isMobile,o=e.logo,i=e.collapsed,u=e.onCollapse,d=e.rightContentRender,v=e.menuHeaderRender,f=e.onMenuHeaderClick,p=e.className,x=e.style,C=e.layout,b=e.children,D=e.splitMenus,I=e.menuData,R=e.prefixCls,Z=(0,h.useContext)(nt.ZP.ConfigContext),_=Z.direction,F=(0,h.useContext)(nt.ZP.ConfigContext),L=F.getPrefixCls,E="".concat(R||L("pro"),"-global-header"),N=$a(E),W=N.wrapSSR,Y=N.hashId,Q=ne()(p,E,Y);if(C==="mix"&&!r&&D){var y=(I||[]).map(function(k){return(0,s.Z)((0,s.Z)({},k),{},{children:void 0,routes:void 0})}),z=Nt(y);return(0,l.jsx)(Pn,(0,s.Z)((0,s.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:z}))}var ve=ne()("".concat(E,"-logo"),Y,(t={},(0,a.Z)(t,"".concat(E,"-logo-rtl"),_==="rtl"),(0,a.Z)(t,"".concat(E,"-logo-mix"),C==="mix"),(0,a.Z)(t,"".concat(E,"-logo-mobile"),r),t)),ue=(0,l.jsx)("span",{className:ve,children:(0,l.jsx)("a",{children:Jt(o)})},"logo");return W((0,l.jsxs)("div",{className:Q,style:(0,s.Z)({},x),children:[r&&(0,l.jsx)("span",{className:"".concat(E,"-collapsed-button ").concat(Y),onClick:function(){u==null||u(!i)},children:(0,l.jsx)(Hr,{})}),r&&Ia(v,ue),C==="mix"&&!r&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(kt,(0,s.Z)({},e)),(0,l.jsx)("div",{className:ve,onClick:f,children:qt((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,l.jsx)("div",{style:{flex:1},children:b}),(d||e.actionsRender||e.avatarProps)&&(0,l.jsx)(wn,(0,s.Z)({rightContentRender:d},e))]}))};function Ta(n,e){var t=e.stylish,r=e.proLayoutCollapsedWidth;return(0,Oe.Xj)("ProLayoutHeaderStylish",function(o){var i=(0,s.Z)((0,s.Z)({},o),{},{componentCls:".".concat(n),proLayoutCollapsedWidth:r});return t?[(0,a.Z)({},o.proComponentsCls,(0,a.Z)({},"".concat(o.proComponentsCls,"-layout"),(0,a.Z)({},"".concat(i.componentCls),t==null?void 0:t(i))))]:[]})}var _n=Rt.Z.Header,wa=function(e){var t,r,o,i,u,d,v=e.isMobile,f=e.fixedHeader,p=e.className,x=e.style,C=e.collapsed,b=e.prefixCls,D=e.onCollapse,I=e.layout,R=e.headerRender,Z=e.headerContentRender,_=(0,h.useContext)(j.L_),F=_.token,L=(0,h.useCallback)(function(){var ue=I==="top",k=Nt(e.menuData||[]),ae=(0,l.jsx)(Ra,(0,s.Z)((0,s.Z)({onCollapse:D},e),{},{menuData:k,children:Z&&Z(e,null)}));return ue&&!v&&(ae=(0,l.jsx)(Pn,(0,s.Z)((0,s.Z)({mode:"horizontal",onCollapse:D},e),{},{menuData:k}))),R&&typeof R=="function"?R(e,ae):ae},[Z,R,v,I,D,e]),E=f||I==="mix",N=I==="top",W="".concat(b,"-layout-header"),Y=Or(W),Q=Y.wrapSSR,y=Y.hashId,z=Ta("".concat(W,".").concat(W,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ve=ne()(p,y,W,(t={},(0,a.Z)(t,"".concat(W,"-fixed-header"),E),(0,a.Z)(t,"".concat(W,"-mix"),I==="mix"),(0,a.Z)(t,"".concat(W,"-fixed-header-action"),!C),(0,a.Z)(t,"".concat(W,"-top-menu"),N),(0,a.Z)(t,"".concat(W,"-header"),!0),(0,a.Z)(t,"".concat(W,"-stylish"),!!e.stylish),t));return I==="side"&&!v?null:z.wrapSSR(Q((0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(nt.ZP,{theme:{hashed:((r="production")===null||r===void 0?void 0:r.toLowerCase())!=="test",components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"}}},children:[E&&(0,l.jsx)(_n,{style:(0,s.Z)({height:(F==null||(o=F.layout)===null||o===void 0||(i=o.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,lineHeight:"".concat((F==null||(u=F.layout)===null||u===void 0||(d=u.header)===null||d===void 0?void 0:d.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},x)}),(0,l.jsx)(_n,{className:ve,style:x,children:L()})]})})))},Pa=c(83832),_a=c(85265),Ea=c(66981),ja=new Ea.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0},"80%":{display:"none",opacity:0},"100%":{display:"unset",opacity:1}}),La=function(e){var t,r,o,i,u,d,v,f,p,x,C,b,D,I,R,Z,_,F,L,E,N,W,Y,Q,y,z;return(0,a.Z)({},e.proComponentsCls,(0,a.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,a.Z)({},e.componentCls,(z={position:"relative",background:((t=e.layout)===null||t===void 0||(r=t.sider)===null||r===void 0?void 0:r.colorMenuBackground)||"transparent",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"},"&-fixed":{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%"}},(0,a.Z)(z,"".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(o=e.layout)===null||o===void 0||(i=o.sider)===null||i===void 0?void 0:i.paddingInlineLayoutMenu,paddingBlock:(u=e.layout)===null||u===void 0||(d=u.sider)===null||d===void 0?void 0:d.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit)}),(0,a.Z)(z,"".concat(e.antCls,"-menu"),(p={},(0,a.Z)(p,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,a.Z)(p,"".concat(e.antCls,"-menu-item:hover"),{color:e==null||(v=e.layout)===null||v===void 0||(f=v.sider)===null||f===void 0?void 0:f.colorTextMenuItemHover}),p)),(0,a.Z)(z,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(x=e.layout)===null||x===void 0||(C=x.sider)===null||C===void 0?void 0:C.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((b=e.layout)===null||b===void 0||(D=b.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:(I=e.layout)===null||I===void 0||(R=I.sider)===null||R===void 0?void 0:R.colorTextMenuTitle,fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,a.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,a.Z)(z,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(Z=e.layout)===null||Z===void 0||(_=Z.sider)===null||_===void 0?void 0:_.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(F=e.layout)===null||F===void 0||(L=F.sider)===null||L===void 0?void 0:L.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,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),(0,a.Z)(z,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,a.Z)(z,"&-mix",{height:"calc(100% - ".concat((e==null||(E=e.layout)===null||E===void 0||(N=E.header)===null||N===void 0?void 0:N.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((e==null||(W=e.layout)===null||W===void 0||(Y=W.header)===null||Y===void 0?void 0:Y.heightLayoutHeader)||56,"px")}),(0,a.Z)(z,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,a.Z)(z,"&-links",{width:"100%",ul:{height:"auto"}}),(0,a.Z)(z,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,a.Z)(z,"&-footer",{color:(Q=e.layout)===null||Q===void 0||(y=Q.sider)===null||y===void 0?void 0:y.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:ja,animationDuration:".3s",animationTimingFunction:"ease"}),z))))};function Na(n,e){var t=e.proLayoutCollapsedWidth;return(0,Oe.Xj)("ProLayoutSiderMenu",function(r){var o=(0,s.Z)((0,s.Z)({},r),{},{componentCls:".".concat(n),proLayoutCollapsedWidth:t});return[La(o)]})}var En=function(e){var t=e.isMobile,r=e.siderWidth,o=e.collapsed,i=e.onCollapse,u=e.style,d=e.className,v=e.hide,f=e.getContainer,p=e.prefixCls;(0,h.useEffect)(function(){t===!0&&(i==null||i(!0))},[t]);var x=(0,cn.Z)(e,["className","style"]),C=Na("".concat(p,"-sider"),{proLayoutCollapsedWidth:64}),b=C.wrapSSR,D=C.hashId,I=ne()("".concat(p,"-sider"),d,D);if(v)return null;var R=(0,hn.X)(!o,function(){return i==null?void 0:i(!0)});return b(t?(0,l.jsx)(_a.Z,(0,s.Z)((0,s.Z)({placement:"left",className:ne()("".concat(p,"-drawer-sider"),d)},R),{},{style:(0,s.Z)({padding:0,height:"100vh"},u),closable:!1,getContainer:f,width:r,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,l.jsx)(Tn,(0,s.Z)((0,s.Z)({},x),{},{isMobile:!0,className:I,collapsed:t?!1:o,splitMenus:!1,originCollapsed:o}))})):(0,l.jsx)(Tn,(0,s.Z)((0,s.Z)({className:I,originCollapsed:o},x),{},{style:u})))},jn=c(76509),Oa=c(16254),en=c.n(Oa),Ba=function(e,t,r){if(r){var o=(0,Ot.Z)(r.keys()).find(function(u){return en()(u).test(e)});if(o)return r.get(o)}if(t){var i=Object.keys(t).find(function(u){return en()(u).test(e)});if(i)return t[i]}return{path:""}},Ln=function(e,t){var r=e.pathname,o=r===void 0?"/":r,i=e.breadcrumb,u=e.breadcrumbMap,d=e.formatMessage,v=e.title,f=e.menu,p=f===void 0?{locale:!1}:f,x=t?"":v||"",C=Ba(o,i,u);if(!C)return{title:x,id:"",pageName:x};var b=C.name;return p.locale!==!1&&C.locale&&d&&(b=d({id:C.locale||"",defaultMessage:C.name})),b?t||!v?{title:b,id:C.locale||"",pageName:b}:{title:"".concat(b," - ").concat(v),id:C.locale||"",pageName:b}:{title:x,id:C.locale||"",pageName:x}},Lo=function(e,t){return Ln(e,t).title},Aa={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},Da=(0,s.Z)({},Aa),Ha={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},Fa=(0,s.Z)({},Ha),za={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},Wa=(0,s.Z)({},za),Ua={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},Ka=(0,s.Z)({},Ua),Va={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},Ga=(0,s.Z)({},Va),Nn={"zh-CN":Ka,"zh-TW":Ga,"en-US":Da,"it-IT":Fa,"ko-KR":Wa},Xa=function(){if(!(0,q.j)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},Ya=function(){var e=Xa();return Nn[e]||Nn["zh-CN"]},On=c(67159),tn=c(34155),Qa=function(){var e,t;return typeof tn=="undefined"?On.Z:((e=tn)===null||tn===void 0||(t={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||t===void 0?void 0:t.ANTD_VERSION)||On.Z},Ja=function(e){var t,r,o,i,u,d,v,f,p,x,C,b,D,I,R,Z,_,F,L,E,N,W,Y,Q,y,z,ve,ue,k,ae,Ze,_e,be,de,me,Se,Me,Xe,Ue,se,Be,U,ce,Ke,Ae,Ee,we,He,Ve,Fe,Ge,ct,ht,Ye,Qe,Ne,De,rt,vt,he,ye,ze,Je,ft,Tt,it,pt,gt,yt,lt,ke;return!((t=Qa())===null||t===void 0)&&t.startsWith("5")?{}:(ke={},(0,a.Z)(ke,e.proComponentsCls,{width:"100%",height:"100%"}),(0,a.Z)(ke,e.componentCls,(rt={width:"100%",height:"100%"},(0,a.Z)(rt,"".concat(e.proComponentsCls,"-base-menu"),(ce={color:e==null||(r=e.layout)===null||r===void 0||(o=r.sider)===null||o===void 0?void 0:o.colorTextMenu},(0,a.Z)(ce,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:e==null||(i=e.layout)===null||i===void 0||(u=i.sider)===null||u===void 0?void 0:u.colorTextMenu}),(0,a.Z)(ce,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,a.Z)(ce,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,a.Z)(ce,"&".concat(e.antCls,"-menu"),(f={color:e==null||(d=e.layout)===null||d===void 0||(v=d.sider)===null||v===void 0?void 0:v.colorTextMenu},(0,a.Z)(f,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,a.Z)(f,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),f)),(0,a.Z)(ce,"&".concat(e.antCls,"-menu-inline"),(0,a.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,a.Z)(ce,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,a.Z)(ce,"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,a.Z)(ce,"&".concat(e.antCls,"-menu-light"),(0,a.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,a.Z)({color:e==null||(p=e.layout)===null||p===void 0||(x=p.sider)===null||x===void 0?void 0:x.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(C=e.layout)===null||C===void 0||(b=C.sider)===null||b===void 0?void 0:b.colorTextMenuActive}))),(0,a.Z)(ce,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(N={},(0,a.Z)(N,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:e==null||(D=e.layout)===null||D===void 0||(I=D.sider)===null||I===void 0?void 0:I.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,a.Z)(N,"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,a.Z)({color:e==null||(R=e.layout)===null||R===void 0||(Z=R.sider)===null||Z===void 0?void 0:Z.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:e==null||(_=e.layout)===null||_===void 0||(F=_.sider)===null||F===void 0?void 0:F.colorBgMenuItemHover},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(L=e.layout)===null||L===void 0||(E=L.sider)===null||E===void 0?void 0:E.colorTextMenuActive})),N)),(0,a.Z)(ce,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(W=e.layout)===null||W===void 0||(Y=W.sider)===null||Y===void 0?void 0:Y.colorTextMenuSelected}),(0,a.Z)(ce,"".concat(e.antCls,"-menu-submenu-selected"),{color:e==null||(Q=e.layout)===null||Q===void 0||(y=Q.sider)===null||y===void 0?void 0:y.colorTextMenuSelected}),(0,a.Z)(ce,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:e==null||(z=e.layout)===null||z===void 0||(ve=z.sider)===null||ve===void 0?void 0:ve.colorTextMenuSelected}),(0,a.Z)(ce,"&".concat(e.antCls,"-menu-vertical"),(0,a.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:e==null||(ue=e.layout)===null||ue===void 0||(k=ue.sider)===null||k===void 0?void 0:k.colorTextMenuSelected})),(0,a.Z)(ce,"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(ae=e.layout)===null||ae===void 0||(Ze=ae.sider)===null||Ze===void 0?void 0:Ze.colorTextMenuActive}),(0,a.Z)(ce,"&".concat(e.antCls,"-menu-horizontal"),(U={},(0,a.Z)(U,"".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:e==null||(_e=e.layout)===null||_e===void 0||(be=_e.header)===null||be===void 0?void 0:be.colorTextMenuActive,backgroundColor:e==null||(de=e.layout)===null||de===void 0||(me=de.header)===null||me===void 0?void 0:me.colorBgMenuItemHover}),(0,a.Z)(U,"".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,a.Z)({backgroundColor:e==null||(Se=e.layout)===null||Se===void 0||(Me=Se.header)===null||Me===void 0?void 0:Me.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:e==null||(Xe=e.layout)===null||Xe===void 0||(Ue=Xe.header)===null||Ue===void 0?void 0:Ue.colorTextMenuSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(se=e.layout)===null||se===void 0||(Be=se.header)===null||Be===void 0?void 0:Be.colorTextMenuSelected})),(0,a.Z)(U,"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),(0,a.Z)(U,"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"}),U)),ce)),(0,a.Z)(rt,"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(De={},(0,a.Z)(De,"&".concat(e.antCls,"-menu"),(0,a.Z)({color:e==null||(Ke=e.layout)===null||Ke===void 0||(Ae=Ke.header)===null||Ae===void 0?void 0:Ae.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),(0,a.Z)(De,"&".concat(e.antCls,"-menu-light"),(Ne={},(0,a.Z)(Ne,"".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,a.Z)({color:e==null||(Ee=e.layout)===null||Ee===void 0||(we=Ee.header)===null||we===void 0?void 0:we.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:e==null||(He=e.layout)===null||He===void 0||(Ve=He.header)===null||Ve===void 0?void 0:Ve.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(Fe=e.layout)===null||Fe===void 0||(Ge=Fe.header)===null||Ge===void 0?void 0:Ge.colorTextMenuActive})),(0,a.Z)(Ne,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(ct=e.layout)===null||ct===void 0||(ht=ct.header)===null||ht===void 0?void 0:ht.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:e==null||(Ye=e.layout)===null||Ye===void 0||(Qe=Ye.header)===null||Qe===void 0?void 0:Qe.colorBgMenuItemSelected}),Ne)),De)),rt)),(0,a.Z)(ke,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,a.Z)(ke,"".concat(e.antCls,"-menu-submenu-popup"),(lt={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,a.Z)(lt,"".concat(e.antCls,"-menu"),(0,a.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),(0,a.Z)(lt,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(vt=e.layout)===null||vt===void 0||(he=vt.sider)===null||he===void 0?void 0:he.colorTextMenuSelected}),(0,a.Z)(lt,"".concat(e.antCls,"-menu-submenu-selected"),{color:e==null||(ye=e.layout)===null||ye===void 0||(ze=ye.sider)===null||ze===void 0?void 0:ze.colorTextMenuSelected}),(0,a.Z)(lt,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(yt={},(0,a.Z)(yt,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:e==null||(Je=e.layout)===null||Je===void 0||(ft=Je.sider)===null||ft===void 0?void 0:ft.colorTextMenuSelected}),(0,a.Z)(yt,"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,a.Z)({color:e==null||(Tt=e.layout)===null||Tt===void 0||(it=Tt.sider)===null||it===void 0?void 0:it.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(pt=e.layout)===null||pt===void 0||(gt=pt.sider)===null||gt===void 0?void 0:gt.colorTextMenuActive})),yt)),lt)),ke)},ka=function(e){var t,r,o,i,u,d,v,f,p;return(0,a.Z)({body:{paddingBlock:0,paddingInline:0,marginBlock:0,marginInline:0,fontFamily:e.fontFamily}},e.proComponentsCls,(p={},(0,a.Z)(p,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,a.Z)(p,"& ".concat(e.componentCls),(f={},(0,a.Z)(f,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,a.Z)(f,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(e==null||(t=e.layout)===null||t===void 0||(r=t.pageContainer)===null||r===void 0?void 0:r.colorBgPageContainer)||"transparent",position:"relative","*":{boxSizing:"border-box"},paddingBlock:e==null||(o=e.layout)===null||o===void 0||(i=o.pageContainer)===null||i===void 0?void 0:i.paddingBlockPageContainerContent,paddingInline:e==null||(u=e.layout)===null||u===void 0||(d=u.pageContainer)===null||d===void 0?void 0:d.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,a.Z)(f,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,a.Z)(f,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:e==null||(v=e.layout)===null||v===void 0?void 0:v.bgLayout}),f)),(0,a.Z)(p,"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}),p))};function qa(n){return(0,Oe.Xj)("ProLayout",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(n)});return[ka(t),Ja(t)]})}function eo(n){if(!n||n==="/")return["/"];var e=n.split("/").filter(function(t){return t});return e.map(function(t,r){return"/".concat(e.slice(0,r+1).join("/"))})}var to=function(e,t,r){var o=e.breadcrumbName,i=e.path,u=r.indexOf(e)===r.length-1;return u?(0,l.jsx)("span",{children:o}):(0,l.jsx)("a",{href:i,children:o})},no=function(e,t){var r=t.formatMessage,o=t.menu;return e.locale&&r&&(o==null?void 0:o.locale)!==!1?r({id:e.locale,defaultMessage:e.name}):e.name},ro=function(e,t){var r=e.get(t);if(!r){var o=Array.from(e.keys())||[],i=o.find(function(u){return en()(u.replace("?","")).test(t)});i&&(r=e.get(i))}return r||{path:""}},ao=function(e){var t=e.location,r=e.breadcrumbMap;return{location:t,breadcrumbMap:r}},oo=function(e,t,r){var o=eo(e==null?void 0:e.pathname),i=o.map(function(u){var d=ro(t,u),v=no(d,r),f=d.hideInBreadcrumb;return v&&!f?{path:u,breadcrumbName:v,component:d.component}:{path:"",breadcrumbName:""}}).filter(function(u){return u&&u.path});return i},io=function(e){var t=ao(e),r=t.location,o=t.breadcrumbMap;return r&&r.pathname&&o?oo(r,o,e):[]},lo=function(e,t){var r=e.breadcrumbRender,o=e.itemRender,i=t.breadcrumbProps||{},u=i.minLength,d=u===void 0?2:u,v=io(e),f=o||to,p=v;return r&&(p=r(p)||[]),(p&&p.length<d||r===!1)&&(p=void 0),{routes:p,itemRender:f}};function uo(n){return(0,Ot.Z)(n).reduce(function(e,t){var r=(0,S.Z)(t,2),o=r[0],i=r[1];return e[o]=i,e},{})}var so=function n(e,t,r,o){var i=Zr(e,(t==null?void 0:t.locale)||!1,r,!0),u=i.menuData,d=i.breadcrumb;return o?n(o(u),t,r,void 0):{breadcrumb:uo(d),breadcrumbMap:d,menuData:u}},co=c(71002),vo=c(51812),fo=function(e){var t=(0,h.useState)({}),r=(0,S.Z)(t,2),o=r[0],i=r[1];return(0,h.useEffect)(function(){i((0,vo.Y)({layout:(0,co.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]),o},po=c(78164),mo=function(e){var t,r=(0,h.useContext)(j.L_),o=r.hashId,i=e.style,u=e.prefixCls,d=e.children,v=e.hasPageContainer,f=v===void 0?0:v,p=ne()("".concat(u,"-content"),o,(t={},(0,a.Z)(t,"".concat(u,"-has-header"),e.hasHeader),(0,a.Z)(t,"".concat(u,"-content-has-page-container"),f>0),t)),x=e.ErrorBoundary||po.S;return e.ErrorBoundary===!1?(0,l.jsx)(Rt.Z.Content,{className:p,style:i,children:d}):(0,l.jsx)(x,{children:(0,l.jsx)(Rt.Z.Content,{className:p,style:i,children:d})})},ho=["id","defaultMessage"],go=["fixSiderbar","navTheme","layout"],Bn=0,yo=function(e,t){var r;return e.headerRender===!1||e.pure?null:(0,l.jsx)(wa,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{stylish:(r=e.stylish)===null||r===void 0?void 0:r.header}))},xo=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,s.Z)({},e),(0,l.jsx)(Lr.q,{})):null},Co=function(e,t){var r,o=e.layout,i=e.isMobile,u=e.selectedKeys,d=e.openKeys,v=e.splitMenus,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var p=e.menuData;if(v&&(d!==!1||o==="mix")&&!i){var x=u||t,C=(0,S.Z)(x,1),b=C[0];if(b){var D,I;p=((D=e.menuData)===null||D===void 0||(I=D.find(function(F){return F.key===b}))===null||I===void 0?void 0:I.children)||[]}else p=[]}var R=Nt(p||[]);if(R&&(R==null?void 0:R.length)<1&&v)return null;if(o==="top"&&!i){var Z;return(0,l.jsx)(En,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{hide:!0,stylish:(Z=e.stylish)===null||Z===void 0?void 0:Z.sider}))}var _=(0,l.jsx)(En,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{menuData:R,stylish:(r=e.stylish)===null||r===void 0?void 0:r.sider}));return f?f(e,_):_},bo=function(e,t){var r=t.pageTitleRender,o=Ln(e);if(r===!1)return{title:t.title||"",id:"",pageName:""};if(r){var i=r(e,o.title,o);if(typeof i=="string")return(0,s.Z)((0,s.Z)({},o),{},{title:i});(0,_r.default)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return o},So=function(e,t,r){return e?t?60:r:0},An=function(e){var t,r,o,i,u,d=e||{},v=d.children,f=d.onCollapse,p=d.location,x=p===void 0?{pathname:"/"}:p,C=d.contentStyle,b=d.route,D=d.defaultCollapsed,I=d.style,R=d.siderWidth,Z=d.menu,_=d.siderMenuType,F=d.isChildrenLayout,L=d.menuDataRender,E=d.actionRef,N=d.bgLayoutImgList,W=d.formatMessage,Y=d.loading,Q=(0,h.useMemo)(function(){return R||(e.layout==="mix"?215:256)},[e.layout,R]),y=(0,h.useContext)(nt.ZP.ConfigContext),z=(t=e.prefixCls)!==null&&t!==void 0?t:y.getPrefixCls("pro"),ve=(0,P.Z)(!1,{value:Z==null?void 0:Z.loading,onChange:Z==null?void 0:Z.onLoadingChange}),ue=(0,S.Z)(ve,2),k=ue[0],ae=ue[1],Ze=(0,h.useState)(function(){return Bn+=1,"pro-layout-".concat(Bn)}),_e=(0,S.Z)(Ze,1),be=_e[0],de=(0,h.useCallback)(function(je){var ut=je.id,Dt=je.defaultMessage,wt=(0,g.Z)(je,ho);if(W)return W((0,s.Z)({id:ut,defaultMessage:Dt},wt));var Pt=Ya();return Pt[ut]?Pt[ut]:Dt},[W]),me=(0,vn.ZP)([be,Z==null?void 0:Z.params],function(){var je=(0,M.Z)((0,m.Z)().mark(function ut(Dt){var wt,Pt,Kn,Vn;return(0,m.Z)().wrap(function(xt){for(;;)switch(xt.prev=xt.next){case 0:return Pt=(0,S.Z)(Dt,2),Kn=Pt[1],ae(!0),xt.next=4,Z==null||(wt=Z.request)===null||wt===void 0?void 0:wt.call(Z,Kn||{},(b==null?void 0:b.children)||(b==null?void 0:b.routes)||[]);case 4:return Vn=xt.sent,ae(!1),xt.abrupt("return",Vn);case 7:case"end":return xt.stop()}},ut)}));return function(ut){return je.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Se=me.data,Me=me.mutate,Xe=(0,vn.kY)(),Ue=Xe.cache;(0,h.useEffect)(function(){return function(){Ue instanceof Map&&Ue.clear()}},[]);var se=(0,h.useMemo)(function(){return so(Se||(b==null?void 0:b.children)||(b==null?void 0:b.routes)||[],Z,de,L)},[de,Z,L,Se,b==null?void 0:b.children,b==null?void 0:b.routes]),Be=se||{},U=Be.breadcrumb,ce=U===void 0?{}:U,Ke=Be.breadcrumbMap,Ae=Be.menuData,Ee=Ae===void 0?[]:Ae;E&&(Z==null?void 0:Z.request)&&(E.current={reload:function(){Me()}});var we=(0,h.useMemo)(function(){return wr(x.pathname||"/",Ee||[],!0)},[x.pathname,Ee]),He=(0,h.useMemo)(function(){return Array.from(new Set(we.map(function(je){return je.key||je.path||""})))},[we]),Ve=we[we.length-1]||{},Fe=fo(Ve),Ge=(0,s.Z)((0,s.Z)({},e),Fe),ct=Ge.fixSiderbar,ht=Ge.navTheme,Ye=Ge.layout,Qe=(0,g.Z)(Ge,go),Ne=(0,Er.ZP)(),De=(Ne==="sm"||Ne==="xs")&&!e.disableMobile,rt=Ye!=="top"&&!De,vt=(0,P.Z)(function(){return D!==void 0?D:!!(De||Ne==="md")},{value:e.collapsed,onChange:f}),he=(0,S.Z)(vt,2),ye=he[0],ze=he[1],Je=(0,cn.Z)((0,s.Z)((0,s.Z)((0,s.Z)({prefixCls:z},e),{},{siderWidth:Q},Fe),{},{formatMessage:de,breadcrumb:ce,menu:(0,s.Z)((0,s.Z)({},Z),{},{type:_||(Z==null?void 0:Z.type),loading:k}),layout:Ye}),["className","style","breadcrumbRender"]),ft=bo((0,s.Z)((0,s.Z)({pathname:x.pathname},Je),{},{breadcrumbMap:Ke}),e),Tt=lo((0,s.Z)((0,s.Z)({},Je),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:Ke}),e),it=Co((0,s.Z)((0,s.Z)({},Je),{},{menuData:Ee,onCollapse:ze,isMobile:De,collapsed:ye}),He),pt=yo((0,s.Z)((0,s.Z)({},Je),{},{children:null,hasSiderMenu:!!it,menuData:Ee,isMobile:De,collapsed:ye,onCollapse:ze}),He),gt=xo((0,s.Z)({isMobile:De,collapsed:ye},Je)),yt=(0,h.useContext)(jn.X),lt=yt.isChildrenLayout,ke=F!==void 0?F:lt,qe="".concat(z,"-layout"),Dn=qa(qe),Mo=Dn.wrapSSR,nn=Dn.hashId,$o=ne()(e.className,nn,"ant-design-pro",qe,(r={},(0,a.Z)(r,"screen-".concat(Ne),Ne),(0,a.Z)(r,"".concat(qe,"-top-menu"),Ye==="top"),(0,a.Z)(r,"".concat(qe,"-is-children"),ke),(0,a.Z)(r,"".concat(qe,"-fix-siderbar"),ct),(0,a.Z)(r,"".concat(qe,"-").concat(Ye),Ye),r)),Io=So(!!rt,ye,Q),Hn={position:"relative"};(ke||C&&C.minHeight)&&(Hn.minHeight=0),(0,h.useEffect)(function(){var je;(je=e.onPageChange)===null||je===void 0||je.call(e,e.location)},[x.pathname,(o=x.pathname)===null||o===void 0?void 0:o.search]);var Ro=(0,h.useState)(!1),Fn=(0,S.Z)(Ro,2),zn=Fn[0],To=Fn[1],wo=(0,h.useState)(0),Wn=(0,S.Z)(wo,2),Un=Wn[0],Po=Wn[1];V(ft,e.title||!1);var _o=(0,h.useMemo)(function(){return N&&N.length>0?N.map(function(je,ut){return(0,l.jsx)("img",{src:je.src,style:(0,s.Z)({position:"absolute"},je)},ut)}):null},[N]),Eo=(0,h.useContext)(j.L_),rn=Eo.token;return Mo((0,l.jsx)(jn.X.Provider,{value:(0,s.Z)((0,s.Z)({},Je),{},{breadcrumb:Tt,menuData:Ee,isMobile:De,collapsed:ye,hasPageContainer:Un,setHasPageContainer:Po,isChildrenLayout:!0,title:ft.pageName,hasSiderMenu:!!it,hasHeader:!!pt,siderWidth:Io,hasFooter:!!gt,hasFooterToolbar:zn,setHasFooterToolbar:To,pageTitleInfo:ft,matchMenus:we,matchMenuKeys:He,currentMenu:Ve}),children:e.pure?(0,l.jsx)(l.Fragment,{children:v}):(0,l.jsxs)("div",{className:$o,children:[(0,l.jsx)("div",{className:"".concat(qe,"-bg-list ").concat(nn),children:_o}),(0,l.jsxs)(Rt.Z,{style:(0,s.Z)({minHeight:"100%",flexDirection:it?"row":void 0},I),children:[it,(0,l.jsxs)("div",{style:Hn,className:"".concat(qe,"-container ").concat(nn),children:[pt,(0,l.jsx)(mo,(0,s.Z)((0,s.Z)({hasPageContainer:Un,isChildrenLayout:ke},Qe),{},{hasHeader:!!pt,prefixCls:qe,style:C,children:Y?(0,l.jsx)(Pa.S,{}):v})),gt,zn&&(0,l.jsx)("div",{className:"".concat(qe,"-has-footer"),style:{height:64,marginBlockStart:rn==null||(i=rn.layout)===null||i===void 0||(u=i.pageContainer)===null||u===void 0?void 0:u.paddingBlockPageContainerContent}})]})]})]})}))};An.defaultProps=(0,s.Z)((0,s.Z)({logo:(0,l.jsx)(jr,{})},Zn),{},{location:(0,q.j)()?window.location:void 0});var Zo=function(e){var t=e.colorPrimary,r=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,l.jsx)(nt.ZP,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,l.jsx)(j._Y,(0,s.Z)((0,s.Z)({autoClearCache:!0},r),{},{token:e.token,children:(0,l.jsx)(An,(0,s.Z)({},e))}))})}},39654:function(T,w,c){"use strict";c.d(w,{q:function(){return ge}});var a=c(1413),m=c(85893),M=c(67294),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},S=g,s=c(84089),l=function(O,H){return M.createElement(s.Z,(0,a.Z)((0,a.Z)({},O),{},{ref:H,icon:S}))};l.displayName="CopyrightOutlined";var j=M.forwardRef(l),P=c(97183),h=c(46986),q=c(94184),V=c.n(q),$=c(4942),B=c(14855),A=function(O){return(0,$.Z)({},O.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:O.colorTextSecondary,"&-link":{color:O.colorTextSecondary,textDecoration:O.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8,"&:hover":{color:O.colorText}}},"&-copyright":{fontSize:"14px",color:O.colorText}})};function J(ie){return(0,B.Xj)("ProLayoutFooter",function(O){var H=(0,a.Z)((0,a.Z)({},O),{},{componentCls:".".concat(ie)});return[A(H)]})}var re=function(O){var H=O.className,fe=O.prefixCls,X=O.links,G=O.copyright,ee=O.style,Pe=(0,M.useContext)(h.ZP.ConfigContext),oe=Pe.getPrefixCls(fe||"pro-global-footer"),$e=J(oe),We=$e.wrapSSR,Ie=$e.hashId;return(X==null||X===!1||Array.isArray(X)&&X.length===0)&&(G==null||G===!1)?null:We((0,m.jsxs)("div",{className:V()(oe,Ie,H),style:ee,children:[X&&(0,m.jsx)("div",{className:"".concat(oe,"-list ").concat(Ie),children:X.map(function(le){return(0,m.jsx)("a",{className:"".concat(oe,"-list-link ").concat(Ie),title:le.key,target:le.blankTarget?"_blank":"_self",href:le.href,rel:"noreferrer",children:le.title},le.key)})}),G&&(0,m.jsx)("div",{className:"".concat(oe,"-copyright ").concat(Ie),children:G})]}))},K=P.Z.Footer,ge=function(O){var H=O.links,fe=O.copyright,X=O.style,G=O.className,ee=O.prefixCls;return(0,m.jsx)(K,{className:G,style:(0,a.Z)({padding:0},X),children:(0,m.jsx)(re,{links:H,prefixCls:ee,copyright:fe===!1?null:(0,m.jsxs)(M.Fragment,{children:[(0,m.jsx)(j,{})," ",fe]})})})}},76509:function(T,w,c){"use strict";c.d(w,{X:function(){return m}});var a=c(67294),m=(0,a.createContext)({})},16254:function(T){T.exports=V,T.exports.parse=m,T.exports.compile=M,T.exports.tokensToFunction=g,T.exports.tokensToRegExp=q;var w="/",c="./",a=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function m($,B){for(var A=[],J=0,re=0,K="",ge=B&&B.delimiter||w,ie=B&&B.delimiters||c,O=!1,H;(H=a.exec($))!==null;){var fe=H[0],X=H[1],G=H.index;if(K+=$.slice(re,G),re=G+fe.length,X){K+=X[1],O=!0;continue}var ee="",Pe=$[re],oe=H[2],$e=H[3],We=H[4],Ie=H[5];if(!O&&K.length){var le=K.length-1;ie.indexOf(K[le])>-1&&(ee=K[le],K=K.slice(0,le))}K&&(A.push(K),K="",O=!1);var Re=ee!==""&&Pe!==void 0&&Pe!==ee,at=Ie==="+"||Ie==="*",ot=Ie==="?"||Ie==="*",et=ee||ge,Te=$e||We;A.push({name:oe||J++,prefix:ee,delimiter:et,optional:ot,repeat:at,partial:Re,pattern:Te?s(Te):"[^"+S(et)+"]+?"})}return(K||re<$.length)&&A.push(K+$.substr(re)),A}function M($,B){return g(m($,B))}function g($){for(var B=new Array($.length),A=0;A<$.length;A++)typeof $[A]=="object"&&(B[A]=new RegExp("^(?:"+$[A].pattern+")$"));return function(J,re){for(var K="",ge=re&&re.encode||encodeURIComponent,ie=0;ie<$.length;ie++){var O=$[ie];if(typeof O=="string"){K+=O;continue}var H=J?J[O.name]:void 0,fe;if(Array.isArray(H)){if(!O.repeat)throw new TypeError('Expected "'+O.name+'" to not repeat, but got array');if(H.length===0){if(O.optional)continue;throw new TypeError('Expected "'+O.name+'" to not be empty')}for(var X=0;X<H.length;X++){if(fe=ge(H[X],O),!B[ie].test(fe))throw new TypeError('Expected all "'+O.name+'" to match "'+O.pattern+'"');K+=(X===0?O.prefix:O.delimiter)+fe}continue}if(typeof H=="string"||typeof H=="number"||typeof H=="boolean"){if(fe=ge(String(H),O),!B[ie].test(fe))throw new TypeError('Expected "'+O.name+'" to match "'+O.pattern+'", but got "'+fe+'"');K+=O.prefix+fe;continue}if(O.optional){O.partial&&(K+=O.prefix);continue}throw new TypeError('Expected "'+O.name+'" to be '+(O.repeat?"an array":"a string"))}return K}}function S($){return $.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function s($){return $.replace(/([=!:$/()])/g,"\\$1")}function l($){return $&&$.sensitive?"":"i"}function j($,B){if(!B)return $;var A=$.source.match(/\((?!\?)/g);if(A)for(var J=0;J<A.length;J++)B.push({name:J,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return $}function P($,B,A){for(var J=[],re=0;re<$.length;re++)J.push(V($[re],B,A).source);return new RegExp("(?:"+J.join("|")+")",l(A))}function h($,B,A){return q(m($,A),B,A)}function q($,B,A){A=A||{};for(var J=A.strict,re=A.start!==!1,K=A.end!==!1,ge=S(A.delimiter||w),ie=A.delimiters||c,O=[].concat(A.endsWith||[]).map(S).concat("$").join("|"),H=re?"^":"",fe=$.length===0,X=0;X<$.length;X++){var G=$[X];if(typeof G=="string")H+=S(G),fe=X===$.length-1&&ie.indexOf(G[G.length-1])>-1;else{var ee=G.repeat?"(?:"+G.pattern+")(?:"+S(G.delimiter)+"(?:"+G.pattern+"))*":G.pattern;B&&B.push(G),G.optional?G.partial?H+=S(G.prefix)+"("+ee+")?":H+="(?:"+S(G.prefix)+"("+ee+"))?":H+=S(G.prefix)+"("+ee+")"}}return K?(J||(H+="(?:"+ge+")?"),H+=O==="$"?"$":"(?="+O+")"):(J||(H+="(?:"+ge+"(?="+O+"))?"),fe||(H+="(?="+ge+"|"+O+")")),new RegExp(H,l(A))}function V($,B,A){return $ instanceof RegExp?j($,B):Array.isArray($)?P($,B,A):h($,B,A)}},1977:function(T,w,c){"use strict";c.d(w,{n:function(){return h}});var a=c(97685),m=c(71002),M=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,g=function(V){return V==="*"||V==="x"||V==="X"},S=function(V){var $=parseInt(V,10);return isNaN($)?V:$},s=function(V,$){return(0,m.Z)(V)!==(0,m.Z)($)?[String(V),String($)]:[V,$]},l=function(V,$){if(g(V)||g($))return 0;var B=s(S(V),S($)),A=(0,a.Z)(B,2),J=A[0],re=A[1];return J>re?1:J<re?-1:0},j=function(V,$){for(var B=0;B<Math.max(V.length,$.length);B++){var A=l(V[B]||"0",$[B]||"0");if(A!==0)return A}return 0},P=function(V){var $,B=V.match(M);return B==null||($=B.shift)===null||$===void 0||$.call(B),B},h=function(V,$){var B=P(V),A=P($),J=B.pop(),re=A.pop(),K=j(B,A);return K!==0?K:J||re?J?-1:1:0}},73177:function(T,w,c){"use strict";c.d(w,{X:function(){return s},b:function(){return S}});var a=c(67159),m=c(51812),M=c(1977),g=c(34155),S=function(){var j,P;return typeof g=="undefined"?a.Z:((j=g)===null||g===void 0||(P={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||P===void 0?void 0:P.ANTD_VERSION)||a.Z},s=function(j,P){var h=(0,M.n)(S(),"4.23.0")>-1?{open:j,onOpenChange:P}:{visible:j,onVisibleChange:P};return(0,m.Y)(h)}},10178:function(T,w,c){"use strict";c.d(w,{D:function(){return S}});var a=c(74165),m=c(15861),M=c(67294),g=c(48171);function S(s,l){var j=(0,g.J)(s),P=(0,M.useRef)(),h=(0,M.useCallback)(function(){P.current&&(clearTimeout(P.current),P.current=null)},[]),q=(0,M.useCallback)((0,m.Z)((0,a.Z)().mark(function V(){var $,B,A,J=arguments;return(0,a.Z)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:for($=J.length,B=new Array($),A=0;A<$;A++)B[A]=J[A];if(!(l===0||l===void 0)){K.next=3;break}return K.abrupt("return",j.apply(void 0,B));case 3:return h(),K.abrupt("return",new Promise(function(ge){P.current=setTimeout((0,m.Z)((0,a.Z)().mark(function ie(){return(0,a.Z)().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:H.next=7;break;case 4:return H.t1=H.sent,(0,H.t0)(H.t1),H.abrupt("return");case 7:return H.t2=ge,H.next=10,j.apply(void 0,B);case 10:H.t3=H.sent,(0,H.t2)(H.t3);case 12:case"end":return H.stop()}},ie)})),l)}));case 5:case"end":return K.stop()}},V)})),[j,h,l]);return(0,M.useEffect)(function(){return h},[h]),{run:q,cancel:h}}},48171:function(T,w,c){"use strict";c.d(w,{J:function(){return m}});var a=c(67294),m=function(g){var S=(0,a.useRef)(null);return S.current=g,(0,a.useCallback)(function(){for(var s,l=arguments.length,j=new Array(l),P=0;P<l;P++)j[P]=arguments[P];return(s=S.current)===null||s===void 0?void 0:s.call.apply(s,[S].concat(j))},[])}},12044:function(T,w,c){"use strict";c.d(w,{j:function(){return M}});var a=c(34155),m=typeof a!="undefined"&&a.versions!=null&&a.versions.node!=null,M=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!m}},51812:function(T,w,c){"use strict";c.d(w,{Y:function(){return a}});var a=function(M){var g={};if(Object.keys(M||{}).forEach(function(S){M[S]!==void 0&&(g[S]=M[S])}),!(Object.keys(g).length<1))return g}},2788:function(T,w,c){"use strict";c.d(w,{Z:function(){return fe}});var a=c(97685),m=c(67294),M=c(73935),g=c(98924),S=c(42550),s=m.createContext(null),l=s,j=c(74902),P=c(8410),h=[];function q(X,G){var ee=m.useState(function(){if(!(0,g.Z)())return null;var Te=document.createElement("div");return Te}),Pe=(0,a.Z)(ee,1),oe=Pe[0],$e=m.useContext(l),We=m.useState(h),Ie=(0,a.Z)(We,2),le=Ie[0],Re=Ie[1],at=$e||function(Te){Re(function(Ct){var mt=[Te].concat((0,j.Z)(Ct));return mt})};function ot(){oe.parentElement||document.body.appendChild(oe)}function et(){var Te;(Te=oe.parentElement)===null||Te===void 0||Te.removeChild(oe)}return(0,P.Z)(function(){return X?$e?$e(ot):ot():et(),et},[X]),(0,P.Z)(function(){le.length&&(le.forEach(function(Te){return Te()}),Re(h))},[le]),[oe,at]}var V=c(44958),$=c(74204);function B(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var A="rc-util-locker-".concat(Date.now()),J=0;function re(X){var G=!!X,ee=m.useState(function(){return J+=1,"".concat(A,"_").concat(J)}),Pe=(0,a.Z)(ee,1),oe=Pe[0];(0,P.Z)(function(){if(G){var $e=(0,$.Z)(),We=B();(0,V.hq)(`
html body {
overflow-y: hidden;
`.concat(We?"width: calc(100% - ".concat($e,"px);"):"",`
}`),oe)}else(0,V.jL)(oe);return function(){(0,V.jL)(oe)}},[G,oe])}var K=!1;function ge(X){return typeof X=="boolean"&&(K=X),K}var ie=function(G){return G===!1?!1:!(0,g.Z)()||!G?null:typeof G=="string"?document.querySelector(G):typeof G=="function"?G():G},O=m.forwardRef(function(X,G){var ee=X.open,Pe=X.autoLock,oe=X.getContainer,$e=X.debug,We=X.autoDestroy,Ie=We===void 0?!0:We,le=X.children,Re=m.useState(ee),at=(0,a.Z)(Re,2),ot=at[0],et=at[1],Te=ot||ee;m.useEffect(function(){(Ie||ee)&&et(ee)},[ee,Ie]);var Ct=m.useState(function(){return ie(oe)}),mt=(0,a.Z)(Ct,2),dt=mt[0],Ht=mt[1];m.useEffect(function(){var St=ie(oe);Ht(St!=null?St:null)});var te=q(Te&&!dt,$e),Ce=(0,a.Z)(te,2),pe=Ce[0],Ft=Ce[1],st=dt!=null?dt:pe;re(Pe&&ee&&(0,g.Z)()&&(st===pe||st===document.body));var _t=null;if(le&&(0,S.Yr)(le)&&G){var bt=le;_t=bt.ref}var zt=(0,S.x1)(_t,G);if(!Te||!(0,g.Z)()||dt===void 0)return null;var Wt=st===!1||ge(),Et=le;return G&&(Et=m.cloneElement(le,{ref:zt})),m.createElement(l.Provider,{value:Ft},Wt?Et:(0,M.createPortal)(Et,st))}),H=O,fe=H},65223:function(T,w,c){"use strict";c.d(w,{RV:function(){return l},Rk:function(){return j},Ux:function(){return h},aM:function(){return P},q3:function(){return S},qI:function(){return s}});var a=c(87462),m=c(71990),M=c(98423),g=c(67294),S=g.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),s=g.createContext(null),l=function(V){var $=(0,M.Z)(V,["prefixCls"]);return g.createElement(m.RV,(0,a.Z)({},$))},j=g.createContext({prefixCls:""}),P=g.createContext({}),h=function(V){var $=V.children,B=V.status,A=V.override,J=(0,g.useContext)(P),re=(0,g.useMemo)(function(){var K=(0,a.Z)({},J);return A&&delete K.isFormItemInput,B&&(delete K.status,delete K.hasFeedback,delete K.feedbackIcon),K},[B,A,J]);return g.createElement(P.Provider,{value:re},$)}},97183:function(T,w,c){"use strict";var a=c(84321),m=c(7293),M=a.ZP;M.Header=a.h4,M.Footer=a.$_,M.Content=a.VY,M.Sider=m.Z,w.Z=M},21879:function(T){"use strict";var w=typeof BigInt64Array!="undefined";T.exports=function c(a,m){if(a===m)return!0;if(a&&m&&typeof a=="object"&&typeof m=="object"){if(a.constructor!==m.constructor)return!1;var M,g,S;if(Array.isArray(a)){if(M=a.length,M!=m.length)return!1;for(g=M;g--!==0;)if(!c(a[g],m[g]))return!1;return!0}if(a instanceof Map&&m instanceof Map){if(a.size!==m.size)return!1;for(g of a.entries())if(!m.has(g[0]))return!1;for(g of a.entries())if(!c(g[1],m.get(g[0])))return!1;return!0}if(a instanceof Set&&m instanceof Set){if(a.size!==m.size)return!1;for(g of a.entries())if(!m.has(g[0]))return!1;return!0}if(ArrayBuffer.isView(a)&&ArrayBuffer.isView(m)){if(M=a.length,M!=m.length)return!1;for(g=M;g--!==0;)if(a[g]!==m[g])return!1;return!0}if(a.constructor===RegExp)return a.source===m.source&&a.flags===m.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===m.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===m.toString();if(S=Object.keys(a),M=S.length,M!==Object.keys(m).length)return!1;for(g=M;g--!==0;)if(!Object.prototype.hasOwnProperty.call(m,S[g]))return!1;for(g=M;g--!==0;){var s=S[g];if(!(s==="_owner"&&a.$$typeof)&&!c(a[s],m[s]))return!1}return!0}return a!==a&&m!==m}},97435:function(T,w){"use strict";function c(a,m){for(var M=Object.assign({},a),g=0;g<m.length;g+=1){var S=m[g];delete M[S]}return M}w.Z=c},74204:function(T,w,c){"use strict";c.d(w,{Z:function(){return m},o:function(){return g}});var a;function m(S){if(typeof document=="undefined")return 0;if(S||a===void 0){var s=document.createElement("div");s.style.width="100%",s.style.height="200px";var l=document.createElement("div"),j=l.style;j.position="absolute",j.top="0",j.left="0",j.pointerEvents="none",j.visibility="hidden",j.width="200px",j.height="150px",j.overflow="hidden",l.appendChild(s),document.body.appendChild(l);var P=s.offsetWidth;l.style.overflow="scroll";var h=s.offsetWidth;P===h&&(h=l.clientWidth),document.body.removeChild(l),a=P-h}return a}function M(S){var s=S.match(/^(.*)px$/),l=Number(s==null?void 0:s[1]);return Number.isNaN(l)?m():l}function g(S){if(typeof document=="undefined"||!S||!(S instanceof Element))return{width:0,height:0};var s=getComputedStyle(S,"::-webkit-scrollbar"),l=s.width,j=s.height;return{width:M(l),height:M(j)}}},19158:function(T,w){"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.default=c;function c(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},18545:function(T,w,c){"use strict";var a=c(75263).default;Object.defineProperty(w,"__esModule",{value:!0}),w.default=M;var m=a(c(67294));function M(g){var S=m.useRef();S.current=g;var s=m.useCallback(function(){for(var l,j=arguments.length,P=new Array(j),h=0;h<j;h++)P[h]=arguments[h];return(l=S.current)===null||l===void 0?void 0:l.call.apply(l,[S].concat(P))},[]);return s}},82546:function(T,w,c){"use strict";var a=c(64836).default,m=c(75263).default;Object.defineProperty(w,"__esModule",{value:!0}),w.useLayoutUpdateEffect=w.default=void 0;var M=m(c(67294)),g=a(c(19158)),S=(0,g.default)()?M.useLayoutEffect:M.useEffect,s=S;w.default=s;var l=function(P,h){var q=M.useRef(!0);S(function(){if(!q.current)return P()},h),S(function(){return q.current=!1,function(){q.current=!0}},[])};w.useLayoutUpdateEffect=l},60869:function(T,w,c){"use strict";var a,m=c(64836).default;a={value:!0},w.Z=j;var M=m(c(27424)),g=m(c(18545)),S=c(82546),s=m(c(78423));function l(P){return P!==void 0}function j(P,h){var q=h||{},V=q.defaultValue,$=q.value,B=q.onChange,A=q.postState,J=(0,s.default)(function(){return l($)?$:l(V)?typeof V=="function"?V():V:typeof P=="function"?P():P}),re=(0,M.default)(J,2),K=re[0],ge=re[1],ie=$!==void 0?$:K,O=A?A(ie):ie,H=(0,g.default)(B),fe=(0,s.default)([ie]),X=(0,M.default)(fe,2),G=X[0],ee=X[1];(0,S.useLayoutUpdateEffect)(function(){var oe=G[0];K!==oe&&H(K,oe)},[G]),(0,S.useLayoutUpdateEffect)(function(){l($)||ge($)},[$]);var Pe=(0,g.default)(function(oe,$e){ge(oe,$e),ee([ie],$e)});return[O,Pe]}},78423:function(T,w,c){"use strict";var a=c(75263).default,m=c(64836).default;Object.defineProperty(w,"__esModule",{value:!0}),w.default=S;var M=m(c(27424)),g=a(c(67294));function S(s){var l=g.useRef(!1),j=g.useState(s),P=(0,M.default)(j,2),h=P[0],q=P[1];g.useEffect(function(){return l.current=!1,function(){l.current=!0}},[]);function V($,B){B&&l.current||q($)}return[h,V]}},45520:function(T,w){"use strict";Object.defineProperty(w,"__esModule",{value:!0}),w.call=g,w.default=void 0,w.note=m,w.noteOnce=s,w.resetWarned=M,w.warning=a,w.warningOnce=S;var c={};function a(j,P){}function m(j,P){}function M(){c={}}function g(j,P,h){!P&&!c[h]&&(j(!1,h),c[h]=!0)}function S(j,P){g(a,j,P)}function s(j,P){g(m,j,P)}var l=S;w.default=l},73897:function(T){function w(c,a){(a==null||a>c.length)&&(a=c.length);for(var m=0,M=new Array(a);m<a;m++)M[m]=c[m];return M}T.exports=w,T.exports.__esModule=!0,T.exports.default=T.exports},85372:function(T){function w(c){if(Array.isArray(c))return c}T.exports=w,T.exports.__esModule=!0,T.exports.default=T.exports},64836:function(T){function w(c){return c&&c.__esModule?c:{default:c}}T.exports=w,T.exports.__esModule=!0,T.exports.default=T.exports},75263:function(T,w,c){var a=c(18698).default;function m(g){if(typeof WeakMap!="function")return null;var S=new WeakMap,s=new WeakMap;return(m=function(j){return j?s:S})(g)}function M(g,S){if(!S&&g&&g.__esModule)return g;if(g===null||a(g)!=="object"&&typeof g!="function")return{default:g};var s=m(S);if(s&&s.has(g))return s.get(g);var l={},j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in g)if(P!=="default"&&Object.prototype.hasOwnProperty.call(g,P)){var h=j?Object.getOwnPropertyDescriptor(g,P):null;h&&(h.get||h.set)?Object.defineProperty(l,P,h):l[P]=g[P]}return l.default=g,s&&s.set(g,l),l}T.exports=M,T.exports.__esModule=!0,T.exports.default=T.exports},68872:function(T){function w(c,a){var m=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(m!=null){var M,g,S,s,l=[],j=!0,P=!1;try{if(S=(m=m.call(c)).next,a===0){if(Object(m)!==m)return;j=!1}else for(;!(j=(M=S.call(m)).done)&&(l.push(M.value),l.length!==a);j=!0);}catch(h){P=!0,g=h}finally{try{if(!j&&m.return!=null&&(s=m.return(),Object(s)!==s))return}finally{if(P)throw g}}return l}}T.exports=w,T.exports.__esModule=!0,T.exports.default=T.exports},12218:function(T){function w(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T.exports=w,T.exports.__esModule=!0,T.exports.default=T.exports},27424:function(T,w,c){var a=c(85372),m=c(68872),M=c(86116),g=c(12218);function S(s,l){return a(s)||m(s,l)||M(s,l)||g()}T.exports=S,T.exports.__esModule=!0,T.exports.default=T.exports},18698:function(T){function w(c){return T.exports=w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},T.exports.__esModule=!0,T.exports.default=T.exports,w(c)}T.exports=w,T.exports.__esModule=!0,T.exports.default=T.exports},86116:function(T,w,c){var a=c(73897);function m(M,g){if(!!M){if(typeof M=="string")return a(M,g);var S=Object.prototype.toString.call(M).slice(8,-1);if(S==="Object"&&M.constructor&&(S=M.constructor.name),S==="Map"||S==="Set")return Array.from(M);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return a(M,g)}}T.exports=m,T.exports.__esModule=!0,T.exports.default=T.exports}}]);