@akinon/ui-layout 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,9 +1,9 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("body{padding:0;margin:0}.ant-layout:not(.ant-layout-has-sider){border-inline:1px solid var(--color-gray-900)}.ant-layout .ant-layout-header{padding-inline:1rem;height:3.5rem;border-bottom:1px solid var(--color-gray-900);display:flex;align-items:center;justify-content:space-between;line-height:unset;position:sticky;top:0;z-index:1}.ant-layout .ant-layout-sider{position:sticky;top:0;height:100vh;overflow-y:auto}.ant-layout .ant-layout-sider.left{inset-inline-start:0}.ant-layout .ant-layout-sider.right{inset-inline-end:0}.ant-layout .ant-layout-sider .logo-container{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3.5rem;gap:.8rem}.ant-layout .ant-layout-sider .logo-container.collapsed .brand-image{display:none}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Oe=require("react/jsx-runtime"),M=require("react"),Ga=require("react-dom");function Ya(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const g=Ya(M);function Ka(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var to={exports:{}};/*!
1
+ (function(){"use strict";try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode("body{padding:0;margin:0}.akinon-layout:not(.akinon-layout-has-sider){border-inline:1px solid var(--color-gray-900)}.akinon-layout .akinon-layout-header{padding-inline:1rem;height:3.5rem;border-bottom:1px solid var(--color-gray-900);display:flex;align-items:center;justify-content:space-between;line-height:unset;position:sticky;top:0;z-index:1}.akinon-layout .akinon-layout-sider{position:sticky;top:0;height:100vh;overflow-y:auto}.akinon-layout .akinon-layout-sider.left{inset-inline-start:0}.akinon-layout .akinon-layout-sider.right{inset-inline-end:0}.akinon-layout .akinon-layout-sider .logo-container{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3.5rem;gap:.8rem}.akinon-layout .akinon-layout-sider .logo-container.collapsed .brand-image{display:none}")),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react/jsx-runtime"),M=require("react"),ai=require("react-dom");function ii(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const g=ii(M);function ci(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var co={exports:{}};/*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
5
5
  http://jedwatson.github.io/classnames
6
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var c=r.apply(null,a);c&&n.push(c)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var s in a)t.call(a,s)&&a[s]&&n.push(s)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(to);var qa=to.exports;const Ke=Ka(qa);function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lt.apply(this,arguments)}var ur={exports:{}},N={};/**
6
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var c=r.apply(null,a);c&&n.push(c)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var s in a)t.call(a,s)&&a[s]&&n.push(s)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(co);var si=co.exports;const me=ci(si);function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lt.apply(this,arguments)}var pr={exports:{}},H={};/**
7
7
  * @license React
8
8
  * react-is.production.min.js
9
9
  *
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
- */var fn;function Qa(){if(fn)return N;fn=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function p(d){if(typeof d=="object"&&d!==null){var S=d.$$typeof;switch(S){case e:switch(d=d.type,d){case r:case o:case n:case l:case f:return d;default:switch(d=d&&d.$$typeof,d){case c:case i:case s:case v:case u:case a:return d;default:return S}}case t:return S}}}return N.ContextConsumer=i,N.ContextProvider=a,N.Element=e,N.ForwardRef=s,N.Fragment=r,N.Lazy=v,N.Memo=u,N.Portal=t,N.Profiler=o,N.StrictMode=n,N.Suspense=l,N.SuspenseList=f,N.isAsyncMode=function(){return!1},N.isConcurrentMode=function(){return!1},N.isContextConsumer=function(d){return p(d)===i},N.isContextProvider=function(d){return p(d)===a},N.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},N.isForwardRef=function(d){return p(d)===s},N.isFragment=function(d){return p(d)===r},N.isLazy=function(d){return p(d)===v},N.isMemo=function(d){return p(d)===u},N.isPortal=function(d){return p(d)===t},N.isProfiler=function(d){return p(d)===o},N.isStrictMode=function(d){return p(d)===n},N.isSuspense=function(d){return p(d)===l},N.isSuspenseList=function(d){return p(d)===f},N.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===o||d===n||d===l||d===f||d===h||typeof d=="object"&&d!==null&&(d.$$typeof===v||d.$$typeof===u||d.$$typeof===a||d.$$typeof===i||d.$$typeof===s||d.$$typeof===b||d.getModuleId!==void 0)},N.typeOf=p,N}var L={};/**
14
+ */var hn;function li(){if(hn)return H;hn=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),S;S=Symbol.for("react.module.reference");function v(d){if(typeof d=="object"&&d!==null){var m=d.$$typeof;switch(m){case e:switch(d=d.type,d){case r:case o:case n:case l:case u:return d;default:switch(d=d&&d.$$typeof,d){case c:case i:case s:case p:case f:case a:return d;default:return m}}case t:return m}}}return H.ContextConsumer=i,H.ContextProvider=a,H.Element=e,H.ForwardRef=s,H.Fragment=r,H.Lazy=p,H.Memo=f,H.Portal=t,H.Profiler=o,H.StrictMode=n,H.Suspense=l,H.SuspenseList=u,H.isAsyncMode=function(){return!1},H.isConcurrentMode=function(){return!1},H.isContextConsumer=function(d){return v(d)===i},H.isContextProvider=function(d){return v(d)===a},H.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},H.isForwardRef=function(d){return v(d)===s},H.isFragment=function(d){return v(d)===r},H.isLazy=function(d){return v(d)===p},H.isMemo=function(d){return v(d)===f},H.isPortal=function(d){return v(d)===t},H.isProfiler=function(d){return v(d)===o},H.isStrictMode=function(d){return v(d)===n},H.isSuspense=function(d){return v(d)===l},H.isSuspenseList=function(d){return v(d)===u},H.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===o||d===n||d===l||d===u||d===h||typeof d=="object"&&d!==null&&(d.$$typeof===p||d.$$typeof===f||d.$$typeof===a||d.$$typeof===i||d.$$typeof===s||d.$$typeof===S||d.getModuleId!==void 0)},H.typeOf=v,H}var D={};/**
15
15
  * @license React
16
16
  * react-is.development.js
17
17
  *
@@ -19,17 +19,17 @@
19
19
  *
20
20
  * This source code is licensed under the MIT license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
- */var dn;function Ja(){return dn||(dn=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b=!1,p=!1,d=!1,S=!1,m=!1,w;w=Symbol.for("react.module.reference");function O(E){return!!(typeof E=="string"||typeof E=="function"||E===r||E===o||m||E===n||E===l||E===f||S||E===h||b||p||d||typeof E=="object"&&E!==null&&(E.$$typeof===v||E.$$typeof===u||E.$$typeof===a||E.$$typeof===i||E.$$typeof===s||E.$$typeof===w||E.getModuleId!==void 0))}function C(E){if(typeof E=="object"&&E!==null){var oe=E.$$typeof;switch(oe){case e:var Te=E.type;switch(Te){case r:case o:case n:case l:case f:return Te;default:var we=Te&&Te.$$typeof;switch(we){case c:case i:case s:case v:case u:case a:return we;default:return oe}}case t:return oe}}}var T=i,y=a,R=e,H=s,k=r,$=v,_=u,x=t,A=o,P=n,I=l,z=f,X=!1,F=!1;function W(E){return X||(X=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function K(E){return F||(F=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function V(E){return C(E)===i}function re(E){return C(E)===a}function ne(E){return typeof E=="object"&&E!==null&&E.$$typeof===e}function ge(E){return C(E)===s}function Be(E){return C(E)===r}function et(E){return C(E)===v}function tt(E){return C(E)===u}function rt(E){return C(E)===t}function ze(E){return C(E)===o}function me(E){return C(E)===n}function nt(E){return C(E)===l}function Fe(E){return C(E)===f}L.ContextConsumer=T,L.ContextProvider=y,L.Element=R,L.ForwardRef=H,L.Fragment=k,L.Lazy=$,L.Memo=_,L.Portal=x,L.Profiler=A,L.StrictMode=P,L.Suspense=I,L.SuspenseList=z,L.isAsyncMode=W,L.isConcurrentMode=K,L.isContextConsumer=V,L.isContextProvider=re,L.isElement=ne,L.isForwardRef=ge,L.isFragment=Be,L.isLazy=et,L.isMemo=tt,L.isPortal=rt,L.isProfiler=ze,L.isStrictMode=me,L.isSuspense=nt,L.isSuspenseList=Fe,L.isValidElementType=O,L.typeOf=C}()),L}process.env.NODE_ENV==="production"?ur.exports=Qa():ur.exports=Ja();var ro=ur.exports;function fr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];return M.Children.forEach(e,function(n){n==null&&!t.keepEmpty||(Array.isArray(n)?r=r.concat(fr(n)):ro.isFragment(n)&&n.props?r=r.concat(fr(n.props.children,t)):r.push(n))}),r}var dr={},Fr=[],Za=function(t){Fr.push(t)};function Wr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Fr.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function ei(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Fr.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function no(){dr={}}function oo(e,t,r){!t&&!dr[r]&&(e(!1,r),dr[r]=!0)}function De(e,t){oo(Wr,e,t)}function ti(e,t){oo(ei,e,t)}De.preMessage=Za;De.resetWarned=no;De.noteOnce=ti;function Y(e){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(e)}function ri(e,t){if(Y(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Y(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ao(e){var t=ri(e,"string");return Y(t)==="symbol"?t:String(t)}function D(e,t,r){return t=ao(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gn(Object(r),!0).forEach(function(n){D(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ni(e){return e instanceof HTMLElement||e instanceof SVGElement}function oi(e){return ni(e)?e:e instanceof M.Component?Ga.findDOMNode(e):null}function io(e,t,r){var n=g.useRef({});return(!("value"in n.current)||r(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}function ai(e,t){typeof e=="function"?e(t):Y(e)==="object"&&e&&"current"in e&&(e.current=t)}function ii(e){var t,r,n=ro.isMemo(e)?e.type.type:e.type;return!(typeof n=="function"&&!((t=n.prototype)!==null&&t!==void 0&&t.render)||typeof e=="function"&&!((r=e.prototype)!==null&&r!==void 0&&r.render))}function gt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ao(n.key),n)}}function vt(e,t,r){return t&&vn(e.prototype,t),r&&vn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function gr(e,t){return gr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},gr(e,t)}function co(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gr(e,t)}function It(e){return It=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},It(e)}function ci(){if(typeof Reflect>"u"||!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{return!1}}function vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function si(e,t){if(t&&(Y(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vr(e)}function so(e){var t=ci();return function(){var n=It(e),o;if(t){var a=It(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return si(this,o)}}function lo(e,t){var r=j({},e);return Array.isArray(t)&&t.forEach(function(n){delete r[n]}),r}function pr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function li(e){if(Array.isArray(e))return pr(e)}function uo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vr(e,t){if(e){if(typeof e=="string")return pr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pr(e,t)}}function ui(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
23
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ce(e){return li(e)||uo(e)||Vr(e)||ui()}var fo=function(t){return+setTimeout(t,16)},go=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(fo=function(t){return window.requestAnimationFrame(t)},go=function(t){return window.cancelAnimationFrame(t)});var pn=0,Ur=new Map;function vo(e){Ur.delete(e)}var hr=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;pn+=1;var n=pn;function o(a){if(a===0)vo(n),t();else{var i=fo(function(){o(a-1)});Ur.set(n,i)}}return o(r),n};hr.cancel=function(e){var t=Ur.get(e);return vo(t),go(t)};function Xr(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function fi(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function mr(e,t){if(e==null)return{};var r=fi(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function di(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=new Set;function o(a,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=n.has(a);if(De(!s,"Warning: There may be circular references"),s)return!1;if(a===i)return!0;if(r&&c>1)return!1;n.add(a);var l=c+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var f=0;f<a.length;f++)if(!o(a[f],i[f],l))return!1;return!0}if(a&&i&&Y(a)==="object"&&Y(i)==="object"){var u=Object.keys(a);return u.length!==Object.keys(i).length?!1:u.every(function(v){return o(a[v],i[v],l)})}return!1}return o(e,t)}var hn="%",gi=function(){function e(t){gt(this,e),D(this,"instanceId",void 0),D(this,"cache",new Map),this.instanceId=t}return vt(e,[{key:"get",value:function(r){return this.cache.get(r.join(hn))||null}},{key:"update",value:function(r,n){var o=r.join(hn),a=this.cache.get(o),i=n(a);i===null?this.cache.delete(o):this.cache.set(o,i)}}]),e}(),br="data-token-hash",$e="data-css-hash",vi="data-cache-path",Xe="__cssinjs_instance__";function pi(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat($e,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(o){o[Xe]=o[Xe]||e,o[Xe]===e&&document.head.insertBefore(o,r)});var n={};Array.from(document.querySelectorAll("style[".concat($e,"]"))).forEach(function(o){var a=o.getAttribute($e);if(n[a]){if(o[Xe]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else n[a]=!0})}return new gi(e)}var Gr=g.createContext({hashPriority:"low",cache:pi(),defaultCache:!0});function he(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function hi(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var mn="data-rc-order",bn="data-rc-priority",mi="rc-util-key",yr=new Map;function po(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):mi}function Bt(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function bi(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function ho(e){return Array.from((yr.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function mo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!he())return null;var r=t.csp,n=t.prepend,o=t.priority,a=o===void 0?0:o,i=bi(n),c=i==="prependQueue",s=document.createElement("style");s.setAttribute(mn,i),c&&a&&s.setAttribute(bn,"".concat(a)),r!=null&&r.nonce&&(s.nonce=r==null?void 0:r.nonce),s.innerHTML=e;var l=Bt(t),f=l.firstChild;if(n){if(c){var u=ho(l).filter(function(v){if(!["prepend","prependQueue"].includes(v.getAttribute(mn)))return!1;var h=Number(v.getAttribute(bn)||0);return a>=h});if(u.length)return l.insertBefore(s,u[u.length-1].nextSibling),s}l.insertBefore(s,f)}else l.appendChild(s);return s}function bo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Bt(t);return ho(r).find(function(n){return n.getAttribute(po(t))===e})}function yo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=bo(e,t);if(r){var n=Bt(t);n.removeChild(r)}}function yi(e,t){var r=yr.get(e);if(!r||!hi(document,r)){var n=mo("",t),o=n.parentNode;yr.set(e,o),e.removeChild(n)}}function Ht(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=Bt(r);yi(n,r);var o=bo(t,r);if(o){var a,i;if((a=r.csp)!==null&&a!==void 0&&a.nonce&&o.nonce!==((i=r.csp)===null||i===void 0?void 0:i.nonce)){var c;o.nonce=(c=r.csp)===null||c===void 0?void 0:c.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var s=mo(e,r);return s.setAttribute(po(r),t),s}function So(e){if(Array.isArray(e))return e}function Si(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,a,i,c=[],s=!0,l=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(f){l=!0,o=f}finally{try{if(!s&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}function xo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
24
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(e,t){return So(e)||Si(e,t)||Vr(e,t)||xo()}function xi(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var Yr=function(){function e(){gt(this,e),D(this,"cache",void 0),D(this,"keys",void 0),D(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return vt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var n,o,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return r.forEach(function(c){if(!i)i=void 0;else{var s,l;i=(s=i)===null||s===void 0||(l=s.map)===null||l===void 0?void 0:l.get(c)}}),(n=i)!==null&&n!==void 0&&n.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(r){var n;return(n=this.internalGet(r,!0))===null||n===void 0?void 0:n[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(l,f){var u=B(l,2),v=u[1];return o.internalGet(f)[1]<v?[f,o.internalGet(f)[1]]:l},[this.keys[0],this.cacheCallTimes]),i=B(a,1),c=i[0];this.delete(c)}this.keys.push(r)}var s=this.cache;r.forEach(function(l,f){if(f===r.length-1)s.set(l,{value:[n,o.cacheCallTimes++]});else{var u=s.get(l);u?u.map||(u.map=new Map):s.set(l,{map:new Map}),s=s.get(l).map}})}},{key:"deleteByPath",value:function(r,n){var o=r.get(n[0]);if(n.length===1){var a;return o.map?r.set(n[0],{map:o.map}):r.delete(n[0]),(a=o.value)===null||a===void 0?void 0:a[0]}var i=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&r.delete(n[0]),i}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(n){return!xi(n,r)}),this.deleteByPath(this.cache,r)}}]),e}();D(Yr,"MAX_CACHE_SIZE",20);D(Yr,"MAX_CACHE_OFFSET",5);var yn=0,Eo=function(){function e(t){gt(this,e),D(this,"derivatives",void 0),D(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=yn,t.length===0&&Wr(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),yn+=1}return vt(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(n,o){return o(r,n)},void 0)}}]),e}(),Qt=new Yr;function Sr(e){var t=Array.isArray(e)?e:[e];return Qt.has(t)||Qt.set(t,new Eo(t)),Qt.get(t)}var Ei=new WeakMap,Jt={};function Ci(e,t){for(var r=Ei,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(Jt)||r.set(Jt,e()),r.get(Jt)}var Sn=new WeakMap;function Dt(e){var t=Sn.get(e)||"";return t||(Object.keys(e).forEach(function(r){var n=e[r];t+=r,n instanceof Eo?t+=n.id:n&&Y(n)==="object"?t+=Dt(n):t+=n}),Sn.set(e,t)),t}function Ti(e,t){return Xr("".concat(t,"_").concat(Dt(e)))}var st="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Co="_bAmBoO_";function wi(e,t,r){if(he()){var n,o;Ht(e,st);var a=document.createElement("div");a.style.position="fixed",a.style.left="0",a.style.top="0",t==null||t(a),document.body.appendChild(a),process.env.NODE_ENV!=="production"&&(a.innerHTML="Test",a.style.zIndex="9999999");var i=r?r(a):(n=getComputedStyle(a).content)===null||n===void 0?void 0:n.includes(Co);return(o=a.parentNode)===null||o===void 0||o.removeChild(a),yo(st),i}return!1}var Zt=void 0;function Oi(){return Zt===void 0&&(Zt=wi("@layer ".concat(st," { .").concat(st,' { content: "').concat(Co,'"!important; } }'),function(e){e.className=st})),Zt}var xn=process.env.NODE_ENV!=="test"&&he()?g.useLayoutEffect:g.useEffect,ki=function(t,r){var n=g.useRef(!0);xn(function(){return t(n.current)},r),xn(function(){return n.current=!1,function(){n.current=!0}},[])},Pi=j({},g),En=Pi.useInsertionEffect,Ai=function(t,r,n){g.useMemo(t,n),ki(function(){return r(!0)},n)},Ri=En?function(e,t,r){return En(function(){return e(),t()},r)}:Ai,Mi=j({},g),_i=Mi.useInsertionEffect,ji=function(t){var r=[],n=!1;function o(a){if(n){process.env.NODE_ENV!=="production"&&Wr(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}r.push(a)}return g.useEffect(function(){return n=!1,function(){n=!0,r.length&&r.forEach(function(a){return a()})}},t),o},$i=function(){return function(t){t()}},Ni=typeof _i<"u"?ji:$i;function Li(){return!1}var xr=!1;function Ii(){return xr}const Hi=process.env.NODE_ENV==="production"?Li:Ii;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var er=window;if(typeof er.webpackHotUpdate=="function"){var Di=er.webpackHotUpdate;er.webpackHotUpdate=function(){return xr=!0,setTimeout(function(){xr=!1},0),Di.apply(void 0,arguments)}}}function To(e,t,r,n,o){var a=g.useContext(Gr),i=a.cache,c=[e].concat(Ce(t)),s=c.join("_"),l=Ni([s]),f=Hi(),u=function(p){i.update(c,function(d){var S=d||[],m=B(S,2),w=m[0],O=w===void 0?0:w,C=m[1],T=C;process.env.NODE_ENV!=="production"&&C&&f&&(n==null||n(T,f),T=null);var y=T||r(),R=[O,y];return p?p(R):R})};g.useMemo(function(){u()},[s]);var v=i.get(c);process.env.NODE_ENV!=="production"&&!v&&(u(),v=i.get(c));var h=v[1];return Ri(function(){o==null||o(h)},function(b){return u(function(p){var d=B(p,2),S=d[0],m=d[1];return b&&S===0&&(o==null||o(h)),[S+1,m]}),function(){i.update(c,function(p){var d=p||[],S=B(d,2),m=S[0],w=m===void 0?0:m,O=S[1],C=w-1;return C===0?(l(function(){return n==null?void 0:n(O,!1)}),null):[w-1,O]})}},[s]),h}var Bi={},zi=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",_e=new Map;function Fi(e){_e.set(e,(_e.get(e)||0)+1)}function Wi(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(br,'="').concat(e,'"]'));r.forEach(function(n){if(n[Xe]===t){var o;(o=n.parentNode)===null||o===void 0||o.removeChild(n)}})}}var Vi=0;function Ui(e,t){_e.set(e,(_e.get(e)||0)-1);var r=Array.from(_e.keys()),n=r.filter(function(o){var a=_e.get(o)||0;return a<=0});r.length-n.length>Vi&&n.forEach(function(o){Wi(o,t),_e.delete(o)})}var Xi=function(t,r,n,o){var a=n.getDerivativeToken(t),i=j(j({},a),r);return o&&(i=o(i)),i};function Gi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=M.useContext(Gr),o=n.cache.instanceId,a=r.salt,i=a===void 0?"":a,c=r.override,s=c===void 0?Bi:c,l=r.formatToken,f=r.getComputedToken,u=Ci(function(){return Object.assign.apply(Object,[{}].concat(Ce(t)))},t),v=Dt(u),h=Dt(s),b=To("token",[i,e.id,v,h],function(){var p=f?f(u,s,e):Xi(u,s,e,l),d=Ti(p,i);p._tokenKey=d,Fi(d);var S="".concat(zi,"-").concat(Xr(d));return p._hashId=S,[p,S]},function(p){Ui(p[0]._tokenKey,o)});return b}var Yi={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},wo="comm",Oo="rule",ko="decl",Ki="@import",qi="@keyframes",Qi="@layer",Ji=Math.abs,Kr=String.fromCharCode;function Po(e){return e.trim()}function Rt(e,t,r){return e.replace(t,r)}function Zi(e,t){return e.indexOf(t)}function ut(e,t){return e.charCodeAt(t)|0}function ft(e,t,r){return e.slice(t,r)}function Ee(e){return e.length}function ec(e){return e.length}function St(e,t){return t.push(e),e}var zt=1,qe=1,Ao=0,le=0,U=0,Je="";function qr(e,t,r,n,o,a,i,c){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:zt,column:qe,length:i,return:"",siblings:c}}function tc(){return U}function rc(){return U=le>0?ut(Je,--le):0,qe--,U===10&&(qe=1,zt--),U}function de(){return U=le<Ao?ut(Je,le++):0,qe++,U===10&&(qe=1,zt++),U}function Ne(){return ut(Je,le)}function Mt(){return le}function Ft(e,t){return ft(Je,e,t)}function Er(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function nc(e){return zt=qe=1,Ao=Ee(Je=e),le=0,[]}function oc(e){return Je="",e}function tr(e){return Po(Ft(le-1,Cr(e===91?e+2:e===40?e+1:e)))}function ac(e){for(;(U=Ne())&&U<33;)de();return Er(e)>2||Er(U)>3?"":" "}function ic(e,t){for(;--t&&de()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Ft(e,Mt()+(t<6&&Ne()==32&&de()==32))}function Cr(e){for(;de();)switch(U){case e:return le;case 34:case 39:e!==34&&e!==39&&Cr(U);break;case 40:e===41&&Cr(e);break;case 92:de();break}return le}function cc(e,t){for(;de()&&e+U!==47+10;)if(e+U===42+42&&Ne()===47)break;return"/*"+Ft(t,le-1)+"*"+Kr(e===47?e:de())}function sc(e){for(;!Er(Ne());)de();return Ft(e,le)}function lc(e){return oc(_t("",null,null,null,[""],e=nc(e),0,[0],e))}function _t(e,t,r,n,o,a,i,c,s){for(var l=0,f=0,u=i,v=0,h=0,b=0,p=1,d=1,S=1,m=0,w="",O=o,C=a,T=n,y=w;d;)switch(b=m,m=de()){case 40:if(b!=108&&ut(y,u-1)==58){Zi(y+=Rt(tr(m),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:y+=tr(m);break;case 9:case 10:case 13:case 32:y+=ac(b);break;case 92:y+=ic(Mt()-1,7);continue;case 47:switch(Ne()){case 42:case 47:St(uc(cc(de(),Mt()),t,r,s),s);break;default:y+="/"}break;case 123*p:c[l++]=Ee(y)*S;case 125*p:case 59:case 0:switch(m){case 0:case 125:d=0;case 59+f:S==-1&&(y=Rt(y,/\f/g,"")),h>0&&Ee(y)-u&&St(h>32?Tn(y+";",n,r,u-1,s):Tn(Rt(y," ","")+";",n,r,u-2,s),s);break;case 59:y+=";";default:if(St(T=Cn(y,t,r,l,f,o,c,w,O=[],C=[],u,a),a),m===123)if(f===0)_t(y,t,T,T,O,a,u,c,C);else switch(v===99&&ut(y,3)===110?100:v){case 100:case 108:case 109:case 115:_t(e,T,T,n&&St(Cn(e,T,T,0,0,o,c,w,o,O=[],u,C),C),o,C,u,c,n?O:C);break;default:_t(y,T,T,T,[""],C,0,c,C)}}l=f=h=0,p=S=1,w=y="",u=i;break;case 58:u=1+Ee(y),h=b;default:if(p<1){if(m==123)--p;else if(m==125&&p++==0&&rc()==125)continue}switch(y+=Kr(m),m*p){case 38:S=f>0?1:(y+="\f",-1);break;case 44:c[l++]=(Ee(y)-1)*S,S=1;break;case 64:Ne()===45&&(y+=tr(de())),v=Ne(),f=u=Ee(w=y+=sc(Mt())),m++;break;case 45:b===45&&Ee(y)==2&&(p=0)}}return a}function Cn(e,t,r,n,o,a,i,c,s,l,f,u){for(var v=o-1,h=o===0?a:[""],b=ec(h),p=0,d=0,S=0;p<n;++p)for(var m=0,w=ft(e,v+1,v=Ji(d=i[p])),O=e;m<b;++m)(O=Po(d>0?h[m]+" "+w:Rt(w,/&\f/g,h[m])))&&(s[S++]=O);return qr(e,t,r,o===0?Oo:c,s,l,f,u)}function uc(e,t,r,n){return qr(e,t,r,wo,Kr(tc()),ft(e,2,-2),0,n)}function Tn(e,t,r,n,o){return qr(e,t,r,ko,ft(e,0,n),ft(e,n+1,-1),n,o)}function Tr(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function fc(e,t,r,n){switch(e.type){case Qi:if(e.children.length)break;case Ki:case ko:return e.return=e.return||e.value;case wo:return"";case qi:return e.return=e.value+"{"+Tr(e.children,n)+"}";case Oo:if(!Ee(e.value=e.props.join(",")))return""}return Ee(r=Tr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ro(e,t){var r=t.path,n=t.parentSelectors;De(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}var dc=function(t,r,n){if(t==="content"){var o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,a=["normal","none","initial","inherit","unset"];(typeof r!="string"||a.indexOf(r)===-1&&!o.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'"))&&Ro("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(r,"\"'`."),n)}},gc=function(t,r,n){t==="animation"&&n.hashId&&r!=="none"&&Ro("You seem to be using hashed animation '".concat(r,"', in which case 'animationName' with Keyframe as value is recommended."),n)},wn="data-ant-cssinjs-cache-path",Mo="_FILE_STYLE__",Le,_o=!0;function vc(){if(!Le&&(Le={},he())){var e=document.createElement("div");e.className=wn,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var a=o.split(":"),i=B(a,2),c=i[0],s=i[1];Le[c]=s});var r=document.querySelector("style[".concat(wn,"]"));if(r){var n;_o=!1,(n=r.parentNode)===null||n===void 0||n.removeChild(r)}document.body.removeChild(e)}}function pc(e){return vc(),!!Le[e]}function hc(e){var t=Le[e],r=null;if(t&&he())if(_o)r=Mo;else{var n=document.querySelector("style[".concat($e,'="').concat(Le[e],'"]'));n?r=n.innerHTML:delete Le[e]}return[r,t]}var On=he(),jo="_skip_check_",$o="_multi_value_";function kn(e){var t=Tr(lc(e),fc);return t.replace(/\{%%%\:[^;];}/g,";")}function mc(e){return Y(e)==="object"&&e&&(jo in e||$o in e)}function bc(e,t,r){if(!t)return e;var n=".".concat(t),o=r==="low"?":where(".concat(n,")"):n,a=e.split(",").map(function(i){var c,s=i.trim().split(/\s+/),l=s[0]||"",f=((c=l.match(/^\w+/))===null||c===void 0?void 0:c[0])||"";return l="".concat(f).concat(o).concat(l.slice(f.length)),[l].concat(Ce(s.slice(1))).join(" ")});return a.join(",")}var yc=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=n.root,a=n.injectHash,i=n.parentSelectors,c=r.hashId,s=r.layer,l=r.path,f=r.hashPriority,u=r.transformers,v=u===void 0?[]:u,h=r.linters,b=h===void 0?[]:h,p="",d={};function S(T){var y=T.getName(c);if(!d[y]){var R=e(T.style,r,{root:!1,parentSelectors:i}),H=B(R,1),k=H[0];d[y]="@keyframes ".concat(T.getName(c)).concat(k)}}function m(T){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return T.forEach(function(R){Array.isArray(R)?m(R,y):R&&y.push(R)}),y}var w=m(Array.isArray(t)?t:[t]);if(w.forEach(function(T){var y=typeof T=="string"&&!o?{}:T;if(typeof y=="string")p+="".concat(y,`
25
- `);else if(y._keyframe)S(y);else{var R=v.reduce(function(H,k){var $;return(k==null||($=k.visit)===null||$===void 0?void 0:$.call(k,H))||H},y);Object.keys(R).forEach(function(H){var k=R[H];if(Y(k)==="object"&&k&&(H!=="animationName"||!k._keyframe)&&!mc(k)){var $=!1,_=H.trim(),x=!1;(o||a)&&c?_.startsWith("@")?$=!0:_=bc(H,c,f):o&&!c&&(_==="&"||_==="")&&(_="",x=!0);var A=e(k,r,{root:x,injectHash:$,parentSelectors:[].concat(Ce(i),[_])}),P=B(A,2),I=P[0],z=P[1];d=j(j({},d),z),p+="".concat(_).concat(I)}else{let W=function(K,V){process.env.NODE_ENV!=="production"&&(Y(k)!=="object"||!(k!=null&&k[jo]))&&[dc,gc].concat(Ce(b)).forEach(function(ge){return ge(K,V,{path:l,hashId:c,parentSelectors:i})});var re=K.replace(/[A-Z]/g,function(ge){return"-".concat(ge.toLowerCase())}),ne=V;!Yi[K]&&typeof ne=="number"&&ne!==0&&(ne="".concat(ne,"px")),K==="animationName"&&V!==null&&V!==void 0&&V._keyframe&&(S(V),ne=V.getName(c)),p+="".concat(re,":").concat(ne,";")};var X,F=(X=k==null?void 0:k.value)!==null&&X!==void 0?X:k;Y(k)==="object"&&k!==null&&k!==void 0&&k[$o]&&Array.isArray(F)?F.forEach(function(K){W(H,K)}):W(H,F)}})}}),!o)p="{".concat(p,"}");else if(s&&Oi()){var O=s.split(","),C=O[O.length-1].trim();p="@layer ".concat(C," {").concat(p,"}"),O.length>1&&(p="@layer ".concat(s,"{%%%:%}").concat(p))}return[p,d]};function Sc(e,t){return Xr("".concat(e.join("%")).concat(t))}function xc(){return null}function wr(e,t){var r=e.token,n=e.path,o=e.hashId,a=e.layer,i=e.nonce,c=e.clientOnly,s=e.order,l=s===void 0?0:s,f=g.useContext(Gr),u=f.autoClear,v=f.mock,h=f.defaultCache,b=f.hashPriority,p=f.container,d=f.ssrInline,S=f.transformers,m=f.linters,w=f.cache,O=r._tokenKey,C=[O].concat(Ce(n)),T=On;process.env.NODE_ENV!=="production"&&v!==void 0&&(T=v==="client");var y=To("style",C,function(){var _=C.join("|");if(pc(_)){var x=hc(_),A=B(x,2),P=A[0],I=A[1];if(P)return[P,O,I,{},c,l]}var z=t(),X=yc(z,{hashId:o,hashPriority:b,layer:a,path:n.join("-"),transformers:S,linters:m}),F=B(X,2),W=F[0],K=F[1],V=kn(W),re=Sc(C,V);return[V,O,re,K,c,l]},function(_,x){var A=B(_,3),P=A[2];(x||u)&&On&&yo(P,{mark:$e})},function(_){var x=B(_,4),A=x[0];x[1];var P=x[2],I=x[3];if(T&&A!==Mo){var z={mark:$e,prepend:"queue",attachTo:p,priority:l},X=typeof i=="function"?i():i;X&&(z.csp={nonce:X});var F=Ht(A,P,z);F[Xe]=w.instanceId,F.setAttribute(br,O),process.env.NODE_ENV!=="production"&&F.setAttribute(vi,C.join("|")),Object.keys(I).forEach(function(W){Ht(kn(I[W]),"_effect-".concat(W),z)})}}),R=B(y,3),H=R[0],k=R[1],$=R[2];return function(_){var x;if(!d||T||!h)x=g.createElement(xc,null);else{var A;x=g.createElement("style",Lt({},(A={},D(A,br,k),D(A,$e,$),A),{dangerouslySetInnerHTML:{__html:H}}))}return g.createElement(g.Fragment,null,x,_)}}function Ve(e){return e.notSplit=!0,e}Ve(["borderTop","borderBottom"]),Ve(["borderTop"]),Ve(["borderBottom"]),Ve(["borderLeft","borderRight"]),Ve(["borderLeft"]),Ve(["borderRight"]);var Ec=M.createContext({});const Qr=Ec;function Cc(e){return So(e)||uo(e)||Vr(e)||xo()}function Or(e,t){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;r=r[t[n]]}return r}function No(e,t,r,n){if(!t.length)return r;var o=Cc(t),a=o[0],i=o.slice(1),c;return!e&&typeof a=="number"?c=[]:Array.isArray(e)?c=Ce(e):c=j({},e),n&&r===void 0&&i.length===1?delete c[a][i[0]]:c[a]=No(c[a],i,r,n),c}function rr(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&n&&r===void 0&&!Or(e,t.slice(0,-1))?e:No(e,t,r,n)}function Tc(e){return Y(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Pn(e){return Array.isArray(e)?[]:{}}var wc=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Oc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Pn(t[0]);return t.forEach(function(o){function a(i,c){var s=new Set(c),l=Or(o,i),f=Array.isArray(l);if(f||Tc(l)){if(!s.has(l)){s.add(l);var u=Or(n,i);f?n=rr(n,i,[]):(!u||Y(u)!=="object")&&(n=rr(n,i,Pn(l))),wc(l).forEach(function(v){a([].concat(Ce(i),[v]),s)})}}else n=rr(n,i,l)}a([])}),n}function Lo(){}let xe=null;function kc(){xe=null,no()}let Jr=Lo;process.env.NODE_ENV!=="production"&&(Jr=(e,t,r)=>{De(e,`[antd: ${t}] ${r}`),process.env.NODE_ENV==="test"&&kc()});const Io=g.createContext({}),Ho=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=g.useContext(Io),r=(n,o,a)=>{if(!n)if(t===!1&&o==="deprecated"){const i=xe;xe||(xe={}),xe[e]=xe[e]||[],xe[e].includes(a||"")||xe[e].push(a||""),i||console.warn("[antd] There exists deprecated usage in your code:",xe)}else process.env.NODE_ENV!=="production"&&Jr(n,e,a)};return r.deprecated=(n,o,a,i)=>{r(n,"deprecated",`\`${o}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`)},r}:()=>{const e=()=>{};return e.deprecated=Lo,e},Wt=Jr,Pc=M.createContext(void 0),Ac={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};var Rc={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"};const Mc={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Do=Mc,_c={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Rc),timePickerLocale:Object.assign({},Do)},An=_c,ae="${label} is not a valid ${type}",jc={locale:"en",Pagination:Ac,DatePicker:An,TimePicker:Do,Calendar:An,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ae,method:ae,array:ae,object:ae,number:ae,date:ae,boolean:ae,integer:ae,float:ae,regexp:ae,email:ae,url:ae,hex:ae},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}},Vt=jc;Object.assign({},Vt.Modal);let jt=[];const Rn=()=>jt.reduce((e,t)=>Object.assign(Object.assign({},e),t),Vt.Modal);function $c(e){if(e){const t=Object.assign({},e);return jt.push(t),Rn(),()=>{jt=jt.filter(r=>r!==t),Rn()}}Object.assign({},Vt.Modal)}const Nc=M.createContext(void 0),Bo=Nc,zo="internalMark",Fo=e=>{const{locale:t={},children:r,_ANT_MARK__:n}=e;if(process.env.NODE_ENV!=="production"){const a=Ho("LocaleProvider");process.env.NODE_ENV!=="production"&&a(n===zo,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}g.useEffect(()=>$c(t&&t.Modal),[t]);const o=g.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return g.createElement(Bo.Provider,{value:o},r)};process.env.NODE_ENV!=="production"&&(Fo.displayName="LocaleProvider");const Lc=Fo;function ee(e,t){Ic(e)&&(e="100%");var r=Hc(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function xt(e){return Math.min(1,Math.max(0,e))}function Ic(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Hc(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Wo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Et(e){return e<=1?"".concat(Number(e)*100,"%"):e}function je(e){return e.length===1?"0"+e:String(e)}function Dc(e,t,r){return{r:ee(e,255)*255,g:ee(t,255)*255,b:ee(r,255)*255}}function Mn(e,t,r){e=ee(e,255),t=ee(t,255),r=ee(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=0,c=(n+o)/2;if(n===o)i=0,a=0;else{var s=n-o;switch(i=c>.5?s/(2-n-o):s/(n+o),n){case e:a=(t-r)/s+(t<r?6:0);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4;break}a/=6}return{h:a,s:i,l:c}}function nr(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Bc(e,t,r){var n,o,a;if(e=ee(e,360),t=ee(t,100),r=ee(r,100),t===0)o=r,a=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,c=2*r-i;n=nr(c,i,e+1/3),o=nr(c,i,e),a=nr(c,i,e-1/3)}return{r:n*255,g:o*255,b:a*255}}function kr(e,t,r){e=ee(e,255),t=ee(t,255),r=ee(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=n,c=n-o,s=n===0?0:c/n;if(n===o)a=0;else{switch(n){case e:a=(t-r)/c+(t<r?6:0);break;case t:a=(r-e)/c+2;break;case r:a=(e-t)/c+4;break}a/=6}return{h:a,s,v:i}}function zc(e,t,r){e=ee(e,360)*6,t=ee(t,100),r=ee(r,100);var n=Math.floor(e),o=e-n,a=r*(1-t),i=r*(1-o*t),c=r*(1-(1-o)*t),s=n%6,l=[r,i,a,a,c,r][s],f=[c,r,r,i,a,a][s],u=[a,a,c,r,r,i][s];return{r:l*255,g:f*255,b:u*255}}function Pr(e,t,r,n){var o=[je(Math.round(e).toString(16)),je(Math.round(t).toString(16)),je(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Fc(e,t,r,n,o){var a=[je(Math.round(e).toString(16)),je(Math.round(t).toString(16)),je(Math.round(r).toString(16)),je(Wc(n))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function Wc(e){return Math.round(parseFloat(e)*255).toString(16)}function _n(e){return ie(e)/255}function ie(e){return parseInt(e,16)}function Vc(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Ar={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ue(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,a=null,i=!1,c=!1;return typeof e=="string"&&(e=Gc(e)),typeof e=="object"&&(ye(e.r)&&ye(e.g)&&ye(e.b)?(t=Dc(e.r,e.g,e.b),i=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ye(e.h)&&ye(e.s)&&ye(e.v)?(n=Et(e.s),o=Et(e.v),t=zc(e.h,n,o),i=!0,c="hsv"):ye(e.h)&&ye(e.s)&&ye(e.l)&&(n=Et(e.s),a=Et(e.l),t=Bc(e.h,n,a),i=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Wo(r),{ok:i,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var Uc="[-\\+]?\\d+%?",Xc="[-\\+]?\\d*\\.\\d+%?",ke="(?:".concat(Xc,")|(?:").concat(Uc,")"),or="[\\s|\\(]+(".concat(ke,")[,|\\s]+(").concat(ke,")[,|\\s]+(").concat(ke,")\\s*\\)?"),ar="[\\s|\\(]+(".concat(ke,")[,|\\s]+(").concat(ke,")[,|\\s]+(").concat(ke,")[,|\\s]+(").concat(ke,")\\s*\\)?"),ue={CSS_UNIT:new RegExp(ke),rgb:new RegExp("rgb"+or),rgba:new RegExp("rgba"+ar),hsl:new RegExp("hsl"+or),hsla:new RegExp("hsla"+ar),hsv:new RegExp("hsv"+or),hsva:new RegExp("hsva"+ar),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Gc(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Ar[e])e=Ar[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=ue.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=ue.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=ue.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=ue.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=ue.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=ue.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=ue.hex8.exec(e),r?{r:ie(r[1]),g:ie(r[2]),b:ie(r[3]),a:_n(r[4]),format:t?"name":"hex8"}:(r=ue.hex6.exec(e),r?{r:ie(r[1]),g:ie(r[2]),b:ie(r[3]),format:t?"name":"hex"}:(r=ue.hex4.exec(e),r?{r:ie(r[1]+r[1]),g:ie(r[2]+r[2]),b:ie(r[3]+r[3]),a:_n(r[4]+r[4]),format:t?"name":"hex8"}:(r=ue.hex3.exec(e),r?{r:ie(r[1]+r[1]),g:ie(r[2]+r[2]),b:ie(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function ye(e){return!!ue.CSS_UNIT.exec(String(e))}var ce=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=Vc(t)),this.originalInput=t;var o=Ue(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:o.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,o,a=t.r/255,i=t.g/255,c=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),c<=.03928?o=c/12.92:o=Math.pow((c+.055)/1.055,2.4),.2126*r+.7152*n+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Wo(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=kr(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=kr(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Mn(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Mn(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Pr(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Fc(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(ee(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(ee(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Pr(this.r,this.g,this.b,!1),r=0,n=Object.entries(Ar);r<n.length;r++){var o=n[r],a=o[0],i=o[1];if(t===i)return a}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var n=!1,o=this.a<1&&this.a>=0,a=!r&&o&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=xt(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=xt(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=xt(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=xt(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),a=r/100,i={r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a};return new e(i)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),o=360/r,a=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,a=r.v,i=[],c=1/t;t--;)i.push(new e({h:n,s:o,v:a})),a=(a+c)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],a=360/t,i=1;i<t;i++)o.push(new e({h:(n+i*a)%360,s:r.s,l:r.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),Ct=2,jn=.16,Yc=.05,Kc=.05,qc=.15,Vo=5,Uo=4,Qc=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function $n(e){var t=e.r,r=e.g,n=e.b,o=kr(t,r,n);return{h:o.h*360,s:o.s,v:o.v}}function Tt(e){var t=e.r,r=e.g,n=e.b;return"#".concat(Pr(t,r,n,!1))}function Jc(e,t,r){var n=r/100,o={r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b};return o}function Nn(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-Ct*t:Math.round(e.h)+Ct*t:n=r?Math.round(e.h)+Ct*t:Math.round(e.h)-Ct*t,n<0?n+=360:n>=360&&(n-=360),n}function Ln(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-jn*t:t===Uo?n=e.s+jn:n=e.s+Yc*t,n>1&&(n=1),r&&t===Vo&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function In(e,t,r){var n;return r?n=e.v+Kc*t:n=e.v-qc*t,n>1&&(n=1),Number(n.toFixed(2))}function Ie(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=Ue(e),o=Vo;o>0;o-=1){var a=$n(n),i=Tt(Ue({h:Nn(a,o,!0),s:Ln(a,o,!0),v:In(a,o,!0)}));r.push(i)}r.push(Tt(n));for(var c=1;c<=Uo;c+=1){var s=$n(n),l=Tt(Ue({h:Nn(s,c),s:Ln(s,c),v:In(s,c)}));r.push(l)}return t.theme==="dark"?Qc.map(function(f){var u=f.index,v=f.opacity,h=Tt(Jc(Ue(t.backgroundColor||"#141414"),Ue(r[u]),v*100));return h}):r}var ir={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},$t={},cr={};Object.keys(ir).forEach(function(e){$t[e]=Ie(ir[e]),$t[e].primary=$t[e][5],cr[e]=Ie(ir[e],{theme:"dark",backgroundColor:"#141414"}),cr[e].primary=cr[e][5]});var Zc=$t.blue;const es=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},ts=es;function rs(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}const Xo={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},ns=Object.assign(Object.assign({},Xo),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
22
+ */var mn;function ui(){return mn||(mn=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),S=!1,v=!1,d=!1,m=!1,b=!1,T;T=Symbol.for("react.module.reference");function w($){return!!(typeof $=="string"||typeof $=="function"||$===r||$===o||b||$===n||$===l||$===u||m||$===h||S||v||d||typeof $=="object"&&$!==null&&($.$$typeof===p||$.$$typeof===f||$.$$typeof===a||$.$$typeof===i||$.$$typeof===s||$.$$typeof===T||$.getModuleId!==void 0))}function O($){if(typeof $=="object"&&$!==null){var oe=$.$$typeof;switch(oe){case e:var Te=$.type;switch(Te){case r:case o:case n:case l:case u:return Te;default:var $e=Te&&Te.$$typeof;switch($e){case c:case i:case s:case p:case f:case a:return $e;default:return oe}}case t:return oe}}}var x=i,y=a,E=e,j=s,P=r,_=p,R=f,C=t,k=o,A=n,N=l,F=u,L=!1,W=!1;function z($){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function V($){return W||(W=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function U($){return O($)===i}function re($){return O($)===a}function ne($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function pe($){return O($)===s}function Fe($){return O($)===r}function et($){return O($)===p}function tt($){return O($)===f}function rt($){return O($)===t}function ze($){return O($)===o}function ye($){return O($)===n}function nt($){return O($)===l}function We($){return O($)===u}D.ContextConsumer=x,D.ContextProvider=y,D.Element=E,D.ForwardRef=j,D.Fragment=P,D.Lazy=_,D.Memo=R,D.Portal=C,D.Profiler=k,D.StrictMode=A,D.Suspense=N,D.SuspenseList=F,D.isAsyncMode=z,D.isConcurrentMode=V,D.isContextConsumer=U,D.isContextProvider=re,D.isElement=ne,D.isForwardRef=pe,D.isFragment=Fe,D.isLazy=et,D.isMemo=tt,D.isPortal=rt,D.isProfiler=ze,D.isStrictMode=ye,D.isSuspense=nt,D.isSuspenseList=We,D.isValidElementType=w,D.typeOf=O}()),D}process.env.NODE_ENV==="production"?pr.exports=li():pr.exports=ui();var so=pr.exports;function vr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];return M.Children.forEach(e,function(n){n==null&&!t.keepEmpty||(Array.isArray(n)?r=r.concat(vr(n)):so.isFragment(n)&&n.props?r=r.concat(vr(n.props.children,t)):r.push(n))}),r}var hr={},Xr=[],fi=function(t){Xr.push(t)};function Yr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Xr.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function di(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Xr.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function lo(){hr={}}function uo(e,t,r){!t&&!hr[r]&&(e(!1,r),hr[r]=!0)}function Be(e,t){uo(Yr,e,t)}function gi(e,t){uo(di,e,t)}Be.preMessage=fi;Be.resetWarned=lo;Be.noteOnce=gi;function q(e){"@babel/helpers - typeof";return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q(e)}function pi(e,t){if(q(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(q(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fo(e){var t=pi(e,"string");return q(t)==="symbol"?t:String(t)}function B(e,t,r){return t=fo(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bn(Object(r),!0).forEach(function(n){B(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vi(e){return e instanceof HTMLElement||e instanceof SVGElement}function hi(e){return vi(e)?e:e instanceof M.Component?ai.findDOMNode(e):null}function go(e,t,r){var n=g.useRef({});return(!("value"in n.current)||r(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}function mi(e,t){typeof e=="function"?e(t):q(e)==="object"&&e&&"current"in e&&(e.current=t)}function bi(e){var t,r,n=so.isMemo(e)?e.type.type:e.type;return!(typeof n=="function"&&!((t=n.prototype)!==null&&t!==void 0&&t.render)||typeof e=="function"&&!((r=e.prototype)!==null&&r!==void 0&&r.render))}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,fo(n.key),n)}}function vt(e,t,r){return t&&yn(e.prototype,t),r&&yn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function mr(e,t){return mr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},mr(e,t)}function po(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mr(e,t)}function Ht(e){return Ht=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ht(e)}function yi(){if(typeof Reflect>"u"||!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{return!1}}function br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Si(e,t){if(t&&(q(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return br(e)}function vo(e){var t=yi();return function(){var n=Ht(e),o;if(t){var a=Ht(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return Si(this,o)}}function qr(e,t){var r=I({},e);return Array.isArray(t)&&t.forEach(function(n){delete r[n]}),r}function yr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xi(e){if(Array.isArray(e))return yr(e)}function ho(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kr(e,t){if(e){if(typeof e=="string")return yr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yr(e,t)}}function Ci(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
23
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oe(e){return xi(e)||ho(e)||Kr(e)||Ci()}var mo=function(t){return+setTimeout(t,16)},bo=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(mo=function(t){return window.requestAnimationFrame(t)},bo=function(t){return window.cancelAnimationFrame(t)});var Sn=0,Qr=new Map;function yo(e){Qr.delete(e)}var Sr=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Sn+=1;var n=Sn;function o(a){if(a===0)yo(n),t();else{var i=mo(function(){o(a-1)});Qr.set(n,i)}}return o(r),n};Sr.cancel=function(e){var t=Qr.get(e);return yo(t),bo(t)};function Jr(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Ei(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function xr(e,t){if(e==null)return{};var r=Ei(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function wi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=new Set;function o(a,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=n.has(a);if(Be(!s,"Warning: There may be circular references"),s)return!1;if(a===i)return!0;if(r&&c>1)return!1;n.add(a);var l=c+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var u=0;u<a.length;u++)if(!o(a[u],i[u],l))return!1;return!0}if(a&&i&&q(a)==="object"&&q(i)==="object"){var f=Object.keys(a);return f.length!==Object.keys(i).length?!1:f.every(function(p){return o(a[p],i[p],l)})}return!1}return o(e,t)}var xn="%",Oi=function(){function e(t){pt(this,e),B(this,"instanceId",void 0),B(this,"cache",new Map),this.instanceId=t}return vt(e,[{key:"get",value:function(r){return this.cache.get(r.join(xn))||null}},{key:"update",value:function(r,n){var o=r.join(xn),a=this.cache.get(o),i=n(a);i===null?this.cache.delete(o):this.cache.set(o,i)}}]),e}(),Cr="data-token-hash",Ne="data-css-hash",Ti="data-cache-path",Xe="__cssinjs_instance__";function $i(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Ne,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(o){o[Xe]=o[Xe]||e,o[Xe]===e&&document.head.insertBefore(o,r)});var n={};Array.from(document.querySelectorAll("style[".concat(Ne,"]"))).forEach(function(o){var a=o.getAttribute(Ne);if(n[a]){if(o[Xe]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else n[a]=!0})}return new Oi(e)}var Pi=g.createContext({hashPriority:"low",cache:$i(),defaultCache:!0});const Zr=Pi;function be(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ki(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Cn="data-rc-order",En="data-rc-priority",Ai="rc-util-key",Er=new Map;function So(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Ai}function zt(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Mi(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function xo(e){return Array.from((Er.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!be())return null;var r=t.csp,n=t.prepend,o=t.priority,a=o===void 0?0:o,i=Mi(n),c=i==="prependQueue",s=document.createElement("style");s.setAttribute(Cn,i),c&&a&&s.setAttribute(En,"".concat(a)),r!=null&&r.nonce&&(s.nonce=r==null?void 0:r.nonce),s.innerHTML=e;var l=zt(t),u=l.firstChild;if(n){if(c){var f=xo(l).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(Cn)))return!1;var h=Number(p.getAttribute(En)||0);return a>=h});if(f.length)return l.insertBefore(s,f[f.length-1].nextSibling),s}l.insertBefore(s,u)}else l.appendChild(s);return s}function Eo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=zt(t);return xo(r).find(function(n){return n.getAttribute(So(t))===e})}function wo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Eo(e,t);if(r){var n=zt(t);n.removeChild(r)}}function Ri(e,t){var r=Er.get(e);if(!r||!ki(document,r)){var n=Co("",t),o=n.parentNode;Er.set(e,o),e.removeChild(n)}}function Dt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=zt(r);Ri(n,r);var o=Eo(t,r);if(o){var a,i;if((a=r.csp)!==null&&a!==void 0&&a.nonce&&o.nonce!==((i=r.csp)===null||i===void 0?void 0:i.nonce)){var c;o.nonce=(c=r.csp)===null||c===void 0?void 0:c.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var s=Co(e,r);return s.setAttribute(So(r),t),s}function Oo(e){if(Array.isArray(e))return e}function ji(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,a,i,c=[],s=!0,l=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(u){l=!0,o=u}finally{try{if(!s&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}function To(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
24
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function G(e,t){return Oo(e)||ji(e,t)||Kr(e,t)||To()}function _i(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var en=function(){function e(){pt(this,e),B(this,"cache",void 0),B(this,"keys",void 0),B(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return vt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var n,o,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return r.forEach(function(c){if(!i)i=void 0;else{var s,l;i=(s=i)===null||s===void 0||(l=s.map)===null||l===void 0?void 0:l.get(c)}}),(n=i)!==null&&n!==void 0&&n.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(r){var n;return(n=this.internalGet(r,!0))===null||n===void 0?void 0:n[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(l,u){var f=G(l,2),p=f[1];return o.internalGet(u)[1]<p?[u,o.internalGet(u)[1]]:l},[this.keys[0],this.cacheCallTimes]),i=G(a,1),c=i[0];this.delete(c)}this.keys.push(r)}var s=this.cache;r.forEach(function(l,u){if(u===r.length-1)s.set(l,{value:[n,o.cacheCallTimes++]});else{var f=s.get(l);f?f.map||(f.map=new Map):s.set(l,{map:new Map}),s=s.get(l).map}})}},{key:"deleteByPath",value:function(r,n){var o=r.get(n[0]);if(n.length===1){var a;return o.map?r.set(n[0],{map:o.map}):r.delete(n[0]),(a=o.value)===null||a===void 0?void 0:a[0]}var i=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&r.delete(n[0]),i}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(n){return!_i(n,r)}),this.deleteByPath(this.cache,r)}}]),e}();B(en,"MAX_CACHE_SIZE",20);B(en,"MAX_CACHE_OFFSET",5);var wn=0,$o=function(){function e(t){pt(this,e),B(this,"derivatives",void 0),B(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=wn,t.length===0&&Yr(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),wn+=1}return vt(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(n,o){return o(r,n)},void 0)}}]),e}(),tr=new en;function wr(e){var t=Array.isArray(e)?e:[e];return tr.has(t)||tr.set(t,new $o(t)),tr.get(t)}var Ni=new WeakMap,rr={};function Ii(e,t){for(var r=Ni,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(rr)||r.set(rr,e()),r.get(rr)}var On=new WeakMap;function Bt(e){var t=On.get(e)||"";return t||(Object.keys(e).forEach(function(r){var n=e[r];t+=r,n instanceof $o?t+=n.id:n&&q(n)==="object"?t+=Bt(n):t+=n}),On.set(e,t)),t}function Li(e,t){return Jr("".concat(t,"_").concat(Bt(e)))}var st="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Po="_bAmBoO_";function Hi(e,t,r){if(be()){var n,o;Dt(e,st);var a=document.createElement("div");a.style.position="fixed",a.style.left="0",a.style.top="0",t==null||t(a),document.body.appendChild(a),process.env.NODE_ENV!=="production"&&(a.innerHTML="Test",a.style.zIndex="9999999");var i=r?r(a):(n=getComputedStyle(a).content)===null||n===void 0?void 0:n.includes(Po);return(o=a.parentNode)===null||o===void 0||o.removeChild(a),wo(st),i}return!1}var nr=void 0;function Di(){return nr===void 0&&(nr=Hi("@layer ".concat(st," { .").concat(st,' { content: "').concat(Po,'"!important; } }'),function(e){e.className=st})),nr}var Tn=process.env.NODE_ENV!=="test"&&be()?g.useLayoutEffect:g.useEffect,Bi=function(t,r){var n=g.useRef(!0);Tn(function(){return t(n.current)},r),Tn(function(){return n.current=!1,function(){n.current=!0}},[])},Fi=I({},g),$n=Fi.useInsertionEffect,zi=function(t,r,n){g.useMemo(t,n),Bi(function(){return r(!0)},n)},Wi=$n?function(e,t,r){return $n(function(){return e(),t()},r)}:zi;const Vi=Wi;var Gi=I({},g),Ui=Gi.useInsertionEffect,Xi=function(t){var r=[],n=!1;function o(a){if(n){process.env.NODE_ENV!=="production"&&Yr(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}r.push(a)}return g.useEffect(function(){return n=!1,function(){n=!0,r.length&&r.forEach(function(a){return a()})}},t),o},Yi=function(){return function(t){t()}},qi=typeof Ui<"u"?Xi:Yi;const Ki=qi;function Qi(){return!1}var Or=!1;function Ji(){return Or}const Zi=process.env.NODE_ENV==="production"?Qi:Ji;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var or=window;if(typeof or.webpackHotUpdate=="function"){var ec=or.webpackHotUpdate;or.webpackHotUpdate=function(){return Or=!0,setTimeout(function(){Or=!1},0),ec.apply(void 0,arguments)}}}function ko(e,t,r,n,o){var a=g.useContext(Zr),i=a.cache,c=[e].concat(Oe(t)),s=c.join("_"),l=Ki([s]),u=Zi(),f=function(v){i.update(c,function(d){var m=d||[],b=G(m,2),T=b[0],w=T===void 0?0:T,O=b[1],x=O;process.env.NODE_ENV!=="production"&&O&&u&&(n==null||n(x,u),x=null);var y=x||r(),E=[w,y];return v?v(E):E})};g.useMemo(function(){f()},[s]);var p=i.get(c);process.env.NODE_ENV!=="production"&&!p&&(f(),p=i.get(c));var h=p[1];return Vi(function(){o==null||o(h)},function(S){return f(function(v){var d=G(v,2),m=d[0],b=d[1];return S&&m===0&&(o==null||o(h)),[m+1,b]}),function(){i.update(c,function(v){var d=v||[],m=G(d,2),b=m[0],T=b===void 0?0:b,w=m[1],O=T-1;return O===0?(l(function(){return n==null?void 0:n(w,!1)}),null):[T-1,w]})}},[s]),h}var tc={},rc=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",je=new Map;function nc(e){je.set(e,(je.get(e)||0)+1)}function oc(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(Cr,'="').concat(e,'"]'));r.forEach(function(n){if(n[Xe]===t){var o;(o=n.parentNode)===null||o===void 0||o.removeChild(n)}})}}var ac=0;function ic(e,t){je.set(e,(je.get(e)||0)-1);var r=Array.from(je.keys()),n=r.filter(function(o){var a=je.get(o)||0;return a<=0});r.length-n.length>ac&&n.forEach(function(o){oc(o,t),je.delete(o)})}var cc=function(t,r,n,o){var a=n.getDerivativeToken(t),i=I(I({},a),r);return o&&(i=o(i)),i};function sc(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=M.useContext(Zr),o=n.cache.instanceId,a=r.salt,i=a===void 0?"":a,c=r.override,s=c===void 0?tc:c,l=r.formatToken,u=r.getComputedToken,f=Ii(function(){return Object.assign.apply(Object,[{}].concat(Oe(t)))},t),p=Bt(f),h=Bt(s),S=ko("token",[i,e.id,p,h],function(){var v=u?u(f,s,e):cc(f,s,e,l),d=Li(v,i);v._tokenKey=d,nc(d);var m="".concat(rc,"-").concat(Jr(d));return v._hashId=m,[v,m]},function(v){ic(v[0]._tokenKey,o)});return S}var lc={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ao="comm",Mo="rule",Ro="decl",uc="@import",fc="@keyframes",dc="@layer",gc=Math.abs,tn=String.fromCharCode;function jo(e){return e.trim()}function Mt(e,t,r){return e.replace(t,r)}function pc(e,t){return e.indexOf(t)}function ut(e,t){return e.charCodeAt(t)|0}function ft(e,t,r){return e.slice(t,r)}function we(e){return e.length}function vc(e){return e.length}function xt(e,t){return t.push(e),e}var Wt=1,Ke=1,_o=0,le=0,X=0,Je="";function rn(e,t,r,n,o,a,i,c){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Wt,column:Ke,length:i,return:"",siblings:c}}function hc(){return X}function mc(){return X=le>0?ut(Je,--le):0,Ke--,X===10&&(Ke=1,Wt--),X}function de(){return X=le<_o?ut(Je,le++):0,Ke++,X===10&&(Ke=1,Wt++),X}function Ie(){return ut(Je,le)}function Rt(){return le}function Vt(e,t){return ft(Je,e,t)}function Tr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bc(e){return Wt=Ke=1,_o=we(Je=e),le=0,[]}function yc(e){return Je="",e}function ar(e){return jo(Vt(le-1,$r(e===91?e+2:e===40?e+1:e)))}function Sc(e){for(;(X=Ie())&&X<33;)de();return Tr(e)>2||Tr(X)>3?"":" "}function xc(e,t){for(;--t&&de()&&!(X<48||X>102||X>57&&X<65||X>70&&X<97););return Vt(e,Rt()+(t<6&&Ie()==32&&de()==32))}function $r(e){for(;de();)switch(X){case e:return le;case 34:case 39:e!==34&&e!==39&&$r(X);break;case 40:e===41&&$r(e);break;case 92:de();break}return le}function Cc(e,t){for(;de()&&e+X!==47+10;)if(e+X===42+42&&Ie()===47)break;return"/*"+Vt(t,le-1)+"*"+tn(e===47?e:de())}function Ec(e){for(;!Tr(Ie());)de();return Vt(e,le)}function wc(e){return yc(jt("",null,null,null,[""],e=bc(e),0,[0],e))}function jt(e,t,r,n,o,a,i,c,s){for(var l=0,u=0,f=i,p=0,h=0,S=0,v=1,d=1,m=1,b=0,T="",w=o,O=a,x=n,y=T;d;)switch(S=b,b=de()){case 40:if(S!=108&&ut(y,f-1)==58){pc(y+=Mt(ar(b),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:y+=ar(b);break;case 9:case 10:case 13:case 32:y+=Sc(S);break;case 92:y+=xc(Rt()-1,7);continue;case 47:switch(Ie()){case 42:case 47:xt(Oc(Cc(de(),Rt()),t,r,s),s);break;default:y+="/"}break;case 123*v:c[l++]=we(y)*m;case 125*v:case 59:case 0:switch(b){case 0:case 125:d=0;case 59+u:m==-1&&(y=Mt(y,/\f/g,"")),h>0&&we(y)-f&&xt(h>32?kn(y+";",n,r,f-1,s):kn(Mt(y," ","")+";",n,r,f-2,s),s);break;case 59:y+=";";default:if(xt(x=Pn(y,t,r,l,u,o,c,T,w=[],O=[],f,a),a),b===123)if(u===0)jt(y,t,x,x,w,a,f,c,O);else switch(p===99&&ut(y,3)===110?100:p){case 100:case 108:case 109:case 115:jt(e,x,x,n&&xt(Pn(e,x,x,0,0,o,c,T,o,w=[],f,O),O),o,O,f,c,n?w:O);break;default:jt(y,x,x,x,[""],O,0,c,O)}}l=u=h=0,v=m=1,T=y="",f=i;break;case 58:f=1+we(y),h=S;default:if(v<1){if(b==123)--v;else if(b==125&&v++==0&&mc()==125)continue}switch(y+=tn(b),b*v){case 38:m=u>0?1:(y+="\f",-1);break;case 44:c[l++]=(we(y)-1)*m,m=1;break;case 64:Ie()===45&&(y+=ar(de())),p=Ie(),u=f=we(T=y+=Ec(Rt())),b++;break;case 45:S===45&&we(y)==2&&(v=0)}}return a}function Pn(e,t,r,n,o,a,i,c,s,l,u,f){for(var p=o-1,h=o===0?a:[""],S=vc(h),v=0,d=0,m=0;v<n;++v)for(var b=0,T=ft(e,p+1,p=gc(d=i[v])),w=e;b<S;++b)(w=jo(d>0?h[b]+" "+T:Mt(T,/&\f/g,h[b])))&&(s[m++]=w);return rn(e,t,r,o===0?Mo:c,s,l,u,f)}function Oc(e,t,r,n){return rn(e,t,r,Ao,tn(hc()),ft(e,2,-2),0,n)}function kn(e,t,r,n,o){return rn(e,t,r,Ro,ft(e,0,n),ft(e,n+1,-1),n,o)}function Pr(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Tc(e,t,r,n){switch(e.type){case dc:if(e.children.length)break;case uc:case Ro:return e.return=e.return||e.value;case Ao:return"";case fc:return e.return=e.value+"{"+Pr(e.children,n)+"}";case Mo:if(!we(e.value=e.props.join(",")))return""}return we(r=Pr(e.children,n))?e.return=e.value+"{"+r+"}":""}function No(e,t){var r=t.path,n=t.parentSelectors;Be(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}var $c=function(t,r,n){if(t==="content"){var o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,a=["normal","none","initial","inherit","unset"];(typeof r!="string"||a.indexOf(r)===-1&&!o.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'"))&&No("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(r,"\"'`."),n)}},Pc=function(t,r,n){t==="animation"&&n.hashId&&r!=="none"&&No("You seem to be using hashed animation '".concat(r,"', in which case 'animationName' with Keyframe as value is recommended."),n)},An="data-ant-cssinjs-cache-path",Io="_FILE_STYLE__",Le,Lo=!0;function kc(){if(!Le&&(Le={},be())){var e=document.createElement("div");e.className=An,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var a=o.split(":"),i=G(a,2),c=i[0],s=i[1];Le[c]=s});var r=document.querySelector("style[".concat(An,"]"));if(r){var n;Lo=!1,(n=r.parentNode)===null||n===void 0||n.removeChild(r)}document.body.removeChild(e)}}function Ac(e){return kc(),!!Le[e]}function Mc(e){var t=Le[e],r=null;if(t&&be())if(Lo)r=Io;else{var n=document.querySelector("style[".concat(Ne,'="').concat(Le[e],'"]'));n?r=n.innerHTML:delete Le[e]}return[r,t]}var Mn=be(),Ho="_skip_check_",Do="_multi_value_";function Rn(e){var t=Pr(wc(e),Tc);return t.replace(/\{%%%\:[^;];}/g,";")}function Rc(e){return q(e)==="object"&&e&&(Ho in e||Do in e)}function jc(e,t,r){if(!t)return e;var n=".".concat(t),o=r==="low"?":where(".concat(n,")"):n,a=e.split(",").map(function(i){var c,s=i.trim().split(/\s+/),l=s[0]||"",u=((c=l.match(/^\w+/))===null||c===void 0?void 0:c[0])||"";return l="".concat(u).concat(o).concat(l.slice(u.length)),[l].concat(Oe(s.slice(1))).join(" ")});return a.join(",")}var _c=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=n.root,a=n.injectHash,i=n.parentSelectors,c=r.hashId,s=r.layer,l=r.path,u=r.hashPriority,f=r.transformers,p=f===void 0?[]:f,h=r.linters,S=h===void 0?[]:h,v="",d={};function m(x){var y=x.getName(c);if(!d[y]){var E=e(x.style,r,{root:!1,parentSelectors:i}),j=G(E,1),P=j[0];d[y]="@keyframes ".concat(x.getName(c)).concat(P)}}function b(x){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return x.forEach(function(E){Array.isArray(E)?b(E,y):E&&y.push(E)}),y}var T=b(Array.isArray(t)?t:[t]);if(T.forEach(function(x){var y=typeof x=="string"&&!o?{}:x;if(typeof y=="string")v+="".concat(y,`
25
+ `);else if(y._keyframe)m(y);else{var E=p.reduce(function(j,P){var _;return(P==null||(_=P.visit)===null||_===void 0?void 0:_.call(P,j))||j},y);Object.keys(E).forEach(function(j){var P=E[j];if(q(P)==="object"&&P&&(j!=="animationName"||!P._keyframe)&&!Rc(P)){var _=!1,R=j.trim(),C=!1;(o||a)&&c?R.startsWith("@")?_=!0:R=jc(j,c,u):o&&!c&&(R==="&"||R==="")&&(R="",C=!0);var k=e(P,r,{root:C,injectHash:_,parentSelectors:[].concat(Oe(i),[R])}),A=G(k,2),N=A[0],F=A[1];d=I(I({},d),F),v+="".concat(R).concat(N)}else{let z=function(V,U){process.env.NODE_ENV!=="production"&&(q(P)!=="object"||!(P!=null&&P[Ho]))&&[$c,Pc].concat(Oe(S)).forEach(function(pe){return pe(V,U,{path:l,hashId:c,parentSelectors:i})});var re=V.replace(/[A-Z]/g,function(pe){return"-".concat(pe.toLowerCase())}),ne=U;!lc[V]&&typeof ne=="number"&&ne!==0&&(ne="".concat(ne,"px")),V==="animationName"&&U!==null&&U!==void 0&&U._keyframe&&(m(U),ne=U.getName(c)),v+="".concat(re,":").concat(ne,";")};var L,W=(L=P==null?void 0:P.value)!==null&&L!==void 0?L:P;q(P)==="object"&&P!==null&&P!==void 0&&P[Do]&&Array.isArray(W)?W.forEach(function(V){z(j,V)}):z(j,W)}})}}),!o)v="{".concat(v,"}");else if(s&&Di()){var w=s.split(","),O=w[w.length-1].trim();v="@layer ".concat(O," {").concat(v,"}"),w.length>1&&(v="@layer ".concat(s,"{%%%:%}").concat(v))}return[v,d]};function Nc(e,t){return Jr("".concat(e.join("%")).concat(t))}function Ic(){return null}function kr(e,t){var r=e.token,n=e.path,o=e.hashId,a=e.layer,i=e.nonce,c=e.clientOnly,s=e.order,l=s===void 0?0:s,u=g.useContext(Zr),f=u.autoClear,p=u.mock,h=u.defaultCache,S=u.hashPriority,v=u.container,d=u.ssrInline,m=u.transformers,b=u.linters,T=u.cache,w=r._tokenKey,O=[w].concat(Oe(n)),x=Mn;process.env.NODE_ENV!=="production"&&p!==void 0&&(x=p==="client");var y=ko("style",O,function(){var R=O.join("|");if(Ac(R)){var C=Mc(R),k=G(C,2),A=k[0],N=k[1];if(A)return[A,w,N,{},c,l]}var F=t(),L=_c(F,{hashId:o,hashPriority:S,layer:a,path:n.join("-"),transformers:m,linters:b}),W=G(L,2),z=W[0],V=W[1],U=Rn(z),re=Nc(O,U);return[U,w,re,V,c,l]},function(R,C){var k=G(R,3),A=k[2];(C||f)&&Mn&&wo(A,{mark:Ne})},function(R){var C=G(R,4),k=C[0];C[1];var A=C[2],N=C[3];if(x&&k!==Io){var F={mark:Ne,prepend:"queue",attachTo:v,priority:l},L=typeof i=="function"?i():i;L&&(F.csp={nonce:L});var W=Dt(k,A,F);W[Xe]=T.instanceId,W.setAttribute(Cr,w),process.env.NODE_ENV!=="production"&&W.setAttribute(Ti,O.join("|")),Object.keys(N).forEach(function(z){Dt(Rn(N[z]),"_effect-".concat(z),F)})}}),E=G(y,3),j=E[0],P=E[1],_=E[2];return function(R){var C;if(!d||x||!h)C=g.createElement(Ic,null);else{var k;C=g.createElement("style",Lt({},(k={},B(k,Cr,P),B(k,Ne,_),k),{dangerouslySetInnerHTML:{__html:j}}))}return g.createElement(g.Fragment,null,C,R)}}function Ge(e){return e.notSplit=!0,e}Ge(["borderTop","borderBottom"]),Ge(["borderTop"]),Ge(["borderBottom"]),Ge(["borderLeft","borderRight"]),Ge(["borderLeft"]),Ge(["borderRight"]);var Lc=M.createContext({});const nn=Lc;function Hc(e){return Oo(e)||ho(e)||Kr(e)||To()}function Ar(e,t){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;r=r[t[n]]}return r}function Bo(e,t,r,n){if(!t.length)return r;var o=Hc(t),a=o[0],i=o.slice(1),c;return!e&&typeof a=="number"?c=[]:Array.isArray(e)?c=Oe(e):c=I({},e),n&&r===void 0&&i.length===1?delete c[a][i[0]]:c[a]=Bo(c[a],i,r,n),c}function ir(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&n&&r===void 0&&!Ar(e,t.slice(0,-1))?e:Bo(e,t,r,n)}function Dc(e){return q(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function jn(e){return Array.isArray(e)?[]:{}}var Bc=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Fc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=jn(t[0]);return t.forEach(function(o){function a(i,c){var s=new Set(c),l=Ar(o,i),u=Array.isArray(l);if(u||Dc(l)){if(!s.has(l)){s.add(l);var f=Ar(n,i);u?n=ir(n,i,[]):(!f||q(f)!=="object")&&(n=ir(n,i,jn(l))),Bc(l).forEach(function(p){a([].concat(Oe(i),[p]),s)})}}else n=ir(n,i,l)}a([])}),n}function Fo(){}let Ee=null;function zc(){Ee=null,lo()}let on=Fo;process.env.NODE_ENV!=="production"&&(on=(e,t,r)=>{Be(e,`[antd: ${t}] ${r}`),process.env.NODE_ENV==="test"&&zc()});const zo=g.createContext({}),Wo=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=g.useContext(zo),r=(n,o,a)=>{if(!n)if(t===!1&&o==="deprecated"){const i=Ee;Ee||(Ee={}),Ee[e]=Ee[e]||[],Ee[e].includes(a||"")||Ee[e].push(a||""),i||console.warn("[antd] There exists deprecated usage in your code:",Ee)}else process.env.NODE_ENV!=="production"&&on(n,e,a)};return r.deprecated=(n,o,a,i)=>{r(n,"deprecated",`\`${o}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`)},r}:()=>{const e=()=>{};return e.deprecated=Fo,e},Gt=on,Wc=M.createContext(void 0),Vc={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};var Gc={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"};const Uc={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Vo=Uc,Xc={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Gc),timePickerLocale:Object.assign({},Vo)},_n=Xc,ae="${label} is not a valid ${type}",Yc={locale:"en",Pagination:Vc,DatePicker:_n,TimePicker:Vo,Calendar:_n,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ae,method:ae,array:ae,object:ae,number:ae,date:ae,boolean:ae,integer:ae,float:ae,regexp:ae,email:ae,url:ae,hex:ae},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}},Ut=Yc;Object.assign({},Ut.Modal);let _t=[];const Nn=()=>_t.reduce((e,t)=>Object.assign(Object.assign({},e),t),Ut.Modal);function qc(e){if(e){const t=Object.assign({},e);return _t.push(t),Nn(),()=>{_t=_t.filter(r=>r!==t),Nn()}}Object.assign({},Ut.Modal)}const Kc=M.createContext(void 0),Go=Kc,Uo="internalMark",Xo=e=>{const{locale:t={},children:r,_ANT_MARK__:n}=e;if(process.env.NODE_ENV!=="production"){const a=Wo("LocaleProvider");process.env.NODE_ENV!=="production"&&a(n===Uo,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}g.useEffect(()=>qc(t&&t.Modal),[t]);const o=g.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return g.createElement(Go.Provider,{value:o},r)};process.env.NODE_ENV!=="production"&&(Xo.displayName="LocaleProvider");const Qc=Xo;function ee(e,t){Jc(e)&&(e="100%");var r=Zc(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ct(e){return Math.min(1,Math.max(0,e))}function Jc(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Zc(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Yo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Et(e){return e<=1?"".concat(Number(e)*100,"%"):e}function _e(e){return e.length===1?"0"+e:String(e)}function es(e,t,r){return{r:ee(e,255)*255,g:ee(t,255)*255,b:ee(r,255)*255}}function In(e,t,r){e=ee(e,255),t=ee(t,255),r=ee(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=0,c=(n+o)/2;if(n===o)i=0,a=0;else{var s=n-o;switch(i=c>.5?s/(2-n-o):s/(n+o),n){case e:a=(t-r)/s+(t<r?6:0);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4;break}a/=6}return{h:a,s:i,l:c}}function cr(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function ts(e,t,r){var n,o,a;if(e=ee(e,360),t=ee(t,100),r=ee(r,100),t===0)o=r,a=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,c=2*r-i;n=cr(c,i,e+1/3),o=cr(c,i,e),a=cr(c,i,e-1/3)}return{r:n*255,g:o*255,b:a*255}}function Mr(e,t,r){e=ee(e,255),t=ee(t,255),r=ee(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=n,c=n-o,s=n===0?0:c/n;if(n===o)a=0;else{switch(n){case e:a=(t-r)/c+(t<r?6:0);break;case t:a=(r-e)/c+2;break;case r:a=(e-t)/c+4;break}a/=6}return{h:a,s,v:i}}function rs(e,t,r){e=ee(e,360)*6,t=ee(t,100),r=ee(r,100);var n=Math.floor(e),o=e-n,a=r*(1-t),i=r*(1-o*t),c=r*(1-(1-o)*t),s=n%6,l=[r,i,a,a,c,r][s],u=[c,r,r,i,a,a][s],f=[a,a,c,r,r,i][s];return{r:l*255,g:u*255,b:f*255}}function Rr(e,t,r,n){var o=[_e(Math.round(e).toString(16)),_e(Math.round(t).toString(16)),_e(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function ns(e,t,r,n,o){var a=[_e(Math.round(e).toString(16)),_e(Math.round(t).toString(16)),_e(Math.round(r).toString(16)),_e(os(n))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function os(e){return Math.round(parseFloat(e)*255).toString(16)}function Ln(e){return ie(e)/255}function ie(e){return parseInt(e,16)}function as(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var jr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ue(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,a=null,i=!1,c=!1;return typeof e=="string"&&(e=ss(e)),typeof e=="object"&&(xe(e.r)&&xe(e.g)&&xe(e.b)?(t=es(e.r,e.g,e.b),i=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):xe(e.h)&&xe(e.s)&&xe(e.v)?(n=Et(e.s),o=Et(e.v),t=rs(e.h,n,o),i=!0,c="hsv"):xe(e.h)&&xe(e.s)&&xe(e.l)&&(n=Et(e.s),a=Et(e.l),t=ts(e.h,n,a),i=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Yo(r),{ok:i,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var is="[-\\+]?\\d+%?",cs="[-\\+]?\\d*\\.\\d+%?",ke="(?:".concat(cs,")|(?:").concat(is,")"),sr="[\\s|\\(]+(".concat(ke,")[,|\\s]+(").concat(ke,")[,|\\s]+(").concat(ke,")\\s*\\)?"),lr="[\\s|\\(]+(".concat(ke,")[,|\\s]+(").concat(ke,")[,|\\s]+(").concat(ke,")[,|\\s]+(").concat(ke,")\\s*\\)?"),ue={CSS_UNIT:new RegExp(ke),rgb:new RegExp("rgb"+sr),rgba:new RegExp("rgba"+lr),hsl:new RegExp("hsl"+sr),hsla:new RegExp("hsla"+lr),hsv:new RegExp("hsv"+sr),hsva:new RegExp("hsva"+lr),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ss(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(jr[e])e=jr[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=ue.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=ue.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=ue.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=ue.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=ue.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=ue.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=ue.hex8.exec(e),r?{r:ie(r[1]),g:ie(r[2]),b:ie(r[3]),a:Ln(r[4]),format:t?"name":"hex8"}:(r=ue.hex6.exec(e),r?{r:ie(r[1]),g:ie(r[2]),b:ie(r[3]),format:t?"name":"hex"}:(r=ue.hex4.exec(e),r?{r:ie(r[1]+r[1]),g:ie(r[2]+r[2]),b:ie(r[3]+r[3]),a:Ln(r[4]+r[4]),format:t?"name":"hex8"}:(r=ue.hex3.exec(e),r?{r:ie(r[1]+r[1]),g:ie(r[2]+r[2]),b:ie(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function xe(e){return!!ue.CSS_UNIT.exec(String(e))}var ce=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=as(t)),this.originalInput=t;var o=Ue(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:o.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,o,a=t.r/255,i=t.g/255,c=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),c<=.03928?o=c/12.92:o=Math.pow((c+.055)/1.055,2.4),.2126*r+.7152*n+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Yo(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Mr(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Mr(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=In(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=In(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Rr(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),ns(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(ee(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(ee(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Rr(this.r,this.g,this.b,!1),r=0,n=Object.entries(jr);r<n.length;r++){var o=n[r],a=o[0],i=o[1];if(t===i)return a}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var n=!1,o=this.a<1&&this.a>=0,a=!r&&o&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=Ct(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=Ct(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=Ct(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=Ct(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),a=r/100,i={r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a};return new e(i)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),o=360/r,a=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,a=r.v,i=[],c=1/t;t--;)i.push(new e({h:n,s:o,v:a})),a=(a+c)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],a=360/t,i=1;i<t;i++)o.push(new e({h:(n+i*a)%360,s:r.s,l:r.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),wt=2,Hn=.16,ls=.05,us=.05,fs=.15,qo=5,Ko=4,ds=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Dn(e){var t=e.r,r=e.g,n=e.b,o=Mr(t,r,n);return{h:o.h*360,s:o.s,v:o.v}}function Ot(e){var t=e.r,r=e.g,n=e.b;return"#".concat(Rr(t,r,n,!1))}function gs(e,t,r){var n=r/100,o={r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b};return o}function Bn(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-wt*t:Math.round(e.h)+wt*t:n=r?Math.round(e.h)+wt*t:Math.round(e.h)-wt*t,n<0?n+=360:n>=360&&(n-=360),n}function Fn(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-Hn*t:t===Ko?n=e.s+Hn:n=e.s+ls*t,n>1&&(n=1),r&&t===qo&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function zn(e,t,r){var n;return r?n=e.v+us*t:n=e.v-fs*t,n>1&&(n=1),Number(n.toFixed(2))}function He(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=Ue(e),o=qo;o>0;o-=1){var a=Dn(n),i=Ot(Ue({h:Bn(a,o,!0),s:Fn(a,o,!0),v:zn(a,o,!0)}));r.push(i)}r.push(Ot(n));for(var c=1;c<=Ko;c+=1){var s=Dn(n),l=Ot(Ue({h:Bn(s,c),s:Fn(s,c),v:zn(s,c)}));r.push(l)}return t.theme==="dark"?ds.map(function(u){var f=u.index,p=u.opacity,h=Ot(gs(Ue(t.backgroundColor||"#141414"),Ue(r[f]),p*100));return h}):r}var ur={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Nt={},fr={};Object.keys(ur).forEach(function(e){Nt[e]=He(ur[e]),Nt[e].primary=Nt[e][5],fr[e]=He(ur[e],{theme:"dark",backgroundColor:"#141414"}),fr[e].primary=fr[e][5]});var ps=Nt.blue;const vs=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},hs=vs;function ms(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}const Qo={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},bs=Object.assign(Object.assign({},Qo),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
26
26
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
27
- 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),dt=ns;function os(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t;const{colorSuccess:o,colorWarning:a,colorError:i,colorInfo:c,colorPrimary:s,colorBgBase:l,colorTextBase:f}=e,u=r(s),v=r(o),h=r(a),b=r(i),p=r(c),d=n(l,f),S=e.colorLink||e.colorInfo,m=r(S);return Object.assign(Object.assign({},d),{colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:v[1],colorSuccessBgHover:v[2],colorSuccessBorder:v[3],colorSuccessBorderHover:v[4],colorSuccessHover:v[4],colorSuccess:v[6],colorSuccessActive:v[7],colorSuccessTextHover:v[8],colorSuccessText:v[9],colorSuccessTextActive:v[10],colorErrorBg:b[1],colorErrorBgHover:b[2],colorErrorBorder:b[3],colorErrorBorderHover:b[4],colorErrorHover:b[5],colorError:b[6],colorErrorActive:b[7],colorErrorTextHover:b[8],colorErrorText:b[9],colorErrorTextActive:b[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorLinkHover:m[4],colorLink:m[6],colorLinkActive:m[7],colorBgMask:new ce("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const as=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},is=as;function cs(e){const{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1},is(n))}const Se=(e,t)=>new ce(e).setAlpha(t).toRgbString(),ct=(e,t)=>new ce(e).darken(t).toHexString(),ss=e=>{const t=Ie(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},ls=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:Se(n,.88),colorTextSecondary:Se(n,.65),colorTextTertiary:Se(n,.45),colorTextQuaternary:Se(n,.25),colorFill:Se(n,.15),colorFillSecondary:Se(n,.06),colorFillTertiary:Se(n,.04),colorFillQuaternary:Se(n,.02),colorBgLayout:ct(r,4),colorBgContainer:ct(r,0),colorBgElevated:ct(r,0),colorBgSpotlight:Se(n,.85),colorBgBlur:"transparent",colorBorder:ct(r,15),colorBorderSecondary:ct(r,6)}};function us(e){const t=new Array(10).fill(null).map((r,n)=>{const o=n-1,a=e*Math.pow(2.71828,o/5),i=n>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(r=>{const n=r+8;return{size:r,lineHeight:n/r}})}const fs=e=>{const t=us(e),r=t.map(o=>o.size),n=t.map(o=>o.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:n[1],lineHeightLG:n[2],lineHeightSM:n[0],lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ds=fs;function gs(e){const t=Object.keys(Xo).map(r=>{const n=Ie(e[r]);return new Array(10).fill(1).reduce((o,a,i)=>(o[`${r}-${i+1}`]=n[i],o[`${r}${i+1}`]=n[i],o),{})}).reduce((r,n)=>(r=Object.assign(Object.assign({},r),n),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),os(e,{generateColorPalettes:ss,generateNeutralColorPalettes:ls})),ds(e.fontSize)),rs(e)),ts(e)),cs(e))}const Go=Sr(gs),Yo={token:dt,override:{override:dt},hashed:!0},Ko=M.createContext(Yo),qo="anticon",vs=(e,t)=>t||(e?`ant-${e}`:"ant"),Ae=g.createContext({getPrefixCls:vs,iconPrefixCls:qo}),ps=`-ant-${Date.now()}-${Math.random()}`;function hs(e,t){const r={},n=(i,c)=>{let s=i.clone();return s=(c==null?void 0:c(s))||s,s.toRgbString()},o=(i,c)=>{const s=new ce(i),l=Ie(s.toRgbString());r[`${c}-color`]=n(s),r[`${c}-color-disabled`]=l[1],r[`${c}-color-hover`]=l[4],r[`${c}-color-active`]=l[6],r[`${c}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),r[`${c}-color-deprecated-bg`]=l[0],r[`${c}-color-deprecated-border`]=l[2]};if(t.primaryColor){o(t.primaryColor,"primary");const i=new ce(t.primaryColor),c=Ie(i.toRgbString());c.forEach((l,f)=>{r[`primary-${f+1}`]=l}),r["primary-color-deprecated-l-35"]=n(i,l=>l.lighten(35)),r["primary-color-deprecated-l-20"]=n(i,l=>l.lighten(20)),r["primary-color-deprecated-t-20"]=n(i,l=>l.tint(20)),r["primary-color-deprecated-t-50"]=n(i,l=>l.tint(50)),r["primary-color-deprecated-f-12"]=n(i,l=>l.setAlpha(l.getAlpha()*.12));const s=new ce(c[0]);r["primary-color-active-deprecated-f-30"]=n(s,l=>l.setAlpha(l.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(s,l=>l.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`
27
+ 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),dt=bs;function ys(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t;const{colorSuccess:o,colorWarning:a,colorError:i,colorInfo:c,colorPrimary:s,colorBgBase:l,colorTextBase:u}=e,f=r(s),p=r(o),h=r(a),S=r(i),v=r(c),d=n(l,u),m=e.colorLink||e.colorInfo,b=r(m);return Object.assign(Object.assign({},d),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:S[1],colorErrorBgHover:S[2],colorErrorBorder:S[3],colorErrorBorderHover:S[4],colorErrorHover:S[5],colorError:S[6],colorErrorActive:S[7],colorErrorTextHover:S[8],colorErrorText:S[9],colorErrorTextActive:S[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new ce("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Ss=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},xs=Ss;function Cs(e){const{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1},xs(n))}const Ce=(e,t)=>new ce(e).setAlpha(t).toRgbString(),ct=(e,t)=>new ce(e).darken(t).toHexString(),Es=e=>{const t=He(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},ws=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:Ce(n,.88),colorTextSecondary:Ce(n,.65),colorTextTertiary:Ce(n,.45),colorTextQuaternary:Ce(n,.25),colorFill:Ce(n,.15),colorFillSecondary:Ce(n,.06),colorFillTertiary:Ce(n,.04),colorFillQuaternary:Ce(n,.02),colorBgLayout:ct(r,4),colorBgContainer:ct(r,0),colorBgElevated:ct(r,0),colorBgSpotlight:Ce(n,.85),colorBgBlur:"transparent",colorBorder:ct(r,15),colorBorderSecondary:ct(r,6)}};function Os(e){const t=new Array(10).fill(null).map((r,n)=>{const o=n-1,a=e*Math.pow(2.71828,o/5),i=n>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(r=>{const n=r+8;return{size:r,lineHeight:n/r}})}const Ts=e=>{const t=Os(e),r=t.map(o=>o.size),n=t.map(o=>o.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:n[1],lineHeightLG:n[2],lineHeightSM:n[0],lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},$s=Ts;function Ps(e){const t=Object.keys(Qo).map(r=>{const n=He(e[r]);return new Array(10).fill(1).reduce((o,a,i)=>(o[`${r}-${i+1}`]=n[i],o[`${r}${i+1}`]=n[i],o),{})}).reduce((r,n)=>(r=Object.assign(Object.assign({},r),n),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),ys(e,{generateColorPalettes:Es,generateNeutralColorPalettes:ws})),$s(e.fontSize)),ms(e)),hs(e)),Cs(e))}const Jo=wr(Ps),Zo={token:dt,override:{override:dt},hashed:!0},ea=M.createContext(Zo),ta="anticon",ks=(e,t)=>t||(e?`ant-${e}`:"ant"),ge=g.createContext({getPrefixCls:ks,iconPrefixCls:ta}),As=`-ant-${Date.now()}-${Math.random()}`;function Ms(e,t){const r={},n=(i,c)=>{let s=i.clone();return s=(c==null?void 0:c(s))||s,s.toRgbString()},o=(i,c)=>{const s=new ce(i),l=He(s.toRgbString());r[`${c}-color`]=n(s),r[`${c}-color-disabled`]=l[1],r[`${c}-color-hover`]=l[4],r[`${c}-color-active`]=l[6],r[`${c}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),r[`${c}-color-deprecated-bg`]=l[0],r[`${c}-color-deprecated-border`]=l[2]};if(t.primaryColor){o(t.primaryColor,"primary");const i=new ce(t.primaryColor),c=He(i.toRgbString());c.forEach((l,u)=>{r[`primary-${u+1}`]=l}),r["primary-color-deprecated-l-35"]=n(i,l=>l.lighten(35)),r["primary-color-deprecated-l-20"]=n(i,l=>l.lighten(20)),r["primary-color-deprecated-t-20"]=n(i,l=>l.tint(20)),r["primary-color-deprecated-t-50"]=n(i,l=>l.tint(50)),r["primary-color-deprecated-f-12"]=n(i,l=>l.setAlpha(l.getAlpha()*.12));const s=new ce(c[0]);r["primary-color-active-deprecated-f-30"]=n(s,l=>l.setAlpha(l.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(s,l=>l.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`
28
28
  :root {
29
29
  ${Object.keys(r).map(i=>`--${e}-${i}: ${r[i]};`).join(`
30
30
  `)}
31
31
  }
32
- `.trim()}function ms(e,t){const r=hs(e,t);he()?Ht(r,`${ps}-dynamic-theme`):process.env.NODE_ENV!=="production"&&Wt(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const Rr=g.createContext(!1),bs=e=>{let{children:t,disabled:r}=e;const n=g.useContext(Rr);return g.createElement(Rr.Provider,{value:r??n},t)},ys=Rr,Mr=g.createContext(void 0),Ss=e=>{let{children:t,size:r}=e;const n=g.useContext(Mr);return g.createElement(Mr.Provider,{value:r||n},t)},Zr=Mr;function xs(){const e=M.useContext(ys),t=M.useContext(Zr);return{componentDisabled:e,componentSize:t}}const Es="5.11.0";function sr(e){return e>=0&&e<=255}function wt(e,t){const{r,g:n,b:o,a}=new ce(e).toRgb();if(a<1)return e;const{r:i,g:c,b:s}=new ce(t).toRgb();for(let l=.01;l<=1;l+=.01){const f=Math.round((r-i*(1-l))/l),u=Math.round((n-c*(1-l))/l),v=Math.round((o-s*(1-l))/l);if(sr(f)&&sr(u)&&sr(v))return new ce({r:f,g:u,b:v,a:Math.round(l*100)/100}).toRgbString()}return new ce({r,g:n,b:o,a:1}).toRgbString()}var Cs=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function Qo(e){const{override:t}=e,r=Cs(e,["override"]),n=Object.assign({},t);Object.keys(dt).forEach(v=>{delete n[v]});const o=Object.assign(Object.assign({},r),n),a=480,i=576,c=768,s=992,l=1200,f=1600;if(o.motion===!1){const v="0s";o.motionDurationFast=v,o.motionDurationMid=v,o.motionDurationSlow=v}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:wt(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:wt(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:wt(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:wt(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
32
+ `.trim()}function Rs(e,t){const r=Ms(e,t);be()?Dt(r,`${As}-dynamic-theme`):process.env.NODE_ENV!=="production"&&Gt(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const _r=g.createContext(!1),js=e=>{let{children:t,disabled:r}=e;const n=g.useContext(_r);return g.createElement(_r.Provider,{value:r??n},t)},_s=_r,Nr=g.createContext(void 0),Ns=e=>{let{children:t,size:r}=e;const n=g.useContext(Nr);return g.createElement(Nr.Provider,{value:r||n},t)},an=Nr;function Is(){const e=M.useContext(_s),t=M.useContext(an);return{componentDisabled:e,componentSize:t}}const Ls="5.11.0";function dr(e){return e>=0&&e<=255}function Tt(e,t){const{r,g:n,b:o,a}=new ce(e).toRgb();if(a<1)return e;const{r:i,g:c,b:s}=new ce(t).toRgb();for(let l=.01;l<=1;l+=.01){const u=Math.round((r-i*(1-l))/l),f=Math.round((n-c*(1-l))/l),p=Math.round((o-s*(1-l))/l);if(dr(u)&&dr(f)&&dr(p))return new ce({r:u,g:f,b:p,a:Math.round(l*100)/100}).toRgbString()}return new ce({r,g:n,b:o,a:1}).toRgbString()}var Hs=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function ra(e){const{override:t}=e,r=Hs(e,["override"]),n=Object.assign({},t);Object.keys(dt).forEach(p=>{delete n[p]});const o=Object.assign(Object.assign({},r),n),a=480,i=576,c=768,s=992,l=1200,u=1600;if(o.motion===!1){const p="0s";o.motionDurationFast=p,o.motionDurationMid=p,o.motionDurationSlow=p}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Tt(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Tt(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Tt(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Tt(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
33
33
  0 6px 16px 0 rgba(0, 0, 0, 0.08),
34
34
  0 3px 6px -4px rgba(0, 0, 0, 0.12),
35
35
  0 9px 28px 8px rgba(0, 0, 0, 0.05)
@@ -41,7 +41,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
41
41
  0 1px 2px 0 rgba(0, 0, 0, 0.03),
42
42
  0 1px 6px -1px rgba(0, 0, 0, 0.02),
43
43
  0 2px 4px 0 rgba(0, 0, 0, 0.02)
44
- `,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:f-1,screenXXL:f,screenXXLMin:f,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
44
+ `,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
45
45
  0 1px 2px -2px ${new ce("rgba(0, 0, 0, 0.16)").toRgbString()},
46
46
  0 3px 6px 0 ${new ce("rgba(0, 0, 0, 0.12)").toRgbString()},
47
47
  0 5px 12px 4px ${new ce("rgba(0, 0, 0, 0.09)").toRgbString()}
@@ -61,8 +61,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
61
61
  0 -6px 16px 0 rgba(0, 0, 0, 0.08),
62
62
  0 -3px 6px -4px rgba(0, 0, 0, 0.12),
63
63
  0 -9px 28px 8px rgba(0, 0, 0, 0.05)
64
- `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),n)}var Hn=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Jo=(e,t,r)=>{const n=r.getDerivativeToken(e),{override:o}=t,a=Hn(t,["override"]);let i=Object.assign(Object.assign({},n),{override:o});return i=Qo(i),a&&Object.entries(a).forEach(c=>{let[s,l]=c;const{theme:f}=l,u=Hn(l,["theme"]);let v=u;f&&(v=Jo(Object.assign(Object.assign({},i),u),{override:u},f)),i[s]=v}),i};function en(){const{token:e,hashed:t,theme:r,override:n}=M.useContext(Ko),o=`${Es}-${t||""}`,a=r||Go,[i,c]=Gi(a,[dt,e],{salt:o,override:n,getComputedToken:Jo,formatToken:Qo});return[a,i,t?c:""]}function Nt(e){var t=g.useRef(!1),r=g.useState(e),n=B(r,2),o=n[0],a=n[1];g.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(c,s){s&&t.current||a(c)}return[o,i]}const Ts=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),ws=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Os=(e,t)=>{const{fontFamily:r,fontSize:n}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:r,fontSize:n,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Zo=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let _r=!0;function Dn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!Zo)return Object.assign.apply(Object,[{}].concat(t));_r=!1;const n={};return t.forEach(o=>{Object.keys(o).forEach(i=>{Object.defineProperty(n,i,{configurable:!0,enumerable:!0,get:()=>o[i]})})}),_r=!0,n}const Bn={};function ks(){}function Ps(e){let t,r=e,n=ks;return Zo&&typeof Proxy<"u"&&(t=new Set,r=new Proxy(e,{get(o,a){return _r&&t.add(a),o[a]}}),n=(o,a)=>{var i;Bn[o]={global:Array.from(t),component:Object.assign(Object.assign({},(i=Bn[o])===null||i===void 0?void 0:i.component),a)}}),{token:r,keys:t,flush:n}}const As=(e,t)=>{const[r,n]=en();return wr({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Ts()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},ea=As;function Rs(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=Array.isArray(e)?e:[e,e],[a]=o,i=o.join("-");return c=>{const[s,l,f]=en(),{getPrefixCls:u,iconPrefixCls:v,csp:h}=M.useContext(Ae),b=u(),p={theme:s,token:l,hashId:f,nonce:()=>h==null?void 0:h.nonce,clientOnly:n.clientOnly,order:n.order||-999};return wr(Object.assign(Object.assign({},p),{clientOnly:!1,path:["Shared",b]}),()=>[{"&":ws(l)}]),ea(v,h),[wr(Object.assign(Object.assign({},p),{path:[i,c,v]}),()=>{const{token:d,flush:S}=Ps(l),m=Object.assign({},l[a]);if(n.deprecatedTokens){const{deprecatedTokens:R}=n;R.forEach(H=>{let[k,$]=H;var _;process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&De(!(m!=null&&m[k]),`The token '${String(k)}' of ${a} had deprecated, use '${String($)}' instead.`),(m!=null&&m[k]||m!=null&&m[$])&&((_=m[$])!==null&&_!==void 0||(m[$]=m==null?void 0:m[k]))})}const w=typeof r=="function"?r(Dn(d,m??{})):r,O=Object.assign(Object.assign({},w),m),C=`.${c}`,T=Dn(d,{componentCls:C,prefixCls:c,iconCls:`.${v}`,antCls:`.${b}`},O),y=t(T,{hashId:f,prefixCls:c,rootPrefixCls:b,iconPrefixCls:v,overrideComponentToken:m});return S(a,O),[n.resetStyle===!1?null:Os(l,c),y]}),f]}}function Ms(e,t){const r=e||{},n=r.inherit===!1||!t?Yo:t;return io(()=>{if(!e)return t;const o=Object.assign({},n.components);return Object.keys(e.components||{}).forEach(a=>{o[a]=Object.assign(Object.assign({},o[a]),e.components[a])}),Object.assign(Object.assign(Object.assign({},n),r),{token:Object.assign(Object.assign({},n.token),r.token),components:o})},[r,n],(o,a)=>o.some((i,c)=>{const s=a[c];return!di(i,s,!0)}))}var _s=["children"],ta=g.createContext({});function js(e){var t=e.children,r=mr(e,_s);return g.createElement(ta.Provider,{value:r},t)}var $s=function(e){co(r,e);var t=so(r);function r(){return gt(this,r),t.apply(this,arguments)}return vt(r,[{key:"render",value:function(){return this.props.children}}]),r}(g.Component),Me="none",Ot="appear",kt="enter",Pt="leave",zn="none",fe="prepare",Ge="start",Ye="active",tn="end",ra="prepared";function Fn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function Ns(e,t){var r={animationend:Fn("Animation","AnimationEnd"),transitionend:Fn("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var Ls=Ns(he(),typeof window<"u"?window:{}),na={};if(he()){var Is=document.createElement("div");na=Is.style}var At={};function oa(e){if(At[e])return At[e];var t=Ls[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o<n;o+=1){var a=r[o];if(Object.prototype.hasOwnProperty.call(t,a)&&a in na)return At[e]=t[a],At[e]}return""}var aa=oa("animationend"),ia=oa("transitionend"),ca=!!(aa&&ia),Wn=aa||"animationend",Vn=ia||"transitionend";function Un(e,t){if(!e)return null;if(Y(e)==="object"){var r=t.replace(/-\w/g,function(n){return n[1].toUpperCase()});return e[r]}return"".concat(e,"-").concat(t)}const Hs=function(e){var t=M.useRef(),r=M.useRef(e);r.current=e;var n=g.useCallback(function(i){r.current(i)},[]);function o(i){i&&(i.removeEventListener(Vn,n),i.removeEventListener(Wn,n))}function a(i){t.current&&t.current!==i&&o(t.current),i&&i!==t.current&&(i.addEventListener(Vn,n),i.addEventListener(Wn,n),t.current=i)}return g.useEffect(function(){return function(){o(t.current)}},[]),[a,o]};var sa=he()?M.useLayoutEffect:M.useEffect;const Ds=function(){var e=g.useRef(null);function t(){hr.cancel(e.current)}function r(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var a=hr(function(){o<=1?n({isCanceled:function(){return a!==e.current}}):r(n,o-1)});e.current=a}return g.useEffect(function(){return function(){t()}},[]),[r,t]};var Bs=[fe,Ge,Ye,tn],zs=[fe,ra],la=!1,Fs=!0;function ua(e){return e===Ye||e===tn}const Ws=function(e,t,r){var n=Nt(zn),o=B(n,2),a=o[0],i=o[1],c=Ds(),s=B(c,2),l=s[0],f=s[1];function u(){i(fe,!0)}var v=t?zs:Bs;return sa(function(){if(a!==zn&&a!==tn){var h=v.indexOf(a),b=v[h+1],p=r(a);p===la?i(b,!0):b&&l(function(d){function S(){d.isCanceled()||i(b,!0)}p===!0?S():Promise.resolve(p).then(S)})}},[e,a]),g.useEffect(function(){return function(){f()}},[]),[u,a]};function Vs(e,t,r,n){var o=n.motionEnter,a=o===void 0?!0:o,i=n.motionAppear,c=i===void 0?!0:i,s=n.motionLeave,l=s===void 0?!0:s,f=n.motionDeadline,u=n.motionLeaveImmediately,v=n.onAppearPrepare,h=n.onEnterPrepare,b=n.onLeavePrepare,p=n.onAppearStart,d=n.onEnterStart,S=n.onLeaveStart,m=n.onAppearActive,w=n.onEnterActive,O=n.onLeaveActive,C=n.onAppearEnd,T=n.onEnterEnd,y=n.onLeaveEnd,R=n.onVisibleChanged,H=Nt(),k=B(H,2),$=k[0],_=k[1],x=Nt(Me),A=B(x,2),P=A[0],I=A[1],z=Nt(null),X=B(z,2),F=X[0],W=X[1],K=M.useRef(!1),V=M.useRef(null);function re(){return r()}var ne=M.useRef(!1);function ge(){I(Me,!0),W(null,!0)}function Be(te){var q=re();if(!(te&&!te.deadline&&te.target!==q)){var Q=ne.current,se;P===Ot&&Q?se=C==null?void 0:C(q,te):P===kt&&Q?se=T==null?void 0:T(q,te):P===Pt&&Q&&(se=y==null?void 0:y(q,te)),P!==Me&&Q&&se!==!1&&ge()}}var et=Hs(Be),tt=B(et,1),rt=tt[0],ze=function(q){var Q,se,Re;switch(q){case Ot:return Q={},D(Q,fe,v),D(Q,Ge,p),D(Q,Ye,m),Q;case kt:return se={},D(se,fe,h),D(se,Ge,d),D(se,Ye,w),se;case Pt:return Re={},D(Re,fe,b),D(Re,Ge,S),D(Re,Ye,O),Re;default:return{}}},me=g.useMemo(function(){return ze(P)},[P]),nt=Ws(P,!e,function(te){if(te===fe){var q=me[fe];return q?q(re()):la}if(oe in me){var Q;W(((Q=me[oe])===null||Q===void 0?void 0:Q.call(me,re(),null))||null)}return oe===Ye&&(rt(re()),f>0&&(clearTimeout(V.current),V.current=setTimeout(function(){Be({deadline:!0})},f))),oe===ra&&ge(),Fs}),Fe=B(nt,2),E=Fe[0],oe=Fe[1],Te=ua(oe);ne.current=Te,sa(function(){_(t);var te=K.current;K.current=!0;var q;!te&&t&&c&&(q=Ot),te&&t&&a&&(q=kt),(te&&!t&&l||!te&&u&&!t&&l)&&(q=Pt);var Q=ze(q);q&&(e||Q[fe])?(I(q),E()):I(Me)},[t]),M.useEffect(function(){(P===Ot&&!c||P===kt&&!a||P===Pt&&!l)&&I(Me)},[c,a,l]),M.useEffect(function(){return function(){K.current=!1,clearTimeout(V.current)}},[]);var we=g.useRef(!1);M.useEffect(function(){$&&(we.current=!0),$!==void 0&&P===Me&&((we.current||$)&&(R==null||R($)),we.current=!0)},[$,P]);var ot=F;return me[fe]&&oe===Ge&&(ot=j({transition:"none"},ot)),[P,oe,ot,$??t]}function Us(e){var t=e;Y(e)==="object"&&(t=e.transitionSupport);function r(o,a){return!!(o.motionName&&t&&a!==!1)}var n=g.forwardRef(function(o,a){var i=o.visible,c=i===void 0?!0:i,s=o.removeOnLeave,l=s===void 0?!0:s,f=o.forceRender,u=o.children,v=o.motionName,h=o.leavedClassName,b=o.eventProps,p=g.useContext(ta),d=p.motion,S=r(o,d),m=M.useRef(),w=M.useRef();function O(){try{return m.current instanceof HTMLElement?m.current:oi(w.current)}catch{return null}}var C=Vs(S,c,O,o),T=B(C,4),y=T[0],R=T[1],H=T[2],k=T[3],$=g.useRef(k);k&&($.current=!0);var _=g.useCallback(function(W){m.current=W,ai(a,W)},[a]),x,A=j(j({},b),{},{visible:c});if(!u)x=null;else if(y===Me)k?x=u(j({},A),_):!l&&$.current&&h?x=u(j(j({},A),{},{className:h}),_):f||!l&&!h?x=u(j(j({},A),{},{style:{display:"none"}}),_):x=null;else{var P,I;R===fe?I="prepare":ua(R)?I="active":R===Ge&&(I="start");var z=Un(v,"".concat(y,"-").concat(I));x=u(j(j({},A),{},{className:Ke(Un(v,y),(P={},D(P,z,z&&I),D(P,v,typeof v=="string"),P)),style:H}),_)}if(g.isValidElement(x)&&ii(x)){var X=x,F=X.ref;F||(x=g.cloneElement(x,{ref:_}))}return g.createElement($s,{ref:w},x)});return n.displayName="CSSMotion",n}const Xs=Us(ca);var jr="add",$r="keep",Nr="remove",lr="removed";function Gs(e){var t;return e&&Y(e)==="object"&&"key"in e?t=e:t={key:e},j(j({},t),{},{key:String(t.key)})}function Lr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Gs)}function Ys(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[],n=0,o=t.length,a=Lr(e),i=Lr(t);a.forEach(function(l){for(var f=!1,u=n;u<o;u+=1){var v=i[u];if(v.key===l.key){n<u&&(r=r.concat(i.slice(n,u).map(function(h){return j(j({},h),{},{status:jr})})),n=u),r.push(j(j({},v),{},{status:$r})),n+=1,f=!0;break}}f||r.push(j(j({},l),{},{status:Nr}))}),n<o&&(r=r.concat(i.slice(n).map(function(l){return j(j({},l),{},{status:jr})})));var c={};r.forEach(function(l){var f=l.key;c[f]=(c[f]||0)+1});var s=Object.keys(c).filter(function(l){return c[l]>1});return s.forEach(function(l){r=r.filter(function(f){var u=f.key,v=f.status;return u!==l||v!==Nr}),r.forEach(function(f){f.key===l&&(f.status=$r)})}),r}var Ks=["component","children","onVisibleChanged","onAllRemoved"],qs=["status"],Qs=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Js(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xs,r=function(n){co(a,n);var o=so(a);function a(){var i;gt(this,a);for(var c=arguments.length,s=new Array(c),l=0;l<c;l++)s[l]=arguments[l];return i=o.call.apply(o,[this].concat(s)),D(vr(i),"state",{keyEntities:[]}),D(vr(i),"removeKey",function(f){var u=i.state.keyEntities,v=u.map(function(h){return h.key!==f?h:j(j({},h),{},{status:lr})});return i.setState({keyEntities:v}),v.filter(function(h){var b=h.status;return b!==lr}).length}),i}return vt(a,[{key:"render",value:function(){var c=this,s=this.state.keyEntities,l=this.props,f=l.component,u=l.children,v=l.onVisibleChanged,h=l.onAllRemoved,b=mr(l,Ks),p=f||g.Fragment,d={};return Qs.forEach(function(S){d[S]=b[S],delete b[S]}),delete b.keys,g.createElement(p,b,s.map(function(S,m){var w=S.status,O=mr(S,qs),C=w===jr||w===$r;return g.createElement(t,Lt({},d,{key:O.key,visible:C,eventProps:O,onVisibleChanged:function(y){if(v==null||v(y,{key:O.key}),!y){var R=c.removeKey(O.key);R===0&&h&&h()}}}),function(T,y){return u(j(j({},T),{},{index:m}),y)})}))}}],[{key:"getDerivedStateFromProps",value:function(c,s){var l=c.keys,f=s.keyEntities,u=Lr(l),v=Ys(f,u);return{keyEntities:v.filter(function(h){var b=f.find(function(p){var d=p.key;return h.key===d});return!(b&&b.status===lr&&h.status===Nr)})}}}]),a}(g.Component);return D(r,"defaultProps",{component:"div"}),r}Js(ca);function Zs(e){const{children:t}=e,[,r]=en(),{motion:n}=r,o=g.useRef(!1);return o.current=o.current||n===!1,o.current?g.createElement(js,{motion:n},t):t}const fa=g.memo(e=>{let{dropdownMatchSelectWidth:t}=e;return Ho("ConfigProvider").deprecated(t===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});process.env.NODE_ENV!=="production"&&(fa.displayName="PropWarning");const el=process.env.NODE_ENV!=="production"?fa:()=>null;var tl=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Ir=!1;process.env.NODE_ENV;const rl=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],nl="ant";let da;function ol(){return da||nl}function al(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const il=e=>{let{prefixCls:t,iconPrefixCls:r,theme:n}=e;t!==void 0&&(da=t),n&&al(n)&&(process.env.NODE_ENV!=="production"&&Wt(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),ms(ol(),n))},cl=e=>{const{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:a,form:i,locale:c,componentSize:s,direction:l,space:f,virtual:u,dropdownMatchSelectWidth:v,popupMatchSelectWidth:h,popupOverflow:b,legacyLocale:p,parentContext:d,iconPrefixCls:S,theme:m,componentDisabled:w,segmented:O,statistic:C,spin:T,calendar:y,carousel:R,cascader:H,collapse:k,typography:$,checkbox:_,descriptions:x,divider:A,drawer:P,skeleton:I,steps:z,image:X,layout:F,list:W,mentions:K,modal:V,progress:re,result:ne,slider:ge,breadcrumb:Be,menu:et,pagination:tt,input:rt,empty:ze,badge:me,radio:nt,rate:Fe,switch:E,transfer:oe,avatar:Te,message:we,tag:ot,table:te,card:q,tabs:Q,timeline:se,timePicker:Re,upload:Ma,notification:_a,tree:ja,colorPicker:$a,datePicker:Na,rangePicker:La,flex:Ia,wave:Ha,dropdown:Da,warning:Ba}=e,za=g.useCallback((G,Z)=>{const{prefixCls:ve}=e;if(Z)return Z;const pe=ve||d.getPrefixCls("");return G?`${pe}-${G}`:pe},[d.getPrefixCls,e.prefixCls]),at=S||d.iconPrefixCls||qo,it=r||d.csp;ea(at,it);const mt=Ms(m,d.theme);process.env.NODE_ENV!=="production"&&(Ir=Ir||!!mt);const Kt={csp:it,autoInsertSpaceInButton:n,alert:o,anchor:a,locale:c||p,direction:l,space:f,virtual:u,popupMatchSelectWidth:h??v,popupOverflow:b,getPrefixCls:za,iconPrefixCls:at,theme:mt,segmented:O,statistic:C,spin:T,calendar:y,carousel:R,cascader:H,collapse:k,typography:$,checkbox:_,descriptions:x,divider:A,drawer:P,skeleton:I,steps:z,image:X,input:rt,layout:F,list:W,mentions:K,modal:V,progress:re,result:ne,slider:ge,breadcrumb:Be,menu:et,pagination:tt,empty:ze,badge:me,radio:nt,rate:Fe,switch:E,transfer:oe,avatar:Te,message:we,tag:ot,table:te,card:q,tabs:Q,timeline:se,timePicker:Re,upload:Ma,notification:_a,tree:ja,colorPicker:$a,datePicker:Na,rangePicker:La,flex:Ia,wave:Ha,dropdown:Da,warning:Ba},bt=Object.assign({},d);Object.keys(Kt).forEach(G=>{Kt[G]!==void 0&&(bt[G]=Kt[G])}),rl.forEach(G=>{const Z=e[G];Z&&(bt[G]=Z)});const We=io(()=>bt,bt,(G,Z)=>{const ve=Object.keys(G),pe=Object.keys(Z);return ve.length!==pe.length||ve.some(yt=>G[yt]!==Z[yt])}),Fa=g.useMemo(()=>({prefixCls:at,csp:it}),[at,it]);let J=g.createElement(g.Fragment,null,g.createElement(el,{dropdownMatchSelectWidth:v}),t);const sn=g.useMemo(()=>{var G,Z,ve,pe;return Oc(((G=Vt.Form)===null||G===void 0?void 0:G.defaultValidateMessages)||{},((ve=(Z=We.locale)===null||Z===void 0?void 0:Z.Form)===null||ve===void 0?void 0:ve.defaultValidateMessages)||{},((pe=We.form)===null||pe===void 0?void 0:pe.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[We,i==null?void 0:i.validateMessages]);Object.keys(sn).length>0&&(J=g.createElement(Pc.Provider,{value:sn},J)),c&&(J=g.createElement(Lc,{locale:c,_ANT_MARK__:zo},J)),(at||it)&&(J=g.createElement(Qr.Provider,{value:Fa},J)),s&&(J=g.createElement(Ss,{size:s},J)),J=g.createElement(Zs,null,J);const Wa=g.useMemo(()=>{const G=mt||{},{algorithm:Z,token:ve,components:pe}=G,yt=tl(G,["algorithm","token","components"]),ln=Z&&(!Array.isArray(Z)||Z.length>0)?Sr(Z):Go,qt={};Object.entries(pe||{}).forEach(Va=>{let[Ua,Xa]=Va;const be=Object.assign({},Xa);"algorithm"in be&&(be.algorithm===!0?be.theme=ln:(Array.isArray(be.algorithm)||typeof be.algorithm=="function")&&(be.theme=Sr(be.algorithm)),delete be.algorithm),qt[Ua]=be});const un=Object.assign(Object.assign({},dt),ve);return Object.assign(Object.assign({},yt),{theme:ln,token:un,components:qt,override:Object.assign({override:un},qt)})},[mt]);return m&&(J=g.createElement(Ko.Provider,{value:Wa},J)),We.warning&&(J=g.createElement(Io.Provider,{value:We.warning},J)),w!==void 0&&(J=g.createElement(bs,{disabled:w},J)),g.createElement(Ae.Provider,{value:We},J)},Ze=e=>{const t=g.useContext(Ae),r=g.useContext(Bo);return g.createElement(cl,Object.assign({parentContext:t,legacyLocale:r},e))};Ze.ConfigContext=Ae;Ze.SizeContext=Zr;Ze.config=il;Ze.useConfig=xs;Object.defineProperty(Ze,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&Wt(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Zr)});process.env.NODE_ENV!=="production"&&(Ze.displayName="ConfigProvider");function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qe.apply(this,arguments)}function sl(e){if(Array.isArray(e))return e}function ll(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,a,i,c=[],s=!0,l=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(f){l=!0,o=f}finally{try{if(!s&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}function Xn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ul(e,t){if(e){if(typeof e=="string")return Xn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xn(e,t)}}function fl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
65
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ga(e,t){return sl(e)||ll(e,t)||ul(e,t)||fl()}function He(e){"@babel/helpers - typeof";return He=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},He(e)}function dl(e,t){if(He(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(He(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gl(e){var t=dl(e,"string");return He(t)==="symbol"?t:String(t)}function Hr(e,t,r){return t=gl(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function va(e,t){if(e==null)return{};var r=vl(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Gn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Pe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gn(Object(r),!0).forEach(function(n){Hr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pl(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function hl(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Yn="data-rc-order",Kn="data-rc-priority",ml="rc-util-key",Dr=new Map;function pa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):ml}function rn(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function bl(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function ha(e){return Array.from((Dr.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function ma(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!pl())return null;var r=t.csp,n=t.prepend,o=t.priority,a=o===void 0?0:o,i=bl(n),c=i==="prependQueue",s=document.createElement("style");s.setAttribute(Yn,i),c&&a&&s.setAttribute(Kn,"".concat(a)),r!=null&&r.nonce&&(s.nonce=r==null?void 0:r.nonce),s.innerHTML=e;var l=rn(t),f=l.firstChild;if(n){if(c){var u=ha(l).filter(function(v){if(!["prepend","prependQueue"].includes(v.getAttribute(Yn)))return!1;var h=Number(v.getAttribute(Kn)||0);return a>=h});if(u.length)return l.insertBefore(s,u[u.length-1].nextSibling),s}l.insertBefore(s,f)}else l.appendChild(s);return s}function yl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=rn(t);return ha(r).find(function(n){return n.getAttribute(pa(t))===e})}function Sl(e,t){var r=Dr.get(e);if(!r||!hl(document,r)){var n=ma("",t),o=n.parentNode;Dr.set(e,o),e.removeChild(n)}}function xl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=rn(r);Sl(n,r);var o=yl(t,r);if(o){var a,i;if((a=r.csp)!==null&&a!==void 0&&a.nonce&&o.nonce!==((i=r.csp)===null||i===void 0?void 0:i.nonce)){var c;o.nonce=(c=r.csp)===null||c===void 0?void 0:c.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var s=ma(e,r);return s.setAttribute(pa(r),t),s}function ba(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function El(e){return ba(e)instanceof ShadowRoot}function Cl(e){return El(e)?ba(e):null}var Br={},nn=[],Tl=function(t){nn.push(t)};function wl(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=nn.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Ol(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=nn.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function kl(){Br={}}function ya(e,t,r){!t&&!Br[r]&&(e(!1,r),Br[r]=!0)}function Ut(e,t){ya(wl,e,t)}function Pl(e,t){ya(Ol,e,t)}Ut.preMessage=Tl;Ut.resetWarned=kl;Ut.noteOnce=Pl;function Al(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Rl(e,t){Ut(e,"[@ant-design/icons] ".concat(t))}function qn(e){return He(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(He(e.icon)==="object"||typeof e.icon=="function")}function Qn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];switch(r){case"class":t.className=n,delete t.class;break;default:delete t[r],t[Al(r)]=n}return t},{})}function zr(e,t,r){return r?M.createElement(e.tag,Pe(Pe({key:t},Qn(e.attrs)),r),(e.children||[]).map(function(n,o){return zr(n,"".concat(t,"-").concat(e.tag,"-").concat(o))})):M.createElement(e.tag,Pe({key:t},Qn(e.attrs)),(e.children||[]).map(function(n,o){return zr(n,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function Sa(e){return Ie(e)[0]}function xa(e){return e?Array.isArray(e)?e:[e]:[]}var Ml=`
64
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),n)}var Wn=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const na=(e,t,r)=>{const n=r.getDerivativeToken(e),{override:o}=t,a=Wn(t,["override"]);let i=Object.assign(Object.assign({},n),{override:o});return i=ra(i),a&&Object.entries(a).forEach(c=>{let[s,l]=c;const{theme:u}=l,f=Wn(l,["theme"]);let p=f;u&&(p=na(Object.assign(Object.assign({},i),f),{override:f},u)),i[s]=p}),i};function Xt(){const{token:e,hashed:t,theme:r,override:n}=M.useContext(ea),o=`${Ls}-${t||""}`,a=r||Jo,[i,c]=sc(a,[dt,e],{salt:o,override:n,getComputedToken:na,formatToken:ra});return[a,i,t?c:""]}function It(e){var t=g.useRef(!1),r=g.useState(e),n=G(r,2),o=n[0],a=n[1];g.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(c,s){s&&t.current||a(c)}return[o,i]}const Ds=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Bs=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Fs=(e,t)=>{const{fontFamily:r,fontSize:n}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:r,fontSize:n,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},oa=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let Ir=!0;function Ft(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!oa)return Object.assign.apply(Object,[{}].concat(t));Ir=!1;const n={};return t.forEach(o=>{Object.keys(o).forEach(i=>{Object.defineProperty(n,i,{configurable:!0,enumerable:!0,get:()=>o[i]})})}),Ir=!0,n}const Vn={};function zs(){}function Ws(e){let t,r=e,n=zs;return oa&&typeof Proxy<"u"&&(t=new Set,r=new Proxy(e,{get(o,a){return Ir&&t.add(a),o[a]}}),n=(o,a)=>{var i;Vn[o]={global:Array.from(t),component:Object.assign(Object.assign({},(i=Vn[o])===null||i===void 0?void 0:i.component),a)}}),{token:r,keys:t,flush:n}}const Vs=(e,t)=>{const[r,n]=Xt();return kr({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Ds()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},aa=Vs;function Yt(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=Array.isArray(e)?e:[e,e],[a]=o,i=o.join("-");return c=>{const[s,l,u]=Xt(),{getPrefixCls:f,iconPrefixCls:p,csp:h}=M.useContext(ge),S=f(),v={theme:s,token:l,hashId:u,nonce:()=>h==null?void 0:h.nonce,clientOnly:n.clientOnly,order:n.order||-999};return kr(Object.assign(Object.assign({},v),{clientOnly:!1,path:["Shared",S]}),()=>[{"&":Bs(l)}]),aa(p,h),[kr(Object.assign(Object.assign({},v),{path:[i,c,p]}),()=>{const{token:d,flush:m}=Ws(l),b=Object.assign({},l[a]);if(n.deprecatedTokens){const{deprecatedTokens:E}=n;E.forEach(j=>{let[P,_]=j;var R;process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&Be(!(b!=null&&b[P]),`The token '${String(P)}' of ${a} had deprecated, use '${String(_)}' instead.`),(b!=null&&b[P]||b!=null&&b[_])&&((R=b[_])!==null&&R!==void 0||(b[_]=b==null?void 0:b[P]))})}const T=typeof r=="function"?r(Ft(d,b??{})):r,w=Object.assign(Object.assign({},T),b),O=`.${c}`,x=Ft(d,{componentCls:O,prefixCls:c,iconCls:`.${p}`,antCls:`.${S}`},w),y=t(x,{hashId:u,prefixCls:c,rootPrefixCls:S,iconPrefixCls:p,overrideComponentToken:b});return m(a,w),[n.resetStyle===!1?null:Fs(l,c),y]}),u]}}function Gs(e,t){const r=e||{},n=r.inherit===!1||!t?Zo:t;return go(()=>{if(!e)return t;const o=Object.assign({},n.components);return Object.keys(e.components||{}).forEach(a=>{o[a]=Object.assign(Object.assign({},o[a]),e.components[a])}),Object.assign(Object.assign(Object.assign({},n),r),{token:Object.assign(Object.assign({},n.token),r.token),components:o})},[r,n],(o,a)=>o.some((i,c)=>{const s=a[c];return!wi(i,s,!0)}))}var Us=["children"],ia=g.createContext({});function Xs(e){var t=e.children,r=xr(e,Us);return g.createElement(ia.Provider,{value:r},t)}var Ys=function(e){po(r,e);var t=vo(r);function r(){return pt(this,r),t.apply(this,arguments)}return vt(r,[{key:"render",value:function(){return this.props.children}}]),r}(g.Component),Re="none",$t="appear",Pt="enter",kt="leave",Gn="none",fe="prepare",Ye="start",qe="active",cn="end",ca="prepared";function Un(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function qs(e,t){var r={animationend:Un("Animation","AnimationEnd"),transitionend:Un("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var Ks=qs(be(),typeof window<"u"?window:{}),sa={};if(be()){var Qs=document.createElement("div");sa=Qs.style}var At={};function la(e){if(At[e])return At[e];var t=Ks[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o<n;o+=1){var a=r[o];if(Object.prototype.hasOwnProperty.call(t,a)&&a in sa)return At[e]=t[a],At[e]}return""}var ua=la("animationend"),fa=la("transitionend"),da=!!(ua&&fa),Xn=ua||"animationend",Yn=fa||"transitionend";function qn(e,t){if(!e)return null;if(q(e)==="object"){var r=t.replace(/-\w/g,function(n){return n[1].toUpperCase()});return e[r]}return"".concat(e,"-").concat(t)}const Js=function(e){var t=M.useRef(),r=M.useRef(e);r.current=e;var n=g.useCallback(function(i){r.current(i)},[]);function o(i){i&&(i.removeEventListener(Yn,n),i.removeEventListener(Xn,n))}function a(i){t.current&&t.current!==i&&o(t.current),i&&i!==t.current&&(i.addEventListener(Yn,n),i.addEventListener(Xn,n),t.current=i)}return g.useEffect(function(){return function(){o(t.current)}},[]),[a,o]};var ga=be()?M.useLayoutEffect:M.useEffect;const Zs=function(){var e=g.useRef(null);function t(){Sr.cancel(e.current)}function r(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var a=Sr(function(){o<=1?n({isCanceled:function(){return a!==e.current}}):r(n,o-1)});e.current=a}return g.useEffect(function(){return function(){t()}},[]),[r,t]};var el=[fe,Ye,qe,cn],tl=[fe,ca],pa=!1,rl=!0;function va(e){return e===qe||e===cn}const nl=function(e,t,r){var n=It(Gn),o=G(n,2),a=o[0],i=o[1],c=Zs(),s=G(c,2),l=s[0],u=s[1];function f(){i(fe,!0)}var p=t?tl:el;return ga(function(){if(a!==Gn&&a!==cn){var h=p.indexOf(a),S=p[h+1],v=r(a);v===pa?i(S,!0):S&&l(function(d){function m(){d.isCanceled()||i(S,!0)}v===!0?m():Promise.resolve(v).then(m)})}},[e,a]),g.useEffect(function(){return function(){u()}},[]),[f,a]};function ol(e,t,r,n){var o=n.motionEnter,a=o===void 0?!0:o,i=n.motionAppear,c=i===void 0?!0:i,s=n.motionLeave,l=s===void 0?!0:s,u=n.motionDeadline,f=n.motionLeaveImmediately,p=n.onAppearPrepare,h=n.onEnterPrepare,S=n.onLeavePrepare,v=n.onAppearStart,d=n.onEnterStart,m=n.onLeaveStart,b=n.onAppearActive,T=n.onEnterActive,w=n.onLeaveActive,O=n.onAppearEnd,x=n.onEnterEnd,y=n.onLeaveEnd,E=n.onVisibleChanged,j=It(),P=G(j,2),_=P[0],R=P[1],C=It(Re),k=G(C,2),A=k[0],N=k[1],F=It(null),L=G(F,2),W=L[0],z=L[1],V=M.useRef(!1),U=M.useRef(null);function re(){return r()}var ne=M.useRef(!1);function pe(){N(Re,!0),z(null,!0)}function Fe(te){var K=re();if(!(te&&!te.deadline&&te.target!==K)){var Q=ne.current,se;A===$t&&Q?se=O==null?void 0:O(K,te):A===Pt&&Q?se=x==null?void 0:x(K,te):A===kt&&Q&&(se=y==null?void 0:y(K,te)),A!==Re&&Q&&se!==!1&&pe()}}var et=Js(Fe),tt=G(et,1),rt=tt[0],ze=function(K){var Q,se,Me;switch(K){case $t:return Q={},B(Q,fe,p),B(Q,Ye,v),B(Q,qe,b),Q;case Pt:return se={},B(se,fe,h),B(se,Ye,d),B(se,qe,T),se;case kt:return Me={},B(Me,fe,S),B(Me,Ye,m),B(Me,qe,w),Me;default:return{}}},ye=g.useMemo(function(){return ze(A)},[A]),nt=nl(A,!e,function(te){if(te===fe){var K=ye[fe];return K?K(re()):pa}if(oe in ye){var Q;z(((Q=ye[oe])===null||Q===void 0?void 0:Q.call(ye,re(),null))||null)}return oe===qe&&(rt(re()),u>0&&(clearTimeout(U.current),U.current=setTimeout(function(){Fe({deadline:!0})},u))),oe===ca&&pe(),rl}),We=G(nt,2),$=We[0],oe=We[1],Te=va(oe);ne.current=Te,ga(function(){R(t);var te=V.current;V.current=!0;var K;!te&&t&&c&&(K=$t),te&&t&&a&&(K=Pt),(te&&!t&&l||!te&&f&&!t&&l)&&(K=kt);var Q=ze(K);K&&(e||Q[fe])?(N(K),$()):N(Re)},[t]),M.useEffect(function(){(A===$t&&!c||A===Pt&&!a||A===kt&&!l)&&N(Re)},[c,a,l]),M.useEffect(function(){return function(){V.current=!1,clearTimeout(U.current)}},[]);var $e=g.useRef(!1);M.useEffect(function(){_&&($e.current=!0),_!==void 0&&A===Re&&(($e.current||_)&&(E==null||E(_)),$e.current=!0)},[_,A]);var ot=W;return ye[fe]&&oe===Ye&&(ot=I({transition:"none"},ot)),[A,oe,ot,_??t]}function al(e){var t=e;q(e)==="object"&&(t=e.transitionSupport);function r(o,a){return!!(o.motionName&&t&&a!==!1)}var n=g.forwardRef(function(o,a){var i=o.visible,c=i===void 0?!0:i,s=o.removeOnLeave,l=s===void 0?!0:s,u=o.forceRender,f=o.children,p=o.motionName,h=o.leavedClassName,S=o.eventProps,v=g.useContext(ia),d=v.motion,m=r(o,d),b=M.useRef(),T=M.useRef();function w(){try{return b.current instanceof HTMLElement?b.current:hi(T.current)}catch{return null}}var O=ol(m,c,w,o),x=G(O,4),y=x[0],E=x[1],j=x[2],P=x[3],_=g.useRef(P);P&&(_.current=!0);var R=g.useCallback(function(z){b.current=z,mi(a,z)},[a]),C,k=I(I({},S),{},{visible:c});if(!f)C=null;else if(y===Re)P?C=f(I({},k),R):!l&&_.current&&h?C=f(I(I({},k),{},{className:h}),R):u||!l&&!h?C=f(I(I({},k),{},{style:{display:"none"}}),R):C=null;else{var A,N;E===fe?N="prepare":va(E)?N="active":E===Ye&&(N="start");var F=qn(p,"".concat(y,"-").concat(N));C=f(I(I({},k),{},{className:me(qn(p,y),(A={},B(A,F,F&&N),B(A,p,typeof p=="string"),A)),style:j}),R)}if(g.isValidElement(C)&&bi(C)){var L=C,W=L.ref;W||(C=g.cloneElement(C,{ref:R}))}return g.createElement(Ys,{ref:T},C)});return n.displayName="CSSMotion",n}const il=al(da);var Lr="add",Hr="keep",Dr="remove",gr="removed";function cl(e){var t;return e&&q(e)==="object"&&"key"in e?t=e:t={key:e},I(I({},t),{},{key:String(t.key)})}function Br(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(cl)}function sl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[],n=0,o=t.length,a=Br(e),i=Br(t);a.forEach(function(l){for(var u=!1,f=n;f<o;f+=1){var p=i[f];if(p.key===l.key){n<f&&(r=r.concat(i.slice(n,f).map(function(h){return I(I({},h),{},{status:Lr})})),n=f),r.push(I(I({},p),{},{status:Hr})),n+=1,u=!0;break}}u||r.push(I(I({},l),{},{status:Dr}))}),n<o&&(r=r.concat(i.slice(n).map(function(l){return I(I({},l),{},{status:Lr})})));var c={};r.forEach(function(l){var u=l.key;c[u]=(c[u]||0)+1});var s=Object.keys(c).filter(function(l){return c[l]>1});return s.forEach(function(l){r=r.filter(function(u){var f=u.key,p=u.status;return f!==l||p!==Dr}),r.forEach(function(u){u.key===l&&(u.status=Hr)})}),r}var ll=["component","children","onVisibleChanged","onAllRemoved"],ul=["status"],fl=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function dl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:il,r=function(n){po(a,n);var o=vo(a);function a(){var i;pt(this,a);for(var c=arguments.length,s=new Array(c),l=0;l<c;l++)s[l]=arguments[l];return i=o.call.apply(o,[this].concat(s)),B(br(i),"state",{keyEntities:[]}),B(br(i),"removeKey",function(u){var f=i.state.keyEntities,p=f.map(function(h){return h.key!==u?h:I(I({},h),{},{status:gr})});return i.setState({keyEntities:p}),p.filter(function(h){var S=h.status;return S!==gr}).length}),i}return vt(a,[{key:"render",value:function(){var c=this,s=this.state.keyEntities,l=this.props,u=l.component,f=l.children,p=l.onVisibleChanged,h=l.onAllRemoved,S=xr(l,ll),v=u||g.Fragment,d={};return fl.forEach(function(m){d[m]=S[m],delete S[m]}),delete S.keys,g.createElement(v,S,s.map(function(m,b){var T=m.status,w=xr(m,ul),O=T===Lr||T===Hr;return g.createElement(t,Lt({},d,{key:w.key,visible:O,eventProps:w,onVisibleChanged:function(y){if(p==null||p(y,{key:w.key}),!y){var E=c.removeKey(w.key);E===0&&h&&h()}}}),function(x,y){return f(I(I({},x),{},{index:b}),y)})}))}}],[{key:"getDerivedStateFromProps",value:function(c,s){var l=c.keys,u=s.keyEntities,f=Br(l),p=sl(u,f);return{keyEntities:p.filter(function(h){var S=u.find(function(v){var d=v.key;return h.key===d});return!(S&&S.status===gr&&h.status===Dr)})}}}]),a}(g.Component);return B(r,"defaultProps",{component:"div"}),r}dl(da);function gl(e){const{children:t}=e,[,r]=Xt(),{motion:n}=r,o=g.useRef(!1);return o.current=o.current||n===!1,o.current?g.createElement(Xs,{motion:n},t):t}const ha=g.memo(e=>{let{dropdownMatchSelectWidth:t}=e;return Wo("ConfigProvider").deprecated(t===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});process.env.NODE_ENV!=="production"&&(ha.displayName="PropWarning");const pl=process.env.NODE_ENV!=="production"?ha:()=>null;var vl=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let Fr=!1;process.env.NODE_ENV;const hl=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],ml="ant";let ma;function bl(){return ma||ml}function yl(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const Sl=e=>{let{prefixCls:t,iconPrefixCls:r,theme:n}=e;t!==void 0&&(ma=t),n&&yl(n)&&(process.env.NODE_ENV!=="production"&&Gt(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Rs(bl(),n))},xl=e=>{const{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:a,form:i,locale:c,componentSize:s,direction:l,space:u,virtual:f,dropdownMatchSelectWidth:p,popupMatchSelectWidth:h,popupOverflow:S,legacyLocale:v,parentContext:d,iconPrefixCls:m,theme:b,componentDisabled:T,segmented:w,statistic:O,spin:x,calendar:y,carousel:E,cascader:j,collapse:P,typography:_,checkbox:R,descriptions:C,divider:k,drawer:A,skeleton:N,steps:F,image:L,layout:W,list:z,mentions:V,modal:U,progress:re,result:ne,slider:pe,breadcrumb:Fe,menu:et,pagination:tt,input:rt,empty:ze,badge:ye,radio:nt,rate:We,switch:$,transfer:oe,avatar:Te,message:$e,tag:ot,table:te,card:K,tabs:Q,timeline:se,timePicker:Me,upload:Wa,notification:Va,tree:Ga,colorPicker:Ua,datePicker:Xa,rangePicker:Ya,flex:qa,wave:Ka,dropdown:Qa,warning:Ja}=e,Za=g.useCallback((Y,Z)=>{const{prefixCls:ve}=e;if(Z)return Z;const he=ve||d.getPrefixCls("");return Y?`${he}-${Y}`:he},[d.getPrefixCls,e.prefixCls]),at=m||d.iconPrefixCls||ta,it=r||d.csp;aa(at,it);const bt=Gs(b,d.theme);process.env.NODE_ENV!=="production"&&(Fr=Fr||!!bt);const Zt={csp:it,autoInsertSpaceInButton:n,alert:o,anchor:a,locale:c||v,direction:l,space:u,virtual:f,popupMatchSelectWidth:h??p,popupOverflow:S,getPrefixCls:Za,iconPrefixCls:at,theme:bt,segmented:w,statistic:O,spin:x,calendar:y,carousel:E,cascader:j,collapse:P,typography:_,checkbox:R,descriptions:C,divider:k,drawer:A,skeleton:N,steps:F,image:L,input:rt,layout:W,list:z,mentions:V,modal:U,progress:re,result:ne,slider:pe,breadcrumb:Fe,menu:et,pagination:tt,empty:ze,badge:ye,radio:nt,rate:We,switch:$,transfer:oe,avatar:Te,message:$e,tag:ot,table:te,card:K,tabs:Q,timeline:se,timePicker:Me,upload:Wa,notification:Va,tree:Ga,colorPicker:Ua,datePicker:Xa,rangePicker:Ya,flex:qa,wave:Ka,dropdown:Qa,warning:Ja},yt=Object.assign({},d);Object.keys(Zt).forEach(Y=>{Zt[Y]!==void 0&&(yt[Y]=Zt[Y])}),hl.forEach(Y=>{const Z=e[Y];Z&&(yt[Y]=Z)});const Ve=go(()=>yt,yt,(Y,Z)=>{const ve=Object.keys(Y),he=Object.keys(Z);return ve.length!==he.length||ve.some(St=>Y[St]!==Z[St])}),ei=g.useMemo(()=>({prefixCls:at,csp:it}),[at,it]);let J=g.createElement(g.Fragment,null,g.createElement(pl,{dropdownMatchSelectWidth:p}),t);const gn=g.useMemo(()=>{var Y,Z,ve,he;return Fc(((Y=Ut.Form)===null||Y===void 0?void 0:Y.defaultValidateMessages)||{},((ve=(Z=Ve.locale)===null||Z===void 0?void 0:Z.Form)===null||ve===void 0?void 0:ve.defaultValidateMessages)||{},((he=Ve.form)===null||he===void 0?void 0:he.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[Ve,i==null?void 0:i.validateMessages]);Object.keys(gn).length>0&&(J=g.createElement(Wc.Provider,{value:gn},J)),c&&(J=g.createElement(Qc,{locale:c,_ANT_MARK__:Uo},J)),(at||it)&&(J=g.createElement(nn.Provider,{value:ei},J)),s&&(J=g.createElement(Ns,{size:s},J)),J=g.createElement(gl,null,J);const ti=g.useMemo(()=>{const Y=bt||{},{algorithm:Z,token:ve,components:he}=Y,St=vl(Y,["algorithm","token","components"]),pn=Z&&(!Array.isArray(Z)||Z.length>0)?wr(Z):Jo,er={};Object.entries(he||{}).forEach(ri=>{let[ni,oi]=ri;const Se=Object.assign({},oi);"algorithm"in Se&&(Se.algorithm===!0?Se.theme=pn:(Array.isArray(Se.algorithm)||typeof Se.algorithm=="function")&&(Se.theme=wr(Se.algorithm)),delete Se.algorithm),er[ni]=Se});const vn=Object.assign(Object.assign({},dt),ve);return Object.assign(Object.assign({},St),{theme:pn,token:vn,components:er,override:Object.assign({override:vn},er)})},[bt]);return b&&(J=g.createElement(ea.Provider,{value:ti},J)),Ve.warning&&(J=g.createElement(zo.Provider,{value:Ve.warning},J)),T!==void 0&&(J=g.createElement(js,{disabled:T},J)),g.createElement(ge.Provider,{value:Ve},J)},Ze=e=>{const t=g.useContext(ge),r=g.useContext(Go);return g.createElement(xl,Object.assign({parentContext:t,legacyLocale:r},e))};Ze.ConfigContext=ge;Ze.SizeContext=an;Ze.config=Sl;Ze.useConfig=Is;Object.defineProperty(Ze,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&Gt(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),an)});process.env.NODE_ENV!=="production"&&(Ze.displayName="ConfigProvider");function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qe.apply(this,arguments)}function Cl(e){if(Array.isArray(e))return e}function El(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,a,i,c=[],s=!0,l=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(u){l=!0,o=u}finally{try{if(!s&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}function Kn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function wl(e,t){if(e){if(typeof e=="string")return Kn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kn(e,t)}}function Ol(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
65
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ba(e,t){return Cl(e)||El(e,t)||wl(e,t)||Ol()}function De(e){"@babel/helpers - typeof";return De=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},De(e)}function Tl(e,t){if(De(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(De(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $l(e){var t=Tl(e,"string");return De(t)==="symbol"?t:String(t)}function zr(e,t,r){return t=$l(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function ya(e,t){if(e==null)return{};var r=Pl(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Qn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Qn(Object(r),!0).forEach(function(n){zr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function kl(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Al(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Jn="data-rc-order",Zn="data-rc-priority",Ml="rc-util-key",Wr=new Map;function Sa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Ml}function sn(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Rl(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function xa(e){return Array.from((Wr.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Ca(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!kl())return null;var r=t.csp,n=t.prepend,o=t.priority,a=o===void 0?0:o,i=Rl(n),c=i==="prependQueue",s=document.createElement("style");s.setAttribute(Jn,i),c&&a&&s.setAttribute(Zn,"".concat(a)),r!=null&&r.nonce&&(s.nonce=r==null?void 0:r.nonce),s.innerHTML=e;var l=sn(t),u=l.firstChild;if(n){if(c){var f=xa(l).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(Jn)))return!1;var h=Number(p.getAttribute(Zn)||0);return a>=h});if(f.length)return l.insertBefore(s,f[f.length-1].nextSibling),s}l.insertBefore(s,u)}else l.appendChild(s);return s}function jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=sn(t);return xa(r).find(function(n){return n.getAttribute(Sa(t))===e})}function _l(e,t){var r=Wr.get(e);if(!r||!Al(document,r)){var n=Ca("",t),o=n.parentNode;Wr.set(e,o),e.removeChild(n)}}function Nl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=sn(r);_l(n,r);var o=jl(t,r);if(o){var a,i;if((a=r.csp)!==null&&a!==void 0&&a.nonce&&o.nonce!==((i=r.csp)===null||i===void 0?void 0:i.nonce)){var c;o.nonce=(c=r.csp)===null||c===void 0?void 0:c.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var s=Ca(e,r);return s.setAttribute(Sa(r),t),s}function Ea(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Il(e){return Ea(e)instanceof ShadowRoot}function Ll(e){return Il(e)?Ea(e):null}var Vr={},ln=[],Hl=function(t){ln.push(t)};function Dl(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ln.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Bl(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=ln.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function Fl(){Vr={}}function wa(e,t,r){!t&&!Vr[r]&&(e(!1,r),Vr[r]=!0)}function qt(e,t){wa(Dl,e,t)}function zl(e,t){wa(Bl,e,t)}qt.preMessage=Hl;qt.resetWarned=Fl;qt.noteOnce=zl;function Wl(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Vl(e,t){qt(e,"[@ant-design/icons] ".concat(t))}function eo(e){return De(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(De(e.icon)==="object"||typeof e.icon=="function")}function to(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];switch(r){case"class":t.className=n,delete t.class;break;default:delete t[r],t[Wl(r)]=n}return t},{})}function Gr(e,t,r){return r?M.createElement(e.tag,Ae(Ae({key:t},to(e.attrs)),r),(e.children||[]).map(function(n,o){return Gr(n,"".concat(t,"-").concat(e.tag,"-").concat(o))})):M.createElement(e.tag,Ae({key:t},to(e.attrs)),(e.children||[]).map(function(n,o){return Gr(n,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function Oa(e){return He(e)[0]}function Ta(e){return e?Array.isArray(e)?e:[e]:[]}var Gl=`
66
66
  .anticon {
67
67
  display: inline-block;
68
68
  color: inherit;
@@ -116,4 +116,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
116
116
  transform: rotate(360deg);
117
117
  }
118
118
  }
119
- `,_l=function(t){var r=M.useContext(Qr),n=r.csp,o=r.prefixCls,a=Ml;o&&(a=a.replace(/anticon/g,o)),M.useEffect(function(){var i=t.current,c=Cl(i);xl(a,"@ant-design-icons",{prepend:!0,csp:n,attachTo:c})},[])},jl=["icon","className","onClick","style","primaryColor","secondaryColor"],lt={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function $l(e){var t=e.primaryColor,r=e.secondaryColor;lt.primaryColor=t,lt.secondaryColor=r||Sa(t),lt.calculated=!!r}function Nl(){return Pe({},lt)}var Xt=function(t){var r=t.icon,n=t.className,o=t.onClick,a=t.style,i=t.primaryColor,c=t.secondaryColor,s=va(t,jl),l=g.useRef(),f=lt;if(i&&(f={primaryColor:i,secondaryColor:c||Sa(i)}),_l(l),Rl(qn(r),"icon should be icon definiton, but got ".concat(r)),!qn(r))return null;var u=r;return u&&typeof u.icon=="function"&&(u=Pe(Pe({},u),{},{icon:u.icon(f.primaryColor,f.secondaryColor)})),zr(u.icon,"svg-".concat(u.name),Pe(Pe({className:n,onClick:o,style:a,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:l}))};Xt.displayName="IconReact";Xt.getTwoToneColors=Nl;Xt.setTwoToneColors=$l;const on=Xt;function Ea(e){var t=xa(e),r=ga(t,2),n=r[0],o=r[1];return on.setTwoToneColors({primaryColor:n,secondaryColor:o})}function Ll(){var e=on.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Il=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Ea(Zc.primary);var Gt=g.forwardRef(function(e,t){var r,n=e.className,o=e.icon,a=e.spin,i=e.rotate,c=e.tabIndex,s=e.onClick,l=e.twoToneColor,f=va(e,Il),u=g.useContext(Qr),v=u.prefixCls,h=v===void 0?"anticon":v,b=u.rootClassName,p=Ke(b,h,(r={},Hr(r,"".concat(h,"-").concat(o.name),!!o.name),Hr(r,"".concat(h,"-spin"),!!a||o.name==="loading"),r),n),d=c;d===void 0&&s&&(d=-1);var S=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,m=xa(l),w=ga(m,2),O=w[0],C=w[1];return g.createElement("span",Qe({role:"img","aria-label":o.name},f,{ref:t,tabIndex:d,onClick:s,className:p}),g.createElement(on,{icon:o,primaryColor:O,secondaryColor:C,style:S}))});Gt.displayName="AntdIcon";Gt.getTwoToneColor=Ll;Gt.setTwoToneColor=Ea;const an=Gt;var Hl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const Dl=Hl;var Ca=function(t,r){return g.createElement(an,Qe({},t,{ref:r,icon:Dl}))};process.env.NODE_ENV!=="production"&&(Ca.displayName="RightOutlined");const Jn=g.forwardRef(Ca);var Bl={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const zl=Bl;var Ta=function(t,r){return g.createElement(an,Qe({},t,{ref:r,icon:zl}))};process.env.NODE_ENV!=="production"&&(Ta.displayName="BarsOutlined");const Fl=g.forwardRef(Ta);var Wl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const Vl=Wl;var wa=function(t,r){return g.createElement(an,Qe({},t,{ref:r,icon:Vl}))};process.env.NODE_ENV!=="production"&&(wa.displayName="LeftOutlined");const Zn=g.forwardRef(wa),Ul=e=>!isNaN(parseFloat(e))&&isFinite(e),Xl=Ul,Oa=g.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var Gl=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const eo={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Yl=g.createContext({}),Kl=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),ka=g.forwardRef((e,t)=>{const{prefixCls:r,className:n,trigger:o,children:a,defaultCollapsed:i=!1,theme:c="dark",style:s={},collapsible:l=!1,reverseArrow:f=!1,width:u=200,collapsedWidth:v=80,zeroWidthTriggerStyle:h,breakpoint:b,onCollapse:p,onBreakpoint:d}=e,S=Gl(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:m}=M.useContext(Oa),[w,O]=M.useState("collapsed"in e?e.collapsed:i),[C,T]=M.useState(!1);M.useEffect(()=>{"collapsed"in e&&O(e.collapsed)},[e.collapsed]);const y=(x,A)=>{"collapsed"in e||O(x),p==null||p(x,A)},R=M.useRef();R.current=x=>{T(x.matches),d==null||d(x.matches),w!==x.matches&&y(x.matches,"responsive")},M.useEffect(()=>{function x(P){return R.current(P)}let A;if(typeof window<"u"){const{matchMedia:P}=window;if(P&&b&&b in eo){A=P(`(max-width: ${eo[b]})`);try{A.addEventListener("change",x)}catch{A.addListener(x)}x(A)}}return()=>{try{A==null||A.removeEventListener("change",x)}catch{A==null||A.removeListener(x)}}},[b]),M.useEffect(()=>{const x=Kl("ant-sider-");return m.addSider(x),()=>m.removeSider(x)},[]);const H=()=>{y(!w,"clickTrigger")},{getPrefixCls:k}=M.useContext(Ae),$=()=>{const x=k("layout-sider",r),A=lo(S,["collapsed"]),P=w?v:u,I=Xl(P)?`${P}px`:String(P),z=parseFloat(String(v||0))===0?g.createElement("span",{onClick:H,className:Ke(`${x}-zero-width-trigger`,`${x}-zero-width-trigger-${f?"right":"left"}`),style:h},o||g.createElement(Fl,null)):null,W={expanded:f?g.createElement(Jn,null):g.createElement(Zn,null),collapsed:f?g.createElement(Zn,null):g.createElement(Jn,null)}[w?"collapsed":"expanded"],K=o!==null?z||g.createElement("div",{className:`${x}-trigger`,onClick:H,style:{width:I}},o||W):null,V=Object.assign(Object.assign({},s),{flex:`0 0 ${I}`,maxWidth:I,minWidth:I,width:I}),re=Ke(x,`${x}-${c}`,{[`${x}-collapsed`]:!!w,[`${x}-has-trigger`]:l&&o!==null&&!z,[`${x}-below`]:!!C,[`${x}-zero-width`]:parseFloat(I)===0},n);return g.createElement("aside",Object.assign({className:re},A,{style:V,ref:t}),g.createElement("div",{className:`${x}-children`},a),l||C&&z?K:null)},_=g.useMemo(()=>({siderCollapsed:w}),[w]);return g.createElement(Yl.Provider,{value:_},$())});process.env.NODE_ENV!=="production"&&(ka.displayName="Sider");const Pa=ka;function ql(e,t,r){return typeof r=="boolean"?r:e.length?!0:fr(t).some(o=>o.type===Pa)}const Ql=e=>{const{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:o,lightTriggerColor:a}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:a,background:o},[`${t}-sider-zero-width-trigger`]:{color:a,background:o,border:`1px solid ${r}`,borderInlineStart:0}}}},Jl=Ql,Zl=e=>{const{antCls:t,componentCls:r,colorText:n,triggerColor:o,footerBg:a,triggerBg:i,headerHeight:c,headerPadding:s,headerColor:l,footerPadding:f,triggerHeight:u,zeroTriggerHeight:v,zeroTriggerWidth:h,motionDurationMid:b,motionDurationSlow:p,fontSize:d,borderRadius:S,bodyBg:m,headerBg:w,siderBg:O}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:m,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:O,transition:`all ${b}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:u},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:u,color:o,lineHeight:`${u}px`,textAlign:"center",background:i,cursor:"pointer",transition:`all ${b}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:-h,zIndex:1,width:h,height:v,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:O,borderStartStartRadius:0,borderStartEndRadius:S,borderEndEndRadius:S,borderEndStartRadius:0,cursor:"pointer",transition:`background ${p} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${p}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-h,borderStartStartRadius:S,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:S}}}}},Jl(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:c,padding:s,color:l,lineHeight:`${c}px`,background:w,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:f,color:n,fontSize:d,background:a},[`${r}-content`]:{flex:"auto",minHeight:0}}},Aa=Rs("Layout",e=>[Zl(e)],e=>{const{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:o,controlHeightSM:a,marginXXS:i,colorTextLightSolid:c,colorBgContainer:s}=e,l=n*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:r*2,headerPadding:`0 ${l}px`,headerColor:o,footerPadding:`${a}px ${l}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+i*2,triggerBg:"#002140",triggerColor:c,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:s,lightTriggerBg:s,lightTriggerColor:o}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var Ra=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function Yt(e){let{suffixCls:t,tagName:r,displayName:n}=e;return o=>{const a=g.forwardRef((i,c)=>g.createElement(o,Object.assign({ref:c,suffixCls:t,tagName:r},i)));return process.env.NODE_ENV!=="production"&&(a.displayName=n),a}}const cn=g.forwardRef((e,t)=>{const{prefixCls:r,suffixCls:n,className:o,tagName:a}=e,i=Ra(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:c}=g.useContext(Ae),s=c("layout",r),[l,f]=Aa(s),u=n?`${s}-${n}`:s;return l(g.createElement(a,Object.assign({className:Ke(r||u,o,f),ref:t},i)))}),eu=g.forwardRef((e,t)=>{const{direction:r}=g.useContext(Ae),[n,o]=g.useState([]),{prefixCls:a,className:i,rootClassName:c,children:s,hasSider:l,tagName:f,style:u}=e,v=Ra(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),h=lo(v,["suffixCls"]),{getPrefixCls:b,layout:p}=g.useContext(Ae),d=b("layout",a),S=ql(n,s,l),[m,w]=Aa(d),O=Ke(d,{[`${d}-has-sider`]:S,[`${d}-rtl`]:r==="rtl"},p==null?void 0:p.className,i,c,w),C=g.useMemo(()=>({siderHook:{addSider:T=>{o(y=>[].concat(Ce(y),[T]))},removeSider:T=>{o(y=>y.filter(R=>R!==T))}}}),[]);return m(g.createElement(Oa.Provider,{value:C},g.createElement(f,Object.assign({ref:t,className:O,style:Object.assign(Object.assign({},p==null?void 0:p.style),u)},h),s)))}),tu=Yt({tagName:"div",displayName:"Layout"})(eu),ru=Yt({suffixCls:"header",tagName:"header",displayName:"Header"})(cn),nu=Yt({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(cn),ou=Yt({suffixCls:"content",tagName:"main",displayName:"Content"})(cn),au=tu,pt=au;pt.Header=ru;pt.Footer=nu;pt.Content=ou;pt.Sider=Pa;const ht=pt,iu=({children:e})=>Oe.jsx(ht.Content,{children:e}),cu=({children:e})=>Oe.jsx(ht.Footer,{style:{textAlign:"center"},children:e}),su=({children:e})=>Oe.jsx(ht.Header,{children:e}),lu=({children:e})=>Oe.jsx(ht,{style:{minHeight:"100vh"},children:e}),uu=({children:e,direction:t,collapsed:r,collapsedWidth:n,iconUrl:o,brandImageUrl:a})=>{let i;return o&&a&&(i=Oe.jsxs("div",{className:`logo-container ${r?"collapsed":""}`,children:[Oe.jsx("img",{className:"logo",src:o,alt:"icon",width:20,height:20}),Oe.jsx("img",{className:"brand-image",src:a,alt:"brand-image",height:20})]})),Oe.jsxs(ht.Sider,{collapsible:!0,collapsed:r,collapsedWidth:n,trigger:null,width:250,className:`${t}`,children:[i,e]})},fu=Object.assign(lu,{Header:su,Footer:cu,Content:iu,Sider:uu});exports.Layout=fu;
119
+ `,Ul=function(t){var r=M.useContext(nn),n=r.csp,o=r.prefixCls,a=Gl;o&&(a=a.replace(/anticon/g,o)),M.useEffect(function(){var i=t.current,c=Ll(i);Nl(a,"@ant-design-icons",{prepend:!0,csp:n,attachTo:c})},[])},Xl=["icon","className","onClick","style","primaryColor","secondaryColor"],lt={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Yl(e){var t=e.primaryColor,r=e.secondaryColor;lt.primaryColor=t,lt.secondaryColor=r||Oa(t),lt.calculated=!!r}function ql(){return Ae({},lt)}var Kt=function(t){var r=t.icon,n=t.className,o=t.onClick,a=t.style,i=t.primaryColor,c=t.secondaryColor,s=ya(t,Xl),l=g.useRef(),u=lt;if(i&&(u={primaryColor:i,secondaryColor:c||Oa(i)}),Ul(l),Vl(eo(r),"icon should be icon definiton, but got ".concat(r)),!eo(r))return null;var f=r;return f&&typeof f.icon=="function"&&(f=Ae(Ae({},f),{},{icon:f.icon(u.primaryColor,u.secondaryColor)})),Gr(f.icon,"svg-".concat(f.name),Ae(Ae({className:n,onClick:o,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:l}))};Kt.displayName="IconReact";Kt.getTwoToneColors=ql;Kt.setTwoToneColors=Yl;const un=Kt;function $a(e){var t=Ta(e),r=ba(t,2),n=r[0],o=r[1];return un.setTwoToneColors({primaryColor:n,secondaryColor:o})}function Kl(){var e=un.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Ql=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];$a(ps.primary);var Qt=g.forwardRef(function(e,t){var r,n=e.className,o=e.icon,a=e.spin,i=e.rotate,c=e.tabIndex,s=e.onClick,l=e.twoToneColor,u=ya(e,Ql),f=g.useContext(nn),p=f.prefixCls,h=p===void 0?"anticon":p,S=f.rootClassName,v=me(S,h,(r={},zr(r,"".concat(h,"-").concat(o.name),!!o.name),zr(r,"".concat(h,"-spin"),!!a||o.name==="loading"),r),n),d=c;d===void 0&&s&&(d=-1);var m=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,b=Ta(l),T=ba(b,2),w=T[0],O=T[1];return g.createElement("span",Qe({role:"img","aria-label":o.name},u,{ref:t,tabIndex:d,onClick:s,className:v}),g.createElement(un,{icon:o,primaryColor:w,secondaryColor:O,style:m}))});Qt.displayName="AntdIcon";Qt.getTwoToneColor=Kl;Qt.setTwoToneColor=$a;const fn=Qt,gt=["xxl","xl","lg","md","sm","xs"],Jl=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Zl=e=>{const t=e,r=[].concat(gt).reverse();return r.forEach((n,o)=>{const a=n.toUpperCase(),i=`screen${a}Min`,c=`screen${a}`;if(!(t[i]<=t[c]))throw new Error(`${i}<=${c} fails : !(${t[i]}<=${t[c]})`);if(o<r.length-1){const s=`screen${a}Max`;if(!(t[c]<=t[s]))throw new Error(`${c}<=${s} fails : !(${t[c]}<=${t[s]})`);const u=`screen${r[o+1].toUpperCase()}Min`;if(!(t[s]<=t[u]))throw new Error(`${s}<=${u} fails : !(${t[s]}<=${t[u]})`)}}),e};function eu(){const[,e]=Xt(),t=Jl(Zl(e));return M.useMemo(()=>{const r=new Map;let n=-1,o={};return{matchHandlers:{},dispatch(a){return o=a,r.forEach(i=>i(o)),r.size>=1},subscribe(a){return r.size||this.register(),n+=1,r.set(n,a),a(o),n},unsubscribe(a){r.delete(a),r.size||this.unregister()},unregister(){Object.keys(t).forEach(a=>{const i=t[a],c=this.matchHandlers[i];c==null||c.mql.removeListener(c==null?void 0:c.listener)}),r.clear()},register(){Object.keys(t).forEach(a=>{const i=t[a],c=l=>{let{matches:u}=l;this.dispatch(Object.assign(Object.assign({},o),{[a]:u}))},s=window.matchMedia(i);s.addListener(c),this.matchHandlers[i]={mql:s,listener:c},c(s)})},responsiveMap:t}},[e])}var tu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const ru=tu;var Pa=function(t,r){return g.createElement(fn,Qe({},t,{ref:r,icon:ru}))};process.env.NODE_ENV!=="production"&&(Pa.displayName="RightOutlined");const ro=g.forwardRef(Pa);var nu={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const ou=nu;var ka=function(t,r){return g.createElement(fn,Qe({},t,{ref:r,icon:ou}))};process.env.NODE_ENV!=="production"&&(ka.displayName="BarsOutlined");const au=g.forwardRef(ka);var iu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const cu=iu;var Aa=function(t,r){return g.createElement(fn,Qe({},t,{ref:r,icon:cu}))};process.env.NODE_ENV!=="production"&&(Aa.displayName="LeftOutlined");const no=g.forwardRef(Aa),su=e=>!isNaN(parseFloat(e))&&isFinite(e),lu=su,Ma=g.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var uu=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const oo={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},fu=g.createContext({}),du=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Ra=g.forwardRef((e,t)=>{const{prefixCls:r,className:n,trigger:o,children:a,defaultCollapsed:i=!1,theme:c="dark",style:s={},collapsible:l=!1,reverseArrow:u=!1,width:f=200,collapsedWidth:p=80,zeroWidthTriggerStyle:h,breakpoint:S,onCollapse:v,onBreakpoint:d}=e,m=uu(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=M.useContext(Ma),[T,w]=M.useState("collapsed"in e?e.collapsed:i),[O,x]=M.useState(!1);M.useEffect(()=>{"collapsed"in e&&w(e.collapsed)},[e.collapsed]);const y=(C,k)=>{"collapsed"in e||w(C),v==null||v(C,k)},E=M.useRef();E.current=C=>{x(C.matches),d==null||d(C.matches),T!==C.matches&&y(C.matches,"responsive")},M.useEffect(()=>{function C(A){return E.current(A)}let k;if(typeof window<"u"){const{matchMedia:A}=window;if(A&&S&&S in oo){k=A(`(max-width: ${oo[S]})`);try{k.addEventListener("change",C)}catch{k.addListener(C)}C(k)}}return()=>{try{k==null||k.removeEventListener("change",C)}catch{k==null||k.removeListener(C)}}},[S]),M.useEffect(()=>{const C=du("ant-sider-");return b.addSider(C),()=>b.removeSider(C)},[]);const j=()=>{y(!T,"clickTrigger")},{getPrefixCls:P}=M.useContext(ge),_=()=>{const C=P("layout-sider",r),k=qr(m,["collapsed"]),A=T?p:f,N=lu(A)?`${A}px`:String(A),F=parseFloat(String(p||0))===0?g.createElement("span",{onClick:j,className:me(`${C}-zero-width-trigger`,`${C}-zero-width-trigger-${u?"right":"left"}`),style:h},o||g.createElement(au,null)):null,z={expanded:u?g.createElement(ro,null):g.createElement(no,null),collapsed:u?g.createElement(no,null):g.createElement(ro,null)}[T?"collapsed":"expanded"],V=o!==null?F||g.createElement("div",{className:`${C}-trigger`,onClick:j,style:{width:N}},o||z):null,U=Object.assign(Object.assign({},s),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),re=me(C,`${C}-${c}`,{[`${C}-collapsed`]:!!T,[`${C}-has-trigger`]:l&&o!==null&&!F,[`${C}-below`]:!!O,[`${C}-zero-width`]:parseFloat(N)===0},n);return g.createElement("aside",Object.assign({className:re},k,{style:U,ref:t}),g.createElement("div",{className:`${C}-children`},a),l||O&&F?V:null)},R=g.useMemo(()=>({siderCollapsed:T}),[T]);return g.createElement(fu.Provider,{value:R},_())});process.env.NODE_ENV!=="production"&&(Ra.displayName="Sider");const ja=Ra,gu=M.createContext({}),_a=gu,pu=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},vu=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},hu=(e,t)=>{const{componentCls:r,gridColumns:n}=e,o={};for(let a=n;a>=0;a--)a===0?(o[`${r}${t}-${a}`]={display:"none"},o[`${r}-push-${a}`]={insetInlineStart:"auto"},o[`${r}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${a}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${a}`]={marginInlineStart:0},o[`${r}${t}-order-${a}`]={order:0}):(o[`${r}${t}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/n*100}%`,maxWidth:`${a/n*100}%`}],o[`${r}${t}-push-${a}`]={insetInlineStart:`${a/n*100}%`},o[`${r}${t}-pull-${a}`]={insetInlineEnd:`${a/n*100}%`},o[`${r}${t}-offset-${a}`]={marginInlineStart:`${a/n*100}%`},o[`${r}${t}-order-${a}`]={order:a});return o},Ur=(e,t)=>hu(e,t),mu=(e,t,r)=>({[`@media (min-width: ${t}px)`]:Object.assign({},Ur(e,r))}),bu=Yt("Grid",e=>[pu(e)]),yu=Yt("Grid",e=>{const t=Ft(e,{gridColumns:24}),r={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[vu(t),Ur(t,""),Ur(t,"-xs"),Object.keys(r).map(n=>mu(t,r[n],n)).reduce((n,o)=>Object.assign(Object.assign({},n),o),{})]});var Su=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function xu(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const Cu=["xs","sm","md","lg","xl","xxl"],Na=g.forwardRef((e,t)=>{const{getPrefixCls:r,direction:n}=g.useContext(ge),{gutter:o,wrap:a}=g.useContext(_a),{prefixCls:i,span:c,order:s,offset:l,push:u,pull:f,className:p,children:h,flex:S,style:v}=e,d=Su(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),m=r("col",i),[b,T]=yu(m);let w={};Cu.forEach(y=>{let E={};const j=e[y];typeof j=="number"?E.span=j:typeof j=="object"&&(E=j||{}),delete d[y],w=Object.assign(Object.assign({},w),{[`${m}-${y}-${E.span}`]:E.span!==void 0,[`${m}-${y}-order-${E.order}`]:E.order||E.order===0,[`${m}-${y}-offset-${E.offset}`]:E.offset||E.offset===0,[`${m}-${y}-push-${E.push}`]:E.push||E.push===0,[`${m}-${y}-pull-${E.pull}`]:E.pull||E.pull===0,[`${m}-${y}-flex-${E.flex}`]:E.flex||E.flex==="auto",[`${m}-rtl`]:n==="rtl"})});const O=me(m,{[`${m}-${c}`]:c!==void 0,[`${m}-order-${s}`]:s,[`${m}-offset-${l}`]:l,[`${m}-push-${u}`]:u,[`${m}-pull-${f}`]:f},p,w,T),x={};if(o&&o[0]>0){const y=o[0]/2;x.paddingLeft=y,x.paddingRight=y}return S&&(x.flex=xu(S),a===!1&&!x.minWidth&&(x.minWidth=0)),b(g.createElement("div",Object.assign({},d,{style:Object.assign(Object.assign({},x),v),className:O,ref:t}),h))});process.env.NODE_ENV!=="production"&&(Na.displayName="Col");const Eu=Na;var wu=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function ao(e,t){const[r,n]=g.useState(typeof e=="string"?e:""),o=()=>{if(typeof e=="string"&&n(e),typeof e=="object")for(let a=0;a<gt.length;a++){const i=gt[a];if(!t[i])continue;const c=e[i];if(c!==void 0){n(c);return}}};return g.useEffect(()=>{o()},[JSON.stringify(e),t]),r}const Ia=g.forwardRef((e,t)=>{const{prefixCls:r,justify:n,align:o,className:a,style:i,children:c,gutter:s=0,wrap:l}=e,u=wu(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:p}=g.useContext(ge),[h,S]=g.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[v,d]=g.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),m=ao(o,v),b=ao(n,v),T=g.useRef(s),w=eu();g.useEffect(()=>{const N=w.subscribe(F=>{d(F);const L=T.current||0;(!Array.isArray(L)&&typeof L=="object"||Array.isArray(L)&&(typeof L[0]=="object"||typeof L[1]=="object"))&&S(F)});return()=>w.unsubscribe(N)},[]);const O=()=>{const N=[void 0,void 0];return(Array.isArray(s)?s:[s,void 0]).forEach((L,W)=>{if(typeof L=="object")for(let z=0;z<gt.length;z++){const V=gt[z];if(h[V]&&L[V]!==void 0){N[W]=L[V];break}}else N[W]=L}),N},x=f("row",r),[y,E]=bu(x),j=O(),P=me(x,{[`${x}-no-wrap`]:l===!1,[`${x}-${b}`]:b,[`${x}-${m}`]:m,[`${x}-rtl`]:p==="rtl"},a,E),_={},R=j[0]!=null&&j[0]>0?j[0]/-2:void 0;R&&(_.marginLeft=R,_.marginRight=R),[,_.rowGap]=j;const[C,k]=j,A=g.useMemo(()=>({gutter:[C,k],wrap:l}),[C,k,l]);return y(g.createElement(_a.Provider,{value:A},g.createElement("div",Object.assign({},u,{className:P,style:Object.assign(Object.assign({},_),i),ref:t}),c)))});process.env.NODE_ENV!=="production"&&(Ia.displayName="Row");const Ou=Ia;function io(e){return["small","middle","large"].includes(e)}const La=["wrap","nowrap","wrap-reverse"],Ha=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],Da=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],Tu=(e,t)=>{const r={};return La.forEach(n=>{r[`${e}-wrap-${n}`]=t.wrap===n}),r},$u=(e,t)=>{const r={};return Da.forEach(n=>{r[`${e}-align-${n}`]=t.align===n}),r[`${e}-align-stretch`]=!t.align&&!!t.vertical,r},Pu=(e,t)=>{const r={};return Ha.forEach(n=>{r[`${e}-justify-${n}`]=t.justify===n}),r};function ku(e,t){return me(Object.assign(Object.assign(Object.assign({},Tu(e,t)),$u(e,t)),Pu(e,t)))}const Au=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Mu=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},Ru=e=>{const{componentCls:t}=e,r={};return La.forEach(n=>{r[`${t}-wrap-${n}`]={flexWrap:n}}),r},ju=e=>{const{componentCls:t}=e,r={};return Da.forEach(n=>{r[`${t}-align-${n}`]={alignItems:n}}),r},_u=e=>{const{componentCls:t}=e,r={};return Ha.forEach(n=>{r[`${t}-justify-${n}`]={justifyContent:n}}),r},Nu=Yt("Flex",e=>{const t=Ft(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[Au(t),Mu(t),Ru(t),ju(t),_u(t)]});var Iu=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Ba=M.forwardRef((e,t)=>{const{prefixCls:r,rootClassName:n,className:o,style:a,flex:i,gap:c,children:s,vertical:l=!1,component:u="div"}=e,f=Iu(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:p,direction:h,getPrefixCls:S}=M.useContext(ge),v=S("flex",r),[d,m]=Nu(v),b=l??(p==null?void 0:p.vertical),T=me(o,n,p==null?void 0:p.className,v,m,ku(v,e),{[`${v}-rtl`]:h==="rtl",[`${v}-gap-${c}`]:io(c),[`${v}-vertical`]:b}),w=Object.assign(Object.assign({},p==null?void 0:p.style),a);return i&&(w.flex=i),c&&!io(c)&&(w.gap=c),d(M.createElement(u,Object.assign({ref:t,className:T,style:w},qr(f,["justify","wrap","align"])),s))});process.env.NODE_ENV!=="production"&&(Ba.displayName="Flex");const Lu=Ba;function Hu(e,t,r){return typeof r=="boolean"?r:e.length?!0:vr(t).some(o=>o.type===ja)}const Du=e=>{const{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:o,lightTriggerColor:a}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:a,background:o},[`${t}-sider-zero-width-trigger`]:{color:a,background:o,border:`1px solid ${r}`,borderInlineStart:0}}}},Bu=Du,Fu=e=>{const{antCls:t,componentCls:r,colorText:n,triggerColor:o,footerBg:a,triggerBg:i,headerHeight:c,headerPadding:s,headerColor:l,footerPadding:u,triggerHeight:f,zeroTriggerHeight:p,zeroTriggerWidth:h,motionDurationMid:S,motionDurationSlow:v,fontSize:d,borderRadius:m,bodyBg:b,headerBg:T,siderBg:w}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:b,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},[`${r}-sider`]:{position:"relative",minWidth:0,background:w,transition:`all ${S}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:o,lineHeight:`${f}px`,textAlign:"center",background:i,cursor:"pointer",transition:`all ${S}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:-h,zIndex:1,width:h,height:p,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:w,borderStartStartRadius:0,borderStartEndRadius:m,borderEndEndRadius:m,borderEndStartRadius:0,cursor:"pointer",transition:`background ${v} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${v}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-h,borderStartStartRadius:m,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:m}}}}},Bu(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:c,padding:s,color:l,lineHeight:`${c}px`,background:T,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:u,color:n,fontSize:d,background:a},[`${r}-content`]:{flex:"auto",minHeight:0}}},Fa=Yt("Layout",e=>[Fu(e)],e=>{const{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:o,controlHeightSM:a,marginXXS:i,colorTextLightSolid:c,colorBgContainer:s}=e,l=n*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:r*2,headerPadding:`0 ${l}px`,headerColor:o,footerPadding:`${a}px ${l}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+i*2,triggerBg:"#002140",triggerColor:c,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:s,lightTriggerBg:s,lightTriggerColor:o}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var za=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function Jt(e){let{suffixCls:t,tagName:r,displayName:n}=e;return o=>{const a=g.forwardRef((i,c)=>g.createElement(o,Object.assign({ref:c,suffixCls:t,tagName:r},i)));return process.env.NODE_ENV!=="production"&&(a.displayName=n),a}}const dn=g.forwardRef((e,t)=>{const{prefixCls:r,suffixCls:n,className:o,tagName:a}=e,i=za(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:c}=g.useContext(ge),s=c("layout",r),[l,u]=Fa(s),f=n?`${s}-${n}`:s;return l(g.createElement(a,Object.assign({className:me(r||f,o,u),ref:t},i)))}),zu=g.forwardRef((e,t)=>{const{direction:r}=g.useContext(ge),[n,o]=g.useState([]),{prefixCls:a,className:i,rootClassName:c,children:s,hasSider:l,tagName:u,style:f}=e,p=za(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),h=qr(p,["suffixCls"]),{getPrefixCls:S,layout:v}=g.useContext(ge),d=S("layout",a),m=Hu(n,s,l),[b,T]=Fa(d),w=me(d,{[`${d}-has-sider`]:m,[`${d}-rtl`]:r==="rtl"},v==null?void 0:v.className,i,c,T),O=g.useMemo(()=>({siderHook:{addSider:x=>{o(y=>[].concat(Oe(y),[x]))},removeSider:x=>{o(y=>y.filter(E=>E!==x))}}}),[]);return b(g.createElement(Ma.Provider,{value:O},g.createElement(u,Object.assign({ref:t,className:w,style:Object.assign(Object.assign({},v==null?void 0:v.style),f)},h),s)))}),Wu=Jt({tagName:"div",displayName:"Layout"})(zu),Vu=Jt({suffixCls:"header",tagName:"header",displayName:"Header"})(dn),Gu=Jt({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(dn),Uu=Jt({suffixCls:"content",tagName:"main",displayName:"Content"})(dn),Xu=Wu,ht=Xu;ht.Header=Vu;ht.Footer=Gu;ht.Content=Uu;ht.Sider=ja;const mt=ht,Yu=({children:e})=>Pe.jsx(mt.Content,{children:e}),qu=({children:e})=>Pe.jsx(mt.Footer,{style:{textAlign:"center"},children:e}),Ku=({children:e})=>Pe.jsx(mt.Header,{children:e}),Qu=({children:e})=>Pe.jsx(mt,{style:{minHeight:"100vh"},children:e}),Ju=({children:e,direction:t,collapsed:r,collapsedWidth:n,iconUrl:o,brandImageUrl:a})=>{let i;return o&&a&&(i=Pe.jsxs("div",{className:`logo-container ${r?"collapsed":""}`,children:[Pe.jsx("img",{className:"logo",src:o,alt:"icon",width:20,height:20}),Pe.jsx("img",{className:"brand-image",src:a,alt:"brand-image",height:20})]})),Pe.jsxs(mt.Sider,{collapsible:!0,collapsed:r,collapsedWidth:n,trigger:null,width:250,className:`${t}`,children:[i,e]})},Zu=Object.assign(Qu,{Header:Ku,Footer:qu,Content:Yu,Sider:Ju});exports.Col=Eu;exports.Flex=Lu;exports.Layout=Zu;exports.Row=Ou;