@scalant/components 2.0.0 → 2.0.2

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.
@@ -28,7 +28,6 @@ var __objRest = (source, exclude) => {
28
28
  };
29
29
  import * as React$1 from "react";
30
30
  import React__default, { isValidElement, version as version$2, useContext, createContext, useRef, useLayoutEffect as useLayoutEffect$1, useEffect, forwardRef, useState, useMemo as useMemo$1, Children } from "react";
31
- import { isMemo, ForwardRef } from "react-is";
32
31
  import * as ReactDOM from "react-dom";
33
32
  import ReactDOM__default from "react-dom";
34
33
  function getDefaultExportFromCjs(x) {
@@ -236,6 +235,315 @@ function findDOMNode(node2) {
236
235
  }
237
236
  return null;
238
237
  }
238
+ var reactIs = { exports: {} };
239
+ var reactIs_production_min = {};
240
+ /**
241
+ * @license React
242
+ * react-is.production.min.js
243
+ *
244
+ * Copyright (c) Facebook, Inc. and its affiliates.
245
+ *
246
+ * This source code is licensed under the MIT license found in the
247
+ * LICENSE file in the root directory of this source tree.
248
+ */
249
+ var hasRequiredReactIs_production_min;
250
+ function requireReactIs_production_min() {
251
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
252
+ hasRequiredReactIs_production_min = 1;
253
+ var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
254
+ u = Symbol.for("react.module.reference");
255
+ function v(a) {
256
+ if ("object" === typeof a && null !== a) {
257
+ var r = a.$$typeof;
258
+ switch (r) {
259
+ case b:
260
+ switch (a = a.type, a) {
261
+ case d:
262
+ case f:
263
+ case e:
264
+ case m:
265
+ case n:
266
+ return a;
267
+ default:
268
+ switch (a = a && a.$$typeof, a) {
269
+ case k:
270
+ case h:
271
+ case l:
272
+ case q:
273
+ case p:
274
+ case g:
275
+ return a;
276
+ default:
277
+ return r;
278
+ }
279
+ }
280
+ case c:
281
+ return r;
282
+ }
283
+ }
284
+ }
285
+ reactIs_production_min.ContextConsumer = h;
286
+ reactIs_production_min.ContextProvider = g;
287
+ reactIs_production_min.Element = b;
288
+ reactIs_production_min.ForwardRef = l;
289
+ reactIs_production_min.Fragment = d;
290
+ reactIs_production_min.Lazy = q;
291
+ reactIs_production_min.Memo = p;
292
+ reactIs_production_min.Portal = c;
293
+ reactIs_production_min.Profiler = f;
294
+ reactIs_production_min.StrictMode = e;
295
+ reactIs_production_min.Suspense = m;
296
+ reactIs_production_min.SuspenseList = n;
297
+ reactIs_production_min.isAsyncMode = function() {
298
+ return false;
299
+ };
300
+ reactIs_production_min.isConcurrentMode = function() {
301
+ return false;
302
+ };
303
+ reactIs_production_min.isContextConsumer = function(a) {
304
+ return v(a) === h;
305
+ };
306
+ reactIs_production_min.isContextProvider = function(a) {
307
+ return v(a) === g;
308
+ };
309
+ reactIs_production_min.isElement = function(a) {
310
+ return "object" === typeof a && null !== a && a.$$typeof === b;
311
+ };
312
+ reactIs_production_min.isForwardRef = function(a) {
313
+ return v(a) === l;
314
+ };
315
+ reactIs_production_min.isFragment = function(a) {
316
+ return v(a) === d;
317
+ };
318
+ reactIs_production_min.isLazy = function(a) {
319
+ return v(a) === q;
320
+ };
321
+ reactIs_production_min.isMemo = function(a) {
322
+ return v(a) === p;
323
+ };
324
+ reactIs_production_min.isPortal = function(a) {
325
+ return v(a) === c;
326
+ };
327
+ reactIs_production_min.isProfiler = function(a) {
328
+ return v(a) === f;
329
+ };
330
+ reactIs_production_min.isStrictMode = function(a) {
331
+ return v(a) === e;
332
+ };
333
+ reactIs_production_min.isSuspense = function(a) {
334
+ return v(a) === m;
335
+ };
336
+ reactIs_production_min.isSuspenseList = function(a) {
337
+ return v(a) === n;
338
+ };
339
+ reactIs_production_min.isValidElementType = function(a) {
340
+ return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
341
+ };
342
+ reactIs_production_min.typeOf = v;
343
+ return reactIs_production_min;
344
+ }
345
+ var reactIs_development = {};
346
+ /**
347
+ * @license React
348
+ * react-is.development.js
349
+ *
350
+ * Copyright (c) Facebook, Inc. and its affiliates.
351
+ *
352
+ * This source code is licensed under the MIT license found in the
353
+ * LICENSE file in the root directory of this source tree.
354
+ */
355
+ var hasRequiredReactIs_development;
356
+ function requireReactIs_development() {
357
+ if (hasRequiredReactIs_development) return reactIs_development;
358
+ hasRequiredReactIs_development = 1;
359
+ if (process.env.NODE_ENV !== "production") {
360
+ (function() {
361
+ var REACT_ELEMENT_TYPE = Symbol.for("react.element");
362
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
363
+ var REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment");
364
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
365
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
366
+ var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
367
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
368
+ var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
369
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
370
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
371
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
372
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
373
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
374
+ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
375
+ var enableScopeAPI = false;
376
+ var enableCacheElement = false;
377
+ var enableTransitionTracing = false;
378
+ var enableLegacyHidden = false;
379
+ var enableDebugTracing = false;
380
+ var REACT_MODULE_REFERENCE;
381
+ {
382
+ REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
383
+ }
384
+ function isValidElementType(type) {
385
+ if (typeof type === "string" || typeof type === "function") {
386
+ return true;
387
+ }
388
+ if (type === REACT_FRAGMENT_TYPE2 || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
389
+ return true;
390
+ }
391
+ if (typeof type === "object" && type !== null) {
392
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
393
+ // types supported by any Flight configuration anywhere since
394
+ // we don't know which Flight build this will end up being used
395
+ // with.
396
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
397
+ return true;
398
+ }
399
+ }
400
+ return false;
401
+ }
402
+ function typeOf(object) {
403
+ if (typeof object === "object" && object !== null) {
404
+ var $$typeof = object.$$typeof;
405
+ switch ($$typeof) {
406
+ case REACT_ELEMENT_TYPE:
407
+ var type = object.type;
408
+ switch (type) {
409
+ case REACT_FRAGMENT_TYPE2:
410
+ case REACT_PROFILER_TYPE:
411
+ case REACT_STRICT_MODE_TYPE:
412
+ case REACT_SUSPENSE_TYPE:
413
+ case REACT_SUSPENSE_LIST_TYPE:
414
+ return type;
415
+ default:
416
+ var $$typeofType = type && type.$$typeof;
417
+ switch ($$typeofType) {
418
+ case REACT_SERVER_CONTEXT_TYPE:
419
+ case REACT_CONTEXT_TYPE:
420
+ case REACT_FORWARD_REF_TYPE:
421
+ case REACT_LAZY_TYPE:
422
+ case REACT_MEMO_TYPE:
423
+ case REACT_PROVIDER_TYPE:
424
+ return $$typeofType;
425
+ default:
426
+ return $$typeof;
427
+ }
428
+ }
429
+ case REACT_PORTAL_TYPE:
430
+ return $$typeof;
431
+ }
432
+ }
433
+ return void 0;
434
+ }
435
+ var ContextConsumer = REACT_CONTEXT_TYPE;
436
+ var ContextProvider = REACT_PROVIDER_TYPE;
437
+ var Element2 = REACT_ELEMENT_TYPE;
438
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
439
+ var Fragment = REACT_FRAGMENT_TYPE2;
440
+ var Lazy = REACT_LAZY_TYPE;
441
+ var Memo = REACT_MEMO_TYPE;
442
+ var Portal = REACT_PORTAL_TYPE;
443
+ var Profiler = REACT_PROFILER_TYPE;
444
+ var StrictMode = REACT_STRICT_MODE_TYPE;
445
+ var Suspense = REACT_SUSPENSE_TYPE;
446
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
447
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
448
+ var hasWarnedAboutDeprecatedIsConcurrentMode = false;
449
+ function isAsyncMode(object) {
450
+ {
451
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
452
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
453
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
454
+ }
455
+ }
456
+ return false;
457
+ }
458
+ function isConcurrentMode(object) {
459
+ {
460
+ if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
461
+ hasWarnedAboutDeprecatedIsConcurrentMode = true;
462
+ console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
463
+ }
464
+ }
465
+ return false;
466
+ }
467
+ function isContextConsumer(object) {
468
+ return typeOf(object) === REACT_CONTEXT_TYPE;
469
+ }
470
+ function isContextProvider(object) {
471
+ return typeOf(object) === REACT_PROVIDER_TYPE;
472
+ }
473
+ function isElement(object) {
474
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
475
+ }
476
+ function isForwardRef(object) {
477
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
478
+ }
479
+ function isFragment2(object) {
480
+ return typeOf(object) === REACT_FRAGMENT_TYPE2;
481
+ }
482
+ function isLazy(object) {
483
+ return typeOf(object) === REACT_LAZY_TYPE;
484
+ }
485
+ function isMemo(object) {
486
+ return typeOf(object) === REACT_MEMO_TYPE;
487
+ }
488
+ function isPortal(object) {
489
+ return typeOf(object) === REACT_PORTAL_TYPE;
490
+ }
491
+ function isProfiler(object) {
492
+ return typeOf(object) === REACT_PROFILER_TYPE;
493
+ }
494
+ function isStrictMode(object) {
495
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
496
+ }
497
+ function isSuspense(object) {
498
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
499
+ }
500
+ function isSuspenseList(object) {
501
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
502
+ }
503
+ reactIs_development.ContextConsumer = ContextConsumer;
504
+ reactIs_development.ContextProvider = ContextProvider;
505
+ reactIs_development.Element = Element2;
506
+ reactIs_development.ForwardRef = ForwardRef;
507
+ reactIs_development.Fragment = Fragment;
508
+ reactIs_development.Lazy = Lazy;
509
+ reactIs_development.Memo = Memo;
510
+ reactIs_development.Portal = Portal;
511
+ reactIs_development.Profiler = Profiler;
512
+ reactIs_development.StrictMode = StrictMode;
513
+ reactIs_development.Suspense = Suspense;
514
+ reactIs_development.SuspenseList = SuspenseList;
515
+ reactIs_development.isAsyncMode = isAsyncMode;
516
+ reactIs_development.isConcurrentMode = isConcurrentMode;
517
+ reactIs_development.isContextConsumer = isContextConsumer;
518
+ reactIs_development.isContextProvider = isContextProvider;
519
+ reactIs_development.isElement = isElement;
520
+ reactIs_development.isForwardRef = isForwardRef;
521
+ reactIs_development.isFragment = isFragment2;
522
+ reactIs_development.isLazy = isLazy;
523
+ reactIs_development.isMemo = isMemo;
524
+ reactIs_development.isPortal = isPortal;
525
+ reactIs_development.isProfiler = isProfiler;
526
+ reactIs_development.isStrictMode = isStrictMode;
527
+ reactIs_development.isSuspense = isSuspense;
528
+ reactIs_development.isSuspenseList = isSuspenseList;
529
+ reactIs_development.isValidElementType = isValidElementType;
530
+ reactIs_development.typeOf = typeOf;
531
+ })();
532
+ }
533
+ return reactIs_development;
534
+ }
535
+ var hasRequiredReactIs;
536
+ function requireReactIs() {
537
+ if (hasRequiredReactIs) return reactIs.exports;
538
+ hasRequiredReactIs = 1;
539
+ if (process.env.NODE_ENV === "production") {
540
+ reactIs.exports = requireReactIs_production_min();
541
+ } else {
542
+ reactIs.exports = requireReactIs_development();
543
+ }
544
+ return reactIs.exports;
545
+ }
546
+ var reactIsExports = requireReactIs();
239
547
  function useMemo(getValue2, condition, shouldUpdate) {
240
548
  var cacheRef = React$1.useRef({});
241
549
  if (!("value" in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {
@@ -286,11 +594,11 @@ var supportRef = function supportRef2(nodeOrComponent) {
286
594
  if (isReactElement(nodeOrComponent) && ReactMajorVersion >= 19) {
287
595
  return true;
288
596
  }
289
- var type = isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
290
- if (typeof type === "function" && !((_type$prototype = type.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type.$$typeof !== ForwardRef) {
597
+ var type = reactIsExports.isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
598
+ if (typeof type === "function" && !((_type$prototype = type.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type.$$typeof !== reactIsExports.ForwardRef) {
291
599
  return false;
292
600
  }
293
- if (typeof nodeOrComponent === "function" && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== ForwardRef) {
601
+ if (typeof nodeOrComponent === "function" && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== reactIsExports.ForwardRef) {
294
602
  return false;
295
603
  }
296
604
  return true;
@@ -3783,7 +4091,7 @@ function genStyleUtils(config) {
3783
4091
  };
3784
4092
  }
3785
4093
  const PresetColors = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
3786
- const version$1 = "5.24.9";
4094
+ const version$1 = "5.25.1";
3787
4095
  function isStableColor(color) {
3788
4096
  return color >= 0 && color <= 255;
3789
4097
  }
@@ -5424,7 +5732,7 @@ const defaultReactRender = (node2, container) => {
5424
5732
  };
5425
5733
  };
5426
5734
  let unstableRender = defaultReactRender;
5427
- function getReactRender() {
5735
+ function unstableSetRender(render2) {
5428
5736
  return unstableRender;
5429
5737
  }
5430
5738
  function omit(obj, fields) {
@@ -5624,7 +5932,7 @@ const showWaveEffect = (target, info) => {
5624
5932
  holder.style.left = "0px";
5625
5933
  holder.style.top = "0px";
5626
5934
  target === null || target === void 0 ? void 0 : target.insertBefore(holder, target === null || target === void 0 ? void 0 : target.firstChild);
5627
- const reactRender2 = getReactRender();
5935
+ const reactRender2 = unstableSetRender();
5628
5936
  let unmountCallback = null;
5629
5937
  function registerUnmount() {
5630
5938
  return unmountCallback;
@@ -7349,16 +7657,25 @@ const InternalCompoundedButton = /* @__PURE__ */ React__default.forwardRef((prop
7349
7657
  autoFocus
7350
7658
  } = props, rest = __rest(props, ["loading", "prefixCls", "color", "variant", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "iconPosition", "ghost", "block", "htmlType", "classNames", "style", "autoInsertSpace", "autoFocus"]);
7351
7659
  const mergedType = type || "default";
7660
+ const {
7661
+ button
7662
+ } = React__default.useContext(ConfigContext);
7352
7663
  const [mergedColor, mergedVariant] = useMemo$1(() => {
7353
7664
  if (color && variant) {
7354
7665
  return [color, variant];
7355
7666
  }
7356
- const colorVariantPair = ButtonTypeMap[mergedType] || [];
7357
- if (danger) {
7358
- return ["danger", colorVariantPair[1]];
7667
+ if (type || danger) {
7668
+ const colorVariantPair = ButtonTypeMap[mergedType] || [];
7669
+ if (danger) {
7670
+ return ["danger", colorVariantPair[1]];
7671
+ }
7672
+ return colorVariantPair;
7673
+ }
7674
+ if ((button === null || button === void 0 ? void 0 : button.color) && (button === null || button === void 0 ? void 0 : button.variant)) {
7675
+ return [button.color, button.variant];
7359
7676
  }
7360
- return colorVariantPair;
7361
- }, [type, color, variant, danger]);
7677
+ return ["default", "outlined"];
7678
+ }, [type, color, variant, danger, button === null || button === void 0 ? void 0 : button.variant, button === null || button === void 0 ? void 0 : button.color]);
7362
7679
  const isDanger = mergedColor === "danger";
7363
7680
  const mergedColorText = isDanger ? "dangerous" : mergedColor;
7364
7681
  const {
@@ -7456,7 +7773,7 @@ const InternalCompoundedButton = /* @__PURE__ */ React__default.forwardRef((prop
7456
7773
  const linkButtonRestProps = omit(rest, ["navigate"]);
7457
7774
  const classes = classNames(prefixCls, hashId, cssVarCls, {
7458
7775
  [`${prefixCls}-${shape}`]: shape !== "default" && shape,
7459
- // line(253 - 254): Compatible with versions earlier than 5.21.0
7776
+ // Compatible with versions earlier than 5.21.0
7460
7777
  [`${prefixCls}-${mergedType}`]: mergedType,
7461
7778
  [`${prefixCls}-dangerous`]: danger,
7462
7779
  [`${prefixCls}-color-${mergedColorText}`]: mergedColorText,
@@ -1,6 +1,15 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-is"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-is","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Components={},e.React,e.reactIs,e.ReactDOM)}(this,(function(e,t,n,r){"use strict";var o=Object.defineProperty,i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,s=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const u=l(t),f=l(r);function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var h,p={exports:{}};
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Components={},e.React,e.ReactDOM)}(this,(function(e,t,n){"use strict";var r=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const l=s(t),u=s(n);function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var d,p={exports:{}};
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
5
5
  http://jedwatson.github.io/classnames
6
- */var g,v=(h||(h=1,g=p,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}g.exports?(t.default=t,g.exports=t):window.classNames=t}()),p.exports);const m=d(v);function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(null,arguments)}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var x=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),S=Symbol.for("react.fragment");var E={},k=[];function w(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){var n=k.reduce((function(e,t){return t(null!=e?e:"","warning")}),t);n&&console.error("Warning: ".concat(n))}}function O(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){var n=k.reduce((function(e,t){return t(null!=e?e:"","note")}),t);n&&console.warn("Note: ".concat(n))}}function j(){E={}}function $(e,t,n){t||E[n]||(e(!1,n),E[n]=!0)}function H(e,t){$(w,e,t)}function A(e){var t=function(e,t){if("object"!=y(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==y(t)?t:t+""}function T(e,t,n){return(t=A(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e){return e instanceof HTMLElement||e instanceof SVGElement}function N(e){var n,o=function(e){return e&&"object"===y(e)&&P(e.nativeElement)?e.nativeElement:P(e)?e:null}(e);return o||(e instanceof t.Component?null===(n=r.findDOMNode)||void 0===n?void 0:n.call(r,e):null)}H.preMessage=function(e){k.push(e)},H.resetWarned=j,H.noteOnce=function(e,t){$(O,e,t)};var _=Number(t.version.split(".")[0]),R=function(e,t){"function"==typeof e?e(t):"object"===y(e)&&e&&"current"in e&&(e.current=t)},L=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);return r.length<=1?r[0]:function(e){t.forEach((function(t){R(t,e)}))}},I=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r=function(){return L.apply(void 0,t)},o=t,i=function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))},"value"in(a=u.useRef({})).current&&!i(a.current.condition,o)||(a.current.value=r(),a.current.condition=o),a.current.value;var r,o,i,a},z=function(e){var t,r;if(!e)return!1;if(D(e)&&_>=19)return!0;var o=n.isMemo(e)?e.type.type:e.type;return!!("function"!=typeof o||null!==(t=o.prototype)&&void 0!==t&&t.render||o.$$typeof===n.ForwardRef)&&!!("function"!=typeof e||null!==(r=e.prototype)&&void 0!==r&&r.render||e.$$typeof===n.ForwardRef)};function D(e){return t.isValidElement(e)&&!((n=e)&&"object"===y(n)&&(n.$$typeof===x||n.$$typeof===C)&&n.type===S);var n}var F=function(e){if(e&&D(e)){var t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null};function G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,A(r.key),r)}}function X(e,t,n){return t&&W(e.prototype,t),n&&W(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function V(e,t){return(V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function K(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(K=function(){return!!e})()}function Q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){var t=K();return function(){var n,r=U(e);if(t){var o=U(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Q(e)}(this,n)}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function J(e,t){if(e){if("string"==typeof e)return Z(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}function ee(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||J(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var te=function(e){return+setTimeout(e,16)},ne=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(te=function(e){return window.requestAnimationFrame(e)},ne=function(e){return window.cancelAnimationFrame(e)});var re=0,oe=new Map;function ie(e){oe.delete(e)}var ae=function(e){var t=re+=1;return function n(r){if(0===r)ie(t),e();else{var o=te((function(){n(r-1)}));oe.set(t,o)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(u){l=!0,o=u}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||J(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function le(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}ae.cancel=function(e){var t=oe.get(e);return ie(e),ne(t)},"production"!==process.env.NODE_ENV&&(ae.ids=function(){return oe});var ue="data-rc-order",fe="data-rc-priority",de=new Map;function he(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function pe(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function ge(e){return Array.from((de.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!le())return null;var n=t.csp,r=t.prepend,o=t.priority,i=void 0===o?0:o,a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),c="prependQueue"===a,s=document.createElement("style");s.setAttribute(ue,a),c&&i&&s.setAttribute(fe,"".concat(i)),null!=n&&n.nonce&&(s.nonce=null==n?void 0:n.nonce),s.innerHTML=e;var l=pe(t),u=l.firstChild;if(r){if(c){var f=(t.styles||ge(l)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(ue)))return!1;var t=Number(e.getAttribute(fe)||0);return i>=t}));if(f.length)return l.insertBefore(s,f[f.length-1].nextSibling),s}l.insertBefore(s,u)}else l.appendChild(s);return s}function me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=pe(t);return(t.styles||ge(n)).find((function(n){return n.getAttribute(he(t))===e}))}function be(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=me(e,t);n&&pe(t).removeChild(n)}function ye(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=pe(n),o=ge(r),i=M(M({},n),{},{styles:o});!function(e,t){var n=de.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=ve("",t),o=r.parentNode;de.set(e,o),e.removeChild(r)}}(r,i);var a=me(t,i);if(a){var c,s,l;if(null!==(c=i.csp)&&void 0!==c&&c.nonce&&a.nonce!==(null===(s=i.csp)||void 0===s?void 0:s.nonce))a.nonce=null===(l=i.csp)||void 0===l?void 0:l.nonce;return a.innerHTML!==e&&(a.innerHTML=e),a}var u=ve(e,i);return u.setAttribute(he(i),t),u}function xe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ce(e){return e.join("%")}var Se=function(){function e(t){G(this,e),T(this,"instanceId",void 0),T(this,"cache",new Map),this.instanceId=t}return X(e,[{key:"get",value:function(e){return this.opGet(Ce(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(Ce(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),Ee="data-token-hash",ke="data-css-hash",we="__cssinjs_instance__";var Oe=u.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(ke,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[we]=t[we]||e,t[we]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(ke,"]"))).forEach((function(t){var n,o=t.getAttribute(ke);r[o]?t[we]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new Se(e)}(),defaultCache:!0});var je=function(){function e(){G(this,e),T(this,"cache",void 0),T(this,"keys",void 0),T(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return X(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce((function(e,t){var n=ce(e,2)[1];return r.internalGet(t)[1]<n?[t,r.internalGet(t)[1]]:e}),[this.keys[0],this.cacheCallTimes]),i=ce(o,1)[0];this.delete(i)}this.keys.push(t)}var a=this.cache;t.forEach((function(e,o){if(o===t.length-1)a.set(e,{value:[n,r.cacheCallTimes++]});else{var i=a.get(e);i?i.map||(i.map=new Map):a.set(e,{map:new Map}),a=a.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var n,r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),null===(n=r.value)||void 0===n?void 0:n[0];var o=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();T(je,"MAX_CACHE_SIZE",20),T(je,"MAX_CACHE_OFFSET",5);var $e=0,He=function(){function e(t){G(this,e),T(this,"derivatives",void 0),T(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=$e,0===t.length&&w(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),$e+=1}return X(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),Ae=new je;var Te=new WeakMap,Be={};var Me=new WeakMap;function Pe(e){var t=Me.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof He?t+=r.id:r&&"object"===y(r)?t+=Pe(r):t+=r})),t=se(t),Me.set(e,t)),t}function Ne(e,t){return se("".concat(t,"_").concat(Pe(e)))}var _e=le();function Re(e){return"number"==typeof e?"".concat(e,"px"):e}function Le(e,t,n){var r;if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var o=M(M({},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}),{},(T(r={},Ee,t),T(r,ke,n),r)),i=Object.keys(o).map((function(e){var t=o[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var Ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},ze=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=ce(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},De=function(e,t,n){var r={},o={};return Object.entries(e).forEach((function(e){var t,i,a=ce(e,2),c=a[0],s=a[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[c])o[c]=s;else if(!("string"!=typeof s&&"number"!=typeof s||null!=n&&null!==(i=n.ignore)&&void 0!==i&&i[c])){var l,u=Ie(c,null==n?void 0:n.prefix);r[u]="number"!=typeof s||null!=n&&null!==(l=n.unitless)&&void 0!==l&&l[c]?String(s):"".concat(s,"px"),o[c]="var(".concat(u,")")}})),[o,ze(r,t,{scope:null==n?void 0:n.scope})]},Fe="test"!==process.env.NODE_ENV&&le()?u.useLayoutEffect:u.useEffect,Ge=function(e,t){var n=u.useRef(!0);Fe((function(){return e(n.current)}),t),Fe((function(){return n.current=!1,function(){n.current=!0}}),[])},We=function(e,t){Ge((function(t){if(!t)return e()}),t)},Xe=M({},u).useInsertionEffect,Ve=Xe?function(e,t,n){return Xe((function(){return e(),t()}),n)}:function(e,t,n){u.useMemo(e,n),Ge((function(){return t(!0)}),n)},qe=void 0!==M({},u).useInsertionEffect?function(e){var t=[],n=!1;return u.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n?"production"!==process.env.NODE_ENV&&w(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect."):t.push(e)}}:function(){return function(e){e()}};var Ue=!1;const Ke="production"===process.env.NODE_ENV?function(){return!1}:function(){return Ue};if("production"!==process.env.NODE_ENV&&"undefined"!=typeof module&&module&&module.hot&&"undefined"!=typeof window){var Qe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:null;if(Qe&&"function"==typeof Qe.webpackHotUpdate){var Ye=Qe.webpackHotUpdate;Qe.webpackHotUpdate=function(){return Ue=!0,setTimeout((function(){Ue=!1}),0),Ye.apply(void 0,arguments)}}}function Ze(e,t,n,r,o){var i=u.useContext(Oe).cache,a=Ce([e].concat(ee(t))),c=qe([a]),s=Ke(),l=function(e){i.opUpdate(a,(function(t){var o=ce(t||[void 0,void 0],2),i=o[0],a=void 0===i?0:i,c=o[1],l=c;"production"!==process.env.NODE_ENV&&c&&s&&(null==r||r(l,s),l=null);var u=[a,l||n()];return e?e(u):u}))};u.useMemo((function(){l()}),[a]);var f=i.opGet(a);"production"===process.env.NODE_ENV||f||(l(),f=i.opGet(a));var d=f[1];return Ve((function(){null==o||o(d)}),(function(e){return l((function(t){var n=ce(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(d)),[r+1,i]})),function(){i.opUpdate(a,(function(t){var n=ce(t||[],2),o=n[0],s=void 0===o?0:o,l=n[1];return 0===s-1?(c((function(){!e&&i.opGet(a)||null==r||r(l,!1)})),null):[s-1,l]}))}}),[a]),d}var Je={},et="production"!==process.env.NODE_ENV?"css-dev-only-do-not-override":"css",tt=new Map;function nt(e,t){tt.set(e,(tt.get(e)||0)-1);var n=Array.from(tt.keys()),r=n.filter((function(e){return(tt.get(e)||0)<=0}));n.length-r.length>0&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(Ee,'="').concat(e,'"]')).forEach((function(e){var n;e[we]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),tt.delete(e)}))}var rt="token";function ot(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.useContext(Oe),i=o.cache.instanceId,a=o.container,c=r.salt,s=void 0===c?"":c,l=r.override,u=void 0===l?Je:l,f=r.formatToken,d=r.getComputedToken,h=r.cssVar,p=function(e,t){for(var n=Te,r=0;r<t.length;r+=1){var o=t[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(Be)||n.set(Be,e()),n.get(Be)}((function(){return Object.assign.apply(Object,[{}].concat(ee(n)))}),n),g=Pe(p),v=Pe(u),m=h?Pe(h):"",b=Ze(rt,[s,e.id,g,v,m],(function(){var t,n=d?d(p,u,e):function(e,t,n,r){var o=M(M({},n.getDerivativeToken(e)),t);return r&&(o=r(o)),o}(p,u,e,f),r=M({},n),o="";if(h){var i=ce(De(n,h.key,{prefix:h.prefix,ignore:h.ignore,unitless:h.unitless,preserve:h.preserve}),2);n=i[0],o=i[1]}var a=Ne(n,s);n._tokenKey=a,r._tokenKey=Ne(r,s);var c=null!==(t=null==h?void 0:h.key)&&void 0!==t?t:a;n._themeKey=c,function(e){tt.set(e,(tt.get(e)||0)+1)}(c);var l="".concat(et,"-").concat(se(a));return n._hashId=l,[n,l,r,o,(null==h?void 0:h.key)||""]}),(function(e){nt(e[0]._themeKey,i)}),(function(e){var t=ce(e,4),n=t[0],r=t[3];if(h&&r){var o=ye(r,se("css-variables-".concat(n._themeKey)),{mark:ke,prepend:"queue",attachTo:a,priority:-999});o[we]=i,o.setAttribute(Ee,n._themeKey)}}));return b}var it={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},at="comm",ct="rule",st="decl",lt=Math.abs,ut=String.fromCharCode;function ft(e){return e.trim()}function dt(e,t,n){return e.replace(t,n)}function ht(e,t,n){return e.indexOf(t,n)}function pt(e,t){return 0|e.charCodeAt(t)}function gt(e,t,n){return e.slice(t,n)}function vt(e){return e.length}function mt(e,t){return t.push(e),e}var bt=1,yt=1,xt=0,Ct=0,St=0,Et="";function kt(e,t,n,r,o,i,a,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:bt,column:yt,length:a,return:"",siblings:c}}function wt(){return St=Ct<xt?pt(Et,Ct++):0,yt++,10===St&&(yt=1,bt++),St}function Ot(){return pt(Et,Ct)}function jt(){return Ct}function $t(e,t){return gt(Et,e,t)}function Ht(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function At(e){return ft($t(Ct-1,Mt(91===e?e+2:40===e?e+1:e)))}function Tt(e){for(;(St=Ot())&&St<33;)wt();return Ht(e)>2||Ht(St)>3?"":" "}function Bt(e,t){for(;--t&&wt()&&!(St<48||St>102||St>57&&St<65||St>70&&St<97););return $t(e,jt()+(t<6&&32==Ot()&&32==wt()))}function Mt(e){for(;wt();)switch(St){case e:return Ct;case 34:case 39:34!==e&&39!==e&&Mt(St);break;case 40:41===e&&Mt(e);break;case 92:wt()}return Ct}function Pt(e,t){for(;wt()&&e+St!==57&&(e+St!==84||47!==Ot()););return"/*"+$t(t,Ct-1)+"*"+ut(47===e?e:wt())}function Nt(e){for(;!Ht(Ot());)wt();return $t(e,Ct)}function _t(e){return function(e){return Et="",e}(Rt("",null,null,null,[""],e=function(e){return bt=yt=1,xt=vt(Et=e),Ct=0,[]}(e),0,[0],e))}function Rt(e,t,n,r,o,i,a,c,s){for(var l=0,u=0,f=a,d=0,h=0,p=0,g=1,v=1,m=1,b=0,y="",x=o,C=i,S=r,E=y;v;)switch(p=b,b=wt()){case 40:if(108!=p&&58==pt(E,f-1)){-1!=ht(E+=dt(At(b),"&","&\f"),"&\f",lt(l?c[l-1]:0))&&(m=-1);break}case 34:case 39:case 91:E+=At(b);break;case 9:case 10:case 13:case 32:E+=Tt(p);break;case 92:E+=Bt(jt()-1,7);continue;case 47:switch(Ot()){case 42:case 47:mt(It(Pt(wt(),jt()),t,n,s),s),5!=Ht(p||1)&&5!=Ht(Ot()||1)||!vt(E)||" "===gt(E,-1,void 0)||(E+=" ");break;default:E+="/"}break;case 123*g:c[l++]=vt(E)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:-1==m&&(E=dt(E,/\f/g,"")),h>0&&(vt(E)-f||0===g&&47===p)&&mt(h>32?zt(E+";",r,n,f-1,s):zt(dt(E," ","")+";",r,n,f-2,s),s);break;case 59:E+=";";default:if(mt(S=Lt(E,t,n,l,u,o,c,y,x=[],C=[],f,i),i),123===b)if(0===u)Rt(E,t,S,S,x,i,f,c,C);else{switch(d){case 99:if(110===pt(E,3))break;case 108:if(97===pt(E,2))break;default:u=0;case 100:case 109:case 115:}u?Rt(e,S,S,r&&mt(Lt(e,S,S,0,0,o,c,y,o,x=[],f,C),C),o,C,f,c,r?x:C):Rt(E,S,S,S,[""],C,0,c,C)}}l=u=h=0,g=m=1,y=E="",f=a;break;case 58:f=1+vt(E),h=p;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==(St=Ct>0?pt(Et,--Ct):0,yt--,10===St&&(yt=1,bt--),St))continue;switch(E+=ut(b),b*g){case 38:m=u>0?1:(E+="\f",-1);break;case 44:c[l++]=(vt(E)-1)*m,m=1;break;case 64:45===Ot()&&(E+=At(wt())),d=Ot(),u=f=vt(y=E+=Nt(jt())),b++;break;case 45:45===p&&2==vt(E)&&(g=0)}}return i}function Lt(e,t,n,r,o,i,a,c,s,l,u,f){for(var d=o-1,h=0===o?i:[""],p=function(e){return e.length}(h),g=0,v=0,m=0;g<r;++g)for(var b=0,y=gt(e,d+1,d=lt(v=a[g])),x=e;b<p;++b)(x=ft(v>0?h[b]+" "+y:dt(y,/&\f/g,h[b])))&&(s[m++]=x);return kt(e,t,n,0===o?ct:c,s,l,u,f)}function It(e,t,n,r){return kt(e,t,n,at,ut(St),gt(e,2,-2),0,r)}function zt(e,t,n,r,o){return kt(e,t,n,st,gt(e,0,r),gt(e,r+1,-1),r,o)}function Dt(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Ft(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case st:return e.return=e.return||e.value;case at:return"";case"@keyframes":return e.return=e.value+"{"+Dt(e.children,r)+"}";case ct:if(!vt(e.value=e.props.join(",")))return""}return vt(n=Dt(e.children,r))?e.return=e.value+"{"+n+"}":""}function Gt(e,t){var n=t.path,r=t.parentSelectors;H(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(e).concat(r.length?" Selector: ".concat(r.join(" | ")):""))}var Wt,Xt=function(e,t,n){if("content"===e){("string"!=typeof t||-1===["normal","none","initial","inherit","unset"].indexOf(t)&&!/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0)))&&Gt("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(t,"\"'`."),n)}},Vt=function(e,t,n){"animation"===e&&n.hashId&&"none"!==t&&Gt("You seem to be using hashed animation '".concat(t,"', in which case 'animationName' with Keyframe as value is recommended."),n)},qt="data-ant-cssinjs-cache-path",Ut="_FILE_STYLE__",Kt=!0;function Qt(e){return function(){if(!Wt&&(Wt={},le())){var e=document.createElement("div");e.className=qt,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=ce(e.split(":"),2),n=t[0],r=t[1];Wt[n]=r}));var n,r=document.querySelector("style[".concat(qt,"]"));r&&(Kt=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!Wt[e]}var Yt="_skip_check_",Zt="_multi_value_";function Jt(e){return Dt(_t(e),Ft).replace(/\{%%%\:[^;];}/g,";")}function en(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(ee(n.slice(1))).join(" ")})).join(",")}var tn=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,a=r.parentSelectors,c=n.hashId,s=n.layer,l=n.path,u=n.hashPriority,f=n.transformers,d=void 0===f?[]:f,h=n.linters,p=void 0===h?[]:h,g="",v={};function m(t){var r=t.getName(c);if(!v[r]){var o=ce(e(t.style,n,{root:!1,parentSelectors:a}),1)[0];v[r]="@keyframes ".concat(t.getName(c)).concat(o)}}var b=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return b.forEach((function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)g+="".concat(r,"\n");else if(r._keyframe)m(r);else{var s=d.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(s).forEach((function(t){var r=s[t];if("object"!==y(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===y(e)&&e&&(Yt in e||Zt in e)}(r)){let e=function(e,t){"production"===process.env.NODE_ENV||"object"===y(r)&&null!=r&&r[Yt]||[Xt,Vt].concat(ee(p)).forEach((function(n){return n(e,t,{path:l,hashId:c,parentSelectors:a})}));var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),o=t;it[e]||"number"!=typeof o||0===o||(o="".concat(o,"px")),"animationName"===e&&null!=t&&t._keyframe&&(m(t),o=t.getName(c)),g+="".concat(n,":").concat(o,";")};var f,d=null!==(f=null==r?void 0:r.value)&&void 0!==f?f:r;"object"===y(r)&&null!=r&&r[Zt]&&Array.isArray(d)?d.forEach((function(n){e(t,n)})):e(t,d)}else{var h=!1,b=t.trim(),x=!1;(o||i)&&c?b.startsWith("@")?h=!0:b=en("&"===b?"":t,c,u):!o||c||"&"!==b&&""!==b||(b="",x=!0);var C=ce(e(r,n,{root:x,injectHash:h,parentSelectors:[].concat(ee(a),[b])}),2),S=C[0],E=C[1];v=M(M({},v),E),g+="".concat(b).concat(S)}}))}})),o?s&&(g&&(g="@layer ".concat(s.name," {").concat(g,"}")),s.dependencies&&(v["@layer ".concat(s.name)]=s.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(s.name,";")})).join("\n"))):g="{".concat(g,"}"),[g,v]};function nn(e,t){return se("".concat(e.join("%")).concat(t))}function rn(){return null}var on="style";function an(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,c=e.clientOnly,s=e.order,l=void 0===s?0:s,f=u.useContext(Oe),d=f.autoClear,h=f.mock,p=f.defaultCache,g=f.hashPriority,v=f.container,m=f.ssrInline,y=f.transformers,x=f.linters,C=f.cache,S=f.layer,E=n._tokenKey,k=[E];S&&k.push("layer"),k.push.apply(k,ee(r));var w=_e;"production"!==process.env.NODE_ENV&&void 0!==h&&(w="client"===h);var O=Ze(on,k,(function(){var e=k.join("|");if(Qt(e)){var n=function(e){var t=Wt[e],n=null;if(t&&le())if(Kt)n=Ut;else{var r=document.querySelector("style[".concat(ke,'="').concat(Wt[e],'"]'));r?n=r.innerHTML:delete Wt[e]}return[n,t]}(e),a=ce(n,2),s=a[0],u=a[1];if(s)return[s,E,u,{},c,l]}var f=t(),d=ce(tn(f,{hashId:o,hashPriority:g,layer:S?i:void 0,path:r.join("-"),transformers:y,linters:x}),2),h=d[0],p=d[1],v=Jt(h),m=nn(k,v);return[v,E,m,p,c,l]}),(function(e,t){var n=ce(e,3)[2];(t||d)&&_e&&be(n,{mark:ke})}),(function(e){var t=ce(e,4),n=t[0];t[1];var r=t[2],o=t[3];if(w&&n!==Ut){var i={mark:ke,prepend:!S&&"queue",attachTo:v,priority:l},c="function"==typeof a?a():a;c&&(i.csp={nonce:c});var s=[],u=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?s.push(e):u.push(e)})),s.forEach((function(e){ye(Jt(o[e]),"_layer-".concat(e),M(M({},i),{},{prepend:!0}))}));var f=ye(n,r,i);f[we]=C.instanceId,f.setAttribute(Ee,E),"production"!==process.env.NODE_ENV&&f.setAttribute("data-cache-path",k.join("|")),u.forEach((function(e){ye(Jt(o[e]),"_effect-".concat(e),i)}))}})),j=ce(O,3),$=j[0],H=j[1],A=j[2];return function(e){var t,n;m&&!w&&p?t=u.createElement("style",b({},(T(n={},Ee,H),T(n,ke,A),n),{dangerouslySetInnerHTML:{__html:$}})):t=u.createElement(rn,null);return u.createElement(u.Fragment,null,t,e)}}var cn,sn="cssVar";function ln(e){return e.notSplit=!0,e}T(cn={},on,(function(e,t,n){var r=ce(e,6),o=r[0],i=r[1],a=r[2],c=r[3],s=r[4],l=r[5],u=(n||{}).plain;if(s)return null;var f=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(l)};return f=Le(o,i,a,d,u),c&&Object.keys(c).forEach((function(e){if(!t[e]){t[e]=!0;var n=Le(Jt(c[e]),i,"_effect-".concat(e),d,u);e.startsWith("@layer")?f=n+f:f+=n}})),[l,a,f]})),T(cn,rt,(function(e,t,n){var r=ce(e,5),o=r[2],i=r[3],a=r[4],c=(n||{}).plain;if(!i)return null;var s=o._tokenKey;return[-999,s,Le(i,a,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},c)]})),T(cn,sn,(function(e,t,n){var r=ce(e,4),o=r[1],i=r[2],a=r[3],c=(n||{}).plain;if(!o)return null;return[-999,i,Le(o,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},c)]})),ln(["borderTop","borderBottom"]),ln(["borderTop"]),ln(["borderBottom"]),ln(["borderLeft","borderRight"]),ln(["borderLeft"]),ln(["borderRight"]);var un=t.createContext({});function fn(){}let dn=null;let hn=fn;"production"!==process.env.NODE_ENV&&(hn=(e,t,n)=>{H(e,`[antd: ${t}] ${n}`),"test"===process.env.NODE_ENV&&(dn=null,j())});const pn=u.createContext({}),gn="production"!==process.env.NODE_ENV?e=>{const{strict:t}=u.useContext(pn),n=(n,r,o)=>{if(!n)if(!1===t&&"deprecated"===r){const t=dn;dn||(dn={}),dn[e]=dn[e]||[],dn[e].includes(o||"")||dn[e].push(o||""),t||console.warn("[antd] There exists deprecated usage in your code:",dn)}else"production"!==process.env.NODE_ENV&&hn(n,e,o)};return n.deprecated=(e,t,r,o)=>{n(e,"deprecated",`\`${t}\` is deprecated. Please use \`${r}\` instead.${o?` ${o}`:""}`)},n}:()=>{const e=()=>{};return e.deprecated=fn,e},vn=hn,mn={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"},bn=Object.assign(Object.assign({},mn),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'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}),yn=Math.round;function xn(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map((e=>parseFloat(e)));for(let o=0;o<3;o+=1)r[o]=t(r[o]||0,n[o]||"",o);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const Cn=(e,t,n)=>0===n?e:e/100;function Sn(e,t){const n=t||255;return e>n?n:e<0?0:e}class En{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(T(this,"isValid",!0),T(this,"r",0),T(this,"g",0),T(this,"b",0),T(this,"a",1),T(this,"_h",void 0),T(this,"_s",void 0),T(this,"_l",void 0),T(this,"_v",void 0),T(this,"_max",void 0),T(this,"_min",void 0),T(this,"_brightness",void 0),e)if("string"==typeof e){let t=function(e){return n.startsWith(e)};const n=e.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):t("rgb")?this.fromRgbString(n):t("hsl")?this.fromHslString(n):(t("hsv")||t("hsb"))&&this.fromHsvString(n)}else if(e instanceof En)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=Sn(e.r),this.g=Sn(e.g),this.b=Sn(e.b),this.a="number"==typeof e.a?Sn(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e));this.fromHsv(e)}else;}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:yn(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){const e=this.getMax()-this.getMin();this._s=0===e?0:e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){const n=this._c(e),r=t/100,o=e=>(n[e]-this[e])*r+this[e],i={r:yn(o("r")),g:yn(o("g")),b:yn(o("b")),a:yn(100*o("a"))/100};return this._c(i)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>yn((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;const r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){const t=yn(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=yn(100*this.getSaturation()),n=yn(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){const r=this.clone();return r[e]=Sn(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof r?r:1,t<=0){const e=yn(255*n);this.r=e,this.g=e,this.b=e}let o=0,i=0,a=0;const c=e/60,s=(1-Math.abs(2*n-1))*t,l=s*(1-Math.abs(c%2-1));c>=0&&c<1?(o=s,i=l):c>=1&&c<2?(o=l,i=s):c>=2&&c<3?(i=s,a=l):c>=3&&c<4?(i=l,a=s):c>=4&&c<5?(o=l,a=s):c>=5&&c<6&&(o=s,a=l);const u=n-s/2;this.r=yn(255*(o+u)),this.g=yn(255*(i+u)),this.b=yn(255*(a+u))}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof r?r:1;const o=yn(255*n);if(this.r=o,this.g=o,this.b=o,t<=0)return;const i=e/60,a=Math.floor(i),c=i-a,s=yn(n*(1-t)*255),l=yn(n*(1-t*c)*255),u=yn(n*(1-t*(1-c))*255);switch(a){case 0:this.g=u,this.b=s;break;case 1:this.r=l,this.b=s;break;case 2:this.r=s,this.b=u;break;case 3:this.r=s,this.g=l;break;case 4:this.r=u,this.g=s;break;default:this.g=s,this.b=l}}fromHsvString(e){const t=xn(e,Cn);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=xn(e,Cn);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=xn(e,((e,t)=>t.includes("%")?yn(e/100*255):e));this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var kn=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function wn(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function On(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100);var r}function jn(e,t,n){var r;return r=n?e.v+.05*t:e.v-.15*t,r=Math.max(0,Math.min(1,r)),Math.round(100*r)/100}function $n(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=new En(e),o=r.toHsv(),i=5;i>0;i-=1){var a=new En({h:wn(o,i,!0),s:On(o,i,!0),v:jn(o,i,!0)});n.push(a)}n.push(r);for(var c=1;c<=4;c+=1){var s=new En({h:wn(o,c),s:On(o,c),v:jn(o,c)});n.push(s)}return"dark"===t.theme?kn.map((function(e){var r=e.index,o=e.amount;return new En(t.backgroundColor||"#141414").mix(n[r],o).toHexString()})):n.map((function(e){return e.toHexString()}))}var Hn={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"},An=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];An.primary=An[5];var Tn=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Tn.primary=Tn[5];var Bn=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Bn.primary=Bn[5];var Mn=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Mn.primary=Mn[5];var Pn=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Pn.primary=Pn[5];var Nn=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Nn.primary=Nn[5];var _n=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];_n.primary=_n[5];var Rn=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Rn.primary=Rn[5];var Ln=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Ln.primary=Ln[5];var In=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];In.primary=In[5];var zn=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];zn.primary=zn[5];var Dn=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Dn.primary=Dn[5];var Fn=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];Fn.primary=Fn[5];var Gn={red:An,volcano:Tn,orange:Bn,gold:Mn,yellow:Pn,lime:Nn,green:_n,cyan:Rn,blue:Ln,geekblue:In,purple:zn,magenta:Dn,grey:Fn};function Wn(e){return(e+8)/e}const Xn=e=>{const t=function(e){const t=Array.from({length:10}).map(((t,n)=>{const r=n-1,o=e*Math.pow(Math.E,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:Wn(e)})))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],a=n[2],c=r[1],s=r[0],l=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:l,lineHeightSM:s,fontHeight:Math.round(c*o),fontHeightLG:Math.round(l*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};const Vn=(e,t)=>new En(e).setA(t).toRgbString(),qn=(e,t)=>new En(e).darken(t).toHexString(),Un=e=>{const t=$n(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Kn=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Vn(r,.88),colorTextSecondary:Vn(r,.65),colorTextTertiary:Vn(r,.45),colorTextQuaternary:Vn(r,.25),colorFill:Vn(r,.15),colorFillSecondary:Vn(r,.06),colorFillTertiary:Vn(r,.04),colorFillQuaternary:Vn(r,.02),colorBgSolid:Vn(r,1),colorBgSolidHover:Vn(r,.75),colorBgSolidActive:Vn(r,.95),colorBgLayout:qn(n,4),colorBgContainer:qn(n,0),colorBgElevated:qn(n,0),colorBgSpotlight:Vn(r,.85),colorBgBlur:"transparent",colorBorder:qn(n,15),colorBorderSecondary:qn(n,6)}};const Qn=(Yn=function(e){Hn.pink=Hn.magenta,Gn.pink=Gn.magenta;const t=Object.keys(mn).map((t=>{const n=e[t]===Hn[t]?Gn[t]:$n(e[t]);return Array.from({length:10},(()=>1)).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:c,colorPrimary:s,colorBgBase:l,colorTextBase:u}=e,f=n(s),d=n(o),h=n(i),p=n(a),g=n(c),v=r(l,u),m=n(e.colorLink||e.colorInfo),b=new En(p[1]).mix(new En(p[3]),50).toHexString();return Object.assign(Object.assign({},v),{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:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBgFilledHover:b,colorErrorBgActive:p[3],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:m[4],colorLink:m[6],colorLinkActive:m[7],colorBgMask:new En("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:Un,generateNeutralColorPalettes:Kn})),Xn(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}})(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},(e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}})(r))}(e))},Zn=Array.isArray(Yn)?Yn:[Yn],Ae.has(Zn)||Ae.set(Zn,new He(Zn)),Ae.get(Zn));var Yn,Zn;const Jn={token:bn,override:{override:bn},hashed:!0},er=t.createContext(Jn),tr="ant",nr="anticon",rr=u.createContext({getPrefixCls:(e,t)=>t||(e?`${tr}-${e}`:tr),iconPrefixCls:nr}),{Consumer:or}=rr,ir={};const ar=u.createContext(!1),cr=u.createContext(void 0);var sr=X((function e(){G(this,e)})),lr="CALC_UNIT",ur=new RegExp(lr,"g");function fr(e){return"number"==typeof e?"".concat(e).concat(lr):e}var dr=function(e){q(n,e);var t=Y(n);function n(e,r){var o;G(this,n),T(Q(o=t.call(this)),"result",""),T(Q(o),"unitlessCssVar",void 0),T(Q(o),"lowPriority",void 0);var i=y(e);return o.unitlessCssVar=r,e instanceof n?o.result="(".concat(e.result,")"):"number"===i?o.result=fr(e):"string"===i&&(o.result=e),o}return X(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(fr(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(fr(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return"boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(r=!1),this.result=this.result.replace(ur,r?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),n}(sr),hr=function(e){q(n,e);var t=Y(n);function n(e){var r;return G(this,n),T(Q(r=t.call(this)),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return X(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(sr),pr=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function gr(e){var t=u.useRef();t.current=e;var n=u.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}function vr(e){var t=u.useRef(!1),n=ce(u.useState(e),2),r=n[0],o=n[1];return u.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[r,function(e,n){n&&t.current||o(e)}]}function mr(e){return void 0!==e}function br(e,t,n,r){var o=M({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach((function(t){var n,r=ce(t,2),i=r[0],a=r[1];("production"!==process.env.NODE_ENV&&H(!(null!=o&&o[i]),"Component Token `".concat(String(i),"` of ").concat(String(e)," is deprecated. Please use `").concat(String(a),"` instead.")),null!=o&&o[i]||null!=o&&o[a])&&(null!==(n=o[a])&&void 0!==n||(o[a]=null==o?void 0:o[i]))}));var i=M(M({},n),o);return Object.keys(i).forEach((function(e){i[e]===t[e]&&delete i[e]})),i}var yr="production"!==process.env.NODE_ENV||"undefined"!=typeof CSSINJS_STATISTIC,xr=!0;function Cr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!yr)return Object.assign.apply(Object,[{}].concat(t));xr=!1;var r={};return t.forEach((function(e){"object"===y(e)&&Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){return e[t]}})}))})),xr=!0,r}var Sr={};function Er(){}function kr(e,t,n){var r;return"function"==typeof n?n(Cr(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}}var wr=new(function(){function e(){G(this,e),T(this,"map",new Map),T(this,"objectIDMap",new WeakMap),T(this,"nextID",0),T(this,"lastAccessBeat",new Map),T(this,"accessBeat",0)}return X(e,[{key:"set",value:function(e,t){this.clear();var n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){var t=this;return e.map((function(e){return e&&"object"===y(e)?"obj_".concat(t.getObjectID(e)):"".concat(y(e),"_").concat(e)})).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach((function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))})),this.accessBeat=0}}}]),e}());var Or=function(){return{}};const jr=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function $r(e){return e>=0&&e<=255}function Hr(e,t){const{r:n,g:r,b:o,a:i}=new En(e).toRgb();if(i<1)return e;const{r:a,g:c,b:s}=new En(t).toRgb();for(let l=.01;l<=1;l+=.01){const e=Math.round((n-a*(1-l))/l),t=Math.round((r-c*(1-l))/l),i=Math.round((o-s*(1-l))/l);if($r(e)&&$r(t)&&$r(i))return new En({r:e,g:t,b:i,a:Math.round(100*l)/100}).toRgbString()}return new En({r:n,g:r,b:o,a:1}).toRgbString()}function Ar(e){const{override:t}=e,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["override"]),r=Object.assign({},t);Object.keys(bn).forEach((e=>{delete r[e]}));const o=Object.assign(Object.assign({},n),r),i=1200,a=1600;if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Hr(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Hr(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Hr(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:3*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Hr(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:i,screenXLMin:i,screenXLMax:1599,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new En("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new En("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new En("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",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)"}),r)}var Tr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Br={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},Mr={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},Pr={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},Nr=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=Tr(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=Ar(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=Tr(n,["theme"]);let i=o;r&&(i=Nr(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function _r(){const{token:e,hashed:n,theme:r,override:o,cssVar:i}=t.useContext(er),a=`5.24.9-${n||""}`,c=r||Qn,[s,l,u]=ot(c,[bn,e],{salt:a,override:o,getComputedToken:Nr,formatToken:Ar,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:Br,ignore:Mr,preserve:Pr}});return[c,u,n?l:"",s,i]}const Rr=(e,t)=>({outline:`${Re(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:null!=t?t:1,transition:"outline-offset 0s, outline 0s"}),Lr=(e,t)=>({"&:focus-visible":Object.assign({},Rr(e,t))}),{genStyleHooks:Ir,genComponentStyleHook:zr,genSubStyleComponent:Dr}=function(e){var n=e.useCSP,r=void 0===n?Or:n,o=e.useToken,i=e.usePrefix,a=e.getResetStyles,c=e.getCommonStyle,s=e.getCompUnitless;function l(n,s,l){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},f=Array.isArray(n)?n:[n,n],d=ce(f,1)[0],h=f.join("-"),p=e.layer||{name:"antd"};return function(e){var n,f,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,v=o(),m=v.theme,b=v.realToken,x=v.hashId,C=v.token,S=v.cssVar,E=i(),k=E.rootPrefixCls,w=E.iconPrefixCls,O=r(),j=S?"css":"js",$=(n=function(){var e=new Set;return S&&Object.keys(u.unitless||{}).forEach((function(t){e.add(Ie(t,S.prefix)),e.add(Ie(t,pr(d,S.prefix)))})),function(e,t){var n="css"===e?dr:hr;return function(e){return new n(e,t)}}(j,e)},f=[j,d,null==S?void 0:S.prefix],t.useMemo((function(){var e=wr.get(f);if(e)return e;var t=n();return wr.set(f,t),t}),f)),H=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"max(".concat(t.map((function(e){return Re(e)})).join(","),")")},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"min(".concat(t.map((function(e){return Re(e)})).join(","),")")}}}(j),A=H.max,T=H.min,B={theme:m,token:C,hashId:x,nonce:function(){return O.nonce},clientOnly:u.clientOnly,layer:p,order:u.order||-999};"function"==typeof a&&an(M(M({},B),{},{clientOnly:!1,path:["Shared",k]}),(function(){return a(C,{prefix:{rootPrefixCls:k,iconPrefixCls:w},csp:O})}));var P=an(M(M({},B),{},{path:[h,e,w]}),(function(){if(!1===u.injectStyle)return[];var t=function(e){var t,n=e,r=Er;return yr&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:function(e,n){var r;return xr&&(null===(r=t)||void 0===r||r.add(n)),e[n]}}),r=function(e,n){var r;Sr[e]={global:Array.from(t),component:M(M({},null===(r=Sr[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:r}}(C),n=t.token,r=t.flush,o=kr(d,b,l),i=".".concat(e),a=br(d,b,o,{deprecatedTokens:u.deprecatedTokens});S&&o&&"object"===y(o)&&Object.keys(o).forEach((function(e){o[e]="var(".concat(Ie(e,pr(d,S.prefix)),")")}));var f=Cr(n,{componentCls:i,prefixCls:e,iconCls:".".concat(w),antCls:".".concat(k),calc:$,max:A,min:T},S?o:a),h=s(f,{hashId:x,prefixCls:e,rootPrefixCls:k,iconPrefixCls:w});r(d,a);var p="function"==typeof c?c(f,e,g,u.resetFont):null;return[!1===u.resetStyle?null:p,h]}));return[P,x]}}return{genStyleHooks:function(e,n,r,i){var a=Array.isArray(e)?e[0]:e;function c(e){return"".concat(String(a)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var u=(null==i?void 0:i.unitless)||{},f=M(M({},"function"==typeof s?s(e):{}),{},T({},c("zIndexPopup"),!0));Object.keys(u).forEach((function(e){f[c(e)]=u[e]}));var d=M(M({},i),{},{unitless:f,prefixToken:c}),h=l(e,n,r,d),p=function(e,n,r){var i=r.unitless,a=r.injectStyle,c=void 0===a||a,s=r.prefixToken,l=r.ignore,u=function(a){var c=a.rootCls,u=a.cssVar,f=void 0===u?{}:u,d=o().realToken;return function(e,n){var r=e.key,o=e.prefix,i=e.unitless,a=e.ignore,c=e.token,s=e.scope,l=void 0===s?"":s,u=t.useContext(Oe),f=u.cache.instanceId,d=u.container,h=c._tokenKey,p=[].concat(ee(e.path),[r,l,h]);Ze(sn,p,(function(){var e=n(),t=ce(De(e,r,{prefix:o,unitless:i,ignore:a,scope:l}),2),c=t[0],s=t[1];return[c,s,nn(p,s),r]}),(function(e){var t=ce(e,3)[2];_e&&be(t,{mark:ke})}),(function(e){var t=ce(e,3),n=t[1],o=t[2];if(n){var i=ye(n,o,{mark:ke,prepend:"queue",attachTo:d,priority:-999});i[we]=f,i.setAttribute(Ee,r)}}))}({path:[e],prefix:f.prefix,key:f.key,unitless:i,ignore:l,token:d,scope:c},(function(){var t=kr(e,d,n),o=br(e,d,t,{deprecatedTokens:null==r?void 0:r.deprecatedTokens});return Object.keys(t).forEach((function(e){o[s(e)]=o[e],delete o[e]})),o})),null},f=function(n){var r=o().cssVar;return[function(o){return c&&r?t.createElement(t.Fragment,null,t.createElement(u,{rootCls:n,cssVar:r,component:e}),o):o},null==r?void 0:r.key]};return f}(a,r,d);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=ce(h(e,t),2)[1],r=ce(p(t),2);return[r[0],n,r[1]]}},genSubStyleComponent:function(e,t,n){var r=l(e,t,n,M({resetStyle:!1,order:-998},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})),o=function(e){var t=e.prefixCls,n=e.rootCls;return r(t,void 0===n?t:n),null};return"production"!==process.env.NODE_ENV&&(o.displayName="SubStyle_".concat(String(Array.isArray(e)?e.join("."):e))),o},genComponentStyleHook:l}}({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:n}=t.useContext(rr);return{rootPrefixCls:e(),iconPrefixCls:n}},useToken:()=>{const[e,t,n,r,o]=_r();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{const{csp:e}=t.useContext(rr);return null!=e?e:{}},getResetStyles:(e,t)=>{var n;const r=(e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}))(e);return[r,{"&":r},(o=null!==(n=null==t?void 0:t.prefix.iconPrefixCls)&&void 0!==n?n:nr,{[`.${o}`]:Object.assign(Object.assign({},{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"}}),{[`.${o} .${o}-icon`]:{display:"block"}})})];var o},getCommonStyle:(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let c={};return!1!==r&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},c),a),{[o]:a})}},getCompUnitless:()=>Br});var Fr=u.createContext({}),Gr=function(e){q(n,e);var t=Y(n);function n(){return G(this,n),t.apply(this,arguments)}return X(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component);var Wr="none",Xr="appear",Vr="enter",qr="leave",Ur="none",Kr="prepare",Qr="start",Yr="active",Zr="end",Jr="prepared";function eo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var to,no,ro,oo=(to=le(),no="undefined"!=typeof window?window:{},ro={animationend:eo("Animation","AnimationEnd"),transitionend:eo("Transition","TransitionEnd")},to&&("AnimationEvent"in no||delete ro.animationend.animation,"TransitionEvent"in no||delete ro.transitionend.transition),ro),io={};if(le()){var ao=document.createElement("div");io=ao.style}var co={};function so(e){if(co[e])return co[e];var t=oo[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in io)return co[e]=t[i],co[e]}return""}var lo=so("animationend"),uo=so("transitionend"),fo=!(!lo||!uo),ho=lo||"animationend",po=uo||"transitionend";function go(e,t){return e?"object"===y(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}var vo=le()?t.useLayoutEffect:t.useEffect;var mo=[Kr,Qr,Yr,Zr],bo=[Kr,Jr],yo=!1;function xo(e){return e===Yr||e===Zr}const Co=function(e,t,n){var r=ce(vr(Ur),2),o=r[0],i=r[1],a=function(){var e=u.useRef(null);function t(){ae.cancel(e.current)}return u.useEffect((function(){return function(){t()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=ae((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),c=ce(a,2),s=c[0],l=c[1];var f=t?bo:mo;return vo((function(){if(o!==Ur&&o!==Zr){var e=f.indexOf(o),t=f[e+1],r=n(o);r===yo?i(t,!0):t&&s((function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,o]),u.useEffect((function(){return function(){l()}}),[]),[function(){i(Kr,!0)},o]};function So(e,n,r,o){var i,a,c,s=o.motionEnter,l=void 0===s||s,f=o.motionAppear,d=void 0===f||f,h=o.motionLeave,p=void 0===h||h,g=o.motionDeadline,v=o.motionLeaveImmediately,m=o.onAppearPrepare,b=o.onEnterPrepare,y=o.onLeavePrepare,x=o.onAppearStart,C=o.onEnterStart,S=o.onLeaveStart,E=o.onAppearActive,k=o.onEnterActive,w=o.onLeaveActive,O=o.onAppearEnd,j=o.onEnterEnd,$=o.onLeaveEnd,H=o.onVisibleChanged,A=ce(vr(),2),B=A[0],P=A[1],N=(i=Wr,a=ce(u.useReducer((function(e){return e+1}),0),2)[1],c=u.useRef(i),[gr((function(){return c.current})),gr((function(e){c.current="function"==typeof e?e(c.current):e,a()}))]),_=ce(N,2),R=_[0],L=_[1],I=ce(vr(null),2),z=I[0],D=I[1],F=R(),G=t.useRef(!1),W=t.useRef(null);function X(){return r()}var V=t.useRef(!1);function q(){L(Wr),D(null,!0)}var U=gr((function(e){var t=R();if(t!==Wr){var n=X();if(!e||e.deadline||e.target===n){var r,o=V.current;t===Xr&&o?r=null==O?void 0:O(n,e):t===Vr&&o?r=null==j?void 0:j(n,e):t===qr&&o&&(r=null==$?void 0:$(n,e)),o&&!1!==r&&q()}}})),K=function(e){var n=t.useRef();function r(t){t&&(t.removeEventListener(po,e),t.removeEventListener(ho,e))}return u.useEffect((function(){return function(){r(n.current)}}),[]),[function(t){n.current&&n.current!==t&&r(n.current),t&&t!==n.current&&(t.addEventListener(po,e),t.addEventListener(ho,e),n.current=t)},r]}(U),Q=ce(K,1)[0],Y=function(e){switch(e){case Xr:return T(T(T({},Kr,m),Qr,x),Yr,E);case Vr:return T(T(T({},Kr,b),Qr,C),Yr,k);case qr:return T(T(T({},Kr,y),Qr,S),Yr,w);default:return{}}},Z=u.useMemo((function(){return Y(F)}),[F]),J=ce(Co(F,!e,(function(e){if(e===Kr){var t=Z[Kr];return t?t(X()):yo}var n;te in Z&&D((null===(n=Z[te])||void 0===n?void 0:n.call(Z,X(),null))||null);return te===Yr&&F!==Wr&&(Q(X()),g>0&&(clearTimeout(W.current),W.current=setTimeout((function(){U({deadline:!0})}),g))),te===Jr&&q(),true})),2),ee=J[0],te=J[1],ne=xo(te);V.current=ne;var re=t.useRef(null);vo((function(){if(!G.current||re.current!==n){P(n);var t,r=G.current;G.current=!0,!r&&n&&d&&(t=Xr),r&&n&&l&&(t=Vr),(r&&!n&&p||!r&&v&&!n&&p)&&(t=qr);var o=Y(t);t&&(e||o[Kr])?(L(t),ee()):L(Wr),re.current=n}}),[n]),t.useEffect((function(){(F===Xr&&!d||F===Vr&&!l||F===qr&&!p)&&L(Wr)}),[d,l,p]),t.useEffect((function(){return function(){G.current=!1,clearTimeout(W.current)}}),[]);var oe=u.useRef(!1);t.useEffect((function(){B&&(oe.current=!0),void 0!==B&&F===Wr&&((oe.current||B)&&(null==H||H(B)),oe.current=!0)}),[B,F]);var ie=z;return Z[Kr]&&te===Qr&&(ie=M({transition:"none"},ie)),[F,te,ie,null!=B?B:n]}const Eo=function(e){var n=e;"object"===y(e)&&(n=e.transitionSupport);var r=u.forwardRef((function(e,r){var o=e.visible,i=void 0===o||o,a=e.removeOnLeave,c=void 0===a||a,s=e.forceRender,l=e.children,f=e.motionName,d=e.leavedClassName,h=e.eventProps,p=function(e,t){return!(!e.motionName||!n||!1===t)}(e,u.useContext(Fr).motion),g=t.useRef(),v=t.useRef();var b=ce(So(p,i,(function(){try{return g.current instanceof HTMLElement?g.current:N(v.current)}catch(e){return null}}),e),4),y=b[0],x=b[1],C=b[2],S=b[3],E=u.useRef(S);S&&(E.current=!0);var k,w=u.useCallback((function(e){g.current=e,R(r,e)}),[r]),O=M(M({},h),{},{visible:i});if(l)if(y===Wr)k=S?l(M({},O),w):!c&&E.current&&d?l(M(M({},O),{},{className:d}),w):s||!c&&!d?l(M(M({},O),{},{style:{display:"none"}}),w):null;else{var j;x===Kr?j="prepare":xo(x)?j="active":x===Qr&&(j="start");var $=go(f,"".concat(y,"-").concat(j));k=l(M(M({},O),{},{className:m(go(f,y),T(T({},$,$&&j),f,"string"==typeof f)),style:C}),w)}else k=null;u.isValidElement(k)&&z(k)&&(F(k)||(k=u.cloneElement(k,{ref:w})));return u.createElement(Gr,{ref:v},k)}));return r.displayName="CSSMotion",r}(fo);var ko="add",wo="keep",Oo="remove",jo="removed";function $o(e){var t;return M(M({},t=e&&"object"===y(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function Ho(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map($o)}var Ao=["component","children","onVisibleChanged","onAllRemoved"],To=["status"],Bo=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Mo(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function Po(e){return function(e){return Mo(e)instanceof ShadowRoot}(e)?Mo(e):null}function No(e){return"object"===y(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===y(e.icon)||"function"==typeof e.icon)}function _o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function Ro(e,n,r){return r?t.createElement(e.tag,M(M({key:n},_o(e.attrs)),r),(e.children||[]).map((function(t,r){return Ro(t,"".concat(n,"-").concat(e.tag,"-").concat(r))}))):t.createElement(e.tag,M({key:n},_o(e.attrs)),(e.children||[]).map((function(t,r){return Ro(t,"".concat(n,"-").concat(e.tag,"-").concat(r))})))}function Lo(e){return $n(e)[0]}function Io(e){return e?Array.isArray(e)?e:[e]:[]}!function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Eo,t=function(t){q(r,t);var n=Y(r);function r(){var e;G(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return T(Q(e=n.call.apply(n,[this].concat(o))),"state",{keyEntities:[]}),T(Q(e),"removeKey",(function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:M(M({},e),{},{status:jo})}))}}),(function(){0===e.state.keyEntities.filter((function(e){return e.status!==jo})).length&&e.props.onAllRemoved&&e.props.onAllRemoved()}))})),e}return X(r,[{key:"render",value:function(){var t=this,n=this.state.keyEntities,r=this.props,o=r.component,i=r.children,a=r.onVisibleChanged;r.onAllRemoved;var c=xe(r,Ao),s=o||u.Fragment,l={};return Bo.forEach((function(e){l[e]=c[e],delete c[e]})),delete c.keys,u.createElement(s,c,n.map((function(n,r){var o=n.status,c=xe(n,To),s=o===ko||o===wo;return u.createElement(e,b({},l,{key:c.key,visible:s,eventProps:c,onVisibleChanged:function(e){null==a||a(e,{key:c.key}),e||t.removeKey(c.key)}}),(function(e,t){return i(M(M({},e),{},{index:r}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,o=Ho(n),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=Ho(e),a=Ho(t);i.forEach((function(e){for(var t=!1,i=r;i<o;i+=1){var c=a[i];if(c.key===e.key){r<i&&(n=n.concat(a.slice(r,i).map((function(e){return M(M({},e),{},{status:ko})}))),r=i),n.push(M(M({},c),{},{status:wo})),r+=1,t=!0;break}}t||n.push(M(M({},e),{},{status:Oo}))})),r<o&&(n=n.concat(a.slice(r).map((function(e){return M(M({},e),{},{status:ko})}))));var c={};return n.forEach((function(e){var t=e.key;c[t]=(c[t]||0)+1})),Object.keys(c).filter((function(e){return c[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==Oo}))).forEach((function(t){t.key===e&&(t.status=wo)}))})),n}(r,o);return{keyEntities:i.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==jo||e.status!==Oo}))}}}]),r}(u.Component);T(t,"defaultProps",{component:"div"})}(fo);var zo=["icon","className","onClick","style","primaryColor","secondaryColor"],Do={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var Fo=function(e){var n,r,o,i,a,c,s,l,f=e.icon,d=e.className,h=e.onClick,p=e.style,g=e.primaryColor,v=e.secondaryColor,m=xe(e,zo),b=u.useRef(),y=Do;if(g&&(y={primaryColor:g,secondaryColor:v||Lo(g)}),n=b,r=t.useContext(un),o=r.csp,i=r.prefixCls,a=r.layer,c="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",i&&(c=c.replace(/anticon/g,i)),a&&(c="@layer ".concat(a," {\n").concat(c,"\n}")),t.useEffect((function(){var e=Po(n.current);ye(c,"@ant-design-icons",{prepend:!a,csp:o,attachTo:e})}),[]),s=No(f),l="icon should be icon definiton, but got ".concat(f),H(s,"[@ant-design/icons] ".concat(l)),!No(f))return null;var x=f;return x&&"function"==typeof x.icon&&(x=M(M({},x),{},{icon:x.icon(y.primaryColor,y.secondaryColor)})),Ro(x.icon,"svg-".concat(x.name),M(M({className:d,onClick:h,style:p,"data-icon":x.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},m),{},{ref:b}))};function Go(e){var t=ce(Io(e),2),n=t[0],r=t[1];return Fo.setTwoToneColors({primaryColor:n,secondaryColor:r})}Fo.displayName="IconReact",Fo.getTwoToneColors=function(){return M({},Do)},Fo.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;Do.primaryColor=t,Do.secondaryColor=n||Lo(t),Do.calculated=!!n};var Wo=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Go(Ln.primary);var Xo=u.forwardRef((function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,c=e.onClick,s=e.twoToneColor,l=xe(e,Wo),f=u.useContext(un),d=f.prefixCls,h=void 0===d?"anticon":d,p=f.rootClassName,g=m(p,h,T(T({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!o||"loading"===r.name),n),v=a;void 0===v&&c&&(v=-1);var y=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,x=ce(Io(s),2),C=x[0],S=x[1];return u.createElement("span",b({role:"img","aria-label":r.name},l,{ref:t,tabIndex:v,onClick:c,className:g}),u.createElement(Fo,{icon:r,primaryColor:C,secondaryColor:S,style:y}))}));Xo.displayName="AntdIcon",Xo.getTwoToneColor=function(){var e=Fo.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Xo.setTwoToneColor=Go;function Vo(e,n){return((e,n,r)=>t.isValidElement(e)?t.cloneElement(e,"function"==typeof r?r(e.props||{}):r):n)(e,e,n)}var qo={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},Uo=function(e,t){return u.createElement(Xo,b({},e,{ref:t,icon:qo}))},Ko=u.forwardRef(Uo);function Qo(){Qo=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r})}try{s({},"")}catch(j){s=function(e,t,n){return e[t]=n}}function l(t,n,r,o){var i=n&&n.prototype instanceof d?n:d,a=Object.create(i.prototype);return s(a,"_invoke",function(t,n,r){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=S(c,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(1===o)throw o=4,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=3;var l=u(t,n,r);if("normal"===l.type){if(o=r.done?4:2,l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=4,r.method="throw",r.arg=l.arg)}}}(t,r,new w(o||[])),!0),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=l;var f={};function d(){}function h(){}function p(){}var g={};s(g,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(O([])));m&&m!==n&&r.call(m,i)&&(g=m);var b=p.prototype=d.prototype=Object.create(g);function x(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==y(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}var o;s(this,"_invoke",(function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}),!0)}function S(t,n){var r=n.method,o=t.i[r];if(o===e)return n.delegate=null,"throw"===r&&t.i.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=u(o,t.i,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,f;var a=i.arg;return a?a.done?(n[t.r]=a.value,n.next=t.n,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,f):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function E(e){this.tryEntries.push(e)}function k(t){var n=t[4]||{};n.type="normal",n.arg=e,t[4]=n}function w(e){this.tryEntries=[[-1]],e.forEach(E,this),this.reset(!0)}function O(t){if(null!=t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(y(t)+" is not iterable")}return h.prototype=p,s(b,"constructor",p),s(p,"constructor",h),h.displayName=s(p,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,c,"GeneratorFunction")),e.prototype=Object.create(b),e},t.awrap=function(e){return{__await:e}},x(C.prototype),s(C.prototype,a,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new C(l(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(b),s(b,c,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},t.values=O,w.prototype={constructor:w,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0][4];if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e){a.type="throw",a.arg=t,n.next=e}for(var o=n.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],c=this.prev,s=i[1],l=i[2];if(-1===i[0])return r("end"),!1;if(!s&&!l)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=c){if(c<s)return this.method="next",this.arg=e,r(s),!0;if(c<l)return r(l),!1}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r[0]>-1&&r[0]<=this.prev&&this.prev<r[2]){var o=r;break}}o&&("break"===e||"continue"===e)&&o[0]<=t&&t<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o[2],f):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[2]===e)return this.complete(n[4],n[3]),k(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[0]===e){var r=n[4];if("throw"===r.type){var o=r.arg;k(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={i:O(t),r:n,n:r},"next"===this.method&&(this.arg=e),f}},t}function Yo(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,o)}function Zo(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Yo(i,r,o,a,c,"next",e)}function c(e){Yo(i,r,o,a,c,"throw",e)}a(void 0)}))}}"production"!==process.env.NODE_ENV&&(Ko.displayName="LoadingOutlined");var Jo,ei=M({},f),ti=ei.version,ni=ei.render,ri=ei.unmountComponentAtNode;try{Number((ti||"").split(".")[0])>=18&&(Jo=ei.createRoot)}catch(Ra){}function oi(e){var t=ei.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===y(t)&&(t.usingClientEntryPoint=e)}var ii="__rc_react_root__";function ai(e,t){Jo?function(e,t){oi(!0);var n=t[ii]||Jo(t);oi(!1),n.render(e),t[ii]=n}(e,t):function(e,t){null==ni||ni(e,t)}(e,t)}function ci(e){return si.apply(this,arguments)}function si(){return(si=Zo(Qo().mark((function e(t){return Qo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[ii])||void 0===e||e.unmount(),delete t[ii]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function li(e){ri(e)}function ui(){return(ui=Zo(Qo().mark((function e(t){return Qo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===Jo){e.next=2;break}return e.abrupt("return",ci(t));case 2:li(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}let fi=(e,t)=>{if("production"!==process.env.NODE_ENV){const e=parseInt(u.version.split(".")[0],10),t=Object.keys(f);"production"!==process.env.NODE_ENV&&vn(e<19||t.includes("createRoot"),"compatible","antd v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.")}return ai(e,t),()=>function(e){return ui.apply(this,arguments)}(t)};const di=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},hi=zr("Wave",(e=>[di(e)])),pi=`${tr}-wave-target`;function gi(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function vi(e){return Number.isNaN(e)?0:e}const mi=e=>{const{className:t,target:n,component:r,registerUnmount:o}=e,i=u.useRef(null),a=u.useRef(null);u.useEffect((()=>{a.current=o()}),[]);const[c,s]=u.useState(null),[l,f]=u.useState([]),[d,h]=u.useState(0),[p,g]=u.useState(0),[v,b]=u.useState(0),[y,x]=u.useState(0),[C,S]=u.useState(!1),E={left:d,top:p,width:v,height:y,borderRadius:l.map((e=>`${e}px`)).join(" ")};function k(){const e=getComputedStyle(n);s(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return gi(t)?t:gi(n)?n:gi(r)?r:null}(n));const t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;h(t?n.offsetLeft:vi(-parseFloat(r))),g(t?n.offsetTop:vi(-parseFloat(o))),b(n.offsetWidth),x(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:c,borderBottomRightRadius:l}=e;f([i,a,l,c].map((e=>vi(parseFloat(e)))))}if(c&&(E["--wave-color"]=c),u.useEffect((()=>{if(n){const e=ae((()=>{k(),S(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(k),t.observe(n)),()=>{ae.cancel(e),null==t||t.disconnect()}}}),[]),!C)return null;const w=("Checkbox"===r||"Radio"===r)&&(null==n?void 0:n.classList.contains(pi));return u.createElement(Eo,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n,r;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=i.current)||void 0===n?void 0:n.parentElement;null===(r=a.current)||void 0===r||r.call(a).then((()=>{null==e||e.remove()}))}return!1}},((e,n)=>{let{className:r}=e;return u.createElement("div",{ref:L(i,n),className:m(t,r,{"wave-quick":w}),style:E})}))},bi=(e,t)=>{var n;const{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild);let i=null;i=fi(u.createElement(mi,Object.assign({},t,{target:e,registerUnmount:function(){return i}})),o)},yi=e=>{const{children:n,disabled:r,component:o}=e,{getPrefixCls:i}=t.useContext(rr),a=t.useRef(null),c=i("wave"),[,s]=hi(c),l=((e,t,n)=>{const{wave:r}=u.useContext(rr),[,o,i]=_r(),a=gr((a=>{const c=e.current;if((null==r?void 0:r.disabled)||!c)return;const s=c.querySelector(`.${pi}`)||c,{showEffect:l}=r||{};(l||bi)(s,{className:t,token:o,component:n,event:a,hashId:i})})),c=u.useRef(null);return e=>{ae.cancel(c.current),c.current=ae((()=>{a(e)}))}})(a,m(c,s),o);if(t.useEffect((()=>{const e=a.current;if(!e||1!==e.nodeType||r)return;const t=t=>{!function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||l(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[r]),!t.isValidElement(n))return null!=n?n:null;return Vo(n,{ref:z(n)?L(F(n),a):a})};"production"!==process.env.NODE_ENV&&(yi.displayName="Wave");const xi=u.createContext(null);const Ci=u.createContext(void 0),Si=/^[\u4E00-\u9FA5]{2}$/,Ei=Si.test.bind(Si);function ki(e){return"string"==typeof e}function wi(e){return"text"===e||"link"===e}function Oi(e,n){if(null==e)return;const r=n?" ":"";return"string"!=typeof e&&"number"!=typeof e&&ki(e.type)&&Ei(e.props.children)?Vo(e,{children:e.props.children.split("").join(r)}):ki(e)?Ei(e)?t.createElement("span",null,e.split("").join(r)):t.createElement("span",null,e):function(e){return e&&t.isValidElement(e)&&e.type===t.Fragment}(e)?t.createElement("span",null,e):e}["default","primary","danger"].concat(ee(jr));const ji=t.forwardRef(((e,n)=>{const{className:r,style:o,children:i,prefixCls:a}=e,c=m(`${a}-icon`,r);return t.createElement("span",{ref:n,className:c,style:o},i)})),$i=t.forwardRef(((e,n)=>{const{prefixCls:r,className:o,style:i,iconClassName:a}=e,c=m(`${r}-loading-icon`,o);return t.createElement(ji,{prefixCls:r,className:c,style:i,ref:n},t.createElement(Ko,{className:a}))})),Hi=()=>({width:0,opacity:0,transform:"scale(0)"}),Ai=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Ti=e=>{const{prefixCls:n,loading:r,existIcon:o,className:i,style:a,mount:c}=e,s=!!r;return o?t.createElement($i,{prefixCls:n,className:i,style:a}):t.createElement(Eo,{visible:s,motionName:`${n}-loading-icon-motion`,motionAppear:!c,motionEnter:!c,motionLeave:!c,removeOnLeave:!0,onAppearStart:Hi,onAppearActive:Ai,onEnterStart:Hi,onEnterActive:Ai,onLeaveStart:Ai,onLeaveActive:Hi},((e,r)=>{let{className:o,style:c}=e;const s=Object.assign(Object.assign({},a),c);return t.createElement($i,{prefixCls:n,className:m(i,o),style:s,ref:r})}))},Bi=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Mi=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Bi(`${t}-primary`,o),Bi(`${t}-danger`,i)]}};var Pi=["b"],Ni=["v"],_i=function(e){return Math.round(Number(e||0))},Ri=function(e){q(n,e);var t=Y(n);function n(e){return G(this,n),t.call(this,function(e){if(e instanceof En)return e;if(e&&"object"===y(e)&&"h"in e&&"b"in e){var t=e,n=t.b;return M(M({},xe(t,Pi)),{},{v:n})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(e))}return X(n,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=_i(100*e.s),n=_i(100*e.b),r=_i(e.h),o=e.a,i="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(o.toFixed(0===o?0:2),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v;return M(M({},xe(e,Ni)),{},{b:t,a:this.a})}}]),n}(En),Li=function(e){return e instanceof Ri?e:new Ri(e)},Ii=Li("#1677ff"),zi=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,o=e.color,i=e.type,a=r.current.getBoundingClientRect(),c=a.width,s=a.height,l=n.current.getBoundingClientRect(),u=l.width/2,f=l.height/2,d=(t.x+u)/c,h=1-(t.y+f)/s,p=o.toHsb(),g=d,v=(t.x+u)/c*360;if(i)switch(i){case"hue":return Li(M(M({},p),{},{h:v<=0?0:v}));case"alpha":return Li(M(M({},p),{},{a:g<=0?0:g}))}return Li({h:p.h,s:d<=0?0:d,b:h>=1?1:h,a:p.a})},Di=function(e,t){var n=e.toHsb();switch(t){case"hue":return{x:n.h/360*100,y:50};case"alpha":return{x:100*e.a,y:50};default:return{x:100*n.s,y:100*(1-n.b)}}},Fi=function(e){var n=e.color,r=e.prefixCls,o=e.className,i=e.style,a=e.onClick,c="".concat(r,"-color-block");return t.createElement("div",{className:m(c,o),style:i,onClick:a},t.createElement("div",{className:"".concat(c,"-inner"),style:{background:n}}))};function Gi(e){var n=e.targetRef,r=e.containerRef,o=e.direction,i=e.onDragChange,a=e.onDragChangeComplete,c=e.calculate,s=e.color,l=e.disabledDrag,u=ce(t.useState({x:0,y:0}),2),f=u[0],d=u[1],h=t.useRef(null),p=t.useRef(null);t.useEffect((function(){d(c())}),[s]),t.useEffect((function(){return function(){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",p.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",p.current),h.current=null,p.current=null}}),[]);var g=function(e){var t=function(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}(e),a=t.pageX,c=t.pageY,s=r.current.getBoundingClientRect(),l=s.x,u=s.y,d=s.width,h=s.height,p=n.current.getBoundingClientRect(),g=p.width,v=p.height,m=g/2,b=v/2,y=Math.max(0,Math.min(a-l,d))-m,x=Math.max(0,Math.min(c-u,h))-b,C={x:y,y:"x"===o?f.y:x};if(0===g&&0===v||g!==v)return!1;null==i||i(C)},v=function(e){e.preventDefault(),g(e)},m=function(e){e.preventDefault(),document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",p.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",p.current),h.current=null,p.current=null,null==a||a()};return[f,function(e){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",p.current),l||(g(e),document.addEventListener("mousemove",v),document.addEventListener("mouseup",m),document.addEventListener("touchmove",v),document.addEventListener("touchend",m),h.current=v,p.current=m)}]}var Wi=function(e){var n=e.size,r=void 0===n?"default":n,o=e.color,i=e.prefixCls;return t.createElement("div",{className:m("".concat(i,"-handler"),T({},"".concat(i,"-handler-sm"),"small"===r)),style:{backgroundColor:o}})},Xi=function(e){var n=e.children,r=e.style,o=e.prefixCls;return t.createElement("div",{className:"".concat(o,"-palette"),style:M({position:"relative"},r)},n)},Vi=t.forwardRef((function(e,n){var r=e.children,o=e.x,i=e.y;return t.createElement("div",{ref:n,style:{position:"absolute",left:"".concat(o,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},r)})),qi=function(e){var n=e.color,r=e.onChange,o=e.prefixCls,i=e.onChangeComplete,a=e.disabled,c=t.useRef(),s=t.useRef(),l=t.useRef(n),u=gr((function(e){var t=zi({offset:e,targetRef:s,containerRef:c,color:n});l.current=t,r(t)})),f=ce(Gi({color:n,containerRef:c,targetRef:s,calculate:function(){return Di(n)},onDragChange:u,onDragChangeComplete:function(){return null==i?void 0:i(l.current)},disabledDrag:a}),2),d=f[0],h=f[1];return t.createElement("div",{ref:c,className:"".concat(o,"-select"),onMouseDown:h,onTouchStart:h},t.createElement(Xi,{prefixCls:o},t.createElement(Vi,{x:d.x,y:d.y,ref:s},t.createElement(Wi,{color:n.toRgbString(),prefixCls:o})),t.createElement("div",{className:"".concat(o,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},Ui=function(e,n){var r=function(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,c=ce(vr((function(){return mr(o)?o:mr(r)?"function"==typeof r?r():r:"function"==typeof e?e():e})),2),s=c[0],l=c[1],u=void 0!==o?o:s,f=a?a(u):u,d=gr(i),h=ce(vr([u]),2),p=h[0],g=h[1];return We((function(){var e=p[0];s!==e&&d(s,e)}),[p]),We((function(){mr(o)||l(o)}),[o]),[f,gr((function(e,t){l(e,t),g([u],t)}))]}(e,{value:n}),o=ce(r,2),i=o[0],a=o[1];return[t.useMemo((function(){return Li(i)}),[i]),a]},Ki=function(e){var n=e.colors,r=e.children,o=e.direction,i=void 0===o?"to right":o,a=e.type,c=e.prefixCls,s=t.useMemo((function(){return n.map((function(e,t){var r=Li(e);return"alpha"===a&&t===n.length-1&&(r=new Ri(r.setA(1))),r.toRgbString()})).join(",")}),[n,a]);return t.createElement("div",{className:"".concat(c,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(i,", ").concat(s,")")}},r)},Qi=function(e){var n=e.prefixCls,r=e.colors,o=e.disabled,i=e.onChange,a=e.onChangeComplete,c=e.color,s=e.type,l=t.useRef(),u=t.useRef(),f=t.useRef(c),d=function(e){return"hue"===s?e.getHue():100*e.a},h=gr((function(e){var t=zi({offset:e,targetRef:u,containerRef:l,color:c,type:s});f.current=t,i(d(t))})),p=ce(Gi({color:c,targetRef:u,containerRef:l,calculate:function(){return Di(c,s)},onDragChange:h,onDragChangeComplete:function(){a(d(f.current))},direction:"x",disabledDrag:o}),2),g=p[0],v=p[1],b=t.useMemo((function(){if("hue"===s){var e=c.toHsb();return e.s=1,e.b=1,e.a=1,new Ri(e)}return c}),[c,s]),y=t.useMemo((function(){return r.map((function(e){return"".concat(e.color," ").concat(e.percent,"%")}))}),[r]);return t.createElement("div",{ref:l,className:m("".concat(n,"-slider"),"".concat(n,"-slider-").concat(s)),onMouseDown:v,onTouchStart:v},t.createElement(Xi,{prefixCls:n},t.createElement(Vi,{x:g.x,y:g.y,ref:u},t.createElement(Wi,{size:"small",color:b.toHexString(),prefixCls:n})),t.createElement(Ki,{colors:y,type:s,prefixCls:n})))};var Yi=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],Zi=t.forwardRef((function(e,n){var r=e.value,o=e.defaultValue,i=e.prefixCls,a=void 0===i?"rc-color-picker":i,c=e.onChange,s=e.onChangeComplete,l=e.className,f=e.style,d=e.panelRender,h=e.disabledAlpha,p=void 0!==h&&h,g=e.disabled,v=void 0!==g&&g,y=function(e){return u.useMemo((function(){return[(e||{}).slider||Qi]}),[e])}(e.components),x=ce(y,1)[0],C=ce(Ui(o||Ii,r),2),S=C[0],E=C[1],k=t.useMemo((function(){return S.setA(1).toRgbString()}),[S]),w=function(e,t){r||E(e),null==c||c(e,t)},O=function(e){return new Ri(S.setHue(e))},j=function(e){return new Ri(S.setA(e/100))},$=m("".concat(a,"-panel"),l,T({},"".concat(a,"-panel-disabled"),v)),H={prefixCls:a,disabled:v,color:S},A=t.createElement(t.Fragment,null,t.createElement(qi,b({onChange:w},H,{onChangeComplete:s})),t.createElement("div",{className:"".concat(a,"-slider-container")},t.createElement("div",{className:m("".concat(a,"-slider-group"),T({},"".concat(a,"-slider-group-disabled-alpha"),p))},t.createElement(x,b({},H,{type:"hue",colors:Yi,min:0,max:359,value:S.getHue(),onChange:function(e){w(O(e),{type:"hue",value:e})},onChangeComplete:function(e){s&&s(O(e))}})),!p&&t.createElement(x,b({},H,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:k}],min:0,max:100,value:100*S.a,onChange:function(e){w(j(e),{type:"alpha",value:e})},onChangeComplete:function(e){s&&s(j(e))}}))),t.createElement(Fi,{color:S.toRgbString(),prefixCls:a})));return t.createElement("div",{className:$,style:f,ref:n},"function"==typeof d?d(A):A)}));"production"!==process.env.NODE_ENV&&(Zi.displayName="ColorPicker");let Ji=function(){return X((function e(t){var n;if(G(this,e),this.cleared=!1,t instanceof e)return this.metaColor=t.metaColor.clone(),this.colors=null===(n=t.colors)||void 0===n?void 0:n.map((t=>({color:new e(t.color),percent:t.percent}))),void(this.cleared=t.cleared);const r=Array.isArray(t);r&&t.length?(this.colors=t.map((t=>{let{color:n,percent:r}=t;return{color:new e(n),percent:r}})),this.metaColor=new Ri(this.colors[0].color.metaColor)):this.metaColor=new Ri(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}),[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return e=this.toHexString(),t=this.metaColor.a<1,e?((e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"")(e,t):"";var e,t}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:e}=this;if(e){return`linear-gradient(90deg, ${e.map((e=>`${e.color.toRgbString()} ${e.percent}%`)).join(", ")})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!(!e||this.isGradient()!==e.isGradient())&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every(((t,n)=>{const r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)})):this.toHexString()===e.toHexString())}}])}();const ea=e=>{const{paddingInline:t,onlyIconSize:n}=e;return Cr(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},ta=e=>{var t,n,r,o,i,a;const c=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,s=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,l=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,u=null!==(o=e.contentLineHeight)&&void 0!==o?o:Wn(c),f=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:Wn(s),d=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:Wn(l),h=((e,t)=>{const{r:n,g:r,b:o,a:i}=e.toRgb(),a=new Ri(e.toRgbString()).onBackground(t).toHsv();return i<=.5?a.v>.5:.299*n+.587*r+.114*o>192})(new Ji(e.colorBgSolid),"#fff")?"#000":"#fff",p=jr.reduce(((t,n)=>Object.assign(Object.assign({},t),{[`${n}ShadowColor`]:`0 ${Re(e.controlOutlineWidth)} 0 ${Hr(e[`${n}1`],e.colorBgContainer)}`})),{});return Object.assign(Object.assign({},p),{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:h,contentFontSize:c,contentFontSizeSM:s,contentFontSizeLG:l,contentLineHeight:u,contentLineHeightSM:f,contentLineHeightLG:d,paddingBlock:Math.max((e.controlHeight-c*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-l*d)/2-e.lineWidth,0)})},na=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:o,motionDurationSlow:i,motionEaseInOut:a,marginXS:c,calc:s}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Re(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:{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"}},"> a":{color:"currentColor"},"&:not(:disabled)":Lr(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:o,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map((e=>`${e} ${i} ${a}`)).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:s(c).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:s(c).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:s(c).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:s(c).mul(-1).equal()}}}}}},ra=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),oa=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),ia=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),aa=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),ca=(e,t,n,r,o,i,a,c)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ra(e,Object.assign({background:t},a),Object.assign({background:t},c))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),sa=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},aa(e))}),la=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),ua=(e,t,n,r)=>{const o=r&&["link","text"].includes(r)?la:sa;return Object.assign(Object.assign({},o(e)),ra(e.componentCls,t,n))},fa=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},ua(e,r,o))}),da=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},ua(e,r,o))}),ha=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),pa=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},ua(e,n,r))}),ga=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},ua(e,r,o,n))}),va=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},fa(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),ha(e)),pa(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),ca(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),ga(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),ma=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},da(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),ha(e)),pa(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),ga(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),ga(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),ca(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),ba=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},fa(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),da(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),ha(e)),pa(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),ga(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),ga(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),ca(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),ya=e=>Object.assign(Object.assign({},ga(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),ca(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})),xa=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:va(e),[`${t}-color-primary`]:ma(e),[`${t}-color-dangerous`]:ba(e),[`${t}-color-link`]:ya(e)},(e=>{const{componentCls:t}=e;return jr.reduce(((n,r)=>{const o=e[`${r}6`],i=e[`${r}1`],a=e[`${r}5`],c=e[`${r}2`],s=e[`${r}3`],l=e[`${r}7`];return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:o,boxShadow:e[`${r}ShadowColor`]},fa(e,e.colorTextLightSolid,o,{background:a},{background:l})),da(e,o,e.colorBgContainer,{color:a,borderColor:a,background:e.colorBgContainer},{color:l,borderColor:l,background:e.colorBgContainer})),ha(e)),pa(e,i,{background:c},{background:s})),ga(e,o,"link",{color:a},{color:l})),ga(e,o,"text",{color:a,background:i},{color:l,background:s}))})}),{})})(e))},Ca=e=>Object.assign(Object.assign(Object.assign(Object.assign({},da(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),ga(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),fa(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),ga(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Sa=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,borderRadius:i,buttonPaddingHorizontal:a,iconCls:c,buttonPaddingVertical:s,buttonIconOnlyFontSize:l}=e;return[{[t]:{fontSize:o,height:r,padding:`${Re(s)} ${Re(a)}`,borderRadius:i,[`&${n}-icon-only`]:{width:r,[c]:{fontSize:l}}}},{[`${n}${n}-circle${t}`]:oa(e)},{[`${n}${n}-round${t}`]:ia(e)}]},Ea=e=>{const t=Cr(e,{fontSize:e.contentFontSize});return Sa(t,e.componentCls)},ka=e=>{const t=Cr(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Sa(t,`${e.componentCls}-sm`)},wa=e=>{const t=Cr(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Sa(t,`${e.componentCls}-lg`)},Oa=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},ja=Ir("Button",(e=>{const t=ea(e);return[na(t),Ea(t),ka(t),wa(t),Oa(t),xa(t),Ca(t),Mi(t)]}),ta,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function $a(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",c=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[c]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function Ha(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Aa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},$a(e,r,t)),Ha(n,r,t))}}function Ta(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ba(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Ta(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}const Ma=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:o}=e,i=o(r).mul(-1).equal(),a=e=>{const o=`${t}-compact${e?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${o} + ${o}::before`]:{position:"absolute",top:e?i:0,insetInlineStart:e?0:i,backgroundColor:n,content:'""',width:e?"100%":r,height:e?r:"100%"}}};return Object.assign(Object.assign({},a()),a(!0))},Pa=Dr(["Button","compact"],(e=>{const t=ea(e);return[Aa(t),Ba(t),Ma(t)]}),ta);const Na={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},_a=t.forwardRef(((e,n)=>{var r,o;const{loading:i=!1,prefixCls:a,color:c,variant:s,type:l,danger:f=!1,shape:d="default",size:h,styles:p,disabled:g,className:v,rootClassName:b,children:y,icon:x,iconPosition:C="start",ghost:S=!1,block:E=!1,htmlType:k="button",classNames:w,style:O={},autoInsertSpace:j,autoFocus:$}=e,H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),A=l||"default",[T,B]=t.useMemo((()=>{if(c&&s)return[c,s];const e=Na[A]||[];return f?["danger",e[1]]:e}),[l,c,s,f]),M="danger"===T?"dangerous":T,{getPrefixCls:P,direction:N,autoInsertSpace:_,className:R,style:L,classNames:z,styles:D}=function(e){const t=u.useContext(rr),{getPrefixCls:n,direction:r,getPopupContainer:o}=t,i=t[e];return Object.assign(Object.assign({classNames:ir,styles:ir},i),{getPrefixCls:n,direction:r,getPopupContainer:o})}("button"),F=null===(r=null!=j?j:_)||void 0===r||r,G=P("btn",a),[W,X,V]=ja(G),q=t.useContext(ar),U=null!=g?g:q,K=t.useContext(Ci),Q=t.useMemo((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(i)),[i]),[Y,Z]=t.useState(Q.loading),[J,ee]=t.useState(!1),te=t.useRef(null),ne=I(n,te),re=1===t.Children.count(y)&&!x&&!wi(B),oe=t.useRef(!0);t.useEffect((()=>(oe.current=!1,()=>{oe.current=!0})),[]),t.useEffect((()=>{let e=null;return Q.delay>0?e=setTimeout((()=>{e=null,Z(!0)}),Q.delay):Z(Q.loading),function(){e&&(clearTimeout(e),e=null)}}),[Q]),t.useEffect((()=>{if(!te.current||!F)return;const e=te.current.textContent||"";re&&Ei(e)?J||ee(!0):J&&ee(!1)})),t.useEffect((()=>{$&&te.current&&te.current.focus()}),[]);const ie=t.useCallback((t=>{var n;Y||U?t.preventDefault():null===(n=e.onClick)||void 0===n||n.call(e,t)}),[e.onClick,Y,U]);if("production"!==process.env.NODE_ENV){const e=gn("Button");"production"!==process.env.NODE_ENV&&e(!("string"==typeof x&&x.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${x}\` at https://ant.design/components/icon`),"production"!==process.env.NODE_ENV&&e(!(S&&wi(B)),"usage","`link` or `text` button can't be a `ghost` button.")}const{compactSize:ae,compactItemClassnames:ce}=((e,t)=>{const n=u.useContext(xi),r=u.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:i}=n,a="vertical"===r?"-vertical-":"-";return m(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:o,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}})(G,N),se=(e=>{const n=t.useContext(cr);return t.useMemo((()=>e?"string"==typeof e?null!=e?e:n:"function"==typeof e?e(n):n:n),[e,n])})((e=>{var t,n;return null!==(n=null!==(t=null!=h?h:ae)&&void 0!==t?t:K)&&void 0!==n?n:e})),le=se&&null!==(o={large:"lg",small:"sm",middle:void 0}[se])&&void 0!==o?o:"",ue=Y?"loading":x,fe=(de=H,he=["navigate"],pe=Object.assign({},de),Array.isArray(he)&&he.forEach((function(e){delete pe[e]})),pe);var de,he,pe;const ge=m(G,X,V,{[`${G}-${d}`]:"default"!==d&&d,[`${G}-${A}`]:A,[`${G}-dangerous`]:f,[`${G}-color-${M}`]:M,[`${G}-variant-${B}`]:B,[`${G}-${le}`]:le,[`${G}-icon-only`]:!y&&0!==y&&!!ue,[`${G}-background-ghost`]:S&&!wi(B),[`${G}-loading`]:Y,[`${G}-two-chinese-chars`]:J&&F&&!Y,[`${G}-block`]:E,[`${G}-rtl`]:"rtl"===N,[`${G}-icon-end`]:"end"===C},ce,v,b,R),ve=Object.assign(Object.assign({},L),O),me=m(null==w?void 0:w.icon,z.icon),be=Object.assign(Object.assign({},(null==p?void 0:p.icon)||{}),D.icon||{}),ye=x&&!Y?t.createElement(ji,{prefixCls:G,className:me,style:be},x):i&&"object"==typeof i&&i.icon?t.createElement(ji,{prefixCls:G,className:me,style:be},i.icon):t.createElement(Ti,{existIcon:!!x,prefixCls:G,loading:Y,mount:oe.current}),xe=y||0===y?function(e,n){let r=!1;const o=[];return t.Children.forEach(e,(e=>{const t=typeof e,n="string"===t||"number"===t;if(r&&n){const t=o.length-1,n=o[t];o[t]=`${n}${e}`}else o.push(e);r=n})),t.Children.map(o,(e=>Oi(e,n)))}(y,re&&F):null;if(void 0!==fe.href)return W(t.createElement("a",Object.assign({},fe,{className:m(ge,{[`${G}-disabled`]:U}),href:U?void 0:fe.href,style:ve,onClick:ie,ref:ne,tabIndex:U?-1:0}),ye,xe));let Ce=t.createElement("button",Object.assign({},H,{type:k,className:ge,style:ve,onClick:ie,disabled:U,ref:ne}),ye,xe,ce&&t.createElement(Pa,{prefixCls:G}));return wi(B)||(Ce=t.createElement(yi,{component:"Button",disabled:Y},Ce)),W(Ce)}));_a.Group=e=>{const{getPrefixCls:t,direction:n}=u.useContext(rr),{prefixCls:r,size:o,className:i}=e,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","size","className"]),c=t("btn-group",r),[,,s]=_r(),l=u.useMemo((()=>{switch(o){case"large":return"lg";case"small":return"sm";default:return""}}),[o]);if("production"!==process.env.NODE_ENV){const e=gn("Button.Group");e.deprecated(!1,"Button.Group","Space.Compact"),"production"!==process.env.NODE_ENV&&e(!o||["large","small","middle"].includes(o),"usage","Invalid prop `size`.")}const f=m(c,{[`${c}-${l}`]:l,[`${c}-rtl`]:"rtl"===n},i,s);return u.createElement(Ci.Provider,{value:o},u.createElement("div",Object.assign({},a,{className:f})))},_a.__ANT_BUTTON=!0,"production"!==process.env.NODE_ENV&&(_a.displayName="Button");e.Button=e=>{var t=e,{children:n,onClick:r}=t,o=((e,t)=>{var n={};for(var r in e)a.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&i)for(var r of i(e))t.indexOf(r)<0&&c.call(e,r)&&(n[r]=e[r]);return n})(t,["children","onClick"]);return React.createElement(_a,((e,t)=>{for(var n in t||(t={}))a.call(t,n)&&s(e,n,t[n]);if(i)for(var n of i(t))c.call(t,n)&&s(e,n,t[n]);return e})({type:"primary",onClick:r},o),n)},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
6
+ */var h,g=(d||(d=1,h=p,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}h.exports?(t.default=t,h.exports=t):window.classNames=t}()),p.exports);const v=f(g);function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(null,arguments)}function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),S=Symbol.for("react.fragment");var C={},E=[];function w(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){var n=E.reduce((function(e,t){return t(null!=e?e:"","warning")}),t);n&&console.error("Warning: ".concat(n))}}function k(e,t){if("production"!==process.env.NODE_ENV&&!e&&void 0!==console){var n=E.reduce((function(e,t){return t(null!=e?e:"","note")}),t);n&&console.warn("Note: ".concat(n))}}function O(){C={}}function j(e,t,n){t||C[n]||(e(!1,n),C[n]=!0)}function $(e,t){j(w,e,t)}function A(e){var t=function(e,t){if("object"!=b(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==b(t)?t:t+""}function H(e,t,n){return(t=A(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function B(e){return e instanceof HTMLElement||e instanceof SVGElement}function P(e){var r,o=function(e){return e&&"object"===b(e)&&B(e.nativeElement)?e.nativeElement:B(e)?e:null}(e);return o||(e instanceof t.Component?null===(r=n.findDOMNode)||void 0===r?void 0:r.call(n,e):null)}$.preMessage=function(e){E.push(e)},$.resetWarned=O,$.noteOnce=function(e,t){j(k,e,t)};var _,N={exports:{}},R={};var L,I,z={};
7
+ /**
8
+ * @license React
9
+ * react-is.development.js
10
+ *
11
+ * Copyright (c) Facebook, Inc. and its affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */var D=(I||(I=1,"production"===process.env.NODE_ENV?N.exports=function(){if(_)return R;_=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:switch(e=e.type){case r:case i:case o:case u:case f:return e;default:switch(e=e&&e.$$typeof){case s:case c:case l:case p:case d:case a:return e;default:return h}}case n:return h}}}return e=Symbol.for("react.module.reference"),R.ContextConsumer=c,R.ContextProvider=a,R.Element=t,R.ForwardRef=l,R.Fragment=r,R.Lazy=p,R.Memo=d,R.Portal=n,R.Profiler=i,R.StrictMode=o,R.Suspense=u,R.SuspenseList=f,R.isAsyncMode=function(){return!1},R.isConcurrentMode=function(){return!1},R.isContextConsumer=function(e){return g(e)===c},R.isContextProvider=function(e){return g(e)===a},R.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},R.isForwardRef=function(e){return g(e)===l},R.isFragment=function(e){return g(e)===r},R.isLazy=function(e){return g(e)===p},R.isMemo=function(e){return g(e)===d},R.isPortal=function(e){return g(e)===n},R.isProfiler=function(e){return g(e)===i},R.isStrictMode=function(e){return g(e)===o},R.isSuspense=function(e){return g(e)===u},R.isSuspenseList=function(e){return g(e)===f},R.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===f||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===a||t.$$typeof===c||t.$$typeof===l||t.$$typeof===e||void 0!==t.getModuleId)},R.typeOf=g,R}():N.exports=(L||(L=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:var g=e.type;switch(g){case r:case i:case o:case u:case f:return g;default:var v=g&&g.$$typeof;switch(v){case s:case c:case l:case p:case d:case a:return v;default:return h}}case n:return h}}}e=Symbol.for("react.module.reference");var v=c,m=a,b=t,y=l,x=r,S=p,C=d,E=n,w=i,k=o,O=u,j=f,$=!1,A=!1;z.ContextConsumer=v,z.ContextProvider=m,z.Element=b,z.ForwardRef=y,z.Fragment=x,z.Lazy=S,z.Memo=C,z.Portal=E,z.Profiler=w,z.StrictMode=k,z.Suspense=O,z.SuspenseList=j,z.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},z.isConcurrentMode=function(e){return A||(A=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},z.isContextConsumer=function(e){return g(e)===c},z.isContextProvider=function(e){return g(e)===a},z.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},z.isForwardRef=function(e){return g(e)===l},z.isFragment=function(e){return g(e)===r},z.isLazy=function(e){return g(e)===p},z.isMemo=function(e){return g(e)===d},z.isPortal=function(e){return g(e)===n},z.isProfiler=function(e){return g(e)===i},z.isStrictMode=function(e){return g(e)===o},z.isSuspense=function(e){return g(e)===u},z.isSuspenseList=function(e){return g(e)===f},z.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===f||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===a||t.$$typeof===c||t.$$typeof===l||t.$$typeof===e||void 0!==t.getModuleId)},z.typeOf=g}()),z)),N.exports);var F=Number(t.version.split(".")[0]),G=function(e,t){"function"==typeof e?e(t):"object"===b(e)&&e&&"current"in e&&(e.current=t)},W=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);return r.length<=1?r[0]:function(e){t.forEach((function(t){G(t,e)}))}},V=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r=function(){return W.apply(void 0,t)},o=t,i=function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))},"value"in(a=l.useRef({})).current&&!i(a.current.condition,o)||(a.current.value=r(),a.current.condition=o),a.current.value;var r,o,i,a},X=function(e){var t,n;if(!e)return!1;if(q(e)&&F>=19)return!0;var r=D.isMemo(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render||r.$$typeof===D.ForwardRef)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===D.ForwardRef)};function q(e){return t.isValidElement(e)&&!((n=e)&&"object"===b(n)&&(n.$$typeof===y||n.$$typeof===x)&&n.type===S);var n}var U=function(e){if(e&&q(e)){var t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null};function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,A(r.key),r)}}function Y(e,t,n){return t&&Q(e.prototype,t),n&&Q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Z(e,t){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function J(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Z(e,t)}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function te(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(te=function(){return!!e})()}function ne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function re(e){var t=te();return function(){var n,r=ee(e);if(t){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ne(e)}(this,n)}}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ie(e,t){if(e){if("string"==typeof e)return oe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oe(e,t):void 0}}function ae(e){return function(e){if(Array.isArray(e))return oe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ie(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ce=function(e){return+setTimeout(e,16)},se=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(ce=function(e){return window.requestAnimationFrame(e)},se=function(e){return window.cancelAnimationFrame(e)});var le=0,ue=new Map;function fe(e){ue.delete(e)}var de=function(e){var t=le+=1;return function n(r){if(0===r)fe(t),e();else{var o=ce((function(){n(r-1)}));ue.set(t,o)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};function pe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(u){l=!0,o=u}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||ie(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function he(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function ge(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}de.cancel=function(e){var t=ue.get(e);return fe(e),se(t)},"production"!==process.env.NODE_ENV&&(de.ids=function(){return ue});var ve="data-rc-order",me="data-rc-priority",be=new Map;function ye(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function xe(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Se(e){return Array.from((be.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!ge())return null;var n=t.csp,r=t.prepend,o=t.priority,i=void 0===o?0:o,a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),c="prependQueue"===a,s=document.createElement("style");s.setAttribute(ve,a),c&&i&&s.setAttribute(me,"".concat(i)),null!=n&&n.nonce&&(s.nonce=null==n?void 0:n.nonce),s.innerHTML=e;var l=xe(t),u=l.firstChild;if(r){if(c){var f=(t.styles||Se(l)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(ve)))return!1;var t=Number(e.getAttribute(me)||0);return i>=t}));if(f.length)return l.insertBefore(s,f[f.length-1].nextSibling),s}l.insertBefore(s,u)}else l.appendChild(s);return s}function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=xe(t);return(t.styles||Se(n)).find((function(n){return n.getAttribute(ye(t))===e}))}function we(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ee(e,t);n&&xe(t).removeChild(n)}function ke(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=xe(n),o=Se(r),i=T(T({},n),{},{styles:o});!function(e,t){var n=be.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=Ce("",t),o=r.parentNode;be.set(e,o),e.removeChild(r)}}(r,i);var a=Ee(t,i);if(a){var c,s,l;if(null!==(c=i.csp)&&void 0!==c&&c.nonce&&a.nonce!==(null===(s=i.csp)||void 0===s?void 0:s.nonce))a.nonce=null===(l=i.csp)||void 0===l?void 0:l.nonce;return a.innerHTML!==e&&(a.innerHTML=e),a}var u=Ce(e,i);return u.setAttribute(ye(i),t),u}function Oe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function je(e){return e.join("%")}var $e=function(){function e(t){K(this,e),H(this,"instanceId",void 0),H(this,"cache",new Map),this.instanceId=t}return Y(e,[{key:"get",value:function(e){return this.opGet(je(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(je(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),Ae="data-token-hash",He="data-css-hash",Me="__cssinjs_instance__";var Te=l.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(He,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[Me]=t[Me]||e,t[Me]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(He,"]"))).forEach((function(t){var n,o=t.getAttribute(He);r[o]?t[Me]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new $e(e)}(),defaultCache:!0});var Be=function(){function e(){K(this,e),H(this,"cache",void 0),H(this,"keys",void 0),H(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Y(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce((function(e,t){var n=pe(e,2)[1];return r.internalGet(t)[1]<n?[t,r.internalGet(t)[1]]:e}),[this.keys[0],this.cacheCallTimes]),i=pe(o,1)[0];this.delete(i)}this.keys.push(t)}var a=this.cache;t.forEach((function(e,o){if(o===t.length-1)a.set(e,{value:[n,r.cacheCallTimes++]});else{var i=a.get(e);i?i.map||(i.map=new Map):a.set(e,{map:new Map}),a=a.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var n,r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),null===(n=r.value)||void 0===n?void 0:n[0];var o=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();H(Be,"MAX_CACHE_SIZE",20),H(Be,"MAX_CACHE_OFFSET",5);var Pe=0,_e=function(){function e(t){K(this,e),H(this,"derivatives",void 0),H(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Pe,0===t.length&&w(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Pe+=1}return Y(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),Ne=new Be;var Re=new WeakMap,Le={};var Ie=new WeakMap;function ze(e){var t=Ie.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof _e?t+=r.id:r&&"object"===b(r)?t+=ze(r):t+=r})),t=he(t),Ie.set(e,t)),t}function De(e,t){return he("".concat(t,"_").concat(ze(e)))}var Fe=ge();function Ge(e){return"number"==typeof e?"".concat(e,"px"):e}function We(e,t,n){var r;if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var o=T(T({},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}),{},(H(r={},Ae,t),H(r,He,n),r)),i=Object.keys(o).map((function(e){var t=o[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var Ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Xe=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=pe(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},qe=function(e,t,n){var r={},o={};return Object.entries(e).forEach((function(e){var t,i,a=pe(e,2),c=a[0],s=a[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[c])o[c]=s;else if(!("string"!=typeof s&&"number"!=typeof s||null!=n&&null!==(i=n.ignore)&&void 0!==i&&i[c])){var l,u=Ve(c,null==n?void 0:n.prefix);r[u]="number"!=typeof s||null!=n&&null!==(l=n.unitless)&&void 0!==l&&l[c]?String(s):"".concat(s,"px"),o[c]="var(".concat(u,")")}})),[o,Xe(r,t,{scope:null==n?void 0:n.scope})]},Ue="test"!==process.env.NODE_ENV&&ge()?l.useLayoutEffect:l.useEffect,Ke=function(e,t){var n=l.useRef(!0);Ue((function(){return e(n.current)}),t),Ue((function(){return n.current=!1,function(){n.current=!0}}),[])},Qe=function(e,t){Ke((function(t){if(!t)return e()}),t)},Ye=T({},l).useInsertionEffect,Ze=Ye?function(e,t,n){return Ye((function(){return e(),t()}),n)}:function(e,t,n){l.useMemo(e,n),Ke((function(){return t(!0)}),n)},Je=void 0!==T({},l).useInsertionEffect?function(e){var t=[],n=!1;return l.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n?"production"!==process.env.NODE_ENV&&w(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect."):t.push(e)}}:function(){return function(e){e()}};var et=!1;const tt="production"===process.env.NODE_ENV?function(){return!1}:function(){return et};if("production"!==process.env.NODE_ENV&&"undefined"!=typeof module&&module&&module.hot&&"undefined"!=typeof window){var nt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:null;if(nt&&"function"==typeof nt.webpackHotUpdate){var rt=nt.webpackHotUpdate;nt.webpackHotUpdate=function(){return et=!0,setTimeout((function(){et=!1}),0),rt.apply(void 0,arguments)}}}function ot(e,t,n,r,o){var i=l.useContext(Te).cache,a=je([e].concat(ae(t))),c=Je([a]),s=tt(),u=function(e){i.opUpdate(a,(function(t){var o=pe(t||[void 0,void 0],2),i=o[0],a=void 0===i?0:i,c=o[1],l=c;"production"!==process.env.NODE_ENV&&c&&s&&(null==r||r(l,s),l=null);var u=[a,l||n()];return e?e(u):u}))};l.useMemo((function(){u()}),[a]);var f=i.opGet(a);"production"===process.env.NODE_ENV||f||(u(),f=i.opGet(a));var d=f[1];return Ze((function(){null==o||o(d)}),(function(e){return u((function(t){var n=pe(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(d)),[r+1,i]})),function(){i.opUpdate(a,(function(t){var n=pe(t||[],2),o=n[0],s=void 0===o?0:o,l=n[1];return 0===s-1?(c((function(){!e&&i.opGet(a)||null==r||r(l,!1)})),null):[s-1,l]}))}}),[a]),d}var it={},at="production"!==process.env.NODE_ENV?"css-dev-only-do-not-override":"css",ct=new Map;function st(e,t){ct.set(e,(ct.get(e)||0)-1);var n=Array.from(ct.keys()),r=n.filter((function(e){return(ct.get(e)||0)<=0}));n.length-r.length>0&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(Ae,'="').concat(e,'"]')).forEach((function(e){var n;e[Me]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),ct.delete(e)}))}var lt="token";function ut(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.useContext(Te),i=o.cache.instanceId,a=o.container,c=r.salt,s=void 0===c?"":c,l=r.override,u=void 0===l?it:l,f=r.formatToken,d=r.getComputedToken,p=r.cssVar,h=function(e,t){for(var n=Re,r=0;r<t.length;r+=1){var o=t[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(Le)||n.set(Le,e()),n.get(Le)}((function(){return Object.assign.apply(Object,[{}].concat(ae(n)))}),n),g=ze(h),v=ze(u),m=p?ze(p):"",b=ot(lt,[s,e.id,g,v,m],(function(){var t,n=d?d(h,u,e):function(e,t,n,r){var o=T(T({},n.getDerivativeToken(e)),t);return r&&(o=r(o)),o}(h,u,e,f),r=T({},n),o="";if(p){var i=pe(qe(n,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve}),2);n=i[0],o=i[1]}var a=De(n,s);n._tokenKey=a,r._tokenKey=De(r,s);var c=null!==(t=null==p?void 0:p.key)&&void 0!==t?t:a;n._themeKey=c,function(e){ct.set(e,(ct.get(e)||0)+1)}(c);var l="".concat(at,"-").concat(he(a));return n._hashId=l,[n,l,r,o,(null==p?void 0:p.key)||""]}),(function(e){st(e[0]._themeKey,i)}),(function(e){var t=pe(e,4),n=t[0],r=t[3];if(p&&r){var o=ke(r,he("css-variables-".concat(n._themeKey)),{mark:He,prepend:"queue",attachTo:a,priority:-999});o[Me]=i,o.setAttribute(Ae,n._themeKey)}}));return b}var ft={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},dt="comm",pt="rule",ht="decl",gt=Math.abs,vt=String.fromCharCode;function mt(e){return e.trim()}function bt(e,t,n){return e.replace(t,n)}function yt(e,t,n){return e.indexOf(t,n)}function xt(e,t){return 0|e.charCodeAt(t)}function St(e,t,n){return e.slice(t,n)}function Ct(e){return e.length}function Et(e,t){return t.push(e),e}var wt=1,kt=1,Ot=0,jt=0,$t=0,At="";function Ht(e,t,n,r,o,i,a,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:wt,column:kt,length:a,return:"",siblings:c}}function Mt(){return $t=jt<Ot?xt(At,jt++):0,kt++,10===$t&&(kt=1,wt++),$t}function Tt(){return xt(At,jt)}function Bt(){return jt}function Pt(e,t){return St(At,e,t)}function _t(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Nt(e){return mt(Pt(jt-1,It(91===e?e+2:40===e?e+1:e)))}function Rt(e){for(;($t=Tt())&&$t<33;)Mt();return _t(e)>2||_t($t)>3?"":" "}function Lt(e,t){for(;--t&&Mt()&&!($t<48||$t>102||$t>57&&$t<65||$t>70&&$t<97););return Pt(e,Bt()+(t<6&&32==Tt()&&32==Mt()))}function It(e){for(;Mt();)switch($t){case e:return jt;case 34:case 39:34!==e&&39!==e&&It($t);break;case 40:41===e&&It(e);break;case 92:Mt()}return jt}function zt(e,t){for(;Mt()&&e+$t!==57&&(e+$t!==84||47!==Tt()););return"/*"+Pt(t,jt-1)+"*"+vt(47===e?e:Mt())}function Dt(e){for(;!_t(Tt());)Mt();return Pt(e,jt)}function Ft(e){return function(e){return At="",e}(Gt("",null,null,null,[""],e=function(e){return wt=kt=1,Ot=Ct(At=e),jt=0,[]}(e),0,[0],e))}function Gt(e,t,n,r,o,i,a,c,s){for(var l=0,u=0,f=a,d=0,p=0,h=0,g=1,v=1,m=1,b=0,y="",x=o,S=i,C=r,E=y;v;)switch(h=b,b=Mt()){case 40:if(108!=h&&58==xt(E,f-1)){-1!=yt(E+=bt(Nt(b),"&","&\f"),"&\f",gt(l?c[l-1]:0))&&(m=-1);break}case 34:case 39:case 91:E+=Nt(b);break;case 9:case 10:case 13:case 32:E+=Rt(h);break;case 92:E+=Lt(Bt()-1,7);continue;case 47:switch(Tt()){case 42:case 47:Et(Vt(zt(Mt(),Bt()),t,n,s),s),5!=_t(h||1)&&5!=_t(Tt()||1)||!Ct(E)||" "===St(E,-1,void 0)||(E+=" ");break;default:E+="/"}break;case 123*g:c[l++]=Ct(E)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:-1==m&&(E=bt(E,/\f/g,"")),p>0&&(Ct(E)-f||0===g&&47===h)&&Et(p>32?Xt(E+";",r,n,f-1,s):Xt(bt(E," ","")+";",r,n,f-2,s),s);break;case 59:E+=";";default:if(Et(C=Wt(E,t,n,l,u,o,c,y,x=[],S=[],f,i),i),123===b)if(0===u)Gt(E,t,C,C,x,i,f,c,S);else{switch(d){case 99:if(110===xt(E,3))break;case 108:if(97===xt(E,2))break;default:u=0;case 100:case 109:case 115:}u?Gt(e,C,C,r&&Et(Wt(e,C,C,0,0,o,c,y,o,x=[],f,S),S),o,S,f,c,r?x:S):Gt(E,C,C,C,[""],S,0,c,S)}}l=u=p=0,g=m=1,y=E="",f=a;break;case 58:f=1+Ct(E),p=h;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==($t=jt>0?xt(At,--jt):0,kt--,10===$t&&(kt=1,wt--),$t))continue;switch(E+=vt(b),b*g){case 38:m=u>0?1:(E+="\f",-1);break;case 44:c[l++]=(Ct(E)-1)*m,m=1;break;case 64:45===Tt()&&(E+=Nt(Mt())),d=Tt(),u=f=Ct(y=E+=Dt(Bt())),b++;break;case 45:45===h&&2==Ct(E)&&(g=0)}}return i}function Wt(e,t,n,r,o,i,a,c,s,l,u,f){for(var d=o-1,p=0===o?i:[""],h=function(e){return e.length}(p),g=0,v=0,m=0;g<r;++g)for(var b=0,y=St(e,d+1,d=gt(v=a[g])),x=e;b<h;++b)(x=mt(v>0?p[b]+" "+y:bt(y,/&\f/g,p[b])))&&(s[m++]=x);return Ht(e,t,n,0===o?pt:c,s,l,u,f)}function Vt(e,t,n,r){return Ht(e,t,n,dt,vt($t),St(e,2,-2),0,r)}function Xt(e,t,n,r,o){return Ht(e,t,n,ht,St(e,0,r),St(e,r+1,-1),r,o)}function qt(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Ut(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case ht:return e.return=e.return||e.value;case dt:return"";case"@keyframes":return e.return=e.value+"{"+qt(e.children,r)+"}";case pt:if(!Ct(e.value=e.props.join(",")))return""}return Ct(n=qt(e.children,r))?e.return=e.value+"{"+n+"}":""}function Kt(e,t){var n=t.path,r=t.parentSelectors;$(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(e).concat(r.length?" Selector: ".concat(r.join(" | ")):""))}var Qt,Yt=function(e,t,n){if("content"===e){("string"!=typeof t||-1===["normal","none","initial","inherit","unset"].indexOf(t)&&!/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0)))&&Kt("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(t,"\"'`."),n)}},Zt=function(e,t,n){"animation"===e&&n.hashId&&"none"!==t&&Kt("You seem to be using hashed animation '".concat(t,"', in which case 'animationName' with Keyframe as value is recommended."),n)},Jt="data-ant-cssinjs-cache-path",en="_FILE_STYLE__",tn=!0;function nn(e){return function(){if(!Qt&&(Qt={},ge())){var e=document.createElement("div");e.className=Jt,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=pe(e.split(":"),2),n=t[0],r=t[1];Qt[n]=r}));var n,r=document.querySelector("style[".concat(Jt,"]"));r&&(tn=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!Qt[e]}var rn="_skip_check_",on="_multi_value_";function an(e){return qt(Ft(e),Ut).replace(/\{%%%\:[^;];}/g,";")}function cn(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(ae(n.slice(1))).join(" ")})).join(",")}var sn=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,a=r.parentSelectors,c=n.hashId,s=n.layer,l=n.path,u=n.hashPriority,f=n.transformers,d=void 0===f?[]:f,p=n.linters,h=void 0===p?[]:p,g="",v={};function m(t){var r=t.getName(c);if(!v[r]){var o=pe(e(t.style,n,{root:!1,parentSelectors:a}),1)[0];v[r]="@keyframes ".concat(t.getName(c)).concat(o)}}var y=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return y.forEach((function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)g+="".concat(r,"\n");else if(r._keyframe)m(r);else{var s=d.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(s).forEach((function(t){var r=s[t];if("object"!==b(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===b(e)&&e&&(rn in e||on in e)}(r)){let e=function(e,t){"production"===process.env.NODE_ENV||"object"===b(r)&&null!=r&&r[rn]||[Yt,Zt].concat(ae(h)).forEach((function(n){return n(e,t,{path:l,hashId:c,parentSelectors:a})}));var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),o=t;ft[e]||"number"!=typeof o||0===o||(o="".concat(o,"px")),"animationName"===e&&null!=t&&t._keyframe&&(m(t),o=t.getName(c)),g+="".concat(n,":").concat(o,";")};var f,d=null!==(f=null==r?void 0:r.value)&&void 0!==f?f:r;"object"===b(r)&&null!=r&&r[on]&&Array.isArray(d)?d.forEach((function(n){e(t,n)})):e(t,d)}else{var p=!1,y=t.trim(),x=!1;(o||i)&&c?y.startsWith("@")?p=!0:y=cn("&"===y?"":t,c,u):!o||c||"&"!==y&&""!==y||(y="",x=!0);var S=pe(e(r,n,{root:x,injectHash:p,parentSelectors:[].concat(ae(a),[y])}),2),C=S[0],E=S[1];v=T(T({},v),E),g+="".concat(y).concat(C)}}))}})),o?s&&(g&&(g="@layer ".concat(s.name," {").concat(g,"}")),s.dependencies&&(v["@layer ".concat(s.name)]=s.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(s.name,";")})).join("\n"))):g="{".concat(g,"}"),[g,v]};function ln(e,t){return he("".concat(e.join("%")).concat(t))}function un(){return null}var fn="style";function dn(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,c=e.clientOnly,s=e.order,u=void 0===s?0:s,f=l.useContext(Te),d=f.autoClear,p=f.mock,h=f.defaultCache,g=f.hashPriority,v=f.container,b=f.ssrInline,y=f.transformers,x=f.linters,S=f.cache,C=f.layer,E=n._tokenKey,w=[E];C&&w.push("layer"),w.push.apply(w,ae(r));var k=Fe;"production"!==process.env.NODE_ENV&&void 0!==p&&(k="client"===p);var O=ot(fn,w,(function(){var e=w.join("|");if(nn(e)){var n=function(e){var t=Qt[e],n=null;if(t&&ge())if(tn)n=en;else{var r=document.querySelector("style[".concat(He,'="').concat(Qt[e],'"]'));r?n=r.innerHTML:delete Qt[e]}return[n,t]}(e),a=pe(n,2),s=a[0],l=a[1];if(s)return[s,E,l,{},c,u]}var f=t(),d=pe(sn(f,{hashId:o,hashPriority:g,layer:C?i:void 0,path:r.join("-"),transformers:y,linters:x}),2),p=d[0],h=d[1],v=an(p),m=ln(w,v);return[v,E,m,h,c,u]}),(function(e,t){var n=pe(e,3)[2];(t||d)&&Fe&&we(n,{mark:He})}),(function(e){var t=pe(e,4),n=t[0];t[1];var r=t[2],o=t[3];if(k&&n!==en){var i={mark:He,prepend:!C&&"queue",attachTo:v,priority:u},c="function"==typeof a?a():a;c&&(i.csp={nonce:c});var s=[],l=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?s.push(e):l.push(e)})),s.forEach((function(e){ke(an(o[e]),"_layer-".concat(e),T(T({},i),{},{prepend:!0}))}));var f=ke(n,r,i);f[Me]=S.instanceId,f.setAttribute(Ae,E),"production"!==process.env.NODE_ENV&&f.setAttribute("data-cache-path",w.join("|")),l.forEach((function(e){ke(an(o[e]),"_effect-".concat(e),i)}))}})),j=pe(O,3),$=j[0],A=j[1],M=j[2];return function(e){var t,n;b&&!k&&h?t=l.createElement("style",m({},(H(n={},Ae,A),H(n,He,M),n),{dangerouslySetInnerHTML:{__html:$}})):t=l.createElement(un,null);return l.createElement(l.Fragment,null,t,e)}}var pn,hn="cssVar";function gn(e){return e.notSplit=!0,e}H(pn={},fn,(function(e,t,n){var r=pe(e,6),o=r[0],i=r[1],a=r[2],c=r[3],s=r[4],l=r[5],u=(n||{}).plain;if(s)return null;var f=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(l)};return f=We(o,i,a,d,u),c&&Object.keys(c).forEach((function(e){if(!t[e]){t[e]=!0;var n=We(an(c[e]),i,"_effect-".concat(e),d,u);e.startsWith("@layer")?f=n+f:f+=n}})),[l,a,f]})),H(pn,lt,(function(e,t,n){var r=pe(e,5),o=r[2],i=r[3],a=r[4],c=(n||{}).plain;if(!i)return null;var s=o._tokenKey;return[-999,s,We(i,a,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},c)]})),H(pn,hn,(function(e,t,n){var r=pe(e,4),o=r[1],i=r[2],a=r[3],c=(n||{}).plain;if(!o)return null;return[-999,i,We(o,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},c)]})),gn(["borderTop","borderBottom"]),gn(["borderTop"]),gn(["borderBottom"]),gn(["borderLeft","borderRight"]),gn(["borderLeft"]),gn(["borderRight"]);var vn=t.createContext({});function mn(){}let bn=null;let yn=mn;"production"!==process.env.NODE_ENV&&(yn=(e,t,n)=>{$(e,`[antd: ${t}] ${n}`),"test"===process.env.NODE_ENV&&(bn=null,O())});const xn=l.createContext({}),Sn="production"!==process.env.NODE_ENV?e=>{const{strict:t}=l.useContext(xn),n=(n,r,o)=>{if(!n)if(!1===t&&"deprecated"===r){const t=bn;bn||(bn={}),bn[e]=bn[e]||[],bn[e].includes(o||"")||bn[e].push(o||""),t||console.warn("[antd] There exists deprecated usage in your code:",bn)}else"production"!==process.env.NODE_ENV&&yn(n,e,o)};return n.deprecated=(e,t,r,o)=>{n(e,"deprecated",`\`${t}\` is deprecated. Please use \`${r}\` instead.${o?` ${o}`:""}`)},n}:()=>{const e=()=>{};return e.deprecated=mn,e},Cn=yn,En={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"},wn=Object.assign(Object.assign({},En),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'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}),kn=Math.round;function On(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map((e=>parseFloat(e)));for(let o=0;o<3;o+=1)r[o]=t(r[o]||0,n[o]||"",o);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const jn=(e,t,n)=>0===n?e:e/100;function $n(e,t){const n=t||255;return e>n?n:e<0?0:e}class An{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(H(this,"isValid",!0),H(this,"r",0),H(this,"g",0),H(this,"b",0),H(this,"a",1),H(this,"_h",void 0),H(this,"_s",void 0),H(this,"_l",void 0),H(this,"_v",void 0),H(this,"_max",void 0),H(this,"_min",void 0),H(this,"_brightness",void 0),e)if("string"==typeof e){let t=function(e){return n.startsWith(e)};const n=e.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):t("rgb")?this.fromRgbString(n):t("hsl")?this.fromHslString(n):(t("hsv")||t("hsb"))&&this.fromHsvString(n)}else if(e instanceof An)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=$n(e.r),this.g=$n(e.g),this.b=$n(e.b),this.a="number"==typeof e.a?$n(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e));this.fromHsv(e)}else;}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:kn(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){const e=this.getMax()-this.getMin();this._s=0===e?0:e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){const n=this._c(e),r=t/100,o=e=>(n[e]-this[e])*r+this[e],i={r:kn(o("r")),g:kn(o("g")),b:kn(o("b")),a:kn(100*o("a"))/100};return this._c(i)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>kn((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;const r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){const t=kn(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=kn(100*this.getSaturation()),n=kn(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){const r=this.clone();return r[e]=$n(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof r?r:1,t<=0){const e=kn(255*n);this.r=e,this.g=e,this.b=e}let o=0,i=0,a=0;const c=e/60,s=(1-Math.abs(2*n-1))*t,l=s*(1-Math.abs(c%2-1));c>=0&&c<1?(o=s,i=l):c>=1&&c<2?(o=l,i=s):c>=2&&c<3?(i=s,a=l):c>=3&&c<4?(i=l,a=s):c>=4&&c<5?(o=l,a=s):c>=5&&c<6&&(o=s,a=l);const u=n-s/2;this.r=kn(255*(o+u)),this.g=kn(255*(i+u)),this.b=kn(255*(a+u))}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof r?r:1;const o=kn(255*n);if(this.r=o,this.g=o,this.b=o,t<=0)return;const i=e/60,a=Math.floor(i),c=i-a,s=kn(n*(1-t)*255),l=kn(n*(1-t*c)*255),u=kn(n*(1-t*(1-c))*255);switch(a){case 0:this.g=u,this.b=s;break;case 1:this.r=l,this.b=s;break;case 2:this.r=s,this.b=u;break;case 3:this.r=s,this.g=l;break;case 4:this.r=u,this.g=s;break;default:this.g=s,this.b=l}}fromHsvString(e){const t=On(e,jn);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=On(e,jn);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=On(e,((e,t)=>t.includes("%")?kn(e/100*255):e));this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var Hn=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function Mn(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function Tn(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100);var r}function Bn(e,t,n){var r;return r=n?e.v+.05*t:e.v-.15*t,r=Math.max(0,Math.min(1,r)),Math.round(100*r)/100}function Pn(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=new An(e),o=r.toHsv(),i=5;i>0;i-=1){var a=new An({h:Mn(o,i,!0),s:Tn(o,i,!0),v:Bn(o,i,!0)});n.push(a)}n.push(r);for(var c=1;c<=4;c+=1){var s=new An({h:Mn(o,c),s:Tn(o,c),v:Bn(o,c)});n.push(s)}return"dark"===t.theme?Hn.map((function(e){var r=e.index,o=e.amount;return new An(t.backgroundColor||"#141414").mix(n[r],o).toHexString()})):n.map((function(e){return e.toHexString()}))}var _n={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"},Nn=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Nn.primary=Nn[5];var Rn=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Rn.primary=Rn[5];var Ln=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Ln.primary=Ln[5];var In=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];In.primary=In[5];var zn=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];zn.primary=zn[5];var Dn=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Dn.primary=Dn[5];var Fn=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Fn.primary=Fn[5];var Gn=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Gn.primary=Gn[5];var Wn=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Wn.primary=Wn[5];var Vn=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Vn.primary=Vn[5];var Xn=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Xn.primary=Xn[5];var qn=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];qn.primary=qn[5];var Un=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];Un.primary=Un[5];var Kn={red:Nn,volcano:Rn,orange:Ln,gold:In,yellow:zn,lime:Dn,green:Fn,cyan:Gn,blue:Wn,geekblue:Vn,purple:Xn,magenta:qn,grey:Un};function Qn(e){return(e+8)/e}const Yn=e=>{const t=function(e){const t=Array.from({length:10}).map(((t,n)=>{const r=n-1,o=e*Math.pow(Math.E,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:Qn(e)})))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],a=n[2],c=r[1],s=r[0],l=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:l,lineHeightSM:s,fontHeight:Math.round(c*o),fontHeightLG:Math.round(l*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};const Zn=(e,t)=>new An(e).setA(t).toRgbString(),Jn=(e,t)=>new An(e).darken(t).toHexString(),er=e=>{const t=Pn(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},tr=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Zn(r,.88),colorTextSecondary:Zn(r,.65),colorTextTertiary:Zn(r,.45),colorTextQuaternary:Zn(r,.25),colorFill:Zn(r,.15),colorFillSecondary:Zn(r,.06),colorFillTertiary:Zn(r,.04),colorFillQuaternary:Zn(r,.02),colorBgSolid:Zn(r,1),colorBgSolidHover:Zn(r,.75),colorBgSolidActive:Zn(r,.95),colorBgLayout:Jn(n,4),colorBgContainer:Jn(n,0),colorBgElevated:Jn(n,0),colorBgSpotlight:Zn(r,.85),colorBgBlur:"transparent",colorBorder:Jn(n,15),colorBorderSecondary:Jn(n,6)}};const nr=(rr=function(e){_n.pink=_n.magenta,Kn.pink=Kn.magenta;const t=Object.keys(En).map((t=>{const n=e[t]===_n[t]?Kn[t]:Pn(e[t]);return Array.from({length:10},(()=>1)).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:c,colorPrimary:s,colorBgBase:l,colorTextBase:u}=e,f=n(s),d=n(o),p=n(i),h=n(a),g=n(c),v=r(l,u),m=n(e.colorLink||e.colorInfo),b=new An(h[1]).mix(new An(h[3]),50).toHexString();return Object.assign(Object.assign({},v),{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:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBgFilledHover:b,colorErrorBgActive:h[3],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:m[4],colorLink:m[6],colorLinkActive:m[7],colorBgMask:new An("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:er,generateNeutralColorPalettes:tr})),Yn(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}})(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},(e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}})(r))}(e))},or=Array.isArray(rr)?rr:[rr],Ne.has(or)||Ne.set(or,new _e(or)),Ne.get(or));var rr,or;const ir={token:wn,override:{override:wn},hashed:!0},ar=t.createContext(ir),cr="ant",sr="anticon",lr=l.createContext({getPrefixCls:(e,t)=>t||(e?`${cr}-${e}`:cr),iconPrefixCls:sr}),{Consumer:ur}=lr,fr={};const dr=l.createContext(!1),pr=l.createContext(void 0);var hr=Y((function e(){K(this,e)})),gr="CALC_UNIT",vr=new RegExp(gr,"g");function mr(e){return"number"==typeof e?"".concat(e).concat(gr):e}var br=function(e){J(n,e);var t=re(n);function n(e,r){var o;K(this,n),H(ne(o=t.call(this)),"result",""),H(ne(o),"unitlessCssVar",void 0),H(ne(o),"lowPriority",void 0);var i=b(e);return o.unitlessCssVar=r,e instanceof n?o.result="(".concat(e.result,")"):"number"===i?o.result=mr(e):"string"===i&&(o.result=e),o}return Y(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(mr(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(mr(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return"boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(r=!1),this.result=this.result.replace(vr,r?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),n}(hr),yr=function(e){J(n,e);var t=re(n);function n(e){var r;return K(this,n),H(ne(r=t.call(this)),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return Y(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(hr),xr=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Sr(e){var t=l.useRef();t.current=e;var n=l.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}function Cr(e){var t=l.useRef(!1),n=pe(l.useState(e),2),r=n[0],o=n[1];return l.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[r,function(e,n){n&&t.current||o(e)}]}function Er(e){return void 0!==e}function wr(e,t,n,r){var o=T({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach((function(t){var n,r=pe(t,2),i=r[0],a=r[1];("production"!==process.env.NODE_ENV&&$(!(null!=o&&o[i]),"Component Token `".concat(String(i),"` of ").concat(String(e)," is deprecated. Please use `").concat(String(a),"` instead.")),null!=o&&o[i]||null!=o&&o[a])&&(null!==(n=o[a])&&void 0!==n||(o[a]=null==o?void 0:o[i]))}));var i=T(T({},n),o);return Object.keys(i).forEach((function(e){i[e]===t[e]&&delete i[e]})),i}var kr="production"!==process.env.NODE_ENV||"undefined"!=typeof CSSINJS_STATISTIC,Or=!0;function jr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!kr)return Object.assign.apply(Object,[{}].concat(t));Or=!1;var r={};return t.forEach((function(e){"object"===b(e)&&Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){return e[t]}})}))})),Or=!0,r}var $r={};function Ar(){}function Hr(e,t,n){var r;return"function"==typeof n?n(jr(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}}var Mr=new(function(){function e(){K(this,e),H(this,"map",new Map),H(this,"objectIDMap",new WeakMap),H(this,"nextID",0),H(this,"lastAccessBeat",new Map),H(this,"accessBeat",0)}return Y(e,[{key:"set",value:function(e,t){this.clear();var n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){var t=this;return e.map((function(e){return e&&"object"===b(e)?"obj_".concat(t.getObjectID(e)):"".concat(b(e),"_").concat(e)})).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach((function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))})),this.accessBeat=0}}}]),e}());var Tr=function(){return{}};const Br=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Pr(e){return e>=0&&e<=255}function _r(e,t){const{r:n,g:r,b:o,a:i}=new An(e).toRgb();if(i<1)return e;const{r:a,g:c,b:s}=new An(t).toRgb();for(let l=.01;l<=1;l+=.01){const e=Math.round((n-a*(1-l))/l),t=Math.round((r-c*(1-l))/l),i=Math.round((o-s*(1-l))/l);if(Pr(e)&&Pr(t)&&Pr(i))return new An({r:e,g:t,b:i,a:Math.round(100*l)/100}).toRgbString()}return new An({r:n,g:r,b:o,a:1}).toRgbString()}function Nr(e){const{override:t}=e,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["override"]),r=Object.assign({},t);Object.keys(wn).forEach((e=>{delete r[e]}));const o=Object.assign(Object.assign({},n),r),i=1200,a=1600;if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:_r(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:_r(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:_r(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:3*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:_r(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:i,screenXLMin:i,screenXLMax:1599,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new An("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new An("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new An("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",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)"}),r)}var Rr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Lr={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},Ir={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},zr={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},Dr=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=Rr(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=Nr(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=Rr(n,["theme"]);let i=o;r&&(i=Dr(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function Fr(){const{token:e,hashed:n,theme:r,override:o,cssVar:i}=t.useContext(ar),a=`5.25.1-${n||""}`,c=r||nr,[s,l,u]=ut(c,[wn,e],{salt:a,override:o,getComputedToken:Dr,formatToken:Nr,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:Lr,ignore:Ir,preserve:zr}});return[c,u,n?l:"",s,i]}const Gr=(e,t)=>({outline:`${Ge(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:null!=t?t:1,transition:"outline-offset 0s, outline 0s"}),Wr=(e,t)=>({"&:focus-visible":Object.assign({},Gr(e,t))}),{genStyleHooks:Vr,genComponentStyleHook:Xr,genSubStyleComponent:qr}=function(e){var n=e.useCSP,r=void 0===n?Tr:n,o=e.useToken,i=e.usePrefix,a=e.getResetStyles,c=e.getCommonStyle,s=e.getCompUnitless;function l(n,s,l){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},f=Array.isArray(n)?n:[n,n],d=pe(f,1)[0],p=f.join("-"),h=e.layer||{name:"antd"};return function(e){var n,f,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,v=o(),m=v.theme,y=v.realToken,x=v.hashId,S=v.token,C=v.cssVar,E=i(),w=E.rootPrefixCls,k=E.iconPrefixCls,O=r(),j=C?"css":"js",$=(n=function(){var e=new Set;return C&&Object.keys(u.unitless||{}).forEach((function(t){e.add(Ve(t,C.prefix)),e.add(Ve(t,xr(d,C.prefix)))})),function(e,t){var n="css"===e?br:yr;return function(e){return new n(e,t)}}(j,e)},f=[j,d,null==C?void 0:C.prefix],t.useMemo((function(){var e=Mr.get(f);if(e)return e;var t=n();return Mr.set(f,t),t}),f)),A=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"max(".concat(t.map((function(e){return Ge(e)})).join(","),")")},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"min(".concat(t.map((function(e){return Ge(e)})).join(","),")")}}}(j),H=A.max,M=A.min,B={theme:m,token:S,hashId:x,nonce:function(){return O.nonce},clientOnly:u.clientOnly,layer:h,order:u.order||-999};"function"==typeof a&&dn(T(T({},B),{},{clientOnly:!1,path:["Shared",w]}),(function(){return a(S,{prefix:{rootPrefixCls:w,iconPrefixCls:k},csp:O})}));var P=dn(T(T({},B),{},{path:[p,e,k]}),(function(){if(!1===u.injectStyle)return[];var t=function(e){var t,n=e,r=Ar;return kr&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:function(e,n){var r;return Or&&(null===(r=t)||void 0===r||r.add(n)),e[n]}}),r=function(e,n){var r;$r[e]={global:Array.from(t),component:T(T({},null===(r=$r[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:r}}(S),n=t.token,r=t.flush,o=Hr(d,y,l),i=".".concat(e),a=wr(d,y,o,{deprecatedTokens:u.deprecatedTokens});C&&o&&"object"===b(o)&&Object.keys(o).forEach((function(e){o[e]="var(".concat(Ve(e,xr(d,C.prefix)),")")}));var f=jr(n,{componentCls:i,prefixCls:e,iconCls:".".concat(k),antCls:".".concat(w),calc:$,max:H,min:M},C?o:a),p=s(f,{hashId:x,prefixCls:e,rootPrefixCls:w,iconPrefixCls:k});r(d,a);var h="function"==typeof c?c(f,e,g,u.resetFont):null;return[!1===u.resetStyle?null:h,p]}));return[P,x]}}return{genStyleHooks:function(e,n,r,i){var a=Array.isArray(e)?e[0]:e;function c(e){return"".concat(String(a)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var u=(null==i?void 0:i.unitless)||{},f=T(T({},"function"==typeof s?s(e):{}),{},H({},c("zIndexPopup"),!0));Object.keys(u).forEach((function(e){f[c(e)]=u[e]}));var d=T(T({},i),{},{unitless:f,prefixToken:c}),p=l(e,n,r,d),h=function(e,n,r){var i=r.unitless,a=r.injectStyle,c=void 0===a||a,s=r.prefixToken,l=r.ignore,u=function(a){var c=a.rootCls,u=a.cssVar,f=void 0===u?{}:u,d=o().realToken;return function(e,n){var r=e.key,o=e.prefix,i=e.unitless,a=e.ignore,c=e.token,s=e.scope,l=void 0===s?"":s,u=t.useContext(Te),f=u.cache.instanceId,d=u.container,p=c._tokenKey,h=[].concat(ae(e.path),[r,l,p]);ot(hn,h,(function(){var e=n(),t=pe(qe(e,r,{prefix:o,unitless:i,ignore:a,scope:l}),2),c=t[0],s=t[1];return[c,s,ln(h,s),r]}),(function(e){var t=pe(e,3)[2];Fe&&we(t,{mark:He})}),(function(e){var t=pe(e,3),n=t[1],o=t[2];if(n){var i=ke(n,o,{mark:He,prepend:"queue",attachTo:d,priority:-999});i[Me]=f,i.setAttribute(Ae,r)}}))}({path:[e],prefix:f.prefix,key:f.key,unitless:i,ignore:l,token:d,scope:c},(function(){var t=Hr(e,d,n),o=wr(e,d,t,{deprecatedTokens:null==r?void 0:r.deprecatedTokens});return Object.keys(t).forEach((function(e){o[s(e)]=o[e],delete o[e]})),o})),null},f=function(n){var r=o().cssVar;return[function(o){return c&&r?t.createElement(t.Fragment,null,t.createElement(u,{rootCls:n,cssVar:r,component:e}),o):o},null==r?void 0:r.key]};return f}(a,r,d);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=pe(p(e,t),2)[1],r=pe(h(t),2);return[r[0],n,r[1]]}},genSubStyleComponent:function(e,t,n){var r=l(e,t,n,T({resetStyle:!1,order:-998},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})),o=function(e){var t=e.prefixCls,n=e.rootCls;return r(t,void 0===n?t:n),null};return"production"!==process.env.NODE_ENV&&(o.displayName="SubStyle_".concat(String(Array.isArray(e)?e.join("."):e))),o},genComponentStyleHook:l}}({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:n}=t.useContext(lr);return{rootPrefixCls:e(),iconPrefixCls:n}},useToken:()=>{const[e,t,n,r,o]=Fr();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{const{csp:e}=t.useContext(lr);return null!=e?e:{}},getResetStyles:(e,t)=>{var n;const r=(e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}))(e);return[r,{"&":r},(o=null!==(n=null==t?void 0:t.prefix.iconPrefixCls)&&void 0!==n?n:sr,{[`.${o}`]:Object.assign(Object.assign({},{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"}}),{[`.${o} .${o}-icon`]:{display:"block"}})})];var o},getCommonStyle:(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let c={};return!1!==r&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},c),a),{[o]:a})}},getCompUnitless:()=>Lr});var Ur=l.createContext({}),Kr=function(e){J(n,e);var t=re(n);function n(){return K(this,n),t.apply(this,arguments)}return Y(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component);var Qr="none",Yr="appear",Zr="enter",Jr="leave",eo="none",to="prepare",no="start",ro="active",oo="end",io="prepared";function ao(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var co,so,lo,uo=(co=ge(),so="undefined"!=typeof window?window:{},lo={animationend:ao("Animation","AnimationEnd"),transitionend:ao("Transition","TransitionEnd")},co&&("AnimationEvent"in so||delete lo.animationend.animation,"TransitionEvent"in so||delete lo.transitionend.transition),lo),fo={};if(ge()){var po=document.createElement("div");fo=po.style}var ho={};function go(e){if(ho[e])return ho[e];var t=uo[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in fo)return ho[e]=t[i],ho[e]}return""}var vo=go("animationend"),mo=go("transitionend"),bo=!(!vo||!mo),yo=vo||"animationend",xo=mo||"transitionend";function So(e,t){return e?"object"===b(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}var Co=ge()?t.useLayoutEffect:t.useEffect;var Eo=[to,no,ro,oo],wo=[to,io],ko=!1;function Oo(e){return e===ro||e===oo}const jo=function(e,t,n){var r=pe(Cr(eo),2),o=r[0],i=r[1],a=function(){var e=l.useRef(null);function t(){de.cancel(e.current)}return l.useEffect((function(){return function(){t()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=de((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),c=pe(a,2),s=c[0],u=c[1];var f=t?wo:Eo;return Co((function(){if(o!==eo&&o!==oo){var e=f.indexOf(o),t=f[e+1],r=n(o);r===ko?i(t,!0):t&&s((function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,o]),l.useEffect((function(){return function(){u()}}),[]),[function(){i(to,!0)},o]};function $o(e,n,r,o){var i,a,c,s=o.motionEnter,u=void 0===s||s,f=o.motionAppear,d=void 0===f||f,p=o.motionLeave,h=void 0===p||p,g=o.motionDeadline,v=o.motionLeaveImmediately,m=o.onAppearPrepare,b=o.onEnterPrepare,y=o.onLeavePrepare,x=o.onAppearStart,S=o.onEnterStart,C=o.onLeaveStart,E=o.onAppearActive,w=o.onEnterActive,k=o.onLeaveActive,O=o.onAppearEnd,j=o.onEnterEnd,$=o.onLeaveEnd,A=o.onVisibleChanged,M=pe(Cr(),2),B=M[0],P=M[1],_=(i=Qr,a=pe(l.useReducer((function(e){return e+1}),0),2)[1],c=l.useRef(i),[Sr((function(){return c.current})),Sr((function(e){c.current="function"==typeof e?e(c.current):e,a()}))]),N=pe(_,2),R=N[0],L=N[1],I=pe(Cr(null),2),z=I[0],D=I[1],F=R(),G=t.useRef(!1),W=t.useRef(null);function V(){return r()}var X=t.useRef(!1);function q(){L(Qr),D(null,!0)}var U=Sr((function(e){var t=R();if(t!==Qr){var n=V();if(!e||e.deadline||e.target===n){var r,o=X.current;t===Yr&&o?r=null==O?void 0:O(n,e):t===Zr&&o?r=null==j?void 0:j(n,e):t===Jr&&o&&(r=null==$?void 0:$(n,e)),o&&!1!==r&&q()}}})),K=function(e){var n=t.useRef();function r(t){t&&(t.removeEventListener(xo,e),t.removeEventListener(yo,e))}return l.useEffect((function(){return function(){r(n.current)}}),[]),[function(t){n.current&&n.current!==t&&r(n.current),t&&t!==n.current&&(t.addEventListener(xo,e),t.addEventListener(yo,e),n.current=t)},r]}(U),Q=pe(K,1)[0],Y=function(e){switch(e){case Yr:return H(H(H({},to,m),no,x),ro,E);case Zr:return H(H(H({},to,b),no,S),ro,w);case Jr:return H(H(H({},to,y),no,C),ro,k);default:return{}}},Z=l.useMemo((function(){return Y(F)}),[F]),J=pe(jo(F,!e,(function(e){if(e===to){var t=Z[to];return t?t(V()):ko}var n;te in Z&&D((null===(n=Z[te])||void 0===n?void 0:n.call(Z,V(),null))||null);return te===ro&&F!==Qr&&(Q(V()),g>0&&(clearTimeout(W.current),W.current=setTimeout((function(){U({deadline:!0})}),g))),te===io&&q(),true})),2),ee=J[0],te=J[1],ne=Oo(te);X.current=ne;var re=t.useRef(null);Co((function(){if(!G.current||re.current!==n){P(n);var t,r=G.current;G.current=!0,!r&&n&&d&&(t=Yr),r&&n&&u&&(t=Zr),(r&&!n&&h||!r&&v&&!n&&h)&&(t=Jr);var o=Y(t);t&&(e||o[to])?(L(t),ee()):L(Qr),re.current=n}}),[n]),t.useEffect((function(){(F===Yr&&!d||F===Zr&&!u||F===Jr&&!h)&&L(Qr)}),[d,u,h]),t.useEffect((function(){return function(){G.current=!1,clearTimeout(W.current)}}),[]);var oe=l.useRef(!1);t.useEffect((function(){B&&(oe.current=!0),void 0!==B&&F===Qr&&((oe.current||B)&&(null==A||A(B)),oe.current=!0)}),[B,F]);var ie=z;return Z[to]&&te===no&&(ie=T({transition:"none"},ie)),[F,te,ie,null!=B?B:n]}const Ao=function(e){var n=e;"object"===b(e)&&(n=e.transitionSupport);var r=l.forwardRef((function(e,r){var o=e.visible,i=void 0===o||o,a=e.removeOnLeave,c=void 0===a||a,s=e.forceRender,u=e.children,f=e.motionName,d=e.leavedClassName,p=e.eventProps,h=function(e,t){return!(!e.motionName||!n||!1===t)}(e,l.useContext(Ur).motion),g=t.useRef(),m=t.useRef();var b=pe($o(h,i,(function(){try{return g.current instanceof HTMLElement?g.current:P(m.current)}catch(e){return null}}),e),4),y=b[0],x=b[1],S=b[2],C=b[3],E=l.useRef(C);C&&(E.current=!0);var w,k=l.useCallback((function(e){g.current=e,G(r,e)}),[r]),O=T(T({},p),{},{visible:i});if(u)if(y===Qr)w=C?u(T({},O),k):!c&&E.current&&d?u(T(T({},O),{},{className:d}),k):s||!c&&!d?u(T(T({},O),{},{style:{display:"none"}}),k):null;else{var j;x===to?j="prepare":Oo(x)?j="active":x===no&&(j="start");var $=So(f,"".concat(y,"-").concat(j));w=u(T(T({},O),{},{className:v(So(f,y),H(H({},$,$&&j),f,"string"==typeof f)),style:S}),k)}else w=null;l.isValidElement(w)&&X(w)&&(U(w)||(w=l.cloneElement(w,{ref:k})));return l.createElement(Kr,{ref:m},w)}));return r.displayName="CSSMotion",r}(bo);var Ho="add",Mo="keep",To="remove",Bo="removed";function Po(e){var t;return T(T({},t=e&&"object"===b(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function _o(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(Po)}var No=["component","children","onVisibleChanged","onAllRemoved"],Ro=["status"],Lo=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Io(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function zo(e){return function(e){return Io(e)instanceof ShadowRoot}(e)?Io(e):null}function Do(e){return"object"===b(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===b(e.icon)||"function"==typeof e.icon)}function Fo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function Go(e,n,r){return r?t.createElement(e.tag,T(T({key:n},Fo(e.attrs)),r),(e.children||[]).map((function(t,r){return Go(t,"".concat(n,"-").concat(e.tag,"-").concat(r))}))):t.createElement(e.tag,T({key:n},Fo(e.attrs)),(e.children||[]).map((function(t,r){return Go(t,"".concat(n,"-").concat(e.tag,"-").concat(r))})))}function Wo(e){return Pn(e)[0]}function Vo(e){return e?Array.isArray(e)?e:[e]:[]}!function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ao,t=function(t){J(r,t);var n=re(r);function r(){var e;K(this,r);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return H(ne(e=n.call.apply(n,[this].concat(o))),"state",{keyEntities:[]}),H(ne(e),"removeKey",(function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:T(T({},e),{},{status:Bo})}))}}),(function(){0===e.state.keyEntities.filter((function(e){return e.status!==Bo})).length&&e.props.onAllRemoved&&e.props.onAllRemoved()}))})),e}return Y(r,[{key:"render",value:function(){var t=this,n=this.state.keyEntities,r=this.props,o=r.component,i=r.children,a=r.onVisibleChanged;r.onAllRemoved;var c=Oe(r,No),s=o||l.Fragment,u={};return Lo.forEach((function(e){u[e]=c[e],delete c[e]})),delete c.keys,l.createElement(s,c,n.map((function(n,r){var o=n.status,c=Oe(n,Ro),s=o===Ho||o===Mo;return l.createElement(e,m({},u,{key:c.key,visible:s,eventProps:c,onVisibleChanged:function(e){null==a||a(e,{key:c.key}),e||t.removeKey(c.key)}}),(function(e,t){return i(T(T({},e),{},{index:r}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,o=_o(n),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=_o(e),a=_o(t);i.forEach((function(e){for(var t=!1,i=r;i<o;i+=1){var c=a[i];if(c.key===e.key){r<i&&(n=n.concat(a.slice(r,i).map((function(e){return T(T({},e),{},{status:Ho})}))),r=i),n.push(T(T({},c),{},{status:Mo})),r+=1,t=!0;break}}t||n.push(T(T({},e),{},{status:To}))})),r<o&&(n=n.concat(a.slice(r).map((function(e){return T(T({},e),{},{status:Ho})}))));var c={};return n.forEach((function(e){var t=e.key;c[t]=(c[t]||0)+1})),Object.keys(c).filter((function(e){return c[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==To}))).forEach((function(t){t.key===e&&(t.status=Mo)}))})),n}(r,o);return{keyEntities:i.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==Bo||e.status!==To}))}}}]),r}(l.Component);H(t,"defaultProps",{component:"div"})}(bo);var Xo=["icon","className","onClick","style","primaryColor","secondaryColor"],qo={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var Uo=function(e){var n,r,o,i,a,c,s,u,f=e.icon,d=e.className,p=e.onClick,h=e.style,g=e.primaryColor,v=e.secondaryColor,m=Oe(e,Xo),b=l.useRef(),y=qo;if(g&&(y={primaryColor:g,secondaryColor:v||Wo(g)}),n=b,r=t.useContext(vn),o=r.csp,i=r.prefixCls,a=r.layer,c="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",i&&(c=c.replace(/anticon/g,i)),a&&(c="@layer ".concat(a," {\n").concat(c,"\n}")),t.useEffect((function(){var e=zo(n.current);ke(c,"@ant-design-icons",{prepend:!a,csp:o,attachTo:e})}),[]),s=Do(f),u="icon should be icon definiton, but got ".concat(f),$(s,"[@ant-design/icons] ".concat(u)),!Do(f))return null;var x=f;return x&&"function"==typeof x.icon&&(x=T(T({},x),{},{icon:x.icon(y.primaryColor,y.secondaryColor)})),Go(x.icon,"svg-".concat(x.name),T(T({className:d,onClick:p,style:h,"data-icon":x.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},m),{},{ref:b}))};function Ko(e){var t=pe(Vo(e),2),n=t[0],r=t[1];return Uo.setTwoToneColors({primaryColor:n,secondaryColor:r})}Uo.displayName="IconReact",Uo.getTwoToneColors=function(){return T({},qo)},Uo.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;qo.primaryColor=t,qo.secondaryColor=n||Wo(t),qo.calculated=!!n};var Qo=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Ko(Wn.primary);var Yo=l.forwardRef((function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,c=e.onClick,s=e.twoToneColor,u=Oe(e,Qo),f=l.useContext(vn),d=f.prefixCls,p=void 0===d?"anticon":d,h=f.rootClassName,g=v(h,p,H(H({},"".concat(p,"-").concat(r.name),!!r.name),"".concat(p,"-spin"),!!o||"loading"===r.name),n),b=a;void 0===b&&c&&(b=-1);var y=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,x=pe(Vo(s),2),S=x[0],C=x[1];return l.createElement("span",m({role:"img","aria-label":r.name},u,{ref:t,tabIndex:b,onClick:c,className:g}),l.createElement(Uo,{icon:r,primaryColor:S,secondaryColor:C,style:y}))}));Yo.displayName="AntdIcon",Yo.getTwoToneColor=function(){var e=Uo.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Yo.setTwoToneColor=Ko;function Zo(e,n){return((e,n,r)=>t.isValidElement(e)?t.cloneElement(e,"function"==typeof r?r(e.props||{}):r):n)(e,e,n)}var Jo={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},ei=function(e,t){return l.createElement(Yo,m({},e,{ref:t,icon:Jo}))},ti=l.forwardRef(ei);function ni(){ni=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r})}try{s({},"")}catch(j){s=function(e,t,n){return e[t]=n}}function l(t,n,r,o){var i=n&&n.prototype instanceof d?n:d,a=Object.create(i.prototype);return s(a,"_invoke",function(t,n,r){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=C(c,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(1===o)throw o=4,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=3;var l=u(t,n,r);if("normal"===l.type){if(o=r.done?4:2,l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=4,r.method="throw",r.arg=l.arg)}}}(t,r,new k(o||[])),!0),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=l;var f={};function d(){}function p(){}function h(){}var g={};s(g,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(O([])));m&&m!==n&&r.call(m,i)&&(g=m);var y=h.prototype=d.prototype=Object.create(g);function x(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==b(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}var o;s(this,"_invoke",(function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}),!0)}function C(t,n){var r=n.method,o=t.i[r];if(o===e)return n.delegate=null,"throw"===r&&t.i.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=u(o,t.i,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,f;var a=i.arg;return a?a.done?(n[t.r]=a.value,n.next=t.n,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,f):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function E(e){this.tryEntries.push(e)}function w(t){var n=t[4]||{};n.type="normal",n.arg=e,t[4]=n}function k(e){this.tryEntries=[[-1]],e.forEach(E,this),this.reset(!0)}function O(t){if(null!=t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(b(t)+" is not iterable")}return p.prototype=h,s(y,"constructor",h),s(h,"constructor",p),p.displayName=s(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,c,"GeneratorFunction")),e.prototype=Object.create(y),e},t.awrap=function(e){return{__await:e}},x(S.prototype),s(S.prototype,a,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new S(l(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(y),s(y,c,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},t.values=O,k.prototype={constructor:k,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(w),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0][4];if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e){a.type="throw",a.arg=t,n.next=e}for(var o=n.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],c=this.prev,s=i[1],l=i[2];if(-1===i[0])return r("end"),!1;if(!s&&!l)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=c){if(c<s)return this.method="next",this.arg=e,r(s),!0;if(c<l)return r(l),!1}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r[0]>-1&&r[0]<=this.prev&&this.prev<r[2]){var o=r;break}}o&&("break"===e||"continue"===e)&&o[0]<=t&&t<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o[2],f):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[2]===e)return this.complete(n[4],n[3]),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[0]===e){var r=n[4];if("throw"===r.type){var o=r.arg;w(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={i:O(t),r:n,n:r},"next"===this.method&&(this.arg=e),f}},t}function ri(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,o)}function oi(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ri(i,r,o,a,c,"next",e)}function c(e){ri(i,r,o,a,c,"throw",e)}a(void 0)}))}}"production"!==process.env.NODE_ENV&&(ti.displayName="LoadingOutlined");var ii,ai=T({},u),ci=ai.version,si=ai.render,li=ai.unmountComponentAtNode;try{Number((ci||"").split(".")[0])>=18&&(ii=ai.createRoot)}catch(Ga){}function ui(e){var t=ai.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===b(t)&&(t.usingClientEntryPoint=e)}var fi="__rc_react_root__";function di(e,t){ii?function(e,t){ui(!0);var n=t[fi]||ii(t);ui(!1),n.render(e),t[fi]=n}(e,t):function(e,t){null==si||si(e,t)}(e,t)}function pi(e){return hi.apply(this,arguments)}function hi(){return(hi=oi(ni().mark((function e(t){return ni().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[fi])||void 0===e||e.unmount(),delete t[fi]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function gi(e){li(e)}function vi(){return(vi=oi(ni().mark((function e(t){return ni().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===ii){e.next=2;break}return e.abrupt("return",pi(t));case 2:gi(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}let mi=(e,t)=>{if("production"!==process.env.NODE_ENV){const e=parseInt(l.version.split(".")[0],10),t=Object.keys(u);"production"!==process.env.NODE_ENV&&Cn(e<19||t.includes("createRoot"),"compatible","antd v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.")}return di(e,t),()=>function(e){return vi.apply(this,arguments)}(t)};const bi=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},yi=Xr("Wave",(e=>[bi(e)])),xi=`${cr}-wave-target`;function Si(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function Ci(e){return Number.isNaN(e)?0:e}const Ei=e=>{const{className:t,target:n,component:r,registerUnmount:o}=e,i=l.useRef(null),a=l.useRef(null);l.useEffect((()=>{a.current=o()}),[]);const[c,s]=l.useState(null),[u,f]=l.useState([]),[d,p]=l.useState(0),[h,g]=l.useState(0),[m,b]=l.useState(0),[y,x]=l.useState(0),[S,C]=l.useState(!1),E={left:d,top:h,width:m,height:y,borderRadius:u.map((e=>`${e}px`)).join(" ")};function w(){const e=getComputedStyle(n);s(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Si(t)?t:Si(n)?n:Si(r)?r:null}(n));const t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;p(t?n.offsetLeft:Ci(-parseFloat(r))),g(t?n.offsetTop:Ci(-parseFloat(o))),b(n.offsetWidth),x(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:c,borderBottomRightRadius:l}=e;f([i,a,l,c].map((e=>Ci(parseFloat(e)))))}if(c&&(E["--wave-color"]=c),l.useEffect((()=>{if(n){const e=de((()=>{w(),C(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(w),t.observe(n)),()=>{de.cancel(e),null==t||t.disconnect()}}}),[]),!S)return null;const k=("Checkbox"===r||"Radio"===r)&&(null==n?void 0:n.classList.contains(xi));return l.createElement(Ao,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n,r;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=i.current)||void 0===n?void 0:n.parentElement;null===(r=a.current)||void 0===r||r.call(a).then((()=>{null==e||e.remove()}))}return!1}},((e,n)=>{let{className:r}=e;return l.createElement("div",{ref:W(i,n),className:v(t,r,{"wave-quick":k}),style:E})}))},wi=(e,t)=>{var n;const{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild);let i=null;i=mi(l.createElement(Ei,Object.assign({},t,{target:e,registerUnmount:function(){return i}})),o)},ki=e=>{const{children:n,disabled:r,component:o}=e,{getPrefixCls:i}=t.useContext(lr),a=t.useRef(null),c=i("wave"),[,s]=yi(c),u=((e,t,n)=>{const{wave:r}=l.useContext(lr),[,o,i]=Fr(),a=Sr((a=>{const c=e.current;if((null==r?void 0:r.disabled)||!c)return;const s=c.querySelector(`.${xi}`)||c,{showEffect:l}=r||{};(l||wi)(s,{className:t,token:o,component:n,event:a,hashId:i})})),c=l.useRef(null);return e=>{de.cancel(c.current),c.current=de((()=>{a(e)}))}})(a,v(c,s),o);if(t.useEffect((()=>{const e=a.current;if(!e||1!==e.nodeType||r)return;const t=t=>{!function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||u(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[r]),!t.isValidElement(n))return null!=n?n:null;return Zo(n,{ref:X(n)?W(U(n),a):a})};"production"!==process.env.NODE_ENV&&(ki.displayName="Wave");const Oi=l.createContext(null);const ji=l.createContext(void 0),$i=/^[\u4E00-\u9FA5]{2}$/,Ai=$i.test.bind($i);function Hi(e){return"string"==typeof e}function Mi(e){return"text"===e||"link"===e}function Ti(e,n){if(null==e)return;const r=n?" ":"";return"string"!=typeof e&&"number"!=typeof e&&Hi(e.type)&&Ai(e.props.children)?Zo(e,{children:e.props.children.split("").join(r)}):Hi(e)?Ai(e)?t.createElement("span",null,e.split("").join(r)):t.createElement("span",null,e):function(e){return e&&t.isValidElement(e)&&e.type===t.Fragment}(e)?t.createElement("span",null,e):e}["default","primary","danger"].concat(ae(Br));const Bi=t.forwardRef(((e,n)=>{const{className:r,style:o,children:i,prefixCls:a}=e,c=v(`${a}-icon`,r);return t.createElement("span",{ref:n,className:c,style:o},i)})),Pi=t.forwardRef(((e,n)=>{const{prefixCls:r,className:o,style:i,iconClassName:a}=e,c=v(`${r}-loading-icon`,o);return t.createElement(Bi,{prefixCls:r,className:c,style:i,ref:n},t.createElement(ti,{className:a}))})),_i=()=>({width:0,opacity:0,transform:"scale(0)"}),Ni=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Ri=e=>{const{prefixCls:n,loading:r,existIcon:o,className:i,style:a,mount:c}=e,s=!!r;return o?t.createElement(Pi,{prefixCls:n,className:i,style:a}):t.createElement(Ao,{visible:s,motionName:`${n}-loading-icon-motion`,motionAppear:!c,motionEnter:!c,motionLeave:!c,removeOnLeave:!0,onAppearStart:_i,onAppearActive:Ni,onEnterStart:_i,onEnterActive:Ni,onLeaveStart:Ni,onLeaveActive:_i},((e,r)=>{let{className:o,style:c}=e;const s=Object.assign(Object.assign({},a),c);return t.createElement(Pi,{prefixCls:n,className:v(i,o),style:s,ref:r})}))},Li=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Ii=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Li(`${t}-primary`,o),Li(`${t}-danger`,i)]}};var zi=["b"],Di=["v"],Fi=function(e){return Math.round(Number(e||0))},Gi=function(e){J(n,e);var t=re(n);function n(e){return K(this,n),t.call(this,function(e){if(e instanceof An)return e;if(e&&"object"===b(e)&&"h"in e&&"b"in e){var t=e,n=t.b;return T(T({},Oe(t,zi)),{},{v:n})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(e))}return Y(n,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=Fi(100*e.s),n=Fi(100*e.b),r=Fi(e.h),o=e.a,i="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(o.toFixed(0===o?0:2),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v;return T(T({},Oe(e,Di)),{},{b:t,a:this.a})}}]),n}(An),Wi=function(e){return e instanceof Gi?e:new Gi(e)},Vi=Wi("#1677ff"),Xi=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,o=e.color,i=e.type,a=r.current.getBoundingClientRect(),c=a.width,s=a.height,l=n.current.getBoundingClientRect(),u=l.width/2,f=l.height/2,d=(t.x+u)/c,p=1-(t.y+f)/s,h=o.toHsb(),g=d,v=(t.x+u)/c*360;if(i)switch(i){case"hue":return Wi(T(T({},h),{},{h:v<=0?0:v}));case"alpha":return Wi(T(T({},h),{},{a:g<=0?0:g}))}return Wi({h:h.h,s:d<=0?0:d,b:p>=1?1:p,a:h.a})},qi=function(e,t){var n=e.toHsb();switch(t){case"hue":return{x:n.h/360*100,y:50};case"alpha":return{x:100*e.a,y:50};default:return{x:100*n.s,y:100*(1-n.b)}}},Ui=function(e){var n=e.color,r=e.prefixCls,o=e.className,i=e.style,a=e.onClick,c="".concat(r,"-color-block");return t.createElement("div",{className:v(c,o),style:i,onClick:a},t.createElement("div",{className:"".concat(c,"-inner"),style:{background:n}}))};function Ki(e){var n=e.targetRef,r=e.containerRef,o=e.direction,i=e.onDragChange,a=e.onDragChangeComplete,c=e.calculate,s=e.color,l=e.disabledDrag,u=pe(t.useState({x:0,y:0}),2),f=u[0],d=u[1],p=t.useRef(null),h=t.useRef(null);t.useEffect((function(){d(c())}),[s]),t.useEffect((function(){return function(){document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",h.current),document.removeEventListener("touchmove",p.current),document.removeEventListener("touchend",h.current),p.current=null,h.current=null}}),[]);var g=function(e){var t=function(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}(e),a=t.pageX,c=t.pageY,s=r.current.getBoundingClientRect(),l=s.x,u=s.y,d=s.width,p=s.height,h=n.current.getBoundingClientRect(),g=h.width,v=h.height,m=g/2,b=v/2,y=Math.max(0,Math.min(a-l,d))-m,x=Math.max(0,Math.min(c-u,p))-b,S={x:y,y:"x"===o?f.y:x};if(0===g&&0===v||g!==v)return!1;null==i||i(S)},v=function(e){e.preventDefault(),g(e)},m=function(e){e.preventDefault(),document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",h.current),document.removeEventListener("touchmove",p.current),document.removeEventListener("touchend",h.current),p.current=null,h.current=null,null==a||a()};return[f,function(e){document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",h.current),l||(g(e),document.addEventListener("mousemove",v),document.addEventListener("mouseup",m),document.addEventListener("touchmove",v),document.addEventListener("touchend",m),p.current=v,h.current=m)}]}var Qi=function(e){var n=e.size,r=void 0===n?"default":n,o=e.color,i=e.prefixCls;return t.createElement("div",{className:v("".concat(i,"-handler"),H({},"".concat(i,"-handler-sm"),"small"===r)),style:{backgroundColor:o}})},Yi=function(e){var n=e.children,r=e.style,o=e.prefixCls;return t.createElement("div",{className:"".concat(o,"-palette"),style:T({position:"relative"},r)},n)},Zi=t.forwardRef((function(e,n){var r=e.children,o=e.x,i=e.y;return t.createElement("div",{ref:n,style:{position:"absolute",left:"".concat(o,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},r)})),Ji=function(e){var n=e.color,r=e.onChange,o=e.prefixCls,i=e.onChangeComplete,a=e.disabled,c=t.useRef(),s=t.useRef(),l=t.useRef(n),u=Sr((function(e){var t=Xi({offset:e,targetRef:s,containerRef:c,color:n});l.current=t,r(t)})),f=pe(Ki({color:n,containerRef:c,targetRef:s,calculate:function(){return qi(n)},onDragChange:u,onDragChangeComplete:function(){return null==i?void 0:i(l.current)},disabledDrag:a}),2),d=f[0],p=f[1];return t.createElement("div",{ref:c,className:"".concat(o,"-select"),onMouseDown:p,onTouchStart:p},t.createElement(Yi,{prefixCls:o},t.createElement(Zi,{x:d.x,y:d.y,ref:s},t.createElement(Qi,{color:n.toRgbString(),prefixCls:o})),t.createElement("div",{className:"".concat(o,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},ea=function(e,n){var r=function(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,c=pe(Cr((function(){return Er(o)?o:Er(r)?"function"==typeof r?r():r:"function"==typeof e?e():e})),2),s=c[0],l=c[1],u=void 0!==o?o:s,f=a?a(u):u,d=Sr(i),p=pe(Cr([u]),2),h=p[0],g=p[1];return Qe((function(){var e=h[0];s!==e&&d(s,e)}),[h]),Qe((function(){Er(o)||l(o)}),[o]),[f,Sr((function(e,t){l(e,t),g([u],t)}))]}(e,{value:n}),o=pe(r,2),i=o[0],a=o[1];return[t.useMemo((function(){return Wi(i)}),[i]),a]},ta=function(e){var n=e.colors,r=e.children,o=e.direction,i=void 0===o?"to right":o,a=e.type,c=e.prefixCls,s=t.useMemo((function(){return n.map((function(e,t){var r=Wi(e);return"alpha"===a&&t===n.length-1&&(r=new Gi(r.setA(1))),r.toRgbString()})).join(",")}),[n,a]);return t.createElement("div",{className:"".concat(c,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(i,", ").concat(s,")")}},r)},na=function(e){var n=e.prefixCls,r=e.colors,o=e.disabled,i=e.onChange,a=e.onChangeComplete,c=e.color,s=e.type,l=t.useRef(),u=t.useRef(),f=t.useRef(c),d=function(e){return"hue"===s?e.getHue():100*e.a},p=Sr((function(e){var t=Xi({offset:e,targetRef:u,containerRef:l,color:c,type:s});f.current=t,i(d(t))})),h=pe(Ki({color:c,targetRef:u,containerRef:l,calculate:function(){return qi(c,s)},onDragChange:p,onDragChangeComplete:function(){a(d(f.current))},direction:"x",disabledDrag:o}),2),g=h[0],m=h[1],b=t.useMemo((function(){if("hue"===s){var e=c.toHsb();return e.s=1,e.b=1,e.a=1,new Gi(e)}return c}),[c,s]),y=t.useMemo((function(){return r.map((function(e){return"".concat(e.color," ").concat(e.percent,"%")}))}),[r]);return t.createElement("div",{ref:l,className:v("".concat(n,"-slider"),"".concat(n,"-slider-").concat(s)),onMouseDown:m,onTouchStart:m},t.createElement(Yi,{prefixCls:n},t.createElement(Zi,{x:g.x,y:g.y,ref:u},t.createElement(Qi,{size:"small",color:b.toHexString(),prefixCls:n})),t.createElement(ta,{colors:y,type:s,prefixCls:n})))};var ra=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],oa=t.forwardRef((function(e,n){var r=e.value,o=e.defaultValue,i=e.prefixCls,a=void 0===i?"rc-color-picker":i,c=e.onChange,s=e.onChangeComplete,u=e.className,f=e.style,d=e.panelRender,p=e.disabledAlpha,h=void 0!==p&&p,g=e.disabled,b=void 0!==g&&g,y=function(e){return l.useMemo((function(){return[(e||{}).slider||na]}),[e])}(e.components),x=pe(y,1)[0],S=pe(ea(o||Vi,r),2),C=S[0],E=S[1],w=t.useMemo((function(){return C.setA(1).toRgbString()}),[C]),k=function(e,t){r||E(e),null==c||c(e,t)},O=function(e){return new Gi(C.setHue(e))},j=function(e){return new Gi(C.setA(e/100))},$=v("".concat(a,"-panel"),u,H({},"".concat(a,"-panel-disabled"),b)),A={prefixCls:a,disabled:b,color:C},M=t.createElement(t.Fragment,null,t.createElement(Ji,m({onChange:k},A,{onChangeComplete:s})),t.createElement("div",{className:"".concat(a,"-slider-container")},t.createElement("div",{className:v("".concat(a,"-slider-group"),H({},"".concat(a,"-slider-group-disabled-alpha"),h))},t.createElement(x,m({},A,{type:"hue",colors:ra,min:0,max:359,value:C.getHue(),onChange:function(e){k(O(e),{type:"hue",value:e})},onChangeComplete:function(e){s&&s(O(e))}})),!h&&t.createElement(x,m({},A,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:w}],min:0,max:100,value:100*C.a,onChange:function(e){k(j(e),{type:"alpha",value:e})},onChangeComplete:function(e){s&&s(j(e))}}))),t.createElement(Ui,{color:C.toRgbString(),prefixCls:a})));return t.createElement("div",{className:$,style:f,ref:n},"function"==typeof d?d(M):M)}));"production"!==process.env.NODE_ENV&&(oa.displayName="ColorPicker");let ia=function(){return Y((function e(t){var n;if(K(this,e),this.cleared=!1,t instanceof e)return this.metaColor=t.metaColor.clone(),this.colors=null===(n=t.colors)||void 0===n?void 0:n.map((t=>({color:new e(t.color),percent:t.percent}))),void(this.cleared=t.cleared);const r=Array.isArray(t);r&&t.length?(this.colors=t.map((t=>{let{color:n,percent:r}=t;return{color:new e(n),percent:r}})),this.metaColor=new Gi(this.colors[0].color.metaColor)):this.metaColor=new Gi(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}),[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return e=this.toHexString(),t=this.metaColor.a<1,e?((e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"")(e,t):"";var e,t}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:e}=this;if(e){return`linear-gradient(90deg, ${e.map((e=>`${e.color.toRgbString()} ${e.percent}%`)).join(", ")})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!(!e||this.isGradient()!==e.isGradient())&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every(((t,n)=>{const r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)})):this.toHexString()===e.toHexString())}}])}();const aa=e=>{const{paddingInline:t,onlyIconSize:n}=e;return jr(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},ca=e=>{var t,n,r,o,i,a;const c=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,s=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,l=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,u=null!==(o=e.contentLineHeight)&&void 0!==o?o:Qn(c),f=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:Qn(s),d=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:Qn(l),p=((e,t)=>{const{r:n,g:r,b:o,a:i}=e.toRgb(),a=new Gi(e.toRgbString()).onBackground(t).toHsv();return i<=.5?a.v>.5:.299*n+.587*r+.114*o>192})(new ia(e.colorBgSolid),"#fff")?"#000":"#fff",h=Br.reduce(((t,n)=>Object.assign(Object.assign({},t),{[`${n}ShadowColor`]:`0 ${Ge(e.controlOutlineWidth)} 0 ${_r(e[`${n}1`],e.colorBgContainer)}`})),{});return Object.assign(Object.assign({},h),{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:p,contentFontSize:c,contentFontSizeSM:s,contentFontSizeLG:l,contentLineHeight:u,contentLineHeightSM:f,contentLineHeightLG:d,paddingBlock:Math.max((e.controlHeight-c*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-l*d)/2-e.lineWidth,0)})},sa=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:o,motionDurationSlow:i,motionEaseInOut:a,marginXS:c,calc:s}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Ge(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:{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"}},"> a":{color:"currentColor"},"&:not(:disabled)":Wr(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:o,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map((e=>`${e} ${i} ${a}`)).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:s(c).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:s(c).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:s(c).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:s(c).mul(-1).equal()}}}}}},la=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),ua=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),fa=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),da=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),pa=(e,t,n,r,o,i,a,c)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},la(e,Object.assign({background:t},a),Object.assign({background:t},c))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),ha=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},da(e))}),ga=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),va=(e,t,n,r)=>{const o=r&&["link","text"].includes(r)?ga:ha;return Object.assign(Object.assign({},o(e)),la(e.componentCls,t,n))},ma=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},va(e,r,o))}),ba=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},va(e,r,o))}),ya=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),xa=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},va(e,n,r))}),Sa=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},va(e,r,o,n))}),Ca=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},ma(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),ya(e)),xa(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),pa(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),Sa(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Ea=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},ba(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),ya(e)),xa(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),Sa(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),Sa(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),pa(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),wa=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},ma(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),ba(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),ya(e)),xa(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),Sa(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),Sa(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),pa(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),ka=e=>Object.assign(Object.assign({},Sa(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),pa(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})),Oa=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:Ca(e),[`${t}-color-primary`]:Ea(e),[`${t}-color-dangerous`]:wa(e),[`${t}-color-link`]:ka(e)},(e=>{const{componentCls:t}=e;return Br.reduce(((n,r)=>{const o=e[`${r}6`],i=e[`${r}1`],a=e[`${r}5`],c=e[`${r}2`],s=e[`${r}3`],l=e[`${r}7`];return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:o,boxShadow:e[`${r}ShadowColor`]},ma(e,e.colorTextLightSolid,o,{background:a},{background:l})),ba(e,o,e.colorBgContainer,{color:a,borderColor:a,background:e.colorBgContainer},{color:l,borderColor:l,background:e.colorBgContainer})),ya(e)),xa(e,i,{background:c},{background:s})),Sa(e,o,"link",{color:a},{color:l})),Sa(e,o,"text",{color:a,background:i},{color:l,background:s}))})}),{})})(e))},ja=e=>Object.assign(Object.assign(Object.assign(Object.assign({},ba(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Sa(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),ma(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),Sa(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),$a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,borderRadius:i,buttonPaddingHorizontal:a,iconCls:c,buttonPaddingVertical:s,buttonIconOnlyFontSize:l}=e;return[{[t]:{fontSize:o,height:r,padding:`${Ge(s)} ${Ge(a)}`,borderRadius:i,[`&${n}-icon-only`]:{width:r,[c]:{fontSize:l}}}},{[`${n}${n}-circle${t}`]:ua(e)},{[`${n}${n}-round${t}`]:fa(e)}]},Aa=e=>{const t=jr(e,{fontSize:e.contentFontSize});return $a(t,e.componentCls)},Ha=e=>{const t=jr(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return $a(t,`${e.componentCls}-sm`)},Ma=e=>{const t=jr(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return $a(t,`${e.componentCls}-lg`)},Ta=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Ba=Vr("Button",(e=>{const t=aa(e);return[sa(t),Aa(t),Ha(t),Ma(t),Ta(t),Oa(t),ja(t),Ii(t)]}),ca,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function Pa(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",c=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[c]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function _a(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Na(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},Pa(e,r,t)),_a(n,r,t))}}function Ra(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function La(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Ra(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}const Ia=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:o}=e,i=o(r).mul(-1).equal(),a=e=>{const o=`${t}-compact${e?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${o} + ${o}::before`]:{position:"absolute",top:e?i:0,insetInlineStart:e?0:i,backgroundColor:n,content:'""',width:e?"100%":r,height:e?r:"100%"}}};return Object.assign(Object.assign({},a()),a(!0))},za=qr(["Button","compact"],(e=>{const t=aa(e);return[Na(t),La(t),Ia(t)]}),ca);const Da={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},Fa=t.forwardRef(((e,n)=>{var r,o;const{loading:i=!1,prefixCls:a,color:c,variant:s,type:u,danger:f=!1,shape:d="default",size:p,styles:h,disabled:g,className:m,rootClassName:b,children:y,icon:x,iconPosition:S="start",ghost:C=!1,block:E=!1,htmlType:w="button",classNames:k,style:O={},autoInsertSpace:j,autoFocus:$}=e,A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),H=u||"default",{button:M}=t.useContext(lr),[T,B]=t.useMemo((()=>{if(c&&s)return[c,s];if(u||f){const e=Da[H]||[];return f?["danger",e[1]]:e}return(null==M?void 0:M.color)&&(null==M?void 0:M.variant)?[M.color,M.variant]:["default","outlined"]}),[u,c,s,f,null==M?void 0:M.variant,null==M?void 0:M.color]),P="danger"===T?"dangerous":T,{getPrefixCls:_,direction:N,autoInsertSpace:R,className:L,style:I,classNames:z,styles:D}=function(e){const t=l.useContext(lr),{getPrefixCls:n,direction:r,getPopupContainer:o}=t,i=t[e];return Object.assign(Object.assign({classNames:fr,styles:fr},i),{getPrefixCls:n,direction:r,getPopupContainer:o})}("button"),F=null===(r=null!=j?j:R)||void 0===r||r,G=_("btn",a),[W,X,q]=Ba(G),U=t.useContext(dr),K=null!=g?g:U,Q=t.useContext(ji),Y=t.useMemo((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(i)),[i]),[Z,J]=t.useState(Y.loading),[ee,te]=t.useState(!1),ne=t.useRef(null),re=V(n,ne),oe=1===t.Children.count(y)&&!x&&!Mi(B),ie=t.useRef(!0);t.useEffect((()=>(ie.current=!1,()=>{ie.current=!0})),[]),t.useEffect((()=>{let e=null;return Y.delay>0?e=setTimeout((()=>{e=null,J(!0)}),Y.delay):J(Y.loading),function(){e&&(clearTimeout(e),e=null)}}),[Y]),t.useEffect((()=>{if(!ne.current||!F)return;const e=ne.current.textContent||"";oe&&Ai(e)?ee||te(!0):ee&&te(!1)})),t.useEffect((()=>{$&&ne.current&&ne.current.focus()}),[]);const ae=t.useCallback((t=>{var n;Z||K?t.preventDefault():null===(n=e.onClick)||void 0===n||n.call(e,t)}),[e.onClick,Z,K]);if("production"!==process.env.NODE_ENV){const e=Sn("Button");"production"!==process.env.NODE_ENV&&e(!("string"==typeof x&&x.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${x}\` at https://ant.design/components/icon`),"production"!==process.env.NODE_ENV&&e(!(C&&Mi(B)),"usage","`link` or `text` button can't be a `ghost` button.")}const{compactSize:ce,compactItemClassnames:se}=((e,t)=>{const n=l.useContext(Oi),r=l.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:i}=n,a="vertical"===r?"-vertical-":"-";return v(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:o,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}})(G,N),le=(e=>{const n=t.useContext(pr);return t.useMemo((()=>e?"string"==typeof e?null!=e?e:n:"function"==typeof e?e(n):n:n),[e,n])})((e=>{var t,n;return null!==(n=null!==(t=null!=p?p:ce)&&void 0!==t?t:Q)&&void 0!==n?n:e})),ue=le&&null!==(o={large:"lg",small:"sm",middle:void 0}[le])&&void 0!==o?o:"",fe=Z?"loading":x,de=(pe=A,he=["navigate"],ge=Object.assign({},pe),Array.isArray(he)&&he.forEach((function(e){delete ge[e]})),ge);var pe,he,ge;const ve=v(G,X,q,{[`${G}-${d}`]:"default"!==d&&d,[`${G}-${H}`]:H,[`${G}-dangerous`]:f,[`${G}-color-${P}`]:P,[`${G}-variant-${B}`]:B,[`${G}-${ue}`]:ue,[`${G}-icon-only`]:!y&&0!==y&&!!fe,[`${G}-background-ghost`]:C&&!Mi(B),[`${G}-loading`]:Z,[`${G}-two-chinese-chars`]:ee&&F&&!Z,[`${G}-block`]:E,[`${G}-rtl`]:"rtl"===N,[`${G}-icon-end`]:"end"===S},se,m,b,L),me=Object.assign(Object.assign({},I),O),be=v(null==k?void 0:k.icon,z.icon),ye=Object.assign(Object.assign({},(null==h?void 0:h.icon)||{}),D.icon||{}),xe=x&&!Z?t.createElement(Bi,{prefixCls:G,className:be,style:ye},x):i&&"object"==typeof i&&i.icon?t.createElement(Bi,{prefixCls:G,className:be,style:ye},i.icon):t.createElement(Ri,{existIcon:!!x,prefixCls:G,loading:Z,mount:ie.current}),Se=y||0===y?function(e,n){let r=!1;const o=[];return t.Children.forEach(e,(e=>{const t=typeof e,n="string"===t||"number"===t;if(r&&n){const t=o.length-1,n=o[t];o[t]=`${n}${e}`}else o.push(e);r=n})),t.Children.map(o,(e=>Ti(e,n)))}(y,oe&&F):null;if(void 0!==de.href)return W(t.createElement("a",Object.assign({},de,{className:v(ve,{[`${G}-disabled`]:K}),href:K?void 0:de.href,style:me,onClick:ae,ref:re,tabIndex:K?-1:0}),xe,Se));let Ce=t.createElement("button",Object.assign({},A,{type:w,className:ve,style:me,onClick:ae,disabled:K,ref:re}),xe,Se,se&&t.createElement(za,{prefixCls:G}));return Mi(B)||(Ce=t.createElement(ki,{component:"Button",disabled:Z},Ce)),W(Ce)}));Fa.Group=e=>{const{getPrefixCls:t,direction:n}=l.useContext(lr),{prefixCls:r,size:o,className:i}=e,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","size","className"]),c=t("btn-group",r),[,,s]=Fr(),u=l.useMemo((()=>{switch(o){case"large":return"lg";case"small":return"sm";default:return""}}),[o]);if("production"!==process.env.NODE_ENV){const e=Sn("Button.Group");e.deprecated(!1,"Button.Group","Space.Compact"),"production"!==process.env.NODE_ENV&&e(!o||["large","small","middle"].includes(o),"usage","Invalid prop `size`.")}const f=v(c,{[`${c}-${u}`]:u,[`${c}-rtl`]:"rtl"===n},i,s);return l.createElement(ji.Provider,{value:o},l.createElement("div",Object.assign({},a,{className:f})))},Fa.__ANT_BUTTON=!0,"production"!==process.env.NODE_ENV&&(Fa.displayName="Button");e.Button=e=>{var t=e,{children:n,onClick:r}=t,s=((e,t)=>{var n={};for(var r in e)i.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&o)for(var r of o(e))t.indexOf(r)<0&&a.call(e,r)&&(n[r]=e[r]);return n})(t,["children","onClick"]);return React.createElement(Fa,((e,t)=>{for(var n in t||(t={}))i.call(t,n)&&c(e,n,t[n]);if(o)for(var n of o(t))a.call(t,n)&&c(e,n,t[n]);return e})({type:"primary",onClick:r},s),n)},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalant/components",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -21,5 +21,5 @@
21
21
  "build": "vite build",
22
22
  "storybook": "start-storybook -p 6006"
23
23
  },
24
- "gitHead": "f6979208f21eb934d261d280ff8841437b1ed235"
24
+ "gitHead": "84e3da5b71c2a6bd1953d2ca78a39e0be2f0542e"
25
25
  }