@akinon/ui-carousel 0.0.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC;AAE7C,eAAO,MAAM,QAAQ,uCAAwC,aAAa,sBAMzE,CAAC"}
@@ -0,0 +1,21 @@
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.Carousel = void 0;
15
+ const antd_1 = require("antd");
16
+ const React = require("react");
17
+ const Carousel = (_a) => {
18
+ var { children } = _a, restCarouselProps = __rest(_a, ["children"]);
19
+ return (React.createElement(antd_1.Carousel, Object.assign({}, restCarouselProps), children));
20
+ };
21
+ exports.Carousel = Carousel;
@@ -0,0 +1,5 @@
1
+ import type { CarouselProps as AntCarouselProps } from 'antd';
2
+ import * as React from 'react';
3
+ export type CarouselProps = AntCarouselProps;
4
+ export declare const Carousel: ({ children, ...restCarouselProps }: CarouselProps) => React.JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC;AAE7C,eAAO,MAAM,QAAQ,uCAAwC,aAAa,sBAMzE,CAAC"}
@@ -0,0 +1,17 @@
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 { Carousel as AntCarousel } from 'antd';
13
+ import * as React from 'react';
14
+ export const Carousel = (_a) => {
15
+ var { children } = _a, restCarouselProps = __rest(_a, ["children"]);
16
+ return (React.createElement(AntCarousel, Object.assign({}, restCarouselProps), children));
17
+ };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@akinon/ui-carousel",
3
- "version": "0.0.2",
3
+ "version": "0.1.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/typescript-config": "0.0.0",
20
+ "@akinon/vite-config": "0.2.0",
21
+ "@akinon/eslint-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,63 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _i=require("react/jsx-runtime"),O=require("react"),Ii=require("react-dom");function Hi(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const w=Hi(O);function Zn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jn={exports:{}};/*!
2
- Copyright (c) 2018 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */(function(t){(function(){var e={}.hasOwnProperty;function r(){for(var o=[],n=0;n<arguments.length;n++){var i=arguments[n];if(i){var a=typeof i;if(a==="string"||a==="number")o.push(i);else if(Array.isArray(i)){if(i.length){var s=r.apply(null,i);s&&o.push(s)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){o.push(i.toString());continue}for(var l in i)e.call(i,l)&&i[l]&&o.push(l)}}}return o.join(" ")}t.exports?(r.default=r,t.exports=r):window.classNames=r})()})(Jn);var Di=Jn.exports;const ve=Zn(Di);function Se(){return Se=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Se.apply(this,arguments)}var br={exports:{}},D={};/**
6
- * @license React
7
- * react-is.production.min.js
8
- *
9
- * Copyright (c) Facebook, Inc. and its affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */var dn;function Ni(){if(dn)return D;dn=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function h(d){if(typeof d=="object"&&d!==null){var y=d.$$typeof;switch(y){case t:switch(d=d.type,d){case r:case n:case o:case c:case u:return d;default:switch(d=d&&d.$$typeof,d){case s:case a:case l:case v:case f:case i:return d;default:return y}}case e:return y}}}return D.ContextConsumer=a,D.ContextProvider=i,D.Element=t,D.ForwardRef=l,D.Fragment=r,D.Lazy=v,D.Memo=f,D.Portal=e,D.Profiler=n,D.StrictMode=o,D.Suspense=c,D.SuspenseList=u,D.isAsyncMode=function(){return!1},D.isConcurrentMode=function(){return!1},D.isContextConsumer=function(d){return h(d)===a},D.isContextProvider=function(d){return h(d)===i},D.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},D.isForwardRef=function(d){return h(d)===l},D.isFragment=function(d){return h(d)===r},D.isLazy=function(d){return h(d)===v},D.isMemo=function(d){return h(d)===f},D.isPortal=function(d){return h(d)===e},D.isProfiler=function(d){return h(d)===n},D.isStrictMode=function(d){return h(d)===o},D.isSuspense=function(d){return h(d)===c},D.isSuspenseList=function(d){return h(d)===u},D.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===n||d===o||d===c||d===u||d===m||typeof d=="object"&&d!==null&&(d.$$typeof===v||d.$$typeof===f||d.$$typeof===i||d.$$typeof===a||d.$$typeof===l||d.$$typeof===b||d.getModuleId!==void 0)},D.typeOf=h,D}var N={};/**
14
- * @license React
15
- * react-is.development.js
16
- *
17
- * Copyright (c) Facebook, Inc. and its affiliates.
18
- *
19
- * This source code is licensed under the MIT license found in the
20
- * LICENSE file in the root directory of this source tree.
21
- */var vn;function zi(){return vn||(vn=1,process.env.NODE_ENV!=="production"&&function(){var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=!1,h=!1,d=!1,y=!1,p=!1,S;S=Symbol.for("react.module.reference");function x(M){return!!(typeof M=="string"||typeof M=="function"||M===r||M===n||p||M===o||M===c||M===u||y||M===m||b||h||d||typeof M=="object"&&M!==null&&(M.$$typeof===v||M.$$typeof===f||M.$$typeof===i||M.$$typeof===a||M.$$typeof===l||M.$$typeof===S||M.getModuleId!==void 0))}function E(M){if(typeof M=="object"&&M!==null){var oe=M.$$typeof;switch(oe){case t:var Ae=M.type;switch(Ae){case r:case n:case o:case c:case u:return Ae;default:var Pe=Ae&&Ae.$$typeof;switch(Pe){case s:case a:case l:case v:case f:case i:return Pe;default:return oe}}case e:return oe}}}var T=a,C=i,_=t,z=l,A=r,I=v,R=f,L=e,j=n,H=o,W=c,ee=u,G=!1,V=!1;function Y(M){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function te(M){return V||(V=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function U(M){return E(M)===a}function le(M){return E(M)===i}function ne(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function me(M){return E(M)===l}function Be(M){return E(M)===r}function ot(M){return E(M)===v}function it(M){return E(M)===f}function at(M){return E(M)===e}function Ve(M){return E(M)===n}function Ee(M){return E(M)===o}function st(M){return E(M)===c}function Xe(M){return E(M)===u}N.ContextConsumer=T,N.ContextProvider=C,N.Element=_,N.ForwardRef=z,N.Fragment=A,N.Lazy=I,N.Memo=R,N.Portal=L,N.Profiler=j,N.StrictMode=H,N.Suspense=W,N.SuspenseList=ee,N.isAsyncMode=Y,N.isConcurrentMode=te,N.isContextConsumer=U,N.isContextProvider=le,N.isElement=ne,N.isForwardRef=me,N.isFragment=Be,N.isLazy=ot,N.isMemo=it,N.isPortal=at,N.isProfiler=Ve,N.isStrictMode=Ee,N.isSuspense=st,N.isSuspenseList=Xe,N.isValidElementType=x,N.typeOf=E}()),N}process.env.NODE_ENV==="production"?br.exports=Ni():br.exports=zi();var ji=br.exports,yr={},Yr=[],$i=function(e){Yr.push(e)};function Ur(t,e){if(process.env.NODE_ENV!=="production"&&!t&&console!==void 0){var r=Yr.reduce(function(o,n){return n(o??"","warning")},e);r&&console.error("Warning: ".concat(r))}}function Wi(t,e){if(process.env.NODE_ENV!=="production"&&!t&&console!==void 0){var r=Yr.reduce(function(o,n){return n(o??"","note")},e);r&&console.warn("Note: ".concat(r))}}function eo(){yr={}}function to(t,e,r){!e&&!yr[r]&&(t(!1,r),yr[r]=!0)}function Fe(t,e){to(Ur,t,e)}function Fi(t,e){to(Wi,t,e)}Fe.preMessage=$i;Fe.resetWarned=eo;Fe.noteOnce=Fi;function B(t){"@babel/helpers - typeof";return B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(t)}function Bi(t,e){if(B(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(B(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ro(t){var e=Bi(t,"string");return B(e)==="symbol"?e:String(e)}function k(t,e,r){return e=ro(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function g(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hn(Object(r),!0).forEach(function(o){k(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hn(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Vi(t){return t instanceof HTMLElement||t instanceof SVGElement}function Xi(t){return Vi(t)?t:t instanceof O.Component?Ii.findDOMNode(t):null}function no(t,e,r){var o=w.useRef({});return(!("value"in o.current)||r(o.current.condition,e))&&(o.current.value=t(),o.current.condition=e),o.current.value}function Gi(t,e){typeof t=="function"?t(e):B(t)==="object"&&t&&"current"in t&&(t.current=e)}function Yi(t){var e,r,o=ji.isMemo(t)?t.type.type:t.type;return!(typeof o=="function"&&!((e=o.prototype)!==null&&e!==void 0&&e.render)||typeof t=="function"&&!((r=t.prototype)!==null&&r!==void 0&&r.render))}var oo=function(){if(typeof Map<"u")return Map;function t(e,r){var o=-1;return e.some(function(n,i){return n[0]===r?(o=i,!0):!1}),o}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(r){var o=t(this.__entries__,r),n=this.__entries__[o];return n&&n[1]},e.prototype.set=function(r,o){var n=t(this.__entries__,r);~n?this.__entries__[n][1]=o:this.__entries__.push([r,o])},e.prototype.delete=function(r){var o=this.__entries__,n=t(o,r);~n&&o.splice(n,1)},e.prototype.has=function(r){return!!~t(this.__entries__,r)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(r,o){o===void 0&&(o=null);for(var n=0,i=this.__entries__;n<i.length;n++){var a=i[n];r.call(o,a[1],a[0])}},e}()}(),Sr=typeof window<"u"&&typeof document<"u"&&window.document===document,zt=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Ui=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(zt):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),qi=2;function Ki(t,e){var r=!1,o=!1,n=0;function i(){r&&(r=!1,t()),o&&s()}function a(){Ui(i)}function s(){var l=Date.now();if(r){if(l-n<qi)return;o=!0}else r=!0,o=!1,setTimeout(a,e);n=l}return s}var Qi=20,Zi=["top","right","bottom","left","width","height","size","weight"],Ji=typeof MutationObserver<"u",ea=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Ki(this.refresh.bind(this),Qi)}return t.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},t.prototype.removeObserver=function(e){var r=this.observers_,o=r.indexOf(e);~o&&r.splice(o,1),!r.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},t.prototype.updateObservers_=function(){var e=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return e.forEach(function(r){return r.broadcastActive()}),e.length>0},t.prototype.connect_=function(){!Sr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ji?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!Sr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var r=e.propertyName,o=r===void 0?"":r,n=Zi.some(function(i){return!!~o.indexOf(i)});n&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),io=function(t,e){for(var r=0,o=Object.keys(e);r<o.length;r++){var n=o[r];Object.defineProperty(t,n,{value:e[n],enumerable:!1,writable:!1,configurable:!0})}return t},Je=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||zt},ao=Xt(0,0,0,0);function jt(t){return parseFloat(t)||0}function pn(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce(function(o,n){var i=t["border-"+n+"-width"];return o+jt(i)},0)}function ta(t){for(var e=["top","right","bottom","left"],r={},o=0,n=e;o<n.length;o++){var i=n[o],a=t["padding-"+i];r[i]=jt(a)}return r}function ra(t){var e=t.getBBox();return Xt(0,0,e.width,e.height)}function na(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return ao;var o=Je(t).getComputedStyle(t),n=ta(o),i=n.left+n.right,a=n.top+n.bottom,s=jt(o.width),l=jt(o.height);if(o.boxSizing==="border-box"&&(Math.round(s+i)!==e&&(s-=pn(o,"left","right")+i),Math.round(l+a)!==r&&(l-=pn(o,"top","bottom")+a)),!ia(t)){var c=Math.round(s+i)-e,u=Math.round(l+a)-r;Math.abs(c)!==1&&(s-=c),Math.abs(u)!==1&&(l-=u)}return Xt(n.left,n.top,s,l)}var oa=function(){return typeof SVGGraphicsElement<"u"?function(t){return t instanceof Je(t).SVGGraphicsElement}:function(t){return t instanceof Je(t).SVGElement&&typeof t.getBBox=="function"}}();function ia(t){return t===Je(t).document.documentElement}function aa(t){return Sr?oa(t)?ra(t):na(t):ao}function sa(t){var e=t.x,r=t.y,o=t.width,n=t.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(i.prototype);return io(a,{x:e,y:r,width:o,height:n,top:r,right:e+o,bottom:n+r,left:e}),a}function Xt(t,e,r,o){return{x:t,y:e,width:r,height:o}}var la=function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Xt(0,0,0,0),this.target=e}return t.prototype.isActive=function(){var e=aa(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t}(),ca=function(){function t(e,r){var o=sa(r);io(this,{target:e,contentRect:o})}return t}(),ua=function(){function t(e,r,o){if(this.activeObservations_=[],this.observations_=new oo,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=r,this.callbackCtx_=o}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof Je(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(e)||(r.set(e,new la(e)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof Je(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(e)&&(r.delete(e),r.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&e.activeObservations_.push(r)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,r=this.activeObservations_.map(function(o){return new ca(o.target,o.broadcastRect())});this.callback_.call(e,r,e),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),so=typeof WeakMap<"u"?new WeakMap:new oo,lo=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=ea.getInstance(),o=new ua(e,r,this);so.set(this,o)}return t}();["observe","unobserve","disconnect"].forEach(function(t){lo.prototype[t]=function(){var e;return(e=so.get(this))[t].apply(e,arguments)}});var fa=function(){return typeof zt.ResizeObserver<"u"?zt.ResizeObserver:lo}();function pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,ro(o.key),o)}}function ge(t,e,r){return e&&gn(t.prototype,e),r&&gn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function wr(t,e){return wr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,n){return o.__proto__=n,o},wr(t,e)}function _e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&wr(t,e)}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$t(t)}function da(){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 P(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function va(t,e){if(e&&(B(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return P(t)}function Ie(t){var e=da();return function(){var o=$t(t),n;if(e){var i=$t(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return va(this,n)}}function Er(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function ha(t){if(Array.isArray(t))return Er(t)}function co(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qr(t,e){if(t){if(typeof t=="string")return Er(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Er(t,e)}}function pa(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
22
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Le(t){return ha(t)||co(t)||qr(t)||pa()}var uo=function(e){return+setTimeout(e,16)},fo=function(e){return clearTimeout(e)};typeof window<"u"&&"requestAnimationFrame"in window&&(uo=function(e){return window.requestAnimationFrame(e)},fo=function(e){return window.cancelAnimationFrame(e)});var mn=0,Kr=new Map;function vo(t){Kr.delete(t)}var xr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;mn+=1;var o=mn;function n(i){if(i===0)vo(o),e();else{var a=uo(function(){n(i-1)});Kr.set(o,a)}}return n(r),o};xr.cancel=function(t){var e=Kr.get(t);return vo(e),fo(e)};function Qr(t){for(var e=0,r,o=0,n=t.length;n>=4;++o,n-=4)r=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(n){case 3:e^=(t.charCodeAt(o+2)&255)<<16;case 2:e^=(t.charCodeAt(o+1)&255)<<8;case 1:e^=t.charCodeAt(o)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}function ga(t,e){if(t==null)return{};var r={},o=Object.keys(t),n,i;for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&(r[n]=t[n]);return r}function Wt(t,e){if(t==null)return{};var r=ga(t,e),o,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)o=i[n],!(e.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(r[o]=t[o])}return r}function ma(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=new Set;function n(i,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=o.has(i);if(Fe(!l,"Warning: There may be circular references"),l)return!1;if(i===a)return!0;if(r&&s>1)return!1;o.add(i);var c=s+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var u=0;u<i.length;u++)if(!n(i[u],a[u],c))return!1;return!0}if(i&&a&&B(i)==="object"&&B(a)==="object"){var f=Object.keys(i);return f.length!==Object.keys(a).length?!1:f.every(function(v){return n(i[v],a[v],c)})}return!1}return n(t,e)}var bn="%",ba=function(){function t(e){pe(this,t),k(this,"instanceId",void 0),k(this,"cache",new Map),this.instanceId=e}return ge(t,[{key:"get",value:function(r){return this.cache.get(r.join(bn))||null}},{key:"update",value:function(r,o){var n=r.join(bn),i=this.cache.get(n),a=o(i);a===null?this.cache.delete(n):this.cache.set(n,a)}}]),t}(),Cr="data-token-hash",je="data-css-hash",ya="data-cache-path",qe="__cssinjs_instance__";function Sa(){var t=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var e=document.body.querySelectorAll("style[".concat(je,"]"))||[],r=document.head.firstChild;Array.from(e).forEach(function(n){n[qe]=n[qe]||t,n[qe]===t&&document.head.insertBefore(n,r)});var o={};Array.from(document.querySelectorAll("style[".concat(je,"]"))).forEach(function(n){var i=n.getAttribute(je);if(o[i]){if(n[qe]===t){var a;(a=n.parentNode)===null||a===void 0||a.removeChild(n)}}else o[i]=!0})}return new ba(t)}var wa=w.createContext({hashPriority:"low",cache:Sa(),defaultCache:!0});const Zr=wa;function we(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ea(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var r=e;r;){if(r===t)return!0;r=r.parentNode}return!1}var yn="data-rc-order",Sn="data-rc-priority",xa="rc-util-key",kr=new Map;function ho(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.mark;return e?e.startsWith("data-")?e:"data-".concat(e):xa}function Gt(t){if(t.attachTo)return t.attachTo;var e=document.querySelector("head");return e||document.body}function Ca(t){return t==="queue"?"prependQueue":t?"prepend":"append"}function po(t){return Array.from((kr.get(t)||t).children).filter(function(e){return e.tagName==="STYLE"})}function go(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!we())return null;var r=e.csp,o=e.prepend,n=e.priority,i=n===void 0?0:n,a=Ca(o),s=a==="prependQueue",l=document.createElement("style");l.setAttribute(yn,a),s&&i&&l.setAttribute(Sn,"".concat(i)),r!=null&&r.nonce&&(l.nonce=r==null?void 0:r.nonce),l.innerHTML=t;var c=Gt(e),u=c.firstChild;if(o){if(s){var f=po(c).filter(function(v){if(!["prepend","prependQueue"].includes(v.getAttribute(yn)))return!1;var m=Number(v.getAttribute(Sn)||0);return i>=m});if(f.length)return c.insertBefore(l,f[f.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function mo(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Gt(e);return po(r).find(function(o){return o.getAttribute(ho(e))===t})}function bo(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=mo(t,e);if(r){var o=Gt(e);o.removeChild(r)}}function ka(t,e){var r=kr.get(t);if(!r||!Ea(document,r)){var o=go("",e),n=o.parentNode;kr.set(t,n),t.removeChild(o)}}function Ft(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Gt(r);ka(o,r);var n=mo(e,r);if(n){var i,a;if((i=r.csp)!==null&&i!==void 0&&i.nonce&&n.nonce!==((a=r.csp)===null||a===void 0?void 0:a.nonce)){var s;n.nonce=(s=r.csp)===null||s===void 0?void 0:s.nonce}return n.innerHTML!==t&&(n.innerHTML=t),n}var l=go(t,r);return l.setAttribute(ho(r),e),l}function yo(t){if(Array.isArray(t))return t}function Ta(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var o,n,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(o=i.call(r)).done)&&(s.push(o.value),s.length!==e);l=!0);}catch(u){c=!0,n=u}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return s}}function So(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $(t,e){return yo(t)||Ta(t,e)||qr(t,e)||So()}function Oa(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}var Jr=function(){function t(){pe(this,t),k(this,"cache",void 0),k(this,"keys",void 0),k(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return ge(t,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var o,n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return r.forEach(function(s){if(!a)a=void 0;else{var l,c;a=(l=a)===null||l===void 0||(c=l.map)===null||c===void 0?void 0:c.get(s)}}),(o=a)!==null&&o!==void 0&&o.value&&i&&(a.value[1]=this.cacheCallTimes++),(n=a)===null||n===void 0?void 0:n.value}},{key:"get",value:function(r){var o;return(o=this.internalGet(r,!0))===null||o===void 0?void 0:o[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,o){var n=this;if(!this.has(r)){if(this.size()+1>t.MAX_CACHE_SIZE+t.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(c,u){var f=$(c,2),v=f[1];return n.internalGet(u)[1]<v?[u,n.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),a=$(i,1),s=a[0];this.delete(s)}this.keys.push(r)}var l=this.cache;r.forEach(function(c,u){if(u===r.length-1)l.set(c,{value:[o,n.cacheCallTimes++]});else{var f=l.get(c);f?f.map||(f.map=new Map):l.set(c,{map:new Map}),l=l.get(c).map}})}},{key:"deleteByPath",value:function(r,o){var n=r.get(o[0]);if(o.length===1){var i;return n.map?r.set(o[0],{map:n.map}):r.delete(o[0]),(i=n.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(n.map,o.slice(1));return(!n.map||n.map.size===0)&&!n.value&&r.delete(o[0]),a}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(o){return!Oa(o,r)}),this.deleteByPath(this.cache,r)}}]),t}();k(Jr,"MAX_CACHE_SIZE",20);k(Jr,"MAX_CACHE_OFFSET",5);var wn=0,wo=function(){function t(e){pe(this,t),k(this,"derivatives",void 0),k(this,"id",void 0),this.derivatives=Array.isArray(e)?e:[e],this.id=wn,e.length===0&&Ur(e.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),wn+=1}return ge(t,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(o,n){return n(r,o)},void 0)}}]),t}(),er=new Jr;function Tr(t){var e=Array.isArray(t)?t:[t];return er.has(e)||er.set(e,new wo(e)),er.get(e)}var Ma=new WeakMap,tr={};function Aa(t,e){for(var r=Ma,o=0;o<e.length;o+=1){var n=e[o];r.has(n)||r.set(n,new WeakMap),r=r.get(n)}return r.has(tr)||r.set(tr,t()),r.get(tr)}var En=new WeakMap;function Bt(t){var e=En.get(t)||"";return e||(Object.keys(t).forEach(function(r){var o=t[r];e+=r,o instanceof wo?e+=o.id:o&&B(o)==="object"?e+=Bt(o):e+=o}),En.set(t,e)),e}function Pa(t,e){return Qr("".concat(e,"_").concat(Bt(t)))}var dt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Eo="_bAmBoO_";function Ra(t,e,r){if(we()){var o,n;Ft(t,dt);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",e==null||e(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");var a=r?r(i):(o=getComputedStyle(i).content)===null||o===void 0?void 0:o.includes(Eo);return(n=i.parentNode)===null||n===void 0||n.removeChild(i),bo(dt),a}return!1}var rr=void 0;function La(){return rr===void 0&&(rr=Ra("@layer ".concat(dt," { .").concat(dt,' { content: "').concat(Eo,'"!important; } }'),function(t){t.className=dt})),rr}var xn=process.env.NODE_ENV!=="test"&&we()?w.useLayoutEffect:w.useEffect,_a=function(e,r){var o=w.useRef(!0);xn(function(){return e(o.current)},r),xn(function(){return o.current=!1,function(){o.current=!0}},[])},Ia=g({},w),Cn=Ia.useInsertionEffect,Ha=function(e,r,o){w.useMemo(e,o),_a(function(){return r(!0)},o)},Da=Cn?function(t,e,r){return Cn(function(){return t(),e()},r)}:Ha;const Na=Da;var za=g({},w),ja=za.useInsertionEffect,$a=function(e){var r=[],o=!1;function n(i){if(o){process.env.NODE_ENV!=="production"&&Ur(!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 w.useEffect(function(){return o=!1,function(){o=!0,r.length&&r.forEach(function(i){return i()})}},e),n},Wa=function(){return function(e){e()}},Fa=typeof ja<"u"?$a:Wa;const Ba=Fa;function Va(){return!1}var Or=!1;function Xa(){return Or}const Ga=process.env.NODE_ENV==="production"?Va:Xa;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var nr=window;if(typeof nr.webpackHotUpdate=="function"){var Ya=nr.webpackHotUpdate;nr.webpackHotUpdate=function(){return Or=!0,setTimeout(function(){Or=!1},0),Ya.apply(void 0,arguments)}}}function xo(t,e,r,o,n){var i=w.useContext(Zr),a=i.cache,s=[t].concat(Le(e)),l=s.join("_"),c=Ba([l]),u=Ga(),f=function(h){a.update(s,function(d){var y=d||[],p=$(y,2),S=p[0],x=S===void 0?0:S,E=p[1],T=E;process.env.NODE_ENV!=="production"&&E&&u&&(o==null||o(T,u),T=null);var C=T||r(),_=[x,C];return h?h(_):_})};w.useMemo(function(){f()},[l]);var v=a.get(s);process.env.NODE_ENV!=="production"&&!v&&(f(),v=a.get(s));var m=v[1];return Na(function(){n==null||n(m)},function(b){return f(function(h){var d=$(h,2),y=d[0],p=d[1];return b&&y===0&&(n==null||n(m)),[y+1,p]}),function(){a.update(s,function(h){var d=h||[],y=$(d,2),p=y[0],S=p===void 0?0:p,x=y[1],E=S-1;return E===0?(c(function(){return o==null?void 0:o(x,!1)}),null):[S-1,x]})}},[l]),m}var Ua={},qa=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",Ne=new Map;function Ka(t){Ne.set(t,(Ne.get(t)||0)+1)}function Qa(t,e){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(Cr,'="').concat(t,'"]'));r.forEach(function(o){if(o[qe]===e){var n;(n=o.parentNode)===null||n===void 0||n.removeChild(o)}})}}var Za=0;function Ja(t,e){Ne.set(t,(Ne.get(t)||0)-1);var r=Array.from(Ne.keys()),o=r.filter(function(n){var i=Ne.get(n)||0;return i<=0});r.length-o.length>Za&&o.forEach(function(n){Qa(n,e),Ne.delete(n)})}var es=function(e,r,o,n){var i=o.getDerivativeToken(e),a=g(g({},i),r);return n&&(a=n(a)),a};function ts(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=O.useContext(Zr),n=o.cache.instanceId,i=r.salt,a=i===void 0?"":i,s=r.override,l=s===void 0?Ua:s,c=r.formatToken,u=r.getComputedToken,f=Aa(function(){return Object.assign.apply(Object,[{}].concat(Le(e)))},e),v=Bt(f),m=Bt(l),b=xo("token",[a,t.id,v,m],function(){var h=u?u(f,l,t):es(f,l,t,c),d=Pa(h,a);h._tokenKey=d,Ka(d);var y="".concat(qa,"-").concat(Qr(d));return h._hashId=y,[h,y]},function(h){Ja(h[0]._tokenKey,n)});return b}var rs={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},Co="comm",ko="rule",To="decl",ns="@import",os="@keyframes",is="@layer",as=Math.abs,en=String.fromCharCode;function Oo(t){return t.trim()}function Lt(t,e,r){return t.replace(e,r)}function ss(t,e){return t.indexOf(e)}function vt(t,e){return t.charCodeAt(e)|0}function ht(t,e,r){return t.slice(e,r)}function Oe(t){return t.length}function ls(t){return t.length}function Et(t,e){return e.push(t),t}var Yt=1,et=1,Mo=0,ue=0,F=0,rt="";function tn(t,e,r,o,n,i,a,s){return{value:t,root:e,parent:r,type:o,props:n,children:i,line:Yt,column:et,length:a,return:"",siblings:s}}function cs(){return F}function us(){return F=ue>0?vt(rt,--ue):0,et--,F===10&&(et=1,Yt--),F}function he(){return F=ue<Mo?vt(rt,ue++):0,et++,F===10&&(et=1,Yt++),F}function $e(){return vt(rt,ue)}function _t(){return ue}function Ut(t,e){return ht(rt,t,e)}function Mr(t){switch(t){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 fs(t){return Yt=et=1,Mo=Oe(rt=t),ue=0,[]}function ds(t){return rt="",t}function or(t){return Oo(Ut(ue-1,Ar(t===91?t+2:t===40?t+1:t)))}function vs(t){for(;(F=$e())&&F<33;)he();return Mr(t)>2||Mr(F)>3?"":" "}function hs(t,e){for(;--e&&he()&&!(F<48||F>102||F>57&&F<65||F>70&&F<97););return Ut(t,_t()+(e<6&&$e()==32&&he()==32))}function Ar(t){for(;he();)switch(F){case t:return ue;case 34:case 39:t!==34&&t!==39&&Ar(F);break;case 40:t===41&&Ar(t);break;case 92:he();break}return ue}function ps(t,e){for(;he()&&t+F!==47+10;)if(t+F===42+42&&$e()===47)break;return"/*"+Ut(e,ue-1)+"*"+en(t===47?t:he())}function gs(t){for(;!Mr($e());)he();return Ut(t,ue)}function ms(t){return ds(It("",null,null,null,[""],t=fs(t),0,[0],t))}function It(t,e,r,o,n,i,a,s,l){for(var c=0,u=0,f=a,v=0,m=0,b=0,h=1,d=1,y=1,p=0,S="",x=n,E=i,T=o,C=S;d;)switch(b=p,p=he()){case 40:if(b!=108&&vt(C,f-1)==58){ss(C+=Lt(or(p),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:C+=or(p);break;case 9:case 10:case 13:case 32:C+=vs(b);break;case 92:C+=hs(_t()-1,7);continue;case 47:switch($e()){case 42:case 47:Et(bs(ps(he(),_t()),e,r,l),l);break;default:C+="/"}break;case 123*h:s[c++]=Oe(C)*y;case 125*h:case 59:case 0:switch(p){case 0:case 125:d=0;case 59+u:y==-1&&(C=Lt(C,/\f/g,"")),m>0&&Oe(C)-f&&Et(m>32?Tn(C+";",o,r,f-1,l):Tn(Lt(C," ","")+";",o,r,f-2,l),l);break;case 59:C+=";";default:if(Et(T=kn(C,e,r,c,u,n,s,S,x=[],E=[],f,i),i),p===123)if(u===0)It(C,e,T,T,x,i,f,s,E);else switch(v===99&&vt(C,3)===110?100:v){case 100:case 108:case 109:case 115:It(t,T,T,o&&Et(kn(t,T,T,0,0,n,s,S,n,x=[],f,E),E),n,E,f,s,o?x:E);break;default:It(C,T,T,T,[""],E,0,s,E)}}c=u=m=0,h=y=1,S=C="",f=a;break;case 58:f=1+Oe(C),m=b;default:if(h<1){if(p==123)--h;else if(p==125&&h++==0&&us()==125)continue}switch(C+=en(p),p*h){case 38:y=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Oe(C)-1)*y,y=1;break;case 64:$e()===45&&(C+=or(he())),v=$e(),u=f=Oe(S=C+=gs(_t())),p++;break;case 45:b===45&&Oe(C)==2&&(h=0)}}return i}function kn(t,e,r,o,n,i,a,s,l,c,u,f){for(var v=n-1,m=n===0?i:[""],b=ls(m),h=0,d=0,y=0;h<o;++h)for(var p=0,S=ht(t,v+1,v=as(d=a[h])),x=t;p<b;++p)(x=Oo(d>0?m[p]+" "+S:Lt(S,/&\f/g,m[p])))&&(l[y++]=x);return tn(t,e,r,n===0?ko:s,l,c,u,f)}function bs(t,e,r,o){return tn(t,e,r,Co,en(cs()),ht(t,2,-2),0,o)}function Tn(t,e,r,o,n){return tn(t,e,r,To,ht(t,0,o),ht(t,o+1,-1),o,n)}function Pr(t,e){for(var r="",o=0;o<t.length;o++)r+=e(t[o],o,t,e)||"";return r}function ys(t,e,r,o){switch(t.type){case is:if(t.children.length)break;case ns:case To:return t.return=t.return||t.value;case Co:return"";case os:return t.return=t.value+"{"+Pr(t.children,o)+"}";case ko:if(!Oe(t.value=t.props.join(",")))return""}return Oe(r=Pr(t.children,o))?t.return=t.value+"{"+r+"}":""}function Ao(t,e){var r=e.path,o=e.parentSelectors;Fe(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(t).concat(o.length?" Selector: ".concat(o.join(" | ")):""))}var Ss=function(e,r,o){if(e==="content"){var n=/(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&&!n.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'"))&&Ao("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(r,"\"'`."),o)}},ws=function(e,r,o){e==="animation"&&o.hashId&&r!=="none"&&Ao("You seem to be using hashed animation '".concat(r,"', in which case 'animationName' with Keyframe as value is recommended."),o)},On="data-ant-cssinjs-cache-path",Po="_FILE_STYLE__",We,Ro=!0;function Es(){if(!We&&(We={},we())){var t=document.createElement("div");t.className=On,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var e=getComputedStyle(t).content||"";e=e.replace(/^"/,"").replace(/"$/,""),e.split(";").forEach(function(n){var i=n.split(":"),a=$(i,2),s=a[0],l=a[1];We[s]=l});var r=document.querySelector("style[".concat(On,"]"));if(r){var o;Ro=!1,(o=r.parentNode)===null||o===void 0||o.removeChild(r)}document.body.removeChild(t)}}function xs(t){return Es(),!!We[t]}function Cs(t){var e=We[t],r=null;if(e&&we())if(Ro)r=Po;else{var o=document.querySelector("style[".concat(je,'="').concat(We[t],'"]'));o?r=o.innerHTML:delete We[t]}return[r,e]}var Mn=we(),Lo="_skip_check_",_o="_multi_value_";function An(t){var e=Pr(ms(t),ys);return e.replace(/\{%%%\:[^;];}/g,";")}function ks(t){return B(t)==="object"&&t&&(Lo in t||_o in t)}function Ts(t,e,r){if(!e)return t;var o=".".concat(e),n=r==="low"?":where(".concat(o,")"):o,i=t.split(",").map(function(a){var s,l=a.trim().split(/\s+/),c=l[0]||"",u=((s=c.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return c="".concat(u).concat(n).concat(c.slice(u.length)),[c].concat(Le(l.slice(1))).join(" ")});return i.join(",")}var Os=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},n=o.root,i=o.injectHash,a=o.parentSelectors,s=r.hashId,l=r.layer,c=r.path,u=r.hashPriority,f=r.transformers,v=f===void 0?[]:f,m=r.linters,b=m===void 0?[]:m,h="",d={};function y(T){var C=T.getName(s);if(!d[C]){var _=t(T.style,r,{root:!1,parentSelectors:a}),z=$(_,1),A=z[0];d[C]="@keyframes ".concat(T.getName(s)).concat(A)}}function p(T){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return T.forEach(function(_){Array.isArray(_)?p(_,C):_&&C.push(_)}),C}var S=p(Array.isArray(e)?e:[e]);if(S.forEach(function(T){var C=typeof T=="string"&&!n?{}:T;if(typeof C=="string")h+="".concat(C,`
24
- `);else if(C._keyframe)y(C);else{var _=v.reduce(function(z,A){var I;return(A==null||(I=A.visit)===null||I===void 0?void 0:I.call(A,z))||z},C);Object.keys(_).forEach(function(z){var A=_[z];if(B(A)==="object"&&A&&(z!=="animationName"||!A._keyframe)&&!ks(A)){var I=!1,R=z.trim(),L=!1;(n||i)&&s?R.startsWith("@")?I=!0:R=Ts(z,s,u):n&&!s&&(R==="&"||R==="")&&(R="",L=!0);var j=t(A,r,{root:L,injectHash:I,parentSelectors:[].concat(Le(a),[R])}),H=$(j,2),W=H[0],ee=H[1];d=g(g({},d),ee),h+="".concat(R).concat(W)}else{let Y=function(te,U){process.env.NODE_ENV!=="production"&&(B(A)!=="object"||!(A!=null&&A[Lo]))&&[Ss,ws].concat(Le(b)).forEach(function(me){return me(te,U,{path:c,hashId:s,parentSelectors:a})});var le=te.replace(/[A-Z]/g,function(me){return"-".concat(me.toLowerCase())}),ne=U;!rs[te]&&typeof ne=="number"&&ne!==0&&(ne="".concat(ne,"px")),te==="animationName"&&U!==null&&U!==void 0&&U._keyframe&&(y(U),ne=U.getName(s)),h+="".concat(le,":").concat(ne,";")};var G,V=(G=A==null?void 0:A.value)!==null&&G!==void 0?G:A;B(A)==="object"&&A!==null&&A!==void 0&&A[_o]&&Array.isArray(V)?V.forEach(function(te){Y(z,te)}):Y(z,V)}})}}),!n)h="{".concat(h,"}");else if(l&&La()){var x=l.split(","),E=x[x.length-1].trim();h="@layer ".concat(E," {").concat(h,"}"),x.length>1&&(h="@layer ".concat(l,"{%%%:%}").concat(h))}return[h,d]};function Ms(t,e){return Qr("".concat(t.join("%")).concat(e))}function As(){return null}function Rr(t,e){var r=t.token,o=t.path,n=t.hashId,i=t.layer,a=t.nonce,s=t.clientOnly,l=t.order,c=l===void 0?0:l,u=w.useContext(Zr),f=u.autoClear,v=u.mock,m=u.defaultCache,b=u.hashPriority,h=u.container,d=u.ssrInline,y=u.transformers,p=u.linters,S=u.cache,x=r._tokenKey,E=[x].concat(Le(o)),T=Mn;process.env.NODE_ENV!=="production"&&v!==void 0&&(T=v==="client");var C=xo("style",E,function(){var R=E.join("|");if(xs(R)){var L=Cs(R),j=$(L,2),H=j[0],W=j[1];if(H)return[H,x,W,{},s,c]}var ee=e(),G=Os(ee,{hashId:n,hashPriority:b,layer:i,path:o.join("-"),transformers:y,linters:p}),V=$(G,2),Y=V[0],te=V[1],U=An(Y),le=Ms(E,U);return[U,x,le,te,s,c]},function(R,L){var j=$(R,3),H=j[2];(L||f)&&Mn&&bo(H,{mark:je})},function(R){var L=$(R,4),j=L[0];L[1];var H=L[2],W=L[3];if(T&&j!==Po){var ee={mark:je,prepend:"queue",attachTo:h,priority:c},G=typeof a=="function"?a():a;G&&(ee.csp={nonce:G});var V=Ft(j,H,ee);V[qe]=S.instanceId,V.setAttribute(Cr,x),process.env.NODE_ENV!=="production"&&V.setAttribute(ya,E.join("|")),Object.keys(W).forEach(function(Y){Ft(An(W[Y]),"_effect-".concat(Y),ee)})}}),_=$(C,3),z=_[0],A=_[1],I=_[2];return function(R){var L;if(!d||T||!m)L=w.createElement(As,null);else{var j;L=w.createElement("style",Se({},(j={},k(j,Cr,A),k(j,je,I),j),{dangerouslySetInnerHTML:{__html:z}}))}return w.createElement(w.Fragment,null,L,R)}}function Ye(t){return t.notSplit=!0,t}Ye(["borderTop","borderBottom"]),Ye(["borderTop"]),Ye(["borderBottom"]),Ye(["borderLeft","borderRight"]),Ye(["borderLeft"]),Ye(["borderRight"]);var Ps=O.createContext({});const Rs=Ps;function Ls(t){return yo(t)||co(t)||qr(t)||So()}function Lr(t,e){for(var r=t,o=0;o<e.length;o+=1){if(r==null)return;r=r[e[o]]}return r}function Io(t,e,r,o){if(!e.length)return r;var n=Ls(e),i=n[0],a=n.slice(1),s;return!t&&typeof i=="number"?s=[]:Array.isArray(t)?s=Le(t):s=g({},t),o&&r===void 0&&a.length===1?delete s[i][a[0]]:s[i]=Io(s[i],a,r,o),s}function ir(t,e,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return e.length&&o&&r===void 0&&!Lr(t,e.slice(0,-1))?t:Io(t,e,r,o)}function _s(t){return B(t)==="object"&&t!==null&&Object.getPrototypeOf(t)===Object.prototype}function Pn(t){return Array.isArray(t)?[]:{}}var Is=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Hs(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var o=Pn(e[0]);return e.forEach(function(n){function i(a,s){var l=new Set(s),c=Lr(n,a),u=Array.isArray(c);if(u||_s(c)){if(!l.has(c)){l.add(c);var f=Lr(o,a);u?o=ir(o,a,[]):(!f||B(f)!=="object")&&(o=ir(o,a,Pn(c))),Is(c).forEach(function(v){i([].concat(Le(a),[v]),l)})}}else o=ir(o,a,c)}i([])}),o}function Ho(){}let Te=null;function Ds(){Te=null,eo()}let rn=Ho;process.env.NODE_ENV!=="production"&&(rn=(t,e,r)=>{Fe(t,`[antd: ${e}] ${r}`),process.env.NODE_ENV==="test"&&Ds()});const Do=w.createContext({}),No=process.env.NODE_ENV!=="production"?t=>{const{strict:e}=w.useContext(Do),r=(o,n,i)=>{if(!o)if(e===!1&&n==="deprecated"){const a=Te;Te||(Te={}),Te[t]=Te[t]||[],Te[t].includes(i||"")||Te[t].push(i||""),a||console.warn("[antd] There exists deprecated usage in your code:",Te)}else process.env.NODE_ENV!=="production"&&rn(o,t,i)};return r.deprecated=(o,n,i,a)=>{r(o,"deprecated",`\`${n}\` is deprecated. Please use \`${i}\` instead.${a?` ${a}`:""}`)},r}:()=>{const t=()=>{};return t.deprecated=Ho,t},qt=rn,Ns=O.createContext(void 0),zs={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 js={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 $s={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},zo=$s,Ws={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"]},js),timePickerLocale:Object.assign({},zo)},Rn=Ws,ie="${label} is not a valid ${type}",Fs={locale:"en",Pagination:zs,DatePicker:Rn,TimePicker:zo,Calendar:Rn,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:ie,method:ie,array:ie,object:ie,number:ie,date:ie,boolean:ie,integer:ie,float:ie,regexp:ie,email:ie,url:ie,hex:ie},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"}},Kt=Fs;Object.assign({},Kt.Modal);let Ht=[];const Ln=()=>Ht.reduce((t,e)=>Object.assign(Object.assign({},t),e),Kt.Modal);function Bs(t){if(t){const e=Object.assign({},t);return Ht.push(e),Ln(),()=>{Ht=Ht.filter(r=>r!==e),Ln()}}Object.assign({},Kt.Modal)}const Vs=O.createContext(void 0),jo=Vs,$o="internalMark",Wo=t=>{const{locale:e={},children:r,_ANT_MARK__:o}=t;if(process.env.NODE_ENV!=="production"){const i=No("LocaleProvider");process.env.NODE_ENV!=="production"&&i(o===$o,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}w.useEffect(()=>Bs(e&&e.Modal),[e]);const n=w.useMemo(()=>Object.assign(Object.assign({},e),{exist:!0}),[e]);return w.createElement(jo.Provider,{value:n},r)};process.env.NODE_ENV!=="production"&&(Wo.displayName="LocaleProvider");const Xs=Wo;function J(t,e){Gs(t)&&(t="100%");var r=Ys(t);return t=e===360?t:Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:(e===360?t=(t<0?t%e+e:t%e)/parseFloat(String(e)):t=t%e/parseFloat(String(e)),t)}function xt(t){return Math.min(1,Math.max(0,t))}function Gs(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function Ys(t){return typeof t=="string"&&t.indexOf("%")!==-1}function Fo(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Ct(t){return t<=1?"".concat(Number(t)*100,"%"):t}function ze(t){return t.length===1?"0"+t:String(t)}function Us(t,e,r){return{r:J(t,255)*255,g:J(e,255)*255,b:J(r,255)*255}}function _n(t,e,r){t=J(t,255),e=J(e,255),r=J(r,255);var o=Math.max(t,e,r),n=Math.min(t,e,r),i=0,a=0,s=(o+n)/2;if(o===n)a=0,i=0;else{var l=o-n;switch(a=s>.5?l/(2-o-n):l/(o+n),o){case t:i=(e-r)/l+(e<r?6:0);break;case e:i=(r-t)/l+2;break;case r:i=(t-e)/l+4;break}i/=6}return{h:i,s:a,l:s}}function ar(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*(6*r):r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function qs(t,e,r){var o,n,i;if(t=J(t,360),e=J(e,100),r=J(r,100),e===0)n=r,i=r,o=r;else{var a=r<.5?r*(1+e):r+e-r*e,s=2*r-a;o=ar(s,a,t+1/3),n=ar(s,a,t),i=ar(s,a,t-1/3)}return{r:o*255,g:n*255,b:i*255}}function _r(t,e,r){t=J(t,255),e=J(e,255),r=J(r,255);var o=Math.max(t,e,r),n=Math.min(t,e,r),i=0,a=o,s=o-n,l=o===0?0:s/o;if(o===n)i=0;else{switch(o){case t:i=(e-r)/s+(e<r?6:0);break;case e:i=(r-t)/s+2;break;case r:i=(t-e)/s+4;break}i/=6}return{h:i,s:l,v:a}}function Ks(t,e,r){t=J(t,360)*6,e=J(e,100),r=J(r,100);var o=Math.floor(t),n=t-o,i=r*(1-e),a=r*(1-n*e),s=r*(1-(1-n)*e),l=o%6,c=[r,a,i,i,s,r][l],u=[s,r,r,a,i,i][l],f=[i,i,s,r,r,a][l];return{r:c*255,g:u*255,b:f*255}}function Ir(t,e,r,o){var n=[ze(Math.round(t).toString(16)),ze(Math.round(e).toString(16)),ze(Math.round(r).toString(16))];return o&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function Qs(t,e,r,o,n){var i=[ze(Math.round(t).toString(16)),ze(Math.round(e).toString(16)),ze(Math.round(r).toString(16)),ze(Zs(o))];return n&&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 Zs(t){return Math.round(parseFloat(t)*255).toString(16)}function In(t){return ae(t)/255}function ae(t){return parseInt(t,16)}function Js(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}var Hr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ue(t){var e={r:0,g:0,b:0},r=1,o=null,n=null,i=null,a=!1,s=!1;return typeof t=="string"&&(t=rl(t)),typeof t=="object"&&(Ce(t.r)&&Ce(t.g)&&Ce(t.b)?(e=Us(t.r,t.g,t.b),a=!0,s=String(t.r).substr(-1)==="%"?"prgb":"rgb"):Ce(t.h)&&Ce(t.s)&&Ce(t.v)?(o=Ct(t.s),n=Ct(t.v),e=Ks(t.h,o,n),a=!0,s="hsv"):Ce(t.h)&&Ce(t.s)&&Ce(t.l)&&(o=Ct(t.s),i=Ct(t.l),e=qs(t.h,o,i),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(r=t.a)),r=Fo(r),{ok:a,format:t.format||s,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}var el="[-\\+]?\\d+%?",tl="[-\\+]?\\d*\\.\\d+%?",Re="(?:".concat(tl,")|(?:").concat(el,")"),sr="[\\s|\\(]+(".concat(Re,")[,|\\s]+(").concat(Re,")[,|\\s]+(").concat(Re,")\\s*\\)?"),lr="[\\s|\\(]+(".concat(Re,")[,|\\s]+(").concat(Re,")[,|\\s]+(").concat(Re,")[,|\\s]+(").concat(Re,")\\s*\\)?"),fe={CSS_UNIT:new RegExp(Re),rgb:new RegExp("rgb"+sr),rgba:new RegExp("rgba"+lr),hsl:new RegExp("hsl"+sr),hsla:new RegExp("hsla"+lr),hsv:new RegExp("hsv"+sr),hsva:new RegExp("hsva"+lr),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function rl(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var e=!1;if(Hr[t])t=Hr[t],e=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=fe.rgb.exec(t);return r?{r:r[1],g:r[2],b:r[3]}:(r=fe.rgba.exec(t),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=fe.hsl.exec(t),r?{h:r[1],s:r[2],l:r[3]}:(r=fe.hsla.exec(t),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=fe.hsv.exec(t),r?{h:r[1],s:r[2],v:r[3]}:(r=fe.hsva.exec(t),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=fe.hex8.exec(t),r?{r:ae(r[1]),g:ae(r[2]),b:ae(r[3]),a:In(r[4]),format:e?"name":"hex8"}:(r=fe.hex6.exec(t),r?{r:ae(r[1]),g:ae(r[2]),b:ae(r[3]),format:e?"name":"hex"}:(r=fe.hex4.exec(t),r?{r:ae(r[1]+r[1]),g:ae(r[2]+r[2]),b:ae(r[3]+r[3]),a:In(r[4]+r[4]),format:e?"name":"hex8"}:(r=fe.hex3.exec(t),r?{r:ae(r[1]+r[1]),g:ae(r[2]+r[2]),b:ae(r[3]+r[3]),format:e?"name":"hex"}:!1)))))))))}function Ce(t){return!!fe.CSS_UNIT.exec(String(t))}var se=function(){function t(e,r){e===void 0&&(e=""),r===void 0&&(r={});var o;if(e instanceof t)return e;typeof e=="number"&&(e=Js(e)),this.originalInput=e;var n=Ue(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=r.format)!==null&&o!==void 0?o:n.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=n.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},t.prototype.getLuminance=function(){var e=this.toRgb(),r,o,n,i=e.r/255,a=e.g/255,s=e.b/255;return i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*o+.0722*n},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(e){return this.a=Fo(e),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var e=this.toHsl().s;return e===0},t.prototype.toHsv=function(){var e=_r(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},t.prototype.toHsvString=function(){var e=_r(this.r,this.g,this.b),r=Math.round(e.h*360),o=Math.round(e.s*100),n=Math.round(e.v*100);return this.a===1?"hsv(".concat(r,", ").concat(o,"%, ").concat(n,"%)"):"hsva(".concat(r,", ").concat(o,"%, ").concat(n,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var e=_n(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},t.prototype.toHslString=function(){var e=_n(this.r,this.g,this.b),r=Math.round(e.h*360),o=Math.round(e.s*100),n=Math.round(e.l*100);return this.a===1?"hsl(".concat(r,", ").concat(o,"%, ").concat(n,"%)"):"hsla(".concat(r,", ").concat(o,"%, ").concat(n,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(e){return e===void 0&&(e=!1),Ir(this.r,this.g,this.b,e)},t.prototype.toHexString=function(e){return e===void 0&&(e=!1),"#"+this.toHex(e)},t.prototype.toHex8=function(e){return e===void 0&&(e=!1),Qs(this.r,this.g,this.b,this.a,e)},t.prototype.toHex8String=function(e){return e===void 0&&(e=!1),"#"+this.toHex8(e)},t.prototype.toHexShortString=function(e){return e===void 0&&(e=!1),this.a===1?this.toHexString(e):this.toHex8String(e)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var e=Math.round(this.r),r=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(e,", ").concat(r,", ").concat(o,")"):"rgba(".concat(e,", ").concat(r,", ").concat(o,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var e=function(r){return"".concat(Math.round(J(r,255)*100),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var e=function(r){return Math.round(J(r,255)*100)};return this.a===1?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var e="#"+Ir(this.r,this.g,this.b,!1),r=0,o=Object.entries(Hr);r<o.length;r++){var n=o[r],i=n[0],a=n[1];if(e===a)return i}return!1},t.prototype.toString=function(e){var r=!!e;e=e??this.format;var o=!1,n=this.a<1&&this.a>=0,i=!r&&n&&(e.startsWith("hex")||e==="name");return i?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(o=this.toRgbString()),e==="prgb"&&(o=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(o=this.toHexString()),e==="hex3"&&(o=this.toHexString(!0)),e==="hex4"&&(o=this.toHex8String(!0)),e==="hex8"&&(o=this.toHex8String()),e==="name"&&(o=this.toName()),e==="hsl"&&(o=this.toHslString()),e==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){e===void 0&&(e=10);var r=this.toHsl();return r.l+=e/100,r.l=xt(r.l),new t(r)},t.prototype.brighten=function(e){e===void 0&&(e=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(e/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(e/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(e/100)))),new t(r)},t.prototype.darken=function(e){e===void 0&&(e=10);var r=this.toHsl();return r.l-=e/100,r.l=xt(r.l),new t(r)},t.prototype.tint=function(e){return e===void 0&&(e=10),this.mix("white",e)},t.prototype.shade=function(e){return e===void 0&&(e=10),this.mix("black",e)},t.prototype.desaturate=function(e){e===void 0&&(e=10);var r=this.toHsl();return r.s-=e/100,r.s=xt(r.s),new t(r)},t.prototype.saturate=function(e){e===void 0&&(e=10);var r=this.toHsl();return r.s+=e/100,r.s=xt(r.s),new t(r)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var r=this.toHsl(),o=(r.h+e)%360;return r.h=o<0?360+o:o,new t(r)},t.prototype.mix=function(e,r){r===void 0&&(r=50);var o=this.toRgb(),n=new t(e).toRgb(),i=r/100,a={r:(n.r-o.r)*i+o.r,g:(n.g-o.g)*i+o.g,b:(n.b-o.b)*i+o.b,a:(n.a-o.a)*i+o.a};return new t(a)},t.prototype.analogous=function(e,r){e===void 0&&(e=6),r===void 0&&(r=30);var o=this.toHsl(),n=360/r,i=[this];for(o.h=(o.h-(n*e>>1)+720)%360;--e;)o.h=(o.h+n)%360,i.push(new t(o));return i},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){e===void 0&&(e=6);for(var r=this.toHsv(),o=r.h,n=r.s,i=r.v,a=[],s=1/e;e--;)a.push(new t({h:o,s:n,v:i})),i=(i+s)%1;return a},t.prototype.splitcomplement=function(){var e=this.toHsl(),r=e.h;return[this,new t({h:(r+72)%360,s:e.s,l:e.l}),new t({h:(r+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var r=this.toRgb(),o=new t(e).toRgb(),n=r.a+o.a*(1-r.a);return new t({r:(r.r*r.a+o.r*o.a*(1-r.a))/n,g:(r.g*r.a+o.g*o.a*(1-r.a))/n,b:(r.b*r.a+o.b*o.a*(1-r.a))/n,a:n})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var r=this.toHsl(),o=r.h,n=[this],i=360/e,a=1;a<e;a++)n.push(new t({h:(o+a*i)%360,s:r.s,l:r.l}));return n},t.prototype.equals=function(e){return this.toRgbString()===new t(e).toRgbString()},t}(),kt=2,Hn=.16,nl=.05,ol=.05,il=.15,Bo=5,Vo=4,al=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Dn(t){var e=t.r,r=t.g,o=t.b,n=_r(e,r,o);return{h:n.h*360,s:n.s,v:n.v}}function Tt(t){var e=t.r,r=t.g,o=t.b;return"#".concat(Ir(e,r,o,!1))}function sl(t,e,r){var o=r/100,n={r:(e.r-t.r)*o+t.r,g:(e.g-t.g)*o+t.g,b:(e.b-t.b)*o+t.b};return n}function Nn(t,e,r){var o;return Math.round(t.h)>=60&&Math.round(t.h)<=240?o=r?Math.round(t.h)-kt*e:Math.round(t.h)+kt*e:o=r?Math.round(t.h)+kt*e:Math.round(t.h)-kt*e,o<0?o+=360:o>=360&&(o-=360),o}function zn(t,e,r){if(t.h===0&&t.s===0)return t.s;var o;return r?o=t.s-Hn*e:e===Vo?o=t.s+Hn:o=t.s+nl*e,o>1&&(o=1),r&&e===Bo&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function jn(t,e,r){var o;return r?o=t.v+ol*e:o=t.v-il*e,o>1&&(o=1),Number(o.toFixed(2))}function tt(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],o=Ue(t),n=Bo;n>0;n-=1){var i=Dn(o),a=Tt(Ue({h:Nn(i,n,!0),s:zn(i,n,!0),v:jn(i,n,!0)}));r.push(a)}r.push(Tt(o));for(var s=1;s<=Vo;s+=1){var l=Dn(o),c=Tt(Ue({h:Nn(l,s),s:zn(l,s),v:jn(l,s)}));r.push(c)}return e.theme==="dark"?al.map(function(u){var f=u.index,v=u.opacity,m=Tt(sl(Ue(e.backgroundColor||"#141414"),Ue(r[f]),v*100));return m}):r}var cr={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"},ur={},fr={};Object.keys(cr).forEach(function(t){ur[t]=tt(cr[t]),ur[t].primary=ur[t][5],fr[t]=tt(cr[t],{theme:"dark",backgroundColor:"#141414"}),fr[t].primary=fr[t][5]});const ll=t=>{const{controlHeight:e}=t;return{controlHeightSM:e*.75,controlHeightXS:e*.5,controlHeightLG:e*1.25}},cl=ll;function ul(t){const{sizeUnit:e,sizeStep:r}=t;return{sizeXXL:e*(r+8),sizeXL:e*(r+4),sizeLG:e*(r+2),sizeMD:e*(r+1),sizeMS:e*r,size:e*r,sizeSM:e*(r-1),sizeXS:e*(r-2),sizeXXS:e*(r-3)}}const Xo={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},fl=Object.assign(Object.assign({},Xo),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
25
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
26
- '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}),pt=fl;function dl(t,e){let{generateColorPalettes:r,generateNeutralColorPalettes:o}=e;const{colorSuccess:n,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=t,f=r(l),v=r(n),m=r(i),b=r(a),h=r(s),d=o(c,u),y=t.colorLink||t.colorInfo,p=r(y);return Object.assign(Object.assign({},d),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:v[1],colorSuccessBgHover:v[2],colorSuccessBorder:v[3],colorSuccessBorderHover:v[4],colorSuccessHover:v[4],colorSuccess:v[6],colorSuccessActive:v[7],colorSuccessTextHover:v[8],colorSuccessText:v[9],colorSuccessTextActive:v[10],colorErrorBg:b[1],colorErrorBgHover:b[2],colorErrorBorder:b[3],colorErrorBorderHover:b[4],colorErrorHover:b[5],colorError:b[6],colorErrorActive:b[7],colorErrorTextHover:b[8],colorErrorText:b[9],colorErrorTextActive:b[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[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:p[4],colorLink:p[6],colorLinkActive:p[7],colorBgMask:new se("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const vl=t=>{let e=t,r=t,o=t,n=t;return t<6&&t>=5?e=t+1:t<16&&t>=6?e=t+2:t>=16&&(e=16),t<7&&t>=5?r=4:t<8&&t>=7?r=5:t<14&&t>=8?r=6:t<16&&t>=14?r=7:t>=16&&(r=8),t<6&&t>=2?o=1:t>=6&&(o=2),t>4&&t<8?n=4:t>=8&&(n=6),{borderRadius:t,borderRadiusXS:o,borderRadiusSM:r,borderRadiusLG:e,borderRadiusOuter:n}},hl=vl;function pl(t){const{motionUnit:e,motionBase:r,borderRadius:o,lineWidth:n}=t;return Object.assign({motionDurationFast:`${(r+e).toFixed(1)}s`,motionDurationMid:`${(r+e*2).toFixed(1)}s`,motionDurationSlow:`${(r+e*3).toFixed(1)}s`,lineWidthBold:n+1},hl(o))}const ke=(t,e)=>new se(t).setAlpha(e).toRgbString(),ft=(t,e)=>new se(t).darken(e).toHexString(),gl=t=>{const e=tt(t);return{1:e[0],2:e[1],3:e[2],4:e[3],5:e[4],6:e[5],7:e[6],8:e[4],9:e[5],10:e[6]}},ml=(t,e)=>{const r=t||"#fff",o=e||"#000";return{colorBgBase:r,colorTextBase:o,colorText:ke(o,.88),colorTextSecondary:ke(o,.65),colorTextTertiary:ke(o,.45),colorTextQuaternary:ke(o,.25),colorFill:ke(o,.15),colorFillSecondary:ke(o,.06),colorFillTertiary:ke(o,.04),colorFillQuaternary:ke(o,.02),colorBgLayout:ft(r,4),colorBgContainer:ft(r,0),colorBgElevated:ft(r,0),colorBgSpotlight:ke(o,.85),colorBgBlur:"transparent",colorBorder:ft(r,15),colorBorderSecondary:ft(r,6)}};function bl(t){const e=new Array(10).fill(null).map((r,o)=>{const n=o-1,i=t*Math.pow(2.71828,n/5),a=o>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return e[1]=t,e.map(r=>{const o=r+8;return{size:r,lineHeight:o/r}})}const yl=t=>{const e=bl(t),r=e.map(n=>n.size),o=e.map(n=>n.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:o[1],lineHeightLG:o[2],lineHeightSM:o[0],lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}},Sl=yl;function wl(t){const e=Object.keys(Xo).map(r=>{const o=tt(t[r]);return new Array(10).fill(1).reduce((n,i,a)=>(n[`${r}-${a+1}`]=o[a],n[`${r}${a+1}`]=o[a],n),{})}).reduce((r,o)=>(r=Object.assign(Object.assign({},r),o),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t),e),dl(t,{generateColorPalettes:gl,generateNeutralColorPalettes:ml})),Sl(t.fontSize)),ul(t)),cl(t)),pl(t))}const Go=Tr(wl),Yo={token:pt,override:{override:pt},hashed:!0},Uo=O.createContext(Yo),qo="anticon",El=(t,e)=>e||(t?`ant-${t}`:"ant"),bt=w.createContext({getPrefixCls:El,iconPrefixCls:qo}),xl=`-ant-${Date.now()}-${Math.random()}`;function Cl(t,e){const r={},o=(a,s)=>{let l=a.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},n=(a,s)=>{const l=new se(a),c=tt(l.toRgbString());r[`${s}-color`]=o(l),r[`${s}-color-disabled`]=c[1],r[`${s}-color-hover`]=c[4],r[`${s}-color-active`]=c[6],r[`${s}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),r[`${s}-color-deprecated-bg`]=c[0],r[`${s}-color-deprecated-border`]=c[2]};if(e.primaryColor){n(e.primaryColor,"primary");const a=new se(e.primaryColor),s=tt(a.toRgbString());s.forEach((c,u)=>{r[`primary-${u+1}`]=c}),r["primary-color-deprecated-l-35"]=o(a,c=>c.lighten(35)),r["primary-color-deprecated-l-20"]=o(a,c=>c.lighten(20)),r["primary-color-deprecated-t-20"]=o(a,c=>c.tint(20)),r["primary-color-deprecated-t-50"]=o(a,c=>c.tint(50)),r["primary-color-deprecated-f-12"]=o(a,c=>c.setAlpha(c.getAlpha()*.12));const l=new se(s[0]);r["primary-color-active-deprecated-f-30"]=o(l,c=>c.setAlpha(c.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=o(l,c=>c.darken(2))}return e.successColor&&n(e.successColor,"success"),e.warningColor&&n(e.warningColor,"warning"),e.errorColor&&n(e.errorColor,"error"),e.infoColor&&n(e.infoColor,"info"),`
27
- :root {
28
- ${Object.keys(r).map(a=>`--${t}-${a}: ${r[a]};`).join(`
29
- `)}
30
- }
31
- `.trim()}function kl(t,e){const r=Cl(t,e);we()?Ft(r,`${xl}-dynamic-theme`):process.env.NODE_ENV!=="production"&&qt(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const Dr=w.createContext(!1),Tl=t=>{let{children:e,disabled:r}=t;const o=w.useContext(Dr);return w.createElement(Dr.Provider,{value:r??o},e)},Ol=Dr,Nr=w.createContext(void 0),Ml=t=>{let{children:e,size:r}=t;const o=w.useContext(Nr);return w.createElement(Nr.Provider,{value:r||o},e)},nn=Nr;function Al(){const t=O.useContext(Ol),e=O.useContext(nn);return{componentDisabled:t,componentSize:e}}const Pl="5.11.0";function dr(t){return t>=0&&t<=255}function Ot(t,e){const{r,g:o,b:n,a:i}=new se(t).toRgb();if(i<1)return t;const{r:a,g:s,b:l}=new se(e).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((r-a*(1-c))/c),f=Math.round((o-s*(1-c))/c),v=Math.round((n-l*(1-c))/c);if(dr(u)&&dr(f)&&dr(v))return new se({r:u,g:f,b:v,a:Math.round(c*100)/100}).toRgbString()}return new se({r,g:o,b:n,a:1}).toRgbString()}var Rl=globalThis&&globalThis.__rest||function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(r[o[n]]=t[o[n]]);return r};function Ko(t){const{override:e}=t,r=Rl(t,["override"]),o=Object.assign({},e);Object.keys(pt).forEach(v=>{delete o[v]});const n=Object.assign(Object.assign({},r),o),i=480,a=576,s=768,l=992,c=1200,u=1600;if(n.motion===!1){const v="0s";n.motionDurationFast=v,n.motionDurationMid=v,n.motionDurationSlow=v}return Object.assign(Object.assign(Object.assign({},n),{colorFillContent:n.colorFillSecondary,colorFillContentHover:n.colorFill,colorFillAlter:n.colorFillQuaternary,colorBgContainerDisabled:n.colorFillTertiary,colorBorderBg:n.colorBgContainer,colorSplit:Ot(n.colorBorderSecondary,n.colorBgContainer),colorTextPlaceholder:n.colorTextQuaternary,colorTextDisabled:n.colorTextQuaternary,colorTextHeading:n.colorText,colorTextLabel:n.colorTextSecondary,colorTextDescription:n.colorTextTertiary,colorTextLightSolid:n.colorWhite,colorHighlight:n.colorError,colorBgTextHover:n.colorFillSecondary,colorBgTextActive:n.colorFill,colorIcon:n.colorTextTertiary,colorIconHover:n.colorText,colorErrorOutline:Ot(n.colorErrorBg,n.colorBgContainer),colorWarningOutline:Ot(n.colorWarningBg,n.colorBgContainer),fontSizeIcon:n.fontSizeSM,lineWidthFocus:n.lineWidth*4,lineWidth:n.lineWidth,controlOutlineWidth:n.lineWidth*2,controlInteractiveSize:n.controlHeight/2,controlItemBgHover:n.colorFillTertiary,controlItemBgActive:n.colorPrimaryBg,controlItemBgActiveHover:n.colorPrimaryBgHover,controlItemBgActiveDisabled:n.colorFill,controlTmpOutline:n.colorFillQuaternary,controlOutline:Ot(n.colorPrimaryBg,n.colorBgContainer),lineType:n.lineType,borderRadius:n.borderRadius,borderRadiusXS:n.borderRadiusXS,borderRadiusSM:n.borderRadiusSM,borderRadiusLG:n.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:n.sizeXXS,paddingXS:n.sizeXS,paddingSM:n.sizeSM,padding:n.size,paddingMD:n.sizeMD,paddingLG:n.sizeLG,paddingXL:n.sizeXL,paddingContentHorizontalLG:n.sizeLG,paddingContentVerticalLG:n.sizeMS,paddingContentHorizontal:n.sizeMS,paddingContentVertical:n.sizeSM,paddingContentHorizontalSM:n.size,paddingContentVerticalSM:n.sizeXS,marginXXS:n.sizeXXS,marginXS:n.sizeXS,marginSM:n.sizeSM,margin:n.size,marginMD:n.sizeMD,marginLG:n.sizeLG,marginXL:n.sizeXL,marginXXL:n.sizeXXL,boxShadow:`
32
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
33
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
34
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
35
- `,boxShadowSecondary:`
36
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
37
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
38
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
39
- `,boxShadowTertiary:`
40
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
41
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
42
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
43
- `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
44
- 0 1px 2px -2px ${new se("rgba(0, 0, 0, 0.16)").toRgbString()},
45
- 0 3px 6px 0 ${new se("rgba(0, 0, 0, 0.12)").toRgbString()},
46
- 0 5px 12px 4px ${new se("rgba(0, 0, 0, 0.09)").toRgbString()}
47
- `,boxShadowDrawerRight:`
48
- -6px 0 16px 0 rgba(0, 0, 0, 0.08),
49
- -3px 0 6px -4px rgba(0, 0, 0, 0.12),
50
- -9px 0 28px 8px rgba(0, 0, 0, 0.05)
51
- `,boxShadowDrawerLeft:`
52
- 6px 0 16px 0 rgba(0, 0, 0, 0.08),
53
- 3px 0 6px -4px rgba(0, 0, 0, 0.12),
54
- 9px 0 28px 8px rgba(0, 0, 0, 0.05)
55
- `,boxShadowDrawerUp:`
56
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
57
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
58
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
59
- `,boxShadowDrawerDown:`
60
- 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
61
- 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
62
- 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
63
- `,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)"}),o)}var $n=globalThis&&globalThis.__rest||function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(r[o[n]]=t[o[n]]);return r};const Qo=(t,e,r)=>{const o=r.getDerivativeToken(t),{override:n}=e,i=$n(e,["override"]);let a=Object.assign(Object.assign({},o),{override:n});return a=Ko(a),i&&Object.entries(i).forEach(s=>{let[l,c]=s;const{theme:u}=c,f=$n(c,["theme"]);let v=f;u&&(v=Qo(Object.assign(Object.assign({},a),f),{override:f},u)),a[l]=v}),a};function on(){const{token:t,hashed:e,theme:r,override:o}=O.useContext(Uo),n=`${Pl}-${e||""}`,i=r||Go,[a,s]=ts(i,[pt,t],{salt:n,override:o,getComputedToken:Qo,formatToken:Ko});return[i,a,e?s:""]}function Dt(t){var e=w.useRef(!1),r=w.useState(t),o=$(r,2),n=o[0],i=o[1];w.useEffect(function(){return e.current=!1,function(){e.current=!0}},[]);function a(s,l){l&&e.current||i(s)}return[n,a]}const Ll=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:t.colorText,fontSize:t.fontSize,lineHeight:t.lineHeight,listStyle:"none",fontFamily:e?"inherit":t.fontFamily}},_l=()=>({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"}}),Il=t=>({a:{color:t.colorLink,textDecoration:t.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${t.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:t.colorLinkHover},"&:active":{color:t.colorLinkActive},"&:active,\n &:hover":{textDecoration:t.linkHoverDecoration,outline:0},"&:focus":{textDecoration:t.linkFocusDecoration,outline:0},"&[disabled]":{color:t.colorTextDisabled,cursor:"not-allowed"}}}),Hl=(t,e)=>{const{fontFamily:r,fontSize:o}=t,n=`[class^="${e}"], [class*=" ${e}"]`;return{[n]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[n]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Zo=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let zr=!0;function jr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!Zo)return Object.assign.apply(Object,[{}].concat(e));zr=!1;const o={};return e.forEach(n=>{Object.keys(n).forEach(a=>{Object.defineProperty(o,a,{configurable:!0,enumerable:!0,get:()=>n[a]})})}),zr=!0,o}const Wn={};function Dl(){}function Nl(t){let e,r=t,o=Dl;return Zo&&typeof Proxy<"u"&&(e=new Set,r=new Proxy(t,{get(n,i){return zr&&e.add(i),n[i]}}),o=(n,i)=>{var a;Wn[n]={global:Array.from(e),component:Object.assign(Object.assign({},(a=Wn[n])===null||a===void 0?void 0:a.component),i)}}),{token:r,keys:e,flush:o}}const zl=(t,e)=>{const[r,o]=on();return Rr({theme:r,token:o,hashId:"",path:["ant-design-icons",t],nonce:()=>e==null?void 0:e.nonce},()=>[{[`.${t}`]:Object.assign(Object.assign({},_l()),{[`.${t} .${t}-icon`]:{display:"block"}})}])},Jo=zl;function jl(t,e,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const n=Array.isArray(t)?t:[t,t],[i]=n,a=n.join("-");return s=>{const[l,c,u]=on(),{getPrefixCls:f,iconPrefixCls:v,csp:m}=O.useContext(bt),b=f(),h={theme:l,token:c,hashId:u,nonce:()=>m==null?void 0:m.nonce,clientOnly:o.clientOnly,order:o.order||-999};return Rr(Object.assign(Object.assign({},h),{clientOnly:!1,path:["Shared",b]}),()=>[{"&":Il(c)}]),Jo(v,m),[Rr(Object.assign(Object.assign({},h),{path:[a,s,v]}),()=>{const{token:d,flush:y}=Nl(c),p=Object.assign({},c[i]);if(o.deprecatedTokens){const{deprecatedTokens:_}=o;_.forEach(z=>{let[A,I]=z;var R;process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&Fe(!(p!=null&&p[A]),`The token '${String(A)}' of ${i} had deprecated, use '${String(I)}' instead.`),(p!=null&&p[A]||p!=null&&p[I])&&((R=p[I])!==null&&R!==void 0||(p[I]=p==null?void 0:p[A]))})}const S=typeof r=="function"?r(jr(d,p??{})):r,x=Object.assign(Object.assign({},S),p),E=`.${s}`,T=jr(d,{componentCls:E,prefixCls:s,iconCls:`.${v}`,antCls:`.${b}`},x),C=e(T,{hashId:u,prefixCls:s,rootPrefixCls:b,iconPrefixCls:v,overrideComponentToken:p});return y(i,x),[o.resetStyle===!1?null:Hl(c,s),C]}),u]}}function $l(t,e){const r=t||{},o=r.inherit===!1||!e?Yo:e;return no(()=>{if(!t)return e;const n=Object.assign({},o.components);return Object.keys(t.components||{}).forEach(i=>{n[i]=Object.assign(Object.assign({},n[i]),t.components[i])}),Object.assign(Object.assign(Object.assign({},o),r),{token:Object.assign(Object.assign({},o.token),r.token),components:n})},[r,o],(n,i)=>n.some((a,s)=>{const l=i[s];return!ma(a,l,!0)}))}var Wl=["children"],ei=w.createContext({});function Fl(t){var e=t.children,r=Wt(t,Wl);return w.createElement(ei.Provider,{value:r},e)}var Bl=function(t){_e(r,t);var e=Ie(r);function r(){return pe(this,r),e.apply(this,arguments)}return ge(r,[{key:"render",value:function(){return this.props.children}}]),r}(w.Component),De="none",Mt="appear",At="enter",Pt="leave",Fn="none",de="prepare",Ke="start",Qe="active",an="end",ti="prepared";function Bn(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit".concat(t)]="webkit".concat(e),r["Moz".concat(t)]="moz".concat(e),r["ms".concat(t)]="MS".concat(e),r["O".concat(t)]="o".concat(e.toLowerCase()),r}function Vl(t,e){var r={animationend:Bn("Animation","AnimationEnd"),transitionend:Bn("Transition","TransitionEnd")};return t&&("AnimationEvent"in e||delete r.animationend.animation,"TransitionEvent"in e||delete r.transitionend.transition),r}var Xl=Vl(we(),typeof window<"u"?window:{}),ri={};if(we()){var Gl=document.createElement("div");ri=Gl.style}var Rt={};function ni(t){if(Rt[t])return Rt[t];var e=Xl[t];if(e)for(var r=Object.keys(e),o=r.length,n=0;n<o;n+=1){var i=r[n];if(Object.prototype.hasOwnProperty.call(e,i)&&i in ri)return Rt[t]=e[i],Rt[t]}return""}var oi=ni("animationend"),ii=ni("transitionend"),ai=!!(oi&&ii),Vn=oi||"animationend",Xn=ii||"transitionend";function Gn(t,e){if(!t)return null;if(B(t)==="object"){var r=e.replace(/-\w/g,function(o){return o[1].toUpperCase()});return t[r]}return"".concat(t,"-").concat(e)}const Yl=function(t){var e=O.useRef(),r=O.useRef(t);r.current=t;var o=w.useCallback(function(a){r.current(a)},[]);function n(a){a&&(a.removeEventListener(Xn,o),a.removeEventListener(Vn,o))}function i(a){e.current&&e.current!==a&&n(e.current),a&&a!==e.current&&(a.addEventListener(Xn,o),a.addEventListener(Vn,o),e.current=a)}return w.useEffect(function(){return function(){n(e.current)}},[]),[i,n]};var si=we()?O.useLayoutEffect:O.useEffect;const Ul=function(){var t=w.useRef(null);function e(){xr.cancel(t.current)}function r(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;e();var i=xr(function(){n<=1?o({isCanceled:function(){return i!==t.current}}):r(o,n-1)});t.current=i}return w.useEffect(function(){return function(){e()}},[]),[r,e]};var ql=[de,Ke,Qe,an],Kl=[de,ti],li=!1,Ql=!0;function ci(t){return t===Qe||t===an}const Zl=function(t,e,r){var o=Dt(Fn),n=$(o,2),i=n[0],a=n[1],s=Ul(),l=$(s,2),c=l[0],u=l[1];function f(){a(de,!0)}var v=e?Kl:ql;return si(function(){if(i!==Fn&&i!==an){var m=v.indexOf(i),b=v[m+1],h=r(i);h===li?a(b,!0):b&&c(function(d){function y(){d.isCanceled()||a(b,!0)}h===!0?y():Promise.resolve(h).then(y)})}},[t,i]),w.useEffect(function(){return function(){u()}},[]),[f,i]};function Jl(t,e,r,o){var n=o.motionEnter,i=n===void 0?!0:n,a=o.motionAppear,s=a===void 0?!0:a,l=o.motionLeave,c=l===void 0?!0:l,u=o.motionDeadline,f=o.motionLeaveImmediately,v=o.onAppearPrepare,m=o.onEnterPrepare,b=o.onLeavePrepare,h=o.onAppearStart,d=o.onEnterStart,y=o.onLeaveStart,p=o.onAppearActive,S=o.onEnterActive,x=o.onLeaveActive,E=o.onAppearEnd,T=o.onEnterEnd,C=o.onLeaveEnd,_=o.onVisibleChanged,z=Dt(),A=$(z,2),I=A[0],R=A[1],L=Dt(De),j=$(L,2),H=j[0],W=j[1],ee=Dt(null),G=$(ee,2),V=G[0],Y=G[1],te=O.useRef(!1),U=O.useRef(null);function le(){return r()}var ne=O.useRef(!1);function me(){W(De,!0),Y(null,!0)}function Be(re){var q=le();if(!(re&&!re.deadline&&re.target!==q)){var K=ne.current,ce;H===Mt&&K?ce=E==null?void 0:E(q,re):H===At&&K?ce=T==null?void 0:T(q,re):H===Pt&&K&&(ce=C==null?void 0:C(q,re)),H!==De&&K&&ce!==!1&&me()}}var ot=Yl(Be),it=$(ot,1),at=it[0],Ve=function(q){var K,ce,He;switch(q){case Mt:return K={},k(K,de,v),k(K,Ke,h),k(K,Qe,p),K;case At:return ce={},k(ce,de,m),k(ce,Ke,d),k(ce,Qe,S),ce;case Pt:return He={},k(He,de,b),k(He,Ke,y),k(He,Qe,x),He;default:return{}}},Ee=w.useMemo(function(){return Ve(H)},[H]),st=Zl(H,!t,function(re){if(re===de){var q=Ee[de];return q?q(le()):li}if(oe in Ee){var K;Y(((K=Ee[oe])===null||K===void 0?void 0:K.call(Ee,le(),null))||null)}return oe===Qe&&(at(le()),u>0&&(clearTimeout(U.current),U.current=setTimeout(function(){Be({deadline:!0})},u))),oe===ti&&me(),Ql}),Xe=$(st,2),M=Xe[0],oe=Xe[1],Ae=ci(oe);ne.current=Ae,si(function(){R(e);var re=te.current;te.current=!0;var q;!re&&e&&s&&(q=Mt),re&&e&&i&&(q=At),(re&&!e&&c||!re&&f&&!e&&c)&&(q=Pt);var K=Ve(q);q&&(t||K[de])?(W(q),M()):W(De)},[e]),O.useEffect(function(){(H===Mt&&!s||H===At&&!i||H===Pt&&!c)&&W(De)},[s,i,c]),O.useEffect(function(){return function(){te.current=!1,clearTimeout(U.current)}},[]);var Pe=w.useRef(!1);O.useEffect(function(){I&&(Pe.current=!0),I!==void 0&&H===De&&((Pe.current||I)&&(_==null||_(I)),Pe.current=!0)},[I,H]);var lt=V;return Ee[de]&&oe===Ke&&(lt=g({transition:"none"},lt)),[H,oe,lt,I??e]}function ec(t){var e=t;B(t)==="object"&&(e=t.transitionSupport);function r(n,i){return!!(n.motionName&&e&&i!==!1)}var o=w.forwardRef(function(n,i){var a=n.visible,s=a===void 0?!0:a,l=n.removeOnLeave,c=l===void 0?!0:l,u=n.forceRender,f=n.children,v=n.motionName,m=n.leavedClassName,b=n.eventProps,h=w.useContext(ei),d=h.motion,y=r(n,d),p=O.useRef(),S=O.useRef();function x(){try{return p.current instanceof HTMLElement?p.current:Xi(S.current)}catch{return null}}var E=Jl(y,s,x,n),T=$(E,4),C=T[0],_=T[1],z=T[2],A=T[3],I=w.useRef(A);A&&(I.current=!0);var R=w.useCallback(function(Y){p.current=Y,Gi(i,Y)},[i]),L,j=g(g({},b),{},{visible:s});if(!f)L=null;else if(C===De)A?L=f(g({},j),R):!c&&I.current&&m?L=f(g(g({},j),{},{className:m}),R):u||!c&&!m?L=f(g(g({},j),{},{style:{display:"none"}}),R):L=null;else{var H,W;_===de?W="prepare":ci(_)?W="active":_===Ke&&(W="start");var ee=Gn(v,"".concat(C,"-").concat(W));L=f(g(g({},j),{},{className:ve(Gn(v,C),(H={},k(H,ee,ee&&W),k(H,v,typeof v=="string"),H)),style:z}),R)}if(w.isValidElement(L)&&Yi(L)){var G=L,V=G.ref;V||(L=w.cloneElement(L,{ref:R}))}return w.createElement(Bl,{ref:S},L)});return o.displayName="CSSMotion",o}const tc=ec(ai);var $r="add",Wr="keep",Fr="remove",vr="removed";function rc(t){var e;return t&&B(t)==="object"&&"key"in t?e=t:e={key:t},g(g({},e),{},{key:String(e.key)})}function Br(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.map(rc)}function nc(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[],o=0,n=e.length,i=Br(t),a=Br(e);i.forEach(function(c){for(var u=!1,f=o;f<n;f+=1){var v=a[f];if(v.key===c.key){o<f&&(r=r.concat(a.slice(o,f).map(function(m){return g(g({},m),{},{status:$r})})),o=f),r.push(g(g({},v),{},{status:Wr})),o+=1,u=!0;break}}u||r.push(g(g({},c),{},{status:Fr}))}),o<n&&(r=r.concat(a.slice(o).map(function(c){return g(g({},c),{},{status:$r})})));var s={};r.forEach(function(c){var u=c.key;s[u]=(s[u]||0)+1});var l=Object.keys(s).filter(function(c){return s[c]>1});return l.forEach(function(c){r=r.filter(function(u){var f=u.key,v=u.status;return f!==c||v!==Fr}),r.forEach(function(u){u.key===c&&(u.status=Wr)})}),r}var oc=["component","children","onVisibleChanged","onAllRemoved"],ic=["status"],ac=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function sc(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tc,r=function(o){_e(i,o);var n=Ie(i);function i(){var a;pe(this,i);for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];return a=n.call.apply(n,[this].concat(l)),k(P(a),"state",{keyEntities:[]}),k(P(a),"removeKey",function(u){var f=a.state.keyEntities,v=f.map(function(m){return m.key!==u?m:g(g({},m),{},{status:vr})});return a.setState({keyEntities:v}),v.filter(function(m){var b=m.status;return b!==vr}).length}),a}return ge(i,[{key:"render",value:function(){var s=this,l=this.state.keyEntities,c=this.props,u=c.component,f=c.children,v=c.onVisibleChanged,m=c.onAllRemoved,b=Wt(c,oc),h=u||w.Fragment,d={};return ac.forEach(function(y){d[y]=b[y],delete b[y]}),delete b.keys,w.createElement(h,b,l.map(function(y,p){var S=y.status,x=Wt(y,ic),E=S===$r||S===Wr;return w.createElement(e,Se({},d,{key:x.key,visible:E,eventProps:x,onVisibleChanged:function(C){if(v==null||v(C,{key:x.key}),!C){var _=s.removeKey(x.key);_===0&&m&&m()}}}),function(T,C){return f(g(g({},T),{},{index:p}),C)})}))}}],[{key:"getDerivedStateFromProps",value:function(s,l){var c=s.keys,u=l.keyEntities,f=Br(c),v=nc(u,f);return{keyEntities:v.filter(function(m){var b=u.find(function(h){var d=h.key;return m.key===d});return!(b&&b.status===vr&&m.status===Fr)})}}}]),i}(w.Component);return k(r,"defaultProps",{component:"div"}),r}sc(ai);function lc(t){const{children:e}=t,[,r]=on(),{motion:o}=r,n=w.useRef(!1);return n.current=n.current||o===!1,n.current?w.createElement(Fl,{motion:o},e):e}const ui=w.memo(t=>{let{dropdownMatchSelectWidth:e}=t;return No("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});process.env.NODE_ENV!=="production"&&(ui.displayName="PropWarning");const cc=process.env.NODE_ENV!=="production"?ui:()=>null;var uc=globalThis&&globalThis.__rest||function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(r[o[n]]=t[o[n]]);return r};let Vr=!1;process.env.NODE_ENV;const fc=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],dc="ant";let fi;function vc(){return fi||dc}function hc(t){return Object.keys(t).some(e=>e.endsWith("Color"))}const pc=t=>{let{prefixCls:e,iconPrefixCls:r,theme:o}=t;e!==void 0&&(fi=e),o&&hc(o)&&(process.env.NODE_ENV!=="production"&&qt(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),kl(vc(),o))},gc=t=>{const{children:e,csp:r,autoInsertSpaceInButton:o,alert:n,anchor:i,form:a,locale:s,componentSize:l,direction:c,space:u,virtual:f,dropdownMatchSelectWidth:v,popupMatchSelectWidth:m,popupOverflow:b,legacyLocale:h,parentContext:d,iconPrefixCls:y,theme:p,componentDisabled:S,segmented:x,statistic:E,spin:T,calendar:C,carousel:_,cascader:z,collapse:A,typography:I,checkbox:R,descriptions:L,divider:j,drawer:H,skeleton:W,steps:ee,image:G,layout:V,list:Y,mentions:te,modal:U,progress:le,result:ne,slider:me,breadcrumb:Be,menu:ot,pagination:it,input:at,empty:Ve,badge:Ee,radio:st,rate:Xe,switch:M,transfer:oe,avatar:Ae,message:Pe,tag:lt,table:re,card:q,tabs:K,timeline:ce,timePicker:He,upload:mi,notification:bi,tree:yi,colorPicker:Si,datePicker:wi,rangePicker:Ei,flex:xi,wave:Ci,dropdown:ki,warning:Ti}=t,Oi=w.useCallback((X,Z)=>{const{prefixCls:be}=t;if(Z)return Z;const ye=be||d.getPrefixCls("");return X?`${ye}-${X}`:ye},[d.getPrefixCls,t.prefixCls]),ct=y||d.iconPrefixCls||qo,ut=r||d.csp;Jo(ct,ut);const yt=$l(p,d.theme);process.env.NODE_ENV!=="production"&&(Vr=Vr||!!yt);const Zt={csp:ut,autoInsertSpaceInButton:o,alert:n,anchor:i,locale:s||h,direction:c,space:u,virtual:f,popupMatchSelectWidth:m??v,popupOverflow:b,getPrefixCls:Oi,iconPrefixCls:ct,theme:yt,segmented:x,statistic:E,spin:T,calendar:C,carousel:_,cascader:z,collapse:A,typography:I,checkbox:R,descriptions:L,divider:j,drawer:H,skeleton:W,steps:ee,image:G,input:at,layout:V,list:Y,mentions:te,modal:U,progress:le,result:ne,slider:me,breadcrumb:Be,menu:ot,pagination:it,empty:Ve,badge:Ee,radio:st,rate:Xe,switch:M,transfer:oe,avatar:Ae,message:Pe,tag:lt,table:re,card:q,tabs:K,timeline:ce,timePicker:He,upload:mi,notification:bi,tree:yi,colorPicker:Si,datePicker:wi,rangePicker:Ei,flex:xi,wave:Ci,dropdown:ki,warning:Ti},St=Object.assign({},d);Object.keys(Zt).forEach(X=>{Zt[X]!==void 0&&(St[X]=Zt[X])}),fc.forEach(X=>{const Z=t[X];Z&&(St[X]=Z)});const Ge=no(()=>St,St,(X,Z)=>{const be=Object.keys(X),ye=Object.keys(Z);return be.length!==ye.length||be.some(wt=>X[wt]!==Z[wt])}),Mi=w.useMemo(()=>({prefixCls:ct,csp:ut}),[ct,ut]);let Q=w.createElement(w.Fragment,null,w.createElement(cc,{dropdownMatchSelectWidth:v}),e);const cn=w.useMemo(()=>{var X,Z,be,ye;return Hs(((X=Kt.Form)===null||X===void 0?void 0:X.defaultValidateMessages)||{},((be=(Z=Ge.locale)===null||Z===void 0?void 0:Z.Form)===null||be===void 0?void 0:be.defaultValidateMessages)||{},((ye=Ge.form)===null||ye===void 0?void 0:ye.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[Ge,a==null?void 0:a.validateMessages]);Object.keys(cn).length>0&&(Q=w.createElement(Ns.Provider,{value:cn},Q)),s&&(Q=w.createElement(Xs,{locale:s,_ANT_MARK__:$o},Q)),(ct||ut)&&(Q=w.createElement(Rs.Provider,{value:Mi},Q)),l&&(Q=w.createElement(Ml,{size:l},Q)),Q=w.createElement(lc,null,Q);const Ai=w.useMemo(()=>{const X=yt||{},{algorithm:Z,token:be,components:ye}=X,wt=uc(X,["algorithm","token","components"]),un=Z&&(!Array.isArray(Z)||Z.length>0)?Tr(Z):Go,Jt={};Object.entries(ye||{}).forEach(Pi=>{let[Ri,Li]=Pi;const xe=Object.assign({},Li);"algorithm"in xe&&(xe.algorithm===!0?xe.theme=un:(Array.isArray(xe.algorithm)||typeof xe.algorithm=="function")&&(xe.theme=Tr(xe.algorithm)),delete xe.algorithm),Jt[Ri]=xe});const fn=Object.assign(Object.assign({},pt),be);return Object.assign(Object.assign({},wt),{theme:un,token:fn,components:Jt,override:Object.assign({override:fn},Jt)})},[yt]);return p&&(Q=w.createElement(Uo.Provider,{value:Ai},Q)),Ge.warning&&(Q=w.createElement(Do.Provider,{value:Ge.warning},Q)),S!==void 0&&(Q=w.createElement(Tl,{disabled:S},Q)),w.createElement(bt.Provider,{value:Ge},Q)},nt=t=>{const e=w.useContext(bt),r=w.useContext(jo);return w.createElement(gc,Object.assign({parentContext:e,legacyLocale:r},t))};nt.ConfigContext=bt;nt.SizeContext=nn;nt.config=pc;nt.useConfig=Al;Object.defineProperty(nt,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&qt(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),nn)});process.env.NODE_ENV!=="production"&&(nt.displayName="ConfigProvider");var mc={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function bc(t,e,r){var o=r||{},n=o.noTrailing,i=n===void 0?!1:n,a=o.noLeading,s=a===void 0?!1:a,l=o.debounceMode,c=l===void 0?void 0:l,u,f=!1,v=0;function m(){u&&clearTimeout(u)}function b(d){var y=d||{},p=y.upcomingOnly,S=p===void 0?!1:p;m(),f=!S}function h(){for(var d=arguments.length,y=new Array(d),p=0;p<d;p++)y[p]=arguments[p];var S=this,x=Date.now()-v;if(f)return;function E(){v=Date.now(),e.apply(S,y)}function T(){u=void 0}!s&&c&&!u&&E(),m(),c===void 0&&x>t?s?(v=Date.now(),i||(u=setTimeout(c?T:E,t))):E():i!==!0&&(u=setTimeout(c?T:E,c===void 0?t-x:t))}return h.cancel=b,h}function yc(t,e,r){var o=r||{},n=o.atBegin,i=n===void 0?!1:n;return bc(t,e,{debounceMode:i!==!1})}function Xr(t,e,r){return Math.max(e,Math.min(t,r))}var Ze=function(e){var r=["onTouchStart","onTouchMove","onWheel"];r.includes(e._reactName)||e.preventDefault()},Vt=function(e){for(var r=[],o=di(e),n=vi(e),i=o;i<n;i++)e.lazyLoadedList.indexOf(i)<0&&r.push(i);return r},di=function(e){return e.currentSlide-Sc(e)},vi=function(e){return e.currentSlide+wc(e)},Sc=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},wc=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},Gr=function(e){return e&&e.offsetWidth||0},sn=function(e){return e&&e.offsetHeight||0},hi=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o,n,i,a;return o=e.startX-e.curX,n=e.startY-e.curY,i=Math.atan2(n,o),a=Math.round(i*180/Math.PI),a<0&&(a=360-Math.abs(a)),a<=45&&a>=0||a<=360&&a>=315?"left":a>=135&&a<=225?"right":r===!0?a>=35&&a<=135?"up":"down":"vertical"},Qt=function(e){var r=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(r=!1),r},hr=function(e,r){var o={};return r.forEach(function(n){return o[n]=e[n]}),o},Ec=function(e){var r=O.Children.count(e.children),o=e.listRef,n=Math.ceil(Gr(o)),i=e.trackRef&&e.trackRef.node,a=Math.ceil(Gr(i)),s;if(e.vertical)s=n;else{var l=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(l*=n/100),s=Math.ceil((n-l)/e.slidesToShow)}var c=o&&sn(o.querySelector('[data-index="0"]')),u=c*e.slidesToShow,f=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(f=r-1-e.initialSlide);var v=e.lazyLoadedList||[],m=Vt(g(g({},e),{},{currentSlide:f,lazyLoadedList:v}));v=v.concat(m);var b={slideCount:r,slideWidth:s,listWidth:n,trackWidth:a,currentSlide:f,slideHeight:c,listHeight:u,lazyLoadedList:v};return e.autoplaying===null&&e.autoplay&&(b.autoplaying="playing"),b},xc=function(e){var r=e.waitForAnimate,o=e.animating,n=e.fade,i=e.infinite,a=e.index,s=e.slideCount,l=e.lazyLoad,c=e.currentSlide,u=e.centerMode,f=e.slidesToScroll,v=e.slidesToShow,m=e.useCSS,b=e.lazyLoadedList;if(r&&o)return{};var h=a,d,y,p,S={},x={},E=i?a:Xr(a,0,s-1);if(n){if(!i&&(a<0||a>=s))return{};a<0?h=a+s:a>=s&&(h=a-s),l&&b.indexOf(h)<0&&(b=b.concat(h)),S={animating:!0,currentSlide:h,lazyLoadedList:b,targetSlide:h},x={animating:!1,targetSlide:h}}else d=h,h<0?(d=h+s,i?s%f!==0&&(d=s-s%f):d=0):!Qt(e)&&h>c?h=d=c:u&&h>=s?(h=i?s:s-1,d=i?0:s-1):h>=s&&(d=h-s,i?s%f!==0&&(d=0):d=s-v),!i&&h+v>=s&&(d=s-v),y=mt(g(g({},e),{},{slideIndex:h})),p=mt(g(g({},e),{},{slideIndex:d})),i||(y===p&&(h=d),y=p),l&&(b=b.concat(Vt(g(g({},e),{},{currentSlide:h})))),m?(S={animating:!0,currentSlide:d,trackStyle:pi(g(g({},e),{},{left:y})),lazyLoadedList:b,targetSlide:E},x={animating:!1,currentSlide:d,trackStyle:gt(g(g({},e),{},{left:p})),swipeLeft:null,targetSlide:E}):S={currentSlide:d,trackStyle:gt(g(g({},e),{},{left:p})),lazyLoadedList:b,targetSlide:E};return{state:S,nextState:x}},Cc=function(e,r){var o,n,i,a,s,l=e.slidesToScroll,c=e.slidesToShow,u=e.slideCount,f=e.currentSlide,v=e.targetSlide,m=e.lazyLoad,b=e.infinite;if(a=u%l!==0,o=a?0:(u-f)%l,r.message==="previous")i=o===0?l:c-o,s=f-i,m&&!b&&(n=f-i,s=n===-1?u-1:n),b||(s=v-l);else if(r.message==="next")i=o===0?l:o,s=f+i,m&&!b&&(s=(f+l)%u+o),b||(s=v+l);else if(r.message==="dots")s=r.index*r.slidesToScroll;else if(r.message==="children"){if(s=r.index,b){var h=Rc(g(g({},e),{},{targetSlide:s}));s>r.currentSlide&&h==="left"?s=s-u:s<r.currentSlide&&h==="right"&&(s=s+u)}}else r.message==="index"&&(s=Number(r.index));return s},kc=function(e,r,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!r?"":e.keyCode===37?o?"next":"previous":e.keyCode===39?o?"previous":"next":""},Tc=function(e,r,o){return e.target.tagName==="IMG"&&Ze(e),!r||!o&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},Oc=function(e,r){var o=r.scrolling,n=r.animating,i=r.vertical,a=r.swipeToSlide,s=r.verticalSwiping,l=r.rtl,c=r.currentSlide,u=r.edgeFriction,f=r.edgeDragged,v=r.onEdge,m=r.swiped,b=r.swiping,h=r.slideCount,d=r.slidesToScroll,y=r.infinite,p=r.touchObject,S=r.swipeEvent,x=r.listHeight,E=r.listWidth;if(!o){if(n)return Ze(e);i&&a&&s&&Ze(e);var T,C={},_=mt(r);p.curX=e.touches?e.touches[0].pageX:e.clientX,p.curY=e.touches?e.touches[0].pageY:e.clientY,p.swipeLength=Math.round(Math.sqrt(Math.pow(p.curX-p.startX,2)));var z=Math.round(Math.sqrt(Math.pow(p.curY-p.startY,2)));if(!s&&!b&&z>10)return{scrolling:!0};s&&(p.swipeLength=z);var A=(l?-1:1)*(p.curX>p.startX?1:-1);s&&(A=p.curY>p.startY?1:-1);var I=Math.ceil(h/d),R=hi(r.touchObject,s),L=p.swipeLength;return y||(c===0&&(R==="right"||R==="down")||c+1>=I&&(R==="left"||R==="up")||!Qt(r)&&(R==="left"||R==="up"))&&(L=p.swipeLength*u,f===!1&&v&&(v(R),C.edgeDragged=!0)),!m&&S&&(S(R),C.swiped=!0),i?T=_+L*(x/E)*A:l?T=_-L*A:T=_+L*A,s&&(T=_+L*A),C=g(g({},C),{},{touchObject:p,swipeLeft:T,trackStyle:gt(g(g({},r),{},{left:T}))}),Math.abs(p.curX-p.startX)<Math.abs(p.curY-p.startY)*.8||p.swipeLength>10&&(C.swiping=!0,Ze(e)),C}},Mc=function(e,r){var o=r.dragging,n=r.swipe,i=r.touchObject,a=r.listWidth,s=r.touchThreshold,l=r.verticalSwiping,c=r.listHeight,u=r.swipeToSlide,f=r.scrolling,v=r.onSwipe,m=r.targetSlide,b=r.currentSlide,h=r.infinite;if(!o)return n&&Ze(e),{};var d=l?c/s:a/s,y=hi(i,l),p={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!i.swipeLength)return p;if(i.swipeLength>d){Ze(e),v&&v(y);var S,x,E=h?b:m;switch(y){case"left":case"up":x=E+Un(r),S=u?Yn(r,x):x,p.currentDirection=0;break;case"right":case"down":x=E-Un(r),S=u?Yn(r,x):x,p.currentDirection=1;break;default:S=E}p.triggerSlideHandler=S}else{var T=mt(r);p.trackStyle=pi(g(g({},r),{},{left:T}))}return p},Ac=function(e){for(var r=e.infinite?e.slideCount*2:e.slideCount,o=e.infinite?e.slidesToShow*-1:0,n=e.infinite?e.slidesToShow*-1:0,i=[];o<r;)i.push(o),o=n+e.slidesToScroll,n+=Math.min(e.slidesToScroll,e.slidesToShow);return i},Yn=function(e,r){var o=Ac(e),n=0;if(r>o[o.length-1])r=o[o.length-1];else for(var i in o){if(r<o[i]){r=n;break}n=o[i]}return r},Un=function(e){var r=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,n=e.listRef,i=n.querySelectorAll&&n.querySelectorAll(".slick-slide")||[];if(Array.from(i).every(function(l){if(e.vertical){if(l.offsetTop+sn(l)/2>e.swipeLeft*-1)return o=l,!1}else if(l.offsetLeft-r+Gr(l)/2>e.swipeLeft*-1)return o=l,!1;return!0}),!o)return 0;var a=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide,s=Math.abs(o.dataset.index-a)||1;return s}else return e.slidesToScroll},ln=function(e,r){return r.reduce(function(o,n){return o&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},gt=function(e){ln(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r,o,n=e.slideCount+2*e.slidesToShow;e.vertical?o=n*e.slideHeight:r=Pc(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=g(g({},i),{},{WebkitTransform:a,transform:s,msTransform:l})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),r&&(i.width=r),o&&(i.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i},pi=function(e){ln(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var r=gt(e);return e.useTransform?(r.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,r.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?r.transition="top "+e.speed+"ms "+e.cssEase:r.transition="left "+e.speed+"ms "+e.cssEase,r},mt=function(e){if(e.unslick)return 0;ln(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var r=e.slideIndex,o=e.trackRef,n=e.infinite,i=e.centerMode,a=e.slideCount,s=e.slidesToShow,l=e.slidesToScroll,c=e.slideWidth,u=e.listWidth,f=e.variableWidth,v=e.slideHeight,m=e.fade,b=e.vertical,h=0,d,y,p=0;if(m||e.slideCount===1)return 0;var S=0;if(n?(S=-Me(e),a%l!==0&&r+l>a&&(S=-(r>a?s-(r-a):a%l)),i&&(S+=parseInt(s/2))):(a%l!==0&&r+l>a&&(S=s-a%l),i&&(S=parseInt(s/2))),h=S*c,p=S*v,b?d=r*v*-1+p:d=r*c*-1+h,f===!0){var x,E=o&&o.node;if(x=r+Me(e),y=E&&E.childNodes[x],d=y?y.offsetLeft*-1:0,i===!0){x=n?r+Me(e):r,y=E&&E.children[x],d=0;for(var T=0;T<x;T++)d-=E&&E.children[T]&&E.children[T].offsetWidth;d-=parseInt(e.centerPadding),d+=y&&(u-y.offsetWidth)/2}}return d},Me=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},Nt=function(e){return e.unslick||!e.infinite?0:e.slideCount},Pc=function(e){return e.slideCount===1?1:Me(e)+e.slideCount+Nt(e)},Rc=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Lc(e)?"left":"right":e.targetSlide<e.currentSlide-_c(e)?"right":"left"},Lc=function(e){var r=e.slidesToShow,o=e.centerMode,n=e.rtl,i=e.centerPadding;if(o){var a=(r-1)/2+1;return parseInt(i)>0&&(a+=1),n&&r%2===0&&(a+=1),a}return n?0:r-1},_c=function(e){var r=e.slidesToShow,o=e.centerMode,n=e.rtl,i=e.centerPadding;if(o){var a=(r-1)/2+1;return parseInt(i)>0&&(a+=1),!n&&r%2===0&&(a+=1),a}return n?r-1:0},qn=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},pr=function(e){var r,o,n,i,a;e.rtl?a=e.slideCount-1-e.index:a=e.index,n=a<0||a>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),o=(a-e.currentSlide)%e.slideCount===0,a>e.currentSlide-i-1&&a<=e.currentSlide+i&&(r=!0)):r=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow;var s;e.targetSlide<0?s=e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?s=e.targetSlide-e.slideCount:s=e.targetSlide;var l=a===s;return{"slick-slide":!0,"slick-active":r,"slick-center":o,"slick-cloned":n,"slick-current":l}},Ic=function(e){var r={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(r.width=e.slideWidth),e.fade&&(r.position="relative",e.vertical&&e.slideHeight?r.top=-e.index*parseInt(e.slideHeight):r.left=-e.index*parseInt(e.slideWidth),r.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(r.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),r},gr=function(e,r){return e.key+"-"+r},Hc=function(e){var r,o=[],n=[],i=[],a=O.Children.count(e.children),s=di(e),l=vi(e);return O.Children.forEach(e.children,function(c,u){var f,v={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?f=c:f=O.createElement("div",null);var m=Ic(g(g({},e),{},{index:u})),b=f.props.className||"",h=pr(g(g({},e),{},{index:u}));if(o.push(O.cloneElement(f,{key:"original"+gr(f,u),"data-index":u,className:ve(h,b),tabIndex:"-1","aria-hidden":!h["slick-active"],style:g(g({outline:"none"},f.props.style||{}),m),onClick:function(p){f.props&&f.props.onClick&&f.props.onClick(p),e.focusOnSelect&&e.focusOnSelect(v)}})),e.infinite&&e.fade===!1){var d=a-u;d<=Me(e)&&a!==e.slidesToShow&&(r=-d,r>=s&&(f=c),h=pr(g(g({},e),{},{index:r})),n.push(O.cloneElement(f,{key:"precloned"+gr(f,r),"data-index":r,tabIndex:"-1",className:ve(h,b),"aria-hidden":!h["slick-active"],style:g(g({},f.props.style||{}),m),onClick:function(p){f.props&&f.props.onClick&&f.props.onClick(p),e.focusOnSelect&&e.focusOnSelect(v)}}))),a!==e.slidesToShow&&(r=a+u,r<l&&(f=c),h=pr(g(g({},e),{},{index:r})),i.push(O.cloneElement(f,{key:"postcloned"+gr(f,r),"data-index":r,tabIndex:"-1",className:ve(h,b),"aria-hidden":!h["slick-active"],style:g(g({},f.props.style||{}),m),onClick:function(p){f.props&&f.props.onClick&&f.props.onClick(p),e.focusOnSelect&&e.focusOnSelect(v)}})))}}),e.rtl?n.concat(o,i).reverse():n.concat(o,i)},Dc=function(t){_e(r,t);var e=Ie(r);function r(){var o;pe(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return o=e.call.apply(e,[this].concat(i)),k(P(o),"node",null),k(P(o),"handleRef",function(s){o.node=s}),o}return ge(r,[{key:"render",value:function(){var n=Hc(this.props),i=this.props,a=i.onMouseEnter,s=i.onMouseOver,l=i.onMouseLeave,c={onMouseEnter:a,onMouseOver:s,onMouseLeave:l};return O.createElement("div",Se({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},c),n)}}]),r}(O.PureComponent),Nc=function(e){var r;return e.infinite?r=Math.ceil(e.slideCount/e.slidesToScroll):r=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,r},zc=function(t){_e(r,t);var e=Ie(r);function r(){return pe(this,r),e.apply(this,arguments)}return ge(r,[{key:"clickHandler",value:function(n,i){i.preventDefault(),this.props.clickHandler(n)}},{key:"render",value:function(){for(var n=this.props,i=n.onMouseEnter,a=n.onMouseOver,s=n.onMouseLeave,l=n.infinite,c=n.slidesToScroll,u=n.slidesToShow,f=n.slideCount,v=n.currentSlide,m=Nc({slideCount:f,slidesToScroll:c,slidesToShow:u,infinite:l}),b={onMouseEnter:i,onMouseOver:a,onMouseLeave:s},h=[],d=0;d<m;d++){var y=(d+1)*c-1,p=l?y:Xr(y,0,f-1),S=p-(c-1),x=l?S:Xr(S,0,f-1),E=ve({"slick-active":l?v>=x&&v<=p:v===x}),T={message:"dots",index:d,slidesToScroll:c,currentSlide:v},C=this.clickHandler.bind(this,T);h=h.concat(O.createElement("li",{key:d,className:E},O.cloneElement(this.props.customPaging(d),{onClick:C})))}return O.cloneElement(this.props.appendDots(h),g({className:this.props.dotsClass},b))}}]),r}(O.PureComponent),jc=function(t){_e(r,t);var e=Ie(r);function r(){return pe(this,r),e.apply(this,arguments)}return ge(r,[{key:"clickHandler",value:function(n,i){i&&i.preventDefault(),this.props.clickHandler(n,i)}},{key:"render",value:function(){var n={"slick-arrow":!0,"slick-prev":!0},i=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(n["slick-disabled"]=!0,i=null);var a={key:"0","data-role":"none",className:ve(n),style:{display:"block"},onClick:i},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.prevArrow?l=O.cloneElement(this.props.prevArrow,g(g({},a),s)):l=O.createElement("button",Se({key:"0",type:"button"},a)," ","Previous"),l}}]),r}(O.PureComponent),$c=function(t){_e(r,t);var e=Ie(r);function r(){return pe(this,r),e.apply(this,arguments)}return ge(r,[{key:"clickHandler",value:function(n,i){i&&i.preventDefault(),this.props.clickHandler(n,i)}},{key:"render",value:function(){var n={"slick-arrow":!0,"slick-next":!0},i=this.clickHandler.bind(this,{message:"next"});Qt(this.props)||(n["slick-disabled"]=!0,i=null);var a={key:"1","data-role":"none",className:ve(n),style:{display:"block"},onClick:i},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.nextArrow?l=O.cloneElement(this.props.nextArrow,g(g({},a),s)):l=O.createElement("button",Se({key:"1",type:"button"},a)," ","Next"),l}}]),r}(O.PureComponent),Wc=["animating"],Fc=function(t){_e(r,t);var e=Ie(r);function r(o){var n;pe(this,r),n=e.call(this,o),k(P(n),"listRefHandler",function(a){return n.list=a}),k(P(n),"trackRefHandler",function(a){return n.track=a}),k(P(n),"adaptHeight",function(){if(n.props.adaptiveHeight&&n.list){var a=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=sn(a)+"px"}}),k(P(n),"componentDidMount",function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var a=Vt(g(g({},n.props),n.state));a.length>0&&(n.setState(function(l){return{lazyLoadedList:l.lazyLoadedList.concat(a)}}),n.props.onLazyLoad&&n.props.onLazyLoad(a))}var s=g({listRef:n.list,trackRef:n.track},n.props);n.updateState(s,!0,function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")}),n.props.lazyLoad==="progressive"&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new fa(function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout(function(){return n.onWindowResized()},n.props.speed))):n.onWindowResized()}),n.ro.observe(n.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(l){l.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,l.onblur=n.props.pauseOnFocus?n.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)}),k(P(n),"componentWillUnmount",function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach(function(a){return clearTimeout(a)}),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),n.ro.disconnect()}),k(P(n),"componentDidUpdate",function(a){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var s=Vt(g(g({},n.props),n.state));s.length>0&&(n.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(s)}}),n.props.onLazyLoad&&n.props.onLazyLoad(s))}n.adaptHeight();var l=g(g({listRef:n.list,trackRef:n.track},n.props),n.state),c=n.didPropsChange(a);c&&n.updateState(l,c,function(){n.state.currentSlide>=O.Children.count(n.props.children)&&n.changeSlide({message:"index",index:O.Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),(a.autoplay!==n.props.autoplay||a.autoplaySpeed!==n.props.autoplaySpeed)&&(!a.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))})}),k(P(n),"onWindowResized",function(a){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=yc(50,function(){return n.resizeWindow(a)}),n.debouncedResize()}),k(P(n),"resizeWindow",function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,s=!!(n.track&&n.track.node);if(s){var l=g(g({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(l,a,function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")}),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}}),k(P(n),"updateState",function(a,s,l){var c=Ec(a);a=g(g(g({},a),c),{},{slideIndex:c.currentSlide});var u=mt(a);a=g(g({},a),{},{left:u});var f=gt(a);(s||O.Children.count(n.props.children)!==O.Children.count(a.children))&&(c.trackStyle=f),n.setState(c,l)}),k(P(n),"ssrInit",function(){if(n.props.variableWidth){var a=0,s=0,l=[],c=Me(g(g(g({},n.props),n.state),{},{slideCount:n.props.children.length})),u=Nt(g(g(g({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach(function(C){l.push(C.props.style.width),a+=C.props.style.width});for(var f=0;f<c;f++)s+=l[l.length-1-f],a+=l[l.length-1-f];for(var v=0;v<u;v++)a+=l[v];for(var m=0;m<n.state.currentSlide;m++)s+=l[m];var b={width:a+"px",left:-s+"px"};if(n.props.centerMode){var h="".concat(l[n.state.currentSlide],"px");b.left="calc(".concat(b.left," + (100% - ").concat(h,") / 2 ) ")}return{trackStyle:b}}var d=O.Children.count(n.props.children),y=g(g(g({},n.props),n.state),{},{slideCount:d}),p=Me(y)+Nt(y)+d,S=100/n.props.slidesToShow*p,x=100/p,E=-x*(Me(y)+n.state.currentSlide)*S/100;n.props.centerMode&&(E+=(100-x*S/100)/2);var T={width:S+"%",left:E+"%"};return{slideWidth:x+"%",trackStyle:T}}),k(P(n),"checkImagesLoad",function(){var a=n.list&&n.list.querySelectorAll&&n.list.querySelectorAll(".slick-slide img")||[],s=a.length,l=0;Array.prototype.forEach.call(a,function(c){var u=function(){return++l&&l>=s&&n.onWindowResized()};if(!c.onclick)c.onclick=function(){return c.parentNode.focus()};else{var f=c.onclick;c.onclick=function(v){f(v),c.parentNode.focus()}}c.onload||(n.props.lazyLoad?c.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(c.onload=u,c.onerror=function(){u(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))})}),k(P(n),"progressiveLazyLoad",function(){for(var a=[],s=g(g({},n.props),n.state),l=n.state.currentSlide;l<n.state.slideCount+Nt(s);l++)if(n.state.lazyLoadedList.indexOf(l)<0){a.push(l);break}for(var c=n.state.currentSlide-1;c>=-Me(s);c--)if(n.state.lazyLoadedList.indexOf(c)<0){a.push(c);break}a.length>0?(n.setState(function(u){return{lazyLoadedList:u.lazyLoadedList.concat(a)}}),n.props.onLazyLoad&&n.props.onLazyLoad(a)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)}),k(P(n),"slideHandler",function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=n.props,c=l.asNavFor,u=l.beforeChange,f=l.onLazyLoad,v=l.speed,m=l.afterChange,b=n.state.currentSlide,h=xc(g(g(g({index:a},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!s})),d=h.state,y=h.nextState;if(d){u&&u(b,d.currentSlide);var p=d.lazyLoadedList.filter(function(S){return n.state.lazyLoadedList.indexOf(S)<0});f&&p.length>0&&f(p),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),m&&m(b),delete n.animationEndCallback),n.setState(d,function(){c&&n.asNavForIndex!==a&&(n.asNavForIndex=a,c.innerSlider.slideHandler(a)),y&&(n.animationEndCallback=setTimeout(function(){var S=y.animating,x=Wt(y,Wc);n.setState(x,function(){n.callbackTimers.push(setTimeout(function(){return n.setState({animating:S})},10)),m&&m(d.currentSlide),delete n.animationEndCallback})},v))})}}),k(P(n),"changeSlide",function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=g(g({},n.props),n.state),c=Cc(l,a);if(!(c!==0&&!c)&&(s===!0?n.slideHandler(c,s):n.slideHandler(c),n.props.autoplay&&n.autoPlay("update"),n.props.focusOnSelect)){var u=n.list.querySelectorAll(".slick-current");u[0]&&u[0].focus()}}),k(P(n),"clickHandler",function(a){n.clickable===!1&&(a.stopPropagation(),a.preventDefault()),n.clickable=!0}),k(P(n),"keyHandler",function(a){var s=kc(a,n.props.accessibility,n.props.rtl);s!==""&&n.changeSlide({message:s})}),k(P(n),"selectHandler",function(a){n.changeSlide(a)}),k(P(n),"disableBodyScroll",function(){var a=function(l){l=l||window.event,l.preventDefault&&l.preventDefault(),l.returnValue=!1};window.ontouchmove=a}),k(P(n),"enableBodyScroll",function(){window.ontouchmove=null}),k(P(n),"swipeStart",function(a){n.props.verticalSwiping&&n.disableBodyScroll();var s=Tc(a,n.props.swipe,n.props.draggable);s!==""&&n.setState(s)}),k(P(n),"swipeMove",function(a){var s=Oc(a,g(g(g({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));s&&(s.swiping&&(n.clickable=!1),n.setState(s))}),k(P(n),"swipeEnd",function(a){var s=Mc(a,g(g(g({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(s){var l=s.triggerSlideHandler;delete s.triggerSlideHandler,n.setState(s),l!==void 0&&(n.slideHandler(l),n.props.verticalSwiping&&n.enableBodyScroll())}}),k(P(n),"touchEnd",function(a){n.swipeEnd(a),n.clickable=!0}),k(P(n),"slickPrev",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"previous"})},0))}),k(P(n),"slickNext",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"next"})},0))}),k(P(n),"slickGoTo",function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(a=Number(a),isNaN(a))return"";n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"index",index:a,currentSlide:n.state.currentSlide},s)},0))}),k(P(n),"play",function(){var a;if(n.props.rtl)a=n.state.currentSlide-n.props.slidesToScroll;else if(Qt(g(g({},n.props),n.state)))a=n.state.currentSlide+n.props.slidesToScroll;else return!1;n.slideHandler(a)}),k(P(n),"autoPlay",function(a){n.autoplayTimer&&clearInterval(n.autoplayTimer);var s=n.state.autoplaying;if(a==="update"){if(s==="hovered"||s==="focused"||s==="paused")return}else if(a==="leave"){if(s==="paused"||s==="focused")return}else if(a==="blur"&&(s==="paused"||s==="hovered"))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})}),k(P(n),"pause",function(a){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var s=n.state.autoplaying;a==="paused"?n.setState({autoplaying:"paused"}):a==="focused"?(s==="hovered"||s==="playing")&&n.setState({autoplaying:"focused"}):s==="playing"&&n.setState({autoplaying:"hovered"})}),k(P(n),"onDotsOver",function(){return n.props.autoplay&&n.pause("hovered")}),k(P(n),"onDotsLeave",function(){return n.props.autoplay&&n.state.autoplaying==="hovered"&&n.autoPlay("leave")}),k(P(n),"onTrackOver",function(){return n.props.autoplay&&n.pause("hovered")}),k(P(n),"onTrackLeave",function(){return n.props.autoplay&&n.state.autoplaying==="hovered"&&n.autoPlay("leave")}),k(P(n),"onSlideFocus",function(){return n.props.autoplay&&n.pause("focused")}),k(P(n),"onSlideBlur",function(){return n.props.autoplay&&n.state.autoplaying==="focused"&&n.autoPlay("blur")}),k(P(n),"render",function(){var a=ve("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),s=g(g({},n.props),n.state),l=hr(s,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=n.props.pauseOnHover;l=g(g({},l),{},{onMouseEnter:c?n.onTrackOver:null,onMouseLeave:c?n.onTrackLeave:null,onMouseOver:c?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null});var u;if(n.props.dots===!0&&n.state.slideCount>=n.props.slidesToShow){var f=hr(s,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=n.props.pauseOnDotsHover;f=g(g({},f),{},{clickHandler:n.changeSlide,onMouseEnter:v?n.onDotsLeave:null,onMouseOver:v?n.onDotsOver:null,onMouseLeave:v?n.onDotsLeave:null}),u=O.createElement(zc,f)}var m,b,h=hr(s,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);h.clickHandler=n.changeSlide,n.props.arrows&&(m=O.createElement(jc,h),b=O.createElement($c,h));var d=null;n.props.vertical&&(d={height:n.state.listHeight});var y=null;n.props.vertical===!1?n.props.centerMode===!0&&(y={padding:"0px "+n.props.centerPadding}):n.props.centerMode===!0&&(y={padding:n.props.centerPadding+" 0px"});var p=g(g({},d),y),S=n.props.touchMove,x={className:"slick-list",style:p,onClick:n.clickHandler,onMouseDown:S?n.swipeStart:null,onMouseMove:n.state.dragging&&S?n.swipeMove:null,onMouseUp:S?n.swipeEnd:null,onMouseLeave:n.state.dragging&&S?n.swipeEnd:null,onTouchStart:S?n.swipeStart:null,onTouchMove:n.state.dragging&&S?n.swipeMove:null,onTouchEnd:S?n.touchEnd:null,onTouchCancel:n.state.dragging&&S?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},E={className:a,dir:"ltr",style:n.props.style};return n.props.unslick&&(x={className:"slick-list"},E={className:a,style:n.props.style}),O.createElement("div",E,n.props.unslick?"":m,O.createElement("div",Se({ref:n.listRefHandler},x),O.createElement(Dc,Se({ref:n.trackRefHandler},l),n.props.children)),n.props.unslick?"":b,n.props.unslick?"":u)}),n.list=null,n.track=null,n.state=g(g({},mc),{},{currentSlide:n.props.initialSlide,slideCount:O.Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var i=n.ssrInit();return n.state=g(g({},n.state),i),n}return ge(r,[{key:"didPropsChange",value:function(n){for(var i=!1,a=0,s=Object.keys(this.props);a<s.length;a++){var l=s[a];if(!n.hasOwnProperty(l)){i=!0;break}if(!(B(n[l])==="object"||typeof n[l]=="function")&&n[l]!==this.props[l]){i=!0;break}}return i||O.Children.count(this.props.children)!==O.Children.count(n.children)}}]),r}(O.Component),Bc=function(t){return t.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()},Vc=Bc,Xc=Vc,Gc=function(t){var e=/[height|width]$/;return e.test(t)},Kn=function(t){var e="",r=Object.keys(t);return r.forEach(function(o,n){var i=t[o];o=Xc(o),Gc(o)&&typeof i=="number"&&(i=i+"px"),i===!0?e+=o:i===!1?e+="not "+o:e+="("+o+": "+i+")",n<r.length-1&&(e+=" and ")}),e},Yc=function(t){var e="";return typeof t=="string"?t:t instanceof Array?(t.forEach(function(r,o){e+=Kn(r),o<t.length-1&&(e+=", ")}),e):Kn(t)},Uc=Yc;const mr=Zn(Uc);var Qn={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return O.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return O.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},qc=function(t){_e(r,t);var e=Ie(r);function r(o){var n;return pe(this,r),n=e.call(this,o),k(P(n),"innerSliderRefHandler",function(i){return n.innerSlider=i}),k(P(n),"slickPrev",function(){return n.innerSlider.slickPrev()}),k(P(n),"slickNext",function(){return n.innerSlider.slickNext()}),k(P(n),"slickGoTo",function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return n.innerSlider.slickGoTo(i,a)}),k(P(n),"slickPause",function(){return n.innerSlider.pause("paused")}),k(P(n),"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return ge(r,[{key:"media",value:function(n,i){var a=window.matchMedia(n),s=function(c){var u=c.matches;u&&i()};a.addListener(s),s(a),this._responsiveMediaHandlers.push({mql:a,query:n,listener:s})}},{key:"componentDidMount",value:function(){var n=this;if(this.props.responsive){var i=this.props.responsive.map(function(s){return s.breakpoint});i.sort(function(s,l){return s-l}),i.forEach(function(s,l){var c;l===0?c=mr({minWidth:0,maxWidth:s}):c=mr({minWidth:i[l-1]+1,maxWidth:s}),qn()&&n.media(c,function(){n.setState({breakpoint:s})})});var a=mr({minWidth:i.slice(-1)[0]});qn()&&this.media(a,function(){n.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(n){n.mql.removeListener(n.listener)})}},{key:"render",value:function(){var n=this,i,a;this.state.breakpoint?(a=this.props.responsive.filter(function(d){return d.breakpoint===n.state.breakpoint}),i=a[0].settings==="unslick"?"unslick":g(g(g({},Qn),this.props),a[0].settings)):i=g(g({},Qn),this.props),i.centerMode&&(i.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(i.slidesToScroll)),i.slidesToScroll=1),i.fade&&(i.slidesToShow>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(i.slidesToShow)),i.slidesToScroll>1&&process.env.NODE_ENV!=="production"&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(i.slidesToScroll)),i.slidesToShow=1,i.slidesToScroll=1);var s=O.Children.toArray(this.props.children);s=s.filter(function(d){return typeof d=="string"?!!d.trim():!!d}),i.variableWidth&&(i.rows>1||i.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),i.variableWidth=!1);for(var l=[],c=null,u=0;u<s.length;u+=i.rows*i.slidesPerRow){for(var f=[],v=u;v<u+i.rows*i.slidesPerRow;v+=i.slidesPerRow){for(var m=[],b=v;b<v+i.slidesPerRow&&(i.variableWidth&&s[b].props.style&&(c=s[b].props.style.width),!(b>=s.length));b+=1)m.push(O.cloneElement(s[b],{key:100*u+10*v+b,tabIndex:-1,style:{width:"".concat(100/i.slidesPerRow,"%"),display:"inline-block"}}));f.push(O.createElement("div",{key:10*u+v},m))}i.variableWidth?l.push(O.createElement("div",{key:u,style:{width:c}},f)):l.push(O.createElement("div",{key:u},f))}if(i==="unslick"){var h="regular slider "+(this.props.className||"");return O.createElement("div",{className:h},s)}else l.length<=i.slidesToShow&&(i.unslick=!0);return O.createElement(Fc,Se({style:this.props.style,ref:this.innerSliderRefHandler},i),l)}}]),r}(O.Component);const Kc=t=>{const{componentCls:e,antCls:r,carouselArrowSize:o,carouselDotOffset:n,marginXXS:i}=t,a=-o*1.25,s=i;return{[e]:Object.assign(Object.assign({},Ll(t)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${r}-radio-input, input${r}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${r}-radio-input, input${r}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:o,height:o,marginTop:-o/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:a,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:a,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:n},"&-top":{top:n,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:t.dotWidth,height:t.dotHeight,marginInline:s,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${t.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:t.dotHeight,padding:0,color:"transparent",fontSize:0,background:t.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${t.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-s,content:'""'}},"&.slick-active":{width:t.dotActiveWidth,"& button":{background:t.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},Qc=t=>{const{componentCls:e,carouselDotOffset:r,marginXXS:o}=t,n={width:t.dotHeight,height:t.dotWidth};return{[`${e}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:t.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:r},"&-right":{insetInlineEnd:r,insetInlineStart:"auto"},li:Object.assign(Object.assign({},n),{margin:`${o}px 0`,verticalAlign:"baseline",button:n,"&.slick-active":Object.assign(Object.assign({},n),{button:n})})}}}},Zc=t=>{const{componentCls:e}=t;return[{[`${e}-rtl`]:{direction:"rtl",".slick-dots":{[`${e}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${e}-vertical`]:{".slick-dots":{[`${e}-rtl&`]:{flexDirection:"column"}}}}]},Jc=jl("Carousel",t=>{const{controlHeightLG:e,controlHeightSM:r}=t,o=jr(t,{carouselArrowSize:e/2,carouselDotOffset:r/2});return[Kc(o),Qc(o),Zc(o)]},()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]});var eu=globalThis&&globalThis.__rest||function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(r[o[n]]=t[o[n]]);return r};const gi=w.forwardRef((t,e)=>{const{dots:r=!0,arrows:o=!1,draggable:n=!1,waitForAnimate:i=!1,dotPosition:a="bottom",vertical:s=a==="left"||a==="right",rootClassName:l,className:c,style:u,id:f}=t,v=eu(t,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:m,direction:b,carousel:h}=w.useContext(bt),d=w.useRef(),y=function(I){let R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;d.current.slickGoTo(I,R)};w.useImperativeHandle(e,()=>({goTo:y,autoPlay:d.current.innerSlider.autoPlay,innerSlider:d.current.innerSlider,prev:d.current.slickPrev,next:d.current.slickNext}),[d.current]);const p=w.useRef(w.Children.count(t.children));w.useEffect(()=>{p.current!==w.Children.count(t.children)&&(y(t.initialSlide||0,!1),p.current=w.Children.count(t.children))},[t.children]);const S=Object.assign({vertical:s,className:ve(c,h==null?void 0:h.className),style:Object.assign(Object.assign({},h==null?void 0:h.style),u)},v);S.effect==="fade"&&(S.fade=!0);const x=m("carousel",S.prefixCls),E="slick-dots",T=!!r,C=ve(E,`${E}-${a}`,typeof r=="boolean"?!1:r==null?void 0:r.className),[_,z]=Jc(x),A=ve(x,{[`${x}-rtl`]:b==="rtl",[`${x}-vertical`]:S.vertical},z,l);return _(w.createElement("div",{className:A,id:f},w.createElement(qc,Object.assign({ref:d},S,{dots:T,dotsClass:C,arrows:o,draggable:n,verticalSwiping:s,waitForAnimate:i}))))});process.env.NODE_ENV!=="production"&&(gi.displayName="Carousel");const tu=gi,ru=({children:t,...e})=>_i.jsx(tu,{...e,children:t});exports.Carousel=ru;
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC;AAE7C,eAAO,MAAM,QAAQ,uCAAwC,aAAa,sBAMzE,CAAC"}