mirror of https://gitee.com/topiam/eiam
51 lines
134 KiB
JavaScript
51 lines
134 KiB
JavaScript
/*
|
|
* eiam-console - Employee Identity and Access Management Program
|
|
* Copyright © 2020-2023 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_console=self.webpackChunktopiam_console||[]).push([[301],{75465:function(O,L,c){"use strict";c.d(L,{X:function(){return T}});var j=c(79685),T=(0,j.createContext)({})},26048:function(O,L,c){"use strict";c.d(L,{n:function(){return m}});var j=c(88222),T=c(56151),B=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,E=function(te){return te==="*"||te==="x"||te==="X"},P=function(te){var $=parseInt(te,10);return isNaN($)?te:$},z=function(te,$){return(0,T.Z)(te)!==(0,T.Z)($)?[String(te),String($)]:[te,$]},U=function(te,$){if(E(te)||E($))return 0;var K=z(P(te),P($)),v=(0,j.Z)(K,2),l=v[0],x=v[1];return l>x?1:l<x?-1:0},D=function(te,$){for(var K=0;K<Math.max(te.length,$.length);K++){var v=U(te[K]||"0",$[K]||"0");if(v!==0)return v}return 0},A=function(te){var $,K=te.match(B);return K==null||($=K.shift)===null||$===void 0||$.call(K),K},m=function(te,$){var K=A(te),v=A($),l=K.pop(),x=v.pop(),W=D(K,v);return W!==0?W:l||x?l?-1:1:0}},28228:function(O,L,c){"use strict";c.d(L,{X:function(){return z},b:function(){return P}});var j=c(42920),T=c(61905),B=c(26048),E=c(93738),P=function(){var D,A;return typeof E=="undefined"?j.Z:((D=E)===null||E===void 0||(A={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||A===void 0?void 0:A.ANTD_VERSION)||j.Z},z=function(D,A){var m=(0,B.n)(P(),"4.23.0")>-1?{open:D,onOpenChange:A}:{visible:D,onVisibleChange:A};return(0,T.Y)(m)}},71728:function(O,L,c){"use strict";c.d(L,{D:function(){return z}});var j=c(17211),T=c(81033),B=c(79685),E=c(18108),P=c(93738);function z(U,D){var A=(0,E.J)(U),m=(0,B.useRef)(),s=(0,B.useCallback)(function(){m.current&&(clearTimeout(m.current),m.current=null)},[]),te=(0,B.useCallback)((0,T.Z)((0,j.Z)().mark(function $(){var K,v,l,x=arguments;return(0,j.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:for(K=x.length,v=new Array(K),l=0;l<K;l++)v[l]=x[l];if(!(D===0||D===void 0)){C.next=3;break}return C.abrupt("return",A.apply(void 0,v));case 3:return s(),C.abrupt("return",new Promise(function(M){m.current=setTimeout((0,T.Z)((0,j.Z)().mark(function h(){return(0,j.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=M,H.next=10,A.apply(void 0,v);case 10:H.t3=H.sent,(0,H.t2)(H.t3);case 12:case"end":return H.stop()}},h)})),D)}));case 5:case"end":return C.stop()}},$)})),[A,s,D]);return(0,B.useEffect)(function(){return s},[s]),{run:te,cancel:s}}},18108:function(O,L,c){"use strict";c.d(L,{J:function(){return B}});var j=c(23570),T=c(79685),B=function(P){var z=(0,T.useRef)(null);return z.current=P,(0,T.useCallback)(function(){for(var U,D=arguments.length,A=new Array(D),m=0;m<D;m++)A[m]=arguments[m];return(U=z.current)===null||U===void 0?void 0:U.call.apply(U,[z].concat((0,j.Z)(A)))},[])}},57133:function(O,L,c){"use strict";c.d(L,{j:function(){return B}});var j=c(93738),T=typeof j!="undefined"&&j.versions!=null&&j.versions.node!=null,B=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!T}},61905:function(O,L,c){"use strict";c.d(L,{Y:function(){return j}});var j=function(B){var E={};if(Object.keys(B||{}).forEach(function(P){B[P]!==void 0&&(E[P]=B[P])}),!(Object.keys(E).length<1))return E}},18876:function(O,L,c){"use strict";c.d(L,{Z:function(){return H}});var j=c(88222),T=c(79685),B=c(50374),E=c(36345),P=c(13782),z=T.createContext(null),U=z,D=c(23570),A=c(67846),m=[];function s(V,N){var G=T.useState(function(){if(!(0,E.Z)())return null;var Ze=document.createElement("div");return Ze}),ue=(0,j.Z)(G,1),ne=ue[0],ie=T.useRef(!1),ye=T.useContext(U),F=T.useState(m),le=(0,j.Z)(F,2),de=le[0],Be=le[1],je=ye||(ie.current?void 0:function(Ze){Be(function(Ge){var Ye=[Ze].concat((0,D.Z)(Ge));return Ye})});function We(){ne.parentElement||document.body.appendChild(ne),ie.current=!0}function Te(){var Ze;(Ze=ne.parentElement)===null||Ze===void 0||Ze.removeChild(ne),ie.current=!1}return(0,A.Z)(function(){return V?ye?ye(We):We():Te(),Te},[V]),(0,A.Z)(function(){de.length&&(de.forEach(function(Ze){return Ze()}),Be(m))},[de]),[ne,je]}var te=c(31936),$=c(57749);function K(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var v="rc-util-locker-".concat(Date.now()),l=0;function x(V){var N=!!V,G=T.useState(function(){return l+=1,"".concat(v,"_").concat(l)}),ue=(0,j.Z)(G,1),ne=ue[0];(0,A.Z)(function(){if(N){var ie=(0,$.Z)(),ye=K();(0,te.hq)(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(ye?"width: calc(100% - ".concat(ie,"px);"):"",`
|
|
}`),ne)}else(0,te.jL)(ne);return function(){(0,te.jL)(ne)}},[N,ne])}var W=!1;function C(V){return typeof V=="boolean"&&(W=V),W}var M=function(N){return N===!1?!1:!(0,E.Z)()||!N?null:typeof N=="string"?document.querySelector(N):typeof N=="function"?N():N},h=T.forwardRef(function(V,N){var G=V.open,ue=V.autoLock,ne=V.getContainer,ie=V.debug,ye=V.autoDestroy,F=ye===void 0?!0:ye,le=V.children,de=T.useState(G),Be=(0,j.Z)(de,2),je=Be[0],We=Be[1],Te=je||G;T.useEffect(function(){(F||G)&&We(G)},[G,F]);var Ze=T.useState(function(){return M(ne)}),Ge=(0,j.Z)(Ze,2),Ye=Ge[0],St=Ge[1];T.useEffect(function(){var gt=M(ne);St(gt!=null?gt:null)});var Mt=s(Te&&!Ye,ie),Et=(0,j.Z)(Mt,2),mt=Et[0],zt=Et[1],ht=Ye!=null?Ye:mt;x(ue&&G&&(0,E.Z)()&&(ht===mt||ht===document.body));var Lt=null;if(le&&(0,P.Yr)(le)&&N){var Ut=le;Lt=Ut.ref}var Kt=(0,P.x1)(Lt,N);if(!Te||!(0,E.Z)()||Ye===void 0)return null;var Gt=ht===!1||C(),Zt=le;return N&&(Zt=T.cloneElement(le,{ref:Kt})),T.createElement(U.Provider,{value:zt},Gt?Zt:(0,B.createPortal)(Zt,ht))}),_=h,H=_},45347:function(O,L,c){"use strict";c.r(L),c.d(L,{default:function(){return Oo}});var j=c(7863),T=c.n(j),B=c(77566),E=c.n(B),P=c(76091),z=c.n(P),U=c(14912),D=c.n(U),A=c(46022),m=c(79685),s=c(16431),te=c(17211),$=c(81033),K=c(66105),v=c(88222),l=c(5543),x=c(86068),W=c(65458),C=c(57133);function M(r,e){var t=typeof r.pageName=="string"?r.title:e;(0,m.useEffect)(function(){(0,C.j)()&&t&&(document.title=t)},[r.title,t])}var h=c(43600);function _(r,e){return e>>>r|e<<32-r}function H(r,e,t){return r&e^~r&t}function V(r,e,t){return r&e^r&t^e&t}function N(r){return _(2,r)^_(13,r)^_(22,r)}function G(r){return _(6,r)^_(11,r)^_(25,r)}function ue(r){return _(7,r)^_(18,r)^r>>>3}function ne(r){return _(17,r)^_(19,r)^r>>>10}function ie(r,e){return r[e&15]+=ne(r[e+14&15])+r[e+9&15]+ue(r[e+1&15])}var ye=[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],F,le,de,Be="0123456789abcdef";function je(r,e){var t=(r&65535)+(e&65535),n=(r>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function We(){F=new Array(8),le=new Array(2),de=new Array(64),le[0]=le[1]=0,F[0]=1779033703,F[1]=3144134277,F[2]=1013904242,F[3]=2773480762,F[4]=1359893119,F[5]=2600822924,F[6]=528734635,F[7]=1541459225}function Te(){var r,e,t,n,a,i,o,d,f,p,g=new Array(16);r=F[0],e=F[1],t=F[2],n=F[3],a=F[4],i=F[5],o=F[6],d=F[7];for(var w=0;w<16;w++)g[w]=de[(w<<2)+3]|de[(w<<2)+2]<<8|de[(w<<2)+1]<<16|de[w<<2]<<24;for(var Z=0;Z<64;Z++)f=d+G(a)+H(a,i,o)+ye[Z],Z<16?f+=g[Z]:f+=ie(g,Z),p=N(r)+V(r,e,t),d=o,o=i,i=a,a=je(n,f),n=t,t=e,e=r,r=je(f,p);F[0]+=r,F[1]+=e,F[2]+=t,F[3]+=n,F[4]+=a,F[5]+=i,F[6]+=o,F[7]+=d}function Ze(r,e){var t,n,a=0;n=le[0]>>3&63;var i=e&63;for((le[0]+=e<<3)<e<<3&&le[1]++,le[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=n;o<64;o++)de[o]=r.charCodeAt(a++);Te(),n=0}for(var d=0;d<i;d++)de[d]=r.charCodeAt(a++)}function Ge(){var r=le[0]>>3&63;if(de[r++]=128,r<=56)for(var e=r;e<56;e++)de[e]=0;else{for(var t=r;t<64;t++)de[t]=0;Te();for(var n=0;n<56;n++)de[n]=0}de[56]=le[1]>>>24&255,de[57]=le[1]>>>16&255,de[58]=le[1]>>>8&255,de[59]=le[1]&255,de[60]=le[0]>>>24&255,de[61]=le[0]>>>16&255,de[62]=le[0]>>>8&255,de[63]=le[0]&255,Te()}function Ye(){for(var r=0,e=new Array(32),t=0;t<8;t++)e[r++]=F[t]>>>24&255,e[r++]=F[t]>>>16&255,e[r++]=F[t]>>>8&255,e[r++]=F[t]&255;return e}function St(){for(var r=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)r+=Be.charAt(F[e]>>>t&15);return r}function Mt(r){return We(),Ze(r,r.length),Ge(),St()}var Et=Mt;function mt(r){return mt=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},mt(r)}var zt=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function ht(r,e){return Kt(r)||Ut(r,e)||Xt(r,e)||Lt()}function Lt(){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 Ut(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],a=!0,i=!1,o,d;try{for(t=t.call(r);!(a=(o=t.next()).done)&&(n.push(o.value),!(e&&n.length===e));a=!0);}catch(f){i=!0,d=f}finally{try{!a&&t.return!=null&&t.return()}finally{if(i)throw d}}return n}}function Kt(r){if(Array.isArray(r))return r}function Gt(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=Xt(r))||e&&r&&typeof r.length=="number"){t&&(r=t);var n=0,a=function(){};return{s:a,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(p){throw p},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,d;return{s:function(){t=t.call(r)},n:function(){var p=t.next();return i=p.done,p},e:function(p){o=!0,d=p},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw d}}}}function Zt(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function Jn(r,e,t){return e&>(r.prototype,e),t&>(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function kn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Rt(r,e)}function qn(r){var e=sn();return function(){var n=It(r),a;if(e){var i=It(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return er(this,a)}}function er(r,e){if(e&&(mt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tr(r)}function tr(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Vt(r){var e=typeof Map=="function"?new Map:void 0;return Vt=function(n){if(n===null||!nr(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,a)}function a(){return At(n,arguments,It(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Rt(a,n)},Vt(r)}function At(r,e,t){return sn()?At=Reflect.construct.bind():At=function(a,i,o){var d=[null];d.push.apply(d,i);var f=Function.bind.apply(a,d),p=new f;return o&&Rt(p,o.prototype),p},At.apply(null,arguments)}function sn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(r){return!1}}function nr(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function Rt(r,e){return Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Rt(r,e)}function It(r){return It=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},It(r)}function cn(r){return or(r)||ar(r)||Xt(r)||rr()}function rr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xt(r,e){if(r){if(typeof r=="string")return Yt(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Yt(r,e)}}function ar(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function or(r){if(Array.isArray(r))return Yt(r)}function Yt(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function ir(r,e){if(r==null)return{};var t=lr(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function lr(r,e){if(r==null)return{};var t={},n=Object.keys(r),a,i;for(i=0;i<n.length;i++)a=n[i],!(e.indexOf(a)>=0)&&(t[a]=r[a]);return t}function fn(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function $e(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?fn(Object(t),!0).forEach(function(n){ur(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):fn(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function ur(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var ze="routes";function $t(r){return r.split("?")[0].split("#")[0]}var Qt=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},dr=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Et(JSON.stringify(e)))}catch(n){}return t&&$t(t)},sr=function(e,t){var n=e.name,a=e.locale;return"locale"in e&&a===!1||!n?!1:e.locale||"".concat(t,".").concat(n)},vn=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("/")||Qt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},cr=function(e,t){var n=e.menu,a=n===void 0?{}:n,i=e.indexRoute,o=e.path,d=o===void 0?"":o,f=e.children||[],p=a.name,g=p===void 0?e.name:p,w=a.icon,Z=w===void 0?e.icon:w,S=a.hideChildren,ee=S===void 0?e.hideChildren:S,Q=a.flatMenu,J=Q===void 0?e.flatMenu:Q,b=i&&Object.keys(i).join(",")!=="redirect"?[$e({path:d,menu:a},i)].concat(f||[]):f,Y=$e({},e);if(g&&(Y.name=g),Z&&(Y.icon=Z),b&&b.length){if(ee)return delete Y.children,Y;var X=Jt($e($e({},t),{},{data:b}),e);if(J)return X;delete Y[ze]}return Y},ft=function(e){return Array.isArray(e)&&e.length>0};function Jt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,a=r.parentName,i=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(o){return o?ft(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var d,f;return!(o==null||(d=o.menu)===null||d===void 0)&&d.name||o!=null&&o.flatMenu||!(o==null||(f=o.menu)===null||f===void 0)&&f.flatMenu?!0:o.menu!==!1}).map(function(o){var d=$e($e({},o),{},{path:o.path||o.originPath});return!d.children&&d[ze]&&(d.children=d[ze],delete d[ze]),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 o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},d=o.children||o[ze]||[],f=vn(o.path,e?e.path:"/"),p=o.name,g=sr(o,a||"menu"),w=g!==!1&&i!==!1&&n&&g?n({id:g,defaultMessage:p}):p,Z=e.pro_layout_parentKeys,S=Z===void 0?[]:Z,ee=e.children,Q=e.icon,J=e.flatMenu,b=e.indexRoute,Y=e.routes,X=ir(e,zt),R=new Set([].concat(cn(S),cn(o.parentKeys||[])));e.key&&R.add(e.key);var I=$e($e($e({},X),{},{menu:void 0},o),{},{path:f,locale:g,key:o.key||dr($e($e({},o),{},{path:f})),pro_layout_parentKeys:Array.from(R).filter(function(k){return k&&k!=="/"})});if(w?I.name=w:delete I.name,I.menu===void 0&&delete I.menu,ft(d)){var re=Jt($e($e({},r),{},{data:d,parentName:g||""}),I);ft(re)&&(I.children=re)}return cr(I,r)}).flat(1)}var fr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||ft(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var n=$e({},t),a=n.children||t[ze]||[];if(delete n[ze],ft(a)&&!n.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return $e($e({},n),{},{children:i})}return $e({},t)}).filter(function(t){return t})},vr=function(r){kn(t,r);var e=qn(t);function t(){return Zt(this,t),e.apply(this,arguments)}return Jn(t,[{key:"get",value:function(a){var i;try{var o=Gt(this.entries()),d;try{for(o.s();!(d=o.n()).done;){var f=ht(d.value,2),p=f[0],g=f[1],w=$t(p);if(!Qt(p)&&(0,h.Bo)(w,[]).test(a)){i=g;break}}}catch(Z){o.e(Z)}finally{o.f()}}catch(Z){i=void 0}return i}}]),t}(Vt(Map)),pr=function(e){var t=new vr,n=function a(i,o){i.forEach(function(d){var f=d.children||d[ze]||[];ft(f)&&a(f,d);var p=vn(d.path,o?o.path:"/");t.set($t(p),d)})};return n(e),t},mr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var n=t.children||t[ze];if(ft(n)){var a=r(n);if(a.length)return $e({},t)}var i=$e({},t);return delete i[ze],delete i.children,i}).filter(function(t){return t})},hr=function(e,t,n,a){var i=Jt({data:e,formatMessage:n,locale:t}),o=a?mr(i):fr(i),d=pr(i);return{breadcrumb:d,menuData:o}},gr=hr;function pn(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function wt(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?pn(Object(t),!0).forEach(function(n){yr(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):pn(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function yr(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var xr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(n){var a=wt({},n);if(!(!a||!a.key)){!a.children&&a[ze]&&(a.children=a[ze],delete a[ze]);var i=a.children||[];t[$t(a.path||a.key||"/")]=wt({},a),t[a.key||a.path||"/"]=wt({},a),i&&(t=wt(wt({},t),r(i)))}}),t},Cr=xr,br=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&t==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!Qt(a)){var i=$t(a);try{if(n&&(0,h.Bo)("".concat(i)).test(t)||(0,h.Bo)("".concat(i),[]).test(t)||(0,h.Bo)("".concat(i,"/(.*)")).test(t))return!0}catch(o){}}return!1}).sort(function(a,i){return a===t?10:i===t?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},Sr=function(e,t,n,a){var i=Cr(t),o=Object.keys(i),d=br(o,e||"/",a);return!d||d.length<1?[]:(n||(d=[d[d.length-1]]),d.map(function(f){var p=i[f]||{pro_layout_parentKeys:"",key:""},g=new Map,w=(p.pro_layout_parentKeys||[]).map(function(Z){return g.has(Z)?null:(g.set(Z,!0),i[Z])}).filter(function(Z){return Z});return p.key&&w.push(p),w}).flat(1))},Mr=Sr,Qe=c(69567),Nt=c(51161),Zr=c(57512);const jt=Nt.ZP;jt.Header=Nt.h4,jt.Footer=Nt.$_,jt.Content=Nt.VY,jt.Sider=Zr.Z;var yt=jt,Rr=c(68591),fe=c.n(Rr),mn=c(12869),Ir=c(43054),hn=c(6794),$r=c(39078),u=c(63342),wr=function(){return(0,u.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,u.jsxs)("defs",{children:[(0,u.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,u.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,u.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,u.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,u.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,u.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,u.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,u.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,u.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,u.jsxs)("g",{children:[(0,u.jsxs)("g",{fillRule:"nonzero",children:[(0,u.jsxs)("g",{children:[(0,u.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,u.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,u.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,u.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},jr={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"},Tr=jr,gn=c(30877),yn=function(e,t){return m.createElement(gn.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:Tr}))};yn.displayName="CopyrightOutlined";var _r=m.forwardRef(yn),Ae=c(32788),Pr=function(e){return(0,s.Z)({},e.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:e.colorTextSecondary,"&-link":{color:e.colorTextSecondary,textDecoration:e.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8,"&:hover":{color:e.colorText}}},"&-copyright":{fontSize:"14px",color:e.colorText}})};function Er(r){return(0,Ae.Xj)("ProLayoutFooter",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[Pr(t)]})}var Lr=function(e){var t=e.className,n=e.prefixCls,a=e.links,i=e.copyright,o=e.style,d=(0,m.useContext)(Qe.ZP.ConfigContext),f=d.getPrefixCls(n||"pro-global-footer"),p=Er(f),g=p.wrapSSR,w=p.hashId;return(a==null||a===!1||Array.isArray(a)&&a.length===0)&&(i==null||i===!1)?null:g((0,u.jsxs)("div",{className:fe()(f,w,t),style:o,children:[a&&(0,u.jsx)("div",{className:"".concat(f,"-list ").concat(w),children:a.map(function(Z){return(0,u.jsx)("a",{className:"".concat(f,"-list-link ").concat(w),title:Z.key,target:Z.blankTarget?"_blank":"_self",href:Z.href,rel:"noreferrer",children:Z.title},Z.key)})}),i&&(0,u.jsx)("div",{className:"".concat(f,"-copyright ").concat(w),children:i})]}))},Ar=yt.Footer,Nr=function(e){var t=e.links,n=e.copyright,a=e.style,i=e.className,o=e.prefixCls;return(0,u.jsx)(Ar,{className:i,style:(0,l.Z)({padding:0},a),children:(0,u.jsx)(Lr,{links:t,prefixCls:o,copyright:n===!1?null:(0,u.jsxs)(m.Fragment,{children:[(0,u.jsx)(_r,{})," ",n]})})})},Br=function(e){var t,n,a,i,o,d;return(0,s.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,s.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:(e==null||(t=e.layout)===null||t===void 0||(n=t.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat((e==null||(a=e.layout)===null||a===void 0||(i=a.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||(o=e.layout)===null||o===void 0||(d=o.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(r){return(0,Ae.Xj)("ProLayoutHeader",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[Br(t)]})}var xn=function r(e){return(e||[]).reduce(function(t,n){if(n.key&&t.push(n.key),n.children||n.routes){var a=t.concat(r(n.children||n.routes)||[]);return a}return t},[])},Cn={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Xo(r){return r&&Cn[r]?Cn[r]:r}function Bt(r){return r.map(function(e){var t=e.children||[],n=(0,l.Z)({},e);if(!n.children&&n.routes&&(n.children=n.routes),!n.name||n.hideInMenu)return null;if(n&&n!==null&&n!==void 0&&n.children){if(!n.hideChildrenInMenu&&t.some(function(a){return a&&a.name&&!a.hideInMenu}))return(0,l.Z)((0,l.Z)({},e),{},{children:Bt(t)});delete n.children}return delete n.routes,n}).filter(function(e){return e})}var Dr={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"},Hr=Dr,bn=function(e,t){return m.createElement(gn.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:Hr}))};bn.displayName="MenuOutlined";var Fr=m.forwardRef(bn),Sn=c(28228),Wr=c(48526),zr=function(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Ur=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(n,"-content ").concat(a),children:(0,u.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a),children:t==null?void 0:t.map(function(o,d){var f;return o!=null&&(f=o.children)!==null&&f!==void 0&&f.length?(0,u.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a),children:[(0,u.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a),children:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]}):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a),children:(0,u.jsxs)("a",{href:i?"javascript:;":o.url,onClick:function(){return i==null?void 0:i(o)},target:o.target,rel:"noreferrer",children:[qt(o.icon),(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{children:o.title}),o.desc?(0,u.jsx)("span",{children:o.desc}):null]})]})},d)})})})},kt=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},Kr=function(e,t){if(e&&typeof e=="string"&&kt(e))return(0,u.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,u.jsx)("div",{id:"avatarLogo",children:e});if(!e&&t&&typeof t=="string"){var n=t.substring(0,1);return(0,u.jsx)("div",{id:"avatarLogo",children:n})}return e},Gr=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(n,"-content ").concat(a),children:(0,u.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a),children:t==null?void 0:t.map(function(o,d){var f;return o!=null&&(f=o.children)!==null&&f!==void 0&&f.length?(0,u.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a),children:[(0,u.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a),children:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]}):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a),children:(0,u.jsxs)("a",{href:i?"javascript:;":o.url,onClick:function(){return i==null?void 0:i(o)},target:o.target,rel:"noreferrer",children:[Kr(o.icon,o.title),(0,u.jsx)("div",{children:(0,u.jsx)("div",{children:o.title})})]})},d)})})})},Vr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","> *":{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,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},"*":{boxSizing:"border-box",fontFamily:e.fontFamily},"* div":Ae.Wf===null||Ae.Wf===void 0?void 0:(0,Ae.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"}}}}}}},Xr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","*":{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,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:e.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:e.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Yr=function(e){var t,n,a,i,o,d;return(0,s.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||(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIconHover,backgroundColor:e==null||(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:e==null||(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:e==null||(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(d={},(0,s.Z)(d,"".concat(e.antCls,"-popover-arrow"),{display:"none"}),(0,s.Z)(d,"*",{boxSizing:"border-box",fontFamily:e.fontFamily}),d),"&-simple":Xr(e),"&-default":Vr(e)})};function Qr(r){return(0,Ae.Xj)("AppsLogoComponents",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[Yr(t)]})}var qt=function(e){return typeof e=="string"?(0,u.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},en=function(e){var t,n=e.appList,a=e.prefixCls,i=a===void 0?"ant-pro":a,o=e.itemClick,d=m.useRef(null),f=m.useRef(null),p="".concat(i,"-layout-apps"),g=Qr(p),w=g.wrapSSR,Z=g.hashId,S=(0,m.useState)(!1),ee=(0,v.Z)(S,2),Q=ee[0],J=ee[1],b=function(I){o==null||o(I,f)},Y=(0,m.useMemo)(function(){var R=n==null?void 0:n.some(function(I){return!(I!=null&&I.desc)});return R?(0,u.jsx)(Gr,{hashId:Z,appList:n,itemClick:o?b:void 0,baseClassName:"".concat(p,"-simple")}):(0,u.jsx)(Ur,{hashId:Z,appList:n,itemClick:o?b:void 0,baseClassName:"".concat(p,"-default")})},[n,p,Z]);if(!(e!=null&&(t=e.appList)!==null&&t!==void 0&&t.length))return null;var X=(0,Sn.X)(void 0,function(R){return J(R)});return w((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:d,onClick:function(I){I.stopPropagation(),I.preventDefault()}}),(0,u.jsx)(Wr.Z,(0,l.Z)((0,l.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrowPointAtCenter:!0},X),{},{overlayClassName:"".concat(p,"-popover ").concat(Z),content:Y,getPopupContainer:function(){return d.current||document.body},children:(0,u.jsx)("span",{ref:f,onClick:function(I){I.stopPropagation()},className:fe()("".concat(p,"-icon"),Z,(0,s.Z)({},"".concat(p,"-icon-active"),Q)),children:(0,u.jsx)(zr,{})})}))]}))},Mn=c(55807),tn=c(44659),nn=c(25825);function Jr(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.jsx)("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var kr=function(e){var t,n,a,i,o,d;return(0,s.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||(n=t.sider)===null||n===void 0?void 0:n.colorTextCollapsedButton,backgroundColor:e==null||(a=e.layout)===null||a===void 0||(i=a.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||(o=e.layout)===null||o===void 0||(d=o.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 qr(r){return(0,Ae.Xj)("SiderMenuCollapsedIcon",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[kr(t)]})}var ea=["isMobile","collapsed"],ta=function(e){var t,n=e.isMobile,a=e.collapsed,i=(0,K.Z)(e,ea),o=qr(e.className),d=o.wrapSSR,f=o.hashId;return n&&a?null:d((0,u.jsx)("div",(0,l.Z)((0,l.Z)({},i),{},{className:fe()(e.className,f,(t={},(0,s.Z)(t,"".concat(e.className,"-collapsed"),a),(0,s.Z)(t,"".concat(e.className,"-is-mobile"),n),t)),children:(0,u.jsx)(Jr,{})})))},Ot=c(23570),na=c(71320),ra=c(3836),aa=c(72972),Dt=c(94842),oa=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],Zn=m.forwardRef(function(r,e){var t=r.className,n=r.component,a=r.viewBox,i=r.spin,o=r.rotate,d=r.tabIndex,f=r.onClick,p=r.children,g=(0,K.Z)(r,oa);(0,Dt.Kp)(Boolean(n||p),"Should have `component` prop or `children`."),(0,Dt.C3)();var w=m.useContext(aa.Z),Z=w.prefixCls,S=Z===void 0?"anticon":Z,ee=w.rootClassName,Q=fe()(ee,S,t),J=fe()((0,s.Z)({},"".concat(S,"-spin"),!!i)),b=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,Y=(0,l.Z)((0,l.Z)({},Dt.vD),{},{className:J,style:b,viewBox:a});a||delete Y.viewBox;var X=function(){return n?m.createElement(n,(0,l.Z)({},Y),p):p?((0,Dt.Kp)(Boolean(a)||m.Children.count(p)===1&&m.isValidElement(p)&&m.Children.only(p).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),m.createElement("svg",(0,l.Z)((0,l.Z)({},Y),{},{viewBox:a}),p)):null},R=d;return R===void 0&&f&&(R=-1),m.createElement("span",(0,l.Z)((0,l.Z)({role:"img"},g),{},{ref:e,tabIndex:R,onClick:f,className:Q}),X())});Zn.displayName="AntdIcon";var ia=Zn,la=["type","children"],Rn=new Set;function ua(r){return Boolean(typeof r=="string"&&r.length&&!Rn.has(r))}function Ht(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=r[e];if(ua(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),r.length>e+1&&(n.onload=function(){Ht(r,e+1)},n.onerror=function(){Ht(r,e+1)}),Rn.add(t),document.body.appendChild(n)}}function In(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,t=r.extraCommonProps,n=t===void 0?{}:t;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?Ht(e.reverse()):Ht([e]));var a=m.forwardRef(function(i,o){var d=i.type,f=i.children,p=(0,K.Z)(i,la),g=null;return i.type&&(g=m.createElement("use",{xlinkHref:"#".concat(d)})),f&&(g=f),m.createElement(ia,(0,l.Z)((0,l.Z)((0,l.Z)({},n),p),{},{ref:o}),g)});return a.displayName="Iconfont",a}function da(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var sa=c(869),$n={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},ca=function(e){var t,n,a,i,o,d,f;return(0,s.Z)({},"".concat(e.componentCls),(f={background:"transparent",border:"none"},(0,s.Z)(f,"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),(0,s.Z)(f,"".concat(e.componentCls,"-submenu-has-icon"),(0,s.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),(0,s.Z)(f,"&&-collapsed",(a={},(0,s.Z)(a,"".concat(e.antCls,`-menu-item,
|
|
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item,
|
|
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title,
|
|
`).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),(0,s.Z)(a,"".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||(n=t.sider)===null||n===void 0?void 0:n.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),(0,s.Z)(a,"".concat(e.componentCls,"-group"),(0,s.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),a)),(0,s.Z)(f,"".concat(e.componentCls,"-item-icon"),{height:"14px",width:"14px",opacity:"0.85",".anticon":{lineHeight:"14px",height:"14px"}}),(0,s.Z)(f,"& &-item-title",(d={display:"flex",flexDirection:"row",alignItems:"center","&-collapsed":(i={flexDirection:"column",justifyContent:"center"},(0,s.Z)(i,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%"}),(0,s.Z)(i,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),i)},(0,s.Z)(d,"&".concat(e.componentCls,"-group-item-title"),{gap:4,height:18,overflow:"hidden"}),(0,s.Z)(d,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,s.Z)({lineHeight:"16px",height:"48px"},"&".concat(e.componentCls,"-item-title-collapsed"),(o={display:"flex"},(0,s.Z)(o,"".concat(e.componentCls,"-item-icon"),{height:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px",height:"16px"}}),(0,s.Z)(o,"".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}),o))),d)),(0,s.Z)(f,"&-group",(0,s.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,s.Z)(f,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),f))};function fa(r){return(0,Ae.Xj)("ProLayoutBaseMenu",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[ca(t)]})}var wn=In({scriptUrl:$n.iconfontUrl}),jn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",n=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(kt(e)||da(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,u.jsx)(wn,{type:e})}return e},Tn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},va=(0,na.Z)(function r(e){var t=this;(0,ra.Z)(this,r),(0,s.Z)(this,"props",void 0),(0,s.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return n.map(function(i){return t.getSubMenuOrItem(i,a)}).filter(function(i){return i}).flat(1)}),(0,s.Z)(this,"getSubMenuOrItem",function(n,a){var i=t.props,o=i.subMenuItemRender,d=i.baseClassName,f=i.prefixCls,p=i.collapsed,g=i.menu,w=i.iconPrefixes,Z=i.layout,S=(g==null?void 0:g.type)==="group"&&Z!=="top",ee=t.props.token,Q=t.getIntlName(n),J=(n==null?void 0:n.children)||(n==null?void 0:n.routes),b=S&&a===0?"group":void 0;if(Array.isArray(J)&&J.length>0){var Y,X,R,I,re,k,oe,se,y=a===0||S&&a===1,q=jn(n.icon,w,"action ".concat(d,"-icon ").concat((Y=t.props)===null||Y===void 0?void 0:Y.hashId)),xe=p&&y?Tn(Q):null,pe=(0,u.jsxs)("div",{title:Q,className:fe()("".concat(d,"-item-title"),(X=t.props)===null||X===void 0?void 0:X.hashId,(R={},(0,s.Z)(R,"".concat(d,"-item-title-collapsed"),p),(0,s.Z)(R,"".concat(d,"-group-item-title"),b==="group"),(0,s.Z)(R,"".concat(d,"-item-collapsed-show-title"),(g==null?void 0:g.collapsedShowTitle)&&p),R)),children:[b==="group"&&p?null:y&&q?(0,u.jsx)("span",{className:"anticon ".concat(d,"-item-icon ").concat((I=t.props)===null||I===void 0?void 0:I.hashId),children:q}):xe,(0,u.jsx)("span",{className:fe()("".concat(d,"-item-text"),(re=t.props)===null||re===void 0?void 0:re.hashId,(0,s.Z)({},"".concat(d,"-item-text-has-icon"),b!=="group"&&y&&(q||xe))),children:Q})]}),ce=o?o((0,l.Z)((0,l.Z)({},n),{},{isUrl:!1}),pe,t.props):pe,me=t.getNavMenuItems(J,a+1);return S&&a===0&&t.props.collapsed&&!g.collapsedShowGroupTitle?me:[{type:b,key:n.key||n.path,title:n.tooltip||ce,label:ce,onClick:S?void 0:n.onTitleClick,children:me,className:fe()((k={},(0,s.Z)(k,"".concat(d,"-group"),b==="group"),(0,s.Z)(k,"".concat(d,"-submenu"),b!=="group"),(0,s.Z)(k,"".concat(d,"-submenu-has-icon"),b!=="group"&&y&&q),k))},S&&a===0?{type:"divider",prefixCls:f,className:"".concat(d,"-divider"),key:(n.key||n.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:t.props.collapsed?"4px":"6px 16px",marginBlockStart:t.props.collapsed?4:8,borderColor:ee==null||(oe=ee.layout)===null||oe===void 0||(se=oe.sider)===null||se===void 0?void 0:se.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),title:n.tooltip||Q,disabled:n.disabled,key:n.key||n.path,onClick:n.onTitleClick,label:t.getMenuItemPath(n,a)}}),(0,s.Z)(this,"getIntlName",function(n){var a=n.name,i=n.locale,o=t.props,d=o.menu,f=o.formatMessage;return i&&(d==null?void 0:d.locale)!==!1?f==null?void 0:f({id:i,defaultMessage:a}):a}),(0,s.Z)(this,"getMenuItemPath",function(n,a){var i,o,d,f,p,g=t.conversionPath(n.path||"/"),w=t.props,Z=w.location,S=Z===void 0?{pathname:"/"}:Z,ee=w.isMobile,Q=w.onCollapse,J=w.menuItemRender,b=w.iconPrefixes,Y=t.getIntlName(n),X=t.props,R=X.baseClassName,I=X.menu,re=X.collapsed,k=(I==null?void 0:I.type)==="group",oe=a===0||k&&a===1,se=oe?jn(n.icon,b,"".concat(R,"-icon ").concat((i=t.props)===null||i===void 0?void 0:i.hashId)):null,y=re&&oe?Tn(Y):null,q=(0,u.jsxs)("div",{className:fe()("".concat(R,"-item-title"),(o=t.props)===null||o===void 0?void 0:o.hashId,(d={},(0,s.Z)(d,"".concat(R,"-item-title-collapsed"),re),(0,s.Z)(d,"".concat(R,"-item-collapsed-show-title"),(I==null?void 0:I.collapsedShowTitle)&&re),d)),children:[se?(0,u.jsx)("span",{className:"anticon ".concat(R,"-item-icon ").concat((f=t.props)===null||f===void 0?void 0:f.hashId),children:se}):y,(0,u.jsx)("span",{className:fe()("".concat(R,"-item-text"),(p=t.props)===null||p===void 0?void 0:p.hashId,(0,s.Z)({},"".concat(R,"-item-text-has-icon"),oe&&(se||y))),children:Y})]},g),xe=kt(g);if(xe){var pe,ce,me,Ee;q=(0,u.jsxs)("span",{title:Y,onClick:function(){var Ce,be;(Ce=window)===null||Ce===void 0||(be=Ce.open)===null||be===void 0||be.call(Ce,g,"_blank")},className:fe()("".concat(R,"-item-title"),(pe=t.props)===null||pe===void 0?void 0:pe.hashId,(ce={},(0,s.Z)(ce,"".concat(R,"-item-title-collapsed"),re),(0,s.Z)(ce,"".concat(R,"-item-link"),!0),(0,s.Z)(ce,"".concat(R,"-item-collapsed-show-title"),(I==null?void 0:I.collapsedShowTitle)&&re),ce)),children:[se?(0,u.jsx)("span",{className:"anticon ".concat(R,"-item-icon ").concat((me=t.props)===null||me===void 0?void 0:me.hashId),children:se}):y,(0,u.jsx)("span",{className:fe()("".concat(R,"-item-text"),(Ee=t.props)===null||Ee===void 0?void 0:Ee.hashId,(0,s.Z)({},"".concat(R,"-item-text-has-icon"),oe&&(se||y))),children:Y})]},g)}if(J){var Ie=(0,l.Z)((0,l.Z)({},n),{},{isUrl:xe,itemPath:g,isMobile:ee,replace:g===S.pathname,onClick:function(){return Q&&Q(!0)},children:void 0});return J(Ie,q,t.props)}return q}),(0,s.Z)(this,"conversionPath",function(n){return n&&n.indexOf("http")===0?n:"/".concat(n||"").replace(/\/+/g,"/")}),this.props=e}),pa=function(e,t){var n=t.layout,a=t.collapsed,i={};return e&&!a&&["side","mix"].includes(n||"mix")&&(i={openKeys:e}),i},_n=function(e){var t,n=e.mode,a=e.className,i=e.handleOpenChange,o=e.style,d=e.menuData,f=e.prefixCls,p=e.menu,g=e.matchMenuKeys,w=e.iconfontUrl,Z=e.selectedKeys,S=e.onSelect,ee=e.menuRenderType,Q=e.openKeys,J=(0,m.useContext)(x.L_),b=J.token,Y="".concat(f,"-base-menu"),X=(0,m.useRef)([]),R=(0,W.Z)(p==null?void 0:p.defaultOpenAll),I=(0,v.Z)(R,2),re=I[0],k=I[1],oe=(0,W.Z)(function(){return p!=null&&p.defaultOpenAll?xn(d)||[]:Q===!1?!1:[]},{value:Q===!1?void 0:Q,onChange:i}),se=(0,v.Z)(oe,2),y=se[0],q=se[1],xe=(0,W.Z)([],{value:Z,onChange:S?function(Se){S&&Se&&S(Se)}:void 0}),pe=(0,v.Z)(xe,2),ce=pe[0],me=pe[1];(0,m.useEffect)(function(){p!=null&&p.defaultOpenAll||Q===!1||g&&(q(g),me(g))},[g.join("-")]),(0,m.useEffect)(function(){w&&(wn=In({scriptUrl:w}))},[w]),(0,m.useEffect)(function(){if(g.join("-")!==(ce||[]).join("-")&&me(g),!re&&Q!==!1&&g.join("-")!==(y||[]).join("-")){var Se=g;(p==null?void 0:p.autoClose)===!1&&(Se=Array.from(new Set([].concat((0,Ot.Z)(g),(0,Ot.Z)(y||[]))))),q(Se)}else p!=null&&p.ignoreFlatMenu&&re?q(xn(d)):k(!1)},[g.join("-")]);var Ee=(0,m.useMemo)(function(){return pa(y,e)},[y&&y.join(","),e.layout,e.collapsed]),Ie=fa(Y),we=Ie.wrapSSR,Ce=Ie.hashId,be=(0,m.useMemo)(function(){return new va((0,l.Z)((0,l.Z)({},e),{},{token:b,menuRenderType:ee,baseClassName:Y,hashId:Ce}))},[e,b,ee,Y,Ce]);if(p!=null&&p.loading)return(0,u.jsx)("div",{style:n!=null&&n.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(sa.Z,{active:!0,title:!1,paragraph:{rows:n!=null&&n.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(X.current=g);var Re=e.postMenuData?e.postMenuData(d):d;return Re&&(Re==null?void 0:Re.length)<1?null:we((0,m.createElement)(nn.Z,(0,l.Z)((0,l.Z)({},Ee),{},{key:"Menu",mode:n,inlineIndent:16,defaultOpenKeys:X.current,theme:"light",selectedKeys:ce,style:(0,l.Z)({backgroundColor:"transparent",border:"none"},o),className:fe()(a,Ce,Y,(t={},(0,s.Z)(t,"".concat(Y,"-horizontal"),n==="horizontal"),(0,s.Z)(t,"".concat(Y,"-collapsed"),e.collapsed),t)),items:be.getNavMenuItems(Re,0),onOpenChange:function(Oe){e.collapsed||q(Oe)}},e.menuProps)))};function ma(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,Ae.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,l.Z)((0,l.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,s.Z)({},a.proComponentsCls,(0,s.Z)({},"".concat(a.proComponentsCls,"-layout"),(0,s.Z)({},"".concat(i.componentCls),t==null?void 0:t(i))))]:[]})}var ha=yt.Sider,rn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",n=e.logo,a=e.title,i=e.layout,o=e[t||""];if(o===!1)return null;var d=qt(n),f=(0,u.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(d,e.collapsed?null:f,e):e.isMobile?null:i==="mix"&&t==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:d},"title"):(0,u.jsxs)("a",{children:[d,f]},"title")},Pn=function(e){var t,n,a,i,o,d,f,p,g,w,Z,S,ee,Q,J,b=e.collapsed,Y=e.originCollapsed,X=e.fixSiderbar,R=e.menuFooterRender,I=e.onCollapse,re=e.theme,k=e.siderWidth,oe=e.isMobile,se=e.onMenuHeaderClick,y=e.breakpoint,q=y===void 0?"lg":y,xe=e.style,pe=e.layout,ce=e.menuExtraRender,me=ce===void 0?!1:ce,Ee=e.links,Ie=e.menuContentRender,we=e.collapsedButtonRender,Ce=e.prefixCls,be=e.avatarProps,Re=e.rightContentRender,Se=e.actionsRender,Oe=e.onOpenChange,Ue=e.stylish,Je=e.logoStyle,Ke=(0,m.useContext)(x.L_),ve=Ke.hashId,he=(0,m.useMemo)(function(){return!(oe||pe==="mix")},[oe,pe]),ae="".concat(Ce,"-sider"),Ve=ma("".concat(ae,".").concat(ae,"-stylish"),{stylish:Ue,proLayoutCollapsedWidth:64}),Ne=fe()("".concat(ae),ve,(t={},(0,s.Z)(t,"".concat(ae,"-fixed"),X),(0,s.Z)(t,"".concat(ae,"-collapsed"),e.collapsed),(0,s.Z)(t,"".concat(ae,"-layout-").concat(pe),pe&&!oe),(0,s.Z)(t,"".concat(ae,"-light"),re!=="dark"),(0,s.Z)(t,"".concat(ae,"-mix"),pe==="mix"&&!oe),(0,s.Z)(t,"".concat(ae,"-stylish"),!!Ue),t)),_e=rn(e),De=me&&me(e),He=(0,m.useMemo)(function(){return Ie!==!1&&(0,m.createElement)(_n,(0,l.Z)((0,l.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:Oe,style:{width:"100%"},className:"".concat(ae,"-menu ").concat(ve)}))},[ae,ve,Ie,Oe,e]),ke=(Ee||[]).map(function(Me,Fe){return{className:"".concat(ae,"-link"),label:Me,key:Fe}}),nt=(0,m.useMemo)(function(){return Ie?Ie(e,He):He},[Ie,He,e]),ot=(0,m.useMemo)(function(){return be&&(0,u.jsxs)(Mn.Z,{align:"center",className:"".concat(ae,"-actions-avatar"),children:[(0,u.jsx)(tn.C,(0,l.Z)({size:28},be)),be.title&&!b&&(0,u.jsx)("span",{children:be.title})]})},[be,ae,b]),lt=(0,m.useMemo)(function(){return Se?(0,u.jsx)(Mn.Z,{align:"center",size:4,direction:b?"vertical":"horizontal",className:fe()(["".concat(ae,"-actions-list"),b&&"".concat(ae,"-actions-list-collapsed"),ve]),children:Se==null?void 0:Se(e).map(function(Me,Fe){return(0,u.jsx)("div",{className:"".concat(ae,"-actions-list-item ").concat(ve),children:Me},Fe)})}):null},[Se,ae,b]),qe=(0,m.useMemo)(function(){return(0,u.jsx)(en,{itemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),vt=(0,m.useMemo)(function(){if(we===!1)return null;var Me=(0,u.jsx)(ta,{isMobile:oe,collapsed:Y,className:"".concat(ae,"-collapsed-button"),onClick:function(){I==null||I(!Y)}});return we?we(b,Me):Me},[we,oe,Y,ae,b,I]),Xe=(0,m.useMemo)(function(){return!ot&&!lt?null:(0,u.jsxs)("div",{className:fe()("".concat(ae,"-actions"),ve,b&&"".concat(ae,"-actions-collapsed")),children:[ot,lt]})},[lt,ot,ae,b,ve]),Pe=60,et=(0,m.useMemo)(function(){var Me;return e!=null&&(Me=e.menu)!==null&&Me!==void 0&&Me.hideMenuWhenCollapsed&&b?"".concat(ae,"-hide-menu-collapsed"):null},[ae,b,e==null||(n=e.menu)===null||n===void 0?void 0:n.hideMenuWhenCollapsed]),ut=R&&(R==null?void 0:R(e)),it=(0,u.jsxs)(u.Fragment,{children:[_e&&(0,u.jsxs)("div",{className:fe()([fe()("".concat(ae,"-logo"),ve,(0,s.Z)({},"".concat(ae,"-logo-collapsed"),b))]),onClick:he?se:void 0,id:"logo",style:Je,children:[_e,qe]}),De&&(0,u.jsx)("div",{className:fe()(["".concat(ae,"-extra"),!_e&&"".concat(ae,"-extra-no-logo"),ve]),children:De}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:nt}),Ee?(0,u.jsx)("div",{className:"".concat(ae,"-links ").concat(ve),children:(0,u.jsx)(nn.Z,{inlineIndent:16,className:"".concat(ae,"-link-menu ").concat(ve),selectedKeys:[],openKeys:[],theme:"light",mode:"inline",items:ke})}):null,he&&(0,u.jsxs)(u.Fragment,{children:[Xe,Re?(0,u.jsx)("div",{className:fe()("".concat(ae,"-actions"),ve,(0,s.Z)({},"".concat(ae,"-actions-collapsed"),b)),children:Re==null?void 0:Re(e)}):null]}),ut&&(0,u.jsx)("div",{className:fe()(["".concat(ae,"-footer"),ve,(0,s.Z)({},"".concat(ae,"-footer-collapsed"),b)]),children:ut})]}),tt=(0,m.useContext)(x.L_),ge=tt.token;return Ve.wrapSSR((0,u.jsxs)(u.Fragment,{children:[X&&!oe&&!et&&(0,u.jsx)("div",{style:(0,l.Z)({width:b?Pe:k,overflow:"hidden",flex:"0 0 ".concat(b?Pe:k,"px"),maxWidth:b?Pe:k,minWidth:b?Pe:k,transition:"all 0.2s ease 0s"},xe)}),(0,u.jsxs)(ha,{collapsible:!0,trigger:null,collapsed:b,breakpoint:q===!1?void 0:q,onCollapse:function(Fe){oe||I==null||I(Fe)},collapsedWidth:Pe,style:xe,theme:"light",width:k,className:fe()(Ne,ve,et),children:[(0,u.jsx)(Qe.ZP,{theme:{hashed:((a="production")===null||a===void 0?void 0:a.toLowerCase())!=="test",components:{Menu:{radiusItem:4,colorItemBgSelected:(ge==null||(i=ge.layout)===null||i===void 0||(o=i.sider)===null||o===void 0?void 0:o.colorBgMenuItemSelected)||"rgba(0, 0, 0, 0.04)",colorItemBgActive:(ge==null||(d=ge.layout)===null||d===void 0||(f=d.sider)===null||f===void 0?void 0:f.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(ge==null||(p=ge.layout)===null||p===void 0||(g=p.sider)===null||g===void 0?void 0:g.colorTextMenu)||"rgba(0, 0, 0, 0.65)",colorItemTextHover:(ge==null||(w=ge.layout)===null||w===void 0||(Z=w.sider)===null||Z===void 0?void 0:Z.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(ge==null||(S=ge.layout)===null||S===void 0||(ee=S.sider)===null||ee===void 0?void 0:ee.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorItemBg:"transparent",colorSubItemBg:"transparent",colorBgElevated:(ge==null||(Q=ge.layout)===null||Q===void 0||(J=Q.sider)===null||J===void 0?void 0:J.colorBgMenuItemCollapsedElevated)||"#fff"}}},children:et?(0,u.jsx)("div",{className:"".concat(ae,"-hide-when-collapsed ").concat(ve),style:{height:"100%",width:"100%",opacity:et?0:1},children:it}):it}),vt]})]}))},ga=c(71728),ya=c(34635),xa=function(e){var t,n,a,i,o,d;return(0,s.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||(n=t.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:e==null||(a=e.layout)===null||a===void 0||(i=a.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||(o=e.layout)===null||o===void 0||(d=o.header)===null||d===void 0?void 0:d.colorBgRightActionsItemHover}}}}})};function Ca(r){return(0,Ae.Xj)("ProLayoutRightContent",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[xa(t)]})}var ba=["rightContentRender","avatarProps","actionsRender","headerContentRender"],Sa=["title"],En=function(e){var t=e.rightContentRender,n=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,K.Z)(e,ba),d=(0,m.useContext)(Qe.ZP.ConfigContext),f=d.getPrefixCls,p="".concat(f(),"-pro-global-header"),g=Ca(p),w=g.wrapSSR,Z=g.hashId,S=(0,m.useState)("auto"),ee=(0,v.Z)(S,2),Q=ee[0],J=ee[1],b=(0,m.useMemo)(function(){if(!n)return null;var R=n.title,I=(0,K.Z)(n,Sa);return[(0,m.createElement)(tn.C,(0,l.Z)((0,l.Z)({},I),{},{size:28,key:"avatar"})),R?(0,u.jsx)("span",{style:{marginInlineStart:8},children:R},"name"):void 0]},[n]),Y=function(I){var re=a&&(a==null?void 0:a(I));return!re&&!b?null:(Array.isArray(re)||(re=[re]),w((0,u.jsxs)("div",{className:"".concat(p,"-header-actions ").concat(Z),children:[re.filter(Boolean).map(function(k,oe){var se=!1;if(m.isValidElement(k)){var y;se=!!(k!=null&&(y=k.props)!==null&&y!==void 0&&y["aria-hidden"])}return(0,u.jsx)("div",{className:fe()("".concat(p,"-header-actions-item ").concat(Z),(0,s.Z)({},"".concat(p,"-header-actions-hover"),!se)),children:k},oe)}),b&&(0,u.jsx)("span",{className:"".concat(p,"-header-actions-avatar ").concat(Z),children:(0,u.jsx)("div",{children:b})})]})))},X=(0,ga.D)(function(){var R=(0,$.Z)((0,te.Z)().mark(function I(re){return(0,te.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:J(re);case 1:case"end":return oe.stop()}},I)}));return function(I){return R.apply(this,arguments)}}(),160);return(0,u.jsx)("div",{className:"".concat(p,"-right-content ").concat(Z),style:{minWidth:Q,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(ya.Z,{onResize:function(I){var re=I.width;X.run(re)},children:(t||Y)&&(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:(t||Y)((0,l.Z)((0,l.Z)({},o),{},{rightContentSize:Q}))})})})})},Ma=function(e){var t,n,a,i;return(0,s.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,s.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||(n=t.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(((e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56)-12,"px")}})};function Za(r){return(0,Ae.Xj)("ProLayoutTopNavHeader",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[Ma(t)]})}var Ln=function(e){var t,n,a,i,o,d,f,p,g,w,Z,S,ee=(0,m.useRef)(null),Q=e.onMenuHeaderClick,J=e.contentWidth,b=e.rightContentRender,Y=e.className,X=e.style,R=e.headerContentRender,I=e.layout,re=e.actionsRender,k=(0,m.useContext)(Qe.ZP.ConfigContext),oe=k.getPrefixCls,se=(0,m.useContext)(x.L_),y=se.token,q="".concat(e.prefixCls||oe("pro"),"-top-nav-header"),xe=Za(q),pe=xe.wrapSSR,ce=xe.hashId,me=rn((0,l.Z)((0,l.Z)({},e),{},{collapsed:!1}),I==="mix"||I=="top"?"headerTitleRender":void 0),Ee=(0,m.useMemo)(function(){var Ie,we,Ce,be,Re,Se,Oe,Ue,Je,Ke,ve,he,ae,Ve,Ne,_e,De,He,ke=(0,u.jsx)(Qe.ZP,{theme:{hashed:((Ie="production")===null||Ie===void 0?void 0:Ie.toLowerCase())!=="test",components:{Menu:{colorItemBg:(y==null||(we=y.layout)===null||we===void 0||(Ce=we.header)===null||Ce===void 0?void 0:Ce.colorBgHeader)||"transparent",colorSubItemBg:(y==null||(be=y.layout)===null||be===void 0||(Re=be.header)===null||Re===void 0?void 0:Re.colorBgHeader)||"transparent",radiusItem:4,colorItemBgSelected:(y==null||(Se=y.layout)===null||Se===void 0||(Oe=Se.header)===null||Oe===void 0?void 0:Oe.colorBgMenuItemSelected)||(y==null?void 0:y.colorBgTextHover),colorItemBgActive:(y==null||(Ue=y.layout)===null||Ue===void 0||(Je=Ue.header)===null||Je===void 0?void 0:Je.colorBgMenuItemHover)||(y==null?void 0:y.colorBgTextHover),colorItemBgSelectedHorizontal:(y==null||(Ke=y.layout)===null||Ke===void 0||(ve=Ke.header)===null||ve===void 0?void 0:ve.colorBgMenuItemSelected)||(y==null?void 0:y.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(y==null||(he=y.layout)===null||he===void 0||(ae=he.header)===null||ae===void 0?void 0:ae.colorTextMenu)||(y==null?void 0:y.colorTextSecondary),colorItemTextHover:(y==null||(Ve=y.layout)===null||Ve===void 0||(Ne=Ve.header)===null||Ne===void 0?void 0:Ne.colorTextMenuActive)||(y==null?void 0:y.colorText),colorItemTextSelected:(y==null||(_e=y.layout)===null||_e===void 0||(De=_e.header)===null||De===void 0?void 0:De.colorTextMenuSelected)||(y==null?void 0:y.colorTextBase)}}},children:(0,u.jsx)(_n,(0,l.Z)((0,l.Z)((0,l.Z)({theme:"light"},e),{},{className:"".concat(q,"-base-menu ").concat(ce)},e.menuProps),{},{style:(0,l.Z)({width:"100%"},(He=e.menuProps)===null||He===void 0?void 0:He.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return R?R(e,ke):ke},[y==null||(t=y.layout)===null||t===void 0||(n=t.header)===null||n===void 0?void 0:n.colorBgHeader,y==null||(a=y.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorBgMenuItemSelected,y==null||(o=y.layout)===null||o===void 0||(d=o.header)===null||d===void 0?void 0:d.colorBgMenuItemHover,y==null||(f=y.layout)===null||f===void 0||(p=f.header)===null||p===void 0?void 0:p.colorTextMenu,y==null||(g=y.layout)===null||g===void 0||(w=g.header)===null||w===void 0?void 0:w.colorTextMenuActive,y==null||(Z=y.layout)===null||Z===void 0||(S=Z.header)===null||S===void 0?void 0:S.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,q,ce,R]);return pe((0,u.jsx)("div",{className:fe()(q,ce,Y,(0,s.Z)({},"".concat(q,"-light"),!0)),style:X,children:(0,u.jsxs)("div",{ref:ee,className:fe()("".concat(q,"-main"),ce,(0,s.Z)({},"".concat(q,"-wide"),J==="Fixed")),children:[me&&(0,u.jsxs)("div",{className:fe()("".concat(q,"-main-left ").concat(ce)),onClick:Q,children:[(0,u.jsx)(en,(0,l.Z)({},e)),(0,u.jsx)("div",{className:"".concat(q,"-logo ").concat(ce),id:"logo",children:me},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(q,"-menu ").concat(ce),children:Ee}),(b||re||e.avatarProps)&&(0,u.jsx)(En,(0,l.Z)((0,l.Z)({rightContentRender:b},e),{},{prefixCls:q}))]})}))},Ra=function(e){var t,n,a,i,o,d,f;return(0,s.Z)({},e.componentCls,(f={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((t=e.layout)===null||t===void 0||(n=t.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,s.Z)(f,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,s.Z)(f,"&-collapsed-button",{minHeight:"22px",color:e==null||(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,s.Z)(f,"&-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:((o=e.layout)===null||o===void 0||(d=o.header)===null||d===void 0?void 0:d.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),(0,s.Z)(f,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),f))};function Ia(r){return(0,Ae.Xj)("ProLayoutGlobalHeader",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[Ra(t)]})}var $a=function(e,t){return e===!1?null:e?e(t,null):t},wa=function(e){var t,n=e.isMobile,a=e.logo,i=e.collapsed,o=e.onCollapse,d=e.rightContentRender,f=e.menuHeaderRender,p=e.onMenuHeaderClick,g=e.className,w=e.style,Z=e.layout,S=e.children,ee=e.splitMenus,Q=e.menuData,J=e.prefixCls,b=(0,m.useContext)(Qe.ZP.ConfigContext),Y=b.direction,X=(0,m.useContext)(Qe.ZP.ConfigContext),R=X.getPrefixCls,I="".concat(J||R("pro"),"-global-header"),re=Ia(I),k=re.wrapSSR,oe=re.hashId,se=fe()(g,I,oe);if(Z==="mix"&&!n&&ee){var y=(Q||[]).map(function(ce){return(0,l.Z)((0,l.Z)({},ce),{},{children:void 0,routes:void 0})}),q=Bt(y);return(0,u.jsx)(Ln,(0,l.Z)((0,l.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:q}))}var xe=fe()("".concat(I,"-logo"),oe,(t={},(0,s.Z)(t,"".concat(I,"-logo-rtl"),Y==="rtl"),(0,s.Z)(t,"".concat(I,"-logo-mix"),Z==="mix"),(0,s.Z)(t,"".concat(I,"-logo-mobile"),n),t)),pe=(0,u.jsx)("span",{className:xe,children:(0,u.jsx)("a",{children:qt(a)})},"logo");return k((0,u.jsxs)("div",{className:se,style:(0,l.Z)({},w),children:[n&&(0,u.jsx)("span",{className:"".concat(I,"-collapsed-button ").concat(oe),onClick:function(){o==null||o(!i)},children:(0,u.jsx)(Fr,{})}),n&&$a(f,pe),Z==="mix"&&!n&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(en,(0,l.Z)({},e)),(0,u.jsx)("div",{className:xe,onClick:p,children:rn((0,l.Z)((0,l.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:S}),(d||e.actionsRender||e.avatarProps)&&(0,u.jsx)(En,(0,l.Z)({rightContentRender:d},e))]}))};function ja(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,Ae.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,l.Z)((0,l.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,s.Z)({},a.proComponentsCls,(0,s.Z)({},"".concat(a.proComponentsCls,"-layout"),(0,s.Z)({},"".concat(i.componentCls),t==null?void 0:t(i))))]:[]})}var An=yt.Header,Ta=function(e){var t,n,a,i,o,d,f=e.isMobile,p=e.fixedHeader,g=e.className,w=e.style,Z=e.collapsed,S=e.prefixCls,ee=e.onCollapse,Q=e.layout,J=e.headerRender,b=e.headerContentRender,Y=(0,m.useContext)(x.L_),X=Y.token,R=(0,m.useCallback)(function(){var pe=Q==="top",ce=Bt(e.menuData||[]),me=(0,u.jsx)(wa,(0,l.Z)((0,l.Z)({onCollapse:ee},e),{},{menuData:ce,children:b&&b(e,null)}));return pe&&!f&&(me=(0,u.jsx)(Ln,(0,l.Z)((0,l.Z)({mode:"horizontal",onCollapse:ee},e),{},{menuData:ce}))),J&&typeof J=="function"?J(e,me):me},[b,J,f,Q,ee,e]),I=p||Q==="mix",re=Q==="top",k="".concat(S,"-layout-header"),oe=Or(k),se=oe.wrapSSR,y=oe.hashId,q=ja("".concat(k,".").concat(k,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),xe=fe()(g,y,k,(t={},(0,s.Z)(t,"".concat(k,"-fixed-header"),I),(0,s.Z)(t,"".concat(k,"-mix"),Q==="mix"),(0,s.Z)(t,"".concat(k,"-fixed-header-action"),!Z),(0,s.Z)(t,"".concat(k,"-top-menu"),re),(0,s.Z)(t,"".concat(k,"-header"),!0),(0,s.Z)(t,"".concat(k,"-stylish"),!!e.stylish),t));return Q==="side"&&!f?null:q.wrapSSR(se((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(Qe.ZP,{theme:{hashed:((n="production")===null||n===void 0?void 0:n.toLowerCase())!=="test",components:{Layout:{colorBgHeader:"transparent",colorBgBody:"transparent"}}},children:[I&&(0,u.jsx)(An,{style:(0,l.Z)({height:(X==null||(a=X.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,lineHeight:"".concat((X==null||(o=X.layout)===null||o===void 0||(d=o.header)===null||d===void 0?void 0:d.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},w)}),(0,u.jsx)(An,{className:xe,style:w,children:R()})]})})))},_a=c(18772),Pa=c(74602),Ea=c(25646),La=new Ea.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0},"80%":{display:"none",opacity:0},"100%":{display:"unset",opacity:1}}),Aa=function(e){var t,n,a,i,o,d,f,p,g,w,Z,S,ee,Q,J,b,Y,X,R,I,re,k,oe,se,y,q;return(0,s.Z)({},e.proComponentsCls,(0,s.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,s.Z)({},e.componentCls,(q={position:"relative",background:((t=e.layout)===null||t===void 0||(n=t.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"},"&-fixed":{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%"}},(0,s.Z)(q,"".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(a=e.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.paddingInlineLayoutMenu,paddingBlock:(o=e.layout)===null||o===void 0||(d=o.sider)===null||d===void 0?void 0:d.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit)}),(0,s.Z)(q,"".concat(e.antCls,"-menu"),(g={},(0,s.Z)(g,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,s.Z)(g,"".concat(e.antCls,"-menu-item:hover"),{color:e==null||(f=e.layout)===null||f===void 0||(p=f.sider)===null||p===void 0?void 0:p.colorTextMenuItemHover}),g)),(0,s.Z)(q,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(w=e.layout)===null||w===void 0||(Z=w.sider)===null||Z===void 0?void 0:Z.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((S=e.layout)===null||S===void 0||(ee=S.sider)===null||ee===void 0?void 0:ee.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:(Q=e.layout)===null||Q===void 0||(J=Q.sider)===null||J===void 0?void 0:J.colorTextMenuTitle,fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,s.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,s.Z)(q,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(b=e.layout)===null||b===void 0||(Y=b.sider)===null||Y===void 0?void 0:Y.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(X=e.layout)===null||X===void 0||(R=X.sider)===null||R===void 0?void 0:R.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,s.Z)(q,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,s.Z)(q,"&-mix",{height:"calc(100% - ".concat((e==null||(I=e.layout)===null||I===void 0||(re=I.header)===null||re===void 0?void 0:re.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((e==null||(k=e.layout)===null||k===void 0||(oe=k.header)===null||oe===void 0?void 0:oe.heightLayoutHeader)||56,"px")}),(0,s.Z)(q,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,s.Z)(q,"&-links",{width:"100%",ul:{height:"auto"}}),(0,s.Z)(q,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,s.Z)(q,"&-footer",{color:(se=e.layout)===null||se===void 0||(y=se.sider)===null||y===void 0?void 0:y.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:La,animationDuration:".3s",animationTimingFunction:"ease"}),q))))};function Na(r,e){var t=e.proLayoutCollapsedWidth;return(0,Ae.Xj)("ProLayoutSiderMenu",function(n){var a=(0,l.Z)((0,l.Z)({},n),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return[Aa(a)]})}var Nn=function(e){var t=e.isMobile,n=e.siderWidth,a=e.collapsed,i=e.onCollapse,o=e.style,d=e.className,f=e.hide,p=e.getContainer,g=e.prefixCls;(0,m.useEffect)(function(){t===!0&&(i==null||i(!0))},[t]);var w=(0,mn.Z)(e,["className","style"]),Z=m.useContext(Qe.ZP.ConfigContext),S=Z.direction,ee=Na("".concat(g,"-sider"),{proLayoutCollapsedWidth:64}),Q=ee.wrapSSR,J=ee.hashId,b=fe()("".concat(g,"-sider"),d,J);if(f)return null;var Y=(0,Sn.X)(!a,function(){return i==null?void 0:i(!0)});return Q(t?(0,u.jsx)(Pa.Z,(0,l.Z)((0,l.Z)({placement:S==="rtl"?"right":"left",className:fe()("".concat(g,"-drawer-sider"),d)},Y),{},{style:(0,l.Z)({padding:0,height:"100vh"},o),maskClosable:!0,closable:!1,getContainer:p,width:n,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,u.jsx)(Pn,(0,l.Z)((0,l.Z)({},w),{},{isMobile:!0,className:b,collapsed:t?!1:a,splitMenus:!1,originCollapsed:a}))})):(0,u.jsx)(Pn,(0,l.Z)((0,l.Z)({className:b,originCollapsed:a},w),{},{style:o})))},Bn=c(75465),Ba=c(98047),an=c.n(Ba),Oa=function(e,t,n){if(n){var a=(0,Ot.Z)(n.keys()).find(function(o){return an()(o).test(e)});if(a)return n.get(a)}if(t){var i=Object.keys(t).find(function(o){return an()(o).test(e)});if(i)return t[i]}return{path:""}},on=function(e,t){var n=e.pathname,a=n===void 0?"/":n,i=e.breadcrumb,o=e.breadcrumbMap,d=e.formatMessage,f=e.title,p=e.menu,g=p===void 0?{locale:!1}:p,w=t?"":f||"",Z=Oa(a,i,o);if(!Z)return{title:w,id:"",pageName:w};var S=Z.name;return g.locale!==!1&&Z.locale&&d&&(S=d({id:Z.locale||"",defaultMessage:Z.name})),S?t||!f?{title:S,id:Z.locale||"",pageName:S}:{title:"".concat(S," - ").concat(f),id:Z.locale||"",pageName:S}:{title:w,id:Z.locale||"",pageName:w}},Yo=function(e,t){return on(e,t).title},Da={"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"},Ha=(0,l.Z)({},Da),Fa={"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"},Wa=(0,l.Z)({},Fa),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."},Ua=(0,l.Z)({},za),Ka={"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"},Ga=(0,l.Z)({},Ka),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"},Xa=(0,l.Z)({},Va),On={"zh-CN":Ga,"zh-TW":Xa,"en-US":Ha,"it-IT":Wa,"ko-KR":Ua},Ya=function(){if(!(0,C.j)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},Qa=function(){var e=Ya();return On[e]||On["zh-CN"]},Ft=c(42920),ln=c(93738),Ja=function(){var e,t;return typeof ln=="undefined"?Ft.Z:((e=ln)===null||ln===void 0||(t={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||t===void 0?void 0:t.ANTD_VERSION)||Ft.Z},ka=function(e){var t,n,a,i,o,d,f,p,g,w,Z,S,ee,Q,J,b,Y,X,R,I,re,k,oe,se,y,q,xe,pe,ce,me,Ee,Ie,we,Ce,be,Re,Se,Oe,Ue,Je,Ke,ve,he,ae,Ve,Ne,_e,De,He,ke,nt,ot,lt,qe,vt,Xe,Pe,et,ut,it,tt,ge,Me,Fe,Tt,dt,pt,xt,Ct,st,rt;return(t=Ja())!==null&&t!==void 0&&t.startsWith("5")?{}:(rt={},(0,s.Z)(rt,e.proComponentsCls,{width:"100%",height:"100%"}),(0,s.Z)(rt,e.componentCls,(et={width:"100%",height:"100%"},(0,s.Z)(et,"".concat(e.proComponentsCls,"-base-menu"),(he={color:e==null||(n=e.layout)===null||n===void 0||(a=n.sider)===null||a===void 0?void 0:a.colorTextMenu},(0,s.Z)(he,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:e==null||(i=e.layout)===null||i===void 0||(o=i.sider)===null||o===void 0?void 0:o.colorTextMenu}),(0,s.Z)(he,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,s.Z)(he,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,s.Z)(he,"&".concat(e.antCls,"-menu"),(p={color:e==null||(d=e.layout)===null||d===void 0||(f=d.sider)===null||f===void 0?void 0:f.colorTextMenu},(0,s.Z)(p,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,s.Z)(p,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),p)),(0,s.Z)(he,"&".concat(e.antCls,"-menu-inline"),(0,s.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,s.Z)(he,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,s.Z)(he,"".concat(e.antCls,`-menu-item:active,
|
|
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,s.Z)(he,"&".concat(e.antCls,"-menu-light"),(0,s.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,s.Z)({color:e==null||(g=e.layout)===null||g===void 0||(w=g.sider)===null||w===void 0?void 0:w.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(Z=e.layout)===null||Z===void 0||(S=Z.sider)===null||S===void 0?void 0:S.colorTextMenuActive}))),(0,s.Z)(he,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(re={},(0,s.Z)(re,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:e==null||(ee=e.layout)===null||ee===void 0||(Q=ee.sider)===null||Q===void 0?void 0:Q.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,s.Z)(re,"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,s.Z)({color:e==null||(J=e.layout)===null||J===void 0||(b=J.sider)===null||b===void 0?void 0:b.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:e==null||(Y=e.layout)===null||Y===void 0||(X=Y.sider)===null||X===void 0?void 0:X.colorBgMenuItemHover},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(R=e.layout)===null||R===void 0||(I=R.sider)===null||I===void 0?void 0:I.colorTextMenuActive})),re)),(0,s.Z)(he,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(k=e.layout)===null||k===void 0||(oe=k.sider)===null||oe===void 0?void 0:oe.colorTextMenuSelected}),(0,s.Z)(he,"".concat(e.antCls,"-menu-submenu-selected"),{color:e==null||(se=e.layout)===null||se===void 0||(y=se.sider)===null||y===void 0?void 0:y.colorTextMenuSelected}),(0,s.Z)(he,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:e==null||(q=e.layout)===null||q===void 0||(xe=q.sider)===null||xe===void 0?void 0:xe.colorTextMenuSelected}),(0,s.Z)(he,"&".concat(e.antCls,"-menu-vertical"),(0,s.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:e==null||(pe=e.layout)===null||pe===void 0||(ce=pe.sider)===null||ce===void 0?void 0:ce.colorTextMenuSelected})),(0,s.Z)(he,"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(me=e.layout)===null||me===void 0||(Ee=me.sider)===null||Ee===void 0?void 0:Ee.colorTextMenuActive}),(0,s.Z)(he,"&".concat(e.antCls,"-menu-horizontal"),(ve={},(0,s.Z)(ve,"".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||(Ie=e.layout)===null||Ie===void 0||(we=Ie.header)===null||we===void 0?void 0:we.colorTextMenuActive,backgroundColor:e==null||(Ce=e.layout)===null||Ce===void 0||(be=Ce.header)===null||be===void 0?void 0:be.colorBgMenuItemHover}),(0,s.Z)(ve,"".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,s.Z)({backgroundColor:e==null||(Re=e.layout)===null||Re===void 0||(Se=Re.header)===null||Se===void 0?void 0:Se.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:e==null||(Oe=e.layout)===null||Oe===void 0||(Ue=Oe.header)===null||Ue===void 0?void 0:Ue.colorTextMenuSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(Je=e.layout)===null||Je===void 0||(Ke=Je.header)===null||Ke===void 0?void 0:Ke.colorTextMenuSelected})),(0,s.Z)(ve,"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),(0,s.Z)(ve,"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"}),ve)),he)),(0,s.Z)(et,"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(Pe={},(0,s.Z)(Pe,"&".concat(e.antCls,"-menu"),(0,s.Z)({color:e==null||(ae=e.layout)===null||ae===void 0||(Ve=ae.header)===null||Ve===void 0?void 0:Ve.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),(0,s.Z)(Pe,"&".concat(e.antCls,"-menu-light"),(Xe={},(0,s.Z)(Xe,"".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,s.Z)({color:e==null||(Ne=e.layout)===null||Ne===void 0||(_e=Ne.header)===null||_e===void 0?void 0:_e.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:e==null||(De=e.layout)===null||De===void 0||(He=De.header)===null||He===void 0?void 0:He.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(ke=e.layout)===null||ke===void 0||(nt=ke.header)===null||nt===void 0?void 0:nt.colorTextMenuActive})),(0,s.Z)(Xe,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(ot=e.layout)===null||ot===void 0||(lt=ot.header)===null||lt===void 0?void 0:lt.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:e==null||(qe=e.layout)===null||qe===void 0||(vt=qe.header)===null||vt===void 0?void 0:vt.colorBgMenuItemSelected}),Xe)),Pe)),et)),(0,s.Z)(rt,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,s.Z)(rt,"".concat(e.antCls,"-menu-submenu-popup"),(st={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,s.Z)(st,"".concat(e.antCls,"-menu"),(0,s.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active,
|
|
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),(0,s.Z)(st,"".concat(e.antCls,"-menu-item-selected"),{color:e==null||(ut=e.layout)===null||ut===void 0||(it=ut.sider)===null||it===void 0?void 0:it.colorTextMenuSelected}),(0,s.Z)(st,"".concat(e.antCls,"-menu-submenu-selected"),{color:e==null||(tt=e.layout)===null||tt===void 0||(ge=tt.sider)===null||ge===void 0?void 0:ge.colorTextMenuSelected}),(0,s.Z)(st,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(Ct={},(0,s.Z)(Ct,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:e==null||(Me=e.layout)===null||Me===void 0||(Fe=Me.sider)===null||Fe===void 0?void 0:Fe.colorTextMenuSelected}),(0,s.Z)(Ct,"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,s.Z)({color:e==null||(Tt=e.layout)===null||Tt===void 0||(dt=Tt.sider)===null||dt===void 0?void 0:dt.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:e==null||(pt=e.layout)===null||pt===void 0||(xt=pt.sider)===null||xt===void 0?void 0:xt.colorTextMenuActive})),Ct)),st)),rt)},qa=function(e){var t,n,a,i,o,d,f,p,g;return(0,s.Z)({body:{paddingBlock:0,paddingInline:0,marginBlock:0,marginInline:0,fontFamily:e.fontFamily}},e.proComponentsCls,(g={},(0,s.Z)(g,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,s.Z)(g,"& ".concat(e.componentCls),(p={},(0,s.Z)(p,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,s.Z)(p,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(e==null||(t=e.layout)===null||t===void 0||(n=t.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative","*":{boxSizing:"border-box"},paddingBlock:e==null||(a=e.layout)===null||a===void 0||(i=a.pageContainer)===null||i===void 0?void 0:i.paddingBlockPageContainerContent,paddingInline:e==null||(o=e.layout)===null||o===void 0||(d=o.pageContainer)===null||d===void 0?void 0:d.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,s.Z)(p,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,s.Z)(p,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:e==null||(f=e.layout)===null||f===void 0?void 0:f.bgLayout}),p)),(0,s.Z)(g,"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}),g))};function eo(r){return(0,Ae.Xj)("ProLayout",function(e){var t=(0,l.Z)((0,l.Z)({},e),{},{componentCls:".".concat(r)});return[qa(t),ka(t)]})}function to(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(t){return t});return e.map(function(t,n){return"/".concat(e.slice(0,n+1).join("/"))})}var no=function(e,t,n){var a=e.breadcrumbName,i=e.path,o=n.indexOf(e)===n.length-1;return o?(0,u.jsx)("span",{children:a}):(0,u.jsx)("a",{href:i,children:a})},ro=function(e,t){var n=t.formatMessage,a=t.menu;return e.locale&&n&&(a==null?void 0:a.locale)!==!1?n({id:e.locale,defaultMessage:e.name}):e.name},ao=function(e,t){var n=e.get(t);if(!n){var a=Array.from(e.keys())||[],i=a.find(function(o){return an()(o.replace("?","")).test(t)});i&&(n=e.get(i))}return n||{path:""}},oo=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},io=function(e,t,n){var a=to(e==null?void 0:e.pathname),i=a.map(function(o){var d=ao(t,o),f=ro(d,n),p=d.hideInBreadcrumb;return f&&!p?{path:o,breadcrumbName:f,component:d.component}:{path:"",breadcrumbName:""}}).filter(function(o){return o&&o.path});return i},lo=function(e){var t=oo(e),n=t.location,a=t.breadcrumbMap;return n&&n.pathname&&a?io(n,a,e):[]},uo=function(e,t){var n=e.breadcrumbRender,a=e.itemRender,i=t.breadcrumbProps||{},o=i.minLength,d=o===void 0?2:o,f=lo(e),p=a||no,g=f;return n&&(g=n(g)||[]),(g&&g.length<d||n===!1)&&(g=void 0),{routes:g,itemRender:p}};function so(r){return(0,Ot.Z)(r).reduce(function(e,t){var n=(0,v.Z)(t,2),a=n[0],i=n[1];return e[a]=i,e},{})}var co=function r(e,t,n,a){var i=gr(e,(t==null?void 0:t.locale)||!1,n,!0),o=i.menuData,d=i.breadcrumb;return a?r(a(o),t,n,void 0):{breadcrumb:so(d),breadcrumbMap:d,menuData:o}},fo=c(56151),vo=c(61905),po=function(e){var t=(0,m.useState)({}),n=(0,v.Z)(t,2),a=n[0],i=n[1];return(0,m.useEffect)(function(){i((0,vo.Y)({layout:(0,fo.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},mo=c(18832),ho=function(e){var t,n=(0,m.useContext)(x.L_),a=n.hashId,i=e.style,o=e.prefixCls,d=e.children,f=e.hasPageContainer,p=f===void 0?0:f,g=fe()("".concat(o,"-content"),a,(t={},(0,s.Z)(t,"".concat(o,"-has-header"),e.hasHeader),(0,s.Z)(t,"".concat(o,"-content-has-page-container"),p>0),t)),w=e.ErrorBoundary||mo.S;return e.ErrorBoundary===!1?(0,u.jsx)(yt.Content,{className:g,style:i,children:d}):(0,u.jsx)(w,{children:(0,u.jsx)(yt.Content,{className:g,style:i,children:d})})},go=["id","defaultMessage"],yo=["fixSiderbar","navTheme","layout"],Dn=0,xo=function(e,t){var n;return e.headerRender===!1||e.pure?null:(0,u.jsx)(Ta,(0,l.Z)((0,l.Z)({matchMenuKeys:t},e),{},{stylish:(n=e.stylish)===null||n===void 0?void 0:n.header}))},Co=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,l.Z)({},e),(0,u.jsx)(Nr,{})):null},bo=function(e,t){var n,a=e.layout,i=e.isMobile,o=e.selectedKeys,d=e.openKeys,f=e.splitMenus,p=e.menuRender;if(e.menuRender===!1||e.pure)return null;var g=e.menuData;if(f&&(d!==!1||a==="mix")&&!i){var w=o||t,Z=(0,v.Z)(w,1),S=Z[0];if(S){var ee,Q;g=((ee=e.menuData)===null||ee===void 0||(Q=ee.find(function(X){return X.key===S}))===null||Q===void 0?void 0:Q.children)||[]}else g=[]}var J=Bt(g||[]);if(J&&(J==null?void 0:J.length)<1&&f)return null;if(a==="top"&&!i){var b;return(0,u.jsx)(Nn,(0,l.Z)((0,l.Z)({matchMenuKeys:t},e),{},{hide:!0,stylish:(b=e.stylish)===null||b===void 0?void 0:b.sider}))}var Y=(0,u.jsx)(Nn,(0,l.Z)((0,l.Z)({matchMenuKeys:t},e),{},{menuData:J,stylish:(n=e.stylish)===null||n===void 0?void 0:n.sider}));return p?p(e,Y):Y},So=function(e,t){var n=t.pageTitleRender,a=on(e);if(n===!1)return{title:t.title||"",id:"",pageName:""};if(n){var i=n(e,a.title,a);if(typeof i=="string")return on((0,l.Z)((0,l.Z)({},a),{},{title:i}));(0,Ir.default)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},Mo=function(e,t,n){return e?t?60:n:0},Hn=function(e){var t,n,a,i,o,d=e||{},f=d.children,p=d.onCollapse,g=d.location,w=g===void 0?{pathname:"/"}:g,Z=d.contentStyle,S=d.route,ee=d.defaultCollapsed,Q=d.style,J=d.siderWidth,b=d.menu,Y=d.siderMenuType,X=d.isChildrenLayout,R=d.menuDataRender,I=d.actionRef,re=d.bgLayoutImgList,k=d.formatMessage,oe=d.loading,se=(0,m.useMemo)(function(){return J||(e.layout==="mix"?215:256)},[e.layout,J]),y=(0,m.useContext)(Qe.ZP.ConfigContext),q=(t=e.prefixCls)!==null&&t!==void 0?t:y.getPrefixCls("pro"),xe=(0,W.Z)(!1,{value:b==null?void 0:b.loading,onChange:b==null?void 0:b.onLoadingChange}),pe=(0,v.Z)(xe,2),ce=pe[0],me=pe[1],Ee=(0,m.useState)(function(){return Dn+=1,"pro-layout-".concat(Dn)}),Ie=(0,v.Z)(Ee,1),we=Ie[0],Ce=(0,m.useCallback)(function(Le){var ct=Le.id,Wt=Le.defaultMessage,_t=(0,K.Z)(Le,go);if(k)return k((0,l.Z)({id:ct,defaultMessage:Wt},_t));var Pt=Qa();return Pt[ct]?Pt[ct]:Wt},[k]),be=(0,hn.ZP)([we,b==null?void 0:b.params],function(){var Le=(0,$.Z)((0,te.Z)().mark(function ct(Wt){var _t,Pt,Yn,Qn;return(0,te.Z)().wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:return Pt=(0,v.Z)(Wt,2),Yn=Pt[1],me(!0),bt.next=4,b==null||(_t=b.request)===null||_t===void 0?void 0:_t.call(b,Yn||{},(S==null?void 0:S.children)||(S==null?void 0:S.routes)||[]);case 4:return Qn=bt.sent,me(!1),bt.abrupt("return",Qn);case 7:case"end":return bt.stop()}},ct)}));return function(ct){return Le.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Re=be.data,Se=be.mutate,Oe=(0,hn.kY)(),Ue=Oe.cache;(0,m.useEffect)(function(){return function(){Ue instanceof Map&&Ue.clear()}},[]);var Je=(0,m.useMemo)(function(){return co(Re||(S==null?void 0:S.children)||(S==null?void 0:S.routes)||[],b,Ce,R)},[Ce,b,R,Re,S==null?void 0:S.children,S==null?void 0:S.routes]),Ke=Je||{},ve=Ke.breadcrumb,he=ve===void 0?{}:ve,ae=Ke.breadcrumbMap,Ve=Ke.menuData,Ne=Ve===void 0?[]:Ve;I&&b!==null&&b!==void 0&&b.request&&(I.current={reload:function(){Se()}});var _e=(0,m.useMemo)(function(){return Mr(w.pathname||"/",Ne||[],!0)},[w.pathname,Ne]),De=(0,m.useMemo)(function(){return Array.from(new Set(_e.map(function(Le){return Le.key||Le.path||""})))},[_e]),He=_e[_e.length-1]||{},ke=po(He),nt=(0,l.Z)((0,l.Z)({},e),ke),ot=nt.fixSiderbar,lt=nt.navTheme,qe=nt.layout,vt=(0,K.Z)(nt,yo),Xe=(0,$r.ZP)(),Pe=(Xe==="sm"||Xe==="xs")&&!e.disableMobile,et=qe!=="top"&&!Pe,ut=(0,W.Z)(function(){return ee!==void 0?ee:!!(Pe||Xe==="md")},{value:e.collapsed,onChange:p}),it=(0,v.Z)(ut,2),tt=it[0],ge=it[1],Me=(0,mn.Z)((0,l.Z)((0,l.Z)((0,l.Z)({prefixCls:q},e),{},{siderWidth:se},ke),{},{formatMessage:Ce,breadcrumb:he,menu:(0,l.Z)((0,l.Z)({},b),{},{type:Y||(b==null?void 0:b.type),loading:ce}),layout:qe}),["className","style","breadcrumbRender"]),Fe=So((0,l.Z)((0,l.Z)({pathname:w.pathname},Me),{},{breadcrumbMap:ae}),e),Tt=uo((0,l.Z)((0,l.Z)({},Me),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:ae}),e),dt=bo((0,l.Z)((0,l.Z)({},Me),{},{menuData:Ne,onCollapse:ge,isMobile:Pe,collapsed:tt}),De),pt=xo((0,l.Z)((0,l.Z)({},Me),{},{children:null,hasSiderMenu:!!dt,menuData:Ne,isMobile:Pe,collapsed:tt,onCollapse:ge}),De),xt=Co((0,l.Z)({isMobile:Pe,collapsed:tt},Me)),Ct=(0,m.useContext)(Bn.X),st=Ct.isChildrenLayout,rt=X!==void 0?X:st,at="".concat(q,"-layout"),zn=eo(at),Do=zn.wrapSSR,un=zn.hashId,Ho=fe()(e.className,un,"ant-design-pro",at,(n={},(0,s.Z)(n,"screen-".concat(Xe),Xe),(0,s.Z)(n,"".concat(at,"-top-menu"),qe==="top"),(0,s.Z)(n,"".concat(at,"-is-children"),rt),(0,s.Z)(n,"".concat(at,"-fix-siderbar"),ot),(0,s.Z)(n,"".concat(at,"-").concat(qe),qe),n)),Fo=Mo(!!et,tt,se),Un={position:"relative"};(rt||Z&&Z.minHeight)&&(Un.minHeight=0),(0,m.useEffect)(function(){var Le;(Le=e.onPageChange)===null||Le===void 0||Le.call(e,e.location)},[w.pathname,(a=w.pathname)===null||a===void 0?void 0:a.search]);var Wo=(0,m.useState)(!1),Kn=(0,v.Z)(Wo,2),Gn=Kn[0],zo=Kn[1],Uo=(0,m.useState)(0),Vn=(0,v.Z)(Uo,2),Xn=Vn[0],Ko=Vn[1];M(Fe,e.title||!1);var Go=(0,m.useMemo)(function(){return re&&re.length>0?re.map(function(Le,ct){return(0,u.jsx)("img",{src:Le.src,style:(0,l.Z)({position:"absolute"},Le)},ct)}):null},[re]),Vo=(0,m.useContext)(x.L_),dn=Vo.token;return Do((0,u.jsx)(Bn.X.Provider,{value:(0,l.Z)((0,l.Z)({},Me),{},{breadcrumb:Tt,menuData:Ne,isMobile:Pe,collapsed:tt,hasPageContainer:Xn,setHasPageContainer:Ko,isChildrenLayout:!0,title:Fe.pageName,hasSiderMenu:!!dt,hasHeader:!!pt,siderWidth:Fo,hasFooter:!!xt,hasFooterToolbar:Gn,setHasFooterToolbar:zo,pageTitleInfo:Fe,matchMenus:_e,matchMenuKeys:De,currentMenu:He}),children:e.pure?(0,u.jsx)(u.Fragment,{children:f}):(0,u.jsxs)("div",{className:Ho,children:[(0,u.jsx)("div",{className:"".concat(at,"-bg-list ").concat(un),children:Go}),(0,u.jsxs)(yt,{style:(0,l.Z)({minHeight:"100%",flexDirection:dt?"row":void 0},Q),children:[dt,(0,u.jsxs)("div",{style:Un,className:"".concat(at,"-container ").concat(un),children:[pt,(0,u.jsx)(ho,(0,l.Z)((0,l.Z)({hasPageContainer:Xn,isChildrenLayout:rt},vt),{},{hasHeader:!!pt,prefixCls:at,style:Z,children:oe?(0,u.jsx)(_a.S,{}):f})),xt,Gn&&(0,u.jsx)("div",{className:"".concat(at,"-has-footer"),style:{height:64,marginBlockStart:dn==null||(i=dn.layout)===null||i===void 0||(o=i.pageContainer)===null||o===void 0?void 0:o.paddingBlockPageContainerContent}})]})]})]})}))};Hn.defaultProps=(0,l.Z)((0,l.Z)({logo:(0,u.jsx)(wr,{})},$n),{},{location:(0,C.j)()?window.location:void 0});var Zo=function(e){var t=e.colorPrimary,n=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(Qe.ZP,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,u.jsx)(x._Y,(0,l.Z)((0,l.Z)({autoClearCache:!0},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(Hn,(0,l.Z)({},e))}))})},Ro=function(){return(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,u.jsxs)("defs",{children:[(0,u.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,u.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,u.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,u.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,u.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,u.jsx)("g",{transform:"translate(-20 -20)",children:(0,u.jsx)("g",{transform:"translate(20 20)",children:(0,u.jsxs)("g",{children:[(0,u.jsxs)("g",{fillRule:"nonzero",children:[(0,u.jsxs)("g",{children:[(0,u.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,u.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,u.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,u.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},Io=Ro,$o=c(38916),wo=c(9101),jo=function(e){var t,n;return!e.route&&(e.noFound||e.notFound)||((t=e.route)===null||t===void 0?void 0:t.unaccessible)&&(e.unAccessible||e.noAccessible)||(!e.route||((n=e.route)===null||n===void 0?void 0:n.unaccessible))&&(0,u.jsx)($o.ZP,{status:e.route?"403":"404",title:e.route?"403":"404",subTitle:e.route?"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762":"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,u.jsx)(wo.ZP,{type:"primary",onClick:function(){return A.history.push("/")},children:"\u8FD4\u56DE\u9996\u9875"})})||e.children},To=jo,_o=c(82769),Po=c(49001),Eo=c(64682),Fn=c(70639);function Lo(r){var e,t;if(r.runtimeConfig.rightRender)return r.runtimeConfig.rightRender(r.initialState,r.setInitialState,r.runtimeConfig);var n=(0,u.jsxs)("span",{className:"umi-plugin-layout-action",children:[(0,u.jsx)(tn.C,{size:"small",className:"umi-plugin-layout-avatar",src:((e=r.initialState)===null||e===void 0?void 0:e.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,u.jsx)("span",{className:"umi-plugin-layout-name",children:(t=r.initialState)===null||t===void 0?void 0:t.name})]});if(r.loading)return(0,u.jsx)("div",{className:"umi-plugin-layout-right",children:(0,u.jsx)(_o.Z,{size:"small",style:{marginLeft:8,marginRight:8}})});var a={className:"umi-plugin-layout-menu",selectedKeys:[],items:[{key:"logout",label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Eo.Z,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:function(){var d,f;r==null||(d=r.runtimeConfig)===null||d===void 0||(f=d.logout)===null||f===void 0||f.call(d,r.initialState)}}]},i=Ft.Z.startsWith("5.")||Ft.Z.startsWith("4.24.")?{menu:a}:{overlay:(0,u.jsx)(nn.Z,z()({},a))};return(0,u.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[r.runtimeConfig.logout?(0,u.jsx)(Po.Z,z()(z()({},i),{},{overlayClassName:"umi-plugin-layout-container",children:n})):n,(0,u.jsx)(Fn.pD,{})]})}var Wn=c(6651),Ao=c(86587),No=function r(e,t){if(e.length===0)return[];var n=[],a=D()(e),i;try{for(a.s();!(i=a.n()).done;){var o=i.value,d=z()({},o);t(o)?Array.isArray(d.routes)&&n.push.apply(n,E()(r(d.routes,t))):(Array.isArray(d.children)&&(d.children=r(d.children,t),d.routes=d.children),n.push(d))}}catch(f){a.e(f)}finally{a.f()}return n},Bo=function r(e){return e.length===0?[]:e.map(function(t){var n=z()({},t);return t.originPath&&(n.path=t.originPath),Array.isArray(t.routes)&&(n.routes=r(t.routes)),Array.isArray(t.children)&&(n.children=r(t.children)),n})},Oo=function(r){var e=(0,A.useLocation)(),t=(0,A.useNavigate)(),n=(0,A.useAppData)(),a=n.clientRoutes,i=n.pluginManager,o=Wn.t&&(0,Wn.t)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},d=o.initialState,f=o.loading,p=o.setInitialState,g={navTheme:"light",colorPrimary:"#1677FF",layout:"mix",contentWidth:"Fluid",fixedHeader:!0,fixSiderbar:!0,splitMenus:!1,colorWeak:!1,title:"\u4F01\u4E1A\u6570\u5B57\u8EAB\u4EFD\u7BA1\u63A7\u5E73\u53F0",pwa:!1,logo:"/full-logo.svg",iconfontUrl:"",siderWidth:190,locale:!0},w=(0,Fn.YB)(),Z=w.formatMessage,S=i.applyPlugins({key:"layout",type:"modify",initialValue:z()({},o)}),ee=No(a.filter(function(X){return X.id==="ant-design-pro-layout"}),function(X){return!!X.isLayout&&X.id!=="ant-design-pro-layout"||!!X.isWrapper}),Q=(0,Ao.Mf)(Bo(ee)),J=T()(Q,1),b=J[0],Y=(0,m.useMemo)(function(){var X,R,I;return(X=(0,A.matchRoutes)(b.children,e.pathname))===null||X===void 0||(R=X.pop)===null||R===void 0||(I=R.call(X))===null||I===void 0?void 0:I.route},[e.pathname]);return(0,u.jsx)(Zo,z()(z()({route:b,location:e,title:g.title||"plugin-layout",navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(R){R.stopPropagation(),R.preventDefault(),t("/")},formatMessage:g.formatMessage||Z,menu:{locale:g.locale},logo:Io,menuItemRender:function(R,I){return R.isUrl||R.children?I:R.path&&e.pathname!==R.path?(0,u.jsx)(A.Link,{to:R.path.replace("/*",""),target:R.target,children:I}):I},itemRender:function(R){return(0,u.jsx)(A.Link,{to:R.path,children:R.breadcrumbName})},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0},S),{},{rightContentRender:S.rightContentRender!==!1&&function(X){var R=Lo({runtimeConfig:S,loading:f,initialState:d,setInitialState:p});return S.rightContentRender?S.rightContentRender(X,R,{userConfig:g,runtimeConfig:S,loading:f,initialState:d,setInitialState:p}):R},children:(0,u.jsx)(To,{route:Y,noFound:S==null?void 0:S.noFound,notFound:S==null?void 0:S.notFound,unAccessible:S==null?void 0:S.unAccessible,noAccessible:S==null?void 0:S.noAccessible,children:S.childrenRender?S.childrenRender((0,u.jsx)(A.Outlet,{}),r):(0,u.jsx)(A.Outlet,{})})}))}},43600:function(O,L){var c;function j(v){return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},j(v)}c={value:!0},L.Bo=c=c=c=c=c=c=void 0;function T(v){for(var l=[],x=0;x<v.length;){var W=v[x];if(W==="*"||W==="+"||W==="?"){l.push({type:"MODIFIER",index:x,value:v[x++]});continue}if(W==="\\"){l.push({type:"ESCAPED_CHAR",index:x++,value:v[x++]});continue}if(W==="{"){l.push({type:"OPEN",index:x,value:v[x++]});continue}if(W==="}"){l.push({type:"CLOSE",index:x,value:v[x++]});continue}if(W===":"){for(var C="",M=x+1;M<v.length;){var h=v.charCodeAt(M);if(h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||h===95){C+=v[M++];continue}break}if(!C)throw new TypeError("Missing parameter name at "+x);l.push({type:"NAME",index:x,value:C}),x=M;continue}if(W==="("){var _=1,H="",M=x+1;if(v[M]==="?")throw new TypeError('Pattern cannot start with "?" at '+M);for(;M<v.length;){if(v[M]==="\\"){H+=v[M++]+v[M++];continue}if(v[M]===")"){if(_--,_===0){M++;break}}else if(v[M]==="("&&(_++,v[M+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+M);H+=v[M++]}if(_)throw new TypeError("Unbalanced pattern at "+x);if(!H)throw new TypeError("Missing pattern at "+x);l.push({type:"PATTERN",index:x,value:H}),x=M;continue}l.push({type:"CHAR",index:x,value:v[x++]})}return l.push({type:"END",index:x,value:""}),l}function B(v,l){l===void 0&&(l={});for(var x=T(v),W=l.prefixes,C=W===void 0?"./":W,M="[^"+D(l.delimiter||"/#?")+"]+?",h=[],_=0,H=0,V="",N=function(Ze){if(H<x.length&&x[H].type===Ze)return x[H++].value},G=function(Ze){var Ge=N(Ze);if(Ge!==void 0)return Ge;var Ye=x[H],St=Ye.type,Mt=Ye.index;throw new TypeError("Unexpected "+St+" at "+Mt+", expected "+Ze)},ue=function(){for(var Ze="",Ge;Ge=N("CHAR")||N("ESCAPED_CHAR");)Ze+=Ge;return Ze};H<x.length;){var ne=N("CHAR"),ie=N("NAME"),ye=N("PATTERN");if(ie||ye){var F=ne||"";C.indexOf(F)===-1&&(V+=F,F=""),V&&(h.push(V),V=""),h.push({name:ie||_++,prefix:F,suffix:"",pattern:ye||M,modifier:N("MODIFIER")||""});continue}var le=ne||N("ESCAPED_CHAR");if(le){V+=le;continue}V&&(h.push(V),V="");var de=N("OPEN");if(de){var F=ue(),Be=N("NAME")||"",je=N("PATTERN")||"",We=ue();G("CLOSE"),h.push({name:Be||(je?_++:""),pattern:Be&&!je?M:je,prefix:F,suffix:We,modifier:N("MODIFIER")||""});continue}G("END")}return h}c=B;function E(v,l){return P(B(v,l),l)}c=E;function P(v,l){l===void 0&&(l={});var x=A(l),W=l.encode,C=W===void 0?function(H){return H}:W,M=l.validate,h=M===void 0?!0:M,_=v.map(function(H){if(j(H)==="object")return new RegExp("^(?:"+H.pattern+")$",x)});return function(H){for(var V="",N=0;N<v.length;N++){var G=v[N];if(typeof G=="string"){V+=G;continue}var ue=H?H[G.name]:void 0,ne=G.modifier==="?"||G.modifier==="*",ie=G.modifier==="*"||G.modifier==="+";if(Array.isArray(ue)){if(!ie)throw new TypeError('Expected "'+G.name+'" to not repeat, but got an array');if(ue.length===0){if(ne)continue;throw new TypeError('Expected "'+G.name+'" to not be empty')}for(var ye=0;ye<ue.length;ye++){var F=C(ue[ye],G);if(h&&!_[N].test(F))throw new TypeError('Expected all "'+G.name+'" to match "'+G.pattern+'", but got "'+F+'"');V+=G.prefix+F+G.suffix}continue}if(typeof ue=="string"||typeof ue=="number"){var F=C(String(ue),G);if(h&&!_[N].test(F))throw new TypeError('Expected "'+G.name+'" to match "'+G.pattern+'", but got "'+F+'"');V+=G.prefix+F+G.suffix;continue}if(!ne){var le=ie?"an array":"a string";throw new TypeError('Expected "'+G.name+'" to be '+le)}}return V}}c=P;function z(v,l){var x=[],W=K(v,x,l);return U(W,x,l)}c=z;function U(v,l,x){x===void 0&&(x={});var W=x.decode,C=W===void 0?function(M){return M}:W;return function(M){var h=v.exec(M);if(!h)return!1;for(var _=h[0],H=h.index,V=Object.create(null),N=function(ne){if(h[ne]===void 0)return"continue";var ie=l[ne-1];ie.modifier==="*"||ie.modifier==="+"?V[ie.name]=h[ne].split(ie.prefix+ie.suffix).map(function(ye){return C(ye,ie)}):V[ie.name]=C(h[ne],ie)},G=1;G<h.length;G++)N(G);return{path:_,index:H,params:V}}}c=U;function D(v){return v.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function A(v){return v&&v.sensitive?"":"i"}function m(v,l){if(!l)return v;var x=v.source.match(/\((?!\?)/g);if(x)for(var W=0;W<x.length;W++)l.push({name:W,prefix:"",suffix:"",modifier:"",pattern:""});return v}function s(v,l,x){var W=v.map(function(C){return K(C,l,x).source});return new RegExp("(?:"+W.join("|")+")",A(x))}function te(v,l,x){return $(B(v,x),l,x)}function $(v,l,x){x===void 0&&(x={});for(var W=x.strict,C=W===void 0?!1:W,M=x.start,h=M===void 0?!0:M,_=x.end,H=_===void 0?!0:_,V=x.encode,N=V===void 0?function(Te){return Te}:V,G="["+D(x.endsWith||"")+"]|$",ue="["+D(x.delimiter||"/#?")+"]",ne=h?"^":"",ie=0,ye=v;ie<ye.length;ie++){var F=ye[ie];if(typeof F=="string")ne+=D(N(F));else{var le=D(N(F.prefix)),de=D(N(F.suffix));if(F.pattern)if(l&&l.push(F),le||de)if(F.modifier==="+"||F.modifier==="*"){var Be=F.modifier==="*"?"?":"";ne+="(?:"+le+"((?:"+F.pattern+")(?:"+de+le+"(?:"+F.pattern+"))*)"+de+")"+Be}else ne+="(?:"+le+"("+F.pattern+")"+de+")"+F.modifier;else ne+="("+F.pattern+")"+F.modifier;else ne+="(?:"+le+de+")"+F.modifier}}if(H)C||(ne+=ue+"?"),ne+=x.endsWith?"(?="+G+")":"$";else{var je=v[v.length-1],We=typeof je=="string"?ue.indexOf(je[je.length-1])>-1:je===void 0;C||(ne+="(?:"+ue+"(?="+G+"))?"),We||(ne+="(?="+ue+"|"+G+")")}return new RegExp(ne,A(x))}c=$;function K(v,l,x){return v instanceof RegExp?m(v,l):Array.isArray(v)?s(v,l,x):te(v,l,x)}L.Bo=K},19498:function(O,L,c){"use strict";c.d(L,{RV:function(){return z},Rk:function(){return U},Ux:function(){return A},aM:function(){return D},q3:function(){return E},qI:function(){return P}});var j=c(59067),T=c(8779),B=c(79685);const E=B.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),P=B.createContext(null),z=m=>{const s=(0,T.Z)(m,["prefixCls"]);return B.createElement(j.RV,Object.assign({},s))},U=B.createContext({prefixCls:""}),D=B.createContext({}),A=m=>{let{children:s,status:te,override:$}=m;const K=(0,B.useContext)(D),v=(0,B.useMemo)(()=>{const l=Object.assign({},K);return $&&delete l.isFormItemInput,te&&(delete l.status,delete l.hasFeedback,delete l.feedbackIcon),l},[te,$,K]);return B.createElement(D.Provider,{value:v},s)}},12869:function(O,L){"use strict";function c(j,T){for(var B=Object.assign({},j),E=0;E<T.length;E+=1){var P=T[E];delete B[P]}return B}L.Z=c},98047:function(O){O.exports=te,O.exports.parse=T,O.exports.compile=B,O.exports.tokensToFunction=E,O.exports.tokensToRegExp=s;var L="/",c="./",j=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function T($,K){for(var v=[],l=0,x=0,W="",C=K&&K.delimiter||L,M=K&&K.delimiters||c,h=!1,_;(_=j.exec($))!==null;){var H=_[0],V=_[1],N=_.index;if(W+=$.slice(x,N),x=N+H.length,V){W+=V[1],h=!0;continue}var G="",ue=$[x],ne=_[2],ie=_[3],ye=_[4],F=_[5];if(!h&&W.length){var le=W.length-1;M.indexOf(W[le])>-1&&(G=W[le],W=W.slice(0,le))}W&&(v.push(W),W="",h=!1);var de=G!==""&&ue!==void 0&&ue!==G,Be=F==="+"||F==="*",je=F==="?"||F==="*",We=G||C,Te=ie||ye;v.push({name:ne||l++,prefix:G,delimiter:We,optional:je,repeat:Be,partial:de,pattern:Te?z(Te):"[^"+P(We)+"]+?"})}return(W||x<$.length)&&v.push(W+$.substr(x)),v}function B($,K){return E(T($,K))}function E($){for(var K=new Array($.length),v=0;v<$.length;v++)typeof $[v]=="object"&&(K[v]=new RegExp("^(?:"+$[v].pattern+")$"));return function(l,x){for(var W="",C=x&&x.encode||encodeURIComponent,M=0;M<$.length;M++){var h=$[M];if(typeof h=="string"){W+=h;continue}var _=l?l[h.name]:void 0,H;if(Array.isArray(_)){if(!h.repeat)throw new TypeError('Expected "'+h.name+'" to not repeat, but got array');if(_.length===0){if(h.optional)continue;throw new TypeError('Expected "'+h.name+'" to not be empty')}for(var V=0;V<_.length;V++){if(H=C(_[V],h),!K[M].test(H))throw new TypeError('Expected all "'+h.name+'" to match "'+h.pattern+'"');W+=(V===0?h.prefix:h.delimiter)+H}continue}if(typeof _=="string"||typeof _=="number"||typeof _=="boolean"){if(H=C(String(_),h),!K[M].test(H))throw new TypeError('Expected "'+h.name+'" to match "'+h.pattern+'", but got "'+H+'"');W+=h.prefix+H;continue}if(h.optional){h.partial&&(W+=h.prefix);continue}throw new TypeError('Expected "'+h.name+'" to be '+(h.repeat?"an array":"a string"))}return W}}function P($){return $.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function z($){return $.replace(/([=!:$/()])/g,"\\$1")}function U($){return $&&$.sensitive?"":"i"}function D($,K){if(!K)return $;var v=$.source.match(/\((?!\?)/g);if(v)for(var l=0;l<v.length;l++)K.push({name:l,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return $}function A($,K,v){for(var l=[],x=0;x<$.length;x++)l.push(te($[x],K,v).source);return new RegExp("(?:"+l.join("|")+")",U(v))}function m($,K,v){return s(T($,v),K,v)}function s($,K,v){v=v||{};for(var l=v.strict,x=v.start!==!1,W=v.end!==!1,C=P(v.delimiter||L),M=v.delimiters||c,h=[].concat(v.endsWith||[]).map(P).concat("$").join("|"),_=x?"^":"",H=$.length===0,V=0;V<$.length;V++){var N=$[V];if(typeof N=="string")_+=P(N),H=V===$.length-1&&M.indexOf(N[N.length-1])>-1;else{var G=N.repeat?"(?:"+N.pattern+")(?:"+P(N.delimiter)+"(?:"+N.pattern+"))*":N.pattern;K&&K.push(N),N.optional?N.partial?_+=P(N.prefix)+"("+G+")?":_+="(?:"+P(N.prefix)+"("+G+"))?":_+=P(N.prefix)+"("+G+")"}}return W?(l||(_+="(?:"+C+")?"),_+=h==="$"?"$":"(?="+h+")"):(l||(_+="(?:"+C+"(?="+h+"))?"),H||(_+="(?="+C+"|"+h+")")),new RegExp(_,U(v))}function te($,K,v){return $ instanceof RegExp?D($,K):Array.isArray($)?A($,K,v):m($,K,v)}},57749:function(O,L,c){"use strict";c.d(L,{Z:function(){return T},o:function(){return E}});var j;function T(P){if(typeof document=="undefined")return 0;if(P||j===void 0){var z=document.createElement("div");z.style.width="100%",z.style.height="200px";var U=document.createElement("div"),D=U.style;D.position="absolute",D.top="0",D.left="0",D.pointerEvents="none",D.visibility="hidden",D.width="200px",D.height="150px",D.overflow="hidden",U.appendChild(z),document.body.appendChild(U);var A=z.offsetWidth;U.style.overflow="scroll";var m=z.offsetWidth;A===m&&(m=U.clientWidth),document.body.removeChild(U),j=A-m}return j}function B(P){var z=P.match(/^(.*)px$/),U=Number(z==null?void 0:z[1]);return Number.isNaN(U)?T():U}function E(P){if(typeof document=="undefined"||!P||!(P instanceof Element))return{width:0,height:0};var z=getComputedStyle(P,"::-webkit-scrollbar"),U=z.width,D=z.height;return{width:B(U),height:B(D)}}},82235:function(O,L){"use strict";Object.defineProperty(L,"__esModule",{value:!0}),L.default=c;function c(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},31797:function(O,L,c){"use strict";var j=c(58556).default;Object.defineProperty(L,"__esModule",{value:!0}),L.default=B;var T=j(c(79685));function B(E){var P=T.useRef();P.current=E;var z=T.useCallback(function(){for(var U,D=arguments.length,A=new Array(D),m=0;m<D;m++)A[m]=arguments[m];return(U=P.current)===null||U===void 0?void 0:U.call.apply(U,[P].concat(A))},[]);return z}},76365:function(O,L,c){"use strict";var j=c(5773).default,T=c(58556).default;Object.defineProperty(L,"__esModule",{value:!0}),L.useLayoutUpdateEffect=L.default=void 0;var B=T(c(79685)),E=j(c(82235)),P=(0,E.default)()?B.useLayoutEffect:B.useEffect,z=P;L.default=z;var U=function(A,m){var s=B.useRef(!0);P(function(){if(!s.current)return A()},m),P(function(){return s.current=!1,function(){s.current=!0}},[])};L.useLayoutUpdateEffect=U},65458:function(O,L,c){"use strict";var j,T=c(5773).default;j={value:!0},L.Z=D;var B=T(c(60895)),E=T(c(31797)),P=c(76365),z=T(c(72036));function U(A){return A!==void 0}function D(A,m){var s=m||{},te=s.defaultValue,$=s.value,K=s.onChange,v=s.postState,l=(0,z.default)(function(){return U($)?$:U(te)?typeof te=="function"?te():te:typeof A=="function"?A():A}),x=(0,B.default)(l,2),W=x[0],C=x[1],M=$!==void 0?$:W,h=v?v(M):M,_=(0,E.default)(K),H=(0,z.default)([M]),V=(0,B.default)(H,2),N=V[0],G=V[1];(0,P.useLayoutUpdateEffect)(function(){var ne=N[0];W!==ne&&_(W,ne)},[N]),(0,P.useLayoutUpdateEffect)(function(){U($)||C($)},[$]);var ue=(0,E.default)(function(ne,ie){C(ne,ie),G([M],ie)});return[h,ue]}},72036:function(O,L,c){"use strict";var j=c(58556).default,T=c(5773).default;Object.defineProperty(L,"__esModule",{value:!0}),L.default=P;var B=T(c(60895)),E=j(c(79685));function P(z){var U=E.useRef(!1),D=E.useState(z),A=(0,B.default)(D,2),m=A[0],s=A[1];E.useEffect(function(){return U.current=!1,function(){U.current=!0}},[]);function te($,K){K&&U.current||s($)}return[m,te]}},43054:function(O,L){"use strict";Object.defineProperty(L,"__esModule",{value:!0}),L.call=E,L.default=void 0,L.note=T,L.noteOnce=z,L.resetWarned=B,L.warning=j,L.warningOnce=P;var c={};function j(D,A){}function T(D,A){}function B(){c={}}function E(D,A,m){!A&&!c[m]&&(D(!1,m),c[m]=!0)}function P(D,A){E(j,D,A)}function z(D,A){E(T,D,A)}var U=P;L.default=U},39078:function(O,L,c){"use strict";c.d(L,{ZP:function(){return W}});var j=c(79685);function T(C,M){return U(C)||z(C,M)||E(C,M)||B()}function B(){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 E(C,M){if(C){if(typeof C=="string")return P(C,M);var h=Object.prototype.toString.call(C).slice(8,-1);if(h==="Object"&&C.constructor&&(h=C.constructor.name),h==="Map"||h==="Set")return Array.from(C);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return P(C,M)}}function P(C,M){(M==null||M>C.length)&&(M=C.length);for(var h=0,_=new Array(M);h<M;h++)_[h]=C[h];return _}function z(C,M){var h=C&&(typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"]);if(h!=null){var _=[],H=!0,V=!1,N,G;try{for(h=h.call(C);!(H=(N=h.next()).done)&&(_.push(N.value),!(M&&_.length===M));H=!0);}catch(ue){V=!0,G=ue}finally{try{!H&&h.return!=null&&h.return()}finally{if(V)throw G}}return _}}function U(C){if(Array.isArray(C))return C}function D(C){var M=typeof window=="undefined",h=(0,j.useState)(function(){return M?!1:window.matchMedia(C).matches}),_=T(h,2),H=_[0],V=_[1];return(0,j.useLayoutEffect)(function(){if(!M){var N=window.matchMedia(C),G=function(ne){return V(ne.matches)};return N.addListener(G),function(){return N.removeListener(G)}}},[C]),H}function A(C,M){return K(C)||$(C,M)||s(C,M)||m()}function m(){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 s(C,M){if(C){if(typeof C=="string")return te(C,M);var h=Object.prototype.toString.call(C).slice(8,-1);if(h==="Object"&&C.constructor&&(h=C.constructor.name),h==="Map"||h==="Set")return Array.from(C);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return te(C,M)}}function te(C,M){(M==null||M>C.length)&&(M=C.length);for(var h=0,_=new Array(M);h<M;h++)_[h]=C[h];return _}function $(C,M){var h=C&&(typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"]);if(h!=null){var _=[],H=!0,V=!1,N,G;try{for(h=h.call(C);!(H=(N=h.next()).done)&&(_.push(N.value),!(M&&_.length===M));H=!0);}catch(ue){V=!0,G=ue}finally{try{!H&&h.return!=null&&h.return()}finally{if(V)throw G}}return _}}function K(C){if(Array.isArray(C))return C}var v={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},l=function(){var M="md";if(typeof window=="undefined")return M;var h=Object.keys(v).find(function(_){var H=v[_].matchMedia;return!!window.matchMedia(H).matches});return M=h,M},x=function(){var M=D(v.md.matchMedia),h=D(v.lg.matchMedia),_=D(v.xxl.matchMedia),H=D(v.xl.matchMedia),V=D(v.sm.matchMedia),N=D(v.xs.matchMedia),G=(0,j.useState)(l()),ue=A(G,2),ne=ue[0],ie=ue[1];return(0,j.useEffect)(function(){if(_){ie("xxl");return}if(H){ie("xl");return}if(h){ie("lg");return}if(M){ie("md");return}if(V){ie("sm");return}if(N){ie("xs");return}ie("md")},[M,h,_,H,V,N]),ne},W=x},80975:function(O){function L(c,j){(j==null||j>c.length)&&(j=c.length);for(var T=0,B=new Array(j);T<j;T++)B[T]=c[T];return B}O.exports=L,O.exports.__esModule=!0,O.exports.default=O.exports},62902:function(O){function L(c){if(Array.isArray(c))return c}O.exports=L,O.exports.__esModule=!0,O.exports.default=O.exports},5773:function(O){function L(c){return c&&c.__esModule?c:{default:c}}O.exports=L,O.exports.__esModule=!0,O.exports.default=O.exports},58556:function(O,L,c){var j=c(3824).default;function T(E){if(typeof WeakMap!="function")return null;var P=new WeakMap,z=new WeakMap;return(T=function(D){return D?z:P})(E)}function B(E,P){if(!P&&E&&E.__esModule)return E;if(E===null||j(E)!=="object"&&typeof E!="function")return{default:E};var z=T(P);if(z&&z.has(E))return z.get(E);var U={},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in E)if(A!=="default"&&Object.prototype.hasOwnProperty.call(E,A)){var m=D?Object.getOwnPropertyDescriptor(E,A):null;m&&(m.get||m.set)?Object.defineProperty(U,A,m):U[A]=E[A]}return U.default=E,z&&z.set(E,U),U}O.exports=B,O.exports.__esModule=!0,O.exports.default=O.exports},82389:function(O){function L(c,j){var T=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(T!=null){var B,E,P,z,U=[],D=!0,A=!1;try{if(P=(T=T.call(c)).next,j===0){if(Object(T)!==T)return;D=!1}else for(;!(D=(B=P.call(T)).done)&&(U.push(B.value),U.length!==j);D=!0);}catch(m){A=!0,E=m}finally{try{if(!D&&T.return!=null&&(z=T.return(),Object(z)!==z))return}finally{if(A)throw E}}return U}}O.exports=L,O.exports.__esModule=!0,O.exports.default=O.exports},18586:function(O){function L(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}O.exports=L,O.exports.__esModule=!0,O.exports.default=O.exports},60895:function(O,L,c){var j=c(62902),T=c(82389),B=c(55992),E=c(18586);function P(z,U){return j(z)||T(z,U)||B(z,U)||E()}O.exports=P,O.exports.__esModule=!0,O.exports.default=O.exports},3824:function(O){function L(c){return O.exports=L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},O.exports.__esModule=!0,O.exports.default=O.exports,L(c)}O.exports=L,O.exports.__esModule=!0,O.exports.default=O.exports},55992:function(O,L,c){var j=c(80975);function T(B,E){if(B){if(typeof B=="string")return j(B,E);var P=Object.prototype.toString.call(B).slice(8,-1);if(P==="Object"&&B.constructor&&(P=B.constructor.name),P==="Map"||P==="Set")return Array.from(B);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return j(B,E)}}O.exports=T,O.exports.__esModule=!0,O.exports.default=O.exports}}]);
|