From a4d659d4ad294ff3b312ca3fd4aa2e9f7976c0a0 Mon Sep 17 00:00:00 2001 From: fantasticsoul Date: Thu, 4 Jan 2024 22:45:10 +0800 Subject: [PATCH] chore: format doc --- docs-src/docs/api/atom-ctx/flush.md | 1 + .../docs/api/atom-ctx/get-action-loading.md | 1 + .../docs/api/atom-ctx/get-mutate-loading.md | 1 + docs-src/docs/api/atom-ctx/reactive-desc.md | 1 + docs-src/docs/api/atom-ctx/sync.md | 1 + .../docs/api/atom-ctx/use-action-loading.md | 6 +- .../docs/api/atom-ctx/use-force-update.md | 5 +- .../api/atom-ctx/use-local-force-update.md | 5 +- docs-src/docs/api/atom-ctx/use-local-state.md | 7 +- .../docs/api/atom-ctx/use-mutate-loading.md | 5 +- docs-src/docs/api/atom-ctx/use-reactive.md | 6 +- docs-src/docs/api/atom-ctx/use-state-x.md | 2 +- docs-src/docs/api/atom-ctx/use-state.md | 1 + docs-src/docs/api/base/action.md | 10 +- docs-src/docs/api/hooks/use-action-loading.md | 10 +- .../docs/api/hooks/use-global-force-update.md | 30 +- docs-src/docs/api/hooks/use-global-id.md | 21 +- .../docs/api/hooks/use-local-force-update.md | 2 - docs-src/docs/api/hooks/use-mutable.md | 15 +- docs-src/docs/api/hooks/use-mutate-loading.md | 19 +- docs-src/docs/api/hooks/use-on-event.md | 13 +- docs-src/docs/api/hooks/use-reactive-x.md | 3 +- docs-src/docs/api/hooks/use-service.md | 101 +-- docs-src/docs/api/hooks/use-watch.md | 88 ++- docs-src/docs/api/index.md | 58 +- docs-src/docs/api/utils/add-plugin.md | 2 +- docs-src/docs/api/utils/cst.md | 2 +- docs-src/docs/api/utils/flush.md | 26 +- docs-src/docs/api/utils/get-action-loading.md | 2 +- docs-src/docs/api/utils/get-atom.md | 6 +- docs-src/docs/api/utils/get-derive-loading.md | 3 +- docs-src/docs/api/utils/get-snap.md | 10 +- docs-src/docs/api/utils/init.md | 4 +- docs-src/docs/api/utils/is-atom.md | 6 +- docs-src/docs/api/utils/is-derived-atom.md | 9 +- docs-src/docs/api/utils/is-diff.md | 3 +- docs-src/docs/api/utils/reactive-desc.md | 9 +- docs/404.html | 2 +- docs/api/atom-ctx/action/index.html | 2 +- docs/api/atom-ctx/attrs/index.html | 2 +- docs/api/atom-ctx/define-actions/index.html | 2 +- .../atom-ctx/define-full-derive/index.html | 2 +- .../atom-ctx/define-mutate-derive/index.html | 2 +- .../atom-ctx/define-mutate-self/index.html | 2 +- .../api/atom-ctx/define-tp-actions/index.html | 2 +- docs/api/atom-ctx/flush/index.html | 2 +- .../atom-ctx/get-action-loading/index.html | 2 +- .../atom-ctx/get-mutate-loading/index.html | 2 +- docs/api/atom-ctx/index.html | 2 +- docs/api/atom-ctx/mutate/index.html | 2 +- docs/api/atom-ctx/reactive-desc/index.html | 2 +- docs/api/atom-ctx/run-mutate-task/index.html | 2 +- docs/api/atom-ctx/run-mutate/index.html | 2 +- docs/api/atom-ctx/set-draft/index.html | 2 +- docs/api/atom-ctx/set-state/index.html | 2 +- docs/api/atom-ctx/sync/index.html | 2 +- docs/api/atom-ctx/syncer/index.html | 2 +- .../atom-ctx/use-action-loading/index.html | 2 +- docs/api/atom-ctx/use-force-update/index.html | 2 +- .../use-local-force-update/index.html | 2 +- docs/api/atom-ctx/use-local-state/index.html | 2 +- .../atom-ctx/use-mutate-loading/index.html | 2 +- docs/api/atom-ctx/use-reactive/index.html | 2 +- docs/api/atom-ctx/use-state-x/index.html | 2 +- docs/api/atom-ctx/use-state/index.html | 2 +- docs/api/base/action/index.html | 2 +- docs/api/base/atom/index.html | 2 +- docs/api/base/atomx/index.html | 2 +- docs/api/base/block/index.html | 2 +- docs/api/base/define-derive-task/index.html | 2 +- docs/api/base/define-drive-fn-item/index.html | 2 +- docs/api/base/derive-dict/index.html | 2 +- docs/api/base/derive/index.html | 2 +- docs/api/base/dynamic-block/index.html | 2 +- docs/api/base/emit/index.html | 2 +- docs/api/base/index.html | 2 +- docs/api/base/mutate-dict/index.html | 2 +- docs/api/base/mutate/index.html | 2 +- docs/api/base/on/index.html | 2 +- docs/api/base/run-derive-task/index.html | 2 +- docs/api/base/run-derive/index.html | 2 +- docs/api/base/run-mutate-task/index.html | 2 +- docs/api/base/run-mutate/index.html | 2 +- docs/api/base/share/index.html | 2 +- docs/api/base/sharex/index.html | 2 +- docs/api/base/signal/index.html | 2 +- docs/api/base/sync/index.html | 2 +- docs/api/base/syncer/index.html | 2 +- docs/api/base/watch/index.html | 2 +- docs/api/hooks/index.html | 2 +- docs/api/hooks/use-action-loading/index.html | 2 +- docs/api/hooks/use-atom-x/index.html | 2 +- docs/api/hooks/use-atom/index.html | 2 +- docs/api/hooks/use-derived/index.html | 2 +- .../hooks/use-global-force-update/index.html | 2 +- docs/api/hooks/use-global-id/index.html | 2 +- .../hooks/use-local-force-update/index.html | 2 +- docs/api/hooks/use-mutable/index.html | 2 +- docs/api/hooks/use-mutate-loading/index.html | 2 +- docs/api/hooks/use-on-event/index.html | 2 +- docs/api/hooks/use-reactive-x/index.html | 2 +- docs/api/hooks/use-reactive/index.html | 2 +- docs/api/hooks/use-service/index.html | 2 +- docs/api/hooks/use-watch/index.html | 2 +- docs/api/index.html | 2 +- docs/api/utils/add-middleware/index.html | 2 +- docs/api/utils/add-plugin/index.html | 2 +- docs/api/utils/cst/index.html | 2 +- docs/api/utils/flush/index.html | 2 +- docs/api/utils/get-action-loading/index.html | 2 +- docs/api/utils/get-atom/index.html | 2 +- docs/api/utils/get-derive-loading/index.html | 2 +- docs/api/utils/get-mutate-loading/index.html | 2 +- docs/api/utils/get-snap/index.html | 2 +- docs/api/utils/index.html | 2 +- docs/api/utils/init/index.html | 2 +- docs/api/utils/is-atom/index.html | 2 +- docs/api/utils/is-derived-atom/index.html | 2 +- docs/api/utils/is-diff/index.html | 2 +- docs/api/utils/reactive-desc/index.html | 2 +- docs/api/utils/shallow-compare/index.html | 2 +- ...cs__api__base__action.md.2264618c.async.js | 1 + ...cs__api__base__action.md.f1e28807.async.js | 1 - ...api__hooks__use-watch.md.a21481df.async.js | 1 + ...api__hooks__use-watch.md.e663b364.async.js | 1 - ...__api__utils__is-diff.md.19924b59.async.js | 1 + ...__api__utils__is-diff.md.ff9108ca.async.js | 1 - docs/ecosystem/index.html | 2 +- docs/guide/action/index.html | 2 +- docs/guide/adapt-react-like/index.html | 2 +- docs/guide/atom/index.html | 2 +- docs/guide/dep-tracking/index.html | 2 +- docs/guide/derive/index.html | 2 +- docs/guide/events/index.html | 2 +- docs/guide/index.html | 2 +- docs/guide/install/index.html | 2 +- docs/guide/middleware/index.html | 2 +- docs/guide/model/index.html | 2 +- docs/guide/modular/index.html | 2 +- docs/guide/plugins/index.html | 2 +- docs/guide/quick-start/index.html | 2 +- docs/guide/reactive/index.html | 2 +- docs/guide/signal/index.html | 2 +- docs/guide/sync/index.html | 2 +- docs/guide/watch/index.html | 2 +- docs/index.html | 2 +- docs/reference/glossary/index.html | 2 +- docs/reference/history/index.html | 2 +- docs/reference/index.html | 2 +- docs/reference/question/index.html | 2 +- docs/{umi.eb8a6beb.js => umi.07cc2b11.js} | 582 ++++++++++-------- docs/~demos/:id/index.html | 2 +- .../docs-api-base-block-demo-0/index.html | 2 +- .../docs-api-base-block-demo-1/index.html | 2 +- .../docs-api-base-block-demo-2/index.html | 2 +- .../docs-api-base-block-demo-3/index.html | 2 +- .../docs-api-base-block-demo-4/index.html | 2 +- .../docs-api-base-derive-demo-0/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../docs-api-base-signal-demo-0/index.html | 2 +- .../docs-api-base-signal-demo-1/index.html | 2 +- .../docs-api-base-signal-demo-2/index.html | 2 +- .../docs-api-base-signal-demo-3/index.html | 2 +- .../docs-api-base-sync-demo-0/index.html | 2 +- .../docs-api-base-sync-demo-1/index.html | 2 +- .../docs-api-base-syncer-demo-0/index.html | 2 +- .../docs-api-base-syncer-demo-1/index.html | 2 +- .../docs-api-base-syncer-demo-2/index.html | 2 +- .../docs-api-base-syncer-demo-3/index.html | 2 +- .../docs-api-base-syncer-demo-4/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../docs-api-hooks-use-atom-demo-0/index.html | 2 +- .../docs-api-hooks-use-atom-demo-1/index.html | 2 +- .../docs-api-hooks-use-atom-demo-2/index.html | 2 +- .../docs-api-hooks-use-atom-demo-3/index.html | 2 +- .../docs-api-hooks-use-atom-demo-4/index.html | 2 +- .../docs-api-hooks-use-atom-demo-5/index.html | 2 +- .../docs-api-hooks-use-atom-demo-6/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../docs-api-utils-flush-demo-0/index.html | 2 +- .../docs-api-utils-flush-demo-1/index.html | 2 +- .../index.html | 2 +- .../docs-guide-action-demo-0/index.html | 2 +- .../docs-guide-action-demo-1/index.html | 2 +- docs/~demos/docs-guide-atom-demo-0/index.html | 2 +- docs/~demos/docs-guide-atom-demo-1/index.html | 2 +- docs/~demos/docs-guide-atom-demo-2/index.html | 2 +- docs/~demos/docs-guide-atom-demo-3/index.html | 2 +- .../docs-guide-dep-tracking-demo-0/index.html | 2 +- .../docs-guide-dep-tracking-demo-1/index.html | 2 +- .../docs-guide-dep-tracking-demo-2/index.html | 2 +- .../docs-guide-dep-tracking-demo-3/index.html | 2 +- .../docs-guide-derive-demo-0/index.html | 2 +- .../docs-guide-derive-demo-1/index.html | 2 +- .../docs-guide-derive-demo-2/index.html | 2 +- .../docs-guide-modular-demo-0/index.html | 2 +- .../docs-guide-modular-demo-1/index.html | 2 +- .../docs-guide-modular-demo-2/index.html | 2 +- .../docs-guide-modular-demo-3/index.html | 2 +- .../docs-guide-quick-start-demo-0/index.html | 2 +- .../docs-guide-quick-start-demo-1/index.html | 2 +- .../docs-guide-reactive-demo-0/index.html | 2 +- .../docs-guide-reactive-demo-1/index.html | 2 +- .../docs-guide-signal-demo-0/index.html | 2 +- .../docs-guide-signal-demo-1/index.html | 2 +- docs/~demos/docs-guide-sync-demo-0/index.html | 2 +- docs/~demos/docs-guide-sync-demo-1/index.html | 2 +- docs/~demos/docs-guide-sync-demo-2/index.html | 2 +- docs/~demos/docs-guide-sync-demo-3/index.html | 2 +- docs/~demos/docs-guide-sync-demo-4/index.html | 2 +- docs/~demos/docs-guide-sync-demo-5/index.html | 2 +- .../~demos/docs-guide-watch-demo-0/index.html | 2 +- .../~demos/docs-guide-watch-demo-1/index.html | 2 +- packages/helux-core/src/types/base.d.ts | 16 +- 241 files changed, 836 insertions(+), 654 deletions(-) create mode 100644 docs/docs__api__base__action.md.2264618c.async.js delete mode 100644 docs/docs__api__base__action.md.f1e28807.async.js create mode 100644 docs/docs__api__hooks__use-watch.md.a21481df.async.js delete mode 100644 docs/docs__api__hooks__use-watch.md.e663b364.async.js create mode 100644 docs/docs__api__utils__is-diff.md.19924b59.async.js delete mode 100644 docs/docs__api__utils__is-diff.md.ff9108ca.async.js rename docs/{umi.eb8a6beb.js => umi.07cc2b11.js} (82%) diff --git a/docs-src/docs/api/atom-ctx/flush.md b/docs-src/docs/api/atom-ctx/flush.md index 0513921e..4263da3c 100644 --- a/docs-src/docs/api/atom-ctx/flush.md +++ b/docs-src/docs/api/atom-ctx/flush.md @@ -10,6 +10,7 @@ order: 9 功能同顶层 api `flush`,自动绑定了目标共享状态,调用时无需再绑定。 --- + :::info 更多用法查阅[API/工具/flush](/api/utils/flush) ::: diff --git a/docs-src/docs/api/atom-ctx/get-action-loading.md b/docs-src/docs/api/atom-ctx/get-action-loading.md index c0cd9ca9..9ff9e536 100644 --- a/docs-src/docs/api/atom-ctx/get-action-loading.md +++ b/docs-src/docs/api/atom-ctx/get-action-loading.md @@ -10,6 +10,7 @@ order: 4 功能同顶层 api `getActionLoading`,自动绑定了目标共享状态,调用时无需再绑定。 --- + :::info 更多用法查阅[API/工具/getActionLoading](/api/utils/get-action-loading) ::: diff --git a/docs-src/docs/api/atom-ctx/get-mutate-loading.md b/docs-src/docs/api/atom-ctx/get-mutate-loading.md index 0bac5d27..3e191270 100644 --- a/docs-src/docs/api/atom-ctx/get-mutate-loading.md +++ b/docs-src/docs/api/atom-ctx/get-mutate-loading.md @@ -10,6 +10,7 @@ order: 5 功能同顶层 api `getMutateLoading`,自动绑定了目标共享状态,调用时无需再绑定。 --- + :::info 更多用法查阅[API/工具/getMutateLoading](/api/utils/get-mutate-loading) ::: diff --git a/docs-src/docs/api/atom-ctx/reactive-desc.md b/docs-src/docs/api/atom-ctx/reactive-desc.md index 897f031f..9414b057 100644 --- a/docs-src/docs/api/atom-ctx/reactive-desc.md +++ b/docs-src/docs/api/atom-ctx/reactive-desc.md @@ -10,6 +10,7 @@ order: 8 功能同顶层 api `reactiveDesc`,自动绑定了目标共享状态,调用时无需再绑定。 --- + :::info 更多用法查阅[API/工具/reactiveDesc](/api/utils/reactive-desc) ::: diff --git a/docs-src/docs/api/atom-ctx/sync.md b/docs-src/docs/api/atom-ctx/sync.md index f0e1a54d..3c5e45ab 100644 --- a/docs-src/docs/api/atom-ctx/sync.md +++ b/docs-src/docs/api/atom-ctx/sync.md @@ -10,6 +10,7 @@ order: 7 功能同顶层 api`sync`,自动绑定了目标共享状态,调用时无需再绑定。 --- + :::info 更多用法查阅[API/基础/sync](/api/base/sync) ::: diff --git a/docs-src/docs/api/atom-ctx/use-action-loading.md b/docs-src/docs/api/atom-ctx/use-action-loading.md index b67a3768..31fa8b28 100644 --- a/docs-src/docs/api/atom-ctx/use-action-loading.md +++ b/docs-src/docs/api/atom-ctx/use-action-loading.md @@ -8,7 +8,9 @@ order: 5 # useActionLoading 组件中使用`action`函数的执行状态 -___ + +--- + :::info -和顶层api[Hooks/useActionLoading](/api/hooks/use-action-loading) 使用方式保持一致,区别是内部自动绑定了当前共享状态 +和顶层 api[Hooks/useActionLoading](/api/hooks/use-action-loading) 使用方式保持一致,区别是内部自动绑定了当前共享状态 ::: diff --git a/docs-src/docs/api/atom-ctx/use-force-update.md b/docs-src/docs/api/atom-ctx/use-force-update.md index eb56c241..e0ee8bb9 100644 --- a/docs-src/docs/api/atom-ctx/use-force-update.md +++ b/docs-src/docs/api/atom-ctx/use-force-update.md @@ -9,7 +9,8 @@ order: 2 强制更新订阅了某个节点变化的所有组件实例 -___ +--- + :::info -和顶层api[Hooks/useGlobalForceUpdate](/api/hooks/use-global-force-update) 使用方式保持一致,区别是内部自动绑定了当前共享状态 +和顶层 api[Hooks/useGlobalForceUpdate](/api/hooks/use-global-force-update) 使用方式保持一致,区别是内部自动绑定了当前共享状态 ::: diff --git a/docs-src/docs/api/atom-ctx/use-local-force-update.md b/docs-src/docs/api/atom-ctx/use-local-force-update.md index 037300c6..732a3e89 100644 --- a/docs-src/docs/api/atom-ctx/use-local-force-update.md +++ b/docs-src/docs/api/atom-ctx/use-local-force-update.md @@ -9,7 +9,8 @@ order: 4 强制更新当前组件实例 -___ +--- + :::info -和顶层api[Hooks/useLocalForceUpdate](/api/hooks/use-local-force-update) 保持一致 +和顶层 api[Hooks/useLocalForceUpdate](/api/hooks/use-local-force-update) 保持一致 ::: diff --git a/docs-src/docs/api/atom-ctx/use-local-state.md b/docs-src/docs/api/atom-ctx/use-local-state.md index 0879159f..7a3c1f0c 100644 --- a/docs-src/docs/api/atom-ctx/use-local-state.md +++ b/docs-src/docs/api/atom-ctx/use-local-state.md @@ -9,7 +9,8 @@ order: 3 使用本地状态 -___ +--- + :::info -和顶层api[Hooks/useMutable](/api/hooks/use-mutable) 保持一致 -::: \ No newline at end of file +和顶层 api[Hooks/useMutable](/api/hooks/use-mutable) 保持一致 +::: diff --git a/docs-src/docs/api/atom-ctx/use-mutate-loading.md b/docs-src/docs/api/atom-ctx/use-mutate-loading.md index 43a27ed0..8402fd83 100644 --- a/docs-src/docs/api/atom-ctx/use-mutate-loading.md +++ b/docs-src/docs/api/atom-ctx/use-mutate-loading.md @@ -9,7 +9,8 @@ order: 6 组件中使用`mutate`函数的执行状态 -___ +--- + :::info -和顶层api[Hooks/useMutateLoading](/api/hooks/use-mutate-loading) 使用方式保持一致,区别是内部自动绑定了当前共享状态 +和顶层 api[Hooks/useMutateLoading](/api/hooks/use-mutate-loading) 使用方式保持一致,区别是内部自动绑定了当前共享状态 ::: diff --git a/docs-src/docs/api/atom-ctx/use-reactive.md b/docs-src/docs/api/atom-ctx/use-reactive.md index def81033..7afc9eb0 100644 --- a/docs-src/docs/api/atom-ctx/use-reactive.md +++ b/docs-src/docs/api/atom-ctx/use-reactive.md @@ -8,7 +8,9 @@ order: 7 # useReactive 组件中使用`reactive`响应式状态 -___ + +--- + :::info -和顶层api[Hooks/useReactive](/api/hooks/use-reactive) 使用方式保持一致,区别是内部自动绑定了当前共享状态 +和顶层 api[Hooks/useReactive](/api/hooks/use-reactive) 使用方式保持一致,区别是内部自动绑定了当前共享状态 ::: diff --git a/docs-src/docs/api/atom-ctx/use-state-x.md b/docs-src/docs/api/atom-ctx/use-state-x.md index 8be8dbf2..a4d2d2d2 100644 --- a/docs-src/docs/api/atom-ctx/use-state-x.md +++ b/docs-src/docs/api/atom-ctx/use-state-x.md @@ -10,7 +10,7 @@ order: 1 功能同顶层 api`useAtomX`,自动绑定了目标共享状态,调用时无需再绑定。 --- + :::info 更多用法查阅[Hooks/useAtomX](/api/hooks/use-atom-x) ::: - diff --git a/docs-src/docs/api/atom-ctx/use-state.md b/docs-src/docs/api/atom-ctx/use-state.md index 875b0762..7008f4a3 100644 --- a/docs-src/docs/api/atom-ctx/use-state.md +++ b/docs-src/docs/api/atom-ctx/use-state.md @@ -10,6 +10,7 @@ order: 0 功能同顶层 api`useAtom`,自动绑定了目标共享状态,调用时无需再绑定。 --- + :::info 更多用法查阅[Hooks/useAtom](/api/hooks/use-atom) ::: diff --git a/docs-src/docs/api/base/action.md b/docs-src/docs/api/base/action.md index 0103b884..8eefaab5 100644 --- a/docs-src/docs/api/base/action.md +++ b/docs-src/docs/api/base/action.md @@ -17,12 +17,12 @@ order: 0 ## 基础用法 -### 创建同步action +### 创建同步 action ```ts import { share, action } from 'helux'; -const { state } = sharex({a:1, b:2}); +const { state } = sharex({ a: 1, b: 2 }); const hiAction = action(state)()(({ draft, payload }) => { draft.a += 100; @@ -37,9 +37,9 @@ const hiAction = action(state)<[number, string]>()(({ draft, payload }) => { }, 'hiAction'); ``` -### 创建异步action +### 创建异步 action -和创建同步action方式一样,只需将函数声明为异步函数即可,草稿变更后,会在下一次事件循环的微任务开始前提交变更数据 +和创建同步 action 方式一样,只需将函数声明为异步函数即可,草稿变更后,会在下一次事件循环的微任务开始前提交变更数据 ```ts const delay = (ms = 1000) => new Promise((r) => setTimeout(r, ms)); @@ -50,5 +50,3 @@ const hiAsyncAction = action(state)()(async ({ draft, payload }) => { draft.a += 100; }, 'hiAsyncAction'); ``` - - diff --git a/docs-src/docs/api/hooks/use-action-loading.md b/docs-src/docs/api/hooks/use-action-loading.md index a35a945c..029faf47 100644 --- a/docs-src/docs/api/hooks/use-action-loading.md +++ b/docs-src/docs/api/hooks/use-action-loading.md @@ -9,7 +9,9 @@ order: 8 类型描述为 ```ts -function useActionLoading(target?: T): [ +function useActionLoading( + target?: T, +): [ SafeLoading, // 获取各个 action desc 的运行状态 SetState, // 人工修改执行状态(大多数时候都不需要用到此功能) IInsRenderInfo, @@ -26,11 +28,11 @@ function useActionLoading(target?: T): [ /** * defaultShowCode: true */ -import { share, useAtom, useActionLoading } from 'helux'; +import { share, useActionLoading, useAtom } from 'helux'; const [dictAtom, , ctx] = share({ a: 1, b: { b1: 1 } }); const delay = (ms = 1000) => new Promise((r) => setTimeout(r, ms)); -const changeA = ctx.action()(async ({draft})=>{ +const changeA = ctx.action()(async ({ draft }) => { await delay(1000); draft.a += 1; }, 'changeA'); // 定好 action 描述为 changeA @@ -41,7 +43,7 @@ export default function () { const [dict, setDict] = useAtom(dictAtom); // or: ctx.useActionLoading(); - const [ ld ] = useActionLoading(dictAtom); + const [ld] = useActionLoading(dictAtom); return (
{ld.changeA.ok &&

{dict.a}

} diff --git a/docs-src/docs/api/hooks/use-global-force-update.md b/docs-src/docs/api/hooks/use-global-force-update.md index 8fe1cbbb..7553cd41 100644 --- a/docs-src/docs/api/hooks/use-global-force-update.md +++ b/docs-src/docs/api/hooks/use-global-force-update.md @@ -50,13 +50,18 @@ function Demo() { ); } -export default ()=> <>; +export default () => ( + <> + + + +); ``` ### 指定更新范围 :::info -由于指定了更新范围`state.a`,下述例子中Demo2因未使用到`state.a`将不被更新 +由于指定了更新范围`state.a`,下述例子中 Demo2 因未使用到`state.a`将不被更新 ::: ```tsx @@ -69,7 +74,7 @@ const [dictAtom, , ctx] = share({ a: 1, b: { b1: 2 } }); function Demo1() { // 或写为 // or const updateSomeIns = ctx.useForceUpdate(state=>[state.a]); - const updateSomeIns = useGlobalForceUpdate(dictAtom, state=>[state.a]); + const updateSomeIns = useGlobalForceUpdate(dictAtom, (state) => [state.a]); const [dict] = useAtom(dictAtom); return (
@@ -81,7 +86,7 @@ function Demo1() { } function Demo2() { - const updateSomeIns = useGlobalForceUpdate(dictAtom, state=>[state.a]); + const updateSomeIns = useGlobalForceUpdate(dictAtom, (state) => [state.a]); const [dict] = useAtom(dictAtom); return (
@@ -92,7 +97,12 @@ function Demo2() { ); } -export default ()=> <>; +export default () => ( + <> + + + +); ``` ### 重写更新范围 @@ -100,14 +110,14 @@ export default ()=> <>; 支持调用时重写更新范围 ```ts -updateSomeAtomIns(state=>[state.c]); // 本次更新只更新 c 相关的实例 +updateSomeAtomIns((state) => [state.c]); // 本次更新只更新 c 相关的实例 // 重写为 null,表示更新所有实例,强制覆盖可能存在的 presetDeps -updateSomeAtomIns(null) +updateSomeAtomIns(null); // 返回空数组不会做任何更新 -updateSomeAtomIns(state=>[]); +updateSomeAtomIns((state) => []); // 返回里包含了自身也会触发更新所有实例 -updateSomeAtomIns(state=>[state]); -``` \ No newline at end of file +updateSomeAtomIns((state) => [state]); +``` diff --git a/docs-src/docs/api/hooks/use-global-id.md b/docs-src/docs/api/hooks/use-global-id.md index 91232c2a..bd4fb813 100644 --- a/docs-src/docs/api/hooks/use-global-id.md +++ b/docs-src/docs/api/hooks/use-global-id.md @@ -4,7 +4,7 @@ order: 5 # useGlobalId -使用全局id,配合`ICreationAtomOptions.rules`里的`globalIds`参数,满足条件时被触发刷新 +使用全局 id,配合`ICreationAtomOptions.rules`里的`globalIds`参数,满足条件时被触发刷新 :::tip 更新`rules`配置可阅读[rules](/api/base/atom#rules)了解 @@ -16,16 +16,19 @@ order: 5 /** * defaultShowCode: true */ -import React from 'react'; import { atomx, useGlobalId } from 'helux'; -const { state, reactive, getSnap } = atomx({a:1, b:1}, { - rules: [ - { - when: state=>state.a, globalIds: ['up1'], - }, - ] -}); +const { state, reactive, getSnap } = atomx( + { a: 1, b: 1 }, + { + rules: [ + { + when: (state) => state.a, + globalIds: ['up1'], + }, + ], + }, +); const change = () => { reactive.a += 1; }; diff --git a/docs-src/docs/api/hooks/use-local-force-update.md b/docs-src/docs/api/hooks/use-local-force-update.md index 4a94b59c..017133cd 100644 --- a/docs-src/docs/api/hooks/use-local-force-update.md +++ b/docs-src/docs/api/hooks/use-local-force-update.md @@ -12,10 +12,8 @@ order: 9 /** * defaultShowCode: true */ -import React from 'react'; import { useLocalForceUpdate } from 'helux'; - export default function () { const forceUpdate = useLocalForceUpdate(); diff --git a/docs-src/docs/api/hooks/use-mutable.md b/docs-src/docs/api/hooks/use-mutable.md index 7c07722a..4ddc1cae 100644 --- a/docs-src/docs/api/hooks/use-mutable.md +++ b/docs-src/docs/api/hooks/use-mutable.md @@ -12,17 +12,20 @@ order: 6 /** * defaultShowCode: true */ -import React from 'react'; import { useMutable } from 'helux'; export default function Demo() { - const [obj, setObj] = useMutable({ a:1, b: {b1:1} }); - const change = ()=>{ - setObj(draft=>{ - draft.b.b1+=100; + const [obj, setObj] = useMutable({ a: 1, b: { b1: 1 } }); + const change = () => { + setObj((draft) => { + draft.b.b1 += 100; }); }; - return

; + return ( +

+ +

+ ); } ``` diff --git a/docs-src/docs/api/hooks/use-mutate-loading.md b/docs-src/docs/api/hooks/use-mutate-loading.md index 3749e4f9..9a0a2a5c 100644 --- a/docs-src/docs/api/hooks/use-mutate-loading.md +++ b/docs-src/docs/api/hooks/use-mutate-loading.md @@ -9,14 +9,17 @@ order: 8 类型描述为 ```ts -function useMutateLoading(target?: T): [ - SafeLoading, // 获取各个 mutate desc 的运行状态 +function useMutateLoading( + target?: T, +): [ + SafeLoading, // 获取各个 mutate desc 的运行状态 SetState, // 人工修改执行状态(大多数时候都不需要用到此功能) IInsRenderInfo, ]; ``` -___ +--- + :::info 此函数偏向于提供给库开发者,推荐阅读[模块化/defineMutateDerive](/guide/modular#definemutatederive)了解和使用配套生成的`useLoading`会更方便 ::: @@ -32,16 +35,16 @@ import { share, useAtom, useMutateLoading } from 'helux'; const [dictAtom, , ctx] = share({ a: 1, b: { b1: 1 } }, { moduleName: 'uml' }); const delay = (ms = 1000) => new Promise((r) => setTimeout(r, ms)); const witness = ctx.mutate({ - deps: ()=>[dictAtom.b.b1], - task: async ({draft, input})=>{ + deps: () => [dictAtom.b.b1], + task: async ({ draft, input }) => { await delay(1000); draft.a += input[0]; }, immediate: true, desc: 'changeA', }); -const changeB1 = ()=>{ - ctx.setDraft(draft=> draft.b.b1+=1); +const changeB1 = () => { + ctx.setDraft((draft) => (draft.b.b1 += 1)); }; export default function () { @@ -50,7 +53,7 @@ export default function () { const [dict, setDict] = useAtom(dictAtom); // or: ctx.useMutateLoading(); - const [ ld ] = useMutateLoading(dictAtom); + const [ld] = useMutateLoading(dictAtom); return (
diff --git a/docs-src/docs/api/hooks/use-on-event.md b/docs-src/docs/api/hooks/use-on-event.md index 68426e37..603c3a90 100644 --- a/docs-src/docs/api/hooks/use-on-event.md +++ b/docs-src/docs/api/hooks/use-on-event.md @@ -45,18 +45,22 @@ export default () => ( /** * defaultShowCode: true */ -import React from 'react'; import { emit, useOnEvent } from 'helux'; +import React from 'react'; const emitEvent = () => emit('someEv2', 1, 2); function Demo() { const [num, setNum] = React.useState(1); - const change = () => setNum(prev => prev + 1); + const change = () => setNum((prev) => prev + 1); useOnEvent('someEv2', (...args) => { - alert(`receive ${args.join(',')}, num is ${num}`); + alert(`receive ${args.join(',')}, num is ${num}`); }); - return

; + return ( +

+ +

+ ); } export default () => ( @@ -66,4 +70,3 @@ export default () => ( ); ``` - diff --git a/docs-src/docs/api/hooks/use-reactive-x.md b/docs-src/docs/api/hooks/use-reactive-x.md index 240cd73d..bc79ced7 100644 --- a/docs-src/docs/api/hooks/use-reactive-x.md +++ b/docs-src/docs/api/hooks/use-reactive-x.md @@ -6,7 +6,8 @@ order: 2 `useReactiveX`和`useReactive`使用方式完全一样,区别于`useReactive`返回元组结构,`useReactiveX`返回的是字典结构 -___ +--- + :::info 其他使用方式可参考[useReactive](/api/hooks/use-reactive) ::: diff --git a/docs-src/docs/api/hooks/use-service.md b/docs-src/docs/api/hooks/use-service.md index 1b5da4d5..cd58d954 100644 --- a/docs-src/docs/api/hooks/use-service.md +++ b/docs-src/docs/api/hooks/use-service.md @@ -8,7 +8,7 @@ order: 7 1 可替代`useCallback`,返回稳定的单个函数或多个函数集合,同时函数内部始终可以读取到外部的最新值,无闭包陷阱。 -2 可替代`forwardRef`,无需`forwardRef`层层ref也能实现祖先组件调孩子组件方法。 +2 可替代`forwardRef`,无需`forwardRef`层层 ref 也能实现祖先组件调孩子组件方法。 ## 基础用法 @@ -22,27 +22,31 @@ order: 7 /** * defaultShowCode: true */ -import React from 'react'; import { useService } from 'helux'; +import React from 'react'; -const Child = React.memo((props)=>{ - return

- update at {Date.now()} - -

; +const Child = React.memo((props) => { + return ( +

+ update at {Date.now()} + +

+ ); }); export default function Father() { const [num, setNum] = React.useState(1); const srv = useService({ - change: () => setNum(prev => prev + 1), + change: () => setNum((prev) => prev + 1), seeNum: () => alert(num), }); - return

- num {num} - - -

; + return ( +

+ num {num} + + +

+ ); } ``` @@ -52,23 +56,27 @@ export default function Father() { /** * defaultShowCode: true */ -import React from 'react'; import { useService } from 'helux'; +import React from 'react'; -const Child = React.memo((props)=>{ - return

- update at {Date.now()} - -

; +const Child = React.memo((props) => { + return ( +

+ update at {Date.now()} + +

+ ); }); export default function Father() { const [num, setNum] = React.useState(1); - const change = useService(() => setNum(prev => prev + 1)); - return

- num {num} - -

; + const change = useService(() => setNum((prev) => prev + 1)); + return ( +

+ num {num} + +

+ ); } ``` @@ -86,33 +94,48 @@ export default function Father() { /** * defaultShowCode: true */ -import { share, useService, useAtom, storeSrv } from 'helux'; +import { storeSrv, useService } from 'helux'; import React from 'react'; function GrandFather(props: any) { const srvRef = React.useRef(null); - return
-

GrandFather

- - -
+ return ( +
+

GrandFather

+ + +
+ ); } function Father(props: any) { - return
- Father comp: - -
+ return ( +
+ Father comp: + +
+ ); } function Comp(props) { const [num, setNum] = React.useState(1); - const srv = useService({ - change: () => setNum(prev => prev + 1), - seeNum: () => alert(num), - }, props); - return
num {num}
; + const srv = useService( + { + change: () => setNum((prev) => prev + 1), + seeNum: () => alert(num), + }, + props, + ); + return ( +
num {num}
+ ); } const Demo = () => ; diff --git a/docs-src/docs/api/hooks/use-watch.md b/docs-src/docs/api/hooks/use-watch.md index f58a0edd..7963c67f 100644 --- a/docs-src/docs/api/hooks/use-watch.md +++ b/docs-src/docs/api/hooks/use-watch.md @@ -7,8 +7,12 @@ order: 4 组件中观察共享状态变化。 类型描述 + ```ts -function useWatch(watchFn: (fnParams: IWatchFnParams) => void, options: WatchOptionsType); +function useWatch( + watchFn: (fnParams: IWatchFnParams) => void, + options: WatchOptionsType, +); type WatchOptionsType = WatchFnDeps | IWatchOptions; @@ -32,7 +36,7 @@ type WatchFnDeps = () => any[] | undefined; ## 基础用法 -### 观察原始类型atom +### 观察原始类型 atom ```tsx /** @@ -46,10 +50,17 @@ const change = () => { }; function Demo() { - useWatch(()=>{ - alert(`change from ${getSnap().val} to ${state.val}`); - }, ()=>[state]); - return

watch state

; + useWatch( + () => { + alert(`change from ${getSnap().val} to ${state.val}`); + }, + () => [state], + ); + return ( +

+
watch state
+

+ ); } export default () => ( @@ -60,7 +71,7 @@ export default () => ( ); ``` -### 观察字典类型atom +### 观察字典类型 atom 观察根对象变化 @@ -70,16 +81,27 @@ export default () => ( */ import { atomx, useWatch } from 'helux'; -const { reactive, getSnap } = atomx({a:1,b:2}); +const { reactive, getSnap } = atomx({ a: 1, b: 2 }); const change = () => { reactive.a += 10; }; function Demo() { - useWatch(()=>{ - alert(`change from ${JSON.stringify(getSnap().val)} to ${JSON.stringify(reactive)}`); - }, ()=>[reactive]); - return

watch reactive

; + useWatch( + () => { + alert( + `change from ${JSON.stringify(getSnap().val)} to ${JSON.stringify( + reactive, + )}`, + ); + }, + () => [reactive], + ); + return ( +

+
watch reactive
+

+ ); } export default () => ( @@ -102,7 +124,7 @@ export default () => ( */ import { atomx, useWatch } from 'helux'; -const { reactive, getSnap } = atomx({a:1,b:2}); +const { reactive, getSnap } = atomx({ a: 1, b: 2 }); const changeA = () => { reactive.a += 10; }; @@ -111,10 +133,21 @@ const changeB = () => { }; function Demo() { - useWatch(()=>{ - alert(`change from ${JSON.stringify(getSnap().val)} to ${JSON.stringify(reactive)}`); - }, ()=>[reactive.a]); - return

watch reactive.a

; + useWatch( + () => { + alert( + `change from ${JSON.stringify(getSnap().val)} to ${JSON.stringify( + reactive, + )}`, + ); + }, + () => [reactive.a], + ); + return ( +

+
watch reactive.a
+

+ ); } export default () => ( @@ -138,8 +171,8 @@ export default () => ( /** * defaultShowCode: true */ -import React from 'react'; import { atomx, useWatch } from 'helux'; +import React from 'react'; const { state, reactiveRoot, getSnap } = atomx(1); const change = () => { @@ -148,11 +181,18 @@ const change = () => { function Demo() { const [num, setNum] = React.useState(1); - const changeNum = () => setNum(prev => prev + 1); - useWatch(()=>{ - alert(`change from ${getSnap().val} to ${state.val}, num is ${num}`); - }, ()=>[state]); - return

; + const changeNum = () => setNum((prev) => prev + 1); + useWatch( + () => { + alert(`change from ${getSnap().val} to ${state.val}, num is ${num}`); + }, + () => [state], + ); + return ( +

+ +

+ ); } export default () => ( @@ -162,5 +202,3 @@ export default () => ( ); ``` - - diff --git a/docs-src/docs/api/index.md b/docs-src/docs/api/index.md index 7c764043..ff3b2e10 100644 --- a/docs-src/docs/api/index.md +++ b/docs-src/docs/api/index.md @@ -12,35 +12,35 @@ nav: - [Hooks](/api/hooks/) ->- [useAtom](/api/hooks/use-atom) 使用`atom`对象,返回元组 ->- [useAtomX](/api/hooks/use-atom-x) 使用`atom`对象,返回字典 ->- [useReactive](/api/hooks/use-reactive) 使用`reactive`对象,返回元组 ->- [useReactiveX](/api/hooks/use-reactive-x) 使用`reactive`对象,返回字典 ->- [useDerived](/api/hooks/use-derived) 使用全量派生结果 ->- [useOnEvent](/api/hooks/use-on-event) 使用事件监听 ->- [useWatch](/api/hooks/use-watch) 使用观察 ->- [useGlobalId](/api/hooks/use-global-id) 使用`globalId` ->- [useMutate](/api/hooks/use-mutate) 使用可变本地状态 ->- [useService](/api/hooks/use-service) 使用服务 ->- [useActionLoading](/api/hooks/use-action-loading) 使用`action`函数执行状态 ->- [useMutateLoading](/api/hooks/use-mutate-loading) 使用`mutate`函数执行状态 ->- [useLocalForceUpdate](/api/hooks/use-local-force-update) 使用更新当前组件实例函数 ->- [useGlobalForceUpdate](/api/hooks/use-global-force-update) 使用更新所有读取了共享状态的组件实例的函数 +> - [useAtom](/api/hooks/use-atom) 使用`atom`对象,返回元组 +> - [useAtomX](/api/hooks/use-atom-x) 使用`atom`对象,返回字典 +> - [useReactive](/api/hooks/use-reactive) 使用`reactive`对象,返回元组 +> - [useReactiveX](/api/hooks/use-reactive-x) 使用`reactive`对象,返回字典 +> - [useDerived](/api/hooks/use-derived) 使用全量派生结果 +> - [useOnEvent](/api/hooks/use-on-event) 使用事件监听 +> - [useWatch](/api/hooks/use-watch) 使用观察 +> - [useGlobalId](/api/hooks/use-global-id) 使用`globalId` +> - [useMutate](/api/hooks/use-mutate) 使用可变本地状态 +> - [useService](/api/hooks/use-service) 使用服务 +> - [useActionLoading](/api/hooks/use-action-loading) 使用`action`函数执行状态 +> - [useMutateLoading](/api/hooks/use-mutate-loading) 使用`mutate`函数执行状态 +> - [useLocalForceUpdate](/api/hooks/use-local-force-update) 使用更新当前组件实例函数 +> - [useGlobalForceUpdate](/api/hooks/use-global-force-update) 使用更新所有读取了共享状态的组件实例的函数 - [工具](/api/utils/) ->- [init](/api/utils/init) 初始化一些运行配置项 ->- [flush](/api/utils/flush) 主动触发提交`reactive`对象变更数据 ->- [reactiveDesc](/api/utils/reactive-desc) 为`reactive`对象的最近一次变更添加提交描述 ->- [addMiddleware](/api/utils/add-middleware) 添加中间件 ->- [addPlugin](/api/utils/add-plugin) 添加插件 ->- [cst](/api/utils/cst) 常量对象合集 ->- [getAtom](/api/utils/get-atom) 获取`atom`对象的真实值引用 ->- [getSnap](/api/utils/get-snap) 获取`atom`对象的快照 ->- [getActionLoading](/api/utils/get-action-loading) 获取`action`函数执行状态 ->- [getDeriveLoading](/api/utils/get-derive-loading) 获取`derive`函数执行状态 ->- [getMutateLoading](/api/utils/get-mutate-loading) 获取`mutate`函数执行状态 ->- [isAtom](/api/utils/is-atom) 判断是否是`atom`接口返回的对象 ->- [isDerivedAtom](/api/utils/is-derived-atom) 判断是否是`derive`接口返回的结果 ->- [isDiff](/api/utils/is-diff) 比较两个值是否一样 ->- [shallowCompare](/api/utils/shallow-compare) 浅比较两个对象 \ No newline at end of file +> - [init](/api/utils/init) 初始化一些运行配置项 +> - [flush](/api/utils/flush) 主动触发提交`reactive`对象变更数据 +> - [reactiveDesc](/api/utils/reactive-desc) 为`reactive`对象的最近一次变更添加提交描述 +> - [addMiddleware](/api/utils/add-middleware) 添加中间件 +> - [addPlugin](/api/utils/add-plugin) 添加插件 +> - [cst](/api/utils/cst) 常量对象合集 +> - [getAtom](/api/utils/get-atom) 获取`atom`对象的真实值引用 +> - [getSnap](/api/utils/get-snap) 获取`atom`对象的快照 +> - [getActionLoading](/api/utils/get-action-loading) 获取`action`函数执行状态 +> - [getDeriveLoading](/api/utils/get-derive-loading) 获取`derive`函数执行状态 +> - [getMutateLoading](/api/utils/get-mutate-loading) 获取`mutate`函数执行状态 +> - [isAtom](/api/utils/is-atom) 判断是否是`atom`接口返回的对象 +> - [isDerivedAtom](/api/utils/is-derived-atom) 判断是否是`derive`接口返回的结果 +> - [isDiff](/api/utils/is-diff) 比较两个值是否一样 +> - [shallowCompare](/api/utils/shallow-compare) 浅比较两个对象 diff --git a/docs-src/docs/api/utils/add-plugin.md b/docs-src/docs/api/utils/add-plugin.md index b57ec267..652c0308 100644 --- a/docs-src/docs/api/utils/add-plugin.md +++ b/docs-src/docs/api/utils/add-plugin.md @@ -20,4 +20,4 @@ import { HeluxPluginDevtool } from '@helux/plugin-devtool'; import { addPlugin } from 'helux'; addPlugin(HeluxPluginDevtool); -``` \ No newline at end of file +``` diff --git a/docs-src/docs/api/utils/cst.md b/docs-src/docs/api/utils/cst.md index be648fef..83980574 100644 --- a/docs-src/docs/api/utils/cst.md +++ b/docs-src/docs/api/utils/cst.md @@ -7,7 +7,7 @@ order: 15 # cst -helux提供个用户的使用常量对象通过`cst`导出 +helux 提供个用户的使用常量对象通过`cst`导出 ```ts type Cst = { diff --git a/docs-src/docs/api/utils/flush.md b/docs-src/docs/api/utils/flush.md index f3ca2935..20f9aec1 100644 --- a/docs-src/docs/api/utils/flush.md +++ b/docs-src/docs/api/utils/flush.md @@ -17,12 +17,12 @@ order: 3 /** * defaultShowCode: true */ -import { flush, atomx, $ } from 'helux'; +import { $, atomx, flush } from 'helux'; -const ctx = atomx({a:1, b:2}); +const ctx = atomx({ a: 1, b: 2 }); const { reactive } = ctx; -async function changeA(){ +async function changeA() { reactive.a += 100; // or ctx.flush('changeA'); flush(reactive, 'changeA'); @@ -30,12 +30,14 @@ async function changeA(){ flush(reactive, 'changeA'); } -export default function Demo(){ +export default function Demo() { return (

update at {Date.now()}

{$(reactive.a)} -
+
+ +
); } @@ -47,13 +49,13 @@ export default function Demo(){ /** * defaultShowCode: true */ -import { flush, atomx, $ } from 'helux'; +import { $, atomx, flush } from 'helux'; -const ctx = atomx({a:1, b:2}); +const ctx = atomx({ a: 1, b: 2 }); const { reactive } = ctx; const ac = ctx.defineActions()({ - changeA: async function ({draft}){ + changeA: async function ({ draft }) { draft.a += 100; // or ctx.flush('changeA'); flush(draft, 'changeA'); @@ -62,13 +64,15 @@ const ac = ctx.defineActions()({ }, }); -export default function Demo(){ +export default function Demo() { return (

update at {Date.now()}

{$(reactive.a)} -
+
+ +
); } -``` \ No newline at end of file +``` diff --git a/docs-src/docs/api/utils/get-action-loading.md b/docs-src/docs/api/utils/get-action-loading.md index d01830b5..a60089d2 100644 --- a/docs-src/docs/api/utils/get-action-loading.md +++ b/docs-src/docs/api/utils/get-action-loading.md @@ -14,7 +14,7 @@ order: 2 ```ts import { share, action, getActionLoading } from 'helux'; -const { state } = sharex({a:1, b:2}); +const { state } = sharex({ a: 1, b: 2 }); const hiAction = action(state)()(({ draft, payload }) => { draft.a += 100; diff --git a/docs-src/docs/api/utils/get-atom.md b/docs-src/docs/api/utils/get-atom.md index 965a8391..7affae5a 100644 --- a/docs-src/docs/api/utils/get-atom.md +++ b/docs-src/docs/api/utils/get-atom.md @@ -7,15 +7,15 @@ order: 0 # getAtom -获取atom对象的真实值引用,对`atom`返回结果自动拆箱,对`share`返回结果则不拆箱 +获取 atom 对象的真实值引用,对`atom`返回结果自动拆箱,对`share`返回结果则不拆箱 ## 基础使用 ```ts import { atom, share, getAtom } from 'helux'; -const [ state1 ] = atom({a:1, b:2}); -const [ state2 ] = share({a:1, b:2}); +const [state1] = atom({ a: 1, b: 2 }); +const [state2] = share({ a: 1, b: 2 }); console.log(state1); // { val: {a:1, b:2} } console.log(state2); // {a:1, b:2} diff --git a/docs-src/docs/api/utils/get-derive-loading.md b/docs-src/docs/api/utils/get-derive-loading.md index 66be6b2f..5d841aad 100644 --- a/docs-src/docs/api/utils/get-derive-loading.md +++ b/docs-src/docs/api/utils/get-derive-loading.md @@ -28,5 +28,4 @@ const plus100Result = derive({ }); getDeriveLoading(plus100Result); // { loading, ok, err }; - -``` \ No newline at end of file +``` diff --git a/docs-src/docs/api/utils/get-snap.md b/docs-src/docs/api/utils/get-snap.md index 39e55142..f75efeb7 100644 --- a/docs-src/docs/api/utils/get-snap.md +++ b/docs-src/docs/api/utils/get-snap.md @@ -7,7 +7,7 @@ order: 1 # getSnap -获取atom对象的快照 +获取 atom 对象的快照 ```ts /** @@ -23,12 +23,12 @@ function getSnap(state: T, isPrevSnap?: boolean): T; ```ts import { getSnap, share } from 'helux'; -const { state, setDraft } = share({a:1, b:2}); +const { state, setDraft } = share({ a: 1, b: 2 }); console.log(getSnap(state)); // {a:1, b:2} console.log(state); // {a:1, b:2} -setDraft(draft=>draft.a=100); +setDraft((draft) => (draft.a = 100)); console.log(getSnap(state)); // {a:1, b:2} console.log(state); // {a:100, b:2} @@ -39,12 +39,12 @@ console.log(state); // {a:100, b:2} ```ts import { getSnap, share } from 'helux'; -const { state, setDraft } = share({a:1, b:2}); +const { state, setDraft } = share({ a: 1, b: 2 }); console.log(getSnap(state)); // {a:1, b:2} console.log(state); // {a:1, b:2} -setDraft(draft=>draft.a=100); +setDraft((draft) => (draft.a = 100)); console.log(getSnap(state, false)); // {a:100, b:2} ``` diff --git a/docs-src/docs/api/utils/init.md b/docs-src/docs/api/utils/init.md index 50018d8d..c2eb65ca 100644 --- a/docs-src/docs/api/utils/init.md +++ b/docs-src/docs/api/utils/init.md @@ -19,10 +19,8 @@ interface IInitOptions { */ isRootRender?: boolean; } - ``` - ## 基础使用 ### isRootRender @@ -35,5 +33,5 @@ interface IInitOptions { 此时用户可以设置 `isRootRender` 为 false 消除此错误提示。 ```ts -init({ isRootRender: false }) +init({ isRootRender: false }); ``` diff --git a/docs-src/docs/api/utils/is-atom.md b/docs-src/docs/api/utils/is-atom.md index 8a5d7872..38518cb0 100644 --- a/docs-src/docs/api/utils/is-atom.md +++ b/docs-src/docs/api/utils/is-atom.md @@ -14,8 +14,8 @@ order: 0 ```ts import { atom, share } from 'helux'; -const [ state1 ] = atom(1); -const [ state2 ] = share({a:1, b:2}); +const [state1] = atom(1); +const [state2] = share({ a: 1, b: 2 }); isAtom(state1); // true isAtom(state2); // false @@ -27,5 +27,5 @@ isAtom(state2); // false isAtom(1); // false isAtom(); // false isAtom([]); // false -isAtom({a:1}); // false +isAtom({ a: 1 }); // false ``` diff --git a/docs-src/docs/api/utils/is-derived-atom.md b/docs-src/docs/api/utils/is-derived-atom.md index b5f7259d..9eaa0d53 100644 --- a/docs-src/docs/api/utils/is-derived-atom.md +++ b/docs-src/docs/api/utils/is-derived-atom.md @@ -14,10 +14,10 @@ order: 1 ```ts import { atom, derive, deriveDict, isDerivedAtom } from 'helux'; -const [ state1 ] = atom(1); +const [state1] = atom(1); -const result1 = derive(()=> state1.val + 1); // { val: 2 } -const result2 = deriveDict(()=> ({num: state1.val + 1})); // { num: 2 } +const result1 = derive(() => state1.val + 1); // { val: 2 } +const result2 = deriveDict(() => ({ num: state1.val + 1 })); // { num: 2 } isDerivedAtom(result1); // true isDerivedAtom(result2); // false @@ -29,6 +29,5 @@ isDerivedAtom(result2); // false isDerivedAtom(1); // false isDerivedAtom(); // false isDerivedAtom([]); // false -isDerivedAtom({a:1}); // false +isDerivedAtom({ a: 1 }); // false ``` - diff --git a/docs-src/docs/api/utils/is-diff.md b/docs-src/docs/api/utils/is-diff.md index ff56edfd..7ed29176 100644 --- a/docs-src/docs/api/utils/is-diff.md +++ b/docs-src/docs/api/utils/is-diff.md @@ -20,7 +20,7 @@ isDiff(1, 1); // true isDiff(1, 2); // false ``` -### 比较atom子节点 +### 比较 atom 子节点 `atom`对象型节点可借助`isDiff`函数比较是否相等,因节点是代理对象,直接比较的话,它们始终是不相等的,而 isDiff 函数内部会比较数据版本号并给出正确的结果 @@ -35,4 +35,3 @@ const { b: newB, c: newC } = state1.val; isDiff(b, newB); // true isDiff(c, newC); // false,c 节点未发生过变化 ``` - diff --git a/docs-src/docs/api/utils/reactive-desc.md b/docs-src/docs/api/utils/reactive-desc.md index 2769da17..88b8bbb9 100644 --- a/docs-src/docs/api/utils/reactive-desc.md +++ b/docs-src/docs/api/utils/reactive-desc.md @@ -9,7 +9,8 @@ order: 4 为`reactive`对象的最近一次变更添加提交描述,方便`helux-devtool`可追溯变更记录 -___ +--- + :::info 建议使用`actions`修改状态,可参考[模块化/defineActions](/guide/modular#defineactions) ::: @@ -19,11 +20,11 @@ ___ ```ts import { reactiveDesc, atomx } from 'helux'; -const ctx = atomx({a:1, b:2}); +const ctx = atomx({ a: 1, b: 2 }); const { reactive } = ctx; -async function changeA(){ +async function changeA() { reactive.a += 100; reactiveDesc('changeA'); } -``` \ No newline at end of file +``` diff --git a/docs/404.html b/docs/404.html index ce7162b2..be58ceb3 100644 --- a/docs/404.html +++ b/docs/404.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/action/index.html b/docs/api/atom-ctx/action/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/action/index.html +++ b/docs/api/atom-ctx/action/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/attrs/index.html b/docs/api/atom-ctx/attrs/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/attrs/index.html +++ b/docs/api/atom-ctx/attrs/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/define-actions/index.html b/docs/api/atom-ctx/define-actions/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/define-actions/index.html +++ b/docs/api/atom-ctx/define-actions/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/define-full-derive/index.html b/docs/api/atom-ctx/define-full-derive/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/define-full-derive/index.html +++ b/docs/api/atom-ctx/define-full-derive/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/define-mutate-derive/index.html b/docs/api/atom-ctx/define-mutate-derive/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/define-mutate-derive/index.html +++ b/docs/api/atom-ctx/define-mutate-derive/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/define-mutate-self/index.html b/docs/api/atom-ctx/define-mutate-self/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/define-mutate-self/index.html +++ b/docs/api/atom-ctx/define-mutate-self/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/define-tp-actions/index.html b/docs/api/atom-ctx/define-tp-actions/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/define-tp-actions/index.html +++ b/docs/api/atom-ctx/define-tp-actions/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/flush/index.html b/docs/api/atom-ctx/flush/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/flush/index.html +++ b/docs/api/atom-ctx/flush/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/get-action-loading/index.html b/docs/api/atom-ctx/get-action-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/get-action-loading/index.html +++ b/docs/api/atom-ctx/get-action-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/get-mutate-loading/index.html b/docs/api/atom-ctx/get-mutate-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/get-mutate-loading/index.html +++ b/docs/api/atom-ctx/get-mutate-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/index.html b/docs/api/atom-ctx/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/index.html +++ b/docs/api/atom-ctx/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/mutate/index.html b/docs/api/atom-ctx/mutate/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/mutate/index.html +++ b/docs/api/atom-ctx/mutate/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/reactive-desc/index.html b/docs/api/atom-ctx/reactive-desc/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/reactive-desc/index.html +++ b/docs/api/atom-ctx/reactive-desc/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/run-mutate-task/index.html b/docs/api/atom-ctx/run-mutate-task/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/run-mutate-task/index.html +++ b/docs/api/atom-ctx/run-mutate-task/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/run-mutate/index.html b/docs/api/atom-ctx/run-mutate/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/run-mutate/index.html +++ b/docs/api/atom-ctx/run-mutate/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/set-draft/index.html b/docs/api/atom-ctx/set-draft/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/set-draft/index.html +++ b/docs/api/atom-ctx/set-draft/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/set-state/index.html b/docs/api/atom-ctx/set-state/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/set-state/index.html +++ b/docs/api/atom-ctx/set-state/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/sync/index.html b/docs/api/atom-ctx/sync/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/sync/index.html +++ b/docs/api/atom-ctx/sync/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/syncer/index.html b/docs/api/atom-ctx/syncer/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/syncer/index.html +++ b/docs/api/atom-ctx/syncer/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/use-action-loading/index.html b/docs/api/atom-ctx/use-action-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/use-action-loading/index.html +++ b/docs/api/atom-ctx/use-action-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/use-force-update/index.html b/docs/api/atom-ctx/use-force-update/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/use-force-update/index.html +++ b/docs/api/atom-ctx/use-force-update/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/use-local-force-update/index.html b/docs/api/atom-ctx/use-local-force-update/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/use-local-force-update/index.html +++ b/docs/api/atom-ctx/use-local-force-update/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/use-local-state/index.html b/docs/api/atom-ctx/use-local-state/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/use-local-state/index.html +++ b/docs/api/atom-ctx/use-local-state/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/use-mutate-loading/index.html b/docs/api/atom-ctx/use-mutate-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/use-mutate-loading/index.html +++ b/docs/api/atom-ctx/use-mutate-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/use-reactive/index.html b/docs/api/atom-ctx/use-reactive/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/use-reactive/index.html +++ b/docs/api/atom-ctx/use-reactive/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/use-state-x/index.html b/docs/api/atom-ctx/use-state-x/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/use-state-x/index.html +++ b/docs/api/atom-ctx/use-state-x/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/atom-ctx/use-state/index.html b/docs/api/atom-ctx/use-state/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/atom-ctx/use-state/index.html +++ b/docs/api/atom-ctx/use-state/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/action/index.html b/docs/api/base/action/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/action/index.html +++ b/docs/api/base/action/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/atom/index.html b/docs/api/base/atom/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/atom/index.html +++ b/docs/api/base/atom/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/atomx/index.html b/docs/api/base/atomx/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/atomx/index.html +++ b/docs/api/base/atomx/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/block/index.html b/docs/api/base/block/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/block/index.html +++ b/docs/api/base/block/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/define-derive-task/index.html b/docs/api/base/define-derive-task/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/define-derive-task/index.html +++ b/docs/api/base/define-derive-task/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/define-drive-fn-item/index.html b/docs/api/base/define-drive-fn-item/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/define-drive-fn-item/index.html +++ b/docs/api/base/define-drive-fn-item/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/derive-dict/index.html b/docs/api/base/derive-dict/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/derive-dict/index.html +++ b/docs/api/base/derive-dict/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/derive/index.html b/docs/api/base/derive/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/derive/index.html +++ b/docs/api/base/derive/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/dynamic-block/index.html b/docs/api/base/dynamic-block/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/dynamic-block/index.html +++ b/docs/api/base/dynamic-block/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/emit/index.html b/docs/api/base/emit/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/emit/index.html +++ b/docs/api/base/emit/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/index.html b/docs/api/base/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/index.html +++ b/docs/api/base/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/mutate-dict/index.html b/docs/api/base/mutate-dict/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/mutate-dict/index.html +++ b/docs/api/base/mutate-dict/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/mutate/index.html b/docs/api/base/mutate/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/mutate/index.html +++ b/docs/api/base/mutate/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/on/index.html b/docs/api/base/on/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/on/index.html +++ b/docs/api/base/on/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/run-derive-task/index.html b/docs/api/base/run-derive-task/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/run-derive-task/index.html +++ b/docs/api/base/run-derive-task/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/run-derive/index.html b/docs/api/base/run-derive/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/run-derive/index.html +++ b/docs/api/base/run-derive/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/run-mutate-task/index.html b/docs/api/base/run-mutate-task/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/run-mutate-task/index.html +++ b/docs/api/base/run-mutate-task/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/run-mutate/index.html b/docs/api/base/run-mutate/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/run-mutate/index.html +++ b/docs/api/base/run-mutate/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/share/index.html b/docs/api/base/share/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/share/index.html +++ b/docs/api/base/share/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/sharex/index.html b/docs/api/base/sharex/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/sharex/index.html +++ b/docs/api/base/sharex/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/signal/index.html b/docs/api/base/signal/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/signal/index.html +++ b/docs/api/base/signal/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/sync/index.html b/docs/api/base/sync/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/sync/index.html +++ b/docs/api/base/sync/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/syncer/index.html b/docs/api/base/syncer/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/syncer/index.html +++ b/docs/api/base/syncer/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/base/watch/index.html b/docs/api/base/watch/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/base/watch/index.html +++ b/docs/api/base/watch/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/index.html b/docs/api/hooks/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/index.html +++ b/docs/api/hooks/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-action-loading/index.html b/docs/api/hooks/use-action-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-action-loading/index.html +++ b/docs/api/hooks/use-action-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-atom-x/index.html b/docs/api/hooks/use-atom-x/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-atom-x/index.html +++ b/docs/api/hooks/use-atom-x/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-atom/index.html b/docs/api/hooks/use-atom/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-atom/index.html +++ b/docs/api/hooks/use-atom/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-derived/index.html b/docs/api/hooks/use-derived/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-derived/index.html +++ b/docs/api/hooks/use-derived/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-global-force-update/index.html b/docs/api/hooks/use-global-force-update/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-global-force-update/index.html +++ b/docs/api/hooks/use-global-force-update/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-global-id/index.html b/docs/api/hooks/use-global-id/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-global-id/index.html +++ b/docs/api/hooks/use-global-id/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-local-force-update/index.html b/docs/api/hooks/use-local-force-update/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-local-force-update/index.html +++ b/docs/api/hooks/use-local-force-update/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-mutable/index.html b/docs/api/hooks/use-mutable/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-mutable/index.html +++ b/docs/api/hooks/use-mutable/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-mutate-loading/index.html b/docs/api/hooks/use-mutate-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-mutate-loading/index.html +++ b/docs/api/hooks/use-mutate-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-on-event/index.html b/docs/api/hooks/use-on-event/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-on-event/index.html +++ b/docs/api/hooks/use-on-event/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-reactive-x/index.html b/docs/api/hooks/use-reactive-x/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-reactive-x/index.html +++ b/docs/api/hooks/use-reactive-x/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-reactive/index.html b/docs/api/hooks/use-reactive/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-reactive/index.html +++ b/docs/api/hooks/use-reactive/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-service/index.html b/docs/api/hooks/use-service/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-service/index.html +++ b/docs/api/hooks/use-service/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/hooks/use-watch/index.html b/docs/api/hooks/use-watch/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/hooks/use-watch/index.html +++ b/docs/api/hooks/use-watch/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/index.html b/docs/api/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/add-middleware/index.html b/docs/api/utils/add-middleware/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/add-middleware/index.html +++ b/docs/api/utils/add-middleware/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/add-plugin/index.html b/docs/api/utils/add-plugin/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/add-plugin/index.html +++ b/docs/api/utils/add-plugin/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/cst/index.html b/docs/api/utils/cst/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/cst/index.html +++ b/docs/api/utils/cst/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/flush/index.html b/docs/api/utils/flush/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/flush/index.html +++ b/docs/api/utils/flush/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/get-action-loading/index.html b/docs/api/utils/get-action-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/get-action-loading/index.html +++ b/docs/api/utils/get-action-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/get-atom/index.html b/docs/api/utils/get-atom/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/get-atom/index.html +++ b/docs/api/utils/get-atom/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/get-derive-loading/index.html b/docs/api/utils/get-derive-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/get-derive-loading/index.html +++ b/docs/api/utils/get-derive-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/get-mutate-loading/index.html b/docs/api/utils/get-mutate-loading/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/get-mutate-loading/index.html +++ b/docs/api/utils/get-mutate-loading/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/get-snap/index.html b/docs/api/utils/get-snap/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/get-snap/index.html +++ b/docs/api/utils/get-snap/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/index.html b/docs/api/utils/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/index.html +++ b/docs/api/utils/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/init/index.html b/docs/api/utils/init/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/init/index.html +++ b/docs/api/utils/init/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/is-atom/index.html b/docs/api/utils/is-atom/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/is-atom/index.html +++ b/docs/api/utils/is-atom/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/is-derived-atom/index.html b/docs/api/utils/is-derived-atom/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/is-derived-atom/index.html +++ b/docs/api/utils/is-derived-atom/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/is-diff/index.html b/docs/api/utils/is-diff/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/is-diff/index.html +++ b/docs/api/utils/is-diff/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/reactive-desc/index.html b/docs/api/utils/reactive-desc/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/reactive-desc/index.html +++ b/docs/api/utils/reactive-desc/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/api/utils/shallow-compare/index.html b/docs/api/utils/shallow-compare/index.html index ce7162b2..be58ceb3 100644 --- a/docs/api/utils/shallow-compare/index.html +++ b/docs/api/utils/shallow-compare/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/docs__api__base__action.md.2264618c.async.js b/docs/docs__api__base__action.md.2264618c.async.js new file mode 100644 index 00000000..7c99a4c3 --- /dev/null +++ b/docs/docs__api__base__action.md.2264618c.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkhelux_docs=self.webpackChunkhelux_docs||[]).push([[4371],{16342:function(S,j,n){n.r(j);var D=n(4311),C=n(53267),E=n(82197),O=n(12620),g=n(74692),T=n(33296),L=n(12133),y=n(54996),M=n(70079),t=n(35250);function A(){var P=(0,y.eL)(),r=P.texts;return(0,t.jsx)(y.dY,{children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h1",{id:"action",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#action",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"action"]}),(0,t.jsxs)("p",{children:[r[0].value,(0,t.jsx)("code",{children:r[1].value}),r[2].value,(0,t.jsx)("code",{children:r[3].value}),r[4].value]}),(0,t.jsx)("hr",{})]}),(0,t.jsx)(E.Z,{type:"info",children:(0,t.jsxs)("p",{children:[r[5].value,(0,t.jsx)(y.rU,{to:"/guide/action",children:r[6].value})]})}),(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h2",{id:"\u57FA\u7840\u7528\u6CD5",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u57FA\u7840\u7528\u6CD5",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u57FA\u7840\u7528\u6CD5"]}),(0,t.jsxs)("h3",{id:"\u521B\u5EFA\u540C\u6B65-action",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u521B\u5EFA\u540C\u6B65-action",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u521B\u5EFA\u540C\u6B65 action"]}),(0,t.jsx)(g.Z,{lang:"ts",children:r[7].value}),(0,t.jsxs)("p",{children:[r[8].value,(0,t.jsx)("code",{children:r[9].value}),r[10].value]}),(0,t.jsx)(g.Z,{lang:"ts",children:r[11].value}),(0,t.jsxs)("h3",{id:"\u521B\u5EFA\u5F02\u6B65-action",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u521B\u5EFA\u5F02\u6B65-action",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u521B\u5EFA\u5F02\u6B65 action"]}),(0,t.jsx)("p",{children:r[12].value}),(0,t.jsx)(g.Z,{lang:"ts",children:r[13].value})]})]})})}j.default=A},4311:function(S,j,n){var D=n(39114),C=n.n(D),E=n(70125),O=n.n(E),g=n(54996),T=n(70079),L=n(33296),y=n(35250),M={toString:function(e){return typeof e.type=="string"&&e.type in this?"enum"in e?this.enum(e):this[e.type](e):e.type?this.getValidClassName(e)||e.type:"const"in e?"".concat(e.const):"oneOf"in e?this.oneOf(e):"unknown"},string:function(e){return e.type},number:function(e){return e.type},boolean:function(e){return e.type},any:function(e){return e.type},object:function(e){var s=this,o=[];return Object.entries(e.properties||{}).forEach(function(f){var l,c=O()(f,2),h=c[0],_=c[1];o.push("".concat(h).concat((l=e.required)!==null&&l!==void 0&&l.includes(h)?"":"?",": ").concat(_.type==="object"?"object":s.toString(_)))}),o.length?"{ ".concat(o.join("; ")," }"):"{}"},array:function(e){if(e.items){var s=this.getValidClassName(e.items);return s?"".concat(s,"[]"):"".concat(this.toString(e.items),"[]")}return"any[]"},element:function(e){return"<".concat(e.componentName," />")},function:function(e){var s=this,o=e.signature;if(!o)return"Function";var f="oneOf"in o?o.oneOf:[o];return f.map(function(l){return"".concat(l.isAsync?"async ":"","(").concat(l.arguments.map(function(c){return"".concat(c.key,": ").concat(s.toString(c))}).join(", "),") => ").concat(s.toString(l.returnType))}).join(" | ")},dom:function(e){return e.className||"DOM"},enum:function(e){return e.enum.map(function(s){return JSON.stringify(s)}).join(" | ")},oneOf:function(e){var s=this;return e.oneOf.map(function(o){return s.getValidClassName(o)||s.toString(o)}).join(" | ")},getValidClassName:function(e){return"className"in e&&typeof e.className=="string"&&e.className!=="__type"?e.className:null}},t=function(e){var s=useState(function(){return M.toString(e)}),o=_slicedToArray(s,2),f=o[0],l=o[1];return useEffect(function(){l(M.toString(e))},[e]),_jsx("code",{children:f})},A=function(e){var s,o=useRouteMeta(),f=o.frontmatter,l=useAtomAssets(),c=l.components,h=e.id||f.atomId,_=useIntl();if(!h)throw new Error("`id` properties if required for API component!");var p=c==null?void 0:c[h];return _jsx("div",{className:"markdown",children:_jsxs(Table,{children:[_jsx("thead",{children:_jsxs("tr",{children:[_jsx("th",{children:_.formatMessage({id:"api.component.name"})}),_jsx("th",{children:_.formatMessage({id:"api.component.description"})}),_jsx("th",{children:_.formatMessage({id:"api.component.type"})}),_jsx("th",{children:_.formatMessage({id:"api.component.default"})})]})}),_jsx("tbody",{children:p&&(s=p.propsConfig)!==null&&s!==void 0&&s.properties?Object.entries(p.propsConfig.properties).map(function(m){var v,d=_slicedToArray(m,2),i=d[0],a=d[1];return _jsxs("tr",{children:[_jsx("td",{children:i}),_jsx("td",{children:a.description||"--"}),_jsx("td",{children:_jsx(t,_objectSpread({},a))}),_jsx("td",{children:_jsx("code",{children:(v=p.propsConfig.required)!==null&&v!==void 0&&v.includes(i)?_.formatMessage({id:"api.component.required"}):JSON.stringify(a.default)||"--"})})]},i)}):_jsx("tr",{children:_jsx("td",{colSpan:4,children:_.formatMessage({id:"api.component.".concat(c?"not.found":"unavailable")},{id:h})})})})]})})},P=null},53267:function(S,j,n){var D=n(39114),C=n(35250),E=function(T){return _jsx("span",_objectSpread({className:"dumi-default-badge"},T))},O=null},33296:function(S,j,n){var D=n(39114),C=n(70125),E=n(11221),O=n(14315),g=n(70079),T=n(35250),L=null,y=function(A){var P=A.children,r=_objectWithoutProperties(A,L),e=useRef(null),s=useState(!1),o=_slicedToArray(s,2),f=o[0],l=o[1],c=useState(!1),h=_slicedToArray(c,2),_=h[0],p=h[1];return useEffect(function(){var m=e.current;if(m){var v=throttle(function(){l(m.scrollLeft>0),p(m.scrollLeft1&&arguments[1]!==void 0?arguments[1]:"",a=[];return[].concat(d).forEach(function(u,I){var x="".concat(i?"".concat(i,"-"):"").concat(I);switch(u==null?void 0:u.type){case"ul":{var b,N=((b=a[a.length-1])===null||b===void 0?void 0:b.children)||a,U=s(u.props.children||[],x);N.push.apply(N,T()(U));break}case"li":{var B=s(u.props.children,x);a.push({title:[].concat(u.props.children).filter(function(R){return R.type!=="ul"}),key:x,children:B,isLeaf:!B.length});break}default:}}),a}var o=function(i){var a=(0,r.useState)(s(i)),u=O()(a,2),I=u[0],x=u[1];return(0,r.useEffect)(function(){x(s(i))},[i]),I},f=function(i){var a=i.isLeaf,u=i.expanded;return a?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(L.r,{fill:"currentColor"})}):u?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(y.r,{fill:"currentColor"})}):(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(M.r,{fill:"currentColor"})})},l=function(i){var a=i.isLeaf,u=i.expanded;return a?(0,e.jsx)("span",{className:"tree-switcher-leaf-line"}):u?(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(t.r,{fill:"currentColor"})})}):(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(A.r,{fill:"currentColor"})})})},c=function(){return{height:0,opacity:0}},h=function(i){var a=i.scrollHeight;return{height:a,opacity:1}},_=function(i){return{height:i?i.offsetHeight:0}},p=function(i,a){return(a==null?void 0:a.deadline)===!0||a.propertyName==="height"},m={motionName:"ant-motion-collapse",onAppearStart:c,onEnterStart:c,onAppearActive:h,onEnterActive:h,onLeaveStart:_,onLeaveActive:c,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500},v=function(d){var i=o(d.children),a=(0,r.createRef)(),u=function(x,b){var N=b.isLeaf;N||x.shiftKey||x.metaKey||x.ctrlKey||a.current.onNodeExpand(x,b)};return(0,e.jsx)(P.Z,{className:"dumi-default-tree",icon:f,ref:a,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:C()(C()({},m),{},{motionAppear:!1}),onClick:u,treeData:[{key:"0",title:d.title||"",children:i}],defaultExpandAll:!0,switcherIcon:l})}}}]); diff --git a/docs/docs__api__base__action.md.f1e28807.async.js b/docs/docs__api__base__action.md.f1e28807.async.js deleted file mode 100644 index 5870baaf..00000000 --- a/docs/docs__api__base__action.md.f1e28807.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkhelux_docs=self.webpackChunkhelux_docs||[]).push([[4371],{16342:function(S,j,n){n.r(j);var D=n(4311),C=n(53267),E=n(82197),O=n(12620),g=n(74692),T=n(33296),L=n(12133),y=n(54996),M=n(70079),t=n(35250);function A(){var P=(0,y.eL)(),r=P.texts;return(0,t.jsx)(y.dY,{children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h1",{id:"action",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#action",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"action"]}),(0,t.jsxs)("p",{children:[r[0].value,(0,t.jsx)("code",{children:r[1].value}),r[2].value,(0,t.jsx)("code",{children:r[3].value}),r[4].value]}),(0,t.jsx)("hr",{})]}),(0,t.jsx)(E.Z,{type:"info",children:(0,t.jsxs)("p",{children:[r[5].value,(0,t.jsx)(y.rU,{to:"/guide/action",children:r[6].value})]})}),(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h2",{id:"\u57FA\u7840\u7528\u6CD5",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u57FA\u7840\u7528\u6CD5",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u57FA\u7840\u7528\u6CD5"]}),(0,t.jsxs)("h3",{id:"\u521B\u5EFA\u540C\u6B65action",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u521B\u5EFA\u540C\u6B65action",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u521B\u5EFA\u540C\u6B65action"]}),(0,t.jsx)(g.Z,{lang:"ts",children:r[7].value}),(0,t.jsxs)("p",{children:[r[8].value,(0,t.jsx)("code",{children:r[9].value}),r[10].value]}),(0,t.jsx)(g.Z,{lang:"ts",children:r[11].value}),(0,t.jsxs)("h3",{id:"\u521B\u5EFA\u5F02\u6B65action",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u521B\u5EFA\u5F02\u6B65action",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u521B\u5EFA\u5F02\u6B65action"]}),(0,t.jsx)("p",{children:r[12].value}),(0,t.jsx)(g.Z,{lang:"ts",children:r[13].value})]})]})})}j.default=A},4311:function(S,j,n){var D=n(39114),C=n.n(D),E=n(70125),O=n.n(E),g=n(54996),T=n(70079),L=n(33296),y=n(35250),M={toString:function(e){return typeof e.type=="string"&&e.type in this?"enum"in e?this.enum(e):this[e.type](e):e.type?this.getValidClassName(e)||e.type:"const"in e?"".concat(e.const):"oneOf"in e?this.oneOf(e):"unknown"},string:function(e){return e.type},number:function(e){return e.type},boolean:function(e){return e.type},any:function(e){return e.type},object:function(e){var s=this,o=[];return Object.entries(e.properties||{}).forEach(function(f){var l,c=O()(f,2),h=c[0],_=c[1];o.push("".concat(h).concat((l=e.required)!==null&&l!==void 0&&l.includes(h)?"":"?",": ").concat(_.type==="object"?"object":s.toString(_)))}),o.length?"{ ".concat(o.join("; ")," }"):"{}"},array:function(e){if(e.items){var s=this.getValidClassName(e.items);return s?"".concat(s,"[]"):"".concat(this.toString(e.items),"[]")}return"any[]"},element:function(e){return"<".concat(e.componentName," />")},function:function(e){var s=this,o=e.signature;if(!o)return"Function";var f="oneOf"in o?o.oneOf:[o];return f.map(function(l){return"".concat(l.isAsync?"async ":"","(").concat(l.arguments.map(function(c){return"".concat(c.key,": ").concat(s.toString(c))}).join(", "),") => ").concat(s.toString(l.returnType))}).join(" | ")},dom:function(e){return e.className||"DOM"},enum:function(e){return e.enum.map(function(s){return JSON.stringify(s)}).join(" | ")},oneOf:function(e){var s=this;return e.oneOf.map(function(o){return s.getValidClassName(o)||s.toString(o)}).join(" | ")},getValidClassName:function(e){return"className"in e&&typeof e.className=="string"&&e.className!=="__type"?e.className:null}},t=function(e){var s=useState(function(){return M.toString(e)}),o=_slicedToArray(s,2),f=o[0],l=o[1];return useEffect(function(){l(M.toString(e))},[e]),_jsx("code",{children:f})},A=function(e){var s,o=useRouteMeta(),f=o.frontmatter,l=useAtomAssets(),c=l.components,h=e.id||f.atomId,_=useIntl();if(!h)throw new Error("`id` properties if required for API component!");var p=c==null?void 0:c[h];return _jsx("div",{className:"markdown",children:_jsxs(Table,{children:[_jsx("thead",{children:_jsxs("tr",{children:[_jsx("th",{children:_.formatMessage({id:"api.component.name"})}),_jsx("th",{children:_.formatMessage({id:"api.component.description"})}),_jsx("th",{children:_.formatMessage({id:"api.component.type"})}),_jsx("th",{children:_.formatMessage({id:"api.component.default"})})]})}),_jsx("tbody",{children:p&&(s=p.propsConfig)!==null&&s!==void 0&&s.properties?Object.entries(p.propsConfig.properties).map(function(m){var v,d=_slicedToArray(m,2),i=d[0],a=d[1];return _jsxs("tr",{children:[_jsx("td",{children:i}),_jsx("td",{children:a.description||"--"}),_jsx("td",{children:_jsx(t,_objectSpread({},a))}),_jsx("td",{children:_jsx("code",{children:(v=p.propsConfig.required)!==null&&v!==void 0&&v.includes(i)?_.formatMessage({id:"api.component.required"}):JSON.stringify(a.default)||"--"})})]},i)}):_jsx("tr",{children:_jsx("td",{colSpan:4,children:_.formatMessage({id:"api.component.".concat(c?"not.found":"unavailable")},{id:h})})})})]})})},P=null},53267:function(S,j,n){var D=n(39114),C=n(35250),E=function(T){return _jsx("span",_objectSpread({className:"dumi-default-badge"},T))},O=null},33296:function(S,j,n){var D=n(39114),C=n(70125),E=n(11221),O=n(14315),g=n(70079),T=n(35250),L=null,y=function(A){var P=A.children,r=_objectWithoutProperties(A,L),e=useRef(null),s=useState(!1),o=_slicedToArray(s,2),f=o[0],l=o[1],c=useState(!1),h=_slicedToArray(c,2),_=h[0],p=h[1];return useEffect(function(){var m=e.current;if(m){var v=throttle(function(){l(m.scrollLeft>0),p(m.scrollLeft1&&arguments[1]!==void 0?arguments[1]:"",a=[];return[].concat(d).forEach(function(u,I){var x="".concat(i?"".concat(i,"-"):"").concat(I);switch(u==null?void 0:u.type){case"ul":{var b,N=((b=a[a.length-1])===null||b===void 0?void 0:b.children)||a,U=s(u.props.children||[],x);N.push.apply(N,T()(U));break}case"li":{var B=s(u.props.children,x);a.push({title:[].concat(u.props.children).filter(function(R){return R.type!=="ul"}),key:x,children:B,isLeaf:!B.length});break}default:}}),a}var o=function(i){var a=(0,r.useState)(s(i)),u=O()(a,2),I=u[0],x=u[1];return(0,r.useEffect)(function(){x(s(i))},[i]),I},f=function(i){var a=i.isLeaf,u=i.expanded;return a?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(L.r,{fill:"currentColor"})}):u?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(y.r,{fill:"currentColor"})}):(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(M.r,{fill:"currentColor"})})},l=function(i){var a=i.isLeaf,u=i.expanded;return a?(0,e.jsx)("span",{className:"tree-switcher-leaf-line"}):u?(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(t.r,{fill:"currentColor"})})}):(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(A.r,{fill:"currentColor"})})})},c=function(){return{height:0,opacity:0}},h=function(i){var a=i.scrollHeight;return{height:a,opacity:1}},_=function(i){return{height:i?i.offsetHeight:0}},p=function(i,a){return(a==null?void 0:a.deadline)===!0||a.propertyName==="height"},m={motionName:"ant-motion-collapse",onAppearStart:c,onEnterStart:c,onAppearActive:h,onEnterActive:h,onLeaveStart:_,onLeaveActive:c,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500},v=function(d){var i=o(d.children),a=(0,r.createRef)(),u=function(x,b){var N=b.isLeaf;N||x.shiftKey||x.metaKey||x.ctrlKey||a.current.onNodeExpand(x,b)};return(0,e.jsx)(P.Z,{className:"dumi-default-tree",icon:f,ref:a,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:C()(C()({},m),{},{motionAppear:!1}),onClick:u,treeData:[{key:"0",title:d.title||"",children:i}],defaultExpandAll:!0,switcherIcon:l})}}}]); diff --git a/docs/docs__api__hooks__use-watch.md.a21481df.async.js b/docs/docs__api__hooks__use-watch.md.a21481df.async.js new file mode 100644 index 00000000..1aad2507 --- /dev/null +++ b/docs/docs__api__hooks__use-watch.md.a21481df.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkhelux_docs=self.webpackChunkhelux_docs||[]).push([[5576],{80479:function(L,y,n){n.r(y);var C=n(4311),D=n(53267),g=n(82197),A=n(12620),P=n(74692),O=n(33296),S=n(12133),p=n(54996),T=n(70079),t=n(35250);function E(){var M=(0,p.eL)(),r=M.texts;return(0,t.jsx)(p.dY,{children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h1",{id:"usewatch",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#usewatch",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"useWatch"]}),(0,t.jsx)("p",{children:r[0].value}),(0,t.jsx)("p",{children:r[1].value}),(0,t.jsx)(P.Z,{lang:"ts",children:r[2].value}),(0,t.jsxs)("h2",{id:"\u57FA\u7840\u7528\u6CD5",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u57FA\u7840\u7528\u6CD5",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u57FA\u7840\u7528\u6CD5"]}),(0,t.jsxs)("h3",{id:"\u89C2\u5BDF\u539F\u59CB\u7C7B\u578B-atom",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u89C2\u5BDF\u539F\u59CB\u7C7B\u578B-atom",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u89C2\u5BDF\u539F\u59CB\u7C7B\u578B atom"]})]}),(0,t.jsx)(p.Dl,{demo:{id:"docs-api-hooks-use-watch-demo-0"},previewerProps:{defaultShowCode:!0}}),(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h3",{id:"\u89C2\u5BDF\u5B57\u5178\u7C7B\u578B-atom",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u89C2\u5BDF\u5B57\u5178\u7C7B\u578B-atom",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u89C2\u5BDF\u5B57\u5178\u7C7B\u578B atom"]}),(0,t.jsx)("p",{children:r[3].value})]}),(0,t.jsx)(p.Dl,{demo:{id:"docs-api-hooks-use-watch-demo-1"},previewerProps:{defaultShowCode:!0}}),(0,t.jsx)("div",{className:"markdown",children:(0,t.jsx)("p",{children:r[4].value})}),(0,t.jsx)(g.Z,{type:"info",children:(0,t.jsxs)("p",{children:[r[5].value,(0,t.jsx)("code",{children:r[6].value}),r[7].value]})}),(0,t.jsx)(p.Dl,{demo:{id:"docs-api-hooks-use-watch-demo-2"},previewerProps:{defaultShowCode:!0}}),(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h3",{id:"\u65E0\u95ED\u5305\u9677\u9631",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u65E0\u95ED\u5305\u9677\u9631",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u65E0\u95ED\u5305\u9677\u9631"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("code",{children:r[8].value}),r[9].value]})]}),(0,t.jsx)(g.Z,{type:"info",children:(0,t.jsxs)("p",{children:[r[10].value,(0,t.jsx)("code",{children:r[11].value}),r[12].value,(0,t.jsx)("code",{children:r[13].value}),r[14].value,(0,t.jsx)("code",{children:r[15].value}),r[16].value]})}),(0,t.jsx)(p.Dl,{demo:{id:"docs-api-hooks-use-watch-demo-3"},previewerProps:{defaultShowCode:!0}})]})})}y.default=E},4311:function(L,y,n){var C=n(39114),D=n.n(C),g=n(70125),A=n.n(g),P=n(54996),O=n(70079),S=n(33296),p=n(35250),T={toString:function(e){return typeof e.type=="string"&&e.type in this?"enum"in e?this.enum(e):this[e.type](e):e.type?this.getValidClassName(e)||e.type:"const"in e?"".concat(e.const):"oneOf"in e?this.oneOf(e):"unknown"},string:function(e){return e.type},number:function(e){return e.type},boolean:function(e){return e.type},any:function(e){return e.type},object:function(e){var s=this,o=[];return Object.entries(e.properties||{}).forEach(function(f){var c,u=A()(f,2),h=u[0],_=u[1];o.push("".concat(h).concat((c=e.required)!==null&&c!==void 0&&c.includes(h)?"":"?",": ").concat(_.type==="object"?"object":s.toString(_)))}),o.length?"{ ".concat(o.join("; ")," }"):"{}"},array:function(e){if(e.items){var s=this.getValidClassName(e.items);return s?"".concat(s,"[]"):"".concat(this.toString(e.items),"[]")}return"any[]"},element:function(e){return"<".concat(e.componentName," />")},function:function(e){var s=this,o=e.signature;if(!o)return"Function";var f="oneOf"in o?o.oneOf:[o];return f.map(function(c){return"".concat(c.isAsync?"async ":"","(").concat(c.arguments.map(function(u){return"".concat(u.key,": ").concat(s.toString(u))}).join(", "),") => ").concat(s.toString(c.returnType))}).join(" | ")},dom:function(e){return e.className||"DOM"},enum:function(e){return e.enum.map(function(s){return JSON.stringify(s)}).join(" | ")},oneOf:function(e){var s=this;return e.oneOf.map(function(o){return s.getValidClassName(o)||s.toString(o)}).join(" | ")},getValidClassName:function(e){return"className"in e&&typeof e.className=="string"&&e.className!=="__type"?e.className:null}},t=function(e){var s=useState(function(){return T.toString(e)}),o=_slicedToArray(s,2),f=o[0],c=o[1];return useEffect(function(){c(T.toString(e))},[e]),_jsx("code",{children:f})},E=function(e){var s,o=useRouteMeta(),f=o.frontmatter,c=useAtomAssets(),u=c.components,h=e.id||f.atomId,_=useIntl();if(!h)throw new Error("`id` properties if required for API component!");var x=u==null?void 0:u[h];return _jsx("div",{className:"markdown",children:_jsxs(Table,{children:[_jsx("thead",{children:_jsxs("tr",{children:[_jsx("th",{children:_.formatMessage({id:"api.component.name"})}),_jsx("th",{children:_.formatMessage({id:"api.component.description"})}),_jsx("th",{children:_.formatMessage({id:"api.component.type"})}),_jsx("th",{children:_.formatMessage({id:"api.component.default"})})]})}),_jsx("tbody",{children:x&&(s=x.propsConfig)!==null&&s!==void 0&&s.properties?Object.entries(x.propsConfig.properties).map(function(m){var v,d=_slicedToArray(m,2),i=d[0],a=d[1];return _jsxs("tr",{children:[_jsx("td",{children:i}),_jsx("td",{children:a.description||"--"}),_jsx("td",{children:_jsx(t,_objectSpread({},a))}),_jsx("td",{children:_jsx("code",{children:(v=x.propsConfig.required)!==null&&v!==void 0&&v.includes(i)?_.formatMessage({id:"api.component.required"}):JSON.stringify(a.default)||"--"})})]},i)}):_jsx("tr",{children:_jsx("td",{colSpan:4,children:_.formatMessage({id:"api.component.".concat(u?"not.found":"unavailable")},{id:h})})})})]})})},M=null},53267:function(L,y,n){var C=n(39114),D=n(35250),g=function(O){return _jsx("span",_objectSpread({className:"dumi-default-badge"},O))},A=null},33296:function(L,y,n){var C=n(39114),D=n(70125),g=n(11221),A=n(14315),P=n(70079),O=n(35250),S=null,p=function(E){var M=E.children,r=_objectWithoutProperties(E,S),e=useRef(null),s=useState(!1),o=_slicedToArray(s,2),f=o[0],c=o[1],u=useState(!1),h=_slicedToArray(u,2),_=h[0],x=h[1];return useEffect(function(){var m=e.current;if(m){var v=throttle(function(){c(m.scrollLeft>0),x(m.scrollLeft1&&arguments[1]!==void 0?arguments[1]:"",a=[];return[].concat(d).forEach(function(l,B){var j="".concat(i?"".concat(i,"-"):"").concat(B);switch(l==null?void 0:l.type){case"ul":{var b,N=((b=a[a.length-1])===null||b===void 0?void 0:b.children)||a,U=s(l.props.children||[],j);N.push.apply(N,O()(U));break}case"li":{var I=s(l.props.children,j);a.push({title:[].concat(l.props.children).filter(function(R){return R.type!=="ul"}),key:j,children:I,isLeaf:!I.length});break}default:}}),a}var o=function(i){var a=(0,r.useState)(s(i)),l=A()(a,2),B=l[0],j=l[1];return(0,r.useEffect)(function(){j(s(i))},[i]),B},f=function(i){var a=i.isLeaf,l=i.expanded;return a?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(S.r,{fill:"currentColor"})}):l?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(p.r,{fill:"currentColor"})}):(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(T.r,{fill:"currentColor"})})},c=function(i){var a=i.isLeaf,l=i.expanded;return a?(0,e.jsx)("span",{className:"tree-switcher-leaf-line"}):l?(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(t.r,{fill:"currentColor"})})}):(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(E.r,{fill:"currentColor"})})})},u=function(){return{height:0,opacity:0}},h=function(i){var a=i.scrollHeight;return{height:a,opacity:1}},_=function(i){return{height:i?i.offsetHeight:0}},x=function(i,a){return(a==null?void 0:a.deadline)===!0||a.propertyName==="height"},m={motionName:"ant-motion-collapse",onAppearStart:u,onEnterStart:u,onAppearActive:h,onEnterActive:h,onLeaveStart:_,onLeaveActive:u,onAppearEnd:x,onEnterEnd:x,onLeaveEnd:x,motionDeadline:500},v=function(d){var i=o(d.children),a=(0,r.createRef)(),l=function(j,b){var N=b.isLeaf;N||j.shiftKey||j.metaKey||j.ctrlKey||a.current.onNodeExpand(j,b)};return(0,e.jsx)(M.Z,{className:"dumi-default-tree",icon:f,ref:a,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:D()(D()({},m),{},{motionAppear:!1}),onClick:l,treeData:[{key:"0",title:d.title||"",children:i}],defaultExpandAll:!0,switcherIcon:c})}}}]); diff --git a/docs/docs__api__hooks__use-watch.md.e663b364.async.js b/docs/docs__api__hooks__use-watch.md.e663b364.async.js deleted file mode 100644 index b9ae7cba..00000000 --- a/docs/docs__api__hooks__use-watch.md.e663b364.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkhelux_docs=self.webpackChunkhelux_docs||[]).push([[5576],{80479:function(L,y,n){n.r(y);var C=n(4311),D=n(53267),g=n(82197),A=n(12620),P=n(74692),O=n(33296),S=n(12133),p=n(54996),T=n(70079),t=n(35250);function E(){var M=(0,p.eL)(),r=M.texts;return(0,t.jsx)(p.dY,{children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h1",{id:"usewatch",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#usewatch",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"useWatch"]}),(0,t.jsx)("p",{children:r[0].value}),(0,t.jsx)("p",{children:r[1].value}),(0,t.jsx)(P.Z,{lang:"ts",children:r[2].value}),(0,t.jsxs)("h2",{id:"\u57FA\u7840\u7528\u6CD5",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u57FA\u7840\u7528\u6CD5",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u57FA\u7840\u7528\u6CD5"]}),(0,t.jsxs)("h3",{id:"\u89C2\u5BDF\u539F\u59CB\u7C7B\u578Batom",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u89C2\u5BDF\u539F\u59CB\u7C7B\u578Batom",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u89C2\u5BDF\u539F\u59CB\u7C7B\u578Batom"]})]}),(0,t.jsx)(p.Dl,{demo:{id:"docs-api-hooks-use-watch-demo-0"},previewerProps:{defaultShowCode:!0}}),(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h3",{id:"\u89C2\u5BDF\u5B57\u5178\u7C7B\u578Batom",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u89C2\u5BDF\u5B57\u5178\u7C7B\u578Batom",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u89C2\u5BDF\u5B57\u5178\u7C7B\u578Batom"]}),(0,t.jsx)("p",{children:r[3].value})]}),(0,t.jsx)(p.Dl,{demo:{id:"docs-api-hooks-use-watch-demo-1"},previewerProps:{defaultShowCode:!0}}),(0,t.jsx)("div",{className:"markdown",children:(0,t.jsx)("p",{children:r[4].value})}),(0,t.jsx)(g.Z,{type:"info",children:(0,t.jsxs)("p",{children:[r[5].value,(0,t.jsx)("code",{children:r[6].value}),r[7].value]})}),(0,t.jsx)(p.Dl,{demo:{id:"docs-api-hooks-use-watch-demo-2"},previewerProps:{defaultShowCode:!0}}),(0,t.jsxs)("div",{className:"markdown",children:[(0,t.jsxs)("h3",{id:"\u65E0\u95ED\u5305\u9677\u9631",children:[(0,t.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u65E0\u95ED\u5305\u9677\u9631",children:(0,t.jsx)("span",{className:"icon icon-link"})}),"\u65E0\u95ED\u5305\u9677\u9631"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("code",{children:r[8].value}),r[9].value]})]}),(0,t.jsx)(g.Z,{type:"info",children:(0,t.jsxs)("p",{children:[r[10].value,(0,t.jsx)("code",{children:r[11].value}),r[12].value,(0,t.jsx)("code",{children:r[13].value}),r[14].value,(0,t.jsx)("code",{children:r[15].value}),r[16].value]})}),(0,t.jsx)(p.Dl,{demo:{id:"docs-api-hooks-use-watch-demo-3"},previewerProps:{defaultShowCode:!0}})]})})}y.default=E},4311:function(L,y,n){var C=n(39114),D=n.n(C),g=n(70125),A=n.n(g),P=n(54996),O=n(70079),S=n(33296),p=n(35250),T={toString:function(e){return typeof e.type=="string"&&e.type in this?"enum"in e?this.enum(e):this[e.type](e):e.type?this.getValidClassName(e)||e.type:"const"in e?"".concat(e.const):"oneOf"in e?this.oneOf(e):"unknown"},string:function(e){return e.type},number:function(e){return e.type},boolean:function(e){return e.type},any:function(e){return e.type},object:function(e){var s=this,o=[];return Object.entries(e.properties||{}).forEach(function(f){var c,u=A()(f,2),h=u[0],_=u[1];o.push("".concat(h).concat((c=e.required)!==null&&c!==void 0&&c.includes(h)?"":"?",": ").concat(_.type==="object"?"object":s.toString(_)))}),o.length?"{ ".concat(o.join("; ")," }"):"{}"},array:function(e){if(e.items){var s=this.getValidClassName(e.items);return s?"".concat(s,"[]"):"".concat(this.toString(e.items),"[]")}return"any[]"},element:function(e){return"<".concat(e.componentName," />")},function:function(e){var s=this,o=e.signature;if(!o)return"Function";var f="oneOf"in o?o.oneOf:[o];return f.map(function(c){return"".concat(c.isAsync?"async ":"","(").concat(c.arguments.map(function(u){return"".concat(u.key,": ").concat(s.toString(u))}).join(", "),") => ").concat(s.toString(c.returnType))}).join(" | ")},dom:function(e){return e.className||"DOM"},enum:function(e){return e.enum.map(function(s){return JSON.stringify(s)}).join(" | ")},oneOf:function(e){var s=this;return e.oneOf.map(function(o){return s.getValidClassName(o)||s.toString(o)}).join(" | ")},getValidClassName:function(e){return"className"in e&&typeof e.className=="string"&&e.className!=="__type"?e.className:null}},t=function(e){var s=useState(function(){return T.toString(e)}),o=_slicedToArray(s,2),f=o[0],c=o[1];return useEffect(function(){c(T.toString(e))},[e]),_jsx("code",{children:f})},E=function(e){var s,o=useRouteMeta(),f=o.frontmatter,c=useAtomAssets(),u=c.components,h=e.id||f.atomId,_=useIntl();if(!h)throw new Error("`id` properties if required for API component!");var x=u==null?void 0:u[h];return _jsx("div",{className:"markdown",children:_jsxs(Table,{children:[_jsx("thead",{children:_jsxs("tr",{children:[_jsx("th",{children:_.formatMessage({id:"api.component.name"})}),_jsx("th",{children:_.formatMessage({id:"api.component.description"})}),_jsx("th",{children:_.formatMessage({id:"api.component.type"})}),_jsx("th",{children:_.formatMessage({id:"api.component.default"})})]})}),_jsx("tbody",{children:x&&(s=x.propsConfig)!==null&&s!==void 0&&s.properties?Object.entries(x.propsConfig.properties).map(function(m){var v,d=_slicedToArray(m,2),i=d[0],a=d[1];return _jsxs("tr",{children:[_jsx("td",{children:i}),_jsx("td",{children:a.description||"--"}),_jsx("td",{children:_jsx(t,_objectSpread({},a))}),_jsx("td",{children:_jsx("code",{children:(v=x.propsConfig.required)!==null&&v!==void 0&&v.includes(i)?_.formatMessage({id:"api.component.required"}):JSON.stringify(a.default)||"--"})})]},i)}):_jsx("tr",{children:_jsx("td",{colSpan:4,children:_.formatMessage({id:"api.component.".concat(u?"not.found":"unavailable")},{id:h})})})})]})})},M=null},53267:function(L,y,n){var C=n(39114),D=n(35250),g=function(O){return _jsx("span",_objectSpread({className:"dumi-default-badge"},O))},A=null},33296:function(L,y,n){var C=n(39114),D=n(70125),g=n(11221),A=n(14315),P=n(70079),O=n(35250),S=null,p=function(E){var M=E.children,r=_objectWithoutProperties(E,S),e=useRef(null),s=useState(!1),o=_slicedToArray(s,2),f=o[0],c=o[1],u=useState(!1),h=_slicedToArray(u,2),_=h[0],x=h[1];return useEffect(function(){var m=e.current;if(m){var v=throttle(function(){c(m.scrollLeft>0),x(m.scrollLeft1&&arguments[1]!==void 0?arguments[1]:"",a=[];return[].concat(d).forEach(function(l,B){var j="".concat(i?"".concat(i,"-"):"").concat(B);switch(l==null?void 0:l.type){case"ul":{var b,N=((b=a[a.length-1])===null||b===void 0?void 0:b.children)||a,U=s(l.props.children||[],j);N.push.apply(N,O()(U));break}case"li":{var I=s(l.props.children,j);a.push({title:[].concat(l.props.children).filter(function(R){return R.type!=="ul"}),key:j,children:I,isLeaf:!I.length});break}default:}}),a}var o=function(i){var a=(0,r.useState)(s(i)),l=A()(a,2),B=l[0],j=l[1];return(0,r.useEffect)(function(){j(s(i))},[i]),B},f=function(i){var a=i.isLeaf,l=i.expanded;return a?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(S.r,{fill:"currentColor"})}):l?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(p.r,{fill:"currentColor"})}):(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(T.r,{fill:"currentColor"})})},c=function(i){var a=i.isLeaf,l=i.expanded;return a?(0,e.jsx)("span",{className:"tree-switcher-leaf-line"}):l?(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(t.r,{fill:"currentColor"})})}):(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(E.r,{fill:"currentColor"})})})},u=function(){return{height:0,opacity:0}},h=function(i){var a=i.scrollHeight;return{height:a,opacity:1}},_=function(i){return{height:i?i.offsetHeight:0}},x=function(i,a){return(a==null?void 0:a.deadline)===!0||a.propertyName==="height"},m={motionName:"ant-motion-collapse",onAppearStart:u,onEnterStart:u,onAppearActive:h,onEnterActive:h,onLeaveStart:_,onLeaveActive:u,onAppearEnd:x,onEnterEnd:x,onLeaveEnd:x,motionDeadline:500},v=function(d){var i=o(d.children),a=(0,r.createRef)(),l=function(j,b){var N=b.isLeaf;N||j.shiftKey||j.metaKey||j.ctrlKey||a.current.onNodeExpand(j,b)};return(0,e.jsx)(M.Z,{className:"dumi-default-tree",icon:f,ref:a,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:D()(D()({},m),{},{motionAppear:!1}),onClick:l,treeData:[{key:"0",title:d.title||"",children:i}],defaultExpandAll:!0,switcherIcon:c})}}}]); diff --git a/docs/docs__api__utils__is-diff.md.19924b59.async.js b/docs/docs__api__utils__is-diff.md.19924b59.async.js new file mode 100644 index 00000000..0c3bfece --- /dev/null +++ b/docs/docs__api__utils__is-diff.md.19924b59.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkhelux_docs=self.webpackChunkhelux_docs||[]).push([[9655],{9904:function(S,g,n){n.r(g);var E=n(4311),D=n(53267),A=n(82197),C=n(12620),j=n(74692),O=n(33296),L=n(12133),T=n(54996),M=n(70079),r=n(35250);function y(){var P=(0,T.eL)(),t=P.texts;return(0,r.jsx)(T.dY,{children:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("h1",{id:"isdiff",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#isdiff",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"isDiff"]}),(0,r.jsx)("p",{children:t[0].value}),(0,r.jsxs)("h2",{id:"\u57FA\u7840\u4F7F\u7528",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u57FA\u7840\u4F7F\u7528",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u57FA\u7840\u4F7F\u7528"]}),(0,r.jsxs)("h3",{id:"\u6BD4\u8F83\u539F\u59CB\u503C",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u6BD4\u8F83\u539F\u59CB\u503C",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u6BD4\u8F83\u539F\u59CB\u503C"]}),(0,r.jsx)(j.Z,{lang:"ts",children:t[1].value}),(0,r.jsxs)("h3",{id:"\u6BD4\u8F83-atom-\u5B50\u8282\u70B9",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u6BD4\u8F83-atom-\u5B50\u8282\u70B9",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u6BD4\u8F83 atom \u5B50\u8282\u70B9"]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("code",{children:t[2].value}),t[3].value,(0,r.jsx)("code",{children:t[4].value}),t[5].value]}),(0,r.jsx)(j.Z,{lang:"ts",children:t[6].value})]})})})}g.default=y},4311:function(S,g,n){var E=n(39114),D=n.n(E),A=n(70125),C=n.n(A),j=n(54996),O=n(70079),L=n(33296),T=n(35250),M={toString:function(e){return typeof e.type=="string"&&e.type in this?"enum"in e?this.enum(e):this[e.type](e):e.type?this.getValidClassName(e)||e.type:"const"in e?"".concat(e.const):"oneOf"in e?this.oneOf(e):"unknown"},string:function(e){return e.type},number:function(e){return e.type},boolean:function(e){return e.type},any:function(e){return e.type},object:function(e){var s=this,o=[];return Object.entries(e.properties||{}).forEach(function(h){var l,c=C()(h,2),f=c[0],_=c[1];o.push("".concat(f).concat((l=e.required)!==null&&l!==void 0&&l.includes(f)?"":"?",": ").concat(_.type==="object"?"object":s.toString(_)))}),o.length?"{ ".concat(o.join("; ")," }"):"{}"},array:function(e){if(e.items){var s=this.getValidClassName(e.items);return s?"".concat(s,"[]"):"".concat(this.toString(e.items),"[]")}return"any[]"},element:function(e){return"<".concat(e.componentName," />")},function:function(e){var s=this,o=e.signature;if(!o)return"Function";var h="oneOf"in o?o.oneOf:[o];return h.map(function(l){return"".concat(l.isAsync?"async ":"","(").concat(l.arguments.map(function(c){return"".concat(c.key,": ").concat(s.toString(c))}).join(", "),") => ").concat(s.toString(l.returnType))}).join(" | ")},dom:function(e){return e.className||"DOM"},enum:function(e){return e.enum.map(function(s){return JSON.stringify(s)}).join(" | ")},oneOf:function(e){var s=this;return e.oneOf.map(function(o){return s.getValidClassName(o)||s.toString(o)}).join(" | ")},getValidClassName:function(e){return"className"in e&&typeof e.className=="string"&&e.className!=="__type"?e.className:null}},r=function(e){var s=useState(function(){return M.toString(e)}),o=_slicedToArray(s,2),h=o[0],l=o[1];return useEffect(function(){l(M.toString(e))},[e]),_jsx("code",{children:h})},y=function(e){var s,o=useRouteMeta(),h=o.frontmatter,l=useAtomAssets(),c=l.components,f=e.id||h.atomId,_=useIntl();if(!f)throw new Error("`id` properties if required for API component!");var p=c==null?void 0:c[f];return _jsx("div",{className:"markdown",children:_jsxs(Table,{children:[_jsx("thead",{children:_jsxs("tr",{children:[_jsx("th",{children:_.formatMessage({id:"api.component.name"})}),_jsx("th",{children:_.formatMessage({id:"api.component.description"})}),_jsx("th",{children:_.formatMessage({id:"api.component.type"})}),_jsx("th",{children:_.formatMessage({id:"api.component.default"})})]})}),_jsx("tbody",{children:p&&(s=p.propsConfig)!==null&&s!==void 0&&s.properties?Object.entries(p.propsConfig.properties).map(function(m){var v,d=_slicedToArray(m,2),i=d[0],a=d[1];return _jsxs("tr",{children:[_jsx("td",{children:i}),_jsx("td",{children:a.description||"--"}),_jsx("td",{children:_jsx(r,_objectSpread({},a))}),_jsx("td",{children:_jsx("code",{children:(v=p.propsConfig.required)!==null&&v!==void 0&&v.includes(i)?_.formatMessage({id:"api.component.required"}):JSON.stringify(a.default)||"--"})})]},i)}):_jsx("tr",{children:_jsx("td",{colSpan:4,children:_.formatMessage({id:"api.component.".concat(c?"not.found":"unavailable")},{id:f})})})})]})})},P=null},53267:function(S,g,n){var E=n(39114),D=n(35250),A=function(O){return _jsx("span",_objectSpread({className:"dumi-default-badge"},O))},C=null},33296:function(S,g,n){var E=n(39114),D=n(70125),A=n(11221),C=n(14315),j=n(70079),O=n(35250),L=null,T=function(y){var P=y.children,t=_objectWithoutProperties(y,L),e=useRef(null),s=useState(!1),o=_slicedToArray(s,2),h=o[0],l=o[1],c=useState(!1),f=_slicedToArray(c,2),_=f[0],p=f[1];return useEffect(function(){var m=e.current;if(m){var v=throttle(function(){l(m.scrollLeft>0),p(m.scrollLeft1&&arguments[1]!==void 0?arguments[1]:"",a=[];return[].concat(d).forEach(function(u,I){var x="".concat(i?"".concat(i,"-"):"").concat(I);switch(u==null?void 0:u.type){case"ul":{var b,B=((b=a[a.length-1])===null||b===void 0?void 0:b.children)||a,U=s(u.props.children||[],x);B.push.apply(B,O()(U));break}case"li":{var N=s(u.props.children,x);a.push({title:[].concat(u.props.children).filter(function(R){return R.type!=="ul"}),key:x,children:N,isLeaf:!N.length});break}default:}}),a}var o=function(i){var a=(0,t.useState)(s(i)),u=C()(a,2),I=u[0],x=u[1];return(0,t.useEffect)(function(){x(s(i))},[i]),I},h=function(i){var a=i.isLeaf,u=i.expanded;return a?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(L.r,{fill:"currentColor"})}):u?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(T.r,{fill:"currentColor"})}):(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(M.r,{fill:"currentColor"})})},l=function(i){var a=i.isLeaf,u=i.expanded;return a?(0,e.jsx)("span",{className:"tree-switcher-leaf-line"}):u?(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(r.r,{fill:"currentColor"})})}):(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(y.r,{fill:"currentColor"})})})},c=function(){return{height:0,opacity:0}},f=function(i){var a=i.scrollHeight;return{height:a,opacity:1}},_=function(i){return{height:i?i.offsetHeight:0}},p=function(i,a){return(a==null?void 0:a.deadline)===!0||a.propertyName==="height"},m={motionName:"ant-motion-collapse",onAppearStart:c,onEnterStart:c,onAppearActive:f,onEnterActive:f,onLeaveStart:_,onLeaveActive:c,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500},v=function(d){var i=o(d.children),a=(0,t.createRef)(),u=function(x,b){var B=b.isLeaf;B||x.shiftKey||x.metaKey||x.ctrlKey||a.current.onNodeExpand(x,b)};return(0,e.jsx)(P.Z,{className:"dumi-default-tree",icon:h,ref:a,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:D()(D()({},m),{},{motionAppear:!1}),onClick:u,treeData:[{key:"0",title:d.title||"",children:i}],defaultExpandAll:!0,switcherIcon:l})}}}]); diff --git a/docs/docs__api__utils__is-diff.md.ff9108ca.async.js b/docs/docs__api__utils__is-diff.md.ff9108ca.async.js deleted file mode 100644 index 83ed4c8c..00000000 --- a/docs/docs__api__utils__is-diff.md.ff9108ca.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkhelux_docs=self.webpackChunkhelux_docs||[]).push([[9655],{9904:function(S,g,n){n.r(g);var E=n(4311),D=n(53267),A=n(82197),C=n(12620),j=n(74692),O=n(33296),L=n(12133),T=n(54996),M=n(70079),r=n(35250);function y(){var P=(0,T.eL)(),t=P.texts;return(0,r.jsx)(T.dY,{children:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("h1",{id:"isdiff",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#isdiff",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"isDiff"]}),(0,r.jsx)("p",{children:t[0].value}),(0,r.jsxs)("h2",{id:"\u57FA\u7840\u4F7F\u7528",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u57FA\u7840\u4F7F\u7528",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u57FA\u7840\u4F7F\u7528"]}),(0,r.jsxs)("h3",{id:"\u6BD4\u8F83\u539F\u59CB\u503C",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u6BD4\u8F83\u539F\u59CB\u503C",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u6BD4\u8F83\u539F\u59CB\u503C"]}),(0,r.jsx)(j.Z,{lang:"ts",children:t[1].value}),(0,r.jsxs)("h3",{id:"\u6BD4\u8F83atom\u5B50\u8282\u70B9",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u6BD4\u8F83atom\u5B50\u8282\u70B9",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u6BD4\u8F83atom\u5B50\u8282\u70B9"]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("code",{children:t[2].value}),t[3].value,(0,r.jsx)("code",{children:t[4].value}),t[5].value]}),(0,r.jsx)(j.Z,{lang:"ts",children:t[6].value})]})})})}g.default=y},4311:function(S,g,n){var E=n(39114),D=n.n(E),A=n(70125),C=n.n(A),j=n(54996),O=n(70079),L=n(33296),T=n(35250),M={toString:function(e){return typeof e.type=="string"&&e.type in this?"enum"in e?this.enum(e):this[e.type](e):e.type?this.getValidClassName(e)||e.type:"const"in e?"".concat(e.const):"oneOf"in e?this.oneOf(e):"unknown"},string:function(e){return e.type},number:function(e){return e.type},boolean:function(e){return e.type},any:function(e){return e.type},object:function(e){var s=this,o=[];return Object.entries(e.properties||{}).forEach(function(h){var l,c=C()(h,2),f=c[0],_=c[1];o.push("".concat(f).concat((l=e.required)!==null&&l!==void 0&&l.includes(f)?"":"?",": ").concat(_.type==="object"?"object":s.toString(_)))}),o.length?"{ ".concat(o.join("; ")," }"):"{}"},array:function(e){if(e.items){var s=this.getValidClassName(e.items);return s?"".concat(s,"[]"):"".concat(this.toString(e.items),"[]")}return"any[]"},element:function(e){return"<".concat(e.componentName," />")},function:function(e){var s=this,o=e.signature;if(!o)return"Function";var h="oneOf"in o?o.oneOf:[o];return h.map(function(l){return"".concat(l.isAsync?"async ":"","(").concat(l.arguments.map(function(c){return"".concat(c.key,": ").concat(s.toString(c))}).join(", "),") => ").concat(s.toString(l.returnType))}).join(" | ")},dom:function(e){return e.className||"DOM"},enum:function(e){return e.enum.map(function(s){return JSON.stringify(s)}).join(" | ")},oneOf:function(e){var s=this;return e.oneOf.map(function(o){return s.getValidClassName(o)||s.toString(o)}).join(" | ")},getValidClassName:function(e){return"className"in e&&typeof e.className=="string"&&e.className!=="__type"?e.className:null}},r=function(e){var s=useState(function(){return M.toString(e)}),o=_slicedToArray(s,2),h=o[0],l=o[1];return useEffect(function(){l(M.toString(e))},[e]),_jsx("code",{children:h})},y=function(e){var s,o=useRouteMeta(),h=o.frontmatter,l=useAtomAssets(),c=l.components,f=e.id||h.atomId,_=useIntl();if(!f)throw new Error("`id` properties if required for API component!");var p=c==null?void 0:c[f];return _jsx("div",{className:"markdown",children:_jsxs(Table,{children:[_jsx("thead",{children:_jsxs("tr",{children:[_jsx("th",{children:_.formatMessage({id:"api.component.name"})}),_jsx("th",{children:_.formatMessage({id:"api.component.description"})}),_jsx("th",{children:_.formatMessage({id:"api.component.type"})}),_jsx("th",{children:_.formatMessage({id:"api.component.default"})})]})}),_jsx("tbody",{children:p&&(s=p.propsConfig)!==null&&s!==void 0&&s.properties?Object.entries(p.propsConfig.properties).map(function(m){var v,d=_slicedToArray(m,2),i=d[0],a=d[1];return _jsxs("tr",{children:[_jsx("td",{children:i}),_jsx("td",{children:a.description||"--"}),_jsx("td",{children:_jsx(r,_objectSpread({},a))}),_jsx("td",{children:_jsx("code",{children:(v=p.propsConfig.required)!==null&&v!==void 0&&v.includes(i)?_.formatMessage({id:"api.component.required"}):JSON.stringify(a.default)||"--"})})]},i)}):_jsx("tr",{children:_jsx("td",{colSpan:4,children:_.formatMessage({id:"api.component.".concat(c?"not.found":"unavailable")},{id:f})})})})]})})},P=null},53267:function(S,g,n){var E=n(39114),D=n(35250),A=function(O){return _jsx("span",_objectSpread({className:"dumi-default-badge"},O))},C=null},33296:function(S,g,n){var E=n(39114),D=n(70125),A=n(11221),C=n(14315),j=n(70079),O=n(35250),L=null,T=function(y){var P=y.children,t=_objectWithoutProperties(y,L),e=useRef(null),s=useState(!1),o=_slicedToArray(s,2),h=o[0],l=o[1],c=useState(!1),f=_slicedToArray(c,2),_=f[0],p=f[1];return useEffect(function(){var m=e.current;if(m){var v=throttle(function(){l(m.scrollLeft>0),p(m.scrollLeft1&&arguments[1]!==void 0?arguments[1]:"",a=[];return[].concat(d).forEach(function(u,I){var x="".concat(i?"".concat(i,"-"):"").concat(I);switch(u==null?void 0:u.type){case"ul":{var b,B=((b=a[a.length-1])===null||b===void 0?void 0:b.children)||a,U=s(u.props.children||[],x);B.push.apply(B,O()(U));break}case"li":{var N=s(u.props.children,x);a.push({title:[].concat(u.props.children).filter(function(R){return R.type!=="ul"}),key:x,children:N,isLeaf:!N.length});break}default:}}),a}var o=function(i){var a=(0,t.useState)(s(i)),u=C()(a,2),I=u[0],x=u[1];return(0,t.useEffect)(function(){x(s(i))},[i]),I},h=function(i){var a=i.isLeaf,u=i.expanded;return a?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(L.r,{fill:"currentColor"})}):u?(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(T.r,{fill:"currentColor"})}):(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(M.r,{fill:"currentColor"})})},l=function(i){var a=i.isLeaf,u=i.expanded;return a?(0,e.jsx)("span",{className:"tree-switcher-leaf-line"}):u?(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(r.r,{fill:"currentColor"})})}):(0,e.jsx)("span",{className:"tree-switcher-line-icon",children:(0,e.jsx)("span",{className:"dumi-default-tree-icon",children:(0,e.jsx)(y.r,{fill:"currentColor"})})})},c=function(){return{height:0,opacity:0}},f=function(i){var a=i.scrollHeight;return{height:a,opacity:1}},_=function(i){return{height:i?i.offsetHeight:0}},p=function(i,a){return(a==null?void 0:a.deadline)===!0||a.propertyName==="height"},m={motionName:"ant-motion-collapse",onAppearStart:c,onEnterStart:c,onAppearActive:f,onEnterActive:f,onLeaveStart:_,onLeaveActive:c,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500},v=function(d){var i=o(d.children),a=(0,t.createRef)(),u=function(x,b){var B=b.isLeaf;B||x.shiftKey||x.metaKey||x.ctrlKey||a.current.onNodeExpand(x,b)};return(0,e.jsx)(P.Z,{className:"dumi-default-tree",icon:h,ref:a,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:D()(D()({},m),{},{motionAppear:!1}),onClick:u,treeData:[{key:"0",title:d.title||"",children:i}],defaultExpandAll:!0,switcherIcon:l})}}}]); diff --git a/docs/ecosystem/index.html b/docs/ecosystem/index.html index ce7162b2..be58ceb3 100644 --- a/docs/ecosystem/index.html +++ b/docs/ecosystem/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/action/index.html b/docs/guide/action/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/action/index.html +++ b/docs/guide/action/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/adapt-react-like/index.html b/docs/guide/adapt-react-like/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/adapt-react-like/index.html +++ b/docs/guide/adapt-react-like/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/atom/index.html b/docs/guide/atom/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/atom/index.html +++ b/docs/guide/atom/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/dep-tracking/index.html b/docs/guide/dep-tracking/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/dep-tracking/index.html +++ b/docs/guide/dep-tracking/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/derive/index.html b/docs/guide/derive/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/derive/index.html +++ b/docs/guide/derive/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/events/index.html b/docs/guide/events/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/events/index.html +++ b/docs/guide/events/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/index.html b/docs/guide/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/index.html +++ b/docs/guide/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/install/index.html b/docs/guide/install/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/install/index.html +++ b/docs/guide/install/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/middleware/index.html b/docs/guide/middleware/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/middleware/index.html +++ b/docs/guide/middleware/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/model/index.html b/docs/guide/model/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/model/index.html +++ b/docs/guide/model/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/modular/index.html b/docs/guide/modular/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/modular/index.html +++ b/docs/guide/modular/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/plugins/index.html b/docs/guide/plugins/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/plugins/index.html +++ b/docs/guide/plugins/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/quick-start/index.html b/docs/guide/quick-start/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/quick-start/index.html +++ b/docs/guide/quick-start/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/reactive/index.html b/docs/guide/reactive/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/reactive/index.html +++ b/docs/guide/reactive/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/signal/index.html b/docs/guide/signal/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/signal/index.html +++ b/docs/guide/signal/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/sync/index.html b/docs/guide/sync/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/sync/index.html +++ b/docs/guide/sync/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/guide/watch/index.html b/docs/guide/watch/index.html index ce7162b2..be58ceb3 100644 --- a/docs/guide/watch/index.html +++ b/docs/guide/watch/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index ce7162b2..be58ceb3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/reference/glossary/index.html b/docs/reference/glossary/index.html index ce7162b2..be58ceb3 100644 --- a/docs/reference/glossary/index.html +++ b/docs/reference/glossary/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/reference/history/index.html b/docs/reference/history/index.html index ce7162b2..be58ceb3 100644 --- a/docs/reference/history/index.html +++ b/docs/reference/history/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/reference/index.html b/docs/reference/index.html index ce7162b2..be58ceb3 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/reference/question/index.html b/docs/reference/question/index.html index ce7162b2..be58ceb3 100644 --- a/docs/reference/question/index.html +++ b/docs/reference/question/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/umi.eb8a6beb.js b/docs/umi.07cc2b11.js similarity index 82% rename from docs/umi.eb8a6beb.js rename to docs/umi.07cc2b11.js index 0b80e148..beaf698d 100644 --- a/docs/umi.eb8a6beb.js +++ b/docs/umi.07cc2b11.js @@ -1,4 +1,4 @@ -!(function(){var hd=Object.defineProperty,yd=Object.defineProperties;var gd=Object.getOwnPropertyDescriptors;var zc=Object.getOwnPropertySymbols;var Id=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable;var Hc=(c,m,e)=>m in c?hd(c,m,{enumerable:!0,configurable:!0,writable:!0,value:e}):c[m]=e,Zc=(c,m)=>{for(var e in m||(m={}))Id.call(m,e)&&Hc(c,e,m[e]);if(zc)for(var e of zc(m))xd.call(m,e)&&Hc(c,e,m[e]);return c},Wc=(c,m)=>yd(c,gd(m));(function(){var __webpack_modules__={78060:function(c,m,e){"use strict";e.d(m,{kG:function(){return h}});function i(l){return Math.floor(Math.log(l)*Math.LOG10E)}function a(l,x){if(typeof l.repeat=="function")return l.repeat(x);for(var g=new Array(x),E=0;E0}),we=[],Ne=0,et=V;Ne1)throw new RangeError("integer-width stems only accept a single optional option");et.options[0].replace(Ie,function(Et,kt,Mt,Te,gt,at){if(kt)V.minimumIntegerDigits=Mt.length;else{if(Te&>)throw new Error("We currently do not support maximum integer digits");if(at)throw new Error("We currently do not support exact integer digits")}return""});continue}if(De.test(et.stem)){V.minimumIntegerDigits=et.stem.length;continue}if(q.test(et.stem)){if(et.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");et.stem.replace(q,function(Et,kt,Mt,Te,gt,at){return Mt==="*"?V.minimumFractionDigits=kt.length:Te&&Te[0]==="#"?V.maximumFractionDigits=Te.length:gt&&at?(V.minimumFractionDigits=gt.length,V.maximumFractionDigits=gt.length+at.length):(V.minimumFractionDigits=kt.length,V.maximumFractionDigits=kt.length),""});var ut=et.options[0];ut==="w"?V=(0,i.pi)((0,i.pi)({},V),{trailingZeroDisplay:"stripIfInteger"}):ut&&(V=(0,i.pi)((0,i.pi)({},V),Re(ut)));continue}if(X.test(et.stem)){V=(0,i.pi)((0,i.pi)({},V),Re(et.stem));continue}var ze=We(et.stem);ze&&(V=(0,i.pi)((0,i.pi)({},V),ze));var mt=Ve(et.stem);mt&&(V=(0,i.pi)((0,i.pi)({},V),mt))}return V}var re={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function oe(I,V){for(var we="",Ne=0;Ne>1),Et="a",kt=C(V);for((kt=="H"||kt=="k")&&(mt=0);mt-- >0;)we+=Et;for(;ze-- >0;)we=kt+we}else et==="J"?we+="H":we+=et}return we}function C(I){var V=I.hourCycle;if(V===void 0&&I.hourCycles&&I.hourCycles.length&&(V=I.hourCycles[0]),V)switch(V){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var we=I.language,Ne;we!=="root"&&(Ne=I.maximize().region);var et=re[Ne||""]||re[we||""]||re["".concat(we,"-001")]||re["001"];return et[0]}var N,Q=new RegExp("^".concat(j.source,"*")),fe=new RegExp("".concat(j.source,"*$"));function k(I,V){return{start:I,end:V}}var $=!!String.prototype.startsWith&&"_a".startsWith("a",1),Z=!!String.fromCodePoint,ge=!!Object.fromEntries,lt=!!String.prototype.codePointAt,Le=!!String.prototype.trimStart,Dt=!!String.prototype.trimEnd,an=!!Number.isSafeInteger,sn=an?Number.isSafeInteger:function(I){return typeof I=="number"&&isFinite(I)&&Math.floor(I)===I&&Math.abs(I)<=9007199254740991},Rn=!0;try{var An=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Rn=((N=An.exec("a"))===null||N===void 0?void 0:N[0])==="a"}catch(I){Rn=!1}var Fn=$?function(V,we,Ne){return V.startsWith(we,Ne)}:function(V,we,Ne){return V.slice(Ne,Ne+we.length)===we},Xe=Z?String.fromCodePoint:function(){for(var V=[],we=0;weut;){if(ze=V[ut++],ze>1114111)throw RangeError(ze+" is not a valid code point");Ne+=ze<65536?String.fromCharCode(ze):String.fromCharCode(((ze-=65536)>>10)+55296,ze%1024+56320)}return Ne},xt=ge?Object.fromEntries:function(V){for(var we={},Ne=0,et=V;Ne=Ne)){var et=V.charCodeAt(we),ut;return et<55296||et>56319||we+1===Ne||(ut=V.charCodeAt(we+1))<56320||ut>57343?et:(et-55296<<10)+(ut-56320)+65536}},ot=Le?function(V){return V.trimStart()}:function(V){return V.replace(Q,"")},Ht=Dt?function(V){return V.trimEnd()}:function(V){return V.replace(fe,"")};function ke(I,V){return new RegExp(I,V)}var $e;if(Rn){var qe=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$e=function(V,we){var Ne;qe.lastIndex=we;var et=qe.exec(V);return(Ne=et[1])!==null&&Ne!==void 0?Ne:""}}else $e=function(V,we){for(var Ne=[];;){var et=vt(V,we);if(et===void 0||de(et)||Ue(et))break;Ne.push(et),we+=et>=65536?2:1}return Xe.apply(void 0,Ne)};var Ee=function(){function I(V,we){we===void 0&&(we={}),this.message=V,this.position={offset:0,line:1,column:1},this.ignoreTag=!!we.ignoreTag,this.locale=we.locale,this.requiresOtherClause=!!we.requiresOtherClause,this.shouldParseSkeletons=!!we.shouldParseSkeletons}return I.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},I.prototype.parseMessage=function(V,we,Ne){for(var et=[];!this.isEOF();){var ut=this.char();if(ut===123){var ze=this.parseArgument(V,Ne);if(ze.err)return ze;et.push(ze.val)}else{if(ut===125&&V>0)break;if(ut===35&&(we==="plural"||we==="selectordinal")){var mt=this.clonePosition();this.bump(),et.push({type:r.pound,location:k(mt,this.clonePosition())})}else if(ut===60&&!this.ignoreTag&&this.peek()===47){if(Ne)break;return this.error(a.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}else if(ut===60&&!this.ignoreTag&&Pe(this.peek()||0)){var ze=this.parseTag(V,we);if(ze.err)return ze;et.push(ze.val)}else{var ze=this.parseLiteral(V,we);if(ze.err)return ze;et.push(ze.val)}}}return{val:et,err:null}},I.prototype.parseTag=function(V,we){var Ne=this.clonePosition();this.bump();var et=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:r.literal,value:"<".concat(et,"/>"),location:k(Ne,this.clonePosition())},err:null};if(this.bumpIf(">")){var ut=this.parseMessage(V+1,we,!0);if(ut.err)return ut;var ze=ut.val,mt=this.clonePosition();if(this.bumpIf("")?{val:{type:r.tag,value:et,children:ze,location:k(Ne,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,k(mt,this.clonePosition())))}else return this.error(a.UNCLOSED_TAG,k(Ne,this.clonePosition()))}else return this.error(a.INVALID_TAG,k(Ne,this.clonePosition()))},I.prototype.parseTagName=function(){var V=this.offset();for(this.bump();!this.isEOF()&&nt(this.char());)this.bump();return this.message.slice(V,this.offset())},I.prototype.parseLiteral=function(V,we){for(var Ne=this.clonePosition(),et="";;){var ut=this.tryParseQuote(we);if(ut){et+=ut;continue}var ze=this.tryParseUnquoted(V,we);if(ze){et+=ze;continue}var mt=this.tryParseLeftAngleBracket();if(mt){et+=mt;continue}break}var Et=k(Ne,this.clonePosition());return{val:{type:r.literal,value:et,location:Et},err:null}},I.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!tt(this.peek()||0))?(this.bump(),"<"):null},I.prototype.tryParseQuote=function(V){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(V==="plural"||V==="selectordinal")break;return null;default:return null}this.bump();var we=[this.char()];for(this.bump();!this.isEOF();){var Ne=this.char();if(Ne===39)if(this.peek()===39)we.push(39),this.bump();else{this.bump();break}else we.push(Ne);this.bump()}return Xe.apply(void 0,we)},I.prototype.tryParseUnquoted=function(V,we){if(this.isEOF())return null;var Ne=this.char();return Ne===60||Ne===123||Ne===35&&(we==="plural"||we==="selectordinal")||Ne===125&&V>0?null:(this.bump(),Xe(Ne))},I.prototype.parseArgument=function(V,we){var Ne=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(Ne,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(a.EMPTY_ARGUMENT,k(Ne,this.clonePosition()));var et=this.parseIdentifierIfPossible().value;if(!et)return this.error(a.MALFORMED_ARGUMENT,k(Ne,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(Ne,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:r.argument,value:et,location:k(Ne,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(Ne,this.clonePosition())):this.parseArgumentOptions(V,we,et,Ne);default:return this.error(a.MALFORMED_ARGUMENT,k(Ne,this.clonePosition()))}},I.prototype.parseIdentifierIfPossible=function(){var V=this.clonePosition(),we=this.offset(),Ne=$e(this.message,we),et=we+Ne.length;this.bumpTo(et);var ut=this.clonePosition(),ze=k(V,ut);return{value:Ne,location:ze}},I.prototype.parseArgumentOptions=function(V,we,Ne,et){var ut,ze=this.clonePosition(),mt=this.parseIdentifierIfPossible().value,Et=this.clonePosition();switch(mt){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,k(ze,Et));case"number":case"date":case"time":{this.bumpSpace();var kt=null;if(this.bumpIf(",")){this.bumpSpace();var Mt=this.clonePosition(),Te=this.parseSimpleArgStyleIfPossible();if(Te.err)return Te;var gt=Ht(Te.val);if(gt.length===0)return this.error(a.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));var at=k(Mt,this.clonePosition());kt={style:gt,styleLocation:at}}var He=this.tryParseArgumentClose(et);if(He.err)return He;var St=k(et,this.clonePosition());if(kt&&Fn(kt==null?void 0:kt.style,"::",0)){var At=ot(kt.style.slice(2));if(mt==="number"){var Te=this.parseNumberSkeletonFromString(At,kt.styleLocation);return Te.err?Te:{val:{type:r.number,value:Ne,location:St,style:Te.val},err:null}}else{if(At.length===0)return this.error(a.EXPECT_DATE_TIME_SKELETON,St);var Kt=At;this.locale&&(Kt=oe(At,this.locale));var gt={type:s.dateTime,pattern:Kt,location:kt.styleLocation,parsedOptions:this.shouldParseSkeletons?A(Kt):{}},nn=mt==="date"?r.date:r.time;return{val:{type:nn,value:Ne,location:St,style:gt},err:null}}}return{val:{type:mt==="number"?r.number:mt==="date"?r.date:r.time,value:Ne,location:St,style:(ut=kt==null?void 0:kt.style)!==null&&ut!==void 0?ut:null},err:null}}case"plural":case"selectordinal":case"select":{var Cn=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,k(Cn,(0,i.pi)({},Cn)));this.bumpSpace();var nr=this.parseIdentifierIfPossible(),Gn=0;if(mt!=="select"&&nr.value==="offset"){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var Te=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(Te.err)return Te;this.bumpSpace(),nr=this.parseIdentifierIfPossible(),Gn=Te.val}var dr=this.tryParsePluralOrSelectOptions(V,mt,we,nr);if(dr.err)return dr;var He=this.tryParseArgumentClose(et);if(He.err)return He;var Cr=k(et,this.clonePosition());return mt==="select"?{val:{type:r.select,value:Ne,options:xt(dr.val),location:Cr},err:null}:{val:{type:r.plural,value:Ne,options:xt(dr.val),offset:Gn,pluralType:mt==="plural"?"cardinal":"ordinal",location:Cr},err:null}}default:return this.error(a.INVALID_ARGUMENT_TYPE,k(ze,Et))}},I.prototype.tryParseArgumentClose=function(V){return this.isEOF()||this.char()!==125?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(V,this.clonePosition())):(this.bump(),{val:!0,err:null})},I.prototype.parseSimpleArgStyleIfPossible=function(){for(var V=0,we=this.clonePosition();!this.isEOF();){var Ne=this.char();switch(Ne){case 39:{this.bump();var et=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(et,this.clonePosition()));this.bump();break}case 123:{V+=1,this.bump();break}case 125:{if(V>0)V-=1;else return{val:this.message.slice(we.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(we.offset,this.offset()),err:null}},I.prototype.parseNumberSkeletonFromString=function(V,we){var Ne=[];try{Ne=z(V)}catch(et){return this.error(a.INVALID_NUMBER_SKELETON,we)}return{val:{type:s.number,tokens:Ne,location:we,parsedOptions:this.shouldParseSkeletons?Y(Ne):{}},err:null}},I.prototype.tryParsePluralOrSelectOptions=function(V,we,Ne,et){for(var ut,ze=!1,mt=[],Et=new Set,kt=et.value,Mt=et.location;;){if(kt.length===0){var Te=this.clonePosition();if(we!=="select"&&this.bumpIf("=")){var gt=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(gt.err)return gt;Mt=k(Te,this.clonePosition()),kt=this.message.slice(Te.offset,this.offset())}else break}if(Et.has(kt))return this.error(we==="select"?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,Mt);kt==="other"&&(ze=!0),this.bumpSpace();var at=this.clonePosition();if(!this.bumpIf("{"))return this.error(we==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var He=this.parseMessage(V+1,we,Ne);if(He.err)return He;var St=this.tryParseArgumentClose(at);if(St.err)return St;mt.push([kt,{value:He.val,location:k(at,this.clonePosition())}]),Et.add(kt),this.bumpSpace(),ut=this.parseIdentifierIfPossible(),kt=ut.value,Mt=ut.location}return mt.length===0?this.error(we==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!ze?this.error(a.MISSING_OTHER_CLAUSE,k(this.clonePosition(),this.clonePosition())):{val:mt,err:null}},I.prototype.tryParseDecimalInteger=function(V,we){var Ne=1,et=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(Ne=-1);for(var ut=!1,ze=0;!this.isEOF();){var mt=this.char();if(mt>=48&&mt<=57)ut=!0,ze=ze*10+(mt-48),this.bump();else break}var Et=k(et,this.clonePosition());return ut?(ze*=Ne,sn(ze)?{val:ze,err:null}:this.error(we,Et)):this.error(V,Et)},I.prototype.offset=function(){return this.position.offset},I.prototype.isEOF=function(){return this.offset()===this.message.length},I.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},I.prototype.char=function(){var V=this.position.offset;if(V>=this.message.length)throw Error("out of bound");var we=vt(this.message,V);if(we===void 0)throw Error("Offset ".concat(V," is at invalid UTF-16 code unit boundary"));return we},I.prototype.error=function(V,we){return{val:null,err:{kind:V,message:this.message,location:we}}},I.prototype.bump=function(){if(!this.isEOF()){var V=this.char();V===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=V<65536?1:2)}},I.prototype.bumpIf=function(V){if(Fn(this.message,V,this.offset())){for(var we=0;we=0?(this.bumpTo(Ne),!0):(this.bumpTo(this.message.length),!1)},I.prototype.bumpTo=function(V){if(this.offset()>V)throw Error("targetOffset ".concat(V," must be greater than or equal to the current offset ").concat(this.offset()));for(V=Math.min(V,this.message.length);;){var we=this.offset();if(we===V)break;if(we>V)throw Error("targetOffset ".concat(V," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},I.prototype.bumpSpace=function(){for(;!this.isEOF()&&de(this.char());)this.bump()},I.prototype.peek=function(){if(this.isEOF())return null;var V=this.char(),we=this.offset(),Ne=this.message.charCodeAt(we+(V>=65536?2:1));return Ne!=null?Ne:null},I}();function Pe(I){return I>=97&&I<=122||I>=65&&I<=90}function tt(I){return Pe(I)||I===47}function nt(I){return I===45||I===46||I>=48&&I<=57||I===95||I>=97&&I<=122||I>=65&&I<=90||I==183||I>=192&&I<=214||I>=216&&I<=246||I>=248&&I<=893||I>=895&&I<=8191||I>=8204&&I<=8205||I>=8255&&I<=8256||I>=8304&&I<=8591||I>=11264&&I<=12271||I>=12289&&I<=55295||I>=63744&&I<=64975||I>=65008&&I<=65533||I>=65536&&I<=983039}function de(I){return I>=9&&I<=13||I===32||I===133||I>=8206&&I<=8207||I===8232||I===8233}function Ue(I){return I>=33&&I<=35||I===36||I>=37&&I<=39||I===40||I===41||I===42||I===43||I===44||I===45||I>=46&&I<=47||I>=58&&I<=59||I>=60&&I<=62||I>=63&&I<=64||I===91||I===92||I===93||I===94||I===96||I===123||I===124||I===125||I===126||I===161||I>=162&&I<=165||I===166||I===167||I===169||I===171||I===172||I===174||I===176||I===177||I===182||I===187||I===191||I===215||I===247||I>=8208&&I<=8213||I>=8214&&I<=8215||I===8216||I===8217||I===8218||I>=8219&&I<=8220||I===8221||I===8222||I===8223||I>=8224&&I<=8231||I>=8240&&I<=8248||I===8249||I===8250||I>=8251&&I<=8254||I>=8257&&I<=8259||I===8260||I===8261||I===8262||I>=8263&&I<=8273||I===8274||I===8275||I>=8277&&I<=8286||I>=8592&&I<=8596||I>=8597&&I<=8601||I>=8602&&I<=8603||I>=8604&&I<=8607||I===8608||I>=8609&&I<=8610||I===8611||I>=8612&&I<=8613||I===8614||I>=8615&&I<=8621||I===8622||I>=8623&&I<=8653||I>=8654&&I<=8655||I>=8656&&I<=8657||I===8658||I===8659||I===8660||I>=8661&&I<=8691||I>=8692&&I<=8959||I>=8960&&I<=8967||I===8968||I===8969||I===8970||I===8971||I>=8972&&I<=8991||I>=8992&&I<=8993||I>=8994&&I<=9e3||I===9001||I===9002||I>=9003&&I<=9083||I===9084||I>=9085&&I<=9114||I>=9115&&I<=9139||I>=9140&&I<=9179||I>=9180&&I<=9185||I>=9186&&I<=9254||I>=9255&&I<=9279||I>=9280&&I<=9290||I>=9291&&I<=9311||I>=9472&&I<=9654||I===9655||I>=9656&&I<=9664||I===9665||I>=9666&&I<=9719||I>=9720&&I<=9727||I>=9728&&I<=9838||I===9839||I>=9840&&I<=10087||I===10088||I===10089||I===10090||I===10091||I===10092||I===10093||I===10094||I===10095||I===10096||I===10097||I===10098||I===10099||I===10100||I===10101||I>=10132&&I<=10175||I>=10176&&I<=10180||I===10181||I===10182||I>=10183&&I<=10213||I===10214||I===10215||I===10216||I===10217||I===10218||I===10219||I===10220||I===10221||I===10222||I===10223||I>=10224&&I<=10239||I>=10240&&I<=10495||I>=10496&&I<=10626||I===10627||I===10628||I===10629||I===10630||I===10631||I===10632||I===10633||I===10634||I===10635||I===10636||I===10637||I===10638||I===10639||I===10640||I===10641||I===10642||I===10643||I===10644||I===10645||I===10646||I===10647||I===10648||I>=10649&&I<=10711||I===10712||I===10713||I===10714||I===10715||I>=10716&&I<=10747||I===10748||I===10749||I>=10750&&I<=11007||I>=11008&&I<=11055||I>=11056&&I<=11076||I>=11077&&I<=11078||I>=11079&&I<=11084||I>=11085&&I<=11123||I>=11124&&I<=11125||I>=11126&&I<=11157||I===11158||I>=11159&&I<=11263||I>=11776&&I<=11777||I===11778||I===11779||I===11780||I===11781||I>=11782&&I<=11784||I===11785||I===11786||I===11787||I===11788||I===11789||I>=11790&&I<=11798||I===11799||I>=11800&&I<=11801||I===11802||I===11803||I===11804||I===11805||I>=11806&&I<=11807||I===11808||I===11809||I===11810||I===11811||I===11812||I===11813||I===11814||I===11815||I===11816||I===11817||I>=11818&&I<=11822||I===11823||I>=11824&&I<=11833||I>=11834&&I<=11835||I>=11836&&I<=11839||I===11840||I===11841||I===11842||I>=11843&&I<=11855||I>=11856&&I<=11857||I===11858||I>=11859&&I<=11903||I>=12289&&I<=12291||I===12296||I===12297||I===12298||I===12299||I===12300||I===12301||I===12302||I===12303||I===12304||I===12305||I>=12306&&I<=12307||I===12308||I===12309||I===12310||I===12311||I===12312||I===12313||I===12314||I===12315||I===12316||I===12317||I>=12318&&I<=12319||I===12320||I===12336||I===64830||I===64831||I>=65093&&I<=65094}function st(I){I.forEach(function(V){if(delete V.location,h(V)||l(V))for(var we in V.options)delete V.options[we].location,st(V.options[we].value);else v(V)&&E(V.style)||(y(V)||u(V))&&P(V.style)?delete V.style.location:g(V)&&st(V.children)})}function Je(I,V){V===void 0&&(V={}),V=(0,i.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},V);var we=new Ee(I,V).parse();if(we.err){var Ne=SyntaxError(a[we.err.kind]);throw Ne.location=we.err.location,Ne.originalMessage=we.err.message,Ne}return V!=null&&V.captureLocation||st(we.val),we.val}var bt=null},29100:function(c,m,e){"use strict";e.d(m,{$6:function(){return u},OV:function(){return f},Qe:function(){return v},X9:function(){return y},gb:function(){return d},wI:function(){return s}});var i=e(38104),a;(function(h){h.FORMAT_ERROR="FORMAT_ERROR",h.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",h.INVALID_CONFIG="INVALID_CONFIG",h.MISSING_DATA="MISSING_DATA",h.MISSING_TRANSLATION="MISSING_TRANSLATION"})(a||(a={}));var r=function(h){(0,i.ZT)(l,h);function l(x,g,E){var P=this,T=E?E instanceof Error?E:new Error(String(E)):void 0;return P=h.call(this,"[@formatjs/intl Error ".concat(x,"] ").concat(g,` +!(function(){var hd=Object.defineProperty,yd=Object.defineProperties;var gd=Object.getOwnPropertyDescriptors;var zc=Object.getOwnPropertySymbols;var Id=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable;var Hc=(c,m,e)=>m in c?hd(c,m,{enumerable:!0,configurable:!0,writable:!0,value:e}):c[m]=e,Zc=(c,m)=>{for(var e in m||(m={}))Id.call(m,e)&&Hc(c,e,m[e]);if(zc)for(var e of zc(m))xd.call(m,e)&&Hc(c,e,m[e]);return c},Wc=(c,m)=>yd(c,gd(m));(function(){var __webpack_modules__={78060:function(c,m,e){"use strict";e.d(m,{kG:function(){return h}});function i(l){return Math.floor(Math.log(l)*Math.LOG10E)}function a(l,x){if(typeof l.repeat=="function")return l.repeat(x);for(var g=new Array(x),E=0;E0}),we=[],Ne=0,et=V;Ne1)throw new RangeError("integer-width stems only accept a single optional option");et.options[0].replace(Ie,function(Et,kt,Mt,Te,gt,at){if(kt)V.minimumIntegerDigits=Mt.length;else{if(Te&>)throw new Error("We currently do not support maximum integer digits");if(at)throw new Error("We currently do not support exact integer digits")}return""});continue}if(De.test(et.stem)){V.minimumIntegerDigits=et.stem.length;continue}if(q.test(et.stem)){if(et.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");et.stem.replace(q,function(Et,kt,Mt,Te,gt,at){return Mt==="*"?V.minimumFractionDigits=kt.length:Te&&Te[0]==="#"?V.maximumFractionDigits=Te.length:gt&&at?(V.minimumFractionDigits=gt.length,V.maximumFractionDigits=gt.length+at.length):(V.minimumFractionDigits=kt.length,V.maximumFractionDigits=kt.length),""});var ut=et.options[0];ut==="w"?V=(0,i.pi)((0,i.pi)({},V),{trailingZeroDisplay:"stripIfInteger"}):ut&&(V=(0,i.pi)((0,i.pi)({},V),Re(ut)));continue}if(J.test(et.stem)){V=(0,i.pi)((0,i.pi)({},V),Re(et.stem));continue}var ze=We(et.stem);ze&&(V=(0,i.pi)((0,i.pi)({},V),ze));var mt=Ve(et.stem);mt&&(V=(0,i.pi)((0,i.pi)({},V),mt))}return V}var ne={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ae(I,V){for(var we="",Ne=0;Ne>1),Et="a",kt=C(V);for((kt=="H"||kt=="k")&&(mt=0);mt-- >0;)we+=Et;for(;ze-- >0;)we=kt+we}else et==="J"?we+="H":we+=et}return we}function C(I){var V=I.hourCycle;if(V===void 0&&I.hourCycles&&I.hourCycles.length&&(V=I.hourCycles[0]),V)switch(V){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var we=I.language,Ne;we!=="root"&&(Ne=I.maximize().region);var et=ne[Ne||""]||ne[we||""]||ne["".concat(we,"-001")]||ne["001"];return et[0]}var N,X=new RegExp("^".concat(j.source,"*")),fe=new RegExp("".concat(j.source,"*$"));function k(I,V){return{start:I,end:V}}var $=!!String.prototype.startsWith&&"_a".startsWith("a",1),Z=!!String.fromCodePoint,ye=!!Object.fromEntries,lt=!!String.prototype.codePointAt,Le=!!String.prototype.trimStart,Dt=!!String.prototype.trimEnd,an=!!Number.isSafeInteger,sn=an?Number.isSafeInteger:function(I){return typeof I=="number"&&isFinite(I)&&Math.floor(I)===I&&Math.abs(I)<=9007199254740991},Rn=!0;try{var An=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Rn=((N=An.exec("a"))===null||N===void 0?void 0:N[0])==="a"}catch(I){Rn=!1}var Fn=$?function(V,we,Ne){return V.startsWith(we,Ne)}:function(V,we,Ne){return V.slice(Ne,Ne+we.length)===we},Xe=Z?String.fromCodePoint:function(){for(var V=[],we=0;weut;){if(ze=V[ut++],ze>1114111)throw RangeError(ze+" is not a valid code point");Ne+=ze<65536?String.fromCharCode(ze):String.fromCharCode(((ze-=65536)>>10)+55296,ze%1024+56320)}return Ne},xt=ye?Object.fromEntries:function(V){for(var we={},Ne=0,et=V;Ne=Ne)){var et=V.charCodeAt(we),ut;return et<55296||et>56319||we+1===Ne||(ut=V.charCodeAt(we+1))<56320||ut>57343?et:(et-55296<<10)+(ut-56320)+65536}},ot=Le?function(V){return V.trimStart()}:function(V){return V.replace(X,"")},Ht=Dt?function(V){return V.trimEnd()}:function(V){return V.replace(fe,"")};function ke(I,V){return new RegExp(I,V)}var $e;if(Rn){var qe=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$e=function(V,we){var Ne;qe.lastIndex=we;var et=qe.exec(V);return(Ne=et[1])!==null&&Ne!==void 0?Ne:""}}else $e=function(V,we){for(var Ne=[];;){var et=vt(V,we);if(et===void 0||ce(et)||Ue(et))break;Ne.push(et),we+=et>=65536?2:1}return Xe.apply(void 0,Ne)};var Ee=function(){function I(V,we){we===void 0&&(we={}),this.message=V,this.position={offset:0,line:1,column:1},this.ignoreTag=!!we.ignoreTag,this.locale=we.locale,this.requiresOtherClause=!!we.requiresOtherClause,this.shouldParseSkeletons=!!we.shouldParseSkeletons}return I.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},I.prototype.parseMessage=function(V,we,Ne){for(var et=[];!this.isEOF();){var ut=this.char();if(ut===123){var ze=this.parseArgument(V,Ne);if(ze.err)return ze;et.push(ze.val)}else{if(ut===125&&V>0)break;if(ut===35&&(we==="plural"||we==="selectordinal")){var mt=this.clonePosition();this.bump(),et.push({type:r.pound,location:k(mt,this.clonePosition())})}else if(ut===60&&!this.ignoreTag&&this.peek()===47){if(Ne)break;return this.error(a.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}else if(ut===60&&!this.ignoreTag&&Pe(this.peek()||0)){var ze=this.parseTag(V,we);if(ze.err)return ze;et.push(ze.val)}else{var ze=this.parseLiteral(V,we);if(ze.err)return ze;et.push(ze.val)}}}return{val:et,err:null}},I.prototype.parseTag=function(V,we){var Ne=this.clonePosition();this.bump();var et=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:r.literal,value:"<".concat(et,"/>"),location:k(Ne,this.clonePosition())},err:null};if(this.bumpIf(">")){var ut=this.parseMessage(V+1,we,!0);if(ut.err)return ut;var ze=ut.val,mt=this.clonePosition();if(this.bumpIf("")?{val:{type:r.tag,value:et,children:ze,location:k(Ne,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,k(mt,this.clonePosition())))}else return this.error(a.UNCLOSED_TAG,k(Ne,this.clonePosition()))}else return this.error(a.INVALID_TAG,k(Ne,this.clonePosition()))},I.prototype.parseTagName=function(){var V=this.offset();for(this.bump();!this.isEOF()&&nt(this.char());)this.bump();return this.message.slice(V,this.offset())},I.prototype.parseLiteral=function(V,we){for(var Ne=this.clonePosition(),et="";;){var ut=this.tryParseQuote(we);if(ut){et+=ut;continue}var ze=this.tryParseUnquoted(V,we);if(ze){et+=ze;continue}var mt=this.tryParseLeftAngleBracket();if(mt){et+=mt;continue}break}var Et=k(Ne,this.clonePosition());return{val:{type:r.literal,value:et,location:Et},err:null}},I.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!tt(this.peek()||0))?(this.bump(),"<"):null},I.prototype.tryParseQuote=function(V){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(V==="plural"||V==="selectordinal")break;return null;default:return null}this.bump();var we=[this.char()];for(this.bump();!this.isEOF();){var Ne=this.char();if(Ne===39)if(this.peek()===39)we.push(39),this.bump();else{this.bump();break}else we.push(Ne);this.bump()}return Xe.apply(void 0,we)},I.prototype.tryParseUnquoted=function(V,we){if(this.isEOF())return null;var Ne=this.char();return Ne===60||Ne===123||Ne===35&&(we==="plural"||we==="selectordinal")||Ne===125&&V>0?null:(this.bump(),Xe(Ne))},I.prototype.parseArgument=function(V,we){var Ne=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(Ne,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(a.EMPTY_ARGUMENT,k(Ne,this.clonePosition()));var et=this.parseIdentifierIfPossible().value;if(!et)return this.error(a.MALFORMED_ARGUMENT,k(Ne,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(Ne,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:r.argument,value:et,location:k(Ne,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(Ne,this.clonePosition())):this.parseArgumentOptions(V,we,et,Ne);default:return this.error(a.MALFORMED_ARGUMENT,k(Ne,this.clonePosition()))}},I.prototype.parseIdentifierIfPossible=function(){var V=this.clonePosition(),we=this.offset(),Ne=$e(this.message,we),et=we+Ne.length;this.bumpTo(et);var ut=this.clonePosition(),ze=k(V,ut);return{value:Ne,location:ze}},I.prototype.parseArgumentOptions=function(V,we,Ne,et){var ut,ze=this.clonePosition(),mt=this.parseIdentifierIfPossible().value,Et=this.clonePosition();switch(mt){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,k(ze,Et));case"number":case"date":case"time":{this.bumpSpace();var kt=null;if(this.bumpIf(",")){this.bumpSpace();var Mt=this.clonePosition(),Te=this.parseSimpleArgStyleIfPossible();if(Te.err)return Te;var gt=Ht(Te.val);if(gt.length===0)return this.error(a.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));var at=k(Mt,this.clonePosition());kt={style:gt,styleLocation:at}}var He=this.tryParseArgumentClose(et);if(He.err)return He;var St=k(et,this.clonePosition());if(kt&&Fn(kt==null?void 0:kt.style,"::",0)){var At=ot(kt.style.slice(2));if(mt==="number"){var Te=this.parseNumberSkeletonFromString(At,kt.styleLocation);return Te.err?Te:{val:{type:r.number,value:Ne,location:St,style:Te.val},err:null}}else{if(At.length===0)return this.error(a.EXPECT_DATE_TIME_SKELETON,St);var Kt=At;this.locale&&(Kt=ae(At,this.locale));var gt={type:s.dateTime,pattern:Kt,location:kt.styleLocation,parsedOptions:this.shouldParseSkeletons?A(Kt):{}},nn=mt==="date"?r.date:r.time;return{val:{type:nn,value:Ne,location:St,style:gt},err:null}}}return{val:{type:mt==="number"?r.number:mt==="date"?r.date:r.time,value:Ne,location:St,style:(ut=kt==null?void 0:kt.style)!==null&&ut!==void 0?ut:null},err:null}}case"plural":case"selectordinal":case"select":{var Cn=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,k(Cn,(0,i.pi)({},Cn)));this.bumpSpace();var nr=this.parseIdentifierIfPossible(),Gn=0;if(mt!=="select"&&nr.value==="offset"){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var Te=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(Te.err)return Te;this.bumpSpace(),nr=this.parseIdentifierIfPossible(),Gn=Te.val}var dr=this.tryParsePluralOrSelectOptions(V,mt,we,nr);if(dr.err)return dr;var He=this.tryParseArgumentClose(et);if(He.err)return He;var Cr=k(et,this.clonePosition());return mt==="select"?{val:{type:r.select,value:Ne,options:xt(dr.val),location:Cr},err:null}:{val:{type:r.plural,value:Ne,options:xt(dr.val),offset:Gn,pluralType:mt==="plural"?"cardinal":"ordinal",location:Cr},err:null}}default:return this.error(a.INVALID_ARGUMENT_TYPE,k(ze,Et))}},I.prototype.tryParseArgumentClose=function(V){return this.isEOF()||this.char()!==125?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(V,this.clonePosition())):(this.bump(),{val:!0,err:null})},I.prototype.parseSimpleArgStyleIfPossible=function(){for(var V=0,we=this.clonePosition();!this.isEOF();){var Ne=this.char();switch(Ne){case 39:{this.bump();var et=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(et,this.clonePosition()));this.bump();break}case 123:{V+=1,this.bump();break}case 125:{if(V>0)V-=1;else return{val:this.message.slice(we.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(we.offset,this.offset()),err:null}},I.prototype.parseNumberSkeletonFromString=function(V,we){var Ne=[];try{Ne=z(V)}catch(et){return this.error(a.INVALID_NUMBER_SKELETON,we)}return{val:{type:s.number,tokens:Ne,location:we,parsedOptions:this.shouldParseSkeletons?Q(Ne):{}},err:null}},I.prototype.tryParsePluralOrSelectOptions=function(V,we,Ne,et){for(var ut,ze=!1,mt=[],Et=new Set,kt=et.value,Mt=et.location;;){if(kt.length===0){var Te=this.clonePosition();if(we!=="select"&&this.bumpIf("=")){var gt=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(gt.err)return gt;Mt=k(Te,this.clonePosition()),kt=this.message.slice(Te.offset,this.offset())}else break}if(Et.has(kt))return this.error(we==="select"?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,Mt);kt==="other"&&(ze=!0),this.bumpSpace();var at=this.clonePosition();if(!this.bumpIf("{"))return this.error(we==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var He=this.parseMessage(V+1,we,Ne);if(He.err)return He;var St=this.tryParseArgumentClose(at);if(St.err)return St;mt.push([kt,{value:He.val,location:k(at,this.clonePosition())}]),Et.add(kt),this.bumpSpace(),ut=this.parseIdentifierIfPossible(),kt=ut.value,Mt=ut.location}return mt.length===0?this.error(we==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!ze?this.error(a.MISSING_OTHER_CLAUSE,k(this.clonePosition(),this.clonePosition())):{val:mt,err:null}},I.prototype.tryParseDecimalInteger=function(V,we){var Ne=1,et=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(Ne=-1);for(var ut=!1,ze=0;!this.isEOF();){var mt=this.char();if(mt>=48&&mt<=57)ut=!0,ze=ze*10+(mt-48),this.bump();else break}var Et=k(et,this.clonePosition());return ut?(ze*=Ne,sn(ze)?{val:ze,err:null}:this.error(we,Et)):this.error(V,Et)},I.prototype.offset=function(){return this.position.offset},I.prototype.isEOF=function(){return this.offset()===this.message.length},I.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},I.prototype.char=function(){var V=this.position.offset;if(V>=this.message.length)throw Error("out of bound");var we=vt(this.message,V);if(we===void 0)throw Error("Offset ".concat(V," is at invalid UTF-16 code unit boundary"));return we},I.prototype.error=function(V,we){return{val:null,err:{kind:V,message:this.message,location:we}}},I.prototype.bump=function(){if(!this.isEOF()){var V=this.char();V===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=V<65536?1:2)}},I.prototype.bumpIf=function(V){if(Fn(this.message,V,this.offset())){for(var we=0;we=0?(this.bumpTo(Ne),!0):(this.bumpTo(this.message.length),!1)},I.prototype.bumpTo=function(V){if(this.offset()>V)throw Error("targetOffset ".concat(V," must be greater than or equal to the current offset ").concat(this.offset()));for(V=Math.min(V,this.message.length);;){var we=this.offset();if(we===V)break;if(we>V)throw Error("targetOffset ".concat(V," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},I.prototype.bumpSpace=function(){for(;!this.isEOF()&&ce(this.char());)this.bump()},I.prototype.peek=function(){if(this.isEOF())return null;var V=this.char(),we=this.offset(),Ne=this.message.charCodeAt(we+(V>=65536?2:1));return Ne!=null?Ne:null},I}();function Pe(I){return I>=97&&I<=122||I>=65&&I<=90}function tt(I){return Pe(I)||I===47}function nt(I){return I===45||I===46||I>=48&&I<=57||I===95||I>=97&&I<=122||I>=65&&I<=90||I==183||I>=192&&I<=214||I>=216&&I<=246||I>=248&&I<=893||I>=895&&I<=8191||I>=8204&&I<=8205||I>=8255&&I<=8256||I>=8304&&I<=8591||I>=11264&&I<=12271||I>=12289&&I<=55295||I>=63744&&I<=64975||I>=65008&&I<=65533||I>=65536&&I<=983039}function ce(I){return I>=9&&I<=13||I===32||I===133||I>=8206&&I<=8207||I===8232||I===8233}function Ue(I){return I>=33&&I<=35||I===36||I>=37&&I<=39||I===40||I===41||I===42||I===43||I===44||I===45||I>=46&&I<=47||I>=58&&I<=59||I>=60&&I<=62||I>=63&&I<=64||I===91||I===92||I===93||I===94||I===96||I===123||I===124||I===125||I===126||I===161||I>=162&&I<=165||I===166||I===167||I===169||I===171||I===172||I===174||I===176||I===177||I===182||I===187||I===191||I===215||I===247||I>=8208&&I<=8213||I>=8214&&I<=8215||I===8216||I===8217||I===8218||I>=8219&&I<=8220||I===8221||I===8222||I===8223||I>=8224&&I<=8231||I>=8240&&I<=8248||I===8249||I===8250||I>=8251&&I<=8254||I>=8257&&I<=8259||I===8260||I===8261||I===8262||I>=8263&&I<=8273||I===8274||I===8275||I>=8277&&I<=8286||I>=8592&&I<=8596||I>=8597&&I<=8601||I>=8602&&I<=8603||I>=8604&&I<=8607||I===8608||I>=8609&&I<=8610||I===8611||I>=8612&&I<=8613||I===8614||I>=8615&&I<=8621||I===8622||I>=8623&&I<=8653||I>=8654&&I<=8655||I>=8656&&I<=8657||I===8658||I===8659||I===8660||I>=8661&&I<=8691||I>=8692&&I<=8959||I>=8960&&I<=8967||I===8968||I===8969||I===8970||I===8971||I>=8972&&I<=8991||I>=8992&&I<=8993||I>=8994&&I<=9e3||I===9001||I===9002||I>=9003&&I<=9083||I===9084||I>=9085&&I<=9114||I>=9115&&I<=9139||I>=9140&&I<=9179||I>=9180&&I<=9185||I>=9186&&I<=9254||I>=9255&&I<=9279||I>=9280&&I<=9290||I>=9291&&I<=9311||I>=9472&&I<=9654||I===9655||I>=9656&&I<=9664||I===9665||I>=9666&&I<=9719||I>=9720&&I<=9727||I>=9728&&I<=9838||I===9839||I>=9840&&I<=10087||I===10088||I===10089||I===10090||I===10091||I===10092||I===10093||I===10094||I===10095||I===10096||I===10097||I===10098||I===10099||I===10100||I===10101||I>=10132&&I<=10175||I>=10176&&I<=10180||I===10181||I===10182||I>=10183&&I<=10213||I===10214||I===10215||I===10216||I===10217||I===10218||I===10219||I===10220||I===10221||I===10222||I===10223||I>=10224&&I<=10239||I>=10240&&I<=10495||I>=10496&&I<=10626||I===10627||I===10628||I===10629||I===10630||I===10631||I===10632||I===10633||I===10634||I===10635||I===10636||I===10637||I===10638||I===10639||I===10640||I===10641||I===10642||I===10643||I===10644||I===10645||I===10646||I===10647||I===10648||I>=10649&&I<=10711||I===10712||I===10713||I===10714||I===10715||I>=10716&&I<=10747||I===10748||I===10749||I>=10750&&I<=11007||I>=11008&&I<=11055||I>=11056&&I<=11076||I>=11077&&I<=11078||I>=11079&&I<=11084||I>=11085&&I<=11123||I>=11124&&I<=11125||I>=11126&&I<=11157||I===11158||I>=11159&&I<=11263||I>=11776&&I<=11777||I===11778||I===11779||I===11780||I===11781||I>=11782&&I<=11784||I===11785||I===11786||I===11787||I===11788||I===11789||I>=11790&&I<=11798||I===11799||I>=11800&&I<=11801||I===11802||I===11803||I===11804||I===11805||I>=11806&&I<=11807||I===11808||I===11809||I===11810||I===11811||I===11812||I===11813||I===11814||I===11815||I===11816||I===11817||I>=11818&&I<=11822||I===11823||I>=11824&&I<=11833||I>=11834&&I<=11835||I>=11836&&I<=11839||I===11840||I===11841||I===11842||I>=11843&&I<=11855||I>=11856&&I<=11857||I===11858||I>=11859&&I<=11903||I>=12289&&I<=12291||I===12296||I===12297||I===12298||I===12299||I===12300||I===12301||I===12302||I===12303||I===12304||I===12305||I>=12306&&I<=12307||I===12308||I===12309||I===12310||I===12311||I===12312||I===12313||I===12314||I===12315||I===12316||I===12317||I>=12318&&I<=12319||I===12320||I===12336||I===64830||I===64831||I>=65093&&I<=65094}function st(I){I.forEach(function(V){if(delete V.location,h(V)||l(V))for(var we in V.options)delete V.options[we].location,st(V.options[we].value);else v(V)&&E(V.style)||(y(V)||u(V))&&P(V.style)?delete V.style.location:g(V)&&st(V.children)})}function Je(I,V){V===void 0&&(V={}),V=(0,i.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},V);var we=new Ee(I,V).parse();if(we.err){var Ne=SyntaxError(a[we.err.kind]);throw Ne.location=we.err.location,Ne.originalMessage=we.err.message,Ne}return V!=null&&V.captureLocation||st(we.val),we.val}var bt=null},29100:function(c,m,e){"use strict";e.d(m,{$6:function(){return u},OV:function(){return f},Qe:function(){return v},X9:function(){return y},gb:function(){return d},wI:function(){return s}});var i=e(38104),a;(function(h){h.FORMAT_ERROR="FORMAT_ERROR",h.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",h.INVALID_CONFIG="INVALID_CONFIG",h.MISSING_DATA="MISSING_DATA",h.MISSING_TRANSLATION="MISSING_TRANSLATION"})(a||(a={}));var r=function(h){(0,i.ZT)(l,h);function l(x,g,E){var P=this,T=E?E instanceof Error?E:new Error(String(E)):void 0;return P=h.call(this,"[@formatjs/intl Error ".concat(x,"] ").concat(g,` `).concat(T?` `.concat(T.message,` `).concat(T.stack):""))||this,P.code=x,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(P,l),P}return l}(Error),s=function(h){(0,i.ZT)(l,h);function l(x,g){return h.call(this,a.UNSUPPORTED_FORMATTER,x,g)||this}return l}(r),f=function(h){(0,i.ZT)(l,h);function l(x,g){return h.call(this,a.INVALID_CONFIG,x,g)||this}return l}(r),d=function(h){(0,i.ZT)(l,h);function l(x,g){return h.call(this,a.MISSING_DATA,x,g)||this}return l}(r),v=function(h){(0,i.ZT)(l,h);function l(x,g,E){var P=h.call(this,a.FORMAT_ERROR,"".concat(x,` @@ -7,28 +7,28 @@ Locale: `).concat(g,` MessageID: `).concat(E==null?void 0:E.id,` Default Message: `).concat(E==null?void 0:E.defaultMessage,` Description: `).concat(E==null?void 0:E.description,` -`),g,P)||this;return T.descriptor=E,T.locale=g,T}return l}(v),u=function(h){(0,i.ZT)(l,h);function l(x,g){var E=h.call(this,a.MISSING_TRANSLATION,'Missing message: "'.concat(x.id,'" for locale "').concat(g,'", using ').concat(x.defaultMessage?"default message (".concat(typeof x.defaultMessage=="string"?x.defaultMessage:x.defaultMessage.map(function(P){var T;return(T=P.value)!==null&&T!==void 0?T:JSON.stringify(P)}).join(),")"):"id"," as fallback."))||this;return E.descriptor=x,E}return l}(r)},58610:function(c,m,e){"use strict";e.d(m,{L6:function(){return f},Sn:function(){return u},TB:function(){return x},Z0:function(){return y},ax:function(){return l}});var i=e(38104),a=e(28726),r=e(57840),s=e(29100);function f(g,E,P){return P===void 0&&(P={}),E.reduce(function(T,w){return w in g?T[w]=g[w]:w in P&&(T[w]=P[w]),T},{})}var d=function(g){},v=function(g){},y={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:d,onWarn:v};function u(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function h(g){return{create:function(){return{get:function(E){return g[E]},set:function(E,P){g[E]=P}}}}}function l(g){g===void 0&&(g=u());var E=Intl.RelativeTimeFormat,P=Intl.ListFormat,T=Intl.DisplayNames,w=(0,r.H)(function(){for(var B,A=[],R=0;R$ in k?s(k,$,{enumerable:!0,configurable:!0,writable:!0,value:Z}):k[$]=Z,u=(k,$)=>{for(var Z in $||($={}))d.call($,Z)&&y(k,Z,$[Z]);if(f)for(var Z of f($))v.call($,Z)&&y(k,Z,$[Z]);return k};const h=k=>r.createElement("svg",u({viewBox:"64 64 896 896"},k),r.createElement("path",{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}),r.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}));var l="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNjk5IDM1M2gtNDYuOWMtMTAuMiAwLTE5LjkgNC45LTI1LjkgMTMuM0w0NjkgNTg0LjNsLTcxLjItOTguOGMtNi04LjMtMTUuNi0xMy4zLTI1LjktMTMuM0gzMjVjLTYuNSAwLTEwLjMgNy40LTYuNSAxMi43bDEyNC42IDE3Mi44YTMxLjggMzEuOCAwIDAgMCA1MS43IDBsMjEwLjYtMjkyYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjxwYXRoIGQ9Ik01MTIgNjRDMjY0LjYgNjQgNjQgMjY0LjYgNjQgNTEyczIwMC42IDQ0OCA0NDggNDQ4IDQ0OC0yMDAuNiA0NDgtNDQ4Uzc1OS40IDY0IDUxMiA2NHptMCA4MjBjLTIwNS40IDAtMzcyLTE2Ni42LTM3Mi0zNzJzMTY2LjYtMzcyIDM3Mi0zNzIgMzcyIDE2Ni42IDM3MiAzNzItMTY2LjYgMzcyLTM3MiAzNzJ6Ii8+PC9zdmc+",x=Object.defineProperty,g=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,T=(k,$,Z)=>$ in k?x(k,$,{enumerable:!0,configurable:!0,writable:!0,value:Z}):k[$]=Z,w=(k,$)=>{for(var Z in $||($={}))E.call($,Z)&&T(k,Z,$[Z]);if(g)for(var Z of g($))P.call($,Z)&&T(k,Z,$[Z]);return k};const j=k=>r.createElement("svg",w({fillRule:"evenodd",viewBox:"64 64 896 896"},k),r.createElement("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 0 1 .05.09.12.12 0 0 1 0 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 0 1 .05.06v.02a.12.12 0 0 1 0 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 0 1-.09.05.12.12 0 0 1-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 0 1-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 0 1-.05-.09.12.12 0 0 1 0-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 0 1-.05-.06l-.01-.02a.12.12 0 0 1 0-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 0 1 .09-.05.12.12 0 0 1 .07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 0 1 .07 0z"}));var D="data:image/svg+xml;base64,PHN2ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiPjxwYXRoIGQ9Ik01MTIgNjRjMjQ3LjQgMCA0NDggMjAwLjYgNDQ4IDQ0OFM3NTkuNCA5NjAgNTEyIDk2MCA2NCA3NTkuNCA2NCA1MTIgMjY0LjYgNjQgNTEyIDY0em0wIDc2Yy0yMDUuNCAwLTM3MiAxNjYuNi0zNzIgMzcyczE2Ni42IDM3MiAzNzIgMzcyIDM3Mi0xNjYuNiAzNzItMzcyLTE2Ni42LTM3Mi0zNzItMzcyem0xMjguMDEgMTk4LjgzYy4wMyAwIC4wNS4wMS4wOS4wNmw0NS4wMiA0NS4wMWEuMi4yIDAgMCAxIC4wNS4wOS4xMi4xMiAwIDAgMSAwIC4wN2MwIC4wMi0uMDEuMDQtLjA1LjA4TDU1Ny4yNSA1MTJsMTI3Ljg3IDEyNy44NmEuMjcuMjcgMCAwIDEgLjA1LjA2di4wMmEuMTIuMTIgMCAwIDEgMCAuMDdjMCAuMDMtLjAxLjA1LS4wNS4wOWwtNDUuMDIgNDUuMDJhLjIuMiAwIDAgMS0uMDkuMDUuMTIuMTIgMCAwIDEtLjA3IDBjLS4wMiAwLS4wNC0uMDEtLjA4LS4wNUw1MTIgNTU3LjI1IDM4NC4xNCA2ODUuMTJjLS4wNC4wNC0uMDYuMDUtLjA4LjA1YS4xMi4xMiAwIDAgMS0uMDcgMGMtLjAzIDAtLjA1LS4wMS0uMDktLjA1bC00NS4wMi00NS4wMmEuMi4yIDAgMCAxLS4wNS0uMDkuMTIuMTIgMCAwIDEgMC0uMDdjMC0uMDIuMDEtLjA0LjA2LS4wOEw0NjYuNzUgNTEyIDMzOC44OCAzODQuMTRhLjI3LjI3IDAgMCAxLS4wNS0uMDZsLS4wMS0uMDJhLjEyLjEyIDAgMCAxIDAtLjA3YzAtLjAzLjAxLS4wNS4wNS0uMDlsNDUuMDItNDUuMDJhLjIuMiAwIDAgMSAuMDktLjA1LjEyLjEyIDAgMCAxIC4wNyAwYy4wMiAwIC4wNC4wMS4wOC4wNkw1MTIgNDY2Ljc1bDEyNy44Ni0xMjcuODZjLjA0LS4wNS4wNi0uMDYuMDgtLjA2YS4xMi4xMiAwIDAgMSAuMDcgMHoiLz48L3N2Zz4=",B=Object.defineProperty,A=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,K=(k,$,Z)=>$ in k?B(k,$,{enumerable:!0,configurable:!0,writable:!0,value:Z}):k[$]=Z,q=(k,$)=>{for(var Z in $||($={}))R.call($,Z)&&K(k,Z,$[Z]);if(A)for(var Z of A($))z.call($,Z)&&K(k,Z,$[Z]);return k};const X=k=>r.createElement("svg",q({viewBox:"64 64 896 896"},k),r.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),r.createElement("path",{d:"M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}));var Ie="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjxwYXRoIGQ9Ik00NjQgMzM2YTQ4IDQ4IDAgMSAwIDk2IDAgNDggNDggMCAxIDAtOTYgMHptNzIgMTEyaC00OGMtNC40IDAtOCAzLjYtOCA4djI3MmMwIDQuNCAzLjYgOCA4IDhoNDhjNC40IDAgOC0zLjYgOC04VjQ1NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+",De=Object.defineProperty,Re=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ke=(k,$,Z)=>$ in k?De(k,$,{enumerable:!0,configurable:!0,writable:!0,value:Z}):k[$]=Z,Y=(k,$)=>{for(var Z in $||($={}))We.call($,Z)&&Ke(k,Z,$[Z]);if(Re)for(var Z of Re($))Ve.call($,Z)&&Ke(k,Z,$[Z]);return k};const re=k=>r.createElement("svg",Y({viewBox:"64 64 896 896"},k),r.createElement("path",{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440-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-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}));var oe="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDY0IDcyMGE0OCA0OCAwIDEgMCA5NiAwIDQ4IDQ4IDAgMSAwLTk2IDB6bTE2LTMwNHYxODRjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0MTZjMC00LjQtMy42LTgtOC04aC00OGMtNC40IDAtOCAzLjYtOCA4em00NzUuNyA0NDAtNDE2LTcyMGMtNi4yLTEwLjctMTYuOS0xNi0yNy43LTE2cy0yMS42IDUuMy0yNy43IDE2bC00MTYgNzIwQzU2IDg3Ny40IDcxLjQgOTA0IDk2IDkwNGg4MzJjMjQuNiAwIDQwLTI2LjYgMjcuNy00OHptLTc4My41LTI3LjlMNTEyIDIzOS45bDMzOS44IDU4OC4ySDE3Mi4yeiIvPjwvc3ZnPg==",C=e(35250),N={info:X,warning:re,success:h,error:j},Q=function($){var Z=(0,r.useState)(function(){return N[$.type]}),ge=a()(Z,1),lt=ge[0];return(0,C.jsxs)("div",{className:"dumi-default-container markdown","data-type":$.type,children:[(0,C.jsx)(lt,{}),(0,C.jsx)("h4",{children:$.title||$.type.toUpperCase()}),(0,C.jsx)("section",{children:$.children})]})},fe=Q},12620:function(c,m,e){"use strict";e.d(m,{Z:function(){return Us}});var i=e(39114),a=e.n(i),r=e(26851),s=e.n(r),f=e(5602),d=e.n(f),v=e(54996),y=e(70835),u=e(70079),h=e.t(u,2),l=Object.defineProperty,x=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,P=(S,F,U)=>F in S?l(S,F,{enumerable:!0,configurable:!0,writable:!0,value:U}):S[F]=U,T=(S,F)=>{for(var U in F||(F={}))g.call(F,U)&&P(S,U,F[U]);if(x)for(var U of x(F))E.call(F,U)&&P(S,U,F[U]);return S};const w=S=>u.createElement("svg",T({viewBox:"64 64 896 896"},S),u.createElement("path",{d:"m709.6 210 .4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6 339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z"}));var j="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtNzA5LjYgMjEwIC40LS4yaC4yTDUxMiA5NiAzMTMuOSAyMDkuOGgtLjJsLjcuM0wxNTEuNSAzMDR2NDE2TDUxMiA5MjhsMzYwLjUtMjA4VjMwNGwtMTYyLjktOTR6TTQ4Mi43IDg0My42IDMzOS42IDc2MVY2MjEuNEwyMTAgNTQ3LjhWMzcyLjlsMjcyLjcgMTU3LjN2MzEzLjR6TTIzOC4yIDMyMS41bDEzNC43LTc3LjggMTM4LjkgNzkuNyAxMzkuMS03OS45IDEzNS4yIDc4LTI3My45IDE1OC0yNzQtMTU4ek04MTQgNTQ4LjNsLTEyOC44IDczLjF2MTM5LjFsLTE0My45IDgzVjUzMC40TDgxNCAzNzMuMXYxNzUuMnoiLz48L3N2Zz4=",D=Object.defineProperty,B=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,z=(S,F,U)=>F in S?D(S,F,{enumerable:!0,configurable:!0,writable:!0,value:U}):S[F]=U,K=(S,F)=>{for(var U in F||(F={}))A.call(F,U)&&z(S,U,F[U]);if(B)for(var U of B(F))R.call(F,U)&&z(S,U,F[U]);return S};const q=S=>u.createElement("svg",K({viewBox:"64 64 896 896"},S),u.createElement("path",{d:"m925.6 405.1-203-253.7a6.5 6.5 0 0 0-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 0 0 .2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 0 0 .2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4 345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7-44.1-171.5 137.2 171.5h-93.1z"}));var X="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtOTI1LjYgNDA1LjEtMjAzLTI1My43YTYuNSA2LjUgMCAwIDAtNS0yLjRIMzA2LjRjLTEuOSAwLTMuOC45LTUgMi40bC0yMDMgMjUzLjdhNi41IDYuNSAwIDAgMCAuMiA4LjNsNDA4LjYgNDU5LjVjMS4yIDEuNCAzIDIuMSA0LjggMi4xIDEuOCAwIDMuNS0uOCA0LjgtMi4xbDQwOC42LTQ1OS41YTYuNSA2LjUgMCAwIDAgLjItOC4zek02NDUuMiAyMDYuNGwzNC40IDEzMy45LTEzMi41LTEzMy45aDk4LjF6bTguMiAxNzguNUgzNzAuNkw1MTIgMjQybDE0MS40IDE0Mi45ek0zNzguOCAyMDYuNGg5OC4xTDM0NC4zIDM0MC4zbDM0LjUtMTMzLjl6bS01My40IDctNDQuMSAxNzEuNWgtOTMuMWwxMzcuMi0xNzEuNXpNMTk0LjYgNDM0LjlIMjg5bDEyNS44IDI0Ny43LTIyMC4yLTI0Ny43ek01MTIgNzYzLjQgMzQ1LjEgNDM0LjloMzMzLjdMNTEyIDc2My40em05Ny4xLTgwLjhMNzM1IDQzNC45aDk0LjRMNjA5LjEgNjgyLjZ6bTEzMy42LTI5Ny43LTQ0LjEtMTcxLjUgMTM3LjIgMTcxLjVoLTkzLjF6Ii8+PC9zdmc+",Ie=Object.defineProperty,De=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Ve=(S,F,U)=>F in S?Ie(S,F,{enumerable:!0,configurable:!0,writable:!0,value:U}):S[F]=U,Ke=(S,F)=>{for(var U in F||(F={}))Re.call(F,U)&&Ve(S,U,F[U]);if(De)for(var U of De(F))We.call(F,U)&&Ve(S,U,F[U]);return S};const Y=S=>u.createElement("svg",Ke({viewBox:"64 64 896 896"},S),u.createElement("path",{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}));var re="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ4IDM1OS4zSDYyNy43TDgyNS44IDEwOWM0LjEtNS4zLjQtMTMtNi4zLTEzSDQzNmMtMi44IDAtNS41IDEuNS02LjkgNEwxNzAgNTQ3LjVjLTMuMSA1LjMuNyAxMiA2LjkgMTJoMTc0LjRsLTg5LjQgMzU3LjZjLTEuOSA3LjggNy41IDEzLjMgMTMuMyA3LjdMODUzLjUgMzczYzUuMi00LjkgMS43LTEzLjctNS41LTEzLjd6TTM3OC4yIDczMi41bDYwLjMtMjQxSDI4MS4xbDE4OS42LTMyNy40aDIyNC42TDQ4NyA0MjcuNGgyMTFMMzc4LjIgNzMyLjV6Ii8+PC9zdmc+",oe=e(47831),C=e.n(oe),N=e(74692),Q=function(){return u.createElement(u.Fragment,null)},fe=Q,k=e(5527),$=e(54744),Z=e(56673),ge=e(32630),lt=e(51062),Le=e(85801),Dt=e(87107),an=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var S=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(S)||/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(S==null?void 0:S.substr(0,4))},sn=(0,u.createContext)(null),Rn=e(70051),An=e(13054),Fn=e(71409),Xe=e(44116),xt=e(54272),vt=function(F){var U=F.activeTabOffset,le=F.horizontal,ae=F.rtl,xe=F.indicatorSize,Se=F.indicatorAlign,je=(0,u.useState)(),Ye=(0,ge.Z)(je,2),pt=Ye[0],Rt=Ye[1],ht=(0,u.useRef)(),Ft=u.useCallback(function(Lt){return typeof xe=="function"?xe(Lt):typeof xe=="number"?xe:Lt},[xe]);function Wt(){xt.Z.cancel(ht.current)}return(0,u.useEffect)(function(){var Lt={};if(U)if(le){Lt.width=Ft(U.width);var un=ae?"right":"left";Se==="start"&&(Lt[un]=U[un]),Se==="center"&&(Lt[un]=U[un]+U.width/2,Lt.transform=ae?"translateX(50%)":"translateX(-50%)"),Se==="end"&&(Lt[un]=U[un]+U.width,Lt.transform="translateX(-100%)")}else Lt.height=Ft(U.height),Se==="start"&&(Lt.top=U.top),Se==="center"&&(Lt.top=U.top+U.height/2,Lt.transform="translateY(-50%)"),Se==="end"&&(Lt.top=U.top+U.height,Lt.transform="translateY(-100%)");return Wt(),ht.current=(0,xt.Z)(function(){Rt(Lt)}),Wt},[U,le,ae,xe,Se,Ft]),{style:pt}},ot=vt,Ht={width:0,height:0,left:0,top:0};function ke(S,F,U){return(0,u.useMemo)(function(){for(var le,ae=new Map,xe=F.get((le=S[0])===null||le===void 0?void 0:le.key)||Ht,Se=xe.left+xe.width,je=0;jeZn?(Nn=rn,wn.current="x"):(Nn=Dn,wn.current="y"),F(-Nn,-Nn)&&fn.preventDefault()}var hn=(0,u.useRef)(null);hn.current={onTouchStart:Zt,onTouchMove:Pt,onTouchEnd:In,onWheel:$n},u.useEffect(function(){function fn(En){hn.current.onTouchStart(En)}function rn(En){hn.current.onTouchMove(En)}function Dn(En){hn.current.onTouchEnd(En)}function Nn(En){hn.current.onWheel(En)}return document.addEventListener("touchmove",rn,{passive:!1}),document.addEventListener("touchend",Dn,{passive:!1}),S.current.addEventListener("touchstart",fn,{passive:!1}),S.current.addEventListener("wheel",Nn),function(){document.removeEventListener("touchmove",rn),document.removeEventListener("touchend",Dn)}},[])}var de=e(81703);function Ue(S){var F=(0,u.useState)(0),U=(0,ge.Z)(F,2),le=U[0],ae=U[1],xe=(0,u.useRef)(0),Se=(0,u.useRef)();return Se.current=S,(0,de.o)(function(){var je;(je=Se.current)===null||je===void 0||je.call(Se)},[le]),function(){xe.current===le&&(xe.current+=1,ae(xe.current))}}function st(S){var F=(0,u.useRef)([]),U=(0,u.useState)({}),le=(0,ge.Z)(U,2),ae=le[1],xe=(0,u.useRef)(typeof S=="function"?S():S),Se=Ue(function(){var Ye=xe.current;F.current.forEach(function(pt){Ye=pt(Ye)}),F.current=[],xe.current=Ye,ae({})});function je(Ye){F.current.push(Ye),Se()}return[xe.current,je]}var Je={width:0,height:0,left:0,top:0,right:0};function bt(S,F,U,le,ae,xe,Se){var je=Se.tabs,Ye=Se.tabPosition,pt=Se.rtl,Rt,ht,Ft;return["top","bottom"].includes(Ye)?(Rt="width",ht=pt?"right":"left",Ft=Math.abs(U)):(Rt="height",ht="top",Ft=-U),(0,u.useMemo)(function(){if(!je.length)return[0,0];for(var Wt=je.length,Lt=Wt,un=0;unFt+F){Lt=un-1;break}}for(var dn=0,zt=Wt-1;zt>=0;zt-=1){var Zt=S.get(je[zt].key)||Je;if(Zt[ht]=Lt?[0,0]:[dn,Lt]},[S,F,le,ae,xe,Ft,Ye,je.map(function(Wt){return Wt.key}).join("_"),pt])}function I(S){var F;return S instanceof Map?(F={},S.forEach(function(U,le){F[le]=U})):F=S,JSON.stringify(F)}var V="TABS_DQ";function we(S){return String(S).replace(/"/g,V)}function Ne(S,F,U,le){return!(!U||le||S===!1||S===void 0&&(F===!1||F===null))}var et=u.forwardRef(function(S,F){var U=S.prefixCls,le=S.editable,ae=S.locale,xe=S.style;return!le||le.showAdd===!1?null:u.createElement("button",{ref:F,type:"button",className:"".concat(U,"-nav-add"),style:xe,"aria-label":(ae==null?void 0:ae.addAriaLabel)||"Add tab",onClick:function(je){le.onEdit("add",{event:je})}},le.addIcon||"+")}),ut=et,ze=u.forwardRef(function(S,F){var U=S.position,le=S.prefixCls,ae=S.extra;if(!ae)return null;var xe,Se={};return(0,lt.Z)(ae)==="object"&&!u.isValidElement(ae)?Se=ae:Se.right=ae,U==="right"&&(xe=Se.right),U==="left"&&(xe=Se.left),xe?u.createElement("div",{className:"".concat(le,"-extra-content"),ref:F},xe):null}),mt=ze,Et=e(99581),kt=e(80197),Mt=e(30336),Te=u.createContext(null),gt=Te,at=[];function He(S,F){var U=u.useState(function(){if(!(0,kt.Z)())return null;var Lt=document.createElement("div");return Lt}),le=(0,ge.Z)(U,1),ae=le[0],xe=u.useRef(!1),Se=u.useContext(gt),je=u.useState(at),Ye=(0,ge.Z)(je,2),pt=Ye[0],Rt=Ye[1],ht=Se||(xe.current?void 0:function(Lt){Rt(function(un){var Jt=[Lt].concat((0,Rn.Z)(un));return Jt})});function Ft(){ae.parentElement||document.body.appendChild(ae),xe.current=!0}function Wt(){var Lt;(Lt=ae.parentElement)===null||Lt===void 0||Lt.removeChild(ae),xe.current=!1}return(0,de.Z)(function(){return S?Se?Se(Ft):Ft():Wt(),Wt},[S]),(0,de.Z)(function(){pt.length&&(pt.forEach(function(Lt){return Lt()}),Rt(at))},[pt]),[ae,ht]}function St(S,F){if(!S)return!1;if(S.contains)return S.contains(F);for(var U=F;U;){if(U===S)return!0;U=U.parentNode}return!1}var At="data-rc-order",Kt="data-rc-priority",nn="rc-util-key",Cn=new Map;function nr(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=S.mark;return F?F.startsWith("data-")?F:"data-".concat(F):nn}function Gn(S){if(S.attachTo)return S.attachTo;var F=document.querySelector("head");return F||document.body}function dr(S){return S==="queue"?"prependQueue":S?"prepend":"append"}function Cr(S){return Array.from((Cn.get(S)||S).children).filter(function(F){return F.tagName==="STYLE"})}function Tr(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,kt.Z)())return null;var U=F.csp,le=F.prepend,ae=F.priority,xe=ae===void 0?0:ae,Se=dr(le),je=Se==="prependQueue",Ye=document.createElement("style");Ye.setAttribute(At,Se),je&&xe&&Ye.setAttribute(Kt,"".concat(xe)),U!=null&&U.nonce&&(Ye.nonce=U==null?void 0:U.nonce),Ye.innerHTML=S;var pt=Gn(F),Rt=pt.firstChild;if(le){if(je){var ht=Cr(pt).filter(function(Ft){if(!["prepend","prependQueue"].includes(Ft.getAttribute(At)))return!1;var Wt=Number(Ft.getAttribute(Kt)||0);return xe>=Wt});if(ht.length)return pt.insertBefore(Ye,ht[ht.length-1].nextSibling),Ye}pt.insertBefore(Ye,Rt)}else pt.appendChild(Ye);return Ye}function ya(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=Gn(F);return Cr(U).find(function(le){return le.getAttribute(nr(F))===S})}function Gr(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=ya(S,F);if(U){var le=Gn(F);le.removeChild(U)}}function Gt(S,F){var U=Cn.get(S);if(!U||!St(document,U)){var le=Tr("",F),ae=le.parentNode;Cn.set(S,ae),S.removeChild(le)}}function wt(){Cn.clear()}function $t(S,F){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},le=Gn(U);Gt(le,U);var ae=ya(F,U);if(ae){var xe,Se;if((xe=U.csp)!==null&&xe!==void 0&&xe.nonce&&ae.nonce!==((Se=U.csp)===null||Se===void 0?void 0:Se.nonce)){var je;ae.nonce=(je=U.csp)===null||je===void 0?void 0:je.nonce}return ae.innerHTML!==S&&(ae.innerHTML=S),ae}var Ye=Tr(S,U);return Ye.setAttribute(nr(U),F),Ye}var Pn;function Vn(S){if(typeof document=="undefined")return 0;if(S||Pn===void 0){var F=document.createElement("div");F.style.width="100%",F.style.height="200px";var U=document.createElement("div"),le=U.style;le.position="absolute",le.top="0",le.left="0",le.pointerEvents="none",le.visibility="hidden",le.width="200px",le.height="150px",le.overflow="hidden",U.appendChild(F),document.body.appendChild(U);var ae=F.offsetWidth;U.style.overflow="scroll";var xe=F.offsetWidth;ae===xe&&(xe=U.clientWidth),document.body.removeChild(U),Pn=ae-xe}return Pn}function G(S){var F=S.match(/^(.*)px$/),U=Number(F==null?void 0:F[1]);return Number.isNaN(U)?Vn():U}function Me(S){if(typeof document=="undefined"||!S||!(S instanceof Element))return{width:0,height:0};var F=getComputedStyle(S,"::-webkit-scrollbar"),U=F.width,le=F.height;return{width:G(U),height:G(le)}}function Qe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ct="rc-util-locker-".concat(Date.now()),jt=0;function mn(S){var F=!!S,U=u.useState(function(){return jt+=1,"".concat(Ct,"_").concat(jt)}),le=(0,ge.Z)(U,1),ae=le[0];(0,de.Z)(function(){if(F){var xe=Me(document.body).width,Se=Qe();$t(` +`),g,P)||this;return T.descriptor=E,T.locale=g,T}return l}(v),u=function(h){(0,i.ZT)(l,h);function l(x,g){var E=h.call(this,a.MISSING_TRANSLATION,'Missing message: "'.concat(x.id,'" for locale "').concat(g,'", using ').concat(x.defaultMessage?"default message (".concat(typeof x.defaultMessage=="string"?x.defaultMessage:x.defaultMessage.map(function(P){var T;return(T=P.value)!==null&&T!==void 0?T:JSON.stringify(P)}).join(),")"):"id"," as fallback."))||this;return E.descriptor=x,E}return l}(r)},58610:function(c,m,e){"use strict";e.d(m,{L6:function(){return f},Sn:function(){return u},TB:function(){return x},Z0:function(){return y},ax:function(){return l}});var i=e(38104),a=e(28726),r=e(57840),s=e(29100);function f(g,E,P){return P===void 0&&(P={}),E.reduce(function(T,w){return w in g?T[w]=g[w]:w in P&&(T[w]=P[w]),T},{})}var d=function(g){},v=function(g){},y={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:d,onWarn:v};function u(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function h(g){return{create:function(){return{get:function(E){return g[E]},set:function(E,P){g[E]=P}}}}}function l(g){g===void 0&&(g=u());var E=Intl.RelativeTimeFormat,P=Intl.ListFormat,T=Intl.DisplayNames,w=(0,r.H)(function(){for(var B,A=[],R=0;R$ in k?s(k,$,{enumerable:!0,configurable:!0,writable:!0,value:Z}):k[$]=Z,u=(k,$)=>{for(var Z in $||($={}))d.call($,Z)&&y(k,Z,$[Z]);if(f)for(var Z of f($))v.call($,Z)&&y(k,Z,$[Z]);return k};const h=k=>r.createElement("svg",u({viewBox:"64 64 896 896"},k),r.createElement("path",{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}),r.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}));var l="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNjk5IDM1M2gtNDYuOWMtMTAuMiAwLTE5LjkgNC45LTI1LjkgMTMuM0w0NjkgNTg0LjNsLTcxLjItOTguOGMtNi04LjMtMTUuNi0xMy4zLTI1LjktMTMuM0gzMjVjLTYuNSAwLTEwLjMgNy40LTYuNSAxMi43bDEyNC42IDE3Mi44YTMxLjggMzEuOCAwIDAgMCA1MS43IDBsMjEwLjYtMjkyYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjxwYXRoIGQ9Ik01MTIgNjRDMjY0LjYgNjQgNjQgMjY0LjYgNjQgNTEyczIwMC42IDQ0OCA0NDggNDQ4IDQ0OC0yMDAuNiA0NDgtNDQ4Uzc1OS40IDY0IDUxMiA2NHptMCA4MjBjLTIwNS40IDAtMzcyLTE2Ni42LTM3Mi0zNzJzMTY2LjYtMzcyIDM3Mi0zNzIgMzcyIDE2Ni42IDM3MiAzNzItMTY2LjYgMzcyLTM3MiAzNzJ6Ii8+PC9zdmc+",x=Object.defineProperty,g=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,T=(k,$,Z)=>$ in k?x(k,$,{enumerable:!0,configurable:!0,writable:!0,value:Z}):k[$]=Z,w=(k,$)=>{for(var Z in $||($={}))E.call($,Z)&&T(k,Z,$[Z]);if(g)for(var Z of g($))P.call($,Z)&&T(k,Z,$[Z]);return k};const j=k=>r.createElement("svg",w({fillRule:"evenodd",viewBox:"64 64 896 896"},k),r.createElement("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 0 1 .05.09.12.12 0 0 1 0 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 0 1 .05.06v.02a.12.12 0 0 1 0 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 0 1-.09.05.12.12 0 0 1-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 0 1-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 0 1-.05-.09.12.12 0 0 1 0-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 0 1-.05-.06l-.01-.02a.12.12 0 0 1 0-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 0 1 .09-.05.12.12 0 0 1 .07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 0 1 .07 0z"}));var D="data:image/svg+xml;base64,PHN2ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiPjxwYXRoIGQ9Ik01MTIgNjRjMjQ3LjQgMCA0NDggMjAwLjYgNDQ4IDQ0OFM3NTkuNCA5NjAgNTEyIDk2MCA2NCA3NTkuNCA2NCA1MTIgMjY0LjYgNjQgNTEyIDY0em0wIDc2Yy0yMDUuNCAwLTM3MiAxNjYuNi0zNzIgMzcyczE2Ni42IDM3MiAzNzIgMzcyIDM3Mi0xNjYuNiAzNzItMzcyLTE2Ni42LTM3Mi0zNzItMzcyem0xMjguMDEgMTk4LjgzYy4wMyAwIC4wNS4wMS4wOS4wNmw0NS4wMiA0NS4wMWEuMi4yIDAgMCAxIC4wNS4wOS4xMi4xMiAwIDAgMSAwIC4wN2MwIC4wMi0uMDEuMDQtLjA1LjA4TDU1Ny4yNSA1MTJsMTI3Ljg3IDEyNy44NmEuMjcuMjcgMCAwIDEgLjA1LjA2di4wMmEuMTIuMTIgMCAwIDEgMCAuMDdjMCAuMDMtLjAxLjA1LS4wNS4wOWwtNDUuMDIgNDUuMDJhLjIuMiAwIDAgMS0uMDkuMDUuMTIuMTIgMCAwIDEtLjA3IDBjLS4wMiAwLS4wNC0uMDEtLjA4LS4wNUw1MTIgNTU3LjI1IDM4NC4xNCA2ODUuMTJjLS4wNC4wNC0uMDYuMDUtLjA4LjA1YS4xMi4xMiAwIDAgMS0uMDcgMGMtLjAzIDAtLjA1LS4wMS0uMDktLjA1bC00NS4wMi00NS4wMmEuMi4yIDAgMCAxLS4wNS0uMDkuMTIuMTIgMCAwIDEgMC0uMDdjMC0uMDIuMDEtLjA0LjA2LS4wOEw0NjYuNzUgNTEyIDMzOC44OCAzODQuMTRhLjI3LjI3IDAgMCAxLS4wNS0uMDZsLS4wMS0uMDJhLjEyLjEyIDAgMCAxIDAtLjA3YzAtLjAzLjAxLS4wNS4wNS0uMDlsNDUuMDItNDUuMDJhLjIuMiAwIDAgMSAuMDktLjA1LjEyLjEyIDAgMCAxIC4wNyAwYy4wMiAwIC4wNC4wMS4wOC4wNkw1MTIgNDY2Ljc1bDEyNy44Ni0xMjcuODZjLjA0LS4wNS4wNi0uMDYuMDgtLjA2YS4xMi4xMiAwIDAgMSAuMDcgMHoiLz48L3N2Zz4=",B=Object.defineProperty,A=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,K=(k,$,Z)=>$ in k?B(k,$,{enumerable:!0,configurable:!0,writable:!0,value:Z}):k[$]=Z,q=(k,$)=>{for(var Z in $||($={}))R.call($,Z)&&K(k,Z,$[Z]);if(A)for(var Z of A($))z.call($,Z)&&K(k,Z,$[Z]);return k};const J=k=>r.createElement("svg",q({viewBox:"64 64 896 896"},k),r.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),r.createElement("path",{d:"M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}));var Ie="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjxwYXRoIGQ9Ik00NjQgMzM2YTQ4IDQ4IDAgMSAwIDk2IDAgNDggNDggMCAxIDAtOTYgMHptNzIgMTEyaC00OGMtNC40IDAtOCAzLjYtOCA4djI3MmMwIDQuNCAzLjYgOCA4IDhoNDhjNC40IDAgOC0zLjYgOC04VjQ1NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+",De=Object.defineProperty,Re=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ke=(k,$,Z)=>$ in k?De(k,$,{enumerable:!0,configurable:!0,writable:!0,value:Z}):k[$]=Z,Q=(k,$)=>{for(var Z in $||($={}))We.call($,Z)&&Ke(k,Z,$[Z]);if(Re)for(var Z of Re($))Ve.call($,Z)&&Ke(k,Z,$[Z]);return k};const ne=k=>r.createElement("svg",Q({viewBox:"64 64 896 896"},k),r.createElement("path",{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440-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-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}));var ae="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDY0IDcyMGE0OCA0OCAwIDEgMCA5NiAwIDQ4IDQ4IDAgMSAwLTk2IDB6bTE2LTMwNHYxODRjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0MTZjMC00LjQtMy42LTgtOC04aC00OGMtNC40IDAtOCAzLjYtOCA4em00NzUuNyA0NDAtNDE2LTcyMGMtNi4yLTEwLjctMTYuOS0xNi0yNy43LTE2cy0yMS42IDUuMy0yNy43IDE2bC00MTYgNzIwQzU2IDg3Ny40IDcxLjQgOTA0IDk2IDkwNGg4MzJjMjQuNiAwIDQwLTI2LjYgMjcuNy00OHptLTc4My41LTI3LjlMNTEyIDIzOS45bDMzOS44IDU4OC4ySDE3Mi4yeiIvPjwvc3ZnPg==",C=e(35250),N={info:J,warning:ne,success:h,error:j},X=function($){var Z=(0,r.useState)(function(){return N[$.type]}),ye=a()(Z,1),lt=ye[0];return(0,C.jsxs)("div",{className:"dumi-default-container markdown","data-type":$.type,children:[(0,C.jsx)(lt,{}),(0,C.jsx)("h4",{children:$.title||$.type.toUpperCase()}),(0,C.jsx)("section",{children:$.children})]})},fe=X},12620:function(c,m,e){"use strict";e.d(m,{Z:function(){return Us}});var i=e(39114),a=e.n(i),r=e(26851),s=e.n(r),f=e(5602),d=e.n(f),v=e(54996),y=e(70835),u=e(70079),h=e.t(u,2),l=Object.defineProperty,x=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,P=(S,F,U)=>F in S?l(S,F,{enumerable:!0,configurable:!0,writable:!0,value:U}):S[F]=U,T=(S,F)=>{for(var U in F||(F={}))g.call(F,U)&&P(S,U,F[U]);if(x)for(var U of x(F))E.call(F,U)&&P(S,U,F[U]);return S};const w=S=>u.createElement("svg",T({viewBox:"64 64 896 896"},S),u.createElement("path",{d:"m709.6 210 .4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6 339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z"}));var j="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtNzA5LjYgMjEwIC40LS4yaC4yTDUxMiA5NiAzMTMuOSAyMDkuOGgtLjJsLjcuM0wxNTEuNSAzMDR2NDE2TDUxMiA5MjhsMzYwLjUtMjA4VjMwNGwtMTYyLjktOTR6TTQ4Mi43IDg0My42IDMzOS42IDc2MVY2MjEuNEwyMTAgNTQ3LjhWMzcyLjlsMjcyLjcgMTU3LjN2MzEzLjR6TTIzOC4yIDMyMS41bDEzNC43LTc3LjggMTM4LjkgNzkuNyAxMzkuMS03OS45IDEzNS4yIDc4LTI3My45IDE1OC0yNzQtMTU4ek04MTQgNTQ4LjNsLTEyOC44IDczLjF2MTM5LjFsLTE0My45IDgzVjUzMC40TDgxNCAzNzMuMXYxNzUuMnoiLz48L3N2Zz4=",D=Object.defineProperty,B=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,z=(S,F,U)=>F in S?D(S,F,{enumerable:!0,configurable:!0,writable:!0,value:U}):S[F]=U,K=(S,F)=>{for(var U in F||(F={}))A.call(F,U)&&z(S,U,F[U]);if(B)for(var U of B(F))R.call(F,U)&&z(S,U,F[U]);return S};const q=S=>u.createElement("svg",K({viewBox:"64 64 896 896"},S),u.createElement("path",{d:"m925.6 405.1-203-253.7a6.5 6.5 0 0 0-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 0 0 .2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 0 0 .2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4 345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7-44.1-171.5 137.2 171.5h-93.1z"}));var J="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtOTI1LjYgNDA1LjEtMjAzLTI1My43YTYuNSA2LjUgMCAwIDAtNS0yLjRIMzA2LjRjLTEuOSAwLTMuOC45LTUgMi40bC0yMDMgMjUzLjdhNi41IDYuNSAwIDAgMCAuMiA4LjNsNDA4LjYgNDU5LjVjMS4yIDEuNCAzIDIuMSA0LjggMi4xIDEuOCAwIDMuNS0uOCA0LjgtMi4xbDQwOC42LTQ1OS41YTYuNSA2LjUgMCAwIDAgLjItOC4zek02NDUuMiAyMDYuNGwzNC40IDEzMy45LTEzMi41LTEzMy45aDk4LjF6bTguMiAxNzguNUgzNzAuNkw1MTIgMjQybDE0MS40IDE0Mi45ek0zNzguOCAyMDYuNGg5OC4xTDM0NC4zIDM0MC4zbDM0LjUtMTMzLjl6bS01My40IDctNDQuMSAxNzEuNWgtOTMuMWwxMzcuMi0xNzEuNXpNMTk0LjYgNDM0LjlIMjg5bDEyNS44IDI0Ny43LTIyMC4yLTI0Ny43ek01MTIgNzYzLjQgMzQ1LjEgNDM0LjloMzMzLjdMNTEyIDc2My40em05Ny4xLTgwLjhMNzM1IDQzNC45aDk0LjRMNjA5LjEgNjgyLjZ6bTEzMy42LTI5Ny43LTQ0LjEtMTcxLjUgMTM3LjIgMTcxLjVoLTkzLjF6Ii8+PC9zdmc+",Ie=Object.defineProperty,De=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Ve=(S,F,U)=>F in S?Ie(S,F,{enumerable:!0,configurable:!0,writable:!0,value:U}):S[F]=U,Ke=(S,F)=>{for(var U in F||(F={}))Re.call(F,U)&&Ve(S,U,F[U]);if(De)for(var U of De(F))We.call(F,U)&&Ve(S,U,F[U]);return S};const Q=S=>u.createElement("svg",Ke({viewBox:"64 64 896 896"},S),u.createElement("path",{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}));var ne="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ4IDM1OS4zSDYyNy43TDgyNS44IDEwOWM0LjEtNS4zLjQtMTMtNi4zLTEzSDQzNmMtMi44IDAtNS41IDEuNS02LjkgNEwxNzAgNTQ3LjVjLTMuMSA1LjMuNyAxMiA2LjkgMTJoMTc0LjRsLTg5LjQgMzU3LjZjLTEuOSA3LjggNy41IDEzLjMgMTMuMyA3LjdMODUzLjUgMzczYzUuMi00LjkgMS43LTEzLjctNS41LTEzLjd6TTM3OC4yIDczMi41bDYwLjMtMjQxSDI4MS4xbDE4OS42LTMyNy40aDIyNC42TDQ4NyA0MjcuNGgyMTFMMzc4LjIgNzMyLjV6Ii8+PC9zdmc+",ae=e(47831),C=e.n(ae),N=e(74692),X=function(){return u.createElement(u.Fragment,null)},fe=X,k=e(5527),$=e(54744),Z=e(56673),ye=e(32630),lt=e(51062),Le=e(85801),Dt=e(87107),an=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var S=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(S)||/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(S==null?void 0:S.substr(0,4))},sn=(0,u.createContext)(null),Rn=e(70051),An=e(13054),Fn=e(71409),Xe=e(44116),xt=e(54272),vt=function(F){var U=F.activeTabOffset,se=F.horizontal,re=F.rtl,xe=F.indicatorSize,Se=F.indicatorAlign,je=(0,u.useState)(),Ye=(0,ye.Z)(je,2),pt=Ye[0],Rt=Ye[1],ht=(0,u.useRef)(),Ft=u.useCallback(function(Lt){return typeof xe=="function"?xe(Lt):typeof xe=="number"?xe:Lt},[xe]);function Wt(){xt.Z.cancel(ht.current)}return(0,u.useEffect)(function(){var Lt={};if(U)if(se){Lt.width=Ft(U.width);var un=re?"right":"left";Se==="start"&&(Lt[un]=U[un]),Se==="center"&&(Lt[un]=U[un]+U.width/2,Lt.transform=re?"translateX(50%)":"translateX(-50%)"),Se==="end"&&(Lt[un]=U[un]+U.width,Lt.transform="translateX(-100%)")}else Lt.height=Ft(U.height),Se==="start"&&(Lt.top=U.top),Se==="center"&&(Lt.top=U.top+U.height/2,Lt.transform="translateY(-50%)"),Se==="end"&&(Lt.top=U.top+U.height,Lt.transform="translateY(-100%)");return Wt(),ht.current=(0,xt.Z)(function(){Rt(Lt)}),Wt},[U,se,re,xe,Se,Ft]),{style:pt}},ot=vt,Ht={width:0,height:0,left:0,top:0};function ke(S,F,U){return(0,u.useMemo)(function(){for(var se,re=new Map,xe=F.get((se=S[0])===null||se===void 0?void 0:se.key)||Ht,Se=xe.left+xe.width,je=0;jeZn?(Nn=rn,wn.current="x"):(Nn=Dn,wn.current="y"),F(-Nn,-Nn)&&fn.preventDefault()}var hn=(0,u.useRef)(null);hn.current={onTouchStart:Zt,onTouchMove:Pt,onTouchEnd:In,onWheel:$n},u.useEffect(function(){function fn(En){hn.current.onTouchStart(En)}function rn(En){hn.current.onTouchMove(En)}function Dn(En){hn.current.onTouchEnd(En)}function Nn(En){hn.current.onWheel(En)}return document.addEventListener("touchmove",rn,{passive:!1}),document.addEventListener("touchend",Dn,{passive:!1}),S.current.addEventListener("touchstart",fn,{passive:!1}),S.current.addEventListener("wheel",Nn),function(){document.removeEventListener("touchmove",rn),document.removeEventListener("touchend",Dn)}},[])}var ce=e(81703);function Ue(S){var F=(0,u.useState)(0),U=(0,ye.Z)(F,2),se=U[0],re=U[1],xe=(0,u.useRef)(0),Se=(0,u.useRef)();return Se.current=S,(0,ce.o)(function(){var je;(je=Se.current)===null||je===void 0||je.call(Se)},[se]),function(){xe.current===se&&(xe.current+=1,re(xe.current))}}function st(S){var F=(0,u.useRef)([]),U=(0,u.useState)({}),se=(0,ye.Z)(U,2),re=se[1],xe=(0,u.useRef)(typeof S=="function"?S():S),Se=Ue(function(){var Ye=xe.current;F.current.forEach(function(pt){Ye=pt(Ye)}),F.current=[],xe.current=Ye,re({})});function je(Ye){F.current.push(Ye),Se()}return[xe.current,je]}var Je={width:0,height:0,left:0,top:0,right:0};function bt(S,F,U,se,re,xe,Se){var je=Se.tabs,Ye=Se.tabPosition,pt=Se.rtl,Rt,ht,Ft;return["top","bottom"].includes(Ye)?(Rt="width",ht=pt?"right":"left",Ft=Math.abs(U)):(Rt="height",ht="top",Ft=-U),(0,u.useMemo)(function(){if(!je.length)return[0,0];for(var Wt=je.length,Lt=Wt,un=0;unFt+F){Lt=un-1;break}}for(var dn=0,zt=Wt-1;zt>=0;zt-=1){var Zt=S.get(je[zt].key)||Je;if(Zt[ht]=Lt?[0,0]:[dn,Lt]},[S,F,se,re,xe,Ft,Ye,je.map(function(Wt){return Wt.key}).join("_"),pt])}function I(S){var F;return S instanceof Map?(F={},S.forEach(function(U,se){F[se]=U})):F=S,JSON.stringify(F)}var V="TABS_DQ";function we(S){return String(S).replace(/"/g,V)}function Ne(S,F,U,se){return!(!U||se||S===!1||S===void 0&&(F===!1||F===null))}var et=u.forwardRef(function(S,F){var U=S.prefixCls,se=S.editable,re=S.locale,xe=S.style;return!se||se.showAdd===!1?null:u.createElement("button",{ref:F,type:"button",className:"".concat(U,"-nav-add"),style:xe,"aria-label":(re==null?void 0:re.addAriaLabel)||"Add tab",onClick:function(je){se.onEdit("add",{event:je})}},se.addIcon||"+")}),ut=et,ze=u.forwardRef(function(S,F){var U=S.position,se=S.prefixCls,re=S.extra;if(!re)return null;var xe,Se={};return(0,lt.Z)(re)==="object"&&!u.isValidElement(re)?Se=re:Se.right=re,U==="right"&&(xe=Se.right),U==="left"&&(xe=Se.left),xe?u.createElement("div",{className:"".concat(se,"-extra-content"),ref:F},xe):null}),mt=ze,Et=e(99581),kt=e(80197),Mt=e(30336),Te=u.createContext(null),gt=Te,at=[];function He(S,F){var U=u.useState(function(){if(!(0,kt.Z)())return null;var Lt=document.createElement("div");return Lt}),se=(0,ye.Z)(U,1),re=se[0],xe=u.useRef(!1),Se=u.useContext(gt),je=u.useState(at),Ye=(0,ye.Z)(je,2),pt=Ye[0],Rt=Ye[1],ht=Se||(xe.current?void 0:function(Lt){Rt(function(un){var Jt=[Lt].concat((0,Rn.Z)(un));return Jt})});function Ft(){re.parentElement||document.body.appendChild(re),xe.current=!0}function Wt(){var Lt;(Lt=re.parentElement)===null||Lt===void 0||Lt.removeChild(re),xe.current=!1}return(0,ce.Z)(function(){return S?Se?Se(Ft):Ft():Wt(),Wt},[S]),(0,ce.Z)(function(){pt.length&&(pt.forEach(function(Lt){return Lt()}),Rt(at))},[pt]),[re,ht]}function St(S,F){if(!S)return!1;if(S.contains)return S.contains(F);for(var U=F;U;){if(U===S)return!0;U=U.parentNode}return!1}var At="data-rc-order",Kt="data-rc-priority",nn="rc-util-key",Cn=new Map;function nr(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=S.mark;return F?F.startsWith("data-")?F:"data-".concat(F):nn}function Gn(S){if(S.attachTo)return S.attachTo;var F=document.querySelector("head");return F||document.body}function dr(S){return S==="queue"?"prependQueue":S?"prepend":"append"}function Cr(S){return Array.from((Cn.get(S)||S).children).filter(function(F){return F.tagName==="STYLE"})}function Tr(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,kt.Z)())return null;var U=F.csp,se=F.prepend,re=F.priority,xe=re===void 0?0:re,Se=dr(se),je=Se==="prependQueue",Ye=document.createElement("style");Ye.setAttribute(At,Se),je&&xe&&Ye.setAttribute(Kt,"".concat(xe)),U!=null&&U.nonce&&(Ye.nonce=U==null?void 0:U.nonce),Ye.innerHTML=S;var pt=Gn(F),Rt=pt.firstChild;if(se){if(je){var ht=Cr(pt).filter(function(Ft){if(!["prepend","prependQueue"].includes(Ft.getAttribute(At)))return!1;var Wt=Number(Ft.getAttribute(Kt)||0);return xe>=Wt});if(ht.length)return pt.insertBefore(Ye,ht[ht.length-1].nextSibling),Ye}pt.insertBefore(Ye,Rt)}else pt.appendChild(Ye);return Ye}function ya(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=Gn(F);return Cr(U).find(function(se){return se.getAttribute(nr(F))===S})}function Gr(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=ya(S,F);if(U){var se=Gn(F);se.removeChild(U)}}function Gt(S,F){var U=Cn.get(S);if(!U||!St(document,U)){var se=Tr("",F),re=se.parentNode;Cn.set(S,re),S.removeChild(se)}}function wt(){Cn.clear()}function $t(S,F){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},se=Gn(U);Gt(se,U);var re=ya(F,U);if(re){var xe,Se;if((xe=U.csp)!==null&&xe!==void 0&&xe.nonce&&re.nonce!==((Se=U.csp)===null||Se===void 0?void 0:Se.nonce)){var je;re.nonce=(je=U.csp)===null||je===void 0?void 0:je.nonce}return re.innerHTML!==S&&(re.innerHTML=S),re}var Ye=Tr(S,U);return Ye.setAttribute(nr(U),F),Ye}var Pn;function Vn(S){if(typeof document=="undefined")return 0;if(S||Pn===void 0){var F=document.createElement("div");F.style.width="100%",F.style.height="200px";var U=document.createElement("div"),se=U.style;se.position="absolute",se.top="0",se.left="0",se.pointerEvents="none",se.visibility="hidden",se.width="200px",se.height="150px",se.overflow="hidden",U.appendChild(F),document.body.appendChild(U);var re=F.offsetWidth;U.style.overflow="scroll";var xe=F.offsetWidth;re===xe&&(xe=U.clientWidth),document.body.removeChild(U),Pn=re-xe}return Pn}function G(S){var F=S.match(/^(.*)px$/),U=Number(F==null?void 0:F[1]);return Number.isNaN(U)?Vn():U}function Me(S){if(typeof document=="undefined"||!S||!(S instanceof Element))return{width:0,height:0};var F=getComputedStyle(S,"::-webkit-scrollbar"),U=F.width,se=F.height;return{width:G(U),height:G(se)}}function Qe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ct="rc-util-locker-".concat(Date.now()),jt=0;function mn(S){var F=!!S,U=u.useState(function(){return jt+=1,"".concat(Ct,"_").concat(jt)}),se=(0,ye.Z)(U,1),re=se[0];(0,ce.Z)(function(){if(F){var xe=Me(document.body).width,Se=Qe();$t(` html body { overflow-y: hidden; `.concat(Se?"width: calc(100% - ".concat(xe,"px);"):"",` -}`),ae)}else Gr(ae);return function(){Gr(ae)}},[F,ae])}var tn=!1;function ln(S){return typeof S=="boolean"&&(tn=S),tn}var gn=function(F){return F===!1?!1:!(0,kt.Z)()||!F?null:typeof F=="string"?document.querySelector(F):typeof F=="function"?F():F},cn=u.forwardRef(function(S,F){var U=S.open,le=S.autoLock,ae=S.getContainer,xe=S.debug,Se=S.autoDestroy,je=Se===void 0?!0:Se,Ye=S.children,pt=u.useState(U),Rt=(0,ge.Z)(pt,2),ht=Rt[0],Ft=Rt[1],Wt=ht||U;u.useEffect(function(){(je||U)&&Ft(U)},[U,je]);var Lt=u.useState(function(){return gn(ae)}),un=(0,ge.Z)(Lt,2),Jt=un[0],dn=un[1];u.useEffect(function(){var Nn=gn(ae);dn(Nn!=null?Nn:null)});var zt=He(Wt&&!Jt,xe),Zt=(0,ge.Z)(zt,2),Pt=Zt[0],In=Zt[1],wn=Jt!=null?Jt:Pt;mn(le&&U&&(0,kt.Z)()&&(wn===Pt||wn===document.body));var $n=null;if(Ye&&(0,Xe.Yr)(Ye)&&F){var hn=Ye;$n=hn.ref}var fn=(0,Xe.x1)($n,F);if(!Wt||!(0,kt.Z)()||Jt===void 0)return null;var rn=wn===!1||ln(),Dn=Ye;return F&&(Dn=u.cloneElement(Ye,{ref:fn})),u.createElement(gt.Provider,{value:In},rn?Dn:(0,Et.createPortal)(Dn,wn))}),Tn=cn,pn=Tn,ar=e(26726);function wr(S){var F;return S==null||(F=S.getRootNode)===null||F===void 0?void 0:F.call(S)}function _t(S){return wr(S)instanceof ShadowRoot}function It(S){return _t(S)?wr(S):null}function Ut(){var S=(0,Z.Z)({},h);return S.useId}var qt=0;function Xt(){}var vn=Ut(),or=vn?function(F){var U=vn();return F||U}:function(F){var U=u.useState("ssr-id"),le=(0,ge.Z)(U,2),ae=le[0],xe=le[1];return u.useEffect(function(){var Se=qt;qt+=1,xe("rc_unique_".concat(Se))},[]),F||ae},cr=e(71755);function Vr(S){var F=S.prefixCls,U=S.align,le=S.arrow,ae=S.arrowPos,xe=le||{},Se=xe.className,je=xe.content,Ye=ae.x,pt=Ye===void 0?0:Ye,Rt=ae.y,ht=Rt===void 0?0:Rt,Ft=u.useRef();if(!U||!U.points)return null;var Wt={position:"absolute"};if(U.autoArrow!==!1){var Lt=U.points[0],un=U.points[1],Jt=Lt[0],dn=Lt[1],zt=un[0],Zt=un[1];Jt===zt||!["t","b"].includes(Jt)?Wt.top=ht:Jt==="t"?Wt.top=0:Wt.bottom=0,dn===Zt||!["l","r"].includes(dn)?Wt.left=pt:dn==="l"?Wt.left=0:Wt.right=0}return u.createElement("div",{ref:Ft,className:d()("".concat(F,"-arrow"),Se),style:Wt},je)}function jr(S){var F=S.prefixCls,U=S.open,le=S.zIndex,ae=S.mask,xe=S.motion;return ae?u.createElement(cr.ZP,(0,k.Z)({},xe,{motionAppear:!0,visible:U,removeOnLeave:!0}),function(Se){var je=Se.className;return u.createElement("div",{style:{zIndex:le},className:d()("".concat(F,"-mask"),je)})}):null}var zr=u.memo(function(S){var F=S.children;return F},function(S,F){return F.cache}),Sa=zr,Na=u.forwardRef(function(S,F){var U=S.popup,le=S.className,ae=S.prefixCls,xe=S.style,Se=S.target,je=S.onVisibleChanged,Ye=S.open,pt=S.keepDom,Rt=S.fresh,ht=S.onClick,Ft=S.mask,Wt=S.arrow,Lt=S.arrowPos,un=S.align,Jt=S.motion,dn=S.maskMotion,zt=S.forceRender,Zt=S.getPopupContainer,Pt=S.autoDestroy,In=S.portal,wn=S.zIndex,$n=S.onMouseEnter,hn=S.onMouseLeave,fn=S.onPointerEnter,rn=S.ready,Dn=S.offsetX,Nn=S.offsetY,En=S.offsetR,Zn=S.offsetB,fr=S.onAlign,Un=S.onPrepare,tr=S.stretch,Xn=S.targetWidth,Ir=S.targetHeight,qn=typeof U=="function"?U():U,$r=Ye||pt,Jn=(Zt==null?void 0:Zt.length)>0,ir=u.useState(!Zt||!Jn),xr=(0,ge.Z)(ir,2),Sr=xr[0],br=xr[1];if((0,de.Z)(function(){!Sr&&Jn&&Se&&br(!0)},[Sr,Jn,Se]),!Sr)return null;var rr="auto",Wn={left:"-1000vw",top:"-1000vh",right:rr,bottom:rr};if(rn||!Ye){var Lr,ra=un.points,yr=un.dynamicInset||((Lr=un._experimental)===null||Lr===void 0?void 0:Lr.dynamicInset),Hr=yr&&ra[0][1]==="r",Aa=yr&&ra[0][0]==="b";Hr?(Wn.right=En,Wn.left=rr):(Wn.left=Dn,Wn.right=rr),Aa?(Wn.bottom=Zn,Wn.top=rr):(Wn.top=Nn,Wn.bottom=rr)}var aa={};return tr&&(tr.includes("height")&&Ir?aa.height=Ir:tr.includes("minHeight")&&Ir&&(aa.minHeight=Ir),tr.includes("width")&&Xn?aa.width=Xn:tr.includes("minWidth")&&Xn&&(aa.minWidth=Xn)),Ye||(aa.pointerEvents="none"),u.createElement(In,{open:zt||$r,getContainer:Zt&&function(){return Zt(Se)},autoDestroy:Pt},u.createElement(jr,{prefixCls:ae,open:Ye,zIndex:wn,mask:Ft,motion:dn}),u.createElement(An.Z,{onResize:fr,disabled:!Ye},function(Ca){return u.createElement(cr.ZP,(0,k.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:zt,leavedClassName:"".concat(ae,"-hidden")},Jt,{onAppearPrepare:Un,onEnterPrepare:Un,visible:Ye,onVisibleChanged:function(Ta){var pr;Jt==null||(pr=Jt.onVisibleChanged)===null||pr===void 0||pr.call(Jt,Ta),je(Ta)}}),function(la,Ta){var pr=la.className,vr=la.style,Ra=d()(ae,pr,le);return u.createElement("div",{ref:(0,Xe.sQ)(Ca,F,Ta),className:Ra,style:(0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)({"--arrow-x":"".concat(Lt.x||0,"px"),"--arrow-y":"".concat(Lt.y||0,"px")},Wn),aa),vr),{},{boxSizing:"border-box",zIndex:wn},xe),onMouseEnter:$n,onMouseLeave:hn,onPointerEnter:fn,onClick:ht},Wt&&u.createElement(Vr,{prefixCls:ae,arrow:Wt,arrowPos:Lt,align:un}),u.createElement(Sa,{cache:!Ye&&!Rt},qn))})}))}),Da=Na,Fr=u.forwardRef(function(S,F){var U=S.children,le=S.getTriggerDOMNode,ae=(0,Xe.Yr)(U),xe=u.useCallback(function(je){(0,Xe.mH)(F,le?le(je):je)},[le]),Se=(0,Xe.x1)(xe,U.ref);return ae?u.cloneElement(U,{ref:Se}):U}),pa=Fr,hr=u.createContext(null),sa=hr;function Ma(S){return S?Array.isArray(S)?S:[S]:[]}function Or(S,F,U,le){return u.useMemo(function(){var ae=Ma(U!=null?U:F),xe=Ma(le!=null?le:F),Se=new Set(ae),je=new Set(xe);return S&&(Se.has("hover")&&(Se.delete("hover"),Se.add("click")),je.has("hover")&&(je.delete("hover"),je.add("click"))),[Se,je]},[S,F,U,le])}var Ga=function(S){if(!S)return!1;if(S instanceof Element){if(S.offsetParent)return!0;if(S.getBBox){var F=S.getBBox(),U=F.width,le=F.height;if(U||le)return!0}if(S.getBoundingClientRect){var ae=S.getBoundingClientRect(),xe=ae.width,Se=ae.height;if(xe||Se)return!0}}return!1};function Pi(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],U=arguments.length>2?arguments[2]:void 0;return U?S[0]===F[0]:S[0]===F[0]&&S[1]===F[1]}function xo(S,F,U,le){for(var ae=U.points,xe=Object.keys(S),Se=0;Se1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(S)?F:S}function oo(S){return po(parseFloat(S),0)}function io(S,F){var U=(0,Z.Z)({},S);return(F||[]).forEach(function(le){if(!(le instanceof HTMLBodyElement||le instanceof HTMLHtmlElement)){var ae=Ao(le).getComputedStyle(le),xe=ae.overflow,Se=ae.overflowClipMargin,je=ae.borderTopWidth,Ye=ae.borderBottomWidth,pt=ae.borderLeftWidth,Rt=ae.borderRightWidth,ht=le.getBoundingClientRect(),Ft=le.offsetHeight,Wt=le.clientHeight,Lt=le.offsetWidth,un=le.clientWidth,Jt=oo(je),dn=oo(Ye),zt=oo(pt),Zt=oo(Rt),Pt=po(Math.round(ht.width/Lt*1e3)/1e3),In=po(Math.round(ht.height/Ft*1e3)/1e3),wn=(Lt-un-zt-Zt)*Pt,$n=(Ft-Wt-Jt-dn)*In,hn=Jt*In,fn=dn*In,rn=zt*Pt,Dn=Zt*Pt,Nn=0,En=0;if(xe==="clip"){var Zn=oo(Se);Nn=Zn*Pt,En=Zn*In}var fr=ht.x+rn-Nn,Un=ht.y+hn-En,tr=fr+ht.width+2*Nn-rn-Dn-wn,Xn=Un+ht.height+2*En-hn-fn-$n;U.left=Math.max(U.left,fr),U.top=Math.max(U.top,Un),U.right=Math.min(U.right,tr),U.bottom=Math.min(U.bottom,Xn)}}),U}function vo(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,U="".concat(F),le=U.match(/^(.*)\%$/);return le?S*(parseFloat(le[1])/100):parseFloat(U)}function To(S,F){var U=F||[],le=(0,ge.Z)(U,2),ae=le[0],xe=le[1];return[vo(S.width,ae),vo(S.height,xe)]}function uo(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[S[0],S[1]]}function Oo(S,F){var U=F[0],le=F[1],ae,xe;return U==="t"?xe=S.y:U==="b"?xe=S.y+S.height:xe=S.y+S.height/2,le==="l"?ae=S.x:le==="r"?ae=S.x+S.width:ae=S.x+S.width/2,{x:ae,y:xe}}function qa(S,F){var U={t:"b",b:"t",l:"r",r:"l"};return S.map(function(le,ae){return ae===F?U[le]||"c":le}).join("")}function ss(S,F,U,le,ae,xe,Se){var je=u.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ae[le]||{}}),Ye=(0,ge.Z)(je,2),pt=Ye[0],Rt=Ye[1],ht=u.useRef(0),Ft=u.useMemo(function(){return F?Co(F):[]},[F]),Wt=u.useRef({}),Lt=function(){Wt.current={}};S||Lt();var un=(0,Fn.Z)(function(){if(F&&U&&S){let ye=function(me,be){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ra,Ce=qn.x+me,Ze=qn.y+be,Oe=Ce+Lr,rt=Ze+Wn,Nt=Math.max(Ce,Ae.left),Yt=Math.max(Ze,Ae.top),_n=Math.min(Oe,Ae.right),Wr=Math.min(rt,Ae.bottom);return Math.max(0,(_n-Nt)*(Wr-Yt))},pe=function(){da=qn.y+ur,La=da+Wn,ho=qn.x+Zr,Ur=ho+Lr};var zt,Zt,Pt=F,In=Pt.ownerDocument,wn=Ao(Pt),$n=wn.getComputedStyle(Pt),hn=$n.width,fn=$n.height,rn=$n.position,Dn=Pt.style.left,Nn=Pt.style.top,En=Pt.style.right,Zn=Pt.style.bottom,fr=Pt.style.overflow,Un=(0,Z.Z)((0,Z.Z)({},ae[le]),xe),tr=In.createElement("div");(zt=Pt.parentElement)===null||zt===void 0||zt.appendChild(tr),tr.style.left="".concat(Pt.offsetLeft,"px"),tr.style.top="".concat(Pt.offsetTop,"px"),tr.style.position=rn,tr.style.height="".concat(Pt.offsetHeight,"px"),tr.style.width="".concat(Pt.offsetWidth,"px"),Pt.style.left="0",Pt.style.top="0",Pt.style.right="auto",Pt.style.bottom="auto",Pt.style.overflow="hidden";var Xn;if(Array.isArray(U))Xn={x:U[0],y:U[1],width:0,height:0};else{var Ir=U.getBoundingClientRect();Xn={x:Ir.x,y:Ir.y,width:Ir.width,height:Ir.height}}var qn=Pt.getBoundingClientRect(),$r=In.documentElement,Jn=$r.clientWidth,ir=$r.clientHeight,xr=$r.scrollWidth,Sr=$r.scrollHeight,br=$r.scrollTop,rr=$r.scrollLeft,Wn=qn.height,Lr=qn.width,ra=Xn.height,yr=Xn.width,Hr={left:0,top:0,right:Jn,bottom:ir},Aa={left:-rr,top:-br,right:xr-rr,bottom:Sr-br},aa=Un.htmlRegion,Ca="visible",la="visibleFirst";aa!=="scroll"&&aa!==la&&(aa=Ca);var Ta=aa===la,pr=io(Aa,Ft),vr=io(Hr,Ft),Ra=aa===Ca?vr:pr,Ba=Ta?vr:Ra;Pt.style.left="auto",Pt.style.top="auto",Pt.style.right="0",Pt.style.bottom="0";var lo=Pt.getBoundingClientRect();Pt.style.left=Dn,Pt.style.top=Nn,Pt.style.right=En,Pt.style.bottom=Zn,Pt.style.overflow=fr,(Zt=Pt.parentElement)===null||Zt===void 0||Zt.removeChild(tr);var oa=po(Math.round(Lr/parseFloat(hn)*1e3)/1e3),Oa=po(Math.round(Wn/parseFloat(fn)*1e3)/1e3);if(oa===0||Oa===0||(0,ar.S)(U)&&!Ga(U))return;var Ha=Un.offset,Qr=Un.targetOffset,Ro=To(qn,Ha),qr=(0,ge.Z)(Ro,2),ia=qr[0],Nr=qr[1],Ar=To(Xn,Qr),Za=(0,ge.Z)(Ar,2),Xr=Za[0],Ya=Za[1];Xn.x-=Xr,Xn.y-=Ya;var $a=Un.points||[],Mr=(0,ge.Z)($a,2),ca=Mr[0],So=Mr[1],_r=uo(So),ba=uo(ca),co=Oo(Xn,_r),Lo=Oo(qn,ba),Ua=(0,Z.Z)({},Un),Zr=co.x-Lo.x+ia,ur=co.y-Lo.y+Nr,Er=ye(Zr,ur),Sn=ye(Zr,ur,vr),Mn=Oo(Xn,["t","l"]),Kr=Oo(qn,["t","l"]),Pa=Oo(Xn,["b","r"]),Wa=Oo(qn,["b","r"]),Qa=Un.overflow||{},za=Qa.adjustX,Si=Qa.adjustY,No=Qa.shiftX,ro=Qa.shiftY,Xa=function(be){return typeof be=="boolean"?be:be>=0},da,La,ho,Ur;pe();var gr=Xa(Si),ea=ba[0]===_r[0];if(gr&&ba[0]==="t"&&(La>Ba.bottom||Wt.current.bt)){var ka=ur;ea?ka-=Wn-ra:ka=Mn.y-Wa.y-Nr;var Ja=ye(Zr,ka),_o=ye(Zr,ka,vr);Ja>Er||Ja===Er&&(!Ta||_o>=Sn)?(Wt.current.bt=!0,ur=ka,Nr=-Nr,Ua.points=[qa(ba,0),qa(_r,0)]):Wt.current.bt=!1}if(gr&&ba[0]==="b"&&(daEr||_i===Er&&(!Ta||ru>=Sn)?(Wt.current.tb=!0,ur=Ea,Nr=-Nr,Ua.points=[qa(ba,0),qa(_r,0)]):Wt.current.tb=!1}var yo=Xa(za),Uo=ba[1]===_r[1];if(yo&&ba[1]==="l"&&(Ur>Ba.right||Wt.current.rl)){var go=Zr;Uo?go-=Lr-yr:go=Mn.x-Wa.x-ia;var ci=ye(go,ur),au=ye(go,ur,vr);ci>Er||ci===Er&&(!Ta||au>=Sn)?(Wt.current.rl=!0,Zr=go,ia=-ia,Ua.points=[qa(ba,1),qa(_r,1)]):Wt.current.rl=!1}if(yo&&ba[1]==="r"&&(hoEr||ou===Er&&(!Ta||Xo>=Sn)?(Wt.current.lr=!0,Zr=di,ia=-ia,Ua.points=[qa(ba,1),qa(_r,1)]):Wt.current.lr=!1}pe();var Jo=No===!0?0:No;typeof Jo=="number"&&(hovr.right&&(Zr-=Ur-vr.right-ia,Xn.x>vr.right-Jo&&(Zr+=Xn.x-vr.right+Jo)));var wi=ro===!0?0:ro;typeof wi=="number"&&(davr.bottom&&(ur-=La-vr.bottom-Nr,Xn.y>vr.bottom-wi&&(ur+=Xn.y-vr.bottom+wi)));var Ai=qn.x+Zr,Ci=Ai+Lr,qo=qn.y+ur,Au=qo+Wn,Hi=Xn.x,fi=Hi+yr,Cu=Xn.y,ma=Cu+ra,Be=Math.max(Ai,Hi),W=Math.min(Ci,fi),te=(Be+W)/2,ne=te-Ai,se=Math.max(qo,Cu),ie=Math.min(Au,ma),J=(se+ie)/2,ve=J-qo;Se==null||Se(F,Ua);var ue=lo.right-qn.x-(Zr+qn.width),ce=lo.bottom-qn.y-(ur+qn.height);Rt({ready:!0,offsetX:Zr/oa,offsetY:ur/Oa,offsetR:ue/oa,offsetB:ce/Oa,arrowX:ne/oa,arrowY:ve/Oa,scaleX:oa,scaleY:Oa,align:Ua})}}),Jt=function(){ht.current+=1;var Zt=ht.current;Promise.resolve().then(function(){ht.current===Zt&&un()})},dn=function(){Rt(function(Zt){return(0,Z.Z)((0,Z.Z)({},Zt),{},{ready:!1})})};return(0,de.Z)(dn,[le]),(0,de.Z)(function(){S||dn()},[S]),[pt.ready,pt.offsetX,pt.offsetY,pt.offsetR,pt.offsetB,pt.arrowX,pt.arrowY,pt.scaleX,pt.scaleY,pt.align,Jt]}function Wu(S,F,U,le,ae){(0,de.Z)(function(){if(S&&F&&U){let ht=function(){le(),ae()};var xe=F,Se=U,je=Co(xe),Ye=Co(Se),pt=Ao(Se),Rt=new Set([pt].concat((0,Rn.Z)(je),(0,Rn.Z)(Ye)));return Rt.forEach(function(Ft){Ft.addEventListener("scroll",ht,{passive:!0})}),pt.addEventListener("resize",ht,{passive:!0}),le(),function(){Rt.forEach(function(Ft){Ft.removeEventListener("scroll",ht),pt.removeEventListener("resize",ht)})}}},[S,F,U])}function Wo(S,F,U,le,ae,xe,Se,je){var Ye=u.useRef(S),pt=u.useRef(!1);Ye.current!==S&&(pt.current=!0,Ye.current=S),u.useEffect(function(){var Rt=(0,xt.Z)(function(){pt.current=!1});return function(){xt.Z.cancel(Rt)}},[S]),u.useEffect(function(){if(F&&le&&(!ae||xe)){var Rt=function(){var rn=!1,Dn=function(Zn){var fr=Zn.target;rn=Se(fr)},Nn=function(Zn){var fr=Zn.target;!pt.current&&Ye.current&&!rn&&!Se(fr)&&je(!1)};return[Dn,Nn]},ht=Rt(),Ft=(0,ge.Z)(ht,2),Wt=Ft[0],Lt=Ft[1],un=Rt(),Jt=(0,ge.Z)(un,2),dn=Jt[0],zt=Jt[1],Zt=Ao(le);Zt.addEventListener("mousedown",Wt,!0),Zt.addEventListener("click",Lt,!0),Zt.addEventListener("contextmenu",Lt,!0);var Pt=It(U);if(Pt&&(Pt.addEventListener("mousedown",dn,!0),Pt.addEventListener("click",zt,!0),Pt.addEventListener("contextmenu",zt,!0)),!1)var In,wn,$n,hn;return function(){Zt.removeEventListener("mousedown",Wt,!0),Zt.removeEventListener("click",Lt,!0),Zt.removeEventListener("contextmenu",Lt,!0),Pt&&(Pt.removeEventListener("mousedown",dn,!0),Pt.removeEventListener("click",zt,!0),Pt.removeEventListener("contextmenu",zt,!0))}}},[F,U,le,ae,xe])}var ls=["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"];function ku(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn,F=u.forwardRef(function(U,le){var ae=U.prefixCls,xe=ae===void 0?"rc-trigger-popup":ae,Se=U.children,je=U.action,Ye=je===void 0?"hover":je,pt=U.showAction,Rt=U.hideAction,ht=U.popupVisible,Ft=U.defaultPopupVisible,Wt=U.onPopupVisibleChange,Lt=U.afterPopupVisibleChange,un=U.mouseEnterDelay,Jt=U.mouseLeaveDelay,dn=Jt===void 0?.1:Jt,zt=U.focusDelay,Zt=U.blurDelay,Pt=U.mask,In=U.maskClosable,wn=In===void 0?!0:In,$n=U.getPopupContainer,hn=U.forceRender,fn=U.autoDestroy,rn=U.destroyPopupOnHide,Dn=U.popup,Nn=U.popupClassName,En=U.popupStyle,Zn=U.popupPlacement,fr=U.builtinPlacements,Un=fr===void 0?{}:fr,tr=U.popupAlign,Xn=U.zIndex,Ir=U.stretch,qn=U.getPopupClassNameFromAlign,$r=U.fresh,Jn=U.alignPoint,ir=U.onPopupClick,xr=U.onPopupAlign,Sr=U.arrow,br=U.popupMotion,rr=U.maskMotion,Wn=U.popupTransitionName,Lr=U.popupAnimation,ra=U.maskTransitionName,yr=U.maskAnimation,Hr=U.className,Aa=U.getTriggerDOMNode,aa=(0,Le.Z)(U,ls),Ca=fn||rn||!1,la=u.useState(!1),Ta=(0,ge.Z)(la,2),pr=Ta[0],vr=Ta[1];(0,de.Z)(function(){vr(an())},[]);var Ra=u.useRef({}),Ba=u.useContext(sa),lo=u.useMemo(function(){return{registerSubPopup:function(zn,ha){Ra.current[zn]=ha,Ba==null||Ba.registerSubPopup(zn,ha)}}},[Ba]),oa=or(),Oa=u.useState(null),Ha=(0,ge.Z)(Oa,2),Qr=Ha[0],Ro=Ha[1],qr=(0,Fn.Z)(function(yn){(0,ar.S)(yn)&&Qr!==yn&&Ro(yn),Ba==null||Ba.registerSubPopup(oa,yn)}),ia=u.useState(null),Nr=(0,ge.Z)(ia,2),Ar=Nr[0],Za=Nr[1],Xr=u.useRef(null),Ya=(0,Fn.Z)(function(yn){(0,ar.S)(yn)&&Ar!==yn&&(Za(yn),Xr.current=yn)}),$a=u.Children.only(Se),Mr=($a==null?void 0:$a.props)||{},ca={},So=(0,Fn.Z)(function(yn){var zn,ha,fa=Ar;return(fa==null?void 0:fa.contains(yn))||((zn=It(fa))===null||zn===void 0?void 0:zn.host)===yn||yn===fa||(Qr==null?void 0:Qr.contains(yn))||((ha=It(Qr))===null||ha===void 0?void 0:ha.host)===yn||yn===Qr||Object.values(Ra.current).some(function(Ka){return(Ka==null?void 0:Ka.contains(yn))||yn===Ka})}),_r=Zo(xe,br,Lr,Wn),ba=Zo(xe,rr,yr,ra),co=u.useState(Ft||!1),Lo=(0,ge.Z)(co,2),Ua=Lo[0],Zr=Lo[1],ur=ht!=null?ht:Ua,Er=(0,Fn.Z)(function(yn){ht===void 0&&Zr(yn)});(0,de.Z)(function(){Zr(ht||!1)},[ht]);var Sn=u.useRef(ur);Sn.current=ur;var Mn=u.useRef([]);Mn.current=[];var Kr=(0,Fn.Z)(function(yn){var zn;Er(yn),((zn=Mn.current[Mn.current.length-1])!==null&&zn!==void 0?zn:ur)!==yn&&(Mn.current.push(yn),Wt==null||Wt(yn))}),Pa=u.useRef(),Wa=function(){clearTimeout(Pa.current)},Qa=function(zn){var ha=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Wa(),ha===0?Kr(zn):Pa.current=setTimeout(function(){Kr(zn)},ha*1e3)};u.useEffect(function(){return Wa},[]);var za=u.useState(!1),Si=(0,ge.Z)(za,2),No=Si[0],ro=Si[1];(0,de.Z)(function(yn){(!yn||ur)&&ro(!0)},[ur]);var Xa=u.useState(null),da=(0,ge.Z)(Xa,2),La=da[0],ho=da[1],Ur=u.useState([0,0]),gr=(0,ge.Z)(Ur,2),ea=gr[0],ka=gr[1],Ja=function(zn){ka([zn.clientX,zn.clientY])},_o=ss(ur,Qr,Jn?ea:Ar,Zn,Un,tr,xr),Ea=(0,ge.Z)(_o,11),_i=Ea[0],ru=Ea[1],yo=Ea[2],Uo=Ea[3],go=Ea[4],ci=Ea[5],au=Ea[6],di=Ea[7],ou=Ea[8],Xo=Ea[9],Jo=Ea[10],wi=Or(pr,Ye,pt,Rt),Ai=(0,ge.Z)(wi,2),Ci=Ai[0],qo=Ai[1],Au=Ci.has("click"),Hi=qo.has("click")||qo.has("contextMenu"),fi=(0,Fn.Z)(function(){No||Jo()}),Cu=function(){Sn.current&&Jn&&Hi&&Qa(!1)};Wu(ur,Ar,Qr,fi,Cu),(0,de.Z)(function(){fi()},[ea,Zn]),(0,de.Z)(function(){ur&&!(Un!=null&&Un[Zn])&&fi()},[JSON.stringify(tr)]);var ma=u.useMemo(function(){var yn=xo(Un,xe,Xo,Jn);return d()(yn,qn==null?void 0:qn(Xo))},[Xo,qn,Un,xe,Jn]);u.useImperativeHandle(le,function(){return{nativeElement:Xr.current,forceAlign:fi}});var Be=u.useState(0),W=(0,ge.Z)(Be,2),te=W[0],ne=W[1],se=u.useState(0),ie=(0,ge.Z)(se,2),J=ie[0],ve=ie[1],ue=function(){if(Ir&&Ar){var zn=Ar.getBoundingClientRect();ne(zn.width),ve(zn.height)}},ce=function(){ue(),fi()},ye=function(zn){ro(!1),Jo(),Lt==null||Lt(zn)},pe=function(){return new Promise(function(zn){ue(),ho(function(){return zn})})};(0,de.Z)(function(){La&&(Jo(),La(),ho(null))},[La]);function me(yn,zn,ha,fa){ca[yn]=function(Ka){var zs;fa==null||fa(Ka),Qa(zn,ha);for(var Hs=arguments.length,al=new Array(Hs>1?Hs-1:0),Zs=1;Zs1?ha-1:0),Ka=1;Ka1?ha-1:0),Ka=1;KaLt,ia=(0,u.useMemo)(function(){var Sn=xe;return Qr?Dn===null&&$n?Sn=xe:Sn=xe.slice(0,Math.min(xe.length,En/Rt)):typeof Lt=="number"&&(Sn=xe.slice(0,Lt)),Sn},[xe,Rt,Dn,Lt,Qr]),Nr=(0,u.useMemo)(function(){return Qr?xe.slice(pr+1):xe.slice(ia.length)},[xe,ia,Qr,pr]),Ar=(0,u.useCallback)(function(Sn,Mn){var Kr;return typeof Ye=="function"?Ye(Sn):(Kr=Ye&&(Sn==null?void 0:Sn[Ye]))!==null&&Kr!==void 0?Kr:Mn},[Ye]),Za=(0,u.useCallback)(Se||function(Sn){return Sn},[Se]);function Xr(Sn,Mn,Kr){la===Sn&&(Mn===void 0||Mn===Hr)||(Ta(Sn),Kr||(lo(SnEn){Xr(Pa-1,Sn-Wa-Wn+xr);break}}dn&&So(0)+Wn>En&&Aa(null)}},[En,Un,xr,Wn,Ar,ia]);var _r=Ba&&!!Nr.length,ba={};Hr!==null&&Qr&&(ba={position:"absolute",left:Hr,top:0});var co={prefixCls:oa,responsive:Qr,component:Pt,invalidate:Ro},Lo=je?function(Sn,Mn){var Kr=Ar(Sn,Mn);return u.createElement(so.Provider,{key:Kr,value:(0,Z.Z)((0,Z.Z)({},co),{},{order:Mn,item:Sn,itemKey:Kr,registerSize:$a,display:Mn<=pr})},je(Sn,Mn))}:function(Sn,Mn){var Kr=Ar(Sn,Mn);return u.createElement(Ki,(0,k.Z)({},co,{order:Mn,key:Kr,item:Sn,renderItem:Za,itemKey:Kr,registerSize:$a,display:Mn<=pr}))},Ua,Zr={order:_r?pr:Number.MAX_SAFE_INTEGER,className:"".concat(oa,"-rest"),registerSize:Mr,display:_r};if(Jt)Jt&&(Ua=u.createElement(so.Provider,{value:(0,Z.Z)((0,Z.Z)({},co),Zr)},Jt(Nr)));else{var ur=un||Lu;Ua=u.createElement(Ki,(0,k.Z)({},co,Zr),typeof ur=="function"?ur(Nr):ur)}var Er=u.createElement(Zt,(0,k.Z)({className:d()(!Ro&&le,Wt),style:Ft,ref:F},wn),ia.map(Lo),qr?Ua:null,dn&&u.createElement(Ki,(0,k.Z)({},co,{responsive:Ha,responsiveDisabled:!Qr,order:pr,className:"".concat(oa,"-suffix"),registerSize:ca,display:!0,style:ba}),dn));return Ha&&(Er=u.createElement(An.Z,{onResize:Ya,disabled:!Qr},Er)),Er}var Li=u.forwardRef(Qi);Li.displayName="Overflow",Li.Item=Ru,Li.RESPONSIVE=Gu,Li.INVALIDATE=Yi;var Vu=Li,Ni=Vu;function ps(S,F){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,le=new Set;function ae(xe,Se){var je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ye=le.has(xe);if((0,Mt.ZP)(!Ye,"Warning: There may be circular references"),Ye)return!1;if(xe===Se)return!0;if(U&&je>1)return!1;le.add(xe);var pt=je+1;if(Array.isArray(xe)){if(!Array.isArray(Se)||xe.length!==Se.length)return!1;for(var Rt=0;Rt1&&arguments[1]!==void 0?arguments[1]:!1;if(Ga(S)){var U=S.nodeName.toLowerCase(),le=["input","select","textarea","button"].includes(U)||S.isContentEditable||U==="a"&&!!S.getAttribute("href"),ae=S.getAttribute("tabindex"),xe=Number(ae),Se=null;return ae&&!Number.isNaN(xe)?Se=xe:le&&Se===null&&(Se=0),le&&S.disabled&&(Se=null),Se!==null&&(Se>=0||F&&Se<0)}return!1}function Bt(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,U=(0,Rn.Z)(S.querySelectorAll("*")).filter(function(le){return Ot(le,F)});return Ot(S,F)&&U.unshift(S),U}var xn=null;function Yn(){xn=document.activeElement}function kn(){xn=null}function On(){if(xn)try{xn.focus()}catch(S){}}function er(S,F){if(F.keyCode===9){var U=Bt(S),le=U[F.shiftKey?0:U.length-1],ae=le===document.activeElement||S===document.activeElement;if(ae){var xe=U[F.shiftKey?U.length-1:0];xe.focus(),F.preventDefault()}}}var Dr=ga.Z.LEFT,Pr=ga.Z.RIGHT,Br=ga.Z.UP,_a=ga.Z.DOWN,Ia=ga.Z.ENTER,to=ga.Z.ESC,ko=ga.Z.HOME,Va=ga.Z.END,bo=[Br,_a,Dr,Pr];function oi(S,F,U,le){var ae,xe,Se,je,Ye="prev",pt="next",Rt="children",ht="parent";if(S==="inline"&&le===Ia)return{inlineTrigger:!0};var Ft=(ae={},(0,$.Z)(ae,Br,Ye),(0,$.Z)(ae,_a,pt),ae),Wt=(xe={},(0,$.Z)(xe,Dr,U?pt:Ye),(0,$.Z)(xe,Pr,U?Ye:pt),(0,$.Z)(xe,_a,Rt),(0,$.Z)(xe,Ia,Rt),xe),Lt=(Se={},(0,$.Z)(Se,Br,Ye),(0,$.Z)(Se,_a,pt),(0,$.Z)(Se,Ia,Rt),(0,$.Z)(Se,to,ht),(0,$.Z)(Se,Dr,U?Rt:ht),(0,$.Z)(Se,Pr,U?ht:Rt),Se),un={inline:Ft,horizontal:Wt,vertical:Lt,inlineSub:Ft,horizontalSub:Lt,verticalSub:Lt},Jt=(je=un["".concat(S).concat(F?"":"Sub")])===null||je===void 0?void 0:je[le];switch(Jt){case Ye:return{offset:-1,sibling:!0};case pt:return{offset:1,sibling:!0};case ht:return{offset:-1,sibling:!1};case Rt:return{offset:1,sibling:!1};default:return null}}function Ii(S){for(var F=S;F;){if(F.getAttribute("data-menu-list"))return F;F=F.parentElement}return null}function ji(S,F){for(var U=S||document.activeElement;U;){if(F.has(U))return U;U=U.parentElement}return null}function xi(S,F){var U=Bt(S,!0);return U.filter(function(le){return F.has(le)})}function Ko(S,F,U){var le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!S)return null;var ae=xi(S,F),xe=ae.length,Se=ae.findIndex(function(je){return U===je});return le<0?Se===-1?Se=xe-1:Se-=1:le>0&&(Se+=1),Se=(Se+xe)%xe,ae[Se]}var ii=function(F,U){var le=new Set,ae=new Map,xe=new Map;return F.forEach(function(Se){var je=document.querySelector("[data-menu-id='".concat(Yu(U,Se),"']"));je&&(le.add(je),xe.set(je,Se),ae.set(Se,je))}),{elements:le,key2element:ae,element2key:xe}};function Go(S,F,U,le,ae,xe,Se,je,Ye,pt){var Rt=u.useRef(),ht=u.useRef();ht.current=F;var Ft=function(){xt.Z.cancel(Rt.current)};return u.useEffect(function(){return function(){Ft()}},[]),function(Wt){var Lt=Wt.which;if([].concat(bo,[Ia,to,ko,Va]).includes(Lt)){var un=xe(),Jt=ii(un,le),dn=Jt,zt=dn.elements,Zt=dn.key2element,Pt=dn.element2key,In=Zt.get(F),wn=ji(In,zt),$n=Pt.get(wn),hn=oi(S,Se($n,!0).length===1,U,Lt);if(!hn&&Lt!==ko&&Lt!==Va)return;(bo.includes(Lt)||[ko,Va].includes(Lt))&&Wt.preventDefault();var fn=function(tr){if(tr){var Xn=tr,Ir=tr.querySelector("a");Ir!=null&&Ir.getAttribute("href")&&(Xn=Ir);var qn=Pt.get(tr);je(qn),Ft(),Rt.current=(0,xt.Z)(function(){ht.current===qn&&Xn.focus()})}};if([ko,Va].includes(Lt)||hn.sibling||!wn){var rn;!wn||S==="inline"?rn=ae.current:rn=Ii(wn);var Dn,Nn=xi(rn,zt);Lt===ko?Dn=Nn[0]:Lt===Va?Dn=Nn[Nn.length-1]:Dn=Ko(rn,zt,wn,hn.offset),fn(Dn)}else if(hn.inlineTrigger)Ye($n);else if(hn.offset>0)Ye($n,!0),Ft(),Rt.current=(0,xt.Z)(function(){Jt=ii(un,le);var Un=wn.getAttribute("aria-controls"),tr=document.getElementById(Un),Xn=Ko(tr,Jt.elements);fn(Xn)},5);else if(hn.offset<0){var En=Se($n,!0),Zn=En[En.length-2],fr=Zt.get(Zn);Ye(Zn,!1),fn(fr)}}pt==null||pt(Wt)}}function Fi(S){Promise.resolve().then(S)}var Fu="__RC_UTIL_PATH_SPLIT__",vs=function(F){return F.join(Fu)},Ds=function(F){return F.split(Fu)},Ji="rc-menu-more";function Ms(){var S=u.useState({}),F=(0,ge.Z)(S,2),U=F[1],le=(0,u.useRef)(new Map),ae=(0,u.useRef)(new Map),xe=u.useState([]),Se=(0,ge.Z)(xe,2),je=Se[0],Ye=Se[1],pt=(0,u.useRef)(0),Rt=(0,u.useRef)(!1),ht=function(){Rt.current||U({})},Ft=(0,u.useCallback)(function(Zt,Pt){var In=vs(Pt);ae.current.set(In,Zt),le.current.set(Zt,In),pt.current+=1;var wn=pt.current;Fi(function(){wn===pt.current&&ht()})},[]),Wt=(0,u.useCallback)(function(Zt,Pt){var In=vs(Pt);ae.current.delete(In),le.current.delete(Zt)},[]),Lt=(0,u.useCallback)(function(Zt){Ye(Zt)},[]),un=(0,u.useCallback)(function(Zt,Pt){var In=le.current.get(Zt)||"",wn=Ds(In);return Pt&&je.includes(wn[0])&&wn.unshift(Ji),wn},[je]),Jt=(0,u.useCallback)(function(Zt,Pt){return Zt.some(function(In){var wn=un(In,!0);return wn.includes(Pt)})},[un]),dn=function(){var Pt=(0,Rn.Z)(le.current.keys());return je.length&&Pt.push(Ji),Pt},zt=(0,u.useCallback)(function(Zt){var Pt="".concat(le.current.get(Zt)).concat(Fu),In=new Set;return(0,Rn.Z)(ae.current.keys()).forEach(function(wn){wn.startsWith(Pt)&&In.add(ae.current.get(wn))}),In},[]);return u.useEffect(function(){return function(){Rt.current=!0}},[]),{registerPath:Ft,unregisterPath:Wt,refreshOverflowKeys:Lt,isSubPathKey:Jt,getKeyPath:un,getKeys:dn,getSubPathKeys:zt}}function mu(S){var F=u.useRef(S);F.current=S;var U=u.useCallback(function(){for(var le,ae=arguments.length,xe=new Array(ae),Se=0;Se1&&(zt.motionAppear=!1);var Zt=zt.onVisibleChanged;return zt.onVisibleChanged=function(Pt){return!Ft.current&&!Pt&&Jt(!0),Zt==null?void 0:Zt(Pt)},un?null:u.createElement(gi,{mode:xe,locked:!Ft.current},u.createElement(cr.ZP,(0,k.Z)({visible:dn},zt,{forceRender:Ye,removeOnLeave:!1,leavedClassName:"".concat(je,"-hidden")}),function(Pt){var In=Pt.className,wn=Pt.style;return u.createElement(es,{id:F,className:In,style:wn},ae)}))}var Rr=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],si=["active"],$o=function(F){var U,le=F.style,ae=F.className,xe=F.title,Se=F.eventKey,je=F.warnKey,Ye=F.disabled,pt=F.internalPopupClose,Rt=F.children,ht=F.itemIcon,Ft=F.expandIcon,Wt=F.popupClassName,Lt=F.popupOffset,un=F.popupStyle,Jt=F.onClick,dn=F.onMouseEnter,zt=F.onMouseLeave,Zt=F.onTitleClick,Pt=F.onTitleMouseEnter,In=F.onTitleMouseLeave,wn=(0,Le.Z)(F,Rr),$n=Qu(Se),hn=u.useContext(Po),fn=hn.prefixCls,rn=hn.mode,Dn=hn.openKeys,Nn=hn.disabled,En=hn.overflowDisabled,Zn=hn.activeKey,fr=hn.selectedKeys,Un=hn.itemIcon,tr=hn.expandIcon,Xn=hn.onItemClick,Ir=hn.onOpenChange,qn=hn.onActive,$r=u.useContext(Tt),Jn=$r._internalRenderSubMenuItem,ir=u.useContext(dt),xr=ir.isSubPathKey,Sr=ee(),br="".concat(fn,"-submenu"),rr=Nn||Ye,Wn=u.useRef(),Lr=u.useRef(),ra=ht!=null?ht:Un,yr=Ft!=null?Ft:tr,Hr=Dn.includes(Se),Aa=!En&&Hr,aa=xr(fr,Se),Ca=ja(Se,rr,Pt,In),la=Ca.active,Ta=(0,Le.Z)(Ca,si),pr=u.useState(!1),vr=(0,ge.Z)(pr,2),Ra=vr[0],Ba=vr[1],lo=function(ca){rr||Ba(ca)},oa=function(ca){lo(!0),dn==null||dn({key:Se,domEvent:ca})},Oa=function(ca){lo(!1),zt==null||zt({key:Se,domEvent:ca})},Ha=u.useMemo(function(){return la||(rn!=="inline"?Ra||xr([Zn],Se):!1)},[rn,la,Zn,Ra,Se,xr]),Qr=Fa(Sr.length),Ro=function(ca){rr||(Zt==null||Zt({key:Se,domEvent:ca}),rn==="inline"&&Ir(Se,!Hr))},qr=mu(function(Mr){Jt==null||Jt(Eo(Mr)),Xn(Mr)}),ia=function(ca){rn!=="inline"&&Ir(Se,ca)},Nr=function(){qn(Se)},Ar=$n&&"".concat($n,"-popup"),Za=u.createElement("div",(0,k.Z)({role:"menuitem",style:Qr,className:"".concat(br,"-title"),tabIndex:rr?null:-1,ref:Wn,title:typeof xe=="string"?xe:null,"data-menu-id":En&&$n?null:$n,"aria-expanded":Aa,"aria-haspopup":!0,"aria-controls":Ar,"aria-disabled":rr,onClick:Ro,onFocus:Nr},Ta),xe,u.createElement(ui,{icon:rn!=="horizontal"?yr:void 0,props:(0,Z.Z)((0,Z.Z)({},F),{},{isOpen:Aa,isSubMenu:!0})},u.createElement("i",{className:"".concat(br,"-arrow")}))),Xr=u.useRef(rn);if(rn!=="inline"&&Sr.length>1?Xr.current="vertical":Xr.current=rn,!En){var Ya=Xr.current;Za=u.createElement(Is,{mode:Ya,prefixCls:br,visible:!pt&&Aa&&rn!=="inline",popupClassName:Wt,popupOffset:Lt,popupStyle:un,popup:u.createElement(gi,{mode:Ya==="horizontal"?"vertical":Ya},u.createElement(es,{id:Ar,ref:Lr},Rt)),disabled:rr,onVisibleChange:ia},Za)}var $a=u.createElement(Ni.Item,(0,k.Z)({role:"none"},wn,{component:"li",style:le,className:d()(br,"".concat(br,"-").concat(rn),ae,(U={},(0,$.Z)(U,"".concat(br,"-open"),Aa),(0,$.Z)(U,"".concat(br,"-active"),Ha),(0,$.Z)(U,"".concat(br,"-selected"),aa),(0,$.Z)(U,"".concat(br,"-disabled"),rr),U)),onMouseEnter:oa,onMouseLeave:Oa}),Za,!En&&u.createElement(ns,{id:Ar,open:Aa,keyPath:Sr},Rt));return Jn&&($a=Jn($a,F,{selected:aa,active:Ha,open:Aa,disabled:rr})),u.createElement(gi,{onItemClick:qr,mode:rn==="horizontal"?"vertical":rn,itemIcon:ra,expandIcon:yr},$a)};function xu(S){var F=S.eventKey,U=S.children,le=ee(F),ae=Yo(U,le),xe=L();u.useEffect(function(){if(xe)return xe.registerPath(F,le),function(){xe.unregisterPath(F,le)}},[le]);var Se;return xe?Se=ae:Se=u.createElement($o,S,ae),u.createElement(he.Provider,{value:le},Se)}var Qs=["className","title","eventKey","children"],Rs=["children"],rs=function(F){var U=F.className,le=F.title,ae=F.eventKey,xe=F.children,Se=(0,Le.Z)(F,Qs),je=u.useContext(Po),Ye=je.prefixCls,pt="".concat(Ye,"-item-group");return u.createElement("li",(0,k.Z)({role:"presentation"},Se,{onClick:function(ht){return ht.stopPropagation()},className:d()(pt,U)}),u.createElement("div",{role:"presentation",className:"".concat(pt,"-title"),title:typeof le=="string"?le:void 0},le),u.createElement("ul",{role:"group",className:"".concat(pt,"-list")},xe))};function as(S){var F=S.children,U=(0,Le.Z)(S,Rs),le=ee(U.eventKey),ae=Yo(F,le),xe=L();return xe?ae:u.createElement(rs,(0,wa.Z)(U,["warnKey"]),ae)}function bu(S){var F=S.className,U=S.style,le=u.useContext(Po),ae=le.prefixCls,xe=L();return xe?null:u.createElement("li",{role:"separator",className:d()("".concat(ae,"-item-divider"),F),style:U})}var Xs=["label","children","key","type"];function Ls(S){return(S||[]).map(function(F,U){if(F&&(0,lt.Z)(F)==="object"){var le=F,ae=le.label,xe=le.children,Se=le.key,je=le.type,Ye=(0,Le.Z)(le,Xs),pt=Se!=null?Se:"tmp-".concat(U);return xe||je==="group"?je==="group"?u.createElement(as,(0,k.Z)({key:pt},Ye,{title:ae}),Ls(xe)):u.createElement(xu,(0,k.Z)({key:pt},Ye,{title:ae}),Ls(xe)):je==="divider"?u.createElement(bu,(0,k.Z)({key:pt},Ye)):u.createElement(yu,(0,k.Z)({key:pt},Ye),ae)}return null}).filter(function(F){return F})}function ll(S,F,U){var le=S;return F&&(le=Ls(F)),Yo(le,U)}var Js=["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"],Ui=[],xs=u.forwardRef(function(S,F){var U,le,ae=S,xe=ae.prefixCls,Se=xe===void 0?"rc-menu":xe,je=ae.rootClassName,Ye=ae.style,pt=ae.className,Rt=ae.tabIndex,ht=Rt===void 0?0:Rt,Ft=ae.items,Wt=ae.children,Lt=ae.direction,un=ae.id,Jt=ae.mode,dn=Jt===void 0?"vertical":Jt,zt=ae.inlineCollapsed,Zt=ae.disabled,Pt=ae.disabledOverflow,In=ae.subMenuOpenDelay,wn=In===void 0?.1:In,$n=ae.subMenuCloseDelay,hn=$n===void 0?.1:$n,fn=ae.forceSubMenuRender,rn=ae.defaultOpenKeys,Dn=ae.openKeys,Nn=ae.activeKey,En=ae.defaultActiveFirst,Zn=ae.selectable,fr=Zn===void 0?!0:Zn,Un=ae.multiple,tr=Un===void 0?!1:Un,Xn=ae.defaultSelectedKeys,Ir=ae.selectedKeys,qn=ae.onSelect,$r=ae.onDeselect,Jn=ae.inlineIndent,ir=Jn===void 0?24:Jn,xr=ae.motion,Sr=ae.defaultMotions,br=ae.triggerSubMenuAction,rr=br===void 0?"hover":br,Wn=ae.builtinPlacements,Lr=ae.itemIcon,ra=ae.expandIcon,yr=ae.overflowedIndicator,Hr=yr===void 0?"...":yr,Aa=ae.overflowedIndicatorPopupClassName,aa=ae.getPopupContainer,Ca=ae.onClick,la=ae.onOpenChange,Ta=ae.onKeyDown,pr=ae.openAnimation,vr=ae.openTransitionName,Ra=ae._internalRenderMenuItem,Ba=ae._internalRenderSubMenuItem,lo=(0,Le.Z)(ae,Js),oa=u.useMemo(function(){return ll(Wt,Ft,Ui)},[Wt,Ft]),Oa=u.useState(!1),Ha=(0,ge.Z)(Oa,2),Qr=Ha[0],Ro=Ha[1],qr=u.useRef(),ia=jn(un),Nr=Lt==="rtl",Ar=(0,Dt.Z)(rn,{value:Dn,postState:function(Be){return Be||Ui}}),Za=(0,ge.Z)(Ar,2),Xr=Za[0],Ya=Za[1],$a=function(Be){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function te(){Ya(Be),la==null||la(Be)}W?(0,Et.flushSync)(te):te()},Mr=u.useState(Xr),ca=(0,ge.Z)(Mr,2),So=ca[0],_r=ca[1],ba=u.useRef(!1),co=u.useMemo(function(){return(dn==="inline"||dn==="vertical")&&zt?["vertical",zt]:[dn,!1]},[dn,zt]),Lo=(0,ge.Z)(co,2),Ua=Lo[0],Zr=Lo[1],ur=Ua==="inline",Er=u.useState(Ua),Sn=(0,ge.Z)(Er,2),Mn=Sn[0],Kr=Sn[1],Pa=u.useState(Zr),Wa=(0,ge.Z)(Pa,2),Qa=Wa[0],za=Wa[1];u.useEffect(function(){Kr(Ua),za(Zr),ba.current&&(ur?Ya(So):$a(Ui))},[Ua,Zr]);var Si=u.useState(0),No=(0,ge.Z)(Si,2),ro=No[0],Xa=No[1],da=ro>=oa.length-1||Mn!=="horizontal"||Pt;u.useEffect(function(){ur&&_r(Xr)},[Xr]),u.useEffect(function(){return ba.current=!0,function(){ba.current=!1}},[]);var La=Ms(),ho=La.registerPath,Ur=La.unregisterPath,gr=La.refreshOverflowKeys,ea=La.isSubPathKey,ka=La.getKeyPath,Ja=La.getKeys,_o=La.getSubPathKeys,Ea=u.useMemo(function(){return{registerPath:ho,unregisterPath:Ur}},[ho,Ur]),_i=u.useMemo(function(){return{isSubPathKey:ea}},[ea]);u.useEffect(function(){gr(da?Ui:oa.slice(ro+1).map(function(ma){return ma.key}))},[ro,da]);var ru=(0,Dt.Z)(Nn||En&&((U=oa[0])===null||U===void 0?void 0:U.key),{value:Nn}),yo=(0,ge.Z)(ru,2),Uo=yo[0],go=yo[1],ci=mu(function(ma){go(ma)}),au=mu(function(){go(void 0)});(0,u.useImperativeHandle)(F,function(){return{list:qr.current,focus:function(Be){var W,te=Ja(),ne=ii(te,ia),se=ne.elements,ie=ne.key2element,J=ne.element2key,ve=xi(qr.current,se),ue=Uo!=null?Uo:ve[0]?J.get(ve[0]):(W=oa.find(function(pe){return!pe.props.disabled}))===null||W===void 0?void 0:W.key,ce=ie.get(ue);if(ue&&ce){var ye;ce==null||(ye=ce.focus)===null||ye===void 0||ye.call(ce,Be)}}}});var di=(0,Dt.Z)(Xn||[],{value:Ir,postState:function(Be){return Array.isArray(Be)?Be:Be==null?Ui:[Be]}}),ou=(0,ge.Z)(di,2),Xo=ou[0],Jo=ou[1],wi=function(Be){if(fr){var W=Be.key,te=Xo.includes(W),ne;tr?te?ne=Xo.filter(function(ie){return ie!==W}):ne=[].concat((0,Rn.Z)(Xo),[W]):ne=[W],Jo(ne);var se=(0,Z.Z)((0,Z.Z)({},Be),{},{selectedKeys:ne});te?$r==null||$r(se):qn==null||qn(se)}!tr&&Xr.length&&Mn!=="inline"&&$a(Ui)},Ai=mu(function(ma){Ca==null||Ca(Eo(ma)),wi(ma)}),Ci=mu(function(ma,Be){var W=Xr.filter(function(ne){return ne!==ma});if(Be)W.push(ma);else if(Mn!=="inline"){var te=_o(ma);W=W.filter(function(ne){return!te.has(ne)})}Nu(Xr,W,!0)||$a(W,!0)}),qo=function(Be,W){var te=W!=null?W:!Xr.includes(Be);Ci(Be,te)},Au=Go(Mn,Uo,Nr,ia,qr,Ja,ka,go,qo,Ta);u.useEffect(function(){Ro(!0)},[]);var Hi=u.useMemo(function(){return{_internalRenderMenuItem:Ra,_internalRenderSubMenuItem:Ba}},[Ra,Ba]),fi=Mn!=="horizontal"||Pt?oa:oa.map(function(ma,Be){return u.createElement(gi,{key:ma.key,overflowDisabled:Be>ro},ma)}),Cu=u.createElement(Ni,(0,k.Z)({id:un,ref:qr,prefixCls:"".concat(Se,"-overflow"),component:"ul",itemComponent:yu,className:d()(Se,"".concat(Se,"-root"),"".concat(Se,"-").concat(Mn),pt,(le={},(0,$.Z)(le,"".concat(Se,"-inline-collapsed"),Qa),(0,$.Z)(le,"".concat(Se,"-rtl"),Nr),le),je),dir:Lt,style:Ye,role:"menu",tabIndex:ht,data:fi,renderRawItem:function(Be){return Be},renderRawRest:function(Be){var W=Be.length,te=W?oa.slice(-W):null;return u.createElement(xu,{eventKey:Ji,title:Hr,disabled:da,internalPopupClose:W===0,popupClassName:Aa},te)},maxCount:Mn!=="horizontal"||Pt?Ni.INVALIDATE:Ni.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Be){Xa(Be)},onKeyDown:Au},lo));return u.createElement(Tt.Provider,{value:Hi},u.createElement(Xi.Provider,{value:ia},u.createElement(gi,{prefixCls:Se,rootClassName:je,mode:Mn,openKeys:Xr,rtl:Nr,disabled:Zt,motion:Qr?xr:null,defaultMotions:Qr?Sr:null,activeKey:Uo,onActive:ci,onInactive:au,selectedKeys:Xo,inlineIndent:ir,subMenuOpenDelay:wn,subMenuCloseDelay:hn,forceSubMenuRender:fn,builtinPlacements:Wn,triggerSubMenuAction:rr,getPopupContainer:aa,itemIcon:Lr,expandIcon:ra,onItemClick:Ai,onOpenChange:Ci},u.createElement(dt.Provider,{value:_i},Cu),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(M.Provider,{value:Ea},oa)))))}),Ns=xs,Eu=Ns;Eu.Item=yu,Eu.SubMenu=xu,Eu.ItemGroup=as,Eu.Divider=bu;var js=Eu,Fs=u.forwardRef(function(S,F){var U=S.prefixCls,le=S.id,ae=S.tabs,xe=S.locale,Se=S.mobile,je=S.moreIcon,Ye=je===void 0?"More":je,pt=S.moreTransitionName,Rt=S.style,ht=S.className,Ft=S.editable,Wt=S.tabBarGutter,Lt=S.rtl,un=S.removeAriaLabel,Jt=S.onTabClick,dn=S.getPopupContainer,zt=S.popupClassName,Zt=(0,u.useState)(!1),Pt=(0,ge.Z)(Zt,2),In=Pt[0],wn=Pt[1],$n=(0,u.useState)(null),hn=(0,ge.Z)($n,2),fn=hn[0],rn=hn[1],Dn="".concat(le,"-more-popup"),Nn="".concat(U,"-dropdown"),En=fn!==null?"".concat(Dn,"-").concat(fn):null,Zn=xe==null?void 0:xe.dropdownAriaLabel;function fr(Jn,ir){Jn.preventDefault(),Jn.stopPropagation(),Ft.onEdit("remove",{key:ir,event:Jn})}var Un=u.createElement(js,{onClick:function(ir){var xr=ir.key,Sr=ir.domEvent;Jt(xr,Sr),wn(!1)},prefixCls:"".concat(Nn,"-menu"),id:Dn,tabIndex:-1,role:"listbox","aria-activedescendant":En,selectedKeys:[fn],"aria-label":Zn!==void 0?Zn:"expanded dropdown"},ae.map(function(Jn){var ir=Jn.closable,xr=Jn.disabled,Sr=Jn.closeIcon,br=Jn.key,rr=Jn.label,Wn=Ne(ir,Sr,Ft,xr);return u.createElement(yu,{key:br,id:"".concat(Dn,"-").concat(br),role:"option","aria-controls":le&&"".concat(le,"-panel-").concat(br),disabled:xr},u.createElement("span",null,rr),Wn&&u.createElement("button",{type:"button","aria-label":un||"remove",tabIndex:0,className:"".concat(Nn,"-menu-item-remove"),onClick:function(ra){ra.stopPropagation(),fr(ra,br)}},Sr||Ft.removeIcon||"\xD7"))}));function tr(Jn){for(var ir=ae.filter(function(Wn){return!Wn.disabled}),xr=ir.findIndex(function(Wn){return Wn.key===fn})||0,Sr=ir.length,br=0;brgr?"left":"right"})}),fr=(0,ge.Z)(Zn,2),Un=fr[0],tr=fr[1],Xn=$e(0,function(Ur,gr){!En&&Jt&&Jt({direction:Ur>gr?"top":"bottom"})}),Ir=(0,ge.Z)(Xn,2),qn=Ir[0],$r=Ir[1],Jn=(0,u.useState)([0,0]),ir=(0,ge.Z)(Jn,2),xr=ir[0],Sr=ir[1],br=(0,u.useState)([0,0]),rr=(0,ge.Z)(br,2),Wn=rr[0],Lr=rr[1],ra=(0,u.useState)([0,0]),yr=(0,ge.Z)(ra,2),Hr=yr[0],Aa=yr[1],aa=(0,u.useState)([0,0]),Ca=(0,ge.Z)(aa,2),la=Ca[0],Ta=Ca[1],pr=st(new Map),vr=(0,ge.Z)(pr,2),Ra=vr[0],Ba=vr[1],lo=ke(In,Ra,Wn[0]),oa=li(xr,En),Oa=li(Wn,En),Ha=li(Hr,En),Qr=li(la,En),Ro=oaAr?Ar:Ur}var Xr=(0,u.useRef)(null),Ya=(0,u.useState)(),$a=(0,ge.Z)(Ya,2),Mr=$a[0],ca=$a[1];function So(){ca(Date.now())}function _r(){Xr.current&&clearTimeout(Xr.current)}nt(fn,function(Ur,gr){function ea(ka,Ja){ka(function(_o){var Ea=Za(_o+Ja);return Ea})}return Ro?(En?ea(tr,Ur):ea($r,gr),_r(),So(),!0):!1}),(0,u.useEffect)(function(){return _r(),Mr&&(Xr.current=setTimeout(function(){ca(0)},100)),_r},[Mr]);var ba=bt(lo,qr,En?Un:qn,Oa,Ha,Qr,(0,Z.Z)((0,Z.Z)({},S),{},{tabs:In})),co=(0,ge.Z)(ba,2),Lo=co[0],Ua=co[1],Zr=(0,Fn.Z)(function(){var Ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:je,gr=lo.get(Ur)||{width:0,height:0,left:0,right:0,top:0};if(En){var ea=Un;Ye?gr.rightUn+qr&&(ea=gr.right+gr.width-qr):gr.left<-Un?ea=-gr.left:gr.left+gr.width>-Un+qr&&(ea=-(gr.left+gr.width-qr)),$r(0),tr(Za(ea))}else{var ka=qn;gr.top<-qn?ka=-gr.top:gr.top+gr.height>-qn+qr&&(ka=-(gr.top+gr.height-qr)),tr(0),$r(Za(ka))}}),ur={};Ft==="top"||Ft==="bottom"?ur[Ye?"marginRight":"marginLeft"]=Wt:ur.marginTop=Wt;var Er=In.map(function(Ur,gr){var ea=Ur.key;return u.createElement(dl,{id:xe,prefixCls:Pt,key:ea,tab:Ur,style:gr===0?void 0:ur,closable:Ur.closable,editable:Rt,active:ea===je,renderWrapper:Lt,removeAriaLabel:ht==null?void 0:ht.removeAriaLabel,onClick:function(Ja){un(ea,Ja)},onFocus:function(){Zr(ea),So(),fn.current&&(Ye||(fn.current.scrollLeft=0),fn.current.scrollTop=0)}})}),Sn=function(){return Ba(function(){var gr,ea=new Map,ka=(gr=rn.current)===null||gr===void 0?void 0:gr.getBoundingClientRect();return In.forEach(function(Ja){var _o,Ea=Ja.key,_i=(_o=rn.current)===null||_o===void 0?void 0:_o.querySelector('[data-node-key="'.concat(we(Ea),'"]'));if(_i){var ru=fl(_i,ka),yo=(0,ge.Z)(ru,4),Uo=yo[0],go=yo[1],ci=yo[2],au=yo[3];ea.set(Ea,{width:Uo,height:go,left:ci,top:au})}}),ea})};(0,u.useEffect)(function(){Sn()},[In.map(function(Ur){return Ur.key}).join("_")]);var Mn=Ue(function(){var Ur=eu(wn),gr=eu($n),ea=eu(hn);Sr([Ur[0]-gr[0]-ea[0],Ur[1]-gr[1]-ea[1]]);var ka=eu(Nn);Aa(ka);var Ja=eu(Dn);Ta(Ja);var _o=eu(rn);Lr([_o[0]-ka[0],_o[1]-ka[1]]),Sn()}),Kr=In.slice(0,Lo),Pa=In.slice(Ua+1),Wa=[].concat((0,Rn.Z)(Kr),(0,Rn.Z)(Pa)),Qa=lo.get(je),za=ot({activeTabOffset:Qa,horizontal:En,rtl:Ye,indicatorSize:dn,indicatorAlign:zt}),Si=za.style;(0,u.useEffect)(function(){Zr()},[je,Nr,Ar,I(Qa),I(lo),En]),(0,u.useEffect)(function(){Mn()},[Ye]);var No=!!Wa.length,ro="".concat(Pt,"-nav-wrap"),Xa,da,La,ho;return En?Ye?(da=Un>0,Xa=Un!==Ar):(Xa=Un<0,da=Un!==Nr):(La=qn<0,ho=qn!==Nr),u.createElement(An.Z,{onResize:Mn},u.createElement("div",{ref:(0,Xe.x1)(F,wn),role:"tablist",className:d()("".concat(Pt,"-nav"),le),style:ae,onKeyDown:function(){So()}},u.createElement(mt,{ref:$n,position:"left",extra:pt,prefixCls:Pt}),u.createElement(An.Z,{onResize:Mn},u.createElement("div",{className:d()(ro,(U={},(0,$.Z)(U,"".concat(ro,"-ping-left"),Xa),(0,$.Z)(U,"".concat(ro,"-ping-right"),da),(0,$.Z)(U,"".concat(ro,"-ping-top"),La),(0,$.Z)(U,"".concat(ro,"-ping-bottom"),ho),U)),ref:fn},u.createElement(An.Z,{onResize:Mn},u.createElement("div",{ref:rn,className:"".concat(Pt,"-nav-list"),style:{transform:"translate(".concat(Un,"px, ").concat(qn,"px)"),transition:Mr?"none":void 0}},Er,u.createElement(ut,{ref:Nn,prefixCls:Pt,locale:ht,editable:Rt,style:(0,Z.Z)((0,Z.Z)({},Er.length===0?void 0:ur),{},{visibility:No?"hidden":null})}),u.createElement("div",{className:d()("".concat(Pt,"-ink-bar"),(0,$.Z)({},"".concat(Pt,"-ink-bar-animated"),Se.inkBar)),style:Si}))))),u.createElement(cl,(0,k.Z)({},S,{removeAriaLabel:ht==null?void 0:ht.removeAriaLabel,ref:Dn,prefixCls:Pt,tabs:Wa,className:!No&&ia,tabMoving:!!Mr})),u.createElement(mt,{ref:hn,position:"right",extra:pt,prefixCls:Pt})))}),Su=el,Ei=u.forwardRef(function(S,F){var U=S.prefixCls,le=S.className,ae=S.style,xe=S.id,Se=S.active,je=S.tabKey,Ye=S.children;return u.createElement("div",{id:xe&&"".concat(xe,"-panel-").concat(je),role:"tabpanel",tabIndex:Se?0:-1,"aria-labelledby":xe&&"".concat(xe,"-tab-").concat(je),"aria-hidden":!Se,style:ae,className:d()(U,Se&&"".concat(U,"-active"),le),ref:F},Ye)}),Uu=Ei,zi=["renderTabBar"],Bs=["label","key"],pl=function(F){var U=F.renderTabBar,le=(0,Le.Z)(F,zi),ae=u.useContext(sn),xe=ae.tabs;if(U){var Se=(0,Z.Z)((0,Z.Z)({},le),{},{panes:xe.map(function(je){var Ye=je.label,pt=je.key,Rt=(0,Le.Z)(je,Bs);return u.createElement(Uu,(0,k.Z)({tab:Ye,key:pt,tabKey:pt},Rt))})});return U(Se,Su)}return u.createElement(Su,le)},vl=pl,_u=["key","forceRender","style","className","destroyInactiveTabPane"],os=function(F){var U=F.id,le=F.activeKey,ae=F.animated,xe=F.tabPosition,Se=F.destroyInactiveTabPane,je=u.useContext(sn),Ye=je.prefixCls,pt=je.tabs,Rt=ae.tabPane,ht="".concat(Ye,"-tabpane");return u.createElement("div",{className:d()("".concat(Ye,"-content-holder"))},u.createElement("div",{className:d()("".concat(Ye,"-content"),"".concat(Ye,"-content-").concat(xe),(0,$.Z)({},"".concat(Ye,"-content-animated"),Rt))},pt.map(function(Ft){var Wt=Ft.key,Lt=Ft.forceRender,un=Ft.style,Jt=Ft.className,dn=Ft.destroyInactiveTabPane,zt=(0,Le.Z)(Ft,_u),Zt=Wt===le;return u.createElement(cr.ZP,(0,k.Z)({key:Wt,visible:Zt,forceRender:Lt,removeOnLeave:!!(Se||dn),leavedClassName:"".concat(ht,"-hidden")},ae.tabPaneMotion),function(Pt,In){var wn=Pt.style,$n=Pt.className;return u.createElement(Uu,(0,k.Z)({},zt,{prefixCls:ht,id:U,tabKey:Wt,animated:Rt,active:Zt,style:(0,Z.Z)((0,Z.Z)({},un),wn),className:d()(Jt,$n),ref:In}))})})))},zu=os;function bs(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},F;return S===!1?F={inkBar:!1,tabPane:!1}:S===!0?F={inkBar:!0,tabPane:!1}:F=(0,Z.Z)({inkBar:!0},(0,lt.Z)(S)==="object"?S:{}),F.tabPaneMotion&&F.tabPane===void 0&&(F.tabPane=!0),!F.tabPaneMotion&&F.tabPane&&(F.tabPane=!1),F}var $s=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize","indicatorAlign"],wu=0,tu=u.forwardRef(function(S,F){var U,le=S.id,ae=S.prefixCls,xe=ae===void 0?"rc-tabs":ae,Se=S.className,je=S.items,Ye=S.direction,pt=S.activeKey,Rt=S.defaultActiveKey,ht=S.editable,Ft=S.animated,Wt=S.tabPosition,Lt=Wt===void 0?"top":Wt,un=S.tabBarGutter,Jt=S.tabBarStyle,dn=S.tabBarExtraContent,zt=S.locale,Zt=S.moreIcon,Pt=S.moreTransitionName,In=S.destroyInactiveTabPane,wn=S.renderTabBar,$n=S.onChange,hn=S.onTabClick,fn=S.onTabScroll,rn=S.getPopupContainer,Dn=S.popupClassName,Nn=S.indicatorSize,En=S.indicatorAlign,Zn=En===void 0?"center":En,fr=(0,Le.Z)(S,$s),Un=u.useMemo(function(){return(je||[]).filter(function(pr){return pr&&(0,lt.Z)(pr)==="object"&&"key"in pr})},[je]),tr=Ye==="rtl",Xn=bs(Ft),Ir=(0,u.useState)(!1),qn=(0,ge.Z)(Ir,2),$r=qn[0],Jn=qn[1];(0,u.useEffect)(function(){Jn(an())},[]);var ir=(0,Dt.Z)(function(){var pr;return(pr=Un[0])===null||pr===void 0?void 0:pr.key},{value:pt,defaultValue:Rt}),xr=(0,ge.Z)(ir,2),Sr=xr[0],br=xr[1],rr=(0,u.useState)(function(){return Un.findIndex(function(pr){return pr.key===Sr})}),Wn=(0,ge.Z)(rr,2),Lr=Wn[0],ra=Wn[1];(0,u.useEffect)(function(){var pr=Un.findIndex(function(Ra){return Ra.key===Sr});if(pr===-1){var vr;pr=Math.max(0,Math.min(Lr,Un.length-1)),br((vr=Un[pr])===null||vr===void 0?void 0:vr.key)}ra(pr)},[Un.map(function(pr){return pr.key}).join("_"),Sr,Lr]);var yr=(0,Dt.Z)(null,{value:le}),Hr=(0,ge.Z)(yr,2),Aa=Hr[0],aa=Hr[1];(0,u.useEffect)(function(){le||(aa("rc-tabs-".concat(wu)),wu+=1)},[]);function Ca(pr,vr){hn==null||hn(pr,vr);var Ra=pr!==Sr;br(pr),Ra&&($n==null||$n(pr))}var la={id:Aa,activeKey:Sr,animated:Xn,tabPosition:Lt,rtl:tr,mobile:$r},Ta=(0,Z.Z)((0,Z.Z)({},la),{},{editable:ht,locale:zt,moreIcon:Zt,moreTransitionName:Pt,tabBarGutter:un,onTabClick:Ca,onTabScroll:fn,extra:dn,style:Jt,panes:null,getPopupContainer:rn,popupClassName:Dn,indicatorSize:Nn,indicatorAlign:Zn});return u.createElement(sn.Provider,{value:{tabs:Un,prefixCls:xe}},u.createElement("div",(0,k.Z)({ref:F,id:le,className:d()(xe,"".concat(xe,"-").concat(Lt),(U={},(0,$.Z)(U,"".concat(xe,"-mobile"),$r),(0,$.Z)(U,"".concat(xe,"-editable"),ht),(0,$.Z)(U,"".concat(xe,"-rtl"),tr),U),Se)},fr),u.createElement(vl,(0,k.Z)({},Ta,{renderTabBar:wn})),u.createElement(zu,(0,k.Z)({destroyInactiveTabPane:In},la,{animated:Xn}))))}),xa=tu,va=xa;function Qo(S,F){return Mo(S)||Hu(S,F)||Do(S,F)||mo()}function mo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Do(S,F){if(S){if(typeof S=="string")return nu(S,F);var U=Object.prototype.toString.call(S).slice(8,-1);if(U==="Object"&&S.constructor&&(U=S.constructor.name),U==="Map"||U==="Set")return Array.from(S);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return nu(S,F)}}function nu(S,F){(F==null||F>S.length)&&(F=S.length);for(var U=0,le=new Array(F);UMe in G?v(G,Me,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):G[Me]=Qe,x=(G,Me)=>{for(var Qe in Me||(Me={}))u.call(Me,Qe)&&l(G,Qe,Me[Qe]);if(y)for(var Qe of y(Me))h.call(Me,Qe)&&l(G,Qe,Me[Qe]);return G};const g=G=>d.createElement("svg",x({viewBox:"64 64 896 896"},G),d.createElement("path",{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2 263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}));var E="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODMyIDY0SDI5NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg0OTZ2Njg4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LThWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6TTcwNCAxOTJIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1MzAuN2MwIDguNSAzLjQgMTYuNiA5LjQgMjIuNmwxNzMuMyAxNzMuM2MyLjIgMi4yIDQuNyA0IDcuNCA1LjV2MS45aDQuMmMzLjUgMS4zIDcuMiAyIDExIDJINzA0YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIyNGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNMzUwIDg1Ni4yIDI2My45IDc3MEgzNTB2ODYuMnpNNjY0IDg4OEg0MTRWNzQ2YzAtMjIuMS0xNy45LTQwLTQwLTQwSDIzMlYyNjRoNDMydjYyNHoiLz48L3N2Zz4=",P=e(5602),T=e.n(P),w=e(54996);function j(G){var Me,Qe,Ct="";if(typeof G=="string"||typeof G=="number")Ct+=G;else if(typeof G=="object")if(Array.isArray(G)){var jt=G.length;for(Me=0;MeMe in G?R(G,Me,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):G[Me]=Qe,Ke=(G,Me)=>{for(var Qe in Me||(Me={}))Re.call(Me,Qe)&&Ve(G,Qe,Me[Qe]);if(Ie)for(var Qe of Ie(Me))We.call(Me,Qe)&&Ve(G,Qe,Me[Qe]);return G},Y=(G,Me)=>z(G,q(Me)),re=(G,Me)=>{var Qe={};for(var Ct in G)Re.call(G,Ct)&&Me.indexOf(Ct)<0&&(Qe[Ct]=G[Ct]);if(G!=null&&Ie)for(var Ct of Ie(G))Me.indexOf(Ct)<0&&We.call(G,Ct)&&(Qe[Ct]=G[Ct]);return Qe},oe=(G,Me)=>function(){return Me||(0,G[X(G)[0]])((Me={exports:{}}).exports,Me),Me.exports},C=(G,Me)=>{for(var Qe in Me)R(G,Qe,{get:Me[Qe],enumerable:!0})},N=(G,Me,Qe,Ct)=>{if(Me&&typeof Me=="object"||typeof Me=="function")for(let jt of X(Me))!Re.call(G,jt)&&jt!==Qe&&R(G,jt,{get:()=>Me[jt],enumerable:!(Ct=K(Me,jt))||Ct.enumerable});return G},Q=(G,Me,Qe)=>(Qe=G!=null?A(De(G)):{},N(Me||!G||!G.__esModule?R(Qe,"default",{value:G,enumerable:!0}):Qe,G)),fe=oe({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(G,Me){var Qe=function(){var Ct=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,jt=0,mn={},tn={util:{encode:function _t(It){return It instanceof ln?new ln(It.type,_t(It.content),It.alias):Array.isArray(It)?It.map(_t):It.replace(/&/g,"&").replace(/"+Xt.content+""};function gn(_t,It,Ut,qt){_t.lastIndex=It;var Xt=_t.exec(Ut);if(Xt&&qt&&Xt[1]){var vn=Xt[1].length;Xt.index+=vn,Xt[0]=Xt[0].slice(vn)}return Xt}function cn(_t,It,Ut,qt,Xt,vn){for(var or in Ut)if(!(!Ut.hasOwnProperty(or)||!Ut[or])){var cr=Ut[or];cr=Array.isArray(cr)?cr:[cr];for(var Vr=0;Vr=vn.reach);sa+=hr.value.length,hr=hr.next){var Ma=hr.value;if(It.length>_t.length)return;if(!(Ma instanceof ln)){var Or=1,Ga;if(Na){if(Ga=gn(pa,sa,_t,Sa),!Ga||Ga.index>=_t.length)break;var Ao=Ga.index,Pi=Ga.index+Ga[0].length,xo=sa;for(xo+=hr.value.length;Ao>=xo;)hr=hr.next,xo+=hr.value.length;if(xo-=hr.value.length,sa=xo,hr.value instanceof ln)continue;for(var Zo=hr;Zo!==It.tail&&(xovn.reach&&(vn.reach=io);var vo=hr.prev;po&&(vo=pn(It,vo,po),sa+=po.length),ar(It,vo,Or);var To=new ln(or,zr?tn.tokenize(Co,zr):Co,Da,Co);if(hr=pn(It,vo,To),oo&&pn(It,hr,oo),Or>1){var uo={cause:or+","+Vr,reach:io};cn(_t,It,Ut,hr.prev,sa,uo),vn&&uo.reach>vn.reach&&(vn.reach=uo.reach)}}}}}}function Tn(){var _t={value:null,prev:null,next:null},It={value:null,prev:_t,next:null};_t.next=It,this.head=_t,this.tail=It,this.length=0}function pn(_t,It,Ut){var qt=It.next,Xt={value:Ut,prev:It,next:qt};return It.next=Xt,qt.prev=Xt,_t.length++,Xt}function ar(_t,It,Ut){for(var qt=It.next,Xt=0;Xt/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},k.languages.markup.tag.inside["attr-value"].inside.entity=k.languages.markup.entity,k.languages.markup.doctype.inside["internal-subset"].inside=k.languages.markup,k.hooks.add("wrap",function(G){G.type==="entity"&&(G.attributes.title=G.content.replace(/&/,"&"))}),Object.defineProperty(k.languages.markup.tag,"addInlined",{value:function(G,Ct){var Qe={},Qe=(Qe["language-"+Ct]={pattern:/(^$)/i,lookbehind:!0,inside:k.languages[Ct]},Qe.cdata=/^$/i,{"included-cdata":{pattern://i,inside:Qe}}),Ct=(Qe["language-"+Ct]={pattern:/[\s\S]+/,inside:k.languages[Ct]},{});Ct[G]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return G}),"i"),lookbehind:!0,greedy:!0,inside:Qe},k.languages.insertBefore("markup","cdata",Ct)}}),Object.defineProperty(k.languages.markup.tag,"addAttribute",{value:function(G,Me){k.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+G+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[Me,"language-"+Me],inside:k.languages[Me]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),k.languages.html=k.languages.markup,k.languages.mathml=k.languages.markup,k.languages.svg=k.languages.markup,k.languages.xml=k.languages.extend("markup",{}),k.languages.ssml=k.languages.xml,k.languages.atom=k.languages.xml,k.languages.rss=k.languages.xml,function(G){var Me={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},Qe=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,Ct="(?:[^\\\\-]|"+Qe.source+")",Ct=RegExp(Ct+"-"+Ct),jt={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};G.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:Ct,inside:{escape:Qe,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":Me,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:Qe}},"special-escape":Me,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":jt}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:Qe,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},k.languages.javascript=k.languages.extend("clike",{"class-name":[k.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),k.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,k.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:k.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:k.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:k.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:k.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:k.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),k.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:k.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),k.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),k.languages.markup&&(k.languages.markup.tag.addInlined("script","javascript"),k.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),k.languages.js=k.languages.javascript,k.languages.actionscript=k.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),k.languages.actionscript["class-name"].alias="function",delete k.languages.actionscript.parameter,delete k.languages.actionscript["literal-property"],k.languages.markup&&k.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:k.languages.markup}}),function(G){var Me=/#(?!\{).+/,Qe={pattern:/#\{[^}]+\}/,alias:"variable"};G.languages.coffeescript=G.languages.extend("javascript",{comment:Me,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:Qe}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),G.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:Me,interpolation:Qe}}}),G.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:G.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:Qe}}]}),G.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete G.languages.coffeescript["template-string"],G.languages.coffee=G.languages.coffeescript}(k),function(G){var Me=G.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(Me,"addSupport",{value:function(Qe,Ct){(Qe=typeof Qe=="string"?[Qe]:Qe).forEach(function(jt){var mn=function(pn){pn.inside||(pn.inside={}),pn.inside.rest=Ct},tn="doc-comment";if(ln=G.languages[jt]){var ln,gn=ln[tn];if((gn=gn||(ln=G.languages.insertBefore(jt,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[tn])instanceof RegExp&&(gn=ln[tn]={pattern:gn}),Array.isArray(gn))for(var cn=0,Tn=gn.length;cn|\+|~|\|\|/,punctuation:/[(),]/}},G.languages.css.atrule.inside["selector-function-argument"].inside=Me,G.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),Qe={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};G.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:Me,number:Qe,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:Me,number:Qe})}(k),function(G){var Me=/[*&][^\s[\]{},]+/,Qe=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,Ct="(?:"+Qe.source+"(?:[ ]+"+Me.source+")?|"+Me.source+"(?:[ ]+"+Qe.source+")?)",jt=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),mn=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function tn(ln,gn){gn=(gn||"").replace(/m/g,"")+"m";var cn=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return Ct}).replace(/<>/g,function(){return ln});return RegExp(cn,gn)}G.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return Ct})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return Ct}).replace(/<>/g,function(){return"(?:"+jt+"|"+mn+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:tn(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:tn(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:tn(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:tn(mn),lookbehind:!0,greedy:!0},number:{pattern:tn(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:Qe,important:Me,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},G.languages.yml=G.languages.yaml}(k),function(G){var Me=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function Qe(cn){return cn=cn.replace(//g,function(){return Me}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+cn+")")}var Ct=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,jt=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return Ct}),mn=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,tn=(G.languages.markdown=G.languages.extend("markup",{}),G.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:G.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+jt+mn+"(?:"+jt+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+jt+mn+")(?:"+jt+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(Ct),inside:G.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+jt+")"+mn+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+jt+"$"),inside:{"table-header":{pattern:RegExp(Ct),alias:"important",inside:G.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:Qe(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:Qe(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:Qe(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:Qe(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(cn){["url","bold","italic","strike","code-snippet"].forEach(function(Tn){cn!==Tn&&(G.languages.markdown[cn].inside.content.inside[Tn]=G.languages.markdown[Tn])})}),G.hooks.add("after-tokenize",function(cn){cn.language!=="markdown"&&cn.language!=="md"||function Tn(pn){if(pn&&typeof pn!="string")for(var ar=0,wr=pn.length;ar",quot:'"'},gn=String.fromCodePoint||String.fromCharCode;G.languages.md=G.languages.markdown}(k),k.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:k.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},k.hooks.add("after-tokenize",function(G){if(G.language==="graphql")for(var Me=G.tokens.filter(function(_t){return typeof _t!="string"&&_t.type!=="comment"&&_t.type!=="scalar"}),Qe=0;Qe?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(G){var Me=G.languages.javascript["template-string"],Qe=Me.pattern.source,Ct=Me.inside.interpolation,jt=Ct.inside["interpolation-punctuation"],mn=Ct.pattern.source;function tn(pn,ar){if(G.languages[pn])return{pattern:RegExp("((?:"+ar+")\\s*)"+Qe),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:pn}}}}function ln(pn,ar,wr){return pn={code:pn,grammar:ar,language:wr},G.hooks.run("before-tokenize",pn),pn.tokens=G.tokenize(pn.code,pn.grammar),G.hooks.run("after-tokenize",pn),pn.tokens}function gn(pn,ar,wr){var Ut=G.tokenize(pn,{interpolation:{pattern:RegExp(mn),lookbehind:!0}}),_t=0,It={},Ut=ln(Ut.map(function(Xt){if(typeof Xt=="string")return Xt;for(var vn,or,Xt=Xt.content;pn.indexOf((or=_t++,vn="___"+wr.toUpperCase()+"_"+or+"___"))!==-1;);return It[vn]=Xt,vn}).join(""),ar,wr),qt=Object.keys(It);return _t=0,function Xt(vn){for(var or=0;or=qt.length)return;var cr,Vr,jr,zr,Sa,Na,Da,Fr=vn[or];typeof Fr=="string"||typeof Fr.content=="string"?(cr=qt[_t],(Da=(Na=typeof Fr=="string"?Fr:Fr.content).indexOf(cr))!==-1&&(++_t,Vr=Na.substring(0,Da),Sa=It[cr],jr=void 0,(zr={})["interpolation-punctuation"]=jt,(zr=G.tokenize(Sa,zr)).length===3&&((jr=[1,1]).push.apply(jr,ln(zr[1],G.languages.javascript,"javascript")),zr.splice.apply(zr,jr)),jr=new G.Token("interpolation",zr,Ct.alias,Sa),zr=Na.substring(Da+cr.length),Sa=[],Vr&&Sa.push(Vr),Sa.push(jr),zr&&(Xt(Na=[zr]),Sa.push.apply(Sa,Na)),typeof Fr=="string"?(vn.splice.apply(vn,[or,1].concat(Sa)),or+=Sa.length-1):Fr.content=Sa)):(Da=Fr.content,Array.isArray(Da)?Xt(Da):Xt([Da]))}}(Ut),new G.Token(wr,Ut,"language-"+wr,pn)}G.languages.javascript["template-string"]=[tn("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),tn("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),tn("svg",/\bsvg/.source),tn("markdown",/\b(?:markdown|md)/.source),tn("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),tn("sql",/\bsql/.source),Me].filter(Boolean);var cn={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function Tn(pn){return typeof pn=="string"?pn:Array.isArray(pn)?pn.map(Tn).join(""):Tn(pn.content)}G.hooks.add("after-tokenize",function(pn){pn.language in cn&&function ar(wr){for(var _t=0,It=wr.length;_t]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),G.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete G.languages.typescript.parameter,delete G.languages.typescript["literal-property"];var Me=G.languages.extend("typescript",{});delete Me["class-name"],G.languages.typescript["class-name"].inside=Me,G.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:Me}}}}),G.languages.ts=G.languages.typescript}(k),function(G){var Me=G.languages.javascript,Qe=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,Ct="(@(?:arg|argument|param|property)\\s+(?:"+Qe+"\\s+)?)";G.languages.jsdoc=G.languages.extend("javadoclike",{parameter:{pattern:RegExp(Ct+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),G.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(Ct+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:Me,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return Qe})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+Qe),lookbehind:!0,inside:{string:Me.string,number:Me.number,boolean:Me.boolean,keyword:G.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:Me,alias:"language-javascript"}}}}),G.languages.javadoclike.addSupport("javascript",G.languages.jsdoc)}(k),function(G){G.languages.flow=G.languages.extend("javascript",{}),G.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),G.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete G.languages.flow.parameter,G.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(G.languages.flow.keyword)||(G.languages.flow.keyword=[G.languages.flow.keyword]),G.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(k),k.languages.n4js=k.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),k.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),k.languages.n4jsd=k.languages.n4js,function(G){function Me(tn,ln){return RegExp(tn.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),ln)}G.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+G.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),G.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+G.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),G.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),G.languages.insertBefore("javascript","keyword",{imports:{pattern:Me(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:G.languages.javascript},exports:{pattern:Me(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:G.languages.javascript}}),G.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),G.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),G.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:Me(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var Qe=["function","function-variable","method","method-variable","property-access"],Ct=0;Ct*\.{3}(?:[^{}]|)*\})/.source;function mn(gn,cn){return gn=gn.replace(//g,function(){return Qe}).replace(//g,function(){return Ct}).replace(//g,function(){return jt}),RegExp(gn,cn)}jt=mn(jt).source,G.languages.jsx=G.languages.extend("markup",Me),G.languages.jsx.tag.pattern=mn(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),G.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,G.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,G.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,G.languages.jsx.tag.inside.comment=Me.comment,G.languages.insertBefore("inside","attr-name",{spread:{pattern:mn(//.source),inside:G.languages.jsx}},G.languages.jsx.tag),G.languages.insertBefore("inside","special-attr",{script:{pattern:mn(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:G.languages.jsx}}},G.languages.jsx.tag);function tn(gn){for(var cn=[],Tn=0;Tn"&&cn.push({tagName:ln(pn.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},k.languages.swift["string-literal"].forEach(function(G){G.inside.interpolation.inside=k.languages.swift}),function(G){G.languages.kotlin=G.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete G.languages.kotlin["class-name"];var Me={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:G.languages.kotlin}};G.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:Me},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:Me},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete G.languages.kotlin.string,G.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),G.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),G.languages.kt=G.languages.kotlin,G.languages.kts=G.languages.kotlin}(k),k.languages.c=k.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),k.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),k.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},k.languages.c.string],char:k.languages.c.char,comment:k.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:k.languages.c}}}}),k.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete k.languages.c.boolean,k.languages.objectivec=k.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete k.languages.objectivec["class-name"],k.languages.objc=k.languages.objectivec,k.languages.reason=k.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),k.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete k.languages.reason.function,function(G){for(var Me=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,Qe=0;Qe<2;Qe++)Me=Me.replace(//g,function(){return Me});Me=Me.replace(//g,function(){return/[^\s\S]/.source}),G.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+Me),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},G.languages.rust["closure-params"].inside.rest=G.languages.rust,G.languages.rust.attribute.inside.string=G.languages.rust.string}(k),k.languages.go=k.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),k.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete k.languages.go["class-name"],function(G){var Me=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,Qe=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return Me.source});G.languages.cpp=G.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return Me.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:Me,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),G.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return Qe})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),G.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:G.languages.cpp}}}}),G.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),G.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:G.languages.extend("cpp",{})}}),G.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},G.languages.cpp["base-clause"])}(k),k.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},k.languages.python["string-interpolation"].inside.interpolation.inside.rest=k.languages.python,k.languages.py=k.languages.python;var $={};C($,{dracula:()=>ge,duotoneDark:()=>Le,duotoneLight:()=>an,github:()=>Rn,jettwaveDark:()=>Ne,jettwaveLight:()=>ut,nightOwl:()=>Fn,nightOwlLight:()=>xt,oceanicNext:()=>Ht,okaidia:()=>$e,oneDark:()=>mt,oneLight:()=>kt,palenight:()=>Ee,shadesOfPurple:()=>tt,synthwave84:()=>de,ultramin:()=>st,vsDark:()=>bt,vsLight:()=>V});var Z={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},ge=Z,lt={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},Le=lt,Dt={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},an=Dt,sn={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},Rn=sn,An={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Fn=An,Xe={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},xt=Xe,vt={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},ot={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:vt.keyword}},{types:["attr-value"],style:{color:vt.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:vt.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:vt.primitive}},{types:["boolean"],style:{color:vt.boolean}},{types:["tag"],style:{color:vt.tag}},{types:["string"],style:{color:vt.string}},{types:["punctuation"],style:{color:vt.string}},{types:["selector","char","builtin","inserted"],style:{color:vt.char}},{types:["function"],style:{color:vt.function}},{types:["operator","entity","url","variable"],style:{color:vt.variable}},{types:["keyword"],style:{color:vt.keyword}},{types:["atrule","class-name"],style:{color:vt.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},Ht=ot,ke={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},$e=ke,qe={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},Ee=qe,Pe={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},tt=Pe,nt={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},de=nt,Ue={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},st=Ue,Je={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},bt=Je,I={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},V=I,we={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Ne=we,et={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ut=et,ze={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},mt=ze,Et={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},kt=Et,Mt=(G,Me)=>{const{plain:Qe}=G,Ct=G.styles.reduce((jt,mn)=>{const{languages:tn,style:ln}=mn;return tn&&!tn.includes(Me)||mn.types.forEach(gn=>{const cn=Ke(Ke({},jt[gn]),ln);jt[gn]=cn}),jt},{});return Ct.root=Qe,Ct.plain=Y(Ke({},Qe),{backgroundColor:void 0}),Ct},Te=Mt,gt=(G,Me)=>{const[Qe,Ct]=(0,d.useState)(Te(Me,G)),jt=(0,d.useRef)(),mn=(0,d.useRef)();return(0,d.useEffect)(()=>{(Me!==jt.current||G!==mn.current)&&(jt.current=Me,mn.current=G,Ct(Te(Me,G)))},[G,Me]),Qe},at=G=>(0,d.useCallback)(Me=>{var Qe=Me,{className:Ct,style:jt,line:mn}=Qe,tn=re(Qe,["className","style","line"]);const ln=Y(Ke({},tn),{className:B("token-line",Ct)});return typeof G=="object"&&"plain"in G&&(ln.style=G.plain),typeof jt=="object"&&(ln.style=Ke(Ke({},ln.style||{}),jt)),ln},[G]),He=G=>{const Me=(0,d.useCallback)(({types:Qe,empty:Ct})=>{if(G!=null){{if(Qe.length===1&&Qe[0]==="plain")return Ct!=null?{display:"inline-block"}:void 0;if(Qe.length===1&&Ct!=null)return G[Qe[0]]}return Object.assign(Ct!=null?{display:"inline-block"}:{},...Qe.map(jt=>G[jt]))}},[G]);return(0,d.useCallback)(Qe=>{var Ct=Qe,{token:jt,className:mn,style:tn}=Ct,ln=re(Ct,["token","className","style"]);const gn=Y(Ke({},ln),{className:B("token",...jt.types,mn),children:jt.content,style:Me(jt)});return tn!=null&&(gn.style=Ke(Ke({},gn.style||{}),tn)),gn},[Me])},St=/\r\n|\r|\n/,At=G=>{G.length===0?G.push({types:["plain"],content:` +}`),re)}else Gr(re);return function(){Gr(re)}},[F,re])}var tn=!1;function ln(S){return typeof S=="boolean"&&(tn=S),tn}var gn=function(F){return F===!1?!1:!(0,kt.Z)()||!F?null:typeof F=="string"?document.querySelector(F):typeof F=="function"?F():F},cn=u.forwardRef(function(S,F){var U=S.open,se=S.autoLock,re=S.getContainer,xe=S.debug,Se=S.autoDestroy,je=Se===void 0?!0:Se,Ye=S.children,pt=u.useState(U),Rt=(0,ye.Z)(pt,2),ht=Rt[0],Ft=Rt[1],Wt=ht||U;u.useEffect(function(){(je||U)&&Ft(U)},[U,je]);var Lt=u.useState(function(){return gn(re)}),un=(0,ye.Z)(Lt,2),Jt=un[0],dn=un[1];u.useEffect(function(){var Nn=gn(re);dn(Nn!=null?Nn:null)});var zt=He(Wt&&!Jt,xe),Zt=(0,ye.Z)(zt,2),Pt=Zt[0],In=Zt[1],wn=Jt!=null?Jt:Pt;mn(se&&U&&(0,kt.Z)()&&(wn===Pt||wn===document.body));var $n=null;if(Ye&&(0,Xe.Yr)(Ye)&&F){var hn=Ye;$n=hn.ref}var fn=(0,Xe.x1)($n,F);if(!Wt||!(0,kt.Z)()||Jt===void 0)return null;var rn=wn===!1||ln(),Dn=Ye;return F&&(Dn=u.cloneElement(Ye,{ref:fn})),u.createElement(gt.Provider,{value:In},rn?Dn:(0,Et.createPortal)(Dn,wn))}),Tn=cn,pn=Tn,ar=e(26726);function wr(S){var F;return S==null||(F=S.getRootNode)===null||F===void 0?void 0:F.call(S)}function _t(S){return wr(S)instanceof ShadowRoot}function It(S){return _t(S)?wr(S):null}function Ut(){var S=(0,Z.Z)({},h);return S.useId}var qt=0;function Xt(){}var vn=Ut(),or=vn?function(F){var U=vn();return F||U}:function(F){var U=u.useState("ssr-id"),se=(0,ye.Z)(U,2),re=se[0],xe=se[1];return u.useEffect(function(){var Se=qt;qt+=1,xe("rc_unique_".concat(Se))},[]),F||re},cr=e(71755);function Vr(S){var F=S.prefixCls,U=S.align,se=S.arrow,re=S.arrowPos,xe=se||{},Se=xe.className,je=xe.content,Ye=re.x,pt=Ye===void 0?0:Ye,Rt=re.y,ht=Rt===void 0?0:Rt,Ft=u.useRef();if(!U||!U.points)return null;var Wt={position:"absolute"};if(U.autoArrow!==!1){var Lt=U.points[0],un=U.points[1],Jt=Lt[0],dn=Lt[1],zt=un[0],Zt=un[1];Jt===zt||!["t","b"].includes(Jt)?Wt.top=ht:Jt==="t"?Wt.top=0:Wt.bottom=0,dn===Zt||!["l","r"].includes(dn)?Wt.left=pt:dn==="l"?Wt.left=0:Wt.right=0}return u.createElement("div",{ref:Ft,className:d()("".concat(F,"-arrow"),Se),style:Wt},je)}function jr(S){var F=S.prefixCls,U=S.open,se=S.zIndex,re=S.mask,xe=S.motion;return re?u.createElement(cr.ZP,(0,k.Z)({},xe,{motionAppear:!0,visible:U,removeOnLeave:!0}),function(Se){var je=Se.className;return u.createElement("div",{style:{zIndex:se},className:d()("".concat(F,"-mask"),je)})}):null}var zr=u.memo(function(S){var F=S.children;return F},function(S,F){return F.cache}),Sa=zr,Na=u.forwardRef(function(S,F){var U=S.popup,se=S.className,re=S.prefixCls,xe=S.style,Se=S.target,je=S.onVisibleChanged,Ye=S.open,pt=S.keepDom,Rt=S.fresh,ht=S.onClick,Ft=S.mask,Wt=S.arrow,Lt=S.arrowPos,un=S.align,Jt=S.motion,dn=S.maskMotion,zt=S.forceRender,Zt=S.getPopupContainer,Pt=S.autoDestroy,In=S.portal,wn=S.zIndex,$n=S.onMouseEnter,hn=S.onMouseLeave,fn=S.onPointerEnter,rn=S.ready,Dn=S.offsetX,Nn=S.offsetY,En=S.offsetR,Zn=S.offsetB,fr=S.onAlign,Un=S.onPrepare,tr=S.stretch,Xn=S.targetWidth,Ir=S.targetHeight,qn=typeof U=="function"?U():U,$r=Ye||pt,Jn=(Zt==null?void 0:Zt.length)>0,ir=u.useState(!Zt||!Jn),xr=(0,ye.Z)(ir,2),Sr=xr[0],br=xr[1];if((0,ce.Z)(function(){!Sr&&Jn&&Se&&br(!0)},[Sr,Jn,Se]),!Sr)return null;var rr="auto",Wn={left:"-1000vw",top:"-1000vh",right:rr,bottom:rr};if(rn||!Ye){var Lr,ra=un.points,yr=un.dynamicInset||((Lr=un._experimental)===null||Lr===void 0?void 0:Lr.dynamicInset),Hr=yr&&ra[0][1]==="r",Aa=yr&&ra[0][0]==="b";Hr?(Wn.right=En,Wn.left=rr):(Wn.left=Dn,Wn.right=rr),Aa?(Wn.bottom=Zn,Wn.top=rr):(Wn.top=Nn,Wn.bottom=rr)}var aa={};return tr&&(tr.includes("height")&&Ir?aa.height=Ir:tr.includes("minHeight")&&Ir&&(aa.minHeight=Ir),tr.includes("width")&&Xn?aa.width=Xn:tr.includes("minWidth")&&Xn&&(aa.minWidth=Xn)),Ye||(aa.pointerEvents="none"),u.createElement(In,{open:zt||$r,getContainer:Zt&&function(){return Zt(Se)},autoDestroy:Pt},u.createElement(jr,{prefixCls:re,open:Ye,zIndex:wn,mask:Ft,motion:dn}),u.createElement(An.Z,{onResize:fr,disabled:!Ye},function(Ca){return u.createElement(cr.ZP,(0,k.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:zt,leavedClassName:"".concat(re,"-hidden")},Jt,{onAppearPrepare:Un,onEnterPrepare:Un,visible:Ye,onVisibleChanged:function(Ta){var pr;Jt==null||(pr=Jt.onVisibleChanged)===null||pr===void 0||pr.call(Jt,Ta),je(Ta)}}),function(la,Ta){var pr=la.className,vr=la.style,Ra=d()(re,pr,se);return u.createElement("div",{ref:(0,Xe.sQ)(Ca,F,Ta),className:Ra,style:(0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)({"--arrow-x":"".concat(Lt.x||0,"px"),"--arrow-y":"".concat(Lt.y||0,"px")},Wn),aa),vr),{},{boxSizing:"border-box",zIndex:wn},xe),onMouseEnter:$n,onMouseLeave:hn,onPointerEnter:fn,onClick:ht},Wt&&u.createElement(Vr,{prefixCls:re,arrow:Wt,arrowPos:Lt,align:un}),u.createElement(Sa,{cache:!Ye&&!Rt},qn))})}))}),Da=Na,Fr=u.forwardRef(function(S,F){var U=S.children,se=S.getTriggerDOMNode,re=(0,Xe.Yr)(U),xe=u.useCallback(function(je){(0,Xe.mH)(F,se?se(je):je)},[se]),Se=(0,Xe.x1)(xe,U.ref);return re?u.cloneElement(U,{ref:Se}):U}),pa=Fr,hr=u.createContext(null),sa=hr;function Ma(S){return S?Array.isArray(S)?S:[S]:[]}function Or(S,F,U,se){return u.useMemo(function(){var re=Ma(U!=null?U:F),xe=Ma(se!=null?se:F),Se=new Set(re),je=new Set(xe);return S&&(Se.has("hover")&&(Se.delete("hover"),Se.add("click")),je.has("hover")&&(je.delete("hover"),je.add("click"))),[Se,je]},[S,F,U,se])}var Ga=function(S){if(!S)return!1;if(S instanceof Element){if(S.offsetParent)return!0;if(S.getBBox){var F=S.getBBox(),U=F.width,se=F.height;if(U||se)return!0}if(S.getBoundingClientRect){var re=S.getBoundingClientRect(),xe=re.width,Se=re.height;if(xe||Se)return!0}}return!1};function Pi(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],U=arguments.length>2?arguments[2]:void 0;return U?S[0]===F[0]:S[0]===F[0]&&S[1]===F[1]}function xo(S,F,U,se){for(var re=U.points,xe=Object.keys(S),Se=0;Se1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(S)?F:S}function oo(S){return po(parseFloat(S),0)}function io(S,F){var U=(0,Z.Z)({},S);return(F||[]).forEach(function(se){if(!(se instanceof HTMLBodyElement||se instanceof HTMLHtmlElement)){var re=Ao(se).getComputedStyle(se),xe=re.overflow,Se=re.overflowClipMargin,je=re.borderTopWidth,Ye=re.borderBottomWidth,pt=re.borderLeftWidth,Rt=re.borderRightWidth,ht=se.getBoundingClientRect(),Ft=se.offsetHeight,Wt=se.clientHeight,Lt=se.offsetWidth,un=se.clientWidth,Jt=oo(je),dn=oo(Ye),zt=oo(pt),Zt=oo(Rt),Pt=po(Math.round(ht.width/Lt*1e3)/1e3),In=po(Math.round(ht.height/Ft*1e3)/1e3),wn=(Lt-un-zt-Zt)*Pt,$n=(Ft-Wt-Jt-dn)*In,hn=Jt*In,fn=dn*In,rn=zt*Pt,Dn=Zt*Pt,Nn=0,En=0;if(xe==="clip"){var Zn=oo(Se);Nn=Zn*Pt,En=Zn*In}var fr=ht.x+rn-Nn,Un=ht.y+hn-En,tr=fr+ht.width+2*Nn-rn-Dn-wn,Xn=Un+ht.height+2*En-hn-fn-$n;U.left=Math.max(U.left,fr),U.top=Math.max(U.top,Un),U.right=Math.min(U.right,tr),U.bottom=Math.min(U.bottom,Xn)}}),U}function vo(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,U="".concat(F),se=U.match(/^(.*)\%$/);return se?S*(parseFloat(se[1])/100):parseFloat(U)}function To(S,F){var U=F||[],se=(0,ye.Z)(U,2),re=se[0],xe=se[1];return[vo(S.width,re),vo(S.height,xe)]}function uo(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[S[0],S[1]]}function Oo(S,F){var U=F[0],se=F[1],re,xe;return U==="t"?xe=S.y:U==="b"?xe=S.y+S.height:xe=S.y+S.height/2,se==="l"?re=S.x:se==="r"?re=S.x+S.width:re=S.x+S.width/2,{x:re,y:xe}}function qa(S,F){var U={t:"b",b:"t",l:"r",r:"l"};return S.map(function(se,re){return re===F?U[se]||"c":se}).join("")}function ss(S,F,U,se,re,xe,Se){var je=u.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:re[se]||{}}),Ye=(0,ye.Z)(je,2),pt=Ye[0],Rt=Ye[1],ht=u.useRef(0),Ft=u.useMemo(function(){return F?Co(F):[]},[F]),Wt=u.useRef({}),Lt=function(){Wt.current={}};S||Lt();var un=(0,Fn.Z)(function(){if(F&&U&&S){let ge=function(ve,be){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ra,Ce=qn.x+ve,Ze=qn.y+be,Oe=Ce+Lr,rt=Ze+Wn,Nt=Math.max(Ce,Ae.left),Yt=Math.max(Ze,Ae.top),_n=Math.min(Oe,Ae.right),Wr=Math.min(rt,Ae.bottom);return Math.max(0,(_n-Nt)*(Wr-Yt))},de=function(){da=qn.y+ur,La=da+Wn,ho=qn.x+Zr,Ur=ho+Lr};var zt,Zt,Pt=F,In=Pt.ownerDocument,wn=Ao(Pt),$n=wn.getComputedStyle(Pt),hn=$n.width,fn=$n.height,rn=$n.position,Dn=Pt.style.left,Nn=Pt.style.top,En=Pt.style.right,Zn=Pt.style.bottom,fr=Pt.style.overflow,Un=(0,Z.Z)((0,Z.Z)({},re[se]),xe),tr=In.createElement("div");(zt=Pt.parentElement)===null||zt===void 0||zt.appendChild(tr),tr.style.left="".concat(Pt.offsetLeft,"px"),tr.style.top="".concat(Pt.offsetTop,"px"),tr.style.position=rn,tr.style.height="".concat(Pt.offsetHeight,"px"),tr.style.width="".concat(Pt.offsetWidth,"px"),Pt.style.left="0",Pt.style.top="0",Pt.style.right="auto",Pt.style.bottom="auto",Pt.style.overflow="hidden";var Xn;if(Array.isArray(U))Xn={x:U[0],y:U[1],width:0,height:0};else{var Ir=U.getBoundingClientRect();Xn={x:Ir.x,y:Ir.y,width:Ir.width,height:Ir.height}}var qn=Pt.getBoundingClientRect(),$r=In.documentElement,Jn=$r.clientWidth,ir=$r.clientHeight,xr=$r.scrollWidth,Sr=$r.scrollHeight,br=$r.scrollTop,rr=$r.scrollLeft,Wn=qn.height,Lr=qn.width,ra=Xn.height,yr=Xn.width,Hr={left:0,top:0,right:Jn,bottom:ir},Aa={left:-rr,top:-br,right:xr-rr,bottom:Sr-br},aa=Un.htmlRegion,Ca="visible",la="visibleFirst";aa!=="scroll"&&aa!==la&&(aa=Ca);var Ta=aa===la,pr=io(Aa,Ft),vr=io(Hr,Ft),Ra=aa===Ca?vr:pr,Ba=Ta?vr:Ra;Pt.style.left="auto",Pt.style.top="auto",Pt.style.right="0",Pt.style.bottom="0";var lo=Pt.getBoundingClientRect();Pt.style.left=Dn,Pt.style.top=Nn,Pt.style.right=En,Pt.style.bottom=Zn,Pt.style.overflow=fr,(Zt=Pt.parentElement)===null||Zt===void 0||Zt.removeChild(tr);var oa=po(Math.round(Lr/parseFloat(hn)*1e3)/1e3),Oa=po(Math.round(Wn/parseFloat(fn)*1e3)/1e3);if(oa===0||Oa===0||(0,ar.S)(U)&&!Ga(U))return;var Ha=Un.offset,Qr=Un.targetOffset,Ro=To(qn,Ha),qr=(0,ye.Z)(Ro,2),ia=qr[0],Nr=qr[1],Ar=To(Xn,Qr),Za=(0,ye.Z)(Ar,2),Xr=Za[0],Ya=Za[1];Xn.x-=Xr,Xn.y-=Ya;var $a=Un.points||[],Mr=(0,ye.Z)($a,2),ca=Mr[0],So=Mr[1],_r=uo(So),ba=uo(ca),co=Oo(Xn,_r),Lo=Oo(qn,ba),Ua=(0,Z.Z)({},Un),Zr=co.x-Lo.x+ia,ur=co.y-Lo.y+Nr,Er=ge(Zr,ur),Sn=ge(Zr,ur,vr),Mn=Oo(Xn,["t","l"]),Kr=Oo(qn,["t","l"]),Pa=Oo(Xn,["b","r"]),Wa=Oo(qn,["b","r"]),Qa=Un.overflow||{},za=Qa.adjustX,Si=Qa.adjustY,No=Qa.shiftX,ro=Qa.shiftY,Xa=function(be){return typeof be=="boolean"?be:be>=0},da,La,ho,Ur;de();var gr=Xa(Si),ea=ba[0]===_r[0];if(gr&&ba[0]==="t"&&(La>Ba.bottom||Wt.current.bt)){var ka=ur;ea?ka-=Wn-ra:ka=Mn.y-Wa.y-Nr;var Ja=ge(Zr,ka),_o=ge(Zr,ka,vr);Ja>Er||Ja===Er&&(!Ta||_o>=Sn)?(Wt.current.bt=!0,ur=ka,Nr=-Nr,Ua.points=[qa(ba,0),qa(_r,0)]):Wt.current.bt=!1}if(gr&&ba[0]==="b"&&(daEr||_i===Er&&(!Ta||ru>=Sn)?(Wt.current.tb=!0,ur=Ea,Nr=-Nr,Ua.points=[qa(ba,0),qa(_r,0)]):Wt.current.tb=!1}var yo=Xa(za),Uo=ba[1]===_r[1];if(yo&&ba[1]==="l"&&(Ur>Ba.right||Wt.current.rl)){var go=Zr;Uo?go-=Lr-yr:go=Mn.x-Wa.x-ia;var ci=ge(go,ur),au=ge(go,ur,vr);ci>Er||ci===Er&&(!Ta||au>=Sn)?(Wt.current.rl=!0,Zr=go,ia=-ia,Ua.points=[qa(ba,1),qa(_r,1)]):Wt.current.rl=!1}if(yo&&ba[1]==="r"&&(hoEr||ou===Er&&(!Ta||Xo>=Sn)?(Wt.current.lr=!0,Zr=di,ia=-ia,Ua.points=[qa(ba,1),qa(_r,1)]):Wt.current.lr=!1}de();var Jo=No===!0?0:No;typeof Jo=="number"&&(hovr.right&&(Zr-=Ur-vr.right-ia,Xn.x>vr.right-Jo&&(Zr+=Xn.x-vr.right+Jo)));var wi=ro===!0?0:ro;typeof wi=="number"&&(davr.bottom&&(ur-=La-vr.bottom-Nr,Xn.y>vr.bottom-wi&&(ur+=Xn.y-vr.bottom+wi)));var Ai=qn.x+Zr,Ci=Ai+Lr,qo=qn.y+ur,Au=qo+Wn,Hi=Xn.x,fi=Hi+yr,Cu=Xn.y,ma=Cu+ra,Be=Math.max(Ai,Hi),W=Math.min(Ci,fi),pe=(Be+W)/2,oe=pe-Ai,Y=Math.max(qo,Cu),te=Math.min(Au,ma),ie=(Y+te)/2,me=ie-qo;Se==null||Se(F,Ua);var ue=lo.right-qn.x-(Zr+qn.width),le=lo.bottom-qn.y-(ur+qn.height);Rt({ready:!0,offsetX:Zr/oa,offsetY:ur/Oa,offsetR:ue/oa,offsetB:le/Oa,arrowX:oe/oa,arrowY:me/Oa,scaleX:oa,scaleY:Oa,align:Ua})}}),Jt=function(){ht.current+=1;var Zt=ht.current;Promise.resolve().then(function(){ht.current===Zt&&un()})},dn=function(){Rt(function(Zt){return(0,Z.Z)((0,Z.Z)({},Zt),{},{ready:!1})})};return(0,ce.Z)(dn,[se]),(0,ce.Z)(function(){S||dn()},[S]),[pt.ready,pt.offsetX,pt.offsetY,pt.offsetR,pt.offsetB,pt.arrowX,pt.arrowY,pt.scaleX,pt.scaleY,pt.align,Jt]}function Wu(S,F,U,se,re){(0,ce.Z)(function(){if(S&&F&&U){let ht=function(){se(),re()};var xe=F,Se=U,je=Co(xe),Ye=Co(Se),pt=Ao(Se),Rt=new Set([pt].concat((0,Rn.Z)(je),(0,Rn.Z)(Ye)));return Rt.forEach(function(Ft){Ft.addEventListener("scroll",ht,{passive:!0})}),pt.addEventListener("resize",ht,{passive:!0}),se(),function(){Rt.forEach(function(Ft){Ft.removeEventListener("scroll",ht),pt.removeEventListener("resize",ht)})}}},[S,F,U])}function Wo(S,F,U,se,re,xe,Se,je){var Ye=u.useRef(S),pt=u.useRef(!1);Ye.current!==S&&(pt.current=!0,Ye.current=S),u.useEffect(function(){var Rt=(0,xt.Z)(function(){pt.current=!1});return function(){xt.Z.cancel(Rt)}},[S]),u.useEffect(function(){if(F&&se&&(!re||xe)){var Rt=function(){var rn=!1,Dn=function(Zn){var fr=Zn.target;rn=Se(fr)},Nn=function(Zn){var fr=Zn.target;!pt.current&&Ye.current&&!rn&&!Se(fr)&&je(!1)};return[Dn,Nn]},ht=Rt(),Ft=(0,ye.Z)(ht,2),Wt=Ft[0],Lt=Ft[1],un=Rt(),Jt=(0,ye.Z)(un,2),dn=Jt[0],zt=Jt[1],Zt=Ao(se);Zt.addEventListener("mousedown",Wt,!0),Zt.addEventListener("click",Lt,!0),Zt.addEventListener("contextmenu",Lt,!0);var Pt=It(U);if(Pt&&(Pt.addEventListener("mousedown",dn,!0),Pt.addEventListener("click",zt,!0),Pt.addEventListener("contextmenu",zt,!0)),!1)var In,wn,$n,hn;return function(){Zt.removeEventListener("mousedown",Wt,!0),Zt.removeEventListener("click",Lt,!0),Zt.removeEventListener("contextmenu",Lt,!0),Pt&&(Pt.removeEventListener("mousedown",dn,!0),Pt.removeEventListener("click",zt,!0),Pt.removeEventListener("contextmenu",zt,!0))}}},[F,U,se,re,xe])}var ls=["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"];function ku(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn,F=u.forwardRef(function(U,se){var re=U.prefixCls,xe=re===void 0?"rc-trigger-popup":re,Se=U.children,je=U.action,Ye=je===void 0?"hover":je,pt=U.showAction,Rt=U.hideAction,ht=U.popupVisible,Ft=U.defaultPopupVisible,Wt=U.onPopupVisibleChange,Lt=U.afterPopupVisibleChange,un=U.mouseEnterDelay,Jt=U.mouseLeaveDelay,dn=Jt===void 0?.1:Jt,zt=U.focusDelay,Zt=U.blurDelay,Pt=U.mask,In=U.maskClosable,wn=In===void 0?!0:In,$n=U.getPopupContainer,hn=U.forceRender,fn=U.autoDestroy,rn=U.destroyPopupOnHide,Dn=U.popup,Nn=U.popupClassName,En=U.popupStyle,Zn=U.popupPlacement,fr=U.builtinPlacements,Un=fr===void 0?{}:fr,tr=U.popupAlign,Xn=U.zIndex,Ir=U.stretch,qn=U.getPopupClassNameFromAlign,$r=U.fresh,Jn=U.alignPoint,ir=U.onPopupClick,xr=U.onPopupAlign,Sr=U.arrow,br=U.popupMotion,rr=U.maskMotion,Wn=U.popupTransitionName,Lr=U.popupAnimation,ra=U.maskTransitionName,yr=U.maskAnimation,Hr=U.className,Aa=U.getTriggerDOMNode,aa=(0,Le.Z)(U,ls),Ca=fn||rn||!1,la=u.useState(!1),Ta=(0,ye.Z)(la,2),pr=Ta[0],vr=Ta[1];(0,ce.Z)(function(){vr(an())},[]);var Ra=u.useRef({}),Ba=u.useContext(sa),lo=u.useMemo(function(){return{registerSubPopup:function(zn,ha){Ra.current[zn]=ha,Ba==null||Ba.registerSubPopup(zn,ha)}}},[Ba]),oa=or(),Oa=u.useState(null),Ha=(0,ye.Z)(Oa,2),Qr=Ha[0],Ro=Ha[1],qr=(0,Fn.Z)(function(yn){(0,ar.S)(yn)&&Qr!==yn&&Ro(yn),Ba==null||Ba.registerSubPopup(oa,yn)}),ia=u.useState(null),Nr=(0,ye.Z)(ia,2),Ar=Nr[0],Za=Nr[1],Xr=u.useRef(null),Ya=(0,Fn.Z)(function(yn){(0,ar.S)(yn)&&Ar!==yn&&(Za(yn),Xr.current=yn)}),$a=u.Children.only(Se),Mr=($a==null?void 0:$a.props)||{},ca={},So=(0,Fn.Z)(function(yn){var zn,ha,fa=Ar;return(fa==null?void 0:fa.contains(yn))||((zn=It(fa))===null||zn===void 0?void 0:zn.host)===yn||yn===fa||(Qr==null?void 0:Qr.contains(yn))||((ha=It(Qr))===null||ha===void 0?void 0:ha.host)===yn||yn===Qr||Object.values(Ra.current).some(function(Ka){return(Ka==null?void 0:Ka.contains(yn))||yn===Ka})}),_r=Zo(xe,br,Lr,Wn),ba=Zo(xe,rr,yr,ra),co=u.useState(Ft||!1),Lo=(0,ye.Z)(co,2),Ua=Lo[0],Zr=Lo[1],ur=ht!=null?ht:Ua,Er=(0,Fn.Z)(function(yn){ht===void 0&&Zr(yn)});(0,ce.Z)(function(){Zr(ht||!1)},[ht]);var Sn=u.useRef(ur);Sn.current=ur;var Mn=u.useRef([]);Mn.current=[];var Kr=(0,Fn.Z)(function(yn){var zn;Er(yn),((zn=Mn.current[Mn.current.length-1])!==null&&zn!==void 0?zn:ur)!==yn&&(Mn.current.push(yn),Wt==null||Wt(yn))}),Pa=u.useRef(),Wa=function(){clearTimeout(Pa.current)},Qa=function(zn){var ha=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Wa(),ha===0?Kr(zn):Pa.current=setTimeout(function(){Kr(zn)},ha*1e3)};u.useEffect(function(){return Wa},[]);var za=u.useState(!1),Si=(0,ye.Z)(za,2),No=Si[0],ro=Si[1];(0,ce.Z)(function(yn){(!yn||ur)&&ro(!0)},[ur]);var Xa=u.useState(null),da=(0,ye.Z)(Xa,2),La=da[0],ho=da[1],Ur=u.useState([0,0]),gr=(0,ye.Z)(Ur,2),ea=gr[0],ka=gr[1],Ja=function(zn){ka([zn.clientX,zn.clientY])},_o=ss(ur,Qr,Jn?ea:Ar,Zn,Un,tr,xr),Ea=(0,ye.Z)(_o,11),_i=Ea[0],ru=Ea[1],yo=Ea[2],Uo=Ea[3],go=Ea[4],ci=Ea[5],au=Ea[6],di=Ea[7],ou=Ea[8],Xo=Ea[9],Jo=Ea[10],wi=Or(pr,Ye,pt,Rt),Ai=(0,ye.Z)(wi,2),Ci=Ai[0],qo=Ai[1],Au=Ci.has("click"),Hi=qo.has("click")||qo.has("contextMenu"),fi=(0,Fn.Z)(function(){No||Jo()}),Cu=function(){Sn.current&&Jn&&Hi&&Qa(!1)};Wu(ur,Ar,Qr,fi,Cu),(0,ce.Z)(function(){fi()},[ea,Zn]),(0,ce.Z)(function(){ur&&!(Un!=null&&Un[Zn])&&fi()},[JSON.stringify(tr)]);var ma=u.useMemo(function(){var yn=xo(Un,xe,Xo,Jn);return d()(yn,qn==null?void 0:qn(Xo))},[Xo,qn,Un,xe,Jn]);u.useImperativeHandle(se,function(){return{nativeElement:Xr.current,forceAlign:fi}});var Be=u.useState(0),W=(0,ye.Z)(Be,2),pe=W[0],oe=W[1],Y=u.useState(0),te=(0,ye.Z)(Y,2),ie=te[0],me=te[1],ue=function(){if(Ir&&Ar){var zn=Ar.getBoundingClientRect();oe(zn.width),me(zn.height)}},le=function(){ue(),fi()},ge=function(zn){ro(!1),Jo(),Lt==null||Lt(zn)},de=function(){return new Promise(function(zn){ue(),ho(function(){return zn})})};(0,ce.Z)(function(){La&&(Jo(),La(),ho(null))},[La]);function ve(yn,zn,ha,fa){ca[yn]=function(Ka){var zs;fa==null||fa(Ka),Qa(zn,ha);for(var Hs=arguments.length,al=new Array(Hs>1?Hs-1:0),Zs=1;Zs1?ha-1:0),Ka=1;Ka1?ha-1:0),Ka=1;KaLt,ia=(0,u.useMemo)(function(){var Sn=xe;return Qr?Dn===null&&$n?Sn=xe:Sn=xe.slice(0,Math.min(xe.length,En/Rt)):typeof Lt=="number"&&(Sn=xe.slice(0,Lt)),Sn},[xe,Rt,Dn,Lt,Qr]),Nr=(0,u.useMemo)(function(){return Qr?xe.slice(pr+1):xe.slice(ia.length)},[xe,ia,Qr,pr]),Ar=(0,u.useCallback)(function(Sn,Mn){var Kr;return typeof Ye=="function"?Ye(Sn):(Kr=Ye&&(Sn==null?void 0:Sn[Ye]))!==null&&Kr!==void 0?Kr:Mn},[Ye]),Za=(0,u.useCallback)(Se||function(Sn){return Sn},[Se]);function Xr(Sn,Mn,Kr){la===Sn&&(Mn===void 0||Mn===Hr)||(Ta(Sn),Kr||(lo(SnEn){Xr(Pa-1,Sn-Wa-Wn+xr);break}}dn&&So(0)+Wn>En&&Aa(null)}},[En,Un,xr,Wn,Ar,ia]);var _r=Ba&&!!Nr.length,ba={};Hr!==null&&Qr&&(ba={position:"absolute",left:Hr,top:0});var co={prefixCls:oa,responsive:Qr,component:Pt,invalidate:Ro},Lo=je?function(Sn,Mn){var Kr=Ar(Sn,Mn);return u.createElement(so.Provider,{key:Kr,value:(0,Z.Z)((0,Z.Z)({},co),{},{order:Mn,item:Sn,itemKey:Kr,registerSize:$a,display:Mn<=pr})},je(Sn,Mn))}:function(Sn,Mn){var Kr=Ar(Sn,Mn);return u.createElement(Ki,(0,k.Z)({},co,{order:Mn,key:Kr,item:Sn,renderItem:Za,itemKey:Kr,registerSize:$a,display:Mn<=pr}))},Ua,Zr={order:_r?pr:Number.MAX_SAFE_INTEGER,className:"".concat(oa,"-rest"),registerSize:Mr,display:_r};if(Jt)Jt&&(Ua=u.createElement(so.Provider,{value:(0,Z.Z)((0,Z.Z)({},co),Zr)},Jt(Nr)));else{var ur=un||Lu;Ua=u.createElement(Ki,(0,k.Z)({},co,Zr),typeof ur=="function"?ur(Nr):ur)}var Er=u.createElement(Zt,(0,k.Z)({className:d()(!Ro&&se,Wt),style:Ft,ref:F},wn),ia.map(Lo),qr?Ua:null,dn&&u.createElement(Ki,(0,k.Z)({},co,{responsive:Ha,responsiveDisabled:!Qr,order:pr,className:"".concat(oa,"-suffix"),registerSize:ca,display:!0,style:ba}),dn));return Ha&&(Er=u.createElement(An.Z,{onResize:Ya,disabled:!Qr},Er)),Er}var Li=u.forwardRef(Qi);Li.displayName="Overflow",Li.Item=Ru,Li.RESPONSIVE=Gu,Li.INVALIDATE=Yi;var Vu=Li,Ni=Vu;function ps(S,F){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,se=new Set;function re(xe,Se){var je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ye=se.has(xe);if((0,Mt.ZP)(!Ye,"Warning: There may be circular references"),Ye)return!1;if(xe===Se)return!0;if(U&&je>1)return!1;se.add(xe);var pt=je+1;if(Array.isArray(xe)){if(!Array.isArray(Se)||xe.length!==Se.length)return!1;for(var Rt=0;Rt1&&arguments[1]!==void 0?arguments[1]:!1;if(Ga(S)){var U=S.nodeName.toLowerCase(),se=["input","select","textarea","button"].includes(U)||S.isContentEditable||U==="a"&&!!S.getAttribute("href"),re=S.getAttribute("tabindex"),xe=Number(re),Se=null;return re&&!Number.isNaN(xe)?Se=xe:se&&Se===null&&(Se=0),se&&S.disabled&&(Se=null),Se!==null&&(Se>=0||F&&Se<0)}return!1}function Bt(S){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,U=(0,Rn.Z)(S.querySelectorAll("*")).filter(function(se){return Ot(se,F)});return Ot(S,F)&&U.unshift(S),U}var xn=null;function Yn(){xn=document.activeElement}function kn(){xn=null}function On(){if(xn)try{xn.focus()}catch(S){}}function er(S,F){if(F.keyCode===9){var U=Bt(S),se=U[F.shiftKey?0:U.length-1],re=se===document.activeElement||S===document.activeElement;if(re){var xe=U[F.shiftKey?U.length-1:0];xe.focus(),F.preventDefault()}}}var Dr=ga.Z.LEFT,Pr=ga.Z.RIGHT,Br=ga.Z.UP,_a=ga.Z.DOWN,Ia=ga.Z.ENTER,to=ga.Z.ESC,ko=ga.Z.HOME,Va=ga.Z.END,bo=[Br,_a,Dr,Pr];function oi(S,F,U,se){var re,xe,Se,je,Ye="prev",pt="next",Rt="children",ht="parent";if(S==="inline"&&se===Ia)return{inlineTrigger:!0};var Ft=(re={},(0,$.Z)(re,Br,Ye),(0,$.Z)(re,_a,pt),re),Wt=(xe={},(0,$.Z)(xe,Dr,U?pt:Ye),(0,$.Z)(xe,Pr,U?Ye:pt),(0,$.Z)(xe,_a,Rt),(0,$.Z)(xe,Ia,Rt),xe),Lt=(Se={},(0,$.Z)(Se,Br,Ye),(0,$.Z)(Se,_a,pt),(0,$.Z)(Se,Ia,Rt),(0,$.Z)(Se,to,ht),(0,$.Z)(Se,Dr,U?Rt:ht),(0,$.Z)(Se,Pr,U?ht:Rt),Se),un={inline:Ft,horizontal:Wt,vertical:Lt,inlineSub:Ft,horizontalSub:Lt,verticalSub:Lt},Jt=(je=un["".concat(S).concat(F?"":"Sub")])===null||je===void 0?void 0:je[se];switch(Jt){case Ye:return{offset:-1,sibling:!0};case pt:return{offset:1,sibling:!0};case ht:return{offset:-1,sibling:!1};case Rt:return{offset:1,sibling:!1};default:return null}}function Ii(S){for(var F=S;F;){if(F.getAttribute("data-menu-list"))return F;F=F.parentElement}return null}function ji(S,F){for(var U=S||document.activeElement;U;){if(F.has(U))return U;U=U.parentElement}return null}function xi(S,F){var U=Bt(S,!0);return U.filter(function(se){return F.has(se)})}function Ko(S,F,U){var se=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!S)return null;var re=xi(S,F),xe=re.length,Se=re.findIndex(function(je){return U===je});return se<0?Se===-1?Se=xe-1:Se-=1:se>0&&(Se+=1),Se=(Se+xe)%xe,re[Se]}var ii=function(F,U){var se=new Set,re=new Map,xe=new Map;return F.forEach(function(Se){var je=document.querySelector("[data-menu-id='".concat(Yu(U,Se),"']"));je&&(se.add(je),xe.set(je,Se),re.set(Se,je))}),{elements:se,key2element:re,element2key:xe}};function Go(S,F,U,se,re,xe,Se,je,Ye,pt){var Rt=u.useRef(),ht=u.useRef();ht.current=F;var Ft=function(){xt.Z.cancel(Rt.current)};return u.useEffect(function(){return function(){Ft()}},[]),function(Wt){var Lt=Wt.which;if([].concat(bo,[Ia,to,ko,Va]).includes(Lt)){var un=xe(),Jt=ii(un,se),dn=Jt,zt=dn.elements,Zt=dn.key2element,Pt=dn.element2key,In=Zt.get(F),wn=ji(In,zt),$n=Pt.get(wn),hn=oi(S,Se($n,!0).length===1,U,Lt);if(!hn&&Lt!==ko&&Lt!==Va)return;(bo.includes(Lt)||[ko,Va].includes(Lt))&&Wt.preventDefault();var fn=function(tr){if(tr){var Xn=tr,Ir=tr.querySelector("a");Ir!=null&&Ir.getAttribute("href")&&(Xn=Ir);var qn=Pt.get(tr);je(qn),Ft(),Rt.current=(0,xt.Z)(function(){ht.current===qn&&Xn.focus()})}};if([ko,Va].includes(Lt)||hn.sibling||!wn){var rn;!wn||S==="inline"?rn=re.current:rn=Ii(wn);var Dn,Nn=xi(rn,zt);Lt===ko?Dn=Nn[0]:Lt===Va?Dn=Nn[Nn.length-1]:Dn=Ko(rn,zt,wn,hn.offset),fn(Dn)}else if(hn.inlineTrigger)Ye($n);else if(hn.offset>0)Ye($n,!0),Ft(),Rt.current=(0,xt.Z)(function(){Jt=ii(un,se);var Un=wn.getAttribute("aria-controls"),tr=document.getElementById(Un),Xn=Ko(tr,Jt.elements);fn(Xn)},5);else if(hn.offset<0){var En=Se($n,!0),Zn=En[En.length-2],fr=Zt.get(Zn);Ye(Zn,!1),fn(fr)}}pt==null||pt(Wt)}}function Fi(S){Promise.resolve().then(S)}var Fu="__RC_UTIL_PATH_SPLIT__",vs=function(F){return F.join(Fu)},Ds=function(F){return F.split(Fu)},Ji="rc-menu-more";function Ms(){var S=u.useState({}),F=(0,ye.Z)(S,2),U=F[1],se=(0,u.useRef)(new Map),re=(0,u.useRef)(new Map),xe=u.useState([]),Se=(0,ye.Z)(xe,2),je=Se[0],Ye=Se[1],pt=(0,u.useRef)(0),Rt=(0,u.useRef)(!1),ht=function(){Rt.current||U({})},Ft=(0,u.useCallback)(function(Zt,Pt){var In=vs(Pt);re.current.set(In,Zt),se.current.set(Zt,In),pt.current+=1;var wn=pt.current;Fi(function(){wn===pt.current&&ht()})},[]),Wt=(0,u.useCallback)(function(Zt,Pt){var In=vs(Pt);re.current.delete(In),se.current.delete(Zt)},[]),Lt=(0,u.useCallback)(function(Zt){Ye(Zt)},[]),un=(0,u.useCallback)(function(Zt,Pt){var In=se.current.get(Zt)||"",wn=Ds(In);return Pt&&je.includes(wn[0])&&wn.unshift(Ji),wn},[je]),Jt=(0,u.useCallback)(function(Zt,Pt){return Zt.some(function(In){var wn=un(In,!0);return wn.includes(Pt)})},[un]),dn=function(){var Pt=(0,Rn.Z)(se.current.keys());return je.length&&Pt.push(Ji),Pt},zt=(0,u.useCallback)(function(Zt){var Pt="".concat(se.current.get(Zt)).concat(Fu),In=new Set;return(0,Rn.Z)(re.current.keys()).forEach(function(wn){wn.startsWith(Pt)&&In.add(re.current.get(wn))}),In},[]);return u.useEffect(function(){return function(){Rt.current=!0}},[]),{registerPath:Ft,unregisterPath:Wt,refreshOverflowKeys:Lt,isSubPathKey:Jt,getKeyPath:un,getKeys:dn,getSubPathKeys:zt}}function mu(S){var F=u.useRef(S);F.current=S;var U=u.useCallback(function(){for(var se,re=arguments.length,xe=new Array(re),Se=0;Se1&&(zt.motionAppear=!1);var Zt=zt.onVisibleChanged;return zt.onVisibleChanged=function(Pt){return!Ft.current&&!Pt&&Jt(!0),Zt==null?void 0:Zt(Pt)},un?null:u.createElement(gi,{mode:xe,locked:!Ft.current},u.createElement(cr.ZP,(0,k.Z)({visible:dn},zt,{forceRender:Ye,removeOnLeave:!1,leavedClassName:"".concat(je,"-hidden")}),function(Pt){var In=Pt.className,wn=Pt.style;return u.createElement(es,{id:F,className:In,style:wn},re)}))}var Rr=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],si=["active"],$o=function(F){var U,se=F.style,re=F.className,xe=F.title,Se=F.eventKey,je=F.warnKey,Ye=F.disabled,pt=F.internalPopupClose,Rt=F.children,ht=F.itemIcon,Ft=F.expandIcon,Wt=F.popupClassName,Lt=F.popupOffset,un=F.popupStyle,Jt=F.onClick,dn=F.onMouseEnter,zt=F.onMouseLeave,Zt=F.onTitleClick,Pt=F.onTitleMouseEnter,In=F.onTitleMouseLeave,wn=(0,Le.Z)(F,Rr),$n=Qu(Se),hn=u.useContext(Po),fn=hn.prefixCls,rn=hn.mode,Dn=hn.openKeys,Nn=hn.disabled,En=hn.overflowDisabled,Zn=hn.activeKey,fr=hn.selectedKeys,Un=hn.itemIcon,tr=hn.expandIcon,Xn=hn.onItemClick,Ir=hn.onOpenChange,qn=hn.onActive,$r=u.useContext(Tt),Jn=$r._internalRenderSubMenuItem,ir=u.useContext(dt),xr=ir.isSubPathKey,Sr=ee(),br="".concat(fn,"-submenu"),rr=Nn||Ye,Wn=u.useRef(),Lr=u.useRef(),ra=ht!=null?ht:Un,yr=Ft!=null?Ft:tr,Hr=Dn.includes(Se),Aa=!En&&Hr,aa=xr(fr,Se),Ca=ja(Se,rr,Pt,In),la=Ca.active,Ta=(0,Le.Z)(Ca,si),pr=u.useState(!1),vr=(0,ye.Z)(pr,2),Ra=vr[0],Ba=vr[1],lo=function(ca){rr||Ba(ca)},oa=function(ca){lo(!0),dn==null||dn({key:Se,domEvent:ca})},Oa=function(ca){lo(!1),zt==null||zt({key:Se,domEvent:ca})},Ha=u.useMemo(function(){return la||(rn!=="inline"?Ra||xr([Zn],Se):!1)},[rn,la,Zn,Ra,Se,xr]),Qr=Fa(Sr.length),Ro=function(ca){rr||(Zt==null||Zt({key:Se,domEvent:ca}),rn==="inline"&&Ir(Se,!Hr))},qr=mu(function(Mr){Jt==null||Jt(Eo(Mr)),Xn(Mr)}),ia=function(ca){rn!=="inline"&&Ir(Se,ca)},Nr=function(){qn(Se)},Ar=$n&&"".concat($n,"-popup"),Za=u.createElement("div",(0,k.Z)({role:"menuitem",style:Qr,className:"".concat(br,"-title"),tabIndex:rr?null:-1,ref:Wn,title:typeof xe=="string"?xe:null,"data-menu-id":En&&$n?null:$n,"aria-expanded":Aa,"aria-haspopup":!0,"aria-controls":Ar,"aria-disabled":rr,onClick:Ro,onFocus:Nr},Ta),xe,u.createElement(ui,{icon:rn!=="horizontal"?yr:void 0,props:(0,Z.Z)((0,Z.Z)({},F),{},{isOpen:Aa,isSubMenu:!0})},u.createElement("i",{className:"".concat(br,"-arrow")}))),Xr=u.useRef(rn);if(rn!=="inline"&&Sr.length>1?Xr.current="vertical":Xr.current=rn,!En){var Ya=Xr.current;Za=u.createElement(Is,{mode:Ya,prefixCls:br,visible:!pt&&Aa&&rn!=="inline",popupClassName:Wt,popupOffset:Lt,popupStyle:un,popup:u.createElement(gi,{mode:Ya==="horizontal"?"vertical":Ya},u.createElement(es,{id:Ar,ref:Lr},Rt)),disabled:rr,onVisibleChange:ia},Za)}var $a=u.createElement(Ni.Item,(0,k.Z)({role:"none"},wn,{component:"li",style:se,className:d()(br,"".concat(br,"-").concat(rn),re,(U={},(0,$.Z)(U,"".concat(br,"-open"),Aa),(0,$.Z)(U,"".concat(br,"-active"),Ha),(0,$.Z)(U,"".concat(br,"-selected"),aa),(0,$.Z)(U,"".concat(br,"-disabled"),rr),U)),onMouseEnter:oa,onMouseLeave:Oa}),Za,!En&&u.createElement(ns,{id:Ar,open:Aa,keyPath:Sr},Rt));return Jn&&($a=Jn($a,F,{selected:aa,active:Ha,open:Aa,disabled:rr})),u.createElement(gi,{onItemClick:qr,mode:rn==="horizontal"?"vertical":rn,itemIcon:ra,expandIcon:yr},$a)};function xu(S){var F=S.eventKey,U=S.children,se=ee(F),re=Yo(U,se),xe=L();u.useEffect(function(){if(xe)return xe.registerPath(F,se),function(){xe.unregisterPath(F,se)}},[se]);var Se;return xe?Se=re:Se=u.createElement($o,S,re),u.createElement(he.Provider,{value:se},Se)}var Qs=["className","title","eventKey","children"],Rs=["children"],rs=function(F){var U=F.className,se=F.title,re=F.eventKey,xe=F.children,Se=(0,Le.Z)(F,Qs),je=u.useContext(Po),Ye=je.prefixCls,pt="".concat(Ye,"-item-group");return u.createElement("li",(0,k.Z)({role:"presentation"},Se,{onClick:function(ht){return ht.stopPropagation()},className:d()(pt,U)}),u.createElement("div",{role:"presentation",className:"".concat(pt,"-title"),title:typeof se=="string"?se:void 0},se),u.createElement("ul",{role:"group",className:"".concat(pt,"-list")},xe))};function as(S){var F=S.children,U=(0,Le.Z)(S,Rs),se=ee(U.eventKey),re=Yo(F,se),xe=L();return xe?re:u.createElement(rs,(0,wa.Z)(U,["warnKey"]),re)}function bu(S){var F=S.className,U=S.style,se=u.useContext(Po),re=se.prefixCls,xe=L();return xe?null:u.createElement("li",{role:"separator",className:d()("".concat(re,"-item-divider"),F),style:U})}var Xs=["label","children","key","type"];function Ls(S){return(S||[]).map(function(F,U){if(F&&(0,lt.Z)(F)==="object"){var se=F,re=se.label,xe=se.children,Se=se.key,je=se.type,Ye=(0,Le.Z)(se,Xs),pt=Se!=null?Se:"tmp-".concat(U);return xe||je==="group"?je==="group"?u.createElement(as,(0,k.Z)({key:pt},Ye,{title:re}),Ls(xe)):u.createElement(xu,(0,k.Z)({key:pt},Ye,{title:re}),Ls(xe)):je==="divider"?u.createElement(bu,(0,k.Z)({key:pt},Ye)):u.createElement(yu,(0,k.Z)({key:pt},Ye),re)}return null}).filter(function(F){return F})}function ll(S,F,U){var se=S;return F&&(se=Ls(F)),Yo(se,U)}var Js=["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"],Ui=[],xs=u.forwardRef(function(S,F){var U,se,re=S,xe=re.prefixCls,Se=xe===void 0?"rc-menu":xe,je=re.rootClassName,Ye=re.style,pt=re.className,Rt=re.tabIndex,ht=Rt===void 0?0:Rt,Ft=re.items,Wt=re.children,Lt=re.direction,un=re.id,Jt=re.mode,dn=Jt===void 0?"vertical":Jt,zt=re.inlineCollapsed,Zt=re.disabled,Pt=re.disabledOverflow,In=re.subMenuOpenDelay,wn=In===void 0?.1:In,$n=re.subMenuCloseDelay,hn=$n===void 0?.1:$n,fn=re.forceSubMenuRender,rn=re.defaultOpenKeys,Dn=re.openKeys,Nn=re.activeKey,En=re.defaultActiveFirst,Zn=re.selectable,fr=Zn===void 0?!0:Zn,Un=re.multiple,tr=Un===void 0?!1:Un,Xn=re.defaultSelectedKeys,Ir=re.selectedKeys,qn=re.onSelect,$r=re.onDeselect,Jn=re.inlineIndent,ir=Jn===void 0?24:Jn,xr=re.motion,Sr=re.defaultMotions,br=re.triggerSubMenuAction,rr=br===void 0?"hover":br,Wn=re.builtinPlacements,Lr=re.itemIcon,ra=re.expandIcon,yr=re.overflowedIndicator,Hr=yr===void 0?"...":yr,Aa=re.overflowedIndicatorPopupClassName,aa=re.getPopupContainer,Ca=re.onClick,la=re.onOpenChange,Ta=re.onKeyDown,pr=re.openAnimation,vr=re.openTransitionName,Ra=re._internalRenderMenuItem,Ba=re._internalRenderSubMenuItem,lo=(0,Le.Z)(re,Js),oa=u.useMemo(function(){return ll(Wt,Ft,Ui)},[Wt,Ft]),Oa=u.useState(!1),Ha=(0,ye.Z)(Oa,2),Qr=Ha[0],Ro=Ha[1],qr=u.useRef(),ia=jn(un),Nr=Lt==="rtl",Ar=(0,Dt.Z)(rn,{value:Dn,postState:function(Be){return Be||Ui}}),Za=(0,ye.Z)(Ar,2),Xr=Za[0],Ya=Za[1],$a=function(Be){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function pe(){Ya(Be),la==null||la(Be)}W?(0,Et.flushSync)(pe):pe()},Mr=u.useState(Xr),ca=(0,ye.Z)(Mr,2),So=ca[0],_r=ca[1],ba=u.useRef(!1),co=u.useMemo(function(){return(dn==="inline"||dn==="vertical")&&zt?["vertical",zt]:[dn,!1]},[dn,zt]),Lo=(0,ye.Z)(co,2),Ua=Lo[0],Zr=Lo[1],ur=Ua==="inline",Er=u.useState(Ua),Sn=(0,ye.Z)(Er,2),Mn=Sn[0],Kr=Sn[1],Pa=u.useState(Zr),Wa=(0,ye.Z)(Pa,2),Qa=Wa[0],za=Wa[1];u.useEffect(function(){Kr(Ua),za(Zr),ba.current&&(ur?Ya(So):$a(Ui))},[Ua,Zr]);var Si=u.useState(0),No=(0,ye.Z)(Si,2),ro=No[0],Xa=No[1],da=ro>=oa.length-1||Mn!=="horizontal"||Pt;u.useEffect(function(){ur&&_r(Xr)},[Xr]),u.useEffect(function(){return ba.current=!0,function(){ba.current=!1}},[]);var La=Ms(),ho=La.registerPath,Ur=La.unregisterPath,gr=La.refreshOverflowKeys,ea=La.isSubPathKey,ka=La.getKeyPath,Ja=La.getKeys,_o=La.getSubPathKeys,Ea=u.useMemo(function(){return{registerPath:ho,unregisterPath:Ur}},[ho,Ur]),_i=u.useMemo(function(){return{isSubPathKey:ea}},[ea]);u.useEffect(function(){gr(da?Ui:oa.slice(ro+1).map(function(ma){return ma.key}))},[ro,da]);var ru=(0,Dt.Z)(Nn||En&&((U=oa[0])===null||U===void 0?void 0:U.key),{value:Nn}),yo=(0,ye.Z)(ru,2),Uo=yo[0],go=yo[1],ci=mu(function(ma){go(ma)}),au=mu(function(){go(void 0)});(0,u.useImperativeHandle)(F,function(){return{list:qr.current,focus:function(Be){var W,pe=Ja(),oe=ii(pe,ia),Y=oe.elements,te=oe.key2element,ie=oe.element2key,me=xi(qr.current,Y),ue=Uo!=null?Uo:me[0]?ie.get(me[0]):(W=oa.find(function(de){return!de.props.disabled}))===null||W===void 0?void 0:W.key,le=te.get(ue);if(ue&&le){var ge;le==null||(ge=le.focus)===null||ge===void 0||ge.call(le,Be)}}}});var di=(0,Dt.Z)(Xn||[],{value:Ir,postState:function(Be){return Array.isArray(Be)?Be:Be==null?Ui:[Be]}}),ou=(0,ye.Z)(di,2),Xo=ou[0],Jo=ou[1],wi=function(Be){if(fr){var W=Be.key,pe=Xo.includes(W),oe;tr?pe?oe=Xo.filter(function(te){return te!==W}):oe=[].concat((0,Rn.Z)(Xo),[W]):oe=[W],Jo(oe);var Y=(0,Z.Z)((0,Z.Z)({},Be),{},{selectedKeys:oe});pe?$r==null||$r(Y):qn==null||qn(Y)}!tr&&Xr.length&&Mn!=="inline"&&$a(Ui)},Ai=mu(function(ma){Ca==null||Ca(Eo(ma)),wi(ma)}),Ci=mu(function(ma,Be){var W=Xr.filter(function(oe){return oe!==ma});if(Be)W.push(ma);else if(Mn!=="inline"){var pe=_o(ma);W=W.filter(function(oe){return!pe.has(oe)})}Nu(Xr,W,!0)||$a(W,!0)}),qo=function(Be,W){var pe=W!=null?W:!Xr.includes(Be);Ci(Be,pe)},Au=Go(Mn,Uo,Nr,ia,qr,Ja,ka,go,qo,Ta);u.useEffect(function(){Ro(!0)},[]);var Hi=u.useMemo(function(){return{_internalRenderMenuItem:Ra,_internalRenderSubMenuItem:Ba}},[Ra,Ba]),fi=Mn!=="horizontal"||Pt?oa:oa.map(function(ma,Be){return u.createElement(gi,{key:ma.key,overflowDisabled:Be>ro},ma)}),Cu=u.createElement(Ni,(0,k.Z)({id:un,ref:qr,prefixCls:"".concat(Se,"-overflow"),component:"ul",itemComponent:yu,className:d()(Se,"".concat(Se,"-root"),"".concat(Se,"-").concat(Mn),pt,(se={},(0,$.Z)(se,"".concat(Se,"-inline-collapsed"),Qa),(0,$.Z)(se,"".concat(Se,"-rtl"),Nr),se),je),dir:Lt,style:Ye,role:"menu",tabIndex:ht,data:fi,renderRawItem:function(Be){return Be},renderRawRest:function(Be){var W=Be.length,pe=W?oa.slice(-W):null;return u.createElement(xu,{eventKey:Ji,title:Hr,disabled:da,internalPopupClose:W===0,popupClassName:Aa},pe)},maxCount:Mn!=="horizontal"||Pt?Ni.INVALIDATE:Ni.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Be){Xa(Be)},onKeyDown:Au},lo));return u.createElement(Tt.Provider,{value:Hi},u.createElement(Xi.Provider,{value:ia},u.createElement(gi,{prefixCls:Se,rootClassName:je,mode:Mn,openKeys:Xr,rtl:Nr,disabled:Zt,motion:Qr?xr:null,defaultMotions:Qr?Sr:null,activeKey:Uo,onActive:ci,onInactive:au,selectedKeys:Xo,inlineIndent:ir,subMenuOpenDelay:wn,subMenuCloseDelay:hn,forceSubMenuRender:fn,builtinPlacements:Wn,triggerSubMenuAction:rr,getPopupContainer:aa,itemIcon:Lr,expandIcon:ra,onItemClick:Ai,onOpenChange:Ci},u.createElement(dt.Provider,{value:_i},Cu),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(M.Provider,{value:Ea},oa)))))}),Ns=xs,Eu=Ns;Eu.Item=yu,Eu.SubMenu=xu,Eu.ItemGroup=as,Eu.Divider=bu;var js=Eu,Fs=u.forwardRef(function(S,F){var U=S.prefixCls,se=S.id,re=S.tabs,xe=S.locale,Se=S.mobile,je=S.moreIcon,Ye=je===void 0?"More":je,pt=S.moreTransitionName,Rt=S.style,ht=S.className,Ft=S.editable,Wt=S.tabBarGutter,Lt=S.rtl,un=S.removeAriaLabel,Jt=S.onTabClick,dn=S.getPopupContainer,zt=S.popupClassName,Zt=(0,u.useState)(!1),Pt=(0,ye.Z)(Zt,2),In=Pt[0],wn=Pt[1],$n=(0,u.useState)(null),hn=(0,ye.Z)($n,2),fn=hn[0],rn=hn[1],Dn="".concat(se,"-more-popup"),Nn="".concat(U,"-dropdown"),En=fn!==null?"".concat(Dn,"-").concat(fn):null,Zn=xe==null?void 0:xe.dropdownAriaLabel;function fr(Jn,ir){Jn.preventDefault(),Jn.stopPropagation(),Ft.onEdit("remove",{key:ir,event:Jn})}var Un=u.createElement(js,{onClick:function(ir){var xr=ir.key,Sr=ir.domEvent;Jt(xr,Sr),wn(!1)},prefixCls:"".concat(Nn,"-menu"),id:Dn,tabIndex:-1,role:"listbox","aria-activedescendant":En,selectedKeys:[fn],"aria-label":Zn!==void 0?Zn:"expanded dropdown"},re.map(function(Jn){var ir=Jn.closable,xr=Jn.disabled,Sr=Jn.closeIcon,br=Jn.key,rr=Jn.label,Wn=Ne(ir,Sr,Ft,xr);return u.createElement(yu,{key:br,id:"".concat(Dn,"-").concat(br),role:"option","aria-controls":se&&"".concat(se,"-panel-").concat(br),disabled:xr},u.createElement("span",null,rr),Wn&&u.createElement("button",{type:"button","aria-label":un||"remove",tabIndex:0,className:"".concat(Nn,"-menu-item-remove"),onClick:function(ra){ra.stopPropagation(),fr(ra,br)}},Sr||Ft.removeIcon||"\xD7"))}));function tr(Jn){for(var ir=re.filter(function(Wn){return!Wn.disabled}),xr=ir.findIndex(function(Wn){return Wn.key===fn})||0,Sr=ir.length,br=0;brgr?"left":"right"})}),fr=(0,ye.Z)(Zn,2),Un=fr[0],tr=fr[1],Xn=$e(0,function(Ur,gr){!En&&Jt&&Jt({direction:Ur>gr?"top":"bottom"})}),Ir=(0,ye.Z)(Xn,2),qn=Ir[0],$r=Ir[1],Jn=(0,u.useState)([0,0]),ir=(0,ye.Z)(Jn,2),xr=ir[0],Sr=ir[1],br=(0,u.useState)([0,0]),rr=(0,ye.Z)(br,2),Wn=rr[0],Lr=rr[1],ra=(0,u.useState)([0,0]),yr=(0,ye.Z)(ra,2),Hr=yr[0],Aa=yr[1],aa=(0,u.useState)([0,0]),Ca=(0,ye.Z)(aa,2),la=Ca[0],Ta=Ca[1],pr=st(new Map),vr=(0,ye.Z)(pr,2),Ra=vr[0],Ba=vr[1],lo=ke(In,Ra,Wn[0]),oa=li(xr,En),Oa=li(Wn,En),Ha=li(Hr,En),Qr=li(la,En),Ro=oaAr?Ar:Ur}var Xr=(0,u.useRef)(null),Ya=(0,u.useState)(),$a=(0,ye.Z)(Ya,2),Mr=$a[0],ca=$a[1];function So(){ca(Date.now())}function _r(){Xr.current&&clearTimeout(Xr.current)}nt(fn,function(Ur,gr){function ea(ka,Ja){ka(function(_o){var Ea=Za(_o+Ja);return Ea})}return Ro?(En?ea(tr,Ur):ea($r,gr),_r(),So(),!0):!1}),(0,u.useEffect)(function(){return _r(),Mr&&(Xr.current=setTimeout(function(){ca(0)},100)),_r},[Mr]);var ba=bt(lo,qr,En?Un:qn,Oa,Ha,Qr,(0,Z.Z)((0,Z.Z)({},S),{},{tabs:In})),co=(0,ye.Z)(ba,2),Lo=co[0],Ua=co[1],Zr=(0,Fn.Z)(function(){var Ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:je,gr=lo.get(Ur)||{width:0,height:0,left:0,right:0,top:0};if(En){var ea=Un;Ye?gr.rightUn+qr&&(ea=gr.right+gr.width-qr):gr.left<-Un?ea=-gr.left:gr.left+gr.width>-Un+qr&&(ea=-(gr.left+gr.width-qr)),$r(0),tr(Za(ea))}else{var ka=qn;gr.top<-qn?ka=-gr.top:gr.top+gr.height>-qn+qr&&(ka=-(gr.top+gr.height-qr)),tr(0),$r(Za(ka))}}),ur={};Ft==="top"||Ft==="bottom"?ur[Ye?"marginRight":"marginLeft"]=Wt:ur.marginTop=Wt;var Er=In.map(function(Ur,gr){var ea=Ur.key;return u.createElement(dl,{id:xe,prefixCls:Pt,key:ea,tab:Ur,style:gr===0?void 0:ur,closable:Ur.closable,editable:Rt,active:ea===je,renderWrapper:Lt,removeAriaLabel:ht==null?void 0:ht.removeAriaLabel,onClick:function(Ja){un(ea,Ja)},onFocus:function(){Zr(ea),So(),fn.current&&(Ye||(fn.current.scrollLeft=0),fn.current.scrollTop=0)}})}),Sn=function(){return Ba(function(){var gr,ea=new Map,ka=(gr=rn.current)===null||gr===void 0?void 0:gr.getBoundingClientRect();return In.forEach(function(Ja){var _o,Ea=Ja.key,_i=(_o=rn.current)===null||_o===void 0?void 0:_o.querySelector('[data-node-key="'.concat(we(Ea),'"]'));if(_i){var ru=fl(_i,ka),yo=(0,ye.Z)(ru,4),Uo=yo[0],go=yo[1],ci=yo[2],au=yo[3];ea.set(Ea,{width:Uo,height:go,left:ci,top:au})}}),ea})};(0,u.useEffect)(function(){Sn()},[In.map(function(Ur){return Ur.key}).join("_")]);var Mn=Ue(function(){var Ur=eu(wn),gr=eu($n),ea=eu(hn);Sr([Ur[0]-gr[0]-ea[0],Ur[1]-gr[1]-ea[1]]);var ka=eu(Nn);Aa(ka);var Ja=eu(Dn);Ta(Ja);var _o=eu(rn);Lr([_o[0]-ka[0],_o[1]-ka[1]]),Sn()}),Kr=In.slice(0,Lo),Pa=In.slice(Ua+1),Wa=[].concat((0,Rn.Z)(Kr),(0,Rn.Z)(Pa)),Qa=lo.get(je),za=ot({activeTabOffset:Qa,horizontal:En,rtl:Ye,indicatorSize:dn,indicatorAlign:zt}),Si=za.style;(0,u.useEffect)(function(){Zr()},[je,Nr,Ar,I(Qa),I(lo),En]),(0,u.useEffect)(function(){Mn()},[Ye]);var No=!!Wa.length,ro="".concat(Pt,"-nav-wrap"),Xa,da,La,ho;return En?Ye?(da=Un>0,Xa=Un!==Ar):(Xa=Un<0,da=Un!==Nr):(La=qn<0,ho=qn!==Nr),u.createElement(An.Z,{onResize:Mn},u.createElement("div",{ref:(0,Xe.x1)(F,wn),role:"tablist",className:d()("".concat(Pt,"-nav"),se),style:re,onKeyDown:function(){So()}},u.createElement(mt,{ref:$n,position:"left",extra:pt,prefixCls:Pt}),u.createElement(An.Z,{onResize:Mn},u.createElement("div",{className:d()(ro,(U={},(0,$.Z)(U,"".concat(ro,"-ping-left"),Xa),(0,$.Z)(U,"".concat(ro,"-ping-right"),da),(0,$.Z)(U,"".concat(ro,"-ping-top"),La),(0,$.Z)(U,"".concat(ro,"-ping-bottom"),ho),U)),ref:fn},u.createElement(An.Z,{onResize:Mn},u.createElement("div",{ref:rn,className:"".concat(Pt,"-nav-list"),style:{transform:"translate(".concat(Un,"px, ").concat(qn,"px)"),transition:Mr?"none":void 0}},Er,u.createElement(ut,{ref:Nn,prefixCls:Pt,locale:ht,editable:Rt,style:(0,Z.Z)((0,Z.Z)({},Er.length===0?void 0:ur),{},{visibility:No?"hidden":null})}),u.createElement("div",{className:d()("".concat(Pt,"-ink-bar"),(0,$.Z)({},"".concat(Pt,"-ink-bar-animated"),Se.inkBar)),style:Si}))))),u.createElement(cl,(0,k.Z)({},S,{removeAriaLabel:ht==null?void 0:ht.removeAriaLabel,ref:Dn,prefixCls:Pt,tabs:Wa,className:!No&&ia,tabMoving:!!Mr})),u.createElement(mt,{ref:hn,position:"right",extra:pt,prefixCls:Pt})))}),Su=el,Ei=u.forwardRef(function(S,F){var U=S.prefixCls,se=S.className,re=S.style,xe=S.id,Se=S.active,je=S.tabKey,Ye=S.children;return u.createElement("div",{id:xe&&"".concat(xe,"-panel-").concat(je),role:"tabpanel",tabIndex:Se?0:-1,"aria-labelledby":xe&&"".concat(xe,"-tab-").concat(je),"aria-hidden":!Se,style:re,className:d()(U,Se&&"".concat(U,"-active"),se),ref:F},Ye)}),Uu=Ei,zi=["renderTabBar"],Bs=["label","key"],pl=function(F){var U=F.renderTabBar,se=(0,Le.Z)(F,zi),re=u.useContext(sn),xe=re.tabs;if(U){var Se=(0,Z.Z)((0,Z.Z)({},se),{},{panes:xe.map(function(je){var Ye=je.label,pt=je.key,Rt=(0,Le.Z)(je,Bs);return u.createElement(Uu,(0,k.Z)({tab:Ye,key:pt,tabKey:pt},Rt))})});return U(Se,Su)}return u.createElement(Su,se)},vl=pl,_u=["key","forceRender","style","className","destroyInactiveTabPane"],os=function(F){var U=F.id,se=F.activeKey,re=F.animated,xe=F.tabPosition,Se=F.destroyInactiveTabPane,je=u.useContext(sn),Ye=je.prefixCls,pt=je.tabs,Rt=re.tabPane,ht="".concat(Ye,"-tabpane");return u.createElement("div",{className:d()("".concat(Ye,"-content-holder"))},u.createElement("div",{className:d()("".concat(Ye,"-content"),"".concat(Ye,"-content-").concat(xe),(0,$.Z)({},"".concat(Ye,"-content-animated"),Rt))},pt.map(function(Ft){var Wt=Ft.key,Lt=Ft.forceRender,un=Ft.style,Jt=Ft.className,dn=Ft.destroyInactiveTabPane,zt=(0,Le.Z)(Ft,_u),Zt=Wt===se;return u.createElement(cr.ZP,(0,k.Z)({key:Wt,visible:Zt,forceRender:Lt,removeOnLeave:!!(Se||dn),leavedClassName:"".concat(ht,"-hidden")},re.tabPaneMotion),function(Pt,In){var wn=Pt.style,$n=Pt.className;return u.createElement(Uu,(0,k.Z)({},zt,{prefixCls:ht,id:U,tabKey:Wt,animated:Rt,active:Zt,style:(0,Z.Z)((0,Z.Z)({},un),wn),className:d()(Jt,$n),ref:In}))})})))},zu=os;function bs(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},F;return S===!1?F={inkBar:!1,tabPane:!1}:S===!0?F={inkBar:!0,tabPane:!1}:F=(0,Z.Z)({inkBar:!0},(0,lt.Z)(S)==="object"?S:{}),F.tabPaneMotion&&F.tabPane===void 0&&(F.tabPane=!0),!F.tabPaneMotion&&F.tabPane&&(F.tabPane=!1),F}var $s=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize","indicatorAlign"],wu=0,tu=u.forwardRef(function(S,F){var U,se=S.id,re=S.prefixCls,xe=re===void 0?"rc-tabs":re,Se=S.className,je=S.items,Ye=S.direction,pt=S.activeKey,Rt=S.defaultActiveKey,ht=S.editable,Ft=S.animated,Wt=S.tabPosition,Lt=Wt===void 0?"top":Wt,un=S.tabBarGutter,Jt=S.tabBarStyle,dn=S.tabBarExtraContent,zt=S.locale,Zt=S.moreIcon,Pt=S.moreTransitionName,In=S.destroyInactiveTabPane,wn=S.renderTabBar,$n=S.onChange,hn=S.onTabClick,fn=S.onTabScroll,rn=S.getPopupContainer,Dn=S.popupClassName,Nn=S.indicatorSize,En=S.indicatorAlign,Zn=En===void 0?"center":En,fr=(0,Le.Z)(S,$s),Un=u.useMemo(function(){return(je||[]).filter(function(pr){return pr&&(0,lt.Z)(pr)==="object"&&"key"in pr})},[je]),tr=Ye==="rtl",Xn=bs(Ft),Ir=(0,u.useState)(!1),qn=(0,ye.Z)(Ir,2),$r=qn[0],Jn=qn[1];(0,u.useEffect)(function(){Jn(an())},[]);var ir=(0,Dt.Z)(function(){var pr;return(pr=Un[0])===null||pr===void 0?void 0:pr.key},{value:pt,defaultValue:Rt}),xr=(0,ye.Z)(ir,2),Sr=xr[0],br=xr[1],rr=(0,u.useState)(function(){return Un.findIndex(function(pr){return pr.key===Sr})}),Wn=(0,ye.Z)(rr,2),Lr=Wn[0],ra=Wn[1];(0,u.useEffect)(function(){var pr=Un.findIndex(function(Ra){return Ra.key===Sr});if(pr===-1){var vr;pr=Math.max(0,Math.min(Lr,Un.length-1)),br((vr=Un[pr])===null||vr===void 0?void 0:vr.key)}ra(pr)},[Un.map(function(pr){return pr.key}).join("_"),Sr,Lr]);var yr=(0,Dt.Z)(null,{value:se}),Hr=(0,ye.Z)(yr,2),Aa=Hr[0],aa=Hr[1];(0,u.useEffect)(function(){se||(aa("rc-tabs-".concat(wu)),wu+=1)},[]);function Ca(pr,vr){hn==null||hn(pr,vr);var Ra=pr!==Sr;br(pr),Ra&&($n==null||$n(pr))}var la={id:Aa,activeKey:Sr,animated:Xn,tabPosition:Lt,rtl:tr,mobile:$r},Ta=(0,Z.Z)((0,Z.Z)({},la),{},{editable:ht,locale:zt,moreIcon:Zt,moreTransitionName:Pt,tabBarGutter:un,onTabClick:Ca,onTabScroll:fn,extra:dn,style:Jt,panes:null,getPopupContainer:rn,popupClassName:Dn,indicatorSize:Nn,indicatorAlign:Zn});return u.createElement(sn.Provider,{value:{tabs:Un,prefixCls:xe}},u.createElement("div",(0,k.Z)({ref:F,id:se,className:d()(xe,"".concat(xe,"-").concat(Lt),(U={},(0,$.Z)(U,"".concat(xe,"-mobile"),$r),(0,$.Z)(U,"".concat(xe,"-editable"),ht),(0,$.Z)(U,"".concat(xe,"-rtl"),tr),U),Se)},fr),u.createElement(vl,(0,k.Z)({},Ta,{renderTabBar:wn})),u.createElement(zu,(0,k.Z)({destroyInactiveTabPane:In},la,{animated:Xn}))))}),xa=tu,va=xa;function Qo(S,F){return Mo(S)||Hu(S,F)||Do(S,F)||mo()}function mo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Do(S,F){if(S){if(typeof S=="string")return nu(S,F);var U=Object.prototype.toString.call(S).slice(8,-1);if(U==="Object"&&S.constructor&&(U=S.constructor.name),U==="Map"||U==="Set")return Array.from(S);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return nu(S,F)}}function nu(S,F){(F==null||F>S.length)&&(F=S.length);for(var U=0,se=new Array(F);UMe in G?v(G,Me,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):G[Me]=Qe,x=(G,Me)=>{for(var Qe in Me||(Me={}))u.call(Me,Qe)&&l(G,Qe,Me[Qe]);if(y)for(var Qe of y(Me))h.call(Me,Qe)&&l(G,Qe,Me[Qe]);return G};const g=G=>d.createElement("svg",x({viewBox:"64 64 896 896"},G),d.createElement("path",{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2 263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}));var E="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODMyIDY0SDI5NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg0OTZ2Njg4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LThWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6TTcwNCAxOTJIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1MzAuN2MwIDguNSAzLjQgMTYuNiA5LjQgMjIuNmwxNzMuMyAxNzMuM2MyLjIgMi4yIDQuNyA0IDcuNCA1LjV2MS45aDQuMmMzLjUgMS4zIDcuMiAyIDExIDJINzA0YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIyNGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNMzUwIDg1Ni4yIDI2My45IDc3MEgzNTB2ODYuMnpNNjY0IDg4OEg0MTRWNzQ2YzAtMjIuMS0xNy45LTQwLTQwLTQwSDIzMlYyNjRoNDMydjYyNHoiLz48L3N2Zz4=",P=e(5602),T=e.n(P),w=e(54996);function j(G){var Me,Qe,Ct="";if(typeof G=="string"||typeof G=="number")Ct+=G;else if(typeof G=="object")if(Array.isArray(G)){var jt=G.length;for(Me=0;MeMe in G?R(G,Me,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):G[Me]=Qe,Ke=(G,Me)=>{for(var Qe in Me||(Me={}))Re.call(Me,Qe)&&Ve(G,Qe,Me[Qe]);if(Ie)for(var Qe of Ie(Me))We.call(Me,Qe)&&Ve(G,Qe,Me[Qe]);return G},Q=(G,Me)=>z(G,q(Me)),ne=(G,Me)=>{var Qe={};for(var Ct in G)Re.call(G,Ct)&&Me.indexOf(Ct)<0&&(Qe[Ct]=G[Ct]);if(G!=null&&Ie)for(var Ct of Ie(G))Me.indexOf(Ct)<0&&We.call(G,Ct)&&(Qe[Ct]=G[Ct]);return Qe},ae=(G,Me)=>function(){return Me||(0,G[J(G)[0]])((Me={exports:{}}).exports,Me),Me.exports},C=(G,Me)=>{for(var Qe in Me)R(G,Qe,{get:Me[Qe],enumerable:!0})},N=(G,Me,Qe,Ct)=>{if(Me&&typeof Me=="object"||typeof Me=="function")for(let jt of J(Me))!Re.call(G,jt)&&jt!==Qe&&R(G,jt,{get:()=>Me[jt],enumerable:!(Ct=K(Me,jt))||Ct.enumerable});return G},X=(G,Me,Qe)=>(Qe=G!=null?A(De(G)):{},N(Me||!G||!G.__esModule?R(Qe,"default",{value:G,enumerable:!0}):Qe,G)),fe=ae({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(G,Me){var Qe=function(){var Ct=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,jt=0,mn={},tn={util:{encode:function _t(It){return It instanceof ln?new ln(It.type,_t(It.content),It.alias):Array.isArray(It)?It.map(_t):It.replace(/&/g,"&").replace(/"+Xt.content+""};function gn(_t,It,Ut,qt){_t.lastIndex=It;var Xt=_t.exec(Ut);if(Xt&&qt&&Xt[1]){var vn=Xt[1].length;Xt.index+=vn,Xt[0]=Xt[0].slice(vn)}return Xt}function cn(_t,It,Ut,qt,Xt,vn){for(var or in Ut)if(!(!Ut.hasOwnProperty(or)||!Ut[or])){var cr=Ut[or];cr=Array.isArray(cr)?cr:[cr];for(var Vr=0;Vr=vn.reach);sa+=hr.value.length,hr=hr.next){var Ma=hr.value;if(It.length>_t.length)return;if(!(Ma instanceof ln)){var Or=1,Ga;if(Na){if(Ga=gn(pa,sa,_t,Sa),!Ga||Ga.index>=_t.length)break;var Ao=Ga.index,Pi=Ga.index+Ga[0].length,xo=sa;for(xo+=hr.value.length;Ao>=xo;)hr=hr.next,xo+=hr.value.length;if(xo-=hr.value.length,sa=xo,hr.value instanceof ln)continue;for(var Zo=hr;Zo!==It.tail&&(xovn.reach&&(vn.reach=io);var vo=hr.prev;po&&(vo=pn(It,vo,po),sa+=po.length),ar(It,vo,Or);var To=new ln(or,zr?tn.tokenize(Co,zr):Co,Da,Co);if(hr=pn(It,vo,To),oo&&pn(It,hr,oo),Or>1){var uo={cause:or+","+Vr,reach:io};cn(_t,It,Ut,hr.prev,sa,uo),vn&&uo.reach>vn.reach&&(vn.reach=uo.reach)}}}}}}function Tn(){var _t={value:null,prev:null,next:null},It={value:null,prev:_t,next:null};_t.next=It,this.head=_t,this.tail=It,this.length=0}function pn(_t,It,Ut){var qt=It.next,Xt={value:Ut,prev:It,next:qt};return It.next=Xt,qt.prev=Xt,_t.length++,Xt}function ar(_t,It,Ut){for(var qt=It.next,Xt=0;Xt/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},k.languages.markup.tag.inside["attr-value"].inside.entity=k.languages.markup.entity,k.languages.markup.doctype.inside["internal-subset"].inside=k.languages.markup,k.hooks.add("wrap",function(G){G.type==="entity"&&(G.attributes.title=G.content.replace(/&/,"&"))}),Object.defineProperty(k.languages.markup.tag,"addInlined",{value:function(G,Ct){var Qe={},Qe=(Qe["language-"+Ct]={pattern:/(^$)/i,lookbehind:!0,inside:k.languages[Ct]},Qe.cdata=/^$/i,{"included-cdata":{pattern://i,inside:Qe}}),Ct=(Qe["language-"+Ct]={pattern:/[\s\S]+/,inside:k.languages[Ct]},{});Ct[G]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return G}),"i"),lookbehind:!0,greedy:!0,inside:Qe},k.languages.insertBefore("markup","cdata",Ct)}}),Object.defineProperty(k.languages.markup.tag,"addAttribute",{value:function(G,Me){k.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+G+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[Me,"language-"+Me],inside:k.languages[Me]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),k.languages.html=k.languages.markup,k.languages.mathml=k.languages.markup,k.languages.svg=k.languages.markup,k.languages.xml=k.languages.extend("markup",{}),k.languages.ssml=k.languages.xml,k.languages.atom=k.languages.xml,k.languages.rss=k.languages.xml,function(G){var Me={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},Qe=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,Ct="(?:[^\\\\-]|"+Qe.source+")",Ct=RegExp(Ct+"-"+Ct),jt={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};G.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:Ct,inside:{escape:Qe,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":Me,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:Qe}},"special-escape":Me,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":jt}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:Qe,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},k.languages.javascript=k.languages.extend("clike",{"class-name":[k.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),k.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,k.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:k.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:k.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:k.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:k.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:k.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),k.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:k.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),k.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),k.languages.markup&&(k.languages.markup.tag.addInlined("script","javascript"),k.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),k.languages.js=k.languages.javascript,k.languages.actionscript=k.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),k.languages.actionscript["class-name"].alias="function",delete k.languages.actionscript.parameter,delete k.languages.actionscript["literal-property"],k.languages.markup&&k.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:k.languages.markup}}),function(G){var Me=/#(?!\{).+/,Qe={pattern:/#\{[^}]+\}/,alias:"variable"};G.languages.coffeescript=G.languages.extend("javascript",{comment:Me,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:Qe}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),G.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:Me,interpolation:Qe}}}),G.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:G.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:Qe}}]}),G.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete G.languages.coffeescript["template-string"],G.languages.coffee=G.languages.coffeescript}(k),function(G){var Me=G.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(Me,"addSupport",{value:function(Qe,Ct){(Qe=typeof Qe=="string"?[Qe]:Qe).forEach(function(jt){var mn=function(pn){pn.inside||(pn.inside={}),pn.inside.rest=Ct},tn="doc-comment";if(ln=G.languages[jt]){var ln,gn=ln[tn];if((gn=gn||(ln=G.languages.insertBefore(jt,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[tn])instanceof RegExp&&(gn=ln[tn]={pattern:gn}),Array.isArray(gn))for(var cn=0,Tn=gn.length;cn|\+|~|\|\|/,punctuation:/[(),]/}},G.languages.css.atrule.inside["selector-function-argument"].inside=Me,G.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),Qe={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};G.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:Me,number:Qe,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:Me,number:Qe})}(k),function(G){var Me=/[*&][^\s[\]{},]+/,Qe=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,Ct="(?:"+Qe.source+"(?:[ ]+"+Me.source+")?|"+Me.source+"(?:[ ]+"+Qe.source+")?)",jt=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),mn=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function tn(ln,gn){gn=(gn||"").replace(/m/g,"")+"m";var cn=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return Ct}).replace(/<>/g,function(){return ln});return RegExp(cn,gn)}G.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return Ct})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return Ct}).replace(/<>/g,function(){return"(?:"+jt+"|"+mn+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:tn(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:tn(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:tn(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:tn(mn),lookbehind:!0,greedy:!0},number:{pattern:tn(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:Qe,important:Me,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},G.languages.yml=G.languages.yaml}(k),function(G){var Me=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function Qe(cn){return cn=cn.replace(//g,function(){return Me}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+cn+")")}var Ct=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,jt=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return Ct}),mn=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,tn=(G.languages.markdown=G.languages.extend("markup",{}),G.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:G.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+jt+mn+"(?:"+jt+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+jt+mn+")(?:"+jt+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(Ct),inside:G.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+jt+")"+mn+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+jt+"$"),inside:{"table-header":{pattern:RegExp(Ct),alias:"important",inside:G.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:Qe(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:Qe(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:Qe(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:Qe(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(cn){["url","bold","italic","strike","code-snippet"].forEach(function(Tn){cn!==Tn&&(G.languages.markdown[cn].inside.content.inside[Tn]=G.languages.markdown[Tn])})}),G.hooks.add("after-tokenize",function(cn){cn.language!=="markdown"&&cn.language!=="md"||function Tn(pn){if(pn&&typeof pn!="string")for(var ar=0,wr=pn.length;ar",quot:'"'},gn=String.fromCodePoint||String.fromCharCode;G.languages.md=G.languages.markdown}(k),k.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:k.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},k.hooks.add("after-tokenize",function(G){if(G.language==="graphql")for(var Me=G.tokens.filter(function(_t){return typeof _t!="string"&&_t.type!=="comment"&&_t.type!=="scalar"}),Qe=0;Qe?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(G){var Me=G.languages.javascript["template-string"],Qe=Me.pattern.source,Ct=Me.inside.interpolation,jt=Ct.inside["interpolation-punctuation"],mn=Ct.pattern.source;function tn(pn,ar){if(G.languages[pn])return{pattern:RegExp("((?:"+ar+")\\s*)"+Qe),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:pn}}}}function ln(pn,ar,wr){return pn={code:pn,grammar:ar,language:wr},G.hooks.run("before-tokenize",pn),pn.tokens=G.tokenize(pn.code,pn.grammar),G.hooks.run("after-tokenize",pn),pn.tokens}function gn(pn,ar,wr){var Ut=G.tokenize(pn,{interpolation:{pattern:RegExp(mn),lookbehind:!0}}),_t=0,It={},Ut=ln(Ut.map(function(Xt){if(typeof Xt=="string")return Xt;for(var vn,or,Xt=Xt.content;pn.indexOf((or=_t++,vn="___"+wr.toUpperCase()+"_"+or+"___"))!==-1;);return It[vn]=Xt,vn}).join(""),ar,wr),qt=Object.keys(It);return _t=0,function Xt(vn){for(var or=0;or=qt.length)return;var cr,Vr,jr,zr,Sa,Na,Da,Fr=vn[or];typeof Fr=="string"||typeof Fr.content=="string"?(cr=qt[_t],(Da=(Na=typeof Fr=="string"?Fr:Fr.content).indexOf(cr))!==-1&&(++_t,Vr=Na.substring(0,Da),Sa=It[cr],jr=void 0,(zr={})["interpolation-punctuation"]=jt,(zr=G.tokenize(Sa,zr)).length===3&&((jr=[1,1]).push.apply(jr,ln(zr[1],G.languages.javascript,"javascript")),zr.splice.apply(zr,jr)),jr=new G.Token("interpolation",zr,Ct.alias,Sa),zr=Na.substring(Da+cr.length),Sa=[],Vr&&Sa.push(Vr),Sa.push(jr),zr&&(Xt(Na=[zr]),Sa.push.apply(Sa,Na)),typeof Fr=="string"?(vn.splice.apply(vn,[or,1].concat(Sa)),or+=Sa.length-1):Fr.content=Sa)):(Da=Fr.content,Array.isArray(Da)?Xt(Da):Xt([Da]))}}(Ut),new G.Token(wr,Ut,"language-"+wr,pn)}G.languages.javascript["template-string"]=[tn("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),tn("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),tn("svg",/\bsvg/.source),tn("markdown",/\b(?:markdown|md)/.source),tn("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),tn("sql",/\bsql/.source),Me].filter(Boolean);var cn={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function Tn(pn){return typeof pn=="string"?pn:Array.isArray(pn)?pn.map(Tn).join(""):Tn(pn.content)}G.hooks.add("after-tokenize",function(pn){pn.language in cn&&function ar(wr){for(var _t=0,It=wr.length;_t]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),G.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete G.languages.typescript.parameter,delete G.languages.typescript["literal-property"];var Me=G.languages.extend("typescript",{});delete Me["class-name"],G.languages.typescript["class-name"].inside=Me,G.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:Me}}}}),G.languages.ts=G.languages.typescript}(k),function(G){var Me=G.languages.javascript,Qe=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,Ct="(@(?:arg|argument|param|property)\\s+(?:"+Qe+"\\s+)?)";G.languages.jsdoc=G.languages.extend("javadoclike",{parameter:{pattern:RegExp(Ct+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),G.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(Ct+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:Me,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return Qe})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+Qe),lookbehind:!0,inside:{string:Me.string,number:Me.number,boolean:Me.boolean,keyword:G.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:Me,alias:"language-javascript"}}}}),G.languages.javadoclike.addSupport("javascript",G.languages.jsdoc)}(k),function(G){G.languages.flow=G.languages.extend("javascript",{}),G.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),G.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete G.languages.flow.parameter,G.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(G.languages.flow.keyword)||(G.languages.flow.keyword=[G.languages.flow.keyword]),G.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(k),k.languages.n4js=k.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),k.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),k.languages.n4jsd=k.languages.n4js,function(G){function Me(tn,ln){return RegExp(tn.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),ln)}G.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+G.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),G.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+G.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),G.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),G.languages.insertBefore("javascript","keyword",{imports:{pattern:Me(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:G.languages.javascript},exports:{pattern:Me(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:G.languages.javascript}}),G.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),G.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),G.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:Me(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var Qe=["function","function-variable","method","method-variable","property-access"],Ct=0;Ct*\.{3}(?:[^{}]|)*\})/.source;function mn(gn,cn){return gn=gn.replace(//g,function(){return Qe}).replace(//g,function(){return Ct}).replace(//g,function(){return jt}),RegExp(gn,cn)}jt=mn(jt).source,G.languages.jsx=G.languages.extend("markup",Me),G.languages.jsx.tag.pattern=mn(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),G.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,G.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,G.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,G.languages.jsx.tag.inside.comment=Me.comment,G.languages.insertBefore("inside","attr-name",{spread:{pattern:mn(//.source),inside:G.languages.jsx}},G.languages.jsx.tag),G.languages.insertBefore("inside","special-attr",{script:{pattern:mn(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:G.languages.jsx}}},G.languages.jsx.tag);function tn(gn){for(var cn=[],Tn=0;Tn"&&cn.push({tagName:ln(pn.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},k.languages.swift["string-literal"].forEach(function(G){G.inside.interpolation.inside=k.languages.swift}),function(G){G.languages.kotlin=G.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete G.languages.kotlin["class-name"];var Me={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:G.languages.kotlin}};G.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:Me},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:Me},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete G.languages.kotlin.string,G.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),G.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),G.languages.kt=G.languages.kotlin,G.languages.kts=G.languages.kotlin}(k),k.languages.c=k.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),k.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),k.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},k.languages.c.string],char:k.languages.c.char,comment:k.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:k.languages.c}}}}),k.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete k.languages.c.boolean,k.languages.objectivec=k.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete k.languages.objectivec["class-name"],k.languages.objc=k.languages.objectivec,k.languages.reason=k.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),k.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete k.languages.reason.function,function(G){for(var Me=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,Qe=0;Qe<2;Qe++)Me=Me.replace(//g,function(){return Me});Me=Me.replace(//g,function(){return/[^\s\S]/.source}),G.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+Me),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},G.languages.rust["closure-params"].inside.rest=G.languages.rust,G.languages.rust.attribute.inside.string=G.languages.rust.string}(k),k.languages.go=k.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),k.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete k.languages.go["class-name"],function(G){var Me=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,Qe=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return Me.source});G.languages.cpp=G.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return Me.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:Me,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),G.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return Qe})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),G.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:G.languages.cpp}}}}),G.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),G.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:G.languages.extend("cpp",{})}}),G.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},G.languages.cpp["base-clause"])}(k),k.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},k.languages.python["string-interpolation"].inside.interpolation.inside.rest=k.languages.python,k.languages.py=k.languages.python;var $={};C($,{dracula:()=>ye,duotoneDark:()=>Le,duotoneLight:()=>an,github:()=>Rn,jettwaveDark:()=>Ne,jettwaveLight:()=>ut,nightOwl:()=>Fn,nightOwlLight:()=>xt,oceanicNext:()=>Ht,okaidia:()=>$e,oneDark:()=>mt,oneLight:()=>kt,palenight:()=>Ee,shadesOfPurple:()=>tt,synthwave84:()=>ce,ultramin:()=>st,vsDark:()=>bt,vsLight:()=>V});var Z={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},ye=Z,lt={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},Le=lt,Dt={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},an=Dt,sn={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},Rn=sn,An={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Fn=An,Xe={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},xt=Xe,vt={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},ot={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:vt.keyword}},{types:["attr-value"],style:{color:vt.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:vt.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:vt.primitive}},{types:["boolean"],style:{color:vt.boolean}},{types:["tag"],style:{color:vt.tag}},{types:["string"],style:{color:vt.string}},{types:["punctuation"],style:{color:vt.string}},{types:["selector","char","builtin","inserted"],style:{color:vt.char}},{types:["function"],style:{color:vt.function}},{types:["operator","entity","url","variable"],style:{color:vt.variable}},{types:["keyword"],style:{color:vt.keyword}},{types:["atrule","class-name"],style:{color:vt.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},Ht=ot,ke={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},$e=ke,qe={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},Ee=qe,Pe={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},tt=Pe,nt={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ce=nt,Ue={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},st=Ue,Je={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},bt=Je,I={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},V=I,we={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Ne=we,et={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ut=et,ze={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},mt=ze,Et={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},kt=Et,Mt=(G,Me)=>{const{plain:Qe}=G,Ct=G.styles.reduce((jt,mn)=>{const{languages:tn,style:ln}=mn;return tn&&!tn.includes(Me)||mn.types.forEach(gn=>{const cn=Ke(Ke({},jt[gn]),ln);jt[gn]=cn}),jt},{});return Ct.root=Qe,Ct.plain=Q(Ke({},Qe),{backgroundColor:void 0}),Ct},Te=Mt,gt=(G,Me)=>{const[Qe,Ct]=(0,d.useState)(Te(Me,G)),jt=(0,d.useRef)(),mn=(0,d.useRef)();return(0,d.useEffect)(()=>{(Me!==jt.current||G!==mn.current)&&(jt.current=Me,mn.current=G,Ct(Te(Me,G)))},[G,Me]),Qe},at=G=>(0,d.useCallback)(Me=>{var Qe=Me,{className:Ct,style:jt,line:mn}=Qe,tn=ne(Qe,["className","style","line"]);const ln=Q(Ke({},tn),{className:B("token-line",Ct)});return typeof G=="object"&&"plain"in G&&(ln.style=G.plain),typeof jt=="object"&&(ln.style=Ke(Ke({},ln.style||{}),jt)),ln},[G]),He=G=>{const Me=(0,d.useCallback)(({types:Qe,empty:Ct})=>{if(G!=null){{if(Qe.length===1&&Qe[0]==="plain")return Ct!=null?{display:"inline-block"}:void 0;if(Qe.length===1&&Ct!=null)return G[Qe[0]]}return Object.assign(Ct!=null?{display:"inline-block"}:{},...Qe.map(jt=>G[jt]))}},[G]);return(0,d.useCallback)(Qe=>{var Ct=Qe,{token:jt,className:mn,style:tn}=Ct,ln=ne(Ct,["token","className","style"]);const gn=Q(Ke({},ln),{className:B("token",...jt.types,mn),children:jt.content,style:Me(jt)});return tn!=null&&(gn.style=Ke(Ke({},gn.style||{}),tn)),gn},[Me])},St=/\r\n|\r|\n/,At=G=>{G.length===0?G.push({types:["plain"],content:` `,empty:!0}):G.length===1&&G[0].content===""&&(G[0].content=` -`,G[0].empty=!0)},Kt=(G,Me)=>{const Qe=G.length;return Qe>0&&G[Qe-1]===Me?G:G.concat(Me)},nn=G=>{const Me=[[]],Qe=[G],Ct=[0],jt=[G.length];let mn=0,tn=0,ln=[];const gn=[ln];for(;tn>-1;){for(;(mn=Ct[tn]++)0?Tn:["plain"],cn=ar):(Tn=Kt(Tn,ar.type),ar.alias&&(Tn=Kt(Tn,ar.alias)),cn=ar.content),typeof cn!="string"){tn++,Me.push(Tn),Qe.push(cn),Ct.push(0),jt.push(cn.length);continue}const wr=cn.split(St),_t=wr.length;ln.push({types:Tn,content:wr[0]});for(let It=1;It<_t;It++)At(ln),gn.push(ln=[]),ln.push({types:Tn,content:wr[It]})}tn--,Me.pop(),Qe.pop(),Ct.pop(),jt.pop()}return At(ln),gn},Cn=nn,nr=({prism:G,code:Me,grammar:Qe,language:Ct})=>{const jt=(0,d.useRef)(G);return(0,d.useMemo)(()=>{if(Qe==null)return Cn([Me]);const mn={code:Me,grammar:Qe,language:Ct,tokens:[]};return jt.current.hooks.run("before-tokenize",mn),mn.tokens=jt.current.tokenize(Me,Qe),jt.current.hooks.run("after-tokenize",mn),Cn(mn.tokens)},[Me,Qe,Ct])},Gn=({children:G,language:Me,code:Qe,theme:Ct,prism:jt})=>{const mn=Me.toLowerCase(),tn=gt(mn,Ct),ln=at(tn),gn=He(tn),cn=jt.languages[mn],Tn=nr({prism:jt,language:mn,code:Qe,grammar:cn});return G({tokens:Tn,className:`prism-code language-${mn}`,style:tn!=null?tn.root:{},getLineProps:ln,getTokenProps:gn})},dr=G=>(0,d.createElement)(Gn,Y(Ke({},G),{prism:G.prism||k,theme:G.theme||bt,code:G.code,language:G.language}));var Cr=e(73191),Tr=e(35250),ya=dr,Gr=k,Gt=$,wt={Prism:Gr,theme:Gt.oneLight},$t={acss:"css",axml:"markup"},Pn=function(Me){var Qe=Me.children,Ct=Qe===void 0?"":Qe,jt=Me.lang,mn=Me.highlightLines,tn=mn===void 0?[]:mn,ln=(0,d.useRef)(),gn=(0,d.useState)(!1),cn=s()(gn,2),Tn=cn[0],pn=cn[1],ar=(0,d.useState)(Ct),wr=s()(ar,2),_t=wr[0],It=wr[1],Ut=(0,w.WF)(),qt=Ut.themeConfig;return(0,d.useEffect)(function(){var Xt=/shellscript|shell|bash|sh|zsh/.test(jt);if(Xt){var vn=Ct.replace(/^(\$|>)\s/gm,"");It(vn)}},[jt,Ct]),(0,Tr.jsxs)("div",{className:"dumi-default-source-code",children:[(0,Tr.jsx)(Cr.CopyToClipboard,{text:_t,onCopy:function(){pn(!0),clearTimeout(ln.current),ln.current=window.setTimeout(function(){return pn(!1)},2e3)},children:(0,Tr.jsx)("button",{type:"button",className:"dumi-default-source-code-copy","data-copied":Tn||void 0,children:Tn?(0,Tr.jsx)(f.r,{}):(0,Tr.jsx)(g,{})})}),(0,Tr.jsx)(ya,a()(a()({code:Ct.trim(),language:$t[jt]||jt,theme:void 0},wt),{},{children:function(vn){var or=vn.className,cr=vn.style,Vr=vn.tokens,jr=vn.getLineProps,zr=vn.getTokenProps;return(0,Tr.jsx)("pre",{className:or,style:cr,children:Vr.map(function(Sa,Na){return(0,Tr.jsxs)("div",{className:T()({highlighted:tn.includes(Na+1),wrap:qt.showLineNum}),children:[qt.showLineNum&&(0,Tr.jsx)("span",{className:"token-line-num",children:Na+1}),(0,Tr.jsx)("div",a()(a()({},jr({line:Sa,key:Na})),{},{className:T()({"line-cell":qt.showLineNum}),children:Sa.map(function(Da,Fr){return(0,Tr.jsx)("span",a()({},zr({token:Da,key:Fr})))})}))]},String(Na))})})}}))]})},Vn=Pn},30194:function(c,m,e){"use strict";e.d(m,{f:function(){return y},m:function(){return d}});var i=e(26851),a=e.n(i),r=e(39114),s=e.n(r),f=e(22827),d,v="/";function y(l){var x;return l.type==="hash"?x=(0,f.q_)():l.type==="memory"?x=(0,f.PP)(l):x=(0,f.lX)(),l.basename&&(v=l.basename),d=s()(s()({},x),{},{push:function(E,P){x.push(u(E,x),P)},replace:function(E,P){x.replace(u(E,x),P)},get location(){return x.location},get action(){return x.action}}),x}function u(l,x){if(typeof l=="string")return"".concat(h(v)).concat(l);if(a()(l)==="object"){var g=x.location.pathname;return s()(s()({},l),{},{pathname:l.pathname?"".concat(h(v)).concat(l.pathname):g})}else throw new Error("Unexpected to: ".concat(l))}function h(l){return l.slice(-1)==="/"?l.slice(0,-1):l}},47278:function(c,m,e){"use strict";e.d(m,{gD:function(){return kt},We:function(){return Mt}});var i={};e.r(i),e.d(i,{modifyClientRenderOpts:function(){return y}});var a={};e.r(a),e.d(a,{innerProvider:function(){return x}});var r={};e.r(r),e.d(r,{patchRoutes:function(){return T}});var s={};e.r(s),e.d(s,{i18nProvider:function(){return we}});var f={};e.r(f),e.d(f,{modifyClientRenderOpts:function(){return Ne}});var d=e(39114),v=e.n(d);function y(Te){var gt=Te.history,at=Te.hydrate;return v()(v()({},Te),{},{hydrate:at&&!["/~demos/:id"].includes(gt.location.pathname)})}var u=e(70079),h=e(27061),l={},x=function(gt){return u.createElement(h.B6,{context:l},gt)},g=e(59710),E=e(8026),P=e.n(E),T=function(gt){var at=gt.routes;Object.values(at).forEach(function(He){if(g.C3[He.id]){var St;if((St=He.meta)!==null&&St!==void 0&&(St=St.frontmatter)!==null&&St!==void 0&&St.debug||g.C3[He.id].frontmatter.debug)delete at[He.id];else{var At;He.meta=P()(He.meta,g.C3[He.id]),He.meta.tabs=(At=He.meta.tabs)===null||At===void 0?void 0:At.map(function(Kt){var nn={frontmatter:{title:g.eA[Kt].title},toc:[],texts:[]};return v()(v()({},g.eA[Kt]),{},{meta:g.C3[Kt]||nn})})}}})},w=e(70125),j=e.n(w),D=e(54996),B=e(58610),A=e(38104),R=e(78060),z=e(28726),K=e(29100),q=e(32666);function X(Te,gt){return Object.keys(Te).reduce(function(at,He){return at[He]=(0,A.pi)({timeZone:gt},Te[He]),at},{})}function Ie(Te,gt){var at=Object.keys((0,A.pi)((0,A.pi)({},Te),gt));return at.reduce(function(He,St){return He[St]=(0,A.pi)((0,A.pi)({},Te[St]||{}),gt[St]||{}),He},{})}function De(Te,gt){if(!gt)return Te;var at=z.C.formats;return(0,A.pi)((0,A.pi)((0,A.pi)({},at),Te),{date:Ie(X(at.date,gt),X(Te.date||{},gt)),time:Ie(X(at.time,gt),X(Te.time||{},gt))})}var Re=function(Te,gt,at,He,St){var At=Te.locale,Kt=Te.formats,nn=Te.messages,Cn=Te.defaultLocale,nr=Te.defaultFormats,Gn=Te.fallbackOnEmptyString,dr=Te.onError,Cr=Te.timeZone,Tr=Te.defaultRichTextElements;at===void 0&&(at={id:""});var ya=at.id,Gr=at.defaultMessage;(0,R.kG)(!!ya,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var Gt=String(ya),wt=nn&&Object.prototype.hasOwnProperty.call(nn,Gt)&&nn[Gt];if(Array.isArray(wt)&&wt.length===1&&wt[0].type===q.wD.literal)return wt[0].value;if(!He&&wt&&typeof wt=="string"&&!Tr)return wt.replace(/'\{(.*?)\}'/gi,"{$1}");if(He=(0,A.pi)((0,A.pi)({},Tr),He||{}),Kt=De(Kt,Cr),nr=De(nr,Cr),!wt){if(Gn===!1&&wt==="")return wt;if((!Gr||At&&At.toLowerCase()!==Cn.toLowerCase())&&dr(new K.$6(at,At)),Gr)try{var $t=gt.getMessageFormat(Gr,Cn,nr,St);return $t.format(He)}catch(Pn){return dr(new K.X9('Error formatting default message for: "'.concat(Gt,'", rendering default message verbatim'),At,at,Pn)),typeof Gr=="string"?Gr:Gt}return Gt}try{var $t=gt.getMessageFormat(wt,At,Kt,(0,A.pi)({formatters:gt},St||{}));return $t.format(He)}catch(Pn){dr(new K.X9('Error formatting message: "'.concat(Gt,'", using ').concat(Gr?"default message":"id"," as fallback."),At,at,Pn))}if(Gr)try{var $t=gt.getMessageFormat(Gr,Cn,nr,St);return $t.format(He)}catch(Pn){dr(new K.X9('Error formatting the default message for: "'.concat(Gt,'", rendering message verbatim'),At,at,Pn))}return typeof wt=="string"?wt:typeof Gr=="string"?Gr:Gt},We=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Ve(Te,gt,at){var He=Te.locale,St=Te.formats,At=Te.onError;at===void 0&&(at={});var Kt=at.format,nn=Kt&&(0,B.TB)(St,"number",Kt,At)||{},Cn=(0,B.L6)(at,We,nn);return gt(He,Cn)}function Ke(Te,gt,at,He){He===void 0&&(He={});try{return Ve(Te,gt,He).format(at)}catch(St){Te.onError(new K.Qe("Error formatting number.",Te.locale,St))}return String(at)}function Y(Te,gt,at,He){He===void 0&&(He={});try{return Ve(Te,gt,He).formatToParts(at)}catch(St){Te.onError(new K.Qe("Error formatting number.",Te.locale,St))}return[]}var re=e(6477),oe=["numeric","style"];function C(Te,gt,at){var He=Te.locale,St=Te.formats,At=Te.onError;at===void 0&&(at={});var Kt=at.format,nn=!!Kt&&(0,B.TB)(St,"relative",Kt,At)||{},Cn=(0,B.L6)(at,oe,nn);return gt(He,Cn)}function N(Te,gt,at,He,St){St===void 0&&(St={}),He||(He="second");var At=Intl.RelativeTimeFormat;At||Te.onError(new re.u_(`Intl.RelativeTimeFormat is not available in this environment. +`,G[0].empty=!0)},Kt=(G,Me)=>{const Qe=G.length;return Qe>0&&G[Qe-1]===Me?G:G.concat(Me)},nn=G=>{const Me=[[]],Qe=[G],Ct=[0],jt=[G.length];let mn=0,tn=0,ln=[];const gn=[ln];for(;tn>-1;){for(;(mn=Ct[tn]++)0?Tn:["plain"],cn=ar):(Tn=Kt(Tn,ar.type),ar.alias&&(Tn=Kt(Tn,ar.alias)),cn=ar.content),typeof cn!="string"){tn++,Me.push(Tn),Qe.push(cn),Ct.push(0),jt.push(cn.length);continue}const wr=cn.split(St),_t=wr.length;ln.push({types:Tn,content:wr[0]});for(let It=1;It<_t;It++)At(ln),gn.push(ln=[]),ln.push({types:Tn,content:wr[It]})}tn--,Me.pop(),Qe.pop(),Ct.pop(),jt.pop()}return At(ln),gn},Cn=nn,nr=({prism:G,code:Me,grammar:Qe,language:Ct})=>{const jt=(0,d.useRef)(G);return(0,d.useMemo)(()=>{if(Qe==null)return Cn([Me]);const mn={code:Me,grammar:Qe,language:Ct,tokens:[]};return jt.current.hooks.run("before-tokenize",mn),mn.tokens=jt.current.tokenize(Me,Qe),jt.current.hooks.run("after-tokenize",mn),Cn(mn.tokens)},[Me,Qe,Ct])},Gn=({children:G,language:Me,code:Qe,theme:Ct,prism:jt})=>{const mn=Me.toLowerCase(),tn=gt(mn,Ct),ln=at(tn),gn=He(tn),cn=jt.languages[mn],Tn=nr({prism:jt,language:mn,code:Qe,grammar:cn});return G({tokens:Tn,className:`prism-code language-${mn}`,style:tn!=null?tn.root:{},getLineProps:ln,getTokenProps:gn})},dr=G=>(0,d.createElement)(Gn,Q(Ke({},G),{prism:G.prism||k,theme:G.theme||bt,code:G.code,language:G.language}));var Cr=e(73191),Tr=e(35250),ya=dr,Gr=k,Gt=$,wt={Prism:Gr,theme:Gt.oneLight},$t={acss:"css",axml:"markup"},Pn=function(Me){var Qe=Me.children,Ct=Qe===void 0?"":Qe,jt=Me.lang,mn=Me.highlightLines,tn=mn===void 0?[]:mn,ln=(0,d.useRef)(),gn=(0,d.useState)(!1),cn=s()(gn,2),Tn=cn[0],pn=cn[1],ar=(0,d.useState)(Ct),wr=s()(ar,2),_t=wr[0],It=wr[1],Ut=(0,w.WF)(),qt=Ut.themeConfig;return(0,d.useEffect)(function(){var Xt=/shellscript|shell|bash|sh|zsh/.test(jt);if(Xt){var vn=Ct.replace(/^(\$|>)\s/gm,"");It(vn)}},[jt,Ct]),(0,Tr.jsxs)("div",{className:"dumi-default-source-code",children:[(0,Tr.jsx)(Cr.CopyToClipboard,{text:_t,onCopy:function(){pn(!0),clearTimeout(ln.current),ln.current=window.setTimeout(function(){return pn(!1)},2e3)},children:(0,Tr.jsx)("button",{type:"button",className:"dumi-default-source-code-copy","data-copied":Tn||void 0,children:Tn?(0,Tr.jsx)(f.r,{}):(0,Tr.jsx)(g,{})})}),(0,Tr.jsx)(ya,a()(a()({code:Ct.trim(),language:$t[jt]||jt,theme:void 0},wt),{},{children:function(vn){var or=vn.className,cr=vn.style,Vr=vn.tokens,jr=vn.getLineProps,zr=vn.getTokenProps;return(0,Tr.jsx)("pre",{className:or,style:cr,children:Vr.map(function(Sa,Na){return(0,Tr.jsxs)("div",{className:T()({highlighted:tn.includes(Na+1),wrap:qt.showLineNum}),children:[qt.showLineNum&&(0,Tr.jsx)("span",{className:"token-line-num",children:Na+1}),(0,Tr.jsx)("div",a()(a()({},jr({line:Sa,key:Na})),{},{className:T()({"line-cell":qt.showLineNum}),children:Sa.map(function(Da,Fr){return(0,Tr.jsx)("span",a()({},zr({token:Da,key:Fr})))})}))]},String(Na))})})}}))]})},Vn=Pn},30194:function(c,m,e){"use strict";e.d(m,{f:function(){return y},m:function(){return d}});var i=e(26851),a=e.n(i),r=e(39114),s=e.n(r),f=e(22827),d,v="/";function y(l){var x;return l.type==="hash"?x=(0,f.q_)():l.type==="memory"?x=(0,f.PP)(l):x=(0,f.lX)(),l.basename&&(v=l.basename),d=s()(s()({},x),{},{push:function(E,P){x.push(u(E,x),P)},replace:function(E,P){x.replace(u(E,x),P)},get location(){return x.location},get action(){return x.action}}),x}function u(l,x){if(typeof l=="string")return"".concat(h(v)).concat(l);if(a()(l)==="object"){var g=x.location.pathname;return s()(s()({},l),{},{pathname:l.pathname?"".concat(h(v)).concat(l.pathname):g})}else throw new Error("Unexpected to: ".concat(l))}function h(l){return l.slice(-1)==="/"?l.slice(0,-1):l}},47278:function(c,m,e){"use strict";e.d(m,{gD:function(){return kt},We:function(){return Mt}});var i={};e.r(i),e.d(i,{modifyClientRenderOpts:function(){return y}});var a={};e.r(a),e.d(a,{innerProvider:function(){return x}});var r={};e.r(r),e.d(r,{patchRoutes:function(){return T}});var s={};e.r(s),e.d(s,{i18nProvider:function(){return we}});var f={};e.r(f),e.d(f,{modifyClientRenderOpts:function(){return Ne}});var d=e(39114),v=e.n(d);function y(Te){var gt=Te.history,at=Te.hydrate;return v()(v()({},Te),{},{hydrate:at&&!["/~demos/:id"].includes(gt.location.pathname)})}var u=e(70079),h=e(27061),l={},x=function(gt){return u.createElement(h.B6,{context:l},gt)},g=e(59710),E=e(8026),P=e.n(E),T=function(gt){var at=gt.routes;Object.values(at).forEach(function(He){if(g.C3[He.id]){var St;if((St=He.meta)!==null&&St!==void 0&&(St=St.frontmatter)!==null&&St!==void 0&&St.debug||g.C3[He.id].frontmatter.debug)delete at[He.id];else{var At;He.meta=P()(He.meta,g.C3[He.id]),He.meta.tabs=(At=He.meta.tabs)===null||At===void 0?void 0:At.map(function(Kt){var nn={frontmatter:{title:g.eA[Kt].title},toc:[],texts:[]};return v()(v()({},g.eA[Kt]),{},{meta:g.C3[Kt]||nn})})}}})},w=e(70125),j=e.n(w),D=e(54996),B=e(58610),A=e(38104),R=e(78060),z=e(28726),K=e(29100),q=e(32666);function J(Te,gt){return Object.keys(Te).reduce(function(at,He){return at[He]=(0,A.pi)({timeZone:gt},Te[He]),at},{})}function Ie(Te,gt){var at=Object.keys((0,A.pi)((0,A.pi)({},Te),gt));return at.reduce(function(He,St){return He[St]=(0,A.pi)((0,A.pi)({},Te[St]||{}),gt[St]||{}),He},{})}function De(Te,gt){if(!gt)return Te;var at=z.C.formats;return(0,A.pi)((0,A.pi)((0,A.pi)({},at),Te),{date:Ie(J(at.date,gt),J(Te.date||{},gt)),time:Ie(J(at.time,gt),J(Te.time||{},gt))})}var Re=function(Te,gt,at,He,St){var At=Te.locale,Kt=Te.formats,nn=Te.messages,Cn=Te.defaultLocale,nr=Te.defaultFormats,Gn=Te.fallbackOnEmptyString,dr=Te.onError,Cr=Te.timeZone,Tr=Te.defaultRichTextElements;at===void 0&&(at={id:""});var ya=at.id,Gr=at.defaultMessage;(0,R.kG)(!!ya,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var Gt=String(ya),wt=nn&&Object.prototype.hasOwnProperty.call(nn,Gt)&&nn[Gt];if(Array.isArray(wt)&&wt.length===1&&wt[0].type===q.wD.literal)return wt[0].value;if(!He&&wt&&typeof wt=="string"&&!Tr)return wt.replace(/'\{(.*?)\}'/gi,"{$1}");if(He=(0,A.pi)((0,A.pi)({},Tr),He||{}),Kt=De(Kt,Cr),nr=De(nr,Cr),!wt){if(Gn===!1&&wt==="")return wt;if((!Gr||At&&At.toLowerCase()!==Cn.toLowerCase())&&dr(new K.$6(at,At)),Gr)try{var $t=gt.getMessageFormat(Gr,Cn,nr,St);return $t.format(He)}catch(Pn){return dr(new K.X9('Error formatting default message for: "'.concat(Gt,'", rendering default message verbatim'),At,at,Pn)),typeof Gr=="string"?Gr:Gt}return Gt}try{var $t=gt.getMessageFormat(wt,At,Kt,(0,A.pi)({formatters:gt},St||{}));return $t.format(He)}catch(Pn){dr(new K.X9('Error formatting message: "'.concat(Gt,'", using ').concat(Gr?"default message":"id"," as fallback."),At,at,Pn))}if(Gr)try{var $t=gt.getMessageFormat(Gr,Cn,nr,St);return $t.format(He)}catch(Pn){dr(new K.X9('Error formatting the default message for: "'.concat(Gt,'", rendering message verbatim'),At,at,Pn))}return typeof wt=="string"?wt:typeof Gr=="string"?Gr:Gt},We=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Ve(Te,gt,at){var He=Te.locale,St=Te.formats,At=Te.onError;at===void 0&&(at={});var Kt=at.format,nn=Kt&&(0,B.TB)(St,"number",Kt,At)||{},Cn=(0,B.L6)(at,We,nn);return gt(He,Cn)}function Ke(Te,gt,at,He){He===void 0&&(He={});try{return Ve(Te,gt,He).format(at)}catch(St){Te.onError(new K.Qe("Error formatting number.",Te.locale,St))}return String(at)}function Q(Te,gt,at,He){He===void 0&&(He={});try{return Ve(Te,gt,He).formatToParts(at)}catch(St){Te.onError(new K.Qe("Error formatting number.",Te.locale,St))}return[]}var ne=e(6477),ae=["numeric","style"];function C(Te,gt,at){var He=Te.locale,St=Te.formats,At=Te.onError;at===void 0&&(at={});var Kt=at.format,nn=!!Kt&&(0,B.TB)(St,"relative",Kt,At)||{},Cn=(0,B.L6)(at,ae,nn);return gt(He,Cn)}function N(Te,gt,at,He,St){St===void 0&&(St={}),He||(He="second");var At=Intl.RelativeTimeFormat;At||Te.onError(new ne.u_(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`,re.jK.MISSING_INTL_API));try{return C(Te,gt,St).format(at,He)}catch(Kt){Te.onError(new K.Qe("Error formatting relative time.",Te.locale,Kt))}return String(at)}var Q=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function fe(Te,gt,at,He){var St=Te.locale,At=Te.formats,Kt=Te.onError,nn=Te.timeZone;He===void 0&&(He={});var Cn=He.format,nr=(0,A.pi)((0,A.pi)({},nn&&{timeZone:nn}),Cn&&(0,B.TB)(At,gt,Cn,Kt)),Gn=(0,B.L6)(He,Q,nr);return gt==="time"&&!Gn.hour&&!Gn.minute&&!Gn.second&&!Gn.timeStyle&&!Gn.dateStyle&&(Gn=(0,A.pi)((0,A.pi)({},Gn),{hour:"numeric",minute:"numeric"})),at(St,Gn)}function k(Te,gt){for(var at=[],He=2;He0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return O.length!==M.length||O.some((L,he)=>!Object.is(L,M[he]))}function D(O){if(O==null||typeof O.didCatch!="boolean"||typeof O.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found")}function B(){const O=useContext(P);D(O);const[M,L]=useState({error:null,hasError:!1}),he=useMemo(()=>({resetBoundary:()=>{O.resetErrorBoundary(),L({error:null,hasError:!1})},showBoundary:ee=>L({error:ee,hasError:!0})}),[O.resetErrorBoundary]);if(M.hasError)throw M.error;return he}function A(O,M){const L=forwardRef((ee,dt)=>createElement(w,M,createElement(O,Wc(Zc({},ee),{ref:dt})))),he=O.displayName||O.name||"Unknown";return L.displayName="withErrorBoundary(".concat(he,")"),L}function R(){return R=Object.assign?Object.assign.bind():function(O){for(var M=1;MO.length)&&(M=O.length);for(var L=0,he=new Array(M);L1&&(typeof window=="undefined"||window.innerWidth>1024)){for(var er=0;erO.length)&&(M=O.length);for(var L=0,he=new Array(M);LO.length)&&(M=O.length);for(var L=0,he=new Array(M);LO.length)&&(M=O.length);for(var L=0,he=new Array(M);L
',isBinary:!1},Ot[xn]={content:(0,Xe.AM)(Bt.react),isBinary:!1};var Yn=Xe.EV.applyPlugins({type:i.Ac.modify,key:"modifyCodeSandboxData",initialValue:{files:Ot},args:O});return(0,Fn.Z)(Yn)}var Pe=function(M,L){var he,ee=document.createElement("form"),dt=document.createElement("input"),ft=Ee(M);ee.method="POST",ee.target="_blank",ee.style.display="none",ee.action=(L==null?void 0:L.api)||qe,ee.appendChild(dt),ee.setAttribute("data-demo",((he=M.assets)===null||he===void 0?void 0:he.id)||""),dt.name="parameters",dt.value=ft,document.body.appendChild(ee),ee.submit(),ee.remove()},tt=e(39114),nt=e.n(tt),de=e(77937),Ue=e.n(de),st=e(41176),Je=e.n(st),bt=e(26851),I=e.n(bt),V=e(70125),we=e.n(V),Ne=500,et=20,ut=300,ze="https://stackblitz.com",mt=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],Et=["project","search","ports","settings"],kt=["light","dark"],Mt=["editor","preview"],Te={clickToLoad:function(M){return at("ctl",M)},devToolsHeight:function(M){return St("devtoolsheight",M)},forceEmbedLayout:function(M){return at("embed",M)},hideDevTools:function(M){return at("hidedevtools",M)},hideExplorer:function(M){return at("hideExplorer",M)},hideNavigation:function(M){return at("hideNavigation",M)},openFile:function(M){return Kt("file",M)},showSidebar:function(M){return He("showSidebar",M)},sidebarView:function(M){return At("sidebarView",M,Et)},startScript:function(M){return Kt("startScript",M)},terminalHeight:function(M){return St("terminalHeight",M)},theme:function(M){return At("theme",M,kt)},view:function(M){return At("view",M,Mt)},zenMode:function(M){return at("zenMode",M)}};function gt(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=Object.entries(O).map(function(L){var he=we()(L,2),ee=he[0],dt=he[1];return dt!=null&&Te.hasOwnProperty(ee)?Te[ee](dt):""}).filter(Boolean);return M.length?"?".concat(M.join("&")):""}function at(O,M){return M===!0?"".concat(O,"=1"):""}function He(O,M){return typeof M=="boolean"?"".concat(O,"=").concat(M?"1":"0"):""}function St(O,M){if(typeof M=="number"&&!Number.isNaN(M)){var L=Math.min(100,Math.max(0,M));return"".concat(O,"=").concat(encodeURIComponent(Math.round(L)))}return""}function At(O){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return L.includes(M)?"".concat(O,"=").concat(encodeURIComponent(M)):""}function Kt(O,M){var L=Array.isArray(M)?M:[M];return L.filter(function(he){return typeof he=="string"&&he.trim()!==""}).map(function(he){return"".concat(O,"=").concat(encodeURIComponent(he))}).join("&")}function nn(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function Cn(O,M){return"".concat(Gn(M)).concat(O).concat(gt(M))}function nr(O,M){var L={forceEmbedLayout:!0};return M&&I()(M)==="object"&&Object.assign(L,M),"".concat(Gn(L)).concat(O).concat(gt(L))}function Gn(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=typeof O.origin=="string"?O.origin:ze;return M.replace(/\/$/,"")}function dr(O,M,L){if(!M||!O||!O.parentNode)throw new Error("Invalid Element");O.id&&(M.id=O.id),O.className&&(M.className=O.className),ya(M,L),O.replaceWith(M)}function Cr(O){if(typeof O=="string"){var M=document.getElementById(O);if(!M)throw new Error("Could not find element with id '".concat(O,"'"));return M}else if(O instanceof HTMLElement)return O;throw new Error("Invalid element: ".concat(O))}function Tr(O){return O&&O.newWindow===!1?"_self":"_blank"}function ya(O){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=Object.hasOwnProperty.call(M,"height")?"".concat(M.height):"".concat(ut),he=Object.hasOwnProperty.call(M,"width")?"".concat(M.width):void 0;O.setAttribute("height",L),he?O.setAttribute("width",he):O.setAttribute("style","width:100%;")}var Gr=function(){function O(M){Ue()(this,O),this.pending={},this.port=M,this.port.onmessage=this.messageListener.bind(this)}return Je()(O,[{key:"request",value:function(L){var he=this,ee=L.type,dt=L.payload;return new Promise(function(ft,Tt){var Ot=nn();he.pending[Ot]={resolve:ft,reject:Tt},he.port.postMessage({type:ee,payload:nt()(nt()({},dt),{},{__reqid:Ot})})})}},{key:"messageListener",value:function(L){var he;if(typeof((he=L.data.payload)===null||he===void 0?void 0:he.__reqid)=="string"){var ee=L.data,dt=ee.type,ft=ee.payload,Tt=ft.__reqid,Ot=ft.__success,Bt=ft.__error;this.pending[Tt]&&(Ot?this.pending[Tt].resolve(this.cleanResult(ft)):this.pending[Tt].reject(Bt?"".concat(dt,": ").concat(Bt):dt),delete this.pending[Tt])}}},{key:"cleanResult",value:function(L){var he=nt()({},L);return delete he.__reqid,delete he.__success,delete he.__error,Object.keys(he).length?he:null}}]),O}(),Gt=function(){function O(M,L){var he=this;Ue()(this,O),this.editor={openFile:function(dt){return he._rdc.request({type:"SDK_OPEN_FILE",payload:{path:dt}})},setCurrentFile:function(dt){return he._rdc.request({type:"SDK_SET_CURRENT_FILE",payload:{path:dt}})},setTheme:function(dt){return he._rdc.request({type:"SDK_SET_UI_THEME",payload:{theme:dt}})},setView:function(dt){return he._rdc.request({type:"SDK_SET_UI_VIEW",payload:{view:dt}})},showSidebar:function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return he._rdc.request({type:"SDK_TOGGLE_SIDEBAR",payload:{visible:dt}})}},this.preview={origin:"",getUrl:function(){return he._rdc.request({type:"SDK_GET_PREVIEW_URL",payload:{}}).then(function(dt){var ft;return(ft=dt==null?void 0:dt.url)!==null&&ft!==void 0?ft:null})},setUrl:function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"/";if(typeof dt!="string"||!dt.startsWith("/"))throw new Error("Invalid argument: expected a path starting with '/', got '".concat(dt,"'"));return he._rdc.request({type:"SDK_SET_PREVIEW_URL",payload:{path:dt}})}},this._rdc=new Gr(M),Object.defineProperty(this.preview,"origin",{value:typeof L.previewOrigin=="string"?L.previewOrigin:null,writable:!1})}return Je()(O,[{key:"applyFsDiff",value:function(L){var he=function(dt){return dt!==null&&I()(dt)==="object"};if(!he(L)||!he(L.create))throw new Error("Invalid diff object: expected diff.create to be an object.");if(!Array.isArray(L.destroy))throw new Error("Invalid diff object: expected diff.destroy to be an array.");return this._rdc.request({type:"SDK_APPLY_FS_DIFF",payload:L})}},{key:"getDependencies",value:function(){return this._rdc.request({type:"SDK_GET_DEPS_SNAPSHOT",payload:{}})}},{key:"getFsSnapshot",value:function(){return this._rdc.request({type:"SDK_GET_FS_SNAPSHOT",payload:{}})}}]),O}(),wt=[],$t=Je()(function O(M){var L=this;Ue()(this,O),this.id=nn(),this.element=M,this.pending=new Promise(function(he,ee){var dt=function(Yn){var kn=Yn.data,On=Yn.ports;(kn==null?void 0:kn.action)==="SDK_INIT_SUCCESS"&&kn.id===L.id&&(L.vm=new Gt(On[0],kn.payload),he(L.vm),Tt())},ft=function(){var Yn;(Yn=L.element.contentWindow)===null||Yn===void 0||Yn.postMessage({action:"SDK_INIT",id:L.id},"*")};function Tt(){window.clearInterval(Bt),window.removeEventListener("message",dt)}window.addEventListener("message",dt),ft();var Ot=0,Bt=window.setInterval(function(){if(L.vm){Tt();return}if(Ot>=et){Tt(),ee("Timeout: Unable to establish a connection with the StackBlitz VM"),wt.forEach(function(xn,Yn){xn.id===L.id&&wt.splice(Yn,1)});return}Ot++,ft()},Ne)}),wt.push(this)}),Pn=function(M){var L,he=M instanceof Element?"element":"id";return(L=wt.find(function(ee){return ee[he]===M}))!==null&&L!==void 0?L:null};function Vn(O,M){var L=document.createElement("input");return L.type="hidden",L.name=O,L.value=M,L}function G(O){return O.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}function Me(O){var M=O.template,L=O.title,he=O.description,ee=O.dependencies,dt=O.files,ft=O.settings;if(!mt.includes(M)){var Tt=mt.map(function(Yn){return"'".concat(Yn,"'")}).join(", ");console.warn("Unsupported project.template: must be one of ".concat(Tt))}var Ot=[],Bt=function(kn,On){var er=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";Ot.push(Vn(kn,typeof On=="string"?On:er))};Bt("project[title]",L),typeof he=="string"&&he.length>0&&Bt("project[description]",he),Bt("project[template]",M,"javascript"),ee&&(M==="node"?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):Bt("project[dependencies]",JSON.stringify(ee))),ft&&Bt("project[settings]",JSON.stringify(ft)),Object.entries(dt).forEach(function(Yn){var kn=we()(Yn,2),On=kn[0],er=kn[1];Bt("project[files][".concat(G(On),"]"),er)});var xn=document.createElement("form");return xn.method="POST",xn.setAttribute("style","display:none!important;"),xn.append.apply(xn,Ot),xn}function Qe(O,M){var L=Me(O);L.action=nr("/run",M),L.id="sb_run";var he=` +For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function Ht(Te,gt){var at=(0,B.ax)(gt),He=(0,A.pi)((0,A.pi)({},B.Z0),Te),St=He.locale,At=He.defaultLocale,Kt=He.onError;return St?!Intl.NumberFormat.supportedLocalesOf(St).length&&Kt?Kt(new K.gb('Missing locale data for locale: "'.concat(St,'" in Intl.NumberFormat. Using default locale: "').concat(At,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(St).length&&Kt&&Kt(new K.gb('Missing locale data for locale: "'.concat(St,'" in Intl.DateTimeFormat. Using default locale: "').concat(At,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(Kt&&Kt(new K.OV('"locale" was not configured, using "'.concat(At,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),He.locale=He.defaultLocale||"en"),ot(He),(0,A.pi)((0,A.pi)({},He),{formatters:at,formatNumber:Ke.bind(null,He,at.getNumberFormat),formatNumberToParts:Q.bind(null,He,at.getNumberFormat),formatRelativeTime:N.bind(null,He,at.getRelativeTimeFormat),formatDate:k.bind(null,He,at.getDateTimeFormat),formatDateToParts:ye.bind(null,He,at.getDateTimeFormat),formatTime:$.bind(null,He,at.getDateTimeFormat),formatDateTimeRange:Z.bind(null,He,at.getDateTimeFormat),formatTimeToParts:lt.bind(null,He,at.getDateTimeFormat),formatPlural:Dt.bind(null,He,at.getPluralRules),formatMessage:Re.bind(null,He,at),$t:Re.bind(null,He,at),formatList:An.bind(null,He,at.getListFormat),formatListToParts:Fn.bind(null,He,at.getListFormat),formatDisplayName:xt.bind(null,He,at.getDisplayNames)})}var ke=e(77136),$e=e(76858),qe=e(57421);function Ee(Te){return{locale:Te.locale,timeZone:Te.timeZone,fallbackOnEmptyString:Te.fallbackOnEmptyString,formats:Te.formats,textComponent:Te.textComponent,messages:Te.messages,defaultLocale:Te.defaultLocale,defaultFormats:Te.defaultFormats,onError:Te.onError,onWarn:Te.onWarn,wrapRichTextChunksInFragment:Te.wrapRichTextChunksInFragment,defaultRichTextElements:Te.defaultRichTextElements}}function Pe(Te){return Te&&Object.keys(Te).reduce(function(gt,at){var He=Te[at];return gt[at]=(0,qe.Gt)(He)?(0,ke.dt)(He):He,gt},{})}var tt=function(Te,gt,at,He){for(var St=[],At=4;At0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return O.length!==M.length||O.some((L,he)=>!Object.is(L,M[he]))}function D(O){if(O==null||typeof O.didCatch!="boolean"||typeof O.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found")}function B(){const O=useContext(P);D(O);const[M,L]=useState({error:null,hasError:!1}),he=useMemo(()=>({resetBoundary:()=>{O.resetErrorBoundary(),L({error:null,hasError:!1})},showBoundary:ee=>L({error:ee,hasError:!0})}),[O.resetErrorBoundary]);if(M.hasError)throw M.error;return he}function A(O,M){const L=forwardRef((ee,dt)=>createElement(w,M,createElement(O,Wc(Zc({},ee),{ref:dt})))),he=O.displayName||O.name||"Unknown";return L.displayName="withErrorBoundary(".concat(he,")"),L}function R(){return R=Object.assign?Object.assign.bind():function(O){for(var M=1;MO.length)&&(M=O.length);for(var L=0,he=new Array(M);L1&&(typeof window=="undefined"||window.innerWidth>1024)){for(var er=0;erO.length)&&(M=O.length);for(var L=0,he=new Array(M);LO.length)&&(M=O.length);for(var L=0,he=new Array(M);LO.length)&&(M=O.length);for(var L=0,he=new Array(M);L
',isBinary:!1},Ot[xn]={content:(0,Xe.AM)(Bt.react),isBinary:!1};var Yn=Xe.EV.applyPlugins({type:i.Ac.modify,key:"modifyCodeSandboxData",initialValue:{files:Ot},args:O});return(0,Fn.Z)(Yn)}var Pe=function(M,L){var he,ee=document.createElement("form"),dt=document.createElement("input"),ft=Ee(M);ee.method="POST",ee.target="_blank",ee.style.display="none",ee.action=(L==null?void 0:L.api)||qe,ee.appendChild(dt),ee.setAttribute("data-demo",((he=M.assets)===null||he===void 0?void 0:he.id)||""),dt.name="parameters",dt.value=ft,document.body.appendChild(ee),ee.submit(),ee.remove()},tt=e(39114),nt=e.n(tt),ce=e(77937),Ue=e.n(ce),st=e(41176),Je=e.n(st),bt=e(26851),I=e.n(bt),V=e(70125),we=e.n(V),Ne=500,et=20,ut=300,ze="https://stackblitz.com",mt=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],Et=["project","search","ports","settings"],kt=["light","dark"],Mt=["editor","preview"],Te={clickToLoad:function(M){return at("ctl",M)},devToolsHeight:function(M){return St("devtoolsheight",M)},forceEmbedLayout:function(M){return at("embed",M)},hideDevTools:function(M){return at("hidedevtools",M)},hideExplorer:function(M){return at("hideExplorer",M)},hideNavigation:function(M){return at("hideNavigation",M)},openFile:function(M){return Kt("file",M)},showSidebar:function(M){return He("showSidebar",M)},sidebarView:function(M){return At("sidebarView",M,Et)},startScript:function(M){return Kt("startScript",M)},terminalHeight:function(M){return St("terminalHeight",M)},theme:function(M){return At("theme",M,kt)},view:function(M){return At("view",M,Mt)},zenMode:function(M){return at("zenMode",M)}};function gt(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=Object.entries(O).map(function(L){var he=we()(L,2),ee=he[0],dt=he[1];return dt!=null&&Te.hasOwnProperty(ee)?Te[ee](dt):""}).filter(Boolean);return M.length?"?".concat(M.join("&")):""}function at(O,M){return M===!0?"".concat(O,"=1"):""}function He(O,M){return typeof M=="boolean"?"".concat(O,"=").concat(M?"1":"0"):""}function St(O,M){if(typeof M=="number"&&!Number.isNaN(M)){var L=Math.min(100,Math.max(0,M));return"".concat(O,"=").concat(encodeURIComponent(Math.round(L)))}return""}function At(O){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return L.includes(M)?"".concat(O,"=").concat(encodeURIComponent(M)):""}function Kt(O,M){var L=Array.isArray(M)?M:[M];return L.filter(function(he){return typeof he=="string"&&he.trim()!==""}).map(function(he){return"".concat(O,"=").concat(encodeURIComponent(he))}).join("&")}function nn(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function Cn(O,M){return"".concat(Gn(M)).concat(O).concat(gt(M))}function nr(O,M){var L={forceEmbedLayout:!0};return M&&I()(M)==="object"&&Object.assign(L,M),"".concat(Gn(L)).concat(O).concat(gt(L))}function Gn(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=typeof O.origin=="string"?O.origin:ze;return M.replace(/\/$/,"")}function dr(O,M,L){if(!M||!O||!O.parentNode)throw new Error("Invalid Element");O.id&&(M.id=O.id),O.className&&(M.className=O.className),ya(M,L),O.replaceWith(M)}function Cr(O){if(typeof O=="string"){var M=document.getElementById(O);if(!M)throw new Error("Could not find element with id '".concat(O,"'"));return M}else if(O instanceof HTMLElement)return O;throw new Error("Invalid element: ".concat(O))}function Tr(O){return O&&O.newWindow===!1?"_self":"_blank"}function ya(O){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=Object.hasOwnProperty.call(M,"height")?"".concat(M.height):"".concat(ut),he=Object.hasOwnProperty.call(M,"width")?"".concat(M.width):void 0;O.setAttribute("height",L),he?O.setAttribute("width",he):O.setAttribute("style","width:100%;")}var Gr=function(){function O(M){Ue()(this,O),this.pending={},this.port=M,this.port.onmessage=this.messageListener.bind(this)}return Je()(O,[{key:"request",value:function(L){var he=this,ee=L.type,dt=L.payload;return new Promise(function(ft,Tt){var Ot=nn();he.pending[Ot]={resolve:ft,reject:Tt},he.port.postMessage({type:ee,payload:nt()(nt()({},dt),{},{__reqid:Ot})})})}},{key:"messageListener",value:function(L){var he;if(typeof((he=L.data.payload)===null||he===void 0?void 0:he.__reqid)=="string"){var ee=L.data,dt=ee.type,ft=ee.payload,Tt=ft.__reqid,Ot=ft.__success,Bt=ft.__error;this.pending[Tt]&&(Ot?this.pending[Tt].resolve(this.cleanResult(ft)):this.pending[Tt].reject(Bt?"".concat(dt,": ").concat(Bt):dt),delete this.pending[Tt])}}},{key:"cleanResult",value:function(L){var he=nt()({},L);return delete he.__reqid,delete he.__success,delete he.__error,Object.keys(he).length?he:null}}]),O}(),Gt=function(){function O(M,L){var he=this;Ue()(this,O),this.editor={openFile:function(dt){return he._rdc.request({type:"SDK_OPEN_FILE",payload:{path:dt}})},setCurrentFile:function(dt){return he._rdc.request({type:"SDK_SET_CURRENT_FILE",payload:{path:dt}})},setTheme:function(dt){return he._rdc.request({type:"SDK_SET_UI_THEME",payload:{theme:dt}})},setView:function(dt){return he._rdc.request({type:"SDK_SET_UI_VIEW",payload:{view:dt}})},showSidebar:function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return he._rdc.request({type:"SDK_TOGGLE_SIDEBAR",payload:{visible:dt}})}},this.preview={origin:"",getUrl:function(){return he._rdc.request({type:"SDK_GET_PREVIEW_URL",payload:{}}).then(function(dt){var ft;return(ft=dt==null?void 0:dt.url)!==null&&ft!==void 0?ft:null})},setUrl:function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"/";if(typeof dt!="string"||!dt.startsWith("/"))throw new Error("Invalid argument: expected a path starting with '/', got '".concat(dt,"'"));return he._rdc.request({type:"SDK_SET_PREVIEW_URL",payload:{path:dt}})}},this._rdc=new Gr(M),Object.defineProperty(this.preview,"origin",{value:typeof L.previewOrigin=="string"?L.previewOrigin:null,writable:!1})}return Je()(O,[{key:"applyFsDiff",value:function(L){var he=function(dt){return dt!==null&&I()(dt)==="object"};if(!he(L)||!he(L.create))throw new Error("Invalid diff object: expected diff.create to be an object.");if(!Array.isArray(L.destroy))throw new Error("Invalid diff object: expected diff.destroy to be an array.");return this._rdc.request({type:"SDK_APPLY_FS_DIFF",payload:L})}},{key:"getDependencies",value:function(){return this._rdc.request({type:"SDK_GET_DEPS_SNAPSHOT",payload:{}})}},{key:"getFsSnapshot",value:function(){return this._rdc.request({type:"SDK_GET_FS_SNAPSHOT",payload:{}})}}]),O}(),wt=[],$t=Je()(function O(M){var L=this;Ue()(this,O),this.id=nn(),this.element=M,this.pending=new Promise(function(he,ee){var dt=function(Yn){var kn=Yn.data,On=Yn.ports;(kn==null?void 0:kn.action)==="SDK_INIT_SUCCESS"&&kn.id===L.id&&(L.vm=new Gt(On[0],kn.payload),he(L.vm),Tt())},ft=function(){var Yn;(Yn=L.element.contentWindow)===null||Yn===void 0||Yn.postMessage({action:"SDK_INIT",id:L.id},"*")};function Tt(){window.clearInterval(Bt),window.removeEventListener("message",dt)}window.addEventListener("message",dt),ft();var Ot=0,Bt=window.setInterval(function(){if(L.vm){Tt();return}if(Ot>=et){Tt(),ee("Timeout: Unable to establish a connection with the StackBlitz VM"),wt.forEach(function(xn,Yn){xn.id===L.id&&wt.splice(Yn,1)});return}Ot++,ft()},Ne)}),wt.push(this)}),Pn=function(M){var L,he=M instanceof Element?"element":"id";return(L=wt.find(function(ee){return ee[he]===M}))!==null&&L!==void 0?L:null};function Vn(O,M){var L=document.createElement("input");return L.type="hidden",L.name=O,L.value=M,L}function G(O){return O.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}function Me(O){var M=O.template,L=O.title,he=O.description,ee=O.dependencies,dt=O.files,ft=O.settings;if(!mt.includes(M)){var Tt=mt.map(function(Yn){return"'".concat(Yn,"'")}).join(", ");console.warn("Unsupported project.template: must be one of ".concat(Tt))}var Ot=[],Bt=function(kn,On){var er=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";Ot.push(Vn(kn,typeof On=="string"?On:er))};Bt("project[title]",L),typeof he=="string"&&he.length>0&&Bt("project[description]",he),Bt("project[template]",M,"javascript"),ee&&(M==="node"?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):Bt("project[dependencies]",JSON.stringify(ee))),ft&&Bt("project[settings]",JSON.stringify(ft)),Object.entries(dt).forEach(function(Yn){var kn=we()(Yn,2),On=kn[0],er=kn[1];Bt("project[files][".concat(G(On),"]"),er)});var xn=document.createElement("form");return xn.method="POST",xn.setAttribute("style","display:none!important;"),xn.append.apply(xn,Ot),xn}function Qe(O,M){var L=Me(O);L.action=nr("/run",M),L.id="sb_run";var he=` @@ -44,7 +44,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ku(O,M){if(O){if(typeof O=="string")return vi(O,M);var L=Object.prototype.toString.call(O).slice(8,-1);if(L==="Object"&&O.constructor&&(L=O.constructor.name),L==="Map"||L==="Set")return Array.from(O);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return vi(O,M)}}function vi(O,M){(M==null||M>O.length)&&(M=O.length);for(var L=0,he=new Array(M);Lto.length&&dt,Va=Object.values(L).reduce(function(Go,Fi){return Fi.path.startsWith(Br.slice(1))&&((0,Xe.qu)(Go[0],"nav",Fi.meta.frontmatter),ko&&(0,Xe.qu)(Go[1],"nav.second",Fi.meta.frontmatter)),Go},[{},{}]),bo=Wo(Va,2),oi=bo[0],Ii=bo[1];if(ko){var ji,xi,Ko;(ji=oi.title)!==null&&ji!==void 0||(oi.title=to.split("/").pop().replace(/^[a-z]/,function(Go){return Go.toUpperCase()}));var ii=(xi=er[to])!==null&&xi!==void 0?xi:er[to]=ni(oi,_a,to);(Ko=ii.children)!==null&&Ko!==void 0||(ii.children=[]),ii.children.push(ni(Ii,_a,Br,_a[0].children[0].link))}else er[Br]=ni(oi,_a,Br,_a[0].children[0].link);return er},{}));return On.forEach(function(er,Dr){var Pr;!er.link&&((Pr=er.children)===null||Pr===void 0?void 0:Pr.length)===1?On[Dr]=er.children[0]:er.children&&er.children.sort(Tt)}),On.sort(Tt),kn==="prepend"?On.unshift.apply(On,Oo(Yn)):kn==="append"&&On.push.apply(On,Oo(Yn)),On}),Bt=Wo(Ot,1),xn=Bt[0];return xn};function ri(O){"@babel/helpers - typeof";return ri=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(M){return typeof M}:function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},ri(O)}function cu(O,M){return mi(O)||fu(O,M)||ai(O,M)||Ku()}function Ku(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ai(O,M){if(O){if(typeof O=="string")return du(O,M);var L=Object.prototype.toString.call(O).slice(8,-1);if(L==="Object"&&O.constructor&&(L=O.constructor.name),L==="Map"||L==="Set")return Array.from(O);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return du(O,M)}}function du(O,M){(M==null||M>O.length)&&(M=O.length);for(var L=0,he=new Array(M);LO.length)&&(M=O.length);for(var L=0,he=new Array(M);L{var P=Object.create;var I=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames,R=Object.getOwnPropertySymbols,B=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var O=(e,t,i)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,M=(e,t)=>{for(var i in t||(t={}))E.call(t,i)&&O(e,i,t[i]);if(R)for(var i of R(t))L.call(t,i)&&O(e,i,t[i]);return e};var F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var N=(e,t,i,h)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of D(t))!E.call(e,a)&&a!==i&&I(e,a,{get:()=>t[a],enumerable:!(h=z(t,a))||h.enumerable});return e};var W=(e,t,i)=>(i=e!=null?P(B(e)):{},N(t||!e||!e.__esModule?I(i,"default",{value:e,enumerable:!0}):i,e));var j=F((K,w)=>{w.exports=function(e){var t={};function i(h){if(t[h])return t[h].exports;var a=t[h]={exports:{},id:h,loaded:!1};return e[h].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}return i.m=e,i.c=t,i.p="",i(0)}([function(e,t,i){e.exports=i(1)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=i(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return h.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return h.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return h.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return h.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=t.findAll=function(s){var n=s.autoEscape,g=s.caseSensitive,f=g===void 0?!1:g,p=s.findChunks,u=p===void 0?a:p,c=s.sanitize,v=s.searchWords,T=s.textToHighlight;return l({chunksToHighlight:h({chunks:u({autoEscape:n,caseSensitive:f,sanitize:c,searchWords:v,textToHighlight:T})}),totalLength:T?T.length:0})},h=t.combineChunks=function(s){var n=s.chunks;return n=n.sort(function(g,f){return g.start-f.start}).reduce(function(g,f){if(g.length===0)return[f];var p=g.pop();if(f.start<=p.end){var u=Math.max(p.end,f.end);g.push({highlight:!1,start:p.start,end:u})}else g.push(p,f);return g},[]),n},a=function(s){var n=s.autoEscape,g=s.caseSensitive,f=s.sanitize,p=f===void 0?d:f,u=s.searchWords,c=s.textToHighlight;return c=p(c),u.filter(function(v){return v}).reduce(function(v,T){T=p(T),n&&(T=r(T));for(var m=new RegExp(T,g?"g":"gi"),x=void 0;x=m.exec(c);){var S=x.index,$=m.lastIndex;$>S&&v.push({highlight:!1,start:S,end:$}),x.index===m.lastIndex&&m.lastIndex++}return v},[])};t.findChunks=a;var l=t.fillInChunks=function(s){var n=s.chunksToHighlight,g=s.totalLength,f=[],p=function(v,T,m){T-v>0&&f.push({start:v,end:T,highlight:m})};if(n.length===0)p(0,g,!1);else{var u=0;n.forEach(function(c){p(u,c.start,!1),p(c.start,c.end,!0),u=c.end}),p(u,g,!1)}return f};function d(o){return o}function r(o){return o.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,"\\\\$&")}}])});var C=W(j());var H="tab";function k(e,t,i,h,a){let l=a!==void 0;return h.reduce((r,o)=>(o.tocIndex===a&&(r[o.paraId]=(r[o.paraId]||"").concat(o.value)),r),[]).filter(Boolean).length||l?{rawTitle:e,title:t,link:i,paragraphs:h.reduce((r,o)=>{var s,n;return o.tocIndex===a&&((n=r[s=o.paraId])!=null||(r[s]=""),r[o.paraId]+=o.value),r},[]).filter(Boolean)}:null}function y(e){return[e.title,e.subtitle].filter(Boolean).join(" ")}function _(e,t,i){let h=[],a=Object.values(t).reduce((l,d)=>{var r,o;return d.asset&&((o=l[r=d.routeId])!=null||(l[r]=[]),l[d.routeId].push(d)),l},{});return Object.values(e).forEach(l=>{var d;if("meta"in l&&!("isLayout"in l)){let r=l.meta,o=l.path.replace(/^([^/])/,"/$1")||"/",s=i.find(u=>o===u.link||o.startsWith(`${u.activePath}/`)),n=(a[l.id]||[]).map(u=>{var c;return(c=u.asset)==null?void 0:c.id}),g=k("",y(r.frontmatter),o,r.texts),f=r.toc.reduce((u,c,v)=>{if(!n.includes(c.id)&&c.depth>=1){let T=y(r.frontmatter);c.depth!==1&&(T=`${T} - ${c.title}`),u.push(k(c.title,T,`${o}#${c.id}`,r.texts,v))}return u},[]),p=(r.tabs||[]).reduce((u,{key:c,meta:v})=>{let T=k("",`${y(r.frontmatter)} - ${v.frontmatter.title}`,`${o}?${H}=${c}`,v.texts);return T&&u.push(T),u.push(...v.toc.map((m,x)=>k(m.title,`${y(r.frontmatter)} - ${v.frontmatter.title} - ${m.title}`,`${o}?${H}=${c}#${m.id}`,v.texts,x))),u},[]);h.push({navTitle:s==null?void 0:s.title,navOrder:s?i.indexOf(s):1/0,title:y(r.frontmatter),link:o,sections:[...g?[g]:[],...f,...p],demos:((d=a[l.id])==null?void 0:d.map(u=>({link:`${o}#${u.asset.id}`,rawTitle:u.asset.title||"",title:u.asset.title||y(r.frontmatter),description:u.asset.description||"",keywords:u.asset.keywords||[]})))||[]})}}),h}function b(e="",t,i=1){let h=(0,C.findAll)({textToHighlight:e,searchWords:t,autoEscape:!0}),a={};return[h.map(({start:l,end:d,highlight:r},o)=>{let s={text:e.slice(l,d)};return o===0&&!r&&h.length>1&&s.text.length>20&&(s.text=`...${s.text.slice(-20)}`),r&&(s.highlighted=!0,a[t.find(n=>s.text.includes(n))]=i),s}),a]}function Y(e,t){let i=t.split(" "),h=new RegExp(t.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&").replace(/\\s+/g,"|"),"i"),a={};return e.forEach(l=>{var o,s;let d=l.title,r=[];if(l.sections.forEach(n=>{for(let g of n.paragraphs)if(h.test(g)){let[f,p]=b(n.title,i,10),[u,c]=b(g,i);r.push({type:"content",link:n.link,priority:Object.values(M(M({},c),p)).reduce((v,T)=>v+T,0),highlightTitleTexts:f,highlightTexts:u,pageTitle:d});return}if(h.test(n.rawTitle)&&!h.test(l.title)){let[g,f]=b(n.title,i,10);r.push({type:"title",link:n.link,priority:Object.values(f).reduce((p,u)=>p+u,0),highlightTitleTexts:g,highlightTexts:b(n.paragraphs[0]||"",i)[0],pageTitle:d})}}),l.demos.forEach(n=>{if(h.test(n.rawTitle)||h.test(n.description)){let[g,f]=b(n.title,i,10),[p,u]=b(n.description,i);r.push({type:"demo",link:n.link,priority:Object.values(M(M({},u),f)).reduce((c,v)=>c+v,0),highlightTitleTexts:g,highlightTexts:p,pageTitle:d})}}),h.test(l.title)){let[n,g]=b(l.title,i,100);r.push({type:"page",link:l.link,priority:Object.values(g).reduce((f,p)=>f+p,0),highlightTitleTexts:n,highlightTexts:b(((o=l.sections[0])==null?void 0:o.paragraphs[0])||"",i)[0],pageTitle:d})}if(r.length){let n=l.navTitle||"$ROOT";(s=a[n])!=null||(a[n]={title:l.navTitle,priority:l.navOrder*1e3,hints:[]}),a[n].hints.push(...r)}}),Object.values(a).forEach(({hints:l})=>{l.sort((d,r)=>r.priority-d.priority)}),Object.values(a).sort((l,d)=>d.priority-l.priority)}var A;self.onmessage=({data:e})=>{switch(e.action){case"generate-metadata":A=_(e.args.routes,e.args.demos,e.args.nav);break;case"get-search-result":self.postMessage(Y(A,e.args.keywords));break;default:}};})();\n';function Qi(O){"@babel/helpers - typeof";return Qi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(M){return typeof M}:function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},Qi(O)}function Li(O,M){var L=Object.keys(O);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(O);M&&(he=he.filter(function(ee){return Object.getOwnPropertyDescriptor(O,ee).enumerable})),L.push.apply(L,he)}return L}function Vu(O){for(var M=1;MO.length)&&(M=O.length);for(var L=0,he=new Array(M);LO.length)&&(M=O.length);for(var L=0,he=new Array(M);L ( -);`},"@helux/demo-utils":{type:"NPM",value:"0.0.3"},helux:{type:"NPM",value:"3.6.14"}}}},"docs-guide-dep-tracking-demo-1":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,te,ne,se,ie,J,ve,ue,ce,ye,pe,me,be;return l()().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return be=function(){var Oe=ce(),rt=a()(Oe,3),Nt=rt[0],Yt=rt[2];return Nt.a>3?r.createElement(ne,{info:Yt},Nt.a," - ",Nt.b.b1):r.createElement(ne,{info:Yt},Nt.a)},Ce.next=3,e.e(4610).then(e.bind(e,24610));case 3:return W=Ce.sent,te=W.Entry,ne=W.MarkUpdate,Ce.next=8,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 8:return se=Ce.sent,ie=se.atomx,J=ie({a:1,b:{b1:1}}),ve=J.state,ue=J.setDraft,ce=J.useState,ye=function(){return ue(function(Oe){return Oe.a+=1})},pe=function(){return ue(function(Oe){return Oe.a-=1})},me=function(){return ue(function(Oe){return Oe.b.b1=Date.now()})},Ce.abrupt("return",{default:function(){return r.createElement(te,{fns:{plusA:ye,minusA:pe,changeB1:me}},r.createElement(be,null),r.createElement(be,null))}});case 15:case"end":return Ce.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-dep-tracking-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Entry, MarkUpdate } from '@helux/demo-utils'; +);`},"@helux/demo-utils":{type:"NPM",value:"0.0.3"},helux:{type:"NPM",value:"3.6.14"}}}},"docs-guide-dep-tracking-demo-1":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,pe,oe,Y,te,ie,me,ue,le,ge,de,ve,be;return l()().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return be=function(){var Oe=le(),rt=a()(Oe,3),Nt=rt[0],Yt=rt[2];return Nt.a>3?r.createElement(oe,{info:Yt},Nt.a," - ",Nt.b.b1):r.createElement(oe,{info:Yt},Nt.a)},Ce.next=3,e.e(4610).then(e.bind(e,24610));case 3:return W=Ce.sent,pe=W.Entry,oe=W.MarkUpdate,Ce.next=8,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 8:return Y=Ce.sent,te=Y.atomx,ie=te({a:1,b:{b1:1}}),me=ie.state,ue=ie.setDraft,le=ie.useState,ge=function(){return ue(function(Oe){return Oe.a+=1})},de=function(){return ue(function(Oe){return Oe.a-=1})},ve=function(){return ue(function(Oe){return Oe.b.b1=Date.now()})},Ce.abrupt("return",{default:function(){return r.createElement(pe,{fns:{plusA:ge,minusA:de,changeB1:ve}},r.createElement(be,null),r.createElement(be,null))}});case 15:case"end":return Ce.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-dep-tracking-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Entry, MarkUpdate } from '@helux/demo-utils'; import { atomx } from 'helux'; const { state, setDraft, useState } = atomx({ a: 1, b: { b1: 1 } }); @@ -93,7 +93,7 @@ export default () => ( -);`},"@helux/demo-utils":{type:"NPM",value:"0.0.3"},helux:{type:"NPM",value:"3.6.14"}}}},"docs-guide-dep-tracking-demo-2":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,te,ne,se,ie,J,ve,ue,ce,ye,pe,me,be;return l()().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return be=function(){var Oe=ce(),rt=a()(Oe,3),Nt=rt[0],Yt=rt[2];return r.createElement(ne,{info:Yt},"obj.b.b1.ok ","".concat(Nt.b.b1.ok))},Ce.next=3,e.e(4610).then(e.bind(e,24610));case 3:return W=Ce.sent,te=W.Entry,ne=W.MarkUpdate,Ce.next=8,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 8:return se=Ce.sent,ie=se.atomx,J=ie({a:1,b:{b1:{b2:1,ok:!0}}}),ve=J.state,ue=J.setDraft,ce=J.useState,ye=function(){return ue(function(Oe){return Oe.b.b1=u()({},Oe.b.b1)})},pe=function(){return ue(function(Oe){return Oe.b.b1.ok=Oe.b.b1.ok})},me=function(){return ue(function(Oe){return Oe.b.b1.ok=!Oe.b.b1.ok})},Ce.abrupt("return",{default:function(){return r.createElement(te,{fns:{changeB1:ye,changeB1_Ok_oldValue:pe,changeB1_Ok_newValue:me}},r.createElement(be,null),r.createElement(be,null))}});case 15:case"end":return Ce.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-dep-tracking-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Entry, MarkUpdate } from '@helux/demo-utils'; +);`},"@helux/demo-utils":{type:"NPM",value:"0.0.3"},helux:{type:"NPM",value:"3.6.14"}}}},"docs-guide-dep-tracking-demo-2":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,pe,oe,Y,te,ie,me,ue,le,ge,de,ve,be;return l()().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return be=function(){var Oe=le(),rt=a()(Oe,3),Nt=rt[0],Yt=rt[2];return r.createElement(oe,{info:Yt},"obj.b.b1.ok ","".concat(Nt.b.b1.ok))},Ce.next=3,e.e(4610).then(e.bind(e,24610));case 3:return W=Ce.sent,pe=W.Entry,oe=W.MarkUpdate,Ce.next=8,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 8:return Y=Ce.sent,te=Y.atomx,ie=te({a:1,b:{b1:{b2:1,ok:!0}}}),me=ie.state,ue=ie.setDraft,le=ie.useState,ge=function(){return ue(function(Oe){return Oe.b.b1=u()({},Oe.b.b1)})},de=function(){return ue(function(Oe){return Oe.b.b1.ok=Oe.b.b1.ok})},ve=function(){return ue(function(Oe){return Oe.b.b1.ok=!Oe.b.b1.ok})},Ce.abrupt("return",{default:function(){return r.createElement(pe,{fns:{changeB1:ge,changeB1_Ok_oldValue:de,changeB1_Ok_newValue:ve}},r.createElement(be,null),r.createElement(be,null))}});case 15:case"end":return Ce.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-dep-tracking-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Entry, MarkUpdate } from '@helux/demo-utils'; import { atomx } from 'helux'; const { state, setDraft, useState } = atomx({ @@ -116,7 +116,7 @@ export default () => ( -);`},"@helux/demo-utils":{type:"NPM",value:"0.0.3"},helux:{type:"NPM",value:"3.6.14"}}}},"docs-guide-dep-tracking-demo-3":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,te,ne,se,ie,J,ve,ue,ce,ye;return l()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ye=function(Ae){var Ce=r.useState(""),Ze=a()(Ce,2),Oe=Ze[0],rt=Ze[1],Nt=function(){var _n=ce(),Wr=_n.ret1,yn=_n.ret2;rt("isDiff(b, newB)===".concat(Wr,", isDiff(c, newC)===").concat(yn))};return r.createElement("div",null,r.createElement("h1",null,"compare tip: ",Oe),r.createElement("button",{onClick:Nt},"triggerCompre"))},ce=function(){var Ae=ve.b,Ce=ve.c;ue(function(Yt){return void(Yt.b.b1+=100)});var Ze=ve.b,Oe=ve.c,rt=ne(Ae,Ze),Nt=ne(Ce,Oe);return{ret1:rt,ret2:Nt}},me.next=4,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 4:return W=me.sent,te=W.$,ne=W.isDiff,se=W.share,ie=se({b:{b1:1},c:{c1:1}}),J=a()(ie,2),ve=J[0],ue=J[1],me.abrupt("return",{default:function(){return r.createElement(r.Fragment,null,r.createElement(ye,null),te(ve.b.b1))}});case 10:case"end":return me.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-dep-tracking-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { $, isDiff, share } from 'helux'; +);`},"@helux/demo-utils":{type:"NPM",value:"0.0.3"},helux:{type:"NPM",value:"3.6.14"}}}},"docs-guide-dep-tracking-demo-3":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,pe,oe,Y,te,ie,me,ue,le,ge;return l()().wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ge=function(Ae){var Ce=r.useState(""),Ze=a()(Ce,2),Oe=Ze[0],rt=Ze[1],Nt=function(){var _n=le(),Wr=_n.ret1,yn=_n.ret2;rt("isDiff(b, newB)===".concat(Wr,", isDiff(c, newC)===").concat(yn))};return r.createElement("div",null,r.createElement("h1",null,"compare tip: ",Oe),r.createElement("button",{onClick:Nt},"triggerCompre"))},le=function(){var Ae=me.b,Ce=me.c;ue(function(Yt){return void(Yt.b.b1+=100)});var Ze=me.b,Oe=me.c,rt=oe(Ae,Ze),Nt=oe(Ce,Oe);return{ret1:rt,ret2:Nt}},ve.next=4,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 4:return W=ve.sent,pe=W.$,oe=W.isDiff,Y=W.share,te=Y({b:{b1:1},c:{c1:1}}),ie=a()(te,2),me=ie[0],ue=ie[1],ve.abrupt("return",{default:function(){return r.createElement(r.Fragment,null,r.createElement(ge,null),pe(me.b.b1))}});case 10:case"end":return ve.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-dep-tracking-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { $, isDiff, share } from 'helux'; const [state, setState] = share({ b: { b1: 1 }, c: { c1: 1 } }); @@ -228,14 +228,14 @@ const [state, setState, ctx] = atom({ a: 1 }, { mutate: draft => draft.a = state1.a + 1; }); \`\` -`,paraId:6,tocIndex:4}],R={},z={title:"\u5E38\u89C1\u95EE\u9898",toc:"menu",filename:"docs/reference/question.md",lastUpdated:1704292961e3,nav:{title:"\u53C2\u8003",order:1}},K=[{id:"\u5E38\u89C1\u95EE\u9898",depth:1,title:"\u5E38\u89C1\u95EE\u9898"}],q=[],X={"docs-guide-quick-start-demo-0":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,te,ne,se,ie,J;return l()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 2:return W=ue.sent,te=W.atom,ne=W.useAtom,se=te(1),ie=a()(se,1),J=ie[0],ue.abrupt("return",{default:function(){var ye=ne(J),pe=a()(ye,2),me=pe[0],be=pe[1];return r.createElement("h1",{onClick:function(){return be(Math.random())}},me)}});case 7:case"end":return ue.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-quick-start-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { atom, useAtom } from 'helux'; +`,paraId:6,tocIndex:4}],R={},z={title:"\u5E38\u89C1\u95EE\u9898",toc:"menu",filename:"docs/reference/question.md",lastUpdated:1704292961e3,nav:{title:"\u53C2\u8003",order:1}},K=[{id:"\u5E38\u89C1\u95EE\u9898",depth:1,title:"\u5E38\u89C1\u95EE\u9898"}],q=[],J={"docs-guide-quick-start-demo-0":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,pe,oe,Y,te,ie;return l()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 2:return W=ue.sent,pe=W.atom,oe=W.useAtom,Y=pe(1),te=a()(Y,1),ie=te[0],ue.abrupt("return",{default:function(){var ge=oe(ie),de=a()(ge,2),ve=de[0],be=de[1];return r.createElement("h1",{onClick:function(){return be(Math.random())}},ve)}});case 7:case"end":return ue.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-quick-start-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { atom, useAtom } from 'helux'; const [numAtom] = atom(1); export default function Demo() { // \u8FD4\u56DE\u7ED3\u679C\u81EA\u52A8\u62C6\u7BB1 const [num, setAtom] = useAtom(numAtom); return

setAtom(Math.random())}>{num}

; -}`},helux:{type:"NPM",value:"3.6.14"}},title:"\u70B9\u51FB\u6570\u5B57\u89E6\u53D1\u4FEE\u6539"}},"docs-guide-quick-start-demo-1":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,te,ne,se,ie,J,ve,ue;return l()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ue=function(){var me=ne(J),be=a()(me,2),Ae=be[0],Ce=be[1],Ze=function(){return Ce(function(rt){rt.info.age+=1})};return r.createElement("h1",{onClick:function(){return Ce(Math.random())}},Ae.name," ",Ae.info.age,r.createElement("button",{onClick:Ze},"changeName"))},ye.next=3,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 3:return W=ye.sent,te=W.atom,ne=W.useAtom,se=te({name:"hello helux",info:{age:1}}),ie=a()(se,2),J=ie[0],ve=ie[1],ye.abrupt("return",{default:function(){return r.createElement(r.Fragment,null,r.createElement(ue,null),r.createElement(ue,null))}});case 8:case"end":return ye.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-quick-start-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { atom, useAtom } from 'helux'; +}`},helux:{type:"NPM",value:"3.6.14"}},title:"\u70B9\u51FB\u6570\u5B57\u89E6\u53D1\u4FEE\u6539"}},"docs-guide-quick-start-demo-1":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,pe,oe,Y,te,ie,me,ue;return l()().wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ue=function(){var ve=oe(ie),be=a()(ve,2),Ae=be[0],Ce=be[1],Ze=function(){return Ce(function(rt){rt.info.age+=1})};return r.createElement("h1",{onClick:function(){return Ce(Math.random())}},Ae.name," ",Ae.info.age,r.createElement("button",{onClick:Ze},"changeName"))},ge.next=3,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 3:return W=ge.sent,pe=W.atom,oe=W.useAtom,Y=pe({name:"hello helux",info:{age:1}}),te=a()(Y,2),ie=te[0],me=te[1],ge.abrupt("return",{default:function(){return r.createElement(r.Fragment,null,r.createElement(ue,null),r.createElement(ue,null))}});case 8:case"end":return ge.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-quick-start-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { atom, useAtom } from 'helux'; const [objAtom, setAtom] = atom({ name: 'hello helux', info: { age: 1 } }); function Demo() { @@ -315,7 +315,7 @@ const [objAtom2] = atom( setAtom(draft=>{ draft.a=100 }); console.log(objAtom2.val.plusA100); // 200 -`,paraId:26,tocIndex:6},{value:"react \u7EC4\u4EF6\u901A\u8FC7",paraId:27,tocIndex:7},{value:"useAtom",paraId:27,tocIndex:7},{value:" \u94A9\u5B50\u53EF\u4F7F\u7528 atom \u5171\u4EAB\u5BF9\u8C61\uFF0C\u8BE5\u94A9\u5B50\u8FD4\u56DE\u4E00\u4E2A\u5143\u7EC4\uFF0C\u4F7F\u7528\u65B9\u5F0F\u548C ",paraId:27,tocIndex:7},{value:"react.useState",paraId:27,tocIndex:7},{value:" \u7C7B\u4F3C\uFF0C\u533A\u522B\u5728\u4E8E\u5BF9\u4E8E\u975E\u539F\u59CB\u5BF9\u8C61\uFF0C\u56DE\u8C03\u63D0\u4F9B\u8349\u7A3F\u4F9B\u7528\u6237\u76F4\u63A5\u4FEE\u6539\uFF0C\u5185\u90E8\u4F1A\u751F\u6210\u7ED3\u6784\u5316\u5171\u4EAB\u7684\u65B0\u72B6\u6001",paraId:27,tocIndex:7},{value:"atom \u5BF9\u8C61\u5929\u7136\u662F\u5168\u5C40\u5171\u4EAB\u7684\uFF0C\u53EF\u5C06 atom \u5BF9\u8C61\u63D0\u4F9B\u7ED9\u591A\u4E2A\u7EC4\u4EF6\u5B9E\u4F8B\u4F7F\u7528",paraId:28}],We={},Ve={title:"\u66F4\u65B0\u5386\u53F2",toc:"menu",filename:"docs/reference/history.md",lastUpdated:1704292961e3,nav:{title:"\u53C2\u8003",order:2}},Ke=[{id:"\u66F4\u65B0\u5386\u53F2",depth:1,title:"\u66F4\u65B0\u5386\u53F2"}],Y=[],re={},oe={title:"\u4E2D\u95F4\u4EF6",toc:"menu",filename:"docs/guide/middleware.md",lastUpdated:1704032795e3,group:{title:"\u8FDB\u9636",order:1},order:6,description:"\u4E2D\u95F4\u4EF6\u662F\u4E00\u4E2A\u540C\u6B65\u51FD\u6570\uFF0C\u5728\u72B6\u6001\u63D0\u4EA4\u524D\u88AB\u8C03\u7528\uFF0C\u53EF\u901A\u8FC7\u4E2D\u95F4\u4EF6\u51FD\u505A\u4E00\u4E9B\u7EDF\u4E00\u64CD\u4F5C\uFF0C\u4F8B\u5982\u6570\u4FEE\u6539\u8349\u7A3F\u7684\u65F6\u95F4\u5C5E\u6027"},C=[{id:"\u4E2D\u95F4\u4EF6",depth:1,title:"\u4E2D\u95F4\u4EF6"},{id:"\u5B9A\u4E49\u4E2D\u95F4\u4EF6",depth:3,title:"\u5B9A\u4E49\u4E2D\u95F4\u4EF6"},{id:"\u4F7F\u7528\u4E2D\u95F4\u4EF6",depth:3,title:"\u4F7F\u7528\u4E2D\u95F4\u4EF6"}],N=[{value:"\u4E2D\u95F4\u4EF6\u662F\u4E00\u4E2A\u540C\u6B65\u51FD\u6570\uFF0C\u5728\u72B6\u6001\u63D0\u4EA4\u524D\u88AB\u8C03\u7528\uFF0C\u53EF\u901A\u8FC7\u4E2D\u95F4\u4EF6\u51FD\u505A\u4E00\u4E9B\u7EDF\u4E00\u64CD\u4F5C\uFF0C\u4F8B\u5982\u6570\u4FEE\u6539\u8349\u7A3F\u7684\u65F6\u95F4\u5C5E\u6027",paraId:0,tocIndex:0},{value:`import { Middleware } from 'helux'; +`,paraId:26,tocIndex:6},{value:"react \u7EC4\u4EF6\u901A\u8FC7",paraId:27,tocIndex:7},{value:"useAtom",paraId:27,tocIndex:7},{value:" \u94A9\u5B50\u53EF\u4F7F\u7528 atom \u5171\u4EAB\u5BF9\u8C61\uFF0C\u8BE5\u94A9\u5B50\u8FD4\u56DE\u4E00\u4E2A\u5143\u7EC4\uFF0C\u4F7F\u7528\u65B9\u5F0F\u548C ",paraId:27,tocIndex:7},{value:"react.useState",paraId:27,tocIndex:7},{value:" \u7C7B\u4F3C\uFF0C\u533A\u522B\u5728\u4E8E\u5BF9\u4E8E\u975E\u539F\u59CB\u5BF9\u8C61\uFF0C\u56DE\u8C03\u63D0\u4F9B\u8349\u7A3F\u4F9B\u7528\u6237\u76F4\u63A5\u4FEE\u6539\uFF0C\u5185\u90E8\u4F1A\u751F\u6210\u7ED3\u6784\u5316\u5171\u4EAB\u7684\u65B0\u72B6\u6001",paraId:27,tocIndex:7},{value:"atom \u5BF9\u8C61\u5929\u7136\u662F\u5168\u5C40\u5171\u4EAB\u7684\uFF0C\u53EF\u5C06 atom \u5BF9\u8C61\u63D0\u4F9B\u7ED9\u591A\u4E2A\u7EC4\u4EF6\u5B9E\u4F8B\u4F7F\u7528",paraId:28}],We={},Ve={title:"\u66F4\u65B0\u5386\u53F2",toc:"menu",filename:"docs/reference/history.md",lastUpdated:1704292961e3,nav:{title:"\u53C2\u8003",order:2}},Ke=[{id:"\u66F4\u65B0\u5386\u53F2",depth:1,title:"\u66F4\u65B0\u5386\u53F2"}],Q=[],ne={},ae={title:"\u4E2D\u95F4\u4EF6",toc:"menu",filename:"docs/guide/middleware.md",lastUpdated:1704032795e3,group:{title:"\u8FDB\u9636",order:1},order:6,description:"\u4E2D\u95F4\u4EF6\u662F\u4E00\u4E2A\u540C\u6B65\u51FD\u6570\uFF0C\u5728\u72B6\u6001\u63D0\u4EA4\u524D\u88AB\u8C03\u7528\uFF0C\u53EF\u901A\u8FC7\u4E2D\u95F4\u4EF6\u51FD\u505A\u4E00\u4E9B\u7EDF\u4E00\u64CD\u4F5C\uFF0C\u4F8B\u5982\u6570\u4FEE\u6539\u8349\u7A3F\u7684\u65F6\u95F4\u5C5E\u6027"},C=[{id:"\u4E2D\u95F4\u4EF6",depth:1,title:"\u4E2D\u95F4\u4EF6"},{id:"\u5B9A\u4E49\u4E2D\u95F4\u4EF6",depth:3,title:"\u5B9A\u4E49\u4E2D\u95F4\u4EF6"},{id:"\u4F7F\u7528\u4E2D\u95F4\u4EF6",depth:3,title:"\u4F7F\u7528\u4E2D\u95F4\u4EF6"}],N=[{value:"\u4E2D\u95F4\u4EF6\u662F\u4E00\u4E2A\u540C\u6B65\u51FD\u6570\uFF0C\u5728\u72B6\u6001\u63D0\u4EA4\u524D\u88AB\u8C03\u7528\uFF0C\u53EF\u901A\u8FC7\u4E2D\u95F4\u4EF6\u51FD\u505A\u4E00\u4E9B\u7EDF\u4E00\u64CD\u4F5C\uFF0C\u4F8B\u5982\u6570\u4FEE\u6539\u8349\u7A3F\u7684\u65F6\u95F4\u5C5E\u6027",paraId:0,tocIndex:0},{value:`import { Middleware } from 'helux'; const markTimeMiddleWare: Middleware = (params) => { const { sharedKey, moduleName, draft } = params; @@ -324,7 +324,7 @@ const markTimeMiddleWare: Middleware = (params) => { `,paraId:1,tocIndex:1},{value:`import { addMiddleware } from 'helux'; addMiddleware(markTimeMiddleWare); -`,paraId:2,tocIndex:2}],Q={},fe={title:"\u751F\u6001",toc:"menu",filename:"docs/ecosystem/index.md",lastUpdated:170390031e4,nav:{title:"\u751F\u6001",order:3}},k=[{id:"\u751F\u6001",depth:1,title:"\u751F\u6001"}],$=[],Z={},ge={title:"\u53C2\u8003",toc:"menu",filename:"docs/reference/index.md",lastUpdated:1704292961e3,order:0},lt=[{id:"\u53C2\u8003",depth:1,title:"\u53C2\u8003"}],Le=[],Dt={"docs-guide-reactive-demo-0":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,te,ne,se,ie,J,ve,ue,ce,ye,pe,me;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return me=function(){var Ze=ue(),Oe=a()(Ze,3),rt=Oe[0],Nt=Oe[2],Yt=function(){return rt.b.b1.ok=!rt.b.b1.ok};return r.createElement(ne,{info:Nt},r.createElement("div",{onClick:Yt},"b.b1.ok: ","".concat(rt.b.b1.ok)))},pe=function(){var Ze=ue(),Oe=a()(Ze,3),rt=Oe[0],Nt=Oe[2];return r.createElement(ne,{info:Nt},"b.b1.b2: ",rt.b.b1.b2)},ye=function(){var Ze=ue(),Oe=a()(Ze,3),rt=Oe[0],Nt=Oe[2];return r.createElement(ne,{info:Nt},"a: ",rt.a)},ce=function(){ve.b.b1.ok=!ve.b.b1.ok},Ae.next=6,e.e(4610).then(e.bind(e,24610));case 6:return W=Ae.sent,te=W.Entry,ne=W.MarkUpdate,Ae.next=11,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 11:return se=Ae.sent,ie=se.sharex,J=ie({a:1,b:{b1:{b2:1,ok:!0}}}),ve=J.reactive,ue=J.useReactive,setInterval(function(){ve.a+=1,ve.b.b1.b2+=5},2e3),Ae.abrupt("return",{default:function(){return r.createElement(te,{fns:{toogleOkOut:ce}},r.createElement(ye,null),r.createElement(ye,null),r.createElement(pe,null),r.createElement(pe,null),r.createElement(me,null))}});case 16:case"end":return Ae.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-reactive-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Entry, MarkUpdate } from '@helux/demo-utils'; +`,paraId:2,tocIndex:2}],X={},fe={title:"\u751F\u6001",toc:"menu",filename:"docs/ecosystem/index.md",lastUpdated:170390031e4,nav:{title:"\u751F\u6001",order:3}},k=[{id:"\u751F\u6001",depth:1,title:"\u751F\u6001"}],$=[],Z={},ye={title:"\u53C2\u8003",toc:"menu",filename:"docs/reference/index.md",lastUpdated:1704292961e3,order:0},lt=[{id:"\u53C2\u8003",depth:1,title:"\u53C2\u8003"}],Le=[],Dt={"docs-guide-reactive-demo-0":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,pe,oe,Y,te,ie,me,ue,le,ge,de,ve;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return ve=function(){var Ze=ue(),Oe=a()(Ze,3),rt=Oe[0],Nt=Oe[2],Yt=function(){return rt.b.b1.ok=!rt.b.b1.ok};return r.createElement(oe,{info:Nt},r.createElement("div",{onClick:Yt},"b.b1.ok: ","".concat(rt.b.b1.ok)))},de=function(){var Ze=ue(),Oe=a()(Ze,3),rt=Oe[0],Nt=Oe[2];return r.createElement(oe,{info:Nt},"b.b1.b2: ",rt.b.b1.b2)},ge=function(){var Ze=ue(),Oe=a()(Ze,3),rt=Oe[0],Nt=Oe[2];return r.createElement(oe,{info:Nt},"a: ",rt.a)},le=function(){me.b.b1.ok=!me.b.b1.ok},Ae.next=6,e.e(4610).then(e.bind(e,24610));case 6:return W=Ae.sent,pe=W.Entry,oe=W.MarkUpdate,Ae.next=11,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 11:return Y=Ae.sent,te=Y.sharex,ie=te({a:1,b:{b1:{b2:1,ok:!0}}}),me=ie.reactive,ue=ie.useReactive,setInterval(function(){me.a+=1,me.b.b1.b2+=5},2e3),Ae.abrupt("return",{default:function(){return r.createElement(pe,{fns:{toogleOkOut:le}},r.createElement(ge,null),r.createElement(ge,null),r.createElement(de,null),r.createElement(de,null),r.createElement(ve,null))}});case 16:case"end":return Ae.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-reactive-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Entry, MarkUpdate } from '@helux/demo-utils'; import { sharex } from 'helux'; const { reactive, useReactive } = sharex({ @@ -367,7 +367,7 @@ export default () => ( -);`},"@helux/demo-utils":{type:"NPM",value:"0.0.3"},helux:{type:"NPM",value:"3.6.14"}}}},"docs-guide-reactive-demo-1":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,te,ne,se,ie,J,ve,ue,ce,ye,pe,me;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return pe=function(){return r.createElement(ne,null,ie(ce.a))},ye=function(){ce.a+=1,ce.b.b1.b2+=5},Ae.next=4,e.e(4610).then(e.bind(e,24610));case 4:return W=Ae.sent,te=W.Entry,ne=W.MarkUpdate,Ae.next=9,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 9:return se=Ae.sent,ie=se.$,J=se.block,ve=se.sharex,ue=ve({a:1,b:{b1:{b2:1,ok:!0}}}),ce=ue.reactive,me=J(function(){return r.createElement(ne,null,r.createElement("h3",null,ce.a),r.createElement("h3",null,ce.b.b1.b2))}),Ae.abrupt("return",{default:function(){return r.createElement(te,{fns:{change:ye}},r.createElement(pe,null),r.createElement(me,null))}});case 16:case"end":return Ae.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-reactive-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Entry, MarkUpdate } from '@helux/demo-utils'; +);`},"@helux/demo-utils":{type:"NPM",value:"0.0.3"},helux:{type:"NPM",value:"3.6.14"}}}},"docs-guide-reactive-demo-1":{component:r.memo(r.lazy(g()(l()().mark(function Be(){var W,pe,oe,Y,te,ie,me,ue,le,ge,de,ve;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return de=function(){return r.createElement(oe,null,te(le.a))},ge=function(){le.a+=1,le.b.b1.b2+=5},Ae.next=4,e.e(4610).then(e.bind(e,24610));case 4:return W=Ae.sent,pe=W.Entry,oe=W.MarkUpdate,Ae.next=9,Promise.all([e.e(8636),e.e(3649)]).then(e.bind(e,73649));case 9:return Y=Ae.sent,te=Y.$,ie=Y.block,me=Y.sharex,ue=me({a:1,b:{b1:{b2:1,ok:!0}}}),le=ue.reactive,ve=ie(function(){return r.createElement(oe,null,r.createElement("h3",null,le.a),r.createElement("h3",null,le.b.b1.b2))}),Ae.abrupt("return",{default:function(){return r.createElement(pe,{fns:{change:ge}},r.createElement(de,null),r.createElement(ve,null))}});case 16:case"end":return Ae.stop()}},Be)})))),asset:{type:"BLOCK",id:"docs-guide-reactive-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Entry, MarkUpdate } from '@helux/demo-utils'; import { $, block, sharex } from 'helux'; const { reactive } = sharex({ @@ -479,7 +479,7 @@ const InBlockZone = block(() => { # yarn add helux `,paraId:0,tocIndex:1},{value:"\u6765\u81EA unpkg\uFF0C\u6539\u53D8\u7248\u672C\u53F7\u67E5\u770B",paraId:1,tocIndex:2},{value:"\u5176\u4ED6\u4EA7\u7269",paraId:1,tocIndex:2},{value:` + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-block-demo-0/index.html b/docs/~demos/docs-api-base-block-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-block-demo-0/index.html +++ b/docs/~demos/docs-api-base-block-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-block-demo-1/index.html b/docs/~demos/docs-api-base-block-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-block-demo-1/index.html +++ b/docs/~demos/docs-api-base-block-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-block-demo-2/index.html b/docs/~demos/docs-api-base-block-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-block-demo-2/index.html +++ b/docs/~demos/docs-api-base-block-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-block-demo-3/index.html b/docs/~demos/docs-api-base-block-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-block-demo-3/index.html +++ b/docs/~demos/docs-api-base-block-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-block-demo-4/index.html b/docs/~demos/docs-api-base-block-demo-4/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-block-demo-4/index.html +++ b/docs/~demos/docs-api-base-block-demo-4/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-derive-demo-0/index.html b/docs/~demos/docs-api-base-derive-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-derive-demo-0/index.html +++ b/docs/~demos/docs-api-base-derive-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-dynamic-block-demo-0/index.html b/docs/~demos/docs-api-base-dynamic-block-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-dynamic-block-demo-0/index.html +++ b/docs/~demos/docs-api-base-dynamic-block-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-mutate-dict-demo-0/index.html b/docs/~demos/docs-api-base-mutate-dict-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-mutate-dict-demo-0/index.html +++ b/docs/~demos/docs-api-base-mutate-dict-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-run-derive-task-demo-0/index.html b/docs/~demos/docs-api-base-run-derive-task-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-run-derive-task-demo-0/index.html +++ b/docs/~demos/docs-api-base-run-derive-task-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-run-mutate-demo-0/index.html b/docs/~demos/docs-api-base-run-mutate-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-run-mutate-demo-0/index.html +++ b/docs/~demos/docs-api-base-run-mutate-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-run-mutate-task-demo-0/index.html b/docs/~demos/docs-api-base-run-mutate-task-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-run-mutate-task-demo-0/index.html +++ b/docs/~demos/docs-api-base-run-mutate-task-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-signal-demo-0/index.html b/docs/~demos/docs-api-base-signal-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-signal-demo-0/index.html +++ b/docs/~demos/docs-api-base-signal-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-signal-demo-1/index.html b/docs/~demos/docs-api-base-signal-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-signal-demo-1/index.html +++ b/docs/~demos/docs-api-base-signal-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-signal-demo-2/index.html b/docs/~demos/docs-api-base-signal-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-signal-demo-2/index.html +++ b/docs/~demos/docs-api-base-signal-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-signal-demo-3/index.html b/docs/~demos/docs-api-base-signal-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-signal-demo-3/index.html +++ b/docs/~demos/docs-api-base-signal-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-sync-demo-0/index.html b/docs/~demos/docs-api-base-sync-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-sync-demo-0/index.html +++ b/docs/~demos/docs-api-base-sync-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-sync-demo-1/index.html b/docs/~demos/docs-api-base-sync-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-sync-demo-1/index.html +++ b/docs/~demos/docs-api-base-sync-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-syncer-demo-0/index.html b/docs/~demos/docs-api-base-syncer-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-syncer-demo-0/index.html +++ b/docs/~demos/docs-api-base-syncer-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-syncer-demo-1/index.html b/docs/~demos/docs-api-base-syncer-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-syncer-demo-1/index.html +++ b/docs/~demos/docs-api-base-syncer-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-syncer-demo-2/index.html b/docs/~demos/docs-api-base-syncer-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-syncer-demo-2/index.html +++ b/docs/~demos/docs-api-base-syncer-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-syncer-demo-3/index.html b/docs/~demos/docs-api-base-syncer-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-syncer-demo-3/index.html +++ b/docs/~demos/docs-api-base-syncer-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-syncer-demo-4/index.html b/docs/~demos/docs-api-base-syncer-demo-4/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-syncer-demo-4/index.html +++ b/docs/~demos/docs-api-base-syncer-demo-4/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-watch-demo-watch-root-node/index.html b/docs/~demos/docs-api-base-watch-demo-watch-root-node/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-watch-demo-watch-root-node/index.html +++ b/docs/~demos/docs-api-base-watch-demo-watch-root-node/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-base-watch-demo-watch-sub-node/index.html b/docs/~demos/docs-api-base-watch-demo-watch-sub-node/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-base-watch-demo-watch-sub-node/index.html +++ b/docs/~demos/docs-api-base-watch-demo-watch-sub-node/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-action-loading-demo-0/index.html b/docs/~demos/docs-api-hooks-use-action-loading-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-action-loading-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-action-loading-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-demo-0/index.html b/docs/~demos/docs-api-hooks-use-atom-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-demo-1/index.html b/docs/~demos/docs-api-hooks-use-atom-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-demo-1/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-demo-2/index.html b/docs/~demos/docs-api-hooks-use-atom-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-demo-2/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-demo-3/index.html b/docs/~demos/docs-api-hooks-use-atom-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-demo-3/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-demo-4/index.html b/docs/~demos/docs-api-hooks-use-atom-demo-4/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-demo-4/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-demo-4/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-demo-5/index.html b/docs/~demos/docs-api-hooks-use-atom-demo-5/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-demo-5/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-demo-5/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-demo-6/index.html b/docs/~demos/docs-api-hooks-use-atom-demo-6/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-demo-6/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-demo-6/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-demo-setting-pure/index.html b/docs/~demos/docs-api-hooks-use-atom-demo-setting-pure/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-demo-setting-pure/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-demo-setting-pure/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-atom-x-demo-0/index.html b/docs/~demos/docs-api-hooks-use-atom-x-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-atom-x-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-atom-x-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-derived-demo-0/index.html b/docs/~demos/docs-api-hooks-use-derived-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-derived-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-derived-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-derived-demo-1/index.html b/docs/~demos/docs-api-hooks-use-derived-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-derived-demo-1/index.html +++ b/docs/~demos/docs-api-hooks-use-derived-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-global-force-update-demo-0/index.html b/docs/~demos/docs-api-hooks-use-global-force-update-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-global-force-update-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-global-force-update-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-global-force-update-demo-1/index.html b/docs/~demos/docs-api-hooks-use-global-force-update-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-global-force-update-demo-1/index.html +++ b/docs/~demos/docs-api-hooks-use-global-force-update-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-global-id-demo-0/index.html b/docs/~demos/docs-api-hooks-use-global-id-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-global-id-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-global-id-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-local-force-update-demo-0/index.html b/docs/~demos/docs-api-hooks-use-local-force-update-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-local-force-update-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-local-force-update-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-mutable-demo-0/index.html b/docs/~demos/docs-api-hooks-use-mutable-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-mutable-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-mutable-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-mutate-loading-demo-0/index.html b/docs/~demos/docs-api-hooks-use-mutate-loading-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-mutate-loading-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-mutate-loading-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-on-event-demo-0/index.html b/docs/~demos/docs-api-hooks-use-on-event-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-on-event-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-on-event-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-on-event-demo-1/index.html b/docs/~demos/docs-api-hooks-use-on-event-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-on-event-demo-1/index.html +++ b/docs/~demos/docs-api-hooks-use-on-event-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-reactive-demo-0/index.html b/docs/~demos/docs-api-hooks-use-reactive-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-reactive-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-reactive-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-reactive-demo-1/index.html b/docs/~demos/docs-api-hooks-use-reactive-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-reactive-demo-1/index.html +++ b/docs/~demos/docs-api-hooks-use-reactive-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-reactive-demo-2/index.html b/docs/~demos/docs-api-hooks-use-reactive-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-reactive-demo-2/index.html +++ b/docs/~demos/docs-api-hooks-use-reactive-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-service-demo-0/index.html b/docs/~demos/docs-api-hooks-use-service-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-service-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-service-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-service-demo-1/index.html b/docs/~demos/docs-api-hooks-use-service-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-service-demo-1/index.html +++ b/docs/~demos/docs-api-hooks-use-service-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-service-demo-2/index.html b/docs/~demos/docs-api-hooks-use-service-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-service-demo-2/index.html +++ b/docs/~demos/docs-api-hooks-use-service-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-watch-demo-0/index.html b/docs/~demos/docs-api-hooks-use-watch-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-watch-demo-0/index.html +++ b/docs/~demos/docs-api-hooks-use-watch-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-watch-demo-1/index.html b/docs/~demos/docs-api-hooks-use-watch-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-watch-demo-1/index.html +++ b/docs/~demos/docs-api-hooks-use-watch-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-watch-demo-2/index.html b/docs/~demos/docs-api-hooks-use-watch-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-watch-demo-2/index.html +++ b/docs/~demos/docs-api-hooks-use-watch-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-hooks-use-watch-demo-3/index.html b/docs/~demos/docs-api-hooks-use-watch-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-hooks-use-watch-demo-3/index.html +++ b/docs/~demos/docs-api-hooks-use-watch-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-utils-flush-demo-0/index.html b/docs/~demos/docs-api-utils-flush-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-utils-flush-demo-0/index.html +++ b/docs/~demos/docs-api-utils-flush-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-utils-flush-demo-1/index.html b/docs/~demos/docs-api-utils-flush-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-utils-flush-demo-1/index.html +++ b/docs/~demos/docs-api-utils-flush-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-api-utils-shallow-compare-demo-0/index.html b/docs/~demos/docs-api-utils-shallow-compare-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-api-utils-shallow-compare-demo-0/index.html +++ b/docs/~demos/docs-api-utils-shallow-compare-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-action-demo-0/index.html b/docs/~demos/docs-guide-action-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-action-demo-0/index.html +++ b/docs/~demos/docs-guide-action-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-action-demo-1/index.html b/docs/~demos/docs-guide-action-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-action-demo-1/index.html +++ b/docs/~demos/docs-guide-action-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-atom-demo-0/index.html b/docs/~demos/docs-guide-atom-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-atom-demo-0/index.html +++ b/docs/~demos/docs-guide-atom-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-atom-demo-1/index.html b/docs/~demos/docs-guide-atom-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-atom-demo-1/index.html +++ b/docs/~demos/docs-guide-atom-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-atom-demo-2/index.html b/docs/~demos/docs-guide-atom-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-atom-demo-2/index.html +++ b/docs/~demos/docs-guide-atom-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-atom-demo-3/index.html b/docs/~demos/docs-guide-atom-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-atom-demo-3/index.html +++ b/docs/~demos/docs-guide-atom-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-dep-tracking-demo-0/index.html b/docs/~demos/docs-guide-dep-tracking-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-dep-tracking-demo-0/index.html +++ b/docs/~demos/docs-guide-dep-tracking-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-dep-tracking-demo-1/index.html b/docs/~demos/docs-guide-dep-tracking-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-dep-tracking-demo-1/index.html +++ b/docs/~demos/docs-guide-dep-tracking-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-dep-tracking-demo-2/index.html b/docs/~demos/docs-guide-dep-tracking-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-dep-tracking-demo-2/index.html +++ b/docs/~demos/docs-guide-dep-tracking-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-dep-tracking-demo-3/index.html b/docs/~demos/docs-guide-dep-tracking-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-dep-tracking-demo-3/index.html +++ b/docs/~demos/docs-guide-dep-tracking-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-derive-demo-0/index.html b/docs/~demos/docs-guide-derive-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-derive-demo-0/index.html +++ b/docs/~demos/docs-guide-derive-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-derive-demo-1/index.html b/docs/~demos/docs-guide-derive-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-derive-demo-1/index.html +++ b/docs/~demos/docs-guide-derive-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-derive-demo-2/index.html b/docs/~demos/docs-guide-derive-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-derive-demo-2/index.html +++ b/docs/~demos/docs-guide-derive-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-modular-demo-0/index.html b/docs/~demos/docs-guide-modular-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-modular-demo-0/index.html +++ b/docs/~demos/docs-guide-modular-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-modular-demo-1/index.html b/docs/~demos/docs-guide-modular-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-modular-demo-1/index.html +++ b/docs/~demos/docs-guide-modular-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-modular-demo-2/index.html b/docs/~demos/docs-guide-modular-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-modular-demo-2/index.html +++ b/docs/~demos/docs-guide-modular-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-modular-demo-3/index.html b/docs/~demos/docs-guide-modular-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-modular-demo-3/index.html +++ b/docs/~demos/docs-guide-modular-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-quick-start-demo-0/index.html b/docs/~demos/docs-guide-quick-start-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-quick-start-demo-0/index.html +++ b/docs/~demos/docs-guide-quick-start-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-quick-start-demo-1/index.html b/docs/~demos/docs-guide-quick-start-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-quick-start-demo-1/index.html +++ b/docs/~demos/docs-guide-quick-start-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-reactive-demo-0/index.html b/docs/~demos/docs-guide-reactive-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-reactive-demo-0/index.html +++ b/docs/~demos/docs-guide-reactive-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-reactive-demo-1/index.html b/docs/~demos/docs-guide-reactive-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-reactive-demo-1/index.html +++ b/docs/~demos/docs-guide-reactive-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-signal-demo-0/index.html b/docs/~demos/docs-guide-signal-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-signal-demo-0/index.html +++ b/docs/~demos/docs-guide-signal-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-signal-demo-1/index.html b/docs/~demos/docs-guide-signal-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-signal-demo-1/index.html +++ b/docs/~demos/docs-guide-signal-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-sync-demo-0/index.html b/docs/~demos/docs-guide-sync-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-sync-demo-0/index.html +++ b/docs/~demos/docs-guide-sync-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-sync-demo-1/index.html b/docs/~demos/docs-guide-sync-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-sync-demo-1/index.html +++ b/docs/~demos/docs-guide-sync-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-sync-demo-2/index.html b/docs/~demos/docs-guide-sync-demo-2/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-sync-demo-2/index.html +++ b/docs/~demos/docs-guide-sync-demo-2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-sync-demo-3/index.html b/docs/~demos/docs-guide-sync-demo-3/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-sync-demo-3/index.html +++ b/docs/~demos/docs-guide-sync-demo-3/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-sync-demo-4/index.html b/docs/~demos/docs-guide-sync-demo-4/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-sync-demo-4/index.html +++ b/docs/~demos/docs-guide-sync-demo-4/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-sync-demo-5/index.html b/docs/~demos/docs-guide-sync-demo-5/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-sync-demo-5/index.html +++ b/docs/~demos/docs-guide-sync-demo-5/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-watch-demo-0/index.html b/docs/~demos/docs-guide-watch-demo-0/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-watch-demo-0/index.html +++ b/docs/~demos/docs-guide-watch-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/docs/~demos/docs-guide-watch-demo-1/index.html b/docs/~demos/docs-guide-watch-demo-1/index.html index ce7162b2..be58ceb3 100644 --- a/docs/~demos/docs-guide-watch-demo-1/index.html +++ b/docs/~demos/docs-guide-watch-demo-1/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/packages/helux-core/src/types/base.d.ts b/packages/helux-core/src/types/base.d.ts index 0653eb09..7756e37b 100644 --- a/packages/helux-core/src/types/base.d.ts +++ b/packages/helux-core/src/types/base.d.ts @@ -37,8 +37,8 @@ export type UnconfirmedArg = ValidArg | void; /** 调用时如未指定具体 payload 类型,收窄为 UnconfirmedArg,让用户不传递也能类型校验通过 */ export type PayloadType

= P extends Dict ? K extends keyof P - ? P[K] - : UnconfirmedArg + ? P[K] + : UnconfirmedArg : UnconfirmedArg; // use Awaited instead @@ -641,8 +641,8 @@ export type SyncFnBuilder = ( export type Syncer = T extends Atom | ReadOnlyAtom ? T['val'] extends Primitive - ? SyncerFn - : { [key in keyof T['val']]: SyncerFn } + ? SyncerFn + : { [key in keyof T['val']]: SyncerFn } : { [key in keyof T]: SyncerFn }; export type SafeLoading = ICreateOptions> = O['mutate'] extends MutateFnDict @@ -651,8 +651,8 @@ export type SafeLoading = ICreateOp type FnResultType = T extends PlainObject ? T['fn'] extends Fn - ? DerivedAtom> - : DerivedAtom + ? DerivedAtom> + : DerivedAtom : T extends DeriveFn ? DerivedAtom> : DerivedAtom; @@ -942,8 +942,8 @@ export interface ISharedStateCtxBase = ICre throwErr?: boolean, ) => < D extends Dict = P extends Dict - ? { [K in keyof P]: ActionTask } & { [K in string]: ActionTask } - : { [K in string]: ActionTask }, + ? { [K in keyof P]: ActionTask } & { [K in string]: ActionTask } + : { [K in string]: ActionTask }, >( /** action 函数定义字典集合 */ actionFnDefs: D,