@akinon/ui-layout 0.0.2 → 0.2.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/cjs/Content.d.ts.map +1 -0
- package/dist/cjs/Content.js +9 -0
- package/dist/cjs/Flex.d.ts +4 -0
- package/dist/cjs/Flex.d.ts.map +1 -0
- package/dist/cjs/Flex.js +5 -0
- package/dist/cjs/Footer.d.ts.map +1 -0
- package/dist/cjs/Footer.js +9 -0
- package/dist/cjs/Grid.d.ts +4 -0
- package/dist/cjs/Grid.d.ts.map +1 -0
- package/dist/cjs/Grid.js +6 -0
- package/dist/cjs/Header.d.ts.map +1 -0
- package/dist/cjs/Header.js +9 -0
- package/dist/{Layout.d.ts → cjs/Layout.d.ts} +0 -1
- package/dist/cjs/Layout.d.ts.map +1 -0
- package/dist/cjs/Layout.js +9 -0
- package/dist/{Sider.d.ts → cjs/Sider.d.ts} +1 -0
- package/dist/cjs/Sider.d.ts.map +1 -0
- package/dist/cjs/Sider.js +18 -0
- package/dist/cjs/index.css +56 -0
- package/dist/{index.d.ts → cjs/index.d.ts} +3 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +32 -0
- package/dist/esm/Content.d.ts +6 -0
- package/dist/esm/Content.d.ts.map +1 -0
- package/dist/esm/Content.js +5 -0
- package/dist/esm/Flex.d.ts +4 -0
- package/dist/esm/Flex.d.ts.map +1 -0
- package/dist/esm/Flex.js +2 -0
- package/dist/esm/Footer.d.ts +6 -0
- package/dist/esm/Footer.d.ts.map +1 -0
- package/dist/esm/Footer.js +5 -0
- package/dist/esm/Grid.d.ts +4 -0
- package/dist/esm/Grid.d.ts.map +1 -0
- package/dist/esm/Grid.js +2 -0
- package/dist/esm/Header.d.ts +6 -0
- package/dist/esm/Header.d.ts.map +1 -0
- package/dist/esm/Header.js +5 -0
- package/dist/esm/Layout.d.ts +6 -0
- package/dist/esm/Layout.d.ts.map +1 -0
- package/dist/esm/Layout.js +5 -0
- package/dist/esm/Sider.d.ts +12 -0
- package/dist/esm/Sider.d.ts.map +1 -0
- package/dist/esm/Sider.js +14 -0
- package/dist/esm/index.css +56 -0
- package/dist/esm/index.d.ts +27 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +15 -0
- package/package.json +18 -11
- package/dist/Content.d.ts.map +0 -1
- package/dist/Footer.d.ts.map +0 -1
- package/dist/Header.d.ts.map +0 -1
- package/dist/Layout.d.ts.map +0 -1
- package/dist/Sider.d.ts.map +0 -1
- package/dist/index.cjs +0 -119
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4855
- /package/dist/{Content.d.ts → cjs/Content.d.ts} +0 -0
- /package/dist/{Footer.d.ts → cjs/Footer.d.ts} +0 -0
- /package/dist/{Header.d.ts → cjs/Header.d.ts} +0 -0
package/dist/index.cjs
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
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:{}};/*!
|
|
3
|
-
Copyright (c) 2018 Jed Watson.
|
|
4
|
-
Licensed under the MIT License (MIT), see
|
|
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={};/**
|
|
7
|
-
* @license React
|
|
8
|
-
* react-is.production.min.js
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
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={};/**
|
|
15
|
-
* @license React
|
|
16
|
-
* react-is.development.js
|
|
17
|
-
*
|
|
18
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
19
|
-
*
|
|
20
|
-
* This source code is licensed under the MIT license found in the
|
|
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,
|
|
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"),`
|
|
28
|
-
:root {
|
|
29
|
-
${Object.keys(r).map(i=>`--${e}-${i}: ${r[i]};`).join(`
|
|
30
|
-
`)}
|
|
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:`
|
|
33
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
-
`,boxShadowSecondary:`
|
|
37
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
-
`,boxShadowTertiary:`
|
|
41
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
42
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
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:`
|
|
45
|
-
0 1px 2px -2px ${new ce("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
46
|
-
0 3px 6px 0 ${new ce("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
47
|
-
0 5px 12px 4px ${new ce("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
48
|
-
`,boxShadowDrawerRight:`
|
|
49
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
50
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
51
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
52
|
-
`,boxShadowDrawerLeft:`
|
|
53
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
54
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
55
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
56
|
-
`,boxShadowDrawerUp:`
|
|
57
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
58
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
59
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
60
|
-
`,boxShadowDrawerDown:`
|
|
61
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
62
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
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=`
|
|
66
|
-
.anticon {
|
|
67
|
-
display: inline-block;
|
|
68
|
-
color: inherit;
|
|
69
|
-
font-style: normal;
|
|
70
|
-
line-height: 0;
|
|
71
|
-
text-align: center;
|
|
72
|
-
text-transform: none;
|
|
73
|
-
vertical-align: -0.125em;
|
|
74
|
-
text-rendering: optimizeLegibility;
|
|
75
|
-
-webkit-font-smoothing: antialiased;
|
|
76
|
-
-moz-osx-font-smoothing: grayscale;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.anticon > * {
|
|
80
|
-
line-height: 1;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.anticon svg {
|
|
84
|
-
display: inline-block;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.anticon::before {
|
|
88
|
-
display: none;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.anticon .anticon-icon {
|
|
92
|
-
display: block;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.anticon[tabindex] {
|
|
96
|
-
cursor: pointer;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.anticon-spin::before,
|
|
100
|
-
.anticon-spin {
|
|
101
|
-
display: inline-block;
|
|
102
|
-
-webkit-animation: loadingCircle 1s infinite linear;
|
|
103
|
-
animation: loadingCircle 1s infinite linear;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@-webkit-keyframes loadingCircle {
|
|
107
|
-
100% {
|
|
108
|
-
-webkit-transform: rotate(360deg);
|
|
109
|
-
transform: rotate(360deg);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@keyframes loadingCircle {
|
|
114
|
-
100% {
|
|
115
|
-
-webkit-transform: rotate(360deg);
|
|
116
|
-
transform: rotate(360deg);
|
|
117
|
-
}
|
|
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;
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,KAAK,mBAAmB,GAAG,OAAO,cAAc,GAAG;IACjD,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,KAAK,EAAE,OAAO,KAAK,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,mBAKZ,CAAC;AAGH,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|