@akinon/ui-divider 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.
@@ -0,0 +1,13 @@
1
+ .akinon-divider-custom {
2
+ height: 1.5em;
3
+ border-color: var(--color-gray-900);
4
+
5
+ &::after,
6
+ &::before {
7
+ background-color: var(--color-gray-900);
8
+ }
9
+
10
+ &.no-margin {
11
+ margin: 0;
12
+ }
13
+ }
@@ -1,3 +1,4 @@
1
+ import './index.css';
1
2
  import type { DividerProps as AntDividerProps } from 'antd/lib/divider';
2
3
  import * as React from 'react';
3
4
  type DividerProps = Omit<AntDividerProps, 'prefixCls' | 'className' | 'classNames' | 'rootClassName' | 'style' | 'styles'> & {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,YAAY,GAAG,IAAI,CACtB,eAAe,EACb,WAAW,GACX,WAAW,GACX,YAAY,GACZ,eAAe,GACf,OAAO,GACP,QAAQ,CACX,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAGzB,eAAO,MAAM,OAAO,6CAKjB,YAAY,sBAUd,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.Divider = void 0;
15
+ require("./index.css");
16
+ const antd_1 = require("antd");
17
+ const React = require("react");
18
+ // TODO better handle classname injection
19
+ const Divider = (_a) => {
20
+ var { children, margin, type } = _a, antdProps = __rest(_a, ["children", "margin", "type"]);
21
+ return (React.createElement(antd_1.Divider, Object.assign({}, antdProps, { type: type, className: `ant-divider-custom ${margin === false && 'no-margin'}` }), children));
22
+ };
23
+ exports.Divider = Divider;
@@ -0,0 +1,13 @@
1
+ .akinon-divider-custom {
2
+ height: 1.5em;
3
+ border-color: var(--color-gray-900);
4
+
5
+ &::after,
6
+ &::before {
7
+ background-color: var(--color-gray-900);
8
+ }
9
+
10
+ &.no-margin {
11
+ margin: 0;
12
+ }
13
+ }
@@ -0,0 +1,9 @@
1
+ import './index.css';
2
+ import type { DividerProps as AntDividerProps } from 'antd/lib/divider';
3
+ import * as React from 'react';
4
+ type DividerProps = Omit<AntDividerProps, 'prefixCls' | 'className' | 'classNames' | 'rootClassName' | 'style' | 'styles'> & {
5
+ margin?: boolean;
6
+ };
7
+ export declare const Divider: ({ children, margin, type, ...antdProps }: DividerProps) => React.JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,YAAY,GAAG,IAAI,CACtB,eAAe,EACb,WAAW,GACX,WAAW,GACX,YAAY,GACZ,eAAe,GACf,OAAO,GACP,QAAQ,CACX,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAGzB,eAAO,MAAM,OAAO,6CAKjB,YAAY,sBAUd,CAAC"}
@@ -0,0 +1,19 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import './index.css';
13
+ import { Divider as AntDivider } from 'antd';
14
+ import * as React from 'react';
15
+ // TODO better handle classname injection
16
+ export const Divider = (_a) => {
17
+ var { children, margin, type } = _a, antdProps = __rest(_a, ["children", "margin", "type"]);
18
+ return (React.createElement(AntDivider, Object.assign({}, antdProps, { type: type, className: `ant-divider-custom ${margin === false && 'no-margin'}` }), children));
19
+ };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@akinon/ui-divider",
3
- "version": "0.0.2",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "module": "dist/index.js",
6
+ "main": "dist/esm/index.js",
7
+ "module": "dist/esm/index.js",
8
8
  "files": [
9
9
  "dist"
10
10
  ],
@@ -13,26 +13,33 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "clean-package": "2.2.0",
16
- "@akinon/vite-config": "^0.1.1",
17
- "eslint-config-custom": "0.1.0",
18
- "tsconfig": "0.0.0"
16
+ "copyfiles": "^2.4.1",
17
+ "rimraf": "^5.0.5",
18
+ "typescript": "^5.2.2",
19
+ "@akinon/vite-config": "0.3.0",
20
+ "@akinon/eslint-config": "0.1.0",
21
+ "@akinon/typescript-config": "0.1.0"
19
22
  },
20
23
  "peerDependencies": {
21
24
  "react": ">=18",
22
25
  "react-dom": ">=18"
23
26
  },
24
27
  "clean-package": "../../../clean-package.config.json",
25
- "types": "dist/index.d.ts",
28
+ "types": "dist/esm/index.d.ts",
26
29
  "exports": {
27
30
  ".": {
28
- "types": "./dist/index.d.ts",
29
- "import": "./dist/index.js",
30
- "require": "./dist/index.cjs"
31
+ "types": "./dist/esm/index.d.ts",
32
+ "import": "./dist/esm/index.js",
33
+ "require": "./dist/cjs/index.js"
31
34
  },
32
35
  "./package.json": "./package.json"
33
36
  },
