From 85ab8df11c968f10ad83233d86ecd6f50598dfa2 Mon Sep 17 00:00:00 2001 From: Christian F Date: Tue, 26 Mar 2024 10:45:59 +0100 Subject: [PATCH] Asset Image Sidebar (#138) * added basic sidebar component with manager * moved the detail tab to assets folder, added form, added a punch of css * Apply eslint-fixer changes * build files * Automatic frontend build * fixed token name typo * added focal-point icon * added sidebar button * build files * Apply eslint-fixer changes * added download button to form * build files * removed transition * build files * fixed display bug if thers more than one entry * added `hashPriority: low` to styles * build files * Automatic frontend build --------- Co-authored-by: Corepex --- .../assets/icons/core/focal-point.inline.svg | 5 + assets/js/src/components/icon/icon.tsx | 3 +- .../components/sidebar/sidebar.stories.tsx | 48 ++++++++ .../src/components/sidebar/sidebar.styles.ts | 81 +++++++++++++ assets/js/src/components/sidebar/sidebar.tsx | 86 ++++++++++++++ .../sidebar/AssetEditorSidebarManager.ts | 3 + .../asset/types/image/sidebar/index.tsx | 18 +++ .../sidebar/tabs/details/details.styles.ts | 99 ++++++++++++++++ .../image/sidebar/tabs/details/details.tsx | 110 ++++++++++++++++++ .../types/image/tabs/preview-container.tsx | 9 +- .../asset/types/image/tabs/preview-view.tsx | 1 - .../layouts/tabs-toolbar-view.tsx | 14 +-- .../js/src/modules/sidebar/SidebarManager.ts | 52 +++++++++ .../theme/utils/themes/default-theme.ts | 2 +- .../{521.846d03ce.js => 185.628d5a84.js} | 2 +- public/build/480.002396ce.js | 2 - public/build/521.97212067.js | 2 + ...ICENSE.txt => 521.97212067.js.LICENSE.txt} | 0 public/build/760.0582e3b4.js | 1 + public/build/entrypoints.json | 4 +- public/build/main.dac0b1dc.js | 1 + public/build/main.e85e3607.js | 1 - public/build/manifest.json | 7 +- 23 files changed, 531 insertions(+), 20 deletions(-) create mode 100644 assets/js/src/assets/icons/core/focal-point.inline.svg create mode 100644 assets/js/src/components/sidebar/sidebar.stories.tsx create mode 100644 assets/js/src/components/sidebar/sidebar.styles.ts create mode 100644 assets/js/src/components/sidebar/sidebar.tsx create mode 100644 assets/js/src/modules/asset/types/image/sidebar/AssetEditorSidebarManager.ts create mode 100644 assets/js/src/modules/asset/types/image/sidebar/index.tsx create mode 100644 assets/js/src/modules/asset/types/image/sidebar/tabs/details/details.styles.ts create mode 100644 assets/js/src/modules/asset/types/image/sidebar/tabs/details/details.tsx create mode 100644 assets/js/src/modules/sidebar/SidebarManager.ts rename public/build/{521.846d03ce.js => 185.628d5a84.js} (93%) delete mode 100644 public/build/480.002396ce.js create mode 100644 public/build/521.97212067.js rename public/build/{480.002396ce.js.LICENSE.txt => 521.97212067.js.LICENSE.txt} (100%) create mode 100644 public/build/760.0582e3b4.js create mode 100644 public/build/main.dac0b1dc.js delete mode 100644 public/build/main.e85e3607.js diff --git a/assets/js/src/assets/icons/core/focal-point.inline.svg b/assets/js/src/assets/icons/core/focal-point.inline.svg new file mode 100644 index 000000000..eea3d8b8f --- /dev/null +++ b/assets/js/src/assets/icons/core/focal-point.inline.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/js/src/components/icon/icon.tsx b/assets/js/src/components/icon/icon.tsx index 5f92e7138..4ec793485 100755 --- a/assets/js/src/components/icon/icon.tsx +++ b/assets/js/src/components/icon/icon.tsx @@ -45,7 +45,8 @@ const icons = { 'file-x-03': React.lazy(async () => await import('@Pimcore/assets/icons/core/file-x-03.inline.svg')), 'presentation-chart-01': React.lazy(async () => await import('@Pimcore/assets/icons/core/presentation-chart-01.inline.svg')), 'video-recorder': React.lazy(async () => await import('@Pimcore/assets/icons/core/video-recorder.inline.svg')), - 'image-01': React.lazy(async () => await import('@Pimcore/assets/icons/core/image-01.inline.svg')) + 'image-01': React.lazy(async () => await import('@Pimcore/assets/icons/core/image-01.inline.svg')), + 'focal-point': React.lazy(async () => await import('@Pimcore/assets/icons/core/focal-point.inline.svg')) } export interface IconProps { diff --git a/assets/js/src/components/sidebar/sidebar.stories.tsx b/assets/js/src/components/sidebar/sidebar.stories.tsx new file mode 100644 index 000000000..ca6dadc83 --- /dev/null +++ b/assets/js/src/components/sidebar/sidebar.stories.tsx @@ -0,0 +1,48 @@ +import { type Meta } from '@storybook/react' +import { Sidebar } from '@Pimcore/components/sidebar/sidebar' +import { AssetEditorSidebarDetailsTab } from '@Pimcore/modules/asset/types/image/sidebar/tabs/details/details' +import { Icon } from '@Pimcore/components/icon/icon' +import React from 'react' + +const config: Meta = { + title: 'Pimcore studio/UI/Sidebar', + component: (args) => { + return ( +
+ +
+ ) + }, + parameters: { + layout: 'centered' + }, + tags: ['autodocs'], + argTypes: { + entries: { + table: { + disable: true + } + } + } +} + +export default config + +export const _default = { + args: { + entries: [ + { + key: 'details', + icon: , + component: + } + ], + buttons: [ + { + key: 'focal-point', + icon: , + onClick: () => { console.log('focal-point button clicked') } + } + ] + } +} diff --git a/assets/js/src/components/sidebar/sidebar.styles.ts b/assets/js/src/components/sidebar/sidebar.styles.ts new file mode 100644 index 000000000..0b68ad472 --- /dev/null +++ b/assets/js/src/components/sidebar/sidebar.styles.ts @@ -0,0 +1,81 @@ +import { createStyles } from 'antd-style' + +export const useStyle = createStyles(({ token, css }) => { + return { + sidebar: css` + display: flex; + + .sidebar__navigation { + display: flex; + width: 45px; + padding: 4px 8px; + flex-direction: column; + align-items: center; + flex-shrink: 0; + align-self: stretch; + border-right: 1px solid rgba(0, 0, 0, 0.08); + border-left: 1px solid rgba(0, 0, 0, 0.08); + justify-content: space-between; + color: ${token.colorIconSidebar}; + + .sidebar__navigation__tabs, + .sidebar__navigation__buttons { + .pimcore-icon { + flex-shrink: 0; + color: ${token.colorIconSidebar}; + + &:hover { + color: ${token.colorIconHover}; + cursor: pointer; + } + } + } + + .sidebar__navigation__tabs { + .entry { + display: flex; + width: 45px; + padding: ${token.paddingXS}px ${token.paddingXXS}px; + justify-content: center; + align-items: center; + + .pimcore-icon { + flex-shrink: 0; + color: ${token.colorIconSidebar}; + + &:hover { + color: ${token.colorIconHover}; + cursor: pointer; + } + } + + &.active { + border-right: 2px solid ${token.colorPrimaryActive}; + + .pimcore-icon { + color: ${token.colorPrimaryActive} + } + } + } + } + } + + .sidebar__content { + padding: ${token.paddingXS}px ${token.paddingSM}px; + width: 250px; + + .tab { + display: none; + + &.active { + display: block; + } + } + + &:not(.expanded) { + display: none; + } + } + ` + } +}, { hashPriority: 'low' }) diff --git a/assets/js/src/components/sidebar/sidebar.tsx b/assets/js/src/components/sidebar/sidebar.tsx new file mode 100644 index 000000000..19f156f6d --- /dev/null +++ b/assets/js/src/components/sidebar/sidebar.tsx @@ -0,0 +1,86 @@ +import { useStyle } from './sidebar.styles' +import React, { useState } from 'react' +import { type ISidebarButton, type ISidebarEntry } from '@Pimcore/modules/sidebar/SidebarManager' + +interface SidebarProps { + entries: ISidebarEntry[] + buttons?: ISidebarButton[] +} + +export const Sidebar = ({ entries, buttons = [] }: SidebarProps): React.JSX.Element => { + const { styles } = useStyle() + const preparedEntries = entries.map((entry) => { + // TODO: do we need any type of translated label here? + return { + ...entry, + label: 'TRANSLATED_LABEL' + } + }) + const preparedButtons = buttons?.map((button) => { + return { + ...button, + label: 'TRANSLATED_LABEL' + } + }) + const [activeTab, setActiveTab] = useState('') + + function handleSidebarClick (key: string): void { + if (key === activeTab) { + setActiveTab('') + return + } + + setActiveTab(key) + } + + return ( +
+
+
+ { + preparedEntries.map((entry) => { + return ( +
{ + handleSidebarClick(entry.key) + }} + > + {entry.icon} +
+ ) + }) + } +
+
+ { + preparedButtons.map((button) => { + return ( +
+ {button.icon} +
+ ) + }) + } +
+
+ +
+ {preparedEntries.map((entry, index) => { + return ( +
+ {entry.component} +
+ ) + })} +
+
+ ) +} diff --git a/assets/js/src/modules/asset/types/image/sidebar/AssetEditorSidebarManager.ts b/assets/js/src/modules/asset/types/image/sidebar/AssetEditorSidebarManager.ts new file mode 100644 index 000000000..33692e94b --- /dev/null +++ b/assets/js/src/modules/asset/types/image/sidebar/AssetEditorSidebarManager.ts @@ -0,0 +1,3 @@ +import { SidebarManager } from '@Pimcore/modules/sidebar/SidebarManager' + +export class AssetEditorSidebarManager extends SidebarManager {} diff --git a/assets/js/src/modules/asset/types/image/sidebar/index.tsx b/assets/js/src/modules/asset/types/image/sidebar/index.tsx new file mode 100644 index 000000000..bf404f610 --- /dev/null +++ b/assets/js/src/modules/asset/types/image/sidebar/index.tsx @@ -0,0 +1,18 @@ +import { AssetEditorSidebarManager } from '@Pimcore/modules/asset/types/image/sidebar/AssetEditorSidebarManager' +import { Icon } from '@Pimcore/components/icon/icon' +import React from 'react' +import { AssetEditorSidebarDetailsTab } from '@Pimcore/modules/asset/types/image/sidebar/tabs/details/details' + +export const sidebarManager = new AssetEditorSidebarManager() + +sidebarManager.registerEntry({ + key: 'details', + icon: , + component: +}) + +sidebarManager.registerButton({ + key: 'focal-point', + icon: , + onClick: () => { console.log('focal-point button clicked') } +}) diff --git a/assets/js/src/modules/asset/types/image/sidebar/tabs/details/details.styles.ts b/assets/js/src/modules/asset/types/image/sidebar/tabs/details/details.styles.ts new file mode 100644 index 000000000..366753ec4 --- /dev/null +++ b/assets/js/src/modules/asset/types/image/sidebar/tabs/details/details.styles.ts @@ -0,0 +1,99 @@ +import { createStyles } from 'antd-style' + +export const useStyle = createStyles(({ token, css }) => { + return { + sidebarContentEntry: css` + .sidebar__content-label { + color: ${token.colorPrimaryActive}; + line-height: 20px; + font-weight: 600; + margin: 0; + padding-bottom: ${token.paddingXS}px; + + &:not(:first-of-type) { + padding-top: ${token.paddingXS}px; + } + } + `, + + sidebarContentDimensions: css` + display: flex; + flex-direction: column; + align-items: flex-start; + align-self: stretch; + + .entry-content__dimensions-label { + display: flex; + padding-bottom: ${token.paddingXXS}; + gap: ${token.marginMD}px; + align-items: center; + gap: ${token.marginXXS}; + align-self: stretch; + + p { + margin: 0 + } + } + + .entry-content__dimensions-content { + color: ${token.colorTextDescription}; + display: flex; + padding-bottom: ${token.paddingXXS}; + gap: ${token.marginMD}px; + align-items: center; + gap: ${token.marginXXS}; + align-self: stretch; + + p { + margin: 0; + line-height: 22px; + } + } + `, + + sidebarContentDownload: css` + .entry-content__download-content-thumbnail { + display: flex; + align-items: center; + gap: ${token.paddingXXS}px; + padding-bottom: ${token.paddingSM}px; + + .ant-select { + flex: 1 + } + } + + .entry-content__download-content-custom { + .ant-form-item { + margin-bottom: 0; + } + + .entry-content__download-content-custom__dimensions { + display: flex; + gap: ${token.marginSM}px; + padding-bottom: ${token.paddingSM}px; + } + + .entry-content__download-content-custom__others { + display: flex; + gap: ${token.paddingXS}px; + flex-direction: column; + padding-bottom: ${token.paddingSM}px; + + > div { + display: flex; + gap: ${token.marginSM}px; + + >.ant-form-item { + flex: 1 + } + } + } + + .entry-content__download-content-custom__button { + padding: ${token.paddingXS}px 0; + } + } + ` + } +}, { hashPriority: 'low' }) diff --git a/assets/js/src/modules/asset/types/image/sidebar/tabs/details/details.tsx b/assets/js/src/modules/asset/types/image/sidebar/tabs/details/details.tsx new file mode 100644 index 000000000..ef71a912c --- /dev/null +++ b/assets/js/src/modules/asset/types/image/sidebar/tabs/details/details.tsx @@ -0,0 +1,110 @@ +import React from 'react' +import { useStyle } from './details.styles' +import { Button, Collapse, type CollapseProps, Form, Input, Select } from 'antd' +import { Icon } from '@Pimcore/components/icon/icon' + +export const AssetEditorSidebarDetailsTab = (): React.JSX.Element => { + const { styles } = useStyle() + const customDownloadOptions: CollapseProps['items'] = [ + { + key: 1, + label: 'Custom Download', + children: ( +
+
+ + + + + + + +
+ +
+
+ + + + + + + +
+ +
+ + + + + + + +
+
+ +
+ +
+
+ ) + } + ] + + return ( +
+

Details

+ +
+
+
+

Width

+

Height

+
+
+

256 px

+

792 px

+
+
+ +
+

Download

+ +
+
+ + +
+ +
+ +
+
+
+
+
+ ) +} diff --git a/assets/js/src/modules/asset/types/image/tabs/preview-container.tsx b/assets/js/src/modules/asset/types/image/tabs/preview-container.tsx index 167f6cb1b..eaef3b1c1 100644 --- a/assets/js/src/modules/asset/types/image/tabs/preview-container.tsx +++ b/assets/js/src/modules/asset/types/image/tabs/preview-container.tsx @@ -2,13 +2,20 @@ import React, { useContext } from 'react' import { PreviewView } from './preview-view' import { AssetContext } from '@Pimcore/modules/asset/asset-container' import { useApiAssetsIdGetQuery } from '@Pimcore/modules/asset/asset-api-slice.gen' +import { Sidebar } from '@Pimcore/components/sidebar/sidebar' +import { sidebarManager } from '@Pimcore/modules/asset/types/image/sidebar' const PreviewContainer = (): React.JSX.Element => { const assetContext = useContext(AssetContext) const { data } = useApiAssetsIdGetQuery({ id: assetContext.id!.toString() }) + const sidebarEntries = sidebarManager.getEntries() + const sidebarButtons = sidebarManager.getButtons() return ( - + <> + + + ) } diff --git a/assets/js/src/modules/asset/types/image/tabs/preview-view.tsx b/assets/js/src/modules/asset/types/image/tabs/preview-view.tsx index 2a90086bb..39feb3d06 100644 --- a/assets/js/src/modules/asset/types/image/tabs/preview-view.tsx +++ b/assets/js/src/modules/asset/types/image/tabs/preview-view.tsx @@ -14,7 +14,6 @@ const PreviewView = (props: PreviewViewProps): React.JSX.Element => {
- ) } diff --git a/assets/js/src/modules/element-editor/layouts/tabs-toolbar-view.tsx b/assets/js/src/modules/element-editor/layouts/tabs-toolbar-view.tsx index ba37850af..047c6fd20 100644 --- a/assets/js/src/modules/element-editor/layouts/tabs-toolbar-view.tsx +++ b/assets/js/src/modules/element-editor/layouts/tabs-toolbar-view.tsx @@ -10,15 +10,15 @@ const TabsToolbarView = (props: TabbarToolbarViewProps): React.JSX.Element => { const { styles } = useStyles() return ( -
-
- {props.renderTabbar} -
+
+
+ {props.renderTabbar} +
-
- {props.renderToolbar} +
+ {props.renderToolbar} +
-
) } diff --git a/assets/js/src/modules/sidebar/SidebarManager.ts b/assets/js/src/modules/sidebar/SidebarManager.ts new file mode 100644 index 000000000..61f113e37 --- /dev/null +++ b/assets/js/src/modules/sidebar/SidebarManager.ts @@ -0,0 +1,52 @@ +import type React from 'react' + +export interface ISidebarEntry { + key: string + icon: React.JSX.Element + component: React.JSX.Element +} + +export interface ISidebarButton { + key: string + icon: React.JSX.Element + onClick: () => void +} + +export abstract class SidebarManager { + entries: ISidebarEntry[] = [] + buttons: ISidebarButton[] = [] + + getEntries (): ISidebarEntry[] { + return this.entries + } + + getEntry (key: string): ISidebarEntry | undefined { + return this.entries.find((entry) => entry.key === key) + } + + registerEntry (entry: ISidebarEntry): void { + if (this.getEntry(entry.key) !== undefined) { + this.entries.splice(this.entries.findIndex((e) => e.key === entry.key), 1, entry) + return + } + + this.entries.push(entry) + } + + getButtons (): ISidebarButton[] { + return this.buttons + } + + getButton (key: string): ISidebarButton | undefined { + return this.buttons.find((button) => button.key === key) + } + + registerButton (button: ISidebarButton): void { + if (this.getButton(button.key) !== undefined) { + this.buttons.splice(this.buttons.findIndex((e) => e.key === button.key), 1, button) + return + } + + this.buttons.push(button) + } +} diff --git a/assets/js/src/modules/theme/utils/themes/default-theme.ts b/assets/js/src/modules/theme/utils/themes/default-theme.ts index d461ebc63..e836ae3e4 100644 --- a/assets/js/src/modules/theme/utils/themes/default-theme.ts +++ b/assets/js/src/modules/theme/utils/themes/default-theme.ts @@ -22,7 +22,7 @@ const defaultTheme = { fontSizeHeading1: 35, colorIconSecondary: '#4d4169', colorFillNav: 'rgba(0.3019607961177826, 0.2549019753932953, 0.4117647111415863, 0.07999999821186066)', - colovIconSidebar: '#22075e', + colorIconSidebar: '#22075e', colorBorderActive: '#fa8c16', colorLogo: '#5520a6', colorBorderTertiary: '#dfd7ea', diff --git a/public/build/521.846d03ce.js b/public/build/185.628d5a84.js similarity index 93% rename from public/build/521.846d03ce.js rename to public/build/185.628d5a84.js index 9f3f0a2e9..bfba8b0bd 100644 --- a/public/build/521.846d03ce.js +++ b/public/build/185.628d5a84.js @@ -1 +1 @@ -"use strict";(self.webpackChunkPimcore=self.webpackChunkPimcore||[]).push([[521],{4521:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});var r,l=a(7294);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.r(t),a.d(t,{default:()=>i});var r,l=a(7294);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.d(t,{iN:()=>C,R_:()=>b});var r=n(6500),o=n(1350),i=2,a=.16,l=.05,s=.05,c=.15,u=5,d=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function p(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function g(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function h(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?r+=360:r>=360&&(r-=360),r}function m(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===d?e.s+a:e.s+l*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function v(e,t,n){var r;return(r=n?e.v+s*t:e.v-c*t)>1&&(r=1),Number(r.toFixed(2))}function b(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),i=u;i>0;i-=1){var a=p(r),l=g((0,o.uA)({h:h(a,i,!0),s:m(a,i,!0),v:v(a,i,!0)}));n.push(l)}n.push(g(r));for(var s=1;s<=d;s+=1){var c=p(r),b=g((0,o.uA)({h:h(c,s),s:m(c,s),v:v(c,s)}));n.push(b)}return"dark"===t.theme?f.map((function(e){var r,i,a,l=e.index,s=e.opacity;return g((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[l]),a=100*s/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))})):n}var y={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"},S={},w={};Object.keys(y).forEach((function(e){S[e]=b(y[e]),S[e].primary=S[e][5],w[e]=b(y[e],{theme:"dark",backgroundColor:"#141414"}),w[e].primary=w[e][5]}));S.red,S.volcano,S.gold,S.orange,S.yellow,S.lime,S.green,S.cyan;var C=S.blue;S.geekblue,S.purple,S.magenta,S.grey,S.grey},7395:(e,t,n)=>{"use strict";n.d(t,{E4:()=>mt,V9:()=>_,jG:()=>P,t2:()=>le,ks:()=>q,bf:()=>U,CI:()=>gt,fp:()=>ce,xy:()=>ft});var r=n(4942),o=n(9439),i=n(3433),a=n(1413);const l=function(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)};var s=n(4958),c=n(7294),u=n.t(c,2),d=n(4925),f=n(6982),p=n(1881),g=n(5671),h=n(3144),m="%";function v(e){return e.join(m)}const b=function(){function e(t){(0,g.Z)(this,e),(0,r.Z)(this,"instanceId",void 0),(0,r.Z)(this,"cache",new Map),this.instanceId=t}return(0,h.Z)(e,[{key:"get",value:function(e){return this.opGet(v(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(v(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}();var y=["children"],S="data-token-hash",w="data-css-hash",C="__cssinjs_instance__";function E(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(w,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[C]=t[C]||e,t[C]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(w,"]"))).forEach((function(t){var n,o=t.getAttribute(w);r[o]?t[C]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new b(e)}var x=c.createContext({hashPriority:"low",cache:E(),defaultCache:!0}),_=function(e){var t=e.children,n=(0,d.Z)(e,y),r=c.useContext(x),o=(0,f.Z)((function(){var e=(0,a.Z)({},r);Object.keys(n).forEach((function(t){var r=n[t];void 0!==n[t]&&(e[t]=r)}));var t=n.cache;return e.cache=e.cache||E(),e.defaultCache=!t&&r.defaultCache,e}),[r,n],(function(e,t){return!(0,p.Z)(e[0],t[0],!0)||!(0,p.Z)(e[1],t[1],!0)}));return c.createElement(x.Provider,{value:o},t)};const O=x;var k=n(1002),$=n(8924);var T=function(){function e(){(0,g.Z)(this,e),(0,r.Z)(this,"cache",void 0),(0,r.Z)(this,"keys",void 0),(0,r.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,h.Z)(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 i=this.keys.reduce((function(e,t){var n=(0,o.Z)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),M+=1}return(0,h.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),I=new T;function P(e){var t=Array.isArray(e)?e:[e];return I.has(t)||I.set(t,new N(t)),I.get(t)}var A=new WeakMap,L={};var j=new WeakMap;function D(e){var t=j.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof N?t+=r.id:r&&"object"===(0,k.Z)(r)?t+=D(r):t+=r})),j.set(e,t)),t}function B(e,t){return l("".concat(t,"_").concat(D(e)))}var z="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Z="_bAmBoO_";function F(e,t,n){if((0,$.Z)()){var r,o;(0,s.hq)(e,z);var i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=n?n(i):null===(r=getComputedStyle(i).content)||void 0===r?void 0:r.includes(Z);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,s.jL)(z),a}return!1}var H=void 0;var W=(0,$.Z)();function U(e){return"number"==typeof e?"".concat(e,"px"):e}function V(e,t,n){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var l=(0,a.Z)((0,a.Z)({},i),{},(o={},(0,r.Z)(o,S,t),(0,r.Z)(o,w,n),o)),s=Object.keys(l).map((function(e){var t=l[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}var q=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()},X=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=(0,o.Z)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},G=function(e,t,n){var r={},i={};return Object.entries(e).forEach((function(e){var t,a,l=(0,o.Z)(e,2),s=l[0],c=l[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[s])i[s]=c;else if(!("string"!=typeof c&&"number"!=typeof c||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[s])){var u,d=q(s,null==n?void 0:n.prefix);r[d]="number"!=typeof c||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[s]?String(c):"".concat(c,"px"),i[s]="var(".concat(d,")")}})),[i,X(r,t,{scope:null==n?void 0:n.scope})]},Y=n(8410),K=(0,a.Z)({},u).useInsertionEffect;const Q=K?function(e,t,n){return K((function(){return e(),t()}),n)}:function(e,t,n){c.useMemo(e,n),(0,Y.Z)((function(){return t(!0)}),n)};const J=void 0!==(0,a.Z)({},u).useInsertionEffect?function(e){var t=[],n=!1;return c.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}};const ee=function(){return!1};function te(e,t,n,r,a){var l=c.useContext(O).cache,s=v([e].concat((0,i.Z)(t))),u=J([s]),d=(ee(),function(e){l.opUpdate(s,(function(t){var r=t||[void 0,void 0],i=(0,o.Z)(r,2),a=i[0];var l=[void 0===a?0:a,i[1]||n()];return e?e(l):l}))});c.useMemo((function(){d()}),[s]);var f=l.opGet(s)[1];return Q((function(){null==a||a(f)}),(function(e){return d((function(t){var n=(0,o.Z)(t,2),r=n[0],i=n[1];return e&&0===r&&(null==a||a(f)),[r+1,i]})),function(){l.opUpdate(s,(function(t){var n=t||[],i=(0,o.Z)(n,2),a=i[0],c=void 0===a?0:a,d=i[1];return 0===c-1?(u((function(){!e&&l.opGet(s)||null==r||r(d,!1)})),null):[c-1,d]}))}}),[s]),f}var ne={},re="css",oe=new Map;var ie=0;function ae(e,t){oe.set(e,(oe.get(e)||0)-1);var n=Array.from(oe.keys()),r=n.filter((function(e){return(oe.get(e)||0)<=0}));n.length-r.length>ie&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(S,'="').concat(e,'"]')).forEach((function(e){var n;e[C]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),oe.delete(e)}))}var le=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,a.Z)((0,a.Z)({},o),t);return r&&(i=r(i)),i},se="token";function ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,c.useContext)(O),u=r.cache.instanceId,d=r.container,f=n.salt,p=void 0===f?"":f,g=n.override,h=void 0===g?ne:g,m=n.formatToken,v=n.getComputedToken,b=n.cssVar,y=function(e,t){for(var n=A,r=0;r0?Ee(Pe,--Ne):0,Re--,10===Ie&&(Re=1,Te--),Ie}function je(){return Ie=Ne2||Ze(Ie)>3?"":" "}function Ve(e,t){for(;--t&&je()&&!(Ie<48||Ie>102||Ie>57&&Ie<65||Ie>70&&Ie<97););return ze(e,Be()+(t<6&&32==De()&&32==je()))}function qe(e){for(;je();)switch(Ie){case e:return Ne;case 34:case 39:34!==e&&39!==e&&qe(Ie);break;case 40:41===e&&qe(e);break;case 92:je()}return Ne}function Xe(e,t){for(;je()&&e+Ie!==57&&(e+Ie!==84||47!==De()););return"/*"+ze(t,Ne-1)+"*"+ye(47===e?e:je())}function Ge(e){for(;!Ze(De());)je();return ze(e,Ne)}function Ye(e){return He(Ke("",null,null,null,[""],e=Fe(e),0,[0],e))}function Ke(e,t,n,r,o,i,a,l,s){for(var c=0,u=0,d=a,f=0,p=0,g=0,h=1,m=1,v=1,b=0,y="",S=o,w=i,C=r,E=y;m;)switch(g=b,b=je()){case 40:if(108!=g&&58==Ee(E,d-1)){-1!=Ce(E+=we(We(b),"&","&\f"),"&\f",be(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:E+=We(b);break;case 9:case 10:case 13:case 32:E+=Ue(g);break;case 92:E+=Ve(Be()-1,7);continue;case 47:switch(De()){case 42:case 47:Oe(Je(Xe(je(),Be()),t,n,s),s);break;default:E+="/"}break;case 123*h:l[c++]=_e(E)*v;case 125*h:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==v&&(E=we(E,/\f/g,"")),p>0&&_e(E)-d&&Oe(p>32?et(E+";",r,n,d-1,s):et(we(E," ","")+";",r,n,d-2,s),s);break;case 59:E+=";";default:if(Oe(C=Qe(E,t,n,c,u,o,l,y,S=[],w=[],d,i),i),123===b)if(0===u)Ke(E,t,C,C,S,i,d,l,w);else switch(99===f&&110===Ee(E,3)?100:f){case 100:case 108:case 109:case 115:Ke(e,C,C,r&&Oe(Qe(e,C,C,0,0,o,l,y,o,S=[],d,w),w),o,w,d,l,r?S:w);break;default:Ke(E,C,C,C,[""],w,0,l,w)}}c=u=p=0,h=v=1,y=E="",d=a;break;case 58:d=1+_e(E),p=g;default:if(h<1)if(123==b)--h;else if(125==b&&0==h++&&125==Le())continue;switch(E+=ye(b),b*h){case 38:v=u>0?1:(E+="\f",-1);break;case 44:l[c++]=(_e(E)-1)*v,v=1;break;case 64:45===De()&&(E+=We(je())),f=De(),u=d=_e(y=E+=Ge(Be())),b++;break;case 45:45===g&&2==_e(E)&&(h=0)}}return i}function Qe(e,t,n,r,o,i,a,l,s,c,u,d){for(var f=o-1,p=0===o?i:[""],g=function(e){return e.length}(p),h=0,m=0,v=0;h0?p[b]+" "+y:we(y,/&\f/g,p[b])))&&(s[v++]=S);return Ae(e,t,n,0===o?pe:l,s,c,u,d)}function Je(e,t,n,r){return Ae(e,t,n,fe,ye(Ie),xe(e,2,-2),0,r)}function et(e,t,n,r,o){return Ae(e,t,n,ge,xe(e,0,r),xe(e,r+1,-1),r,o)}var tt,nt="data-ant-cssinjs-cache-path",rt="_FILE_STYLE__";var ot=!0;function it(e){return function(){if(!tt&&(tt={},(0,$.Z)())){var e=document.createElement("div");e.className=nt,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=e.split(":"),n=(0,o.Z)(t,2),r=n[0],i=n[1];tt[r]=i}));var n,r=document.querySelector("style[".concat(nt,"]"));r&&(ot=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!tt[e]}var at="_multi_value_";function lt(e){return ke(Ye(e),$e).replace(/\{%%%\:[^;];}/g,";")}var st=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:[]},l=r.root,s=r.injectHash,c=r.parentSelectors,u=n.hashId,d=n.layer,f=(n.path,n.hashPriority),p=n.transformers,g=void 0===p?[]:p,h=(n.linters,""),m={};function v(t){var r=t.getName(u);if(!m[r]){var i=e(t.style,n,{root:!1,parentSelectors:c}),a=(0,o.Z)(i,1)[0];m[r]="@keyframes ".concat(t.getName(u)).concat(a)}}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]);if(b.forEach((function(t){var r="string"!=typeof t||l?t:{};if("string"==typeof r)h+="".concat(r,"\n");else if(r._keyframe)v(r);else{var d=g.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(d).forEach((function(t){var r=d[t];if("object"!==(0,k.Z)(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===(0,k.Z)(e)&&e&&("_skip_check_"in e||at in e)}(r)){var p;function _(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;de[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(v(t),r=t.getName(u)),h+="".concat(n,":").concat(r,";")}var g=null!==(p=null==r?void 0:r.value)&&void 0!==p?p:r;"object"===(0,k.Z)(r)&&null!=r&&r[at]&&Array.isArray(g)?g.forEach((function(e){_(t,e)})):_(t,g)}else{var b=!1,y=t.trim(),S=!1;(l||s)&&u?y.startsWith("@")?b=!0:y=function(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]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat((0,i.Z)(n.slice(1))).join(" ")})).join(",")}(t,u,f):!l||u||"&"!==y&&""!==y||(y="",S=!0);var w=e(r,n,{root:S,injectHash:b,parentSelectors:[].concat((0,i.Z)(c),[y])}),C=(0,o.Z)(w,2),E=C[0],x=C[1];m=(0,a.Z)((0,a.Z)({},m),x),h+="".concat(y).concat(E)}}))}})),l){if(d&&(void 0===H&&(H=F("@layer ".concat(z," { .").concat(z,' { content: "').concat(Z,'"!important; } }'),(function(e){e.className=z}))),H)){var y=d.split(","),S=y[y.length-1].trim();h="@layer ".concat(S," {").concat(h,"}"),y.length>1&&(h="@layer ".concat(d,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,m]};function ct(e,t){return l("".concat(e.join("%")).concat(t))}function ut(){return null}var dt="style";function ft(e,t){var n=e.token,a=e.path,l=e.hashId,u=e.layer,d=e.nonce,f=e.clientOnly,p=e.order,g=void 0===p?0:p,h=c.useContext(O),m=h.autoClear,v=(h.mock,h.defaultCache),b=h.hashPriority,y=h.container,E=h.ssrInline,x=h.transformers,_=h.linters,k=h.cache,T=n._tokenKey,R=[T].concat((0,i.Z)(a)),M=W;var N=te(dt,R,(function(){var e=R.join("|");if(it(e)){var n=function(e){var t=tt[e],n=null;if(t&&(0,$.Z)())if(ot)n=rt;else{var r=document.querySelector("style[".concat(w,'="').concat(tt[e],'"]'));r?n=r.innerHTML:delete tt[e]}return[n,t]}(e),r=(0,o.Z)(n,2),i=r[0],s=r[1];if(i)return[i,T,s,{},f,g]}var c=t(),d=st(c,{hashId:l,hashPriority:b,layer:u,path:a.join("-"),transformers:x,linters:_}),p=(0,o.Z)(d,2),h=p[0],m=p[1],v=lt(h),y=ct(R,v);return[v,T,y,m,f,g]}),(function(e,t){var n=(0,o.Z)(e,3)[2];(t||m)&&W&&(0,s.jL)(n,{mark:w})}),(function(e){var t=(0,o.Z)(e,4),n=t[0],r=(t[1],t[2]),i=t[3];if(M&&n!==rt){var a={mark:w,prepend:"queue",attachTo:y,priority:g},l="function"==typeof d?d():d;l&&(a.csp={nonce:l});var c=(0,s.hq)(n,r,a);c[C]=k.instanceId,c.setAttribute(S,T),Object.keys(i).forEach((function(e){(0,s.hq)(lt(i[e]),"_effect-".concat(e),a)}))}})),I=(0,o.Z)(N,3),P=I[0],A=I[1],L=I[2];return function(e){var t,n;E&&!M&&v?t=c.createElement("style",(0,ue.Z)({},(n={},(0,r.Z)(n,S,A),(0,r.Z)(n,w,L),n),{dangerouslySetInnerHTML:{__html:P}})):t=c.createElement(ut,null);return c.createElement(c.Fragment,null,t,e)}}var pt="cssVar";const gt=function(e,t){var n=e.key,r=e.prefix,a=e.unitless,l=e.ignore,u=e.token,d=e.scope,f=void 0===d?"":d,p=(0,c.useContext)(O),g=p.cache.instanceId,h=p.container,m=u._tokenKey,v=[].concat((0,i.Z)(e.path),[n,f,m]);return te(pt,v,(function(){var e=t(),i=G(e,n,{prefix:r,unitless:a,ignore:l,scope:f}),s=(0,o.Z)(i,2),c=s[0],u=s[1];return[c,u,ct(v,u),n]}),(function(e){var t=(0,o.Z)(e,3)[2];W&&(0,s.jL)(t,{mark:w})}),(function(e){var t=(0,o.Z)(e,3),r=t[1],i=t[2];if(r){var a=(0,s.hq)(r,i,{mark:w,prepend:"queue",attachTo:h,priority:-999});a[C]=g,a.setAttribute(S,n)}}))};var ht;ht={},(0,r.Z)(ht,dt,(function(e,t,n){var r=(0,o.Z)(e,6),i=r[0],a=r[1],l=r[2],s=r[3],c=r[4],u=r[5],d=(n||{}).plain;if(c)return null;var f=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=V(i,a,l,p,d),s&&Object.keys(s).forEach((function(e){if(!t[e]){t[e]=!0;var n=lt(s[e]);f+=V(n,a,"_effect-".concat(e),p,d)}})),[u,l,f]})),(0,r.Z)(ht,se,(function(e,t,n){var r=(0,o.Z)(e,5),i=r[2],a=r[3],l=r[4],s=(n||{}).plain;if(!a)return null;var c=i._tokenKey;return[-999,c,V(a,l,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s)]})),(0,r.Z)(ht,pt,(function(e,t,n){var r=(0,o.Z)(e,4),i=r[1],a=r[2],l=r[3],s=(n||{}).plain;if(!i)return null;return[-999,a,V(i,l,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s)]}));const mt=function(){function e(t,n){(0,g.Z)(this,e),(0,r.Z)(this,"name",void 0),(0,r.Z)(this,"style",void 0),(0,r.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,h.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function vt(e){return e.notSplit=!0,e}vt(["borderTop","borderBottom"]),vt(["borderTop"]),vt(["borderBottom"]),vt(["borderLeft","borderRight"]),vt(["borderLeft"]),vt(["borderRight"])},76:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var r=n(7462),o=n(9439),i=n(4942),a=n(4925),l=n(7294),s=n(3967),c=n.n(s),u=n(1242),d=n(3017),f=n(1413),p=n(1002),g=n(4958),h=n(7571),m=n(334);function v(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function b(){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 y(e,t,n){return n?l.createElement(e.tag,(0,f.Z)((0,f.Z)({key:t},b(e.attrs)),n),(e.children||[]).map((function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):l.createElement(e.tag,(0,f.Z)({key:t},b(e.attrs)),(e.children||[]).map((function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function S(e){return(0,u.R_)(e)[0]}function w(e){return e?Array.isArray(e)?e:[e]:[]}var C=["icon","className","onClick","style","primaryColor","secondaryColor"],E={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var x=function(e){var t,n,r,o,i,s,c,u=e.icon,p=e.className,b=e.onClick,w=e.style,x=e.primaryColor,_=e.secondaryColor,O=(0,a.Z)(e,C),k=l.useRef(),$=E;if(x&&($={primaryColor:x,secondaryColor:_||S(x)}),t=k,n=(0,l.useContext)(d.Z),r=n.csp,o=n.prefixCls,i="\n.anticon {\n display: inline-block;\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",o&&(i=i.replace(/anticon/g,o)),(0,l.useEffect)((function(){var e=t.current,n=(0,h.A)(e);(0,g.hq)(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[]),s=v(u),c="icon should be icon definiton, but got ".concat(u),(0,m.ZP)(s,"[@ant-design/icons] ".concat(c)),!v(u))return null;var T=u;return T&&"function"==typeof T.icon&&(T=(0,f.Z)((0,f.Z)({},T),{},{icon:T.icon($.primaryColor,$.secondaryColor)})),y(T.icon,"svg-".concat(T.name),(0,f.Z)((0,f.Z)({className:p,onClick:b,style:w,"data-icon":T.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},O),{},{ref:k}))};x.displayName="IconReact",x.getTwoToneColors=function(){return(0,f.Z)({},E)},x.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;E.primaryColor=t,E.secondaryColor=n||S(t),E.calculated=!!n};const _=x;function O(e){var t=w(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return _.setTwoToneColors({primaryColor:r,secondaryColor:i})}var k=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];O(u.iN.primary);var $=l.forwardRef((function(e,t){var n,s=e.className,u=e.icon,f=e.spin,p=e.rotate,g=e.tabIndex,h=e.onClick,m=e.twoToneColor,v=(0,a.Z)(e,k),b=l.useContext(d.Z),y=b.prefixCls,S=void 0===y?"anticon":y,C=b.rootClassName,E=c()(C,S,(n={},(0,i.Z)(n,"".concat(S,"-").concat(u.name),!!u.name),(0,i.Z)(n,"".concat(S,"-spin"),!!f||"loading"===u.name),n),s),x=g;void 0===x&&h&&(x=-1);var O=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,$=w(m),T=(0,o.Z)($,2),R=T[0],M=T[1];return l.createElement("span",(0,r.Z)({role:"img","aria-label":u.name},v,{ref:t,tabIndex:x,onClick:h,className:E}),l.createElement(_,{icon:u,primaryColor:R,secondaryColor:M,style:O}))}));$.displayName="AntdIcon",$.getTwoToneColor=function(){var e=_.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},$.setTwoToneColor=O;const T=$},3017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(7294).createContext)({})},8819:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},3061:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},4549:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},7254:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},4545:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},8855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},847:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},7724:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},7085:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={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"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},8812:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},9366:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l)},6500:(e,t,n)=>{"use strict";n.d(t,{T6:()=>p,VD:()=>g,WE:()=>c,Yt:()=>h,lC:()=>i,py:()=>s,rW:()=>o,s:()=>d,ve:()=>l,vq:()=>u});var r=n(279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,l=0,s=(o+i)/2;if(o===i)l=0,a=0;else{var c=o-i;switch(l=s>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function l(e,t,n){var o,i,l;if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,l=n,o=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;o=a(c,s,e+1/3),i=a(c,s,e),l=a(c,s,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function s(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,l=o,s=o-i,c=0===o?0:s/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/s+(t>16,g:(65280&e)>>8,b:255&e}}},8701:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:(e,t,n)=>{"use strict";n.d(t,{uA:()=>a});var r=n(6500),o=n(8701),i=n(279);function a(e){var t={r:0,g:0,b:0},n=1,a=null,l=null,s=null,c=!1,f=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=u.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=u.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=u.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=u.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=u.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=u.hex8.exec(e),n)return{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"};if(n=u.hex6.exec(e),n)return{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"};if(n=u.hex4.exec(e),n)return{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"};if(n=u.hex3.exec(e),n)return{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(a=(0,i.JX)(e.s),l=(0,i.JX)(e.v),t=(0,r.WE)(e.h,a,l),c=!0,f="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(a=(0,i.JX)(e.s),s=(0,i.JX)(e.l),t=(0,r.ve)(e.h,a,s),c=!0,f="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:c,format:e.format||f,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:new RegExp(l),rgb:new RegExp("rgb"+s),rgba:new RegExp("rgba"+c),hsl:new RegExp("hsl"+s),hsla:new RegExp("hsla"+c),hsv:new RegExp("hsv"+s),hsva:new RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},274:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(6500),o=n(8701),i=n(1350),a=n(279),l=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a{"use strict";function r(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:()=>l,JX:()=>a,V2:()=>o,Yq:()=>i,sh:()=>r})},8705:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(9439),o=n(7294),i=n(3935),a=n(8924),l=(n(334),n(2550));const s=o.createContext(null);var c=n(3433),u=n(8410),d=[];var f,p=n(4958);function g(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?function(e){if("undefined"==typeof document)return 0;if(e||void 0===f){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;o===i&&(i=n.clientWidth),document.body.removeChild(n),f=o-i}return f}():n}var h="rc-util-locker-".concat(Date.now()),m=0;function v(e){var t=!!e,n=o.useState((function(){return m+=1,"".concat(h,"_").concat(m)})),i=(0,r.Z)(n,1)[0];(0,u.Z)((function(){if(t){var e=function(e){if(!("undefined"!=typeof document&&e&&e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:g(n),height:g(r)}}(document.body).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,p.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,p.jL)(i);return function(){(0,p.jL)(i)}}),[t,i])}var b=!1;var y=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};const S=o.forwardRef((function(e,t){var n=e.open,f=e.autoLock,p=e.getContainer,g=(e.debug,e.autoDestroy),h=void 0===g||g,m=e.children,S=o.useState(n),w=(0,r.Z)(S,2),C=w[0],E=w[1],x=C||n;o.useEffect((function(){(h||n)&&E(n)}),[n,h]);var _=o.useState((function(){return y(p)})),O=(0,r.Z)(_,2),k=O[0],$=O[1];o.useEffect((function(){var e=y(p);$(null!=e?e:null)}));var T=function(e,t){var n=o.useState((function(){return(0,a.Z)()?document.createElement("div"):null})),i=(0,r.Z)(n,1)[0],l=o.useRef(!1),f=o.useContext(s),p=o.useState(d),g=(0,r.Z)(p,2),h=g[0],m=g[1],v=f||(l.current?void 0:function(e){m((function(t){return[e].concat((0,c.Z)(t))}))});function b(){i.parentElement||document.body.appendChild(i),l.current=!0}function y(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),l.current=!1}return(0,u.Z)((function(){return e?f?f(b):b():y(),y}),[e]),(0,u.Z)((function(){h.length&&(h.forEach((function(e){return e()})),m(d))}),[h]),[i,v]}(x&&!k),R=(0,r.Z)(T,2),M=R[0],N=R[1],I=null!=k?k:M;v(f&&n&&(0,a.Z)()&&(I===M||I===document.body));var P=null;m&&(0,l.Yr)(m)&&t&&(P=m.ref);var A=(0,l.x1)(P,t);if(!x||!(0,a.Z)()||void 0===k)return null;var L,j=!1===I||("boolean"==typeof L&&(b=L),b),D=m;return t&&(D=o.cloneElement(m,{ref:A})),o.createElement(s.Provider,{value:N},j?D:(0,i.createPortal)(D,I))}))},2507:(e,t,n)=>{"use strict";n.d(t,{Z:()=>H});var r=n(1413),o=n(9439),i=n(4925),a=n(8705),l=n(3967),s=n.n(l),c=n(5375),u=n(4203),d=n(7571),f=n(6680),p=n(7028),g=n(8410),h=n(1131),m=n(7294),v=n(7462),b=n(5461),y=n(2550);function S(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,l=i.content,c=o.x,u=void 0===c?0:c,d=o.y,f=void 0===d?0:d,p=m.useRef();if(!n||!n.points)return null;var g={position:"absolute"};if(!1!==n.autoArrow){var h=n.points[0],v=n.points[1],b=h[0],y=h[1],S=v[0],w=v[1];b!==S&&["t","b"].includes(b)?"t"===b?g.top=0:g.bottom=0:g.top=f,y!==w&&["l","r"].includes(y)?"l"===y?g.left=0:g.right=0:g.left=u}return m.createElement("div",{ref:p,className:s()("".concat(t,"-arrow"),a),style:g},l)}function w(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?m.createElement(b.ZP,(0,v.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return m.createElement("div",{style:{zIndex:r},className:s()("".concat(t,"-mask"),n)})})):null}const C=m.memo((function(e){return e.children}),(function(e,t){return t.cache}));const E=m.forwardRef((function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,l=e.style,u=e.target,d=e.onVisibleChanged,f=e.open,p=e.keepDom,h=e.fresh,E=e.onClick,x=e.mask,_=e.arrow,O=e.arrowPos,k=e.align,$=e.motion,T=e.maskMotion,R=e.forceRender,M=e.getPopupContainer,N=e.autoDestroy,I=e.portal,P=e.zIndex,A=e.onMouseEnter,L=e.onMouseLeave,j=e.onPointerEnter,D=e.ready,B=e.offsetX,z=e.offsetY,Z=e.offsetR,F=e.offsetB,H=e.onAlign,W=e.onPrepare,U=e.stretch,V=e.targetWidth,q=e.targetHeight,X="function"==typeof n?n():n,G=f||p,Y=(null==M?void 0:M.length)>0,K=m.useState(!M||!Y),Q=(0,o.Z)(K,2),J=Q[0],ee=Q[1];if((0,g.Z)((function(){!J&&Y&&u&&ee(!0)}),[J,Y,u]),!J)return null;var te="auto",ne={left:"-1000vw",top:"-1000vh",right:te,bottom:te};if(D||!f){var re,oe=k.points,ie=k.dynamicInset||(null===(re=k._experimental)||void 0===re?void 0:re.dynamicInset),ae=ie&&"r"===oe[0][1],le=ie&&"b"===oe[0][0];ae?(ne.right=Z,ne.left=te):(ne.left=B,ne.right=te),le?(ne.bottom=F,ne.top=te):(ne.top=z,ne.bottom=te)}var se={};return U&&(U.includes("height")&&q?se.height=q:U.includes("minHeight")&&q&&(se.minHeight=q),U.includes("width")&&V?se.width=V:U.includes("minWidth")&&V&&(se.minWidth=V)),f||(se.pointerEvents="none"),m.createElement(I,{open:R||G,getContainer:M&&function(){return M(u)},autoDestroy:N},m.createElement(w,{prefixCls:a,open:f,zIndex:P,mask:x,motion:T}),m.createElement(c.Z,{onResize:H,disabled:!f},(function(e){return m.createElement(b.ZP,(0,v.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:R,leavedClassName:"".concat(a,"-hidden")},$,{onAppearPrepare:W,onEnterPrepare:W,visible:f,onVisibleChanged:function(e){var t;null==$||null===(t=$.onVisibleChanged)||void 0===t||t.call($,e),d(e)}}),(function(n,o){var c=n.className,u=n.style,d=s()(a,c,i);return m.createElement("div",{ref:(0,y.sQ)(e,t,o),className:d,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(O.x||0,"px"),"--arrow-y":"".concat(O.y||0,"px")},ne),se),u),{},{boxSizing:"border-box",zIndex:P},l),onMouseEnter:A,onMouseLeave:L,onPointerEnter:j,onClick:E},_&&m.createElement(S,{prefixCls:a,arrow:_,arrowPos:O,align:k}),m.createElement(C,{cache:!f&&!h},X))}))})))}));const x=m.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,y.Yr)(n),i=m.useCallback((function(e){(0,y.mH)(t,r?r(e):e)}),[r]),a=(0,y.x1)(i,n.ref);return o?m.cloneElement(n,{ref:a}):n}));const _=m.createContext(null);function O(e){return e?Array.isArray(e)?e:[e]:[]}var k=n(5110);function $(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function T(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function R(e){return e.ownerDocument.defaultView}function M(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=R(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function I(e){return N(parseFloat(e),0)}function P(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=R(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,l=t.borderLeftWidth,s=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,p=e.clientWidth,g=I(i),h=I(a),m=I(l),v=I(s),b=N(Math.round(c.width/f*1e3)/1e3),y=N(Math.round(c.height/u*1e3)/1e3),S=(f-p-m-v)*b,w=(u-d-g-h)*y,C=g*y,E=h*y,x=m*b,_=v*b,O=0,k=0;if("clip"===r){var $=I(o);O=$*b,k=$*y}var T=c.x+x-O,M=c.y+C-k,P=T+c.width+2*O-x-_-S,A=M+c.height+2*k-C-E-w;n.left=Math.max(n.left,T),n.top=Math.max(n.top,M),n.right=Math.min(n.right,P),n.bottom=Math.min(n.bottom,A)}})),n}function A(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function L(e,t){var n=t||[],r=(0,o.Z)(n,2),i=r[0],a=r[1];return[A(e.width,i),A(e.height,a)]}function j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function D(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function B(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var z=n(3433);n(334);var Z=n(5164);var F=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return m.forwardRef((function(t,n){var a=t.prefixCls,l=void 0===a?"rc-trigger-popup":a,v=t.children,b=t.action,y=void 0===b?"hover":b,S=t.showAction,w=t.hideAction,C=t.popupVisible,I=t.defaultPopupVisible,A=t.onPopupVisibleChange,H=t.afterPopupVisibleChange,W=t.mouseEnterDelay,U=t.mouseLeaveDelay,V=void 0===U?.1:U,q=t.focusDelay,X=t.blurDelay,G=t.mask,Y=t.maskClosable,K=void 0===Y||Y,Q=t.getPopupContainer,J=t.forceRender,ee=t.autoDestroy,te=t.destroyPopupOnHide,ne=t.popup,re=t.popupClassName,oe=t.popupStyle,ie=t.popupPlacement,ae=t.builtinPlacements,le=void 0===ae?{}:ae,se=t.popupAlign,ce=t.zIndex,ue=t.stretch,de=t.getPopupClassNameFromAlign,fe=t.fresh,pe=t.alignPoint,ge=t.onPopupClick,he=t.onPopupAlign,me=t.arrow,ve=t.popupMotion,be=t.maskMotion,ye=t.popupTransitionName,Se=t.popupAnimation,we=t.maskTransitionName,Ce=t.maskAnimation,Ee=t.className,xe=t.getTriggerDOMNode,_e=(0,i.Z)(t,F),Oe=ee||te||!1,ke=m.useState(!1),$e=(0,o.Z)(ke,2),Te=$e[0],Re=$e[1];(0,g.Z)((function(){Re((0,h.Z)())}),[]);var Me=m.useRef({}),Ne=m.useContext(_),Ie=m.useMemo((function(){return{registerSubPopup:function(e,t){Me.current[e]=t,null==Ne||Ne.registerSubPopup(e,t)}}}),[Ne]),Pe=(0,p.Z)(),Ae=m.useState(null),Le=(0,o.Z)(Ae,2),je=Le[0],De=Le[1],Be=(0,f.Z)((function(e){(0,u.S)(e)&&je!==e&&De(e),null==Ne||Ne.registerSubPopup(Pe,e)})),ze=m.useState(null),Ze=(0,o.Z)(ze,2),Fe=Ze[0],He=Ze[1],We=m.useRef(null),Ue=(0,f.Z)((function(e){(0,u.S)(e)&&Fe!==e&&(He(e),We.current=e)})),Ve=m.Children.only(v),qe=(null==Ve?void 0:Ve.props)||{},Xe={},Ge=(0,f.Z)((function(e){var t,n,r=Fe;return(null==r?void 0:r.contains(e))||(null===(t=(0,d.A)(r))||void 0===t?void 0:t.host)===e||e===r||(null==je?void 0:je.contains(e))||(null===(n=(0,d.A)(je))||void 0===n?void 0:n.host)===e||e===je||Object.values(Me.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Ye=T(l,ve,Se,ye),Ke=T(l,be,Ce,we),Qe=m.useState(I||!1),Je=(0,o.Z)(Qe,2),et=Je[0],tt=Je[1],nt=null!=C?C:et,rt=(0,f.Z)((function(e){void 0===C&&tt(e)}));(0,g.Z)((function(){tt(C||!1)}),[C]);var ot=m.useRef(nt);ot.current=nt;var it=m.useRef([]);it.current=[];var at=(0,f.Z)((function(e){var t;rt(e),(null!==(t=it.current[it.current.length-1])&&void 0!==t?t:nt)!==e&&(it.current.push(e),null==A||A(e))})),lt=m.useRef(),st=function(){clearTimeout(lt.current)},ct=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;st(),0===t?at(e):lt.current=setTimeout((function(){at(e)}),1e3*t)};m.useEffect((function(){return st}),[]);var ut=m.useState(!1),dt=(0,o.Z)(ut,2),ft=dt[0],pt=dt[1];(0,g.Z)((function(e){e&&!nt||pt(!0)}),[nt]);var gt=m.useState(null),ht=(0,o.Z)(gt,2),mt=ht[0],vt=ht[1],bt=m.useState([0,0]),yt=(0,o.Z)(bt,2),St=yt[0],wt=yt[1],Ct=function(e){wt([e.clientX,e.clientY])},Et=function(e,t,n,i,a,l,s){var c=m.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[i]||{}}),d=(0,o.Z)(c,2),p=d[0],h=d[1],v=m.useRef(0),b=m.useMemo((function(){return t?M(t):[]}),[t]),y=m.useRef({});e||(y.current={});var S=(0,f.Z)((function(){if(t&&n&&e){var c,d,f,p=t,g=p.ownerDocument,m=R(p).getComputedStyle(p),v=m.width,S=m.height,w=m.position,C=p.style.left,E=p.style.top,x=p.style.right,_=p.style.bottom,O=p.style.overflow,$=(0,r.Z)((0,r.Z)({},a[i]),l),T=g.createElement("div");if(null===(c=p.parentElement)||void 0===c||c.appendChild(T),T.style.left="".concat(p.offsetLeft,"px"),T.style.top="".concat(p.offsetTop,"px"),T.style.position=w,T.style.height="".concat(p.offsetHeight,"px"),T.style.width="".concat(p.offsetWidth,"px"),p.style.left="0",p.style.top="0",p.style.right="auto",p.style.bottom="auto",p.style.overflow="hidden",Array.isArray(n))f={x:n[0],y:n[1],width:0,height:0};else{var M=n.getBoundingClientRect();f={x:M.x,y:M.y,width:M.width,height:M.height}}var I=p.getBoundingClientRect(),A=g.documentElement,z=A.clientWidth,Z=A.clientHeight,F=A.scrollWidth,H=A.scrollHeight,W=A.scrollTop,U=A.scrollLeft,V=I.height,q=I.width,X=f.height,G=f.width,Y={left:0,top:0,right:z,bottom:Z},K={left:-U,top:-W,right:F-U,bottom:H-W},Q=$.htmlRegion,J="visible",ee="visibleFirst";"scroll"!==Q&&Q!==ee&&(Q=J);var te=Q===ee,ne=P(K,b),re=P(Y,b),oe=Q===J?re:ne,ie=te?re:oe;p.style.left="auto",p.style.top="auto",p.style.right="0",p.style.bottom="0";var ae=p.getBoundingClientRect();p.style.left=C,p.style.top=E,p.style.right=x,p.style.bottom=_,p.style.overflow=O,null===(d=p.parentElement)||void 0===d||d.removeChild(T);var le=N(Math.round(q/parseFloat(v)*1e3)/1e3),se=N(Math.round(V/parseFloat(S)*1e3)/1e3);if(0===le||0===se||(0,u.S)(n)&&!(0,k.Z)(n))return;var ce=$.offset,ue=$.targetOffset,de=L(I,ce),fe=(0,o.Z)(de,2),pe=fe[0],ge=fe[1],he=L(f,ue),me=(0,o.Z)(he,2),ve=me[0],be=me[1];f.x-=ve,f.y-=be;var ye=$.points||[],Se=(0,o.Z)(ye,2),we=Se[0],Ce=j(Se[1]),Ee=j(we),xe=D(f,Ce),_e=D(I,Ee),Oe=(0,r.Z)({},$),ke=xe.x-_e.x+pe,$e=xe.y-_e.y+ge;function wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oe,r=I.x+e,o=I.y+t,i=r+q,a=o+V,l=Math.max(r,n.left),s=Math.max(o,n.top),c=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(c-l)*(u-s))}var Te,Re,Me,Ne,Ie=wt(ke,$e),Pe=wt(ke,$e,re),Ae=D(f,["t","l"]),Le=D(I,["t","l"]),je=D(f,["b","r"]),De=D(I,["b","r"]),Be=$.overflow||{},ze=Be.adjustX,Ze=Be.adjustY,Fe=Be.shiftX,He=Be.shiftY,We=function(e){return"boolean"==typeof e?e:e>=0};function Ct(){Te=I.y+$e,Re=Te+V,Me=I.x+ke,Ne=Me+q}Ct();var Ue=We(Ze),Ve=Ee[0]===Ce[0];if(Ue&&"t"===Ee[0]&&(Re>ie.bottom||y.current.bt)){var qe=$e;Ve?qe-=V-X:qe=Ae.y-De.y-ge;var Xe=wt(ke,qe),Ge=wt(ke,qe,re);Xe>Ie||Xe===Ie&&(!te||Ge>=Pe)?(y.current.bt=!0,$e=qe,ge=-ge,Oe.points=[B(Ee,0),B(Ce,0)]):y.current.bt=!1}if(Ue&&"b"===Ee[0]&&(TeIe||Ke===Ie&&(!te||Qe>=Pe)?(y.current.tb=!0,$e=Ye,ge=-ge,Oe.points=[B(Ee,0),B(Ce,0)]):y.current.tb=!1}var Je=We(ze),et=Ee[1]===Ce[1];if(Je&&"l"===Ee[1]&&(Ne>ie.right||y.current.rl)){var tt=ke;et?tt-=q-G:tt=Ae.x-De.x-pe;var nt=wt(tt,$e),rt=wt(tt,$e,re);nt>Ie||nt===Ie&&(!te||rt>=Pe)?(y.current.rl=!0,ke=tt,pe=-pe,Oe.points=[B(Ee,1),B(Ce,1)]):y.current.rl=!1}if(Je&&"r"===Ee[1]&&(MeIe||it===Ie&&(!te||at>=Pe)?(y.current.lr=!0,ke=ot,pe=-pe,Oe.points=[B(Ee,1),B(Ce,1)]):y.current.lr=!1}Ct();var lt=!0===Fe?0:Fe;"number"==typeof lt&&(Mere.right&&(ke-=Ne-re.right-pe,f.x>re.right-lt&&(ke+=f.x-re.right+lt)));var st=!0===He?0:He;"number"==typeof st&&(Tere.bottom&&($e-=Re-re.bottom-ge,f.y>re.bottom-st&&($e+=f.y-re.bottom+st)));var ct=I.x+ke,ut=ct+q,dt=I.y+$e,ft=dt+V,pt=f.x,gt=pt+G,ht=f.y,mt=ht+X,vt=(Math.max(ct,pt)+Math.min(ut,gt))/2-ct,bt=(Math.max(dt,ht)+Math.min(ft,mt))/2-dt;null==s||s(t,Oe);var yt=ae.right-I.x-(ke+I.width),St=ae.bottom-I.y-($e+I.height);h({ready:!0,offsetX:ke/le,offsetY:$e/se,offsetR:yt/le,offsetB:St/se,arrowX:vt/le,arrowY:bt/se,scaleX:le,scaleY:se,align:Oe})}})),w=function(){h((function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})}))};return(0,g.Z)(w,[i]),(0,g.Z)((function(){e||w()}),[e]),[p.ready,p.offsetX,p.offsetY,p.offsetR,p.offsetB,p.arrowX,p.arrowY,p.scaleX,p.scaleY,p.align,function(){v.current+=1;var e=v.current;Promise.resolve().then((function(){v.current===e&&S()}))}]}(nt,je,pe?St:Fe,ie,le,se,he),xt=(0,o.Z)(Et,11),_t=xt[0],Ot=xt[1],kt=xt[2],$t=xt[3],Tt=xt[4],Rt=xt[5],Mt=xt[6],Nt=xt[7],It=xt[8],Pt=xt[9],At=xt[10],Lt=function(e,t,n,r){return m.useMemo((function(){var o=O(null!=n?n:t),i=O(null!=r?r:t),a=new Set(o),l=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]}),[e,t,n,r])}(Te,y,S,w),jt=(0,o.Z)(Lt,2),Dt=jt[0],Bt=jt[1],zt=Dt.has("click"),Zt=Bt.has("click")||Bt.has("contextMenu"),Ft=(0,f.Z)((function(){ft||At()}));!function(e,t,n,r,o){(0,g.Z)((function(){if(e&&t&&n){var i=n,a=M(t),l=M(i),s=R(i),c=new Set([s].concat((0,z.Z)(a),(0,z.Z)(l)));function u(){r(),o()}return c.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),s.addEventListener("resize",u,{passive:!0}),r(),function(){c.forEach((function(e){e.removeEventListener("scroll",u),s.removeEventListener("resize",u)}))}}}),[e,t,n])}(nt,Fe,je,Ft,(function(){ot.current&&pe&&Zt&&ct(!1)})),(0,g.Z)((function(){Ft()}),[St,ie]),(0,g.Z)((function(){!nt||null!=le&&le[ie]||Ft()}),[JSON.stringify(se)]);var Ht=m.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1?a-1:0),s=1;s1?n-1:0),o=1;o1?n-1:0),o=1;o{"use strict";n.d(t,{f6:()=>Zn,kc:()=>zn});var r=n(4942),o=n(7294),i=n.t(o,2),a=n(5671),l=n(3144);var s=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?h(_,--E):0,w--,10===x&&(w=1,S--),x}function T(){return x=E2||I(x)>3?"":" "}function D(e,t){for(;--t&&T()&&!(x<48||x>102||x>57&&x<65||x>70&&x<97););return N(e,M()+(t<6&&32==R()&&32==T()))}function B(e){for(;T();)switch(x){case e:return E;case 34:case 39:34!==e&&39!==e&&B(x);break;case 40:41===e&&B(e);break;case 92:T()}return E}function z(e,t){for(;T()&&e+x!==57&&(e+x!==84||47!==R()););return"/*"+N(t,E-1)+"*"+u(47===e?e:T())}function Z(e){for(;!I(R());)T();return N(e,E)}var F="-ms-",H="-moz-",W="-webkit-",U="comm",V="rule",q="decl",X="@keyframes";function G(e,t){for(var n="",r=b(e),o=0;o0&&v(I)-f&&y(b>32?te(I+";",r,n,f-1):te(p(I," ","")+";",r,n,f-2),s);break;case 59:I+=";";default:if(y(N=J(I,t,n,c,d,o,l,_,O=[],k=[],f),i),123===x)if(0===d)Q(I,t,N,N,O,i,f,l,k);else switch(99===m&&110===h(I,3)?100:m){case 100:case 108:case 109:case 115:Q(e,N,N,r&&y(J(e,N,N,0,0,o,l,_,o,O=[],f),k),o,k,f,l,r?O:k);break;default:Q(I,N,N,N,[""],k,0,l,k)}}c=d=b=0,w=E=1,_=I="",f=a;break;case 58:f=1+v(I),b=S;default:if(w<1)if(123==x)--w;else if(125==x&&0==w++&&125==$())continue;switch(I+=u(x),x*w){case 38:E=d>0?1:(I+="\f",-1);break;case 44:l[c++]=(v(I)-1)*E,E=1;break;case 64:45===R()&&(I+=L(T())),m=R(),d=f=v(_=I+=Z(M())),x++;break;case 45:45===S&&2==v(I)&&(w=0)}}return i}function J(e,t,n,r,o,i,a,l,s,u,d){for(var g=o-1,h=0===o?i:[""],v=b(h),y=0,S=0,w=0;y0?h[C]+" "+E:p(E,/&\f/g,h[C])))&&(s[w++]=x);return O(e,t,n,0===o?V:l,s,u,d)}function ee(e,t,n){return O(e,t,n,U,u(x),m(e,2,-2),0)}function te(e,t,n,r){return O(e,t,n,q,m(e,0,r),m(e,r+1,-1),r)}var ne=function(e,t,n){for(var r=0,o=0;r=o,o=R(),38===r&&12===o&&(t[n]=1),!I(o);)T();return N(e,E)},re=function(e,t){return A(function(e,t){var n=-1,r=44;do{switch(I(r)){case 0:38===r&&12===R()&&(t[n]=1),e[n]+=ne(E-1,t,n);break;case 2:e[n]+=L(r);break;case 4:if(44===r){e[++n]=58===R()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=u(r)}}while(r=T());return e}(P(e),t))},oe=new WeakMap,ie=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||oe.get(n))&&!r){oe.set(e,!0);for(var o=[],i=re(t,o),a=n.props,l=0,s=0;l6)switch(h(e,t+1)){case 109:if(45!==h(e,t+4))break;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+H+(108==h(e,t+3)?"$3":"$2-$3"))+e;case 115:return~g(e,"stretch")?le(p(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==h(e,t+1))break;case 6444:switch(h(e,v(e)-3-(~g(e,"!important")&&10))){case 107:return p(e,":",":"+W)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===h(e,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(h(e,t+11)){case 114:return W+e+F+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+F+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+F+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+F+e+e}return e}var se=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case q:e.return=le(e.value,e.length);break;case X:return G([k(e,{value:p(e.value,"@","@"+W)})],r);case V:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return G([k(e,{props:[p(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return G([k(e,{props:[p(t,/:(plac\w+)/,":"+W+"input-$1")]}),k(e,{props:[p(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[p(t,/:(plac\w+)/,F+"input-$1")]})],r)}return""}))}}],ce=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||se;var o,i,a={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=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)}(o)+s;return{name:c,styles:o,next:ye}};function Ce(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Ee=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},xe=function(e,t,n){Ee(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};function _e(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Oe(e,t,n){var r=[],o=Ce(e,r,n);return r.length<2?n:o+t(r)}var ke=function(e){var t=ce(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;re(),Ot=[],kt={};function $t(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=kt,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:o}}const Tt=o.forwardRef(((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:i}=(0,o.useContext)(yt.E_),a=kt.prefixCls||i("message"),l=(0,o.useContext)(bt.J),[s,c]=(0,Ct.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:a}),l.message));return o.useImperativeHandle(t,(()=>{const e=Object.assign({},s);return Object.keys(e).forEach((t=>{e[t]=function(){return r(),s[t].apply(s,arguments)}})),{instance:e,sync:r}})),c})),Rt=o.forwardRef(((e,t)=>{const[n,r]=o.useState($t),i=()=>{r($t)};o.useEffect(i,[]);const a=(0,St.w6)(),l=a.getRootPrefixCls(),s=a.getIconPrefixCls(),c=a.getTheme(),u=o.createElement(Tt,{ref:t,sync:i,messageConfig:n});return o.createElement(St.ZP,{prefixCls:l,iconPrefixCls:s,theme:c},a.holderRender?a.holderRender(u):u)}));function Mt(){if(!xt){const e=document.createDocumentFragment(),t={fragment:e};return xt=t,void _t((()=>{(0,vt.s)(o.createElement(Rt,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Mt())}))}}),e)}))}xt.instance&&(Ot.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":_t((()=>{const t=xt.instance.open(Object.assign(Object.assign({},kt),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":_t((()=>{null==xt||xt.instance.destroy(e.key)}));break;default:_t((()=>{var n;const r=(n=xt.instance)[t].apply(n,(0,mt.Z)(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),Ot=[])}const Nt={open:function(e){const t=(0,Et.J)((t=>{let n;const r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return Ot.push(r),()=>{n?_t((()=>{n()})):r.skipped=!0}}));return Mt(),t},destroy:function(e){Ot.push({type:"destroy",key:e}),Mt()},config:function(e){kt=Object.assign(Object.assign({},kt),e),_t((()=>{var e;null===(e=null==xt?void 0:xt.sync)||void 0===e||e.call(xt)}))},useMessage:Ct.Z,_InternalPanelDoNotUseOrYouWillBeFired:wt.ZP};["success","info","warning","error","loading"].forEach((e=>{Nt[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{let r;const o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return Ot.push(o),()=>{r?_t((()=>{r()})):o.skipped=!0}}));return Mt(),n}(e,n)}}));const It=Nt;var Pt=n(700),At=n(7107);let Lt=null,jt=e=>e(),Dt=[],Bt={};function zt(){const{getContainer:e,rtl:t,maxCount:n,top:r,bottom:o}=Bt,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,rtl:t,maxCount:n,top:r,bottom:o}}const Zt=o.forwardRef(((e,t)=>{const{notificationConfig:n,sync:r}=e,{getPrefixCls:i}=(0,o.useContext)(yt.E_),a=Bt.prefixCls||i("notification"),l=(0,o.useContext)(bt.J),[s,c]=(0,At.k)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:a}),l.notification));return o.useEffect(r,[]),o.useImperativeHandle(t,(()=>{const e=Object.assign({},s);return Object.keys(e).forEach((t=>{e[t]=function(){return r(),s[t].apply(s,arguments)}})),{instance:e,sync:r}})),c})),Ft=o.forwardRef(((e,t)=>{const[n,r]=o.useState(zt),i=()=>{r(zt)};o.useEffect(i,[]);const a=(0,St.w6)(),l=a.getRootPrefixCls(),s=a.getIconPrefixCls(),c=a.getTheme(),u=o.createElement(Zt,{ref:t,sync:i,notificationConfig:n});return o.createElement(St.ZP,{prefixCls:l,iconPrefixCls:s,theme:c},a.holderRender?a.holderRender(u):u)}));function Ht(){if(!Lt){const e=document.createDocumentFragment(),t={fragment:e};return Lt=t,void jt((()=>{(0,vt.s)(o.createElement(Ft,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Ht())}))}}),e)}))}Lt.instance&&(Dt.forEach((e=>{switch(e.type){case"open":jt((()=>{Lt.instance.open(Object.assign(Object.assign({},Bt),e.config))}));break;case"destroy":jt((()=>{null==Lt||Lt.instance.destroy(e.key)}))}})),Dt=[])}function Wt(e){(0,St.w6)();Dt.push({type:"open",config:e}),Ht()}const Ut={open:Wt,destroy:function(e){Dt.push({type:"destroy",key:e}),Ht()},config:function(e){Bt=Object.assign(Object.assign({},Bt),e),jt((()=>{var e;null===(e=null==Lt?void 0:Lt.sync)||void 0===e||e.call(Lt)}))},useNotification:At.Z,_InternalPanelDoNotUseOrYouWillBeFired:Pt.ZP};["success","info","warning","error"].forEach((e=>{Ut[e]=t=>Wt(Object.assign(Object.assign({},t),{type:e}))}));const Vt=Ut;var qt=n(6080),Xt=n(8657),Gt=n(6866),Yt=n(3967),Kt=n.n(Yt),Qt=n(3037),Jt=n(8745),en=n(9827),tn=n(5514),nn=n(1194),rn=n(5792),on=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{const{prefixCls:t,className:n,closeIcon:r,closable:i,type:a,title:l,children:s,footer:c}=e,u=on(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=o.useContext(yt.E_),f=d(),p=t||d("modal"),g=(0,rn.Z)(f),[h,m,v]=(0,nn.ZP)(p,g),b=`${p}-confirm`;let y={};return y=a?{closable:null!=i&&i,title:"",footer:"",children:o.createElement(en.O,Object.assign({},e,{prefixCls:p,confirmPrefixCls:b,rootPrefixCls:f,content:s}))}:{closable:null==i||i,title:l,footer:null!==c&&o.createElement(tn.$,Object.assign({},e)),children:s},h(o.createElement(Qt.s,Object.assign({prefixCls:p,className:Kt()(m,`${p}-pure-panel`,a&&b,a&&`${b}-${a}`,n,v,g)},u,{closeIcon:(0,tn.b)(p,r),closable:i},y)))}));var ln=n(61);function sn(e){return(0,qt.ZP)((0,qt.uW)(e))}const cn=Gt.Z;cn.useModal=ln.Z,cn.info=function(e){return(0,qt.ZP)((0,qt.cw)(e))},cn.success=function(e){return(0,qt.ZP)((0,qt.vq)(e))},cn.error=function(e){return(0,qt.ZP)((0,qt.AQ)(e))},cn.warning=sn,cn.warn=sn,cn.confirm=function(e){return(0,qt.ZP)((0,qt.Au)(e))},cn.destroyAll=function(){for(;Xt.Z.length;){const e=Xt.Z.pop();e&&e()}},cn.config=qt.ai,cn._InternalPanelDoNotUseOrYouWillBeFired=an;const un=cn;var dn,fn=function(e){return"undefined"!=typeof window?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(e,")")):{matches:!1}},pn=(0,o.createContext)({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:null!==(dn=fn("dark"))&&void 0!==dn&&dn.matches?"dark":"light"}),gn=function(){return(0,o.useContext)(pn)};function hn(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 mn(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>s,i:()=>l});var r=n(7294),o=n(1770),i=n(6854),a=n(3124);function l(e){return t=>r.createElement(i.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}const s=(e,t,n,i)=>l((l=>{const{prefixCls:s,style:c}=l,u=r.useRef(null),[d,f]=r.useState(0),[p,g]=r.useState(0),[h,m]=(0,o.Z)(!1,{value:l.open}),{getPrefixCls:v}=r.useContext(a.E_),b=v(t||"select",s);r.useEffect((()=>{if(m(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;f(t.offsetHeight+8),g(t.offsetWidth)})),t=setInterval((()=>{var r;const o=n?`.${n(b)}`:`.${b}-dropdown`,i=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let y=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},c),{margin:0}),open:h,visible:h,getPopupContainer:()=>u.current});i&&(y=i(y));const S={paddingBottom:d,position:"relative",minWidth:p};return r.createElement("div",{ref:u,style:S},r.createElement(e,Object.assign({},y)))}))},8787:(e,t,n)=>{"use strict";n.d(t,{o2:()=>l,yT:()=>s});var r=n(3433),o=n(8796);const i=o.i.map((e=>`${e}-inverse`)),a=["success","processing","error","default","warning"];function l(e){return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?[].concat((0,r.Z)(i),(0,r.Z)(o.i)).includes(e):o.i.includes(e)}function s(e){return a.includes(e)}},8065:(e,t,n)=>{"use strict";function r(e){return["small","middle","large"].includes(e)}function o(e){return!!e&&("number"==typeof e&&!Number.isNaN(e))}n.d(t,{T:()=>o,n:()=>r})},9760:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),o=n(4549);const i=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.createElement(o.Z,null);if(!function(e,t,n){return"boolean"==typeof e?e:void 0===t?!!n:!1!==t&&null!==t}(e,t,arguments.length>4&&void 0!==arguments[4]&&arguments[4]))return[!1,null];const a="boolean"==typeof t||null==t?i:t;return[!0,n?n(a):a]}},7263:(e,t,n)=>{"use strict";n.d(t,{Cn:()=>u,u6:()=>l});var r=n(7294),o=n(7606),i=n(3945);const a=100,l=1e3,s={Modal:a,Drawer:a,Popover:a,Popconfirm:a,Tooltip:a,Tour:a},c={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function u(e,t){const[,n]=(0,o.ZP)(),a=r.useContext(i.Z),u=e in s;if(void 0!==t)return[t,t];let d=null!=a?a:0;return u?(d+=(a?0:n.zIndexPopupBase)+s[e],d=Math.min(d,n.zIndexPopupBase+l)):d+=c[e],[void 0===a?t:d,d]}},3603:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,m:()=>l});const r=()=>({height:0,opacity:0}),o=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},i=e=>({height:e?e.offsetHeight:0}),a=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,l=(e,t,n)=>void 0!==n?n:`${e}-${t}`,s=function(){return{motionName:`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:i,onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}}},636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7414);const o={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},i={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},a=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function l(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:l,offset:s,borderRadius:c,visibleFirst:u}=e,d=t/2,f={};return Object.keys(o).forEach((e=>{const p=l&&i[e]||o[e],g=Object.assign(Object.assign({},p),{offset:[0,0],dynamicInset:!0});switch(f[e]=g,a.has(e)&&(g.autoArrow=!1),e){case"top":case"topLeft":case"topRight":g.offset[1]=-d-s;break;case"bottom":case"bottomLeft":case"bottomRight":g.offset[1]=d+s;break;case"left":case"leftTop":case"leftBottom":g.offset[0]=-d-s;break;case"right":case"rightTop":case"rightBottom":g.offset[0]=d+s}const h=(0,r.wZ)({contentRadius:c,limitVerticalRadius:!0});if(l)switch(e){case"topLeft":case"bottomLeft":g.offset[0]=-h.arrowOffsetHorizontal-d;break;case"topRight":case"bottomRight":g.offset[0]=h.arrowOffsetHorizontal+d;break;case"leftTop":case"rightTop":g.offset[1]=-h.arrowOffsetHorizontal-d;break;case"leftBottom":case"rightBottom":g.offset[1]=h.arrowOffsetHorizontal+d}g.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};const o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,h,t,n),u&&(g.htmlRegion="visibleFirst")})),f}},6159:(e,t,n)=>{"use strict";var r;n.d(t,{M2:()=>a,Tm:()=>l,l$:()=>i});var o=n(7294);const{isValidElement:i}=r||(r=n.t(o,2));function a(e){return e&&i(e)&&e.type===o.Fragment}function l(e,t){return function(e,t,n){return i(e)?o.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}(e,e,t)}},4443:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s,c4:()=>i});var r=n(7294),o=n(7606);const i=["xxl","xl","lg","md","sm","xs"],a=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),l=e=>{const t=e,n=[].concat(i).reverse();return n.forEach(((e,r)=>{const o=e.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(r{const e=new Map;let n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach((e=>e(r))),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach((e=>{const n=t[e],r=this.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)})),e.clear()},register(){Object.keys(t).forEach((e=>{const n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)}))},responsiveMap:t}}),[e])}},7288:(e,t,n)=>{"use strict";n.d(t,{G8:()=>i,ln:()=>a});var r=n(7294);n(334);function o(){}const i=r.createContext({}),a=()=>{const e=()=>{};return e.deprecated=o,e}},8979:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(3967),o=n.n(r),i=n(2550),a=n(5110),l=n(7294),s=n(3124),c=n(6159),u=n(1939);const d=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 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},f=(0,u.ZP)("Wave",(e=>[d(e)]));var p=n(6790),g=n(5164),h=n(5461),m=n(8135);function v(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}var b=n(7415);function y(e){return Number.isNaN(e)?0:e}const S=e=>{const{className:t,target:n,component:r}=e,i=l.useRef(null),[a,s]=l.useState(null),[c,u]=l.useState([]),[d,f]=l.useState(0),[p,S]=l.useState(0),[w,C]=l.useState(0),[E,x]=l.useState(0),[_,O]=l.useState(!1),k={left:d,top:p,width:w,height:E,borderRadius:c.map((e=>`${e}px`)).join(" ")};function $(){const e=getComputedStyle(n);s(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return v(t)?t:v(n)?n:v(r)?r:null}(n));const t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;f(t?n.offsetLeft:y(-parseFloat(r))),S(t?n.offsetTop:y(-parseFloat(o))),C(n.offsetWidth),x(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:c}=e;u([i,a,c,l].map((e=>y(parseFloat(e)))))}if(a&&(k["--wave-color"]=a),l.useEffect((()=>{if(n){const e=(0,g.Z)((()=>{$(),O(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver($),t.observe(n)),()=>{g.Z.cancel(e),null==t||t.disconnect()}}}),[]),!_)return null;const T=("Checkbox"===r||"Radio"===r)&&(null==n?void 0:n.classList.contains(b.A));return l.createElement(h.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=i.current)||void 0===n?void 0:n.parentElement;(0,m.v)(e).then((()=>{null==e||e.remove()}))}return!1}},(e=>{let{className:n}=e;return l.createElement("div",{ref:i,className:o()(t,{"wave-quick":T},n),style:k})}))},w=(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),(0,m.s)(l.createElement(S,Object.assign({},t,{target:e})),o)};var C=n(7606);const E=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:u}=(0,l.useContext)(s.E_),d=(0,l.useRef)(null),h=u("wave"),[,m]=f(h),v=function(e,t,n){const{wave:r}=l.useContext(s.E_),[,o,i]=(0,C.ZP)(),a=(0,p.zX)((a=>{const l=e.current;if((null==r?void 0:r.disabled)||!l)return;const s=l.querySelector(`.${b.A}`)||l,{showEffect:c}=r||{};(c||w)(s,{className:t,token:o,component:n,event:a,hashId:i})})),c=l.useRef();return e=>{g.Z.cancel(c.current),c.current=(0,g.Z)((()=>{a(e)}))}}(d,o()(h,m),r);if(l.useEffect((()=>{const e=d.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!(0,a.Z)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||v(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),!l.isValidElement(t))return null!=t?t:null;const y=(0,i.Yr)(t)?(0,i.sQ)(t.ref,d):d;return(0,c.Tm)(t,{ref:y})}},7415:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="ant-wave-target"},3945:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(7294).createContext(void 0)},6968:(e,t,n)=>{"use strict";n.d(t,{J:()=>o,Z:()=>i});var r=n(7294);const o=r.createContext({}),i=r.createContext({message:{},notification:{},modal:{}})},6107:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),o=n(3967),i=n.n(o),a=n(3124),l=n(6474),s=n(61),c=n(7107),u=n(6968);const d=(0,n(1939).I$)("App",(e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i}}}),(()=>({}))),f=e=>{const{prefixCls:t,children:n,className:o,rootClassName:f,message:p,notification:g,style:h,component:m="div"}=e,{getPrefixCls:v}=(0,r.useContext)(a.E_),b=v("app",t),[y,S,w]=d(b),C=i()(S,b,o,f,w),E=(0,r.useContext)(u.J),x=r.useMemo((()=>({message:Object.assign(Object.assign({},E.message),p),notification:Object.assign(Object.assign({},E.notification),g)})),[p,g,E.message,E.notification]),[_,O]=(0,l.Z)(x.message),[k,$]=(0,c.Z)(x.notification),[T,R]=(0,s.Z)(),M=r.useMemo((()=>({message:_,notification:k,modal:T})),[_,k,T]),N=!1===m?r.Fragment:m,I={className:C,style:h};return y(r.createElement(u.Z.Provider,{value:M},r.createElement(u.J.Provider,{value:x},r.createElement(N,Object.assign({},!1===m?void 0:I),R,O,$,n))))};f.useApp=()=>r.useContext(u.Z);const p=f},3884:(e,t,n)=>{"use strict";n.d(t,{C:()=>q});var r=n(7294),o=n(3967),i=n.n(o),a=n(5375),l=n(2550),s=n(4443),c=n(3124),u=n(8675),d=n(6413);const f=r.createContext({});var p=n(7395),g=n(4747),h=n(1939),m=n(5503);const v=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:i,containerSize:a,containerSizeLG:l,containerSizeSM:s,textFontSize:c,textFontSizeLG:u,textFontSizeSM:d,borderRadius:f,borderRadiusLG:h,borderRadiusSM:m,lineWidth:v,lineType:b,calc:y}=e,S=(e,t,o)=>({width:e,height:e,lineHeight:(0,p.bf)(y(e).sub(y(v).mul(2)).equal()),borderRadius:"50%",[`&${n}-square`]:{borderRadius:o},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:t,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,g.Wf)(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${(0,p.bf)(v)} ${b} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),S(a,c,f)),{"&-lg":Object.assign({},S(l,u,h)),"&-sm":Object.assign({},S(s,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},b=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:o}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:o}}}},y=(0,h.I$)("Avatar",(e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=(0,m.TS)(e,{avatarBg:n,avatarColor:t});return[v(r),b(r)]}),(e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:o,fontSizeLG:i,fontSizeXL:a,fontSizeHeading3:l,marginXS:s,marginXXS:c,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((i+a)/2),textFontSizeLG:l,textFontSizeSM:o,groupSpace:c,groupOverlapping:-s,groupBorderColor:u}}));var S=n(5792),w=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{const[n,o]=r.useState(1),[p,g]=r.useState(!1),[h,m]=r.useState(!0),v=r.useRef(null),b=r.useRef(null),C=(0,l.sQ)(t,v),{getPrefixCls:E,avatar:x}=r.useContext(c.E_),_=r.useContext(f),O=()=>{if(!b.current||!v.current)return;const t=b.current.offsetWidth,n=v.current.offsetWidth;if(0!==t&&0!==n){const{gap:r=4}=e;2*r{g(!0)}),[]),r.useEffect((()=>{m(!0),o(1)}),[e.src]),r.useEffect(O,[e.gap]);const k=()=>{const{onError:t}=e;!1!==(null==t?void 0:t())&&m(!1)},{prefixCls:$,shape:T,size:R,src:M,srcSet:N,icon:I,className:P,rootClassName:A,alt:L,draggable:j,children:D,crossOrigin:B}=e,z=w(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),Z=(0,u.Z)((e=>{var t,n;return null!==(n=null!==(t=null!=R?R:null==_?void 0:_.size)&&void 0!==t?t:e)&&void 0!==n?n:"default"})),F=Object.keys("object"==typeof Z&&Z||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e))),H=(0,d.Z)(F),W=r.useMemo((()=>{if("object"!=typeof Z)return{};const e=s.c4.find((e=>H[e])),t=Z[e];return t?{width:t,height:t,lineHeight:`${t}px`,fontSize:t&&(I||D)?t/2:18}:{}}),[H,Z]);const U=E("avatar",$),V=(0,S.Z)(U),[q,X,G]=y(U,V),Y=i()({[`${U}-lg`]:"large"===Z,[`${U}-sm`]:"small"===Z}),K=r.isValidElement(M),Q=T||(null==_?void 0:_.shape)||"circle",J=i()(U,Y,null==x?void 0:x.className,`${U}-${Q}`,{[`${U}-image`]:K||M&&h,[`${U}-icon`]:!!I},G,V,P,A,X),ee="number"==typeof Z?{width:Z,height:Z,lineHeight:`${Z}px`,fontSize:I?Z/2:18}:{};let te;if("string"==typeof M&&h)te=r.createElement("img",{src:M,draggable:j,srcSet:N,onError:k,alt:L,crossOrigin:B});else if(K)te=M;else if(I)te=I;else if(p||1!==n){const e=`scale(${n}) translateX(-50%)`,t={msTransform:e,WebkitTransform:e,transform:e},o="number"==typeof Z?{lineHeight:`${Z}px`}:{};te=r.createElement(a.Z,{onResize:O},r.createElement("span",{className:`${U}-string`,ref:b,style:Object.assign(Object.assign({},o),t)},D))}else te=r.createElement("span",{className:`${U}-string`,style:{opacity:0},ref:b},D);return delete z.onError,delete z.gap,q(r.createElement("span",Object.assign({},z,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ee),W),null==x?void 0:x.style),z.style),className:J,ref:C}),te))};const E=r.forwardRef(C);var x=n(344);const _=e=>e?"function"==typeof e?e():e:null;var O=n(3603),k=n(3807),$=n(4178),T=n(438),R=n(7414),M=n(8796),N=n(9511);const I=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:o,innerPadding:i,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:s,zIndexPopup:c,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:p,innerContentPadding:h,titlePadding:m}=e;return[{[t]:Object.assign(Object.assign({},(0,g.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":d,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:s,boxShadow:a,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:u,color:l,fontWeight:o,borderBottom:p,padding:m},[`${t}-inner-content`]:{color:n,padding:h}})},(0,R.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},P=e=>{const{componentCls:t}=e;return{[t]:M.i.map((n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}}))}},A=(0,h.I$)("Popover",(e=>{const{colorBgElevated:t,colorText:n}=e,r=(0,m.TS)(e,{popoverBg:t,popoverColor:n});return[I(r),P(r),(0,T._y)(r,"zoom-big")]}),(e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:i,zIndexPopupBase:a,borderRadiusLG:l,marginXS:s,lineType:c,colorSplit:u,paddingSM:d}=e,f=n-r,p=f/2,g=f/2-t,h=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a+30},(0,N.w)(e)),(0,R.wZ)({contentRadius:l,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:s,titlePadding:i?`${p}px ${h}px ${g}px`:0,titleBorderBottom:i?`${t}px ${c} ${u}`:"none",innerContentPadding:i?`${d}px ${h}px`:0})}),{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var L=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{const{hashId:t,prefixCls:n,className:o,style:a,placement:l="top",title:s,content:c,children:u}=e;return r.createElement("div",{className:i()(t,n,`${n}-pure`,`${n}-placement-${l}`,o),style:a},r.createElement("div",{className:`${n}-arrow`}),r.createElement($.G,Object.assign({},e,{className:t,prefixCls:n}),u||((e,t,n)=>t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:`${e}-title`},_(t)),r.createElement("div",{className:`${e}-inner-content`},_(n))):null)(n,s,c)))},D=e=>{const{prefixCls:t,className:n}=e,o=L(e,["prefixCls","className"]),{getPrefixCls:a}=r.useContext(c.E_),l=a("popover",t),[s,u,d]=A(l);return s(r.createElement(j,Object.assign({},o,{prefixCls:l,hashId:u,className:i()(n,d)})))};var B=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{let{title:t,content:n,prefixCls:o}=e;return r.createElement(r.Fragment,null,t&&r.createElement("div",{className:`${o}-title`},_(t)),r.createElement("div",{className:`${o}-inner-content`},_(n)))},Z=r.forwardRef(((e,t)=>{const{prefixCls:n,title:o,content:a,overlayClassName:l,placement:s="top",trigger:u="hover",mouseEnterDelay:d=.1,mouseLeaveDelay:f=.1,overlayStyle:p={}}=e,g=B(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:h}=r.useContext(c.E_),m=h("popover",n),[v,b,y]=A(m),S=h(),w=i()(l,b,y);return v(r.createElement(k.Z,Object.assign({placement:s,trigger:u,mouseEnterDelay:d,mouseLeaveDelay:f,overlayStyle:p},g,{prefixCls:m,overlayClassName:w,ref:t,overlay:o||a?r.createElement(z,{prefixCls:m,title:o,content:a}):null,transitionName:(0,O.m)(S,"zoom-big",g.transitionName),"data-popover-inject":!0})))}));Z._InternalPanelDoNotUseOrYouWillBeFired=D;const F=Z;var H=n(6159);const W=e=>{const{size:t,shape:n}=r.useContext(f),o=r.useMemo((()=>({size:e.size||t,shape:e.shape||n})),[e.size,e.shape,t,n]);return r.createElement(f.Provider,{value:o},e.children)},U=e=>{const{getPrefixCls:t,direction:n}=r.useContext(c.E_),{prefixCls:o,className:a,rootClassName:l,style:s,maxCount:u,maxStyle:d,size:f,shape:p,maxPopoverPlacement:g="top",maxPopoverTrigger:h="hover",children:m}=e,v=t("avatar",o),b=`${v}-group`,w=(0,S.Z)(v),[C,_,O]=y(v,w),k=i()(b,{[`${b}-rtl`]:"rtl"===n},O,w,a,l,_),$=(0,x.Z)(m).map(((e,t)=>(0,H.Tm)(e,{key:`avatar-key-${t}`}))),T=$.length;if(u&&u{"use strict";n.d(t,{Z:()=>R});var r=n(7294),o=n(3967),i=n.n(o),a=n(344),l=n(4217),s=n(6159),c=n(3124),u=n(7254),d=n(2649);const f=e=>{let{children:t}=e;const{getPrefixCls:n}=r.useContext(c.E_),o=n("breadcrumb");return r.createElement("li",{className:`${o}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};f.__ANT_BREADCRUMB_SEPARATOR=!0;const p=f;var g=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{if(t)return t(n,r,o,i);const l=function(e,t){if(void 0===e.title||null===e.title)return null;const n=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${n})`,"g"),((e,n)=>t[n]||e))}(n,r);return h(e,n,l,a)}}var v=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{const{prefixCls:t,separator:n="/",children:o,menu:i,overlay:a,dropdownProps:l,href:s}=e;const c=(e=>{if(i||a){const n=Object.assign({},l);if(i){const e=i||{},{items:t}=e,o=v(e,["items"]);n.menu=Object.assign(Object.assign({},o),{items:null==t?void 0:t.map(((e,t)=>{var{key:n,title:o,label:i,path:a}=e,l=v(e,["key","title","label","path"]);let c=null!=i?i:o;return a&&(c=r.createElement("a",{href:`${s}${a}`},c)),Object.assign(Object.assign({},l),{key:null!=n?n:t,label:c})}))})}else a&&(n.overlay=a);return r.createElement(d.Z,Object.assign({placement:"bottom"},n),r.createElement("span",{className:`${t}-overlay-link`},e,r.createElement(u.Z,null)))}return e})(o);return null!=c?r.createElement(r.Fragment,null,r.createElement("li",null,c),n&&r.createElement(p,null,n)):null},y=e=>{const{prefixCls:t,children:n,href:o}=e,i=v(e,["prefixCls","children","href"]),{getPrefixCls:a}=r.useContext(c.E_),l=a("breadcrumb",t);return r.createElement(b,Object.assign({},i,{prefixCls:l}),h(l,i,n,o))};y.__ANT_BREADCRUMB_ITEM=!0;const S=y;var w=n(7395),C=n(4747),E=n(1939),x=n(5503);const _=(0,E.I$)("Breadcrumb",(e=>(e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},(0,C.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${(0,w.bf)(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,C.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${n} + span,\n > ${n} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${(0,w.bf)(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}})((0,x.TS)(e,{}))),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS})));var O=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{var{breadcrumbName:t}=e,n=O(e,["breadcrumbName"]);return Object.assign(Object.assign({},n),{title:t})}))}),o}var $=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{const{prefixCls:t,separator:n="/",style:o,className:u,rootClassName:d,routes:f,items:g,children:h,itemRender:v,params:y={}}=e,S=$(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:w,direction:C,breadcrumb:E}=r.useContext(c.E_);let x;const O=w("breadcrumb",t),[T,R,M]=_(O),N=function(e,t){return(0,r.useMemo)((()=>e||(t?t.map(k):null)),[e,t])}(g,f);const I=m(O,v);if(N&&N.length>0){const e=[],t=g||f;x=N.map(((o,i)=>{const{path:a,key:s,type:c,menu:u,overlay:d,onClick:f,className:g,separator:h,dropdownProps:m}=o,v=((e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{n=n.replace(`:${t}`,e[t])})),n})(y,a);void 0!==v&&e.push(v);const S=null!=s?s:i;if("separator"===c)return r.createElement(p,{key:S},h);const w={},C=i===N.length-1;u?w.menu=u:d&&(w.overlay=d);let{href:E}=o;return e.length&&void 0!==v&&(E=`#/${e.join("/")}`),r.createElement(b,Object.assign({key:S},w,(0,l.Z)(o,{data:!0,aria:!0}),{className:g,dropdownProps:m,href:E,separator:C?"":n,onClick:f,prefixCls:O}),I(o,y,t,e,E))}))}else if(h){const e=(0,a.Z)(h).length;x=(0,a.Z)(h).map(((t,r)=>{if(!t)return t;const o=r===e-1;return(0,s.Tm)(t,{separator:o?"":n,key:r})}))}const P=i()(O,null==E?void 0:E.className,{[`${O}-rtl`]:"rtl"===C},u,d,R,M),A=Object.assign(Object.assign({},null==E?void 0:E.style),o);return T(r.createElement("nav",Object.assign({className:P,style:A},S),r.createElement("ol",null,x)))};T.Item=S,T.Separator=p;const R=T},3671:(e,t,n)=>{"use strict";n.d(t,{Te:()=>c,aG:()=>a,hU:()=>u,nx:()=>l});var r=n(7294),o=n(6159);const i=/^[\u4e00-\u9fa5]{2}$/,a=i.test.bind(i);function l(e){return"danger"===e?{danger:!0}:{type:e}}function s(e){return"string"==typeof e}function c(e){return"text"===e||"link"===e}function u(e,t){let n=!1;const i=[];return r.Children.forEach(e,(e=>{const t=typeof e,r="string"===t||"number"===t;if(n&&r){const t=i.length-1,n=i[t];i[t]=`${n}${e}`}else i.push(e);n=r})),r.Children.map(i,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&s(e.type)&&a(e.props.children)?(0,o.Tm)(e,{children:e.props.children.split("").join(n)}):s(e)?a(e)?r.createElement("span",null,e.split("").join(n)):r.createElement("span",null,e):(0,o.M2)(e)?r.createElement("span",null,e):e}(e,t)))}},4666:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>ue});var r=n(7294),o=n(3967),i=n.n(o),a=n(8423),l=n(2550),s=n(8979),c=n(3124),u=n(8866),d=n(8675),f=n(4173),p=n(7606),g=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{const{getPrefixCls:t,direction:n}=r.useContext(c.E_),{prefixCls:o,size:a,className:l}=e,s=g(e,["prefixCls","size","className"]),u=t("btn-group",o),[,,d]=(0,p.ZP)();let f="";switch(a){case"large":f="lg";break;case"small":f="sm"}const m=i()(u,{[`${u}-${f}`]:f,[`${u}-rtl`]:"rtl"===n},l,d);return r.createElement(h.Provider,{value:a},r.createElement("div",Object.assign({},s,{className:m})))};var v=n(3671);const b=(0,r.forwardRef)(((e,t)=>{const{className:n,style:o,children:a,prefixCls:l}=e,s=i()(`${l}-icon`,n);return r.createElement("span",{ref:t,className:s,style:o},a)})),y=b;var S=n(7085),w=n(5461);const C=(0,r.forwardRef)(((e,t)=>{let{prefixCls:n,className:o,style:a,iconClassName:l}=e;const s=i()(`${n}-loading-icon`,o);return r.createElement(y,{prefixCls:n,className:s,style:a,ref:t},r.createElement(S.Z,{className:l}))})),E=()=>({width:0,opacity:0,transform:"scale(0)"}),x=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),_=e=>{const{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e,l=!!n;return o?r.createElement(C,{prefixCls:t,className:i,style:a}):r.createElement(w.ZP,{visible:l,motionName:`${t}-loading-icon-motion`,motionLeave:l,removeOnLeave:!0,onAppearStart:E,onAppearActive:x,onEnterStart:E,onEnterActive:x,onLeaveStart:x,onLeaveActive:E},((e,n)=>{let{className:o,style:l}=e;return r.createElement(C,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),l),ref:n,iconClassName:o})}))};var O=n(7395),k=n(4747),$=n(5503),T=n(1939);const R=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),M=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,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},R(`${t}-primary`,o),R(`${t}-danger`,i)]}};var N=n(1734);const I=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return(0,$.TS)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},P=e=>{var t,n,r,o,i,a;const l=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,s=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,c=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,u=null!==(o=e.contentLineHeight)&&void 0!==o?o:(0,N.D)(l),d=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:(0,N.D)(s),f=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:(0,N.D)(c);return{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:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-l*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},A=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,O.bf)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,k.Qy)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},L=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),j=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),D=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),B=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),z=(e,t,n,r,o,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},L(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),Z=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},B(e))}),F=e=>Object.assign({},Z(e)),H=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),W=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),L(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),z(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},L(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),z(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Z(e))}),U=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),L(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),z(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},L(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),z(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Z(e))}),V=e=>Object.assign(Object.assign({},W(e)),{borderStyle:"dashed"}),q=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},L(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),H(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},L(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),H(e))}),X=e=>Object.assign(Object.assign(Object.assign({},L(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),H(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},H(e)),L(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBg}))}),G=e=>{const{componentCls:t}=e;return{[`${t}-default`]:W(e),[`${t}-primary`]:U(e),[`${t}-dashed`]:V(e),[`${t}-link`]:q(e),[`${t}-text`]:X(e),[`${t}-ghost`]:z(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},Y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:l,iconCls:s,buttonPaddingVertical:c}=e,u=`${n}-icon-only`;return[{[`${t}`]:{fontSize:o,lineHeight:i,height:r,padding:`${(0,O.bf)(c)} ${(0,O.bf)(l)}`,borderRadius:a,[`&${u}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:j(e)},{[`${n}${n}-round${t}`]:D(e)}]},K=e=>{const t=(0,$.TS)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return Y(t,e.componentCls)},Q=e=>{const t=(0,$.TS)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Y(t,`${e.componentCls}-sm`)},J=e=>{const t=(0,$.TS)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Y(t,`${e.componentCls}-lg`)},ee=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},te=(0,T.I$)("Button",(e=>{const t=I(e);return[A(t),K(t),Q(t),J(t),ee(t),G(t),M(t)]}),P,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var ne=n(4184);function re(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 oe(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},re(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 ie=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${(0,O.bf)(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,O.bf)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},ae=(0,T.bk)(["Button","compact"],(e=>{const t=I(e);return[(0,ne.c)(t),oe(t),ie(t)]}),P);var le=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{var n,o;const{loading:p=!1,prefixCls:g,type:m="default",danger:b,shape:S="default",size:w,styles:C,disabled:E,className:x,rootClassName:O,children:k,icon:$,ghost:T=!1,block:R=!1,htmlType:M="button",classNames:N,style:I={}}=e,P=le(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:A,autoInsertSpaceInButton:L,direction:j,button:D}=(0,r.useContext)(c.E_),B=A("btn",g),[z,Z,F]=te(B),H=(0,r.useContext)(u.Z),W=null!=E?E:H,U=(0,r.useContext)(h),V=(0,r.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}}(p)),[p]),[q,X]=(0,r.useState)(V.loading),[G,Y]=(0,r.useState)(!1),K=(0,r.createRef)(),Q=(0,l.sQ)(t,K),J=1===r.Children.count(k)&&!$&&!(0,v.Te)(m);(0,r.useEffect)((()=>{let e=null;return V.delay>0?e=setTimeout((()=>{e=null,X(!0)}),V.delay):X(V.loading),function(){e&&(clearTimeout(e),e=null)}}),[V]),(0,r.useEffect)((()=>{if(!Q||!Q.current||!1===L)return;const e=Q.current.textContent;J&&(0,v.aG)(e)?G||Y(!0):G&&Y(!1)}),[Q]);const ee=t=>{const{onClick:n}=e;q||W?t.preventDefault():null==n||n(t)};const ne=!1!==L,{compactSize:re,compactItemClassnames:oe}=(0,f.ri)(B,j),ie={large:"lg",small:"sm",middle:void 0},se=(0,d.Z)((e=>{var t,n;return null!==(n=null!==(t=null!=w?w:re)&&void 0!==t?t:U)&&void 0!==n?n:e})),ce=se&&ie[se]||"",ue=q?"loading":$,de=(0,a.Z)(P,["navigate"]),fe=i()(B,Z,F,{[`${B}-${S}`]:"default"!==S&&S,[`${B}-${m}`]:m,[`${B}-${ce}`]:ce,[`${B}-icon-only`]:!k&&0!==k&&!!ue,[`${B}-background-ghost`]:T&&!(0,v.Te)(m),[`${B}-loading`]:q,[`${B}-two-chinese-chars`]:G&&ne&&!q,[`${B}-block`]:R,[`${B}-dangerous`]:!!b,[`${B}-rtl`]:"rtl"===j},oe,x,O,null==D?void 0:D.className),pe=Object.assign(Object.assign({},null==D?void 0:D.style),I),ge=i()(null==N?void 0:N.icon,null===(n=null==D?void 0:D.classNames)||void 0===n?void 0:n.icon),he=Object.assign(Object.assign({},(null==C?void 0:C.icon)||{}),(null===(o=null==D?void 0:D.styles)||void 0===o?void 0:o.icon)||{}),me=$&&!q?r.createElement(y,{prefixCls:B,className:ge,style:he},$):r.createElement(_,{existIcon:!!$,prefixCls:B,loading:!!q}),ve=k||0===k?(0,v.hU)(k,J&&ne):null;if(void 0!==de.href)return z(r.createElement("a",Object.assign({},de,{className:i()(fe,{[`${B}-disabled`]:W}),href:W?void 0:de.href,style:pe,onClick:ee,ref:Q,tabIndex:W?-1:0}),me,ve));let be=r.createElement("button",Object.assign({},P,{type:M,className:fe,style:pe,onClick:ee,disabled:W,ref:Q}),me,ve,!!oe&&r.createElement(ae,{key:"compact",prefixCls:B}));return(0,v.Te)(m)||(be=r.createElement(s.Z,{component:"Button",disabled:!!q},be)),z(be)},ce=(0,r.forwardRef)(se);ce.Group=m,ce.__ANT_BUTTON=!0;const ue=ce},6256:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(3967),o=n.n(r),i=n(7294),a=n(3124),l=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{const{prefixCls:t,className:n,avatar:r,title:s,description:c}=e,u=l(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=i.useContext(a.E_),f=d("card",t),p=o()(`${f}-meta`,n),g=r?i.createElement("div",{className:`${f}-meta-avatar`},r):null,h=s?i.createElement("div",{className:`${f}-meta-title`},s):null,m=c?i.createElement("div",{className:`${f}-meta-description`},c):null,v=h||m?i.createElement("div",{className:`${f}-meta-detail`},h,m):null;return i.createElement("div",Object.assign({},u,{className:p}),g,v)}},5884:(e,t,n)=>{"use strict";n.d(t,{Z:()=>se});var r=n(7294),o=n(3967),i=n.n(o),a=n(8423),l=n(3124),s=n(8675);const c=e=>{const{prefixCls:t,className:n,style:o,size:a,shape:l}=e,s=i()({[`${t}-lg`]:"large"===a,[`${t}-sm`]:"small"===a}),c=i()({[`${t}-circle`]:"circle"===l,[`${t}-square`]:"square"===l,[`${t}-round`]:"round"===l}),u=r.useMemo((()=>"number"==typeof a?{width:a,height:a,lineHeight:`${a}px`}:{}),[a]);return r.createElement("span",{className:i()(t,s,c,n),style:Object.assign(Object.assign({},u),o)})};var u=n(7395),d=n(1939),f=n(5503);const p=new u.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),g=e=>({height:e,lineHeight:(0,u.bf)(e)}),h=e=>Object.assign({width:e},g(e)),m=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:p,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),v=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},g(e)),b=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},h(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},h(o)),[`${t}${t}-sm`]:Object.assign({},h(i))}},y=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},v(t,l)),[`${r}-lg`]:Object.assign({},v(o,l)),[`${r}-sm`]:Object.assign({},v(i,l))}},S=e=>Object.assign({width:e},g(e)),w=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},S(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},S(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},C=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},E=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},g(e)),x=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(r).mul(2).equal(),minWidth:l(r).mul(2).equal()},E(r,l))},C(e,r,n)),{[`${n}-lg`]:Object.assign({},E(o,l))}),C(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},E(i,l))}),C(e,i,`${n}-sm`))},_=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:p,borderRadius:g,titleHeight:v,blockRadius:S,paragraphLiHeight:C,controlHeightXS:E,paragraphMarginTop:_}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},h(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},h(c)),[`${n}-sm`]:Object.assign({},h(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:v,background:d,borderRadius:S,[`+ ${o}`]:{marginBlockStart:u}},[`${o}`]:{padding:0,"> li":{width:"100%",height:C,listStyle:"none",background:d,borderRadius:S,"+ li":{marginBlockStart:E}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:g}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${o}`]:{marginBlockStart:_}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},x(e)),b(e)),y(e)),w(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${a},\n ${l}\n `]:Object.assign({},m(e))}}},O=(0,d.I$)("Skeleton",(e=>{const{componentCls:t,calc:n}=e,r=(0,f.TS)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[_(r)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),k=e=>{const{prefixCls:t,className:n,rootClassName:o,active:s,shape:u="circle",size:d="default"}=e,{getPrefixCls:f}=r.useContext(l.E_),p=f("skeleton",t),[g,h,m]=O(p),v=(0,a.Z)(e,["prefixCls","className"]),b=i()(p,`${p}-element`,{[`${p}-active`]:s},n,o,h,m);return g(r.createElement("div",{className:b},r.createElement(c,Object.assign({prefixCls:`${p}-avatar`,shape:u,size:d},v))))},$=e=>{const{prefixCls:t,className:n,rootClassName:o,active:s,block:u=!1,size:d="default"}=e,{getPrefixCls:f}=r.useContext(l.E_),p=f("skeleton",t),[g,h,m]=O(p),v=(0,a.Z)(e,["prefixCls"]),b=i()(p,`${p}-element`,{[`${p}-active`]:s,[`${p}-block`]:u},n,o,h,m);return g(r.createElement("div",{className:b},r.createElement(c,Object.assign({prefixCls:`${p}-button`,size:d},v))))},T=e=>{const{prefixCls:t,className:n,rootClassName:o,style:a,active:s}=e,{getPrefixCls:c}=r.useContext(l.E_),u=c("skeleton",t),[d,f,p]=O(u),g=i()(u,`${u}-element`,{[`${u}-active`]:s},n,o,f,p);return d(r.createElement("div",{className:g},r.createElement("div",{className:i()(`${u}-image`,n),style:a},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},r.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${u}-image-path`})))))},R=e=>{const{prefixCls:t,className:n,rootClassName:o,active:s,block:u,size:d="default"}=e,{getPrefixCls:f}=r.useContext(l.E_),p=f("skeleton",t),[g,h,m]=O(p),v=(0,a.Z)(e,["prefixCls"]),b=i()(p,`${p}-element`,{[`${p}-active`]:s,[`${p}-block`]:u},n,o,h,m);return g(r.createElement("div",{className:b},r.createElement(c,Object.assign({prefixCls:`${p}-input`,size:d},v))))};var M=n(7462);const N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};var I=n(76),P=function(e,t){return r.createElement(I.Z,(0,M.Z)({},e,{ref:t,icon:N}))};const A=r.forwardRef(P),L=e=>{const{prefixCls:t,className:n,rootClassName:o,style:a,active:s,children:c}=e,{getPrefixCls:u}=r.useContext(l.E_),d=u("skeleton",t),[f,p,g]=O(d),h=i()(d,`${d}-element`,{[`${d}-active`]:s},p,n,o,g),m=null!=c?c:r.createElement(A,null);return f(r.createElement("div",{className:h},r.createElement("div",{className:i()(`${d}-image`,n),style:a},m)))};var j=n(3433);const D=e=>{const t=t=>{const{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:o,style:a,rows:l}=e,s=(0,j.Z)(Array(l)).map(((e,n)=>r.createElement("li",{key:n,style:{width:t(n)}})));return r.createElement("ul",{className:i()(n,o),style:a},s)},B=e=>{let{prefixCls:t,className:n,width:o,style:a}=e;return r.createElement("h3",{className:i()(t,n),style:Object.assign({width:o},a)})};function z(e){return e&&"object"==typeof e?e:{}}const Z=e=>{const{prefixCls:t,loading:n,className:o,rootClassName:a,style:s,children:u,avatar:d=!1,title:f=!0,paragraph:p=!0,active:g,round:h}=e,{getPrefixCls:m,direction:v,skeleton:b}=r.useContext(l.E_),y=m("skeleton",t),[S,w,C]=O(y);if(n||!("loading"in e)){const e=!!d,t=!!f,n=!!p;let l,u;if(e){const e=Object.assign(Object.assign({prefixCls:`${y}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),z(d));l=r.createElement("div",{className:`${y}-header`},r.createElement(c,Object.assign({},e)))}if(t||n){let o,i;if(t){const t=Object.assign(Object.assign({prefixCls:`${y}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),z(f));o=r.createElement(B,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${y}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),z(p));i=r.createElement(D,Object.assign({},n))}u=r.createElement("div",{className:`${y}-content`},o,i)}const m=i()(y,{[`${y}-with-avatar`]:e,[`${y}-active`]:g,[`${y}-rtl`]:"rtl"===v,[`${y}-round`]:h},null==b?void 0:b.className,o,a,w,C);return S(r.createElement("div",{className:m,style:Object.assign(Object.assign({},null==b?void 0:b.style),s)},l,u))}return void 0!==u?u:null};Z.Button=$,Z.Avatar=k,Z.Input=R,Z.Image=T,Z.Node=L;const F=Z;var H=n(1006),W=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{var{prefixCls:t,className:n,hoverable:o=!0}=e,a=W(e,["prefixCls","className","hoverable"]);const{getPrefixCls:s}=r.useContext(l.E_),c=s("card",t),u=i()(`${c}-grid`,n,{[`${c}-grid-hoverable`]:o});return r.createElement("div",Object.assign({},a,{className:u}))};var V=n(4747);const q=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${(0,u.bf)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,u.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,u.bf)(e.borderRadiusLG)} ${(0,u.bf)(e.borderRadiusLG)} 0 0`},(0,V.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},V.vS),{[`\n > ${n}-typography,\n > ${n}-typography-edit-content\n `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,u.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},X=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`\n ${(0,u.bf)(o)} 0 0 0 ${n},\n 0 ${(0,u.bf)(o)} 0 0 ${n},\n ${(0,u.bf)(o)} ${(0,u.bf)(o)} 0 0 ${n},\n ${(0,u.bf)(o)} 0 0 0 ${n} inset,\n 0 ${(0,u.bf)(o)} 0 0 ${n} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},G=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${(0,u.bf)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,u.bf)(e.borderRadiusLG)} ${(0,u.bf)(e.borderRadiusLG)}`},(0,V.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,u.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:(0,u.bf)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,u.bf)(e.lineWidth)} ${e.lineType} ${i}`}}})},Y=e=>Object.assign(Object.assign({margin:`${(0,u.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,V.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},V.vS),"&-description":{color:e.colorTextDescription}}),K=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,u.bf)(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,u.bf)(e.padding)} ${(0,u.bf)(n)}`}}},Q=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},J=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},(0,V.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:q(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${(0,u.bf)(e.borderRadiusLG)} ${(0,u.bf)(e.borderRadiusLG)}`},(0,V.dF)()),[`${n}-grid`]:X(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${(0,u.bf)(e.borderRadiusLG)} ${(0,u.bf)(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:G(e),[`${n}-meta`]:Y(e)}),[`${n}-bordered`]:{border:`${(0,u.bf)(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${(0,u.bf)(e.borderRadiusLG)} ${(0,u.bf)(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:K(e),[`${n}-loading`]:Q(e),[`${n}-rtl`]:{direction:"rtl"}}},ee=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,u.bf)(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},te=(0,d.I$)("Card",(e=>{const t=(0,f.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[J(t),ee(t)]}),(e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})));var ne=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{const{prefixCls:t,actions:n=[]}=e;return r.createElement("ul",{className:`${t}-actions`},n.map(((e,t)=>{const o=`action-${t}`;return r.createElement("li",{style:{width:100/n.length+"%"},key:o},r.createElement("span",null,e))})))},oe=r.forwardRef(((e,t)=>{const{prefixCls:n,className:o,rootClassName:c,style:u,extra:d,headStyle:f={},bodyStyle:p={},title:g,loading:h,bordered:m=!0,size:v,type:b,cover:y,actions:S,tabList:w,children:C,activeTabKey:E,defaultActiveTabKey:x,tabBarExtraContent:_,hoverable:O,tabProps:k={}}=e,$=ne(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:T,direction:R,card:M}=r.useContext(l.E_),N=r.useMemo((()=>{let e=!1;return r.Children.forEach(C,(t=>{t&&t.type&&t.type===U&&(e=!0)})),e}),[C]),I=T("card",n),[P,A,L]=te(I),j=r.createElement(F,{loading:!0,active:!0,paragraph:{rows:4},title:!1},C),D=void 0!==E,B=Object.assign(Object.assign({},k),{[D?"activeKey":"defaultActiveKey"]:D?E:x,tabBarExtraContent:_});let z;const Z=(0,s.Z)(v),W=Z&&"default"!==Z?Z:"large",V=w?r.createElement(H.Z,Object.assign({size:W},B,{className:`${I}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:w.map((e=>{var{tab:t}=e,n=ne(e,["tab"]);return Object.assign({label:t},n)}))})):null;(g||d||V)&&(z=r.createElement("div",{className:`${I}-head`,style:f},r.createElement("div",{className:`${I}-head-wrapper`},g&&r.createElement("div",{className:`${I}-head-title`},g),d&&r.createElement("div",{className:`${I}-extra`},d)),V));const q=y?r.createElement("div",{className:`${I}-cover`},y):null,X=r.createElement("div",{className:`${I}-body`,style:p},h?j:C),G=S&&S.length?r.createElement(re,{prefixCls:I,actions:S}):null,Y=(0,a.Z)($,["onTabChange"]),K=i()(I,null==M?void 0:M.className,{[`${I}-loading`]:h,[`${I}-bordered`]:m,[`${I}-hoverable`]:O,[`${I}-contain-grid`]:N,[`${I}-contain-tabs`]:w&&w.length,[`${I}-${Z}`]:Z,[`${I}-type-${b}`]:!!b,[`${I}-rtl`]:"rtl"===R},o,c,A,L),Q=Object.assign(Object.assign({},null==M?void 0:M.style),u);return P(r.createElement("div",Object.assign({ref:t},Y,{className:K,style:Q}),z,q,X,G))})),ie=oe;var ae=n(6256);const le=ie;le.Grid=U,le.Meta=ae.Z;const se=le},8764:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(7294),o=n(3967),i=n.n(o),a=n(7462),l=n(1413),s=n(4942),c=n(9439),u=n(4925),d=n(1770),f=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],p=(0,r.forwardRef)((function(e,t){var n,o=e.prefixCls,p=void 0===o?"rc-checkbox":o,g=e.className,h=e.style,m=e.checked,v=e.disabled,b=e.defaultChecked,y=void 0!==b&&b,S=e.type,w=void 0===S?"checkbox":S,C=e.title,E=e.onChange,x=(0,u.Z)(e,f),_=(0,r.useRef)(null),O=(0,d.Z)(y,{value:m}),k=(0,c.Z)(O,2),$=k[0],T=k[1];(0,r.useImperativeHandle)(t,(function(){return{focus:function(){var e;null===(e=_.current)||void 0===e||e.focus()},blur:function(){var e;null===(e=_.current)||void 0===e||e.blur()},input:_.current}}));var R=i()(p,g,(n={},(0,s.Z)(n,"".concat(p,"-checked"),$),(0,s.Z)(n,"".concat(p,"-disabled"),v),n));return r.createElement("span",{className:R,title:C,style:h},r.createElement("input",(0,a.Z)({},x,{className:"".concat(p,"-input"),ref:_,onChange:function(t){v||("checked"in e||T(t.target.checked),null==E||E({target:(0,l.Z)((0,l.Z)({},e),{},{type:w,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:v,checked:!!$,type:w})),r.createElement("span",{className:"".concat(p,"-inner")}))}));const g=p;var h=n(8979),m=n(7415),v=n(3124),b=n(8866),y=n(5792),S=n(5702);const w=r.createContext(null);var C=n(7395),E=n(4747),x=n(5503),_=n(1939);const O=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,E.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,E.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,E.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,E.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${(0,C.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${(0,C.bf)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[`\n ${n}:not(${n}-disabled),\n ${t}:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`\n ${n}-checked:not(${n}-disabled),\n ${t}-checked:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function k(e,t){const n=(0,x.TS)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[O(n)]}const $=(0,_.I$)("Checkbox",((e,t)=>{let{prefixCls:n}=t;return[k(n,e)]}));var T=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{var n;const{prefixCls:o,className:a,rootClassName:l,children:s,indeterminate:c=!1,style:u,onMouseEnter:d,onMouseLeave:f,skipGroup:p=!1,disabled:C}=e,E=T(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:x,direction:_,checkbox:O}=r.useContext(v.E_),k=r.useContext(w),{isFormItemInput:R}=r.useContext(S.aM),M=r.useContext(b.Z),N=null!==(n=(null==k?void 0:k.disabled)||C)&&void 0!==n?n:M,I=r.useRef(E.value);r.useEffect((()=>{null==k||k.registerValue(E.value)}),[]),r.useEffect((()=>{if(!p)return E.value!==I.current&&(null==k||k.cancelValue(I.current),null==k||k.registerValue(E.value),I.current=E.value),()=>null==k?void 0:k.cancelValue(E.value)}),[E.value]);const P=x("checkbox",o),A=(0,y.Z)(P),[L,j,D]=$(P,A),B=Object.assign({},E);k&&!p&&(B.onChange=function(){E.onChange&&E.onChange.apply(E,arguments),k.toggleOption&&k.toggleOption({label:s,value:E.value})},B.name=k.name,B.checked=k.value.includes(E.value));const z=i()(`${P}-wrapper`,{[`${P}-rtl`]:"rtl"===_,[`${P}-wrapper-checked`]:B.checked,[`${P}-wrapper-disabled`]:N,[`${P}-wrapper-in-form-item`]:R},null==O?void 0:O.className,a,l,D,A,j),Z=i()({[`${P}-indeterminate`]:c},m.A,j),F=c?"mixed":void 0;return L(r.createElement(h.Z,{component:"Checkbox",disabled:N},r.createElement("label",{className:z,style:Object.assign(Object.assign({},null==O?void 0:O.style),u),onMouseEnter:d,onMouseLeave:f},r.createElement(g,Object.assign({"aria-checked":F},B,{prefixCls:P,className:Z,disabled:N,ref:t})),void 0!==s&&r.createElement("span",null,s))))};const M=r.forwardRef(R);var N=n(3433),I=n(8423),P=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{const{defaultValue:n,children:o,options:a=[],prefixCls:l,className:s,rootClassName:c,style:u,onChange:d}=e,f=P(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:p,direction:g}=r.useContext(v.E_),[h,m]=r.useState(f.value||n||[]),[b,S]=r.useState([]);r.useEffect((()=>{"value"in f&&m(f.value||[])}),[f.value]);const C=r.useMemo((()=>a.map((e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e))),[a]),E=p("checkbox",l),x=`${E}-group`,_=(0,y.Z)(E),[O,k,T]=$(E,_),R=(0,I.Z)(f,["value","disabled"]),A=a.length?C.map((e=>r.createElement(M,{prefixCls:E,key:e.value.toString(),disabled:"disabled"in e?e.disabled:f.disabled,value:e.value,checked:h.includes(e.value),onChange:e.onChange,className:`${x}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label))):o,L={toggleOption:e=>{const t=h.indexOf(e.value),n=(0,N.Z)(h);-1===t?n.push(e.value):n.splice(t,1),"value"in f||m(n),null==d||d(n.filter((e=>b.includes(e))).sort(((e,t)=>C.findIndex((t=>t.value===e))-C.findIndex((e=>e.value===t)))))},value:h,disabled:f.disabled,name:f.name,registerValue:e=>{S((t=>[].concat((0,N.Z)(t),[e])))},cancelValue:e=>{S((t=>t.filter((t=>t!==e))))}},j=i()(x,{[`${x}-rtl`]:"rtl"===g},s,c,T,_,k);return O(r.createElement("div",Object.assign({className:j,style:u},R,{ref:t}),r.createElement(w.Provider,{value:L},A)))})),L=A,j=M;j.Group=L,j.__ANT_CHECKBOX=!0;const D=j},8866:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,n:()=>i});var r=n(7294);const o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)},a=o},7647:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,q:()=>i});var r=n(7294);const o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)},a=o},3124:(e,t,n)=>{"use strict";n.d(t,{E_:()=>i,oR:()=>o});var r=n(7294);const o="anticon",i=r.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},5792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7606);const o=e=>{const[,,,,t]=(0,r.ZP)();return t?`${e}-css-var`:""}},8675:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),o=n(7647);const i=e=>{const t=r.useContext(o.Z);return r.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])}},6854:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>q,w6:()=>W});var r=n(7294),o=n.t(r,2),i=n(7395),a=n(3017),l=n(6982),s=n(8880),c=n(7288);const u=(0,r.createContext)(void 0);var d=n(3008),f=n(6745);const p=e=>{const{locale:t={},children:n,_ANT_MARK__:o}=e;r.useEffect((()=>(0,d.f)(t&&t.Modal)),[t]);const i=r.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return r.createElement(f.Z.Provider,{value:i},n)};var g=n(9375),h=n(3083),m=n(2790),v=n(3124),b=n(1242),y=n(274),S=n(8924),w=n(4958);const C=`-ant-${Date.now()}-${Math.random()}`;function E(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new y.C(e),i=(0,b.R_)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new y.C(t.primaryColor),i=(0,b.R_)(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new y.C(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);(0,S.Z)()&&(0,w.hq)(n,`${C}-dynamic-theme`)}var x=n(8866),_=n(7647);const O=function(){return{componentDisabled:(0,r.useContext)(x.Z),componentSize:(0,r.useContext)(_.Z)}};var k=n(1881);const $=Object.assign({},o),{useId:T}=$,R=void 0===T?()=>"":T;var M=n(5461),N=n(7606);function I(e){const{children:t}=e,[,n]=(0,N.ZP)(),{motion:o}=n,i=r.useRef(!1);return i.current=i.current||!1===o,i.current?r.createElement(M.zt,{motion:o},t):t}const P=()=>null;var A=n(3269),L=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({getPrefixCls:(e,t)=>t||(e?`${F()}-${e}`:F()),getIconPrefixCls:H,getRootPrefixCls:()=>D||F(),getTheme:()=>z,holderRender:Z}),U=e=>{const{children:t,csp:n,autoInsertSpaceInButton:o,alert:d,anchor:f,form:b,locale:y,componentSize:S,direction:w,space:C,virtual:E,dropdownMatchSelectWidth:O,popupMatchSelectWidth:$,popupOverflow:T,legacyLocale:M,parentContext:N,iconPrefixCls:D,theme:B,componentDisabled:z,segmented:Z,statistic:F,spin:H,calendar:W,carousel:U,cascader:V,collapse:q,typography:X,checkbox:G,descriptions:Y,divider:K,drawer:Q,skeleton:J,steps:ee,image:te,layout:ne,list:re,mentions:oe,modal:ie,progress:ae,result:le,slider:se,breadcrumb:ce,menu:ue,pagination:de,input:fe,empty:pe,badge:ge,radio:he,rate:me,switch:ve,transfer:be,avatar:ye,message:Se,tag:we,table:Ce,card:Ee,tabs:xe,timeline:_e,timePicker:Oe,upload:ke,notification:$e,tree:Te,colorPicker:Re,datePicker:Me,rangePicker:Ne,flex:Ie,wave:Pe,dropdown:Ae,warning:Le}=e,je=r.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||N.getPrefixCls("");return t?`${o}-${t}`:o}),[N.getPrefixCls,e.prefixCls]),De=D||N.iconPrefixCls||v.oR,Be=n||N.csp;(0,A.Z)(De,Be);const ze=function(e,t){(0,c.ln)("ConfigProvider");const n=e||{},r=!1!==n.inherit&&t?t:h.u_,o=R();return(0,l.Z)((()=>{var i,a;if(!e)return t;const l=Object.assign({},r.components);Object.keys(e.components||{}).forEach((t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])}));const s=`css-var-${o.replace(/:/g,"")}`,c=(null!==(i=n.cssVar)&&void 0!==i?i:r.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:"ant"},"object"==typeof r.cssVar?r.cssVar:{}),"object"==typeof n.cssVar?n.cssVar:{}),{key:"object"==typeof n.cssVar&&(null===(a=n.cssVar)||void 0===a?void 0:a.key)||s});return Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:l,cssVar:c})}),[n,r],((e,t)=>e.some(((e,n)=>{const r=t[n];return!(0,k.Z)(e,r,!0)}))))}(B,N.theme);const Ze={csp:Be,autoInsertSpaceInButton:o,alert:d,anchor:f,locale:y||M,direction:w,space:C,virtual:E,popupMatchSelectWidth:null!=$?$:O,popupOverflow:T,getPrefixCls:je,iconPrefixCls:De,theme:ze,segmented:Z,statistic:F,spin:H,calendar:W,carousel:U,cascader:V,collapse:q,typography:X,checkbox:G,descriptions:Y,divider:K,drawer:Q,skeleton:J,steps:ee,image:te,input:fe,layout:ne,list:re,mentions:oe,modal:ie,progress:ae,result:le,slider:se,breadcrumb:ce,menu:ue,pagination:de,empty:pe,badge:ge,radio:he,rate:me,switch:ve,transfer:be,avatar:ye,message:Se,tag:we,table:Ce,card:Ee,tabs:xe,timeline:_e,timePicker:Oe,upload:ke,notification:$e,tree:Te,colorPicker:Re,datePicker:Me,rangePicker:Ne,flex:Ie,wave:Pe,dropdown:Ae,warning:Le},Fe=Object.assign({},N);Object.keys(Ze).forEach((e=>{void 0!==Ze[e]&&(Fe[e]=Ze[e])})),j.forEach((t=>{const n=e[t];n&&(Fe[t]=n)}));const He=(0,l.Z)((()=>Fe),Fe,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),We=r.useMemo((()=>({prefixCls:De,csp:Be})),[De,Be]);let Ue=r.createElement(r.Fragment,null,r.createElement(P,{dropdownMatchSelectWidth:O}),t);const Ve=r.useMemo((()=>{var e,t,n,r;return(0,s.T)((null===(e=g.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=He.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=He.form)||void 0===r?void 0:r.validateMessages)||{},(null==b?void 0:b.validateMessages)||{})}),[He,null==b?void 0:b.validateMessages]);Object.keys(Ve).length>0&&(Ue=r.createElement(u.Provider,{value:Ve},Ue)),y&&(Ue=r.createElement(p,{locale:y,_ANT_MARK__:"internalMark"},Ue)),(De||Be)&&(Ue=r.createElement(a.Z.Provider,{value:We},Ue)),S&&(Ue=r.createElement(_.q,{size:S},Ue)),Ue=r.createElement(I,null,Ue);const qe=r.useMemo((()=>{const e=ze||{},{algorithm:t,token:n,components:r,cssVar:o}=e,a=L(e,["algorithm","token","components","cssVar"]),l=t&&(!Array.isArray(t)||t.length>0)?(0,i.jG)(t):h.uH,s={};Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=l:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,i.jG)(r.algorithm)),delete r.algorithm),s[t]=r}));const c=Object.assign(Object.assign({},m.Z),n);return Object.assign(Object.assign({},a),{theme:l,token:c,components:s,override:Object.assign({override:c},s),cssVar:o})}),[ze]);return B&&(Ue=r.createElement(h.Mj.Provider,{value:qe},Ue)),He.warning&&(Ue=r.createElement(c.G8.Provider,{value:He.warning},Ue)),void 0!==z&&(Ue=r.createElement(x.n,{disabled:z},Ue)),r.createElement(v.E_.Provider,{value:He},Ue)},V=e=>{const t=r.useContext(v.E_),n=r.useContext(f.Z);return r.createElement(U,Object.assign({parentContext:t,legacyLocale:n},e))};V.ConfigContext=v.E_,V.SizeContext=_.Z,V.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(D=t),void 0!==n&&(B=n),"holderRender"in e&&(Z=o),r&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?z=r:E(F(),r))},V.useConfig=O,Object.defineProperty(V,"SizeContext",{get:()=>_.Z});const q=V},5460:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(7294),o=n(3967),i=n.n(o),a=n(3124),l=n(7395),s=n(4747),c=n(1939),u=n(5503);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,s.Wf)(e)),{borderBlockStart:`${(0,l.bf)(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,l.bf)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,l.bf)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,l.bf)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,l.bf)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},f=(0,c.I$)("Divider",(e=>{const t=(0,u.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS})),{unitless:{orientationMargin:!0}});var p=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{const{getPrefixCls:t,direction:n,divider:o}=r.useContext(a.E_),{prefixCls:l,type:s="horizontal",orientation:c="center",orientationMargin:u,className:d,rootClassName:g,children:h,dashed:m,plain:v,style:b}=e,y=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),S=t("divider",l),[w,C,E]=f(S),x=c.length>0?`-${c}`:c,_=!!h,O="left"===c&&null!=u,k="right"===c&&null!=u,$=i()(S,null==o?void 0:o.className,C,E,`${S}-${s}`,{[`${S}-with-text`]:_,[`${S}-with-text${x}`]:_,[`${S}-dashed`]:!!m,[`${S}-plain`]:!!v,[`${S}-rtl`]:"rtl"===n,[`${S}-no-default-orientation-margin-left`]:O,[`${S}-no-default-orientation-margin-right`]:k},d,g),T=r.useMemo((()=>"number"==typeof u?u:/^\d+$/.test(u)?Number(u):u),[u]),R=Object.assign(Object.assign({},O&&{marginLeft:T}),k&&{marginRight:T});return w(r.createElement("div",Object.assign({className:$,style:Object.assign(Object.assign({},null==o?void 0:o.style),b)},y,{role:"separator"}),h&&"vertical"!==s&&r.createElement("span",{className:`${S}-inner-text`,style:R},h)))}},2649:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ve});var r=n(7294),o=n(8812),i=n(3967),a=n.n(i),l=n(26),s=n(6790),c=n(1770),u=n(8423),d=n(7263),f=n(636),p=n(8745),g=n(6159),h=n(7288),m=n(3945),v=n(3124),b=n(5337);const y=r.createContext({});(()=>{let e=0})();var S=n(4545),w=n(3603),C=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{const{prefixCls:t,className:n,dashed:o}=e,i=C(e,["prefixCls","className","dashed"]),{getPrefixCls:l}=r.useContext(v.E_),s=l("menu",t),c=a()({[`${s}-item-divider-dashed`]:!!o},n);return r.createElement(b.iz,Object.assign({className:c},i))};var x=n(344),_=n(3807);const O=(0,r.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),k=e=>{var t;const{className:n,children:o,icon:i,title:l,danger:s}=e,{prefixCls:c,firstLevel:d,direction:f,disableMenuItemTitleTooltip:p,inlineCollapsed:h}=r.useContext(O),{siderCollapsed:m}=r.useContext(y);let v=l;void 0===l?v=d?o:"":!1===l&&(v="");const S={title:v};m||h||(S.title=null,S.open=!1);const w=(0,x.Z)(o).length;let C=r.createElement(b.ck,Object.assign({},(0,u.Z)(e,["title","icon","danger"]),{className:a()({[`${c}-item-danger`]:s,[`${c}-item-only-child`]:1===(i?w+1:w)},n),title:"string"==typeof l?l:void 0}),(0,g.Tm)(i,{className:a()((0,g.l$)(i)?null===(t=i.props)||void 0===t?void 0:t.className:"",`${c}-item-icon`)}),(e=>{const t=r.createElement("span",{className:`${c}-title-content`},o);return(!i||(0,g.l$)(o)&&"span"===o.type)&&o&&e&&d&&"string"==typeof o?r.createElement("div",{className:`${c}-inline-collapsed-noicon`},o.charAt(0)):t})(h));return p||(C=r.createElement(_.Z,Object.assign({},S,{placement:"rtl"===f?"left":"right",overlayClassName:`${c}-inline-collapsed-tooltip`}),C)),C},$=e=>{var t;const{popupClassName:n,icon:o,title:i,theme:l}=e,s=r.useContext(O),{prefixCls:c,inlineCollapsed:f,theme:p}=s,h=(0,b.Xl)();let m;if(o){const e=(0,g.l$)(i)&&"span"===i.type;m=r.createElement(r.Fragment,null,(0,g.Tm)(o,{className:a()((0,g.l$)(o)?null===(t=o.props)||void 0===t?void 0:t.className:"",`${c}-item-icon`)}),e?i:r.createElement("span",{className:`${c}-title-content`},i))}else m=f&&!h.length&&i&&"string"==typeof i?r.createElement("div",{className:`${c}-inline-collapsed-noicon`},i.charAt(0)):r.createElement("span",{className:`${c}-title-content`},i);const v=r.useMemo((()=>Object.assign(Object.assign({},s),{firstLevel:!1})),[s]),[y]=(0,d.Cn)("Menu");return r.createElement(O.Provider,{value:v},r.createElement(b.Wd,Object.assign({},(0,u.Z)(e,["icon"]),{title:m,popupClassName:a()(c,n,`${c}-${l||p}`),popupStyle:{zIndex:y}})))};var T=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{if(e&&"object"==typeof e){const n=e,{label:o,children:i,key:a,type:l}=n,s=T(n,["label","children","key","type"]),c=null!=a?a:`tmp-${t}`;return i||"group"===l?"group"===l?r.createElement(b.BW,Object.assign({key:c},s,{title:o}),R(i)):r.createElement($,Object.assign({key:c},s,{title:o}),R(i)):"divider"===l?r.createElement(E,Object.assign({key:c},s)):r.createElement(k,Object.assign({key:c},s),o)}return null})).filter((e=>e))}function M(e){return r.useMemo((()=>e?R(e):e),[e])}var N=n(4173),I=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{const{children:n}=e,o=I(e,["children"]),i=r.useContext(P),a=r.useMemo((()=>Object.assign(Object.assign({},i),o)),[i,o.prefixCls,o.mode,o.selectable,o.rootClassName]),l=(0,s.t4)(n),c=(0,s.x1)(t,l?n.ref:null);return r.createElement(P.Provider,{value:a},r.createElement(N.BR,null,l?r.cloneElement(n,{ref:c}):n))})),L=P;var j=n(7395),D=n(274),B=n(4747);const z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}});var Z=n(7771),F=n(438),H=n(1939),W=n(5503);const U=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${(0,j.bf)(i)} ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},V=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,j.bf)(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,j.bf)(n)})`}}}}},q=e=>Object.assign({},(0,B.oN)(e)),X=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:l,itemSelectedBg:s,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:d,motionDurationSlow:f,motionEaseInOut:p,motionEaseOut:g,itemPaddingInline:h,motionDurationMid:m,itemHoverColor:v,lineType:b,colorSplit:y,itemDisabledColor:S,dangerItemColor:w,dangerItemHoverColor:C,dangerItemSelectedColor:E,dangerItemActiveBg:x,dangerItemSelectedBg:_,popupBg:O,itemHoverBg:k,itemActiveBg:$,menuSubMenuBg:T,horizontalItemSelectedColor:R,horizontalItemSelectedBg:M,horizontalItemBorderRadius:N,horizontalItemHoverBg:I}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},q(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${S} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:$}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:$}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:C}},[`&${n}-item:active`]:{background:x}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:E},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:_}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},q(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:T},[`&${n}-popup > ${n}`]:{backgroundColor:O},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:O},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:e.calc(d).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${(0,j.bf)(c)} solid transparent`,transition:`border-color ${f} ${p}`,content:'""'},"&:hover, &-active, &-open":{background:I,"&::after":{borderBottomWidth:c,borderBottomColor:R}},"&-selected":{color:R,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:c,borderBottomColor:R}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${(0,j.bf)(d)} ${b} ${y}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,j.bf)(u)} solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${m} ${g}`,`opacity ${m} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:E}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${m} ${p}`,`opacity ${m} ${p}`].join(",")}}}}}},G=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:l,itemWidth:s}=e,c=e.calc(i).add(o).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:(0,j.bf)(n),paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:s},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:(0,j.bf)(n)},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:c}}},Y=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionDurationMid:l,motionEaseOut:s,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationSlow:f,paddingXS:p,boxShadowSecondary:g,collapsedWidth:h,collapsedIconSize:m}=e,v={height:r,lineHeight:(0,j.bf)(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},G(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},G(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${(0,j.bf)(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${l} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,j.bf)(e.calc(d).div(2).equal())} - ${(0,j.bf)(u)})`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:m,lineHeight:(0,j.bf)(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},B.vS),{paddingInline:p})}}]},K=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:l,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:[`font-size ${r} ${i}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:s,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},(0,B.Ro)()),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Q=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,j.bf)(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,j.bf)(a)})`}}}}},J=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:l,padding:s,colorSplit:c,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:h,lineType:m,menuPanelMaskInset:v,groupTitleLineHeight:b,groupTitleFontSize:y}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},(0,B.dF)()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,B.Wf)(e)),(0,B.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${(0,j.bf)(l)} ${(0,j.bf)(s)}`,fontSize:y,lineHeight:b,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:m,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),K(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${(0,j.bf)(e.calc(r).mul(2).equal())} ${(0,j.bf)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:f,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${(0,j.bf)(v)} 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:v},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:f},K(e)),Q(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})}}),Q(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,j.bf)(h)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,j.bf)(e.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${(0,j.bf)(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,j.bf)(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,j.bf)(h)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},ee=e=>{var t,n,r;const{colorPrimary:o,colorError:i,colorTextDisabled:a,colorErrorBg:l,colorText:s,colorTextDescription:c,colorBgContainer:u,colorFillAlter:d,colorFillContent:f,lineWidth:p,lineWidthBold:g,controlItemBgActive:h,colorBgTextHover:m,controlHeightLG:v,lineHeight:b,colorBgElevated:y,marginXXS:S,padding:w,fontSize:C,controlHeightSM:E,fontSizeLG:x,colorTextLightSolid:_,colorErrorHover:O}=e,k=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,$=null!==(n=e.activeBarBorderWidth)&&void 0!==n?n:p,T=null!==(r=e.itemMarginInline)&&void 0!==r?r:e.marginXXS,R=new D.C(_).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:o,itemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:u,itemBg:u,colorItemBgHover:m,itemHoverBg:m,colorItemBgActive:f,itemActiveBg:h,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:h,itemSelectedBg:h,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:k,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:p,activeBarBorderWidth:$,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:l,dangerItemActiveBg:l,colorDangerItemBgSelected:l,dangerItemSelectedBg:l,itemMarginInline:T,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:b,collapsedWidth:2*v,popupBg:y,itemMarginBlock:S,itemPaddingInline:w,horizontalLineHeight:1.15*v+"px",iconSize:C,iconMarginInlineEnd:E-C,collapsedIconSize:x,groupTitleFontSize:C,darkItemDisabledColor:new D.C(_).setAlpha(.25).toRgbString(),darkItemColor:R,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:_,darkItemSelectedBg:o,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:R,darkItemHoverColor:_,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:_,darkDangerItemActiveBg:i,itemWidth:k?`calc(100% + ${$}px)`:`calc(100% - ${2*T}px)`}},te=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(0,H.I$)("Menu",(e=>{const{colorBgElevated:t,colorPrimary:n,colorTextLightSolid:r,controlHeightLG:o,fontSize:i,darkItemColor:a,darkDangerItemColor:l,darkItemBg:s,darkSubMenuItemBg:c,darkItemSelectedColor:u,darkItemSelectedBg:d,darkDangerItemSelectedBg:f,darkItemHoverBg:p,darkGroupTitleColor:g,darkItemHoverColor:h,darkItemDisabledColor:m,darkDangerItemHoverColor:v,darkDangerItemSelectedColor:b,darkDangerItemActiveBg:y,popupBg:S,darkPopupBg:w}=e,C=e.calc(i).div(7).mul(5).equal(),E=(0,W.TS)(e,{menuArrowSize:C,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(C).mul(.25).equal(),menuPanelMaskInset:-7,menuSubMenuBg:t,calc:e.calc,popupBg:S}),x=(0,W.TS)(E,{itemColor:a,itemHoverColor:h,groupTitleColor:g,itemSelectedColor:u,itemBg:s,popupBg:w,subMenuItemBg:c,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:p,itemDisabledColor:m,dangerItemColor:l,dangerItemHoverColor:v,dangerItemSelectedColor:b,dangerItemActiveBg:y,dangerItemSelectedBg:f,menuSubMenuBg:c,horizontalItemSelectedColor:r,horizontalItemSelectedBg:n});return[J(E),U(E),Y(E),X(E,"light"),X(x,"dark"),V(E),z(E),(0,Z.oN)(E,"slide-up"),(0,Z.oN)(E,"slide-down"),(0,F._y)(E,"zoom-big")]}),ee,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)};var ne=n(5792),re=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{var n,o;const i=r.useContext(L),l=i||{},{getPrefixCls:c,getPopupContainer:d,direction:f,menu:p}=r.useContext(v.E_),h=c(),{prefixCls:m,className:y,style:C,theme:E="light",expandIcon:x,_internalDisableMenuItemTitleTooltip:_,inlineCollapsed:k,siderCollapsed:$,items:T,children:R,rootClassName:N,mode:I,selectable:P,onClick:A,overflowedIndicatorPopupClassName:j}=e,D=re(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),B=(0,u.Z)(D,["collapsedWidth"]),z=M(T)||R;null===(n=l.validator)||void 0===n||n.call(l,{mode:I});const Z=(0,s.zX)((function(){var e;null==A||A.apply(void 0,arguments),null===(e=l.onClick)||void 0===e||e.call(l)})),F=l.mode||I,H=null!=P?P:l.selectable,W=r.useMemo((()=>void 0!==$?$:k),[k,$]),U={horizontal:{motionName:`${h}-slide-up`},inline:(0,w.Z)(h),other:{motionName:`${h}-zoom-big`}},V=c("menu",m||l.prefixCls),q=(0,ne.Z)(V),[X,G,Y]=te(V,q,!i),K=a()(`${V}-${E}`,null==p?void 0:p.className,y);let Q;if("function"==typeof x)Q=x;else if(null===x||!1===x)Q=null;else if(null===l.expandIcon||!1===l.expandIcon)Q=null;else{const e=null!=x?x:l.expandIcon;Q=(0,g.Tm)(e,{className:a()(`${V}-submenu-expand-icon`,(0,g.l$)(e)?null===(o=e.props)||void 0===o?void 0:o.className:"")})}const J=r.useMemo((()=>({prefixCls:V,inlineCollapsed:W||!1,direction:f,firstLevel:!0,theme:E,mode:F,disableMenuItemTitleTooltip:_})),[V,W,f,_,E]);return X(r.createElement(L.Provider,{value:null},r.createElement(O.Provider,{value:J},r.createElement(b.ZP,Object.assign({getPopupContainer:d,overflowedIndicator:r.createElement(S.Z,null),overflowedIndicatorPopupClassName:a()(V,`${V}-${E}`,j),mode:F,selectable:H,onClick:Z},B,{inlineCollapsed:W,style:Object.assign(Object.assign({},null==p?void 0:p.style),C),className:K,prefixCls:V,direction:f,defaultMotions:U,expandIcon:Q,ref:t,rootClassName:a()(N,G,l.rootClassName,Y,q)}),z))))})),ie=oe,ae=(0,r.forwardRef)(((e,t)=>{const n=(0,r.useRef)(null),o=r.useContext(y);return(0,r.useImperativeHandle)(t,(()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}}))),r.createElement(ie,Object.assign({ref:n},e,o))}));ae.Item=k,ae.SubMenu=$,ae.Divider=E,ae.ItemGroup=b.BW;const le=ae;var se=n(7606),ce=n(3297),ue=n(7414);const de=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}};var fe=n(9511);const pe=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:i,antCls:a,iconCls:l,motionDurationMid:s,paddingBlock:c,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:h}=e;return[{[t]:Object.assign(Object.assign({},(0,B.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${a}-btn`]:{[`& > ${l}-down, & > ${a}-btn-icon > ${l}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${l}-down`]:{fontSize:p},[`${l}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft,\n &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom,\n &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Z.fJ},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft,\n &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top,\n &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Z.Qt},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft,\n &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom,\n &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Z.Uw},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft,\n &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top,\n &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Z.ly}})},(0,ue.ZP)(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:h,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,B.Qy)(e)),{[`${n}-item-group-title`]:{padding:`${(0,j.bf)(c)} ${(0,j.bf)(g)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,j.bf)(c)} ${(0,j.bf)(g)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,B.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:h,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,j.bf)(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${(0,j.bf)(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:h,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[(0,Z.oN)(e,"slide-up"),(0,Z.oN)(e,"slide-down"),(0,ce.Fm)(e,"move-up"),(0,ce.Fm)(e,"move-down"),(0,F._y)(e,"zoom-big")]]},ge=(0,H.I$)("Dropdown",(e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:o}=e,i=(0,W.TS)(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[pe(i),de(i)]}),(e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,ue.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,fe.w)(e)))),he=e=>{const{menu:t,arrow:n,prefixCls:i,children:p,trigger:b,disabled:y,dropdownRender:S,getPopupContainer:w,overlayClassName:C,rootClassName:E,overlayStyle:x,open:_,onOpenChange:O,visible:k,onVisibleChange:$,mouseEnterDelay:T=.15,mouseLeaveDelay:R=.1,autoAdjustOverflow:M=!0,placement:N="",overlay:I,transitionName:P}=e,{getPopupContainer:L,getPrefixCls:j,direction:D,dropdown:B}=r.useContext(v.E_);(0,h.ln)("Dropdown");const z=r.useMemo((()=>{const e=j();return void 0!==P?P:N.includes("top")?`${e}-slide-down`:`${e}-slide-up`}),[j,N,P]),Z=r.useMemo((()=>N?N.includes("Center")?N.slice(0,N.indexOf("Center")):N:"rtl"===D?"bottomRight":"bottomLeft"),[N,D]);const F=j("dropdown",i),H=(0,ne.Z)(F),[W,U,V]=ge(F,H),[,q]=(0,se.ZP)(),X=r.Children.only(p),G=(0,g.Tm)(X,{className:a()(`${F}-trigger`,{[`${F}-rtl`]:"rtl"===D},X.props.className),disabled:y}),Y=y?[]:b;let K;Y&&Y.includes("contextMenu")&&(K=!0);const[Q,J]=(0,c.Z)(!1,{value:null!=_?_:k}),ee=(0,s.zX)((e=>{null==O||O(e,{source:"trigger"}),null==$||$(e),J(e)})),te=a()(C,E,U,V,H,null==B?void 0:B.className,{[`${F}-rtl`]:"rtl"===D}),re=(0,f.Z)({arrowPointAtCenter:"object"==typeof n&&n.pointAtCenter,autoAdjustOverflow:M,offset:q.marginXXS,arrowWidth:n?q.sizePopupArrow:0,borderRadius:q.borderRadius}),oe=r.useCallback((()=>{(null==t?void 0:t.selectable)&&(null==t?void 0:t.multiple)||(null==O||O(!1,{source:"menu"}),J(!1))}),[null==t?void 0:t.selectable,null==t?void 0:t.multiple]),[ie,ae]=(0,d.Cn)("Dropdown",null==x?void 0:x.zIndex);let ce=r.createElement(l.Z,Object.assign({alignPoint:K},(0,u.Z)(e,["rootClassName"]),{mouseEnterDelay:T,mouseLeaveDelay:R,visible:Q,builtinPlacements:re,arrow:!!n,overlayClassName:te,prefixCls:F,getPopupContainer:w||L,transitionName:z,trigger:Y,overlay:()=>{let e;return e=(null==t?void 0:t.items)?r.createElement(le,Object.assign({},t)):"function"==typeof I?I():I,S&&(e=S(e)),e=r.Children.only("string"==typeof e?r.createElement("span",null,e):e),r.createElement(A,{prefixCls:`${F}-menu`,rootClassName:a()(V,H),expandIcon:r.createElement("span",{className:`${F}-menu-submenu-arrow`},r.createElement(o.Z,{className:`${F}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:oe,validator:e=>{let{mode:t}=e}},e)},placement:Z,onVisibleChange:ee,overlayStyle:Object.assign(Object.assign(Object.assign({},null==B?void 0:B.style),x),{zIndex:ie})}),G);return ie&&(ce=r.createElement(m.Z.Provider,{value:ae},ce)),W(ce)};const me=(0,p.Z)(he,"dropdown",(e=>e),(function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}));he._InternalPanelDoNotUseOrYouWillBeFired=e=>r.createElement(me,Object.assign({},e),r.createElement("span",null));const ve=he},403:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(2649),o=n(3967),i=n.n(o),a=n(7294),l=n(4545),s=n(4666),c=n(3124),u=n(8230),d=n(4173),f=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{const{getPopupContainer:t,getPrefixCls:n,direction:o}=a.useContext(c.E_),{prefixCls:p,type:g="default",danger:h,disabled:m,loading:v,onClick:b,htmlType:y,children:S,className:w,menu:C,arrow:E,autoFocus:x,overlay:_,trigger:O,align:k,open:$,onOpenChange:T,placement:R,getPopupContainer:M,href:N,icon:I=a.createElement(l.Z,null),title:P,buttonsRender:A=(e=>e),mouseEnterDelay:L,mouseLeaveDelay:j,overlayClassName:D,overlayStyle:B,destroyPopupOnHide:z,dropdownRender:Z}=e,F=f(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),H=n("dropdown",p),W=`${H}-button`,U={menu:C,arrow:E,autoFocus:x,align:k,disabled:m,trigger:m?[]:O,onOpenChange:T,getPopupContainer:M||t,mouseEnterDelay:L,mouseLeaveDelay:j,overlayClassName:D,overlayStyle:B,destroyPopupOnHide:z,dropdownRender:Z},{compactSize:V,compactItemClassnames:q}=(0,d.ri)(H,o),X=i()(W,q,w);"overlay"in e&&(U.overlay=_),"open"in e&&(U.open=$),U.placement="placement"in e?R:"rtl"===o?"bottomLeft":"bottomRight";const G=a.createElement(s.ZP,{type:g,danger:h,disabled:m,loading:v,onClick:b,htmlType:y,href:N,title:P},S),Y=a.createElement(s.ZP,{type:g,danger:h,icon:I}),[K,Q]=A([G,Y]);return a.createElement(u.Z.Compact,Object.assign({className:X,size:V,block:!0},F),K,a.createElement(r.Z,Object.assign({},U),Q))};p.__ANT_BUTTON=!0;const g=p,h=r.Z;h.Button=g;const m=h},3512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(7294),o=n(3967),i=n.n(o),a=n(8423),l=n(8065),s=n(3124),c=n(1939),u=n(5503);const d=["wrap","nowrap","wrap-reverse"],f=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],p=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"];const g=function(e,t){return i()(Object.assign(Object.assign(Object.assign({},((e,t)=>{const n={};return d.forEach((r=>{n[`${e}-wrap-${r}`]=t.wrap===r})),n})(e,t)),((e,t)=>{const n={};return p.forEach((r=>{n[`${e}-align-${r}`]=t.align===r})),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n})(e,t)),((e,t)=>{const n={};return f.forEach((r=>{n[`${e}-justify-${r}`]=t.justify===r})),n})(e,t)))},h=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},m=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},v=e=>{const{componentCls:t}=e,n={};return d.forEach((e=>{n[`${t}-wrap-${e}`]={flexWrap:e}})),n},b=e=>{const{componentCls:t}=e,n={};return p.forEach((e=>{n[`${t}-align-${e}`]={alignItems:e}})),n},y=e=>{const{componentCls:t}=e,n={};return f.forEach((e=>{n[`${t}-justify-${e}`]={justifyContent:e}})),n},S=(0,c.I$)("Flex",(e=>{const{paddingXS:t,padding:n,paddingLG:r}=e,o=(0,u.TS)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[h(o),m(o),v(o),b(o),y(o)]}),(()=>({})),{resetStyle:!1});var w=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{const{prefixCls:n,rootClassName:o,className:c,style:u,flex:d,gap:f,children:p,vertical:h=!1,component:m="div"}=e,v=w(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:b,direction:y,getPrefixCls:C}=r.useContext(s.E_),E=C("flex",n),[x,_,O]=S(E),k=null!=h?h:null==b?void 0:b.vertical,$=i()(c,o,null==b?void 0:b.className,E,_,O,g(E,e),{[`${E}-rtl`]:"rtl"===y,[`${E}-gap-${f}`]:(0,l.n)(f),[`${E}-vertical`]:k}),T=Object.assign(Object.assign({},null==b?void 0:b.style),u);return d&&(T.flex=d),f&&!(0,l.n)(f)&&(T.gap=f),x(r.createElement(m,Object.assign({ref:t,className:$,style:T},(0,a.Z)(v,["justify","wrap","align"])),p))}));const E=C},5702:(e,t,n)=>{"use strict";n.d(t,{aM:()=>je,Ux:()=>De,pg:()=>Be});var r=n(7294),o=n(7462),i=n(4925),a=n(4165),l=n(5861),s=n(1413),c=n(3433),u=n(5671),d=n(3144),f=n(7326),p=n(9340),g=n(9388),h=n(4942),m=n(344),v=n(1881),b=n(334),y="RC_FORM_INTERNAL_HOOKS",S=function(){(0,b.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const w=r.createContext({getFieldValue:S,getFieldsValue:S,getFieldError:S,getFieldWarning:S,getFieldsError:S,isFieldsTouched:S,isFieldTouched:S,isFieldValidating:S,isFieldsValidating:S,resetFields:S,setFields:S,setFieldValue:S,setFieldsValue:S,validateFields:S,submit:S,getInternalHooks:function(){return S(),{dispatch:S,initEntityValue:S,registerField:S,useSubscribe:S,setInitialValues:S,destroyForm:S,setCallbacks:S,registerWatch:S,getFields:S,setValidateMessages:S,setPreserve:S,getInitialValue:S}}});const C=r.createContext(null);function E(e){return null==e?[]:Array.isArray(e)?e:[e]}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}break;default:return e}})):e}function N(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function I(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var l=r;r+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,Z=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,F={integer:function(e){return F.number(e)&&parseInt(e,10)===e},float:function(e){return F.number(e)&&!F.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!F.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(z)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(D)return D;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),l=new RegExp("^"+o+"$"),s=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")};s.v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},s.v6=function(e){return e&&e.exact?l:new RegExp(""+t(e)+o+t(e),"g")};var c=s.v4().source,u=s.v6().source;return D=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(Z)}},H="enum",W={required:B,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(M(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t)B(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?F[i](t)||r.push(M(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(M(o.messages.types[i],e.fullField,e.type))}},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,s=t,c=null,u="number"==typeof t,d="string"==typeof t,f=Array.isArray(t);if(u?c="number":d?c="string":f&&(c="array"),!c)return!1;f&&(s=t.length),d&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&r.push(M(o.messages[c].len,e.fullField,e.len)):a&&!l&&se.max?r.push(M(o.messages[c].max,e.fullField,e.max)):a&&l&&(se.max)&&r.push(M(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[H]=Array.isArray(e[H])?e[H]:[],-1===e[H].indexOf(t)&&r.push(M(o.messages[H],e.fullField,e[H].join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(M(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(M(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},U=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t,i)&&!e.required)return n();W.required(e,t,r,a,o,i),N(t,i)||W.type(e,t,r,a,o)}n(a)},V={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t,"string")&&!e.required)return n();W.required(e,t,r,i,o,"string"),N(t,"string")||(W.type(e,t,r,i,o),W.range(e,t,r,i,o),W.pattern(e,t,r,i,o),!0===e.whitespace&&W.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&W.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),N(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&(W.type(e,t,r,i,o),W.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&W.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t)&&!e.required)return n();W.required(e,t,r,i,o),N(t)||W.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&(W.type(e,t,r,i,o),W.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&(W.type(e,t,r,i,o),W.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();W.required(e,t,r,i,o,"array"),null!=t&&(W.type(e,t,r,i,o),W.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&W.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t)&&!e.required)return n();W.required(e,t,r,i,o),void 0!==t&&W.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t,"string")&&!e.required)return n();W.required(e,t,r,i,o),N(t,"string")||W.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t,"date")&&!e.required)return n();var a;if(W.required(e,t,r,i,o),!N(t,"date"))a=t instanceof Date?t:new Date(t),W.type(e,a,r,i,o),a&&W.range(e,a.getTime(),r,i,o)}n(i)},url:U,hex:U,email:U,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;W.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(N(t)&&!e.required)return n();W.required(e,t,r,i,o)}n(i)}};function q(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var X=q(),G=function(){function e(e){this.rules=null,this._messages=X,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=j(q(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,l=r;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);if(a.messages){var s=this.messages();s===X&&(s=q()),j(s,a.messages),a.messages=s}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach((function(e){var n=o.rules[e],r=i[e];n.forEach((function(n){var a=n;"function"==typeof a.transform&&(i===t&&(i=x({},i)),r=i[e]=a.transform(r)),(a="function"==typeof a?{validator:a}:x({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:r,source:i,field:e}))}))}));var u={};return A(c,a,(function(t,n){var r,o=t.rule,l=!("object"!==o.type&&"array"!==o.type||"object"!=typeof o.fields&&"object"!=typeof o.defaultField);function s(e,t){return x({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function c(r){void 0===r&&(r=[]);var c=Array.isArray(r)?r:[r];!a.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==o.message&&(c=[].concat(o.message));var d=c.map(L(o,i));if(a.first&&d.length)return u[o.field]=1,n(d);if(l){if(o.required&&!t.value)return void 0!==o.message?d=[].concat(o.message).map(L(o,i)):a.error&&(d=[a.error(o,M(a.messages.required,o.field))]),n(d);var f={};o.defaultField&&Object.keys(t.value).map((function(e){f[e]=o.defaultField})),f=x({},f,t.rule.fields);var p={};Object.keys(f).forEach((function(e){var t=f[e],n=Array.isArray(t)?t:[t];p[e]=n.map(s.bind(null,e))}));var g=new e(p);g.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),g.validate(t.value,t.rule.options||a,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}if(l=l&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,c,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,c,t.source,a)}catch(e){null==console.error||console.error(e),a.suppressValidatorError||setTimeout((function(){throw e}),0),c(e.message)}!0===r?c():!1===r?c("function"==typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)}r&&r.then&&r.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){!function(e){for(var t,n,r=[],o={},a=0;a2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return fe(t,e,n)}))}function fe(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t})))}function pe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,le.Z)(t.target)&&e in t.target?t.target[e]:t}function ge(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,c.Z)(e.slice(0,n)),[o],(0,c.Z)(e.slice(n,t)),(0,c.Z)(e.slice(t+1,r))):i<0?[].concat((0,c.Z)(e.slice(0,t)),(0,c.Z)(e.slice(t+1,n+1)),[o],(0,c.Z)(e.slice(n+1,r))):e}var he=["name"],me=[];function ve(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var be=function(e){(0,p.Z)(n,e);var t=(0,g.Z)(n);function n(e){var o;((0,u.Z)(this,n),o=t.call(this,e),(0,h.Z)((0,f.Z)(o),"state",{resetCount:0}),(0,h.Z)((0,f.Z)(o),"cancelRegisterFunc",null),(0,h.Z)((0,f.Z)(o),"mounted",!1),(0,h.Z)((0,f.Z)(o),"touched",!1),(0,h.Z)((0,f.Z)(o),"dirty",!1),(0,h.Z)((0,f.Z)(o),"validatePromise",void 0),(0,h.Z)((0,f.Z)(o),"prevValidating",void 0),(0,h.Z)((0,f.Z)(o),"errors",me),(0,h.Z)((0,f.Z)(o),"warnings",me),(0,h.Z)((0,f.Z)(o),"cancelRegister",(function(){var e=o.props,t=e.preserve,n=e.isListField,r=e.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(n,t,ce(r)),o.cancelRegisterFunc=null})),(0,h.Z)((0,f.Z)(o),"getNamePath",(function(){var e=o.props,t=e.name,n=e.fieldContext.prefixName,r=void 0===n?[]:n;return void 0!==t?[].concat((0,c.Z)(r),(0,c.Z)(t)):[]})),(0,h.Z)((0,f.Z)(o),"getRules",(function(){var e=o.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return"function"==typeof e?e(r):e}))})),(0,h.Z)((0,f.Z)(o),"refresh",(function(){o.mounted&&o.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,h.Z)((0,f.Z)(o),"metaCache",null),(0,h.Z)((0,f.Z)(o),"triggerMetaEvent",(function(e){var t=o.props.onMetaChange;if(t){var n=(0,s.Z)((0,s.Z)({},o.getMeta()),{},{destroy:e});(0,v.Z)(o.metaCache,n)||t(n),o.metaCache=n}else o.metaCache=null})),(0,h.Z)((0,f.Z)(o),"onStoreChange",(function(e,t,n){var r=o.props,i=r.shouldUpdate,a=r.dependencies,l=void 0===a?[]:a,s=r.onReset,c=n.store,u=o.getNamePath(),d=o.getValue(e),f=o.getValue(c),p=t&&de(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&d!==f&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=me,o.warnings=me,o.triggerMetaEvent()),n.type){case"reset":if(!t||p)return o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=me,o.warnings=me,o.triggerMetaEvent(),null==s||s(),void o.refresh();break;case"remove":if(i)return void o.reRender();break;case"setField":var g=n.data;if(p)return"touched"in g&&(o.touched=g.touched),"validating"in g&&!("originRCField"in g)&&(o.validatePromise=g.validating?Promise.resolve([]):null),"errors"in g&&(o.errors=g.errors||me),"warnings"in g&&(o.warnings=g.warnings||me),o.dirty=!0,o.triggerMetaEvent(),void o.reRender();if("value"in g&&de(t,u,!0))return void o.reRender();if(i&&!u.length&&ve(i,e,c,d,f,n))return void o.reRender();break;case"dependenciesUpdate":if(l.map(ce).some((function(e){return de(n.relatedFields,e)})))return void o.reRender();break;default:if(p||(!l.length||u.length||i)&&ve(i,e,c,d,f,n))return void o.reRender()}!0===i&&o.reRender()})),(0,h.Z)((0,f.Z)(o),"validateRules",(function(e){var t=o.getNamePath(),n=o.getValue(),r=e||{},i=r.triggerName,s=r.validateOnly,u=void 0!==s&&s,d=Promise.resolve().then((0,l.Z)((0,a.Z)().mark((function r(){var l,s,u,f,p,g,h;return(0,a.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o.mounted){r.next=2;break}return r.abrupt("return",[]);case 2:if(l=o.props,s=l.validateFirst,u=void 0!==s&&s,f=l.messageVariables,p=l.validateDebounce,g=o.getRules(),i&&(g=g.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||E(t).includes(i)}))),!p||!i){r.next=10;break}return r.next=8,new Promise((function(e){setTimeout(e,p)}));case 8:if(o.validatePromise===d){r.next=10;break}return r.abrupt("return",[]);case 10:return(h=oe(t,n,g,e,u,f)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:me;if(o.validatePromise===d){var t;o.validatePromise=null;var n=[],r=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,o=e.errors,i=void 0===o?me:o;t?r.push.apply(r,(0,c.Z)(i)):n.push.apply(n,(0,c.Z)(i))})),o.errors=n,o.warnings=r,o.triggerMetaEvent(),o.reRender()}})),r.abrupt("return",h);case 13:case"end":return r.stop()}}),r)}))));return u||(o.validatePromise=d,o.dirty=!0,o.errors=me,o.warnings=me,o.triggerMetaEvent(),o.reRender()),d})),(0,h.Z)((0,f.Z)(o),"isFieldValidating",(function(){return!!o.validatePromise})),(0,h.Z)((0,f.Z)(o),"isFieldTouched",(function(){return o.touched})),(0,h.Z)((0,f.Z)(o),"isFieldDirty",(function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(y).getInitialValue)(o.getNamePath())})),(0,h.Z)((0,f.Z)(o),"getErrors",(function(){return o.errors})),(0,h.Z)((0,f.Z)(o),"getWarnings",(function(){return o.warnings})),(0,h.Z)((0,f.Z)(o),"isListField",(function(){return o.props.isListField})),(0,h.Z)((0,f.Z)(o),"isList",(function(){return o.props.isList})),(0,h.Z)((0,f.Z)(o),"isPreserve",(function(){return o.props.preserve})),(0,h.Z)((0,f.Z)(o),"getMeta",(function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:null===o.validatePromise}})),(0,h.Z)((0,f.Z)(o),"getOnlyChild",(function(e){if("function"==typeof e){var t=o.getMeta();return(0,s.Z)((0,s.Z)({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=(0,m.Z)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),(0,h.Z)((0,f.Z)(o),"getValue",(function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return(0,se.Z)(e||t(!0),n)})),(0,h.Z)((0,f.Z)(o),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.trigger,r=t.validateTrigger,i=t.getValueFromEvent,a=t.normalize,l=t.valuePropName,c=t.getValueProps,u=t.fieldContext,d=void 0!==r?r:u.validateTrigger,f=o.getNamePath(),p=u.getInternalHooks,g=u.getFieldsValue,m=p(y).dispatch,v=o.getValue(),b=c||function(e){return(0,h.Z)({},l,e)},S=e[n],w=(0,s.Z)((0,s.Z)({},e),b(v));return w[n]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r=0&&t<=n.length?(f.keys=[].concat((0,c.Z)(f.keys.slice(0,t)),[f.id],(0,c.Z)(f.keys.slice(t))),i([].concat((0,c.Z)(n.slice(0,t)),[e],(0,c.Z)(n.slice(t))))):(f.keys=[].concat((0,c.Z)(f.keys),[f.id]),i([].concat((0,c.Z)(n),[e]))),f.id+=1},remove:function(e){var t=l(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(f.keys=f.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=l();e<0||e>=n.length||t<0||t>=n.length||(f.keys=ge(f.keys,e,t),i(ge(n,e,t)))}}},d=r||[];return Array.isArray(d)||(d=[]),o(d.map((function(e,t){var n=f.keys[t];return void 0===n&&(f.keys[t]=f.id,n=f.keys[t],f.id+=1),{name:t,key:n,isListField:!0}})),s,t)}))))};var we=n(9439);var Ce="__@field_split__";function Ee(e){return e.map((function(e){return"".concat((0,le.Z)(e),":").concat(e)})).join(Ce)}var xe=function(){function e(){(0,u.Z)(this,e),(0,h.Z)(this,"kvs",new Map)}return(0,d.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(Ee(e),t)}},{key:"get",value:function(e){return this.kvs.get(Ee(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(Ee(e))}},{key:"map",value:function(e){return(0,c.Z)(this.kvs.entries()).map((function(t){var n=(0,we.Z)(t,2),r=n[0],o=n[1],i=r.split(Ce);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,we.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}();const _e=xe;var Oe=["name"],ke=(0,d.Z)((function e(t){var n=this;(0,u.Z)(this,e),(0,h.Z)(this,"formHooked",!1),(0,h.Z)(this,"forceRootUpdate",void 0),(0,h.Z)(this,"subscribable",!0),(0,h.Z)(this,"store",{}),(0,h.Z)(this,"fieldEntities",[]),(0,h.Z)(this,"initialValues",{}),(0,h.Z)(this,"callbacks",{}),(0,h.Z)(this,"validateMessages",null),(0,h.Z)(this,"preserve",null),(0,h.Z)(this,"lastValidatePromise",null),(0,h.Z)(this,"getForm",(function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}})),(0,h.Z)(this,"getInternalHooks",(function(e){return e===y?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,b.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,h.Z)(this,"useSubscribe",(function(e){n.subscribable=e})),(0,h.Z)(this,"prevWithoutPreserves",null),(0,h.Z)(this,"setInitialValues",(function(e,t){if(n.initialValues=e||{},t){var r,o=(0,Q.T)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=(0,Q.Z)(o,n,(0,se.Z)(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}})),(0,h.Z)(this,"destroyForm",(function(){var e=new _e;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e})),(0,h.Z)(this,"getInitialValue",(function(e){var t=(0,se.Z)(n.initialValues,e);return e.length?(0,Q.T)(t):t})),(0,h.Z)(this,"setCallbacks",(function(e){n.callbacks=e})),(0,h.Z)(this,"setValidateMessages",(function(e){n.validateMessages=e})),(0,h.Z)(this,"setPreserve",(function(e){n.preserve=e})),(0,h.Z)(this,"watchList",[]),(0,h.Z)(this,"registerWatch",(function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}})),(0,h.Z)(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach((function(n){n(t,r,e)}))}})),(0,h.Z)(this,"timeoutId",null),(0,h.Z)(this,"warningUnhooked",(function(){0})),(0,h.Z)(this,"updateStore",(function(e){n.store=e})),(0,h.Z)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),(0,h.Z)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new _e;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),(0,h.Z)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=ce(e);return t.get(n)||{INVALIDATE_NAME_PATH:ce(e)}}))})),(0,h.Z)(this,"getFieldsValue",(function(e,t){var r,o,i;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,le.Z)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),l=[];return a.forEach((function(e){var t,n,a,s,c="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(s=e).isList)&&void 0!==a&&a.call(s))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&l.push(c)}else l.push(c)})),ue(n.store,l.map(ce))})),(0,h.Z)(this,"getFieldValue",(function(e){n.warningUnhooked();var t=ce(e);return(0,se.Z)(n.store,t)})),(0,h.Z)(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:ce(e[n]),errors:[],warnings:[]}}))})),(0,h.Z)(this,"getFieldError",(function(e){n.warningUnhooked();var t=ce(e);return n.getFieldsError([t])[0].errors})),(0,h.Z)(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=ce(e);return n.getFieldsError([t])[0].warnings})),(0,h.Z)(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new _e,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,(0,c.Z)((0,c.Z)(r).map((function(e){return e.entity}))))}))):o=r,o.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))(0,b.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,b.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);r.isListField()||e.skipExist&&void 0!==a||n.updateStore((0,Q.Z)(n.store,o,(0,c.Z)(i)[0].value))}}}}))})),(0,h.Z)(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore((0,Q.T)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(ce);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore((0,Q.Z)(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),(0,h.Z)(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,a=(0,i.Z)(e,Oe),l=ce(o);r.push(l),"value"in a&&n.updateStore((0,Q.Z)(n.store,l,a.value)),n.notifyObservers(t,[l],{type:"setField",data:e})})),n.notifyWatch(r)})),(0,h.Z)(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,s.Z)((0,s.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o}))})),(0,h.Z)(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,se.Z)(n.store,r)&&n.updateStore((0,Q.Z)(n.store,r,t))}})),(0,h.Z)(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),(0,h.Z)(this,"registerField",(function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!fe(e.getNamePath(),t)}))){var l=n.store;n.updateStore((0,Q.Z)(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}})),(0,h.Z)(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}})),(0,h.Z)(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var o=(0,s.Z)((0,s.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()})),(0,h.Z)(this,"triggerDependenciesUpdate",(function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,c.Z)(r))}),r})),(0,h.Z)(this,"updateValue",(function(e,t){var r=ce(e),o=n.store;n.updateStore((0,Q.Z)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(ue(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat((0,c.Z)(i)))})),(0,h.Z)(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,Q.T)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),(0,h.Z)(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t}])})),(0,h.Z)(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new _e;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=ce(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r})),(0,h.Z)(this,"triggerOnFieldsChange",(function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new _e;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var n=t.name;return de(e,n)}));a.length&&r(a,o)}})),(0,h.Z)(this,"validateFields",(function(e,t){var r,o;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e;var i=!!r,a=i?r.map(ce):[],l=[],u=String(Date.now()),d=new Set,f=o||{},p=f.recursive,g=f.dirty;n.getFieldEntities(!0).forEach((function(e){if(i||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!g||e.isFieldDirty())){var t=e.getNamePath();if(d.add(t.join(u)),!i||de(a,t,p)){var r=e.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},K),n.validateMessages)},o));l.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,c.Z)(n)):r.push.apply(r,(0,c.Z)(n))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))}}}));var h=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(l);n.lastValidatePromise=h,h.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var m=h.then((function(){return n.lastValidatePromise===h?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==h})}));m.catch((function(e){return e}));var v=a.filter((function(e){return d.has(e.join(u))}));return n.triggerOnFieldsChange(v),m})),(0,h.Z)(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));const $e=function(e){var t=r.useRef(),n=r.useState({}),o=(0,we.Z)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new ke((function(){o({})}));t.current=i.getForm()}return[t.current]};var Te=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}});const Re=Te;var Me=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];const Ne=function(e,t){var n=e.name,a=e.initialValues,l=e.fields,u=e.form,d=e.preserve,f=e.children,p=e.component,g=void 0===p?"form":p,h=e.validateMessages,m=e.validateTrigger,v=void 0===m?"onChange":m,b=e.onValuesChange,S=e.onFieldsChange,E=e.onFinish,x=e.onFinishFailed,_=(0,i.Z)(e,Me),O=r.useContext(Re),k=$e(u),$=(0,we.Z)(k,1)[0],T=$.getInternalHooks(y),R=T.useSubscribe,M=T.setInitialValues,N=T.setCallbacks,I=T.setValidateMessages,P=T.setPreserve,A=T.destroyForm;r.useImperativeHandle(t,(function(){return $})),r.useEffect((function(){return O.registerForm(n,$),function(){O.unregisterForm(n)}}),[O,$,n]),I((0,s.Z)((0,s.Z)({},O.validateMessages),h)),N({onValuesChange:b,onFieldsChange:function(e){if(O.triggerFormChange(n,e),S){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o{let{children:t,status:n,override:o}=e;const i=(0,r.useContext)(je),a=(0,r.useMemo)((()=>{const e=Object.assign({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,o,i]);return r.createElement(je.Provider,{value:a},t)},Be=(0,r.createContext)(void 0)},6413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294),o=n(8410);var i=n(4443);const a=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=(0,r.useRef)({}),n=function(){const[,e]=r.useReducer((e=>e+1),0);return e}(),a=(0,i.ZP)();return(0,o.Z)((()=>{const r=a.subscribe((r=>{t.current=r,e&&n()}));return()=>a.unsubscribe(r)}),[]),t.current}},1830:(e,t,n)=>{"use strict";n.d(t,{Z:()=>De});var r=n(7294),o=n(7462);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var a=n(76),l=function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))};const s=r.forwardRef(l);var c=n(3967),u=n.n(c),d=n(1413),f=n(4942),p=n(9439),g=n(1002),h=n(4925);function m(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var v=n(1770),b=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],y=r.createContext(null),S=0;function w(e){var t=e.src,n=e.isCustomPlaceholder,o=e.fallback,i=(0,r.useState)(n?"loading":"normal"),a=(0,p.Z)(i,2),l=a[0],s=a[1],c=(0,r.useRef)(!1),u="error"===l;(0,r.useEffect)((function(){var e=!0;return function(e){return new Promise((function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e}))}(t).then((function(t){!t&&e&&s("error")})),function(){e=!1}}),[t]),(0,r.useEffect)((function(){n&&!c.current?s("loading"):u&&s("normal")}),[t]);var d=function(){s("normal")};return[function(e){c.current=!1,"loading"===l&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,d())},u&&o?{src:o}:{onLoad:d,src:t},l]}var C=n(3037),E=n(3935);function x(e,t,n,r){var o=E.unstable_batchedUpdates?function(e){E.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,r)}}}var _=n(5105),O=n(1881),k=n(5164),$={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};var T=n(334);function R(e,t,n,r){var o=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,f.Z)({},e,i);if(t<0&&or)return(0,f.Z)({},e,t<0?i:-i);return{}}function M(e,t,n,r){var o=m(),i=o.width,a=o.height,l=null;return e<=i&&t<=a?l={x:0,y:0}:(e>i||t>a)&&(l=(0,d.Z)((0,d.Z)({},R("x",n,e,i)),R("y",r,t,a))),l}function N(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function I(e,t,n,o,i,a,l){var s=i.rotate,c=i.scale,u=i.x,f=i.y,g=(0,r.useState)(!1),h=(0,p.Z)(g,2),m=h[0],v=h[1],b=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),y=function(e){b.current=(0,d.Z)((0,d.Z)({},b.current),e)};return(0,r.useEffect)((function(){var e;return n&&t&&(e=x(window,"touchmove",(function(e){return e.preventDefault()}),{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}}),[n,t]),{isTouching:m,onTouchStart:function(e){if(t){e.stopPropagation(),v(!0);var n=e.touches,r=void 0===n?[]:n;r.length>1?y({point1:{x:r[0].clientX,y:r[0].clientY},point2:{x:r[1].clientX,y:r[1].clientY},eventType:"touchZoom"}):y({point1:{x:r[0].clientX-u,y:r[0].clientY-f},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=b.current,o=r.point1,i=r.point2,s=r.eventType;if(n.length>1&&"touchZoom"===s){var c={x:n[0].clientX,y:n[0].clientY},u={x:n[1].clientX,y:n[1].clientY},d=function(e,t,n,r){var o=N(e,n),i=N(t,r);if(0===o&&0===i)return[e.x,e.y];var a=o/(o+i);return[e.x+a*(t.x-e.x),e.y+a*(t.y-e.y)]}(o,i,c,u),f=(0,p.Z)(d,2),g=f[0],h=f[1],m=N(c,u)/N(o,i);l(m,"touchZoom",g,h,!0),y({point1:c,point2:u,eventType:"touchZoom"})}else"move"===s&&(a({x:n[0].clientX-o.x,y:n[0].clientY-o.y},"move"),y({eventType:"move"}))},onTouchEnd:function(){if(n){if(m&&v(!1),y({eventType:"none"}),o>c)return a({x:0,y:0,scale:o},"touchZoom");var t=e.current.offsetWidth*c,r=e.current.offsetHeight*c,i=e.current.getBoundingClientRect(),l=i.left,u=i.top,f=s%180!=0,p=M(f?r:t,f?t:r,l,u);p&&a((0,d.Z)({},p),"dragRebound")}}}}var P=n(8705),A=n(5461);const L=function(e){var t=e.visible,n=e.maskTransitionName,o=e.getContainer,i=e.prefixCls,a=e.rootClassName,l=e.icons,s=e.countRender,c=e.showSwitch,p=e.showProgress,g=e.current,h=e.transform,m=e.count,v=e.scale,b=e.minScale,S=e.maxScale,w=e.closeIcon,C=e.onSwitchLeft,E=e.onSwitchRight,x=e.onClose,O=e.onZoomIn,k=e.onZoomOut,$=e.onRotateRight,T=e.onRotateLeft,R=e.onFlipX,M=e.onFlipY,N=e.toolbarRender,I=e.zIndex,L=(0,r.useContext)(y),j=l.rotateLeft,D=l.rotateRight,B=l.zoomIn,z=l.zoomOut,Z=l.close,F=l.left,H=l.right,W=l.flipX,U=l.flipY,V="".concat(i,"-operations-operation");r.useEffect((function(){var e=function(e){e.keyCode===_.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t]);var q=[{icon:U,onClick:M,type:"flipY"},{icon:W,onClick:R,type:"flipX"},{icon:j,onClick:T,type:"rotateLeft"},{icon:D,onClick:$,type:"rotateRight"},{icon:z,onClick:k,type:"zoomOut",disabled:v<=b},{icon:B,onClick:O,type:"zoomIn",disabled:v===S}].map((function(e){var t,n=e.icon,o=e.onClick,a=e.type,l=e.disabled;return r.createElement("div",{className:u()(V,(t={},(0,f.Z)(t,"".concat(i,"-operations-operation-").concat(a),!0),(0,f.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:o,key:a},n)})),X=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(A.ZP,{visible:t,motionName:n},(function(e){var t=e.className,n=e.style;return r.createElement(P.Z,{open:!0,getContainer:null!=o?o:document.body},r.createElement("div",{className:u()("".concat(i,"-operations-wrapper"),t,a),style:(0,d.Z)((0,d.Z)({},n),{},{zIndex:I})},null===w?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},w||Z),c&&r.createElement(r.Fragment,null,r.createElement("div",{className:u()("".concat(i,"-switch-left"),(0,f.Z)({},"".concat(i,"-switch-left-disabled"),0===g)),onClick:C},F),r.createElement("div",{className:u()("".concat(i,"-switch-right"),(0,f.Z)({},"".concat(i,"-switch-right-disabled"),g===m-1)),onClick:E},H)),r.createElement("div",{className:"".concat(i,"-footer")},p&&r.createElement("div",{className:"".concat(i,"-progress")},s?s(g+1,m):"".concat(g+1," / ").concat(m)),N?N(X,(0,d.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:M,onFlipX:R,onRotateLeft:T,onRotateRight:$,onZoomOut:k,onZoomIn:O},transform:h},L?{current:g,total:m}:{})):X)))}))};var j=["fallback","src","imgRef"],D=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],B=function(e){var t=e.fallback,n=e.src,i=e.imgRef,a=(0,h.Z)(e,j),l=w({src:n,fallback:t}),s=(0,p.Z)(l,2),c=s[0],u=s[1];return r.createElement("img",(0,o.Z)({ref:function(e){i.current=e,c(e)}},a,u))};const z=function(e){var t=e.prefixCls,n=e.src,i=e.alt,a=e.fallback,l=e.movable,s=void 0===l||l,c=e.onClose,g=e.visible,v=e.icons,b=void 0===v?{}:v,S=e.rootClassName,w=e.closeIcon,E=e.getContainer,R=e.current,N=void 0===R?0:R,P=e.count,A=void 0===P?1:P,j=e.countRender,z=e.scaleStep,Z=void 0===z?.5:z,F=e.minScale,H=void 0===F?1:F,W=e.maxScale,U=void 0===W?50:W,V=e.transitionName,q=void 0===V?"zoom":V,X=e.maskTransitionName,G=void 0===X?"fade":X,Y=e.imageRender,K=e.imgCommonProps,Q=e.toolbarRender,J=e.onTransform,ee=e.onChange,te=(0,h.Z)(e,D),ne=(0,r.useRef)(),re=(0,r.useContext)(y),oe=re&&A>1,ie=re&&A>=1,ae=(0,r.useState)(!0),le=(0,p.Z)(ae,2),se=le[0],ce=le[1],ue=function(e,t,n,o){var i=(0,r.useRef)(null),a=(0,r.useRef)([]),l=(0,r.useState)($),s=(0,p.Z)(l,2),c=s[0],u=s[1],f=function(e,t){null===i.current&&(a.current=[],i.current=(0,k.Z)((function(){u((function(e){var n=e;return a.current.forEach((function(e){n=(0,d.Z)((0,d.Z)({},n),e)})),i.current=null,null==o||o({transform:n,action:t}),n}))}))),a.current.push((0,d.Z)((0,d.Z)({},c),e))};return{transform:c,resetTransform:function(e){u($),o&&!(0,O.Z)($,c)&&o({transform:$,action:e})},updateTransform:f,dispatchZoomChange:function(r,o,i,a,l){var s=e.current,u=s.width,d=s.height,p=s.offsetWidth,g=s.offsetHeight,h=s.offsetLeft,v=s.offsetTop,b=r,y=c.scale*r;y>n?(y=n,b=n/c.scale):y0&&(r=1/r),l(r,"wheel",e.clientX,e.clientY)}}}}(ne,s,g,Z,de,pe,ge),me=he.isMoving,ve=he.onMouseDown,be=he.onWheel,ye=I(ne,s,g,H,de,pe,ge),Se=ye.isTouching,we=ye.onTouchStart,Ce=ye.onTouchMove,Ee=ye.onTouchEnd,xe=de.rotate,_e=de.scale,Oe=u()((0,f.Z)({},"".concat(t,"-moving"),me));(0,r.useEffect)((function(){se||ce(!0)}),[se]);var ke=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),N>0&&(ce(!1),fe("prev"),null==ee||ee(N-1,N))},$e=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),N({position:e||"absolute",inset:0}),ke=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new ye.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},we.vS),{padding:`0 ${(0,be.bf)(r)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},$e=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:o,margin:i,paddingLG:a,previewOperationColorDisabled:l,previewOperationHoverColor:s,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,f=new ye.C(n).setAlpha(.1),p=f.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:d,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:p.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,be.bf)(a)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:s},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},Te=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:o,zIndexPopup:i,motionDurationSlow:a}=e,l=new ye.C(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},Re=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{[`${o}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},Oe()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Oe()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal({unit:!1})},"&":[$e(e),Te(e)]}]},Me=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},ke(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},Oe())}}},Ne=e=>{const{previewCls:t}=e;return{[`${t}-root`]:(0,Ce._y)(e,"zoom"),"&":(0,Ee.J$)(e,!0)}},Ie=(0,xe.I$)("Image",(e=>{const t=`${e.componentCls}-preview`,n=(0,_e.TS)(e,{previewCls:t,modalMaskBg:new ye.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Me(n),Re(n),(0,Se.QA)((0,_e.TS)(n,{componentCls:t})),Ne(n)]}),(e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new ye.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new ye.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new ye.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})));var Pe=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{const{prefixCls:t,preview:n,className:o,rootClassName:i,style:a}=e,l=Le(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,locale:d=Q.Z,getPopupContainer:f,image:p}=r.useContext(K.E_),g=c("image",t),h=c(),m=d.Image||Q.Z.Image,v=(0,ve.Z)(g),[b,y,S]=Ie(g,v),w=u()(i,y,S,v),C=u()(o,y,null==p?void 0:p.className),[E]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),x=r.useMemo((()=>{if(!1===n)return n;const e="object"==typeof n?n:{},{getContainer:t}=e,o=Le(e,["getContainer"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(s,null),null==m?void 0:m.preview),icons:Ae},o),{getContainer:null!=t?t:f,transitionName:(0,Y.m)(h,"zoom",e.transitionName),maskTransitionName:(0,Y.m)(h,"fade",e.maskTransitionName),zIndex:E})}),[n,m]),_=Object.assign(Object.assign({},null==p?void 0:p.style),a);return b(r.createElement(X,Object.assign({prefixCls:g,preview:x,rootClassName:w,className:C,style:_},l)))};je.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,o=Pe(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=r.useContext(K.E_),a=i("image",t),l=`${a}-preview`,s=i(),c=(0,ve.Z)(a),[d,f,p]=Ie(a,c),[g]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),h=r.useMemo((()=>{var e;if(!1===n)return n;const t="object"==typeof n?n:{},r=u()(f,p,c,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,Y.m)(s,"zoom",t.transitionName),maskTransitionName:(0,Y.m)(s,"fade",t.maskTransitionName),rootClassName:r,zIndex:g})}),[n]);return d(r.createElement(X.PreviewGroup,Object.assign({preview:h,previewPrefixCls:l,icons:Ae},o)))};const De=je},6745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(7294).createContext)(void 0)},9375:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(2906);const o={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o),timePickerLocale:Object.assign({},i)},l=a,s="${label} is not a valid ${type}",c={locale:"en",Pagination:r.Z,DatePicker:a,TimePicker:i,Calendar:l,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}}},110:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294),o=n(6745),i=n(9375);const a=(e,t)=>{const n=r.useContext(o.Z);return[r.useMemo((()=>{var r;const o=t||i.Z[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})}),[e,t,n]),r.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.Z.locale:e}),[n])]}},6277:(e,t,n)=>{"use strict";n.d(t,{CW:()=>v,ZP:()=>b});var r=n(8819),o=n(3061),i=n(8855),a=n(847),l=n(7085),s=n(3967),c=n.n(s),u=n(6871),d=n(7294),f=n(3124),p=n(4792),g=n(5792),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{let{prefixCls:t,type:n,icon:r,children:o}=e;return d.createElement("div",{className:c()(`${t}-custom-content`,`${t}-${n}`)},r||m[n],d.createElement("span",null,o))},b=e=>{const{prefixCls:t,className:n,type:r,icon:o,content:i}=e,a=h(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=d.useContext(f.E_),s=t||l("message"),m=(0,g.Z)(s),[b,y,S]=(0,p.Z)(s,m);return b(d.createElement(u.qX,Object.assign({},a,{prefixCls:s,className:c()(n,y,`${s}-notice-pure-panel`,S,m),eventKey:"pure",duration:null,content:d.createElement(v,{prefixCls:s,type:r,icon:o},i)})))}},4792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7395),o=n(7263),i=n(4747),a=n(1939),l=n(5503);const s=e=>{const{componentCls:t,iconCls:n,boxShadow:o,colorText:a,colorSuccess:l,colorError:s,colorWarning:c,colorInfo:u,fontSizeLG:d,motionEaseInOutCirc:f,motionDurationSlow:p,marginXS:g,paddingXS:h,borderRadiusLG:m,zIndexPopup:v,contentPadding:b,contentBg:y}=e,S=`${t}-notice`,w=new r.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),C=new r.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),E={padding:h,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:g,fontSize:d},[`${S}-content`]:{display:"inline-block",padding:b,background:y,borderRadius:m,boxShadow:o,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:l},[`${t}-error > ${n}`]:{color:s},[`${t}-warning > ${n}`]:{color:c},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:u}};return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{color:a,position:"fixed",top:g,width:"100%",pointerEvents:"none",zIndex:v,[`${t}-move-up`]:{animationFillMode:"forwards"},[`\n ${t}-move-up-appear,\n ${t}-move-up-enter\n `]:{animationName:w,animationDuration:p,animationPlayState:"paused",animationTimingFunction:f},[`\n ${t}-move-up-appear${t}-move-up-appear-active,\n ${t}-move-up-enter${t}-move-up-enter-active\n `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:C,animationDuration:p,animationPlayState:"paused",animationTimingFunction:f},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${S}-wrapper`]:Object.assign({},E)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},E),{padding:0,textAlign:"start"})}]},c=(0,a.I$)("Message",(e=>{const t=(0,l.TS)(e,{height:150});return[s(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+o.u6+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})))},6474:(e,t,n)=>{"use strict";n.d(t,{K:()=>S,Z:()=>w});var r=n(7294),o=n(4549),i=n(3967),a=n.n(i),l=n(6871),s=n(7288),c=n(3124),u=n(5792),d=n(6277),f=n(4792),p=n(4926),g=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{let{children:t,prefixCls:n}=e;const o=(0,u.Z)(n),[i,s,c]=(0,f.Z)(n,o);return i(r.createElement(l.JB,{classNames:{list:a()(s,c,o)}},t))},v=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(m,{prefixCls:n,key:o},e)},b=r.forwardRef(((e,t)=>{const{top:n,prefixCls:i,getContainer:s,maxCount:u,duration:d=h,rtl:f,transitionName:g,onAllRemoved:m}=e,{getPrefixCls:b,getPopupContainer:y,message:S,direction:w}=r.useContext(c.E_),C=i||b("message"),E=r.createElement("span",{className:`${C}-close-x`},r.createElement(o.Z,{className:`${C}-close-icon`})),[x,_]=(0,l.lm)({prefixCls:C,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>a()({[`${C}-rtl`]:null!=f?f:"rtl"===w}),motion:()=>(0,p.g)(C,g),closable:!1,closeIcon:E,duration:d,getContainer:()=>(null==s?void 0:s())||(null==y?void 0:y())||document.body,maxCount:u,onAllRemoved:m,renderNotifications:v});return r.useImperativeHandle(t,(()=>Object.assign(Object.assign({},x),{prefixCls:C,message:S}))),_}));let y=0;function S(e){const t=r.useRef(null);(0,s.ln)("Message");return[r.useMemo((()=>{const e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){const e=()=>{};return e.then=()=>{},e}const{open:o,prefixCls:i,message:l}=t.current,s=`${i}-notice`,{content:c,icon:u,type:f,key:h,className:m,style:v,onClose:b}=n,S=g(n,["content","icon","type","key","className","style","onClose"]);let w=h;return null==w&&(y+=1,w=`antd-message-${y}`),(0,p.J)((t=>(o(Object.assign(Object.assign({},S),{key:w,content:r.createElement(d.CW,{prefixCls:i,type:f,icon:u},c),placement:"top",className:a()(f&&`${s}-${f}`,m,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),v),onClose:()=>{null==b||b(),t()}})),()=>{e(w)})))},o={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{o[e]=(t,r,o)=>{let i,a,l;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?l=r:(a=r,l=o);const s=Object.assign(Object.assign({onClose:l,duration:a},i),{type:e});return n(s)}})),o}),[]),r.createElement(b,Object.assign({key:"message-holder"},e,{ref:t}))]}function w(e){return S(e)}},4926:(e,t,n)=>{"use strict";function r(e,t){return{motionName:null!=t?t:`${e}-move-up`}}function o(e){let t;const n=new Promise((n=>{t=e((()=>{n(!0)}))})),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}n.d(t,{J:()=>o,g:()=>r})},9827:(e,t,n)=>{"use strict";n.d(t,{O:()=>N,Z:()=>P});var r=n(3433),o=n(7294),i=n(8819),a=n(3061),l=n(8855),s=n(847),c=n(3967),u=n.n(c),d=n(7263),f=n(3603),p=n(6854),g=n(110),h=n(7606),m=n(470),v=n(4666),b=n(3671);function y(e){return!(!e||!e.then)}const S=e=>{const{type:t,children:n,prefixCls:r,buttonProps:i,close:a,autoFocus:l,emitEvent:s,isSilent:c,quitOnNullishReturnValue:u,actionFn:d}=e,f=o.useRef(!1),p=o.useRef(null),[g,h]=(0,m.Z)(!1),S=function(){null==a||a.apply(void 0,arguments)};o.useEffect((()=>{let e=null;return l&&(e=setTimeout((()=>{var e;null===(e=p.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]);return o.createElement(v.ZP,Object.assign({},(0,b.nx)(t),{onClick:e=>{if(f.current)return;if(f.current=!0,!d)return void S();let t;if(s){if(t=d(e),u&&!y(t))return f.current=!1,void S(e)}else if(d.length)t=d(a),f.current=!1;else if(t=d(),!t)return void S();(e=>{y(e)&&(h(!0),e.then((function(){h(!1,!0),S.apply(void 0,arguments),f.current=!1}),(e=>{if(h(!1,!0),f.current=!1,!(null==c?void 0:c()))return Promise.reject(e)})))})(t)},loading:g,prefixCls:r},i,{ref:p}),n)};var w=n(3745);const C=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:l,onCancel:s,onConfirm:c}=(0,o.useContext)(w.t);return i?o.createElement(S,{isSilent:r,actionFn:s,close:function(){null==l||l.apply(void 0,arguments),null==c||c(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${a}-btn`},n):null},E=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:l,onConfirm:s,onOk:c}=(0,o.useContext)(w.t);return o.createElement(S,{isSilent:n,type:l||"primary",actionFn:c,close:function(){null==t||t.apply(void 0,arguments),null==s||s(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${i}-btn`},a)};var x=n(6866),_=n(7395),O=n(1194),k=n(4747),$=n(1939);const T=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:l,fontHeight:s,confirmBodyPadding:c}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},(0,k.dF)()),[`&${t} ${t}-body`]:{padding:c},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${(0,_.bf)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls},\n ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},R=(0,$.bk)(["Modal","confirm"],(e=>{const t=(0,O.B4)(e);return[T(t)]}),O.eh,{order:-1e3});var M=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);oT),(0,r.Z)(Object.values(T))),I=o.createElement(o.Fragment,null,o.createElement(C,null),o.createElement(E,null)),P=void 0!==e.title&&null!==e.title,A=`${f}-body`;return o.createElement("div",{className:`${f}-body-wrapper`},o.createElement("div",{className:u()(A,{[`${A}-has-title`]:P})},y,o.createElement("div",{className:`${f}-paragraph`},P&&o.createElement("span",{className:`${f}-title`},e.title),o.createElement("div",{className:`${f}-content`},e.content))),void 0===m||"function"==typeof m?o.createElement(w.n,{value:N},o.createElement("div",{className:`${f}-btns`},"function"==typeof m?m(I,{OkBtn:E,CancelBtn:C}):I)):m,o.createElement(R,{prefixCls:t}))}const I=e=>{const{close:t,zIndex:n,afterClose:r,open:i,keyboard:a,centered:l,getContainer:s,maskStyle:c,direction:p,prefixCls:g,wrapClassName:m,rootPrefixCls:v,bodyStyle:b,closable:y=!1,closeIcon:S,modalRender:w,focusTriggerAfterClose:C,onConfirm:E,styles:_}=e;const O=`${g}-confirm`,k=e.width||416,$=e.style||{},T=void 0===e.mask||e.mask,R=void 0!==e.maskClosable&&e.maskClosable,M=u()(O,`${O}-${e.type}`,{[`${O}-rtl`]:"rtl"===p},e.className),[,I]=(0,h.ZP)(),P=o.useMemo((()=>void 0!==n?n:I.zIndexPopupBase+d.u6),[n,I]);return o.createElement(x.Z,{prefixCls:g,className:M,wrapClassName:u()({[`${O}-centered`]:!!e.centered},m),onCancel:()=>{null==t||t({triggerCancel:!0}),null==E||E(!1)},open:i,title:"",footer:null,transitionName:(0,f.m)(v||"","zoom",e.transitionName),maskTransitionName:(0,f.m)(v||"","fade",e.maskTransitionName),mask:T,maskClosable:R,style:$,styles:Object.assign({body:b,mask:c},_),width:k,zIndex:P,afterClose:r,keyboard:a,centered:l,getContainer:s,closable:y,closeIcon:S,modalRender:w,focusTriggerAfterClose:C},o.createElement(N,Object.assign({},e,{confirmPrefixCls:O})))};const P=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return o.createElement(p.ZP,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},o.createElement(I,Object.assign({},e)))}},6866:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(7294),o=n(4549),i=n(3967),a=n.n(i),l=n(3037),s=n(9760),c=n(3603),u=n(8924);var d=n(3945),f=n(3124),p=n(5702),g=n(4173),h=n(6790);function m(){}const v=r.createContext({add:m,remove:m});var b=n(5514),y=n(1194),S=n(7263),w=n(5792),C=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{E={x:e.pageX,y:e.pageY},setTimeout((()=>{E=null}),100)};(0,u.Z)()&&window.document.documentElement&&document.documentElement.addEventListener("click",x,!0);const _=e=>{var t;const{getPopupContainer:n,getPrefixCls:i,direction:u,modal:m}=r.useContext(f.E_),x=t=>{const{onCancel:n}=e;null==n||n(t)};const{prefixCls:_,className:O,rootClassName:k,open:$,wrapClassName:T,centered:R,getContainer:M,closeIcon:N,closable:I,focusTriggerAfterClose:P=!0,style:A,visible:L,width:j=520,footer:D,classNames:B,styles:z}=e,Z=C(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer","classNames","styles"]),F=i("modal",_),H=i(),W=(0,w.Z)(F),[U,V,q]=(0,y.ZP)(F,W),X=a()(T,{[`${F}-centered`]:!!R,[`${F}-wrap-rtl`]:"rtl"===u}),G=null!==D&&r.createElement(b.$,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:x})),[Y,K]=(0,s.Z)(I,N,(e=>(0,b.b)(F,e)),r.createElement(o.Z,{className:`${F}-close-icon`}),!0),Q=function(e){const t=r.useContext(v),n=r.useRef();return(0,h.zX)((r=>{if(r){const o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)}))}(`.${F}-content`),[J,ee]=(0,S.Cn)("Modal",Z.zIndex);return U(r.createElement(g.BR,null,r.createElement(p.Ux,{status:!0,override:!0},r.createElement(d.Z.Provider,{value:ee},r.createElement(l.Z,Object.assign({width:j},Z,{zIndex:J,getContainer:void 0===M?n:M,prefixCls:F,rootClassName:a()(V,k,q,W),footer:G,visible:null!=$?$:L,mousePosition:null!==(t=Z.mousePosition)&&void 0!==t?t:E,onClose:x,closable:Y,closeIcon:K,focusTriggerAfterClose:P,transitionName:(0,c.m)(H,"zoom",e.transitionName),maskTransitionName:(0,c.m)(H,"fade",e.maskTransitionName),className:a()(V,O,null==m?void 0:m.className),style:Object.assign(Object.assign({},null==m?void 0:m.style),A),classNames:Object.assign(Object.assign(Object.assign({},null==m?void 0:m.classNames),B),{wrapper:a()(X,null==B?void 0:B.wrapper)}),styles:Object.assign(Object.assign({},null==m?void 0:m.styles),z),panelRef:Q}))))))}},6080:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>b,Au:()=>y,ZP:()=>g,ai:()=>S,cw:()=>m,uW:()=>h,vq:()=>v});var r=n(3433),o=n(7294),i=n(8135),a=n(3124),l=n(6854),s=n(9827),c=n(8657),u=n(3008);let d="";function f(){return d}const p=e=>{var t,n;const{prefixCls:r,getContainer:i,direction:l}=e,c=(0,u.A)(),d=(0,o.useContext)(a.E_),p=f()||d.getPrefixCls(),g=r||`${p}-modal`;let h=i;return!1===h&&(h=void 0),o.createElement(s.Z,Object.assign({},e,{rootPrefixCls:p,prefixCls:g,iconPrefixCls:d.iconPrefixCls,theme:d.theme,direction:null!=l?l:d.direction,locale:null!==(n=null===(t=d.locale)||void 0===t?void 0:t.Modal)&&void 0!==n?n:c,getContainer:h}))};function g(e){const t=(0,l.w6)();const n=document.createDocumentFragment();let a,s=Object.assign(Object.assign({},e),{close:g,open:!0});function u(){for(var t=arguments.length,o=new Array(t),a=0;ae&&e.triggerCancel));e.onCancel&&l&&e.onCancel.apply(e,[()=>{}].concat((0,r.Z)(o.slice(1))));for(let e=0;e{const r=t.getPrefixCls(void 0,f()),a=t.getIconPrefixCls(),s=t.getTheme(),c=o.createElement(p,Object.assign({},e));(0,i.s)(o.createElement(l.ZP,{prefixCls:r,iconPrefixCls:a,theme:s},t.holderRender?t.holderRender(c):c),n)}))}function g(){for(var t=arguments.length,n=new Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),u.apply(this,n)}}),s.visible&&delete s.visible,d(s)}return d(s),c.Z.push(g),{destroy:g,update:function(e){s="function"==typeof e?e(s):Object.assign(Object.assign({},s),e),d(s)}}}function h(e){return Object.assign(Object.assign({},e),{type:"warning"})}function m(e){return Object.assign(Object.assign({},e),{type:"info"})}function v(e){return Object.assign(Object.assign({},e),{type:"success"})}function b(e){return Object.assign(Object.assign({},e),{type:"error"})}function y(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function S(e){let{rootPrefixCls:t}=e;d=t}},3745:(e,t,n)=>{"use strict";n.d(t,{n:()=>o,t:()=>r});const r=n(7294).createContext({}),{Provider:o}=r},8657:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=[]},3008:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,f:()=>l});var r=n(9375);let o=Object.assign({},r.Z.Modal),i=[];const a=()=>i.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),r.Z.Modal);function l(e){if(e){const t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter((e=>e!==t)),o=a()}}o=Object.assign({},r.Z.Modal)}function s(){return o}},5514:(e,t,n)=>{"use strict";n.d(t,{$:()=>h,b:()=>g});var r=n(3433),o=n(7294),i=n(4549),a=n(8866),l=n(110),s=n(4666),c=n(3745);const u=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,o.useContext)(c.t);return o.createElement(s.ZP,Object.assign({onClick:n},e),t)};var d=n(3671);const f=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,o.useContext)(c.t);return o.createElement(s.ZP,Object.assign({},(0,d.nx)(n),{loading:e,onClick:i},t),r)};var p=n(3008);function g(e,t){return o.createElement("span",{className:`${e}-close-x`},t||o.createElement(i.Z,{className:`${e}-close-icon`}))}const h=e=>{const{okText:t,okType:n="primary",cancelText:i,confirmLoading:s,onOk:d,onCancel:g,okButtonProps:h,cancelButtonProps:m,footer:v}=e,[b]=(0,l.Z)("Modal",(0,p.A)()),y={confirmLoading:s,okButtonProps:h,cancelButtonProps:m,okTextLocale:t||(null==b?void 0:b.okText),cancelTextLocale:i||(null==b?void 0:b.cancelText),okType:n,onOk:d,onCancel:g},S=o.useMemo((()=>y),(0,r.Z)(Object.values(y)));let w;return"function"==typeof v||void 0===v?(w=o.createElement(o.Fragment,null,o.createElement(u,null),o.createElement(f,null)),"function"==typeof v&&(w=v(w,{OkBtn:f,CancelBtn:u})),w=o.createElement(c.n,{value:S},w)):w=v,o.createElement(a.n,{disabled:!1},w)}},1194:(e,t,n)=>{"use strict";n.d(t,{B4:()=>p,QA:()=>u,ZP:()=>h,eh:()=>g});var r=n(4747),o=n(6932),i=n(438),a=n(5503),l=n(1939),s=n(7395);function c(e){return{position:e,inset:0}}const u=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},c("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},c("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${t}${n}-zoom-enter), &:has(${t}${n}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${t}-root`]:(0,o.J$)(e)}]},d=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,s.bf)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,s.bf)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,s.bf)(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},(0,r.Qy)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,s.bf)(e.borderRadiusLG)} ${(0,s.bf)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},f=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},p=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,a.TS)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},g=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${(0,s.bf)(e.paddingMD)} ${(0,s.bf)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,s.bf)(e.padding)} ${(0,s.bf)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,s.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,s.bf)(e.paddingXS)} ${(0,s.bf)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,s.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,s.bf)(e.borderRadiusLG)} ${(0,s.bf)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,s.bf)(2*e.padding)} ${(0,s.bf)(2*e.padding)} ${(0,s.bf)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),h=(0,l.I$)("Modal",(e=>{const t=p(e);return[d(t),f(t),u(t),(0,i._y)(t,"zoom")]}),g,{unitless:{titleLineHeight:!0}})},61:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(3433),o=n(7294);var i=n(6080),a=n(8657),l=n(3124),s=n(9375),c=n(110),u=n(9827),d=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{var n,{afterClose:i,config:a}=e,f=d(e,["afterClose","config"]);const[p,g]=o.useState(!0),[h,m]=o.useState(a),{direction:v,getPrefixCls:b}=o.useContext(l.E_),y=b("modal"),S=b(),w=function(){g(!1);for(var e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));h.onCancel&&o&&h.onCancel.apply(h,[()=>{}].concat((0,r.Z)(t.slice(1))))};o.useImperativeHandle(t,(()=>({destroy:w,update:e=>{m((t=>Object.assign(Object.assign({},t),e)))}})));const C=null!==(n=h.okCancel)&&void 0!==n?n:"confirm"===h.type,[E]=(0,c.Z)("Modal",s.Z.Modal);return o.createElement(u.Z,Object.assign({prefixCls:y,rootPrefixCls:S},h,{close:w,open:p,afterClose:()=>{var e;i(),null===(e=h.afterClose)||void 0===e||e.call(h)},okText:h.okText||(C?null==E?void 0:E.okText:null==E?void 0:E.justOkText),direction:h.direction||v,cancelText:h.cancelText||(null==E?void 0:E.cancelText)},f))},p=o.forwardRef(f);let g=0;const h=o.memo(o.forwardRef(((e,t)=>{const[n,i]=function(){const[e,t]=o.useState([]);return[e,o.useCallback((e=>(t((t=>[].concat((0,r.Z)(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return o.useImperativeHandle(t,(()=>({patchElement:i})),[]),o.createElement(o.Fragment,null,n)})));const m=function(){const e=o.useRef(null),[t,n]=o.useState([]);o.useEffect((()=>{if(t.length){(0,r.Z)(t).forEach((e=>{e()})),n([])}}),[t]);const l=o.useCallback((t=>function(i){var l;g+=1;const s=o.createRef();let c;const u=new Promise((e=>{c=e}));let d,f=!1;const h=o.createElement(p,{key:`modal-${g}`,config:t(i),ref:s,afterClose:()=>{null==d||d()},isSilent:()=>f,onConfirm:e=>{c(e)}});d=null===(l=e.current)||void 0===l?void 0:l.patchElement(h),d&&a.Z.push(d);const m={destroy:()=>{function e(){var e;null===(e=s.current)||void 0===e||e.destroy()}s.current?e():n((t=>[].concat((0,r.Z)(t),[e])))},update:e=>{function t(){var t;null===(t=s.current)||void 0===t||t.update(e)}s.current?t():n((e=>[].concat((0,r.Z)(e),[t])))},then:e=>(f=!0,u.then(e))};return m}),[]);return[o.useMemo((()=>({info:l(i.cw),success:l(i.vq),error:l(i.AQ),warning:l(i.uW),confirm:l(i.Au)})),[]),o.createElement(h,{key:"modal-holder",ref:e})]}},700:(e,t,n)=>{"use strict";n.d(t,{CW:()=>C,ZP:()=>E,z5:()=>S});var r=n(7294),o=n(8819),i=n(3061),a=n(4549),l=n(8855),s=n(847),c=n(7085),u=n(3967),d=n.n(u),f=n(6871),p=n(3124),g=n(5792),h=n(8295),m=n(1939),v=n(7395);const b=(0,m.bk)(["Notification","PurePanel"],(e=>{const t=`${e.componentCls}-notice`,n=(0,h.Rp)(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},(0,h.$e)(n)),{width:n.width,maxWidth:`calc(100vw - ${(0,v.bf)(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}}),h.eh);var y=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{const{prefixCls:t,icon:n,type:o,message:i,description:a,btn:l,role:s="alert"}=e;let c=null;return n?c=r.createElement("span",{className:`${t}-icon`},n):o&&(c=r.createElement(w[o]||null,{className:d()(`${t}-icon`,`${t}-icon-${o}`)})),r.createElement("div",{className:d()({[`${t}-with-icon`]:c}),role:s},c,r.createElement("div",{className:`${t}-message`},i),r.createElement("div",{className:`${t}-description`},a),l&&r.createElement("div",{className:`${t}-btn`},l))},E=e=>{const{prefixCls:t,className:n,icon:o,type:i,message:a,description:l,btn:s,closable:c=!0,closeIcon:u,className:m}=e,v=y(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:w}=r.useContext(p.E_),E=t||w("notification"),x=`${E}-notice`,_=(0,g.Z)(E),[O,k,$]=(0,h.ZP)(E,_);return O(r.createElement("div",{className:d()(`${x}-pure-panel`,k,n,$,_)},r.createElement(b,{prefixCls:E}),r.createElement(f.qX,Object.assign({},v,{prefixCls:E,eventKey:"pure",duration:null,closable:c,className:d()({notificationClassName:m}),closeIcon:S(E,u),content:r.createElement(C,{prefixCls:x,icon:o,type:i,message:a,description:l,btn:s})}))))}},8295:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>b,$e:()=>g,eh:()=>m,Rp:()=>v});var r=n(7395),o=n(7263),i=n(4747),a=n(5503),l=n(1939);const s=e=>{const{componentCls:t,notificationMarginEdge:n,animationMaxHeight:o}=e,i=`${t}-notice`,a=new r.E4("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new r.E4("antNotificationTopFadeIn",{"0%":{top:-o,opacity:0},"100%":{top:0,opacity:1}})}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new r.E4("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(o).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}})}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new r.E4("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}})}}}}},c=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],u={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},d=e=>{const t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},f=e=>{const t={};for(let n=1;n{const{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},d(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},f(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},c.map((t=>((e,t)=>{const{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[u[t]]:{value:0,_skip_check_:!0}}}}})(e,t))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}))},g=e=>{const{iconCls:t,componentCls:n,boxShadow:o,fontSizeLG:i,notificationMarginBottom:a,borderRadiusLG:l,colorSuccess:s,colorInfo:c,colorWarning:u,colorError:d,colorTextHeading:f,notificationBg:p,notificationPadding:g,notificationMarginEdge:h,fontSize:m,lineHeight:v,width:b,notificationIconSize:y,colorText:S}=e,w=`${n}-notice`;return{position:"relative",marginBottom:a,marginInlineStart:"auto",background:p,borderRadius:l,boxShadow:o,[w]:{padding:g,width:b,maxWidth:`calc(100vw - ${(0,r.bf)(e.calc(h).mul(2).equal())})`,overflow:"hidden",lineHeight:v,wordWrap:"break-word"},[`${n}-close-icon`]:{fontSize:m,cursor:"pointer"},[`${w}-message`]:{marginBottom:e.marginXS,color:f,fontSize:i,lineHeight:e.lineHeightLG},[`${w}-description`]:{fontSize:m,color:S},[`${w}-closable ${w}-message`]:{paddingInlineEnd:e.paddingLG},[`${w}-with-icon ${w}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(y).equal(),fontSize:i},[`${w}-with-icon ${w}-description`]:{marginInlineStart:e.calc(e.marginSM).add(y).equal(),fontSize:m},[`${w}-icon`]:{position:"absolute",fontSize:y,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:d}},[`${w}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.closeBtnHoverBg}},[`${w}-btn`]:{float:"right",marginTop:e.marginSM}}},h=e=>{const{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:o,motionDurationMid:a,motionEaseInOut:l}=e,s=`${t}-notice`,c=new r.E4("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:o,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:l,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:l,animationFillMode:"both",animationDuration:a,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:c,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${s}-btn`]:{float:"left"}}})},{[t]:{[`${s}-wrapper`]:Object.assign({},g(e))}}]},m=e=>({zIndexPopup:e.zIndexPopupBase+o.u6+50,width:384,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent}),v=e=>{const t=e.paddingMD,n=e.paddingLG;return(0,a.TS)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${(0,r.bf)(e.paddingMD)} ${(0,r.bf)(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3})},b=(0,l.I$)("Notification",(e=>{const t=v(e);return[h(t),s(t),p(t)]}),m)},7107:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y,k:()=>b});var r=n(7294),o=n(3967),i=n.n(o),a=n(6871),l=n(7288),s=n(3124),c=n(5792),u=n(7606),d=n(700),f=n(8295);var p=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{let{children:t,prefixCls:n}=e;const o=(0,c.Z)(n),[l,s,u]=(0,f.ZP)(n,o);return l(r.createElement(a.JB,{classNames:{list:i()(s,u,o)}},t))},m=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(h,{prefixCls:n,key:o},e)},v=r.forwardRef(((e,t)=>{const{top:n,bottom:o,prefixCls:l,getContainer:c,maxCount:f,rtl:p,onAllRemoved:g,stack:h}=e,{getPrefixCls:v,getPopupContainer:b,notification:y,direction:S}=(0,r.useContext)(s.E_),[,w]=(0,u.ZP)(),C=l||v("notification"),[E,x]=(0,a.lm)({prefixCls:C,style:e=>function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r}(e,null!=n?n:24,null!=o?o:24),className:()=>i()({[`${C}-rtl`]:null!=p?p:"rtl"===S}),motion:()=>function(e){return{motionName:`${e}-fade`}}(C),closable:!0,closeIcon:(0,d.z5)(C),duration:4.5,getContainer:()=>(null==c?void 0:c())||(null==b?void 0:b())||document.body,maxCount:f,onAllRemoved:g,renderNotifications:m,stack:!1!==h&&{threshold:"object"==typeof h?null==h?void 0:h.threshold:void 0,offset:8,gap:w.margin}});return r.useImperativeHandle(t,(()=>Object.assign(Object.assign({},E),{prefixCls:C,notification:y}))),x}));function b(e){const t=r.useRef(null),n=((0,l.ln)("Notification"),r.useMemo((()=>{const n=n=>{var o;if(!t.current)return;const{open:a,prefixCls:l,notification:s}=t.current,c=`${l}-notice`,{message:u,description:f,icon:h,type:m,btn:v,className:b,style:y,role:S="alert",closeIcon:w}=n,C=p(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),E=(0,d.z5)(c,w);return a(Object.assign(Object.assign({placement:null!==(o=null==e?void 0:e.placement)&&void 0!==o?o:g},C),{content:r.createElement(d.CW,{prefixCls:c,icon:h,type:m,message:u,description:f,btn:v,role:S}),className:i()(m&&`${c}-${m}`,b,null==s?void 0:s.className),style:Object.assign(Object.assign({},null==s?void 0:s.style),y),closeIcon:E,closable:!!E}))},o={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach((e=>{o[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))})),o}),[]));return[n,r.createElement(v,Object.assign({key:"notification-holder"},e,{ref:t}))]}function y(e){return b(e)}},6636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>br});var r=n(7462),o=n(7294);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};var a=n(76),l=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};const s=o.forwardRef(l);const c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};var u=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:c}))};const d=o.forwardRef(u);var f=n(7724),p=n(8812),g=n(3967),h=n.n(g),m=n(4942),v=n(1413),b=n(9439),y=n(1770),S=n(5105),w=n(4217),C=n(334);const E={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"};var x=["10","20","50","100"];const _=function(e){var t=e.pageSizeOptions,n=void 0===t?x:t,r=e.locale,i=e.changeSize,a=e.pageSize,l=e.goButton,s=e.quickGo,c=e.rootPrefixCls,u=e.selectComponentClass,d=e.selectPrefixCls,f=e.disabled,p=e.buildOptionText,g=o.useState(""),h=(0,b.Z)(g,2),m=h[0],v=h[1],y=function(){return!m||Number.isNaN(m)?void 0:Number(m)},w="function"==typeof p?p:function(e){return"".concat(e," ").concat(r.items_per_page)},C=function(e){""!==m&&(e.keyCode!==S.Z.ENTER&&"click"!==e.type||(v(""),null==s||s(y())))},E="".concat(c,"-options");if(!i&&!s)return null;var _=null,O=null,k=null;if(i&&u){var $=(n.some((function(e){return e.toString()===a.toString()}))?n:n.concat([a.toString()]).sort((function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))}))).map((function(e,t){return o.createElement(u.Option,{key:t,value:e.toString()},w(e))}));_=o.createElement(u,{disabled:f,prefixCls:d,showSearch:!1,className:"".concat(E,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(a||n[0]).toString(),onChange:function(e){null==i||i(Number(e))},getPopupContainer:function(e){return e.parentNode},"aria-label":r.page_size,defaultOpen:!1},$)}return s&&(l&&(k="boolean"==typeof l?o.createElement("button",{type:"button",onClick:C,onKeyUp:C,disabled:f,className:"".concat(E,"-quick-jumper-button")},r.jump_to_confirm):o.createElement("span",{onClick:C,onKeyUp:C},l)),O=o.createElement("div",{className:"".concat(E,"-quick-jumper")},r.jump_to,o.createElement("input",{disabled:f,type:"text",value:m,onChange:function(e){v(e.target.value)},onKeyUp:C,onBlur:function(e){l||""===m||(v(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(c,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(c,"-item"))>=0)||null==s||s(y()))},"aria-label":r.page}),r.page,k)),o.createElement("li",{className:E},_,O)};const O=function(e){var t,n=e.rootPrefixCls,r=e.page,i=e.active,a=e.className,l=e.showTitle,s=e.onClick,c=e.onKeyPress,u=e.itemRender,d="".concat(n,"-item"),f=h()(d,"".concat(d,"-").concat(r),(t={},(0,m.Z)(t,"".concat(d,"-active"),i),(0,m.Z)(t,"".concat(d,"-disabled"),!r),t),a),p=u(r,"page",o.createElement("a",{rel:"nofollow"},r));return p?o.createElement("li",{title:l?String(r):null,className:f,onClick:function(){s(r)},onKeyDown:function(e){c(e,s,r)},tabIndex:0},p):null};var k=function(e,t,n){return n};function $(){}function T(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function R(e,t,n){var r=void 0===e?t:e;return Math.floor((n-1)/r)+1}const M=function(e){var t,n=e.prefixCls,i=void 0===n?"rc-pagination":n,a=e.selectPrefixCls,l=void 0===a?"rc-select":a,s=e.className,c=e.selectComponentClass,u=e.current,d=e.defaultCurrent,f=void 0===d?1:d,p=e.total,g=void 0===p?0:p,C=e.pageSize,x=e.defaultPageSize,M=void 0===x?10:x,N=e.onChange,I=void 0===N?$:N,P=e.hideOnSinglePage,A=e.showPrevNextJumpers,L=void 0===A||A,j=e.showQuickJumper,D=e.showLessItems,B=e.showTitle,z=void 0===B||B,Z=e.onShowSizeChange,F=void 0===Z?$:Z,H=e.locale,W=void 0===H?E:H,U=e.style,V=e.totalBoundaryShowSizeChanger,q=void 0===V?50:V,X=e.disabled,G=e.simple,Y=e.showTotal,K=e.showSizeChanger,Q=e.pageSizeOptions,J=e.itemRender,ee=void 0===J?k:J,te=e.jumpPrevIcon,ne=e.jumpNextIcon,re=e.prevIcon,oe=e.nextIcon,ie=o.useRef(null),ae=(0,y.Z)(10,{value:C,defaultValue:M}),le=(0,b.Z)(ae,2),se=le[0],ce=le[1],ue=(0,y.Z)(1,{value:u,defaultValue:f,postState:function(e){return Math.max(1,Math.min(e,R(void 0,se,g)))}}),de=(0,b.Z)(ue,2),fe=de[0],pe=de[1],ge=o.useState(fe),he=(0,b.Z)(ge,2),me=he[0],ve=he[1];(0,o.useEffect)((function(){ve(fe)}),[fe]);var be=Math.max(1,fe-(D?3:5)),ye=Math.min(R(void 0,se,g),fe+(D?3:5));function Se(t,n){var r=t||o.createElement("button",{type:"button","aria-label":n,className:"".concat(i,"-item-link")});return"function"==typeof t&&(r=o.createElement(t,(0,v.Z)({},e))),r}function we(e){var t=e.target.value,n=R(void 0,se,g);return""===t?t:Number.isNaN(Number(t))?me:t>=n?n:Number(t)}var Ce=g>se&&j;function Ee(e){var t=we(e);switch(t!==me&&ve(t),e.keyCode){case S.Z.ENTER:xe(t);break;case S.Z.UP:xe(t-1);break;case S.Z.DOWN:xe(t+1)}}function xe(e){if(function(e){return T(e)&&e!==fe&&T(g)&&g>0}(e)&&!X){var t=R(void 0,se,g),n=e;return e>t?n=t:e<1&&(n=1),n!==me&&ve(n),pe(n),null==I||I(n,se),n}return fe}var _e=fe>1,Oe=feq;function $e(){_e&&xe(fe-1)}function Te(){Oe&&xe(fe+1)}function Re(){xe(be)}function Me(){xe(ye)}function Ne(e,t){if("Enter"===e.key||e.charCode===S.Z.ENTER||e.keyCode===S.Z.ENTER){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;og?g:fe*se])),je=null,De=R(void 0,se,g);if(P&&g<=se)return null;var Be=[],ze={rootPrefixCls:i,onClick:xe,onKeyPress:Ne,showTitle:z,itemRender:ee,page:-1},Ze=fe-1>0?fe-1:0,Fe=fe+1=2*Ve&&3!==fe&&(Be[0]=o.cloneElement(Be[0],{className:h()("".concat(i,"-item-after-jump-prev"),Be[0].props.className)}),Be.unshift(Pe)),De-fe>=2*Ve&&fe!==De-2){var tt=Be[Be.length-1];Be[Be.length-1]=o.cloneElement(tt,{className:h()("".concat(i,"-item-before-jump-next"),tt.props.className)}),Be.push(je)}1!==Qe&&Be.unshift(o.createElement(O,(0,r.Z)({},ze,{key:1,page:1}))),Je!==De&&Be.push(o.createElement(O,(0,r.Z)({},ze,{key:De,page:De})))}var nt=function(e){var t=ee(e,"prev",Se(re,"prev page"));return o.isValidElement(t)?o.cloneElement(t,{disabled:!_e}):t}(Ze);if(nt){var rt=!_e||!De;nt=o.createElement("li",{title:z?W.prev_page:null,onClick:$e,tabIndex:rt?null:0,onKeyDown:function(e){Ne(e,$e)},className:h()("".concat(i,"-prev"),(0,m.Z)({},"".concat(i,"-disabled"),rt)),"aria-disabled":rt},nt)}var ot,it,at=function(e){var t=ee(e,"next",Se(oe,"next page"));return o.isValidElement(t)?o.cloneElement(t,{disabled:!Oe}):t}(Fe);at&&(G?(ot=!Oe,it=_e?0:null):it=(ot=!Oe||!De)?null:0,at=o.createElement("li",{title:z?W.next_page:null,onClick:Te,tabIndex:it,onKeyDown:function(e){Ne(e,Te)},className:h()("".concat(i,"-next"),(0,m.Z)({},"".concat(i,"-disabled"),ot)),"aria-disabled":ot},at));var lt=h()(i,s,(t={},(0,m.Z)(t,"".concat(i,"-simple"),G),(0,m.Z)(t,"".concat(i,"-disabled"),X),t));return o.createElement("ul",(0,r.Z)({className:lt,style:U,ref:ie},Ae),Le,nt,G?Ue:Be,at,o.createElement(_,{locale:W,rootPrefixCls:i,disabled:X,selectComponentClass:c,selectPrefixCls:l,changeSize:ke?function(e){var t=R(e,se,g),n=fe>t&&0!==t?t:fe;ce(e),ve(n),null==F||F(fe,e),pe(n),null==I||I(n,e)}:null,pageSize:se,pageSizeOptions:Q,quickGo:Ce?xe:null,goButton:We}))};var N=n(2906),I=n(3124),P=n(8675),A=n(6413),L=n(110),j=n(3433),D=n(4925),B=n(1002),z=n(8410),Z=n(1131),F=n(2550);const H=function(e){var t=e.className,n=e.customizeIcon,r=e.customizeIconProps,i=e.children,a=e.onMouseDown,l=e.onClick,s="function"==typeof n?n(r):n;return o.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==a||a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==s?s:o.createElement("span",{className:h()(t.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},i))};var W=o.createContext(null);function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=o.useRef(null),n=o.useRef(null);return o.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},function(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}]}var V=n(6278),q=function(e,t){var n,r=e.prefixCls,i=e.id,a=e.inputElement,l=e.disabled,s=e.tabIndex,c=e.autoFocus,u=e.autoComplete,d=e.editable,f=e.activeDescendantId,p=e.value,g=e.maxLength,m=e.onKeyDown,b=e.onMouseDown,y=e.onChange,S=e.onPaste,w=e.onCompositionStart,E=e.onCompositionEnd,x=e.open,_=e.attrs,O=a||o.createElement("input",null),k=O,$=k.ref,T=k.props,R=T.onKeyDown,M=T.onChange,N=T.onMouseDown,I=T.onCompositionStart,P=T.onCompositionEnd,A=T.style;return(0,C.Kp)(!("maxLength"in O.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),O=o.cloneElement(O,(0,v.Z)((0,v.Z)((0,v.Z)({type:"search"},T),{},{id:i,ref:(0,F.sQ)(t,$),disabled:l,tabIndex:s,autoComplete:u||"off",autoFocus:c,className:h()("".concat(r,"-selection-search-input"),null===(n=O)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":x?f:void 0},_),{},{value:d?p:"",maxLength:g,readOnly:!d,unselectable:d?null:"on",style:(0,v.Z)((0,v.Z)({},A),{},{opacity:d?null:0}),onKeyDown:function(e){m(e),R&&R(e)},onMouseDown:function(e){b(e),N&&N(e)},onChange:function(e){y(e),M&&M(e)},onCompositionStart:function(e){w(e),I&&I(e)},onCompositionEnd:function(e){E(e),P&&P(e)},onPaste:S}))};const X=o.forwardRef(q);function G(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var Y="undefined"!=typeof window&&window.document&&window.document.documentElement;function K(e){return["string","number"].includes((0,B.Z)(e))}function Q(e){var t=void 0;return e&&(K(e.title)?t=e.title.toString():K(e.label)&&(t=e.label.toString())),t}function J(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var ee=function(e){e.preventDefault(),e.stopPropagation()};const te=function(e){var t,n,r=e.id,i=e.prefixCls,a=e.values,l=e.open,s=e.searchValue,c=e.autoClearSearchValue,u=e.inputRef,d=e.placeholder,f=e.disabled,p=e.mode,g=e.showSearch,v=e.autoFocus,y=e.autoComplete,S=e.activeDescendantId,C=e.tabIndex,E=e.removeIcon,x=e.maxTagCount,_=e.maxTagTextLength,O=e.maxTagPlaceholder,k=void 0===O?function(e){return"+ ".concat(e.length," ...")}:O,$=e.tagRender,T=e.onToggleOpen,R=e.onRemove,M=e.onInputChange,N=e.onInputPaste,I=e.onInputKeyDown,P=e.onInputMouseDown,A=e.onInputCompositionStart,L=e.onInputCompositionEnd,j=o.useRef(null),D=(0,o.useState)(0),B=(0,b.Z)(D,2),z=B[0],Z=B[1],F=(0,o.useState)(!1),W=(0,b.Z)(F,2),U=W[0],q=W[1],G="".concat(i,"-selection"),K=l||"multiple"===p&&!1===c||"tags"===p?s:"",te="tags"===p||"multiple"===p&&!1===c||g&&(l||U);t=function(){Z(j.current.scrollWidth)},n=[K],Y?o.useLayoutEffect(t,n):o.useEffect(t,n);var ne=function(e,t,n,r,i){return o.createElement("span",{title:Q(e),className:h()("".concat(G,"-item"),(0,m.Z)({},"".concat(G,"-item-disabled"),n))},o.createElement("span",{className:"".concat(G,"-item-content")},t),r&&o.createElement(H,{className:"".concat(G,"-item-remove"),onMouseDown:ee,onClick:i,customizeIcon:E},"×"))},re=o.createElement("div",{className:"".concat(G,"-search"),style:{width:z},onFocus:function(){q(!0)},onBlur:function(){q(!1)}},o.createElement(X,{ref:u,open:l,prefixCls:i,id:r,inputElement:null,disabled:f,autoFocus:v,autoComplete:y,editable:te,activeDescendantId:S,value:K,onKeyDown:I,onMouseDown:P,onChange:M,onPaste:N,onCompositionStart:A,onCompositionEnd:L,tabIndex:C,attrs:(0,w.Z)(e,!0)}),o.createElement("span",{ref:j,className:"".concat(G,"-search-mirror"),"aria-hidden":!0},K," ")),oe=o.createElement(V.Z,{prefixCls:"".concat(G,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,r=e.value,i=!f&&!t,a=n;if("number"==typeof _&&("string"==typeof n||"number"==typeof n)){var s=String(a);s.length>_&&(a="".concat(s.slice(0,_),"..."))}var c=function(t){t&&t.stopPropagation(),R(e)};return"function"==typeof $?function(e,t,n,r,i){return o.createElement("span",{onMouseDown:function(e){ee(e),T(!l)}},$({label:t,value:e,disabled:n,closable:r,onClose:i}))}(r,a,t,i,c):ne(e,a,t,i,c)},renderRest:function(e){var t="function"==typeof k?k(e):k;return ne({title:t},t,!1)},suffix:re,itemKey:J,maxCount:x});return o.createElement(o.Fragment,null,oe,!a.length&&!K&&o.createElement("span",{className:"".concat(G,"-placeholder")},d))};const ne=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,i=e.inputRef,a=e.disabled,l=e.autoFocus,s=e.autoComplete,c=e.activeDescendantId,u=e.mode,d=e.open,f=e.values,p=e.placeholder,g=e.tabIndex,h=e.showSearch,m=e.searchValue,v=e.activeValue,y=e.maxLength,S=e.onInputKeyDown,C=e.onInputMouseDown,E=e.onInputChange,x=e.onInputPaste,_=e.onInputCompositionStart,O=e.onInputCompositionEnd,k=e.title,$=o.useState(!1),T=(0,b.Z)($,2),R=T[0],M=T[1],N="combobox"===u,I=N||h,P=f[0],A=m||"";N&&v&&!R&&(A=v),o.useEffect((function(){N&&M(!1)}),[N,v]);var L=!("combobox"!==u&&!d&&!h)&&!!A,j=void 0===k?Q(P):k,D=o.useMemo((function(){return P?null:o.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},p)}),[P,L,p,n]);return o.createElement(o.Fragment,null,o.createElement("span",{className:"".concat(n,"-selection-search")},o.createElement(X,{ref:i,prefixCls:n,id:r,open:d,inputElement:t,disabled:a,autoFocus:l,autoComplete:s,editable:I,activeDescendantId:c,value:A,onKeyDown:S,onMouseDown:C,onChange:function(e){M(!0),E(e)},onPaste:x,onCompositionStart:_,onCompositionEnd:O,tabIndex:g,attrs:(0,w.Z)(e,!0),maxLength:N?y:void 0})),!N&&P?o.createElement("span",{className:"".concat(n,"-selection-item"),title:j,style:L?{visibility:"hidden"}:void 0},P.label):null,D)};var re=function(e,t){var n=(0,o.useRef)(null),i=(0,o.useRef)(!1),a=e.prefixCls,l=e.open,s=e.mode,c=e.showSearch,u=e.tokenWithEnter,d=e.autoClearSearchValue,f=e.onSearch,p=e.onSearchSubmit,g=e.onToggleOpen,h=e.onInputKeyDown,m=e.domRef;o.useImperativeHandle(t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var v=U(0),y=(0,b.Z)(v,2),w=y[0],C=y[1],E=(0,o.useRef)(null),x=function(e){!1!==f(e,!0,i.current)&&g(!0)},_={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==S.Z.UP&&n!==S.Z.DOWN||e.preventDefault(),h&&h(e),n!==S.Z.ENTER||"tags"!==s||i.current||l||null==p||p(e.target.value),t=n,[S.Z.ESC,S.Z.SHIFT,S.Z.BACKSPACE,S.Z.TAB,S.Z.WIN_KEY,S.Z.ALT,S.Z.META,S.Z.WIN_KEY_RIGHT,S.Z.CTRL,S.Z.SEMICOLON,S.Z.EQUALS,S.Z.CAPS_LOCK,S.Z.CONTEXT_MENU,S.Z.F1,S.Z.F2,S.Z.F3,S.Z.F4,S.Z.F5,S.Z.F6,S.Z.F7,S.Z.F8,S.Z.F9,S.Z.F10,S.Z.F11,S.Z.F12].includes(t)||g(!0)},onInputMouseDown:function(){C(!0)},onInputChange:function(e){var t=e.target.value;if(u&&E.current&&/[\r\n]/.test(E.current)){var n=E.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,E.current)}E.current=null,x(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");E.current=n||""},onInputCompositionStart:function(){i.current=!0},onInputCompositionEnd:function(e){i.current=!1,"combobox"!==s&&x(e.target.value)}},O="multiple"===s||"tags"===s?o.createElement(te,(0,r.Z)({},e,_)):o.createElement(ne,(0,r.Z)({},e,_));return o.createElement("div",{ref:m,className:"".concat(a,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=w();e.target===n.current||t||"combobox"===s||e.preventDefault(),("combobox"===s||c&&t)&&l||(l&&!1!==d&&f("",!0,!1),g())}},O)};const oe=o.forwardRef(re);var ie=n(2507),ae=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],le=function(e,t){var n=e.prefixCls,i=(e.disabled,e.visible),a=e.children,l=e.popupElement,s=e.animation,c=e.transitionName,u=e.dropdownStyle,d=e.dropdownClassName,f=e.direction,p=void 0===f?"ltr":f,g=e.placement,b=e.builtinPlacements,y=e.dropdownMatchSelectWidth,S=e.dropdownRender,w=e.dropdownAlign,C=e.getPopupContainer,E=e.empty,x=e.getTriggerDOMNode,_=e.onPopupVisibleChange,O=e.onPopupMouseEnter,k=(0,D.Z)(e,ae),$="".concat(n,"-dropdown"),T=l;S&&(T=S(l));var R=o.useMemo((function(){return b||function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}}(y)}),[b,y]),M=s?"".concat($,"-").concat(s):c,N="number"==typeof y,I=o.useMemo((function(){return N?null:!1===y?"minWidth":"width"}),[y,N]),P=u;N&&(P=(0,v.Z)((0,v.Z)({},P),{},{width:y}));var A=o.useRef(null);return o.useImperativeHandle(t,(function(){return{getPopupElement:function(){return A.current}}})),o.createElement(ie.Z,(0,r.Z)({},k,{showAction:_?["click"]:[],hideAction:_?["click"]:[],popupPlacement:g||("rtl"===p?"bottomRight":"bottomLeft"),builtinPlacements:R,prefixCls:$,popupTransitionName:M,popup:o.createElement("div",{ref:A,onMouseEnter:O},T),stretch:I,popupAlign:w,popupVisible:i,getPopupContainer:C,popupClassName:h()(d,(0,m.Z)({},"".concat($,"-empty"),E)),popupStyle:P,getTriggerDOMNode:x,onPopupVisibleChange:_}),a)};const se=o.forwardRef(le);var ce=n(4506);function ue(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function de(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function fe(e){var t=(0,v.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,C.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}const pe=o.createContext(null);var ge=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],he=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],me=function(e){return"tags"===e||"multiple"===e},ve=o.forwardRef((function(e,t){var n,i,a=e.id,l=e.prefixCls,s=e.className,c=e.showSearch,u=e.tagRender,d=e.direction,f=e.omitDomProps,p=e.displayValues,g=e.onDisplayValuesChange,w=e.emptyOptions,C=e.notFoundContent,E=void 0===C?"Not Found":C,x=e.onClear,_=e.mode,O=e.disabled,k=e.loading,$=e.getInputElement,T=e.getRawInputElement,R=e.open,M=e.defaultOpen,N=e.onDropdownVisibleChange,I=e.activeValue,P=e.onActiveValueChange,A=e.activeDescendantId,L=e.searchValue,V=e.autoClearSearchValue,q=e.onSearch,X=e.onSearchSplit,G=e.tokenSeparators,Y=e.allowClear,K=e.suffixIcon,Q=e.clearIcon,J=e.OptionList,ee=e.animation,te=e.transitionName,ne=e.dropdownStyle,re=e.dropdownClassName,ie=e.dropdownMatchSelectWidth,ae=e.dropdownRender,le=e.dropdownAlign,ue=e.placement,de=e.builtinPlacements,fe=e.getPopupContainer,ve=e.showAction,be=void 0===ve?[]:ve,ye=e.onFocus,Se=e.onBlur,we=e.onKeyUp,Ce=e.onKeyDown,Ee=e.onMouseDown,xe=(0,D.Z)(e,ge),_e=me(_),Oe=(void 0!==c?c:_e)||"combobox"===_,ke=(0,v.Z)({},xe);he.forEach((function(e){delete ke[e]})),null==f||f.forEach((function(e){delete ke[e]}));var $e=o.useState(!1),Te=(0,b.Z)($e,2),Re=Te[0],Me=Te[1];o.useEffect((function(){Me((0,Z.Z)())}),[]);var Ne=o.useRef(null),Ie=o.useRef(null),Pe=o.useRef(null),Ae=o.useRef(null),Le=o.useRef(null),je=o.useRef(!1),De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=o.useState(!1),n=(0,b.Z)(t,2),r=n[0],i=n[1],a=o.useRef(null),l=function(){window.clearTimeout(a.current)};return o.useEffect((function(){return l}),[]),[r,function(t,n){l(),a.current=window.setTimeout((function(){i(t),n&&n()}),e)},l]}(),Be=(0,b.Z)(De,3),ze=Be[0],Ze=Be[1],Fe=Be[2];o.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=Ae.current)||void 0===e?void 0:e.focus,blur:null===(t=Ae.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=Le.current)||void 0===t?void 0:t.scrollTo(e)}}}));var He=o.useMemo((function(){var e;if("combobox"!==_)return L;var t=null===(e=p[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""}),[L,_,p]),We="combobox"===_&&"function"==typeof $&&$()||null,Ue="function"==typeof T&&T(),Ve=(0,F.x1)(Ie,null==Ue||null===(n=Ue.props)||void 0===n?void 0:n.ref),qe=o.useState(!1),Xe=(0,b.Z)(qe,2),Ge=Xe[0],Ye=Xe[1];(0,z.Z)((function(){Ye(!0)}),[]);var Ke=(0,y.Z)(!1,{defaultValue:M,value:R}),Qe=(0,b.Z)(Ke,2),Je=Qe[0],et=Qe[1],tt=!!Ge&&Je,nt=!E&&w;(O||nt&&tt&&"combobox"===_)&&(tt=!1);var rt=!nt&&tt,ot=o.useCallback((function(e){var t=void 0!==e?e:!tt;O||(et(t),tt!==t&&(null==N||N(t)))}),[O,tt,et,N]),it=o.useMemo((function(){return(G||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[G]),at=o.useContext(pe)||{},lt=at.maxCount,st=at.rawValues,ct=function(e,t,n){if(!((null==st?void 0:st.size)>=lt)){var r=!0,o=e;null==P||P(null);var i=function(e,t,n){if(!t||!t.length)return null;var r=!1,o=function e(t,n){var o=(0,ce.Z)(n),i=o[0],a=o.slice(1);if(!i)return[t];var l=t.split(i);return r=r||l.length>1,l.reduce((function(t,n){return[].concat((0,j.Z)(t),(0,j.Z)(e(n,a)))}),[]).filter(Boolean)}(e,t);return r?void 0!==n?o.slice(0,n):o:null}(e,G,lt&<-st.size),a=n?null:i;return"combobox"!==_&&a&&(o="",null==X||X(a),ot(!1),r=!1),q&&He!==o&&q(o,{source:t?"typing":"effect"}),r}};o.useEffect((function(){tt||_e||"combobox"===_||ct("",!1,!1)}),[tt]),o.useEffect((function(){Je&&O&&et(!1),O&&!je.current&&Ze(!1)}),[O]);var ut=U(),dt=(0,b.Z)(ut,2),ft=dt[0],pt=dt[1],gt=o.useRef(!1),ht=[];o.useEffect((function(){return function(){ht.forEach((function(e){return clearTimeout(e)})),ht.splice(0,ht.length)}}),[]);var mt,vt=o.useState({}),bt=(0,b.Z)(vt,2)[1];Ue&&(mt=function(e){ot(e)}),function(e,t,n,r){var i=o.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:r},o.useEffect((function(){function t(t){var n;if(null===(n=i.current)||void 0===n||!n.customizedTrigger){var r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),i.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[Ne.current,null===(e=Pe.current)||void 0===e?void 0:e.getPopupElement()]}),rt,ot,!!Ue);var yt,St=o.useMemo((function(){return(0,v.Z)((0,v.Z)({},e),{},{notFoundContent:E,open:tt,triggerOpen:rt,id:a,showSearch:Oe,multiple:_e,toggleOpen:ot})}),[e,E,rt,tt,a,Oe,_e,ot]),wt=!!K||k;wt&&(yt=o.createElement(H,{className:h()("".concat(l,"-arrow"),(0,m.Z)({},"".concat(l,"-arrow-loading"),k)),customizeIcon:K,customizeIconProps:{loading:k,searchValue:He,open:tt,focused:ze,showSearch:Oe}}));var Ct,Et=function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,c=o.useMemo((function(){return"object"===(0,B.Z)(r)?r.clearIcon:i||void 0}),[r,i]);return{allowClear:o.useMemo((function(){return!(a||!r||!n.length&&!l||"combobox"===s&&""===l)}),[r,a,n.length,l,s]),clearIcon:o.createElement(H,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:c},"×")}}(l,(function(){var e;null==x||x(),null===(e=Ae.current)||void 0===e||e.focus(),g([],{type:"clear",values:p}),ct("",!1,!1)}),p,Y,Q,O,He,_),xt=Et.allowClear,_t=Et.clearIcon,Ot=o.createElement(J,{ref:Le}),kt=h()(l,s,(i={},(0,m.Z)(i,"".concat(l,"-focused"),ze),(0,m.Z)(i,"".concat(l,"-multiple"),_e),(0,m.Z)(i,"".concat(l,"-single"),!_e),(0,m.Z)(i,"".concat(l,"-allow-clear"),Y),(0,m.Z)(i,"".concat(l,"-show-arrow"),wt),(0,m.Z)(i,"".concat(l,"-disabled"),O),(0,m.Z)(i,"".concat(l,"-loading"),k),(0,m.Z)(i,"".concat(l,"-open"),tt),(0,m.Z)(i,"".concat(l,"-customize-input"),We),(0,m.Z)(i,"".concat(l,"-show-search"),Oe),i)),$t=o.createElement(se,{ref:Pe,disabled:O,prefixCls:l,visible:rt,popupElement:Ot,animation:ee,transitionName:te,dropdownStyle:ne,dropdownClassName:re,direction:d,dropdownMatchSelectWidth:ie,dropdownRender:ae,dropdownAlign:le,placement:ue,builtinPlacements:de,getPopupContainer:fe,empty:w,getTriggerDOMNode:function(){return Ie.current},onPopupVisibleChange:mt,onPopupMouseEnter:function(){bt({})}},Ue?o.cloneElement(Ue,{ref:Ve}):o.createElement(oe,(0,r.Z)({},e,{domRef:Ie,prefixCls:l,inputElement:We,ref:Ae,id:a,showSearch:Oe,autoClearSearchValue:V,mode:_,activeDescendantId:A,tagRender:u,values:p,open:tt,onToggleOpen:ot,activeValue:I,searchValue:He,onSearch:ct,onSearchSubmit:function(e){e&&e.trim()&&q(e,{source:"submit"})},onRemove:function(e){var t=p.filter((function(t){return t!==e}));g(t,{type:"remove",values:[e]})},tokenWithEnter:it})));return Ct=Ue?$t:o.createElement("div",(0,r.Z)({className:kt},ke,{ref:Ne,onMouseDown:function(e){var t,n=e.target,r=null===(t=Pe.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var o=setTimeout((function(){var e,t=ht.indexOf(o);-1!==t&&ht.splice(t,1),Fe(),Re||r.contains(document.activeElement)||null===(e=Ae.current)||void 0===e||e.focus()}));ht.push(o)}for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l=0;a-=1){var l=o[a];if(!l.disabled){o.splice(a,1),i=l;break}}i&&g(o,{type:"remove",values:[i]})}for(var s=arguments.length,c=new Array(s>1?s-1:0),u=1;u1?t-1:0),r=1;r0,W=o.useMemo((function(){return 0===a||0===Z?0:a/Z*F}),[a,Z,F]),U=o.useRef({top:W,dragging:C,pageY:O,startTop:R});U.current={top:W,dragging:C,pageY:O,startTop:R};var V=function(e){E(!0),k(Re(e,d)),M(U.current.top),s(),e.stopPropagation(),e.preventDefault()};o.useEffect((function(){var e=function(e){e.preventDefault()},t=I.current,n=P.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",V),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",V)}}),[]);var q=o.useRef();q.current=Z;var X=o.useRef();X.current=F,o.useEffect((function(){if(C){var e,t=function(t){var n=U.current,r=n.dragging,o=n.pageY,i=n.startTop;if(Te.Z.cancel(e),r){var a=Re(t,d)-o,l=i;!N&&d?l-=a:l+=a;var s=q.current,c=X.current,f=c?l/c:0,p=Math.ceil(f*s);p=Math.max(p,0),p=Math.min(p,s),e=(0,Te.Z)((function(){u(p,d)}))}},n=function(){E(!1),c()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),Te.Z.cancel(e)}}}),[C]),o.useEffect((function(){z()}),[a]),o.useImperativeHandle(t,(function(){return{delayHidden:z}}));var G="".concat(r,"-scrollbar"),Y={position:"absolute",visibility:j&&H?null:"hidden"},K={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return d?(Y.height=8,Y.left=0,Y.right=0,Y.bottom=0,K.height="100%",K.width=f,N?K.left=W:K.right=W):(Y.width=8,Y.top=0,Y.bottom=0,N?Y.right=0:Y.left=0,K.width="100%",K.height=f,K.top=W),o.createElement("div",{ref:I,className:h()(G,(n={},(0,m.Z)(n,"".concat(G,"-horizontal"),d),(0,m.Z)(n,"".concat(G,"-vertical"),!d),(0,m.Z)(n,"".concat(G,"-visible"),j),n)),style:(0,v.Z)((0,v.Z)({},Y),g),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:z},o.createElement("div",{ref:P,className:h()("".concat(G,"-thumb"),(0,m.Z)({},"".concat(G,"-thumb-moving"),C)),style:(0,v.Z)((0,v.Z)({},K),y),onMouseDown:V}))}));const Ne=Me;function Ie(e){var t=e.children,n=e.setRef,r=o.useCallback((function(e){n(e)}),[]);return o.cloneElement(t,{ref:r})}var Pe=n(4203),Ae=n(5671),Le=n(3144);const je=function(){function e(){(0,Ae.Z)(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,Le.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}();var De=n(6790),Be=10;function ze(e,t,n){var r=o.useState(e),i=(0,b.Z)(r,2),a=i[0],l=i[1],s=o.useState(null),c=(0,b.Z)(s,2),u=c[0],d=c[1];return o.useEffect((function(){var r=function(e,t,n){var r,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i1&&void 0!==arguments[1]&&arguments[1],o=e<0&&i.current.top||e>0&&i.current.bottom;return t&&o?(clearTimeout(r.current),n.current=!1):o&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&o}};function He(e,t,n,r,i){var a=(0,o.useRef)(0),l=(0,o.useRef)(null),s=(0,o.useRef)(null),c=(0,o.useRef)(!1),u=Fe(t,n);var d=(0,o.useRef)(null),f=(0,o.useRef)(null);return[function(t){if(e){Te.Z.cancel(f.current),f.current=(0,Te.Z)((function(){d.current=null}),2);var n=t.deltaX,o=t.deltaY,p=t.shiftKey,g=n,h=o;("sx"===d.current||!d.current&&p&&o&&!n)&&(g=o,h=0,d.current="sx");var m=Math.abs(g),v=Math.abs(h);null===d.current&&(d.current=r&&m>v?"x":"y"),"y"===d.current?function(e,t){Te.Z.cancel(l.current),a.current+=t,s.current=t,u(t)||(Ze||e.preventDefault(),l.current=(0,Te.Z)((function(){var e=c.current?10:1;i(a.current*e),a.current=0})))}(t,h):function(e,t){i(t,!0),Ze||e.preventDefault()}(t,g)}},function(t){e&&(c.current=t.detail===s.current)}]}var We=14/15;var Ue=20;function Ve(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=e/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)*100;return isNaN(t)&&(t=0),t=Math.max(t,Ue),t=Math.min(t,e/2),Math.floor(t)}var qe=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Xe=[],Ge={overflowY:"auto",overflowAnchor:"none"};function Ye(e,t){var n=e.prefixCls,i=void 0===n?"rc-virtual-list":n,a=e.className,l=e.height,s=e.itemHeight,c=e.fullHeight,u=void 0===c||c,d=e.style,f=e.data,p=e.children,g=e.itemKey,y=e.virtual,S=e.direction,w=e.scrollWidth,C=e.component,E=void 0===C?"div":C,x=e.onScroll,_=e.onVirtualScroll,O=e.onVisibleChange,k=e.innerProps,$=e.extraRender,T=e.styles,R=(0,D.Z)(e,qe),M=!(!1===y||!l||!s),N=M&&f&&(s*f.length>l||!!w),I="rtl"===S,P=h()(i,(0,m.Z)({},"".concat(i,"-rtl"),I),a),A=f||Xe,L=(0,o.useRef)(),j=(0,o.useRef)(),Z=(0,o.useState)(0),F=(0,b.Z)(Z,2),H=F[0],W=F[1],U=(0,o.useState)(0),V=(0,b.Z)(U,2),q=V[0],X=V[1],G=(0,o.useState)(!1),Y=(0,b.Z)(G,2),K=Y[0],Q=Y[1],J=function(){Q(!0)},ee=function(){Q(!1)},te=o.useCallback((function(e){return"function"==typeof g?g(e):null==e?void 0:e[g]}),[g]),ne={getKey:te};function re(e){W((function(t){var n=function(e){var t=e;Number.isNaN(Ae.current)||(t=Math.min(t,Ae.current));return t=Math.max(t,0),t}("function"==typeof e?e(t):e);return L.current.scrollTop=n,n}))}var oe=(0,o.useRef)({start:0,end:A.length}),ie=(0,o.useRef)(),ae=ze(A,te),le=(0,b.Z)(ae,1)[0];ie.current=le;var se=function(e,t,n){var r=o.useState(0),i=(0,b.Z)(r,2),a=i[0],l=i[1],s=(0,o.useRef)(new Map),c=(0,o.useRef)(new je),u=(0,o.useRef)();function d(){Te.Z.cancel(u.current)}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){s.current.forEach((function(e,t){if(e&&e.offsetParent){var n=(0,Pe.Z)(e),r=n.offsetHeight;c.current.get(t)!==r&&c.current.set(t,n.offsetHeight)}})),l((function(e){return e+1}))};e?t():u.current=(0,Te.Z)(t)}return(0,o.useEffect)((function(){return d}),[]),[function(r,o){var i=e(r),a=s.current.get(i);o?(s.current.set(i,o),f()):s.current.delete(i),!a!=!o&&(o?null==t||t(r):null==n||n(r))},f,c.current,a]}(te,null,null),ce=(0,b.Z)(se,4),ue=ce[0],de=ce[1],fe=ce[2],pe=ce[3],ge=o.useMemo((function(){if(!M)return{scrollHeight:void 0,start:0,end:A.length-1,offset:void 0};var e;if(!N)return{scrollHeight:(null===(e=j.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:A.length-1,offset:void 0};for(var t,n,r,o=0,i=A.length,a=0;a=H&&void 0===t&&(t=a,n=o),f>H+l&&void 0===r&&(r=a),o=f}return void 0===t&&(t=0,n=0,r=Math.ceil(l/s)),void 0===r&&(r=A.length-1),{scrollHeight:o,start:t,end:r=Math.min(r+1,A.length-1),offset:n}}),[N,M,H,A,pe,l]),he=ge.scrollHeight,me=ge.start,ve=ge.end,be=ge.offset;oe.current.start=me,oe.current.end=ve;var ye=o.useState({width:0,height:l}),Se=(0,b.Z)(ye,2),we=Se[0],Ce=Se[1],Ee=(0,o.useRef)(),xe=(0,o.useRef)(),ke=o.useMemo((function(){return Ve(we.width,w)}),[we.width,w]),Re=o.useMemo((function(){return Ve(we.height,he)}),[we.height,he]),Me=he-l,Ae=(0,o.useRef)(Me);Ae.current=Me;var Le=H<=0,Ze=H>=Me,Ue=Fe(Le,Ze),Ye=function(){return{x:I?-q:q,y:H}},Ke=(0,o.useRef)(Ye()),Qe=(0,De.zX)((function(){if(_){var e=Ye();Ke.current.x===e.x&&Ke.current.y===e.y||(_(e),Ke.current=e)}}));function Je(e,t){var n=e;t?((0,_e.flushSync)((function(){X(n)})),Qe()):re(n)}var et=function(e){var t=e,n=w-we.width;return t=Math.max(t,0),t=Math.min(t,n)},tt=(0,De.zX)((function(e,t){t?((0,_e.flushSync)((function(){X((function(t){return et(t+(I?-e:e))}))})),Qe()):re((function(t){return t+e}))})),nt=He(M,Le,Ze,!!w,tt),rt=(0,b.Z)(nt,2),ot=rt[0],it=rt[1];!function(e,t,n){var r,i=(0,o.useRef)(!1),a=(0,o.useRef)(0),l=(0,o.useRef)(null),s=(0,o.useRef)(null),c=function(e){if(i.current){var t=Math.ceil(e.touches[0].pageY),r=a.current-t;a.current=t,n(r)&&e.preventDefault(),clearInterval(s.current),s.current=setInterval((function(){(!n(r*=We,!0)||Math.abs(r)<=.1)&&clearInterval(s.current)}),16)}},u=function(){i.current=!1,r()},d=function(e){r(),1!==e.touches.length||i.current||(i.current=!0,a.current=Math.ceil(e.touches[0].pageY),l.current=e.target,l.current.addEventListener("touchmove",c),l.current.addEventListener("touchend",u))};r=function(){l.current&&(l.current.removeEventListener("touchmove",c),l.current.removeEventListener("touchend",u))},(0,z.Z)((function(){return e&&t.current.addEventListener("touchstart",d),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(s.current)}}),[e])}(M,L,(function(e,t){return!Ue(e,t)&&(ot({preventDefault:function(){},deltaY:e}),!0)})),(0,z.Z)((function(){function e(e){M&&e.preventDefault()}var t=L.current;return t.addEventListener("wheel",ot),t.addEventListener("DOMMouseScroll",it),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",ot),t.removeEventListener("DOMMouseScroll",it),t.removeEventListener("MozMousePixelScroll",e)}}),[M]),(0,z.Z)((function(){w&&X((function(e){return et(e)}))}),[we.width,w]);var at=function(){var e,t;null===(e=Ee.current)||void 0===e||e.delayHidden(),null===(t=xe.current)||void 0===t||t.delayHidden()},lt=function(e,t,n,r,i,a,l,s){var c=o.useRef(),u=o.useState(null),d=(0,b.Z)(u,2),f=d[0],p=d[1];return(0,z.Z)((function(){if(f&&f.times=0;k-=1){var $=i(t[k]),T=n.get($);if(void 0===T){g=!0;break}if((O-=T)<=0)break}switch(b){case"top":m=S-u;break;case"bottom":m=w-d+u;break;default:var R=e.current.scrollTop;SR+d&&(h="bottom")}null!==m&&l(m),m!==f.lastTop&&(g=!0)}g&&p((0,v.Z)((0,v.Z)({},f),{},{times:f.times+1,targetAlign:h,lastTop:m}))}}),[f,e.current]),function(e){if(null!=e){if(Te.Z.cancel(c.current),"number"==typeof e)l(e);else if(e&&"object"===(0,B.Z)(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex((function(t){return i(t)===e.key}));var o=e.offset;p({times:0,index:n,offset:void 0===o?0:o,originAlign:r})}}else s()}}(L,A,fe,s,te,(function(){return de(!0)}),re,at);o.useImperativeHandle(t,(function(){return{getScrollInfo:Ye,scrollTo:function(e){var t;(t=e)&&"object"===(0,B.Z)(t)&&("left"in t||"top"in t)?(void 0!==e.left&&X(et(e.left)),lt(e.top)):lt(e)}}})),(0,z.Z)((function(){if(O){var e=A.slice(me,ve+1);O(e,A)}}),[me,ve,A]);var st=function(e,t,n,r){var i=o.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),a=(0,b.Z)(i,2),l=a[0],s=a[1];return function(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,a=l.get(o),c=l.get(i);if(void 0===a||void 0===c)for(var u=e.length,d=s.length;dl&&o.createElement(Ne,{ref:Ee,prefixCls:i,scrollOffset:H,scrollRange:he,rtl:I,onScroll:Je,onStartMove:J,onStopMove:ee,spinSize:Re,containerSize:we.height,style:null==T?void 0:T.verticalScrollBar,thumbStyle:null==T?void 0:T.verticalScrollBarThumb}),N&&w&&o.createElement(Ne,{ref:xe,prefixCls:i,scrollOffset:q,scrollRange:w,rtl:I,onScroll:Je,onStartMove:J,onStopMove:ee,spinSize:ke,containerSize:we.width,horizontal:!0,style:null==T?void 0:T.horizontalScrollBar,thumbStyle:null==T?void 0:T.horizontalScrollBarThumb}))}var Ke=o.forwardRef(Ye);Ke.displayName="List";const Qe=Ke;var Je=["disabled","title","children","style","className"];function et(e){return"string"==typeof e||"number"==typeof e}var tt=function(e,t){var n=o.useContext(W),i=n.prefixCls,a=n.id,l=n.open,s=n.multiple,c=n.mode,u=n.searchValue,d=n.toggleOpen,f=n.notFoundContent,p=n.onPopupScroll,g=o.useContext(pe),v=g.maxCount,y=g.flattenOptions,C=g.onActiveValue,E=g.defaultActiveFirstOption,x=g.onSelect,_=g.menuItemSelectedIcon,O=g.rawValues,k=g.fieldNames,$=g.virtual,T=g.direction,R=g.listHeight,M=g.listItemHeight,N=g.optionRender,I="".concat(i,"-item"),P=(0,Ee.Z)((function(){return y}),[l,y],(function(e,t){return t[0]&&e[1]!==t[1]})),A=o.useRef(null),L=o.useMemo((function(){return s&&void 0!==v&&(null==O?void 0:O.size)>=v}),[s,v,null==O?void 0:O.size]),B=function(e){e.preventDefault()},z=function(e){var t;null===(t=A.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},Z=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=P.length,r=0;r1&&void 0!==arguments[1]&&arguments[1];q(e);var n={source:t?"keyboard":"mouse"},r=P[e];r?C(r.value,e,n):C(null,-1,n)};(0,o.useEffect)((function(){X(!1!==E?Z(0):-1)}),[P.length,u]);var G=o.useCallback((function(e){return O.has(e)&&"combobox"!==c}),[c,(0,j.Z)(O).toString(),O.size]);(0,o.useEffect)((function(){var e,t=setTimeout((function(){if(!s&&l&&1===O.size){var e=Array.from(O)[0],t=P.findIndex((function(t){return t.data.value===e}));-1!==t&&(X(t),z(t))}}));l&&(null===(e=A.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[l,u]);var Y=function(e){void 0!==e&&x(e,{selected:!O.has(e)}),s||d(!1)};if(o.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case S.Z.N:case S.Z.P:case S.Z.UP:case S.Z.DOWN:var r=0;if(t===S.Z.UP?r=-1:t===S.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===S.Z.N?r=1:t===S.Z.P&&(r=-1)),0!==r){var o=Z(V+r,r);z(o),X(o,!0)}break;case S.Z.ENTER:var i,a=P[V];!a||null!=a&&null!==(i=a.data)&&void 0!==i&&i.disabled||L?Y(void 0):Y(a.value),l&&e.preventDefault();break;case S.Z.ESC:d(!1),l&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){z(e)}}})),0===P.length)return o.createElement("div",{role:"listbox",id:"".concat(a,"_list"),className:"".concat(I,"-empty"),onMouseDown:B},f);var K=Object.keys(k).map((function(e){return k[e]})),Q=function(e){return e.label};function J(e,t){return{role:e.group?"presentation":"option",id:"".concat(a,"_list_").concat(t)}}var ee=function(e){var t=P[e];if(!t)return null;var n=t.data||{},i=n.value,a=t.group,l=(0,w.Z)(n,!0),s=Q(t);return t?o.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof s||a?null:s},l,{key:e},J(t,e),{"aria-selected":G(i)}),i):null},te={role:"listbox",id:"".concat(a,"_list")};return o.createElement(o.Fragment,null,$&&o.createElement("div",(0,r.Z)({},te,{style:{height:0,width:0,overflow:"hidden"}}),ee(V-1),ee(V),ee(V+1)),o.createElement(Qe,{itemKey:"key",ref:A,data:P,height:R,itemHeight:M,fullHeight:!1,onMouseDown:B,onScroll:p,virtual:$,direction:T,innerProps:$?null:te},(function(e,t){var n,i=e.group,a=e.groupOption,l=e.data,s=e.label,c=e.value,u=l.key;if(i){var d,f=null!==(d=l.title)&&void 0!==d?d:et(s)?s.toString():void 0;return o.createElement("div",{className:h()(I,"".concat(I,"-group")),title:f},void 0!==s?s:u)}var p=l.disabled,g=l.title,v=(l.children,l.style),b=l.className,y=(0,D.Z)(l,Je),S=(0,xe.Z)(y,K),C=G(c),E=p||!C&&L,x="".concat(I,"-option"),O=h()(I,x,b,(n={},(0,m.Z)(n,"".concat(x,"-grouped"),a),(0,m.Z)(n,"".concat(x,"-active"),V===t&&!E),(0,m.Z)(n,"".concat(x,"-disabled"),E),(0,m.Z)(n,"".concat(x,"-selected"),C),n)),k=Q(e),T=!_||"function"==typeof _||C,R="number"==typeof k?k:k||c,M=et(R)?R.toString():void 0;return void 0!==g&&(M=g),o.createElement("div",(0,r.Z)({},(0,w.Z)(S),$?{}:J(e,t),{"aria-selected":C,className:O,title:M,onMouseMove:function(){V===t||E||X(t)},onClick:function(){E||Y(c)},style:v}),o.createElement("div",{className:"".concat(x,"-content")},"function"==typeof N?N(e,{index:t}):R),o.isValidElement(_)||C,T&&o.createElement(H,{className:"".concat(I,"-option-state"),customizeIcon:_,customizeIconProps:{value:c,disabled:E,isSelected:C}},C?"✓":null))})))};const nt=o.forwardRef(tt);function rt(e,t){return G(e).join("").toUpperCase().includes(t)}var ot=n(8924),it=0,at=(0,ot.Z)();function lt(e){var t=o.useState(),n=(0,b.Z)(t,2),r=n[0],i=n[1];return o.useEffect((function(){var e;i("rc_select_".concat((at?(e=it,it+=1):e="TEST_OR_SSR",e)))}),[]),e||r}var st=n(344),ct=["children","value"],ut=["children"];function dt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,st.Z)(e).map((function(e,n){if(!o.isValidElement(e)||!e.type)return null;var r=e,i=r.type.isSelectOptGroup,a=r.key,l=r.props,s=l.children,c=(0,D.Z)(l,ut);return t||!i?function(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=(0,D.Z)(r,ct);return(0,v.Z)({key:n,value:void 0!==i?i:n,children:o},a)}(e):(0,v.Z)((0,v.Z)({key:"__RC_SELECT_GRP__".concat(null===a?n:a,"__"),label:a},c),{},{options:dt(s)})})).filter((function(e){return e}))}const ft=function(e,t,n,r,i){return o.useMemo((function(){var o=e;!e&&(o=dt(t));var a=new Map,l=new Map,s=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=de(n,!1),a=i.label,l=i.value,s=i.options,c=i.groupLabel;return function e(t,n){Array.isArray(t)&&t.forEach((function(t){if(n||!(s in t)){var i=t[l];o.push({key:ue(t,o.length),groupOption:n,data:t,label:t[a],value:i})}else{var u=t[c];void 0===u&&r&&(u=t.label),o.push({key:ue(t,o.length),group:!0,data:t,label:u}),e(t[s],!0)}}))}(e,!1),o}($e,{fieldNames:Q,childrenAsData:Y})}),[$e,Q,Y]),Re=function(e){var t=le(e);if(he(t),W&&(t.length!==we.length||t.some((function(e,t){var n;return(null===(n=we[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))){var n=H?t:t.map((function(e){return e.value})),r=t.map((function(e){return fe(Ce(e.value))}));W(X?n:n[0],X?r:r[0])}},Me=o.useState(null),Ne=(0,b.Z)(Me,2),Ie=Ne[0],Pe=Ne[1],Ae=o.useState(0),Le=(0,b.Z)(Ae,2),je=Le[0],De=Le[1],Be=void 0!==R?R:"combobox"!==i,ze=o.useCallback((function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).source,r=void 0===n?"keyboard":n;De(t),s&&"combobox"===i&&null!==e&&"keyboard"===r&&Pe(String(e))}),[s,i]),Ze=function(e,t,n){var r=function(){var t,n=Ce(e);return[H?{label:null==n?void 0:n[Q.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,fe(n)]};if(t&&h){var o=r(),i=(0,b.Z)(o,2),a=i[0],l=i[1];h(a,l)}else if(!t&&S&&"clear"!==n){var s=r(),c=(0,b.Z)(s,2),u=c[0],d=c[1];S(u,d)}},Fe=pt((function(e,t){var n,r=!X||t.selected;n=r?X?[].concat((0,j.Z)(we),[e]):[e]:we.filter((function(t){return t.value!==e})),Re(n),Ze(e,r),"combobox"===i?Pe(""):me&&!g||(ne(""),Pe(""))})),He=o.useMemo((function(){var e=!1!==N&&!1!==C;return(0,v.Z)((0,v.Z)({},re),{},{flattenOptions:Te,onActiveValue:ze,defaultActiveFirstOption:Be,onSelect:Fe,menuItemSelectedIcon:M,rawValues:xe,fieldNames:Q,virtual:e,direction:I,listHeight:A,listItemHeight:z,childrenAsData:Y,maxCount:U,optionRender:$})}),[U,re,Te,ze,Be,Fe,M,xe,Q,N,C,I,A,z,Y,$]);return o.createElement(pe.Provider,{value:He},o.createElement(be,(0,r.Z)({},V,{id:q,prefixCls:l,ref:t,omitDomProps:ht,mode:i,displayValues:Ee,onDisplayValuesChange:function(e,t){Re(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){Ze(e.value,!1,n)}))},direction:I,searchValue:te,onSearch:function(e,t){if(ne(e),Pe(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===i&&Re(e),null==f||f(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat((0,j.Z)(xe),[n])));Re(r),Ze(n,!0),ne("")}}},autoClearSearchValue:g,onSearchSplit:function(e){var t=e;"tags"!==i&&(t=e.map((function(e){var t=ie.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,j.Z)(xe),(0,j.Z)(t))));Re(n),n.forEach((function(e){Ze(e,!0)}))},dropdownMatchSelectWidth:C,OptionList:nt,emptyOptions:!Te.length,activeValue:Ie,activeDescendantId:"".concat(q,"_list_").concat(je)})))}));var vt=mt;vt.Option=Ce,vt.OptGroup=Se;const bt=vt;var yt=n(7263),St=n(3603),wt=n(8745);var Ct=n(274),Et=n(7606);const xt=()=>{const[,e]=(0,Et.ZP)(),t=new Ct.C(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};const _t=()=>{const[,e]=(0,Et.ZP)(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:i}=e,{borderColor:a,shadowColor:l,contentColor:s}=(0,o.useMemo)((()=>({borderColor:new Ct.C(t).onBackground(i).toHexShortString(),shadowColor:new Ct.C(n).onBackground(i).toHexShortString(),contentColor:new Ct.C(r).onBackground(i).toHexShortString()})),[t,n,r,i]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:l,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:a},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))};var Ot=n(1939),kt=n(5503);const $t=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},Tt=(0,Ot.I$)("Empty",(e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=(0,kt.TS)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[$t(o)]}));var Rt=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{var{className:t,rootClassName:n,prefixCls:r,image:i=Mt,description:a,children:l,imageStyle:s,style:c}=e,u=Rt(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:f,empty:p}=o.useContext(I.E_),g=d("empty",r),[m,v,b]=Tt(g),[y]=(0,L.Z)("Empty"),S=void 0!==a?a:null==y?void 0:y.description,w="string"==typeof S?S:"empty";let C=null;return C="string"==typeof i?o.createElement("img",{alt:w,src:i}):i,m(o.createElement("div",Object.assign({className:h()(v,b,g,null==p?void 0:p.className,{[`${g}-normal`]:i===Nt,[`${g}-rtl`]:"rtl"===f},t,n),style:Object.assign(Object.assign({},null==p?void 0:p.style),c)},u),o.createElement("div",{className:`${g}-image`,style:s},C),S&&o.createElement("div",{className:`${g}-description`},S),l&&o.createElement("div",{className:`${g}-footer`},l)))};It.PRESENTED_IMAGE_DEFAULT=Mt,It.PRESENTED_IMAGE_SIMPLE=Nt;const Pt=It,At=e=>{const{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(I.E_),r=n("empty");switch(t){case"Table":case"List":return o.createElement(Pt,{image:Pt.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(Pt,{image:Pt.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return o.createElement(Pt,null)}};var Lt=n(8866),jt=n(5792),Dt=n(5702);const Bt=["outlined","borderless","filled"],zt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;const n=(0,o.useContext)(Dt.pg);let r;r=void 0!==e?e:!1===t?"borderless":null!=n?n:"outlined";return[r,Bt.includes(r)]};var Zt=n(4173);const Ft=function(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)};var Ht=n(4747),Wt=n(4184),Ut=n(7771),Vt=n(3297);const qt=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},Xt=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},(0,Ht.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n ${o}${l}bottomLeft,\n ${i}${l}bottomLeft\n `]:{animationName:Ut.fJ},[`\n ${o}${l}topLeft,\n ${i}${l}topLeft,\n ${o}${l}topRight,\n ${i}${l}topRight\n `]:{animationName:Ut.Qt},[`${a}${l}bottomLeft`]:{animationName:Ut.Uw},[`\n ${a}${l}topLeft,\n ${a}${l}topRight\n `]:{animationName:Ut.ly},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},qt(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Ht.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},qt(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,Ut.oN)(e,"slide-up"),(0,Ut.oN)(e,"slide-down"),(0,Vt.Fm)(e,"move-up"),(0,Vt.Fm)(e,"move-down")]};var Gt=n(7395);function Yt(e,t){const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=(e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()})(e);return{[`${n}-multiple${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:e.calc(2).mul(2).equal(),paddingBlock:e.calc(a).sub(2).equal(),borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,Gt.bf)(2)} 0`,lineHeight:(0,Gt.bf)(i),visibility:"hidden",content:'"\\a0"'}},[`\n &${n}-show-arrow ${n}-selector,\n &${n}-allow-clear ${n}-selector\n `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:(0,Gt.bf)(e.calc(i).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(2).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Ht.Ro)()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:(0,Gt.bf)(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}const Kt=e=>{const{componentCls:t}=e,n=(0,kt.TS)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=(0,kt.TS)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Yt(e),Yt(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Yt(r,"lg")]};function Qt(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal();return{[`${n}-single${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},(0,Ht.Wf)(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`\n ${n}-selection-item,\n ${n}-selection-placeholder\n `]:{padding:0,lineHeight:(0,Gt.bf)(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n &${n}-show-arrow ${n}-selection-item,\n &${n}-show-arrow ${n}-selection-placeholder\n `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${(0,Gt.bf)(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:(0,Gt.bf)(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Gt.bf)(r)}`,"&:after":{display:"none"}}}}}}}function Jt(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Qt(e),Qt((0,kt.TS)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${(0,Gt.bf)(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`\n &${t}-show-arrow ${t}-selection-item,\n &${t}-show-arrow ${t}-selection-placeholder\n `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Qt((0,kt.TS)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const en=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${(0,Gt.bf)(o)} ${t.activeShadowColor}`,outline:0}}}},tn=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},en(e,t))}),nn=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},en(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),tn(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),tn(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),rn=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},on=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},rn(e,t))}),an=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},rn(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),on(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),on(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),ln=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),sn=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},nn(e)),an(e)),ln(e))}),cn=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},un=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},dn=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},(0,Ht.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},cn(e)),un(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Ht.vS),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},Ht.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,Ht.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},fn=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},dn(e),Jt(e),Kt(e),Xt(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,Wt.c)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},pn=(0,Ot.I$)("Select",((e,t)=>{let{rootPrefixCls:n}=t;const r=(0,kt.TS)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[fn(r),sn(r)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:i,colorText:a,fontWeightStrong:l,controlItemBgActive:s,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:f,controlHeightSM:p,colorBgContainerDisabled:g,colorTextDisabled:h}=e;return{zIndexPopup:i+50,optionSelectedColor:a,optionSelectedFontWeight:l,optionSelectedBg:s,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:p,multipleItemHeightLG:r,multipleSelectorBgDisabled:g,multipleItemColorDisabled:h,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize)}}),{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});const gn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};var hn=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:gn}))};const mn=o.forwardRef(hn);var vn=n(3061),bn=n(4549),yn=n(7254),Sn=n(7085);const wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var Cn=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:wn}))};const En=o.forwardRef(Cn);var xn=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{var n;const{prefixCls:r,bordered:i,className:a,rootClassName:l,getPopupContainer:s,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:f,listItemHeight:p,size:g,disabled:m,notFoundContent:v,status:b,builtinPlacements:y,dropdownMatchSelectWidth:S,popupMatchSelectWidth:w,direction:C,style:E,allowClear:x,variant:_,dropdownStyle:O,transitionName:k,tagRender:$,maxCount:T}=e,R=xn(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:M,getPrefixCls:N,renderEmpty:A,direction:L,virtual:j,popupMatchSelectWidth:D,popupOverflow:B,select:z}=o.useContext(I.E_),[,Z]=(0,Et.ZP)(),F=null!=p?p:null==Z?void 0:Z.controlHeight,H=N("select",r),W=N(),U=null!=C?C:L,{compactSize:V,compactItemClassnames:q}=(0,Zt.ri)(H,U),[X,G]=zt(_,i),Y=(0,jt.Z)(H),[K,Q,J]=pn(H,Y),ee=o.useMemo((()=>{const{mode:t}=e;if("combobox"!==t)return t===_n?"combobox":t}),[e.mode]),te="multiple"===ee||"tags"===ee,ne=function(e,t){return void 0!==t?t:null!==e}(e.suffixIcon,e.showArrow),re=null!==(n=null!=w?w:S)&&void 0!==n?n:D,{status:oe,hasFeedback:ie,isFormItemInput:ae,feedbackIcon:le}=o.useContext(Dt.aM),se=((e,t)=>t||e)(oe,b);let ce;ce=void 0!==v?v:"combobox"===ee?null:(null==A?void 0:A("Select"))||o.createElement(At,{componentName:"Select"});const{suffixIcon:ue,itemIcon:de,removeIcon:fe,clearIcon:pe}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:i,loading:a,multiple:l,hasFeedback:s,prefixCls:c,showSuffixIcon:u,feedbackIcon:d,showArrow:f,componentName:p}=e;const g=null!=n?n:o.createElement(vn.Z,null),h=e=>null!==t||s||f?o.createElement(o.Fragment,null,!1!==u&&e,s&&d):null;let m=null;if(void 0!==t)m=h(t);else if(a)m=h(o.createElement(Sn.Z,{spin:!0}));else{const e=`${c}-suffix`;m=t=>{let{open:n,showSearch:r}=t;return h(n&&r?o.createElement(En,{className:e}):o.createElement(yn.Z,{className:e}))}}let v=null;v=void 0!==r?r:l?o.createElement(mn,null):null;let b=null;return b=void 0!==i?i:o.createElement(bn.Z,null),{clearIcon:g,suffixIcon:m,itemIcon:v,removeIcon:b}}(Object.assign(Object.assign({},R),{multiple:te,hasFeedback:ie,feedbackIcon:le,showSuffixIcon:ne,prefixCls:H,componentName:"Select"})),ge=!0===x?{clearIcon:pe}:x,he=(0,xe.Z)(R,["suffixIcon","itemIcon"]),me=h()(c||u,{[`${H}-dropdown-${U}`]:"rtl"===U},l,J,Y,Q),ve=(0,P.Z)((e=>{var t;return null!==(t=null!=g?g:V)&&void 0!==t?t:e})),be=o.useContext(Lt.Z),ye=null!=m?m:be,Se=h()({[`${H}-lg`]:"large"===ve,[`${H}-sm`]:"small"===ve,[`${H}-rtl`]:"rtl"===U,[`${H}-${X}`]:G,[`${H}-in-form-item`]:ae},function(e,t,n){return h()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}(H,se,ie),q,null==z?void 0:z.className,a,l,J,Y,Q),we=o.useMemo((()=>void 0!==f?f:"rtl"===U?"bottomRight":"bottomLeft"),[f,U]);const[Ce]=(0,yt.Cn)("SelectLike",null==O?void 0:O.zIndex);return K(o.createElement(bt,Object.assign({ref:t,virtual:j,showSearch:null==z?void 0:z.showSearch},he,{style:Object.assign(Object.assign({},null==z?void 0:z.style),E),dropdownMatchSelectWidth:re,transitionName:(0,St.m)(W,"slide-up",k),builtinPlacements:Ft(y,B),listHeight:d,listItemHeight:F,mode:ee,prefixCls:H,placement:we,direction:U,suffixIcon:ue,menuItemSelectedIcon:de,removeIcon:fe,allowClear:ge,notFoundContent:ce,className:Se,getPopupContainer:s||M,dropdownClassName:me,disabled:ye,dropdownStyle:Object.assign(Object.assign({},O),{zIndex:Ce}),maxCount:te?T:void 0,tagRender:te?$:void 0})))};const kn=o.forwardRef(On),$n=(0,wt.Z)(kn);kn.SECRET_COMBOBOX_MODE_DO_NOT_USE=_n,kn.Option=Ce,kn.OptGroup=Se,kn._InternalPanelDoNotUseOrYouWillBeFired=$n;const Tn=kn,Rn=e=>o.createElement(Tn,Object.assign({},e,{showSearch:!0,size:"small"})),Mn=e=>o.createElement(Tn,Object.assign({},e,{showSearch:!0,size:"middle"}));function Nn(e){return(0,kt.TS)(e,{inputAffixPadding:e.paddingXXS})}Rn.Option=Tn.Option,Mn.Option=Tn.Option;const In=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:s,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:p,colorPrimary:g,controlOutlineWidth:h,controlOutline:m,colorErrorOutline:v,colorWarningOutline:b,colorBgContainer:y}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-l*s)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:d-o,addonBg:f,activeBorderColor:g,hoverBorderColor:p,activeShadow:`0 0 0 ${h}px ${m}`,errorActiveShadow:`0 0 0 ${h}px ${v}`,warningActiveShadow:`0 0 0 ${h}px ${b}`,hoverBg:y,activeBg:y,inputFontSize:n,inputFontSizeLG:l,inputFontSizeSM:n}},Pn=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),An=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover:not([disabled])":Object.assign({},Pn((0,kt.TS)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),Ln=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),jn=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Ln(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Dn=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ln(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},An(e))}),jn(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),jn(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),Bn=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),zn=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Bn(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),Bn(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},An(e))}})}),Zn=(e,t)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled}},t)}),Fn=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==t?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),Hn=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Fn(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Wn=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Fn(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},An(e))}),Hn(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),Hn(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),Un=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),Vn=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},Un(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),Un(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),qn=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:o}=e;return{padding:`${(0,Gt.bf)(t)} ${(0,Gt.bf)(o)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},Xn=e=>({padding:`${(0,Gt.bf)(e.paddingBlockSM)} ${(0,Gt.bf)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Gn=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,Gt.bf)(e.paddingBlock)} ${(0,Gt.bf)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},{"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e.colorTextPlaceholder,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},qn(e)),"&-sm":Object.assign({},Xn(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Yn=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},qn(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Xn(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,Gt.bf)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${(0,Gt.bf)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,Gt.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${(0,Gt.bf)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Ht.dF)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Kn=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=o(n).sub(o(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ht.Wf)(e)),Gn(e)),Dn(e)),Wn(e)),Zn(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Qn=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,Gt.bf)(e.inputAffixPadding)}`}}}},Jn=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},Gn(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),Qn(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},er=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,Ht.Wf)(e)),Yn(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},zn(e)),Vn(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},tr=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},nr=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},rr=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},or=((0,Ot.I$)("Input",(e=>{const t=(0,kt.TS)(e,Nn(e));return[Kn(t),nr(t),Jn(t),er(t),tr(t),rr(t),(0,Wt.c)(t)]}),In),e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}}),ir=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,Gt.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,Gt.bf)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,Gt.bf)(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[`\n &${t}-mini ${t}-prev ${t}-item-link,\n &${t}-mini ${t}-next ${t}-item-link\n `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,Gt.bf)(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Gt.bf)(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,Gt.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},Xn(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},ar=e=>{const{componentCls:t}=e;return{[`\n &${t}-simple ${t}-prev,\n &${t}-simple ${t}-next\n `]:{height:e.itemSizeSM,lineHeight:(0,Gt.bf)(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,Gt.bf)(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${(0,Gt.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,Gt.bf)(e.inputOutlineOffset)} 0 ${(0,Gt.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},lr=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[`\n ${t}-prev,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{marginInlineEnd:e.marginXS},[`\n ${t}-prev,\n ${t}-next,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${(0,Gt.bf)(e.itemSize)}`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,Gt.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},Gn(e)),Ln(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},An(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},sr=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,Gt.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Gt.bf)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},cr=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ht.Wf)(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,Gt.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),sr(e)),lr(e)),ar(e)),ir(e)),or(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},ur=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,Ht.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,Ht.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,Ht.oN)(e))}}}},dr=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},In(e)),fr=e=>(0,kt.TS)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},Nn(e)),pr=(0,Ot.I$)("Pagination",(e=>{const t=fr(e);return[cr(t),ur(t)]}),dr),gr=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${(0,Gt.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},hr=(0,Ot.bk)(["Pagination","bordered"],(e=>{const t=fr(e);return[gr(t)]}),dr);var mr=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{const{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:i,style:a,size:l,locale:c,selectComponentClass:u,responsive:g,showSizeChanger:m}=e,v=mr(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:b}=(0,A.Z)(g),[,y]=(0,Et.ZP)(),{getPrefixCls:S,direction:w,pagination:C={}}=o.useContext(I.E_),E=S("pagination",t),[x,_,O]=pr(E),k=null!=m?m:C.showSizeChanger,$=o.useMemo((()=>{const e=o.createElement("span",{className:`${E}-item-ellipsis`},"•••");return{prevIcon:o.createElement("button",{className:`${E}-item-link`,type:"button",tabIndex:-1},"rtl"===w?o.createElement(p.Z,null):o.createElement(f.Z,null)),nextIcon:o.createElement("button",{className:`${E}-item-link`,type:"button",tabIndex:-1},"rtl"===w?o.createElement(f.Z,null):o.createElement(p.Z,null)),jumpPrevIcon:o.createElement("a",{className:`${E}-item-link`},o.createElement("div",{className:`${E}-item-container`},"rtl"===w?o.createElement(d,{className:`${E}-item-link-icon`}):o.createElement(s,{className:`${E}-item-link-icon`}),e)),jumpNextIcon:o.createElement("a",{className:`${E}-item-link`},o.createElement("div",{className:`${E}-item-container`},"rtl"===w?o.createElement(s,{className:`${E}-item-link-icon`}):o.createElement(d,{className:`${E}-item-link-icon`}),e))}}),[w,E]),[T]=(0,L.Z)("Pagination",N.Z),R=Object.assign(Object.assign({},T),c),j=(0,P.Z)(l),D="small"===j||!(!b||j||!g),B=S("select",n),z=h()({[`${E}-mini`]:D,[`${E}-rtl`]:"rtl"===w,[`${E}-bordered`]:y.wireframe},null==C?void 0:C.className,r,i,_,O),Z=Object.assign(Object.assign({},null==C?void 0:C.style),a);return x(o.createElement(o.Fragment,null,y.wireframe&&o.createElement(hr,{prefixCls:E}),o.createElement(M,Object.assign({},$,v,{style:Z,prefixCls:E,selectPrefixCls:B,className:z,selectComponentClass:u||(D?Rn:Mn),locale:R,showSizeChanger:k}))))},br=vr},8404:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>M});var r=n(7294),o=n(8819),i=n(3061),a=n(8855),l=n(7462);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};var c=n(76),u=function(e,t){return r.createElement(c.Z,(0,l.Z)({},e,{ref:t,icon:s}))};const d=r.forwardRef(u);var f=n(3967),p=n.n(f),g=n(3124);const h=()=>r.createElement("svg",{width:"252",height:"294"},r.createElement("defs",null,r.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(0 .012)"},r.createElement("mask",{fill:"#fff"}),r.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),r.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),r.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),r.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),r.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),r.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),r.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),r.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),r.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),r.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),r.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),r.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),r.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),r.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),r.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),r.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),r.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),r.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),r.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),r.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),r.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),r.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),r.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),r.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),r.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),r.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),r.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),r.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),r.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),r.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),r.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),r.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),r.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),r.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),r.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),r.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),r.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),r.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),r.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),r.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),r.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),r.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),m=()=>r.createElement("svg",{width:"254",height:"294"},r.createElement("defs",null,r.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),r.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(0 .067)"},r.createElement("mask",{fill:"#fff"}),r.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),r.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),r.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),r.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),r.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),r.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),r.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),r.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),r.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),r.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),r.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),r.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),r.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),r.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),r.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),r.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),r.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),r.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),r.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),r.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),r.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),r.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),r.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),r.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),r.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),r.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),r.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),r.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),r.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),r.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),r.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),r.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),r.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),r.createElement("mask",{fill:"#fff"}),r.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),r.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),r.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),r.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),r.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),r.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),r.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),r.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),r.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),r.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),r.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})));var v=n(7395),b=n(1939),y=n(5503);const S=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:o,paddingXL:i,paddingXS:a,paddingLG:l,marginXS:s,lineHeight:c}=e;return{[t]:{padding:`${(0,v.bf)(e.calc(l).mul(2).equal())} ${(0,v.bf)(i)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${r}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:c,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:l,padding:`${(0,v.bf)(l)} ${(0,v.bf)(e.calc(o).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},w=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},C=e=>(e=>[S(e),w(e)])(e),E=(0,b.I$)("Result",(e=>{const t=e.colorInfo,n=e.colorError,r=e.colorSuccess,o=e.colorWarning,i=(0,y.TS)(e,{resultInfoIconColor:t,resultErrorIconColor:n,resultSuccessIconColor:r,resultWarningIconColor:o,imageWidth:250,imageHeight:295});return[C(i)]}),(e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:3*e.fontSizeHeading3,extraMargin:`${e.paddingLG}px 0 0 0`}))),x=()=>r.createElement("svg",{width:"251",height:"294"},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),r.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),r.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),r.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),r.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),r.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),r.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),r.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),r.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),r.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),r.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),r.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),r.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),r.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),r.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),r.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),r.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),r.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),r.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),r.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),r.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),r.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),r.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),r.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),r.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),r.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),r.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),r.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),r.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),r.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),r.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),r.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),r.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),r.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),r.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),r.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),r.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),r.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),r.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),_={success:o.Z,error:i.Z,info:a.Z,warning:d},O={404:h,500:m,403:x},k=Object.keys(O),$=e=>{let{prefixCls:t,icon:n,status:o}=e;const i=p()(`${t}-icon`);if(k.includes(`${o}`)){const e=O[o];return r.createElement("div",{className:`${i} ${t}-image`},r.createElement(e,null))}const a=r.createElement(_[o]);return null===n||!1===n?null:r.createElement("div",{className:i},n||a)},T=e=>{let{prefixCls:t,extra:n}=e;return n?r.createElement("div",{className:`${t}-extra`},n):null},R=e=>{let{prefixCls:t,className:n,rootClassName:o,subTitle:i,title:a,style:l,children:s,status:c="info",icon:u,extra:d}=e;const{getPrefixCls:f,direction:h,result:m}=r.useContext(g.E_),v=f("result",t),[b,y,S]=E(v),w=p()(v,`${v}-${c}`,n,null==m?void 0:m.className,o,{[`${v}-rtl`]:"rtl"===h},y,S),C=Object.assign(Object.assign({},null==m?void 0:m.style),l);return b(r.createElement("div",{className:w,style:C},r.createElement($,{prefixCls:v,status:c,icon:u}),r.createElement("div",{className:`${v}-title`},a),i&&r.createElement("div",{className:`${v}-subtitle`},i),r.createElement(T,{prefixCls:v,extra:d}),s&&r.createElement("div",{className:`${v}-content`},s)))};R.PRESENTED_IMAGE_403=O[403],R.PRESENTED_IMAGE_404=O[404],R.PRESENTED_IMAGE_500=O[500];const M=R},4173:(e,t,n)=>{"use strict";n.d(t,{BR:()=>p,ZP:()=>h,ri:()=>f});var r=n(3967),o=n.n(r),i=n(344),a=n(7294),l=n(3124),s=n(8675),c=n(1418),u=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{const n=a.useContext(d),r=a.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:i,isLastItem:a}=n,l="vertical"===r?"-vertical-":"-";return o()(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},p=e=>{let{children:t}=e;return a.createElement(d.Provider,{value:null},t)},g=e=>{var{children:t}=e,n=u(e,["children"]);return a.createElement(d.Provider,{value:n},t)},h=e=>{const{getPrefixCls:t,direction:n}=a.useContext(l.E_),{size:r,direction:f,block:p,prefixCls:h,className:m,rootClassName:v,children:b}=e,y=u(e,["size","direction","block","prefixCls","className","rootClassName","children"]),S=(0,s.Z)((e=>null!=r?r:e)),w=t("space-compact",h),[C,E]=(0,c.Z)(w),x=o()(w,E,{[`${w}-rtl`]:"rtl"===n,[`${w}-block`]:p,[`${w}-vertical`]:"vertical"===f},m,v),_=a.useContext(d),O=(0,i.Z)(b),k=a.useMemo((()=>O.map(((e,t)=>{const n=e&&e.key||`${w}-item-${t}`;return a.createElement(g,{key:n,compactSize:S,compactDirection:f,isFirstItem:0===t&&(!_||(null==_?void 0:_.isFirstItem)),isLastItem:t===O.length-1&&(!_||(null==_?void 0:_.isLastItem))},e)}))),[r,O,_]);return 0===O.length?null:C(a.createElement("div",Object.assign({className:x},y),k))}},8230:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(7294),o=n(3967),i=n.n(o),a=n(344),l=n(8065),s=n(3124),c=n(4173);const u=r.createContext({latestIndex:0}),d=u.Provider,f=e=>{let{className:t,index:n,children:o,split:i,style:a}=e;const{latestIndex:l}=r.useContext(u);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:a},o),n{var n,o;const{getPrefixCls:c,space:u,direction:h}=r.useContext(s.E_),{size:m=(null==u?void 0:u.size)||"small",align:v,className:b,rootClassName:y,children:S,direction:w="horizontal",prefixCls:C,split:E,style:x,wrap:_=!1,classNames:O,styles:k}=e,$=g(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[T,R]=Array.isArray(m)?m:[m,m],M=(0,l.n)(R),N=(0,l.n)(T),I=(0,l.T)(R),P=(0,l.T)(T),A=(0,a.Z)(S,{keepEmpty:!0}),L=void 0===v&&"horizontal"===w?"center":v,j=c("space",C),[D,B,z]=(0,p.Z)(j),Z=i()(j,null==u?void 0:u.className,B,`${j}-${w}`,{[`${j}-rtl`]:"rtl"===h,[`${j}-align-${L}`]:L,[`${j}-gap-row-${R}`]:M,[`${j}-gap-col-${T}`]:N},b,y,z),F=i()(`${j}-item`,null!==(n=null==O?void 0:O.item)&&void 0!==n?n:null===(o=null==u?void 0:u.classNames)||void 0===o?void 0:o.item);let H=0;const W=A.map(((e,t)=>{var n,o;null!=e&&(H=t);const i=e&&e.key||`${F}-${t}`;return r.createElement(f,{className:F,key:i,index:t,split:E,style:null!==(n=null==k?void 0:k.item)&&void 0!==n?n:null===(o=null==u?void 0:u.styles)||void 0===o?void 0:o.item},e)})),U=r.useMemo((()=>({latestIndex:H})),[H]);if(0===A.length)return null;const V={};return _&&(V.flexWrap="wrap"),!N&&P&&(V.columnGap=T),!M&&I&&(V.rowGap=R),D(r.createElement("div",Object.assign({ref:t,className:Z,style:Object.assign(Object.assign(Object.assign({},V),null==u?void 0:u.style),x)},$),r.createElement(d,{value:U},W)))}));const m=h;m.Compact=c.ZP;const v=m},1418:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(1939),o=n(5503);const i=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},a=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},l=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},s=(0,r.I$)("Space",(e=>{const t=(0,o.TS)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[a(t),l(t),i(t)]}),(()=>({})),{resetStyle:!1})},875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(7294),o=n(3967),i=n.n(o),a=n(8423);function l(e,t,n){var r=(n||{}).atBegin;return function(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,l=o.noLeading,s=void 0!==l&&l,c=o.debounceMode,u=void 0===c?void 0:c,d=!1,f=0;function p(){r&&clearTimeout(r)}function g(){for(var n=arguments.length,o=new Array(n),i=0;ie?s?(f=Date.now(),a||(r=setTimeout(u?h:g,e))):g():!0!==a&&(r=setTimeout(u?h:g,void 0===u?e-c:e)))}return g.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),d=!n},g}(e,t,{debounceMode:!1!==(void 0!==r&&r)})}var s=n(6159),c=n(3124),u=n(7395),d=n(4747),f=n(1939),p=n(5503);const g=new u.E4("antSpinMove",{to:{opacity:1}}),h=new u.E4("antRotate",{to:{transform:"rotate(405deg)"}}),m=e=>{const{componentCls:t,calc:n}=e;return{[`${t}`]:Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${t}-dot ${t}-dot-item`]:{backgroundColor:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:g,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:h,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${t}-dot`]:{fontSize:e.dotSizeSM,i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{fontSize:e.dotSizeLG,i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},v=(0,f.I$)("Spin",(e=>{const t=(0,p.TS)(e,{spinDotDefault:e.colorTextDescription});return[m(t)]}),(e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}));var b=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{const{prefixCls:t,spinning:n=!0,delay:o=0,className:u,rootClassName:d,size:f="default",tip:p,wrapperClassName:g,style:h,children:m,fullscreen:S=!1}=e,w=b(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:C}=r.useContext(c.E_),E=C("spin",t),[x,_,O]=v(E),[k,$]=r.useState((()=>n&&!function(e,t){return!!e&&!!t&&!isNaN(Number(t))}(n,o)));r.useEffect((()=>{if(n){const e=l(o,(()=>{$(!0)}));return e(),()=>{var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}}$(!1)}),[o,n]);const T=r.useMemo((()=>void 0!==m&&!S),[m,S]);const{direction:R,spin:M}=r.useContext(c.E_),N=i()(E,null==M?void 0:M.className,{[`${E}-sm`]:"small"===f,[`${E}-lg`]:"large"===f,[`${E}-spinning`]:k,[`${E}-show-text`]:!!p,[`${E}-fullscreen`]:S,[`${E}-fullscreen-show`]:S&&k,[`${E}-rtl`]:"rtl"===R},u,d,_,O),I=i()(`${E}-container`,{[`${E}-blur`]:k}),P=(0,a.Z)(w,["indicator"]),A=Object.assign(Object.assign({},null==M?void 0:M.style),h),L=r.createElement("div",Object.assign({},P,{style:A,className:N,"aria-live":"polite","aria-busy":k}),function(e,t){const{indicator:n}=t,o=`${e}-dot`;return null===n?null:(0,s.l$)(n)?(0,s.Tm)(n,{className:i()(n.props.className,o)}):(0,s.l$)(y)?(0,s.Tm)(y,{className:i()(y.props.className,o)}):r.createElement("span",{className:i()(o,`${e}-dot-spin`)},r.createElement("i",{className:`${e}-dot-item`,key:1}),r.createElement("i",{className:`${e}-dot-item`,key:2}),r.createElement("i",{className:`${e}-dot-item`,key:3}),r.createElement("i",{className:`${e}-dot-item`,key:4}))}(E,e),p&&(T||S)?r.createElement("div",{className:`${E}-text`},p):null);return x(T?r.createElement("div",Object.assign({},P,{className:i()(`${E}-nested-loading`,g,_,O)}),k&&r.createElement("div",{key:"loading"},L),r.createElement("div",{className:I,key:"container"},m)):L)};S.setDefaultIndicator=e=>{y=e};const w=S},4184:(e,t,n)=>{"use strict";function r(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",l=["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({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function o(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 i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:n}=e,i=`${n}-compact`;return{[i]:Object.assign(Object.assign({},r(e,i,t)),o(n,i,t))}}n.d(t,{c:()=>i})},4747:(e,t,n)=>{"use strict";n.d(t,{Lx:()=>s,Qy:()=>d,Ro:()=>a,Wf:()=>i,dF:()=>l,du:()=>c,oN:()=>u,vS:()=>o});var r=n(7395);const o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({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"}}),l=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),s=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),c=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},u=e=>({outline:`${(0,r.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),d=e=>({"&:focus-visible":Object.assign({},u(e))})},6932:(e,t,n)=>{"use strict";n.d(t,{J$:()=>l});var r=n(7395),o=n(3590);const i=new r.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new r.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,r=`${n}-fade`,l=t?"&":"";return[(0,o.R)(r,i,a,e.motionDurationMid,t),{[`\n ${l}${r}-enter,\n ${l}${r}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${l}${r}-leave`]:{animationTimingFunction:"linear"}}]}},3590:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});const r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},3297:(e,t,n)=>{"use strict";n.d(t,{Fm:()=>f});var r=n(7395),o=n(3590);const i=new r.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new r.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),l=new r.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new r.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new r.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new r.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d={"move-up":{inKeyframes:new r.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new r.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:l,outKeyframes:s},"move-right":{inKeyframes:c,outKeyframes:u}},f=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=d[t];return[(0,o.R)(r,i,a,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},7771:(e,t,n)=>{"use strict";n.d(t,{Qt:()=>l,Uw:()=>a,fJ:()=>i,ly:()=>s,oN:()=>g});var r=n(7395),o=n(3590);const i=new r.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new r.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new r.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),s=new r.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new r.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new r.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),d=new r.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),f=new r.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:l,outKeyframes:s},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:d,outKeyframes:f}},g=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.R)(r,i,a,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},438:(e,t,n)=>{"use strict";n.d(t,{_y:()=>f});var r=n(7395),o=n(3590);const i=new r.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new r.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),l=new r.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new r.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new r.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),d={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:l,outKeyframes:s},"zoom-big-fast":{inKeyframes:l,outKeyframes:s},"zoom-left":{inKeyframes:new r.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new r.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new r.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new r.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:new r.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new r.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},f=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=d[t];return[(0,o.R)(r,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},7414:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l,qN:()=>o,wZ:()=>i});var r=n(9511);const o=8;function i(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?o:r}}function a(e,t){return e?t:{}}function l(e,t,n){const{componentCls:o,boxShadowPopoverArrow:i,arrowOffsetVertical:l,arrowOffsetHorizontal:s}=e,{arrowDistance:c=0,arrowPlacement:u={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[o]:Object.assign(Object.assign(Object.assign(Object.assign({[`${o}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.W)(e,t,i)),{"&:before":{background:t}})]},a(!!u.top,{[[`&-placement-top > ${o}-arrow`,`&-placement-topLeft > ${o}-arrow`,`&-placement-topRight > ${o}-arrow`].join(",")]:{bottom:c,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${o}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${o}-arrow`]:{left:{_skip_check_:!0,value:s}},[`&-placement-topRight > ${o}-arrow`]:{right:{_skip_check_:!0,value:s}}})),a(!!u.bottom,{[[`&-placement-bottom > ${o}-arrow`,`&-placement-bottomLeft > ${o}-arrow`,`&-placement-bottomRight > ${o}-arrow`].join(",")]:{top:c,transform:"translateY(-100%)"},[`&-placement-bottom > ${o}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${o}-arrow`]:{left:{_skip_check_:!0,value:s}},[`&-placement-bottomRight > ${o}-arrow`]:{right:{_skip_check_:!0,value:s}}})),a(!!u.left,{[[`&-placement-left > ${o}-arrow`,`&-placement-leftTop > ${o}-arrow`,`&-placement-leftBottom > ${o}-arrow`].join(",")]:{right:{_skip_check_:!0,value:c},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${o}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${o}-arrow`]:{top:l},[`&-placement-leftBottom > ${o}-arrow`]:{bottom:l}})),a(!!u.right,{[[`&-placement-right > ${o}-arrow`,`&-placement-rightTop > ${o}-arrow`,`&-placement-rightBottom > ${o}-arrow`].join(",")]:{left:{_skip_check_:!0,value:c},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${o}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${o}-arrow`]:{top:l},[`&-placement-rightBottom > ${o}-arrow`]:{bottom:l}}))}}},9511:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,w:()=>o});var r=n(7395);function o(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=o,a=1*r/Math.sqrt(2),l=o-r*(1-1/Math.sqrt(2)),s=o-n*(1/Math.sqrt(2)),c=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),u=2*o-s,d=c,f=2*o-a,p=l,g=2*o-0,h=i,m=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),v=r*(Math.sqrt(2)-1);return{arrowShadowWidth:m,arrowPath:`path('M 0 ${i} A ${r} ${r} 0 0 0 ${a} ${l} L ${s} ${c} A ${n} ${n} 0 0 1 ${u} ${d} L ${f} ${p} A ${r} ${r} 0 0 0 ${g} ${h} Z')`,arrowPolygon:`polygon(${v}px 100%, 50% ${v}px, ${2*o-v}px 100%, ${v}px 100%)`}}const i=(e,t,n)=>{const{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:l,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:l,height:l,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,r.bf)(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}}},4364:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(7395),o=n(274),i=n(4747),a=n(1939),l=n(5503);const s=e=>{const{componentCls:t,lineWidth:n,lineType:o,tableBorderColor:i,tableHeaderBg:a,tablePaddingVertical:l,tablePaddingHorizontal:s,calc:c}=e,u=`${(0,r.bf)(n)} ${o} ${i}`,d=(e,o,i)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,r.bf)(c(o).mul(-1).equal())}\n ${(0,r.bf)(c(c(i).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[`\n > ${t}-content,\n > ${t}-header,\n > ${t}-body,\n > ${t}-summary\n `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,r.bf)(c(l).mul(-1).equal())} ${(0,r.bf)(c(c(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`\n > tr${t}-expanded-row,\n > tr${t}-placeholder\n `]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,r.bf)(n)} 0 ${(0,r.bf)(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},c=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},i.vS),{wordBreak:"keep-all",[`\n &${t}-cell-fix-left-last,\n &${t}-cell-fix-right-first\n `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},u=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},d=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),f=e=>{const{componentCls:t,antCls:n,motionDurationSlow:o,lineWidth:i,paddingXS:a,lineType:l,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:u,borderRadius:f,tablePaddingVertical:p,tablePaddingHorizontal:g,tableExpandedRowBg:h,paddingXXS:m,expandIconMarginTop:v,expandIconSize:b,expandIconHalfInner:y,expandIconScale:S,calc:w}=e,C=`${(0,r.bf)(i)} ${l} ${s}`,E=w(m).sub(i).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},d(e)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:(0,r.bf)(b),background:c,border:C,borderRadius:f,transform:`scale(${S})`,transition:`all ${o}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${o} ease-out`,content:'""'},"&::before":{top:y,insetInlineEnd:E,insetInlineStart:E,height:i},"&::after":{top:E,bottom:E,insetInlineStart:y,width:i,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:v,marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:h}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,r.bf)(w(p).mul(-1).equal())} ${(0,r.bf)(w(g).mul(-1).equal())}`,padding:`${(0,r.bf)(p)} ${(0,r.bf)(g)}`}}}},p=e=>{const{componentCls:t,antCls:n,iconCls:o,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:l,paddingXXS:s,paddingXS:c,colorText:u,lineWidth:d,lineType:f,tableBorderColor:p,headerIconColor:g,fontSizeSM:h,tablePaddingHorizontal:m,borderRadius:v,motionDurationSlow:b,colorTextDescription:y,colorPrimary:S,tableHeaderFilterActiveBg:w,colorTextDisabled:C,tableFilterDropdownBg:E,tableFilterDropdownHeight:x,controlItemBgHover:_,controlItemBgActive:O,boxShadowSecondary:k,filterDropdownMenuBg:$,calc:T}=e,R=`${n}-dropdown`,M=`${t}-filter-dropdown`,N=`${n}-tree`,I=`${(0,r.bf)(d)} ${f} ${p}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:T(s).mul(-1).equal(),marginInline:`${(0,r.bf)(s)} ${(0,r.bf)(T(m).div(2).mul(-1).equal())}`,padding:`0 ${(0,r.bf)(s)}`,color:g,fontSize:h,borderRadius:v,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:y,background:w},"&.active":{color:S}}}},{[`${n}-dropdown`]:{[M]:Object.assign(Object.assign({},(0,i.Wf)(e)),{minWidth:a,backgroundColor:E,borderRadius:v,boxShadow:k,overflow:"hidden",[`${R}-menu`]:{maxHeight:x,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:$,"&:empty::after":{display:"block",padding:`${(0,r.bf)(c)} 0`,color:C,fontSize:h,textAlign:"center",content:'"Not Found"'}},[`${M}-tree`]:{paddingBlock:`${(0,r.bf)(c)} 0`,paddingInline:c,[N]:{padding:0},[`${N}-treenode ${N}-node-content-wrapper:hover`]:{backgroundColor:_},[`${N}-treenode-checkbox-checked ${N}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:O}}},[`${M}-search`]:{padding:c,borderBottom:I,"&-input":{input:{minWidth:l},[o]:{color:C}}},[`${M}-checkall`]:{width:"100%",marginBottom:s,marginInlineStart:s},[`${M}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,r.bf)(T(c).sub(d).equal())} ${(0,r.bf)(c)}`,overflow:"hidden",borderTop:I}})}},{[`${n}-dropdown ${M}, ${M}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:c,color:u},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},g=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:o,zIndexTableFixed:i,tableBg:a,zIndexTableSticky:l,calc:s}=e,c=r;return{[`${t}-wrapper`]:{[`\n ${t}-cell-fix-left,\n ${t}-cell-fix-right\n `]:{position:"sticky !important",zIndex:i,background:a},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:s(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{position:"absolute",top:0,bottom:s(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:s(l).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${c}`},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{boxShadow:`inset 10px 0 8px -8px ${c}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${c}`},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{boxShadow:`inset -10px 0 8px -8px ${c}`}}}}},h=e=>{const{componentCls:t,antCls:n,margin:o}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,r.bf)(o)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},m=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,r.bf)(n)} ${(0,r.bf)(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${(0,r.bf)(n)} ${(0,r.bf)(n)}`}}}}},v=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},b=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSizeIcon:i,padding:a,paddingXS:l,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,tableRowHoverBg:p,tablePaddingHorizontal:g,calc:h}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:h(u).add(i).add(h(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:h(u).add(h(l).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:h(u).add(i).add(h(a).div(4)).add(h(l).mul(2)).equal()}},[`\n table tr th${t}-selection-column,\n table tr td${t}-selection-column,\n ${t}-selection-column\n `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,r.bf)(h(g).div(4).equal()),[o]:{color:s,fontSize:i,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:f}}},[`> ${t}-cell-row-hover`]:{background:p}}}}}},y=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:o}=e,i=(e,i,a,l)=>({[`${t}${t}-${e}`]:{fontSize:l,[`\n ${t}-title,\n ${t}-footer,\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{padding:`${(0,r.bf)(i)} ${(0,r.bf)(a)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,r.bf)(o(a).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,r.bf)(o(i).mul(-1).equal())} ${(0,r.bf)(o(a).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,r.bf)(o(i).mul(-1).equal()),marginInline:`${(0,r.bf)(o(n).sub(a).equal())} ${(0,r.bf)(o(a).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,r.bf)(o(a).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},i("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),i("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},S=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:o,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`\n &${t}-cell-fix-left:hover,\n &${t}-cell-fix-right:hover\n `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:o,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},w=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:o,tableScrollThumbBgHover:i,tableScrollThumbSize:a,tableScrollBg:l,zIndexTableSticky:s,stickyScrollBarBorderRadius:c,lineWidth:u,lineType:d,tableBorderColor:f}=e,p=`${(0,r.bf)(u)} ${d} ${f}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,r.bf)(a)} !important`,zIndex:s,display:"flex",alignItems:"center",background:l,borderTop:p,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:a,backgroundColor:o,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},C=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:o,calc:i}=e,a=`${(0,r.bf)(n)} ${e.lineType} ${o}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,r.bf)(i(n).mul(-1).equal())} 0 ${o}`}}}},E=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:o,lineType:i,tableBorderColor:a,calc:l}=e,s=`${(0,r.bf)(o)} ${i} ${a}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,r.bf)(o)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:l(o).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},x=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:o,tablePaddingHorizontal:a,tableExpandColumnWidth:l,lineWidth:s,lineType:c,tableBorderColor:u,tableFontSize:d,tableBg:f,tableRadius:p,tableHeaderTextColor:g,motionDurationMid:h,tableHeaderBg:m,tableHeaderCellSplitColor:v,tableFooterTextColor:b,tableFooterBg:y,calc:S}=e,w=`${(0,r.bf)(s)} ${c} ${u}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,i.dF)()),{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{fontSize:d,background:f,borderRadius:`${(0,r.bf)(p)} ${(0,r.bf)(p)} 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,r.bf)(p)} ${(0,r.bf)(p)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{position:"relative",padding:`${(0,r.bf)(o)} ${(0,r.bf)(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,r.bf)(o)} ${(0,r.bf)(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:g,fontWeight:n,textAlign:"start",background:m,borderBottom:w,transition:`background ${h} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:v,transform:"translateY(-50%)",transition:`background-color ${h}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${h}, border-color ${h}`,borderBottom:w,[`\n > ${t}-wrapper:only-child,\n > ${t}-expanded-row-fixed > ${t}-wrapper:only-child\n `]:{[t]:{marginBlock:(0,r.bf)(S(o).mul(-1).equal()),marginInline:`${(0,r.bf)(S(l).sub(a).equal())}\n ${(0,r.bf)(S(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:g,fontWeight:n,textAlign:"start",background:m,borderBottom:w,transition:`background ${h} ease`}}},[`${t}-footer`]:{padding:`${(0,r.bf)(o)} ${(0,r.bf)(a)}`,color:b,background:y}})}},_=(0,a.I$)("Table",(e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:o,headerBg:i,headerColor:a,headerSortActiveBg:d,headerSortHoverBg:_,bodySortBg:O,rowHoverBg:k,rowSelectedBg:$,rowSelectedHoverBg:T,rowExpandedBg:R,cellPaddingBlock:M,cellPaddingInline:N,cellPaddingBlockMD:I,cellPaddingInlineMD:P,cellPaddingBlockSM:A,cellPaddingInlineSM:L,borderColor:j,footerBg:D,footerColor:B,headerBorderRadius:z,cellFontSize:Z,cellFontSizeMD:F,cellFontSizeSM:H,headerSplitColor:W,fixedHeaderSortActiveBg:U,headerFilterHoverBg:V,filterDropdownBg:q,expandIconBg:X,selectionColumnWidth:G,stickyScrollBarBg:Y,calc:K}=e,Q=(0,l.TS)(e,{tableFontSize:Z,tableBg:r,tableRadius:z,tablePaddingVertical:M,tablePaddingHorizontal:N,tablePaddingVerticalMiddle:I,tablePaddingHorizontalMiddle:P,tablePaddingVerticalSmall:A,tablePaddingHorizontalSmall:L,tableBorderColor:j,tableHeaderTextColor:a,tableHeaderBg:i,tableFooterTextColor:B,tableFooterBg:D,tableHeaderCellSplitColor:W,tableHeaderSortBg:d,tableHeaderSortHoverBg:_,tableBodySortBg:O,tableFixedHeaderSortActiveBg:U,tableHeaderFilterActiveBg:V,tableFilterDropdownBg:q,tableRowHoverBg:k,tableSelectedRowBg:$,tableSelectedRowHoverBg:T,zIndexTableFixed:2,zIndexTableSticky:3,tableFontSizeMiddle:F,tableFontSizeSmall:H,tableSelectionColumnWidth:G,tableExpandIconBg:X,tableExpandColumnWidth:K(o).add(K(e.padding).mul(2)).equal(),tableExpandedRowBg:R,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Y,tableScrollThumbBgHover:t,tableScrollBg:n});return[x(Q),h(Q),C(Q),S(Q),p(Q),s(Q),m(Q),f(Q),C(Q),u(Q),b(Q),g(Q),w(Q),c(Q),y(Q),v(Q),E(Q)]}),(e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:a,controlItemBgActive:l,controlItemBgActiveHover:s,padding:c,paddingSM:u,paddingXS:d,colorBorderSecondary:f,borderRadiusLG:p,controlHeight:g,colorTextPlaceholder:h,fontSize:m,fontSizeSM:v,lineHeight:b,lineWidth:y,colorIcon:S,colorIconHover:w,opacityLoading:C,controlInteractiveSize:E}=e,x=new o.C(i).onBackground(n).toHexShortString(),_=new o.C(a).onBackground(n).toHexShortString(),O=new o.C(t).onBackground(n).toHexShortString(),k=new o.C(S),$=new o.C(w),T=E/2-y,R=2*T+3*y;return{headerBg:O,headerColor:r,headerSortActiveBg:x,headerSortHoverBg:_,bodySortBg:O,rowHoverBg:O,rowSelectedBg:l,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:f,headerBorderRadius:p,footerBg:O,footerColor:r,cellFontSize:m,cellFontSizeMD:m,cellFontSizeSM:m,headerSplitColor:f,fixedHeaderSortActiveBg:x,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:g,stickyScrollBarBg:h,stickyScrollBarBorderRadius:100,expandIconMarginTop:(m*b-3*y)/2-Math.ceil((1.4*v-3*y)/2),headerIconColor:k.clone().setAlpha(k.getAlpha()*C).toRgbString(),headerIconHoverColor:$.clone().setAlpha($.getAlpha()*C).toRgbString(),expandIconHalfInner:T,expandIconSize:R,expandIconScale:E/R}}),{unitless:{expandIconScale:!0}})},1006:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Re});var r=n(7294),o=n(4549),i=n(4545),a=n(7462);const l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var s=n(76),c=function(e,t){return r.createElement(s.Z,(0,a.Z)({},e,{ref:t,icon:l}))};const u=r.forwardRef(c);var d=n(3967),f=n.n(d),p=n(4942),g=n(1413),h=n(9439),m=n(1002),v=n(4925),b=n(1770),y=n(1131);const S=(0,r.createContext)(null);var w=n(3433),C=n(5375),E=n(6680),x=n(2550),_=n(5164);const O=function(e){var t=e.activeTabOffset,n=e.horizontal,o=e.rtl,i=e.indicator,a=void 0===i?{}:i,l=a.size,s=a.align,c=void 0===s?"center":s,u=(0,r.useState)(),d=(0,h.Z)(u,2),f=d[0],p=d[1],g=(0,r.useRef)(),m=r.useCallback((function(e){return"function"==typeof l?l(e):"number"==typeof l?l:e}),[l]);function v(){_.Z.cancel(g.current)}return(0,r.useEffect)((function(){var e={};if(t)if(n){e.width=m(t.width);var r=o?"right":"left";"start"===c&&(e[r]=t[r]),"center"===c&&(e[r]=t[r]+t.width/2,e.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===c&&(e[r]=t[r]+t.width,e.transform="translateX(-100%)")}else e.height=m(t.height),"start"===c&&(e.top=t.top),"center"===c&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===c&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return v(),g.current=(0,_.Z)((function(){p(e)})),v}),[t,n,o,c,m]),{style:f}};var k={width:0,height:0,left:0,top:0};function $(e,t){var n=r.useRef(e),o=r.useState({}),i=(0,h.Z)(o,2)[1];return[n.current,function(e){var r="function"==typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,i({})}]}var T=Math.pow(.995,20);var R=n(8410);function M(e){var t=(0,r.useState)(0),n=(0,h.Z)(t,2),o=n[0],i=n[1],a=(0,r.useRef)(0),l=(0,r.useRef)();return l.current=e,(0,R.o)((function(){var e;null===(e=l.current)||void 0===e||e.call(l)}),[o]),function(){a.current===o&&(a.current+=1,i(a.current))}}var N={width:0,height:0,left:0,top:0,right:0};function I(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function P(e){return String(e).replace(/"/g,"TABS_DQ")}function A(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}var L=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.editable,i=e.locale,a=e.style;return o&&!1!==o.showAdd?r.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(null==i?void 0:i.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}));const j=L;const D=r.forwardRef((function(e,t){var n,o=e.position,i=e.prefixCls,a=e.extra;if(!a)return null;var l={};return"object"!==(0,m.Z)(a)||r.isValidElement(a)?l.right=a:l=a,"right"===o&&(n=l.right),"left"===o&&(n=l.left),n?r.createElement("div",{className:"".concat(i,"-extra-content"),ref:t},n):null}));var B=n(26),z=n(5337),Z=n(5105),F=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.id,i=e.tabs,a=e.locale,l=e.mobile,s=e.moreIcon,c=void 0===s?"More":s,u=e.moreTransitionName,d=e.style,g=e.className,m=e.editable,v=e.tabBarGutter,b=e.rtl,y=e.removeAriaLabel,S=e.onTabClick,w=e.getPopupContainer,C=e.popupClassName,E=(0,r.useState)(!1),x=(0,h.Z)(E,2),_=x[0],O=x[1],k=(0,r.useState)(null),$=(0,h.Z)(k,2),T=$[0],R=$[1],M="".concat(o,"-more-popup"),N="".concat(n,"-dropdown"),I=null!==T?"".concat(M,"-").concat(T):null,P=null==a?void 0:a.dropdownAriaLabel;var L=r.createElement(z.ZP,{onClick:function(e){var t=e.key,n=e.domEvent;S(t,n),O(!1)},prefixCls:"".concat(N,"-menu"),id:M,tabIndex:-1,role:"listbox","aria-activedescendant":I,selectedKeys:[T],"aria-label":void 0!==P?P:"expanded dropdown"},i.map((function(e){var t=e.closable,n=e.disabled,i=e.closeIcon,a=e.key,l=e.label,s=A(t,i,m,n);return r.createElement(z.sN,{key:a,id:"".concat(M,"-").concat(a),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(a),disabled:n},r.createElement("span",null,l),s&&r.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(N,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),function(e,t){e.preventDefault(),e.stopPropagation(),m.onEdit("remove",{key:t,event:e})}(e,a)}},i||m.removeIcon||"×"))})));function D(e){for(var t=i.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===T}))||0,r=t.length,o=0;ot?"left":"right"})})),ee=(0,h.Z)(J,2),te=ee[0],ne=ee[1],re=$(0,(function(e,t){!Q&&R&&R({direction:e>t?"top":"bottom"})})),oe=(0,h.Z)(re,2),ie=oe[0],ae=oe[1],le=(0,r.useState)([0,0]),se=(0,h.Z)(le,2),ce=se[0],ue=se[1],de=(0,r.useState)([0,0]),fe=(0,h.Z)(de,2),pe=fe[0],ge=fe[1],he=(0,r.useState)([0,0]),me=(0,h.Z)(he,2),ve=me[0],be=me[1],ye=(0,r.useState)([0,0]),Se=(0,h.Z)(ye,2),we=Se[0],Ce=Se[1],Ee=function(e){var t=(0,r.useRef)([]),n=(0,r.useState)({}),o=(0,h.Z)(n,2)[1],i=(0,r.useRef)("function"==typeof e?e():e),a=M((function(){var e=i.current;t.current.forEach((function(t){e=t(e)})),t.current=[],i.current=e,o({})}));return[i.current,function(e){t.current.push(e),a()}]}(new Map),xe=(0,h.Z)(Ee,2),_e=xe[0],Oe=xe[1],ke=function(e,t,n){return(0,r.useMemo)((function(){for(var n,r=new Map,o=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||k,i=o.left+o.width,a=0;aLe?Le:e}Q&&c?(Ae=0,Le=Math.max(0,Te-Ie)):(Ae=Math.min(0,Ie-Te),Le=0);var De=(0,r.useRef)(null),Be=(0,r.useState)(),ze=(0,h.Z)(Be,2),Ze=ze[0],Fe=ze[1];function He(){Fe(Date.now())}function We(){De.current&&clearTimeout(De.current)}!function(e,t){var n=(0,r.useState)(),o=(0,h.Z)(n,2),i=o[0],a=o[1],l=(0,r.useState)(0),s=(0,h.Z)(l,2),c=s[0],u=s[1],d=(0,r.useState)(0),f=(0,h.Z)(d,2),p=f[0],g=f[1],m=(0,r.useState)(),v=(0,h.Z)(m,2),b=v[0],y=v[1],S=(0,r.useRef)(),w=(0,r.useRef)(),C=(0,r.useRef)(null);C.current={onTouchStart:function(e){var t=e.touches[0],n=t.screenX,r=t.screenY;a({x:n,y:r}),window.clearInterval(S.current)},onTouchMove:function(e){if(i){e.preventDefault();var n=e.touches[0],r=n.screenX,o=n.screenY;a({x:r,y:o});var l=r-i.x,s=o-i.y;t(l,s);var d=Date.now();u(d),g(d-c),y({x:l,y:s})}},onTouchEnd:function(){if(i&&(a(null),y(null),b)){var e=b.x/p,n=b.y/p,r=Math.abs(e),o=Math.abs(n);if(Math.max(r,o)<.1)return;var l=e,s=n;S.current=window.setInterval((function(){Math.abs(l)<.01&&Math.abs(s)<.01?window.clearInterval(S.current):t(20*(l*=T),20*(s*=T))}),20)}},onWheel:function(e){var n=e.deltaX,r=e.deltaY,o=0,i=Math.abs(n),a=Math.abs(r);i===a?o="x"===w.current?n:r:i>a?(o=n,w.current="x"):(o=r,w.current="y"),t(-o,-o)&&e.preventDefault()}},r.useEffect((function(){function t(e){C.current.onTouchMove(e)}function n(e){C.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){C.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){C.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(X,(function(e,t){function n(e,t){e((function(e){return je(e+t)}))}return!!Ne&&(Q?n(ne,e):n(ae,t),We(),He(),!0)})),(0,r.useEffect)((function(){return We(),Ze&&(De.current=setTimeout((function(){Fe(0)}),100)),We}),[Ze]);var Ue=function(e,t,n,o,i,a,l){var s,c,u,d=l.tabs,f=l.tabPosition,p=l.rtl;return["top","bottom"].includes(f)?(s="width",c=p?"right":"left",u=Math.abs(n)):(s="height",c="top",u=-n),(0,r.useMemo)((function(){if(!d.length)return[0,0];for(var n=d.length,r=n,o=0;ou+t){r=o-1;break}}for(var a=0,l=n-1;l>=0;l-=1)if((e.get(d[l].key)||N)[c]=r?[0,0]:[a,r]}),[e,t,o,i,a,u,f,d.map((function(e){return e.key})).join("_"),p])}(ke,Ie,Q?te:ie,Te,Re,Me,(0,g.Z)((0,g.Z)({},e),{},{tabs:z})),Ve=(0,h.Z)(Ue,2),qe=Ve[0],Xe=Ve[1],Ge=(0,E.Z)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=ke.get(e)||{width:0,height:0,left:0,right:0,top:0};if(Q){var n=te;c?t.rightte+Ie&&(n=t.right+t.width-Ie):t.left<-te?n=-t.left:t.left+t.width>-te+Ie&&(n=-(t.left+t.width-Ie)),ae(0),ne(je(n))}else{var r=ie;t.top<-ie?r=-t.top:t.top+t.height>-ie+Ie&&(r=-(t.top+t.height-Ie)),ne(0),ae(je(r))}})),Ye={};"top"===v||"bottom"===v?Ye[c?"marginRight":"marginLeft"]=b:Ye.marginTop=b;var Ke=z.map((function(e,t){var n=e.key;return r.createElement(W,{id:i,prefixCls:B,key:n,tab:e,style:0===t?void 0:Ye,closable:e.closable,editable:d,active:n===s,renderWrapper:y,removeAriaLabel:null==m?void 0:m.removeAriaLabel,onClick:function(e){_(n,e)},onFocus:function(){Ge(n),He(),X.current&&(c||(X.current.scrollLeft=0),X.current.scrollTop=0)}})})),Qe=function(){return Oe((function(){var e,t=new Map,n=null===(e=G.current)||void 0===e?void 0:e.getBoundingClientRect();return z.forEach((function(e){var r,o=e.key,i=null===(r=G.current)||void 0===r?void 0:r.querySelector('[data-node-key="'.concat(P(o),'"]'));if(i){var a=function(e,t){var n=e.offsetWidth,r=e.offsetHeight,o=e.offsetTop,i=e.offsetLeft,a=e.getBoundingClientRect(),l=a.width,s=a.height,c=a.x,u=a.y;return Math.abs(l-n)<1?[l,s,c-t.x,u-t.y]:[n,r,i,o]}(i,n),l=(0,h.Z)(a,4),s=l[0],c=l[1],u=l[2],d=l[3];t.set(o,{width:s,height:c,left:u,top:d})}})),t}))};(0,r.useEffect)((function(){Qe()}),[z.map((function(e){return e.key})).join("_")]);var Je=M((function(){var e=U(Z),t=U(F),n=U(q);ue([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=U(K);be(r);var o=U(Y);Ce(o);var i=U(G);ge([i[0]-r[0],i[1]-r[1]]),Qe()})),et=z.slice(0,qe),tt=z.slice(Xe+1),nt=[].concat((0,w.Z)(et),(0,w.Z)(tt)),rt=ke.get(s),ot=O({activeTabOffset:rt,horizontal:Q,indicator:A,rtl:c}).style;(0,r.useEffect)((function(){Ge()}),[s,Ae,Le,I(rt),I(ke),Q]),(0,r.useEffect)((function(){Je()}),[c]);var it,at,lt,st,ct=!!nt.length,ut="".concat(B,"-nav-wrap");return Q?c?(at=te>0,it=te!==Le):(it=te<0,at=te!==Ae):(lt=ie<0,st=ie!==Ae),r.createElement(C.Z,{onResize:Je},r.createElement("div",{ref:(0,x.x1)(t,Z),role:"tablist",className:f()("".concat(B,"-nav"),n),style:o,onKeyDown:function(){He()}},r.createElement(D,{ref:F,position:"left",extra:u,prefixCls:B}),r.createElement(C.Z,{onResize:Je},r.createElement("div",{className:f()(ut,(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(ut,"-ping-left"),it),"".concat(ut,"-ping-right"),at),"".concat(ut,"-ping-top"),lt),"".concat(ut,"-ping-bottom"),st)),ref:X},r.createElement(C.Z,{onResize:Je},r.createElement("div",{ref:G,className:"".concat(B,"-nav-list"),style:{transform:"translate(".concat(te,"px, ").concat(ie,"px)"),transition:Ze?"none":void 0}},Ke,r.createElement(j,{ref:K,prefixCls:B,locale:m,editable:d,style:(0,g.Z)((0,g.Z)({},0===Ke.length?void 0:Ye),{},{visibility:ct?"hidden":null})}),r.createElement("div",{className:f()("".concat(B,"-ink-bar"),(0,p.Z)({},"".concat(B,"-ink-bar-animated"),l.inkBar)),style:ot}))))),r.createElement(H,(0,a.Z)({},e,{removeAriaLabel:null==m?void 0:m.removeAriaLabel,ref:Y,prefixCls:B,tabs:nt,className:!ct&&Pe,tabMoving:!!Ze})),r.createElement(D,{ref:q,position:"right",extra:u,prefixCls:B})))}));const X=q;var G=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.className,i=e.style,a=e.id,l=e.active,s=e.tabKey,c=e.children;return r.createElement("div",{id:a&&"".concat(a,"-panel-").concat(s),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":a&&"".concat(a,"-tab-").concat(s),"aria-hidden":!l,style:i,className:f()(n,l&&"".concat(n,"-active"),o),ref:t},c)}));const Y=G;var K=["renderTabBar"],Q=["label","key"];const J=function(e){var t=e.renderTabBar,n=(0,v.Z)(e,K),o=r.useContext(S).tabs;return t?t((0,g.Z)((0,g.Z)({},n),{},{panes:o.map((function(e){var t=e.label,n=e.key,o=(0,v.Z)(e,Q);return r.createElement(Y,(0,a.Z)({tab:t,key:n,tabKey:n},o))}))}),X):r.createElement(X,n)};var ee=n(5461),te=["key","forceRender","style","className","destroyInactiveTabPane"];const ne=function(e){var t=e.id,n=e.activeKey,o=e.animated,i=e.tabPosition,l=e.destroyInactiveTabPane,s=r.useContext(S),c=s.prefixCls,u=s.tabs,d=o.tabPane,h="".concat(c,"-tabpane");return r.createElement("div",{className:f()("".concat(c,"-content-holder"))},r.createElement("div",{className:f()("".concat(c,"-content"),"".concat(c,"-content-").concat(i),(0,p.Z)({},"".concat(c,"-content-animated"),d))},u.map((function(e){var i=e.key,s=e.forceRender,c=e.style,u=e.className,p=e.destroyInactiveTabPane,m=(0,v.Z)(e,te),b=i===n;return r.createElement(ee.ZP,(0,a.Z)({key:i,visible:b,forceRender:s,removeOnLeave:!(!l&&!p),leavedClassName:"".concat(h,"-hidden")},o.tabPaneMotion),(function(e,n){var o=e.style,l=e.className;return r.createElement(Y,(0,a.Z)({},m,{prefixCls:h,id:t,tabKey:i,animated:d,active:b,style:(0,g.Z)((0,g.Z)({},c),o),className:f()(u,l),ref:n}))}))}))))};n(334);var re=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],oe=0,ie=r.forwardRef((function(e,t){var n=e.id,o=e.prefixCls,i=void 0===o?"rc-tabs":o,l=e.className,s=e.items,c=e.direction,u=e.activeKey,d=e.defaultActiveKey,w=e.editable,C=e.animated,E=e.tabPosition,x=void 0===E?"top":E,_=e.tabBarGutter,O=e.tabBarStyle,k=e.tabBarExtraContent,$=e.locale,T=e.moreIcon,R=e.moreTransitionName,M=e.destroyInactiveTabPane,N=e.renderTabBar,I=e.onChange,P=e.onTabClick,A=e.onTabScroll,L=e.getPopupContainer,j=e.popupClassName,D=e.indicator,B=(0,v.Z)(e,re),z=r.useMemo((function(){return(s||[]).filter((function(e){return e&&"object"===(0,m.Z)(e)&&"key"in e}))}),[s]),Z="rtl"===c,F=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,g.Z)({inkBar:!0},"object"===(0,m.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(C),H=(0,r.useState)(!1),W=(0,h.Z)(H,2),U=W[0],V=W[1];(0,r.useEffect)((function(){V((0,y.Z)())}),[]);var q=(0,b.Z)((function(){var e;return null===(e=z[0])||void 0===e?void 0:e.key}),{value:u,defaultValue:d}),X=(0,h.Z)(q,2),G=X[0],Y=X[1],K=(0,r.useState)((function(){return z.findIndex((function(e){return e.key===G}))})),Q=(0,h.Z)(K,2),ee=Q[0],te=Q[1];(0,r.useEffect)((function(){var e,t=z.findIndex((function(e){return e.key===G}));-1===t&&(t=Math.max(0,Math.min(ee,z.length-1)),Y(null===(e=z[t])||void 0===e?void 0:e.key));te(t)}),[z.map((function(e){return e.key})).join("_"),G,ee]);var ie=(0,b.Z)(null,{value:n}),ae=(0,h.Z)(ie,2),le=ae[0],se=ae[1];(0,r.useEffect)((function(){n||(se("rc-tabs-".concat(oe)),oe+=1)}),[]);var ce={id:le,activeKey:G,animated:F,tabPosition:x,rtl:Z,mobile:U},ue=(0,g.Z)((0,g.Z)({},ce),{},{editable:w,locale:$,moreIcon:T,moreTransitionName:R,tabBarGutter:_,onTabClick:function(e,t){null==P||P(e,t);var n=e!==G;Y(e),n&&(null==I||I(e))},onTabScroll:A,extra:k,style:O,panes:null,getPopupContainer:L,popupClassName:j,indicator:D});return r.createElement(S.Provider,{value:{tabs:z,prefixCls:i}},r.createElement("div",(0,a.Z)({ref:t,id:n,className:f()(i,"".concat(i,"-").concat(x),(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(i,"-mobile"),U),"".concat(i,"-editable"),w),"".concat(i,"-rtl"),Z),l)},B),r.createElement(J,(0,a.Z)({},ue,{renderTabBar:N})),r.createElement(ne,(0,a.Z)({destroyInactiveTabPane:M},ce,{animated:F}))))}));const ae=ie;var le=n(3124),se=n(5792),ce=n(8675),ue=n(3603);const de={motionAppear:!1,motionEnter:!0,motionLeave:!0};var fe=n(344),pe=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{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,be.oN)(e,"slide-up"),(0,be.oN)(e,"slide-down")]]},Se=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${(0,ge.bf)(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,ge.bf)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,ge.bf)(e.borderRadiusLG)} ${(0,ge.bf)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,ge.bf)(e.borderRadiusLG)} ${(0,ge.bf)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,ge.bf)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,ge.bf)(e.borderRadiusLG)} 0 0 ${(0,ge.bf)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,ge.bf)(e.borderRadiusLG)} ${(0,ge.bf)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},we=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,he.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,ge.bf)(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},he.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,ge.bf)(e.paddingXXS)} ${(0,ge.bf)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ce=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,ge.bf)(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,ge.bf)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,ge.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,ge.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Ee=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,ge.bf)(e.borderRadius)} ${(0,ge.bf)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,ge.bf)(e.borderRadius)} ${(0,ge.bf)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,ge.bf)(e.borderRadius)} ${(0,ge.bf)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,ge.bf)(e.borderRadius)} 0 0 ${(0,ge.bf)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},xe=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:l,itemColor:s}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,he.Qy)(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},_e=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,ge.bf)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,ge.bf)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,ge.bf)(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Oe=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${(0,ge.bf)(e.paddingXS)}`,background:"transparent",border:`${(0,ge.bf)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,ge.bf)(e.borderRadiusLG)} ${(0,ge.bf)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},(0,he.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),xe(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},ke=(0,me.I$)("Tabs",(e=>{const t=(0,ve.TS)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,ge.bf)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,ge.bf)(e.horizontalItemGutter)}`});return[Ee(t),_e(t),Ce(t),we(t),Se(t),Oe(t),ye(t)]}),(e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}));var $e=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{var t,n,a,l,s,c;const{type:d,className:p,rootClassName:g,size:h,onEdit:m,hideAdd:v,centered:b,addIcon:y,popupClassName:S,children:w,items:C,animated:E,style:x,indicatorSize:_,indicator:O}=e,k=$e(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:$,moreIcon:T=r.createElement(i.Z,null)}=k,{direction:R,tabs:M,getPrefixCls:N,getPopupContainer:I}=r.useContext(le.E_),P=N("tabs",$),A=(0,se.Z)(P),[L,j,D]=ke(P,A);let B;"editable-card"===d&&(B={onEdit:(e,t)=>{let{key:n,event:r}=t;null==m||m("add"===e?r:n,e)},removeIcon:r.createElement(o.Z,null),addIcon:y||r.createElement(u,null),showAdd:!0!==v});const z=N();const Z=(0,ce.Z)(h),F=function(e,t){return e||function(e){return e.filter((e=>e))}((0,fe.Z)(t).map((e=>{if(r.isValidElement(e)){const{key:t,props:n}=e,r=n||{},{tab:o}=r,i=pe(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null})))}(C,w),H=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{}),t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},de),{motionName:(0,ue.m)(e,"switch")})),t}(P,E),W=Object.assign(Object.assign({},null==M?void 0:M.style),x),U={align:null!==(t=null==O?void 0:O.align)&&void 0!==t?t:null===(n=null==M?void 0:M.indicator)||void 0===n?void 0:n.align,size:null!==(c=null!==(l=null!==(a=null==O?void 0:O.size)&&void 0!==a?a:_)&&void 0!==l?l:null===(s=null==M?void 0:M.indicator)||void 0===s?void 0:s.size)&&void 0!==c?c:null==M?void 0:M.indicatorSize};return L(r.createElement(ae,Object.assign({direction:R,getPopupContainer:I,moreTransitionName:`${z}-slide-up`},k,{items:F,className:f()({[`${P}-${Z}`]:Z,[`${P}-card`]:["card","editable-card"].includes(d),[`${P}-editable-card`]:"editable-card"===d,[`${P}-centered`]:b},null==M?void 0:M.className,p,g,j,D,A),popupClassName:f()(S,j,D,A),style:W,editable:B,moreIcon:T,prefixCls:P,animated:H,indicator:U})))};Te.TabPane=()=>null;const Re=Te},6214:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var r=n(7294),o=n(4549),i=n(3967),a=n.n(i),l=n(8787),s=n(9760),c=n(8979),u=n(3124),d=n(7395),f=n(274),p=n(4747),g=n(5503),h=n(1939);const m=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM;return(0,g.TS)(e,{tagFontSize:o,tagLineHeight:(0,d.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},v=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),b=(0,h.I$)("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:i}=e,a=i(r).sub(n).equal(),l=i(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,p.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(m(e))),v);var y=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{const{prefixCls:n,style:o,className:i,checked:l,onChange:s,onClick:c}=e,d=y(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:p}=r.useContext(u.E_),g=f("tag",n),[h,m,v]=b(g),S=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==p?void 0:p.className,i,m,v);return h(r.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==p?void 0:p.style),className:S,onClick:e=>{null==s||s(!l),null==c||c(e)}})))})),w=S;var C=n(8719);const E=(0,h.bk)(["Tag","preset"],(e=>(e=>(0,C.Z)(e,((t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:i,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(m(e))),v);const x=(e,t,n)=>{const r="string"!=typeof(o=n)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},_=(0,h.bk)(["Tag","status"],(e=>{const t=m(e);return[x(t,"success","Success"),x(t,"processing","Info"),x(t,"error","Error"),x(t,"warning","Warning")]}),v);var O=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{const{prefixCls:n,className:i,rootClassName:d,style:f,children:p,icon:g,color:h,onClose:m,closeIcon:v,closable:y,bordered:S=!0}=e,w=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:C,direction:x,tag:k}=r.useContext(u.E_),[$,T]=r.useState(!0);r.useEffect((()=>{"visible"in w&&T(w.visible)}),[w.visible]);const R=(0,l.o2)(h),M=(0,l.yT)(h),N=R||M,I=Object.assign(Object.assign({backgroundColor:h&&!N?h:void 0},null==k?void 0:k.style),f),P=C("tag",n),[A,L,j]=b(P),D=a()(P,null==k?void 0:k.className,{[`${P}-${h}`]:N,[`${P}-has-color`]:h&&!N,[`${P}-hidden`]:!$,[`${P}-rtl`]:"rtl"===x,[`${P}-borderless`]:!S},i,d,L,j),B=e=>{e.stopPropagation(),null==m||m(e),e.defaultPrevented||T(!1)},[,z]=(0,s.Z)(y,v,(e=>null===e?r.createElement(o.Z,{className:`${P}-close-icon`,onClick:B}):r.createElement("span",{className:`${P}-close-icon`,onClick:B},e)),null,!1),Z="function"==typeof w.onClick||p&&"a"===p.type,F=g||null,H=F?r.createElement(r.Fragment,null,F,p&&r.createElement("span",null,p)):p,W=r.createElement("span",Object.assign({},w,{ref:t,className:D,style:I}),H,z,R&&r.createElement(E,{key:"preset",prefixCls:P}),M&&r.createElement(_,{key:"status",prefixCls:P}));return A(Z?r.createElement(c.Z,{component:"Tag"},W):W)},$=r.forwardRef(k);$.CheckableTag=w;const T=$},3083:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>c,uH:()=>l,u_:()=>s});var r=n(7294),o=n(7395),i=n(2842),a=n(2790);const l=(0,o.jG)(i.Z),s={token:a.Z,override:{override:a.Z},hashed:!0},c=r.createContext(s)},9372:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(7395),o=n(2842),i=n(2790),a=n(4595);const l=e=>{const t=(null==e?void 0:e.algorithm)?(0,r.jG)(e.algorithm):(0,r.jG)(o.Z),n=Object.assign(Object.assign({},i.Z),null==e?void 0:e.token);return(0,r.t2)(n,{override:null==e?void 0:e.token},t,a.Z)};var s=n(7606),c=n(3083),u=n(372);var d=n(9594);const f=(e,t)=>{const n=null!=t?t:(0,o.Z)(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),(0,d.Z)(r)),{controlHeight:i}),(0,u.Z)(Object.assign(Object.assign({},n),{controlHeight:i})))};var p=n(1242),g=n(57),h=n(274);const m=(e,t)=>new h.C(e).setAlpha(t).toRgbString(),v=(e,t)=>new h.C(e).lighten(t).toHexString(),b=e=>{const t=(0,p.R_)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},y=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:m(r,.85),colorTextSecondary:m(r,.65),colorTextTertiary:m(r,.45),colorTextQuaternary:m(r,.25),colorFill:m(r,.18),colorFillSecondary:m(r,.12),colorFillTertiary:m(r,.08),colorFillQuaternary:m(r,.04),colorBgElevated:v(n,12),colorBgContainer:v(n,8),colorBgLayout:v(n,0),colorBgSpotlight:v(n,26),colorBgBlur:m(r,.04),colorBorder:v(n,26),colorBorderSecondary:v(n,19)}},S=(e,t)=>{const n=Object.keys(i.M).map((t=>{const n=(0,p.R_)(e[t],{theme:"dark"});return new Array(10).fill(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)),{}),r=null!=t?t:(0,o.Z)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,g.Z)(e,{generateColorPalettes:b,generateNeutralColorPalettes:y}))};const w={defaultConfig:c.u_,defaultSeed:c.u_.token,useToken:function(){const[e,t,n]=(0,s.ZP)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:o.Z,darkAlgorithm:S,compactAlgorithm:f,getDesignToken:l}},8796:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},2842:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(1242),o=n(372);var i=n(2790),a=n(57);const l=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}};var s=n(274);const c=(e,t)=>new s.C(e).setAlpha(t).toRgbString(),u=(e,t)=>new s.C(e).darken(t).toHexString(),d=e=>{const t=(0,r.R_)(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]}},f=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:c(r,.88),colorTextSecondary:c(r,.65),colorTextTertiary:c(r,.45),colorTextQuaternary:c(r,.25),colorFill:c(r,.15),colorFillSecondary:c(r,.06),colorFillTertiary:c(r,.04),colorFillQuaternary:c(r,.02),colorBgLayout:u(n,4),colorBgContainer:u(n,0),colorBgElevated:u(n,0),colorBgSpotlight:c(r,.85),colorBgBlur:"transparent",colorBorder:u(n,15),colorBorderSecondary:u(n,6)}};var p=n(9594);function g(e){const t=Object.keys(i.M).map((t=>{const n=(0,r.R_)(e[t]);return new Array(10).fill(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),(0,a.Z)(e,{generateColorPalettes:d,generateNeutralColorPalettes:f})),(0,p.Z)(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)),(0,o.Z)(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},l(r))}(e))}},2790:(e,t,n)=>{"use strict";n.d(t,{M:()=>r,Z:()=>o});const r={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"},o=Object.assign(Object.assign({},r),{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})},57:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(274);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:i,colorWarning:a,colorError:l,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),p=n(i),g=n(a),h=n(l),m=n(s),v=o(u,d),b=n(e.colorLink||e.colorInfo);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:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:h[1],colorErrorBgHover:h[2],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:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new r.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},372:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},9594:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1734);const o=e=>{const t=(0,r.Z)(e),n=t.map((e=>e.size)),o=t.map((e=>e.lineHeight)),i=n[1],a=n[0],l=n[2],s=o[1],c=o[0],u=o[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:l,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(s*i),fontHeightLG:Math.round(u*l),fontHeightSM:Math.round(c*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},1734:(e,t,n)=>{"use strict";function r(e){return(e+8)/e}function o(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=n-1,o=e*Math.pow(2.71828,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:r(e)})))}n.d(t,{D:()=>r,Z:()=>o})},7606:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>g,ID:()=>d,NJ:()=>u});var r=n(7294),o=n(7395);const i="5.13.3";var a=n(3083),l=n(2790),s=n(4595),c=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{const r=n.getDerivativeToken(e),{override:o}=t,i=c(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=(0,s.Z)(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=c(n,["theme"]);let i=o;r&&(i=p(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function g(){const{token:e,hashed:t,theme:n,override:c,cssVar:g}=r.useContext(a.Mj),h=`${i}-${t||""}`,m=n||a.uH,[v,b,y]=(0,o.fp)(m,[l.Z,e],{salt:h,override:c,getComputedToken:p,formatToken:s.Z,cssVar:g&&{prefix:g.prefix,key:g.key,unitless:u,ignore:d,preserve:f}});return[m,y,t?b:"",v,g]}},4595:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(274),o=n(2790);function i(e){return e>=0&&e<=255}const a=function(e,t){const{r:n,g:o,b:a,a:l}=new r.C(e).toRgb();if(l<1)return e;const{r:s,g:c,b:u}=new r.C(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((n-s*(1-e))/e),l=Math.round((o-c*(1-e))/e),d=Math.round((a-u*(1-e))/e);if(i(t)&&i(l)&&i(d))return new r.C({r:t,g:l,b:d,a:Math.round(100*e)/100}).toRgbString()}return new r.C({r:n,g:o,b:a,a:1}).toRgbString()};var l=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{delete i[e]}));const s=Object.assign(Object.assign({},n),i),c=1200,u=1600;if(!1===s.motion){const e="0s";s.motionDurationFast=e,s.motionDurationMid=e,s.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},s),{colorFillContent:s.colorFillSecondary,colorFillContentHover:s.colorFill,colorFillAlter:s.colorFillQuaternary,colorBgContainerDisabled:s.colorFillTertiary,colorBorderBg:s.colorBgContainer,colorSplit:a(s.colorBorderSecondary,s.colorBgContainer),colorTextPlaceholder:s.colorTextQuaternary,colorTextDisabled:s.colorTextQuaternary,colorTextHeading:s.colorText,colorTextLabel:s.colorTextSecondary,colorTextDescription:s.colorTextTertiary,colorTextLightSolid:s.colorWhite,colorHighlight:s.colorError,colorBgTextHover:s.colorFillSecondary,colorBgTextActive:s.colorFill,colorIcon:s.colorTextTertiary,colorIconHover:s.colorText,colorErrorOutline:a(s.colorErrorBg,s.colorBgContainer),colorWarningOutline:a(s.colorWarningBg,s.colorBgContainer),fontSizeIcon:s.fontSizeSM,lineWidthFocus:4*s.lineWidth,lineWidth:s.lineWidth,controlOutlineWidth:2*s.lineWidth,controlInteractiveSize:s.controlHeight/2,controlItemBgHover:s.colorFillTertiary,controlItemBgActive:s.colorPrimaryBg,controlItemBgActiveHover:s.colorPrimaryBgHover,controlItemBgActiveDisabled:s.colorFill,controlTmpOutline:s.colorFillQuaternary,controlOutline:a(s.colorPrimaryBg,s.colorBgContainer),lineType:s.lineType,borderRadius:s.borderRadius,borderRadiusXS:s.borderRadiusXS,borderRadiusSM:s.borderRadiusSM,borderRadiusLG:s.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:s.sizeXXS,paddingXS:s.sizeXS,paddingSM:s.sizeSM,padding:s.size,paddingMD:s.sizeMD,paddingLG:s.sizeLG,paddingXL:s.sizeXL,paddingContentHorizontalLG:s.sizeLG,paddingContentVerticalLG:s.sizeMS,paddingContentHorizontal:s.sizeMS,paddingContentVertical:s.sizeSM,paddingContentHorizontalSM:s.size,paddingContentVerticalSM:s.sizeXS,marginXXS:s.sizeXXS,marginXS:s.sizeXS,marginSM:s.sizeSM,margin:s.size,marginMD:s.sizeMD,marginLG:s.sizeLG,marginXL:s.sizeXL,marginXXL:s.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:c,screenXLMin:c,screenXLMax:1599,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new r.C("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new r.C("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new r.C("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)"}),i)}},1939:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>_,I$:()=>k,bk:()=>O});var r=n(7294),o=n(7395),i=(n(6790),n(3124)),a=n(4747),l=n(7606),s=n(5671),c=n(3144),u=n(2963),d=n(8814),f=n(1120),p=n(9340);const g=(0,c.Z)((function e(){(0,s.Z)(this,e)}));let h=function(e){function t(e){var n,r,o,i;return(0,s.Z)(this,t),r=this,o=t,o=(0,f.Z)(o),(n=(0,u.Z)(r,(0,d.Z)()?Reflect.construct(o,i||[],(0,f.Z)(r).constructor):o.apply(r,i))).result=0,e instanceof t?n.result=e.result:"number"==typeof e&&(n.result=e),n}return(0,p.Z)(t,e),(0,c.Z)(t,[{key:"add",value:function(e){return e instanceof t?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof t?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof t?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof t?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),t}(g);const m="CALC_UNIT";function v(e){return"number"==typeof e?`${e}${m}`:e}let b=function(e){function t(e){var n,r,o,i;return(0,s.Z)(this,t),r=this,o=t,o=(0,f.Z)(o),(n=(0,u.Z)(r,(0,d.Z)()?Reflect.construct(o,i||[],(0,f.Z)(r).constructor):o.apply(r,i))).result="",e instanceof t?n.result=`(${e.result})`:"number"==typeof e?n.result=v(e):"string"==typeof e&&(n.result=e),n}return(0,p.Z)(t,e),(0,c.Z)(t,[{key:"add",value:function(e){return e instanceof t?this.result=`${this.result} + ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} + ${v(e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof t?this.result=`${this.result} - ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} - ${v(e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} * ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} * ${e}`),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} / ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} / ${e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?`(${this.result})`:this.result}},{key:"equal",value:function(e){const{unit:t=!0}=e||{},n=new RegExp(`${m}`,"g");return this.result=this.result.replace(n,t?"px":""),void 0!==this.lowPriority?`calc(${this.result})`:this.result}}]),t}(g);const y=e=>{const t="css"===e?b:h;return e=>new t(e)};var S=n(5503),w=n(3269);const C=(e,t,n)=>{var r;return"function"==typeof n?n((0,S.TS)(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}},E=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(null==r?void 0:r.deprecatedTokens){const{deprecatedTokens:e}=r;e.forEach((e=>{let[t,n]=e;var r;((null==o?void 0:o[t])||(null==o?void 0:o[n]))&&(null!==(r=o[n])&&void 0!==r||(o[n]=null==o?void 0:o[t]))}))}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach((e=>{i[e]===t[e]&&delete i[e]})),i},x=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function _(e,t,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const c=Array.isArray(e)?e:[e,e],[u]=c,d=c.join("-");return e=>{const[c,f,p,g,h]=(0,l.ZP)(),{getPrefixCls:m,iconPrefixCls:v,csp:b}=(0,r.useContext)(i.E_),_=m(),O=h?"css":"js",k=y(O),{max:$,min:T}=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(0,o.bf)(e))).join(",")})`},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.bf)(e))).join(",")})`}}}(O),R={theme:c,token:g,hashId:p,nonce:()=>null==b?void 0:b.nonce,clientOnly:s.clientOnly,order:s.order||-999};(0,o.xy)(Object.assign(Object.assign({},R),{clientOnly:!1,path:["Shared",_]}),(()=>[{"&":(0,a.Lx)(g)}])),(0,w.Z)(v,b);return[(0,o.xy)(Object.assign(Object.assign({},R),{path:[d,e,v]}),(()=>{if(!1===s.injectStyle)return[];const{token:r,flush:i}=(0,S.ZP)(g),l=C(u,f,n),c=`.${e}`,d=E(u,f,l,{deprecatedTokens:s.deprecatedTokens});h&&Object.keys(l).forEach((e=>{l[e]=`var(${(0,o.ks)(e,x(u,h.prefix))})`}));const m=(0,S.TS)(r,{componentCls:c,prefixCls:e,iconCls:`.${v}`,antCls:`.${_}`,calc:k,max:$,min:T},h?l:d),b=t(m,{hashId:p,prefixCls:e,rootPrefixCls:_,iconPrefixCls:v});return i(u,d),[!1===s.resetStyle?null:(0,a.du)(m,e),b]})),p]}}const O=(e,t,n,r)=>{const o=_(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return e=>{let{prefixCls:t}=e;return o(t),null}},k=(e,t,n,i)=>{const a=_(e,t,n,i),s=((e,t,n)=>{function i(t){return`${e}${t.slice(0,1).toUpperCase()}${t.slice(1)}`}const{unitless:a={},injectStyle:s=!0}=null!=n?n:{},c={[i("zIndexPopup")]:!0};Object.keys(a).forEach((e=>{c[i(e)]=a[e]}));const u=r=>{let{rootCls:a,cssVar:s}=r;const[,u]=(0,l.ZP)();return(0,o.CI)({path:[e],prefix:s.prefix,key:null==s?void 0:s.key,unitless:Object.assign(Object.assign({},l.NJ),c),ignore:l.ID,token:u,scope:a},(()=>{const r=C(e,u,t),o=E(e,u,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach((e=>{o[i(e)]=o[e],delete o[e]})),o})),null};return t=>{const[,,,,n]=(0,l.ZP)();return[o=>s&&n?r.createElement(r.Fragment,null,r.createElement(u,{rootCls:t,cssVar:n,component:e}),o):o,null==n?void 0:n.key]}})(Array.isArray(e)?e[0]:e,n,i);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[,n]=a(e),[r,o]=s(t);return[r,n,o]}}},8719:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8796);function o(e,t){return r.i.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:l}))}),{})}},5503:(e,t,n)=>{"use strict";n.d(t,{TS:()=>i,ZP:()=>s});const r="undefined"!=typeof CSSINJS_STATISTIC;let o=!0;function i(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(e).forEach((t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),o=!0,i}const a={};function l(){}const s=e=>{let t,n=e,i=l;return r&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(o&&t.add(n),e[n])}),i=(e,n)=>{var r;a[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=a[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:i}}},3269:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7395),o=n(4747),i=n(7606);const a=(e,t)=>{const[n,a]=(0,i.ZP)();return(0,r.xy)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},3807:(e,t,n)=>{"use strict";n.d(t,{Z:()=>I});var r=n(7294),o=n(3967),i=n.n(o),a=n(4178),l=n(1770),s=n(7263),c=n(3603),u=n(636),d=n(6159),f=n(7288),p=n(3945),g=n(3124),h=n(4173),m=n(7606),v=n(4747),b=n(438),y=n(7414),S=n(8719),w=n(5503),C=n(1939),E=n(7395),x=n(9511);const _=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:c,paddingXS:u}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,v.Wf)(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${(0,E.bf)(e.calc(c).div(2).equal())} ${(0,E.bf)(u)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:s,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,y.qN)}},[`${t}-content`]:{position:"relative"}}),(0,S.Z)(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}}))),{"&-rtl":{direction:"rtl"}})},(0,y.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},O=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,y.wZ)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,x.w)((0,w.TS)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),k=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,C.I$)("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e,o=(0,w.TS)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r});return[_(o),(0,b._y)(e,"zoom-big-fast")]}),O,{resetStyle:!1,injectStyle:t})(e)};var $=n(8787);function T(e,t){const n=(0,$.o2)(t),r=i()({[`${e}-${t}`]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}const R=e=>{const{prefixCls:t,className:n,placement:o="top",title:l,color:s,overlayInnerStyle:c}=e,{getPrefixCls:u}=r.useContext(g.E_),d=u("tooltip",t),[f,p,h]=k(d),m=T(d,s),v=m.arrowStyle,b=Object.assign(Object.assign({},c),m.overlayStyle),y=i()(p,h,d,`${d}-pure`,`${d}-placement-${o}`,n,m.className);return f(r.createElement("div",{className:y,style:v},r.createElement("div",{className:`${d}-arrow`}),r.createElement(a.G,Object.assign({},e,{className:p,prefixCls:d,overlayInnerStyle:b}),l)))};var M=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{var n,o;const{prefixCls:v,openClassName:b,getTooltipContainer:y,overlayClassName:S,color:w,overlayInnerStyle:C,children:E,afterOpenChange:x,afterVisibleChange:_,destroyTooltipOnHide:O,arrow:$=!0,title:R,overlay:N,builtinPlacements:I,arrowPointAtCenter:P=!1,autoAdjustOverflow:A=!0}=e,L=!!$,[,j]=(0,m.ZP)(),{getPopupContainer:D,getPrefixCls:B,direction:z}=r.useContext(g.E_),Z=(0,f.ln)("Tooltip"),F=r.useRef(null),H=()=>{var e;null===(e=F.current)||void 0===e||e.forceAlign()};r.useImperativeHandle(t,(()=>({forceAlign:H,forcePopupAlign:()=>{Z.deprecated(!1,"forcePopupAlign","forceAlign"),H()}})));const[W,U]=(0,l.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),V=!R&&!N&&0!==R,q=r.useMemo((()=>{var e,t;let n=P;return"object"==typeof $&&(n=null!==(t=null!==(e=$.pointAtCenter)&&void 0!==e?e:$.arrowPointAtCenter)&&void 0!==t?t:P),I||(0,u.Z)({arrowPointAtCenter:n,autoAdjustOverflow:A,arrowWidth:L?j.sizePopupArrow:0,borderRadius:j.borderRadius,offset:j.marginXXS,visibleFirst:!0})}),[P,$,I,j]),X=r.useMemo((()=>0===R?R:N||R||""),[N,R]),G=r.createElement(h.BR,null,"function"==typeof X?X():X),{getPopupContainer:Y,placement:K="top",mouseEnterDelay:Q=.1,mouseLeaveDelay:J=.1,overlayStyle:ee,rootClassName:te}=e,ne=M(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),re=B("tooltip",v),oe=B(),ie=e["data-popover-inject"];let ae=W;"open"in e||"visible"in e||!V||(ae=!1);const le=(0,d.l$)(E)&&!(0,d.M2)(E)?E:r.createElement("span",null,E),se=le.props,ce=se.className&&"string"!=typeof se.className?se.className:i()(se.className,b||`${re}-open`),[ue,de,fe]=k(re,!ie),pe=T(re,w),ge=pe.arrowStyle,he=Object.assign(Object.assign({},C),pe.overlayStyle),me=i()(S,{[`${re}-rtl`]:"rtl"===z},pe.className,te,de,fe),[ve,be]=(0,s.Cn)("Tooltip",ne.zIndex),ye=r.createElement(a.Z,Object.assign({},ne,{zIndex:ve,showArrow:L,placement:K,mouseEnterDelay:Q,mouseLeaveDelay:J,prefixCls:re,overlayClassName:me,overlayStyle:Object.assign(Object.assign({},ge),ee),getTooltipContainer:Y||y||D,ref:F,builtinPlacements:q,overlay:G,visible:ae,onVisibleChange:t=>{var n,r;U(!V&&t),V||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=x?x:_,overlayInnerStyle:he,arrowContent:r.createElement("span",{className:`${re}-arrow-content`}),motion:{motionName:(0,c.m)(oe,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!O}),ae?(0,d.Tm)(le,{className:ce}):le);return ue(r.createElement(p.Z.Provider,{value:be},ye))}));N._InternalPanelDoNotUseOrYouWillBeFired=R;const I=N},7029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;class n{constructor(e,t,n,r){this.name=e,this.modelName=t,this.defaultValue=n,this.alwaysWriteJson=r,this.required=!1,this.fixed=!1,this.type="any"}setType(e){return this.type=e,this}setRequired(){return this.required=!0,this}setFixed(){return this.fixed=!0,this}}t.Attribute=n,n.NUMBER="number",n.STRING="string",n.BOOLEAN="boolean"},8267:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeDefinitions=void 0;const r=n(7029);t.AttributeDefinitions=class{constructor(){this.attributes=[],this.nameToAttribute={}}addWithAll(e,t,n,o){const i=new r.Attribute(e,t,n,o);return this.attributes.push(i),this.nameToAttribute[e]=i,i}addInherited(e,t){return this.addWithAll(e,t,void 0,!1)}add(e,t,n){return this.addWithAll(e,void 0,t,n)}getAttributes(){return this.attributes}getModelName(e){const t=this.nameToAttribute[e];if(void 0!==t)return t.modelName}toJson(e,t){for(const n of this.attributes){const r=t[n.name];(n.alwaysWriteJson||r!==n.defaultValue)&&(e[n.name]=r)}}fromJson(e,t){for(const n of this.attributes){const r=e[n.name];t[n.name]=void 0===r?n.defaultValue:r}}update(e,t){for(const n of this.attributes)if(e.hasOwnProperty(n.name)){const r=e[n.name];void 0===r?delete t[n.name]:t[n.name]=r}}setDefaults(e){for(const t of this.attributes)e[t.name]=t.defaultValue}toTypescriptInterface(e,t){const n=[],r=this.attributes.sort(((e,t)=>e.name.localeCompare(t.name)));n.push("export interface I"+e+"Attributes {");for(let e=0;e0?" // "+e:""))}}return n.push("}"),n.join("\n")}}},232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DockLocation=void 0;const r=n(3380),o=n(807);class i{static getByName(e){return i.values[e]}static getLocation(e,t,n){if(t=(t-e.x)/e.width,n=(n-e.y)/e.height,t>=.25&&t<.75&&n>=.25&&n<.75)return i.CENTER;const r=n>=1-t;return n>=t?r?i.BOTTOM:i.LEFT:r?i.RIGHT:i.TOP}constructor(e,t,n){this._name=e,this._orientation=t,this._indexPlus=n,i.values[this._name]=this}getName(){return this._name}getOrientation(){return this._orientation}getDockRect(e){return this===i.TOP?new o.Rect(e.x,e.y,e.width,e.height/2):this===i.BOTTOM?new o.Rect(e.x,e.getBottom()-e.height/2,e.width,e.height/2):this===i.LEFT?new o.Rect(e.x,e.y,e.width/2,e.height):this===i.RIGHT?new o.Rect(e.getRight()-e.width/2,e.y,e.width/2,e.height):e.clone()}split(e,t){if(this===i.TOP){return{start:new o.Rect(e.x,e.y,e.width,t),end:new o.Rect(e.x,e.y+t,e.width,e.height-t)}}if(this===i.LEFT){return{start:new o.Rect(e.x,e.y,t,e.height),end:new o.Rect(e.x+t,e.y,e.width-t,e.height)}}if(this===i.RIGHT){return{start:new o.Rect(e.getRight()-t,e.y,t,e.height),end:new o.Rect(e.x,e.y,e.width-t,e.height)}}return{start:new o.Rect(e.x,e.getBottom()-t,e.width,t),end:new o.Rect(e.x,e.y,e.width,e.height-t)}}reflect(){return this===i.TOP?i.BOTTOM:this===i.LEFT?i.RIGHT:this===i.RIGHT?i.LEFT:i.TOP}toString(){return"(DockLocation: name="+this._name+", orientation="+this._orientation+")"}}t.DockLocation=i,i.values={},i.TOP=new i("top",r.Orientation.VERT,0),i.BOTTOM=new i("bottom",r.Orientation.VERT,1),i.LEFT=new i("left",r.Orientation.HORZ,0),i.RIGHT=new i("right",r.Orientation.HORZ,1),i.CENTER=new i("center",r.Orientation.VERT,0)},268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DragDrop=void 0;const r=n(807),o=!("undefined"==typeof window||!window.document||!window.document.createElement);class i{constructor(){this._manualGlassManagement=!1,this._startX=0,this._startY=0,this._dragDepth=0,this._glassShowing=!1,this._dragging=!1,this._active=!1,o&&(this._glass=document.createElement("div"),this._glass.style.zIndex="998",this._glass.style.backgroundColor="transparent",this._glass.style.outline="none"),this._defaultGlassCursor="default",this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._onKeyPress=this._onKeyPress.bind(this),this._onDragCancel=this._onDragCancel.bind(this),this._onDragEnter=this._onDragEnter.bind(this),this._onDragLeave=this._onDragLeave.bind(this),this.resizeGlass=this.resizeGlass.bind(this),this._lastClick=0,this._clickX=0,this._clickY=0}addGlass(e){var t;this._glassShowing?this._manualGlassManagement=!0:(this._document||(this._document=window.document),this._rootElement||(this._rootElement=this._document.body),this.resizeGlass(),null===(t=this._document.defaultView)||void 0===t||t.addEventListener("resize",this.resizeGlass),this._document.body.appendChild(this._glass),this._glass.tabIndex=-1,this._glass.focus(),this._glass.addEventListener("keydown",this._onKeyPress),this._glass.addEventListener("dragenter",this._onDragEnter,{passive:!1}),this._glass.addEventListener("dragover",this._onMouseMove,{passive:!1}),this._glass.addEventListener("dragleave",this._onDragLeave,{passive:!1}),this._glassShowing=!0,this._fDragCancel=e,this._manualGlassManagement=!1)}resizeGlass(){r.Rect.fromElement(this._rootElement).positionElement(this._glass,"fixed")}hideGlass(){var e;this._glassShowing&&(this._document.body.removeChild(this._glass),null===(e=this._document.defaultView)||void 0===e||e.removeEventListener("resize",this.resizeGlass),this._glassShowing=!1,this._document=void 0,this._rootElement=void 0,this.setGlassCursorOverride(void 0))}_updateGlassCursor(){var e;this._glass.style.cursor=null!==(e=this._glassCursorOverride)&&void 0!==e?e:this._defaultGlassCursor}_setDefaultGlassCursor(e){this._defaultGlassCursor=e,this._updateGlassCursor()}setGlassCursorOverride(e){this._glassCursorOverride=e,this._updateGlassCursor()}startDrag(e,t,n,r,o,i,a,l,s){if(e&&this._lastEvent&&this._lastEvent.type.startsWith("touch")&&e.type.startsWith("mouse")&&e.timeStamp-this._lastEvent.timeStamp<500)return;if(this._dragging)return;this._lastEvent=e,this._document=l||window.document,this._rootElement=s||this._document.body;const c=this._getLocationEvent(e);this.addGlass(o),e?(this._startX=c.clientX,this._startY=c.clientY,window.matchMedia&&!window.matchMedia("(pointer: fine)").matches||this._setDefaultGlassCursor(getComputedStyle(e.target).cursor),this._stopPropagation(e),this._preventDefault(e)):(this._startX=0,this._startY=0,this._setDefaultGlassCursor("default")),this._dragging=!1,this._fDragStart=t,this._fDragMove=n,this._fDragEnd=r,this._fDragCancel=o,this._fClick=i,this._fDblClick=a,this._active=!0,"dragenter"===(null==e?void 0:e.type)?(this._dragDepth=1,this._rootElement.addEventListener("dragenter",this._onDragEnter,{passive:!1}),this._rootElement.addEventListener("dragover",this._onMouseMove,{passive:!1}),this._rootElement.addEventListener("dragleave",this._onDragLeave,{passive:!1}),this._document.addEventListener("dragend",this._onDragCancel,{passive:!1}),this._document.addEventListener("drop",this._onMouseUp,{passive:!1})):(this._document.addEventListener("mouseup",this._onMouseUp,{passive:!1}),this._document.addEventListener("mousemove",this._onMouseMove,{passive:!1}),this._document.addEventListener("touchend",this._onMouseUp,{passive:!1}),this._document.addEventListener("touchmove",this._onMouseMove,{passive:!1}))}isDragging(){return this._dragging}isActive(){return this._active}toString(){return"(DragDrop: startX="+this._startX+", startY="+this._startY+", dragging="+this._dragging+")"}_onKeyPress(e){"Escape"===e.code&&this._onDragCancel()}_onDragCancel(){this._rootElement.removeEventListener("dragenter",this._onDragEnter),this._rootElement.removeEventListener("dragover",this._onMouseMove),this._rootElement.removeEventListener("dragleave",this._onDragLeave),this._document.removeEventListener("dragend",this._onDragCancel),this._document.removeEventListener("drop",this._onMouseUp),this._document.removeEventListener("mousemove",this._onMouseMove),this._document.removeEventListener("mouseup",this._onMouseUp),this._document.removeEventListener("touchend",this._onMouseUp),this._document.removeEventListener("touchmove",this._onMouseMove),this.hideGlass(),void 0!==this._fDragCancel&&this._fDragCancel(this._dragging),this._dragging=!1,this._active=!1}_getLocationEvent(e){let t=e;return e&&e.touches&&(t=e.touches[0]),t}_getLocationEventEnd(e){let t=e;return e.changedTouches&&(t=e.changedTouches[0]),t}_stopPropagation(e){e.stopPropagation&&e.stopPropagation()}_preventDefault(e){return e.preventDefault&&e.cancelable&&e.preventDefault(),e}_onMouseMove(e){this._lastEvent=e;const t=this._getLocationEvent(e);return this._stopPropagation(e),this._preventDefault(e),!this._dragging&&(Math.abs(this._startX-t.clientX)>5||Math.abs(this._startY-t.clientY)>5)&&(this._dragging=!0,this._fDragStart&&(this._setDefaultGlassCursor("move"),this._dragging=this._fDragStart({clientX:this._startX,clientY:this._startY}))),this._dragging&&this._fDragMove&&this._fDragMove(t),!1}_onMouseUp(e){this._lastEvent=e;const t=this._getLocationEventEnd(e);if(this._stopPropagation(e),this._preventDefault(e),this._active=!1,this._rootElement.removeEventListener("dragenter",this._onDragEnter),this._rootElement.removeEventListener("dragover",this._onMouseMove),this._rootElement.removeEventListener("dragleave",this._onDragLeave),this._document.removeEventListener("dragend",this._onDragCancel),this._document.removeEventListener("drop",this._onMouseUp),this._document.removeEventListener("mousemove",this._onMouseMove),this._document.removeEventListener("mouseup",this._onMouseUp),this._document.removeEventListener("touchend",this._onMouseUp),this._document.removeEventListener("touchmove",this._onMouseMove),this._manualGlassManagement||this.hideGlass(),this._dragging)this._dragging=!1,this._fDragEnd&&this._fDragEnd(e);else if(this._fDragCancel&&this._fDragCancel(this._dragging),Math.abs(this._startX-t.clientX)<=5&&Math.abs(this._startY-t.clientY)<=5){let n=!1;const r=(new Date).getTime();Math.abs(this._clickX-t.clientX)<=5&&Math.abs(this._clickY-t.clientY)<=5&&r-this._lastClick<500&&this._fDblClick&&(this._fDblClick(e),n=!0),!n&&this._fClick&&this._fClick(e),this._lastClick=r,this._clickX=t.clientX,this._clickY=t.clientY}return!1}_onDragEnter(e){return this._preventDefault(e),this._stopPropagation(e),this._dragDepth++,!1}_onDragLeave(e){return this._preventDefault(e),this._stopPropagation(e),this._dragDepth--,this._dragDepth<=0&&this._onDragCancel(),!1}}t.DragDrop=i,i.instance=new i},5748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DropInfo=void 0;t.DropInfo=class{constructor(e,t,n,r,o){this.node=e,this.rect=t,this.location=n,this.index=r,this.className=o}}},5551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18nLabel=void 0,function(e){e.Close_Tab="Close",e.Close_Tabset="Close tabset",e.Move_Tab="Move: ",e.Move_Tabset="Move tabset",e.Maximize="Maximize tabset",e.Restore="Restore tabset",e.Float_Tab="Show selected tab in floating window",e.Overflow_Menu_Tooltip="Hidden tabs",e.Floating_Window_Message="This panel is shown in a floating window",e.Floating_Window_Show_Window="Show window",e.Floating_Window_Dock_Window="Dock window",e.Error_rendering_component="Error rendering component"}(t.I18nLabel||(t.I18nLabel={}))},3380:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Orientation=void 0;class n{static flip(e){return e===n.HORZ?n.VERT:n.HORZ}constructor(e){this._name=e}getName(){return this._name}toString(){return this._name}}t.Orientation=n,n.HORZ=new n("horz"),n.VERT=new n("vert")},31:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showPopup=void 0;const r=n(7294),o=n(268),i=n(4115),a=n(5797);t.showPopup=function(e,t,n,a,s,c){var u;const d=a.getRootDiv(),f=a.getClassName,p=e.ownerDocument,g=e.getBoundingClientRect(),h=null!==(u=null==d?void 0:d.getBoundingClientRect())&&void 0!==u?u:new DOMRect(0,0,100,100),m=p.createElement("div");m.className=f(i.CLASSES.FLEXLAYOUT__POPUP_MENU_CONTAINER),g.leftv())),o.DragDrop.instance.setGlassCursorOverride("default"),d&&d.appendChild(m);const v=()=>{a.hidePortal(),o.DragDrop.instance.hideGlass(),d&&d.removeChild(m),m.removeEventListener("mousedown",b),p.removeEventListener("mousedown",y)},b=e=>{e.stopPropagation()},y=e=>{v()};m.addEventListener("mousedown",b),p.addEventListener("mousedown",y),a.showPortal(r.createElement(l,{currentDocument:p,onSelect:n,onHide:v,items:t,classNameMapper:f,layout:a,iconFactory:s,titleFactory:c}),m)};const l=e=>{const{items:t,onHide:n,onSelect:o,classNameMapper:l,layout:s,iconFactory:c,titleFactory:u}=e,d=t.map(((e,t)=>r.createElement("div",{key:e.index,className:l(i.CLASSES.FLEXLAYOUT__POPUP_MENU_ITEM),"data-layout-path":"/popup-menu/tb"+t,onClick:t=>((e,t)=>{o(e),n(),t.stopPropagation()})(e,t),title:e.node.getHelpText()},e.node.getModel().isLegacyOverflowMenu()?e.node._getNameForOverflowMenu():r.createElement(a.TabButtonStamp,{node:e.node,layout:s,iconFactory:c,titleFactory:u}))));return r.createElement("div",{className:l(i.CLASSES.FLEXLAYOUT__POPUP_MENU),"data-layout-path":"/popup-menu"},d)}},807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rect=void 0;const r=n(3380);class o{static empty(){return new o(0,0,0,0)}constructor(e,t,n,r){this.x=e,this.y=t,this.width=n,this.height=r}static fromElement(e){let{x:t,y:n,width:r,height:i}=e.getBoundingClientRect();return new o(t,n,r,i)}clone(){return new o(this.x,this.y,this.width,this.height)}equals(e){return this.x===(null==e?void 0:e.x)&&this.y===(null==e?void 0:e.y)&&this.width===(null==e?void 0:e.width)&&this.height===(null==e?void 0:e.height)}getBottom(){return this.y+this.height}getRight(){return this.x+this.width}getCenter(){return{x:this.x+this.width/2,y:this.y+this.height/2}}positionElement(e,t){this.styleWithPosition(e.style,t)}styleWithPosition(e,t="absolute"){return e.left=this.x+"px",e.top=this.y+"px",e.width=Math.max(0,this.width)+"px",e.height=Math.max(0,this.height)+"px",e.position=t,e}contains(e,t){return this.x<=e&&e<=this.getRight()&&this.y<=t&&t<=this.getBottom()}removeInsets(e){return new o(this.x+e.left,this.y+e.top,Math.max(0,this.width-e.left-e.right),Math.max(0,this.height-e.top-e.bottom))}centerInRect(e){this.x=(e.width-this.width)/2,this.y=(e.height-this.height)/2}_getSize(e){let t=this.width;return e===r.Orientation.VERT&&(t=this.height),t}toString(){return"(Rect: x="+this.x+", y="+this.y+", width="+this.width+", height="+this.height+")"}}t.Rect=o},4115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLASSES=void 0,function(e){e.FLEXLAYOUT__BORDER="flexlayout__border",e.FLEXLAYOUT__BORDER_="flexlayout__border_",e.FLEXLAYOUT__BORDER_BUTTON="flexlayout__border_button",e.FLEXLAYOUT__BORDER_BUTTON_="flexlayout__border_button_",e.FLEXLAYOUT__BORDER_BUTTON_CONTENT="flexlayout__border_button_content",e.FLEXLAYOUT__BORDER_BUTTON_LEADING="flexlayout__border_button_leading",e.FLEXLAYOUT__BORDER_BUTTON_TRAILING="flexlayout__border_button_trailing",e.FLEXLAYOUT__BORDER_BUTTON__SELECTED="flexlayout__border_button--selected",e.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED="flexlayout__border_button--unselected",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW="flexlayout__border_toolbar_button_overflow",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_="flexlayout__border_toolbar_button_overflow_",e.FLEXLAYOUT__BORDER_INNER="flexlayout__border_inner",e.FLEXLAYOUT__BORDER_INNER_="flexlayout__border_inner_",e.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER="flexlayout__border_inner_tab_container",e.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_="flexlayout__border_inner_tab_container_",e.FLEXLAYOUT__BORDER_TAB_DIVIDER="flexlayout__border_tab_divider",e.FLEXLAYOUT__BORDER_SIZER="flexlayout__border_sizer",e.FLEXLAYOUT__BORDER_TOOLBAR="flexlayout__border_toolbar",e.FLEXLAYOUT__BORDER_TOOLBAR_="flexlayout__border_toolbar_",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON="flexlayout__border_toolbar_button",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT="flexlayout__border_toolbar_button-float",e.FLEXLAYOUT__DRAG_RECT="flexlayout__drag_rect",e.FLEXLAYOUT__EDGE_RECT="flexlayout__edge_rect",e.FLEXLAYOUT__EDGE_RECT_TOP="flexlayout__edge_rect_top",e.FLEXLAYOUT__EDGE_RECT_LEFT="flexlayout__edge_rect_left",e.FLEXLAYOUT__EDGE_RECT_BOTTOM="flexlayout__edge_rect_bottom",e.FLEXLAYOUT__EDGE_RECT_RIGHT="flexlayout__edge_rect_right",e.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER="flexlayout__error_boundary_container",e.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT="flexlayout__error_boundary_content",e.FLEXLAYOUT__FLOATING_WINDOW_CONTENT="flexlayout__floating_window_content",e.FLEXLAYOUT__FLOATING_WINDOW_TAB="flexlayout__floating_window_tab",e.FLEXLAYOUT__LAYOUT="flexlayout__layout",e.FLEXLAYOUT__OUTLINE_RECT="flexlayout__outline_rect",e.FLEXLAYOUT__OUTLINE_RECT_EDGE="flexlayout__outline_rect_edge",e.FLEXLAYOUT__SPLITTER="flexlayout__splitter",e.FLEXLAYOUT__SPLITTER_EXTRA="flexlayout__splitter_extra",e.FLEXLAYOUT__SPLITTER_="flexlayout__splitter_",e.FLEXLAYOUT__SPLITTER_BORDER="flexlayout__splitter_border",e.FLEXLAYOUT__SPLITTER_DRAG="flexlayout__splitter_drag",e.FLEXLAYOUT__TAB="flexlayout__tab",e.FLEXLAYOUT__TABSET="flexlayout__tabset",e.FLEXLAYOUT__TABSET_HEADER="flexlayout__tabset_header",e.FLEXLAYOUT__TABSET_HEADER_SIZER="flexlayout__tabset_header_sizer",e.FLEXLAYOUT__TABSET_HEADER_CONTENT="flexlayout__tabset_header_content",e.FLEXLAYOUT__TABSET_MAXIMIZED="flexlayout__tabset-maximized",e.FLEXLAYOUT__TABSET_SELECTED="flexlayout__tabset-selected",e.FLEXLAYOUT__TABSET_SIZER="flexlayout__tabset_sizer",e.FLEXLAYOUT__TABSET_TAB_DIVIDER="flexlayout__tabset_tab_divider",e.FLEXLAYOUT__TABSET_CONTENT="flexlayout__tabset_content",e.FLEXLAYOUT__TABSET_TABBAR_INNER="flexlayout__tabset_tabbar_inner",e.FLEXLAYOUT__TABSET_TABBAR_INNER_="flexlayout__tabset_tabbar_inner_",e.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER="flexlayout__tabset_tabbar_inner_tab_container",e.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_="flexlayout__tabset_tabbar_inner_tab_container_",e.FLEXLAYOUT__TABSET_TABBAR_OUTER="flexlayout__tabset_tabbar_outer",e.FLEXLAYOUT__TABSET_TABBAR_OUTER_="flexlayout__tabset_tabbar_outer_",e.FLEXLAYOUT__TAB_BORDER="flexlayout__tab_border",e.FLEXLAYOUT__TAB_BORDER_="flexlayout__tab_border_",e.FLEXLAYOUT__TAB_BUTTON="flexlayout__tab_button",e.FLEXLAYOUT__TAB_BUTTON_STRETCH="flexlayout__tab_button_stretch",e.FLEXLAYOUT__TAB_BUTTON_CONTENT="flexlayout__tab_button_content",e.FLEXLAYOUT__TAB_BUTTON_LEADING="flexlayout__tab_button_leading",e.FLEXLAYOUT__TAB_BUTTON_OVERFLOW="flexlayout__tab_button_overflow",e.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT="flexlayout__tab_button_overflow_count",e.FLEXLAYOUT__TAB_BUTTON_TEXTBOX="flexlayout__tab_button_textbox",e.FLEXLAYOUT__TAB_BUTTON_TRAILING="flexlayout__tab_button_trailing",e.FLEXLAYOUT__TAB_BUTTON_STAMP="flexlayout__tab_button_stamp",e.FLEXLAYOUT__TAB_FLOATING="flexlayout__tab_floating",e.FLEXLAYOUT__TAB_FLOATING_INNER="flexlayout__tab_floating_inner",e.FLEXLAYOUT__TAB_TOOLBAR="flexlayout__tab_toolbar",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON="flexlayout__tab_toolbar_button",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_="flexlayout__tab_toolbar_button-",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT="flexlayout__tab_toolbar_button-float",e.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER="flexlayout__tab_toolbar_sticky_buttons_container",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE="flexlayout__tab_toolbar_button-close",e.FLEXLAYOUT__POPUP_MENU_CONTAINER="flexlayout__popup_menu_container",e.FLEXLAYOUT__POPUP_MENU_ITEM="flexlayout__popup_menu_item",e.FLEXLAYOUT__POPUP_MENU="flexlayout__popup_menu"}(t.CLASSES||(t.CLASSES={}))},6352:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(5295),t),o(n(9349),t),o(n(3076),t),o(n(4268),t),o(n(1073),t),o(n(7562),t),o(n(7548),t),o(n(7984),t),o(n(161),t),o(n(6466),t),o(n(89),t),o(n(996),t),o(n(191),t),o(n(6677),t),o(n(2733),t),o(n(232),t),o(n(268),t),o(n(5748),t),o(n(5551),t),o(n(3380),t),o(n(807),t),o(n(4115),t)},9349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;t.Action=class{constructor(e,t){this.type=e,this.data=t}}},3076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Actions=void 0;const r=n(9349);class o{static addNode(e,t,n,i,a){return new r.Action(o.ADD_NODE,{json:e,toNode:t,location:n.getName(),index:i,select:a})}static moveNode(e,t,n,i,a){return new r.Action(o.MOVE_NODE,{fromNode:e,toNode:t,location:n.getName(),index:i,select:a})}static deleteTab(e){return new r.Action(o.DELETE_TAB,{node:e})}static deleteTabset(e){return new r.Action(o.DELETE_TABSET,{node:e})}static renameTab(e,t){return new r.Action(o.RENAME_TAB,{node:e,text:t})}static selectTab(e){return new r.Action(o.SELECT_TAB,{tabNode:e})}static setActiveTabset(e){return new r.Action(o.SET_ACTIVE_TABSET,{tabsetNode:e})}static adjustSplit(e){const t=e.node1Id,n=e.node2Id;return new r.Action(o.ADJUST_SPLIT,{node1:t,weight1:e.weight1,pixelWidth1:e.pixelWidth1,node2:n,weight2:e.weight2,pixelWidth2:e.pixelWidth2})}static adjustBorderSplit(e,t){return new r.Action(o.ADJUST_BORDER_SPLIT,{node:e,pos:t})}static maximizeToggle(e){return new r.Action(o.MAXIMIZE_TOGGLE,{node:e})}static updateModelAttributes(e){return new r.Action(o.UPDATE_MODEL_ATTRIBUTES,{json:e})}static updateNodeAttributes(e,t){return new r.Action(o.UPDATE_NODE_ATTRIBUTES,{node:e,json:t})}static floatTab(e){return new r.Action(o.FLOAT_TAB,{node:e})}static unFloatTab(e){return new r.Action(o.UNFLOAT_TAB,{node:e})}}t.Actions=o,o.ADD_NODE="FlexLayout_AddNode",o.MOVE_NODE="FlexLayout_MoveNode",o.DELETE_TAB="FlexLayout_DeleteTab",o.DELETE_TABSET="FlexLayout_DeleteTabset",o.RENAME_TAB="FlexLayout_RenameTab",o.SELECT_TAB="FlexLayout_SelectTab",o.SET_ACTIVE_TABSET="FlexLayout_SetActiveTabset",o.ADJUST_SPLIT="FlexLayout_AdjustSplit",o.ADJUST_BORDER_SPLIT="FlexLayout_AdjustBorderSplit",o.MAXIMIZE_TOGGLE="FlexLayout_MaximizeToggle",o.UPDATE_MODEL_ATTRIBUTES="FlexLayout_UpdateModelAttributes",o.UPDATE_NODE_ATTRIBUTES="FlexLayout_UpdateNodeAttributes",o.FLOAT_TAB="FlexLayout_FloatTab",o.UNFLOAT_TAB="FlexLayout_UnFloatTab"},4268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderNode=void 0;const r=n(7029),o=n(8267),i=n(232),a=n(5748),l=n(3380),s=n(807),c=n(4115),u=n(89),d=n(191),f=n(6677),p=n(2968);class g extends u.Node{static _fromJson(e,t){const n=i.DockLocation.getByName(e.location),r=new g(n,e,t);return e.children&&(r._children=e.children.map((e=>{const n=f.TabNode._fromJson(e,t);return n._setParent(r),n}))),r}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",g.TYPE,!0).setType(r.Attribute.STRING).setFixed(),e.add("selected",-1).setType(r.Attribute.NUMBER),e.add("show",!0).setType(r.Attribute.BOOLEAN),e.add("config",void 0).setType("any"),e.addInherited("barSize","borderBarSize").setType(r.Attribute.NUMBER),e.addInherited("enableDrop","borderEnableDrop").setType(r.Attribute.BOOLEAN),e.addInherited("className","borderClassName").setType(r.Attribute.STRING),e.addInherited("autoSelectTabWhenOpen","borderAutoSelectTabWhenOpen").setType(r.Attribute.BOOLEAN),e.addInherited("autoSelectTabWhenClosed","borderAutoSelectTabWhenClosed").setType(r.Attribute.BOOLEAN),e.addInherited("size","borderSize").setType(r.Attribute.NUMBER),e.addInherited("minSize","borderMinSize").setType(r.Attribute.NUMBER),e.addInherited("enableAutoHide","borderEnableAutoHide").setType(r.Attribute.BOOLEAN),e}constructor(e,t,n){super(n),this._adjustedSize=0,this._calculatedBorderBarSize=0,this._location=e,this._drawChildren=[],this._attributes.id=`border_${e.getName()}`,g._attributeDefinitions.fromJson(t,this._attributes),n._addNode(this)}getLocation(){return this._location}getTabHeaderRect(){return this._tabHeaderRect}getRect(){return this._tabHeaderRect}getContentRect(){return this._contentRect}isEnableDrop(){return this._getAttr("enableDrop")}isAutoSelectTab(e){return null==e&&(e=-1!==this.getSelected()),e?this._getAttr("autoSelectTabWhenOpen"):this._getAttr("autoSelectTabWhenClosed")}getClassName(){return this._getAttr("className")}calcBorderBarSize(e){const t=this._getAttr("barSize");this._calculatedBorderBarSize=0!==t?t:e.borderBarSize}getBorderBarSize(){return this._calculatedBorderBarSize}getSize(){const e=this._getAttr("size"),t=this.getSelected();if(-1===t)return e;{const n=this._children[t],r=this._location._orientation===l.Orientation.HORZ?n._getAttr("borderWidth"):n._getAttr("borderHeight");return-1===r?e:r}}getMinSize(){return this._getAttr("minSize")}getSelected(){return this._attributes.selected}getSelectedNode(){if(-1!==this.getSelected())return this._children[this.getSelected()]}getOrientation(){return this._location.getOrientation()}getConfig(){return this._attributes.config}isMaximized(){return!1}isShowing(){return!!this._attributes.show&&(this._model._getShowHiddenBorder()===this._location||!this.isAutoHide()||0!==this._children.length)}isAutoHide(){return this._getAttr("enableAutoHide")}_setSelected(e){this._attributes.selected=e}_setSize(e){const t=this.getSelected();if(-1===t)this._attributes.size=e;else{const n=this._children[t];-1===(this._location._orientation===l.Orientation.HORZ?n._getAttr("borderWidth"):n._getAttr("borderHeight"))?this._attributes.size=e:this._location._orientation===l.Orientation.HORZ?n._setBorderWidth(e):n._setBorderHeight(e)}}_updateAttrs(e){g._attributeDefinitions.update(e,this._attributes)}_getDrawChildren(){return this._drawChildren}_setAdjustedSize(e){this._adjustedSize=e}_getAdjustedSize(){return this._adjustedSize}_layoutBorderOuter(e,t){this.calcBorderBarSize(t);const n=this._location.split(e,this.getBorderBarSize());return this._tabHeaderRect=n.start,n.end}_layoutBorderInner(e,t){this._drawChildren=[];const n=this._location,r=n.split(e,this._adjustedSize+this._model.getSplitterSize()),o=n.reflect().split(r.start,this._model.getSplitterSize());this._contentRect=o.end;for(let e=0;e0){let e=this._children[0],n=e.getTabRect();const i=n.y,l=n.height;let u=this._tabHeaderRect.x,d=0;for(let f=0;f=u&&t0){let e=this._children[0],t=e.getTabRect();const i=t.x,l=t.width;let u=this._tabHeaderRect.y,d=0;for(let f=0;f=u&&n0&&n--;let a=n;-1===a&&(a=this._children.length),e.getType()===f.TabNode.TYPE&&this._addChild(e,a),(r||!1!==r&&this.isAutoSelectTab())&&this._setSelected(a),this._model._tidy()}toJson(){const e={};return g._attributeDefinitions.toJson(e,this._attributes),e.location=this._location.getName(),e.children=this._children.map((e=>e.toJson())),e}_getSplitterBounds(e,t=!1){const n=[0,0],r=t?this.getMinSize():0,o=this._model._getOuterInnerRects().outer,a=this._model._getOuterInnerRects().inner,l=this._model.getRoot();return this._location===i.DockLocation.TOP?(n[0]=o.y+r,n[1]=Math.max(n[0],a.getBottom()-e.getHeight()-l.getMinHeight())):this._location===i.DockLocation.LEFT?(n[0]=o.x+r,n[1]=Math.max(n[0],a.getRight()-e.getWidth()-l.getMinWidth())):this._location===i.DockLocation.BOTTOM?(n[1]=o.getBottom()-e.getHeight()-r,n[0]=Math.min(n[1],a.y+l.getMinHeight())):this._location===i.DockLocation.RIGHT&&(n[1]=o.getRight()-e.getWidth()-r,n[0]=Math.min(n[1],a.x+l.getMinWidth())),n}_calculateSplit(e,t){const n=this._getSplitterBounds(e);return this._location===i.DockLocation.BOTTOM||this._location===i.DockLocation.RIGHT?Math.max(0,n[1]-t):Math.max(0,t-n[0])}_getAttributeDefinitions(){return g._attributeDefinitions}static getAttributeDefinitions(){return g._attributeDefinitions}}t.BorderNode=g,g.TYPE="border",g._attributeDefinitions=g._createAttributeDefinitions()},1073:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderSet=void 0;const r=n(3380),o=n(4268);class i{static _fromJson(e,t){const n=new i(t);return n._borders=e.map((e=>o.BorderNode._fromJson(e,t))),n}constructor(e){this._model=e,this._borders=[]}getBorders(){return this._borders}_forEachNode(e){for(const t of this._borders){e(t,0);for(const n of t.getChildren())n._forEachNode(e,1)}}_toJson(){return this._borders.map((e=>e.toJson()))}_layoutBorder(e,t){const n=e.outer,o=this._model.getRoot();let i=Math.max(0,n.height-o.getMinHeight()),a=Math.max(0,n.width-o.getMinWidth()),l=0,s=0,c=0,u=0;const d=this._borders.filter((e=>e.isShowing()));for(const e of d){e._setAdjustedSize(e.getSize());const t=-1!==e.getSelected();e.getLocation().getOrientation()===r.Orientation.HORZ?(s+=e.getBorderBarSize(),t&&(a-=this._model.getSplitterSize(),s+=e.getSize(),u+=e.getSize())):(l+=e.getBorderBarSize(),t&&(i-=this._model.getSplitterSize(),l+=e.getSize(),c+=e.getSize()))}let f=0,p=!1;for(;s>a&&u>0||l>i&&c>0;){const e=d[f];if(-1!==e.getSelected()){const t=e._getAdjustedSize();s>a&&u>0&&e.getLocation().getOrientation()===r.Orientation.HORZ&&t>0&&t>e.getMinSize()?(e._setAdjustedSize(t-1),s--,u--,p=!0):l>i&&c>0&&e.getLocation().getOrientation()===r.Orientation.VERT&&t>0&&t>e.getMinSize()&&(e._setAdjustedSize(t-1),l--,c--,p=!0)}if(f=(f+1)%d.length,0===f){if(!p)break;p=!1}}for(const n of d)e.outer=n._layoutBorderOuter(e.outer,t);e.inner=e.outer;for(const n of d)e.inner=n._layoutBorderInner(e.inner,t);return e}_findDropTargetNode(e,t,n){for(const r of this._borders)if(r.isShowing()){const o=r.canDrop(e,t,n);if(void 0!==o)return o}}}t.BorderSet=i},7562:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICloseType=void 0,function(e){e[e.Visible=1]="Visible",e[e.Always=2]="Always",e[e.Selected=3]="Selected"}(t.ICloseType||(t.ICloseType={}))},7548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Model=void 0;const r=n(7029),o=n(8267),i=n(232),a=n(3380),l=n(807),s=n(3076),c=n(4268),u=n(1073),d=n(996),f=n(6677),p=n(2733),g=n(2968);class h{static fromJson(e){const t=new h;return h._attributeDefinitions.fromJson(e.global,t._attributes),e.borders&&(t._borders=u.BorderSet._fromJson(e.borders,t)),t._root=d.RowNode._fromJson(e.layout,t),t._tidy(),t}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("legacyOverflowMenu",!1).setType(r.Attribute.BOOLEAN),e.add("enableEdgeDock",!0).setType(r.Attribute.BOOLEAN),e.add("rootOrientationVertical",!1).setType(r.Attribute.BOOLEAN),e.add("marginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("enableUseVisibility",!1).setType(r.Attribute.BOOLEAN),e.add("enableRotateBorderIcons",!0).setType(r.Attribute.BOOLEAN),e.add("splitterSize",-1).setType(r.Attribute.NUMBER),e.add("splitterExtra",0).setType(r.Attribute.NUMBER),e.add("tabEnableClose",!0).setType(r.Attribute.BOOLEAN),e.add("tabCloseType",1).setType("ICloseType"),e.add("tabEnableFloat",!1).setType(r.Attribute.BOOLEAN),e.add("tabEnableDrag",!0).setType(r.Attribute.BOOLEAN),e.add("tabEnableRename",!0).setType(r.Attribute.BOOLEAN),e.add("tabContentClassName",void 0).setType(r.Attribute.STRING),e.add("tabClassName",void 0).setType(r.Attribute.STRING),e.add("tabIcon",void 0).setType(r.Attribute.STRING),e.add("tabEnableRenderOnDemand",!0).setType(r.Attribute.BOOLEAN),e.add("tabDragSpeed",.3).setType(r.Attribute.NUMBER),e.add("tabBorderWidth",-1).setType(r.Attribute.NUMBER),e.add("tabBorderHeight",-1).setType(r.Attribute.NUMBER),e.add("tabSetEnableDeleteWhenEmpty",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableDrop",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableDrag",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableDivide",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableMaximize",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableClose",!1).setType(r.Attribute.BOOLEAN),e.add("tabSetEnableSingleTabStretch",!1).setType(r.Attribute.BOOLEAN),e.add("tabSetAutoSelectTab",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetClassNameTabStrip",void 0).setType(r.Attribute.STRING),e.add("tabSetClassNameHeader",void 0).setType(r.Attribute.STRING),e.add("tabSetEnableTabStrip",!0).setType(r.Attribute.BOOLEAN),e.add("tabSetHeaderHeight",0).setType(r.Attribute.NUMBER),e.add("tabSetTabStripHeight",0).setType(r.Attribute.NUMBER),e.add("tabSetMarginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("tabSetBorderInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("tabSetTabLocation","top").setType("ITabLocation"),e.add("tabSetMinWidth",0).setType(r.Attribute.NUMBER),e.add("tabSetMinHeight",0).setType(r.Attribute.NUMBER),e.add("borderSize",200).setType(r.Attribute.NUMBER),e.add("borderMinSize",0).setType(r.Attribute.NUMBER),e.add("borderBarSize",0).setType(r.Attribute.NUMBER),e.add("borderEnableDrop",!0).setType(r.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenOpen",!0).setType(r.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenClosed",!1).setType(r.Attribute.BOOLEAN),e.add("borderClassName",void 0).setType(r.Attribute.STRING),e.add("borderEnableAutoHide",!1).setType(r.Attribute.BOOLEAN),e}constructor(){this._borderRects={inner:l.Rect.empty(),outer:l.Rect.empty()},this._attributes={},this._idMap={},this._borders=new u.BorderSet(this),this._pointerFine=!0,this._showHiddenBorder=i.DockLocation.CENTER}_setChangeListener(e){this._changeListener=e}getActiveTabset(){return this._activeTabSet&&this.getNodeById(this._activeTabSet.getId())?this._activeTabSet:void 0}_getShowHiddenBorder(){return this._showHiddenBorder}_setShowHiddenBorder(e){this._showHiddenBorder=e}_setActiveTabset(e){this._activeTabSet=e}getMaximizedTabset(){return this._maximizedTabSet}_setMaximizedTabset(e){this._maximizedTabSet=e}getRoot(){return this._root}isRootOrientationVertical(){return this._attributes.rootOrientationVertical}isUseVisibility(){return this._attributes.enableUseVisibility}isEnableRotateBorderIcons(){return this._attributes.enableRotateBorderIcons}getBorderSet(){return this._borders}_getOuterInnerRects(){return this._borderRects}_getPointerFine(){return this._pointerFine}_setPointerFine(e){this._pointerFine=e}visitNodes(e){this._borders._forEachNode(e),this._root._forEachNode(e,0)}getNodeById(e){return this._idMap[e]}getFirstTabSet(e=this._root){const t=e.getChildren()[0];return t instanceof p.TabSetNode?t:this.getFirstTabSet(t)}doAction(e){let t;switch(e.type){case s.Actions.ADD_NODE:{const n=new f.TabNode(this,e.data.json,!0),r=this._idMap[e.data.toNode];(r instanceof p.TabSetNode||r instanceof c.BorderNode||r instanceof d.RowNode)&&(r.drop(n,i.DockLocation.getByName(e.data.location),e.data.index,e.data.select),t=n);break}case s.Actions.MOVE_NODE:{const t=this._idMap[e.data.fromNode];if(t instanceof f.TabNode||t instanceof p.TabSetNode){const n=this._idMap[e.data.toNode];(n instanceof p.TabSetNode||n instanceof c.BorderNode||n instanceof d.RowNode)&&n.drop(t,i.DockLocation.getByName(e.data.location),e.data.index,e.data.select)}break}case s.Actions.DELETE_TAB:{const t=this._idMap[e.data.node];t instanceof f.TabNode&&t._delete();break}case s.Actions.DELETE_TABSET:{const t=this._idMap[e.data.node];if(t instanceof p.TabSetNode){const e=[...t.getChildren()];for(let t=0;tthis._idMap[e.getId()]=e))}_adjustSplitSide(e,t,n){e._setWeight(t),null!=e.getWidth()&&e.getOrientation()===a.Orientation.VERT?e._updateAttrs({width:n}):null!=e.getHeight()&&e.getOrientation()===a.Orientation.HORZ&&e._updateAttrs({height:n})}toJson(){const e={};return h._attributeDefinitions.toJson(e,this._attributes),this.visitNodes((e=>{e._fireEvent("save",void 0)})),{global:e,borders:this._borders._toJson(),layout:this._root.toJson()}}getSplitterSize(){let e=this._attributes.splitterSize;return-1===e&&(e=this._pointerFine?8:12),e}isLegacyOverflowMenu(){return this._attributes.legacyOverflowMenu}getSplitterExtra(){return this._attributes.splitterExtra}isEnableEdgeDock(){return this._attributes.enableEdgeDock}_addNode(e){const t=e.getId();if(void 0!==this._idMap[t])throw new Error(`Error: each node must have a unique id, duplicate id:${e.getId()}`);"splitter"!==e.getType()&&(this._idMap[t]=e)}_layout(e,t){var n;return this._borderRects=this._borders._layoutBorder({outer:e,inner:e},t),e=this._borderRects.inner.removeInsets(this._getAttribute("marginInsets")),null===(n=this._root)||void 0===n||n.calcMinSize(),this._root._layout(e,t),e}_findDropTargetNode(e,t,n){let r=this._root._findDropTargetNode(e,t,n);return void 0===r&&(r=this._borders._findDropTargetNode(e,t,n)),r}_tidy(){this._root._tidy()}_updateAttrs(e){h._attributeDefinitions.update(e,this._attributes)}_nextUniqueId(){return"#"+(0,g.randomUUID)()}_getAttribute(e){return this._attributes[e]}setOnAllowDrop(e){this._onAllowDrop=e}_getOnAllowDrop(){return this._onAllowDrop}setOnCreateTabSet(e){this._onCreateTabSet=e}_getOnCreateTabSet(){return this._onCreateTabSet}static toTypescriptInterfaces(){console.log(h._attributeDefinitions.toTypescriptInterface("Global",void 0)),console.log(d.RowNode.getAttributeDefinitions().toTypescriptInterface("Row",h._attributeDefinitions)),console.log(p.TabSetNode.getAttributeDefinitions().toTypescriptInterface("TabSet",h._attributeDefinitions)),console.log(f.TabNode.getAttributeDefinitions().toTypescriptInterface("Tab",h._attributeDefinitions)),console.log(c.BorderNode.getAttributeDefinitions().toTypescriptInterface("Border",h._attributeDefinitions))}toString(){return JSON.stringify(this.toJson())}}t.Model=h,h._attributeDefinitions=h._createAttributeDefinitions()},89:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;const r=n(232),o=n(3380),i=n(807);t.Node=class{constructor(e){this._dirty=!1,this._tempSize=0,this._model=e,this._attributes={},this._children=[],this._fixed=!1,this._rect=i.Rect.empty(),this._visible=!1,this._listeners={}}getId(){let e=this._attributes.id;return void 0!==e||(e=this._model._nextUniqueId(),this._setId(e)),e}getModel(){return this._model}getType(){return this._attributes.type}getParent(){return this._parent}getChildren(){return this._children}getRect(){return this._rect}isVisible(){return this._visible}getOrientation(){return void 0===this._parent?this._model.isRootOrientationVertical()?o.Orientation.VERT:o.Orientation.HORZ:o.Orientation.flip(this._parent.getOrientation())}setEventListener(e,t){this._listeners[e]=t}removeEventListener(e){delete this._listeners[e]}_setId(e){this._attributes.id=e}_fireEvent(e,t){void 0!==this._listeners[e]&&this._listeners[e](t)}_getAttr(e){let t=this._attributes[e];if(void 0===t){const n=this._getAttributeDefinitions().getModelName(e);void 0!==n&&(t=this._model._getAttribute(n))}return t}_forEachNode(e,t){e(this,t),t++;for(const n of this._children)n._forEachNode(e,t)}_setVisible(e){e!==this._visible&&(this._fireEvent("visibility",{visible:e}),this._visible=e)}_getDrawChildren(){return this._children}_setParent(e){this._parent=e}_setRect(e){this._rect=e}_setWeight(e){this._attributes.weight=e}_setSelected(e){this._attributes.selected=e}_isFixed(){return this._fixed}_layout(e,t){this._rect=e}_findDropTargetNode(e,t,n){let r;if(this._rect.contains(t,n))if(void 0!==this._model.getMaximizedTabset())r=this._model.getMaximizedTabset().canDrop(e,t,n);else if(r=this.canDrop(e,t,n),void 0===r&&0!==this._children.length)for(const o of this._children)if(r=o._findDropTargetNode(e,t,n),void 0!==r)break;return r}canDrop(e,t,n){}_canDockInto(e,t){if(null!=t){if(t.location===r.DockLocation.CENTER&&!1===t.node.isEnableDrop())return!1;if(t.location===r.DockLocation.CENTER&&"tabset"===e.getType()&&void 0!==e.getName())return!1;if(t.location!==r.DockLocation.CENTER&&!1===t.node.isEnableDivide())return!1;if(this._model._getOnAllowDrop())return this._model._getOnAllowDrop()(e,t)}return!0}_removeChild(e){const t=this._children.indexOf(e);return-1!==t&&this._children.splice(t,1),this._dirty=!0,t}_addChild(e,t){return null!=t?this._children.splice(t,0,e):(this._children.push(e),t=this._children.length-1),e._parent=this,this._dirty=!0,t}_removeAll(){this._children=[],this._dirty=!0}_styleWithPosition(e){return null==e&&(e={}),this._rect.styleWithPosition(e)}_getTempSize(){return this._tempSize}_setTempSize(e){this._tempSize=e}isEnableDivide(){return!0}_toAttributeString(){return JSON.stringify(this._attributes,void 0,"\t")}}},996:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowNode=void 0;const r=n(7029),o=n(8267),i=n(232),a=n(5748),l=n(3380),s=n(807),c=n(4115),u=n(4268),d=n(89),f=n(191),p=n(2733);class g extends d.Node{static _fromJson(e,t){const n=new g(t,e);if(null!=e.children)for(const r of e.children)if(r.type===p.TabSetNode.TYPE){const e=p.TabSetNode._fromJson(r,t);n._addChild(e)}else{const e=g._fromJson(r,t);n._addChild(e)}return n}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",g.TYPE,!0).setType(r.Attribute.STRING).setFixed(),e.add("id",void 0).setType(r.Attribute.STRING),e.add("weight",100).setType(r.Attribute.NUMBER),e.add("width",void 0).setType(r.Attribute.NUMBER),e.add("height",void 0).setType(r.Attribute.NUMBER),e}constructor(e,t){super(e),this._dirty=!0,this._drawChildren=[],this._minHeight=0,this._minWidth=0,g._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this)}getWeight(){return this._attributes.weight}getWidth(){return this._getAttr("width")}getHeight(){return this._getAttr("height")}_setWeight(e){this._attributes.weight=e}_layout(e,t){super._layout(e,t);const n=this._rect._getSize(this.getOrientation());let r=0,o=0,i=0,a=0;const c=this._getDrawChildren();for(const e of c){const t=e._getPrefSize(this.getOrientation());e._isFixed()?void 0!==t&&(o+=t):void 0===t?r+=e.getWeight():(i+=t,a+=e.getWeight())}let u=!1,d=n-o-i;d<0&&(d=n-o,u=!0,r+=a);let p=0,g=0;for(const e of c){const t=e._getPrefSize(this.getOrientation());if(e._isFixed())void 0!==t&&e._setTempSize(t);else if(null==t||u){if(0===r)e._setTempSize(0);else{const t=e.getMinSize(this.getOrientation()),n=Math.floor(d*(e.getWeight()/r));e._setTempSize(Math.max(t,n))}g+=e._getTempSize()}else e._setTempSize(t);p+=e._getTempSize()}if(g>0){for(;pn;){let e=!1;for(const t of c)if(!(t instanceof f.SplitterNode)){const r=t.getMinSize(this.getOrientation());t._getTempSize()>r&&p>n&&(t._setTempSize(t._getTempSize()-1),p--,e=!0)}if(!e)break}for(;p>n;){let e=!1;for(const t of c)if(!(t instanceof f.SplitterNode)){t._getTempSize()>0&&p>n&&(t._setTempSize(t._getTempSize()-1),p--,e=!0)}if(!e)break}}let h=0;for(const e of c)this.getOrientation()===l.Orientation.HORZ?e._layout(new s.Rect(this._rect.x+h,this._rect.y,e._getTempSize(),this._rect.height),t):e._layout(new s.Rect(this._rect.x,this._rect.y+h,this._rect.width,e._getTempSize()),t),h+=e._getTempSize();return!0}_getSplitterBounds(e,t=!1){const n=[0,0],r=this._getDrawChildren(),o=r.indexOf(e),i=r[o-1],a=r[o+1];if(this.getOrientation()===l.Orientation.HORZ){const r=t?i.getMinWidth():0,o=t?a.getMinWidth():0;n[0]=i.getRect().x+r,n[1]=a.getRect().getRight()-e.getWidth()-o}else{const r=t?i.getMinHeight():0,o=t?a.getMinHeight():0;n[0]=i.getRect().y+r,n[1]=a.getRect().getBottom()-e.getHeight()-o}return n}_calculateSplit(e,t){let n;const r=this._getDrawChildren(),o=r.indexOf(e),i=this._getSplitterBounds(e),a=r[o-1].getWeight()+r[o+1].getWeight(),l=Math.max(0,t-i[0]),s=Math.max(0,i[1]-t);if(l+s>0){const e=l*a/(l+s),t=s*a/(l+s);n={node1Id:r[o-1].getId(),weight1:e,pixelWidth1:l,node2Id:r[o+1].getId(),weight2:t,pixelWidth2:s}}return n}_getDrawChildren(){if(this._dirty){this._drawChildren=[];for(let e=0;es/2-u&&rthis._rect.getRight()-10&&r>s/2-u&&rl/2-u&&othis._rect.getBottom()-10&&o>l/2-u&&oe+t.getWeight()),0);0===l&&(l=100),a._setWeight(l/3);const s=!this._model.isRootOrientationVertical();if(s&&r===i.DockLocation.LEFT||!s&&r===i.DockLocation.TOP)this._addChild(a,0);else if(s&&r===i.DockLocation.RIGHT||!s&&r===i.DockLocation.BOTTOM)this._addChild(a);else if(s&&r===i.DockLocation.TOP||!s&&r===i.DockLocation.LEFT){const e=new g(this._model,{}),t=new g(this._model,{});t._setWeight(75),a._setWeight(25);for(const e of this._children)t._addChild(e);this._removeAll(),e._addChild(a),e._addChild(t),this._addChild(e)}else if(s&&r===i.DockLocation.BOTTOM||!s&&r===i.DockLocation.RIGHT){const e=new g(this._model,{}),t=new g(this._model,{});t._setWeight(75),a._setWeight(25);for(const e of this._children)t._addChild(e);this._removeAll(),e._addChild(t),e._addChild(a),this._addChild(e)}this._model._setActiveTabset(a),this._model._tidy()}toJson(){const e={};g._attributeDefinitions.toJson(e,this._attributes),e.children=[];for(const t of this._children)e.children.push(t.toJson());return e}isEnableDrop(){return!0}_getPrefSize(e){let t=this.getWidth();return e===l.Orientation.VERT&&(t=this.getHeight()),t}_getAttributeDefinitions(){return g._attributeDefinitions}_updateAttrs(e){g._attributeDefinitions.update(e,this._attributes)}static getAttributeDefinitions(){return g._attributeDefinitions}}t.RowNode=g,g.TYPE="row",g._attributeDefinitions=g._createAttributeDefinitions()},191:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SplitterNode=void 0;const r=n(8267),o=n(3380),i=n(89);class a extends i.Node{constructor(e){super(e),this._fixed=!0,this._attributes.type=a.TYPE,e._addNode(this)}getWidth(){return this._model.getSplitterSize()}getMinWidth(){return this.getOrientation()===o.Orientation.VERT?this._model.getSplitterSize():0}getHeight(){return this._model.getSplitterSize()}getMinHeight(){return this.getOrientation()===o.Orientation.HORZ?this._model.getSplitterSize():0}getMinSize(e){return e===o.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getWeight(){return 0}_setWeight(e){}_getPrefSize(e){return this._model.getSplitterSize()}_updateAttrs(e){}_getAttributeDefinitions(){return new r.AttributeDefinitions}toJson(){}}t.SplitterNode=a,a.TYPE="splitter"},6677:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabNode=void 0;const r=n(7029),o=n(8267),i=n(89);class a extends i.Node{static _fromJson(e,t,n=!0){return new a(t,e,n)}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",a.TYPE,!0).setType(r.Attribute.STRING),e.add("id",void 0).setType(r.Attribute.STRING),e.add("name","[Unnamed Tab]").setType(r.Attribute.STRING),e.add("altName",void 0).setType(r.Attribute.STRING),e.add("helpText",void 0).setType(r.Attribute.STRING),e.add("component",void 0).setType(r.Attribute.STRING),e.add("config",void 0).setType("any"),e.add("floating",!1).setType(r.Attribute.BOOLEAN),e.add("tabsetClassName",void 0).setType(r.Attribute.STRING),e.addInherited("enableClose","tabEnableClose").setType(r.Attribute.BOOLEAN),e.addInherited("closeType","tabCloseType").setType("ICloseType"),e.addInherited("enableDrag","tabEnableDrag").setType(r.Attribute.BOOLEAN),e.addInherited("enableRename","tabEnableRename").setType(r.Attribute.BOOLEAN),e.addInherited("className","tabClassName").setType(r.Attribute.STRING),e.addInherited("contentClassName","tabContentClassName").setType(r.Attribute.STRING),e.addInherited("icon","tabIcon").setType(r.Attribute.STRING),e.addInherited("enableRenderOnDemand","tabEnableRenderOnDemand").setType(r.Attribute.BOOLEAN),e.addInherited("enableFloat","tabEnableFloat").setType(r.Attribute.BOOLEAN),e.addInherited("borderWidth","tabBorderWidth").setType(r.Attribute.NUMBER),e.addInherited("borderHeight","tabBorderHeight").setType(r.Attribute.NUMBER),e}constructor(e,t,n=!0){super(e),this._extra={},a._attributeDefinitions.fromJson(t,this._attributes),!0===n&&e._addNode(this)}getWindow(){return this._window}getTabRect(){return this._tabRect}_setTabRect(e){this._tabRect=e}_setRenderedName(e){this._renderedName=e}_getNameForOverflowMenu(){const e=this._getAttr("altName");return void 0!==e?e:this._renderedName}getName(){return this._getAttr("name")}getHelpText(){return this._getAttr("helpText")}getComponent(){return this._getAttr("component")}getConfig(){return this._attributes.config}getExtraData(){return this._extra}isFloating(){return this._getAttr("floating")}getIcon(){return this._getAttr("icon")}isEnableClose(){return this._getAttr("enableClose")}getCloseType(){return this._getAttr("closeType")}isEnableFloat(){return this._getAttr("enableFloat")}isEnableDrag(){return this._getAttr("enableDrag")}isEnableRename(){return this._getAttr("enableRename")}getClassName(){return this._getAttr("className")}getContentClassName(){return this._getAttr("contentClassName")}getTabSetClassName(){return this._getAttr("tabsetClassName")}isEnableRenderOnDemand(){return this._getAttr("enableRenderOnDemand")}_setName(e){this._attributes.name=e,this._window&&this._window.document&&(this._window.document.title=e)}_setFloating(e){this._attributes.floating=e}_layout(e,t){e.equals(this._rect)||this._fireEvent("resize",{rect:e}),this._rect=e}_delete(){this._parent._remove(this),this._fireEvent("close",{})}toJson(){const e={};return a._attributeDefinitions.toJson(e,this._attributes),e}_updateAttrs(e){a._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return a._attributeDefinitions}_setWindow(e){this._window=e}_setBorderWidth(e){this._attributes.borderWidth=e}_setBorderHeight(e){this._attributes.borderHeight=e}static getAttributeDefinitions(){return a._attributeDefinitions}}t.TabNode=a,a.TYPE="tab",a._attributeDefinitions=a._createAttributeDefinitions()},2733:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabSetNode=void 0;const r=n(7029),o=n(8267),i=n(232),a=n(5748),l=n(3380),s=n(807),c=n(4115),u=n(4268),d=n(89),f=n(996),p=n(6677),g=n(2968);class h extends d.Node{static _fromJson(e,t){const n=new h(t,e);if(null!=e.children)for(const r of e.children){const e=p.TabNode._fromJson(r,t);n._addChild(e)}return 0===n._children.length&&n._setSelected(-1),e.maximized&&!0===e.maximized&&t._setMaximizedTabset(n),e.active&&!0===e.active&&t._setActiveTabset(n),n}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",h.TYPE,!0).setType(r.Attribute.STRING).setFixed(),e.add("id",void 0).setType(r.Attribute.STRING),e.add("weight",100).setType(r.Attribute.NUMBER),e.add("width",void 0).setType(r.Attribute.NUMBER),e.add("height",void 0).setType(r.Attribute.NUMBER),e.add("selected",0).setType(r.Attribute.NUMBER),e.add("name",void 0).setType(r.Attribute.STRING),e.add("config",void 0).setType("any"),e.addInherited("enableDeleteWhenEmpty","tabSetEnableDeleteWhenEmpty"),e.addInherited("enableDrop","tabSetEnableDrop"),e.addInherited("enableDrag","tabSetEnableDrag"),e.addInherited("enableDivide","tabSetEnableDivide"),e.addInherited("enableMaximize","tabSetEnableMaximize"),e.addInherited("enableClose","tabSetEnableClose"),e.addInherited("enableSingleTabStretch","tabSetEnableSingleTabStretch"),e.addInherited("classNameTabStrip","tabSetClassNameTabStrip"),e.addInherited("classNameHeader","tabSetClassNameHeader"),e.addInherited("enableTabStrip","tabSetEnableTabStrip"),e.addInherited("borderInsets","tabSetBorderInsets"),e.addInherited("marginInsets","tabSetMarginInsets"),e.addInherited("minWidth","tabSetMinWidth"),e.addInherited("minHeight","tabSetMinHeight"),e.addInherited("headerHeight","tabSetHeaderHeight"),e.addInherited("tabStripHeight","tabSetTabStripHeight"),e.addInherited("tabLocation","tabSetTabLocation"),e.addInherited("autoSelectTab","tabSetAutoSelectTab").setType(r.Attribute.BOOLEAN),e}constructor(e,t){super(e),h._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this),this._calculatedTabBarHeight=0,this._calculatedHeaderBarHeight=0}getName(){return this._getAttr("name")}getSelected(){const e=this._attributes.selected;return void 0!==e?e:-1}getSelectedNode(){const e=this.getSelected();if(-1!==e)return this._children[e]}getWeight(){return this._getAttr("weight")}getWidth(){return this._getAttr("width")}getMinWidth(){return this._getAttr("minWidth")}getHeight(){return this._getAttr("height")}getMinHeight(){return this._getAttr("minHeight")}getMinSize(e){return e===l.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getConfig(){return this._attributes.config}isMaximized(){return this._model.getMaximizedTabset()===this}isActive(){return this._model.getActiveTabset()===this}isEnableDeleteWhenEmpty(){return this._getAttr("enableDeleteWhenEmpty")}isEnableDrop(){return this._getAttr("enableDrop")}isEnableDrag(){return this._getAttr("enableDrag")}isEnableDivide(){return this._getAttr("enableDivide")}isEnableMaximize(){return this._getAttr("enableMaximize")}isEnableClose(){return this._getAttr("enableClose")}isEnableSingleTabStretch(){return this._getAttr("enableSingleTabStretch")}canMaximize(){return!!this.isEnableMaximize()&&(this.getModel().getMaximizedTabset()===this||(this.getParent()!==this.getModel().getRoot()||1!==this.getModel().getRoot().getChildren().length))}isEnableTabStrip(){return this._getAttr("enableTabStrip")}isAutoSelectTab(){return this._getAttr("autoSelectTab")}getClassNameTabStrip(){return this._getAttr("classNameTabStrip")}getClassNameHeader(){return this._getAttr("classNameHeader")}calculateHeaderBarHeight(e){const t=this._getAttr("headerHeight");this._calculatedHeaderBarHeight=0!==t?t:e.headerBarSize}calculateTabBarHeight(e){const t=this._getAttr("tabStripHeight");this._calculatedTabBarHeight=0!==t?t:e.tabBarSize}getHeaderHeight(){return this._calculatedHeaderBarHeight}getTabStripHeight(){return this._calculatedTabBarHeight}getTabLocation(){return this._getAttr("tabLocation")}_setWeight(e){this._attributes.weight=e}_setSelected(e){this._attributes.selected=e}canDrop(e,t,n){let r;if(e===this){const e=i.DockLocation.CENTER,t=this._tabHeaderRect;r=new a.DropInfo(this,t,e,-1,c.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(this._contentRect.contains(t,n)){let e=i.DockLocation.CENTER;void 0===this._model.getMaximizedTabset()&&(e=i.DockLocation.getLocation(this._contentRect,t,n));const o=e.getDockRect(this._rect);r=new a.DropInfo(this,o,e,-1,c.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(null!=this._tabHeaderRect&&this._tabHeaderRect.contains(t,n)){let e,n,o;if(0===this._children.length)e=this._tabHeaderRect.clone(),n=e.y+3,o=e.height-4,e.width=2;else{let l=this._children[0];e=l.getTabRect(),n=e.y,o=e.height;let u=this._tabHeaderRect.x,d=0;for(let f=0;f=u&&t0&&n--,o===i.DockLocation.CENTER){let t=n;if(-1===t&&(t=this._children.length),e.getType()===p.TabNode.TYPE)this._addChild(e,t),(r||!1!==r&&this.isAutoSelectTab())&&this._setSelected(t);else{for(let n=0;n0&&this._setSelected(0)}this._model._setActiveTabset(this)}else{let t;if(e instanceof p.TabNode){const n=this._model._getOnCreateTabSet();t=new h(this._model,n?n(e):{}),t._addChild(e),a=t}else t=e;const n=this._parent,r=n.getChildren().indexOf(this);if(n.getOrientation()===o._orientation)t._setWeight(this.getWeight()/2),this._setWeight(this.getWeight()/2),n._addChild(t,r+o._indexPlus);else{const e=new f.RowNode(this._model,{});e._setWeight(this.getWeight()),e._addChild(this),this._setWeight(50),t._setWeight(50),e._addChild(t,o._indexPlus),n._removeChild(this),n._addChild(e,r)}this._model._setActiveTabset(t)}this._model._tidy()}toJson(){const e={};return h._attributeDefinitions.toJson(e,this._attributes),e.children=this._children.map((e=>e.toJson())),this.isActive()&&(e.active=!0),this.isMaximized()&&(e.maximized=!0),e}_updateAttrs(e){h._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return h._attributeDefinitions}_getPrefSize(e){let t=this.getWidth();return e===l.Orientation.VERT&&(t=this.getHeight()),t}static getAttributeDefinitions(){return h._attributeDefinitions}}t.TabSetNode=h,h.TYPE="tabset",h._attributeDefinitions=h._createAttributeDefinitions()},2968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomUUID=t.adjustSelectedIndex=t.adjustSelectedIndexAfterDock=t.adjustSelectedIndexAfterFloat=void 0;const r=n(2733),o=n(4268);t.adjustSelectedIndexAfterFloat=function(e){const t=e.getParent();if(null!==t)if(t instanceof r.TabSetNode){let n=!1,r=0;const o=t.getChildren();for(let t=0;t0?t>=e.getChildren().length&&e._setSelected(e.getChildren().length-1):tn||e._setSelected(-1))}},t.randomUUID=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}},5821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderButton=void 0;const r=n(7294),o=n(5551),i=n(3076),a=n(807),l=n(7562),s=n(4115),c=n(4592);t.BorderButton=e=>{const{layout:t,node:n,selected:u,border:d,iconFactory:f,titleFactory:p,icons:g,path:h}=e,m=r.useRef(null),v=r.useRef(null),b=e=>{(0,c.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,n,n.isEnableDrag(),S,w)},y=e=>{(0,c.isAuxMouseEvent)(e)&&t.auxMouseClick(n,e)},S=()=>{t.doAction(i.Actions.selectTab(n.getId()))},w=e=>{},C=e=>{(()=>{const e=n.getCloseType();return!!(u||e===l.ICloseType.Always||e===l.ICloseType.Visible&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches)})()?t.doAction(i.Actions.deleteTab(n.getId())):S()},E=e=>{e.stopPropagation()};r.useLayoutEffect((()=>{x(),t.getEditingTab()===n&&v.current.select()}));const x=()=>{var e;const r=t.getDomRect(),o=null===(e=m.current)||void 0===e?void 0:e.getBoundingClientRect();o&&r&&n._setTabRect(new a.Rect(o.left-r.left,o.top-r.top,o.width,o.height))},_=e=>{e.stopPropagation()},O=e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(i.Actions.renameTab(n.getId(),e.target.value)))},k=t.getClassName;let $=k(s.CLASSES.FLEXLAYOUT__BORDER_BUTTON)+" "+k(s.CLASSES.FLEXLAYOUT__BORDER_BUTTON_+d);$+=u?" "+k(s.CLASSES.FLEXLAYOUT__BORDER_BUTTON__SELECTED):" "+k(s.CLASSES.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED),void 0!==n.getClassName()&&($+=" "+n.getClassName());let T=0;!1===n.getModel().isEnableRotateBorderIcons()&&("left"===d?T=90:"right"===d&&(T=-90));const R=(0,c.getRenderStateEx)(t,n,f,p,T);let M=R.content?r.createElement("div",{className:k(s.CLASSES.FLEXLAYOUT__BORDER_BUTTON_CONTENT)},R.content):null;const N=R.leading?r.createElement("div",{className:k(s.CLASSES.FLEXLAYOUT__BORDER_BUTTON_LEADING)},R.leading):null;if(t.getEditingTab()===n&&(M=r.createElement("input",{ref:v,className:k(s.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":h+"/textbox",type:"text",autoFocus:!0,defaultValue:n.getName(),onKeyDown:O,onMouseDown:_,onTouchStart:_})),n.isEnableClose()){const e=t.i18nName(o.I18nLabel.Close_Tab);R.buttons.push(r.createElement("div",{key:"close","data-layout-path":h+"/button/close",title:e,className:k(s.CLASSES.FLEXLAYOUT__BORDER_BUTTON_TRAILING),onMouseDown:E,onClick:C,onTouchStart:E},"function"==typeof g.close?g.close(n):g.close))}return r.createElement("div",{ref:m,"data-layout-path":h,className:$,onMouseDown:b,onClick:y,onAuxClick:y,onContextMenu:e=>{t.showContextMenu(n,e)},onTouchStart:b,title:n.getHelpText()},N,M,R.buttons)}},9715:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderTabSet=void 0;const r=n(7294),o=n(232),i=n(5821),a=n(31),l=n(3076),s=n(5551),c=n(1680),u=n(3380),d=n(4115),f=n(4592);t.BorderTabSet=e=>{const{border:t,layout:n,iconFactory:p,titleFactory:g,icons:h,path:m}=e,v=r.useRef(null),b=r.useRef(null),y=r.useRef(null),{selfRef:S,position:w,userControlledLeft:C,hiddenTabs:E,onMouseWheel:x,tabsTruncated:_}=(0,c.useTabOverflow)(t,u.Orientation.flip(t.getOrientation()),v,y),O=e=>{(0,f.isAuxMouseEvent)(e)&&n.auxMouseClick(t,e)},k=e=>{e.stopPropagation()},$=e=>{const r=n.getShowOverflowMenu();if(void 0!==r)r(t,e,E,T);else{const e=b.current;(0,a.showPopup)(e,E,T,n,p,g)}e.stopPropagation()},T=e=>{n.doAction(l.Actions.selectTab(e.node.getId())),C.current=!1},R=e=>{const r=t.getChildren()[t.getSelected()];void 0!==r&&n.doAction(l.Actions.floatTab(r.getId())),e.stopPropagation()},M=n.getClassName;let N=t.getTabHeaderRect().styleWithPosition({});const I=[],P=e=>{let o=t.getSelected()===e,a=t.getChildren()[e];I.push(r.createElement(i.BorderButton,{layout:n,border:t.getLocation().getName(),node:a,path:m+"/tb"+e,key:a.getId(),selected:o,iconFactory:p,titleFactory:g,icons:h})),e0&&(_?L=[...j,...L]:I.push(r.createElement("div",{ref:y,key:"sticky_buttons_container",onMouseDown:k,onTouchStart:k,onDragStart:e=>{e.preventDefault()},className:M(d.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},j))),E.length>0){const e=n.i18nName(s.I18nLabel.Overflow_Menu_Tooltip);let o;o="function"==typeof h.more?h.more(t,E):r.createElement(r.Fragment,null,h.more,r.createElement("div",{className:M(d.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},E.length)),L.splice(Math.min(D.overflowPosition,L.length),0,r.createElement("button",{key:"overflowbutton",ref:b,className:M(d.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+M(d.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW)+" "+M(d.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_+t.getLocation().getName()),title:e,onClick:$,onMouseDown:k,onTouchStart:k},o))}const B=t.getSelected();if(-1!==B){const e=t.getChildren()[B];if(void 0!==e&&n.isSupportsPopout()&&e.isEnableFloat()&&!e.isFloating()){const t=n.i18nName(s.I18nLabel.Float_Tab);L.push(r.createElement("button",{key:"float",title:t,className:M(d.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+M(d.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT),onClick:R,onMouseDown:k,onTouchStart:k},"function"==typeof h.popout?h.popout(e):h.popout))}}const z=r.createElement("div",{key:"toolbar",ref:v,className:M(d.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR)+" "+M(d.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_+t.getLocation().getName())},L);N=n.styleFont(N);let Z={};const F=t.getBorderBarSize()-1;return Z=t.getLocation()===o.DockLocation.LEFT?{right:F,height:F,top:w}:t.getLocation()===o.DockLocation.RIGHT?{left:F,height:F,top:w}:{height:F,left:w},r.createElement("div",{ref:S,dir:"ltr",style:N,className:A,"data-layout-path":m,onClick:O,onAuxClick:O,onContextMenu:e=>{n.showContextMenu(t,e)},onWheel:x},r.createElement("div",{style:{height:F},className:M(d.CLASSES.FLEXLAYOUT__BORDER_INNER)+" "+M(d.CLASSES.FLEXLAYOUT__BORDER_INNER_+t.getLocation().getName())},r.createElement("div",{style:Z,className:M(d.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER)+" "+M(d.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_+t.getLocation().getName())},I)),z)}},6180:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=void 0;const r=n(7294),o=n(4115);class i extends r.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.debug(e),console.debug(t)}render(){return this.state.hasError?r.createElement("div",{className:o.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER},r.createElement("div",{className:o.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT},this.props.message)):this.props.children}}t.ErrorBoundary=i},7868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindow=void 0;const r=n(7294),o=n(3935),i=n(807),a=n(4115);t.FloatingWindow=e=>{const{title:t,id:n,url:l,rect:s,onCloseWindow:c,onSetWindow:u,children:d}=e,f=r.useRef(null),p=r.useRef(null),[g,h]=r.useState(void 0);return r.useLayoutEffect((()=>{p.current&&clearTimeout(p.current);let e=!0;const r=s||new i.Rect(0,0,100,100),o=Array.from(window.document.styleSheets).reduce(((e,t)=>{let n;try{n=t.cssRules}catch(e){}try{return[...e,{href:t.href,type:t.type,rules:n?Array.from(n).map((e=>e.cssText)):null}]}catch(t){return e}}),[]);return f.current=window.open(l,n,`left=${r.x},top=${r.y},width=${r.width},height=${r.height}`),null!==f.current?(u(n,f.current),window.addEventListener("beforeunload",(()=>{f.current&&(f.current.close(),f.current=null)})),f.current.addEventListener("load",(()=>{if(e){const e=f.current.document;e.title=t;const r=e.createElement("div");r.className=a.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_CONTENT,e.body.appendChild(r),function(e,t){const n=e.head,r=[];for(const o of t)if(o.href){const t=e.createElement("link");t.type=o.type,t.rel="stylesheet",t.href=o.href,n.appendChild(t),r.push(new Promise((e=>{t.onload=()=>e(!0)})))}else if(o.rules){const t=e.createElement("style");for(const n of o.rules)t.appendChild(e.createTextNode(n));n.appendChild(t)}return Promise.all(r)}(e,o).then((()=>{h(r)})),f.current.addEventListener("beforeunload",(()=>{c(n)}))}}))):(console.warn(`Unable to open window ${l}`),c(n)),()=>{e=!1,p.current=setTimeout((()=>{f.current&&(f.current.close(),f.current=null)}),0)}}),[]),void 0!==g?(0,o.createPortal)(d,g):null}},6538:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindowTab=void 0;const r=n(7294),o=n(6180),i=n(5551),a=n(7294),l=n(4115);t.FloatingWindowTab=e=>{const{layout:t,node:n,factory:s}=e,c=t.getClassName,u=s(n);return r.createElement("div",{className:c(l.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_TAB)},r.createElement(o.ErrorBoundary,{message:e.layout.i18nName(i.I18nLabel.Error_rendering_component)},r.createElement(a.Fragment,null,u)))}},3281:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestoreIcon=t.PopoutIcon=t.EdgeIcon=t.OverflowIcon=t.MaximizeIcon=t.CloseIcon=void 0;const r=n(7294),o={width:"1em",height:"1em",display:"flex",alignItems:"center"};t.CloseIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24"},r.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),r.createElement("path",{stroke:"var(--color-icon)",fill:"var(--color-icon)",d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}));t.MaximizeIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{stroke:"var(--color-icon)",d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}));t.OverflowIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{stroke:"var(--color-icon)",d:"M7 10l5 5 5-5z"}));t.EdgeIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"block",width:10,height:10},preserveAspectRatio:"none",viewBox:"0 0 100 100"},r.createElement("path",{fill:"var(--color-edge-icon)",stroke:"var(--color-edge-icon)",d:"M10 30 L90 30 l-40 40 Z"}));t.PopoutIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 20 20",fill:"var(--color-icon)"},r.createElement("path",{d:"M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"}),r.createElement("path",{d:"M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"}));t.RestoreIcon=()=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{stroke:"var(--color-icon)",d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}))},5295:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;const r=n(7294),o=n(3935),i=n(232),a=n(268),l=n(3076),s=n(4268),c=n(191),u=n(6677),d=n(2733),f=n(807),p=n(4115),g=n(9715),h=n(1996),m=n(178),v=n(9738),b=n(7868),y=n(6538),S=n(2022),w=n(3380),C=n(3281),E=n(5797),x={close:r.createElement(C.CloseIcon,null),closeTabset:r.createElement(C.CloseIcon,null),popout:r.createElement(C.PopoutIcon,null),maximize:r.createElement(C.MaximizeIcon,null),restore:r.createElement(C.RestoreIcon,null),more:r.createElement(C.OverflowIcon,null),edgeArrow:r.createElement(C.EdgeIcon,null)},_="undefined"!=typeof window&&(window.document.documentMode||/Edge\//.test(window.navigator.userAgent)),O="undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches&&!_;class k extends r.Component{constructor(e){super(e),this.firstMove=!1,this.dragRectRendered=!0,this.dragDivText=void 0,this.edgeRectLength=100,this.edgeRectWidth=10,this.onModelChange=e=>{this.forceUpdate(),this.props.onModelChange&&this.props.onModelChange(this.props.model,e)},this.updateRect=e=>{if(e||(e=this.getDomRect()),!e)return;const t=new f.Rect(0,0,e.width,e.height);t.equals(this.state.rect)||0===t.width||0===t.height||this.setState({rect:t})},this.updateLayoutMetrics=()=>{if(this.findHeaderBarSizeRef.current){const e=this.findHeaderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedHeaderBarSize&&this.setState({calculatedHeaderBarSize:e})}if(this.findTabBarSizeRef.current){const e=this.findTabBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedTabBarSize&&this.setState({calculatedTabBarSize:e})}if(this.findBorderBarSizeRef.current){const e=this.findBorderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedBorderBarSize&&this.setState({calculatedBorderBarSize:e})}},this.getClassName=e=>void 0===this.props.classNameMapper?e:this.props.classNameMapper(e),this.onCloseWindow=e=>{this.doAction(l.Actions.unFloatTab(e));try{this.props.model.getNodeById(e)._setWindow(void 0)}catch(e){}},this.onSetWindow=(e,t)=>{this.props.model.getNodeById(e)._setWindow(t)},this.onCancelAdd=()=>{var e,t;const n=this.selfRef.current;n&&this.dragDiv&&n.removeChild(this.dragDiv),this.dragDiv=void 0,this.hidePortal(),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null===(t=null===(e=this.customDrop)||void 0===e?void 0:e.invalidated)||void 0===t||t.call(e)}catch(e){console.error(e)}a.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0},this.onCancelDrag=e=>{var t,n;if(e){const e=this.selfRef.current,r=this.outlineDiv;if(e&&r)try{e.removeChild(r)}catch(e){}const o=this.dragDiv;if(e&&o)try{e.removeChild(o)}catch(e){}this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null===(n=null===(t=this.customDrop)||void 0===t?void 0:t.invalidated)||void 0===n||n.call(t)}catch(e){console.error(e)}a.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0}this.setState({showHiddenBorder:i.DockLocation.CENTER})},this.onDragDivMouseDown=e=>{e.preventDefault(),this.dragStart(e,this.dragDivText,u.TabNode._fromJson(this.newTabJson,this.props.model,!1),!0,void 0,void 0)},this.dragStart=(e,t,n,r,o,i)=>{var l,s;r?(this.dragNode=n,this.dragDivText=t,a.DragDrop.instance.startDrag(e,this.onDragStart,this.onDragMove,this.onDragEnd,this.onCancelDrag,o,i,this.currentDocument,null!==(s=this.selfRef.current)&&void 0!==s?s:void 0)):a.DragDrop.instance.startDrag(e,void 0,void 0,void 0,void 0,o,i,this.currentDocument,null!==(l=this.selfRef.current)&&void 0!==l?l:void 0)},this.dragRectRender=(e,t,n,o)=>{let i;if(void 0!==e?i=r.createElement("div",{style:{whiteSpace:"pre"}},e.replace("
","\n")):t&&t instanceof u.TabNode&&(i=r.createElement(E.TabButtonStamp,{node:t,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory})),void 0!==this.props.onRenderDragRect){const e=this.props.onRenderDragRect(i,t,n);void 0!==e&&(i=e)}this.dragRectRendered=!1;const a=this.dragDiv;a&&(a.style.visibility="hidden",this.showPortal(r.createElement($,{onRendered:()=>{this.dragRectRendered=!0,null==o||o()}},i),a))},this.showPortal=(e,t)=>{const n=(0,o.createPortal)(e,t);this.setState({portal:n})},this.hidePortal=()=>{this.setState({portal:void 0})},this.onDragStart=()=>{var e;this.dropInfo=void 0,this.customDrop=void 0;const t=this.selfRef.current;return this.outlineDiv=this.currentDocument.createElement("div"),this.outlineDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__OUTLINE_RECT),this.outlineDiv.style.visibility="hidden",t&&t.appendChild(this.outlineDiv),null==this.dragDiv&&(this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__DRAG_RECT),this.dragDiv.setAttribute("data-layout-path","/drag-rectangle"),this.dragRectRender(this.dragDivText,this.dragNode,this.newTabJson),t&&t.appendChild(this.dragDiv)),void 0===this.props.model.getMaximizedTabset()&&this.setState({showEdges:this.props.model.isEnableEdgeDock()}),this.dragNode&&this.outlineDiv&&this.dragNode instanceof u.TabNode&&void 0!==this.dragNode.getTabRect()&&(null===(e=this.dragNode.getTabRect())||void 0===e||e.positionElement(this.outlineDiv)),this.firstMove=!0,!0},this.onDragMove=e=>{var t,n,r,o,i,a,l;if(!1===this.firstMove){const e=this.props.model._getAttribute("tabDragSpeed");this.outlineDiv&&(this.outlineDiv.style.transition=`top ${e}s, left ${e}s, width ${e}s, height ${e}s`)}this.firstMove=!1;const s=null===(t=this.selfRef.current)||void 0===t?void 0:t.getBoundingClientRect(),c={x:e.clientX-(null!==(n=null==s?void 0:s.left)&&void 0!==n?n:0),y:e.clientY-(null!==(r=null==s?void 0:s.top)&&void 0!==r?r:0)};this.checkForBorderToShow(c.x,c.y);const u=null!==(i=null===(o=this.dragDiv)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==i?i:new DOMRect(0,0,100,100);let d=c.x-u.width/2;d+u.width>(null!==(a=null==s?void 0:s.width)&&void 0!==a?a:0)&&(d=(null!==(l=null==s?void 0:s.width)&&void 0!==l?l:0)-u.width),d=Math.max(0,d),this.dragDiv&&(this.dragDiv.style.left=d+"px",this.dragDiv.style.top=c.y+5+"px",this.dragRectRendered&&"hidden"===this.dragDiv.style.visibility&&(this.dragDiv.style.visibility="visible"));let f=this.props.model._findDropTargetNode(this.dragNode,c.x,c.y);f&&(this.props.onTabDrag?this.handleCustomTabDrag(f,c,e):(this.dropInfo=f,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(f.className),f.rect.positionElement(this.outlineDiv),this.outlineDiv.style.visibility="visible")))},this.onDragEnd=e=>{const t=this.selfRef.current;if(t&&(this.outlineDiv&&t.removeChild(this.outlineDiv),this.dragDiv&&t.removeChild(this.dragDiv)),this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),a.DragDrop.instance.hideGlass(),this.dropInfo)if(this.customDrop){this.newTabJson=void 0;try{const{callback:e,dragging:t,over:n,x:r,y:o,location:i}=this.customDrop;e(t,n,r,o,i),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0)}catch(e){console.error(e)}}else if(void 0!==this.newTabJson){const t=this.doAction(l.Actions.addNode(this.newTabJson,this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(t,e),this.fnNewNodeDropped=void 0),this.newTabJson=void 0}else void 0!==this.dragNode&&this.doAction(l.Actions.moveNode(this.dragNode.getId(),this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));this.setState({showHiddenBorder:i.DockLocation.CENTER})},this.props.model._setChangeListener(this.onModelChange),this.tabIds=[],this.selfRef=r.createRef(),this.findHeaderBarSizeRef=r.createRef(),this.findTabBarSizeRef=r.createRef(),this.findBorderBarSizeRef=r.createRef(),this.supportsPopout=void 0!==e.supportsPopout?e.supportsPopout:O,this.popoutURL=e.popoutURL?e.popoutURL:"popout.html",this.icons=Object.assign(Object.assign({},x),e.icons),this.state={rect:new f.Rect(0,0,0,0),calculatedHeaderBarSize:25,calculatedTabBarSize:26,calculatedBorderBarSize:30,editingTab:void 0,showHiddenBorder:i.DockLocation.CENTER,showEdges:!1},this.onDragEnter=this.onDragEnter.bind(this)}styleFont(e){return this.props.font&&(this.selfRef.current&&(this.props.font.size&&this.selfRef.current.style.setProperty("--font-size",this.props.font.size),this.props.font.family&&this.selfRef.current.style.setProperty("--font-family",this.props.font.family)),this.props.font.style&&(e.fontStyle=this.props.font.style),this.props.font.weight&&(e.fontWeight=this.props.font.weight)),e}doAction(e){if(void 0!==this.props.onAction){const t=this.props.onAction(e);return void 0!==t?this.props.model.doAction(t):void 0}return this.props.model.doAction(e)}componentDidMount(){this.updateRect(),this.updateLayoutMetrics(),this.currentDocument=this.selfRef.current.ownerDocument,this.currentWindow=this.currentDocument.defaultView,this.resizeObserver=new ResizeObserver((e=>{this.updateRect(e[0].contentRect)}));const e=this.selfRef.current;e&&this.resizeObserver.observe(e)}componentDidUpdate(){this.updateLayoutMetrics(),this.props.model!==this.previousModel&&(void 0!==this.previousModel&&this.previousModel._setChangeListener(void 0),this.props.model._setChangeListener(this.onModelChange),this.previousModel=this.props.model)}getCurrentDocument(){return this.currentDocument}getDomRect(){var e;return null===(e=this.selfRef.current)||void 0===e?void 0:e.getBoundingClientRect()}getRootDiv(){return this.selfRef.current}isSupportsPopout(){return this.supportsPopout}isRealtimeResize(){var e;return null!==(e=this.props.realtimeResize)&&void 0!==e&&e}onTabDrag(...e){var t,n;return null===(n=(t=this.props).onTabDrag)||void 0===n?void 0:n.call(t,...e)}getPopoutURL(){return this.popoutURL}componentWillUnmount(){var e;const t=this.selfRef.current;t&&(null===(e=this.resizeObserver)||void 0===e||e.unobserve(t))}setEditingTab(e){this.setState({editingTab:e})}getEditingTab(){return this.state.editingTab}render(){if(!this.selfRef.current)return r.createElement("div",{ref:this.selfRef,className:this.getClassName(p.CLASSES.FLEXLAYOUT__LAYOUT)},this.metricsElements());this.props.model._setPointerFine(window&&window.matchMedia&&window.matchMedia("(pointer: fine)").matches);const e=[],t=[],n=[],o={},i=[],a={headerBarSize:this.state.calculatedHeaderBarSize,tabBarSize:this.state.calculatedTabBarSize,borderBarSize:this.state.calculatedBorderBarSize};this.props.model._setShowHiddenBorder(this.state.showHiddenBorder),this.centerRect=this.props.model._layout(this.state.rect,a),this.renderBorder(this.props.model.getBorderSet(),e,o,n,i),this.renderChildren("",this.props.model.getRoot(),t,o,n,i);const l=[],s={};for(const e of this.tabIds)o[e]&&(l.push(e),s[e]=e);this.tabIds=l;for(const e of Object.keys(o))s[e]||this.tabIds.push(e);const c=[],u=this.icons.edgeArrow;if(this.state.showEdges){const e=this.centerRect,t=this.edgeRectLength,n=this.edgeRectWidth,o=this.edgeRectLength/2,i=this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT),a=50;c.push(r.createElement("div",{key:"North",style:{top:e.y,left:e.x+e.width/2-o,width:t,height:n,borderBottomLeftRadius:a,borderBottomRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_TOP)},r.createElement("div",{style:{transform:"rotate(180deg)"}},u))),c.push(r.createElement("div",{key:"West",style:{top:e.y+e.height/2-o,left:e.x,width:n,height:t,borderTopRightRadius:a,borderBottomRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_LEFT)},r.createElement("div",{style:{transform:"rotate(90deg)"}},u))),c.push(r.createElement("div",{key:"South",style:{top:e.y+e.height-n,left:e.x+e.width/2-o,width:t,height:n,borderTopLeftRadius:a,borderTopRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_BOTTOM)},r.createElement("div",null,u))),c.push(r.createElement("div",{key:"East",style:{top:e.y+e.height/2-o,left:e.x+e.width-n,width:n,height:t,borderTopLeftRadius:a,borderBottomLeftRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_RIGHT)},r.createElement("div",{style:{transform:"rotate(-90deg)"}},u)))}return r.createElement("div",{ref:this.selfRef,className:this.getClassName(p.CLASSES.FLEXLAYOUT__LAYOUT),onDragEnter:this.props.onExternalDrag?this.onDragEnter:void 0},t,this.tabIds.map((e=>o[e])),e,i,c,n,this.metricsElements(),this.state.portal)}metricsElements(){const e=this.styleFont({visibility:"hidden"});return r.createElement(r.Fragment,null,r.createElement("div",{key:"findHeaderBarSize",ref:this.findHeaderBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__TABSET_HEADER_SIZER)},"FindHeaderBarSize"),r.createElement("div",{key:"findTabBarSize",ref:this.findTabBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__TABSET_SIZER)},"FindTabBarSize"),r.createElement("div",{key:"findBorderBarSize",ref:this.findBorderBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__BORDER_SIZER)},"FindBorderBarSize"))}renderBorder(e,t,n,o,i){for(const a of e.getBorders()){const e=`/border/${a.getLocation().getName()}`;if(a.isShowing()){t.push(r.createElement(g.BorderTabSet,{key:`border_${a.getLocation().getName()}`,path:e,border:a,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons}));const l=a._getDrawChildren();let s=0,d=0;for(const t of l){if(t instanceof c.SplitterNode){let n=e+"/s";i.push(r.createElement(h.Splitter,{key:t.getId(),layout:this,node:t,path:n}))}else if(t instanceof u.TabNode){let i=e+"/t"+d++;if(this.supportsPopout&&t.isFloating()){const e=this._getScreenRect(t),l=t._getAttr("borderWidth"),c=t._getAttr("borderHeight");e&&(-1!==l&&a.getLocation().getOrientation()===w.Orientation.HORZ?e.width=l:-1!==c&&a.getLocation().getOrientation()===w.Orientation.VERT&&(e.height=c)),o.push(r.createElement(b.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},r.createElement(y.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),n[t.getId()]=r.createElement(S.TabFloating,{key:t.getId(),layout:this,path:i,node:t,selected:s===a.getSelected()})}else n[t.getId()]=r.createElement(m.Tab,{key:t.getId(),layout:this,path:i,node:t,selected:s===a.getSelected(),factory:this.props.factory})}s++}}}}renderChildren(e,t,n,o,i,a){const l=t._getDrawChildren();let s=0,f=0,p=0;for(const t of l)if(t instanceof c.SplitterNode){const n=e+"/s"+s++;a.push(r.createElement(h.Splitter,{key:t.getId(),layout:this,path:n,node:t}))}else if(t instanceof d.TabSetNode){const l=e+"/ts"+p++;n.push(r.createElement(v.TabSet,{key:t.getId(),layout:this,path:l,node:t,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons})),this.renderChildren(l,t,n,o,i,a)}else if(t instanceof u.TabNode){const n=e+"/t"+f++,a=t.getParent().getChildren()[t.getParent().getSelected()];if(void 0===a&&console.warn("undefined selectedTab should not happen"),this.supportsPopout&&t.isFloating()){const e=this._getScreenRect(t);i.push(r.createElement(b.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},r.createElement(y.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),o[t.getId()]=r.createElement(S.TabFloating,{key:t.getId(),layout:this,path:n,node:t,selected:t===a})}else o[t.getId()]=r.createElement(m.Tab,{key:t.getId(),layout:this,path:n,node:t,selected:t===a,factory:this.props.factory})}else{const r=e+(t.getOrientation()===w.Orientation.HORZ?"/r":"/c")+p++;this.renderChildren(r,t,n,o,i,a)}}_getScreenRect(e){var t;const n=e.getRect().clone(),r=null===(t=this.selfRef.current)||void 0===t?void 0:t.getBoundingClientRect();if(!r)return null;const o=Math.min(80,this.currentWindow.outerHeight-this.currentWindow.innerHeight),i=Math.min(80,this.currentWindow.outerWidth-this.currentWindow.innerWidth);return n.x=n.x+r.x+this.currentWindow.screenX+i,n.y=n.y+r.y+this.currentWindow.screenY+o,n}addTabToTabSet(e,t){if(void 0!==this.props.model.getNodeById(e)){return this.doAction(l.Actions.addNode(t,e,i.DockLocation.CENTER,-1))}}addTabToActiveTabSet(e){const t=this.props.model.getActiveTabset();if(void 0!==t){return this.doAction(l.Actions.addNode(e,t.getId(),i.DockLocation.CENTER,-1))}}addTabWithDragAndDrop(e,t,n){this.fnNewNodeDropped=n,this.newTabJson=t,this.dragStart(void 0,e,u.TabNode._fromJson(t,this.props.model,!1),!0,void 0,void 0)}moveTabWithDragAndDrop(e,t){this.dragStart(void 0,t,e,!0,void 0,void 0)}addTabWithDragAndDropIndirect(e,t,n){this.fnNewNodeDropped=n,this.newTabJson=t,a.DragDrop.instance.addGlass(this.onCancelAdd),this.dragDivText=e,this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__DRAG_RECT),this.dragDiv.addEventListener("mousedown",this.onDragDivMouseDown),this.dragDiv.addEventListener("touchstart",this.onDragDivMouseDown,{passive:!1}),this.dragRectRender(this.dragDivText,void 0,this.newTabJson,(()=>{if(this.dragDiv){this.dragDiv.style.visibility="visible";const e=this.dragDiv.getBoundingClientRect(),t=new f.Rect(0,0,null==e?void 0:e.width,null==e?void 0:e.height);t.centerInRect(this.state.rect),this.dragDiv.setAttribute("data-layout-path","/drag-rectangle"),this.dragDiv.style.left=t.x+"px",this.dragDiv.style.top=t.y+"px"}}));this.selfRef.current.appendChild(this.dragDiv)}handleCustomTabDrag(e,t,n){var r,o,i;let l=null===(r=this.customDrop)||void 0===r?void 0:r.invalidated;const c=null===(o=this.customDrop)||void 0===o?void 0:o.callback;this.customDrop=void 0;const g=this.newTabJson||(this.dragNode instanceof u.TabNode?this.dragNode:void 0);if(g&&(e.node instanceof d.TabSetNode||e.node instanceof s.BorderNode)&&-1===e.index){const r=e.node.getSelectedNode(),o=null==r?void 0:r.getRect();if(r&&(null==o?void 0:o.contains(t.x,t.y))){let i;try{const a=this.onTabDrag(g,r,t.x-o.x,t.y-o.y,e.location,(()=>this.onDragMove(n)));a&&(i={rect:new f.Rect(a.x+o.x,a.y+o.y,a.width,a.height),callback:a.callback,invalidated:a.invalidated,dragging:g,over:r,x:t.x-o.x,y:t.y-o.y,location:e.location,cursor:a.cursor})}catch(e){console.error(e)}(null==i?void 0:i.callback)===c&&(l=void 0),this.customDrop=i}}this.dropInfo=e,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(this.customDrop?p.CLASSES.FLEXLAYOUT__OUTLINE_RECT:e.className),this.customDrop?this.customDrop.rect.positionElement(this.outlineDiv):e.rect.positionElement(this.outlineDiv)),a.DragDrop.instance.setGlassCursorOverride(null===(i=this.customDrop)||void 0===i?void 0:i.cursor),this.outlineDiv&&(this.outlineDiv.style.visibility="visible");try{null==l||l()}catch(e){console.error(e)}}onDragEnter(e){if(a.DragDrop.instance.isDragging())return;const t=this.props.onExternalDrag(e);t&&(this.fnNewNodeDropped=t.onDrop,this.newTabJson=t.json,this.dragStart(e,t.dragText,u.TabNode._fromJson(t.json,this.props.model,!1),!0,void 0,void 0))}checkForBorderToShow(e,t){const n=this.props.model._getOuterInnerRects().outer,r=n.getCenter(),o=this.edgeRectWidth,a=this.edgeRectLength/2;let l=!1;this.props.model.isEnableEdgeDock()&&this.state.showHiddenBorder===i.DockLocation.CENTER&&(t>r.y-a&&tr.x-a&&e=n.getRight()-o?s=i.DockLocation.RIGHT:t<=n.y+o?s=i.DockLocation.TOP:t>=n.getBottom()-o&&(s=i.DockLocation.BOTTOM)),s!==this.state.showHiddenBorder&&this.setState({showHiddenBorder:s})}maximize(e){this.doAction(l.Actions.maximizeToggle(e.getId()))}customizeTab(e,t){this.props.onRenderTab&&this.props.onRenderTab(e,t)}customizeTabSet(e,t){this.props.onRenderTabSet&&this.props.onRenderTabSet(e,t)}i18nName(e,t){let n;return this.props.i18nMapper&&(n=this.props.i18nMapper(e,t)),void 0===n&&(n=e+(void 0===t?"":t)),n}getOnRenderFloatingTabPlaceholder(){return this.props.onRenderFloatingTabPlaceholder}getShowOverflowMenu(){return this.props.onShowOverflowMenu}getTabSetPlaceHolderCallback(){return this.props.onTabSetPlaceHolder}showContextMenu(e,t){this.props.onContextMenu&&this.props.onContextMenu(e,t)}auxMouseClick(e,t){this.props.onAuxMouseClick&&this.props.onAuxMouseClick(e,t)}}t.Layout=k;const $=e=>(r.useEffect((()=>{var t;null===(t=e.onRendered)||void 0===t||t.call(e)}),[e]),r.createElement(r.Fragment,null,e.children))},1996:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Splitter=void 0;const r=n(7294),o=n(268),i=n(3076),a=n(4268),l=n(3380),s=n(4115);t.Splitter=e=>{const{layout:t,node:n,path:c}=e,u=r.useRef([]),d=r.useRef(void 0),f=n.getParent(),p=e=>{var r;o.DragDrop.instance.setGlassCursorOverride(n.getOrientation()===l.Orientation.HORZ?"ns-resize":"ew-resize"),o.DragDrop.instance.startDrag(e,h,m,b,g,void 0,void 0,t.getCurrentDocument(),null!==(r=t.getRootDiv())&&void 0!==r?r:void 0),u.current=f._getSplitterBounds(n,!0);const i=t.getRootDiv();d.current=t.getCurrentDocument().createElement("div"),d.current.style.position="absolute",d.current.className=t.getClassName(s.CLASSES.FLEXLAYOUT__SPLITTER_DRAG),d.current.style.cursor=n.getOrientation()===l.Orientation.HORZ?"ns-resize":"ew-resize";const a=n.getRect();n.getOrientation()===l.Orientation.VERT&&a.width<2?a.width=2:n.getOrientation()===l.Orientation.HORZ&&a.height<2&&(a.height=2),a.positionElement(d.current),i&&i.appendChild(d.current)},g=e=>{const n=t.getRootDiv();n&&n.removeChild(d.current)},h=()=>!0,m=e=>{const r=t.getDomRect();if(!r)return;const o=e.clientX-r.left,i=e.clientY-r.top;d&&(n.getOrientation()===l.Orientation.HORZ?d.current.style.top=y(i-4)+"px":d.current.style.left=y(o-4)+"px"),t.isRealtimeResize()&&v()},v=()=>{let e=0;if(d&&(e=n.getOrientation()===l.Orientation.HORZ?d.current.offsetTop:d.current.offsetLeft),f instanceof a.BorderNode){const r=f._calculateSplit(n,e);t.doAction(i.Actions.adjustBorderSplit(n.getParent().getId(),r))}else{const r=f._calculateSplit(n,e);void 0!==r&&t.doAction(i.Actions.adjustSplit(r))}},b=()=>{v();const e=t.getRootDiv();e&&e.removeChild(d.current)},y=e=>{const t=u.current;let n=e;return et[1]&&(n=t[1]),n},S=t.getClassName;let w=n.getRect();const C=w.styleWithPosition({cursor:n.getOrientation()===l.Orientation.HORZ?"ns-resize":"ew-resize"});let E=S(s.CLASSES.FLEXLAYOUT__SPLITTER)+" "+S(s.CLASSES.FLEXLAYOUT__SPLITTER_+n.getOrientation().getName());f instanceof a.BorderNode?E+=" "+S(s.CLASSES.FLEXLAYOUT__SPLITTER_BORDER):void 0!==n.getModel().getMaximizedTabset()&&(C.display="none");const x=n.getModel().getSplitterExtra();if(0===x)return r.createElement("div",{style:C,"data-layout-path":c,className:E,onTouchStart:p,onMouseDown:p});{let e=w.clone();e.x=0,e.y=0,n.getOrientation()===l.Orientation.VERT?e.width+=x:e.height+=x;const t=e.styleWithPosition({cursor:n.getOrientation()===l.Orientation.HORZ?"ns-resize":"ew-resize"}),o=S(s.CLASSES.FLEXLAYOUT__SPLITTER_EXTRA);return r.createElement("div",{style:C,"data-layout-path":c,className:E},r.createElement("div",{style:t,className:o,onTouchStart:p,onMouseDown:p}))}}},178:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tab=void 0;const r=n(7294),o=n(7294),i=n(3076),a=n(2733),l=n(4115),s=n(6180),c=n(5551),u=n(4268),d=n(4592);t.Tab=e=>{const{layout:t,selected:n,node:f,factory:p,path:g}=e,[h,m]=r.useState(!e.node.isEnableRenderOnDemand()||e.selected);r.useLayoutEffect((()=>{!h&&n&&m(!0)}));const v=()=>{const e=f.getParent();e.getType()===a.TabSetNode.TYPE&&(e.isActive()||t.doAction(i.Actions.setActiveTabset(e.getId())))},b=t.getClassName,y=f.getModel().isUseVisibility(),S=f.getParent(),w=f._styleWithPosition();let C;n||(0,d.hideElement)(w,y),S instanceof a.TabSetNode&&(void 0===f.getModel().getMaximizedTabset()||S.isMaximized()||(0,d.hideElement)(w,y)),h&&(C=p(f));let E=b(l.CLASSES.FLEXLAYOUT__TAB);return S instanceof u.BorderNode&&(E+=" "+b(l.CLASSES.FLEXLAYOUT__TAB_BORDER),E+=" "+b(l.CLASSES.FLEXLAYOUT__TAB_BORDER_+S.getLocation().getName())),void 0!==f.getContentClassName()&&(E+=" "+f.getContentClassName()),r.createElement("div",{className:E,"data-layout-path":g,onMouseDown:v,onTouchStart:v,style:w},r.createElement(s.ErrorBoundary,{message:e.layout.i18nName(c.I18nLabel.Error_rendering_component)},r.createElement(o.Fragment,null,C)))}},2112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabButton=void 0;const r=n(7294),o=n(5551),i=n(3076),a=n(807),l=n(7562),s=n(4115),c=n(4592);t.TabButton=e=>{const{layout:t,node:n,selected:u,iconFactory:d,titleFactory:f,icons:p,path:g}=e,h=r.useRef(null),m=r.useRef(null),v=e=>{(0,c.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,n,n.isEnableDrag(),y,S)},b=e=>{(0,c.isAuxMouseEvent)(e)&&t.auxMouseClick(n,e)},y=()=>{t.doAction(i.Actions.selectTab(n.getId()))},S=e=>{n.isEnableRename()&&w()},w=()=>{t.setEditingTab(n),t.getCurrentDocument().body.addEventListener("mousedown",C),t.getCurrentDocument().body.addEventListener("touchstart",C)},C=e=>{e.target!==m.current&&(t.getCurrentDocument().body.removeEventListener("mousedown",C),t.getCurrentDocument().body.removeEventListener("touchstart",C),t.setEditingTab(void 0))},E=e=>{(()=>{const e=n.getCloseType();return!!(u||e===l.ICloseType.Always||e===l.ICloseType.Visible&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches)})()?t.doAction(i.Actions.deleteTab(n.getId())):y()},x=e=>{e.stopPropagation()};r.useLayoutEffect((()=>{_(),t.getEditingTab()===n&&m.current.select()}));const _=()=>{var e;const r=t.getDomRect(),o=null===(e=h.current)||void 0===e?void 0:e.getBoundingClientRect();o&&r&&n._setTabRect(new a.Rect(o.left-r.left,o.top-r.top,o.width,o.height))},O=e=>{e.stopPropagation()},k=e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(i.Actions.renameTab(n.getId(),e.target.value)))},$=t.getClassName,T=n.getParent(),R=T.isEnableSingleTabStretch()&&1===T.getChildren().length;let M=R?s.CLASSES.FLEXLAYOUT__TAB_BUTTON_STRETCH:s.CLASSES.FLEXLAYOUT__TAB_BUTTON,N=$(M);N+=" "+$(M+"_"+T.getTabLocation()),R||(N+=u?" "+$(M+"--selected"):" "+$(M+"--unselected")),void 0!==n.getClassName()&&(N+=" "+n.getClassName());const I=(0,c.getRenderStateEx)(t,n,d,f);let P=I.content?r.createElement("div",{className:$(s.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},I.content):null;const A=I.leading?r.createElement("div",{className:$(s.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},I.leading):null;if(t.getEditingTab()===n&&(P=r.createElement("input",{ref:m,className:$(s.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":g+"/textbox",type:"text",autoFocus:!0,defaultValue:n.getName(),onKeyDown:k,onMouseDown:O,onTouchStart:O})),n.isEnableClose()&&!R){const e=t.i18nName(o.I18nLabel.Close_Tab);I.buttons.push(r.createElement("div",{key:"close","data-layout-path":g+"/button/close",title:e,className:$(s.CLASSES.FLEXLAYOUT__TAB_BUTTON_TRAILING),onMouseDown:x,onClick:E,onTouchStart:x},"function"==typeof p.close?p.close(n):p.close))}return r.createElement("div",{ref:h,"data-layout-path":g,className:N,onMouseDown:v,onClick:b,onAuxClick:b,onContextMenu:e=>{t.showContextMenu(n,e)},onTouchStart:v,title:n.getHelpText()},A,P,I.buttons)}},5797:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabButtonStamp=void 0;const r=n(7294),o=n(4115),i=n(4592);t.TabButtonStamp=e=>{const{layout:t,node:n,iconFactory:a,titleFactory:l}=e,s=r.useRef(null),c=t.getClassName;let u=c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_STAMP);const d=(0,i.getRenderStateEx)(t,n,a,l);let f=d.content?r.createElement("div",{className:c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},d.content):n._getNameForOverflowMenu();const p=d.leading?r.createElement("div",{className:c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},d.leading):null;return r.createElement("div",{ref:s,className:u,title:n.getHelpText()},p,f)}},2022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabFloating=void 0;const r=n(7294),o=n(3076),i=n(2733),a=n(4115),l=n(5551),s=n(4592);t.TabFloating=e=>{const{layout:t,selected:n,node:c,path:u}=e,d=()=>{c.getWindow()&&c.getWindow().focus()},f=()=>{t.doAction(o.Actions.unFloatTab(c.getId()))},p=()=>{const e=c.getParent();e.getType()===i.TabSetNode.TYPE&&(e.isActive()||t.doAction(o.Actions.setActiveTabset(e.getId())))},g=e=>{e.preventDefault(),d()},h=e=>{e.preventDefault(),f()},m=t.getClassName,v=c.getParent(),b=c._styleWithPosition();n||(0,s.hideElement)(b,c.getModel().isUseVisibility()),v instanceof i.TabSetNode&&(void 0===c.getModel().getMaximizedTabset()||v.isMaximized()||(0,s.hideElement)(b,c.getModel().isUseVisibility()));const y=t.i18nName(l.I18nLabel.Floating_Window_Message),S=t.i18nName(l.I18nLabel.Floating_Window_Show_Window),w=t.i18nName(l.I18nLabel.Floating_Window_Dock_Window),C=t.getOnRenderFloatingTabPlaceholder();return C?r.createElement("div",{className:m(a.CLASSES.FLEXLAYOUT__TAB_FLOATING),onMouseDown:p,onTouchStart:p,style:b},C(f,d)):r.createElement("div",{className:m(a.CLASSES.FLEXLAYOUT__TAB_FLOATING),"data-layout-path":u,onMouseDown:p,onTouchStart:p,style:b},r.createElement("div",{className:m(a.CLASSES.FLEXLAYOUT__TAB_FLOATING_INNER)},r.createElement("div",null,y),r.createElement("div",null,r.createElement("a",{href:"#",onClick:g},S)),r.createElement("div",null,r.createElement("a",{href:"#",onClick:h},w))))}},1680:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTabOverflow=void 0;const r=n(7294),o=n(807),i=n(2733),a=n(3380);t.useTabOverflow=(e,t,n,l)=>{const s=r.useRef(!0),c=r.useRef(!1),u=r.useRef(new o.Rect(0,0,0,0)),d=r.useRef(null),[f,p]=r.useState(0),g=r.useRef(!1),[h,m]=r.useState([]),v=r.useRef(0);r.useLayoutEffect((()=>{g.current=!1}),[e.getSelectedNode(),e.getRect().width,e.getRect().height]),r.useLayoutEffect((()=>{E()}));const b=d.current;r.useEffect((()=>{if(b)return b.addEventListener("wheel",y,{passive:!1}),()=>{b.removeEventListener("wheel",y)}}),[b]);const y=e=>{e.preventDefault()},S=e=>t===a.Orientation.HORZ?e.x:e.y,w=e=>t===a.Orientation.HORZ?e.getRight():e.getBottom(),C=e=>t===a.Orientation.HORZ?e.width:e.height,E=()=>{!0===s.current&&(c.current=!1);const t=e instanceof i.TabSetNode?e.getRect():e.getTabHeaderRect();let r=e.getChildren()[e.getChildren().length-1];const o=null===l.current?0:C(l.current.getBoundingClientRect());if(!0===s.current||0===v.current&&0!==h.length||t.width!==u.current.width||t.height!==u.current.height){v.current=h.length,u.current=t;const a=!(e instanceof i.TabSetNode)||!0===e.isEnableTabStrip();let l=w(t)-o;if(null!==n.current&&(l-=C(n.current.getBoundingClientRect())),a&&e.getChildren().length>0){if(0===h.length&&0===f&&w(r.getTabRect())+2=l-S(t)?n=S(t)-r:(i>l||rl&&(n=l-i))}const i=Math.max(0,l-(w(r.getTabRect())+2+n)),a=Math.min(0,f+n+i),u=a-f,d=[];for(let n=0;nl)&&d.push({node:r,index:n})}d.length>0&&(c.current=!0),s.current=!1,m(d),p(a)}}else s.current=!0};return{selfRef:d,position:f,userControlledLeft:g,hiddenTabs:h,onMouseWheel:e=>{let t=0;t=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY,1===e.deltaMode&&(t*=40),p(f+t),g.current=!0,e.stopPropagation()},tabsTruncated:c.current}}},9738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabSet=void 0;const r=n(7294),o=n(5551),i=n(3076),a=n(31),l=n(2112),s=n(1680),c=n(3380),u=n(4115),d=n(4592);t.TabSet=e=>{const{node:t,layout:n,iconFactory:f,titleFactory:p,icons:g,path:h}=e,m=r.useRef(null),v=r.useRef(null),b=r.useRef(null),y=r.useRef(null),{selfRef:S,position:w,userControlledLeft:C,hiddenTabs:E,onMouseWheel:x,tabsTruncated:_}=(0,s.useTabOverflow)(t,c.Orientation.HORZ,m,y),O=e=>{const r=n.getShowOverflowMenu();if(void 0!==r)r(t,e,E,k);else{const e=v.current;(0,a.showPopup)(e,E,k,n,f,p)}e.stopPropagation()},k=e=>{n.doAction(i.Actions.selectTab(e.node.getId())),C.current=!1},$=e=>{if(!(0,d.isAuxMouseEvent)(e)){let r=t.getName();if(r=void 0===r?"":": "+r,n.doAction(i.Actions.setActiveTabset(t.getId())),!n.getEditingTab()){const i=n.i18nName(o.I18nLabel.Move_Tabset,r);void 0!==t.getModel().getMaximizedTabset()?n.dragStart(e,i,t,!1,(e=>{}),L):n.dragStart(e,i,t,t.isEnableDrag(),(e=>{}),L)}}},T=e=>{(0,d.isAuxMouseEvent)(e)&&n.auxMouseClick(t,e)},R=e=>{n.showContextMenu(t,e)},M=e=>{e.stopPropagation()},N=e=>{t.canMaximize()&&n.maximize(t),e.stopPropagation()},I=e=>{n.doAction(i.Actions.deleteTabset(t.getId())),e.stopPropagation()},P=e=>{n.doAction(i.Actions.deleteTab(t.getChildren()[0].getId())),e.stopPropagation()},A=e=>{void 0!==D&&n.doAction(i.Actions.floatTab(D.getId())),e.stopPropagation()},L=e=>{t.canMaximize()&&n.maximize(t)},j=n.getClassName;null!==b.current&&0!==b.current.scrollLeft&&(b.current.scrollLeft=0);const D=t.getSelectedNode();let B=t._styleWithPosition();void 0===t.getModel().getMaximizedTabset()||t.isMaximized()||(0,d.hideElement)(B,t.getModel().isUseVisibility());const z=[];if(t.isEnableTabStrip())for(let e=0;e0&&(_||q?H=[...F,...H]:z.push(r.createElement("div",{ref:y,key:"sticky_buttons_container",onMouseDown:M,onTouchStart:M,onDragStart:e=>{e.preventDefault()},className:j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},F))),E.length>0){const e=n.i18nName(o.I18nLabel.Overflow_Menu_Tooltip);let i;i="function"==typeof g.more?g.more(t,E):r.createElement(r.Fragment,null,g.more,r.createElement("div",{className:j(u.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},E.length)),H.splice(Math.min(U.overflowPosition,H.length),0,r.createElement("button",{key:"overflowbutton","data-layout-path":h+"/button/overflow",ref:v,className:j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+j(u.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW),title:e,onClick:O,onMouseDown:M,onTouchStart:M},i))}if(void 0!==D&&n.isSupportsPopout()&&D.isEnableFloat()&&!D.isFloating()){const e=n.i18nName(o.I18nLabel.Float_Tab);H.push(r.createElement("button",{key:"float","data-layout-path":h+"/button/float",title:e,className:j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT),onClick:A,onMouseDown:M,onTouchStart:M},"function"==typeof g.popout?g.popout(D):g.popout))}if(t.canMaximize()){const e=n.i18nName(o.I18nLabel.Restore),i=n.i18nName(o.I18nLabel.Maximize);(Z?W:H).push(r.createElement("button",{key:"max","data-layout-path":h+"/button/max",title:t.isMaximized()?e:i,className:j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_+(t.isMaximized()?"max":"min")),onClick:N,onMouseDown:M,onTouchStart:M},t.isMaximized()?"function"==typeof g.restore?g.restore(t):g.restore:"function"==typeof g.maximize?g.maximize(t):g.maximize))}if(!t.isMaximized()&&X){const e=q?n.i18nName(o.I18nLabel.Close_Tab):n.i18nName(o.I18nLabel.Close_Tabset);(Z?W:H).push(r.createElement("button",{key:"close","data-layout-path":h+"/button/close",title:e,className:j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE),onClick:q?P:I,onMouseDown:M,onTouchStart:M},"function"==typeof g.closeTabset?g.closeTabset(t):g.closeTabset))}const G=r.createElement("div",{key:"toolbar",ref:m,className:j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:M,onTouchStart:M,onDragStart:e=>{e.preventDefault()}},H);let Y,K,Q=j(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER);if(void 0!==t.getClassNameTabStrip()&&(Q+=" "+t.getClassNameTabStrip()),Q+=" "+u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER_+t.getTabLocation(),t.isActive()&&!Z&&(Q+=" "+j(u.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),t.isMaximized()&&!Z&&(Q+=" "+j(u.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),q){const e=t.getChildren()[0];void 0!==e.getTabSetClassName()&&(Q+=" "+e.getTabSetClassName())}if(Z){const e=r.createElement("div",{key:"toolbar",ref:m,className:j(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:M,onTouchStart:M,onDragStart:e=>{e.preventDefault()}},W);let n=j(u.CLASSES.FLEXLAYOUT__TABSET_HEADER);t.isActive()&&(n+=" "+j(u.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),t.isMaximized()&&(n+=" "+j(u.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),void 0!==t.getClassNameHeader()&&(n+=" "+t.getClassNameHeader()),Y=r.createElement("div",{className:n,style:{height:t.getHeaderHeight()+"px"},"data-layout-path":h+"/header",onMouseDown:$,onContextMenu:R,onClick:T,onAuxClick:T,onTouchStart:$},r.createElement("div",{className:j(u.CLASSES.FLEXLAYOUT__TABSET_HEADER_CONTENT)},V),e)}const J={height:t.getTabStripHeight()+"px"};K=r.createElement("div",{className:Q,style:J,"data-layout-path":h+"/tabstrip",onMouseDown:$,onContextMenu:R,onClick:T,onAuxClick:T,onTouchStart:$},r.createElement("div",{ref:b,className:j(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER)+" "+j(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_+t.getTabLocation())},r.createElement("div",{style:{left:w,width:q?"100%":"10000px"},className:j(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER)+" "+j(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_+t.getTabLocation())},z)),G),B=n.styleFont(B);var ee=void 0;if(0===t.getChildren().length){const e=n.getTabSetPlaceHolderCallback();e&&(ee=e(t))}const te=r.createElement("div",{className:j(u.CLASSES.FLEXLAYOUT__TABSET_CONTENT)},ee);var ne;return ne="top"===t.getTabLocation()?r.createElement(r.Fragment,null,Y,K,te):r.createElement(r.Fragment,null,Y,te,K),r.createElement("div",{ref:S,dir:"ltr","data-layout-path":h,style:B,className:j(u.CLASSES.FLEXLAYOUT__TABSET),onWheel:x},ne)}},4592:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAuxMouseEvent=t.hideElement=t.getRenderStateEx=void 0;const r=n(7294);t.getRenderStateEx=function(e,t,n,o,i){let a=n?n(t):void 0,l=t.getName(),s=t.getName();if(void 0===i&&(i=0),void 0!==o){const e=o(t);void 0!==e&&("string"==typeof e?(l=e,s=e):void 0!==e.titleContent?(l=e.titleContent,s=e.name):l=e)}void 0===a&&void 0!==t.getIcon()&&(a=0!==i?r.createElement("img",{style:{width:"1em",height:"1em",transform:"rotate("+i+"deg)"},src:t.getIcon(),alt:"leadingContent"}):r.createElement("img",{style:{width:"1em",height:"1em"},src:t.getIcon(),alt:"leadingContent"}));const c={leading:a,content:l,name:s,buttons:[]};return e.customizeTab(t,c),t._setRenderedName(c.name),c},t.hideElement=function(e,t){t?e.visibility="hidden":e.display="none"},t.isAuxMouseEvent=function(e){let t=!1;return e.nativeEvent instanceof MouseEvent&&(0!==e.nativeEvent.button||e.ctrlKey||e.altKey||e.metaKey||e.shiftKey)&&(t=!0),t}},8679:(e,t,n)=>{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var o=p(n);o&&o!==g&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var l=s(t),h=s(n),m=0;m{"use strict";n.d(t,{s:()=>w,Z:()=>k});var r=n(7462),o=n(9439),i=n(8705),a=n(7294),l=a.createContext({}),s=n(1413),c=n(3967),u=n.n(c),d=n(4999),f=n(7028),p=n(5105),g=n(4217);function h(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function m(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var v=n(5461),b=n(2550);const y=a.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));var S={width:0,height:0,overflow:"hidden",outline:"none"};const w=a.forwardRef((function(e,t){var n=e.prefixCls,o=e.className,i=e.style,c=e.title,d=e.ariaId,f=e.footer,p=e.closable,g=e.closeIcon,h=e.onClose,m=e.children,v=e.bodyStyle,w=e.bodyProps,C=e.modalRender,E=e.onMouseDown,x=e.onMouseUp,_=e.holderRef,O=e.visible,k=e.forceRender,$=e.width,T=e.height,R=e.classNames,M=e.styles,N=a.useContext(l).panel,I=(0,b.x1)(_,N),P=(0,a.useRef)(),A=(0,a.useRef)();a.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=P.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===A.current?P.current.focus():e||t!==P.current||A.current.focus()}}}));var L,j,D,B={};void 0!==$&&(B.width=$),void 0!==T&&(B.height=T),f&&(L=a.createElement("div",{className:u()("".concat(n,"-footer"),null==R?void 0:R.footer),style:(0,s.Z)({},null==M?void 0:M.footer)},f)),c&&(j=a.createElement("div",{className:u()("".concat(n,"-header"),null==R?void 0:R.header),style:(0,s.Z)({},null==M?void 0:M.header)},a.createElement("div",{className:"".concat(n,"-title"),id:d},c))),p&&(D=a.createElement("button",{type:"button",onClick:h,"aria-label":"Close",className:"".concat(n,"-close")},g||a.createElement("span",{className:"".concat(n,"-close-x")})));var z=a.createElement("div",{className:u()("".concat(n,"-content"),null==R?void 0:R.content),style:null==M?void 0:M.content},D,j,a.createElement("div",(0,r.Z)({className:u()("".concat(n,"-body"),null==R?void 0:R.body),style:(0,s.Z)((0,s.Z)({},v),null==M?void 0:M.body)},w),m),L);return a.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":c?d:null,"aria-modal":"true",ref:I,style:(0,s.Z)((0,s.Z)({},i),B),className:u()(n,o),onMouseDown:E,onMouseUp:x},a.createElement("div",{tabIndex:0,ref:P,style:S,"aria-hidden":"true"}),a.createElement(y,{shouldUpdate:O||k},C?C(z):z),a.createElement("div",{tabIndex:0,ref:A,style:S,"aria-hidden":"true"}))}));var C=a.forwardRef((function(e,t){var n=e.prefixCls,i=e.title,l=e.style,c=e.className,d=e.visible,f=e.forceRender,p=e.destroyOnClose,g=e.motionName,h=e.ariaId,b=e.onVisibleChanged,y=e.mousePosition,S=(0,a.useRef)(),C=a.useState(),E=(0,o.Z)(C,2),x=E[0],_=E[1],O={};function k(){var e,t,n,r,o,i=(e=S.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow,n.left+=m(o),n.top+=m(o,!0),n);_(y?"".concat(y.x-i.left,"px ").concat(y.y-i.top,"px"):"")}return x&&(O.transformOrigin=x),a.createElement(v.ZP,{visible:d,onVisibleChanged:b,onAppearPrepare:k,onEnterPrepare:k,forceRender:f,motionName:g,removeOnLeave:p,ref:S},(function(o,d){var f=o.className,p=o.style;return a.createElement(w,(0,r.Z)({},e,{ref:t,title:i,ariaId:h,prefixCls:n,holderRef:d,style:(0,s.Z)((0,s.Z)((0,s.Z)({},p),l),O),className:u()(c,f)}))}))}));C.displayName="Content";const E=C;function x(e){var t=e.prefixCls,n=e.style,o=e.visible,i=e.maskProps,l=e.motionName,c=e.className;return a.createElement(v.ZP,{key:"mask",visible:o,motionName:l,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var l=e.className,d=e.style;return a.createElement("div",(0,r.Z)({ref:o,style:(0,s.Z)((0,s.Z)({},d),n),className:u()("".concat(t,"-mask"),l,c)},i))}))}n(334);function _(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,i=e.zIndex,l=e.visible,c=void 0!==l&&l,m=e.keyboard,v=void 0===m||m,b=e.focusTriggerAfterClose,y=void 0===b||b,S=e.wrapStyle,w=e.wrapClassName,C=e.wrapProps,_=e.onClose,O=e.afterOpenChange,k=e.afterClose,$=e.transitionName,T=e.animation,R=e.closable,M=void 0===R||R,N=e.mask,I=void 0===N||N,P=e.maskTransitionName,A=e.maskAnimation,L=e.maskClosable,j=void 0===L||L,D=e.maskStyle,B=e.maskProps,z=e.rootClassName,Z=e.classNames,F=e.styles;var H=(0,a.useRef)(),W=(0,a.useRef)(),U=(0,a.useRef)(),V=a.useState(c),q=(0,o.Z)(V,2),X=q[0],G=q[1],Y=(0,f.Z)();function K(e){null==_||_(e)}var Q=(0,a.useRef)(!1),J=(0,a.useRef)(),ee=null;return j&&(ee=function(e){Q.current?Q.current=!1:W.current===e.target&&K(e)}),(0,a.useEffect)((function(){c&&(G(!0),(0,d.Z)(W.current,document.activeElement)||(H.current=document.activeElement))}),[c]),(0,a.useEffect)((function(){return function(){clearTimeout(J.current)}}),[]),a.createElement("div",(0,r.Z)({className:u()("".concat(n,"-root"),z)},(0,g.Z)(e,{data:!0})),a.createElement(x,{prefixCls:n,visible:I&&c,motionName:h(n,P,A),style:(0,s.Z)((0,s.Z)({zIndex:i},D),null==F?void 0:F.mask),maskProps:B,className:null==Z?void 0:Z.mask}),a.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:function(e){if(v&&e.keyCode===p.Z.ESC)return e.stopPropagation(),void K(e);c&&e.keyCode===p.Z.TAB&&U.current.changeActive(!e.shiftKey)},className:u()("".concat(n,"-wrap"),w,null==Z?void 0:Z.wrapper),ref:W,onClick:ee,style:(0,s.Z)((0,s.Z)((0,s.Z)({zIndex:i},S),null==F?void 0:F.wrapper),{},{display:X?null:"none"})},C),a.createElement(E,(0,r.Z)({},e,{onMouseDown:function(){clearTimeout(J.current),Q.current=!0},onMouseUp:function(){J.current=setTimeout((function(){Q.current=!1}))},ref:U,closable:M,ariaId:Y,prefixCls:n,visible:c&&X,onClose:K,onVisibleChanged:function(e){if(e)(0,d.Z)(W.current,document.activeElement)||null===(t=U.current)||void 0===t||t.focus();else{if(G(!1),I&&H.current&&y){try{H.current.focus({preventScroll:!0})}catch(e){}H.current=null}X&&(null==k||k())}var t;null==O||O(e)},motionName:h(n,$,T)}))))}var O=function(e){var t=e.visible,n=e.getContainer,s=e.forceRender,c=e.destroyOnClose,u=void 0!==c&&c,d=e.afterClose,f=e.panelRef,p=a.useState(t),g=(0,o.Z)(p,2),h=g[0],m=g[1],v=a.useMemo((function(){return{panel:f}}),[f]);return a.useEffect((function(){t&&m(!0)}),[t]),s||!u||h?a.createElement(l.Provider,{value:v},a.createElement(i.Z,{open:t||s||h,autoDestroy:!1,getContainer:n,autoLock:t||h},a.createElement(_,(0,r.Z)({},e,{destroyOnClose:u,afterClose:function(){null==d||d(),m(!1)}})))):null};O.displayName="Dialog";const k=O},26:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var r=n(7462),o=n(4942),i=n(9439),a=n(4925),l=n(2507),s=n(3967),c=n.n(s),u=n(2550),d=n(7294),f=n(5105),p=n(5164),g=f.Z.ESC,h=f.Z.TAB;const m=(0,d.forwardRef)((function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,d.useMemo)((function(){return"function"==typeof n?n():n}),[n]),a=(0,u.sQ)(t,null==i?void 0:i.ref);return d.createElement(d.Fragment,null,r&&d.createElement("div",{className:"".concat(o,"-arrow")}),d.cloneElement(i,{ref:(0,u.Yr)(i)?a:void 0}))}));var v={adjustX:1,adjustY:1},b=[0,0];const y={topLeft:{points:["bl","tl"],overflow:v,offset:[0,-4],targetOffset:b},top:{points:["bc","tc"],overflow:v,offset:[0,-4],targetOffset:b},topRight:{points:["br","tr"],overflow:v,offset:[0,-4],targetOffset:b},bottomLeft:{points:["tl","bl"],overflow:v,offset:[0,4],targetOffset:b},bottom:{points:["tc","bc"],overflow:v,offset:[0,4],targetOffset:b},bottomRight:{points:["tr","br"],overflow:v,offset:[0,4],targetOffset:b}};var S=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function w(e,t){var n,s=e.arrow,f=void 0!==s&&s,v=e.prefixCls,b=void 0===v?"rc-dropdown":v,w=e.transitionName,C=e.animation,E=e.align,x=e.placement,_=void 0===x?"bottomLeft":x,O=e.placements,k=void 0===O?y:O,$=e.getPopupContainer,T=e.showAction,R=e.hideAction,M=e.overlayClassName,N=e.overlayStyle,I=e.visible,P=e.trigger,A=void 0===P?["hover"]:P,L=e.autoFocus,j=e.overlay,D=e.children,B=e.onVisibleChange,z=(0,a.Z)(e,S),Z=d.useState(),F=(0,i.Z)(Z,2),H=F[0],W=F[1],U="visible"in e?I:H,V=d.useRef(null),q=d.useRef(null),X=d.useRef(null);d.useImperativeHandle(t,(function(){return V.current}));var G=function(e){W(e),null==B||B(e)};!function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=d.useRef(!1),l=function(){var e,o;t&&(null===(e=n.current)||void 0===e||null===(o=e.focus)||void 0===o||o.call(e),null==r||r(!1))},s=function(){var e;return!(null===(e=i.current)||void 0===e||!e.focus||(i.current.focus(),a.current=!0,0))},c=function(e){switch(e.keyCode){case g:l();break;case h:var t=!1;a.current||(t=s()),t?e.preventDefault():l()}};d.useEffect((function(){return t?(window.addEventListener("keydown",c),o&&(0,p.Z)(s,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}}),[t])}({visible:U,triggerRef:X,onVisibleChange:G,autoFocus:L,overlayRef:q});var Y,K,Q,J=function(){return d.createElement(m,{ref:q,overlay:j,prefixCls:b,arrow:f})},ee=d.cloneElement(D,{className:c()(null===(n=D.props)||void 0===n?void 0:n.className,U&&(Y=e.openClassName,void 0!==Y?Y:"".concat(b,"-open"))),ref:(0,u.Yr)(D)?(0,u.sQ)(X,D.ref):void 0}),te=R;return te||-1===A.indexOf("contextMenu")||(te=["click"]),d.createElement(l.Z,(0,r.Z)({builtinPlacements:k},z,{prefixCls:b,ref:V,popupClassName:c()(M,(0,o.Z)({},"".concat(b,"-show-arrow"),f)),popupStyle:N,action:A,showAction:T,hideAction:te,popupPlacement:_,popupAlign:E,popupTransitionName:w,popupAnimation:C,popupVisible:U,stretch:(K=e.minOverlayWidthMatchTrigger,Q=e.alignPoint,("minOverlayWidthMatchTrigger"in e?K:!Q)?"minWidth":""),popup:"function"==typeof j?J:J(),onPopupVisibleChange:G,onPopupClick:function(t){var n=e.onOverlayClick;W(!1),n&&n(t)},getPopupContainer:$}),ee)}const C=d.forwardRef(w)},5337:(e,t,n)=>{"use strict";n.d(t,{iz:()=>We,ck:()=>ye,BW:()=>He,sN:()=>ye,Wd:()=>De,ZP:()=>Ke,Xl:()=>$});var r=n(7462),o=n(4942),i=n(1413),a=n(3433),l=n(9439),s=n(4925),c=n(3967),u=n.n(c),d=n(6278),f=n(1770),p=n(1881),g=n(334),h=n(7294),m=n(3935),v=h.createContext(null);function b(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function y(e){return b(h.useContext(v),e)}var S=n(6982),w=["children","locked"],C=h.createContext(null);function E(e){var t=e.children,n=e.locked,r=(0,s.Z)(e,w),o=h.useContext(C),a=(0,S.Z)((function(){return e=o,t=r,n=(0,i.Z)({},e),Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n;var e,t,n}),[o,r],(function(e,t){return!(n||e[0]===t[0]&&(0,p.Z)(e[1],t[1],!0))}));return h.createElement(C.Provider,{value:a},t)}var x=[],_=h.createContext(null);function O(){return h.useContext(_)}var k=h.createContext(x);function $(e){var t=h.useContext(k);return h.useMemo((function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t}),[t,e])}var T=h.createContext(null);const R=h.createContext({});var M=n(5110);function N(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,M.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function I(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,a.Z)(e.querySelectorAll("*")).filter((function(e){return N(e,t)}));return N(e,t)&&n.unshift(e),n}var P=n(5105),A=n(5164),L=P.Z.LEFT,j=P.Z.RIGHT,D=P.Z.UP,B=P.Z.DOWN,z=P.Z.ENTER,Z=P.Z.ESC,F=P.Z.HOME,H=P.Z.END,W=[D,B,L,j];function U(e,t){return I(e,!0).filter((function(e){return t.has(e)}))}function V(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=U(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var q=function(e,t){var n=new Set,r=new Map,o=new Map;return e.forEach((function(e){var i=document.querySelector("[data-menu-id='".concat(b(t,e),"']"));i&&(n.add(i),o.set(i,e),r.set(e,i))})),{elements:n,key2element:r,element2key:o}};function X(e,t,n,r,i,a,l,s,c,u){var d=h.useRef(),f=h.useRef();f.current=t;var p=function(){A.Z.cancel(d.current)};return h.useEffect((function(){return function(){p()}}),[]),function(g){var h=g.which;if([].concat(W,[z,Z,F,H]).includes(h)){var m=a(),v=q(m,r),b=v,y=b.elements,S=b.key2element,w=b.element2key,C=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(S.get(t),y),E=w.get(C),x=function(e,t,n,r){var i,a,l,s,c="prev",u="next",d="children",f="parent";if("inline"===e&&r===z)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,D,c),(0,o.Z)(i,B,u),i),g=(a={},(0,o.Z)(a,L,n?u:c),(0,o.Z)(a,j,n?c:u),(0,o.Z)(a,B,d),(0,o.Z)(a,z,d),a),h=(l={},(0,o.Z)(l,D,c),(0,o.Z)(l,B,u),(0,o.Z)(l,z,d),(0,o.Z)(l,Z,f),(0,o.Z)(l,L,n?d:f),(0,o.Z)(l,j,n?f:d),l);switch(null===(s={inline:p,horizontal:g,vertical:h,inlineSub:p,horizontalSub:h,verticalSub:h}["".concat(e).concat(t?"":"Sub")])||void 0===s?void 0:s[r]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}(e,1===l(E,!0).length,n,h);if(!x&&h!==F&&h!==H)return;(W.includes(h)||[F,H].includes(h))&&g.preventDefault();var _=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=w.get(e);s(r),p(),d.current=(0,A.Z)((function(){f.current===r&&t.focus()}))}};if([F,H].includes(h)||x.sibling||!C){var O,k,$=U(O=C&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(C):i.current,y);k=h===F?$[0]:h===H?$[$.length-1]:V(O,y,C,x.offset),_(k)}else if(x.inlineTrigger)c(E);else if(x.offset>0)c(E,!0),p(),d.current=(0,A.Z)((function(){v=q(m,r);var e=C.getAttribute("aria-controls"),t=V(document.getElementById(e),v.elements);_(t)}),5);else if(x.offset<0){var T=l(E,!0),R=T[T.length-2],M=S.get(R);c(R,!1),_(M)}}null==u||u(g)}}var G="__RC_UTIL_PATH_SPLIT__",Y=function(e){return e.join(G)},K="rc-menu-more";function Q(){var e=h.useState({}),t=(0,l.Z)(e,2)[1],n=(0,h.useRef)(new Map),r=(0,h.useRef)(new Map),o=h.useState([]),i=(0,l.Z)(o,2),s=i[0],c=i[1],u=(0,h.useRef)(0),d=(0,h.useRef)(!1),f=(0,h.useCallback)((function(e,o){var i=Y(o);r.current.set(i,e),n.current.set(e,i),u.current+=1;var a,l=u.current;a=function(){l===u.current&&(d.current||t({}))},Promise.resolve().then(a)}),[]),p=(0,h.useCallback)((function(e,t){var o=Y(t);r.current.delete(o),n.current.delete(e)}),[]),g=(0,h.useCallback)((function(e){c(e)}),[]),m=(0,h.useCallback)((function(e,t){var r=n.current.get(e)||"",o=r.split(G);return t&&s.includes(o[0])&&o.unshift(K),o}),[s]),v=(0,h.useCallback)((function(e,t){return e.some((function(e){return m(e,!0).includes(t)}))}),[m]),b=(0,h.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(G),o=new Set;return(0,a.Z)(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return h.useEffect((function(){return function(){d.current=!0}}),[]),{registerPath:f,unregisterPath:p,refreshOverflowKeys:g,isSubPathKey:v,getKeyPath:m,getKeys:function(){var e=(0,a.Z)(n.current.keys());return s.length&&e.push(K),e},getSubPathKeys:b}}function J(e){var t=h.useRef(e);t.current=e;var n=h.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o1&&(x.motionAppear=!1);var _=x.onVisibleChanged;return x.onVisibleChanged=function(e){return m.current||e||S(!0),null==_?void 0:_(e)},y?null:h.createElement(E,{mode:s,locked:!m.current},h.createElement(Ie.ZP,(0,r.Z)({visible:w},x,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),(function(e){var n=e.className,r=e.style;return h.createElement(Ee,{id:t,className:n,style:r},a)})))}var Ae=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Le=["active"],je=function(e){var t,n=e.style,a=e.className,c=e.title,f=e.eventKey,p=(e.warnKey,e.disabled),g=e.internalPopupClose,m=e.children,v=e.itemIcon,b=e.expandIcon,S=e.popupClassName,w=e.popupOffset,x=e.popupStyle,_=e.onClick,O=e.onMouseEnter,k=e.onMouseLeave,M=e.onTitleClick,N=e.onTitleMouseEnter,I=e.onTitleMouseLeave,P=(0,s.Z)(e,Ae),A=y(f),L=h.useContext(C),j=L.prefixCls,D=L.mode,B=L.openKeys,z=L.disabled,Z=L.overflowDisabled,F=L.activeKey,H=L.selectedKeys,W=L.itemIcon,U=L.expandIcon,V=L.onItemClick,q=L.onOpenChange,X=L.onActive,G=h.useContext(R)._internalRenderSubMenuItem,Y=h.useContext(T).isSubPathKey,K=$(),Q="".concat(j,"-submenu"),ee=z||p,te=h.useRef(),ne=h.useRef();var re=null!=v?v:W,oe=null!=b?b:U,ie=B.includes(f),ae=!Z&&ie,le=Y(H,f),de=se(f,ee,N,I),pe=de.active,ge=(0,s.Z)(de,Le),he=h.useState(!1),me=(0,l.Z)(he,2),ve=me[0],be=me[1],ye=function(e){ee||be(e)},Se=h.useMemo((function(){return pe||"inline"!==D&&(ve||Y([F],f))}),[D,pe,F,ve,f,Y]),we=ce(K.length),Ce=J((function(e){null==_||_(fe(e)),V(e)})),xe=A&&"".concat(A,"-popup"),_e=h.createElement("div",(0,r.Z)({role:"menuitem",style:we,className:"".concat(Q,"-title"),tabIndex:ee?null:-1,ref:te,title:"string"==typeof c?c:null,"data-menu-id":Z&&A?null:A,"aria-expanded":ae,"aria-haspopup":!0,"aria-controls":xe,"aria-disabled":ee,onClick:function(e){ee||(null==M||M({key:f,domEvent:e}),"inline"===D&&q(f,!ie))},onFocus:function(){X(f)}},ge),c,h.createElement(ue,{icon:"horizontal"!==D?oe:void 0,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:ae,isSubMenu:!0})},h.createElement("i",{className:"".concat(Q,"-arrow")}))),Oe=h.useRef(D);if("inline"!==D&&K.length>1?Oe.current="vertical":Oe.current=D,!Z){var ke=Oe.current;_e=h.createElement(Ne,{mode:ke,prefixCls:Q,visible:!g&&ae&&"inline"!==D,popupClassName:S,popupOffset:w,popupStyle:x,popup:h.createElement(E,{mode:"horizontal"===ke?"vertical":ke},h.createElement(Ee,{id:xe,ref:ne},m)),disabled:ee,onVisibleChange:function(e){"inline"!==D&&q(f,e)}},_e)}var $e=h.createElement(d.Z.Item,(0,r.Z)({role:"none"},P,{component:"li",style:n,className:u()(Q,"".concat(Q,"-").concat(D),a,(t={},(0,o.Z)(t,"".concat(Q,"-open"),ae),(0,o.Z)(t,"".concat(Q,"-active"),Se),(0,o.Z)(t,"".concat(Q,"-selected"),le),(0,o.Z)(t,"".concat(Q,"-disabled"),ee),t)),onMouseEnter:function(e){ye(!0),null==O||O({key:f,domEvent:e})},onMouseLeave:function(e){ye(!1),null==k||k({key:f,domEvent:e})}}),_e,!Z&&h.createElement(Pe,{id:xe,open:ae,keyPath:K},m));return G&&($e=G($e,e,{selected:le,active:Se,open:ae,disabled:ee})),h.createElement(E,{onItemClick:Ce,mode:"horizontal"===D?"vertical":D,itemIcon:re,expandIcon:oe},$e)};function De(e){var t,n=e.eventKey,r=e.children,o=$(n),i=_e(r,o),a=O();return h.useEffect((function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}}),[o]),t=a?i:h.createElement(je,e,i),h.createElement(k.Provider,{value:o},t)}var Be=n(1002),ze=["className","title","eventKey","children"],Ze=["children"],Fe=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,s.Z)(e,ze),a=h.useContext(C).prefixCls,l="".concat(a,"-item-group");return h.createElement("li",(0,r.Z)({role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:u()(l,t)}),h.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:"string"==typeof n?n:void 0},n),h.createElement("ul",{role:"group",className:"".concat(l,"-list")},o))};function He(e){var t=e.children,n=(0,s.Z)(e,Ze),r=_e(t,$(n.eventKey));return O()?r:h.createElement(Fe,(0,ae.Z)(n,["warnKey"]),r)}function We(e){var t=e.className,n=e.style,r=h.useContext(C).prefixCls;return O()?null:h.createElement("li",{role:"separator",className:u()("".concat(r,"-item-divider"),t),style:n})}var Ue=["label","children","key","type"];function Ve(e){return(e||[]).map((function(e,t){if(e&&"object"===(0,Be.Z)(e)){var n=e,o=n.label,i=n.children,a=n.key,l=n.type,c=(0,s.Z)(n,Ue),u=null!=a?a:"tmp-".concat(t);return i||"group"===l?"group"===l?h.createElement(He,(0,r.Z)({key:u},c,{title:o}),Ve(i)):h.createElement(De,(0,r.Z)({key:u},c,{title:o}),Ve(i)):"divider"===l?h.createElement(We,(0,r.Z)({key:u},c)):h.createElement(ye,(0,r.Z)({key:u},c),o)}return null})).filter((function(e){return e}))}function qe(e,t,n){var r=e;return t&&(r=Ve(t)),_e(r,n)}var Xe=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Ge=[];var Ye=h.forwardRef((function(e,t){var n,c,g=e,b=g.prefixCls,y=void 0===b?"rc-menu":b,S=g.rootClassName,w=g.style,C=g.className,x=g.tabIndex,O=void 0===x?0:x,k=g.items,$=g.children,M=g.direction,N=g.id,I=g.mode,P=void 0===I?"vertical":I,A=g.inlineCollapsed,L=g.disabled,j=g.disabledOverflow,D=g.subMenuOpenDelay,B=void 0===D?.1:D,z=g.subMenuCloseDelay,Z=void 0===z?.1:z,F=g.forceSubMenuRender,H=g.defaultOpenKeys,W=g.openKeys,V=g.activeKey,G=g.defaultActiveFirst,Y=g.selectable,ne=void 0===Y||Y,re=g.multiple,oe=void 0!==re&&re,ie=g.defaultSelectedKeys,ae=g.selectedKeys,le=g.onSelect,se=g.onDeselect,ce=g.inlineIndent,ue=void 0===ce?24:ce,de=g.motion,pe=g.defaultMotions,ge=g.triggerSubMenuAction,he=void 0===ge?"hover":ge,me=g.builtinPlacements,ve=g.itemIcon,be=g.expandIcon,Se=g.overflowedIndicator,we=void 0===Se?"...":Se,Ce=g.overflowedIndicatorPopupClassName,Ee=g.getPopupContainer,xe=g.onClick,_e=g.onOpenChange,Oe=g.onKeyDown,ke=(g.openAnimation,g.openTransitionName,g._internalRenderMenuItem),$e=g._internalRenderSubMenuItem,Te=(0,s.Z)(g,Xe),Re=h.useMemo((function(){return qe($,k,Ge)}),[$,k]),Me=h.useState(!1),Ne=(0,l.Z)(Me,2),Ie=Ne[0],Pe=Ne[1],Ae=h.useRef(),Le=function(e){var t=(0,f.Z)(e,{value:e}),n=(0,l.Z)(t,2),r=n[0],o=n[1];return h.useEffect((function(){te+=1;var e="".concat(ee,"-").concat(te);o("rc-menu-uuid-".concat(e))}),[]),r}(N),je="rtl"===M;var Be=(0,f.Z)(H,{value:W,postState:function(e){return e||Ge}}),ze=(0,l.Z)(Be,2),Ze=ze[0],Fe=ze[1],He=function(e){function t(){Fe(e),null==_e||_e(e)}arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(0,m.flushSync)(t):t()},We=h.useState(Ze),Ue=(0,l.Z)(We,2),Ve=Ue[0],Ye=Ue[1],Ke=h.useRef(!1),Qe=h.useMemo((function(){return"inline"!==P&&"vertical"!==P||!A?[P,!1]:["vertical",A]}),[P,A]),Je=(0,l.Z)(Qe,2),et=Je[0],tt=Je[1],nt="inline"===et,rt=h.useState(et),ot=(0,l.Z)(rt,2),it=ot[0],at=ot[1],lt=h.useState(tt),st=(0,l.Z)(lt,2),ct=st[0],ut=st[1];h.useEffect((function(){at(et),ut(tt),Ke.current&&(nt?Fe(Ve):He(Ge))}),[et,tt]);var dt=h.useState(0),ft=(0,l.Z)(dt,2),pt=ft[0],gt=ft[1],ht=pt>=Re.length-1||"horizontal"!==it||j;h.useEffect((function(){nt&&Ye(Ze)}),[Ze]),h.useEffect((function(){return Ke.current=!0,function(){Ke.current=!1}}),[]);var mt=Q(),vt=mt.registerPath,bt=mt.unregisterPath,yt=mt.refreshOverflowKeys,St=mt.isSubPathKey,wt=mt.getKeyPath,Ct=mt.getKeys,Et=mt.getSubPathKeys,xt=h.useMemo((function(){return{registerPath:vt,unregisterPath:bt}}),[vt,bt]),_t=h.useMemo((function(){return{isSubPathKey:St}}),[St]);h.useEffect((function(){yt(ht?Ge:Re.slice(pt+1).map((function(e){return e.key})))}),[pt,ht]);var Ot=(0,f.Z)(V||G&&(null===(n=Re[0])||void 0===n?void 0:n.key),{value:V}),kt=(0,l.Z)(Ot,2),$t=kt[0],Tt=kt[1],Rt=J((function(e){Tt(e)})),Mt=J((function(){Tt(void 0)}));(0,h.useImperativeHandle)(t,(function(){return{list:Ae.current,focus:function(e){var t,n,r=Ct(),o=q(r,Le),i=o.elements,a=o.key2element,l=o.element2key,s=U(Ae.current,i),c=null!=$t?$t:s[0]?l.get(s[0]):null===(t=Re.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key,u=a.get(c);c&&u&&(null==u||null===(n=u.focus)||void 0===n||n.call(u,e))}}}));var Nt=(0,f.Z)(ie||[],{value:ae,postState:function(e){return Array.isArray(e)?e:null==e?Ge:[e]}}),It=(0,l.Z)(Nt,2),Pt=It[0],At=It[1],Lt=J((function(e){null==xe||xe(fe(e)),function(e){if(ne){var t,n=e.key,r=Pt.includes(n);t=oe?r?Pt.filter((function(e){return e!==n})):[].concat((0,a.Z)(Pt),[n]):[n],At(t);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null==se||se(o):null==le||le(o)}!oe&&Ze.length&&"inline"!==it&&He(Ge)}(e)})),jt=J((function(e,t){var n=Ze.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==it){var r=Et(e);n=n.filter((function(e){return!r.has(e)}))}(0,p.Z)(Ze,n,!0)||He(n,!0)})),Dt=X(it,$t,je,Le,Ae,Ct,wt,Tt,(function(e,t){var n=null!=t?t:!Ze.includes(e);jt(e,n)}),Oe);h.useEffect((function(){Pe(!0)}),[]);var Bt=h.useMemo((function(){return{_internalRenderMenuItem:ke,_internalRenderSubMenuItem:$e}}),[ke,$e]),zt="horizontal"!==it||j?Re:Re.map((function(e,t){return h.createElement(E,{key:e.key,overflowDisabled:t>pt},e)})),Zt=h.createElement(d.Z,(0,r.Z)({id:N,ref:Ae,prefixCls:"".concat(y,"-overflow"),component:"ul",itemComponent:ye,className:u()(y,"".concat(y,"-root"),"".concat(y,"-").concat(it),C,(c={},(0,o.Z)(c,"".concat(y,"-inline-collapsed"),ct),(0,o.Z)(c,"".concat(y,"-rtl"),je),c),S),dir:M,style:w,role:"menu",tabIndex:O,data:zt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?Re.slice(-t):null;return h.createElement(De,{eventKey:K,title:we,disabled:ht,internalPopupClose:0===t,popupClassName:Ce},n)},maxCount:"horizontal"!==it||j?d.Z.INVALIDATE:d.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){gt(e)},onKeyDown:Dt},Te));return h.createElement(R.Provider,{value:Bt},h.createElement(v.Provider,{value:Le},h.createElement(E,{prefixCls:y,rootClassName:S,mode:it,openKeys:Ze,rtl:je,disabled:L,motion:Ie?de:null,defaultMotions:Ie?pe:null,activeKey:$t,onActive:Rt,onInactive:Mt,selectedKeys:Pt,inlineIndent:ue,subMenuOpenDelay:B,subMenuCloseDelay:Z,forceSubMenuRender:F,builtinPlacements:me,triggerSubMenuAction:he,getPopupContainer:Ee,itemIcon:ve,expandIcon:be,onItemClick:Lt,onOpenChange:jt},h.createElement(T.Provider,{value:_t},Zt),h.createElement("div",{style:{display:"none"},"aria-hidden":!0},h.createElement(_.Provider,{value:xt},Re)))))}));Ye.Item=ye,Ye.SubMenu=De,Ye.ItemGroup=He,Ye.Divider=We;const Ke=Ye},5461:(e,t,n)=>{"use strict";n.d(t,{V4:()=>he,zt:()=>h,ZP:()=>me});var r=n(4942),o=n(1413),i=n(9439),a=n(1002),l=n(3967),s=n.n(l),c=n(4203),u=n(2550),d=n(7294),f=n(4925),p=["children"],g=d.createContext({});function h(e){var t=e.children,n=(0,f.Z)(e,p);return d.createElement(g.Provider,{value:n},t)}var m=n(5671),v=n(3144),b=n(9340),y=n(9388);const S=function(e){(0,b.Z)(n,e);var t=(0,y.Z)(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component);var w=n(470),C="none",E="appear",x="enter",_="leave",O="none",k="prepare",$="start",T="active",R="end",M="prepared",N=n(8924);function I(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 P,A,L,j=(P=(0,N.Z)(),A="undefined"!=typeof window?window:{},L={animationend:I("Animation","AnimationEnd"),transitionend:I("Transition","TransitionEnd")},P&&("AnimationEvent"in A||delete L.animationend.animation,"TransitionEvent"in A||delete L.transitionend.transition),L),D={};if((0,N.Z)()){var B=document.createElement("div");D=B.style}var z={};function Z(e){if(z[e])return z[e];var t=j[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,Y.Z)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),c=(0,i.Z)(s,2),u=c[0],f=c[1];var p=t?Q:K;return G((function(){if(a!==O&&a!==R){var e=p.indexOf(a),t=p[e+1],r=n(a);r===J?l(t,!0):t&&u((function(e){function n(){e.isCanceled()||l(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,a]),d.useEffect((function(){return function(){f()}}),[]),[function(){l(k,!0)},a]};const re=function(e){var t=e;"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var n=d.forwardRef((function(e,n){var a=e.visible,l=void 0===a||a,f=e.removeOnLeave,p=void 0===f||f,h=e.forceRender,m=e.children,v=e.motionName,b=e.leavedClassName,y=e.eventProps,O=function(e,n){return!(!e.motionName||!t||!1===n)}(e,d.useContext(g).motion),R=(0,d.useRef)(),N=(0,d.useRef)();var I=function(e,t,n,a){var l=a.motionEnter,s=void 0===l||l,c=a.motionAppear,u=void 0===c||c,f=a.motionLeave,p=void 0===f||f,g=a.motionDeadline,h=a.motionLeaveImmediately,m=a.onAppearPrepare,v=a.onEnterPrepare,b=a.onLeavePrepare,y=a.onAppearStart,S=a.onEnterStart,O=a.onLeaveStart,R=a.onAppearActive,N=a.onEnterActive,I=a.onLeaveActive,P=a.onAppearEnd,A=a.onEnterEnd,L=a.onLeaveEnd,j=a.onVisibleChanged,D=(0,w.Z)(),B=(0,i.Z)(D,2),z=B[0],Z=B[1],F=(0,w.Z)(C),H=(0,i.Z)(F,2),W=H[0],U=H[1],V=(0,w.Z)(null),q=(0,i.Z)(V,2),Y=q[0],K=q[1],Q=(0,d.useRef)(!1),re=(0,d.useRef)(null);function oe(){return n()}var ie=(0,d.useRef)(!1);function ae(){U(C,!0),K(null,!0)}function le(e){var t=oe();if(!e||e.deadline||e.target===t){var n,r=ie.current;W===E&&r?n=null==P?void 0:P(t,e):W===x&&r?n=null==A?void 0:A(t,e):W===_&&r&&(n=null==L?void 0:L(t,e)),W!==C&&r&&!1!==n&&ae()}}var se=X(le),ce=(0,i.Z)(se,1)[0],ue=function(e){var t,n,o;switch(e){case E:return t={},(0,r.Z)(t,k,m),(0,r.Z)(t,$,y),(0,r.Z)(t,T,R),t;case x:return n={},(0,r.Z)(n,k,v),(0,r.Z)(n,$,S),(0,r.Z)(n,T,N),n;case _:return o={},(0,r.Z)(o,k,b),(0,r.Z)(o,$,O),(0,r.Z)(o,T,I),o;default:return{}}},de=d.useMemo((function(){return ue(W)}),[W]),fe=ne(W,!e,(function(e){if(e===k){var t=de[k];return t?t(oe()):J}var n;return he in de&&K((null===(n=de[he])||void 0===n?void 0:n.call(de,oe(),null))||null),he===T&&(ce(oe()),g>0&&(clearTimeout(re.current),re.current=setTimeout((function(){le({deadline:!0})}),g))),he===M&&ae(),ee})),pe=(0,i.Z)(fe,2),ge=pe[0],he=pe[1],me=te(he);ie.current=me,G((function(){Z(t);var n,r=Q.current;Q.current=!0,!r&&t&&u&&(n=E),r&&t&&s&&(n=x),(r&&!t&&p||!r&&h&&!t&&p)&&(n=_);var o=ue(n);n&&(e||o[k])?(U(n),ge()):U(C)}),[t]),(0,d.useEffect)((function(){(W===E&&!u||W===x&&!s||W===_&&!p)&&U(C)}),[u,s,p]),(0,d.useEffect)((function(){return function(){Q.current=!1,clearTimeout(re.current)}}),[]);var ve=d.useRef(!1);(0,d.useEffect)((function(){z&&(ve.current=!0),void 0!==z&&W===C&&((ve.current||z)&&(null==j||j(z)),ve.current=!0)}),[z,W]);var be=Y;return de[k]&&he===$&&(be=(0,o.Z)({transition:"none"},be)),[W,he,be,null!=z?z:t]}(O,l,(function(){try{return R.current instanceof HTMLElement?R.current:(0,c.Z)(N.current)}catch(e){return null}}),e),P=(0,i.Z)(I,4),A=P[0],L=P[1],j=P[2],D=P[3],B=d.useRef(D);D&&(B.current=!0);var z,Z=d.useCallback((function(e){R.current=e,(0,u.mH)(n,e)}),[n]),F=(0,o.Z)((0,o.Z)({},y),{},{visible:l});if(m)if(A===C)z=D?m((0,o.Z)({},F),Z):!p&&B.current&&b?m((0,o.Z)((0,o.Z)({},F),{},{className:b}),Z):h||!p&&!b?m((0,o.Z)((0,o.Z)({},F),{},{style:{display:"none"}}),Z):null;else{var H,W;L===k?W="prepare":te(L)?W="active":L===$&&(W="start");var U=q(v,"".concat(A,"-").concat(W));z=m((0,o.Z)((0,o.Z)({},F),{},{className:s()(q(v,A),(H={},(0,r.Z)(H,U,U&&W),(0,r.Z)(H,v,"string"==typeof v),H)),style:j}),Z)}else z=null;d.isValidElement(z)&&(0,u.Yr)(z)&&(z.ref||(z=d.cloneElement(z,{ref:Z})));return d.createElement(S,{ref:N},z)}));return n.displayName="CSSMotion",n}(W);var oe=n(7462),ie=n(7326),ae="add",le="keep",se="remove",ce="removed";function ue(e){var t;return t=e&&"object"===(0,a.Z)(e)&&"key"in e?e:{key:e},(0,o.Z)((0,o.Z)({},t),{},{key:String(t.key)})}function de(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(ue)}var fe=["component","children","onVisibleChanged","onAllRemoved"],pe=["status"],ge=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const he=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re,n=function(e){(0,b.Z)(i,e);var n=(0,y.Z)(i);function i(){var e;(0,m.Z)(this,i);for(var t=arguments.length,a=new Array(t),l=0;l0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=de(e),l=de(t);a.forEach((function(e){for(var t=!1,a=r;a1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==se}))).forEach((function(t){t.key===e&&(t.status=le)}))})),n}(r,i);return{keyEntities:a.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==ce||e.status!==se}))}}}]),i}(d.Component);return(0,r.Z)(n,"defaultProps",{component:"div"}),n}(W),me=re},6871:(e,t,n)=>{"use strict";n.d(t,{qX:()=>h,JB:()=>v,lm:()=>O});var r=n(3433),o=n(9439),i=n(4925),a=n(7294),l=n(1413),s=n(3935),c=n(7462),u=n(4942),d=n(3967),f=n.n(d),p=n(5461),g=n(5105);const h=a.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,i=e.className,l=e.duration,s=void 0===l?4.5:l,d=e.eventKey,p=e.content,h=e.closable,m=e.closeIcon,v=void 0===m?"x":m,b=e.props,y=e.onClick,S=e.onNoticeClose,w=e.times,C=e.hovering,E=a.useState(!1),x=(0,o.Z)(E,2),_=x[0],O=x[1],k=C||_,$=function(){S(d)};a.useEffect((function(){if(!k&&s>0){var e=setTimeout((function(){$()}),1e3*s);return function(){clearTimeout(e)}}}),[s,k,w]);var T="".concat(n,"-notice");return a.createElement("div",(0,c.Z)({},b,{ref:t,className:f()(T,i,(0,u.Z)({},"".concat(T,"-closable"),h)),style:r,onMouseEnter:function(e){var t;O(!0),null==b||null===(t=b.onMouseEnter)||void 0===t||t.call(b,e)},onMouseLeave:function(e){var t;O(!1),null==b||null===(t=b.onMouseLeave)||void 0===t||t.call(b,e)},onClick:y}),a.createElement("div",{className:"".concat(T,"-content")},p),h&&a.createElement("a",{tabIndex:0,className:"".concat(T,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==g.Z.ENTER||$()},onClick:function(e){e.preventDefault(),e.stopPropagation(),$()}},v))}));var m=a.createContext({});const v=function(e){var t=e.children,n=e.classNames;return a.createElement(m.Provider,{value:{classNames:n}},t)};var b=n(1002);const y=function(e){var t,n,r,o={offset:8,threshold:3,gap:16};e&&"object"===(0,b.Z)(e)&&(o.offset=null!==(t=e.offset)&&void 0!==t?t:8,o.threshold=null!==(n=e.threshold)&&void 0!==n?n:3,o.gap=null!==(r=e.gap)&&void 0!==r?r:16);return[!!e,o]};var S=["className","style","classNames","styles"];const w=function(e){var t,n=e.configList,s=e.placement,d=e.prefixCls,g=e.className,v=e.style,b=e.motion,w=e.onAllNoticeRemoved,C=e.onNoticeClose,E=e.stack,x=(0,a.useContext)(m).classNames,_=(0,a.useRef)({}),O=(0,a.useState)(null),k=(0,o.Z)(O,2),$=k[0],T=k[1],R=(0,a.useState)([]),M=(0,o.Z)(R,2),N=M[0],I=M[1],P=n.map((function(e){return{config:e,key:String(e.key)}})),A=y(E),L=(0,o.Z)(A,2),j=L[0],D=L[1],B=D.offset,z=D.threshold,Z=D.gap,F=j&&(N.length>0||P.length<=z),H="function"==typeof b?b(s):b;return(0,a.useEffect)((function(){j&&N.length>1&&I((function(e){return e.filter((function(e){return P.some((function(t){var n=t.key;return e===n}))}))}))}),[N,P,j]),(0,a.useEffect)((function(){var e,t;j&&_.current[null===(e=P[P.length-1])||void 0===e?void 0:e.key]&&T(_.current[null===(t=P[P.length-1])||void 0===t?void 0:t.key])}),[P,j]),a.createElement(p.V4,(0,c.Z)({key:s,className:f()(d,"".concat(d,"-").concat(s),null==x?void 0:x.list,g,(t={},(0,u.Z)(t,"".concat(d,"-stack"),!!j),(0,u.Z)(t,"".concat(d,"-stack-expanded"),F),t)),style:v,keys:P,motionAppear:!0},H,{onAllRemoved:function(){w(s)}}),(function(e,t){var n=e.config,o=e.className,u=e.style,p=e.index,g=n,m=g.key,v=g.times,b=String(m),y=n,w=y.className,E=y.style,O=y.classNames,k=y.styles,T=(0,i.Z)(y,S),R=P.findIndex((function(e){return e.key===b})),M={};if(j){var A=P.length-1-(R>-1?R:p-1),L="top"===s||"bottom"===s?"-50%":"0";if(A>0){var D,z,H;M.height=F?null===(D=_.current[b])||void 0===D?void 0:D.offsetHeight:null==$?void 0:$.offsetHeight;for(var W=0,U=0;U-1?_.current[b]=e:delete _.current[b]},prefixCls:d,classNames:O,styles:k,className:f()(w,null==x?void 0:x.notice),style:E,times:v,key:m,eventKey:m,onNoticeClose:C,hovering:j&&N.length>0})))}))};const C=a.forwardRef((function(e,t){var n=e.prefixCls,i=void 0===n?"rc-notification":n,c=e.container,u=e.motion,d=e.maxCount,f=e.className,p=e.style,g=e.onAllRemoved,h=e.stack,m=e.renderNotifications,v=a.useState([]),b=(0,o.Z)(v,2),y=b[0],S=b[1],C=function(e){var t,n=y.find((function(t){return t.key===e}));null==n||null===(t=n.onClose)||void 0===t||t.call(n),S((function(t){return t.filter((function(t){return t.key!==e}))}))};a.useImperativeHandle(t,(function(){return{open:function(e){S((function(t){var n,o=(0,r.Z)(t),i=o.findIndex((function(t){return t.key===e.key})),a=(0,l.Z)({},e);i>=0?(a.times=((null===(n=t[i])||void 0===n?void 0:n.times)||0)+1,o[i]=a):(a.times=0,o.push(a));return d>0&&o.length>d&&(o=o.slice(-d)),o}))},close:function(e){C(e)},destroy:function(){S([])}}}));var E=a.useState({}),x=(0,o.Z)(E,2),_=x[0],O=x[1];a.useEffect((function(){var e={};y.forEach((function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))})),Object.keys(_).forEach((function(t){e[t]=e[t]||[]})),O(e)}),[y]);var k=function(e){O((function(t){var n=(0,l.Z)({},t);return(n[e]||[]).length||delete n[e],n}))},$=a.useRef(!1);if(a.useEffect((function(){Object.keys(_).length>0?$.current=!0:$.current&&(null==g||g(),$.current=!1)}),[_]),!c)return null;var T=Object.keys(_);return(0,s.createPortal)(a.createElement(a.Fragment,null,T.map((function(e){var t=_[e],n=a.createElement(w,{key:e,configList:t,placement:e,prefixCls:i,className:null==f?void 0:f(e),style:null==p?void 0:p(e),motion:u,onNoticeClose:C,onAllNoticeRemoved:k,stack:h});return m?m(n,{prefixCls:i,key:e}):n}))),c)}));var E=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],x=function(){return document.body},_=0;function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?x:t,l=e.motion,s=e.prefixCls,c=e.maxCount,u=e.className,d=e.style,f=e.onAllRemoved,p=e.stack,g=e.renderNotifications,h=(0,i.Z)(e,E),m=a.useState(),v=(0,o.Z)(m,2),b=v[0],y=v[1],S=a.useRef(),w=a.createElement(C,{container:b,ref:S,prefixCls:s,motion:l,maxCount:c,className:u,style:d,onAllRemoved:f,stack:p,renderNotifications:g}),O=a.useState([]),k=(0,o.Z)(O,2),$=k[0],T=k[1],R=a.useMemo((function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,n=new Array(t),r=0;r{"use strict";n.d(t,{Z:()=>A});var r=n(7462),o=n(1413),i=n(9439),a=n(4925),l=n(7294),s=n(3967),c=n.n(s),u=n(5375),d=n(8410),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0;function g(e,t){var n=e.prefixCls,i=e.invalidate,s=e.item,d=e.renderItem,g=e.responsive,h=e.responsiveDisabled,m=e.registerSize,v=e.itemKey,b=e.className,y=e.style,S=e.children,w=e.display,C=e.order,E=e.component,x=void 0===E?"div":E,_=(0,a.Z)(e,f),O=g&&!w;function k(e){m(v,e)}l.useEffect((function(){return function(){k(null)}}),[]);var $,T=d&&s!==p?d(s):S;i||($={opacity:O?0:1,height:O?0:p,overflowY:O?"hidden":p,order:g?C:p,pointerEvents:O?"none":p,position:O?"absolute":p});var R={};O&&(R["aria-hidden"]=!0);var M=l.createElement(x,(0,r.Z)({className:c()(!i&&n,b),style:(0,o.Z)((0,o.Z)({},$),y)},R,_,{ref:t}),T);return g&&(M=l.createElement(u.Z,{onResize:function(e){k(e.offsetWidth)},disabled:h},M)),M}var h=l.forwardRef(g);h.displayName="Item";const m=h;var v=n(6680),b=n(3935),y=n(5164);function S(){var e=l.useRef(null);return function(t){e.current||(e.current=[],function(e){if("undefined"==typeof MessageChannel)(0,y.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){(0,b.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(t)}}function w(e,t){var n=l.useState(t),r=(0,i.Z)(n,2),o=r[0],a=r[1];return[o,(0,v.Z)((function(t){e((function(){a(t)}))}))]}var C=l.createContext(null),E=["component"],x=["className"],_=["className"],O=function(e,t){var n=l.useContext(C);if(!n){var o=e.component,i=void 0===o?"div":o,s=(0,a.Z)(e,E);return l.createElement(i,(0,r.Z)({},s,{ref:t}))}var u=n.className,d=(0,a.Z)(n,x),f=e.className,p=(0,a.Z)(e,_);return l.createElement(C.Provider,{value:null},l.createElement(m,(0,r.Z)({ref:t,className:c()(u,f)},d,p)))},k=l.forwardRef(O);k.displayName="RawItem";const $=k;var T=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],R="responsive",M="invalidate";function N(e){return"+ ".concat(e.length," ...")}function I(e,t){var n=e.prefixCls,s=void 0===n?"rc-overflow":n,f=e.data,p=void 0===f?[]:f,g=e.renderItem,h=e.renderRawItem,v=e.itemKey,b=e.itemWidth,y=void 0===b?10:b,E=e.ssr,x=e.style,_=e.className,O=e.maxCount,k=e.renderRest,$=e.renderRawRest,I=e.suffix,P=e.component,A=void 0===P?"div":P,L=e.itemComponent,j=e.onVisibleChange,D=(0,a.Z)(e,T),B="full"===E,z=S(),Z=w(z,null),F=(0,i.Z)(Z,2),H=F[0],W=F[1],U=H||0,V=w(z,new Map),q=(0,i.Z)(V,2),X=q[0],G=q[1],Y=w(z,0),K=(0,i.Z)(Y,2),Q=K[0],J=K[1],ee=w(z,0),te=(0,i.Z)(ee,2),ne=te[0],re=te[1],oe=w(z,0),ie=(0,i.Z)(oe,2),ae=ie[0],le=ie[1],se=(0,l.useState)(null),ce=(0,i.Z)(se,2),ue=ce[0],de=ce[1],fe=(0,l.useState)(null),pe=(0,i.Z)(fe,2),ge=pe[0],he=pe[1],me=l.useMemo((function(){return null===ge&&B?Number.MAX_SAFE_INTEGER:ge||0}),[ge,H]),ve=(0,l.useState)(!1),be=(0,i.Z)(ve,2),ye=be[0],Se=be[1],we="".concat(s,"-item"),Ce=Math.max(Q,ne),Ee=O===R,xe=p.length&&Ee,_e=O===M,Oe=xe||"number"==typeof O&&p.length>O,ke=(0,l.useMemo)((function(){var e=p;return xe?e=null===H&&B?p:p.slice(0,Math.min(p.length,U/y)):"number"==typeof O&&(e=p.slice(0,O)),e}),[p,y,H,O,xe]),$e=(0,l.useMemo)((function(){return xe?p.slice(me+1):p.slice(ke.length)}),[p,ke,xe,me]),Te=(0,l.useCallback)((function(e,t){var n;return"function"==typeof v?v(e):null!==(n=v&&(null==e?void 0:e[v]))&&void 0!==n?n:t}),[v]),Re=(0,l.useCallback)(g||function(e){return e},[g]);function Me(e,t,n){(ge!==e||void 0!==t&&t!==ue)&&(he(e),n||(Se(eU){Me(r-1,e-o-ae+ne);break}}I&&Ie(0)+ae>U&&de(null)}}),[U,X,ne,ae,Te,ke]);var Pe=ye&&!!$e.length,Ae={};null!==ue&&xe&&(Ae={position:"absolute",left:ue,top:0});var Le,je={prefixCls:we,responsive:xe,component:L,invalidate:_e},De=h?function(e,t){var n=Te(e,t);return l.createElement(C.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},je),{},{order:t,item:e,itemKey:n,registerSize:Ne,display:t<=me})},h(e,t))}:function(e,t){var n=Te(e,t);return l.createElement(m,(0,r.Z)({},je,{order:t,key:n,item:e,renderItem:Re,itemKey:n,registerSize:Ne,display:t<=me}))},Be={order:Pe?me:Number.MAX_SAFE_INTEGER,className:"".concat(we,"-rest"),registerSize:function(e,t){re(t),J(ne)},display:Pe};if($)$&&(Le=l.createElement(C.Provider,{value:(0,o.Z)((0,o.Z)({},je),Be)},$($e)));else{var ze=k||N;Le=l.createElement(m,(0,r.Z)({},je,Be),"function"==typeof ze?ze($e):ze)}var Ze=l.createElement(A,(0,r.Z)({className:c()(!_e&&s,_),style:x,ref:t},D),ke.map(De),Oe?Le:null,I&&l.createElement(m,(0,r.Z)({},je,{responsive:Ee,responsiveDisabled:!xe,order:me,className:"".concat(we,"-suffix"),registerSize:function(e,t){le(t)},display:!0,style:Ae}),I));return Ee&&(Ze=l.createElement(u.Z,{onResize:function(e,t){W(t.clientWidth)},disabled:!xe},Ze)),Ze}var P=l.forwardRef(I);P.displayName="Overflow",P.Item=$,P.RESPONSIVE=R,P.INVALIDATE=M;const A=P},2906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},5375:(e,t,n)=>{"use strict";n.d(t,{Z:()=>W});var r=n(7462),o=n(7294),i=n(344),a=(n(334),n(1413)),l=n(1002),s=n(4203),c=n(2550),u=o.createContext(null);var d=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){f&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),m?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){f&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;h.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),b=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),R="undefined"!=typeof WeakMap?new WeakMap:new d,M=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=v.getInstance(),r=new T(t,n,this);R.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){M.prototype[e]=function(){var t;return(t=R.get(this))[e].apply(t,arguments)}}));const N=void 0!==p.ResizeObserver?p.ResizeObserver:M;var I=new Map;var P=new N((function(e){e.forEach((function(e){var t,n=e.target;null===(t=I.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var A=n(5671),L=n(3144),j=n(9340),D=n(9388),B=function(e){(0,j.Z)(n,e);var t=(0,D.Z)(n);function n(){return(0,A.Z)(this,n),t.apply(this,arguments)}return(0,L.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component);function z(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),d=o.useRef(null),f=o.useContext(u),p="function"==typeof n,g=p?n(i):n,h=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!p&&o.isValidElement(g)&&(0,c.Yr)(g),v=m?g.ref:null,b=(0,c.x1)(v,i),y=function(){var e;return(0,s.Z)(i.current)||(i.current&&"object"===(0,l.Z)(i.current)?(0,s.Z)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,s.Z)(d.current)};o.useImperativeHandle(t,(function(){return y()}));var S=o.useRef(e);S.current=e;var w=o.useCallback((function(e){var t=S.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,l=o.height,s=e.offsetWidth,c=e.offsetHeight,u=Math.floor(i),d=Math.floor(l);if(h.current.width!==u||h.current.height!==d||h.current.offsetWidth!==s||h.current.offsetHeight!==c){var p={width:u,height:d,offsetWidth:s,offsetHeight:c};h.current=p;var g=s===Math.round(i)?i:s,m=c===Math.round(l)?l:c,v=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:g,offsetHeight:m});null==f||f(v,e,r),n&&Promise.resolve().then((function(){n(v,e)}))}}),[]);return o.useEffect((function(){var e,t,n=y();return n&&!r&&(e=n,t=w,I.has(e)||(I.set(e,new Set),P.observe(e)),I.get(e).add(t)),function(){return function(e,t){I.has(e)&&(I.get(e).delete(t),I.get(e).size||(P.unobserve(e),I.delete(e)))}(n,w)}}),[i.current,r]),o.createElement(B,{ref:d},m?o.cloneElement(g,{ref:b}):g)}const Z=o.forwardRef(z);function F(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map((function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(Z,(0,r.Z)({},e,{key:a,ref:0===i?t:void 0}),n)}))}var H=o.forwardRef(F);H.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(u),l=o.useCallback((function(e,t,o){r.current+=1;var l=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){l===r.current&&(null==n||n(i.current),i.current=[])})),null==a||a(e,t,o)}),[n,a]);return o.createElement(u.Provider,{value:l},t)};const W=H},4178:(e,t,n)=>{"use strict";n.d(t,{G:()=>a,Z:()=>v});var r=n(3967),o=n.n(r),i=n(7294);function a(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,l=e.className,s=e.style;return i.createElement("div",{className:o()("".concat(n,"-content"),l),style:s},i.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},"function"==typeof t?t():t))}var l=n(7462),s=n(1413),c=n(4925),u=n(2507),d={shiftX:64,adjustY:1},f={adjustX:1,shiftY:!0},p=[0,0],g={left:{points:["cr","cl"],overflow:f,offset:[-4,0],targetOffset:p},right:{points:["cl","cr"],overflow:f,offset:[4,0],targetOffset:p},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:p},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:p},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:p},leftTop:{points:["tr","tl"],overflow:f,offset:[-4,0],targetOffset:p},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:p},rightTop:{points:["tl","tr"],overflow:f,offset:[4,0],targetOffset:p},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:p},rightBottom:{points:["bl","br"],overflow:f,offset:[4,0],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:p},leftBottom:{points:["br","bl"],overflow:f,offset:[-4,0],targetOffset:p}};var h=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],m=function(e,t){var n=e.overlayClassName,r=e.trigger,o=void 0===r?["hover"]:r,d=e.mouseEnterDelay,f=void 0===d?0:d,p=e.mouseLeaveDelay,m=void 0===p?.1:p,v=e.overlayStyle,b=e.prefixCls,y=void 0===b?"rc-tooltip":b,S=e.children,w=e.onVisibleChange,C=e.afterVisibleChange,E=e.transitionName,x=e.animation,_=e.motion,O=e.placement,k=void 0===O?"right":O,$=e.align,T=void 0===$?{}:$,R=e.destroyTooltipOnHide,M=void 0!==R&&R,N=e.defaultVisible,I=e.getTooltipContainer,P=e.overlayInnerStyle,A=(e.arrowContent,e.overlay),L=e.id,j=e.showArrow,D=void 0===j||j,B=(0,c.Z)(e,h),z=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,(function(){return z.current}));var Z=(0,s.Z)({},B);"visible"in e&&(Z.popupVisible=e.visible);return i.createElement(u.Z,(0,l.Z)({popupClassName:n,prefixCls:y,popup:function(){return i.createElement(a,{key:"content",prefixCls:y,id:L,overlayInnerStyle:P},A)},action:o,builtinPlacements:g,popupPlacement:k,ref:z,popupAlign:T,getPopupContainer:I,onPopupVisibleChange:w,afterPopupVisibleChange:C,popupTransitionName:E,popupAnimation:x,popupMotion:_,defaultPopupVisible:N,autoDestroy:M,mouseLeaveDelay:m,popupStyle:v,mouseEnterDelay:f,arrow:D},Z),S)};const v=(0,i.forwardRef)(m)},344:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),o=n(1805);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},8924:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{Z:()=>r})},4999:(e,t,n)=>{"use strict";function r(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}n.d(t,{Z:()=>r})},4958:(e,t,n)=>{"use strict";n.d(t,{hq:()=>h,jL:()=>g});var r=n(8924),o=n(4999),i="data-rc-order",a="data-rc-priority",l="rc-util-key",s=new Map;function c(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function u(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return Array.from((s.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var n=t.csp,o=t.prepend,l=t.priority,s=void 0===l?0:l,c=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(o),f="prependQueue"===c,p=document.createElement("style");p.setAttribute(i,c),f&&s&&p.setAttribute(a,"".concat(s)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var g=u(t),h=g.firstChild;if(o){if(f){var m=d(g).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(i)))return!1;var t=Number(e.getAttribute(a)||0);return s>=t}));if(m.length)return g.insertBefore(p,m[m.length-1].nextSibling),p}g.insertBefore(p,h)}else g.appendChild(p);return p}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return d(u(t)).find((function(n){return n.getAttribute(c(t))===e}))}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=p(e,t);n&&u(t).removeChild(n)}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=s.get(e);if(!n||!(0,o.Z)(document,n)){var r=f("",t),i=r.parentNode;s.set(e,i),e.removeChild(r)}}(u(n),n);var r=p(t,n);if(r){var i,a,l;if(null!==(i=n.csp)&&void 0!==i&&i.nonce&&r.nonce!==(null===(a=n.csp)||void 0===a?void 0:a.nonce))r.nonce=null===(l=n.csp)||void 0===l?void 0:l.nonce;return r.innerHTML!==e&&(r.innerHTML=e),r}var d=f(e,n);return d.setAttribute(c(n),t),d}},4203:(e,t,n)=>{"use strict";n.d(t,{S:()=>i,Z:()=>a});var r=n(7294),o=n(3935);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof r.Component?o.findDOMNode(e):null}},5110:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=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}},7571:(e,t,n)=>{"use strict";function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return function(e){return r(e)instanceof ShadowRoot}(e)?r(e):null}n.d(t,{A:()=>o})},5105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=r},8135:(e,t,n)=>{"use strict";var r;n.d(t,{s:()=>m,v:()=>S});var o,i=n(4165),a=n(5861),l=n(1002),s=n(1413),c=n(3935),u=(0,s.Z)({},r||(r=n.t(c,2))),d=u.version,f=u.render,p=u.unmountComponentAtNode;try{Number((d||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function g(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var h="__rc_react_root__";function m(e,t){o?function(e,t){g(!0);var n=t[h]||o(t);g(!1),n.render(e),t[h]=n}(e,t):function(e,t){f(e,t)}(e,t)}function v(e){return b.apply(this,arguments)}function b(){return(b=(0,a.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[h])||void 0===e||e.unmount(),delete t[h]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){p(e)}function S(e){return w.apply(this,arguments)}function w(){return(w=(0,a.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===o){e.next=2;break}return e.abrupt("return",v(t));case 2:y(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},6680:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o{"use strict";var r;n.d(t,{Z:()=>c});var o=n(9439),i=n(1413),a=n(7294);var l=0;var s=(0,i.Z)({},r||(r=n.t(a,2))).useId;const c=s?function(e){var t=s();return e||t}:function(e){var t=a.useState("ssr-id"),n=(0,o.Z)(t,2),r=n[0],i=n[1];return a.useEffect((function(){var e=l;l+=1,i("rc_unique_".concat(e))}),[]),e||r}},8410:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,o:()=>a});var r=n(7294),o=(0,n(8924).Z)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const l=i},6982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},1770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(9439),o=n(6680),i=n(8410),a=n(470);function l(e){return void 0!==e}function s(e,t){var n=t||{},s=n.defaultValue,c=n.value,u=n.onChange,d=n.postState,f=(0,a.Z)((function(){return l(c)?c:l(s)?"function"==typeof s?s():s:"function"==typeof e?e():e})),p=(0,r.Z)(f,2),g=p[0],h=p[1],m=void 0!==c?c:g,v=d?d(m):m,b=(0,o.Z)(u),y=(0,a.Z)([m]),S=(0,r.Z)(y,2),w=S[0],C=S[1];return(0,i.o)((function(){var e=w[0];g!==e&&b(g,e)}),[w]),(0,i.o)((function(){l(c)||h(c)}),[c]),[v,(0,o.Z)((function(e,t){h(e,t),C([m],t)}))]}},470:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9439),o=n(7294);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.Z)(n,2),a=i[0],l=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||l(e)}]}},6790:(e,t,n)=>{"use strict";n.d(t,{t4:()=>o.t4,x1:()=>o.x1,zX:()=>r.Z});var r=n(6680),o=(n(1770),n(2550));n(8880),n(334)},1881:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1002),o=n(334);const i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(t);if((0,o.ZP)(!s,"Warning: There may be circular references"),s)return!1;if(t===a)return!0;if(n&&l>1)return!1;i.add(t);var c=l+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{"use strict";n.d(t,{Z:()=>r});const r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},8423:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1413);function o(e,t){var n=(0,r.Z)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},4217:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(1413),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function l(e,t){return 0===e.indexOf(t)}function s(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.Z)({},n);var s={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||l(n,i))||t.data&&l(n,a)||t.attr&&o.includes(n))&&(s[n]=e[n])})),s}},5164:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function l(e){a.delete(e)}var s=function(e){var t=i+=1;return function n(o){if(0===o)l(t),e();else{var i=r((function(){n(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};s.cancel=function(e){var t=a.get(e);return l(e),o(t)};const c=s},2550:(e,t,n)=>{"use strict";n.d(t,{Yr:()=>u,mH:()=>l,sQ:()=>s,t4:()=>d,x1:()=>c});var r=n(1002),o=n(7294),i=n(1805),a=n(6982);function l(e,t){"function"==typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)}function s(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";function r(e,t){for(var n=e,r=0;rr})},8880:(e,t,n)=>{"use strict";n.d(t,{T:()=>f,Z:()=>c});var r=n(1002),o=n(1413),i=n(3433),a=n(4506),l=n(8306);function s(e,t,n,r){if(!t.length)return n;var l,c=(0,a.Z)(t),u=c[0],d=c.slice(1);return l=e||"number"!=typeof u?Array.isArray(e)?(0,i.Z)(e):(0,o.Z)({},e):[],r&&void 0===n&&1===d.length?delete l[u][d[0]]:l[u]=s(l[u],d,n,r),l}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,l.Z)(e,t.slice(0,-1))?e:s(e,t,n,r)}function u(e){return Array.isArray(e)?[]:{}}var d="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function f(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{Kp:()=>i,ZP:()=>c});var r={},o=[];function i(e,t){}function a(e,t){}function l(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function s(e,t){l(i,e,t)}s.preMessage=function(e){o.push(e)},s.resetWarned=function(){r={}},s.noteOnce=function(e,t){l(a,e,t)};const c=s},1162:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case h:case g:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isFragment=function(e){return v(e)===i},t.isMemo=function(e){return v(e)===g}},1805:(e,t,n)=>{"use strict";e.exports=n(1162)},4448:(e,t,n)=>{"use strict";var r=n(7294),o=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n