Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

t__plugin-layout__Layout.cd650b7b.async.js 79 KiB

12345678910111213141516171819202122232425
  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6301],{64335:function(he,le,c){"use strict";var x=c(67294),b=(0,x.createContext)({});le.Z=b},7700:function(){},2828:function(){},17124:function(){},43361:function(){},17212:function(){},18067:function(){},50799:function(he,le,c){"use strict";c.r(le),c.d(le,{default:function(){return ti}});var x=c(11849),b=c(2824),R=c(67294),M=c(48971),A=c(99222),E=c(93224),te=c(73727),se=c(24793),V=c(97183),O=c(96156),q=c(55507),ye=c(92137),Z=c(81253),B=c(84305),w=c(39559),L=c(28481),g=c(28991),l=c(85893),fe=c(78775),oe=c(56725),D=c(12044);function I(n,e){var t=typeof n.pageName=="string"?n.title:e;(0,R.useEffect)(function(){(0,D.Z)()&&t&&(document.title=t)},[n.title,t])}var ce=I,de=c(6234),k=c.n(de),me=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Fe(n,e){return!!(n===e||me(n)&&me(e))}function Te(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++)if(!Fe(n[t],e[t]))return!1;return!0}function ke(n,e){e===void 0&&(e=Te);var t,r=[],i,a=!1;function o(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return a&&t===this&&e(s,r)||(i=n.apply(this,s),a=!0,t=this,r=s),i}return o}var Le=ke;function Ne(n){for(var e=[],t=0;t<n.length;){var r=n[t];if(r==="*"||r==="+"||r==="?"){e.push({type:"MODIFIER",index:t,value:n[t++]});continue}if(r==="\\"){e.push({type:"ESCAPED_CHAR",index:t++,value:n[t++]});continue}if(r==="{"){e.push({type:"OPEN",index:t,value:n[t++]});continue}if(r==="}"){e.push({type:"CLOSE",index:t,value:n[t++]});continue}if(r===":"){for(var i="",a=t+1;a<n.length;){var o=n.charCodeAt(a);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){i+=n[a++];continue}break}if(!i)throw new TypeError("Missing parameter name at "+t);e.push({type:"NAME",index:t,value:i}),t=a;continue}if(r==="("){var s=1,u="",a=t+1;if(n[a]==="?")throw new TypeError('Pattern cannot start with "?" at '+a);for(;a<n.length;){if(n[a]==="\\"){u+=n[a++]+n[a++];continue}if(n[a]===")"){if(s--,s===0){a++;break}}else if(n[a]==="("&&(s++,n[a+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+a);u+=n[a++]}if(s)throw new TypeError("Unbalanced pattern at "+t);if(!u)throw new TypeError("Missing pattern at "+t);e.push({type:"PATTERN",index:t,value:u}),t=a;continue}e.push({type:"CHAR",index:t,value:n[t++]})}return e.push({type:"END",index:t,value:""}),e}function xe(n,e){e===void 0&&(e={});for(var t=Ne(n),r=e.prefixes,i=r===void 0?"./":r,a="[^"+T(e.delimiter||"/#?")+"]+?",o=[],s=0,u=0,d="",h=function(z){if(u<t.length&&t[u].type===z)return t[u++].value},f=function(z){var ue=h(z);if(ue!==void 0)return ue;var ge=t[u],K=ge.type,Ze=ge.index;throw new TypeError("Unexpected "+K+" at "+Ze+", expected "+z)},v=function(){for(var z="",ue;ue=h("CHAR")||h("ESCAPED_CHAR");)z+=ue;return z};u<t.length;){var y=h("CHAR"),C=h("NAME"),P=h("PATTERN");if(C||P){var m=y||"";i.indexOf(m)===-1&&(d+=m,m=""),d&&(o.push(d),d=""),o.push({name:C||s++,prefix:m,suffix:"",pattern:P||a,modifier:h("MODIFIER")||""});continue}var S=y||h("ESCAPED_CHAR");if(S){d+=S;continue}d&&(o.push(d),d="");var j=h("OPEN");if(j){var m=v(),G=h("NAME")||"",$=h("PATTERN")||"",J=v();f("CLOSE"),o.push({name:G||($?s++:""),pattern:G&&!$?a:$,prefix:m,suffix:J,modifier:h("MODIFIER")||""});continue}f("END")}return o}function ot(n,e){return Xe(xe(n,e),e)}function Xe(n,e){e===void 0&&(e={});var t=Y(e),r=e.encode,i=r===void 0?function(u){return u}:r,a=e.validate,o=a===void 0?!0:a,s=n.map(function(u){if(typeof u=="object")return new RegExp("^(?:"+u.pattern+")$",t)});return function(u){for(var d="",h=0;h<n.length;h++){var f=n[h];if(typeof f=="string"){d+=f;continue}var v=u?u[f.name]:void 0,y=f.modifier==="?"||f.modifier==="*",C=f.modifier==="*"||f.modifier==="+";if(Array.isArray(v)){if(!C)throw new TypeError('Expected "'+f.name+'" to not repeat, but got an array');if(v.length===0){if(y)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var P=0;P<v.length;P++){var m=i(v[P],f);if(o&&!s[h].test(m))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but got "'+m+'"');d+=f.prefix+m+f.suffix}continue}if(typeof v=="string"||typeof v=="number"){var m=i(String(v),f);if(o&&!s[h].test(m))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but got "'+m+'"');d+=f.prefix+m+f.suffix;continue}if(!y){var S=C?"an array":"a string";throw new TypeError('Expected "'+f.name+'" to be '+S)}}return d}}function X(n,e){var t=[],r=H(n,t,e);return p(r,t,e)}function p(n,e,t){t===void 0&&(t={});var r=t.decode,i=r===void 0?function(a){return a}:r;return function(a){var o=n.exec(a);if(!o)return!1;for(var s=o[0],u=o.index,d=Object.create(null),h=function(v){if(o[v]===void 0)return"continue";var y=e[v-1];y.modifier==="*"||y.modifier==="+"?d[y.name]=o[v].split(y.prefix+y.suffix).map(function(C){return i(C,y)}):d[y.name]=i(o[v],y)},f=1;f<o.length;f++)h(f);return{path:s,index:u,params:d}}}function T(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function Y(n){return n&&n.sensitive?"":"i"}function ie(n,e){if(!e)return n;var t=n.source.match(/\((?!\?)/g);if(t)for(var r=0;r<t.length;r++)e.push({name:r,prefix:"",suffix:"",modifier:"",pattern:""});return n}function W(n,e,t){var r=n.map(function(i){return H(i,e,t).source});return new RegExp("(?:"+r.join("|")+")",Y(t))}function Q(n,e,t){return ne(xe(n,t),e,t)}function ne(n,e,t){t===void 0&&(t={});for(var r=t.strict,i=r===void 0?!1:r,a=t.start,o=a===void 0?!0:a,s=t.end,u=s===void 0?!0:s,d=t.encode,h=d===void 0?function(z){return z}:d,f="["+T(t.endsWith||"")+"]|$",v="["+T(t.delimiter||"/#?")+"]",y=o?"^":"",C=0,P=n;C<P.length;C++){var m=P[C];if(typeof m=="string")y+=T(h(m));else{var S=T(h(m.prefix)),j=T(h(m.suffix));if(m.pattern)if(e&&e.push(m),S||j)if(m.modifier==="+"||m.modifier==="*"){var G=m.modifier==="*"?"?":"";y+="(?:"+S+"((?:"+m.pattern+")(?:"+j+S+"(?:"+m.pattern+"))*)"+j+")"+G}else y+="(?:"+S+"("+m.pattern+")"+j+")"+m.modifier;else y+="("+m.pattern+")"+m.modifier;else y+="(?:"+S+j+")"+m.modifier}}if(u)i||(y+=v+"?"),y+=t.endsWith?"(?="+f+")":"$";else{var $=n[n.length-1],J=typeof $=="string"?v.indexOf($[$.length-1])>-1:$===void 0;i||(y+="(?:"+v+"(?="+f+"))?"),J||(y+="(?="+v+"|"+f+")")}return new RegExp(y,Y(t))}function H(n,e,t){return n instanceof RegExp?ie(n,e):Array.isArray(n)?W(n,e,t):Q(n,e,t)}function F(n,e){return e>>>n|e<<32-n}function re(n,e,t){return n&e^~n&t}function _(n,e,t){return n&e^n&t^e&t}function be(n){return F(2,n)^F(13,n)^F(22,n)}function De(n){return F(6,n)^F(11,n)^F(25,n)}function mt(n){return F(7,n)^F(18,n)^n>>>3}function lt(n){return F(17,n)^F(19,n)^n>>>10}function pt(n,e){return n[e&15]+=lt(n[e+14&15])+n[e+9&15]+mt(n[e+1&15])}var yt=[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],N,ee,U,Ie="0123456789abcdef";function Ye(n,e){var t=(n&65535)+(e&65535),r=(n>>16)+(e>>16)+(t>>16);return r<<16|t&65535}function xt(){N=new Array(8),ee=new Array(2),U=new Array(64),ee[0]=ee[1]=0,N[0]=1779033703,N[1]=3144134277,N[2]=1013904242,N[3]=2773480762,N[4]=1359893119,N[5]=2600822924,N[6]=528734635,N[7]=1541459225}function Be(){var n,e,t,r,i,a,o,s,u,d,h=new Array(16);n=N[0],e=N[1],t=N[2],r=N[3],i=N[4],a=N[5],o=N[6],s=N[7];for(var f=0;f<16;f++)h[f]=U[(f<<2)+3]|U[(f<<2)+2]<<8|U[(f<<2)+1]<<16|U[f<<2]<<24;for(var v=0;v<64;v++)u=s+De(i)+re(i,a,o)+yt[v],v<16?u+=h[v]:u+=pt(h,v),d=be(n)+_(n,e,t),s=o,o=a,a=i,i=Ye(r,u),r=t,t=e,e=n,n=Ye(u,d);N[0]+=n,N[1]+=e,N[2]+=t,N[3]+=r,N[4]+=i,N[5]+=a,N[6]+=o,N[7]+=s}function st(n,e){var t,r,i=0;r=ee[0]>>3&63;var a=e&63;for((ee[0]+=e<<3)<e<<3&&ee[1]++,ee[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=r;o<64;o++)U[o]=n.charCodeAt(i++);Be(),r=0}for(var s=0;s<a;s++)U[s]=n.charCodeAt(i++)}function Ct(){var n=ee[0]>>3&63;if(U[n++]=128,n<=56)for(var e=n;e<56;e++)U[e]=0;else{for(var t=n;t<64;t++)U[t]=0;Be();for(var r=0;r<56;r++)U[r]=0}U[56]=ee[1]>>>24&255,U[57]=ee[1]>>>16&255,U[58]=ee[1]>>>8&255,U[59]=ee[1]&255,U[60]=ee[0]>>>24&255,U[61]=ee[0]>>>16&255,U[62]=ee[0]>>>8&255,U[63]=ee[0]&255,Be()}function bt(){for(var n=0,e=new Array(32),t=0;t<8;t++)e[n++]=N[t]>>>24&255,e[n++]=N[t]>>>16&255,e[n++]=N[t]>>>8&255,e[n++]=N[t]&255;return e}function Mt(){for(var n=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)n+=Ie.charAt(N[e]>>>t&15);return n}function Zt(n){return xt(),st(n,n.length),Ct(),Mt()}var Ln=Zt;function Rt(n){return Rt=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},Rt(n)}var In=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Bn(n,e){return Wn(n)||Hn(n,e)||Et(n,e)||zn()}function zn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  2. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hn(n,e){var t=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r=[],i=!0,a=!1,o,s;try{for(t=t.call(n);!(i=(o=t.next()).done)&&(r.push(o.value),!(e&&r.length===e));i=!0);}catch(u){a=!0,s=u}finally{try{!i&&t.return!=null&&t.return()}finally{if(a)throw s}}return r}}function Wn(n){if(Array.isArray(n))return n}function Kn(n,e){var t=typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Et(n))||e&&n&&typeof n.length=="number"){t&&(n=t);var r=0,i=function(){};return{s:i,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  3. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){t=t.call(n)},n:function(){var d=t.next();return a=d.done,d},e:function(d){o=!0,s=d},f:function(){try{!a&&t.return!=null&&t.return()}finally{if(o)throw s}}}}function $n(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function Wt(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function Un(n,e,t){return e&&Wt(n.prototype,e),t&&Wt(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function Gn(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&Qe(n,e)}function Vn(n){var e=Kt();return function(){var r=Je(n),i;if(e){var a=Je(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return kn(this,i)}}function kn(n,e){if(e&&(Rt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xn(n)}function Xn(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function jt(n){var e=typeof Map=="function"?new Map:void 0;return jt=function(r){if(r===null||!Yn(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return ut(r,arguments,Je(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Qe(i,r)},jt(n)}function ut(n,e,t){return Kt()?ut=Reflect.construct.bind():ut=function(i,a,o){var s=[null];s.push.apply(s,a);var u=Function.bind.apply(i,s),d=new u;return o&&Qe(d,o.prototype),d},ut.apply(null,arguments)}function Kt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(n){return!1}}function Yn(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function Qe(n,e){return Qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Qe(n,e)}function Je(n){return Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Je(n)}function $t(n){return _n(n)||Jn(n)||Et(n)||Qn()}function Qn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  4. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Et(n,e){if(!!n){if(typeof n=="string")return St(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return St(n,e)}}function Jn(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function _n(n){if(Array.isArray(n))return St(n)}function St(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function qn(n,e){if(n==null)return{};var t=er(n,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(i=0;i<a.length;i++)r=a[i],!(e.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,r)||(t[r]=n[r]))}return t}function er(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(t[i]=n[i]);return t}function Ut(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function ae(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ut(Object(t),!0).forEach(function(r){_e(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Ut(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function _e(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var ve="routes";function qe(n){return n.split("?")[0].split("#")[0]}var Pt=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},tr=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Ln(JSON.stringify(e)))}catch(r){}return t&&qe(t)},nr=function(e,t){var r=e.name,i=e.locale;return"locale"in e&&i===!1||!r?!1:e.locale||"".concat(t,".").concat(r)},Gt=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("/")||Pt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},rr=function(e,t){var r=e.menu,i=r===void 0?{}:r,a=e.indexRoute,o=e.path,s=o===void 0?"":o,u=e.children||e[ve],d=i.name,h=d===void 0?e.name:d,f=i.icon,v=f===void 0?e.icon:f,y=i.hideChildren,C=y===void 0?e.hideChildren:y,P=i.flatMenu,m=P===void 0?e.flatMenu:P,S=a&&Object.keys(a).join(",")!=="redirect"?[ae({path:s,menu:i},a)].concat(u||[]):u,j=ae({},e);if(h&&(j.name=h),v&&(j.icon=v),S&&S.length){if(C)return delete j[ve],delete j.children,j;var G=Nt(ae(ae({},t),{},{data:S}),e);if(m)return G;j[ve]=G}return j},Re=function(e){return Array.isArray(e)&&e.length>0};function Nt(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=n.data,r=n.formatMessage,i=n.parentName,a=n.locale;return!t||!Array.isArray(t)?[]:t.filter(function(o){return o?Re(o[ve])||Re(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var s,u;return(o==null||(s=o.menu)===null||s===void 0?void 0:s.name)||(o==null?void 0:o.flatMenu)||(o==null||(u=o.menu)===null||u===void 0?void 0:u.flatMenu)?!0:o.menu!==!1}).map(function(o){var s=ae({},o);return s.unaccessible&&delete s.name,s.path==="*"&&(s.path="."),s.path==="/*"&&(s.path="."),!s.path&&s.originPath&&(s.path=s.originPath),s}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},s=o.children||o[ve],u=Gt(o.path,e?e.path:"/"),d=o.name,h=nr(o,i||"menu"),f=h!==!1&&a!==!1&&r&&h?r({id:h,defaultMessage:d}):d,v=e.pro_layout_parentKeys,y=v===void 0?[]:v,C=e.children,P=e.icon,m=e.flatMenu,S=e.indexRoute,j=e.routes,G=qn(e,In),$=new Set([].concat($t(y),$t(o.parentKeys||[])));e.key&&$.add(e.key);var J=ae(ae(ae({},G),{},{menu:void 0},o),{},{path:u,locale:h,key:o.key||tr(ae(ae({},o),{},{path:u})),pro_layout_parentKeys:Array.from($).filter(function(ue){return ue&&ue!=="/"})});if(f?J.name=f:delete J.name,J.menu===void 0&&delete J.menu,Re(s)){var z=Nt(ae(ae({},n),{},{data:s,parentName:h||""}),J);Re(z)&&(J[ve]=z,J.children=z)}return rr(J,n)}).flat(1)}var ar=Le(Nt,k()),ir=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||Re(t[ve])||Re(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var r=ae({},t),i=r.children||r[ve];if(Re(i)&&!r.hideChildrenInMenu&&i.some(function(s){return s&&!!s.name})){var a,o=n(i);if(o.length)return ae(ae({},r),{},(a={},_e(a,ve,o),_e(a,"children",o),a))}return ae(ae({},t),{},_e({},ve,void 0))}).filter(function(t){return t})},or=function(n){Gn(t,n);var e=Vn(t);function t(){return $n(this,t),e.apply(this,arguments)}return Un(t,[{key:"get",value:function(i){var a;try{var o=Kn(this.entries()),s;try{for(o.s();!(s=o.n()).done;){var u=Bn(s.value,2),d=u[0],h=u[1],f=qe(d);if(!Pt(d)&&H(f,[]).test(i)){a=h;break}}}catch(v){o.e(v)}finally{o.f()}}catch(v){a=void 0}return a}}]),t}(jt(Map)),lr=function(e){var t=new or,r=function i(a,o){a.forEach(function(s){var u=s.children||s[ve];Re(u)&&i(u,s);var d=Gt(s.path,o?o.path:"/");t.set(qe(d),s)})};return r(e),t},sr=Le(lr,k()),ur=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var r=t.children||t[ve];if(Re(r)){var i=n(r);if(i.length)return ae(ae({},t),{},_e({},ve,i))}var a=ae({},t);return delete a[ve],delete a.children,a}).filter(function(t){return t})},cr=function(e,t,r,i){var a=ar({data:e,formatMessage:r,locale:t}),o=i?ur(a):ir(a),s=sr(a);return{breadcrumb:s,menuData:o}},Vt=cr;function kt(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function ct(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?kt(Object(t),!0).forEach(function(r){dr(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):kt(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function dr(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var fr=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(r){if(!(!r||!r.key)){var i=r.children||r[ve];t[qe(r.path||r.key||"/")]=ct({},r),t[r.key||r.path||"/"]=ct({},r),i&&(t=ct(ct({},t),n(i)))}}),t},Xt=fr,vr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return e.filter(function(i){if(i==="/"&&t==="/")return!0;if(i!=="/"&&i!=="/*"&&i&&!Pt(i)){var a=qe(i);try{if(r&&H("".concat(a)).test(t)||H("".concat(a),[]).test(t)||H("".concat(a,"/(.*)")).test(t))return!0}catch(o){}}return!1}).sort(function(i,a){return i===t?10:a===t?-10:i.substr(1).split("/").length-a.substr(1).split("/").length})},gr=function(e,t,r,i){var a=Xt(t),o=Object.keys(a),s=vr(o,e||"/",i);return!s||s.length<1?[]:(r||(s=[s[s.length-1]]),s.map(function(u){var d=a[u]||{pro_layout_parentKeys:"",key:""},h=new Map,f=(d.pro_layout_parentKeys||[]).map(function(v){return h.has(v)?null:(h.set(v,!0),a[v])}).filter(function(v){return v});return d.key&&f.push(d),f}).flat(1))},Yt=gr,hr=c(94184),pe=c.n(hr),Qt=c(97435),mr=c(21770),Jt=c(29405),pr=c(38069),yr=c(42473),xr=c.n(yr),xi=c(7700),Cr=c(83832),Ci=c(57338),br=c(273),Mr=c(57186);function Zr(){var n=(0,R.useState)([]),e=(0,L.Z)(n,2),t=e[0],r=e[1];return{flatMenuKeys:t,setFlatMenuKeys:r}}var Rr=(0,Mr.f)(Zr),dt=Rr,bi=c(30887),ft=c(28682),jr=c(1351),Er=c(76629),Mi=c(18446),Sr=c(19586),vt=c(85061),_t=c(5991),qt=c(6610),en=c(91321),Pr=c(16165),Nr=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},wt=Nr;function wr(n){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(n)}var Or=wr,Tr={navTheme:"dark",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,iconfontUrl:"",primaryColor:"#1890ff",splitMenus:!1},tn=Tr,nn=function n(e){return(e||[]).reduce(function(t,r){if(r.key&&t.push(r.key),r.routes){var i=t.concat(n(r.routes)||[]);return i}return t},[])},rn={daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Zi(n){return n&&rn[n]?rn[n]:n}function et(n){return n.map(function(e){var t=e.children||e.routes,r=(0,g.Z)({},e);if(!r.name||r.hideInMenu)return null;if(r&&(r==null?void 0:r.routes)){if(!r.hideChildrenInMenu&&t.some(function(i){return i&&i.name&&!i.hideInMenu}))return(0,g.Z)((0,g.Z)({},e),{},{children:et(t),routes:et(t)});delete r.routes,delete r.children}return r}).filter(function(e){return e})}var Ri=c(43361),an=(0,en.Z)({scriptUrl:tn.iconfontUrl}),on=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-";if(typeof e=="string"&&e!==""){if(wt(e)||Or(e))return(0,l.jsx)(Pr.Z,{component:function(){return(0,l.jsx)("img",{src:e,alt:"icon",className:"ant-pro-sider-menu-icon"})}});if(e.startsWith(t))return(0,l.jsx)(an,{type:e})}return e},Dr=(0,_t.Z)(function n(e){var t=this;(0,qt.Z)(this,n),this.props=void 0,this.getNavMenuItems=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return r.map(function(a){return t.getSubMenuOrItem(a,i)}).filter(function(a){return a})},this.getSubMenuOrItem=function(r,i){var a=(r==null?void 0:r.children)||(r==null?void 0:r.routes);if(Array.isArray(a)&&a.length>0){var o=t.getIntlName(r),s=t.props,u=s.subMenuItemRender,d=s.prefixCls,h=s.menu,f=s.iconPrefixes,v=r.icon?(0,l.jsxs)("span",{className:"".concat(d,"-menu-item"),title:o,children:[!i&&on(r.icon,f),(0,l.jsx)("span",{className:"".concat(d,"-menu-item-title"),children:o})]}):(0,l.jsx)("span",{className:"".concat(d,"-menu-item"),title:o,children:o}),y=u?u((0,g.Z)((0,g.Z)({},r),{},{isUrl:!1}),v,t.props):v;return{type:(h==null?void 0:h.type)==="group"?"group":void 0,label:y,children:t.getNavMenuItems(a,!0),onTitleClick:r.onTitleClick,key:r.key||r.path}}return{label:t.getMenuItemPath(r,i),title:t.getIntlName(r),key:r.key||r.path,disabled:r.disabled,onClick:function(P){var m;wt(r==null?void 0:r.path)&&window.open(r.path,"_blank"),(m=r.onTitleClick)===null||m===void 0||m.call(r,P)}}},this.getIntlName=function(r){var i=r.name,a=r.locale,o=t.props,s=o.menu,u=o.formatMessage;return a&&(s==null?void 0:s.locale)!==!1?u==null?void 0:u({id:a,defaultMessage:i}):i},this.getMenuItemPath=function(r,i){var a=t.conversionPath(r.path||"/"),o=t.props,s=o.location,u=s===void 0?{pathname:"/"}:s,d=o.isMobile,h=o.onCollapse,f=o.menuItemRender,v=o.iconPrefixes,y=t.getIntlName(r),C=t.props.prefixCls,P=i?null:on(r.icon,v),m=wt(a),S=(0,l.jsxs)("span",{className:pe()("".concat(C,"-menu-item"),(0,O.Z)({},"".concat(C,"-menu-item-link"),m)),children:[P,(0,l.jsx)("span",{className:"".concat(C,"-menu-item-title"),children:y})]});if(f){var j=(0,g.Z)((0,g.Z)({},r),{},{isUrl:m,itemPath:a,isMobile:d,replace:a===u.pathname,onClick:function(){m&&window.open(a,"_blank"),h&&h(!0)},children:void 0});return f(j,S,t.props)}return S},this.conversionPath=function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")},this.props=e}),Ar=function(e,t){var r=t.layout,i=t.collapsed,a={};return e&&!i&&["side","mix"].includes(r||"mix")&&(a={openKeys:e}),a},ln=function(e){var t=e.theme,r=e.mode,i=e.className,a=e.handleOpenChange,o=e.style,s=e.menuData,u=e.menu,d=e.matchMenuKeys,h=e.iconfontUrl,f=e.collapsed,v=e.selectedKeys,y=e.onSelect,C=e.openKeys,P=(0,R.useRef)([]),m=dt.useContainer(),S=m.flatMenuKeys,j=(0,oe.Z)(u==null?void 0:u.defaultOpenAll),G=(0,L.Z)(j,2),$=G[0],J=G[1],z=(0,oe.Z)(function(){return(u==null?void 0:u.defaultOpenAll)?nn(s)||[]:C===!1?!1:[]},{value:C===!1?void 0:C,onChange:a}),ue=(0,L.Z)(z,2),ge=ue[0],K=ue[1],Ze=(0,oe.Z)([],{value:v,onChange:y?function(Ae){y&&Ae&&y(Ae)}:void 0}),je=(0,L.Z)(Ze,2),Ee=je[0],Se=je[1];(0,R.useEffect)(function(){(u==null?void 0:u.defaultOpenAll)||C===!1||S.length||d&&(K(d),Se(d))},[d.join("-")]),(0,R.useEffect)(function(){h&&(an=(0,en.Z)({scriptUrl:h}))},[h]),(0,R.useEffect)(function(){if(d.join("-")!==(Ee||[]).join("-")&&Se(d),!$&&C!==!1&&d.join("-")!==(ge||[]).join("-")){var Ae=d;(u==null?void 0:u.autoClose)===!1&&(Ae=Array.from(new Set([].concat((0,vt.Z)(d),(0,vt.Z)(ge||[]))))),K(Ae)}else(u==null?void 0:u.ignoreFlatMenu)&&$?K(nn(s)):S.length>0&&J(!1)},[d.join("-"),f]);var ze=(0,R.useMemo)(function(){return Ar(ge,e)},[ge&&ge.join(","),e.layout,e.collapsed]),He=(0,R.useState)(function(){return new Dr(e)}),We=(0,L.Z)(He,1),Pe=We[0];if(u==null?void 0:u.loading)return(0,l.jsx)("div",{style:(r==null?void 0:r.includes("inline"))?{padding:24}:{marginTop:16},children:(0,l.jsx)(Sr.Z,{active:!0,title:!1,paragraph:{rows:(r==null?void 0:r.includes("inline"))?6:1}})});var we=pe()(i,{"top-nav-menu":r==="horizontal"});Pe.props=e,e.openKeys===!1&&!e.handleOpenChange&&(P.current=d);var Me=e.postMenuData?e.postMenuData(s):s;return Me&&(Me==null?void 0:Me.length)<1?null:(0,R.createElement)(ft.Z,(0,g.Z)((0,g.Z)({},ze),{},{key:"Menu",mode:r,items:Pe.getNavMenuItems(Me,!1),inlineIndent:16,defaultOpenKeys:P.current,theme:t,selectedKeys:Ee,style:o,className:we,onOpenChange:K},e.menuProps))};ln.defaultProps={postMenuData:function(e){return e||[]}};var sn=ln,Fr=V.Z.Sider,un=function(e){return typeof e=="string"?(0,l.jsx)("img",{src:e,alt:"logo"}):typeof e=="function"?e():e},Ot=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",r=e.logo,i=e.title,a=e.layout,o=e[t||""];if(o===!1)return null;var s=un(r),u=(0,l.jsx)("h1",{children:i!=null?i:"Ant Design Pro"});return o?o(s,e.collapsed?null:u,e):a==="mix"&&t==="menuHeaderRender"?null:(0,l.jsxs)("a",{children:[s,e.collapsed?null:u]})},cn=function(e){return e?(0,l.jsx)(jr.Z,{}):(0,l.jsx)(Er.Z,{})},Lr=function(e){var t,r=e.collapsed,i=e.fixSiderbar,a=e.menuFooterRender,o=e.onCollapse,s=e.theme,u=e.siderWidth,d=e.isMobile,h=e.onMenuHeaderClick,f=e.breakpoint,v=f===void 0?"lg":f,y=e.style,C=e.layout,P=e.menuExtraRender,m=P===void 0?!1:P,S=e.collapsedButtonRender,j=S===void 0?cn:S,G=e.links,$=e.menuContentRender,J=e.prefixCls,z=e.onOpenChange,ue=e.headerHeight,ge=e.logoStyle,K="".concat(J,"-sider"),Ze=dt.useContainer(),je=Ze.flatMenuKeys,Ee=pe()("".concat(K),(t={},(0,O.Z)(t,"".concat(K,"-fixed"),i),(0,O.Z)(t,"".concat(K,"-layout-").concat(C),C&&!d),(0,O.Z)(t,"".concat(K,"-light"),s!=="dark"),t)),Se=Ot(e),ze=m&&m(e),He=$!==!1&&je&&(0,R.createElement)(sn,(0,g.Z)((0,g.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:z,style:{width:"100%"},className:"".concat(K,"-menu")})),We=$?$(e,He):He,Pe=(G||[]).map(function(we,Me){return{className:"".concat(K,"-link"),label:we,key:Me}});return j&&!d&&Pe.push({className:"".concat(K,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){o&&o(!r)},label:j(r)}),(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)("div",{style:(0,g.Z)({width:r?48:u,overflow:"hidden",flex:"0 0 ".concat(r?48:u,"px"),maxWidth:r?48:u,minWidth:r?48:u,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},y)}),(0,l.jsxs)(Fr,{collapsible:!0,trigger:null,collapsed:r,breakpoint:v===!1?void 0:v,onCollapse:function(Me){d||o==null||o(Me)},collapsedWidth:48,style:(0,g.Z)({overflow:"hidden",paddingTop:C==="mix"&&!d?ue:void 0},y),width:u,theme:s,className:Ee,children:[Se&&(0,l.jsx)("div",{className:pe()("".concat(K,"-logo"),(0,O.Z)({},"".concat(K,"-collapsed"),r)),onClick:C!=="mix"?h:void 0,id:"logo",style:ge,children:Se}),ze&&(0,l.jsx)("div",{className:"".concat(K,"-extra ").concat(!Se&&"".concat(K,"-extra-no-logo")),children:ze}),(0,l.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:We}),(0,l.jsx)("div",{className:"".concat(K,"-links"),children:(0,l.jsx)(ft.Z,{theme:s,inlineIndent:16,className:"".concat(K,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:Pe})}),a&&(0,l.jsx)("div",{className:pe()("".concat(K,"-footer"),(0,O.Z)({},"".concat(K,"-footer-collapsed"),!r)),children:a(e)})]})]})},dn=Lr,Ir=function(e){var t=e.isMobile,r=e.menuData,i=e.siderWidth,a=e.collapsed,o=e.onCollapse,s=e.style,u=e.className,d=e.hide,h=e.getContainer,f=e.prefixCls,v=e.matchMenuKeys,y=dt.useContainer(),C=y.setFlatMenuKeys;(0,R.useEffect)(function(){if(!(!r||r.length<1)){var m=Xt(r);C(Object.keys(m))}},[v.join("-")]),(0,R.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var P=(0,Qt.Z)(e,["className","style"]);return d?null:t?(0,l.jsx)(br.Z,{visible:!a,placement:"left",className:pe()("".concat(f,"-drawer-sider"),u),onClose:function(){return o==null?void 0:o(!0)},style:(0,g.Z)({padding:0,height:"100vh"},s),getContainer:h,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,l.jsx)(dn,(0,g.Z)((0,g.Z)({},P),{},{className:pe()("".concat(f,"-sider"),u),collapsed:t?!1:a,splitMenus:!1}))}):(0,l.jsx)(dn,(0,g.Z)((0,g.Z)({className:pe()("".concat(f,"-sider"),u)},P),{},{style:s}))},fn=Ir,Br=c(63485),zr=c(14779),Tt=c.n(zr),Hr=function(e,t,r){if(r){var i=(0,vt.Z)(r.keys()).find(function(o){return Tt()(o).test(e)});if(i)return r.get(i)}if(t){var a=Object.keys(t).find(function(o){return Tt()(o).test(e)});if(a)return t[a]}return{path:""}},vn=function(e,t){var r=e.pathname,i=r===void 0?"/":r,a=e.breadcrumb,o=e.breadcrumbMap,s=e.formatMessage,u=e.title,d=e.menu,h=d===void 0?{locale:!1}:d,f=t?"":u||"",v=Hr(i,a,o);if(!v)return{title:f,id:"",pageName:f};var y=v.name;return h.locale!==!1&&v.locale&&s&&(y=s({id:v.locale||"",defaultMessage:v.name})),y?t||!u?{title:y,id:v.locale||"",pageName:y}:{title:"".concat(y," - ").concat(u),id:v.locale||"",pageName:y}:{title:f,id:v.locale||"",pageName:f}},ji=function(e,t){return vn(e,t).title},Ei=null,Wr=c(10379),Kr=c(60446),$r=c(10178),Ur=c(48717),Si=c(17212),Gr=["rightContentRender","prefixCls"],Vr=function(e){var t=e.rightContentRender,r=e.prefixCls,i=(0,Z.Z)(e,Gr),a=(0,R.useState)("auto"),o=(0,L.Z)(a,2),s=o[0],u=o[1],d=(0,$r.Z)(function(){var h=(0,ye.Z)((0,q.Z)().mark(function f(v){return(0,q.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:u(v);case 1:case"end":return C.stop()}},f)}));return function(f){return h.apply(this,arguments)}}(),160);return(0,l.jsx)("div",{className:"".concat(r,"-right-content"),style:{minWidth:s},children:(0,l.jsx)("div",{style:{paddingRight:8},children:(0,l.jsx)(Ur.Z,{onResize:function(f){var v=f.width;d.run(v)},children:t&&(0,l.jsx)("div",{className:"".concat(r,"-right-content-resize"),children:t((0,g.Z)((0,g.Z)({},i),{},{rightContentSize:s}))})})})})},kr=function(e){var t=(0,R.useRef)(null),r=e.theme,i=e.onMenuHeaderClick,a=e.contentWidth,o=e.rightContentRender,s=e.className,u=e.style,d=e.headerContentRender,h=e.layout,f="".concat(e.prefixCls||"ant-pro","-top-nav-header"),v=Ot((0,g.Z)((0,g.Z)({},e),{},{collapsed:!1}),h==="mix"?"headerTitleRender":void 0),y=pe()(f,s,{light:r==="light"}),C=(0,l.jsx)(sn,(0,g.Z)((0,g.Z)({},e),e.menuProps)),P=d?d==null?void 0:d(e,C):C;return(0,l.jsx)("div",{className:y,style:u,children:(0,l.jsxs)("div",{ref:t,className:"".concat(f,"-main ").concat(a==="Fixed"?"wide":""),children:[v&&(0,l.jsx)("div",{className:"".concat(f,"-main-left"),onClick:i,children:(0,l.jsx)("div",{className:"".concat(f,"-logo"),id:"logo",children:v},"logo")}),(0,l.jsx)("div",{style:{flex:1},className:"".concat(f,"-menu"),children:P}),o&&(0,l.jsx)(Vr,(0,g.Z)({rightContentRender:o,prefixCls:f},e))]})})},gn=kr,Pi=c(17124),Xr=function(e,t){return e===!1?null:e?e(t,null):t},Yr=function(e){var t=e.isMobile,r=e.logo,i=e.collapsed,a=e.onCollapse,o=e.collapsedButtonRender,s=o===void 0?cn:o,u=e.rightContentRender,d=e.menuHeaderRender,h=e.onMenuHeaderClick,f=e.className,v=e.style,y=e.layout,C=e.children,P=e.headerTheme,m=P===void 0?"dark":P,S=e.splitMenus,j=e.menuData,G=e.prefixCls,$=(0,R.useContext)(w.ZP.ConfigContext),J=$.direction,z="".concat(G,"-global-header"),ue=pe()(f,z,(0,O.Z)({},"".concat(z,"-layout-").concat(y),y&&m==="dark"));if(y==="mix"&&!t&&S){var ge=(j||[]).map(function(Ee){return(0,g.Z)((0,g.Z)({},Ee),{},{children:void 0,routes:void 0})}),K=et(ge);return(0,l.jsx)(gn,(0,g.Z)((0,g.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:K,theme:m}))}var Ze=pe()("".concat(z,"-logo"),(0,O.Z)({},"".concat(z,"-logo-rtl"),J==="rtl")),je=(0,l.jsx)("span",{className:Ze,children:(0,l.jsx)("a",{children:un(r)})},"logo");return(0,l.jsxs)("div",{className:ue,style:(0,g.Z)({},v),children:[t&&Xr(d,je),t&&s&&(0,l.jsx)("span",{className:"".concat(z,"-collapsed-button"),onClick:function(){a&&a(!i)},children:s(i)}),y==="mix"&&!t&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:Ze,onClick:h,children:Ot((0,g.Z)((0,g.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})}),(0,l.jsx)("div",{style:{flex:1},children:C}),u&&u(e)]})},Qr=Yr,Ni=c(2828),hn=V.Z.Header,Jr=function(n){(0,Wr.Z)(t,n);var e=(0,Kr.Z)(t);function t(){var r;(0,qt.Z)(this,t);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=e.call.apply(e,[this].concat(a)),r.renderContent=function(){var s=r.props,u=s.isMobile,d=s.onCollapse,h=s.navTheme,f=s.layout,v=s.headerRender,y=s.headerContentRender,C=f==="top",P=et(r.props.menuData||[]),m=(0,l.jsx)(Qr,(0,g.Z)((0,g.Z)({onCollapse:d},r.props),{},{menuData:P,children:y&&y(r.props,null)}));return C&&!u&&(m=(0,l.jsx)(gn,(0,g.Z)((0,g.Z)({theme:h,mode:"horizontal",onCollapse:d},r.props),{},{menuData:P}))),v&&typeof v=="function"?v(r.props,m):m},r}return(0,_t.Z)(t,[{key:"render",value:function(){var i,a=this.props,o=a.fixedHeader,s=a.layout,u=a.className,d=a.style,h=a.navTheme,f=a.collapsed,v=a.siderWidth,y=a.hasSiderMenu,C=a.isMobile,P=a.prefixCls,m=a.headerHeight,S=o||s==="mix",j=s==="top",G=S&&y&&!j&&!C,$=pe()(u,(i={},(0,O.Z)(i,"".concat(P,"-fixed-header"),S),(0,O.Z)(i,"".concat(P,"-fixed-header-action"),!f),(0,O.Z)(i,"".concat(P,"-top-menu"),j),(0,O.Z)(i,"".concat(P,"-header-").concat(h),h&&s!=="mix"),i)),J=s!=="mix"&&G?"calc(100% - ".concat(f?48:v,"px)"):"100%",z=S?0:void 0;return(0,l.jsxs)(l.Fragment,{children:[S&&(0,l.jsx)(hn,{style:{height:m,lineHeight:"".concat(m,"px"),background:"transparent"}}),(0,l.jsx)(hn,{style:(0,g.Z)({padding:0,height:m,lineHeight:"".concat(m,"px"),width:J,zIndex:s==="mix"?100:19,right:z},d),className:$,children:this.renderContent()})]})}}]),t}(R.Component),_r=Jr,qr={"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.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","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"},ea=(0,g.Z)({},qr),ta={"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.daybreak":"Blu cielo mattutino (default)","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"},na=(0,g.Z)({},ta),ra={"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.daybreak":"Daybreak Blue (default)","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."},aa=(0,g.Z)({},ra),ia={"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.daybreak":"\u62C2\u6653\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\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"},oa=(0,g.Z)({},ia),la={"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.daybreak":"\u62C2\u66C9\u85CD\uFF08\u9ED8\u8A8D\uFF09","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"},sa=(0,g.Z)({},la),mn={"zh-CN":oa,"zh-TW":sa,"en-US":ea,"it-IT":na,"ko-KR":aa},ua=function(){if(!(0,D.Z)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},ca=function(){var e=ua();return mn[e]||mn["zh-CN"]},pn=c(64335),da=function(e){var t=["sidemenu","topmenu"];return t.includes(e)?e==null?void 0:e.replace("menu",""):e},fa=da;function va(n){if(!n||n==="/")return["/"];var e=n.split("/").filter(function(t){return t});return e.map(function(t,r){return"/".concat(e.slice(0,r+1).join("/"))})}var ga=function(e){var t=e.breadcrumbName,r=e.path;return(0,l.jsx)("a",{href:r,children:t})},ha=function(e,t){var r=t.formatMessage,i=t.menu;return e.locale&&r&&(i==null?void 0:i.locale)!==!1?r({id:e.locale,defaultMessage:e.name}):e.name},ma=function(e,t){var r=e.get(t);if(!r){var i=Array.from(e.keys())||[],a=i.find(function(o){return Tt()(o.replace("?","")).test(t)});a&&(r=e.get(a))}return r||{path:""}},pa=function(e){var t=e.location,r=e.breadcrumbMap;return{location:t,breadcrumbMap:r}},ya=function(e,t,r){var i=va(e==null?void 0:e.pathname),a=i.map(function(o){var s=ma(t,o),u=ha(s,r),d=s.hideInBreadcrumb;return u&&!d?{path:o,breadcrumbName:u,component:s.component}:{path:"",breadcrumbName:""}}).filter(function(o){return o&&o.path});return a},xa=function(e){var t=pa(e),r=t.location,i=t.breadcrumbMap;return r&&r.pathname&&i?ya(r,i,e):[]},Ca=function(e,t){var r=e.breadcrumbRender,i=e.itemRender,a=t.breadcrumbProps||{},o=a.minLength,s=o===void 0?2:o,u=xa(e),d=i||ga,h=u;return r&&(h=r(h)||[]),(h&&h.length<s||r===!1)&&(h=void 0),{routes:h,itemRender:d}};function ba(n){return(0,vt.Z)(n).reduce(function(e,t){var r=(0,L.Z)(t,2),i=r[0],a=r[1];return e[i]=a,e},{})}var Ma=function n(e,t,r,i){var a=Vt(e,(t==null?void 0:t.locale)||!1,r,!0),o=a.menuData,s=a.breadcrumb;return i?n(i(o),t,r,void 0):{breadcrumb:ba(s),breadcrumbMap:s,menuData:o}},Za=Ma,Ra=c(90484),ja=c(51812),Ea=function(e){var t=(0,R.useState)({}),r=(0,L.Z)(t,2),i=r[0],a=r[1];return(0,R.useEffect)(function(){a((0,ja.Z)({layout:(0,Ra.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,headerTheme:e.headerTheme}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar,e.headerTheme]),i},Sa=Ea,Pa=c(78164),Na=function(e){var t=e.autoClearCache,r=t===void 0?!0:t,i=e.style,a=e.className,o=e.children,s=e.ErrorBoundary||Pa.Z;return(0,l.jsx)(fe.oK,{autoClearCache:r,children:e.ErrorBoundary===!1?(0,l.jsx)(V.Z.Content,{className:a,style:i,children:o}):(0,l.jsx)(s,{children:(0,l.jsx)(V.Z.Content,{className:a,style:i,children:o})})})},wa=Na,Oa=["id","defaultMessage"],Ta=["fixSiderbar","navTheme","layout"],yn=0,Da=function(e,t){return e.headerRender===!1||e.pure?null:(0,l.jsx)(_r,(0,g.Z)({matchMenuKeys:t},e))},Aa=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,g.Z)({},e),(0,l.jsx)(Br.Z,{})):null},Fa=function(e,t){var r=e.layout,i=e.navTheme,a=e.isMobile,o=e.openKeys,s=e.splitMenus,u=e.menuRender;if(e.menuRender===!1||e.pure)return null;var d=e.menuData;if(s&&(o!==!1||r==="mix")&&!a){var h=(0,L.Z)(t,1),f=h[0];if(f){var v,y;d=((v=e.menuData)===null||v===void 0||(y=v.find(function(m){return m.key===f}))===null||y===void 0?void 0:y.routes)||[]}else d=[]}var C=et(d||[]);if(C&&(C==null?void 0:C.length)<1&&s)return null;if(r==="top"&&!a)return(0,l.jsx)(fn,(0,g.Z)((0,g.Z)({matchMenuKeys:t},e),{},{hide:!0}));var P=(0,l.jsx)(fn,(0,g.Z)((0,g.Z)({matchMenuKeys:t},e),{},{style:i==="realDark"?{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"}:{},menuData:C}));return u?u(e,P):P},La=function(e,t){var r=t.pageTitleRender,i=vn(e);if(r===!1)return{title:t.title||"",id:"",pageName:""};if(r){var a=r(e,i.title,i);if(typeof a=="string")return(0,g.Z)((0,g.Z)({},i),{},{title:a});xr()(typeof a=="string","pro-layout: renderPageTitle return value should be a string")}return i},Ia=function(e,t,r){return e?t?48:r:0},xn=function(e){var t,r,i,a,o=e||{},s=o.children,u=o.onCollapse,d=o.location,h=d===void 0?{pathname:"/"}:d,f=o.contentStyle,v=o.route,y=o.defaultCollapsed,C=o.style,P=o.disableContentMargin,m=o.siderWidth,S=m===void 0?208:m,j=o.menu,G=o.isChildrenLayout,$=o.menuDataRender,J=o.actionRef,z=o.formatMessage,ue=o.loading,ge=(0,R.useContext)(w.ZP.ConfigContext),K=(t=e.prefixCls)!==null&&t!==void 0?t:ge.getPrefixCls("pro"),Ze=(0,oe.Z)(!1,{value:j==null?void 0:j.loading,onChange:j==null?void 0:j.onLoadingChange}),je=(0,L.Z)(Ze,2),Ee=je[0],Se=je[1],ze=(0,R.useState)(function(){return yn+=1,"pro-layout-".concat(yn)}),He=(0,L.Z)(ze,1),We=He[0],Pe=(0,R.useCallback)(function(Ce){var Ue=Ce.id,ht=Ce.defaultMessage,Ht=(0,Z.Z)(Ce,Oa);if(z)return z((0,g.Z)({id:Ue,defaultMessage:ht},Ht));var Ge=ca();return Ge[Ue]?Ge[Ue]:ht},[z]),we=(0,Jt.ZP)(function(){return(j==null?void 0:j.params)?[We,j==null?void 0:j.params]:[We,{}]},function(){var Ce=(0,ye.Z)((0,q.Z)().mark(function Ue(ht,Ht){var Ge,Fn;return(0,q.Z)().wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:return Se(!0),Ve.next=3,j==null||(Ge=j.request)===null||Ge===void 0?void 0:Ge.call(j,Ht,(v==null?void 0:v.routes)||[]);case 3:return Fn=Ve.sent,Se(!1),Ve.abrupt("return",Fn);case 6:case"end":return Ve.stop()}},Ue)}));return function(Ue,ht){return Ce.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Me=we.data,Ae=we.mutate,ni=(0,Jt.kY)(),Zn=ni.cache;(0,R.useEffect)(function(){return function(){Zn instanceof Map&&Zn.clear()}},[]);var ri=(0,R.useMemo)(function(){return Za(Me||(v==null?void 0:v.routes)||[],j,Pe,$)},[Pe,j,$,Me,v==null?void 0:v.routes]),At=ri||{},Rn=At.breadcrumb,ai=Rn===void 0?{}:Rn,jn=At.breadcrumbMap,En=At.menuData,tt=En===void 0?[]:En;J&&(j==null?void 0:j.request)&&(J.current={reload:function(){Ae()}});var nt=(0,R.useMemo)(function(){return Yt(h.pathname||"/",tt||[],!0)},[h.pathname,tt]),Ft=(0,R.useMemo)(function(){return Array.from(new Set(nt.map(function(Ce){return Ce.key||Ce.path||""})))},[nt]),Sn=nt[nt.length-1]||{},Pn=Sa(Sn),gt=(0,g.Z)((0,g.Z)({},e),Pn),ii=gt.fixSiderbar,Nn=gt.navTheme,oi=gt.layout,li=(0,Z.Z)(gt,Ta),rt=fa(oi),at=(0,pr.ZP)(),Ke=(at==="sm"||at==="xs")&&!e.disableMobile,si=rt!=="top"&&!Ke,ui=(0,mr.Z)(function(){return y!==void 0?y:!!(Ke||at==="md")},{value:e.collapsed,onChange:u}),wn=(0,L.Z)(ui,2),it=wn[0],On=wn[1],$e=(0,Qt.Z)((0,g.Z)((0,g.Z)((0,g.Z)({prefixCls:K},e),{},{siderWidth:S},Pn),{},{formatMessage:Pe,breadcrumb:ai,menu:(0,g.Z)((0,g.Z)({},j),{},{loading:Ee}),layout:rt}),["className","style","breadcrumbRender"]),Lt=La((0,g.Z)((0,g.Z)({pathname:h.pathname},$e),{},{breadcrumbMap:jn}),e),ci=Ca((0,g.Z)((0,g.Z)({},$e),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:jn}),e),It=Fa((0,g.Z)((0,g.Z)({},$e),{},{menuData:tt,onCollapse:On,isMobile:Ke,theme:Nn==="dark"?"dark":"light",collapsed:it}),Ft),Bt=Da((0,g.Z)((0,g.Z)({},$e),{},{hasSiderMenu:!!It,menuData:tt,isMobile:Ke,collapsed:it,onCollapse:On,theme:Nn==="dark"?"dark":"light"}),Ft),Tn=Aa((0,g.Z)({isMobile:Ke,collapsed:it},$e)),di=(0,R.useContext)(pn.Z),fi=di.isChildrenLayout,zt=G!==void 0?G:fi,Oe="".concat(K,"-basicLayout"),vi=pe()(e.className,"ant-design-pro",Oe,(r={},(0,O.Z)(r,"screen-".concat(at),at),(0,O.Z)(r,"".concat(Oe,"-top-menu"),rt==="top"),(0,O.Z)(r,"".concat(Oe,"-is-children"),zt),(0,O.Z)(r,"".concat(Oe,"-fix-siderbar"),ii),(0,O.Z)(r,"".concat(Oe,"-").concat(rt),rt),r)),gi=Ia(!!si,it,S),Dn={position:"relative"};(zt||f&&f.minHeight)&&(Dn.minHeight=0);var hi=pe()("".concat(Oe,"-content"),(i={},(0,O.Z)(i,"".concat(Oe,"-has-header"),Bt),(0,O.Z)(i,"".concat(Oe,"-content-disable-margin"),P),i));(0,R.useEffect)(function(){var Ce;(Ce=e.onPageChange)===null||Ce===void 0||Ce.call(e,e.location)},[h.pathname,(a=h.pathname)===null||a===void 0?void 0:a.search]);var mi=(0,R.useState)(!1),An=(0,L.Z)(mi,2),pi=An[0],yi=An[1];return ce(Lt,e.title||!1),(0,l.jsx)(dt.Provider,{children:(0,l.jsx)(pn.Z.Provider,{value:(0,g.Z)((0,g.Z)({},$e),{},{breadcrumb:ci,menuData:tt,isMobile:Ke,collapsed:it,isChildrenLayout:!0,title:Lt.pageName,hasSiderMenu:!!It,hasHeader:!!Bt,siderWidth:gi,hasFooter:!!Tn,hasFooterToolbar:pi,setHasFooterToolbar:yi,pageTitleInfo:Lt,matchMenus:nt,matchMenuKeys:Ft,currentMenu:Sn}),children:e.pure?(0,l.jsx)(fe.oK,{autoClearCache:!0,children:s}):(0,l.jsx)("div",{className:vi,children:(0,l.jsxs)(V.Z,{style:(0,g.Z)({minHeight:"100%"},C),children:[It,(0,l.jsxs)("div",{style:Dn,className:ge.getPrefixCls("layout"),children:[Bt,(0,l.jsx)(wa,(0,g.Z)((0,g.Z)({autoClearCache:!1,isChildrenLayout:zt},li),{},{className:hi,style:f,children:ue?(0,l.jsx)(Cr.Z,{}):s})),Tn]})]})})})})},Ba=function(){return(0,l.jsxs)("svg",{width:"32px",height:"32px",viewBox:"0 0 200 200",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,l.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,l.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,l.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,l.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,l.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,l.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,l.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,l.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("g",{fillRule:"nonzero",children:[(0,l.jsxs)("g",{children:[(0,l.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,l.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,l.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,l.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})};xn.defaultProps=(0,g.Z)((0,g.Z)({logo:(0,l.jsx)(Ba,{})},tn),{},{location:(0,D.Z)()?window.location:void 0});var za=xn,wi=null,Ha=za,Oi=c(59250),Wa=c(13013),Ti=c(20228),Ka=c(11382),Di=c(94233),$a=c(51890),Ua=c(55035);function Dt(n,e,t,r){if(n.rightRender)return n.rightRender(t,r,n);var i=(0,l.jsx)(ft.Z,{className:"umi-plugin-layout-menu",children:(0,l.jsxs)(ft.Z.Item,{onClick:function(){return n.logout&&(n==null?void 0:n.logout(t))},children:[(0,l.jsx)(Ua.Z,{}),"\u9000\u51FA\u767B\u5F55"]},"logout")}),a=(0,l.jsxs)("span",{className:"umi-plugin-layout-action",children:[(0,l.jsx)($a.C,{size:"small",className:"umi-plugin-layout-avatar",src:(t==null?void 0:t.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,l.jsx)("span",{className:"umi-plugin-layout-name",children:t==null?void 0:t.name})]});return e?(0,l.jsx)("div",{className:"umi-plugin-layout-right",children:(0,l.jsx)(Ka.Z,{size:"small",style:{marginLeft:8,marginRight:8}})}):(0,l.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[n.logout?(0,l.jsx)(Wa.Z,{overlay:i,overlayClassName:"umi-plugin-layout-container",children:a}):a,M.pD&&(0,l.jsx)(M.pD,{})]})}var Ai=c(57106),Cn=c(6129),Fi=c(57663),bn=c(71577);function Mn(){M.m8.push("/")}var Ga=function(){return(0,l.jsx)(Cn.ZP,{status:"404",title:"404",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,l.jsx)(bn.Z,{type:"primary",onClick:Mn,children:"\u8FD4\u56DE\u9996\u9875"})})},Va=function(){return(0,l.jsx)(Cn.ZP,{status:"403",title:"403",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762",extra:(0,l.jsx)(bn.Z,{type:"primary",onClick:Mn,children:"\u8FD4\u56DE\u9996\u9875"})})},ka=function(e){var t=e.children,r=e.currentPathConfig;return r?r.unAccessible||r.unaccessible?e.unAccessible||(0,l.jsx)(Va,{}):t:e.noFound||(0,l.jsx)(Ga,{})},Xa=function(){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,l.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,l.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,l.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,l.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,l.jsx)("g",{transform:"translate(-20 -20)",children:(0,l.jsx)("g",{transform:"translate(20 20)",children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("g",{fillRule:"nonzero",children:[(0,l.jsxs)("g",{children:[(0,l.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,l.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,l.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,l.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},Ya=Xa,Qa=function(e){var t,r,i,a={};return e!=null&&e.hideFooter&&(a.footerRender=!1),(e==null?void 0:e.layout)==!1?(a.pure=!0,a):(e!=null&&(t=e.layout)!==null&&t!==void 0&&t.hideMenu&&(a.menuRender=!1),e!=null&&(r=e.layout)!==null&&r!==void 0&&r.hideFooter&&(a.footerRender=!1),e!=null&&(i=e.layout)!==null&&i!==void 0&&i.hideNav&&(a.headerRender=!1),a)},Ja=Qa,_a=["children","userConfig","location","route"],qa=function(e){var t,r=e.children,i=e.userConfig,a=i===void 0?{}:i,o=e.location,s=e.route,u=(0,E.Z)(e,_a),d=M.tT&&(0,M.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},h=d.initialState,f=d.loading,v=d.setInitialState,y=(0,R.useMemo)(function(){var m,S=Vt((e==null||(m=e.route)===null||m===void 0?void 0:m.routes)||[],void 0,void 0,!0),j=S.menuData,G=Yt(o.pathname,j).pop();return G||{}},[o==null?void 0:o.pathname,e==null||(t=e.route)===null||t===void 0?void 0:t.routes]),C=(0,x.Z)((0,x.Z)((0,x.Z)({itemRender:function(S){return(0,l.jsx)(te.rU,{to:S.path,children:S.breadcrumbName})}},a),u),Ja(y||{})),P=M.md===null||M.md===void 0?void 0:(0,M.md)();return(0,l.jsx)(Ha,(0,x.Z)((0,x.Z)({route:s,location:o,title:(a==null?void 0:a.name)||(a==null?void 0:a.title),navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(S){S.stopPropagation(),S.preventDefault(),M.m8.push("/")},menu:{locale:a.locale},menuDataRender:a.patchMenus?function(m){return a==null?void 0:a.patchMenus(m,d)}:void 0,formatMessage:a==null?void 0:a.formatMessage,logo:Ya,menuItemRender:function(S,j){return S.isUrl?j:S.path&&o.pathname!==S.path?(0,l.jsx)(te.rU,{to:S.path,target:S.target,children:j}):j},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,postMenuData:M.Bz?function(m){return M.Bz===null||M.Bz===void 0?void 0:(0,M.Bz)(m,P)}:void 0},C),{},{rightContentRender:(C==null?void 0:C.rightContentRender)!==!1&&function(m){var S=Dt==null?void 0:Dt(a,f,h,v);return C.rightContentRender?C.rightContentRender(m,S,{userConfig:a,loading:f,initialState:h,setInitialState:v}):S},children:(0,l.jsx)(ka,{noFound:a==null?void 0:a.noFound,unAccessible:a==null?void 0:a.unAccessible,currentPathConfig:y,children:a.childrenRender?a.childrenRender(r,e):r})}))},ei=qa,ti=function(n){var e=(0,R.useState)(null),t=(0,b.Z)(e,2),r=t[0],i=t[1],a=M.tT&&(0,M.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},o=M.md===null||M.md===void 0?void 0:(0,M.md)();(0,R.useEffect)(function(){var h=M.BA.applyPlugins({key:"layout",type:A.ApplyPluginsType.modify,initialValue:(0,x.Z)((0,x.Z)({},a),{},{traverseModifyRoutes:function(v){return M.Bz===null||M.Bz===void 0?void 0:(0,M.Bz)(v,o)}})})||{};if(h instanceof Promise){h.then(function(f){i(f)});return}i(h)},[a==null?void 0:a.initialState,o]);var s=(0,x.Z)((0,x.Z)({},{name:"ant-design-pro",theme:"PRO",locale:!1,showBreadcrumb:!0,siderWidth:208,navTheme:"dark",primaryColor:"#FA541C",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"\u52A0\u76DF\u5546\u7BA1\u7406\u7CFB\u7EDF",pwa:!1,logo:"/logo.svg",iconfontUrl:""}),r||{}),u=(0,M.YB)(),d=u.formatMessage;return r?R.createElement(ei,(0,x.Z)({userConfig:s,formatMessage:d},n)):null}},6234:function(he){"use strict";var le=typeof BigInt64Array!="undefined";he.exports=function c(x,b){if(x===b)return!0;if(x&&b&&typeof x=="object"&&typeof b=="object"){if(x.constructor!==b.constructor)return!1;var R,M,A;if(Array.isArray(x)){if(R=x.length,R!=b.length)return!1;for(M=R;M--!=0;)if(!c(x[M],b[M]))return!1;return!0}if(x instanceof Map&&b instanceof Map){if(x.size!==b.size)return!1;for(M of x.entries())if(!b.has(M[0]))return!1;for(M of x.entries())if(!c(M[1],b.get(M[0])))return!1;return!0}if(x instanceof Set&&b instanceof Set){if(x.size!==b.size)return!1;for(M of x.entries())if(!b.has(M[0]))return!1;return!0}if(ArrayBuffer.isView(x)&&ArrayBuffer.isView(b)){if(R=x.length,R!=b.length)return!1;for(M=R;M--!=0;)if(x[M]!==b[M])return!1;return!0}if(x.constructor===RegExp)return x.source===b.source&&x.flags===b.flags;if(x.valueOf!==Object.prototype.valueOf)return x.valueOf()===b.valueOf();if(x.toString!==Object.prototype.toString)return x.toString()===b.toString();if(A=Object.keys(x),R=A.length,R!==Object.keys(b).length)return!1;for(M=R;M--!=0;)if(!Object.prototype.hasOwnProperty.call(b,A[M]))return!1;for(M=R;M--!=0;){var E=A[M];if(!(E==="_owner"&&x.$$typeof)&&!c(x[E],b[E]))return!1}return!0}return x!==x&&b!==b}},19586:function(he,le,c){"use strict";c.d(le,{Z:function(){return Xe}});var x=c(96156),b=c(22122),R=c(90484),M=c(94184),A=c.n(M),E=c(67294),te=c(53124),se=c(98423),V=function(p){var T=p.prefixCls,Y=p.className,ie=p.style,W=p.size,Q=p.shape,ne=A()((0,x.Z)((0,x.Z)({},"".concat(T,"-lg"),W==="large"),"".concat(T,"-sm"),W==="small")),H=A()((0,x.Z)((0,x.Z)((0,x.Z)({},"".concat(T,"-circle"),Q==="circle"),"".concat(T,"-square"),Q==="square"),"".concat(T,"-round"),Q==="round")),F=E.useMemo(function(){return typeof W=="number"?{width:W,height:W,lineHeight:"".concat(W,"px")}:{}},[W]);return E.createElement("span",{className:A()(T,ne,H,Y),style:(0,b.Z)((0,b.Z)({},F),ie)})},O=V,q=function(p){var T=p.prefixCls,Y=p.className,ie=p.active,W=p.shape,Q=W===void 0?"circle":W,ne=p.size,H=ne===void 0?"default":ne,F=E.useContext(te.E_),re=F.getPrefixCls,_=re("skeleton",T),be=(0,se.Z)(p,["prefixCls","className"]),De=A()(_,"".concat(_,"-element"),(0,x.Z)({},"".concat(_,"-active"),ie),Y);return E.createElement("div",{className:De},E.createElement(O,(0,b.Z)({prefixCls:"".concat(_,"-avatar"),shape:Q,size:H},be)))},ye=q,Z=function(p){var T=p.prefixCls,Y=p.className,ie=p.active,W=p.block,Q=W===void 0?!1:W,ne=p.size,H=ne===void 0?"default":ne,F=E.useContext(te.E_),re=F.getPrefixCls,_=re("skeleton",T),be=(0,se.Z)(p,["prefixCls"]),De=A()(_,"".concat(_,"-element"),(0,x.Z)((0,x.Z)({},"".concat(_,"-active"),ie),"".concat(_,"-block"),Q),Y);return E.createElement("div",{className:De},E.createElement(O,(0,b.Z)({prefixCls:"".concat(_,"-button"),size:H},be)))},B=Z,w=c(93181),L=function(p){var T=p.prefixCls,Y=p.className,ie=p.style,W=p.active,Q=p.children,ne=E.useContext(te.E_),H=ne.getPrefixCls,F=H("skeleton",T),re=A()(F,"".concat(F,"-element"),(0,x.Z)({},"".concat(F,"-active"),W),Y),_=Q!=null?Q:E.createElement(w.Z,null);return E.createElement("div",{className:re},E.createElement("div",{className:A()("".concat(F,"-image"),Y),style:ie},_))},g=L,l="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",fe=function(p){var T=p.prefixCls,Y=p.className,ie=p.style,W=p.active,Q=E.useContext(te.E_),ne=Q.getPrefixCls,H=ne("skeleton",T),F=A()(H,"".concat(H,"-element"),(0,x.Z)({},"".concat(H,"-active"),W),Y);return E.createElement("div",{className:F},E.createElement("div",{className:A()("".concat(H,"-image"),Y),style:ie},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(H,"-image-svg")},E.createElement("path",{d:l,className:"".concat(H,"-image-path")}))))},oe=fe,D=function(p){var T=p.prefixCls,Y=p.className,ie=p.active,W=p.block,Q=p.size,ne=Q===void 0?"default":Q,H=E.useContext(te.E_),F=H.getPrefixCls,re=F("skeleton",T),_=(0,se.Z)(p,["prefixCls"]),be=A()(re,"".concat(re,"-element"),(0,x.Z)((0,x.Z)({},"".concat(re,"-active"),ie),"".concat(re,"-block"),W),Y);return E.createElement("div",{className:be},E.createElement(O,(0,b.Z)({prefixCls:"".concat(re,"-input"),size:ne},_)))},I=D,ce=c(85061),de=function(p){var T=function(F){var re=p.width,_=p.rows,be=_===void 0?2:_;if(Array.isArray(re))return re[F];if(be-1===F)return re},Y=p.prefixCls,ie=p.className,W=p.style,Q=p.rows,ne=(0,ce.Z)(Array(Q)).map(function(H,F){return E.createElement("li",{key:F,style:{width:T(F)}})});return E.createElement("ul",{className:A()(Y,ie),style:W},ne)},k=de,me=function(p){var T=p.prefixCls,Y=p.className,ie=p.width,W=p.style;return E.createElement("h3",{className:A()(T,Y),style:(0,b.Z)({width:ie},W)})},Fe=me;function Te(X){return X&&(0,R.Z)(X)==="object"?X:{}}function ke(X,p){return X&&!p?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Le(X,p){return!X&&p?{width:"38%"}:X&&p?{width:"50%"}:{}}function Ne(X,p){var T={};return(!X||!p)&&(T.width="61%"),!X&&p?T.rows=3:T.rows=2,T}var xe=function(p){var T=p.prefixCls,Y=p.loading,ie=p.className,W=p.style,Q=p.children,ne=p.avatar,H=ne===void 0?!1:ne,F=p.title,re=F===void 0?!0:F,_=p.paragraph,be=_===void 0?!0:_,De=p.active,mt=p.round,lt=E.useContext(te.E_),pt=lt.getPrefixCls,yt=lt.direction,N=pt("skeleton",T);if(Y||!("loading"in p)){var ee=!!H,U=!!re,Ie=!!be,Ye;if(ee){var xt=(0,b.Z)((0,b.Z)({prefixCls:"".concat(N,"-avatar")},ke(U,Ie)),Te(H));Ye=E.createElement("div",{className:"".concat(N,"-header")},E.createElement(O,(0,b.Z)({},xt)))}var Be;if(U||Ie){var st;if(U){var Ct=(0,b.Z)((0,b.Z)({prefixCls:"".concat(N,"-title")},Le(ee,Ie)),Te(re));st=E.createElement(Fe,(0,b.Z)({},Ct))}var bt;if(Ie){var Mt=(0,b.Z)((0,b.Z)({prefixCls:"".concat(N,"-paragraph")},Ne(ee,U)),Te(be));bt=E.createElement(k,(0,b.Z)({},Mt))}Be=E.createElement("div",{className:"".concat(N,"-content")},st,bt)}var Zt=A()(N,(0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)({},"".concat(N,"-with-avatar"),ee),"".concat(N,"-active"),De),"".concat(N,"-rtl"),yt==="rtl"),"".concat(N,"-round"),mt),ie);return E.createElement("div",{className:Zt,style:W},Ye,Be)}return typeof Q!="undefined"?Q:null};xe.Button=B,xe.Avatar=ye,xe.Input=I,xe.Image=oe,xe.Node=g;var ot=xe,Xe=ot},18446:function(he,le,c){"use strict";var x=c(38663),b=c.n(x),R=c(18067),M=c.n(R)},97435:function(he,le){"use strict";function c(x,b){for(var R=Object.assign({},x),M=0;M<b.length;M+=1){var A=b[M];delete R[A]}return R}le.Z=c},14779:function(he){he.exports=ye,he.exports.parse=b,he.exports.compile=R,he.exports.tokensToFunction=M,he.exports.tokensToRegExp=q;var le="/",c="./",x=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function b(Z,B){for(var w=[],L=0,g=0,l="",fe=B&&B.delimiter||le,oe=B&&B.delimiters||c,D=!1,I;(I=x.exec(Z))!==null;){var ce=I[0],de=I[1],k=I.index;if(l+=Z.slice(g,k),g=k+ce.length,de){l+=de[1],D=!0;continue}var me="",Fe=Z[g],Te=I[2],ke=I[3],Le=I[4],Ne=I[5];if(!D&&l.length){var xe=l.length-1;oe.indexOf(l[xe])>-1&&(me=l[xe],l=l.slice(0,xe))}l&&(w.push(l),l="",D=!1);var ot=me!==""&&Fe!==void 0&&Fe!==me,Xe=Ne==="+"||Ne==="*",X=Ne==="?"||Ne==="*",p=me||fe,T=ke||Le;w.push({name:Te||L++,prefix:me,delimiter:p,optional:X,repeat:Xe,partial:ot,pattern:T?E(T):"[^"+A(p)+"]+?"})}return(l||g<Z.length)&&w.push(l+Z.substr(g)),w}function R(Z,B){return M(b(Z,B))}function M(Z){for(var B=new Array(Z.length),w=0;w<Z.length;w++)typeof Z[w]=="object"&&(B[w]=new RegExp("^(?:"+Z[w].pattern+")$"));return function(L,g){for(var l="",fe=g&&g.encode||encodeURIComponent,oe=0;oe<Z.length;oe++){var D=Z[oe];if(typeof D=="string"){l+=D;continue}var I=L?L[D.name]:void 0,ce;if(Array.isArray(I)){if(!D.repeat)throw new TypeError('Expected "'+D.name+'" to not repeat, but got array');if(I.length===0){if(D.optional)continue;throw new TypeError('Expected "'+D.name+'" to not be empty')}for(var de=0;de<I.length;de++){if(ce=fe(I[de],D),!B[oe].test(ce))throw new TypeError('Expected all "'+D.name+'" to match "'+D.pattern+'"');l+=(de===0?D.prefix:D.delimiter)+ce}continue}if(typeof I=="string"||typeof I=="number"||typeof I=="boolean"){if(ce=fe(String(I),D),!B[oe].test(ce))throw new TypeError('Expected "'+D.name+'" to match "'+D.pattern+'", but got "'+ce+'"');l+=D.prefix+ce;continue}if(D.optional){D.partial&&(l+=D.prefix);continue}throw new TypeError('Expected "'+D.name+'" to be '+(D.repeat?"an array":"a string"))}return l}}function A(Z){return Z.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function E(Z){return Z.replace(/([=!:$/()])/g,"\\$1")}function te(Z){return Z&&Z.sensitive?"":"i"}function se(Z,B){if(!B)return Z;var w=Z.source.match(/\((?!\?)/g);if(w)for(var L=0;L<w.length;L++)B.push({name:L,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return Z}function V(Z,B,w){for(var L=[],g=0;g<Z.length;g++)L.push(ye(Z[g],B,w).source);return new RegExp("(?:"+L.join("|")+")",te(w))}function O(Z,B,w){return q(b(Z,w),B,w)}function q(Z,B,w){w=w||{};for(var L=w.strict,g=w.start!==!1,l=w.end!==!1,fe=A(w.delimiter||le),oe=w.delimiters||c,D=[].concat(w.endsWith||[]).map(A).concat("$").join("|"),I=g?"^":"",ce=Z.length===0,de=0;de<Z.length;de++){var k=Z[de];if(typeof k=="string")I+=A(k),ce=de===Z.length-1&&oe.indexOf(k[k.length-1])>-1;else{var me=k.repeat?"(?:"+k.pattern+")(?:"+A(k.delimiter)+"(?:"+k.pattern+"))*":k.pattern;B&&B.push(k),k.optional?k.partial?I+=A(k.prefix)+"("+me+")?":I+="(?:"+A(k.prefix)+"("+me+"))?":I+=A(k.prefix)+"("+me+")"}}return l?(L||(I+="(?:"+fe+")?"),I+=D==="$"?"$":"(?="+D+")"):(L||(I+="(?:"+fe+"(?="+D+"))?"),ce||(I+="(?="+fe+"|"+D+")")),new RegExp(I,te(w))}function ye(Z,B,w){return Z instanceof RegExp?se(Z,B):Array.isArray(Z)?V(Z,B,w):O(Z,B,w)}},74204:function(he,le,c){"use strict";c.d(le,{Z:function(){return M},o:function(){return A}});var x=c(44958),b;function R(E){var te="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),se=document.createElement("div");se.id=te;var V=se.style;V.position="absolute",V.left="0",V.top="0",V.width="100px",V.height="100px",V.overflow="scroll";var O,q;if(E){var ye=getComputedStyle(E);V.scrollbarColor=ye.scrollbarColor,V.scrollbarWidth=ye.scrollbarWidth;var Z=getComputedStyle(E,"::-webkit-scrollbar"),B=parseInt(Z.width,10),w=parseInt(Z.height,10);try{var L=B?"width: ".concat(Z.width,";"):"",g=w?"height: ".concat(Z.height,";"):"";(0,x.hq)(`
  5. #`.concat(te,`::-webkit-scrollbar {
  6. `).concat(L,`
  7. `).concat(g,`
  8. }`),te)}catch(oe){console.error(oe),O=B,q=w}}document.body.appendChild(se);var l=E&&O&&!isNaN(O)?O:se.offsetWidth-se.clientWidth,fe=E&&q&&!isNaN(q)?q:se.offsetHeight-se.clientHeight;return document.body.removeChild(se),(0,x.jL)(te),{width:l,height:fe}}function M(E){return typeof document=="undefined"?0:((E||b===void 0)&&(b=R()),b.width)}function A(E){return typeof document=="undefined"||!E||!(E instanceof Element)?{width:0,height:0}:R(E)}},64217:function(he,le,c){"use strict";c.d(le,{Z:function(){return se}});var x=c(28991),b=`accept acceptCharset accessKey action allowFullScreen allowTransparency
  9. alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
  10. charSet checked classID className colSpan cols content contentEditable contextMenu
  11. controls coords crossOrigin data dateTime default defer dir disabled download draggable
  12. encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
  13. headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
  14. is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
  15. mediaGroup method min minLength multiple muted name noValidate nonce open
  16. optimum pattern placeholder poster preload radioGroup readOnly rel required
  17. reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
  18. shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
  19. summary tabIndex target title type useMap value width wmode wrap`,R=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
  20. onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
  21. onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
  22. onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
  23. onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
  24. onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
  25. onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,M="".concat(b," ").concat(R).split(/[\s\n]+/),A="aria-",E="data-";function te(V,O){return V.indexOf(O)===0}function se(V){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,q;O===!1?q={aria:!0,data:!0,attr:!0}:O===!0?q={aria:!0}:q=(0,x.Z)({},O);var ye={};return Object.keys(V).forEach(function(Z){(q.aria&&(Z==="role"||te(Z,A))||q.data&&te(Z,E)||q.attr&&M.includes(Z))&&(ye[Z]=V[Z])}),ye}}}]);