34
37
  "scripts": {
35
- "build": "vite build",
38
+ "build": "pnpm run build:esm && pnpm run build:commonjs && pnpm run copy:files",
39
+ "build:esm": "tsc --outDir dist/esm",
40
+ "build:commonjs": "tsc --module commonjs --outDir dist/cjs",
41
+ "copy:files": "copyfiles -u 1 src/**/*.css dist/esm && copyfiles -u 1 src/**/*.css dist/cjs",
42
+ "clean": "rimraf dist/",
36
43
  "lint": "eslint *.ts*",
37
44
  "test": "vitest run",
38
45
  "test:ui": "vitest --ui",
package/dist/index.cjs DELETED
@@ -1,64 +0,0 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ant-divider-custom{height:1.5em;border-color:var(--color-gray-900)}.ant-divider-custom:after,.ant-divider-custom:before{background-color:var(--color-gray-900)}.ant-divider-custom.no-margin{margin:0}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Qo=require("react/jsx-runtime"),D=require("react"),Jo=require("react-dom");function Zo(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 p=Zo(D);function ei(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tn={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 i=arguments[o];if(i){var a=typeof i;if(a==="string"||a==="number")n.push(i);else if(Array.isArray(i)){if(i.length){var c=r.apply(null,i);c&&n.push(c)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var l in i)t.call(i,l)&&i[l]&&n.push(l)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Tn);var ti=Tn.exports;const wn=ei(ti);function Pt(){return Pt=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},Pt.apply(this,arguments)}var Jt={exports:{}},_={};/**
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 Wr;function ri(){if(Wr)return _;Wr=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"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function h(f){if(typeof f=="object"&&f!==null){var x=f.$$typeof;switch(x){case e:switch(f=f.type,f){case r:case o:case n:case s:case u:return f;default:switch(f=f&&f.$$typeof,f){case c:case a:case l:case v:case d:case i:return f;default:return x}}case t:return x}}}return _.ContextConsumer=a,_.ContextProvider=i,_.Element=e,_.ForwardRef=l,_.Fragment=r,_.Lazy=v,_.Memo=d,_.Portal=t,_.Profiler=o,_.StrictMode=n,_.Suspense=s,_.SuspenseList=u,_.isAsyncMode=function(){return!1},_.isConcurrentMode=function(){return!1},_.isContextConsumer=function(f){return h(f)===a},_.isContextProvider=function(f){return h(f)===i},_.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===e},_.isForwardRef=function(f){return h(f)===l},_.isFragment=function(f){return h(f)===r},_.isLazy=function(f){return h(f)===v},_.isMemo=function(f){return h(f)===d},_.isPortal=function(f){return h(f)===t},_.isProfiler=function(f){return h(f)===o},_.isStrictMode=function(f){return h(f)===n},_.isSuspense=function(f){return h(f)===s},_.isSuspenseList=function(f){return h(f)===u},_.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===r||f===o||f===n||f===s||f===u||f===g||typeof f=="object"&&f!==null&&(f.$$typeof===v||f.$$typeof===d||f.$$typeof===i||f.$$typeof===a||f.$$typeof===l||f.$$typeof===y||f.getModuleId!==void 0)},_.typeOf=h,_}var j={};/**
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 Vr;function ni(){return Vr||(Vr=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"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),y=!1,h=!1,f=!1,x=!1,m=!1,O;O=Symbol.for("react.module.reference");function w(S){return!!(typeof S=="string"||typeof S=="function"||S===r||S===o||m||S===n||S===s||S===u||x||S===g||y||h||f||typeof S=="object"&&S!==null&&(S.$$typeof===v||S.$$typeof===d||S.$$typeof===i||S.$$typeof===a||S.$$typeof===l||S.$$typeof===O||S.getModuleId!==void 0))}function E(S){if(typeof S=="object"&&S!==null){var ne=S.$$typeof;switch(ne){case e:var Ce=S.type;switch(Ce){case r:case o:case n:case s:case u:return Ce;default:var Te=Ce&&Ce.$$typeof;switch(Te){case c:case a:case l:case v:case d:case i:return Te;default:return ne}}case t:return ne}}}var C=a,b=i,P=e,N=l,T=r,I=v,A=d,k=t,$=o,M=n,z=s,Z=u,G=!1,B=!1;function U(S){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ee(S){return B||(B=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function X(S){return E(S)===a}function ce(S){return E(S)===i}function re(S){return typeof S=="object"&&S!==null&&S.$$typeof===e}function ve(S){return E(S)===l}function $e(S){return E(S)===r}function Ye(S){return E(S)===v}function qe(S){return E(S)===d}function Ke(S){return E(S)===t}function Le(S){return E(S)===o}function me(S){return E(S)===n}function Qe(S){return E(S)===s}function Ne(S){return E(S)===u}j.ContextConsumer=C,j.ContextProvider=b,j.Element=P,j.ForwardRef=N,j.Fragment=T,j.Lazy=I,j.Memo=A,j.Portal=k,j.Profiler=$,j.StrictMode=M,j.Suspense=z,j.SuspenseList=Z,j.isAsyncMode=U,j.isConcurrentMode=ee,j.isContextConsumer=X,j.isContextProvider=ce,j.isElement=re,j.isForwardRef=ve,j.isFragment=$e,j.isLazy=Ye,j.isMemo=qe,j.isPortal=Ke,j.isProfiler=Le,j.isStrictMode=me,j.isSuspense=Qe,j.isSuspenseList=Ne,j.isValidElementType=w,j.typeOf=E}()),j}process.env.NODE_ENV==="production"?Jt.exports=ri():Jt.exports=ni();var oi=Jt.exports,Zt={},Or=[],ii=function(t){Or.push(t)};function Pr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Or.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function ai(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Or.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function On(){Zt={}}function Pn(e,t,r){!t&&!Zt[r]&&(e(!1,r),Zt[r]=!0)}function Ie(e,t){Pn(Pr,e,t)}function ci(e,t){Pn(ai,e,t)}Ie.preMessage=ii;Ie.resetWarned=On;Ie.noteOnce=ci;function V(e){"@babel/helpers - typeof";return V=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},V(e)}function si(e,t){if(V(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(V(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kn(e){var t=si(e,"string");return V(t)==="symbol"?t:String(t)}function L(e,t,r){return t=kn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gr(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 R(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gr(Object(r),!0).forEach(function(n){L(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function li(e){return e instanceof HTMLElement||e instanceof SVGElement}function ui(e){return li(e)?e:e instanceof D.Component?Jo.findDOMNode(e):null}function An(e,t,r){var n=p.useRef({});return(!("value"in n.current)||r(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}function fi(e,t){typeof e=="function"?e(t):V(e)==="object"&&e&&"current"in e&&(e.current=t)}function di(e){var t,r,n=oi.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 at(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(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,kn(n.key),n)}}function ct(e,t,r){return t&&Ur(e.prototype,t),r&&Ur(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function er(e,t){return er=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},er(e,t)}function Mn(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&&er(e,t)}function kt(e){return kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},kt(e)}function vi(){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 tr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hi(e,t){if(t&&(V(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tr(e)}function Rn(e){var t=vi();return function(){var n=kt(e),o;if(t){var i=kt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hi(this,o)}}function rr(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 pi(e){if(Array.isArray(e))return rr(e)}function _n(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kr(e,t){if(e){if(typeof e=="string")return rr(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 rr(e,t)}}function gi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
23
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oe(e){return pi(e)||_n(e)||kr(e)||gi()}var jn=function(t){return+setTimeout(t,16)},In=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(jn=function(t){return window.requestAnimationFrame(t)},In=function(t){return window.cancelAnimationFrame(t)});var Xr=0,Ar=new Map;function $n(e){Ar.delete(e)}var nr=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Xr+=1;var n=Xr;function o(i){if(i===0)$n(n),t();else{var a=jn(function(){o(i-1)});Ar.set(n,a)}}return o(r),n};nr.cancel=function(e){var t=Ar.get(e);return $n(t),In(t)};function Mr(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 mi(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function or(e,t){if(e==null)return{};var r=mi(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function bi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=new Set;function o(i,a){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=n.has(i);if(Ie(!l,"Warning: There may be circular references"),l)return!1;if(i===a)return!0;if(r&&c>1)return!1;n.add(i);var s=c+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var u=0;u<i.length;u++)if(!o(i[u],a[u],s))return!1;return!0}if(i&&a&&V(i)==="object"&&V(a)==="object"){var d=Object.keys(i);return d.length!==Object.keys(a).length?!1:d.every(function(v){return o(i[v],a[v],s)})}return!1}return o(e,t)}var Yr="%",yi=function(){function e(t){at(this,e),L(this,"instanceId",void 0),L(this,"cache",new Map),this.instanceId=t}return ct(e,[{key:"get",value:function(r){return this.cache.get(r.join(Yr))||null}},{key:"update",value:function(r,n){var o=r.join(Yr),i=this.cache.get(o),a=n(i);a===null?this.cache.delete(o):this.cache.set(o,a)}}]),e}(),ir="data-token-hash",Re="data-css-hash",Si="data-cache-path",Fe="__cssinjs_instance__";function xi(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Re,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(o){o[Fe]=o[Fe]||e,o[Fe]===e&&document.head.insertBefore(o,r)});var n={};Array.from(document.querySelectorAll("style[".concat(Re,"]"))).forEach(function(o){var i=o.getAttribute(Re);if(n[i]){if(o[Fe]===e){var a;(a=o.parentNode)===null||a===void 0||a.removeChild(o)}}else n[i]=!0})}return new yi(e)}var Ei=p.createContext({hashPriority:"low",cache:xi(),defaultCache:!0});const Rr=Ei;function ge(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ci(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 qr="data-rc-order",Kr="data-rc-priority",Ti="rc-util-key",ar=new Map;function Ln(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Ti}function Rt(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function wi(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Nn(e){return Array.from((ar.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Dn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ge())return null;var r=t.csp,n=t.prepend,o=t.priority,i=o===void 0?0:o,a=wi(n),c=a==="prependQueue",l=document.createElement("style");l.setAttribute(qr,a),c&&i&&l.setAttribute(Kr,"".concat(i)),r!=null&&r.nonce&&(l.nonce=r==null?void 0:r.nonce),l.innerHTML=e;var s=Rt(t),u=s.firstChild;if(n){if(c){var d=Nn(s).filter(function(v){if(!["prepend","prependQueue"].includes(v.getAttribute(qr)))return!1;var g=Number(v.getAttribute(Kr)||0);return i>=g});if(d.length)return s.insertBefore(l,d[d.length-1].nextSibling),l}s.insertBefore(l,u)}else s.appendChild(l);return l}function Hn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Rt(t);return Nn(r).find(function(n){return n.getAttribute(Ln(t))===e})}function zn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Hn(e,t);if(r){var n=Rt(t);n.removeChild(r)}}function Oi(e,t){var r=ar.get(e);if(!r||!Ci(document,r)){var n=Dn("",t),o=n.parentNode;ar.set(e,o),e.removeChild(n)}}function At(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=Rt(r);Oi(n,r);var o=Hn(t,r);if(o){var i,a;if((i=r.csp)!==null&&i!==void 0&&i.nonce&&o.nonce!==((a=r.csp)===null||a===void 0?void 0:a.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 l=Dn(e,r);return l.setAttribute(Ln(r),t),l}function Fn(e){if(Array.isArray(e))return e}function Pi(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(u){s=!0,o=u}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}function Bn(){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 H(e,t){return Fn(e)||Pi(e,t)||kr(e,t)||Bn()}function ki(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 _r=function(){function e(){at(this,e),L(this,"cache",void 0),L(this,"keys",void 0),L(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return ct(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var n,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return r.forEach(function(c){if(!a)a=void 0;else{var l,s;a=(l=a)===null||l===void 0||(s=l.map)===null||s===void 0?void 0:s.get(c)}}),(n=a)!==null&&n!==void 0&&n.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===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 i=this.keys.reduce(function(s,u){var d=H(s,2),v=d[1];return o.internalGet(u)[1]<v?[u,o.internalGet(u)[1]]:s},[this.keys[0],this.cacheCallTimes]),a=H(i,1),c=a[0];this.delete(c)}this.keys.push(r)}var l=this.cache;r.forEach(function(s,u){if(u===r.length-1)l.set(s,{value:[n,o.cacheCallTimes++]});else{var d=l.get(s);d?d.map||(d.map=new Map):l.set(s,{map:new Map}),l=l.get(s).map}})}},{key:"deleteByPath",value:function(r,n){var o=r.get(n[0]);if(n.length===1){var i;return o.map?r.set(n[0],{map:o.map}):r.delete(n[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&r.delete(n[0]),a}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(n){return!ki(n,r)}),this.deleteByPath(this.cache,r)}}]),e}();L(_r,"MAX_CACHE_SIZE",20);L(_r,"MAX_CACHE_OFFSET",5);var Qr=0,Wn=function(){function e(t){at(this,e),L(this,"derivatives",void 0),L(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Qr,t.length===0&&Pr(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Qr+=1}return ct(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(n,o){return o(r,n)},void 0)}}]),e}(),Dt=new _r;function cr(e){var t=Array.isArray(e)?e:[e];return Dt.has(t)||Dt.set(t,new Wn(t)),Dt.get(t)}var Ai=new WeakMap,Ht={};function Mi(e,t){for(var r=Ai,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(Ht)||r.set(Ht,e()),r.get(Ht)}var Jr=new WeakMap;function Mt(e){var t=Jr.get(e)||"";return t||(Object.keys(e).forEach(function(r){var n=e[r];t+=r,n instanceof Wn?t+=n.id:n&&V(n)==="object"?t+=Mt(n):t+=n}),Jr.set(e,t)),t}function Ri(e,t){return Mr("".concat(t,"_").concat(Mt(e)))}var rt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Vn="_bAmBoO_";function _i(e,t,r){if(ge()){var n,o;At(e,rt);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");var a=r?r(i):(n=getComputedStyle(i).content)===null||n===void 0?void 0:n.includes(Vn);return(o=i.parentNode)===null||o===void 0||o.removeChild(i),zn(rt),a}return!1}var zt=void 0;function ji(){return zt===void 0&&(zt=_i("@layer ".concat(rt," { .").concat(rt,' { content: "').concat(Vn,'"!important; } }'),function(e){e.className=rt})),zt}var Zr=process.env.NODE_ENV!=="test"&&ge()?p.useLayoutEffect:p.useEffect,Ii=function(t,r){var n=p.useRef(!0);Zr(function(){return t(n.current)},r),Zr(function(){return n.current=!1,function(){n.current=!0}},[])},$i=R({},p),en=$i.useInsertionEffect,Li=function(t,r,n){p.useMemo(t,n),Ii(function(){return r(!0)},n)},Ni=en?function(e,t,r){return en(function(){return e(),t()},r)}:Li;const Di=Ni;var Hi=R({},p),zi=Hi.useInsertionEffect,Fi=function(t){var r=[],n=!1;function o(i){if(n){process.env.NODE_ENV!=="production"&&Pr(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}r.push(i)}return p.useEffect(function(){return n=!1,function(){n=!0,r.length&&r.forEach(function(i){return i()})}},t),o},Bi=function(){return function(t){t()}},Wi=typeof zi<"u"?Fi:Bi;const Vi=Wi;function Gi(){return!1}var sr=!1;function Ui(){return sr}const Xi=process.env.NODE_ENV==="production"?Gi:Ui;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var Ft=window;if(typeof Ft.webpackHotUpdate=="function"){var Yi=Ft.webpackHotUpdate;Ft.webpackHotUpdate=function(){return sr=!0,setTimeout(function(){sr=!1},0),Yi.apply(void 0,arguments)}}}function Gn(e,t,r,n,o){var i=p.useContext(Rr),a=i.cache,c=[e].concat(Oe(t)),l=c.join("_"),s=Vi([l]),u=Xi(),d=function(h){a.update(c,function(f){var x=f||[],m=H(x,2),O=m[0],w=O===void 0?0:O,E=m[1],C=E;process.env.NODE_ENV!=="production"&&E&&u&&(n==null||n(C,u),C=null);var b=C||r(),P=[w,b];return h?h(P):P})};p.useMemo(function(){d()},[l]);var v=a.get(c);process.env.NODE_ENV!=="production"&&!v&&(d(),v=a.get(c));var g=v[1];return Di(function(){o==null||o(g)},function(y){return d(function(h){var f=H(h,2),x=f[0],m=f[1];return y&&x===0&&(o==null||o(g)),[x+1,m]}),function(){a.update(c,function(h){var f=h||[],x=H(f,2),m=x[0],O=m===void 0?0:m,w=x[1],E=O-1;return E===0?(s(function(){return n==null?void 0:n(w,!1)}),null):[O-1,w]})}},[l]),g}var qi={},Ki=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",Ae=new Map;function Qi(e){Ae.set(e,(Ae.get(e)||0)+1)}function Ji(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(ir,'="').concat(e,'"]'));r.forEach(function(n){if(n[Fe]===t){var o;(o=n.parentNode)===null||o===void 0||o.removeChild(n)}})}}var Zi=0;function ea(e,t){Ae.set(e,(Ae.get(e)||0)-1);var r=Array.from(Ae.keys()),n=r.filter(function(o){var i=Ae.get(o)||0;return i<=0});r.length-n.length>Zi&&n.forEach(function(o){Ji(o,t),Ae.delete(o)})}var ta=function(t,r,n,o){var i=n.getDerivativeToken(t),a=R(R({},i),r);return o&&(a=o(a)),a};function ra(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=D.useContext(Rr),o=n.cache.instanceId,i=r.salt,a=i===void 0?"":i,c=r.override,l=c===void 0?qi:c,s=r.formatToken,u=r.getComputedToken,d=Mi(function(){return Object.assign.apply(Object,[{}].concat(Oe(t)))},t),v=Mt(d),g=Mt(l),y=Gn("token",[a,e.id,v,g],function(){var h=u?u(d,l,e):ta(d,l,e,s),f=Ri(h,a);h._tokenKey=f,Qi(f);var x="".concat(Ki,"-").concat(Mr(f));return h._hashId=x,[h,x]},function(h){ea(h[0]._tokenKey,o)});return y}var na={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},Un="comm",Xn="rule",Yn="decl",oa="@import",ia="@keyframes",aa="@layer",ca=Math.abs,jr=String.fromCharCode;function qn(e){return e.trim()}function Et(e,t,r){return e.replace(t,r)}function sa(e,t){return e.indexOf(t)}function nt(e,t){return e.charCodeAt(t)|0}function ot(e,t,r){return e.slice(t,r)}function Ee(e){return e.length}function la(e){return e.length}function dt(e,t){return t.push(e),e}var _t=1,Ve=1,Kn=0,le=0,F=0,Ue="";function Ir(e,t,r,n,o,i,a,c){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:_t,column:Ve,length:a,return:"",siblings:c}}function ua(){return F}function fa(){return F=le>0?nt(Ue,--le):0,Ve--,F===10&&(Ve=1,_t--),F}function de(){return F=le<Kn?nt(Ue,le++):0,Ve++,F===10&&(Ve=1,_t++),F}function _e(){return nt(Ue,le)}function Ct(){return le}function jt(e,t){return ot(Ue,e,t)}function lr(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 da(e){return _t=Ve=1,Kn=Ee(Ue=e),le=0,[]}function va(e){return Ue="",e}function Bt(e){return qn(jt(le-1,ur(e===91?e+2:e===40?e+1:e)))}function ha(e){for(;(F=_e())&&F<33;)de();return lr(e)>2||lr(F)>3?"":" "}function pa(e,t){for(;--t&&de()&&!(F<48||F>102||F>57&&F<65||F>70&&F<97););return jt(e,Ct()+(t<6&&_e()==32&&de()==32))}function ur(e){for(;de();)switch(F){case e:return le;case 34:case 39:e!==34&&e!==39&&ur(F);break;case 40:e===41&&ur(e);break;case 92:de();break}return le}function ga(e,t){for(;de()&&e+F!==47+10;)if(e+F===42+42&&_e()===47)break;return"/*"+jt(t,le-1)+"*"+jr(e===47?e:de())}function ma(e){for(;!lr(_e());)de();return jt(e,le)}function ba(e){return va(Tt("",null,null,null,[""],e=da(e),0,[0],e))}function Tt(e,t,r,n,o,i,a,c,l){for(var s=0,u=0,d=a,v=0,g=0,y=0,h=1,f=1,x=1,m=0,O="",w=o,E=i,C=n,b=O;f;)switch(y=m,m=de()){case 40:if(y!=108&&nt(b,d-1)==58){sa(b+=Et(Bt(m),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:b+=Bt(m);break;case 9:case 10:case 13:case 32:b+=ha(y);break;case 92:b+=pa(Ct()-1,7);continue;case 47:switch(_e()){case 42:case 47:dt(ya(ga(de(),Ct()),t,r,l),l);break;default:b+="/"}break;case 123*h:c[s++]=Ee(b)*x;case 125*h:case 59:case 0:switch(m){case 0:case 125:f=0;case 59+u:x==-1&&(b=Et(b,/\f/g,"")),g>0&&Ee(b)-d&&dt(g>32?rn(b+";",n,r,d-1,l):rn(Et(b," ","")+";",n,r,d-2,l),l);break;case 59:b+=";";default:if(dt(C=tn(b,t,r,s,u,o,c,O,w=[],E=[],d,i),i),m===123)if(u===0)Tt(b,t,C,C,w,i,d,c,E);else switch(v===99&&nt(b,3)===110?100:v){case 100:case 108:case 109:case 115:Tt(e,C,C,n&&dt(tn(e,C,C,0,0,o,c,O,o,w=[],d,E),E),o,E,d,c,n?w:E);break;default:Tt(b,C,C,C,[""],E,0,c,E)}}s=u=g=0,h=x=1,O=b="",d=a;break;case 58:d=1+Ee(b),g=y;default:if(h<1){if(m==123)--h;else if(m==125&&h++==0&&fa()==125)continue}switch(b+=jr(m),m*h){case 38:x=u>0?1:(b+="\f",-1);break;case 44:c[s++]=(Ee(b)-1)*x,x=1;break;case 64:_e()===45&&(b+=Bt(de())),v=_e(),u=d=Ee(O=b+=ma(Ct())),m++;break;case 45:y===45&&Ee(b)==2&&(h=0)}}return i}function tn(e,t,r,n,o,i,a,c,l,s,u,d){for(var v=o-1,g=o===0?i:[""],y=la(g),h=0,f=0,x=0;h<n;++h)for(var m=0,O=ot(e,v+1,v=ca(f=a[h])),w=e;m<y;++m)(w=qn(f>0?g[m]+" "+O:Et(O,/&\f/g,g[m])))&&(l[x++]=w);return Ir(e,t,r,o===0?Xn:c,l,s,u,d)}function ya(e,t,r,n){return Ir(e,t,r,Un,jr(ua()),ot(e,2,-2),0,n)}function rn(e,t,r,n,o){return Ir(e,t,r,Yn,ot(e,0,n),ot(e,n+1,-1),n,o)}function fr(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Sa(e,t,r,n){switch(e.type){case aa:if(e.children.length)break;case oa:case Yn:return e.return=e.return||e.value;case Un:return"";case ia:return e.return=e.value+"{"+fr(e.children,n)+"}";case Xn:if(!Ee(e.value=e.props.join(",")))return""}return Ee(r=fr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Qn(e,t){var r=t.path,n=t.parentSelectors;Ie(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}var xa=function(t,r,n){if(t==="content"){var o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,i=["normal","none","initial","inherit","unset"];(typeof r!="string"||i.indexOf(r)===-1&&!o.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'"))&&Qn("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(r,"\"'`."),n)}},Ea=function(t,r,n){t==="animation"&&n.hashId&&r!=="none"&&Qn("You seem to be using hashed animation '".concat(r,"', in which case 'animationName' with Keyframe as value is recommended."),n)},nn="data-ant-cssinjs-cache-path",Jn="_FILE_STYLE__",je,Zn=!0;function Ca(){if(!je&&(je={},ge())){var e=document.createElement("div");e.className=nn,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 i=o.split(":"),a=H(i,2),c=a[0],l=a[1];je[c]=l});var r=document.querySelector("style[".concat(nn,"]"));if(r){var n;Zn=!1,(n=r.parentNode)===null||n===void 0||n.removeChild(r)}document.body.removeChild(e)}}function Ta(e){return Ca(),!!je[e]}function wa(e){var t=je[e],r=null;if(t&&ge())if(Zn)r=Jn;else{var n=document.querySelector("style[".concat(Re,'="').concat(je[e],'"]'));n?r=n.innerHTML:delete je[e]}return[r,t]}var on=ge(),eo="_skip_check_",to="_multi_value_";function an(e){var t=fr(ba(e),Sa);return t.replace(/\{%%%\:[^;];}/g,";")}function Oa(e){return V(e)==="object"&&e&&(eo in e||to in e)}function Pa(e,t,r){if(!t)return e;var n=".".concat(t),o=r==="low"?":where(".concat(n,")"):n,i=e.split(",").map(function(a){var c,l=a.trim().split(/\s+/),s=l[0]||"",u=((c=s.match(/^\w+/))===null||c===void 0?void 0:c[0])||"";return s="".concat(u).concat(o).concat(s.slice(u.length)),[s].concat(Oe(l.slice(1))).join(" ")});return i.join(",")}var ka=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,i=n.injectHash,a=n.parentSelectors,c=r.hashId,l=r.layer,s=r.path,u=r.hashPriority,d=r.transformers,v=d===void 0?[]:d,g=r.linters,y=g===void 0?[]:g,h="",f={};function x(C){var b=C.getName(c);if(!f[b]){var P=e(C.style,r,{root:!1,parentSelectors:a}),N=H(P,1),T=N[0];f[b]="@keyframes ".concat(C.getName(c)).concat(T)}}function m(C){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.forEach(function(P){Array.isArray(P)?m(P,b):P&&b.push(P)}),b}var O=m(Array.isArray(t)?t:[t]);if(O.forEach(function(C){var b=typeof C=="string"&&!o?{}:C;if(typeof b=="string")h+="".concat(b,`
25
- `);else if(b._keyframe)x(b);else{var P=v.reduce(function(N,T){var I;return(T==null||(I=T.visit)===null||I===void 0?void 0:I.call(T,N))||N},b);Object.keys(P).forEach(function(N){var T=P[N];if(V(T)==="object"&&T&&(N!=="animationName"||!T._keyframe)&&!Oa(T)){var I=!1,A=N.trim(),k=!1;(o||i)&&c?A.startsWith("@")?I=!0:A=Pa(N,c,u):o&&!c&&(A==="&"||A==="")&&(A="",k=!0);var $=e(T,r,{root:k,injectHash:I,parentSelectors:[].concat(Oe(a),[A])}),M=H($,2),z=M[0],Z=M[1];f=R(R({},f),Z),h+="".concat(A).concat(z)}else{let U=function(ee,X){process.env.NODE_ENV!=="production"&&(V(T)!=="object"||!(T!=null&&T[eo]))&&[xa,Ea].concat(Oe(y)).forEach(function(ve){return ve(ee,X,{path:s,hashId:c,parentSelectors:a})});var ce=ee.replace(/[A-Z]/g,function(ve){return"-".concat(ve.toLowerCase())}),re=X;!na[ee]&&typeof re=="number"&&re!==0&&(re="".concat(re,"px")),ee==="animationName"&&X!==null&&X!==void 0&&X._keyframe&&(x(X),re=X.getName(c)),h+="".concat(ce,":").concat(re,";")};var G,B=(G=T==null?void 0:T.value)!==null&&G!==void 0?G:T;V(T)==="object"&&T!==null&&T!==void 0&&T[to]&&Array.isArray(B)?B.forEach(function(ee){U(N,ee)}):U(N,B)}})}}),!o)h="{".concat(h,"}");else if(l&&ji()){var w=l.split(","),E=w[w.length-1].trim();h="@layer ".concat(E," {").concat(h,"}"),w.length>1&&(h="@layer ".concat(l,"{%%%:%}").concat(h))}return[h,f]};function Aa(e,t){return Mr("".concat(e.join("%")).concat(t))}function Ma(){return null}function dr(e,t){var r=e.token,n=e.path,o=e.hashId,i=e.layer,a=e.nonce,c=e.clientOnly,l=e.order,s=l===void 0?0:l,u=p.useContext(Rr),d=u.autoClear,v=u.mock,g=u.defaultCache,y=u.hashPriority,h=u.container,f=u.ssrInline,x=u.transformers,m=u.linters,O=u.cache,w=r._tokenKey,E=[w].concat(Oe(n)),C=on;process.env.NODE_ENV!=="production"&&v!==void 0&&(C=v==="client");var b=Gn("style",E,function(){var A=E.join("|");if(Ta(A)){var k=wa(A),$=H(k,2),M=$[0],z=$[1];if(M)return[M,w,z,{},c,s]}var Z=t(),G=ka(Z,{hashId:o,hashPriority:y,layer:i,path:n.join("-"),transformers:x,linters:m}),B=H(G,2),U=B[0],ee=B[1],X=an(U),ce=Aa(E,X);return[X,w,ce,ee,c,s]},function(A,k){var $=H(A,3),M=$[2];(k||d)&&on&&zn(M,{mark:Re})},function(A){var k=H(A,4),$=k[0];k[1];var M=k[2],z=k[3];if(C&&$!==Jn){var Z={mark:Re,prepend:"queue",attachTo:h,priority:s},G=typeof a=="function"?a():a;G&&(Z.csp={nonce:G});var B=At($,M,Z);B[Fe]=O.instanceId,B.setAttribute(ir,w),process.env.NODE_ENV!=="production"&&B.setAttribute(Si,E.join("|")),Object.keys(z).forEach(function(U){At(an(z[U]),"_effect-".concat(U),Z)})}}),P=H(b,3),N=P[0],T=P[1],I=P[2];return function(A){var k;if(!f||C||!g)k=p.createElement(Ma,null);else{var $;k=p.createElement("style",Pt({},($={},L($,ir,T),L($,Re,I),$),{dangerouslySetInnerHTML:{__html:N}}))}return p.createElement(p.Fragment,null,k,A)}}function He(e){return e.notSplit=!0,e}He(["borderTop","borderBottom"]),He(["borderTop"]),He(["borderBottom"]),He(["borderLeft","borderRight"]),He(["borderLeft"]),He(["borderRight"]);var Ra=D.createContext({});const _a=Ra;function ja(e){return Fn(e)||_n(e)||kr(e)||Bn()}function vr(e,t){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;r=r[t[n]]}return r}function ro(e,t,r,n){if(!t.length)return r;var o=ja(t),i=o[0],a=o.slice(1),c;return!e&&typeof i=="number"?c=[]:Array.isArray(e)?c=Oe(e):c=R({},e),n&&r===void 0&&a.length===1?delete c[i][a[0]]:c[i]=ro(c[i],a,r,n),c}function Wt(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&n&&r===void 0&&!vr(e,t.slice(0,-1))?e:ro(e,t,r,n)}function Ia(e){return V(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function cn(e){return Array.isArray(e)?[]:{}}var $a=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function La(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=cn(t[0]);return t.forEach(function(o){function i(a,c){var l=new Set(c),s=vr(o,a),u=Array.isArray(s);if(u||Ia(s)){if(!l.has(s)){l.add(s);var d=vr(n,a);u?n=Wt(n,a,[]):(!d||V(d)!=="object")&&(n=Wt(n,a,cn(s))),$a(s).forEach(function(v){i([].concat(Oe(a),[v]),l)})}}else n=Wt(n,a,s)}i([])}),n}function no(){}let xe=null;function Na(){xe=null,On()}let $r=no;process.env.NODE_ENV!=="production"&&($r=(e,t,r)=>{Ie(e,`[antd: ${t}] ${r}`),process.env.NODE_ENV==="test"&&Na()});const oo=p.createContext({}),Lr=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=p.useContext(oo),r=(n,o,i)=>{if(!n)if(t===!1&&o==="deprecated"){const a=xe;xe||(xe={}),xe[e]=xe[e]||[],xe[e].includes(i||"")||xe[e].push(i||""),a||console.warn("[antd] There exists deprecated usage in your code:",xe)}else process.env.NODE_ENV!=="production"&&$r(n,e,i)};return r.deprecated=(n,o,i,a)=>{r(n,"deprecated",`\`${o}\` is deprecated. Please use \`${i}\` instead.${a?` ${a}`:""}`)},r}:()=>{const e=()=>{};return e.deprecated=no,e},It=$r,Da=D.createContext(void 0),Ha={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 za={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 Fa={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},io=Fa,Ba={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"]},za),timePickerLocale:Object.assign({},io)},sn=Ba,oe="${label} is not a valid ${type}",Wa={locale:"en",Pagination:Ha,DatePicker:sn,TimePicker:io,Calendar:sn,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:oe,method:oe,array:oe,object:oe,number:oe,date:oe,boolean:oe,integer:oe,float:oe,regexp:oe,email:oe,url:oe,hex:oe},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"}},$t=Wa;Object.assign({},$t.Modal);let wt=[];const ln=()=>wt.reduce((e,t)=>Object.assign(Object.assign({},e),t),$t.Modal);function Va(e){if(e){const t=Object.assign({},e);return wt.push(t),ln(),()=>{wt=wt.filter(r=>r!==t),ln()}}Object.assign({},$t.Modal)}const Ga=D.createContext(void 0),ao=Ga,co="internalMark",so=e=>{const{locale:t={},children:r,_ANT_MARK__:n}=e;if(process.env.NODE_ENV!=="production"){const i=Lr("LocaleProvider");process.env.NODE_ENV!=="production"&&i(n===co,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}p.useEffect(()=>Va(t&&t.Modal),[t]);const o=p.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return p.createElement(ao.Provider,{value:o},r)};process.env.NODE_ENV!=="production"&&(so.displayName="LocaleProvider");const Ua=so;function J(e,t){Xa(e)&&(e="100%");var r=Ya(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 vt(e){return Math.min(1,Math.max(0,e))}function Xa(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Ya(e){return typeof e=="string"&&e.indexOf("%")!==-1}function lo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ht(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Me(e){return e.length===1?"0"+e:String(e)}function qa(e,t,r){return{r:J(e,255)*255,g:J(t,255)*255,b:J(r,255)*255}}function un(e,t,r){e=J(e,255),t=J(t,255),r=J(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),i=0,a=0,c=(n+o)/2;if(n===o)a=0,i=0;else{var l=n-o;switch(a=c>.5?l/(2-n-o):l/(n+o),n){case e:i=(t-r)/l+(t<r?6:0);break;case t:i=(r-e)/l+2;break;case r:i=(e-t)/l+4;break}i/=6}return{h:i,s:a,l:c}}function Vt(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 Ka(e,t,r){var n,o,i;if(e=J(e,360),t=J(t,100),r=J(r,100),t===0)o=r,i=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,c=2*r-a;n=Vt(c,a,e+1/3),o=Vt(c,a,e),i=Vt(c,a,e-1/3)}return{r:n*255,g:o*255,b:i*255}}function hr(e,t,r){e=J(e,255),t=J(t,255),r=J(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),i=0,a=n,c=n-o,l=n===0?0:c/n;if(n===o)i=0;else{switch(n){case e:i=(t-r)/c+(t<r?6:0);break;case t:i=(r-e)/c+2;break;case r:i=(e-t)/c+4;break}i/=6}return{h:i,s:l,v:a}}function Qa(e,t,r){e=J(e,360)*6,t=J(t,100),r=J(r,100);var n=Math.floor(e),o=e-n,i=r*(1-t),a=r*(1-o*t),c=r*(1-(1-o)*t),l=n%6,s=[r,a,i,i,c,r][l],u=[c,r,r,a,i,i][l],d=[i,i,c,r,r,a][l];return{r:s*255,g:u*255,b:d*255}}function pr(e,t,r,n){var o=[Me(Math.round(e).toString(16)),Me(Math.round(t).toString(16)),Me(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 Ja(e,t,r,n,o){var i=[Me(Math.round(e).toString(16)),Me(Math.round(t).toString(16)),Me(Math.round(r).toString(16)),Me(Za(n))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function Za(e){return Math.round(parseFloat(e)*255).toString(16)}function fn(e){return ie(e)/255}function ie(e){return parseInt(e,16)}function ec(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var gr={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 ze(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,i=null,a=!1,c=!1;return typeof e=="string"&&(e=nc(e)),typeof e=="object"&&(ye(e.r)&&ye(e.g)&&ye(e.b)?(t=qa(e.r,e.g,e.b),a=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ye(e.h)&&ye(e.s)&&ye(e.v)?(n=ht(e.s),o=ht(e.v),t=Qa(e.h,n,o),a=!0,c="hsv"):ye(e.h)&&ye(e.s)&&ye(e.l)&&(n=ht(e.s),i=ht(e.l),t=Ka(e.h,n,i),a=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=lo(r),{ok:a,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 tc="[-\\+]?\\d+%?",rc="[-\\+]?\\d*\\.\\d+%?",we="(?:".concat(rc,")|(?:").concat(tc,")"),Gt="[\\s|\\(]+(".concat(we,")[,|\\s]+(").concat(we,")[,|\\s]+(").concat(we,")\\s*\\)?"),Ut="[\\s|\\(]+(".concat(we,")[,|\\s]+(").concat(we,")[,|\\s]+(").concat(we,")[,|\\s]+(").concat(we,")\\s*\\)?"),ue={CSS_UNIT:new RegExp(we),rgb:new RegExp("rgb"+Gt),rgba:new RegExp("rgba"+Ut),hsl:new RegExp("hsl"+Gt),hsla:new RegExp("hsla"+Ut),hsv:new RegExp("hsv"+Gt),hsva:new RegExp("hsva"+Ut),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 nc(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(gr[e])e=gr[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:fn(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:fn(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 ae=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=ec(t)),this.originalInput=t;var o=ze(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,i=t.r/255,a=t.g/255,c=t.b/255;return i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.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=lo(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=hr(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=hr(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=un(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=un(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),Ja(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(J(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(J(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(gr);r<n.length;r++){var o=n[r],i=o[0],a=o[1];if(t===a)return i}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var n=!1,o=this.a<1&&this.a>=0,i=!r&&o&&(t.startsWith("hex")||t==="name");return i?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=vt(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=vt(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=vt(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=vt(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(),i=r/100,a={r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(new e(n));return i},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,i=r.v,a=[],c=1/t;t--;)a.push(new e({h:n,s:o,v:i})),i=(i+c)%1;return a},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],i=360/t,a=1;a<t;a++)o.push(new e({h:(n+a*i)%360,s:r.s,l:r.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),pt=2,dn=.16,oc=.05,ic=.05,ac=.15,uo=5,fo=4,cc=[{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 vn(e){var t=e.r,r=e.g,n=e.b,o=hr(t,r,n);return{h:o.h*360,s:o.s,v:o.v}}function gt(e){var t=e.r,r=e.g,n=e.b;return"#".concat(pr(t,r,n,!1))}function sc(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 hn(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-pt*t:Math.round(e.h)+pt*t:n=r?Math.round(e.h)+pt*t:Math.round(e.h)-pt*t,n<0?n+=360:n>=360&&(n-=360),n}function pn(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-dn*t:t===fo?n=e.s+dn:n=e.s+oc*t,n>1&&(n=1),r&&t===uo&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function gn(e,t,r){var n;return r?n=e.v+ic*t:n=e.v-ac*t,n>1&&(n=1),Number(n.toFixed(2))}function Ge(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=ze(e),o=uo;o>0;o-=1){var i=vn(n),a=gt(ze({h:hn(i,o,!0),s:pn(i,o,!0),v:gn(i,o,!0)}));r.push(a)}r.push(gt(n));for(var c=1;c<=fo;c+=1){var l=vn(n),s=gt(ze({h:hn(l,c),s:pn(l,c),v:gn(l,c)}));r.push(s)}return t.theme==="dark"?cc.map(function(u){var d=u.index,v=u.opacity,g=gt(sc(ze(t.backgroundColor||"#141414"),ze(r[d]),v*100));return g}):r}var Xt={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"},Yt={},qt={};Object.keys(Xt).forEach(function(e){Yt[e]=Ge(Xt[e]),Yt[e].primary=Yt[e][5],qt[e]=Ge(Xt[e],{theme:"dark",backgroundColor:"#141414"}),qt[e].primary=qt[e][5]});const lc=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},uc=lc;function fc(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 vo={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"},dc=Object.assign(Object.assign({},vo),{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}),it=dc;function vc(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:c,colorPrimary:l,colorBgBase:s,colorTextBase:u}=e,d=r(l),v=r(o),g=r(i),y=r(a),h=r(c),f=n(s,u),x=e.colorLink||e.colorInfo,m=r(x);return Object.assign(Object.assign({},f),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[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:y[1],colorErrorBgHover:y[2],colorErrorBorder:y[3],colorErrorBorderHover:y[4],colorErrorHover:y[5],colorError:y[6],colorErrorActive:y[7],colorErrorTextHover:y[8],colorErrorText:y[9],colorErrorTextActive:y[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:m[4],colorLink:m[6],colorLinkActive:m[7],colorBgMask:new ae("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const hc=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}},pc=hc;function gc(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},pc(n))}const Se=(e,t)=>new ae(e).setAlpha(t).toRgbString(),tt=(e,t)=>new ae(e).darken(t).toHexString(),mc=e=>{const t=Ge(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]}},bc=(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:tt(r,4),colorBgContainer:tt(r,0),colorBgElevated:tt(r,0),colorBgSpotlight:Se(n,.85),colorBgBlur:"transparent",colorBorder:tt(r,15),colorBorderSecondary:tt(r,6)}};function yc(e){const t=new Array(10).fill(null).map((r,n)=>{const o=n-1,i=e*Math.pow(2.71828,o/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(r=>{const n=r+8;return{size:r,lineHeight:n/r}})}const Sc=e=>{const t=yc(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]}},xc=Sc;function Ec(e){const t=Object.keys(vo).map(r=>{const n=Ge(e[r]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${r}-${a+1}`]=n[a],o[`${r}${a+1}`]=n[a],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),vc(e,{generateColorPalettes:mc,generateNeutralColorPalettes:bc})),xc(e.fontSize)),fc(e)),uc(e)),gc(e))}const ho=cr(Ec),po={token:it,override:{override:it},hashed:!0},go=D.createContext(po),mo="anticon",Cc=(e,t)=>t||(e?`ant-${e}`:"ant"),st=p.createContext({getPrefixCls:Cc,iconPrefixCls:mo}),Tc=`-ant-${Date.now()}-${Math.random()}`;function wc(e,t){const r={},n=(a,c)=>{let l=a.clone();return l=(c==null?void 0:c(l))||l,l.toRgbString()},o=(a,c)=>{const l=new ae(a),s=Ge(l.toRgbString());r[`${c}-color`]=n(l),r[`${c}-color-disabled`]=s[1],r[`${c}-color-hover`]=s[4],r[`${c}-color-active`]=s[6],r[`${c}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),r[`${c}-color-deprecated-bg`]=s[0],r[`${c}-color-deprecated-border`]=s[2]};if(t.primaryColor){o(t.primaryColor,"primary");const a=new ae(t.primaryColor),c=Ge(a.toRgbString());c.forEach((s,u)=>{r[`primary-${u+1}`]=s}),r["primary-color-deprecated-l-35"]=n(a,s=>s.lighten(35)),r["primary-color-deprecated-l-20"]=n(a,s=>s.lighten(20)),r["primary-color-deprecated-t-20"]=n(a,s=>s.tint(20)),r["primary-color-deprecated-t-50"]=n(a,s=>s.tint(50)),r["primary-color-deprecated-f-12"]=n(a,s=>s.setAlpha(s.getAlpha()*.12));const l=new ae(c[0]);r["primary-color-active-deprecated-f-30"]=n(l,s=>s.setAlpha(s.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(l,s=>s.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(a=>`--${e}-${a}: ${r[a]};`).join(`
30
- `)}
31
- }
32
- `.trim()}function Oc(e,t){const r=wc(e,t);ge()?At(r,`${Tc}-dynamic-theme`):process.env.NODE_ENV!=="production"&&It(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const mr=p.createContext(!1),Pc=e=>{let{children:t,disabled:r}=e;const n=p.useContext(mr);return p.createElement(mr.Provider,{value:r??n},t)},kc=mr,br=p.createContext(void 0),Ac=e=>{let{children:t,size:r}=e;const n=p.useContext(br);return p.createElement(br.Provider,{value:r||n},t)},Nr=br;function Mc(){const e=D.useContext(kc),t=D.useContext(Nr);return{componentDisabled:e,componentSize:t}}const Rc="5.11.0";function Kt(e){return e>=0&&e<=255}function mt(e,t){const{r,g:n,b:o,a:i}=new ae(e).toRgb();if(i<1)return e;const{r:a,g:c,b:l}=new ae(t).toRgb();for(let s=.01;s<=1;s+=.01){const u=Math.round((r-a*(1-s))/s),d=Math.round((n-c*(1-s))/s),v=Math.round((o-l*(1-s))/s);if(Kt(u)&&Kt(d)&&Kt(v))return new ae({r:u,g:d,b:v,a:Math.round(s*100)/100}).toRgbString()}return new ae({r,g:n,b:o,a:1}).toRgbString()}var _c=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 bo(e){const{override:t}=e,r=_c(e,["override"]),n=Object.assign({},t);Object.keys(it).forEach(v=>{delete n[v]});const o=Object.assign(Object.assign({},r),n),i=480,a=576,c=768,l=992,s=1200,u=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:mt(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:mt(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:mt(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:mt(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:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:s-1,screenXL:s,screenXLMin:s,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
45
- 0 1px 2px -2px ${new ae("rgba(0, 0, 0, 0.16)").toRgbString()},
46
- 0 3px 6px 0 ${new ae("rgba(0, 0, 0, 0.12)").toRgbString()},
47
- 0 5px 12px 4px ${new ae("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 mn=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 yo=(e,t,r)=>{const n=r.getDerivativeToken(e),{override:o}=t,i=mn(t,["override"]);let a=Object.assign(Object.assign({},n),{override:o});return a=bo(a),i&&Object.entries(i).forEach(c=>{let[l,s]=c;const{theme:u}=s,d=mn(s,["theme"]);let v=d;u&&(v=yo(Object.assign(Object.assign({},a),d),{override:d},u)),a[l]=v}),a};function Dr(){const{token:e,hashed:t,theme:r,override:n}=D.useContext(go),o=`${Rc}-${t||""}`,i=r||ho,[a,c]=ra(i,[it,e],{salt:o,override:n,getComputedToken:yo,formatToken:bo});return[i,a,t?c:""]}function Ot(e){var t=p.useRef(!1),r=p.useState(e),n=H(r,2),o=n[0],i=n[1];p.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(c,l){l&&t.current||i(c)}return[o,a]}const jc=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Ic=()=>({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"}}),$c=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"}}}),Lc=(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"}}}}},So=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let yr=!0;function Sr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!So)return Object.assign.apply(Object,[{}].concat(t));yr=!1;const n={};return t.forEach(o=>{Object.keys(o).forEach(a=>{Object.defineProperty(n,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),yr=!0,n}const bn={};function Nc(){}function Dc(e){let t,r=e,n=Nc;return So&&typeof Proxy<"u"&&(t=new Set,r=new Proxy(e,{get(o,i){return yr&&t.add(i),o[i]}}),n=(o,i)=>{var a;bn[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=bn[o])===null||a===void 0?void 0:a.component),i)}}),{token:r,keys:t,flush:n}}const Hc=(e,t)=>{const[r,n]=Dr();return dr({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Ic()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},xo=Hc;function zc(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=Array.isArray(e)?e:[e,e],[i]=o,a=o.join("-");return c=>{const[l,s,u]=Dr(),{getPrefixCls:d,iconPrefixCls:v,csp:g}=D.useContext(st),y=d(),h={theme:l,token:s,hashId:u,nonce:()=>g==null?void 0:g.nonce,clientOnly:n.clientOnly,order:n.order||-999};return dr(Object.assign(Object.assign({},h),{clientOnly:!1,path:["Shared",y]}),()=>[{"&":$c(s)}]),xo(v,g),[dr(Object.assign(Object.assign({},h),{path:[a,c,v]}),()=>{const{token:f,flush:x}=Dc(s),m=Object.assign({},s[i]);if(n.deprecatedTokens){const{deprecatedTokens:P}=n;P.forEach(N=>{let[T,I]=N;var A;process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&Ie(!(m!=null&&m[T]),`The token '${String(T)}' of ${i} had deprecated, use '${String(I)}' instead.`),(m!=null&&m[T]||m!=null&&m[I])&&((A=m[I])!==null&&A!==void 0||(m[I]=m==null?void 0:m[T]))})}const O=typeof r=="function"?r(Sr(f,m??{})):r,w=Object.assign(Object.assign({},O),m),E=`.${c}`,C=Sr(f,{componentCls:E,prefixCls:c,iconCls:`.${v}`,antCls:`.${y}`},w),b=t(C,{hashId:u,prefixCls:c,rootPrefixCls:y,iconPrefixCls:v,overrideComponentToken:m});return x(i,w),[n.resetStyle===!1?null:Lc(s,c),b]}),u]}}function Fc(e,t){const r=e||{},n=r.inherit===!1||!t?po:t;return An(()=>{if(!e)return t;const o=Object.assign({},n.components);return Object.keys(e.components||{}).forEach(i=>{o[i]=Object.assign(Object.assign({},o[i]),e.components[i])}),Object.assign(Object.assign(Object.assign({},n),r),{token:Object.assign(Object.assign({},n.token),r.token),components:o})},[r,n],(o,i)=>o.some((a,c)=>{const l=i[c];return!bi(a,l,!0)}))}var Bc=["children"],Eo=p.createContext({});function Wc(e){var t=e.children,r=or(e,Bc);return p.createElement(Eo.Provider,{value:r},t)}var Vc=function(e){Mn(r,e);var t=Rn(r);function r(){return at(this,r),t.apply(this,arguments)}return ct(r,[{key:"render",value:function(){return this.props.children}}]),r}(p.Component),ke="none",bt="appear",yt="enter",St="leave",yn="none",fe="prepare",Be="start",We="active",Hr="end",Co="prepared";function Sn(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 Gc(e,t){var r={animationend:Sn("Animation","AnimationEnd"),transitionend:Sn("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var Uc=Gc(ge(),typeof window<"u"?window:{}),To={};if(ge()){var Xc=document.createElement("div");To=Xc.style}var xt={};function wo(e){if(xt[e])return xt[e];var t=Uc[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o<n;o+=1){var i=r[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in To)return xt[e]=t[i],xt[e]}return""}var Oo=wo("animationend"),Po=wo("transitionend"),ko=!!(Oo&&Po),xn=Oo||"animationend",En=Po||"transitionend";function Cn(e,t){if(!e)return null;if(V(e)==="object"){var r=t.replace(/-\w/g,function(n){return n[1].toUpperCase()});return e[r]}return"".concat(e,"-").concat(t)}const Yc=function(e){var t=D.useRef(),r=D.useRef(e);r.current=e;var n=p.useCallback(function(a){r.current(a)},[]);function o(a){a&&(a.removeEventListener(En,n),a.removeEventListener(xn,n))}function i(a){t.current&&t.current!==a&&o(t.current),a&&a!==t.current&&(a.addEventListener(En,n),a.addEventListener(xn,n),t.current=a)}return p.useEffect(function(){return function(){o(t.current)}},[]),[i,o]};var Ao=ge()?D.useLayoutEffect:D.useEffect;const qc=function(){var e=p.useRef(null);function t(){nr.cancel(e.current)}function r(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var i=nr(function(){o<=1?n({isCanceled:function(){return i!==e.current}}):r(n,o-1)});e.current=i}return p.useEffect(function(){return function(){t()}},[]),[r,t]};var Kc=[fe,Be,We,Hr],Qc=[fe,Co],Mo=!1,Jc=!0;function Ro(e){return e===We||e===Hr}const Zc=function(e,t,r){var n=Ot(yn),o=H(n,2),i=o[0],a=o[1],c=qc(),l=H(c,2),s=l[0],u=l[1];function d(){a(fe,!0)}var v=t?Qc:Kc;return Ao(function(){if(i!==yn&&i!==Hr){var g=v.indexOf(i),y=v[g+1],h=r(i);h===Mo?a(y,!0):y&&s(function(f){function x(){f.isCanceled()||a(y,!0)}h===!0?x():Promise.resolve(h).then(x)})}},[e,i]),p.useEffect(function(){return function(){u()}},[]),[d,i]};function es(e,t,r,n){var o=n.motionEnter,i=o===void 0?!0:o,a=n.motionAppear,c=a===void 0?!0:a,l=n.motionLeave,s=l===void 0?!0:l,u=n.motionDeadline,d=n.motionLeaveImmediately,v=n.onAppearPrepare,g=n.onEnterPrepare,y=n.onLeavePrepare,h=n.onAppearStart,f=n.onEnterStart,x=n.onLeaveStart,m=n.onAppearActive,O=n.onEnterActive,w=n.onLeaveActive,E=n.onAppearEnd,C=n.onEnterEnd,b=n.onLeaveEnd,P=n.onVisibleChanged,N=Ot(),T=H(N,2),I=T[0],A=T[1],k=Ot(ke),$=H(k,2),M=$[0],z=$[1],Z=Ot(null),G=H(Z,2),B=G[0],U=G[1],ee=D.useRef(!1),X=D.useRef(null);function ce(){return r()}var re=D.useRef(!1);function ve(){z(ke,!0),U(null,!0)}function $e(te){var Y=ce();if(!(te&&!te.deadline&&te.target!==Y)){var q=re.current,se;M===bt&&q?se=E==null?void 0:E(Y,te):M===yt&&q?se=C==null?void 0:C(Y,te):M===St&&q&&(se=b==null?void 0:b(Y,te)),M!==ke&&q&&se!==!1&&ve()}}var Ye=Yc($e),qe=H(Ye,1),Ke=qe[0],Le=function(Y){var q,se,Pe;switch(Y){case bt:return q={},L(q,fe,v),L(q,Be,h),L(q,We,m),q;case yt:return se={},L(se,fe,g),L(se,Be,f),L(se,We,O),se;case St:return Pe={},L(Pe,fe,y),L(Pe,Be,x),L(Pe,We,w),Pe;default:return{}}},me=p.useMemo(function(){return Le(M)},[M]),Qe=Zc(M,!e,function(te){if(te===fe){var Y=me[fe];return Y?Y(ce()):Mo}if(ne in me){var q;U(((q=me[ne])===null||q===void 0?void 0:q.call(me,ce(),null))||null)}return ne===We&&(Ke(ce()),u>0&&(clearTimeout(X.current),X.current=setTimeout(function(){$e({deadline:!0})},u))),ne===Co&&ve(),Jc}),Ne=H(Qe,2),S=Ne[0],ne=Ne[1],Ce=Ro(ne);re.current=Ce,Ao(function(){A(t);var te=ee.current;ee.current=!0;var Y;!te&&t&&c&&(Y=bt),te&&t&&i&&(Y=yt),(te&&!t&&s||!te&&d&&!t&&s)&&(Y=St);var q=Le(Y);Y&&(e||q[fe])?(z(Y),S()):z(ke)},[t]),D.useEffect(function(){(M===bt&&!c||M===yt&&!i||M===St&&!s)&&z(ke)},[c,i,s]),D.useEffect(function(){return function(){ee.current=!1,clearTimeout(X.current)}},[]);var Te=p.useRef(!1);D.useEffect(function(){I&&(Te.current=!0),I!==void 0&&M===ke&&((Te.current||I)&&(P==null||P(I)),Te.current=!0)},[I,M]);var Je=B;return me[fe]&&ne===Be&&(Je=R({transition:"none"},Je)),[M,ne,Je,I??t]}function ts(e){var t=e;V(e)==="object"&&(t=e.transitionSupport);function r(o,i){return!!(o.motionName&&t&&i!==!1)}var n=p.forwardRef(function(o,i){var a=o.visible,c=a===void 0?!0:a,l=o.removeOnLeave,s=l===void 0?!0:l,u=o.forceRender,d=o.children,v=o.motionName,g=o.leavedClassName,y=o.eventProps,h=p.useContext(Eo),f=h.motion,x=r(o,f),m=D.useRef(),O=D.useRef();function w(){try{return m.current instanceof HTMLElement?m.current:ui(O.current)}catch{return null}}var E=es(x,c,w,o),C=H(E,4),b=C[0],P=C[1],N=C[2],T=C[3],I=p.useRef(T);T&&(I.current=!0);var A=p.useCallback(function(U){m.current=U,fi(i,U)},[i]),k,$=R(R({},y),{},{visible:c});if(!d)k=null;else if(b===ke)T?k=d(R({},$),A):!s&&I.current&&g?k=d(R(R({},$),{},{className:g}),A):u||!s&&!g?k=d(R(R({},$),{},{style:{display:"none"}}),A):k=null;else{var M,z;P===fe?z="prepare":Ro(P)?z="active":P===Be&&(z="start");var Z=Cn(v,"".concat(b,"-").concat(z));k=d(R(R({},$),{},{className:wn(Cn(v,b),(M={},L(M,Z,Z&&z),L(M,v,typeof v=="string"),M)),style:N}),A)}if(p.isValidElement(k)&&di(k)){var G=k,B=G.ref;B||(k=p.cloneElement(k,{ref:A}))}return p.createElement(Vc,{ref:O},k)});return n.displayName="CSSMotion",n}const rs=ts(ko);var xr="add",Er="keep",Cr="remove",Qt="removed";function ns(e){var t;return e&&V(e)==="object"&&"key"in e?t=e:t={key:e},R(R({},t),{},{key:String(t.key)})}function Tr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(ns)}function os(){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,i=Tr(e),a=Tr(t);i.forEach(function(s){for(var u=!1,d=n;d<o;d+=1){var v=a[d];if(v.key===s.key){n<d&&(r=r.concat(a.slice(n,d).map(function(g){return R(R({},g),{},{status:xr})})),n=d),r.push(R(R({},v),{},{status:Er})),n+=1,u=!0;break}}u||r.push(R(R({},s),{},{status:Cr}))}),n<o&&(r=r.concat(a.slice(n).map(function(s){return R(R({},s),{},{status:xr})})));var c={};r.forEach(function(s){var u=s.key;c[u]=(c[u]||0)+1});var l=Object.keys(c).filter(function(s){return c[s]>1});return l.forEach(function(s){r=r.filter(function(u){var d=u.key,v=u.status;return d!==s||v!==Cr}),r.forEach(function(u){u.key===s&&(u.status=Er)})}),r}var is=["component","children","onVisibleChanged","onAllRemoved"],as=["status"],cs=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ss(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rs,r=function(n){Mn(i,n);var o=Rn(i);function i(){var a;at(this,i);for(var c=arguments.length,l=new Array(c),s=0;s<c;s++)l[s]=arguments[s];return a=o.call.apply(o,[this].concat(l)),L(tr(a),"state",{keyEntities:[]}),L(tr(a),"removeKey",function(u){var d=a.state.keyEntities,v=d.map(function(g){return g.key!==u?g:R(R({},g),{},{status:Qt})});return a.setState({keyEntities:v}),v.filter(function(g){var y=g.status;return y!==Qt}).length}),a}return ct(i,[{key:"render",value:function(){var c=this,l=this.state.keyEntities,s=this.props,u=s.component,d=s.children,v=s.onVisibleChanged,g=s.onAllRemoved,y=or(s,is),h=u||p.Fragment,f={};return cs.forEach(function(x){f[x]=y[x],delete y[x]}),delete y.keys,p.createElement(h,y,l.map(function(x,m){var O=x.status,w=or(x,as),E=O===xr||O===Er;return p.createElement(t,Pt({},f,{key:w.key,visible:E,eventProps:w,onVisibleChanged:function(b){if(v==null||v(b,{key:w.key}),!b){var P=c.removeKey(w.key);P===0&&g&&g()}}}),function(C,b){return d(R(R({},C),{},{index:m}),b)})}))}}],[{key:"getDerivedStateFromProps",value:function(c,l){var s=c.keys,u=l.keyEntities,d=Tr(s),v=os(u,d);return{keyEntities:v.filter(function(g){var y=u.find(function(h){var f=h.key;return g.key===f});return!(y&&y.status===Qt&&g.status===Cr)})}}}]),i}(p.Component);return L(r,"defaultProps",{component:"div"}),r}ss(ko);function ls(e){const{children:t}=e,[,r]=Dr(),{motion:n}=r,o=p.useRef(!1);return o.current=o.current||n===!1,o.current?p.createElement(Wc,{motion:n},t):t}const _o=p.memo(e=>{let{dropdownMatchSelectWidth:t}=e;return Lr("ConfigProvider").deprecated(t===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});process.env.NODE_ENV!=="production"&&(_o.displayName="PropWarning");const us=process.env.NODE_ENV!=="production"?_o:()=>null;var fs=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 wr=!1;process.env.NODE_ENV;const ds=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],vs="ant";let jo;function hs(){return jo||vs}function ps(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const gs=e=>{let{prefixCls:t,iconPrefixCls:r,theme:n}=e;t!==void 0&&(jo=t),n&&ps(n)&&(process.env.NODE_ENV!=="production"&&It(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Oc(hs(),n))},ms=e=>{const{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:i,form:a,locale:c,componentSize:l,direction:s,space:u,virtual:d,dropdownMatchSelectWidth:v,popupMatchSelectWidth:g,popupOverflow:y,legacyLocale:h,parentContext:f,iconPrefixCls:x,theme:m,componentDisabled:O,segmented:w,statistic:E,spin:C,calendar:b,carousel:P,cascader:N,collapse:T,typography:I,checkbox:A,descriptions:k,divider:$,drawer:M,skeleton:z,steps:Z,image:G,layout:B,list:U,mentions:ee,modal:X,progress:ce,result:re,slider:ve,breadcrumb:$e,menu:Ye,pagination:qe,input:Ke,empty:Le,badge:me,radio:Qe,rate:Ne,switch:S,transfer:ne,avatar:Ce,message:Te,tag:Je,table:te,card:Y,tabs:q,timeline:se,timePicker:Pe,upload:$o,notification:Lo,tree:No,colorPicker:Do,datePicker:Ho,rangePicker:zo,flex:Fo,wave:Bo,dropdown:Wo,warning:Vo}=e,Go=p.useCallback((W,Q)=>{const{prefixCls:he}=e;if(Q)return Q;const pe=he||f.getPrefixCls("");return W?`${pe}-${W}`:pe},[f.getPrefixCls,e.prefixCls]),Ze=x||f.iconPrefixCls||mo,et=r||f.csp;xo(Ze,et);const lt=Fc(m,f.theme);process.env.NODE_ENV!=="production"&&(wr=wr||!!lt);const Lt={csp:et,autoInsertSpaceInButton:n,alert:o,anchor:i,locale:c||h,direction:s,space:u,virtual:d,popupMatchSelectWidth:g??v,popupOverflow:y,getPrefixCls:Go,iconPrefixCls:Ze,theme:lt,segmented:w,statistic:E,spin:C,calendar:b,carousel:P,cascader:N,collapse:T,typography:I,checkbox:A,descriptions:k,divider:$,drawer:M,skeleton:z,steps:Z,image:G,input:Ke,layout:B,list:U,mentions:ee,modal:X,progress:ce,result:re,slider:ve,breadcrumb:$e,menu:Ye,pagination:qe,empty:Le,badge:me,radio:Qe,rate:Ne,switch:S,transfer:ne,avatar:Ce,message:Te,tag:Je,table:te,card:Y,tabs:q,timeline:se,timePicker:Pe,upload:$o,notification:Lo,tree:No,colorPicker:Do,datePicker:Ho,rangePicker:zo,flex:Fo,wave:Bo,dropdown:Wo,warning:Vo},ut=Object.assign({},f);Object.keys(Lt).forEach(W=>{Lt[W]!==void 0&&(ut[W]=Lt[W])}),ds.forEach(W=>{const Q=e[W];Q&&(ut[W]=Q)});const De=An(()=>ut,ut,(W,Q)=>{const he=Object.keys(W),pe=Object.keys(Q);return he.length!==pe.length||he.some(ft=>W[ft]!==Q[ft])}),Uo=p.useMemo(()=>({prefixCls:Ze,csp:et}),[Ze,et]);let K=p.createElement(p.Fragment,null,p.createElement(us,{dropdownMatchSelectWidth:v}),t);const zr=p.useMemo(()=>{var W,Q,he,pe;return La(((W=$t.Form)===null||W===void 0?void 0:W.defaultValidateMessages)||{},((he=(Q=De.locale)===null||Q===void 0?void 0:Q.Form)===null||he===void 0?void 0:he.defaultValidateMessages)||{},((pe=De.form)===null||pe===void 0?void 0:pe.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[De,a==null?void 0:a.validateMessages]);Object.keys(zr).length>0&&(K=p.createElement(Da.Provider,{value:zr},K)),c&&(K=p.createElement(Ua,{locale:c,_ANT_MARK__:co},K)),(Ze||et)&&(K=p.createElement(_a.Provider,{value:Uo},K)),l&&(K=p.createElement(Ac,{size:l},K)),K=p.createElement(ls,null,K);const Xo=p.useMemo(()=>{const W=lt||{},{algorithm:Q,token:he,components:pe}=W,ft=fs(W,["algorithm","token","components"]),Fr=Q&&(!Array.isArray(Q)||Q.length>0)?cr(Q):ho,Nt={};Object.entries(pe||{}).forEach(Yo=>{let[qo,Ko]=Yo;const be=Object.assign({},Ko);"algorithm"in be&&(be.algorithm===!0?be.theme=Fr:(Array.isArray(be.algorithm)||typeof be.algorithm=="function")&&(be.theme=cr(be.algorithm)),delete be.algorithm),Nt[qo]=be});const Br=Object.assign(Object.assign({},it),he);return Object.assign(Object.assign({},ft),{theme:Fr,token:Br,components:Nt,override:Object.assign({override:Br},Nt)})},[lt]);return m&&(K=p.createElement(go.Provider,{value:Xo},K)),De.warning&&(K=p.createElement(oo.Provider,{value:De.warning},K)),O!==void 0&&(K=p.createElement(Pc,{disabled:O},K)),p.createElement(st.Provider,{value:De},K)},Xe=e=>{const t=p.useContext(st),r=p.useContext(ao);return p.createElement(ms,Object.assign({parentContext:t,legacyLocale:r},e))};Xe.ConfigContext=st;Xe.SizeContext=Nr;Xe.config=gs;Xe.useConfig=Mc;Object.defineProperty(Xe,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&It(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Nr)});process.env.NODE_ENV!=="production"&&(Xe.displayName="ConfigProvider");const bs=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},jc(e)),{borderBlockStart:`${o}px solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`${a*100}%`},"&::after":{width:`${100-a*100}%`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`${100-a*100}%`},"&::after":{width:`${a*100}%`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}},ys=zc("Divider",e=>{const t=Sr(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[bs(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}));var Ss=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 Io=e=>{const{getPrefixCls:t,direction:r,divider:n}=p.useContext(st),{prefixCls:o,type:i="horizontal",orientation:a="center",orientationMargin:c,className:l,rootClassName:s,children:u,dashed:d,plain:v,style:g}=e,y=Ss(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),h=t("divider",o),[f,x]=ys(h),m=a.length>0?`-${a}`:a,O=!!u,w=a==="left"&&c!=null,E=a==="right"&&c!=null,C=wn(h,n==null?void 0:n.className,x,`${h}-${i}`,{[`${h}-with-text`]:O,[`${h}-with-text${m}`]:O,[`${h}-dashed`]:!!d,[`${h}-plain`]:!!v,[`${h}-rtl`]:r==="rtl",[`${h}-no-default-orientation-margin-left`]:w,[`${h}-no-default-orientation-margin-right`]:E},l,s),b=p.useMemo(()=>typeof c=="number"?c:/^\d+$/.test(c)?Number(c):c,[c]),P=Object.assign(Object.assign({},w&&{marginLeft:b}),E&&{marginRight:b});if(process.env.NODE_ENV!=="production"){const N=Lr("Divider");process.env.NODE_ENV!=="production"&&N(!u||i!=="vertical","usage","`children` not working in `vertical` mode.")}return f(p.createElement("div",Object.assign({className:C,style:Object.assign(Object.assign({},n==null?void 0:n.style),g)},y,{role:"separator"}),u&&i!=="vertical"&&p.createElement("span",{className:`${h}-inner-text`,style:P},u)))};process.env.NODE_ENV!=="production"&&(Io.displayName="Divider");const xs=Io,Es=({children:e,margin:t,type:r,...n})=>Qo.jsx(xs,{...n,type:r,className:`ant-divider-custom ${t===!1&&"no-margin"}`,children:e});exports.Divider=Es;
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,YAAY,GAAG,IAAI,CACtB,eAAe,EACb,WAAW,GACX,WAAW,GACX,YAAY,GACZ,eAAe,GACf,OAAO,GACP,QAAQ,CACX,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAGzB,eAAO,MAAM,OAAO,6CAKjB,YAAY,sBAUd,CAAC"}