@baishuyun/ai-design 2.0.31 → 2.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/package.json +4 -4
- package/src/components/agent-helper/field-select/index.tsx +4 -1
- package/src/components/form-info-editor.tsx +13 -3
- package/.claude/settings.local.json +0 -7
- package/.turbo/turbo-build.log +0 -574
- package/debug-storybook.log +0 -19
- package/dist/ai-design.js +0 -39928
- package/dist/ai-design.js.map +0 -1
- package/dist/ai-design.umd.cjs +0 -591
- package/dist/ai-design.umd.cjs.map +0 -1
- package/dist/index.css +0 -1
- package/storybook-static/assets/AbsFullscreenGradientBg.stories-Hd2WmWkA.js +0 -18
- package/storybook-static/assets/AgentScrollSelector.stories-C3rsFZ6F.js +0 -40
- package/storybook-static/assets/AgentSelect.stories-DVhwD0rq.js +0 -53
- package/storybook-static/assets/AttachmentPart.stories-ejj4i7n-.js +0 -45
- package/storybook-static/assets/AttachmentPartGroup.stories-5Zdayw6l.js +0 -34
- package/storybook-static/assets/AttachmentsPreviewer.stories-DyjtCRco.js +0 -138
- package/storybook-static/assets/BaseButton.stories-DrGEYx9W.js +0 -11
- package/storybook-static/assets/BorderAnimation.stories-D9p4pgL6.js +0 -87
- package/storybook-static/assets/BorderColorAnimation.stories-tvilZOeG.js +0 -42
- package/storybook-static/assets/BotAvatarAndName.stories-B8ZNN2_J.js +0 -5
- package/storybook-static/assets/BotIcon.stories-DAyXSQDa.js +0 -3
- package/storybook-static/assets/BsEntrySelect.stories-B2B9FZWy.js +0 -119
- package/storybook-static/assets/BsTooltip.stories-Bf_LcqnK.js +0 -6
- package/storybook-static/assets/Card.stories-BSeowjg-.js +0 -8
- package/storybook-static/assets/CardField.stories-CYnnBUTk.js +0 -41
- package/storybook-static/assets/ChatAreaHeader.stories-muYZq_ix.js +0 -6
- package/storybook-static/assets/CircleChecker.stories-CueVuqmn.js +0 -38
- package/storybook-static/assets/CollapsibleTextMsg.stories-Bl8inRXa.js +0 -21
- package/storybook-static/assets/Color-ASIRERSW-CAiV6Nyl.js +0 -1
- package/storybook-static/assets/Combination-CZ7kzc03.js +0 -41
- package/storybook-static/assets/ConfirmDialog.stories-C3TDIr-r.js +0 -42
- package/storybook-static/assets/DocsRenderer-GHJI37HO-DLf4p3c1.js +0 -763
- package/storybook-static/assets/FakeBotMsg.stories-CSC1k9UE.js +0 -14
- package/storybook-static/assets/FormInfoEditor.stories-DcLwCSHN.js +0 -75
- package/storybook-static/assets/FormulaTag.stories-hiPYLb6Y.js +0 -29
- package/storybook-static/assets/GenerateAnimation.stories-C5qGwAy0.js +0 -14
- package/storybook-static/assets/IconBtn.stories-pcl--4Wl.js +0 -10
- package/storybook-static/assets/Icons.stories-FN8wG7iW.js +0 -3
- package/storybook-static/assets/ImgMsgPart.stories-CkiWUjiY.js +0 -15
- package/storybook-static/assets/LegacySlot.stories-C_PeMEjh.js +0 -38
- package/storybook-static/assets/LineChecker.stories-DcChEKvO.js +0 -93
- package/storybook-static/assets/LinearGradientBorderBtn.stories-CQgLcYJf.js +0 -46
- package/storybook-static/assets/LinearGradientColorBgAnimation.stories-D9NYfNzo.js +0 -43
- package/storybook-static/assets/MemoizedMarkdown.stories-BxOuEc_8.js +0 -195
- package/storybook-static/assets/MessageContent.stories-Cz7z6a8d.js +0 -14
- package/storybook-static/assets/NumbersMsgPart.stories-Dke7EvTU.js +0 -16
- package/storybook-static/assets/OfficeContainer.stories-DpQ7TB3v.js +0 -116
- package/storybook-static/assets/OptionItem.stories-BNr85yzu.js +0 -44
- package/storybook-static/assets/PreviewerHeader.stories-IxioHG75.js +0 -68
- package/storybook-static/assets/PrimaryConfirmBtn.stories-Dg0OQKbA.js +0 -30
- package/storybook-static/assets/PrimaryEntryBtn.stories-Baz1MVoZ.js +0 -35
- package/storybook-static/assets/ScrollToBottom.stories-DqAOmU_g.js +0 -5
- package/storybook-static/assets/SplitLine.stories-CbkBng-u.js +0 -9
- package/storybook-static/assets/SquareChecker.stories-BFXpWaHr.js +0 -43
- package/storybook-static/assets/TabRadioGroup.stories-d3CvjAQV.js +0 -54
- package/storybook-static/assets/UserTextMsgBubble.stories-Dv5HUEKe.js +0 -5
- package/storybook-static/assets/WarningMessage.stories-DoHvvVJB.js +0 -3
- package/storybook-static/assets/WithTooltip-IO6J4KBT-5iq4HD_s.js +0 -9
- package/storybook-static/assets/abs-fullscreen-gradient-bg-pEhwW8Lt.js +0 -1
- package/storybook-static/assets/agent-select-BlwXZgPu.js +0 -1
- package/storybook-static/assets/attachment-part-_D41HaS7.js +0 -1
- package/storybook-static/assets/base-button-BGn3Fo0B.js +0 -1
- package/storybook-static/assets/border-color-animation-BoCxpIBW.js +0 -10
- package/storybook-static/assets/bot-icon-Ci07j_8n.js +0 -1
- package/storybook-static/assets/bs-icons-CDeLTCWJ.js +0 -1
- package/storybook-static/assets/button-Cyp2OfiJ.js +0 -1
- package/storybook-static/assets/collapsible-TCbdh_v_.js +0 -1
- package/storybook-static/assets/collapsible-txt-msg-DukRF1Ws.js +0 -1
- package/storybook-static/assets/collapsible.stories-DmrXoEsa.js +0 -25
- package/storybook-static/assets/confirm-dialog-BO5s3AJb.js +0 -1
- package/storybook-static/assets/createLucideIcon-CkLwfbD4.js +0 -21
- package/storybook-static/assets/drawer.stories-BdM7Wbzl.js +0 -123
- package/storybook-static/assets/field-checker-f9FOL58q.js +0 -1
- package/storybook-static/assets/field-checker-list-msg.stories-B_6usiWl.js +0 -37
- package/storybook-static/assets/field-checker.stories-BghsIYEd.js +0 -91
- package/storybook-static/assets/field-icon-6Mrtj4c9.js +0 -1
- package/storybook-static/assets/field-icon.stories-D9Ukdb7l.js +0 -57
- package/storybook-static/assets/field-value-checker-BOyFGXwK.js +0 -1
- package/storybook-static/assets/field-value-checker.stories-Ch-7H5CO.js +0 -93
- package/storybook-static/assets/fields-design-info-table.stories-CtmX3mmp.js +0 -75
- package/storybook-static/assets/fields-generating-indicator-Cex4HigZ.js +0 -12
- package/storybook-static/assets/fields-generating.stories-CAtWVnX3.js +0 -16
- package/storybook-static/assets/fields-previewer.stories-D3USvSB3.js +0 -48
- package/storybook-static/assets/font-icon-Ts3EnP1y.js +0 -1
- package/storybook-static/assets/formatter-QJ4M4OGQ-Db-9LUhi.js +0 -1
- package/storybook-static/assets/icon-btn-B-A_0V7W.js +0 -1
- package/storybook-static/assets/icons-iPP3Tbk5.js +0 -1
- package/storybook-static/assets/iframe-BNpZCkNl.js +0 -1071
- package/storybook-static/assets/iframe-DHG3NC8n.css +0 -1
- package/storybook-static/assets/img-part-CWcYacNo.js +0 -1
- package/storybook-static/assets/index-B-T-IyWu.js +0 -24
- package/storybook-static/assets/index-CCxWT_9r.js +0 -1
- package/storybook-static/assets/index-CXB_DHA8.js +0 -1
- package/storybook-static/assets/index-CY6zduIX.js +0 -5
- package/storybook-static/assets/index-CaU3vELI.js +0 -5
- package/storybook-static/assets/index-D-D2iJjc.js +0 -1
- package/storybook-static/assets/index-DFx_ePTl.js +0 -1
- package/storybook-static/assets/index-DZuATJno.js +0 -1
- package/storybook-static/assets/index-DvxqVOC1.js +0 -1
- package/storybook-static/assets/index-KJpiBtEb.js +0 -1
- package/storybook-static/assets/jsx-runtime-CpaO0gaJ.js +0 -9
- package/storybook-static/assets/line-checker-DSzQ_hxZ.js +0 -1
- package/storybook-static/assets/linear-gradient-color-bg-animation-DIBcKbzI.js +0 -39
- package/storybook-static/assets/message-content-DwEkjIr8.js +0 -1
- package/storybook-static/assets/option-item-DVwitDz1.js +0 -1
- package/storybook-static/assets/preload-helper-CmsKOCeN.js +0 -1
- package/storybook-static/assets/previewer-header-BzO0Sbpf.js +0 -6
- package/storybook-static/assets/primary-confirm-btn-CW72MiLv.js +0 -1
- package/storybook-static/assets/react-18-Cn3rktXT.js +0 -1
- package/storybook-static/assets/square-checker-BKGRXJag.js +0 -1
- package/storybook-static/assets/subform-fields-value-checker-DCstRpVF.js +0 -7
- package/storybook-static/assets/subform-fields-value-checker.stories-BCg_WRIi.js +0 -114
- package/storybook-static/assets/syntaxhighlighter-IQDEPFLK-RkNUra3q.js +0 -6
- package/storybook-static/assets/tooltip-3SR6ujOq.js +0 -1
- package/storybook-static/assets/ui-B16ZxGB5.js +0 -4
- package/storybook-static/assets/utils-CXGjNK-X.js +0 -1
- package/storybook-static/favicon-wrapper.svg +0 -46
- package/storybook-static/favicon.svg +0 -1
- package/storybook-static/iframe.html +0 -687
- package/storybook-static/index.html +0 -143
- package/storybook-static/index.json +0 -1
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +0 -1
- package/storybook-static/sb-addons/docs-1/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -628
- package/storybook-static/sb-addons/vitest-2/manager-bundle.js +0 -3
- package/storybook-static/sb-common-assets/favicon-wrapper.svg +0 -46
- package/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-runtime.js +0 -75605
- package/storybook-static/sb-manager/globals.js +0 -24
- package/storybook-static/sb-manager/manager-stores.js +0 -23
- package/storybook-static/sb-manager/runtime.js +0 -19717
- package/storybook-static/src/components/abs-fullscreen-gradient-bg.d.ts +0 -10
- package/storybook-static/src/components/abs-fullscreen-gradient-bg.d.ts.map +0 -1
- package/storybook-static/src/components/agent-scroll-selector.d.ts +0 -12
- package/storybook-static/src/components/agent-scroll-selector.d.ts.map +0 -1
- package/storybook-static/src/components/agent-select.d.ts +0 -16
- package/storybook-static/src/components/agent-select.d.ts.map +0 -1
- package/storybook-static/src/components/attachment-part-group.d.ts +0 -16
- package/storybook-static/src/components/attachment-part-group.d.ts.map +0 -1
- package/storybook-static/src/components/attachment-part.d.ts +0 -19
- package/storybook-static/src/components/attachment-part.d.ts.map +0 -1
- package/storybook-static/src/components/attachments-previewer.d.ts +0 -18
- package/storybook-static/src/components/attachments-previewer.d.ts.map +0 -1
- package/storybook-static/src/components/base-button.d.ts +0 -8
- package/storybook-static/src/components/base-button.d.ts.map +0 -1
- package/storybook-static/src/components/border-animation.d.ts +0 -23
- package/storybook-static/src/components/border-animation.d.ts.map +0 -1
- package/storybook-static/src/components/border-color-animation.d.ts +0 -11
- package/storybook-static/src/components/border-color-animation.d.ts.map +0 -1
- package/storybook-static/src/components/bot-avatar-name.d.ts +0 -6
- package/storybook-static/src/components/bot-avatar-name.d.ts.map +0 -1
- package/storybook-static/src/components/bot-icon.d.ts +0 -5
- package/storybook-static/src/components/bot-icon.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/app-group-folder.d.ts +0 -6
- package/storybook-static/src/components/bs-entry-select/app-group-folder.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/bs-entry-select.d.ts +0 -4
- package/storybook-static/src/components/bs-entry-select/bs-entry-select.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/build-tree.d.ts +0 -9
- package/storybook-static/src/components/bs-entry-select/build-tree.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/entry-item.d.ts +0 -8
- package/storybook-static/src/components/bs-entry-select/entry-item.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/entry-popover.d.ts +0 -17
- package/storybook-static/src/components/bs-entry-select/entry-popover.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/index.d.ts +0 -3
- package/storybook-static/src/components/bs-entry-select/index.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/other-app-section.d.ts +0 -11
- package/storybook-static/src/components/bs-entry-select/other-app-section.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/scroll-slider.d.ts +0 -10
- package/storybook-static/src/components/bs-entry-select/scroll-slider.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/search-input.d.ts +0 -5
- package/storybook-static/src/components/bs-entry-select/search-input.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/tree-item-node.d.ts +0 -9
- package/storybook-static/src/components/bs-entry-select/tree-item-node.d.ts.map +0 -1
- package/storybook-static/src/components/bs-entry-select/types.d.ts +0 -28
- package/storybook-static/src/components/bs-entry-select/types.d.ts.map +0 -1
- package/storybook-static/src/components/bs-icons.d.ts +0 -77
- package/storybook-static/src/components/bs-icons.d.ts.map +0 -1
- package/storybook-static/src/components/card-field.d.ts +0 -11
- package/storybook-static/src/components/card-field.d.ts.map +0 -1
- package/storybook-static/src/components/card.d.ts +0 -11
- package/storybook-static/src/components/card.d.ts.map +0 -1
- package/storybook-static/src/components/chat-area-header.d.ts +0 -13
- package/storybook-static/src/components/chat-area-header.d.ts.map +0 -1
- package/storybook-static/src/components/circle-checker.d.ts +0 -10
- package/storybook-static/src/components/circle-checker.d.ts.map +0 -1
- package/storybook-static/src/components/collapsible-txt-msg.d.ts +0 -11
- package/storybook-static/src/components/collapsible-txt-msg.d.ts.map +0 -1
- package/storybook-static/src/components/collapsible.d.ts +0 -6
- package/storybook-static/src/components/collapsible.d.ts.map +0 -1
- package/storybook-static/src/components/confirm-dialog.d.ts +0 -26
- package/storybook-static/src/components/confirm-dialog.d.ts.map +0 -1
- package/storybook-static/src/components/fake-bot-msg.d.ts +0 -8
- package/storybook-static/src/components/fake-bot-msg.d.ts.map +0 -1
- package/storybook-static/src/components/field-checker-list-msg.d.ts +0 -19
- package/storybook-static/src/components/field-checker-list-msg.d.ts.map +0 -1
- package/storybook-static/src/components/field-checker.d.ts +0 -19
- package/storybook-static/src/components/field-checker.d.ts.map +0 -1
- package/storybook-static/src/components/field-icon.d.ts +0 -5
- package/storybook-static/src/components/field-icon.d.ts.map +0 -1
- package/storybook-static/src/components/field-value-checker.d.ts +0 -16
- package/storybook-static/src/components/field-value-checker.d.ts.map +0 -1
- package/storybook-static/src/components/fields-design-info-table.d.ts +0 -7
- package/storybook-static/src/components/fields-design-info-table.d.ts.map +0 -1
- package/storybook-static/src/components/fields-generating-indicator.d.ts +0 -6
- package/storybook-static/src/components/fields-generating-indicator.d.ts.map +0 -1
- package/storybook-static/src/components/fields-portal.d.ts +0 -8
- package/storybook-static/src/components/fields-portal.d.ts.map +0 -1
- package/storybook-static/src/components/fields-previewer.d.ts +0 -19
- package/storybook-static/src/components/fields-previewer.d.ts.map +0 -1
- package/storybook-static/src/components/font-icon.d.ts +0 -6
- package/storybook-static/src/components/font-icon.d.ts.map +0 -1
- package/storybook-static/src/components/form-info-editor.d.ts +0 -31
- package/storybook-static/src/components/form-info-editor.d.ts.map +0 -1
- package/storybook-static/src/components/formula-tag.d.ts +0 -8
- package/storybook-static/src/components/formula-tag.d.ts.map +0 -1
- package/storybook-static/src/components/generate-animation.d.ts +0 -5
- package/storybook-static/src/components/generate-animation.d.ts.map +0 -1
- package/storybook-static/src/components/icon-btn.d.ts +0 -9
- package/storybook-static/src/components/icon-btn.d.ts.map +0 -1
- package/storybook-static/src/components/img-part.d.ts +0 -10
- package/storybook-static/src/components/img-part.d.ts.map +0 -1
- package/storybook-static/src/components/legacy-slot.d.ts +0 -11
- package/storybook-static/src/components/legacy-slot.d.ts.map +0 -1
- package/storybook-static/src/components/line-checker.d.ts +0 -19
- package/storybook-static/src/components/line-checker.d.ts.map +0 -1
- package/storybook-static/src/components/linear-gradient-border-btn.d.ts +0 -10
- package/storybook-static/src/components/linear-gradient-border-btn.d.ts.map +0 -1
- package/storybook-static/src/components/linear-gradient-color-bg-animation.d.ts +0 -8
- package/storybook-static/src/components/linear-gradient-color-bg-animation.d.ts.map +0 -1
- package/storybook-static/src/components/memoized-markdown.d.ts +0 -5
- package/storybook-static/src/components/memoized-markdown.d.ts.map +0 -1
- package/storybook-static/src/components/message-content.d.ts +0 -6
- package/storybook-static/src/components/message-content.d.ts.map +0 -1
- package/storybook-static/src/components/number-part.d.ts +0 -9
- package/storybook-static/src/components/number-part.d.ts.map +0 -1
- package/storybook-static/src/components/office-container.d.ts +0 -17
- package/storybook-static/src/components/office-container.d.ts.map +0 -1
- package/storybook-static/src/components/option-item.d.ts +0 -9
- package/storybook-static/src/components/option-item.d.ts.map +0 -1
- package/storybook-static/src/components/previewer-header.d.ts +0 -21
- package/storybook-static/src/components/previewer-header.d.ts.map +0 -1
- package/storybook-static/src/components/primary-confirm-btn.d.ts +0 -10
- package/storybook-static/src/components/primary-confirm-btn.d.ts.map +0 -1
- package/storybook-static/src/components/primary-entry-btn.d.ts +0 -9
- package/storybook-static/src/components/primary-entry-btn.d.ts.map +0 -1
- package/storybook-static/src/components/scroll-to-bottom-btn.d.ts +0 -6
- package/storybook-static/src/components/scroll-to-bottom-btn.d.ts.map +0 -1
- package/storybook-static/src/components/split-line.d.ts +0 -5
- package/storybook-static/src/components/split-line.d.ts.map +0 -1
- package/storybook-static/src/components/square-checker.d.ts +0 -15
- package/storybook-static/src/components/square-checker.d.ts.map +0 -1
- package/storybook-static/src/components/subform-fields-value-checker.d.ts +0 -22
- package/storybook-static/src/components/subform-fields-value-checker.d.ts.map +0 -1
- package/storybook-static/src/components/tab-radio-group.d.ts +0 -20
- package/storybook-static/src/components/tab-radio-group.d.ts.map +0 -1
- package/storybook-static/src/components/tooltip.d.ts +0 -6
- package/storybook-static/src/components/tooltip.d.ts.map +0 -1
- package/storybook-static/src/components/ui/button.d.ts +0 -12
- package/storybook-static/src/components/ui/button.d.ts.map +0 -1
- package/storybook-static/src/components/ui/dialog.d.ts +0 -24
- package/storybook-static/src/components/ui/dialog.d.ts.map +0 -1
- package/storybook-static/src/components/ui/drawer.d.ts +0 -16
- package/storybook-static/src/components/ui/drawer.d.ts.map +0 -1
- package/storybook-static/src/components/ui/icons.d.ts +0 -176
- package/storybook-static/src/components/ui/icons.d.ts.map +0 -1
- package/storybook-static/src/components/ui/popover.d.ts +0 -10
- package/storybook-static/src/components/ui/popover.d.ts.map +0 -1
- package/storybook-static/src/components/ui/spinner.d.ts +0 -3
- package/storybook-static/src/components/ui/spinner.d.ts.map +0 -1
- package/storybook-static/src/components/ui/tooltip.d.ts +0 -13
- package/storybook-static/src/components/ui/tooltip.d.ts.map +0 -1
- package/storybook-static/src/components/user-txt-msg-bubble.d.ts +0 -6
- package/storybook-static/src/components/user-txt-msg-bubble.d.ts.map +0 -1
- package/storybook-static/src/components/warning-msg.d.ts +0 -6
- package/storybook-static/src/components/warning-msg.d.ts.map +0 -1
- package/storybook-static/src/const/ui.d.ts +0 -10
- package/storybook-static/src/const/ui.d.ts.map +0 -1
- package/storybook-static/src/hooks/use-column-appear.d.ts +0 -22
- package/storybook-static/src/hooks/use-column-appear.d.ts.map +0 -1
- package/storybook-static/src/hooks/use-resizable-width.d.ts +0 -26
- package/storybook-static/src/hooks/use-resizable-width.d.ts.map +0 -1
- package/storybook-static/src/hooks/use-shadow.d.ts +0 -25
- package/storybook-static/src/hooks/use-shadow.d.ts.map +0 -1
- package/storybook-static/src/index.d.ts +0 -76
- package/storybook-static/src/index.d.ts.map +0 -1
- package/storybook-static/src/lib/utils.d.ts +0 -7
- package/storybook-static/src/lib/utils.d.ts.map +0 -1
- package/storybook-static/src/stories/AbsFullscreenGradientBg.stories.d.ts +0 -17
- package/storybook-static/src/stories/AbsFullscreenGradientBg.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/AgentScrollSelector.stories.d.ts +0 -11
- package/storybook-static/src/stories/AgentScrollSelector.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/AgentSelect.stories.d.ts +0 -14
- package/storybook-static/src/stories/AgentSelect.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/AttachmentPart.stories.d.ts +0 -23
- package/storybook-static/src/stories/AttachmentPart.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/AttachmentPartGroup.stories.d.ts +0 -21
- package/storybook-static/src/stories/AttachmentPartGroup.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/AttachmentsPreviewer.stories.d.ts +0 -20
- package/storybook-static/src/stories/AttachmentsPreviewer.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/BaseButton.stories.d.ts +0 -18
- package/storybook-static/src/stories/BaseButton.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/BorderAnimation.stories.d.ts +0 -21
- package/storybook-static/src/stories/BorderAnimation.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/BorderColorAnimation.stories.d.ts +0 -26
- package/storybook-static/src/stories/BorderColorAnimation.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/BotAvatarAndName.stories.d.ts +0 -18
- package/storybook-static/src/stories/BotAvatarAndName.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/BotIcon.stories.d.ts +0 -17
- package/storybook-static/src/stories/BotIcon.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/BsEntrySelect.stories.d.ts +0 -17
- package/storybook-static/src/stories/BsEntrySelect.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/BsTooltip.stories.d.ts +0 -7
- package/storybook-static/src/stories/BsTooltip.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/Card.stories.d.ts +0 -14
- package/storybook-static/src/stories/Card.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/CardField.stories.d.ts +0 -13
- package/storybook-static/src/stories/CardField.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/ChatAreaHeader.stories.d.ts +0 -14
- package/storybook-static/src/stories/ChatAreaHeader.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/CircleChecker.stories.d.ts +0 -21
- package/storybook-static/src/stories/CircleChecker.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/CollapsibleTextMsg.stories.d.ts +0 -16
- package/storybook-static/src/stories/CollapsibleTextMsg.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/ConfirmDialog.stories.d.ts +0 -61
- package/storybook-static/src/stories/ConfirmDialog.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/FakeBotMsg.stories.d.ts +0 -21
- package/storybook-static/src/stories/FakeBotMsg.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/FormInfoEditor.stories.d.ts +0 -15
- package/storybook-static/src/stories/FormInfoEditor.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/FormulaTag.stories.d.ts +0 -37
- package/storybook-static/src/stories/FormulaTag.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/GenerateAnimation.stories.d.ts +0 -17
- package/storybook-static/src/stories/GenerateAnimation.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/IconBtn.stories.d.ts +0 -15
- package/storybook-static/src/stories/IconBtn.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/IconLib.d.ts +0 -12
- package/storybook-static/src/stories/IconLib.d.ts.map +0 -1
- package/storybook-static/src/stories/Icons.stories.d.ts +0 -24
- package/storybook-static/src/stories/Icons.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/ImgMsgPart.stories.d.ts +0 -20
- package/storybook-static/src/stories/ImgMsgPart.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/LegacySlot.stories.d.ts +0 -16
- package/storybook-static/src/stories/LegacySlot.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/LineChecker.stories.d.ts +0 -23
- package/storybook-static/src/stories/LineChecker.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/LinearGradientBorderBtn.stories.d.ts +0 -22
- package/storybook-static/src/stories/LinearGradientBorderBtn.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/LinearGradientColorBgAnimation.stories.d.ts +0 -23
- package/storybook-static/src/stories/LinearGradientColorBgAnimation.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/MemoizedMarkdown.stories.d.ts +0 -23
- package/storybook-static/src/stories/MemoizedMarkdown.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/MessageContent.stories.d.ts +0 -16
- package/storybook-static/src/stories/MessageContent.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/NumbersMsgPart.stories.d.ts +0 -19
- package/storybook-static/src/stories/NumbersMsgPart.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/OfficeContainer.stories.d.ts +0 -13
- package/storybook-static/src/stories/OfficeContainer.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/OptionItem.stories.d.ts +0 -20
- package/storybook-static/src/stories/OptionItem.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/PreviewerHeader.stories.d.ts +0 -12
- package/storybook-static/src/stories/PreviewerHeader.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/PrimaryConfirmBtn.stories.d.ts +0 -19
- package/storybook-static/src/stories/PrimaryConfirmBtn.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/PrimaryEntryBtn.stories.d.ts +0 -26
- package/storybook-static/src/stories/PrimaryEntryBtn.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/ScrollToBottom.stories.d.ts +0 -15
- package/storybook-static/src/stories/ScrollToBottom.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/SplitLine.stories.d.ts +0 -9
- package/storybook-static/src/stories/SplitLine.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/SquareChecker.stories.d.ts +0 -26
- package/storybook-static/src/stories/SquareChecker.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/TabRadioGroup.stories.d.ts +0 -18
- package/storybook-static/src/stories/TabRadioGroup.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/UserTextMsgBubble.stories.d.ts +0 -14
- package/storybook-static/src/stories/UserTextMsgBubble.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/WarningMessage.stories.d.ts +0 -16
- package/storybook-static/src/stories/WarningMessage.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/collapsible.stories.d.ts +0 -8
- package/storybook-static/src/stories/collapsible.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/drawer.stories.d.ts +0 -18
- package/storybook-static/src/stories/drawer.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/field-checker-list-msg.stories.d.ts +0 -11
- package/storybook-static/src/stories/field-checker-list-msg.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/field-checker.stories.d.ts +0 -13
- package/storybook-static/src/stories/field-checker.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/field-icon.stories.d.ts +0 -15
- package/storybook-static/src/stories/field-icon.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/field-value-checker.stories.d.ts +0 -13
- package/storybook-static/src/stories/field-value-checker.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/fields-design-info-table.stories.d.ts +0 -14
- package/storybook-static/src/stories/fields-design-info-table.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/fields-generating.stories.d.ts +0 -20
- package/storybook-static/src/stories/fields-generating.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/fields-previewer.stories.d.ts +0 -19
- package/storybook-static/src/stories/fields-previewer.stories.d.ts.map +0 -1
- package/storybook-static/src/stories/subform-fields-value-checker.stories.d.ts +0 -9
- package/storybook-static/src/stories/subform-fields-value-checker.stories.d.ts.map +0 -1
- package/storybook-static/src/types.d.ts +0 -8
- package/storybook-static/src/types.d.ts.map +0 -1
- package/storybook-static/vite-inject-mocker-entry.js +0 -18
package/dist/ai-design.umd.cjs
DELETED
|
@@ -1,591 +0,0 @@
|
|
|
1
|
-
(function(A,x){typeof exports=="object"&&typeof module!="undefined"?x(exports,require("react"),require("react-dom"),require("codemirror"),require("@tanstack/react-table")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","codemirror","@tanstack/react-table"],x):(A=typeof globalThis!="undefined"?globalThis:A||self,x(A["bs-ai-design"]={},A.React,A.ReactDOM,A.CodeMirror,A.TanStackReactTable))})(this,function(A,x,r1,pu,Yn){"use strict";var VN=Object.defineProperty;var RN=(A,x,r1)=>x in A?VN(A,x,{enumerable:!0,configurable:!0,writable:!0,value:r1}):A[x]=r1;var ze=(A,x,r1)=>RN(A,typeof x!="symbol"?x+"":x,r1);var _s;var S2=document.createElement("style");S2.textContent=`.rdp-root{--rdp-accent-color: blue;--rdp-accent-background-color: #f0f0ff;--rdp-day-height: 44px;--rdp-day-width: 44px;--rdp-day_button-border-radius: 100%;--rdp-day_button-border: 2px solid transparent;--rdp-day_button-height: 42px;--rdp-day_button-width: 42px;--rdp-selected-border: 2px solid var(--rdp-accent-color);--rdp-disabled-opacity: .5;--rdp-outside-opacity: .75;--rdp-today-color: var(--rdp-accent-color);--rdp-dropdown-gap: .5rem;--rdp-months-gap: 2rem;--rdp-nav_button-disabled-opacity: .5;--rdp-nav_button-height: 2.25rem;--rdp-nav_button-width: 2.25rem;--rdp-nav-height: 2.75rem;--rdp-range_middle-background-color: var(--rdp-accent-background-color);--rdp-range_middle-color: inherit;--rdp-range_start-color: white;--rdp-range_start-background: linear-gradient( var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50% );--rdp-range_start-date-background-color: var(--rdp-accent-color);--rdp-range_end-background: linear-gradient( var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50% );--rdp-range_end-color: white;--rdp-range_end-date-background-color: var(--rdp-accent-color);--rdp-week_number-border-radius: 100%;--rdp-week_number-border: 2px solid transparent;--rdp-week_number-height: var(--rdp-day-height);--rdp-week_number-opacity: .75;--rdp-week_number-width: var(--rdp-day-width);--rdp-weeknumber-text-align: center;--rdp-weekday-opacity: .75;--rdp-weekday-padding: .5rem 0rem;--rdp-weekday-text-align: center;--rdp-gradient-direction: 90deg;--rdp-animation_duration: .3s;--rdp-animation_timing: cubic-bezier(.4, 0, .2, 1)}.rdp-root[dir=rtl]{--rdp-gradient-direction: -90deg}.rdp-root[data-broadcast-calendar=true]{--rdp-outside-opacity: unset}.rdp-root{position:relative;box-sizing:border-box}.rdp-root *{box-sizing:border-box}.rdp-day{width:var(--rdp-day-width);height:var(--rdp-day-height);text-align:center}.rdp-day_button{background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex;width:var(--rdp-day_button-width);height:var(--rdp-day_button-height);border:var(--rdp-day_button-border);border-radius:var(--rdp-day_button-border-radius)}.rdp-day_button:disabled{cursor:revert}.rdp-caption_label{z-index:1;position:relative;display:inline-flex;align-items:center;white-space:nowrap;border:0}.rdp-dropdown:focus-visible~.rdp-caption_label{outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.rdp-button_next,.rdp-button_previous{border:none;background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;-moz-appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;position:relative;appearance:none;width:var(--rdp-nav_button-width);height:var(--rdp-nav_button-height)}.rdp-button_next:disabled,.rdp-button_next[aria-disabled=true],.rdp-button_previous:disabled,.rdp-button_previous[aria-disabled=true]{cursor:revert;opacity:var(--rdp-nav_button-disabled-opacity)}.rdp-chevron{display:inline-block;fill:var(--rdp-accent-color)}.rdp-root[dir=rtl] .rdp-nav .rdp-chevron{transform:rotate(180deg);transform-origin:50%}.rdp-dropdowns{position:relative;display:inline-flex;align-items:center;gap:var(--rdp-dropdown-gap)}.rdp-dropdown{z-index:2;opacity:0;appearance:none;position:absolute;inset-block-start:0;inset-block-end:0;inset-inline-start:0;width:100%;margin:0;padding:0;cursor:inherit;border:none;line-height:inherit}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center}.rdp-dropdown_root[data-disabled=true] .rdp-chevron{opacity:var(--rdp-disabled-opacity)}.rdp-month_caption{display:flex;align-content:center;height:var(--rdp-nav-height);font-weight:700;font-size:large}.rdp-root[data-nav-layout=around] .rdp-month,.rdp-root[data-nav-layout=after] .rdp-month{position:relative}.rdp-root[data-nav-layout=around] .rdp-month_caption{justify-content:center;margin-inline-start:var(--rdp-nav_button-width);margin-inline-end:var(--rdp-nav_button-width);position:relative}.rdp-root[data-nav-layout=around] .rdp-button_previous{position:absolute;inset-inline-start:0;top:0;height:var(--rdp-nav-height);display:inline-flex}.rdp-root[data-nav-layout=around] .rdp-button_next{position:absolute;inset-inline-end:0;top:0;height:var(--rdp-nav-height);display:inline-flex;justify-content:center}.rdp-months{position:relative;display:flex;flex-wrap:wrap;gap:var(--rdp-months-gap);max-width:fit-content}.rdp-month_grid{border-collapse:collapse}.rdp-nav{position:absolute;inset-block-start:0;inset-inline-end:0;display:flex;align-items:center;height:var(--rdp-nav-height)}.rdp-weekday{opacity:var(--rdp-weekday-opacity);padding:var(--rdp-weekday-padding);font-weight:500;font-size:smaller;text-align:var(--rdp-weekday-text-align);text-transform:var(--rdp-weekday-text-transform)}.rdp-week_number{opacity:var(--rdp-week_number-opacity);font-weight:400;font-size:small;height:var(--rdp-week_number-height);width:var(--rdp-week_number-width);border:var(--rdp-week_number-border);border-radius:var(--rdp-week_number-border-radius);text-align:var(--rdp-weeknumber-text-align)}.rdp-today:not(.rdp-outside){color:var(--rdp-today-color)}.rdp-selected{font-weight:700;font-size:large}.rdp-selected .rdp-day_button{border:var(--rdp-selected-border)}.rdp-outside{opacity:var(--rdp-outside-opacity)}.rdp-disabled:not(.rdp-selected){opacity:var(--rdp-disabled-opacity)}.rdp-hidden{visibility:hidden;color:var(--rdp-range_start-color)}.rdp-range_start{background:var(--rdp-range_start-background)}.rdp-range_start .rdp-day_button{background-color:var(--rdp-range_start-date-background-color);color:var(--rdp-range_start-color)}.rdp-range_middle{background-color:var(--rdp-range_middle-background-color)}.rdp-range_middle .rdp-day_button{border:unset;border-radius:unset;color:var(--rdp-range_middle-color)}.rdp-range_end{background:var(--rdp-range_end-background);color:var(--rdp-range_end-color)}.rdp-range_end .rdp-day_button{color:var(--rdp-range_start-color);background-color:var(--rdp-range_end-date-background-color)}.rdp-range_start.rdp-range_end{background:revert}.rdp-focusable{cursor:pointer}@keyframes rdp-slide_in_left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes rdp-slide_in_right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes rdp-slide_out_left{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes rdp-slide_out_right{0%{transform:translate(0)}to{transform:translate(100%)}}.rdp-weeks_before_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_before_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}@keyframes rdp-fade_in{0%{opacity:0}to{opacity:1}}@keyframes rdp-fade_out{0%{opacity:1}to{opacity:0}}.rdp-caption_after_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_after_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(S2);function L2(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const k=L2(x),Gn=L2(r1);function M2(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=M2(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function E2(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=M2(e))&&(r&&(r+=" "),r+=t);return r}const hu=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},mu=(e,t)=>({classGroupId:e,validator:t}),N2=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Qr="-",F2=[],Cu="arbitrary..",xu=e=>{const t=bu(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return gu(a);const l=a.split(Qr),c=l[0]===""&&l.length>1?1:0;return T2(l,c,t)},getConflictingClassGroupIds:(a,l)=>{if(l){const c=r[a],u=n[a];return c?u?hu(u,c):c:u||F2}return n[a]||F2}}},T2=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const u=T2(e,t+1,s);if(u)return u}const a=n.validators;if(a===null)return;const l=t===0?e.join(Qr):e.slice(t).join(Qr),c=a.length;for(let u=0;u<c;u++){const d=a[u];if(d.validator(l))return d.classGroupId}},gu=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Cu+r:void 0})(),bu=e=>{const{theme:t,classGroups:n}=e;return yu(n,t)},yu=(e,t)=>{const n=N2();for(const r in e){const o=e[r];As(o,n,r,t)}return n},As=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const a=e[s];wu(a,t,n,r)}},wu=(e,t,n,r)=>{if(typeof e=="string"){vu(e,t,n);return}if(typeof e=="function"){ku(e,t,n,r);return}ju(e,t,n,r)},vu=(e,t,n)=>{const r=e===""?t:_2(t,e);r.classGroupId=n},ku=(e,t,n,r)=>{if(Su(e)){As(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(mu(n,e))},ju=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let a=0;a<s;a++){const[l,c]=o[a];As(c,_2(t,l),n,r)}},_2=(e,t)=>{let n=e;const r=t.split(Qr),o=r.length;for(let s=0;s<o;s++){const a=r[s];let l=n.nextPart.get(a);l||(l=N2(),n.nextPart.set(a,l)),n=l}return n},Su=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Lu=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,a)=>{n[s]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let a=n[s];if(a!==void 0)return a;if((a=r[s])!==void 0)return o(s,a),a},set(s,a){s in n?n[s]=a:o(s,a)}}},Ds="!",A2=":",Mu=[],D2=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Eu=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let a=0,l=0,c=0,u;const d=o.length;for(let C=0;C<d;C++){const b=o[C];if(a===0&&l===0){if(b===A2){s.push(o.slice(c,C)),c=C+1;continue}if(b==="/"){u=C;continue}}b==="["?a++:b==="]"?a--:b==="("?l++:b===")"&&l--}const f=s.length===0?o:o.slice(c);let p=f,h=!1;f.endsWith(Ds)?(p=f.slice(0,-1),h=!0):f.startsWith(Ds)&&(p=f.slice(1),h=!0);const m=u&&u>c?u-c:void 0;return D2(s,h,p,m)};if(t){const o=t+A2,s=r;r=a=>a.startsWith(o)?s(a.slice(o.length)):D2(Mu,!1,a,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Nu=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s<n.length;s++){const a=n[s],l=a[0]==="[",c=t.has(a);l||c?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(a)):o.push(a)}return o.length>0&&(o.sort(),r.push(...o)),r}},Fu=e=>({cache:Lu(e.cacheSize),parseClassName:Eu(e),sortModifiers:Nu(e),...xu(e)}),Tu=/\s+/,_u=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,a=[],l=e.trim().split(Tu);let c="";for(let u=l.length-1;u>=0;u-=1){const d=l[u],{isExternal:f,modifiers:p,hasImportantModifier:h,baseClassName:m,maybePostfixModifierPosition:C}=n(d);if(f){c=d+(c.length>0?" "+c:c);continue}let b=!!C,g=r(b?m.substring(0,C):m);if(!g){if(!b){c=d+(c.length>0?" "+c:c);continue}if(g=r(m),!g){c=d+(c.length>0?" "+c:c);continue}b=!1}const y=p.length===0?"":p.length===1?p[0]:s(p).join(":"),w=h?y+Ds:y,v=w+g;if(a.indexOf(v)>-1)continue;a.push(v);const S=o(g,b);for(let j=0;j<S.length;++j){const E=S[j];a.push(w+E)}c=d+(c.length>0?" "+c:c)}return c},Au=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=O2(n))&&(o&&(o+=" "),o+=r);return o},O2=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=O2(e[r]))&&(n&&(n+=" "),n+=t);return n},Du=(e,...t)=>{let n,r,o,s;const a=c=>{const u=t.reduce((d,f)=>f(d),e());return n=Fu(u),r=n.cache.get,o=n.cache.set,s=l,l(c)},l=c=>{const u=r(c);if(u)return u;const d=_u(c,n);return o(c,d),d};return s=a,(...c)=>s(Au(...c))},Ou=[],at=e=>{const t=n=>n[e]||Ou;return t.isThemeGetter=!0,t},P2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,I2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Pu=/^\d+\/\d+$/,Iu=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hu=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vu=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ru=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bu=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gn=e=>Pu.test(e),Ne=e=>!!e&&!Number.isNaN(Number(e)),_1=e=>!!e&&Number.isInteger(Number(e)),Os=e=>e.endsWith("%")&&Ne(e.slice(0,-1)),w1=e=>Iu.test(e),zu=()=>!0,Zu=e=>Hu.test(e)&&!Vu.test(e),H2=()=>!1,Wu=e=>Ru.test(e),$u=e=>Bu.test(e),Uu=e=>!me(e)&&!Ce(e),qu=e=>bn(e,Z2,H2),me=e=>P2.test(e),Q1=e=>bn(e,W2,Zu),Ps=e=>bn(e,Qu,Ne),V2=e=>bn(e,B2,H2),Yu=e=>bn(e,z2,$u),Jr=e=>bn(e,$2,Wu),Ce=e=>I2.test(e),Xn=e=>yn(e,W2),Gu=e=>yn(e,Ju),R2=e=>yn(e,B2),Xu=e=>yn(e,Z2),Ku=e=>yn(e,z2),eo=e=>yn(e,$2,!0),bn=(e,t,n)=>{const r=P2.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},yn=(e,t,n=!1)=>{const r=I2.exec(e);return r?r[1]?t(r[1]):n:!1},B2=e=>e==="position"||e==="percentage",z2=e=>e==="image"||e==="url",Z2=e=>e==="length"||e==="size"||e==="bg-size",W2=e=>e==="length",Qu=e=>e==="number",Ju=e=>e==="family-name",$2=e=>e==="shadow",ed=Du(()=>{const e=at("color"),t=at("font"),n=at("text"),r=at("font-weight"),o=at("tracking"),s=at("leading"),a=at("breakpoint"),l=at("container"),c=at("spacing"),u=at("radius"),d=at("shadow"),f=at("inset-shadow"),p=at("text-shadow"),h=at("drop-shadow"),m=at("blur"),C=at("perspective"),b=at("aspect"),g=at("ease"),y=at("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...v(),Ce,me],j=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],N=()=>[Ce,me,c],O=()=>[gn,"full","auto",...N()],P=()=>[_1,"none","subgrid",Ce,me],V=()=>["auto",{span:["full",_1,Ce,me]},_1,Ce,me],D=()=>[_1,"auto",Ce,me],F=()=>["auto","min","max","fr",Ce,me],R=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],B=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...N()],U=()=>[gn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],Z=()=>[e,Ce,me],J=()=>[...v(),R2,V2,{position:[Ce,me]}],L=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",Xu,qu,{size:[Ce,me]}],ee=()=>[Os,Xn,Q1],M=()=>["","none","full",u,Ce,me],Y=()=>["",Ne,Xn,Q1],ie=()=>["solid","dashed","dotted","double"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>[Ne,Os,R2,V2],te=()=>["","none",m,Ce,me],G=()=>["none",Ne,Ce,me],ne=()=>["none",Ne,Ce,me],oe=()=>[Ne,Ce,me],ue=()=>[gn,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[w1],breakpoint:[w1],color:[zu],container:[w1],"drop-shadow":[w1],ease:["in","out","in-out"],font:[Uu],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[w1],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[w1],shadow:[w1],spacing:["px",Ne],text:[w1],"text-shadow":[w1],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",gn,me,Ce,b]}],container:["container"],columns:[{columns:[Ne,me,Ce,l]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:S()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:O()}],"inset-x":[{"inset-x":O()}],"inset-y":[{"inset-y":O()}],start:[{start:O()}],end:[{end:O()}],top:[{top:O()}],right:[{right:O()}],bottom:[{bottom:O()}],left:[{left:O()}],visibility:["visible","invisible","collapse"],z:[{z:[_1,"auto",Ce,me]}],basis:[{basis:[gn,"full","auto",l,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,gn,"auto","initial","none",me]}],grow:[{grow:["",Ne,Ce,me]}],shrink:[{shrink:["",Ne,Ce,me]}],order:[{order:[_1,"first","last","none",Ce,me]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...R(),"normal"]}],"justify-items":[{"justify-items":[...B(),"normal"]}],"justify-self":[{"justify-self":["auto",...B()]}],"align-content":[{content:["normal",...R()]}],"align-items":[{items:[...B(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...B(),{baseline:["","last"]}]}],"place-content":[{"place-content":R()}],"place-items":[{"place-items":[...B(),"baseline"]}],"place-self":[{"place-self":["auto",...B()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],w:[{w:[l,"screen",...U()]}],"min-w":[{"min-w":[l,"screen","none",...U()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",n,Xn,Q1]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ce,Ps]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Os,me]}],"font-family":[{font:[Gu,me,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Ce,me]}],"line-clamp":[{"line-clamp":[Ne,"none",Ce,Ps]}],leading:[{leading:[s,...N()]}],"list-image":[{"list-image":["none",Ce,me]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,me]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ie(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",Ce,Q1]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[Ne,"auto",Ce,me]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce,me]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ce,me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:J()}],"bg-repeat":[{bg:L()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_1,Ce,me],radial:["",Ce,me],conic:[_1,Ce,me]},Ku,Yu]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:ee()}],"gradient-via-pos":[{via:ee()}],"gradient-to-pos":[{to:ee()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:M()}],"rounded-s":[{"rounded-s":M()}],"rounded-e":[{"rounded-e":M()}],"rounded-t":[{"rounded-t":M()}],"rounded-r":[{"rounded-r":M()}],"rounded-b":[{"rounded-b":M()}],"rounded-l":[{"rounded-l":M()}],"rounded-ss":[{"rounded-ss":M()}],"rounded-se":[{"rounded-se":M()}],"rounded-ee":[{"rounded-ee":M()}],"rounded-es":[{"rounded-es":M()}],"rounded-tl":[{"rounded-tl":M()}],"rounded-tr":[{"rounded-tr":M()}],"rounded-br":[{"rounded-br":M()}],"rounded-bl":[{"rounded-bl":M()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ie(),"hidden","none"]}],"divide-style":[{divide:[...ie(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...ie(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,Ce,me]}],"outline-w":[{outline:["",Ne,Xn,Q1]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",d,eo,Jr]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",f,eo,Jr]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[Ne,Q1]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",p,eo,Jr]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[Ne,Ce,me]}],"mix-blend":[{"mix-blend":[...K(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":K()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":W()}],"mask-image-linear-to-pos":[{"mask-linear-to":W()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":W()}],"mask-image-t-to-pos":[{"mask-t-to":W()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":W()}],"mask-image-r-to-pos":[{"mask-r-to":W()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":W()}],"mask-image-b-to-pos":[{"mask-b-to":W()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":W()}],"mask-image-l-to-pos":[{"mask-l-to":W()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":W()}],"mask-image-x-to-pos":[{"mask-x-to":W()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":W()}],"mask-image-y-to-pos":[{"mask-y-to":W()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[Ce,me]}],"mask-image-radial-from-pos":[{"mask-radial-from":W()}],"mask-image-radial-to-pos":[{"mask-radial-to":W()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":W()}],"mask-image-conic-to-pos":[{"mask-conic-to":W()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:J()}],"mask-repeat":[{mask:L()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,me]}],filter:[{filter:["","none",Ce,me]}],blur:[{blur:te()}],brightness:[{brightness:[Ne,Ce,me]}],contrast:[{contrast:[Ne,Ce,me]}],"drop-shadow":[{"drop-shadow":["","none",h,eo,Jr]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",Ne,Ce,me]}],"hue-rotate":[{"hue-rotate":[Ne,Ce,me]}],invert:[{invert:["",Ne,Ce,me]}],saturate:[{saturate:[Ne,Ce,me]}],sepia:[{sepia:["",Ne,Ce,me]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,me]}],"backdrop-blur":[{"backdrop-blur":te()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,Ce,me]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,Ce,me]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,Ce,me]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,Ce,me]}],"backdrop-invert":[{"backdrop-invert":["",Ne,Ce,me]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,Ce,me]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,Ce,me]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,Ce,me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ce,me]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",Ce,me]}],ease:[{ease:["linear","initial",g,Ce,me]}],delay:[{delay:[Ne,Ce,me]}],animate:[{animate:["none",y,Ce,me]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,Ce,me]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:G()}],"rotate-x":[{"rotate-x":G()}],"rotate-y":[{"rotate-y":G()}],"rotate-z":[{"rotate-z":G()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[Ce,me,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ce,me]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ce,me]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[Ne,Xn,Q1,Ps]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function T(...e){return ed(E2(e))}async function td(e){if(typeof e!="string"||e.trim()==="")return console.error("要复制的文本必须是非空字符串"),!1;try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),console.log("文本复制成功(Clipboard API)"),!0;const t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.left="-9999px",t.style.top="-9999px",document.body.appendChild(t),t.focus(),t.select();const n=document.execCommand("copy");if(document.body.removeChild(t),n)return console.log("文本复制成功(execCommand 降级方案)"),!0;throw new Error("execCommand 复制失败")}catch(t){return console.error("文本复制失败:",t),!1}}function nd(e){return Array.isArray(e)?e.every(t=>typeof t=="object"&&t!==null&&"label"in t&&"value"in t&&typeof t.label=="string"&&typeof t.value=="string"):!1}const Is=(e,t)=>{if(t==="address"&&typeof e=="object"){const n=e;return`${n.province} ${n.city} ${n.district} ${n.detail}`}if(t==="location"&&typeof e=="object"){const r=e.lnglatXY||["",""];return`经度: ${r[0]||""}, 纬度: ${r[1]||""}`}return t==="linkdata"?e.label:Array.isArray(e)?e.join(", "):nd(e)?e.map(r=>r.value).join(", "):e},U2=(e,t,n="value")=>{var s,a;if(((s=e==null?void 0:e.widget)==null?void 0:s.type)!=="subform"||((a=t==null?void 0:t.widget)==null?void 0:a.type)!=="subform")return!0;const r=(e==null?void 0:e.widget)[n]||[],o=(t==null?void 0:t.widget)[n]||[];if(r.length!==o.length)return!1;for(let l=0;l<r.length;l++){const c=r[l],u=o[l];if(c.length!==u.length)return!1}return!0},Hs=({id:e,style:t="",rootEl:n,containerClasses:r=[],wrapperClasses:o=[],wrapperStyle:s={},extraHtml:a=""})=>{const[l,c]=x.useState(null),u=x.useRef(null);return x.useEffect(()=>{var d;(d=u.current)==null||d.classList.add(...o),l==null||l.classList.add(...r)},[o,r]),x.useEffect(()=>{u.current&&Object.entries(s).forEach(([d,f])=>{f!==void 0&&(u.current.style[d]=f)})},[s]),x.useEffect(()=>{u.current&&u.current.parentNode&&(u.current.parentNode.removeChild(u.current),u.current=null);try{const d=document.createElement("div");d.classList.add(...o,"wrapper"),u.current=d,Object.entries(s).forEach(([m,C])=>{C!==void 0&&(d.style[m]=C)});const f=d.attachShadow({mode:"open"});if(a&&(f.innerHTML=a),t){const m=document.createElement("style");m.textContent=t,f.appendChild(m)}const p=document.createElement("div");p.classList.add(...r,"shadow-container"),f.appendChild(p),(n||document.body).appendChild(d),c(p)}catch(d){console.error("创建Shadow DOM失败:",d),c(null)}},[n]),l&&(l.id=e),{shadowContainer:l,destroy:()=>{u.current&&u.current.parentNode&&(u.current.parentNode.removeChild(u.current),u.current=null)}}},q2=`
|
|
3
|
-
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABMdSURBVHgB7VoJlF1Vld33vffnX79+TalKqpKQEQQiGhIUJYDKqIZBxVYQW9FWWQuWK7at3SBL2rZdirYRAV3gkrZbXS3EAUEMtEoEHJgbYiDzWEmlUuOv+vN/793b+9z3E7FAkkjbq9tVN3n577//hrvvOWfvc84LMD2mx/SYHtNjekyP6XFkQ3Fzzj///MQVV1wxq3kshr/gob770NNXjWpj+qvabJ5oDDePu/hLHOdceOHs0BizuWTCX48as2EsCB7oL/zyaO7h4P/RWPraMxfcuqWOsQYc7Wgg6Thtyj/+aO6h8OcZcl8jO5dccomb5PD9WOurXnVix0S5lHW0VhJ5TuiEqdZ8cf0TTxe2locLT95zT2XKPXDwPgfHt31TfmZXkFzW5ah4SmPR4NBnlszt/cep5/05hyUSOzNj1Gc+8/kl996/7tPb+wcfm2gEE2UerHOrcpsIo09fNsahH2rj+6EJxU85eEhPFP3hnbv3/2bNmvs//dFPfOrYKc+JXf31x97X8pXAfKzujz21ZdM/NX/7X/HUQ0C/9rXbzti3f+SRSmD0+qGieXS4ZDaU62bAD0yBaAq1uhkr+2a0WONWN+Plhhnh/hj3J3heteqbet03OgiMCULTmAxNraB1vazNEBfioW171q1effNSedaNu4zJf9yYqXM4mkn/KcPjFtxz3y/e/5Zz33jz9n1jaU5cz+7OO62pBGgwiNdqo6E5H36zj7KzlLkqx84y0PKV54RAqDW36DqXs0qSd1NJBwnHQX+guChGFROYvOCfg5zetflDI3e+8l/lFjjKcbR0blf0hhtu6Lr3p/ftjSez7yxVfa+3J69mdrSoWDzGCXPS9iwF+SN/HcU9EwERgyi7BMp+OgSvHAOX57uuYz/lRFmMybrBaDlAi6vUExtDrLm3nnjDSY5ZckX2FbP6J7/53HOPhzjK2D0aC9tzN2/e+p5Fixf++8DgaNAxo92DiixpjShgQwPjRKDUwdsrHuNxsa62to0AG/mj7WV22nILcQD5HvJLSNQCvB4YxDwX4yXgGz8pYvUlaV1oTzgbnt3xlvOXL1jbnJs+YhBHDHbrrisXLZxzS7EWaM9xHceNAqgRRp8kHTGsXXLVtOMfApIfxSh0c+6GdhGUnBX9bqJHad0EzIt9Im6EDsHzOQEXkuxeKWmclDd6wPOcidLgh1+7sO8bOEJLH2nAu/fd9+hpixbOvaXOYIvFXCcRZ3wRMBceyXj0NMdOvunKEqpye4lX2RzZeI4b48aJ85hnj6not+baa33Qwtrum0OLZawnFasBXT3Aff3G6W3UdVvrzFvvWff063GE4XkkFvZIlGIWXff9IFSul/TUIaE1z3NdkqwFKC5sv4fRhAWUalpeLGt9T0CJlYkuFNLi96ChrRt7Ap8XykN936DSMKB6cZ/W5TOqPK/acFBrBHhbrwrrszPuuy94c3Lt2rVCYuHLBYw9ewbWdXV3nF5vaCeXTTajD81/lbVOQHOI1Yq1ELv6C9i0fRjrN+/Djh3D2LVrEGOjRVSqPvx6w8a4F4vD4Saf2XwGuXwKPT15zJ3djrlzO7F4YTf6ZuQgDKhrAeKeg1LNIfiAYA3KDYVipY5W2nVRJhVk51afnN+Zf+3hsHiH+d25/PLLO/Md7WcWxoqY0dNxUFys6cRVa75GgSBvv/NpfO/b92Pj+u20dAOZfBKnnTIP8bhCT95DW1YmKBN2Ua2HKBQnUCQDiwwNDhEXzR2SlU01hKnz/ty89hwWnLwA571xMd721mX2ebEY7+HrQwQ33NYC1ALv+Hzraz73uc91XXPNNaN4CQI7nIXVw488c+uEH37gjGUnOpmkF9GhsK2JHPnaGx/GF69djVNPPwEXvfVUHDu/G9/98aP42VM7kYwplCs1iD/HmnKjjBPFtsSkaK8y0f10JKoB40A3A9lMEnw1y+uzMIHCpVeehquvOIMLDIxXNMrpBLTHhefCdZ0c0+lnNt95ztJXXIqXILCXAmzDdKQelp94dmvqnFcfq6wrN6VFGOI1Z38B4yM7cNMXr0JhoojRQokT1kgnkrjpjnUYLlSprXKNYxMMideDU5EQCC1oYz+FzQNxXx3YfSOAhRJ2jwnTcc3iMG4veubkceedV2J3UaGaS9mYd8jcyfYAr+uIVxZ4KoPn5fJTh/NHgKqTP/Qh7/M333H6/tFCuqctrw4mcxKnNbLkxR9cg7A2iNtvXoXd+4YIuEJAyrro2GQFl567lIzaoKHcaJGsTkds60t2pSICCyVIuBM2WSHKyHiNaF65TuCevZ55J1dkJw5UYnjvB2/HvKwDHUQyqMgJpXGNfhfpT3723tOvv/569cfwvagsffOeTR+/+8ZbG+df+I4Hh0bH/I5sxrqdjDLj9dnnCrj7B9/HzV+6Epu2DUBEJRQr0ioBt0wqhtX/8Svk6HKGSE3TsKETJZmyBSJhYXRPa3j5bs8jYMvyPOtAWbQucu96Aea4M6HnzsGO9btx74Nb0epXuTA8n8BVxcV62vvkmec8ePHKT4df/WH/bXiRWFYv8t3c8ltjnt2odU+r4/TGt+Kv3jQXynUtU1ZILOde8QMs7R3GqctORI0MKiAl9kigBBvHTd/7JQbGKtRpYxfBaigXRds9xyYVmkoXWT6K4SjDanqCCPa2wcgexuDQisGH94YPwBRG0V7aj2/dsQr99GePF6X56wMxjR/9g2MVeeWbHDx895uT29aubeB57j3VwmrVDWtWNHhKLdROb14jT+u6XkRWkhNLevfYA7/BqUsXE2zDWlCyfwGWSydx909/hclUK8J4HEG5BJ8hEPIxgY3hKHsSsEJ6Yk2bYh60rDylWILbP4j4icfTqiP4g1D0J3mME2jrxvC2vZicqCIpS0gUAUG2Pa6RbDGYpDJ8Zx1w8ZtXXTDVwlNlSS9/+8ofhgNBuGKR68bDGl53Yidj1keChYEkD7sP1KDHh9Cay6EyNG4tJERFF8Bj67dg2ec/AYx4KDDG1t9yF5zf/pJP8Q6lkNaNVTNRsSFLy7tROKBUxuJTTkHq2o9gdDhAfYaHkdPfCVNzbEqqyEd6dC88ElfQ0o59ewvozWfR4L3Jk2iMEzQXbVgYdabRd6kzbufemucDfEEM93Qn0mXfcYdGmeEwXjXNLe4sTing9gwU4CUDWtNDPpdGLptCOh1HW8xg4riT8LOdDiYpGRgIMP/KlSjuGmCcedCOY+NWpEdcv1HzEU7WEAxNQO8bg9k9DL1zM7qu+Rsc2EwrlhqI76wj88lPMUbHotgTIiuNR7POdeHAyARi9LAE1zNBCRwdLiLLhanX7OI6YXfcPZyF8egwnHQV+PEm4LQ+jfseG8NfXzAXdT9kCsgkg9Kjcnms/MhtyOaYJRFsV3srZqVdPHLKeZhPy1rJSVBvueqGCUaJoCxKvxEx1CEqaaaiAsflVNwkdnJRYrkkFwg2x44lm78zVg1DR/E+UkYq0fhiFfFmtc1sF2mvAhPP8pyoro63vFB2XwB4L/PVnz0VudswBb7DVG3s2pqWW40WFz31vTgzHg/VSYPd42PwuRAnnENWTvI8ma1gSUQyw3SMx3xraeVEFRTM72NTUboEuGEp5KaILU1AFgXvk5A5uxawkh91JEOKTF7nfQWo9POEzDPJGiaSlLKA8yDoDucIZOm4mTzI6kfHREaUnURzWk09bE44KgjBZoStVa16ZmO2LS7XeykCT4tIejbDMl7MNgWsvkqJ5QoIz+q6kZCx3QE2ARKwIB1e7yRJSAnhDnJwImvPl+ssBZAXhExtpSVZn6yfx+wrFmBGKwmUi724EzishVvZtHh1B92FVUp7XDVdrtnq4M3FrUFHclQ0QaWbmsmHm8IEsllWM/SMuAp5FqQEai5ttCi6VIHKpCzJCUmZ9jwUExlrb+2iJcUYjNteCGSNahU2MhNtTKXStoJCKh1ZiQhTrEs1H+a5cbi0kMeFmsd6Y6zO67lwmfgLdfgFFnZZjkgOGYbSknGQTSatZaNoMEiSDg21lyWxjUcp6Soy4ZiH9X93I8u4EnoWOug5xsMjZ/89VM+cyDuG9mPeg19F9vKLm3VjiOwH34Xe//wimXeEjkAgM+dh89tXo+cED3NOdNCSrWP/J1eTetshNGyyLbR8GtJKkpjLMbWUhXdlfiTKrtYEjulmNUdjpfTBfsphLNw9MvZ9N+x8X5Y+loknEI+Ws9l/Ajq7JFVNMrxCrqyDztaIqbMsLOD0Ycd5H8NzXZ0Y3bANXlsH4rSCkJiZORvbT/oAetZ+AR2fvdjGXvXJIexddjXUzPlRA4ENQDM2iV/NvhrJBb3w+vfhmFOXoCGLWqPnsOPhcz5lk4YuV9HXmWVoO6izsopRJTzG+Y59jpW+RlmHS+vDD0/Fp17E4vrrvzbmyac0Znc6mJ0awXtXdliO8RhnD22q4YwVn8J7Lp6PCXYfpAVTJ5GxxWpzZJuqNaVW2ZzZ2ITD6iyZuNZ/AA1eJwWFw0Ql0dtj+12KXCE6LTGtTURMNrvmtdLY8xi7Hn1cmgkSVhNDCXz5X1aiszNnCVIWdR8Zd/WPXOwZj2P5cgd3rYqiHc/rbr4g8ZB/lrRVfjeeSy4xkwFWvD4XVTnyI6l+Rs7BzMXzMVIxtlKRtoslHsaopHhhszKykw61LfajPJzaSAWI9XSzheJFgEhoAtYwnkPbKRES8qwaGD5Luc3WD0FqHqeB2b5lYsH09rwVx6GvtwW1qixIiNaMi/knxMyN3zdqUbcyFy1rbL0rwhRMtejUETvt+MwrE4WfnrX8+PHfzJmlaEEmIKFYMsAx7QofvvIs/OLno2hLOra+FTiusC8iBpVCXeJfUbqE9MR6jkgO6dt1GA5ynPvKSRAUY86VzkcL3FiO+ko39Vqp4SSzOLckmw4JfsbSlKw8ktk86+DXYd5bj6Pb1mmxgOFBd6atwpyLd501cf+rUnesfN+KhLy1iB3Opace5+sQUwnDMNnwpfYLSRgetjCLuuaWB/DQ2o0469Up6nGDcRYeqmtt2xaRpQ/myZJaSkUktw5V3C6OVlIGCviElT/mTDzMOZLAlHxaLyApUWiTDt+geSk8MTkX7zg3jY+d68EraqsckrPEKEndfWk/p+zNX/S91EsBPvT7I09t+FZP3yve09USONR5uqAmQTn43X7g69/7NW7/t0exoC+LHibt8WZzzxbygW+lJWq/6qgJIK5v00vPJhG8guCpp7Sk5jxDhyzMODXxzCHA4kENnjNMKSu4aaxaPo6LTnKQM/QYEpbIeZq6voUs5anJO06fd8ylLwnoMICdyy67LHvDV741Ua35piPvKOki+mwSZ5nA1k0c+8dq+O5dG/D44wPYtrfIaqrI2G0gQU1MkeJjjDmPE5JP+qh1XwEq5WLo5m06CTfD6ipPYC2oJ3PcmMFRDAKmqW67odyEODNRw2UzC5jVleXCxm160ELLpmn9TC5u7qkZdetVl+d/vmZNES+jp2VBb9i0/cvxIHd1vpeMpaU5HlpWFELJJBmfnjTXSFpVjcliHQOjJWzaM4mdg5MYmiTJFAOMTjakHmC/jbm2uC83lWL145GpM3RhamyChJthltTaqtCZUZhJML2eT66gxrIJnlRRCZmhBHWy9m3j+Q4l8SHKQ2HkwE0X9vWtwmEa8kcEWFZsuFLduHnH+MIl3TnPYxIwSh0Mg+D3tbkVUseCly62YjIcd2JRK6f5IGnn2AZ72GzcSW+a3uKHLqJ2r7ZtH6Eg212mnRqIihG5QZz3ZL2CHubaOeYiFHl2PhtBwnP3JJLxBQfn+nIBy7Ba9uzg6H/9ZOPuk4bHRsz7l5/szEhnWBfUm/2qqGoRnYx6V0250k4Uw7bToW1HMrDFgxO9StHK9sLC5huLwLZ4XDuzqBnLRSRZplgdtJCYZmRdtHcmJJU1gZbXq2ZbPBE/FlP09uUCPgT6wae2/W1y/uwvDW3dw2SnihV9xzqxVA37mdMysigRjm2p1iURCUzE1JLm2QpKW60VApO2kGH+XReCE0b3vKjf5UTZlLbvZWh13kexVaRiPo6ZlcbCZIyvkAOTcT1nX/++z/bN6bsOkfz4RwLiaN8PN4tThD9e9+j1K15/ykfbfOQRDzGwoYEJ6mB/dZDtqEHMacmgk7luhjKWIHtLjItWs6xmhlbHECWlWKqxxKOkSatWqiB2UTQlrioszWKhMSvHJLZu2zjVXf1Ug3acP6OzsWXr5u9cd+11V61Zs6benNcRvTn8UwA/H7h90AXvfnf3yvMuOnvBkqUX6QUzlqS8bM9xnHp1ogzix04hN0fqf74FlAuTbJ4LYzOGyzw2ydx5dGQMhVIJY/SAOqujGWefgTZpz6ZRV9XauN49smn3M8/+pLTz8R/efN11O/H7N//h0U78f+I/tbxI09uoM898QyLV1dXitc1KFZl6LTl+fjpMtsRr5XIq0GHSDWPa1EMVVoxJ6oqfcbO1Lds3ljKzZpb3bNpYDGZnqk/edtsRuen0mB7TY3pMj+kxPabH9Pi/MP4bmKmJQPnWQYkAAAAASUVORK5CYII=)
|
|
4
|
-
`,Y2=`
|
|
5
|
-
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAACaCAMAAACg5DWcAAAC/VBMVEUAAADF3v70+P/z+P/+///x9//3+v/3+//u9P/v9v/3+f/l8P/r8//r8//s9P/i7v/k7//0+f/+/v/h7f/f7f/d6//Y6P/b6v/c6v+72v7Z6f/////8///o8v+/3f/w9f+32P3q8//X5//n8f/W5//e7P/k7//V5v/S5f/U5f/n8P/Q4//R5P/P4v/m7//d6//N4f/o8f++1P7N4f/J3//L4P/I3v+uyf/H3v/F2v/G3f/F3P/D3P+1zf+u0v9xm/xllvXD2//y+v+22P+71v90oP3C2//A2f+/2f/J4v++2P/09f/O4f7z+P+01f7U5f/o8v/S5f5rlfbO4P9vlvs/dftilPq91/95o/yix/6ozP5KhPtDd/s2bvtEgPpxmPxvmvlwmvp6pf241P+v0P682f54o/2x1P7M4/5ynPZ9pv2RuP2bwf2t1P6e0P7K4f5Ggvt/qP2r0PxtmfqeyPy+1/6ew/9vl/uBqv3E3v6ErP6Yvfza6f+Uv/200f+Ms/95qvxWivpllvxlm/yUuv2eyv7A3f+t0/y51P+ItP2tzv9hlPtxnvxPifu50P57q/ttm/xTivxck/yf0P9wo/x3qfxonPtdk/uIr/3L3/+HtvyMuf9Fgfpqm/1xoPxakfyzzP+Ls/6n0Pu/3P+xzf+61f+CrP3I3P6PvfxTjvxckfxNh/tXj/yl1v9jmfyGr/601f6x1vt2ovu71f7F3v90nPrB2/5Nh/u71P/s9Pyn0/10p/vA3/+Ou/z5+/y31P6px/yArv641/7a5/+au/ejwf3A2f+r4v7F3P+Mz/qr2v6NsPq1zv/F2/7R5f7v9fqDrPqq1f++2P/K4v/T5f+92P/Q4PTn8fpQhvxlkf2PuvjA2f+l1f+Vufrf7PiYwPudu//d6P////9qmvxwnv1div1nmPxZj/xSifxtnP1dkf1Ug/xLffwxa/pklv0XV/lYh/wQUvpXjPxQgfw7cfsjYPtik/xHefwdXPlfk/wtZ/snZPpOhv0KTfiCqP8BpNwVAAAA4nRSTlMAWSUpBi0ZFjk1HllFQT1hXSEJZWlxgXl1WX0OEk1ZMllJhVGJbVWNlZFVnJigUW2kSp+osKy0s7iWvMDEqllWBsgxWuL+zNDUWdgRjg1eh06HC44j/v7c+HJp/f7+/SkQGPDoZF37VU0d6aGBfXxU8d9fFGEaeTHWXcyLfGvdsZz586eWVlBDxH/t6ObVp4r17snFuKuS1r+TknTk18e2sKmSStHPw5qH/fXk4cu/uIR01q1wRQzGu7uqgHli/e/sdGUw+r6zsao16dW3oXfx7pqLZjwr+r6pa0o03snIud4hjhNXlwAADUhJREFUeNrs2edPU1EYBvDyT5jUD4RvmqiJceG2puJMSDSljjJVpIhYB4gjVkGBWlCrdW8pqKgoyHCh4sa994yohWqpIiCIGN/3nHPvue4W5y0+jo+SX55zz3vOUfE/vznRZ8IVKpVK0Vxy+vTVbncVw5qN+HSs3mBoeWZY+LDmIT7jrx80Y8ag4qkRU5uH2OozCMAzrh2KiG4W4lEZ+kGDfGbM8ClO0EQ0g1UdbgUvBDoeqdFEeD84I9aAXh8AFxeGef+ijmYF+6B4YlhYRLiXg08fMyCXVBxZ0CdM4+UV2w7oSb8QAPsWJ4RFe/e+ZTVQLyYyMvLabI13Vzwyw8C8g3x8IyHFhV9W7EX+8By6oGkQTEZTuEqkFlrPLVaovOZecSXPAFwWX6w4sKCPdDTlfXj27Fm6ItxL7hVncCRxMIghsZLRlPohEcAvDqqmeoNYpTgdSQrmYGVkYGDBIXHfioZ+MWkq7ziPJB/QC15ecaA6lo0mleoE4b569apQ4w1iVU4K9fKCScXHZpN9S6V4rGXgFxunarzgBDYx1yD1UrA6MDAwF4/U4Yo5z6kXwImaBPmP53irHqEcjGJoeOzYURM0mmjF0YBEoeAXb+54wSH7QJ5ByvWBeiFqAI/M6KMJL/wg9gvglRH4XSvkHHjX+XSDxvjBih47auSEmOiwD88crF8Ev0lIkPtV2ar8bD0zMHpnxRy9zPpl4JcrNDJf01Ou6PEAzftFsFqJ3mkT5sc80Apg0u+bl0siEmQ9mYbl6KX9pqbaUlMilWRBT4OC5+xOf8W9mNA+8l7T8K7Dtyvf1FuHn1y6mBpJPmD0rpp5Tku9rOCXbzdGh0XLd01r+EjyhX4vPcG0iCILetb8zbtnTp88+sUrvqABPEnWoxjedbg3pcUTksOp1BszZ8v0yeMv11IvchEcfCdMvqetu3CIlhS8/wlNwVjcsGBBg3f0iBEvWL/E+zZ4IYziqTIdxVYDX9AScN4o6p1JvOPK3gCYeQEcnCDbNZ2XoZeOXw5mG9b08ePBGzCOf8AIDpLtKA7P4V6ltOFY3LBW4YY1GrwBARUv0cv6DQ5aF5EgzzUN7zoCWAlg3nAu26DHgxfAT8e9Ai4EvAiulukoDrNKF7QUnIEbtOgFccBbScFB1bflOYqtgQbeL/7FwXzDQu7TpwH2twCmXgAHy3IUw7sOX9B4guZgsmEx71NMWUAwKzgIE3InQX6jGN51mFe8EorgR7vRO1rotwKiDab9YsHVIXtleCuGdx3GZRd+P2XqLQFMN6wRgresouwpHLHYggZwiPxGcYRVz/slYLVaBD8gXt5vGeR59VvaL4KdK2T30sPedejni/3ClT9ZAJ9j/TIwcp8/1QWJ3hDnugiZ/Y/5mUd6oV72AcMjZfJDAcw3aOSi93llWbXgBbCzUGajOEdJvT7SNywRfJkPJNFbWVYOYvQi+N1tjay2rbgremm/fvTN7hAHUy8DAxdSW1Etep3OEFmN4iJrCnIxyAWvmlz589l92AJeCHIrKki/Wm1trdbupB8wpkFWozgj9lOwmj3pLKYvHiUI5hs0gsFb6ygLAi71vmuQ0yiOt9rYAGYLGrxjyRPH8pvQ74kkcT0LC1pbWVtbX+/QvmPgdxAZjWJ81yFWseApY9mVf8Oe9DQLn8C8X229w+GoDHWCl4Lr5DOK4V1HGMB8QU8TrvzSDRrB7ANGr6OqEiqm/TbUyGcU5/gZ+PxVix9wDL/yC/sz9SK4HsB2u92he8e8ELmM4pHwrgNeoV8/5mVXfu4VJzD2C2A7pKoe1jPz1t3WyOFWHB9FRpKS1qsUBhJ68cqfZBmnLZOesCrBy/p9Zq+qyi6voeCahhpnxoTkM/9wxfG2Y1dMxiPmPANwGZh62YaF3puHYZd2APhr/QK4vD4EvQCuqXGdMJvNRtOiPNsNxT+WG365+cYxY47ALzM83FEwtEs2LOhXeJNNo3P4RKU4gHnBkGwAl2fXoBfBdYlmyJEj8A8b83P9/hF1PFgHj+ExBxqE/yEUT1jiBn2CnbQS6YKmXC16EVyVDd5ye1ANchFcU1JiNo/hyc+1xSv+ZuKPXTX1+zTmA3pfKZj/JxJZ0E9oxpVV8H6ZtwpSDnlvF8GvL5tLANxPGlOHqL9SNWKzhvf7ImdT+AsHgumJg71RWo4wsEVYz5V44GD9Mu/78tA6sqDr6lzBxhKjsZ8Yjk75s00X3Ss2DecZTP/CmDNSqFetVlIwKRgmMH2Tpd5L5RXCABa8VRjifa+zg5eCXSUANrJ/Hv/wmK7eU/yZFEV2yBr8jRjv2+gBGsXEy75g9ghdeYJ8wlo+kGBB834ZWKdzgRfBry1GyOCB3/hx3X570agd+J2cjTUI3y94pWBsGA6VSSOO3CxJfE4Kxn5rHZ96kftel+0ELRbsagBv1uDv/MTfuriLfDsM+G6MOXrhPIlB8BRhj4aKgTzakrQ9yWKxsAksWdCUC2BIaLaLgRsfZ2ZmZX3/p/4mc9G9bv2/n6z+Z9WkXj+1FMxOWSCenE5iwSQlJWkxjnq7OJA4WFftAi6Cl2RlZkF+8KOv2n41915B974/zH3/FHrgENLbD8G4S4N4y8w9GGJOS0+i2Q4Bb6K4YSE4NBQqpuDXrkyouO+Pc6r4V9Z8vVtPd2JOEe6DArh37yk4h7etidk8B8hbNmzYAOb1kPQ0EhBDEkkQjFySoNd1BNw4OTPT1NOtdPtFNRfN6NLDrZyFkcS56IXQiretAfLm5ct3L1u2bANmPUnaSqJegkGyLlEniN/XIff168YgU6bJ1MO9lBp+vub4a526uxcTjCQAqyX1CmIkg3nN3Llzl0OWQah6JWYnZgnJpEmTdJNCaRoBjOJMBHd3Nz+5suMLurqds3kGvp7Ry8Agng3kBQsWABrVEKbetWvX0qVLRfSOJTt2TCIBtK4BtAhON5n27evqfgrif4Lbxf2YcsgXzLlcHBc3avbskWvXrl2AWQyZS9Xz5jE0qhcuXLgDs46Jyxtpww37AHyqiwdpIrnoWidPcvaY0le6Qasl5DjMbMjaz9XzMBsZeiEEwOsoudzZSCt+sA/AnTxKE8hFhnadPcmpzBQ1/4B7wyj+tGRm5mqKXrFiBUNv3AjkvWhmZF0ogDF79p0/dapTZ4/SzuDpjX51R89SarSx4yQjS5OMf8WxHBLQRxccPHgQ0RBihuzdi2YU67IpuNF17vz5U6WlnTt6ltXXPeAOudje4+QUp/hFKaP8or6W5KhkCPyFiUuOOwQB+FHIQcwKhr4tmGFM1TeSuJznz5/PLy1t73GuDXHXa2vdzuO0b3cgNzc39rNMhN9fzwQYVJA1GD6t8FuGLTtte3Z20rn160LqXHVB/v7+m/JL27fzPK1tbtbbpim50Cb2bmFhn5/O0W0xJzGb/Ddtyvc/eTIfvRcutGvTlFx0o+Tjrdo2KVu3Xli0qNcm/1+ZTTSLFl3Y2qZtkzL0h1+yoXVTA+IOQP5lWSSmQ4etW1s3NfofLOeP7JJNbhpBEIVLgME/SRwgQBQHoRAwCgsQ2XmbLYwwylnY+SJzAm6QC3AFX8A3Sb/urn6DYWIhUBY03/RU16t+VQ2CH56BJixgIeSRrlY/jw++7SpNefW+/OtvvWwNXtMbvAF9szRNH45J+pCaZZjN9v9UpJX7jV+avQOY93qz2W8wM2BHaiVebgjuTFP2eQ+eDJh9AM2l7GTdPZRFd74A88XcsED0ryuignOU6MFSA4Qauibagd2DWe/8vs0TZi1bFL4YnhCw5cCj/FPmCG92MHvSQF4rjrPmXCucm2x942WjddI0KrJBUv984tQTyXLbOHluSkKe++Nxf4yAx+4ACqKPDdrVLHoOuwtwee0c3qa5bjTb+QG9QKu200qvtJHBz6CwNm4caHiWwMunKCiLclOPgvCnXt9Gwlosfz7Ggv+Jr26ioSiG0uReGbowHA6RYoXU7Faqz7q0zQvtgMQKblUQBCJ08/Q+TMLSE14O2AEjAqS6obF4v3pH+ImvR98NI/O44BNECF8EasSZi1jWAZzKjnGn6kce3LwCki16ApymcqZsAz8jJ3uN4BbQGVURuWy32494sSwUm4VHCuSU2QY8WdDHGv3ZWbyS0ODsGtjG851tmRpdlyK1b4bJZOJfBFSw+TjRDLk71zIW8Jpn2NgFE6L62cRR4VpfpV+PkGliHrqgEOkIx2z300tSeRcVZSm8j4qCXHyIiqJcXEZFR67ioiOdTueXf5C6yGDqrAGkqPtdO1w/NKLXnKjmDkHON4BOlnWmOrKXwGuDdnIsLYgbN8lFZEgxMqRaOEmKOfVrqVS3KVQJ2ct4+IDDZzLlXpbpdVRMpVaOippIJSpEJPlqmCJgdwnzKR4Eu2hFibUcaGFl+wX0EUhmvJVlSHa7nGPpY+udiJTuLAmCQpVQbUMDIjVT/yZBU9JGLwsbBgOKic13TWEOp2ashQtKYqgFkloOPP8PJEfwJjlCQCke5MyZM3/bg0MCAAAAAEH/X3vCCAAAAAAAAAAAALMAtVxBZCV0s74AAAAASUVORK5CYII=)`,G2="url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAABoBAMAAAAqf9qeAAAAD1BMVEXx/+by/+ry/+7z//Hz//QpjUuZAAAIvUlEQVR42uSaW5KjMAxFfXcgZQfADpjeQWf/a5oqLDmPwXLhAH2ZPh+dfBrVaeVaKN0X/lQZ1xm0SWJHm9zGderluteoFno2xgq3jK6AdxIR8kCRWSmwM64zGxsK3W/0kAmMlkIiAgWtM2TOMHoyqkZrDSihyE9Gv8ut/2IPx240rmW0kBudWa3zRXq0oTv26K8DjM4EPfrhMZXRBfxE6vje02g3hdJoPLiI0c3UIZw9Whxtp45xq9FfZ6YOyvI6QCrU6+0PN1bw6tAZzVTzd6NlV6PP7NHK3KPxIDVbtN52N/p7q9HjltRBZXRBDWiNY412fonRGhk9Mhg9GFfv0UHq4DBaq4CvumupIxre6cJFjFbOS/gORk8UPVoUBmPnQMGN7ujR03R+6ggH0g6T0VK+NEOHnmr0vMFoh9do8Bo9/689Wts3w/EMo2dne+ogrK7zfKpoeGefDEYPwzWHHVHo+Nzoe1DozGajh0sOpIGEQqtHsxh9zWFHOQqaqYPdaAiz0Q/skD1Gz5meQv+WHi0pHTPq6C90y2it47Ikh0ZpAHiRWxG8YOlY6+gx2qgavSFIE70Hf0sd+HmjJ2N76lBYjcVhMXrx+eViGI2jOYwOhx32AMkAT+wovxeB0Q6H0eGqEq/RCY4bjWDUwWF00KNdF4PKaGvTAEvq6F/sUHGj2VIHFvI3bY46LmC0gjZIJ5HjjP6KCn3AYofXWGGwKI2n2GFH7Ni8m7w2HUZ3vGIZgtThTToZNEY//rsUGhFPSfcyOn7F4kSLHaqMG9JA/iNSTvix0Z8X2pnj7bvYaMnQKJ0PAwDSbtEnGT07QewIeDaZRenngYCdMBh10Bk9rAkNM9rgCdIpyavR4Dc6U2kcT7cvsOwbYGFpIFHoaPdoi9EHGd0/7KBJ0iXTe8+QfVPH/WSjFa9Gg+NuCOSPFIcOHVr3lT6jj7waImWDyIwGUqRye6bUZfQRww6FCbM4xBKkUXp0kiB0qJnTYfT9bKMdmENEd0NLHVcyOp52mC+LQhyXQzgpDB3FnxuL0W5yaLR3RordDs/0CRqHjvi+0mt0e9jRvVBqnxx3QzvCx0ZPXpogdASF3vVq6ECX5swykhYDbrSiZ6bkNe4o9P7DDlHbmsi9keAtC4xliwbt0KEji9F/mzvDJKdhGIxaN5B7gyY3oHsD9v5nYvpZsgkzlliliiPKFn7FEa/ys+yU7X+J5pusDdv1lehpdKDvQ7RrHfDpco+WNEnIaoURRomeEq25CSc64TEWqtRovscuizp90RRHpANbs4Z0eImOi/QsyUo0lTswrQMA0Tq+kEYr0YFER0W6h0E0+LmFSXMPUqKNnaw7ES35tYnG+w12WYiG/5BNtNMk1dx8nmhjNrQ6pfjRNo7ucLhjTBWinjOkPelAfJJoXzvMr2Tj2om+gUlDfiSKnjyxSvRz+zHRX06i4yLddzGtbum7Rt9hl2X0EGX57YRL9OlEnycaoURXKjc43KEjGETX2KGObZfcxBMd0I4HwiaairK8FGnw3MIm2rW700QHtMP2DiWaynKTVp4xAh2e+dDsPNF3I5qVaC58B5NuQwDQp4j+hTCkI4Ho7WkXaRB9B5MWnjXqNPzT/rsSHUh0XKT76OwaDZ7WqrRcW6TD14653bUIER0XaXsJTnjdwaQPPHP9ANH7nkJ0UDsIRFcBeSnSOkUwV1KiyTrsn0C0L9KvoHaAaNzi2pP/JFHwspv++oefE/3lJPq0diCmRIvgrTVpXHWArDNihOiXEh1JdFykzSJNevQfDxquQ5pItAOj4EocL9GbfthfOUTHtIPqIBqxCmnugTQTGngx6ZBqejHRm0O0zIS1rDRp0DzAZqylyADalI450d9OotO0Q2uHzIcLkeZ+8ULA+f2LalA6EK9gouMi7Zzt0J0WxJpzpXQMFDQ+IR2I/WKiN0s7qHfX5WHwJedKAXRv4FVuMsRR6cgl+rXFWtJ6gKJSWYY0HYKbCRnbso50TOPLS3RUO/xNluZ2LeOjQi9BWi8PlAk/AtJhPG9vJFoTfUY7fKK1yd6l42qkiQ7WAaLZ210xSnQi0b52IObFo8+FgvTFROOKEhXGWcPN6F3jXKI/rR3UiK4C9opnDuWKjWrdlmen0xEi+ttLdKJ2KNHUpsNSFpwrHRfEpIwB4WdYoxGBRGdqRzPoA9FUrmQaQPdCLVMhuA5KRxbRvnY8+yDnfdL2ajW6OFU6CWj8Fn+eO4fczBaRDj/Rad0OnQfbuaXCdPVZaQDdC7RWaFQyWzpcoiOJTtUOXR2ihpRy/QEP8KxvVTJMU+3wpCONaF87tHY8LaLRMSvA60rzoOMVtZk40bsBy3wuPEN0qnYo0XhJXOnShwVpFaINnrOkw0+0T7RzFp1Zya7ljZeSlh4DaNWO8VVPU4sOlOhQouPaMUOaDyfSiwJtVOksoIvsYEKkp0TjXlzpyEi0rx0aBtHd8ACYUaVzgMYVWf/VrUZHReU4Kx1+on+Hi7RxXElaDCC61WbDpVOAhnaQToKE14RpLFcSpAOJPqkdGOHcpIn6zQEtoy+dCTSBaM+i3/JkzIVriUbdcB6Ea9ZR/2p2BPrScaBZzz1Uyzr0PtztlT2W6LPdjqeQMENai+M4V2qsD3OAlq/IVMecAC3JTpAOJPqsdqB2WERLcex84d1AOgVolA0xDsui4RyedOQkepcwZ8M6N2mqUhzxF6HZQDoDaCoMnDGMWYkG1OZyJZ9ov0jPTVpb/7hJzW4+0vxvhZYJ2WpFt0/mFt5e8RN9vtvh/D+/uiOKrnQ60qD4ADTyLN3xGdCN6PrwiU5J9IjNN+nHjGii/tEFawbSKUCzzBQ20bAOY7mSS7S/Ntzw/LSFNBbgoIrR7UhmGhQfKrS4TzMOq3WHEp0gHUj0+SIttj/1DhDNyDSI7kgnMS0ky5sSDcWc1Q5F5RFYF4YSHWzgYaBTosf5IEKNTkVaLzCAFtcw0vwYkSMd338AsPwZPYZjSIIAAAAASUVORK5CYII=)",re="transition-all duration-200 ease-out",Vs=[{id:"biaodan1",code:"",label:"表单1",value:25},{id:"biaodan2",code:"",label:"表单2",value:26},{id:"biaodan3",code:"",label:"表单3",value:27},{id:"biaodan4",code:"",label:"表单4",value:28},{id:"biaodan5",code:"",label:"表单5",value:29},{id:"biaodan6",code:"",label:"表单6",value:30},{id:"biaodan7",code:"",label:"表单7",value:31},{id:"biaodan8",code:"",label:"表单8",value:32},{id:"biaodan9",code:"",label:"表单9",value:33},{id:"biaodan10",code:"",label:"表单10",value:34},{id:"biaodan11",code:"",label:"表单11",value:35},{id:"biaodan12",code:"",label:"表单12",value:36},{id:"biaodan13",code:"",label:"表单13",value:37},{id:"biaodan14",code:"",label:"表单14",value:38},{id:"biaodan15",code:"",label:"表单15",value:39},{id:"biaodan16",code:"",label:"表单16",value:40},{id:"biaodan17",code:"",label:"表单17",value:41},{id:"biaodan18",code:"",label:"表单18",value:42},{id:"biaodan19",code:"",label:"表单19",value:43},{id:"biaodan20",code:"",label:"表单20",value:44},{id:"biaodan21",code:"",label:"表单21",value:45},{id:"biaodan22",code:"",label:"表单22",value:46},{id:"biaodan23",code:"",label:"表单23",value:47},{id:"biaodan24",code:"",label:"表单24",value:48},{id:"biaodan25",code:"",label:"表单25",value:49},{id:"biaodan26",code:"",label:"表单26",value:50},{id:"biaodan27",code:"",label:"表单27",value:51},{id:"biaodan28",code:"",label:"表单28",value:52},{id:"biaodan29",code:"",label:"表单29",value:53},{id:"biaodan30",code:"",label:"表单30",value:54},{id:"biaodan31",code:"",label:"表单31",value:55},{id:"biaodan32",code:"",label:"表单32",value:56},{id:"biaodan33",code:"",label:"表单33",value:57},{id:"biaodan34",code:"",label:"表单34",value:58},{id:"biaodan35",code:"",label:"表单35",value:59},{id:"biaodan36",code:"",label:"表单36",value:60}],A1={text:"输入框",password:"密码输入框",location:"定位",datetime:"日期时间选择器",radiogroup:"单选框",radio:"单选框",combo:"下拉框",address:"地址",button:"按钮",textarea:"多行输入框",combocheck:"多选下拉框",checkboxgroup:"多选框组",separator:"分割线",upload:"附件上传",number:"数字输入框",dataload:"数据加载",image:"图片上传",signature:"签名",dept:"部门选择",user:"成员选择",usergroup:"成员多选",deptgroup:"部门多选",unknown:"未知类型",sn:"流水号",formula:"公式字段",linkdata:"关联数据",linkquery:"关联查询",subform:"子表单",flowState:"流程状态",flowstate:"流程状态"},X2={address:"",subform:"",password:"",button:"",textarea:"",datetime:"",text:"",location:"",radiogroup:"",radio:"",combo:"",formula:"",flowState:"",flowstate:"",combocheck:"",separator:"",checkboxgroup:"",upload:"",number:"",image:"",signature:"",user:"",dataload:"",linkdata:"",linkquery:"",usergroup:"",dept:"",sn:"",deptgroup:"",unknown:""};var to=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Rs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bs={exports:{}},Kn={};/**
|
|
6
|
-
* @license React
|
|
7
|
-
* react-jsx-runtime.production.js
|
|
8
|
-
*
|
|
9
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the MIT license found in the
|
|
12
|
-
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/var K2;function rd(){if(K2)return Kn;K2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,s){var a=null;if(s!==void 0&&(a=""+s),o.key!==void 0&&(a=""+o.key),"key"in o){s={};for(var l in o)l!=="key"&&(s[l]=o[l])}else s=o;return o=s.ref,{$$typeof:e,type:r,key:a,ref:o!==void 0?o:null,props:s}}return Kn.Fragment=t,Kn.jsx=n,Kn.jsxs=n,Kn}var Qn={};/**
|
|
14
|
-
* @license React
|
|
15
|
-
* react-jsx-runtime.development.js
|
|
16
|
-
*
|
|
17
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the MIT license found in the
|
|
20
|
-
* LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/var Q2;function od(){return Q2||(Q2=1,process.env.NODE_ENV!=="production"&&function(){function e(z){if(z==null)return null;if(typeof z=="function")return z.$$typeof===V?null:z.displayName||z.name||null;if(typeof z=="string")return z;switch(z){case b:return"Fragment";case y:return"Profiler";case g:return"StrictMode";case j:return"Suspense";case E:return"SuspenseList";case P:return"Activity"}if(typeof z=="object")switch(typeof z.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case C:return"Portal";case v:return z.displayName||"Context";case w:return(z._context.displayName||"Context")+".Consumer";case S:var ee=z.render;return z=z.displayName,z||(z=ee.displayName||ee.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case N:return ee=z.displayName||null,ee!==null?ee:e(z.type)||"Memo";case O:ee=z._payload,z=z._init;try{return e(z(ee))}catch(M){}}return null}function t(z){return""+z}function n(z){try{t(z);var ee=!1}catch(ie){ee=!0}if(ee){ee=console;var M=ee.error,Y=typeof Symbol=="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object";return M.call(ee,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Y),t(z)}}function r(z){if(z===b)return"<>";if(typeof z=="object"&&z!==null&&z.$$typeof===O)return"<...>";try{var ee=e(z);return ee?"<"+ee+">":"<...>"}catch(M){return"<...>"}}function o(){var z=D.A;return z===null?null:z.getOwner()}function s(){return Error("react-stack-top-frame")}function a(z){if(F.call(z,"key")){var ee=Object.getOwnPropertyDescriptor(z,"key").get;if(ee&&ee.isReactWarning)return!1}return z.key!==void 0}function l(z,ee){function M(){$||($=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ee))}M.isReactWarning=!0,Object.defineProperty(z,"key",{get:M,configurable:!0})}function c(){var z=e(this.type);return U[z]||(U[z]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),z=this.props.ref,z!==void 0?z:null}function u(z,ee,M,Y,ie,K){var W=M.ref;return z={$$typeof:m,type:z,key:ee,props:M,_owner:Y},(W!==void 0?W:null)!==null?Object.defineProperty(z,"ref",{enumerable:!1,get:c}):Object.defineProperty(z,"ref",{enumerable:!1,value:null}),z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ie}),Object.defineProperty(z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:K}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z}function d(z,ee,M,Y,ie,K){var W=ee.children;if(W!==void 0)if(Y)if(R(W)){for(Y=0;Y<W.length;Y++)f(W[Y]);Object.freeze&&Object.freeze(W)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(W);if(F.call(ee,"key")){W=e(z);var te=Object.keys(ee).filter(function(ne){return ne!=="key"});Y=0<te.length?"{key: someKey, "+te.join(": ..., ")+": ...}":"{key: someKey}",L[W+Y]||(te=0<te.length?"{"+te.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
22
|
-
let props = %s;
|
|
23
|
-
<%s {...props} />
|
|
24
|
-
React keys must be passed directly to JSX without using spread:
|
|
25
|
-
let props = %s;
|
|
26
|
-
<%s key={someKey} {...props} />`,Y,W,te,W),L[W+Y]=!0)}if(W=null,M!==void 0&&(n(M),W=""+M),a(ee)&&(n(ee.key),W=""+ee.key),"key"in ee){M={};for(var G in ee)G!=="key"&&(M[G]=ee[G])}else M=ee;return W&&l(M,typeof z=="function"?z.displayName||z.name||"Unknown":z),u(z,W,M,o(),ie,K)}function f(z){p(z)?z._store&&(z._store.validated=1):typeof z=="object"&&z!==null&&z.$$typeof===O&&(z._payload.status==="fulfilled"?p(z._payload.value)&&z._payload.value._store&&(z._payload.value._store.validated=1):z._store&&(z._store.validated=1))}function p(z){return typeof z=="object"&&z!==null&&z.$$typeof===m}var h=x,m=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),v=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),P=Symbol.for("react.activity"),V=Symbol.for("react.client.reference"),D=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=Object.prototype.hasOwnProperty,R=Array.isArray,B=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(z){return z()}};var $,U={},Z=h.react_stack_bottom_frame.bind(h,s)(),J=B(r(s)),L={};Qn.Fragment=b,Qn.jsx=function(z,ee,M){var Y=1e4>D.recentlyCreatedOwnerStacks++;return d(z,ee,M,!1,Y?Error("react-stack-top-frame"):Z,Y?B(r(z)):J)},Qn.jsxs=function(z,ee,M){var Y=1e4>D.recentlyCreatedOwnerStacks++;return d(z,ee,M,!0,Y?Error("react-stack-top-frame"):Z,Y?B(r(z)):J)}}()),Qn}process.env.NODE_ENV==="production"?Bs.exports=rd():Bs.exports=od();var i=Bs.exports;const zs=({className:e})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",className:e,children:i.jsx("path",{d:"M4.396 3.383H4.576C4.846 3.383 4.95 2.993 4.95 2.723V0.569C4.95 0.299 4.815 0 4.546 0H4.366C4.096 0 3.978 0.299 3.978 0.569V2.813C3.978 2.993 4.128 3.383 4.396 3.383ZM9.322 3.383H9.5C9.77 3.383 9.89 2.993 9.89 2.723V0.569C9.89 0.299 9.783 0 9.516 0H9.335C9.066 0 8.933 0.299 8.933 0.569V2.813C8.933 2.993 9.142 3.383 9.322 3.383ZM12.147 0.971053L10.5 0.971V1.924L12.147 1.92405C12.685 1.92405 13.135 2.45405 13.135 2.99305V3.89105H0.928V2.99305C0.928 2.45505 1.378 1.92505 1.917 1.92505L3.5 1.925V0.972L2.005 0.972053C0.928 0.972053 0 2.09505 0 3.08205V11.7911C0 12.7791 0.905053 14 1.98305 14H12.2131C13.2011 14 14 12.8681 14 11.7911V3.08305C13.912 2.09605 13.224 0.973053 12.146 0.973053V0.970053L12.147 0.971053ZM13.084 11.7011C13.084 12.3291 12.7541 13.044 12.1241 13.044H1.98505C1.44705 13.044 0.959 12.3291 0.959 11.7911V4.78805H13.088V11.7001H13.086L13.084 11.7011ZM8.63004 5.94605C8.96004 5.94605 9.17804 6.34705 9.07204 6.71005L9.03904 6.80005L6.69705 11.9791C6.57005 12.2561 6.28405 12.3561 6.05705 12.2021C5.85705 12.0641 5.77005 11.7721 5.84205 11.5151L5.87705 11.4191L7.83205 7.09705H5.35005C5.12005 7.09705 4.92805 6.89505 4.88905 6.62605L4.88105 6.52205C4.88105 6.24005 5.04705 6.00505 5.26505 5.95605L5.34905 5.94705L8.63004 5.94605ZM8.5 0.972V1.924H5.43V0.972H8.502H8.5Z",fill:"#666666"})});function J2(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function sd(...e){return t=>{let n=!1;const r=e.map(o=>{const s=J2(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():J2(e[o],null)}}}}function Te(...e){return k.useCallback(sd(...e),e)}function J1(e){const t=k.forwardRef((n,r)=>{var p;let{children:o,...s}=n,a=null,l=!1;const c=[];n4(o)&&typeof no=="function"&&(o=no(o._payload)),k.Children.forEach(o,h=>{var m;if(ud(h)){l=!0;const C=h;let b="child"in C.props?C.props.child:C.props.children;n4(b)&&typeof no=="function"&&(b=no(b._payload)),a=ad(C,b),c.push((m=a==null?void 0:a.props)==null?void 0:m.children)}else c.push(h)}),a?a=k.cloneElement(a,void 0,c):!l&&k.Children.count(o)===1&&k.isValidElement(o)&&(a=o);const u=a?cd(a):void 0,d=Te(r,u);if(!a){if(o||o===0)throw new Error(l?hd(e):pd(e));return o}const f=ld(s,(p=a.props)!=null?p:{});return a.type!==k.Fragment&&(f.ref=r?d:u),k.cloneElement(a,f)});return t.displayName=`${e}.Slot`,t}var e4=J1("Slot"),t4=Symbol.for("radix.slottable");function id(e){const t=n=>"child"in n?n.children(n.child):n.children;return t.displayName=`${e}.Slottable`,t.__radixId=t4,t}var ad=(e,t)=>{if("child"in e.props){const n=e.props.child;return k.isValidElement(n)?k.cloneElement(n,void 0,e.props.children(n.props.children)):null}return k.isValidElement(t)?t:null};function ld(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...l)=>{const c=s(...l);return o(...l),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function cd(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function ud(e){return k.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===t4}var dd=Symbol.for("react.lazy");function n4(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===dd&&"_payload"in e&&fd(e._payload)}function fd(e){return typeof e=="object"&&e!==null&&"then"in e}var pd=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,hd=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,no=k[" use ".trim().toString()];const r4=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,o4=E2,s4=((e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return o4(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,a=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const p=r4(d)||r4(f);return o[u][p]}),l=n&&Object.entries(n).reduce((u,d)=>{let[f,p]=d;return p===void 0||(u[f]=p),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:p,...h}=d;return Object.entries(h).every(m=>{let[C,b]=m;return Array.isArray(b)?b.includes({...s,...l}[C]):{...s,...l}[C]===b})?[...u,f,p]:u},[]);return o4(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)})("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-[14px] transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 rounded-[4px]",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-[#e0e0e0] bg-white hover:bg-[#e0e0e0] text-[#121111]",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",entry:""},size:{default:"h-[34px] px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-[24px] w-[24px]",entry:"h-[30px] px-1.5 py-0 gap-1.5"}},defaultVariants:{variant:"default",size:"default"}}),Jn=k.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const a=r?e4:"button";return i.jsx(a,{className:T(s4({variant:t,size:n,className:e})),ref:s,...o})});Jn.displayName="Button";function ye(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function md(e,t){const n=k.createContext(t);n.displayName=e+"Context";const r=s=>{const{children:a,...l}=s,c=k.useMemo(()=>l,Object.values(l));return i.jsx(n.Provider,{value:c,children:a})};r.displayName=e+"Provider";function o(s){const a=k.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function Lt(e,t=[]){let n=[];function r(s,a){const l=k.createContext(a);l.displayName=s+"Context";const c=n.length;n=[...n,a];const u=f=>{var g;const{scope:p,children:h,...m}=f,C=((g=p==null?void 0:p[e])==null?void 0:g[c])||l,b=k.useMemo(()=>m,Object.values(m));return i.jsx(C.Provider,{value:b,children:h})};u.displayName=s+"Provider";function d(f,p){var C;const h=((C=p==null?void 0:p[e])==null?void 0:C[c])||l,m=k.useContext(h);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const o=()=>{const s=n.map(a=>k.createContext(a));return function(l){const c=(l==null?void 0:l[e])||s;return k.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return o.scopeName=e,[r,Cd(o,...t)]}function Cd(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const a=r.reduce((l,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...l,...f}},{});return k.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var ft=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},xd=k[" useId ".trim().toString()]||(()=>{}),gd=0;function Wt(e){const[t,n]=k.useState(xd());return ft(()=>{n(r=>r!=null?r:String(gd++))},[e]),t?`radix-${t}`:""}var bd=k[" useInsertionEffect ".trim().toString()]||ft;function $t({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,a]=yd({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:o;{const d=k.useRef(e!==void 0);k.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=l},[l,r])}const u=k.useCallback(d=>{var f;if(l){const p=wd(d)?d(e):d;p!==e&&((f=a.current)==null||f.call(a,p))}else s(d)},[l,e,s,a]);return[c,u]}function yd({defaultProp:e,onChange:t}){const[n,r]=k.useState(e),o=k.useRef(n),s=k.useRef(t);return bd(()=>{s.current=t},[t]),k.useEffect(()=>{var a;o.current!==n&&((a=s.current)==null||a.call(s,n),o.current=n)},[n,o]),[n,r,s]}function wd(e){return typeof e=="function"}var vd=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ve=vd.reduce((e,t)=>{const n=J1(`Primitive.${t}`),r=k.forwardRef((o,s)=>{const{asChild:a,...l}=o,c=a?n:t;return typeof window!="undefined"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(c,{...l,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function kd(e,t){e&&Gn.flushSync(()=>e.dispatchEvent(t))}function D1(e){const t=k.useRef(e);return k.useEffect(()=>{t.current=e}),k.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function jd(e,t=globalThis==null?void 0:globalThis.document){const n=D1(e);k.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Sd="DismissableLayer",Zs="dismissableLayer.update",Ld="dismissableLayer.pointerDownOutside",Md="dismissableLayer.focusOutside",i4,a4=k.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),er=k.forwardRef((e,t)=>{var E;const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:a,onDismiss:l,...c}=e,u=k.useContext(a4),[d,f]=k.useState(null),p=(E=d==null?void 0:d.ownerDocument)!=null?E:globalThis==null?void 0:globalThis.document,[,h]=k.useState({}),m=Te(t,N=>f(N)),C=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=C.indexOf(b),y=d?C.indexOf(d):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,v=y>=g,S=Fd(N=>{const O=N.target,P=[...u.branches].some(V=>V.contains(O));!v||P||(o==null||o(N),a==null||a(N),N.defaultPrevented||l==null||l())},p),j=Td(N=>{const O=N.target;[...u.branches].some(V=>V.contains(O))||(s==null||s(N),a==null||a(N),N.defaultPrevented||l==null||l())},p);return jd(N=>{y===u.layers.size-1&&(r==null||r(N),!N.defaultPrevented&&l&&(N.preventDefault(),l()))},p),k.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(i4=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),l4(),()=>{n&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(p.body.style.pointerEvents=i4))}},[d,p,n,u]),k.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),l4())},[d,u]),k.useEffect(()=>{const N=()=>h({});return document.addEventListener(Zs,N),()=>document.removeEventListener(Zs,N)},[]),i.jsx(ve.div,{...c,ref:m,style:{pointerEvents:w?v?"auto":"none":void 0,...e.style},onFocusCapture:ye(e.onFocusCapture,j.onFocusCapture),onBlurCapture:ye(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:ye(e.onPointerDownCapture,S.onPointerDownCapture)})});er.displayName=Sd;var Ed="DismissableLayerBranch",Nd=k.forwardRef((e,t)=>{const n=k.useContext(a4),r=k.useRef(null),o=Te(t,r);return k.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),i.jsx(ve.div,{...e,ref:o})});Nd.displayName=Ed;function Fd(e,t=globalThis==null?void 0:globalThis.document){const n=D1(e),r=k.useRef(!1),o=k.useRef(()=>{});return k.useEffect(()=>{const s=l=>{if(l.target&&!r.current){let c=function(){c4(Ld,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Td(e,t=globalThis==null?void 0:globalThis.document){const n=D1(e),r=k.useRef(!1);return k.useEffect(()=>{const o=s=>{s.target&&!r.current&&c4(Md,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function l4(){const e=new CustomEvent(Zs);document.dispatchEvent(e)}function c4(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?kd(o,s):o.dispatchEvent(s)}var Ws="focusScope.autoFocusOnMount",$s="focusScope.autoFocusOnUnmount",u4={bubbles:!1,cancelable:!0},_d="FocusScope",ro=k.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...a}=e,[l,c]=k.useState(null),u=D1(o),d=D1(s),f=k.useRef(null),p=Te(t,C=>c(C)),h=k.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;k.useEffect(()=>{if(r){let C=function(w){if(h.paused||!l)return;const v=w.target;l.contains(v)?f.current=v:O1(f.current,{select:!0})},b=function(w){if(h.paused||!l)return;const v=w.relatedTarget;v!==null&&(l.contains(v)||O1(f.current,{select:!0}))},g=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&O1(l)};document.addEventListener("focusin",C),document.addEventListener("focusout",b);const y=new MutationObserver(g);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",C),document.removeEventListener("focusout",b),y.disconnect()}}},[r,l,h.paused]),k.useEffect(()=>{if(l){p4.add(h);const C=document.activeElement;if(!l.contains(C)){const g=new CustomEvent(Ws,u4);l.addEventListener(Ws,u),l.dispatchEvent(g),g.defaultPrevented||(Ad(Hd(d4(l)),{select:!0}),document.activeElement===C&&O1(l))}return()=>{l.removeEventListener(Ws,u),setTimeout(()=>{const g=new CustomEvent($s,u4);l.addEventListener($s,d),l.dispatchEvent(g),g.defaultPrevented||O1(C!=null?C:document.body,{select:!0}),l.removeEventListener($s,d),p4.remove(h)},0)}}},[l,u,d,h]);const m=k.useCallback(C=>{if(!n&&!r||h.paused)return;const b=C.key==="Tab"&&!C.altKey&&!C.ctrlKey&&!C.metaKey,g=document.activeElement;if(b&&g){const y=C.currentTarget,[w,v]=Dd(y);w&&v?!C.shiftKey&&g===v?(C.preventDefault(),n&&O1(w,{select:!0})):C.shiftKey&&g===w&&(C.preventDefault(),n&&O1(v,{select:!0})):g===y&&C.preventDefault()}},[n,r,h.paused]);return i.jsx(ve.div,{tabIndex:-1,...a,ref:p,onKeyDown:m})});ro.displayName=_d;function Ad(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(O1(r,{select:t}),document.activeElement!==n)return}function Dd(e){const t=d4(e),n=f4(t,e),r=f4(t.reverse(),e);return[n,r]}function d4(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f4(e,t){for(const n of e)if(!Od(n,{upTo:t}))return n}function Od(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Pd(e){return e instanceof HTMLInputElement&&"select"in e}function O1(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Pd(e)&&t&&e.select()}}var p4=Id();function Id(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=h4(e,t),e.unshift(t)},remove(t){var n;e=h4(e,t),(n=e[0])==null||n.resume()}}}function h4(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Hd(e){return e.filter(t=>t.tagName!=="A")}var Vd="Portal",tr=k.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,s]=k.useState(!1);ft(()=>s(!0),[]);const a=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?Gn.createPortal(i.jsx(ve.div,{...r,ref:t}),a):null});tr.displayName=Vd;function Rd(e,t){return k.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}var Mt=e=>{const{present:t,children:n}=e,r=Bd(t),o=typeof n=="function"?n({present:r.isPresent}):k.Children.only(n),s=zd(r.ref,Zd(o));return typeof n=="function"||r.isPresent?k.cloneElement(o,{ref:s}):null};Mt.displayName="Presence";function Bd(e){const[t,n]=k.useState(),r=k.useRef(null),o=k.useRef(e),s=k.useRef("none"),a=e?"mounted":"unmounted",[l,c]=Rd(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const u=oo(r.current);s.current=l==="mounted"?u:"none"},[l]),ft(()=>{const u=r.current,d=o.current;if(d!==e){const p=s.current,h=oo(u);e?c("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),ft(()=>{var u;if(t){let d;const f=(u=t.ownerDocument.defaultView)!=null?u:window,p=m=>{const b=oo(r.current).includes(CSS.escape(m.animationName));if(m.target===t&&b&&(c("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},h=m=>{m.target===t&&(s.current=oo(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:k.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function m4(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function zd(...e){const t=k.useRef(e);return t.current=e,k.useCallback(n=>{const r=t.current;let o=!1;const s=r.map(a=>{const l=m4(a,n);return!o&&typeof l=="function"&&(o=!0),l});if(o)return()=>{for(let a=0;a<s.length;a++){const l=s[a];typeof l=="function"?l():m4(r[a],null)}}},[])}function oo(e){return(e==null?void 0:e.animationName)||"none"}function Zd(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var so=0,o1=null;function Us(){k.useEffect(()=>{o1||(o1={start:C4(),end:C4()});const{start:e,end:t}=o1;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),so++,()=>{so===1&&(o1==null||o1.start.remove(),o1==null||o1.end.remove(),o1=null),so=Math.max(0,so-1)}},[])}function C4(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var s1=function(){return s1=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},s1.apply(this,arguments)};function x4(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Wd(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var io="right-scroll-bar-position",ao="width-before-scroll-bar",$d="with-scroll-bars-hidden",Ud="--removed-body-scroll-bar-size";function qs(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function qd(e,t){var n=x.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Yd=typeof window!="undefined"?k.useLayoutEffect:k.useEffect,g4=new WeakMap;function Gd(e,t){var n=qd(null,function(r){return e.forEach(function(o){return qs(o,r)})});return Yd(function(){var r=g4.get(n);if(r){var o=new Set(r),s=new Set(e),a=n.current;o.forEach(function(l){s.has(l)||qs(l,null)}),s.forEach(function(l){o.has(l)||qs(l,a)})}g4.set(n,e)},[e]),n}function Xd(e){return e}function Kd(e,t){t===void 0&&(t=Xd);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var a=t(s,r);return n.push(a),function(){n=n.filter(function(l){return l!==a})}},assignSyncMedium:function(s){for(r=!0;n.length;){var a=n;n=[],a.forEach(s)}n={push:function(l){return s(l)},filter:function(){return n}}},assignMedium:function(s){r=!0;var a=[];if(n.length){var l=n;n=[],l.forEach(s),a=n}var c=function(){var d=a;a=[],d.forEach(s)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return o}function Qd(e){e===void 0&&(e={});var t=Kd(null);return t.options=s1({async:!0,ssr:!1},e),t}var b4=function(e){var t=e.sideCar,n=x4(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return k.createElement(r,s1({},n))};b4.isSideCarExport=!0;function Jd(e,t){return e.useMedium(t),b4}var y4=Qd(),Ys=function(){},lo=k.forwardRef(function(e,t){var n=k.useRef(null),r=k.useState({onScrollCapture:Ys,onWheelCapture:Ys,onTouchMoveCapture:Ys}),o=r[0],s=r[1],a=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,m=e.noIsolation,C=e.inert,b=e.allowPinchZoom,g=e.as,y=g===void 0?"div":g,w=e.gapMode,v=x4(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=p,j=Gd([n,t]),E=s1(s1({},v),o);return k.createElement(k.Fragment,null,d&&k.createElement(S,{sideCar:y4,removeScrollBar:u,shards:f,noRelative:h,noIsolation:m,inert:C,setCallbacks:s,allowPinchZoom:!!b,lockRef:n,gapMode:w}),a?k.cloneElement(k.Children.only(l),s1(s1({},E),{ref:j})):k.createElement(y,s1({},E,{className:c,ref:j}),l))});lo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},lo.classNames={fullWidth:ao,zeroRight:io};var ef=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function tf(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ef();return t&&e.setAttribute("nonce",t),e}function nf(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function rf(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var of=function(){var e=0,t=null;return{add:function(n){e==0&&(t=tf())&&(nf(t,n),rf(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},sf=function(){var e=of();return function(t,n){k.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w4=function(){var e=sf(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},af={left:0,top:0,right:0,gap:0},Gs=function(e){return parseInt(e||"",10)||0},lf=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Gs(n),Gs(r),Gs(o)]},cf=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return af;var t=lf(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},uf=w4(),wn="data-scroll-locked",df=function(e,t,n,r){var o=e.left,s=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),`
|
|
27
|
-
.`.concat($d,` {
|
|
28
|
-
overflow: hidden `).concat(r,`;
|
|
29
|
-
padding-right: `).concat(l,"px ").concat(r,`;
|
|
30
|
-
}
|
|
31
|
-
body[`).concat(wn,`] {
|
|
32
|
-
overflow: hidden `).concat(r,`;
|
|
33
|
-
overscroll-behavior: contain;
|
|
34
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
35
|
-
padding-left: `.concat(o,`px;
|
|
36
|
-
padding-top: `).concat(s,`px;
|
|
37
|
-
padding-right: `).concat(a,`px;
|
|
38
|
-
margin-left:0;
|
|
39
|
-
margin-top:0;
|
|
40
|
-
margin-right: `).concat(l,"px ").concat(r,`;
|
|
41
|
-
`),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.`).concat(io,` {
|
|
45
|
-
right: `).concat(l,"px ").concat(r,`;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.`).concat(ao,` {
|
|
49
|
-
margin-right: `).concat(l,"px ").concat(r,`;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.`).concat(io," .").concat(io,` {
|
|
53
|
-
right: 0 `).concat(r,`;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.`).concat(ao," .").concat(ao,` {
|
|
57
|
-
margin-right: 0 `).concat(r,`;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
body[`).concat(wn,`] {
|
|
61
|
-
`).concat(Ud,": ").concat(l,`px;
|
|
62
|
-
}
|
|
63
|
-
`)},v4=function(){var e=parseInt(document.body.getAttribute(wn)||"0",10);return isFinite(e)?e:0},ff=function(){k.useEffect(function(){return document.body.setAttribute(wn,(v4()+1).toString()),function(){var e=v4()-1;e<=0?document.body.removeAttribute(wn):document.body.setAttribute(wn,e.toString())}},[])},pf=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;ff();var s=k.useMemo(function(){return cf(o)},[o]);return k.createElement(uf,{styles:df(s,!t,o,n?"":"!important")})},Xs=!1;if(typeof window!="undefined")try{var co=Object.defineProperty({},"passive",{get:function(){return Xs=!0,!0}});window.addEventListener("test",co,co),window.removeEventListener("test",co,co)}catch(e){Xs=!1}var vn=Xs?{passive:!1}:!1,hf=function(e){return e.tagName==="TEXTAREA"},k4=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!hf(e)&&n[t]==="visible")},mf=function(e){return k4(e,"overflowY")},Cf=function(e){return k4(e,"overflowX")},j4=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot!="undefined"&&r instanceof ShadowRoot&&(r=r.host);var o=S4(e,r);if(o){var s=L4(e,r),a=s[1],l=s[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},xf=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},gf=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},S4=function(e,t){return e==="v"?mf(t):Cf(t)},L4=function(e,t){return e==="v"?xf(t):gf(t)},bf=function(e,t){return e==="h"&&t==="rtl"?-1:1},yf=function(e,t,n,r,o){var s=bf(e,window.getComputedStyle(t).direction),a=s*r,l=n.target,c=t.contains(l),u=!1,d=a>0,f=0,p=0;do{if(!l)break;var h=L4(e,l),m=h[0],C=h[1],b=h[2],g=C-b-s*m;(m||g)&&S4(e,l)&&(f+=g,p+=m);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(u=!0),u},uo=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},M4=function(e){return[e.deltaX,e.deltaY]},E4=function(e){return e&&"current"in e?e.current:e},wf=function(e,t){return e[0]===t[0]&&e[1]===t[1]},vf=function(e){return`
|
|
64
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
65
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
66
|
-
`)},kf=0,kn=[];function jf(e){var t=k.useRef([]),n=k.useRef([0,0]),r=k.useRef(),o=k.useState(kf++)[0],s=k.useState(w4)[0],a=k.useRef(e);k.useEffect(function(){a.current=e},[e]),k.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var C=Wd([e.lockRef.current],(e.shards||[]).map(E4),!0).filter(Boolean);return C.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),C.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=k.useCallback(function(C,b){if("touches"in C&&C.touches.length===2||C.type==="wheel"&&C.ctrlKey)return!a.current.allowPinchZoom;var g=uo(C),y=n.current,w="deltaX"in C?C.deltaX:y[0]-g[0],v="deltaY"in C?C.deltaY:y[1]-g[1],S,j=C.target,E=Math.abs(w)>Math.abs(v)?"h":"v";if("touches"in C&&E==="h"&&j.type==="range")return!1;var N=window.getSelection(),O=N&&N.anchorNode,P=O?O===j||O.contains(j):!1;if(P)return!1;var V=j4(E,j);if(!V)return!0;if(V?S=E:(S=E==="v"?"h":"v",V=j4(E,j)),!V)return!1;if(!r.current&&"changedTouches"in C&&(w||v)&&(r.current=S),!S)return!0;var D=r.current||S;return yf(D,b,C,D==="h"?w:v)},[]),c=k.useCallback(function(C){var b=C;if(!(!kn.length||kn[kn.length-1]!==s)){var g="deltaY"in b?M4(b):uo(b),y=t.current.filter(function(S){return S.name===b.type&&(S.target===b.target||b.target===S.shadowParent)&&wf(S.delta,g)})[0];if(y&&y.should){b.cancelable&&b.preventDefault();return}if(!y){var w=(a.current.shards||[]).map(E4).filter(Boolean).filter(function(S){return S.contains(b.target)}),v=w.length>0?l(b,w[0]):!a.current.noIsolation;v&&b.cancelable&&b.preventDefault()}}},[]),u=k.useCallback(function(C,b,g,y){var w={name:C,delta:b,target:g,should:y,shadowParent:Sf(g)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(v){return v!==w})},1)},[]),d=k.useCallback(function(C){n.current=uo(C),r.current=void 0},[]),f=k.useCallback(function(C){u(C.type,M4(C),C.target,l(C,e.lockRef.current))},[]),p=k.useCallback(function(C){u(C.type,uo(C),C.target,l(C,e.lockRef.current))},[]);k.useEffect(function(){return kn.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,vn),document.addEventListener("touchmove",c,vn),document.addEventListener("touchstart",d,vn),function(){kn=kn.filter(function(C){return C!==s}),document.removeEventListener("wheel",c,vn),document.removeEventListener("touchmove",c,vn),document.removeEventListener("touchstart",d,vn)}},[]);var h=e.removeScrollBar,m=e.inert;return k.createElement(k.Fragment,null,m?k.createElement(s,{styles:vf(o)}):null,h?k.createElement(pf,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Sf(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Lf=Jd(y4,jf);var fo=k.forwardRef(function(e,t){return k.createElement(lo,s1({},e,{ref:t,sideCar:Lf}))});fo.classNames=lo.classNames;var Mf=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},jn=new WeakMap,po=new WeakMap,ho={},Ks=0,N4=function(e){return e&&(e.host||N4(e.parentNode))},Ef=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=N4(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Nf=function(e,t,n,r){var o=Ef(t,Array.isArray(e)?e:[e]);ho[n]||(ho[n]=new WeakMap);var s=ho[n],a=[],l=new Set,c=new Set(o),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(p){if(l.has(p))d(p);else try{var h=p.getAttribute(r),m=h!==null&&h!=="false",C=(jn.get(p)||0)+1,b=(s.get(p)||0)+1;jn.set(p,C),s.set(p,b),a.push(p),C===1&&m&&po.set(p,!0),b===1&&p.setAttribute(n,"true"),m||p.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",p,g)}})};return d(t),l.clear(),Ks++,function(){a.forEach(function(f){var p=jn.get(f)-1,h=s.get(f)-1;jn.set(f,p),s.set(f,h),p||(po.has(f)||f.removeAttribute(r),po.delete(f)),h||f.removeAttribute(n)}),Ks--,Ks||(jn=new WeakMap,jn=new WeakMap,po=new WeakMap,ho={})}},Qs=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Mf(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Nf(r,o,n,"aria-hidden")):function(){return null}},mo="Dialog",[F4]=Lt(mo),[Ff,Ut]=F4(mo),T4=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:a=!0}=e,l=k.useRef(null),c=k.useRef(null),[u,d]=$t({prop:r,defaultProp:o!=null?o:!1,onChange:s,caller:mo});return i.jsx(Ff,{scope:t,triggerRef:l,contentRef:c,contentId:Wt(),titleId:Wt(),descriptionId:Wt(),open:u,onOpenChange:d,onOpenToggle:k.useCallback(()=>d(f=>!f),[d]),modal:a,children:n})};T4.displayName=mo;var _4="DialogTrigger",A4=k.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ut(_4,n),s=Te(t,o.triggerRef);return i.jsx(ve.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":ti(o.open),...r,ref:s,onClick:ye(e.onClick,o.onOpenToggle)})});A4.displayName=_4;var Js="DialogPortal",[Tf,D4]=F4(Js,{forceMount:void 0}),O4=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Ut(Js,t);return i.jsx(Tf,{scope:t,forceMount:n,children:k.Children.map(r,a=>i.jsx(Mt,{present:n||s.open,children:i.jsx(tr,{asChild:!0,container:o,children:a})}))})};O4.displayName=Js;var Co="DialogOverlay",P4=k.forwardRef((e,t)=>{const n=D4(Co,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ut(Co,e.__scopeDialog);return s.modal?i.jsx(Mt,{present:r||s.open,children:i.jsx(Af,{...o,ref:t})}):null});P4.displayName=Co;var _f=J1("DialogOverlay.RemoveScroll"),Af=k.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ut(Co,n);return i.jsx(fo,{as:_f,allowPinchZoom:!0,shards:[o.contentRef],children:i.jsx(ve.div,{"data-state":ti(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),en="DialogContent",I4=k.forwardRef((e,t)=>{const n=D4(en,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Ut(en,e.__scopeDialog);return i.jsx(Mt,{present:r||s.open,children:s.modal?i.jsx(Df,{...o,ref:t}):i.jsx(Of,{...o,ref:t})})});I4.displayName=en;var Df=k.forwardRef((e,t)=>{const n=Ut(en,e.__scopeDialog),r=k.useRef(null),o=Te(t,n.contentRef,r);return k.useEffect(()=>{const s=r.current;if(s)return Qs(s)},[]),i.jsx(H4,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:ye(e.onCloseAutoFocus,s=>{var a;s.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:ye(e.onPointerDownOutside,s=>{const a=s.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&s.preventDefault()}),onFocusOutside:ye(e.onFocusOutside,s=>s.preventDefault())})}),Of=k.forwardRef((e,t)=>{const n=Ut(en,e.__scopeDialog),r=k.useRef(!1),o=k.useRef(!1);return i.jsx(H4,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var a,l;(a=e.onCloseAutoFocus)==null||a.call(e,s),s.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),H4=k.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...a}=e,l=Ut(en,n),c=k.useRef(null),u=Te(t,c);return Us(),i.jsxs(i.Fragment,{children:[i.jsx(ro,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:i.jsx(er,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":ti(l.open),...a,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(Pf,{titleId:l.titleId}),i.jsx(Hf,{contentRef:c,descriptionId:l.descriptionId})]})]})}),ei="DialogTitle",V4=k.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ut(ei,n);return i.jsx(ve.h2,{id:o.titleId,...r,ref:t})});V4.displayName=ei;var R4="DialogDescription",B4=k.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ut(R4,n);return i.jsx(ve.p,{id:o.descriptionId,...r,ref:t})});B4.displayName=R4;var z4="DialogClose",Z4=k.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ut(z4,n);return i.jsx(ve.button,{type:"button",...r,ref:t,onClick:ye(e.onClick,()=>o.onOpenChange(!1))})});Z4.displayName=z4;function ti(e){return e?"open":"closed"}var W4="DialogTitleWarning",[ZN,$4]=md(W4,{contentName:en,titleName:ei,docsSlug:"dialog"}),Pf=({titleId:e})=>{const t=$4(W4),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
67
|
-
|
|
68
|
-
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
69
|
-
|
|
70
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return k.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},If="DialogDescriptionWarning",Hf=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${$4(If).contentName}}.`;return k.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},U4=T4,q4=A4,Y4=O4,ni=P4,ri=I4,oi=V4,si=B4,G4=Z4;const X4=U4,Vf=q4,K4=Y4,Rf=G4,ii=k.forwardRef(({className:e,position:t="fixed",...n},r)=>i.jsx(ni,{ref:r,className:T("inset-0 z-50 bg-black/30 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t==="absolute"?"absolute":"fixed",e),...n}));ii.displayName=ni.displayName;const ai=k.forwardRef(({className:e,children:t,container:n,...r},o)=>i.jsxs(K4,{container:n,children:[i.jsx(ii,{position:n?"absolute":"fixed"}),i.jsx(ri,{style:{padding:0},ref:o,className:T("left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",n?"absolute":"fixed",e),...r,children:t})]}));ai.displayName=ri.displayName;const li=({className:e,...t})=>i.jsx("div",{className:T("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});li.displayName="DialogHeader";const ci=({className:e,...t})=>i.jsx("div",{className:T("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ci.displayName="DialogFooter";const ui=k.forwardRef(({className:e,...t},n)=>i.jsx(oi,{ref:n,className:T("text-lg font-semibold leading-none tracking-tight",e),...t}));ui.displayName=oi.displayName;const di=k.forwardRef(({className:e,...t},n)=>i.jsx(si,{ref:n,className:T("text-sm text-muted-foreground",e),...t}));di.displayName=si.displayName;function Bf(e){if(typeof document=="undefined")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const Q4=x.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),nr=()=>{const e=x.useContext(Q4);if(!e)throw new Error("useDrawerContext must be used within a Drawer.Root");return e};Bf(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
|
|
71
|
-
[data-state=closed]
|
|
72
|
-
){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function zf(){const e=navigator.userAgent;return typeof window!="undefined"&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))}function Zf(){return fi(/^Mac/)}function Wf(){return fi(/^iPhone/)}function J4(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function $f(){return fi(/^iPad/)||Zf()&&navigator.maxTouchPoints>1}function e5(){return Wf()||$f()}function fi(e){return typeof window!="undefined"&&window.navigator!=null?e.test(window.navigator.platform):void 0}const Uf=24,qf=typeof window!="undefined"?x.useLayoutEffect:x.useEffect;function t5(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const pi=typeof document!="undefined"&&window.visualViewport;function n5(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function r5(e){for(n5(e)&&(e=e.parentElement);e&&!n5(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}const Yf=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let xo=0,hi;function Gf(e={}){let{isDisabled:t}=e;qf(()=>{if(!t)return xo++,xo===1&&e5()&&(hi=Xf()),()=>{xo--,xo===0&&(hi==null||hi())}},[t])}function Xf(){let e,t=0,n=f=>{e=r5(f.target),!(e===document.documentElement&&e===document.body)&&(t=f.changedTouches[0].pageY)},r=f=>{if(!e||e===document.documentElement||e===document.body){f.preventDefault();return}let p=f.changedTouches[0].pageY,h=e.scrollTop,m=e.scrollHeight-e.clientHeight;m!==0&&((h<=0&&p>t||h>=m&&p<t)&&f.preventDefault(),t=p)},o=f=>{let p=f.target;mi(p)&&p!==document.activeElement&&(f.preventDefault(),p.style.transform="translateY(-2000px)",p.focus(),requestAnimationFrame(()=>{p.style.transform=""}))},s=f=>{let p=f.target;mi(p)&&(p.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{p.style.transform="",pi&&(pi.height<window.innerHeight?requestAnimationFrame(()=>{o5(p)}):pi.addEventListener("resize",()=>o5(p),{once:!0}))}))},a=()=>{window.scrollTo(0,0)},l=window.pageXOffset,c=window.pageYOffset,u=t5(Kf(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let d=t5(rr(document,"touchstart",n,{passive:!1,capture:!0}),rr(document,"touchmove",r,{passive:!1,capture:!0}),rr(document,"touchend",o,{passive:!1,capture:!0}),rr(document,"focus",s,!0),rr(window,"scroll",a));return()=>{u(),d(),window.scrollTo(l,c)}}function Kf(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function rr(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function o5(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=r5(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let r=n.getBoundingClientRect().top,o=e.getBoundingClientRect().top,s=e.getBoundingClientRect().bottom;const a=n.getBoundingClientRect().bottom+Uf;s>a&&(n.scrollTop+=o-r)}e=n.parentElement}}function mi(e){return e instanceof HTMLInputElement&&!Yf.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function Qf(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Jf(...e){return t=>e.forEach(n=>Qf(n,t))}function s5(...e){return k.useCallback(Jf(...e),e)}const i5=new WeakMap;function lt(e,t,n=!1){if(!e||!(e instanceof HTMLElement))return;let r={};Object.entries(t).forEach(([o,s])=>{if(o.startsWith("--")){e.style.setProperty(o,s);return}r[o]=e.style[o],e.style[o]=s}),!n&&i5.set(e,r)}function ep(e,t){if(!e||!(e instanceof HTMLElement))return;let n=i5.get(e);n&&(e.style[t]=n[t])}const tt=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function go(e,t){if(!e)return null;const n=window.getComputedStyle(e),r=n.transform||n.webkitTransform||n.mozTransform;let o=r.match(/^matrix3d\((.+)\)$/);return o?parseFloat(o[1].split(", ")[tt(t)?13:12]):(o=r.match(/^matrix\((.+)\)$/),o?parseFloat(o[1].split(", ")[tt(t)?5:4]):null)}function tp(e){return 8*(Math.log(e+1)-2)}function Ci(e,t){if(!e)return()=>{};const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}function np(...e){return(...t)=>{for(const n of e)typeof n=="function"&&n(...t)}}const Ye={DURATION:.5,EASE:[.32,.72,0,1]},a5=.4,rp=.25,op=100,l5=8,tn=16,xi=26,gi="vaul-dragging";function c5(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>t.current==null?void 0:t.current.call(t,...n),[])}function sp({defaultProp:e,onChange:t}){const n=x.useState(e),[r]=n,o=x.useRef(r),s=c5(t);return x.useEffect(()=>{o.current!==r&&(s(r),o.current=r)},[r,o,s]),n}function u5({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=sp({defaultProp:t,onChange:n}),s=e!==void 0,a=s?e:r,l=c5(n),c=x.useCallback(u=>{if(s){const f=typeof u=="function"?u(e):u;f!==e&&l(f)}else o(u)},[s,e,o,l]);return[a,c]}function ip({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:n,drawerRef:r,overlayRef:o,fadeFromIndex:s,onSnapPointChange:a,direction:l="bottom",container:c,snapToSequentialPoint:u}){const[d,f]=u5({prop:e,defaultProp:n==null?void 0:n[0],onChange:t}),[p,h]=x.useState(typeof window!="undefined"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);x.useEffect(()=>{function E(){h({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",E),()=>window.removeEventListener("resize",E)},[]);const m=x.useMemo(()=>d===(n==null?void 0:n[n.length-1])||null,[n,d]),C=x.useMemo(()=>{var E;return(E=n==null?void 0:n.findIndex(N=>N===d))!=null?E:null},[n,d]),b=n&&n.length>0&&(s||s===0)&&!Number.isNaN(s)&&n[s]===d||!n,g=x.useMemo(()=>{const E=c?{width:c.getBoundingClientRect().width,height:c.getBoundingClientRect().height}:typeof window!="undefined"?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};var N;return(N=n==null?void 0:n.map(O=>{const P=typeof O=="string";let V=0;if(P&&(V=parseInt(O,10)),tt(l)){const F=P?V:p?O*E.height:0;return p?l==="bottom"?E.height-F:-E.height+F:F}const D=P?V:p?O*E.width:0;return p?l==="right"?E.width-D:-E.width+D:D}))!=null?N:[]},[n,p,c]),y=x.useMemo(()=>C!==null?g==null?void 0:g[C]:null,[g,C]),w=x.useCallback(E=>{var N;const O=(N=g==null?void 0:g.findIndex(P=>P===E))!=null?N:null;a(O),lt(r.current,{transition:`transform ${Ye.DURATION}s cubic-bezier(${Ye.EASE.join(",")})`,transform:tt(l)?`translate3d(0, ${E}px, 0)`:`translate3d(${E}px, 0, 0)`}),g&&O!==g.length-1&&s!==void 0&&O!==s&&O<s?lt(o.current,{transition:`opacity ${Ye.DURATION}s cubic-bezier(${Ye.EASE.join(",")})`,opacity:"0"}):lt(o.current,{transition:`opacity ${Ye.DURATION}s cubic-bezier(${Ye.EASE.join(",")})`,opacity:"1"}),f(n==null?void 0:n[Math.max(O,0)])},[r.current,n,g,s,o,f]);x.useEffect(()=>{if(d||e){var E;const N=(E=n==null?void 0:n.findIndex(O=>O===e||O===d))!=null?E:-1;g&&N!==-1&&typeof g[N]=="number"&&w(g[N])}},[d,e,n,g,w]);function v({draggedDistance:E,closeDrawer:N,velocity:O,dismissible:P}){if(s===void 0)return;const V=l==="bottom"||l==="right"?(y!=null?y:0)-E:(y!=null?y:0)+E,D=C===s-1,F=C===0,R=E>0;if(D&<(o.current,{transition:`opacity ${Ye.DURATION}s cubic-bezier(${Ye.EASE.join(",")})`}),!u&&O>2&&!R){P?N():w(g[0]);return}if(!u&&O>2&&R&&g&&n){w(g[n.length-1]);return}const B=g==null?void 0:g.reduce((U,Z)=>typeof U!="number"||typeof Z!="number"?U:Math.abs(Z-V)<Math.abs(U-V)?Z:U),$=tt(l)?window.innerHeight:window.innerWidth;if(O>a5&&Math.abs(E)<$*.4){const U=R?1:-1;if(U>0&&m&&n){w(g[n.length-1]);return}if(F&&U<0&&P&&N(),C===null)return;w(g[C+U]);return}w(B)}function S({draggedDistance:E}){if(y===null)return;const N=l==="bottom"||l==="right"?y-E:y+E;(l==="bottom"||l==="right")&&N<g[g.length-1]||(l==="top"||l==="left")&&N>g[g.length-1]||lt(r.current,{transform:tt(l)?`translate3d(0, ${N}px, 0)`:`translate3d(${N}px, 0, 0)`})}function j(E,N){if(!n||typeof C!="number"||!g||s===void 0)return null;const O=C===s-1;if(C>=s&&N)return 0;if(O&&!N)return 1;if(!b&&!O)return null;const V=O?C+1:C-1,D=O?g[V]-g[V-1]:g[V+1]-g[V],F=E/Math.abs(D);return O?1-F:F}return{isLastSnapPoint:m,activeSnapPoint:d,shouldFade:b,getPercentageDragged:j,setActiveSnapPoint:f,activeSnapPointIndex:C,onRelease:v,onDrag:S,snapPointsOffset:g}}const ap=()=>()=>{};function lp(){const{direction:e,isOpen:t,shouldScaleBackground:n,setBackgroundColorOnScale:r,noBodyStyles:o}=nr(),s=x.useRef(null),a=x.useMemo(()=>document.body.style.backgroundColor,[]);function l(){return(window.innerWidth-xi)/window.innerWidth}x.useEffect(()=>{if(t&&n){s.current&&clearTimeout(s.current);const c=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!c)return;np(r&&!o?Ci(document.body,{background:"black"}):ap,Ci(c,{transformOrigin:tt(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${Ye.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Ye.EASE.join(",")})`}));const u=Ci(c,{borderRadius:`${l5}px`,overflow:"hidden",...tt(e)?{transform:`scale(${l()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${l()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{u(),s.current=window.setTimeout(()=>{a?document.body.style.background=a:document.body.style.removeProperty("background")},Ye.DURATION*1e3)}}},[t,n,a])}let or=null;function cp({isOpen:e,modal:t,nested:n,hasBeenOpened:r,preventScrollRestoration:o,noBodyStyles:s}){const[a,l]=x.useState(()=>typeof window!="undefined"?window.location.href:""),c=x.useRef(0),u=x.useCallback(()=>{if(J4()&&or===null&&e&&!s){or={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:f,innerHeight:p}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-c.current}px`,left:`${-f}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const h=p-window.innerHeight;h&&c.current>=p&&(document.body.style.top=`${-(c.current+h)}px`)}),300)}},[e]),d=x.useCallback(()=>{if(J4()&&or!==null&&!s){const f=-parseInt(document.body.style.top,10),p=-parseInt(document.body.style.left,10);Object.assign(document.body.style,or),window.requestAnimationFrame(()=>{if(o&&a!==window.location.href){l(window.location.href);return}window.scrollTo(p,f)}),or=null}},[a]);return x.useEffect(()=>{function f(){c.current=window.scrollY}return f(),window.addEventListener("scroll",f),()=>{window.removeEventListener("scroll",f)}},[]),x.useEffect(()=>{if(t)return()=>{typeof document=="undefined"||document.querySelector("[data-vaul-drawer]")||d()}},[t,d]),x.useEffect(()=>{n||!r||(e?(!window.matchMedia("(display-mode: standalone)").matches&&u(),t||window.setTimeout(()=>{d()},500)):d())},[e,r,a,t,n,u,d]),{restorePositionSetting:d}}function up({open:e,onOpenChange:t,children:n,onDrag:r,onRelease:o,snapPoints:s,shouldScaleBackground:a=!1,setBackgroundColorOnScale:l=!0,closeThreshold:c=rp,scrollLockTimeout:u=op,dismissible:d=!0,handleOnly:f=!1,fadeFromIndex:p=s&&s.length-1,activeSnapPoint:h,setActiveSnapPoint:m,fixed:C,modal:b=!0,onClose:g,nested:y,noBodyStyles:w=!1,direction:v="bottom",defaultOpen:S=!1,disablePreventScroll:j=!0,snapToSequentialPoint:E=!1,preventScrollRestoration:N=!1,repositionInputs:O=!0,onAnimationEnd:P,container:V,autoFocus:D=!1}){var F,R;const[B=!1,$]=u5({defaultProp:S,prop:e,onChange:be=>{t==null||t(be),!be&&!y&&H(),setTimeout(()=>{P==null||P(be)},Ye.DURATION*1e3),be&&!b&&typeof window!="undefined"&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),be||(document.body.style.pointerEvents="auto")}}),[U,Z]=x.useState(!1),[J,L]=x.useState(!1),[z,ee]=x.useState(!1),M=x.useRef(null),Y=x.useRef(null),ie=x.useRef(null),K=x.useRef(null),W=x.useRef(null),te=x.useRef(!1),G=x.useRef(null),ne=x.useRef(0),oe=x.useRef(!1),ue=x.useRef(!S),Le=x.useRef(0),le=x.useRef(null),De=x.useRef(((F=le.current)==null?void 0:F.getBoundingClientRect().height)||0),Fe=x.useRef(((R=le.current)==null?void 0:R.getBoundingClientRect().width)||0),Ke=x.useRef(0),n1=x.useCallback(be=>{s&&be===Me.length-1&&(Y.current=new Date)},[]),{activeSnapPoint:It,activeSnapPointIndex:it,setActiveSnapPoint:Zt,onRelease:fe,snapPointsOffset:Me,onDrag:Ze,shouldFade:I,getPercentageDragged:_}=ip({snapPoints:s,activeSnapPointProp:h,setActiveSnapPointProp:m,drawerRef:le,fadeFromIndex:p,overlayRef:M,onSnapPointChange:n1,direction:v,container:V,snapToSequentialPoint:E});Gf({isDisabled:!B||J||!b||z||!U||!O||!j});const{restorePositionSetting:H}=cp({isOpen:B,modal:b,nested:y!=null?y:!1,hasBeenOpened:U,preventScrollRestoration:N,noBodyStyles:w});function q(){return(window.innerWidth-xi)/window.innerWidth}function X(be){var _e,pe;!d&&!s||le.current&&!le.current.contains(be.target)||(De.current=((_e=le.current)==null?void 0:_e.getBoundingClientRect().height)||0,Fe.current=((pe=le.current)==null?void 0:pe.getBoundingClientRect().width)||0,L(!0),ie.current=new Date,e5()&&window.addEventListener("touchend",()=>te.current=!1,{once:!0}),be.target.setPointerCapture(be.pointerId),ne.current=tt(v)?be.pageY:be.pageX)}function Q(be,_e){var pe;let he=be;const de=(pe=window.getSelection())==null?void 0:pe.toString(),je=le.current?go(le.current,v):null,Ve=new Date;if(he.tagName==="SELECT"||he.hasAttribute("data-vaul-no-drag")||he.closest("[data-vaul-no-drag]"))return!1;if(v==="right"||v==="left")return!0;if(Y.current&&Ve.getTime()-Y.current.getTime()<500)return!1;if(je!==null&&(v==="bottom"?je>0:je<0))return!0;if(de&&de.length>0)return!1;if(W.current&&Ve.getTime()-W.current.getTime()<u&&je===0||_e)return W.current=Ve,!1;for(;he;){if(he.scrollHeight>he.clientHeight){if(he.scrollTop!==0)return W.current=new Date,!1;if(he.getAttribute("role")==="dialog")return!0}he=he.parentNode}return!0}function ae(be){if(le.current&&J){const _e=v==="bottom"||v==="right"?1:-1,pe=(ne.current-(tt(v)?be.pageY:be.pageX))*_e,he=pe>0,de=s&&!d&&!he;if(de&&it===0)return;const je=Math.abs(pe),Ve=document.querySelector("[data-vaul-drawer-wrapper]"),Se=v==="bottom"||v==="top"?De.current:Fe.current;let Ht=je/Se;const T1=_(je,he);if(T1!==null&&(Ht=T1),de&&Ht>=1||!te.current&&!Q(be.target,he))return;if(le.current.classList.add(gi),te.current=!0,lt(le.current,{transition:"none"}),lt(M.current,{transition:"none"}),s&&Ze({draggedDistance:pe}),he&&!s){const St=tp(pe),K1=Math.min(St*-1,0)*_e;lt(le.current,{transform:tt(v)?`translate3d(0, ${K1}px, 0)`:`translate3d(${K1}px, 0, 0)`});return}const y1=1-Ht;if((I||p&&it===p-1)&&(r==null||r(be,Ht),lt(M.current,{opacity:`${y1}`,transition:"none"},!0)),Ve&&M.current&&a){const St=Math.min(q()+Ht*(1-q()),1),K1=8-Ht*8,fu=Math.max(0,14-Ht*14);lt(Ve,{borderRadius:`${K1}px`,transform:tt(v)?`scale(${St}) translate3d(0, ${fu}px, 0)`:`scale(${St}) translate3d(${fu}px, 0, 0)`,transition:"none"},!0)}if(!s){const St=je*_e;lt(le.current,{transform:tt(v)?`translate3d(0, ${St}px, 0)`:`translate3d(${St}px, 0, 0)`})}}}x.useEffect(()=>{window.requestAnimationFrame(()=>{ue.current=!0})},[]),x.useEffect(()=>{var be;function _e(){if(!le.current||!O)return;const pe=document.activeElement;if(mi(pe)||oe.current){var he;const de=((he=window.visualViewport)==null?void 0:he.height)||0,je=window.innerHeight;let Ve=je-de;const Se=le.current.getBoundingClientRect().height||0,Ht=Se>je*.8;Ke.current||(Ke.current=Se);const T1=le.current.getBoundingClientRect().top;if(Math.abs(Le.current-Ve)>60&&(oe.current=!oe.current),s&&s.length>0&&Me&&it){const y1=Me[it]||0;Ve+=y1}if(Le.current=Ve,Se>de||oe.current){const y1=le.current.getBoundingClientRect().height;let St=y1;y1>de&&(St=de-(Ht?T1:xi)),C?le.current.style.height=`${y1-Math.max(Ve,0)}px`:le.current.style.height=`${Math.max(St,de-T1)}px`}else zf()||(le.current.style.height=`${Ke.current}px`);s&&s.length>0&&!oe.current?le.current.style.bottom="0px":le.current.style.bottom=`${Math.max(Ve,0)}px`}}return(be=window.visualViewport)==null||be.addEventListener("resize",_e),()=>{var pe;return(pe=window.visualViewport)==null?void 0:pe.removeEventListener("resize",_e)}},[it,s,Me]);function xe(be){Be(),g==null||g(),be||$(!1),setTimeout(()=>{s&&Zt(s[0])},Ye.DURATION*1e3)}function we(){if(!le.current)return;const be=document.querySelector("[data-vaul-drawer-wrapper]"),_e=go(le.current,v);lt(le.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${Ye.DURATION}s cubic-bezier(${Ye.EASE.join(",")})`}),lt(M.current,{transition:`opacity ${Ye.DURATION}s cubic-bezier(${Ye.EASE.join(",")})`,opacity:"1"}),a&&_e&&_e>0&&B&<(be,{borderRadius:`${l5}px`,overflow:"hidden",...tt(v)?{transform:`scale(${q()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${q()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${Ye.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Ye.EASE.join(",")})`},!0)}function Be(){!J||!le.current||(le.current.classList.remove(gi),te.current=!1,L(!1),K.current=new Date)}function Qe(be){if(!J||!le.current)return;le.current.classList.remove(gi),te.current=!1,L(!1),K.current=new Date;const _e=go(le.current,v);if(!be||!Q(be.target,!1)||!_e||Number.isNaN(_e)||ie.current===null)return;const pe=K.current.getTime()-ie.current.getTime(),he=ne.current-(tt(v)?be.pageY:be.pageX),de=Math.abs(he)/pe;if(de>.05&&(ee(!0),setTimeout(()=>{ee(!1)},200)),s){fe({draggedDistance:he*(v==="bottom"||v==="right"?1:-1),closeDrawer:xe,velocity:de,dismissible:d}),o==null||o(be,!0);return}if(v==="bottom"||v==="right"?he>0:he<0){we(),o==null||o(be,!0);return}if(de>a5){xe(),o==null||o(be,!1);return}var je;const Ve=Math.min((je=le.current.getBoundingClientRect().height)!=null?je:0,window.innerHeight);var Se;const Ht=Math.min((Se=le.current.getBoundingClientRect().width)!=null?Se:0,window.innerWidth),T1=v==="left"||v==="right";if(Math.abs(_e)>=(T1?Ht:Ve)*c){xe(),o==null||o(be,!1);return}o==null||o(be,!0),we()}x.useEffect(()=>(B&&(lt(document.documentElement,{scrollBehavior:"auto"}),Y.current=new Date),()=>{ep(document.documentElement,"scrollBehavior")}),[B]);function He(be){const _e=be?(window.innerWidth-tn)/window.innerWidth:1,pe=be?-tn:0;G.current&&window.clearTimeout(G.current),lt(le.current,{transition:`transform ${Ye.DURATION}s cubic-bezier(${Ye.EASE.join(",")})`,transform:tt(v)?`scale(${_e}) translate3d(0, ${pe}px, 0)`:`scale(${_e}) translate3d(${pe}px, 0, 0)`}),!be&&le.current&&(G.current=setTimeout(()=>{const he=go(le.current,v);lt(le.current,{transition:"none",transform:tt(v)?`translate3d(0, ${he}px, 0)`:`translate3d(${he}px, 0, 0)`})},500))}function dt(be,_e){if(_e<0)return;const pe=(window.innerWidth-tn)/window.innerWidth,he=pe+_e*(1-pe),de=-tn+_e*tn;lt(le.current,{transform:tt(v)?`scale(${he}) translate3d(0, ${de}px, 0)`:`scale(${he}) translate3d(${de}px, 0, 0)`,transition:"none"})}function ht(be,_e){const pe=tt(v)?window.innerHeight:window.innerWidth,he=_e?(pe-tn)/pe:1,de=_e?-tn:0;_e&<(le.current,{transition:`transform ${Ye.DURATION}s cubic-bezier(${Ye.EASE.join(",")})`,transform:tt(v)?`scale(${he}) translate3d(0, ${de}px, 0)`:`scale(${he}) translate3d(${de}px, 0, 0)`})}return x.useEffect(()=>{b||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[b]),x.createElement(U4,{defaultOpen:S,onOpenChange:be=>{!d&&!be||(be?Z(!0):xe(!0),$(be))},open:B},x.createElement(Q4.Provider,{value:{activeSnapPoint:It,snapPoints:s,setActiveSnapPoint:Zt,drawerRef:le,overlayRef:M,onOpenChange:t,onPress:X,onRelease:Qe,onDrag:ae,dismissible:d,shouldAnimate:ue,handleOnly:f,isOpen:B,isDragging:J,shouldFade:I,closeDrawer:xe,onNestedDrag:dt,onNestedOpenChange:He,onNestedRelease:ht,keyboardIsOpen:oe,modal:b,snapPointsOffset:Me,activeSnapPointIndex:it,direction:v,shouldScaleBackground:a,setBackgroundColorOnScale:l,noBodyStyles:w,container:V,autoFocus:D}},n))}const d5=x.forwardRef(function({...e},t){const{overlayRef:n,snapPoints:r,onRelease:o,shouldFade:s,isOpen:a,modal:l,shouldAnimate:c}=nr(),u=s5(t,n),d=r&&r.length>0;if(!l)return null;const f=x.useCallback(p=>o(p),[o]);return x.createElement(ni,{onMouseUp:f,ref:u,"data-vaul-overlay":"","data-vaul-snap-points":a&&d?"true":"false","data-vaul-snap-points-overlay":a&&s?"true":"false","data-vaul-animate":c!=null&&c.current?"true":"false",...e})});d5.displayName="Drawer.Overlay";const f5=x.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:n,...r},o){const{drawerRef:s,onPress:a,onRelease:l,onDrag:c,keyboardIsOpen:u,snapPointsOffset:d,activeSnapPointIndex:f,modal:p,isOpen:h,direction:m,snapPoints:C,container:b,handleOnly:g,shouldAnimate:y,autoFocus:w}=nr(),[v,S]=x.useState(!1),j=s5(o,s),E=x.useRef(null),N=x.useRef(null),O=x.useRef(!1),P=C&&C.length>0;lp();const V=(F,R,B=0)=>{if(O.current)return!0;const $=Math.abs(F.y),U=Math.abs(F.x),Z=U>$,J=["bottom","right"].includes(R)?1:-1;if(R==="left"||R==="right"){if(!(F.x*J<0)&&U>=0&&U<=B)return Z}else if(!(F.y*J<0)&&$>=0&&$<=B)return!Z;return O.current=!0,!0};x.useEffect(()=>{P&&window.requestAnimationFrame(()=>{S(!0)})},[]);function D(F){E.current=null,O.current=!1,l(F)}return x.createElement(ri,{"data-vaul-drawer-direction":m,"data-vaul-drawer":"","data-vaul-delayed-snap-points":v?"true":"false","data-vaul-snap-points":h&&P?"true":"false","data-vaul-custom-container":b?"true":"false","data-vaul-animate":y!=null&&y.current?"true":"false",...r,ref:j,style:d&&d.length>0?{"--snap-point-height":`${d[f!=null?f:0]}px`,...t}:t,onPointerDown:F=>{g||(r.onPointerDown==null||r.onPointerDown.call(r,F),E.current={x:F.pageX,y:F.pageY},a(F))},onOpenAutoFocus:F=>{n==null||n(F),w||F.preventDefault()},onPointerDownOutside:F=>{if(e==null||e(F),!p||F.defaultPrevented){F.preventDefault();return}u.current&&(u.current=!1)},onFocusOutside:F=>{if(!p){F.preventDefault();return}},onPointerMove:F=>{if(N.current=F,g||(r.onPointerMove==null||r.onPointerMove.call(r,F),!E.current))return;const R=F.pageY-E.current.y,B=F.pageX-E.current.x,$=F.pointerType==="touch"?10:2;V({x:B,y:R},m,$)?c(F):(Math.abs(B)>$||Math.abs(R)>$)&&(E.current=null)},onPointerUp:F=>{r.onPointerUp==null||r.onPointerUp.call(r,F),E.current=null,O.current=!1,l(F)},onPointerOut:F=>{r.onPointerOut==null||r.onPointerOut.call(r,F),D(N.current)},onContextMenu:F=>{r.onContextMenu==null||r.onContextMenu.call(r,F),N.current&&D(N.current)}})});f5.displayName="Drawer.Content";const dp=250,fp=120,pp=x.forwardRef(function({preventCycle:e=!1,children:t,...n},r){const{closeDrawer:o,isDragging:s,snapPoints:a,activeSnapPoint:l,setActiveSnapPoint:c,dismissible:u,handleOnly:d,isOpen:f,onPress:p,onDrag:h}=nr(),m=x.useRef(null),C=x.useRef(!1);function b(){if(C.current){w();return}window.setTimeout(()=>{g()},fp)}function g(){if(s||e||C.current){w();return}if(w(),!a||a.length===0){u||o();return}if(l===a[a.length-1]&&u){o();return}const S=a.findIndex(E=>E===l);if(S===-1)return;const j=a[S+1];c(j)}function y(){m.current=window.setTimeout(()=>{C.current=!0},dp)}function w(){m.current&&window.clearTimeout(m.current),C.current=!1}return x.createElement("div",{onClick:b,onPointerCancel:w,onPointerDown:v=>{d&&p(v),y()},onPointerMove:v=>{d&&h(v)},ref:r,"data-vaul-drawer-visible":f?"true":"false","data-vaul-handle":"","aria-hidden":"true",...n},x.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))});pp.displayName="Drawer.Handle";function hp(e){const t=nr(),{container:n=t.container,...r}=e;return x.createElement(Y4,{container:n,...r})}const v1={Root:up,Content:f5,Overlay:d5,Trigger:q4,Portal:hp,Close:G4,Title:oi,Description:si},mp=["top","right","bottom","left"],P1=Math.min,Et=Math.max,bo=Math.round,yo=Math.floor,i1=e=>({x:e,y:e}),Cp={left:"right",right:"left",bottom:"top",top:"bottom"},xp={start:"end",end:"start"};function bi(e,t,n){return Et(e,P1(t,n))}function k1(e,t){return typeof e=="function"?e(t):e}function j1(e){return e.split("-")[0]}function Sn(e){return e.split("-")[1]}function yi(e){return e==="x"?"y":"x"}function wi(e){return e==="y"?"height":"width"}const gp=new Set(["top","bottom"]);function a1(e){return gp.has(j1(e))?"y":"x"}function vi(e){return yi(a1(e))}function bp(e,t,n){n===void 0&&(n=!1);const r=Sn(e),o=vi(e),s=wi(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=wo(a)),[a,wo(a)]}function yp(e){const t=wo(e);return[ki(e),t,ki(t)]}function ki(e){return e.replace(/start|end/g,t=>xp[t])}const p5=["left","right"],h5=["right","left"],wp=["top","bottom"],vp=["bottom","top"];function kp(e,t,n){switch(e){case"top":case"bottom":return n?t?h5:p5:t?p5:h5;case"left":case"right":return t?wp:vp;default:return[]}}function jp(e,t,n,r){const o=Sn(e);let s=kp(j1(e),n==="start",r);return o&&(s=s.map(a=>a+"-"+o),t&&(s=s.concat(s.map(ki)))),s}function wo(e){return e.replace(/left|right|bottom|top/g,t=>Cp[t])}function Sp(e){return{top:0,right:0,bottom:0,left:0,...e}}function m5(e){return typeof e!="number"?Sp(e):{top:e,right:e,bottom:e,left:e}}function vo(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function C5(e,t,n){let{reference:r,floating:o}=e;const s=a1(t),a=vi(t),l=wi(a),c=j1(t),u=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[l]/2-o[l]/2;let h;switch(c){case"top":h={x:d,y:r.y-o.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Sn(t)){case"start":h[a]-=p*(n&&u?-1:1);break;case"end":h[a]+=p*(n&&u?-1:1);break}return h}const Lp=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=n,l=s.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=C5(u,r,c),p=r,h={},m=0;for(let C=0;C<l.length;C++){const{name:b,fn:g}=l[C],{x:y,y:w,data:v,reset:S}=await g({x:d,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});d=y!=null?y:d,f=w!=null?w:f,h={...h,[b]:{...h[b],...v}},S&&m<=50&&(m++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(u=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:d,y:f}=C5(u,p,c)),C=-1)}return{x:d,y:f,placement:p,strategy:o,middlewareData:h}};async function sr(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=k1(t,e),m=m5(h),b=l[p?f==="floating"?"reference":"floating":f],g=vo(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),y=f==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),v=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},S=vo(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:w,strategy:c}):y);return{top:(g.top-S.top+m.top)/v.y,bottom:(S.bottom-g.bottom+m.bottom)/v.y,left:(g.left-S.left+m.left)/v.x,right:(S.right-g.right+m.right)/v.x}}const Mp=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=k1(e,t)||{};if(u==null)return{};const f=m5(d),p={x:n,y:r},h=vi(o),m=wi(h),C=await a.getDimensions(u),b=h==="y",g=b?"top":"left",y=b?"bottom":"right",w=b?"clientHeight":"clientWidth",v=s.reference[m]+s.reference[h]-p[h]-s.floating[m],S=p[h]-s.reference[h],j=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let E=j?j[w]:0;(!E||!await(a.isElement==null?void 0:a.isElement(j)))&&(E=l.floating[w]||s.floating[m]);const N=v/2-S/2,O=E/2-C[m]/2-1,P=P1(f[g],O),V=P1(f[y],O),D=P,F=E-C[m]-V,R=E/2-C[m]/2+N,B=bi(D,R,F),$=!c.arrow&&Sn(o)!=null&&R!==B&&s.reference[m]/2-(R<D?P:V)-C[m]/2<0,U=$?R<D?R-D:R-F:0;return{[h]:p[h]+U,data:{[h]:B,centerOffset:R-B-U,...$&&{alignmentOffset:U}},reset:$}}}),Ep=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:a,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:C=!0,...b}=k1(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=j1(o),y=a1(l),w=j1(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=p||(w||!C?[wo(l)]:yp(l)),j=m!=="none";!p&&j&&S.push(...jp(l,C,m,v));const E=[l,...S],N=await sr(t,b),O=[];let P=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&O.push(N[g]),f){const R=bp(o,a,v);O.push(N[R[0]],N[R[1]])}if(P=[...P,{placement:o,overflows:O}],!O.every(R=>R<=0)){var V,D;const R=(((V=s.flip)==null?void 0:V.index)||0)+1,B=E[R];if(B&&(!(f==="alignment"?y!==a1(B):!1)||P.every(Z=>a1(Z.placement)===y?Z.overflows[0]>0:!0)))return{data:{index:R,overflows:P},reset:{placement:B}};let $=(D=P.filter(U=>U.overflows[0]<=0).sort((U,Z)=>U.overflows[1]-Z.overflows[1])[0])==null?void 0:D.placement;if(!$)switch(h){case"bestFit":{var F;const U=(F=P.filter(Z=>{if(j){const J=a1(Z.placement);return J===y||J==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(J=>J>0).reduce((J,L)=>J+L,0)]).sort((Z,J)=>Z[1]-J[1])[0])==null?void 0:F[0];U&&($=U);break}case"initialPlacement":$=l;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function x5(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function g5(e){return mp.some(t=>e[t]>=0)}const Np=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=k1(e,t);switch(r){case"referenceHidden":{const s=await sr(t,{...o,elementContext:"reference"}),a=x5(s,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:g5(a)}}}case"escaped":{const s=await sr(t,{...o,altBoundary:!0}),a=x5(s,n.floating);return{data:{escapedOffsets:a,escaped:g5(a)}}}default:return{}}}}},b5=new Set(["left","top"]);async function Fp(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=j1(n),l=Sn(n),c=a1(n)==="y",u=b5.has(a)?-1:1,d=s&&c?-1:1,f=k1(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(h=l==="end"?m*-1:m),c?{x:h*d,y:p*u}:{x:p*u,y:h*d}}const Tp=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:a,middlewareData:l}=t,c=await Fp(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:a}}}}},_p=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:g,y}=b;return{x:g,y}}},...c}=k1(e,t),u={x:n,y:r},d=await sr(t,c),f=a1(j1(o)),p=yi(f);let h=u[p],m=u[f];if(s){const b=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=h+d[b],w=h-d[g];h=bi(y,h,w)}if(a){const b=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=m+d[b],w=m-d[g];m=bi(y,m,w)}const C=l.fn({...t,[p]:h,[f]:m});return{...C,data:{x:C.x-n,y:C.y-r,enabled:{[p]:s,[f]:a}}}}}},Ap=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=k1(e,t),d={x:n,y:r},f=a1(o),p=yi(f);let h=d[p],m=d[f];const C=k1(l,t),b=typeof C=="number"?{mainAxis:C,crossAxis:0}:{mainAxis:0,crossAxis:0,...C};if(c){const w=p==="y"?"height":"width",v=s.reference[p]-s.floating[w]+b.mainAxis,S=s.reference[p]+s.reference[w]-b.mainAxis;h<v?h=v:h>S&&(h=S)}if(u){var g,y;const w=p==="y"?"width":"height",v=b5.has(j1(o)),S=s.reference[f]-s.floating[w]+(v&&((g=a.offset)==null?void 0:g[f])||0)+(v?0:b.crossAxis),j=s.reference[f]+s.reference[w]+(v?0:((y=a.offset)==null?void 0:y[f])||0)-(v?b.crossAxis:0);m<S?m=S:m>j&&(m=j)}return{[p]:h,[f]:m}}}},Dp=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:a,elements:l}=t,{apply:c=()=>{},...u}=k1(e,t),d=await sr(t,u),f=j1(o),p=Sn(o),h=a1(o)==="y",{width:m,height:C}=s.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=p===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(g=f,b=p==="end"?"top":"bottom");const y=C-d.top-d.bottom,w=m-d.left-d.right,v=P1(C-d[b],y),S=P1(m-d[g],w),j=!t.middlewareData.shift;let E=v,N=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=y),j&&!p){const P=Et(d.left,0),V=Et(d.right,0),D=Et(d.top,0),F=Et(d.bottom,0);h?N=m-2*(P!==0||V!==0?P+V:Et(d.left,d.right)):E=C-2*(D!==0||F!==0?D+F:Et(d.top,d.bottom))}await c({...t,availableWidth:N,availableHeight:E});const O=await a.getDimensions(l.floating);return m!==O.width||C!==O.height?{reset:{rects:!0}}:{}}}};function ko(){return typeof window!="undefined"}function Ln(e){return y5(e)?(e.nodeName||"").toLowerCase():"#document"}function Nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function l1(e){var t;return(t=(y5(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function y5(e){return ko()?e instanceof Node||e instanceof Nt(e).Node:!1}function qt(e){return ko()?e instanceof Element||e instanceof Nt(e).Element:!1}function c1(e){return ko()?e instanceof HTMLElement||e instanceof Nt(e).HTMLElement:!1}function w5(e){return!ko()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof Nt(e).ShadowRoot}const Op=new Set(["inline","contents"]);function ir(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Op.has(o)}const Pp=new Set(["table","td","th"]);function Ip(e){return Pp.has(Ln(e))}const Hp=[":popover-open",":modal"];function jo(e){return Hp.some(t=>{try{return e.matches(t)}catch(n){return!1}})}const Vp=["transform","translate","scale","rotate","perspective"],Rp=["transform","translate","scale","rotate","perspective","filter"],Bp=["paint","layout","strict","content"];function ji(e){const t=Si(),n=qt(e)?Yt(e):e;return Vp.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Rp.some(r=>(n.willChange||"").includes(r))||Bp.some(r=>(n.contain||"").includes(r))}function zp(e){let t=I1(e);for(;c1(t)&&!Mn(t);){if(ji(t))return t;if(jo(t))return null;t=I1(t)}return null}function Si(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Zp=new Set(["html","body","#document"]);function Mn(e){return Zp.has(Ln(e))}function Yt(e){return Nt(e).getComputedStyle(e)}function So(e){return qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function I1(e){if(Ln(e)==="html")return e;const t=e.assignedSlot||e.parentNode||w5(e)&&e.host||l1(e);return w5(t)?t.host:t}function v5(e){const t=I1(e);return Mn(t)?e.ownerDocument?e.ownerDocument.body:e.body:c1(t)&&ir(t)?t:v5(t)}function ar(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=v5(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),a=Nt(o);if(s){const l=Li(a);return t.concat(a,a.visualViewport||[],ir(o)?o:[],l&&n?ar(l):[])}return t.concat(o,ar(o,[],n))}function Li(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function k5(e){const t=Yt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=c1(e),s=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=bo(n)!==s||bo(r)!==a;return l&&(n=s,r=a),{width:n,height:r,$:l}}function Mi(e){return qt(e)?e:e.contextElement}function En(e){const t=Mi(e);if(!c1(t))return i1(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=k5(t);let a=(s?bo(n.width):n.width)/r,l=(s?bo(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const Wp=i1(0);function j5(e){const t=Nt(e);return!Si()||!t.visualViewport?Wp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $p(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Nt(e)?!1:t}function nn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Mi(e);let a=i1(1);t&&(r?qt(r)&&(a=En(r)):a=En(e));const l=$p(s,n,r)?j5(s):i1(0);let c=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,d=o.width/a.x,f=o.height/a.y;if(s){const p=Nt(s),h=r&&qt(r)?Nt(r):r;let m=p,C=Li(m);for(;C&&r&&h!==m;){const b=En(C),g=C.getBoundingClientRect(),y=Yt(C),w=g.left+(C.clientLeft+parseFloat(y.paddingLeft))*b.x,v=g.top+(C.clientTop+parseFloat(y.paddingTop))*b.y;c*=b.x,u*=b.y,d*=b.x,f*=b.y,c+=w,u+=v,m=Nt(C),C=Li(m)}}return vo({width:d,height:f,x:c,y:u})}function Lo(e,t){const n=So(e).scrollLeft;return t?t.left+n:nn(l1(e)).left+n}function S5(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Lo(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Up(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",a=l1(r),l=t?jo(t.floating):!1;if(r===a||l&&s)return n;let c={scrollLeft:0,scrollTop:0},u=i1(1);const d=i1(0),f=c1(r);if((f||!f&&!s)&&((Ln(r)!=="body"||ir(a))&&(c=So(r)),c1(r))){const h=nn(r);u=En(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const p=a&&!f&&!s?S5(a,c):i1(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-c.scrollTop*u.y+d.y+p.y}}function qp(e){return Array.from(e.getClientRects())}function Yp(e){const t=l1(e),n=So(e),r=e.ownerDocument.body,o=Et(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Et(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Lo(e);const l=-n.scrollTop;return Yt(r).direction==="rtl"&&(a+=Et(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:a,y:l}}const L5=25;function Gp(e,t){const n=Nt(e),r=l1(e),o=n.visualViewport;let s=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){s=o.width,a=o.height;const d=Si();(!d||d&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}const u=Lo(r);if(u<=0){const d=r.ownerDocument,f=d.body,p=getComputedStyle(f),h=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,m=Math.abs(r.clientWidth-f.clientWidth-h);m<=L5&&(s-=m)}else u<=L5&&(s+=u);return{width:s,height:a,x:l,y:c}}const Xp=new Set(["absolute","fixed"]);function Kp(e,t){const n=nn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=c1(e)?En(e):i1(1),a=e.clientWidth*s.x,l=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:a,height:l,x:c,y:u}}function M5(e,t,n){let r;if(t==="viewport")r=Gp(e,n);else if(t==="document")r=Yp(l1(e));else if(qt(t))r=Kp(t,n);else{const o=j5(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return vo(r)}function E5(e,t){const n=I1(e);return n===t||!qt(n)||Mn(n)?!1:Yt(n).position==="fixed"||E5(n,t)}function Qp(e,t){const n=t.get(e);if(n)return n;let r=ar(e,[],!1).filter(l=>qt(l)&&Ln(l)!=="body"),o=null;const s=Yt(e).position==="fixed";let a=s?I1(e):e;for(;qt(a)&&!Mn(a);){const l=Yt(a),c=ji(a);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&Xp.has(o.position)||ir(a)&&!c&&E5(e,a))?r=r.filter(d=>d!==a):o=l,a=I1(a)}return t.set(e,r),r}function Jp(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?jo(t)?[]:Qp(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,d)=>{const f=M5(t,d,o);return u.top=Et(f.top,u.top),u.right=P1(f.right,u.right),u.bottom=P1(f.bottom,u.bottom),u.left=Et(f.left,u.left),u},M5(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function eh(e){const{width:t,height:n}=k5(e);return{width:t,height:n}}function th(e,t,n){const r=c1(t),o=l1(t),s=n==="fixed",a=nn(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const c=i1(0);function u(){c.x=Lo(o)}if(r||!r&&!s)if((Ln(t)!=="body"||ir(o))&&(l=So(t)),r){const h=nn(t,!0,s,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else o&&u();s&&!r&&o&&u();const d=o&&!r&&!s?S5(o,l):i1(0),f=a.left+l.scrollLeft-c.x-d.x,p=a.top+l.scrollTop-c.y-d.y;return{x:f,y:p,width:a.width,height:a.height}}function Ei(e){return Yt(e).position==="static"}function N5(e,t){if(!c1(e)||Yt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return l1(e)===n&&(n=n.ownerDocument.body),n}function F5(e,t){const n=Nt(e);if(jo(e))return n;if(!c1(e)){let o=I1(e);for(;o&&!Mn(o);){if(qt(o)&&!Ei(o))return o;o=I1(o)}return n}let r=N5(e,t);for(;r&&Ip(r)&&Ei(r);)r=N5(r,t);return r&&Mn(r)&&Ei(r)&&!ji(r)?n:r||zp(e)||n}const nh=async function(e){const t=this.getOffsetParent||F5,n=this.getDimensions,r=await n(e.floating);return{reference:th(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function rh(e){return Yt(e).direction==="rtl"}const oh={convertOffsetParentRelativeRectToViewportRelativeRect:Up,getDocumentElement:l1,getClippingRect:Jp,getOffsetParent:F5,getElementRects:nh,getClientRects:qp,getDimensions:eh,getScale:En,isElement:qt,isRTL:rh};function T5(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function sh(e,t){let n=null,r;const o=l1(e);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=u;if(l||t(),!p||!h)return;const m=yo(f),C=yo(o.clientWidth-(d+p)),b=yo(o.clientHeight-(f+h)),g=yo(d),w={rootMargin:-m+"px "+-C+"px "+-b+"px "+-g+"px",threshold:Et(0,P1(1,c))||1};let v=!0;function S(j){const E=j[0].intersectionRatio;if(E!==c){if(!v)return a();E?a(!1,E):r=setTimeout(()=>{a(!1,1e-7)},1e3)}E===1&&!T5(u,e.getBoundingClientRect())&&a(),v=!1}try{n=new IntersectionObserver(S,{...w,root:o.ownerDocument})}catch(j){n=new IntersectionObserver(S,w)}n.observe(e)}return a(!0),s}function ih(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Mi(e),d=o||s?[...u?ar(u):[],...ar(t)]:[];d.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const f=u&&l?sh(u,n):null;let p=-1,h=null;a&&(h=new ResizeObserver(g=>{let[y]=g;y&&y.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),u&&!c&&h.observe(u),h.observe(t));let m,C=c?nn(e):null;c&&b();function b(){const g=nn(e);C&&!T5(C,g)&&n(),C=g,m=requestAnimationFrame(b)}return n(),()=>{var g;d.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),f==null||f(),(g=h)==null||g.disconnect(),h=null,c&&cancelAnimationFrame(m)}}const ah=Tp,lh=_p,ch=Ep,uh=Dp,dh=Np,_5=Mp,fh=Ap,ph=(e,t,n)=>{const r=new Map,o={platform:oh,...n},s={...o.platform,_c:r};return Lp(e,t,{...o,platform:s})};var hh=typeof document!="undefined",mh=function(){},Mo=hh?x.useLayoutEffect:mh;function Eo(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Eo(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Eo(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function A5(e){return typeof window=="undefined"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function D5(e,t){const n=A5(e);return Math.round(t*n)/n}function Ni(e){const t=k.useRef(e);return Mo(()=>{t.current=e}),t}function Ch(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=k.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=k.useState(r);Eo(p,r)||h(r);const[m,C]=k.useState(null),[b,g]=k.useState(null),y=k.useCallback(Z=>{Z!==j.current&&(j.current=Z,C(Z))},[]),w=k.useCallback(Z=>{Z!==E.current&&(E.current=Z,g(Z))},[]),v=s||m,S=a||b,j=k.useRef(null),E=k.useRef(null),N=k.useRef(d),O=c!=null,P=Ni(c),V=Ni(o),D=Ni(u),F=k.useCallback(()=>{if(!j.current||!E.current)return;const Z={placement:t,strategy:n,middleware:p};V.current&&(Z.platform=V.current),ph(j.current,E.current,Z).then(J=>{const L={...J,isPositioned:D.current!==!1};R.current&&!Eo(N.current,L)&&(N.current=L,Gn.flushSync(()=>{f(L)}))})},[p,t,n,V,D]);Mo(()=>{u===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(Z=>({...Z,isPositioned:!1})))},[u]);const R=k.useRef(!1);Mo(()=>(R.current=!0,()=>{R.current=!1}),[]),Mo(()=>{if(v&&(j.current=v),S&&(E.current=S),v&&S){if(P.current)return P.current(v,S,F);F()}},[v,S,F,P,O]);const B=k.useMemo(()=>({reference:j,floating:E,setReference:y,setFloating:w}),[y,w]),$=k.useMemo(()=>({reference:v,floating:S}),[v,S]),U=k.useMemo(()=>{const Z={position:n,left:0,top:0};if(!$.floating)return Z;const J=D5($.floating,d.x),L=D5($.floating,d.y);return l?{...Z,transform:"translate("+J+"px, "+L+"px)",...A5($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:J,top:L}},[n,l,$.floating,d.x,d.y]);return k.useMemo(()=>({...d,update:F,refs:B,elements:$,floatingStyles:U}),[d,F,B,$,U])}const xh=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?_5({element:r.current,padding:o}).fn(n):{}:r?_5({element:r,padding:o}).fn(n):{}}}},gh=(e,t)=>({...ah(e),options:[e,t]}),bh=(e,t)=>({...lh(e),options:[e,t]}),yh=(e,t)=>({...fh(e),options:[e,t]}),wh=(e,t)=>({...ch(e),options:[e,t]}),vh=(e,t)=>({...uh(e),options:[e,t]}),kh=(e,t)=>({...dh(e),options:[e,t]}),jh=(e,t)=>({...xh(e),options:[e,t]});var Sh="Arrow",O5=k.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return i.jsx(ve.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});O5.displayName=Sh;var Lh=O5;function No(e){const[t,n]=k.useState(void 0);return ft(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let a,l;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Fi="Popper",[P5,Nn]=Lt(Fi),[Mh,I5]=P5(Fi),H5=e=>{const{__scopePopper:t,children:n}=e,[r,o]=k.useState(null),[s,a]=k.useState(void 0);return i.jsx(Mh,{scope:t,anchor:r,onAnchorChange:o,placementState:s,setPlacementState:a,children:n})};H5.displayName=Fi;var V5="PopperAnchor",R5=k.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=I5(V5,n),a=k.useRef(null),l=s.onAnchorChange,c=k.useCallback(m=>{a.current=m,m&&l(m)},[l]),u=Te(t,c),d=k.useRef(null);k.useEffect(()=>{if(!r)return;const m=d.current;d.current=r.current,m!==d.current&&l(d.current)});const f=s.placementState&&_i(s.placementState),p=f==null?void 0:f[0],h=f==null?void 0:f[1];return r?null:i.jsx(ve.div,{"data-radix-popper-side":p,"data-radix-popper-align":h,...o,ref:u})});R5.displayName=V5;var Ti="PopperContent",[Eh,Nh]=P5(Ti),B5=k.forwardRef((e,t)=>{var te,G,ne,oe,ue,Le,le,De;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u,collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:m,...C}=e,b=I5(Ti,n),[g,y]=k.useState(null),w=Te(t,Fe=>y(Fe)),[v,S]=k.useState(null),j=No(v),E=(te=j==null?void 0:j.width)!=null?te:0,N=(G=j==null?void 0:j.height)!=null?G:0,O=r+(s!=="center"?"-"+s:""),P=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},V=u?Array.isArray(u)?u:[u]:void 0,D=V!==void 0&&V.length>0,F={padding:P,boundary:V==null?void 0:V.filter(Th),altBoundary:D},{refs:R,floatingStyles:B,placement:$,isPositioned:U,middlewareData:Z}=Ch({strategy:"fixed",placement:O,whileElementsMounted:(...Fe)=>ih(...Fe,{animationFrame:h==="always"}),elements:{reference:b.anchor},middleware:[gh({mainAxis:o+N,alignmentAxis:a}),c&&bh({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?yh():void 0,...F}),c&&wh({...F}),vh({...F,apply:({elements:Fe,rects:Ke,availableWidth:n1,availableHeight:It})=>{const{width:it,height:Zt}=Ke.reference,fe=Fe.floating.style;fe.setProperty("--radix-popper-available-width",`${n1}px`),fe.setProperty("--radix-popper-available-height",`${It}px`),fe.setProperty("--radix-popper-anchor-width",`${it}px`),fe.setProperty("--radix-popper-anchor-height",`${Zt}px`)}}),v&&jh({element:v,padding:l}),_h({arrowWidth:E,arrowHeight:N}),p&&kh({strategy:"referenceHidden",...F})]}),J=b.setPlacementState;ft(()=>(J($),()=>{J(void 0)}),[$,J]);const[L,z]=_i($),ee=D1(m);ft(()=>{U&&(ee==null||ee())},[U,ee]);const M=(ne=Z.arrow)==null?void 0:ne.x,Y=(oe=Z.arrow)==null?void 0:oe.y,ie=((ue=Z.arrow)==null?void 0:ue.centerOffset)!==0,[K,W]=k.useState();return ft(()=>{g&&W(window.getComputedStyle(g).zIndex)},[g]),i.jsx("div",{ref:R.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:U?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[(Le=Z.transformOrigin)==null?void 0:Le.x,(le=Z.transformOrigin)==null?void 0:le.y].join(" "),...((De=Z.hide)==null?void 0:De.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(Eh,{scope:n,placedSide:L,placedAlign:z,onArrowChange:S,arrowX:M,arrowY:Y,shouldHideArrow:ie,children:i.jsx(ve.div,{"data-side":L,"data-align":z,...C,ref:w,style:{...C.style,animation:U?void 0:"none"}})})})});B5.displayName=Ti;var z5="PopperArrow",Fh={top:"bottom",right:"left",bottom:"top",left:"right"},Z5=k.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=Nh(z5,r),a=Fh[s.placedSide];return i.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:i.jsx(Lh,{...o,ref:n,style:{...o.style,display:"block"}})})});Z5.displayName=z5;function Th(e){return e!==null}var _h=e=>({name:"transformOrigin",options:e,fn(t){var b,g,y,w,v;const{placement:n,rects:r,middlewareData:o}=t,a=((b=o.arrow)==null?void 0:b.centerOffset)!==0,l=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[u,d]=_i(n),f={start:"0%",center:"50%",end:"100%"}[d],p=((y=(g=o.arrow)==null?void 0:g.x)!=null?y:0)+l/2,h=((v=(w=o.arrow)==null?void 0:w.y)!=null?v:0)+c/2;let m="",C="";return u==="bottom"?(m=a?f:`${p}px`,C=`${-c}px`):u==="top"?(m=a?f:`${p}px`,C=`${r.floating.height+c}px`):u==="right"?(m=`${-c}px`,C=a?f:`${h}px`):u==="left"&&(m=`${r.floating.width+c}px`,C=a?f:`${h}px`),{data:{x:m,y:C}}}});function _i(e){const[t,n="center"]=e.split("-");return[t,n]}var Ai=H5,Fo=R5,Di=B5,Oi=Z5,W5=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Ah="VisuallyHidden",$5=k.forwardRef((e,t)=>i.jsx(ve.span,{...e,ref:t,style:{...W5,...e.style}}));$5.displayName=Ah;var Dh=$5,[To]=Lt("Tooltip",[Nn]),_o=Nn(),U5="TooltipProvider",Oh=700,Pi="tooltip.open",[Ph,Ii]=To(U5),q5=e=>{const{__scopeTooltip:t,delayDuration:n=Oh,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,a=k.useRef(!0),l=k.useRef(!1),c=k.useRef(0);return k.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),i.jsx(Ph,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:k.useCallback(()=>{r<=0||(window.clearTimeout(c.current),a.current=!1)},[r]),onClose:k.useCallback(()=>{r<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r))},[r]),isPointerInTransitRef:l,onPointerInTransitChange:k.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:s})};q5.displayName=U5;var lr="Tooltip",[Ih,cr]=To(lr),Y5=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o,onOpenChange:s,disableHoverableContent:a,delayDuration:l}=e,c=Ii(lr,e.__scopeTooltip),u=_o(t),[d,f]=k.useState(null),p=Wt(),h=k.useRef(0),m=a!=null?a:c.disableHoverableContent,C=l!=null?l:c.delayDuration,b=k.useRef(!1),[g,y]=$t({prop:r,defaultProp:o!=null?o:!1,onChange:E=>{E?(c.onOpen(),document.dispatchEvent(new CustomEvent(Pi))):c.onClose(),s==null||s(E)},caller:lr}),w=k.useMemo(()=>g?b.current?"delayed-open":"instant-open":"closed",[g]),v=k.useCallback(()=>{window.clearTimeout(h.current),h.current=0,b.current=!1,y(!0)},[y]),S=k.useCallback(()=>{window.clearTimeout(h.current),h.current=0,y(!1)},[y]),j=k.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{b.current=!0,y(!0),h.current=0},C)},[C,y]);return k.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),i.jsx(Ai,{...u,children:i.jsx(Ih,{scope:t,contentId:p,open:g,stateAttribute:w,trigger:d,onTriggerChange:f,onTriggerEnter:k.useCallback(()=>{c.isOpenDelayedRef.current?j():v()},[c.isOpenDelayedRef,j,v]),onTriggerLeave:k.useCallback(()=>{m?S():(window.clearTimeout(h.current),h.current=0)},[S,m]),onOpen:v,onClose:S,disableHoverableContent:m,children:n})})};Y5.displayName=lr;var Hi="TooltipTrigger",G5=k.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=cr(Hi,n),s=Ii(Hi,n),a=_o(n),l=k.useRef(null),c=Te(t,l,o.onTriggerChange),u=k.useRef(!1),d=k.useRef(!1),f=k.useCallback(()=>u.current=!1,[]);return k.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),i.jsx(Fo,{asChild:!0,...a,children:i.jsx(ve.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:ye(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:ye(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:ye(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ye(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ye(e.onBlur,o.onClose),onClick:ye(e.onClick,o.onClose)})})});G5.displayName=Hi;var Vi="TooltipPortal",[Hh,Vh]=To(Vi,{forceMount:void 0}),X5=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,s=cr(Vi,t);return i.jsx(Hh,{scope:t,forceMount:n,children:i.jsx(Mt,{present:n||s.open,children:i.jsx(tr,{asChild:!0,container:o,children:r})})})};X5.displayName=Vi;var Fn="TooltipContent",K5=k.forwardRef((e,t)=>{const n=Vh(Fn,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,a=cr(Fn,e.__scopeTooltip);return i.jsx(Mt,{present:r||a.open,children:a.disableHoverableContent?i.jsx(Q5,{side:o,...s,ref:t}):i.jsx(Rh,{side:o,...s,ref:t})})}),Rh=k.forwardRef((e,t)=>{const n=cr(Fn,e.__scopeTooltip),r=Ii(Fn,e.__scopeTooltip),o=k.useRef(null),s=Te(t,o),[a,l]=k.useState(null),{trigger:c,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,p=k.useCallback(()=>{l(null),f(!1)},[f]),h=k.useCallback((m,C)=>{const b=m.currentTarget,g={x:m.clientX,y:m.clientY},y=Wh(g,b.getBoundingClientRect()),w=$h(g,y),v=Uh(C.getBoundingClientRect()),S=Yh([...w,...v]);l(S),f(!0)},[f]);return k.useEffect(()=>()=>p(),[p]),k.useEffect(()=>{if(c&&d){const m=b=>h(b,d),C=b=>h(b,c);return c.addEventListener("pointerleave",m),d.addEventListener("pointerleave",C),()=>{c.removeEventListener("pointerleave",m),d.removeEventListener("pointerleave",C)}}},[c,d,h,p]),k.useEffect(()=>{if(a){const m=C=>{const b=C.target,g={x:C.clientX,y:C.clientY},y=(c==null?void 0:c.contains(b))||(d==null?void 0:d.contains(b)),w=!qh(g,a);y?p():w&&(p(),u())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[c,d,a,u,p]),i.jsx(Q5,{...e,ref:s})}),[Bh,zh]=To(lr,{isInside:!1}),Zh=id("TooltipContent"),Q5=k.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:a,...l}=e,c=cr(Fn,n),u=_o(n),{onClose:d}=c;return k.useEffect(()=>(document.addEventListener(Pi,d),()=>document.removeEventListener(Pi,d)),[d]),k.useEffect(()=>{if(c.trigger){const f=p=>{p.target instanceof Node&&p.target.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),i.jsx(er,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:i.jsxs(Di,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[i.jsx(Zh,{children:r}),i.jsx(Bh,{scope:n,isInside:!0,children:i.jsx(Dh,{id:c.contentId,role:"tooltip",children:o||r})})]})})});K5.displayName=Fn;var J5="TooltipArrow",e3=k.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=_o(n);return zh(J5,n).isInside?null:i.jsx(Oi,{...o,...r,ref:t})});e3.displayName=J5;function Wh(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function $h(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Uh(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function qh(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,a=t.length-1;s<t.length;a=s++){const l=t[s],c=t[a],u=l.x,d=l.y,f=c.x,p=c.y;d>r!=p>r&&n<(f-u)*(r-d)/(p-d)+u&&(o=!o)}return o}function Yh(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Gh(t)}function Gh(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],a=t[t.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],a=n[n.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Xh=q5,Kh=Y5,Qh=G5,Jh=X5,t3=K5,em=e3;const n3=k.createContext(void 0),r3=({zIndex:e,children:t,...n})=>i.jsx(n3.Provider,{value:e,children:i.jsx(Xh,{...n,children:t})}),o3=Kh,s3=Qh,Ri=k.forwardRef(({className:e,sideOffset:t=4,portalContainer:n,style:r,...o},s)=>{const a=k.useContext(n3);return i.jsx(Jh,{container:n!=null?n:void 0,children:i.jsxs(t3,{ref:s,sideOffset:t,className:T(e),style:a!=null?{...r,zIndex:a}:r,...o,children:[o.children,i.jsx(em,{className:"fill-[#525867] stroke-[#525867] stroke-[2px] stroke-linejoin-round [paint-order:stroke_fill]"})]})})});Ri.displayName=t3.displayName;const Ao=({children:e,content:t})=>{const n=x.useRef(null),[r,o]=x.useState(null);return x.useEffect(()=>{const s=n.current;if(!s)return;const a=s.getRootNode();if(a instanceof ShadowRoot){const l=a.querySelector("[data-bs-tooltip-portal]");if(l){o(l);return}const c=document.createElement("div");c.setAttribute("data-bs-tooltip-portal","true"),a.appendChild(c),o(c);return}o(null)},[]),i.jsxs(o3,{children:[i.jsx(s3,{asChild:!0,children:i.jsx("span",{ref:n,className:"inline-flex",children:e})}),i.jsx(Ri,{portalContainer:r,className:"rounded-[4px] bg-[#525867] px-[12px] !py-[7px] text-[12px] text-white leading-normal max-w-[288px] animate-in fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 duration-200",children:t})]})},Vt=x.forwardRef(({icon:e,className:t,tooltip:n,size:r,rounded:o,...s},a)=>{const l=i.jsx(Jn,{ref:a,variant:"ghost",size:"icon",className:T("p-2.5",{"rounded-full w-[26px] h-[26px] aspect-square !text-[#121111]":o,"rounded-[4px]":!o},"cursor-pointer","hover:!bg-[#EFF0F6]",t,re),...s,children:e});return n?i.jsx(Ao,{content:n,children:l}):l}),i3=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H11V3H3Z"})}),a3=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z"}),i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M13 2C13.5304 2 14.039 2.21086 14.4141 2.58594C14.7891 2.96101 15 3.46957 15 4V12C15 12.5304 14.7891 13.039 14.4141 13.4141C14.039 13.7891 13.5304 14 13 14H3C2.46957 14 1.96101 13.7891 1.58594 13.4141C1.21086 13.039 1 12.5304 1 12V4C1 3.46957 1.21086 2.96101 1.58594 2.58594C1.96101 2.21086 2.46957 2 3 2H13ZM3 3C2.7551 3.00003 2.51896 3.09021 2.33594 3.25293C2.15294 3.41565 2.03553 3.63963 2.00684 3.88281L2 4V12C2.00003 12.2449 2.09021 12.481 2.25293 12.6641C2.41565 12.8471 2.63963 12.9645 2.88281 12.9932L3 13H13C13.2449 13 13.481 12.9098 13.6641 12.7471C13.8471 12.5843 13.9645 12.3604 13.9932 12.1172L14 12V4C14 3.7551 13.9098 3.51896 13.7471 3.33594C13.5843 3.15294 13.3604 3.03553 13.1172 3.00684L13 3H3ZM12.5 4C12.7761 4 13 4.22386 13 4.5V11.5C13 11.7761 12.7761 12 12.5 12H10.5C10.2239 12 10 11.7761 10 11.5V4.5C10 4.22386 10.2239 4 10.5 4H12.5Z",fillOpacity:"0.2"})]}),Bi=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z"}),i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M9.00669 7.99894L14.2992 2.7038C14.4278 2.57406 14.5 2.39872 14.5 2.21597C14.5 2.03322 14.4278 1.85788 14.2992 1.72814L14.271 1.69996C14.1411 1.57218 13.9662 1.50058 13.784 1.50058C13.6018 1.50058 13.4269 1.57218 13.297 1.69996L8.00217 7.00331L2.70967 1.69996C2.57969 1.57183 2.40454 1.5 2.22207 1.5C2.0396 1.5 1.86446 1.57183 1.73448 1.69996L1.70515 1.72814C1.64021 1.79157 1.58861 1.86735 1.55338 1.95103C1.51815 2.0347 1.5 2.12458 1.5 2.21538C1.5 2.30618 1.51815 2.39606 1.55338 2.47974C1.58861 2.56341 1.64021 2.6392 1.70515 2.70263L6.99765 7.99894L1.70515 13.2964C1.57687 13.4261 1.50492 13.6012 1.50492 13.7837C1.50492 13.9661 1.57687 14.1412 1.70515 14.2709L1.73448 14.2991C1.86411 14.4274 2.03912 14.4994 2.22149 14.4994C2.40386 14.4994 2.57886 14.4274 2.70849 14.2991L8.00217 9.00396L13.2947 14.2991C13.4243 14.4278 13.5996 14.5 13.7823 14.5C13.9649 14.5 14.1402 14.4278 14.2699 14.2991L14.2992 14.2709C14.4275 14.1412 14.4994 13.9661 14.4994 13.7837C14.4994 13.6012 14.4275 13.4261 14.2992 13.2964L9.00786 7.99894H9.00669Z",fillOpacity:"0.2"})]}),tm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M13.334 14.3031H2.66732C1.93065 14.3031 1.33398 13.7064 1.33398 12.9697V12.6064C1.33398 10.5997 2.96065 8.96973 4.97065 8.96973H11.0307C13.0373 8.96973 14.6673 10.5964 14.6673 12.6064V12.9697C14.6673 13.7064 14.0707 14.3031 13.334 14.3031Z"}),i.jsx("path",{d:"M4.66602 4.97005C4.66602 5.85411 5.01721 6.70195 5.64233 7.32707C6.26745 7.9522 7.11529 8.30338 7.99935 8.30338C8.8834 8.30338 9.73125 7.9522 10.3564 7.32707C10.9815 6.70195 11.3327 5.85411 11.3327 4.97005C11.3327 4.53231 11.2465 4.09886 11.0789 3.69444C10.9114 3.29002 10.6659 2.92256 10.3564 2.61303C10.0468 2.3035 9.67938 2.05797 9.27496 1.89045C8.87054 1.72294 8.43709 1.63672 7.99935 1.63672C7.56161 1.63672 7.12816 1.72294 6.72374 1.89045C6.31932 2.05797 5.95185 2.3035 5.64233 2.61303C5.3328 2.92256 5.08727 3.29002 4.91975 3.69444C4.75224 4.09886 4.66602 4.53231 4.66602 4.97005Z"})]}),nm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{d:"M4.17666 2.53223H11.8185C12.3729 2.53223 12.848 2.94798 12.9074 3.50231L13.8577 12.2331C13.8973 12.5498 13.7983 12.8468 13.5805 13.0844C13.3825 13.3219 13.0856 13.4407 12.7688 13.4407H3.20658C2.88982 13.4407 2.59285 13.3021 2.39488 13.0844C2.1969 12.8468 2.09792 12.5498 2.11772 12.2331L3.08781 3.52211C3.1472 2.96778 3.62234 2.53224 4.17668 2.53224L4.17666 2.53223ZM5.26553 5.81863C5.26553 7.32326 6.49298 8.5507 7.9976 8.5507C9.50222 8.5507 10.7297 7.32326 10.7297 5.81863C10.7297 5.52167 10.4921 5.2643 10.1753 5.2643C9.87837 5.2643 9.621 5.50187 9.621 5.81863C9.621 6.72933 8.88848 7.46183 7.9778 7.46183C7.06712 7.46183 6.3346 6.72932 6.3346 5.81863C6.3346 5.62065 6.23562 5.44248 6.05744 5.34349C5.87926 5.24451 5.68128 5.24451 5.5031 5.34349C5.36451 5.44248 5.26553 5.62065 5.26553 5.81863Z"})}),rm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{d:"M10 1.81287V14.4799H2.667C2.267 14.4799 2 14.2129 2 13.8129V3.67987C2 3.34687 2.2 3.07987 2.533 3.01287L9.2 1.34687C9.533 1.27987 9.867 1.47987 10 1.81287ZM10.667 7.81287L13.6 8.94687C13.867 9.07987 14 9.27987 14 9.54687V13.8129C14 14.2129 13.733 14.4799 13.333 14.4799H10.667V7.81287ZM7.333 8.47987H4.667C4.267 8.47987 4 8.74687 4 9.14687C4 9.47987 4.267 9.74687 4.6 9.81287H7.333C7.733 9.81287 8 9.54687 8 9.14687C8 8.74687 7.733 8.47987 7.333 8.47987ZM7.333 5.14687H4.667C4.267 5.14687 4 5.41287 4 5.81287C4 6.14687 4.267 6.41287 4.6 6.47987H7.333C7.733 6.47987 8 6.21287 8 5.81287C8 5.41287 7.733 5.14687 7.333 5.14687Z"})}),om=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{d:"M3.99999 6.66646L9.46666 7.99979L3.99999 9.33313L2.89399 12.2825C2.57533 13.1331 3.46466 13.9338 4.27799 13.5278L13.5447 8.89446C14.2813 8.52579 14.2813 7.47446 13.5447 7.10513L4.27799 2.47179C3.46466 2.06513 2.57533 2.86646 2.89399 3.71779L4.00066 6.66646H3.99999Z"})}),sm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"})]}),l3=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M14.3994 7.46839H8.53343V1.60139C8.5341 1.53113 8.52074 1.46144 8.49413 1.3964C8.46751 1.33137 8.42819 1.2723 8.37846 1.22266C8.32872 1.17302 8.26958 1.1338 8.2045 1.10731C8.13941 1.08082 8.06969 1.06759 7.99943 1.06839C7.92925 1.06773 7.85964 1.08106 7.79467 1.10761C7.7297 1.13415 7.67068 1.17339 7.62105 1.22302C7.57143 1.27264 7.53219 1.33167 7.50564 1.39664C7.47909 1.4616 7.46576 1.53121 7.46643 1.60139V7.46839H1.59943C1.52925 7.46773 1.45964 7.48106 1.39467 7.50761C1.3297 7.53415 1.27068 7.57339 1.22105 7.62302C1.17143 7.67264 1.13219 7.73167 1.10564 7.79664C1.07909 7.8616 1.06576 7.93121 1.06643 8.00139C1.06643 8.30039 1.30143 8.53439 1.59943 8.53439H7.46643V14.4014C7.46643 14.7004 7.70143 14.9344 7.99943 14.9344C8.06962 14.9349 8.13922 14.9215 8.20418 14.8949C8.26914 14.8683 8.32818 14.8291 8.37785 14.7795C8.42753 14.7299 8.46687 14.671 8.49358 14.6061C8.52028 14.5412 8.53383 14.4716 8.53343 14.4014V8.53439H14.3994C14.4697 8.53519 14.5394 8.52196 14.6045 8.49547C14.6696 8.46898 14.7287 8.42977 14.7785 8.38013C14.8282 8.33049 14.8675 8.27142 14.8941 8.20639C14.9207 8.14135 14.9341 8.07166 14.9334 8.00139C14.9338 7.9312 14.9203 7.86163 14.8936 7.79672C14.8669 7.73181 14.8275 7.67285 14.7779 7.62326C14.7282 7.57367 14.6691 7.53445 14.6042 7.50786C14.5392 7.48128 14.4696 7.46786 14.3994 7.46839Z",fill:"currentColor"})}),Do=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{d:"M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"})}),c3=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z"}),i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M11.7497 4.22129L11.7581 4.2618C11.7838 4.4337 11.7584 4.91737 11.3386 5.77311C10.852 6.76434 10.0245 7.866 9.01143 8.87879C7.99806 9.89217 6.89698 10.7194 5.90605 11.2059C4.96901 11.6651 4.47747 11.6523 4.35364 11.6168L4.34548 11.576C4.32014 11.4041 4.34548 10.9201 4.76505 10.0641C5.25193 9.07284 6.0797 7.97148 7.09249 6.95869C8.10587 5.94502 9.20694 5.11812 10.1979 4.63125C11.1343 4.17293 11.6259 4.18546 11.7497 4.221V4.22129ZM12.4752 3.4955C11.5629 2.58294 8.91353 3.75656 6.50568 6.11227L6.37456 6.24192C3.93291 8.68387 2.69897 11.4137 3.62814 12.3426C4.54041 13.2551 7.18981 12.0812 9.59766 9.7258L9.72878 9.59614C12.1704 7.15419 13.4044 4.42438 12.4752 3.4955ZM9.01143 6.95927C10.0248 7.97264 10.852 9.07372 11.3389 10.0647C11.7984 11.0023 11.7852 11.4932 11.7503 11.6176L11.7095 11.6258C11.537 11.6511 11.0533 11.6258 10.1973 11.2062C9.20636 10.7194 8.1047 9.89158 7.09191 8.87879C6.07854 7.86542 5.25134 6.76434 4.76447 5.77311C4.30557 4.83637 4.3181 4.34483 4.35364 4.221L4.39443 4.21285C4.56692 4.1875 5.05059 4.21285 5.90663 4.63241C6.89728 5.1187 7.99864 5.94648 9.01143 6.95927ZM9.85844 6.37304L9.72878 6.24192C7.28683 3.80027 4.55702 2.56633 3.62814 3.4955C2.71558 4.40777 3.8892 7.05717 6.2449 9.46502L6.37456 9.59614C8.81651 12.0378 11.551 13.2668 12.4752 12.3426C13.3878 11.4303 12.2138 8.78089 9.85844 6.37304ZM13.4321 7.33455C13.3495 7.41272 13.2835 7.50663 13.2379 7.61074C13.1923 7.71484 13.168 7.82703 13.1665 7.94068C13.165 8.05433 13.1862 8.16714 13.229 8.27244C13.2718 8.37774 13.3352 8.47339 13.4156 8.55376C13.496 8.63413 13.5916 8.69758 13.6969 8.74037C13.8022 8.78316 13.915 8.80441 14.0287 8.80288C14.1423 8.80134 14.2545 8.77705 14.3586 8.73144C14.4627 8.68583 14.5566 8.61982 14.6348 8.53731C14.7873 8.3764 14.8709 8.16233 14.8679 7.94068C14.8649 7.71904 14.7755 7.50731 14.6188 7.35056C14.4621 7.19382 14.2503 7.10444 14.0287 7.10145C13.807 7.09846 13.593 7.18209 13.4321 7.33455ZM7.35122 1.25372C7.26937 1.33207 7.20398 1.42597 7.15891 1.52993C7.11384 1.63388 7.08999 1.74579 7.08875 1.85909C7.08751 1.97239 7.10892 2.0848 7.15172 2.18971C7.19451 2.29462 7.25783 2.38993 7.33796 2.47004C7.41809 2.55015 7.51342 2.61345 7.61834 2.65622C7.72326 2.69899 7.83567 2.72037 7.94897 2.71911C8.06227 2.71784 8.17418 2.69396 8.27812 2.64887C8.38207 2.60377 8.47595 2.53836 8.55428 2.45649C8.70801 2.29578 8.79271 2.08127 8.79023 1.85889C8.78775 1.63651 8.69829 1.42393 8.54102 1.2667C8.38374 1.10946 8.17115 1.02005 7.94877 1.01763C7.72638 1.0152 7.51189 1.09995 7.35122 1.25372ZM1.27419 7.36077C1.19314 7.43929 1.12852 7.53315 1.08409 7.63688C1.03966 7.74061 1.01632 7.85215 1.01541 7.96499C1.0145 8.07783 1.03605 8.18972 1.0788 8.29416C1.12155 8.39859 1.18465 8.49348 1.26443 8.57329C1.3442 8.6531 1.43906 8.71625 1.54347 8.75905C1.64788 8.80186 1.75977 8.82346 1.87261 8.8226C1.98545 8.82175 2.097 8.79846 2.20075 8.75408C2.3045 8.7097 2.39839 8.64513 2.47695 8.56412C2.63243 8.40378 2.71863 8.18874 2.71694 7.9654C2.71525 7.74206 2.62581 7.52835 2.46792 7.37038C2.31003 7.21242 2.09636 7.12287 1.87302 7.12107C1.64969 7.11928 1.4346 7.20537 1.27419 7.36077ZM7.45116 13.5383C7.37015 13.6169 7.30558 13.7108 7.2612 13.8145C7.21682 13.9183 7.19353 14.0298 7.19268 14.1427C7.19182 14.2555 7.21343 14.3674 7.25623 14.4718C7.29903 14.5762 7.36218 14.6711 7.44199 14.7509C7.5218 14.8306 7.61669 14.8937 7.72112 14.9365C7.82556 14.9792 7.93745 15.0008 8.05029 14.9999C8.16313 14.999 8.27467 14.9756 8.3784 14.9312C8.48213 14.8868 8.57599 14.8221 8.65451 14.7411C8.80991 14.5807 8.89601 14.3656 8.89421 14.1423C8.89241 13.9189 8.80286 13.7053 8.6449 13.5474C8.48693 13.3895 8.27322 13.3 8.04988 13.2983C7.82655 13.2967 7.6115 13.3828 7.45116 13.5383Z",fillOpacity:"0.2"})]}),u3=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("path",{d:"M3.07981 6.57422L2.22738 6.82578L1.375 6.57422L1.6265 7.43609L1.375 8.29797L2.22744 8.04366L3.07981 8.29797L2.831 7.43609L3.07981 6.57422Z",fill:"url(#paint0_linear_18039_4924)"}),i.jsx("path",{d:"M8.63445 3.85273L8.25983 3.53592L7.77539 3.47361L8.0887 3.09486L8.15039 2.60498L8.52495 2.92186L9.00945 2.98411L8.69608 3.36286L8.63445 3.85273Z",fill:"url(#paint1_linear_18039_4924)"}),i.jsx("path",{d:"M6.03681 4.04956L5.23375 3.3705L4.19531 3.23694L4.867 2.425L4.99913 1.375L5.80213 2.05413L6.8405 2.18769L6.16894 2.99956L6.03681 4.04956Z",fill:"url(#paint2_linear_18039_4924)"}),i.jsx("path",{d:"M12.522 11.5454C12.4655 11.4861 12.3978 11.4387 12.3228 11.4058C12.2478 11.373 12.167 11.3554 12.0851 11.3541C12.0033 11.3528 11.922 11.3678 11.8459 11.3982C11.7699 11.4286 11.7007 11.4738 11.6424 11.5312C11.3956 11.7729 11.3894 12.1711 11.6284 12.4206L13.5568 14.4333C13.6133 14.4926 13.681 14.54 13.756 14.5729C13.831 14.6057 13.9118 14.6233 13.9936 14.6246C14.0755 14.6259 14.1568 14.6109 14.2328 14.5805C14.3088 14.5501 14.3781 14.5049 14.4364 14.4474C14.6832 14.2057 14.6894 13.8076 14.4504 13.5581L12.522 11.5454Z",fill:"url(#paint3_linear_18039_4924)"}),i.jsx("path",{d:"M10.1057 3.74423C10.6429 3.44848 11.3063 3.79023 11.3856 4.40348L11.642 6.38679C11.6813 6.69371 11.8245 6.97806 12.0477 7.19236L13.4836 8.56698C13.9278 8.99223 13.8113 9.73585 13.259 10.0015L11.4727 10.8609C11.195 10.9952 10.9717 11.221 10.8408 11.5002L9.99065 13.3064C9.72784 13.8647 8.99265 13.9824 8.57209 13.5335L7.21171 12.0815C7.00174 11.8568 6.72044 11.7118 6.41565 11.6712L4.45415 11.4119C3.84765 11.3318 3.50965 10.661 3.80209 10.1178L4.74765 8.36142C4.89462 8.08832 4.94409 7.77329 4.8879 7.46829L4.52528 5.50248C4.41309 4.89436 4.93965 4.36198 5.54109 4.47542L7.48509 4.84198C7.7869 4.89879 8.09903 4.84873 8.36859 4.70017L10.1057 3.74423Z",fill:"url(#paint4_linear_18039_4924)"}),i.jsxs("defs",{children:[i.jsxs("linearGradient",{id:"paint0_linear_18039_4924",x1:"2.22741",y1:"6.57422",x2:"2.22741",y2:"8.29797",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint1_linear_18039_4924",x1:"8.39242",y1:"2.60498",x2:"8.39242",y2:"3.85273",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint2_linear_18039_4924",x1:"5.51791",y1:"1.375",x2:"5.51791",y2:"4.04956",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint3_linear_18039_4924",x1:"13.0394",y1:"11.354",x2:"13.0394",y2:"14.6247",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint4_linear_18039_4924",x1:"8.72558",y1:"3.63623",x2:"8.72558",y2:"13.8086",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]})]})]}),Oo=({isOpen:e})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",style:{transform:e?void 0:"rotate(180deg)",transition:"transform 0.2s ease-out"},children:i.jsx("path",{d:"M3.28125 9.65625L7.58125 5.35625C7.63125 5.30625 7.69375 5.28125 7.75625 5.28125C7.81875 5.28125 7.88125 5.30625 7.93125 5.35625L12.2312 9.65625",strokeWidth:"1.5",strokeLinecap:"round"})}),im=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M14.51 2C14.79 2 15 2.21135 15 2.49315V13.5067C15 13.7885 14.79 13.9999 14.51 13.9999H1.49013C1.42536 14.0014 1.36096 13.9897 1.30082 13.9655C1.24067 13.9412 1.18605 13.905 1.14024 13.8589C1.09443 13.8128 1.05839 13.7578 1.03431 13.6972C1.01023 13.6367 0.998601 13.5719 1.00013 13.5067V2.49315C1.00013 2.21135 1.21013 2 1.49013 2H14.51ZM14.02 2.98629H1.98012V12.9901H14.02V2.98629ZM11.6867 8.951C11.71 8.97448 11.71 8.97448 11.7334 8.97448C11.7567 8.99796 11.7567 8.99796 11.78 8.99796C11.8034 8.99796 11.8034 9.02145 11.8267 9.02145C11.85 9.02145 11.85 9.04493 11.8734 9.04493C11.8967 9.04493 11.8967 9.06841 11.92 9.06841C11.9434 9.06841 11.9667 9.0919 11.9667 9.0919L11.99 9.11538C11.99 9.13886 12.0134 9.13886 12.0134 9.16235C12.0367 9.16235 12.0367 9.18583 12.0367 9.18583C12.0367 9.20931 12.06 9.20931 12.06 9.2328C12.0834 9.25628 12.0834 9.25628 12.0834 9.27976V9.49111C12.06 9.51459 12.06 9.51459 12.06 9.53808C12.0367 9.56156 12.0367 9.56156 12.0367 9.58504C12.0367 9.60852 12.0134 9.60853 12.0134 9.63201C12.0134 9.65549 11.99 9.65549 11.99 9.67897C11.99 9.70246 11.9667 9.70246 11.9667 9.72594L11.9434 9.74942L11.92 9.77291C11.8967 9.77291 11.8967 9.79639 11.8734 9.79639L9.51672 11.2289C9.43847 11.2738 9.35016 11.2981 9.26006 11.2993C9.17551 11.302 9.09182 11.2815 9.01787 11.2402C8.94393 11.1989 8.88248 11.1381 8.84006 11.0645C8.80631 11.009 8.78376 10.9473 8.7737 10.8831C8.76364 10.8188 8.76627 10.7531 8.78144 10.6899C8.79661 10.6266 8.82402 10.567 8.86211 10.5144C8.90019 10.4619 8.9482 10.4174 9.00339 10.3835L9.86672 9.86684H4.3601C4.10344 9.86684 3.87011 9.72594 3.87011 9.44414C3.87011 9.16235 4.0801 8.951 4.3601 8.951H11.6867ZM6.46008 4.72404C6.51524 4.69012 6.57649 4.66746 6.64034 4.65736C6.7042 4.64727 6.7694 4.64992 6.83224 4.66519C6.89507 4.68045 6.9543 4.70802 7.00655 4.74633C7.0588 4.78463 7.10304 4.83291 7.13674 4.88842C7.17045 4.94393 7.19296 5.00558 7.20299 5.06984C7.21303 5.13411 7.21038 5.19973 7.19522 5.26297C7.18005 5.32621 7.15266 5.38582 7.1146 5.4384C7.07654 5.49099 7.02856 5.53551 6.97341 5.56943L6.11009 6.08606H11.6167C11.8967 6.08606 12.1067 6.29741 12.1067 6.57921C12.1067 6.861 11.8967 7.07235 11.6167 7.07235H4.33677C4.2901 7.07235 4.26677 7.04887 4.2201 7.04887H4.17344C4.15556 7.04703 4.13896 7.03867 4.12677 7.02538C4.12677 7.0019 4.10344 7.0019 4.10344 7.0019C4.0801 7.0019 4.05677 6.97842 4.03344 6.95493C4.03344 6.93145 4.01011 6.93145 4.01011 6.93145C3.98677 6.90797 3.96344 6.861 3.94011 6.83752C3.91677 6.83752 3.91677 6.81404 3.91677 6.81404C3.91677 6.79055 3.89344 6.79055 3.89344 6.76707C3.87011 6.74359 3.87011 6.74359 3.87011 6.7201V6.6196C3.87365 6.60407 3.88179 6.58999 3.89344 6.57921V6.48527C3.91677 6.46179 3.91677 6.46179 3.91677 6.43831C3.94011 6.41482 3.94011 6.41482 3.94011 6.39134C3.94011 6.36786 3.96344 6.36786 3.96344 6.34437C3.96344 6.32089 3.98677 6.32089 3.98677 6.29741C3.98677 6.27392 4.01011 6.27392 4.01011 6.25044C4.01011 6.22696 4.03344 6.20347 4.03344 6.20347L4.05677 6.17999C4.0801 6.17999 4.0801 6.15651 4.10344 6.15651L6.46008 4.72404Z",fill:"#6F829E"})}),am=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M10.4999 14.016H5.49994C5.4353 14.0149 5.37111 14.0269 5.31124 14.0513C5.25138 14.0757 5.19709 14.112 5.15166 14.158C5.10623 14.204 5.0706 14.2587 5.04693 14.3189C5.02326 14.379 5.01203 14.4434 5.01394 14.508C5.01394 14.789 5.22194 15 5.49994 15H10.4999C10.7779 15 10.9859 14.79 10.9859 14.508C10.988 14.4433 10.9769 14.3789 10.9532 14.3187C10.9296 14.2585 10.894 14.2037 10.8485 14.1577C10.8031 14.1117 10.7487 14.0754 10.6888 14.051C10.6289 14.0267 10.5646 14.0147 10.4999 14.016ZM14.6459 1.00098H1.353C1.151 1.00098 1 1.21098 1 1.49198C1 1.77298 1.151 1.98398 1.353 1.98398H14.6459C14.8479 1.98398 14.9999 1.77398 14.9999 1.49198C14.9829 1.21098 14.8309 1.00098 14.6459 1.00098ZM8.43594 12.685V1.89198C8.43594 1.68998 8.22593 1.53898 7.94393 1.53898C7.66293 1.53898 7.45194 1.68998 7.45194 1.89198V12.685C7.45194 12.887 7.66293 13.039 7.94393 13.039C8.22593 13.022 8.43594 12.87 8.43594 12.685Z",fill:"#6F829E"})}),lm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M2.667 11.111V4H1.856C1.60188 4.27268 1.31269 4.51042 0.996 4.707C0.645 4.907 0.313 5.046 0 5.125V6.201C0.638 6.015 1.172 5.716 1.602 5.305V11.111H2.667ZM9.777 11.111V10.173H6.554C6.692 9.789 7.108 9.35 7.8 8.855C8.439 8.385 8.884 8.011 9.137 7.731C9.559 7.223 9.77 6.673 9.77 6.081C9.77 5.468 9.574 4.967 9.183 4.576C8.79 4.192 8.282 4 7.655 4C6.956 4 6.402 4.25 5.993 4.752C5.589 5.221 5.382 5.846 5.369 6.628H6.354C6.372 6.061 6.487 5.635 6.697 5.348C6.902 5.048 7.209 4.898 7.619 4.898C8.004 4.898 8.296 4.996 8.495 5.192C8.694 5.387 8.793 5.68 8.793 6.071C8.793 6.475 8.646 6.856 8.35 7.214C8.176 7.409 7.869 7.676 7.43 8.014C6.682 8.574 6.198 8.998 5.975 9.284C5.54989 9.79691 5.32218 10.4449 5.333 11.111H9.778H9.777ZM13.799 11.111C14.455 11.111 14.993 10.907 15.413 10.498C15.804 10.095 16 9.578 16 8.945C16 8.536 15.896 8.205 15.69 7.948C15.494 7.693 15.218 7.504 14.86 7.383C15.54 7.133 15.88 6.633 15.88 5.878C15.88 5.297 15.695 4.837 15.327 4.498C14.953 4.166 14.455 4 13.834 4C13.224 4 12.732 4.188 12.358 4.565C11.955 4.949 11.728 5.479 11.676 6.156H12.6C12.634 5.741 12.758 5.425 12.97 5.208C13.178 4.997 13.469 4.891 13.843 4.891C14.216 4.891 14.496 4.984 14.68 5.169C14.858 5.354 14.947 5.616 14.947 5.955C14.947 6.3 14.849 6.565 14.654 6.751C14.458 6.936 14.174 7.028 13.799 7.028H13.359V7.814H13.808C14.216 7.814 14.524 7.91 14.731 8.102C14.956 8.294 15.068 8.591 15.068 8.993C15.068 9.325 14.962 9.61 14.748 9.846C14.501 10.102 14.182 10.229 13.791 10.229C13.428 10.229 13.135 10.114 12.911 9.884C12.657 9.642 12.522 9.287 12.505 8.821H11.555C11.607 9.587 11.849 10.171 12.28 10.574C12.666 10.932 13.172 11.111 13.8 11.111H13.799Z",fill:"#6F829E"})}),cm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M10.398 1C10.713 1 11 1.216 11 1.505V7.225H14C14.2449 7.22503 14.4813 7.31496 14.6644 7.47772C14.8474 7.64047 14.9643 7.86475 14.993 8.108L15 8.225V13.725C15 13.9699 14.91 14.2063 14.7473 14.3894C14.5845 14.5724 14.3603 14.6893 14.117 14.718L14 14.725H10.938C10.842 14.891 10.642 15 10.398 15H1.602C1.258 15 1 14.784 1 14.495V1.505C1 1.216 1.258 1 1.602 1H10.398ZM10 2H2V14H10V2ZM14 8.225H11V13.725H14V8.225ZM6.056 8.725C6.3 8.725 6.5 8.949 6.5 9.225C6.5 9.47 6.343 9.675 6.135 9.717L6.055 9.725H2.945C2.698 9.725 2.5 9.501 2.5 9.225C2.5 8.98 2.657 8.775 2.865 8.733L2.945 8.725H6.056ZM9 5.725C9.12495 5.72477 9.24545 5.77133 9.33778 5.85551C9.43012 5.93969 9.48759 6.05539 9.49888 6.17982C9.51017 6.30426 9.47446 6.42841 9.39878 6.52783C9.3231 6.62725 9.21295 6.69474 9.09 6.717L9 6.725H3C2.87505 6.72523 2.75455 6.67867 2.66222 6.59449C2.56988 6.51031 2.51241 6.39461 2.50112 6.27018C2.48984 6.14574 2.52554 6.02159 2.60122 5.92217C2.6769 5.82275 2.78705 5.75526 2.91 5.733L3 5.725H9Z",fill:"#6F829E"})}),d3=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"180",height:"124",viewBox:"0 0 180 124",fill:"none",children:[i.jsx("path",{d:"M75.9984 98.2004C75.9984 87.2651 67.1337 78.4004 56.1984 78.4004C45.2632 78.4004 36.3984 87.2651 36.3984 98.2004",fill:"url(#paint0_linear_27318_10700)"}),i.jsx("path",{d:"M138.078 40.1919L137.393 39.9491L137.195 39.7526L133.041 35.5946L127.48 30.0312C125.052 32.612 123.701 36.0221 123.703 39.5652C123.716 47.263 129.94 53.4841 137.635 53.5009C143.527 53.5009 148.561 49.8384 150.598 44.6708L146.53 43.2176L138.078 40.1919Z",fill:"#B9D5FF"}),i.jsx("path",{d:"M136.642 36.1227L134.723 34.2024L127.547 27.0297C130.017 24.7044 133.252 23.3634 136.642 23.2598V36.1227Z",fill:"#DEEBFF"}),i.jsx("path",{d:"M138.406 24.6512C145.897 24.8974 151.882 31.0302 151.898 38.5767C151.898 40.0703 151.662 41.5042 151.229 42.8524L138.406 38.266V24.6512Z",fill:"#2EBDE4"}),i.jsx("path",{d:"M91.12 52.3008H90.88C89.296 52.3008 88 50.8048 88 48.9837V43.6179C88 41.7967 89.296 40.3008 90.88 40.3008H91.12C92.704 40.3008 94 41.7967 94 43.6179V49.0162C94 50.8374 92.704 52.3008 91.12 52.3008Z",fill:"#1973FF"}),i.jsx("path",{d:"M124.518 45.1609C123.718 44.3609 122.598 43.8809 121.438 43.8809H60.4381C59.2781 43.8809 58.1581 44.3209 57.3581 45.1609C56.5581 45.9609 56.0781 47.0809 56.0781 48.2409V87.4409C56.0781 88.6009 56.5181 89.7209 57.3581 90.5209C58.1581 91.3209 59.2781 91.8009 60.4381 91.8009H88.0381V94.7209H88.1181L75.7581 102.481C75.1581 102.961 74.7981 103.681 74.7181 104.441C74.6381 105.201 74.8781 105.961 75.3581 106.561C75.8381 107.161 76.5581 107.521 77.3181 107.601C78.0781 107.681 78.8381 107.401 79.4381 106.921L91.2381 99.5209L102.718 106.961C103.918 108.001 105.758 107.881 106.838 106.681C107.878 105.481 107.758 103.641 106.558 102.561L94.1581 94.4809C94.0781 94.4009 93.9581 94.3209 93.8781 94.2409V91.7609H121.478C122.638 91.7609 123.758 91.3209 124.558 90.4809C125.358 89.6809 125.838 88.5609 125.838 87.4009V48.2409C125.798 47.0809 125.318 46.0009 124.518 45.1609Z",fill:"url(#paint1_linear_27318_10700)"}),i.jsx("path",{d:"M82.6 77.9206C82.6 79.4406 81.32 80.7206 79.8 80.7206C78.28 80.7206 77 79.4406 77 77.9206V64.4406C77 62.9206 78.28 61.6406 79.8 61.6406C81.32 61.6406 82.6 62.9206 82.6 64.4406V77.9206Z",fill:"#91BCFF"}),i.jsx("path",{d:"M93.6 77.9205C93.6 79.4405 92.32 80.7205 90.8 80.7205C89.28 80.7205 88 79.4405 88 77.9205V56.3605C88 54.8005 89.28 53.5605 90.8 53.5605C92.32 53.5605 93.6 54.8005 93.6 56.3605V77.9205Z",fill:"#91BCFF"}),i.jsx("path",{d:"M104.6 77.9207C104.6 79.4407 103.32 80.7207 101.8 80.7207C100.28 80.7207 99 79.4407 99 77.9207V72.5207C99 71.0007 100.28 69.7207 101.8 69.7207C103.32 69.7207 104.6 71.0007 104.6 72.5207V77.9207Z",fill:"#91BCFF"}),i.jsx("path",{d:"M88.0383 91.7998V94.7198H88.1183L75.7583 102.48C75.1583 102.96 74.7983 103.68 74.7183 104.44C74.6383 105.2 74.8783 105.96 75.3583 106.56C75.8383 107.16 76.5583 107.52 77.3183 107.6C78.0783 107.68 78.8383 107.4 79.4383 106.92L91.2383 99.5198L102.718 106.96C103.918 108 105.758 107.88 106.838 106.68C107.878 105.48 107.758 103.64 106.558 102.56L94.1583 94.4798C94.0783 94.3998 93.9583 94.3198 93.8783 94.2398V91.7598L88.0383 91.7998Z",fill:"#0265FF"}),i.jsx("path",{d:"M164.797 98.1992C164.797 76.6601 147.336 59.1992 125.797 59.1992C104.258 59.1992 86.7969 76.6601 86.7969 98.1992",fill:"url(#paint2_linear_27318_10700)"}),i.jsx("path",{d:"M146.798 84.5859C147.698 86.3859 138.398 99.8859 138.398 104.386C138.398 108.886 141.698 106.786 145.598 106.786C149.498 106.786 153.398 110.086 152.798 102.286C152.198 94.4859 145.898 82.7859 146.798 84.5859Z",fill:"url(#paint3_linear_27318_10700)","fill-opacity":"0.2"}),i.jsx("path",{d:"M145.598 100.486L144.998 104.686L142.898 103.786L144.998 106.486L144.698 111.886H146.798L146.198 104.086L148.298 101.386L145.898 103.186L145.598 100.486Z",fill:"#0265FF"}),i.jsx("path",{d:"M54.9969 98.292C55.4469 99.192 50.7969 105.942 50.7969 108.192C50.7969 110.442 52.4469 109.392 54.3969 109.392C56.3469 109.392 58.2969 111.042 57.9969 107.142C57.6969 103.242 54.5469 97.392 54.9969 98.292Z",fill:"url(#paint4_linear_27318_10700)","fill-opacity":"0.2"}),i.jsx("path",{d:"M54.3969 106.242L54.0969 108.342L53.0469 107.892L54.0969 109.242L53.9469 111.942H54.9969L54.6969 108.042L55.7469 106.692L54.5469 107.592L54.3969 106.242Z",fill:"#0265FF"}),i.jsx("path",{d:"M36.1 98.2456C36.325 98.6956 34 102.071 34 103.196C34 104.321 34.825 103.796 35.8 103.796C36.775 103.796 37.75 104.621 37.6 102.671C37.45 100.721 35.875 97.7956 36.1 98.2456Z",fill:"url(#paint5_linear_27318_10700)","fill-opacity":"0.2"}),i.jsx("path",{d:"M35.8 102.221L35.65 103.271L35.125 103.046L35.65 103.721L35.575 105.071H36.1L35.95 103.121L36.475 102.446L35.875 102.896L35.8 102.221Z",fill:"#0265FF"}),i.jsx("path",{d:"M48.8069 16C48.8069 19.7647 48.041 22.5882 46.5091 24.4706C44.9772 26.3529 41.6069 27.2941 36.3984 27.2941C41.1396 27.5294 44.3567 28.3137 46.0495 29.6471C47.7423 30.9805 48.6615 34.4314 48.8069 40C48.8069 34.6667 49.4197 31.2157 50.6452 29.6471C51.8708 28.0784 54.3218 27.1373 57.9984 26.8235C54.1075 26.5139 51.6075 25.706 50.4984 24.4C49.3893 23.094 48.8255 20.294 48.8069 16Z",fill:"url(#paint6_linear_27318_10700)","fill-opacity":"0.2"}),i.jsx("path",{d:"M19.2043 59.1992C19.2043 61.0816 18.8213 62.4933 18.0553 63.4345C17.2894 64.3757 15.6043 64.8463 13 64.8463C15.3706 64.9639 16.9791 65.3561 17.8255 66.0227C18.672 66.6894 19.1315 68.4149 19.2043 71.1992C19.2043 68.5325 19.5106 66.8071 20.1234 66.0227C20.7362 65.2384 21.9617 64.7678 23.8 64.611C21.9035 64.4797 20.678 64.0875 20.1234 63.4345C19.5689 62.7815 19.2625 61.3697 19.2043 59.1992Z",fill:"url(#paint7_linear_27318_10700)","fill-opacity":"0.2"}),i.jsxs("defs",{children:[i.jsxs("linearGradient",{id:"paint0_linear_27318_10700",x1:"56.1984",y1:"78.4004",x2:"56.1984",y2:"98.2004",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{offset:"0.495192","stop-color":"#0265FF","stop-opacity":"0.1"}),i.jsx("stop",{offset:"1","stop-color":"white","stop-opacity":"0"})]}),i.jsxs("linearGradient",{id:"paint1_linear_27318_10700",x1:"90.4981",y1:"18.0009",x2:"90.4981",y2:"97.0009",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{"stop-color":"white","stop-opacity":"0"}),i.jsx("stop",{offset:"1","stop-color":"#0265FF","stop-opacity":"0.3"})]}),i.jsxs("linearGradient",{id:"paint2_linear_27318_10700",x1:"125.797",y1:"59.1992",x2:"125.797",y2:"98.1992",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{offset:"0.495192","stop-color":"#0265FF","stop-opacity":"0.1"}),i.jsx("stop",{offset:"1","stop-color":"white","stop-opacity":"0"})]}),i.jsxs("linearGradient",{id:"paint3_linear_27318_10700",x1:"145.629",y1:"84.4004",x2:"145.629",y2:"107.479",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{"stop-color":"white"}),i.jsx("stop",{offset:"1","stop-color":"#0265FF"})]}),i.jsxs("linearGradient",{id:"paint4_linear_27318_10700",x1:"54.4122",y1:"98.1992",x2:"54.4122",y2:"109.739",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{"stop-color":"white"}),i.jsx("stop",{offset:"1","stop-color":"#0265FF"})]}),i.jsxs("linearGradient",{id:"paint5_linear_27318_10700",x1:"35.8077",y1:"98.1992",x2:"35.8077",y2:"103.969",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{"stop-color":"white"}),i.jsx("stop",{offset:"1","stop-color":"#0265FF"})]}),i.jsxs("linearGradient",{id:"paint6_linear_27318_10700",x1:"1419.09",y1:"2416",x2:"1419.09",y2:"16",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{"stop-color":"white"}),i.jsx("stop",{offset:"1","stop-color":"#0265FF"})]}),i.jsxs("linearGradient",{id:"paint7_linear_27318_10700",x1:"704.346",y1:"1259.2",x2:"704.346",y2:"59.1992",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{"stop-color":"white"}),i.jsx("stop",{offset:"1","stop-color":"#0265FF"})]})]})]}),um=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M14.5558 10H10.3658C10.1348 10 9.96085 10.21 9.96085 10.492C9.96085 10.773 10.1348 10.984 10.3658 10.984H14.5558C14.7868 10.984 14.9608 10.774 14.9608 10.492C14.9608 10.211 14.7868 10 14.5558 10ZM14.5558 13H10.3658C10.1348 13 9.96085 13.21 9.96085 13.492C9.96085 13.773 10.1348 13.984 10.3658 13.984H14.5558C14.7868 13.984 14.9608 13.774 14.9608 13.492C14.9608 13.211 14.7868 13 14.5558 13ZM14.576 1H1.424C1.182 1 1 1.21 1 1.491C1 1.772 1.182 1.983 1.424 1.983H14.576C14.818 1.983 15 1.773 15 1.491C14.98 1.21 14.798 1 14.576 1ZM8.32685 14.5389L8.32687 1.998C8.32687 1.735 8.11688 1.538 7.83488 1.538C7.55387 1.538 7.34288 1.735 7.34288 1.998L7.34285 14.54C7.34285 14.803 7.55385 15 7.83485 15C8.11685 14.978 8.32685 14.78 8.32685 14.54V14.5389Z",fill:"#6F829E"})}),zi=({size:e=28})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 28 28",fill:"none",children:i.jsx("path",{d:"M18.3749 24.5282H9.62489C9.51177 24.5263 9.39944 24.5473 9.29468 24.59C9.18992 24.6328 9.09492 24.6963 9.01541 24.7768C8.93591 24.8573 8.87356 24.953 8.83213 25.0583C8.7907 25.1636 8.77106 25.2762 8.77439 25.3892C8.77439 25.881 9.13839 26.2502 9.62489 26.2502H18.3749C18.8614 26.2502 19.2254 25.8827 19.2254 25.3892C19.229 25.2761 19.2095 25.1634 19.1682 25.058C19.1268 24.9526 19.0645 24.8567 18.9849 24.7762C18.9054 24.6957 18.8103 24.6322 18.7054 24.5895C18.6005 24.5469 18.4881 24.5261 18.3749 24.5282ZM25.6304 1.75195H2.36775C2.01425 1.75195 1.75 2.11945 1.75 2.6112C1.75 3.10295 2.01425 3.4722 2.36775 3.4722H25.6304C25.9839 3.4722 26.2499 3.1047 26.2499 2.6112C26.2201 2.11945 25.9541 1.75195 25.6304 1.75195ZM14.7629 22.199V3.3112C14.7629 2.9577 14.3954 2.69345 13.9019 2.69345C13.4101 2.69345 13.0409 2.9577 13.0409 3.3112V22.199C13.0409 22.5525 13.4101 22.8185 13.9019 22.8185C14.3954 22.7887 14.7629 22.5227 14.7629 22.199Z",fill:"#4D609F"})}),dm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M5.396 4.383H5.576C5.846 4.383 5.95 3.993 5.95 3.723V1.569C5.95 1.299 5.815 1 5.546 1H5.366C5.096 1 4.978 1.299 4.978 1.569V3.813C4.978 3.993 5.128 4.383 5.396 4.383ZM10.322 4.383H10.5C10.77 4.383 10.89 3.993 10.89 3.723V1.569C10.89 1.299 10.783 1 10.516 1H10.335C10.066 1 9.933 1.299 9.933 1.569V3.813C9.933 3.993 10.142 4.383 10.322 4.383ZM13.147 1.97105L11.5 1.971V2.924L13.147 2.92405C13.685 2.92405 14.135 3.45405 14.135 3.99305V4.89105H1.928V3.99305C1.928 3.45505 2.378 2.92505 2.917 2.92505L4.5 2.925V1.972L3.005 1.97205C1.928 1.97205 1 3.09505 1 4.08205V12.7911C1 13.7791 1.90505 15 2.98305 15H13.2131C14.2011 15 15 13.8681 15 12.7911V4.08305C14.912 3.09605 14.224 1.97305 13.146 1.97305V1.97005L13.147 1.97105ZM14.084 12.7011C14.084 13.3291 13.7541 14.044 13.1241 14.044H2.98505C2.44705 14.044 1.959 13.3291 1.959 12.7911V5.78805H14.088V12.7001H14.086L14.084 12.7011ZM9.63004 6.94605C9.96004 6.94605 10.178 7.34705 10.072 7.71005L10.039 7.80005L7.69705 12.9791C7.57005 13.2561 7.28405 13.3561 7.05705 13.2021C6.85705 13.0641 6.77005 12.7721 6.84205 12.5151L6.87705 12.4191L8.83205 8.09705H6.35005C6.12005 8.09705 5.92805 7.89505 5.88905 7.62605L5.88105 7.52205C5.88105 7.24005 6.04705 7.00505 6.26505 6.95605L6.34905 6.94705L9.63004 6.94605ZM9.5 1.972V2.924H6.43V1.972H9.502H9.5Z",fill:"#6F829E"})}),fm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("path",{d:"M6.5 8C6.5 8.39782 6.65804 8.77936 6.93934 9.06066C7.22064 9.34196 7.60218 9.5 8 9.5C8.39782 9.5 8.77936 9.34196 9.06066 9.06066C9.34196 8.77936 9.5 8.39782 9.5 8C9.5 7.60218 9.34196 7.22064 9.06066 6.93934C8.77936 6.65804 8.39782 6.5 8 6.5C7.60218 6.5 7.22064 6.65804 6.93934 6.93934C6.65804 7.22064 6.5 7.60218 6.5 8Z",fill:"#6F829E"}),i.jsx("path",{d:"M8 1C4.15 1 1 4.15 1 8C1 11.85 4.15 15 8 15C11.85 15 15 11.85 15 8C15 4.15 11.85 1 8 1ZM8 14.02C4.687 14.02 1.98 11.313 1.98 8C1.98 4.687 4.687 1.98 8 1.98C11.313 1.98 14.02 4.687 14.02 8C14.02 11.313 11.313 14.02 8 14.02Z",fill:"#6F829E"})]}),pm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M12.6671 15.0001H3.33312C3.02589 15.0032 2.72113 14.9449 2.43669 14.8288C2.15225 14.7126 1.89384 14.5409 1.67658 14.3236C1.45933 14.1064 1.2876 13.848 1.17144 13.5635C1.05529 13.2791 0.997041 12.9743 1.00012 12.6671V3.33312C0.997041 3.02589 1.05529 2.72113 1.17144 2.43669C1.2876 2.15225 1.45933 1.89384 1.67658 1.67658C1.89384 1.45933 2.15225 1.2876 2.43669 1.17144C2.72113 1.05529 3.02589 0.997041 3.33312 1.00012H12.6671C12.9743 0.997041 13.2791 1.05529 13.5635 1.17144C13.848 1.2876 14.1064 1.45933 14.3236 1.67658C14.5409 1.89384 14.7126 2.15225 14.8288 2.43669C14.9449 2.72113 15.0032 3.02589 15.0001 3.33312V12.6671C15.0032 12.9743 14.9449 13.2791 14.8288 13.5635C14.7126 13.848 14.5409 14.1064 14.3236 14.3236C14.1064 14.5409 13.848 14.7126 13.5635 14.8288C13.2791 14.9449 12.9743 15.0032 12.6671 15.0001ZM3.38512 2.00012C2.60012 2.00012 2.00012 2.60012 2.00012 3.38512V12.6151C2.00012 13.4001 2.60012 14.0001 3.38512 14.0001H12.6151C13.4001 14.0001 14.0001 13.4001 14.0001 12.6151V3.38512C14.0001 2.60012 13.4001 2.00012 12.6151 2.00012H3.38512ZM12.8141 5.61012C12.8653 5.65137 12.9079 5.70232 12.9394 5.76005C12.9709 5.81778 12.9907 5.88116 12.9977 5.94656C13.0046 6.01195 12.9986 6.07808 12.98 6.14115C12.9614 6.20422 12.9305 6.263 12.8891 6.31412C12.1811 7.19212 11.4751 7.75112 10.7551 7.97712C10.2921 8.12212 9.77512 8.23312 9.14312 8.33112L8.42912 8.43212L7.62612 8.53212C6.47612 8.67412 5.93812 8.77912 5.62812 8.94212C4.66512 9.45112 4.13412 10.1511 3.99412 11.0751C3.98648 11.1419 3.96546 11.2064 3.93231 11.2649C3.89917 11.3234 3.85457 11.3746 3.80119 11.4154C3.74782 11.4563 3.68675 11.4859 3.62165 11.5026C3.55655 11.5193 3.48875 11.5227 3.4223 11.5127C3.35585 11.5026 3.29212 11.4792 3.23491 11.4439C3.1777 11.4086 3.12819 11.3622 3.08934 11.3073C3.05049 11.2525 3.0231 11.1904 3.0088 11.1247C2.9945 11.059 2.99359 10.9911 3.00612 10.9251C3.19512 9.67512 3.92612 8.70912 5.16112 8.05812C5.59412 7.82912 6.13212 7.71512 7.25412 7.57112L8.08612 7.46812C8.31112 7.43912 8.49812 7.41512 8.67612 7.39012C9.41312 7.28612 9.97812 7.17312 10.4561 7.02312C10.9591 6.86512 11.5161 6.42412 12.1111 5.68612C12.1944 5.58297 12.3153 5.51712 12.4471 5.50305C12.5789 5.48899 12.7109 5.52786 12.8141 5.61112V5.61012ZM5.01412 4.48012C5.28291 4.48012 5.5407 4.58689 5.73077 4.77696C5.92084 4.96703 6.02762 5.22482 6.02762 5.49362C6.02762 5.76241 5.92084 6.0202 5.73077 6.21027C5.5407 6.40034 5.28291 6.50712 5.01412 6.50712C4.74532 6.50712 4.48753 6.40034 4.29746 6.21027C4.10739 6.0202 4.00062 5.76241 4.00062 5.49362C4.00062 5.22482 4.10739 4.96703 4.29746 4.77696C4.48753 4.58689 4.74532 4.48012 5.01412 4.48012Z",fill:"#6F829E"})}),hm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M8 8.99974C8.113 8.99974 8.217 9.03774 8.301 9.09974L8.315 9.11274C8.342 9.13274 8.365 9.15674 8.387 9.18274L10.125 11.1697C10.2058 11.2701 10.2448 11.3977 10.2338 11.5261C10.2228 11.6545 10.1626 11.7736 10.0659 11.8587C9.9692 11.9438 9.84336 11.9883 9.71464 11.9829C9.58592 11.9775 9.46425 11.9227 9.375 11.8297L8.499 10.8297L8.5 13.9997C8.5 14.1324 8.44732 14.2595 8.35355 14.3533C8.25979 14.4471 8.13261 14.4997 8 14.4997C7.86739 14.4997 7.74021 14.4471 7.64645 14.3533C7.55268 14.2595 7.5 14.1324 7.5 13.9997L7.499 10.8297L6.625 11.8297C6.58266 11.8823 6.53012 11.9258 6.47054 11.9575C6.41096 11.9892 6.34557 12.0085 6.27832 12.0143C6.21107 12.02 6.14335 12.0121 6.07924 11.991C6.01513 11.9699 5.95596 11.9361 5.90529 11.8915C5.85462 11.8469 5.8135 11.7925 5.78441 11.7316C5.75533 11.6707 5.73887 11.6045 5.73604 11.5371C5.73321 11.4696 5.74406 11.4023 5.76795 11.3392C5.79183 11.2761 5.82824 11.2184 5.875 11.1697L7.625 9.16974L7.645 9.14774C7.65768 9.13504 7.67103 9.12302 7.685 9.11174L7.625 9.16974C7.67185 9.11641 7.72953 9.07366 7.79419 9.04435C7.85885 9.01504 7.92901 8.99983 8 8.99974ZM8 1.51074C8.88482 1.51077 9.74465 1.80417 10.4449 2.34503C11.1452 2.88588 11.6464 3.64366 11.87 4.49974H12C12.9283 4.49974 13.8185 4.86849 14.4749 5.52487C15.1313 6.18125 15.5 7.07148 15.5 7.99974C15.5 8.928 15.1313 9.81824 14.4749 10.4746C13.8185 11.131 12.9283 11.4997 12 11.4997H11.5C11.3674 11.4997 11.2402 11.4471 11.1464 11.3533C11.0527 11.2595 11 11.1324 11 10.9997C11 10.8671 11.0527 10.74 11.1464 10.6462C11.2402 10.5524 11.3674 10.4997 11.5 10.4997H12C12.3476 10.5012 12.6916 10.4301 13.0102 10.2911C13.3288 10.1521 13.6149 9.94815 13.8502 9.69234C14.0855 9.43653 14.2649 9.13447 14.3769 8.80543C14.4889 8.47639 14.5311 8.1276 14.5007 7.78135C14.4704 7.43509 14.3681 7.09898 14.2006 6.79446C14.033 6.48994 13.8037 6.22371 13.5275 6.01277C13.2512 5.80183 12.934 5.65081 12.5961 5.56937C12.2582 5.48792 11.907 5.47783 11.565 5.53974C11.4974 5.55334 11.4277 5.55282 11.3604 5.5382C11.293 5.52359 11.2294 5.4952 11.1735 5.45482C11.1176 5.41444 11.0707 5.36294 11.0357 5.30355C11.0007 5.24417 10.9783 5.17818 10.97 5.10974C10.8681 4.39464 10.5116 3.7403 9.96601 3.26693C9.42041 2.79356 8.72233 2.53294 8 2.53294C7.27767 2.53294 6.57959 2.79356 6.03399 3.26693C5.48839 3.7403 5.1319 4.39464 5.03 5.10974C5.0217 5.17818 4.99934 5.24417 4.96432 5.30355C4.9293 5.36294 4.88238 5.41444 4.8265 5.45482C4.77063 5.4952 4.707 5.52359 4.63963 5.5382C4.57225 5.55282 4.50259 5.55334 4.435 5.53974C4.09297 5.47783 3.7418 5.48792 3.40389 5.56937C3.06598 5.65081 2.74877 5.80183 2.47251 6.01277C2.19625 6.22371 1.96702 6.48994 1.79944 6.79446C1.63186 7.09898 1.52962 7.43509 1.49926 7.78135C1.46889 8.1276 1.51106 8.47639 1.62307 8.80543C1.73509 9.13447 1.91448 9.43653 2.14981 9.69234C2.38513 9.94815 2.67122 10.1521 2.98979 10.2911C3.30836 10.4301 3.65242 10.5012 4 10.4997H4.5C4.63261 10.4997 4.75979 10.5524 4.85355 10.6462C4.94732 10.74 5 10.8671 5 10.9997C5 11.1324 4.94732 11.2595 4.85355 11.3533C4.75979 11.4471 4.63261 11.4997 4.5 11.4997H4C3.54037 11.4997 3.08525 11.4092 2.66061 11.2333C2.23597 11.0574 1.85013 10.7996 1.52513 10.4746C1.20012 10.1496 0.942313 9.76377 0.766422 9.33913C0.59053 8.91449 0.5 8.45937 0.5 7.99974C0.5 7.54012 0.59053 7.08499 0.766422 6.66035C0.942313 6.23571 1.20012 5.84987 1.52513 5.52487C1.85013 5.19986 2.23597 4.94206 2.66061 4.76616C3.08525 4.59027 3.54037 4.49974 4 4.49974H4.13C4.35364 3.64366 4.85481 2.88588 5.55508 2.34503C6.25535 1.80417 7.11518 1.51077 8 1.51074Z",fill:"#6F829E"})}),mm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("path",{d:"M8.55309 6.75938C9.33971 6.19063 9.83409 5.09063 9.83409 4.08438C9.83409 2.37813 8.41834 1 6.66484 1C4.91221 1 3.49646 2.37813 3.49646 4.08438C3.49646 5.09063 4.01271 6.19063 4.77746 6.75938C3 8 1.22681 12.2875 1.00193 14.4969C0.979183 14.7594 1.15943 14.9781 1.42893 15C1.67656 15.0219 1.92331 14.8469 1.94518 14.5844C2.19281 12.2219 4.23759 7.35 6.68759 7.35C9.13759 7.35 11.1826 12.2219 11.4302 14.5844C11.4418 14.7002 11.4968 14.8074 11.5841 14.8845C11.6714 14.9615 11.7845 15.0028 11.9009 15H11.9464C12.0081 14.9966 12.0684 14.9806 12.1236 14.9531C12.1789 14.9256 12.228 14.8872 12.268 14.8401C12.3079 14.7931 12.3379 14.7384 12.356 14.6793C12.3741 14.6203 12.3801 14.5583 12.3734 14.4969C12.1258 12.2875 10.5 8 8.55309 6.75938ZM6.68759 1.91875C7.90296 1.91875 8.87509 2.88125 8.87509 4.08438C8.87487 4.37055 8.7077 4.91793 8.7077 4.91793C8.7077 4.91793 8.49998 5.5 8.23256 5.82609C8.02919 6.02743 7.78795 6.1865 7.52278 6.29412C7.25761 6.40174 6.97375 6.45578 6.68759 6.45312C5.47221 6.45312 4.50009 5.2875 4.50009 4.08438C4.50031 3.7982 4.5572 3.5149 4.66748 3.25082C4.77776 2.98674 4.93924 2.74712 5.14262 2.54578C5.34599 2.34445 5.58722 2.18538 5.85239 2.07775C6.11756 1.97013 6.40142 1.91609 6.68759 1.91875Z",fill:"#6F829E"}),i.jsx("path",{d:"M14.9892 14.4969C14.6628 11.9156 13.0005 7 11.3991 6.30006C11.8891 5.79693 12.3082 5.05318 12.3318 3.91568C12.3318 2.75631 11.6318 1.72187 11.3291 1.4375C10.8627 1 10.6527 1 10.5591 1C10.28 1 10.07 1.19688 10.07 1.45938C10.07 1.65625 10.21 1.83125 10.3963 1.89688C10.5836 2.00625 11.3527 2.90943 11.3527 3.91568C11.3527 5.18443 10.7463 5.73131 10.0936 6.14693C9.86085 6.27818 9.8136 6.58443 9.9536 6.78131C10.0008 6.86881 10.0936 6.91256 10.1872 6.95631C10.2572 6.97818 10.3272 7.00006 10.3972 7.00006C12.7772 7.81904 13.8237 13.1406 14.0101 14.6062C14.0328 14.8469 14.2428 15 14.5001 15H14.5456C14.8256 14.9781 15.012 14.7594 14.9892 14.4969Z",fill:"#6F829E"})]}),Cm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M8 0C9.85651 0 11.637 0.702379 12.9497 1.95262C14.2625 3.20286 15 4.89856 15 6.66667C15 9.12222 12.6667 11.9 8 15C3.33333 11.9 1 9.12222 1 6.66667C1 4.89856 1.7375 3.20286 3.05025 1.95262C4.36301 0.702379 6.14348 0 8 0ZM8 1.11111C6.4529 1.11111 4.96917 1.69643 3.87521 2.7383C2.78125 3.78016 2.16667 5.19324 2.16667 6.66667C2.16667 8.47333 3.91783 10.7222 7.52867 13.3044L8 13.6356L8.105 13.5633C11.8383 10.96 13.7108 8.68556 13.8275 6.84889L13.8333 6.66667C13.8333 5.19324 13.2188 3.78016 12.1248 2.7383C11.0308 1.69643 9.5471 1.11111 8 1.11111ZM8 4.44444C8.61884 4.44444 9.21233 4.67857 9.64991 5.09532C10.0875 5.51207 10.3333 6.0773 10.3333 6.66667C10.3333 7.25604 10.0875 7.82127 9.64991 8.23802C9.21233 8.65476 8.61884 8.88889 8 8.88889C7.38116 8.88889 6.78767 8.65476 6.35008 8.23802C5.9125 7.82127 5.66667 7.25604 5.66667 6.66667C5.66667 6.0773 5.9125 5.51207 6.35008 5.09532C6.78767 4.67857 7.38116 4.44444 8 4.44444ZM8 5.55556C7.69058 5.55556 7.39383 5.67262 7.17504 5.88099C6.95625 6.08937 6.83333 6.37198 6.83333 6.66667C6.83333 6.96135 6.95625 7.24397 7.17504 7.45234C7.39383 7.66071 7.69058 7.77778 8 7.77778C8.30942 7.77778 8.60616 7.66071 8.82496 7.45234C9.04375 7.24397 9.16667 6.96135 9.16667 6.66667C9.16667 6.37198 9.04375 6.08937 8.82496 5.88099C8.60616 5.67262 8.30942 5.55556 8 5.55556Z",fill:"#6F829E"})}),xm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("g",{clipPath:"url(#clip0_18039_11921)",children:i.jsx("path",{d:"M6.66667 8C6.66667 8.35362 6.80714 8.69276 7.05719 8.94281C7.30724 9.19286 7.64638 9.33333 8 9.33333C8.35362 9.33333 8.69276 9.19286 8.94281 8.94281C9.19286 8.69276 9.33333 8.35362 9.33333 8C9.33333 7.64638 9.19286 7.30724 8.94281 7.05719C8.69276 6.80714 8.35362 6.66667 8 6.66667C7.64638 6.66667 7.30724 6.80714 7.05719 7.05719C6.80714 7.30724 6.66667 7.64638 6.66667 8ZM15.4667 7.46667H14.9067C14.7777 5.81937 14.0648 4.27225 12.8964 3.10398C11.7279 1.9357 10.1806 1.22305 8.53333 1.0944V0.533333C8.53333 0.391885 8.47714 0.256229 8.37712 0.15621C8.27711 0.0561903 8.14145 0 8 0C7.85855 0 7.7229 0.0561903 7.62288 0.15621C7.52286 0.256229 7.46667 0.391885 7.46667 0.533333V1.0944C5.81954 1.2233 4.27256 1.93605 3.1043 3.1043C1.93605 4.27256 1.2233 5.81954 1.0944 7.46667H0.533333C0.391885 7.46667 0.256229 7.52286 0.15621 7.62288C0.0561903 7.7229 0 7.85855 0 8C0 8.14145 0.0561903 8.27711 0.15621 8.37712C0.256229 8.47714 0.391885 8.53333 0.533333 8.53333H1.0944C1.22305 10.1806 1.9357 11.7279 3.10398 12.8964C4.27225 14.0648 5.81937 14.7777 7.46667 14.9067V15.4667C7.46667 15.6081 7.52286 15.7438 7.62288 15.8438C7.7229 15.9438 7.85855 16 8 16C8.14145 16 8.27711 15.9438 8.37712 15.8438C8.47714 15.7438 8.53333 15.6081 8.53333 15.4667V14.9067C10.1808 14.778 11.7282 14.0652 12.8967 12.8967C14.0652 11.7282 14.778 10.1808 14.9067 8.53333H15.4667C15.6081 8.53333 15.7438 8.47714 15.8438 8.37712C15.9438 8.27711 16 8.14145 16 8C16 7.85855 15.9438 7.7229 15.8438 7.62288C15.7438 7.52286 15.6081 7.46667 15.4667 7.46667ZM8.53333 13.84V12.8C8.53333 12.6586 8.47714 12.5229 8.37712 12.4229C8.27711 12.3229 8.14145 12.2667 8 12.2667C7.85855 12.2667 7.7229 12.3229 7.62288 12.4229C7.52286 12.5229 7.46667 12.6586 7.46667 12.8V13.84C6.10203 13.7136 4.82458 13.1139 3.85561 12.1447C2.88663 11.1756 2.28717 9.89799 2.16107 8.53333H3.2C3.34145 8.53333 3.4771 8.47714 3.57712 8.37712C3.67714 8.27711 3.73333 8.14145 3.73333 8C3.73333 7.85855 3.67714 7.7229 3.57712 7.62288C3.4771 7.52286 3.34145 7.46667 3.2 7.46667H2.16107C2.28741 6.1022 2.88697 4.82488 3.85593 3.85593C4.82488 2.88697 6.1022 2.28741 7.46667 2.16107V3.2C7.46667 3.34145 7.52286 3.4771 7.62288 3.57712C7.7229 3.67714 7.85855 3.73333 8 3.73333C8.14145 3.73333 8.27711 3.67714 8.37712 3.57712C8.47714 3.4771 8.53333 3.34145 8.53333 3.2V2.16107C9.89799 2.28717 11.1756 2.88663 12.1447 3.85561C13.1139 4.82458 13.7136 6.10203 13.84 7.46667H12.8C12.6586 7.46667 12.5229 7.52286 12.4229 7.62288C12.3229 7.7229 12.2667 7.85855 12.2667 8C12.2667 8.14145 12.3229 8.27711 12.4229 8.37712C12.5229 8.47714 12.6586 8.53333 12.8 8.53333H13.84C13.7139 9.89816 13.1142 11.1759 12.1451 12.1451C11.1759 13.1142 9.89816 13.7139 8.53333 13.84Z",fill:"#6F829E"})}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_18039_11921",children:i.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),f3=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"#121111"}),i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M4.52464 12.6249C4.59964 12.6499 4.64964 12.6499 4.72464 12.6499C4.92464 12.6499 5.12464 12.5249 5.19964 12.3249L6.37464 9.3749H9.62464L10.7996 12.3249C10.8746 12.5249 11.0746 12.6499 11.2746 12.6499C11.3496 12.6499 11.3996 12.6499 11.4746 12.6249C11.7496 12.5249 11.8746 12.2249 11.7746 11.9499L8.47464 3.6749C8.47464 3.6499 8.44964 3.6499 8.44964 3.6249C8.44964 3.6249 8.44964 3.5999 8.42464 3.5999C8.42464 3.5749 8.39964 3.5749 8.39964 3.5499L8.37464 3.5249C8.37464 3.5249 8.34964 3.4999 8.32464 3.4999C8.29964 3.4999 8.29964 3.4749 8.27464 3.4749C8.27464 3.4749 8.24964 3.4499 8.22464 3.4499C8.19964 3.4499 8.19964 3.4249 8.17464 3.4249H8.14964C8.12463 3.4249 8.12464 3.4249 8.09964 3.3999H7.89964C7.87464 3.3999 7.87464 3.3999 7.84964 3.4249H7.82464C7.79964 3.4249 7.79964 3.4499 7.77464 3.4499C7.74964 3.4499 7.74964 3.4749 7.72464 3.4749C7.69964 3.4749 7.69964 3.4999 7.67464 3.4999C7.64964 3.4999 7.64964 3.5249 7.62464 3.5249L7.59964 3.5499C7.59964 3.5749 7.57464 3.5749 7.57464 3.5999L7.54964 3.6249C7.54964 3.6499 7.52464 3.6499 7.52464 3.6749L4.22464 11.9499C4.12464 12.2249 4.24964 12.5249 4.52464 12.6249ZM6.79964 8.3249L7.99964 5.2749L9.19964 8.3249H6.79964Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"#121111"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"black",fillOpacity:"0.2"}),i.jsx("path",{d:"M14.475 1H1.525C1.225 1 1 1.225 1 1.525L1 14.4751C1 14.7751 1.225 15.0001 1.525 15.0001H14.475C14.775 15.0001 15 14.7751 15 14.4751V1.525C15 1.225 14.775 1 14.475 1ZM13.95 13.9501H2.05V2.05H13.95V13.9501Z",fill:"black",fillOpacity:"0.2"})]}),ur=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"#121111"}),i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10.4807 12.5275C10.6032 12.4039 10.6719 12.2369 10.6719 12.063C10.6719 11.889 10.6032 11.7221 10.4807 11.5985L6.89074 8.00846L10.4797 4.41746C10.6019 4.29391 10.6704 4.12719 10.6704 3.95346C10.6704 3.77973 10.6019 3.61301 10.4797 3.48946C10.3562 3.36733 10.1895 3.29883 10.0157 3.29883C9.84202 3.29883 9.67529 3.36733 9.55175 3.48946L5.49775 7.54446C5.37561 7.66801 5.30711 7.83473 5.30711 8.00846C5.30711 8.18219 5.37561 8.34891 5.49775 8.47246L9.55075 12.5255C9.67425 12.6483 9.84132 12.7174 10.0155 12.7176C10.1898 12.7178 10.357 12.6491 10.4807 12.5265L10.4807 12.5275Z",fill:"black","fill-opacity":"0.2"})]}),rn=({className:e,size:t=16})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 16 16",fill:"none",className:e,children:i.jsx("path",{d:"M11.8225 5.68855C11.6892 5.54756 11.512 5.5 11.3349 5.5L4.68698 5.54756C4.50983 5.54756 4.33268 5.59428 4.19941 5.73612C4.1364 5.79998 4.08623 5.87679 4.05195 5.96191C4.01768 6.04703 4 6.13867 4 6.23128C4 6.32389 4.01768 6.41553 4.05195 6.50065C4.08623 6.58577 4.1364 6.66259 4.19941 6.72645L7.52297 10.2648C7.56766 10.3115 7.65623 10.3582 7.70092 10.4058L7.74481 10.4533C7.96664 10.5468 8.27706 10.5001 8.45421 10.3115L11.7778 6.72645C12.089 6.39605 12.0443 5.97138 11.8225 5.68855Z",fill:"#666666"})}),gm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1",height:"14",viewBox:"0 0 1 14",fill:"none",children:i.jsx("path",{d:"M0.5 0V14",stroke:"#E0E0E0"})}),bm=()=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"size-18",children:i.jsx("path",{d:"M19.8628 9.29346C20.3042 9.29375 20.6624 9.65179 20.6626 10.0933V10.5698C20.6626 15.0969 17.189 18.8112 12.7622 19.1978V21.7212C12.7621 22.1422 12.4205 22.4839 11.9995 22.4839C11.5785 22.4839 11.2369 22.1422 11.2368 21.7212V19.1978C6.80986 18.8114 3.33742 15.097 3.3374 10.5698V10.0933C3.33761 9.65161 3.6955 9.29346 4.13721 9.29346C4.57871 9.29369 4.93681 9.65175 4.93701 10.0933V10.5698C4.93703 14.4703 8.09908 17.6321 11.9995 17.6323C15.8999 17.6321 19.063 14.4703 19.063 10.5698V10.0933C19.0632 9.65161 19.4211 9.29346 19.8628 9.29346ZM12.2622 1.52197C14.9646 1.64424 17.2258 3.64186 17.3608 6.36768C17.3969 7.09606 17.4194 7.87827 17.4194 8.69385L17.4155 9.29932C17.4075 9.89739 17.3879 10.4738 17.3608 11.02C17.2215 13.8337 14.8166 15.8714 11.9995 15.8716L11.7358 15.8657C9.03367 15.7432 6.77221 13.7456 6.63721 11.02C6.61016 10.4738 6.59059 9.89739 6.58252 9.29932L6.57861 8.69385C6.57861 8.28589 6.58405 7.88626 6.59424 7.49756L6.63721 6.36768C6.77657 3.55397 9.1824 1.51629 11.9995 1.51611L12.2622 1.52197ZM11.9995 3.11572C9.93006 3.1159 8.328 4.58622 8.23584 6.44678C8.20091 7.15198 8.17822 7.90765 8.17822 8.69385C8.17822 9.48005 8.20091 10.2357 8.23584 10.9409C8.328 12.8015 9.93006 14.2718 11.9995 14.272C14.0689 14.2718 15.671 12.8015 15.7632 10.9409C15.7981 10.2357 15.8198 9.48004 15.8198 8.69385C15.8198 7.90765 15.7981 7.15198 15.7632 6.44678C15.671 4.58622 14.069 3.11591 11.9995 3.11572Z",fill:"currentColor"})}),ym=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fill:"currentColor"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"}),i.jsx("path",{d:"M8.5 3.15V10.5C8.5 10.8 8.3 11 8 11C7.7 11 7.5 10.8 7.5 10.5V3.3L5.6 5.2C5.4 5.4 5.1 5.4 4.9 5.2C4.7 5 4.7 4.7 4.9 4.5L7.35 2.05C7.75 1.65 8.35 1.65 8.75 2.05L11.2 4.5C11.4 4.7 11.4 5 11.2 5.2C11 5.4 10.7 5.4 10.5 5.2L8.5 3.15ZM13 9.5C13 9.2 13.2 9 13.5 9C13.8 9 14 9.2 14 9.5V12C14 12.85 13.35 13.5 12.5 13.5H3.5C2.65 13.5 2 12.85 2 12V9.5C2 9.2 2.2 9 2.5 9C2.8 9 3 9.2 3 9.5V12C3 12.3 3.2 12.5 3.5 12.5H12.5C12.8 12.5 13 12.3 13 12V9.5Z",fillOpacity:"0.2"})]}),wm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("rect",{x:"4",y:"4",width:"8",height:"8",rx:"2"})}),S1=({className:e})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:e,children:i.jsx("path",{d:"M14.8985 13.9522L12.2795 11.2492C13.1525 10.1142 13.6755 8.80619 13.6755 7.23519C13.6755 3.74519 10.7965 0.867188 7.30645 0.867188C3.81745 0.866188 0.939453 3.74519 0.939453 7.23419C0.939453 10.7242 3.81845 13.6042 7.30745 13.6042C8.79045 13.6042 10.1875 13.0802 11.3215 12.2072L13.9385 14.8242C14.0255 14.9992 14.1995 14.9992 14.3745 14.9992C14.5362 14.9958 14.6912 14.9335 14.8105 14.8242C15.0725 14.6502 15.0725 14.2142 14.8985 13.9522ZM2.24845 7.32219C2.24951 5.98052 2.78296 4.6941 3.73166 3.7454C4.68037 2.79669 5.96678 2.26325 7.30845 2.26219C8.65012 2.26325 9.93654 2.79669 10.8852 3.7454C11.8339 4.6941 12.3674 5.98052 12.3685 7.32219C12.3674 8.66386 11.8339 9.95027 10.8852 10.899C9.93654 11.8477 8.65012 12.3811 7.30845 12.3822C5.96678 12.3811 4.68037 11.8477 3.73166 10.899C2.78296 9.95027 2.24951 8.66386 2.24845 7.32219Z",fill:"currentColor"})}),dr=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{d:"M3.7789 14.5951C3.1481 14.594 2.54346 14.3429 2.09751 13.8968C1.65156 13.4506 1.4007 12.8459 1.3999 12.2151V3.9801C1.4007 3.3493 1.65156 2.74455 2.09751 2.29841C2.54346 1.85228 3.1481 1.60116 3.7789 1.6001H8.3589C8.48515 1.6001 8.60622 1.65025 8.69548 1.73951C8.78475 1.82878 8.8349 1.94985 8.8349 2.0761C8.8349 2.20234 8.78475 2.32341 8.69548 2.41268C8.60622 2.50195 8.48515 2.5521 8.3589 2.5521H3.7799C3.40142 2.55316 3.03877 2.70411 2.77132 2.97193C2.50388 3.23975 2.35343 3.60261 2.3529 3.9811V12.2141C2.3539 13.0021 2.9929 13.6411 3.7799 13.6431H12.0089C12.3874 13.642 12.75 13.4911 13.0175 13.2233C13.2849 12.9554 13.4354 12.5926 13.4359 12.2141V7.6311C13.433 7.56682 13.4431 7.50261 13.4656 7.44235C13.4882 7.38209 13.5227 7.32704 13.5672 7.28051C13.6116 7.23397 13.6651 7.19694 13.7242 7.17164C13.7834 7.14633 13.8471 7.13329 13.9114 7.13329C13.9757 7.13329 14.0394 7.14633 14.0986 7.17164C14.1577 7.19694 14.2112 7.23397 14.2556 7.28051C14.3001 7.32704 14.3346 7.38209 14.3572 7.44235C14.3797 7.50261 14.3899 7.56682 14.3869 7.6311V12.2141C14.3861 12.8447 14.1354 13.4493 13.6896 13.8954C13.2439 14.3415 12.6395 14.5928 12.0089 14.5941H3.7789V14.5951ZM11.9199 4.0661L12.3699 4.5141L10.1819 6.7041L7.5659 9.3201L6.5799 9.4121L6.6719 8.4241L9.2849 5.8061L11.4739 3.6161L11.9209 4.0661H11.9199ZM11.4729 2.5331C11.3892 2.53318 11.3063 2.54983 11.2291 2.5821C11.1519 2.61436 11.0818 2.66161 11.0229 2.7211L8.6119 5.1331L5.8399 7.9291C5.7876 7.98109 5.75507 8.0497 5.7479 8.1231L5.5699 10.1001C5.56602 10.1441 5.57133 10.1884 5.58549 10.2302C5.59966 10.272 5.62238 10.3104 5.6522 10.3429C5.68201 10.3755 5.71828 10.4014 5.75869 10.4192C5.7991 10.437 5.84276 10.4461 5.8869 10.4461H5.9159L7.8919 10.2691C7.96495 10.2617 8.03316 10.2292 8.0849 10.1771L10.8639 7.3961L13.2739 4.9841C13.333 4.92511 13.3799 4.85505 13.4119 4.77792C13.4439 4.70079 13.4604 4.6181 13.4604 4.5346C13.4604 4.45109 13.4439 4.36841 13.4119 4.29128C13.3799 4.21414 13.333 4.14408 13.2739 4.0851L12.5929 3.3941L11.9199 2.7211C11.8017 2.60167 11.6409 2.53405 11.4729 2.5331Z"})}),p3=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"29",height:"29",viewBox:"0 0 29 29",fill:"none",children:i.jsx("path",{d:"M14.0287 0C6.28125 0 0 6.28125 0 14.0306C0 21.7791 6.28125 28.0603 14.0297 28.0603C21.7781 28.0603 28.0594 21.7791 28.0594 14.0306C28.0594 6.28219 21.7781 0 14.0297 0H14.0287ZM15.3909 22.1259C15.3909 22.3119 15.3171 22.4903 15.1855 22.6218C15.054 22.7533 14.8757 22.8272 14.6897 22.8272H12.585C12.399 22.8272 12.2207 22.7533 12.0891 22.6218C11.9576 22.4903 11.8838 22.3119 11.8838 22.1259V20.0213C11.8838 19.6341 12.1978 19.32 12.585 19.32H14.6897C15.0769 19.32 15.3909 19.6341 15.3909 20.0213V22.1259ZM18.8691 12.4697C18.5859 12.8728 17.9466 13.3847 17.145 14.0091L16.2572 14.6222C15.8259 14.9559 15.4434 15.3459 15.3019 15.7913C15.2531 15.9431 15.2175 16.1934 15.1931 16.4625C15.1809 16.5984 15.0591 16.875 14.7759 16.875H12.4913C12.12 16.875 12.0534 16.5844 12.06 16.4428C12.1003 15.51 12.1866 14.6831 12.5662 14.2369C13.335 13.3359 15.0844 12.2137 15.0844 12.2137C15.3506 12.0122 15.5662 11.7937 15.7294 11.5556C16.0256 11.1469 16.2722 10.6978 16.2722 10.2075C16.2722 9.64312 16.1072 9.12937 15.7753 8.66344C15.4472 8.20031 14.8425 7.96781 13.9669 7.96781C13.1053 7.96781 12.495 8.25375 12.135 8.82562C11.8688 9.2475 11.7009 9.63656 11.6316 10.0594C11.6072 10.2094 11.5116 10.5234 11.1909 10.5234H8.96625C8.49187 10.5234 8.38781 10.2159 8.40094 10.0678C8.5725 8.20125 9.30281 6.92531 10.5928 6.10594C11.4703 5.5425 12.5494 5.25938 13.8291 5.25938C15.5119 5.25938 16.9078 5.66062 18.0216 6.46313C19.1325 7.26562 19.6903 8.45344 19.6903 10.0294C19.6903 10.995 19.3509 11.8088 18.8691 12.4697Z",fill:"#0265FF"})}),h3=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M8 15C4.2 15 1 11.9 1 8C1 4.2 4.1 1 8 1C11.8 1 15 4.1 15 8C15 11.9 11.8 15 8 15ZM8 2C4.7 2 2 4.7 2 8C2 11.3 4.7 14 8 14C11.3 14 14 11.3 14 8C14 4.7 11.3 2 8 2Z"}),i.jsx("path",{d:"M7.19922 4.8C7.19922 5.2 7.49922 5.6 7.99922 5.6C8.49922 5.6 8.79922 5.3 8.79922 4.8C8.79922 4.3 8.39922 4 7.99922 4C7.59922 4 7.19922 4.3 7.19922 4.8ZM7.99922 12C7.69922 12 7.49922 11.8 7.49922 11.5V7C7.49922 6.7 7.69922 6.5 7.99922 6.5C8.29922 6.5 8.49922 6.7 8.49922 7V11.5C8.49922 11.8 8.29922 12 7.99922 12Z"})]}),vm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[i.jsxs("g",{clipPath:"url(#clip0_18510_39599)",children:[i.jsx("path",{d:"M20.7403 0V5.92593C20.7403 7.86765 22.2969 9.44593 24.2307 9.48089L24.2959 9.48148H30.2218V28.4444C30.2218 30.4081 28.6299 32 26.6662 32H5.3329C3.36925 32 1.77734 30.4081 1.77734 28.4444V3.55556C1.77734 1.5919 3.36925 0 5.3329 0H20.7403ZM25.481 12.642H6.51808C5.01132 12.642 3.78623 13.8469 3.75324 15.3456L3.75265 15.4074V27.2593C3.75265 28.7658 4.95759 29.9911 6.45626 30.0241L6.51808 30.0247H25.481C26.9876 30.0247 28.2129 28.8198 28.2459 27.3211L28.2465 27.2593V15.4074C28.2465 13.8801 27.0084 12.642 25.481 12.642ZM22.123 0L30.2218 8.09877H25.6786C23.7149 8.09877 22.123 6.50686 22.123 4.54321V0Z",fill:"#389E0D"}),i.jsx("path",{d:"M7.29786 24.099L8.30487 22.4634L9.30832 24.099H11.0756L9.34309 21.4738L10.9263 19.0086H9.21114L8.33608 20.5746L7.43336 19.0086H5.70042L7.29766 21.4461L5.54102 24.099H7.29786ZM15.6455 24.099V22.8454H13.1906V19.0086H11.6177V24.099H15.6453H15.6455ZM18.486 24.1859C18.9792 24.1859 19.3877 24.1148 19.7117 23.9721C20.0358 23.8299 20.2881 23.6209 20.4688 23.3456C20.6468 23.0783 20.7411 22.764 20.7394 22.4429C20.7394 22.1649 20.6719 21.9139 20.5364 21.6893C20.4011 21.4647 20.1848 21.2764 19.8871 21.1249C19.5896 20.9734 19.0972 20.8235 18.4096 20.6754C18.1318 20.6175 17.956 20.5549 17.882 20.4877C17.8055 20.4231 17.7674 20.35 17.7674 20.269C17.7674 20.158 17.8136 20.0636 17.9063 19.9862C17.9989 19.9085 18.1366 19.8696 18.3195 19.8696C18.5417 19.8696 18.7159 19.922 18.842 20.0261C18.9682 20.1302 19.0509 20.2969 19.0903 20.526L20.5729 20.4391C20.5081 19.9115 20.3049 19.5265 19.9635 19.2847C19.622 19.0428 19.126 18.9219 18.4757 18.9219C17.9456 18.9219 17.5284 18.9884 17.224 19.1214C16.9196 19.2547 16.6914 19.4374 16.5399 19.6701C16.3882 19.9028 16.3126 20.1499 16.3126 20.4115C16.3126 20.8097 16.4607 21.1372 16.757 21.3942C17.0509 21.651 17.5428 21.857 18.2326 22.0122C18.6539 22.1047 18.9223 22.2031 19.0381 22.3074C19.1539 22.4115 19.2119 22.5296 19.2119 22.6615C19.2119 22.8004 19.1511 22.9223 19.0294 23.0278C18.9079 23.133 18.7351 23.1858 18.5103 23.1858C18.2095 23.1858 17.978 23.0827 17.816 22.8768C17.7164 22.7494 17.6504 22.5641 17.6181 22.3212L16.1216 22.415C16.1654 22.9288 16.3541 23.3525 16.6875 23.6857C17.0207 24.0192 17.6204 24.1857 18.486 24.1857V24.1859ZM22.8127 24.099L23.8197 22.4634L24.8232 24.099H26.5905L24.858 21.4738L26.4414 19.0086H24.726L23.8509 20.5746L22.9482 19.0086H21.2157L22.8127 21.4461L21.0559 24.099H22.8127Z",fill:"#389E0D"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_18510_39599",children:i.jsx("rect",{width:"32",height:"32",fill:"white"})})})]}),km=({size:e=20})=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 16 16",fill:"none",children:[i.jsx("path",{d:"M3.07981 6.57422L2.22738 6.82578L1.375 6.57422L1.6265 7.43609L1.375 8.29797L2.22744 8.04366L3.07981 8.29797L2.831 7.43609L3.07981 6.57422Z",fill:"url(#paint0_linear_18510_37545)"}),i.jsx("path",{d:"M8.63384 3.85224L8.25922 3.53543L7.77478 3.47312L8.08809 3.09437L8.14978 2.60449L8.52434 2.92137L9.00884 2.98362L8.69547 3.36237L8.63384 3.85224Z",fill:"url(#paint1_linear_18510_37545)"}),i.jsx("path",{d:"M6.03681 4.04956L5.23375 3.3705L4.19531 3.23694L4.867 2.425L4.99913 1.375L5.80213 2.05413L6.8405 2.18769L6.16894 2.99956L6.03681 4.04956Z",fill:"url(#paint2_linear_18510_37545)"}),i.jsx("path",{d:"M13.4934 5.30179C13.5249 5.37309 13.5505 5.45627 13.5703 5.55134C13.59 5.6464 13.5998 5.74543 13.5998 5.84842C13.5998 5.9514 13.5801 6.05439 13.5407 6.15738C13.5013 6.26036 13.4382 6.35939 13.3514 6.45445C13.2568 6.54952 13.172 6.6327 13.0971 6.704C13.0222 6.7753 12.9571 6.83867 12.9019 6.89413C12.8389 6.9575 12.7797 7.01296 12.7245 7.06049L10.5126 4.83835C10.6072 4.75121 10.7196 4.64624 10.8497 4.52345C10.9798 4.40066 11.0882 4.30361 11.175 4.23231C11.2854 4.14517 11.3997 4.08378 11.518 4.04813C11.6363 4.01248 11.7526 3.99663 11.867 4.00059C11.9813 4.00456 12.0917 4.02238 12.1981 4.05407C12.3046 4.08576 12.3973 4.12141 12.4761 4.16102C12.6417 4.24816 12.8251 4.40066 13.0261 4.61852C13.2272 4.83637 13.383 5.06413 13.4934 5.30179ZM4.27895 11.1007C4.32627 11.0532 4.43667 10.9403 4.61015 10.7621C4.78364 10.5838 5.00049 10.364 5.26072 10.1026L6.1242 9.2351L7.08231 8.27257L9.62545 5.7177L11.8374 7.95172L9.29425 10.5066L8.34797 11.4691C8.03254 11.7781 7.74865 12.0613 7.49631 12.3188C7.24397 12.5762 7.035 12.7881 6.8694 12.9545C6.7038 13.1209 6.60523 13.2159 6.57369 13.2397C6.49483 13.311 6.40415 13.3863 6.30163 13.4655C6.19912 13.5447 6.09266 13.6081 5.98226 13.6556C5.87186 13.7111 5.71021 13.7784 5.49729 13.8576C5.28438 13.9368 5.06161 14.0141 4.82898 14.0893C4.59635 14.1646 4.37555 14.23 4.16658 14.2854C3.95761 14.3409 3.80187 14.3765 3.69936 14.3924C3.48644 14.4161 3.3445 14.3844 3.27353 14.2973C3.20256 14.2102 3.18284 14.0636 3.21439 13.8576C3.23016 13.7467 3.26762 13.5863 3.32676 13.3764C3.3859 13.1664 3.44899 12.9486 3.51601 12.7228C3.58304 12.497 3.6481 12.2891 3.71119 12.0989C3.77427 11.9088 3.82553 11.7781 3.86496 11.7068C3.91227 11.5959 3.9655 11.4949 4.02464 11.4038C4.08378 11.3127 4.16855 11.2117 4.27895 11.1007Z",fill:"url(#paint3_linear_18510_37545)"}),i.jsxs("defs",{children:[i.jsxs("linearGradient",{id:"paint0_linear_18510_37545",x1:"2.22741",y1:"6.57422",x2:"2.22741",y2:"8.29797",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint1_linear_18510_37545",x1:"8.39181",y1:"2.60449",x2:"8.39181",y2:"3.85224",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint2_linear_18510_37545",x1:"5.51791",y1:"1.375",x2:"5.51791",y2:"4.04956",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint3_linear_18510_37545",x1:"8.39983",y1:"4",x2:"8.39983",y2:"14.4",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]})]})]}),m3=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M8 1C8.91925 1 9.8295 1.18106 10.6788 1.53284C11.5281 1.88463 12.2997 2.40024 12.9497 3.05025C13.5998 3.70026 14.1154 4.47194 14.4672 5.32122C14.8189 6.17049 15 7.08075 15 8C15 8.91925 14.8189 9.8295 14.4672 10.6788C14.1154 11.5281 13.5998 12.2997 12.9497 12.9497C12.2997 13.5998 11.5281 14.1154 10.6788 14.4672C9.8295 14.8189 8.91925 15 8 15C4.13372 15 1 11.8658 1 8C1 4.13372 4.13372 1 8 1ZM11.1495 4.85C11.0301 4.7308 10.8682 4.66386 10.6995 4.66386C10.5308 4.66386 10.369 4.7308 10.2496 4.85L8 7.10058L5.74993 4.85C5.6295 4.73566 5.46918 4.67288 5.30313 4.67503C5.13708 4.67718 4.97844 4.7441 4.86102 4.86153C4.7436 4.97895 4.67668 5.13759 4.67452 5.30364C4.67237 5.46968 4.73515 5.63001 4.84949 5.75044L7.10109 8L4.85 10.2496C4.73566 10.37 4.67288 10.5303 4.67503 10.6964C4.67718 10.8624 4.7441 11.021 4.86153 11.1385C4.97895 11.2559 5.13759 11.3228 5.30364 11.325C5.46969 11.3271 5.63001 11.2643 5.75044 11.15L8 8.8984L10.2496 11.1495C10.3703 11.2621 10.53 11.3234 10.695 11.3205C10.86 11.3177 11.0175 11.2509 11.1342 11.1342C11.2509 11.0175 11.3178 10.8601 11.3208 10.6951C11.3237 10.53 11.2625 10.3703 11.15 10.2496L8.8984 8L11.1495 5.74993C11.2688 5.63049 11.3359 5.46856 11.3359 5.29971C11.3359 5.13086 11.2688 4.96892 11.1495 4.84949V4.85Z",fill:"#666666"})}),C3=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"currentColor",children:i.jsx("path",{d:"M6.5 13.0001C6.5 12.6394 6.66738 12.2932 6.968 12.0349L16.7732 3.64987C17.0905 3.38703 17.4907 3.24537 17.9026 3.25012C18.3284 3.25012 18.7363 3.39474 19.032 3.64987C19.656 4.18937 19.656 5.04249 19.032 5.58199L10.3545 13.0001L19.032 20.4182C19.6544 20.9577 19.6544 21.8109 19.032 22.3504C18.7151 22.6136 18.3138 22.7566 17.901 22.7501C17.4753 22.7501 17.0674 22.6055 16.7732 22.3504L6.96638 13.9654C6.82284 13.8483 6.70669 13.7012 6.62612 13.5345C6.54554 13.3677 6.50249 13.1853 6.5 13.0001Z"})}),jm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("g",{clipPath:"url(#clip0_18449_37925)",children:i.jsx("path",{d:"M2.71657 9.24964C2.74357 9.24964 2.76957 9.22364 2.82357 9.19764L2.84957 9.17064C2.87657 9.17064 2.87657 9.14364 2.90357 9.14364L4.90157 7.49264C5.01434 7.40051 5.08606 7.26749 5.10105 7.12264C5.11604 6.9778 5.07309 6.83291 4.98157 6.71964C4.88944 6.60687 4.75642 6.53515 4.61158 6.52016C4.46673 6.50517 4.32184 6.54812 4.20857 6.63964L3.06257 7.59964C3.16957 4.90864 4.95457 2.96364 7.45857 2.80364C8.97757 2.69664 9.90957 2.93664 10.6556 3.57564C10.8956 3.78964 11.2416 3.76264 11.4556 3.52264C11.5058 3.46726 11.5443 3.40232 11.5689 3.3317C11.5934 3.26109 11.6035 3.18625 11.5984 3.11166C11.5934 3.03707 11.5734 2.96426 11.5395 2.89759C11.5057 2.83092 11.4588 2.77176 11.4016 2.72364C10.1766 1.68464 8.71157 1.60464 7.43157 1.68464C4.34157 1.87064 2.13157 4.24264 1.91757 7.38564L0.95757 6.47964C0.903958 6.42795 0.840508 6.38756 0.770985 6.36086C0.701463 6.33416 0.627285 6.3217 0.552854 6.32422C0.478424 6.32673 0.405258 6.34418 0.337699 6.37552C0.270141 6.40685 0.209566 6.45144 0.15957 6.50664C-0.05343 6.74664 -0.05343 7.09264 0.18557 7.30664L2.10357 9.11664L2.15757 9.17064L2.18357 9.19764C2.1977 9.21273 2.21696 9.222 2.23757 9.22364C2.23757 9.22364 2.26357 9.22364 2.26357 9.25064C2.29057 9.25064 2.31757 9.27764 2.34357 9.27764H2.55657C2.63657 9.27764 2.66357 9.27764 2.71657 9.25064C2.69057 9.25064 2.69057 9.25064 2.71657 9.25064V9.24964ZM15.7966 7.35964L13.9066 5.81364C13.9066 5.81364 13.8796 5.81364 13.8796 5.78764C13.8526 5.78764 13.8526 5.76064 13.8256 5.76064C13.7996 5.76064 13.7996 5.73364 13.7726 5.73364C13.7456 5.73364 13.7456 5.70764 13.7196 5.70764C13.6926 5.70764 13.6926 5.70764 13.6656 5.68064H13.4526C13.3829 5.68128 13.314 5.69575 13.25 5.72321C13.186 5.75068 13.128 5.7906 13.0796 5.84064L11.4026 7.57264C11.3507 7.62627 11.3102 7.68978 11.2834 7.7594C11.2566 7.82902 11.2441 7.90331 11.2466 7.97787C11.2491 8.05242 11.2666 8.1257 11.2981 8.19335C11.3295 8.261 11.3742 8.32163 11.4296 8.37164C11.5356 8.47764 11.6696 8.53164 11.8296 8.53164C11.978 8.53068 12.1206 8.47351 12.2286 8.37164L13.1346 7.43864C13.1606 7.59864 13.1606 7.75864 13.1606 7.89164C13.1606 10.8486 11.4296 13.0066 8.92457 13.1666C7.03357 13.2736 6.10157 12.9806 4.66257 11.7016C4.60723 11.6512 4.54228 11.6125 4.47161 11.5877C4.40093 11.563 4.32599 11.5528 4.25128 11.5578C4.17658 11.5627 4.10364 11.5827 4.03684 11.6165C3.97005 11.6504 3.91077 11.6973 3.86257 11.7546C3.81219 11.81 3.77353 11.875 3.74889 11.9458C3.72425 12.0165 3.71415 12.0914 3.71919 12.1661C3.72424 12.2409 3.74432 12.3138 3.77824 12.3805C3.81215 12.4473 3.8592 12.5065 3.91657 12.5546C5.38157 13.8596 6.47357 14.3386 8.23257 14.3386C8.47257 14.3386 8.71257 14.3386 8.97857 14.3126C12.0416 14.1256 14.2536 11.4346 14.2536 7.94564V7.62564L15.0526 8.29164C15.1586 8.37164 15.2926 8.42464 15.3986 8.42464C15.5586 8.42464 15.7186 8.34464 15.8246 8.21164C16.0916 7.91864 16.0376 7.54564 15.7986 7.35864L15.7966 7.35964Z"})}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_18449_37925",children:i.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),x3=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M13.5483 1.00195H5.68641C5.30143 1.00191 4.93219 1.15477 4.6599 1.42692C4.3876 1.69907 4.23454 2.06822 4.23438 2.4532V4.2207H2.25C1.91848 4.2207 1.60054 4.3524 1.36612 4.58682C1.1317 4.82124 1 5.13918 1 5.4707V13.752C1 14.0835 1.1317 14.4014 1.36612 14.6358C1.60054 14.8703 1.91848 15.002 2.25 15.002H10.5312C10.8628 15.002 11.1807 14.8703 11.4151 14.6358C11.6496 14.4014 11.7812 14.0835 11.7812 13.752V11.7832H13.5483C13.9333 11.7832 14.3026 11.6302 14.5748 11.3579C14.8471 11.0856 15 10.7164 15 10.3313V2.4532C14.9998 2.06828 14.8468 1.69917 14.5746 1.42703C14.3024 1.15489 13.9332 1.00199 13.5483 1.00195ZM10.5312 14.0645H2.25C2.16712 14.0645 2.08763 14.0315 2.02903 13.9729C1.97042 13.9143 1.9375 13.8348 1.9375 13.752V5.4707C1.9375 5.38782 1.97042 5.30834 2.02903 5.24973C2.08763 5.19113 2.16712 5.1582 2.25 5.1582H10.5312C10.6141 5.1582 10.6936 5.19113 10.7522 5.24973C10.8108 5.30834 10.8438 5.38782 10.8438 5.4707V13.752C10.8438 13.8348 10.8108 13.9143 10.7522 13.9729C10.6936 14.0315 10.6141 14.0645 10.5312 14.0645ZM14.0781 10.3313C14.0781 10.4677 14.0239 10.5986 13.9275 10.695C13.831 10.7915 13.7002 10.8457 13.5638 10.8457H11.7969V5.4707C11.7969 5.13918 11.6652 4.82124 11.4308 4.58682C11.1963 4.3524 10.8784 4.2207 10.5469 4.2207H5.17188V2.4532C5.17188 2.31678 5.22607 2.18595 5.32253 2.08949C5.419 1.99302 5.54983 1.93883 5.68625 1.93883H13.5639C13.7003 1.93887 13.8311 1.99308 13.9275 2.08954C14.024 2.186 14.0781 2.31681 14.0781 2.4532V10.3313Z"}),i.jsx("path",{d:"M8.47518 7.73633H4.32861C4.08158 7.73633 3.86971 7.92383 3.85189 8.17008C3.84708 8.23441 3.85559 8.29904 3.8769 8.35993C3.89821 8.42082 3.93186 8.47666 3.97575 8.52394C4.01963 8.57123 4.0728 8.60895 4.13193 8.63474C4.19106 8.66053 4.25488 8.67384 4.31939 8.67383H8.46596C8.71299 8.67383 8.92486 8.48633 8.94268 8.24008C8.94749 8.17575 8.93898 8.11111 8.91767 8.05023C8.89636 7.98934 8.86271 7.9335 8.81882 7.88621C8.77494 7.83893 8.72177 7.80121 8.66264 7.77542C8.60351 7.74963 8.53969 7.73632 8.47518 7.73633ZM8.47518 10.5488H4.32861C4.08158 10.5488 3.86971 10.7363 3.85189 10.9826C3.84708 11.0469 3.85559 11.1115 3.8769 11.1724C3.89821 11.2333 3.93186 11.2892 3.97575 11.3364C4.01963 11.3837 4.0728 11.4214 4.13193 11.4472C4.19106 11.473 4.25488 11.4863 4.31939 11.4863H8.46596C8.71299 11.4863 8.92486 11.2988 8.94268 11.0526C8.94749 10.9882 8.93898 10.9236 8.91767 10.8627C8.89636 10.8018 8.86271 10.746 8.81882 10.6987C8.77494 10.6514 8.72177 10.6137 8.66264 10.5879C8.60351 10.5621 8.53969 10.5488 8.47518 10.5488Z"})]}),Tn=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",children:[i.jsx("path",{d:"M33.7054 0V9.62963C33.7054 12.7849 36.2348 15.3496 39.3773 15.4064L39.4832 15.4074H49.1128V46.2222C49.1128 49.4132 46.526 52 43.3351 52H8.6684C5.47747 52 2.89062 49.4132 2.89062 46.2222V5.77778C2.89063 2.58684 5.47746 0 8.6684 0H33.7054ZM41.4091 20.5432H10.5943C8.14584 20.5432 6.15507 22.5012 6.10146 24.9366L6.1005 25.037V44.2963C6.1005 46.7445 8.05853 48.7356 10.4939 48.7892L10.5943 48.7901H41.4091C43.8573 48.7901 45.8484 46.8321 45.902 44.3968L45.903 44.2963V25.037C45.903 22.5552 43.891 20.5432 41.4091 20.5432ZM35.9524 0L49.1128 13.1605H41.7301C38.5392 13.1605 35.9524 10.5737 35.9524 7.38272V0Z",fill:"#389E0D"}),i.jsx("path",{d:"M11.8597 39.1608L13.4961 36.503L15.1268 39.1608H17.9986L15.1833 34.8949L17.756 30.889H14.9688L13.5469 33.4338L12.0799 30.889H9.26392L11.8594 34.8499L9.00488 39.1608H11.8597ZM25.4247 39.1608V37.1238H21.4355V30.889H18.8794V39.1608H25.4244H25.4247ZM30.0405 39.302C30.842 39.302 31.5058 39.1865 32.0322 38.9547C32.559 38.7236 32.9689 38.384 33.2626 37.9366C33.5518 37.5022 33.7049 36.9915 33.7023 36.4697C33.7023 36.018 33.5925 35.61 33.3723 35.2451C33.1525 34.8801 32.801 34.5742 32.3173 34.328C31.8338 34.0818 31.0336 33.8382 29.9163 33.5975C29.465 33.5034 29.1793 33.4017 29.0589 33.2925C28.9347 33.1876 28.8727 33.0688 28.8727 32.9372C28.8727 32.7568 28.9478 32.6034 29.0984 32.4775C29.2489 32.3514 29.4727 32.2881 29.7699 32.2881C30.131 32.2881 30.4141 32.3732 30.6189 32.5424C30.824 32.7115 30.9585 32.9824 31.0224 33.3548L33.4317 33.2136C33.3264 32.3562 32.9961 31.7306 32.4415 31.3377C31.8865 30.9445 31.0805 30.748 30.0238 30.748C29.1623 30.748 28.4843 30.8562 27.9897 31.0722C27.4951 31.2889 27.1243 31.5858 26.8781 31.9639C26.6316 32.3421 26.5087 32.7436 26.5087 33.1686C26.5087 33.8157 26.7494 34.3479 27.2309 34.7655C27.7085 35.1828 28.5078 35.5176 29.6287 35.7699C30.3133 35.9201 30.7495 36.08 30.9376 36.2495C31.1257 36.4186 31.2201 36.6106 31.2201 36.825C31.2201 37.0506 31.1213 37.2487 30.9235 37.4201C30.7261 37.5912 30.4453 37.6769 30.08 37.6769C29.5911 37.6769 29.2149 37.5093 28.9517 37.1749C28.7899 36.9678 28.6827 36.6667 28.6301 36.2719L26.1983 36.4244C26.2695 37.2593 26.5761 37.9478 27.1179 38.4893C27.6594 39.0311 28.6339 39.3017 30.0405 39.3017V39.302ZM37.0714 39.1608L38.7078 36.503L40.3384 39.1608H43.2103L40.3949 34.8949L42.9679 30.889H40.1805L38.7585 33.4338L37.2916 30.889H34.4762L37.0714 34.8499L34.2165 39.1608H37.0714Z",fill:"#389E0D"})]}),Zi=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsxs("g",{clipPath:"url(#clip0_21638_4657)",children:[i.jsx("path",{d:"M10.3704 0V2.96296C10.3704 3.93383 11.1486 4.72296 12.1156 4.74044L12.1481 4.74074H15.1111V14.2222C15.1111 15.204 14.3152 16 13.3333 16H2.66666C1.68484 16 0.888885 15.204 0.888885 14.2222V1.77778C0.888885 0.795951 1.68484 0 2.66666 0H10.3704ZM12.7407 6.32099H3.25926C2.50587 6.32099 1.89333 6.92346 1.87684 7.67279L1.87654 7.7037V13.6296C1.87654 14.3829 2.47901 14.9956 3.22834 15.012L3.25926 15.0123H12.7407C13.494 15.0123 14.1067 14.4099 14.1232 13.6605L14.1235 13.6296V7.7037C14.1235 6.94005 13.5044 6.32099 12.7407 6.32099ZM11.0617 0L15.1111 4.04938H12.8395C11.8577 4.04938 11.0617 3.25343 11.0617 2.27161V0Z",fill:"#8C8C8C"}),i.jsx("path",{d:"M8.40366 12.0892V11.9703C8.40366 11.7665 8.44613 11.5796 8.53107 11.4097C8.61357 11.2485 8.72938 11.1066 8.87082 10.9935C9.26717 10.6481 9.51072 10.4244 9.60129 10.3225C9.81077 10.045 9.91556 9.69684 9.91556 9.27778C9.91556 8.75679 9.74569 8.34908 9.40593 8.05467C9.07181 7.75452 8.6245 7.60449 8.06391 7.60449C7.44099 7.60449 6.94559 7.78286 6.57749 8.1396C6.20939 8.49071 6.02539 8.98336 6.02539 9.61753H6.99369C6.99369 9.24943 7.0645 8.96913 7.20603 8.77664C7.37591 8.55017 7.64208 8.43689 8.00445 8.43689C8.29887 8.43689 8.52544 8.5162 8.68396 8.67471C8.84248 8.84459 8.92179 9.06543 8.92179 9.33723C8.92179 9.55244 8.84534 9.75343 8.69245 9.94029L8.59053 10.0592C8.03556 10.5519 7.7043 10.9115 7.59675 11.1379C7.48346 11.3588 7.42687 11.6362 7.42687 11.9703V12.0892H8.40366ZM7.91102 13.788C8.09225 13.788 8.25077 13.7285 8.38667 13.6096C8.51122 13.4851 8.57354 13.3293 8.57354 13.1425C8.57354 12.9612 8.51132 12.8083 8.38667 12.6838C8.26213 12.5649 8.10351 12.5054 7.91102 12.5054C7.72416 12.5054 7.57127 12.5649 7.45235 12.6838C7.32208 12.7971 7.257 12.95 7.257 13.1425C7.257 13.3351 7.32218 13.4879 7.45235 13.6011C7.5769 13.7257 7.72988 13.788 7.91102 13.788Z",fill:"#8C8C8C"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_21638_4657",children:i.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),Wi=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsxs("g",{clipPath:"url(#clip0_21638_4627)",children:[i.jsx("path",{d:"M10.3704 0V2.96296C10.3704 3.93383 11.1486 4.72296 12.1156 4.74044L12.1481 4.74074H15.1111V14.2222C15.1111 15.204 14.3152 16 13.3333 16H2.66666C1.68484 16 0.888885 15.204 0.888885 14.2222V1.77778C0.888885 0.795951 1.68484 0 2.66666 0H10.3704ZM12.7407 6.32099H3.25926C2.50587 6.32099 1.89333 6.92346 1.87684 7.67279L1.87654 7.7037V13.6296C1.87654 14.3829 2.47901 14.9956 3.22834 15.012L3.25926 15.0123H12.7407C13.494 15.0123 14.1067 14.4099 14.1232 13.6605L14.1235 13.6296V7.7037C14.1235 6.94005 13.5044 6.32099 12.7407 6.32099ZM11.0617 0L15.1111 4.04938H12.8395C11.8577 4.04938 11.0617 3.25343 11.0617 2.27161V0Z",fill:"#1D39C4"}),i.jsx("path",{d:"M5.37169 12.1151C5.59964 12.1151 5.78749 12.0821 5.93505 12.0162C6.08136 11.9512 6.20887 11.8503 6.30572 11.7228C6.40517 11.5931 6.47816 11.4317 6.52438 11.2384L5.8352 11.03C5.80043 11.191 5.74463 11.3136 5.66769 11.3981C5.59066 11.4826 5.47698 11.5248 5.32646 11.5248C5.1714 11.5248 5.051 11.4725 4.96537 11.3678C4.87974 11.2631 4.83698 11.0695 4.83698 10.787C4.83698 10.559 4.87283 10.3918 4.94463 10.2853C5.03945 10.1418 5.17604 10.07 5.35431 10.07C5.43303 10.07 5.50414 10.0862 5.56784 10.1186C5.63145 10.151 5.68537 10.1973 5.72932 10.2574C5.75599 10.2934 5.78137 10.3501 5.80567 10.4276L6.50009 10.2731C6.411 10.0045 6.2747 9.80549 6.0912 9.67591C5.90789 9.54624 5.65584 9.48145 5.33525 9.48145C4.92557 9.48145 4.60873 9.59463 4.38473 9.8209C4.16083 10.0471 4.04883 10.3709 4.04883 10.7922C4.04883 11.1082 4.11253 11.3675 4.23984 11.5699C4.36715 11.7725 4.51836 11.914 4.69377 11.9944C4.86917 12.0749 5.09515 12.1151 5.37179 12.1151H5.37169ZM7.96903 12.1133C8.21554 12.1133 8.41989 12.0778 8.58187 12.0067C8.74384 11.9355 8.87006 11.831 8.96033 11.6933C9.04938 11.5597 9.09652 11.4025 9.09574 11.2419C9.09574 11.103 9.06196 10.9773 8.99421 10.8651C8.92646 10.7529 8.81831 10.6587 8.66957 10.583C8.52083 10.5072 8.27451 10.4323 7.9308 10.3582C7.79194 10.3292 7.70404 10.2979 7.667 10.2644C7.62878 10.2321 7.60972 10.1955 7.60972 10.155C7.60972 10.0995 7.63283 10.0523 7.67915 10.0136C7.72537 9.97478 7.79431 9.95532 7.88567 9.95532C7.99678 9.95532 8.08389 9.9814 8.147 10.0335C8.21011 10.0856 8.2514 10.1689 8.27115 10.2835L9.01248 10.2401C8.97999 9.97626 8.87846 9.78377 8.70779 9.66288C8.53703 9.54189 8.28903 9.48145 7.96379 9.48145C7.6988 9.48145 7.49011 9.51473 7.33791 9.5812C7.18582 9.64787 7.07174 9.73922 6.99599 9.85557C6.92014 9.97191 6.88221 10.0955 6.88221 10.2262C6.88221 10.4253 6.95628 10.5891 7.10443 10.7176C7.2514 10.846 7.49742 10.949 7.84221 11.0266C8.05298 11.0729 8.1872 11.122 8.24508 11.1742C8.30295 11.2262 8.33189 11.2853 8.33189 11.3513C8.33189 11.4207 8.30147 11.4816 8.24073 11.5344C8.17999 11.587 8.09347 11.6134 7.98117 11.6134C7.83075 11.6134 7.715 11.5618 7.63401 11.4588C7.58424 11.3952 7.55125 11.3026 7.53505 11.1811L6.7867 11.228C6.80873 11.4849 6.90305 11.6968 7.06977 11.8634C7.23638 12.0301 7.53614 12.1133 7.96903 12.1133ZM11.0716 12.07L12.016 9.5248H11.2175L10.6533 11.3564L10.0803 9.5249H9.25742L10.2192 12.0701H11.0715L11.0716 12.07Z",fill:"#1D39C4"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_21638_4627",children:i.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),fr=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsxs("g",{clipPath:"url(#clip0_21638_4630)",children:[i.jsx("path",{d:"M10.3704 0V2.96296C10.3704 3.93383 11.1486 4.72296 12.1156 4.74044L12.1481 4.74074H15.1111V14.2222C15.1111 15.204 14.3152 16 13.3333 16H2.66666C1.68484 16 0.888885 15.204 0.888885 14.2222V1.77778C0.888885 0.795951 1.68484 0 2.66666 0H10.3704ZM12.7407 6.32099H3.25926C2.50587 6.32099 1.89333 6.92346 1.87684 7.67279L1.87654 7.7037V13.6296C1.87654 14.3829 2.47901 14.9956 3.22834 15.012L3.25926 15.0123H12.7407C13.494 15.0123 14.1067 14.4099 14.1232 13.6605L14.1235 13.6296V7.7037C14.1235 6.94005 13.5044 6.32099 12.7407 6.32099ZM11.0617 0L15.1111 4.04938H12.8395C11.8577 4.04938 11.0617 3.25343 11.0617 2.27161V0Z",fill:"#08979C"}),i.jsx("path",{d:"M5.73698 12.0266V10.1099H6.53905V9.48145H4.14844V10.1099H4.95051V12.0266H5.73698ZM7.5358 12.0266L8.0392 11.2089L8.54093 12.0266H9.42468L8.55831 10.714L9.35002 9.48145H8.49234L8.05481 10.2645L7.60345 9.48145H6.73718L7.5358 10.7002L6.65728 12.0266H7.5358ZM11.1054 12.0266V10.1099H11.9075V9.48145H9.51683V10.1099H10.3189V12.0266H11.1054Z",fill:"#08979C"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_21638_4630",children:i.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),$i=({className:e})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"8",viewBox:"0 0 10 8",className:e,fill:"currentColor",children:i.jsx("path",{d:"M9.5067 0.236399C9.33081 0.075254 9.09814 -0.00947067 8.85981 0.000842334C8.62149 0.0111553 8.39701 0.115663 8.2357 0.291399L3.4847 5.4714L1.6307 2.8764L1.5597 2.7884C1.40419 2.62083 1.19075 2.51872 0.962705 2.5028C0.734658 2.48687 0.509095 2.55832 0.331809 2.70264C0.154524 2.84697 0.0388021 3.05335 0.00813691 3.27988C-0.0225283 3.50642 0.0341613 3.73614 0.166697 3.9224L2.6667 7.4224L2.7427 7.5154C2.8275 7.60576 2.93004 7.67764 3.04391 7.72654C3.15778 7.77543 3.28052 7.80028 3.40444 7.79952C3.52836 7.79877 3.65079 7.77244 3.76406 7.72217C3.87733 7.6719 3.979 7.59879 4.0627 7.5074L9.5627 1.5074L9.6387 1.4124C9.76255 1.23353 9.81742 1.01586 9.79315 0.799654C9.76888 0.58345 9.66712 0.383356 9.5067 0.236399Z"})}),g3=({className:e})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",className:e,children:i.jsx("path",{d:"M12.6092 4.33894C12.4333 4.17779 12.2007 4.09307 11.9624 4.10338C11.724 4.11369 11.4995 4.2182 11.3382 4.39394L6.58724 9.57394L4.73324 6.97894L4.66224 6.89094C4.50673 6.72337 4.29329 6.62126 4.06524 6.60534C3.8372 6.58941 3.61163 6.66086 3.43435 6.80518C3.25706 6.94951 3.14134 7.15589 3.11068 7.38242C3.08001 7.60896 3.1367 7.83868 3.26924 8.02494L5.76924 11.5249L5.84524 11.6179C5.93003 11.7083 6.03258 11.7802 6.14645 11.8291C6.26032 11.878 6.38306 11.9028 6.50698 11.9021C6.6309 11.9013 6.75333 11.875 6.8666 11.8247C6.97987 11.7744 7.08154 11.7013 7.16524 11.6099L12.6652 5.60994L12.7412 5.51494C12.8651 5.33607 12.92 5.1184 12.8957 4.90219C12.8714 4.68599 12.7697 4.4859 12.6092 4.33894Z"})}),Sm=({size:e})=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[i.jsx("path",{d:"M20.2789 20.7891H3.72266C3.17188 20.7891 2.72656 20.3438 2.72656 19.793C2.72656 19.2422 3.17188 18.7969 3.72266 18.7969H20.2789C20.8297 18.7969 21.275 19.2422 21.275 19.793C21.275 20.3438 20.8297 20.7891 20.2789 20.7891Z",fill:"url(#paint0_linear_21740_6067)"}),i.jsx("path",{d:"M5.52148 17.6605H4.16211C3.72148 17.6605 3.36523 17.3043 3.36523 16.8637V12.9473C3.36523 12.5066 3.72148 12.1504 4.16211 12.1504H5.52148C5.96211 12.1504 6.31836 12.5066 6.31836 12.9473V16.8637C6.31836 17.302 5.95977 17.6605 5.52148 17.6605Z",fill:"url(#paint1_linear_21740_6067)"}),i.jsx("path",{d:"M10.2816 17.6602H8.94336C8.49805 17.6602 8.13477 17.2992 8.13477 16.8516V6.82969C8.13477 6.38437 8.4957 6.02109 8.94336 6.02109H10.2816C10.727 6.02109 11.0902 6.38203 11.0902 6.82969V16.8516C11.0902 17.2969 10.727 17.6602 10.2816 17.6602ZM15.0676 17.6602H13.7035C13.2652 17.6602 12.909 17.3039 12.909 16.8656V10.0031C12.909 9.56484 13.2652 9.20859 13.7035 9.20859H15.0676C15.5059 9.20859 15.8621 9.56484 15.8621 10.0031V16.8633C15.8621 17.3039 15.5059 17.6602 15.0676 17.6602ZM19.8371 17.6602H18.4824C18.0418 17.6602 17.6832 17.3016 17.6832 16.8609V4.01016C17.6832 3.56953 18.0418 3.21094 18.4824 3.21094H19.8371C20.2777 3.21094 20.6363 3.56953 20.6363 4.01016V16.8609C20.634 17.3016 20.2777 17.6602 19.8371 17.6602Z",fill:"url(#paint2_linear_21740_6067)"}),i.jsxs("defs",{children:[i.jsxs("linearGradient",{id:"paint0_linear_21740_6067",x1:"12.0008",y1:"18.7969",x2:"12.0008",y2:"20.7891",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint1_linear_21740_6067",x1:"4.8418",y1:"12.1504",x2:"4.8418",y2:"17.6605",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]}),i.jsxs("linearGradient",{id:"paint2_linear_21740_6067",x1:"14.3855",y1:"3.21094",x2:"14.3855",y2:"17.6602",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#0265FF"}),i.jsx("stop",{offset:"1",stopColor:"#A6FFFF"})]})]})]}),Lm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6671 1.00011C12.9743 0.99704 13.2792 1.05583 13.5636 1.17199C13.848 1.28815 14.1071 1.45962 14.3243 1.67687C14.5414 1.89404 14.7131 2.15236 14.8292 2.43664C14.9454 2.72105 15.0032 3.02593 15.0001 3.33312V12.6671C15.0032 12.9743 14.9453 13.2792 14.8292 13.5636C14.7131 13.8478 14.5414 14.1062 14.3243 14.3234C14.1071 14.5406 13.848 14.7131 13.5636 14.8292C13.2792 14.9453 12.9742 15.0032 12.6671 15.0001H3.33312C3.02597 15.0032 2.72101 14.9453 2.43664 14.8292C2.15225 14.7131 1.89409 14.5406 1.67687 14.3234C1.45971 14.1062 1.28811 13.8479 1.17199 13.5636C1.05583 13.2792 0.99704 12.9743 1.00011 12.6671V3.33312C0.997054 3.02593 1.05585 2.72105 1.17199 2.43664C1.28813 2.15232 1.45971 1.89405 1.67687 1.67687C1.89403 1.45972 2.15235 1.28814 2.43664 1.17199C2.72101 1.05586 3.02597 0.997071 3.33312 1.00011H12.6671ZM2.00011 10.5001V12.6153C2.00018 13.4001 2.60015 13.9999 3.38488 14.0001H5.00011V10.5001H2.00011ZM6.00011 10.5001V14.0001H10.0001V10.5001H6.00011ZM11.0001 10.5001V14.0001H12.6153C13.4003 14.0001 14.0001 13.4003 14.0001 12.6153V10.5001H11.0001ZM2.00011 9.50011H5.00011V6.50011H2.00011V9.50011ZM6.00011 9.50011H10.0001V6.50011H6.00011V9.50011ZM11.0001 9.50011H14.0001V6.50011H11.0001V9.50011ZM3.38488 2.00011C2.60022 2.00035 2.00029 2.6002 2.00011 3.38488V5.50011H14.0001V3.38488C13.9999 2.60005 13.4002 2.00012 12.6153 2.00011H3.38488Z"})}),Mm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M9.15595 1.42188V4.08854C9.15595 4.56004 9.34325 5.01222 9.67664 5.34562C10.01 5.67902 10.4622 5.86632 10.9337 5.86632H13.6004V13.8663C13.6004 14.1021 13.5067 14.3282 13.34 14.4949C13.1733 14.6616 12.9472 14.7552 12.7115 14.7552H3.28928C3.05353 14.7552 2.82744 14.6616 2.66074 14.4949C2.49404 14.3282 2.40039 14.1021 2.40039 13.8663V2.31076C2.40039 2.07502 2.49404 1.84892 2.66074 1.68222C2.82744 1.51553 3.05353 1.42188 3.28928 1.42188H9.15595ZM5.5115 8.53299C5.39363 8.53299 5.28058 8.57981 5.19723 8.66316C5.11388 8.74651 5.06706 8.85956 5.06706 8.97743C5.06706 9.0953 5.11388 9.20835 5.19723 9.2917C5.28058 9.37505 5.39363 9.42187 5.5115 9.42187H10.4893C10.6072 9.42187 10.7202 9.37505 10.8035 9.2917C10.8869 9.20835 10.9337 9.0953 10.9337 8.97743C10.9337 8.85956 10.8869 8.74651 10.8035 8.66316C10.7202 8.57981 10.6072 8.53299 10.4893 8.53299H5.5115ZM5.5115 11.1997C5.39363 11.1997 5.28058 11.2465 5.19723 11.3298C5.11388 11.4132 5.06706 11.5262 5.06706 11.6441C5.06706 11.762 5.11388 11.875 5.19723 11.9584C5.28058 12.0417 5.39363 12.0885 5.5115 12.0885H10.4893C10.6072 12.0885 10.7202 12.0417 10.8035 11.9584C10.8869 11.875 10.9337 11.762 10.9337 11.6441C10.9337 11.5262 10.8869 11.4132 10.8035 11.3298C10.7202 11.2465 10.6072 11.1997 10.4893 11.1997H5.5115ZM10.0448 1.42188L13.6004 4.97743H10.9337C10.698 4.97743 10.4719 4.88378 10.3052 4.71708C10.1385 4.55038 10.0448 4.32429 10.0448 4.08854V1.42188Z",fill:"#0265FF"})}),b3=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{d:"M13.6028 7.93734C13.6699 7.99362 13.7252 8.06255 13.7656 8.14022C13.8061 8.21788 13.8308 8.30275 13.8385 8.38998C13.8461 8.47721 13.8365 8.56509 13.8101 8.64859C13.7838 8.7321 13.7413 8.80961 13.685 8.87668L11.8059 11.1158L13.0219 13.2218C13.0663 13.2976 13.0954 13.3815 13.1073 13.4686C13.1192 13.5557 13.1137 13.6444 13.0913 13.7294C13.0688 13.8144 13.0297 13.8941 12.9763 13.9639C12.9229 14.0337 12.8562 14.0923 12.7801 14.1363C12.704 14.1803 12.6199 14.2087 12.5327 14.2201C12.4455 14.2314 12.3569 14.2254 12.2721 14.2023C12.1872 14.1793 12.1078 14.1397 12.0383 14.0858C11.9688 14.032 11.9107 13.9649 11.8672 13.8885L10.8939 12.2029L9.39966 13.9836C9.34386 14.0521 9.275 14.1089 9.19706 14.1506C9.11913 14.1923 9.03368 14.2181 8.94569 14.2264C8.8577 14.2348 8.76893 14.2256 8.68453 14.1993C8.60013 14.1731 8.5218 14.1303 8.45409 14.0735C8.38638 14.0167 8.33064 13.947 8.29011 13.8684C8.24959 13.7899 8.22509 13.704 8.21804 13.6159C8.21099 13.5278 8.22153 13.4392 8.24905 13.3552C8.27656 13.2712 8.32051 13.1935 8.37832 13.1267L10.1843 10.974L8.97832 8.88468C8.93386 8.80883 8.90483 8.72494 8.89292 8.63783C8.88101 8.55072 8.88645 8.46211 8.90892 8.37711C8.9314 8.29211 8.97046 8.2124 9.02386 8.14256C9.07727 8.07272 9.14396 8.01413 9.2201 7.97017C9.29624 7.92621 9.38033 7.89774 9.46751 7.88641C9.5547 7.87508 9.64327 7.8811 9.72812 7.90414C9.81297 7.92717 9.89242 7.96676 9.96191 8.02063C10.0314 8.0745 10.0895 8.14158 10.133 8.21801L11.0965 9.8869L12.6634 8.01957C12.7197 7.95248 12.7886 7.89714 12.8663 7.8567C12.944 7.81626 13.0288 7.79151 13.1161 7.78388C13.2033 7.77624 13.2912 7.78587 13.3747 7.8122C13.4582 7.83853 13.5357 7.88106 13.6028 7.93734ZM9.55566 1.77734C9.72919 1.77718 9.89595 1.84468 10.0205 1.96552C10.1451 2.08635 10.2176 2.25099 10.2227 2.42445C10.2278 2.59791 10.165 2.76652 10.0478 2.89445C9.93053 3.02238 9.76801 3.09955 9.59477 3.10957L9.55566 3.11068H9.25477C8.77582 3.11068 8.31278 3.28256 7.94984 3.59506C7.58689 3.90757 7.34814 4.33994 7.27699 4.81357L7.26899 4.87246L7.24032 5.11068H8.66677C8.72513 5.11068 8.78293 5.12217 8.83685 5.14451C8.89077 5.16684 8.93977 5.19958 8.98104 5.24085C9.02231 5.28212 9.05504 5.33112 9.07738 5.38504C9.09972 5.43896 9.11121 5.49676 9.11121 5.55512V5.99957C9.11121 6.11744 9.06439 6.23049 8.98104 6.31384C8.89769 6.39719 8.78464 6.44401 8.66677 6.44401H7.08032L6.49943 11.2856C6.40386 12.0824 6.02403 12.818 5.4297 13.3572C4.83536 13.8965 4.06642 14.2032 3.2641 14.2211L3.18988 14.2218H2.88899C2.71545 14.222 2.54869 14.1545 2.42414 14.0336C2.29959 13.9128 2.22706 13.7481 2.22197 13.5747C2.21687 13.4012 2.27962 13.2326 2.39687 13.1047C2.51412 12.9768 2.67663 12.8996 2.84988 12.8896L2.88899 12.8885H3.18988C3.66882 12.8884 4.13186 12.7166 4.49481 12.4041C4.85775 12.0916 5.09651 11.6592 5.16766 11.1856L5.17566 11.1267L5.73721 6.44401H4.22232C4.10445 6.44401 3.9914 6.39719 3.90805 6.31384C3.8247 6.23049 3.77788 6.11744 3.77788 5.99957V5.55512C3.77788 5.49676 3.78937 5.43896 3.81171 5.38504C3.83404 5.33112 3.86678 5.28212 3.90805 5.24085C3.94932 5.19958 3.99832 5.16684 4.05224 5.14451C4.10616 5.12217 4.16396 5.11068 4.22232 5.11068H5.89721L5.94521 4.71357C6.04078 3.91675 6.42061 3.18117 7.01495 2.6419C7.60928 2.10264 8.37822 1.79589 9.18054 1.77801L9.25477 1.77734H9.55566Z"})}),y3=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M12.7549 2.5C12.1757 2.5 11.7063 2.98638 11.7063 3.58637V20.4136C11.7063 21.0136 12.1757 21.5 12.7549 21.5C13.3341 21.5 13.8035 21.0136 13.8035 20.4136V3.58637C13.8035 2.98638 13.3341 2.5 12.7549 2.5ZM16.9494 14.9819C16.8105 14.9819 16.6729 15.0105 16.5448 15.0661C16.4166 15.1217 16.3004 15.2031 16.2028 15.3056L12.8052 18.8775L9.2965 15.2948C9.199 15.192 9.08274 15.1103 8.95449 15.0546C8.82623 14.9988 8.68855 14.97 8.54946 14.9699C8.41036 14.9698 8.27264 14.9983 8.1443 15.0539C8.01596 15.1095 7.89957 15.1909 7.80192 15.2935C7.70426 15.3961 7.62728 15.5179 7.57547 15.6516C7.52366 15.7853 7.49804 15.9284 7.50012 16.0725C7.50219 16.2165 7.53192 16.3588 7.58756 16.4908C7.6432 16.6229 7.72365 16.7422 7.82422 16.8417L12.0775 21.1871C12.2767 21.3892 12.5703 21.4348 12.822 21.5C13.1004 21.4977 13.3666 21.3813 13.5624 21.1762L17.6982 16.8309C17.8434 16.6782 17.9418 16.4844 17.981 16.2739C18.0202 16.0634 17.9984 15.8457 17.9184 15.648C17.8383 15.4503 17.7036 15.2816 17.5312 15.1631C17.3588 15.0445 17.1564 14.9815 16.9494 14.9819Z"})}),Em=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:i.jsx("path",{d:"M2.1875 4.0625C2.1875 3.56522 2.38504 3.08831 2.73667 2.73667C3.08831 2.38504 3.56522 2.1875 4.0625 2.1875H15.9375C16.4348 2.1875 16.9117 2.38504 17.2633 2.73667C17.615 3.08831 17.8125 3.56522 17.8125 4.0625V5H2.1875V4.0625ZM2.1875 6.25H17.8125V15.9375C17.8125 16.4348 17.615 16.9117 17.2633 17.2633C16.9117 17.615 16.4348 17.8125 15.9375 17.8125H4.0625C3.56522 17.8125 3.08831 17.615 2.73667 17.2633C2.38504 16.9117 2.1875 16.4348 2.1875 15.9375V6.25ZM5.42125 8.75C5.31033 8.75254 5.20465 8.79774 5.1262 8.8762C5.04774 8.95465 5.00254 9.06033 5 9.17125V10.8288C5 11.0538 5.19625 11.25 5.42125 11.25H7.075C7.3 11.25 7.49625 11.0538 7.49625 10.8288V9.17125C7.525 8.94625 7.32875 8.75 7.075 8.75H5.42125ZM9.17125 8.75C9.06033 8.75254 8.95465 8.79774 8.8762 8.8762C8.79774 8.95465 8.75254 9.06033 8.75 9.17125V10.8288C8.75 11.0538 8.94625 11.25 9.17125 11.25H10.825C11.05 11.25 11.2463 11.0538 11.2463 10.8288V9.17125C11.275 8.94625 11.0787 8.75 10.825 8.75H9.17125ZM14.5763 8.75H12.9212C12.8103 8.75254 12.7047 8.79774 12.6262 8.8762C12.5477 8.95465 12.5025 9.06033 12.5 9.17125V10.8288C12.5 11.0538 12.6962 11.25 12.9212 11.25H14.5763C14.8013 11.25 14.9975 11.0538 14.9975 10.8288V9.17125C15.025 8.94625 14.8288 8.75 14.5763 8.75ZM5.42125 13C5.31033 13.0025 5.20465 13.0477 5.1262 13.1262C5.04774 13.2047 5.00254 13.3103 5 13.4213V15.0787C5 15.3038 5.19625 15.5 5.42125 15.5H7.075C7.3 15.5 7.49625 15.3038 7.49625 15.0787V13.4213C7.52375 13.1963 7.3275 13 7.075 13H5.42125ZM10.8263 13H9.17125C9.06033 13.0025 8.95465 13.0477 8.8762 13.1262C8.79774 13.2047 8.75254 13.3103 8.75 13.4213V15.0787C8.75 15.3038 8.94625 15.5 9.17125 15.5H10.825C11.05 15.5 11.2463 15.3038 11.2463 15.0787V13.4213C11.2737 13.1963 11.0775 13 10.825 13H10.8263ZM12.9212 13C12.8103 13.0025 12.7047 13.0477 12.6262 13.1262C12.5477 13.2047 12.5025 13.3103 12.5 13.4213V15.0787C12.5 15.3038 12.6962 15.5 12.9212 15.5H14.5763C14.8013 15.5 14.9975 15.3038 14.9975 15.0787V13.4213C15.025 13.1963 14.8288 13 14.5763 13H12.9212Z"})}),Nm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M12.6671 15.0001H3.33312C3.02589 15.0032 2.72113 14.9449 2.43669 14.8288C2.15225 14.7126 1.89384 14.5409 1.67658 14.3236C1.45933 14.1064 1.2876 13.848 1.17144 13.5635C1.05529 13.2791 0.997041 12.9743 1.00012 12.6671V3.33312C0.997041 3.02589 1.05529 2.72113 1.17144 2.43669C1.2876 2.15225 1.45933 1.89384 1.67658 1.67658C1.89384 1.45933 2.15225 1.2876 2.43669 1.17144C2.72113 1.05529 3.02589 0.997041 3.33312 1.00012H12.6671C12.9743 0.997041 13.2791 1.05529 13.5635 1.17144C13.848 1.2876 14.1064 1.45933 14.3236 1.67658C14.5409 1.89384 14.7126 2.15225 14.8288 2.43669C14.9449 2.72113 15.0032 3.02589 15.0001 3.33312V12.6671C15.0032 12.9743 14.9449 13.2791 14.8288 13.5635C14.7126 13.848 14.5409 14.1064 14.3236 14.3236C14.1064 14.5409 13.848 14.7126 13.5635 14.8288C13.2791 14.9449 12.9743 15.0032 12.6671 15.0001ZM3.38512 2.00012C2.60012 2.00012 2.00012 2.60012 2.00012 3.38512V12.6151C2.00012 13.4001 2.60012 14.0001 3.38512 14.0001H12.6151C13.4001 14.0001 14.0001 13.4001 14.0001 12.6151V3.38512C14.0001 2.60012 13.4001 2.00012 12.6151 2.00012H3.38512Z"}),i.jsx("path",{d:"M9.74995 10.5C9.87489 10.4998 9.9954 10.5463 10.0877 10.6305C10.1801 10.7147 10.2375 10.8304 10.2488 10.9548C10.2601 11.0793 10.2244 11.2034 10.1487 11.3028C10.073 11.4023 9.96289 11.4697 9.83995 11.492L9.74995 11.5H4.24995C4.125 11.5002 4.00449 11.4537 3.91216 11.3695C3.81983 11.2853 3.76236 11.1696 3.75107 11.0452C3.73978 10.9207 3.77549 10.7966 3.85116 10.6972C3.92684 10.5977 4.037 10.5303 4.15994 10.508L4.24995 10.5H9.74995ZM11.9999 7.5C12.1249 7.49977 12.2454 7.54633 12.3377 7.63051C12.4301 7.71469 12.4875 7.83039 12.4988 7.95482C12.5101 8.07926 12.4744 8.20341 12.3987 8.30283C12.323 8.40225 12.2129 8.46974 12.0899 8.492L11.9999 8.5H5.49995C5.375 8.50023 5.25449 8.45367 5.16216 8.36949C5.06983 8.28531 5.01236 8.16961 5.00107 8.04518C4.98978 7.92074 5.02549 7.79659 5.10116 7.69717C5.17684 7.59775 5.287 7.53026 5.40995 7.508L5.49995 7.5H11.9999ZM6.99995 4.5C7.12489 4.49977 7.2454 4.54633 7.33773 4.63051C7.43006 4.71469 7.48753 4.83039 7.49882 4.95482C7.51011 5.07926 7.4744 5.20341 7.39873 5.30283C7.32305 5.40225 7.21289 5.46974 7.08995 5.492L6.99995 5.5H3.49995C3.375 5.50023 3.25449 5.45367 3.16216 5.36949C3.06983 5.28531 3.01236 5.16961 3.00107 5.04518C2.98978 4.92074 3.02549 4.79659 3.10116 4.69717C3.17684 4.59775 3.287 4.53026 3.40995 4.508L3.49995 4.5H6.99995Z"})]}),Fm=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:i.jsx("path",{d:"M12.964 1C14.109 1 15 1.98 15 3.24V12.76C15 14.021 14.11 15 13.027 15H2.973C1.89 15 1 14.021 1 12.76V3.24C1 1.98 1.89 1 2.973 1H12.963H12.964ZM10.137 6.047H1.954V12.76C1.954 13.39 2.399 13.88 2.972 13.88H10.137V6.047ZM13.981 6.047H11.137V13.88H12.964C13.537 13.88 13.981 13.39 13.981 12.76V6.047ZM12.964 2.12H2.973C2.4 2.12 1.955 2.61 1.955 3.24L1.954 5.017H13.981V3.24C13.981 2.61 13.537 2.12 12.964 2.12Z"})}),Tm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:[i.jsx("path",{d:"M16.25 1.25C16.9404 1.25 17.5 1.80964 17.5 2.5V5C17.5 5.69036 16.9404 6.25 16.25 6.25H3.75C3.05964 6.25 2.5 5.69036 2.5 5V2.5C2.5 1.80964 3.05964 1.25 3.75 1.25H16.25ZM6.25 2.5C5.55964 2.5 5 3.05964 5 3.75C5 4.44036 5.55964 5 6.25 5C6.94036 5 7.5 4.44036 7.5 3.75C7.5 3.05964 6.94036 2.5 6.25 2.5Z"}),i.jsx("path",{d:"M16.25 7.5C16.9404 7.5 17.5 8.05964 17.5 8.75V11.25C17.5 11.9404 16.9404 12.5 16.25 12.5H3.75C3.05964 12.5 2.5 11.9404 2.5 11.25V8.75C2.5 8.05964 3.05964 7.5 3.75 7.5H16.25ZM6.25 8.75C5.55964 8.75 5 9.30964 5 10C5 10.6904 5.55964 11.25 6.25 11.25C6.94036 11.25 7.5 10.6904 7.5 10C7.5 9.30964 6.94036 8.75 6.25 8.75Z"}),i.jsx("path",{d:"M16.25 13.75C16.9404 13.75 17.5 14.3096 17.5 15V17.5C17.5 18.1904 16.9404 18.75 16.25 18.75H3.75C3.05964 18.75 2.5 18.1904 2.5 17.5V15C2.5 14.3096 3.05964 13.75 3.75 13.75H16.25ZM6.25 15C5.55964 15 5 15.5596 5 16.25C5 16.9404 5.55964 17.5 6.25 17.5C6.94036 17.5 7.5 16.9404 7.5 16.25C7.5 15.5596 6.94036 15 6.25 15Z"})]}),_m=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:i.jsx("path",{d:"M1.25 18.2377V15.9502H18.75V18.2377H1.25ZM16.4075 5.4427L16.4062 6.6677L16.4075 6.66895V14.7227L16.4062 14.7214L16.4075 14.7239H12.8912V5.4427H16.4075ZM11.7212 1.7627L11.72 3.1177H11.7212V14.7239H9.4875V14.7227H8.205V1.7627H11.7212ZM7.035 7.76644L7.03375 9.08395L7.035 9.0852V14.7239L3.52 14.7227V7.76644H7.035Z"})}),w3=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15",fill:"currentColor",children:i.jsx("path",{d:"M14.72 2.64C14.72 2.16 14.56 1.76 14.24 1.44L13.28 0.48C12.64 -0.16 11.6 -0.16 10.96 0.48L8.8 2.64L7.04 0.96C6.4 0.32 5.36 0.32 4.72 0.96L3.12 2.56L0.48 5.28C0.16 5.6 0 6 0 6.4C0 6.8 0.16 7.28 0.48 7.6L2 9.12L7.12 14.24C7.44 14.56 7.84 14.72 8.24 14.72H8.32C8.72 14.72 9.2 14.56 9.52 14.24L12.08 11.68C12.08 11.68 12.16 11.68 12.16 11.6C12.16 11.6 12.16 11.52 12.24 11.52L13.76 10C14.08 9.68 14.24 9.28 14.24 8.8C14.24 8.32 14.08 7.92 13.76 7.6L12.08 5.92L14.24 3.76C14.48 3.44 14.72 3.04 14.72 2.64ZM8.64 13.44C8.56 13.52 8.4 13.6 8.24 13.6H8.16C8 13.6 7.92 13.52 7.76 13.44L6.8 12.48L7.6 11.68C7.84 11.44 7.84 11.12 7.6 10.88C7.36 10.64 7.04 10.64 6.8 10.88L6 11.68L4.96 10.64L6.24 9.36C6.48 9.12 6.48 8.8 6.24 8.56C6 8.32 5.68 8.32 5.44 8.56L4.16 9.84L2.96 8.64L3.6 8C3.84 7.76 3.84 7.44 3.6 7.2C3.36 6.96 3.04 6.96 2.8 7.2L2.16 7.84L1.2 6.8C1.12 6.72 1.12 6.56 1.12 6.4C1.12 6.24 1.2 6.16 1.28 6L3.52 3.76L10.96 11.2L8.64 13.44ZM13.44 2.96L10.88 5.52C10.64 5.76 10.64 6.08 10.88 6.32L12.96 8.4C13.04 8.48 13.12 8.64 13.12 8.8C13.12 8.96 13.04 9.04 12.96 9.2L11.68 10.4L4.32 2.96L5.52 1.76C5.68 1.6 6.08 1.6 6.24 1.76L8.32 3.84C8.56 4.08 8.88 4.08 9.12 3.84L11.68 1.28C11.84 1.12 12.24 1.12 12.4 1.28L13.36 2.24C13.44 2.32 13.52 2.48 13.52 2.64C13.52 2.8 13.52 2.88 13.44 2.96Z"})}),Am=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"#121111"}),i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.25781 1.99119C9.51918 1.99119 9.75287 2.15339 9.84375 2.39841C11.0662 5.70202 13.672 8.3078 16.9756 9.53025C17.2203 9.62127 17.3828 9.85501 17.3828 10.1162C17.3826 10.3773 17.2203 10.6112 16.9756 10.7021C13.672 11.9246 11.0662 14.5294 9.84375 17.833C9.75288 18.078 9.51919 18.2412 9.25781 18.2412C8.99643 18.2412 8.76274 18.078 8.67188 17.833C7.4495 14.5296 4.84434 11.9247 1.54102 10.7021C1.29611 10.6113 1.133 10.3774 1.13281 10.1162C1.13281 9.85481 1.29597 9.62112 1.54102 9.53025C4.84449 8.30776 7.44947 5.70192 8.67188 2.39841L8.71191 2.31052C8.82109 2.11518 9.02907 1.99119 9.25781 1.99119ZM9.25781 4.18064C7.97127 6.74645 5.88903 8.8296 3.32324 10.1162C5.88854 11.4026 7.97129 13.4845 9.25781 16.0498C10.5442 13.4848 12.6265 11.4027 15.1914 10.1162C12.626 8.82957 10.5442 6.74619 9.25781 4.18064ZM15.9375 1.89451C16.0048 1.71358 16.2609 1.71352 16.3281 1.89451L16.9766 3.64744L18.7295 4.29685C18.9109 4.36397 18.9109 4.62036 18.7295 4.68748L16.9766 5.33591L16.3281 7.08884C16.261 7.27016 16.0047 7.2701 15.9375 7.08884L15.2891 5.33591L13.5361 4.68748C13.3548 4.62036 13.3548 4.36397 13.5361 4.29685L15.2891 3.64744L15.9375 1.89451Z",fill:"black","fill-opacity":"0.2"})]}),Dm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"#121111"}),i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M13.4288 1.98975H6.57004C6.20662 1.98974 5.84961 2.0854 5.53487 2.26711C5.22014 2.44882 4.95879 2.71017 4.77708 3.0249L1.34768 8.96481C1.16597 9.27953 1.07031 9.63655 1.07031 9.99996C1.07031 10.3634 1.16597 10.7204 1.34768 11.0351L4.7771 16.975C4.9588 17.2897 5.22016 17.5511 5.53489 17.7328C5.84961 17.9145 6.20663 18.0102 6.57004 18.0102H13.4288C13.7923 18.0102 14.1493 17.9145 14.464 17.7328C14.7787 17.5511 15.0401 17.2898 15.2218 16.975L18.6512 11.0351C18.8329 10.7204 18.9286 10.3634 18.9286 9.99996C18.9286 9.63655 18.8329 9.27953 18.6512 8.96481L15.2218 3.0249C15.0401 2.71017 14.7787 2.44882 14.464 2.26711C14.1493 2.08541 13.7923 1.98975 13.4288 1.98975ZM14.0039 3.72803L17.4333 9.66793C17.4916 9.76888 17.5223 9.88339 17.5223 9.99996C17.5223 10.1165 17.4916 10.231 17.4333 10.332L14.0039 16.2719C13.9456 16.3728 13.8618 16.4567 13.7609 16.515C13.6599 16.5732 13.5454 16.6039 13.4288 16.6039H6.57004C6.45348 16.6039 6.33896 16.5732 6.23801 16.515C6.13706 16.4567 6.05323 16.3728 5.99495 16.2719L2.56553 10.332C2.50725 10.231 2.47657 10.1165 2.47657 9.99996C2.47657 9.88339 2.50725 9.76888 2.56553 9.66793L5.99495 3.72803C6.05323 3.62708 6.13706 3.54325 6.23801 3.48496C6.33896 3.42668 6.45348 3.396 6.57004 3.396H13.4288C13.5437 3.39599 13.6566 3.42578 13.7565 3.48244C13.8564 3.5391 13.9399 3.62071 13.9988 3.71928L14.0039 3.72803Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"#121111"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M10 6.38672C8.00443 6.38672 6.38672 8.00443 6.38672 10C6.38672 11.9956 8.00443 13.6133 10 13.6133C11.9956 13.6133 13.6133 11.9956 13.6133 10C13.6133 8.00443 11.9956 6.38672 10 6.38672ZM10 7.79297C11.2189 7.79297 12.207 8.78109 12.207 10C12.207 11.2189 11.2189 12.207 10 12.207C8.78109 12.207 7.79297 11.2189 7.79297 10C7.79297 8.78109 8.78109 7.79297 10 7.79297Z",fill:"black","fill-opacity":"0.2"})]}),Om=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"#121111"}),i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M4.63375 3.75H6.875C7.04076 3.75 7.19973 3.68415 7.31694 3.56694C7.43415 3.44973 7.5 3.29076 7.5 3.125C7.5 2.95924 7.43415 2.80027 7.31694 2.68306C7.19973 2.56585 7.04076 2.5 6.875 2.5H3.125C2.95924 2.5 2.80027 2.56585 2.68306 2.68306C2.56585 2.80027 2.5 2.95924 2.5 3.125V6.875C2.5 7.04076 2.56585 7.19973 2.68306 7.31694C2.80027 7.43415 2.95924 7.5 3.125 7.5C3.29076 7.5 3.44973 7.43415 3.56694 7.31694C3.68415 7.19973 3.75 7.04076 3.75 6.875V4.63375L6.4325 7.31625C6.49015 7.37594 6.55912 7.42356 6.63537 7.45631C6.71162 7.48907 6.79364 7.50631 6.87662 7.50703C6.95961 7.50775 7.04191 7.49194 7.11872 7.46051C7.19553 7.42909 7.26531 7.38268 7.324 7.324C7.38268 7.26531 7.42909 7.19553 7.46051 7.11872C7.49194 7.04191 7.50775 6.95961 7.50703 6.87662C7.50631 6.79364 7.48907 6.71162 7.45631 6.63537C7.42356 6.55912 7.37594 6.49015 7.31625 6.4325L4.63375 3.75ZM16.25 4.63375V6.875C16.25 7.04076 16.3158 7.19973 16.4331 7.31694C16.5503 7.43415 16.7092 7.5 16.875 7.5C17.0408 7.5 17.1997 7.43415 17.3169 7.31694C17.4342 7.19973 17.5 7.04076 17.5 6.875V3.125C17.5 2.95924 17.4342 2.80027 17.3169 2.68306C17.1997 2.56585 17.0408 2.5 16.875 2.5H13.125C12.9592 2.5 12.8003 2.56585 12.6831 2.68306C12.5658 2.80027 12.5 2.95924 12.5 3.125C12.5 3.29076 12.5658 3.44973 12.6831 3.56694C12.8003 3.68415 12.9592 3.75 13.125 3.75H15.3663L12.6838 6.4325C12.6241 6.49015 12.5764 6.55912 12.5437 6.63537C12.5109 6.71162 12.4937 6.79364 12.493 6.87662C12.4922 6.95961 12.5081 7.04191 12.5395 7.11872C12.5709 7.19553 12.6173 7.26531 12.676 7.324C12.7347 7.38268 12.8045 7.42909 12.8813 7.46051C12.9581 7.49194 13.0404 7.50775 13.1234 7.50703C13.2064 7.50631 13.2884 7.48907 13.3646 7.45631C13.4409 7.42356 13.5098 7.37594 13.5675 7.31625L16.25 4.63375ZM4.63375 16.25H6.875C7.04076 16.25 7.19973 16.3158 7.31694 16.4331C7.43415 16.5503 7.5 16.7092 7.5 16.875C7.5 17.0408 7.43415 17.1997 7.31694 17.3169C7.19973 17.4342 7.04076 17.5 6.875 17.5H3.125C2.95924 17.5 2.80027 17.4342 2.68306 17.3169C2.56585 17.1997 2.5 17.0408 2.5 16.875V13.125C2.5 12.9592 2.56585 12.8003 2.68306 12.6831C2.80027 12.5658 2.95924 12.5 3.125 12.5C3.29076 12.5 3.44973 12.5658 3.56694 12.6831C3.68415 12.8003 3.75 12.9592 3.75 13.125V15.3663L6.4325 12.6838C6.49015 12.6241 6.55912 12.5764 6.63537 12.5437C6.71162 12.5109 6.79364 12.4937 6.87662 12.493C6.95961 12.4922 7.04191 12.5081 7.11872 12.5395C7.19553 12.5709 7.26531 12.6173 7.324 12.676C7.38268 12.7347 7.42909 12.8045 7.46051 12.8813C7.49194 12.9581 7.50775 13.0404 7.50703 13.1234C7.50631 13.2064 7.48907 13.2884 7.45631 13.3646C7.42356 13.4409 7.37594 13.5098 7.31625 13.5675L4.63375 16.25ZM16.25 15.3663V13.125C16.25 12.9592 16.3158 12.8003 16.4331 12.6831C16.5503 12.5658 16.7092 12.5 16.875 12.5C17.0408 12.5 17.1997 12.5658 17.3169 12.6831C17.4342 12.8003 17.5 12.9592 17.5 13.125V16.875C17.5 17.0408 17.4342 17.1997 17.3169 17.3169C17.1997 17.4342 17.0408 17.5 16.875 17.5H13.125C12.9592 17.5 12.8003 17.4342 12.6831 17.3169C12.5658 17.1997 12.5 17.0408 12.5 16.875C12.5 16.7092 12.5658 16.5503 12.6831 16.4331C12.8003 16.3158 12.9592 16.25 13.125 16.25H15.3663L12.6838 13.5675C12.6241 13.5098 12.5764 13.4409 12.5437 13.3646C12.5109 13.2884 12.4937 13.2064 12.493 13.1234C12.4922 13.0404 12.5081 12.9581 12.5395 12.8813C12.5709 12.8045 12.6173 12.7347 12.676 12.676C12.7347 12.6173 12.8045 12.5709 12.8813 12.5395C12.9581 12.5081 13.0404 12.4922 13.1234 12.493C13.2064 12.4937 13.2884 12.5109 13.3646 12.5437C13.4409 12.5764 13.5098 12.6241 13.5675 12.6838L16.25 15.3663Z",fill:"black","fill-opacity":"0.2"})]}),Ui=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"#121111"}),i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M2.35156 3.99961C2.35156 3.82722 2.42004 3.66189 2.54194 3.53999C2.66384 3.41809 2.82917 3.34961 3.00156 3.34961H13.0016C13.174 3.34961 13.3393 3.41809 13.4612 3.53999C13.5831 3.66189 13.6516 3.82722 13.6516 3.99961C13.6516 4.172 13.5831 4.33733 13.4612 4.45923C13.3393 4.58113 13.174 4.64961 13.0016 4.64961H3.00156C2.82917 4.64961 2.66384 4.58113 2.54194 4.45923C2.42004 4.33733 2.35156 4.172 2.35156 3.99961ZM2.35156 7.99961C2.35156 7.82722 2.42004 7.66189 2.54194 7.53999C2.66384 7.41809 2.82917 7.34961 3.00156 7.34961H10.0016C10.174 7.34961 10.3393 7.41809 10.4612 7.53999C10.5831 7.66189 10.6516 7.82722 10.6516 7.99961C10.6516 8.172 10.5831 8.33733 10.4612 8.45923C10.3393 8.58113 10.174 8.64961 10.0016 8.64961H3.00156C2.82917 8.64961 2.66384 8.58113 2.54194 8.45923C2.42004 8.33733 2.35156 8.172 2.35156 7.99961ZM3.00156 11.3496C2.82917 11.3496 2.66384 11.4181 2.54194 11.54C2.42004 11.6619 2.35156 11.8272 2.35156 11.9996C2.35156 12.172 2.42004 12.3373 2.54194 12.4592C2.66384 12.5811 2.82917 12.6496 3.00156 12.6496H8.00156C8.17395 12.6496 8.33928 12.5811 8.46118 12.4592C8.58308 12.3373 8.65156 12.172 8.65156 11.9996C8.65156 11.8272 8.58308 11.6619 8.46118 11.54C8.33928 11.4181 8.17395 11.3496 8.00156 11.3496H3.00156Z",fill:"black","fill-opacity":"0.2"})]}),Pm=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[i.jsxs("g",{"clip-path":"url(#clip0_26973_22856)",children:[i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"#121111"}),i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M15.2937 12.8547C15.3571 12.7918 15.4074 12.7171 15.4417 12.6347C15.476 12.5523 15.4936 12.4639 15.4936 12.3747C15.4936 12.2855 15.476 12.1971 15.4417 12.1147C15.4074 12.0323 15.3571 11.9576 15.2937 11.8947L14.1962 10.8072H19.3263C19.5067 10.8056 19.6794 10.7336 19.8075 10.6066C19.9357 10.4796 20.0093 10.3076 20.0125 10.1272C20.0093 9.94679 19.9357 9.77477 19.8075 9.64777C19.6794 9.52076 19.5067 9.4488 19.3263 9.4472L14.205 9.45595L15.2925 8.37595C15.3557 8.31311 15.4058 8.23841 15.44 8.15615C15.4742 8.07388 15.4918 7.98567 15.4918 7.89658C15.4918 7.80749 15.4742 7.71927 15.44 7.63701C15.4058 7.55474 15.3557 7.48004 15.2925 7.4172C15.1633 7.29062 14.9896 7.21973 14.8087 7.21973C14.6279 7.21973 14.4542 7.29062 14.325 7.4172L12.0687 9.6547C12.0054 9.71756 11.9551 9.79234 11.9208 9.87472C11.8865 9.9571 11.8689 10.0455 11.8689 10.1347C11.8689 10.2239 11.8865 10.3123 11.9208 10.3947C11.9551 10.4771 12.0054 10.5518 12.0687 10.6147L14.3262 12.8547C14.4555 12.9817 14.6294 13.0528 14.8106 13.0528C14.9918 13.0528 15.1657 12.9817 15.295 12.8547H15.2937ZM5.80625 10.8072L4.71 11.8947C4.64666 11.9576 4.59638 12.0323 4.56208 12.1147C4.52777 12.1971 4.51011 12.2855 4.51011 12.3747C4.51011 12.4639 4.52777 12.5523 4.56208 12.6347C4.59638 12.7171 4.64666 12.7918 4.71 12.8547C4.8392 12.9813 5.01287 13.0522 5.19375 13.0522C5.37463 13.0522 5.5483 12.9813 5.6775 12.8547L7.93625 10.6147C7.9994 10.5519 8.04952 10.4772 8.08372 10.3949C8.11791 10.3126 8.13552 10.2244 8.13552 10.1353C8.13552 10.0462 8.11791 9.95802 8.08372 9.87576C8.04952 9.79349 7.9994 9.71879 7.93625 9.65595L5.67875 7.4172C5.54955 7.29062 5.37588 7.21973 5.195 7.21973C5.01412 7.21973 4.84045 7.29062 4.71125 7.4172C4.6481 7.48004 4.59798 7.55474 4.56378 7.63701C4.52959 7.71927 4.51198 7.80749 4.51198 7.89658C4.51198 7.98567 4.52959 8.07388 4.56378 8.15615C4.59798 8.23841 4.6481 8.31311 4.71125 8.37595L5.8 9.45595H0.68625C0.505817 9.45755 0.333134 9.52951 0.204961 9.65652C0.0767887 9.78352 0.00324995 9.95554 0 10.136C0 10.5035 0.30625 10.8072 0.68625 10.8147L5.8075 10.8072H5.80625Z",fill:"black","fill-opacity":"0.2"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_26973_22856",children:i.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Im=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"#121111"}),i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"black","fill-opacity":"0.2"}),i.jsx("path",{d:"M16.573 12.8547C16.5097 12.7918 16.4594 12.7171 16.4251 12.6347C16.3908 12.5523 16.3731 12.4639 16.3731 12.3747C16.3731 12.2855 16.3908 12.1971 16.4251 12.1147C16.4594 12.0323 16.5097 11.9576 16.573 11.8947L17.6705 10.8072H12.5393C12.359 10.8053 12.1867 10.7332 12.0588 10.6062C11.9309 10.4792 11.8575 10.3074 11.8543 10.1272C11.8543 9.7597 12.1605 9.45595 12.5393 9.4472L17.6618 9.45595L16.573 8.37595C16.5099 8.31311 16.4597 8.23841 16.4256 8.15615C16.3914 8.07388 16.3738 7.98567 16.3738 7.89658C16.3738 7.80749 16.3914 7.71927 16.4256 7.63701C16.4597 7.55474 16.5099 7.48004 16.573 7.4172C16.7022 7.29062 16.8759 7.21973 17.0568 7.21973C17.2376 7.21973 17.4113 7.29062 17.5405 7.4172L19.7993 9.6547C19.8626 9.71756 19.9129 9.79234 19.9472 9.87472C19.9815 9.9571 19.9992 10.0455 19.9992 10.1347C19.9992 10.2239 19.9815 10.3123 19.9472 10.3947C19.9129 10.4771 19.8626 10.5518 19.7993 10.6147L17.5405 12.8547C17.4113 12.9813 17.2376 13.0522 17.0568 13.0522C16.8759 13.0522 16.7022 12.9813 16.573 12.8547ZM2.32802 10.8072L3.42552 11.8947C3.48886 11.9576 3.53913 12.0323 3.57344 12.1147C3.60775 12.1971 3.62541 12.2855 3.62541 12.3747C3.62541 12.4639 3.60775 12.5523 3.57344 12.6347C3.53913 12.7171 3.48886 12.7918 3.42552 12.8547C3.29631 12.9813 3.12264 13.0522 2.94177 13.0522C2.76089 13.0522 2.58722 12.9813 2.45802 12.8547L0.199266 10.6147C0.136112 10.5519 0.085997 10.4772 0.0518005 10.3949C0.017604 10.3126 0 10.2244 0 10.1353C0 10.0462 0.017604 9.95802 0.0518005 9.87576C0.085997 9.79349 0.136112 9.71879 0.199266 9.65595L2.45802 7.4172C2.58722 7.29062 2.76089 7.21973 2.94177 7.21973C3.12264 7.21973 3.29631 7.29062 3.42552 7.4172C3.48867 7.48004 3.53879 7.55474 3.57298 7.63701C3.60718 7.71927 3.62478 7.80749 3.62478 7.89658C3.62478 7.98567 3.60718 8.07388 3.57298 8.15615C3.53879 8.23841 3.48867 8.31311 3.42552 8.37595L2.33677 9.45595H7.44927C7.82052 9.45595 8.12677 9.7597 8.13552 10.136C8.13194 10.3161 8.05826 10.4878 7.93013 10.6146C7.80199 10.7413 7.62949 10.8131 7.44927 10.8147L2.32677 10.8072H2.32802Z",fill:"black","fill-opacity":"0.2"})]}),qi=({fill:e="currentColor",size:t=28})=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 28 28",fill:e,children:[i.jsx("path",{d:"M25.0691 7.13125L14.5254 1.00625C14.2629 0.83125 13.9129 0.83125 13.6066 1.00625L2.97539 7.0875C2.74781 7.23922 2.58599 7.4896 2.51846 7.7531C2.4979 7.83332 2.49414 7.91656 2.49414 7.99937V20.0813C2.49414 20.3875 2.66914 20.6938 2.93164 20.8687L13.4754 26.9937C13.6066 27.0813 13.7816 27.125 13.9566 27.125C14.1316 27.125 14.2629 27.0813 14.3941 26.9937L24.9816 20.9125C25.2441 20.7375 25.4191 20.4312 25.4629 20.125L25.5066 7.91875C25.5066 7.6125 25.3316 7.30625 25.0691 7.13125ZM23.6293 18.5919C23.6269 19.2159 23.2923 19.7914 22.7513 20.1023L14.834 24.6521C14.2912 24.964 13.6231 24.9622 13.082 24.6474L5.20553 20.0647C4.66481 19.7501 4.33315 19.1708 4.33561 18.5452L4.37144 9.40814C4.37388 8.78412 4.70844 8.20861 5.24949 7.89769L13.1668 3.34793C13.7096 3.03601 14.3777 3.0378 14.9188 3.35263L22.7953 7.93531C23.336 8.2499 23.6676 8.82921 23.6652 9.45478L23.6293 18.5919Z",fill:"#4ACCC1"}),i.jsx("path",{d:"M8.35656 9.88664C7.91906 9.62414 7.35031 9.75539 7.08781 10.1929C6.82531 10.6304 6.95656 11.1991 7.39406 11.4616L13.0816 14.9616L13.1691 20.2116C13.1691 20.6929 13.6066 21.1304 14.0878 21.1304C14.6128 21.1304 15.0066 20.6929 15.0066 20.2116L14.8753 15.0054L20.6066 11.4616C21.0441 11.1991 21.1753 10.6304 20.9128 10.1929C20.6503 9.75539 20.0816 9.62414 19.6441 9.88664L14.0003 13.3866L8.35656 9.88664Z",fill:"#4ACCC1"})]}),Yi=({size:e=28})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 28 28",fill:"none",children:i.jsx("path",{d:"M22.3125 23.625C22.1398 23.6248 21.9688 23.5905 21.8094 23.5242C21.6499 23.4579 21.505 23.3609 21.3831 23.2386C21.2611 23.1163 21.1644 22.9712 21.0986 22.8115C21.0327 22.6519 20.9989 22.4808 20.9991 22.3081C20.9994 22.1354 21.0336 21.9645 21.0999 21.805C21.1662 21.6455 21.2633 21.5007 21.3856 21.3787C21.5078 21.2567 21.6529 21.1601 21.8126 21.0942C21.9722 21.0283 22.1433 20.9945 22.316 20.9947C22.6648 20.9952 22.9991 21.1342 23.2454 21.3812C23.4917 21.6281 23.6298 21.9628 23.6294 22.3116C23.6289 22.6604 23.4899 22.9947 23.2429 23.241C22.996 23.4874 22.6613 23.6255 22.3125 23.625ZM14 12.6875C14.3481 12.6875 14.6819 12.8258 14.9281 13.0719C15.1742 13.3181 15.3125 13.6519 15.3125 14C15.3125 14.3481 15.1742 14.6819 14.9281 14.9281C14.6819 15.1742 14.3481 15.3125 14 15.3125C13.6519 15.3125 13.3181 15.1742 13.0719 14.9281C12.8258 14.6819 12.6875 14.3481 12.6875 14C12.6875 13.6519 12.8258 13.3181 13.0719 13.0719C13.3181 12.8258 13.6519 12.6875 14 12.6875ZM5.6875 7C5.51491 6.99977 5.34406 6.96555 5.18469 6.89929C5.02533 6.83303 4.88057 6.73603 4.7587 6.61383C4.51256 6.36703 4.37454 6.03256 4.375 5.684C4.37546 5.33544 4.51437 5.00134 4.76117 4.7552C5.00797 4.50906 5.34244 4.37104 5.691 4.3715C6.03956 4.37196 6.37366 4.51087 6.6198 4.75767C6.86594 5.00447 7.00396 5.33894 7.0035 5.6875C7.00304 6.03606 6.86413 6.37016 6.61733 6.6163C6.37053 6.86244 6.03606 7.00046 5.6875 7ZM22.3125 19.25C20.7725 19.25 19.495 20.3927 19.2815 21.875H9.352C8.49643 21.8741 7.67617 21.5338 7.07119 20.9288C6.46621 20.3238 6.12593 19.5036 6.125 18.648V17.9918C6.125 16.2137 7.57225 14.7665 9.352 14.7665H11.0337C11.205 15.4231 11.589 16.0046 12.1256 16.4199C12.6623 16.8353 13.3214 17.0613 14 17.0625C15.4245 17.0625 16.625 16.0842 16.9662 14.7665H18.648C19.9676 14.7651 21.2327 14.2403 22.1657 13.3072C23.0988 12.3742 23.6236 11.1091 23.625 9.7895C23.6236 8.46994 23.0988 7.20483 22.1657 6.27176C21.2327 5.3387 19.9676 4.81389 18.648 4.8125H8.6205C8.43141 4.18122 8.04407 3.62761 7.51582 3.23362C6.98757 2.83964 6.34649 2.62624 5.6875 2.625C3.99875 2.625 2.625 3.99875 2.625 5.6875C2.625 7.37625 3.99875 8.75 5.6875 8.75C7.07175 8.75 8.24425 7.826 8.62225 6.5625H18.6497C19.2866 6.56512 19.9085 6.75595 20.4373 7.11099C20.966 7.46603 21.3781 7.96944 21.6215 8.55795C21.865 9.14647 21.9291 9.79382 21.8058 10.4187C21.6824 11.0435 21.3771 11.6179 20.9282 12.0697C20.3245 12.6753 19.5037 13.0148 18.648 13.0165H16.898C16.6919 12.4111 16.3018 11.8853 15.7822 11.5126C15.2626 11.1398 14.6395 10.9388 14 10.9375C12.656 10.9375 11.5115 11.809 11.1003 13.0165H9.35025C8.0316 13.0184 6.76747 13.5429 5.83488 14.4751C4.90229 15.4074 4.37731 16.6714 4.375 17.99V18.6462C4.37593 19.9661 4.90053 21.2317 5.83365 22.1651C6.76676 23.0986 8.03214 23.6236 9.352 23.625H19.5457C20.0392 24.6575 21.0928 25.375 22.3125 25.375C24.0012 25.375 25.375 24.0012 25.375 22.3125C25.375 20.6238 24.0012 19.25 22.3125 19.25Z",fill:"#FF9921"})}),Hm=({size:e=28})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 28 28",fill:"none",children:i.jsx("path",{d:"M14 1.75C17.2489 1.75 20.3647 3.04062 22.6621 5.33794C24.9594 7.63526 26.25 10.7511 26.25 14C26.25 17.2489 24.9594 20.3647 22.6621 22.6621C20.3647 24.9594 17.2489 26.25 14 26.25C10.7511 26.25 7.63526 24.9594 5.33794 22.6621C3.04062 20.3647 1.75 17.2489 1.75 14C1.75 10.7511 3.04062 7.63526 5.33794 5.33794C7.63526 3.04062 10.7511 1.75 14 1.75ZM14 3.5C12.6211 3.5 11.2557 3.77159 9.98182 4.29926C8.70791 4.82694 7.55039 5.60036 6.57538 6.57538C5.60036 7.55039 4.82694 8.70791 4.29926 9.98182C3.77159 11.2557 3.5 12.6211 3.5 14C3.5 15.3789 3.77159 16.7443 4.29926 18.0182C4.82694 19.2921 5.60036 20.4496 6.57538 21.4246C7.55039 22.3996 8.70791 23.1731 9.98182 23.7007C11.2557 24.2284 12.6211 24.5 14 24.5C16.7848 24.5 19.4555 23.3938 21.4246 21.4246C23.3938 19.4555 24.5 16.7848 24.5 14C24.5 11.2152 23.3938 8.54451 21.4246 6.57538C19.4555 4.60625 16.7848 3.5 14 3.5ZM13.125 7C13.3298 6.99993 13.5281 7.0717 13.6855 7.20281C13.8428 7.33391 13.9491 7.51605 13.986 7.7175L14 7.875V14H19.25C19.4548 13.9999 19.6531 14.0717 19.8105 14.2028C19.9678 14.3339 20.0741 14.5161 20.111 14.7175L20.125 14.875C20.1251 15.0798 20.0533 15.2781 19.9222 15.4355C19.7911 15.5928 19.6089 15.6991 19.4075 15.736L19.25 15.75H13.125C12.9202 15.7501 12.7219 15.6783 12.5645 15.5472C12.4072 15.4161 12.3009 15.2339 12.264 15.0325L12.25 14.875V7.875C12.25 7.64294 12.3422 7.42038 12.5063 7.25628C12.6704 7.09219 12.8929 7 13.125 7Z",fill:"#F06648"})}),v3=({size:e=28})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 28 28",fill:"none",children:i.jsx("path",{d:"M16.954 1.75L24.5 8.35275V23.625C24.5 24.3212 24.2234 24.9889 23.7312 25.4812C23.2389 25.9734 22.5712 26.25 21.875 26.25H6.125C5.42881 26.25 4.76113 25.9734 4.26884 25.4812C3.77656 24.9889 3.5 24.3212 3.5 23.625V4.375C3.5 3.67881 3.77656 3.01113 4.26884 2.51884C4.76113 2.02656 5.42881 1.75 6.125 1.75H16.954ZM14.875 3.5H6.125C5.89294 3.5 5.67038 3.59219 5.50628 3.75628C5.34219 3.92038 5.25 4.14294 5.25 4.375V23.625C5.25 23.8571 5.34219 24.0796 5.50628 24.2437C5.67038 24.4078 5.89294 24.5 6.125 24.5H21.875C22.1071 24.5 22.3296 24.4078 22.4937 24.2437C22.6578 24.0796 22.75 23.8571 22.75 23.625V10.5H17.5C16.8475 10.5 16.2183 10.2569 15.7353 9.81817C15.2522 9.37944 14.9499 8.77653 14.8872 8.127L14.875 7.875V3.5ZM19.25 18.375C19.4687 18.3746 19.6795 18.4561 19.8411 18.6034C20.0027 18.7507 20.1033 18.9532 20.123 19.1709C20.1428 19.3887 20.0803 19.606 19.9479 19.78C19.8154 19.9539 19.6227 20.072 19.4075 20.111L19.25 20.125H8.75C8.53134 20.1254 8.32046 20.0439 8.15888 19.8966C7.9973 19.7493 7.89673 19.5468 7.87697 19.3291C7.85721 19.1113 7.9197 18.894 8.05213 18.72C8.18457 18.5461 8.37734 18.428 8.5925 18.389L8.75 18.375H19.25ZM19.25 14C19.4687 13.9996 19.6795 14.0811 19.8411 14.2284C20.0027 14.3757 20.1033 14.5782 20.123 14.7959C20.1428 15.0137 20.0803 15.231 19.9479 15.405C19.8154 15.5789 19.6227 15.697 19.4075 15.736L19.25 15.75H8.75C8.53134 15.7504 8.32046 15.6689 8.15888 15.5216C7.9973 15.3743 7.89673 15.1718 7.87697 14.9541C7.85721 14.7363 7.9197 14.519 8.05213 14.345C8.18457 14.1711 8.37734 14.053 8.5925 14.014L8.75 14H19.25ZM16.625 3.78875V7.875C16.6249 8.07979 16.6967 8.27813 16.8278 8.43545C16.9589 8.59278 17.1411 8.69914 17.3425 8.736L17.5 8.75H22.2968L16.625 3.78875Z",fill:"#0265FF"})}),k3=()=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:[i.jsx("path",{d:"M14.625 6.36445V6.26445C14.625 6.23945 14.625 6.23945 14.6 6.21445C14.6 6.18945 14.6 6.18945 14.575 6.16445C14.575 6.13945 14.55 6.13945 14.55 6.11445C14.55 6.08945 14.525 6.08945 14.525 6.06445C14.525 6.06445 14.525 6.03945 14.5 6.03945L9.975 0.514453L9.95 0.489453C9.95 0.464453 9.925 0.464453 9.9 0.439453C9.9 0.439453 9.875 0.414453 9.85 0.414453C9.825 0.414453 9.825 0.389453 9.8 0.389453C9.775 0.389453 9.775 0.364453 9.75 0.364453C9.725 0.364453 9.725 0.339453 9.7 0.339453C9.675 0.339453 9.675 0.339453 9.65 0.314453H2.675C1.95 0.314453 1.375 0.939453 1.375 1.73945V8.28945C1.375 8.58945 1.6 8.81445 1.9 8.81445C2.2 8.81445 2.425 8.58945 2.425 8.28945V1.73945C2.425 1.51445 2.55 1.36445 2.675 1.36445H9.05V5.43945C9.05 6.23945 9.65 6.88945 10.4 6.88945H13.6V13.8395C13.6 14.0645 13.475 14.2645 13.3 14.2645H2.725C2.575 14.2645 2.425 14.0645 2.425 13.8395V12.8895C2.425 12.5895 2.2 12.3645 1.9 12.3645C1.6 12.3645 1.375 12.5895 1.375 12.8895V13.8395C1.375 14.6395 1.975 15.2895 2.725 15.2895H13.3C14.05 15.2895 14.65 14.6395 14.65 13.8395L14.625 6.36445ZM10.1 5.43945V2.31445L13 5.86445H10.375C10.225 5.86445 10.1 5.66445 10.1 5.43945Z"}),i.jsx("path",{d:"M1.42585 10.5887C1.42585 10.8887 1.65085 11.1137 1.95085 11.1137H8.30085L7.07585 12.3387C6.87585 12.5387 6.87585 12.8637 7.07585 13.0887C7.17585 13.1887 7.30085 13.2387 7.45085 13.2387C7.60085 13.2387 7.72585 13.1887 7.82585 13.0887L9.95085 10.9637C10.0508 10.8637 10.1008 10.7137 10.1008 10.5637C10.1008 10.4137 10.0508 10.2637 9.95085 10.1637L7.82585 8.03867C7.62585 7.83867 7.30085 7.83867 7.07585 8.03867C6.87585 8.23867 6.87585 8.56367 7.07585 8.78867L8.37585 10.0887H1.95085C1.88287 10.0842 1.81471 10.0939 1.75068 10.1172C1.68664 10.1404 1.62811 10.1766 1.57878 10.2236C1.52945 10.2706 1.4904 10.3273 1.46407 10.3901C1.43775 10.453 1.42474 10.5206 1.42585 10.5887Z"})]});function Vm({...e}){return i.jsx(v1.Root,{"data-slot":"drawer",...e})}function Rm({...e}){return i.jsx(v1.Trigger,{"data-slot":"drawer-trigger",...e})}function j3({container:e,...t}){return i.jsx(v1.Portal,{"data-slot":"drawer-portal",container:e!=null?e:void 0,...t})}function Bm({...e}){return i.jsx(v1.Close,{"data-slot":"drawer-close",...e})}function S3({className:e,...t}){return i.jsx(v1.Overlay,{"data-slot":"drawer-overlay",className:T("fixed inset-0 z-50 bg-black/30 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...t})}function zm({className:e,children:t,container:n,...r}){const[o,s]=k.useState(null),a=k.useCallback(c=>{if(!c)return;const u=c.getRootNode();if(u instanceof ShadowRoot){const d=u.querySelector("[data-bs-drawer-portal]");if(d){s(d);return}if(!u.querySelector("style[data-bs-vaul-style]")){const p=Array.from(document.head.querySelectorAll("style")).find(h=>{var m;return(m=h.textContent)==null?void 0:m.includes("[data-vaul-drawer]")});if(p){const h=p.cloneNode(!0);h.setAttribute("data-bs-vaul-style",""),u.appendChild(h)}}const f=document.createElement("div");f.setAttribute("data-bs-drawer-portal","true"),u.appendChild(f),s(f)}},[]),l=n!==void 0?n:o;return i.jsxs(i.Fragment,{children:[n===void 0&&i.jsx("span",{ref:a,style:{display:"none"},"aria-hidden":!0}),i.jsxs(j3,{container:l!=null?l:void 0,children:[i.jsx(S3,{}),i.jsx(v1.Content,{"data-slot":"drawer-content",className:T("group/drawer-content fixed z-50 flex h-auto flex-col bg-white shadow-xl","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[calc(100vh-52px)] data-[vaul-drawer-direction=bottom]:rounded-t-[10px]","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:sm:max-w-sm","rounded-0!",e),...r,style:{...r.style||{},borderRadius:0},children:t})]})]})}function Zm({className:e,...t}){return i.jsx("div",{"data-slot":"drawer-header",className:T("flex items-center justify-center relative h-[50px] shrink-0 border-b border-[#E0E0E0]",e),...t})}function Wm({className:e,children:t,style:n,...r}){const o=k.useRef(null),s=k.useRef(null);return k.useEffect(()=>{const a=o.current;if(!a)return;const l=c=>{const{scrollTop:u,scrollHeight:d,clientHeight:f}=a,p=u<=0,h=u+f>=d-1;(c.deltaY>0&&!h||c.deltaY<0&&!p)&&c.stopPropagation()};return a.addEventListener("wheel",l),()=>a.removeEventListener("wheel",l)},[]),k.useEffect(()=>{const a=s.current,l=o.current;if(!a||!l)return;const c=new ResizeObserver(()=>{l.scrollTo({top:l.scrollHeight,behavior:"smooth"})});return c.observe(a),()=>c.disconnect()},[]),i.jsx("div",{ref:o,"data-slot":"drawer-body",className:T("flex-1 overflow-y-auto bg-[#F5F7FA]",e),style:{scrollbarGutter:"stable",...n},...r,children:i.jsx("div",{ref:s,className:T("content-wrapper w-[1120px] bg-white mx-auto p-5 rounded-lg my-5",{"w-[calc(100%-40px)]":r.full,"h-[calc(100%-40px)]":r.full,"mx-5":r.full,"w-[1120px]":!r.full}),children:t})})}function $m({className:e,...t}){return i.jsx("div",{"data-slot":"drawer-footer",className:T("flex items-center justify-center gap-4 h-[52px] shrink-0",e),...t})}function Um({className:e,...t}){return i.jsx(v1.Title,{"data-slot":"drawer-title",className:T("text-[18px] font-semibold text-black",e),...t})}function qm({className:e,...t}){return i.jsx(v1.Description,{"data-slot":"drawer-description",className:T("text-sm text-muted-foreground",e),...t})}const L3=k.forwardRef(({className:e,...t},n)=>i.jsxs(v1.Close,{ref:n,className:T("absolute right-3 top-1/2 -translate-y-1/2 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",e),...t,children:[i.jsx(Vt,{icon:i.jsx(Bi,{})}),i.jsx("span",{className:"sr-only",children:"Close"})]}));L3.displayName="DrawerCloseButton";var Po="Popover",[M3]=Lt(Po,[Nn]),pr=Nn(),[Ym,H1]=M3(Po),E3=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:a=!1}=e,l=pr(t),c=k.useRef(null),[u,d]=k.useState(!1),[f,p]=$t({prop:r,defaultProp:o!=null?o:!1,onChange:s,caller:Po});return i.jsx(Ai,{...l,children:i.jsx(Ym,{scope:t,contentId:Wt(),triggerRef:c,open:f,onOpenChange:p,onOpenToggle:k.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:u,onCustomAnchorAdd:k.useCallback(()=>d(!0),[]),onCustomAnchorRemove:k.useCallback(()=>d(!1),[]),modal:a,children:n})})};E3.displayName=Po;var N3="PopoverAnchor",F3=k.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=H1(N3,n),s=pr(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:l}=o;return k.useEffect(()=>(a(),()=>l()),[a,l]),i.jsx(Fo,{...s,...r,ref:t})});F3.displayName=N3;var T3="PopoverTrigger",_3=k.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=H1(T3,n),s=pr(n),a=Te(t,o.triggerRef),l=i.jsx(ve.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":I3(o.open),...r,ref:a,onClick:ye(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:i.jsx(Fo,{asChild:!0,...s,children:l})});_3.displayName=T3;var Gi="PopoverPortal",[Gm,Xm]=M3(Gi,{forceMount:void 0}),A3=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=H1(Gi,t);return i.jsx(Gm,{scope:t,forceMount:n,children:i.jsx(Mt,{present:n||s.open,children:i.jsx(tr,{asChild:!0,container:o,children:r})})})};A3.displayName=Gi;var _n="PopoverContent",D3=k.forwardRef((e,t)=>{const n=Xm(_n,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,s=H1(_n,e.__scopePopover);return i.jsx(Mt,{present:r||s.open,children:s.modal?i.jsx(Qm,{...o,ref:t}):i.jsx(Jm,{...o,ref:t})})});D3.displayName=_n;var Km=J1("PopoverContent.RemoveScroll"),Qm=k.forwardRef((e,t)=>{const n=H1(_n,e.__scopePopover),r=k.useRef(null),o=Te(t,r),s=k.useRef(!1);return k.useEffect(()=>{const a=r.current;if(a)return Qs(a)},[]),i.jsx(fo,{as:Km,allowPinchZoom:!0,children:i.jsx(O3,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ye(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),s.current||(l=n.triggerRef.current)==null||l.focus()}),onPointerDownOutside:ye(e.onPointerDownOutside,a=>{const l=a.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,u=l.button===2||c;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:ye(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),Jm=k.forwardRef((e,t)=>{const n=H1(_n,e.__scopePopover),r=k.useRef(!1),o=k.useRef(!1);return i.jsx(O3,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var a,l;(a=e.onCloseAutoFocus)==null||a.call(e,s),s.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),O3=k.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:d,...f}=e,p=H1(_n,n),h=pr(n);return Us(),i.jsx(ro,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:i.jsx(er,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1),children:i.jsx(Di,{"data-state":I3(p.open),role:"dialog",id:p.contentId,...h,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),P3="PopoverClose",eC=k.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=H1(P3,n);return i.jsx(ve.button,{type:"button",...r,ref:t,onClick:ye(e.onClick,()=>o.onOpenChange(!1))})});eC.displayName=P3;var tC="PopoverArrow",nC=k.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=pr(n);return i.jsx(Oi,{...o,...r,ref:t})});nC.displayName=tC;function I3(e){return e?"open":"closed"}var rC=E3,oC=F3,sC=_3,iC=A3,H3=D3;const ct=rC,ut=sC,aC=oC,nt=k.forwardRef(({className:e,align:t="start",sideOffset:n=4,portalContainer:r,style:o,onWheel:s,...a},l)=>{const c=r?u=>{let d=u.target;for(;d&&d!==u.currentTarget;){const{overflowY:f}=window.getComputedStyle(d);if((f==="auto"||f==="scroll")&&d.scrollHeight>d.clientHeight){const p=d.scrollTop<=0,h=d.scrollTop+d.clientHeight>=d.scrollHeight;(u.deltaY<0&&!p||u.deltaY>0&&!h)&&(u.preventDefault(),d.scrollTop+=u.deltaY);return}d=d.parentElement}s==null||s(u)}:s;return i.jsx(iC,{container:r!=null?r:void 0,children:i.jsx(H3,{ref:l,align:t,sideOffset:n,onWheel:c,className:T("z-50 w-60 rounded-[8px] bg-white p-1 text-[#121111] shadow-[0px_6px_16px_rgba(0,0,0,0.06)] outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2",e),style:{transformOrigin:"var(--radix-popover-content-transform-origin)",...o},...a})})});nt.displayName=H3.displayName;/**
|
|
73
|
-
* @license lucide-react v0.554.0 - ISC
|
|
74
|
-
*
|
|
75
|
-
* This source code is licensed under the ISC license.
|
|
76
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
77
|
-
*/const lC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),cC=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),V3=e=>{const t=cC(e);return t.charAt(0).toUpperCase()+t.slice(1)},R3=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),uC=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
|
|
78
|
-
* @license lucide-react v0.554.0 - ISC
|
|
79
|
-
*
|
|
80
|
-
* This source code is licensed under the ISC license.
|
|
81
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
82
|
-
*/var dC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
83
|
-
* @license lucide-react v0.554.0 - ISC
|
|
84
|
-
*
|
|
85
|
-
* This source code is licensed under the ISC license.
|
|
86
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
87
|
-
*/const fC=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:a,...l},c)=>x.createElement("svg",{ref:c,...dC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:R3("lucide",o),...!s&&!uC(l)&&{"aria-hidden":"true"},...l},[...a.map(([u,d])=>x.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
|
|
88
|
-
* @license lucide-react v0.554.0 - ISC
|
|
89
|
-
*
|
|
90
|
-
* This source code is licensed under the ISC license.
|
|
91
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
92
|
-
*/const V1=(e,t)=>{const n=x.forwardRef(({className:r,...o},s)=>x.createElement(fC,{ref:s,iconNode:t,className:R3(`lucide-${lC(V3(e))}`,`lucide-${e}`,r),...o}));return n.displayName=V3(e),n};/**
|
|
93
|
-
* @license lucide-react v0.554.0 - ISC
|
|
94
|
-
*
|
|
95
|
-
* This source code is licensed under the ISC license.
|
|
96
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/const pC=V1("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
98
|
-
* @license lucide-react v0.554.0 - ISC
|
|
99
|
-
*
|
|
100
|
-
* This source code is licensed under the ISC license.
|
|
101
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
102
|
-
*/const B3=V1("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
103
|
-
* @license lucide-react v0.554.0 - ISC
|
|
104
|
-
*
|
|
105
|
-
* This source code is licensed under the ISC license.
|
|
106
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/const Io=V1("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
|
|
108
|
-
* @license lucide-react v0.554.0 - ISC
|
|
109
|
-
*
|
|
110
|
-
* This source code is licensed under the ISC license.
|
|
111
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
112
|
-
*/const Ho=V1("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
113
|
-
* @license lucide-react v0.554.0 - ISC
|
|
114
|
-
*
|
|
115
|
-
* This source code is licensed under the ISC license.
|
|
116
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
117
|
-
*/const hC=V1("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
|
|
118
|
-
* @license lucide-react v0.554.0 - ISC
|
|
119
|
-
*
|
|
120
|
-
* This source code is licensed under the ISC license.
|
|
121
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
-
*/const mC=V1("chevrons-left",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
|
|
123
|
-
* @license lucide-react v0.554.0 - ISC
|
|
124
|
-
*
|
|
125
|
-
* This source code is licensed under the ISC license.
|
|
126
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
127
|
-
*/const CC=V1("chevrons-right",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
|
|
128
|
-
* @license lucide-react v0.554.0 - ISC
|
|
129
|
-
*
|
|
130
|
-
* This source code is licensed under the ISC license.
|
|
131
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
-
*/const xC=V1("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);function z3({className:e,...t}){return i.jsx(xC,{role:"status","aria-label":"Loading",className:T("size-4 animate-spin",e),...t})}var gC="Label",Z3=k.forwardRef((e,t)=>i.jsx(ve.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Z3.displayName=gC;var W3=Z3;const Xi=k.forwardRef(({className:e,children:t,required:n,...r},o)=>i.jsxs(W3,{ref:o,className:T("text-[14px] font-bold text-[#030303] leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:text-foreground",e),...r,children:[n&&i.jsx("span",{className:"text-[#ff5631]",children:"*"}),t]}));Xi.displayName=W3.displayName;const $3=k.forwardRef(({className:e,type:t,...n},r)=>i.jsx("input",{type:t,className:T("h-[34px] px-[10px] py-[7px] rounded-[4px]","bg-white border border-[#e0e0e0]","text-[14px] text-[#030303] placeholder:text-[#999999]","focus:outline-none focus:border-[#0265ff] focus:ring-0","disabled:bg-[#eff0f6] disabled:cursor-not-allowed disabled:opacity-100","dark:bg-background dark:border-border dark:text-foreground dark:placeholder:text-muted-foreground","dark:disabled:bg-[oklch(0.279_0.041_260.031)]","w-full",e),ref:r,...n}));$3.displayName="Input";const U3=k.forwardRef(({className:e,...t},n)=>i.jsx("textarea",{className:T("h-[120px] p-[10px] rounded-[4px]","bg-white border border-[#e0e0e0]","text-[14px] text-[#030303] placeholder:text-[#999999]","focus:outline-none focus:border-[#0265ff] focus:ring-0","disabled:bg-[#eff0f6] disabled:cursor-not-allowed disabled:opacity-100","dark:bg-background dark:border-border dark:text-foreground dark:placeholder:text-muted-foreground","dark:disabled:bg-[oklch(0.279_0.041_260.031)]","resize-none","w-full",e),ref:n,...t}));U3.displayName="Textarea";function q3(e,[t,n]){return Math.min(n,Math.max(t,e))}function Y3(e){const t=e+"CollectionProvider",[n,r]=Lt(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=C=>{const{scope:b,children:g}=C,y=k.useRef(null),w=k.useRef(new Map).current;return i.jsx(o,{scope:b,itemMap:w,collectionRef:y,children:g})};a.displayName=t;const l=e+"CollectionSlot",c=J1(l),u=k.forwardRef((C,b)=>{const{scope:g,children:y}=C,w=s(l,g),v=Te(b,w.collectionRef);return i.jsx(c,{ref:v,children:y})});u.displayName=l;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=J1(d),h=k.forwardRef((C,b)=>{const{scope:g,children:y,...w}=C,v=k.useRef(null),S=Te(b,v),j=s(d,g);return k.useEffect(()=>(j.itemMap.set(v,{ref:v,...w}),()=>void j.itemMap.delete(v))),i.jsx(p,{[f]:"",ref:S,children:y})});h.displayName=d;function m(C){const b=s(e+"CollectionConsumer",C);return k.useCallback(()=>{const y=b.collectionRef.current;if(!y)return[];const w=Array.from(y.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((j,E)=>w.indexOf(j.ref.current)-w.indexOf(E.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:u,ItemSlot:h},m,r]}var bC=k.createContext(void 0);function Vo(e){const t=k.useContext(bC);return e||t||"ltr"}function Ro(e){const t=k.useRef({value:e,previous:e});return k.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var yC=[" ","Enter","ArrowUp","ArrowDown"],wC=[" ","Enter"],on="Select",[Bo,zo,vC]=Y3(on),[sn]=Lt(on,[vC,Nn]),Zo=Nn(),[kC,R1]=sn(on),[jC,SC]=sn(on),LC="SelectProvider";function G3(e){const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:a,defaultValue:l,onValueChange:c,dir:u,name:d,autoComplete:f,disabled:p,required:h,form:m,internal_do_not_use_render:C}=e,b=Zo(t),[g,y]=k.useState(null),[w,v]=k.useState(null),[S,j]=k.useState(!1),E=Vo(u),[N,O]=$t({prop:r,defaultProp:o!=null?o:!1,onChange:s,caller:on}),[P,V]=$t({prop:a,defaultProp:l,onChange:c,caller:on}),D=k.useRef(null),F=g?!!m||!!g.closest("form"):!0,[R,B]=k.useState(new Set),$=Wt(),U=Array.from(R).map(z=>z.props.value).join(";"),Z=k.useCallback(z=>{B(ee=>new Set(ee).add(z))},[]),J=k.useCallback(z=>{B(ee=>{const M=new Set(ee);return M.delete(z),M})},[]),L={required:h,trigger:g,onTriggerChange:y,valueNode:w,onValueNodeChange:v,valueNodeHasChildren:S,onValueNodeHasChildrenChange:j,contentId:$,value:P,onValueChange:V,open:N,onOpenChange:O,dir:E,triggerPointerDownPosRef:D,disabled:p,name:d,autoComplete:f,form:m,nativeOptions:R,nativeSelectKey:U,isFormControl:F};return i.jsx(Ai,{...b,children:i.jsx(kC,{scope:t,...L,children:i.jsx(Bo.Provider,{scope:t,children:i.jsx(jC,{scope:t,onNativeOptionAdd:Z,onNativeOptionRemove:J,children:BC(C)?C(L):n})})})})}G3.displayName=LC;var X3=e=>{const{__scopeSelect:t,children:n,...r}=e;return i.jsx(G3,{__scopeSelect:t,...r,internal_do_not_use_render:({isFormControl:o})=>i.jsxs(i.Fragment,{children:[n,o?i.jsx(x9,{__scopeSelect:t}):null]})})};X3.displayName=on;var K3="SelectTrigger",Ki=k.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=Zo(n),a=R1(K3,n),l=a.disabled||r,c=Te(t,a.onTriggerChange),u=zo(n),d=k.useRef("touch"),[f,p,h]=g9(C=>{const b=u().filter(w=>!w.disabled),g=b.find(w=>w.value===a.value),y=b9(b,C,g);y!==void 0&&a.onValueChange(y.value)}),m=C=>{l||(a.onOpenChange(!0),h()),C&&(a.triggerPointerDownPosRef.current={x:Math.round(C.pageX),y:Math.round(C.pageY)})};return i.jsx(Fo,{asChild:!0,...s,children:i.jsx(ve.button,{type:"button",role:"combobox","aria-controls":a.open?a.contentId:void 0,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":ca(a.value)?"":void 0,...o,ref:c,onClick:ye(o.onClick,C=>{C.currentTarget.focus(),d.current!=="mouse"&&m(C)}),onPointerDown:ye(o.onPointerDown,C=>{d.current=C.pointerType;const b=C.target;b.hasPointerCapture(C.pointerId)&&b.releasePointerCapture(C.pointerId),C.button===0&&C.ctrlKey===!1&&C.pointerType==="mouse"&&(m(C),C.preventDefault())}),onKeyDown:ye(o.onKeyDown,C=>{const b=f.current!=="";!(C.ctrlKey||C.altKey||C.metaKey)&&C.key.length===1&&p(C.key),!(b&&C.key===" ")&&yC.includes(C.key)&&(m(),C.preventDefault())})})})});Ki.displayName=K3;var Q3="SelectValue",J3=k.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:a="",...l}=e,c=R1(Q3,n),{onValueNodeHasChildrenChange:u}=c,d=s!==void 0,f=Te(t,c.onValueNodeChange);ft(()=>{u(d)},[u,d]);const p=ca(c.value);return i.jsx(ve.span,{...l,asChild:p?!1:l.asChild,ref:f,style:{pointerEvents:"none"},children:i.jsx(k.Fragment,{children:p?a:s},p?"placeholder":"value")})});J3.displayName=Q3;var MC="SelectIcon",e9=k.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return i.jsx(ve.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});e9.displayName=MC;var t9="SelectPortal",[EC,NC]=sn(t9,{forceMount:void 0}),n9=e=>{const{__scopeSelect:t,forceMount:n,...r}=e;return i.jsx(EC,{scope:e.__scopeSelect,forceMount:n,children:i.jsx(tr,{asChild:!0,...r})})};n9.displayName=t9;var B1="SelectContent",Qi=k.forwardRef((e,t)=>{const n=NC(B1,e.__scopeSelect),{forceMount:r=n.forceMount,...o}=e,s=R1(B1,e.__scopeSelect),[a,l]=k.useState();return ft(()=>{l(new DocumentFragment)},[]),i.jsx(Mt,{present:r||s.open,children:({present:c})=>c?i.jsx(s9,{...o,ref:t}):i.jsx(r9,{...o,fragment:a})})});Qi.displayName=B1;var r9=k.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,fragment:o}=e;return o?Gn.createPortal(i.jsx(o9,{scope:n,children:i.jsx(Bo.Slot,{scope:n,children:i.jsx("div",{ref:t,children:r})})}),o):null});r9.displayName="SelectContentFragment";var Gt=10,[o9,z1]=sn(B1),FC="SelectContentImpl",TC=J1("SelectContent.RemoveScroll"),s9=k.forwardRef((e,t)=>{const{__scopeSelect:n}=e,{position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:a,side:l,sideOffset:c,align:u,alignOffset:d,arrowPadding:f,collisionBoundary:p,collisionPadding:h,sticky:m,hideWhenDetached:C,avoidCollisions:b,...g}=e,y=R1(B1,n),[w,v]=k.useState(null),[S,j]=k.useState(null),E=Te(t,W=>v(W)),[N,O]=k.useState(null),[P,V]=k.useState(null),D=zo(n),[F,R]=k.useState(!1),B=k.useRef(!1);k.useEffect(()=>{if(w)return Qs(w)},[w]),Us();const $=k.useCallback(W=>{const[te,...G]=D().map(ue=>ue.ref.current),[ne]=G.slice(-1),oe=document.activeElement;for(const ue of W)if(ue===oe||(ue==null||ue.scrollIntoView({block:"nearest"}),ue===te&&S&&(S.scrollTop=0),ue===ne&&S&&(S.scrollTop=S.scrollHeight),ue==null||ue.focus(),document.activeElement!==oe))return},[D,S]),U=k.useCallback(()=>$([N,w]),[$,N,w]);k.useEffect(()=>{F&&U()},[F,U]);const{onOpenChange:Z,triggerPointerDownPosRef:J}=y;k.useEffect(()=>{if(w){let W={x:0,y:0};const te=ne=>{var oe,ue,Le,le;W={x:Math.abs(Math.round(ne.pageX)-((ue=(oe=J.current)==null?void 0:oe.x)!=null?ue:0)),y:Math.abs(Math.round(ne.pageY)-((le=(Le=J.current)==null?void 0:Le.y)!=null?le:0))}},G=ne=>{W.x<=10&&W.y<=10?ne.preventDefault():ne.composedPath().includes(w)||Z(!1),document.removeEventListener("pointermove",te),J.current=null};return J.current!==null&&(document.addEventListener("pointermove",te),document.addEventListener("pointerup",G,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",te),document.removeEventListener("pointerup",G,{capture:!0})}}},[w,Z,J]),k.useEffect(()=>{const W=()=>Z(!1);return window.addEventListener("blur",W),window.addEventListener("resize",W),()=>{window.removeEventListener("blur",W),window.removeEventListener("resize",W)}},[Z]);const[L,z]=g9(W=>{const te=D().filter(oe=>!oe.disabled),G=te.find(oe=>oe.ref.current===document.activeElement),ne=b9(te,W,G);ne&&setTimeout(()=>ne.ref.current.focus())}),ee=k.useCallback((W,te,G)=>{const ne=!B.current&&!G;(y.value!==void 0&&y.value===te||ne)&&(O(W),ne&&(B.current=!0))},[y.value]),M=k.useCallback(()=>w==null?void 0:w.focus(),[w]),Y=k.useCallback((W,te,G)=>{const ne=!B.current&&!G;(y.value!==void 0&&y.value===te||ne)&&V(W)},[y.value]),ie=r==="popper"?Ji:i9,K=ie===Ji?{side:l,sideOffset:c,align:u,alignOffset:d,arrowPadding:f,collisionBoundary:p,collisionPadding:h,sticky:m,hideWhenDetached:C,avoidCollisions:b}:{};return i.jsx(o9,{scope:n,content:w,viewport:S,onViewportChange:j,itemRefCallback:ee,selectedItem:N,onItemLeave:M,itemTextRefCallback:Y,focusSelectedItem:U,selectedItemText:P,position:r,isPositioned:F,searchRef:L,children:i.jsx(fo,{as:TC,allowPinchZoom:!0,children:i.jsx(ro,{asChild:!0,trapped:y.open,onMountAutoFocus:W=>{W.preventDefault()},onUnmountAutoFocus:ye(o,W=>{var te;(te=y.trigger)==null||te.focus({preventScroll:!0}),W.preventDefault()}),children:i.jsx(er,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:W=>W.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:i.jsx(ie,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:W=>W.preventDefault(),...g,...K,onPlaced:()=>R(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:ye(g.onKeyDown,W=>{const te=W.ctrlKey||W.altKey||W.metaKey;if(W.key==="Tab"&&W.preventDefault(),!te&&W.key.length===1&&z(W.key),["ArrowUp","ArrowDown","Home","End"].includes(W.key)){let ne=D().filter(oe=>!oe.disabled).map(oe=>oe.ref.current);if(["ArrowUp","End"].includes(W.key)&&(ne=ne.slice().reverse()),["ArrowUp","ArrowDown"].includes(W.key)){const oe=W.target,ue=ne.indexOf(oe);ne=ne.slice(ue+1)}setTimeout(()=>$(ne)),W.preventDefault()}})})})})})})});s9.displayName=FC;var _C="SelectItemAlignedPosition",i9=k.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,s=R1(B1,n),a=z1(B1,n),[l,c]=k.useState(null),[u,d]=k.useState(null),f=Te(t,E=>d(E)),p=zo(n),h=k.useRef(!1),m=k.useRef(!0),{viewport:C,selectedItem:b,selectedItemText:g,focusSelectedItem:y}=a,w=k.useCallback(()=>{if(s.trigger&&s.valueNode&&l&&u&&C&&b&&g){const E=s.trigger.getBoundingClientRect(),N=u.getBoundingClientRect(),O=s.valueNode.getBoundingClientRect(),P=g.getBoundingClientRect();if(s.dir!=="rtl"){const oe=P.left-N.left,ue=O.left-oe,Le=E.left-ue,le=E.width+Le,De=Math.max(le,N.width),Fe=window.innerWidth-Gt,Ke=q3(ue,[Gt,Math.max(Gt,Fe-De)]);l.style.minWidth=le+"px",l.style.left=Ke+"px"}else{const oe=N.right-P.right,ue=window.innerWidth-O.right-oe,Le=window.innerWidth-E.right-ue,le=E.width+Le,De=Math.max(le,N.width),Fe=window.innerWidth-Gt,Ke=q3(ue,[Gt,Math.max(Gt,Fe-De)]);l.style.minWidth=le+"px",l.style.right=Ke+"px"}const V=p(),D=window.innerHeight-Gt*2,F=C.scrollHeight,R=window.getComputedStyle(u),B=parseInt(R.borderTopWidth,10),$=parseInt(R.paddingTop,10),U=parseInt(R.borderBottomWidth,10),Z=parseInt(R.paddingBottom,10),J=B+$+F+Z+U,L=Math.min(b.offsetHeight*5,J),z=window.getComputedStyle(C),ee=parseInt(z.paddingTop,10),M=parseInt(z.paddingBottom,10),Y=E.top+E.height/2-Gt,ie=D-Y,K=b.offsetHeight/2,W=b.offsetTop+K,te=B+$+W,G=J-te;if(te<=Y){const oe=V.length>0&&b===V[V.length-1].ref.current;l.style.bottom="0px";const ue=u.clientHeight-C.offsetTop-C.offsetHeight,Le=Math.max(ie,K+(oe?M:0)+ue+U),le=te+Le;l.style.height=le+"px"}else{const oe=V.length>0&&b===V[0].ref.current;l.style.top="0px";const Le=Math.max(Y,B+C.offsetTop+(oe?ee:0)+K)+G;l.style.height=Le+"px",C.scrollTop=te-Y+C.offsetTop}l.style.margin=`${Gt}px 0`,l.style.minHeight=L+"px",l.style.maxHeight=D+"px",r==null||r(),requestAnimationFrame(()=>h.current=!0)}},[p,s.trigger,s.valueNode,l,u,C,b,g,s.dir,r]);ft(()=>w(),[w]);const[v,S]=k.useState();ft(()=>{u&&S(window.getComputedStyle(u).zIndex)},[u]);const j=k.useCallback(E=>{E&&m.current===!0&&(w(),y==null||y(),m.current=!1)},[w,y]);return i.jsx(DC,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:h,onScrollButtonChange:j,children:i.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:v},children:i.jsx(ve.div,{...o,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});i9.displayName=_C;var AC="SelectPopperPosition",Ji=k.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Gt,...s}=e,a=Zo(n);return i.jsx(Di,{...a,...s,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Ji.displayName=AC;var[DC,ea]=sn(B1,{}),ta="SelectViewport",a9=k.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=z1(ta,n),a=ea(ta,n),l=Te(t,s.onViewportChange),c=k.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),i.jsx(Bo.Slot,{scope:n,children:i.jsx(ve.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ye(o.onScroll,u=>{const d=u.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:p}=a;if(p!=null&&p.current&&f){const h=Math.abs(c.current-d.scrollTop);if(h>0){const m=window.innerHeight-Gt*2,C=parseFloat(f.style.minHeight),b=parseFloat(f.style.height),g=Math.max(C,b);if(g<m){const y=g+h,w=Math.min(m,y),v=y-w;f.style.height=w+"px",f.style.bottom==="0px"&&(d.scrollTop=v>0?v:0,f.style.justifyContent="flex-end")}}}c.current=d.scrollTop})})})]})});a9.displayName=ta;var l9="SelectGroup",[OC,PC]=sn(l9),c9=k.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Wt();return i.jsx(OC,{scope:n,id:o,children:i.jsx(ve.div,{role:"group","aria-labelledby":o,...r,ref:t})})});c9.displayName=l9;var u9="SelectLabel",na=k.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=PC(u9,n);return i.jsx(ve.div,{id:o.id,...r,ref:t})});na.displayName=u9;var Wo="SelectItem",[IC,d9]=sn(Wo),ra=k.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...a}=e,l=R1(Wo,n),c=z1(Wo,n),u=l.value===r,[d,f]=k.useState(s!=null?s:""),[p,h]=k.useState(!1),m=Te(t,y=>{var w;return(w=c.itemRefCallback)==null?void 0:w.call(c,y,r,o)}),C=Wt(),b=k.useRef("touch"),g=()=>{o||(l.onValueChange(r),l.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return i.jsx(IC,{scope:n,value:r,disabled:o,textId:C,isSelected:u,onItemTextChange:k.useCallback(y=>{f(w=>{var v;return w||((v=y==null?void 0:y.textContent)!=null?v:"").trim()})},[]),children:i.jsx(Bo.ItemSlot,{scope:n,value:r,disabled:o,textValue:d,children:i.jsx(ve.div,{role:"option","aria-labelledby":C,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...a,ref:m,onFocus:ye(a.onFocus,()=>h(!0)),onBlur:ye(a.onBlur,()=>h(!1)),onClick:ye(a.onClick,()=>{b.current!=="mouse"&&g()}),onPointerUp:ye(a.onPointerUp,()=>{b.current==="mouse"&&g()}),onPointerDown:ye(a.onPointerDown,y=>{b.current=y.pointerType}),onPointerMove:ye(a.onPointerMove,y=>{var w;b.current=y.pointerType,o?(w=c.onItemLeave)==null||w.call(c):b.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ye(a.onPointerLeave,y=>{var w;y.currentTarget===document.activeElement&&((w=c.onItemLeave)==null||w.call(c))}),onKeyDown:ye(a.onKeyDown,y=>{var v;((v=c.searchRef)==null?void 0:v.current)!==""&&y.key===" "||(wC.includes(y.key)&&g(),y.key===" "&&y.preventDefault())})})})})});ra.displayName=Wo;var hr="SelectItemText",f9=k.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,a=R1(hr,n),l=z1(hr,n),c=d9(hr,n),u=SC(hr,n),[d,f]=k.useState(null),p=Te(t,g=>f(g),c.onItemTextChange,g=>{var y;return(y=l.itemTextRefCallback)==null?void 0:y.call(l,g,c.value,c.disabled)}),h=d==null?void 0:d.textContent,m=k.useMemo(()=>i.jsx("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:C,onNativeOptionRemove:b}=u;return ft(()=>(C(m),()=>b(m)),[C,b,m]),i.jsxs(i.Fragment,{children:[i.jsx(ve.span,{id:c.textId,...s,ref:p}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Gn.createPortal(s.children,a.valueNode):null]})});f9.displayName=hr;var p9="SelectItemIndicator",HC=k.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return d9(p9,n).isSelected?i.jsx(ve.span,{"aria-hidden":!0,...r,ref:t}):null});HC.displayName=p9;var oa="SelectScrollUpButton",sa=k.forwardRef((e,t)=>{const n=z1(oa,e.__scopeSelect),r=ea(oa,e.__scopeSelect),[o,s]=k.useState(!1),a=Te(t,r.onScrollButtonChange);return ft(()=>{if(n.viewport&&n.isPositioned){let l=function(){const u=c.scrollTop>0;s(u)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),o?i.jsx(h9,{...e,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null});sa.displayName=oa;var ia="SelectScrollDownButton",aa=k.forwardRef((e,t)=>{const n=z1(ia,e.__scopeSelect),r=ea(ia,e.__scopeSelect),[o,s]=k.useState(!1),a=Te(t,r.onScrollButtonChange);return ft(()=>{if(n.viewport&&n.isPositioned){let l=function(){const u=c.scrollHeight-c.clientHeight,d=Math.ceil(c.scrollTop)<u;s(d)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),o?i.jsx(h9,{...e,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null});aa.displayName=ia;var h9=k.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=z1("SelectScrollButton",n),a=k.useRef(null),l=zo(n),c=k.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return k.useEffect(()=>()=>c(),[c]),ft(()=>{var d;const u=l().find(f=>f.ref.current===document.activeElement);(d=u==null?void 0:u.ref.current)==null||d.scrollIntoView({block:"nearest"})},[l]),i.jsx(ve.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:ye(o.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(r,50))}),onPointerMove:ye(o.onPointerMove,()=>{var u;(u=s.onItemLeave)==null||u.call(s),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:ye(o.onPointerLeave,()=>{c()})})}),VC="SelectSeparator",la=k.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return i.jsx(ve.div,{"aria-hidden":!0,...r,ref:t})});la.displayName=VC;var m9="SelectArrow",RC=k.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Zo(n);return z1(m9,n).position==="popper"?i.jsx(Oi,{...o,...r,ref:t}):null});RC.displayName=m9;var C9="SelectBubbleInput",x9=k.forwardRef(({__scopeSelect:e,...t},n)=>{const r=R1(C9,e),{value:o,onValueChange:s,required:a,disabled:l,name:c,autoComplete:u,form:d}=r,{nativeOptions:f,nativeSelectKey:p}=r,h=k.useRef(null),m=Te(n,h),C=o!=null?o:"",b=Ro(C);return k.useEffect(()=>{const g=h.current;if(!g)return;const y=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(y,"value").set;if(b!==C&&v){const S=new Event("change",{bubbles:!0});v.call(g,C),g.dispatchEvent(S)}},[b,C]),i.jsxs(ve.select,{"aria-hidden":!0,required:a,tabIndex:-1,name:c,autoComplete:u,disabled:l,form:d,onChange:g=>s(g.target.value),...t,style:{...W5,...t.style},ref:m,defaultValue:C,children:[ca(o)?i.jsx("option",{value:""}):null,Array.from(f)]},p)});x9.displayName=C9;function BC(e){return typeof e=="function"}function ca(e){return e===""||e===void 0}function g9(e){const t=D1(e),n=k.useRef(""),r=k.useRef(0),o=k.useCallback(a=>{const l=n.current+a;t(l),function c(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(l)},[t]),s=k.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return k.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}function b9(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let a=zC(e,Math.max(s,0));o.length===1&&(a=a.filter(u=>u!==n));const c=a.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function zC(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const L1=X3,ZC=c9,M1=J3,u1=k.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(Ki,{ref:r,className:T("flex items-center justify-between gap-2","[&>span]:truncate [&>span]:min-w-0","h-[34px] px-[10px] py-[7px] rounded-[4px]","bg-white border border-[#e0e0e0]","text-[14px] text-[#030303]","data-[placeholder]:text-[#999999]","focus:outline-none focus:border-[#0265ff] focus:ring-0","disabled:bg-[#eff0f6] disabled:cursor-not-allowed","dark:bg-background dark:border-border dark:text-foreground","dark:data-[placeholder]:text-muted-foreground","dark:disabled:bg-[oklch(0.279_0.041_260.031)]","w-full",e),...n,children:[t,i.jsx(e9,{asChild:!0,children:i.jsx(B3,{className:"h-4 w-4 shrink-0 opacity-50 transition-transform data-[state=open]:rotate-180"})})]}));u1.displayName=Ki.displayName;const ua=k.forwardRef(({className:e,...t},n)=>i.jsx(sa,{ref:n,className:T("flex items-center justify-center py-1",e),...t,children:i.jsx(hC,{className:"h-4 w-4"})}));ua.displayName=sa.displayName;const da=k.forwardRef(({className:e,...t},n)=>i.jsx(aa,{ref:n,className:T("flex items-center justify-center py-1",e),...t,children:i.jsx(B3,{className:"h-4 w-4"})}));da.displayName=aa.displayName;const d1=k.forwardRef(({className:e,children:t,position:n="popper",container:r,style:o,...s},a)=>{const[l,c]=k.useState(null),u=k.useCallback(f=>{if(!f)return;const p=f.getRootNode();if(p instanceof ShadowRoot){const h=p.querySelector("[data-bs-select-portal]");if(h){c(h);return}const m=document.createElement("div");m.setAttribute("data-bs-select-portal","true"),p.appendChild(m),c(m)}},[]),d=r!==void 0?r:l;return i.jsxs(i.Fragment,{children:[r===void 0&&i.jsx("span",{ref:u,style:{display:"none"},"aria-hidden":!0}),i.jsx(n9,{container:d!=null?d:void 0,children:i.jsxs(Qi,{ref:a,className:T("z-50 bg-white rounded-[4px] p-[4px]","shadow-[0_0_8px_rgba(0,0,0,0.1)]","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2","dark:bg-background dark:border-border",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,style:{boxSizing:"border-box",maxHeight:"var(--radix-select-content-available-height)",minWidth:n==="popper"?"var(--radix-select-trigger-width)":"120px",...o},...s,children:[i.jsx(ua,{}),i.jsx(a9,{className:T("p-1",n==="popper"&&"w-full"),style:n==="popper"?{height:"var(--radix-select-trigger-height)",minWidth:"var(--radix-select-trigger-width)"}:void 0,children:t}),i.jsx(da,{})]})})]})});d1.displayName=Qi.displayName;const y9=k.forwardRef(({className:e,...t},n)=>i.jsx(na,{ref:n,className:T("px-[10px] py-[6px] text-[14px] font-bold text-[#030303] dark:text-foreground",e),...t}));y9.displayName=na.displayName;const f1=k.forwardRef(({className:e,children:t,...n},r)=>i.jsx(ra,{ref:r,className:T("relative flex items-center gap-2 px-[10px] py-[7px]","text-[14px] text-[#030303]","cursor-pointer select-none rounded-[4px]","data-[highlighted]:bg-[#eff0f6] data-[highlighted]:outline-none","data-[state=checked]:bg-[#f0f6ff] data-[state=checked]:text-[#0265ff]","dark:text-foreground dark:data-[highlighted]:bg-accent dark:data-[state=checked]:bg-accent",e),...n,children:i.jsx(f9,{children:t})}));f1.displayName=ra.displayName;const w9=k.forwardRef(({className:e,...t},n)=>i.jsx(la,{ref:n,className:T("h-px bg-[#e0e0e0] my-1 dark:bg-border",e),...t}));w9.displayName=la.displayName;function WC(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}const fa={},mr={};function an(e,t){try{const r=(fa[e]||(fa[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return r in mr?mr[r]:v9(r,r.split(":"))}catch(n){if(e in mr)return mr[e];const r=e==null?void 0:e.match($C);return r?v9(e,r.slice(1)):NaN}}const $C=/([+-]\d\d):?(\d\d)?/;function v9(e,t){const n=+(t[0]||0),r=+(t[1]||0),o=+(t[2]||0)/60;return mr[e]=n*60+r>0?n*60+r+o:n*60-r-o}class p1 extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(an(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),j9(this),pa(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new p1(...n,t):new p1(Date.now(),t)}withTimeZone(t){return new p1(+this,t)}getTimezoneOffset(){const t=-an(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),pa(this),+this}[Symbol.for("constructDateFrom")](t){return new p1(+new Date(t),this.timeZone)}}const k9=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!k9.test(e))return;const t=e.replace(k9,"$1UTC");p1.prototype[t]&&(e.startsWith("get")?p1.prototype[e]=function(){return this.internal[t]()}:(p1.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),UC(this),+this},p1.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),pa(this),+this}))});function pa(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-an(e.timeZone,e)*60))}function UC(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),j9(e)}function j9(e){const t=an(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);const o=-new Date(+e).getTimezoneOffset(),s=-new Date(+r).getTimezoneOffset(),a=o-s,l=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();a&&l&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+a);const c=o-n;c&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+c);const u=new Date(+e);u.setUTCSeconds(0);const d=o>0?u.getSeconds():(u.getSeconds()-60)%60,f=Math.round(-(an(e.timeZone,e)*60))%60;(f||d)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+f),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+f+d));const p=an(e.timeZone,e),h=p>0?Math.floor(p):Math.ceil(p),C=-new Date(+e).getTimezoneOffset()-h,b=h!==n,g=C-c;if(b&&g){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+g);const y=an(e.timeZone,e),w=y>0?Math.floor(y):Math.ceil(y),v=h-w;v&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+v),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+v))}}class mt extends p1{static tz(t,...n){return n.length?new mt(...n,t):new mt(Date.now(),t)}toISOString(){const[t,n,r]=this.tzComponents(),o=`${t}${n}:${r}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,n,r,o]=this.internal.toUTCString().split(" ");return`${t==null?void 0:t.slice(0,-1)} ${r} ${n} ${o}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[n,r,o]=this.tzComponents();return`${t} GMT${n}${r}${o} (${WC(this.timeZone,this)})`}toLocaleString(t,n){return Date.prototype.toLocaleString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}toLocaleDateString(t,n){return Date.prototype.toLocaleDateString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}toLocaleTimeString(t,n){return Date.prototype.toLocaleTimeString.call(this,t,{...n,timeZone:(n==null?void 0:n.timeZone)||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),n=t>0?"-":"+",r=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),o=String(Math.abs(t)%60).padStart(2,"0");return[n,r,o]}withTimeZone(t){return new mt(+this,t)}[Symbol.for("constructDateFrom")](t){return new mt(+new Date(t),this.timeZone)}}const S9=6048e5,qC=864e5,L9=Symbol.for("constructDateFrom");function rt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&L9 in e?e[L9](t):e instanceof Date?new e.constructor(t):new Date(t)}function Re(e,t){return rt(t||e,e)}function M9(e,t,n){const r=Re(e,n==null?void 0:n.in);return isNaN(t)?rt(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function E9(e,t,n){const r=Re(e,n==null?void 0:n.in);if(isNaN(t))return rt(e,NaN);if(!t)return r;const o=r.getDate(),s=rt(e,r.getTime());s.setMonth(r.getMonth()+t+1,0);const a=s.getDate();return o>=a?s:(r.setFullYear(s.getFullYear(),s.getMonth(),o),r)}let YC={};function Cr(){return YC}function An(e,t){var l,c,u,d,f,p,h,m;const n=Cr(),r=(m=(h=(d=(u=t==null?void 0:t.weekStartsOn)!=null?u:(c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)!=null?d:n.weekStartsOn)!=null?h:(p=(f=n.locale)==null?void 0:f.options)==null?void 0:p.weekStartsOn)!=null?m:0,o=Re(e,t==null?void 0:t.in),s=o.getDay(),a=(s<r?7:0)+s-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function xr(e,t){return An(e,{...t,weekStartsOn:1})}function N9(e,t){const n=Re(e,t==null?void 0:t.in),r=n.getFullYear(),o=rt(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const s=xr(o),a=rt(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const l=xr(a);return n.getTime()>=s.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function F9(e){const t=Re(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Dn(e,...t){const n=rt.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function gr(e,t){const n=Re(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function ha(e,t,n){const[r,o]=Dn(n==null?void 0:n.in,e,t),s=gr(r),a=gr(o),l=+s-F9(s),c=+a-F9(a);return Math.round((l-c)/qC)}function GC(e,t){const n=N9(e,t),r=rt(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),xr(r)}function XC(e,t,n){return M9(e,t*7,n)}function KC(e,t,n){return E9(e,t*12,n)}function QC(e,t){let n,r=t==null?void 0:t.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=rt.bind(null,o));const s=Re(o,r);(!n||n<s||isNaN(+s))&&(n=s)}),rt(r,n||NaN)}function JC(e,t){let n,r=t==null?void 0:t.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=rt.bind(null,o));const s=Re(o,r);(!n||n>s||isNaN(+s))&&(n=s)}),rt(r,n||NaN)}function ex(e,t,n){const[r,o]=Dn(n==null?void 0:n.in,e,t);return+gr(r)==+gr(o)}function T9(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function tx(e){return!(!T9(e)&&typeof e!="number"||isNaN(+Re(e)))}function _9(e,t,n){const[r,o]=Dn(n==null?void 0:n.in,e,t),s=r.getFullYear()-o.getFullYear(),a=r.getMonth()-o.getMonth();return s*12+a}function nx(e,t){const n=Re(e,t==null?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function A9(e,t){const[n,r]=Dn(e,t.start,t.end);return{start:n,end:r}}function rx(e,t){const{start:n,end:r}=A9(t==null?void 0:t.in,e);let o=+n>+r;const s=o?+n:+r,a=o?r:n;a.setHours(0,0,0,0),a.setDate(1);let l=1;const c=[];for(;+a<=s;)c.push(rt(n,a)),a.setMonth(a.getMonth()+l);return o?c.reverse():c}function ox(e,t){const n=Re(e,t==null?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function sx(e,t){const n=Re(e,t==null?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function D9(e,t){const n=Re(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function ix(e,t){const{start:n,end:r}=A9(t==null?void 0:t.in,e);let o=+n>+r;const s=o?+n:+r,a=o?r:n;a.setHours(0,0,0,0),a.setMonth(0,1);let l=1;const c=[];for(;+a<=s;)c.push(rt(n,a)),a.setFullYear(a.getFullYear()+l);return o?c.reverse():c}function O9(e,t){var l,c,u,d,f,p,h,m;const n=Cr(),r=(m=(h=(d=(u=t==null?void 0:t.weekStartsOn)!=null?u:(c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)!=null?d:n.weekStartsOn)!=null?h:(p=(f=n.locale)==null?void 0:f.options)==null?void 0:p.weekStartsOn)!=null?m:0,o=Re(e,t==null?void 0:t.in),s=o.getDay(),a=(s<r?-7:0)+6-(s-r);return o.setDate(o.getDate()+a),o.setHours(23,59,59,999),o}function ax(e,t){return O9(e,{...t,weekStartsOn:1})}const lx={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},cx=(e,t,n)=>{let r;const o=lx[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function ma(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const ux={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},dx={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},fx={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},px={date:ma({formats:ux,defaultWidth:"full"}),time:ma({formats:dx,defaultWidth:"full"}),dateTime:ma({formats:fx,defaultWidth:"full"})},hx={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},mx=(e,t,n,r)=>hx[e];function br(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):a;o=e.formattingValues[l]||e.formattingValues[a]}else{const a=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[a]}const s=e.argumentCallback?e.argumentCallback(t):t;return o[s]}}const Cx={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},xx={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},gx={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},bx={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},yx={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},wx={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},vx={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:br({values:Cx,defaultWidth:"wide"}),quarter:br({values:xx,defaultWidth:"wide",argumentCallback:e=>e-1}),month:br({values:gx,defaultWidth:"wide"}),day:br({values:bx,defaultWidth:"wide"}),dayPeriod:br({values:yx,defaultWidth:"wide",formattingValues:wx,defaultFormattingWidth:"wide"})};function yr(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;const a=s[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?jx(l,f=>f.test(a)):kx(l,f=>f.test(a));let u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;const d=t.slice(a.length);return{value:u,rest:d}}}function kx(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function jx(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Sx(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],s=t.match(e.parsePattern);if(!s)return null;let a=e.valueCallback?e.valueCallback(s[0]):s[0];a=n.valueCallback?n.valueCallback(a):a;const l=t.slice(o.length);return{value:a,rest:l}}}const Lx=/^(\d+)(th|st|nd|rd)?/i,Mx=/\d+/i,Ex={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Nx={any:[/^b/i,/^(a|c)/i]},Fx={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Tx={any:[/1/i,/2/i,/3/i,/4/i]},_x={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ax={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Dx={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ox={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Px={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ix={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Hx={ordinalNumber:Sx({matchPattern:Lx,parsePattern:Mx,valueCallback:e=>parseInt(e,10)}),era:yr({matchPatterns:Ex,defaultMatchWidth:"wide",parsePatterns:Nx,defaultParseWidth:"any"}),quarter:yr({matchPatterns:Fx,defaultMatchWidth:"wide",parsePatterns:Tx,defaultParseWidth:"any",valueCallback:e=>e+1}),month:yr({matchPatterns:_x,defaultMatchWidth:"wide",parsePatterns:Ax,defaultParseWidth:"any"}),day:yr({matchPatterns:Dx,defaultMatchWidth:"wide",parsePatterns:Ox,defaultParseWidth:"any"}),dayPeriod:yr({matchPatterns:Px,defaultMatchWidth:"any",parsePatterns:Ix,defaultParseWidth:"any"})},On={code:"en-US",formatDistance:cx,formatLong:px,formatRelative:mx,localize:vx,match:Hx,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Vx(e,t){const n=Re(e,t==null?void 0:t.in);return ha(n,D9(n))+1}function Ca(e,t){const n=Re(e,t==null?void 0:t.in),r=+xr(n)-+GC(n);return Math.round(r/S9)+1}function P9(e,t){var d,f,p,h,m,C,b,g;const n=Re(e,t==null?void 0:t.in),r=n.getFullYear(),o=Cr(),s=(g=(b=(h=(p=t==null?void 0:t.firstWeekContainsDate)!=null?p:(f=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:f.firstWeekContainsDate)!=null?h:o.firstWeekContainsDate)!=null?b:(C=(m=o.locale)==null?void 0:m.options)==null?void 0:C.firstWeekContainsDate)!=null?g:1,a=rt((t==null?void 0:t.in)||e,0);a.setFullYear(r+1,0,s),a.setHours(0,0,0,0);const l=An(a,t),c=rt((t==null?void 0:t.in)||e,0);c.setFullYear(r,0,s),c.setHours(0,0,0,0);const u=An(c,t);return+n>=+l?r+1:+n>=+u?r:r-1}function Rx(e,t){var l,c,u,d,f,p,h,m;const n=Cr(),r=(m=(h=(d=(u=t==null?void 0:t.firstWeekContainsDate)!=null?u:(c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)!=null?d:n.firstWeekContainsDate)!=null?h:(p=(f=n.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)!=null?m:1,o=P9(e,t),s=rt((t==null?void 0:t.in)||e,0);return s.setFullYear(o,0,r),s.setHours(0,0,0,0),An(s,t)}function xa(e,t){const n=Re(e,t==null?void 0:t.in),r=+An(n,t)-+Rx(n,t);return Math.round(r/S9)+1}function Pe(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Z1={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Pe(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Pe(n+1,2)},d(e,t){return Pe(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Pe(e.getHours()%12||12,t.length)},H(e,t){return Pe(e.getHours(),t.length)},m(e,t){return Pe(e.getMinutes(),t.length)},s(e,t){return Pe(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Pe(o,t.length)}},Pn={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},I9={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Z1.y(e,t)},Y:function(e,t,n,r){const o=P9(e,r),s=o>0?o:1-o;if(t==="YY"){const a=s%100;return Pe(a,2)}return t==="Yo"?n.ordinalNumber(s,{unit:"year"}):Pe(s,t.length)},R:function(e,t){const n=N9(e);return Pe(n,t.length)},u:function(e,t){const n=e.getFullYear();return Pe(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Pe(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Pe(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Z1.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Pe(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=xa(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):Pe(o,t.length)},I:function(e,t,n){const r=Ca(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Pe(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Z1.d(e,t)},D:function(e,t,n){const r=Vx(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Pe(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),s=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Pe(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),s=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Pe(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return Pe(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=Pn.noon:r===0?o=Pn.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=Pn.evening:r>=12?o=Pn.afternoon:r>=4?o=Pn.morning:o=Pn.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Z1.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Z1.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Pe(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Pe(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Z1.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Z1.s(e,t)},S:function(e,t){return Z1.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return V9(r);case"XXXX":case"XX":return ln(r);case"XXXXX":case"XXX":default:return ln(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return V9(r);case"xxxx":case"xx":return ln(r);case"xxxxx":case"xxx":default:return ln(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+H9(r,":");case"OOOO":default:return"GMT"+ln(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+H9(r,":");case"zzzz":default:return"GMT"+ln(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return Pe(r,t.length)},T:function(e,t,n){return Pe(+e,t.length)}};function H9(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),s=r%60;return s===0?n+String(o):n+String(o)+t+Pe(s,2)}function V9(e,t){return e%60===0?(e>0?"-":"+")+Pe(Math.abs(e)/60,2):ln(e,t)}function ln(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Pe(Math.trunc(r/60),2),s=Pe(r%60,2);return n+o+t+s}const R9=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},B9=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Bx={p:B9,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return R9(e,t);let s;switch(r){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",R9(r,t)).replace("{{time}}",B9(o,t))}},zx=/^D+$/,Zx=/^Y+$/,Wx=["D","DD","YY","YYYY"];function $x(e){return zx.test(e)}function Ux(e){return Zx.test(e)}function qx(e,t,n){const r=Yx(e,t,n);if(console.warn(r),Wx.includes(e))throw new RangeError(r)}function Yx(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Gx=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Xx=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Kx=/^'([^]*?)'?$/,Qx=/''/g,Jx=/[a-zA-Z]/;function cn(e,t,n){var d,f,p,h,m,C,b,g,y,w,v,S,j,E,N,O,P,V;const r=Cr(),o=(f=(d=n==null?void 0:n.locale)!=null?d:r.locale)!=null?f:On,s=(w=(y=(C=(m=n==null?void 0:n.firstWeekContainsDate)!=null?m:(h=(p=n==null?void 0:n.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)!=null?C:r.firstWeekContainsDate)!=null?y:(g=(b=r.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)!=null?w:1,a=(V=(P=(E=(j=n==null?void 0:n.weekStartsOn)!=null?j:(S=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:S.weekStartsOn)!=null?E:r.weekStartsOn)!=null?P:(O=(N=r.locale)==null?void 0:N.options)==null?void 0:O.weekStartsOn)!=null?V:0,l=Re(e,n==null?void 0:n.in);if(!tx(l))throw new RangeError("Invalid time value");let c=t.match(Xx).map(D=>{const F=D[0];if(F==="p"||F==="P"){const R=Bx[F];return R(D,o.formatLong)}return D}).join("").match(Gx).map(D=>{if(D==="''")return{isToken:!1,value:"'"};const F=D[0];if(F==="'")return{isToken:!1,value:eg(D)};if(I9[F])return{isToken:!0,value:D};if(F.match(Jx))throw new RangeError("Format string contains an unescaped latin alphabet character `"+F+"`");return{isToken:!1,value:D}});o.localize.preprocessor&&(c=o.localize.preprocessor(l,c));const u={firstWeekContainsDate:s,weekStartsOn:a,locale:o};return c.map(D=>{if(!D.isToken)return D.value;const F=D.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ux(F)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&$x(F))&&qx(F,t,String(e));const R=I9[F[0]];return R(l,F,o.localize,u)}).join("")}function eg(e){const t=e.match(Kx);return t?t[1].replace(Qx,"'"):e}function tg(e,t){const n=Re(e,t==null?void 0:t.in),r=n.getFullYear(),o=n.getMonth(),s=rt(n,0);return s.setFullYear(r,o+1,0),s.setHours(0,0,0,0),s.getDate()}function ng(e,t){return Re(e,t==null?void 0:t.in).getMonth()}function rg(e,t){return Re(e,t==null?void 0:t.in).getFullYear()}function og(e,t){return+Re(e)>+Re(t)}function sg(e,t){return+Re(e)<+Re(t)}function ig(e,t,n){const[r,o]=Dn(n==null?void 0:n.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function ag(e,t,n){const[r,o]=Dn(n==null?void 0:n.in,e,t);return r.getFullYear()===o.getFullYear()}function lg(e,t,n){const r=Re(e,n==null?void 0:n.in),o=r.getFullYear(),s=r.getDate(),a=rt(e,0);a.setFullYear(o,t,15),a.setHours(0,0,0,0);const l=tg(a);return r.setMonth(t,Math.min(s,l)),r}function cg(e,t,n){const r=Re(e,n==null?void 0:n.in);return isNaN(+r)?rt(e,NaN):(r.setFullYear(t),r)}const z9=5,ug=4;function dg(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,o=t.addDays(e,-r+1),s=t.addDays(o,z9*7-1);return t.getMonth(e)===t.getMonth(s)?z9:ug}function Z9(e,t){const n=t.startOfMonth(e),r=n.getDay();return r===1?n:r===0?t.addDays(n,-1*6):t.addDays(n,-1*(r-1))}function fg(e,t){const n=Z9(e,t),r=dg(e,t);return t.addDays(n,r*7-1)}const W9={...On,labels:{labelDayButton:(e,t,n,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(a,l)=>cn(a,l,{locale:On,...n});let s=o(e,"PPPP");return t.today&&(s=`Today, ${s}`),t.selected&&(s=`${s}, selected`),s},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(o,s)=>cn(o,s,{locale:On,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(a,l)=>cn(a,l,{locale:On,...n});let s=o(e,"PPPP");return t!=null&&t.today&&(s=`Today, ${s}`),s},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(o,s)=>cn(o,s,{locale:On,...t}),r(e,"cccc")}}};class Ft{constructor(t,n){this.Date=Date,this.today=()=>{var r;return(r=this.overrides)!=null&&r.today?this.overrides.today():this.options.timeZone?mt.tz(this.options.timeZone):new this.Date},this.newDate=(r,o,s)=>{var a;return(a=this.overrides)!=null&&a.newDate?this.overrides.newDate(r,o,s):this.options.timeZone?new mt(r,o,s,this.options.timeZone):new Date(r,o,s)},this.addDays=(r,o)=>{var s;return(s=this.overrides)!=null&&s.addDays?this.overrides.addDays(r,o):M9(r,o)},this.addMonths=(r,o)=>{var s;return(s=this.overrides)!=null&&s.addMonths?this.overrides.addMonths(r,o):E9(r,o)},this.addWeeks=(r,o)=>{var s;return(s=this.overrides)!=null&&s.addWeeks?this.overrides.addWeeks(r,o):XC(r,o)},this.addYears=(r,o)=>{var s;return(s=this.overrides)!=null&&s.addYears?this.overrides.addYears(r,o):KC(r,o)},this.differenceInCalendarDays=(r,o)=>{var s;return(s=this.overrides)!=null&&s.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,o):ha(r,o)},this.differenceInCalendarMonths=(r,o)=>{var s;return(s=this.overrides)!=null&&s.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,o):_9(r,o)},this.eachMonthOfInterval=r=>{var o;return(o=this.overrides)!=null&&o.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):rx(r)},this.eachYearOfInterval=r=>{var l;const o=(l=this.overrides)!=null&&l.eachYearOfInterval?this.overrides.eachYearOfInterval(r):ix(r),s=new Set(o.map(c=>this.getYear(c)));if(s.size===o.length)return o;const a=[];return s.forEach(c=>{a.push(new Date(c,0,1))}),a},this.endOfBroadcastWeek=r=>{var o;return(o=this.overrides)!=null&&o.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):fg(r,this)},this.endOfISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.endOfISOWeek?this.overrides.endOfISOWeek(r):ax(r)},this.endOfMonth=r=>{var o;return(o=this.overrides)!=null&&o.endOfMonth?this.overrides.endOfMonth(r):nx(r)},this.endOfWeek=(r,o)=>{var s;return(s=this.overrides)!=null&&s.endOfWeek?this.overrides.endOfWeek(r,o):O9(r,this.options)},this.endOfYear=r=>{var o;return(o=this.overrides)!=null&&o.endOfYear?this.overrides.endOfYear(r):sx(r)},this.format=(r,o,s)=>{var l;const a=(l=this.overrides)!=null&&l.format?this.overrides.format(r,o,this.options):cn(r,o,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(a):a},this.getISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.getISOWeek?this.overrides.getISOWeek(r):Ca(r)},this.getMonth=(r,o)=>{var s;return(s=this.overrides)!=null&&s.getMonth?this.overrides.getMonth(r,this.options):ng(r,this.options)},this.getYear=(r,o)=>{var s;return(s=this.overrides)!=null&&s.getYear?this.overrides.getYear(r,this.options):rg(r,this.options)},this.getWeek=(r,o)=>{var s;return(s=this.overrides)!=null&&s.getWeek?this.overrides.getWeek(r,this.options):xa(r,this.options)},this.isAfter=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isAfter?this.overrides.isAfter(r,o):og(r,o)},this.isBefore=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isBefore?this.overrides.isBefore(r,o):sg(r,o)},this.isDate=r=>{var o;return(o=this.overrides)!=null&&o.isDate?this.overrides.isDate(r):T9(r)},this.isSameDay=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isSameDay?this.overrides.isSameDay(r,o):ex(r,o)},this.isSameMonth=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isSameMonth?this.overrides.isSameMonth(r,o):ig(r,o)},this.isSameYear=(r,o)=>{var s;return(s=this.overrides)!=null&&s.isSameYear?this.overrides.isSameYear(r,o):ag(r,o)},this.max=r=>{var o;return(o=this.overrides)!=null&&o.max?this.overrides.max(r):QC(r)},this.min=r=>{var o;return(o=this.overrides)!=null&&o.min?this.overrides.min(r):JC(r)},this.setMonth=(r,o)=>{var s;return(s=this.overrides)!=null&&s.setMonth?this.overrides.setMonth(r,o):lg(r,o)},this.setYear=(r,o)=>{var s;return(s=this.overrides)!=null&&s.setYear?this.overrides.setYear(r,o):cg(r,o)},this.startOfBroadcastWeek=(r,o)=>{var s;return(s=this.overrides)!=null&&s.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):Z9(r,this)},this.startOfDay=r=>{var o;return(o=this.overrides)!=null&&o.startOfDay?this.overrides.startOfDay(r):gr(r)},this.startOfISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.startOfISOWeek?this.overrides.startOfISOWeek(r):xr(r)},this.startOfMonth=r=>{var o;return(o=this.overrides)!=null&&o.startOfMonth?this.overrides.startOfMonth(r):ox(r)},this.startOfWeek=(r,o)=>{var s;return(s=this.overrides)!=null&&s.startOfWeek?this.overrides.startOfWeek(r,this.options):An(r,this.options)},this.startOfYear=r=>{var o;return(o=this.overrides)!=null&&o.startOfYear?this.overrides.startOfYear(r):D9(r)},this.options={locale:W9,...t},this.overrides=n}getDigitMap(){const{numerals:t="latn"}=this.options,n=new Intl.NumberFormat("en-US",{numberingSystem:t}),r={};for(let o=0;o<10;o++)r[o.toString()]=n.format(o);return r}replaceDigits(t){const n=this.getDigitMap();return t.replace(/\d/g,r=>n[r]||r)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){var n;const t=(n=this.options.locale)==null?void 0:n.code;return t&&Ft.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:n,timeZone:r,numerals:o}=this.options,s=n==null?void 0:n.code;if(s&&Ft.yearFirstLocales.has(s))try{return new Intl.DateTimeFormat(s,{month:"long",year:"numeric",timeZone:r,numberingSystem:o}).format(t)}catch(l){}const a=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,a)}}Ft.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const h1=new Ft;class $9{constructor(t,n,r=h1){this.date=t,this.displayMonth=n,this.outside=!!(n&&!r.isSameMonth(t,n)),this.dateLib=r,this.isoDate=r.format(t,"yyyy-MM-dd"),this.displayMonthId=r.format(n,"yyyy-MM"),this.dateMonthId=r.format(t,"yyyy-MM")}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}}class pg{constructor(t,n){this.date=t,this.weeks=n}}class hg{constructor(t,n){this.days=n,this.weekNumber=t}}function mg(e){return x.createElement("button",{...e})}function Cg(e){return x.createElement("span",{...e})}function xg(e){const{size:t=24,orientation:n="left",className:r}=e;return x.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&x.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&x.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&x.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&x.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function gg(e){const{day:t,modifiers:n,...r}=e;return x.createElement("td",{...r})}function bg(e){const{day:t,modifiers:n,...r}=e,o=x.useRef(null);return x.useEffect(()=>{var s;n.focused&&((s=o.current)==null||s.focus())},[n.focused]),x.createElement("button",{ref:o,...r})}var ge;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(ge||(ge={}));var Ge;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(Ge||(Ge={}));var Xt;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(Xt||(Xt={}));var Tt;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(Tt||(Tt={}));function yg(e){const{options:t,className:n,components:r,classNames:o,...s}=e,a=[o[ge.Dropdown],n].join(" "),l=t==null?void 0:t.find(({value:c})=>c===s.value);return x.createElement("span",{"data-disabled":s.disabled,className:o[ge.DropdownRoot]},x.createElement(r.Select,{className:a,...s},t==null?void 0:t.map(({value:c,label:u,disabled:d})=>x.createElement(r.Option,{key:c,value:c,disabled:d},u))),x.createElement("span",{className:o[ge.CaptionLabel],"aria-hidden":!0},l==null?void 0:l.label,x.createElement(r.Chevron,{orientation:"down",size:18,className:o[ge.Chevron]})))}function wg(e){return x.createElement("div",{...e})}function vg(e){return x.createElement("div",{...e})}function kg(e){const{calendarMonth:t,displayIndex:n,...r}=e;return x.createElement("div",{...r},e.children)}function jg(e){const{calendarMonth:t,displayIndex:n,...r}=e;return x.createElement("div",{...r})}function Sg(e){return x.createElement("table",{...e})}function Lg(e){return x.createElement("div",{...e})}const U9=x.createContext(void 0);function wr(){const e=x.useContext(U9);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function Mg(e){const{components:t}=wr();return x.createElement(t.Dropdown,{...e})}function Eg(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:o,...s}=e,{components:a,classNames:l,labels:{labelPrevious:c,labelNext:u}}=wr(),d=x.useCallback(p=>{o&&(n==null||n(p))},[o,n]),f=x.useCallback(p=>{r&&(t==null||t(p))},[r,t]);return x.createElement("nav",{...s},x.createElement(a.PreviousMonthButton,{type:"button",className:l[ge.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":c(r),onClick:f},x.createElement(a.Chevron,{disabled:r?void 0:!0,className:l[ge.Chevron],orientation:"left"})),x.createElement(a.NextMonthButton,{type:"button",className:l[ge.NextMonthButton],tabIndex:o?void 0:-1,"aria-disabled":o?void 0:!0,"aria-label":u(o),onClick:d},x.createElement(a.Chevron,{disabled:o?void 0:!0,orientation:"right",className:l[ge.Chevron]})))}function Ng(e){const{components:t}=wr();return x.createElement(t.Button,{...e})}function Fg(e){return x.createElement("option",{...e})}function Tg(e){const{components:t}=wr();return x.createElement(t.Button,{...e})}function _g(e){const{rootRef:t,...n}=e;return x.createElement("div",{...n,ref:t})}function Ag(e){return x.createElement("select",{...e})}function Dg(e){const{week:t,...n}=e;return x.createElement("tr",{...n})}function Og(e){return x.createElement("th",{...e})}function Pg(e){return x.createElement("thead",{"aria-hidden":!0},x.createElement("tr",{...e}))}function Ig(e){const{week:t,...n}=e;return x.createElement("th",{...n})}function Hg(e){return x.createElement("th",{...e})}function Vg(e){return x.createElement("tbody",{...e})}function Rg(e){const{components:t}=wr();return x.createElement(t.Dropdown,{...e})}const Bg=Object.freeze(Object.defineProperty({__proto__:null,Button:mg,CaptionLabel:Cg,Chevron:xg,Day:gg,DayButton:bg,Dropdown:yg,DropdownNav:wg,Footer:vg,Month:kg,MonthCaption:jg,MonthGrid:Sg,Months:Lg,MonthsDropdown:Mg,Nav:Eg,NextMonthButton:Ng,Option:Fg,PreviousMonthButton:Tg,Root:_g,Select:Ag,Week:Dg,WeekNumber:Ig,WeekNumberHeader:Hg,Weekday:Og,Weekdays:Pg,Weeks:Vg,YearsDropdown:Rg},Symbol.toStringTag,{value:"Module"}));function E1(e,t,n=!1,r=h1){let{from:o,to:s}=e;const{differenceInCalendarDays:a,isSameDay:l}=r;return o&&s?(a(s,o)<0&&([o,s]=[s,o]),a(t,o)>=(n?1:0)&&a(s,t)>=(n?1:0)):!n&&s?l(s,t):!n&&o?l(o,t):!1}function ga(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function $o(e){return!!(e&&typeof e=="object"&&"from"in e)}function ba(e){return!!(e&&typeof e=="object"&&"after"in e)}function ya(e){return!!(e&&typeof e=="object"&&"before"in e)}function q9(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Y9(e,t){return Array.isArray(e)&&e.every(t.isDate)}function N1(e,t,n=h1){const r=Array.isArray(t)?t:[t],{isSameDay:o,differenceInCalendarDays:s,isAfter:a}=n;return r.some(l=>{if(typeof l=="boolean")return l;if(n.isDate(l))return o(e,l);if(Y9(l,n))return l.some(c=>o(e,c));if($o(l))return E1(l,e,!1,n);if(q9(l))return Array.isArray(l.dayOfWeek)?l.dayOfWeek.includes(e.getDay()):l.dayOfWeek===e.getDay();if(ga(l)){const c=s(l.before,e),u=s(l.after,e),d=c>0,f=u<0;return a(l.before,l.after)?f&&d:d||f}return ba(l)?s(e,l.after)>0:ya(l)?s(l.before,e)>0:typeof l=="function"?l(e):!1})}function zg(e,t,n,r,o){const{disabled:s,hidden:a,modifiers:l,showOutsideDays:c,broadcastCalendar:u,today:d=o.today()}=t,{isSameDay:f,isSameMonth:p,startOfMonth:h,isBefore:m,endOfMonth:C,isAfter:b}=o,g=n&&h(n),y=r&&C(r),w={[Ge.focused]:[],[Ge.outside]:[],[Ge.disabled]:[],[Ge.hidden]:[],[Ge.today]:[]},v={};for(const S of e){const{date:j,displayMonth:E}=S,N=!!(E&&!p(j,E)),O=!!(g&&m(j,g)),P=!!(y&&b(j,y)),V=!!(s&&N1(j,s,o)),D=!!(a&&N1(j,a,o))||O||P||!u&&!c&&N||u&&c===!1&&N,F=f(j,d);N&&w.outside.push(S),V&&w.disabled.push(S),D&&w.hidden.push(S),F&&w.today.push(S),l&&Object.keys(l).forEach(R=>{const B=l==null?void 0:l[R];B&&N1(j,B,o)&&(v[R]?v[R].push(S):v[R]=[S])})}return S=>{const j={[Ge.focused]:!1,[Ge.disabled]:!1,[Ge.hidden]:!1,[Ge.outside]:!1,[Ge.today]:!1},E={};for(const N in w){const O=w[N];j[N]=O.some(P=>P===S)}for(const N in v)E[N]=v[N].some(O=>O===S);return{...j,...E}}}function Zg(e,t,n={}){return Object.entries(e).filter(([,o])=>o===!0).reduce((o,[s])=>(n[s]?o.push(n[s]):t[Ge[s]]?o.push(t[Ge[s]]):t[Xt[s]]&&o.push(t[Xt[s]]),o),[t[ge.Day]])}function Wg(e){return{...Bg,...e}}function $g(e){var n;const t={"data-mode":(n=e.mode)!=null?n:void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([r,o])=>{r.startsWith("data-")&&(t[r]=o)}),t}function Ug(){const e={};for(const t in ge)e[ge[t]]=`rdp-${ge[t]}`;for(const t in Ge)e[Ge[t]]=`rdp-${Ge[t]}`;for(const t in Xt)e[Xt[t]]=`rdp-${Xt[t]}`;for(const t in Tt)e[Tt[t]]=`rdp-${Tt[t]}`;return e}function G9(e,t,n){return(n!=null?n:new Ft(t)).formatMonthYear(e)}const qg=G9;function Yg(e,t,n){return(n!=null?n:new Ft(t)).format(e,"d")}function Gg(e,t=h1){return t.format(e,"LLLL")}function Xg(e,t,n){return(n!=null?n:new Ft(t)).format(e,"cccccc")}function Kg(e,t=h1){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function Qg(){return""}function X9(e,t=h1){return t.format(e,"yyyy")}const Jg=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:G9,formatDay:Yg,formatMonthCaption:qg,formatMonthDropdown:Gg,formatWeekNumber:Kg,formatWeekNumberHeader:Qg,formatWeekdayName:Xg,formatYearCaption:X9,formatYearDropdown:X9},Symbol.toStringTag,{value:"Module"}));function eb(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...Jg,...e}}function wa(e,t,n,r){let o=(r!=null?r:new Ft(n)).format(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o}const tb=wa;function va(e,t,n){return(n!=null?n:new Ft(t)).formatMonthYear(e)}const nb=va;function K9(e,t,n,r){let o=(r!=null?r:new Ft(n)).format(e,"PPPP");return t!=null&&t.today&&(o=`Today, ${o}`),o}function Q9(e){return"Choose the Month"}function J9(){return""}const rb="Go to the Next Month";function e7(e,t){return rb}function t7(e){return"Go to the Previous Month"}function n7(e,t,n){return(n!=null?n:new Ft(t)).format(e,"cccc")}function r7(e,t){return`Week ${e}`}function o7(e){return"Week Number"}function s7(e){return"Choose the Year"}const ob=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:nb,labelDay:tb,labelDayButton:wa,labelGrid:va,labelGridcell:K9,labelMonthDropdown:Q9,labelNav:J9,labelNext:e7,labelPrevious:t7,labelWeekNumber:r7,labelWeekNumberHeader:o7,labelWeekday:n7,labelYearDropdown:s7},Symbol.toStringTag,{value:"Module"})),Kt=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function sb(e,t){var r,o;const n=(o=(r=t.locale)==null?void 0:r.labels)!=null?o:{};return{...ob,...e!=null?e:{},labelDayButton:Kt(wa,e==null?void 0:e.labelDayButton,n.labelDayButton),labelMonthDropdown:Kt(Q9,e==null?void 0:e.labelMonthDropdown,n.labelMonthDropdown),labelNext:Kt(e7,e==null?void 0:e.labelNext,n.labelNext),labelPrevious:Kt(t7,e==null?void 0:e.labelPrevious,n.labelPrevious),labelWeekNumber:Kt(r7,e==null?void 0:e.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:Kt(s7,e==null?void 0:e.labelYearDropdown,n.labelYearDropdown),labelGrid:Kt(va,e==null?void 0:e.labelGrid,n.labelGrid),labelGridcell:Kt(K9,e==null?void 0:e.labelGridcell,n.labelGridcell),labelNav:Kt(J9,e==null?void 0:e.labelNav,n.labelNav),labelWeekNumberHeader:Kt(o7,e==null?void 0:e.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:Kt(n7,e==null?void 0:e.labelWeekday,n.labelWeekday)}}function ib(e,t,n,r,o){const{startOfMonth:s,startOfYear:a,endOfYear:l,eachMonthOfInterval:c,getMonth:u}=o;return c({start:a(e),end:l(e)}).map(p=>{const h=r.formatMonthDropdown(p,o),m=u(p),C=t&&p<s(t)||n&&p>s(n)||!1;return{value:m,label:h,disabled:C}})}function ab(e,t={},n={}){let r={...t==null?void 0:t[ge.Day]};return Object.entries(e).filter(([,o])=>o===!0).forEach(([o])=>{r={...r,...n==null?void 0:n[o]}}),r}function lb(e,t,n,r){const o=r!=null?r:e.today(),s=n?e.startOfBroadcastWeek(o,e):t?e.startOfISOWeek(o):e.startOfWeek(o),a=[];for(let l=0;l<7;l++){const c=e.addDays(s,l);a.push(c)}return a}function cb(e,t,n,r,o=!1){if(!e||!t)return;const{startOfYear:s,endOfYear:a,eachYearOfInterval:l,getYear:c}=r,u=s(e),d=a(t),f=l({start:u,end:d});return o&&f.reverse(),f.map(p=>{const h=n.formatYearDropdown(p,r);return{value:c(p),label:h,disabled:!1}})}function ub(e,t={}){var l,c;const{weekStartsOn:n,locale:r}=t,o=(c=n!=null?n:(l=r==null?void 0:r.options)==null?void 0:l.weekStartsOn)!=null?c:0,s=u=>{const d=typeof u=="number"||typeof u=="string"?new Date(u):u;return new mt(d.getFullYear(),d.getMonth(),d.getDate(),12,0,0,e)},a=u=>{const d=s(u);return new Date(d.getFullYear(),d.getMonth(),d.getDate(),0,0,0,0)};return{today:()=>s(mt.tz(e)),newDate:(u,d,f)=>new mt(u,d,f,12,0,0,e),startOfDay:u=>s(u),startOfWeek:(u,d)=>{var m;const f=s(u),p=(m=d==null?void 0:d.weekStartsOn)!=null?m:o,h=(f.getDay()-p+7)%7;return f.setDate(f.getDate()-h),f},startOfISOWeek:u=>{const d=s(u),f=(d.getDay()-1+7)%7;return d.setDate(d.getDate()-f),d},startOfMonth:u=>{const d=s(u);return d.setDate(1),d},startOfYear:u=>{const d=s(u);return d.setMonth(0,1),d},endOfWeek:(u,d)=>{var C;const f=s(u),m=((((C=d==null?void 0:d.weekStartsOn)!=null?C:o)+6)%7-f.getDay()+7)%7;return f.setDate(f.getDate()+m),f},endOfISOWeek:u=>{const d=s(u),f=(7-d.getDay())%7;return d.setDate(d.getDate()+f),d},endOfMonth:u=>{const d=s(u);return d.setMonth(d.getMonth()+1,0),d},endOfYear:u=>{const d=s(u);return d.setMonth(11,31),d},eachMonthOfInterval:u=>{const d=s(u.start),f=s(u.end),p=[],h=new mt(d.getFullYear(),d.getMonth(),1,12,0,0,e),m=f.getFullYear()*12+f.getMonth();for(;h.getFullYear()*12+h.getMonth()<=m;)p.push(new mt(h,e)),h.setMonth(h.getMonth()+1,1);return p},addDays:(u,d)=>{const f=s(u);return f.setDate(f.getDate()+d),f},addWeeks:(u,d)=>{const f=s(u);return f.setDate(f.getDate()+d*7),f},addMonths:(u,d)=>{const f=s(u);return f.setMonth(f.getMonth()+d),f},addYears:(u,d)=>{const f=s(u);return f.setFullYear(f.getFullYear()+d),f},eachYearOfInterval:u=>{const d=s(u.start),f=s(u.end),p=[],h=new mt(d.getFullYear(),0,1,12,0,0,e);for(;h.getFullYear()<=f.getFullYear();)p.push(new mt(h,e)),h.setFullYear(h.getFullYear()+1,0,1);return p},getWeek:(u,d)=>{var p,h,m,C;const f=a(u);return xa(f,{weekStartsOn:(p=d==null?void 0:d.weekStartsOn)!=null?p:o,firstWeekContainsDate:(C=(m=d==null?void 0:d.firstWeekContainsDate)!=null?m:(h=r==null?void 0:r.options)==null?void 0:h.firstWeekContainsDate)!=null?C:1})},getISOWeek:u=>{const d=a(u);return Ca(d)},differenceInCalendarDays:(u,d)=>{const f=a(u),p=a(d);return ha(f,p)},differenceInCalendarMonths:(u,d)=>{const f=a(u),p=a(d);return _9(f,p)}}}const vr=e=>e instanceof HTMLElement?e:null,ka=e=>{var t;return[...(t=e.querySelectorAll("[data-animated-month]"))!=null?t:[]]},db=e=>vr(e.querySelector("[data-animated-month]")),ja=e=>vr(e.querySelector("[data-animated-caption]")),Sa=e=>vr(e.querySelector("[data-animated-weeks]")),fb=e=>vr(e.querySelector("[data-animated-nav]")),pb=e=>vr(e.querySelector("[data-animated-weekdays]"));function hb(e,t,{classNames:n,months:r,focused:o,dateLib:s}){const a=x.useRef(null),l=x.useRef(r),c=x.useRef(!1);x.useLayoutEffect(()=>{const u=l.current;if(l.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||u.length===0||r.length!==u.length)return;const d=s.isSameMonth(r[0].date,u[0].date),f=s.isAfter(r[0].date,u[0].date),p=f?n[Tt.caption_after_enter]:n[Tt.caption_before_enter],h=f?n[Tt.weeks_after_enter]:n[Tt.weeks_before_enter],m=a.current,C=e.current.cloneNode(!0);if(C instanceof HTMLElement?(ka(C).forEach(w=>{if(!(w instanceof HTMLElement))return;const v=db(w);v&&w.contains(v)&&w.removeChild(v);const S=ja(w);S&&S.classList.remove(p);const j=Sa(w);j&&j.classList.remove(h)}),a.current=C):a.current=null,c.current||d||o)return;const b=m instanceof HTMLElement?ka(m):[],g=ka(e.current);if(g!=null&&g.every(y=>y instanceof HTMLElement)&&b&&b.every(y=>y instanceof HTMLElement)){c.current=!0,e.current.style.isolation="isolate";const y=fb(e.current);y&&(y.style.zIndex="1"),g.forEach((w,v)=>{const S=b[v];if(!S)return;w.style.position="relative",w.style.overflow="hidden";const j=ja(w);j&&j.classList.add(p);const E=Sa(w);E&&E.classList.add(h);const N=()=>{c.current=!1,e.current&&(e.current.style.isolation=""),y&&(y.style.zIndex=""),j&&j.classList.remove(p),E&&E.classList.remove(h),w.style.position="",w.style.overflow="",w.contains(S)&&w.removeChild(S)};S.style.pointerEvents="none",S.style.position="absolute",S.style.overflow="hidden",S.setAttribute("aria-hidden","true");const O=pb(S);O&&(O.style.opacity="0");const P=ja(S);P&&(P.classList.add(f?n[Tt.caption_before_exit]:n[Tt.caption_after_exit]),P.addEventListener("animationend",N));const V=Sa(S);V&&V.classList.add(f?n[Tt.weeks_before_exit]:n[Tt.weeks_after_exit]),w.insertBefore(S,w.firstChild)})}})}function mb(e,t,n,r){const o=e[0],s=e[e.length-1],{ISOWeek:a,fixedWeeks:l,broadcastCalendar:c}=n!=null?n:{},{addDays:u,differenceInCalendarDays:d,differenceInCalendarMonths:f,endOfBroadcastWeek:p,endOfISOWeek:h,endOfMonth:m,endOfWeek:C,isAfter:b,startOfBroadcastWeek:g,startOfISOWeek:y,startOfWeek:w}=r,v=c?g(o,r):a?y(o):w(o),S=c?p(s):a?h(m(s)):C(m(s)),j=t&&(c?p(t):a?h(t):C(t)),E=j&&b(S,j)?j:S,N=d(E,v),O=f(s,o)+1,P=[];for(let F=0;F<=N;F++){const R=u(v,F);P.push(R)}const D=(c?35:42)*O;if(l&&P.length<D){const F=D-P.length;for(let R=0;R<F;R++){const B=u(P[P.length-1],1);P.push(B)}}return P}function Cb(e){const t=[];return e.reduce((n,r)=>{const o=r.weeks.reduce((s,a)=>s.concat(a.days.slice()),t.slice());return n.concat(o.slice())},t.slice())}function xb(e,t,n,r){const{numberOfMonths:o=1}=n,s=[];for(let a=0;a<o;a++){const l=r.addMonths(e,a);if(t&&l>t)break;s.push(l)}return s}function i7(e,t,n,r){const{month:o,defaultMonth:s,today:a=r.today(),numberOfMonths:l=1}=e;let c=o||s||a;const{differenceInCalendarMonths:u,addMonths:d,startOfMonth:f}=r;if(n&&u(n,c)<l-1){const p=-1*(l-1);c=d(n,p)}return t&&u(c,t)<0&&(c=t),f(c)}function gb(e,t,n,r){const{addDays:o,endOfBroadcastWeek:s,endOfISOWeek:a,endOfMonth:l,endOfWeek:c,getISOWeek:u,getWeek:d,startOfBroadcastWeek:f,startOfISOWeek:p,startOfWeek:h}=r,m=e.reduce((C,b)=>{const g=n.broadcastCalendar?f(b,r):n.ISOWeek?p(b):h(b),y=n.broadcastCalendar?s(b):n.ISOWeek?a(l(b)):c(l(b)),w=t.filter(E=>E>=g&&E<=y),v=n.broadcastCalendar?35:42;if(n.fixedWeeks&&w.length<v){const E=t.filter(N=>{const O=v-w.length;return N>y&&N<=o(y,O)});w.push(...E)}const S=w.reduce((E,N)=>{const O=n.ISOWeek?u(N):d(N),P=E.find(D=>D.weekNumber===O),V=new $9(N,b,r);return P?P.days.push(V):E.push(new hg(O,[V])),E},[]),j=new pg(b,S);return C.push(j),C},[]);return n.reverseMonths?m.reverse():m}function bb(e,t){var g,y;let{startMonth:n,endMonth:r}=e;const{startOfYear:o,startOfDay:s,startOfMonth:a,endOfMonth:l,addYears:c,endOfYear:u,newDate:d,today:f}=t,{fromYear:p,toYear:h,fromMonth:m,toMonth:C}=e;!n&&m&&(n=m),!n&&p&&(n=t.newDate(p,0,1)),!r&&C&&(r=C),!r&&h&&(r=d(h,11,31));const b=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=a(n):p?n=d(p,0,1):!n&&b&&(n=o(c((g=e.today)!=null?g:f(),-100))),r?r=l(r):h?r=d(h,11,31):!r&&b&&(r=u((y=e.today)!=null?y:f())),[n&&s(n),r&&s(r)]}function yb(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:s=1}=n,{startOfMonth:a,addMonths:l,differenceInCalendarMonths:c}=r,u=o?s:1,d=a(e);if(!t)return l(d,u);if(!(c(t,e)<s))return l(d,u)}function wb(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:s}=n,{startOfMonth:a,addMonths:l,differenceInCalendarMonths:c}=r,u=o&&s!=null?s:1,d=a(e);if(!t)return l(d,-u);if(!(c(d,t)<=0))return l(d,-u)}function vb(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function Uo(e,t){const[n,r]=x.useState(e);return[t===void 0?n:t,r]}function kb(e,t){var v;const[n,r]=bb(e,t),{startOfMonth:o,endOfMonth:s}=t,a=i7(e,n,r,t),[l,c]=Uo(a,e.month?a:void 0);x.useEffect(()=>{const S=i7(e,n,r,t);c(S)},[e.timeZone]);const{months:u,weeks:d,days:f,previousMonth:p,nextMonth:h}=x.useMemo(()=>{const S=xb(l,r,{numberOfMonths:e.numberOfMonths},t),j=mb(S,e.endMonth?s(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),E=gb(S,j,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),N=vb(E),O=Cb(E),P=wb(l,n,e,t),V=yb(l,r,e,t);return{months:E,weeks:N,days:O,previousMonth:P,nextMonth:V}},[t,l.getTime(),r==null?void 0:r.getTime(),n==null?void 0:n.getTime(),e.disableNavigation,e.broadcastCalendar,(v=e.endMonth)==null?void 0:v.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:m,onMonthChange:C}=e,b=S=>d.some(j=>j.days.some(E=>E.isEqualTo(S))),g=S=>{if(m)return;let j=o(S);n&&j<o(n)&&(j=o(n)),r&&j>o(r)&&(j=o(r)),c(j),C==null||C(j)};return{months:u,weeks:d,days:f,navStart:n,navEnd:r,previousMonth:p,nextMonth:h,goToMonth:g,goToDay:S=>{b(S)||g(S.date)}}}var m1;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(m1||(m1={}));function a7(e){return!e[Ge.disabled]&&!e[Ge.hidden]&&!e[Ge.outside]}function jb(e,t,n,r){let o,s=-1;for(const a of e){const l=t(a);a7(l)&&(l[Ge.focused]&&s<m1.FocusedModifier?(o=a,s=m1.FocusedModifier):r!=null&&r.isEqualTo(a)&&s<m1.LastFocused?(o=a,s=m1.LastFocused):n(a.date)&&s<m1.Selected?(o=a,s=m1.Selected):l[Ge.today]&&s<m1.Today&&(o=a,s=m1.Today))}return o||(o=e.find(a=>a7(t(a)))),o}function Sb(e,t,n,r,o,s,a){const{ISOWeek:l,broadcastCalendar:c}=s,{addDays:u,addMonths:d,addWeeks:f,addYears:p,endOfBroadcastWeek:h,endOfISOWeek:m,endOfWeek:C,max:b,min:g,startOfBroadcastWeek:y,startOfISOWeek:w,startOfWeek:v}=a;let j={day:u,week:f,month:d,year:p,startOfWeek:E=>c?y(E,a):l?w(E):v(E),endOfWeek:E=>c?h(E):l?m(E):C(E)}[e](n,t==="after"?1:-1);return t==="before"&&r?j=b([r,j]):t==="after"&&o&&(j=g([o,j])),j}function l7(e,t,n,r,o,s,a,l=0){if(l>365)return;const c=Sb(e,t,n.date,r,o,s,a),u=!!(s.disabled&&N1(c,s.disabled,a)),d=!!(s.hidden&&N1(c,s.hidden,a)),f=c,p=new $9(c,f,a);return!u&&!d?p:l7(e,t,p,r,o,s,a,l+1)}function Lb(e,t,n,r,o){const{autoFocus:s}=e,[a,l]=x.useState(),c=jb(t.days,n,r||(()=>!1),a),[u,d]=x.useState(s?c:void 0);return{isFocusTarget:C=>!!(c!=null&&c.isEqualTo(C)),setFocused:d,focused:u,blur:()=>{l(u),d(void 0)},moveFocus:(C,b)=>{if(!u)return;const g=l7(C,b,u,t.navStart,t.navEnd,e,o);g&&(e.disableNavigation&&!t.days.some(w=>w.isEqualTo(g))||(t.goToDay(g),d(g)))}}}function Mb(e,t){const{selected:n,required:r,onSelect:o}=e,[s,a]=Uo(n,o?n:void 0),l=o?n:s,{isSameDay:c}=t,u=h=>{var m;return(m=l==null?void 0:l.some(C=>c(C,h)))!=null?m:!1},{min:d,max:f}=e;return{selected:l,select:(h,m,C)=>{let b=[...l!=null?l:[]];if(u(h)){if((l==null?void 0:l.length)===d||r&&(l==null?void 0:l.length)===1)return;b=l==null?void 0:l.filter(g=>!c(g,h))}else(l==null?void 0:l.length)===f?b=[h]:b=[...b,h];return o||a(b),o==null||o(b,h,m,C),b},isSelected:u}}function Eb(e,t,n=0,r=0,o=!1,s=h1){const{from:a,to:l}=t||{},{isSameDay:c,isAfter:u,isBefore:d}=s;let f;if(!a&&!l)f={from:e,to:n>0?void 0:e};else if(a&&!l)c(a,e)?n===0?f={from:a,to:e}:o?f={from:a,to:void 0}:f=void 0:d(e,a)?f={from:e,to:a}:f={from:a,to:e};else if(a&&l)if(c(a,e)&&c(l,e))o?f={from:a,to:l}:f=void 0;else if(c(a,e))f={from:a,to:n>0?void 0:e};else if(c(l,e))f={from:e,to:n>0?void 0:e};else if(d(e,a))f={from:e,to:l};else if(u(e,a))f={from:a,to:e};else if(u(e,l))f={from:a,to:e};else throw new Error("Invalid range");if(f!=null&&f.from&&(f!=null&&f.to)){const p=s.differenceInCalendarDays(f.to,f.from);r>0&&p>r?f={from:e,to:void 0}:n>1&&p<n&&(f={from:e,to:void 0})}return f}function Nb(e,t,n=h1){const r=Array.isArray(t)?t:[t];let o=e.from;const s=n.differenceInCalendarDays(e.to,e.from),a=Math.min(s,6);for(let l=0;l<=a;l++){if(r.includes(o.getDay()))return!0;o=n.addDays(o,1)}return!1}function c7(e,t,n=h1){return E1(e,t.from,!1,n)||E1(e,t.to,!1,n)||E1(t,e.from,!1,n)||E1(t,e.to,!1,n)}function Fb(e,t,n=h1){const r=Array.isArray(t)?t:[t];if(r.filter(l=>typeof l!="function").some(l=>typeof l=="boolean"?l:n.isDate(l)?E1(e,l,!1,n):Y9(l,n)?l.some(c=>E1(e,c,!1,n)):$o(l)?l.from&&l.to?c7(e,{from:l.from,to:l.to},n):!1:q9(l)?Nb(e,l.dayOfWeek,n):ga(l)?n.isAfter(l.before,l.after)?c7(e,{from:n.addDays(l.after,1),to:n.addDays(l.before,-1)},n):N1(e.from,l,n)||N1(e.to,l,n):ba(l)||ya(l)?N1(e.from,l,n)||N1(e.to,l,n):!1))return!0;const a=r.filter(l=>typeof l=="function");if(a.length){let l=e.from;const c=n.differenceInCalendarDays(e.to,e.from);for(let u=0;u<=c;u++){if(a.some(d=>d(l)))return!0;l=n.addDays(l,1)}}return!1}function Tb(e,t){const{disabled:n,excludeDisabled:r,selected:o,required:s,onSelect:a}=e,[l,c]=Uo(o,a?o:void 0),u=a?o:l;return{selected:u,select:(p,h,m)=>{const{min:C,max:b}=e,g=p?Eb(p,u,C,b,s,t):void 0;return r&&n&&(g!=null&&g.from)&&g.to&&Fb({from:g.from,to:g.to},n,t)&&(g.from=p,g.to=void 0),a||c(g),a==null||a(g,p,h,m),g},isSelected:p=>u&&E1(u,p,!1,t)}}function _b(e,t){const{selected:n,required:r,onSelect:o}=e,[s,a]=Uo(n,o?n:void 0),l=o?n:s,{isSameDay:c}=t;return{selected:l,select:(f,p,h)=>{let m=f;return!r&&l&&l&&c(f,l)&&(m=void 0),o||a(m),o==null||o(m,f,p,h),m},isSelected:f=>l?c(l,f):!1}}function Ab(e,t){const n=_b(e,t),r=Mb(e,t),o=Tb(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return o;default:return}}function Rt(e,t){return e instanceof mt&&e.timeZone===t?e:new mt(e,t)}function In(e,t,n){return Rt(e,t)}function u7(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?In(e,t):Array.isArray(e)?e.map(r=>r instanceof Date?In(r,t):r):$o(e)?{...e,from:e.from?Rt(e.from,t):e.from,to:e.to?Rt(e.to,t):e.to}:ga(e)?{before:In(e.before,t),after:In(e.after,t)}:ba(e)?{after:In(e.after,t)}:ya(e)?{before:In(e.before,t)}:e}function La(e,t,n){return e&&(Array.isArray(e)?e.map(r=>u7(r,t)):u7(e,t))}function Db(e){var be,_e;let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=Rt(t.today,n)),t.month&&(t.month=Rt(t.month,n)),t.defaultMonth&&(t.defaultMonth=Rt(t.defaultMonth,n)),t.startMonth&&(t.startMonth=Rt(t.startMonth,n)),t.endMonth&&(t.endMonth=Rt(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=Rt(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=(be=t.selected)==null?void 0:be.map(pe=>Rt(pe,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?Rt(t.selected.from,n):t.selected.from,to:t.selected.to?Rt(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=La(t.disabled,n)),t.hidden!==void 0&&(t.hidden=La(t.hidden,n)),t.modifiers)){const pe={};Object.keys(t.modifiers).forEach(he=>{var de;pe[he]=La((de=t.modifiers)==null?void 0:de[he],n)}),t.modifiers=pe}const{components:r,formatters:o,labels:s,dateLib:a,locale:l,classNames:c}=x.useMemo(()=>{var Se;const pe={...W9,...t.locale},he=t.broadcastCalendar?1:t.weekStartsOn,de=t.noonSafe&&t.timeZone?ub(t.timeZone,{weekStartsOn:he,locale:pe}):void 0,je=t.dateLib&&de?{...de,...t.dateLib}:(Se=t.dateLib)!=null?Se:de,Ve=new Ft({locale:pe,weekStartsOn:he,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},je);return{dateLib:Ve,components:Wg(t.components),formatters:eb(t.formatters),labels:sb(t.labels,Ve.options),locale:pe,classNames:{...Ug(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:a.today()});const{captionLayout:u,mode:d,navLayout:f,numberOfMonths:p=1,onDayBlur:h,onDayClick:m,onDayFocus:C,onDayKeyDown:b,onDayMouseEnter:g,onDayMouseLeave:y,onNextClick:w,onPrevClick:v,showWeekNumber:S,styles:j}=t,{formatCaption:E,formatDay:N,formatMonthDropdown:O,formatWeekNumber:P,formatWeekNumberHeader:V,formatWeekdayName:D,formatYearDropdown:F}=o,R=kb(t,a),{days:B,months:$,navStart:U,navEnd:Z,previousMonth:J,nextMonth:L,goToMonth:z}=R,ee=zg(B,t,U,Z,a),{isSelected:M,select:Y,selected:ie}=(_e=Ab(t,a))!=null?_e:{},{blur:K,focused:W,isFocusTarget:te,moveFocus:G,setFocused:ne}=Lb(t,R,ee,M!=null?M:()=>!1,a),{labelDayButton:oe,labelGridcell:ue,labelGrid:Le,labelMonthDropdown:le,labelNav:De,labelPrevious:Fe,labelNext:Ke,labelWeekday:n1,labelWeekNumber:It,labelWeekNumberHeader:it,labelYearDropdown:Zt}=s,fe=x.useMemo(()=>lb(a,t.ISOWeek,t.broadcastCalendar,t.today),[a,t.ISOWeek,t.broadcastCalendar,t.today]),Me=d!==void 0||m!==void 0,Ze=x.useCallback(()=>{J&&(z(J),v==null||v(J))},[J,z,v]),I=x.useCallback(()=>{L&&(z(L),w==null||w(L))},[z,L,w]),_=x.useCallback((pe,he)=>de=>{de.preventDefault(),de.stopPropagation(),ne(pe),!he.disabled&&(Y==null||Y(pe.date,he,de),m==null||m(pe.date,he,de))},[Y,m,ne]),H=x.useCallback((pe,he)=>de=>{ne(pe),C==null||C(pe.date,he,de)},[C,ne]),q=x.useCallback((pe,he)=>de=>{K(),h==null||h(pe.date,he,de)},[K,h]),X=x.useCallback((pe,he)=>de=>{const je={ArrowLeft:[de.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[de.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[de.shiftKey?"year":"week","after"],ArrowUp:[de.shiftKey?"year":"week","before"],PageUp:[de.shiftKey?"year":"month","before"],PageDown:[de.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(je[de.key]){de.preventDefault(),de.stopPropagation();const[Ve,Se]=je[de.key];G(Ve,Se)}b==null||b(pe.date,he,de)},[G,b,t.dir]),Q=x.useCallback((pe,he)=>de=>{g==null||g(pe.date,he,de)},[g]),ae=x.useCallback((pe,he)=>de=>{y==null||y(pe.date,he,de)},[y]),xe=x.useCallback(pe=>he=>{const de=Number(he.target.value),je=a.setMonth(a.startOfMonth(pe),de);z(je)},[a,z]),we=x.useCallback(pe=>he=>{const de=Number(he.target.value),je=a.setYear(a.startOfMonth(pe),de);z(je)},[a,z]),{className:Be,style:Qe}=x.useMemo(()=>({className:[c[ge.Root],t.className].filter(Boolean).join(" "),style:{...j==null?void 0:j[ge.Root],...t.style}}),[c,t.className,t.style,j]),He=$g(t),dt=x.useRef(null);hb(dt,!!t.animate,{classNames:c,months:$,focused:W,dateLib:a});const ht={dayPickerProps:t,selected:ie,select:Y,isSelected:M,months:$,nextMonth:L,previousMonth:J,goToMonth:z,getModifiers:ee,components:r,classNames:c,styles:j,labels:s,formatters:o};return x.createElement(U9.Provider,{value:ht},x.createElement(r.Root,{rootRef:t.animate?dt:void 0,className:Be,style:Qe,dir:t.dir,id:t.id,lang:t.lang,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...He},x.createElement(r.Months,{className:c[ge.Months],style:j==null?void 0:j[ge.Months]},!t.hideNavigation&&!f&&x.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:c[ge.Nav],style:j==null?void 0:j[ge.Nav],"aria-label":De(),onPreviousClick:Ze,onNextClick:I,previousMonth:J,nextMonth:L}),$.map((pe,he)=>x.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:c[ge.Month],style:j==null?void 0:j[ge.Month],key:he,displayIndex:he,calendarMonth:pe},f==="around"&&!t.hideNavigation&&he===0&&x.createElement(r.PreviousMonthButton,{type:"button",className:c[ge.PreviousMonthButton],tabIndex:J?void 0:-1,"aria-disabled":J?void 0:!0,"aria-label":Fe(J),onClick:Ze,"data-animated-button":t.animate?"true":void 0},x.createElement(r.Chevron,{disabled:J?void 0:!0,className:c[ge.Chevron],orientation:t.dir==="rtl"?"right":"left"})),x.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:c[ge.MonthCaption],style:j==null?void 0:j[ge.MonthCaption],calendarMonth:pe,displayIndex:he},u!=null&&u.startsWith("dropdown")?x.createElement(r.DropdownNav,{className:c[ge.Dropdowns],style:j==null?void 0:j[ge.Dropdowns]},(()=>{const de=u==="dropdown"||u==="dropdown-months"?x.createElement(r.MonthsDropdown,{key:"month",className:c[ge.MonthsDropdown],"aria-label":le(),classNames:c,components:r,disabled:!!t.disableNavigation,onChange:xe(pe.date),options:ib(pe.date,U,Z,o,a),style:j==null?void 0:j[ge.Dropdown],value:a.getMonth(pe.date)}):x.createElement("span",{key:"month"},O(pe.date,a)),je=u==="dropdown"||u==="dropdown-years"?x.createElement(r.YearsDropdown,{key:"year",className:c[ge.YearsDropdown],"aria-label":Zt(a.options),classNames:c,components:r,disabled:!!t.disableNavigation,onChange:we(pe.date),options:cb(U,Z,o,a,!!t.reverseYears),style:j==null?void 0:j[ge.Dropdown],value:a.getYear(pe.date)}):x.createElement("span",{key:"year"},F(pe.date,a));return a.getMonthYearOrder()==="year-first"?[je,de]:[de,je]})(),x.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},E(pe.date,a.options,a))):x.createElement(r.CaptionLabel,{className:c[ge.CaptionLabel],role:"status","aria-live":"polite"},E(pe.date,a.options,a))),f==="around"&&!t.hideNavigation&&he===p-1&&x.createElement(r.NextMonthButton,{type:"button",className:c[ge.NextMonthButton],tabIndex:L?void 0:-1,"aria-disabled":L?void 0:!0,"aria-label":Ke(L),onClick:I,"data-animated-button":t.animate?"true":void 0},x.createElement(r.Chevron,{disabled:L?void 0:!0,className:c[ge.Chevron],orientation:t.dir==="rtl"?"left":"right"})),he===p-1&&f==="after"&&!t.hideNavigation&&x.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:c[ge.Nav],style:j==null?void 0:j[ge.Nav],"aria-label":De(),onPreviousClick:Ze,onNextClick:I,previousMonth:J,nextMonth:L}),x.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":d==="multiple"||d==="range","aria-label":Le(pe.date,a.options,a)||void 0,className:c[ge.MonthGrid],style:j==null?void 0:j[ge.MonthGrid]},!t.hideWeekdays&&x.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:c[ge.Weekdays],style:j==null?void 0:j[ge.Weekdays]},S&&x.createElement(r.WeekNumberHeader,{"aria-label":it(a.options),className:c[ge.WeekNumberHeader],style:j==null?void 0:j[ge.WeekNumberHeader],scope:"col"},V()),fe.map(de=>x.createElement(r.Weekday,{"aria-label":n1(de,a.options,a),className:c[ge.Weekday],key:String(de),style:j==null?void 0:j[ge.Weekday],scope:"col"},D(de,a.options,a)))),x.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:c[ge.Weeks],style:j==null?void 0:j[ge.Weeks]},pe.weeks.map(de=>x.createElement(r.Week,{className:c[ge.Week],key:de.weekNumber,style:j==null?void 0:j[ge.Week],week:de},S&&x.createElement(r.WeekNumber,{week:de,style:j==null?void 0:j[ge.WeekNumber],"aria-label":It(de.weekNumber,{locale:l}),className:c[ge.WeekNumber],scope:"row",role:"rowheader"},P(de.weekNumber,a)),de.days.map(je=>{const{date:Ve}=je,Se=ee(je);if(Se[Ge.focused]=!Se.hidden&&!!(W!=null&&W.isEqualTo(je)),Se[Xt.selected]=(M==null?void 0:M(Ve))||Se.selected,$o(ie)){const{from:St,to:K1}=ie;Se[Xt.range_start]=!!(St&&K1&&a.isSameDay(Ve,St)),Se[Xt.range_end]=!!(St&&K1&&a.isSameDay(Ve,K1)),Se[Xt.range_middle]=E1(ie,Ve,!0,a)}const Ht=ab(Se,j,t.modifiersStyles),T1=Zg(Se,c,t.modifiersClassNames),y1=!Me&&!Se.hidden?ue(Ve,Se,a.options,a):void 0;return x.createElement(r.Day,{key:`${je.isoDate}_${je.displayMonthId}`,day:je,modifiers:Se,className:T1.join(" "),style:Ht,role:"gridcell","aria-selected":Se.selected||void 0,"aria-label":y1,"data-day":je.isoDate,"data-month":je.outside?je.dateMonthId:void 0,"data-selected":Se.selected||void 0,"data-disabled":Se.disabled||void 0,"data-hidden":Se.hidden||void 0,"data-outside":je.outside||void 0,"data-focused":Se.focused||void 0,"data-today":Se.today||void 0},!Se.hidden&&Me?x.createElement(r.DayButton,{className:c[ge.DayButton],style:j==null?void 0:j[ge.DayButton],type:"button",day:je,modifiers:Se,disabled:!Se.focused&&Se.disabled||void 0,"aria-disabled":Se.focused&&Se.disabled||void 0,tabIndex:te(je)?0:-1,"aria-label":oe(Ve,Se,a.options,a),onClick:_(je,Se),onBlur:q(je,Se),onFocus:H(je,Se),onKeyDown:X(je,Se),onMouseEnter:Q(je,Se),onMouseLeave:ae(je,Se)},N(Ve,a.options,a)):!Se.hidden&&N(je.date,a.options,a))})))))))),t.footer&&x.createElement(r.Footer,{className:c[ge.Footer],style:j==null?void 0:j[ge.Footer],role:"status","aria-live":"polite"},t.footer)))}function d7({className:e,classNames:t,showOutsideDays:n=!0,...r}){return i.jsx(Db,{showOutsideDays:n,className:T("p-2",e),classNames:{months:"flex flex-col gap-2",month:"flex flex-col gap-2",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-[12px] font-medium text-[#121111]",nav:"flex items-center gap-1",button_previous:"absolute left-1 h-5 w-5 flex items-center justify-center rounded-[2px] hover:bg-[#EFF0F6] text-[#666666]",button_next:"absolute right-1 h-5 w-5 flex items-center justify-center rounded-[2px] hover:bg-[#EFF0F6] text-[#666666]",month_grid:"w-full border-collapse",weekdays:"flex",weekday:"flex-1 h-7 flex items-center justify-center text-[12px] text-[#999999] font-normal",week:"flex w-full mt-0.5",day:"flex-1 h-7 flex items-center justify-center text-[12px] text-[#121111] rounded-[2px] hover:bg-[#EFF0F6] cursor-pointer aria-selected:opacity-100",day_button:"w-full h-full flex items-center justify-center",range_start:"bg-[#0265FF] text-white rounded-r-none hover:bg-[#0265FF]",range_end:"bg-[#0265FF] text-white rounded-l-none hover:bg-[#0265FF]",range_middle:"bg-[#F0F6FF] text-[#0265FF] rounded-none hover:bg-[#E6EEFF]",selected:"bg-[#0265FF] text-white hover:bg-[#0265FF]",today:"text-[#0265FF] font-bold",outside:"text-[#CCCCCC] aria-selected:text-[#CCCCCC]",disabled:"text-[#CCCCCC] opacity-50",hidden:"invisible",...t},...r})}var kr=e=>e.type==="checkbox",un=e=>e instanceof Date,pt=e=>e==null;const f7=e=>typeof e=="object";var Xe=e=>!pt(e)&&!Array.isArray(e)&&f7(e)&&!un(e),p7=e=>Xe(e)&&e.target?kr(e.target)?e.target.checked:e.target.value:e,Ma=(e,t)=>{const n=t.split("."),r=[];let o=n[0];for(let s=1;s<n.length;o+="."+n[s++])!isNaN(+n[s])&&e.has(o)&&r.push(o);return r},Ob=e=>{const t=e.constructor&&e.constructor.prototype;return Xe(t)&&t.hasOwnProperty("isPrototypeOf")},Ea=typeof window!="undefined"&&typeof window.HTMLElement!="undefined"&&typeof document!="undefined";function Je(e){if(e instanceof Date)return new Date(e);const t=typeof FileList!="undefined"&&e instanceof FileList;if(Ea&&(e instanceof Blob||t))return e;const n=Array.isArray(e);if(!n&&!(Xe(e)&&Ob(e)))return e;const r=n?[]:Object.create(Object.getPrototypeOf(e));for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=Je(e[o]));return r}var jr=e=>/^\w*$/.test(e),qe=e=>e===void 0,Na=e=>Array.isArray(e)?e.filter(Boolean):[],qo=e=>Na(e.replace(/["|']|\]/g,"").split(/\.|\[/)),ce=(e,t,n)=>{if(!t||!Xe(e))return n;const o=(jr(t)?[t]:qo(t)).reduce((s,a)=>pt(s)?void 0:s[a],e);return qe(o)||o===e?qe(e[t])?n:e[t]:o},_t=e=>typeof e=="boolean",Ct=e=>typeof e=="function",We=(e,t,n)=>{let r=-1;const o=jr(t)?[t]:qo(t),s=o.length,a=s-1;for(;++r<s;){const l=o[r];let c=n;if(r!==a){const u=e[l];c=Xe(u)||Array.isArray(u)?u:isNaN(+o[r+1])?{}:[]}if(l==="__proto__"||l==="constructor"||l==="prototype")return;e[l]=c,e=e[l]}};const W1={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},Qt={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Jt={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Fa="form",h7="root",Ta=x.createContext(null);Ta.displayName="HookFormControlContext";const _a=()=>x.useContext(Ta);var m7=(e,t,n,r=!0)=>{const o={};for(const s in e)Object.defineProperty(o,s,{get:()=>{const a=s;return t._proxyFormState[a]!==Qt.all&&(t._proxyFormState[a]=!r||Qt.all),n&&(n[a]=!0),e[a]}});return o};const Aa=typeof window!="undefined"?x.useLayoutEffect:x.useEffect;function Pb(e){const t=_a(),{control:n=t,disabled:r,name:o,exact:s}=e||{},[a,l]=x.useState(()=>({...n._formState,defaultValues:n._defaultValues})),c=x.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Aa(()=>n._subscribe({name:o,formState:c.current,exact:s,callback:u=>{!r&&l({...n._formState,...u,defaultValues:n._defaultValues})}}),[o,r,s]),x.useEffect(()=>{c.current.isValid&&n._setValid(!0)},[n]),x.useMemo(()=>m7(a,n,c.current,!1),[a,n])}var xt=e=>typeof e=="string",Da=(e,t,n,r,o)=>xt(e)?(r&&t.watch.add(e),ce(n,e,o)):Array.isArray(e)?e.map(s=>(r&&t.watch.add(s),ce(n,s))):(r&&(t.watchAll=!0),n),Oa=e=>pt(e)||!f7(e);function At(e,t,n=new WeakSet){if(e===t)return!0;if(Oa(e)||Oa(t))return Object.is(e,t);if(un(e)&&un(t))return Object.is(e.getTime(),t.getTime());const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const s of r){const a=e[s];if(!(s in t))return!1;if(s!=="ref"){const l=t[s];if(un(a)&&un(l)||(Xe(a)||Array.isArray(a))&&(Xe(l)||Array.isArray(l))?!At(a,l,n):!Object.is(a,l))return!1}}return!0}function Ib(e){const t=_a(),{control:n=t,name:r,defaultValue:o,disabled:s,exact:a,compute:l}=e||{},c=x.useRef(o),u=x.useRef(l),d=x.useRef(void 0),f=x.useRef(n),p=x.useRef(r);u.current=l;const[h,m]=x.useState(()=>{const v=n._getWatch(r,c.current);return u.current?u.current(v):v}),C=x.useCallback(v=>{const S=Da(r,n._names,v||n._formValues,!1,c.current);return u.current?u.current(S):S},[n._formValues,n._names,r]),b=x.useCallback(v=>{if(!s){const S=Da(r,n._names,v||n._formValues,!1,c.current);if(u.current){const j=u.current(S);At(j,d.current)||(m(j),d.current=j)}else m(S)}},[n._formValues,n._names,s,r]);Aa(()=>((f.current!==n||!At(p.current,r))&&(f.current=n,p.current=r,b()),n._subscribe({name:r,formState:{values:!0},exact:a,callback:v=>{b(v.values)}})),[n,a,r,b]),x.useEffect(()=>n._removeUnmounted());const g=f.current!==n,y=p.current,w=x.useMemo(()=>{if(s)return null;const v=!g&&!At(y,r);return g||v?C():null},[s,g,r,y,C]);return w!==null?w:h}function Hb(e){const t=_a(),{name:n,disabled:r,control:o=t,shouldUnregister:s,defaultValue:a,exact:l=!0}=e,c=!!Ma(o._names.array,n).length,u=x.useMemo(()=>ce(o._formValues,n,ce(o._defaultValues,n,a)),[o,n,a]),d=Ib({control:o,name:n,defaultValue:u,exact:l}),f=Pb({control:o,name:n,exact:l}),p=x.useRef(e),h=x.useRef(o.register(n,{...e.rules,value:d,..._t(e.disabled)?{disabled:e.disabled}:{}}));p.current=e;const m=x.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ce(f.errors,n)},isDirty:{enumerable:!0,get:()=>!!ce(f.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!ce(f.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!ce(f.validatingFields,n)},error:{enumerable:!0,get:()=>ce(f.errors,n)}}),[f,n]),C=x.useCallback(w=>h.current.onChange({target:{value:p7(w),name:n},type:W1.CHANGE}),[n]),b=x.useCallback(()=>h.current.onBlur({target:{value:ce(o._formValues,n),name:n},type:W1.BLUR}),[n,o._formValues]),g=x.useCallback(w=>{const v=ce(o._fields,n);v&&v._f&&w&&(v._f.ref={focus:()=>Ct(w.focus)&&w.focus(),select:()=>Ct(w.select)&&w.select(),setCustomValidity:S=>Ct(w.setCustomValidity)&&w.setCustomValidity(S),reportValidity:()=>Ct(w.reportValidity)&&w.reportValidity()})},[o._fields,n]),y=x.useMemo(()=>({name:n,value:d,..._t(r)||f.disabled?{disabled:f.disabled||r}:{},onChange:C,onBlur:b,ref:g}),[n,r,f.disabled,C,b,g,d]);return x.useEffect(()=>{const w=o._options.shouldUnregister||s;o.register(n,{...p.current.rules,..._t(p.current.disabled)?{disabled:p.current.disabled}:{}});const v=(S,j)=>{const E=ce(o._fields,S);E&&E._f&&(E._f.mount=j)};if(v(n,!0),w){const S=Je(ce(o._defaultValues,n,ce(o._options.defaultValues,n,p.current.defaultValue)));We(o._defaultValues,n,S),qe(ce(o._formValues,n))&&We(o._formValues,n,S)}return!c&&o.register(n),()=>{(c?w&&!o._state.action:w)?o.unregister(n):v(n,!1)}},[n,o,c,s]),x.useEffect(()=>{o._setDisabledField({disabled:r,name:n})},[r,n,o]),x.useMemo(()=>({field:y,formState:f,fieldState:m}),[y,f,m])}const Vb=e=>e.render(Hb(e)),Pa=x.createContext(null);Pa.displayName="HookFormContext";const Rb=()=>x.useContext(Pa),Bb=e=>{const{children:t,watch:n,getValues:r,getFieldState:o,setError:s,clearErrors:a,setValue:l,setValues:c,trigger:u,formState:d,resetField:f,reset:p,handleSubmit:h,unregister:m,control:C,register:b,setFocus:g,subscribe:y}=e,w=x.useMemo(()=>({watch:n,getValues:r,getFieldState:o,setError:s,clearErrors:a,setValue:l,setValues:c,trigger:u,formState:d,resetField:f,reset:p,handleSubmit:h,unregister:m,control:C,register:b,setFocus:g,subscribe:y}),[a,C,d,o,r,h,b,p,f,s,g,l,c,y,u,m,n]);return x.createElement(Pa.Provider,{value:w},x.createElement(Ta.Provider,{value:w.control},t))};var zb=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},Sr=e=>Array.isArray(e)?e:[e],C7=()=>{let e=[];return{get observers(){return e},next:o=>{for(const s of e)s.next&&s.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(s=>s!==o)}}),unsubscribe:()=>{e=[]}}};function x7(e,t){const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r],s=t[r];if(o&&Xe(o)&&s){const a=x7(o,s);Xe(a)&&(n[r]=a)}else e[r]&&(n[r]=s)}return n}var gt=e=>Xe(e)&&!Object.keys(e).length,Ia=e=>e.type==="file",Yo=e=>{if(!Ea)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},g7=e=>e.type==="select-multiple",Ha=e=>e.type==="radio",Zb=e=>Ha(e)||kr(e),Va=e=>Yo(e)&&e.isConnected;function Wb(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;){if(pt(e)){e=void 0;break}e=e[t[r]],r++}return e}function $b(e){for(const t in e)if(e.hasOwnProperty(t)&&!qe(e[t]))return!1;return!0}function ot(e,t){if(xt(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;const n=Array.isArray(t)?t:jr(t)?[t]:qo(t),r=n.length===1?e:Wb(e,n),o=n.length-1,s=n[o];return r&&delete r[s],o!==0&&(Xe(r)&>(r)||Array.isArray(r)&&$b(r))&&ot(e,n.slice(0,-1)),e}var Ub=e=>{for(const t in e)if(Ct(e[t]))return!0;return!1};function b7(e){return Array.isArray(e)||Xe(e)&&!Ub(e)}function Ra(e,t={}){for(const n in e){const r=e[n];b7(r)?(t[n]=Array.isArray(r)?[]:{},Ra(r,t[n])):qe(r)||(t[n]=!0)}return t}function Ba(e){if(e!==!1){if(e===!0)return!0;if(Array.isArray(e)){const t=e.map(n=>Ba(n));return t.some(n=>n!==void 0)?t:void 0}if(Xe(e)){const t={};for(const n in e){const r=Ba(e[n]);qe(r)||(t[n]=r)}return Object.keys(t).length?t:void 0}}}function Hn(e,t,n){n||(n=Ra(t));for(const r in e){const o=e[r];if(b7(o))qe(t)||Oa(n[r])?n[r]=Ra(o,Array.isArray(o)?[]:{}):Hn(o,pt(t)?{}:t[r],n[r]);else{const s=t[r];n[r]=!At(o,s)}}return Ba(n)||{}}const y7={value:!1,isValid:!1},w7={value:!0,isValid:!0};var v7=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!qe(e[0].attributes.value)?qe(e[0].value)||e[0].value===""?w7:{value:e[0].value,isValid:!0}:w7:y7}return y7},k7=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>qe(e)?e:t?e===""?NaN:e&&+e:n&&xt(e)?new Date(e):r?r(e):e;const j7={isValid:!1,value:null};var S7=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,j7):j7;function L7(e){const t=e.ref;return Ia(t)?t.files:Ha(t)?S7(e.refs).value:g7(t)?[...t.selectedOptions].map(({value:n})=>n):kr(t)?v7(e.refs).value:k7(qe(t.value)?e.ref.value:t.value,e)}var qb=(e,t,n,r)=>{const o={};for(const s of e){const a=ce(t,s);a&&We(o,s,a._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}},Go=e=>e instanceof RegExp,Lr=e=>qe(e)?e:Go(e)?e.source:Xe(e)?Go(e.value)?e.value.source:e.value:e,M7=e=>({isOnSubmit:!e||e===Qt.onSubmit,isOnBlur:e===Qt.onBlur,isOnChange:e===Qt.onChange,isOnAll:e===Qt.all,isOnTouch:e===Qt.onTouched});const E7="AsyncFunction";var Yb=e=>!!e&&!!e.validate&&!!(Ct(e.validate)&&e.validate.constructor.name===E7||Xe(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===E7)),Gb=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),N7=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Mr=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const s=ce(e,o);if(s){const{_f:a,...l}=s;if(a){if(a.refs&&a.refs[0]&&t(a.refs[0],o)&&!r)return!0;if(a.ref&&t(a.ref,a.name)&&!r)return!0;if(Mr(l,t))break}else if(Xe(l)&&Mr(l,t))break}}};function F7(e,t,n){const r=ce(e,n);if(r||jr(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const s=o.join("."),a=ce(t,s),l=ce(e,s);if(a&&!Array.isArray(a)&&n!==s)return{name:n};if(l&&l.type)return{name:s,error:l};if(l&&l.root&&l.root.type)return{name:`${s}.root`,error:l.root};o.pop()}return{name:n}}var Xb=(e,t,n,r)=>{n(e);const{name:o,...s}=e;return gt(s)||r&&Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(a=>t[a]===(!r||Qt.all))},Kb=(e,t,n)=>!e||!t||e===t||Sr(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r))),Qb=(e,t,n,r,o)=>o.isOnAll?!1:!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:(n?r.isOnChange:o.isOnChange)?e:!0,Jb=(e,t)=>!Na(ce(e,t)).length&&ot(e,t),T7=(e,t,n)=>{const r=Sr(ce(e,n));return We(r,h7,t[n]),We(e,n,r),e};function _7(e,t,n="validate"){if(xt(e)||Array.isArray(e)&&e.every(xt)||_t(e)&&!e)return{type:n,message:xt(e)?e:"",ref:t}}var Vn=e=>Xe(e)&&!Go(e)?e:{value:e,message:""},A7=async(e,t,n,r,o,s)=>{const{ref:a,refs:l,required:c,maxLength:u,minLength:d,min:f,max:p,pattern:h,validate:m,name:C,valueAsNumber:b,mount:g}=e._f,y=ce(n,C);if(!g||t.has(C))return{};const w=l?l[0]:a,v=D=>{o&&w.reportValidity&&(w.setCustomValidity(_t(D)?"":D||""),w.reportValidity())},S={},j=Ha(a),E=kr(a),N=j||E,O=(b||Ia(a))&&qe(a.value)&&qe(y)||Yo(a)&&a.value===""||y===""||Array.isArray(y)&&!y.length||b&&typeof y=="number"&&isNaN(y),P=zb.bind(null,C,r,S),V=(D,F,R,B=Jt.maxLength,$=Jt.minLength)=>{const U=D?F:R;S[C]={type:D?B:$,message:U,ref:a,...P(D?B:$,U)}};if(s?!Array.isArray(y)||!y.length:c&&(!N&&(O||pt(y))||_t(y)&&!y||E&&!v7(l).isValid||j&&!S7(l).isValid)){const{value:D,message:F}=xt(c)?{value:!!c,message:c}:Vn(c);if(D&&(S[C]={type:Jt.required,message:F,ref:w,...P(Jt.required,F)},!r))return v(F),S}if(!O&&(!pt(f)||!pt(p))){let D,F;const R=Vn(p),B=Vn(f);if(!pt(y)&&!isNaN(y)){const $=a.valueAsNumber||y&&+y;pt(R.value)||(D=$>R.value),pt(B.value)||(F=$<B.value)}else{const $=a.valueAsDate||new Date(y),U=L=>new Date(new Date().toDateString()+" "+L),Z=a.type=="time",J=a.type=="week";xt(R.value)&&y&&(D=Z?U(y)>U(R.value):J?y>R.value:$>new Date(R.value)),xt(B.value)&&y&&(F=Z?U(y)<U(B.value):J?y<B.value:$<new Date(B.value))}if((D||F)&&(V(!!D,R.message,B.message,Jt.max,Jt.min),!r))return v(S[C].message),S}if((u||d)&&!O&&(xt(y)||s&&Array.isArray(y))){const D=Vn(u),F=Vn(d),R=!pt(D.value)&&y.length>+D.value,B=!pt(F.value)&&y.length<+F.value;if((R||B)&&(V(R,D.message,F.message),!r))return v(S[C].message),S}if(h&&!O&&xt(y)){const{value:D,message:F}=Vn(h);if(Go(D)&&!y.match(D)&&(S[C]={type:Jt.pattern,message:F,ref:a,...P(Jt.pattern,F)},!r))return v(F),S}if(m){if(Ct(m)){const D=await m(y,n),F=_7(D,w);if(F&&(S[C]={...F,...P(Jt.validate,F.message)},!r))return v(F.message),S}else if(Xe(m)){let D={};for(const F in m){if(!gt(D)&&!r)break;const R=_7(await m[F](y,n),w,F);R&&(D={...R,...P(F,R.message)},v(R.message),r&&(S[C]=D))}if(!gt(D)&&(S[C]={ref:w,...D},!r))return S}}return v(!0),S};const ey={mode:Qt.onSubmit,reValidateMode:Qt.onChange,shouldFocusError:!0},D7={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function ty(e={}){let t={...ey,...e},n={...Je(D7),isLoading:Ct(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},r={},o=Xe(t.defaultValues)||Xe(t.values)?Je(t.defaultValues||t.values)||{}:{},s=t.shouldUnregister?{}:Je(o),a={action:!1,mount:!1,watch:!1,keepIsValid:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},c,u=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={...d};let p={...f};const h={array:C7(),state:C7()},m=t.criteriaMode===Qt.all,C=I=>_=>{clearTimeout(u),u=setTimeout(I,_)},b=async I=>{if(!a.keepIsValid&&!t.disabled&&(f.isValid||p.isValid||I)){let _;t.resolver?(_=gt((await P()).errors),g()):_=await F({fields:r,onlyCheckValid:!0,eventType:W1.VALID}),_!==n.isValid&&h.state.next({isValid:_})}},g=(I,_)=>{!t.disabled&&(f.isValidating||f.validatingFields||p.isValidating||p.validatingFields)&&((I||Array.from(l.mount)).forEach(H=>{H&&(_?We(n.validatingFields,H,_):ot(n.validatingFields,H))}),h.state.next({validatingFields:n.validatingFields,isValidating:!gt(n.validatingFields)}))},y=()=>{n.dirtyFields=Hn(o,s)},w=(I,_=[],H,q,X=!0,Q=!0)=>{if(q&&H&&!t.disabled){if(a.action=!0,Q&&Array.isArray(ce(r,I))){const ae=H(ce(r,I),q.argA,q.argB);X&&We(r,I,ae)}if(Q&&Array.isArray(ce(n.errors,I))){const ae=H(ce(n.errors,I),q.argA,q.argB);X&&We(n.errors,I,ae),Jb(n.errors,I)}if((f.touchedFields||p.touchedFields)&&Q&&Array.isArray(ce(n.touchedFields,I))){const ae=H(ce(n.touchedFields,I),q.argA,q.argB);X&&We(n.touchedFields,I,ae)}(f.dirtyFields||p.dirtyFields)&&y(),h.state.next({name:I,isDirty:B(I,_),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else We(s,I,_)},v=(I,_)=>{We(n.errors,I,_),h.state.next({errors:n.errors})},S=I=>{n.errors=I,h.state.next({errors:n.errors,isValid:!1})},j=I=>{const _=jr(I)?[I]:qo(I);let H=s,q=o;for(let X=0;X<_.length-1;X++){const Q=_[X];if(H=pt(H)?H:H[Q],q=pt(q)?q:q[Q],H===null&&q!==null)return!0}return!1},E=(I,_,H,q)=>{const X=ce(r,I);if(X){if(j(I))return;const Q=qe(ce(s,I)),ae=ce(s,I,qe(H)?ce(o,I):H);qe(ae)||q&&q.defaultChecked||_?We(s,I,_?ae:L7(X._f)):Z(I,ae),a.mount&&!a.action&&(b(),Q&&n.isDirty&&(f.isDirty||p.isDirty)&&(B()||(n.isDirty=!1,h.state.next({...n}))))}},N=(I,_,H,q,X)=>{let Q=!1,ae=!1;const xe={name:I};if(!t.disabled){if(!H||q){(f.isDirty||p.isDirty)&&(ae=n.isDirty,n.isDirty=xe.isDirty=B(),Q=ae!==xe.isDirty);const we=At(ce(o,I),_);ae=!!ce(n.dirtyFields,I),we!==n.isDirty?n.dirtyFields=Hn(o,s):we?ot(n.dirtyFields,I):We(n.dirtyFields,I,!0),xe.dirtyFields=n.dirtyFields,Q=Q||(f.dirtyFields||p.dirtyFields)&&ae!==!we}if(H){const we=ce(n.touchedFields,I);we||(We(n.touchedFields,I,H),xe.touchedFields=n.touchedFields,Q=Q||(f.touchedFields||p.touchedFields)&&we!==H)}Q&&X&&h.state.next(xe)}return Q?xe:{}},O=(I,_,H,q)=>{const X=ce(n.errors,I),Q=(f.isValid||p.isValid)&&_t(_)&&n.isValid!==_;if(t.delayError&&H?(c=C(()=>v(I,H)),c(t.delayError)):(clearTimeout(u),c=null,H?We(n.errors,I,H):ot(n.errors,I)),(H?!At(X,H):X)||!gt(q)||Q){const ae={...q,...Q&&_t(_)?{isValid:_}:{},errors:n.errors,name:I};n={...n,...ae},h.state.next(ae)}},P=async I=>(g(I,!0),await t.resolver(s,t.context,qb(I||l.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),V=async I=>{const{errors:_}=await P(I);if(g(I),I)for(const H of I){const q=ce(_,H);q?l.array.has(H)&&Xe(q)?T7(n.errors,{[H]:q},H):We(n.errors,H,q):ot(n.errors,H)}else n.errors=_;return _},D=async({name:I,eventType:_})=>{if(e.validate){const H=await e.validate({formValues:s,formState:n,name:I,eventType:_});if(Xe(H))for(const q in H){const X=H[q];X&&te(`${Fa}.${q}`,{message:xt(X.message)?X.message:"",type:X.type||Jt.validate})}else xt(H)||!H?te(Fa,{message:H||"",type:Jt.validate}):W(Fa);return H}return!0},F=async({fields:I,onlyCheckValid:_,name:H,eventType:q,context:X={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(X.runRootValidation=!0,!await D({name:H,eventType:q})&&(X.valid=!1,_)))return X.valid;for(const Q in I){const ae=I[Q];if(ae){const{_f:xe,...we}=ae;if(xe){const Be=l.array.has(xe.name),Qe=ae._f&&Yb(ae._f),He=f.validatingFields||f.isValidating||p.validatingFields||p.isValidating;Qe&&He&&g([xe.name],!0);const dt=await A7(ae,l.disabled,s,m,t.shouldUseNativeValidation&&!_,Be);if(Qe&&He&&g([xe.name]),dt[xe.name]&&(X.valid=!1,_)||(!_&&(ce(dt,xe.name)?Be?T7(n.errors,dt,xe.name):We(n.errors,xe.name,dt[xe.name]):ot(n.errors,xe.name)),e.shouldUseNativeValidation&&dt[xe.name]))break}!gt(we)&&await F({context:X,onlyCheckValid:_,fields:we,name:Q,eventType:q})}}return X.valid},R=()=>{for(const I of l.unMount){const _=ce(r,I);_&&(_._f.refs?_._f.refs.every(H=>!Va(H)):!Va(_._f.ref))&&ue(I)}l.unMount=new Set},B=(I,_)=>!t.disabled&&(I&&_&&We(s,I,_),!At(ie(),o)),$=(I,_,H)=>Da(I,l,{...a.mount?s:qe(_)?o:xt(I)?{[I]:_}:_},H,_),U=I=>Na(ce(a.mount?s:o,I,t.shouldUnregister?ce(o,I,[]):[])),Z=(I,_,H={})=>{const q=ce(r,I);let X=_;if(q){const Q=q._f;Q&&(!Q.disabled&&We(s,I,k7(_,Q)),X=Yo(Q.ref)&&pt(_)?"":_,g7(Q.ref)?[...Q.ref.options].forEach(ae=>ae.selected=X.includes(ae.value)):Q.refs?kr(Q.ref)?Q.refs.forEach(ae=>{(!ae.defaultChecked||!ae.disabled)&&(Array.isArray(X)?ae.checked=!!X.find(xe=>xe===ae.value):ae.checked=X===ae.value||!!X)}):Q.refs.forEach(ae=>ae.checked=ae.value===X):Ia(Q.ref)?Q.ref.value="":(Q.ref.value=X,Q.ref.type||h.state.next({name:I,values:Je(s)})))}(H.shouldDirty||H.shouldTouch)&&N(I,X,H.shouldTouch,H.shouldDirty,!0),H.shouldValidate&&Y(I)},J=(I,_,H)=>{for(const q in _){if(!_.hasOwnProperty(q))return;const X=_[q],Q=I+"."+q,ae=ce(r,Q);(l.array.has(I)||Xe(X)||ae&&!ae._f)&&!un(X)?J(Q,X,H):Z(Q,X,H)}},L=(I,_,H={})=>{const q=ce(r,I),X=l.array.has(I),Q=Je(_),ae=ce(s,I),xe=At(ae,Q);if(xe||We(s,I,Q),X)h.array.next({name:I,values:Je(s)}),(f.isDirty||f.dirtyFields||p.isDirty||p.dirtyFields)&&H.shouldDirty&&(y(),h.state.next({name:I,dirtyFields:n.dirtyFields,isDirty:B(I,Q)}));else{const we=Array.isArray(Q)&&!Q.length||gt(Q);!q||q._f||pt(Q)||we?Z(I,Q,H):J(I,Q,H)}if(!xe){const we=N7(I,l),Be=Je(s);if(!X)for(const Qe of Ma(l.array,I))h.array.next({name:Qe,values:Be});h.state.next({...we&&n,name:a.mount||we?I:void 0,values:Be})}},z=I=>{const _=Ct(I)?I(s):I;if(!At(s,_)){s={...s,..._};for(const H of l.mount)L(H,ce(_,H));h.state.next({...n,values:s})}},ee=async I=>{a.mount=!0;const _=I.target;let H=_.name,q=!0;const X=ce(r,H),Q=we=>{q=Number.isNaN(we)||un(we)&&isNaN(we.getTime())||At(we,ce(s,H,we))},ae=M7(t.mode),xe=M7(t.reValidateMode);if(X){let we,Be;const Qe=_.type?L7(X._f):p7(I),He=I.type===W1.BLUR||I.type===W1.FOCUS_OUT,dt=!Gb(X._f)&&!e.validate&&!t.resolver&&!ce(n.errors,H)&&!X._f.deps||Qb(He,ce(n.touchedFields,H),n.isSubmitted,xe,ae),ht=N7(H,l,He);We(s,H,Qe),He?(!_||!_.readOnly)&&(X._f.onBlur&&X._f.onBlur(I),c&&c(0)):X._f.onChange&&X._f.onChange(I);const be=N(H,Qe,He),_e=!gt(be)||ht;if(!He&&h.state.next({name:H,type:I.type,values:Je(s)}),dt)return(f.isValid||p.isValid)&&(t.mode==="onBlur"?He&&b():He||b()),_e&&h.state.next({name:H,...ht?{}:be});if(!t.resolver&&e.validate&&await D({name:H,eventType:I.type}),!He&&ht&&h.state.next({...n}),t.resolver){const{errors:pe}=await P([H]);if(g([H]),Q(Qe),q){const he=F7(n.errors,r,H),de=F7(pe,r,he.name||H);we=de.error,H=de.name,Be=gt(pe)}}else g([H],!0),we=(await A7(X,l.disabled,s,m,t.shouldUseNativeValidation))[H],g([H]),Q(Qe),q&&(we?Be=!1:(f.isValid||p.isValid)&&(Be=await F({fields:r,onlyCheckValid:!0,name:H,eventType:I.type})));q&&(X._f.deps&&(!Array.isArray(X._f.deps)||X._f.deps.length>0)&&Y(X._f.deps),O(H,Be,we,be))}},M=(I,_)=>{if(ce(n.errors,_)&&I.focus)return I.focus(),1},Y=async(I,_={})=>{let H,q;const X=Sr(I);if(t.resolver){const Q=await V(qe(I)?I:X);H=gt(Q),q=I?!X.some(ae=>ce(Q,ae)):H}else I?(q=(await Promise.all(X.map(async Q=>{const ae=ce(r,Q);return await F({fields:ae&&ae._f?{[Q]:ae}:ae,eventType:W1.TRIGGER})}))).every(Boolean),!(!q&&!n.isValid)&&b()):q=H=await F({fields:r,name:I,eventType:W1.TRIGGER});return h.state.next({...!xt(I)||(f.isValid||p.isValid)&&H!==n.isValid?{}:{name:I},...t.resolver||!I?{isValid:H}:{},errors:n.errors}),_.shouldFocus&&!q&&Mr(r,M,I?X:l.mount),q},ie=(I,_)=>{let H={...a.mount?s:o};return _&&(H=x7(_.dirtyFields?n.dirtyFields:n.touchedFields,H)),qe(I)?H:xt(I)?ce(H,I):I.map(q=>ce(H,q))},K=(I,_)=>({invalid:!!ce((_||n).errors,I),isDirty:!!ce((_||n).dirtyFields,I),error:ce((_||n).errors,I),isValidating:!!ce(n.validatingFields,I),isTouched:!!ce((_||n).touchedFields,I)}),W=I=>{const _=I?Sr(I):void 0;_==null||_.forEach(H=>ot(n.errors,H)),_?_.forEach(H=>{h.state.next({name:H,errors:n.errors})}):h.state.next({errors:{}})},te=(I,_,H)=>{const q=(ce(r,I,{_f:{}})._f||{}).ref,X=ce(n.errors,I)||{},{ref:Q,message:ae,type:xe,...we}=X;We(n.errors,I,{...we,..._,ref:q}),h.state.next({name:I,errors:n.errors,isValid:!1}),H&&H.shouldFocus&&q&&q.focus&&q.focus()},G=(I,_)=>Ct(I)?h.state.subscribe({next:H=>"values"in H&&I(H.values||$(void 0,_),H)}):$(I,_,!0),ne=I=>h.state.subscribe({next:_=>{if(Kb(I.name,_.name,I.exact)&&Xb(_,I.formState||f,fe,I.reRenderRoot)){const H={...s};I.callback({values:H,...n,..._,defaultValues:o})}}}).unsubscribe,oe=I=>(a.mount=!0,p={...p,...I.formState},ne({...I,formState:{...d,...I.formState}})),ue=(I,_={})=>{for(const H of I?Sr(I):l.mount)l.mount.delete(H),l.array.delete(H),_.keepValue||(ot(r,H),ot(s,H)),!_.keepError&&ot(n.errors,H),!_.keepDirty&&ot(n.dirtyFields,H),!_.keepTouched&&ot(n.touchedFields,H),!_.keepIsValidating&&ot(n.validatingFields,H),!t.shouldUnregister&&!_.keepDefaultValue&&ot(o,H);h.state.next({values:Je(s)}),h.state.next({...n,..._.keepDirty?{isDirty:B()}:{}}),!_.keepIsValid&&b()},Le=({disabled:I,name:_})=>{if(_t(I)&&a.mount||I||l.disabled.has(_)){const X=l.disabled.has(_)!==!!I;I?l.disabled.add(_):l.disabled.delete(_),X&&a.mount&&!a.action&&b()}},le=(I,_={})=>{let H=ce(r,I);const q=_t(_.disabled)||_t(t.disabled),X=!l.registerName.has(I)&&H&&H._f&&!H._f.mount;return We(r,I,{...H||{},_f:{...H&&H._f?H._f:{ref:{name:I}},name:I,mount:!0,..._}}),l.mount.add(I),H&&!X?Le({disabled:_t(_.disabled)?_.disabled:t.disabled,name:I}):E(I,!0,_.value),{...q?{disabled:_.disabled||t.disabled}:{},...t.progressive?{required:!!_.required,min:Lr(_.min),max:Lr(_.max),minLength:Lr(_.minLength),maxLength:Lr(_.maxLength),pattern:Lr(_.pattern)}:{},name:I,onChange:ee,onBlur:ee,ref:Q=>{if(Q){l.registerName.add(I),le(I,_),l.registerName.delete(I),H=ce(r,I);const ae=qe(Q.value)&&Q.querySelectorAll&&Q.querySelectorAll("input,select,textarea")[0]||Q,xe=Zb(ae),we=H._f.refs||[];if(xe?we.find(Be=>Be===ae):ae===H._f.ref)return;We(r,I,{_f:{...H._f,...xe?{refs:[...we.filter(Va),ae,...Array.isArray(ce(o,I))?[{}]:[]],ref:{type:ae.type,name:I}}:{ref:ae}}}),E(I,!1,void 0,ae)}else H=ce(r,I,{}),H._f&&(H._f.mount=!1),(t.shouldUnregister||_.shouldUnregister)&&!(Ma(l.array,I).length&&a.action)&&l.unMount.add(I)}}},De=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&Mr(r,M,l.mount),Fe=I=>{_t(I)&&(h.state.next({disabled:I}),Mr(r,(_,H)=>{const q=ce(r,H);q&&(_.disabled=q._f.disabled||I,Array.isArray(q._f.refs)&&q._f.refs.forEach(X=>{X.disabled=q._f.disabled||I}))},0,!1))},Ke=(I,_)=>async H=>{let q;H&&(H.preventDefault&&H.preventDefault(),H.persist&&H.persist());let X=Je(s);if(h.state.next({isSubmitting:!0}),t.resolver){const{errors:Q,values:ae}=await P();g(),n.errors=Q,X=Je(ae)}else await F({fields:r,eventType:W1.SUBMIT});if(l.disabled.size)for(const Q of l.disabled)ot(X,Q);if(ot(n.errors,h7),gt(n.errors)){h.state.next({errors:{}});try{await I(X,H)}catch(Q){q=Q}}else _&&await _({...n.errors},H),De(),setTimeout(De);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:gt(n.errors)&&!q,submitCount:n.submitCount+1,errors:n.errors}),q)throw q},n1=(I,_={})=>{ce(r,I)&&(qe(_.defaultValue)?L(I,Je(ce(o,I))):(L(I,_.defaultValue),We(o,I,Je(_.defaultValue))),_.keepTouched||ot(n.touchedFields,I),_.keepDirty||(ot(n.dirtyFields,I),n.isDirty=_.defaultValue?B(I,Je(ce(o,I))):B()),_.keepError||(ot(n.errors,I),f.isValid&&b()),h.state.next({...n}))},It=(I,_={})=>{const H=I?Je(I):o,q=Je(H),X=gt(I),Q=X?o:q;if(_.keepDefaultValues||(o=H),!_.keepValues){if(_.keepDirtyValues){const ae=new Set([...l.mount,...Object.keys(Hn(o,s))]);for(const xe of Array.from(ae)){const we=ce(n.dirtyFields,xe),Be=ce(s,xe),Qe=ce(Q,xe);we&&!qe(Be)?We(Q,xe,Be):!we&&!qe(Qe)&&L(xe,Qe)}}else{if(Ea&&qe(I))for(const ae of l.mount){const xe=ce(r,ae);if(xe&&xe._f){const we=Array.isArray(xe._f.refs)?xe._f.refs[0]:xe._f.ref;if(Yo(we)){const Be=we.closest("form");if(Be){Be.reset();break}}}}if(_.keepFieldsRef)for(const ae of l.mount)L(ae,ce(Q,ae));else r={}}s=t.shouldUnregister?_.keepDefaultValues?Je(o):{}:Je(Q),h.array.next({values:{...Q}}),h.state.next({values:{...Q}})}l={mount:_.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},a.mount=!f.isValid||!!_.keepIsValid||!!_.keepDirtyValues||!t.shouldUnregister&&!gt(Q),a.watch=!!t.shouldUnregister,a.keepIsValid=!!_.keepIsValid,a.action=!1,_.keepErrors||(n.errors={}),h.state.next({submitCount:_.keepSubmitCount?n.submitCount:0,isDirty:X?!1:_.keepDirty?n.isDirty:!!(_.keepDefaultValues&&!At(I,o)),isSubmitted:_.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:X?{}:_.keepDirtyValues?_.keepDefaultValues&&s?Hn(o,s):n.dirtyFields:_.keepDefaultValues&&I?Hn(o,I):_.keepDirty?n.dirtyFields:{},touchedFields:_.keepTouched?n.touchedFields:{},errors:_.keepErrors?n.errors:{},isSubmitSuccessful:_.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:o})},it=(I,_)=>It(Ct(I)?I(s):I,{...t.resetOptions,..._}),Zt=(I,_={})=>{const H=ce(r,I),q=H&&H._f;if(q){const X=q.refs?q.refs[0]:q.ref;X.focus&&setTimeout(()=>{X.focus(),_.shouldSelect&&Ct(X.select)&&X.select()})}},fe=I=>{n={...n,...I}},Ze={control:{register:le,unregister:ue,getFieldState:K,handleSubmit:Ke,setError:te,_subscribe:ne,_runSchema:P,_updateIsValidating:g,_focusError:De,_getWatch:$,_getDirty:B,_setValid:b,_setFieldArray:w,_setDisabledField:Le,_setErrors:S,_getFieldArray:U,_reset:It,_resetDefaultValues:()=>Ct(t.defaultValues)&&t.defaultValues().then(I=>{it(I,t.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:R,_disableForm:Fe,_subjects:h,_proxyFormState:f,get _fields(){return r},get _formValues(){return s},get _state(){return a},set _state(I){a=I},get _defaultValues(){return o},get _names(){return l},set _names(I){l=I},get _formState(){return n},get _options(){return t},set _options(I){t={...t,...I}}},subscribe:oe,trigger:Y,register:le,handleSubmit:Ke,watch:G,setValue:L,setValues:z,getValues:ie,reset:it,resetField:n1,clearErrors:W,unregister:ue,setError:te,setFocus:Zt,getFieldState:K};return{...Ze,formControl:Ze}}function ny(e={}){const t=x.useRef(void 0),n=x.useRef(void 0),[r,o]=x.useState(()=>({...Je(D7),isLoading:Ct(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Ct(e.defaultValues)?void 0:e.defaultValues}));if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!Ct(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:a,...l}=ty(e);t.current={...l,formState:r}}const s=t.current.control;return s._options=e,Aa(()=>{const a=s._subscribe({formState:s._proxyFormState,callback:()=>o({...s._formState,defaultValues:s._defaultValues}),reRenderRoot:!0});return o(l=>({...l,isReady:!0})),s._formState.isReady=!0,a},[s]),x.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),x.useEffect(()=>{e.mode&&(s._options.mode=e.mode),e.reValidateMode&&(s._options.reValidateMode=e.reValidateMode)},[s,e.mode,e.reValidateMode]),x.useEffect(()=>{e.errors&&(s._setErrors(e.errors),s._focusError())},[s,e.errors]),x.useEffect(()=>{e.shouldUnregister&&s._subjects.state.next({values:s._getWatch()})},[s,e.shouldUnregister]),x.useEffect(()=>{if(s._proxyFormState.isDirty){const a=s._getDirty();a!==r.isDirty&&s._subjects.state.next({isDirty:a})}},[s,r.isDirty]),x.useEffect(()=>{var a;e.values&&!At(e.values,n.current)?(s._reset(e.values,{keepFieldsRef:!0,...s._options.resetOptions}),!((a=s._options.resetOptions)===null||a===void 0)&&a.keepIsValid||s._setValid(),n.current=e.values,o(l=>({...l}))):s._resetDefaultValues()},[s,e.values]),x.useEffect(()=>{s._state.mount||(s._setValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),t.current.formState=x.useMemo(()=>m7(r,s),[s,r]),t.current}const O7=k.createContext({}),P7=k.createContext({}),Er=()=>{const e=k.useContext(O7),t=k.useContext(P7),{getFieldState:n,formState:r}=Rb();if(!e)throw new Error("useFormField must be used within <FormField>");const o=n(e.name,r),{id:s}=t;return{id:s,name:e.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...o}},I7=k.forwardRef(({className:e,formMethods:t,children:n,...r},o)=>i.jsx("form",{ref:o,className:T(e),...r,children:i.jsx(Bb,{...t,children:n})}));I7.displayName="Form";const ry=({...e})=>i.jsx(O7.Provider,{value:{name:e.name},children:i.jsx(Vb,{...e})}),H7=k.forwardRef(({className:e,...t},n)=>{const r=k.useId();return i.jsx(P7.Provider,{value:{id:r},children:i.jsx("div",{ref:n,className:T("flex flex-col gap-[6px]",e),...t})})});H7.displayName="FormItem";const V7=k.forwardRef(({className:e,...t},n)=>{const{error:r,formItemId:o}=Er();return i.jsx(Xi,{ref:n,className:T(r&&"text-[#ff5631]","peer",e),htmlFor:o,...t})});V7.displayName="FormLabel";const R7=k.forwardRef(({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:o,formMessageId:s}=Er();return i.jsx(e4,{ref:t,id:r,"aria-invalid":!!n,"aria-describedby":n?`${o} ${s}`:`${o}`,...e})});R7.displayName="FormControl";const B7=k.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:r}=Er();return i.jsx("p",{ref:n,id:r,className:T("text-[12px] text-[#999999] leading-normal dark:text-muted-foreground",e),...t})});B7.displayName="FormDescription";const z7=k.forwardRef(({className:e,children:t,...n},r)=>{const{error:o,formMessageId:s}=Er(),a=o?String(o==null?void 0:o.message):t;return a?i.jsx("p",{ref:r,id:s,className:T("text-[12px] text-[#ff5631] leading-normal",e),...n,children:a}):null});z7.displayName="FormMessage";const za=x.forwardRef(({children:e,zIndex:t,padding:n,disableGradient:r,bgColor:o="#fff"},s)=>i.jsx("div",{ref:s,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:r?o:"linear-gradient(180deg, #DBE9FF 0%, #E9FFFD 100%)",padding:n||0,zIndex:t},children:e}));za.displayName="AbsFullscreenGradientBg";var Z7={exports:{}};/*!
|
|
133
|
-
Copyright (c) 2018 Jed Watson.
|
|
134
|
-
Licensed under the MIT License (MIT), see
|
|
135
|
-
http://jedwatson.github.io/classnames
|
|
136
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(s=o(s,r(l)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var a="";for(var l in s)t.call(s,l)&&s[l]&&(a=o(a,l));return a}function o(s,a){return a?s?s+" "+a:s+a:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Z7);var oy=Z7.exports;const et=Rs(oy),W7=({agents:e,showSearch:t=!1,activeAgent:n,onSelect:r,showAllItems:o})=>{const[s,a]=x.useState(""),l=x.useMemo(()=>{const d=e.filter(p=>p.builtIn),f=e.filter(p=>!p.builtIn);return[{label:"系统智能体助手",agents:d},{label:"自定义智能体助手",agents:f}].map(p=>({...p,agents:p.agents.filter(h=>{var m;return(m=h==null?void 0:h.name)==null?void 0:m.toLowerCase().includes(s.toLowerCase())})})).filter(p=>p.agents.length>0)},[e,s]),c=x.useCallback(d=>{r(d)},[r]),u=et({"max-h-80 overflow-y-auto scrollbar-hide":!o});return i.jsxs("div",{className:"flex flex-col",children:[t&&i.jsx("div",{className:"px-1.5 pt-1 pb-0.5",children:i.jsxs("div",{className:"flex h-7.5 items-center gap-1.5 rounded-[4px] bg-white px-2.5 py-1.25 border border-[#E0E0E0]",children:[i.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"shrink-0 text-[#999999]",children:[i.jsx("path",{d:"M6.41667 11.0833C8.994 11.0833 11.0833 8.994 11.0833 6.41667C11.0833 3.83934 8.994 1.75 6.41667 1.75C3.83934 1.75 1.75 3.83934 1.75 6.41667C1.75 8.994 3.83934 11.0833 6.41667 11.0833Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12.25 12.25L9.7125 9.7125",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),i.jsx("input",{type:"text",placeholder:"搜索智能体助手",value:s,onChange:d=>a(d.target.value),className:"h-full flex-1 bg-transparent text-[12px] text-[#121111] placeholder:text-[#999999] outline-none"})]})}),i.jsxs("div",{className:u,children:[l.map((d,f)=>i.jsxs("div",{children:[i.jsx("div",{className:T("flex h-8 items-start px-2.5 pt-2.25",f>0&&"mt-0.5"),children:i.jsxs("div",{className:"flex w-full flex-col gap-1.5",children:[i.jsx("span",{className:"text-[12px] font-medium text-[#666666] leading-4.25",children:d.label}),i.jsx("div",{className:"h-0 w-full border-b border-[#E0E0E0]"})]})}),i.jsx("div",{className:"px-1",children:d.agents.map(p=>{const h=(n==null?void 0:n.id)===p.id;return i.jsxs("button",{className:T("flex h-8 w-full cursor-pointer items-center gap-1.5 rounded-[4px] px-2.5 py-1.5 text-left",re,h?"bg-[#F0F6FF] text-[#0265FF]":"text-[#121111] hover:bg-[#EFF0F6]"),onClick:()=>c(p),children:[i.jsx("img",{src:p.icon,alt:p.name,className:"h-4 w-4 rounded-[4px] object-cover shrink-0"}),i.jsx("span",{className:"truncate text-[14px] leading-5",children:p.name})]},p.id)})})]},d.label)),l.length===0&&i.jsx("div",{className:"flex h-15 items-center justify-center text-[12px] text-[#999999]",children:"未找到相关智能体助手"})]})]})},sy=({agents:e,activeAgent:t,onSelect:n,className:r,showSlider:o})=>{const s=x.useRef(null),[a,l]=x.useState(!1),[c,u]=x.useState(!1),[d,f]=x.useState(!1),[p,h]=x.useState(null),m=x.useCallback(w=>{if(!w){h(null);return}const v=w.getRootNode();if(v instanceof ShadowRoot){const S=v.querySelector("[data-bs-popover-portal]");if(S){h(S);return}const j=document.createElement("div");j.setAttribute("data-bs-popover-portal","true"),v.appendChild(j),h(j)}else h(null)},[]),C=x.useCallback(()=>{const w=s.current;w&&(l(w.scrollLeft>0),u(w.scrollLeft+w.clientWidth<w.scrollWidth-1))},[]);x.useEffect(()=>{C();const w=s.current;if(!w)return;const v=new ResizeObserver(C);return v.observe(w),w.addEventListener("scroll",C,{passive:!0}),()=>{v.disconnect(),w.removeEventListener("scroll",C)}},[e,C]);const b=x.useCallback(w=>{const v=s.current;v&&v.scrollBy({left:w==="left"?-150:150,behavior:"smooth"})},[]),g=x.useCallback(w=>{n(w),f(!1)},[n]),y=i.jsxs(i.Fragment,{children:[i.jsx(Vt,{rounded:!0,disabled:!a,icon:i.jsx(ur,{}),onClick:()=>b("left")}),i.jsx("div",{ref:s,className:"flex-1 overflow-x-auto scrollbar-hide flex gap-[6px] min-w-0",children:e.map(w=>{const v=(t==null?void 0:t.id)===w.id;return i.jsxs("button",{type:"button",onClick:()=>n(w),className:T("flex items-center gap-[6px] shrink-0 max-w-[240px]","px-[10px] py-[7px] rounded-[100px]",re,v?"border border-[#f0f6ff] bg-[#F0F6FF] text-[#0265FF]":"border border-[#E0E0E0] text-[#121111] hover:bg-[#F0F6FF] hover:text-[#0265FF]"),children:[i.jsx("img",{src:w.icon,alt:w.name,className:"h-4 w-4 rounded-[4px] object-cover shrink-0"}),i.jsx("span",{className:"text-[14px] leading-[normal] truncate",children:w.name})]},w.id)})}),i.jsx(Vt,{rounded:!0,disabled:!c,icon:i.jsx("span",{className:"rotate-180 inline-flex",children:i.jsx(ur,{})}),onClick:()=>b("right")})]});return i.jsxs("div",{className:T("flex items-center gap-2.5 w-fit max-w-full min-w-0",r),children:[o?y:null,e.length>0&&i.jsxs(ct,{open:d,onOpenChange:f,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{ref:m,type:"button",className:T("flex items-center gap-[6px] shrink-0 h-[34px]","px-[10px] py-[5px] rounded-[4px]","text-[14px] text-[#121111] leading-[normal]","hover:bg-[#EFF0F6]",{"bg-[#eff0f6]":d},re),children:[i.jsx(Ui,{}),i.jsx("span",{children:"技能"})]})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:p,children:i.jsx(W7,{agents:e,showSearch:!0,activeAgent:t,onSelect:g})})]})]})},$7=({url:e,alt:t="",className:n,size:r=102,onClick:o})=>i.jsx("div",{className:T("relative overflow-hidden rounded-[10px] border border-[#e0e0e0] hover:border-[#0265FF]/20 hover:cursor-pointer",o&&"cursor-pointer",n),style:{width:r,height:r},onClick:o,children:i.jsx("img",{src:e,alt:t,className:"block w-full h-full object-cover rounded-[10px]",loading:"lazy"})}),Nr={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{icon:Tn,iconSize:52},"application/vnd.ms-excel":{icon:Tn,iconSize:52},"text/csv":{icon:Wi,iconSize:16},"text/plain":{icon:fr,iconSize:16},"application/octet-stream":{icon:fr,iconSize:16}},iy={icon:Zi,iconSize:16},ay=e=>!!(e!=null&&e.startsWith("image/")),ly=(e,t)=>{var n;if(e&&Nr[e])return Nr[e];if(t)switch((n=t.split(".").pop())==null?void 0:n.toLowerCase()){case"xlsx":case"xls":return Nr["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];case"csv":return Nr["text/csv"];case"txt":case"ts":case"tsx":case"js":case"jsx":case"json":case"md":return Nr["text/plain"]}return iy},cy=e=>{if(!e)return;const t=e.split("/");return t[t.length-1]},uy=({fileName:e,icon:t,iconSize:n,className:r,size:o=102})=>{const s=o/102,a=52/102*o,l=a/n,c=!!e;return i.jsxs("div",{className:T("relative flex flex-col items-center justify-center rounded-[10px] bg-[#EFF0F6] px-[10px]",c&&"gap-[6px]",r),style:{width:o,height:o},children:[i.jsx("div",{className:"shrink-0 flex items-center justify-center",style:{width:a,height:a},children:i.jsx("div",{style:{transform:l!==1?`scale(${l})`:void 0,transformOrigin:"center"},children:i.jsx(t,{})})}),c&&i.jsx("p",{className:"block max-w-full shrink-0 truncate text-center text-[14px] leading-normal text-[#030303]",style:{fontSize:14*s,maxWidth:"100%",display:"block"},title:e,children:e})]})},U7=({part:e,className:t,size:n=102,iconOnly:r,onClick:o})=>{const{url:s,name:a,mediaType:l}=e,c=o?()=>o(e):void 0;if(ay(l))return i.jsx($7,{url:s,alt:a,className:t,size:n,onClick:c});const{icon:u,iconSize:d}=ly(l,a),f=r?void 0:cy(a);return i.jsx("div",{onClick:c,className:o?"cursor-pointer":void 0,children:i.jsx(uy,{fileName:f,icon:u,iconSize:d,className:t,size:n})})},dy=({parts:e,className:t,size:n=100,gap:r=10,iconOnly:o,onPartClick:s})=>e.length?i.jsx("div",{className:T("flex flex-wrap content-center items-center",t),style:{gap:r},children:e.map((a,l)=>i.jsx(U7,{part:a,size:n,iconOnly:o,onClick:s},a.url||l))}):null,fy=({size:e=16})=>i.jsxs("svg",{height:e,strokeLinejoin:"round",style:{color:"currentcolor"},viewBox:"0 0 16 16",width:e,children:[i.jsxs("g",{clipPath:"url(#clip0_2393_1490)",children:[i.jsx("path",{d:"M8 0V4",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M8 16V12",opacity:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M3.29773 1.52783L5.64887 4.7639",opacity:"0.9",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M12.7023 1.52783L10.3511 4.7639",opacity:"0.1",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M12.7023 14.472L10.3511 11.236",opacity:"0.4",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M3.29773 14.472L5.64887 11.236",opacity:"0.6",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M15.6085 5.52783L11.8043 6.7639",opacity:"0.2",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M0.391602 10.472L4.19583 9.23598",opacity:"0.7",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M15.6085 10.4722L11.8043 9.2361",opacity:"0.3",stroke:"currentColor",strokeWidth:"1.5"}),i.jsx("path",{d:"M0.391602 5.52783L4.19583 6.7639",opacity:"0.8",stroke:"currentColor",strokeWidth:"1.5"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_2393_1490",children:i.jsx("rect",{fill:"white",height:"16",width:"16"})})})]}),py=({size:e=16})=>i.jsx("svg",{height:e,strokeLinejoin:"round",style:{color:"currentcolor"},viewBox:"0 0 16 16",width:e,children:i.jsx("path",{clipRule:"evenodd",d:"M12.0607 6.74999L11.5303 7.28032L8.7071 10.1035C8.31657 10.4941 7.68341 10.4941 7.29288 10.1035L4.46966 7.28032L3.93933 6.74999L4.99999 5.68933L5.53032 6.21966L7.99999 8.68933L10.4697 6.21966L11 5.68933L12.0607 6.74999Z",fill:"currentColor",fillRule:"evenodd"})}),Fr={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{icon:Tn,iconSize:52},"application/vnd.ms-excel":{icon:Tn,iconSize:52},"text/csv":{icon:Wi,iconSize:16},"text/plain":{icon:fr,iconSize:16},"application/octet-stream":{icon:fr,iconSize:16}},hy={icon:Zi,iconSize:16},my=e=>!!(e!=null&&e.startsWith("image/")),Cy=(e,t)=>{var n;if(e&&Fr[e])return Fr[e];if(t)switch((n=t.split(".").pop())==null?void 0:n.toLowerCase()){case"xlsx":case"xls":return Fr["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];case"csv":return Fr["text/csv"];case"txt":case"ts":case"tsx":case"js":case"jsx":case"json":case"md":return Fr["text/plain"]}return hy},xy=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:i.jsx("path",{d:"M9 6L15 12L9 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),gy=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:i.jsx("path",{d:"M15 6L9 12L15 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),q7=({direction:e,onClick:t,className:n})=>i.jsx("button",{type:"button",onClick:t,className:T("flex items-center justify-center","size-9 p-1 rounded-[18px]","bg-white shadow-[0px_0px_10px_0px_rgba(0,0,0,0.06)]","cursor-pointer","hover:bg-gray-50","text-gray-600",re,n),children:e==="left"?i.jsx(gy,{}):i.jsx(xy,{})}),Y7=({direction:e,height:t,visible:n})=>{const r=e==="left";return i.jsxs("div",{className:T("absolute top-2 pointer-events-none z-5",r?"left-0":"right-0",re,n?"opacity-100":"opacity-0"),style:{height:`${t}px`,width:"46px"},children:[i.jsx("div",{className:T("absolute inset-0",r?"bg-linear-to-r from-white via-white via-[63.57%] to-transparent":"bg-linear-to-l from-white via-white via-[63.57%] to-transparent")}),i.jsx("div",{className:"absolute inset-0 bg-white blur-[7px]"})]})},by=({attachments:e,className:t,imageSize:n=53,gap:r=10,onImageClick:o,onImageRemove:s})=>{const a=x.useRef(null),l=x.useRef(null),[c,u]=x.useState(!1),[d,f]=x.useState(!1),p=x.useCallback(()=>{const m=l.current;if(!m)return;const{scrollLeft:C,scrollWidth:b,clientWidth:g}=m;u(C>0),f(C+g<b-1)},[]);x.useEffect(()=>{p();const m=l.current;if(m)return m.addEventListener("scroll",p),window.addEventListener("resize",p),()=>{m.removeEventListener("scroll",p),window.removeEventListener("resize",p)}},[p,e]);const h=m=>{const C=l.current;if(!C)return;const b=n+r,g=m==="left"?C.scrollLeft-b*2:C.scrollLeft+b*2;C.scrollTo({left:g,behavior:"smooth"})};return e.length?i.jsxs("div",{ref:a,className:T("relative w-full",t),style:{height:n+16},children:[i.jsx("div",{ref:l,className:"flex overflow-x-auto scrollbar-hide py-2",style:{gap:r,height:n+16},children:e.map((m,C)=>{const b=my(m.contentType),{icon:g,iconSize:y}=Cy(m.contentType,m.alt),w=52/102*n,v=w/y;return i.jsxs("div",{className:T("relative shrink-0 cursor-pointer group border border-[#e0e0e0] rounded-lg",re),style:{width:n,height:n},onClick:()=>o==null?void 0:o(m,C),children:[b&&m.url?i.jsx("img",{src:m.url,alt:m.alt||`Attachment ${C+1}`,className:"absolute inset-0 h-full w-full rounded-lg object-cover"}):i.jsx("div",{className:"absolute inset-0 flex h-full w-full items-center justify-center rounded-lg bg-[#EFF0F6]",children:i.jsx("div",{className:"shrink-0 flex items-center justify-center",style:{width:w,height:w},children:i.jsx("div",{style:{transform:v!==1?`scale(${v})`:void 0,transformOrigin:"center"},children:i.jsx(g,{})})})}),m.isLoading&&i.jsx("div",{className:"absolute inset-0 flex items-center justify-center rounded-lg bg-black/50 pointer-events-none",children:i.jsx("div",{className:"inline-flex animate-spin items-center justify-center",children:i.jsx(fy,{size:16})})}),s&&i.jsx("button",{className:T("absolute -top-1.5 -right-1.5","flex items-center justify-center","opacity-0 group-hover:opacity-100 cursor-pointer",re),onClick:S=>{S.stopPropagation(),s(m,C)},children:i.jsx(m3,{})})]},m.id)})}),i.jsx(Y7,{direction:"left",height:n,visible:c}),i.jsx(q7,{direction:"left",onClick:()=>h("left"),className:T("absolute left-0 top-1/2 -translate-y-1/2 z-10",c?"opacity-100":"opacity-0 pointer-events-none")}),i.jsx(Y7,{direction:"right",height:n,visible:d}),i.jsx(q7,{direction:"right",onClick:()=>h("right"),className:T("absolute right-0 top-1/2 -translate-y-1/2 z-10",d?"opacity-100":"opacity-0 pointer-events-none")})]}):null},Xo=x.forwardRef(({className:e,children:t,hoverTextCls:n,tooltip:r,icon:o,type:s,...a},l)=>{const c=i.jsxs("button",{ref:l,type:s!=null?s:"button",className:T("group inline-flex items-center gap-[6px] px-[16px] rounded-[4px] h-[34px]","border border-solid border-[#E0E0E0] bg-transparent","text-[14px] font-[400] leading-[normal] text-[#030303]","hover:bg-[#EFF0F6] hover:border-transparent","cursor-pointer",{"hover:text-[#0265FF]":!n,[`hover:${n}`]:n},re,e),...a,children:[o?i.jsx("span",{className:"shrink-0",children:o}):null,t?i.jsx("span",{className:"whitespace-nowrap",children:t}):null]});return r?i.jsx(Ao,{content:r,children:c}):c});Xo.displayName="BaseButton";const G7={0:"pl-[10px]",1:"pl-[32px]",2:"pl-[32px]",3:"pl-[54px]",4:"pl-[78px]",5:"pl-[102px]"};function X7(e){var t;return(t=G7[Math.min(e,5)])!=null?t:G7[5]}function K7(e){const n=e.icon>=25?"-new":"";return`node-icon icon-bsy-form${n} icon${n}-bsy-form-${e.icon}`}function Ko(e,t){const{entryIdAliasMap:n,entryMap:r,entryList:o}=e,s=new Set(Za(o).map(m=>m.id)),a={};for(const[m,C]of Object.entries(n!=null?n:{}))s.has(C.formId)&&(a[C.formId]=C);const l=Object.keys(a);if(l.length===0)return[];const c=new Map;for(const m of l){const C=a[m],b=C.parent||"0";c.has(b)||c.set(b,[]),c.get(b).push(C.formId)}const u=new Set(c.keys()),d=Array.from(u).filter(m=>m==="0"||!a[m]),f=t.toLowerCase().trim();function p(m,C){const b=c.get(m)||[],g=[];for(const y of b){const w=a[y],v=r[y]||null,S=(v==null?void 0:v.name)||y,j=(v==null?void 0:v.icon)||0,E=w.type==="group",N=p(y,C+1),O=!f||(S==null?void 0:S.toLowerCase().includes(f));E?(O||N.length>0)&&g.push({id:y,name:S,icon:j,type:"group",children:N,depth:C,isSelectable:!1,entry:v}):O&&g.push({id:y,name:S,icon:j,type:w.type,children:[],depth:C,isSelectable:!0,entry:v})}return g}const h=[];for(const m of d)h.push(...p(m,0));return h}const Q7=e=>{var n;const t=[];for(const r of e)if(t.push({id:r.entryId,name:(r==null?void 0:r.name)||r.entryId,icon:(r==null?void 0:r.icon)||0,type:r.type,parent:r.parent||void 0,itemType:r.type==="group"?"group":"form"}),(n=r.child)!=null&&n.length)for(const o of Q7(r.child))t.push({...o,parent:r.entryId});return t},Za=e=>{var n;const t=[];for(const r of e)if(t.push({id:r.id}),(n=r.child)!=null&&n.length)for(const o of Za(r.child))t.push({id:o.id});return t},yy=e=>{const{entryIdAliasMap:t,entryMap:n,entryList:r}=e,o=new Set(Za(r).map(l=>l.id)),s=Object.keys(t).filter(l=>o.has(l));if(s.length===0)return[];const a=s.map(l=>n[l]).filter(Boolean);return Q7(a)};function J7(e,t){const n=t.toLowerCase().trim();if(!n)return e;const r=[];for(const o of e){const s=o==null?void 0:o.name.toLowerCase().includes(n),a=J7(o.children,t);o.isSelectable?s&&r.push(o):(s||a.length>0)&&r.push({...o,children:a})}return r}const Wa=({value:e,onChange:t,placeholder:n="",className:r})=>i.jsxs("div",{className:T("content-stretch flex items-center gap-[6px] border border-[#e0e0e0] border-solid rounded-[4px] px-[10px] h-[34px]","group hover:border-[#0265ff] focus-within:border-[#0265ff]",r),children:[i.jsx(S1,{className:"shrink-0 text-[#999] group-hover:text-[#0265ff] group-focus-within:text-[#0265ff]"}),i.jsx("input",{type:"text",value:e||"",onChange:o=>t==null?void 0:t(o.target.value),placeholder:n,className:"flex-1 outline-none text-[14px] placeholder:text-[#999] bg-transparent min-w-0 text-[#030303] leading-[normal]"})]}),wy=e=>i.jsx(Wa,{...e,placeholder:"搜索表单"});function vy({item:e,depth:t,isSelected:n,onClick:r}){return i.jsx("div",{className:T("flex items-center justify-between h-[34px] px-[10px] cursor-pointer rounded-[4px] shrink-0",X7(t),"hover:bg-[#EFF0F6]",n&&"bg-[#EFF0F6]",re),onClick:r,children:i.jsxs("span",{className:"flex items-center gap-[6px] min-w-0 flex-1",children:[i.jsx("i",{className:e.entry?K7(e.entry):"node-icon icon-bsy-form icon-new-bsy-form-25",style:{fontSize:16,lineHeight:1}}),i.jsx("span",{className:"text-[14px] text-[#030303] truncate",children:e.name})]})})}const ky=({size:e})=>i.jsx(rn,{className:"-rotate-90",size:e});function Qo({item:e,selectedEntryId:t,appId:n,section:r,onSelect:o}){const[s,a]=x.useState(!0);return e.type==="group"?i.jsxs("div",{children:[i.jsxs("div",{className:T("flex items-center gap-[6px] h-[34px] px-[10px] cursor-pointer rounded-[4px]",X7(e.depth),"hover:bg-[#EFF0F6]",re),onClick:()=>a(!s),children:[i.jsx("span",{className:T("shrink-0 flex items-center justify-center w-[16px] h-[16px]",re,s&&"rotate-90"),children:i.jsx(ky,{size:16})}),i.jsx("i",{className:"icon-bsy-folder-close",style:{fontSize:16,lineHeight:1}}),i.jsx("span",{className:"text-[14px] text-[#030303] truncate",children:e.name})]}),s&&e.children.map(l=>i.jsx(Qo,{item:l,selectedEntryId:t,appId:n,section:r,onSelect:o},l.id))]}):i.jsx(vy,{item:e,depth:e.depth,isSelected:t===e.id,onClick:()=>{e.entry&&o({entry:e.entry,appId:n,section:r})}})}function $a(e,t={}){const{estimatedHeight:n=450,gap:r=4,minWidth:o=240,zIndex:s=9999}=t,[a,l]=x.useState({}),c=typeof e=="function"?e:()=>e.current,u=x.useCallback(()=>{const d=c();if(!d)return;const f=d.getBoundingClientRect(),p=window.innerHeight-f.bottom-r,h=f.top-r,m=p>=n||p>=h;l({position:"fixed",top:m?f.bottom+r:void 0,bottom:m?void 0:window.innerHeight-f.top+r,left:f.left,minWidth:Math.max(f.width,o),maxHeight:Math.min(n,m?p:h),zIndex:s,pointerEvents:"auto"})},[c,n,r,o,s]);return{popoverStyle:a,updatePopoverPosition:u}}const jy=({size:e})=>i.jsx(rn,{className:"-rotate-90",size:e});function Sy({appDetails:e,currentAppId:t,selectedEntryId:n,onSelect:r,onOverflowChange:o,showCurrentAppEntriesOnly:s=!1,variant:a="default"}){const l=x.useRef(null),[c,u]=x.useState(!1),[d,f]=x.useState(!1),[p,h]=x.useState(null),[m,C]=x.useState(""),b=x.useRef(null),g=x.useRef(new Map),[y,w]=x.useState(null),v=x.useRef(null),{popoverStyle:S,updatePopoverPosition:j}=$a(()=>{var L;return v.current&&(L=g.current.get(v.current))!=null?L:null},{estimatedHeight:340}),E=a==="tabs",N=x.useMemo(()=>{const L=Object.keys(e),z=[],ee=[];for(const Y of L){const ie=e[Y],K=Ko(ie,""),W=Y===t?"current":"other",te=K.map(G=>({node:G,appId:Y,section:W}));W==="current"?z.push(...te):ee.push(...te)}const M=[...z,...ee];return s?z:M},[e,t,s,Object.keys(e).map(L=>{var z,ee,M;return(M=(ee=(z=e[L])==null?void 0:z.entryList)==null?void 0:ee.length)!=null?M:0}).join(",")]),O=x.useMemo(()=>p?J7(p.node.children,m):[],[p,m]),P=x.useCallback(()=>{const L=l.current;if(!L)return;const z=L.scrollLeft>0,ee=L.scrollLeft+L.clientWidth<L.scrollWidth-1;u(z),f(ee)},[]),V=c||d;x.useEffect(()=>{o==null||o(V)},[V,o]);const D=x.useMemo(()=>{const L=new Map;function z(ee,M){ee.isSelectable&&L.set(ee.id,M);for(const Y of ee.children)z(Y,M)}for(const{node:ee}of N)if(!ee.isSelectable)for(const M of ee.children)z(M,ee.id);return L},[N]);x.useEffect(()=>{if(!n||!l.current)return;let L=n,z=l.current.querySelector(`[data-entry-id="${L}"]`);z||(L=D.get(n)||"",L&&(z=l.current.querySelector(`[data-entry-id="${L}"]`))),z&&z.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})},[n,D]),x.useEffect(()=>{P();const L=l.current;if(!L)return;const z=new ResizeObserver(P);return z.observe(L),L.addEventListener("scroll",P,{passive:!0}),()=>{z.disconnect(),L.removeEventListener("scroll",P)}},[N,P]);const F=x.useCallback(L=>{const z=l.current;z&&z.scrollBy({left:L==="left"?-150:150,behavior:"smooth"})},[]),R=x.useCallback(()=>{v.current=null,h(null),C("")},[]),B=x.useCallback((L,z)=>{if(z.stopPropagation(),(p==null?void 0:p.node.id)===L.node.id){v.current=null,h(null),C("");return}C(""),v.current=L.node.id,h(L);const ee=g.current.get(L.node.id);if(ee){const M=ee.getRootNode();if(M instanceof ShadowRoot){const Y=M.querySelector("[data-bs-entry-select-group-portal]");if(Y)w(Y);else{const ie=document.createElement("div");ie.setAttribute("data-bs-entry-select-group-portal","true"),M.appendChild(ie),w(ie)}}else w(null)}requestAnimationFrame(()=>{j()})},[p,j]),$=x.useCallback(L=>{r(L),R()},[r,R]);if(x.useEffect(()=>{if(!p)return;const L=ee=>{const M=ee.composedPath();if(b.current&&M.includes(b.current))return;const Y=g.current.get(p.node.id);Y&&M.includes(Y)||R()},z=()=>j();return document.addEventListener("mousedown",L),window.addEventListener("scroll",z,!0),window.addEventListener("resize",z),()=>{document.removeEventListener("mousedown",L),window.removeEventListener("scroll",z,!0),window.removeEventListener("resize",z)}},[p,R,j]),x.useEffect(()=>{if(!p)return;const L=z=>{z.key==="Escape"&&R()};return document.addEventListener("keydown",L),()=>document.removeEventListener("keydown",L)},[p,R]),N.length===0)return null;const U=m.trim().length>0,Z=i.jsxs(i.Fragment,{children:[i.jsx("span",{className:T(re,"inline-flex overflow-hidden items-center",c?"w-[26px] opacity-100 mr-2.5":"w-0 opacity-0 mr-0"),children:i.jsx(Vt,{rounded:!0,icon:i.jsx(ur,{}),onClick:()=>F("left")})}),i.jsx("div",{ref:l,className:T("flex-1 overflow-x-auto scrollbar-hide flex min-w-0",E?'items-end gap-0 overflow-y-hidden border-b-[#e0e0e0] before:content-[""] before:absolute before:bottom-[0px] before:left-[-200px] before:right-0 before:h-[1px] before:w-[100vw] before:bg-[#e0e0e0] h-full':"items-center gap-2.5"),children:N.map(L=>{const{node:z,appId:ee,section:M}=L,Y=z.isSelectable,ie=Y&&n===z.id,K=(p==null?void 0:p.node.id)===z.id||(z==null?void 0:z.children.findIndex(te=>te.id===n))>=0,W=te=>{te?g.current.set(z.id,te):g.current.delete(z.id)};return Y?i.jsxs("button",{"data-entry-id":z.id,type:"button",onClick:()=>{z.entry&&r({entry:z.entry,appId:ee,section:M})},className:T("flex items-center gap-[6px] shrink-0 max-w-[240px]",re,E?["px-[16px] py-[8px] relative z-10 border-b-none h-full",ie?"border-r border-t border-l border-[#e0e0e0] bg-[#f6f7fa] text-[#0265FF] rounded-t-[10px] rounded-b-none ":"text-[#030303] hover:bg-[#F0F6FF] rounded-t-[8px]"]:["px-[10px] py-[7px] rounded-[4px]",ie?"border border-[#F0F6FF] bg-[#F0F6FF] text-[#0265FF]":"border border-[#E0E0E0] text-[#030303] hover:bg-[#F0F6FF]"]),children:[i.jsx("i",{className:z.entry?K7(z.entry):"node-icon icon-bsy-form icon-new-bsy-form-25",style:{fontSize:16,lineHeight:1}}),i.jsx("span",{className:"text-[14px] leading-[normal] truncate",children:z.name})]},z.id):i.jsxs("button",{"data-entry-id":z.id,ref:W,type:"button",onClick:te=>B(L,te),className:T("flex items-center gap-[10px] shrink-0 max-w-[240px]",re,E?["px-[16px] py-[8px] relative z-10 h-full",K?"border-r border-t border-l border-[#e0e0e0] bg-[#f6f7fa] text-[#0265FF] rounded-t-[10px] rounded-b-none ":"text-[#030303] hover:bg-[#F0F6FF] rounded-t-[8px]"]:["px-[10px] py-[7px] rounded-[4px]",K?"border border-[#0265FF] text-[#030303]":"border border-[#E0E0E0] text-[#030303] hover:bg-[#F0F6FF]"]),children:[i.jsxs("span",{className:"flex items-center gap-[6px] min-w-0 flex-1",children:[i.jsx("i",{className:"icon-bsy-folder-close",style:{fontSize:16,lineHeight:1}}),i.jsx("span",{className:"text-[14px] leading-[normal] truncate",children:z.name})]}),i.jsx("span",{className:T("shrink-0 flex items-center justify-center w-[16px] h-[16px] text-[#666666]",re,K&&"rotate-90"),children:i.jsx(jy,{size:16})})]},z.id)})}),i.jsx("span",{className:T(re,"inline-flex overflow-hidden items-center",d?"w-[26px] opacity-100 ml-2.5":"w-0 opacity-0 ml-0"),children:i.jsx(Vt,{rounded:!0,icon:i.jsx("span",{className:"rotate-180 inline-flex",children:i.jsx(ur,{})}),onClick:()=>F("right")})})]}),J=E?"h-full px-[10px] items-end":"items-center";return i.jsxs("div",{className:et("flex flex-1 min-w-0",J),children:[E?i.jsx("div",{className:"relative flex items-stretch flex-1 min-w-0 h-full",children:Z}):Z,p&&(()=>{const L=i.jsxs("div",{ref:b,style:S,className:T("bg-white rounded-[10px] shadow-[0px_0px_10px_0px_rgba(0,0,0,0.04)] p-[4px]","flex flex-col gap-[4px]",re),children:[i.jsx(wy,{placeholder:"搜索表单名称",value:m,onChange:C}),i.jsx("div",{className:"flex flex-col gap-[4px] max-h-[300px] overflow-y-auto",children:O.length>0?O.map(z=>i.jsx(Qo,{item:z,selectedEntryId:n,appId:p.appId,section:p.section,onSelect:$},z.id)):U?i.jsx("div",{className:"text-[12px] text-[#999999] py-[8px] text-center",children:"无匹配结果"}):i.jsx("div",{className:"text-[12px] text-[#999999] py-[8px] text-center",children:"暂无表单"})})]});return r1.createPortal(L,y||document.body)})()]})}const Ly=({size:e})=>i.jsx(rn,{className:"-rotate-90",size:e});function e0({label:e,searchQuery:t,children:n}){const[r,o]=x.useState(!0),s=t.trim().length>0;return x.useEffect(()=>{s&&o(!0)},[s]),i.jsxs("div",{children:[i.jsxs("div",{className:T("flex items-center gap-[6px] h-[32px] cursor-pointer rounded-[4px] pr-[10px]","hover:bg-[#EFF0F6]","border-b border-[#E0E0E0]","rounded-b-none",re),style:{paddingLeft:10,paddingTop:9},onClick:()=>o(!r),children:[i.jsx("span",{className:T("shrink-0 flex items-center justify-center w-[16px] h-[16px]",re,r&&"rotate-90"),children:i.jsx(Ly,{size:16})}),i.jsx("i",{className:"icon-bsy-folder-close",style:{fontSize:16,lineHeight:1}}),i.jsx("span",{className:"text-[12px] text-[#666666]",children:e})]}),r&&i.jsx("div",{className:"flex flex-col",children:n})]})}const My=({size:e})=>i.jsx(rn,{className:"-rotate-90",size:e});function Ey({appId:e,appDetail:t,searchQuery:n,selectedEntryId:r,section:o,onSelect:s}){var d;const[a,l]=x.useState(!0),c=n.trim().length>0;x.useEffect(()=>{c&&l(!0)},[c]);const u=x.useMemo(()=>Ko(t,n),[t,n,(d=t==null?void 0:t.entryList)==null?void 0:d.length]);return i.jsxs("div",{children:[i.jsxs("div",{className:T("flex items-center gap-[6px] h-[32px] cursor-pointer rounded-[4px] pr-[10px]","hover:bg-[#EFF0F6]",re),style:{paddingLeft:15},onClick:()=>l(!a),children:[i.jsx("span",{className:T("shrink-0 flex items-center justify-center w-[18px] h-[18px]",re,a&&"rotate-90"),children:i.jsx(My,{size:18})}),i.jsx("i",{className:"node-icon icon-bsy-form icon-new-bsy-form-0",style:{fontSize:16,lineHeight:1}}),i.jsx("span",{className:"text-[14px] text-[#030303] truncate",children:t.name})]}),a&&u.length>0&&i.jsx("div",{className:"flex flex-col",style:{paddingLeft:15},children:u.map(f=>i.jsx(Qo,{item:f,selectedEntryId:r,appId:e,section:o,onSelect:s},f.id))}),a&&u.length===0&&c&&i.jsx("div",{className:"text-[12px] text-[#999999] py-[8px] pl-[32px]",children:"无匹配结果"}),a&&u.length===0&&!c&&i.jsx("div",{className:"text-[12px] text-[#999999] py-[8px] pl-[32px]",children:"暂无表单"})]})}function Ny({searchQuery:e,onSearchChange:t,currentAppTree:n,currentAppId:r,otherAppIds:o,appDetails:s,selectedEntryId:a,hasCurrentApp:l,hasOtherApps:c,hasAnyContent:u,hasSearch:d,showCurrentAppEntriesOnly:f=!1,onSelect:p}){return i.jsxs("div",{className:T("bg-white rounded-[10px] shadow-[0px_0px_10px_0px_rgba(0,0,0,0.04)] p-[4px]","flex flex-col gap-[4px]",re),children:[i.jsx(Wa,{value:e,onChange:t,placeholder:"搜索表单名称"}),i.jsxs("div",{className:"flex flex-col gap-0 max-h-[400px] overflow-y-auto",children:[l&&i.jsx(e0,{label:"当前应用表单",searchQuery:e,children:n.length>0?n.map(h=>i.jsx(Qo,{item:h,selectedEntryId:a,appId:r,section:"current",onSelect:p},h.id)):d?i.jsx("div",{className:"text-[12px] text-[#999999] py-[8px] pl-[22px]",children:"无匹配结果"}):i.jsx("div",{className:"text-[12px] text-[#999999] py-[8px] pl-[22px]",children:"暂无表单"})}),c&&!f&&i.jsx(e0,{label:"其他应用表单",searchQuery:e,children:o.map(h=>i.jsx(Ey,{appId:h,appDetail:s[h],searchQuery:e,selectedEntryId:a,section:"other",onSelect:p},h))}),!u&&i.jsx("div",{className:"text-[14px] text-[#999999] py-[12px] text-center",children:"暂无应用"})]})]})}const t0=x.forwardRef(({appDetails:e,currentAppId:t,value:n,defaultValue:r,onChange:o,placeholder:s="请选择",disabled:a=!1,className:l,showSlider:c=!0,showCurrentAppEntriesOnly:u=!1,sliderVariant:d="default"},f)=>{var Y,ie,K;const[p,h]=x.useState(!1),[m,C]=x.useState(""),[b,g]=x.useState(r),y=x.useRef(null),w=x.useRef(null),[v,S]=x.useState(null),[j,E]=x.useState(!1),{popoverStyle:N,updatePopoverPosition:O}=$a(y),P=x.useCallback(W=>{E(W)},[]),V=n!=null?n:b,D=x.useMemo(()=>Object.keys(e).filter(W=>W!==t),[e,t]),F=x.useCallback(W=>{if(y.current=W,!W){S(null);return}const te=W.getRootNode();if(te instanceof ShadowRoot){const G=te.querySelector("[data-bs-entry-select-portal]");if(G){S(G);return}const ne=document.createElement("div");ne.setAttribute("data-bs-entry-select-portal","true"),te.appendChild(ne),S(ne);return}S(null)},[]),R=x.useCallback(()=>{h(!1),C(""),y.current&&(y.current.style.backgroundColor="")},[]),B=x.useCallback(()=>{a||(p?R():(h(!0),O()))},[a,p,R,O]),$=x.useCallback(W=>{g(W.entry.entryId),o==null||o(W),R()},[o,R]);x.useEffect(()=>{if(!p)return;const W=ne=>{const oe=ne.composedPath();w.current&&oe.includes(w.current)||y.current&&oe.includes(y.current)||R()},te=()=>{O()},G=()=>{O()};return document.addEventListener("mousedown",W),window.addEventListener("scroll",te,!0),window.addEventListener("resize",G),()=>{document.removeEventListener("mousedown",W),window.removeEventListener("scroll",te,!0),window.removeEventListener("resize",G)}},[p,R,O]),x.useEffect(()=>{if(!p)return;const W=te=>{te.key==="Escape"&&R()};return document.addEventListener("keydown",W),()=>document.removeEventListener("keydown",W)},[p,R]);const U=!!(t&&e[t]),Z=D.length>0,J=U||Z,L=x.useMemo(()=>!t||!e[t]?[]:Ko(e[t],m),[e,t,m,t!=null&&(K=(ie=(Y=e[t])==null?void 0:Y.entryList)==null?void 0:ie.length)!=null?K:0]),z=m.trim().length>0,M=d==="tabs"?"h-full":"";return i.jsxs("div",{ref:f,className:T("relative inline-flex items-center gap-[10px] min-w-0",M,l),children:[c&&i.jsx(Sy,{appDetails:e,currentAppId:t,selectedEntryId:V,onSelect:$,onOverflowChange:P,showCurrentAppEntriesOnly:u,variant:d}),(!c||j)&&i.jsx("div",{ref:F,className:T("flex items-center gap-[10px] px-[10px] py-[7px] rounded-[4px] cursor-pointer select-none shrink-0",re,p&&"bg-[#EFF0F6]",a&&"opacity-50 cursor-not-allowed"),onClick:B,onMouseEnter:W=>{!p&&!a&&(W.currentTarget.style.backgroundColor="#EFF0F6")},onMouseLeave:W=>{p||(W.currentTarget.style.backgroundColor="")},children:i.jsxs("span",{className:"flex items-center gap-[10px] min-w-0 flex-1",children:[i.jsx(Ui,{}),i.jsx("span",{children:"全部"})]})}),p&&r1.createPortal(i.jsx("div",{ref:w,style:N,children:i.jsx(Ny,{searchQuery:m,onSearchChange:C,currentAppTree:L,currentAppId:t,otherAppIds:D,appDetails:e,selectedEntryId:V,hasCurrentApp:U,hasOtherApps:Z,hasAnyContent:J,hasSearch:z,showCurrentAppEntriesOnly:u,onSelect:$})}),v||document.body)]})});t0.displayName="BsEntrySelect";const Fy=`linear-gradient(90deg,
|
|
137
|
-
rgba(132, 180, 255, 0) 0%,
|
|
138
|
-
rgba(132, 180, 255, 0.5) 10%,
|
|
139
|
-
rgba(132, 180, 255, 1) 25%,
|
|
140
|
-
rgb(2, 101, 255) 50%,
|
|
141
|
-
rgba(177, 250, 255, 1) 75%,
|
|
142
|
-
rgba(177, 250, 255, 0.5) 90%,
|
|
143
|
-
rgba(177, 250, 255, 0) 100%
|
|
144
|
-
)`,Ty=({children:e,className:t,duration:n=2,borderRadius:r=4,beamWidth:o=170,beamHeight:s=4,gradient:a=Fy,borderWidth:l=1,height:c,borderColor:u="transparent"})=>i.jsxs("div",{className:T("relative w-full overflow-hidden",t,"gradient-border"),style:{borderRadius:`${r}px`,border:`${l}px solid ${u}`,...c?{height:c}:{}},children:[e,i.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",border:`${l}px solid transparent`,borderRadius:"inherit",maskImage:"linear-gradient(transparent, transparent), linear-gradient(white, white)",WebkitMaskImage:"linear-gradient(transparent, transparent), linear-gradient(white, white)",maskOrigin:"border-box, border-box",WebkitMaskOrigin:"border-box, border-box",maskClip:"padding-box, border-box",WebkitMaskClip:"padding-box, border-box",maskComposite:"intersect",WebkitMaskComposite:"source-in"},children:i.jsx("div",{style:{position:"absolute",aspectRatio:"1 / 1",width:`${o}px`,height:`${s}px`,background:a,offsetPath:`rect(0px auto auto 0px round ${r}px)`,animation:`bs-border-travel ${n}s linear infinite`,willChange:"offset-distance",transform:"translateZ(0)",backfaceVisibility:"hidden"}})}),i.jsx("style",{children:`
|
|
145
|
-
@keyframes bs-border-travel {
|
|
146
|
-
0% { offset-distance: 0%; }
|
|
147
|
-
100% { offset-distance: 100%; }
|
|
148
|
-
}
|
|
149
|
-
`})]}),Ua=({children:e,width:t,height:n,padding:r,borderWidth:o=2,borderRadius:s=12,bgInset:a,style:l})=>{const c=typeof t=="number"&&typeof n=="number",u=c?Math.max(t!=null?t:0,n!=null?n:0):0,d=c?-1*u*1.5:"-150%";return i.jsxs("div",{style:{position:"relative",width:t!=null?t:"100%",height:n!=null?n:"100%",borderRadius:s,overflow:"hidden"},children:[i.jsx("div",{style:{position:"absolute",inset:a!==void 0?-a:d,background:"conic-gradient(from 0deg, #0265FF, #00D4FF, #0265FF, #00D4FF, #0265FF)",animation:"borderRotate 4s linear infinite"}}),i.jsx("div",{style:{...l,position:"absolute",inset:o,borderRadius:s-2,background:"white",zIndex:1,padding:r||0},children:e}),i.jsx("style",{children:`
|
|
150
|
-
@keyframes borderRotate {
|
|
151
|
-
0% {
|
|
152
|
-
transform: rotate(0deg);
|
|
153
|
-
}
|
|
154
|
-
100% {
|
|
155
|
-
transform: rotate(360deg);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
`})]})},qa=({size:e=30,className:t})=>i.jsx("div",{className:t,style:{backgroundImage:`${q2}`,backgroundRepeat:"no-repeat",backgroundSize:"cover",width:e,height:e,aspectRatio:"1/1"}}),_y=({name:e,icon:t,variant:n="default"})=>{const r=n==="default"?20:24;if(!e)return null;const o={default:"text-[#999] text-[14px] font-[400]",active:"text-[#0265FF] text-[14px] font-[700]"},a=typeof t=="string"&&/^https?:\/\//.test(t)?i.jsx("img",{src:t,alt:"",className:"rounded-full",width:r,height:r}):t||i.jsx(qa,{size:r});return i.jsxs("div",{className:"flex items-center gap-1.5",children:[a,i.jsx("div",{className:o[n],children:e})]})},Ay=({label:e,children:t,className:n})=>i.jsxs("div",{className:T("flex gap-2 items-start w-full",n),children:[i.jsx("div",{className:"w-[100px] shrink-0 text-[#666] text-sm leading-normal truncate",children:e}),i.jsx("div",{className:"flex-1 min-w-0 text-sm leading-normal whitespace-pre-wrap break-words",children:t!=null?t:i.jsx("span",{className:"text-[#666]",children:"无"})})]}),Dy=({children:e})=>i.jsx("div",{className:"flex flex-col gap-[10px] w-full",children:e}),Oy=({title:e,desc:t,index:n,icon:r,onClick:o,iconCode:s})=>i.jsxs("div",{className:T("bs-card group flex flex-col cursor-pointer p-2.5 gap-2.5 rounded-lg max-w-[350px] border border-[#e0e0e0] bg-white",{transCls:re}),onClick:()=>{o==null||o(e,s)},children:[i.jsxs("div",{className:"px-2.5 flex items-center gap-1.5 rounded-[4px] h-[34px] bg-white",children:[n===void 0?null:i.jsx("div",{children:n}),r===void 0?null:i.jsx("div",{className:"text-[#0265FF]",children:r}),i.jsx("div",{className:"truncate !text-[#12111] group-hover:text-[#0265FF]",children:e})]}),i.jsx("div",{className:"text-[#666] leading-5 text-[12px]",children:t})]}),n0=({icon:e,iconBgColor:t,title:n,description:r,height:o,selected:s,badge:a,onClick:l})=>i.jsx("div",{className:T("flex flex-col p-[10px] rounded-[4px] cursor-pointer","border",{"bg-[#EFF0F6] border-[#EFF0F6]":s,"bg-white border-[#E0E0E0]":!s},re),style:{height:o},onClick:l,children:i.jsxs("div",{className:"flex items-start gap-[12px] w-full",children:[i.jsx("div",{className:"shrink-0 size-[42px] rounded-[23px] flex items-center justify-center p-[7px]",style:{backgroundColor:t},children:i.jsx("div",{className:"size-[28px] flex items-center justify-center",children:e})}),i.jsxs("div",{className:"flex flex-col gap-[6px] min-w-0 flex-1",children:[i.jsxs("div",{className:"flex items-center justify-between w-full",children:[i.jsx("p",{className:"text-[14px] font-bold text-[#030303] truncate",children:n}),a&&i.jsx("span",{className:"shrink-0 bg-[#4ACCC1] text-white text-[12px] leading-[normal] px-[6px] h-[20px] rounded-[4px] flex items-center justify-center ml-[8px]",children:a})]}),i.jsx("p",{className:"text-[12px] text-[#999] w-full",children:r})]})]})}),r0=({agent:e,className:t})=>i.jsxs("div",{className:T("bg-[#e5e6eb] content-stretch flex gap-[4px] items-center px-[6px] rounded-[100px] w-fit h-[26px]",t),children:[i.jsx("div",{className:"relative rounded-[3.5px] shrink-0 size-[14px]",children:i.jsx("img",{alt:"",className:"absolute inset-0 max-w-none object-cover pointer-events-none rounded-[3.5px] size-full",src:e.icon})}),i.jsx("p",{className:"leading-[normal] shrink-0 text-[#030303] text-[12px] whitespace-nowrap",children:e.name})]}),Ya=[{triggerType:"universal",title:"通用型",description:"开箱即用,无需触发即可直接使用",icon:i.jsx(qi,{fill:"#4ACCC1"}),minIcon:i.jsx(qi,{fill:"#4ACCC1",size:12}),iconBgColor:"rgba(74, 204, 193, 0.1)",badge:"通用"},{triggerType:"form_field",title:"表单字段触发",description:"表单中数据发生变化时,触发自动化操作",icon:i.jsx(zi,{}),minIcon:i.jsx(zi,{size:12}),iconBgColor:"rgba(77, 96, 159, 0.1)"},{triggerType:"form_action",title:"表单动作触发",description:"表单中数据发生变化时,触发自动化操作",icon:i.jsx("div",{className:"text-[#0265FF]",children:i.jsx(k3,{})}),minIcon:i.jsx(v3,{size:12}),iconBgColor:"rgba(2, 101, 255, 0.1)"},{triggerType:"form_flow_node",title:"表单流程节点触发",description:"表单中数据发生变化时,触发自动化操作",icon:i.jsx("div",{className:"text-[#FF9921]",children:i.jsx(Yi,{})}),minIcon:i.jsx(Yi,{size:12}),iconBgColor:"rgba(255, 153, 33, 0.1)"}],Py=({triggerType:e})=>{const t=Ya.find(o=>o.triggerType===e);if(!t)return null;const{minIcon:n,iconBgColor:r}=t;return i.jsx("div",{className:"shrink-0 rounded-full flex items-center justify-center p-[7px]",style:{backgroundColor:r,width:18,height:18},children:i.jsx("div",{className:"flex items-center justify-center",children:n})})},Iy=({value:e,onChange:t,configList:n=Ya})=>i.jsx("div",{className:"grid grid-cols-3 gap-5",children:n.map(r=>i.jsx(n0,{icon:r.icon,iconBgColor:r.iconBgColor,title:r.title,description:r.description,badge:r.badge,selected:e===r.triggerType,onClick:()=>t==null?void 0:t(r.triggerType)},r.triggerType))});var Jo="Collapsible",[Hy]=Lt(Jo),[Vy,Ga]=Hy(Jo),o0=k.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:s,onOpenChange:a,...l}=e,[c,u]=$t({prop:r,defaultProp:o!=null?o:!1,onChange:a,caller:Jo});return i.jsx(Vy,{scope:n,disabled:s,contentId:Wt(),open:c,onOpenToggle:k.useCallback(()=>u(d=>!d),[u]),children:i.jsx(ve.div,{"data-state":Ka(c),"data-disabled":s?"":void 0,...l,ref:t})})});o0.displayName=Jo;var s0="CollapsibleTrigger",i0=k.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Ga(s0,n);return i.jsx(ve.button,{type:"button","aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":Ka(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:ye(e.onClick,o.onOpenToggle)})});i0.displayName=s0;var Xa="CollapsibleContent",a0=k.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Ga(Xa,e.__scopeCollapsible);return i.jsx(Mt,{present:n||o.open,children:({present:s})=>i.jsx(Ry,{...r,ref:t,present:s})})});a0.displayName=Xa;var Ry=k.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...s}=e,a=Ga(Xa,n),[l,c]=k.useState(r),u=k.useRef(null),d=Te(t,u),f=k.useRef(0),p=f.current,h=k.useRef(0),m=h.current,C=a.open||l,b=k.useRef(C),g=k.useRef(void 0);return k.useEffect(()=>{const y=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(y)},[]),ft(()=>{const y=u.current;if(y){g.current=g.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const w=y.getBoundingClientRect();f.current=w.height,h.current=w.width,b.current||(y.style.transitionDuration=g.current.transitionDuration,y.style.animationName=g.current.animationName),c(r)}},[a.open,r]),i.jsx(ve.div,{"data-state":Ka(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!C,...s,ref:d,style:{"--radix-collapsible-content-height":p?`${p}px`:void 0,"--radix-collapsible-content-width":m?`${m}px`:void 0,...e.style},children:C&&o})});function Ka(e){return e?"open":"closed"}var By=o0,es="Checkbox",[zy]=Lt(es),[Zy,Qa]=zy(es);function Wy(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:s,form:a,name:l,onCheckedChange:c,required:u,value:d="on",internal_do_not_use_render:f}=e,[p,h]=$t({prop:n,defaultProp:o!=null?o:!1,onChange:c,caller:es}),[m,C]=k.useState(null),[b,g]=k.useState(null),y=k.useRef(!1),w=m?!!a||!!m.closest("form"):!0,v={checked:p,disabled:s,setChecked:h,control:m,setControl:C,name:l,form:a,value:d,hasConsumerStoppedPropagationRef:y,required:u,defaultChecked:$1(o)?!1:o,isFormControl:w,bubbleInput:b,setBubbleInput:g};return i.jsx(Zy,{scope:t,...v,children:$y(f)?f(v):r})}var l0="CheckboxTrigger",c0=k.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},o)=>{const{control:s,value:a,disabled:l,checked:c,required:u,setControl:d,setChecked:f,hasConsumerStoppedPropagationRef:p,isFormControl:h,bubbleInput:m}=Qa(l0,e),C=Te(o,d),b=k.useRef(c);return k.useEffect(()=>{const g=s==null?void 0:s.form;if(g){const y=()=>f(b.current);return g.addEventListener("reset",y),()=>g.removeEventListener("reset",y)}},[s,f]),i.jsx(ve.button,{type:"button",role:"checkbox","aria-checked":$1(c)?"mixed":c,"aria-required":u,"data-state":m0(c),"data-disabled":l?"":void 0,disabled:l,value:a,...r,ref:C,onKeyDown:ye(t,g=>{g.key==="Enter"&&g.preventDefault()}),onClick:ye(n,g=>{f(y=>$1(y)?!0:!y),m&&h&&(p.current=g.isPropagationStopped(),p.current||g.stopPropagation())})})});c0.displayName=l0;var u0=k.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:s,required:a,disabled:l,value:c,onCheckedChange:u,form:d,...f}=e;return i.jsx(Wy,{__scopeCheckbox:n,checked:o,defaultChecked:s,disabled:l,required:a,onCheckedChange:u,name:r,form:d,value:c,internal_do_not_use_render:({isFormControl:p})=>i.jsxs(i.Fragment,{children:[i.jsx(c0,{...f,ref:t,__scopeCheckbox:n}),p&&i.jsx(h0,{__scopeCheckbox:n})]})})});u0.displayName=es;var d0="CheckboxIndicator",f0=k.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,s=Qa(d0,n);return i.jsx(Mt,{present:r||$1(s.checked)||s.checked===!0,children:i.jsx(ve.span,{"data-state":m0(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});f0.displayName=d0;var p0="CheckboxBubbleInput",h0=k.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:a,required:l,disabled:c,name:u,value:d,form:f,bubbleInput:p,setBubbleInput:h}=Qa(p0,e),m=Te(n,h),C=Ro(s),b=No(r);k.useEffect(()=>{const y=p;if(!y)return;const w=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(w,"checked").set,j=!o.current;if(C!==s&&S){const E=new Event("click",{bubbles:j});y.indeterminate=$1(s),S.call(y,$1(s)?!1:s),y.dispatchEvent(E)}},[p,C,s,o]);const g=k.useRef($1(s)?!1:s);return i.jsx(ve.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a!=null?a:g.current,required:l,disabled:c,name:u,value:d,form:f,...t,tabIndex:-1,ref:m,style:{...t.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});h0.displayName=p0;function $y(e){return typeof e=="function"}function $1(e){return e==="indeterminate"}function m0(e){return $1(e)?"indeterminate":e?"checked":"unchecked"}var Ja="rovingFocusGroup.onEntryFocus",Uy={bubbles:!1,cancelable:!0},Tr="RovingFocusGroup",[el,C0,qy]=Y3(Tr),[Yy,ts]=Lt(Tr,[qy]),[Gy,Xy]=Yy(Tr),x0=k.forwardRef((e,t)=>i.jsx(el.Provider,{scope:e.__scopeRovingFocusGroup,children:i.jsx(el.Slot,{scope:e.__scopeRovingFocusGroup,children:i.jsx(Ky,{...e,ref:t})})}));x0.displayName=Tr;var Ky=k.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:s,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,p=k.useRef(null),h=Te(t,p),m=Vo(s),[C,b]=$t({prop:a,defaultProp:l!=null?l:null,onChange:c,caller:Tr}),[g,y]=k.useState(!1),w=D1(u),v=C0(n),S=k.useRef(!1),[j,E]=k.useState(0);return k.useEffect(()=>{const N=p.current;if(N)return N.addEventListener(Ja,w),()=>N.removeEventListener(Ja,w)},[w]),i.jsx(Gy,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:C,onItemFocus:k.useCallback(N=>b(N),[b]),onItemShiftTab:k.useCallback(()=>y(!0),[]),onFocusableItemAdd:k.useCallback(()=>E(N=>N+1),[]),onFocusableItemRemove:k.useCallback(()=>E(N=>N-1),[]),children:i.jsx(ve.div,{tabIndex:g||j===0?-1:0,"data-orientation":r,...f,ref:h,style:{outline:"none",...e.style},onMouseDown:ye(e.onMouseDown,()=>{S.current=!0}),onFocus:ye(e.onFocus,N=>{const O=!S.current;if(N.target===N.currentTarget&&O&&!g){const P=new CustomEvent(Ja,Uy);if(N.currentTarget.dispatchEvent(P),!P.defaultPrevented){const V=v().filter($=>$.focusable),D=V.find($=>$.active),F=V.find($=>$.id===C),B=[D,F,...V].filter(Boolean).map($=>$.ref.current);y0(B,d)}}S.current=!1}),onBlur:ye(e.onBlur,()=>y(!1))})})}),g0="RovingFocusGroupItem",b0=k.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:s,children:a,...l}=e,c=Wt(),u=s||c,d=Xy(g0,n),f=d.currentTabStopId===u,p=C0(n),{onFocusableItemAdd:h,onFocusableItemRemove:m,currentTabStopId:C}=d;return k.useEffect(()=>{if(r)return h(),()=>m()},[r,h,m]),i.jsx(el.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:i.jsx(ve.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...l,ref:t,onMouseDown:ye(e.onMouseDown,b=>{r?d.onItemFocus(u):b.preventDefault()}),onFocus:ye(e.onFocus,()=>d.onItemFocus(u)),onKeyDown:ye(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){d.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const g=ew(b,d.orientation,d.dir);if(g!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let w=p().filter(v=>v.focusable).map(v=>v.ref.current);if(g==="last")w.reverse();else if(g==="prev"||g==="next"){g==="prev"&&w.reverse();const v=w.indexOf(b.currentTarget);w=d.loop?tw(w,v+1):w.slice(v+1)}setTimeout(()=>y0(w))}}),children:typeof a=="function"?a({isCurrentTabStop:f,hasTabStop:C!=null}):a})})});b0.displayName=g0;var Qy={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Jy(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ew(e,t,n){const r=Jy(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Qy[r]}function y0(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function tw(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var w0=x0,v0=b0,tl="Radio",[nw,k0]=Lt(tl),[rw,ns]=nw(tl);function j0(e){const{__scopeRadio:t,checked:n=!1,children:r,disabled:o,form:s,name:a,onCheck:l,required:c,value:u="on",internal_do_not_use_render:d}=e,[f,p]=k.useState(null),[h,m]=k.useState(null),C=k.useRef(!1),b=f?!!s||!!f.closest("form"):!0,g={checked:n,disabled:o,required:c,name:a,form:s,value:u,control:f,setControl:p,hasConsumerStoppedPropagationRef:C,isFormControl:b,bubbleInput:h,setBubbleInput:m,onCheck:()=>l==null?void 0:l()};return i.jsx(rw,{scope:t,...g,children:sw(d)?d(g):r})}var S0="RadioTrigger",nl=k.forwardRef(({__scopeRadio:e,onClick:t,...n},r)=>{const{checked:o,disabled:s,value:a,setControl:l,onCheck:c,hasConsumerStoppedPropagationRef:u,isFormControl:d,bubbleInput:f}=ns(S0,e),p=Te(r,l);return i.jsx(ve.button,{type:"button",role:"radio","aria-checked":o,"data-state":N0(o),"data-disabled":s?"":void 0,disabled:s,value:a,...n,ref:p,onClick:ye(t,h=>{o||c(),f&&d&&(u.current=h.isPropagationStopped(),u.current||h.stopPropagation())})})});nl.displayName=S0;var ow=k.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:o,required:s,disabled:a,value:l,onCheck:c,form:u,...d}=e;return i.jsx(j0,{__scopeRadio:n,checked:o,disabled:a,required:s,onCheck:c,name:r,form:u,value:l,internal_do_not_use_render:({isFormControl:f})=>i.jsxs(i.Fragment,{children:[i.jsx(nl,{...d,ref:t,__scopeRadio:n}),f&&i.jsx(rl,{__scopeRadio:n})]})})});ow.displayName=tl;var L0="RadioIndicator",M0=k.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,s=ns(L0,n);return i.jsx(Mt,{present:r||s.checked,children:i.jsx(ve.span,{"data-state":N0(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});M0.displayName=L0;var E0="RadioBubbleInput",rl=k.forwardRef(({__scopeRadio:e,...t},n)=>{const{control:r,checked:o,required:s,disabled:a,name:l,value:c,form:u,bubbleInput:d,setBubbleInput:f,hasConsumerStoppedPropagationRef:p}=ns(E0,e),h=Te(n,f),m=Ro(o),C=No(r);k.useEffect(()=>{const g=d;if(!g)return;const y=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(y,"checked").set,S=!p.current;if(m!==o&&v){const j=new Event("click",{bubbles:S});v.call(g,o),g.dispatchEvent(j)}},[d,m,o,p]);const b=k.useRef(o);return i.jsx(ve.input,{type:"radio","aria-hidden":!0,defaultChecked:b.current,required:s,disabled:a,name:l,value:c,form:u,...t,tabIndex:-1,ref:h,style:{...t.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});rl.displayName=E0;function sw(e){return typeof e=="function"}function N0(e){return e?"checked":"unchecked"}var iw=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],rs="RadioGroup",[aw]=Lt(rs,[ts,k0]),F0=ts(),os=k0(),[lw,cw]=aw(rs),T0=k.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:s,required:a=!1,disabled:l=!1,orientation:c,dir:u,loop:d=!0,onValueChange:f,...p}=e,h=F0(n),m=Vo(u),[C,b]=$t({prop:s,defaultProp:o!=null?o:null,onChange:f,caller:rs});return i.jsx(lw,{scope:n,name:r,required:a,disabled:l,value:C,onValueChange:b,children:i.jsx(w0,{asChild:!0,...h,orientation:c,dir:m,loop:d,children:i.jsx(ve.div,{role:"radiogroup","aria-required":a,"aria-orientation":c,"data-disabled":l?"":void 0,dir:m,...p,ref:t})})})});T0.displayName=rs;var uw="RadioGroupItem",dw="RadioGroupItemProvider",_0="RadioGroupItemTrigger",fw="RadioGroupItemBubbleInput";function pw(e){const{__scopeRadioGroup:t,value:n,disabled:r,children:o,internal_do_not_use_render:s}=e,a=cw(dw,t),l=os(t),c=a.disabled||r;return i.jsx(j0,{...l,checked:a.value===n,disabled:c,required:a.required,name:a.name,value:n,onCheck:()=>a.onValueChange(n),internal_do_not_use_render:s,children:o})}var A0=k.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=F0(n),s=os(n),{checked:a,disabled:l}=ns(_0,s.__scopeRadio),c=k.useRef(null),u=Te(t,c),d=k.useRef(!1);return k.useEffect(()=>{const f=h=>{iw.includes(h.key)&&(d.current=!0)},p=()=>d.current=!1;return document.addEventListener("keydown",f),document.addEventListener("keyup",p),()=>{document.removeEventListener("keydown",f),document.removeEventListener("keyup",p)}},[]),i.jsx(v0,{asChild:!0,...o,focusable:!l,active:a,children:i.jsx(nl,{...s,...r,ref:u,onKeyDown:ye(r.onKeyDown,f=>{f.key==="Enter"&&f.preventDefault()}),onFocus:ye(r.onFocus,()=>{var f;d.current&&((f=c.current)==null||f.click())})})})});A0.displayName=_0;var D0=k.forwardRef((e,t)=>{const{__scopeRadioGroup:n,value:r,disabled:o,...s}=e;return i.jsx(pw,{__scopeRadioGroup:n,value:r,disabled:o,internal_do_not_use_render:({isFormControl:a})=>i.jsxs(i.Fragment,{children:[i.jsx(A0,{...s,ref:t,__scopeRadioGroup:n}),a&&i.jsx(O0,{__scopeRadioGroup:n})]})})});D0.displayName=uw;var O0=k.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=os(n);return i.jsx(rl,{...o,...r,ref:t})});O0.displayName=fw;var hw="RadioGroupIndicator",mw=k.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=os(n);return i.jsx(M0,{...o,...r,ref:t})});mw.displayName=hw;var ss="Switch",[Cw]=Lt(ss),[xw,ol]=Cw(ss);function gw(e){const{__scopeSwitch:t,checked:n,children:r,defaultChecked:o,disabled:s,form:a,name:l,onCheckedChange:c,required:u,value:d="on",internal_do_not_use_render:f}=e,[p,h]=$t({prop:n,defaultProp:o!=null?o:!1,onChange:c,caller:ss}),[m,C]=k.useState(null),[b,g]=k.useState(null),y=k.useRef(!1),w=m?!!a||!!m.closest("form"):!0,v={checked:p,setChecked:h,disabled:s,control:m,setControl:C,name:l,form:a,value:d,hasConsumerStoppedPropagationRef:y,required:u,defaultChecked:o,isFormControl:w,bubbleInput:b,setBubbleInput:g};return i.jsx(xw,{scope:t,...v,children:bw(f)?f(v):r})}var P0="SwitchTrigger",I0=k.forwardRef(({__scopeSwitch:e,onClick:t,...n},r)=>{const{value:o,disabled:s,checked:a,required:l,setControl:c,setChecked:u,hasConsumerStoppedPropagationRef:d,isFormControl:f,bubbleInput:p}=ol(P0,e),h=Te(r,c);return i.jsx(ve.button,{type:"button",role:"switch","aria-checked":a,"aria-required":l,"data-state":Z0(a),"data-disabled":s?"":void 0,disabled:s,value:o,...n,ref:h,onClick:ye(t,m=>{u(C=>!C),p&&f&&(d.current=m.isPropagationStopped(),d.current||m.stopPropagation())})})});I0.displayName=P0;var H0=k.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:s,required:a,disabled:l,value:c,onCheckedChange:u,form:d,...f}=e;return i.jsx(gw,{__scopeSwitch:n,checked:o,defaultChecked:s,disabled:l,required:a,onCheckedChange:u,name:r,form:d,value:c,internal_do_not_use_render:({isFormControl:p})=>i.jsxs(i.Fragment,{children:[i.jsx(I0,{...f,ref:t,__scopeSwitch:n}),p&&i.jsx(z0,{__scopeSwitch:n})]})})});H0.displayName=ss;var V0="SwitchThumb",R0=k.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=ol(V0,n);return i.jsx(ve.span,{"data-state":Z0(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});R0.displayName=V0;var B0="SwitchBubbleInput",z0=k.forwardRef(({__scopeSwitch:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:a,required:l,disabled:c,name:u,value:d,form:f,bubbleInput:p,setBubbleInput:h}=ol(B0,e),m=Te(n,h),C=Ro(s),b=No(r);k.useEffect(()=>{const y=p;if(!y)return;const w=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(w,"checked").set,j=!o.current;if(C!==s&&S){const E=new Event("click",{bubbles:j});S.call(y,s),y.dispatchEvent(E)}},[p,C,s,o]);const g=k.useRef(s);return i.jsx(ve.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a!=null?a:g.current,required:l,disabled:c,name:u,value:d,form:f,...t,tabIndex:-1,ref:m,style:{...t.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});z0.displayName=B0;function bw(e){return typeof e=="function"}function Z0(e){return e?"checked":"unchecked"}var is="Tabs",[yw]=Lt(is,[ts]),W0=ts(),[ww,sl]=yw(is),$0=k.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:s,orientation:a="horizontal",dir:l,activationMode:c="automatic",...u}=e,d=Vo(l),[f,p]=$t({prop:r,onChange:o,defaultProp:s!=null?s:"",caller:is});return i.jsx(ww,{scope:n,baseId:Wt(),value:f,onValueChange:p,orientation:a,dir:d,activationMode:c,children:i.jsx(ve.div,{dir:d,"data-orientation":a,...u,ref:t})})});$0.displayName=is;var U0="TabsList",q0=k.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,s=sl(U0,n),a=W0(n);return i.jsx(w0,{asChild:!0,...a,orientation:s.orientation,dir:s.dir,loop:r,children:i.jsx(ve.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});q0.displayName=U0;var Y0="TabsTrigger",G0=k.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...s}=e,a=sl(Y0,n),l=W0(n),c=Q0(a.baseId,r),u=J0(a.baseId,r),d=r===a.value;return i.jsx(v0,{asChild:!0,...l,focusable:!o,active:d,children:i.jsx(ve.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c,...s,ref:t,onMouseDown:ye(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?a.onValueChange(r):f.preventDefault()}),onKeyDown:ye(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&a.onValueChange(r)}),onFocus:ye(e.onFocus,()=>{const f=a.activationMode!=="manual";!d&&!o&&f&&a.onValueChange(r)})})})});G0.displayName=Y0;var X0="TabsContent",K0=k.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:s,...a}=e,l=sl(X0,n),c=Q0(l.baseId,r),u=J0(l.baseId,r),d=r===l.value,f=k.useRef(d);return k.useEffect(()=>{const p=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(p)},[]),i.jsx(Mt,{present:o||d,children:({present:p})=>i.jsx(ve.div,{"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":c,hidden:!p,id:u,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:p&&s})})});K0.displayName=X0;function Q0(e,t){return`${e}-trigger-${t}`}function J0(e,t){return`${e}-content-${t}`}var vw=$0,ec=q0,tc=G0,nc=K0;function kw({className:e,size:t="default",...n}){return i.jsx(H0,{"data-slot":"switch","data-size":t,className:T("peer group/switch inline-flex shrink-0 items-center rounded-full transition-colors outline-none focus-visible:ring-[3px] focus-visible:ring-[#4ACC8C]/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[20px] data-[size=default]:w-[40px] data-[size=sm]:h-[14px] data-[size=sm]:w-[28px] data-[state=checked]:bg-[#4ACC8C] data-[state=unchecked]:bg-[#ccc]",e),...n,children:i.jsx(R0,{"data-slot":"switch-thumb",className:T("pointer-events-none block rounded-full bg-white transition-transform group-data-[size=default]/switch:size-[16px] group-data-[size=sm]/switch:size-[10px] data-[state=checked]:translate-x-[22px] data-[state=unchecked]:translate-x-[2px]")})})}const jw={submit:"提交数据",edit:"编辑数据",delete:"删除数据",init:"表单初始化",edit_init:"表单编辑初始化"},Sw={flow_end:"流程结束",flow_node:"流程节点"};function Lw(e,t){var c,u,d,f,p;const[n,r]=x.useState(void 0),o=async(h,m)=>{const C=await(t==null?void 0:t.getEntry({appId:h,entryId:m}));r(C)};x.useEffect(()=>{!e.appId||!e.formId||o(e.appId,e.formId)},[e.appId,e.formId]);const s=n?n.name:e.formId,l=(d=x.useMemo(()=>{var m,C,b,g;const h={};for(const y of(C=(m=n==null?void 0:n.content)==null?void 0:m.items)!=null?C:[]){const w=(g=(b=y.widget)==null?void 0:b.widgetName)!=null?g:"";w&&(h[w]=y.label)}return h},[(c=n==null?void 0:n.content)==null?void 0:c.items])[(u=e.triggerFieldWidgetName)!=null?u:""])!=null?d:e.triggerFieldWidgetName;switch(e.triggerType){case"form_action":{const h=((f=e.formActionTriggerType)==null?void 0:f.map(m=>jw[m]||m).join("/"))||"";return h?`${s}
|
|
159
|
-
${h}`:s}case"form_flow_node":{const h=((p=e.flowNodeTriggerType)==null?void 0:p.map(m=>Sw[m]||m).join("/"))||"";return h?`${s}
|
|
160
|
-
${h}`:s}case"form_field":return e.triggerFieldWidgetName?`${s} / ${l}`:s;case"universal":return"开箱即用,无需触发";case"scheduler":return"按计划时间触发";default:return""}}function Mw(e,t){if(!(!e&&!t))return{id:"",name:e||"",icon:t||""}}const rc=({helper:e,agentName:t,agentIcon:n,className:r,onEnabledChange:o,onViewLogs:s,onEdit:a,onCopy:l,onDelete:c,formService:u})=>{const d=Lw(e,u),f=Mw(t,n);return i.jsxs("div",{className:T("bg-white border border-[#e0e0e0] border-solid content-stretch flex flex-col items-start rounded-[10px] w-full group min-w-[335px]",r),children:[i.jsxs("div",{className:"grid-rows-[max-content] inline-grid leading-[0] place-items-start shrink-0 w-full",children:[i.jsxs("div",{className:"col-1 content-stretch flex h-[42px] items-center justify-between ml-0 mt-0 px-[12px] row-1 w-full",children:[i.jsxs("div",{className:"content-stretch flex gap-[6px] items-center shrink-0 min-w-0",children:[i.jsx(Py,{triggerType:e.triggerType,size:18}),i.jsx("p",{className:"leading-[normal] shrink-0 text-[#030303] text-[14px] truncate",children:e.helperName})]}),i.jsxs("div",{className:"content-stretch flex gap-[10px] items-center opacity-0 group-hover:opacity-100 transition-opacity shrink-0",children:[a&&i.jsx(Vt,{icon:i.jsx(dr,{}),rounded:!0,onClick:a}),l&&i.jsx(Vt,{icon:i.jsx(x3,{}),rounded:!0,onClick:l}),c&&i.jsx(Vt,{icon:i.jsx(Do,{}),rounded:!0,onClick:c})]})]}),i.jsx("div",{className:"col-1 h-0 ml-0 mt-[42px] row-1 w-full border-b border-[#e0e0e0]"})]}),i.jsxs("div",{className:"content-stretch flex flex-col h-[172px] items-start justify-between p-[12px] shrink-0 w-full",children:[i.jsxs("div",{className:"content-stretch flex flex-col gap-[6px] items-start shrink-0 text-[14px] w-full",children:[i.jsx("p",{className:"min-w-full shrink-0 text-[#666] w-[min-content]",children:"触发:"}),d.split(`
|
|
161
|
-
`).map((p,h)=>i.jsx("p",{className:"shrink-0 text-[#030303] whitespace-nowrap overflow-hidden text-ellipsis max-w-full",children:p},h))]}),f&&i.jsx(r0,{agent:f})]}),i.jsxs("div",{className:"grid-rows-[max-content] inline-grid leading-[0] place-items-start shrink-0 w-full",children:[i.jsx("div",{className:"col-1 h-0 ml-0 mt-0 row-1 w-full border-t border-[#e0e0e0]"}),i.jsxs("div",{className:"col-1 content-stretch flex h-[42px] items-center justify-between ml-0 mt-0 px-[12px] row-1 w-full",children:[i.jsx(kw,{checked:e.enabled,onCheckedChange:o}),s&&i.jsx("button",{className:"leading-[normal] shrink-0 text-[#0265ff] text-[12px] whitespace-nowrap hover:underline",onClick:s,children:"查看执行日志"})]})]})]})},Ew=({items:e,className:t,getAgentName:n,getAgentIcon:r,onEnabledChange:o,onViewLogs:s,onEdit:a,onCopy:l,onDelete:c,formService:u})=>i.jsx("div",{className:T("content-start flex flex-wrap gap-[20px] items-start",t),children:e.map(d=>i.jsx(rc,{formService:u,helper:d,agentName:n==null?void 0:n(d.agentId),agentIcon:r==null?void 0:r(d.agentId),className:"w-[335px] shrink-0",onEnabledChange:o?f=>o(d.id,f):void 0,onViewLogs:s?()=>s(d.id):void 0,onEdit:a?()=>a(d.id):void 0,onCopy:l?()=>l(d.id):void 0,onDelete:c?()=>c(d.id):void 0},d.id))}),Nw=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M8 3.333v9.334M3.333 8h9.334",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round"})}),Fw=({description:e,detailAddress:t,btnLabel:n="新建智能体助手",onCreateClick:r,className:o})=>i.jsxs("div",{className:T("content-stretch flex flex-col items-center justify-center py-[40px] px-[20px] w-full",o),children:[i.jsx(d3,{}),i.jsxs("div",{className:"mt-[16px] text-center text-[#999] text-[14px] leading-[normal]",children:[i.jsx("p",{className:"mb-0",children:e}),t?i.jsx("p",{children:i.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"text-[#0265ff] underline [text-decoration-skip-ink:none] decoration-solid",children:"了解详情"})}):null]}),i.jsxs("button",{onClick:r,className:"mt-[12px] bg-[#0265ff] content-stretch flex gap-[6px] items-center pl-[16px] pr-[20px] py-[7px] rounded-[4px] cursor-pointer border-none",children:[i.jsx(Nw,{}),i.jsx("span",{className:"text-[14px] text-white whitespace-nowrap leading-[normal]",children:n})]})]}),Tw=({agent:e,className:t,onSelect:n,onLogClick:r})=>i.jsx("div",{className:T("bg-white border border-[#e0e0e0] border-solid content-stretch flex flex-col items-start p-[16px] rounded-[10px] w-full drop-shadow-[0px_0px_5px_rgba(0,0,0,0.04)] hover:drop-shadow-[0px_0px_8px_rgba(0,0,0,0.1)]",re,t),onClick:n,children:i.jsxs("div",{className:"content-stretch flex flex-col gap-[12px] items-start w-full",children:[i.jsxs("div",{className:"content-stretch flex items-center justify-between w-full",children:[i.jsxs("div",{className:"content-stretch flex gap-[10px] items-center min-w-0",children:[i.jsx("img",{alt:e.name,className:"rounded-[10px] shrink-0 size-[40px] object-cover",src:e.icon}),i.jsx("p",{className:"font-bold leading-[normal] overflow-hidden shrink-0 text-[#030303] text-[18px] text-ellipsis whitespace-nowrap",children:e.name}),e.installCount!=null&&e.installCount>0&&i.jsx("div",{className:"bg-[#f5f7fa] content-stretch flex h-[26px] items-center justify-center px-[6px] py-[10px] rounded-[100px] shrink-0",children:i.jsxs("p",{className:"leading-[normal] shrink-0 text-[#4d609f] text-[12px] whitespace-nowrap",children:["安装次数:",e.installCount.toLocaleString()]})})]}),i.jsxs("div",{className:"content-stretch flex gap-[10px] items-center shrink-0",children:[e.version&&i.jsxs(i.Fragment,{children:[i.jsxs("p",{className:"leading-[normal] shrink-0 text-[#999] text-[12px] whitespace-nowrap",children:["版本:",e.version]}),i.jsx("div",{className:"h-[14px] shrink-0 w-[1px] bg-[#e0e0e0]"})]}),!!e.lastUpdated&&i.jsxs(i.Fragment,{children:[i.jsx("p",{className:"leading-[normal] shrink-0 text-[#999] text-[12px] whitespace-nowrap",children:e.lastUpdated}),i.jsx("div",{className:"h-[14px] shrink-0 w-[1px] bg-[#e0e0e0]"})]}),i.jsx("button",{className:"bg-[#eff0f6] content-stretch flex flex-col h-[30px] items-center justify-center px-[16px] py-[7px] rounded-[4px] shrink-0 cursor-pointer border-none hover:bg-[#f0f6ff] group/select",onClick:n,children:i.jsx("span",{className:"leading-[normal] shrink-0 text-[#030303] text-[14px] whitespace-nowrap group-hover/select:text-[#0265ff]",children:"选择"})})]})]}),e.description&&i.jsx("p",{className:"leading-[normal] shrink-0 text-[#666] text-[14px] w-full line-clamp-2",children:e.description})]})}),_w=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M6.5 8.5C7.05228 8.5 7.5 8.94772 7.5 9.5V14C7.5 14.5177 7.10667 14.9438 6.60254 14.9951L6.5 15H2L1.89746 14.9951C1.42703 14.9472 1.05278 14.573 1.00488 14.1025L1 14V9.5C1 8.94772 1.44772 8.5 2 8.5H6.5ZM14 8.5C14.5523 8.5 15 8.94772 15 9.5V14C15 14.5177 14.6067 14.9438 14.1025 14.9951L14 15H9.5L9.39746 14.9951C8.92703 14.9472 8.55278 14.573 8.50488 14.1025L8.5 14V9.5C8.5 8.94772 8.94772 8.5 9.5 8.5H14ZM9.5 14H14V9.5H9.5V14ZM2 14H6.5V9.5H2V14ZM6.5 1C7.05228 1 7.5 1.44772 7.5 2V6.5C7.5 7.01768 7.10667 7.44379 6.60254 7.49512L6.5 7.5H2L1.89746 7.49512C1.42703 7.44722 1.05278 7.07297 1.00488 6.60254L1 6.5V2C1 1.44772 1.44772 1 2 1H6.5ZM14 1C14.5523 1 15 1.44772 15 2V6.5C15 7.01768 14.6067 7.44379 14.1025 7.49512L14 7.5H9.5L9.39746 7.49512C8.92703 7.44722 8.55278 7.07297 8.50488 6.60254L8.5 6.5V2C8.5 1.44772 8.94772 1 9.5 1H14ZM2 6.5H6.5V2H2V6.5ZM9.5 6.5H14V2H9.5V6.5Z",fill:"#666666"})}),Aw=[{id:"all-agent",label:"全部"},{id:"system-agent",label:"系统智能体",icon:i.jsx(_w,{})},{id:"custom-agent",label:"自定义智能体",icon:i.jsx(dr,{})}],Dw=({value:e,onChange:t,className:n})=>i.jsx("div",{className:T("flex flex-col",n),children:Aw.map(r=>{const o=e===r.id;return i.jsxs("button",{type:"button",onClick:()=>t==null?void 0:t(r.id),className:T("flex items-center gap-[6px] w-full h-[34px] px-[10px] rounded-[4px] text-left",o?"bg-[#EFF0F6]":"hover:bg-[#EFF0F6]",re),children:[r.icon&&i.jsx("span",{className:"shrink-0 size-[16px] flex items-center justify-center text-[#666666]",children:r.icon}),i.jsx("span",{className:T("text-[14px] text-[#030303] leading-[normal] whitespace-nowrap",o?"font-bold":"font-normal"),children:r.label})]},r.id)})}),U1=e=>{const[t,n]=x.useState(null),r=x.useCallback(o=>{if(!o){n(null);return}const s=o.getRootNode();if(s instanceof ShadowRoot){const a=s.querySelector(`[${e}]`);if(a){n(a);return}const l=document.createElement("div");l.setAttribute(e,"true"),s.appendChild(l),n(l)}else n(null)},[]);return{portalContainer:t,setTriggerRef:r}},wt={eq:"等于",neq:"不等于",gt:"大于",lt:"小于",gte:"大于等于",lte:"小于等于",contains:"包含",not_contains:"不包含",in:"等于任意",nin:"不等于任意",all:"包含所有",empty:"为空",not_empty:"不为空",range:"范围"},Ow={text:["eq","neq","in","nin","contains","not_contains","empty","not_empty"],password:["eq","neq","contains","not_contains","empty","not_empty"],radiogroup:["eq","neq","in","nin","empty","not_empty"],radio:["eq","neq","empty","not_empty"],combo:["eq","neq","in","nin","empty","not_empty"],sn:["eq","neq","in","nin","contains","not_contains","empty","not_empty"],textarea:["contains","not_contains","empty","not_empty"],number:["eq","neq","gt","gte","lt","lte","range","empty","not_empty"],datetime:["eq","neq","gte","lte","range","empty","not_empty"],checkboxgroup:["in","all","eq","empty","not_empty"],combocheck:["in","all","eq","empty","not_empty"],user:["eq","neq","in","nin","empty","not_empty"],dept:["eq","neq","in","nin","empty","not_empty"],usergroup:["in","all","eq","empty","not_empty"],deptgroup:["in","all","eq","empty","not_empty"],address:["in","nin","empty","not_empty"],location:["in","nin","empty","not_empty"],upload:["empty","not_empty"],image:["empty","not_empty"],signature:["empty","not_empty"],flowState:["eq","neq","empty"],flowstate:["eq","neq","empty"],linkdata:["eq","neq","in","nin","empty","not_empty"],linkquery:["eq","neq","in","nin","empty","not_empty"],dataload:["eq","neq","in","nin","empty","not_empty"],formula:["eq","neq","empty","not_empty"],separator:[],button:[],subform:[],unknown:[]},Pw={text:"eq",password:"eq",radiogroup:"eq",radio:"eq",combo:"eq",sn:"eq",textarea:"contains",number:"range",datetime:"range",checkboxgroup:"all",combocheck:"all",user:"eq",dept:"eq",usergroup:"all",deptgroup:"all",address:"all",location:"all",upload:"not_empty",image:"not_empty",signature:"not_empty",flowState:"eq",flowstate:"eq",linkdata:"eq",linkquery:"eq",dataload:"eq",formula:"eq"};function Iw(e){var t;return e?(t=Ow[e])!=null?t:[]:[]}function oc(e){var t;return e&&(t=Pw[e])!=null?t:"eq"}function Hw(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Vw={eq:"eq",neq:"ne",gt:"gt",gte:"gte",lt:"lt",lte:"lte",contains:"like",not_contains:"unlike",in:"in",nin:"nin",all:"all",empty:"empty",not_empty:"not_empty",range:"range"},Rw={eq:"eq",ne:"neq",gt:"gt",gte:"gte",lt:"lt",lte:"lte",like:"contains",unlike:"not_contains",in:"in",nin:"nin",all:"all",empty:"empty",not_empty:"not_empty",range:"range"};function sc(e){const t=e.quantifier==="any"?"or":"and",n=e.items.map(r=>{var o,s,a,l,c,u;const d=(o=Vw[r.operator])!=null?o:"eq";let f;return r.operator==="range"&&Hw(r.value)?f=[r.value.min,r.value.max]:Array.isArray(r.value)?f=r.value:f=[r.value],{field:(l=(a=(s=r.field)==null?void 0:s.widget)==null?void 0:a.widgetName)!=null?l:"",method:d,value:f,type:(u=(c=r.field)==null?void 0:c.widget)==null?void 0:u.type}});return JSON.stringify({rel:t,cond:n})}function Bw(e){const t=JSON.parse(e),n=t.rel==="or"?"any":"all",r=t.cond.map((o,s)=>{var a,l;const c=(a=Rw[o.method])!=null?a:"eq";let u=o.value;return c==="range"?u={min:o.value[0],max:o.value[1]}:["eq","neq","contains","not_contains","gt","gte","lt","lte"].includes(c)&&(u=o.value[0]),{id:`${o.field}_${s}`,field:{label:o.field,widget:{widgetName:o.field,type:(l=o.type)!=null?l:"unknown",value:void 0}},operator:c,value:u}});return{targetName:"",quantifier:n,items:r}}const zw={projectdevelopment:"e914",resourcelibrary:"e915",Plugin2:"e90e",Plugin:"e90f",JSON:"e910",Dropdown:"e911",Batchprocessing:"e912","Image-text":"e916",Newaddition:"e917",reportforms:"e918",AddFola:"e919",delete:"e91a",AddImage:"e91b",Send:"e91c",text:"e91d",image:"e91e",Star1:"e91f",Ellipse:"e920","Ellipse-Copy":"e921",Shape:"e922","Shape-Copy":"e923","right-line":"e924","right-arrow":"e925","double-right-arrow":"e926",ellipse:"e927",Rectangle:"e928","Rectangle-Copy":"e929","Rectangle-Copy-2":"e92a",CombinedShape:"e92b",Line:"e92c",time:"e92d",calendar:"e92e",richsinglelinetext:"e92f",singlelinetext:"e930",multilinetext:"e931",number:"e932",RichText:"e933",image1:"e934",Attachment:"e935",Phone:"e936",Email:"e937",date:"e938","Multiple-choice":"e939",Checkbox:"e93a","Drop-down":"e93b",positioning:"e93c",Description:"e93d",AutoNumber:"e93e",Address:"e93f",Staff:"e940",Department:"e941",Switch:"e942",Slider:"e943",Currentdate:"e944",Grade:"e945",Barcode:"e946",Subtable:"e947",associatedtable:"e948",Associatedapplication:"e949",Referencefield:"e94a",Uppercasing:"e94b",nodata:"e94c","X-mark":"e94d",Copy:"e94e",Correct:"e94f",Save:"e950",Printer:"e951",search:"e952",filter:"e953",Export:"e954",Import:"e955",Customprint:"e956",refresh:"e957",Helpcenter:"e958",Tutorial:"e959",Release:"e95a",more:"e95b",Setup:"e95c",sort:"e95d",Back:"e95e",show:"e95f",hide:"e960",Preview:"e961",Click:"e962",Allcheck:"e963",Cancelcheck:"e964",Likespot:"e965",Favoritespot:"e966",Followspot:"e967",Commentspot:"e968",At:"e969",Pin:"e96a",edit:"e96b",Top:"e96c",Movein:"e96d",Moveout:"e96e",Forward:"e96f",Revoke:"e970",Return:"e971",Link:"e972",Unlink:"e973",Download:"e974",Upload:"e975",Download2:"e976",Upload2:"e977",Comment:"e978",Remind:"e979",Notice:"e97a",Permission:"e97b",SMS:"e97c",QRcode:"e97d",Website:"e97e",Monitoring:"e97f",Api:"e980",Webhook:"e981",Synchronous:"e982",Automation:"e983",Trigger:"e984",Condition:"e985",Success:"e986",Failure:"e987",countdown:"e988",Waiting:"e989",Flow:"e98a",Connection:"e98b",Dashboard:"e98c",chart:"e98d",Piechart:"e98e",BarChart:"e98f",DoubleBarChart:"e991",StackedBarChart:"e992",PercentageStackedBarChart:"e993",LineChart:"e994",areachart:"e990",combinationchart:"e995",Scatterplot:"e996",FunnelChart:"e997",wordcloud:"e998",RadarChart:"e999",PivotTable:"e99a",NumberChart:"e99b",map:"e99c",Timeline:"e99d",Album:"e99e",Kanban:"e99f",Ganttchart:"e9a0",Circle:"e9a8",linesurface:"e9a1",IconStyle:"e9a2",Backgroundcolor:"e9a3",DeleteDe:"e9a4",AlignLeft:"e9a5",AlignCenter:"e9a6",AlignRight:"e9a7",Column:"e9a9",Component:"e9aa",Customcomponent:"e9ab",Title:"e9ac",RichText1:"e9ad",Carousel:"e9ae",PageTab:"e9af",Buriedpoint:"e9b0",Container:"e9b1",QuickStart:"e9b2",Group:"e9b3",Ungroup:"e9b4",Front:"e9b5",Back1:"e9b6",Lock:"e9b7",Unlock:"e9b8",Association:"e9b9",CancelAssociation:"e9ba",Quotation:"e9bb",ViewSet:"e9bc",AutoScale:"e9bd",waterfall:"e9be",watermark:"e9bf",history:"e9c0",Setting:"e9c1",Draftbox:"e9c2",SQL:"e9c3",Workflow:"e9c4",Workflow2:"e9c5",Addone:"e9c6",Formula:"e9c7",Dictionary:"e9c8",statistical:"e9c9",Recycle:"e9ca",Mistake:"e9cb",Tag:"e9cc",Pendingapproval:"e9cd",MyApplication:"e9ce",ApplicationApproval:"e9cf",Initiatedbyme:"e9d0",Copiedtome:"e9d1",Approvalnode:"e9d2",Fillnode:"e9d3",cc:"e9d4",Image1:"e9d5",Open:"e9d6",Color:"e9d7",Right:"e9d8",Backward:"e9d9",dataanalysis:"e9da",Filter2:"e9db",Freefilter:"e9dc",Conditionfilter:"e9dd",Quickfilter:"e9de",Export1:"e9df",Attachmentpreview:"e9e0",BulkEdit:"e9e1",Calculationrows:"e9e2",SingleSelect:"e9e3",dataview:"e9e4",Dataid:"e9e5",Divide:"e9e6",Progress:"e9e7",Star:"e9e8",Contacts:"e9e9",Activity:"e9ea",Minus:"e9eb",Plussign:"e9ec","Plussign-Copy":"e9ed",Increased:"e9ee",Decline:"e9ef",indeterminate:"e9f0",Decline1:"e9f1",personal:"e9f2",Warning:"e9f3",Warning2:"e9f4",Prompt:"e9f5",info:"e9f6",Cancel:"e9f7",question1:"e9f8",Question:"e9f9",exclamation:"e9fa",Warning1:"e9fb",True:"e9fc",Suspended:"e9fd",Suspended1:"e9fe",Suspended2:"e9ff",Error:"ea00",CombinedShape2:"ea01",Delete1:"ea02",Circle1:"ea03",Decline2:"ea04",Decline3:"ea05",add:"ea06",Addto:"ea07",Reduce:"ea08",Subtract:"ea09",Addition:"ea0a",Multiplication:"ea0b",Division:"ea0c",Bracket:"ea0d",Reduce1:"ea0e",Search:"ea0f",Favorites:"ea10",Annotation:"ea11",Application:"ea12",Application2:"ea13",Applicationsview:"ea14",Publish:"ea15",Deploy:"ea16",Sidetoplowerside:"ea17",Narrow:"ea18",Backtothenavigation:"ea19",Forwardtothenavigation:"ea1a",Return1:"ea1b",Transfer:"ea1c",Log:"ea1d",table:"ea1e",Form:"ea1f",Openfield:"ea20",Closefield:"ea21",Receive:"ea22",Fill:"ea23",Fill1:"ea24",fillet:"ea25",rightangle:"ea26",round:"ea27",Send1:"ea28",Map:"ea29",Upward:"ea2a",Move:"ea2b",Downward:"ea2c",drag:"ea2d",TextIcon:"ea2e",Narrow1:"ea2f",Enlarge:"ea30",Enlarge2:"ea31",Cancel1:"ea32",Retract:"ea33",Expand:"ea34",Retract1:"ea35",Expand1:"ea36",Retract2:"ea37",Expand2:"ea38",Switch1:"ea39",Fullscreen:"ea3a",Offscreen:"ea3b",Notvisible:"ea3c",Visible:"ea3d",Adjust:"ea3e",PC:"ea3f",Mobile:"ea40",Pad:"ea41",Scanthecode:"ea42",Scan:"ea43",Screenshot:"ea44",Rotation:"ea45",voice:"ea46",Video:"ea47",Location:"ea48",Clock:"ea49",Print:"ea4a",Member:"ea4b",WorkWeChat:"ea4c",DingTalk:"ea4d",EnterpriseWeChat2:"ea4e",Groupmanagement:"ea4f",Feishu:"ea50",Stationletter:"ea51",Email1:"ea52",WeChat:"ea53",ServiceAccount:"ea54",Subscribed:"ea55",Dingtalk:"ea56",Information:"ea57",Assistant:"ea58",ai:"ea59",Inquireabout:"ea5a",IFrame:"ea5b",Integratio:"ea5c",close:"ea5d",Close:"ea5e",Addgroup:"ea5f",deletegroup:"ea60",Relateddata:"ea61",Enlarge1:"ea62",Narrow2:"ea63","map-search":"ea64",Corner:"ea65",text1:"ea66",Onlinemap:"ea67",Maptile:"ea68",Dataexport:"ea69",Word:"ea6a",Excel:"ea6b",PPT:"ea6c",PDF:"ea6d",Video1:"ea6e",Audio:"ea6f",Txt:"ea70",Zip:"ea71",file:"ea72",richtext:"ea73",Onlinemap1:"ea74",Maptile1:"ea75",Ai2:"ea76",Guide:"ea77",Button:"ea78",Menus:"ea79","richtext-Copy":"ea7a","richtext-Copy-2":"ea7b","richtext-Copy-3":"ea7c","richtext-Copy-4":"ea7d",Split:"ea7e",AI:"ea7f",Form1:"ea80",Fields:"ea81",Project:"ea82",More1:"ea83",Notstarted:"ea84",Inprocess:"ea85",Completed:"ea86",Completed1:"ea87",More2:"ea88",AIoffice:"ea89",statistics:"ea8a",Expand3:"ea8b",list:"ea8c","list-Copy":"ea8d",Grid:"ea8e",Calendar:"ea8f",Schedule:"ea90",tableview:"ea91",Gallery:"ea92",Copy1:"ea93",Mailbox:"ea94",Automation1:"ea95",Avatar:"ea96"};function Zw(e){const t=zw[e];return t?`&#x${t};`:void 0}function Ww(e){const n=e>=25?"-new":"";return`node-icon icon-bsy-form${n} icon${n}-bsy-form-${e}`}const $w=({name:e})=>i.jsx("div",{className:"imgbg-bsy-app imgbg-bsy-app-"+e}),as=({code:e,name:t,className:n,style:r,color:o})=>{if(!e&&!t)return null;if(e)return i.jsx("i",{className:`sdk-icon ${n||""}`,style:{...r,color:o},dangerouslySetInnerHTML:{__html:e}});const s=e||Zw((t==null?void 0:t.toString())||"");return s?i.jsx("i",{className:`sdk-icon ${n||""}`,style:{...r,color:o},dangerouslySetInnerHTML:{__html:s}}):i.jsx("i",{className:Ww(t),style:{fontSize:16,lineHeight:1}})},ic=[{id:"newest",label:"最新"},{id:"oldest",label:"最早"}],Uw=({value:e="newest",onChange:t,className:n})=>{var c,u;const[r,o]=x.useState(!1),s=(u=(c=ic.find(d=>d.id===e))==null?void 0:c.label)!=null?u:"最新",{portalContainer:a,setTriggerRef:l}=U1("data-bs-weekdays-select-portal");return i.jsxs(ct,{open:r,onOpenChange:o,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{type:"button",ref:l,className:T("flex items-center gap-[6px] px-[10px] h-[34px] rounded-[4px] bg-transparent","text-[14px] text-[#030303] leading-[normal] whitespace-nowrap","hover:bg-[#EFF0F6]",r&&"bg-[#EFF0F6]",re,n),children:[i.jsx(as,{code:"",className:"text-[16px]"}),i.jsx("span",{children:s})]})}),i.jsx(nt,{align:"start",sideOffset:4,className:"w-auto min-w-[100px] rounded-[4px] bg-white p-[4px] shadow-[0px_0px_8px_rgba(0,0,0,0.1)]",portalContainer:a,children:ic.map(d=>{const f=e===d.id;return i.jsxs("button",{type:"button",onClick:()=>{t==null||t(d.id),o(!1)},className:T("flex items-center justify-between w-full h-[34px] px-[10px] rounded-[4px] text-left",f?"bg-[#EFF0F6] text-[#0265FF]":"bg-white text-[#030303] hover:bg-[#EFF0F6]",re),children:[i.jsx("span",{className:"text-[14px] leading-[normal] whitespace-nowrap",children:d.label}),i.jsx(pC,{size:16,className:T("shrink-0",f?"opacity-100":"opacity-0")})]},d.id)})})]})},qw=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:i.jsx("path",{d:"M13.9004 15H2.65039C2.25257 15 1.87104 14.842 1.58973 14.5607C1.30843 14.2794 1.15039 13.8978 1.15039 13.5V4.5C1.15039 4.10218 1.30843 3.72064 1.58973 3.43934C1.87104 3.15804 2.25257 3 2.65039 3H7.15039L8.65039 4.5H13.9004C14.0974 4.5 14.2924 4.5388 14.4744 4.61418C14.6564 4.68956 14.8218 4.80005 14.9611 4.93934C15.1003 5.07863 15.2108 5.24399 15.2862 5.42597C15.3616 5.60796 15.4004 5.80302 15.4004 6H2.65039V13.5L4.25539 7.5H16.0754C16.1927 7.49595 16.3093 7.51947 16.4158 7.56867C16.5223 7.61788 16.6158 7.69139 16.6888 7.78331C16.7617 7.87523 16.8121 7.98298 16.8358 8.0979C16.8595 8.21282 16.856 8.33171 16.8254 8.445L15.3704 13.875C15.2865 14.1999 15.0961 14.4873 14.8296 14.6913C14.5631 14.8952 14.2359 15.0039 13.9004 15Z",fill:"#6F81BD"})}),Yw=()=>i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M3 3L9 9M9 3L3 9",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round"})}),Gw=()=>i.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0",children:[i.jsx("circle",{cx:"2",cy:"6",r:"1",fill:"#999999"}),i.jsx("circle",{cx:"6",cy:"6",r:"1",fill:"#999999"}),i.jsx("circle",{cx:"10",cy:"6",r:"1",fill:"#999999"})]}),ac={0:"pl-[10px]",1:"pl-[32px]",2:"pl-[54px]",3:"pl-[76px]"};function lc(e){var t;return(t=ac[Math.min(e,3)])!=null?t:ac[3]}function Xw(e,t){const n=t.toLowerCase().trim(),r=new Map;for(const u of e){const d=u.parent||"0";r.has(d)||r.set(d,[]),r.get(d).push(u)}const o=new Set(e.map(u=>u.id)),s=new Set(r.keys()),a=Array.from(s).filter(u=>u==="0"||!o.has(u));function l(u,d){var h,m,C,b,g;const f=r.get(u)||[],p=[];for(const y of f){const w=y.itemType==="group",v=l(y.id,d+1),S=!n||((h=y==null?void 0:y.name)==null?void 0:h.toLowerCase().includes(n));w?(S||v.length>0)&&p.push({id:y.id,name:y.name,icon:(m=y.icon)!=null?m:0,type:(C=y.type)!=null?C:"group",itemType:"group",children:v,depth:d,form:y}):S&&p.push({id:y.id,name:y.name,icon:(b=y.icon)!=null?b:0,type:(g=y.type)!=null?g:"form",itemType:"form",children:[],depth:d,form:y})}return p}const c=[];for(const u of a)c.push(...l(u,0));return c}function il(e){const n=e>=25?"-new":"";return`node-icon icon-bsy-form${n} icon${n}-bsy-form-${e}`}function Kw({item:e,depth:t,isSelected:n,onClick:r}){return i.jsx("div",{className:T("flex items-center justify-between h-[34px] px-[10px] cursor-pointer rounded-[4px] shrink-0",lc(t),n?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]",re),onClick:r,children:i.jsxs("span",{className:"flex items-center gap-[6px] min-w-0 flex-1",children:[i.jsx("i",{className:il(e.icon),style:{fontSize:16,lineHeight:1}}),i.jsx("span",{className:"text-[14px] leading-[normal] truncate",children:e.name})]})})}function cc({item:e,selectedIds:t,onSelect:n}){const[r,o]=x.useState(!0);return e.itemType==="group"?i.jsxs("div",{children:[i.jsxs("div",{className:T("flex items-center gap-[6px] h-[34px] px-[10px] cursor-pointer rounded-[4px]",lc(e.depth),"hover:bg-[#EFF0F6]",re),onClick:()=>o(!r),children:[i.jsx("span",{className:T("shrink-0 flex items-center justify-center w-[16px] h-[16px] text-[#666666]",re,r&&"rotate-90"),children:i.jsx(rn,{className:"-rotate-90",size:16})}),i.jsx(qw,{}),i.jsx("span",{className:"text-[14px] text-[#030303] truncate",children:e.name})]}),r&&e.children.map(s=>i.jsx(cc,{item:s,selectedIds:t,onSelect:n},s.id))]}):i.jsx(Kw,{item:e,depth:e.depth,isSelected:t.has(e.id),onClick:()=>{e.form&&n(e.form)}})}function uc({searchQuery:e,onSearchChange:t,tree:n,selectedIds:r,onSelect:o,hasSearch:s,allowEmpty:a,emptyLabel:l,onEmptySelect:c}){return i.jsxs("div",{className:T("bg-white rounded-[10px] shadow-[0px_0px_5px_rgba(0,0,0,0.04)] p-[4px]","flex flex-col gap-[4px]"),children:[i.jsxs("div",{className:"flex items-center gap-[6px] border border-[#E0E0E0] rounded-[4px] h-[30px] px-[10px] py-[5px]",children:[i.jsx(S1,{}),i.jsx("input",{type:"text",value:e,onChange:u=>t(u.target.value),placeholder:"输入表单名称来搜索",className:"flex-1 outline-none text-[14px] placeholder:text-[#999999] bg-transparent min-w-0 text-[#030303]"})]}),a&&!s&&i.jsx("div",{className:T("flex items-center h-[34px] px-[10px] cursor-pointer rounded-[4px] shrink-0",r.size===0?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]",re),onClick:c,children:i.jsx("span",{className:"text-[14px] leading-[normal] truncate",children:l})}),i.jsx("div",{className:"flex flex-col gap-0 max-h-[400px] overflow-y-auto",children:n.length>0?n.map(u=>i.jsx(cc,{item:u,selectedIds:r,onSelect:o},u.id)):s?i.jsx("div",{className:"text-[12px] text-[#999999] py-[8px] text-center",children:"无匹配结果"}):i.jsx("div",{className:"text-[12px] text-[#999999] py-[8px] text-center",children:"暂无表单"})})]})}const al=x.forwardRef(({items:e,multiple:t=!1,value:n,defaultValue:r,onChange:o,placeholder:s="请选择表单",disabled:a=!1,className:l,allowEmpty:c=!1,emptyLabel:u="无",maxVisibleChips:d=4,popoverOnly:f},p)=>{var ie;const[h,m]=x.useState(!1),[C,b]=x.useState(""),[g,y]=x.useState(r),w=x.useRef(null),v=x.useRef(null),[S,j]=x.useState(null),{popoverStyle:E,updatePopoverPosition:N}=$a(w),O=n!=null?n:g,P=x.useMemo(()=>Array.isArray(O)?new Set(O):new Set(O?[O]:[]),[O]),V=Array.isArray(O)?void 0:O,D=x.useMemo(()=>Xw(e,C),[e,C]),F=x.useMemo(()=>{var K;return V&&(K=e.find(W=>W.id===V&&W.itemType!=="group"))!=null?K:null},[e,V]),R=x.useMemo(()=>t?e.filter(K=>P.has(K.id)&&K.itemType!=="group"):[],[t,e,P]),B=R.slice(0,d),$=R.length-B.length,U=C.trim().length>0,Z=x.useCallback(K=>{if(w.current=K,!K){j(null);return}const W=K.getRootNode();if(W instanceof ShadowRoot){const te=W.querySelector("[data-bs-form-select-portal]");if(te){j(te);return}const G=W.getElementById("ai-office-container")||W,ne=document.createElement("div");ne.setAttribute("data-bs-form-select-portal","true"),G.appendChild(ne),j(ne);return}j(null)},[]),J=x.useCallback(()=>{m(!1),b("")},[]),L=x.useCallback(()=>{a||(h?J():(m(!0),N()))},[a,h,J,N]),z=x.useCallback(K=>{if(!t){y(K.id),o==null||o({form:K}),J();return}const W=P.has(K.id)?[...P].filter(te=>te!==K.id):[...P,K.id];y(W),o==null||o({forms:e.filter(te=>W.includes(te.id)&&te.itemType!=="group")})},[t,P,e,o,J]),ee=x.useCallback((K,W)=>{if(W.stopPropagation(),a)return;const te=[...P].filter(G=>G!==K);y(te),o==null||o({forms:e.filter(G=>te.includes(G.id)&&G.itemType!=="group")})},[a,P,e,o]),M=x.useCallback(()=>{y(""),o==null||o({}),J()},[o,J]);x.useEffect(()=>{var G;if(!h)return;const K=(G=w.current)==null?void 0:G.getRootNode(),W=K!=null?K:document,te=ne=>{const oe=ne.target;v.current&&v.current.contains(oe)||w.current&&w.current.contains(oe)||J()};return W.addEventListener("mousedown",te),()=>{W.removeEventListener("mousedown",te)}},[h,J]),x.useEffect(()=>{if(!h)return;const K=()=>{N()};return window.addEventListener("resize",K),()=>window.removeEventListener("resize",K)},[h,N]),x.useLayoutEffect(()=>{if(!h)return;let K;const W=()=>{N(),K=requestAnimationFrame(W)};return K=requestAnimationFrame(W),()=>cancelAnimationFrame(K)},[h,N]),x.useEffect(()=>{var G;if(!h)return;const K=ne=>{ne.key==="Escape"&&J()},W=(G=w.current)==null?void 0:G.getRootNode(),te=W!=null?W:document;return te.addEventListener("keydown",K),()=>te.removeEventListener("keydown",K)},[h,J]),x.useEffect(()=>{if(!h)return;const K=v.current;if(!K)return;const W=te=>te.stopPropagation();return K.addEventListener("mousedown",W),K.addEventListener("pointerdown",W),K.addEventListener("wheel",W),()=>{K.removeEventListener("mousedown",W),K.removeEventListener("pointerdown",W),K.removeEventListener("wheel",W)}},[h]);const Y=t&&R.length>0;return f?i.jsx(uc,{searchQuery:C,onSearchChange:b,tree:D,selectedIds:P,onSelect:z,hasSearch:U,allowEmpty:c&&!t,emptyLabel:u,onEmptySelect:M}):i.jsxs("div",{ref:p,className:T("relative inline-flex min-w-0 w-full",l),children:[i.jsxs("div",{ref:Z,className:T("flex items-center gap-[10px] px-[10px] py-[7px] rounded-[4px] cursor-pointer select-none w-full","bg-white border",h?"border-[#0265FF]":"border-[#E0E0E0] hover:border-[#0265FF]",re,a&&"opacity-50 cursor-not-allowed"),onClick:L,children:[Y?i.jsxs("span",{className:"flex items-center gap-[4px] min-w-0 flex-1 overflow-x-auto scrollbar-hide",children:[B.map(K=>{var W;return i.jsxs("span",{className:"flex items-center gap-[4px] bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px] shrink-0 max-w-[160px]",onClick:te=>ee(K.id,te),children:[i.jsx("i",{className:il((W=K.icon)!=null?W:0),style:{fontSize:14,lineHeight:1}}),i.jsx("span",{className:"text-[14px] text-[#030303] truncate leading-[normal]",children:K.name}),i.jsx("span",{className:"cursor-pointer flex items-center shrink-0 hover:bg-[#EFF0F6]",children:i.jsx(Yw,{})})]},K.id)}),$>0&&i.jsxs("span",{className:"flex items-center gap-[4px] bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px] shrink-0",children:[i.jsxs("span",{className:"text-[14px] text-[#030303] leading-[normal]",children:["+",$]}),i.jsx(Gw,{})]})]}):i.jsx("span",{className:"flex items-center gap-[6px] min-w-0 flex-1",children:F?i.jsxs(i.Fragment,{children:[i.jsx("i",{className:il((ie=F.icon)!=null?ie:0),style:{fontSize:16,lineHeight:1}}),i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal] truncate",children:F.name})]}):i.jsx("span",{className:"text-[14px] text-[#999999] leading-[normal] truncate",children:c&&!t?u:s})}),i.jsx("span",{className:T("shrink-0 flex items-center justify-center w-[16px] h-[16px] text-[#666666]",re,h&&"rotate-180"),children:i.jsx(rn,{size:16})})]}),h&&r1.createPortal(i.jsx("div",{ref:v,style:E,children:i.jsx(uc,{searchQuery:C,onSearchChange:b,tree:D,selectedIds:P,onSelect:z,hasSearch:U,allowEmpty:c&&!t,emptyLabel:u,onEmptySelect:M})}),S||document.body)]})});al.displayName="FormSelect";const Qw=()=>i.jsx("svg",{width:"8",height:"8",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg",children:i.jsx("rect",{x:"0.5",y:"0.5",width:"7",height:"7",rx:"1",fill:"#0265ff"})}),C1=k.forwardRef(({className:e,children:t,id:n,readonly:r,disabled:o,intermediate:s,...a},l)=>{const c=k.useId(),u=n!=null?n:c;return i.jsxs("label",{htmlFor:u,className:T("inline-flex items-center gap-[6px] select-none text-[#121111] text-[14px]",o?"cursor-not-allowed":"cursor-pointer",{"pointer-events-none":r}),children:[i.jsx(u0,{ref:l,id:u,disabled:o,className:T("inline-flex shrink-0 items-center justify-center","w-[16px] h-[16px] rounded-[2px] box-border border","transition-colors duration-200","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#0265FF] focus-visible:ring-offset-1","border-[#E0E0E0] bg-white","hover:border-[#0265FF]","data-[state=checked]:bg-[#0265FF] data-[state=checked]:border-[#0265FF]","disabled:cursor-not-allowed disabled:bg-[#F0F0F0] disabled:border-[#C2C2C2]","disabled:data-[state=checked]:bg-[#C2C2C2] disabled:data-[state=checked]:border-[#C2C2C2]",s&&"bg-white border-[#0265FF] text-[#0265FF]",e,{"opacity-50":r}),...a,children:i.jsx(f0,{className:"text-white",forceMount:s||void 0,children:s?i.jsx(Qw,{}):i.jsx($i,{})})}),t!=null&&i.jsx("span",{className:T("text-sm leading-none",o&&"text-[#C2C2C2]"),children:t})]})});C1.displayName="SquareChecker";function Jw(e){return e.map(t=>({id:t._id,label:t.name,type:"group",children:t.apps.map(n=>{var r;return{id:n._id,label:n.appname,type:"app",color:String(((r=n.style)==null?void 0:r.color)||"#666666"),data:n}})}))}const dc=()=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:i.jsx("path",{d:"M13.9004 15H2.65039C2.25257 15 1.87104 14.842 1.58973 14.5607C1.30843 14.2794 1.15039 13.8978 1.15039 13.5V4.5C1.15039 4.10218 1.30843 3.72064 1.58973 3.43934C1.87104 3.15804 2.25257 3 2.65039 3H7.15039L8.65039 4.5H13.9004C14.0974 4.5 14.2924 4.5388 14.4744 4.61418C14.6564 4.68956 14.8218 4.80005 14.9611 4.93934C15.1003 5.07863 15.2108 5.24399 15.2862 5.42597C15.3616 5.60796 15.4004 5.80302 15.4004 6H2.65039V13.5L4.25539 7.5H16.0754C16.1927 7.49595 16.3093 7.51947 16.4158 7.56867C16.5223 7.61788 16.6158 7.69139 16.6888 7.78331C16.7617 7.87523 16.8121 7.98298 16.8358 8.0979C16.8595 8.21282 16.856 8.33171 16.8254 8.445L15.3704 13.875C15.2865 14.1999 15.0961 14.4873 14.8296 14.6913C14.5631 14.8952 14.2359 15.0039 13.9004 15Z",fill:"#6F81BD"})}),ev=({expanded:e})=>i.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",className:T("shrink-0",re),style:{transform:e?"rotate(0deg)":"rotate(-90deg)"},children:i.jsx("path",{d:"M6 8L9 11L12 8",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),tv=()=>i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M3 3L9 9M9 3L3 9",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round"})}),nv=()=>i.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0",children:[i.jsx("circle",{cx:"2",cy:"6",r:"1",fill:"#999999"}),i.jsx("circle",{cx:"6",cy:"6",r:"1",fill:"#999999"}),i.jsx("circle",{cx:"10",cy:"6",r:"1",fill:"#999999"})]}),fc=({open:e})=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:T("shrink-0",re),style:{transform:e?"rotate(180deg)":"rotate(0deg)"},children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),ls="__all__";function rv(e){const t=new Map,n=r=>{for(const o of r)t.set(o.id,o),o.children&&n(o.children)};return n(e),t}const ov=({nodes:e,mode:t="single",popoverContentOnly:n,showAll:r=!1,allowEmpty:o=!1,emptyLabel:s="无",value:a,defaultValue:l,onChange:c,placeholder:u="请选择",searchPlaceholder:d="输入应用名称来搜索",disabled:f=!1,maxVisibleChips:p=4,className:h})=>{const[m,C]=x.useState(!1),[b,g]=x.useState(""),[y,w]=x.useState(l!=null?l:t==="multiple"?[]:""),[v,S]=x.useState(null),[j,E]=x.useState(0),N=x.useRef(null),[O,P]=x.useState(()=>{const G=new Set,ne=(oe,ue)=>{for(const Le of oe)Le.children&&Le.children.length>0&&ue<2&&(G.add(Le.id),ne(Le.children,ue+1))};return ne(e,0),G}),V=a!==void 0?a:y,D=x.useMemo(()=>rv(e),[e]),F=x.useMemo(()=>t==="multiple"?new Set(Array.isArray(V)?V:[]):new Set(typeof V=="string"&&V?[V]:[]),[V,t]),R=x.useMemo(()=>(Array.isArray(V)?V:V?[V]:[]).map(ne=>{var oe,ue;return(ue=(oe=D.get(ne))==null?void 0:oe.label)!=null?ue:ne}),[V,D]),B=t==="single"&&R.length===1?R[0]===ls?"全部应用":R[0]:null,$=x.useMemo(()=>{if(!b.trim())return e;const G=b.toLowerCase(),ne=oe=>{var Le;const ue=[];for(const le of oe){const De=(Le=le==null?void 0:le.label)==null?void 0:Le.toLowerCase().includes(G),Fe=le.children?ne(le.children):[];(De||Fe.length>0)&&ue.push({...le,children:Fe.length>0?Fe:le.children})}return ue};return ne(e)},[e,b]),U=x.useCallback(G=>{if(N.current=G,G&&E(G.offsetWidth),!G){S(null);return}const ne=G.getRootNode();if(ne instanceof ShadowRoot){const oe=ne.querySelector("[data-bs-app-select-portal]");if(oe){S(oe);return}const ue=document.createElement("div");ue.setAttribute("data-bs-app-select-portal","true"),ne.appendChild(ue),S(ue)}else S(null)},[]),Z=x.useCallback(G=>{a===void 0&&w(G),c==null||c(G)},[a,c]),J=x.useCallback(G=>{P(ne=>{const oe=new Set(ne);return oe.has(G)?oe.delete(G):oe.add(G),oe})},[]),L=x.useCallback((G,ne)=>{if(ne.type==="group"||ne.children&&ne.children.length>0){J(G);return}if(t==="single")Z(G),C(!1);else{const oe=Array.isArray(V)?[...V]:[],ue=oe.indexOf(G);ue>=0?oe.splice(ue,1):oe.push(G),Z(oe)}},[t,V,Z,J]),z=x.useCallback((G,ne)=>{ne.stopPropagation(),t==="multiple"&&Array.isArray(V)&&Z(V.filter(oe=>oe!==G))},[t,V,Z]),ee=x.useCallback(G=>{f||(C(G),G&&N.current&&E(N.current.offsetWidth),G||g(""))},[f]),M=t==="multiple"?R:[],Y=M.slice(0,p),ie=M.length-Y.length,K=x.useCallback((G,ne)=>{var De;const oe=G.children&&G.children.length>0,ue=O.has(G.id),Le=F.has(G.id),le=ne*22+10;return i.jsxs("div",{children:[i.jsxs("button",{type:"button",onClick:()=>L(G.id,G),className:T("flex items-center gap-[6px] w-full h-[34px] rounded-[4px] text-left","pr-[10px]",re,Le?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]"),style:{paddingLeft:`${le}px`,paddingTop:"10px",paddingBottom:"10px"},children:[oe&&i.jsx(ev,{expanded:ue}),G.type==="group"&&!oe&&i.jsx(dc,{}),G.type==="group"&&oe&&i.jsx(dc,{}),G.type==="app"&&i.jsx($w,{name:(De=G.data)==null?void 0:De.style.icon}),i.jsx("span",{className:"text-[14px] truncate leading-[normal] flex-1 min-w-0",children:G.label}),t==="multiple"&&!oe&&G.type!=="group"&&i.jsx("span",{onClick:Fe=>Fe.stopPropagation(),className:"grid place-items-center",children:i.jsx(C1,{checked:Le,onCheckedChange:()=>L(G.id,G),className:"shrink-0"})})]}),oe&&ue&&i.jsx("div",{children:G.children.map(Fe=>K(Fe,ne+1))})]},G.id)},[O,F,t,L]),W=t==="multiple"&&M.length>0,te=i.jsxs("div",{className:"flex flex-col gap-[4px]",children:[i.jsxs("div",{className:"flex items-center gap-[6px] border border-[#E0E0E0] rounded-[4px] h-[30px] px-[10px] py-[5px]",children:[i.jsx(S1,{}),i.jsx("input",{type:"text",value:b,onChange:G=>g(G.target.value),placeholder:d,className:"flex-1 outline-none text-[14px] placeholder:text-[#999999] bg-transparent min-w-0 text-[#030303]"})]}),o&&t==="single"&&!b.trim()&&i.jsx("button",{type:"button",onClick:()=>{Z(""),C(!1)},className:T("flex items-center w-full h-[34px] rounded-[4px] text-left","px-[10px]",re,"text-[#030303] hover:bg-[#EFF0F6]"),children:i.jsx("span",{className:"text-[14px] leading-[normal]",children:s})}),r&&t==="single"&&!b.trim()&&i.jsx("button",{type:"button",onClick:()=>{Z(ls),C(!1)},className:T("flex items-center w-full h-[34px] rounded-[4px] text-left","px-[10px]",re,F.has(ls)?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]"),children:i.jsx("span",{className:"text-[14px] leading-[normal]",children:"全部应用"})}),i.jsx("div",{className:"max-h-[400px] overflow-y-auto",children:$.length>0?$.map(G=>K(G,0)):i.jsx("div",{className:"flex items-center justify-center h-[60px] text-[12px] text-[#999999]",children:b.trim()?"未找到相关应用":"暂无应用"})})]});return n?te:i.jsx("div",{className:T("relative",h),children:i.jsxs(ct,{open:m,onOpenChange:ee,children:[i.jsx(ut,{asChild:!0,children:i.jsx("button",{ref:U,type:"button",disabled:f,className:T("flex items-center justify-between w-full h-[34px] gap-2.5","bg-white border border-[#E0E0E0] rounded-[4px]","py-[7px]",W?"pl-[4px] pr-[10px]":"px-[10px]","text-left cursor-pointer","hover:border-[#0265FF]",f&&"opacity-50 cursor-not-allowed hover:border-[#E0E0E0]",m&&"border-[#0265FF]",re),children:W?i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center gap-[4px] min-w-0 flex-1 overflow-x-auto scrollbar-hide",children:[Y.map((G,ne)=>i.jsxs("span",{className:"flex items-center gap-[4px] bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px] shrink-0 max-w-[160px]",onClick:oe=>{oe.stopPropagation();const ue=Array.isArray(V)?V:[];ue[ne]&&z(ue[ne],oe)},children:[i.jsx("span",{className:"text-[14px] text-[#030303] truncate leading-[normal]",children:G}),i.jsx("span",{className:"cursor-pointer flex items-center shrink-0 hover:bg-[#EFF0F6]",children:i.jsx(tv,{})})]},ne)),ie>0&&i.jsxs("span",{className:"flex items-center gap-[4px] bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px] shrink-0",children:[i.jsxs("span",{className:"text-[14px] text-[#030303] leading-[normal]",children:["+",ie]}),i.jsx(nv,{})]})]}),i.jsx(fc,{open:m})]}):i.jsxs(i.Fragment,{children:[i.jsx("span",{className:T("text-[14px] leading-[normal] truncate",B?"text-[#030303]":"text-[#999999]"),children:B!=null?B:o?s:u}),i.jsx(fc,{open:m})]})})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:v,className:"!border-0 rounded-[10px] shadow-[0px_0px_5px_rgba(0,0,0,0.04)] p-[4px]",style:{minWidth:j||void 0},children:te})]})})},ll=({defaultChecked:e=!1,checked:t,onCheckedChange:n,title:r,description:o,disabled:s=!1,className:a})=>{const[l,c]=x.useState(!!e),u=t!==void 0,d=u?!!t:l,f=x.useRef(d);f.current=d;const p=h=>{if(h.target!==h.currentTarget||s)return;const m=!f.current;u||c(m),n==null||n(m)};return i.jsxs("div",{role:"button",tabIndex:s?-1:0,"aria-checked":d,"aria-disabled":s,onClick:p,onKeyDown:h=>{(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),p(h))},className:T("flex flex-col gap-[6px] p-[10px] rounded-[4px] cursor-pointer select-none bg-white","border",d?"border-[#0265FF]":"border-[#E0E0E0]",s&&"cursor-not-allowed opacity-50",a),children:[i.jsxs("div",{className:"inline-flex items-center gap-[6px] pointer-events-none",children:[i.jsx(C1,{checked:d,disabled:s}),i.jsx("span",{className:"text-[#121111] text-[14px]",children:r})]}),o!=null&&i.jsx("p",{className:"text-[#666] text-[12px] pl-[22px] pointer-events-none",children:o})]})},sv=[{type:"submit",title:"表单提交数据"},{type:"edit",title:"表单编辑数据"},{type:"delete",title:"表单删除数据"},{type:"init",title:"表单初始化"},{type:"edit_init",title:"表单编辑初始化"}],iv=({multiple:e=!1,value:t,onChange:n})=>{const r=e?Array.isArray(t)?t:[]:null;return i.jsx("div",{className:"flex gap-[20px]",children:sv.map(o=>{const s=e?r.includes(o.type):t===o.type;return i.jsx(ll,{className:"flex-[1_0_0] min-w-px",title:o.title,checked:s,onCheckedChange:a=>{if(e){const l=a?[...r,o.type]:r.filter(c=>c!==o.type);n==null||n(l)}else a&&(n==null||n(o.type))}},o.type)})})},av=[{type:"flow_end",title:"流程结束"},{type:"flow_node",title:"流程节点"}],lv=({multiple:e=!1,value:t,onChange:n})=>{const r=e?Array.isArray(t)?t:[]:null;return i.jsx("div",{className:"flex gap-[20px]",children:av.map(o=>{const s=e?r.includes(o.type):t===o.type;return i.jsx(ll,{className:"flex-[1_0_0] min-w-px max-w-[216px]",title:o.title,checked:s,onCheckedChange:a=>{if(e){const l=a?[...r,o.type]:r.filter(c=>c!==o.type);n==null||n(l)}else a&&(n==null||n(o.type))}},o.type)})})},cv=[{value:"custom",label:"自定义时间"},{value:"date_field",label:"根据表单日期时间字段"}],pc=({value:e,onChange:t,placeholder:n="请选择时间来源类型",disabled:r=!1,className:o})=>i.jsxs(L1,{value:e,onValueChange:s=>t==null?void 0:t(s),disabled:r,children:[i.jsx(u1,{className:o,children:i.jsx(M1,{placeholder:n})}),i.jsx(d1,{children:cv.map(s=>i.jsx(f1,{value:s.value,children:s.label},s.value))})]}),cl=1e3,ul=2999,dl=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],uv=["一","二","三","四","五","六","日"];function dv(e,t){const o=(new Date(e,t,1).getDay()-1+7)%7;return new Date(e,t,1-o)}function hc(e,t){return new Date(e,t+1,0).getDate()}function mc(e,t,n){const r=e.h*36e5+e.m*6e4+e.s*1e3+e.ms,o=t.h*36e5+t.m*6e4+t.s*1e3+t.ms,s=n.h*36e5+n.m*6e4+n.s*1e3+n.ms;return r>=o&&r<=s}function Rn(e,t,n,r,o="day"){if(o==="year"){const l=e.getFullYear();return l>=t.getFullYear()&&l<=n.getFullYear()}if(o==="month"){const l=e.getFullYear(),c=e.getMonth(),u=t.getFullYear(),d=t.getMonth(),f=n.getFullYear(),p=n.getMonth();return!(l<u||l>f||l===u&&c<d||l===f&&c>p)}e.setHours(0,0,0,0);const s=new Date(t);s.setHours(0,0,0,0);const a=new Date(n);return a.setHours(0,0,0,0),!(e<s||e>a||r&&r.length>0&&!r.includes(e.getDay()))}function fv(e,t,n){const r=e.getTime(),o=t.getTime(),s=n.getTime();return r<o?new Date(t):r>s?new Date(n):new Date(e)}function Cc(e,t,n){if(n==="year")return e.getFullYear()>t.getFullYear();const r=e.getFullYear(),o=e.getMonth(),s=t.getFullYear(),a=t.getMonth();return r>s||r===s&&o>a}function xc(e,t,n){if(n==="year")return e.getFullYear()<t.getFullYear();const r=e.getFullYear(),o=e.getMonth(),s=t.getFullYear(),a=t.getMonth();return r<s||r===s&&o<a}function cs(e,t){const n=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),s=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0"),l=String(e.getSeconds()).padStart(2,"0");return t==="yyyy-MM-dd"?`${n}-${r}-${o}`:t==="yyyy-MM-dd HH:mm:ss"?`${n}-${r}-${o} ${s}:${a}:${l}`:t==="yyyy-MM-dd HH:mm"?`${n}-${r}-${o} ${s}:${a}`:t==="HH:mm:ss"?`${s}:${a}:${l}`:t==="HH:mm"?`${s}:${a}`:t==="yyyy-MM"?`${n}-${r}`:t==="yyyy"?`${n}`:`${n}-${r}-${o}`}const dn="text-center p-0.5 min-w-[36px] h-[36px] cursor-pointer align-middle rounded-[4px]",_r='text-[#999] relative pointer-events-none before:absolute before:left-0 before:right-0 before:top-1 before:h-[28px] before:bg-[#f3f3f3] before:opacity-60 before:content-[""]';function pv({year:e,month:t,day:n,format:r,minDate:o,maxDate:s,week:a,onYearReduce:l,onYearAdd:c,onMonthReduce:u,onMonthAdd:d,onMonthMenu:f,onYearMenu:p,onChangeDay:h}){const m=r.includes("dd"),C=x.useMemo(()=>{const b=dv(e,t),g=new Date,y=`${g.getFullYear()}-${g.getMonth()}-${g.getDate()}`,w=[],v=new Date(b);for(let S=0;S<6;S++){const j=[];for(let E=0;E<7;E++){const N=v.getDate(),O=v.getMonth(),P=v.getFullYear();let V=Rn(new Date(P,O,N,0,0,0,0),o,s,a,"day")?"":"disabled";V||(t!==O?V="oday":(V="day",(E===5||E===6)&&(V+=" weekend"),`${P}-${O}-${N}`===y&&(V+=" today"),n===N&&t===O&&(V+=" selected"))),j.push({day:N,month:O,year:P,css:V,key:`d${P}-${O}-${N}`}),v.setDate(v.getDate()+1)}w.push(j)}for(;w.length>4&&w[w.length-1].every(S=>S.month!==t);)w.pop();return w},[e,t,n,o,s,a]);return m?i.jsxs(i.Fragment,{children:[i.jsxs("thead",{children:[i.jsxs("tr",{children:[i.jsx("td",{className:T(dn,"btn prevm hover:text-[#0265ff]",!Cc(new Date(e,t,1),o,"year")&&"disabled "+_r),colSpan:1,onClick:l,children:i.jsx(mC,{size:14})}),i.jsx("td",{className:T(dn,"btn prevm hover:text-[#0265ff]",!Cc(new Date(e,t,1),o,"month")&&"disabled "+_r),colSpan:1,onClick:u,children:i.jsx(Io,{size:14})}),i.jsxs("td",{className:T(dn,"title font-bold p-0.5"),colSpan:3,children:[i.jsx("span",{className:"title-month mr-1.5 hover:text-[#0265ff] cursor-pointer",onClick:f,children:dl[t]}),i.jsx("span",{children:", "}),i.jsx("span",{className:"title-year hover:text-[#0265ff] cursor-pointer",onClick:p,children:e})]}),i.jsx("td",{className:T(dn,"btn nextm hover:text-[#0265ff]",!xc(new Date(e,t,1),s,"month")&&"disabled "+_r),colSpan:1,onClick:d,children:i.jsx(Ho,{size:14})}),i.jsx("td",{className:T(dn,"btn nextm hover:text-[#0265ff]",!xc(new Date(e,t,1),s,"year")&&"disabled "+_r),colSpan:1,onClick:c,children:i.jsx(CC,{size:14})})]}),i.jsx("tr",{children:uv.map((b,g)=>i.jsx("td",{className:T(dn,"day name week font-bold hover:bg-transparent hover:p-0 hover:border-none",(g===5||g===6)&&"text-[#e34d59]"),children:b},b))})]}),i.jsx("tbody",{children:C.slice(0,6).map((b,g)=>i.jsx("tr",{children:b.map(y=>{const w=y.css.includes("disabled"),v=y.css.includes("oday"),S=y.css.includes("today"),j=y.css.includes("selected"),E=y.css.includes("weekend");return i.jsx("td",{className:T(dn,w&&_r,v&&"text-[#e0e0e0] hover:bg-[rgba(2,101,255,0.08)]",!w&&!v&&"hover:bg-[rgba(2,101,255,0.08)]",S&&"font-bold text-[#0265ff]",E&&"text-[#e34d59]",j&&"font-bold p-[1px] text-white border border-[#0265ff] bg-[#0265ff] hover:border-[#0265ff] hover:bg-[#0265ff]"),onClick:()=>h(y.day,y.month,y.year,y.css),children:i.jsx("div",{className:"day-wrapper",children:i.jsx("div",{className:"day-item",children:y.day})})},y.key)})},g))})]}):null}const Ar="text-center p-0.5 min-w-[36px] h-[36px] cursor-pointer align-middle rounded-[4px]",hv='text-[#999] relative pointer-events-none before:absolute before:left-0 before:right-0 before:top-[20px] before:h-[28px] before:bg-[#f3f3f3] before:opacity-60 before:content-[""]';function mv({year:e,month:t,showYear:n,position:r,minDate:o,maxDate:s,week:a,onYearReduce:l,onYearAdd:c,onYearMenu:u,onMountOk:d}){const f=p=>Rn(p,o,s,a,"month");return i.jsxs("table",{cellSpacing:0,cellPadding:0,className:"mt bg-white rounded-[4px]",style:{position:r},children:[i.jsx("thead",{children:i.jsxs("tr",{children:[i.jsx("td",{className:T(Ar,"btn prevy hover:text-[#0265ff]"),colSpan:1,onClick:l,children:i.jsx(Io,{size:14})}),i.jsx("td",{className:T(Ar,"year title font-bold p-0.5"),colSpan:1,children:i.jsx("span",{className:"title-year hover:text-[#0265ff] cursor-pointer",onClick:u,children:e})}),i.jsx("td",{className:T(Ar,"btn nexty hover:text-[#0265ff]"),colSpan:1,onClick:c,children:i.jsx(Ho,{size:14})})]})}),i.jsx("tbody",{children:[0,1,2,3].map(p=>i.jsx("tr",{children:[0,1,2].map(h=>{const m=p*3+h;if(m>11)return i.jsx("td",{className:Ar},m);const C=f(new Date(e,m,1)),b=t===m&&!n,g=!C;return i.jsx("td",{className:T(Ar,"month w-[58px] h-[38px] hover:bg-[rgba(2,101,255,0.08)]",b&&"font-bold p-[1px] text-white border border-[#0265ff] bg-[#0265ff] hover:border-[#0265ff] hover:bg-[#0265ff]",g&&hv),onClick:()=>{g||d(m)},children:dl[m]},m)})},p))})]})}const us="text-center p-0.5 min-w-[36px] h-[36px] cursor-pointer align-middle rounded-[4px]",Cv='text-[#999] relative pointer-events-none before:absolute before:left-0 before:right-0 before:top-[14px] before:h-[28px] before:bg-[#f3f3f3] before:opacity-60 before:content-[""]';function gc({year:e,position:t,showYearLabel:n,minDate:r,maxDate:o,week:s,onYearFReduce:a,onYearFAdd:l,onSelectYear:c}){const u=e-9,d=e+10,f=x.useMemo(()=>{const p=[];for(let h=0;h<5;h++){const m=[];for(let C=0;C<4;C++){const b=u+h*4+C,g=Rn(new Date(b,0,1),r,o,s,"year");m.push({year:b,isSelected:e===b,isDisabled:!g})}p.push(m)}return p},[u,e,r,o,s]);return i.jsxs("table",{cellSpacing:0,cellPadding:0,className:"yt bg-white rounded-[4px] w-full h-full",style:{position:t},children:[i.jsx("thead",{children:i.jsxs("tr",{children:[i.jsx("td",{className:T(us,"btn prevy hover:text-[#0265ff] grid place-content-center"),colSpan:1,onClick:a,children:i.jsx(Io,{size:14})}),i.jsx("td",{className:T(us,"year title font-bold p-0.5"),colSpan:2,children:n?`${u}年 - ${d}年`:`${u} - ${d}`}),i.jsx("td",{className:T(us,"btn nexty hover:text-[#0265ff] grid place-content-center"),colSpan:1,onClick:l,children:i.jsx(Ho,{size:14})})]})}),i.jsx("tbody",{children:f.map((p,h)=>i.jsx("tr",{children:p.map(m=>i.jsx("td",{className:T(us,"year",m.isSelected&&"font-bold p-[1px] text-white border border-[#0265ff] bg-[#0265ff] hover:border-[#0265ff] hover:bg-[#0265ff]",m.isDisabled&&Cv),onClick:()=>{m.isDisabled||c(m.year)},children:m.year},m.year))},h))})]})}const xv="h-[32px] leading-[32px] text-center cursor-pointer rounded-[4px] hover:bg-[rgba(2,101,255,0.08)]";function gv({hours:e,minutes:t,seconds:n,year:r,month:o,day:s,format:a,minDate:l,maxDate:c,startTime:u,endTime:d,onHoursChange:f,onMinutesChange:p,onSecondsChange:h}){const m=a.includes("mm"),C=a.includes("ss"),b=g=>{const y=g==="hours"?24:60,w={hours:"时",minutes:"分",seconds:"秒"},v=g==="hours"?e:g==="minutes"?t:n,S=g==="hours"?f:g==="minutes"?p:h;return i.jsxs("div",{className:T("col flex-1 border-l border-[#e0e0e0]",g),children:[i.jsx("div",{className:"label h-[32px] leading-[32px] text-center",children:w[g]}),i.jsx("div",{className:"col-list h-[200px] overflow-auto",children:Array.from({length:y},(j,E)=>{const N=v===E;let O=!1;const P=l.getFullYear()===r&&l.getMonth()===o&&l.getDate()===s,V=c.getFullYear()===r&&c.getMonth()===o&&c.getDate()===s;return P&&(O=!mc({h:g==="hours"?E:e,m:g==="minutes"?E:t,s:g==="seconds"?E:n,ms:0},u,{h:23,m:59,s:59,ms:999})),V&&!O&&(O=!mc({h:g==="hours"?E:e,m:g==="minutes"?E:t,s:g==="seconds"?E:n,ms:0},{h:0,m:0,s:0,ms:0},d)),i.jsx("div",{className:T(xv,N&&!O&&"select bg-[rgba(2,101,255,0.2)]",O&&"text-[#999] pointer-events-none opacity-80"),onClick:()=>{O||S(E)},children:E>9?E:`0${E}`},E)})})]})};return i.jsxs("div",{className:"time-range w-[180px]",children:[i.jsxs("div",{className:"time-input flex h-[40px] border-l border-[#e0e0e0]",children:[i.jsx("input",{type:"number",value:e,className:"h-[24px] w-[38px] my-[10px] mx-[10px] mt-[10px] text-center pl-[5px] flex-1",onChange:g=>{const y=Math.min(23,Math.max(0,parseInt(g.target.value)||0));f(y)}}),m&&i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"leading-[40px]",children:":"}),i.jsx("input",{type:"number",value:t,className:"h-[24px] w-[38px] my-[10px] mx-[10px] mt-[10px] text-center pl-[5px] flex-1",onChange:g=>{const y=Math.min(59,Math.max(0,parseInt(g.target.value)||0));p(y)}})]}),C&&i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"leading-[40px]",children:":"}),i.jsx("input",{type:"number",value:n,className:"h-[24px] w-[38px] my-[10px] mx-[10px] mt-[10px] text-center pl-[5px] flex-1",onChange:g=>{const y=Math.min(59,Math.max(0,parseInt(g.target.value)||0));h(y)}})]})]}),i.jsxs("div",{className:"time-select-range flex border-t border-[#e0e0e0]",style:{height:"calc(100% - 40px)"},children:[b("hours"),m&&b("minutes"),C&&b("seconds")]})]})}function bv({hasTime:e,hasDay:t,todayCls:n,onToday:r,onOk:o}){return!e&&!t?null:i.jsx("div",{className:"footer h-[40px] leading-[40px] text-center border-t border-[#e0e0e0]",children:i.jsxs("div",{className:"hms px-[10px]",children:[i.jsx("div",{className:T("btn cursor-pointer px-[5px] mx-[5px]",e?"current-time float-left text-[#0265ff] ml-0 pl-0 text-center":"today float-left text-[#0265ff] ml-0 pl-0 text-center",n==="disabled"&&"text-[#999] pointer-events-none opacity-80"),onClick:r,children:e?"当前时间":"今天"}),e&&i.jsx("div",{className:"btn ok mr-0 text-white bg-[#0265ff] rounded-[4px] h-[24px] leading-[24px] mt-[8px] float-right cursor-pointer px-[5px] hover:opacity-80",onClick:o,children:"确定"})]})})}function bc({value:e,onChange:t,format:n="yyyy-MM-dd",minDate:r,maxDate:o,week:s,className:a}){const l=e?new Date(e):new Date,[c,u]=x.useState(l.getFullYear()),[d,f]=x.useState(l.getMonth()),[p,h]=x.useState(l.getDate()),[m,C]=x.useState(l.getHours()),[b,g]=x.useState(l.getMinutes()),[y,w]=x.useState(l.getSeconds()),[v,S]=x.useState(!1),[j,E]=x.useState(!1),[N,O]=x.useState(n.includes("HH")),P=x.useMemo(()=>r!=null?r:new Date(cl,0,1,0,0,0,0),[r]),V=x.useMemo(()=>o!=null?o:new Date(ul,11,31,23,59,59,999),[o]),D=x.useMemo(()=>s?s.map(fe=>parseInt(String(fe))):[],[s]),F=x.useMemo(()=>n==="yyyy-MM-dd HH:mm:ss"?{h:P.getHours(),m:P.getMinutes(),s:P.getSeconds(),ms:P.getMilliseconds()}:{h:0,m:0,s:0,ms:0},[n,P]),R=x.useMemo(()=>n==="yyyy-MM-dd HH:mm:ss"?{h:V.getHours(),m:V.getMinutes(),s:V.getSeconds(),ms:V.getMilliseconds()}:{h:23,m:59,s:59,ms:999},[n,V]);x.useEffect(()=>{e&&(u(e.getFullYear()),f(e.getMonth()),h(e.getDate()),C(e.getHours()),g(e.getMinutes()),w(e.getSeconds()))},[e]),x.useEffect(()=>{if(!e&&Rn(new Date,P,V,D,"day")){const fe=fv(new Date,P,V);u(fe.getFullYear()),f(fe.getMonth()),h(fe.getDate())}},[]);const B=x.useCallback((fe,Me)=>t==null?void 0:t(fe,Me),[t]),$=x.useCallback((fe,Me="day")=>Rn(fe,P,V,D,Me),[P,V,D]),U=x.useCallback(fe=>{const Me=new Date(c,d,p,m,b,y);B($(Me)?Me:null,fe)},[c,d,p,m,b,y,$,B]),Z=x.useCallback(()=>{let fe=c,Me=d,Ze=p;d===0?(Me=11,fe=c-1):Me=d-1;const I=hc(fe,Me);Ze>I&&(Ze=I),u(fe),f(Me),h(Ze)},[c,d,p]),J=x.useCallback(()=>{let fe=c,Me=d,Ze=p;d===11?(Me=0,fe=c+1):Me=d+1;const I=hc(fe,Me);Ze>I&&(Ze=I),u(fe),f(Me),h(Ze)},[c,d,p]),L=x.useCallback(()=>{c>cl&&u(fe=>fe-1)},[c]),z=x.useCallback(()=>{c<ul&&u(fe=>fe+1)},[c]),ee=x.useCallback(()=>{c>cl&&u(fe=>fe-20)},[c]),M=x.useCallback(()=>{c<ul&&u(fe=>fe+20)},[c]),Y=x.useCallback(fe=>{if(u(fe),E(!1),n==="yyyy-MM"&&(h(1),C(0),g(0),w(0),S(!1)),n==="yyyy"){const Me=new Date(fe,0,1,0,0,0);B($(Me,"year")?Me:null,!0)}O(n.includes("HH"))},[n,$,B]),ie=x.useCallback(fe=>{if(f(fe),S(!1),E(!1),n==="yyyy-MM"){h(1),C(0),g(0),w(0);const Me=new Date(c,fe,1,0,0,0);B($(Me,"month")?Me:null,!0)}O(n.includes("HH"))},[n,c,$,B]),K=x.useCallback((fe,Me,Ze,I)=>{if(!I.includes("disabled")&&(u(Ze),f(Me),h(fe),!["HH:mm:ss","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","HH:mm"].includes(n))){const _=new Date(Ze,Me,fe,0,0,0);B($(_)?_:null,!0)}},[n,$,B]),W=x.useCallback(()=>{const fe=new Date;if(u(fe.getFullYear()),f(fe.getMonth()),h(fe.getDate()),C(fe.getHours()),g(fe.getMinutes()),w(fe.getSeconds()),!["HH:mm:ss","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","HH:mm"].includes(n)){const Me=new Date(fe.getFullYear(),fe.getMonth(),fe.getDate(),0,0,0);B($(Me)?Me:null,!0)}},[n,$,B]),te=x.useCallback(()=>U(!0),[U]),G=x.useCallback(fe=>Rn(fe!=null?fe:new Date,P,V,D,"day")?"":"disabled",[P,V,D]),ne=x.useCallback(fe=>C(fe),[]),oe=x.useCallback(fe=>g(fe),[]),ue=x.useCallback(fe=>w(fe),[]),Le=n.includes("yyyy"),le=n.includes("HH"),De=n.includes("dd"),Fe=n==="yyyy-MM",Ke=n==="yyyy",n1=G(),It=x.useCallback(()=>{S(!0),E(!1),O(!1)},[]),it=x.useCallback(()=>{E(!0),O(!1)},[]),Zt=De?"min-h-[270px]":Fe?"min-h-[180px]":"min-h-[270px]";return i.jsxs("div",{className:T("relative inline-block text-sm text-[#333] bg-white rounded-[4px] leading-none border-none",n,a),children:[i.jsxs("div",{className:"flex",children:[Le&&i.jsxs("div",{className:T("data-range",Zt),style:{minWidth:Ke?220:270},children:[!Ke&&i.jsxs("div",{className:"relative",children:[i.jsxs("table",{cellSpacing:0,cellPadding:0,className:"dt p-[3px] rounded-[4px]",style:{width:Fe?"100%":270},children:[Fe&&!j&&i.jsxs(i.Fragment,{children:[i.jsx("thead",{children:i.jsxs("tr",{children:[i.jsx("td",{className:"text-center p-0.5 min-w-[36px] h-[36px] cursor-pointer align-middle rounded-[4px] btn prevy hover:text-[#0265ff] grid place-content-center",colSpan:1,onClick:L,children:i.jsx(Io,{size:14,className:"inline"})}),i.jsx("td",{className:"text-center p-0.5 min-w-[36px] h-[36px] cursor-pointer align-middle rounded-[4px] year title font-bold",colSpan:1,children:i.jsx("span",{className:"title-year hover:text-[#0265ff] cursor-pointer",onClick:it,children:c})}),i.jsx("td",{className:"text-center p-0.5 min-w-[36px] h-[36px] cursor-pointer align-middle rounded-[4px] btn nexty hover:text-[#0265ff] grid place-content-center",colSpan:1,onClick:z,children:i.jsx(Ho,{size:14,className:"inline"})})]})}),i.jsx("tbody",{children:[0,1,2].map(fe=>i.jsx("tr",{children:[0,1,2].map(Me=>{const Ze=fe*3+Me,I=$(new Date(c,Ze,1),"month"),_=d===Ze,H=!I;return i.jsx("td",{className:T("text-center p-0.5 min-w-[36px] h-[36px] cursor-pointer align-middle rounded-[4px] month hover:bg-[rgba(2,101,255,0.08)]",_&&"font-bold p-[1px] text-white border border-[#0265ff] bg-[#0265ff] hover:border-[#0265ff] hover:bg-[#0265ff]",H&&'text-[#999] relative pointer-events-none before:absolute before:left-0 before:right-0 before:top-[14px] before:h-[28px] before:bg-[#f3f3f3] before:opacity-60 before:content-[""]'),onClick:()=>{H||ie(Ze)},children:dl[Ze]},Ze)})},fe))})]}),De&&i.jsx(pv,{year:c,month:d,day:p,format:n,minDate:P,maxDate:V,week:D,onYearReduce:L,onYearAdd:z,onMonthReduce:Z,onMonthAdd:J,onMonthMenu:It,onYearMenu:it,onChangeDay:K})]}),De&&!Fe&&v&&!j&&i.jsx("div",{className:"absolute inset-0 z-[1]",children:i.jsx(mv,{year:c,month:d,showYear:j,position:"absolute",minDate:P,maxDate:V,week:D,onYearReduce:L,onYearAdd:z,onYearMenu:it,onMountOk:ie})}),!Ke&&j&&i.jsx("div",{className:T(Fe?"relative":"absolute inset-0 z-[1]"),children:i.jsx(gc,{year:c,position:Fe?"relative":"absolute",showYearLabel:Fe,minDate:P,maxDate:V,week:D,onYearFReduce:ee,onYearFAdd:M,onSelectYear:Y})})]}),Ke&&i.jsx(gc,{year:c,position:"relative",showYearLabel:!0,minDate:P,maxDate:V,week:D,onYearFReduce:ee,onYearFAdd:M,onSelectYear:Y})]}),N&&le&&i.jsx(gv,{hours:m,minutes:b,seconds:y,year:c,month:d,day:p,format:n,minDate:P,maxDate:V,startTime:F,endTime:R,onHoursChange:ne,onMinutesChange:oe,onSecondsChange:ue})]}),i.jsx(bv,{hasTime:le,hasDay:De,todayCls:n1,onToday:W,onOk:te})]})}function q1({value:e,onChange:t,format:n="yyyy-MM-dd",minDate:r,maxDate:o,week:s,placeholder:a,disabled:l,className:c}){const[u,d]=x.useState(!1),f=x.useCallback((b,g)=>{t==null||t(b),g&&d(!1)},[t]),p=e?cs(e,n):"",h=a!=null?a:yv(n),{portalContainer:m,setTriggerRef:C}=U1("data-bs-date-input-portal");return i.jsxs(ct,{open:u,onOpenChange:d,children:[i.jsx(ut,{asChild:!0,disabled:l,children:i.jsxs("div",{className:T("flex items-center h-[34px] rounded-[4px] bg-white border border-[#e0e0e0] pl-[2px] pr-[10px] py-[2px] cursor-pointer","hover:border-[#0265FF]",u&&"border-[#0265FF]",l&&"opacity-50 cursor-not-allowed",c),ref:C,children:[i.jsx("div",{className:"flex-1 flex items-center justify-center h-[30px] px-[10px] py-[7px] rounded-[4px] min-w-0",children:i.jsx("span",{className:T("flex-1 text-[14px] leading-[normal] truncate",e?"text-[#030303]":"text-[#999999]"),children:p||h})}),i.jsx(zs,{className:"shrink-0 size-[16px] text-[#999999]"})]})}),i.jsx(nt,{className:"w-auto p-0",align:"start",portalContainer:m,children:i.jsx(bc,{value:e,onChange:f,format:n,minDate:r,maxDate:o,week:s})})]})}function yv(e){switch(e){case"yyyy-MM-dd":return"请选择日期";case"yyyy-MM-dd HH:mm:ss":return"请选择日期时间";case"yyyy-MM-dd HH:mm":return"请选择日期时间";case"HH:mm:ss":return"请选择时间";case"HH:mm":return"请选择时间";case"yyyy-MM":return"请选择月份";case"yyyy":return"请选择年份";default:return"请选择日期"}}const wv=({expanded:e})=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:T("shrink-0",re),style:{transform:e?"rotate(0deg)":"rotate(-90deg)"},children:i.jsx("path",{d:"M5 7L8 10L11 7",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),vv=({open:e})=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:T("shrink-0",re),style:{transform:e?"rotate(180deg)":"rotate(0deg)"},children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),Dr={},kv=["text","textarea","password","radio","radiogroup","combo","combocheck","checkboxgroup","address","location","button","separator","user","usergroup","dept","deptgroup","sn","formula","flowState","flowstate","subform","unknown"],jv=["number"],Sv=["datetime"],Lv=["upload","image","linkdata","linkquery","dataload","signature"];for(const e of kv)Dr[e]={label:"文本",bgColor:"#F0F6FF",textColor:"#0265FF"};for(const e of jv)Dr[e]={label:"数字",bgColor:"#FDF4D9",textColor:"#F4B700"};for(const e of Sv)Dr[e]={label:"日期",bgColor:"#EEDEFE",textColor:"#8E24F9"};for(const e of Lv)Dr[e]={label:"附件",bgColor:"#DDF6DD",textColor:"#1EC31E"};function Mv({style:e}){return i.jsx("span",{className:"text-[12px] rounded-[100px] h-[20px] px-[6px] flex items-center justify-center shrink-0 leading-[normal]",style:{backgroundColor:e.bgColor,color:e.textColor},children:e.label})}function fl(e,t){var n;return((n=e.widget)==null?void 0:n.widgetName)||String(t)}function Ev(e,t,n){var r;return((r=t.widget)==null?void 0:r.widgetName)||`${e}-${n}`}function Nv(e,t){var o,s,a,l,c;const n=t.toLowerCase().trim(),r=[];for(let u=0;u<e.length;u++){const d=e[u],f=d.label,p=(o=d.widget)==null?void 0:o.widgetName,h=(s=d.widget)==null?void 0:s.items,m=h==null?void 0:h.filter(v=>"widget"in v),C=m&&m.length>0,b=p||fl(d,u),g=[];if(C)for(let v=0;v<m.length;v++){const S=m[v],j=((a=S.widget)==null?void 0:a.widgetName)||`${b}-item-${v}`,E=`${p}.${j}`;g.push({key:E,label:S.label||`选项 ${v+1}`,field:d,fieldType:(l=S.widget)==null?void 0:l.type,depth:1,children:[],isExpandable:!1,widgetName:E})}const y=!n||f.toLowerCase().includes(n),w=g.some(v=>{var S;return(S=v==null?void 0:v.label)==null?void 0:S.toLowerCase().includes(n)});(y||w)&&r.push({key:b,label:f,field:d,fieldType:(c=d.widget)==null?void 0:c.type,depth:0,children:g,isExpandable:C,widgetName:p})}return r}const ds=({fields:e,selectedKey:t,onSelect:n,searchPlaceholder:r="搜索",showTypeBadge:o=!1,width:s,className:a})=>{const[l,c]=x.useState(""),[u,d]=x.useState(()=>{var b,g;const C=new Set;for(let y=0;y<e.length;y++)(g=(b=e[y].widget)==null?void 0:b.items)!=null&&g.length&&C.add(fl(e[y],y));return C}),f=x.useMemo(()=>Nv(e,l),[e,l]),p=x.useCallback(C=>{d(b=>{const g=new Set(b);return g.has(C)?g.delete(C):g.add(C),g})},[]),h=x.useCallback(C=>{C.isExpandable||C.field&&n(C.field,C.key)},[n]),m=x.useCallback(C=>{const b=u.has(C.key),g=t!=null&&C.key===t,y=C.depth*22+10,w=C.fieldType&&o?Dr[C.fieldType]:void 0,v=()=>{C.isExpandable?p(C.key):h(C)},S=j=>{j.stopPropagation(),p(C.key)};return i.jsxs("div",{children:[i.jsxs("button",{type:"button",onClick:v,className:T("flex items-center justify-between w-full h-[34px] rounded-[4px] text-left","pr-[10px]",re,g?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]"),style:{paddingLeft:`${y}px`,paddingTop:7,paddingBottom:7},children:[i.jsxs("div",{className:"flex items-center gap-[8px] min-w-0 flex-1",children:[C.isExpandable?i.jsx("span",{onClick:S,className:"flex items-center cursor-pointer",children:i.jsx(wv,{expanded:b})}):C.depth>0?i.jsx("span",{className:"w-[16px] h-[16px] shrink-0"}):null,i.jsx("span",{className:"text-[14px] truncate leading-[normal]",children:C.label})]}),w&&i.jsx(Mv,{style:w})]}),C.isExpandable&&b&&i.jsx("div",{children:C.children.map(j=>m(j))})]},C.key)},[u,t,o,h,p]);return i.jsxs("div",{className:T("bg-white drop-shadow-[0px_0px_8px_rgba(0,0,0,0.1)] rounded-[4px] p-[4px]","flex flex-col gap-[4px]",a),style:s?{width:s}:void 0,children:[i.jsxs("div",{className:"flex items-center gap-[6px] border border-[#E0E0E0] rounded-[4px] h-[34px] px-[10px] py-[7px] shrink-0",children:[i.jsx(S1,{}),i.jsx("input",{type:"text",value:l,onChange:C=>c(C.target.value),placeholder:r,className:"flex-1 outline-none text-[14px] placeholder:text-[#999999] bg-transparent min-w-0 text-[#030303]"})]}),i.jsx("div",{className:"max-h-[400px] overflow-y-auto flex flex-col",children:f.length>0?f.map(C=>m(C)):i.jsx("div",{className:"flex items-center justify-center h-[60px] text-[12px] text-[#999999]",children:l.trim()?"未找到相关字段":"暂无字段"})})]})};function Fv(e){var n,r,o;const t=new Map;for(let s=0;s<e.length;s++){const a=e[s],l=fl(a,s);t.set(l,a.label);const c=(n=a.widget)==null?void 0:n.items;if(c)for(let u=0;u<c.length;u++){const d=c[u];if("widget"in d){const f=`${(r=a.widget)==null?void 0:r.widgetName}.${(o=d.widget)==null?void 0:o.widgetName}`;t.set(f,d.label||`选项 ${u+1}`)}else{const f=Ev(l,d,u);t.set(f,d.text||`选项 ${u+1}`)}}}return t}function Tv(e,t){var n;return t&&(n=Fv(e).get(t))!=null?n:null}const pl=({fields:e,value:t,defaultValue:n,onChange:r,placeholder:o="请选择字段",searchPlaceholder:s="输入字段名称来搜索",disabled:a=!1,showTypeBadge:l=!0,className:c})=>{const[u,d]=x.useState(!1),[f,p]=x.useState(n),[h,m]=x.useState(null),[C,b]=x.useState(0),g=x.useRef(null),y=t!==void 0?t:f,w=x.useMemo(()=>Tv(e,y),[e,y]),v=x.useCallback((E,N)=>{t===void 0&&p(N),r==null||r(E,N),d(!1)},[t,r]),S=x.useCallback(E=>{a||(d(E),E&&g.current&&b(g.current.offsetWidth))},[a]),j=x.useCallback(E=>{if(g.current=E,E&&b(E.offsetWidth),!E){m(null);return}const N=E.getRootNode();if(N instanceof ShadowRoot){const O=N.querySelector("[data-bs-field-select-portal]");if(O){m(O);return}const P=document.createElement("div");P.setAttribute("data-bs-field-select-portal","true"),N.appendChild(P),m(P)}else m(null)},[]);return i.jsx("div",{className:T("relative",c),children:i.jsxs(ct,{open:u,onOpenChange:S,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{ref:j,type:"button",disabled:a,className:T("flex items-center justify-between w-full h-[34px]","bg-white border rounded-[4px]","px-[10px] py-[7px]","text-left cursor-pointer","hover:border-[#0265FF]",a&&"opacity-50 cursor-not-allowed hover:border-[#E0E0E0]",u?"border-[#0265FF]":"border-[#E0E0E0]",re),children:[i.jsx("span",{className:T("text-[14px] leading-[normal] truncate",w?"text-[#030303]":"text-[#999999]"),children:w!=null?w:o}),i.jsx(vv,{open:u})]})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:h,className:"!border-0 !p-0",style:{minWidth:C||void 0},children:i.jsx(ds,{fields:e,selectedKey:y,onSelect:v,searchPlaceholder:s,showTypeBadge:l})})]})})},yc=[{value:"before",label:"之前"},{value:"after",label:"之后"},{value:"day",label:"当天"},{value:"time",label:"当时"}];function _v(e){return e==="date"?yc.filter(t=>t.value!=="time"):yc.filter(t=>t.value!=="day")}const Av=({value:e,onChange:t,dateFieldType:n,placeholder:r="请选择偏移类型",disabled:o=!1,className:s})=>{const a=_v(n);return i.jsxs(L1,{value:e,onValueChange:l=>t==null?void 0:t(l),disabled:o,children:[i.jsx(u1,{className:s,children:i.jsx(M1,{placeholder:r})}),i.jsx(d1,{children:a.map(l=>i.jsx(f1,{value:l.value,children:l.label},l.value))})]})},Dv=[{value:"minute",label:"分钟"},{value:"hour",label:"小时"},{value:"day",label:"天"}],Ov=({value:e,onChange:t,placeholder:n="请选择偏移单位",disabled:r=!1,className:o})=>i.jsxs(L1,{value:e,onValueChange:s=>t==null?void 0:t(s),disabled:r,children:[i.jsx(u1,{className:o,children:i.jsx(M1,{placeholder:n})}),i.jsx(d1,{children:Dv.map(s=>i.jsx(f1,{value:s.value,children:s.label},s.value))})]}),Y1=1440,wc=T("h-[34px] px-[10px] py-[7px] rounded-[4px] bg-white border border-[#e0e0e0]","text-[14px] text-[#030303] placeholder:text-[#999999]","focus:outline-none focus:border-[#0265FF]","disabled:bg-[#EFF0F6] disabled:cursor-not-allowed","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none");function Pv(e){return e==="date"?{dateFieldType:"date",offsetType:"day",offsetValue:0,offsetUnit:"minute"}:{dateFieldType:"datetime",offsetType:"time",offsetValue:0,offsetUnit:"minute"}}function vc(e,t){return t==="date"&&e==="time"?"day":t==="datetime"&&e==="day"?"time":e}function Iv(e){const t=Math.max(0,Math.floor(e))%Y1,n=new Date(2024,0,1);return n.setHours(Math.floor(t/60),t%60,0,0),n}function Hv(e){return e.getHours()*60+e.getMinutes()}function kc({value:e,onChange:t,dateFieldType:n,disabled:r=!1,className:o}){const s=e!==void 0,[a,l]=x.useState(()=>e!=null?e:Pv(n)),c=x.useRef(e);x.useEffect(()=>{e!==void 0&&l(e),c.current=e},[e]);const u=e!=null?e:a,d=x.useCallback(O=>{s||l(O),t==null||t(O)},[s,t]),f=vc(u.offsetType,n),p=n==="date"&&(f==="before"||f==="after"),h=n==="datetime"&&(f==="before"||f==="after"),m=n==="date",C=n==="datetime"&&(f==="before"||f==="after"),b=n==="date"?p?u.offsetValue%Y1:u.offsetValue:0,g=Iv(b),y=p?Math.max(0,Math.floor(u.offsetValue/Y1)):1,w=h?u.offsetValue:0,v=x.useCallback(O=>{const P=vc(O,n),V=u.offsetValue%Y1;d(n==="date"?P==="day"?{dateFieldType:"date",offsetType:"day",offsetValue:V,offsetUnit:"minute"}:{dateFieldType:"date",offsetType:P,offsetValue:V,offsetUnit:"minute"}:P==="time"?{dateFieldType:"datetime",offsetType:"time",offsetValue:0,offsetUnit:"minute"}:{dateFieldType:"datetime",offsetType:P,offsetValue:u.offsetValue,offsetUnit:u.offsetUnit})},[n,u.offsetValue,u.offsetUnit,d]),S=x.useCallback(O=>{if(!O)return;const P=Hv(O);if(n==="date")if(f==="day")d({dateFieldType:"date",offsetType:"day",offsetValue:P,offsetUnit:"minute"});else{const V=Math.max(0,Math.floor(u.offsetValue/Y1));d({dateFieldType:"date",offsetType:f,offsetValue:V*Y1+P,offsetUnit:"minute"})}},[n,f,u.offsetValue,d]),j=x.useCallback(O=>{const P=parseInt(O.target.value,10),V=isNaN(P)?0:Math.max(0,P),D=u.offsetValue%Y1;d({dateFieldType:"date",offsetType:f,offsetValue:V*Y1+D,offsetUnit:"minute"})},[f,u.offsetValue,d]),E=x.useCallback(O=>{const P=parseInt(O.target.value,10),V=isNaN(P)?0:Math.max(0,P);d({dateFieldType:"datetime",offsetType:f,offsetValue:V,offsetUnit:u.offsetUnit})},[f,u.offsetUnit,d]),N=x.useCallback(O=>{d({dateFieldType:"datetime",offsetType:f,offsetValue:u.offsetValue,offsetUnit:O})},[f,u.offsetValue,d]);return i.jsxs("div",{className:T("flex items-center gap-[10px]",o),children:[i.jsx(Av,{value:f,onChange:v,dateFieldType:n,disabled:r}),p&&i.jsx("input",{type:"number",value:y,onChange:j,disabled:r,min:0,step:1,className:T(wc,"w-[60px]")}),p&&i.jsx("span",{className:"text-[14px] text-[#030303] shrink-0",children:"天"}),h&&i.jsx("input",{type:"number",value:w,onChange:E,disabled:r,min:0,step:1,className:T(wc,"w-[80px]")}),C&&i.jsx(Ov,{value:u.offsetUnit,onChange:N,disabled:r}),m&&i.jsx(q1,{value:g,onChange:S,format:"HH:mm",disabled:r})]})}function Vv(e){return typeof e=="object"&&e!==null&&"formId"in e}function hl(e,t){var n,r,o,s;return{dateFieldType:"datetime",offsetType:"time",offsetValue:0,offsetUnit:"minute",...t,...e,formId:(r=(n=e.formId)!=null?n:t==null?void 0:t.formId)!=null?r:"",fieldId:(s=(o=e.fieldId)!=null?o:t==null?void 0:t.fieldId)!=null?s:""}}function Rv(e){if(typeof e=="string"||typeof e=="number"){const t=new Date(e);return isNaN(t.getTime())?void 0:t}}function Bv({value:e,onChange:t,forms:n=[],fields:r=[],dateFormat:o="yyyy-MM-dd",disabled:s=!1,className:a}){const l=e==null?void 0:e.type,c=Vv(e==null?void 0:e.customTriggerTimePayload)?e.customTriggerTimePayload:void 0,u=x.useCallback(m=>{t==null||t({type:m})},[t]),d=x.useCallback(m=>{t==null||t({type:"custom",customTriggerTimePayload:m?m.toISOString():void 0})},[t]),f=x.useCallback(m=>{var b;const C=hl({formId:((b=m.form)==null?void 0:b.id)||""},c);t==null||t({type:"date_field",customTriggerTimePayload:C})},[t,c]),p=x.useCallback((m,C)=>{const b=hl({fieldId:C},c);t==null||t({type:"date_field",customTriggerTimePayload:b})},[t,c]),h=x.useCallback(m=>{const C=hl({dateFieldType:m.dateFieldType,offsetType:m.offsetType,offsetValue:m.offsetValue,offsetUnit:m.offsetUnit},c);t==null||t({type:"date_field",customTriggerTimePayload:C})},[t,c]);return i.jsxs("div",{className:T("flex flex-col gap-[10px]",a),children:[i.jsxs("div",{className:"flex gap-[22px] items-start w-full",children:[i.jsx(pc,{className:"flex-1 min-w-0",value:l,onChange:u,disabled:s}),l==="custom"&&i.jsx(q1,{className:"flex-1 min-w-0",value:Rv(e==null?void 0:e.customTriggerTimePayload),onChange:d,format:o,disabled:s}),l==="date_field"&&i.jsx(al,{className:"flex-1 min-w-0",items:n,value:c==null?void 0:c.formId,onChange:f,disabled:s})]}),l==="date_field"&&i.jsxs("div",{className:"flex items-start gap-[10px] w-full",children:[i.jsx(pl,{className:"w-[300px]",fields:r,value:c==null?void 0:c.fieldId,onChange:p,disabled:s}),c&&i.jsx(kc,{value:{dateFieldType:c.dateFieldType,offsetType:c.offsetType,offsetValue:c.offsetValue,offsetUnit:c.offsetUnit},onChange:h,dateFieldType:c.dateFieldType,disabled:s})]})]})}const jc=[{value:"none",label:"不重复触发"},{value:"daily",label:"每天触发一次"},{value:"weekly",label:"每周触发一次"},{value:"everyTwoWeeks",label:"每两周触发一次"},{value:"monthly",label:"每月触发一次"},{value:"yearly",label:"每年触发一次"},{value:"custom",label:"自定义重复"}],Sc=({value:e,onChange:t,placeholder:n="请选择重复类型",disabled:r=!1,className:o})=>i.jsxs(L1,{value:e,onValueChange:s=>t==null?void 0:t(s),disabled:r,children:[i.jsx(u1,{className:o,children:i.jsx(M1,{placeholder:n})}),i.jsx(d1,{children:jc.map(s=>i.jsx(f1,{value:s.value,children:s.label},s.value))})]}),Or=({className:e})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",className:e,children:i.jsx("path",{d:"M7 0C7.91925 -1.93718e-08 8.8295 0.18106 9.67878 0.532843C10.5281 0.884626 11.2997 1.40024 11.9497 2.05025C12.5998 2.70026 13.1154 3.47194 13.4672 4.32122C13.8189 5.17049 14 6.08075 14 7C14 7.91925 13.8189 8.8295 13.4672 9.67878C13.1154 10.5281 12.5998 11.2997 11.9497 11.9497C11.2997 12.5998 10.5281 13.1154 9.67878 13.4672C8.8295 13.8189 7.91925 14 7 14C3.13372 14 1.39103e-08 10.8658 0 7C0 3.13372 3.13372 1.39103e-08 7 0ZM10.1495 3.85C10.0301 3.7308 9.86825 3.66386 9.69953 3.66386C9.53081 3.66386 9.36898 3.7308 9.24956 3.85L7 6.10058L4.74993 3.85C4.6295 3.73566 4.46918 3.67288 4.30313 3.67503C4.13708 3.67718 3.97844 3.7441 3.86102 3.86153C3.7436 3.97895 3.67668 4.13759 3.67452 4.30364C3.67237 4.46968 3.73515 4.63001 3.84949 4.75044L6.10109 7L3.85 9.24956C3.73566 9.36999 3.67288 9.53031 3.67503 9.69636C3.67718 9.86241 3.7441 10.021 3.86153 10.1385C3.97895 10.2559 4.13759 10.3228 4.30364 10.325C4.46969 10.3271 4.63001 10.2643 4.75044 10.15L7 7.8984L9.24956 10.1495C9.37027 10.2621 9.52995 10.3234 9.69497 10.3205C9.85999 10.3177 10.0175 10.2509 10.1342 10.1342C10.2509 10.0175 10.3178 9.86008 10.3208 9.69507C10.3237 9.53005 10.2625 9.37033 10.15 9.24956L7.8984 7L10.1495 4.74993C10.2688 4.63049 10.3359 4.46856 10.3359 4.29971C10.3359 4.13086 10.2688 3.96892 10.1495 3.84949V3.85Z",fill:"#666666"})}),Bn=[{value:"mon",label:"星期一"},{value:"tue",label:"星期二"},{value:"wed",label:"星期三"},{value:"thu",label:"星期四"},{value:"fri",label:"星期五"},{value:"sat",label:"星期六"},{value:"sun",label:"星期日"}],zv=()=>i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M3 3L9 9M9 3L3 9",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round"})}),Lc=({open:e})=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:T("shrink-0",re),style:{transform:e?"rotate(180deg)":"rotate(0deg)"},children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),Mc=({value:e=[],onChange:t,placeholder:n="请选择工作日",disabled:r=!1,className:o})=>{const[s,a]=x.useState(!1),[l,c]=x.useState(!1),u=e.length===Bn.length,d=e.length>0&&e.length<Bn.length,{portalContainer:f,setTriggerRef:p}=U1("data-bs-weekdays-select-portal"),h=x.useCallback(v=>{const S=e.includes(v)?e.filter(j=>j!==v):[...e,v];t==null||t(S)},[e,t]),m=x.useCallback(()=>{u?t==null||t([]):t==null||t(Bn.map(v=>v.value))},[u,t]),C=x.useCallback(v=>{v.stopPropagation(),t==null||t([])},[t]),b=x.useCallback((v,S)=>{S.stopPropagation(),t==null||t(e.filter(j=>j!==v))},[e,t]),g=x.useCallback(v=>{r||a(v)},[r]),y=e.length>0,w=y&&l;return i.jsx("div",{className:T("relative",o),children:i.jsxs(ct,{open:s,onOpenChange:g,children:[i.jsx(ut,{asChild:!0,children:i.jsx("button",{type:"button",disabled:r,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),ref:p,className:T("flex items-center justify-between w-full h-[34px] gap-2.5","bg-white border border-[#E0E0E0] rounded-[4px]","py-[7px]",y?"pl-[4px] pr-[10px]":"px-[10px]","text-left cursor-pointer","hover:border-[#0265FF]",r&&"opacity-50 cursor-not-allowed hover:border-[#E0E0E0]",s&&"border-[#0265FF]",re),children:y?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"flex items-center gap-[4px] min-w-0 flex-1 overflow-x-auto scrollbar-hide",children:e.map(v=>{const S=Bn.find(j=>j.value===v);return i.jsxs("span",{className:"flex items-center gap-[4px] bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px] shrink-0",children:[i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal]",children:S==null?void 0:S.label}),i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:j=>b(v,j),children:i.jsx(zv,{})})]},v)})}),w?i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:C,children:i.jsx(Or,{})}):i.jsx(Lc,{open:s})]}):i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"text-[14px] text-[#999999] leading-[normal] truncate",children:n}),i.jsx(Lc,{open:s})]})})}),i.jsx(nt,{align:"start",sideOffset:4,className:"!border-0 rounded-[8px] shadow-[0px_6px_16px_rgba(0,0,0,0.06)] p-[4px]",portalContainer:f,children:i.jsxs("div",{className:"flex flex-col",children:[i.jsxs("button",{type:"button",onClick:m,className:T("flex items-center gap-[6px] h-[34px] px-[10px] py-[7px] rounded-[4px] text-left","hover:bg-[#EFF0F6]",re),children:[i.jsx(C1,{checked:u,intermediate:d,onCheckedChange:m,className:"shrink-0"}),i.jsx("span",{className:"text-[14px] font-bold text-[#0265FF] leading-[normal]",children:"全选"})]}),Bn.map(v=>{const S=e.includes(v.value);return i.jsxs("button",{type:"button",onClick:()=>h(v.value),className:T("flex items-center gap-[6px] h-[34px] px-[10px] py-[7px] rounded-[4px] text-left","hover:bg-[#EFF0F6]",re),children:[i.jsx(C1,{checked:S,onCheckedChange:()=>h(v.value),className:"shrink-0"}),i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal]",children:v.label})]},v.value)})]})})]})})},Zv=vw,Ec=k.forwardRef(({className:e,...t},n)=>i.jsx(ec,{ref:n,className:T("inline-flex items-center w-full gap-[2px] p-[2px] bg-[#EFF0F6] rounded-[4px]",e),...t}));Ec.displayName=ec.displayName;const ml=k.forwardRef(({className:e,...t},n)=>i.jsx(tc,{ref:n,className:T("inline-flex items-center justify-center w-full h-[30px]","px-[10px] py-[7px] rounded-[4px]","text-[14px] text-[#121111] leading-normal","bg-transparent border border-solid border-[#EFF0F6]","transition-all duration-200 ease-out","outline-none cursor-pointer","hover:text-[#121111] hover:border-[#E0E0E0] hover:bg-white","data-[state=active]:text-[#0265FF] data-[state=active]:border-[#E0E0E0] data-[state=active]:bg-white","focus-visible:ring-2 focus-visible:ring-[#0265FF] focus-visible:ring-offset-1",e),...t}));ml.displayName=tc.displayName;const Cl=k.forwardRef(({className:e,...t},n)=>i.jsx(nc,{ref:n,className:T("mt-2 outline-none","data-[state=inactive]:hidden",e),...t}));Cl.displayName=nc.displayName;const fs=[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"},{value:12,label:"12"},{value:13,label:"13"},{value:14,label:"14"},{value:15,label:"15"},{value:16,label:"16"},{value:17,label:"17"},{value:18,label:"18"},{value:19,label:"19"},{value:20,label:"20"},{value:21,label:"21"},{value:22,label:"22"},{value:23,label:"23"},{value:24,label:"24"},{value:25,label:"25"},{value:26,label:"26"},{value:27,label:"27"},{value:28,label:"28"},{value:29,label:"29"},{value:30,label:"30"},{value:31,label:"31"}],Wv={label:"最后一个自然日"},Nc=7,$v=()=>i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M3 3L9 9M9 3L3 9",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round"})}),Fc=({open:e})=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:T("shrink-0",re),style:{transform:e?"rotate(180deg)":"rotate(0deg)"},children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),Tc=({value:e=[],onChange:t,placeholder:n="请选择日期",disabled:r=!1,className:o})=>{const[s,a]=x.useState(!1),[l,c]=x.useState(!1),[u,d]=x.useState(e),{portalContainer:f,setTriggerRef:p}=U1("data-bs-weekdays-select-portal"),h=s?u:e,m=x.useMemo(()=>h.filter(F=>F!=="last"),[h]),C=x.useMemo(()=>h.includes("last"),[h]),b=m.length===31,g=x.useCallback(F=>{d(R=>R.includes(F)?R.filter(B=>B!==F):[...R,F])},[]),y=x.useCallback(()=>{d(F=>{if(F.filter(U=>U!=="last").length===31)return F.filter(U=>U==="last");const B=fs.map(U=>U.value),$=F.includes("last")?["last"]:[];return[...B,...$]})},[]),w=x.useCallback(()=>{const F=new Date().getDate();d(R=>R.includes(F)?R:[...R,F])},[]),v=x.useCallback(()=>{d(F=>F.includes("last")?F.filter(R=>R!=="last"):[...F,"last"])},[]),S=x.useCallback(()=>{t==null||t(u),a(!1)},[u,t]),j=x.useCallback(F=>{r||(F&&d([...e]),a(F))},[r,e]),E=x.useCallback(F=>{F.stopPropagation(),t==null||t([])},[t]),N=x.useCallback((F,R)=>{R.stopPropagation(),t==null||t(e.filter(B=>B!==F))},[e,t]),O=e.length>0,P=O&&l,V=x.useCallback(F=>F==="last"?"最后一天":`${F}日`,[]),D=x.useMemo(()=>{const F=[];for(let R=0;R<fs.length;R+=Nc)F.push(fs.slice(R,R+Nc));return F},[]);return i.jsx("div",{className:T("relative",o),children:i.jsxs(ct,{open:s,onOpenChange:j,children:[i.jsx(ut,{asChild:!0,children:i.jsx("button",{type:"button",ref:p,disabled:r,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),className:T("flex items-center justify-between w-full h-[34px] gap-2.5","bg-white border border-[#E0E0E0] rounded-[4px]","py-[7px]",O?"pl-[4px] pr-[10px]":"px-[10px]","text-left cursor-pointer","hover:border-[#0265FF]",r&&"opacity-50 cursor-not-allowed hover:border-[#E0E0E0]",s&&"border-[#0265FF]",re),children:O?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"flex items-center gap-[4px] min-w-0 flex-1 overflow-x-auto scrollbar-hide",children:e.map(F=>i.jsxs("span",{className:"flex items-center gap-[4px] bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px] shrink-0",children:[i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal]",children:V(F)}),i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:R=>N(F,R),children:i.jsx($v,{})})]},F))}),P?i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:E,children:i.jsx(Or,{})}):i.jsx(Fc,{open:s})]}):i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"text-[14px] text-[#999999] leading-[normal] truncate",children:n}),i.jsx(Fc,{open:s})]})})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:f,className:"!border-0 rounded-[8px] shadow-[0px_6px_16px_rgba(0,0,0,0.06)] p-0",style:{width:"310px"},children:i.jsxs(Zv,{defaultValue:"specific",children:[i.jsx("div",{className:"px-[4px] pt-[4px] flex justify-center",children:i.jsxs(Ec,{children:[i.jsx(ml,{value:"specific",children:"指定日期"}),i.jsx(ml,{value:"relative",children:"相对日期"})]})}),i.jsxs(Cl,{value:"specific",className:"mt-0",children:[i.jsxs("div",{className:"px-[8px] pt-[8px] pb-[4px]",children:[i.jsxs("button",{type:"button",onClick:y,className:T("flex items-center gap-[6px] w-full h-[34px] px-[10px] py-[7px] rounded-[4px] text-left mb-[4px]","hover:bg-[#EFF0F6]",re),children:[i.jsx(C1,{checked:b,intermediate:m.length>0&&!b,onCheckedChange:y,className:"shrink-0"}),i.jsx("span",{className:"text-[14px] font-bold text-[#0265FF] leading-[normal]",children:"全选"})]}),i.jsx("div",{className:"flex flex-col gap-[2px]",children:D.map((F,R)=>i.jsx("div",{className:"flex gap-[4px]",children:F.map(B=>{const $=m.includes(B.value);return i.jsx("button",{type:"button",onClick:()=>g(B.value),className:T("flex items-center justify-center w-[36px] h-[30px] rounded-[4px]","text-[14px] leading-[normal]","transition-all duration-200 ease-out",$?"bg-[#0265FF] text-white":"text-[#030303] hover:bg-[#EFF0F6]"),children:B.label},B.value)})},R))})]}),i.jsxs("div",{className:"flex items-center justify-between px-[12px] py-[8px] border-t border-[#E0E0E0] mt-[4px]",children:[i.jsx("button",{type:"button",onClick:w,className:T("h-[28px] px-[12px] rounded-[4px] text-[14px]","text-[#0265FF] hover:bg-[#EFF0F6]",re),children:"今天"}),i.jsx("button",{type:"button",onClick:S,className:T("h-[28px] px-[16px] rounded-[4px] text-[14px]","bg-[#0265FF] text-white hover:bg-[#0255DD]",re),children:"确认"})]})]}),i.jsxs(Cl,{value:"relative",className:"mt-0",children:[i.jsx("div",{className:"px-[8px] pt-[8px] pb-[4px]",children:i.jsxs("button",{type:"button",onClick:v,className:T("flex items-center gap-[6px] w-full h-[34px] px-[10px] py-[7px] rounded-[4px] text-left","hover:bg-[#EFF0F6]",re),children:[i.jsx(C1,{checked:C,onCheckedChange:v,className:"shrink-0"}),i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal]",children:Wv.label})]})}),i.jsx("div",{className:"flex items-center justify-center px-[12px] py-[8px] border-t border-[#E0E0E0] mt-[4px]",children:i.jsx("button",{type:"button",onClick:S,className:T("h-[28px] px-[16px] rounded-[4px] text-[14px]","bg-[#0265FF] text-white hover:bg-[#0255DD]",re),children:"确认"})})]})]})})]})})},_c=[{value:"week",label:"按周重复"},{value:"month",label:"按月重复"}],Ac=({value:e,onChange:t,placeholder:n="请选择重复方式",disabled:r=!1,className:o})=>i.jsxs(L1,{value:e,onValueChange:s=>t==null?void 0:t(s),disabled:r,children:[i.jsx(u1,{className:o,children:i.jsx(M1,{placeholder:n})}),i.jsx(d1,{children:_c.map(s=>i.jsx(f1,{value:s.value,children:s.label},s.value))})]}),Uv=T("h-[34px] px-[10px] py-[7px] rounded-[4px] bg-white border border-[#e0e0e0]","text-[14px] text-[#030303] placeholder:text-[#999999]","focus:outline-none focus:border-[#0265FF]","disabled:bg-[#EFF0F6] disabled:cursor-not-allowed","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none","w-[60px]");function qv(){return{repeatBy:"week",interval:1,repeatDetailDates:[]}}function Yv({value:e,onChange:t,disabled:n=!1,className:r}){var m,C,b;const o=e==null?void 0:e.type,s=e==null?void 0:e.customRepeatPreference,a=s==null?void 0:s.repeatBy,l=x.useCallback(g=>{g==="custom"?t==null||t({type:"custom",customRepeatPreference:s!=null?s:qv()}):t==null||t({type:g})},[t,s]),c=x.useCallback(g=>{s&&(t==null||t({type:"custom",customRepeatPreference:{...s,repeatBy:g,repeatDetailDates:[]}}))},[t,s]),u=x.useCallback(g=>{if(!s)return;const y=parseInt(g.target.value,10),w=isNaN(y)?1:Math.max(1,y);t==null||t({type:"custom",customRepeatPreference:{...s,interval:w}})},[t,s]),d=x.useCallback(g=>{s&&(t==null||t({type:"custom",customRepeatPreference:{...s,repeatDetailDates:g}}))},[t,s]),f=x.useCallback(g=>{s&&(t==null||t({type:"custom",customRepeatPreference:{...s,repeatDetailDates:g}}))},[t,s]),p=(m=s==null?void 0:s.repeatDetailDates)!=null?m:[],h=(C=s==null?void 0:s.repeatDetailDates)!=null?C:[];return i.jsxs("div",{className:T("flex flex-col gap-[10px]",r),children:[i.jsx(Sc,{value:o,onChange:l,disabled:n}),o==="custom"&&i.jsxs("div",{className:"flex items-start gap-[10px] w-full",children:[i.jsx(Ac,{className:"w-[200px] shrink-0",value:a,onChange:c,disabled:n}),i.jsx("span",{className:"text-[14px] text-[#030303] leading-[34px] shrink-0",children:"每"}),i.jsx("input",{type:"number",value:(b=s==null?void 0:s.interval)!=null?b:1,onChange:u,disabled:n,min:1,step:1,className:Uv}),i.jsx("span",{className:"text-[14px] text-[#030303] leading-[34px] shrink-0",children:a==="month"?"月":"周"}),a==="week"&&i.jsx(Mc,{className:"flex-1 min-w-0",value:p,onChange:d,disabled:n}),a==="month"&&i.jsx(Tc,{className:"flex-1 min-w-0",value:h,onChange:f,disabled:n})]})]})}const Dc=({flipped:e})=>i.jsx("svg",{width:"40",height:"4",viewBox:"0 0 40 4",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block",flexShrink:0},children:e?i.jsxs(i.Fragment,{children:[i.jsx("circle",{cx:"2",cy:"2",r:"2",fill:"#D9D9D9"}),i.jsx("path",{d:"M10 2H40",stroke:"#E0E0E0"})]}):i.jsxs(i.Fragment,{children:[i.jsx("path",{d:"M0 2H30",stroke:"#E0E0E0"}),i.jsx("circle",{cx:"38",cy:"2",r:"2",fill:"#D9D9D9"})]})}),Gv=({children:e,className:t})=>i.jsxs("div",{className:T("flex items-center justify-center gap-[10px]",t),children:[i.jsx(Dc,{}),e!=null&&i.jsx("span",{className:"text-[#999] text-[14px] whitespace-nowrap leading-[normal] shrink-0",children:e}),i.jsx(Dc,{flipped:!0})]}),Oc=[{value:"eq",label:wt.eq},{value:"neq",label:wt.neq},{value:"gt",label:wt.gt},{value:"lt",label:wt.lt},{value:"gte",label:wt.gte},{value:"lte",label:wt.lte},{value:"contains",label:wt.contains},{value:"not_contains",label:wt.not_contains},{value:"in",label:wt.in},{value:"nin",label:wt.nin},{value:"all",label:wt.all},{value:"empty",label:wt.empty},{value:"not_empty",label:wt.not_empty},{value:"range",label:wt.range}],Pc=({value:e,defaultValue:t="eq",onChange:n,operators:r,borderless:o=!1,disabled:s=!1,className:a})=>{var y,w;const[l,c]=x.useState(!1),[u,d]=x.useState(t),[f,p]=x.useState(null),h=x.useMemo(()=>{if(!r||r.length===0)return Oc;const v=new Set(r);return Oc.filter(S=>v.has(S.value))},[r]),m=(()=>{const v=e!==void 0?e:u;return h.length>0&&!h.find(S=>S.value===v)?h[0].value:v})(),C=(w=(y=h.find(v=>v.value===m))==null?void 0:y.label)!=null?w:"",b=x.useCallback(v=>{e===void 0&&d(v),n==null||n(v),c(!1)},[e,n]),g=x.useCallback(v=>{if(!v){p(null);return}const S=v.getRootNode();if(S instanceof ShadowRoot){const j=S.querySelector("[data-bs-relational-operator-select-portal]");if(j){p(j);return}const E=document.createElement("div");E.setAttribute("data-bs-relational-operator-select-portal","true"),S.appendChild(E),p(E)}else p(null)},[]);return i.jsx("div",{className:T("relative inline-flex",a),children:i.jsxs(ct,{open:l,onOpenChange:c,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{ref:g,type:"button",disabled:s,className:T("flex items-center justify-between gap-[10px]","min-w-[82px] px-[10px] w-full","text-left cursor-pointer",o?"h-[34px] bg-transparent":T("h-[31px] bg-white border rounded-[4px]",l?"border-[#0265FF]":"border-[#E0E0E0] hover:border-[#0265FF]"),s&&"opacity-50 cursor-not-allowed",!s&&!o&&"hover:border-[#0265FF]",re),children:[i.jsx("span",{className:"text-[14px] leading-[normal] text-[#030303] truncate",children:C}),i.jsx("span",{className:T("shrink-0 flex items-center justify-center w-[16px] h-[16px] text-[#666666]",re,l&&"rotate-180"),children:i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:f,className:"!border-0 rounded-[10px] shadow-[0px_0px_5px_rgba(0,0,0,0.04)] p-[4px] min-w-[82px]",children:i.jsx("div",{className:"flex flex-col gap-0 max-h-[320px] overflow-y-auto",children:h.map(v=>i.jsx("button",{type:"button",onClick:()=>b(v.value),className:T("h-[34px] px-[10px] rounded-[4px] text-left text-[14px] leading-[normal] whitespace-nowrap shrink-0",m===v.value?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]",re),children:v.label},v.value))})})]})})},Xv=({avatar:e,width:t,onDockClick:n,onCloseClick:r,draggable:o,isDragging:s,isDocked:a,onDragStart:l})=>i.jsxs("div",{className:T("flex items-center justify-between","px-4","h-[52px] min-w-[200px]",{"w-full":!t,[`w-[${t}px]`]:t,"cursor-grab":o&&!s,"cursor-grabbing":s}),style:{backgroundImage:G2,backgroundSize:"cover",backgroundRepeat:"no-repeat"},onMouseDown:o?l:void 0,children:[e,i.jsxs("div",{className:"actions flex items-center gap-2.5 text-[#666]",children:[i.jsx(Vt,{onMouseDown:c=>{c.stopPropagation()},tooltip:a?"悬浮":"右侧打开",icon:a?i.jsx(a3,{}):i.jsx(i3,{}),onClick:n}),i.jsx(Vt,{icon:i.jsx(Bi,{}),onClick:r})]})]}),Ic=({defaultChecked:e=!1,checked:t,onCheckedChange:n,children:r,disabled:o=!1,className:s})=>{const[a,l]=x.useState(e),c=t!==void 0,u=c?t:a,d=()=>{if(o)return;const f=!u;c||l(f),n==null||n(f)};return i.jsxs("button",{type:"button",role:"checkbox","aria-checked":u,disabled:o,onClick:d,className:T("inline-flex items-center gap-[6px] cursor-pointer select-none","text-[#121111] text-[14px]",o&&"cursor-not-allowed opacity-50",s),children:[i.jsx("span",{className:T("inline-flex items-center justify-center w-4 h-4 rounded-full transition-colors duration-200 box-border border",u?"bg-[#2E60FF] border-transparent":"bg-white border-[#e0e0e0]"),children:u&&i.jsx("span",{className:"text-white",children:i.jsx($i,{})})}),r&&i.jsx("span",{className:"text-sm",children:r})]})},Kv=({defaultChecked:e=!1,checked:t,onCheckedChange:n,title:r,description:o,disabled:s=!1,className:a})=>{const[l,c]=x.useState(e),u=t!==void 0,d=u?t:l,f=()=>{if(s)return;const p=!d;u||c(p),n==null||n(p)};return i.jsxs("button",{type:"button",role:"checkbox","aria-checked":d,disabled:s,onClick:f,className:T("flex flex-col gap-[6px] p-[10px] rounded-[4px] cursor-pointer select-none","border border-[#e0e0e0]",s&&"cursor-not-allowed opacity-50",a),children:[i.jsxs("div",{className:"inline-flex items-center gap-[6px]",children:[i.jsx(Ic,{checked:d,onCheckedChange:p=>{d||f()},disabled:s}),i.jsx("span",{className:"text-[#030303] text-[14px]",children:r})]}),i.jsx("p",{className:"text-[#666] text-[12px] pl-[22px]",children:o})]})},xl=({title:e,content:t,icon:n,disableExpand:r,children:o,defaultOpen:s})=>{const[a,l]=x.useState(s);return i.jsxs("div",{className:"bg-[#fafafa] border border-[#e0e0e0] border-solid flex flex-col gap-2.5 p-2.5 rounded-lg w-full",children:[i.jsxs("div",{className:T("flex items-center justify-between w-full",{"cursor-pointer":!r}),onClick:()=>{r||l(!a)},children:[i.jsxs("div",{className:"flex gap-2.5 items-center",children:[i.jsx("div",{className:"w-4 h-4 shrink-0 flex items-center",children:n||i.jsx(c3,{})}),i.jsx("p",{className:"text-[#666] text-[14px] leading-normal",children:e})]}),i.jsx("button",{onClick:()=>{r||l(!a)},className:T("flex items-center justify-center w-5 h-5 rounded-[4px] cursor-pointer hover:bg-[#EFF0F6]",re,{"pointer-events-none opacity-0":r}),children:i.jsx(Oo,{isOpen:a})})]}),a&&!r&&i.jsx("div",{className:"text-[#121111] text-[14px] word-wrap",children:t||o})]})};function Hc({open:e,onOpenChange:t,title:n,description:r,linkText:o="留在此页",onLinkClick:s,cancelText:a="不保存",onCancel:l,confirmText:c="保存并继续",onConfirm:u,container:d,showLink:f=!0,showCancel:p=!0}){const h={borderRadius:4,padding:"6px 20px"};return i.jsx(X4,{open:e,onOpenChange:t,children:i.jsxs(ai,{container:d,className:T("w-[480px] max-w-[480px] p-0 gap-0 rounded-[10px] border-none","shadow-[0px_0px_10px_0px_rgba(0,0,0,0.04)]","[&>button]:hidden"),children:[i.jsxs(li,{className:"flex flex-row items-start gap-[10px] p-9 pb-0",children:[i.jsx("div",{className:"size-[30px] shrink-0 text-[#0265FF]",children:i.jsx(p3,{})}),i.jsxs("div",{className:"flex flex-col gap-2",children:[i.jsx(ui,{className:"text-[16px] font-[700] text-[#030303] leading-normal",children:n}),r&&i.jsx(di,{className:"text-[14px] text-[#666] leading-normal",children:r})]})]}),i.jsxs(ci,{className:"flex flex-row items-center !justify-between p-9 pt-6",children:[f?i.jsx("button",{type:"button",className:"text-[14px] text-[#0265ff] hover:text-[#0265ff]/80 bg-transparent border-none cursor-pointer",onClick:s||(()=>{console.log("Link clicked"),t==null||t(!1)}),children:o}):i.jsx("div",{}),i.jsxs("div",{className:"flex items-center gap-3",children:[p&&i.jsx(Xo,{className:"hover:text-[#121111]",onClick:l,children:a}),i.jsx("button",{type:"button",onClick:u,style:h,className:T("text-[14px] text-white bg-[#0265ff]","hover:bg-[#0265ff]/80 cursor-pointer border-none"),children:c})]})]})]})})}function Qv(e){const t=[];let n=0;for(;n<e.length;){const r=e[n];if(r.isSubForm){const o=[];let s=n+1;for(;s<e.length&&e[s].isFieldInSubForm&&e[s].parentFormName===r.fieldName;)o.push(e[s]),s++;t.push({kind:"subform",parent:r,children:o}),n=s}else t.push({kind:"field",field:r}),n++}return t}const Bt="flex items-center px-1.5 py-2.5 text-xs leading-normal";function Vc({field:e,isSubFormChild:t=!1}){return i.jsxs("div",{className:"flex items-center w-full",children:[i.jsxs("div",{className:T(Bt,"w-20 shrink-0 min-h-[34px]"),children:[t&&i.jsx("span",{className:"inline-flex items-center justify-center shrink-0 w-5 h-5 opacity-0",children:i.jsx(Oo,{})}),i.jsx("span",{children:e.fieldName})]}),i.jsx("div",{className:T(Bt,"w-[72px] shrink-0 min-h-[34px]"),children:e.type}),i.jsx("div",{className:T(Bt,"w-9 shrink-0 min-h-[34px]"),children:e.required?"是":"否"}),i.jsx("div",{className:T(Bt,"flex-1 min-w-0 min-h-[34px]"),children:i.jsx("span",{className:"break-words min-w-0",children:e.description})})]})}function Jv({parent:e,children:t}){const[n,r]=x.useState(!0),o=x.useCallback(()=>r(s=>!s),[]);return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center w-full",children:[i.jsxs("div",{className:T(Bt,"w-20 shrink-0 min-h-[34px]"),children:[i.jsx("button",{type:"button",onClick:o,className:"inline-flex items-center justify-center shrink-0 w-5 h-5 rounded cursor-pointer text-[#666] relative -left-[2px]",children:i.jsx(Oo,{isOpen:n})}),i.jsx("span",{children:e.fieldName})]}),i.jsx("div",{className:T(Bt,"w-[72px] shrink-0 min-h-[34px] "),children:e.type}),i.jsx("div",{className:T(Bt,"w-9 shrink-0 min-h-[34px]"),children:e.required?"是":"否"}),i.jsx("div",{className:T(Bt,"flex-1 min-w-0 min-h-[34px]"),children:i.jsx("span",{className:"break-words min-w-0",children:e.description})})]}),n&&t.map((s,a)=>i.jsx(Vc,{field:s,isSubFormChild:!0},a))]})}function ek({fields:e}){const t=x.useMemo(()=>Qv(e),[e]);return i.jsxs("div",{className:"flex flex-col items-start w-full bg-white rounded-[10px] overflow-hidden text-black my-[10px] border border-[#E0E0E0]",children:[i.jsxs("div",{className:"flex items-center w-full shrink-0 bg-[#E5E6EB] rounded-t-[10px] border-b border-[#E0E0E0]",children:[i.jsx("div",{className:T(Bt,"w-20 shrink-0 h-[34px] font-bold"),children:"名称"}),i.jsx("div",{className:T(Bt,"w-[72px] shrink-0 h-[34px] font-bold"),children:"类型"}),i.jsx("div",{className:T(Bt,"w-9 shrink-0 h-[34px] font-bold justify-center"),children:"必填"}),i.jsx("div",{className:T(Bt,"flex-1 min-w-0 h-[34px] font-bold"),children:"说明"})]}),i.jsx("div",{className:"flex flex-col items-start w-full",children:t.map((n,r)=>n.kind==="field"?i.jsx(Vc,{field:n.field},r):i.jsx(Jv,{parent:n.parent,children:n.children},r))})]})}const tk=()=>i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex gap-[2px] flex-shrink-0 relative -left-[4px] top-[3px]",children:[i.jsx("div",{className:"w-[2px] h-[2px] rounded-full bg-[#0265FF] flex-shrink-0",style:{animation:"pulse 1.4s ease-in-out infinite",animationDelay:"0s",marginRight:"2px"}}),i.jsx("div",{className:"w-[2px] h-[2px] rounded-full bg-[#0265FF] flex-shrink-0",style:{animation:"pulse 1.4s ease-in-out infinite",animationDelay:"0.2s",marginRight:"2px"}}),i.jsx("div",{className:"w-[2px] h-[2px] rounded-full bg-[#0265FF] flex-shrink-0",style:{animation:"pulse 1.4s ease-in-out infinite",animationDelay:"0.4s"}})]}),i.jsx("style",{children:`
|
|
162
|
-
@keyframes pulse {
|
|
163
|
-
0%, 60%, 100% {
|
|
164
|
-
opacity: 0.3;
|
|
165
|
-
transform: scale(1);
|
|
166
|
-
}
|
|
167
|
-
30% {
|
|
168
|
-
opacity: 1;
|
|
169
|
-
transform: scale(1.2);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
`})]}),Rc=({children:e,loading:t=!0})=>{const r=t?14:0,o=16,s=x.useRef(null),[a,l]=x.useState(0),c=a+38+r+o;return x.useLayoutEffect(()=>{if(s.current){const u=s.current.getBoundingClientRect();l(u.width)}},[e]),x.useEffect(()=>{if(s.current){const u=s.current.getBoundingClientRect();console.log("rect.width",u.width),l(u.width)}},[]),i.jsx(Ua,{borderRadius:100,width:c,height:34,borderWidth:1,children:i.jsxs("div",{className:"flex items-center gap-[6px] h-[31px] ml-[16px]",children:[i.jsx("div",{className:"shrink-0",children:i.jsx(u3,{})}),i.jsx("span",{className:"text-[14px] text-[#0265FF] shrink-0",ref:s,children:e||"字段生成中"}),t&&i.jsx(tk,{})]})})},gl=({children:e,className:t,...n})=>i.jsx("div",{className:T("flex flex-col gap-2.5 overflow-hidden p-0 text-foreground text-[14px]","group-[.is-user]:bg-primary group-[.is-user]:text-primary-foreground","group-[.is-assistant]:bg-secondary group-[.is-assistant]:text-foreground","is-user:dark overflow-visible",t),...n,children:e}),nk=({children:e,className:t,avatarJsx:n})=>n?i.jsx("div",{className:T("group/message w-full"),"data-role":"assistant","data-testid":"message-assistant",children:i.jsxs("div",{className:"flex w-full flex-col items-start justify-start gap-2.5",children:[n,i.jsx("div",{className:"flex flex-col min-w-0 grow gap-2.5 w-full",children:i.jsx(gl,{className:"w-full wrap-break-words rounded-2 bg-transparent px-0 py-0 text-left","data-testid":"message-content",children:e})})]})}):i.jsx("div",{children:i.jsx(gl,{className:T("w-fit wrap-break-words rounded-2 bg-transparent px-0 py-0 text-left",t),"data-testid":"message-content",children:e})}),Bc=({children:e,width:t,height:n,style:r,childrenContainerStyle:o})=>i.jsxs("div",{style:{position:"relative",width:t!=null?t:"100%",height:n!=null?n:"100%",overflow:"hidden",borderRadius:"10px 10px 0 0",...r},children:[i.jsx("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,background:"#F4FFFC"}}),i.jsx("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,background:"radial-gradient(circle at 25% -15%, #EEFFCE 0%, transparent 55%)",filter:"blur(70px)",animation:"floatCircle1 4s ease-in-out infinite"}}),i.jsx("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,background:"radial-gradient(circle at 80% 200%, #CEFFFB 0%, transparent 45%)",filter:"blur(70px)",animation:"floatCircle2 5s ease-in-out infinite 0.5s"}}),i.jsx("div",{style:{position:"relative",zIndex:1,width:"100%",height:"100%",...o},children:e}),i.jsx("style",{children:`
|
|
173
|
-
@keyframes floatCircle1 {
|
|
174
|
-
0%, 100% {
|
|
175
|
-
transform: translate(0%, 0%) scale(1.2);
|
|
176
|
-
opacity: 1;
|
|
177
|
-
}
|
|
178
|
-
25% {
|
|
179
|
-
transform: translate(-15%, 20%) scale(1.6);
|
|
180
|
-
opacity: 0.95;
|
|
181
|
-
}
|
|
182
|
-
50% {
|
|
183
|
-
transform: translate(12%, -15%) scale(0.9);
|
|
184
|
-
opacity: 1;
|
|
185
|
-
}
|
|
186
|
-
75% {
|
|
187
|
-
transform: translate(-10%, 10%) scale(1.4);
|
|
188
|
-
opacity: 0.9;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
@keyframes floatCircle2 {
|
|
193
|
-
0%, 100% {
|
|
194
|
-
transform: translate(0%, 0%) scale(1.1);
|
|
195
|
-
opacity: 1;
|
|
196
|
-
}
|
|
197
|
-
30% {
|
|
198
|
-
transform: translate(18%, -12%) scale(1.5);
|
|
199
|
-
opacity: 1;
|
|
200
|
-
}
|
|
201
|
-
60% {
|
|
202
|
-
transform: translate(-12%, 15%) scale(0.85);
|
|
203
|
-
opacity: 0.95;
|
|
204
|
-
}
|
|
205
|
-
85% {
|
|
206
|
-
transform: translate(14%, -8%) scale(1.3);
|
|
207
|
-
opacity: 0.9;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
`})]}),zc=({title:e,tips:t,style:n,confirmContent:r,confirmTitle:o,className:s,active:a,onBackClick:l,onSave:c,closeBtnLabel:u,onCancel:d,onClear:f,variant:p="fields-previewer",dialogContainer:h,disableConfirm:m,disableOperation:C,customOperationElement:b})=>{const[g,y]=x.useState(!1),[w,v]=x.useState(!1),[S,j]=x.useState(null),E=x.useCallback(U=>{if(!U){j(null);return}const Z=U.getRootNode();if(Z instanceof ShadowRoot){const J=Z.querySelector("[data-bs-dialog-portal]");if(J){j(J);return}const L=document.createElement("div");L.setAttribute("data-bs-dialog-portal","true"),Z.appendChild(L),j(L)}else j(null)},[]),N=et("w-[94px] h-[34px] flex items-center justify-center rounded-[4px]"),O=p==="data-previewer",P=p==="fields-previewer",V=et("font-[700]",{"text-[16px]":P,"text-[18px]":O}),D=h||S||void 0,F=b||i.jsxs("div",{className:"flex items-center gap-[10px]",children:[f&&i.jsx(Xo,{className:T("w-[34px] h-[34px] text-[#8d8d8d] p-0 flex items-center justify-center hover:border-[#e0e0e0] hover:text-[#8d8d8d] border border-solid border-[#e0e0e0] ",{"pointer-events-none opacity-50":C||w}),tooltip:"清除全部",icon:i.jsx(w3,{}),onClick:()=>{f==null||f()}}),c&&i.jsxs("button",{onClick:async()=>{v(!0);try{await c()}catch(U){console.error("Save failed:",U)}finally{v(!1)}},className:et(N,"flex items-center gap-[6px]","bg-[#0265FF] hover:opacity-90 text-white text-[14px]",{"w-[115px]":O,"pointer-events-none opacity-50":C||w}),children:[w?i.jsx(z3,{}):null,P?"保存":"添加到表单"]}),d&&i.jsx("button",{onClick:()=>{if(m){d==null||d(),l==null||l();return}y(!0)},className:et(N,"text-[#121111] text-[14px] bg-[#fff] border border-solid border-[#e0e0e0] hover:bg-[#f0f0f0]",{"pointer-events-none opacity-50":w}),children:u||"取消"})]}),R=i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center gap-3",children:[O?null:i.jsx(Vt,{icon:i.jsx(C3,{}),onClick:()=>{if(m){d==null||d(),l==null||l();return}y(!0)},className:"text-[#0265FF] hover:text-[#0265FF]"}),i.jsx("span",{className:V,children:e}),t&&a&&i.jsxs("div",{className:"flex items-center gap-[6px] text-[#999999] text-[12px]",children:[i.jsx(h3,{}),t]})]}),F,i.jsx(Hc,{container:D,open:g,onOpenChange:y,title:o||"AI表单搭建有修改,是否保存?",description:r||"您修改了AI表单搭建但没有保存,是否需要保存并继续?",onLinkClick:()=>y(!1),onCancel:()=>{y(!1),d==null||d(),l==null||l()},onConfirm:async()=>{y(!1),v(!0);try{await(c==null?void 0:c(!0))}catch(U){console.error("Save failed:",U)}finally{v(!1)}}})]}),B=et({"border-b border-solid border-[#e0e0e0]":!a&&P,"border-none":O});if(a)return i.jsx("div",{ref:E,children:i.jsx(Bc,{height:52,style:n,childrenContainerStyle:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 20px"},children:R})});const $=et({"px-[20px]":P,"px-[10px]":O});return i.jsx("div",{ref:E,style:n,className:et("w-full h-[52px] flex items-center justify-between",$,s,B),children:R})},rk=()=>i.jsx("div",{style:{borderRadius:10,width:"100%",height:"100%",border:"1px dashed var(---e0e0e0, #E0E0E0)"}}),Zc=x.forwardRef(({zIndex:e=1,children:t,title:n,tips:r,active:o,fullscreen:s,padding:a=10,className:l,empty:c,rightSpaceWidth:u,rightSpaceRef:d,rightElement:f,streaming:p,streamingText:h,onBackClick:m,dialogContainer:C,disableShadowContainer:b,variant:g="fields-previewer",onSave:y,onCancel:w,onClear:v,style:S,confirmContent:j,fullContent:E,confirmTitle:N,containerStyle:O,readonly:P,closeBtnLabel:V,disableOperation:D,disableConfirm:F,customOperationElement:R},B)=>{const $=s?0:a,U=s?0:u,[Z,J]=x.useState(null),L=g==="fields-previewer",z=g==="data-previewer",ee=et({"m-[20px]":L,"mx-[12px] mb-[10px]":z,"p-[10px]":L,"p-0":z,"opacity-60":p&&L,"w-[calc(100%-40px)] h-[calc(100%-90px)] relative overflow-x-hidden overflow-y-auto":L,"w-[calc(100%-24px)] h-[calc(100%-62px)] relative overflow-x-hidden overflow-y-auto":z,"rounded-[4px] bg-white":z}),M=E?{width:"100%",height:"100%",padding:0,margin:0}:{},{shadowContainer:Y}=Hs({id:"dialog-container",rootEl:C,style:O,wrapperStyle:{zIndex:Date.now(),position:"absolute",width:"100%",height:"100%",pointerEvents:"none"}}),ie=i.jsxs(i.Fragment,{children:[i.jsx(zc,{title:n,tips:r,active:o,variant:g,className:l,onBackClick:m,onSave:p?void 0:y,onCancel:p?void 0:w,style:S,dialogContainer:b?Z:Y||Z,confirmTitle:N,confirmContent:j,closeBtnLabel:V,disableOperation:D,disableConfirm:F,onClear:v,customOperationElement:R}),i.jsxs("div",{className:ee,style:M,children:[c&&L?i.jsx(rk,{}):t,P&&i.jsx("div",{className:"absolute inset-0 z-50 cursor-not-allowed"})]}),p&&i.jsx("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2",children:i.jsx(Rc,{children:h})})]}),K=L?i.jsx(Ua,{width:U?`calc(100% - ${U}px)`:"100%",style:{overflow:"hidden"},children:ie}):i.jsx("div",{className:"h-full",style:{width:U?`calc(100% - ${U}px)`:"100%"},children:ie}),W=i.jsx("div",{style:{width:s?0:u,position:"absolute",top:0,right:0,pointerEvents:s?"none":"auto"},className:"h-full",ref:te=>{te&&(d==null||d(te))},children:f});return i.jsx(r3,{delayDuration:100,zIndex:e,children:i.jsxs(za,{zIndex:e,padding:L?$:0,disableGradient:s||!L,bgColor:L?"#fff":"#F5F7FA",ref:J,children:[s?ie:K,W]})})}),ok=({portalEl:e,children:t,...n})=>{const{shadowContainer:r}=Hs({rootEl:e,id:"chat-sdk-fields-portal"});return r1.createPortal(i.jsx(Zc,{...n,children:t}),r)},Wc=({text:e="确认",prefixDesc:t,className:n,disabled:r,light:o,icon:s,children:a,...l})=>{const c=i.jsxs(Jn,{...l,variant:"default",disabled:r,className:T("px-[10px] py-0 rounded-[100px] text-[14px] leading-normal h-[34px] min-w-[100px] cursor-pointer w-full disabled:opacity-100 gap-[6px] shadow-none",r?"bg-[#f0f0f0] text-[#999] cursor-not-allowed shadow-none":o?"bg-[#F0F6FF] text-[#0265FF] hover:bg-[#0265FF] hover:text-white":"bg-[#0265ff] text-white hover:bg-[#0265ff]/80",re,{"!bg-[#E5E6EB] !text-[#121111] shadow-none font-[400]":l.disabledWithInfo},n),children:[s,a||e]});return t?i.jsxs("div",{className:"flex flex-col items-start gap-2.5",children:[i.jsx("p",{className:"text-[#4D609F]",children:t}),c]}):c},bl=({size:e=36,code:t,style:n})=>{const r=e*.238,o=e*.6875;return i.jsx("div",{className:"relative flex items-center justify-center bg-[#0265ff] flex-shrink-0 text-white",style:{width:e,height:e,borderRadius:r,fontSize:o,...n},children:i.jsx(as,{code:t||Vs[0].code,style:{fontSize:o}})})},sk=x.memo(({name:e,onNameChange:t,onMount:n,selectedIcon:r=Vs[0],iconOptions:o=[],onIconChange:s,readonly:a,onConfirm:l,expanded:c,onExpandedChange:u,className:d})=>{const[f,p]=x.useState(!1),[h,m]=x.useState(!1),C=c!=null?c:f,b=S=>{p(S),u==null||u(S)},[g,y]=x.useState(e),[w,v]=x.useState(r);return x.useEffect(()=>{n==null||n()},[]),!C||a?i.jsxs("div",{className:T("bg-white hover:bg-[#fafafa] border border-[#e0e0e0] rounded-[10px] px-[10px] py-0 flex items-center justify-between h-[56px] cursor-pointer",re,d,"duration-100"),onClick:()=>{a||b(!0)},children:[i.jsxs("div",{className:"flex items-center gap-[10px] min-w-0 flex-1 mr-[10px]",children:[i.jsx(bl,{size:36,code:w==null?void 0:w.code}),i.jsx("p",{className:"text-[14px] text-black leading-normal truncate",children:g})]}),i.jsx("button",{onClick:()=>{a||b(!0)},className:T("w-[16px] h-[16px] flex items-center justify-center cursor-pointer hover:text-[#0265ff]",re,{"pointer-events-none opacity-0":a}),children:i.jsx(dr,{})})]}):i.jsxs("div",{className:T("bg-[#fafafa] border border-[#e0e0e0] rounded-[10px] p-[12px] flex flex-col gap-[22px]",re,d,"duration-100"),children:[i.jsxs("div",{className:"flex flex-col gap-[10px] w-full",children:[i.jsx("p",{className:"text-[14px] text-[#030303] font-bold leading-normal",children:"名称"}),i.jsx("input",{type:"text",value:g,onChange:S=>{y(S.target.value)},onBlur:()=>{t==null||t(g)},className:T("bg-white border border-[#e0e0e0] rounded-[4px] h-[34px] px-[10px] py-[7px] w-full","text-[14px] text-[#030303] leading-normal outline-none","focus:border-[#0265ff]","hover:border-[#0265ff]",re)})]}),i.jsxs("div",{className:"flex flex-col gap-[10px] w-full",children:[i.jsx("p",{className:"text-[14px] text-[#030303] font-bold leading-normal",children:"图标"}),i.jsxs("div",{className:"relative",style:{zIndex:10},children:[i.jsxs("button",{onClick:()=>m(!h),className:T("bg-white border border-[#e0e0e0] rounded-[4px] h-[34px] px-[10px] py-[7px] w-full","flex items-center justify-between cursor-pointer","hover:border-[#0265ff]",re),children:[i.jsx("div",{className:"flex items-center",children:i.jsx(bl,{size:16,code:w==null?void 0:w.code})}),i.jsx("div",{className:T("text-[#666]",re,h&&"rotate-180"),children:i.jsx(py,{size:16})})]}),h&&o.length>0&&i.jsx("div",{className:T("absolute top-full left-0 mt-[4px] bg-white rounded-[10px] shadow-md z-10 p-[12px]",re),children:i.jsx("div",{className:"grid grid-cols-6 gap-[8px]",children:o.map(S=>i.jsx("button",{onClick:()=>{s==null||s(S),v(S),m(!1)},className:T("aspect-square rounded-[9.5px] border flex items-center justify-center cursor-pointer overflow-hidden",(w==null?void 0:w.id)===S.id?"border-[#0265ff] border-2":"border-[#e0e0e0] hover:bg-[#eff0f6]",re),title:S.label,children:i.jsx(bl,{code:S.code,style:{background:"transparent",color:"#0265ff"}})},S.id))})})]})]}),i.jsx(Wc,{text:"确认",onClick:()=>{l==null||l(g,(w==null?void 0:w.value)||25),b(!1)}})]})},(e,t)=>{var n,r;return e.name===t.name&&((n=e.selectedIcon)==null?void 0:n.id)===((r=t.selectedIcon)==null?void 0:r.id)&&e.expanded===t.expanded&&e.iconOptions===t.iconOptions}),ik={countDistinct:"去重计数",count:"计数",sum:"求和",max:"最大值",min:"最小值",average:"平均"};var $c;(function(e){e.NONE="none",e.SHALLOW="shallow",e.DEEP="deep"})($c||($c={}));var Uc;(function(e){e[e.ByToken=1]="ByToken",e[e.ByDuration=2]="ByDuration",e[e.ByTimes=3]="ByTimes"})(Uc||(Uc={}));const ak={sum:"#3767F1",max:"#F06648",min:"#4ACC8C",average:"#4AC0EC",count:"#9362CE",countDistinct:"#F168B6"},lk=({type:e,className:t})=>i.jsx("span",{className:T("inline-flex items-center justify-center rounded-[100px] px-[6px] text-[14px] leading-[20px] text-white",t),style:{backgroundColor:ak[e]},children:ik[e]}),ck=e=>i.jsxs("div",{className:et("flex items-center gap-[6px]",e.className),children:[i.jsxs("div",{className:"flex gap-[2px] flex-shrink-0",style:{marginRight:"6px"},children:[i.jsx("div",{className:"w-[5px] h-[5px] rounded-full bg-[#999] flex-shrink-0",style:{animation:"pulse 1.0s ease-in-out infinite",animationDelay:"0s",width:"5px",height:"5px",background:"#999",marginRight:"3px"}}),i.jsx("div",{className:"w-[5px] h-[5px] rounded-full bg-[#999] flex-shrink-0",style:{animation:"pulse 1.0s ease-in-out infinite",width:"5px",height:"5px",background:"#999",animationDelay:"0.2s",marginRight:"3px"}}),i.jsx("div",{className:"w-[5px] h-[5px] rounded-full bg-[#999] flex-shrink-0",style:{animation:"pulse 1.0s ease-in-out infinite",width:"5px",height:"5px",marginRight:"3px",background:"#999",animationDelay:"0.4s"}})]}),i.jsx("span",{className:"text-[14px] text-[#999]",children:e.children||"处理中"}),i.jsx("style",{children:`
|
|
211
|
-
@keyframes pulse {
|
|
212
|
-
0%, 60%, 100% {
|
|
213
|
-
opacity: 0.3;
|
|
214
|
-
transform: scale(1);
|
|
215
|
-
}
|
|
216
|
-
30% {
|
|
217
|
-
opacity: 1;
|
|
218
|
-
transform: scale(1.2);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
`})]}),Pr=({defaultChecked:e=!1,checked:t,disabled:n=!1,onCheckedChange:r,icon:o,className:s,title:a,extra:l,style:c,streaming:u,confirmed:d,readonly:f,shortDesc:p})=>{const[h,m]=x.useState(e);x.useEffect(()=>{t!==void 0&&m(t)},[t]);const C=()=>{if(u||n)return;const y=!h;m(y),r==null||r(y)},b=!!l,g=d&&h?i.jsx(g3,{className:"grow-0 shrink-0 text-[#0265ff]"}):i.jsx(C1,{className:et("outline-none grow-0 shrink-0 cursor-pointer",{"mt-[2px]":b,"opacity-80 cursor-not-allowed":n,"opacity-50":u,"pointer-events-none":u}),id:a,checked:h,disabled:n||d,onCheckedChange:C});return i.jsxs("div",{className:T("flex items-center gap-[10px] px-4 py-[10px] rounded-[4px]","w-full transition-colors cursor-pointer",{"cursor-not-allowed":n,"hover:bg-[#EFF0F6]":!n,"items-start":b,"items-center":!b,"pointer-events-none":u||n||f||d},s),style:c,onClick:()=>{C()},children:[f?null:g,i.jsxs("div",{className:et("flex flex-col flex-1 min-w-0",{"gap-2.5":b}),children:[i.jsxs("div",{className:et("flex items-center justify-between w-full",{"gap-1.5":!!o,"gap-2.5":!o}),children:[i.jsxs("div",{className:et("flex items-center gap-[6px] min-w-0",{"flex-1":!!o,"w-[100px] flex-shrink-0":!o}),children:[o&&i.jsx("div",{className:"w-4 h-4 flex-shrink-0 text-[#6F829E] leading-[16px]",children:o}),i.jsx("p",{className:et(" min-w-0 text-sm text-[#121111] truncate text-[12px]",{"flex-1":!!o,"flex-grow-1 flex-shrink-0":!o,"!text-[#666]":f}),children:a})]}),p&&i.jsx("p",{className:et("text-sm text-[#666] text-[12px]",{"whitespace-nowrap flex-shrink-0":!!o,anywhere:!o,"!text-[#121111]":f}),children:p})]}),b?i.jsx("div",{className:T("overflow-x-auto whitespace-nowrap no-scrollbar flex items-center gap-2",{"!overflow-x-hidden":n||f||d}),children:l}):null]})]})},yl="data-style-injected",uk=e=>{if(!e)return;let t=null;if(e instanceof Element&&e.shadowRoot)t=e.shadowRoot;else{let n=e.parentNode;for(;n;){if(n instanceof ShadowRoot){t=n;break}n=n.parentNode}}t&&(t.querySelector(`style[${yl}]`)||(document.head.querySelectorAll("style").forEach(n=>{const r=n.cloneNode(!0);r.setAttribute(yl,""),t.appendChild(r)}),document.head.querySelectorAll('link[rel="stylesheet"]').forEach(n=>{const r=n.cloneNode(!0);r.setAttribute(yl,""),t.appendChild(r)})))};function dk({renderLegacy:e,props:t,shadow:n=!1,withHostStyles:r=!1,injectedStyles:o,onSetRef:s}){const a=x.useRef(null),l=x.useRef(null),c=x.useRef(null),u=x.useRef(null);return x.useEffect(()=>{if(!a.current)return;const d=a.current;s==null||s(d);let f=d;if(n){const h=d.shadowRoot||d.attachShadow({mode:"open"});if(f=h,r&&uk(d),typeof o=="string"){const m=document.createElement("style");m.setAttribute("data-legacy-injected-raw",""),m.textContent=o,h.appendChild(m)}}u.current=f;const p=document.createElement("div");return p.style.display="contents",f.appendChild(p),c.current=p,l.current=e(p,t),()=>{var h;(h=l.current)==null||h.call(l),c.current&&(c.current.remove(),c.current=null),u.current=null}},[]),x.useEffect(()=>{c.current&&(l.current=e(c.current,t))},[t,e]),i.jsx("div",{ref:a,style:{display:"contents"}})}const fk=({children:e,onClick:t,disabled:n=!1,className:r})=>i.jsx("div",{className:T("relative rounded-[6px] p-[1px] cursor-pointer h-[34px] flex items-center justify-center","bg-gradient-to-b from-[#84B4FF] to-[#B1FAFF]",r),style:{background:"linear-gradient(180deg, #84B4FF 0%, #B1FAFF 100%)"},children:i.jsx("button",{className:T("w-full h-[32px] px-[10px]","bg-white rounded-[5px]","flex items-center justify-center","text-[#0265ff] text-[14px]","cursor-pointer","transition-all duration-200","hover:bg-[#f5f9ff]","disabled:opacity-95 disabled:cursor-not-allowed"),onClick:t,disabled:n,children:e})});function wl(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var fn=wl();function qc(e){fn=e}var Ir={exec:()=>null};function Ae(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(o,s)=>{let a=typeof s=="string"?s:s.source;return a=a.replace(yt.caret,"$1"),n=n.replace(o,a),r},getRegex:()=>new RegExp(n,t)};return r}var pk=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch(e){return!1}})(),yt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},hk=/^(?:[ \t]*(?:\n|$))+/,mk=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ck=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Hr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,xk=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,vl=/(?:[*+-]|\d{1,9}[.)])/,Yc=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Gc=Ae(Yc).replace(/bull/g,vl).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),gk=Ae(Yc).replace(/bull/g,vl).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),kl=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,bk=/^[^\n]+/,jl=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,yk=Ae(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",jl).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),wk=Ae(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,vl).getRegex(),ps="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Sl=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,vk=Ae("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Sl).replace("tag",ps).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Xc=Ae(kl).replace("hr",Hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ps).getRegex(),kk=Ae(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Xc).getRegex(),Ll={blockquote:kk,code:mk,def:yk,fences:Ck,heading:xk,hr:Hr,html:vk,lheading:Gc,list:wk,newline:hk,paragraph:Xc,table:Ir,text:bk},Kc=Ae("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ps).getRegex(),jk={...Ll,lheading:gk,table:Kc,paragraph:Ae(kl).replace("hr",Hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Kc).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ps).getRegex()},Sk={...Ll,html:Ae(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Sl).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ir,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Ae(kl).replace("hr",Hr).replace("heading",` *#{1,6} *[^
|
|
222
|
-
]`).replace("lheading",Gc).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Lk=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Mk=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Qc=/^( {2,}|\\)\n(?!\s*$)/,Ek=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,hs=/[\p{P}\p{S}]/u,Ml=/[\s\p{P}\p{S}]/u,Jc=/[^\s\p{P}\p{S}]/u,Nk=Ae(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Ml).getRegex(),e6=/(?!~)[\p{P}\p{S}]/u,Fk=/(?!~)[\s\p{P}\p{S}]/u,Tk=/(?:[^\s\p{P}\p{S}]|~)/u,_k=Ae(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",pk?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),t6=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Ak=Ae(t6,"u").replace(/punct/g,hs).getRegex(),Dk=Ae(t6,"u").replace(/punct/g,e6).getRegex(),n6="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ok=Ae(n6,"gu").replace(/notPunctSpace/g,Jc).replace(/punctSpace/g,Ml).replace(/punct/g,hs).getRegex(),Pk=Ae(n6,"gu").replace(/notPunctSpace/g,Tk).replace(/punctSpace/g,Fk).replace(/punct/g,e6).getRegex(),Ik=Ae("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Jc).replace(/punctSpace/g,Ml).replace(/punct/g,hs).getRegex(),Hk=Ae(/\\(punct)/,"gu").replace(/punct/g,hs).getRegex(),Vk=Ae(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Rk=Ae(Sl).replace("(?:-->|$)","-->").getRegex(),Bk=Ae("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Rk).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ms=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,zk=Ae(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ms).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),r6=Ae(/^!?\[(label)\]\[(ref)\]/).replace("label",ms).replace("ref",jl).getRegex(),o6=Ae(/^!?\[(ref)\](?:\[\])?/).replace("ref",jl).getRegex(),Zk=Ae("reflink|nolink(?!\\()","g").replace("reflink",r6).replace("nolink",o6).getRegex(),s6=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,El={_backpedal:Ir,anyPunctuation:Hk,autolink:Vk,blockSkip:_k,br:Qc,code:Mk,del:Ir,emStrongLDelim:Ak,emStrongRDelimAst:Ok,emStrongRDelimUnd:Ik,escape:Lk,link:zk,nolink:o6,punctuation:Nk,reflink:r6,reflinkSearch:Zk,tag:Bk,text:Ek,url:Ir},Wk={...El,link:Ae(/^!?\[(label)\]\((.*?)\)/).replace("label",ms).getRegex(),reflink:Ae(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ms).getRegex()},Nl={...El,emStrongRDelimAst:Pk,emStrongLDelim:Dk,url:Ae(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",s6).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Ae(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",s6).getRegex()},$k={...Nl,br:Ae(Qc).replace("{2,}","*").getRegex(),text:Ae(Nl.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Cs={normal:Ll,gfm:jk,pedantic:Sk},Vr={normal:El,gfm:Nl,breaks:$k,pedantic:Wk},Uk={"&":"&","<":"<",">":">",'"':""","'":"'"},i6=e=>Uk[e];function F1(e,t){if(t){if(yt.escapeTest.test(e))return e.replace(yt.escapeReplace,i6)}else if(yt.escapeTestNoEncode.test(e))return e.replace(yt.escapeReplaceNoEncode,i6);return e}function a6(e){try{e=encodeURI(e).replace(yt.percentDecode,"%")}catch(t){return null}return e}function l6(e,t){var s;let n=e.replace(yt.findPipe,(a,l,c)=>{let u=!1,d=l;for(;--d>=0&&c[d]==="\\";)u=!u;return u?"|":" |"}),r=n.split(yt.splitPipe),o=0;if(r[0].trim()||r.shift(),r.length>0&&!((s=r.at(-1))!=null&&s.trim())&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;o<r.length;o++)r[o]=r[o].trim().replace(yt.slashPipe,"|");return r}function Rr(e,t,n){let r=e.length;if(r===0)return"";let o=0;for(;o<r&&e.charAt(r-o-1)===t;)o++;return e.slice(0,r-o)}function qk(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function c6(e,t,n,r,o){let s=t.href,a=t.title||null,l=e[1].replace(o.other.outputLinkReplace,"$1");r.state.inLink=!0;let c={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:s,title:a,text:l,tokens:r.inlineTokens(l)};return r.state.inLink=!1,c}function Yk(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let o=r[1];return t.split(`
|
|
223
|
-
`).map(s=>{let a=s.match(n.other.beginningSpace);if(a===null)return s;let[l]=a;return l.length>=o.length?s.slice(o.length):s}).join(`
|
|
224
|
-
`)}var xs=class{constructor(e){ze(this,"options");ze(this,"rules");ze(this,"lexer");this.options=e||fn}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Rr(n,`
|
|
225
|
-
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=Yk(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let r=Rr(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Rr(t[0],`
|
|
226
|
-
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=Rr(t[0],`
|
|
227
|
-
`).split(`
|
|
228
|
-
`),r="",o="",s=[];for(;n.length>0;){let a=!1,l=[],c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))l.push(n[c]),a=!0;else if(!a)l.push(n[c]);else break;n=n.slice(c);let u=l.join(`
|
|
229
|
-
`),d=u.replace(this.rules.other.blockquoteSetextReplace,`
|
|
230
|
-
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
|
|
231
|
-
${u}`:u,o=o?`${o}
|
|
232
|
-
${d}`:d;let f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(d,s,!0),this.lexer.state.top=f,n.length===0)break;let p=s.at(-1);if((p==null?void 0:p.type)==="code")break;if((p==null?void 0:p.type)==="blockquote"){let h=p,m=h.raw+`
|
|
233
|
-
`+n.join(`
|
|
234
|
-
`),C=this.blockquote(m);s[s.length-1]=C,r=r.substring(0,r.length-h.raw.length)+C.raw,o=o.substring(0,o.length-h.text.length)+C.text;break}else if((p==null?void 0:p.type)==="list"){let h=p,m=h.raw+`
|
|
235
|
-
`+n.join(`
|
|
236
|
-
`),C=this.list(m);s[s.length-1]=C,r=r.substring(0,r.length-p.raw.length)+C.raw,o=o.substring(0,o.length-h.raw.length)+C.raw,n=m.substring(s.at(-1).raw.length).split(`
|
|
237
|
-
`);continue}}return{type:"blockquote",raw:r,tokens:s,text:o}}}list(e){var n,r;let t=this.rules.block.list.exec(e);if(t){let o=t[1].trim(),s=o.length>1,a={type:"list",raw:"",ordered:s,start:s?+o.slice(0,-1):"",loose:!1,items:[]};o=s?`\\d{1,9}\\${o.slice(-1)}`:`\\${o}`,this.options.pedantic&&(o=s?o:"[*+-]");let l=this.rules.other.listItemRegex(o),c=!1;for(;e;){let d=!1,f="",p="";if(!(t=l.exec(e))||this.rules.block.hr.test(e))break;f=t[0],e=e.substring(f.length);let h=t[2].split(`
|
|
238
|
-
`,1)[0].replace(this.rules.other.listReplaceTabs,g=>" ".repeat(3*g.length)),m=e.split(`
|
|
239
|
-
`,1)[0],C=!h.trim(),b=0;if(this.options.pedantic?(b=2,p=h.trimStart()):C?b=t[1].length+1:(b=t[2].search(this.rules.other.nonSpaceChar),b=b>4?1:b,p=h.slice(b),b+=t[1].length),C&&this.rules.other.blankLine.test(m)&&(f+=m+`
|
|
240
|
-
`,e=e.substring(m.length+1),d=!0),!d){let g=this.rules.other.nextBulletRegex(b),y=this.rules.other.hrRegex(b),w=this.rules.other.fencesBeginRegex(b),v=this.rules.other.headingBeginRegex(b),S=this.rules.other.htmlBeginRegex(b);for(;e;){let j=e.split(`
|
|
241
|
-
`,1)[0],E;if(m=j,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting," "),E=m):E=m.replace(this.rules.other.tabCharGlobal," "),w.test(m)||v.test(m)||S.test(m)||g.test(m)||y.test(m))break;if(E.search(this.rules.other.nonSpaceChar)>=b||!m.trim())p+=`
|
|
242
|
-
`+E.slice(b);else{if(C||h.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||w.test(h)||v.test(h)||y.test(h))break;p+=`
|
|
243
|
-
`+m}!C&&!m.trim()&&(C=!0),f+=j+`
|
|
244
|
-
`,e=e.substring(j.length+1),h=E.slice(b)}}a.loose||(c?a.loose=!0:this.rules.other.doubleBlankLine.test(f)&&(c=!0)),a.items.push({type:"list_item",raw:f,task:!!this.options.gfm&&this.rules.other.listIsTask.test(p),loose:!1,text:p,tokens:[]}),a.raw+=f}let u=a.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let d of a.items){if(this.lexer.state.top=!1,d.tokens=this.lexer.blockTokens(d.text,[]),d.task){if(d.text=d.text.replace(this.rules.other.listReplaceTask,""),((n=d.tokens[0])==null?void 0:n.type)==="text"||((r=d.tokens[0])==null?void 0:r.type)==="paragraph"){d.tokens[0].raw=d.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),d.tokens[0].text=d.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let p=this.lexer.inlineQueue.length-1;p>=0;p--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[p].src)){this.lexer.inlineQueue[p].src=this.lexer.inlineQueue[p].src.replace(this.rules.other.listReplaceTask,"");break}}let f=this.rules.other.listTaskCheckbox.exec(d.raw);if(f){let p={type:"checkbox",raw:f[0]+" ",checked:f[0]!=="[ ]"};d.checked=p.checked,a.loose?d.tokens[0]&&["paragraph","text"].includes(d.tokens[0].type)&&"tokens"in d.tokens[0]&&d.tokens[0].tokens?(d.tokens[0].raw=p.raw+d.tokens[0].raw,d.tokens[0].text=p.raw+d.tokens[0].text,d.tokens[0].tokens.unshift(p)):d.tokens.unshift({type:"paragraph",raw:p.raw,text:p.raw,tokens:[p]}):d.tokens.unshift(p)}}if(!a.loose){let f=d.tokens.filter(h=>h.type==="space"),p=f.length>0&&f.some(h=>this.rules.other.anyLine.test(h.raw));a.loose=p}}if(a.loose)for(let d of a.items){d.loose=!0;for(let f of d.tokens)f.type==="text"&&(f.type="paragraph")}return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:o}}}table(e){var a;let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=l6(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=(a=t[3])!=null&&a.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
245
|
-
`):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let l of r)this.rules.other.tableAlignRight.test(l)?s.align.push("right"):this.rules.other.tableAlignCenter.test(l)?s.align.push("center"):this.rules.other.tableAlignLeft.test(l)?s.align.push("left"):s.align.push(null);for(let l=0;l<n.length;l++)s.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:s.align[l]});for(let l of o)s.rows.push(l6(l,s.header.length).map((c,u)=>({text:c,tokens:this.lexer.inline(c),header:!1,align:s.align[u]})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===`
|
|
246
|
-
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let s=Rr(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{let s=qk(t[2],"()");if(s===-2)return;if(s>-1){let a=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let r=t[2],o="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],o=s[3])}else o=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),c6(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=t[r.toLowerCase()];if(!o){let s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return c6(n,o,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let o=[...r[0]].length-1,s,a,l=o,c=0,u=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+o);(r=u.exec(t))!=null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(a=[...s].length,r[3]||r[4]){l+=a;continue}else if((r[5]||r[6])&&o%3&&!((o+a)%3)){c+=a;continue}if(l-=a,l>0)continue;a=Math.min(a,a+l+c);let d=[...r[0]][0].length,f=e.slice(0,o+r.index+d+a);if(Math.min(o,a)%2){let h=f.slice(1,-1);return{type:"em",raw:f,text:h,tokens:this.lexer.inlineTokens(h)}}let p=f.slice(2,-2);return{type:"strong",raw:f,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),o=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&o&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){var n,r;let t;if(t=this.rules.inline.url.exec(e)){let o,s;if(t[2]==="@")o=t[0],s="mailto:"+o;else{let a;do a=t[0],t[0]=(r=(n=this.rules.inline._backpedal.exec(t[0]))==null?void 0:n[0])!=null?r:"";while(a!==t[0]);o=t[0],t[1]==="www."?s="http://"+t[0]:s=t[0]}return{type:"link",raw:t[0],text:o,href:s,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},e1=class k2{constructor(t){ze(this,"tokens");ze(this,"options");ze(this,"state");ze(this,"inlineQueue");ze(this,"tokenizer");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||fn,this.options.tokenizer=this.options.tokenizer||new xs,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:yt,block:Cs.normal,inline:Vr.normal};this.options.pedantic?(n.block=Cs.pedantic,n.inline=Vr.pedantic):this.options.gfm&&(n.block=Cs.gfm,this.options.breaks?n.inline=Vr.breaks:n.inline=Vr.gfm),this.tokenizer.rules=n}static get rules(){return{block:Cs,inline:Vr}}static lex(t,n){return new k2(n).lex(t)}static lexInline(t,n){return new k2(n).inlineTokens(t)}lex(t){t=t.replace(yt.carriageReturn,`
|
|
247
|
-
`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],r=!1){var o,s,a;for(this.options.pedantic&&(t=t.replace(yt.tabCharGlobal," ").replace(yt.spaceLine,""));t;){let l;if((s=(o=this.options.extensions)==null?void 0:o.block)!=null&&s.some(u=>(l=u.call({lexer:this},t,n))?(t=t.substring(l.raw.length),n.push(l),!0):!1))continue;if(l=this.tokenizer.space(t)){t=t.substring(l.raw.length);let u=n.at(-1);l.raw.length===1&&u!==void 0?u.raw+=`
|
|
248
|
-
`:n.push(l);continue}if(l=this.tokenizer.code(t)){t=t.substring(l.raw.length);let u=n.at(-1);(u==null?void 0:u.type)==="paragraph"||(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(`
|
|
249
|
-
`)?"":`
|
|
250
|
-
`)+l.raw,u.text+=`
|
|
251
|
-
`+l.text,this.inlineQueue.at(-1).src=u.text):n.push(l);continue}if(l=this.tokenizer.fences(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.heading(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.hr(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.blockquote(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.list(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.html(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.def(t)){t=t.substring(l.raw.length);let u=n.at(-1);(u==null?void 0:u.type)==="paragraph"||(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(`
|
|
252
|
-
`)?"":`
|
|
253
|
-
`)+l.raw,u.text+=`
|
|
254
|
-
`+l.raw,this.inlineQueue.at(-1).src=u.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title},n.push(l));continue}if(l=this.tokenizer.table(t)){t=t.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.lheading(t)){t=t.substring(l.raw.length),n.push(l);continue}let c=t;if((a=this.options.extensions)!=null&&a.startBlock){let u=1/0,d=t.slice(1),f;this.options.extensions.startBlock.forEach(p=>{f=p.call({lexer:this},d),typeof f=="number"&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(c=t.substring(0,u+1))}if(this.state.top&&(l=this.tokenizer.paragraph(c))){let u=n.at(-1);r&&(u==null?void 0:u.type)==="paragraph"?(u.raw+=(u.raw.endsWith(`
|
|
255
|
-
`)?"":`
|
|
256
|
-
`)+l.raw,u.text+=`
|
|
257
|
-
`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=u.text):n.push(l),r=c.length!==t.length,t=t.substring(l.raw.length);continue}if(l=this.tokenizer.text(t)){t=t.substring(l.raw.length);let u=n.at(-1);(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(`
|
|
258
|
-
`)?"":`
|
|
259
|
-
`)+l.raw,u.text+=`
|
|
260
|
-
`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=u.text):n.push(l);continue}if(t){let u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){var c,u,d,f,p,h;let r=t,o=null;if(this.tokens.links){let m=Object.keys(this.tokens.links);if(m.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)m.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,o.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let s;for(;(o=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)s=o[2]?o[2].length:0,r=r.slice(0,o.index+s)+"["+"a".repeat(o[0].length-s-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=(d=(u=(c=this.options.hooks)==null?void 0:c.emStrongMask)==null?void 0:u.call({lexer:this},r))!=null?d:r;let a=!1,l="";for(;t;){a||(l=""),a=!1;let m;if((p=(f=this.options.extensions)==null?void 0:f.inline)!=null&&p.some(b=>(m=b.call({lexer:this},t,n))?(t=t.substring(m.raw.length),n.push(m),!0):!1))continue;if(m=this.tokenizer.escape(t)){t=t.substring(m.raw.length),n.push(m);continue}if(m=this.tokenizer.tag(t)){t=t.substring(m.raw.length),n.push(m);continue}if(m=this.tokenizer.link(t)){t=t.substring(m.raw.length),n.push(m);continue}if(m=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(m.raw.length);let b=n.at(-1);m.type==="text"&&(b==null?void 0:b.type)==="text"?(b.raw+=m.raw,b.text+=m.text):n.push(m);continue}if(m=this.tokenizer.emStrong(t,r,l)){t=t.substring(m.raw.length),n.push(m);continue}if(m=this.tokenizer.codespan(t)){t=t.substring(m.raw.length),n.push(m);continue}if(m=this.tokenizer.br(t)){t=t.substring(m.raw.length),n.push(m);continue}if(m=this.tokenizer.del(t)){t=t.substring(m.raw.length),n.push(m);continue}if(m=this.tokenizer.autolink(t)){t=t.substring(m.raw.length),n.push(m);continue}if(!this.state.inLink&&(m=this.tokenizer.url(t))){t=t.substring(m.raw.length),n.push(m);continue}let C=t;if((h=this.options.extensions)!=null&&h.startInline){let b=1/0,g=t.slice(1),y;this.options.extensions.startInline.forEach(w=>{y=w.call({lexer:this},g),typeof y=="number"&&y>=0&&(b=Math.min(b,y))}),b<1/0&&b>=0&&(C=t.substring(0,b+1))}if(m=this.tokenizer.inlineText(C)){t=t.substring(m.raw.length),m.raw.slice(-1)!=="_"&&(l=m.raw.slice(-1)),a=!0;let b=n.at(-1);(b==null?void 0:b.type)==="text"?(b.raw+=m.raw,b.text+=m.text):n.push(m);continue}if(t){let b="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(b);break}else throw new Error(b)}}return n}},gs=class{constructor(e){ze(this,"options");ze(this,"parser");this.options=e||fn}space(e){return""}code({text:e,lang:t,escaped:n}){var s;let r=(s=(t||"").match(yt.notSpaceStart))==null?void 0:s[0],o=e.replace(yt.endingNewline,"")+`
|
|
261
|
-
`;return r?'<pre><code class="language-'+F1(r)+'">'+(n?o:F1(o,!0))+`</code></pre>
|
|
262
|
-
`:"<pre><code>"+(n?o:F1(o,!0))+`</code></pre>
|
|
263
|
-
`}blockquote({tokens:e}){return`<blockquote>
|
|
264
|
-
${this.parser.parse(e)}</blockquote>
|
|
265
|
-
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
266
|
-
`}hr(e){return`<hr>
|
|
267
|
-
`}list(e){let t=e.ordered,n=e.start,r="";for(let a=0;a<e.items.length;a++){let l=e.items[a];r+=this.listitem(l)}let o=t?"ol":"ul",s=t&&n!==1?' start="'+n+'"':"";return"<"+o+s+`>
|
|
268
|
-
`+r+"</"+o+`>
|
|
269
|
-
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
|
|
270
|
-
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
271
|
-
`}table(e){let t="",n="";for(let o=0;o<e.header.length;o++)n+=this.tablecell(e.header[o]);t+=this.tablerow({text:n});let r="";for(let o=0;o<e.rows.length;o++){let s=e.rows[o];n="";for(let a=0;a<s.length;a++)n+=this.tablecell(s[a]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),`<table>
|
|
272
|
-
<thead>
|
|
273
|
-
`+t+`</thead>
|
|
274
|
-
`+r+`</table>
|
|
275
|
-
`}tablerow({text:e}){return`<tr>
|
|
276
|
-
${e}</tr>
|
|
277
|
-
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
278
|
-
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${F1(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),o=a6(e);if(o===null)return r;e=o;let s='<a href="'+e+'"';return t&&(s+=' title="'+F1(t)+'"'),s+=">"+r+"</a>",s}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let o=a6(e);if(o===null)return F1(n);e=o;let s=`<img src="${e}" alt="${n}"`;return t&&(s+=` title="${F1(t)}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:F1(e.text)}},Fl=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},t1=class j2{constructor(t){ze(this,"options");ze(this,"renderer");ze(this,"textRenderer");this.options=t||fn,this.options.renderer=this.options.renderer||new gs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Fl}static parse(t,n){return new j2(n).parse(t)}static parseInline(t,n){return new j2(n).parseInline(t)}parse(t){var r,o;let n="";for(let s=0;s<t.length;s++){let a=t[s];if((o=(r=this.options.extensions)==null?void 0:r.renderers)!=null&&o[a.type]){let c=a,u=this.options.extensions.renderers[c.type].call({parser:this},c);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(c.type)){n+=u||"";continue}}let l=a;switch(l.type){case"space":{n+=this.renderer.space(l);break}case"hr":{n+=this.renderer.hr(l);break}case"heading":{n+=this.renderer.heading(l);break}case"code":{n+=this.renderer.code(l);break}case"table":{n+=this.renderer.table(l);break}case"blockquote":{n+=this.renderer.blockquote(l);break}case"list":{n+=this.renderer.list(l);break}case"checkbox":{n+=this.renderer.checkbox(l);break}case"html":{n+=this.renderer.html(l);break}case"def":{n+=this.renderer.def(l);break}case"paragraph":{n+=this.renderer.paragraph(l);break}case"text":{n+=this.renderer.text(l);break}default:{let c='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}parseInline(t,n=this.renderer){var o,s;let r="";for(let a=0;a<t.length;a++){let l=t[a];if((s=(o=this.options.extensions)==null?void 0:o.renderers)!=null&&s[l.type]){let u=this.options.extensions.renderers[l.type].call({parser:this},l);if(u!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(l.type)){r+=u||"";continue}}let c=l;switch(c.type){case"escape":{r+=n.text(c);break}case"html":{r+=n.html(c);break}case"link":{r+=n.link(c);break}case"image":{r+=n.image(c);break}case"checkbox":{r+=n.checkbox(c);break}case"strong":{r+=n.strong(c);break}case"em":{r+=n.em(c);break}case"codespan":{r+=n.codespan(c);break}case"br":{r+=n.br(c);break}case"del":{r+=n.del(c);break}case"text":{r+=n.text(c);break}default:{let u='Token with "'+c.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return r}},Br=(_s=class{constructor(e){ze(this,"options");ze(this,"block");this.options=e||fn}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?e1.lex:e1.lexInline}provideParser(){return this.block?t1.parse:t1.parseInline}},ze(_s,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),ze(_s,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),_s),Gk=class{constructor(...e){ze(this,"defaults",wl());ze(this,"options",this.setOptions);ze(this,"parse",this.parseMarkdown(!0));ze(this,"parseInline",this.parseMarkdown(!1));ze(this,"Parser",t1);ze(this,"Renderer",gs);ze(this,"TextRenderer",Fl);ze(this,"Lexer",e1);ze(this,"Tokenizer",xs);ze(this,"Hooks",Br);this.use(...e)}walkTokens(e,t){var r,o;let n=[];for(let s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":{let a=s;for(let l of a.header)n=n.concat(this.walkTokens(l.tokens,t));for(let l of a.rows)for(let c of l)n=n.concat(this.walkTokens(c.tokens,t));break}case"list":{let a=s;n=n.concat(this.walkTokens(a.items,t));break}default:{let a=s;(o=(r=this.defaults.extensions)==null?void 0:r.childTokens)!=null&&o[a.type]?this.defaults.extensions.childTokens[a.type].forEach(l=>{let c=a[l].flat(1/0);n=n.concat(this.walkTokens(c,t))}):a.tokens&&(n=n.concat(this.walkTokens(a.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){let s=t.renderers[o.name];s?t.renderers[o.name]=function(...a){let l=o.renderer.apply(this,a);return l===!1&&(l=s.apply(this,a)),l}:t.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=t[o.level];s?s.unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&(o.level==="block"?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:o.level==="inline"&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),r.extensions=t),n.renderer){let o=this.defaults.renderer||new gs(this.defaults);for(let s in n.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let a=s,l=n.renderer[a],c=o[a];o[a]=(...u)=>{let d=l.apply(o,u);return d===!1&&(d=c.apply(o,u)),d||""}}r.renderer=o}if(n.tokenizer){let o=this.defaults.tokenizer||new xs(this.defaults);for(let s in n.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,l=n.tokenizer[a],c=o[a];o[a]=(...u)=>{let d=l.apply(o,u);return d===!1&&(d=c.apply(o,u)),d}}r.tokenizer=o}if(n.hooks){let o=this.defaults.hooks||new Br;for(let s in n.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let a=s,l=n.hooks[a],c=o[a];Br.passThroughHooks.has(s)?o[a]=u=>{if(this.defaults.async&&Br.passThroughHooksRespectAsync.has(s))return(async()=>{let f=await l.call(o,u);return c.call(o,f)})();let d=l.call(o,u);return c.call(o,d)}:o[a]=(...u)=>{if(this.defaults.async)return(async()=>{let f=await l.apply(o,u);return f===!1&&(f=await c.apply(o,u)),f})();let d=l.apply(o,u);return d===!1&&(d=c.apply(o,u)),d}}r.hooks=o}if(n.walkTokens){let o=this.defaults.walkTokens,s=n.walkTokens;r.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),o&&(l=l.concat(o.call(this,a))),l}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return e1.lex(e,t!=null?t:this.defaults)}parser(e,t){return t1.parse(e,t!=null?t:this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},o={...this.defaults,...r},s=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(o.hooks&&(o.hooks.options=o,o.hooks.block=e),o.async)return(async()=>{let a=o.hooks?await o.hooks.preprocess(t):t,l=await(o.hooks?await o.hooks.provideLexer():e?e1.lex:e1.lexInline)(a,o),c=o.hooks?await o.hooks.processAllTokens(l):l;o.walkTokens&&await Promise.all(this.walkTokens(c,o.walkTokens));let u=await(o.hooks?await o.hooks.provideParser():e?t1.parse:t1.parseInline)(c,o);return o.hooks?await o.hooks.postprocess(u):u})().catch(s);try{o.hooks&&(t=o.hooks.preprocess(t));let a=(o.hooks?o.hooks.provideLexer():e?e1.lex:e1.lexInline)(t,o);o.hooks&&(a=o.hooks.processAllTokens(a)),o.walkTokens&&this.walkTokens(a,o.walkTokens);let l=(o.hooks?o.hooks.provideParser():e?t1.parse:t1.parseInline)(a,o);return o.hooks&&(l=o.hooks.postprocess(l)),l}catch(a){return s(a)}}}onError(e,t){return n=>{if(n.message+=`
|
|
279
|
-
Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+F1(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},pn=new Gk;function Ie(e,t){return pn.parse(e,t)}Ie.options=Ie.setOptions=function(e){return pn.setOptions(e),Ie.defaults=pn.defaults,qc(Ie.defaults),Ie},Ie.getDefaults=wl,Ie.defaults=fn,Ie.use=function(...e){return pn.use(...e),Ie.defaults=pn.defaults,qc(Ie.defaults),Ie},Ie.walkTokens=function(e,t){return pn.walkTokens(e,t)},Ie.parseInline=pn.parseInline,Ie.Parser=t1,Ie.parser=t1.parse,Ie.Renderer=gs,Ie.TextRenderer=Fl,Ie.Lexer=e1,Ie.lexer=e1.lex,Ie.Tokenizer=xs,Ie.Hooks=Br,Ie.parse=Ie,Ie.options,Ie.setOptions,Ie.use,Ie.walkTokens,Ie.parseInline,t1.parse,e1.lex;function tF(){}function nF(){}function Xk(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Kk=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Qk=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Jk={};function u6(e,t){return(Jk.jsx?Qk:Kk).test(e)}const ej=/[ \t\n\f\r]/g;function tj(e){return typeof e=="object"?e.type==="text"?d6(e.value):!1:d6(e)}function d6(e){return e.replace(ej,"")===""}class zr{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}zr.prototype.normal={},zr.prototype.property={},zr.prototype.space=void 0;function f6(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new zr(n,r,t)}function Tl(e){return e.toLowerCase()}class vt{constructor(t,n){this.attribute=n,this.property=t}}vt.prototype.attribute="",vt.prototype.booleanish=!1,vt.prototype.boolean=!1,vt.prototype.commaOrSpaceSeparated=!1,vt.prototype.commaSeparated=!1,vt.prototype.defined=!1,vt.prototype.mustUseProperty=!1,vt.prototype.number=!1,vt.prototype.overloadedBoolean=!1,vt.prototype.property="",vt.prototype.spaceSeparated=!1,vt.prototype.space=void 0;let nj=0;const Ee=hn(),st=hn(),_l=hn(),se=hn(),$e=hn(),zn=hn(),Dt=hn();function hn(){return 2**++nj}const Al=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ee,booleanish:st,commaOrSpaceSeparated:Dt,commaSeparated:zn,number:se,overloadedBoolean:_l,spaceSeparated:$e},Symbol.toStringTag,{value:"Module"})),Dl=Object.keys(Al);class Ol extends vt{constructor(t,n,r,o){let s=-1;if(super(t,n),p6(this,"space",o),typeof r=="number")for(;++s<Dl.length;){const a=Dl[s];p6(this,Dl[s],(r&Al[a])===Al[a])}}}Ol.prototype.defined=!0;function p6(e,t,n){n&&(e[t]=n)}function Zn(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const s=new Ol(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Tl(r)]=r,n[Tl(s.attribute)]=r}return new zr(t,n,e.space)}const h6=Zn({properties:{ariaActiveDescendant:null,ariaAtomic:st,ariaAutoComplete:null,ariaBusy:st,ariaChecked:st,ariaColCount:se,ariaColIndex:se,ariaColSpan:se,ariaControls:$e,ariaCurrent:null,ariaDescribedBy:$e,ariaDetails:null,ariaDisabled:st,ariaDropEffect:$e,ariaErrorMessage:null,ariaExpanded:st,ariaFlowTo:$e,ariaGrabbed:st,ariaHasPopup:null,ariaHidden:st,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$e,ariaLevel:se,ariaLive:null,ariaModal:st,ariaMultiLine:st,ariaMultiSelectable:st,ariaOrientation:null,ariaOwns:$e,ariaPlaceholder:null,ariaPosInSet:se,ariaPressed:st,ariaReadOnly:st,ariaRelevant:null,ariaRequired:st,ariaRoleDescription:$e,ariaRowCount:se,ariaRowIndex:se,ariaRowSpan:se,ariaSelected:st,ariaSetSize:se,ariaSort:null,ariaValueMax:se,ariaValueMin:se,ariaValueNow:se,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function m6(e,t){return t in e?e[t]:t}function C6(e,t){return m6(e,t.toLowerCase())}const rj=Zn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:zn,acceptCharset:$e,accessKey:$e,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:$e,autoFocus:Ee,autoPlay:Ee,blocking:$e,capture:null,charSet:null,checked:Ee,cite:null,className:$e,cols:se,colSpan:null,content:null,contentEditable:st,controls:Ee,controlsList:$e,coords:se|zn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:_l,draggable:st,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:$e,height:se,hidden:_l,high:se,href:null,hrefLang:null,htmlFor:$e,httpEquiv:$e,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:$e,itemRef:$e,itemScope:Ee,itemType:$e,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:se,manifest:null,max:null,maxLength:se,media:null,method:null,min:null,minLength:se,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:se,pattern:null,ping:$e,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:$e,required:Ee,reversed:Ee,rows:se,rowSpan:se,sandbox:$e,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shadowRootClonable:Ee,shadowRootDelegatesFocus:Ee,shadowRootMode:null,shape:null,size:se,sizes:null,slot:null,span:se,spellCheck:st,src:null,srcDoc:null,srcLang:null,srcSet:null,start:se,step:null,style:null,tabIndex:se,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:st,width:se,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$e,axis:null,background:null,bgColor:null,border:se,borderColor:null,bottomMargin:se,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:se,leftMargin:se,link:null,longDesc:null,lowSrc:null,marginHeight:se,marginWidth:se,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:se,rules:null,scheme:null,scrolling:st,standby:null,summary:null,text:null,topMargin:se,valueType:null,version:null,vAlign:null,vLink:null,vSpace:se,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:se,security:null,unselectable:null},space:"html",transform:C6}),oj=Zn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Dt,accentHeight:se,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:se,amplitude:se,arabicForm:null,ascent:se,attributeName:null,attributeType:null,azimuth:se,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:se,by:null,calcMode:null,capHeight:se,className:$e,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:se,diffuseConstant:se,direction:null,display:null,dur:null,divisor:se,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:se,enableBackground:null,end:null,event:null,exponent:se,externalResourcesRequired:null,fill:null,fillOpacity:se,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:zn,g2:zn,glyphName:zn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:se,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:se,horizOriginX:se,horizOriginY:se,id:null,ideographic:se,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:se,k:se,k1:se,k2:se,k3:se,k4:se,kernelMatrix:Dt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:se,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:se,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:se,overlineThickness:se,paintOrder:null,panose1:null,path:null,pathLength:se,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$e,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:se,pointsAtY:se,pointsAtZ:se,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Dt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Dt,rev:Dt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Dt,requiredFeatures:Dt,requiredFonts:Dt,requiredFormats:Dt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:se,specularExponent:se,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:se,strikethroughThickness:se,string:null,stroke:null,strokeDashArray:Dt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:se,strokeOpacity:se,strokeWidth:null,style:null,surfaceScale:se,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Dt,tabIndex:se,tableValues:null,target:null,targetX:se,targetY:se,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Dt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:se,underlineThickness:se,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:se,values:null,vAlphabetic:se,vMathematical:se,vectorEffect:null,vHanging:se,vIdeographic:se,version:null,vertAdvY:se,vertOriginX:se,vertOriginY:se,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:se,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:m6}),x6=Zn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),g6=Zn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:C6}),b6=Zn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),sj={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ij=/[A-Z]/g,y6=/-[a-z]/g,aj=/^data[-\w.:]+$/i;function lj(e,t){const n=Tl(t);let r=t,o=vt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&aj.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(y6,uj);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!y6.test(s)){let a=s.replace(ij,cj);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}o=Ol}return new o(r,t)}function cj(e){return"-"+e.toLowerCase()}function uj(e){return e.charAt(1).toUpperCase()}const dj=f6([h6,rj,x6,g6,b6],"html"),Pl=f6([h6,oj,x6,g6,b6],"svg");function fj(e){return e.join(" ").trim()}var Il={},w6=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,pj=/\n/g,hj=/^\s*/,mj=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Cj=/^:\s*/,xj=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,gj=/^[;\s]*/,bj=/^\s+|\s+$/g,yj=`
|
|
280
|
-
`,v6="/",k6="*",mn="",wj="comment",vj="declaration";function kj(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(m){var C=m.match(pj);C&&(n+=C.length);var b=m.lastIndexOf(yj);r=~b?m.length-b:r+m.length}function s(){var m={line:n,column:r};return function(C){return C.position=new a(m),u(),C}}function a(m){this.start=m,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function l(m){var C=new Error(t.source+":"+n+":"+r+": "+m);if(C.reason=m,C.filename=t.source,C.line=n,C.column=r,C.source=e,!t.silent)throw C}function c(m){var C=m.exec(e);if(C){var b=C[0];return o(b),e=e.slice(b.length),C}}function u(){c(hj)}function d(m){var C;for(m=m||[];C=f();)C!==!1&&m.push(C);return m}function f(){var m=s();if(!(v6!=e.charAt(0)||k6!=e.charAt(1))){for(var C=2;mn!=e.charAt(C)&&(k6!=e.charAt(C)||v6!=e.charAt(C+1));)++C;if(C+=2,mn===e.charAt(C-1))return l("End of comment missing");var b=e.slice(2,C-2);return r+=2,o(b),e=e.slice(C),r+=2,m({type:wj,comment:b})}}function p(){var m=s(),C=c(mj);if(C){if(f(),!c(Cj))return l("property missing ':'");var b=c(xj),g=m({type:vj,property:j6(C[0].replace(w6,mn)),value:b?j6(b[0].replace(w6,mn)):mn});return c(gj),g}}function h(){var m=[];d(m);for(var C;C=p();)C!==!1&&(m.push(C),d(m));return m}return u(),h()}function j6(e){return e?e.replace(bj,mn):mn}var jj=kj,Sj=to&&to.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Il,"__esModule",{value:!0}),Il.default=Mj;const Lj=Sj(jj);function Mj(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,Lj.default)(e),o=typeof t=="function";return r.forEach(s=>{if(s.type!=="declaration")return;const{property:a,value:l}=s;o?t(a,l,s):l&&(n=n||{},n[a]=l)}),n}var bs={};Object.defineProperty(bs,"__esModule",{value:!0}),bs.camelCase=void 0;var Ej=/^--[a-zA-Z0-9_-]+$/,Nj=/-([a-z])/g,Fj=/^[^-]+$/,Tj=/^-(webkit|moz|ms|o|khtml)-/,_j=/^-(ms)-/,Aj=function(e){return!e||Fj.test(e)||Ej.test(e)},Dj=function(e,t){return t.toUpperCase()},S6=function(e,t){return"".concat(t,"-")},Oj=function(e,t){return t===void 0&&(t={}),Aj(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(_j,S6):e=e.replace(Tj,S6),e.replace(Nj,Dj))};bs.camelCase=Oj;var Pj=to&&to.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Ij=Pj(Il),Hj=bs;function Hl(e,t){var n={};return!e||typeof e!="string"||(0,Ij.default)(e,function(r,o){r&&o&&(n[(0,Hj.camelCase)(r,t)]=o)}),n}Hl.default=Hl;var Vj=Hl;const Rj=Rs(Vj),L6=M6("end"),Vl=M6("start");function M6(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Bj(e){const t=Vl(e),n=L6(e);if(t&&n)return{start:t,end:n}}function Zr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?E6(e.position):"start"in e||"end"in e?E6(e):"line"in e||"column"in e?Rl(e):""}function Rl(e){return N6(e&&e.line)+":"+N6(e&&e.column)}function E6(e){return Rl(e&&e.start)+"-"+Rl(e&&e.end)}function N6(e){return e&&typeof e=="number"?e:1}class bt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let o="",s={},a=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?o=t:!s.cause&&t&&(a=!0,o=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?s.ruleId=r:(s.source=r.slice(0,c),s.ruleId=r.slice(c+1))}if(!s.place&&s.ancestors&&s.ancestors){const c=s.ancestors[s.ancestors.length-1];c&&(s.place=c.position)}const l=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=l?l.line:void 0,this.name=Zr(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=a&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}bt.prototype.file="",bt.prototype.name="",bt.prototype.reason="",bt.prototype.message="",bt.prototype.stack="",bt.prototype.column=void 0,bt.prototype.line=void 0,bt.prototype.ancestors=void 0,bt.prototype.cause=void 0,bt.prototype.fatal=void 0,bt.prototype.place=void 0,bt.prototype.ruleId=void 0,bt.prototype.source=void 0;const Bl={}.hasOwnProperty,zj=new Map,Zj=/[A-Z]/g,Wj=new Set(["table","tbody","thead","tfoot","tr"]),$j=new Set(["td","th"]),F6="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Uj(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=eS(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Jj(n,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Pl:dj,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=T6(o,e,void 0);return s&&typeof s!="string"?s:o.create(e,o.Fragment,{children:s||void 0},void 0)}function T6(e,t,n){if(t.type==="element")return qj(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Yj(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Xj(e,t,n);if(t.type==="mdxjsEsm")return Gj(e,t);if(t.type==="root")return Kj(e,t,n);if(t.type==="text")return Qj(e,t)}function qj(e,t,n){const r=e.schema;let o=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(o=Pl,e.schema=o),e.ancestors.push(t);const s=A6(e,t.tagName,!1),a=tS(e,t);let l=Zl(e,t);return Wj.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!tj(c):!0})),_6(e,a,s,t),zl(a,l),e.ancestors.pop(),e.schema=r,e.create(t,s,a,n)}function Yj(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Wr(e,t.position)}function Gj(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Wr(e,t.position)}function Xj(e,t,n){const r=e.schema;let o=r;t.name==="svg"&&r.space==="html"&&(o=Pl,e.schema=o),e.ancestors.push(t);const s=t.name===null?e.Fragment:A6(e,t.name,!0),a=nS(e,t),l=Zl(e,t);return _6(e,a,s,t),zl(a,l),e.ancestors.pop(),e.schema=r,e.create(t,s,a,n)}function Kj(e,t,n){const r={};return zl(r,Zl(e,t)),e.create(t,e.Fragment,r,n)}function Qj(e,t){return t.value}function _6(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function zl(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Jj(e,t,n){return r;function r(o,s,a,l){const u=Array.isArray(a.children)?n:t;return l?u(s,a,l):u(s,a)}}function eS(e,t){return n;function n(r,o,s,a){const l=Array.isArray(s.children),c=Vl(r);return t(o,s,a,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function tS(e,t){const n={};let r,o;for(o in t.properties)if(o!=="children"&&Bl.call(t.properties,o)){const s=rS(e,o,t.properties[o]);if(s){const[a,l]=s;e.tableCellAlignToStyle&&a==="align"&&typeof l=="string"&&$j.has(t.tagName)?r=l:n[a]=l}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function nS(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const a=s.expression;a.type;const l=a.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else Wr(e,t.position);else{const o=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const l=r.value.data.estree.body[0];l.type,s=e.evaluater.evaluateExpression(l.expression)}else Wr(e,t.position);else s=r.value===null?!0:r.value;n[o]=s}return n}function Zl(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:zj;for(;++r<t.children.length;){const s=t.children[r];let a;if(e.passKeys){const c=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(c){const u=o.get(c)||0;a=c+"-"+u,o.set(c,u+1)}}const l=T6(e,s,a);l!==void 0&&n.push(l)}return n}function rS(e,t,n){const r=lj(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Xk(n):fj(n)),r.property==="style"){let o=typeof n=="object"?n:oS(e,String(n));return e.stylePropertyNameCase==="css"&&(o=sS(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&r.space?sj[r.property]||r.property:r.attribute,n]}}function oS(e,t){try{return Rj(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,o=new bt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=F6+"#cannot-parse-style-attribute",o}}function A6(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let s=-1,a;for(;++s<o.length;){const l=u6(o[s])?{type:"Identifier",name:o[s]}:{type:"Literal",value:o[s]};a=a?{type:"MemberExpression",object:a,property:l,computed:!!(s&&l.type==="Literal"),optional:!1}:l}r=a}else r=u6(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const o=r.value;return Bl.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(r);Wr(e)}function Wr(e,t){const n=new bt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=F6+"#cannot-handle-mdx-estrees-without-createevaluater",n}function sS(e){const t={};let n;for(n in e)Bl.call(e,n)&&(t[iS(n)]=e[n]);return t}function iS(e){let t=e.replace(Zj,aS);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function aS(e){return"-"+e.toLowerCase()}const Wl={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},lS={};function cS(e,t){const n=lS,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,o=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return D6(e,r,o)}function D6(e,t,n){if(uS(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return O6(e.children,t,n)}return Array.isArray(e)?O6(e,t,n):""}function O6(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=D6(e[o],t,n);return r.join("")}function uS(e){return!!(e&&typeof e=="object")}const P6=document.createElement("i");function $l(e){const t="&"+e+";";P6.innerHTML=t;const n=P6.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function x1(e,t,n,r){const o=e.length;let s=0,a;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);s<r.length;)a=r.slice(s,s+1e4),a.unshift(t,0),e.splice(...a),s+=1e4,t+=1e4}function zt(e,t){return e.length>0?(x1(e,e.length,0,t),e):t}const I6={}.hasOwnProperty;function dS(e){const t={};let n=-1;for(;++n<e.length;)fS(t,e[n]);return t}function fS(e,t){let n;for(n in t){const o=(I6.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let a;if(s)for(a in s){I6.call(o,a)||(o[a]=[]);const l=s[a];pS(o[a],Array.isArray(l)?l:l?[l]:[])}}}function pS(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);x1(e,0,0,r)}function H6(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Wn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const g1=G1(/[A-Za-z]/),Ot=G1(/[\dA-Za-z]/),hS=G1(/[#-'*+\--9=?A-Z^-~]/);function Ul(e){return e!==null&&(e<32||e===127)}const ql=G1(/\d/),mS=G1(/[\dA-Fa-f]/),CS=G1(/[!-/:-@[-`{-~]/);function ke(e){return e!==null&&e<-2}function kt(e){return e!==null&&(e<0||e===32)}function Oe(e){return e===-2||e===-1||e===32}const xS=G1(/\p{P}|\p{S}/u),gS=G1(/\s/);function G1(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function $n(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const s=e.charCodeAt(n);let a="";if(s===37&&Ot(e.charCodeAt(n+1))&&Ot(e.charCodeAt(n+2)))o=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(a=String.fromCharCode(s));else if(s>55295&&s<57344){const l=e.charCodeAt(n+1);s<56320&&l>56319&&l<57344?(a=String.fromCharCode(s,l),o=1):a="�"}else a=String.fromCharCode(s);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Ue(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let s=0;return a;function a(c){return Oe(c)?(e.enter(n),l(c)):t(c)}function l(c){return Oe(c)&&s++<o?(e.consume(c),l):(e.exit(n),t(c))}}const bS={tokenize:yS};function yS(e){const t=e.attempt(this.parser.constructs.contentInitial,r,o);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),Ue(e,t,"linePrefix")}function o(l){return e.enter("paragraph"),s(l)}function s(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,a(l)}function a(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return ke(l)?(e.consume(l),e.exit("chunkText"),s):(e.consume(l),a)}}const wS={tokenize:vS},V6={tokenize:kS};function vS(e){const t=this,n=[];let r=0,o,s,a;return l;function l(w){if(r<n.length){const v=n[r];return t.containerState=v[1],e.attempt(v[0].continuation,c,u)(w)}return u(w)}function c(w){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&y();const v=t.events.length;let S=v,j;for(;S--;)if(t.events[S][0]==="exit"&&t.events[S][1].type==="chunkFlow"){j=t.events[S][1].end;break}g(r);let E=v;for(;E<t.events.length;)t.events[E][1].end={...j},E++;return x1(t.events,S+1,0,t.events.slice(v)),t.events.length=E,u(w)}return l(w)}function u(w){if(r===n.length){if(!o)return p(w);if(o.currentConstruct&&o.currentConstruct.concrete)return m(w);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(V6,d,f)(w)}function d(w){return o&&y(),g(r),p(w)}function f(w){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,m(w)}function p(w){return t.containerState={},e.attempt(V6,h,m)(w)}function h(w){return r++,n.push([t.currentConstruct,t.containerState]),p(w)}function m(w){if(w===null){o&&y(),g(0),e.consume(w);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:s}),C(w)}function C(w){if(w===null){b(e.exit("chunkFlow"),!0),g(0),e.consume(w);return}return ke(w)?(e.consume(w),b(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(w),C)}function b(w,v){const S=t.sliceStream(w);if(v&&S.push(null),w.previous=s,s&&(s.next=w),s=w,o.defineSkip(w.start),o.write(S),t.parser.lazy[w.start.line]){let j=o.events.length;for(;j--;)if(o.events[j][1].start.offset<a&&(!o.events[j][1].end||o.events[j][1].end.offset>a))return;const E=t.events.length;let N=E,O,P;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){if(O){P=t.events[N][1].end;break}O=!0}for(g(r),j=E;j<t.events.length;)t.events[j][1].end={...P},j++;x1(t.events,N+1,0,t.events.slice(E)),t.events.length=j}}function g(w){let v=n.length;for(;v-- >w;){const S=n[v];t.containerState=S[1],S[0].exit.call(t,e)}n.length=w}function y(){o.write([null]),s=void 0,o=void 0,t.containerState._closeFlow=void 0}}function kS(e,t,n){return Ue(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function R6(e){if(e===null||kt(e)||gS(e))return 1;if(xS(e))return 2}function Yl(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const s=e[o].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Gl={name:"attention",resolveAll:jS,tokenize:SS};function jS(e,t){let n=-1,r,o,s,a,l,c,u,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},p={...e[n][1].start};B6(f,-c),B6(p,c),a={type:c>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},s={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},o={type:c>1?"strong":"emphasis",start:{...a.start},end:{...l.end}},e[r][1].end={...a.start},e[n][1].start={...l.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=zt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=zt(u,[["enter",o,t],["enter",a,t],["exit",a,t],["enter",s,t]]),u=zt(u,Yl(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=zt(u,[["exit",s,t],["enter",l,t],["exit",l,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,u=zt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,x1(e,r-1,n-r+3,u),n=r+u.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function SS(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=R6(r);let s;return a;function a(c){return s=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===s)return e.consume(c),l;const u=e.exit("attentionSequence"),d=R6(c),f=!d||d===2&&o||n.includes(c),p=!o||o===2&&d||n.includes(r);return u._open=!!(s===42?f:f&&(o||!p)),u._close=!!(s===42?p:p&&(d||!f)),t(c)}}function B6(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const LS={name:"autolink",tokenize:MS};function MS(e,t,n){let r=0;return o;function o(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(h){return g1(h)?(e.consume(h),a):h===64?n(h):u(h)}function a(h){return h===43||h===45||h===46||Ot(h)?(r=1,l(h)):u(h)}function l(h){return h===58?(e.consume(h),r=0,c):(h===43||h===45||h===46||Ot(h))&&r++<32?(e.consume(h),l):(r=0,u(h))}function c(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||Ul(h)?n(h):(e.consume(h),c)}function u(h){return h===64?(e.consume(h),d):hS(h)?(e.consume(h),u):n(h)}function d(h){return Ot(h)?f(h):n(h)}function f(h){return h===46?(e.consume(h),r=0,d):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||Ot(h))&&r++<63){const m=h===45?p:f;return e.consume(h),m}return n(h)}}const ys={partial:!0,tokenize:ES};function ES(e,t,n){return r;function r(s){return Oe(s)?Ue(e,o,"linePrefix")(s):o(s)}function o(s){return s===null||ke(s)?t(s):n(s)}}const z6={continuation:{tokenize:FS},exit:TS,name:"blockQuote",tokenize:NS};function NS(e,t,n){const r=this;return o;function o(a){if(a===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),s}return n(a)}function s(a){return Oe(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function FS(e,t,n){const r=this;return o;function o(a){return Oe(a)?Ue(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):s(a)}function s(a){return e.attempt(z6,t,n)(a)}}function TS(e){e.exit("blockQuote")}const Z6={name:"characterEscape",tokenize:_S};function _S(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),o}function o(s){return CS(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const W6={name:"characterReference",tokenize:AS};function AS(e,t,n){const r=this;let o=0,s,a;return l;function l(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),c}function c(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),s=31,a=Ot,d(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,a=mS,d):(e.enter("characterReferenceValue"),s=7,a=ql,d(f))}function d(f){if(f===59&&o){const p=e.exit("characterReferenceValue");return a===Ot&&!$l(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&o++<s?(e.consume(f),d):n(f)}}const $6={partial:!0,tokenize:OS},U6={concrete:!0,name:"codeFenced",tokenize:DS};function DS(e,t,n){const r=this,o={partial:!0,tokenize:S};let s=0,a=0,l;return c;function c(j){return u(j)}function u(j){const E=r.events[r.events.length-1];return s=E&&E[1].type==="linePrefix"?E[2].sliceSerialize(E[1],!0).length:0,l=j,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(j)}function d(j){return j===l?(a++,e.consume(j),d):a<3?n(j):(e.exit("codeFencedFenceSequence"),Oe(j)?Ue(e,f,"whitespace")(j):f(j))}function f(j){return j===null||ke(j)?(e.exit("codeFencedFence"),r.interrupt?t(j):e.check($6,C,v)(j)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(j))}function p(j){return j===null||ke(j)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(j)):Oe(j)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ue(e,h,"whitespace")(j)):j===96&&j===l?n(j):(e.consume(j),p)}function h(j){return j===null||ke(j)?f(j):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(j))}function m(j){return j===null||ke(j)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(j)):j===96&&j===l?n(j):(e.consume(j),m)}function C(j){return e.attempt(o,v,b)(j)}function b(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),g}function g(j){return s>0&&Oe(j)?Ue(e,y,"linePrefix",s+1)(j):y(j)}function y(j){return j===null||ke(j)?e.check($6,C,v)(j):(e.enter("codeFlowValue"),w(j))}function w(j){return j===null||ke(j)?(e.exit("codeFlowValue"),y(j)):(e.consume(j),w)}function v(j){return e.exit("codeFenced"),t(j)}function S(j,E,N){let O=0;return P;function P(B){return j.enter("lineEnding"),j.consume(B),j.exit("lineEnding"),V}function V(B){return j.enter("codeFencedFence"),Oe(B)?Ue(j,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):D(B)}function D(B){return B===l?(j.enter("codeFencedFenceSequence"),F(B)):N(B)}function F(B){return B===l?(O++,j.consume(B),F):O>=a?(j.exit("codeFencedFenceSequence"),Oe(B)?Ue(j,R,"whitespace")(B):R(B)):N(B)}function R(B){return B===null||ke(B)?(j.exit("codeFencedFence"),E(B)):N(B)}}}function OS(e,t,n){const r=this;return o;function o(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s)}function s(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Xl={name:"codeIndented",tokenize:IS},PS={partial:!0,tokenize:HS};function IS(e,t,n){const r=this;return o;function o(u){return e.enter("codeIndented"),Ue(e,s,"linePrefix",5)(u)}function s(u){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(u):n(u)}function a(u){return u===null?c(u):ke(u)?e.attempt(PS,a,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||ke(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}function HS(e,t,n){const r=this;return o;function o(a){return r.parser.lazy[r.now().line]?n(a):ke(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):Ue(e,s,"linePrefix",5)(a)}function s(a){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):ke(a)?o(a):n(a)}}const VS={name:"codeText",previous:BS,resolve:RS,tokenize:zS};function RS(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)o===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(o=r):(r===t||e[r][1].type==="lineEnding")&&(e[o][1].type="codeTextData",r!==o+2&&(e[o][1].end=e[r-1][1].end,e.splice(o+2,r-o-2),t-=r-o-2,r=o+2),o=void 0);return e}function BS(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function zS(e,t,n){let r=0,o,s;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),l(f)}function l(f){return f===96?(e.consume(f),r++,l):(e.exit("codeTextSequence"),c(f))}function c(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),c):f===96?(s=e.enter("codeTextSequence"),o=0,d(f)):ke(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||ke(f)?(e.exit("codeTextData"),c(f)):(e.consume(f),u)}function d(f){return f===96?(e.consume(f),o++,d):o===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(s.type="codeTextData",u(f))}}class ZS{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n==null?Number.POSITIVE_INFINITY:n;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const o=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return r&&$r(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),$r(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),$r(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);$r(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);$r(this.left,n.reverse())}}}function $r(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function q6(e){const t={};let n=-1,r,o,s,a,l,c,u;const d=new ZS(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,s=0,s<c.length&&c[s][1].type==="lineEndingBlank"&&(s+=2),s<c.length&&c[s][1].type==="content"))for(;++s<c.length&&c[s][1].type!=="content";)c[s][1].type==="chunkText"&&(c[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,WS(d,n)),n=t[n],u=!0);else if(r[1]._container){for(s=n,o=void 0;s--;)if(a=d.get(s),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(o&&(d.get(o)[1].type="lineEndingBlank"),a[1].type="lineEnding",o=s);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;o&&(r[1].end={...d.get(o)[1].start},l=d.slice(o,n),l.unshift(r),d.splice(o,n-o+1,l))}}return x1(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!u}function WS(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const s=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const l=a.events,c=[],u={};let d,f,p=-1,h=n,m=0,C=0;const b=[C];for(;h;){for(;e.get(++o)[1]!==h;);s.push(o),h._tokenizer||(d=r.sliceStream(h),h.next||d.push(null),f&&a.defineSkip(h.start),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(d),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++p<l.length;)l[p][0]==="exit"&&l[p-1][0]==="enter"&&l[p][1].type===l[p-1][1].type&&l[p][1].start.line!==l[p][1].end.line&&(C=p+1,b.push(C),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(a.events=[],h?(h._tokenizer=void 0,h.previous=void 0):b.pop(),p=b.length;p--;){const g=l.slice(b[p],b[p+1]),y=s.pop();c.push([y,y+g.length-1]),e.splice(y,2,g)}for(c.reverse(),p=-1;++p<c.length;)u[m+c[p][0]]=m+c[p][1],m+=c[p][1]-c[p][0]-1;return u}const $S={resolve:qS,tokenize:YS},US={partial:!0,tokenize:GS};function qS(e){return q6(e),e}function YS(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(l)}function o(l){return l===null?s(l):ke(l)?e.check(US,a,s)(l):(e.consume(l),o)}function s(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function a(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,o}}function GS(e,t,n){const r=this;return o;function o(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Ue(e,s,"linePrefix")}function s(a){if(a===null||ke(a))return n(a);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function Y6(e,t,n,r,o,s,a,l,c){const u=c||Number.POSITIVE_INFINITY;let d=0;return f;function f(g){return g===60?(e.enter(r),e.enter(o),e.enter(s),e.consume(g),e.exit(s),p):g===null||g===32||g===41||Ul(g)?n(g):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),C(g))}function p(g){return g===62?(e.enter(s),e.consume(g),e.exit(s),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),h(g))}function h(g){return g===62?(e.exit("chunkString"),e.exit(l),p(g)):g===null||g===60||ke(g)?n(g):(e.consume(g),g===92?m:h)}function m(g){return g===60||g===62||g===92?(e.consume(g),h):h(g)}function C(g){return!d&&(g===null||g===41||kt(g))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(g)):d<u&&g===40?(e.consume(g),d++,C):g===41?(e.consume(g),d--,C):g===null||g===32||g===40||Ul(g)?n(g):(e.consume(g),g===92?b:C)}function b(g){return g===40||g===41||g===92?(e.consume(g),C):C(g)}}function G6(e,t,n,r,o,s){const a=this;let l=0,c;return u;function u(h){return e.enter(r),e.enter(o),e.consume(h),e.exit(o),e.enter(s),d}function d(h){return l>999||h===null||h===91||h===93&&!c||h===94&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):h===93?(e.exit(s),e.enter(o),e.consume(h),e.exit(o),e.exit(r),t):ke(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||ke(h)||l++>999?(e.exit("chunkString"),d(h)):(e.consume(h),c||(c=!Oe(h)),h===92?p:f)}function p(h){return h===91||h===92||h===93?(e.consume(h),l++,f):f(h)}}function X6(e,t,n,r,o,s){let a;return l;function l(p){return p===34||p===39||p===40?(e.enter(r),e.enter(o),e.consume(p),e.exit(o),a=p===40?41:p,c):n(p)}function c(p){return p===a?(e.enter(o),e.consume(p),e.exit(o),e.exit(r),t):(e.enter(s),u(p))}function u(p){return p===a?(e.exit(s),c(a)):p===null?n(p):ke(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Ue(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===a||p===null||ke(p)?(e.exit("chunkString"),u(p)):(e.consume(p),p===92?f:d)}function f(p){return p===a||p===92?(e.consume(p),d):d(p)}}function Ur(e,t){let n;return r;function r(o){return ke(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Oe(o)?Ue(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}const XS={name:"definition",tokenize:QS},KS={partial:!0,tokenize:JS};function QS(e,t,n){const r=this;let o;return s;function s(h){return e.enter("definition"),a(h)}function a(h){return G6.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function l(h){return o=Wn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),c):n(h)}function c(h){return kt(h)?Ur(e,u)(h):u(h)}function u(h){return Y6(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function d(h){return e.attempt(KS,f,f)(h)}function f(h){return Oe(h)?Ue(e,p,"whitespace")(h):p(h)}function p(h){return h===null||ke(h)?(e.exit("definition"),r.parser.defined.push(o),t(h)):n(h)}}function JS(e,t,n){return r;function r(l){return kt(l)?Ur(e,o)(l):n(l)}function o(l){return X6(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function s(l){return Oe(l)?Ue(e,a,"whitespace")(l):a(l)}function a(l){return l===null||ke(l)?t(l):n(l)}}const eL={name:"hardBreakEscape",tokenize:tL};function tL(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),o}function o(s){return ke(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const nL={name:"headingAtx",resolve:rL,tokenize:oL};function rL(e,t){let n=e.length-2,r=3,o,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},x1(e,r,n-r+1,[["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t]])),e}function oL(e,t,n){let r=0;return o;function o(d){return e.enter("atxHeading"),s(d)}function s(d){return e.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(e.consume(d),a):d===null||kt(d)?(e.exit("atxHeadingSequence"),l(d)):n(d)}function l(d){return d===35?(e.enter("atxHeadingSequence"),c(d)):d===null||ke(d)?(e.exit("atxHeading"),t(d)):Oe(d)?Ue(e,l,"whitespace")(d):(e.enter("atxHeadingText"),u(d))}function c(d){return d===35?(e.consume(d),c):(e.exit("atxHeadingSequence"),l(d))}function u(d){return d===null||d===35||kt(d)?(e.exit("atxHeadingText"),l(d)):(e.consume(d),u)}}const sL=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],K6=["pre","script","style","textarea"],iL={concrete:!0,name:"htmlFlow",resolveTo:cL,tokenize:uL},aL={partial:!0,tokenize:fL},lL={partial:!0,tokenize:dL};function cL(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function uL(e,t,n){const r=this;let o,s,a,l,c;return u;function u(M){return d(M)}function d(M){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(M),f}function f(M){return M===33?(e.consume(M),p):M===47?(e.consume(M),s=!0,C):M===63?(e.consume(M),o=3,r.interrupt?t:L):g1(M)?(e.consume(M),a=String.fromCharCode(M),b):n(M)}function p(M){return M===45?(e.consume(M),o=2,h):M===91?(e.consume(M),o=5,l=0,m):g1(M)?(e.consume(M),o=4,r.interrupt?t:L):n(M)}function h(M){return M===45?(e.consume(M),r.interrupt?t:L):n(M)}function m(M){const Y="CDATA[";return M===Y.charCodeAt(l++)?(e.consume(M),l===Y.length?r.interrupt?t:D:m):n(M)}function C(M){return g1(M)?(e.consume(M),a=String.fromCharCode(M),b):n(M)}function b(M){if(M===null||M===47||M===62||kt(M)){const Y=M===47,ie=a.toLowerCase();return!Y&&!s&&K6.includes(ie)?(o=1,r.interrupt?t(M):D(M)):sL.includes(a.toLowerCase())?(o=6,Y?(e.consume(M),g):r.interrupt?t(M):D(M)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(M):s?y(M):w(M))}return M===45||Ot(M)?(e.consume(M),a+=String.fromCharCode(M),b):n(M)}function g(M){return M===62?(e.consume(M),r.interrupt?t:D):n(M)}function y(M){return Oe(M)?(e.consume(M),y):P(M)}function w(M){return M===47?(e.consume(M),P):M===58||M===95||g1(M)?(e.consume(M),v):Oe(M)?(e.consume(M),w):P(M)}function v(M){return M===45||M===46||M===58||M===95||Ot(M)?(e.consume(M),v):S(M)}function S(M){return M===61?(e.consume(M),j):Oe(M)?(e.consume(M),S):w(M)}function j(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),c=M,E):Oe(M)?(e.consume(M),j):N(M)}function E(M){return M===c?(e.consume(M),c=null,O):M===null||ke(M)?n(M):(e.consume(M),E)}function N(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||kt(M)?S(M):(e.consume(M),N)}function O(M){return M===47||M===62||Oe(M)?w(M):n(M)}function P(M){return M===62?(e.consume(M),V):n(M)}function V(M){return M===null||ke(M)?D(M):Oe(M)?(e.consume(M),V):n(M)}function D(M){return M===45&&o===2?(e.consume(M),$):M===60&&o===1?(e.consume(M),U):M===62&&o===4?(e.consume(M),z):M===63&&o===3?(e.consume(M),L):M===93&&o===5?(e.consume(M),J):ke(M)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(aL,ee,F)(M)):M===null||ke(M)?(e.exit("htmlFlowData"),F(M)):(e.consume(M),D)}function F(M){return e.check(lL,R,ee)(M)}function R(M){return e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),B}function B(M){return M===null||ke(M)?F(M):(e.enter("htmlFlowData"),D(M))}function $(M){return M===45?(e.consume(M),L):D(M)}function U(M){return M===47?(e.consume(M),a="",Z):D(M)}function Z(M){if(M===62){const Y=a.toLowerCase();return K6.includes(Y)?(e.consume(M),z):D(M)}return g1(M)&&a.length<8?(e.consume(M),a+=String.fromCharCode(M),Z):D(M)}function J(M){return M===93?(e.consume(M),L):D(M)}function L(M){return M===62?(e.consume(M),z):M===45&&o===2?(e.consume(M),L):D(M)}function z(M){return M===null||ke(M)?(e.exit("htmlFlowData"),ee(M)):(e.consume(M),z)}function ee(M){return e.exit("htmlFlow"),t(M)}}function dL(e,t,n){const r=this;return o;function o(a){return ke(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s):n(a)}function s(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function fL(e,t,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(ys,t,n)}}const pL={name:"htmlText",tokenize:hL};function hL(e,t,n){const r=this;let o,s,a;return l;function l(L){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(L),c}function c(L){return L===33?(e.consume(L),u):L===47?(e.consume(L),S):L===63?(e.consume(L),w):g1(L)?(e.consume(L),N):n(L)}function u(L){return L===45?(e.consume(L),d):L===91?(e.consume(L),s=0,m):g1(L)?(e.consume(L),y):n(L)}function d(L){return L===45?(e.consume(L),h):n(L)}function f(L){return L===null?n(L):L===45?(e.consume(L),p):ke(L)?(a=f,U(L)):(e.consume(L),f)}function p(L){return L===45?(e.consume(L),h):f(L)}function h(L){return L===62?$(L):L===45?p(L):f(L)}function m(L){const z="CDATA[";return L===z.charCodeAt(s++)?(e.consume(L),s===z.length?C:m):n(L)}function C(L){return L===null?n(L):L===93?(e.consume(L),b):ke(L)?(a=C,U(L)):(e.consume(L),C)}function b(L){return L===93?(e.consume(L),g):C(L)}function g(L){return L===62?$(L):L===93?(e.consume(L),g):C(L)}function y(L){return L===null||L===62?$(L):ke(L)?(a=y,U(L)):(e.consume(L),y)}function w(L){return L===null?n(L):L===63?(e.consume(L),v):ke(L)?(a=w,U(L)):(e.consume(L),w)}function v(L){return L===62?$(L):w(L)}function S(L){return g1(L)?(e.consume(L),j):n(L)}function j(L){return L===45||Ot(L)?(e.consume(L),j):E(L)}function E(L){return ke(L)?(a=E,U(L)):Oe(L)?(e.consume(L),E):$(L)}function N(L){return L===45||Ot(L)?(e.consume(L),N):L===47||L===62||kt(L)?O(L):n(L)}function O(L){return L===47?(e.consume(L),$):L===58||L===95||g1(L)?(e.consume(L),P):ke(L)?(a=O,U(L)):Oe(L)?(e.consume(L),O):$(L)}function P(L){return L===45||L===46||L===58||L===95||Ot(L)?(e.consume(L),P):V(L)}function V(L){return L===61?(e.consume(L),D):ke(L)?(a=V,U(L)):Oe(L)?(e.consume(L),V):O(L)}function D(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(e.consume(L),o=L,F):ke(L)?(a=D,U(L)):Oe(L)?(e.consume(L),D):(e.consume(L),R)}function F(L){return L===o?(e.consume(L),o=void 0,B):L===null?n(L):ke(L)?(a=F,U(L)):(e.consume(L),F)}function R(L){return L===null||L===34||L===39||L===60||L===61||L===96?n(L):L===47||L===62||kt(L)?O(L):(e.consume(L),R)}function B(L){return L===47||L===62||kt(L)?O(L):n(L)}function $(L){return L===62?(e.consume(L),e.exit("htmlTextData"),e.exit("htmlText"),t):n(L)}function U(L){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),Z}function Z(L){return Oe(L)?Ue(e,J,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):J(L)}function J(L){return e.enter("htmlTextData"),a(L)}}const Kl={name:"labelEnd",resolveAll:gL,resolveTo:bL,tokenize:yL},mL={tokenize:wL},CL={tokenize:vL},xL={tokenize:kL};function gL(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const o=r.type==="labelImage"?4:2;r.type="data",t+=o}}return e.length!==n.length&&x1(e,0,e.length,n),e}function bL(e,t){let n=e.length,r=0,o,s,a,l;for(;n--;)if(o=e[n][1],s){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[n][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(s=n,o.type!=="labelLink")){r=2;break}}else o.type==="labelEnd"&&(a=n);const c={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[s][1].start},end:{...e[a][1].end}},d={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[a-2][1].start}};return l=[["enter",c,t],["enter",u,t]],l=zt(l,e.slice(s+1,s+r+3)),l=zt(l,[["enter",d,t]]),l=zt(l,Yl(t.parser.constructs.insideSpan.null,e.slice(s+r+4,a-3),t)),l=zt(l,[["exit",d,t],e[a-2],e[a-1],["exit",u,t]]),l=zt(l,e.slice(a+1)),l=zt(l,[["exit",c,t]]),x1(e,s,e.length,l),e}function yL(e,t,n){const r=this;let o=r.events.length,s,a;for(;o--;)if((r.events[o][1].type==="labelImage"||r.events[o][1].type==="labelLink")&&!r.events[o][1]._balanced){s=r.events[o][1];break}return l;function l(p){return s?s._inactive?f(p):(a=r.parser.defined.includes(Wn(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),c):n(p)}function c(p){return p===40?e.attempt(mL,d,a?d:f)(p):p===91?e.attempt(CL,d,a?u:f)(p):a?d(p):f(p)}function u(p){return e.attempt(xL,d,f)(p)}function d(p){return t(p)}function f(p){return s._balanced=!0,n(p)}}function wL(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),o}function o(f){return kt(f)?Ur(e,s)(f):s(f)}function s(f){return f===41?d(f):Y6(e,a,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return kt(f)?Ur(e,c)(f):d(f)}function l(f){return n(f)}function c(f){return f===34||f===39||f===40?X6(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function u(f){return kt(f)?Ur(e,d)(f):d(f)}function d(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function vL(e,t,n){const r=this;return o;function o(l){return G6.call(r,e,s,a,"reference","referenceMarker","referenceString")(l)}function s(l){return r.parser.defined.includes(Wn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function a(l){return n(l)}}function kL(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),o}function o(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const jL={name:"labelStartImage",resolveAll:Kl.resolveAll,tokenize:SL};function SL(e,t,n){const r=this;return o;function o(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),s}function s(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),a):n(l)}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const LL={name:"labelStartLink",resolveAll:Kl.resolveAll,tokenize:ML};function ML(e,t,n){const r=this;return o;function o(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),s}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Ql={name:"lineEnding",tokenize:EL};function EL(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ue(e,t,"linePrefix")}}const ws={name:"thematicBreak",tokenize:NL};function NL(e,t,n){let r=0,o;return s;function s(u){return e.enter("thematicBreak"),a(u)}function a(u){return o=u,l(u)}function l(u){return u===o?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||ke(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===o?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),Oe(u)?Ue(e,l,"whitespace")(u):l(u))}}const jt={continuation:{tokenize:AL},exit:OL,name:"list",tokenize:_L},FL={partial:!0,tokenize:PL},TL={partial:!0,tokenize:DL};function _L(e,t,n){const r=this,o=r.events[r.events.length-1];let s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,a=0;return l;function l(h){const m=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:ql(h)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(ws,n,u)(h):u(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(h)}return n(h)}function c(h){return ql(h)&&++a<10?(e.consume(h),c):(!r.interrupt||a<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),u(h)):n(h)}function u(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(ys,r.interrupt?n:d,e.attempt(FL,p,f))}function d(h){return r.containerState.initialBlankLine=!0,s++,p(h)}function f(h){return Oe(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):n(h)}function p(h){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function AL(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ys,o,s);function o(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ue(e,t,"listItemIndent",r.containerState.size+1)(l)}function s(l){return r.containerState.furtherBlankLines||!Oe(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(TL,t,a)(l))}function a(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ue(e,e.attempt(jt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function DL(e,t,n){const r=this;return Ue(e,o,"listItemIndent",r.containerState.size+1);function o(s){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(s):n(s)}}function OL(e){e.exit(this.containerState.type)}function PL(e,t,n){const r=this;return Ue(e,o,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(s){const a=r.events[r.events.length-1];return!Oe(s)&&a&&a[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Q6={name:"setextUnderline",resolveTo:IL,tokenize:HL};function IL(e,t){let n=e.length,r,o,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(o=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",s?(e.splice(o,0,["enter",a,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function HL(e,t,n){const r=this;let o;return s;function s(u){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),o=u,a(u)):n(u)}function a(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===o?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Oe(u)?Ue(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||ke(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const VL={tokenize:RL};function RL(e){const t=this,n=e.attempt(ys,r,e.attempt(this.parser.constructs.flowInitial,o,Ue(e,e.attempt(this.parser.constructs.flow,o,e.attempt($S,o)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function o(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const BL={resolveAll:e8()},zL=J6("string"),ZL=J6("text");function J6(e){return{resolveAll:e8(e==="text"?WL:void 0),tokenize:t};function t(n){const r=this,o=this.parser.constructs[e],s=n.attempt(o,a,l);return a;function a(d){return u(d)?s(d):l(d)}function l(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),c}function c(d){return u(d)?(n.exit("data"),s(d)):(n.consume(d),c)}function u(d){if(d===null)return!0;const f=o[d];let p=-1;if(f)for(;++p<f.length;){const h=f[p];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function e8(e){return t;function t(n,r){let o=-1,s;for(;++o<=n.length;)s===void 0?n[o]&&n[o][1].type==="data"&&(s=o,o++):(!n[o]||n[o][1].type!=="data")&&(o!==s+2&&(n[s][1].end=n[o-1][1].end,n.splice(s+2,o-s-2),o=s+2),s=void 0);return e?e(n,r):n}}function WL(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],o=t.sliceStream(r);let s=o.length,a=-1,l=0,c;for(;s--;){const u=o[s];if(typeof u=="string"){for(a=u.length;u.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(u===-2)c=!0,l++;else if(u!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:r.start._bufferIndex+a,_index:r.start._index+s,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const $L=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:XS},disable:{null:[]},document:{42:jt,43:jt,45:jt,48:jt,49:jt,50:jt,51:jt,52:jt,53:jt,54:jt,55:jt,56:jt,57:jt,62:z6},flow:{35:nL,42:ws,45:[Q6,ws],60:iL,61:Q6,95:ws,96:U6,126:U6},flowInitial:{[-2]:Xl,[-1]:Xl,32:Xl},insideSpan:{null:[Gl,BL]},string:{38:W6,92:Z6},text:{[-5]:Ql,[-4]:Ql,[-3]:Ql,33:jL,38:W6,42:Gl,60:[LS,pL],91:LL,92:[eL,Z6],93:Kl,95:Gl,96:VS}},Symbol.toStringTag,{value:"Module"}));function UL(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},s=[];let a=[],l=[];const c={attempt:E(S),check:E(j),consume:y,enter:w,exit:v,interrupt:E(j,{interrupt:!0})},u={code:null,containerState:{},defineSkip:C,events:[],now:m,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:f};let d=t.tokenize.call(u,c);return t.resolveAll&&s.push(t),u;function f(V){return a=zt(a,V),b(),a[a.length-1]!==null?[]:(N(t,0),u.events=Yl(s,u.events,u),u.events)}function p(V,D){return YL(h(V),D)}function h(V){return qL(a,V)}function m(){const{_bufferIndex:V,_index:D,line:F,column:R,offset:B}=r;return{_bufferIndex:V,_index:D,line:F,column:R,offset:B}}function C(V){o[V.line]=V.column,P()}function b(){let V;for(;r._index<a.length;){const D=a[r._index];if(typeof D=="string")for(V=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===V&&r._bufferIndex<D.length;)g(D.charCodeAt(r._bufferIndex));else g(D)}}function g(V){d=d(V)}function y(V){ke(V)?(r.line++,r.column=1,r.offset+=V===-3?2:1,P()):V!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=V}function w(V,D){const F=D||{};return F.type=V,F.start=m(),u.events.push(["enter",F,u]),l.push(F),F}function v(V){const D=l.pop();return D.end=m(),u.events.push(["exit",D,u]),D}function S(V,D){N(V,D.from)}function j(V,D){D.restore()}function E(V,D){return F;function F(R,B,$){let U,Z,J,L;return Array.isArray(R)?ee(R):"tokenize"in R?ee([R]):z(R);function z(K){return W;function W(te){const G=te!==null&&K[te],ne=te!==null&&K.null,oe=[...Array.isArray(G)?G:G?[G]:[],...Array.isArray(ne)?ne:ne?[ne]:[]];return ee(oe)(te)}}function ee(K){return U=K,Z=0,K.length===0?$:M(K[Z])}function M(K){return W;function W(te){return L=O(),J=K,K.partial||(u.currentConstruct=K),K.name&&u.parser.constructs.disable.null.includes(K.name)?ie():K.tokenize.call(D?Object.assign(Object.create(u),D):u,c,Y,ie)(te)}}function Y(K){return V(J,L),B}function ie(K){return L.restore(),++Z<U.length?M(U[Z]):$}}}function N(V,D){V.resolveAll&&!s.includes(V)&&s.push(V),V.resolve&&x1(u.events,D,u.events.length-D,V.resolve(u.events.slice(D),u)),V.resolveTo&&(u.events=V.resolveTo(u.events,u))}function O(){const V=m(),D=u.previous,F=u.currentConstruct,R=u.events.length,B=Array.from(l);return{from:R,restore:$};function $(){r=V,u.previous=D,u.currentConstruct=F,u.events.length=R,l=B,P()}}function P(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}function qL(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,s=t.end._bufferIndex;let a;if(n===o)a=[e[n].slice(r,s)];else{if(a=e.slice(n,o),r>-1){const l=a[0];typeof l=="string"?a[0]=l.slice(r):a.shift()}s>0&&a.push(e[o].slice(0,s))}return a}function YL(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const s=e[n];let a;if(typeof s=="string")a=s;else switch(s){case-5:{a="\r";break}case-4:{a=`
|
|
281
|
-
`;break}case-3:{a=`\r
|
|
282
|
-
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&o)continue;a=" ";break}default:a=String.fromCharCode(s)}o=s===-2,r.push(a)}return r.join("")}function GL(e){const r={constructs:dS([$L,...(e||{}).extensions||[]]),content:o(bS),defined:[],document:o(wS),flow:o(VL),lazy:{},string:o(zL),text:o(ZL)};return r;function o(s){return a;function a(l){return UL(r,s,l)}}}function XL(e){for(;!q6(e););return e}const t8=/[\0\t\n\r]/g;function KL(){let e=1,t="",n=!0,r;return o;function o(s,a,l){const c=[];let u,d,f,p,h;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(a||void 0).decode(s)),f=0,t="",n&&(s.charCodeAt(0)===65279&&f++,n=void 0);f<s.length;){if(t8.lastIndex=f,u=t8.exec(s),p=u&&u.index!==void 0?u.index:s.length,h=s.charCodeAt(p),!u){t=s.slice(f);break}if(h===10&&f===p&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),f<p&&(c.push(s.slice(f,p)),e+=p-f),h){case 0:{c.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,c.push(-2);e++<d;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const QL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function JL(e){return e.replace(QL,eM)}function eM(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),s=o===120||o===88;return H6(n.slice(s?2:1),s?16:10)}return $l(n)||e}const n8={}.hasOwnProperty;function tM(e,t,n){return typeof t!="string"&&(n=t,t=void 0),nM(n)(XL(GL(n).document().write(KL()(e,t,!0))))}function nM(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(It),autolinkProtocol:O,autolinkEmail:O,atxHeading:s(De),blockQuote:s(ne),characterEscape:O,characterReference:O,codeFenced:s(oe),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:s(oe,a),codeText:s(ue,a),codeTextData:O,data:O,codeFlowValue:O,definition:s(Le),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:s(le),hardBreakEscape:s(Fe),hardBreakTrailing:s(Fe),htmlFlow:s(Ke,a),htmlFlowData:O,htmlText:s(Ke,a),htmlTextData:O,image:s(n1),label:a,link:s(It),listItem:s(Zt),listItemValue:p,listOrdered:s(it,f),listUnordered:s(it),paragraph:s(fe),reference:M,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:s(De),strong:s(Me),thematicBreak:s(I)},exit:{atxHeading:c(),atxHeadingSequence:S,autolink:c(),autolinkEmail:G,autolinkProtocol:te,blockQuote:c(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:ie,characterReferenceMarkerNumeric:ie,characterReferenceValue:K,characterReference:W,codeFenced:c(b),codeFencedFence:C,codeFencedFenceInfo:h,codeFencedFenceMeta:m,codeFlowValue:P,codeIndented:c(g),codeText:c(B),codeTextData:P,data:P,definition:c(),definitionDestinationString:v,definitionLabelString:y,definitionTitleString:w,emphasis:c(),hardBreakEscape:c(D),hardBreakTrailing:c(D),htmlFlow:c(F),htmlFlowData:P,htmlText:c(R),htmlTextData:P,image:c(U),label:J,labelText:Z,lineEnding:V,link:c($),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Y,resourceDestinationString:L,resourceTitleString:z,resource:ee,setextHeading:c(N),setextHeadingLineSequence:E,setextHeadingText:j,strong:c(),thematicBreak:c()}};r8(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(_){let H={type:"root",children:[]};const q={stack:[H],tokenStack:[],config:t,enter:l,exit:u,buffer:a,resume:d,data:n},X=[];let Q=-1;for(;++Q<_.length;)if(_[Q][1].type==="listOrdered"||_[Q][1].type==="listUnordered")if(_[Q][0]==="enter")X.push(Q);else{const ae=X.pop();Q=o(_,ae,Q)}for(Q=-1;++Q<_.length;){const ae=t[_[Q][0]];n8.call(ae,_[Q][1].type)&&ae[_[Q][1].type].call(Object.assign({sliceSerialize:_[Q][2].sliceSerialize},q),_[Q][1])}if(q.tokenStack.length>0){const ae=q.tokenStack[q.tokenStack.length-1];(ae[1]||o8).call(q,void 0,ae[0])}for(H.position={start:X1(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:X1(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},Q=-1;++Q<t.transforms.length;)H=t.transforms[Q](H)||H;return H}function o(_,H,q){let X=H-1,Q=-1,ae=!1,xe,we,Be,Qe;for(;++X<=q;){const He=_[X];switch(He[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{He[0]==="enter"?Q++:Q--,Qe=void 0;break}case"lineEndingBlank":{He[0]==="enter"&&(xe&&!Qe&&!Q&&!Be&&(Be=X),Qe=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Qe=void 0}if(!Q&&He[0]==="enter"&&He[1].type==="listItemPrefix"||Q===-1&&He[0]==="exit"&&(He[1].type==="listUnordered"||He[1].type==="listOrdered")){if(xe){let dt=X;for(we=void 0;dt--;){const ht=_[dt];if(ht[1].type==="lineEnding"||ht[1].type==="lineEndingBlank"){if(ht[0]==="exit")continue;we&&(_[we][1].type="lineEndingBlank",ae=!0),ht[1].type="lineEnding",we=dt}else if(!(ht[1].type==="linePrefix"||ht[1].type==="blockQuotePrefix"||ht[1].type==="blockQuotePrefixWhitespace"||ht[1].type==="blockQuoteMarker"||ht[1].type==="listItemIndent"))break}Be&&(!we||Be<we)&&(xe._spread=!0),xe.end=Object.assign({},we?_[we][1].start:He[1].end),_.splice(we||X,0,["exit",xe,He[2]]),X++,q++}if(He[1].type==="listItemPrefix"){const dt={type:"listItem",_spread:!1,start:Object.assign({},He[1].start),end:void 0};xe=dt,_.splice(X,0,["enter",dt,He[2]]),X++,q++,Be=void 0,Qe=!0}}}return _[H][1]._spread=ae,q}function s(_,H){return q;function q(X){l.call(this,_(X),X),H&&H.call(this,X)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(_,H,q){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([H,q||void 0]),_.position={start:X1(H.start),end:void 0}}function c(_){return H;function H(q){_&&_.call(this,q),u.call(this,q)}}function u(_,H){const q=this.stack.pop(),X=this.tokenStack.pop();if(X)X[0].type!==_.type&&(H?H.call(this,_,X[0]):(X[1]||o8).call(this,_,X[0]));else throw new Error("Cannot close `"+_.type+"` ("+Zr({start:_.start,end:_.end})+"): it’s not open");q.position.end=X1(_.end)}function d(){return cS(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(_){if(this.data.expectingFirstListItemValue){const H=this.stack[this.stack.length-2];H.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function h(){const _=this.resume(),H=this.stack[this.stack.length-1];H.lang=_}function m(){const _=this.resume(),H=this.stack[this.stack.length-1];H.meta=_}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){const _=this.resume(),H=this.stack[this.stack.length-1];H.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function g(){const _=this.resume(),H=this.stack[this.stack.length-1];H.value=_.replace(/(\r?\n|\r)$/g,"")}function y(_){const H=this.resume(),q=this.stack[this.stack.length-1];q.label=H,q.identifier=Wn(this.sliceSerialize(_)).toLowerCase()}function w(){const _=this.resume(),H=this.stack[this.stack.length-1];H.title=_}function v(){const _=this.resume(),H=this.stack[this.stack.length-1];H.url=_}function S(_){const H=this.stack[this.stack.length-1];if(!H.depth){const q=this.sliceSerialize(_).length;H.depth=q}}function j(){this.data.setextHeadingSlurpLineEnding=!0}function E(_){const H=this.stack[this.stack.length-1];H.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function N(){this.data.setextHeadingSlurpLineEnding=void 0}function O(_){const q=this.stack[this.stack.length-1].children;let X=q[q.length-1];(!X||X.type!=="text")&&(X=Ze(),X.position={start:X1(_.start),end:void 0},q.push(X)),this.stack.push(X)}function P(_){const H=this.stack.pop();H.value+=this.sliceSerialize(_),H.position.end=X1(_.end)}function V(_){const H=this.stack[this.stack.length-1];if(this.data.atHardBreak){const q=H.children[H.children.length-1];q.position.end=X1(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(H.type)&&(O.call(this,_),P.call(this,_))}function D(){this.data.atHardBreak=!0}function F(){const _=this.resume(),H=this.stack[this.stack.length-1];H.value=_}function R(){const _=this.resume(),H=this.stack[this.stack.length-1];H.value=_}function B(){const _=this.resume(),H=this.stack[this.stack.length-1];H.value=_}function $(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const H=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=H,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function U(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const H=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=H,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function Z(_){const H=this.sliceSerialize(_),q=this.stack[this.stack.length-2];q.label=JL(H),q.identifier=Wn(H).toLowerCase()}function J(){const _=this.stack[this.stack.length-1],H=this.resume(),q=this.stack[this.stack.length-1];if(this.data.inReference=!0,q.type==="link"){const X=_.children;q.children=X}else q.alt=H}function L(){const _=this.resume(),H=this.stack[this.stack.length-1];H.url=_}function z(){const _=this.resume(),H=this.stack[this.stack.length-1];H.title=_}function ee(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function Y(_){const H=this.resume(),q=this.stack[this.stack.length-1];q.label=H,q.identifier=Wn(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function ie(_){this.data.characterReferenceType=_.type}function K(_){const H=this.sliceSerialize(_),q=this.data.characterReferenceType;let X;q?(X=H6(H,q==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):X=$l(H);const Q=this.stack[this.stack.length-1];Q.value+=X}function W(_){const H=this.stack.pop();H.position.end=X1(_.end)}function te(_){P.call(this,_);const H=this.stack[this.stack.length-1];H.url=this.sliceSerialize(_)}function G(_){P.call(this,_);const H=this.stack[this.stack.length-1];H.url="mailto:"+this.sliceSerialize(_)}function ne(){return{type:"blockquote",children:[]}}function oe(){return{type:"code",lang:null,meta:null,value:""}}function ue(){return{type:"inlineCode",value:""}}function Le(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function le(){return{type:"emphasis",children:[]}}function De(){return{type:"heading",depth:0,children:[]}}function Fe(){return{type:"break"}}function Ke(){return{type:"html",value:""}}function n1(){return{type:"image",title:null,url:"",alt:null}}function It(){return{type:"link",title:null,url:"",children:[]}}function it(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function Zt(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function fe(){return{type:"paragraph",children:[]}}function Me(){return{type:"strong",children:[]}}function Ze(){return{type:"text",value:""}}function I(){return{type:"thematicBreak"}}}function X1(e){return{line:e.line,column:e.column,offset:e.offset}}function r8(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?r8(e,r):rM(e,r)}}function rM(e,t){let n;for(n in t)if(n8.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function o8(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Zr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Zr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Zr({start:t.start,end:t.end})+") is still open")}function oM(e){const t=this;t.parser=n;function n(r){return tM(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function sM(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function iM(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
283
|
-
`}]}function aM(e,t){const n=t.value?t.value+`
|
|
284
|
-
`:"",r={},o=t.lang?t.lang.split(/\s+/):[];o.length>0&&(r.className=["language-"+o[0]]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function lM(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function cM(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function uM(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=$n(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let a,l=e.footnoteCounts.get(r);l===void 0?(l=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=s+1,l+=1,e.footnoteCounts.set(r,l);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,u),e.applyData(t,u)}function dM(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fM(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function s8(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),s=o[0];s&&s.type==="text"?s.value="["+s.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&a.type==="text"?a.value+=r:o.push({type:"text",value:r}),o}function pM(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return s8(e,t);const o={src:$n(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(o.title=r.title);const s={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,s),e.applyData(t,s)}function hM(e,t){const n={src:$n(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function mM(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function CM(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return s8(e,t);const o={href:$n(r.url||"")};r.title!==null&&r.title!==void 0&&(o.title=r.title);const s={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function xM(e,t){const n={href:$n(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function gM(e,t,n){const r=e.all(t),o=n?bM(n):i8(t),s={},a=[];if(typeof t.checked=="boolean"){const d=r[0];let f;d&&d.type==="element"&&d.tagName==="p"?f=d:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const d=r[l];(o||l!==0||d.type!=="element"||d.tagName!=="p")&&a.push({type:"text",value:`
|
|
285
|
-
`}),d.type==="element"&&d.tagName==="p"&&!o?a.push(...d.children):a.push(d)}const c=r[r.length-1];c&&(o||c.type!=="element"||c.tagName!=="p")&&a.push({type:"text",value:`
|
|
286
|
-
`});const u={type:"element",tagName:"li",properties:s,children:a};return e.patch(t,u),e.applyData(t,u)}function bM(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=i8(n[r])}return t}function i8(e){const t=e.spread;return t==null?e.children.length>1:t}function yM(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o<r.length;){const a=r[o];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function wM(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function vM(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function kM(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function jM(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),o.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=Vl(t.children[1]),c=L6(t.children[t.children.length-1]);l&&c&&(a.position={start:l,end:c}),o.push(a)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,s),e.applyData(t,s)}function SM(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,l=a?a.length:t.children.length;let c=-1;const u=[];for(;++c<l;){const f=t.children[c],p={},h=a?a[c]:void 0;h&&(p.align=h);let m={type:"element",tagName:s,properties:p,children:[]};f&&(m.children=e.all(f),e.patch(f,m),m=e.applyData(f,m)),u.push(m)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,d),e.applyData(t,d)}function LM(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const a8=9,l8=32;function MM(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const s=[];for(;r;)s.push(c8(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return s.push(c8(t.slice(o),o>0,!1)),s.join("")}function c8(e,t,n){let r=0,o=e.length;if(t){let s=e.codePointAt(r);for(;s===a8||s===l8;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(o-1);for(;s===a8||s===l8;)o--,s=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function EM(e,t){const n={type:"text",value:MM(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function NM(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const FM={blockquote:sM,break:iM,code:aM,delete:lM,emphasis:cM,footnoteReference:uM,heading:dM,html:fM,imageReference:pM,image:hM,inlineCode:mM,linkReference:CM,link:xM,listItem:gM,list:yM,paragraph:wM,root:vM,strong:kM,table:jM,tableCell:LM,tableRow:SM,text:EM,thematicBreak:NM,toml:vs,yaml:vs,definition:vs,footnoteDefinition:vs};function vs(){}const u8=-1,ks=0,qr=1,js=2,Jl=3,e2=4,t2=5,n2=6,d8=7,f8=8,p8=typeof self=="object"?self:globalThis,TM=(e,t)=>{const n=(o,s)=>(e.set(s,o),o),r=o=>{if(e.has(o))return e.get(o);const[s,a]=t[o];switch(s){case ks:case u8:return n(a,o);case qr:{const l=n([],o);for(const c of a)l.push(r(c));return l}case js:{const l=n({},o);for(const[c,u]of a)l[r(c)]=r(u);return l}case Jl:return n(new Date(a),o);case e2:{const{source:l,flags:c}=a;return n(new RegExp(l,c),o)}case t2:{const l=n(new Map,o);for(const[c,u]of a)l.set(r(c),r(u));return l}case n2:{const l=n(new Set,o);for(const c of a)l.add(r(c));return l}case d8:{const{name:l,message:c}=a;return n(new p8[l](c),o)}case f8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:l}=new Uint8Array(a);return n(new DataView(l),a)}}return n(new p8[s](a),o)};return r},h8=e=>TM(new Map,e)(0),Un="",{toString:_M}={},{keys:AM}=Object,Yr=e=>{const t=typeof e;if(t!=="object"||!e)return[ks,t];const n=_M.call(e).slice(8,-1);switch(n){case"Array":return[qr,Un];case"Object":return[js,Un];case"Date":return[Jl,Un];case"RegExp":return[e2,Un];case"Map":return[t2,Un];case"Set":return[n2,Un];case"DataView":return[qr,n]}return n.includes("Array")?[qr,n]:n.includes("Error")?[d8,n]:[js,n]},Ss=([e,t])=>e===ks&&(t==="function"||t==="symbol"),DM=(e,t,n,r)=>{const o=(a,l)=>{const c=r.push(a)-1;return n.set(l,c),c},s=a=>{if(n.has(a))return n.get(a);let[l,c]=Yr(a);switch(l){case ks:{let d=a;switch(c){case"bigint":l=f8,d=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);d=null;break;case"undefined":return o([u8],a)}return o([l,d],a)}case qr:{if(c){let p=a;return c==="DataView"?p=new Uint8Array(a.buffer):c==="ArrayBuffer"&&(p=new Uint8Array(a)),o([c,[...p]],a)}const d=[],f=o([l,d],a);for(const p of a)d.push(s(p));return f}case js:{if(c)switch(c){case"BigInt":return o([c,a.toString()],a);case"Boolean":case"Number":case"String":return o([c,a.valueOf()],a)}if(t&&"toJSON"in a)return s(a.toJSON());const d=[],f=o([l,d],a);for(const p of AM(a))(e||!Ss(Yr(a[p])))&&d.push([s(p),s(a[p])]);return f}case Jl:return o([l,a.toISOString()],a);case e2:{const{source:d,flags:f}=a;return o([l,{source:d,flags:f}],a)}case t2:{const d=[],f=o([l,d],a);for(const[p,h]of a)(e||!(Ss(Yr(p))||Ss(Yr(h))))&&d.push([s(p),s(h)]);return f}case n2:{const d=[],f=o([l,d],a);for(const p of a)(e||!Ss(Yr(p)))&&d.push(s(p));return f}}const{message:u}=a;return o([l,{name:c,message:u}],a)};return s},m8=(e,{json:t,lossy:n}={})=>{const r=[];return DM(!(t||n),!!t,new Map,r)(e),r},Ls=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?h8(m8(e,t)):structuredClone(e):(e,t)=>h8(m8(e,t));function OM(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function PM(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function IM(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||OM,r=e.options.footnoteBackLabel||PM,o=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let c=-1;for(;++c<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[c]);if(!u)continue;const d=e.all(u),f=String(u.identifier).toUpperCase(),p=$n(f.toLowerCase());let h=0;const m=[],C=e.footnoteCounts.get(f);for(;C!==void 0&&++h<=C;){m.length>0&&m.push({type:"text",value:" "});let y=typeof n=="string"?n:n(c,h);typeof y=="string"&&(y={type:"text",value:y}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,h),className:["data-footnote-backref"]},children:Array.isArray(y)?y:[y]})}const b=d[d.length-1];if(b&&b.type==="element"&&b.tagName==="p"){const y=b.children[b.children.length-1];y&&y.type==="text"?y.value+=" ":b.children.push({type:"text",value:" "}),b.children.push(...m)}else d.push(...m);const g={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(d,!0)};e.patch(u,g),l.push(g)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...Ls(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
|
|
287
|
-
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
|
|
288
|
-
`}]}}const C8=function(e){if(e==null)return BM;if(typeof e=="function")return Ms(e);if(typeof e=="object")return Array.isArray(e)?HM(e):VM(e);if(typeof e=="string")return RM(e);throw new Error("Expected function, string, or object as test")};function HM(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=C8(e[n]);return Ms(r);function r(...o){let s=-1;for(;++s<t.length;)if(t[s].apply(this,o))return!0;return!1}}function VM(e){const t=e;return Ms(n);function n(r){const o=r;let s;for(s in e)if(o[s]!==t[s])return!1;return!0}}function RM(e){return Ms(t);function t(n){return n&&n.type===e}}function Ms(e){return t;function t(n,r,o){return!!(zM(n)&&e.call(this,n,typeof r=="number"?r:void 0,o||void 0))}}function BM(){return!0}function zM(e){return e!==null&&typeof e=="object"&&"type"in e}function fF(e){return e}const x8=[],ZM=!0,g8=!1,WM="skip";function $M(e,t,n,r){let o;typeof t=="function"&&typeof n!="function"?(r=n,n=t):o=t;const s=C8(o),a=r?-1:1;l(e,void 0,[])();function l(c,u,d){const f=c&&typeof c=="object"?c:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(c.type+(h?"<"+h+">":""))+")"})}return p;function p(){let h=x8,m,C,b;if((!t||s(c,u,d[d.length-1]||void 0))&&(h=UM(n(c,d)),h[0]===g8))return h;if("children"in c&&c.children){const g=c;if(g.children&&h[0]!==WM)for(C=(r?g.children.length:-1)+a,b=d.concat(g);C>-1&&C<g.children.length;){const y=g.children[C];if(m=l(y,C,b)(),m[0]===g8)return m;C=typeof m[1]=="number"?m[1]:C+a}}return h}}}function UM(e){return Array.isArray(e)?e:typeof e=="number"?[ZM,e]:e==null?x8:[e]}function b8(e,t,n,r){let o,s,a;typeof t=="function"&&typeof n!="function"?(s=void 0,a=t,o=n):(s=t,a=n,o=r),$M(e,s,l,o);function l(c,u){const d=u[u.length-1],f=d?d.children.indexOf(c):void 0;return a(c,f,d)}}const r2={}.hasOwnProperty,qM={};function YM(e,t){const n=t||qM,r=new Map,o=new Map,s=new Map,a={...FM,...n.handlers},l={all:u,applyData:XM,definitionById:r,footnoteById:o,footnoteCounts:s,footnoteOrder:[],handlers:a,one:c,options:n,patch:GM,wrap:QM};return b8(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const f=d.type==="definition"?r:o,p=String(d.identifier).toUpperCase();f.has(p)||f.set(p,d)}}),l;function c(d,f){const p=d.type,h=l.handlers[p];if(r2.call(l.handlers,p)&&h)return h(l,d,f);if(l.options.passThrough&&l.options.passThrough.includes(p)){if("children"in d){const{children:C,...b}=d,g=Ls(b);return g.children=l.all(d),g}return Ls(d)}return(l.options.unknownHandler||KM)(l,d,f)}function u(d){const f=[];if("children"in d){const p=d.children;let h=-1;for(;++h<p.length;){const m=l.one(p[h],d);if(m){if(h&&p[h-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=y8(m.value)),!Array.isArray(m)&&m.type==="element")){const C=m.children[0];C&&C.type==="text"&&(C.value=y8(C.value))}Array.isArray(m)?f.push(...m):f.push(m)}}}return f}}function GM(e,t){e.position&&(t.position=Bj(e))}function XM(e,t){let n=t;if(e&&e.data){const r=e.data.hName,o=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&s&&Object.assign(n.properties,Ls(s)),"children"in n&&n.children&&o!==null&&o!==void 0&&(n.children=o)}return n}function KM(e,t){const n=t.data||{},r="value"in t&&!(r2.call(n,"hProperties")||r2.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function QM(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
289
|
-
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
290
|
-
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
291
|
-
`}),n}function y8(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function w8(e,t){const n=YM(e,t),r=n.one(e,void 0),o=IM(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&s.children.push({type:"text",value:`
|
|
292
|
-
`},o),s}function JM(e,t){return e&&"run"in e?async function(n,r){const o=w8(n,{file:r,...t});await e.run(o,r)}:function(n,r){return w8(n,{file:r,...e||t})}}function v8(e){if(e)throw e}var Es=Object.prototype.hasOwnProperty,k8=Object.prototype.toString,j8=Object.defineProperty,S8=Object.getOwnPropertyDescriptor,L8=function(t){return typeof Array.isArray=="function"?Array.isArray(t):k8.call(t)==="[object Array]"},M8=function(t){if(!t||k8.call(t)!=="[object Object]")return!1;var n=Es.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Es.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var o;for(o in t);return typeof o=="undefined"||Es.call(t,o)},E8=function(t,n){j8&&n.name==="__proto__"?j8(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},N8=function(t,n){if(n==="__proto__")if(Es.call(t,n)){if(S8)return S8(t,n).value}else return;return t[n]},eE=function e(){var t,n,r,o,s,a,l=arguments[0],c=1,u=arguments.length,d=!1;for(typeof l=="boolean"&&(d=l,l=arguments[1]||{},c=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});c<u;++c)if(t=arguments[c],t!=null)for(n in t)r=N8(l,n),o=N8(t,n),l!==o&&(d&&o&&(M8(o)||(s=L8(o)))?(s?(s=!1,a=r&&L8(r)?r:[]):a=r&&M8(r)?r:{},E8(l,{name:n,newValue:e(d,a,o)})):typeof o!="undefined"&&E8(l,{name:n,newValue:o}));return l};const o2=Rs(eE);function s2(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function tE(){const e=[],t={run:n,use:r};return t;function n(...o){let s=-1;const a=o.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);l(null,...o);function l(c,...u){const d=e[++s];let f=-1;if(c){a(c);return}for(;++f<o.length;)(u[f]===null||u[f]===void 0)&&(u[f]=o[f]);o=u,d?nE(d,l)(...u):a(null,...u)}}function r(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function nE(e,t){let n;return r;function r(...a){const l=e.length>a.length;let c;l&&a.push(o);try{c=e.apply(this,a)}catch(u){const d=u;if(l&&n)throw d;return o(d)}l||(c&&c.then&&typeof c.then=="function"?c.then(s,o):c instanceof Error?o(c):s(c))}function o(a,...l){n||(n=!0,t(a,...l))}function s(a){o(null,a)}}const b1={basename:rE,dirname:oE,extname:sE,join:iE,sep:"/"};function rE(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Gr(e);let n=0,r=-1,o=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(s){n=o+1;break}}else r<0&&(s=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,l=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(s){n=o+1;break}}else a<0&&(s=!0,a=o+1),l>-1&&(e.codePointAt(o)===t.codePointAt(l--)?l<0&&(r=o):(l=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function oE(e){if(Gr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function sE(e){Gr(e);let t=e.length,n=-1,r=0,o=-1,s=0,a;for(;t--;){const l=e.codePointAt(t);if(l===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),l===46?o<0?o=t:s!==1&&(s=1):o>-1&&(s=-1)}return o<0||n<0||s===0||s===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function iE(...e){let t=-1,n;for(;++t<e.length;)Gr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":aE(n)}function aE(e){Gr(e);const t=e.codePointAt(0)===47;let n=lE(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function lE(e,t){let n="",r=0,o=-1,s=0,a=-1,l,c;for(;++a<=e.length;){if(a<e.length)l=e.codePointAt(a);else{if(l===47)break;l=47}if(l===47){if(!(o===a-1||s===1))if(o!==a-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),o=a,s=0;continue}}else if(n.length>0){n="",r=0,o=a,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),r=a-o-1;o=a,s=0}else l===46&&s>-1?s++:s=-1}return n}function Gr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const cE={cwd:uE};function uE(){return"/"}function i2(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function dE(e){if(typeof e=="string")e=new URL(e);else if(!i2(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return fE(e)}function fE(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const a2=["history","path","basename","stem","extname","dirname"];class F8{constructor(t){let n;t?i2(t)?n={path:t}:typeof t=="string"||pE(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":cE.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<a2.length;){const s=a2[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let o;for(o in n)a2.includes(o)||(this[o]=n[o])}get basename(){return typeof this.path=="string"?b1.basename(this.path):void 0}set basename(t){c2(t,"basename"),l2(t,"basename"),this.path=b1.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?b1.dirname(this.path):void 0}set dirname(t){T8(this.basename,"dirname"),this.path=b1.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?b1.extname(this.path):void 0}set extname(t){if(l2(t,"extname"),T8(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=b1.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){i2(t)&&(t=dE(t)),c2(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?b1.basename(this.path,this.extname):void 0}set stem(t){c2(t,"stem"),l2(t,"stem"),this.path=b1.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const o=this.message(t,n,r);throw o.fatal=!0,o}info(t,n,r){const o=this.message(t,n,r);return o.fatal=void 0,o}message(t,n,r){const o=new bt(t,n,r);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function l2(e,t){if(e&&e.includes(b1.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+b1.sep+"`")}function c2(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function T8(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function pE(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const hE=function(e){const r=this.constructor.prototype,o=r[e],s=function(){return o.apply(s,arguments)};return Object.setPrototypeOf(s,r),s},mE={}.hasOwnProperty;class u2 extends hE{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=tE()}copy(){const t=new u2;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(o2(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(p2("data",this.frozen),this.namespace[t]=n,this):mE.call(this.namespace,t)&&this.namespace[t]||void 0:t?(p2("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const o=n.call(t,...r);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Ns(t),r=this.parser||this.Parser;return d2("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),d2("process",this.parser||this.Parser),f2("process",this.compiler||this.Compiler),n?o(void 0,n):new Promise(o);function o(s,a){const l=Ns(t),c=r.parse(l);r.run(c,l,function(d,f,p){if(d||!f||!p)return u(d);const h=f,m=r.stringify(h,p);gE(m)?p.value=m:p.result=m,u(d,p)});function u(d,f){d||!f?a(d):s?s(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),d2("processSync",this.parser||this.Parser),f2("processSync",this.compiler||this.Compiler),this.process(t,o),A8("processSync","process",n),r;function o(s,a){n=!0,v8(s),r=a}}run(t,n,r){_8(t),this.freeze();const o=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(a,l){const c=Ns(n);o.run(t,c,u);function u(d,f,p){const h=f||t;d?l(d):a?a(h):r(void 0,h,p)}}}runSync(t,n){let r=!1,o;return this.run(t,n,s),A8("runSync","run",r),o;function s(a,l){v8(a),o=l,r=!0}}stringify(t,n){this.freeze();const r=Ns(n),o=this.compiler||this.Compiler;return f2("stringify",o),_8(t),o(t,r)}use(t,...n){const r=this.attachers,o=this.namespace;if(p2("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(u){if(typeof u=="function")c(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[d,...f]=u;c(d,f)}else a(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function a(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(u.plugins),u.settings&&(o.settings=o2(!0,o.settings,u.settings))}function l(u){let d=-1;if(u!=null)if(Array.isArray(u))for(;++d<u.length;){const f=u[d];s(f)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function c(u,d){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===u){p=f;break}if(p===-1)r.push([u,...d]);else if(d.length>0){let[h,...m]=d;const C=r[p][1];s2(C)&&s2(h)&&(h=o2(!0,C,h)),r[p]=[u,h,...m]}}}}const CE=new u2().freeze();function d2(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function f2(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function p2(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function _8(e){if(!s2(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function A8(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ns(e){return xE(e)?e:new F8(e)}function xE(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function gE(e){return typeof e=="string"||bE(e)}function bE(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const yE="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",D8=[],O8={allowDangerousHtml:!0},wE=/^(https?|ircs?|mailto|xmpp)$/i,vE=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function kE(e){const t=jE(e),n=SE(e);return LE(t.runSync(t.parse(n),n),e)}function jE(e){const t=e.rehypePlugins||D8,n=e.remarkPlugins||D8,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...O8}:O8;return CE().use(oM).use(n).use(JM,r).use(t)}function SE(e){const t=e.children||"",n=new F8;return typeof t=="string"&&(n.value=t),n}function LE(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,s=t.disallowedElements,a=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||ME;for(const d of vE)Object.hasOwn(t,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+yE+d.id,void 0);return b8(e,u),Uj(e,{Fragment:i.Fragment,components:o,ignoreInvalidStyle:!0,jsx:i.jsx,jsxs:i.jsxs,passKeys:!0,passNode:!0});function u(d,f,p){if(d.type==="raw"&&p&&typeof f=="number")return a?p.children.splice(f,1):p.children[f]={type:"text",value:d.value},f;if(d.type==="element"){let h;for(h in Wl)if(Object.hasOwn(Wl,h)&&Object.hasOwn(d.properties,h)){const m=d.properties[h],C=Wl[h];(C===null||C.includes(d.tagName))&&(d.properties[h]=c(String(m||""),h,d))}}if(d.type==="element"){let h=n?!n.includes(d.tagName):s?s.includes(d.tagName):!1;if(!h&&r&&typeof f=="number"&&(h=!r(d,f,p)),h&&p&&typeof f=="number")return l&&d.children?p.children.splice(f,1,...d.children):p.children.splice(f,1),f}}}function ME(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t===-1||o!==-1&&t>o||n!==-1&&t>n||r!==-1&&t>r||wE.test(e.slice(0,t))?e:""}function EE(e){return Ie.lexer(e).map(n=>n.raw)}const P8=x.memo(({content:e})=>i.jsx(kE,{children:e}),(e,t)=>e.content===t.content);P8.displayName="MemoizedMarkdownBlock";const I8=x.memo(({content:e,id:t})=>x.useMemo(()=>EE(e),[e]).map((r,o)=>i.jsx(P8,{content:r},`${t}-block_${o}`)));I8.displayName="MemoizedMarkdown";const NE=({fileName:e,className:t,size:n=102})=>{const r=n/102,o=!!e;return i.jsxs("div",{className:T("relative flex flex-col items-center justify-center rounded-[10px] bg-[#EFF0F6] px-[10px]",o&&"gap-[6px]",t),style:{width:n,height:n},children:[i.jsx("div",{className:"shrink-0",style:{transform:r!==1?`scale(${r})`:void 0,transformOrigin:"center"},children:i.jsx(Tn,{})}),o&&i.jsx("p",{className:"block max-w-full shrink-0 truncate text-center text-[14px] leading-normal text-[#030303]",style:{fontSize:14*r,maxWidth:"100%",display:"block"},title:e,children:e})]})},H8=({bgColor:e="#E8F4FF",color:t="#0265FF",label:n,children:r})=>i.jsx("div",{className:"flex items-center justify-center gap-1.5 px-1.5 h-[26px] rounded-[100px] text-[13px]",style:{backgroundColor:e,color:t},children:n||r}),V8=()=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:i.jsx("path",{d:"M8 3.5v9M3.5 8h9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),R8=({className:e})=>i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:i.jsx("path",{d:"M3 4.5l3 3 3-3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),FE=({className:e})=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:i.jsx("path",{d:"M6 4l4 4-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});function TE(e){return e.map(t=>{var n;return{fieldName:t.name,fieldDesc:t.description||t.name,type:t.type,children:(n=t.subformParams)==null?void 0:n.map(r=>({fieldName:r.name,fieldDesc:r.name,type:r.type}))}})}function _E(e){return e.map(t=>{var r;const n=(r=t.widget.items)==null?void 0:r.filter(o=>"widget"in o);return{fieldName:t.widget.widgetName,fieldDesc:t.label,type:t.widget.type,children:n!=null&&n.length?n.map(o=>({fieldName:`${t.widget.widgetName}.${o.widget.widgetName}`,fieldDesc:`${o.label}`,type:o.widget.type})):void 0}})}function AE(e){const t=[];for(const n of e)if(t.push(n),n.children)for(const r of n.children)t.push({...r,fieldName:`${n.fieldName}.${r.fieldName}`,fieldDesc:`${n.fieldDesc}.${r.fieldDesc}`});return t}function B8(e,t){for(const n of e){if(n.fieldName===t)return n;if(n.children){const r=B8(n.children,t);if(r)return r}}}const DE={text:new Set(["text","textarea"]),number:new Set(["text","textarea"])},OE=new Set;function z8(e,t){return e.reduce((n,r)=>{var c;const o=r.type===t,a=((c=DE[t])!=null?c:OE).has(r.type),l=r.children?z8(r.children,t):[];return(o||a||l.length>0)&&n.push({...r,children:l.length>0?l:r.children}),n},[])}function PE({value:e,onChange:t,sourceFields:n,targetFields:r,className:o}){const[s,a]=x.useState(null),[l,c]=x.useState(""),[u,d]=x.useState(new Set),{portalContainer:f,setTriggerRef:p}=U1("data-bs-output-config-portal"),h=n?TE(n):[],m=r?_E(r):[],C=x.useCallback((D,F,R)=>{R?(a({index:D,field:F}),c(""),d(new Set)):(a(null),c(""),d(new Set))},[]),b=x.useCallback(()=>{t==null||t([...e,{sourceField:{fieldName:"",fieldDesc:""},targetField:{fieldName:"",fieldDesc:""}}])},[e,t]),g=x.useCallback(D=>{t==null||t(e.filter((F,R)=>R!==D))},[e,t]),y=x.useCallback((D,F)=>{const R=[...e],B={...R[D],sourceField:{fieldName:F.fieldName,fieldDesc:F.fieldDesc}};if(B.targetField.fieldName){const $=B8(m,B.targetField.fieldName);$&&$.type!==F.type&&(B.targetField={fieldName:"",fieldDesc:""})}R[D]=B,t==null||t(R),a(null),c("")},[e,t,m]),w=x.useCallback((D,F)=>{const R=[...e];R[D]={...R[D],targetField:{fieldName:F.fieldName,fieldDesc:F.fieldDesc}},t==null||t(R),a(null),c("")},[e,t]),v=x.useCallback(D=>{d(F=>{const R=new Set(F);return R.has(D)?R.delete(D):R.add(D),R})},[]),S=D=>!l||(D==null?void 0:D.toLowerCase().includes(l.toLowerCase())),j=D=>D.reduce((F,R)=>{const B=S(R.fieldDesc)||S(R.fieldName),$=R.children?j(R.children):[];return(B||$.length>0)&&F.push({...R,children:$.length>0?$:R.children}),F},[]),E=AE(h),N=E.filter(D=>(S(D.fieldDesc)||S(D.fieldName))&&D.type!=="subform"),O=j(m),P=T("bg-white border border-[#e0e0e0] rounded-[4px] h-[34px] px-[10px] py-[7px]","flex items-center min-w-0","text-[14px] text-[#030303] leading-normal","hover:border-[#0265ff]",re),V=(D,F)=>(s==null?void 0:s.index)===D&&(s==null?void 0:s.field)===F;return e.length===0?i.jsx("div",{className:o,children:i.jsxs("button",{type:"button",onClick:b,className:T("inline-flex items-center gap-[6px]","bg-transparent border-0 cursor-pointer p-0","text-[#0265ff] text-[14px] leading-normal","hover:opacity-80",re),children:[i.jsx(V8,{}),i.jsx("span",{children:"添加出参名称"})]})}):i.jsxs("div",{ref:p,className:T("bg-[#f5f5f5] border border-[#e0e0e0] border-dashed rounded-[4px] p-[10px]","flex flex-col gap-[10px]",o),children:[e.map((D,F)=>{var $;const R=D.sourceField.fieldName?($=E.find(U=>U.fieldName===D.sourceField.fieldName))==null?void 0:$.type:void 0,B=R?z8(O,R):O;return i.jsxs("div",{className:"flex gap-[10px] items-center",children:[i.jsxs(ct,{open:V(F,"source"),onOpenChange:U=>C(F,"source",U),children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{type:"button",className:T(P,"w-full justify-between cursor-pointer",V(F,"source")?"border-[#0265ff]":"border-[#e0e0e0]"),children:[i.jsx("span",{className:"text-[14px] text-[#030303] leading-normal truncate",children:D.sourceField.fieldDesc||i.jsx("span",{className:"text-[#999]",children:"请选择字段"})}),i.jsx(R8,{className:T("shrink-0 text-[#666]",V(F,"source")&&"rotate-180",re)})]})}),i.jsxs(nt,{align:"start",sideOffset:4,portalContainer:f,className:"w-[216px] rounded-[4px] p-[4px] shadow-[0px_0px_16px_0px_rgba(0,0,0,0.1)]",children:[i.jsxs("div",{className:"relative flex items-center border border-[#e0e0e0] rounded-[4px] mb-[4px]",children:[i.jsx("span",{className:"absolute left-[10px] top-1/2 -translate-y-1/2",children:i.jsx(S1,{})}),i.jsx("input",{type:"text",value:l,onChange:U=>c(U.target.value),placeholder:"搜索",className:T("w-full h-[34px] pl-[32px] pr-[10px]","text-[14px] text-[#030303] leading-normal outline-none","bg-transparent border-0 rounded-[4px]","placeholder:text-[#999]")})]}),i.jsxs("div",{className:"max-h-[210px] overflow-auto",children:[N.map(U=>i.jsx("button",{type:"button",onClick:()=>y(F,U),className:T("flex items-center w-full px-[10px] py-[7px] h-[34px] rounded-[4px]","text-[14px] text-[#030303] leading-normal","hover:bg-[#EFF0F6] bg-transparent border-0 cursor-pointer",D.sourceField.fieldDesc===U.fieldDesc&&"bg-[#EFF0F6] text-[#0265ff]",re),children:i.jsx("span",{className:"truncate",children:U.fieldDesc})},U.fieldName)),N.length===0&&i.jsx("div",{className:"px-[10px] py-[7px] text-[14px] text-[#999] leading-normal",children:"无匹配结果"})]})]})]}),i.jsx("div",{className:"bg-[#d9d9d9] rounded-[4px] h-[34px] w-[98px] shrink-0 flex items-center justify-center",children:i.jsx("span",{className:"text-[14px] text-[#030303] leading-normal whitespace-nowrap",children:"设置为"})}),i.jsxs(ct,{open:V(F,"target"),onOpenChange:U=>C(F,"target",U),children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{type:"button",className:T(P,"w-full justify-between cursor-pointer",V(F,"target")?"border-[#0265ff]":"border-[#e0e0e0]"),children:[i.jsx("span",{className:"text-[14px] text-[#030303] leading-normal truncate",children:D.targetField.fieldDesc||i.jsx("span",{className:"text-[#999]",children:"请选择表单字段"})}),i.jsx(R8,{className:T("shrink-0 text-[#666]",V(F,"target")&&"rotate-180",re)})]})}),i.jsxs(nt,{align:"start",sideOffset:4,portalContainer:f,className:"w-[216px] rounded-[4px] p-[4px] shadow-[0px_0px_16px_0px_rgba(0,0,0,0.1)]",children:[i.jsxs("div",{className:"relative flex items-center border border-[#e0e0e0] rounded-[4px] mb-[4px]",children:[i.jsx("span",{className:"absolute left-[10px] top-1/2 -translate-y-1/2",children:i.jsx(S1,{})}),i.jsx("input",{type:"text",value:l,onChange:U=>c(U.target.value),placeholder:"搜索",className:T("w-full h-[34px] pl-[32px] pr-[10px]","text-[14px] text-[#030303] leading-normal outline-none","bg-transparent border-0 rounded-[4px]","placeholder:text-[#999]")})]}),i.jsxs("div",{className:"max-h-[210px] overflow-auto",children:[B.map(U=>{const Z=U.children&&U.children.length>0,J=u.has(U.fieldName);return i.jsxs("div",{children:[Z?i.jsxs("button",{type:"button",onClick:()=>v(U.fieldName),className:T("flex items-center gap-[6px] w-full px-[10px] py-[7px] h-[34px] rounded-[4px]","text-[14px] text-[#030303] leading-normal","hover:bg-[#EFF0F6] bg-transparent border-0 cursor-pointer",re),children:[i.jsx(FE,{className:T("shrink-0 text-[#999]",!J&&"rotate-90",re)}),i.jsx("span",{className:"truncate",children:U.fieldDesc})]}):i.jsx("button",{type:"button",onClick:()=>w(F,U),className:T("flex items-center w-full px-[10px] py-[7px] h-[34px] rounded-[4px]","text-[14px] text-[#030303] leading-normal","hover:bg-[#EFF0F6] bg-transparent border-0 cursor-pointer",D.targetField.fieldName===U.fieldName&&"bg-[#EFF0F6] text-[#0265ff]",re),children:i.jsx("span",{className:"truncate",children:U.fieldDesc})}),Z&&!J&&U.children.map(L=>i.jsx("button",{type:"button",onClick:()=>w(F,L),className:T("flex items-center w-full pl-[34px] pr-[10px] py-[7px] h-[34px] rounded-[4px]","text-[14px] text-[#030303] leading-normal","hover:bg-[#EFF0F6] bg-transparent border-0 cursor-pointer",D.targetField.fieldName===L.fieldName&&"bg-[#EFF0F6] text-[#0265ff]",re),children:i.jsx("span",{className:"truncate",children:L.fieldDesc})},L.fieldName))]},U.fieldName)}),B.length===0&&i.jsx("div",{className:"px-[10px] py-[7px] text-[14px] text-[#999] leading-normal",children:"无匹配结果"})]})]})]}),i.jsx("button",{type:"button",onClick:()=>g(F),className:"shrink-0 cursor-pointer bg-transparent border-0 p-0",children:i.jsx("span",{className:"inline-flex items-center justify-center size-[16px] text-[#666] hover:text-[#FF4D4F] [&_svg_path]:fill-[#666] [&_svg_path]:hover:fill-[#FF4D4F]",children:i.jsx(Do,{})})})]},F)}),i.jsxs("button",{type:"button",onClick:b,className:T("inline-flex items-center gap-[6px] w-fit","bg-transparent border-0 cursor-pointer p-0","text-[#0265ff] text-[14px] leading-normal","hover:opacity-80",re),children:[i.jsx(V8,{}),i.jsx("span",{children:"添加出参名称"})]})]})}const IE=({children:e,className:t,minimal:n,entryVariant:r="default",icon:o,...s})=>{const a={default:"relative overflow-hidden bg-[linear-gradient(180deg,#DBE9FF_0%,#E9FFFD_100%)] h-[30px] hover:text-white before:content-[''] before:absolute before:inset-0 before:z-0 before:bg-[linear-gradient(180deg,#267AFF_0%,#B2EEFF_100%)] before:opacity-0 hover:before:opacity-100 before:transition-opacity before:duration-200 before:ease-out font-[500] text-[#0265ff]",ghost:"bg-transparent text-[#030303] font-[400] px-[10px] hover:bg-[#EFF0F6] h-[34px]",light:"text-[#030303] font-[400] px-[10px] bg-[#F0F6FF] hover:bg-[#d8dde5] h-[34px]",selected:"bg-[#EFF0F6] text-[#030303] font-[400] px-[10px]"};return i.jsx(Jn,{...s,variant:"entry",size:"entry",className:T("rounded-[4px] cursor-pointer",re,a[r],t),children:i.jsxs("span",{className:"relative z-10 inline-flex items-center gap-1.5",children:[o!=null?o:i.jsx(qa,{}),n?null:e]})})},HE=({onClick:e,className:t})=>i.jsx("button",{type:"button",onClick:e,className:T("inline-flex items-center justify-center","w-[36px] h-[36px] rounded-full","bg-white text-[#666] shadow-[0px_0px_14px_0px_rgba(0,0,0,0.1)]","hover:shadow-[0px_14px_14px_0px_rgba(0,0,0,0.14)]","cursor-pointer hover:text-[#333] aspect-square",re,t),children:i.jsx(y3,{})}),VE=({className:e})=>i.jsx("div",{className:T("h-[1px] w-full bg-[#E0E0E0]",e)}),Z8=k.forwardRef(({className:e,options:t,...n},r)=>i.jsx(T0,{ref:r,className:T("flex flex-col items-start justify-center p-[2px] rounded-[4px] bg-[#EFF0F6]",e),...n,children:i.jsx("div",{className:"flex gap-[2px] items-center w-full",children:t.map(o=>i.jsx(h2,{value:o.value,tooltips:o.tooltips,className:o.className,children:o.label},o.value))})}));Z8.displayName="TabRadioGroup";const h2=k.forwardRef(({className:e,children:t,tooltips:n,...r},o)=>i.jsx(D0,{ref:o,className:T("flex-1 h-[30px] flex items-center justify-center px-[10px] py-[7px] rounded-[4px] text-[14px] text-[#121111] cursor-pointer","border border-solid border-[#EFF0F6] bg-transparent","transition-all ease-out duration-200","outline-none","hover:text-[#121111] hover:border-[#E0E0E0] hover:bg-white","data-[state=checked]:text-[#0265FF] data-[state=checked]:border-[#E0E0E0] data-[state=checked]:bg-white",e),...r,children:n?i.jsx(Ao,{content:n,children:t}):t}));h2.displayName="TabRadioItem";const RE=({text:e,children:t})=>i.jsx("div",{className:"px-2.5 py-[7px] text-[#0265FF] text-[14px] w-fit",style:{borderRadius:"10px 0 10px 10px",wordWrap:"break-word",background:"linear-gradient(180deg, #DBE9FF 0%, #E9FFFD 100%)"},children:e||t}),BE=({range:e,initialWidth:t,invertDrag:n,storageKey:r})=>{const[o,s]=e,a=()=>{if(r)try{const g=localStorage.getItem(r);if(g!==null){const y=Number(g);if(!Number.isNaN(y)&&y>=o&&y<=s)return y}}catch(g){}return t!=null?t:s},[l,c]=x.useState(a),[u,d]=x.useState(!1),f=x.useRef({startX:0,startWidth:0}),p=x.useCallback(g=>{const y=g.clientX-f.current.startX,w=n?-y:y,v=Math.min(Math.max(f.current.startWidth+w,o),s);c(v)},[o,s,n]),h=x.useRef(!1),m=x.useCallback(()=>{d(!1),h.current=!0,document.body.style.userSelect="",document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",m),window.dispatchEvent(new Event("resize")),document.body.style.cursor=""},[p]);x.useEffect(()=>{if(!u&&h.current&&r)try{localStorage.setItem(r,String(l))}catch(g){}},[u,r,l]);const C=x.useCallback(g=>{d(!0),f.current={startX:g.clientX,startWidth:l},document.body.style.userSelect="none",document.addEventListener("mousemove",p),document.addEventListener("mouseup",m),document.body.style.cursor="col-resize"},[l,p,m]);return x.useEffect(()=>()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",m),document.body.style.userSelect="",document.body.style.cursor=""},[p,m]),{width:l,handleMouseDown:C,isDragging:u,isAtEdge:l===o||l===s}},m2={appearing:"width 300ms cubic-bezier(0.4,0,0.2,1), opacity 250ms cubic-bezier(0.4,0,0.2,1) 100ms",hiding:"width 350ms cubic-bezier(0.4,0,0.2,1) 60ms, opacity 200ms ease-out",neutral:"width 350ms cubic-bezier(0.4,0,0.2,1), opacity 200ms ease-out"},zE=500,W8=({hidden:e})=>{const[t,n]=x.useState(!1),r=x.useRef(null),o=x.useRef(null);x.useLayoutEffect(()=>{if(r.current===null){r.current=e;return}r.current&&!e&&n(!0),r.current=e},[e]),x.useLayoutEffect(()=>{if(!t)return;const l=o.current;if(!l)return;const c=d=>{d.propertyName==="width"&&n(!1),window.dispatchEvent(new Event("resize"))};l.addEventListener("transitionend",c);const u=setTimeout(()=>n(!1),zE);return()=>{l.removeEventListener("transitionend",c),clearTimeout(u)}},[t]);const s=e||t?{willChange:"width, opacity"}:{};let a;return t?a={transition:m2.appearing,...s}:e?a={transition:m2.hiding,...s}:a={transition:m2.neutral},{appearing:t,colRef:o,getTransitionStyle:a}},ZE=({headerHeight:e=64,hideLeftCol:t=!1,leftColWidthRange:n=[340,500],rightColWidthRange:r,leftColCls:o,rightColCls:s,children:a,leftColHeaderElement:l,leftColContentElement:c,rightColHeaderElement:u,rightColContentElement:d,fullscreenPart:f="none",className:p,onResize:h,storageKey:m})=>{const C=!!r,b=r!=null?r:n,g=x.useRef(!1),y=x.useRef(!0),w=x.useRef(null),{width:v,handleMouseDown:S,isDragging:j}=BE({range:b,initialWidth:b[0],invertDrag:C,storageKey:m}),E=f==="leftCol",N=f==="rightCol",O=E||N,P=t||N,V=E,{colRef:D,getTransitionStyle:F}=W8({hidden:P}),{colRef:R,getTransitionStyle:B}=W8({hidden:V}),$=x.useRef(null),U=x.useRef(null),Z=x.useCallback(Y=>Y==="left"?t||N?0:E?"100%":C?$.current?$.current.offsetWidth:`calc(100% - ${v}px)`:v:E?0:N?"100%":C?v:U.current?U.current.offsetWidth:`calc(100% - ${v}px)`,[t,E,N,C,v]);x.useEffect(()=>{if(!h||g.current)return;const Y=requestAnimationFrame(()=>{var W,te,G,ne;const ie=(te=(W=D.current)==null?void 0:W.offsetWidth)!=null?te:0,K=(ne=(G=R.current)==null?void 0:G.offsetWidth)!=null?ne:0;h(ie,K)});return()=>cancelAnimationFrame(Y)},[v,f,t,C,h]),x.useEffect(()=>{if(y.current){y.current=!1;return}g.current=!0},[f,t]),x.useEffect(()=>{if(!h)return;let Y=!1;const ie=G=>{var ue,Le,le,De;if(G.propertyName!=="width"||Y)return;Y=!0,g.current=!1;const ne=(Le=(ue=D.current)==null?void 0:ue.offsetWidth)!=null?Le:0,oe=(De=(le=R.current)==null?void 0:le.offsetWidth)!=null?De:0;h(ne,oe)},K=D.current,W=R.current;K==null||K.addEventListener("transitionend",ie),W==null||W.addEventListener("transitionend",ie);const te=setTimeout(()=>{var oe,ue,Le,le;if(Y)return;Y=!0,g.current=!1;const G=(ue=(oe=D.current)==null?void 0:oe.offsetWidth)!=null?ue:0,ne=(le=(Le=R.current)==null?void 0:Le.offsetWidth)!=null?le:0;h(G,ne)},500);return()=>{K==null||K.removeEventListener("transitionend",ie),W==null||W.removeEventListener("transitionend",ie),clearTimeout(te)}},[f,t,h]),x.useEffect(()=>{if(!h)return;const Y=w.current;if(!Y)return;const ie=new ResizeObserver(()=>{g.current||requestAnimationFrame(()=>{var te,G,ne,oe;const K=(G=(te=D.current)==null?void 0:te.offsetWidth)!=null?G:0,W=(oe=(ne=R.current)==null?void 0:ne.offsetWidth)!=null?oe:0;h(K,W)})});return ie.observe(Y),()=>ie.disconnect()},[h]);const J="border-[#0265fc]",L=O?"shrink-0":C?"flex-1":"shrink-0",z=O||C?"shrink-0":"flex-1",ee="flex-1 min-h-0 overflow-auto w-full",M={};return i.jsxs("div",{ref:w,className:et("relative h-full w-full flex overflow-hidden",p),children:[a&&i.jsx("div",{children:a}),i.jsxs("div",{ref:D,className:et("h-full flex flex-col relative office-left-col",o,L,{"pointer-events-none":t||N,"opacity-0":t||N,"overflow-hidden":!0}),style:{...F,width:Z("left"),...j?{transition:"none"}:{}},children:[i.jsx("div",{ref:$,className:"shrink-0 w-full overflow-hidden",style:{height:e,background:"#fff"},children:l}),i.jsx("div",{className:ee,style:M,children:c}),!O&&i.jsx("div",{className:et(`h-full w-5 cursor-col-resize z-10 flex justify-center group absolute top-0 right-0 hover:border-r hover:${J}`,{[`border-r ${J}`]:j}),onMouseDown:S})]}),i.jsxs("div",{ref:R,className:et("h-full flex flex-col min-w-0 office-right-col",s,z,{"pointer-events-none":E,"opacity-0":E,"overflow-hidden":E}),style:{...B,width:Z("right"),...j?{transition:"none"}:{}},children:[i.jsx("div",{ref:U,className:"shrink-0 w-full",style:{height:e,background:"#fff"},children:u}),i.jsx("div",{className:ee,style:M,children:d})]})]})},WE=({message:e="程序错误,请刷新页面重试",className:t})=>i.jsxs("div",{className:T("flex flex-col items-center gap-[10px]",t),children:[i.jsx("div",{className:"bg-no-repeat bg-center",style:{backgroundImage:Y2,backgroundSize:"100% 100%",width:120,height:77}}),i.jsx("p",{className:"text-[12px] text-[#999] leading-normal",children:e})]}),C2=By,$E=i0,x2=a0,$8=({type:e})=>{const t=X2[e]||"unknown";return e==="formula"?i.jsx(b3,{}):i.jsx(as,{code:t})},g2=x.memo(({field:e,disabled:t,isSubField:n,onChange:r,onLoaded:o,icon:s,value:a,checked:l,streaming:c,confirmed:u})=>{const{widget:d,label:f}=e;if(!d)return null;const{type:p}=d,h=p;if(!A1.hasOwnProperty(p))return null;const m=A1[h]||A1.unknown,C=p==="subform",b=C?[]:d.items||[],g=C?d.items:[],[y,w]=x.useState(()=>{const N={};return g.forEach((O,P)=>{N[P]=!0}),N}),v=x.useRef(l);x.useEffect(()=>{if(C&&l!==v.current&&(v.current=l,l!==void 0)){const N={};g.forEach((O,P)=>{N[P]=l}),w(N)}},[l,C,g.length]);const S=(N,O,P)=>{var V;w(D=>{const F={...D,[P]:N};return Object.values(F).every(Boolean)&&(r==null||r(!0,e)),Object.values(F).every($=>$===!1)&&(r==null||r(!1,e)),F}),r==null||r(N,O,(V=e.widget)==null?void 0:V.widgetName,P)};x.useEffect(()=>{o==null||o(e)},[]);const j=N=>{r==null||r(N,e)},E=n?"pl-[38px]":"";return a?i.jsx(Pr,{title:f,disabled:t,checked:l,defaultChecked:!0,onCheckedChange:j,icon:s,className:E,shortDesc:a}):i.jsxs(i.Fragment,{children:[i.jsx(Pr,{streaming:c,confirmed:u,title:f,disabled:t,checked:l,defaultChecked:!0,onCheckedChange:j,icon:s,shortDesc:m,className:E,extra:b.length?i.jsx(i.Fragment,{children:b.map(({value:N,text:O,color:P})=>i.jsx(H8,{color:P?"white":void 0,bgColor:P,children:O},N))}):null}),C?g.map((N,O)=>{var P;return i.jsx(g2,{confirmed:u,streaming:c,isSubField:!0,disabled:t,checked:y[O],field:N,icon:i.jsx($8,{type:(P=N.widget)==null?void 0:P.type}),onChange:V=>{S(V,N,O)}},N.label)}):null]})},(e,t)=>{var n,r;return((n=e.field)==null?void 0:n.label)===((r=t.field)==null?void 0:r.label)&&e.disabled===t.disabled&&e.checked===t.checked&&e.confirmed===t.confirmed&&e.streaming===t.streaming}),UE=({disabled:e,onCheckedChange:t,label:n,val:r,streaming:o,readonly:s})=>i.jsx(Pr,{streaming:o,readonly:s,title:n,disabled:e,defaultChecked:!0,onCheckedChange:t,className:"pl-9",shortDesc:r}),qE=x.memo(({field:e,readonly:t,onCheckedChange:n,streaming:r})=>{const{widget:o,label:s}=e;if(!o)return null;const{type:a,value:l}=o,c=a;if(!A1.hasOwnProperty(c))return null;const u=Is(l,c),d=A1[c]||A1.unknown,f=x.useCallback(p=>{n(p,e)},[e]);return x.useEffect(()=>{f(!0)},[]),i.jsx(UE,{streaming:r,readonly:t,desc:d,label:s,val:u,onCheckedChange:f})},(e,t)=>{var r,o;return((r=e.field.widget)==null?void 0:r.widgetName)===((o=t.field.widget)==null?void 0:o.widgetName)&&e.readonly===t.readonly&&e.streaming===t.streaming}),U8=({subformField:e,onChange:t,streaming:n,readonly:r})=>{var c;const o=(c=e.widget)==null?void 0:c.value;if(!Array.isArray(o)||o.length===0)return null;const s=o,[a,l]=x.useState(!0);return i.jsx(C2,{open:a,onOpenChange:l,children:i.jsx(x2,{children:s.map((u,d)=>!u||!u.length?null:i.jsx(C2,{defaultOpen:!0,children:i.jsx(x2,{children:u.map((f,p)=>i.jsx(qE,{readonly:r,streaming:n,field:{label:f.label,widget:{widgetName:f.fieldName,type:f.fieldType,value:f.value}},onCheckedChange:(h,m)=>{var C,b;t({checked:h,field:m,row:d,col:p,parentFieldName:(b=(C=e.widget)==null?void 0:C.widgetName)!=null?b:""})}}))})},d))})})},q8=x.memo(({field:e,disabled:t,isSubField:n,readonly:r,streaming:o,onChange:s,onLoaded:a})=>{const{widget:l,label:c}=e;if(!l)return null;const{type:u,value:d}=l,p=Is(d,u);if(!A1.hasOwnProperty(u))return null;const h=u==="subform";x.useEffect(()=>{a==null||a(e)},[]);const m=b=>{s==null||s(b,e)},C=n?"pl-6":"";return i.jsxs(i.Fragment,{children:[i.jsx(Pr,{streaming:o,title:c,disabled:t,defaultChecked:!0,onCheckedChange:m,className:C,readonly:r,shortDesc:h?"":p}),h&&i.jsx(U8,{readonly:r,subformField:e,onChange:b=>{s==null||s(b.checked,b.field,b.parentFieldName,b.row)},streaming:o})]})},(e,t)=>{var l,c,u,d,f,p;return!(((l=e.field)==null?void 0:l.label)===((c=t.field)==null?void 0:c.label))||!(((d=(u=e.field)==null?void 0:u.widget)==null?void 0:d.widgetName)===((p=(f=t.field)==null?void 0:f.widget)==null?void 0:p.widgetName))||!(e.disabled===t.disabled)||!(e.readonly===t.readonly)||!(e.streaming===t.streaming)?!1:U2(e==null?void 0:e.field,t==null?void 0:t.field)}),YE=x.memo(x.forwardRef(({fields:e,children:t,streaming:n,confirmed:r},o)=>{const[s,a]=x.useState(()=>{const f={};return e.forEach(p=>{var h,m;f[(m=(h=p.field)==null?void 0:h.label)!=null?m:""]=!0}),f}),l=x.useMemo(()=>e.length>0&&e.every(f=>{var p,h;return s[(h=(p=f.field)==null?void 0:p.label)!=null?h:""]!==!1}),[s,e]),c=x.useMemo(()=>e.some(f=>{var p,h;return s[(h=(p=f.field)==null?void 0:p.label)!=null?h:""]!==!1}),[s,e]),u=n||!l&&c;x.useImperativeHandle(o,()=>({getCheckedFieldsLength:()=>e.filter(f=>{var p,h;return s[(h=(p=f.field)==null?void 0:p.label)!=null?h:""]!==!1}).length}),[s,e]);const d=x.useCallback(f=>{const p=f===!0,h={};e.forEach(m=>{var C,b;h[(b=(C=m.field)==null?void 0:C.label)!=null?b:""]=p}),a(h),e.forEach(m=>{var C;return(C=m.onChange)==null?void 0:C.call(m,p,m.field)})},[e]);return i.jsxs(xl,{title:"字段生成",icon:i.jsx(f3,{}),defaultOpen:!0,children:[i.jsx("div",{className:T("flex gap-2.5 px-4 py-2.5 rounded-[4px] w-full transition-colors cursor-pointer hover:bg-[#EFF0F6] items-center",{"pointer-events-none":r||n}),onClick:()=>{if(r)return;d(!l)},children:i.jsx(C1,{readonly:r||n,checked:l&&!n,onCheckedChange:d,intermediate:u,children:i.jsx("span",{className:"text-[#0265ff]! font-bold!",children:"全选"})})}),e.map(f=>{var p,h,m;return x.createElement(g2,{...f,key:(p=f.field)==null?void 0:p.label,checked:s[(m=(h=f.field)==null?void 0:h.label)!=null?m:""],streaming:n,confirmed:r,onChange:(C,b,g,y)=>{var v;y!==void 0&&g!==void 0||a(S=>{var j,E;return{...S,[(E=(j=f.field)==null?void 0:j.label)!=null?E:""]:C}}),(v=f.onChange)==null||v.call(f,C,b,g,y)}})}),t]})})),GE=x.memo(({props:e,readonly:t,children:n,streaming:r})=>i.jsxs(xl,{title:"字段填写",icon:i.jsx(dr,{}),defaultOpen:!0,children:[e.map(o=>i.jsx(q8,{...o,readonly:t,streaming:r})),n]})),Cn=({open:e})=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:T("shrink-0 transition-transform duration-200"),style:{transform:e?"rotate(180deg)":"rotate(0deg)"},children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),XE=()=>i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M3 3L11 11M11 3L3 11",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round"})}),KE=()=>i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:"shrink-0",children:[i.jsx("path",{d:"M8 10.5V2M4 6L8 2L12 6",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M2 11V12.5C2 13.3284 2.67157 14 3.5 14H12.5C13.3284 14 14 13.3284 14 12.5V11",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round"})]}),Y8=()=>i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M3 3L9 9M9 3L3 9",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round"})}),b2=()=>i.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M2 7L5.5 10.5L12 3.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),qn="h-[34px] px-[10px] py-[7px] rounded-[4px] bg-white border text-[14px] text-[#030303] placeholder:text-[#999999] focus:outline-none focus:border-[#0265FF] w-full disabled:bg-[#EFF0F6] disabled:cursor-not-allowed";function G8({field:e,value:t,onChange:n,disabled:r,showLabel:o,showDescription:s}){var a;return i.jsx(Pt,{field:e,showLabel:o,showDescription:s,children:i.jsx("input",{type:"text",value:typeof t=="string"?t:"",onChange:l=>n==null?void 0:n(l.target.value),disabled:r,placeholder:(a=e.description)!=null?a:`请输入${e.label}`,className:qn})})}function QE({field:e,value:t,onChange:n,disabled:r,showLabel:o,showDescription:s}){var a;return i.jsx(Pt,{field:e,showLabel:o,showDescription:s,children:i.jsx("input",{type:"number",value:typeof t=="number"||typeof t=="string"?t:"",onChange:l=>{const c=l.target.value;n==null||n(c===""?"":Number(c))},disabled:r,placeholder:(a=e.description)!=null?a:`请输入${e.label}`,className:qn})})}function JE({field:e,value:t,onChange:n,disabled:r,showLabel:o,showDescription:s}){var a;return i.jsx(Pt,{field:e,showLabel:o,showDescription:s,children:i.jsx("textarea",{value:typeof t=="string"?t:"",onChange:l=>n==null?void 0:n(l.target.value),disabled:r,placeholder:(a=e.description)!=null?a:`请输入${e.label}`,rows:3,className:T(qn,"h-auto min-h-[68px] resize-y")})})}function eN({field:e,value:t,onChange:n,disabled:r,showLabel:o,showDescription:s}){var c;const[a,l]=x.useState(!1);return i.jsx(Pt,{field:e,showLabel:o,showDescription:s,children:i.jsxs("div",{className:"relative",children:[i.jsx("input",{type:a?"text":"password",value:typeof t=="string"?t:"",onChange:u=>n==null?void 0:n(u.target.value),disabled:r,placeholder:(c=e.description)!=null?c:`请输入${e.label}`,className:T(qn,"pr-[36px]")}),i.jsx("button",{type:"button",onClick:()=>l(!a),className:"absolute right-[8px] top-1/2 -translate-y-1/2 text-[#999999] text-[12px] hover:text-[#666666]",children:a?"隐藏":"显示"})]})})}function tN({field:e,value:t,onChange:n,disabled:r,showLabel:o,showDescription:s}){var c;const a=((c=e.widget)==null?void 0:c.format)||"yyyy-MM-dd",l=typeof t=="string"&&t?new Date(t):void 0;return i.jsx(Pt,{field:e,showLabel:o,showDescription:s,children:i.jsx(q1,{value:l,onChange:u=>{var d,f;return n==null?void 0:n(u?cs(u,(f=(d=e==null?void 0:e.widget)==null?void 0:d.format)!=null?f:"yyyy-MM-dd HH:mm:ss"):"")},format:a,disabled:r})})}function nN({value:e,onChange:t,disabled:n}){const r=e&&typeof e=="object"&&!Array.isArray(e)?e:{min:void 0,max:void 0};return i.jsxs("div",{className:"flex items-center gap-[8px]",children:[i.jsx("input",{type:"number",value:r.min!=null?r.min:"",onChange:o=>{const s=o.target.value;t==null||t({...r,min:s===""?void 0:Number(s)})},disabled:n,placeholder:"最小值",className:T(qn,"flex-1")}),i.jsx("span",{className:"text-[#999] text-[14px] shrink-0",children:"~"}),i.jsx("input",{type:"number",value:r.max!=null?r.max:"",onChange:o=>{const s=o.target.value;t==null||t({...r,max:s===""?void 0:Number(s)})},disabled:n,placeholder:"最大值",className:T(qn,"flex-1")})]})}function rN({value:e,onChange:t,disabled:n,field:r}){var c;const o=e&&typeof e=="object"&&!Array.isArray(e)?e:{min:void 0,max:void 0},s=o.min?new Date(o.min):void 0,a=o.max?new Date(o.max):void 0,l=(c=r==null?void 0:r.widget)==null?void 0:c.format;return i.jsxs("div",{className:"flex items-center gap-[8px]",children:[i.jsx(q1,{value:s,onChange:u=>t==null?void 0:t({...o,min:u?cs(u,l!=null?l:"yyyy-MM-dd HH:mm:ss"):void 0}),format:"yyyy-MM-dd",placeholder:"开始日期",disabled:n,className:"flex-1"}),i.jsx("span",{className:"text-[#999] text-[14px] shrink-0",children:"~"}),i.jsx(q1,{value:a,onChange:u=>t==null?void 0:t({...o,max:u?cs(u,l!=null?l:"yyyy-MM-dd HH:mm:ss"):void 0}),format:"yyyy-MM-dd",placeholder:"结束日期",disabled:n,className:"flex-1"})]})}function oN({field:e,value:t,onChange:n,disabled:r,service:o,showLabel:s,showDescription:a}){var p;const[l,c]=x.useState(!1),u=x.useRef(null),d=x.useCallback(async h=>{var C;const m=(C=h.target.files)==null?void 0:C[0];if(m)if(o!=null&&o.uploadFile){c(!0);try{const b=await o.uploadFile(m);n==null||n({url:b.url,name:b.name})}finally{c(!1)}}else n==null||n(m)},[n,o]),f=t&&typeof t=="object"&&"name"in t||t instanceof File?t.name:null;return i.jsx(Pt,{field:e,showLabel:s,showDescription:a,children:i.jsxs("div",{className:"flex items-center gap-[8px]",children:[i.jsxs("button",{type:"button",disabled:r||l,onClick:()=>{var h;return(h=u.current)==null?void 0:h.click()},className:T("inline-flex items-center gap-[6px] h-[34px] px-[14px] rounded-[4px] text-[14px]","bg-[#F0F6FF] text-[#0265FF] border border-[#0265FF]",re,"hover:bg-[#E0EEFF]",(r||l)&&"opacity-50 cursor-not-allowed"),children:[i.jsx(KE,{}),l?"上传中...":"上传文件"]}),f&&i.jsx("span",{className:"text-[14px] text-[#030303] truncate",children:f}),i.jsx("input",{ref:u,type:"file",onChange:d,className:"hidden",accept:((p=e.widget)==null?void 0:p.type)==="image"?"image/*":void 0})]})})}const xn={北京市:{北京市:["东城区","西城区","朝阳区","丰台区","石景山区","海淀区","门头沟区","房山区","通州区","顺义区","昌平区","大兴区","怀柔区","平谷区","密云区","延庆区"]},天津市:{天津市:["和平区","河东区","河西区","南开区","河北区","红桥区","东丽区","西青区","津南区","北辰区","武清区","宝坻区","滨海新区","宁河区","静海区","蓟州区"]},河北省:{石家庄市:["长安区","桥西区","新华区","井陉矿区","裕华区","藁城区","鹿泉区","栾城区","井陉县","正定县","行唐县","灵寿县","高邑县","深泽县","赞皇县","无极县","平山县","元氏县","赵县","辛集市","晋州市","新乐市"],唐山市:["路南区","路北区","古冶区","开平区","丰南区","丰润区","曹妃甸区","滦南县","乐亭县","迁西县","玉田县","遵化市","迁安市","滦州市"],秦皇岛市:["海港区","山海关区","北戴河区","抚宁区","青龙满族自治县","昌黎县","卢龙县"],邯郸市:["邯山区","丛台区","复兴区","峰峰矿区","肥乡区","永年区","临漳县","成安县","大名县","涉县","磁县","邱县","鸡泽县","广平县","馆陶县","魏县","曲周县","武安市","邯郸经济技术开发区","邯郸冀南新区"],邢台市:["桥东区","桥西区","邢台县","临城县","内丘县","柏乡县","隆尧县","任县","南和县","宁晋县","巨鹿县","新河县","广宗县","平乡县","威县","清河县","临西县","南宫市","沙河市"],保定市:["竞秀区","莲池区","满城区","清苑区","徐水区","涞水县","阜平县","定兴县","唐县","高阳县","容城县","涞源县","望都县","安新县","易县","曲阳县","蠡县","顺平县","博野县","雄县","涿州市","定州市","安国市","高碑店市"],张家口市:["桥东区","桥西区","宣化区","下花园区","万全区","崇礼区","张北县","康保县","沽源县","尚义县","蔚县","阳原县","怀安县","怀来县","涿鹿县","赤城县"],承德市:["双桥区","双滦区","鹰手营子矿区","承德县","兴隆县","滦平县","隆化县","丰宁满族自治县","宽城满族自治县","围场满族蒙古族自治县","平泉市"],沧州市:["新华区","运河区","沧县","青县","东光县","海兴县","盐山县","肃宁县","南皮县","吴桥县","献县","孟村回族自治县","泊头市","任丘市","黄骅市","河间市"],廊坊市:["安次区","广阳区","固安县","永清县","香河县","大城县","文安县","大厂回族自治县","霸州市","三河市","廊坊经济技术开发区"],衡水市:["桃城区","冀州区","枣强县","武邑县","武强县","饶阳县","安平县","故城县","景县","阜城县","深州市"]},山西省:{太原市:["小店区","迎泽区","杏花岭区","尖草坪区","万柏林区","晋源区","清徐县","阳曲县","娄烦县","古交市"],大同市:["新荣区","平城区","云冈区","云州区","阳高县","天镇县","广灵县","灵丘县","浑源县","左云县"],阳泉市:["城区","矿区","郊区","平定县","盂县"],长治市:["潞州区","上党区","屯留区","潞城区","襄垣县","平顺县","黎城县","壶关县","长子县","武乡县","沁县","沁源县"],晋城市:["城区","沁水县","阳城县","陵川县","泽州县","高平市"],朔州市:["朔城区","平鲁区","山阴县","应县","右玉县","怀仁市"],晋中市:["榆次区","太谷区","榆社县","左权县","和顺县","昔阳县","寿阳县","祁县","平遥县","灵石县","介休市"],运城市:["盐湖区","临猗县","万荣县","闻喜县","稷山县","新绛县","绛县","垣曲县","夏县","平陆县","芮城县","永济市","河津市"],忻州市:["忻府区","定襄县","五台县","代县","繁峙县","宁武县","静乐县","神池县","五寨县","岢岚县","河曲县","保德县","偏关县","原平市"],临汾市:["尧都区","曲沃县","翼城县","襄汾县","洪洞县","古县","安泽县","浮山县","吉县","乡宁县","大宁县","隰县","永和县","蒲县","汾西县","侯马市","霍州市"],吕梁市:["离石区","文水县","交城县","兴县","临县","柳林县","石楼县","岚县","方山县","中阳县","交口县","孝义市","汾阳市"]},内蒙古自治区:{呼和浩特市:["新城区","回民区","玉泉区","赛罕区","土默特左旗","托克托县","和林格尔县","清水河县","武川县"],包头市:["东河区","昆都仑区","青山区","石拐区","白云鄂博矿区","九原区","土默特右旗","固阳县","达尔罕茂明安联合旗"],乌海市:["海勃湾区","海南区","乌达区"],赤峰市:["红山区","元宝山区","松山区","阿鲁科尔沁旗","巴林左旗","巴林右旗","林西县","克什克腾旗","翁牛特旗","喀喇沁旗","宁城县","敖汉旗"],通辽市:["科尔沁区","科尔沁左翼中旗","科尔沁左翼后旗","开鲁县","库伦旗","奈曼旗","扎鲁特旗","霍林郭勒市"],鄂尔多斯市:["东胜区","康巴什区","达拉特旗","准格尔旗","鄂托克前旗","鄂托克旗","杭锦旗","乌审旗","伊金霍洛旗"],呼伦贝尔市:["海拉尔区","扎赉诺尔区","阿荣旗","莫力达瓦达斡尔族自治旗","鄂伦春自治旗","鄂温克族自治旗","陈巴尔虎旗","新巴尔虎左旗","新巴尔虎右旗","满洲里市","牙克石市","扎兰屯市","额尔古纳市","根河市"],巴彦淖尔市:["临河区","五原县","磴口县","乌拉特前旗","乌拉特中旗","乌拉特后旗","杭锦后旗"],乌兰察布市:["集宁区","卓资县","化德县","商都县","兴和县","凉城县","察哈尔右翼前旗","察哈尔右翼中旗","察哈尔右翼后旗","四子王旗","丰镇市"],兴安盟:["乌兰浩特市","阿尔山市","科尔沁右翼前旗","科尔沁右翼中旗","扎赉特旗","突泉县"],锡林郭勒盟:["二连浩特市","锡林浩特市","阿巴嘎旗","苏尼特左旗","苏尼特右旗","东乌珠穆沁旗","西乌珠穆沁旗","太仆寺旗","镶黄旗","正镶白旗","正蓝旗","多伦县","乌拉盖管委会"],阿拉善盟:["阿拉善左旗","阿拉善右旗","额济纳旗"]},辽宁省:{沈阳市:["和平区","沈河区","大东区","皇姑区","铁西区","苏家屯区","浑南区","沈北新区","于洪区","辽中区","康平县","法库县","新民市"],大连市:["中山区","西岗区","沙河口区","甘井子区","旅顺口区","金州区","普兰店区","长海县","瓦房店市","庄河市"],鞍山市:["铁东区","铁西区","立山区","千山区","台安县","岫岩满族自治县","海城市"],抚顺市:["新抚区","东洲区","望花区","顺城区","抚顺县","新宾满族自治县","清原满族自治县"],本溪市:["平山区","溪湖区","明山区","南芬区","本溪满族自治县","桓仁满族自治县"],丹东市:["元宝区","振兴区","振安区","宽甸满族自治县","东港市","凤城市"],锦州市:["古塔区","凌河区","太和区","黑山县","义县","凌海市","北镇市"],营口市:["站前区","西市区","鲅鱼圈区","老边区","盖州市","大石桥市"],阜新市:["海州区","新邱区","太平区","清河门区","细河区","阜新蒙古族自治县","彰武县"],辽阳市:["白塔区","文圣区","宏伟区","弓长岭区","太子河区","辽阳县","灯塔市"],盘锦市:["双台子区","兴隆台区","大洼区","盘山县"],铁岭市:["银州区","清河区","铁岭县","西丰县","昌图县","调兵山市","开原市"],朝阳市:["双塔区","龙城区","朝阳县","建平县","喀喇沁左翼蒙古族自治县","北票市","凌源市"],葫芦岛市:["连山区","龙港区","南票区","绥中县","建昌县","兴城市"]},吉林省:{长春市:["南关区","宽城区","朝阳区","二道区","绿园区","双阳区","九台区","农安县","榆树市","德惠市","公主岭市"],吉林市:["昌邑区","龙潭区","船营区","丰满区","永吉县","蛟河市","桦甸市","舒兰市","磐石市"],四平市:["铁西区","铁东区","梨树县","伊通满族自治县","双辽市"],辽源市:["龙山区","西安区","东丰县","东辽县"],通化市:["东昌区","二道江区","通化县","辉南县","柳河县","梅河口市","集安市"],白山市:["浑江区","江源区","抚松县","靖宇县","长白朝鲜族自治县","临江市"],松原市:["宁江区","前郭尔罗斯蒙古族自治县","长岭县","乾安县","扶余市"],白城市:["洮北区","镇赉县","通榆县","洮南市","大安市"],延边朝鲜族自治州:["延吉市","图们市","敦化市","珲春市","龙井市","和龙市","汪清县","安图县"]},黑龙江省:{哈尔滨市:["道里区","南岗区","道外区","平房区","松北区","香坊区","呼兰区","阿城区","双城区","依兰县","方正县","宾县","巴彦县","木兰县","通河县","延寿县","尚志市","五常市"],齐齐哈尔市:["龙沙区","建华区","铁锋区","昂昂溪区","富拉尔基区","碾子山区","梅里斯达斡尔族区","龙江县","依安县","泰来县","甘南县","富裕县","克山县","克东县","拜泉县","讷河市"],鸡西市:["鸡冠区","恒山区","滴道区","梨树区","城子河区","麻山区","鸡东县","虎林市","密山市"],鹤岗市:["向阳区","工农区","南山区","兴安区","东山区","兴山区","萝北县","绥滨县"],双鸭山市:["尖山区","岭东区","四方台区","宝山区","集贤县","友谊县","宝清县","饶河县"],大庆市:["萨尔图区","龙凤区","让胡路区","红岗区","大同区","肇州县","肇源县","林甸县","杜尔伯特蒙古族自治县"],伊春市:["伊美区","乌翠区","友好区","嘉荫县","汤旺县","丰林县","大箐山县","南岔县","金林区","铁力市"],佳木斯市:["向阳区","前进区","东风区","郊区","桦南县","桦川县","汤原县","同江市","富锦市","抚远市"],七台河市:["新兴区","桃山区","茄子河区","勃利县"],牡丹江市:["东安区","阳明区","爱民区","西安区","林口县","绥芬河市","海林市","宁安市","穆棱市","东宁市"],黑河市:["爱辉区","逊克县","孙吴县","北安市","五大连池市","嫩江市"],绥化市:["北林区","望奎县","兰西县","青冈县","庆安县","明水县","绥棱县","安达市","肇东市","海伦市"],大兴安岭地区:["漠河市","加格达奇区","呼玛县","塔河县"]},上海市:{上海市:["黄浦区","徐汇区","长宁区","静安区","普陀区","虹口区","杨浦区","闵行区","宝山区","嘉定区","浦东新区","金山区","松江区","青浦区","奉贤区","崇明区"]},江苏省:{南京市:["玄武区","秦淮区","建邺区","鼓楼区","浦口区","栖霞区","雨花台区","江宁区","六合区","溧水区","高淳区"],无锡市:["锡山区","惠山区","滨湖区","梁溪区","新吴区","江阴市","宜兴市"],徐州市:["鼓楼区","云龙区","贾汪区","泉山区","铜山区","丰县","沛县","睢宁县","新沂市","邳州市"],常州市:["天宁区","钟楼区","新北区","武进区","金坛区","溧阳市"],苏州市:["虎丘区","吴中区","相城区","姑苏区","吴江区","常熟市","张家港市","昆山市","太仓市","苏州工业园区"],南通市:["通州区","崇川区","海门区","如东县","启东市","如皋市","海安市"],连云港市:["连云区","海州区","赣榆区","东海县","灌云县","灌南县"],淮安市:["淮安区","淮阴区","清江浦区","洪泽区","涟水县","盱眙县","金湖县"],盐城市:["亭湖区","盐都区","大丰区","响水县","滨海县","阜宁县","射阳县","建湖县","东台市"],扬州市:["广陵区","邗江区","江都区","宝应县","仪征市","高邮市"],镇江市:["京口区","润州区","丹徒区","丹阳市","扬中市","句容市"],泰州市:["海陵区","高港区","姜堰区","兴化市","靖江市","泰兴市"],宿迁市:["宿城区","宿豫区","沭阳县","泗阳县","泗洪县"]},浙江省:{杭州市:["上城区","拱墅区","西湖区","滨江区","萧山区","余杭区","富阳区","临安区","临平区","钱塘区","桐庐县","淳安县","建德市"],宁波市:["海曙区","江北区","北仑区","镇海区","鄞州区","奉化区","象山县","宁海县","余姚市","慈溪市"],温州市:["鹿城区","龙湾区","瓯海区","洞头区","永嘉县","平阳县","苍南县","文成县","泰顺县","瑞安市","乐清市","龙港市"],嘉兴市:["南湖区","秀洲区","嘉善县","海盐县","海宁市","平湖市","桐乡市"],湖州市:["吴兴区","南浔区","德清县","长兴县","安吉县"],绍兴市:["越城区","柯桥区","上虞区","新昌县","诸暨市","嵊州市"],金华市:["婺城区","金东区","武义县","浦江县","磐安县","兰溪市","义乌市","东阳市","永康市"],衢州市:["柯城区","衢江区","常山县","开化县","龙游县","江山市"],舟山市:["定海区","普陀区","岱山县","嵊泗县"],台州市:["椒江区","黄岩区","路桥区","三门县","天台县","仙居县","温岭市","临海市","玉环市"],丽水市:["莲都区","青田县","缙云县","遂昌县","松阳县","云和县","庆元县","景宁畲族自治县","龙泉市"]},安徽省:{合肥市:["瑶海区","庐阳区","蜀山区","包河区","长丰县","肥东县","肥西县","庐江县","巢湖市"],芜湖市:["镜湖区","鸠江区","弋江区","湾沚区","繁昌区","南陵县","无为市"],蚌埠市:["龙子湖区","蚌山区","禹会区","淮上区","怀远县","五河县","固镇县"],淮南市:["大通区","田家庵区","谢家集区","八公山区","潘集区","凤台县","寿县"],马鞍山市:["花山区","雨山区","博望区","当涂县","含山县","和县"],淮北市:["杜集区","相山区","烈山区","濉溪县"],铜陵市:["铜官区","义安区","郊区","枞阳县"],安庆市:["迎江区","大观区","宜秀区","怀宁县","太湖县","宿松县","望江县","岳西县","桐城市","潜山市"],黄山市:["屯溪区","黄山区","徽州区","歙县","休宁县","黟县","祁门县"],滁州市:["琅琊区","南谯区","来安县","全椒县","定远县","凤阳县","天长市","明光市"],阜阳市:["颍州区","颍东区","颍泉区","临泉县","太和县","阜南县","颍上县","界首市"],宿州市:["埇桥区","砀山县","萧县","灵璧县","泗县"],六安市:["金安区","裕安区","叶集区","霍邱县","舒城县","金寨县","霍山县"],亳州市:["谯城区","涡阳县","蒙城县","利辛县"],池州市:["贵池区","东至县","石台县","青阳县"],宣城市:["宣州区","郎溪县","泾县","绩溪县","旌德县","宁国市","广德市"]},福建省:{福州市:["鼓楼区","台江区","仓山区","马尾区","晋安区","长乐区","闽侯县","连江县","罗源县","闽清县","永泰县","平潭县","福清市"],厦门市:["思明区","海沧区","湖里区","集美区","同安区","翔安区"],莆田市:["城厢区","涵江区","荔城区","秀屿区","仙游县"],三明市:["三元区","明溪县","清流县","宁化县","大田县","尤溪县","沙县区","将乐县","泰宁县","建宁县","永安市"],泉州市:["鲤城区","丰泽区","洛江区","泉港区","惠安县","安溪县","永春县","德化县","金门县","石狮市","晋江市","南安市"],漳州市:["芗城区","龙文区","云霄县","漳浦县","诏安县","长泰区","东山县","南靖县","平和县","华安县","龙海区"],南平市:["延平区","建阳区","顺昌县","浦城县","光泽县","松溪县","政和县","邵武市","武夷山市","建瓯市"],龙岩市:["新罗区","永定区","长汀县","上杭县","武平县","连城县","漳平市"],宁德市:["蕉城区","霞浦县","古田县","屏南县","寿宁县","周宁县","柘荣县","福安市","福鼎市"]},江西省:{南昌市:["东湖区","西湖区","青云谱区","青山湖区","新建区","红谷滩区","南昌县","安义县","进贤县"],景德镇市:["昌江区","珠山区","浮梁县","乐平市"],萍乡市:["安源区","湘东区","莲花县","上栗县","芦溪县"],九江市:["濂溪区","浔阳区","柴桑区","武宁县","修水县","永修县","德安县","都昌县","湖口县","彭泽县","瑞昌市","共青城市","庐山市"],新余市:["渝水区","分宜县"],鹰潭市:["月湖区","余江区","贵溪市"],赣州市:["章贡区","南康区","赣县区","信丰县","大余县","上犹县","崇义县","安远县","定南县","全南县","宁都县","于都县","兴国县","会昌县","寻乌县","石城县","瑞金市","龙南市"],吉安市:["吉州区","青原区","吉安县","吉水县","峡江县","新干县","永丰县","泰和县","遂川县","万安县","安福县","永新县","井冈山市"],宜春市:["袁州区","奉新县","万载县","上高县","宜丰县","靖安县","铜鼓县","丰城市","樟树市","高安市"],抚州市:["临川区","东乡区","南城县","黎川县","南丰县","崇仁县","乐安县","宜黄县","金溪县","资溪县","广昌县"],上饶市:["信州区","广丰区","广信区","玉山县","铅山县","横峰县","弋阳县","余干县","鄱阳县","万年县","婺源县","德兴市"]},山东省:{济南市:["历下区","市中区","槐荫区","天桥区","历城区","长清区","章丘区","济阳区","莱芜区","钢城区","平阴县","商河县"],青岛市:["市南区","市北区","黄岛区","崂山区","李沧区","城阳区","即墨区","胶州市","平度市","莱西市"],淄博市:["淄川区","张店区","博山区","临淄区","周村区","桓台县","高青县","沂源县"],枣庄市:["市中区","薛城区","峄城区","台儿庄区","山亭区","滕州市"],东营市:["东营区","河口区","垦利区","利津县","广饶县"],烟台市:["芝罘区","福山区","牟平区","莱山区","蓬莱区","龙口市","莱阳市","莱州市","招远市","栖霞市","海阳市"],潍坊市:["潍城区","寒亭区","坊子区","奎文区","临朐县","昌乐县","青州市","诸城市","寿光市","安丘市","高密市","昌邑市"],济宁市:["任城区","兖州区","微山县","鱼台县","金乡县","嘉祥县","汶上县","泗水县","梁山县","曲阜市","邹城市"],泰安市:["泰山区","岱岳区","宁阳县","东平县","新泰市","肥城市"],威海市:["环翠区","文登区","荣成市","乳山市"],日照市:["东港区","岚山区","五莲县","莒县"],临沂市:["兰山区","罗庄区","河东区","沂南县","郯城县","沂水县","兰陵县","费县","平邑县","莒南县","蒙阴县","临沭县"],德州市:["德城区","陵城区","宁津县","庆云县","临邑县","齐河县","平原县","夏津县","武城县","乐陵市","禹城市"],聊城市:["东昌府区","茌平区","阳谷县","莘县","东阿县","冠县","高唐县","临清市"],滨州市:["滨城区","沾化区","惠民县","阳信县","无棣县","博兴县","邹平市"],菏泽市:["牡丹区","定陶区","曹县","单县","成武县","巨野县","郓城县","鄄城县","东明县"]},河南省:{郑州市:["中原区","二七区","管城回族区","金水区","上街区","惠济区","中牟县","巩义市","荥阳市","新密市","新郑市","登封市","郑州经济技术开发区","郑州高新技术产业开发区","郑州航空港经济综合实验区"],开封市:["龙亭区","顺河回族区","鼓楼区","禹王台区","祥符区","杞县","通许县","尉氏县","兰考县"],洛阳市:["老城区","西工区","瀍河回族区","涧西区","孟津区","洛龙区","新安县","栾川县","嵩县","汝阳县","宜阳县","洛宁县","伊川县","偃师区"],平顶山市:["新华区","卫东区","石龙区","湛河区","宝丰县","叶县","鲁山县","郏县","舞钢市","汝州市"],安阳市:["文峰区","北关区","殷都区","龙安区","安阳县","汤阴县","滑县","内黄县","林州市"],鹤壁市:["鹤山区","山城区","淇滨区","浚县","淇县"],新乡市:["红旗区","卫滨区","凤泉区","牧野区","新乡县","获嘉县","原阳县","延津县","封丘县","卫辉市","辉县市","长垣市"],焦作市:["解放区","中站区","马村区","山阳区","修武县","博爱县","武陟县","温县","沁阳市","孟州市"],濮阳市:["华龙区","清丰县","南乐县","范县","台前县","濮阳县"],许昌市:["魏都区","建安区","鄢陵县","襄城县","禹州市","长葛市"],漯河市:["源汇区","郾城区","召陵区","舞阳县","临颍县"],三门峡市:["湖滨区","陕州区","渑池县","卢氏县","义马市","灵宝市"],南阳市:["宛城区","卧龙区","南召县","方城县","西峡县","镇平县","内乡县","淅川县","社旗县","唐河县","新野县","桐柏县","邓州市"],商丘市:["梁园区","睢阳区","民权县","睢县","宁陵县","柘城县","虞城县","夏邑县","永城市"],信阳市:["浉河区","平桥区","罗山县","光山县","新县","商城县","固始县","潢川县","淮滨县","息县"],周口市:["川汇区","淮阳区","扶沟县","西华县","商水县","沈丘县","郸城县","太康县","鹿邑县","项城市"],驻马店市:["驿城区","西平县","上蔡县","平舆县","正阳县","确山县","泌阳县","汝南县","遂平县","新蔡县"],济源市:["济源市"]},湖北省:{武汉市:["江岸区","江汉区","硚口区","汉阳区","武昌区","青山区","洪山区","东西湖区","汉南区","蔡甸区","江夏区","黄陂区","新洲区"],黄石市:["黄石港区","西塞山区","下陆区","铁山区","阳新县","大冶市"],十堰市:["茅箭区","张湾区","郧阳区","郧西县","竹山县","竹溪县","房县","丹江口市"],宜昌市:["西陵区","伍家岗区","点军区","猇亭区","夷陵区","远安县","兴山县","秭归县","长阳土家族自治县","五峰土家族自治县","宜都市","当阳市","枝江市"],襄阳市:["襄城区","樊城区","襄州区","南漳县","谷城县","保康县","老河口市","枣阳市","宜城市"],鄂州市:["梁子湖区","华容区","鄂城区"],荆门市:["东宝区","掇刀区","沙洋县","钟祥市","京山市"],孝感市:["孝南区","孝昌县","大悟县","云梦县","应城市","安陆市","汉川市"],荆州市:["沙市区","荆州区","公安县","江陵县","石首市","洪湖市","松滋市","监利市"],黄冈市:["黄州区","团风县","红安县","罗田县","英山县","浠水县","蕲春县","黄梅县","麻城市","武穴市"],咸宁市:["咸安区","嘉鱼县","通城县","崇阳县","通山县","赤壁市"],随州市:["曾都区","随县","广水市"],恩施土家族苗族自治州:["恩施市","利川市","建始县","巴东县","宣恩县","咸丰县","来凤县","鹤峰县"],仙桃市:["仙桃市"],潜江市:["潜江市"],天门市:["天门市"],神农架林区:["神农架林区"]},湖南省:{长沙市:["芙蓉区","天心区","岳麓区","开福区","雨花区","望城区","长沙县","浏阳市","宁乡市"],株洲市:["荷塘区","芦淞区","石峰区","天元区","渌口区","攸县","茶陵县","炎陵县","醴陵市"],湘潭市:["雨湖区","岳塘区","湘潭县","湘乡市","韶山市"],衡阳市:["珠晖区","雁峰区","石鼓区","蒸湘区","南岳区","衡阳县","衡南县","衡山县","衡东县","祁东县","耒阳市","常宁市"],邵阳市:["双清区","大祥区","北塔区","新邵县","邵阳县","隆回县","洞口县","绥宁县","新宁县","城步苗族自治县","武冈市","邵东市"],岳阳市:["岳阳楼区","云溪区","君山区","岳阳县","华容县","湘阴县","平江县","汨罗市","临湘市"],常德市:["武陵区","鼎城区","安乡县","汉寿县","澧县","临澧县","桃源县","石门县","津市市"],张家界市:["永定区","武陵源区","慈利县","桑植县"],益阳市:["资阳区","赫山区","南县","桃江县","安化县","沅江市"],郴州市:["北湖区","苏仙区","桂阳县","宜章县","永兴县","嘉禾县","临武县","汝城县","桂东县","安仁县","资兴市"],永州市:["零陵区","冷水滩区","祁阳市","东安县","双牌县","道县","江永县","宁远县","蓝山县","新田县","江华瑶族自治县"],怀化市:["鹤城区","中方县","沅陵县","辰溪县","溆浦县","会同县","麻阳苗族自治县","新晃侗族自治县","芷江侗族自治县","靖州苗族侗族自治县","通道侗族自治县","洪江市"],娄底市:["娄星区","双峰县","新化县","冷水江市","涟源市"],湘西土家族苗族自治州:["吉首市","泸溪县","凤凰县","花垣县","保靖县","古丈县","永顺县","龙山县"]},广东省:{广州市:["荔湾区","越秀区","海珠区","天河区","白云区","黄埔区","番禺区","花都区","南沙区","从化区","增城区"],韶关市:["武江区","浈江区","曲江区","始兴县","仁化县","翁源县","乳源瑶族自治县","新丰县","乐昌市","南雄市"],深圳市:["罗湖区","福田区","南山区","宝安区","龙岗区","盐田区","龙华区","坪山区","光明区"],珠海市:["香洲区","斗门区","金湾区"],汕头市:["龙湖区","金平区","濠江区","潮阳区","潮南区","澄海区","南澳县"],佛山市:["禅城区","南海区","顺德区","三水区","高明区"],江门市:["蓬江区","江海区","新会区","台山市","开平市","鹤山市","恩平市"],湛江市:["赤坎区","霞山区","坡头区","麻章区","遂溪县","徐闻县","廉江市","雷州市","吴川市"],茂名市:["茂南区","电白区","高州市","化州市","信宜市"],肇庆市:["端州区","鼎湖区","高要区","广宁县","怀集县","封开县","德庆县","四会市"],惠州市:["惠城区","惠阳区","博罗县","惠东县","龙门县"],梅州市:["梅江区","梅县区","大埔县","丰顺县","五华县","平远县","蕉岭县","兴宁市"],汕尾市:["城区","海丰县","陆河县","陆丰市"],河源市:["源城区","紫金县","龙川县","连平县","和平县","东源县"],阳江市:["江城区","阳东区","阳西县","阳春市"],清远市:["清城区","清新区","佛冈县","阳山县","连山壮族瑶族自治县","连南瑶族自治县","英德市","连州市"],东莞市:["东莞市"],中山市:["中山市"],潮州市:["湘桥区","潮安区","饶平县"],揭阳市:["榕城区","揭东区","揭西县","惠来县","普宁市"],云浮市:["云城区","云安区","新兴县","郁南县","罗定市"]},广西壮族自治区:{南宁市:["兴宁区","青秀区","江南区","西乡塘区","良庆区","邕宁区","武鸣区","隆安县","马山县","上林县","宾阳县","横州市"],柳州市:["城中区","鱼峰区","柳南区","柳北区","柳江区","柳城县","鹿寨县","融安县","融水苗族自治县","三江侗族自治县"],桂林市:["秀峰区","叠彩区","象山区","七星区","雁山区","临桂区","阳朔县","灵川县","全州县","兴安县","永福县","灌阳县","龙胜各族自治县","资源县","平乐县","恭城瑶族自治县","荔浦市"],梧州市:["万秀区","长洲区","龙圩区","苍梧县","藤县","蒙山县","岑溪市"],北海市:["海城区","银海区","铁山港区","合浦县"],防城港市:["港口区","防城区","上思县","东兴市"],钦州市:["钦南区","钦北区","灵山县","浦北县"],贵港市:["港北区","港南区","覃塘区","平南县","桂平市"],玉林市:["玉州区","福绵区","容县","陆川县","博白县","兴业县","北流市"],百色市:["右江区","田阳区","田东县","德保县","那坡县","凌云县","乐业县","田林县","西林县","隆林各族自治县","靖西市","平果市"],贺州市:["八步区","平桂区","昭平县","钟山县","富川瑶族自治县"],河池市:["金城江区","宜州区","南丹县","天峨县","凤山县","东兰县","罗城仫佬族自治县","环江毛南族自治县","巴马瑶族自治县","都安瑶族自治县","大化瑶族自治县"],来宾市:["兴宾区","忻城县","象州县","武宣县","金秀瑶族自治县","合山市"],崇左市:["江州区","扶绥县","宁明县","龙州县","大新县","天等县","凭祥市"]},海南省:{海口市:["秀英区","龙华区","琼山区","美兰区"],三亚市:["海棠区","吉阳区","天涯区","崖州区"],三沙市:["西沙区","南沙区"],儋州市:["儋州市"],五指山市:["五指山市"],琼海市:["琼海市"],文昌市:["文昌市"],万宁市:["万宁市"],东方市:["东方市"],定安县:["定安县"],屯昌县:["屯昌县"],澄迈县:["澄迈县"],临高县:["临高县"],白沙黎族自治县:["白沙黎族自治县"],昌江黎族自治县:["昌江黎族自治县"],乐东黎族自治县:["乐东黎族自治县"],陵水黎族自治县:["陵水黎族自治县"],保亭黎族苗族自治县:["保亭黎族苗族自治县"],琼中黎族苗族自治县:["琼中黎族苗族自治县"]},重庆市:{重庆市:["万州区","涪陵区","渝中区","大渡口区","江北区","沙坪坝区","九龙坡区","南岸区","北碚区","綦江区","大足区","渝北区","巴南区","黔江区","长寿区","江津区","合川区","永川区","南川区","璧山区","铜梁区","潼南区","荣昌区","开州区","梁平区","武隆区","城口县","丰都县","垫江县","忠县","云阳县","奉节县","巫山县","巫溪县","石柱土家族自治县","秀山土家族苗族自治县","酉阳土家族苗族自治县","彭水苗族土家族自治县"]},四川省:{成都市:["锦江区","青羊区","金牛区","武侯区","成华区","龙泉驿区","青白江区","新都区","温江区","双流区","郫都区","新津区","金堂县","大邑县","蒲江县","都江堰市","彭州市","邛崃市","崇州市","简阳市"],自贡市:["自流井区","贡井区","大安区","沿滩区","荣县","富顺县"],攀枝花市:["东区","西区","仁和区","米易县","盐边县"],泸州市:["江阳区","纳溪区","龙马潭区","泸县","合江县","叙永县","古蔺县"],德阳市:["旌阳区","罗江区","中江县","广汉市","什邡市","绵竹市"],绵阳市:["涪城区","游仙区","安州区","三台县","盐亭县","梓潼县","北川羌族自治县","平武县","江油市"],广元市:["利州区","昭化区","朝天区","旺苍县","青川县","剑阁县","苍溪县"],遂宁市:["船山区","安居区","蓬溪县","大英县","射洪市"],内江市:["市中区","东兴区","威远县","资中县","隆昌市"],乐山市:["市中区","沙湾区","五通桥区","金口河区","犍为县","井研县","夹江县","沐川县","峨边彝族自治县","马边彝族自治县","峨眉山市"],南充市:["顺庆区","高坪区","嘉陵区","南部县","营山县","蓬安县","仪陇县","西充县","阆中市"],眉山市:["东坡区","彭山区","仁寿县","洪雅县","丹棱县","青神县"],宜宾市:["翠屏区","南溪区","叙州区","江安县","长宁县","高县","珙县","筠连县","兴文县","屏山县"],广安市:["广安区","前锋区","岳池县","武胜县","邻水县","华蓥市"],达州市:["通川区","达川区","宣汉县","开江县","大竹县","渠县","万源市"],雅安市:["雨城区","名山区","荥经县","汉源县","石棉县","天全县","芦山县","宝兴县"],巴中市:["巴州区","恩阳区","通江县","南江县","平昌县"],资阳市:["雁江区","安岳县","乐至县"],阿坝藏族羌族自治州:["马尔康市","汶川县","理县","茂县","松潘县","九寨沟县","金川县","小金县","黑水县","壤塘县","阿坝县","若尔盖县","红原县"],甘孜藏族自治州:["康定市","泸定县","丹巴县","九龙县","雅江县","道孚县","炉霍县","甘孜县","新龙县","德格县","白玉县","石渠县","色达县","理塘县","巴塘县","乡城县","稻城县","得荣县"],凉山彝族自治州:["西昌市","木里藏族自治县","盐源县","德昌县","会理市","会东县","宁南县","普格县","布拖县","金阳县","昭觉县","喜德县","冕宁县","越西县","甘洛县","美姑县","雷波县"]},贵州省:{贵阳市:["南明区","云岩区","花溪区","乌当区","白云区","观山湖区","开阳县","息烽县","修文县","清镇市"],六盘水市:["钟山区","六枝特区","水城区","盘州市"],遵义市:["红花岗区","汇川区","播州区","桐梓县","绥阳县","正安县","道真仡佬族苗族自治县","务川仡佬族苗族自治县","凤冈县","湄潭县","余庆县","习水县","赤水市","仁怀市"],安顺市:["西秀区","平坝区","普定县","镇宁布依族苗族自治县","关岭布依族苗族自治县","紫云苗族布依族自治县"],毕节市:["七星关区","大方县","黔西市","金沙县","织金县","纳雍县","威宁彝族回族苗族自治县","赫章县"],铜仁市:["碧江区","万山区","江口县","玉屏侗族自治县","石阡县","思南县","印江土家族苗族自治县","德江县","沿河土家族自治县","松桃苗族自治县"],黔西南布依族苗族自治州:["兴义市","兴仁市","普安县","晴隆县","贞丰县","望谟县","册亨县","安龙县"],黔东南苗族侗族自治州:["凯里市","黄平县","施秉县","三穗县","镇远县","岑巩县","天柱县","锦屏县","剑河县","台江县","黎平县","榕江县","从江县","雷山县","麻江县","丹寨县"],黔南布依族苗族自治州:["都匀市","福泉市","荔波县","贵定县","瓮安县","独山县","平塘县","罗甸县","长顺县","龙里县","惠水县","三都水族自治县"]},云南省:{昆明市:["五华区","盘龙区","官渡区","西山区","东川区","呈贡区","晋宁区","富民县","宜良县","石林彝族自治县","嵩明县","禄劝彝族苗族自治县","寻甸回族彝族自治县","安宁市"],曲靖市:["麒麟区","沾益区","马龙区","陆良县","师宗县","罗平县","富源县","会泽县","宣威市"],玉溪市:["红塔区","江川区","通海县","华宁县","易门县","峨山彝族自治县","新平彝族傣族自治县","元江哈尼族彝族傣族自治县","澄江市"],保山市:["隆阳区","施甸县","龙陵县","昌宁县","腾冲市"],昭通市:["昭阳区","鲁甸县","巧家县","盐津县","大关县","永善县","绥江县","镇雄县","彝良县","威信县","水富市"],丽江市:["古城区","玉龙纳西族自治县","永胜县","华坪县","宁蒗彝族自治县"],普洱市:["思茅区","宁洱哈尼族彝族自治县","墨江哈尼族自治县","景东彝族自治县","景谷傣族彝族自治县","镇沅彝族哈尼族拉祜族自治县","江城哈尼族彝族自治县","孟连傣族拉祜族佤族自治县","澜沧拉祜族自治县","西盟佤族自治县"],临沧市:["临翔区","凤庆县","云县","永德县","镇康县","双江拉祜族佤族布朗族傣族自治县","耿马傣族佤族自治县","沧源佤族自治县"],楚雄彝族自治州:["楚雄市","双柏县","牟定县","南华县","姚安县","大姚县","永仁县","元谋县","武定县","禄丰市"],红河哈尼族彝族自治州:["个旧市","开远市","蒙自市","弥勒市","屏边苗族自治县","建水县","石屏县","泸西县","元阳县","红河县","金平苗族瑶族傣族自治县","绿春县","河口瑶族自治县"],文山壮族苗族自治州:["文山市","砚山县","西畴县","麻栗坡县","马关县","丘北县","广南县","富宁县"],西双版纳傣族自治州:["景洪市","勐海县","勐腊县"],大理白族自治州:["大理市","漾濞彝族自治县","祥云县","宾川县","弥渡县","南涧彝族自治县","巍山彝族回族自治县","永平县","云龙县","洱源县","剑川县","鹤庆县"],德宏傣族景颇族自治州:["瑞丽市","芒市","梁河县","盈江县","陇川县"],怒江傈僳族自治州:["泸水市","福贡县","贡山独龙族怒族自治县","兰坪白族普米族自治县"],迪庆藏族自治州:["香格里拉市","德钦县","维西傈僳族自治县"]},西藏自治区:{拉萨市:["城关区","堆龙德庆区","达孜区","林周县","当雄县","尼木县","曲水县","墨竹工卡县"],日喀则市:["桑珠孜区","南木林县","江孜县","定日县","萨迦县","拉孜县","昂仁县","谢通门县","白朗县","仁布县","康马县","定结县","仲巴县","亚东县","吉隆县","聂拉木县","萨嘎县","岗巴县"],昌都市:["卡若区","江达县","贡觉县","类乌齐县","丁青县","察雅县","八宿县","左贡县","芒康县","洛隆县","边坝县"],林芝市:["巴宜区","工布江达县","米林县","墨脱县","波密县","察隅县","朗县"],山南市:["乃东区","扎囊县","贡嘎县","桑日县","琼结县","曲松县","措美县","洛扎县","加查县","隆子县","错那县","浪卡子县"],那曲市:["色尼区","嘉黎县","比如县","聂荣县","安多县","申扎县","索县","班戈县","巴青县","尼玛县","双湖县"],阿里地区:["普兰县","札达县","噶尔县","日土县","革吉县","改则县","措勤县"]},陕西省:{西安市:["新城区","碑林区","莲湖区","灞桥区","未央区","雁塔区","阎良区","临潼区","长安区","高陵区","鄠邑区","蓝田县","周至县"],铜川市:["王益区","印台区","耀州区","宜君县"],宝鸡市:["渭滨区","金台区","陈仓区","凤翔区","岐山县","扶风县","眉县","陇县","千阳县","麟游县","凤县","太白县"],咸阳市:["秦都区","杨陵区","渭城区","三原县","泾阳县","乾县","礼泉县","永寿县","长武县","旬邑县","淳化县","武功县","兴平市","彬州市"],渭南市:["临渭区","华州区","潼关县","大荔县","合阳县","澄城县","蒲城县","白水县","富平县","韩城市","华阴市"],延安市:["宝塔区","安塞区","延长县","延川县","志丹县","吴起县","甘泉县","富县","洛川县","宜川县","黄龙县","黄陵县","子长市"],汉中市:["汉台区","南郑区","城固县","洋县","西乡县","勉县","宁强县","略阳县","镇巴县","留坝县","佛坪县"],榆林市:["榆阳区","横山区","府谷县","靖边县","定边县","绥德县","米脂县","佳县","吴堡县","清涧县","子洲县","神木市"],安康市:["汉滨区","汉阴县","石泉县","宁陕县","紫阳县","岚皋县","平利县","镇坪县","旬阳市","白河县"],商洛市:["商州区","洛南县","丹凤县","商南县","山阳县","镇安县","柞水县"]},甘肃省:{兰州市:["城关区","七里河区","西固区","安宁区","红古区","永登县","皋兰县","榆中县"],嘉峪关市:["嘉峪关市"],金昌市:["金川区","永昌县"],白银市:["白银区","平川区","靖远县","会宁县","景泰县"],天水市:["秦州区","麦积区","清水县","秦安县","甘谷县","武山县","张家川回族自治县"],武威市:["凉州区","民勤县","古浪县","天祝藏族自治县"],张掖市:["甘州区","肃南裕固族自治县","民乐县","临泽县","高台县","山丹县"],平凉市:["崆峒区","泾川县","灵台县","崇信县","庄浪县","静宁县","华亭市"],酒泉市:["肃州区","金塔县","瓜州县","肃北蒙古族自治县","阿克塞哈萨克族自治县","玉门市","敦煌市"],庆阳市:["西峰区","庆城县","环县","华池县","合水县","正宁县","宁县","镇原县"],定西市:["安定区","通渭县","陇西县","渭源县","临洮县","漳县","岷县"],陇南市:["武都区","成县","文县","宕昌县","康县","西和县","礼县","徽县","两当县"],临夏回族自治州:["临夏市","临夏县","康乐县","永靖县","广河县","和政县","东乡族自治县","积石山保安族东乡族撒拉族自治县"],甘南藏族自治州:["合作市","临潭县","卓尼县","舟曲县","迭部县","玛曲县","碌曲县","夏河县"]},青海省:{西宁市:["城东区","城中区","城西区","城北区","湟中区","大通回族土族自治县","湟源县"],海东市:["乐都区","平安区","民和回族土族自治县","互助土族自治县","化隆回族自治县","循化撒拉族自治县"],海北藏族自治州:["门源回族自治县","祁连县","海晏县","刚察县"],黄南藏族自治州:["同仁市","尖扎县","泽库县","河南蒙古族自治县"],海南藏族自治州:["共和县","同德县","贵德县","兴海县","贵南县"],果洛藏族自治州:["玛沁县","班玛县","甘德县","达日县","久治县","玛多县"],玉树藏族自治州:["玉树市","杂多县","称多县","治多县","囊谦县","曲麻莱县"],海西蒙古族藏族自治州:["格尔木市","德令哈市","茫崖市","乌兰县","都兰县","天峻县","海西蒙古族藏族自治州直辖"]},宁夏回族自治区:{银川市:["兴庆区","西夏区","金凤区","永宁县","贺兰县","灵武市"],石嘴山市:["大武口区","惠农区","平罗县"],吴忠市:["利通区","红寺堡区","盐池县","同心县","青铜峡市"],固原市:["原州区","西吉县","隆德县","泾源县","彭阳县"],中卫市:["沙坡头区","中宁县","海原县"]},新疆维吾尔自治区:{乌鲁木齐市:["天山区","沙依巴克区","新市区","水磨沟区","头屯河区","达坂城区","米东区","乌鲁木齐县"],克拉玛依市:["独山子区","克拉玛依区","白碱滩区","乌尔禾区"],吐鲁番市:["高昌区","鄯善县","托克逊县"],哈密市:["伊州区","巴里坤哈萨克自治县","伊吾县"],昌吉回族自治州:["昌吉市","阜康市","呼图壁县","玛纳斯县","奇台县","吉木萨尔县","木垒哈萨克自治县"],博尔塔拉蒙古自治州:["博乐市","阿拉山口市","精河县","温泉县"],巴音郭楞蒙古自治州:["库尔勒市","轮台县","尉犁县","若羌县","且末县","焉耆回族自治县","和静县","和硕县","博湖县"],阿克苏地区:["阿克苏市","库车市","温宿县","沙雅县","新和县","拜城县","乌什县","阿瓦提县","柯坪县"],克孜勒苏柯尔克孜自治州:["阿图什市","阿克陶县","阿合奇县","乌恰县"],喀什地区:["喀什市","疏附县","疏勒县","英吉沙县","泽普县","莎车县","叶城县","麦盖提县","岳普湖县","伽师县","巴楚县","塔什库尔干塔吉克自治县"],和田地区:["和田市","和田县","墨玉县","皮山县","洛浦县","策勒县","于田县","民丰县"],伊犁哈萨克自治州:["伊宁市","奎屯市","霍尔果斯市","伊宁县","察布查尔锡伯自治县","霍城县","巩留县","新源县","昭苏县","特克斯县","尼勒克县"],塔城地区:["塔城市","乌苏市","额敏县","沙湾市","托里县","裕民县","和布克赛尔蒙古自治县"],阿勒泰地区:["阿勒泰市","布尔津县","富蕴县","福海县","哈巴河县","青河县","吉木乃县"],石河子市:["石河子市"],阿拉尔市:["阿拉尔市"],图木舒克市:["图木舒克市"],五家渠市:["五家渠市"],北屯市:["北屯市"],铁门关市:["铁门关市"],双河市:["双河市"],可克达拉市:["可克达拉市"],昆玉市:["昆玉市"],胡杨河市:["胡杨河市"],新星市:["新星市"]},台湾省:{台北市:["大安区","大同区","内湖区","南港区","松山区","万华区","文山区","信义区","中山区","中正区","北投区","士林区"],新北市:["林口区","莺歌区","八里区","板桥区","淡水区","芦洲区","三重区","深坑区","树林区","泰山区","土城区","五股区","新庄区","永和区","中和区","万里区","金山区","石碇区","瑞芳区","贡寮区","坪林区","乌来区","三芝区","石门区","平溪区","双溪区","三峡区","汐止区","新店区"],台中市:["北区","北屯区","大安区","大肚区","大甲区","大里区","大雅区","东区","丰原区","后里区","龙井区","南区","南屯区","清水区","三义乡","沙鹿区","神冈区","石冈区","潭子区","通宵镇","外埔区","乌日区","梧栖区","西区","西屯区","苑里镇","中区","太平区","雾峰区","东势镇","和平乡","新社乡"],台南市:["安定区","安南区","安平区","北区","东区","永康区","归仁区","仁德区","关庙区","官田区","佳里区","六甲区","麻豆区","南区山","上区","善化区","西港区","西区","新市区","中区","新化区","新营区","左镇区","玉井区","南化区","楠西区","龙崎区","七股区","将军区","学甲区","北门区","后壁区","白河区","东山区","下营区","柳营区","盐水区","大内区"],高雄市:["阿莲区","大寮区","大社区","大树区","凤山区","冈山区","鼓山区","湖内区","林园区","苓雅区","路竹区","楠梓区","鸟松区","旗津区","前金区","前镇区","桥头区","仁武区","三民区","小港区","新兴区","盐埕区","燕巢区","永安区","梓官区","左营区","田寮乡","六龟乡","内门乡","茂林乡","桃源乡","甲仙乡","弥陀乡","旗山镇","美浓镇","那玛夏乡","茄萣乡","杉林乡"],基隆市:["七堵区","中山区","中正区","仁爱区","信义区","安乐区","暖暖区"],新竹市:["东区","北区","香山区"],嘉义市:["东区","西区"],桃园县:["桃园市","中坜市","平镇市","八德市","大溪镇","大园乡","观音乡","龟山乡","复兴乡","龙潭乡","芦竹乡","新屋乡","杨梅市"],新竹县:["竹北市","湖口乡","新丰乡","新埔镇","关西镇","芎林乡","竹东镇","峨眉乡","宝山乡","五峰乡","横山乡","北埔乡","尖石乡"],苗栗县:["竹南镇","头份镇","三湾乡","后龙镇","通霄镇","苑里镇","苗栗市","造桥乡","头屋乡","公馆乡","铜锣乡","三义乡","西湖乡","南庄乡","狮潭乡","大湖乡","泰安乡","卓兰镇"],彰化县:["北斗镇","草屯镇","大村乡","二水乡","芳苑乡","芬园乡","福兴乡","和美镇","花坛乡","鹿港镇","南投市","埤头乡","埔心乡","埔盐乡","社头乡","伸港乡","田尾乡","田中镇","溪湖镇","线西乡","秀水乡","永靖乡","员林镇","彰化市","二林镇","大城乡","竹塘乡","溪州乡"],南投县:["埔里镇","竹山镇","集集镇","名间乡","鹿谷乡","中寮乡","鱼池乡","国姓乡","水里乡","信义乡","仁爱乡","南投巿","草屯镇","琉球乡"],云林县:["大埤乡","土库镇","林内乡","莿桐乡","西螺镇","仑背乡","古坑乡","褒忠乡","东势乡","台西乡","麦寮乡","二仑乡","北港镇","水林乡","口湖乡","四湖乡","元长乡","斗六市","斗南镇","虎尾镇"],嘉义县:["竹崎乡","番路乡","梅山乡","阿里山乡","东石乡","大埔乡","溪口乡","义竹乡","布袋镇","大林镇","六脚乡","鹿草乡","民雄乡","朴子市","水上乡","太保市","新港乡","中埔乡"],屏东县:["屏东市","万丹乡","长治乡","内埔乡","潮州镇","三地门乡","来义乡","狮子乡","牡丹乡","高树乡","满州乡","万峦乡","春日乡","雾台乡","泰武乡","玛家乡","恒春镇","枋寮乡","东港镇","林边乡","枋山乡","里港乡","车城乡","盐埔乡","九如乡","新园乡","新埤乡","佳冬乡","竹田乡","南州乡","崁顶乡","麟洛乡"],宜兰县:["头城镇","宜兰市","礁溪乡","壮围乡","五结乡","罗东镇","员山乡","南澳乡","冬山乡","大同乡","三星乡","苏澳镇"],花莲县:["花莲巿","光复乡","玉里镇","新城乡","吉安乡","寿丰乡","凤林镇","丰滨乡","瑞穗乡","富里乡","秀林乡","万荣乡","卓溪乡"],台东县:["台东巿","成功镇","关山镇","卑南乡","大武乡","太麻里乡","东河乡","长滨乡","鹿野乡","池上乡","延平乡","海端乡","达仁乡","金峰乡"],澎湖县:["马公市","湖西乡","白沙乡","西屿乡","望安乡","七美乡"],金门县:["金城镇","金湖镇","金沙镇","金宁乡","烈屿乡","乌丘乡"],连江县:["南竿乡","北竿乡","莒光乡","东引乡"]},香港特别行政区:{香港特别行政区:["中西區","灣仔區","東區","南區","油尖旺區","深水埗區","九龍城區","黃大仙區","觀塘區","荃灣區","屯門區","元朗區","北區","大埔區","西貢區","沙田區","葵青區","離島區"]},澳门特别行政区:{澳门特别行政区:["花地瑪堂區","花王堂區","望德堂區","大堂區","風順堂區","嘉模堂區","路氹填海區","聖方濟各堂區"]},海外:{其它:["其它"]}},X8="h-[34px] px-[10px] py-[7px] rounded-[4px] bg-white border text-[14px] text-[#030303] placeholder:text-[#999999] focus:outline-none focus:border-[#0265FF] w-full disabled:bg-[#EFF0F6] disabled:cursor-not-allowed";function y2(e){var t,n,r;return(r=(n=(t=e.widget)==null?void 0:t.items)==null?void 0:n.filter(o=>typeof o.label=="string"))!=null?r:[]}function Fs(e){const[t,n]=x.useState(null),r=x.useCallback(o=>{if(!o){n(null);return}const s=o.getRootNode();if(s instanceof ShadowRoot){const a=s.querySelector(`[${e}]`);if(a){n(a);return}const l=document.createElement("div");l.setAttribute(e,"true"),s.appendChild(l),n(l)}else n(null)},[e]);return{portalContainer:t,setTriggerRef:r}}function sN({field:e,value:t,onChange:n,disabled:r,service:o,showLabel:s,showDescription:a}){var v,S,j,E,N,O,P,V;const[l,c]=x.useState(!1),[u,d]=x.useState([]),[f,p]=x.useState(!1),{portalContainer:h,setTriggerRef:m}=Fs("data-bs-field-value-input-portal"),C=y2(e),b=((v=e.widget)==null?void 0:v.type)==="linkdata"||((S=e.widget)==null?void 0:S.type)==="linkquery",g=(O=(N=(j=C.find(D=>D.value===t))==null?void 0:j.label)!=null?N:(E=u.find(D=>D.value===t))==null?void 0:E.label)!=null?O:"";x.useEffect(()=>{var D,F;b&&l&&(o!=null&&o.fetchLinkData)&&(p(!0),o.fetchLinkData((F=(D=e.widget)==null?void 0:D.widgetName)!=null?F:"").then(R=>{d(R),p(!1)}))},[b,l,(P=e.widget)==null?void 0:P.widgetName,o]);const y=b?u:C,w=x.useCallback(D=>{n==null||n(D),c(!1)},[n]);return i.jsx(Pt,{field:e,showLabel:s,showDescription:a,children:i.jsxs(ct,{open:l,onOpenChange:c,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{ref:m,type:"button",disabled:r,className:T("flex items-center justify-between gap-[10px]",X8,"text-left cursor-pointer",l?"border-[#0265FF]":"border-[#E0E0E0] hover:border-[#0265FF]"),children:[i.jsx("span",{className:T("truncate",!g&&"text-[#999999]"),children:g||((V=e.description)!=null?V:`请选择${e.label}`)}),i.jsx(Cn,{open:l})]})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:h,className:"!border-0 rounded-[10px] shadow-[0px_0px_5px_rgba(0,0,0,0.04)] p-[4px]",style:{width:"var(--radix-popover-trigger-width)"},children:f?i.jsx("div",{className:"px-[10px] py-[8px] text-[14px] text-[#999999]",children:"加载中..."}):y.length===0?i.jsx("div",{className:"px-[10px] py-[8px] text-[14px] text-[#999999]",children:"暂无数据"}):i.jsx("div",{className:"flex flex-col gap-0 max-h-[240px] overflow-y-auto",children:y.map(D=>i.jsx("button",{type:"button",onClick:()=>w(D.value),className:T("h-[34px] px-[10px] rounded-[4px] text-left text-[14px] leading-[normal]",t===D.value?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]",re),children:D.label},D.value))})})]})})}function iN({field:e,value:t,onChange:n,disabled:r,showLabel:o,showDescription:s}){const a=y2(e),l=Array.isArray(t)?t.map(String):[],c=x.useCallback(u=>{const d=l.includes(u)?l.filter(f=>f!==u):[...l,u];n==null||n(d)},[l,n]);return i.jsx(Pt,{field:e,showLabel:o,showDescription:s,children:i.jsx("div",{className:"flex flex-col gap-[8px]",children:a.map(u=>{const d=l.includes(String(u.value));return i.jsxs("label",{className:T("flex items-center gap-[8px] cursor-pointer text-[14px] text-[#030303]",r&&"cursor-not-allowed opacity-50"),children:[i.jsx("div",{className:T("w-[16px] h-[16px] rounded-[2px] flex items-center justify-center shrink-0 border",re,d?"bg-[#0265FF] border-[#0265FF]":"bg-white border-[#CCCCCC]",!r&&"hover:border-[#0265FF]"),children:d&&i.jsx(b2,{})}),i.jsx("input",{type:"checkbox",checked:d,onChange:()=>c(String(u.value)),disabled:r,className:"sr-only"}),u.label]},u.value)})})})}function aN({field:e,value:t,onChange:n,disabled:r,showLabel:o,showDescription:s}){const a=y2(e);return i.jsx(Pt,{field:e,showLabel:o,showDescription:s,children:i.jsx("div",{className:"flex flex-col gap-[8px]",children:a.map(l=>{const c=String(t)===String(l.value);return i.jsxs("label",{className:T("flex items-center gap-[8px] cursor-pointer text-[14px] text-[#030303]",r&&"cursor-not-allowed opacity-50"),children:[i.jsx("div",{className:T("w-[16px] h-[16px] rounded-full flex items-center justify-center shrink-0 border",re,c?"border-[#0265FF]":"border-[#CCCCCC]",!r&&"hover:border-[#0265FF]"),children:c&&i.jsx("div",{className:"w-[8px] h-[8px] rounded-full bg-[#0265FF]"})}),i.jsx("input",{type:"radio",checked:c,onChange:()=>n==null?void 0:n(l.value),disabled:r,className:"sr-only"}),l.label]},l.value)})})})}function lN(e,t){switch(e){case"user":return t==null?void 0:t.searchUsers;case"dept":return t==null?void 0:t.searchDepts;case"usergroup":return t==null?void 0:t.searchUserGroups;case"deptgroup":return t==null?void 0:t.searchDeptGroups}}function Ts({field:e,value:t,onChange:n,disabled:r,service:o,kind:s,multiple:a=!1,showLabel:l,showDescription:c}){var L,z,ee;const[u,d]=x.useState(!1),[f,p]=x.useState(""),[h,m]=x.useState([]),[C,b]=x.useState(!1),[g,y]=x.useState(""),[w,v]=x.useState({}),[S,j]=x.useState(!1),{portalContainer:E,setTriggerRef:N}=Fs("data-bs-field-value-picker-portal"),O=lN(s,o),P=a?Array.isArray(t)?t.map(String):[]:[],V=new Set(P);x.useEffect(()=>{if(a){if(!Array.isArray(t)||t.length===0){v({});return}o!=null&&o.searchUsers&&s==="user"&&o.searchUsers("",{field:D}).then(M=>{const Y={};M.forEach(ie=>{t.includes(ie.id)&&(Y[ie.id]=ie.name)}),v(Y)})}else{if(!t||t===""){y("");return}o!=null&&o.searchUsers&&s==="user"&&o.searchUsers("",{field:D}).then(M=>{const Y=M.find(ie=>ie.id===t);Y&&y(Y.name)})}},[t,o,s,a]);const D=((L=e.widget)==null?void 0:L.widgetName)||"",F=x.useCallback(async M=>{if(O){b(!0);try{const Y=await O(M,{field:D});m(Y)}finally{b(!1)}}},[O]);x.useEffect(()=>{u&&F(f)},[u,f,F]);const R=x.useCallback(M=>{if(a){const Y=V.has(M.id)?P.filter(ie=>ie!==M.id):[...P,M.id];n==null||n(Y),v(ie=>{if(V.has(M.id)){const K={...ie};return delete K[M.id],K}return{...ie,[M.id]:M.name}})}else n==null||n(M.id),y(M.name),d(!1),p("")},[n,a,P,V]),B=x.useCallback(()=>{a?(n==null||n([]),v({})):(n==null||n(""),y(""))},[n,a]),$=x.useCallback((M,Y)=>{Y.stopPropagation(),n==null||n(P.filter(ie=>ie!==M)),v(ie=>{const K={...ie};return delete K[M],K})},[P,n]),U=x.useCallback(M=>{M.stopPropagation(),n==null||n([]),v({})},[n]),Z=a&&P.length>0,J=Z&&S;return i.jsx(Pt,{field:e,showLabel:l,showDescription:c,children:i.jsxs(ct,{open:u,onOpenChange:d,children:[i.jsx(ut,{asChild:!0,children:i.jsx("button",{ref:N,type:"button",disabled:r,onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),className:T("flex items-center justify-between w-full h-[34px] gap-2.5","bg-white border rounded-[4px]","py-[7px]",(a?Z:g)?"pl-[4px] pr-[10px]":"px-[10px]","text-left cursor-pointer","hover:border-[#0265FF]",r&&"opacity-50 cursor-not-allowed hover:border-[#E0E0E0]",u?"border-[#0265FF]":"border-[#E0E0E0]",re),children:a?Z?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"flex items-center gap-[4px] min-w-0 flex-1 overflow-x-auto scrollbar-hide",children:P.map(M=>i.jsxs("span",{className:"flex items-center gap-[4px] bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px] shrink-0",children:[i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal]",children:w[M]||M}),i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:Y=>$(M,Y),children:i.jsx(Y8,{})})]},M))}),J?i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:U,children:i.jsx(Or,{})}):i.jsx(Cn,{open:u})]}):i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"text-[14px] text-[#999999] leading-[normal] truncate",children:(z=e.description)!=null?z:`请选择${e.label}`}),i.jsx(Cn,{open:u})]}):i.jsxs(i.Fragment,{children:[i.jsx("span",{className:T("truncate",!g&&"text-[#999999]"),children:g||((ee=e.description)!=null?ee:`请选择${e.label}`)}),i.jsxs("div",{className:"flex items-center gap-[4px] shrink-0",children:[!!g&&i.jsx("span",{role:"button",tabIndex:-1,onClick:M=>{M.stopPropagation(),B()},className:"flex items-center justify-center w-[18px] h-[18px] hover:bg-[#EFF0F6] rounded-full",children:i.jsx(XE,{})}),i.jsx(Cn,{open:u})]})]})})}),i.jsxs(nt,{align:"start",sideOffset:4,portalContainer:E,className:"!border-0 rounded-[10px] shadow-[0px_0px_5px_rgba(0,0,0,0.04)] p-[8px]",style:{width:"var(--radix-popover-trigger-width)"},children:[i.jsxs("div",{className:"flex items-center gap-[8px] px-[6px] mb-[4px] h-[34px] bg-[#F6F7FA] rounded-[4px]",children:[i.jsx(S1,{}),i.jsx("input",{type:"text",value:f,onChange:M=>p(M.target.value),placeholder:`搜索${e.label}`,className:"flex-1 bg-transparent text-[14px] text-[#030303] placeholder:text-[#999999] outline-none border-none",autoFocus:!0})]}),i.jsx("div",{className:"flex flex-col gap-0 max-h-[200px] overflow-y-auto",children:C?i.jsx("div",{className:"px-[10px] py-[8px] text-[14px] text-[#999999]",children:"搜索中..."}):h.length===0?i.jsx("div",{className:"px-[10px] py-[8px] text-[14px] text-[#999999]",children:"暂无数据"}):h.map(M=>{const Y=a?V.has(M.id):t===M.id;return i.jsxs("button",{type:"button",onClick:()=>R(M),className:T("flex items-center gap-[10px] h-[34px] px-[10px] rounded-[4px] text-left",Y?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]",re),children:[a&&i.jsx("div",{className:T("w-[14px] h-[14px] rounded-[2px] flex items-center justify-center shrink-0 border",Y?"bg-[#0265FF] border-[#0265FF]":"bg-white border-[#CCCCCC]"),children:Y&&i.jsx(b2,{})}),"avatar"in M&&M.avatar&&i.jsx("img",{src:M.avatar,alt:"",className:"w-[20px] h-[20px] rounded-full"}),i.jsx("span",{className:"text-[14px]",children:M.name})]},M.id)})})]})]})})}function cN({field:e,value:t,onChange:n,disabled:r,service:o,showLabel:s,showDescription:a}){var D;const[l,c]=x.useState(!1),[u,d]=x.useState(""),[f,p]=x.useState([]),[h,m]=x.useState(!1),[C,b]=x.useState({}),[g,y]=x.useState(!1),{portalContainer:w,setTriggerRef:v}=Fs("data-bs-field-value-picker-portal"),S=Array.isArray(t)?t.map(String):[],j=new Set(S);x.useEffect(()=>{l&&(o!=null&&o.searchDistinctValues)&&(m(!0),o.searchDistinctValues(e,u).then(F=>{p(F);const R={};F.forEach(B=>{R[B.value]=B.label}),b(R),m(!1)}))},[l,u,e,o]);const E=x.useCallback(F=>{const R=j.has(F.value)?S.filter(B=>B!==F.value):[...S,F.value];n==null||n(R)},[S,j,n]),N=x.useCallback(F=>{F.stopPropagation(),n==null||n([])},[n]),O=x.useCallback((F,R)=>{R.stopPropagation(),n==null||n(S.filter(B=>B!==F))},[S,n]),P=S.length>0,V=P&&g;return i.jsx(Pt,{field:e,showLabel:s,showDescription:a,children:i.jsxs(ct,{open:l,onOpenChange:c,children:[i.jsx(ut,{asChild:!0,children:i.jsx("button",{ref:v,type:"button",disabled:r,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),className:T("flex items-center justify-between w-full h-[34px] gap-2.5","bg-white border rounded-[4px]","py-[7px]",P?"pl-[4px] pr-[10px]":"px-[10px]","text-left cursor-pointer","hover:border-[#0265FF]",r&&"opacity-50 cursor-not-allowed hover:border-[#E0E0E0]",l?"border-[#0265FF]":"border-[#E0E0E0]",re),children:P?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"flex items-center gap-[4px] min-w-0 flex-1 overflow-x-auto scrollbar-hide",children:S.map(F=>i.jsxs("span",{className:"flex items-center gap-[4px] bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px] shrink-0",children:[i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal]",children:C[F]||F}),i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:R=>O(F,R),children:i.jsx(Y8,{})})]},F))}),V?i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:N,children:i.jsx(Or,{})}):i.jsx(Cn,{open:l})]}):i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"text-[14px] text-[#999999] leading-[normal] truncate",children:(D=e.description)!=null?D:`请输入${e.label}`}),i.jsx(Cn,{open:l})]})})}),i.jsxs(nt,{align:"start",sideOffset:4,portalContainer:w,className:"!border-0 rounded-[10px] shadow-[0px_0px_5px_rgba(0,0,0,0.04)] p-[8px]",style:{width:"var(--radix-popover-trigger-width)"},children:[i.jsxs("div",{className:"flex items-center gap-[8px] px-[6px] mb-[4px] h-[34px] bg-[#F6F7FA] rounded-[4px]",children:[i.jsx(S1,{}),i.jsx("input",{type:"text",value:u,onChange:F=>d(F.target.value),placeholder:"输入关键字搜索",className:"flex-1 bg-transparent text-[14px] text-[#030303] placeholder:text-[#999999] outline-none border-none",autoFocus:!0})]}),i.jsx("div",{className:"flex flex-col gap-0 max-h-[200px] overflow-y-auto",children:h?i.jsx("div",{className:"px-[10px] py-[8px] text-[14px] text-[#999999]",children:"搜索中..."}):f.length===0?i.jsx("div",{className:"px-[10px] py-[8px] text-[14px] text-[#999999]",children:"暂无数据"}):f.map(F=>{const R=j.has(F.value);return i.jsxs("button",{type:"button",onClick:()=>E(F),className:T("flex items-center gap-[10px] h-[34px] px-[10px] rounded-[4px] text-left",R?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]",re),children:[i.jsx("div",{className:T("w-[14px] h-[14px] rounded-[2px] flex items-center justify-center shrink-0 border",R?"bg-[#0265FF] border-[#0265FF]":"bg-white border-[#CCCCCC]"),children:R&&i.jsx(b2,{})}),i.jsx("span",{className:"text-[14px]",children:F.label})]},F.value)})})]})]})})}const K8=Object.keys(xn);function uN({field:e,value:t,onChange:n,disabled:r,showLabel:o,showDescription:s}){var F,R;const[a,l]=x.useState(!1),[c,u]=x.useState(!1),d=x.useRef(null),f=x.useRef(null),p=x.useRef(null),{portalContainer:h,setTriggerRef:m}=Fs("data-bs-field-value-picker-portal"),C=t&&typeof t=="object"&&!Array.isArray(t)?t:{},b=C.province||"",g=C.city||"",y=C.district||"",w=b&&xn[b]?Object.keys(xn[b]):[],v=b&&g&&((F=xn[b])!=null&&F[g])?xn[b][g]:[],S=b?`${b}${g?` ${g}`:""}${y?` ${y}`:""}`:"",j=x.useCallback(B=>{B!==b&&(n==null||n({province:B,city:void 0,district:void 0}),setTimeout(()=>{const $=f.current;$&&($.scrollTop=0)},0))},[n,b]),E=x.useCallback(B=>{B!==g&&(n==null||n({province:b,city:B,district:void 0}),setTimeout(()=>{const $=p.current;$&&($.scrollTop=0)},0))},[n,b,g]),N=x.useCallback(B=>{n==null||n({province:b,city:g,district:B}),l(!1)},[n,b,g]),O=x.useCallback(B=>{B.stopPropagation(),n==null||n({})},[n]),P=x.useCallback(()=>{if(d.current){const B=K8.indexOf(b);B>=0&&(d.current.scrollTop=B*32)}if(f.current){const B=w.indexOf(g);B>=0&&(f.current.scrollTop=B*32)}if(p.current){const B=v.indexOf(y);B>=0&&(p.current.scrollTop=B*32)}},[b,g,y,w,v]);x.useEffect(()=>{a&&P()},[a,P]);const D=!!S&&c;return i.jsx(Pt,{field:e,showLabel:o,showDescription:s,children:i.jsxs(ct,{open:a,onOpenChange:l,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{ref:m,type:"button",disabled:r,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),className:T("flex items-center justify-between gap-[10px]",X8,"text-left cursor-pointer",a?"border-[#0265FF]":"border-[#E0E0E0] hover:border-[#0265FF]"),children:[i.jsx("span",{className:T("truncate",!S&&"text-[#999999]"),children:S||((R=e.description)!=null?R:`请选择${e.label}`)}),D?i.jsx("span",{className:"cursor-pointer flex items-center shrink-0",onClick:O,children:i.jsx(Or,{})}):i.jsx(Cn,{open:a})]})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:h,className:"!border-0 rounded-[10px] shadow-[0px_0px_5px_rgba(0,0,0,0.04)] p-0",style:{width:"520px"},children:i.jsxs("div",{className:"flex h-[280px]",children:[i.jsxs("div",{className:"flex-1 border-r border-[#F0F0F0] flex flex-col min-w-0",children:[i.jsx("div",{className:"h-[34px] px-[12px] flex items-center text-[12px] text-[#999999] bg-[#FAFAFA] shrink-0 border-b border-[#F0F0F0]",children:"省份"}),i.jsx("div",{ref:d,className:"flex-1 overflow-y-auto",children:K8.map(B=>i.jsxs("button",{type:"button",onClick:()=>j(B),className:T("w-full h-[32px] px-[12px] flex items-center justify-between text-left text-[14px]",re,B===b?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]"),children:[i.jsx("span",{className:"truncate",children:B}),xn[B]&&i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0 ml-[4px]",children:i.jsx("path",{d:"M4.5 2.5L8 6L4.5 9.5",stroke:B===b?"#0265FF":"#999999",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})]},B))})]}),i.jsxs("div",{className:"flex-1 border-r border-[#F0F0F0] flex flex-col min-w-0",children:[i.jsx("div",{className:"h-[34px] px-[12px] flex items-center text-[12px] text-[#999999] bg-[#FAFAFA] shrink-0 border-b border-[#F0F0F0]",children:"城市"}),i.jsx("div",{ref:f,className:"flex-1 overflow-y-auto",children:w.length===0?i.jsx("div",{className:"px-[12px] py-[16px] text-[14px] text-[#999999] text-center",children:"请选择省份"}):w.map(B=>{var $;return i.jsxs("button",{type:"button",onClick:()=>E(B),className:T("w-full h-[32px] px-[12px] flex items-center justify-between text-left text-[14px]",re,B===g?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]"),children:[i.jsx("span",{className:"truncate",children:B}),b&&(($=xn[b])==null?void 0:$[B])&&i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0 ml-[4px]",children:i.jsx("path",{d:"M4.5 2.5L8 6L4.5 9.5",stroke:B===g?"#0265FF":"#999999",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})]},B)})})]}),i.jsxs("div",{className:"flex-1 flex flex-col min-w-0",children:[i.jsx("div",{className:"h-[34px] px-[12px] flex items-center text-[12px] text-[#999999] bg-[#FAFAFA] shrink-0 border-b border-[#F0F0F0]",children:"区/县"}),i.jsx("div",{ref:p,className:"flex-1 overflow-y-auto",children:v.length===0?i.jsx("div",{className:"px-[12px] py-[16px] text-[14px] text-[#999999] text-center",children:"请选择城市"}):v.map(B=>i.jsx("button",{type:"button",onClick:()=>N(B),className:T("w-full h-[32px] px-[12px] flex items-center text-left text-[14px]",re,B===y?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]"),children:i.jsx("span",{className:"truncate",children:B})},B))})]})]})})]})})}function dN({field:e}){return i.jsxs("div",{className:"flex items-center gap-[8px] py-[8px]",children:[i.jsx("div",{className:"flex-1 h-px bg-[#E0E0E0]"}),e.label&&i.jsx("span",{className:"text-[12px] text-[#999999] shrink-0",children:e.label}),i.jsx("div",{className:"flex-1 h-px bg-[#E0E0E0]"})]})}function fN({field:e}){return i.jsx("div",{className:"pt-[20px]",children:i.jsx("button",{type:"button",className:T("inline-flex items-center justify-center h-[34px] px-[20px] rounded-[4px]","bg-[#0265FF] text-[14px] text-white","hover:bg-[#0255DF]",re),children:e.label})})}function pN({field:e,showLabel:t,showDescription:n}){var r,o;return i.jsx(Pt,{field:e,showLabel:t,showDescription:n,children:i.jsxs("div",{className:"h-[34px] px-[10px] rounded-[4px] bg-[#F6F7FA] border border-dashed border-[#CCCCCC] text-[14px] text-[#999999] leading-[34px] text-center",children:["子表单字段(",(o=(r=e.widget)==null?void 0:r.widgetName)!=null?o:e.label,")"]})})}const hN="text-[14px] font-bold text-[#030303] leading-[20px]",mN="text-[12px] text-[#999999] leading-[18px]",CN="text-[#FF5631]";function xN(e){var t;return((t=e.widget)==null?void 0:t.allowBlank)===!1}function gN({field:e}){return i.jsxs("label",{className:T(hN,"block mb-[4px]"),children:[xN(e)&&i.jsx("span",{className:CN,children:"*"}),e.label]})}function bN({field:e}){return e.description?i.jsx("p",{className:T(mN,"mb-[6px]"),children:e.description}):null}function Pt({field:e,showLabel:t=!1,showDescription:n=!1,className:r,children:o}){return i.jsxs("div",{className:T("flex flex-col",r),children:[t&&i.jsx(gN,{field:e}),n&&i.jsx(bN,{field:e}),o]})}const w2=e=>{var o;const{field:t,operator:n}=e;switch((o=t.widget)==null?void 0:o.type){case"text":case"sn":return n&&(n==="in"||n==="nin")?i.jsx(cN,{...e}):i.jsx(G8,{...e});case"number":return n==="range"?i.jsx(nN,{...e}):i.jsx(QE,{...e});case"datetime":return n==="range"?i.jsx(rN,{...e}):i.jsx(tN,{...e});case"user":return i.jsx(Ts,{...e,kind:"user",multiple:n==="in"||n==="nin"});case"dept":return i.jsx(Ts,{...e,kind:"dept",multiple:n==="in"||n==="nin"});case"usergroup":return i.jsx(Ts,{...e,kind:"usergroup",multiple:n==="in"||n==="nin"||n==="all"});case"deptgroup":return i.jsx(Ts,{...e,kind:"deptgroup",multiple:n==="in"||n==="nin"||n==="all"});case"combo":case"linkdata":case"linkquery":return i.jsx(sN,{...e});case"combocheck":case"checkboxgroup":return i.jsx(iN,{...e});case"radiogroup":return i.jsx(aN,{...e});case"textarea":return i.jsx(JE,{...e});case"password":return i.jsx(eN,{...e});case"upload":case"image":return i.jsx(oN,{...e});case"address":case"location":return i.jsx(uN,{...e});case"separator":return i.jsx(dN,{field:t});case"button":return i.jsx(fN,{field:t});case"subform":return i.jsx(pN,{field:t,showLabel:e.showLabel,showDescription:e.showDescription});default:return i.jsx(G8,{...e})}};w2.displayName="FieldValueInput";function yN(e){const t=document.createElement("span");t.className="prompt-field-tag";const n=document.createElement("span");n.className="prompt-field-tag-icon",n.innerHTML='<svg width="14" height="14" viewBox="0 0 14 14" fill="none"><rect x="2" y="2" width="10" height="10" rx="2" stroke="#6F829E" stroke-width="1.2"/><path d="M5 5.5H9M5 7.5H8" stroke="#6F829E" stroke-width="1.2" stroke-linecap="round"/></svg>';const r=document.createElement("span");return r.textContent=e,t.appendChild(n),t.appendChild(r),t}function Q8(e,t){var r;const n=t.indexOf(".");if(n>0){const o=t.substring(0,n),s=t.substring(n+1),a=e.find(l=>{var c;return((c=l.widget)==null?void 0:c.widgetName)===o});if((r=a==null?void 0:a.widget)!=null&&r.items){const l=a.widget.items.find(c=>{var u;return"widget"in c&&((u=c.widget)==null?void 0:u.widgetName)===s});if(l)return{widgetName:t,label:l.label}}}else{const o=e.find(s=>{var a;return((a=s.widget)==null?void 0:a.widgetName)===t});if(o)return{widgetName:t,label:o.label}}}function J8(e,t,n){const r=e.getCursor("from");e.replaceSelection("${"+t+"}");const o=e.getCursor(),s=yN(n);s.setAttribute("data-field-key",t),e.markText(r,o,{handleMouseEvents:!0,atomic:!0,replacedWith:s})}function Xr(e){const n=e.getWrapperElement().querySelectorAll(".CodeMirror-line"),r=[];return n.forEach(o=>{let s="";a(o),r.push(s);function a(l){if(l instanceof HTMLElement){const u=l.getAttribute("data-field-key");if(u&&l.classList.contains("prompt-field-tag")){s+="${"+u+"}";return}}const c=Array.from(l.childNodes);for(let u=0;u<c.length;u++){const d=c[u];d.nodeType===Node.TEXT_NODE?s+=d.textContent||"":a(d)}}}),r.join(`
|
|
293
|
-
`).trim()}function eu(e,t,n){if(e.setValue(""),!t){e.refresh();return}const o=t.trim().replace(/\s{2,}/g," ").split(/(\$\{[^${}]*\})/g);for(const s of o){const a=s.match(/^\$\{([^${}]*)\}$/);if(a){const l=Q8(n,a[1]);l?J8(e,l.widgetName,l.label):e.replaceSelection(s)}else e.replaceSelection(s)}e.refresh()}const wN=({fields:e,value:t,defaultValue:n,onChange:r,placeholder:o="示例:放配置时候的提示词内容进行引导说明",className:s,disabled:a=!1})=>{const l=x.useRef(null),c=x.useRef(null),[u,d]=x.useState(!1),[f,p]=x.useState(null),h=x.useRef(null),m=x.useRef(!1),C=x.useRef(e);C.current=e;const b=x.useRef(r);b.current=r,x.useEffect(()=>{var O;const v=l.current;if(!v)return;const S=pu(v,{mode:void 0,lineWrapping:!0,lineNumbers:!1,smartIndent:!1,autofocus:!1,extraKeys:{Enter:P=>{P.replaceSelection(`
|
|
294
|
-
`)}}});c.current=S;const j=(O=t!=null?t:n)!=null?O:"";j&&(m.current=!0,eu(S,j,C.current),m.current=!1),S.on("changes",()=>{var V;if(m.current)return;const P=Xr(S);(V=b.current)==null||V.call(b,P)});const E=S.getWrapperElement(),N=()=>{Xr(S)===""?(E.setAttribute("data-placeholder",o),E.classList.add("cm-empty")):(E.removeAttribute("data-placeholder"),E.classList.remove("cm-empty"))};return S.on("change",N),N(),()=>{const P=S.getWrapperElement();P!=null&&P.parentNode&&P.parentNode.removeChild(P)}},[]);const g=x.useRef(0);x.useEffect(()=>{const v=c.current;if(!v||t===void 0)return;const S=Xr(v),j=g.current===0&&e.length>0;g.current=e.length,(S!==t||j)&&(m.current=!0,eu(v,t,e),m.current=!1)},[t,e]),x.useEffect(()=>{const v=c.current;if(!v)return;const S=v.getWrapperElement();Xr(v)===""&&S.setAttribute("data-placeholder",o)},[o]);const y=x.useCallback((v,S)=>{var O;const j=c.current;if(!j)return;const E=Q8(C.current,S);if(!E)return;j.focus(),m.current=!0,J8(j,E.widgetName,E.label),m.current=!1;const N=Xr(j);(O=b.current)==null||O.call(b,N),d(!1)},[]),w=x.useCallback(v=>{if(h.current=v,!v){p(null);return}const S=v.getRootNode();if(S instanceof ShadowRoot){const j=S.querySelector("[data-bs-prompt-input-portal]");if(j){p(j);return}const E=document.createElement("div");E.setAttribute("data-bs-prompt-input-portal","true"),S.appendChild(E),p(E)}else p(null)},[]);return i.jsxs("div",{className:T("prompt-input-root relative",s),children:[i.jsx("div",{ref:l,className:"prompt-input-codemirror"}),i.jsxs(ct,{open:u,onOpenChange:d,children:[i.jsx(ut,{asChild:!0,children:i.jsx("button",{ref:w,type:"button",disabled:a,className:T("absolute top-[-26px] right-[10px] z-10","text-[14px] text-[#0265ff] leading-[normal]","cursor-pointer bg-transparent border-0","hover:opacity-80",a&&"opacity-50 cursor-not-allowed"),children:"插入字段"})}),i.jsx(nt,{align:"end",sideOffset:4,portalContainer:f,className:"!border-0 !p-0",children:i.jsx(ds,{fields:e,onSelect:y,showTypeBadge:!0})})]}),i.jsx("style",{children:`
|
|
295
|
-
/* ═══════════════════════════════════════════════════════════════
|
|
296
|
-
CodeMirror base styles (inlined from codemirror/lib/codemirror.css)
|
|
297
|
-
═══════════════════════════════════════════════════════════════ */
|
|
298
|
-
.CodeMirror {
|
|
299
|
-
font-family: monospace;
|
|
300
|
-
height: 300px;
|
|
301
|
-
color: black;
|
|
302
|
-
direction: ltr;
|
|
303
|
-
position: relative;
|
|
304
|
-
overflow: hidden;
|
|
305
|
-
background: white;
|
|
306
|
-
}
|
|
307
|
-
.CodeMirror-lines { padding: 4px 0; cursor: text; min-height: 1px; }
|
|
308
|
-
.CodeMirror pre.CodeMirror-line,
|
|
309
|
-
.CodeMirror pre.CodeMirror-line-like {
|
|
310
|
-
padding: 0 4px;
|
|
311
|
-
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
|
312
|
-
border-width: 0;
|
|
313
|
-
background: transparent;
|
|
314
|
-
font-family: inherit;
|
|
315
|
-
font-size: inherit;
|
|
316
|
-
margin: 0;
|
|
317
|
-
white-space: pre;
|
|
318
|
-
word-wrap: normal;
|
|
319
|
-
line-height: inherit;
|
|
320
|
-
color: inherit;
|
|
321
|
-
z-index: 2;
|
|
322
|
-
position: relative;
|
|
323
|
-
overflow: visible;
|
|
324
|
-
-webkit-tap-highlight-color: transparent;
|
|
325
|
-
-webkit-font-variant-ligatures: contextual;
|
|
326
|
-
font-variant-ligatures: contextual;
|
|
327
|
-
}
|
|
328
|
-
.CodeMirror-wrap pre.CodeMirror-line,
|
|
329
|
-
.CodeMirror-wrap pre.CodeMirror-line-like {
|
|
330
|
-
word-wrap: break-word;
|
|
331
|
-
white-space: pre-wrap;
|
|
332
|
-
word-break: normal;
|
|
333
|
-
}
|
|
334
|
-
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { background-color: white; }
|
|
335
|
-
.CodeMirror-gutters {
|
|
336
|
-
border-right: 1px solid #ddd;
|
|
337
|
-
background-color: #f7f7f7;
|
|
338
|
-
white-space: nowrap;
|
|
339
|
-
position: absolute; left: 0; top: 0;
|
|
340
|
-
min-height: 100%;
|
|
341
|
-
z-index: 3;
|
|
342
|
-
}
|
|
343
|
-
.CodeMirror-linenumber {
|
|
344
|
-
padding: 0 3px 0 5px;
|
|
345
|
-
min-width: 20px;
|
|
346
|
-
text-align: right;
|
|
347
|
-
color: #999;
|
|
348
|
-
white-space: nowrap;
|
|
349
|
-
}
|
|
350
|
-
.CodeMirror-guttermarker { color: black; }
|
|
351
|
-
.CodeMirror-guttermarker-subtle { color: #999; }
|
|
352
|
-
.CodeMirror-cursor {
|
|
353
|
-
border-left: 1px solid black;
|
|
354
|
-
border-right: none;
|
|
355
|
-
width: 0;
|
|
356
|
-
position: absolute;
|
|
357
|
-
pointer-events: none;
|
|
358
|
-
}
|
|
359
|
-
.CodeMirror div.CodeMirror-secondarycursor { border-left: 1px solid silver; }
|
|
360
|
-
.cm-fat-cursor .CodeMirror-cursor { width: auto; border: 0 !important; background: #7e7; }
|
|
361
|
-
.cm-fat-cursor div.CodeMirror-cursors { z-index: 1; }
|
|
362
|
-
.cm-fat-cursor .CodeMirror-line::selection,
|
|
363
|
-
.cm-fat-cursor .CodeMirror-line > span::selection,
|
|
364
|
-
.cm-fat-cursor .CodeMirror-line > span > span::selection { background: transparent; }
|
|
365
|
-
.cm-fat-cursor .CodeMirror-line::-moz-selection,
|
|
366
|
-
.cm-fat-cursor .CodeMirror-line > span::-moz-selection,
|
|
367
|
-
.cm-fat-cursor .CodeMirror-line > span > span::-moz-selection { background: transparent; }
|
|
368
|
-
.cm-fat-cursor { caret-color: transparent; }
|
|
369
|
-
@-moz-keyframes blink { 0% {} 50% { background-color: transparent; } 100% {} }
|
|
370
|
-
@-webkit-keyframes blink { 0% {} 50% { background-color: transparent; } 100% {} }
|
|
371
|
-
@keyframes blink { 0% {} 50% { background-color: transparent; } 100% {} }
|
|
372
|
-
.cm-tab { display: inline-block; text-decoration: inherit; }
|
|
373
|
-
.CodeMirror-rulers {
|
|
374
|
-
position: absolute;
|
|
375
|
-
left: 0; right: 0; top: -50px; bottom: 0;
|
|
376
|
-
overflow: hidden;
|
|
377
|
-
}
|
|
378
|
-
.CodeMirror-ruler { border-left: 1px solid #ccc; top: 0; bottom: 0; position: absolute; }
|
|
379
|
-
.cm-s-default .cm-header { color: blue; }
|
|
380
|
-
.cm-s-default .cm-quote { color: #090; }
|
|
381
|
-
.cm-negative { color: #d44; }
|
|
382
|
-
.cm-positive { color: #292; }
|
|
383
|
-
.cm-header, .cm-strong { font-weight: bold; }
|
|
384
|
-
.cm-em { font-style: italic; }
|
|
385
|
-
.cm-link { text-decoration: underline; }
|
|
386
|
-
.cm-strikethrough { text-decoration: line-through; }
|
|
387
|
-
.cm-s-default .cm-keyword { color: #708; }
|
|
388
|
-
.cm-s-default .cm-atom { color: #219; }
|
|
389
|
-
.cm-s-default .cm-number { color: #164; }
|
|
390
|
-
.cm-s-default .cm-def { color: #00f; }
|
|
391
|
-
.cm-s-default .cm-variable-2 { color: #05a; }
|
|
392
|
-
.cm-s-default .cm-variable-3, .cm-s-default .cm-type { color: #085; }
|
|
393
|
-
.cm-s-default .cm-comment { color: #a50; }
|
|
394
|
-
.cm-s-default .cm-string { color: #a11; }
|
|
395
|
-
.cm-s-default .cm-string-2 { color: #f50; }
|
|
396
|
-
.cm-s-default .cm-meta { color: #555; }
|
|
397
|
-
.cm-s-default .cm-qualifier { color: #555; }
|
|
398
|
-
.cm-s-default .cm-builtin { color: #30a; }
|
|
399
|
-
.cm-s-default .cm-bracket { color: #997; }
|
|
400
|
-
.cm-s-default .cm-tag { color: #170; }
|
|
401
|
-
.cm-s-default .cm-attribute { color: #00c; }
|
|
402
|
-
.cm-s-default .cm-hr { color: #999; }
|
|
403
|
-
.cm-s-default .cm-link { color: #00c; }
|
|
404
|
-
.cm-s-default .cm-error { color: #f00; }
|
|
405
|
-
.cm-invalidchar { color: #f00; }
|
|
406
|
-
.CodeMirror-composing { border-bottom: 2px solid; }
|
|
407
|
-
div.CodeMirror span.CodeMirror-matchingbracket { color: #0b0; }
|
|
408
|
-
div.CodeMirror span.CodeMirror-nonmatchingbracket { color: #a22; }
|
|
409
|
-
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
|
410
|
-
.CodeMirror-activeline-background { background: #e8f2ff; }
|
|
411
|
-
.CodeMirror-scroll {
|
|
412
|
-
overflow: scroll !important;
|
|
413
|
-
margin-bottom: -50px; margin-right: -50px;
|
|
414
|
-
padding-bottom: 50px;
|
|
415
|
-
height: 100%;
|
|
416
|
-
outline: none;
|
|
417
|
-
position: relative;
|
|
418
|
-
z-index: 0;
|
|
419
|
-
}
|
|
420
|
-
.CodeMirror-sizer {
|
|
421
|
-
position: relative;
|
|
422
|
-
border-right: 50px solid transparent;
|
|
423
|
-
}
|
|
424
|
-
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
|
425
|
-
position: absolute;
|
|
426
|
-
z-index: 6;
|
|
427
|
-
display: none;
|
|
428
|
-
outline: none;
|
|
429
|
-
}
|
|
430
|
-
.CodeMirror-vscrollbar { right: 0; top: 0; overflow-x: hidden; overflow-y: scroll; }
|
|
431
|
-
.CodeMirror-hscrollbar { bottom: 0; left: 0; overflow-y: hidden; overflow-x: scroll; }
|
|
432
|
-
.CodeMirror-scrollbar-filler { right: 0; bottom: 0; }
|
|
433
|
-
.CodeMirror-gutter-filler { left: 0; bottom: 0; }
|
|
434
|
-
.CodeMirror-gutter {
|
|
435
|
-
white-space: normal;
|
|
436
|
-
height: 100%;
|
|
437
|
-
display: inline-block;
|
|
438
|
-
vertical-align: top;
|
|
439
|
-
margin-bottom: -50px;
|
|
440
|
-
}
|
|
441
|
-
.CodeMirror-gutter-wrapper {
|
|
442
|
-
position: absolute;
|
|
443
|
-
z-index: 4;
|
|
444
|
-
background: none !important;
|
|
445
|
-
border: none !important;
|
|
446
|
-
}
|
|
447
|
-
.CodeMirror-gutter-background { position: absolute; top: 0; bottom: 0; z-index: 4; }
|
|
448
|
-
.CodeMirror-gutter-elt { position: absolute; cursor: default; z-index: 4; }
|
|
449
|
-
.CodeMirror-gutter-wrapper ::selection { background-color: transparent; }
|
|
450
|
-
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent; }
|
|
451
|
-
.CodeMirror-linebackground {
|
|
452
|
-
position: absolute;
|
|
453
|
-
left: 0; right: 0; top: 0; bottom: 0;
|
|
454
|
-
z-index: 0;
|
|
455
|
-
}
|
|
456
|
-
.CodeMirror-linewidget { position: relative; z-index: 2; padding: 0.1px; }
|
|
457
|
-
.CodeMirror-rtl pre { direction: rtl; }
|
|
458
|
-
.CodeMirror-code { outline: none; }
|
|
459
|
-
.CodeMirror-scroll,
|
|
460
|
-
.CodeMirror-sizer,
|
|
461
|
-
.CodeMirror-gutter,
|
|
462
|
-
.CodeMirror-gutters,
|
|
463
|
-
.CodeMirror-linenumber {
|
|
464
|
-
-moz-box-sizing: content-box;
|
|
465
|
-
box-sizing: content-box;
|
|
466
|
-
}
|
|
467
|
-
.CodeMirror-measure {
|
|
468
|
-
position: absolute;
|
|
469
|
-
width: 100%;
|
|
470
|
-
height: 0;
|
|
471
|
-
overflow: hidden;
|
|
472
|
-
visibility: hidden;
|
|
473
|
-
}
|
|
474
|
-
.CodeMirror-measure pre { position: static; }
|
|
475
|
-
div.CodeMirror-cursors {
|
|
476
|
-
visibility: hidden;
|
|
477
|
-
position: relative;
|
|
478
|
-
z-index: 3;
|
|
479
|
-
}
|
|
480
|
-
div.CodeMirror-dragcursors { visibility: visible; }
|
|
481
|
-
.CodeMirror-focused div.CodeMirror-cursors { visibility: visible; }
|
|
482
|
-
.CodeMirror-selected { background: #d9d9d9; }
|
|
483
|
-
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
|
484
|
-
.CodeMirror-crosshair { cursor: crosshair; }
|
|
485
|
-
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
|
486
|
-
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
|
487
|
-
.cm-searching { background-color: #ffa; background-color: rgba(255, 255, 0, .4); }
|
|
488
|
-
.cm-force-border { padding-right: .1px; }
|
|
489
|
-
@media print {
|
|
490
|
-
.CodeMirror div.CodeMirror-cursors { visibility: hidden; }
|
|
491
|
-
}
|
|
492
|
-
.cm-tab-wrap-hack:after { content: ''; }
|
|
493
|
-
span.CodeMirror-selectedtext { background: none; }
|
|
494
|
-
|
|
495
|
-
/* ── Outer wrapper ── */
|
|
496
|
-
.prompt-input-root {
|
|
497
|
-
border: 1px solid #E0E0E0;
|
|
498
|
-
border-radius: 4px;
|
|
499
|
-
min-height: 120px;
|
|
500
|
-
position: relative;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/* ── CodeMirror container ── */
|
|
504
|
-
.prompt-input-codemirror {
|
|
505
|
-
height: 100%;
|
|
506
|
-
min-height: 120px;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
.prompt-input-codemirror .CodeMirror {
|
|
510
|
-
height: 100%;
|
|
511
|
-
min-height: 120px;
|
|
512
|
-
border: 0;
|
|
513
|
-
border-radius: 4px;
|
|
514
|
-
font-family: inherit;
|
|
515
|
-
font-size: 14px;
|
|
516
|
-
line-height: 1.6;
|
|
517
|
-
color: #030303;
|
|
518
|
-
background: transparent;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.prompt-input-codemirror .CodeMirror-scroll {
|
|
522
|
-
min-height: 120px;
|
|
523
|
-
overflow: hidden !important;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.prompt-input-codemirror .CodeMirror-lines {
|
|
527
|
-
padding: 10px 80px 10px 10px;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
.prompt-input-codemirror .CodeMirror pre.CodeMirror-line,
|
|
531
|
-
.prompt-input-codemirror .CodeMirror pre.CodeMirror-line-like {
|
|
532
|
-
padding: 0;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.prompt-input-codemirror .CodeMirror .CodeMirror-cursor {
|
|
536
|
-
border-left: 1px solid #030303;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
/* ── Placeholder ── */
|
|
540
|
-
.prompt-input-codemirror .CodeMirror.cm-empty .CodeMirror-lines::before {
|
|
541
|
-
content: attr(data-placeholder);
|
|
542
|
-
position: absolute;
|
|
543
|
-
left: 10px;
|
|
544
|
-
top: 10px;
|
|
545
|
-
color: #999999;
|
|
546
|
-
font-size: 14px;
|
|
547
|
-
pointer-events: none;
|
|
548
|
-
z-index: 1;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
/* ── Field tag widget ── */
|
|
552
|
-
.prompt-field-tag {
|
|
553
|
-
display: inline-flex;
|
|
554
|
-
align-items: center;
|
|
555
|
-
gap: 6px;
|
|
556
|
-
height: 26px;
|
|
557
|
-
padding: 0 6px;
|
|
558
|
-
background: #EFF0F6;
|
|
559
|
-
border-radius: 4px;
|
|
560
|
-
font-size: 14px;
|
|
561
|
-
margin: 3px 3px;
|
|
562
|
-
line-height: normal;
|
|
563
|
-
color: #000000;
|
|
564
|
-
white-space: nowrap;
|
|
565
|
-
user-select: none;
|
|
566
|
-
vertical-align: middle;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
// .CodeMirror-widget + .CodeMirror-widget > .prompt-field-tag {
|
|
570
|
-
// margin-left: 0;
|
|
571
|
-
// }
|
|
572
|
-
|
|
573
|
-
.CodeMirror-line {
|
|
574
|
-
line-height: 1.4; /* 设置一个符合你字体大小的行高,例如 20px */
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.CodeMirror-cursor {
|
|
578
|
-
height: 1.4em;
|
|
579
|
-
border-left: 1px solid black;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
.prompt-field-tag-icon {
|
|
583
|
-
display: inline-flex;
|
|
584
|
-
align-items: center;
|
|
585
|
-
justify-content: center;
|
|
586
|
-
width: 14px;
|
|
587
|
-
height: 14px;
|
|
588
|
-
flex-shrink: 0;
|
|
589
|
-
}
|
|
590
|
-
`})]})},Kr=({className:e,children:t})=>i.jsx("div",{className:T("flex flex-col h-full w-full",e),children:t}),tu=({className:e,children:t})=>i.jsx("div",{className:T("h-[52px] shrink-0 bg-white border-b border-[#E0E0E0] flex items-center",e),children:t});tu.displayName="AgentHelperMainLayout.TopBar",Kr.TopBar=tu;const nu=({className:e,children:t})=>i.jsx("div",{className:T("flex flex-1 min-h-0",e),children:t});nu.displayName="AgentHelperMainLayout.Main",Kr.Main=nu;const ru=({className:e,children:t})=>i.jsx("div",{className:T("w-[280px] shrink-0 bg-white border-r border-[#E0E0E0] flex flex-col",e),children:t});ru.displayName="AgentHelperMainLayout.SideBar",Kr.SideBar=ru;const ou=({className:e,children:t})=>i.jsx("div",{className:T("flex-1 min-w-0 bg-[#F5F7FA] overflow-auto",e),children:t});ou.displayName="AgentHelperMainLayout.Content",Kr.Content=ou;const su=[{value:"all",label:"所有"},{value:"any",label:"任意"}],vN=({value:e,defaultValue:t="all",onChange:n,disabled:r=!1,className:o})=>{var C,b;const[s,a]=x.useState(!1),[l,c]=x.useState(t),[u,d]=x.useState(null),f=e!==void 0?e:l,p=(b=(C=su.find(g=>g.value===f))==null?void 0:C.label)!=null?b:"",h=x.useCallback(g=>{e===void 0&&c(g),n==null||n(g),a(!1)},[e,n]),m=x.useCallback(g=>{if(!g){d(null);return}const y=g.getRootNode();if(y instanceof ShadowRoot){const w=y.querySelector("[data-bs-quantifier-select-portal]");if(w){d(w);return}const v=document.createElement("div");v.setAttribute("data-bs-quantifier-select-portal","true"),y.appendChild(v),d(v)}else d(null)},[]);return i.jsx("div",{className:T("relative inline-flex",o),children:i.jsxs(ct,{open:s,onOpenChange:a,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("button",{ref:m,type:"button",disabled:r,className:T("flex items-center justify-between gap-[10px]","min-w-[82px] h-[31px] px-[10px]","bg-white border rounded-[4px]","text-left cursor-pointer",s?"border-[#0265FF]":"border-[#E0E0E0] hover:border-[#0265FF]",r&&"opacity-50 cursor-not-allowed hover:border-[#E0E0E0]",re),children:[i.jsx("span",{className:"text-[14px] leading-[normal] text-[#030303] truncate",children:p}),i.jsx("span",{className:T("shrink-0 flex items-center justify-center w-[16px] h-[16px] text-[#666666]",re,s&&"rotate-180"),children:i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:u,className:"!border-0 rounded-[10px] shadow-[0px_0px_5px_rgba(0,0,0,0.04)] p-[4px] min-w-[82px]",children:i.jsx("div",{className:"flex flex-col gap-0",children:su.map(g=>i.jsx("button",{type:"button",onClick:()=>h(g.value),className:T("h-[34px] px-[10px] rounded-[4px] text-left text-[14px] leading-[normal]",f===g.value?"bg-[#F0F6FF] text-[#0265FF]":"text-[#030303] hover:bg-[#EFF0F6]",re),children:g.label},g.value))})})]})})},kN=({targetName:e,quantifier:t,defaultQuantifier:n="all",onQuantifierChange:r,quantifierPrefixStr:o="的数据符合以下",quantifierSuffixStr:s="条件时,触发后续动作",className:a})=>i.jsxs("div",{className:T("flex items-center gap-[10px]",a),children:[i.jsx("span",{className:"text-[14px] leading-[normal] text-[#4D609F] shrink-0 whitespace-nowrap",children:e}),i.jsxs("span",{className:"flex items-center gap-[10px] shrink-0",children:[i.jsx("span",{className:"text-[14px] leading-[normal] text-black whitespace-nowrap",children:o}),i.jsx(vN,{value:t,defaultValue:n,onChange:r}),i.jsx("span",{className:"text-[14px] leading-[normal] text-black whitespace-nowrap",children:s})]})]});function iu(e,t){var n;return(n=t.widget)==null?void 0:n.widgetName}function jN(){return`cond-${Date.now()}-${Math.random().toString(36).slice(2,9)}`}const au=({fields:e,value:t,defaultValue:n,onChange:r,onRemoveClick:o,service:s,disabled:a=!1,className:l})=>{var F,R,B;const c=x.useRef((t==null?void 0:t.id)||(n==null?void 0:n.id)||jN()),[u,d]=x.useState(n==null?void 0:n.field),[f,p]=x.useState(()=>n!=null&&n.field?iu(e,n.field):void 0),[h,m]=x.useState((n==null?void 0:n.operator)||oc((R=(F=n==null?void 0:n.field)==null?void 0:F.widget)==null?void 0:R.type)),[C,b]=x.useState(n==null?void 0:n.value),g=t!==void 0,y=g?t.field:u,w=x.useMemo(()=>g&&t.field?iu(e,t.field):f,[g,t==null?void 0:t.field,e,f]),v=g?t.operator:h,S=g?t.value:C,j=(B=y==null?void 0:y.widget)==null?void 0:B.type,E=x.useMemo(()=>Iw(j),[j]),N=x.useCallback(($,U,Z)=>{r==null||r({id:c.current,field:$,operator:U,value:Z})},[r]),O=x.useCallback(($,U)=>{var J;const Z=oc((J=$.widget)==null?void 0:J.type);g||(d($),p(U),m(Z),b(void 0)),N($,Z,void 0)},[g,N]),P=x.useCallback($=>{const U=$==="empty"||$==="not_empty",Z=$==="range",J=$==="in"||$==="nin"||$==="all";let L;U?L=void 0:Z?L={min:void 0,max:void 0}:J?L=[]:typeof S=="object"&&S!==null&&!Array.isArray(S)?L=void 0:L=S,g||(m($),(U||Z||J)&&b(L)),y&&N(y,$,L)},[g,y,S,N]),V=x.useCallback($=>{g||b($),y&&N(y,v,$)},[g,y,v,N]),D=y!=null&&(v==="empty"||v==="not_empty");return i.jsxs("div",{className:T("flex items-center gap-[10px]",l),children:[i.jsx(pl,{fields:e,value:w,onChange:O,placeholder:"请选择字段",searchPlaceholder:"输入字段名称来搜索",disabled:a,showTypeBadge:!0,className:"w-[200px] shrink-0"}),i.jsx(Pc,{value:v,onChange:P,operators:E,borderless:!0,disabled:a,className:"w-[120px] shrink-0"}),D?i.jsx("div",{className:"flex-1 min-w-0 h-[34px]"}):y?i.jsx("div",{className:"flex-1 min-w-0",children:i.jsx(w2,{field:y,value:S,onChange:V,operator:v,service:s,disabled:a})}):i.jsx("div",{className:T("flex-1 min-w-0 flex items-center","bg-white border border-[#E0E0E0] rounded-[4px]","h-[34px] px-[10px] py-[7px]"),children:i.jsx("span",{className:"text-[14px] leading-[normal] text-[#999] truncate",children:"请选择"})}),o&&i.jsx("button",{type:"button",onClick:o,disabled:a,className:T("shrink-0 flex items-center justify-center size-[16px]","text-[#999] hover:text-[#FF5631]",a&&"opacity-50 cursor-not-allowed",re),children:i.jsx(Do,{})})]})};au.displayName="ConditionItem";const lu=({fields:e,value:t,defaultValue:n,onChange:r,service:o,disabled:s=!1,className:a})=>{const c=t!==void 0?t:n,u=x.useCallback((f,p)=>{if(!c)return;const h=[...c.items];h[f]=p,r==null||r({...c,items:h})},[c,r]),d=x.useCallback(f=>{if(!c)return;const p=c.items.filter((h,m)=>m!==f);r==null||r({...c,items:p})},[c,r]);return!c||c.items.length===0?null:i.jsx("div",{className:T("bg-[#f5f5f5] border border-[#e0e0e0] border-dashed","rounded-[4px] p-[10px]","flex flex-col gap-[10px]",a),children:c.items.map((f,p)=>i.jsx(au,{fields:e,value:f,onChange:h=>u(p,h),onRemoveClick:()=>d(p),service:o,disabled:s},f.id))})};lu.displayName="ConditionGroup";function SN(){return`cond-${Date.now()}-${Math.random().toString(36).slice(2,9)}`}function LN(){return{id:SN(),field:void 0,operator:"eq",value:void 0}}const MN=["button","separator","subform","upload"],v2=({targetName:e,fields:t,value:n,defaultValue:r,onChange:o,service:s,disabled:a=!1,className:l})=>{const c=x.useRef(r||{targetName:e,quantifier:"all",items:[]}).current,u=t.filter(w=>{var v;return!MN.includes((v=w.widget)==null?void 0:v.type)}),[d,f]=x.useState(c),p=n!==void 0,h=p?n:d,m=x.useCallback(w=>{p||f(w),o==null||o(w)},[p,o]),C=x.useCallback(w=>{m({...h,quantifier:w})},[h,m]),b=x.useCallback(()=>{const w=LN();m({...h,items:[...h.items,w]})},[h,m]),g=x.useCallback(()=>{m({...h,items:[]})},[h,m]),y=h.items.length>=3;return i.jsxs("div",{className:T("flex flex-col gap-[10px]",l),children:[i.jsx(kN,{targetName:e,quantifier:h.quantifier,onQuantifierChange:C}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("button",{type:"button",onClick:b,disabled:a,className:T("flex items-center gap-[6px]","text-[14px] leading-[normal] text-[#0265FF]","hover:opacity-80",a&&"opacity-50 cursor-not-allowed",re),children:[i.jsx(l3,{}),"添加条件"]}),y&&i.jsx("button",{type:"button",onClick:g,disabled:a,className:T("text-[14px] leading-[normal] text-[#FF5631]","hover:opacity-80",a&&"opacity-50 cursor-not-allowed",re),children:"删除全部"})]}),i.jsx(lu,{fields:u,value:h,onChange:m,service:s,disabled:a})]})};v2.displayName="ConditionInput";function EN(e,t){if(e)try{return{...Bw(e),targetName:t}}catch(n){}return{targetName:t,quantifier:"all",items:[]}}function NN(e){return sc({quantifier:"all",items:[]})}const cu=({targetName:e,fields:t,value:n,defaultValue:r,onChange:o,service:s,disabled:a=!1,className:l})=>{const c=x.useRef(r!=null?r:NN()).current,[u,d]=x.useState(c),f=n!==void 0,h=EN(f?n:u,e),m=x.useCallback(C=>{const b=sc({...C});f||d(b),o==null||o(b)},[f,o,e]);return i.jsx(v2,{targetName:e,fields:t,value:h,onChange:m,service:s,disabled:a,className:l})};cu.displayName="BsConditionInput";const uu=()=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:"shrink-0",children:i.jsx("circle",{cx:"8",cy:"8",r:"7.5",stroke:"#CCCCCC"})}),du=()=>i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:"shrink-0",children:[i.jsx("circle",{cx:"8",cy:"8",r:"7.5",stroke:"#0265FF"}),i.jsx("circle",{cx:"8",cy:"8",r:"4",fill:"#0265FF"})]}),FN=()=>i.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:"shrink-0",children:i.jsx("path",{d:"M3 3L9 9M9 3L3 9",stroke:"#999999",strokeWidth:"1.2",strokeLinecap:"round"})}),TN=({open:e})=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:T("shrink-0",re),style:{transform:e?"rotate(180deg)":"rotate(0deg)"},children:i.jsx("path",{d:"M4 6L8 10L12 6",stroke:"#666666",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})});function _N({label:e,onRemove:t}){return i.jsxs("span",{className:T("bg-[#EEEEEE] rounded-[2px] h-[26px] px-[6px]","flex items-center gap-[4px] shrink-0"),children:[i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal] whitespace-nowrap",children:e}),i.jsx("span",{onClick:n=>{n.stopPropagation(),t==null||t()},className:"flex items-center cursor-pointer",children:i.jsx(FN,{})})]})}const AN=({fields:e,value:t,defaultValue:n,onChange:r,disabled:o=!1,className:s})=>{const[a,l]=x.useState(!1),[c,u]=x.useState(n!=null?n:"edit_any_field"),[d,f]=x.useState(null),p=x.useRef(null),h=t!==void 0?t:c,m=typeof h=="string"?"any":"specified",C=m==="specified"?h.fields:[],b=x.useCallback(E=>{t===void 0&&u(E),r==null||r(E)},[t,r]),g=x.useCallback(E=>{o||b(E==="any"?"edit_any_field":{type:"edit_any_specified_field",fields:C})},[o,b,C]),y=x.useCallback((E,N)=>{if(C.some(P=>P.label===E.label)){l(!1);return}const O=[...C,E];b({type:"edit_any_specified_field",fields:O}),l(!1)},[b,C]),w=x.useCallback(E=>{const N=C.filter((O,P)=>P!==E);b({type:"edit_any_specified_field",fields:N})},[b,C]),v=x.useCallback(E=>{if(p.current=E,!E){f(null);return}const N=E.getRootNode();if(N instanceof ShadowRoot){const O=N.querySelector("[data-bs-field-edit-preference-portal]");if(O){f(O);return}const P=document.createElement("div");P.setAttribute("data-bs-field-edit-preference-portal","true"),N.appendChild(P),f(P)}else f(null)},[]),S=m==="any",j=m==="specified";return i.jsxs("div",{className:T("inline-flex items-start gap-[30px] min-w-0 w-full",o&&"opacity-50 cursor-not-allowed",s),children:[i.jsxs("button",{type:"button",disabled:o,onClick:()=>g("any"),className:T("flex items-center gap-[6px] h-[34px] pl-[10px] pr-[20px] shrink-0 w-[200px]","bg-white border rounded-[4px]","shrink-0","text-left cursor-pointer",S?"border-[#0265FF]":"border-[#E0E0E0]",re),children:[S?i.jsx(du,{}):i.jsx(uu,{}),i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal] whitespace-nowrap",children:"任意字段"})]}),i.jsxs("div",{className:T("flex items-stretch bg-white border rounded-[4px] min-w-0 flex-1","grow min-w-0",j?"border-[#0265FF]":"border-[#E0E0E0]",re),children:[i.jsxs("button",{type:"button",disabled:o,onClick:()=>g("specified"),className:T("flex items-center gap-[6px] h-[32px] p-[10px] shrink-0 w-[200px]","text-left cursor-pointer bg-white rounded-[4px]",re),children:[j?i.jsx(du,{}):i.jsx(uu,{}),i.jsx("span",{className:"text-[14px] text-[#030303] leading-[normal] whitespace-nowrap",children:"任意指定字段"})]}),i.jsx("div",{className:"flex items-center gap-[4px] pl-[4px] pr-[10px] py-[7px] min-w-0 flex-1 bg-white rounded-br-[4px] rounded-tr-[4px] h-[32px] border-l border-[#E0E0E0]",children:i.jsxs(ct,{open:a,onOpenChange:l,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("div",{className:"flex items-center gap-[4px] min-w-0 flex-1",children:[i.jsxs("div",{className:"flex items-center gap-[4px] min-w-0 flex-1 overflow-x-auto scrollbar-hide",onClick:()=>{o||l(()=>!a)},children:[j&&C.map((E,N)=>i.jsx(_N,{label:E.label,onRemove:()=>w(N)},N)),j&&C.length===0&&i.jsx("span",{className:"text-[14px] text-[#999999] leading-[normal] whitespace-nowrap",children:"请选择字段"}),!j&&i.jsx("span",{className:"text-[14px] text-[#999999] leading-[normal] whitespace-nowrap",children:"请选择字段"})]}),i.jsx("button",{ref:v,type:"button",disabled:o,className:T("flex items-center justify-center shrink-0","w-[16px] h-[16px]","cursor-pointer",o&&"cursor-not-allowed"),children:i.jsx(TN,{open:a})})]})}),i.jsx(nt,{align:"start",sideOffset:4,portalContainer:d,className:"!border-0 !p-0",style:{minWidth:240},children:i.jsx(ds,{fields:e,onSelect:y,searchPlaceholder:"输入字段名称来搜索",showTypeBadge:!0})})]})})]})]})},DN=()=>i.jsxs("svg",{width:"226",height:"140",viewBox:"0 0 226 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i.jsx("mask",{id:"mask0_27318_12913",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"104",width:"224",height:"26",children:i.jsx("rect",{x:"2",y:"104",width:"224",height:"26",fill:"white"})}),i.jsx("g",{mask:"url(#mask0_27318_12913)",children:i.jsx("ellipse",{cx:"114",cy:"125.388",rx:"112",ry:"21.3877",fill:"url(#paint0_linear_27318_12913)"})}),i.jsx("ellipse",{cx:"180.5",cy:"88",rx:"9.5",ry:"13",fill:"url(#paint1_linear_27318_12913)"}),i.jsx("path",{d:"M180.174 115.619V76.75L181.313 115.619H180.174Z",fill:"#D5DDF4"}),i.jsx("path",{d:"M180.335 98.452L174.316 92.9456L180.335 96.6705V98.452Z",fill:"#D5DDF4"}),i.jsx("path",{d:"M183.263 87.1152L180.335 90.3543V91.488L183.263 87.1152Z",fill:"#D5DDF4"}),i.jsx("path",{d:"M180.361 114.658L151.396 115.619H180.361V114.658Z",fill:"url(#paint2_linear_27318_12913)"}),i.jsx("ellipse",{cx:"57.0939",cy:"96.3957",rx:"5.5",ry:"7",transform:"rotate(-4.32208 57.0939 96.3957)",fill:"url(#paint3_linear_27318_12913)"}),i.jsx("path",{d:"M57.9574 110.568L56.5527 91.9824L56.609 110.429L57.9574 110.568Z",fill:"#D5DDF4"}),i.jsx("path",{d:"M57.2532 102.29L59.9123 99.4604L57.1893 101.444L57.2532 102.29Z",fill:"#D5DDF4"}),i.jsx("path",{d:"M55.4569 97.0143L56.9627 98.4465L57.0034 98.9846L55.4569 97.0143Z",fill:"#D5DDF4"}),i.jsx("path",{d:"M57.7578 109.621L25.897 112.752L57.8303 110.58L57.7578 109.621Z",fill:"url(#paint4_linear_27318_12913)"}),i.jsx("g",{filter:"url(#filter0_f_27318_12913)",children:i.jsx("ellipse",{cx:"114",cy:"105",rx:"32",ry:"3",fill:"#D9E3FF"})}),i.jsx("path",{d:"M100.076 41.8107C99.8672 41.319 99.9595 40.8175 100.317 40.4996C101.071 39.8294 102.543 40.2799 102.984 41.3161L108.731 54.7977C109.054 55.5548 108.657 56.2807 107.846 56.418C107.036 56.5551 106.119 56.053 105.798 55.2965L100.076 41.8107Z",fill:"#90ACF8"}),i.jsx("path",{d:"M100.076 41.8107C99.8672 41.319 99.9595 40.8175 100.317 40.4996C101.071 39.8294 102.543 40.2799 102.984 41.3161L108.731 54.7977C109.054 55.5548 108.657 56.2807 107.846 56.418C107.036 56.5551 106.119 56.053 105.798 55.2965L100.076 41.8107Z",fill:"#90ACF8",fillOpacity:"0.2"}),i.jsx("path",{d:"M128.076 41.8107C127.867 41.319 127.96 40.8175 128.317 40.4996C129.071 39.8294 130.543 40.2799 130.984 41.3161L136.731 54.7977C137.054 55.5548 136.657 56.2807 135.846 56.418C135.036 56.5551 134.119 56.053 133.798 55.2965L128.076 41.8107Z",fill:"#90ACF8"}),i.jsx("path",{d:"M128.076 41.8107C127.867 41.319 127.96 40.8175 128.317 40.4996C129.071 39.8294 130.543 40.2799 130.984 41.3161L136.731 54.7977C137.054 55.5548 136.657 56.2807 135.846 56.418C135.036 56.5551 134.119 56.053 133.798 55.2965L128.076 41.8107Z",fill:"#90ACF8",fillOpacity:"0.2"}),i.jsx("rect",{x:"83",y:"49.0039",width:"62",height:"56",rx:"6",fill:"#A1BCFF"}),i.jsx("path",{d:"M83 55.0039C83 51.6902 85.6863 49.0039 89 49.0039H139C142.314 49.0039 145 51.6902 145 55.0039V99.0039C145 102.318 142.314 105.004 139 105.004H89C85.6863 105.004 83 102.318 83 99.0039V55.0039Z",fill:"#6590F8",fillOpacity:"0.2"}),i.jsx("rect",{x:"85",y:"51.0039",width:"58",height:"52",rx:"6",fill:"white"}),i.jsx("mask",{id:"mask1_27318_12913",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"85",y:"51",width:"58",height:"53",children:i.jsx("rect",{x:"85",y:"51.0039",width:"58",height:"52",rx:"6",fill:"white"})}),i.jsx("g",{mask:"url(#mask1_27318_12913)",children:i.jsx("g",{filter:"url(#filter4_f_27318_12913)",children:i.jsx("circle",{cx:"94.5",cy:"50.5039",r:"22.5",fill:"#B9FAFF"})})}),i.jsx("path",{d:"M99.2387 41.3748C99.5599 40.6177 100.478 40.1151 101.289 40.2524C102.1 40.3896 102.496 41.1146 102.175 41.8717L96.5177 55.2053C96.1965 55.9624 95.2787 56.4649 94.4678 56.3277C93.6569 56.1905 93.2599 55.4655 93.5811 54.7084L99.2387 41.3748Z",fill:"#90ACF8"}),i.jsx("path",{d:"M99.2387 41.3748C99.5599 40.6177 100.478 40.1151 101.289 40.2524C102.1 40.3896 102.496 41.1146 102.175 41.8717L96.5177 55.2053C96.1965 55.9624 95.2787 56.4649 94.4678 56.3277C93.6569 56.1905 93.2599 55.4655 93.5811 54.7084L99.2387 41.3748Z",fill:"#90ACF8",fillOpacity:"0.2"}),i.jsx("path",{d:"M127.239 41.3748C127.56 40.6177 128.478 40.1151 129.289 40.2524C130.1 40.3896 130.496 41.1146 130.175 41.8717L124.518 55.2053C124.196 55.9624 123.279 56.4649 122.468 56.3277C121.657 56.1905 121.26 55.4655 121.581 54.7084L127.239 41.3748Z",fill:"#90ACF8"}),i.jsx("path",{d:"M127.239 41.3748C127.56 40.6177 128.478 40.1151 129.289 40.2524C130.1 40.3896 130.496 41.1146 130.175 41.8717L124.518 55.2053C124.196 55.9624 123.279 56.4649 122.468 56.3277C121.657 56.1905 121.26 55.4655 121.581 54.7084L127.239 41.3748Z",fill:"#90ACF8",fillOpacity:"0.2"}),i.jsx("path",{d:"M93 72C95.5455 72 122.061 72 135 72",stroke:"#CEDCF6",strokeWidth:"0.5"}),i.jsx("path",{d:"M93 78C95.5455 78 122.061 78 135 78",stroke:"#CEDCF6",strokeWidth:"0.5"}),i.jsx("path",{d:"M93 84C95.5455 84 122.061 84 135 84",stroke:"#CEDCF6",strokeWidth:"0.5"}),i.jsx("path",{d:"M93 90C95.5455 90 122.061 90 135 90",stroke:"#CEDCF6",strokeWidth:"0.5"}),i.jsx("path",{d:"M93 65C93 63.8954 93.8954 63 95 63H133C134.105 63 135 63.8954 135 65V67H93V65Z",fill:"#90ACF8"}),i.jsx("path",{d:"M81.1403 34.5888C79.9314 33.9913 77.705 34.2123 77.705 34.2123C77.705 34.2123 78.8677 36.5458 80.2271 37.3255C81.4631 38.0345 83.8153 38.0059 83.8153 38.0059C83.8153 38.0059 82.6624 35.3412 81.1403 34.5888Z",fill:"url(#paint5_linear_27318_12913)"}),i.jsx("path",{d:"M87.2808 35.0187C87.3779 34.2182 86.8061 33.009 86.8061 33.009C86.8061 33.009 85.7135 34.1317 85.5431 35.0534C85.3882 35.8916 85.876 37.2102 85.876 37.2102C85.876 37.2102 87.1586 36.0266 87.2808 35.0187Z",fill:"url(#paint6_linear_27318_12913)"}),i.jsx("path",{d:"M153.928 47.3664C156.181 46.1202 158.244 42.3936 158.244 42.3936C158.244 42.3936 153.297 41.6869 150.592 42.9715C148.133 44.1394 145.63 47.8547 145.63 47.8547C145.63 47.8547 151.09 48.9356 153.928 47.3664Z",fill:"url(#paint7_linear_27318_12913)"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M153.637 76.3923L155.699 72.8501L157.686 76.4173L153.637 76.3923ZM153.367 88.8968L153.492 76.9325L157.821 76.9591L157.696 88.9234L153.367 88.8968ZM157.667 91.6253C157.661 92.2343 157.202 92.7251 156.642 92.7217L154.342 92.7084C153.782 92.7049 153.333 92.2083 153.339 91.5994L153.362 89.4388L157.691 89.4654L157.667 91.6253Z",fill:"url(#paint8_linear_27318_12913)"}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M153.637 76.3923L155.699 72.8501L157.686 76.4173L153.637 76.3923ZM153.367 88.8968L153.492 76.9325L157.821 76.9591L157.696 88.9234L153.367 88.8968ZM157.667 91.6253C157.661 92.2343 157.202 92.7251 156.642 92.7217L154.342 92.7084C153.782 92.7049 153.333 92.2083 153.339 91.5994L153.362 89.4388L157.691 89.4654L157.667 91.6253Z",fill:"url(#paint9_linear_27318_12913)",fillOpacity:"0.2"}),i.jsxs("defs",{children:[i.jsxs("filter",{id:"filter0_f_27318_12913",x:"78",y:"98",width:"72",height:"14",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[i.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),i.jsx("feGaussianBlur",{stdDeviation:"2",result:"effect1_foregroundBlur_27318_12913"})]}),i.jsxs("filter",{id:"filter4_f_27318_12913",x:"8",y:"-35.9961",width:"173",height:"173",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[i.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),i.jsx("feGaussianBlur",{stdDeviation:"32",result:"effect1_foregroundBlur_27318_12913"})]}),i.jsxs("linearGradient",{id:"paint0_linear_27318_12913",x1:"114",y1:"104",x2:"114",y2:"125.628",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#E6EEFF"}),i.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),i.jsxs("linearGradient",{id:"paint1_linear_27318_12913",x1:"180.5",y1:"75",x2:"180.5",y2:"101",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#E7EFFF"}),i.jsx("stop",{offset:"1",stopColor:"#F3F7FD"})]}),i.jsxs("linearGradient",{id:"paint2_linear_27318_12913",x1:"180.361",y1:"115.139",x2:"151.396",y2:"115.139",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#D5DDF4"}),i.jsx("stop",{offset:"1",stopColor:"#EDF2FF"})]}),i.jsxs("linearGradient",{id:"paint3_linear_27318_12913",x1:"57.0939",y1:"89.3957",x2:"57.0939",y2:"103.396",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#E7EFFF"}),i.jsx("stop",{offset:"1",stopColor:"#F3F7FD"})]}),i.jsxs("linearGradient",{id:"paint4_linear_27318_12913",x1:"57.5801",y1:"109.876",x2:"25.8608",y2:"112.273",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#D5DDF4"}),i.jsx("stop",{offset:"1",stopColor:"#EDF2FF"})]}),i.jsxs("linearGradient",{id:"paint5_linear_27318_12913",x1:"80.3215",y1:"37.4237",x2:"81.2554",y2:"34.6",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#DBE6FF"}),i.jsx("stop",{offset:"1",stopColor:"#F1F5FF"})]}),i.jsxs("linearGradient",{id:"paint6_linear_27318_12913",x1:"85.5063",y1:"35.1263",x2:"87.2977",y2:"35.0905",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#DBE6FF"}),i.jsx("stop",{offset:"1",stopColor:"#F1F5FF"})]}),i.jsxs("linearGradient",{id:"paint7_linear_27318_12913",x1:"150.335",y1:"43.013",x2:"153.754",y2:"47.5582",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#DBE6FF"}),i.jsx("stop",{offset:"1",stopColor:"#F1F5FF"})]}),i.jsxs("linearGradient",{id:"paint8_linear_27318_12913",x1:"151.15",y1:"98.5161",x2:"150.2",y2:"78.1749",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#6893F9"}),i.jsx("stop",{offset:"1",stopColor:"#92B3FD"})]}),i.jsxs("linearGradient",{id:"paint9_linear_27318_12913",x1:"151.15",y1:"98.5161",x2:"150.2",y2:"78.1749",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#6893F9"}),i.jsx("stop",{offset:"1",stopColor:"#92B3FD"})]})]})]});function ON({columns:e,data:t,emptyText:n="暂无数据",emptyIcon:r,className:o,tableOptions:s}){const a=Yn.useReactTable({columns:e,data:t,getCoreRowModel:Yn.getCoreRowModel(),...s}),l=a.getHeaderGroups(),c=a.getRowModel().rows,u=t.length===0;return i.jsx("div",{className:T("rounded-[10px] border border-[#e0e0e0] overflow-hidden bg-white",o),children:i.jsxs("table",{className:"w-full h-full border-collapse",children:[i.jsx("thead",{children:l.map(d=>i.jsx("tr",{children:d.headers.map((f,p)=>i.jsx("th",{className:T("bg-[#f5f7fa] h-[34px] px-[10px] text-left text-[14px] font-normal text-[#030303] border-b border-[#e0e0e0] align-middle whitespace-nowrap",p!==0&&"border-l border-[#e0e0e0]"),style:{width:f.getSize()!==150?f.getSize():void 0},children:Yn.flexRender(f.column.columnDef.header,f.getContext())},f.id))},d.id))}),i.jsx("tbody",{children:u?i.jsx("tr",{children:i.jsx("td",{colSpan:e.length,className:"py-[60px] text-center align-middle",children:i.jsxs("div",{className:"flex flex-col items-center gap-[12px]",children:[r||i.jsx(DN,{}),i.jsx("span",{className:"text-[14px] text-[#999]",children:n})]})})}):c.map(d=>i.jsx("tr",{children:d.getVisibleCells().map((f,p)=>i.jsx("td",{className:T("p-[10px] text-[14px] text-[#030303]",p!==0&&"border-l border-[#e0e0e0]","border-b border-[#e0e0e0]"),children:Yn.flexRender(f.column.columnDef.cell,f.getContext())},f.id))},d.id))})]})})}function PN({value:e,onChange:t,className:n}){const[r,o]=x.useState(!1),s=x.useCallback(a=>{t==null||t(a),a!=null&&a.from&&(a!=null&&a.to)&&o(!1)},[t]);return i.jsxs(ct,{open:r,onOpenChange:o,children:[i.jsx(ut,{asChild:!0,children:i.jsxs("div",{className:T("flex items-center h-[34px] rounded-[4px] bg-white border border-[#e0e0e0] pl-[2px] pr-[10px] py-[2px] cursor-pointer","hover:border-[#0265FF]",r&&"border-[#0265FF]",n),children:[i.jsxs("div",{className:"flex flex-1 items-center min-w-0",children:[i.jsx("div",{className:"flex-1 flex items-center justify-center h-[30px] px-[10px] py-[7px] rounded-[4px] min-w-0",children:i.jsx("span",{className:T("flex-1 text-[14px] leading-[normal] truncate",e!=null&&e.from?"text-[#030303]":"text-[#999999]"),children:e!=null&&e.from?cn(e.from,"yyyy-MM-dd"):"开始日期"})}),i.jsx("div",{className:"shrink-0 flex items-center justify-center w-[12px] h-[30px]",children:i.jsx("span",{className:"text-[14px] text-[#030303] whitespace-nowrap leading-[normal]",children:"~"})}),i.jsx("div",{className:"flex-1 flex items-center justify-center h-[30px] px-[10px] py-[7px] rounded-[4px] min-w-0",children:i.jsx("span",{className:T("flex-1 text-[14px] leading-[normal] truncate",e!=null&&e.to?"text-[#030303]":"text-[#999999]"),children:e!=null&&e.to?cn(e.to,"yyyy-MM-dd"):"结束日期"})})]}),i.jsx(zs,{className:"shrink-0 size-[16px] text-[#999999]"})]})}),i.jsx(nt,{className:"w-auto p-0",align:"start",children:i.jsx(d7,{mode:"range",selected:e,onSelect:s,numberOfMonths:2})})]})}const IN=[{value:"universal",label:"通用型"},{value:"form_field",label:"表单字段触发"},{value:"form_action",label:"表单动作触发"},{value:"form_flow_node",label:"表单流程节点触发"},{value:"scheduler",label:"计划任务触发"}];function HN({value:e,onChange:t,onFilter:n,execUserOptions:r=[],execResultOptions:o=[],className:s}){var B,$,U;const[a,l]=x.useState(e==null?void 0:e.startDate),[c,u]=x.useState(e==null?void 0:e.endDate),[d,f]=x.useState((B=e==null?void 0:e.execUserId)!=null?B:"all"),[p,h]=x.useState(($=e==null?void 0:e.triggerType)!=null?$:"all"),[m,C]=x.useState((U=e==null?void 0:e.execResult)!=null?U:"all"),b=x.useCallback(Z=>{const J=Z!=null?Z:void 0;l(J),t==null||t({startDate:J,endDate:c,execUserId:d,triggerType:p==="all"?void 0:p,execResult:m==="all"?void 0:m})},[t,d,p,m,c]),g=x.useCallback(Z=>{const J=Z!=null?Z:void 0;u(J),t==null||t({startDate:a,endDate:J,execUserId:d,triggerType:p==="all"?void 0:p,execResult:m==="all"?void 0:m})},[t,d,p,m,a]),y=x.useCallback(Z=>{f(Z),t==null||t({startDate:a,endDate:c,execUserId:Z,triggerType:p==="all"?void 0:p,execResult:m==="all"?void 0:m})},[t,a,c,p,m]),w=x.useCallback(Z=>{h(Z),t==null||t({startDate:a,endDate:c,execUserId:d,triggerType:Z==="all"?void 0:Z,execResult:m==="all"?void 0:m})},[t,a,c,d,m]),v=x.useCallback(Z=>{C(Z),t==null||t({startDate:a,endDate:c,execUserId:d,triggerType:p==="all"?void 0:p,execResult:Z==="all"?void 0:Z})},[t,a,c,d,p]),S=x.useCallback(()=>{n==null||n({startDate:a,endDate:c,execUserId:d==="all"?void 0:d,triggerType:p==="all"?void 0:p,execResult:m==="all"?void 0:m})},[n,a,c,d,p,m]),j=[{value:"all",label:"全部"},...r],E=[{value:"all",label:"全部"},...o],N=[{value:"all",label:"全部"},...IN],{portalContainer:O,setTriggerRef:P}=U1("data-bs-exec-user-select-portal"),{portalContainer:V,setTriggerRef:D}=U1("data-bs-trigger-type-select-portal"),{portalContainer:F,setTriggerRef:R}=U1("data-bs-exec-result-select-portal");return i.jsxs("div",{className:T("flex items-start gap-[22px]",s),children:[i.jsxs("div",{className:"shrink-0 flex items-center gap-[10px] w-[426px]",children:[i.jsx("span",{className:"shrink-0 text-[14px] text-[#030303] leading-[normal] whitespace-nowrap",children:"执行时间"}),i.jsx(q1,{value:a,onChange:b,placeholder:"开始日期",className:"flex-1 min-w-0",format:"yyyy-MM-dd HH:mm:ss"}),i.jsx("span",{className:"shrink-0 text-[14px] text-[#030303] leading-[normal]",children:"~"}),i.jsx(q1,{value:c,onChange:g,placeholder:"结束日期",className:"flex-1 min-w-0",format:"yyyy-MM-dd HH:mm:ss"})]}),i.jsxs("div",{className:"flex-1 min-w-[120px] flex items-center gap-[10px]",children:[i.jsx("span",{className:"shrink-0 text-[14px] text-[#030303] leading-[normal] whitespace-nowrap",children:"执行人"}),i.jsxs(L1,{value:d,onValueChange:y,children:[i.jsx(u1,{className:"flex-1 min-w-0",children:i.jsx(M1,{placeholder:"请输入",ref:P})}),i.jsx(d1,{container:O,children:j.map(Z=>i.jsx(f1,{value:Z.value,children:Z.label},Z.value))})]})]}),i.jsxs("div",{className:"flex-1 min-w-[120px] flex items-center gap-[10px]",children:[i.jsx("span",{className:"shrink-0 text-[14px] text-[#030303] leading-[normal] whitespace-nowrap",children:"触发类型"}),i.jsxs(L1,{value:p,onValueChange:w,children:[i.jsx(u1,{className:"flex-1 min-w-0",children:i.jsx(M1,{placeholder:"全部",ref:D})}),i.jsx(d1,{container:V,children:N.map(Z=>i.jsx(f1,{value:Z.value,children:Z.label},Z.value))})]})]}),i.jsxs("div",{className:"shrink-0 flex items-center gap-[10px] w-[280px]",children:[i.jsx("span",{className:"shrink-0 text-[14px] text-[#030303] leading-[normal] whitespace-nowrap",children:"执行结果"}),i.jsxs(L1,{value:m,onValueChange:v,children:[i.jsx(u1,{className:"flex-1 min-w-0",children:i.jsx(M1,{placeholder:"请输入",ref:R})}),i.jsx(d1,{container:F,children:E.map(Z=>i.jsx(f1,{value:Z.value,children:Z.label},Z.value))})]})]}),i.jsx("button",{type:"button",className:"shrink-0 flex items-center justify-center h-[34px] px-[20px] py-[7px] rounded-[4px] bg-[#0265FF] text-[14px] text-white leading-[normal] whitespace-nowrap hover:bg-[#0252CC] cursor-pointer transition-colors duration-200",onClick:S,children:"筛选"})]})}Object.defineProperty(A,"createColumnHelper",{enumerable:!0,get:()=>Yn.createColumnHelper}),A.AIIcon=Am,A.ALL_APPS_VALUE=ls,A.AbsFullscreenGradientBg=za,A.AddIcon=l3,A.AddressIcon=Cm,A.AgentCategorySelectMenu=Dw,A.AgentEntryCard=Tw,A.AgentHelperCard=rc,A.AgentHelperCardList=Ew,A.AgentHelperMainLayout=Kr,A.AgentScrollSelector=sy,A.AgentSelect=W7,A.AgentSortSelect=Uw,A.AgentTag=r0,A.AggregateTableIcon=Em,A.AnalysisIcon=c3,A.AppSelect=ov,A.AttachmentIcon=hm,A.AttachmentPart=U7,A.AttachmentPartGroup=dy,A.AttachmentsPreviewer=by,A.BackIcon=C3,A.BagIcon=nm,A.BaseButton=Xo,A.BorderAnimation=Ty,A.BorderColorAnimation=Ua,A.BotAvatarAndName=_y,A.BotIcon=qa,A.BotImgUrl=q2,A.BrushIcon=w3,A.BsConditionInput=cu,A.BsEntrySelect=t0,A.BsTooltip=Ao,A.BuildingIcon=rm,A.Button=Jn,A.Calendar=d7,A.CalendarIcon=zs,A.Card=Oy,A.CardField=Ay,A.CardFieldsWrapper=Dy,A.ChatAreaHeader=Xv,A.ChatHeaderBgImgUrl=G2,A.CheckCard=ll,A.CheckerIcon=g3,A.CheckerInBoxIcon=$i,A.ChevronIcon=Oo,A.CircleChecker=Ic,A.CloseIcon=Bi,A.Collapsible=C2,A.CollapsibleContent=x2,A.CollapsibleTrigger=$E,A.CollapsibleTxtMsg=xl,A.ColorfulEditIcon=km,A.CommonTypeIcon=qi,A.ConditionInput=v2,A.ConfirmDialog=Hc,A.CopyIcon=x3,A.CsvFileIcon=Wi,A.DashLayoutContainerIcon=Fm,A.DataReportIcon=_m,A.DataTable=ON,A.DataTableIcon=Lm,A.DataViewIcon=Tm,A.DateInput=q1,A.DatePicker=bc,A.DateRangePicker=PN,A.DatetimeIcon=dm,A.DefaultFormIcon=Mm,A.Dialog=X4,A.DialogClose=Rf,A.DialogContent=ai,A.DialogDescription=di,A.DialogFooter=ci,A.DialogHeader=li,A.DialogOverlay=ii,A.DialogPortal=K4,A.DialogTitle=ui,A.DialogTrigger=Vf,A.DividerIcon=gm,A.DockIcon=i3,A.Drawer=Vm,A.DrawerBody=Wm,A.DrawerClose=Bm,A.DrawerCloseButton=L3,A.DrawerContent=zm,A.DrawerDescription=qm,A.DrawerFooter=$m,A.DrawerHeader=Zm,A.DrawerOverlay=S3,A.DrawerPortal=j3,A.DrawerTitle=Um,A.DrawerTrigger=Rm,A.EditIcon=dr,A.EmptyCardIcon=d3,A.ExcelIcon=vm,A.ExecLogFilter=HN,A.ExportIcon=sm,A.FIELD_ICON_CODE_MAP=X2,A.FORM_ICON_OPTIONS=Vs,A.FakeBotMessage=nk,A.FieldChecker=g2,A.FieldCheckerListMsg=YE,A.FieldEditPreferenceSelect=AN,A.FieldIcon=$8,A.FieldSelect=pl,A.FieldSelectPopover=ds,A.FieldTypeNameMap=A1,A.FieldValueChecker=q8,A.FieldValueCheckerListMsg=GE,A.FieldValueInput=w2,A.FieldsDesignInfoTable=ek,A.FieldsGeneratingIndicator=Rc,A.FieldsPortal=ok,A.FieldsPreviewer=Zc,A.FloatIcon=a3,A.FlowNodeActionTriggerSelect=lv,A.FlowNodeTypeIcon=Yi,A.FontIcon=as,A.Form=I7,A.FormActionTriggerSelect=iv,A.FormControl=R7,A.FormDescription=B7,A.FormDivider=Gv,A.FormField=ry,A.FormFieldIcon=zi,A.FormInfoEditor=sk,A.FormItem=H7,A.FormLabel=V7,A.FormMessage=z7,A.FormSelect=al,A.FormTypeIcon=v3,A.FormulaTag=lk,A.FormulasIcon=b3,A.FullscreenIcon=Om,A.GanttIcon=Nm,A.GenerateAnimation=ck,A.GoToFormIcon=k3,A.HCollapseIcon=Pm,A.HExpandIcon=Im,A.IconBtn=Vt,A.IconCard=n0,A.ImgIcon=pm,A.ImgMsgPart=$7,A.InfoIcon=h3,A.Input=$3,A.Label=Xi,A.LeftArrowIcon=ur,A.LegacySlot=dk,A.LetterAIcon=f3,A.LineChecker=Pr,A.LinearGradientBorderBtn=fk,A.LinearGradientColorBgAnimation=Bc,A.LocationIcon=xm,A.MagicIcon=u3,A.MemoizedMarkdown=I8,A.MenuLinesIcon=Ui,A.MessageContent=gl,A.MicrophoneIcon=bm,A.MonthdaysOptions=fs,A.MonthdaysSelect=Tc,A.MultiUserIcon=mm,A.MultilineTextIcon=um,A.NumberIcon=lm,A.NumbersMsgPart=NE,A.OfficeContainer=ZE,A.OffsetPreferenceSelect=kc,A.OptionItem=H8,A.OutputConfigEditor=PE,A.PlaceholderCard=Fw,A.PlaneIcon=om,A.Popover=ct,A.PopoverAnchor=aC,A.PopoverContent=nt,A.PopoverTrigger=ut,A.PreviewerHeader=zc,A.PrimaryConfirmBtn=Wc,A.PrimaryEntryBtn=IE,A.PromptInput=wN,A.QuestionIcon=p3,A.RadioButtonIcon=fm,A.RadioCard=Kv,A.RefreshIcon=jm,A.RelationalOperatorSelect=Pc,A.RemoveCircleIcon=m3,A.RepeatByTypeOptions=_c,A.RepeatByTypeSelect=Ac,A.RepeatPreferenceSelect=Yv,A.RepeatPreferenceTypeOptions=jc,A.RepeatPreferenceTypeSelect=Sc,A.SNIcon=im,A.ScheduleTypeIcon=Hm,A.ScrollArrowDownIcon=y3,A.ScrollToBottomBtn=HE,A.SearchIcon=S1,A.SearchInput=Wa,A.Select=L1,A.SelectContent=d1,A.SelectGroup=ZC,A.SelectItem=f1,A.SelectLabel=y9,A.SelectScrollDownButton=da,A.SelectScrollUpButton=ua,A.SelectSeparator=w9,A.SelectTrigger=u1,A.SelectValue=M1,A.SettingIcon=Dm,A.SolidArrowDownIcon=rn,A.Spinner=z3,A.SplitLine=VE,A.SquareChecker=C1,A.StatsIcon=Sm,A.StopIcon=wm,A.SubformFieldsValueChecker=U8,A.SubformIcon=cm,A.TabRadioGroup=Z8,A.TabRadioItem=h2,A.TextIcon=am,A.Textarea=U3,A.Tooltip=o3,A.TooltipContent=Ri,A.TooltipProvider=r3,A.TooltipTrigger=s3,A.TrashIcon=Do,A.TriggerConfigList=Ya,A.TriggerSelect=Iy,A.TriggerTimePreferenceSelect=Bv,A.TriggerTimeSourceTypeSelect=pc,A.TxtFileIcon=fr,A.UnknownFileIcon=Zi,A.UploadIcon=ym,A.UserIcon=tm,A.UserTextMsgBubble=RE,A.WarningImgUrl=Y2,A.WarningMessage=WE,A.WeekdaysOptions=Bn,A.WeekdaysSelect=Mc,A.XlsxIcon=Tn,A.buildEntryTreeFromAliasMap=Ko,A.buttonVariants=s4,A.cn=T,A.copyTextToClipboard=td,A.getEntries=yy,A.groupsToAppTreeNodes=Jw,A.isSubformFieldEqual=U2,A.toHumanReadable=Is,A.transCls=re,A.useForm=ny,A.useFormField=Er,A.useShadow=Hs,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})});
|
|
591
|
-
//# sourceMappingURL=ai-design.umd.cjs.map
|