@halcyonlabs/app 0.47.0-halcyon.604 → 0.47.0-halcyon.607
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/app/dist/assets/{AddMachineDialog-BHF-GkBG.js → AddMachineDialog-CG2ZZhp-.js} +1 -1
- package/app/dist/assets/AddMachineDialog-CG2ZZhp-.js.br +0 -0
- package/app/dist/assets/AddMachineDialog-CG2ZZhp-.js.gz +0 -0
- package/app/dist/assets/{AppCommandShortcutHint-7JPI7Au-.js → AppCommandShortcutHint-CCVkbqD1.js} +1 -1
- package/app/dist/assets/{AppFileExternalNavigationDispatcher-BNbJsP1g.js → AppFileExternalNavigationDispatcher-DETVZfBW.js} +1 -1
- package/app/dist/assets/AppFileExternalNavigationDispatcher-DETVZfBW.js.br +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-DETVZfBW.js.gz +0 -0
- package/app/dist/assets/{AppToasterView-DP33gZcS.js → AppToasterView-BpJaGVQ1.js} +1 -1
- package/app/dist/assets/{BrowserTabDeck-BlOoU-vR.js → BrowserTabDeck-c6VRKA-g.js} +1 -1
- package/app/dist/assets/BrowserTabDeck-c6VRKA-g.js.br +0 -0
- package/app/dist/assets/BrowserTabDeck-c6VRKA-g.js.gz +0 -0
- package/app/dist/assets/{CommandPaletteBody-CBbTgLrW.js → CommandPaletteBody-BeiWvSTK.js} +1 -1
- package/app/dist/assets/CommandPaletteBody-BeiWvSTK.js.br +0 -0
- package/app/dist/assets/CommandPaletteBody-BeiWvSTK.js.gz +0 -0
- package/app/dist/assets/{DiffHost-DYBSO1_c.js → DiffHost-xesYsZUt.js} +1 -1
- package/app/dist/assets/DiffHost-xesYsZUt.js.br +0 -0
- package/app/dist/assets/DiffHost-xesYsZUt.js.gz +0 -0
- package/app/dist/assets/{ExperimentalFileLinkMenu-DO2lGQoK.js → ExperimentalFileLinkMenu-CDVoETHe.js} +1 -1
- package/app/dist/assets/ExperimentalFileLinkMenu-CDVoETHe.js.br +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-CDVoETHe.js.gz +0 -0
- package/app/dist/assets/{FilePreview-ORcgsTax.js → FilePreview-CzacGZ35.js} +1 -1
- package/app/dist/assets/FilePreview-CzacGZ35.js.br +0 -0
- package/app/dist/assets/FilePreview-CzacGZ35.js.gz +0 -0
- package/app/dist/assets/{GitDiffCardHeader-i4vt7tT5.js → GitDiffCardHeader-CJtFaq1K.js} +1 -1
- package/app/dist/assets/GitDiffCardHeader-CJtFaq1K.js.br +0 -0
- package/app/dist/assets/GitDiffCardHeader-CJtFaq1K.js.gz +0 -0
- package/app/dist/assets/{InlineMessageEditorFrame-y089xCLP.js → InlineMessageEditorFrame-C0rqOlNn.js} +1 -1
- package/app/dist/assets/InlineMessageEditorFrame-C0rqOlNn.js.br +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-C0rqOlNn.js.gz +0 -0
- package/app/dist/assets/{MachineLabel-D07WUIMh.js → MachineLabel-vUI5j8ve.js} +1 -1
- package/app/dist/assets/MachineLabel-vUI5j8ve.js.br +0 -0
- package/app/dist/assets/MachineLabel-vUI5j8ve.js.gz +0 -0
- package/app/dist/assets/{MachineRenameDialog-RyrwvNas.js → MachineRenameDialog-CrnZuppe.js} +1 -1
- package/app/dist/assets/MachineRenameDialog-CrnZuppe.js.br +0 -0
- package/app/dist/assets/MachineRenameDialog-CrnZuppe.js.gz +0 -0
- package/app/dist/assets/{MachineSettingsView-Bg6Op62W.js → MachineSettingsView-BR6qseai.js} +1 -1
- package/app/dist/assets/MachineSettingsView-BR6qseai.js.br +0 -0
- package/app/dist/assets/MachineSettingsView-BR6qseai.js.gz +0 -0
- package/app/dist/assets/{MicrophonePreferences-DwsTYfON.js → MicrophonePreferences-wMQ36e_Q.js} +1 -1
- package/app/dist/assets/MicrophonePreferences-wMQ36e_Q.js.br +0 -0
- package/app/dist/assets/MicrophonePreferences-wMQ36e_Q.js.gz +0 -0
- package/app/dist/assets/{ModelReasoningMenu-Dth3XXm8.js → ModelReasoningMenu-Do0jyo5Q.js} +1 -1
- package/app/dist/assets/ModelReasoningMenu-Do0jyo5Q.js.br +0 -0
- package/app/dist/assets/ModelReasoningMenu-Do0jyo5Q.js.gz +0 -0
- package/app/dist/assets/{MoonletDiff-Da65ABAI.js → MoonletDiff-CCvaiEEC.js} +1 -1
- package/app/dist/assets/MoonletDiff-CCvaiEEC.js.br +0 -0
- package/app/dist/assets/MoonletDiff-CCvaiEEC.js.gz +0 -0
- package/app/dist/assets/{MoonletDiffSplit-Phl7m23w.js → MoonletDiffSplit-3xEwFpfu.js} +2 -2
- package/app/dist/assets/MoonletDiffSplit-3xEwFpfu.js.br +0 -0
- package/app/dist/assets/MoonletDiffSplit-3xEwFpfu.js.gz +0 -0
- package/app/dist/assets/{MoonletSourceCode-C5aa88dK.js → MoonletSourceCode-BgaVW-e6.js} +1 -1
- package/app/dist/assets/MoonletSourceCode-BgaVW-e6.js.br +0 -0
- package/app/dist/assets/MoonletSourceCode-BgaVW-e6.js.gz +0 -0
- package/app/dist/assets/{NewTabPage-BKkv1maV.js → NewTabPage-BOqCqqLe.js} +1 -1
- package/app/dist/assets/NewTabPage-BOqCqqLe.js.br +0 -0
- package/app/dist/assets/NewTabPage-BOqCqqLe.js.gz +0 -0
- package/app/dist/assets/{NewThreadComposer-00DY4i8k.js → NewThreadComposer-DyB52pmS.js} +1 -1
- package/app/dist/assets/NewThreadComposer-DyB52pmS.js.br +0 -0
- package/app/dist/assets/NewThreadComposer-DyB52pmS.js.gz +0 -0
- package/app/dist/assets/{OnboardingFlow-GwpuTTqu.js → OnboardingFlow-DTPixZrb.js} +1 -1
- package/app/dist/assets/OnboardingFlow-DTPixZrb.js.br +0 -0
- package/app/dist/assets/OnboardingFlow-DTPixZrb.js.gz +0 -0
- package/app/dist/assets/{OptionPicker-Cy_W5NWS.js → OptionPicker-CxOGHDd8.js} +1 -1
- package/app/dist/assets/OptionPicker-CxOGHDd8.js.br +0 -0
- package/app/dist/assets/OptionPicker-CxOGHDd8.js.gz +0 -0
- package/app/dist/assets/{PaletteShell-CRwrb4lb.js → PaletteShell-BMkwhUdz.js} +1 -1
- package/app/dist/assets/PaletteShell-BMkwhUdz.js.br +0 -0
- package/app/dist/assets/PaletteShell-BMkwhUdz.js.gz +0 -0
- package/app/dist/assets/{PaneMaximizeButton-CMp4cCoZ.js → PaneMaximizeButton-DgXn2p5T.js} +1 -1
- package/app/dist/assets/PaneMaximizeButton-DgXn2p5T.js.br +0 -0
- package/app/dist/assets/PaneMaximizeButton-DgXn2p5T.js.gz +0 -0
- package/app/dist/assets/{PierreLineSelectionActions-BXbCJV8P.js → PierreLineSelectionActions-V_GPrVau.js} +1 -1
- package/app/dist/assets/PierreLineSelectionActions-V_GPrVau.js.br +0 -0
- package/app/dist/assets/PierreLineSelectionActions-V_GPrVau.js.gz +0 -0
- package/app/dist/assets/{PluginPanelRightPanelHost-CuKRaAaL.js → PluginPanelRightPanelHost-CRDSntoM.js} +1 -1
- package/app/dist/assets/PluginPanelRightPanelHost-CRDSntoM.js.br +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-CRDSntoM.js.gz +0 -0
- package/app/dist/assets/{PluginSettingsSections-DJo5h7Qh.js → PluginSettingsSections-ZnUNrvlJ.js} +1 -1
- package/app/dist/assets/PluginSettingsSections-ZnUNrvlJ.js.br +0 -0
- package/app/dist/assets/PluginSettingsSections-ZnUNrvlJ.js.gz +0 -0
- package/app/dist/assets/{PluginThreadChat-BV6OMCzu.js → PluginThreadChat-DtIyKaqq.js} +1 -1
- package/app/dist/assets/PluginThreadChat-DtIyKaqq.js.br +0 -0
- package/app/dist/assets/PluginThreadChat-DtIyKaqq.js.gz +0 -0
- package/app/dist/assets/{ProjectDetailSettingsView-DdF6YsSg.js → ProjectDetailSettingsView-B3apTKMj.js} +1 -1
- package/app/dist/assets/ProjectDetailSettingsView-B3apTKMj.js.br +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-B3apTKMj.js.gz +0 -0
- package/app/dist/assets/{ProjectMachineSetupDialog-CtbI4XxM.js → ProjectMachineSetupDialog-C43S09Ex.js} +1 -1
- package/app/dist/assets/ProjectMachineSetupDialog-C43S09Ex.js.br +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-C43S09Ex.js.gz +0 -0
- package/app/dist/assets/{ProjectsSettingsSection-BT1kXbPn.js → ProjectsSettingsSection-CIshX8Xc.js} +1 -1
- package/app/dist/assets/ProjectsSettingsSection-CIshX8Xc.js.br +0 -0
- package/app/dist/assets/ProjectsSettingsSection-CIshX8Xc.js.gz +0 -0
- package/app/dist/assets/{QueuedMessagesList-D1aAchqp.js → QueuedMessagesList-Dh5dxmNK.js} +1 -1
- package/app/dist/assets/QueuedMessagesList-Dh5dxmNK.js.br +0 -0
- package/app/dist/assets/QueuedMessagesList-Dh5dxmNK.js.gz +0 -0
- package/app/dist/assets/{RemotePathBrowser-vPIL8lVm.js → RemotePathBrowser-1A5-qAxD.js} +1 -1
- package/app/dist/assets/RemotePathBrowser-1A5-qAxD.js.br +0 -0
- package/app/dist/assets/RemotePathBrowser-1A5-qAxD.js.gz +0 -0
- package/app/dist/assets/{RootComposeView-DV6JGFlA.js → RootComposeView-BIZpqYG3.js} +1 -1
- package/app/dist/assets/RootComposeView-BIZpqYG3.js.br +0 -0
- package/app/dist/assets/RootComposeView-BIZpqYG3.js.gz +0 -0
- package/app/dist/assets/{SecondaryPanelLayout-BpHDgFJ_.js → SecondaryPanelLayout-BIQDxJLi.js} +1 -1
- package/app/dist/assets/SecondaryPanelLayout-BIQDxJLi.js.br +0 -0
- package/app/dist/assets/SecondaryPanelLayout-BIQDxJLi.js.gz +0 -0
- package/app/dist/assets/{ServerMoveOverlayView-CGkGzv8t.js → ServerMoveOverlayView-BSJahQeB.js} +1 -1
- package/app/dist/assets/ServerMoveOverlayView-BSJahQeB.js.br +0 -0
- package/app/dist/assets/ServerMoveOverlayView-BSJahQeB.js.gz +0 -0
- package/app/dist/assets/{SettingsSidebar-1XC0Uxwo.js → SettingsSidebar-DY_kbv4v.js} +1 -1
- package/app/dist/assets/SettingsSidebar-DY_kbv4v.js.br +0 -0
- package/app/dist/assets/SettingsSidebar-DY_kbv4v.js.gz +0 -0
- package/app/dist/assets/SettingsView-CR1GzBCl.js +7 -0
- package/app/dist/assets/SettingsView-CR1GzBCl.js.br +0 -0
- package/app/dist/assets/SettingsView-CR1GzBCl.js.gz +0 -0
- package/app/dist/assets/{SidebarFooterCustomize-D7sLYPwD.js → SidebarFooterCustomize-pIj856Zr.js} +1 -1
- package/app/dist/assets/SidebarFooterCustomize-pIj856Zr.js.br +0 -0
- package/app/dist/assets/SidebarFooterCustomize-pIj856Zr.js.gz +0 -0
- package/app/dist/assets/{SidebarVisibilityCustomize-DpTzFoGl.js → SidebarVisibilityCustomize-CR7hQOIF.js} +1 -1
- package/app/dist/assets/SidebarVisibilityCustomize-CR7hQOIF.js.br +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-CR7hQOIF.js.gz +0 -0
- package/app/dist/assets/{SourceCodeHost-DVEXLJK1.js → SourceCodeHost-DkoXO-RM.js} +2 -2
- package/app/dist/assets/SourceCodeHost-DkoXO-RM.js.br +0 -0
- package/app/dist/assets/SourceCodeHost-DkoXO-RM.js.gz +0 -0
- package/app/dist/assets/{SplitWorkspaceRoute-BfxQQdOx.js → SplitWorkspaceRoute-DN3j-Nio.js} +2 -2
- package/app/dist/assets/SplitWorkspaceRoute-DN3j-Nio.js.br +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-DN3j-Nio.js.gz +0 -0
- package/app/dist/assets/{TerminalOutputBlock-COQNamKR.js → TerminalOutputBlock-DKsNjK8s.js} +1 -1
- package/app/dist/assets/TerminalOutputBlock-DKsNjK8s.js.br +0 -0
- package/app/dist/assets/TerminalOutputBlock-DKsNjK8s.js.gz +0 -0
- package/app/dist/assets/{ThreadActionsMenu-064Gcy7T.js → ThreadActionsMenu-BulopjpY.js} +1 -1
- package/app/dist/assets/ThreadActionsMenu-BulopjpY.js.br +0 -0
- package/app/dist/assets/ThreadActionsMenu-BulopjpY.js.gz +0 -0
- package/app/dist/assets/{ThreadDetailView-CjoXzweq.js → ThreadDetailView-C6cu9JmT.js} +3 -3
- package/app/dist/assets/ThreadDetailView-C6cu9JmT.js.br +0 -0
- package/app/dist/assets/ThreadDetailView-C6cu9JmT.js.gz +0 -0
- package/app/dist/assets/{ThreadSearchPaletteMode-CwdePsHK.js → ThreadSearchPaletteMode-D0MKJ8PL.js} +1 -1
- package/app/dist/assets/ThreadSearchPaletteMode-D0MKJ8PL.js.br +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-D0MKJ8PL.js.gz +0 -0
- package/app/dist/assets/{ThreadSecondaryPanel-CtYtgTla.js → ThreadSecondaryPanel-CzjhigwP.js} +1 -1
- package/app/dist/assets/ThreadSecondaryPanel-CzjhigwP.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-CzjhigwP.js.gz +0 -0
- package/app/dist/assets/{ThreadSecondaryPanelTabContent-BNQi8b2n.js → ThreadSecondaryPanelTabContent-BX5A98YK.js} +1 -1
- package/app/dist/assets/ThreadSecondaryPanelTabContent-BX5A98YK.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-BX5A98YK.js.gz +0 -0
- package/app/dist/assets/{ThreadStatusGlyph-DxxHDn0P.js → ThreadStatusGlyph-BYavMHiP.js} +1 -1
- package/app/dist/assets/ThreadStatusGlyph-BYavMHiP.js.br +0 -0
- package/app/dist/assets/ThreadStatusGlyph-BYavMHiP.js.gz +0 -0
- package/app/dist/assets/{ThreadTerminalPanel-fb5Kk0KG.js → ThreadTerminalPanel-Cfe76daj.js} +1 -1
- package/app/dist/assets/ThreadTerminalPanel-Cfe76daj.js.br +0 -0
- package/app/dist/assets/ThreadTerminalPanel-Cfe76daj.js.gz +0 -0
- package/app/dist/assets/{ThreadTerminalView-BiGdt3Fd.js → ThreadTerminalView-CgMKh6rk.js} +1 -1
- package/app/dist/assets/ThreadTerminalView-CgMKh6rk.js.br +0 -0
- package/app/dist/assets/ThreadTerminalView-CgMKh6rk.js.gz +0 -0
- package/app/dist/assets/{ThreadTimelineNavigationContext-epkIpS1J.js → ThreadTimelineNavigationContext-2--wIUmU.js} +2 -2
- package/app/dist/assets/ThreadTimelineNavigationContext-2--wIUmU.js.br +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-2--wIUmU.js.gz +0 -0
- package/app/dist/assets/{ThreadUnarchiveButton-CExEP4wZ.js → ThreadUnarchiveButton-CiDbuPzJ.js} +1 -1
- package/app/dist/assets/{TimelineDetailScroll-D8gge5Y9.js → TimelineDetailScroll-DnMC8nYC.js} +1 -1
- package/app/dist/assets/TimelineDetailScroll-DnMC8nYC.js.br +0 -0
- package/app/dist/assets/TimelineDetailScroll-DnMC8nYC.js.gz +0 -0
- package/app/dist/assets/{TimelineFileDiffBlock-BJt7kifl.js → TimelineFileDiffBlock-D8pKEcE0.js} +1 -1
- package/app/dist/assets/TimelineFileDiffBlock-D8pKEcE0.js.br +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-D8pKEcE0.js.gz +0 -0
- package/app/dist/assets/{TimelineSelectionMenu-DrK39LAT.js → TimelineSelectionMenu-DDYrgVgK.js} +1 -1
- package/app/dist/assets/TimelineSelectionMenu-DDYrgVgK.js.br +0 -0
- package/app/dist/assets/TimelineSelectionMenu-DDYrgVgK.js.gz +0 -0
- package/app/dist/assets/{ToolsView-4tUvUv2U.js → ToolsView-CXmmNmMz.js} +1 -1
- package/app/dist/assets/ToolsView-CXmmNmMz.js.br +0 -0
- package/app/dist/assets/ToolsView-CXmmNmMz.js.gz +0 -0
- package/app/dist/assets/{ToolsViewSplits-BWOxgNc1.js → ToolsViewSplits-VIMb0WxO.js} +2 -2
- package/app/dist/assets/ToolsViewSplits-VIMb0WxO.js.br +0 -0
- package/app/dist/assets/ToolsViewSplits-VIMb0WxO.js.gz +0 -0
- package/app/dist/assets/{WaveformVisualizer-C1SzIkiu.js → WaveformVisualizer-CyOfIcDU.js} +1 -1
- package/app/dist/assets/WaveformVisualizer-CyOfIcDU.js.br +0 -0
- package/app/dist/assets/WaveformVisualizer-CyOfIcDU.js.gz +0 -0
- package/app/dist/assets/{absolute-file-path-CbI5cppS.js → absolute-file-path-BxWHDkiV.js} +1 -1
- package/app/dist/assets/{app-fixed-tab-navigation-Cv4Tj7xZ.js → app-fixed-tab-navigation-nG5duhr6.js} +1 -1
- package/app/dist/assets/app-fixed-tab-navigation-nG5duhr6.js.br +0 -0
- package/app/dist/assets/app-fixed-tab-navigation-nG5duhr6.js.gz +0 -0
- package/app/dist/assets/{audio-input-device-preference-D8tr0bqw.js → audio-input-device-preference-Civxk2e_.js} +1 -1
- package/app/dist/assets/audio-input-device-preference-Civxk2e_.js.br +0 -0
- package/app/dist/assets/audio-input-device-preference-Civxk2e_.js.gz +0 -0
- package/app/dist/assets/{bottom-anchored-scroll-body-VYrnz8Hl.js → bottom-anchored-scroll-body-izL_2xQo.js} +1 -1
- package/app/dist/assets/bottom-anchored-scroll-body-izL_2xQo.js.br +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-izL_2xQo.js.gz +0 -0
- package/app/dist/assets/{browser-url-jhAVtSw2.js → browser-url-DQsPFWqd.js} +1 -1
- package/app/dist/assets/browser-url-DQsPFWqd.js.br +0 -0
- package/app/dist/assets/browser-url-DQsPFWqd.js.gz +0 -0
- package/app/dist/assets/{checkbox-qaQbU8-H.js → checkbox-Dxs9oAMl.js} +1 -1
- package/app/dist/assets/checkbox-Dxs9oAMl.js.br +0 -0
- package/app/dist/assets/checkbox-Dxs9oAMl.js.gz +0 -0
- package/app/dist/assets/{code-loading-skeletons-pfQDO26Y.js → code-loading-skeletons-CkiXPS0M.js} +1 -1
- package/app/dist/assets/code-loading-skeletons-CkiXPS0M.js.br +0 -0
- package/app/dist/assets/code-loading-skeletons-CkiXPS0M.js.gz +0 -0
- package/app/dist/assets/{code-rendering-CuFk1qJ1.js → code-rendering-DjLdb6cB.js} +1 -1
- package/app/dist/assets/{code-theme-registration-wCS4GRn4.js → code-theme-registration-DWaGQiqG.js} +1 -1
- package/app/dist/assets/{detail-card-C3OH86kJ.js → detail-card-BFm1NEQz.js} +1 -1
- package/app/dist/assets/detail-card-BFm1NEQz.js.br +0 -0
- package/app/dist/assets/detail-card-BFm1NEQz.js.gz +0 -0
- package/app/dist/assets/{diff-stats-tally-DkIHmiEl.js → diff-stats-tally-DQHS3tHN.js} +1 -1
- package/app/dist/assets/diff-stats-tally-DQHS3tHN.js.br +0 -0
- package/app/dist/assets/diff-stats-tally-DQHS3tHN.js.gz +0 -0
- package/app/dist/assets/{dist-CWXlD45B.js → dist-DCULoGTS.js} +1 -1
- package/app/dist/assets/dist-DCULoGTS.js.br +0 -0
- package/app/dist/assets/dist-DCULoGTS.js.gz +0 -0
- package/app/dist/assets/{environment-mutations-BrA6u8Ev.js → environment-mutations-Zes88JN-.js} +1 -1
- package/app/dist/assets/environment-mutations-Zes88JN-.js.br +0 -0
- package/app/dist/assets/environment-mutations-Zes88JN-.js.gz +0 -0
- package/app/dist/assets/{environment-workspace-display-0oqBMXMB.js → environment-workspace-display-Blt7U9Mn.js} +3 -3
- package/app/dist/assets/environment-workspace-display-Blt7U9Mn.js.br +0 -0
- package/app/dist/assets/environment-workspace-display-Blt7U9Mn.js.gz +0 -0
- package/app/dist/assets/{event-code-block-BfPSBXNn.js → event-code-block-QXnzoFqm.js} +1 -1
- package/app/dist/assets/event-code-block-QXnzoFqm.js.br +0 -0
- package/app/dist/assets/event-code-block-QXnzoFqm.js.gz +0 -0
- package/app/dist/assets/{expandable-text-01SvfXRm.js → expandable-text-DkUA9RQT.js} +1 -1
- package/app/dist/assets/expandable-text-DkUA9RQT.js.br +0 -0
- package/app/dist/assets/expandable-text-DkUA9RQT.js.gz +0 -0
- package/app/dist/assets/{file-opener-preference-C5_P-Zfr.js → file-opener-preference-CXZHmESv.js} +1 -1
- package/app/dist/assets/{file-path-link-Ddg7Fzor.js → file-path-link-D7DFjBWZ.js} +1 -1
- package/app/dist/assets/file-path-link-D7DFjBWZ.js.br +0 -0
- package/app/dist/assets/file-path-link-D7DFjBWZ.js.gz +0 -0
- package/app/dist/assets/{host-mutations-CAtir6jv.js → host-mutations-Fl0RjER0.js} +1 -1
- package/app/dist/assets/host-mutations-Fl0RjER0.js.br +0 -0
- package/app/dist/assets/host-mutations-Fl0RjER0.js.gz +0 -0
- package/app/dist/assets/{icon-extended-D2fR2GTF.js → icon-extended-C0LTNXfN.js} +1 -1
- package/app/dist/assets/icon-extended-C0LTNXfN.js.br +0 -0
- package/app/dist/assets/icon-extended-C0LTNXfN.js.gz +0 -0
- package/app/dist/assets/{image-lightbox-Dhmri6WK.js → image-lightbox-DhNslR-8.js} +1 -1
- package/app/dist/assets/image-lightbox-DhNslR-8.js.br +0 -0
- package/app/dist/assets/image-lightbox-DhNslR-8.js.gz +0 -0
- package/app/dist/assets/index-C2K528W0.css +2 -0
- package/app/dist/assets/index-C2K528W0.css.br +0 -0
- package/app/dist/assets/index-C2K528W0.css.gz +0 -0
- package/app/dist/assets/{index-CfvM6UcU.js → index-DCps_qBD.js} +8 -8
- package/app/dist/assets/index-DCps_qBD.js.br +0 -0
- package/app/dist/assets/index-DCps_qBD.js.gz +0 -0
- package/app/dist/assets/{inline-rename-editor-Bg8SXoZ3.js → inline-rename-editor-nrH2d_Gy.js} +1 -1
- package/app/dist/assets/inline-rename-editor-nrH2d_Gy.js.br +0 -0
- package/app/dist/assets/inline-rename-editor-nrH2d_Gy.js.gz +0 -0
- package/app/dist/assets/{launcherRow-CqPaUYWn.js → launcherRow-CVYGyeOl.js} +1 -1
- package/app/dist/assets/launcherRow-CVYGyeOl.js.br +0 -0
- package/app/dist/assets/launcherRow-CVYGyeOl.js.gz +0 -0
- package/app/dist/assets/{localhost-link-rewrite-description-DP-bXSL8.js → localhost-link-rewrite-description-C0FphFZq.js} +1 -1
- package/app/dist/assets/localhost-link-rewrite-description-C0FphFZq.js.br +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-C0FphFZq.js.gz +0 -0
- package/app/dist/assets/{machine-provider-queries-CoghZyj9.js → machine-provider-queries-BTz8Sz3J.js} +1 -1
- package/app/dist/assets/{machine-server-access-Drk0mdHH.js → machine-server-access-CGfd5e1r.js} +1 -1
- package/app/dist/assets/{markdown-file-image-routing-BJjI1Te3.js → markdown-file-image-routing-BhGjphhz.js} +1 -1
- package/app/dist/assets/{markdown-html-BU8qsXmq.js → markdown-html-CLi3FhDR.js} +1 -1
- package/app/dist/assets/markdown-html-CLi3FhDR.js.br +0 -0
- package/app/dist/assets/markdown-html-CLi3FhDR.js.gz +0 -0
- package/app/dist/assets/{markdown-local-file-link-D-MSnVWD.js → markdown-local-file-link-BROpdQPF.js} +1 -1
- package/app/dist/assets/markdown-local-file-link-BROpdQPF.js.br +0 -0
- package/app/dist/assets/markdown-local-file-link-BROpdQPF.js.gz +0 -0
- package/app/dist/assets/{markdown-preview-BLL1QuNp.js → markdown-preview-CGXXNhJo.js} +3 -3
- package/app/dist/assets/markdown-preview-CGXXNhJo.js.br +0 -0
- package/app/dist/assets/markdown-preview-CGXXNhJo.js.gz +0 -0
- package/app/dist/assets/{markdown-prompt-mentions-B5LVmCbO.js → markdown-prompt-mentions-CPWKCtMa.js} +1 -1
- package/app/dist/assets/markdown-prompt-mentions-CPWKCtMa.js.br +0 -0
- package/app/dist/assets/markdown-prompt-mentions-CPWKCtMa.js.gz +0 -0
- package/app/dist/assets/{model-load-error-message-Dmp1hUNg.js → model-load-error-message-CH_k4E7q.js} +1 -1
- package/app/dist/assets/model-load-error-message-CH_k4E7q.js.br +0 -0
- package/app/dist/assets/model-load-error-message-CH_k4E7q.js.gz +0 -0
- package/app/dist/assets/onboarding-telemetry-BXIyQ5F4.js +1 -0
- package/app/dist/assets/{open-in-editor-button-D0wnpT6x.js → open-in-editor-button-tA10Nkqn.js} +1 -1
- package/app/dist/assets/open-in-editor-button-tA10Nkqn.js.br +0 -0
- package/app/dist/assets/open-in-editor-button-tA10Nkqn.js.gz +0 -0
- package/app/dist/assets/{page-shell-CgSxnF9m.js → page-shell-CNCVT3Uj.js} +1 -1
- package/app/dist/assets/page-shell-CNCVT3Uj.js.br +0 -0
- package/app/dist/assets/page-shell-CNCVT3Uj.js.gz +0 -0
- package/app/dist/assets/{pierre-worker-pool-CHGWu76e.js → pierre-worker-pool-pXJFsMd7.js} +1 -1
- package/app/dist/assets/pierre-worker-pool-pXJFsMd7.js.br +0 -0
- package/app/dist/assets/pierre-worker-pool-pXJFsMd7.js.gz +0 -0
- package/app/dist/assets/{plugin-detail-navigation-DuR8_JCx.js → plugin-detail-navigation-SAqiVR3K.js} +1 -1
- package/app/dist/assets/plugin-detail-navigation-SAqiVR3K.js.br +0 -0
- package/app/dist/assets/plugin-detail-navigation-SAqiVR3K.js.gz +0 -0
- package/app/dist/assets/{plugin-frontend-D5ijLuKC.js → plugin-frontend-DoWZV45B.js} +3 -3
- package/app/dist/assets/plugin-frontend-DoWZV45B.js.br +0 -0
- package/app/dist/assets/plugin-frontend-DoWZV45B.js.gz +0 -0
- package/app/dist/assets/{plugin-ui-Dpa8hcuk.js → plugin-ui-Cu8MrXLJ.js} +1 -1
- package/app/dist/assets/plugin-ui-Cu8MrXLJ.js.br +0 -0
- package/app/dist/assets/plugin-ui-Cu8MrXLJ.js.gz +0 -0
- package/app/dist/assets/{project-default-execution-options-query-DfOIRKKL.js → project-default-execution-options-query-gaQEWNK0.js} +1 -1
- package/app/dist/assets/{queued-editor-typeahead-layout-Czaq8Cl9.js → queued-editor-typeahead-layout-DTUSPVuA.js} +1 -1
- package/app/dist/assets/queued-editor-typeahead-layout-DTUSPVuA.js.br +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-DTUSPVuA.js.gz +0 -0
- package/app/dist/assets/{queued-messages-layout-B5xwiued.js → queued-messages-layout-Bj1foecI.js} +1 -1
- package/app/dist/assets/queued-messages-layout-Bj1foecI.js.br +0 -0
- package/app/dist/assets/queued-messages-layout-Bj1foecI.js.gz +0 -0
- package/app/dist/assets/{resource-list-BKpxiO2e.js → resource-list-DLZLjUCf.js} +1 -1
- package/app/dist/assets/resource-list-DLZLjUCf.js.br +0 -0
- package/app/dist/assets/resource-list-DLZLjUCf.js.gz +0 -0
- package/app/dist/assets/root-compose-create-preference-Bv_dFEsH.js +1 -0
- package/app/dist/assets/{save-file-CNFl2iiR.js → save-file-B8sl9wgP.js} +1 -1
- package/app/dist/assets/{settings-nav-C9-jh_HN.js → settings-nav-D5tWYG52.js} +1 -1
- package/app/dist/assets/settings-nav-D5tWYG52.js.br +0 -0
- package/app/dist/assets/settings-nav-D5tWYG52.js.gz +0 -0
- package/app/dist/assets/{settings-sections-BMr_XU5l.js → settings-sections-Dfo35J2q.js} +1 -1
- package/app/dist/assets/settings-sections-Dfo35J2q.js.br +0 -0
- package/app/dist/assets/settings-sections-Dfo35J2q.js.gz +0 -0
- package/app/dist/assets/{shortcut-pill-_XSUZHxZ.js → shortcut-pill-BMlNncTw.js} +1 -1
- package/app/dist/assets/{sidebarTouchSensor-DG_A1RmT.js → sidebarTouchSensor-Da_E8eSx.js} +1 -1
- package/app/dist/assets/sidebarTouchSensor-Da_E8eSx.js.br +0 -0
- package/app/dist/assets/sidebarTouchSensor-Da_E8eSx.js.gz +0 -0
- package/app/dist/assets/{switch-BjJ8825r.js → switch-BRYzbFH-.js} +1 -1
- package/app/dist/assets/switch-BRYzbFH-.js.br +0 -0
- package/app/dist/assets/switch-BRYzbFH-.js.gz +0 -0
- package/app/dist/assets/{textarea-DY_k-BJR.js → textarea-DpRLVuDl.js} +1 -1
- package/app/dist/assets/{thread-event-parser-ma5CGP66.js → thread-event-parser-BrLyjs4v.js} +1 -1
- package/app/dist/assets/thread-event-parser-BrLyjs4v.js.br +0 -0
- package/app/dist/assets/thread-event-parser-BrLyjs4v.js.gz +0 -0
- package/app/dist/assets/{thread-panel-queries-BXeOzk_6.js → thread-panel-queries-s8vzntf7.js} +1 -1
- package/app/dist/assets/thread-panel-queries-s8vzntf7.js.br +0 -0
- package/app/dist/assets/thread-panel-queries-s8vzntf7.js.gz +0 -0
- package/app/dist/assets/{thread-runtime-mutations-DmKkyel0.js → thread-runtime-mutations-BOdkZ-H-.js} +1 -1
- package/app/dist/assets/thread-runtime-mutations-BOdkZ-H-.js.br +0 -0
- package/app/dist/assets/thread-runtime-mutations-BOdkZ-H-.js.gz +0 -0
- package/app/dist/assets/{thread-terminal-queries-AFVZ5K6p.js → thread-terminal-queries-Blou76c_.js} +1 -1
- package/app/dist/assets/thread-terminal-queries-Blou76c_.js.br +0 -0
- package/app/dist/assets/thread-terminal-queries-Blou76c_.js.gz +0 -0
- package/app/dist/assets/{threadRecentItems-DXsdcpBk.js → threadRecentItems-BiCe3SkL.js} +1 -1
- package/app/dist/assets/threadRecentItems-BiCe3SkL.js.br +0 -0
- package/app/dist/assets/threadRecentItems-BiCe3SkL.js.gz +0 -0
- package/app/dist/assets/{threadWorkspaceOpenPath-DwKd-s_5.js → threadWorkspaceOpenPath-C9eC_XGN.js} +1 -1
- package/app/dist/assets/threadWorkspaceOpenPath-C9eC_XGN.js.br +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-C9eC_XGN.js.gz +0 -0
- package/app/dist/assets/{title-bar-scroll-fade-Dw_BPLyx.js → title-bar-scroll-fade-OrK4M84v.js} +1 -1
- package/app/dist/assets/title-bar-scroll-fade-OrK4M84v.js.br +0 -0
- package/app/dist/assets/title-bar-scroll-fade-OrK4M84v.js.gz +0 -0
- package/app/dist/assets/{truncate-start-CGyRoGtG.js → truncate-start-Ck1IPV62.js} +1 -1
- package/app/dist/assets/{use-hover-popover-DzrAfLzd.js → use-hover-popover-uokpMJ80.js} +1 -1
- package/app/dist/assets/use-hover-popover-uokpMJ80.js.br +0 -0
- package/app/dist/assets/use-hover-popover-uokpMJ80.js.gz +0 -0
- package/app/dist/assets/{useElementWidth-Kv5FX-9C.js → useElementWidth-EbzKQ0bg.js} +1 -1
- package/app/dist/assets/useElementWidth-EbzKQ0bg.js.br +0 -0
- package/app/dist/assets/useElementWidth-EbzKQ0bg.js.gz +0 -0
- package/app/dist/assets/{useLocalOpenTargets-B7rqz64L.js → useLocalOpenTargets-CtvcdlZg.js} +1 -1
- package/app/dist/assets/useLocalOpenTargets-CtvcdlZg.js.br +0 -0
- package/app/dist/assets/useLocalOpenTargets-CtvcdlZg.js.gz +0 -0
- package/app/dist/assets/{usePanelResizeSnap-Dizp45Ab.js → usePanelResizeSnap-CuwA4rg3.js} +1 -1
- package/app/dist/assets/usePanelResizeSnap-CuwA4rg3.js.br +0 -0
- package/app/dist/assets/usePanelResizeSnap-CuwA4rg3.js.gz +0 -0
- package/app/dist/assets/{usePanelTerminals-ByzphxXd.js → usePanelTerminals-BZhTVWNX.js} +1 -1
- package/app/dist/assets/usePanelTerminals-BZhTVWNX.js.br +0 -0
- package/app/dist/assets/usePanelTerminals-BZhTVWNX.js.gz +0 -0
- package/app/dist/assets/{usePathSuggestions-Bd5UhdCh.js → usePathSuggestions-DZ1XPM_t.js} +1 -1
- package/app/dist/assets/usePathSuggestions-DZ1XPM_t.js.br +0 -0
- package/app/dist/assets/usePathSuggestions-DZ1XPM_t.js.gz +0 -0
- package/app/dist/assets/{useResolvedLiveFileTarget-x5Gd-Gzx.js → useResolvedLiveFileTarget-DlZUgf7A.js} +1 -1
- package/app/dist/assets/useResolvedLiveFileTarget-DlZUgf7A.js.br +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-DlZUgf7A.js.gz +0 -0
- package/app/dist/assets/{useThreadTerminalController-CUnfO0Da.js → useThreadTerminalController-D4Cr2aY0.js} +1 -1
- package/app/dist/assets/useThreadTerminalController-D4Cr2aY0.js.br +0 -0
- package/app/dist/assets/useThreadTerminalController-D4Cr2aY0.js.gz +0 -0
- package/app/dist/assets/{workspace-change-summary-CLNpSq_E.js → workspace-change-summary-C1EKX0Np.js} +1 -1
- package/app/dist/assets/workspace-change-summary-C1EKX0Np.js.br +0 -0
- package/app/dist/assets/workspace-change-summary-C1EKX0Np.js.gz +0 -0
- package/app/dist/assets/{workspace-checkout-display-Aad1Wxi4.js → workspace-checkout-display-DRAc3j4u.js} +4 -4
- package/app/dist/assets/workspace-checkout-display-DRAc3j4u.js.br +0 -0
- package/app/dist/assets/workspace-checkout-display-DRAc3j4u.js.gz +0 -0
- package/app/dist/index.html +17 -17
- package/app/dist/index.html.br +0 -0
- package/app/dist/index.html.gz +0 -0
- package/dist/bb-app.js +1 -1
- package/dist/index.d.ts +64 -64
- package/dist/index.js +39 -34
- package/host-daemon/dist/bb +2 -2
- package/host-daemon/dist/daemon-bundle.mjs +9 -9
- package/host-daemon/dist/moonlet +2 -2
- package/host-daemon/dist/moonlet-chunks/{browser-LWDG5PCA.js → browser-3YADF5CZ.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-4BNITW7L.js → chunk-CJVCV7LA.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-5AOUW4I4.js → chunk-DYWN65E6.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-GUMXNH56.js → chunk-GJNT53PW.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/chunk-MNJOOMMT.js +2 -0
- package/host-daemon/dist/moonlet-chunks/{chunk-2QTAZF4P.js → chunk-OZFHGPH4.js} +2 -2
- package/host-daemon/dist/moonlet-chunks/{chunk-OW2VWWPF.js → chunk-UASCWFYV.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-3GDA5QRC.js → chunk-UBCGVKZ2.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-ZJ3M74CR.js → chunk-UZIJUXRX.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-I2TDLRZL.js → chunk-VRIDG567.js} +80 -80
- package/host-daemon/dist/moonlet-chunks/{chunk-LQ55GYT2.js → chunk-Z7UFAOBI.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-IRGDLZXQ.js → chunk-ZY4JRPPT.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{client-LVL2RUQ5.js → client-HJ57QVLD.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{commander-errors-RQKAT5HQ.js → commander-errors-VI7J6RNT.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{context-env-74PECPQU.js → context-env-C4YEBBVX.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{context-hints-GQMM7IUB.js → context-hints-FZ224BCX.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{diagnostics-GZNLDKFH.js → diagnostics-OU2KW3CN.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{environment-2OF5OYK6.js → environment-45XH2PJT.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{file-ICBUEP7H.js → file-OHC2H5AH.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{guide-I3LO3KWD.js → guide-T2HEZTCZ.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{machine-ZH4VN36Y.js → machine-7DB7FE7G.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{marketplace-72G2CIZT.js → marketplace-GSP2IPGS.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{permissions-ZKMW6XVA.js → permissions-SOZPETLR.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{plugin-J33MYYP6.js → plugin-672NQWPG.js} +26 -26
- package/host-daemon/dist/moonlet-chunks/{plugin-cli-proxy-KK4YO745.js → plugin-cli-proxy-YK6LMDCS.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{project-CAOBT6PT.js → project-KMNJH6RG.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{prompt-history-3CTG22DW.js → prompt-history-H3Y2IHDY.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{provider-T7SNTFH5.js → provider-EKKSYF2D.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{schedule-2G2I4DCW.js → schedule-KVSISSIR.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{server-R3LHIEJF.js → server-53I6IGAP.js} +2 -2
- package/host-daemon/dist/moonlet-chunks/{settings-WR7UCFPE.js → settings-MKGSGNIO.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{skill-GHMBJF4G.js → skill-DXINIPQ3.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{status-ES5SEMUE.js → status-BSMUYEAO.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{terminal-45KOGD2U.js → terminal-VKBGZFLN.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{theme-DEIR5VHK.js → theme-3YCCZBGC.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{thread-NNUIM6R7.js → thread-PFBPLD4F.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{updates-23J52P44.js → updates-OO7GE7UB.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{voice-CSQR656B.js → voice-ZJOSAJW7.js} +1 -1
- package/package.json +3 -3
- package/server/dist/builtin-plugins/account-pool/dist/app.js +9 -9
- package/server/dist/builtin-plugins/account-pool/skills/account-pool/SKILL.md +1 -1
- package/server/dist/builtin-plugins/agent-annotations/dist/app.js +2 -2
- package/server/dist/builtin-plugins/agent-board/dist/THIRD_PARTY_NOTICES.md +3 -3
- package/server/dist/builtin-plugins/agent-board/dist/app.js +6 -6
- package/server/dist/builtin-plugins/agent-board/dist/server.js +1 -1
- package/server/dist/builtin-plugins/ask-user-question/dist/app.js +6 -6
- package/server/dist/builtin-plugins/automations/dist/app.js +1 -1
- package/server/dist/builtin-plugins/automations/skills/automations/SKILL.md +1 -1
- package/server/dist/builtin-plugins/bb-account/dist/app.js +1 -1
- package/server/dist/builtin-plugins/bb-account/skills/bb-account/SKILL.md +1 -1
- package/server/dist/builtin-plugins/bb-ai/dist/server.js +2 -2
- package/server/dist/builtin-plugins/bb-ai/skills/bb-cloud-ai/SKILL.md +1 -1
- package/server/dist/builtin-plugins/bb-guide/dist/app.js +1 -1
- package/server/dist/builtin-plugins/bb-guide/dist/server.js +2 -2
- package/server/dist/builtin-plugins/bb-guide/package.json +2 -2
- package/server/dist/builtin-plugins/bb-guide/skills/bb-cli/SKILL.md +3 -3
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/SKILL.md +4 -4
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/backend-cli-agents.md +6 -6
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/backend-events.md +2 -2
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/backend-foundation.md +1 -1
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/backend-sdk.md +1 -1
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/distribution.md +2 -2
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/frontend-components.md +4 -4
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/frontend-core-slots.md +15 -15
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/frontend-hooks-and-ui.md +9 -9
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/providers.md +3 -3
- package/server/dist/builtin-plugins/bb-guide/skills/bb-plugin-authoring/references/quickstart.md +10 -10
- package/server/dist/builtin-plugins/bb-guide/skills/skill-creator/SKILL.md +2 -2
- package/server/dist/builtin-plugins/bb-guide/skills/submit-a-plugin/SKILL.md +3 -3
- package/server/dist/builtin-plugins/bb-guide/skills/submit-a-plugin/references/marketplace-entry.md +8 -8
- package/server/dist/builtin-plugins/bb-guide/skills/submit-a-plugin/references/plugin-release.md +1 -1
- package/server/dist/builtin-plugins/browser-automation/dist/app.js +1 -1
- package/server/dist/builtin-plugins/browser-automation/dist/server.js +2 -2
- package/server/dist/builtin-plugins/browser-automation/skills/browser-automation/SKILL.md +3 -3
- package/server/dist/builtin-plugins/composer/dist/app.js +4 -4
- package/server/dist/builtin-plugins/concurrency-limit/dist/app.js +1 -1
- package/server/dist/builtin-plugins/concurrency-limit/skills/concurrency-limit/SKILL.md +1 -1
- package/server/dist/builtin-plugins/connect/dist/app.js +2 -2
- package/server/dist/builtin-plugins/connect/skills/share-server-links/SKILL.md +1 -1
- package/server/dist/builtin-plugins/connect-next/dist/app.js +2 -2
- package/server/dist/builtin-plugins/connect-next/dist/server.js +1 -1
- package/server/dist/builtin-plugins/connect-next/skills/connect-next/SKILL.md +1 -1
- package/server/dist/builtin-plugins/custom-instructions/dist/app.js +1 -1
- package/server/dist/builtin-plugins/docs/dist/app.js +3 -3
- package/server/dist/builtin-plugins/docs/skills/docs/SKILL.md +1 -1
- package/server/dist/builtin-plugins/drafts/dist/app.js +1 -1
- package/server/dist/builtin-plugins/environment-git-worktree/dist/app.js +1 -1
- package/server/dist/builtin-plugins/environment-modal-sandbox/dist/app.js +1 -1
- package/server/dist/builtin-plugins/environment-modal-sandbox/dist/server.js +1 -1
- package/server/dist/builtin-plugins/environment-modal-sandbox/skills/modal-sandboxes/SKILL.md +5 -5
- package/server/dist/builtin-plugins/environment-project-checkout/dist/app.js +1 -1
- package/server/dist/builtin-plugins/github/dist/app.js +2 -2
- package/server/dist/builtin-plugins/github/dist/server.js +7 -7
- package/server/dist/builtin-plugins/github/package.json +2 -2
- package/server/dist/builtin-plugins/github/skills/github-change/SKILL.md +2 -2
- package/server/dist/builtin-plugins/github/skills/github-change/references/merging.md +8 -8
- package/server/dist/builtin-plugins/github-pr-status/dist/app.js +6 -6
- package/server/dist/builtin-plugins/inline-vis/dist/app.js +2 -2
- package/server/dist/builtin-plugins/inline-vis/skills/inline-vis/SKILL.md +2 -2
- package/server/dist/builtin-plugins/keep-awake/dist/app.js +1 -1
- package/server/dist/builtin-plugins/keep-awake/dist/server.js +1 -1
- package/server/dist/builtin-plugins/library/dist/app.js +2 -2
- package/server/dist/builtin-plugins/mail/skills/mail/SKILL.md +1 -1
- package/server/dist/builtin-plugins/marketplace.json +10 -10
- package/server/dist/builtin-plugins/mcp/dist/server.js +8 -8
- package/server/dist/builtin-plugins/mcp/skills/mcp/SKILL.md +1 -1
- package/server/dist/builtin-plugins/memory/dist/app.js +1 -1
- package/server/dist/builtin-plugins/memory/dist/server.js +4 -4
- package/server/dist/builtin-plugins/memory/skills/memory/SKILL.md +5 -5
- package/server/dist/builtin-plugins/monaco-editor/dist/app.js +1 -1
- package/server/dist/builtin-plugins/navigation/dist/app.js +1 -1
- package/server/dist/builtin-plugins/notify-feed/dist/app.js +3 -3
- package/server/dist/builtin-plugins/notify-feed/dist/server.js +2 -2
- package/server/dist/builtin-plugins/orbit/dist/app.js +2 -2
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/docs/handoff-to-new-conversation.md +1 -1
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/fixed-runner/linux-x64/manifest.json +4 -4
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/revision +1 -1
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/source.json +1 -1
- package/server/dist/builtin-plugins/orbit/dist/assets/plugins/moonlet/back/CLAUDE.md +5 -5
- package/server/dist/builtin-plugins/orbit/dist/assets/plugins/moonlet/front/CLAUDE.md +15 -15
- package/server/dist/builtin-plugins/orbit/dist/host.js +49 -49
- package/server/dist/builtin-plugins/orbit/dist/host.meta.json +1 -1
- package/server/dist/builtin-plugins/orbit/dist/server.js +148 -148
- package/server/dist/builtin-plugins/pdf-preview/dist/app.js +1 -1
- package/server/dist/builtin-plugins/plugin-api-docs/dist/app.js +2 -2
- package/server/dist/builtin-plugins/plugin-api-tester/dist/app.js +1 -1
- package/server/dist/builtin-plugins/prompt-library/dist/app.js +2 -2
- package/server/dist/builtin-plugins/prompt-library/skills/prompt-library/SKILL.md +1 -1
- package/server/dist/builtin-plugins/provider-acp/dist/app.js +1 -1
- package/server/dist/builtin-plugins/provider-acp/dist/host.js +5 -5
- package/server/dist/builtin-plugins/provider-acp/dist/host.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-acp/dist/server.js +97 -97
- package/server/dist/builtin-plugins/provider-acp/skills/acp-provider/SKILL.md +9 -9
- package/server/dist/builtin-plugins/provider-claude-code/dist/app.js +1 -1
- package/server/dist/builtin-plugins/provider-claude-code/dist/host.js +3 -3
- package/server/dist/builtin-plugins/provider-claude-code/dist/host.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-claude-code/dist/server.js +1 -1
- package/server/dist/builtin-plugins/provider-codex/dist/app.js +2 -2
- package/server/dist/builtin-plugins/provider-codex/dist/host.js +45 -45
- package/server/dist/builtin-plugins/provider-codex/dist/host.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-codex/dist/server.js +1 -1
- package/server/dist/builtin-plugins/provider-pi/dist/app.js +1 -1
- package/server/dist/builtin-plugins/provider-pi/skills/pi-provider/SKILL.md +1 -1
- package/server/dist/builtin-plugins/provider-retry/dist/app.js +1 -1
- package/server/dist/builtin-plugins/provider-retry/skills/provider-retry/SKILL.md +1 -1
- package/server/dist/builtin-plugins/provider-usage/dist/app.js +12 -12
- package/server/dist/builtin-plugins/push-notifications/dist/app.js +2 -2
- package/server/dist/builtin-plugins/push-notifications/skills/push-notifications/SKILL.md +1 -1
- package/server/dist/builtin-plugins/scheduled-send/dist/app.js +1 -1
- package/server/dist/builtin-plugins/secrets/dist/app.js +1 -1
- package/server/dist/builtin-plugins/side-chat/dist/app.js +1 -1
- package/server/dist/builtin-plugins/storage-retention/dist/app.js +1 -1
- package/server/dist/builtin-plugins/storage-retention/dist/server.js +2 -2
- package/server/dist/builtin-plugins/storage-retention/skills/storage-retention/SKILL.md +5 -5
- package/server/dist/builtin-plugins/tasks/dist/app.js +4 -4
- package/server/dist/builtin-plugins/tasks/skills/tasks/SKILL.md +1 -1
- package/server/dist/builtin-plugins/theme-preview/dist/app.js +2 -2
- package/server/dist/builtin-plugins/theme-preview/skills/bb-theme-authoring/SKILL.md +1 -1
- package/server/dist/builtin-plugins/thread-list/dist/app.js +2 -2
- package/server/dist/builtin-plugins/thread-list/dist/server.js +2 -2
- package/server/dist/builtin-plugins/workflows/dist/app.js +1 -1
- package/server/dist/builtin-plugins/workflows/dist/server.js +4 -4
- package/server/dist/builtin-plugins/workflows/skills/workflows/SKILL.md +4 -4
- package/server/dist/builtin-plugins/workflows/skills/workflows/references/authoring.md +7 -7
- package/server/dist/builtin-skills/bb-cli/SKILL.md +3 -3
- package/server/dist/builtin-skills/bb-plugin-authoring/SKILL.md +4 -4
- package/server/dist/builtin-skills/bb-plugin-authoring/references/backend-cli-agents.md +6 -6
- package/server/dist/builtin-skills/bb-plugin-authoring/references/backend-events.md +2 -2
- package/server/dist/builtin-skills/bb-plugin-authoring/references/backend-foundation.md +1 -1
- package/server/dist/builtin-skills/bb-plugin-authoring/references/backend-sdk.md +1 -1
- package/server/dist/builtin-skills/bb-plugin-authoring/references/distribution.md +2 -2
- package/server/dist/builtin-skills/bb-plugin-authoring/references/frontend-components.md +4 -4
- package/server/dist/builtin-skills/bb-plugin-authoring/references/frontend-core-slots.md +15 -15
- package/server/dist/builtin-skills/bb-plugin-authoring/references/frontend-hooks-and-ui.md +9 -9
- package/server/dist/builtin-skills/bb-plugin-authoring/references/providers.md +3 -3
- package/server/dist/builtin-skills/bb-plugin-authoring/references/quickstart.md +10 -10
- package/server/dist/builtin-skills/skill-creator/SKILL.md +2 -2
- package/server/dist/builtin-skills/submit-a-plugin/SKILL.md +3 -3
- package/server/dist/builtin-skills/submit-a-plugin/references/marketplace-entry.md +8 -8
- package/server/dist/builtin-skills/submit-a-plugin/references/plugin-release.md +1 -1
- package/server/dist/start-server.js +75 -70
- package/app/dist/assets/AddMachineDialog-BHF-GkBG.js.br +0 -0
- package/app/dist/assets/AddMachineDialog-BHF-GkBG.js.gz +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-BNbJsP1g.js.br +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-BNbJsP1g.js.gz +0 -0
- package/app/dist/assets/BrowserTabDeck-BlOoU-vR.js.br +0 -0
- package/app/dist/assets/BrowserTabDeck-BlOoU-vR.js.gz +0 -0
- package/app/dist/assets/CommandPaletteBody-CBbTgLrW.js.br +0 -0
- package/app/dist/assets/CommandPaletteBody-CBbTgLrW.js.gz +0 -0
- package/app/dist/assets/DiffHost-DYBSO1_c.js.br +0 -0
- package/app/dist/assets/DiffHost-DYBSO1_c.js.gz +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-DO2lGQoK.js.br +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-DO2lGQoK.js.gz +0 -0
- package/app/dist/assets/FilePreview-ORcgsTax.js.br +0 -0
- package/app/dist/assets/FilePreview-ORcgsTax.js.gz +0 -0
- package/app/dist/assets/GitDiffCardHeader-i4vt7tT5.js.br +0 -0
- package/app/dist/assets/GitDiffCardHeader-i4vt7tT5.js.gz +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-y089xCLP.js.br +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-y089xCLP.js.gz +0 -0
- package/app/dist/assets/MachineLabel-D07WUIMh.js.br +0 -0
- package/app/dist/assets/MachineLabel-D07WUIMh.js.gz +0 -0
- package/app/dist/assets/MachineRenameDialog-RyrwvNas.js.br +0 -0
- package/app/dist/assets/MachineRenameDialog-RyrwvNas.js.gz +0 -0
- package/app/dist/assets/MachineSettingsView-Bg6Op62W.js.br +0 -0
- package/app/dist/assets/MachineSettingsView-Bg6Op62W.js.gz +0 -0
- package/app/dist/assets/MicrophonePreferences-DwsTYfON.js.br +0 -0
- package/app/dist/assets/MicrophonePreferences-DwsTYfON.js.gz +0 -0
- package/app/dist/assets/ModelReasoningMenu-Dth3XXm8.js.br +0 -0
- package/app/dist/assets/ModelReasoningMenu-Dth3XXm8.js.gz +0 -0
- package/app/dist/assets/MoonletDiff-Da65ABAI.js.br +0 -0
- package/app/dist/assets/MoonletDiff-Da65ABAI.js.gz +0 -0
- package/app/dist/assets/MoonletDiffSplit-Phl7m23w.js.br +0 -0
- package/app/dist/assets/MoonletDiffSplit-Phl7m23w.js.gz +0 -0
- package/app/dist/assets/MoonletSourceCode-C5aa88dK.js.br +0 -0
- package/app/dist/assets/MoonletSourceCode-C5aa88dK.js.gz +0 -0
- package/app/dist/assets/NewTabPage-BKkv1maV.js.br +0 -0
- package/app/dist/assets/NewTabPage-BKkv1maV.js.gz +0 -0
- package/app/dist/assets/NewThreadComposer-00DY4i8k.js.br +0 -0
- package/app/dist/assets/NewThreadComposer-00DY4i8k.js.gz +0 -0
- package/app/dist/assets/OnboardingFlow-GwpuTTqu.js.br +0 -0
- package/app/dist/assets/OnboardingFlow-GwpuTTqu.js.gz +0 -0
- package/app/dist/assets/OptionPicker-Cy_W5NWS.js.br +0 -0
- package/app/dist/assets/OptionPicker-Cy_W5NWS.js.gz +0 -0
- package/app/dist/assets/PaletteShell-CRwrb4lb.js.br +0 -0
- package/app/dist/assets/PaletteShell-CRwrb4lb.js.gz +0 -0
- package/app/dist/assets/PaneMaximizeButton-CMp4cCoZ.js.br +0 -0
- package/app/dist/assets/PaneMaximizeButton-CMp4cCoZ.js.gz +0 -0
- package/app/dist/assets/PierreLineSelectionActions-BXbCJV8P.js.br +0 -0
- package/app/dist/assets/PierreLineSelectionActions-BXbCJV8P.js.gz +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-CuKRaAaL.js.br +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-CuKRaAaL.js.gz +0 -0
- package/app/dist/assets/PluginSettingsSections-DJo5h7Qh.js.br +0 -0
- package/app/dist/assets/PluginSettingsSections-DJo5h7Qh.js.gz +0 -0
- package/app/dist/assets/PluginThreadChat-BV6OMCzu.js.br +0 -0
- package/app/dist/assets/PluginThreadChat-BV6OMCzu.js.gz +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-DdF6YsSg.js.br +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-DdF6YsSg.js.gz +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-CtbI4XxM.js.br +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-CtbI4XxM.js.gz +0 -0
- package/app/dist/assets/ProjectsSettingsSection-BT1kXbPn.js.br +0 -0
- package/app/dist/assets/ProjectsSettingsSection-BT1kXbPn.js.gz +0 -0
- package/app/dist/assets/QueuedMessagesList-D1aAchqp.js.br +0 -0
- package/app/dist/assets/QueuedMessagesList-D1aAchqp.js.gz +0 -0
- package/app/dist/assets/RemotePathBrowser-vPIL8lVm.js.br +0 -0
- package/app/dist/assets/RemotePathBrowser-vPIL8lVm.js.gz +0 -0
- package/app/dist/assets/RootComposeView-DV6JGFlA.js.br +0 -0
- package/app/dist/assets/RootComposeView-DV6JGFlA.js.gz +0 -0
- package/app/dist/assets/SecondaryPanelLayout-BpHDgFJ_.js.br +0 -0
- package/app/dist/assets/SecondaryPanelLayout-BpHDgFJ_.js.gz +0 -0
- package/app/dist/assets/ServerMoveOverlayView-CGkGzv8t.js.br +0 -0
- package/app/dist/assets/ServerMoveOverlayView-CGkGzv8t.js.gz +0 -0
- package/app/dist/assets/SettingsSidebar-1XC0Uxwo.js.br +0 -0
- package/app/dist/assets/SettingsSidebar-1XC0Uxwo.js.gz +0 -0
- package/app/dist/assets/SettingsView-BUobmesT.js +0 -7
- package/app/dist/assets/SettingsView-BUobmesT.js.br +0 -0
- package/app/dist/assets/SettingsView-BUobmesT.js.gz +0 -0
- package/app/dist/assets/SidebarFooterCustomize-D7sLYPwD.js.br +0 -0
- package/app/dist/assets/SidebarFooterCustomize-D7sLYPwD.js.gz +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-DpTzFoGl.js.br +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-DpTzFoGl.js.gz +0 -0
- package/app/dist/assets/SourceCodeHost-DVEXLJK1.js.br +0 -0
- package/app/dist/assets/SourceCodeHost-DVEXLJK1.js.gz +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-BfxQQdOx.js.br +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-BfxQQdOx.js.gz +0 -0
- package/app/dist/assets/TerminalOutputBlock-COQNamKR.js.br +0 -0
- package/app/dist/assets/TerminalOutputBlock-COQNamKR.js.gz +0 -0
- package/app/dist/assets/ThreadActionsMenu-064Gcy7T.js.br +0 -0
- package/app/dist/assets/ThreadActionsMenu-064Gcy7T.js.gz +0 -0
- package/app/dist/assets/ThreadDetailView-CjoXzweq.js.br +0 -0
- package/app/dist/assets/ThreadDetailView-CjoXzweq.js.gz +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-CwdePsHK.js.br +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-CwdePsHK.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-CtYtgTla.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-CtYtgTla.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-BNQi8b2n.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-BNQi8b2n.js.gz +0 -0
- package/app/dist/assets/ThreadStatusGlyph-DxxHDn0P.js.br +0 -0
- package/app/dist/assets/ThreadStatusGlyph-DxxHDn0P.js.gz +0 -0
- package/app/dist/assets/ThreadTerminalPanel-fb5Kk0KG.js.br +0 -0
- package/app/dist/assets/ThreadTerminalPanel-fb5Kk0KG.js.gz +0 -0
- package/app/dist/assets/ThreadTerminalView-BiGdt3Fd.js.br +0 -0
- package/app/dist/assets/ThreadTerminalView-BiGdt3Fd.js.gz +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-epkIpS1J.js.br +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-epkIpS1J.js.gz +0 -0
- package/app/dist/assets/TimelineDetailScroll-D8gge5Y9.js.br +0 -0
- package/app/dist/assets/TimelineDetailScroll-D8gge5Y9.js.gz +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-BJt7kifl.js.br +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-BJt7kifl.js.gz +0 -0
- package/app/dist/assets/TimelineSelectionMenu-DrK39LAT.js.br +0 -0
- package/app/dist/assets/TimelineSelectionMenu-DrK39LAT.js.gz +0 -0
- package/app/dist/assets/ToolsView-4tUvUv2U.js.br +0 -0
- package/app/dist/assets/ToolsView-4tUvUv2U.js.gz +0 -0
- package/app/dist/assets/ToolsViewSplits-BWOxgNc1.js.br +0 -0
- package/app/dist/assets/ToolsViewSplits-BWOxgNc1.js.gz +0 -0
- package/app/dist/assets/WaveformVisualizer-C1SzIkiu.js.br +0 -0
- package/app/dist/assets/WaveformVisualizer-C1SzIkiu.js.gz +0 -0
- package/app/dist/assets/app-fixed-tab-navigation-Cv4Tj7xZ.js.br +0 -0
- package/app/dist/assets/app-fixed-tab-navigation-Cv4Tj7xZ.js.gz +0 -0
- package/app/dist/assets/audio-input-device-preference-D8tr0bqw.js.br +0 -0
- package/app/dist/assets/audio-input-device-preference-D8tr0bqw.js.gz +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-VYrnz8Hl.js.br +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-VYrnz8Hl.js.gz +0 -0
- package/app/dist/assets/browser-url-jhAVtSw2.js.br +0 -0
- package/app/dist/assets/browser-url-jhAVtSw2.js.gz +0 -0
- package/app/dist/assets/checkbox-qaQbU8-H.js.br +0 -0
- package/app/dist/assets/checkbox-qaQbU8-H.js.gz +0 -0
- package/app/dist/assets/code-loading-skeletons-pfQDO26Y.js.br +0 -0
- package/app/dist/assets/code-loading-skeletons-pfQDO26Y.js.gz +0 -0
- package/app/dist/assets/detail-card-C3OH86kJ.js.br +0 -0
- package/app/dist/assets/detail-card-C3OH86kJ.js.gz +0 -0
- package/app/dist/assets/diff-stats-tally-DkIHmiEl.js.br +0 -0
- package/app/dist/assets/diff-stats-tally-DkIHmiEl.js.gz +0 -0
- package/app/dist/assets/dist-CWXlD45B.js.br +0 -0
- package/app/dist/assets/dist-CWXlD45B.js.gz +0 -0
- package/app/dist/assets/environment-mutations-BrA6u8Ev.js.br +0 -0
- package/app/dist/assets/environment-mutations-BrA6u8Ev.js.gz +0 -0
- package/app/dist/assets/environment-workspace-display-0oqBMXMB.js.br +0 -0
- package/app/dist/assets/environment-workspace-display-0oqBMXMB.js.gz +0 -0
- package/app/dist/assets/event-code-block-BfPSBXNn.js.br +0 -0
- package/app/dist/assets/event-code-block-BfPSBXNn.js.gz +0 -0
- package/app/dist/assets/expandable-text-01SvfXRm.js.br +0 -0
- package/app/dist/assets/expandable-text-01SvfXRm.js.gz +0 -0
- package/app/dist/assets/file-path-link-Ddg7Fzor.js.br +0 -0
- package/app/dist/assets/file-path-link-Ddg7Fzor.js.gz +0 -0
- package/app/dist/assets/host-mutations-CAtir6jv.js.br +0 -0
- package/app/dist/assets/host-mutations-CAtir6jv.js.gz +0 -0
- package/app/dist/assets/icon-extended-D2fR2GTF.js.br +0 -0
- package/app/dist/assets/icon-extended-D2fR2GTF.js.gz +0 -0
- package/app/dist/assets/image-lightbox-Dhmri6WK.js.br +0 -0
- package/app/dist/assets/image-lightbox-Dhmri6WK.js.gz +0 -0
- package/app/dist/assets/index-5EQKiTkW.css +0 -2
- package/app/dist/assets/index-5EQKiTkW.css.br +0 -0
- package/app/dist/assets/index-5EQKiTkW.css.gz +0 -0
- package/app/dist/assets/index-CfvM6UcU.js.br +0 -0
- package/app/dist/assets/index-CfvM6UcU.js.gz +0 -0
- package/app/dist/assets/inline-rename-editor-Bg8SXoZ3.js.br +0 -0
- package/app/dist/assets/inline-rename-editor-Bg8SXoZ3.js.gz +0 -0
- package/app/dist/assets/launcherRow-CqPaUYWn.js.br +0 -0
- package/app/dist/assets/launcherRow-CqPaUYWn.js.gz +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-DP-bXSL8.js.br +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-DP-bXSL8.js.gz +0 -0
- package/app/dist/assets/markdown-html-BU8qsXmq.js.br +0 -0
- package/app/dist/assets/markdown-html-BU8qsXmq.js.gz +0 -0
- package/app/dist/assets/markdown-local-file-link-D-MSnVWD.js.br +0 -0
- package/app/dist/assets/markdown-local-file-link-D-MSnVWD.js.gz +0 -0
- package/app/dist/assets/markdown-preview-BLL1QuNp.js.br +0 -0
- package/app/dist/assets/markdown-preview-BLL1QuNp.js.gz +0 -0
- package/app/dist/assets/markdown-prompt-mentions-B5LVmCbO.js.br +0 -0
- package/app/dist/assets/markdown-prompt-mentions-B5LVmCbO.js.gz +0 -0
- package/app/dist/assets/model-load-error-message-Dmp1hUNg.js.br +0 -0
- package/app/dist/assets/model-load-error-message-Dmp1hUNg.js.gz +0 -0
- package/app/dist/assets/onboarding-telemetry-BSt5c7Sg.js +0 -1
- package/app/dist/assets/open-in-editor-button-D0wnpT6x.js.br +0 -0
- package/app/dist/assets/open-in-editor-button-D0wnpT6x.js.gz +0 -0
- package/app/dist/assets/page-shell-CgSxnF9m.js.br +0 -0
- package/app/dist/assets/page-shell-CgSxnF9m.js.gz +0 -0
- package/app/dist/assets/pierre-worker-pool-CHGWu76e.js.br +0 -0
- package/app/dist/assets/pierre-worker-pool-CHGWu76e.js.gz +0 -0
- package/app/dist/assets/plugin-detail-navigation-DuR8_JCx.js.br +0 -0
- package/app/dist/assets/plugin-detail-navigation-DuR8_JCx.js.gz +0 -0
- package/app/dist/assets/plugin-frontend-D5ijLuKC.js.br +0 -0
- package/app/dist/assets/plugin-frontend-D5ijLuKC.js.gz +0 -0
- package/app/dist/assets/plugin-ui-Dpa8hcuk.js.br +0 -0
- package/app/dist/assets/plugin-ui-Dpa8hcuk.js.gz +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-Czaq8Cl9.js.br +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-Czaq8Cl9.js.gz +0 -0
- package/app/dist/assets/queued-messages-layout-B5xwiued.js.br +0 -0
- package/app/dist/assets/queued-messages-layout-B5xwiued.js.gz +0 -0
- package/app/dist/assets/resource-list-BKpxiO2e.js.br +0 -0
- package/app/dist/assets/resource-list-BKpxiO2e.js.gz +0 -0
- package/app/dist/assets/root-compose-create-preference-BeAvwSHy.js +0 -1
- package/app/dist/assets/settings-nav-C9-jh_HN.js.br +0 -0
- package/app/dist/assets/settings-nav-C9-jh_HN.js.gz +0 -0
- package/app/dist/assets/settings-sections-BMr_XU5l.js.br +0 -0
- package/app/dist/assets/settings-sections-BMr_XU5l.js.gz +0 -0
- package/app/dist/assets/sidebarTouchSensor-DG_A1RmT.js.br +0 -0
- package/app/dist/assets/sidebarTouchSensor-DG_A1RmT.js.gz +0 -0
- package/app/dist/assets/switch-BjJ8825r.js.br +0 -0
- package/app/dist/assets/switch-BjJ8825r.js.gz +0 -0
- package/app/dist/assets/thread-event-parser-ma5CGP66.js.br +0 -0
- package/app/dist/assets/thread-event-parser-ma5CGP66.js.gz +0 -0
- package/app/dist/assets/thread-panel-queries-BXeOzk_6.js.br +0 -0
- package/app/dist/assets/thread-panel-queries-BXeOzk_6.js.gz +0 -0
- package/app/dist/assets/thread-runtime-mutations-DmKkyel0.js.br +0 -0
- package/app/dist/assets/thread-runtime-mutations-DmKkyel0.js.gz +0 -0
- package/app/dist/assets/thread-terminal-queries-AFVZ5K6p.js.br +0 -0
- package/app/dist/assets/thread-terminal-queries-AFVZ5K6p.js.gz +0 -0
- package/app/dist/assets/threadRecentItems-DXsdcpBk.js.br +0 -0
- package/app/dist/assets/threadRecentItems-DXsdcpBk.js.gz +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-DwKd-s_5.js.br +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-DwKd-s_5.js.gz +0 -0
- package/app/dist/assets/title-bar-scroll-fade-Dw_BPLyx.js.br +0 -0
- package/app/dist/assets/title-bar-scroll-fade-Dw_BPLyx.js.gz +0 -0
- package/app/dist/assets/use-hover-popover-DzrAfLzd.js.br +0 -0
- package/app/dist/assets/use-hover-popover-DzrAfLzd.js.gz +0 -0
- package/app/dist/assets/useElementWidth-Kv5FX-9C.js.br +0 -0
- package/app/dist/assets/useElementWidth-Kv5FX-9C.js.gz +0 -0
- package/app/dist/assets/useLocalOpenTargets-B7rqz64L.js.br +0 -0
- package/app/dist/assets/useLocalOpenTargets-B7rqz64L.js.gz +0 -0
- package/app/dist/assets/usePanelResizeSnap-Dizp45Ab.js.br +0 -0
- package/app/dist/assets/usePanelResizeSnap-Dizp45Ab.js.gz +0 -0
- package/app/dist/assets/usePanelTerminals-ByzphxXd.js.br +0 -0
- package/app/dist/assets/usePanelTerminals-ByzphxXd.js.gz +0 -0
- package/app/dist/assets/usePathSuggestions-Bd5UhdCh.js.br +0 -0
- package/app/dist/assets/usePathSuggestions-Bd5UhdCh.js.gz +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-x5Gd-Gzx.js.br +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-x5Gd-Gzx.js.gz +0 -0
- package/app/dist/assets/useThreadTerminalController-CUnfO0Da.js.br +0 -0
- package/app/dist/assets/useThreadTerminalController-CUnfO0Da.js.gz +0 -0
- package/app/dist/assets/workspace-change-summary-CLNpSq_E.js.br +0 -0
- package/app/dist/assets/workspace-change-summary-CLNpSq_E.js.gz +0 -0
- package/app/dist/assets/workspace-checkout-display-Aad1Wxi4.js.br +0 -0
- package/app/dist/assets/workspace-checkout-display-Aad1Wxi4.js.gz +0 -0
- package/host-daemon/dist/moonlet-chunks/chunk-4XWRV5U3.js +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var G9=Object.defineProperty;var v=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}};var $e=(e,t)=>{for(var r in t)G9(e,r,{get:t[r],enumerable:!0})};function qf(e){if(jl!==e){jl=e;for(let t of Wl)t()}}function Yi(){return jl}function Gf(e){return Wl.add(e),()=>{Wl.delete(e)}}var Kf,jl,Wl,Vl=v(()=>{"use strict";Kf=["AiBrowser","AiContentGenerator01","AlignLeft","AppWindow","ArchiveRestore","ArrowDown","ArrowRight","ArrowReloadHorizontal","ArrowUp","ArrowUpDown","ArrowTurnBackward","ArrowTurnForward","ArrowUpRight","Beaker","Browser","Brain","Calendar","CalendarCheckOut02","ChartColumn","ChevronUp","ChevronsDown","ChevronsUp","CircleArrowShrink","Clean","Clock","Cloud","CloudOff","Coffee","Columns2","CornerDownLeft","CornerDownRight","Discord","DateTime","Github","DragDropHorizontal","DragDropVertical","EditFile","ElectricPlugs","Eye","EyeOff","Explore","ExternalLink","FileDiff","File","FileAttachment","FileQuestion","FileText","FolderOpen","FolderEdit","FolderMinus","Fork","GitBranch","GitMerge","GitPullRequest","GitPullRequestArrow","GitPullRequestClosed","GitPullRequestDraft","Globe","GridView","Laptop","Layers","Limitation","ListView","Lock","Mail","MailOpen","Maximize2","Mic","Minimize2","NewTab","PackageReceive","Palette","PanelBottom","PanelRight","Paperclip","Pause","Pin","PinOff","Play","Plus","Puzzle","Repeat","RotateCcw","Rows2","SecurityCheck","Sent","SideChat","Smartphone","Sort","Square","SquareUnlock02","Star","TextWrap","TimeSchedule","UserRound","ZoomIn","ZoomOut"],jl=null,Wl=new Set});var Jf,Yf=v(()=>{Jf=[["path",{d:"M18.4737 15.5215C18.4795 15.4928 18.5205 15.4928 18.5263 15.5215C18.8302 17.0081 19.9919 18.1698 21.4785 18.4737C21.5072 18.4795 21.5072 18.5205 21.4785 18.5263C19.9919 18.8302 18.8302 19.9919 18.5263 21.4785C18.5205 21.5072 18.4795 21.5072 18.4737 21.4785C18.1698 19.9919 17.0081 18.8302 15.5215 18.5263C15.4928 18.5205 15.4928 18.4795 15.5215 18.4737C17.0081 18.1698 18.1698 17.0081 18.4737 15.5215Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 7.5H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.5 20.5H10.5C6.72876 20.5 4.84315 20.5 3.67157 19.3284C2.5 18.1569 2.5 16.2712 2.5 12.5V10.5C2.5 6.72876 2.5 4.84315 3.67157 3.67157C4.84315 2.5 6.72876 2.5 10.5 2.5H12.5C16.2712 2.5 18.1569 2.5 19.3284 3.67157C20.5 4.84315 20.5 6.72876 20.5 10.5V12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var Xf,Qf=v(()=>{Xf=[["path",{d:"M11 21H10C6.22876 21 4.34315 21 3.17157 19.8284C2 18.6569 2 16.7712 2 13V10C2 6.22876 2 4.34315 3.17157 3.17157C4.34315 2 6.22876 2 10 2H12C15.7712 2 17.6569 2 18.8284 3.17157C20 4.34315 20 6.22876 20 10V10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.4069 14.4036C17.6192 13.8655 18.3808 13.8655 18.5931 14.4036L18.6298 14.4969C19.1482 15.8113 20.1887 16.8518 21.5031 17.3702L21.5964 17.4069C22.1345 17.6192 22.1345 18.3808 21.5964 18.5931L21.5031 18.6298C20.1887 19.1482 19.1482 20.1887 18.6298 21.5031L18.5931 21.5964C18.3808 22.1345 17.6192 22.1345 17.4069 21.5964L17.3702 21.5031C16.8518 20.1887 15.8113 19.1482 14.4969 18.6298L14.4036 18.5931C13.8655 18.3808 13.8655 17.6192 14.4036 17.4069L14.4969 17.3702C15.8113 16.8518 16.8518 15.8113 17.3702 14.4969L17.4069 14.4036Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7 7H15M7 11.5H15M7 16H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var em,tm=v(()=>{em=[["path",{d:"M12 18.502V5.00195",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 13.002C18 13.002 13.5811 19.0019 12 19.002C10.4188 19.002 6 13.002 6 13.002",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var rm,nm=v(()=>{rm=[["path",{d:"M17.9997 12.5C17.9997 12.5 13.5807 18.5 11.9996 18.5C10.4185 18.5 5.99966 12.5 5.99966 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.9997 5.50005C17.9997 5.50005 13.5807 11.5 11.9996 11.5C10.4185 11.5 5.99966 5.5 5.99966 5.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var om,im=v(()=>{om=[["path",{d:"M20 3V5.07692C20 7.07786 20 8.07833 19.8547 8.91545C19.0547 13.5235 15.0934 17.1376 10.0426 17.8674C9.12509 18 7.19318 18 5 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 21C6.39316 20.4102 4 18.8403 4 18C4 17.1597 6.39316 15.5898 7 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var sm,am=v(()=>{sm=[["path",{d:"M4 3V5.07692C4 7.07786 4 8.07833 4.14533 8.91545C4.94529 13.5235 8.90656 17.1376 13.9574 17.8674C14.8749 18 16.8068 18 19 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 21C17.6068 20.4102 20 18.8403 20 18C20 17.1597 17.6068 15.5898 17 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var um,cm=v(()=>{um=[["path",{d:"M20.5 5.5H9.5C5.78672 5.5 3 8.18503 3 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3.5 18.5H14.5C18.2133 18.5 21 15.815 21 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18.5 3C18.5 3 21 4.84122 21 5.50002C21 6.15882 18.5 8 18.5 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M5.49998 16C5.49998 16 3.00001 17.8412 3 18.5C2.99999 19.1588 5.5 21 5.5 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var lm,dm=v(()=>{lm=[["path",{d:"M18.5 12L4.99997 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 18C13 18 19 13.5811 19 12C19 10.4188 13 6 13 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var pm,fm=v(()=>{pm=[["path",{d:"M11 6H15.5C17.9853 6 20 8.01472 20 10.5C20 12.9853 17.9853 15 15.5 15H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6.99998 12C6.99998 12 4.00001 14.2095 4 15C3.99999 15.7906 7 18 7 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var mm,hm=v(()=>{mm=[["path",{d:"M13 6H8.5C6.01472 6 4 8.01472 4 10.5C4 12.9853 6.01472 15 8.5 15H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 12C17 12 20 14.2095 20 15C20 15.7906 17 18 17 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var km,gm=v(()=>{km=[["path",{d:"M17.9998 15C17.9998 15 13.5809 9.00001 11.9998 9C10.4187 8.99999 5.99985 15 5.99985 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var Cm,ym=v(()=>{Cm=[["path",{d:"M12 5.5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 11C18 11 13.5811 5.00001 12 5C10.4188 4.99999 6 11 6 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var bm,xm=v(()=>{bm=[["path",{d:"M18 11.5C18 11.5 13.5811 5.50001 12 5.5C10.4188 5.49999 6 11.5 6 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 18.5C18 18.5 13.5811 12.5 12 12.5C10.4188 12.5 6 18.5 6 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var vm,wm=v(()=>{vm=[["path",{d:"M7 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 19L17 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 6.99998C10 6.99998 7.79053 4.00001 6.99998 4C6.20942 3.99999 4 7 4 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M20 17C20 17 17.7905 20 17 20C16.2094 20 14 17 14 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var _m,Lm=v(()=>{_m=[["path",{d:"M9 6.65032C9 6.65032 15.9383 6.10759 16.9154 7.08463C17.8924 8.06167 17.3496 15 17.3496 15M16.5 7.5L6.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var $m,Im=v(()=>{$m=[["path",{d:"M19.5 12.0001V13.5001C19.5 17.6422 16.1421 21.0001 12 21.0001C7.85786 21.0001 4.5 17.6422 4.5 13.5001V8C4.5 5.23858 6.73858 3 9.5 3C12.2614 3 14.5 5.23858 14.5 8V13.5C14.5 14.8807 13.3807 16 12 16C10.6193 16 9.5 14.8807 9.5 13.5V9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var Sm,zm=v(()=>{Sm=[["path",{d:"M15.5 7H8.5M12.499 11H8.49902",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20 22H6C4.89543 22 4 21.1046 4 20M4 20C4 18.8954 4.89543 18 6 18H20V6C20 4.11438 20 3.17157 19.4142 2.58579C18.8284 2 17.8856 2 16 2H10C7.17157 2 5.75736 2 4.87868 2.87868C4 3.75736 4 5.17157 4 8V20Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M19.5 18C19.5 18 18.5 18.7628 18.5 20C18.5 21.2372 19.5 22 19.5 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var Mm,Nm=v(()=>{Mm=[["path",{d:"M16.998 7.12652C17.3182 7.04393 17.654 7 18 7C20.2091 7 22 8.79086 22 11C22 13.2091 20.2091 15 18 15C17.6451 15 17.3009 14.9538 16.9733 14.867M16.998 7.12652C16.9993 7.08451 17 7.04233 17 7C17 4.79086 15.2091 3 13 3C11.0824 3 9.47994 4.34939 9.09041 6.15043M16.998 7.12652C16.9769 7.80763 16.7854 8.44584 16.4649 9M16.9733 14.867C16.9909 14.7472 17 14.6247 17 14.5C17 13.2905 16.1411 12.2816 15 12.05M16.9733 14.867C16.7957 16.0737 15.756 17 14.5 17H14C11.7909 17 10 18.7909 10 21M9.09041 6.15043C8.74377 6.05243 8.37801 6 8 6C5.79086 6 4 7.79086 4 10C4 10.3886 4.05542 10.7643 4.15878 11.1195M9.09041 6.15043C10.1015 6.43625 10.9498 7.10965 11.4649 8M4.15878 11.1195C2.9114 11.4832 2 12.6352 2 14C2 15.6569 3.34315 17 5 17C6.30622 17 7.41746 16.1652 7.82929 15M4.15878 11.1195C4.24921 11.4303 4.37632 11.7255 4.53513 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.8361 11.7435C11.3257 12.2353 10.453 12.3202 9.70713 11.9008C8.9612 11.4814 8.58031 10.6917 8.73535 10",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var Bl,Pm=v(()=>{Bl=[["path",{d:"M3 12C3 7.75736 3 5.63604 4.31802 4.31802C5.63604 3 7.75736 3 12 3C16.2426 3 18.364 3 19.682 4.31802C21 5.63604 21 7.75736 21 12C21 16.2426 21 18.364 19.682 19.682C18.364 21 16.2426 21 12 21C7.75736 21 5.63604 21 4.31802 19.682C3 18.364 3 16.2426 3 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 9H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Am,Tm=v(()=>{Am=[["path",{d:"M16 2V6M8 2V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 10H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12.1258 14H12.0008M12.1258 18H12.0008M7.625 14H7.5M7.625 18H7.5M16.625 14H16.5M12.2508 14C12.2508 14.1381 12.1389 14.25 12.0008 14.25C11.8628 14.25 11.7508 14.1381 11.7508 14C11.7508 13.8619 11.8628 13.75 12.0008 13.75C12.1389 13.75 12.2508 13.8619 12.2508 14ZM12.2508 18C12.2508 18.1381 12.1389 18.25 12.0008 18.25C11.8628 18.25 11.7508 18.1381 11.7508 18C11.7508 17.8619 11.8628 17.75 12.0008 17.75C12.1389 17.75 12.2508 17.8619 12.2508 18ZM7.75 14C7.75 14.1381 7.63807 14.25 7.5 14.25C7.36193 14.25 7.25 14.1381 7.25 14C7.25 13.8619 7.36193 13.75 7.5 13.75C7.63807 13.75 7.75 13.8619 7.75 14ZM7.75 18C7.75 18.1381 7.63807 18.25 7.5 18.25C7.36193 18.25 7.25 18.1381 7.25 18C7.25 17.8619 7.36193 17.75 7.5 17.75C7.63807 17.75 7.75 17.8619 7.75 18ZM16.75 14C16.75 14.1381 16.6381 14.25 16.5 14.25C16.3619 14.25 16.25 14.1381 16.25 14C16.25 13.8619 16.3619 13.75 16.5 13.75C16.6381 13.75 16.75 13.8619 16.75 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var Em,Om=v(()=>{Em=[["path",{d:"M16 2V6M8 2V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 10H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M13.5 18.5C14.0057 18.0085 16 16.7002 16 16C16 15.2998 14.0057 13.9915 13.5 13.5M15.5 16L9 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var Rm,Zm=v(()=>{Rm=[["path",{d:"M8 9V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 5V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 13V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var Dm,jm=v(()=>{Dm=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.115 11.1151C11.6324 10.5977 11.5463 8.4 11.5463 8.4M11.115 11.1151C10.5977 11.6324 8.4 11.5462 8.4 11.5462M11.115 11.1151L7.5 7.5M12.8882 12.8882C13.4055 12.3708 15.6032 12.4569 15.6032 12.4569M12.8882 12.8882C12.3709 13.4055 12.457 15.6032 12.457 15.6032M12.8882 12.8882L16.5 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Wm,Vm=v(()=>{Wm=[["path",{d:"M21 3L13 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.44573 11.0854C6.96539 12.0368 4.98269 11.8736 3 11.0885C3.50059 17.531 6.50414 20.0089 10.5089 21C10.5089 21 13.5261 18.8664 13.961 13.8074C14.0081 13.2595 14.0317 12.9856 13.9178 12.6769C13.8038 12.3682 13.5802 12.1468 13.1329 11.704C12.3973 10.9757 12.0295 10.6116 11.5929 10.5204C11.1564 10.4293 10.5862 10.648 9.44573 11.0854Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4.5 16.4464C4.5 16.4464 7 16.9286 9.5 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M8.5 7.25C8.5 7.94036 7.94036 8.5 7.25 8.5C6.55964 8.5 6 7.94036 6 7.25C6 6.55964 6.55964 6 7.25 6C7.94036 6 8.5 6.55964 8.5 7.25Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M11.125 4H11M11.25 4C11.25 4.13807 11.1381 4.25 11 4.25C10.8619 4.25 10.75 4.13807 10.75 4C10.75 3.86193 10.8619 3.75 11 3.75C11.1381 3.75 11.25 3.86193 11.25 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]});var Bm,Fm=v(()=>{Bm=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12L14 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Hm,Um=v(()=>{Hm=[["path",{d:"M17.4776 10.0001C17.485 10 17.4925 10 17.5 10C19.9853 10 22 12.0147 22 14.5C22 16.9853 19.9853 19 17.5 19H7C4.23858 19 2 16.7614 2 14C2 11.4003 3.98398 9.26407 6.52042 9.0227M17.4776 10.0001C17.4924 9.83536 17.5 9.66856 17.5 9.5C17.5 6.46243 15.0376 4 12 4C9.12324 4 6.76233 6.20862 6.52042 9.0227M17.4776 10.0001C17.3753 11.1345 16.9286 12.1696 16.2428 13M6.52042 9.0227C6.67826 9.00768 6.83823 9 7 9C8.12582 9 9.16474 9.37209 10.0005 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var Km,qm=v(()=>{Km=[["path",{d:"M17.4776 10.5001C17.485 10.5 17.4925 10.5 17.5 10.5C19.9853 10.5 22 12.5147 22 15C22 15.8582 21.7597 16.6604 21.3428 17.3428M17.4776 10.5001C17.4924 10.3354 17.5 10.1686 17.5 10C17.5 6.96243 15.0376 4.5 12 4.5C10.9945 4.5 10.052 4.76982 9.24101 5.24101M17.4776 10.5001C17.4039 11.3178 17.1512 12.0839 16.759 12.759M6.52042 9.5227C3.98398 9.76407 2 11.9003 2 14.5C2 17.2614 4.23858 19.5 7 19.5H17.5C18.0928 19.5 18.6588 19.3854 19.1771 19.1771M6.52042 9.5227C6.67826 9.50768 6.83823 9.5 7 9.5C8.12582 9.5 9.16474 9.87209 10.0005 10.5M6.52042 9.5227C6.59145 8.69641 6.84518 7.92232 7.24101 7.24101",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 2L22 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Gm,Jm=v(()=>{Gm=[["path",{d:"M18.2505 10.5H19.6403C21.4918 10.5 22.0421 10.7655 21.9975 12.0838C21.9237 14.2674 20.939 16.8047 17 17.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5.94627 20.6145C2.57185 18.02 2.07468 14.3401 2.00143 10.5001C1.96979 8.8413 2.45126 8.5 4.65919 8.5H15.3408C17.5487 8.5 18.0302 8.8413 17.9986 10.5001C17.9253 14.3401 17.4281 18.02 14.0537 20.6145C13.0934 21.3528 12.2831 21.5 10.9194 21.5H9.08064C7.71686 21.5 6.90658 21.3528 5.94627 20.6145Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11.3089 2.5C10.7622 2.83861 10.0012 4 10.0012 5.5M7.53971 4C7.53971 4 7 4.5 7 5.5M14.0012 4C13.7279 4.1693 13.5 5 13.5 5.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var Ym,Xm=v(()=>{Ym=[["path",{d:"M13 4L13 7.00002C13 8.88563 13.0001 9.82843 13.5858 10.4142C14.1716 11 15.1144 11 17 11L20 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.0001 20L11 17C11 15.1144 11 14.1715 10.4142 13.5858C9.82843 13 8.88563 13 7.00002 13L4.00006 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Qm,e5=v(()=>{Qm=[["path",{d:"M6.3 2.75143C5.26076 2.94471 4.49591 3.28657 3.89124 3.89124C3.28657 4.49591 2.94471 5.26076 2.75143 6.3M17.7 2.75143C18.7392 2.94471 19.5041 3.28657 20.1088 3.89124C20.7134 4.49591 21.0553 5.26076 21.2486 6.3M13.9 2.50495C13.3156 2.5 12.6839 2.5 12 2.5C11.3161 2.5 10.6844 2.5 10.1 2.50495M21.495 10.1C21.5 10.6844 21.5 11.3161 21.5 12C21.5 12.6839 21.5 13.3156 21.495 13.9001M2.50495 10.1C2.5 10.6844 2.5 11.3161 2.5 12C2.5 12.6839 2.5 13.3156 2.50496 13.9001M2.75143 17.7C2.94471 18.7392 3.28657 19.5041 3.89124 20.1088C4.49591 20.7134 5.26076 21.0553 6.3 21.2486M21.2486 17.7C21.0553 18.7392 20.7134 19.5041 20.1088 20.1088C19.5041 20.7134 18.7392 21.0553 17.7 21.2486M13.9 21.495C13.3156 21.5 12.6839 21.5 12 21.5C11.3162 21.5 10.6845 21.5 10.1002 21.495",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var t5,r5=v(()=>{t5=[["path",{d:"M16 2V6M8 2V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 10H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18.2671 18.7011L17 18V16.2668M21 18C21 20.2091 19.2091 22 17 22C14.7909 22 13 20.2091 13 18C13 15.7909 14.7909 14 17 14C19.2091 14 21 15.7909 21 18Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var n5,o5=v(()=>{n5=[["path",{d:"M15.5 17.5C16.5 19 17.3333 19.6667 18 20C19.3333 19.6667 22 18.2 22 15C22 11.8 20.6667 7.33333 20 5.5C18 4.3 15.8333 4 15 4L14.198 5.60393C13.4135 5.28708 12.4058 5.25438 12 5.27763C11.5942 5.25438 10.5865 5.28708 9.80197 5.60393L9 4C8.16667 4 6 4.3 4 5.5C3.33333 7.33333 2 11.8 2 15C2 18.2 4.66667 19.6667 6 20C6.66667 19.6667 7.5 19 8.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.3652 11.5C17.3652 12.6046 16.5817 13.5 15.6152 13.5C14.6487 13.5 13.8652 12.6046 13.8652 11.5C13.8652 10.3954 14.6487 9.5 15.6152 9.5C16.5817 9.5 17.3652 10.3954 17.3652 11.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 11.5C10 12.6046 9.2165 13.5 8.25 13.5C7.2835 13.5 6.5 12.6046 6.5 11.5C6.5 10.3954 7.2835 9.5 8.25 9.5C9.2165 9.5 10 10.3954 10 11.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M17.5 16.5C16.4022 17.3967 14.3502 18 12 18C9.64981 18 7.59785 17.3967 6.5 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var i5,s5=v(()=>{i5=[["path",{d:"M6 8C6.55228 8 7 8.44772 7 9C7 9.55228 6.55228 10 6 10C5.44772 10 5 9.55228 5 9C5 8.44772 5.44772 8 6 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6 14C6.55228 14 7 14.4477 7 15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15C5 14.4477 5.44772 14 6 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 8C18.5523 8 19 8.44772 19 9C19 9.55228 18.5523 10 18 10C17.4477 10 17 9.55228 17 9C17 8.44772 17.4477 8 18 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 8C12.5523 8 13 8.44772 13 9C13 9.55228 12.5523 10 12 10C11.4477 10 11 9.55228 11 9C11 8.44772 11.4477 8 12 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M18 14C18.5523 14 19 14.4477 19 15C19 15.5523 18.5523 16 18 16C17.4477 16 17 15.5523 17 15C17 14.4477 17.4477 14 18 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M12 14C12.5523 14 13 14.4477 13 15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15C11 14.4477 11.4477 14 12 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]]});var a5,u5=v(()=>{a5=[["path",{d:"M16 6C16 6.55228 15.5523 7 15 7C14.4477 7 14 6.55228 14 6C14 5.44772 14.4477 5 15 5C15.5523 5 16 5.44772 16 6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10 6C10 6.55228 9.55228 7 9 7C8.44772 7 8 6.55228 8 6C8 5.44772 8.44772 5 9 5C9.55228 5 10 5.44772 10 6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16 18C16 18.5523 15.5523 19 15 19C14.4477 19 14 18.5523 14 18C14 17.4477 14.4477 17 15 17C15.5523 17 16 17.4477 16 18Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M16 12C16 12.5523 15.5523 13 15 13C14.4477 13 14 12.5523 14 12C14 11.4477 14.4477 11 15 11C15.5523 11 16 11.4477 16 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M10 18C10 18.5523 9.55228 19 9 19C8.44772 19 8 18.5523 8 18C8 17.4477 8.44772 17 9 17C9.55228 17 10 17.4477 10 18Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M10 12C10 12.5523 9.55228 13 9 13C8.44772 13 8 12.5523 8 12C8 11.4477 8.44772 11 9 11C9.55228 11 10 11.4477 10 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]]});var c5,l5=v(()=>{c5=[["path",{d:"M8.17151 19.8284L19.8284 8.17157C20.3736 7.62632 20.6462 7.3537 20.792 7.0596C21.0693 6.50005 21.0693 5.8431 20.792 5.28354C20.6462 4.98945 20.3736 4.71682 19.8284 4.17157C19.2831 3.62632 19.0105 3.3537 18.7164 3.20796C18.1568 2.93068 17.4999 2.93068 16.9403 3.20796C16.6462 3.3537 16.3736 3.62632 15.8284 4.17157L4.17151 15.8284C3.59345 16.4064 3.30442 16.6955 3.15218 17.063C2.99994 17.4305 2.99994 17.8393 2.99994 18.6568V20.9999H5.34308C6.16059 20.9999 6.56934 20.9999 6.93688 20.8477C7.30442 20.6955 7.59345 20.4064 8.17151 19.8284Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 21H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 5.5L18.5 9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var d5,p5=v(()=>{d5=[["path",{d:"M9 2L9 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 2L15 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 18L12 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12.6939 8.5L10.6029 10.6749C10.3788 10.9079 10.5394 11.2433 10.9048 11.3053L13.0952 11.6773C13.4848 11.7434 13.6334 12.1147 13.361 12.3413L10.7666 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M14.3066 5L9.69342 5C7.5551 5 6.48594 5 5.89527 5.69774C5.3046 6.39548 5.46717 7.46639 5.79232 9.60823L6.31604 13.0581C6.83606 16.4836 8.28588 18 12 18C15.7141 18 17.1639 16.4836 17.684 13.0581L18.2077 9.60823C18.5328 7.46639 18.6954 6.39548 18.1047 5.69774C17.5141 5 16.4449 5 14.3066 5Z",stroke:"currentColor",strokeWidth:"1.5",key:"4"}]]});var f5,m5=v(()=>{f5=[["path",{d:"M19 12L19 8.99996C19 7.11435 18.9999 6.17155 18.4142 5.58577C17.8284 4.99999 16.8856 4.99999 15 5L12 5.00001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5 12L5.00003 15C5.00004 16.8856 5.00005 17.8284 5.58584 18.4142C6.17163 19 7.11443 19 9.00004 19L12 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var h5,k5=v(()=>{h5=[["path",{d:"M8 7L16 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 11L12 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M13 21.5V21C13 18.1716 13 16.7574 13.8787 15.8787C14.7574 15 16.1716 15 19 15H19.5M20 13.3431V10C20 6.22876 20 4.34315 18.8284 3.17157C17.6569 2 15.7712 2 12 2C8.22877 2 6.34315 2 5.17157 3.17157C4 4.34314 4 6.22876 4 10L4 14.5442C4 17.7892 4 19.4117 4.88607 20.5107C5.06508 20.7327 5.26731 20.9349 5.48933 21.1139C6.58831 22 8.21082 22 11.4558 22C12.1614 22 12.5141 22 12.8372 21.886C12.9044 21.8623 12.9702 21.835 13.0345 21.8043C13.3436 21.6564 13.593 21.407 14.0919 20.9081L18.8284 16.1716C19.4065 15.5935 19.6955 15.3045 19.8478 14.9369C20 14.5694 20 14.1606 20 13.3431Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var g5,C5=v(()=>{g5=[["path",{d:"M4 12.0004L4 14.5446C4 17.7896 4 19.4121 4.88607 20.5111C5.06508 20.7331 5.26731 20.9354 5.48933 21.1144C6.58831 22.0004 8.21082 22.0004 11.4558 22.0004C12.1614 22.0004 12.5141 22.0004 12.8372 21.8864C12.9044 21.8627 12.9702 21.8354 13.0345 21.8047C13.3436 21.6569 13.593 21.4074 14.0919 20.9085L18.8284 16.172C19.4065 15.5939 19.6955 15.3049 19.8478 14.9374C20 14.5698 20 14.1611 20 13.3436V10.0004C20 6.22919 20 4.34358 18.8284 3.172C17.7693 2.11284 16.1265 2.01122 13.0345 2.00146M13 21.5004V21.0004C13 18.172 13 16.7578 13.8787 15.8791C14.7574 15.0004 16.1716 15.0004 19 15.0004H19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 8.23028V5.46105C4 3.54929 5.567 1.99951 7.5 1.99951C9.433 1.99951 11 3.54929 11 5.46105V9.26874C11 10.2246 10.2165 10.9995 9.25 10.9995C8.2835 10.9995 7.5 10.2246 7.5 9.26874V5.46105",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var y5,b5=v(()=>{y5=[["path",{d:"M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var x5,v5=v(()=>{x5=[["path",{d:"M3.5 14.5C3.5 13.1193 4.6193 12 6 12C7.3807 12 8.5 13.1193 8.5 14.5C8.5 15.3569 8.06886 16.1131 7.41166 16.5636C6.72833 17.0319 6 17.6716 6 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6.125 21.75H6M6.25 21.75C6.25 21.8881 6.13807 22 6 22C5.86193 22 5.75 21.8881 5.75 21.75C5.75 21.6119 5.86193 21.5 6 21.5C6.13807 21.5 6.25 21.6119 6.25 21.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M13.5 2.5V3C13.5 5.82843 13.5 7.24264 14.3787 8.12132C15.2574 9 16.6716 9 19.5 9H20M4.50394 7.98123C4.52397 5.69117 4.64575 4.40752 5.38607 3.48933C5.56507 3.26731 5.76731 3.06508 5.98932 2.88607C7.0883 2 8.71081 2 11.9558 2C12.6614 2 13.0141 2 13.3372 2.11401C13.4044 2.13772 13.4702 2.165 13.5345 2.19575C13.8435 2.34355 14.093 2.593 14.5919 3.09188L19.3284 7.82843C19.9065 8.40649 20.1955 8.69552 20.3478 9.06306C20.5 9.4306 20.5 9.83935 20.5 10.6569V14C20.5 17.7712 20.5 19.6569 19.3284 20.8284C18.1568 22 16.2712 22 12.5 22C11.7645 22 11.1007 22 10.5 21.9913",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var w5,_5=v(()=>{w5=[["path",{d:"M2 19V7.54902C2 6.10516 2 5.38322 2.24332 4.81647C2.5467 4.10985 3.10985 3.5467 3.81647 3.24332C4.38322 3 5.09805 3 6.54902 3H7.04311C7.64819 3 8.22075 3.27394 8.60041 3.74509L10.4175 6M10.4175 6H16C17.4001 6 18.1002 6 18.635 6.27248C19.1054 6.51217 19.4878 6.89462 19.7275 7.36502C20 7.8998 20 8.59987 20 10V11M10.4175 6H7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3.15802 15.5144L3.45643 14.7717C4.19029 12.9449 4.55723 12.0316 5.3224 11.5158C6.08757 11 7.07557 11 9.05157 11H17.1119C19.8004 11 21.1446 11 21.7422 11.8787C22.3397 12.7575 21.8405 14.0002 20.842 16.4856L20.5436 17.2283C19.8097 19.0551 19.4428 19.9684 18.6776 20.4842C17.9124 21 16.9244 21 14.9484 21H6.88812C4.19961 21 2.85535 21 2.25782 20.1213C1.66029 19.2425 2.15953 17.9998 3.15802 15.5144Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var L5,$5=v(()=>{L5=[["path",{d:"M8.00164 7.00013H16.754C18.8613 7.00013 19.9149 7.00013 20.6718 7.50574C20.9995 7.72462 21.2808 8.00588 21.4997 8.33346C21.8937 8.92301 21.9808 9.69265 22 11.0003M12.0027 7.00013L11.3691 5.73321C10.8442 4.68363 10.3645 3.62714 9.20122 3.19101C8.69172 3 8.10969 3 6.94562 3C5.12865 3 4.22017 3 3.53848 3.38033C3.05255 3.65144 2.6516 4.0523 2.38042 4.53811C2 5.21963 2 6.1279 2 7.94443V11.0003C2 15.7145 2 18.0716 3.46487 19.5361C4.82227 20.8931 6.94628 20.9927 11.0025 21",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 19.8268V21H15.1734C15.5827 21 15.7874 21 15.9715 20.9238C16.1555 20.8475 16.3003 20.7028 16.5897 20.4134L21.4133 15.5894C21.6864 15.3164 21.8229 15.1799 21.8959 15.0327C22.0347 14.7525 22.0347 14.4236 21.8959 14.1434C21.8229 13.9961 21.6864 13.8596 21.4133 13.5866C21.1403 13.3136 21.0038 13.1771 20.8565 13.1041C20.5763 12.9653 20.2473 12.9653 19.9671 13.1041C19.8198 13.1771 19.6833 13.3136 19.4103 13.5866L19.4103 13.5866L14.5867 18.4106C14.2972 18.7 14.1525 18.8447 14.0762 19.0287C14 19.2128 14 19.4174 14 19.8268Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var I5,S5=v(()=>{I5=[["path",{d:"M13 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C21.9796 9.05942 21.9992 10.0588 22 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M22 15L16 21M22 21L16 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var z5,M5=v(()=>{z5=[["path",{d:"M7 19H13C15.8284 19 17.2426 19 18.1213 18.1213C19 17.2426 19 15.8284 19 13V10M19 10C19.7002 10 21.0085 11.9943 21.5 12.5M19 10C18.2998 10 16.9915 11.9943 16.5 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5 7L5 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"5",cy:"5",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"19",cy:"5",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["circle",{cx:"5",cy:"19",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"4"}]]});var N5,P5=v(()=>{N5=[["path",{d:"M6 8C7.10457 8 8 7.10457 8 6C8 4.89543 7.10457 4 6 4C4.89543 4 4 4.89543 4 6C4 7.10457 4.89543 8 6 8Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 20C13.1046 20 14 19.1046 14 18C14 16.8954 13.1046 16 12 16C10.8954 16 10 16.8954 10 18C10 19.1046 10.8954 20 12 20Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M6.01734 8.74067C6.01734 10.4142 5.77537 12.1995 9.22051 11.9855H12.0053M17.9929 8.57617C18.1259 11.9855 16.9199 11.7648 15.7861 11.9855H12.0053M12.0053 15.7001V11.9855",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var A5,T5=v(()=>{A5=[["path",{d:"M10 20.5675C6.57143 21.7248 3.71429 20.5675 2 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10 22V18.7579C10 18.1596 10.1839 17.6396 10.4804 17.1699C10.6838 16.8476 10.5445 16.3904 10.1771 16.2894C7.13394 15.4528 5 14.1077 5 9.64606C5 8.48611 5.38005 7.39556 6.04811 6.4464C6.21437 6.21018 6.29749 6.09208 6.31748 5.9851C6.33746 5.87813 6.30272 5.73852 6.23322 5.45932C5.95038 4.32292 5.96871 3.11619 6.39322 2.02823C6.39322 2.02823 7.27042 1.74242 9.26698 2.98969C9.72282 3.27447 9.95075 3.41686 10.1515 3.44871C10.3522 3.48056 10.6206 3.41384 11.1573 3.28041C11.8913 3.09795 12.6476 3 13.5 3C14.3524 3 15.1087 3.09795 15.8427 3.28041C16.3794 3.41384 16.6478 3.48056 16.8485 3.44871C17.0493 3.41686 17.2772 3.27447 17.733 2.98969C19.7296 1.74242 20.6068 2.02823 20.6068 2.02823C21.0313 3.11619 21.0496 4.32292 20.7668 5.45932C20.6973 5.73852 20.6625 5.87813 20.6825 5.9851C20.7025 6.09207 20.7856 6.21019 20.9519 6.4464C21.6199 7.39556 22 8.48611 22 9.64606C22 14.1077 19.8661 15.4528 16.8229 16.2894C16.4555 16.3904 16.3162 16.8476 16.5196 17.1699C16.8161 17.6396 17 18.1596 17 18.7579V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var E5,O5=v(()=>{E5=[["path",{d:"M7 20C8.10457 20 9 19.1046 9 18C9 16.8954 8.10457 16 7 16C5.89543 16 5 16.8954 5 18C5 19.1046 5.89543 20 7 20Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 8C8.10457 8 9 7.10457 9 6C9 4.89543 8.10457 4 7 4C5.89543 4 5 4.89543 5 6C5 7.10457 5.89543 8 7 8Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M17 14C18.1046 14 19 13.1046 19 12C19 10.8954 18.1046 10 17 10C15.8954 10 15 10.8954 15 12C15 13.1046 15.8954 14 17 14Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M7.02116 8.2793V15.4073M14.4113 12.0047L10.0193 12.0048C8.92158 12.0048 6.86182 11.1254 7.01818 8.78001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var Xi,Fl=v(()=>{Xi=[["path",{d:"M6 8L6 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 16V12C18 9.17156 18 7.75735 17.1213 6.87867C16.2426 5.99999 14.8284 5.99999 12 5.99999L11 5.99999M11 5.99999C11 5.29976 12.9943 3.99152 13.5 3.49999M11 5.99999C11 6.70022 12.9943 8.00846 13.5 8.49999",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"6",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"6",cy:"6",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["circle",{cx:"18",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"4"}]]});var R5,Z5=v(()=>{R5=[["path",{d:"M6 8L6 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 11L18 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"6",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"6",cy:"6",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["circle",{cx:"18",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"4"}],["path",{d:"M20 4L18 6M18 6L16 8M18 6L20 8M18 6L16 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]]});var D5,j5=v(()=>{D5=[["path",{d:"M6 8L6 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"6",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["circle",{cx:"6",cy:"6",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"18",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M18.125 11H18M18.25 11C18.25 11.1381 18.1381 11.25 18 11.25C17.8619 11.25 17.75 11.1381 17.75 11C17.75 10.8619 17.8619 10.75 18 10.75C18.1381 10.75 18.25 10.8619 18.25 11Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M18.125 6H18M18.25 6C18.25 6.13807 18.1381 6.25 18 6.25C17.8619 6.25 17.75 6.13807 17.75 6C17.75 5.86193 17.8619 5.75 18 5.75C18.1381 5.75 18.25 5.86193 18.25 6Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}]]});var W5,V5=v(()=>{W5=[["path",{d:"M3.88884 9.66294C4.39329 10 5.09552 10 6.49998 10C7.90445 10 8.60668 10 9.11113 9.66294C9.32951 9.51702 9.51701 9.32952 9.66292 9.11114C9.99998 8.60669 9.99998 7.90446 9.99998 6.5C9.99998 5.09554 9.99998 4.39331 9.66292 3.88886C9.51701 3.67048 9.32951 3.48298 9.11113 3.33706C8.60668 3 7.90445 3 6.49998 3C5.09552 3 4.39329 3 3.88884 3.33706C3.67046 3.48298 3.48296 3.67048 3.33705 3.88886C2.99998 4.39331 2.99998 5.09554 2.99998 6.5C2.99998 7.90446 2.99998 8.60669 3.33705 9.11114C3.48296 9.32952 3.67046 9.51702 3.88884 9.66294Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.8888 9.66294C15.3933 10 16.0955 10 17.5 10C18.9044 10 19.6067 10 20.1111 9.66294C20.3295 9.51702 20.517 9.32952 20.6629 9.11114C21 8.60669 21 7.90446 21 6.5C21 5.09554 21 4.39331 20.6629 3.88886C20.517 3.67048 20.3295 3.48298 20.1111 3.33706C19.6067 3 18.9044 3 17.5 3C16.0955 3 15.3933 3 14.8888 3.33706C14.6705 3.48298 14.483 3.67048 14.337 3.88886C14 4.39331 14 5.09554 14 6.5C14 7.90446 14 8.60669 14.337 9.11114C14.483 9.32952 14.6705 9.51702 14.8888 9.66294Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3.88884 20.6629C4.39329 21 5.09552 21 6.49998 21C7.90445 21 8.60668 21 9.11113 20.6629C9.32951 20.517 9.51701 20.3295 9.66292 20.1111C9.99998 19.6067 9.99998 18.9045 9.99998 17.5C9.99998 16.0955 9.99998 15.3933 9.66292 14.8889C9.51701 14.6705 9.32951 14.483 9.11113 14.3371C8.60668 14 7.90445 14 6.49998 14C5.09552 14 4.39329 14 3.88884 14.3371C3.67046 14.483 3.48296 14.6705 3.33705 14.8889C2.99998 15.3933 2.99998 16.0955 2.99998 17.5C2.99998 18.9045 2.99998 19.6067 3.33705 20.1111C3.48296 20.3295 3.67046 20.517 3.88884 20.6629Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M14.8888 20.6629C15.3933 21 16.0955 21 17.5 21C18.9044 21 19.6067 21 20.1111 20.6629C20.3295 20.517 20.517 20.3295 20.6629 20.1111C21 19.6067 21 18.9045 21 17.5C21 16.0955 21 15.3933 20.6629 14.8889C20.517 14.6705 20.3295 14.483 20.1111 14.3371C19.6067 14 18.9044 14 17.5 14C16.0955 14 15.3933 14 14.8888 14.3371C14.6705 14.483 14.483 14.6705 14.337 14.8889C14 15.3933 14 16.0955 14 17.5C14 18.9045 14 19.6067 14.337 20.1111C14.483 20.3295 14.6705 20.517 14.8888 20.6629Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var B5,F5=v(()=>{B5=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["ellipse",{cx:"12",cy:"12",rx:"4",ry:"10",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M2 12H22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var H5,U5=v(()=>{H5=[["path",{d:"M20.4999 16.5V8.5C20.4999 6.14298 20.4999 4.96447 19.7676 4.23223C19.0354 3.5 17.8569 3.5 15.4999 3.5H8.49988C6.14286 3.5 4.96434 3.5 4.23211 4.23223C3.49988 4.96447 3.49988 6.14298 3.49988 8.5V16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.9841 20.5H2.01567C1.63273 20.5 1.38367 20.1088 1.55493 19.7764L3.49988 16.5H20.4999L22.4448 19.7764C22.6161 20.1088 22.367 20.5 21.9841 20.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var K5,q5=v(()=>{K5=[["path",{d:"M8.64298 3.14559L6.93816 3.93362C4.31272 5.14719 3 5.75397 3 6.75C3 7.74603 4.31272 8.35281 6.93817 9.56638L8.64298 10.3544C10.2952 11.1181 11.1214 11.5 12 11.5C12.8786 11.5 13.7048 11.1181 15.357 10.3544L17.0618 9.56638C19.6873 8.35281 21 7.74603 21 6.75C21 5.75397 19.6873 5.14719 17.0618 3.93362L15.357 3.14559C13.7048 2.38186 12.8786 2 12 2C11.1214 2 10.2952 2.38186 8.64298 3.14559Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.788 11.0972C20.9293 11.2959 21 11.5031 21 11.7309C21 12.7127 19.6873 13.3109 17.0618 14.5072L15.357 15.284C13.7048 16.0368 12.8786 16.4133 12 16.4133C11.1214 16.4133 10.2952 16.0368 8.64298 15.284L6.93817 14.5072C4.31272 13.3109 3 12.7127 3 11.7309C3 11.5031 3.07067 11.2959 3.212 11.0972",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20.3767 16.2661C20.7922 16.5971 21 16.927 21 17.3176C21 18.2995 19.6873 18.8976 17.0618 20.0939L15.357 20.8707C13.7048 21.6236 12.8786 22 12 22C11.1214 22 10.2952 21.6236 8.64298 20.8707L6.93817 20.0939C4.31272 18.8976 3 18.2995 3 17.3176C3 16.927 3.20778 16.5971 3.62334 16.2661",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var G5,J5=v(()=>{G5=[["path",{d:"M3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 2.5V21.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var Y5,X5=v(()=>{Y5=[["path",{d:"M20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.5 12L2.50078 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var Q5,e0=v(()=>{Q5=[["path",{d:"M8 20C7.48595 20.6974 7.2774 20.9401 6.85472 20.9929C6.43205 21.0457 6.13982 20.8037 5.55537 20.3197C3.38109 18.5193 2 15.8253 2 12.8147C2 7.39421 6.47715 3 12 3C17.5228 3 22 7.39421 22 12.8147C22 15.8253 20.6189 18.5193 18.4446 20.3197C17.8602 20.8037 17.568 21.0457 17.1453 20.9929C16.7226 20.9401 16.514 20.6974 16 20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.5 10.5L18 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"12",cy:"12",r:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var t0,r0=v(()=>{t0=[["path",{d:"M11.0991 3.00012C7.45013 3.00669 5.53932 3.09629 4.31817 4.31764C3.00034 5.63568 3.00034 7.75704 3.00034 11.9997C3.00034 16.2424 3.00034 18.3638 4.31817 19.6818C5.63599 20.9999 7.75701 20.9999 11.9991 20.9999C16.241 20.9999 18.3621 20.9999 19.6799 19.6818C20.901 18.4605 20.9906 16.5493 20.9972 12.8998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.556 3.49612L11.0487 13.0586M20.556 3.49612C20.062 3.00151 16.7343 3.04761 16.0308 3.05762M20.556 3.49612C21.05 3.99074 21.0039 7.32273 20.9939 8.02714",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var n0,o0=v(()=>{n0=[["path",{d:"M2 11.4C2 10.2417 2.24173 10 3.4 10H20.6C21.7583 10 22 10.2417 22 11.4V12.6C22 13.7583 21.7583 14 20.6 14H3.4C2.24173 14 2 13.7583 2 12.6V11.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 3.4C2 2.24173 2.24173 2 3.4 2H20.6C21.7583 2 22 2.24173 22 3.4V4.6C22 5.75827 21.7583 6 20.6 6H3.4C2.24173 6 2 5.75827 2 4.6V3.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2 19.4C2 18.2417 2.24173 18 3.4 18H20.6C21.7583 18 22 18.2417 22 19.4V20.6C22 21.7583 21.7583 22 20.6 22H3.4C2.24173 22 2 21.7583 2 20.6V19.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]]});var i0,s0=v(()=>{i0=[["path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 13C13.1046 13 14 12.1046 14 11C14 9.89543 13.1046 9 12 9C10.8954 9 10 9.89543 10 11C10 12.1046 10.8954 13 12 13ZM12 13L12 16",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var a0,u0=v(()=>{a0=[["path",{d:"M7 8.5L9.94202 10.2394C11.6572 11.2535 12.3428 11.2535 14.058 10.2394L17 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.01577 13.4756C2.08114 16.5412 2.11383 18.0739 3.24496 19.2094C4.37608 20.3448 5.95033 20.3843 9.09883 20.4634C11.0393 20.5122 12.9607 20.5122 14.9012 20.4634C18.0497 20.3843 19.6239 20.3448 20.7551 19.2094C21.8862 18.0739 21.9189 16.5412 21.9842 13.4756C22.0053 12.4899 22.0053 11.5101 21.9842 10.5244C21.9189 7.45886 21.8862 5.92609 20.7551 4.79066C19.6239 3.65523 18.0497 3.61568 14.9012 3.53657C12.9607 3.48781 11.0393 3.48781 9.09882 3.53656C5.95033 3.61566 4.37608 3.65521 3.24495 4.79065C2.11382 5.92608 2.08114 7.45885 2.01576 10.5244C1.99474 11.5101 1.99475 12.4899 2.01577 13.4756Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var c0,l0=v(()=>{c0=[["path",{d:"M2 19L8.91302 14.2905C11.4387 12.5698 12.5613 12.5698 15.087 14.2905L22 19",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.01592 14.551C2.08186 17.5843 2.11484 19.1009 3.24611 20.2241C4.37738 21.3473 5.95183 21.3862 9.10072 21.4641C11.0393 21.512 12.9607 21.512 14.8993 21.4641C18.0482 21.3862 19.6226 21.3473 20.7539 20.2241C21.8852 19.1009 21.9181 17.5843 21.9841 14.551C22.0164 13.0649 21.9995 11.5934 21.9334 10.0921C21.8924 9.15964 21.8719 8.69341 21.6354 8.27984C21.3989 7.86628 20.9913 7.59935 20.176 7.0655L16.4152 4.60286C14.2742 3.20096 13.2038 2.5 12 2.5C10.7962 2.5 9.72577 3.20095 7.58483 4.60286L3.82397 7.0655C3.00869 7.59935 2.60106 7.86628 2.36459 8.27984C2.12812 8.69341 2.1076 9.15965 2.06656 10.0921C2.00049 11.5934 1.98361 13.0649 2.01592 14.551Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M22 9.5L17.7346 12.6072C16.7004 13.3606 15.8504 14 14.5 14M2 9.5L6.26538 12.6072C7.29955 13.3606 8.14961 14 9.5 14",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var d0,p0=v(()=>{d0=[["path",{d:"M4 5L16 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 12L20 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4 19L12 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var f0,m0=v(()=>{f0=[["path",{d:"M13 3.02144C12.6777 3.00721 12.3445 2.99998 12 2.99998C4.13281 2.99998 2 7.02942 2 12C2 14.0712 2.37034 15.979 3.37161 17.5C4.63281 19.5 3.99253 21.3333 3 22C4.61547 22 5.70211 21.4858 6.39239 20.9766C6.88252 20.615 7.50688 20.4364 8.0984 20.5814C9.20689 20.8533 10.4991 21 12 21C19.1328 21 22 16.9705 22 12C22 11.3126 21.9643 10.6432 21.8812 9.99998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.1248 12H11.9998M16.125 12H16M8.125 12H8M12.2498 12C12.2498 12.1381 12.1379 12.25 11.9998 12.25C11.8618 12.25 11.7498 12.1381 11.7498 12C11.7498 11.8619 11.8618 11.75 11.9998 11.75C12.1379 11.75 12.2498 11.8619 12.2498 12ZM16.25 12C16.25 12.1381 16.1381 12.25 16 12.25C15.8619 12.25 15.75 12.1381 15.75 12C15.75 11.8619 15.8619 11.75 16 11.75C16.1381 11.75 16.25 11.8619 16.25 12ZM8.25 12C8.25 12.1381 8.13807 12.25 8 12.25C7.86193 12.25 7.75 12.1381 7.75 12C7.75 11.8619 7.86193 11.75 8 11.75C8.13807 11.75 8.25 11.8619 8.25 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16 4.99998H22M19 1.99998L19 7.99998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var h0,k0=v(()=>{h0=[["path",{d:"M12 18V22M12 18H11.5208C8.11765 18 5.28262 15.3914 5 12M12 18H12.4792C15.8824 18 18.7174 15.3914 19 12M12 22H15M12 22H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6V11C16 13.2091 14.2091 15 12 15C9.79086 15 8 13.2091 8 11V6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var g0,C0=v(()=>{g0=[["path",{d:"M12 22C11.1818 22 10.4002 21.6754 8.83693 21.0262C4.94564 19.4101 3 18.6021 3 17.2429V7.74463M12 22C12.8182 22 13.5998 21.6754 15.1631 21.0262C19.0544 19.4101 21 18.6021 21 17.2429V7.74463M12 22V12.1687M3 7.74463C3 8.3485 3.80157 8.72983 5.40472 9.49248L8.32592 10.8822C10.1288 11.7399 11.0303 12.1687 12 12.1687M3 7.74463C3 7.14076 3.80157 6.75944 5.40472 5.99678L7.5 5M21 7.74463C21 8.3485 20.1984 8.72983 18.5953 9.49248L15.6741 10.8822C13.8712 11.7399 12.9697 12.1687 12 12.1687M21 7.74463C21 7.14076 20.1984 6.75944 18.5953 5.99678L16.5 5M6 13.1518L8 14.135",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.0037 2L12.0037 8.99995M12.0037 8.99995C12.2668 9.00351 12.5263 8.81972 12.7178 8.59534L14 7.06174M12.0037 8.99995C11.7499 8.99652 11.4929 8.81368 11.2897 8.59534L10 7.06174",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var y0,b0=v(()=>{y0=[["path",{d:"M4 7C4 5.58579 4 4.87868 4.43934 4.43934C4.87868 4 5.58579 4 7 4C8.41421 4 9.12132 4 9.56066 4.43934C10 4.87868 10 5.58579 10 7V17C10 18.4142 10 19.1213 9.56066 19.5607C9.12132 20 8.41421 20 7 20C5.58579 20 4.87868 20 4.43934 19.5607C4 19.1213 4 18.4142 4 17V7Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 7C14 5.58579 14 4.87868 14.4393 4.43934C14.8787 4 15.5858 4 17 4C18.4142 4 19.1213 4 19.5607 4.43934C20 4.87868 20 5.58579 20 7V17C20 18.4142 20 19.1213 19.5607 19.5607C19.1213 20 18.4142 20 17 20C15.5858 20 14.8787 20 14.4393 19.5607C14 19.1213 14 18.4142 14 17V7Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]]});var x0,v0=v(()=>{x0=[["path",{d:"M3 21L8 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.2585 18.8714C9.51516 18.0215 5.97844 14.4848 5.12853 10.7415C4.99399 10.1489 4.92672 9.85266 5.12161 9.37197C5.3165 8.89129 5.55457 8.74255 6.03071 8.44509C7.10705 7.77265 8.27254 7.55888 9.48209 7.66586C11.1793 7.81598 12.0279 7.89104 12.4512 7.67048C12.8746 7.44991 13.1622 6.93417 13.7376 5.90269L14.4664 4.59604C14.9465 3.73528 15.1866 3.3049 15.7513 3.10202C16.316 2.89913 16.6558 3.02199 17.3355 3.26771C18.9249 3.84236 20.1576 5.07505 20.7323 6.66449C20.978 7.34417 21.1009 7.68401 20.898 8.2487C20.6951 8.8134 20.2647 9.05346 19.4039 9.53358L18.0672 10.2792C17.0376 10.8534 16.5229 11.1406 16.3024 11.568C16.0819 11.9955 16.162 12.8256 16.3221 14.4859C16.4399 15.7068 16.2369 16.88 15.5555 17.9697C15.2577 18.4458 15.1088 18.6839 14.6283 18.8786C14.1477 19.0733 13.8513 19.006 13.2585 18.8714Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var w0,_0=v(()=>{w0=[["path",{d:"M7.5 8C6.95863 8.1281 6.49932 8.14239 5.99268 8.45891C5.07234 9.03388 4.85108 9.71674 5.08821 10.7612C5.94028 14.5139 9.48599 18.0596 13.2388 18.9117C14.2834 19.1489 14.9661 18.928 15.5416 18.0077C15.8411 17.5288 15.8716 17.0081 16 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 7.79915C12.1776 7.77794 12.3182 7.74034 12.4295 7.68235C13.3997 7.17686 13.9291 5.53361 14.4498 4.60009C14.9311 3.73715 15.1718 3.30567 15.7379 3.10227C16.3041 2.89888 16.6448 3.02205 17.3262 3.26839C18.9197 3.8445 20.1555 5.08032 20.7316 6.6738C20.9779 7.35521 21.1011 7.69591 20.8977 8.26204C20.6943 8.82817 20.2628 9.06884 19.3999 9.55018C18.4608 10.074 16.7954 10.6108 16.2905 11.5898C16.2345 11.6983 16.1978 11.8327 16.1769 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 21L8 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 3L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var L0,$0=v(()=>{L0=[["path",{d:"M18.8906 12.846C18.5371 14.189 16.8667 15.138 13.5257 17.0361C10.296 18.8709 8.6812 19.7884 7.37983 19.4196C6.8418 19.2671 6.35159 18.9776 5.95624 18.5787C5 17.6139 5 15.7426 5 12C5 8.2574 5 6.3861 5.95624 5.42132C6.35159 5.02245 6.8418 4.73288 7.37983 4.58042C8.6812 4.21165 10.296 5.12907 13.5257 6.96393C16.8667 8.86197 18.5371 9.811 18.8906 11.154C19.0365 11.7084 19.0365 12.2916 18.8906 12.846Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var I0,S0=v(()=>{I0=[["path",{d:"M12 7.5V13.8636M15.5 10.6818H8.5M15.5 16.5H8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var z0,M0=v(()=>{z0=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var N0,P0=v(()=>{N0=[["path",{d:"M12.828 6.00096C12.9388 5.68791 12.999 5.35099 12.999 5C12.999 3.34315 11.6559 2 9.99904 2C8.34219 2 6.99904 3.34315 6.99904 5C6.99904 5.35099 7.05932 5.68791 7.17008 6.00096C4.88532 6.0093 3.66601 6.09039 2.87772 6.87868C2.08951 7.66689 2.00836 8.88603 2 11.1704C2.31251 11.06 2.64876 11 2.99904 11C4.6559 11 5.99904 12.3431 5.99904 14C5.99904 15.6569 4.6559 17 2.99904 17C2.64876 17 2.31251 16.94 2 16.8296C2.00836 19.114 2.08951 20.3331 2.87772 21.1213C3.66593 21.9095 4.88508 21.9907 7.16941 21.999C7.05908 21.6865 6.99904 21.3503 6.99904 21C6.99904 19.3431 8.34219 18 9.99904 18C11.6559 18 12.999 19.3431 12.999 21C12.999 21.3503 12.939 21.6865 12.8287 21.999C15.113 21.9907 16.3322 21.9095 17.1204 21.1213C17.9086 20.333 17.9897 19.1137 17.9981 16.829C18.3111 16.9397 18.648 17 18.999 17C20.6559 17 21.999 15.6569 21.999 14C21.999 12.3431 20.6559 11 18.999 11C18.648 11 18.3111 11.0603 17.9981 11.171C17.9897 8.88627 17.9086 7.66697 17.1204 6.87868C16.3321 6.09039 15.1128 6.0093 12.828 6.00096Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var A0,T0=v(()=>{A0=[["path",{d:"M20.4879 15C19.2524 18.4956 15.9187 21 12 21C7.02943 21 3 16.9706 3 12C3 7.02943 7.02943 3 12 3C15.7292 3 18.9286 5.26806 20.2941 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 9H18C19.4142 9 20.1213 9 20.5607 8.56066C21 8.12132 21 7.41421 21 6V3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var E0,O0=v(()=>{E0=[["path",{d:"M16.3884 3L17.3913 3.97574C17.8393 4.41165 18.0633 4.62961 17.9844 4.81481C17.9056 5 17.5888 5 16.9552 5H9.19422C5.22096 5 2 8.13401 2 12C2 13.4872 2.47668 14.8662 3.2895 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.61156 21L6.60875 20.0243C6.16074 19.5883 5.93673 19.3704 6.01557 19.1852C6.09441 19 6.4112 19 7.04478 19H14.8058C18.779 19 22 15.866 22 12C22 10.5128 21.5233 9.13383 20.7105 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var R0,Z0=v(()=>{R0=[["path",{d:"M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 11.5C9 11.5 10.4079 11.7519 11 13.5C11 13.5 12.5 10.5 15 9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var D0,j0=v(()=>{D0=[["path",{d:"M21.0477 3.05293C18.8697 0.707363 2.48648 6.4532 2.50001 8.551C2.51535 10.9299 8.89809 11.6617 10.6672 12.1581C11.7311 12.4565 12.016 12.7625 12.2613 13.8781C13.3723 18.9305 13.9301 21.4435 15.2014 21.4996C17.2278 21.5892 23.1733 5.342 21.0477 3.05293Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.4999 12.5L14.9999 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var W0,V0=v(()=>{W0=[["path",{d:"M2 12C2 8.31087 2 6.4663 2.81382 5.15877C3.1149 4.67502 3.48891 4.25427 3.91891 3.91555C5.08116 3 6.72077 3 10 3H14C17.2792 3 18.9188 3 20.0811 3.91555C20.5111 4.25427 20.8851 4.67502 21.1862 5.15877C22 6.4663 22 8.31087 22 12C22 15.6891 22 17.5337 21.1862 18.8412C20.8851 19.325 20.5111 19.7457 20.0811 20.0845C18.9188 21 17.2792 21 14 21H10C6.72077 21 5.08116 21 3.91891 20.0845C3.48891 19.7457 3.1149 19.325 2.81382 18.8412C2 17.5337 2 15.6891 2 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 14.5L22 14.5",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M6 18H7M10 18H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var B0,F0=v(()=>{B0=[["path",{d:"M2 12C2 8.3109 2 6.46633 2.81382 5.1588C3.1149 4.67505 3.48891 4.2543 3.91891 3.91557C5.08116 3.00003 6.72077 3.00003 10 3.00003H14C17.2792 3.00003 18.9188 3.00003 20.0811 3.91557C20.5111 4.2543 20.8851 4.67505 21.1862 5.1588C22 6.46633 22 8.3109 22 12C22 15.6892 22 17.5337 21.1862 18.8413C20.8851 19.325 20.5111 19.7458 20.0811 20.0845C18.9188 21 17.2792 21 14 21H10C6.72077 21 5.08116 21 3.91891 20.0845C3.48891 19.7458 3.1149 19.325 2.81382 18.8413C2 17.5337 2 15.6892 2 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.5 3.00003L14.5 21",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 7.00006H19M18 10.0001H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var H0,U0=v(()=>{H0=[["path",{d:"M13.5 2H10.5C8.14298 2 6.96447 2 6.23223 2.73223C5.5 3.46447 5.5 4.64298 5.5 7V17C5.5 19.357 5.5 20.5355 6.23223 21.2678C6.96447 22 8.14298 22 10.5 22H13.5C15.857 22 17.0355 22 17.7678 21.2678C18.5 20.5355 18.5 19.357 18.5 17V7C18.5 4.64298 18.5 3.46447 17.7678 2.73223C17.0355 2 15.857 2 13.5 2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.125 19H12M12.25 19C12.25 19.1381 12.1381 19.25 12 19.25C11.8619 19.25 11.75 19.1381 11.75 19C11.75 18.8619 11.8619 18.75 12 18.75C12.1381 18.75 12.25 18.8619 12.25 19Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var K0,q0=v(()=>{K0=[["path",{d:"M11.0001 8L19.0001 8.00006",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.0001 12H16.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11.0001 16H14.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M11.0001 4H21.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M5.5 21V3M5.5 21C4.79977 21 3.49153 19.0057 3 18.5M5.5 21C6.20023 21 7.50847 19.0057 8 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]});var G0,J0=v(()=>{G0=[["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}]]});var Y0,X0=v(()=>{Y0=[["path",{d:"M12 14.5V17.5M13 14.5C13 15.0523 12.5523 15.5 12 15.5C11.4477 15.5 11 15.0523 11 14.5C11 13.9477 11.4477 13.5 12 13.5C12.5523 13.5 13 13.9477 13 14.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.5 9V6.5C7.5 4.01472 9.51472 2 12 2C13.9593 2 15.8664 3.25221 16.5 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4.26781 18.8447C4.49269 20.515 5.87613 21.8235 7.55966 21.9009C8.97627 21.966 10.4153 22 12 22C13.5847 22 15.0237 21.966 16.4403 21.9009C18.1239 21.8235 19.5073 20.515 19.7322 18.8447C19.879 17.7547 20 16.6376 20 15.5C20 14.3624 19.879 13.2453 19.7322 12.1553C19.5073 10.485 18.1239 9.17649 16.4403 9.09909C15.0237 9.03397 13.5847 9 12 9C10.4153 9 8.97627 9.03397 7.55966 9.09909C5.87613 9.17649 4.49269 10.485 4.26781 12.1553C4.12104 13.2453 4 14.3624 4 15.5C4 16.6376 4.12104 17.7547 4.26781 18.8447Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var Q0,e9=v(()=>{Q0=[["path",{d:"M13.7276 3.44418L15.4874 6.99288C15.7274 7.48687 16.3673 7.9607 16.9073 8.05143L20.0969 8.58575C22.1367 8.92853 22.6167 10.4206 21.1468 11.8925L18.6671 14.3927C18.2471 14.8161 18.0172 15.6327 18.1471 16.2175L18.8571 19.3125C19.417 21.7623 18.1271 22.71 15.9774 21.4296L12.9877 19.6452C12.4478 19.3226 11.5579 19.3226 11.0079 19.6452L8.01827 21.4296C5.8785 22.71 4.57865 21.7522 5.13859 19.3125L5.84851 16.2175C5.97849 15.6327 5.74852 14.8161 5.32856 14.3927L2.84884 11.8925C1.389 10.4206 1.85895 8.92853 3.89872 8.58575L7.08837 8.05143C7.61831 7.9607 8.25824 7.48687 8.49821 6.99288L10.258 3.44418C11.2179 1.51861 12.7777 1.51861 13.7276 3.44418Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var t9,r9=v(()=>{t9=[["path",{d:"M8 2H16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.2187 13.0044L15.9921 13.6151C15.5219 14.65 14.1115 15.7439 11.7609 14.3182C10.2471 13.4001 8.93663 12.6631 7.9997 13.16L7.21891 13.5412",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5323 2V8.56602C14.5323 9.27829 14.5323 9.63442 14.6304 9.97222C14.7285 10.31 14.9197 10.612 15.3021 11.216L17.2861 14.35C19.4275 17.7326 20.4982 19.4238 19.7751 20.7119C19.0519 22 17.0317 22 12.9914 22H11.0086C6.96825 22 4.94807 22 4.22495 20.7119C3.50182 19.4238 4.57251 17.7326 6.71389 14.35L8.69792 11.216C9.08029 10.612 9.27148 10.31 9.36961 9.97222C9.46773 9.63442 9.46773 9.27829 9.46773 8.56602V2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M15.125 19H15M15.25 19C15.25 19.1381 15.1381 19.25 15 19.25C14.8619 19.25 14.75 19.1381 14.75 19C14.75 18.8619 14.8619 18.75 15 18.75C15.1381 18.75 15.25 18.8619 15.25 19Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M10.125 17H10M10.25 17C10.25 17.1381 10.1381 17.25 10 17.25C9.86193 17.25 9.75 17.1381 9.75 17C9.75 16.8619 9.86193 16.75 10 16.75C10.1381 16.75 10.25 16.8619 10.25 17Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]});var n9,o9=v(()=>{n9=[["path",{d:"M3 3H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 15H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 21H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 9H16.5C18.9853 9 21 11.0147 21 13.5C21 15.9853 18.9853 18 16.5 18H12M12 18C12 17.1597 14.3932 15.5898 15 15M12 18C12 18.8403 14.3932 20.4102 15 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var i9,s9=v(()=>{i9=[["path",{d:"M12 8V12L13.5 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19.5454 16.4534C21.1818 17.337 22 17.7789 22 18.5C22 19.2211 21.1818 19.663 19.5454 20.5466L18.4311 21.1484C17.1744 21.827 16.5461 22.1663 16.2439 21.9196C15.504 21.3154 16.6567 19.7561 16.9403 19.2037C17.2277 18.644 17.2225 18.3459 16.9403 17.7963C16.6567 17.2439 15.504 15.6846 16.2439 15.0804C16.5461 14.8337 17.1744 15.173 18.4311 15.8516L19.5454 16.4534Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M13.0261 21.948C12.6888 21.9824 12.3464 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 12.6849 21.9311 13.3538 21.8 14",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]]});var a9,u9=v(()=>{a9=[["path",{d:"M21 7H3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H13C16.7712 21 18.6569 21 19.8284 19.8284C21 18.6569 21 16.7712 21 13V7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 7H3L4.2 5.4C5.08328 4.22229 5.52492 3.63344 6.15836 3.31672C6.7918 3 7.52786 3 9 3H15C16.4721 3 17.2082 3 17.8416 3.31672C18.4751 3.63344 18.9167 4.22229 19.8 5.4L21 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 11L12 17.5M9 13.5C9.58984 12.8932 11.1597 10.5 12 10.5C12.8403 10.5 14.4102 12.8932 15 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var c9,l9=v(()=>{c9=[["path",{d:"M20 21.0001C19.713 17.269 16.7289 14.3151 12.995 14.0662L12 13.9999C11.6446 14.0096 11.3134 14.0225 11.0008 14.0378C7.3 14.2192 4.28417 17.3057 4 21.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"12",cy:"6.99988",r:"4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var d9,p9=v(()=>{d9=[["path",{d:"M21.544 11.045C21.848 11.4713 22 11.6845 22 12C22 12.3155 21.848 12.5287 21.544 12.955C20.1779 14.8706 16.6892 19 12 19C7.31078 19 3.8221 14.8706 2.45604 12.955C2.15201 12.5287 2 12.3155 2 12C2 11.6845 2.15201 11.4713 2.45604 11.045C3.8221 9.12944 7.31078 5 12 5C16.6892 5 20.1779 9.12944 21.544 11.045Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]]});var f9,m9=v(()=>{f9=[["path",{d:"M22 8C22 8 18 14 12 14C6 14 2 8 2 8",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 13.5L16.5 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20 11L22 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M2 13L4 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M9 13.5L7.5 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]});var h9,k9=v(()=>{h9=[["path",{d:"M18.5016 19.1217L21 21.6217M20 15.1217C20 12.0842 17.5376 9.62173 14.5 9.62173C11.4624 9.62173 9 12.0842 9 15.1217C9 18.1593 11.4624 20.6217 14.5 20.6217C17.5376 20.6217 20 18.1593 20 15.1217Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.5 13.1217V17.1217M16.5 15.1217H12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 3.62173H14M3 10.6217V14.6217M6.5 21.6217C4.567 21.6217 3 20.0547 3 18.1217M17.5 3.62173C19.433 3.62173 21 5.18873 21 7.12173M3 7.12173C3 5.18873 4.567 3.62173 6.5 3.62173",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var g9,C9=v(()=>{g9=[["path",{d:"M18.5016 18.5L21 21M20 14.5C20 11.4624 17.5376 9 14.5 9C11.4624 9 9 11.4624 9 14.5C9 17.5376 11.4624 20 14.5 20C17.5376 20 20 17.5376 20 14.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.5 14.5H12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 3H14M3 10V14M6.5 21C4.567 21 3 19.433 3 17.5M17.5 3C19.433 3 21 4.567 21 6.5M3 6.5C3 4.567 4.567 3 6.5 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var b9={};$e(b9,{EXTENDED_ICON_MAP:()=>y9});var K6,y9,x9=v(()=>{"use strict";Yf();Qf();tm();nm();im();am();cm();dm();fm();hm();gm();ym();xm();wm();Lm();Im();zm();Nm();Pm();Tm();Om();Zm();jm();Vm();Fm();Um();qm();Jm();Xm();e5();r5();o5();s5();u5();l5();p5();m5();k5();C5();b5();v5();_5();$5();S5();M5();P5();T5();O5();Fl();Z5();j5();Fl();V5();F5();U5();q5();J5();X5();e0();r0();o0();s0();u0();l0();p0();m0();k0();C0();b0();v0();_0();$0();S0();M0();P0();T0();O0();Z0();j0();V0();F0();U0();q0();J0();X0();e9();r9();o9();s9();u9();l9();p9();m9();k9();C9();Vl();K6=[["path",{d:"M21.8205 10.4127C22.062 11.8519 22.1827 12.5715 21.2423 13.9326C21.1459 14.0722 20.8966 14.3713 20.777 14.4911C19.6103 15.6586 18.4308 15.6586 16.0716 15.6586H14.1392C13.5085 15.6586 13.1931 15.6586 12.9639 15.7142C11.9586 15.9581 11.3031 16.9391 11.453 17.9755C11.4872 18.2118 11.6043 18.5085 11.8386 19.102C11.9345 19.3449 11.9824 19.4664 12.0136 19.7304C12.1292 20.7084 11.0869 21.9508 10.1158 21.9926C9.85358 22.0039 9.83681 22.0002 9.80326 21.9926C7.66174 21.51 5.66204 20.3123 4.18389 18.4421C0.736789 14.0808 1.43146 7.71364 5.73548 4.22064C10.0395 0.727643 16.323 1.43156 19.7701 5.79289C20.868 7.1819 21.5457 8.77438 21.8205 10.4127Z",fill:"none",fillRule:"evenodd",clipRule:"evenodd",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.36719 7.74976H7.24219M7.49219 7.74976C7.49219 7.88783 7.38026 7.99976 7.24219 7.99976C7.10412 7.99976 6.99219 7.88783 6.99219 7.74976C6.99219 7.61169 7.10412 7.49976 7.24219 7.49976C7.38026 7.49976 7.49219 7.61169 7.49219 7.74976Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7.36719 15.7498H7.24219M7.49219 15.7498C7.49219 15.8878 7.38026 15.9998 7.24219 15.9998C7.10412 15.9998 6.99219 15.8878 6.99219 15.7498C6.99219 15.6117 7.10412 15.4998 7.24219 15.4998C7.38026 15.4998 7.49219 15.6117 7.49219 15.7498Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M11.8672 5.74976H11.7422M11.9922 5.74976C11.9922 5.88783 11.8803 5.99976 11.7422 5.99976C11.6041 5.99976 11.4922 5.88783 11.4922 5.74976C11.4922 5.61169 11.6041 5.49976 11.7422 5.49976C11.8803 5.49976 11.9922 5.61169 11.9922 5.74976Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M16.3672 7.74976H16.2422M16.4922 7.74976C16.4922 7.88783 16.3803 7.99976 16.2422 7.99976C16.1041 7.99976 15.9922 7.88783 15.9922 7.74976C15.9922 7.61169 16.1041 7.49976 16.2422 7.49976C16.3803 7.49976 16.4922 7.61169 16.4922 7.74976Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M18.3672 11.7498H18.2422M18.4922 11.7498C18.4922 11.8878 18.3803 11.9998 18.2422 11.9998C18.1041 11.9998 17.9922 11.8878 17.9922 11.7498C17.9922 11.6117 18.1041 11.4998 18.2422 11.4998C18.3803 11.4998 18.4922 11.6117 18.4922 11.7498Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M5.86719 11.7498H5.74219M5.99219 11.7498C5.99219 11.8878 5.88026 11.9998 5.74219 11.9998C5.60412 11.9998 5.49219 11.8878 5.49219 11.7498C5.49219 11.6117 5.60412 11.4998 5.74219 11.4998C5.88026 11.4998 5.99219 11.6117 5.99219 11.7498Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"6"}]],y9={AiBrowser:Jf,AiContentGenerator01:Xf,AlignLeft:d0,AppWindow:Bl,ArchiveRestore:a9,ArrowDown:em,ArrowRight:lm,ArrowReloadHorizontal:um,ArrowUp:Cm,ArrowUpDown:vm,ArrowTurnBackward:pm,ArrowTurnForward:mm,ArrowUpRight:_m,Beaker:t9,Browser:Bl,Brain:Mm,Calendar:Am,CalendarCheckOut02:Em,ChartColumn:Rm,ChevronUp:km,ChevronsDown:rm,ChevronsUp:bm,CircleArrowShrink:Dm,Clean:Wm,Clock:Bm,Cloud:Hm,CloudOff:Km,Coffee:Gm,Columns2:G5,CornerDownLeft:om,CornerDownRight:sm,Discord:n5,DateTime:t5,Github:A5,DragDropHorizontal:i5,DragDropVertical:a5,EditFile:c5,ElectricPlugs:d5,Eye:d9,EyeOff:f9,Explore:Sm,ExternalLink:t0,FileDiff:I0,File:y5,FileAttachment:g5,FileQuestion:x5,FileText:h5,FolderOpen:w5,FolderEdit:L5,FolderMinus:I5,Fork:N5,GitBranch:z5,GitMerge:E5,GitPullRequest:Xi,GitPullRequestArrow:Xi,GitPullRequestClosed:R5,GitPullRequestDraft:D5,Globe:B5,GridView:W5,Laptop:H5,Layers:K5,Limitation:Q5,ListView:n0,Lock:i0,Mail:a0,MailOpen:c0,Maximize2:f5,Mic:h0,Minimize2:Ym,NewTab:Qm,PackageReceive:g0,Palette:K6,PanelBottom:W0,PanelRight:B0,Paperclip:$m,Pause:y0,Pin:x0,PinOff:w0,Play:L0,Plus:z0,Puzzle:N0,Repeat:E0,SecurityCheck:R0,RotateCcw:A0,Rows2:Y5,Sent:D0,SideChat:f0,Smartphone:H0,Sort:K0,Square:G0,SquareUnlock02:Y0,Star:Q0,TextWrap:n9,TimeSchedule:i9,UserRound:c9,ZoomIn:h9,ZoomOut:g9};qf(y9)});var as=globalThis.__bbPluginRuntime;if(as==null||as.pluginSdkApp==null)throw new Error('Cannot load "@get-bb/plugin-sdk/app": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Nn=as.pluginSdkApp,ek="default"in Nn?Nn.default:Nn,{Markdown:tk,ThreadChat:rk,ThreadTitle:nk,UrlLink:ok,definePluginApp:id,experimental_BranchPicker:ik,experimental_ComposerRoot:sk,experimental_DetailRow:ak,experimental_Diff:uk,experimental_FailedVoiceRecordings:ck,experimental_FileLink:lk,experimental_Icon:dk,experimental_ImageLightbox:pk,experimental_InfoList:fk,experimental_InfoListRow:mk,experimental_InfoSection:hk,experimental_NewThreadComposer:kk,experimental_PermissionModePicker:gk,experimental_PluginIcon:Ck,experimental_PluginRpcCallError:yk,experimental_PromptMentionIcon:bk,experimental_ProviderIcon:xk,experimental_ProviderModelPicker:vk,experimental_SettingsRow:wk,experimental_SettingsSection:_k,experimental_ShortcutHint:Lk,experimental_SidebarNavigationIcon:$k,experimental_SourceCode:Ik,experimental_THREAD_ACTION_GROUPS:Sk,experimental_THREAD_CONTEXT_SEGMENT_GROUPS:zk,experimental_THREAD_INFO_ROW_GROUPS:Mk,experimental_THREAD_INFO_SECTION_GROUPS:Nk,experimental_ThreadActionsContextMenu:Pk,experimental_ThreadActionsMenu:Ak,experimental_ThreadStatusGlyph:Tk,experimental_ThreadTitleText:Ek,experimental_VoiceInputButton:Ok,experimental_VoiceInputTextarea:Rk,experimental_VoiceRecordingBar:Zk,experimental_copyToClipboard:Dk,experimental_describePromptMention:jk,experimental_promptMentionClipboardAttributes:Wk,experimental_readPromptMentionClipboard:Vk,experimental_saveFile:Bk,experimental_useAppPanel:Fk,experimental_useArchiveEnvironmentThreads:Hk,experimental_useBranches:Uk,experimental_useCheckoutState:Kk,experimental_useCodeTheme:qk,experimental_useComposerCommandSearch:Gk,experimental_useComposerContributions:Jk,experimental_useComposerMentionSearch:Yk,experimental_useComposerRenderer:Xk,experimental_useExperiment:Qk,experimental_useFixedTabTarget:eg,experimental_usePluginId:tg,experimental_useProviders:rg,experimental_useQuestionFormHost:ng,experimental_useRpcKeyedQuery:og,experimental_useRpcMutation:ig,experimental_useRpcQuery:sg,experimental_useRpcRefresh:ag,experimental_useSidebar:ug,experimental_useSidebarNavigation:cg,experimental_useSidebarNavigationSplit:lg,experimental_useSidebarThreadActions:dg,experimental_useSidebarThreadSplit:pg,experimental_useSidebarThreads:fg,experimental_useThreadActionRegistrations:mg,experimental_useThreadActions:hg,experimental_useThreadTitleDisplayText:kg,internal_DO_NOT_USE_Outlet:gg,internal_DO_NOT_USE_useOutletFilled:Cg,useBbContext:yg,useBbNavigate:We,useComposer:bg,useComposerView:xg,useComposers:vg,useEnvironmentProviders:wg,useRealtime:Mt,useRealtimeConnectionState:Ve,useRpc:Nt,useSdk:_g,useSettings:Lg,useSidebarSplitLayout:$g,useSidebarThreadDraft:Ig,useSidebarThreadDraftIds:Sg,useSidebarThreadRowStatus:zg,useSidebarThreadRowStatuses:Mg,useSidebarThreadShortcut:Ng,experimental_useSidebarThreadPullRequest:Pg}=Nn;var ot={};$e(ot,{Activity:()=>Y9,Children:()=>An,Component:()=>X9,Fragment:()=>br,Profiler:()=>Q9,PureComponent:()=>e8,StrictMode:()=>t8,Suspense:()=>r8,act:()=>n8,cache:()=>o8,cacheSignal:()=>i8,captureOwnerStack:()=>s8,cloneElement:()=>xr,createContext:()=>vr,createElement:()=>wr,createRef:()=>a8,default:()=>J9,forwardRef:()=>ue,isValidElement:()=>Pt,lazy:()=>u8,memo:()=>c8,startTransition:()=>l8,unstable_useCacheRefresh:()=>d8,use:()=>p8,useActionState:()=>f8,useCallback:()=>G,useContext:()=>_r,useDebugValue:()=>m8,useDeferredValue:()=>h8,useEffect:()=>Y,useEffectEvent:()=>k8,useId:()=>At,useImperativeHandle:()=>g8,useInsertionEffect:()=>C8,useLayoutEffect:()=>Me,useMemo:()=>he,useOptimistic:()=>y8,useReducer:()=>b8,useRef:()=>Z,useState:()=>V,useSyncExternalStore:()=>Lr,useTransition:()=>x8,version:()=>v8});var us=globalThis.__bbPluginRuntime;if(us==null||us.react==null)throw new Error('Cannot load "react": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Pn=us.react,J9="default"in Pn?Pn.default:Pn,{Activity:Y9,Children:An,Component:X9,Fragment:br,Profiler:Q9,PureComponent:e8,StrictMode:t8,Suspense:r8,act:n8,cache:o8,cacheSignal:i8,captureOwnerStack:s8,cloneElement:xr,createContext:vr,createElement:wr,createRef:a8,forwardRef:ue,isValidElement:Pt,lazy:u8,memo:c8,startTransition:l8,unstable_useCacheRefresh:d8,use:p8,useActionState:f8,useCallback:G,useContext:_r,useDebugValue:m8,useDeferredValue:h8,useEffect:Y,useEffectEvent:k8,useId:At,useImperativeHandle:g8,useInsertionEffect:C8,useLayoutEffect:Me,useMemo:he,useOptimistic:y8,useReducer:b8,useRef:Z,useState:V,useSyncExternalStore:Lr,useTransition:x8,version:v8}=Pn;function ie(e){if(!Number.isFinite(e)||e<0)return"0s";let t=Math.floor(e/1e3),r=Math.floor(t/3600),n=Math.floor(t%3600/60),o=t%60;return r>0?`${r}h ${String(n).padStart(2,"0")}m`:n>0?`${n}m ${String(o).padStart(2,"0")}s`:`${o}s`}function it(e,t){return e.durationMs!==null&&e.durationMs!==void 0?e.durationMs:e.startedAt===null||e.startedAt===void 0?null:e.completedAt!==null&&e.completedAt!==void 0?Math.max(0,e.completedAt-e.startedAt):["failed","interrupted","completed","skipped"].includes(e.status)?null:Math.max(0,t-e.startedAt)}var w8=new Set(["running","starting","waiting"]),_8=new Set(["thread","workflow-agent","delegation","phase","operation"]);function ud(e){return w8.has(e)}function L8(e){switch(e){case"running":case"starting":return"active";case"queued":return"pending";case"completed":return"completed";case"failed":return"failed";case"interrupted":return"interrupted";case"skipped":return"skipped";default:return"pending"}}function $8(e){switch(e){case"workflow-agent":return"ACTIVE AGENT";case"phase":case"operation":return"ACTIVE PHASE";case"delegation":return"DELEGATED TASK";default:return"CURRENT EXECUTION"}}function I8(e){return e.activity?.at??e.startedAt??Number.NEGATIVE_INFINITY}function Tn(e){return e.depth*1e9+Math.max(0,I8(e))}function sd(e){let t=null;for(let r of e)_8.has(r.kind)&&(t===null||Tn(r)>Tn(t)||Tn(r)===Tn(t)&&r.key<t.key)&&(t=r);return t}function S8(e){let t=e.filter(u=>ud(u.status)),r=new Map;t.forEach((u,l)=>r.set(u.key,l));let n=t.map((u,l)=>l),o=u=>{for(;n[u]!==u;)n[u]=n[n[u]],u=n[u];return u},i=(u,l)=>{let d=o(u),f=o(l);d!==f&&(n[f]=d)},s=new Map;t.forEach((u,l)=>{u.kind==="thread"&&u.threadId!==null&&s.set(u.threadId,l)}),t.forEach((u,l)=>{if(u.parentKey!==null){let d=r.get(u.parentKey);d!==void 0&&i(l,d)}if(u.kind==="thread"&&u.parentThreadId!==null&&u.parentThreadId!==void 0&&u.parentThreadId!==""){let d=s.get(u.parentThreadId);d!==void 0&&i(l,d)}});let a=new Map;t.forEach((u,l)=>{if(u.source!=="redteam"||u.scanId===void 0)return;let d=a.get(u.scanId);d===void 0?a.set(u.scanId,l):i(l,d)});let c=new Map;return t.forEach((u,l)=>{let d=o(l),f=c.get(d)??[];f.push(u),c.set(d,f)}),[...c.values()]}function z8(e,t){if(e.source==="ollama-fleet")return e.key;if(e.source==="redteam"&&e.scanId!==void 0)return`redteam:${e.scanId}`;if(e.threadId!==null)return`thread:${e.threadId}`;if(e.parentKey!==null){let r=t.find(n=>n.key===e.parentKey);if(r!==void 0&&r.threadId!==null)return`thread:${r.threadId}`}return null}function M8(e,t,r){let n=new Set(t.map(i=>i.key)),o=new Set(t.filter(i=>i.kind==="thread").map(i=>i.key));return r.filter(i=>n.has(i.key)?!1:e.source==="redteam"?e.scanId!==void 0&&i.scanId===e.scanId:!!(i.parentKey!==null&&o.has(i.parentKey)||e.kind==="workflow-agent"&&e.groupKey!==null&&e.groupKey!==void 0&&i.groupKey===e.groupKey&&i.key!==e.key))}function N8(e,t){if(e.kind==="phase"||e.kind==="operation"||e.kind==="workflow-agent")return e.groupKey??null;if(e.kind!=="thread")return null;let r=e.key,n=t.filter(i=>i.kind==="plan-step"&&i.parentKey===r);if(n.length>0)return n[0].groupKey??null;let o=new Set(t.filter(i=>i.kind==="workflow-agent"&&i.parentKey===r&&i.groupKey!==null&&i.groupKey!==void 0).map(i=>i.groupKey));return o.size===1?[...o][0]:null}function P8(e,t){let r=e.sequence??Number.MAX_SAFE_INTEGER,n=t.sequence??Number.MAX_SAFE_INTEGER;if(r!==n)return r-n;let o=e.completedAt??e.startedAt??Number.NEGATIVE_INFINITY,i=t.completedAt??t.startedAt??Number.NEGATIVE_INFINITY;return o!==i?i-o:e.key<t.key?-1:e.key>t.key?1:0}function ad(e,t){let r=e.sequence??Number.MAX_SAFE_INTEGER,n=t.sequence??Number.MAX_SAFE_INTEGER;return r!==n?r-n:e.key<t.key?-1:e.key>t.key?1:0}function cd(e){if(e.cards.length===0||e.cards.filter(x=>x.source==="ollama-fleet"&&ud(x.status)).length>1)return null;let r=S8(e.cards).filter(x=>sd(x)!==null);if(r.length!==1)return null;let n=r[0],o=sd(n),i=n.filter(x=>x.key!==o.key).sort((x,w)=>w.depth-x.depth||(x.key<w.key?-1:x.key>w.key?1:0)),s=M8(o,n,e.cards),a=N8(o,s),c=null;if(a!==null){let w=[...n,...s].filter($=>$.groupKey===a&&$.sequence!==null&&$.sequence!==void 0&&$.sequence>=0).sort(ad).map($=>({key:$.key,title:$.title,state:L8($.status),sequence:$.sequence,durationMs:$.durationMs,summary:$.outputPreview,error:$.errorPreview}));c=w.length>=2?w:null}let u=z8(o,e.cards),l=u!==null?(e.activityFeeds??[]).find(x=>x.key===u)?.entries.slice(0,6)??[]:[],d=o.status==="running"||o.status==="starting"?l[0]??null:null,f=new Set([...n.map(x=>x.key),...s.map(x=>x.key)]),m=e.cards.filter(x=>!f.has(x.key)),g=m.filter(x=>x.status==="failed"||x.status==="interrupted"),C=s.filter(x=>x.status==="completed"||x.status==="failed"||x.status==="interrupted"||x.status==="skipped").sort(P8).map(x=>({key:x.key,title:x.title,status:x.status,durationMs:x.durationMs,summary:x.outputPreview,error:x.errorPreview})),y=s.filter(x=>x.status==="queued").sort(ad).map(x=>({key:x.key,title:x.title,waitingOn:x.waitingOn,sequence:x.sequence??null}));return{hero:o,heroLabel:o.source==="ollama-fleet"?"CURRENT DELEGATED WORK":$8(o.kind),peers:i,pipeline:c,recent:l,latestOperation:d,completed:C,upNext:y,other:m,otherAttention:g}}var h={};$e(h,{$brand:()=>ws,$input:()=>qu,$output:()=>Ku,INVALID:()=>pe,NEVER:()=>vs,TimePrecision:()=>i1,ZodAny:()=>Uc,ZodArray:()=>Jc,ZodBase64:()=>Pi,ZodBase64URL:()=>Ai,ZodBigInt:()=>hr,ZodBigIntFormat:()=>Oi,ZodBoolean:()=>mr,ZodCIDRv4:()=>Mi,ZodCIDRv6:()=>Ni,ZodCUID:()=>wi,ZodCUID2:()=>_i,ZodCatch:()=>gl,ZodCodec:()=>yn,ZodCompileAsyncError:()=>Se,ZodCompileUnsupportedError:()=>j,ZodCreditCard:()=>Zc,ZodCustom:()=>bn,ZodCustomStringFormat:()=>wt,ZodDate:()=>fn,ZodDefault:()=>dl,ZodDiscriminatedUnion:()=>Xc,ZodE164:()=>Ti,ZodEmail:()=>yi,ZodEmoji:()=>xi,ZodEnum:()=>dr,ZodError:()=>V3,ZodExactOptional:()=>ji,ZodFile:()=>al,ZodFirstPartyTypeKind:()=>Nl,ZodFunction:()=>Il,ZodGUID:()=>bi,ZodIBAN:()=>Dc,ZodIPv4:()=>Si,ZodIPv6:()=>zi,ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>et,ZodISOTime:()=>Qe,ZodInstanceOf:()=>Ml,ZodIntersection:()=>Qc,ZodIssueCode:()=>H3,ZodJWT:()=>Ei,ZodKSUID:()=>Ii,ZodLazy:()=>_l,ZodLiteral:()=>sl,ZodMAC:()=>Rc,ZodMap:()=>ol,ZodNaN:()=>yl,ZodNanoID:()=>vi,ZodNever:()=>qc,ZodNonOptional:()=>Wi,ZodNull:()=>Fc,ZodNullable:()=>ll,ZodNumber:()=>fr,ZodNumberFormat:()=>_t,ZodObject:()=>hn,ZodOptional:()=>gn,ZodPipe:()=>Cn,ZodPrefault:()=>fl,ZodPreprocess:()=>bl,ZodPromise:()=>$l,ZodReadonly:()=>xl,ZodRealError:()=>be,ZodRecord:()=>lr,ZodSet:()=>il,ZodString:()=>pr,ZodStringFormat:()=>U,ZodSuccess:()=>kl,ZodSymbol:()=>Vc,ZodTemplateLiteral:()=>wl,ZodTransform:()=>ul,ZodTuple:()=>tl,ZodType:()=>E,ZodULID:()=>Li,ZodURL:()=>pn,ZodUUID:()=>Te,ZodUndefined:()=>Bc,ZodUnion:()=>kn,ZodUnknown:()=>Kc,ZodVoid:()=>Gc,ZodXID:()=>$i,ZodXor:()=>Yc,_ZodString:()=>Ci,_default:()=>pl,_function:()=>A2,any:()=>l2,array:()=>mn,base64:()=>Fp,base64url:()=>Hp,bigint:()=>i2,boolean:()=>Wc,catch:()=>Cl,check:()=>T2,cidrv4:()=>Vp,cidrv6:()=>Bp,clone:()=>B,codec:()=>z2,coerce:()=>Al,compile:()=>Xu,config:()=>X,core:()=>De,creditCard:()=>Kp,cuid:()=>Tp,cuid2:()=>Ep,currencyCode:()=>Qp,custom:()=>E2,date:()=>p2,decode:()=>Mc,decodeAsync:()=>Pc,deepPartial:()=>q2,describe:()=>O2,discriminatedUnion:()=>C2,e164:()=>Up,email:()=>_p,emoji:()=>Pp,encode:()=>zc,encodeAsync:()=>Nc,endsWith:()=>Qt,enum:()=>Zi,exactOptional:()=>cl,file:()=>L2,flattenError:()=>Er,float32:()=>t2,float64:()=>r2,formatError:()=>Or,fromJSONSchema:()=>U2,function:()=>A2,getDiscriminatedOption:()=>xu,getErrorMap:()=>K3,globalRegistry:()=>ae,gt:()=>Pe,gte:()=>ve,guid:()=>Lp,hash:()=>e2,hex:()=>Xp,hostname:()=>Yp,httpUrl:()=>Np,iban:()=>qp,includes:()=>Yt,input:()=>J2,instanceof:()=>Z2,int:()=>ki,int32:()=>n2,int64:()=>s2,intersection:()=>el,invertCodec:()=>M2,ipv4:()=>Dp,ipv6:()=>Wp,iso:()=>xn,json:()=>j2,jwt:()=>Gp,keyof:()=>f2,ksuid:()=>Zp,lazy:()=>Ll,length:()=>Ct,literal:()=>_2,locales:()=>tn,looseObject:()=>k2,looseRecord:()=>b2,lowercase:()=>Gt,lt:()=>Ne,lte:()=>xe,mac:()=>jp,map:()=>x2,maxLength:()=>gt,maxSize:()=>Ke,memoizer:()=>en,meta:()=>R2,mime:()=>tr,minLength:()=>Ze,minSize:()=>Ae,multipleOf:()=>Ue,nan:()=>S2,nanoid:()=>Ap,nativeEnum:()=>w2,negative:()=>ii,never:()=>Ri,nonnegative:()=>ai,nonoptional:()=>hl,nonpositive:()=>si,normalize:()=>rr,null:()=>Hc,nullable:()=>dn,nullish:()=>$2,number:()=>jc,object:()=>m2,optional:()=>xt,output:()=>Y2,overwrite:()=>ze,parse:()=>Lc,parseAsync:()=>$c,partialRecord:()=>y2,pipe:()=>gi,positive:()=>oi,prefault:()=>ml,preprocess:()=>W2,prettifyError:()=>Ss,promise:()=>P2,properties:()=>er,property:()=>ui,readonly:()=>vl,record:()=>nl,refine:()=>Sl,regex:()=>qt,regexes:()=>Le,registry:()=>Ao,safeDecode:()=>Tc,safeDecodeAsync:()=>Oc,safeEncode:()=>Ac,safeEncodeAsync:()=>Ec,safeParse:()=>Ic,safeParseAsync:()=>Sc,set:()=>v2,setErrorMap:()=>U3,size:()=>kt,slugify:()=>sr,startsWith:()=>Xt,strictObject:()=>h2,string:()=>ln,stringFormat:()=>Jp,stringbool:()=>D2,success:()=>I2,superRefine:()=>zl,symbol:()=>u2,templateLiteral:()=>N2,toJSONSchema:()=>pi,toLowerCase:()=>or,toUpperCase:()=>ir,toZod:()=>$r,transform:()=>Di,treeifyError:()=>Is,trim:()=>nr,tuple:()=>rl,uint32:()=>o2,uint64:()=>a2,ulid:()=>Op,undefined:()=>c2,union:()=>kr,unknown:()=>bt,uppercase:()=>Jt,url:()=>Mp,util:()=>S,uuid:()=>$p,uuidv4:()=>Ip,uuidv6:()=>Sp,uuidv7:()=>zp,validate:()=>Rr,validateAsync:()=>Zr,void:()=>d2,withParser:()=>To,xid:()=>Rp,xor:()=>g2});var De={};$e(De,{$ZodAny:()=>fu,$ZodArray:()=>Cu,$ZodAsyncError:()=>Ce,$ZodBase64:()=>tu,$ZodBase64URL:()=>ru,$ZodBigInt:()=>xo,$ZodBigIntFormat:()=>cu,$ZodBoolean:()=>qr,$ZodCIDRv4:()=>Qa,$ZodCIDRv6:()=>eu,$ZodCUID:()=>Wa,$ZodCUID2:()=>Va,$ZodCatch:()=>Ru,$ZodCheck:()=>K,$ZodCheckBigIntFormat:()=>ma,$ZodCheckEndsWith:()=>$a,$ZodCheckGreaterThan:()=>oo,$ZodCheckIncludes:()=>_a,$ZodCheckLengthEquals:()=>ba,$ZodCheckLessThan:()=>no,$ZodCheckLowerCase:()=>va,$ZodCheckMaxLength:()=>Ca,$ZodCheckMaxSize:()=>ha,$ZodCheckMimeType:()=>za,$ZodCheckMinLength:()=>ya,$ZodCheckMinSize:()=>ka,$ZodCheckMultipleOf:()=>pa,$ZodCheckNumberFormat:()=>fa,$ZodCheckOverwrite:()=>Ma,$ZodCheckProperties:()=>Sa,$ZodCheckProperty:()=>Ia,$ZodCheckRegex:()=>xa,$ZodCheckSizeEquals:()=>ga,$ZodCheckStartsWith:()=>La,$ZodCheckStringFormat:()=>Ft,$ZodCheckUpperCase:()=>wa,$ZodCodec:()=>Jr,$ZodCreditCard:()=>ou,$ZodCustom:()=>Fu,$ZodCustomStringFormat:()=>au,$ZodCyclicError:()=>So,$ZodDate:()=>gu,$ZodDefault:()=>Au,$ZodDiscriminatedUnion:()=>vu,$ZodE164:()=>nu,$ZodEmail:()=>Ea,$ZodEmoji:()=>Da,$ZodEncodeError:()=>He,$ZodEnum:()=>Iu,$ZodError:()=>$s,$ZodExactOptional:()=>Nu,$ZodFile:()=>zu,$ZodFunction:()=>Vu,$ZodGUID:()=>Aa,$ZodIBAN:()=>iu,$ZodIPv4:()=>Ja,$ZodIPv6:()=>Ya,$ZodISODate:()=>Ka,$ZodISODateTime:()=>Ua,$ZodISODuration:()=>Ga,$ZodISOTime:()=>qa,$ZodIntersection:()=>wu,$ZodJWT:()=>su,$ZodKSUID:()=>Ha,$ZodLazy:()=>Yr,$ZodLiteral:()=>Su,$ZodMAC:()=>Xa,$ZodMap:()=>Lu,$ZodNaN:()=>Zu,$ZodNanoID:()=>ja,$ZodNever:()=>hu,$ZodNonOptional:()=>Eu,$ZodNull:()=>pu,$ZodNullable:()=>Pu,$ZodNumber:()=>bo,$ZodNumberFormat:()=>uu,$ZodObject:()=>Fd,$ZodObjectJIT:()=>yu,$ZodOptional:()=>wo,$ZodPipe:()=>_o,$ZodPrefault:()=>Tu,$ZodPreprocess:()=>Du,$ZodPromise:()=>Bu,$ZodReadonly:()=>ju,$ZodRealError:()=>ye,$ZodRecord:()=>_u,$ZodRegistry:()=>Po,$ZodSet:()=>$u,$ZodString:()=>dt,$ZodStringFormat:()=>F,$ZodSuccess:()=>Ou,$ZodSymbol:()=>lu,$ZodTemplateLiteral:()=>Wu,$ZodTransform:()=>Mu,$ZodTuple:()=>vo,$ZodType:()=>A,$ZodULID:()=>Ba,$ZodURL:()=>Za,$ZodUUID:()=>Ta,$ZodUndefined:()=>du,$ZodUnion:()=>Gr,$ZodUnknown:()=>mu,$ZodVoid:()=>ku,$ZodXID:()=>Fa,$ZodXor:()=>bu,$brand:()=>ws,$constructor:()=>k,$input:()=>qu,$output:()=>Ku,Doc:()=>lt,INVALID:()=>pe,JSONSchema:()=>xp,JSONSchemaGenerator:()=>fi,NEVER:()=>vs,TimePrecision:()=>i1,URL_BAD_FORMAT:()=>Oa,URL_UNPARSEABLE:()=>Br,ZodCompileAsyncError:()=>Se,ZodCompileUnsupportedError:()=>j,_any:()=>v1,_array:()=>z1,_base64:()=>ei,_base64url:()=>ti,_bigint:()=>h1,_boolean:()=>f1,_catch:()=>M3,_check:()=>ip,_cidrv4:()=>Xo,_cidrv6:()=>Qo,_coercedBigint:()=>k1,_coercedBoolean:()=>m1,_coercedDate:()=>I1,_coercedNumber:()=>a1,_coercedString:()=>t1,_creditCard:()=>n1,_cuid:()=>Ho,_cuid2:()=>Uo,_custom:()=>N1,_date:()=>$1,_decode:()=>Un,_decodeAsync:()=>qn,_default:()=>I3,_discriminatedUnion:()=>h3,_e164:()=>ri,_email:()=>Ro,_emoji:()=>Bo,_encode:()=>Hn,_encodeAsync:()=>Kn,_endsWith:()=>Qt,_enum:()=>x3,_file:()=>M1,_float32:()=>c1,_float64:()=>l1,_gt:()=>Pe,_gte:()=>ve,_guid:()=>Zo,_iban:()=>o1,_includes:()=>Yt,_int:()=>u1,_int32:()=>d1,_int64:()=>g1,_intersection:()=>k3,_ipv4:()=>Jo,_ipv6:()=>Yo,_isoDate:()=>on,_isoDateTime:()=>nn,_isoDuration:()=>an,_isoTime:()=>sn,_jwt:()=>ni,_ksuid:()=>Go,_lazy:()=>T3,_length:()=>Ct,_literal:()=>w3,_lowercase:()=>Gt,_lt:()=>Ne,_lte:()=>xe,_mac:()=>r1,_map:()=>y3,_max:()=>xe,_maxLength:()=>gt,_maxSize:()=>Ke,_mime:()=>tr,_min:()=>ve,_minLength:()=>Ze,_minSize:()=>Ae,_multipleOf:()=>Ue,_nan:()=>S1,_nanoid:()=>Fo,_nativeEnum:()=>v3,_negative:()=>ii,_never:()=>_1,_nonnegative:()=>ai,_nonoptional:()=>S3,_nonpositive:()=>si,_normalize:()=>rr,_null:()=>x1,_nullable:()=>$3,_number:()=>s1,_optional:()=>L3,_overwrite:()=>ze,_parse:()=>jt,_parseAsync:()=>Wt,_pipe:()=>N3,_positive:()=>oi,_promise:()=>E3,_properties:()=>er,_property:()=>ui,_readonly:()=>P3,_record:()=>C3,_refine:()=>P1,_regex:()=>qt,_safeDecode:()=>Jn,_safeDecodeAsync:()=>Xn,_safeEncode:()=>Gn,_safeEncodeAsync:()=>Yn,_safeParse:()=>Vt,_safeParseAsync:()=>Bt,_set:()=>b3,_size:()=>kt,_slugify:()=>sr,_startsWith:()=>Xt,_string:()=>e1,_stringFormat:()=>yt,_stringbool:()=>O1,_success:()=>z3,_superRefine:()=>A1,_symbol:()=>y1,_templateLiteral:()=>A3,_toLowerCase:()=>or,_toUpperCase:()=>ir,_transform:()=>_3,_trim:()=>nr,_tuple:()=>g3,_uint32:()=>p1,_uint64:()=>C1,_ulid:()=>Ko,_undefined:()=>b1,_union:()=>f3,_unknown:()=>w1,_uppercase:()=>Jt,_url:()=>rn,_uuid:()=>Do,_uuidv4:()=>jo,_uuidv6:()=>Wo,_uuidv7:()=>Vo,_void:()=>L1,_xid:()=>qo,_xor:()=>m3,base64Charset:()=>ho,base64urlCharset:()=>Kr,canParseURL:()=>Ra,clone:()=>B,compile:()=>Xu,compileFn:()=>Eo,config:()=>X,createStandardJSONSchemaMethod:()=>ar,createToJSONSchemaMethod:()=>Z1,decode:()=>w4,decodeAsync:()=>L4,describe:()=>T1,encode:()=>v4,encodeAsync:()=>_4,extractDefs:()=>Ge,finalize:()=>Je,flattenError:()=>Er,formatError:()=>Or,getDiscriminatedOption:()=>xu,globalConfig:()=>ne,globalRegistry:()=>ae,handleUnrepresentable:()=>te,initializeContext:()=>qe,isBackEdge:()=>Mo,isRecursiveSchema:()=>zo,isValidBase64:()=>Ur,isValidBase64URL:()=>ko,isValidCIDRv6:()=>mo,isValidCreditCard:()=>go,isValidIBAN:()=>Co,isValidIPv6:()=>Hr,isValidJWT:()=>yo,locales:()=>tn,memoizer:()=>en,mergeValues:()=>Ht,meta:()=>E1,parse:()=>Bn,parseAsync:()=>Fn,parseURLObject:()=>Wd,prettifyError:()=>Ss,process:()=>H,processSchema:()=>H,regexes:()=>Le,registry:()=>Ao,safeDecode:()=>I4,safeDecodeAsync:()=>z4,safeEncode:()=>$4,safeEncodeAsync:()=>S4,safeParse:()=>g4,safeParseAsync:()=>C4,standardProps:()=>co,stripTabAndNewline:()=>Fr,toDotPath:()=>bd,toJSONSchema:()=>pi,toZod:()=>$r,treeifyError:()=>Is,urlHostnameOk:()=>po,urlProtocolOk:()=>fo,util:()=>S,validate:()=>Rr,validateAsync:()=>Zr,validateURL:()=>lo,version:()=>Na,withParser:()=>To});var S={};$e(S,{BIGINT_FORMAT_RANGES:()=>Nr,CONSTANT_CATCH:()=>Wn,Class:()=>ds,NUMBER_FORMAT_RANGES:()=>Mr,aborted:()=>de,allowsEval:()=>ms,assert:()=>R8,assertEqual:()=>A8,assertIs:()=>E8,assertNever:()=>O8,assertNotEqual:()=>T8,assignProp:()=>se,attachSchema:()=>jn,base64ToUint8Array:()=>md,base64urlToUint8Array:()=>r4,cached:()=>Rt,captureStackTrace:()=>Rn,cleanEnum:()=>t4,cleanRegex:()=>Oe,clone:()=>B,cloneDef:()=>j8,codePointLength:()=>ut,constantCatch:()=>bs,createTransparentProxy:()=>U8,defineLazy:()=>ps,defineLazyInternal:()=>O,derived:()=>s4,esc:()=>le,escapeRegex:()=>_e,explicitlyAborted:()=>gs,extend:()=>G8,finalizeIssue:()=>ge,floatSafeRemainder:()=>Ir,getElementAtPath:()=>W8,getEnumValues:()=>Et,getLengthableOrigin:()=>Ar,getParsedType:()=>H8,getSizableOrigin:()=>Pr,hexToUint8Array:()=>o4,hide:()=>Tr,installLazyProp:()=>l4,isObject:()=>at,isPlainObject:()=>we,issue:()=>Dt,joinValues:()=>En,jsonStringifyReplacer:()=>Ot,members:()=>ys,merge:()=>Y8,mergeDefs:()=>Ie,normalizeParams:()=>_,nullish:()=>On,numKeys:()=>F8,objectClone:()=>Z8,omit:()=>q8,optionalKeys:()=>ks,own:()=>Fe,parsedType:()=>Cs,partial:()=>X8,pick:()=>K8,prefixIssues:()=>ke,primitiveTypes:()=>hs,promiseAllObject:()=>V8,propertyKeyTypes:()=>zr,randomString:()=>B8,rawShape:()=>Zt,required:()=>Q8,safeExtend:()=>J8,shallowClone:()=>Sr,slugify:()=>fs,stringifyPrimitive:()=>Zn,toZod:()=>$r,uint8ArrayToBase64:()=>hd,uint8ArrayToBase64url:()=>n4,uint8ArrayToHex:()=>i4,unwrapMessage:()=>Tt});function A8(e){return e}function T8(e){return e}function $r(){return e=>e}function E8(e){}function O8(e){throw new Error("Unexpected value in exhaustive check")}function R8(e){}function Et(e){let t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function En(e,t="|"){return e.map(r=>Zn(r)).join(t)}function Ot(e,t){return typeof t=="bigint"?t.toString():t}var ls=class{constructor(t){this._getter=t,this._value=void 0}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function Rt(e){return new ls(e)}function On(e){return e==null}function Oe(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Ir(e,t){let r=e/t,n=Math.round(r),o=4*Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-n)<o?0:r-n}var ld=Symbol("evaluating");function ps(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==ld)return n===void 0&&(n=ld,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function Z8(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function se(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Zt(e){let t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function Ee(e){return Zt(e._zod.def)??e._zod.def.shape}function dd(e,t,r){Object.defineProperty(e,t,{get(){let n=r();return se(this,t,n),n},enumerable:!0,configurable:!0})}function pd(e,t,r){t in e?se(e,t,r):e[t]=r}function st(e,t,r,n){let o=Ee(t);for(let i of r){let s=Object.getOwnPropertyDescriptor(o,i);s.enumerable&&(s.get?dd(e,i,()=>{let a=t._zod.def.shape[i];return n?n(a,i):a}):pd(e,i,n?n(s.value,i):s.value))}}function D8(e,t){for(let r of Reflect.ownKeys(t)){let n=Object.getOwnPropertyDescriptor(t,r);n.enumerable&&(n.get?dd(e,r,()=>t[r]):pd(e,r,n.value))}}function Ie(...e){let t={};for(let r of e){let n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function j8(e){return Ie(e._zod.def)}function W8(e,t){return t?t.reduce((r,n)=>r?.[n],e):e}function V8(e){let t=Object.keys(e),r=t.map(n=>e[n]);return Promise.all(r).then(n=>{let o={};for(let i=0;i<t.length;i++)o[t[i]]=n[i];return o})}function B8(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r}function le(e){return JSON.stringify(e)}function fs(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Rn="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function at(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var ms=Rt(()=>{if(ne.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function we(e){if(at(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(at(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function Sr(e){return we(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function F8(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var H8=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},zr=new Set(["string","number","symbol"]),hs=new Set(["string","number","bigint","boolean","symbol","undefined"]);function _e(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function B(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function _(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function U8(e){let t;return new Proxy({},{get(r,n,o){return t??(t=e()),Reflect.get(t,n,o)},set(r,n,o,i){return t??(t=e()),Reflect.set(t,n,o,i)},has(r,n){return t??(t=e()),Reflect.has(t,n)},deleteProperty(r,n){return t??(t=e()),Reflect.deleteProperty(t,n)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,n){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)},defineProperty(r,n,o){return t??(t=e()),Reflect.defineProperty(t,n,o)}})}function Zn(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function ks(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var Mr={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Nr={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function K8(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let i={};return st(i,e,Dn(e,t)),B(e,Ie(r,{shape:i,checks:[]}))}function Dn(e,t){let r=Ee(e),n=[];for(let o of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(r,o)?.enumerable)throw new Error(`Unrecognized key: "${String(o)}"`);t[o]&&n.push(o)}return n}function q8(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let i=new Set(Dn(e,t)),s={};return st(s,e,Reflect.ownKeys(Ee(e)).filter(a=>!i.has(a))),B(e,Ie(r,{shape:s,checks:[]}))}function G8(e,t){if(!we(t))throw new Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let o=Ee(e);for(let i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(o,i)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return B(e,Ie(e._zod.def,{shape:fd(e,t)}))}function fd(e,t){let r={};return st(r,e,Reflect.ownKeys(Ee(e))),D8(r,t),r}function J8(e,t){if(!we(t))throw new Error("Invalid input to safeExtend: expected a plain object");return B(e,Ie(e._zod.def,{shape:fd(e,t)}))}function Y8(e,t){if(!t?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let r={};st(r,e,Reflect.ownKeys(Ee(e))),st(r,t,Reflect.ownKeys(Ee(t)));let n=Ie(e._zod.def,{shape:r,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return B(e,n)}function X8(e,t,r,n="partial"){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${n}() cannot be used on object schemas containing refinements`);let a=r?new Set(Dn(t,r)):void 0,c={};return st(c,t,Reflect.ownKeys(Ee(t)),e&&((u,l)=>a&&!a.has(l)?u:new e({type:"optional",innerType:u}))),B(t,Ie(t._zod.def,{shape:c,checks:[]}))}function Q8(e,t,r){let n=r?new Set(Dn(t,r)):void 0,o={};return st(o,t,Reflect.ownKeys(Ee(t)),(i,s)=>n&&!n.has(s)?i:new e({type:"nonoptional",innerType:i})),B(t,Ie(t._zod.def,{shape:o}))}function de(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function gs(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function ke(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function Tt(e){return typeof e=="string"?e:e?.message}function jn(e,t,r){var n;for(let o=t;o<e.length;o++)(n=e[o]).schema??(n.schema=r)}function ge(e,t,r){var n;let o=e.inst?._zod?.traits;o?.has("$ZodType")&&(o.has("$ZodCheck")?(n=e).schema??(n.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,s=e.message?e.message:Tt(e.inst?._zod.def?.error?.(e))??Tt(i?.(e))??Tt(t?.error?.(e))??Tt(r.customError?.(e))??Tt(r.localeError?.(e))??"Invalid input",a={};for(let c of Object.keys(e))c==="inst"||c==="schema"||c==="continue"||c==="input"||c==="__proto__"||(a[c]=e[c]);return a.path??(a.path=[]),a.message=s,t?.reportInput&&(a.input=e.input),a}function Pr(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}var e4=/[\uD800-\uDBFF]/;function ut(e){let t=e.length;if(!e4.test(e))return t;let r=t;for(let n=0;n<t-1;n++)(e.charCodeAt(n)&64512)===55296&&(e.charCodeAt(n+1)&64512)===56320&&(r--,n++);return r}function Ar(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Cs(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}function Dt(...e){let[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}function t4(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function md(e){let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}function hd(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function r4(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return md(t+r)}function n4(e){return hd(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function o4(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let r=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2)r[n/2]=Number.parseInt(t.slice(n,n+2),16);return r}function i4(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var ds=class{constructor(...t){}};function ys(e,t){for(let r in t){let n=Object.getOwnPropertyDescriptor(t,r);n.get?Object.defineProperty(e,r,{...n,enumerable:!1}):a4(e,r,n.value)}}function Fe(e,t,r,n=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:n,value:r}),r}function Tr(e,t,r){return Fe(e,t,r,!1)}function s4(e,t){for(let r in e){let n=e[r];Object.defineProperty(t,r,{configurable:!0,enumerable:!0,get(){return Fe(this,r,n(this))},set(o){Fe(this,r,o)}})}return t}function a4(e,t,r){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?r:Fe(this,t,r.bind(this))},set(n){Fe(this,t,n)}})}function u4(e,t){let r=Object.getPrototypeOf(e);return t in r?void 0:r}var cs,Be=!1,c4={configurable:!0,get(){Be=!0}};function O(e,t,r){let n=Object.getPrototypeOf(e._zod);if(t in n&&cs!==e._zod){cs=void 0;return}cs=e._zod,Object.defineProperty(n,t,{configurable:!0,get(){Object.defineProperty(this,t,c4);let o=Be;Be=!1;try{let i=r(this);return Be?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),Be=Be||o,i}catch(i){throw delete this[t],Be=Be||o,i}},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o})}})}function l4(e,t,r,n){let o=u4(e,t);o&&Object.defineProperty(o,t,{configurable:!0,get(){let i={configurable:!0,writable:!0,enumerable:n,value:void 0};return Object.defineProperty(this,t,i),i.value=r(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:n,value:i})}})}var Wn="~constantCatch";function bs(e){let t=()=>e;return t[Wn]=!0,t}var kd,vs=Object.freeze({status:"aborted"}),xs={value:void 0,enumerable:!1},gd="captureStackTrace"in Error?Error:null;function d4(e){let t=gd;if(t){let r=t.stackTraceLimit;if(typeof r=="number"){try{t.stackTraceLimit=0}catch{return gd=null,new e}try{return new e}finally{t.stackTraceLimit=r}}}return new e}function k(e,t,r,n){let o={};function i(f){this.def=f,this.constr=d,this.traits=new Set}i.prototype=o;let s=r,a=s&&new WeakSet;function c(f,m){if(f._zod){if(f._zod.traits.has(e))return}else{xs.value=new i(m);try{Object.defineProperty(f,"_zod",xs)}finally{xs.value=void 0}}if(f._zod.traits.add(e),t(f,m),a){let C=Object.getPrototypeOf(f),y=f._zod.constr.prototype,x=C;for(;x&&x!==y;)x=Object.getPrototypeOf(x);let w=x??C;a.has(w)||(a.add(w),ys(w,s))}let g=d.prototype;for(let C in g)Object.prototype.hasOwnProperty.call(g,C)&&(C in f||(f[C]=g[C].bind(f)))}let u=n?.Parent??Object;class l extends u{}Object.defineProperty(l,"name",{value:e});function d(f){let m=n?.Parent?d4(l):this;c(m,f);let g=m._zod.deferred;if(g){for(let y of g)y();m._zod.deferred=void 0}let C=globalThis.__zod_globalConfig?.postProcessor;return C&&C(m),m}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:f=>n?.Parent&&f instanceof n.Parent?!0:f?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var ws=Symbol("zod_brand"),Ce=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},He=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};(kd=globalThis).__zod_globalConfig??(kd.__zod_globalConfig={});var ne=globalThis.__zod_globalConfig;function X(e){return e&&Object.assign(ne,e),ne}function p4(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Ot,2)),e.message}function f4(e){this._zod.message=e}var m4={get:p4,set:f4,enumerable:!0,configurable:!0},Ls={value:void 0,enumerable:!1},Cd=new WeakSet([Object.prototype,Error.prototype]),yd=(e,t)=>{e.name="$ZodError",Ls.value=t,Object.defineProperty(e,"issues",Ls),Ls.value=void 0,Object.defineProperty(e,"message",m4);let r=Object.getPrototypeOf(e);Cd.has(r)||(Cd.add(r),Object.defineProperty(r,"toString",{configurable:!0,enumerable:!1,get(){let n=()=>this.message;return Object.defineProperty(this,"toString",{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,"toString",{value:n,configurable:!0,writable:!0})}}))},$s=k("$ZodError",yd),ye=k("$ZodError",yd,void 0,{Parent:Error});function h4(e,t,r){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:r(),writable:!0,enumerable:!0,configurable:!0}):e[t]=r()),e[t]}function Er(e,t=r=>r.message){let r={},n=[];for(let o of e.issues)o.path.length>0?h4(r,o.path[0],()=>[]).push(t(o)):n.push(t(o));return{formErrors:n,fieldErrors:r}}function Or(e,t=r=>r.message){let r={_errors:[]},n=(o,i=[])=>{for(let s of o.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(a=>n({issues:a},[...i,...s.path]));else if(s.code==="invalid_key")n({issues:s.issues},[...i,...s.path]);else if(s.code==="invalid_element")n({issues:s.issues},[...i,...s.path]);else{let a=[...i,...s.path];if(a.length===0)r._errors.push(t(s));else{let c=r,u=0;for(;u<a.length;){let l=a[u],d=u===a.length-1;if(l==="_errors"){d&&c._errors.push(t(s)),u++;continue}Object.prototype.hasOwnProperty.call(c,l)||Object.defineProperty(c,l,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let f=c[l];d&&f._errors.push(t(s)),c=f,u++}}}};return n(e),r}function Is(e,t=r=>r.message){let r={errors:[]},n=(o,i=[])=>{var s;for(let a of o.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(c=>n({issues:c},[...i,...a.path]));else if(a.code==="invalid_key")n({issues:a.issues},[...i,...a.path]);else if(a.code==="invalid_element")n({issues:a.issues},[...i,...a.path]);else{let c=[...i,...a.path];if(c.length===0){r.errors.push(t(a));continue}let u=r,l=0;for(;l<c.length;){let d=c[l],f=l===c.length-1;typeof d=="string"?(u.properties??(u.properties={}),Object.prototype.hasOwnProperty.call(u.properties,d)||Object.defineProperty(u.properties,d,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),u=u.properties[d]):(u.items??(u.items=[]),(s=u.items)[d]??(s[d]={errors:[]}),u=u.items[d]),f&&u.errors.push(t(a)),l++}}};return n(e),r}function bd(e){let t=[],r=e.map(n=>typeof n=="object"?n.key:n);for(let n of r)typeof n=="number"?t.push(`[${n}]`):typeof n=="symbol"?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}function Ss(e){let t=[],r=[...e.issues].sort((n,o)=>(n.path??[]).length-(o.path??[]).length);for(let n of r)t.push(`\u2716 ${n.message}`),n.path?.length&&t.push(` \u2192 at ${bd(n.path)}`);return t.join(`
|
|
2
|
-
`)}function Vn(e,t){return{callee:t?.callee??e,Err:t?.Err}}var jt=e=>{let t=(r,n,o,i)=>{let s=o?{...o,async:!1}:{async:!1},a=r._zod.run({value:n,issues:[]},s);if(a instanceof Promise)throw new Ce;if(a.issues.length){let c=new(i?.Err??e)(a.issues.map(u=>ge(u,s,X())));throw Rn(c,i?.callee??t),c}return a.value};return t},Bn=jt(ye),Wt=e=>{let t=async(r,n,o,i)=>{let s=o?{...o,async:!0}:{async:!0},a=r._zod.run({value:n,issues:[]},s);if(a instanceof Promise&&(a=await a),a.issues.length){let c=new(i?.Err??e)(a.issues.map(u=>ge(u,s,X())));throw Rn(c,i?.callee??t),c}return a.value};return t},Fn=Wt(ye),Vt=e=>(t,r,n)=>{let o=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new Ce;return i.issues.length?xd(e,i.issues,o):{success:!0,data:i.value}},g4=Vt(ye);function xd(e,t,r){let n;return{success:!1,get error(){return n||(n=new e(t.map(o=>ge(o,r,X()))),t=void 0,r=void 0),n},set error(o){n=o,t=void 0,r=void 0}}}var Bt=e=>async(t,r,n)=>{let o=n?{...n,async:!0}:{async:!0},i=t._zod.run({value:r,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?xd(e,i.issues,o):{success:!0,data:i.value}},C4=Bt(ye),y4=Symbol.for("zod.compile.invalid"),b4=Symbol.for("zod.compile.fallback"),Rr=((e,t,r)=>{let n=e._zod.bag.validator;if(n!==void 0){if(n(t)!==y4)return!0;if(n.definite===!0&&r===void 0)return!1}return x4(e,t,r)});function x4(e,t,r){let n=r?{...r,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},o=e._zod.bag.fallbackRun,i;if(o?(n[b4]=!0,i=o({value:t,issues:[]},n)):i=e._zod.run({value:t,issues:[]},n),i instanceof Promise)throw new Ce;return i.issues.length===0}var Zr=async(e,t,r)=>{let n=r?{...r,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},o=e._zod.run({value:t,issues:[]},n);return o instanceof Promise&&(o=await o),o.issues.length===0},Hn=e=>{let t=jt(e),r=(n,o,i,s)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return t(n,o,a,Vn(r,s))};return r},v4=Hn(ye),Un=e=>{let t=jt(e),r=(n,o,i,s)=>t(n,o,i,Vn(r,s));return r},w4=Un(ye),Kn=e=>{let t=Wt(e),r=async(n,o,i,s)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return await t(n,o,a,Vn(r,s))};return r},_4=Kn(ye),qn=e=>{let t=Wt(e),r=async(n,o,i,s)=>await t(n,o,i,Vn(r,s));return r},L4=qn(ye),Gn=e=>(t,r,n)=>{let o=n?{...n,direction:"backward"}:{direction:"backward"};return Vt(e)(t,r,o)},$4=Gn(ye),Jn=e=>(t,r,n)=>Vt(e)(t,r,n),I4=Jn(ye),Yn=e=>async(t,r,n)=>{let o=n?{...n,direction:"backward"}:{direction:"backward"};return Bt(e)(t,r,o)},S4=Yn(ye),Xn=e=>async(t,r,n)=>Bt(e)(t,r,n),z4=Xn(ye);var Le={};$e(Le,{anyString:()=>ta,base64:()=>Us,base64url:()=>Ks,bigint:()=>na,boolean:()=>oa,browserEmail:()=>R4,cidrv4:()=>Fs,cidrv6:()=>Hs,creditCard:()=>Qn,cuid:()=>Ms,cuid2:()=>Ns,currencyCode:()=>Ys,date:()=>Xs,datetime:()=>ea,domain:()=>Gs,duration:()=>Rs,e164:()=>Js,email:()=>Ds,emoji:()=>js,extendedDuration:()=>M4,guid:()=>Zs,hex:()=>ca,hostname:()=>qs,html5Email:()=>T4,httpProtocol:()=>Dr,iban:()=>eo,idnEmail:()=>O4,integer:()=>jr,ipv4:()=>Ws,ipv6:()=>Vs,ksuid:()=>Ts,lowercase:()=>aa,mac:()=>Bs,md5_base64:()=>W4,md5_base64url:()=>V4,md5_hex:()=>j4,nanoid:()=>Es,nanoidOfLength:()=>Os,null:()=>ia,number:()=>Re,rfc5322Email:()=>E4,sha1_base64:()=>F4,sha1_base64url:()=>H4,sha1_hex:()=>B4,sha256_base64:()=>K4,sha256_base64url:()=>q4,sha256_hex:()=>U4,sha384_base64:()=>J4,sha384_base64url:()=>Y4,sha384_hex:()=>G4,sha512_base64:()=>Q4,sha512_base64url:()=>eh,sha512_hex:()=>X4,string:()=>ra,time:()=>Qs,ulid:()=>Ps,undefined:()=>sa,unicodeEmail:()=>vd,uppercase:()=>ua,uuid:()=>ct,uuid4:()=>N4,uuid6:()=>P4,uuid7:()=>A4,xid:()=>As});var Ms=/^[cC][0-9a-z]{6,}$/,Ns=/^[0-9a-z]+$/,Ps=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,As=/^[0-9a-vA-V]{20}$/,Ts=/^[A-Za-z0-9]{27}$/,Es=/^[a-zA-Z0-9_-]{21}$/;function Os(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Rs=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,M4=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Zs=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ct=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,N4=ct(4),P4=ct(6),A4=ct(7),Ds=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,T4=/^[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])?)*$/,E4=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,vd=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,O4=vd,R4=/^[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])?)*$/,Z4="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function js(){return new RegExp(Z4,"u")}var Ws=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Vs=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Bs=e=>{let t=_e(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},Fs=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Hs=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Us=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Ks=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,qs=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Gs=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/,Dr=/^https?$/,Js=/^\+[1-9]\d{6,14}$/,Qn=/^\d(?:[ -]?\d){11,18}$/,Ys=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,eo=/^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/,wd="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function D4(e){return new RegExp(`^${e}$`)}var Xs=D4(wd);function zs(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Qs(e){return new RegExp(`^${zs(e)}$`)}function ea(e){let t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let r=`${zs({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,n=e.local?`${r}|${zs({precision:e.precision})}`:r;return new RegExp(`^${wd}T(?:${n})$`)}var ta=/^[\s\S]{0,}$/,ra=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},na=/^-?\d+n?$/,jr=/^-?\d+$/,Re=/^-?\d+(?:\.\d+)?$/,oa=/^(?:true|false)$/i,ia=/^null$/i;var sa=/^undefined$/i;var aa=/^[^A-Z]*$/,ua=/^[^a-z]*$/,ca=/^[0-9a-fA-F]*$/;function Wr(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Vr(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var j4=/^[0-9a-fA-F]{32}$/,W4=Wr(22,"=="),V4=Vr(22),B4=/^[0-9a-fA-F]{40}$/,F4=Wr(27,"="),H4=Vr(27),U4=/^[0-9a-fA-F]{64}$/,K4=Wr(43,"="),q4=Vr(43),G4=/^[0-9a-fA-F]{96}$/,J4=Wr(64,""),Y4=Vr(64),X4=/^[0-9a-fA-F]{128}$/,Q4=Wr(86,"=="),eh=Vr(86);var K=k("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),la=e=>{let t=e.value;return!On(t)&&t.size!==void 0},da=e=>{let t=e.value;return!On(t)&&t.length!==void 0},to={number:"number",bigint:"bigint",object:"date"},no=k("$ZodCheckLessThan",(e,t)=>{K.init(e,t);let r=to[typeof t.value];e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:to[typeof n.value]??r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),oo=k("$ZodCheckGreaterThan",(e,t)=>{K.init(e,t);let r=to[typeof t.value];e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:to[typeof n.value]??r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),pa=k("$ZodCheckMultipleOf",(e,t)=>{K.init(e,t),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?t.value!==BigInt(0)&&r.value%t.value===BigInt(0):Ir(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),fa=k("$ZodCheckNumberFormat",(e,t)=>{K.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[o,i]=Mr[t.format];e._zod.check=s=>{let a=s.value;if(r){if(!Number.isInteger(a)){s.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:a,inst:e});return}if(!Number.isSafeInteger(a)){a>0?s.issues.push({input:a,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):s.issues.push({input:a,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}a<o&&s.issues.push({origin:"number",input:a,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),a>i&&s.issues.push({origin:"number",input:a,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),ma=k("$ZodCheckBigIntFormat",(e,t)=>{K.init(e,t);let[r,n]=Nr[t.format];e._zod.check=o=>{let i=o.value;i<r&&o.issues.push({origin:"bigint",input:i,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),i>n&&o.issues.push({origin:"bigint",input:i,code:"too_big",maximum:n,inclusive:!0,inst:e,continue:!t.abort})}}),ha=k("$ZodCheckMaxSize",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=la),e._zod.check=n=>{let o=n.value;o.size<=t.maximum||n.issues.push({origin:Pr(o),code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ka=k("$ZodCheckMinSize",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=la),e._zod.check=n=>{let o=n.value;o.size>=t.minimum||n.issues.push({origin:Pr(o),code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ga=k("$ZodCheckSizeEquals",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=la),e._zod.check=n=>{let o=n.value,i=o.size;if(i===t.size)return;let s=i>t.size;n.issues.push({origin:Pr(o),...s?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Ca=k("$ZodCheckMaxLength",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=da),e._zod.check=n=>{let o=n.value,i=o.length;if((typeof o=="string"&&i>t.maximum?ut(o):i)<=t.maximum)return;let a=Ar(o);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ya=k("$ZodCheckMinLength",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=da),e._zod.check=n=>{let o=n.value,i=o.length;if((typeof o=="string"&&i>=t.minimum&&i<t.minimum*2?ut(o):i)>=t.minimum)return;let a=Ar(o);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ba=k("$ZodCheckLengthEquals",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=da),e._zod.check=n=>{let o=n.value,i=o.length,s=typeof o=="string"&&i>=t.length&&i<=t.length*2?ut(o):i;if(s===t.length)return;let a=Ar(o),c=s>t.length;n.issues.push({origin:a,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Ft=k("$ZodCheckStringFormat",(e,t)=>{var r,n;K.init(e,t),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),xa=k("$ZodCheckRegex",(e,t)=>{Ft.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),va=k("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=aa),Ft.init(e,t)}),wa=k("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=ua),Ft.init(e,t)}),_a=k("$ZodCheckIncludes",(e,t)=>{K.init(e,t);let r=_e(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position},}${r}`:r);t.pattern=n,e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),La=k("$ZodCheckStartsWith",(e,t)=>{K.init(e,t);let r=new RegExp(`^${_e(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),$a=k("$ZodCheckEndsWith",(e,t)=>{K.init(e,t);let r=new RegExp(`.*${_e(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function ro(e,t,r){e.issues.length&&t.issues.push(...ke(r,e.issues))}var Ia=k("$ZodCheckProperty",(e,t)=>{K.init(e,t),e._zod.check=r=>{let n=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(o=>ro(o,r,t.property));ro(n,r,t.property)}}),Sa=k("$ZodCheckProperties",(e,t)=>{K.init(e,t),Tr(e,Symbol.iterator,function*(){yield e});let r;e._zod.check=n=>{if(n.value==null){n.issues.push({expected:"object",code:"invalid_type",input:n.value,inst:e});return}r??(r=Reflect.ownKeys(t.shape).map(s=>[s,t.shape[s]]));let o=n.value,i;for(let[s,a]of r){let c=a._zod.run({value:o[s],issues:[]},{});c instanceof Promise?(i??(i=[]),i.push(c.then(u=>ro(u,n,s)))):ro(c,n,s)}if(i)return Promise.all(i).then(()=>{})}}),za=k("$ZodCheckMimeType",(e,t)=>{K.init(e,t);let r=new Set(t.mime);e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e,continue:!t.abort})}}),Ma=k("$ZodCheckOverwrite",(e,t)=>{K.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});var lt=class{constructor(t=[],r={}){this.content=[],this.indent=0,this.args=t,this.closed=r}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let n=t.split(`
|
|
1
|
+
var G9=Object.defineProperty;var v=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}};var $e=(e,t)=>{for(var r in t)G9(e,r,{get:t[r],enumerable:!0})};function qf(e){if(jl!==e){jl=e;for(let t of Wl)t()}}function Yi(){return jl}function Gf(e){return Wl.add(e),()=>{Wl.delete(e)}}var Kf,jl,Wl,Vl=v(()=>{"use strict";Kf=["AiBrowser","AiContentGenerator01","AlignLeft","AppWindow","ArchiveRestore","ArrowDown","ArrowRight","ArrowReloadHorizontal","ArrowUp","ArrowUpDown","ArrowTurnBackward","ArrowTurnForward","ArrowUpRight","Beaker","Browser","Brain","Calendar","CalendarCheckOut02","ChartColumn","ChevronUp","ChevronsDown","ChevronsUp","CircleArrowShrink","Clean","Clock","Cloud","CloudOff","Coffee","Columns2","CornerDownLeft","CornerDownRight","Discord","DateTime","Github","DragDropHorizontal","DragDropVertical","EditFile","ElectricPlugs","Eye","EyeOff","Explore","ExternalLink","FileDiff","File","FileAttachment","FileQuestion","FileText","FolderOpen","FolderEdit","FolderMinus","Fork","GitBranch","GitMerge","GitPullRequest","GitPullRequestArrow","GitPullRequestClosed","GitPullRequestDraft","Globe","GridView","Laptop","Layers","Limitation","ListView","Lock","Mail","MailOpen","Maximize2","Mic","Minimize2","NewTab","PackageReceive","Palette","PanelBottom","PanelRight","Paperclip","Pause","Pin","PinOff","Play","Plus","Puzzle","Repeat","RotateCcw","Rows2","SecurityCheck","Sent","SideChat","Smartphone","Sort","Square","SquareUnlock02","Star","TextWrap","TimeSchedule","UserRound","ZoomIn","ZoomOut"],jl=null,Wl=new Set});var Jf,Yf=v(()=>{Jf=[["path",{d:"M18.4737 15.5215C18.4795 15.4928 18.5205 15.4928 18.5263 15.5215C18.8302 17.0081 19.9919 18.1698 21.4785 18.4737C21.5072 18.4795 21.5072 18.5205 21.4785 18.5263C19.9919 18.8302 18.8302 19.9919 18.5263 21.4785C18.5205 21.5072 18.4795 21.5072 18.4737 21.4785C18.1698 19.9919 17.0081 18.8302 15.5215 18.5263C15.4928 18.5205 15.4928 18.4795 15.5215 18.4737C17.0081 18.1698 18.1698 17.0081 18.4737 15.5215Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 7.5H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.5 20.5H10.5C6.72876 20.5 4.84315 20.5 3.67157 19.3284C2.5 18.1569 2.5 16.2712 2.5 12.5V10.5C2.5 6.72876 2.5 4.84315 3.67157 3.67157C4.84315 2.5 6.72876 2.5 10.5 2.5H12.5C16.2712 2.5 18.1569 2.5 19.3284 3.67157C20.5 4.84315 20.5 6.72876 20.5 10.5V12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var Xf,Qf=v(()=>{Xf=[["path",{d:"M11 21H10C6.22876 21 4.34315 21 3.17157 19.8284C2 18.6569 2 16.7712 2 13V10C2 6.22876 2 4.34315 3.17157 3.17157C4.34315 2 6.22876 2 10 2H12C15.7712 2 17.6569 2 18.8284 3.17157C20 4.34315 20 6.22876 20 10V10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.4069 14.4036C17.6192 13.8655 18.3808 13.8655 18.5931 14.4036L18.6298 14.4969C19.1482 15.8113 20.1887 16.8518 21.5031 17.3702L21.5964 17.4069C22.1345 17.6192 22.1345 18.3808 21.5964 18.5931L21.5031 18.6298C20.1887 19.1482 19.1482 20.1887 18.6298 21.5031L18.5931 21.5964C18.3808 22.1345 17.6192 22.1345 17.4069 21.5964L17.3702 21.5031C16.8518 20.1887 15.8113 19.1482 14.4969 18.6298L14.4036 18.5931C13.8655 18.3808 13.8655 17.6192 14.4036 17.4069L14.4969 17.3702C15.8113 16.8518 16.8518 15.8113 17.3702 14.4969L17.4069 14.4036Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7 7H15M7 11.5H15M7 16H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var em,tm=v(()=>{em=[["path",{d:"M12 18.502V5.00195",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 13.002C18 13.002 13.5811 19.0019 12 19.002C10.4188 19.002 6 13.002 6 13.002",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var rm,nm=v(()=>{rm=[["path",{d:"M17.9997 12.5C17.9997 12.5 13.5807 18.5 11.9996 18.5C10.4185 18.5 5.99966 12.5 5.99966 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.9997 5.50005C17.9997 5.50005 13.5807 11.5 11.9996 11.5C10.4185 11.5 5.99966 5.5 5.99966 5.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var om,im=v(()=>{om=[["path",{d:"M20 3V5.07692C20 7.07786 20 8.07833 19.8547 8.91545C19.0547 13.5235 15.0934 17.1376 10.0426 17.8674C9.12509 18 7.19318 18 5 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 21C6.39316 20.4102 4 18.8403 4 18C4 17.1597 6.39316 15.5898 7 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var sm,am=v(()=>{sm=[["path",{d:"M4 3V5.07692C4 7.07786 4 8.07833 4.14533 8.91545C4.94529 13.5235 8.90656 17.1376 13.9574 17.8674C14.8749 18 16.8068 18 19 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 21C17.6068 20.4102 20 18.8403 20 18C20 17.1597 17.6068 15.5898 17 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var um,cm=v(()=>{um=[["path",{d:"M20.5 5.5H9.5C5.78672 5.5 3 8.18503 3 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3.5 18.5H14.5C18.2133 18.5 21 15.815 21 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18.5 3C18.5 3 21 4.84122 21 5.50002C21 6.15882 18.5 8 18.5 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M5.49998 16C5.49998 16 3.00001 17.8412 3 18.5C2.99999 19.1588 5.5 21 5.5 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var lm,dm=v(()=>{lm=[["path",{d:"M18.5 12L4.99997 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 18C13 18 19 13.5811 19 12C19 10.4188 13 6 13 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var pm,fm=v(()=>{pm=[["path",{d:"M11 6H15.5C17.9853 6 20 8.01472 20 10.5C20 12.9853 17.9853 15 15.5 15H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6.99998 12C6.99998 12 4.00001 14.2095 4 15C3.99999 15.7906 7 18 7 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var mm,hm=v(()=>{mm=[["path",{d:"M13 6H8.5C6.01472 6 4 8.01472 4 10.5C4 12.9853 6.01472 15 8.5 15H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 12C17 12 20 14.2095 20 15C20 15.7906 17 18 17 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var km,gm=v(()=>{km=[["path",{d:"M17.9998 15C17.9998 15 13.5809 9.00001 11.9998 9C10.4187 8.99999 5.99985 15 5.99985 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var Cm,ym=v(()=>{Cm=[["path",{d:"M12 5.5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 11C18 11 13.5811 5.00001 12 5C10.4188 4.99999 6 11 6 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var bm,xm=v(()=>{bm=[["path",{d:"M18 11.5C18 11.5 13.5811 5.50001 12 5.5C10.4188 5.49999 6 11.5 6 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 18.5C18 18.5 13.5811 12.5 12 12.5C10.4188 12.5 6 18.5 6 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var vm,wm=v(()=>{vm=[["path",{d:"M7 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 19L17 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 6.99998C10 6.99998 7.79053 4.00001 6.99998 4C6.20942 3.99999 4 7 4 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M20 17C20 17 17.7905 20 17 20C16.2094 20 14 17 14 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var _m,Lm=v(()=>{_m=[["path",{d:"M9 6.65032C9 6.65032 15.9383 6.10759 16.9154 7.08463C17.8924 8.06167 17.3496 15 17.3496 15M16.5 7.5L6.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var $m,Im=v(()=>{$m=[["path",{d:"M19.5 12.0001V13.5001C19.5 17.6422 16.1421 21.0001 12 21.0001C7.85786 21.0001 4.5 17.6422 4.5 13.5001V8C4.5 5.23858 6.73858 3 9.5 3C12.2614 3 14.5 5.23858 14.5 8V13.5C14.5 14.8807 13.3807 16 12 16C10.6193 16 9.5 14.8807 9.5 13.5V9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var Sm,zm=v(()=>{Sm=[["path",{d:"M15.5 7H8.5M12.499 11H8.49902",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20 22H6C4.89543 22 4 21.1046 4 20M4 20C4 18.8954 4.89543 18 6 18H20V6C20 4.11438 20 3.17157 19.4142 2.58579C18.8284 2 17.8856 2 16 2H10C7.17157 2 5.75736 2 4.87868 2.87868C4 3.75736 4 5.17157 4 8V20Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M19.5 18C19.5 18 18.5 18.7628 18.5 20C18.5 21.2372 19.5 22 19.5 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var Mm,Nm=v(()=>{Mm=[["path",{d:"M16.998 7.12652C17.3182 7.04393 17.654 7 18 7C20.2091 7 22 8.79086 22 11C22 13.2091 20.2091 15 18 15C17.6451 15 17.3009 14.9538 16.9733 14.867M16.998 7.12652C16.9993 7.08451 17 7.04233 17 7C17 4.79086 15.2091 3 13 3C11.0824 3 9.47994 4.34939 9.09041 6.15043M16.998 7.12652C16.9769 7.80763 16.7854 8.44584 16.4649 9M16.9733 14.867C16.9909 14.7472 17 14.6247 17 14.5C17 13.2905 16.1411 12.2816 15 12.05M16.9733 14.867C16.7957 16.0737 15.756 17 14.5 17H14C11.7909 17 10 18.7909 10 21M9.09041 6.15043C8.74377 6.05243 8.37801 6 8 6C5.79086 6 4 7.79086 4 10C4 10.3886 4.05542 10.7643 4.15878 11.1195M9.09041 6.15043C10.1015 6.43625 10.9498 7.10965 11.4649 8M4.15878 11.1195C2.9114 11.4832 2 12.6352 2 14C2 15.6569 3.34315 17 5 17C6.30622 17 7.41746 16.1652 7.82929 15M4.15878 11.1195C4.24921 11.4303 4.37632 11.7255 4.53513 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.8361 11.7435C11.3257 12.2353 10.453 12.3202 9.70713 11.9008C8.9612 11.4814 8.58031 10.6917 8.73535 10",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var Fl,Pm=v(()=>{Fl=[["path",{d:"M3 12C3 7.75736 3 5.63604 4.31802 4.31802C5.63604 3 7.75736 3 12 3C16.2426 3 18.364 3 19.682 4.31802C21 5.63604 21 7.75736 21 12C21 16.2426 21 18.364 19.682 19.682C18.364 21 16.2426 21 12 21C7.75736 21 5.63604 21 4.31802 19.682C3 18.364 3 16.2426 3 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 9H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Am,Tm=v(()=>{Am=[["path",{d:"M16 2V6M8 2V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 10H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12.1258 14H12.0008M12.1258 18H12.0008M7.625 14H7.5M7.625 18H7.5M16.625 14H16.5M12.2508 14C12.2508 14.1381 12.1389 14.25 12.0008 14.25C11.8628 14.25 11.7508 14.1381 11.7508 14C11.7508 13.8619 11.8628 13.75 12.0008 13.75C12.1389 13.75 12.2508 13.8619 12.2508 14ZM12.2508 18C12.2508 18.1381 12.1389 18.25 12.0008 18.25C11.8628 18.25 11.7508 18.1381 11.7508 18C11.7508 17.8619 11.8628 17.75 12.0008 17.75C12.1389 17.75 12.2508 17.8619 12.2508 18ZM7.75 14C7.75 14.1381 7.63807 14.25 7.5 14.25C7.36193 14.25 7.25 14.1381 7.25 14C7.25 13.8619 7.36193 13.75 7.5 13.75C7.63807 13.75 7.75 13.8619 7.75 14ZM7.75 18C7.75 18.1381 7.63807 18.25 7.5 18.25C7.36193 18.25 7.25 18.1381 7.25 18C7.25 17.8619 7.36193 17.75 7.5 17.75C7.63807 17.75 7.75 17.8619 7.75 18ZM16.75 14C16.75 14.1381 16.6381 14.25 16.5 14.25C16.3619 14.25 16.25 14.1381 16.25 14C16.25 13.8619 16.3619 13.75 16.5 13.75C16.6381 13.75 16.75 13.8619 16.75 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var Em,Om=v(()=>{Em=[["path",{d:"M16 2V6M8 2V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 10H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M13.5 18.5C14.0057 18.0085 16 16.7002 16 16C16 15.2998 14.0057 13.9915 13.5 13.5M15.5 16L9 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var Rm,Zm=v(()=>{Rm=[["path",{d:"M8 9V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 5V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 13V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var Dm,jm=v(()=>{Dm=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.115 11.1151C11.6324 10.5977 11.5463 8.4 11.5463 8.4M11.115 11.1151C10.5977 11.6324 8.4 11.5462 8.4 11.5462M11.115 11.1151L7.5 7.5M12.8882 12.8882C13.4055 12.3708 15.6032 12.4569 15.6032 12.4569M12.8882 12.8882C12.3709 13.4055 12.457 15.6032 12.457 15.6032M12.8882 12.8882L16.5 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Wm,Vm=v(()=>{Wm=[["path",{d:"M21 3L13 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.44573 11.0854C6.96539 12.0368 4.98269 11.8736 3 11.0885C3.50059 17.531 6.50414 20.0089 10.5089 21C10.5089 21 13.5261 18.8664 13.961 13.8074C14.0081 13.2595 14.0317 12.9856 13.9178 12.6769C13.8038 12.3682 13.5802 12.1468 13.1329 11.704C12.3973 10.9757 12.0295 10.6116 11.5929 10.5204C11.1564 10.4293 10.5862 10.648 9.44573 11.0854Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4.5 16.4464C4.5 16.4464 7 16.9286 9.5 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M8.5 7.25C8.5 7.94036 7.94036 8.5 7.25 8.5C6.55964 8.5 6 7.94036 6 7.25C6 6.55964 6.55964 6 7.25 6C7.94036 6 8.5 6.55964 8.5 7.25Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M11.125 4H11M11.25 4C11.25 4.13807 11.1381 4.25 11 4.25C10.8619 4.25 10.75 4.13807 10.75 4C10.75 3.86193 10.8619 3.75 11 3.75C11.1381 3.75 11.25 3.86193 11.25 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]});var Fm,Bm=v(()=>{Fm=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12L14 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Hm,Um=v(()=>{Hm=[["path",{d:"M17.4776 10.0001C17.485 10 17.4925 10 17.5 10C19.9853 10 22 12.0147 22 14.5C22 16.9853 19.9853 19 17.5 19H7C4.23858 19 2 16.7614 2 14C2 11.4003 3.98398 9.26407 6.52042 9.0227M17.4776 10.0001C17.4924 9.83536 17.5 9.66856 17.5 9.5C17.5 6.46243 15.0376 4 12 4C9.12324 4 6.76233 6.20862 6.52042 9.0227M17.4776 10.0001C17.3753 11.1345 16.9286 12.1696 16.2428 13M6.52042 9.0227C6.67826 9.00768 6.83823 9 7 9C8.12582 9 9.16474 9.37209 10.0005 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var Km,qm=v(()=>{Km=[["path",{d:"M17.4776 10.5001C17.485 10.5 17.4925 10.5 17.5 10.5C19.9853 10.5 22 12.5147 22 15C22 15.8582 21.7597 16.6604 21.3428 17.3428M17.4776 10.5001C17.4924 10.3354 17.5 10.1686 17.5 10C17.5 6.96243 15.0376 4.5 12 4.5C10.9945 4.5 10.052 4.76982 9.24101 5.24101M17.4776 10.5001C17.4039 11.3178 17.1512 12.0839 16.759 12.759M6.52042 9.5227C3.98398 9.76407 2 11.9003 2 14.5C2 17.2614 4.23858 19.5 7 19.5H17.5C18.0928 19.5 18.6588 19.3854 19.1771 19.1771M6.52042 9.5227C6.67826 9.50768 6.83823 9.5 7 9.5C8.12582 9.5 9.16474 9.87209 10.0005 10.5M6.52042 9.5227C6.59145 8.69641 6.84518 7.92232 7.24101 7.24101",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 2L22 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Gm,Jm=v(()=>{Gm=[["path",{d:"M18.2505 10.5H19.6403C21.4918 10.5 22.0421 10.7655 21.9975 12.0838C21.9237 14.2674 20.939 16.8047 17 17.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5.94627 20.6145C2.57185 18.02 2.07468 14.3401 2.00143 10.5001C1.96979 8.8413 2.45126 8.5 4.65919 8.5H15.3408C17.5487 8.5 18.0302 8.8413 17.9986 10.5001C17.9253 14.3401 17.4281 18.02 14.0537 20.6145C13.0934 21.3528 12.2831 21.5 10.9194 21.5H9.08064C7.71686 21.5 6.90658 21.3528 5.94627 20.6145Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11.3089 2.5C10.7622 2.83861 10.0012 4 10.0012 5.5M7.53971 4C7.53971 4 7 4.5 7 5.5M14.0012 4C13.7279 4.1693 13.5 5 13.5 5.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var Ym,Xm=v(()=>{Ym=[["path",{d:"M13 4L13 7.00002C13 8.88563 13.0001 9.82843 13.5858 10.4142C14.1716 11 15.1144 11 17 11L20 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.0001 20L11 17C11 15.1144 11 14.1715 10.4142 13.5858C9.82843 13 8.88563 13 7.00002 13L4.00006 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var Qm,e5=v(()=>{Qm=[["path",{d:"M6.3 2.75143C5.26076 2.94471 4.49591 3.28657 3.89124 3.89124C3.28657 4.49591 2.94471 5.26076 2.75143 6.3M17.7 2.75143C18.7392 2.94471 19.5041 3.28657 20.1088 3.89124C20.7134 4.49591 21.0553 5.26076 21.2486 6.3M13.9 2.50495C13.3156 2.5 12.6839 2.5 12 2.5C11.3161 2.5 10.6844 2.5 10.1 2.50495M21.495 10.1C21.5 10.6844 21.5 11.3161 21.5 12C21.5 12.6839 21.5 13.3156 21.495 13.9001M2.50495 10.1C2.5 10.6844 2.5 11.3161 2.5 12C2.5 12.6839 2.5 13.3156 2.50496 13.9001M2.75143 17.7C2.94471 18.7392 3.28657 19.5041 3.89124 20.1088C4.49591 20.7134 5.26076 21.0553 6.3 21.2486M21.2486 17.7C21.0553 18.7392 20.7134 19.5041 20.1088 20.1088C19.5041 20.7134 18.7392 21.0553 17.7 21.2486M13.9 21.495C13.3156 21.5 12.6839 21.5 12 21.5C11.3162 21.5 10.6845 21.5 10.1002 21.495",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var t5,r5=v(()=>{t5=[["path",{d:"M16 2V6M8 2V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 10H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18.2671 18.7011L17 18V16.2668M21 18C21 20.2091 19.2091 22 17 22C14.7909 22 13 20.2091 13 18C13 15.7909 14.7909 14 17 14C19.2091 14 21 15.7909 21 18Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var n5,o5=v(()=>{n5=[["path",{d:"M15.5 17.5C16.5 19 17.3333 19.6667 18 20C19.3333 19.6667 22 18.2 22 15C22 11.8 20.6667 7.33333 20 5.5C18 4.3 15.8333 4 15 4L14.198 5.60393C13.4135 5.28708 12.4058 5.25438 12 5.27763C11.5942 5.25438 10.5865 5.28708 9.80197 5.60393L9 4C8.16667 4 6 4.3 4 5.5C3.33333 7.33333 2 11.8 2 15C2 18.2 4.66667 19.6667 6 20C6.66667 19.6667 7.5 19 8.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.3652 11.5C17.3652 12.6046 16.5817 13.5 15.6152 13.5C14.6487 13.5 13.8652 12.6046 13.8652 11.5C13.8652 10.3954 14.6487 9.5 15.6152 9.5C16.5817 9.5 17.3652 10.3954 17.3652 11.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 11.5C10 12.6046 9.2165 13.5 8.25 13.5C7.2835 13.5 6.5 12.6046 6.5 11.5C6.5 10.3954 7.2835 9.5 8.25 9.5C9.2165 9.5 10 10.3954 10 11.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M17.5 16.5C16.4022 17.3967 14.3502 18 12 18C9.64981 18 7.59785 17.3967 6.5 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var i5,s5=v(()=>{i5=[["path",{d:"M6 8C6.55228 8 7 8.44772 7 9C7 9.55228 6.55228 10 6 10C5.44772 10 5 9.55228 5 9C5 8.44772 5.44772 8 6 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6 14C6.55228 14 7 14.4477 7 15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15C5 14.4477 5.44772 14 6 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 8C18.5523 8 19 8.44772 19 9C19 9.55228 18.5523 10 18 10C17.4477 10 17 9.55228 17 9C17 8.44772 17.4477 8 18 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 8C12.5523 8 13 8.44772 13 9C13 9.55228 12.5523 10 12 10C11.4477 10 11 9.55228 11 9C11 8.44772 11.4477 8 12 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M18 14C18.5523 14 19 14.4477 19 15C19 15.5523 18.5523 16 18 16C17.4477 16 17 15.5523 17 15C17 14.4477 17.4477 14 18 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M12 14C12.5523 14 13 14.4477 13 15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15C11 14.4477 11.4477 14 12 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]]});var a5,u5=v(()=>{a5=[["path",{d:"M16 6C16 6.55228 15.5523 7 15 7C14.4477 7 14 6.55228 14 6C14 5.44772 14.4477 5 15 5C15.5523 5 16 5.44772 16 6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10 6C10 6.55228 9.55228 7 9 7C8.44772 7 8 6.55228 8 6C8 5.44772 8.44772 5 9 5C9.55228 5 10 5.44772 10 6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16 18C16 18.5523 15.5523 19 15 19C14.4477 19 14 18.5523 14 18C14 17.4477 14.4477 17 15 17C15.5523 17 16 17.4477 16 18Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M16 12C16 12.5523 15.5523 13 15 13C14.4477 13 14 12.5523 14 12C14 11.4477 14.4477 11 15 11C15.5523 11 16 11.4477 16 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M10 18C10 18.5523 9.55228 19 9 19C8.44772 19 8 18.5523 8 18C8 17.4477 8.44772 17 9 17C9.55228 17 10 17.4477 10 18Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M10 12C10 12.5523 9.55228 13 9 13C8.44772 13 8 12.5523 8 12C8 11.4477 8.44772 11 9 11C9.55228 11 10 11.4477 10 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]]});var c5,l5=v(()=>{c5=[["path",{d:"M8.17151 19.8284L19.8284 8.17157C20.3736 7.62632 20.6462 7.3537 20.792 7.0596C21.0693 6.50005 21.0693 5.8431 20.792 5.28354C20.6462 4.98945 20.3736 4.71682 19.8284 4.17157C19.2831 3.62632 19.0105 3.3537 18.7164 3.20796C18.1568 2.93068 17.4999 2.93068 16.9403 3.20796C16.6462 3.3537 16.3736 3.62632 15.8284 4.17157L4.17151 15.8284C3.59345 16.4064 3.30442 16.6955 3.15218 17.063C2.99994 17.4305 2.99994 17.8393 2.99994 18.6568V20.9999H5.34308C6.16059 20.9999 6.56934 20.9999 6.93688 20.8477C7.30442 20.6955 7.59345 20.4064 8.17151 19.8284Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 21H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 5.5L18.5 9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var d5,p5=v(()=>{d5=[["path",{d:"M9 2L9 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 2L15 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 18L12 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12.6939 8.5L10.6029 10.6749C10.3788 10.9079 10.5394 11.2433 10.9048 11.3053L13.0952 11.6773C13.4848 11.7434 13.6334 12.1147 13.361 12.3413L10.7666 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M14.3066 5L9.69342 5C7.5551 5 6.48594 5 5.89527 5.69774C5.3046 6.39548 5.46717 7.46639 5.79232 9.60823L6.31604 13.0581C6.83606 16.4836 8.28588 18 12 18C15.7141 18 17.1639 16.4836 17.684 13.0581L18.2077 9.60823C18.5328 7.46639 18.6954 6.39548 18.1047 5.69774C17.5141 5 16.4449 5 14.3066 5Z",stroke:"currentColor",strokeWidth:"1.5",key:"4"}]]});var f5,m5=v(()=>{f5=[["path",{d:"M19 12L19 8.99996C19 7.11435 18.9999 6.17155 18.4142 5.58577C17.8284 4.99999 16.8856 4.99999 15 5L12 5.00001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5 12L5.00003 15C5.00004 16.8856 5.00005 17.8284 5.58584 18.4142C6.17163 19 7.11443 19 9.00004 19L12 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var h5,k5=v(()=>{h5=[["path",{d:"M8 7L16 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 11L12 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M13 21.5V21C13 18.1716 13 16.7574 13.8787 15.8787C14.7574 15 16.1716 15 19 15H19.5M20 13.3431V10C20 6.22876 20 4.34315 18.8284 3.17157C17.6569 2 15.7712 2 12 2C8.22877 2 6.34315 2 5.17157 3.17157C4 4.34314 4 6.22876 4 10L4 14.5442C4 17.7892 4 19.4117 4.88607 20.5107C5.06508 20.7327 5.26731 20.9349 5.48933 21.1139C6.58831 22 8.21082 22 11.4558 22C12.1614 22 12.5141 22 12.8372 21.886C12.9044 21.8623 12.9702 21.835 13.0345 21.8043C13.3436 21.6564 13.593 21.407 14.0919 20.9081L18.8284 16.1716C19.4065 15.5935 19.6955 15.3045 19.8478 14.9369C20 14.5694 20 14.1606 20 13.3431Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var g5,C5=v(()=>{g5=[["path",{d:"M4 12.0004L4 14.5446C4 17.7896 4 19.4121 4.88607 20.5111C5.06508 20.7331 5.26731 20.9354 5.48933 21.1144C6.58831 22.0004 8.21082 22.0004 11.4558 22.0004C12.1614 22.0004 12.5141 22.0004 12.8372 21.8864C12.9044 21.8627 12.9702 21.8354 13.0345 21.8047C13.3436 21.6569 13.593 21.4074 14.0919 20.9085L18.8284 16.172C19.4065 15.5939 19.6955 15.3049 19.8478 14.9374C20 14.5698 20 14.1611 20 13.3436V10.0004C20 6.22919 20 4.34358 18.8284 3.172C17.7693 2.11284 16.1265 2.01122 13.0345 2.00146M13 21.5004V21.0004C13 18.172 13 16.7578 13.8787 15.8791C14.7574 15.0004 16.1716 15.0004 19 15.0004H19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 8.23028V5.46105C4 3.54929 5.567 1.99951 7.5 1.99951C9.433 1.99951 11 3.54929 11 5.46105V9.26874C11 10.2246 10.2165 10.9995 9.25 10.9995C8.2835 10.9995 7.5 10.2246 7.5 9.26874V5.46105",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var y5,b5=v(()=>{y5=[["path",{d:"M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var x5,v5=v(()=>{x5=[["path",{d:"M3.5 14.5C3.5 13.1193 4.6193 12 6 12C7.3807 12 8.5 13.1193 8.5 14.5C8.5 15.3569 8.06886 16.1131 7.41166 16.5636C6.72833 17.0319 6 17.6716 6 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6.125 21.75H6M6.25 21.75C6.25 21.8881 6.13807 22 6 22C5.86193 22 5.75 21.8881 5.75 21.75C5.75 21.6119 5.86193 21.5 6 21.5C6.13807 21.5 6.25 21.6119 6.25 21.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M13.5 2.5V3C13.5 5.82843 13.5 7.24264 14.3787 8.12132C15.2574 9 16.6716 9 19.5 9H20M4.50394 7.98123C4.52397 5.69117 4.64575 4.40752 5.38607 3.48933C5.56507 3.26731 5.76731 3.06508 5.98932 2.88607C7.0883 2 8.71081 2 11.9558 2C12.6614 2 13.0141 2 13.3372 2.11401C13.4044 2.13772 13.4702 2.165 13.5345 2.19575C13.8435 2.34355 14.093 2.593 14.5919 3.09188L19.3284 7.82843C19.9065 8.40649 20.1955 8.69552 20.3478 9.06306C20.5 9.4306 20.5 9.83935 20.5 10.6569V14C20.5 17.7712 20.5 19.6569 19.3284 20.8284C18.1568 22 16.2712 22 12.5 22C11.7645 22 11.1007 22 10.5 21.9913",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var w5,_5=v(()=>{w5=[["path",{d:"M2 19V7.54902C2 6.10516 2 5.38322 2.24332 4.81647C2.5467 4.10985 3.10985 3.5467 3.81647 3.24332C4.38322 3 5.09805 3 6.54902 3H7.04311C7.64819 3 8.22075 3.27394 8.60041 3.74509L10.4175 6M10.4175 6H16C17.4001 6 18.1002 6 18.635 6.27248C19.1054 6.51217 19.4878 6.89462 19.7275 7.36502C20 7.8998 20 8.59987 20 10V11M10.4175 6H7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3.15802 15.5144L3.45643 14.7717C4.19029 12.9449 4.55723 12.0316 5.3224 11.5158C6.08757 11 7.07557 11 9.05157 11H17.1119C19.8004 11 21.1446 11 21.7422 11.8787C22.3397 12.7575 21.8405 14.0002 20.842 16.4856L20.5436 17.2283C19.8097 19.0551 19.4428 19.9684 18.6776 20.4842C17.9124 21 16.9244 21 14.9484 21H6.88812C4.19961 21 2.85535 21 2.25782 20.1213C1.66029 19.2425 2.15953 17.9998 3.15802 15.5144Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var L5,$5=v(()=>{L5=[["path",{d:"M8.00164 7.00013H16.754C18.8613 7.00013 19.9149 7.00013 20.6718 7.50574C20.9995 7.72462 21.2808 8.00588 21.4997 8.33346C21.8937 8.92301 21.9808 9.69265 22 11.0003M12.0027 7.00013L11.3691 5.73321C10.8442 4.68363 10.3645 3.62714 9.20122 3.19101C8.69172 3 8.10969 3 6.94562 3C5.12865 3 4.22017 3 3.53848 3.38033C3.05255 3.65144 2.6516 4.0523 2.38042 4.53811C2 5.21963 2 6.1279 2 7.94443V11.0003C2 15.7145 2 18.0716 3.46487 19.5361C4.82227 20.8931 6.94628 20.9927 11.0025 21",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 19.8268V21H15.1734C15.5827 21 15.7874 21 15.9715 20.9238C16.1555 20.8475 16.3003 20.7028 16.5897 20.4134L21.4133 15.5894C21.6864 15.3164 21.8229 15.1799 21.8959 15.0327C22.0347 14.7525 22.0347 14.4236 21.8959 14.1434C21.8229 13.9961 21.6864 13.8596 21.4133 13.5866C21.1403 13.3136 21.0038 13.1771 20.8565 13.1041C20.5763 12.9653 20.2473 12.9653 19.9671 13.1041C19.8198 13.1771 19.6833 13.3136 19.4103 13.5866L19.4103 13.5866L14.5867 18.4106C14.2972 18.7 14.1525 18.8447 14.0762 19.0287C14 19.2128 14 19.4174 14 19.8268Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var I5,S5=v(()=>{I5=[["path",{d:"M13 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C21.9796 9.05942 21.9992 10.0588 22 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M22 15L16 21M22 21L16 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var z5,M5=v(()=>{z5=[["path",{d:"M7 19H13C15.8284 19 17.2426 19 18.1213 18.1213C19 17.2426 19 15.8284 19 13V10M19 10C19.7002 10 21.0085 11.9943 21.5 12.5M19 10C18.2998 10 16.9915 11.9943 16.5 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5 7L5 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"5",cy:"5",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"19",cy:"5",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["circle",{cx:"5",cy:"19",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"4"}]]});var N5,P5=v(()=>{N5=[["path",{d:"M6 8C7.10457 8 8 7.10457 8 6C8 4.89543 7.10457 4 6 4C4.89543 4 4 4.89543 4 6C4 7.10457 4.89543 8 6 8Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 20C13.1046 20 14 19.1046 14 18C14 16.8954 13.1046 16 12 16C10.8954 16 10 16.8954 10 18C10 19.1046 10.8954 20 12 20Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M6.01734 8.74067C6.01734 10.4142 5.77537 12.1995 9.22051 11.9855H12.0053M17.9929 8.57617C18.1259 11.9855 16.9199 11.7648 15.7861 11.9855H12.0053M12.0053 15.7001V11.9855",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var A5,T5=v(()=>{A5=[["path",{d:"M10 20.5675C6.57143 21.7248 3.71429 20.5675 2 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10 22V18.7579C10 18.1596 10.1839 17.6396 10.4804 17.1699C10.6838 16.8476 10.5445 16.3904 10.1771 16.2894C7.13394 15.4528 5 14.1077 5 9.64606C5 8.48611 5.38005 7.39556 6.04811 6.4464C6.21437 6.21018 6.29749 6.09208 6.31748 5.9851C6.33746 5.87813 6.30272 5.73852 6.23322 5.45932C5.95038 4.32292 5.96871 3.11619 6.39322 2.02823C6.39322 2.02823 7.27042 1.74242 9.26698 2.98969C9.72282 3.27447 9.95075 3.41686 10.1515 3.44871C10.3522 3.48056 10.6206 3.41384 11.1573 3.28041C11.8913 3.09795 12.6476 3 13.5 3C14.3524 3 15.1087 3.09795 15.8427 3.28041C16.3794 3.41384 16.6478 3.48056 16.8485 3.44871C17.0493 3.41686 17.2772 3.27447 17.733 2.98969C19.7296 1.74242 20.6068 2.02823 20.6068 2.02823C21.0313 3.11619 21.0496 4.32292 20.7668 5.45932C20.6973 5.73852 20.6625 5.87813 20.6825 5.9851C20.7025 6.09207 20.7856 6.21019 20.9519 6.4464C21.6199 7.39556 22 8.48611 22 9.64606C22 14.1077 19.8661 15.4528 16.8229 16.2894C16.4555 16.3904 16.3162 16.8476 16.5196 17.1699C16.8161 17.6396 17 18.1596 17 18.7579V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var E5,O5=v(()=>{E5=[["path",{d:"M7 20C8.10457 20 9 19.1046 9 18C9 16.8954 8.10457 16 7 16C5.89543 16 5 16.8954 5 18C5 19.1046 5.89543 20 7 20Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 8C8.10457 8 9 7.10457 9 6C9 4.89543 8.10457 4 7 4C5.89543 4 5 4.89543 5 6C5 7.10457 5.89543 8 7 8Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M17 14C18.1046 14 19 13.1046 19 12C19 10.8954 18.1046 10 17 10C15.8954 10 15 10.8954 15 12C15 13.1046 15.8954 14 17 14Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M7.02116 8.2793V15.4073M14.4113 12.0047L10.0193 12.0048C8.92158 12.0048 6.86182 11.1254 7.01818 8.78001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var Xi,Bl=v(()=>{Xi=[["path",{d:"M6 8L6 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 16V12C18 9.17156 18 7.75735 17.1213 6.87867C16.2426 5.99999 14.8284 5.99999 12 5.99999L11 5.99999M11 5.99999C11 5.29976 12.9943 3.99152 13.5 3.49999M11 5.99999C11 6.70022 12.9943 8.00846 13.5 8.49999",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"6",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"6",cy:"6",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["circle",{cx:"18",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"4"}]]});var R5,Z5=v(()=>{R5=[["path",{d:"M6 8L6 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 11L18 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"6",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"6",cy:"6",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["circle",{cx:"18",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"4"}],["path",{d:"M20 4L18 6M18 6L16 8M18 6L20 8M18 6L16 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]]});var D5,j5=v(()=>{D5=[["path",{d:"M6 8L6 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"6",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["circle",{cx:"6",cy:"6",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"18",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M18.125 11H18M18.25 11C18.25 11.1381 18.1381 11.25 18 11.25C17.8619 11.25 17.75 11.1381 17.75 11C17.75 10.8619 17.8619 10.75 18 10.75C18.1381 10.75 18.25 10.8619 18.25 11Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M18.125 6H18M18.25 6C18.25 6.13807 18.1381 6.25 18 6.25C17.8619 6.25 17.75 6.13807 17.75 6C17.75 5.86193 17.8619 5.75 18 5.75C18.1381 5.75 18.25 5.86193 18.25 6Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}]]});var W5,V5=v(()=>{W5=[["path",{d:"M3.88884 9.66294C4.39329 10 5.09552 10 6.49998 10C7.90445 10 8.60668 10 9.11113 9.66294C9.32951 9.51702 9.51701 9.32952 9.66292 9.11114C9.99998 8.60669 9.99998 7.90446 9.99998 6.5C9.99998 5.09554 9.99998 4.39331 9.66292 3.88886C9.51701 3.67048 9.32951 3.48298 9.11113 3.33706C8.60668 3 7.90445 3 6.49998 3C5.09552 3 4.39329 3 3.88884 3.33706C3.67046 3.48298 3.48296 3.67048 3.33705 3.88886C2.99998 4.39331 2.99998 5.09554 2.99998 6.5C2.99998 7.90446 2.99998 8.60669 3.33705 9.11114C3.48296 9.32952 3.67046 9.51702 3.88884 9.66294Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.8888 9.66294C15.3933 10 16.0955 10 17.5 10C18.9044 10 19.6067 10 20.1111 9.66294C20.3295 9.51702 20.517 9.32952 20.6629 9.11114C21 8.60669 21 7.90446 21 6.5C21 5.09554 21 4.39331 20.6629 3.88886C20.517 3.67048 20.3295 3.48298 20.1111 3.33706C19.6067 3 18.9044 3 17.5 3C16.0955 3 15.3933 3 14.8888 3.33706C14.6705 3.48298 14.483 3.67048 14.337 3.88886C14 4.39331 14 5.09554 14 6.5C14 7.90446 14 8.60669 14.337 9.11114C14.483 9.32952 14.6705 9.51702 14.8888 9.66294Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3.88884 20.6629C4.39329 21 5.09552 21 6.49998 21C7.90445 21 8.60668 21 9.11113 20.6629C9.32951 20.517 9.51701 20.3295 9.66292 20.1111C9.99998 19.6067 9.99998 18.9045 9.99998 17.5C9.99998 16.0955 9.99998 15.3933 9.66292 14.8889C9.51701 14.6705 9.32951 14.483 9.11113 14.3371C8.60668 14 7.90445 14 6.49998 14C5.09552 14 4.39329 14 3.88884 14.3371C3.67046 14.483 3.48296 14.6705 3.33705 14.8889C2.99998 15.3933 2.99998 16.0955 2.99998 17.5C2.99998 18.9045 2.99998 19.6067 3.33705 20.1111C3.48296 20.3295 3.67046 20.517 3.88884 20.6629Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M14.8888 20.6629C15.3933 21 16.0955 21 17.5 21C18.9044 21 19.6067 21 20.1111 20.6629C20.3295 20.517 20.517 20.3295 20.6629 20.1111C21 19.6067 21 18.9045 21 17.5C21 16.0955 21 15.3933 20.6629 14.8889C20.517 14.6705 20.3295 14.483 20.1111 14.3371C19.6067 14 18.9044 14 17.5 14C16.0955 14 15.3933 14 14.8888 14.3371C14.6705 14.483 14.483 14.6705 14.337 14.8889C14 15.3933 14 16.0955 14 17.5C14 18.9045 14 19.6067 14.337 20.1111C14.483 20.3295 14.6705 20.517 14.8888 20.6629Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var F5,B5=v(()=>{F5=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["ellipse",{cx:"12",cy:"12",rx:"4",ry:"10",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M2 12H22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var H5,U5=v(()=>{H5=[["path",{d:"M20.4999 16.5V8.5C20.4999 6.14298 20.4999 4.96447 19.7676 4.23223C19.0354 3.5 17.8569 3.5 15.4999 3.5H8.49988C6.14286 3.5 4.96434 3.5 4.23211 4.23223C3.49988 4.96447 3.49988 6.14298 3.49988 8.5V16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.9841 20.5H2.01567C1.63273 20.5 1.38367 20.1088 1.55493 19.7764L3.49988 16.5H20.4999L22.4448 19.7764C22.6161 20.1088 22.367 20.5 21.9841 20.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var K5,q5=v(()=>{K5=[["path",{d:"M8.64298 3.14559L6.93816 3.93362C4.31272 5.14719 3 5.75397 3 6.75C3 7.74603 4.31272 8.35281 6.93817 9.56638L8.64298 10.3544C10.2952 11.1181 11.1214 11.5 12 11.5C12.8786 11.5 13.7048 11.1181 15.357 10.3544L17.0618 9.56638C19.6873 8.35281 21 7.74603 21 6.75C21 5.75397 19.6873 5.14719 17.0618 3.93362L15.357 3.14559C13.7048 2.38186 12.8786 2 12 2C11.1214 2 10.2952 2.38186 8.64298 3.14559Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.788 11.0972C20.9293 11.2959 21 11.5031 21 11.7309C21 12.7127 19.6873 13.3109 17.0618 14.5072L15.357 15.284C13.7048 16.0368 12.8786 16.4133 12 16.4133C11.1214 16.4133 10.2952 16.0368 8.64298 15.284L6.93817 14.5072C4.31272 13.3109 3 12.7127 3 11.7309C3 11.5031 3.07067 11.2959 3.212 11.0972",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20.3767 16.2661C20.7922 16.5971 21 16.927 21 17.3176C21 18.2995 19.6873 18.8976 17.0618 20.0939L15.357 20.8707C13.7048 21.6236 12.8786 22 12 22C11.1214 22 10.2952 21.6236 8.64298 20.8707L6.93817 20.0939C4.31272 18.8976 3 18.2995 3 17.3176C3 16.927 3.20778 16.5971 3.62334 16.2661",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var G5,J5=v(()=>{G5=[["path",{d:"M3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 2.5V21.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var Y5,X5=v(()=>{Y5=[["path",{d:"M20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.5 12L2.50078 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var Q5,e0=v(()=>{Q5=[["path",{d:"M8 20C7.48595 20.6974 7.2774 20.9401 6.85472 20.9929C6.43205 21.0457 6.13982 20.8037 5.55537 20.3197C3.38109 18.5193 2 15.8253 2 12.8147C2 7.39421 6.47715 3 12 3C17.5228 3 22 7.39421 22 12.8147C22 15.8253 20.6189 18.5193 18.4446 20.3197C17.8602 20.8037 17.568 21.0457 17.1453 20.9929C16.7226 20.9401 16.514 20.6974 16 20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.5 10.5L18 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"12",cy:"12",r:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var t0,r0=v(()=>{t0=[["path",{d:"M11.0991 3.00012C7.45013 3.00669 5.53932 3.09629 4.31817 4.31764C3.00034 5.63568 3.00034 7.75704 3.00034 11.9997C3.00034 16.2424 3.00034 18.3638 4.31817 19.6818C5.63599 20.9999 7.75701 20.9999 11.9991 20.9999C16.241 20.9999 18.3621 20.9999 19.6799 19.6818C20.901 18.4605 20.9906 16.5493 20.9972 12.8998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.556 3.49612L11.0487 13.0586M20.556 3.49612C20.062 3.00151 16.7343 3.04761 16.0308 3.05762M20.556 3.49612C21.05 3.99074 21.0039 7.32273 20.9939 8.02714",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var n0,o0=v(()=>{n0=[["path",{d:"M2 11.4C2 10.2417 2.24173 10 3.4 10H20.6C21.7583 10 22 10.2417 22 11.4V12.6C22 13.7583 21.7583 14 20.6 14H3.4C2.24173 14 2 13.7583 2 12.6V11.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 3.4C2 2.24173 2.24173 2 3.4 2H20.6C21.7583 2 22 2.24173 22 3.4V4.6C22 5.75827 21.7583 6 20.6 6H3.4C2.24173 6 2 5.75827 2 4.6V3.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2 19.4C2 18.2417 2.24173 18 3.4 18H20.6C21.7583 18 22 18.2417 22 19.4V20.6C22 21.7583 21.7583 22 20.6 22H3.4C2.24173 22 2 21.7583 2 20.6V19.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]]});var i0,s0=v(()=>{i0=[["path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 13C13.1046 13 14 12.1046 14 11C14 9.89543 13.1046 9 12 9C10.8954 9 10 9.89543 10 11C10 12.1046 10.8954 13 12 13ZM12 13L12 16",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var a0,u0=v(()=>{a0=[["path",{d:"M7 8.5L9.94202 10.2394C11.6572 11.2535 12.3428 11.2535 14.058 10.2394L17 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.01577 13.4756C2.08114 16.5412 2.11383 18.0739 3.24496 19.2094C4.37608 20.3448 5.95033 20.3843 9.09883 20.4634C11.0393 20.5122 12.9607 20.5122 14.9012 20.4634C18.0497 20.3843 19.6239 20.3448 20.7551 19.2094C21.8862 18.0739 21.9189 16.5412 21.9842 13.4756C22.0053 12.4899 22.0053 11.5101 21.9842 10.5244C21.9189 7.45886 21.8862 5.92609 20.7551 4.79066C19.6239 3.65523 18.0497 3.61568 14.9012 3.53657C12.9607 3.48781 11.0393 3.48781 9.09882 3.53656C5.95033 3.61566 4.37608 3.65521 3.24495 4.79065C2.11382 5.92608 2.08114 7.45885 2.01576 10.5244C1.99474 11.5101 1.99475 12.4899 2.01577 13.4756Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var c0,l0=v(()=>{c0=[["path",{d:"M2 19L8.91302 14.2905C11.4387 12.5698 12.5613 12.5698 15.087 14.2905L22 19",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.01592 14.551C2.08186 17.5843 2.11484 19.1009 3.24611 20.2241C4.37738 21.3473 5.95183 21.3862 9.10072 21.4641C11.0393 21.512 12.9607 21.512 14.8993 21.4641C18.0482 21.3862 19.6226 21.3473 20.7539 20.2241C21.8852 19.1009 21.9181 17.5843 21.9841 14.551C22.0164 13.0649 21.9995 11.5934 21.9334 10.0921C21.8924 9.15964 21.8719 8.69341 21.6354 8.27984C21.3989 7.86628 20.9913 7.59935 20.176 7.0655L16.4152 4.60286C14.2742 3.20096 13.2038 2.5 12 2.5C10.7962 2.5 9.72577 3.20095 7.58483 4.60286L3.82397 7.0655C3.00869 7.59935 2.60106 7.86628 2.36459 8.27984C2.12812 8.69341 2.1076 9.15965 2.06656 10.0921C2.00049 11.5934 1.98361 13.0649 2.01592 14.551Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M22 9.5L17.7346 12.6072C16.7004 13.3606 15.8504 14 14.5 14M2 9.5L6.26538 12.6072C7.29955 13.3606 8.14961 14 9.5 14",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var d0,p0=v(()=>{d0=[["path",{d:"M4 5L16 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 12L20 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4 19L12 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var f0,m0=v(()=>{f0=[["path",{d:"M13 3.02144C12.6777 3.00721 12.3445 2.99998 12 2.99998C4.13281 2.99998 2 7.02942 2 12C2 14.0712 2.37034 15.979 3.37161 17.5C4.63281 19.5 3.99253 21.3333 3 22C4.61547 22 5.70211 21.4858 6.39239 20.9766C6.88252 20.615 7.50688 20.4364 8.0984 20.5814C9.20689 20.8533 10.4991 21 12 21C19.1328 21 22 16.9705 22 12C22 11.3126 21.9643 10.6432 21.8812 9.99998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.1248 12H11.9998M16.125 12H16M8.125 12H8M12.2498 12C12.2498 12.1381 12.1379 12.25 11.9998 12.25C11.8618 12.25 11.7498 12.1381 11.7498 12C11.7498 11.8619 11.8618 11.75 11.9998 11.75C12.1379 11.75 12.2498 11.8619 12.2498 12ZM16.25 12C16.25 12.1381 16.1381 12.25 16 12.25C15.8619 12.25 15.75 12.1381 15.75 12C15.75 11.8619 15.8619 11.75 16 11.75C16.1381 11.75 16.25 11.8619 16.25 12ZM8.25 12C8.25 12.1381 8.13807 12.25 8 12.25C7.86193 12.25 7.75 12.1381 7.75 12C7.75 11.8619 7.86193 11.75 8 11.75C8.13807 11.75 8.25 11.8619 8.25 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16 4.99998H22M19 1.99998L19 7.99998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var h0,k0=v(()=>{h0=[["path",{d:"M12 18V22M12 18H11.5208C8.11765 18 5.28262 15.3914 5 12M12 18H12.4792C15.8824 18 18.7174 15.3914 19 12M12 22H15M12 22H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 6C8 3.79086 9.79086 2 12 2C14.2091 2 16 3.79086 16 6V11C16 13.2091 14.2091 15 12 15C9.79086 15 8 13.2091 8 11V6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var g0,C0=v(()=>{g0=[["path",{d:"M12 22C11.1818 22 10.4002 21.6754 8.83693 21.0262C4.94564 19.4101 3 18.6021 3 17.2429V7.74463M12 22C12.8182 22 13.5998 21.6754 15.1631 21.0262C19.0544 19.4101 21 18.6021 21 17.2429V7.74463M12 22V12.1687M3 7.74463C3 8.3485 3.80157 8.72983 5.40472 9.49248L8.32592 10.8822C10.1288 11.7399 11.0303 12.1687 12 12.1687M3 7.74463C3 7.14076 3.80157 6.75944 5.40472 5.99678L7.5 5M21 7.74463C21 8.3485 20.1984 8.72983 18.5953 9.49248L15.6741 10.8822C13.8712 11.7399 12.9697 12.1687 12 12.1687M21 7.74463C21 7.14076 20.1984 6.75944 18.5953 5.99678L16.5 5M6 13.1518L8 14.135",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.0037 2L12.0037 8.99995M12.0037 8.99995C12.2668 9.00351 12.5263 8.81972 12.7178 8.59534L14 7.06174M12.0037 8.99995C11.7499 8.99652 11.4929 8.81368 11.2897 8.59534L10 7.06174",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]});var y0,b0=v(()=>{y0=[["path",{d:"M4 7C4 5.58579 4 4.87868 4.43934 4.43934C4.87868 4 5.58579 4 7 4C8.41421 4 9.12132 4 9.56066 4.43934C10 4.87868 10 5.58579 10 7V17C10 18.4142 10 19.1213 9.56066 19.5607C9.12132 20 8.41421 20 7 20C5.58579 20 4.87868 20 4.43934 19.5607C4 19.1213 4 18.4142 4 17V7Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 7C14 5.58579 14 4.87868 14.4393 4.43934C14.8787 4 15.5858 4 17 4C18.4142 4 19.1213 4 19.5607 4.43934C20 4.87868 20 5.58579 20 7V17C20 18.4142 20 19.1213 19.5607 19.5607C19.1213 20 18.4142 20 17 20C15.5858 20 14.8787 20 14.4393 19.5607C14 19.1213 14 18.4142 14 17V7Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]]});var x0,v0=v(()=>{x0=[["path",{d:"M3 21L8 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.2585 18.8714C9.51516 18.0215 5.97844 14.4848 5.12853 10.7415C4.99399 10.1489 4.92672 9.85266 5.12161 9.37197C5.3165 8.89129 5.55457 8.74255 6.03071 8.44509C7.10705 7.77265 8.27254 7.55888 9.48209 7.66586C11.1793 7.81598 12.0279 7.89104 12.4512 7.67048C12.8746 7.44991 13.1622 6.93417 13.7376 5.90269L14.4664 4.59604C14.9465 3.73528 15.1866 3.3049 15.7513 3.10202C16.316 2.89913 16.6558 3.02199 17.3355 3.26771C18.9249 3.84236 20.1576 5.07505 20.7323 6.66449C20.978 7.34417 21.1009 7.68401 20.898 8.2487C20.6951 8.8134 20.2647 9.05346 19.4039 9.53358L18.0672 10.2792C17.0376 10.8534 16.5229 11.1406 16.3024 11.568C16.0819 11.9955 16.162 12.8256 16.3221 14.4859C16.4399 15.7068 16.2369 16.88 15.5555 17.9697C15.2577 18.4458 15.1088 18.6839 14.6283 18.8786C14.1477 19.0733 13.8513 19.006 13.2585 18.8714Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var w0,_0=v(()=>{w0=[["path",{d:"M7.5 8C6.95863 8.1281 6.49932 8.14239 5.99268 8.45891C5.07234 9.03388 4.85108 9.71674 5.08821 10.7612C5.94028 14.5139 9.48599 18.0596 13.2388 18.9117C14.2834 19.1489 14.9661 18.928 15.5416 18.0077C15.8411 17.5288 15.8716 17.0081 16 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 7.79915C12.1776 7.77794 12.3182 7.74034 12.4295 7.68235C13.3997 7.17686 13.9291 5.53361 14.4498 4.60009C14.9311 3.73715 15.1718 3.30567 15.7379 3.10227C16.3041 2.89888 16.6448 3.02205 17.3262 3.26839C18.9197 3.8445 20.1555 5.08032 20.7316 6.6738C20.9779 7.35521 21.1011 7.69591 20.8977 8.26204C20.6943 8.82817 20.2628 9.06884 19.3999 9.55018C18.4608 10.074 16.7954 10.6108 16.2905 11.5898C16.2345 11.6983 16.1978 11.8327 16.1769 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 21L8 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 3L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var L0,$0=v(()=>{L0=[["path",{d:"M18.8906 12.846C18.5371 14.189 16.8667 15.138 13.5257 17.0361C10.296 18.8709 8.6812 19.7884 7.37983 19.4196C6.8418 19.2671 6.35159 18.9776 5.95624 18.5787C5 17.6139 5 15.7426 5 12C5 8.2574 5 6.3861 5.95624 5.42132C6.35159 5.02245 6.8418 4.73288 7.37983 4.58042C8.6812 4.21165 10.296 5.12907 13.5257 6.96393C16.8667 8.86197 18.5371 9.811 18.8906 11.154C19.0365 11.7084 19.0365 12.2916 18.8906 12.846Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var I0,S0=v(()=>{I0=[["path",{d:"M12 7.5V13.8636M15.5 10.6818H8.5M15.5 16.5H8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var z0,M0=v(()=>{z0=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var N0,P0=v(()=>{N0=[["path",{d:"M12.828 6.00096C12.9388 5.68791 12.999 5.35099 12.999 5C12.999 3.34315 11.6559 2 9.99904 2C8.34219 2 6.99904 3.34315 6.99904 5C6.99904 5.35099 7.05932 5.68791 7.17008 6.00096C4.88532 6.0093 3.66601 6.09039 2.87772 6.87868C2.08951 7.66689 2.00836 8.88603 2 11.1704C2.31251 11.06 2.64876 11 2.99904 11C4.6559 11 5.99904 12.3431 5.99904 14C5.99904 15.6569 4.6559 17 2.99904 17C2.64876 17 2.31251 16.94 2 16.8296C2.00836 19.114 2.08951 20.3331 2.87772 21.1213C3.66593 21.9095 4.88508 21.9907 7.16941 21.999C7.05908 21.6865 6.99904 21.3503 6.99904 21C6.99904 19.3431 8.34219 18 9.99904 18C11.6559 18 12.999 19.3431 12.999 21C12.999 21.3503 12.939 21.6865 12.8287 21.999C15.113 21.9907 16.3322 21.9095 17.1204 21.1213C17.9086 20.333 17.9897 19.1137 17.9981 16.829C18.3111 16.9397 18.648 17 18.999 17C20.6559 17 21.999 15.6569 21.999 14C21.999 12.3431 20.6559 11 18.999 11C18.648 11 18.3111 11.0603 17.9981 11.171C17.9897 8.88627 17.9086 7.66697 17.1204 6.87868C16.3321 6.09039 15.1128 6.0093 12.828 6.00096Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var A0,T0=v(()=>{A0=[["path",{d:"M20.4879 15C19.2524 18.4956 15.9187 21 12 21C7.02943 21 3 16.9706 3 12C3 7.02943 7.02943 3 12 3C15.7292 3 18.9286 5.26806 20.2941 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 9H18C19.4142 9 20.1213 9 20.5607 8.56066C21 8.12132 21 7.41421 21 6V3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var E0,O0=v(()=>{E0=[["path",{d:"M16.3884 3L17.3913 3.97574C17.8393 4.41165 18.0633 4.62961 17.9844 4.81481C17.9056 5 17.5888 5 16.9552 5H9.19422C5.22096 5 2 8.13401 2 12C2 13.4872 2.47668 14.8662 3.2895 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.61156 21L6.60875 20.0243C6.16074 19.5883 5.93673 19.3704 6.01557 19.1852C6.09441 19 6.4112 19 7.04478 19H14.8058C18.779 19 22 15.866 22 12C22 10.5128 21.5233 9.13383 20.7105 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var R0,Z0=v(()=>{R0=[["path",{d:"M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 11.5C9 11.5 10.4079 11.7519 11 13.5C11 13.5 12.5 10.5 15 9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var D0,j0=v(()=>{D0=[["path",{d:"M21.0477 3.05293C18.8697 0.707363 2.48648 6.4532 2.50001 8.551C2.51535 10.9299 8.89809 11.6617 10.6672 12.1581C11.7311 12.4565 12.016 12.7625 12.2613 13.8781C13.3723 18.9305 13.9301 21.4435 15.2014 21.4996C17.2278 21.5892 23.1733 5.342 21.0477 3.05293Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.4999 12.5L14.9999 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var W0,V0=v(()=>{W0=[["path",{d:"M2 12C2 8.31087 2 6.4663 2.81382 5.15877C3.1149 4.67502 3.48891 4.25427 3.91891 3.91555C5.08116 3 6.72077 3 10 3H14C17.2792 3 18.9188 3 20.0811 3.91555C20.5111 4.25427 20.8851 4.67502 21.1862 5.15877C22 6.4663 22 8.31087 22 12C22 15.6891 22 17.5337 21.1862 18.8412C20.8851 19.325 20.5111 19.7457 20.0811 20.0845C18.9188 21 17.2792 21 14 21H10C6.72077 21 5.08116 21 3.91891 20.0845C3.48891 19.7457 3.1149 19.325 2.81382 18.8412C2 17.5337 2 15.6891 2 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 14.5L22 14.5",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M6 18H7M10 18H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var F0,B0=v(()=>{F0=[["path",{d:"M2 12C2 8.3109 2 6.46633 2.81382 5.1588C3.1149 4.67505 3.48891 4.2543 3.91891 3.91557C5.08116 3.00003 6.72077 3.00003 10 3.00003H14C17.2792 3.00003 18.9188 3.00003 20.0811 3.91557C20.5111 4.2543 20.8851 4.67505 21.1862 5.1588C22 6.46633 22 8.3109 22 12C22 15.6892 22 17.5337 21.1862 18.8413C20.8851 19.325 20.5111 19.7458 20.0811 20.0845C18.9188 21 17.2792 21 14 21H10C6.72077 21 5.08116 21 3.91891 20.0845C3.48891 19.7458 3.1149 19.325 2.81382 18.8413C2 17.5337 2 15.6892 2 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.5 3.00003L14.5 21",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 7.00006H19M18 10.0001H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var H0,U0=v(()=>{H0=[["path",{d:"M13.5 2H10.5C8.14298 2 6.96447 2 6.23223 2.73223C5.5 3.46447 5.5 4.64298 5.5 7V17C5.5 19.357 5.5 20.5355 6.23223 21.2678C6.96447 22 8.14298 22 10.5 22H13.5C15.857 22 17.0355 22 17.7678 21.2678C18.5 20.5355 18.5 19.357 18.5 17V7C18.5 4.64298 18.5 3.46447 17.7678 2.73223C17.0355 2 15.857 2 13.5 2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.125 19H12M12.25 19C12.25 19.1381 12.1381 19.25 12 19.25C11.8619 19.25 11.75 19.1381 11.75 19C11.75 18.8619 11.8619 18.75 12 18.75C12.1381 18.75 12.25 18.8619 12.25 19Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var K0,q0=v(()=>{K0=[["path",{d:"M11.0001 8L19.0001 8.00006",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.0001 12H16.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11.0001 16H14.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M11.0001 4H21.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M5.5 21V3M5.5 21C4.79977 21 3.49153 19.0057 3 18.5M5.5 21C6.20023 21 7.50847 19.0057 8 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]});var G0,J0=v(()=>{G0=[["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}]]});var Y0,X0=v(()=>{Y0=[["path",{d:"M12 14.5V17.5M13 14.5C13 15.0523 12.5523 15.5 12 15.5C11.4477 15.5 11 15.0523 11 14.5C11 13.9477 11.4477 13.5 12 13.5C12.5523 13.5 13 13.9477 13 14.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.5 9V6.5C7.5 4.01472 9.51472 2 12 2C13.9593 2 15.8664 3.25221 16.5 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4.26781 18.8447C4.49269 20.515 5.87613 21.8235 7.55966 21.9009C8.97627 21.966 10.4153 22 12 22C13.5847 22 15.0237 21.966 16.4403 21.9009C18.1239 21.8235 19.5073 20.515 19.7322 18.8447C19.879 17.7547 20 16.6376 20 15.5C20 14.3624 19.879 13.2453 19.7322 12.1553C19.5073 10.485 18.1239 9.17649 16.4403 9.09909C15.0237 9.03397 13.5847 9 12 9C10.4153 9 8.97627 9.03397 7.55966 9.09909C5.87613 9.17649 4.49269 10.485 4.26781 12.1553C4.12104 13.2453 4 14.3624 4 15.5C4 16.6376 4.12104 17.7547 4.26781 18.8447Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var Q0,e9=v(()=>{Q0=[["path",{d:"M13.7276 3.44418L15.4874 6.99288C15.7274 7.48687 16.3673 7.9607 16.9073 8.05143L20.0969 8.58575C22.1367 8.92853 22.6167 10.4206 21.1468 11.8925L18.6671 14.3927C18.2471 14.8161 18.0172 15.6327 18.1471 16.2175L18.8571 19.3125C19.417 21.7623 18.1271 22.71 15.9774 21.4296L12.9877 19.6452C12.4478 19.3226 11.5579 19.3226 11.0079 19.6452L8.01827 21.4296C5.8785 22.71 4.57865 21.7522 5.13859 19.3125L5.84851 16.2175C5.97849 15.6327 5.74852 14.8161 5.32856 14.3927L2.84884 11.8925C1.389 10.4206 1.85895 8.92853 3.89872 8.58575L7.08837 8.05143C7.61831 7.9607 8.25824 7.48687 8.49821 6.99288L10.258 3.44418C11.2179 1.51861 12.7777 1.51861 13.7276 3.44418Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]});var t9,r9=v(()=>{t9=[["path",{d:"M8 2H16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.2187 13.0044L15.9921 13.6151C15.5219 14.65 14.1115 15.7439 11.7609 14.3182C10.2471 13.4001 8.93663 12.6631 7.9997 13.16L7.21891 13.5412",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5323 2V8.56602C14.5323 9.27829 14.5323 9.63442 14.6304 9.97222C14.7285 10.31 14.9197 10.612 15.3021 11.216L17.2861 14.35C19.4275 17.7326 20.4982 19.4238 19.7751 20.7119C19.0519 22 17.0317 22 12.9914 22H11.0086C6.96825 22 4.94807 22 4.22495 20.7119C3.50182 19.4238 4.57251 17.7326 6.71389 14.35L8.69792 11.216C9.08029 10.612 9.27148 10.31 9.36961 9.97222C9.46773 9.63442 9.46773 9.27829 9.46773 8.56602V2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M15.125 19H15M15.25 19C15.25 19.1381 15.1381 19.25 15 19.25C14.8619 19.25 14.75 19.1381 14.75 19C14.75 18.8619 14.8619 18.75 15 18.75C15.1381 18.75 15.25 18.8619 15.25 19Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M10.125 17H10M10.25 17C10.25 17.1381 10.1381 17.25 10 17.25C9.86193 17.25 9.75 17.1381 9.75 17C9.75 16.8619 9.86193 16.75 10 16.75C10.1381 16.75 10.25 16.8619 10.25 17Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]});var n9,o9=v(()=>{n9=[["path",{d:"M3 3H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 15H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 21H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 9H16.5C18.9853 9 21 11.0147 21 13.5C21 15.9853 18.9853 18 16.5 18H12M12 18C12 17.1597 14.3932 15.5898 15 15M12 18C12 18.8403 14.3932 20.4102 15 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]});var i9,s9=v(()=>{i9=[["path",{d:"M12 8V12L13.5 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19.5454 16.4534C21.1818 17.337 22 17.7789 22 18.5C22 19.2211 21.1818 19.663 19.5454 20.5466L18.4311 21.1484C17.1744 21.827 16.5461 22.1663 16.2439 21.9196C15.504 21.3154 16.6567 19.7561 16.9403 19.2037C17.2277 18.644 17.2225 18.3459 16.9403 17.7963C16.6567 17.2439 15.504 15.6846 16.2439 15.0804C16.5461 14.8337 17.1744 15.173 18.4311 15.8516L19.5454 16.4534Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M13.0261 21.948C12.6888 21.9824 12.3464 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 12.6849 21.9311 13.3538 21.8 14",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]]});var a9,u9=v(()=>{a9=[["path",{d:"M21 7H3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H13C16.7712 21 18.6569 21 19.8284 19.8284C21 18.6569 21 16.7712 21 13V7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 7H3L4.2 5.4C5.08328 4.22229 5.52492 3.63344 6.15836 3.31672C6.7918 3 7.52786 3 9 3H15C16.4721 3 17.2082 3 17.8416 3.31672C18.4751 3.63344 18.9167 4.22229 19.8 5.4L21 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 11L12 17.5M9 13.5C9.58984 12.8932 11.1597 10.5 12 10.5C12.8403 10.5 14.4102 12.8932 15 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var c9,l9=v(()=>{c9=[["path",{d:"M20 21.0001C19.713 17.269 16.7289 14.3151 12.995 14.0662L12 13.9999C11.6446 14.0096 11.3134 14.0225 11.0008 14.0378C7.3 14.2192 4.28417 17.3057 4 21.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"12",cy:"6.99988",r:"4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]});var d9,p9=v(()=>{d9=[["path",{d:"M21.544 11.045C21.848 11.4713 22 11.6845 22 12C22 12.3155 21.848 12.5287 21.544 12.955C20.1779 14.8706 16.6892 19 12 19C7.31078 19 3.8221 14.8706 2.45604 12.955C2.15201 12.5287 2 12.3155 2 12C2 11.6845 2.15201 11.4713 2.45604 11.045C3.8221 9.12944 7.31078 5 12 5C16.6892 5 20.1779 9.12944 21.544 11.045Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]]});var f9,m9=v(()=>{f9=[["path",{d:"M22 8C22 8 18 14 12 14C6 14 2 8 2 8",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 13.5L16.5 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20 11L22 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M2 13L4 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M9 13.5L7.5 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]]});var h9,k9=v(()=>{h9=[["path",{d:"M18.5016 19.1217L21 21.6217M20 15.1217C20 12.0842 17.5376 9.62173 14.5 9.62173C11.4624 9.62173 9 12.0842 9 15.1217C9 18.1593 11.4624 20.6217 14.5 20.6217C17.5376 20.6217 20 18.1593 20 15.1217Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.5 13.1217V17.1217M16.5 15.1217H12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 3.62173H14M3 10.6217V14.6217M6.5 21.6217C4.567 21.6217 3 20.0547 3 18.1217M17.5 3.62173C19.433 3.62173 21 5.18873 21 7.12173M3 7.12173C3 5.18873 4.567 3.62173 6.5 3.62173",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var g9,C9=v(()=>{g9=[["path",{d:"M18.5016 18.5L21 21M20 14.5C20 11.4624 17.5376 9 14.5 9C11.4624 9 9 11.4624 9 14.5C9 17.5376 11.4624 20 14.5 20C17.5376 20 20 17.5376 20 14.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.5 14.5H12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 3H14M3 10V14M6.5 21C4.567 21 3 19.433 3 17.5M17.5 3C19.433 3 21 4.567 21 6.5M3 6.5C3 4.567 4.567 3 6.5 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]});var b9={};$e(b9,{EXTENDED_ICON_MAP:()=>y9});var K6,y9,x9=v(()=>{"use strict";Yf();Qf();tm();nm();im();am();cm();dm();fm();hm();gm();ym();xm();wm();Lm();Im();zm();Nm();Pm();Tm();Om();Zm();jm();Vm();Bm();Um();qm();Jm();Xm();e5();r5();o5();s5();u5();l5();p5();m5();k5();C5();b5();v5();_5();$5();S5();M5();P5();T5();O5();Bl();Z5();j5();Bl();V5();B5();U5();q5();J5();X5();e0();r0();o0();s0();u0();l0();p0();m0();k0();C0();b0();v0();_0();$0();S0();M0();P0();T0();O0();Z0();j0();V0();B0();U0();q0();J0();X0();e9();r9();o9();s9();u9();l9();p9();m9();k9();C9();Vl();K6=[["path",{d:"M21.8205 10.4127C22.062 11.8519 22.1827 12.5715 21.2423 13.9326C21.1459 14.0722 20.8966 14.3713 20.777 14.4911C19.6103 15.6586 18.4308 15.6586 16.0716 15.6586H14.1392C13.5085 15.6586 13.1931 15.6586 12.9639 15.7142C11.9586 15.9581 11.3031 16.9391 11.453 17.9755C11.4872 18.2118 11.6043 18.5085 11.8386 19.102C11.9345 19.3449 11.9824 19.4664 12.0136 19.7304C12.1292 20.7084 11.0869 21.9508 10.1158 21.9926C9.85358 22.0039 9.83681 22.0002 9.80326 21.9926C7.66174 21.51 5.66204 20.3123 4.18389 18.4421C0.736789 14.0808 1.43146 7.71364 5.73548 4.22064C10.0395 0.727643 16.323 1.43156 19.7701 5.79289C20.868 7.1819 21.5457 8.77438 21.8205 10.4127Z",fill:"none",fillRule:"evenodd",clipRule:"evenodd",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.36719 7.74976H7.24219M7.49219 7.74976C7.49219 7.88783 7.38026 7.99976 7.24219 7.99976C7.10412 7.99976 6.99219 7.88783 6.99219 7.74976C6.99219 7.61169 7.10412 7.49976 7.24219 7.49976C7.38026 7.49976 7.49219 7.61169 7.49219 7.74976Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7.36719 15.7498H7.24219M7.49219 15.7498C7.49219 15.8878 7.38026 15.9998 7.24219 15.9998C7.10412 15.9998 6.99219 15.8878 6.99219 15.7498C6.99219 15.6117 7.10412 15.4998 7.24219 15.4998C7.38026 15.4998 7.49219 15.6117 7.49219 15.7498Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M11.8672 5.74976H11.7422M11.9922 5.74976C11.9922 5.88783 11.8803 5.99976 11.7422 5.99976C11.6041 5.99976 11.4922 5.88783 11.4922 5.74976C11.4922 5.61169 11.6041 5.49976 11.7422 5.49976C11.8803 5.49976 11.9922 5.61169 11.9922 5.74976Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M16.3672 7.74976H16.2422M16.4922 7.74976C16.4922 7.88783 16.3803 7.99976 16.2422 7.99976C16.1041 7.99976 15.9922 7.88783 15.9922 7.74976C15.9922 7.61169 16.1041 7.49976 16.2422 7.49976C16.3803 7.49976 16.4922 7.61169 16.4922 7.74976Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M18.3672 11.7498H18.2422M18.4922 11.7498C18.4922 11.8878 18.3803 11.9998 18.2422 11.9998C18.1041 11.9998 17.9922 11.8878 17.9922 11.7498C17.9922 11.6117 18.1041 11.4998 18.2422 11.4998C18.3803 11.4998 18.4922 11.6117 18.4922 11.7498Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M5.86719 11.7498H5.74219M5.99219 11.7498C5.99219 11.8878 5.88026 11.9998 5.74219 11.9998C5.60412 11.9998 5.49219 11.8878 5.49219 11.7498C5.49219 11.6117 5.60412 11.4998 5.74219 11.4998C5.88026 11.4998 5.99219 11.6117 5.99219 11.7498Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"6"}]],y9={AiBrowser:Jf,AiContentGenerator01:Xf,AlignLeft:d0,AppWindow:Fl,ArchiveRestore:a9,ArrowDown:em,ArrowRight:lm,ArrowReloadHorizontal:um,ArrowUp:Cm,ArrowUpDown:vm,ArrowTurnBackward:pm,ArrowTurnForward:mm,ArrowUpRight:_m,Beaker:t9,Browser:Fl,Brain:Mm,Calendar:Am,CalendarCheckOut02:Em,ChartColumn:Rm,ChevronUp:km,ChevronsDown:rm,ChevronsUp:bm,CircleArrowShrink:Dm,Clean:Wm,Clock:Fm,Cloud:Hm,CloudOff:Km,Coffee:Gm,Columns2:G5,CornerDownLeft:om,CornerDownRight:sm,Discord:n5,DateTime:t5,Github:A5,DragDropHorizontal:i5,DragDropVertical:a5,EditFile:c5,ElectricPlugs:d5,Eye:d9,EyeOff:f9,Explore:Sm,ExternalLink:t0,FileDiff:I0,File:y5,FileAttachment:g5,FileQuestion:x5,FileText:h5,FolderOpen:w5,FolderEdit:L5,FolderMinus:I5,Fork:N5,GitBranch:z5,GitMerge:E5,GitPullRequest:Xi,GitPullRequestArrow:Xi,GitPullRequestClosed:R5,GitPullRequestDraft:D5,Globe:F5,GridView:W5,Laptop:H5,Layers:K5,Limitation:Q5,ListView:n0,Lock:i0,Mail:a0,MailOpen:c0,Maximize2:f5,Mic:h0,Minimize2:Ym,NewTab:Qm,PackageReceive:g0,Palette:K6,PanelBottom:W0,PanelRight:F0,Paperclip:$m,Pause:y0,Pin:x0,PinOff:w0,Play:L0,Plus:z0,Puzzle:N0,Repeat:E0,SecurityCheck:R0,RotateCcw:A0,Rows2:Y5,Sent:D0,SideChat:f0,Smartphone:H0,Sort:K0,Square:G0,SquareUnlock02:Y0,Star:Q0,TextWrap:n9,TimeSchedule:i9,UserRound:c9,ZoomIn:h9,ZoomOut:g9};qf(y9)});var as=globalThis.__bbPluginRuntime;if(as==null||as.pluginSdkApp==null)throw new Error('Cannot load "@get-bb/plugin-sdk/app": this bundle must be loaded by the Moonlet app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Nn=as.pluginSdkApp,ek="default"in Nn?Nn.default:Nn,{Markdown:tk,ThreadChat:rk,ThreadTitle:nk,UrlLink:ok,definePluginApp:id,experimental_BranchPicker:ik,experimental_ComposerRoot:sk,experimental_DetailRow:ak,experimental_Diff:uk,experimental_FailedVoiceRecordings:ck,experimental_FileLink:lk,experimental_Icon:dk,experimental_ImageLightbox:pk,experimental_InfoList:fk,experimental_InfoListRow:mk,experimental_InfoSection:hk,experimental_NewThreadComposer:kk,experimental_PermissionModePicker:gk,experimental_PluginIcon:Ck,experimental_PluginRpcCallError:yk,experimental_PromptMentionIcon:bk,experimental_ProviderIcon:xk,experimental_ProviderModelPicker:vk,experimental_SettingsRow:wk,experimental_SettingsSection:_k,experimental_ShortcutHint:Lk,experimental_SidebarNavigationIcon:$k,experimental_SourceCode:Ik,experimental_THREAD_ACTION_GROUPS:Sk,experimental_THREAD_CONTEXT_SEGMENT_GROUPS:zk,experimental_THREAD_INFO_ROW_GROUPS:Mk,experimental_THREAD_INFO_SECTION_GROUPS:Nk,experimental_ThreadActionsContextMenu:Pk,experimental_ThreadActionsMenu:Ak,experimental_ThreadStatusGlyph:Tk,experimental_ThreadTitleText:Ek,experimental_VoiceInputButton:Ok,experimental_VoiceInputTextarea:Rk,experimental_VoiceRecordingBar:Zk,experimental_copyToClipboard:Dk,experimental_describePromptMention:jk,experimental_promptMentionClipboardAttributes:Wk,experimental_readPromptMentionClipboard:Vk,experimental_saveFile:Fk,experimental_useAppPanel:Bk,experimental_useArchiveEnvironmentThreads:Hk,experimental_useBranches:Uk,experimental_useCheckoutState:Kk,experimental_useCodeTheme:qk,experimental_useComposerCommandSearch:Gk,experimental_useComposerContributions:Jk,experimental_useComposerMentionSearch:Yk,experimental_useComposerRenderer:Xk,experimental_useExperiment:Qk,experimental_useFixedTabTarget:eg,experimental_usePluginId:tg,experimental_useProviders:rg,experimental_useQuestionFormHost:ng,experimental_useRpcKeyedQuery:og,experimental_useRpcMutation:ig,experimental_useRpcQuery:sg,experimental_useRpcRefresh:ag,experimental_useSidebar:ug,experimental_useSidebarNavigation:cg,experimental_useSidebarNavigationSplit:lg,experimental_useSidebarThreadActions:dg,experimental_useSidebarThreadSplit:pg,experimental_useSidebarThreads:fg,experimental_useThreadActionRegistrations:mg,experimental_useThreadActions:hg,experimental_useThreadTitleDisplayText:kg,internal_DO_NOT_USE_Outlet:gg,internal_DO_NOT_USE_useOutletFilled:Cg,useBbContext:yg,useBbNavigate:We,useComposer:bg,useComposerView:xg,useComposers:vg,useEnvironmentProviders:wg,useRealtime:Mt,useRealtimeConnectionState:Ve,useRpc:Nt,useSdk:_g,useSettings:Lg,useSidebarSplitLayout:$g,useSidebarThreadDraft:Ig,useSidebarThreadDraftIds:Sg,useSidebarThreadRowStatus:zg,useSidebarThreadRowStatuses:Mg,useSidebarThreadShortcut:Ng,experimental_useSidebarThreadPullRequest:Pg}=Nn;var ot={};$e(ot,{Activity:()=>Y9,Children:()=>An,Component:()=>X9,Fragment:()=>br,Profiler:()=>Q9,PureComponent:()=>e8,StrictMode:()=>t8,Suspense:()=>r8,act:()=>n8,cache:()=>o8,cacheSignal:()=>i8,captureOwnerStack:()=>s8,cloneElement:()=>xr,createContext:()=>vr,createElement:()=>wr,createRef:()=>a8,default:()=>J9,forwardRef:()=>ue,isValidElement:()=>Pt,lazy:()=>u8,memo:()=>c8,startTransition:()=>l8,unstable_useCacheRefresh:()=>d8,use:()=>p8,useActionState:()=>f8,useCallback:()=>G,useContext:()=>_r,useDebugValue:()=>m8,useDeferredValue:()=>h8,useEffect:()=>Y,useEffectEvent:()=>k8,useId:()=>At,useImperativeHandle:()=>g8,useInsertionEffect:()=>C8,useLayoutEffect:()=>Me,useMemo:()=>he,useOptimistic:()=>y8,useReducer:()=>b8,useRef:()=>Z,useState:()=>V,useSyncExternalStore:()=>Lr,useTransition:()=>x8,version:()=>v8});var us=globalThis.__bbPluginRuntime;if(us==null||us.react==null)throw new Error('Cannot load "react": this bundle must be loaded by the Moonlet app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Pn=us.react,J9="default"in Pn?Pn.default:Pn,{Activity:Y9,Children:An,Component:X9,Fragment:br,Profiler:Q9,PureComponent:e8,StrictMode:t8,Suspense:r8,act:n8,cache:o8,cacheSignal:i8,captureOwnerStack:s8,cloneElement:xr,createContext:vr,createElement:wr,createRef:a8,forwardRef:ue,isValidElement:Pt,lazy:u8,memo:c8,startTransition:l8,unstable_useCacheRefresh:d8,use:p8,useActionState:f8,useCallback:G,useContext:_r,useDebugValue:m8,useDeferredValue:h8,useEffect:Y,useEffectEvent:k8,useId:At,useImperativeHandle:g8,useInsertionEffect:C8,useLayoutEffect:Me,useMemo:he,useOptimistic:y8,useReducer:b8,useRef:Z,useState:V,useSyncExternalStore:Lr,useTransition:x8,version:v8}=Pn;function ie(e){if(!Number.isFinite(e)||e<0)return"0s";let t=Math.floor(e/1e3),r=Math.floor(t/3600),n=Math.floor(t%3600/60),o=t%60;return r>0?`${r}h ${String(n).padStart(2,"0")}m`:n>0?`${n}m ${String(o).padStart(2,"0")}s`:`${o}s`}function it(e,t){return e.durationMs!==null&&e.durationMs!==void 0?e.durationMs:e.startedAt===null||e.startedAt===void 0?null:e.completedAt!==null&&e.completedAt!==void 0?Math.max(0,e.completedAt-e.startedAt):["failed","interrupted","completed","skipped"].includes(e.status)?null:Math.max(0,t-e.startedAt)}var w8=new Set(["running","starting","waiting"]),_8=new Set(["thread","workflow-agent","delegation","phase","operation"]);function ud(e){return w8.has(e)}function L8(e){switch(e){case"running":case"starting":return"active";case"queued":return"pending";case"completed":return"completed";case"failed":return"failed";case"interrupted":return"interrupted";case"skipped":return"skipped";default:return"pending"}}function $8(e){switch(e){case"workflow-agent":return"ACTIVE AGENT";case"phase":case"operation":return"ACTIVE PHASE";case"delegation":return"DELEGATED TASK";default:return"CURRENT EXECUTION"}}function I8(e){return e.activity?.at??e.startedAt??Number.NEGATIVE_INFINITY}function Tn(e){return e.depth*1e9+Math.max(0,I8(e))}function sd(e){let t=null;for(let r of e)_8.has(r.kind)&&(t===null||Tn(r)>Tn(t)||Tn(r)===Tn(t)&&r.key<t.key)&&(t=r);return t}function S8(e){let t=e.filter(u=>ud(u.status)),r=new Map;t.forEach((u,l)=>r.set(u.key,l));let n=t.map((u,l)=>l),o=u=>{for(;n[u]!==u;)n[u]=n[n[u]],u=n[u];return u},i=(u,l)=>{let d=o(u),f=o(l);d!==f&&(n[f]=d)},s=new Map;t.forEach((u,l)=>{u.kind==="thread"&&u.threadId!==null&&s.set(u.threadId,l)}),t.forEach((u,l)=>{if(u.parentKey!==null){let d=r.get(u.parentKey);d!==void 0&&i(l,d)}if(u.kind==="thread"&&u.parentThreadId!==null&&u.parentThreadId!==void 0&&u.parentThreadId!==""){let d=s.get(u.parentThreadId);d!==void 0&&i(l,d)}});let a=new Map;t.forEach((u,l)=>{if(u.source!=="redteam"||u.scanId===void 0)return;let d=a.get(u.scanId);d===void 0?a.set(u.scanId,l):i(l,d)});let c=new Map;return t.forEach((u,l)=>{let d=o(l),f=c.get(d)??[];f.push(u),c.set(d,f)}),[...c.values()]}function z8(e,t){if(e.source==="ollama-fleet")return e.key;if(e.source==="redteam"&&e.scanId!==void 0)return`redteam:${e.scanId}`;if(e.threadId!==null)return`thread:${e.threadId}`;if(e.parentKey!==null){let r=t.find(n=>n.key===e.parentKey);if(r!==void 0&&r.threadId!==null)return`thread:${r.threadId}`}return null}function M8(e,t,r){let n=new Set(t.map(i=>i.key)),o=new Set(t.filter(i=>i.kind==="thread").map(i=>i.key));return r.filter(i=>n.has(i.key)?!1:e.source==="redteam"?e.scanId!==void 0&&i.scanId===e.scanId:!!(i.parentKey!==null&&o.has(i.parentKey)||e.kind==="workflow-agent"&&e.groupKey!==null&&e.groupKey!==void 0&&i.groupKey===e.groupKey&&i.key!==e.key))}function N8(e,t){if(e.kind==="phase"||e.kind==="operation"||e.kind==="workflow-agent")return e.groupKey??null;if(e.kind!=="thread")return null;let r=e.key,n=t.filter(i=>i.kind==="plan-step"&&i.parentKey===r);if(n.length>0)return n[0].groupKey??null;let o=new Set(t.filter(i=>i.kind==="workflow-agent"&&i.parentKey===r&&i.groupKey!==null&&i.groupKey!==void 0).map(i=>i.groupKey));return o.size===1?[...o][0]:null}function P8(e,t){let r=e.sequence??Number.MAX_SAFE_INTEGER,n=t.sequence??Number.MAX_SAFE_INTEGER;if(r!==n)return r-n;let o=e.completedAt??e.startedAt??Number.NEGATIVE_INFINITY,i=t.completedAt??t.startedAt??Number.NEGATIVE_INFINITY;return o!==i?i-o:e.key<t.key?-1:e.key>t.key?1:0}function ad(e,t){let r=e.sequence??Number.MAX_SAFE_INTEGER,n=t.sequence??Number.MAX_SAFE_INTEGER;return r!==n?r-n:e.key<t.key?-1:e.key>t.key?1:0}function cd(e){if(e.cards.length===0||e.cards.filter(x=>x.source==="ollama-fleet"&&ud(x.status)).length>1)return null;let r=S8(e.cards).filter(x=>sd(x)!==null);if(r.length!==1)return null;let n=r[0],o=sd(n),i=n.filter(x=>x.key!==o.key).sort((x,w)=>w.depth-x.depth||(x.key<w.key?-1:x.key>w.key?1:0)),s=M8(o,n,e.cards),a=N8(o,s),c=null;if(a!==null){let w=[...n,...s].filter($=>$.groupKey===a&&$.sequence!==null&&$.sequence!==void 0&&$.sequence>=0).sort(ad).map($=>({key:$.key,title:$.title,state:L8($.status),sequence:$.sequence,durationMs:$.durationMs,summary:$.outputPreview,error:$.errorPreview}));c=w.length>=2?w:null}let u=z8(o,e.cards),l=u!==null?(e.activityFeeds??[]).find(x=>x.key===u)?.entries.slice(0,6)??[]:[],d=o.status==="running"||o.status==="starting"?l[0]??null:null,f=new Set([...n.map(x=>x.key),...s.map(x=>x.key)]),m=e.cards.filter(x=>!f.has(x.key)),g=m.filter(x=>x.status==="failed"||x.status==="interrupted"),C=s.filter(x=>x.status==="completed"||x.status==="failed"||x.status==="interrupted"||x.status==="skipped").sort(P8).map(x=>({key:x.key,title:x.title,status:x.status,durationMs:x.durationMs,summary:x.outputPreview,error:x.errorPreview})),y=s.filter(x=>x.status==="queued").sort(ad).map(x=>({key:x.key,title:x.title,waitingOn:x.waitingOn,sequence:x.sequence??null}));return{hero:o,heroLabel:o.source==="ollama-fleet"?"CURRENT DELEGATED WORK":$8(o.kind),peers:i,pipeline:c,recent:l,latestOperation:d,completed:C,upNext:y,other:m,otherAttention:g}}var h={};$e(h,{$brand:()=>ws,$input:()=>qu,$output:()=>Ku,INVALID:()=>pe,NEVER:()=>vs,TimePrecision:()=>i1,ZodAny:()=>Uc,ZodArray:()=>Jc,ZodBase64:()=>Pi,ZodBase64URL:()=>Ai,ZodBigInt:()=>hr,ZodBigIntFormat:()=>Oi,ZodBoolean:()=>mr,ZodCIDRv4:()=>Mi,ZodCIDRv6:()=>Ni,ZodCUID:()=>wi,ZodCUID2:()=>_i,ZodCatch:()=>gl,ZodCodec:()=>yn,ZodCompileAsyncError:()=>Se,ZodCompileUnsupportedError:()=>j,ZodCreditCard:()=>Zc,ZodCustom:()=>bn,ZodCustomStringFormat:()=>wt,ZodDate:()=>fn,ZodDefault:()=>dl,ZodDiscriminatedUnion:()=>Xc,ZodE164:()=>Ti,ZodEmail:()=>yi,ZodEmoji:()=>xi,ZodEnum:()=>dr,ZodError:()=>V3,ZodExactOptional:()=>ji,ZodFile:()=>al,ZodFirstPartyTypeKind:()=>Nl,ZodFunction:()=>Il,ZodGUID:()=>bi,ZodIBAN:()=>Dc,ZodIPv4:()=>Si,ZodIPv6:()=>zi,ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>et,ZodISOTime:()=>Qe,ZodInstanceOf:()=>Ml,ZodIntersection:()=>Qc,ZodIssueCode:()=>H3,ZodJWT:()=>Ei,ZodKSUID:()=>Ii,ZodLazy:()=>_l,ZodLiteral:()=>sl,ZodMAC:()=>Rc,ZodMap:()=>ol,ZodNaN:()=>yl,ZodNanoID:()=>vi,ZodNever:()=>qc,ZodNonOptional:()=>Wi,ZodNull:()=>Bc,ZodNullable:()=>ll,ZodNumber:()=>fr,ZodNumberFormat:()=>_t,ZodObject:()=>hn,ZodOptional:()=>gn,ZodPipe:()=>Cn,ZodPrefault:()=>fl,ZodPreprocess:()=>bl,ZodPromise:()=>$l,ZodReadonly:()=>xl,ZodRealError:()=>be,ZodRecord:()=>lr,ZodSet:()=>il,ZodString:()=>pr,ZodStringFormat:()=>U,ZodSuccess:()=>kl,ZodSymbol:()=>Vc,ZodTemplateLiteral:()=>wl,ZodTransform:()=>ul,ZodTuple:()=>tl,ZodType:()=>E,ZodULID:()=>Li,ZodURL:()=>pn,ZodUUID:()=>Te,ZodUndefined:()=>Fc,ZodUnion:()=>kn,ZodUnknown:()=>Kc,ZodVoid:()=>Gc,ZodXID:()=>$i,ZodXor:()=>Yc,_ZodString:()=>Ci,_default:()=>pl,_function:()=>A2,any:()=>l2,array:()=>mn,base64:()=>Bp,base64url:()=>Hp,bigint:()=>i2,boolean:()=>Wc,catch:()=>Cl,check:()=>T2,cidrv4:()=>Vp,cidrv6:()=>Fp,clone:()=>F,codec:()=>z2,coerce:()=>Al,compile:()=>Xu,config:()=>X,core:()=>De,creditCard:()=>Kp,cuid:()=>Tp,cuid2:()=>Ep,currencyCode:()=>Qp,custom:()=>E2,date:()=>p2,decode:()=>Mc,decodeAsync:()=>Pc,deepPartial:()=>q2,describe:()=>O2,discriminatedUnion:()=>C2,e164:()=>Up,email:()=>_p,emoji:()=>Pp,encode:()=>zc,encodeAsync:()=>Nc,endsWith:()=>Qt,enum:()=>Zi,exactOptional:()=>cl,file:()=>L2,flattenError:()=>Er,float32:()=>t2,float64:()=>r2,formatError:()=>Or,fromJSONSchema:()=>U2,function:()=>A2,getDiscriminatedOption:()=>xu,getErrorMap:()=>K3,globalRegistry:()=>ae,gt:()=>Pe,gte:()=>ve,guid:()=>Lp,hash:()=>e2,hex:()=>Xp,hostname:()=>Yp,httpUrl:()=>Np,iban:()=>qp,includes:()=>Yt,input:()=>J2,instanceof:()=>Z2,int:()=>ki,int32:()=>n2,int64:()=>s2,intersection:()=>el,invertCodec:()=>M2,ipv4:()=>Dp,ipv6:()=>Wp,iso:()=>xn,json:()=>j2,jwt:()=>Gp,keyof:()=>f2,ksuid:()=>Zp,lazy:()=>Ll,length:()=>Ct,literal:()=>_2,locales:()=>tn,looseObject:()=>k2,looseRecord:()=>b2,lowercase:()=>Gt,lt:()=>Ne,lte:()=>xe,mac:()=>jp,map:()=>x2,maxLength:()=>gt,maxSize:()=>Ke,memoizer:()=>en,meta:()=>R2,mime:()=>tr,minLength:()=>Ze,minSize:()=>Ae,multipleOf:()=>Ue,nan:()=>S2,nanoid:()=>Ap,nativeEnum:()=>w2,negative:()=>ii,never:()=>Ri,nonnegative:()=>ai,nonoptional:()=>hl,nonpositive:()=>si,normalize:()=>rr,null:()=>Hc,nullable:()=>dn,nullish:()=>$2,number:()=>jc,object:()=>m2,optional:()=>xt,output:()=>Y2,overwrite:()=>ze,parse:()=>Lc,parseAsync:()=>$c,partialRecord:()=>y2,pipe:()=>gi,positive:()=>oi,prefault:()=>ml,preprocess:()=>W2,prettifyError:()=>Ss,promise:()=>P2,properties:()=>er,property:()=>ui,readonly:()=>vl,record:()=>nl,refine:()=>Sl,regex:()=>qt,regexes:()=>Le,registry:()=>Ao,safeDecode:()=>Tc,safeDecodeAsync:()=>Oc,safeEncode:()=>Ac,safeEncodeAsync:()=>Ec,safeParse:()=>Ic,safeParseAsync:()=>Sc,set:()=>v2,setErrorMap:()=>U3,size:()=>kt,slugify:()=>sr,startsWith:()=>Xt,strictObject:()=>h2,string:()=>ln,stringFormat:()=>Jp,stringbool:()=>D2,success:()=>I2,superRefine:()=>zl,symbol:()=>u2,templateLiteral:()=>N2,toJSONSchema:()=>pi,toLowerCase:()=>or,toUpperCase:()=>ir,toZod:()=>$r,transform:()=>Di,treeifyError:()=>Is,trim:()=>nr,tuple:()=>rl,uint32:()=>o2,uint64:()=>a2,ulid:()=>Op,undefined:()=>c2,union:()=>kr,unknown:()=>bt,uppercase:()=>Jt,url:()=>Mp,util:()=>S,uuid:()=>$p,uuidv4:()=>Ip,uuidv6:()=>Sp,uuidv7:()=>zp,validate:()=>Rr,validateAsync:()=>Zr,void:()=>d2,withParser:()=>To,xid:()=>Rp,xor:()=>g2});var De={};$e(De,{$ZodAny:()=>fu,$ZodArray:()=>Cu,$ZodAsyncError:()=>Ce,$ZodBase64:()=>tu,$ZodBase64URL:()=>ru,$ZodBigInt:()=>xo,$ZodBigIntFormat:()=>cu,$ZodBoolean:()=>qr,$ZodCIDRv4:()=>Qa,$ZodCIDRv6:()=>eu,$ZodCUID:()=>Wa,$ZodCUID2:()=>Va,$ZodCatch:()=>Ru,$ZodCheck:()=>K,$ZodCheckBigIntFormat:()=>ma,$ZodCheckEndsWith:()=>$a,$ZodCheckGreaterThan:()=>oo,$ZodCheckIncludes:()=>_a,$ZodCheckLengthEquals:()=>ba,$ZodCheckLessThan:()=>no,$ZodCheckLowerCase:()=>va,$ZodCheckMaxLength:()=>Ca,$ZodCheckMaxSize:()=>ha,$ZodCheckMimeType:()=>za,$ZodCheckMinLength:()=>ya,$ZodCheckMinSize:()=>ka,$ZodCheckMultipleOf:()=>pa,$ZodCheckNumberFormat:()=>fa,$ZodCheckOverwrite:()=>Ma,$ZodCheckProperties:()=>Sa,$ZodCheckProperty:()=>Ia,$ZodCheckRegex:()=>xa,$ZodCheckSizeEquals:()=>ga,$ZodCheckStartsWith:()=>La,$ZodCheckStringFormat:()=>Bt,$ZodCheckUpperCase:()=>wa,$ZodCodec:()=>Jr,$ZodCreditCard:()=>ou,$ZodCustom:()=>Bu,$ZodCustomStringFormat:()=>au,$ZodCyclicError:()=>So,$ZodDate:()=>gu,$ZodDefault:()=>Au,$ZodDiscriminatedUnion:()=>vu,$ZodE164:()=>nu,$ZodEmail:()=>Ea,$ZodEmoji:()=>Da,$ZodEncodeError:()=>He,$ZodEnum:()=>Iu,$ZodError:()=>$s,$ZodExactOptional:()=>Nu,$ZodFile:()=>zu,$ZodFunction:()=>Vu,$ZodGUID:()=>Aa,$ZodIBAN:()=>iu,$ZodIPv4:()=>Ja,$ZodIPv6:()=>Ya,$ZodISODate:()=>Ka,$ZodISODateTime:()=>Ua,$ZodISODuration:()=>Ga,$ZodISOTime:()=>qa,$ZodIntersection:()=>wu,$ZodJWT:()=>su,$ZodKSUID:()=>Ha,$ZodLazy:()=>Yr,$ZodLiteral:()=>Su,$ZodMAC:()=>Xa,$ZodMap:()=>Lu,$ZodNaN:()=>Zu,$ZodNanoID:()=>ja,$ZodNever:()=>hu,$ZodNonOptional:()=>Eu,$ZodNull:()=>pu,$ZodNullable:()=>Pu,$ZodNumber:()=>bo,$ZodNumberFormat:()=>uu,$ZodObject:()=>Bd,$ZodObjectJIT:()=>yu,$ZodOptional:()=>wo,$ZodPipe:()=>_o,$ZodPrefault:()=>Tu,$ZodPreprocess:()=>Du,$ZodPromise:()=>Fu,$ZodReadonly:()=>ju,$ZodRealError:()=>ye,$ZodRecord:()=>_u,$ZodRegistry:()=>Po,$ZodSet:()=>$u,$ZodString:()=>dt,$ZodStringFormat:()=>B,$ZodSuccess:()=>Ou,$ZodSymbol:()=>lu,$ZodTemplateLiteral:()=>Wu,$ZodTransform:()=>Mu,$ZodTuple:()=>vo,$ZodType:()=>A,$ZodULID:()=>Fa,$ZodURL:()=>Za,$ZodUUID:()=>Ta,$ZodUndefined:()=>du,$ZodUnion:()=>Gr,$ZodUnknown:()=>mu,$ZodVoid:()=>ku,$ZodXID:()=>Ba,$ZodXor:()=>bu,$brand:()=>ws,$constructor:()=>k,$input:()=>qu,$output:()=>Ku,Doc:()=>lt,INVALID:()=>pe,JSONSchema:()=>xp,JSONSchemaGenerator:()=>fi,NEVER:()=>vs,TimePrecision:()=>i1,URL_BAD_FORMAT:()=>Oa,URL_UNPARSEABLE:()=>Fr,ZodCompileAsyncError:()=>Se,ZodCompileUnsupportedError:()=>j,_any:()=>v1,_array:()=>z1,_base64:()=>ei,_base64url:()=>ti,_bigint:()=>h1,_boolean:()=>f1,_catch:()=>M3,_check:()=>ip,_cidrv4:()=>Xo,_cidrv6:()=>Qo,_coercedBigint:()=>k1,_coercedBoolean:()=>m1,_coercedDate:()=>I1,_coercedNumber:()=>a1,_coercedString:()=>t1,_creditCard:()=>n1,_cuid:()=>Ho,_cuid2:()=>Uo,_custom:()=>N1,_date:()=>$1,_decode:()=>Un,_decodeAsync:()=>qn,_default:()=>I3,_discriminatedUnion:()=>h3,_e164:()=>ri,_email:()=>Ro,_emoji:()=>Fo,_encode:()=>Hn,_encodeAsync:()=>Kn,_endsWith:()=>Qt,_enum:()=>x3,_file:()=>M1,_float32:()=>c1,_float64:()=>l1,_gt:()=>Pe,_gte:()=>ve,_guid:()=>Zo,_iban:()=>o1,_includes:()=>Yt,_int:()=>u1,_int32:()=>d1,_int64:()=>g1,_intersection:()=>k3,_ipv4:()=>Jo,_ipv6:()=>Yo,_isoDate:()=>on,_isoDateTime:()=>nn,_isoDuration:()=>an,_isoTime:()=>sn,_jwt:()=>ni,_ksuid:()=>Go,_lazy:()=>T3,_length:()=>Ct,_literal:()=>w3,_lowercase:()=>Gt,_lt:()=>Ne,_lte:()=>xe,_mac:()=>r1,_map:()=>y3,_max:()=>xe,_maxLength:()=>gt,_maxSize:()=>Ke,_mime:()=>tr,_min:()=>ve,_minLength:()=>Ze,_minSize:()=>Ae,_multipleOf:()=>Ue,_nan:()=>S1,_nanoid:()=>Bo,_nativeEnum:()=>v3,_negative:()=>ii,_never:()=>_1,_nonnegative:()=>ai,_nonoptional:()=>S3,_nonpositive:()=>si,_normalize:()=>rr,_null:()=>x1,_nullable:()=>$3,_number:()=>s1,_optional:()=>L3,_overwrite:()=>ze,_parse:()=>jt,_parseAsync:()=>Wt,_pipe:()=>N3,_positive:()=>oi,_promise:()=>E3,_properties:()=>er,_property:()=>ui,_readonly:()=>P3,_record:()=>C3,_refine:()=>P1,_regex:()=>qt,_safeDecode:()=>Jn,_safeDecodeAsync:()=>Xn,_safeEncode:()=>Gn,_safeEncodeAsync:()=>Yn,_safeParse:()=>Vt,_safeParseAsync:()=>Ft,_set:()=>b3,_size:()=>kt,_slugify:()=>sr,_startsWith:()=>Xt,_string:()=>e1,_stringFormat:()=>yt,_stringbool:()=>O1,_success:()=>z3,_superRefine:()=>A1,_symbol:()=>y1,_templateLiteral:()=>A3,_toLowerCase:()=>or,_toUpperCase:()=>ir,_transform:()=>_3,_trim:()=>nr,_tuple:()=>g3,_uint32:()=>p1,_uint64:()=>C1,_ulid:()=>Ko,_undefined:()=>b1,_union:()=>f3,_unknown:()=>w1,_uppercase:()=>Jt,_url:()=>rn,_uuid:()=>Do,_uuidv4:()=>jo,_uuidv6:()=>Wo,_uuidv7:()=>Vo,_void:()=>L1,_xid:()=>qo,_xor:()=>m3,base64Charset:()=>ho,base64urlCharset:()=>Kr,canParseURL:()=>Ra,clone:()=>F,compile:()=>Xu,compileFn:()=>Eo,config:()=>X,createStandardJSONSchemaMethod:()=>ar,createToJSONSchemaMethod:()=>Z1,decode:()=>w4,decodeAsync:()=>L4,describe:()=>T1,encode:()=>v4,encodeAsync:()=>_4,extractDefs:()=>Ge,finalize:()=>Je,flattenError:()=>Er,formatError:()=>Or,getDiscriminatedOption:()=>xu,globalConfig:()=>ne,globalRegistry:()=>ae,handleUnrepresentable:()=>te,initializeContext:()=>qe,isBackEdge:()=>Mo,isRecursiveSchema:()=>zo,isValidBase64:()=>Ur,isValidBase64URL:()=>ko,isValidCIDRv6:()=>mo,isValidCreditCard:()=>go,isValidIBAN:()=>Co,isValidIPv6:()=>Hr,isValidJWT:()=>yo,locales:()=>tn,memoizer:()=>en,mergeValues:()=>Ht,meta:()=>E1,parse:()=>Fn,parseAsync:()=>Bn,parseURLObject:()=>Wd,prettifyError:()=>Ss,process:()=>H,processSchema:()=>H,regexes:()=>Le,registry:()=>Ao,safeDecode:()=>I4,safeDecodeAsync:()=>z4,safeEncode:()=>$4,safeEncodeAsync:()=>S4,safeParse:()=>g4,safeParseAsync:()=>C4,standardProps:()=>co,stripTabAndNewline:()=>Br,toDotPath:()=>bd,toJSONSchema:()=>pi,toZod:()=>$r,treeifyError:()=>Is,urlHostnameOk:()=>po,urlProtocolOk:()=>fo,util:()=>S,validate:()=>Rr,validateAsync:()=>Zr,validateURL:()=>lo,version:()=>Na,withParser:()=>To});var S={};$e(S,{BIGINT_FORMAT_RANGES:()=>Nr,CONSTANT_CATCH:()=>Wn,Class:()=>ds,NUMBER_FORMAT_RANGES:()=>Mr,aborted:()=>de,allowsEval:()=>ms,assert:()=>R8,assertEqual:()=>A8,assertIs:()=>E8,assertNever:()=>O8,assertNotEqual:()=>T8,assignProp:()=>se,attachSchema:()=>jn,base64ToUint8Array:()=>md,base64urlToUint8Array:()=>r4,cached:()=>Rt,captureStackTrace:()=>Rn,cleanEnum:()=>t4,cleanRegex:()=>Oe,clone:()=>F,cloneDef:()=>j8,codePointLength:()=>ut,constantCatch:()=>bs,createTransparentProxy:()=>U8,defineLazy:()=>ps,defineLazyInternal:()=>O,derived:()=>s4,esc:()=>le,escapeRegex:()=>_e,explicitlyAborted:()=>gs,extend:()=>G8,finalizeIssue:()=>ge,floatSafeRemainder:()=>Ir,getElementAtPath:()=>W8,getEnumValues:()=>Et,getLengthableOrigin:()=>Ar,getParsedType:()=>H8,getSizableOrigin:()=>Pr,hexToUint8Array:()=>o4,hide:()=>Tr,installLazyProp:()=>l4,isObject:()=>at,isPlainObject:()=>we,issue:()=>Dt,joinValues:()=>En,jsonStringifyReplacer:()=>Ot,members:()=>ys,merge:()=>Y8,mergeDefs:()=>Ie,normalizeParams:()=>_,nullish:()=>On,numKeys:()=>B8,objectClone:()=>Z8,omit:()=>q8,optionalKeys:()=>ks,own:()=>Be,parsedType:()=>Cs,partial:()=>X8,pick:()=>K8,prefixIssues:()=>ke,primitiveTypes:()=>hs,promiseAllObject:()=>V8,propertyKeyTypes:()=>zr,randomString:()=>F8,rawShape:()=>Zt,required:()=>Q8,safeExtend:()=>J8,shallowClone:()=>Sr,slugify:()=>fs,stringifyPrimitive:()=>Zn,toZod:()=>$r,uint8ArrayToBase64:()=>hd,uint8ArrayToBase64url:()=>n4,uint8ArrayToHex:()=>i4,unwrapMessage:()=>Tt});function A8(e){return e}function T8(e){return e}function $r(){return e=>e}function E8(e){}function O8(e){throw new Error("Unexpected value in exhaustive check")}function R8(e){}function Et(e){let t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function En(e,t="|"){return e.map(r=>Zn(r)).join(t)}function Ot(e,t){return typeof t=="bigint"?t.toString():t}var ls=class{constructor(t){this._getter=t,this._value=void 0}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function Rt(e){return new ls(e)}function On(e){return e==null}function Oe(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Ir(e,t){let r=e/t,n=Math.round(r),o=4*Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-n)<o?0:r-n}var ld=Symbol("evaluating");function ps(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==ld)return n===void 0&&(n=ld,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function Z8(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function se(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Zt(e){let t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function Ee(e){return Zt(e._zod.def)??e._zod.def.shape}function dd(e,t,r){Object.defineProperty(e,t,{get(){let n=r();return se(this,t,n),n},enumerable:!0,configurable:!0})}function pd(e,t,r){t in e?se(e,t,r):e[t]=r}function st(e,t,r,n){let o=Ee(t);for(let i of r){let s=Object.getOwnPropertyDescriptor(o,i);s.enumerable&&(s.get?dd(e,i,()=>{let a=t._zod.def.shape[i];return n?n(a,i):a}):pd(e,i,n?n(s.value,i):s.value))}}function D8(e,t){for(let r of Reflect.ownKeys(t)){let n=Object.getOwnPropertyDescriptor(t,r);n.enumerable&&(n.get?dd(e,r,()=>t[r]):pd(e,r,n.value))}}function Ie(...e){let t={};for(let r of e){let n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function j8(e){return Ie(e._zod.def)}function W8(e,t){return t?t.reduce((r,n)=>r?.[n],e):e}function V8(e){let t=Object.keys(e),r=t.map(n=>e[n]);return Promise.all(r).then(n=>{let o={};for(let i=0;i<t.length;i++)o[t[i]]=n[i];return o})}function F8(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r}function le(e){return JSON.stringify(e)}function fs(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Rn="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function at(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var ms=Rt(()=>{if(ne.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function we(e){if(at(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(at(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function Sr(e){return we(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function B8(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var H8=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},zr=new Set(["string","number","symbol"]),hs=new Set(["string","number","bigint","boolean","symbol","undefined"]);function _e(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function F(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function _(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function U8(e){let t;return new Proxy({},{get(r,n,o){return t??(t=e()),Reflect.get(t,n,o)},set(r,n,o,i){return t??(t=e()),Reflect.set(t,n,o,i)},has(r,n){return t??(t=e()),Reflect.has(t,n)},deleteProperty(r,n){return t??(t=e()),Reflect.deleteProperty(t,n)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,n){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)},defineProperty(r,n,o){return t??(t=e()),Reflect.defineProperty(t,n,o)}})}function Zn(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function ks(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var Mr={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Nr={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function K8(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let i={};return st(i,e,Dn(e,t)),F(e,Ie(r,{shape:i,checks:[]}))}function Dn(e,t){let r=Ee(e),n=[];for(let o of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(r,o)?.enumerable)throw new Error(`Unrecognized key: "${String(o)}"`);t[o]&&n.push(o)}return n}function q8(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let i=new Set(Dn(e,t)),s={};return st(s,e,Reflect.ownKeys(Ee(e)).filter(a=>!i.has(a))),F(e,Ie(r,{shape:s,checks:[]}))}function G8(e,t){if(!we(t))throw new Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let o=Ee(e);for(let i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(o,i)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return F(e,Ie(e._zod.def,{shape:fd(e,t)}))}function fd(e,t){let r={};return st(r,e,Reflect.ownKeys(Ee(e))),D8(r,t),r}function J8(e,t){if(!we(t))throw new Error("Invalid input to safeExtend: expected a plain object");return F(e,Ie(e._zod.def,{shape:fd(e,t)}))}function Y8(e,t){if(!t?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let r={};st(r,e,Reflect.ownKeys(Ee(e))),st(r,t,Reflect.ownKeys(Ee(t)));let n=Ie(e._zod.def,{shape:r,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return F(e,n)}function X8(e,t,r,n="partial"){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${n}() cannot be used on object schemas containing refinements`);let a=r?new Set(Dn(t,r)):void 0,c={};return st(c,t,Reflect.ownKeys(Ee(t)),e&&((u,l)=>a&&!a.has(l)?u:new e({type:"optional",innerType:u}))),F(t,Ie(t._zod.def,{shape:c,checks:[]}))}function Q8(e,t,r){let n=r?new Set(Dn(t,r)):void 0,o={};return st(o,t,Reflect.ownKeys(Ee(t)),(i,s)=>n&&!n.has(s)?i:new e({type:"nonoptional",innerType:i})),F(t,Ie(t._zod.def,{shape:o}))}function de(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function gs(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function ke(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function Tt(e){return typeof e=="string"?e:e?.message}function jn(e,t,r){var n;for(let o=t;o<e.length;o++)(n=e[o]).schema??(n.schema=r)}function ge(e,t,r){var n;let o=e.inst?._zod?.traits;o?.has("$ZodType")&&(o.has("$ZodCheck")?(n=e).schema??(n.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,s=e.message?e.message:Tt(e.inst?._zod.def?.error?.(e))??Tt(i?.(e))??Tt(t?.error?.(e))??Tt(r.customError?.(e))??Tt(r.localeError?.(e))??"Invalid input",a={};for(let c of Object.keys(e))c==="inst"||c==="schema"||c==="continue"||c==="input"||c==="__proto__"||(a[c]=e[c]);return a.path??(a.path=[]),a.message=s,t?.reportInput&&(a.input=e.input),a}function Pr(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}var e4=/[\uD800-\uDBFF]/;function ut(e){let t=e.length;if(!e4.test(e))return t;let r=t;for(let n=0;n<t-1;n++)(e.charCodeAt(n)&64512)===55296&&(e.charCodeAt(n+1)&64512)===56320&&(r--,n++);return r}function Ar(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Cs(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}function Dt(...e){let[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}function t4(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function md(e){let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}function hd(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function r4(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return md(t+r)}function n4(e){return hd(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function o4(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let r=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2)r[n/2]=Number.parseInt(t.slice(n,n+2),16);return r}function i4(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var ds=class{constructor(...t){}};function ys(e,t){for(let r in t){let n=Object.getOwnPropertyDescriptor(t,r);n.get?Object.defineProperty(e,r,{...n,enumerable:!1}):a4(e,r,n.value)}}function Be(e,t,r,n=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:n,value:r}),r}function Tr(e,t,r){return Be(e,t,r,!1)}function s4(e,t){for(let r in e){let n=e[r];Object.defineProperty(t,r,{configurable:!0,enumerable:!0,get(){return Be(this,r,n(this))},set(o){Be(this,r,o)}})}return t}function a4(e,t,r){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?r:Be(this,t,r.bind(this))},set(n){Be(this,t,n)}})}function u4(e,t){let r=Object.getPrototypeOf(e);return t in r?void 0:r}var cs,Fe=!1,c4={configurable:!0,get(){Fe=!0}};function O(e,t,r){let n=Object.getPrototypeOf(e._zod);if(t in n&&cs!==e._zod){cs=void 0;return}cs=e._zod,Object.defineProperty(n,t,{configurable:!0,get(){Object.defineProperty(this,t,c4);let o=Fe;Fe=!1;try{let i=r(this);return Fe?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),Fe=Fe||o,i}catch(i){throw delete this[t],Fe=Fe||o,i}},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o})}})}function l4(e,t,r,n){let o=u4(e,t);o&&Object.defineProperty(o,t,{configurable:!0,get(){let i={configurable:!0,writable:!0,enumerable:n,value:void 0};return Object.defineProperty(this,t,i),i.value=r(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:n,value:i})}})}var Wn="~constantCatch";function bs(e){let t=()=>e;return t[Wn]=!0,t}var kd,vs=Object.freeze({status:"aborted"}),xs={value:void 0,enumerable:!1},gd="captureStackTrace"in Error?Error:null;function d4(e){let t=gd;if(t){let r=t.stackTraceLimit;if(typeof r=="number"){try{t.stackTraceLimit=0}catch{return gd=null,new e}try{return new e}finally{t.stackTraceLimit=r}}}return new e}function k(e,t,r,n){let o={};function i(f){this.def=f,this.constr=d,this.traits=new Set}i.prototype=o;let s=r,a=s&&new WeakSet;function c(f,m){if(f._zod){if(f._zod.traits.has(e))return}else{xs.value=new i(m);try{Object.defineProperty(f,"_zod",xs)}finally{xs.value=void 0}}if(f._zod.traits.add(e),t(f,m),a){let C=Object.getPrototypeOf(f),y=f._zod.constr.prototype,x=C;for(;x&&x!==y;)x=Object.getPrototypeOf(x);let w=x??C;a.has(w)||(a.add(w),ys(w,s))}let g=d.prototype;for(let C in g)Object.prototype.hasOwnProperty.call(g,C)&&(C in f||(f[C]=g[C].bind(f)))}let u=n?.Parent??Object;class l extends u{}Object.defineProperty(l,"name",{value:e});function d(f){let m=n?.Parent?d4(l):this;c(m,f);let g=m._zod.deferred;if(g){for(let y of g)y();m._zod.deferred=void 0}let C=globalThis.__zod_globalConfig?.postProcessor;return C&&C(m),m}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:f=>n?.Parent&&f instanceof n.Parent?!0:f?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var ws=Symbol("zod_brand"),Ce=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},He=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};(kd=globalThis).__zod_globalConfig??(kd.__zod_globalConfig={});var ne=globalThis.__zod_globalConfig;function X(e){return e&&Object.assign(ne,e),ne}function p4(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Ot,2)),e.message}function f4(e){this._zod.message=e}var m4={get:p4,set:f4,enumerable:!0,configurable:!0},Ls={value:void 0,enumerable:!1},Cd=new WeakSet([Object.prototype,Error.prototype]),yd=(e,t)=>{e.name="$ZodError",Ls.value=t,Object.defineProperty(e,"issues",Ls),Ls.value=void 0,Object.defineProperty(e,"message",m4);let r=Object.getPrototypeOf(e);Cd.has(r)||(Cd.add(r),Object.defineProperty(r,"toString",{configurable:!0,enumerable:!1,get(){let n=()=>this.message;return Object.defineProperty(this,"toString",{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,"toString",{value:n,configurable:!0,writable:!0})}}))},$s=k("$ZodError",yd),ye=k("$ZodError",yd,void 0,{Parent:Error});function h4(e,t,r){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:r(),writable:!0,enumerable:!0,configurable:!0}):e[t]=r()),e[t]}function Er(e,t=r=>r.message){let r={},n=[];for(let o of e.issues)o.path.length>0?h4(r,o.path[0],()=>[]).push(t(o)):n.push(t(o));return{formErrors:n,fieldErrors:r}}function Or(e,t=r=>r.message){let r={_errors:[]},n=(o,i=[])=>{for(let s of o.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(a=>n({issues:a},[...i,...s.path]));else if(s.code==="invalid_key")n({issues:s.issues},[...i,...s.path]);else if(s.code==="invalid_element")n({issues:s.issues},[...i,...s.path]);else{let a=[...i,...s.path];if(a.length===0)r._errors.push(t(s));else{let c=r,u=0;for(;u<a.length;){let l=a[u],d=u===a.length-1;if(l==="_errors"){d&&c._errors.push(t(s)),u++;continue}Object.prototype.hasOwnProperty.call(c,l)||Object.defineProperty(c,l,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let f=c[l];d&&f._errors.push(t(s)),c=f,u++}}}};return n(e),r}function Is(e,t=r=>r.message){let r={errors:[]},n=(o,i=[])=>{var s;for(let a of o.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(c=>n({issues:c},[...i,...a.path]));else if(a.code==="invalid_key")n({issues:a.issues},[...i,...a.path]);else if(a.code==="invalid_element")n({issues:a.issues},[...i,...a.path]);else{let c=[...i,...a.path];if(c.length===0){r.errors.push(t(a));continue}let u=r,l=0;for(;l<c.length;){let d=c[l],f=l===c.length-1;typeof d=="string"?(u.properties??(u.properties={}),Object.prototype.hasOwnProperty.call(u.properties,d)||Object.defineProperty(u.properties,d,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),u=u.properties[d]):(u.items??(u.items=[]),(s=u.items)[d]??(s[d]={errors:[]}),u=u.items[d]),f&&u.errors.push(t(a)),l++}}};return n(e),r}function bd(e){let t=[],r=e.map(n=>typeof n=="object"?n.key:n);for(let n of r)typeof n=="number"?t.push(`[${n}]`):typeof n=="symbol"?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}function Ss(e){let t=[],r=[...e.issues].sort((n,o)=>(n.path??[]).length-(o.path??[]).length);for(let n of r)t.push(`\u2716 ${n.message}`),n.path?.length&&t.push(` \u2192 at ${bd(n.path)}`);return t.join(`
|
|
2
|
+
`)}function Vn(e,t){return{callee:t?.callee??e,Err:t?.Err}}var jt=e=>{let t=(r,n,o,i)=>{let s=o?{...o,async:!1}:{async:!1},a=r._zod.run({value:n,issues:[]},s);if(a instanceof Promise)throw new Ce;if(a.issues.length){let c=new(i?.Err??e)(a.issues.map(u=>ge(u,s,X())));throw Rn(c,i?.callee??t),c}return a.value};return t},Fn=jt(ye),Wt=e=>{let t=async(r,n,o,i)=>{let s=o?{...o,async:!0}:{async:!0},a=r._zod.run({value:n,issues:[]},s);if(a instanceof Promise&&(a=await a),a.issues.length){let c=new(i?.Err??e)(a.issues.map(u=>ge(u,s,X())));throw Rn(c,i?.callee??t),c}return a.value};return t},Bn=Wt(ye),Vt=e=>(t,r,n)=>{let o=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new Ce;return i.issues.length?xd(e,i.issues,o):{success:!0,data:i.value}},g4=Vt(ye);function xd(e,t,r){let n;return{success:!1,get error(){return n||(n=new e(t.map(o=>ge(o,r,X()))),t=void 0,r=void 0),n},set error(o){n=o,t=void 0,r=void 0}}}var Ft=e=>async(t,r,n)=>{let o=n?{...n,async:!0}:{async:!0},i=t._zod.run({value:r,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?xd(e,i.issues,o):{success:!0,data:i.value}},C4=Ft(ye),y4=Symbol.for("zod.compile.invalid"),b4=Symbol.for("zod.compile.fallback"),Rr=((e,t,r)=>{let n=e._zod.bag.validator;if(n!==void 0){if(n(t)!==y4)return!0;if(n.definite===!0&&r===void 0)return!1}return x4(e,t,r)});function x4(e,t,r){let n=r?{...r,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},o=e._zod.bag.fallbackRun,i;if(o?(n[b4]=!0,i=o({value:t,issues:[]},n)):i=e._zod.run({value:t,issues:[]},n),i instanceof Promise)throw new Ce;return i.issues.length===0}var Zr=async(e,t,r)=>{let n=r?{...r,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},o=e._zod.run({value:t,issues:[]},n);return o instanceof Promise&&(o=await o),o.issues.length===0},Hn=e=>{let t=jt(e),r=(n,o,i,s)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return t(n,o,a,Vn(r,s))};return r},v4=Hn(ye),Un=e=>{let t=jt(e),r=(n,o,i,s)=>t(n,o,i,Vn(r,s));return r},w4=Un(ye),Kn=e=>{let t=Wt(e),r=async(n,o,i,s)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return await t(n,o,a,Vn(r,s))};return r},_4=Kn(ye),qn=e=>{let t=Wt(e),r=async(n,o,i,s)=>await t(n,o,i,Vn(r,s));return r},L4=qn(ye),Gn=e=>(t,r,n)=>{let o=n?{...n,direction:"backward"}:{direction:"backward"};return Vt(e)(t,r,o)},$4=Gn(ye),Jn=e=>(t,r,n)=>Vt(e)(t,r,n),I4=Jn(ye),Yn=e=>async(t,r,n)=>{let o=n?{...n,direction:"backward"}:{direction:"backward"};return Ft(e)(t,r,o)},S4=Yn(ye),Xn=e=>async(t,r,n)=>Ft(e)(t,r,n),z4=Xn(ye);var Le={};$e(Le,{anyString:()=>ta,base64:()=>Us,base64url:()=>Ks,bigint:()=>na,boolean:()=>oa,browserEmail:()=>R4,cidrv4:()=>Bs,cidrv6:()=>Hs,creditCard:()=>Qn,cuid:()=>Ms,cuid2:()=>Ns,currencyCode:()=>Ys,date:()=>Xs,datetime:()=>ea,domain:()=>Gs,duration:()=>Rs,e164:()=>Js,email:()=>Ds,emoji:()=>js,extendedDuration:()=>M4,guid:()=>Zs,hex:()=>ca,hostname:()=>qs,html5Email:()=>T4,httpProtocol:()=>Dr,iban:()=>eo,idnEmail:()=>O4,integer:()=>jr,ipv4:()=>Ws,ipv6:()=>Vs,ksuid:()=>Ts,lowercase:()=>aa,mac:()=>Fs,md5_base64:()=>W4,md5_base64url:()=>V4,md5_hex:()=>j4,nanoid:()=>Es,nanoidOfLength:()=>Os,null:()=>ia,number:()=>Re,rfc5322Email:()=>E4,sha1_base64:()=>B4,sha1_base64url:()=>H4,sha1_hex:()=>F4,sha256_base64:()=>K4,sha256_base64url:()=>q4,sha256_hex:()=>U4,sha384_base64:()=>J4,sha384_base64url:()=>Y4,sha384_hex:()=>G4,sha512_base64:()=>Q4,sha512_base64url:()=>eh,sha512_hex:()=>X4,string:()=>ra,time:()=>Qs,ulid:()=>Ps,undefined:()=>sa,unicodeEmail:()=>vd,uppercase:()=>ua,uuid:()=>ct,uuid4:()=>N4,uuid6:()=>P4,uuid7:()=>A4,xid:()=>As});var Ms=/^[cC][0-9a-z]{6,}$/,Ns=/^[0-9a-z]+$/,Ps=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,As=/^[0-9a-vA-V]{20}$/,Ts=/^[A-Za-z0-9]{27}$/,Es=/^[a-zA-Z0-9_-]{21}$/;function Os(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Rs=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,M4=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Zs=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ct=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,N4=ct(4),P4=ct(6),A4=ct(7),Ds=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,T4=/^[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])?)*$/,E4=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,vd=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,O4=vd,R4=/^[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])?)*$/,Z4="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function js(){return new RegExp(Z4,"u")}var Ws=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Vs=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Fs=e=>{let t=_e(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},Bs=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Hs=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Us=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Ks=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,qs=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Gs=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/,Dr=/^https?$/,Js=/^\+[1-9]\d{6,14}$/,Qn=/^\d(?:[ -]?\d){11,18}$/,Ys=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,eo=/^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/,wd="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function D4(e){return new RegExp(`^${e}$`)}var Xs=D4(wd);function zs(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Qs(e){return new RegExp(`^${zs(e)}$`)}function ea(e){let t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let r=`${zs({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,n=e.local?`${r}|${zs({precision:e.precision})}`:r;return new RegExp(`^${wd}T(?:${n})$`)}var ta=/^[\s\S]{0,}$/,ra=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},na=/^-?\d+n?$/,jr=/^-?\d+$/,Re=/^-?\d+(?:\.\d+)?$/,oa=/^(?:true|false)$/i,ia=/^null$/i;var sa=/^undefined$/i;var aa=/^[^A-Z]*$/,ua=/^[^a-z]*$/,ca=/^[0-9a-fA-F]*$/;function Wr(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Vr(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var j4=/^[0-9a-fA-F]{32}$/,W4=Wr(22,"=="),V4=Vr(22),F4=/^[0-9a-fA-F]{40}$/,B4=Wr(27,"="),H4=Vr(27),U4=/^[0-9a-fA-F]{64}$/,K4=Wr(43,"="),q4=Vr(43),G4=/^[0-9a-fA-F]{96}$/,J4=Wr(64,""),Y4=Vr(64),X4=/^[0-9a-fA-F]{128}$/,Q4=Wr(86,"=="),eh=Vr(86);var K=k("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),la=e=>{let t=e.value;return!On(t)&&t.size!==void 0},da=e=>{let t=e.value;return!On(t)&&t.length!==void 0},to={number:"number",bigint:"bigint",object:"date"},no=k("$ZodCheckLessThan",(e,t)=>{K.init(e,t);let r=to[typeof t.value];e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:to[typeof n.value]??r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),oo=k("$ZodCheckGreaterThan",(e,t)=>{K.init(e,t);let r=to[typeof t.value];e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:to[typeof n.value]??r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),pa=k("$ZodCheckMultipleOf",(e,t)=>{K.init(e,t),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?t.value!==BigInt(0)&&r.value%t.value===BigInt(0):Ir(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),fa=k("$ZodCheckNumberFormat",(e,t)=>{K.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[o,i]=Mr[t.format];e._zod.check=s=>{let a=s.value;if(r){if(!Number.isInteger(a)){s.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:a,inst:e});return}if(!Number.isSafeInteger(a)){a>0?s.issues.push({input:a,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):s.issues.push({input:a,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}a<o&&s.issues.push({origin:"number",input:a,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),a>i&&s.issues.push({origin:"number",input:a,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),ma=k("$ZodCheckBigIntFormat",(e,t)=>{K.init(e,t);let[r,n]=Nr[t.format];e._zod.check=o=>{let i=o.value;i<r&&o.issues.push({origin:"bigint",input:i,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),i>n&&o.issues.push({origin:"bigint",input:i,code:"too_big",maximum:n,inclusive:!0,inst:e,continue:!t.abort})}}),ha=k("$ZodCheckMaxSize",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=la),e._zod.check=n=>{let o=n.value;o.size<=t.maximum||n.issues.push({origin:Pr(o),code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ka=k("$ZodCheckMinSize",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=la),e._zod.check=n=>{let o=n.value;o.size>=t.minimum||n.issues.push({origin:Pr(o),code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ga=k("$ZodCheckSizeEquals",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=la),e._zod.check=n=>{let o=n.value,i=o.size;if(i===t.size)return;let s=i>t.size;n.issues.push({origin:Pr(o),...s?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Ca=k("$ZodCheckMaxLength",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=da),e._zod.check=n=>{let o=n.value,i=o.length;if((typeof o=="string"&&i>t.maximum?ut(o):i)<=t.maximum)return;let a=Ar(o);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ya=k("$ZodCheckMinLength",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=da),e._zod.check=n=>{let o=n.value,i=o.length;if((typeof o=="string"&&i>=t.minimum&&i<t.minimum*2?ut(o):i)>=t.minimum)return;let a=Ar(o);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ba=k("$ZodCheckLengthEquals",(e,t)=>{var r;K.init(e,t),(r=e._zod.def).when??(r.when=da),e._zod.check=n=>{let o=n.value,i=o.length,s=typeof o=="string"&&i>=t.length&&i<=t.length*2?ut(o):i;if(s===t.length)return;let a=Ar(o),c=s>t.length;n.issues.push({origin:a,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Bt=k("$ZodCheckStringFormat",(e,t)=>{var r,n;K.init(e,t),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),xa=k("$ZodCheckRegex",(e,t)=>{Bt.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),va=k("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=aa),Bt.init(e,t)}),wa=k("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=ua),Bt.init(e,t)}),_a=k("$ZodCheckIncludes",(e,t)=>{K.init(e,t);let r=_e(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position},}${r}`:r);t.pattern=n,e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),La=k("$ZodCheckStartsWith",(e,t)=>{K.init(e,t);let r=new RegExp(`^${_e(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),$a=k("$ZodCheckEndsWith",(e,t)=>{K.init(e,t);let r=new RegExp(`.*${_e(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function ro(e,t,r){e.issues.length&&t.issues.push(...ke(r,e.issues))}var Ia=k("$ZodCheckProperty",(e,t)=>{K.init(e,t),e._zod.check=r=>{let n=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(o=>ro(o,r,t.property));ro(n,r,t.property)}}),Sa=k("$ZodCheckProperties",(e,t)=>{K.init(e,t),Tr(e,Symbol.iterator,function*(){yield e});let r;e._zod.check=n=>{if(n.value==null){n.issues.push({expected:"object",code:"invalid_type",input:n.value,inst:e});return}r??(r=Reflect.ownKeys(t.shape).map(s=>[s,t.shape[s]]));let o=n.value,i;for(let[s,a]of r){let c=a._zod.run({value:o[s],issues:[]},{});c instanceof Promise?(i??(i=[]),i.push(c.then(u=>ro(u,n,s)))):ro(c,n,s)}if(i)return Promise.all(i).then(()=>{})}}),za=k("$ZodCheckMimeType",(e,t)=>{K.init(e,t);let r=new Set(t.mime);e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e,continue:!t.abort})}}),Ma=k("$ZodCheckOverwrite",(e,t)=>{K.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});var lt=class{constructor(t=[],r={}){this.content=[],this.indent=0,this.args=t,this.closed=r}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let n=t.split(`
|
|
3
3
|
`).filter(s=>s),o=Math.min(...n.map(s=>s.length-s.trimStart().length)),i=n.map(s=>s.slice(o)).map(s=>" ".repeat(this.indent*2)+s);for(let s of i)this.content.push(s)}compile(){let t=Function,r=this?.content??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
|
|
4
4
|
${r.join(`
|
|
5
5
|
`)}
|
|
6
|
-
};`)(...Object.values(this.closed))}};var Na={major:4,minor:6,patch:5};var A=k("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Na;let n=e._zod.def.checks,o=e._zod.traits.has("$ZodCheck")?[e,...n??[]]:n?.length?[...n]:[];for(let i of o)for(let s of i._zod.onattach)s(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(a,c,u)=>{if(a.memo)return a;let l=de(a),d;for(let f of c){if(f._zod.def.when){if(gs(a)||!f._zod.def.when(a))continue}else if(l)continue;let m=a.issues.length,g=f._zod.check(a);if(g instanceof Promise&&u?.async===!1)throw new Ce;if(d||g instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await g,a.issues.length!==m&&(jn(a.issues,m,e),l||(l=de(a,m)))});else{if(a.issues.length===m)continue;jn(a.issues,m,e),l||(l=de(a,m))}}return d?d.then(()=>a):a},s=(a,c,u)=>{if(de(a))return a.aborted=!0,a;let l=i(c,o,u);if(l instanceof Promise){if(u.async===!1)throw new Ce;return l.then(d=>e._zod.parse(d,u))}return e._zod.parse(l,u)};e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction==="backward"){let l=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});return l instanceof Promise?l.then(d=>s(d,a,c)):s(l,a,c)}let u=e._zod.parse(a,c);if(u instanceof Promise){if(c.async===!1)throw new Ce;return u.then(l=>i(l,o,c))}return i(u,o,c)}}},{get"~standard"(){return Tr(this,"~standard",co(this))},set"~standard"(e){Fe(this,"~standard",e)}}),jd=(e,t)=>e.issues.length?{issues:e.issues.map(r=>ge(r,t,X()))}:{value:e.value};async function th(e,t){let r={async:!0};return jd(await e._zod.run({value:t,issues:[]},r),r)}function co(e){return{validate:t=>{let r={async:!1};try{let n=e._zod.run({value:t,issues:[]},r);if(!(n instanceof Promise))return jd(n,r)}catch{}return th(e,t)},vendor:"zod",version:1}}var dt=k("$ZodString",(e,t)=>{A.init(e,t),e._zod.pattern=t.pattern??ta,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),F=k("$ZodStringFormat",(e,t)=>{Ft.init(e,t),dt.init(e,t)}),Aa=k("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Zs),F.init(e,t)}),Ta=k("$ZodUUID",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=ct(n))}else t.pattern??(t.pattern=ct());F.init(e,t)}),Ea=k("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Ds),F.init(e,t)}),Oa=1,Br=2;function Ra(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function lo(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?Ra(e)||Br:Wd(e,t)}function Wd(e,t){if(!t.normalize&&t.protocol?.source===Dr.source&&!/^https?:\/\//i.test(e))return Oa;try{if(typeof URL<"u"){let r=URL;if(typeof r.parse=="function")return r.parse(e)??Br}return new URL(e)}catch{return Br}}var rh=/[\t\n\r]/g;function Fr(e){return e.replace(rh,"")}function po(e,t){return t.lastIndex=0,t.test(e.hostname)}function fo(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var Za=k("$ZodURL",(e,t)=>{F.init(e,t),e._zod.check=r=>{try{let n=r.value.trim(),o=lo(n,t);if(o===Oa){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}if(o===Br){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort});return}if(o===!0){r.value=Fr(n);return}t.hostname&&!po(o,t.hostname)&&r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort}),t.protocol&&!fo(o,t.protocol)&&r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort}),r.value=t.normalize?o.href:Fr(n);return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Da=k("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=js()),F.init(e,t)}),ja=k("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?Es:Os(t.length)),F.init(e,t)}),Wa=k("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Ms),F.init(e,t)}),Va=k("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Ns),F.init(e,t)}),Ba=k("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Ps),F.init(e,t)}),Fa=k("$ZodXID",(e,t)=>{t.pattern??(t.pattern=As),F.init(e,t)}),Ha=k("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Ts),F.init(e,t)}),Ua=k("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=ea(t)),F.init(e,t)}),Ka=k("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Xs),F.init(e,t)}),qa=k("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Qs(t)),F.init(e,t)}),Ga=k("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Rs),F.init(e,t)}),Ja=k("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Ws),F.init(e,t)}),nh=/^[0-9a-fA-F:.]+$/;function Hr(e){return nh.test(e)?Ra(`http://[${e}]`):!1}var Ya=k("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Vs),F.init(e,t),e._zod.check=r=>{Hr(r.value)||r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}),Xa=k("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=Bs(t.delimiter)),F.init(e,t)}),Qa=k("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Fs),F.init(e,t)});function mo(e){let t=e.split("/");if(t.length!==2)return!1;let[r,n]=t;if(!n)return!1;let o=Number(n);return`${o}`!==n||o<0||o>128?!1:Hr(r)}var eu=k("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Hs),F.init(e,t),e._zod.check=r=>{mo(r.value)||r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}});function Ur(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var ho=/^[0-9a-zA-Z+/]*={0,2}$/,tu=k("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=ho),F.init(e,t),e._zod.check=r=>{Ur(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}),Kr=/^[A-Za-z0-9_-]*$/;function ko(e){if(!Kr.test(e))return!1;let t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return Ur(r)}var ru=k("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Kr),F.init(e,t),e._zod.check=r=>{ko(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),nu=k("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Js),F.init(e,t)}),oh=/[- ]/g;function ih(e){let t=e.length,r=1,n=0;for(;t;){let o=e.charCodeAt(--t)-48;r^=1,n+=r?[0,2,4,6,8,1,3,5,7,9][o]:o}return n%10===0}function go(e){return Qn.test(e)?ih(e.replace(oh,"")):!1}var ou=k("$ZodCreditCard",(e,t)=>{t.pattern??(t.pattern=Qn),F.init(e,t),e._zod.check=r=>{go(r.value)||r.issues.push({code:"invalid_format",format:"credit_card",input:r.value,inst:e,continue:!t.abort})}});function sh(e){let t=0,r=e.length;for(let n=4;n<r;n++){let o=e.charCodeAt(n);t=(o>=65?t*100+(o-55):t*10+(o-48))%97}for(let n=0;n<4;n++){let o=e.charCodeAt(n);t=(o>=65?t*100+(o-55):t*10+(o-48))%97}return t===1}function Co(e){return eo.test(e)?sh(e):!1}var iu=k("$ZodIBAN",(e,t)=>{t.pattern??(t.pattern=eo),F.init(e,t),e._zod.check=r=>{Co(r.value)||r.issues.push({code:"invalid_format",format:"iban",input:r.value,inst:e,continue:!t.abort})}});function yo(e,t=null){try{let r=e.split(".");if(r.length!==3)return!1;let[n]=r;if(!n)return!1;let o=JSON.parse(atob(n));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}var su=k("$ZodJWT",(e,t)=>{F.init(e,t),e._zod.check=r=>{yo(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),au=k("$ZodCustomStringFormat",(e,t)=>{F.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),bo=k("$ZodNumber",(e,t)=>{A.init(e,t),e._zod.pattern=Re,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let o=r.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return r;let i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:String(o):void 0;return r.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),r}}),uu=k("$ZodNumberFormat",(e,t)=>{fa.init(e,t),bo.init(e,t)}),qr=k("$ZodBoolean",(e,t)=>{A.init(e,t),e._zod.pattern=oa,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}let o=r.value;return typeof o=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),r}}),xo=k("$ZodBigInt",(e,t)=>{A.init(e,t),e._zod.pattern=na,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),cu=k("$ZodBigIntFormat",(e,t)=>{ma.init(e,t),xo.init(e,t)}),lu=k("$ZodSymbol",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:o,inst:e}),r}}),du=k("$ZodUndefined",(e,t)=>{A.init(e,t),e._zod.pattern=sa,e._zod.values=new Set([void 0]),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:o,inst:e}),r}}),pu=k("$ZodNull",(e,t)=>{A.init(e,t),e._zod.pattern=ia,e._zod.values=new Set([null]),e._zod.parse=(r,n)=>{let o=r.value;return o===null||r.issues.push({expected:"null",code:"invalid_type",input:o,inst:e}),r}}),fu=k("$ZodAny",(e,t)=>{A.init(e,t),e._zod.parse=r=>r}),mu=k("$ZodUnknown",(e,t)=>{A.init(e,t),e._zod.parse=r=>r}),hu=k("$ZodNever",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),ku=k("$ZodVoid",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>"u"||r.issues.push({expected:"void",code:"invalid_type",input:o,inst:e}),r}}),gu=k("$ZodDate",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let o=r.value,i=o instanceof Date;return i&&!Number.isNaN(o.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:o,...i?{received:"Invalid Date"}:{},inst:e}),r}});function Ld(e,t,r){e.issues.length&&t.issues.push(...ke(r,e.issues)),t.value[r]=e.value}var Cu=k("$ZodArray",(e,t)=>{A.init(e,t);let r=ne.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),n;n.value=r?r.alloc(e,n,Array(i.length),o):Array(i.length);let s=[],a=o?.abortEarly;for(let c=0;c<i.length;c++){let u=i[c],l=t.element._zod.run({value:u,issues:[]},o);if(l instanceof Promise)s.push(l.then(d=>Ld(d,n,c)));else if(Ld(l,n,c),a&&l.issues.length!==0&&de(l))break}return s.length?Promise.all(s).then(()=>n):n}});function uo(e,t,r,n,o,i){let s=r in n,a=i==="optional";if(!(!s&&a&&o==="optional")){if(e.issues.length){if(o!==void 0&&a&&!s)return;t.issues.push(...ke(r,e.issues))}if(!s&&o===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?(s||o==="defaulted"&&!a)&&(t.value[r]=void 0):t.value[r]=e.value}}var ah=[];function Vd(e){let t=Object.keys(e.shape),r=Object.getOwnPropertySymbols(e.shape),n=r.length?r:ah,o=n.length?[...t,...n]:t;for(let s of o)if(!e.shape?.[s]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(s)}": expected a Zod schema`);let i=ks(e.shape);return{...e,allKeys:o,symbolKeys:n,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function Bd(e,t,r,n,o,i,s){let a=[],c=o.keySet,u=o.catchall._zod,l=u.def.type,d=u.optin,f=u.optout,m=0;for(let g in t){if(s&&r.issues.length!==m){if(de(r,m))break;m=r.issues.length}if(c.has(g))continue;if(g==="__proto__"){l==="never"&&a.push(g);continue}if(l==="never"){a.push(g);continue}let C=u.run({value:t[g],issues:[]},n);C instanceof Promise?e.push(C.then(y=>uo(y,r,g,t,d,f))):uo(C,r,g,t,d,f)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>r):r}var Fd=k("$ZodObject",(e,t)=>{A.init(e,t);let r=Object.getOwnPropertyDescriptor(t,"shape"),n=r?.get?r.get.raw:t.shape??{};if(n){let u=()=>{let l={...n};return Object.defineProperty(t,"shape",{value:l}),u.raw=l,l};u.raw=n,Object.defineProperty(t,"shape",{get:u})}let o=Rt(()=>Vd(t));O(e,"propValues",u=>{let l=u.def.shape,d={};for(let f in l){let m=l[f]._zod;if(m.values){Object.prototype.hasOwnProperty.call(d,f)||se(d,f,new Set);for(let g of m.values)d[f].add(g);m.optin!==void 0&&d[f].add(void 0)}}return d});let i=at,s=t.catchall,a,c=ne.memoizer;c?.attach(e),e._zod.parse=(u,l)=>{a??(a=o.value);let d=u.value;if(!i(d))return u.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),u;u.value=c?c.alloc(e,u,{},l):{};let f=[],m=a.shape,g=l?.abortEarly,C=u.issues.length;for(let y of a.allKeys){if(g&&u.issues.length!==C){if(de(u,C))break;C=u.issues.length}if(y==="__proto__")continue;let x=m[y],w=x._zod.optin,$=x._zod.optout,P=x._zod.run({value:d[y],issues:[]},l);P instanceof Promise?f.push(P.then(T=>uo(T,u,y,d,w,$))):uo(P,u,y,d,w,$)}return s?Bd(f,d,u,l,o.value,e,g===!0):f.length?Promise.all(f).then(()=>u):u}}),yu=k("$ZodObjectJIT",(e,t)=>{Fd.init(e,t);let r=e._zod.parse,n=Rt(()=>Vd(t)),o=ne.memoizer,i=m=>{let g=n.value,C=g.symbolKeys,y=new lt(["payload","ctx"],{shape:m,inst:e,memo:o,syms:C}),x=T=>`shape[${T}]._zod.run({ value: input[${T}], issues: [] }, ctx)`,w=(T,L)=>`
|
|
6
|
+
};`)(...Object.values(this.closed))}};var Na={major:4,minor:6,patch:5};var A=k("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Na;let n=e._zod.def.checks,o=e._zod.traits.has("$ZodCheck")?[e,...n??[]]:n?.length?[...n]:[];for(let i of o)for(let s of i._zod.onattach)s(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(a,c,u)=>{if(a.memo)return a;let l=de(a),d;for(let f of c){if(f._zod.def.when){if(gs(a)||!f._zod.def.when(a))continue}else if(l)continue;let m=a.issues.length,g=f._zod.check(a);if(g instanceof Promise&&u?.async===!1)throw new Ce;if(d||g instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await g,a.issues.length!==m&&(jn(a.issues,m,e),l||(l=de(a,m)))});else{if(a.issues.length===m)continue;jn(a.issues,m,e),l||(l=de(a,m))}}return d?d.then(()=>a):a},s=(a,c,u)=>{if(de(a))return a.aborted=!0,a;let l=i(c,o,u);if(l instanceof Promise){if(u.async===!1)throw new Ce;return l.then(d=>e._zod.parse(d,u))}return e._zod.parse(l,u)};e._zod.run=(a,c)=>{if(c.skipChecks)return e._zod.parse(a,c);if(c.direction==="backward"){let l=e._zod.parse({value:a.value,issues:[]},{...c,skipChecks:!0});return l instanceof Promise?l.then(d=>s(d,a,c)):s(l,a,c)}let u=e._zod.parse(a,c);if(u instanceof Promise){if(c.async===!1)throw new Ce;return u.then(l=>i(l,o,c))}return i(u,o,c)}}},{get"~standard"(){return Tr(this,"~standard",co(this))},set"~standard"(e){Be(this,"~standard",e)}}),jd=(e,t)=>e.issues.length?{issues:e.issues.map(r=>ge(r,t,X()))}:{value:e.value};async function th(e,t){let r={async:!0};return jd(await e._zod.run({value:t,issues:[]},r),r)}function co(e){return{validate:t=>{let r={async:!1};try{let n=e._zod.run({value:t,issues:[]},r);if(!(n instanceof Promise))return jd(n,r)}catch{}return th(e,t)},vendor:"zod",version:1}}var dt=k("$ZodString",(e,t)=>{A.init(e,t),e._zod.pattern=t.pattern??ta,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),B=k("$ZodStringFormat",(e,t)=>{Bt.init(e,t),dt.init(e,t)}),Aa=k("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Zs),B.init(e,t)}),Ta=k("$ZodUUID",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=ct(n))}else t.pattern??(t.pattern=ct());B.init(e,t)}),Ea=k("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Ds),B.init(e,t)}),Oa=1,Fr=2;function Ra(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function lo(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?Ra(e)||Fr:Wd(e,t)}function Wd(e,t){if(!t.normalize&&t.protocol?.source===Dr.source&&!/^https?:\/\//i.test(e))return Oa;try{if(typeof URL<"u"){let r=URL;if(typeof r.parse=="function")return r.parse(e)??Fr}return new URL(e)}catch{return Fr}}var rh=/[\t\n\r]/g;function Br(e){return e.replace(rh,"")}function po(e,t){return t.lastIndex=0,t.test(e.hostname)}function fo(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var Za=k("$ZodURL",(e,t)=>{B.init(e,t),e._zod.check=r=>{try{let n=r.value.trim(),o=lo(n,t);if(o===Oa){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}if(o===Fr){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort});return}if(o===!0){r.value=Br(n);return}t.hostname&&!po(o,t.hostname)&&r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort}),t.protocol&&!fo(o,t.protocol)&&r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort}),r.value=t.normalize?o.href:Br(n);return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Da=k("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=js()),B.init(e,t)}),ja=k("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?Es:Os(t.length)),B.init(e,t)}),Wa=k("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Ms),B.init(e,t)}),Va=k("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Ns),B.init(e,t)}),Fa=k("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Ps),B.init(e,t)}),Ba=k("$ZodXID",(e,t)=>{t.pattern??(t.pattern=As),B.init(e,t)}),Ha=k("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Ts),B.init(e,t)}),Ua=k("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=ea(t)),B.init(e,t)}),Ka=k("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Xs),B.init(e,t)}),qa=k("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Qs(t)),B.init(e,t)}),Ga=k("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Rs),B.init(e,t)}),Ja=k("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Ws),B.init(e,t)}),nh=/^[0-9a-fA-F:.]+$/;function Hr(e){return nh.test(e)?Ra(`http://[${e}]`):!1}var Ya=k("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Vs),B.init(e,t),e._zod.check=r=>{Hr(r.value)||r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}),Xa=k("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=Fs(t.delimiter)),B.init(e,t)}),Qa=k("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Bs),B.init(e,t)});function mo(e){let t=e.split("/");if(t.length!==2)return!1;let[r,n]=t;if(!n)return!1;let o=Number(n);return`${o}`!==n||o<0||o>128?!1:Hr(r)}var eu=k("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Hs),B.init(e,t),e._zod.check=r=>{mo(r.value)||r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}});function Ur(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var ho=/^[0-9a-zA-Z+/]*={0,2}$/,tu=k("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=ho),B.init(e,t),e._zod.check=r=>{Ur(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}),Kr=/^[A-Za-z0-9_-]*$/;function ko(e){if(!Kr.test(e))return!1;let t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return Ur(r)}var ru=k("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Kr),B.init(e,t),e._zod.check=r=>{ko(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),nu=k("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Js),B.init(e,t)}),oh=/[- ]/g;function ih(e){let t=e.length,r=1,n=0;for(;t;){let o=e.charCodeAt(--t)-48;r^=1,n+=r?[0,2,4,6,8,1,3,5,7,9][o]:o}return n%10===0}function go(e){return Qn.test(e)?ih(e.replace(oh,"")):!1}var ou=k("$ZodCreditCard",(e,t)=>{t.pattern??(t.pattern=Qn),B.init(e,t),e._zod.check=r=>{go(r.value)||r.issues.push({code:"invalid_format",format:"credit_card",input:r.value,inst:e,continue:!t.abort})}});function sh(e){let t=0,r=e.length;for(let n=4;n<r;n++){let o=e.charCodeAt(n);t=(o>=65?t*100+(o-55):t*10+(o-48))%97}for(let n=0;n<4;n++){let o=e.charCodeAt(n);t=(o>=65?t*100+(o-55):t*10+(o-48))%97}return t===1}function Co(e){return eo.test(e)?sh(e):!1}var iu=k("$ZodIBAN",(e,t)=>{t.pattern??(t.pattern=eo),B.init(e,t),e._zod.check=r=>{Co(r.value)||r.issues.push({code:"invalid_format",format:"iban",input:r.value,inst:e,continue:!t.abort})}});function yo(e,t=null){try{let r=e.split(".");if(r.length!==3)return!1;let[n]=r;if(!n)return!1;let o=JSON.parse(atob(n));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}var su=k("$ZodJWT",(e,t)=>{B.init(e,t),e._zod.check=r=>{yo(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),au=k("$ZodCustomStringFormat",(e,t)=>{B.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),bo=k("$ZodNumber",(e,t)=>{A.init(e,t),e._zod.pattern=Re,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let o=r.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return r;let i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:String(o):void 0;return r.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),r}}),uu=k("$ZodNumberFormat",(e,t)=>{fa.init(e,t),bo.init(e,t)}),qr=k("$ZodBoolean",(e,t)=>{A.init(e,t),e._zod.pattern=oa,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}let o=r.value;return typeof o=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),r}}),xo=k("$ZodBigInt",(e,t)=>{A.init(e,t),e._zod.pattern=na,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),cu=k("$ZodBigIntFormat",(e,t)=>{ma.init(e,t),xo.init(e,t)}),lu=k("$ZodSymbol",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:o,inst:e}),r}}),du=k("$ZodUndefined",(e,t)=>{A.init(e,t),e._zod.pattern=sa,e._zod.values=new Set([void 0]),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:o,inst:e}),r}}),pu=k("$ZodNull",(e,t)=>{A.init(e,t),e._zod.pattern=ia,e._zod.values=new Set([null]),e._zod.parse=(r,n)=>{let o=r.value;return o===null||r.issues.push({expected:"null",code:"invalid_type",input:o,inst:e}),r}}),fu=k("$ZodAny",(e,t)=>{A.init(e,t),e._zod.parse=r=>r}),mu=k("$ZodUnknown",(e,t)=>{A.init(e,t),e._zod.parse=r=>r}),hu=k("$ZodNever",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),ku=k("$ZodVoid",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>"u"||r.issues.push({expected:"void",code:"invalid_type",input:o,inst:e}),r}}),gu=k("$ZodDate",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let o=r.value,i=o instanceof Date;return i&&!Number.isNaN(o.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:o,...i?{received:"Invalid Date"}:{},inst:e}),r}});function Ld(e,t,r){e.issues.length&&t.issues.push(...ke(r,e.issues)),t.value[r]=e.value}var Cu=k("$ZodArray",(e,t)=>{A.init(e,t);let r=ne.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),n;n.value=r?r.alloc(e,n,Array(i.length),o):Array(i.length);let s=[],a=o?.abortEarly;for(let c=0;c<i.length;c++){let u=i[c],l=t.element._zod.run({value:u,issues:[]},o);if(l instanceof Promise)s.push(l.then(d=>Ld(d,n,c)));else if(Ld(l,n,c),a&&l.issues.length!==0&&de(l))break}return s.length?Promise.all(s).then(()=>n):n}});function uo(e,t,r,n,o,i){let s=r in n,a=i==="optional";if(!(!s&&a&&o==="optional")){if(e.issues.length){if(o!==void 0&&a&&!s)return;t.issues.push(...ke(r,e.issues))}if(!s&&o===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?(s||o==="defaulted"&&!a)&&(t.value[r]=void 0):t.value[r]=e.value}}var ah=[];function Vd(e){let t=Object.keys(e.shape),r=Object.getOwnPropertySymbols(e.shape),n=r.length?r:ah,o=n.length?[...t,...n]:t;for(let s of o)if(!e.shape?.[s]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(s)}": expected a Zod schema`);let i=ks(e.shape);return{...e,allKeys:o,symbolKeys:n,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function Fd(e,t,r,n,o,i,s){let a=[],c=o.keySet,u=o.catchall._zod,l=u.def.type,d=u.optin,f=u.optout,m=0;for(let g in t){if(s&&r.issues.length!==m){if(de(r,m))break;m=r.issues.length}if(c.has(g))continue;if(g==="__proto__"){l==="never"&&a.push(g);continue}if(l==="never"){a.push(g);continue}let C=u.run({value:t[g],issues:[]},n);C instanceof Promise?e.push(C.then(y=>uo(y,r,g,t,d,f))):uo(C,r,g,t,d,f)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>r):r}var Bd=k("$ZodObject",(e,t)=>{A.init(e,t);let r=Object.getOwnPropertyDescriptor(t,"shape"),n=r?.get?r.get.raw:t.shape??{};if(n){let u=()=>{let l={...n};return Object.defineProperty(t,"shape",{value:l}),u.raw=l,l};u.raw=n,Object.defineProperty(t,"shape",{get:u})}let o=Rt(()=>Vd(t));O(e,"propValues",u=>{let l=u.def.shape,d={};for(let f in l){let m=l[f]._zod;if(m.values){Object.prototype.hasOwnProperty.call(d,f)||se(d,f,new Set);for(let g of m.values)d[f].add(g);m.optin!==void 0&&d[f].add(void 0)}}return d});let i=at,s=t.catchall,a,c=ne.memoizer;c?.attach(e),e._zod.parse=(u,l)=>{a??(a=o.value);let d=u.value;if(!i(d))return u.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),u;u.value=c?c.alloc(e,u,{},l):{};let f=[],m=a.shape,g=l?.abortEarly,C=u.issues.length;for(let y of a.allKeys){if(g&&u.issues.length!==C){if(de(u,C))break;C=u.issues.length}if(y==="__proto__")continue;let x=m[y],w=x._zod.optin,$=x._zod.optout,P=x._zod.run({value:d[y],issues:[]},l);P instanceof Promise?f.push(P.then(T=>uo(T,u,y,d,w,$))):uo(P,u,y,d,w,$)}return s?Fd(f,d,u,l,o.value,e,g===!0):f.length?Promise.all(f).then(()=>u):u}}),yu=k("$ZodObjectJIT",(e,t)=>{Bd.init(e,t);let r=e._zod.parse,n=Rt(()=>Vd(t)),o=ne.memoizer,i=m=>{let g=n.value,C=g.symbolKeys,y=new lt(["payload","ctx"],{shape:m,inst:e,memo:o,syms:C}),x=T=>`shape[${T}]._zod.run({ value: input[${T}], issues: [] }, ctx)`,w=(T,L)=>`
|
|
7
7
|
let ${T}_ab = false;
|
|
8
8
|
for (let i = 0; i < ${T}.issues.length; i++) {
|
|
9
9
|
const iss = ${T}.issues[i];
|
|
@@ -53,10 +53,10 @@ ${r.join(`
|
|
|
53
53
|
newResult[${R}] = ${L}.value;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
`)}return y.write("payload.value = newResult;"),y.write("return payload;"),y.compile()},s,a=at,c=!ne.jitless,l=c&&ms.value,d=t.catchall,f;e._zod.parse=(m,g)=>{f??(f=n.value);let C=m.value;return a(C)?c&&l&&g?.async===!1&&g.jitless!==!0?(s||(s=i(t.shape)),m=s(m,g),d?Bd([],C,m,g,f,e,g?.abortEarly===!0):m):r(m,g):(m.issues.push({expected:"object",code:"invalid_type",input:C,inst:e}),m)}});function $d(e,t,r,n){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let o=e.filter(i=>!de(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(i=>i.issues.map(s=>ge(s,n,X())))}),t)}var Gr=k("$ZodUnion",(e,t)=>{A.init(e,t),O(e,"optin",n=>n.def.options.some(o=>o._zod.optin==="defaulted")?"defaulted":n.def.options.some(o=>o._zod.optin!==void 0)?"optional":void 0),O(e,"optout",n=>n.def.options.some(o=>o._zod.optout==="optional")?"optional":void 0),O(e,"values",n=>{if(n.def.options.every(o=>o._zod.values))return new Set(n.def.options.flatMap(o=>Array.from(o._zod.values)))}),O(e,"pattern",n=>{if(n.def.options.every(o=>o._zod.pattern)){let o=n.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>Oe(i.source)).join("|")})$`)}});let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,o)=>{if(r)return r(n,o);let i=!1,s=[];for(let a of t.options){let c=a._zod.run({value:n.value,issues:[]},o);if(c instanceof Promise)s.push(c),i=!0;else{if(c.issues.length===0)return c;s.push(c)}}return i?Promise.all(s).then(a=>$d(a,n,e,o)):$d(s,n,e,o)}});function Id(e,t,r,n){let o=[];for(let i=0;i<e.length;i++)e[i].issues.length===0&&o.push(i);return o.length===1?(t.value=e[o[0]].value,t):(o.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(i=>i.issues.map(s=>ge(s,n,X())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1,matches:o}),t)}var bu=k("$ZodXor",(e,t)=>{Gr.init(e,t),t.inclusive=!1;let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,o)=>{if(r)return r(n,o);let i=!1,s=[];for(let a of t.options){let c=a._zod.run({value:n.value,issues:[]},o);c instanceof Promise?(s.push(c),i=!0):s.push(c)}return i?Promise.all(s).then(a=>Id(a,n,e,o)):Id(s,n,e,o)}});function xu(e,t){let r=e._zod,n=r.bag.optionsMap;n||(n=Hd(r.def),r.bag.optionsMap=n);let o=n.get(t);if(o===null)throw new Error(`Ambiguous discriminator value "${String(t)}"`);return o}function Hd(e){let t=new Map;for(let r of e.options){let n=r._zod.propValues?.[e.discriminator];if(!n||n.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(r)}"`);for(let o of n)if(t.has(o)){if(o!==void 0)throw new Error(`Duplicate discriminator value "${String(o)}"`);t.set(o,null)}else t.set(o,r)}return t}var vu=k("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Gr.init(e,t);let r=e._zod.parse;O(e,"propValues",o=>{let i={},s=0;for(let a of o.def.options){let c=a._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error(`Invalid discriminated union option at index "${o.def.options.indexOf(a)}"`);c[o.def.discriminator]?.has(void 0)&&s++;for(let[u,l]of Object.entries(c)){Object.prototype.hasOwnProperty.call(i,u)||se(i,u,new Set);for(let d of l)i[u].add(d)}}return!o.def.unionFallback&&s>1&&i[o.def.discriminator]?.delete(void 0),i}),t.options.forEach((o,i)=>{let s=Zt(o._zod.def);if(s&&!Object.prototype.hasOwnProperty.call(s,t.discriminator))throw new Error(`Invalid discriminated union option at index "${i}"`)});let n=Rt(()=>Hd(t));e._zod.parse=(o,i)=>{let s=o.value;if(!at(s))return o.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),o;let a=s?.[t.discriminator],c=n.value.get(a);return c&&(a!==void 0||i.direction!=="backward")?c._zod.run(o,i):t.unionFallback||i.direction==="backward"?r(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(n.value.keys()).filter(u=>n.value.get(u)!==null),input:s,path:[t.discriminator],inst:e}),o)}}),wu=k("$ZodIntersection",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value,i=t.left._zod.run({value:o,issues:[]},n),s=t.right._zod.run({value:o,issues:[]},n);return i instanceof Promise||s instanceof Promise?Promise.all([i,s]).then(([c,u])=>Sd(r,c,u)):Sd(r,i,s)}});function Ht(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(we(e)&&we(t)){let r=Object.keys(t),n=Object.keys(e).filter(i=>r.indexOf(i)!==-1),o={...e,...t};Object.prototype.hasOwnProperty.call(o,"__proto__")&&delete o.__proto__;for(let i of n){if(i==="__proto__")continue;let s=Ht(e[i],t[i]);if(!s.valid)return{valid:!1,mergeErrorPath:[i,...s.mergeErrorPath]};o[i]=s.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let n=0;n<e.length;n++){let o=e[n],i=t[n],s=Ht(o,i);if(!s.valid)return{valid:!1,mergeErrorPath:[n,...s.mergeErrorPath]};r.push(s.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function Sd(e,t,r){let n=new Map,o,i=new Map,s=(u,l)=>{let d;if(u.code==="unrecognized_keys"&&!u.path?.length)o??(o=u),d=u.keys;else if(u.code==="invalid_key"&&u.origin==="record"&&u.path?.length===1){let f=String(u.path[0]);i.has(f)||i.set(f,u),d=[f]}else return!1;for(let f of d)n.has(f)||n.set(f,{}),n.get(f)[l]=!0;return!0};for(let u of t.issues)s(u,"l")||e.issues.push(u);for(let u of r.issues)s(u,"r")||e.issues.push(u);let a=[...n].filter(([,u])=>u.l&&u.r).map(([u])=>u);if(a.length){let u=o?a.filter(l=>o.keys.includes(l)):[];u.length&&e.issues.push({...o,keys:u});for(let l of a)!u.includes(l)&&i.has(l)&&e.issues.push(i.get(l))}let c=Ht(t.value,r.value);if(!c.valid){if(de(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var vo=k("$ZodTuple",(e,t)=>{A.init(e,t);let r=t.items,n=ne.memoizer;n?.attach(e),e._zod.parse=(o,i)=>{let s=o.value;if(!Array.isArray(s))return o.issues.push({input:s,inst:e,expected:"tuple",code:"invalid_type"}),o;o.value=n?n.alloc(e,o,[],i):[];let a=[],c=zd(r,"optin"),u=zd(r,"optout");if(!t.rest){if(s.length<c)return o.issues.push({code:"too_small",minimum:c,inclusive:!0,input:s,inst:e,origin:"array"}),o;s.length>r.length&&o.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:s,inst:e,origin:"array"})}let l=new Array(r.length),d=t.rest?i?.abortEarly:void 0,f=!1;for(let m=0;m<r.length;m++){let g=r[m]._zod.run({value:s[m],issues:[]},i);g instanceof Promise?a.push(g.then(C=>{l[m]=C})):(l[m]=g,d&&!f&&g.issues.length&&(f=de(g)))}if(t.rest&&!f){let m=r.length-1,g=s.slice(r.length),C=o.issues.length;for(let y of g){if(d&&o.issues.length!==C){if(de(o,C))break;C=o.issues.length}m++;let x=t.rest._zod.run({value:y,issues:[]},i);x instanceof Promise?a.push(x.then(w=>Md(w,o,m))):Md(x,o,m)}}return a.length?Promise.all(a).then(()=>Nd(l,o,r,s,u)):Nd(l,o,r,s,u)}});function zd(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function Md(e,t,r){e.issues.length&&t.issues.push(...ke(r,e.issues)),t.value[r]=e.value}function Nd(e,t,r,n,o){for(let i=0;i<r.length;i++){let s=e[i],a=i<n.length;if(!a&&i>=o&&r[i]._zod.optin==="optional"){t.value.length=i;break}if(s.issues.length){if(!a&&i>=o){t.value.length=i;break}t.issues.push(...ke(i,s.issues))}t.value[i]=s.value}for(let i=t.value.length-1;i>=n.length&&(r[i]._zod.optout==="optional"&&t.value[i]===void 0);i--)t.value.length=i;return t}var _u=k("$ZodRecord",(e,t)=>{A.init(e,t);let r=ne.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!we(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),n;let s=[],a=t.keyType._zod.values;if(a&&!t.partial){n.value=r?r.alloc(e,n,{},o):{};let c=new Set;for(let l of a)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){if(c.add(typeof l=="number"?l.toString():l),l==="__proto__")continue;let d=t.keyType._zod.run({value:l,issues:[]},o);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(d.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(g=>ge(g,o,X())),input:l,path:[l],inst:e});continue}let f=d.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[l],issues:[]},o);m instanceof Promise?s.push(m.then(g=>{g.issues.length&&n.issues.push(...ke(l,g.issues)),n.value[f]=g.value})):(m.issues.length&&n.issues.push(...ke(l,m.issues)),n.value[f]=m.value)}let u;for(let l in i)if(!c.has(l))if(t.mode==="loose"){if(l==="__proto__")continue;n.value[l]=i[l]}else u=u??[],u.push(l);u&&u.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:u,continue:!0})}else{n.value=r?r.alloc(e,n,{},o):{};let c;for(let u of Reflect.ownKeys(i)){if(u==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,u))continue;let l=t.keyType._zod.run({value:u,issues:[]},o);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof u=="string"&&Re.test(u)&&l.issues.length){let g=t.keyType._zod.run({value:Number(u),issues:[]},o);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");g.issues.length===0&&(l=g)}if(l.issues.length){t.mode==="loose"?n.value[u]=i[u]:a?(c=c??[],c.push(u)):n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(g=>ge(g,o,X())),input:u,path:[u],inst:e});continue}let f=l.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[u],issues:[]},o);m instanceof Promise?s.push(m.then(g=>{g.issues.length&&n.issues.push(...ke(u,g.issues)),n.value[f]=g.value})):(m.issues.length&&n.issues.push(...ke(u,m.issues)),n.value[f]=m.value)}c&&c.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:c,continue:!0})}return s.length?Promise.all(s).then(()=>n):n}}),Lu=k("$ZodMap",(e,t)=>{A.init(e,t);let r=ne.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),n;let s=[];n.value=r?r.alloc(e,n,new Map,o):new Map;let a=o?.abortEarly,c=n.issues.length;for(let[u,l]of i){if(a&&n.issues.length!==c){if(de(n,c))break;c=n.issues.length}let d=t.keyType._zod.run({value:u,issues:[]},o),f=t.valueType._zod.run({value:l,issues:[]},o);d instanceof Promise||f instanceof Promise?s.push(Promise.all([d,f]).then(([m,g])=>{Pd(m,g,n,u,i,e,o)})):Pd(d,f,n,u,i,e,o)}return s.length?Promise.all(s).then(()=>n):n}});function Pd(e,t,r,n,o,i,s){e.issues.length&&(zr.has(typeof n)?r.issues.push(...ke(n,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:o,inst:i,issues:e.issues.map(a=>ge(a,s,X()))})),t.issues.length&&(zr.has(typeof n)?r.issues.push(...ke(n,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:o,inst:i,key:n,issues:t.issues.map(a=>ge(a,s,X()))})),r.value.set(e.value,t.value)}var $u=k("$ZodSet",(e,t)=>{A.init(e,t);let r=ne.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),n;let s=[];n.value=r?r.alloc(e,n,new Set,o):new Set;let a=o?.abortEarly,c=n.issues.length;for(let u of i){if(a&&n.issues.length!==c){if(de(n,c))break;c=n.issues.length}let l=t.valueType._zod.run({value:u,issues:[]},o);l instanceof Promise?s.push(l.then(d=>Ad(d,n))):Ad(l,n)}return s.length?Promise.all(s).then(()=>n):n}});function Ad(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Iu=k("$ZodEnum",(e,t)=>{A.init(e,t);let r=Et(t.entries),n=new Set(r);e._zod.values=n,O(e,"pattern",o=>{let i=Et(o.def.entries).filter(s=>zr.has(typeof s));return new RegExp(i.length?`^(${i.map(s=>_e(s.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,i)=>{let s=o.value;return n.has(s)||o.issues.push({code:"invalid_value",values:r,input:s,inst:e}),o}}),Su=k("$ZodLiteral",(e,t)=>{A.init(e,t);let r=new Set(t.values);e._zod.values=r,O(e,"pattern",n=>{let o=n.def.values;return new RegExp(o.length?`^(${o.map(i=>typeof i=="string"?_e(i):i?_e(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(n,o)=>{let i=n.value;return r.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),zu=k("$ZodFile",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return o instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:o,inst:e}),r}}),Mu=k("$ZodTransform",(e,t)=>{A.init(e,t),e._zod.optin="optional",ne.memoizer?.guard(e),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new He(e.constructor.name);let o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(s=>(r.value=s,r));if(o instanceof Promise)throw new Ce;return r.value=o,r}});function Td(e,t){return e.value=t.issues.length?void 0:t.value,e}var wo=k("$ZodOptional",(e,t)=>{A.init(e,t),O(e,"optin",r=>r.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",O(e,"values",r=>{let n=r.def.innerType._zod.values;return n?new Set([...n,void 0]):void 0}),O(e,"pattern",r=>{let n=r.def.innerType._zod.pattern;return n?new RegExp(`^(${Oe(n.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(r.value===void 0){if(t.innerType._zod.optin!=="defaulted")return r;let o=t.innerType._zod.run({value:r.value,issues:[]},n);return o instanceof Promise?o.then(i=>Td(r,i)):Td(r,o)}return t.innerType._zod.run(r,n)}}),Nu=k("$ZodExactOptional",(e,t)=>{wo.init(e,t),O(e,"values",r=>r.def.innerType._zod.values),O(e,"pattern",r=>r.def.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),Pu=k("$ZodNullable",(e,t)=>{A.init(e,t),O(e,"optin",r=>r.def.innerType._zod.optin),O(e,"optout",r=>r.def.innerType._zod.optout),O(e,"pattern",r=>{let n=r.def.innerType._zod.pattern;return n?new RegExp(`^(${Oe(n.source)}|null)$`):void 0}),O(e,"values",r=>r.def.innerType._zod.values?new Set([...r.def.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),Au=k("$ZodDefault",(e,t)=>{A.init(e,t),e._zod.optin="defaulted",O(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>Ed(i,t)):Ed(o,t)}});function Ed(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Tu=k("$ZodPrefault",(e,t)=>{A.init(e,t),e._zod.optin="defaulted",O(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),Eu=k("$ZodNonOptional",(e,t)=>{A.init(e,t),O(e,"values",r=>{let n=r.def.innerType._zod.values;return n?new Set([...n].filter(o=>o!==void 0)):void 0}),e._zod.parse=(r,n)=>{let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>Od(i,e)):Od(o,e)}});function Od(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var Ou=k("$ZodSuccess",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new He("ZodSuccess");let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>(r.value=i.issues.length===0,r)):(r.value=o.issues.length===0,r)}});function Rd(e,t,r,n){return t.issues.length?(e.value=r.catchValue({...t,value:e.value,error:{issues:t.issues.map(o=>ge(o,n,X()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var Ru=k("$ZodCatch",(e,t)=>{A.init(e,t),O(e,"optin",r=>r.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),O(e,"optout",r=>r.def.innerType._zod.optout),O(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run({value:r.value,issues:[]},n);return o instanceof Promise?o.then(i=>Rd(r,i,t,n)):Rd(r,o,t,n)}}),Zu=k("$ZodNaN",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),_o=k("$ZodPipe",(e,t)=>{A.init(e,t),O(e,"values",r=>r.def.in._zod.values),O(e,"optin",r=>r.def.in._zod.optin),O(e,"optout",r=>r.def.out._zod.optout),O(e,"propValues",r=>r.def.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){let i=t.out._zod.run(r,n);return i instanceof Promise?i.then(s=>io(s,t.in,n)):io(i,t.in,n)}let o=t.in._zod.run(r,n);return o instanceof Promise?o.then(i=>io(i,t.out,n)):io(o,t.out,n)}});function io(e,t,r){return e.issues.some(n=>n.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}var Jr=k("$ZodCodec",(e,t)=>{A.init(e,t),O(e,"values",r=>r.def.in._zod.values),O(e,"optin",r=>r.def.in._zod.optin),O(e,"optout",r=>r.def.out._zod.optout),O(e,"propValues",r=>r.def.in._zod.propValues),e._zod.parse=(r,n)=>{if((n.direction||"forward")==="forward"){let i=t.in._zod.run(r,n);return i instanceof Promise?i.then(s=>so(s,t,n)):so(i,t,n)}else{let i=t.out._zod.run(r,n);return i instanceof Promise?i.then(s=>so(s,t,n)):so(i,t,n)}}});function so(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){let o=t.transform(e.value,e);return o instanceof Promise?o.then(i=>ao(e,i,t.out,r)):ao(e,o,t.out,r)}else{let o=t.reverseTransform(e.value,e);return o instanceof Promise?o.then(i=>ao(e,i,t.in,r)):ao(e,o,t.in,r)}}function ao(e,t,r,n){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},n)}var Du=k("$ZodPreprocess",(e,t)=>{_o.init(e,t)}),ju=k("$ZodReadonly",(e,t)=>{A.init(e,t),O(e,"propValues",r=>r.def.innerType._zod.propValues),O(e,"values",r=>r.def.innerType._zod.values),O(e,"optin",r=>r.def.innerType?._zod?.optin),O(e,"optout",r=>r.def.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(Zd):Zd(o)}});function Zd(e){return e.memo||(e.value=Object.freeze(e.value)),e}function uh(e){let t=e._zod.def,r=t.pattern,n=!!t.format?.includes("int"),o,i;for(let a of t.checks??[]){let c=a._zod.def;c.pattern&&(r=c.pattern),n||(n=!!c.format?.includes("int"));let u=c.minimum??c.length,l=c.maximum??c.length;u!==void 0&&(o===void 0||u>o)&&(o=u),l!==void 0&&(i===void 0||l<i)&&(i=l)}if(r)return r.source;if(o!==void 0&&i!==void 0&&o>i)return"(?!)";if(o!==void 0||i!==void 0)return ra({minimum:o,maximum:i}).source;let s=e._zod.pattern;return(n&&s===Re?jr:s)?.source}function Pa(e){let t=e._zod.def,r=e._zod.pattern?.source,n=t.innerType??e._zod.innerType;if(n){let o=n._zod.pattern?.source,i=Pa(n);return r&&o&&i&&i!==o?r.replace(Oe(o),()=>Oe(i)):r}if(t.options){let o=t.options.map(Pa);if(o.every(Boolean))return`^(${o.map(i=>Oe(i)).join("|")})$`}return uh(e)}var Wu=k("$ZodTemplateLiteral",(e,t)=>{A.init(e,t);let r=[];for(let n of t.parts)if(typeof n=="object"&&n!==null){let o=Pa(n);if(!o)throw new Error(`Invalid template literal part, no pattern found: ${[...n._zod.traits].shift()}`);r.push(Oe(o))}else if(n===null||hs.has(typeof n))r.push(_e(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(n,o)=>typeof n.value!="string"?(n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}),n):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),n)}),Vu=k("$ZodFunction",(e,t)=>(A.init(e,t),Object.defineProperty(e,"_def",{value:t}),e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return Object.defineProperty(function(...n){let o=e._def.input?Bn(e._def.input,n):n,i=Reflect.apply(r,this,o);return e._def.output?Bn(e._def.output,i):i},"_zod",{value:e._zod,enumerable:!1})},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return Object.defineProperty(async function(...n){let o=e._def.input?await Fn(e._def.input,n):n,i=await Reflect.apply(r,this,o);return e._def.output?await Fn(e._def.output,i):i},"_zod",{value:e._zod,enumerable:!1})},e._zod.parse=(r,n)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{let n=e.constructor;return Array.isArray(r[0])?new n({type:"function",input:new vo({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new n({type:"function",input:r[0],output:e._def.output})},e.output=r=>{let n=e.constructor;return new n({type:"function",input:e._def.input,output:r})},e)),Bu=k("$ZodPromise",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>Promise.resolve(r.value).then(o=>t.innerType._zod.run({value:o,issues:[]},n))}),Yr=k("$ZodLazy",(e,t)=>{A.init(e,t),ps(e._zod,"innerType",()=>{let r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),O(e,"pattern",r=>r.innerType?._zod?.pattern),O(e,"propValues",r=>r.innerType?._zod?.propValues),O(e,"optin",r=>r.innerType?._zod?.optin??void 0),O(e,"optout",r=>r.innerType?._zod?.optout??void 0),e._zod.parse=(r,n)=>e._zod.innerType._zod.run(r,n)}),Fu=k("$ZodCustom",(e,t)=>{K.init(e,t),A.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{let n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(i=>Dd(i,r,n,e));Dd(o,r,n,e)}});function Dd(e,t,r,n){if(!e){let o={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push(Dt(o))}}var So=class extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}},Uu="~memo",Kd=[];function qd(e){return e!==null&&typeof e=="object"}function Hu(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}var Gd=new WeakMap,Ut=0,Io=1,Xr=2;function Qr(e,t,r){let n=Gd.get(e);if(n!==void 0)return n?Xr:Ut;if(t.has(e))return Xr;t.add(e);let o=Ut,i=l=>{if(o!==Xr&&l?._zod){let d=Qr(l,t,r);d>o&&(o=d)}},s=(l,d)=>{let f=Ut;for(let m of Reflect.ownKeys(l)){let g=Object.getOwnPropertyDescriptor(l,m);if(d&&!g.enumerable)continue;let C=g.get?Io:g.value?._zod?Qr(g.value,t,r):Ut;C>f&&(f=C)}return f},a=l=>{l>o&&(o=l)},c=e._zod.def,u=c.type;switch(u){case"object":{let l=Zt(c);a(l?s(l,!0):Io),i(c.catchall);break}case"array":i(c.element);break;case"tuple":for(let l of c.items)i(l);i(c.rest);break;case"record":case"map":i(c.keyType),i(c.valueType);break;case"set":i(c.valueType);break;case"union":for(let l of c.options)i(l);break;case"intersection":i(c.left),i(c.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":i(c.innerType);break;case"pipe":i(c.in),i(c.out);break;case"function":i(c.input),i(c.output);break;case"lazy":{let l=c._cachedInner??(r?e._zod.innerType:void 0);a(l?Qr(l,t,!1):Io);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let l in c){let d=Object.getOwnPropertyDescriptor(c,l);if(!d||d.get)continue;let f=d.value;if(!(!f||typeof f!="object")){if(f._zod)i(f);else if(Array.isArray(f))for(let m of f)i(m)}}}return t.delete(e),ch(e,o)}function ch(e,t){return t!==Io&&Gd.set(e,t===Xr),t}function zo(e){return Qr(e,new Set,!0)!==Ut}function lh(e,t){let r=e.buckets.get(t);return r||(r=new WeakMap,e.buckets.set(t,r)),r}var Lo,$o=[],dh={alloc(e,t,r){let n=Lo;if(!n)return r;Lo=void 0;let o={value:r,issues:null};return n.set(t.value,o),$o.push(o),r},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let r=e._zod.parse,n=(o,i)=>{if(i.direction!=="backward"&&Mo(i,o.value))throw new So;return r(o,i)};e._zod.parse=n,e._zod.run===r&&(e._zod.run=n)})},attach(e){var t;let r,n=!1,o,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let s=e._zod.parse,a=(c,u)=>{if(r===void 0){let x=Qr(e,new Set,!1);if(x===Ut)return e._zod.parse=s,e._zod.run===a&&(e._zod.run=s),s(c,u);x===Xr||n?r=!0:n=!0}let l=c.value;if(!qd(l))return s(c,u);let d=u[Uu];d||(d={buckets:new WeakMap,backEdges:void 0},u[Uu]=d);let f;o===u?f=i:(f=lh(d,e),o=u,i=f);let m=f.get(l);if(m)return c.value=m.value,m.issues?m.issues.length&&c.issues.push(...Hu(m.issues)):(c.memo=!0,d.backEdges??(d.backEdges=new WeakSet),d.backEdges.add(m.value)),c;Lo=f;let g=$o.length,C=s(c,u);Lo=void 0;let y=$o.length>g?$o.pop():void 0;return C instanceof Promise?C.then(x=>(y&&(y.issues=x.issues.length?Hu(x.issues):Kd),x)):(y&&(y.issues=C.issues.length?Hu(C.issues):Kd),C)};e._zod.parse=a,e._zod.run===s&&(e._zod.run=a)})}};function en(){return dh}function Mo(e,t){let r=e[Uu]?.backEdges;return r!==void 0&&qd(t)&&r.has(t)}var tn={};$e(tn,{en:()=>No});var ph=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(i){return e[i]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};function o(i,s){return i==="number"&&typeof s=="number"&&!Number.isFinite(s)?String(s):n[i]??i}return i=>{switch(i.code){case"invalid_type":{let s=o(i.expected),a=Cs(i.input),c=o(a,i.input);return`Invalid input: expected ${s}, received ${c}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${Zn(i.values[0])}`:`Invalid option: expected one of ${En(i.values,"|")}`;case"too_big":{let s=i.exact?"exactly ":i.inclusive?"<=":"<",a=t(i.origin);return a?`Too big: expected ${i.origin??"value"} to have ${s}${i.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${s}${i.maximum.toString()}`}case"too_small":{let s=i.exact?"exactly ":i.inclusive?">=":">",a=t(i.origin);return a?`Too small: expected ${i.origin} to have ${s}${i.minimum.toString()} ${a.unit}`:`Too small: expected ${i.origin} to be ${s}${i.minimum.toString()}`}case"invalid_format":{let s=i;return s.format==="starts_with"?`Invalid string: must start with "${s.prefix}"`:s.format==="ends_with"?`Invalid string: must end with "${s.suffix}"`:s.format==="includes"?`Invalid string: must include "${s.includes}"`:s.format==="regex"?`Invalid string: must match pattern ${s.pattern}`:`Invalid ${r[s.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${En(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(a=>`'${a}'`).join(" | ")}`:i.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}};function No(){return{localeError:ph()}}var Jd,Ku=Symbol("ZodOutput"),qu=Symbol("ZodInput"),Po=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let n={...this.get(r)??{}};delete n.id;let o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function Ao(){return new Po}(Jd=globalThis).__zod_globalRegistry??(Jd.__zod_globalRegistry=Ao());var ae=globalThis.__zod_globalRegistry;var pe=Symbol.for("zod.compile.invalid"),Yd=Symbol.for("zod.compile.fallback"),Se=class extends Error{constructor(t="z.compile does not support async refinements, transforms, or checks"){super(t),this.name="ZodCompileAsyncError"}},j=class extends Error{constructor(t,r=!0){super(`z.compile does not support ${t}; this schema must use the runtime parser`),this.name="ZodCompileUnsupportedError",this.islandable=r}};function mh(e,t){try{return Eo(e,{assertOnly:!0})}catch{return t}}function Xu(e,t){try{let r=Eo(e),n=To(e,r);return n._zod.bag.validator=mh(e,r),n}catch(r){if(t?.strict)throw r;return e}}function To(e,t){if(zo(e))throw new j("a schema whose subtree contains a reference cycle");let r=B(e),n=e._zod.run,o=n.__originalRun??n,i=(s,a)=>{if(a?.async||a?.direction==="backward"||a?.skipChecks||a?.[Yd]||a&&Mo(a,s.value))return o(s,a);let c=t(s.value);return c!==pe?(s.value=c,s):(a&&(a[Yd]=!0),o(s,a))};return i.__originalRun=o,r._zod.bag.fallbackRun=o,r._zod.bag.validator=t,r._zod.run=i,n.__originalRun||hh(r,e,t),r}function hh(e,t,r){let n=e,o=t;if(typeof o.safeParse=="function"){let i=o.safeParse;n.safeParse=(s,a)=>{let c=r(s);return c!==pe?{success:!0,data:c}:i(s,a)}}if(typeof o.parse=="function"){let i=o.parse;n.parse=(s,a)=>{let c=r(s);return c!==pe?c:i(s,a)}}}function Eo(e,t){let r=!0;try{r=zo(e)}catch{}if(r)throw new j("a schema whose subtree contains a reference cycle");let n={constants:new Map,constantCounter:0,varCounter:0,definite:!0},o=new lt(["input"]),i=J(o,n,e,"input",!t?.assertOnly);o.write(i===null?"return true;":`return ${i};`);let s=["INVALID",...n.constants.keys()],a=[pe,...n.constants.values()],c=o.content.join(`
|
|
56
|
+
`)}return y.write("payload.value = newResult;"),y.write("return payload;"),y.compile()},s,a=at,c=!ne.jitless,l=c&&ms.value,d=t.catchall,f;e._zod.parse=(m,g)=>{f??(f=n.value);let C=m.value;return a(C)?c&&l&&g?.async===!1&&g.jitless!==!0?(s||(s=i(t.shape)),m=s(m,g),d?Fd([],C,m,g,f,e,g?.abortEarly===!0):m):r(m,g):(m.issues.push({expected:"object",code:"invalid_type",input:C,inst:e}),m)}});function $d(e,t,r,n){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let o=e.filter(i=>!de(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(i=>i.issues.map(s=>ge(s,n,X())))}),t)}var Gr=k("$ZodUnion",(e,t)=>{A.init(e,t),O(e,"optin",n=>n.def.options.some(o=>o._zod.optin==="defaulted")?"defaulted":n.def.options.some(o=>o._zod.optin!==void 0)?"optional":void 0),O(e,"optout",n=>n.def.options.some(o=>o._zod.optout==="optional")?"optional":void 0),O(e,"values",n=>{if(n.def.options.every(o=>o._zod.values))return new Set(n.def.options.flatMap(o=>Array.from(o._zod.values)))}),O(e,"pattern",n=>{if(n.def.options.every(o=>o._zod.pattern)){let o=n.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>Oe(i.source)).join("|")})$`)}});let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,o)=>{if(r)return r(n,o);let i=!1,s=[];for(let a of t.options){let c=a._zod.run({value:n.value,issues:[]},o);if(c instanceof Promise)s.push(c),i=!0;else{if(c.issues.length===0)return c;s.push(c)}}return i?Promise.all(s).then(a=>$d(a,n,e,o)):$d(s,n,e,o)}});function Id(e,t,r,n){let o=[];for(let i=0;i<e.length;i++)e[i].issues.length===0&&o.push(i);return o.length===1?(t.value=e[o[0]].value,t):(o.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(i=>i.issues.map(s=>ge(s,n,X())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1,matches:o}),t)}var bu=k("$ZodXor",(e,t)=>{Gr.init(e,t),t.inclusive=!1;let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,o)=>{if(r)return r(n,o);let i=!1,s=[];for(let a of t.options){let c=a._zod.run({value:n.value,issues:[]},o);c instanceof Promise?(s.push(c),i=!0):s.push(c)}return i?Promise.all(s).then(a=>Id(a,n,e,o)):Id(s,n,e,o)}});function xu(e,t){let r=e._zod,n=r.bag.optionsMap;n||(n=Hd(r.def),r.bag.optionsMap=n);let o=n.get(t);if(o===null)throw new Error(`Ambiguous discriminator value "${String(t)}"`);return o}function Hd(e){let t=new Map;for(let r of e.options){let n=r._zod.propValues?.[e.discriminator];if(!n||n.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(r)}"`);for(let o of n)if(t.has(o)){if(o!==void 0)throw new Error(`Duplicate discriminator value "${String(o)}"`);t.set(o,null)}else t.set(o,r)}return t}var vu=k("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Gr.init(e,t);let r=e._zod.parse;O(e,"propValues",o=>{let i={},s=0;for(let a of o.def.options){let c=a._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error(`Invalid discriminated union option at index "${o.def.options.indexOf(a)}"`);c[o.def.discriminator]?.has(void 0)&&s++;for(let[u,l]of Object.entries(c)){Object.prototype.hasOwnProperty.call(i,u)||se(i,u,new Set);for(let d of l)i[u].add(d)}}return!o.def.unionFallback&&s>1&&i[o.def.discriminator]?.delete(void 0),i}),t.options.forEach((o,i)=>{let s=Zt(o._zod.def);if(s&&!Object.prototype.hasOwnProperty.call(s,t.discriminator))throw new Error(`Invalid discriminated union option at index "${i}"`)});let n=Rt(()=>Hd(t));e._zod.parse=(o,i)=>{let s=o.value;if(!at(s))return o.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),o;let a=s?.[t.discriminator],c=n.value.get(a);return c&&(a!==void 0||i.direction!=="backward")?c._zod.run(o,i):t.unionFallback||i.direction==="backward"?r(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(n.value.keys()).filter(u=>n.value.get(u)!==null),input:s,path:[t.discriminator],inst:e}),o)}}),wu=k("$ZodIntersection",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value,i=t.left._zod.run({value:o,issues:[]},n),s=t.right._zod.run({value:o,issues:[]},n);return i instanceof Promise||s instanceof Promise?Promise.all([i,s]).then(([c,u])=>Sd(r,c,u)):Sd(r,i,s)}});function Ht(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(we(e)&&we(t)){let r=Object.keys(t),n=Object.keys(e).filter(i=>r.indexOf(i)!==-1),o={...e,...t};Object.prototype.hasOwnProperty.call(o,"__proto__")&&delete o.__proto__;for(let i of n){if(i==="__proto__")continue;let s=Ht(e[i],t[i]);if(!s.valid)return{valid:!1,mergeErrorPath:[i,...s.mergeErrorPath]};o[i]=s.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let n=0;n<e.length;n++){let o=e[n],i=t[n],s=Ht(o,i);if(!s.valid)return{valid:!1,mergeErrorPath:[n,...s.mergeErrorPath]};r.push(s.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function Sd(e,t,r){let n=new Map,o,i=new Map,s=(u,l)=>{let d;if(u.code==="unrecognized_keys"&&!u.path?.length)o??(o=u),d=u.keys;else if(u.code==="invalid_key"&&u.origin==="record"&&u.path?.length===1){let f=String(u.path[0]);i.has(f)||i.set(f,u),d=[f]}else return!1;for(let f of d)n.has(f)||n.set(f,{}),n.get(f)[l]=!0;return!0};for(let u of t.issues)s(u,"l")||e.issues.push(u);for(let u of r.issues)s(u,"r")||e.issues.push(u);let a=[...n].filter(([,u])=>u.l&&u.r).map(([u])=>u);if(a.length){let u=o?a.filter(l=>o.keys.includes(l)):[];u.length&&e.issues.push({...o,keys:u});for(let l of a)!u.includes(l)&&i.has(l)&&e.issues.push(i.get(l))}let c=Ht(t.value,r.value);if(!c.valid){if(de(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var vo=k("$ZodTuple",(e,t)=>{A.init(e,t);let r=t.items,n=ne.memoizer;n?.attach(e),e._zod.parse=(o,i)=>{let s=o.value;if(!Array.isArray(s))return o.issues.push({input:s,inst:e,expected:"tuple",code:"invalid_type"}),o;o.value=n?n.alloc(e,o,[],i):[];let a=[],c=zd(r,"optin"),u=zd(r,"optout");if(!t.rest){if(s.length<c)return o.issues.push({code:"too_small",minimum:c,inclusive:!0,input:s,inst:e,origin:"array"}),o;s.length>r.length&&o.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:s,inst:e,origin:"array"})}let l=new Array(r.length),d=t.rest?i?.abortEarly:void 0,f=!1;for(let m=0;m<r.length;m++){let g=r[m]._zod.run({value:s[m],issues:[]},i);g instanceof Promise?a.push(g.then(C=>{l[m]=C})):(l[m]=g,d&&!f&&g.issues.length&&(f=de(g)))}if(t.rest&&!f){let m=r.length-1,g=s.slice(r.length),C=o.issues.length;for(let y of g){if(d&&o.issues.length!==C){if(de(o,C))break;C=o.issues.length}m++;let x=t.rest._zod.run({value:y,issues:[]},i);x instanceof Promise?a.push(x.then(w=>Md(w,o,m))):Md(x,o,m)}}return a.length?Promise.all(a).then(()=>Nd(l,o,r,s,u)):Nd(l,o,r,s,u)}});function zd(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function Md(e,t,r){e.issues.length&&t.issues.push(...ke(r,e.issues)),t.value[r]=e.value}function Nd(e,t,r,n,o){for(let i=0;i<r.length;i++){let s=e[i],a=i<n.length;if(!a&&i>=o&&r[i]._zod.optin==="optional"){t.value.length=i;break}if(s.issues.length){if(!a&&i>=o){t.value.length=i;break}t.issues.push(...ke(i,s.issues))}t.value[i]=s.value}for(let i=t.value.length-1;i>=n.length&&(r[i]._zod.optout==="optional"&&t.value[i]===void 0);i--)t.value.length=i;return t}var _u=k("$ZodRecord",(e,t)=>{A.init(e,t);let r=ne.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!we(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),n;let s=[],a=t.keyType._zod.values;if(a&&!t.partial){n.value=r?r.alloc(e,n,{},o):{};let c=new Set;for(let l of a)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){if(c.add(typeof l=="number"?l.toString():l),l==="__proto__")continue;let d=t.keyType._zod.run({value:l,issues:[]},o);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(d.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(g=>ge(g,o,X())),input:l,path:[l],inst:e});continue}let f=d.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[l],issues:[]},o);m instanceof Promise?s.push(m.then(g=>{g.issues.length&&n.issues.push(...ke(l,g.issues)),n.value[f]=g.value})):(m.issues.length&&n.issues.push(...ke(l,m.issues)),n.value[f]=m.value)}let u;for(let l in i)if(!c.has(l))if(t.mode==="loose"){if(l==="__proto__")continue;n.value[l]=i[l]}else u=u??[],u.push(l);u&&u.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:u,continue:!0})}else{n.value=r?r.alloc(e,n,{},o):{};let c;for(let u of Reflect.ownKeys(i)){if(u==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,u))continue;let l=t.keyType._zod.run({value:u,issues:[]},o);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof u=="string"&&Re.test(u)&&l.issues.length){let g=t.keyType._zod.run({value:Number(u),issues:[]},o);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");g.issues.length===0&&(l=g)}if(l.issues.length){t.mode==="loose"?n.value[u]=i[u]:a?(c=c??[],c.push(u)):n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(g=>ge(g,o,X())),input:u,path:[u],inst:e});continue}let f=l.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[u],issues:[]},o);m instanceof Promise?s.push(m.then(g=>{g.issues.length&&n.issues.push(...ke(u,g.issues)),n.value[f]=g.value})):(m.issues.length&&n.issues.push(...ke(u,m.issues)),n.value[f]=m.value)}c&&c.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:c,continue:!0})}return s.length?Promise.all(s).then(()=>n):n}}),Lu=k("$ZodMap",(e,t)=>{A.init(e,t);let r=ne.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),n;let s=[];n.value=r?r.alloc(e,n,new Map,o):new Map;let a=o?.abortEarly,c=n.issues.length;for(let[u,l]of i){if(a&&n.issues.length!==c){if(de(n,c))break;c=n.issues.length}let d=t.keyType._zod.run({value:u,issues:[]},o),f=t.valueType._zod.run({value:l,issues:[]},o);d instanceof Promise||f instanceof Promise?s.push(Promise.all([d,f]).then(([m,g])=>{Pd(m,g,n,u,i,e,o)})):Pd(d,f,n,u,i,e,o)}return s.length?Promise.all(s).then(()=>n):n}});function Pd(e,t,r,n,o,i,s){e.issues.length&&(zr.has(typeof n)?r.issues.push(...ke(n,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:o,inst:i,issues:e.issues.map(a=>ge(a,s,X()))})),t.issues.length&&(zr.has(typeof n)?r.issues.push(...ke(n,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:o,inst:i,key:n,issues:t.issues.map(a=>ge(a,s,X()))})),r.value.set(e.value,t.value)}var $u=k("$ZodSet",(e,t)=>{A.init(e,t);let r=ne.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),n;let s=[];n.value=r?r.alloc(e,n,new Set,o):new Set;let a=o?.abortEarly,c=n.issues.length;for(let u of i){if(a&&n.issues.length!==c){if(de(n,c))break;c=n.issues.length}let l=t.valueType._zod.run({value:u,issues:[]},o);l instanceof Promise?s.push(l.then(d=>Ad(d,n))):Ad(l,n)}return s.length?Promise.all(s).then(()=>n):n}});function Ad(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Iu=k("$ZodEnum",(e,t)=>{A.init(e,t);let r=Et(t.entries),n=new Set(r);e._zod.values=n,O(e,"pattern",o=>{let i=Et(o.def.entries).filter(s=>zr.has(typeof s));return new RegExp(i.length?`^(${i.map(s=>_e(s.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,i)=>{let s=o.value;return n.has(s)||o.issues.push({code:"invalid_value",values:r,input:s,inst:e}),o}}),Su=k("$ZodLiteral",(e,t)=>{A.init(e,t);let r=new Set(t.values);e._zod.values=r,O(e,"pattern",n=>{let o=n.def.values;return new RegExp(o.length?`^(${o.map(i=>typeof i=="string"?_e(i):i?_e(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(n,o)=>{let i=n.value;return r.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),zu=k("$ZodFile",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return o instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:o,inst:e}),r}}),Mu=k("$ZodTransform",(e,t)=>{A.init(e,t),e._zod.optin="optional",ne.memoizer?.guard(e),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new He(e.constructor.name);let o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(s=>(r.value=s,r));if(o instanceof Promise)throw new Ce;return r.value=o,r}});function Td(e,t){return e.value=t.issues.length?void 0:t.value,e}var wo=k("$ZodOptional",(e,t)=>{A.init(e,t),O(e,"optin",r=>r.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",O(e,"values",r=>{let n=r.def.innerType._zod.values;return n?new Set([...n,void 0]):void 0}),O(e,"pattern",r=>{let n=r.def.innerType._zod.pattern;return n?new RegExp(`^(${Oe(n.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(r.value===void 0){if(t.innerType._zod.optin!=="defaulted")return r;let o=t.innerType._zod.run({value:r.value,issues:[]},n);return o instanceof Promise?o.then(i=>Td(r,i)):Td(r,o)}return t.innerType._zod.run(r,n)}}),Nu=k("$ZodExactOptional",(e,t)=>{wo.init(e,t),O(e,"values",r=>r.def.innerType._zod.values),O(e,"pattern",r=>r.def.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),Pu=k("$ZodNullable",(e,t)=>{A.init(e,t),O(e,"optin",r=>r.def.innerType._zod.optin),O(e,"optout",r=>r.def.innerType._zod.optout),O(e,"pattern",r=>{let n=r.def.innerType._zod.pattern;return n?new RegExp(`^(${Oe(n.source)}|null)$`):void 0}),O(e,"values",r=>r.def.innerType._zod.values?new Set([...r.def.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),Au=k("$ZodDefault",(e,t)=>{A.init(e,t),e._zod.optin="defaulted",O(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>Ed(i,t)):Ed(o,t)}});function Ed(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Tu=k("$ZodPrefault",(e,t)=>{A.init(e,t),e._zod.optin="defaulted",O(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),Eu=k("$ZodNonOptional",(e,t)=>{A.init(e,t),O(e,"values",r=>{let n=r.def.innerType._zod.values;return n?new Set([...n].filter(o=>o!==void 0)):void 0}),e._zod.parse=(r,n)=>{let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>Od(i,e)):Od(o,e)}});function Od(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var Ou=k("$ZodSuccess",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new He("ZodSuccess");let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>(r.value=i.issues.length===0,r)):(r.value=o.issues.length===0,r)}});function Rd(e,t,r,n){return t.issues.length?(e.value=r.catchValue({...t,value:e.value,error:{issues:t.issues.map(o=>ge(o,n,X()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var Ru=k("$ZodCatch",(e,t)=>{A.init(e,t),O(e,"optin",r=>r.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),O(e,"optout",r=>r.def.innerType._zod.optout),O(e,"values",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run({value:r.value,issues:[]},n);return o instanceof Promise?o.then(i=>Rd(r,i,t,n)):Rd(r,o,t,n)}}),Zu=k("$ZodNaN",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),_o=k("$ZodPipe",(e,t)=>{A.init(e,t),O(e,"values",r=>r.def.in._zod.values),O(e,"optin",r=>r.def.in._zod.optin),O(e,"optout",r=>r.def.out._zod.optout),O(e,"propValues",r=>r.def.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){let i=t.out._zod.run(r,n);return i instanceof Promise?i.then(s=>io(s,t.in,n)):io(i,t.in,n)}let o=t.in._zod.run(r,n);return o instanceof Promise?o.then(i=>io(i,t.out,n)):io(o,t.out,n)}});function io(e,t,r){return e.issues.some(n=>n.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}var Jr=k("$ZodCodec",(e,t)=>{A.init(e,t),O(e,"values",r=>r.def.in._zod.values),O(e,"optin",r=>r.def.in._zod.optin),O(e,"optout",r=>r.def.out._zod.optout),O(e,"propValues",r=>r.def.in._zod.propValues),e._zod.parse=(r,n)=>{if((n.direction||"forward")==="forward"){let i=t.in._zod.run(r,n);return i instanceof Promise?i.then(s=>so(s,t,n)):so(i,t,n)}else{let i=t.out._zod.run(r,n);return i instanceof Promise?i.then(s=>so(s,t,n)):so(i,t,n)}}});function so(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){let o=t.transform(e.value,e);return o instanceof Promise?o.then(i=>ao(e,i,t.out,r)):ao(e,o,t.out,r)}else{let o=t.reverseTransform(e.value,e);return o instanceof Promise?o.then(i=>ao(e,i,t.in,r)):ao(e,o,t.in,r)}}function ao(e,t,r,n){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},n)}var Du=k("$ZodPreprocess",(e,t)=>{_o.init(e,t)}),ju=k("$ZodReadonly",(e,t)=>{A.init(e,t),O(e,"propValues",r=>r.def.innerType._zod.propValues),O(e,"values",r=>r.def.innerType._zod.values),O(e,"optin",r=>r.def.innerType?._zod?.optin),O(e,"optout",r=>r.def.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(Zd):Zd(o)}});function Zd(e){return e.memo||(e.value=Object.freeze(e.value)),e}function uh(e){let t=e._zod.def,r=t.pattern,n=!!t.format?.includes("int"),o,i;for(let a of t.checks??[]){let c=a._zod.def;c.pattern&&(r=c.pattern),n||(n=!!c.format?.includes("int"));let u=c.minimum??c.length,l=c.maximum??c.length;u!==void 0&&(o===void 0||u>o)&&(o=u),l!==void 0&&(i===void 0||l<i)&&(i=l)}if(r)return r.source;if(o!==void 0&&i!==void 0&&o>i)return"(?!)";if(o!==void 0||i!==void 0)return ra({minimum:o,maximum:i}).source;let s=e._zod.pattern;return(n&&s===Re?jr:s)?.source}function Pa(e){let t=e._zod.def,r=e._zod.pattern?.source,n=t.innerType??e._zod.innerType;if(n){let o=n._zod.pattern?.source,i=Pa(n);return r&&o&&i&&i!==o?r.replace(Oe(o),()=>Oe(i)):r}if(t.options){let o=t.options.map(Pa);if(o.every(Boolean))return`^(${o.map(i=>Oe(i)).join("|")})$`}return uh(e)}var Wu=k("$ZodTemplateLiteral",(e,t)=>{A.init(e,t);let r=[];for(let n of t.parts)if(typeof n=="object"&&n!==null){let o=Pa(n);if(!o)throw new Error(`Invalid template literal part, no pattern found: ${[...n._zod.traits].shift()}`);r.push(Oe(o))}else if(n===null||hs.has(typeof n))r.push(_e(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(n,o)=>typeof n.value!="string"?(n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}),n):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),n)}),Vu=k("$ZodFunction",(e,t)=>(A.init(e,t),Object.defineProperty(e,"_def",{value:t}),e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return Object.defineProperty(function(...n){let o=e._def.input?Fn(e._def.input,n):n,i=Reflect.apply(r,this,o);return e._def.output?Fn(e._def.output,i):i},"_zod",{value:e._zod,enumerable:!1})},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return Object.defineProperty(async function(...n){let o=e._def.input?await Bn(e._def.input,n):n,i=await Reflect.apply(r,this,o);return e._def.output?await Bn(e._def.output,i):i},"_zod",{value:e._zod,enumerable:!1})},e._zod.parse=(r,n)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{let n=e.constructor;return Array.isArray(r[0])?new n({type:"function",input:new vo({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new n({type:"function",input:r[0],output:e._def.output})},e.output=r=>{let n=e.constructor;return new n({type:"function",input:e._def.input,output:r})},e)),Fu=k("$ZodPromise",(e,t)=>{A.init(e,t),e._zod.parse=(r,n)=>Promise.resolve(r.value).then(o=>t.innerType._zod.run({value:o,issues:[]},n))}),Yr=k("$ZodLazy",(e,t)=>{A.init(e,t),ps(e._zod,"innerType",()=>{let r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),O(e,"pattern",r=>r.innerType?._zod?.pattern),O(e,"propValues",r=>r.innerType?._zod?.propValues),O(e,"optin",r=>r.innerType?._zod?.optin??void 0),O(e,"optout",r=>r.innerType?._zod?.optout??void 0),e._zod.parse=(r,n)=>e._zod.innerType._zod.run(r,n)}),Bu=k("$ZodCustom",(e,t)=>{K.init(e,t),A.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{let n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(i=>Dd(i,r,n,e));Dd(o,r,n,e)}});function Dd(e,t,r,n){if(!e){let o={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push(Dt(o))}}var So=class extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}},Uu="~memo",Kd=[];function qd(e){return e!==null&&typeof e=="object"}function Hu(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}var Gd=new WeakMap,Ut=0,Io=1,Xr=2;function Qr(e,t,r){let n=Gd.get(e);if(n!==void 0)return n?Xr:Ut;if(t.has(e))return Xr;t.add(e);let o=Ut,i=l=>{if(o!==Xr&&l?._zod){let d=Qr(l,t,r);d>o&&(o=d)}},s=(l,d)=>{let f=Ut;for(let m of Reflect.ownKeys(l)){let g=Object.getOwnPropertyDescriptor(l,m);if(d&&!g.enumerable)continue;let C=g.get?Io:g.value?._zod?Qr(g.value,t,r):Ut;C>f&&(f=C)}return f},a=l=>{l>o&&(o=l)},c=e._zod.def,u=c.type;switch(u){case"object":{let l=Zt(c);a(l?s(l,!0):Io),i(c.catchall);break}case"array":i(c.element);break;case"tuple":for(let l of c.items)i(l);i(c.rest);break;case"record":case"map":i(c.keyType),i(c.valueType);break;case"set":i(c.valueType);break;case"union":for(let l of c.options)i(l);break;case"intersection":i(c.left),i(c.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":i(c.innerType);break;case"pipe":i(c.in),i(c.out);break;case"function":i(c.input),i(c.output);break;case"lazy":{let l=c._cachedInner??(r?e._zod.innerType:void 0);a(l?Qr(l,t,!1):Io);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let l in c){let d=Object.getOwnPropertyDescriptor(c,l);if(!d||d.get)continue;let f=d.value;if(!(!f||typeof f!="object")){if(f._zod)i(f);else if(Array.isArray(f))for(let m of f)i(m)}}}return t.delete(e),ch(e,o)}function ch(e,t){return t!==Io&&Gd.set(e,t===Xr),t}function zo(e){return Qr(e,new Set,!0)!==Ut}function lh(e,t){let r=e.buckets.get(t);return r||(r=new WeakMap,e.buckets.set(t,r)),r}var Lo,$o=[],dh={alloc(e,t,r){let n=Lo;if(!n)return r;Lo=void 0;let o={value:r,issues:null};return n.set(t.value,o),$o.push(o),r},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let r=e._zod.parse,n=(o,i)=>{if(i.direction!=="backward"&&Mo(i,o.value))throw new So;return r(o,i)};e._zod.parse=n,e._zod.run===r&&(e._zod.run=n)})},attach(e){var t;let r,n=!1,o,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let s=e._zod.parse,a=(c,u)=>{if(r===void 0){let x=Qr(e,new Set,!1);if(x===Ut)return e._zod.parse=s,e._zod.run===a&&(e._zod.run=s),s(c,u);x===Xr||n?r=!0:n=!0}let l=c.value;if(!qd(l))return s(c,u);let d=u[Uu];d||(d={buckets:new WeakMap,backEdges:void 0},u[Uu]=d);let f;o===u?f=i:(f=lh(d,e),o=u,i=f);let m=f.get(l);if(m)return c.value=m.value,m.issues?m.issues.length&&c.issues.push(...Hu(m.issues)):(c.memo=!0,d.backEdges??(d.backEdges=new WeakSet),d.backEdges.add(m.value)),c;Lo=f;let g=$o.length,C=s(c,u);Lo=void 0;let y=$o.length>g?$o.pop():void 0;return C instanceof Promise?C.then(x=>(y&&(y.issues=x.issues.length?Hu(x.issues):Kd),x)):(y&&(y.issues=C.issues.length?Hu(C.issues):Kd),C)};e._zod.parse=a,e._zod.run===s&&(e._zod.run=a)})}};function en(){return dh}function Mo(e,t){let r=e[Uu]?.backEdges;return r!==void 0&&qd(t)&&r.has(t)}var tn={};$e(tn,{en:()=>No});var ph=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(i){return e[i]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};function o(i,s){return i==="number"&&typeof s=="number"&&!Number.isFinite(s)?String(s):n[i]??i}return i=>{switch(i.code){case"invalid_type":{let s=o(i.expected),a=Cs(i.input),c=o(a,i.input);return`Invalid input: expected ${s}, received ${c}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${Zn(i.values[0])}`:`Invalid option: expected one of ${En(i.values,"|")}`;case"too_big":{let s=i.exact?"exactly ":i.inclusive?"<=":"<",a=t(i.origin);return a?`Too big: expected ${i.origin??"value"} to have ${s}${i.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${s}${i.maximum.toString()}`}case"too_small":{let s=i.exact?"exactly ":i.inclusive?">=":">",a=t(i.origin);return a?`Too small: expected ${i.origin} to have ${s}${i.minimum.toString()} ${a.unit}`:`Too small: expected ${i.origin} to be ${s}${i.minimum.toString()}`}case"invalid_format":{let s=i;return s.format==="starts_with"?`Invalid string: must start with "${s.prefix}"`:s.format==="ends_with"?`Invalid string: must end with "${s.suffix}"`:s.format==="includes"?`Invalid string: must include "${s.includes}"`:s.format==="regex"?`Invalid string: must match pattern ${s.pattern}`:`Invalid ${r[s.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${En(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(a=>`'${a}'`).join(" | ")}`:i.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}};function No(){return{localeError:ph()}}var Jd,Ku=Symbol("ZodOutput"),qu=Symbol("ZodInput"),Po=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let n={...this.get(r)??{}};delete n.id;let o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function Ao(){return new Po}(Jd=globalThis).__zod_globalRegistry??(Jd.__zod_globalRegistry=Ao());var ae=globalThis.__zod_globalRegistry;var pe=Symbol.for("zod.compile.invalid"),Yd=Symbol.for("zod.compile.fallback"),Se=class extends Error{constructor(t="z.compile does not support async refinements, transforms, or checks"){super(t),this.name="ZodCompileAsyncError"}},j=class extends Error{constructor(t,r=!0){super(`z.compile does not support ${t}; this schema must use the runtime parser`),this.name="ZodCompileUnsupportedError",this.islandable=r}};function mh(e,t){try{return Eo(e,{assertOnly:!0})}catch{return t}}function Xu(e,t){try{let r=Eo(e),n=To(e,r);return n._zod.bag.validator=mh(e,r),n}catch(r){if(t?.strict)throw r;return e}}function To(e,t){if(zo(e))throw new j("a schema whose subtree contains a reference cycle");let r=F(e),n=e._zod.run,o=n.__originalRun??n,i=(s,a)=>{if(a?.async||a?.direction==="backward"||a?.skipChecks||a?.[Yd]||a&&Mo(a,s.value))return o(s,a);let c=t(s.value);return c!==pe?(s.value=c,s):(a&&(a[Yd]=!0),o(s,a))};return i.__originalRun=o,r._zod.bag.fallbackRun=o,r._zod.bag.validator=t,r._zod.run=i,n.__originalRun||hh(r,e,t),r}function hh(e,t,r){let n=e,o=t;if(typeof o.safeParse=="function"){let i=o.safeParse;n.safeParse=(s,a)=>{let c=r(s);return c!==pe?{success:!0,data:c}:i(s,a)}}if(typeof o.parse=="function"){let i=o.parse;n.parse=(s,a)=>{let c=r(s);return c!==pe?c:i(s,a)}}}function Eo(e,t){let r=!0;try{r=zo(e)}catch{}if(r)throw new j("a schema whose subtree contains a reference cycle");let n={constants:new Map,constantCounter:0,varCounter:0,definite:!0},o=new lt(["input"]),i=J(o,n,e,"input",!t?.assertOnly);o.write(i===null?"return true;":`return ${i};`);let s=["INVALID",...n.constants.keys()],a=[pe,...n.constants.values()],c=o.content.join(`
|
|
57
57
|
`),u=t?.debug?s.length>0?`// Constants: ${s.join(", ")}
|
|
58
58
|
${c}`:c:"",l=Function,d=`return (input) => {
|
|
59
59
|
${c}
|
|
60
|
-
}`,f;try{f=new l(...s,d)(...a)}catch(m){throw new j(`this schema (generated code failed to evaluate: ${m.message})`)}return t?.debug&&(f.code=u),f.definite=n.definite,f}function N(e,t){for(let[n,o]of e.constants)if(o===t)return n;let r=`c${e.constantCounter++}`;return e.constants.set(r,t),r}function mt(e,t){return e.definite=!1,N(e,t)}function M(e){return`v${e.varCounter++}`}function kh(e,t){let r=e._zod.run({value:t,issues:[]},{});if(r&&typeof r.then=="function")return pe;let n=r;return n.issues.length===0?n.value:pe}function ce(e,t,r,n,o=!0){let i=e.content.length,s=t.constants.size,a=t.constantCounter,c=t.varCounter;try{return J(e,t,r,n,o)}catch(u){if(!(u instanceof j)||!u.islandable)throw u;if(e.content.length=i,t.constants.size>s){let l=Array.from(t.constants.keys()).slice(s);for(let d of l)t.constants.delete(d)}return t.constantCounter=a,t.varCounter=c,gh(e,t,r,n)}}function gh(e,t,r,n){t.definite=!1;let o=N(t,r),i=N(t,kh),s=M(t);return e.write(`const ${s} = ${i}(${o}, ${n});`),e.write(`if (${s} === INVALID) return INVALID;`),s}var Ch=new Set(["max_size","min_size","size_equals","max_length","min_length","length_equals"]);function yh(e,t,r,n){let o=r._zod.def.checks;if(!o||o.length===0)return n;let i=n;for(let s of o){let a=s._zod.def;if(a.when&&!Ch.has(a.check))throw new j('check with a custom "when" condition');switch(a.check){case"greater_than":bh(e,t,a,i);break;case"less_than":xh(e,t,a,i);break;case"multiple_of":vh(e,t,a,i);break;case"number_format":np(e,a,i);break;case"min_length":{let c=pt(a.minimum,"min_length"),u=Gu(e,t,i,`${i}.length >= ${c} && ${i}.length < ${a.minimum*2}`);e.write(`if (${u} < ${c}) return INVALID;`);break}case"max_length":{let c=pt(a.maximum,"max_length"),u=Gu(e,t,i,`${i}.length > ${c}`);e.write(`if (${u} > ${c}) return INVALID;`);break}case"length_equals":{let c=pt(a.length,"length_equals"),u=Gu(e,t,i,`${i}.length >= ${c} && ${i}.length <= ${a.length*2}`);e.write(`if (${u} !== ${c}) return INVALID;`);break}case"min_size":e.write(`if (${i}.size < ${pt(a.minimum,"min_size")}) return INVALID;`);break;case"max_size":e.write(`if (${i}.size > ${pt(a.maximum,"max_size")}) return INVALID;`);break;case"size_equals":e.write(`if (${i}.size !== ${pt(a.size,"size_equals")}) return INVALID;`);break;case"string_format":i=op(e,t,a,i);break;case"custom":i=Sh(e,t,s,i);break;case"bigint_format":wh(e,a,i);break;case"mime_type":_h(e,t,a,i);break;case"property":$h(e,t,a,i);break;case"properties":Lh(e,t,a,i);break;case"overwrite":{let c=M(t);Ih(e,t,s,i,c),i=c;break}default:throw new j(`check type ${a.check}`)}}return i}function Gu(e,t,r,n){let o=N(t,ut),i=M(t);return e.write(`const ${i} = typeof ${r} === "string" && ${n} ? ${o}(${r}) : ${r}.length;`),i}function pt(e,t){if(typeof e!="number"||!Number.isFinite(e))throw new j(`${t} bound of type ${typeof e}`);return`${e}`}function rp(e,t){if(typeof t=="bigint")return`${t}n`;if(typeof t=="number"){if(Number.isNaN(t))throw new j("comparison check with NaN bound");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new j("comparison check with Invalid Date bound");return N(e,t)}throw new j(`comparison check bound of type ${typeof t}`)}function bh(e,t,r,n){let o=r.inclusive?"<":"<=";e.write(`if (${n} ${o} ${rp(t,r.value)}) return INVALID;`)}function xh(e,t,r,n){let o=r.inclusive?">":">=";e.write(`if (${n} ${o} ${rp(t,r.value)}) return INVALID;`)}function vh(e,t,r,n){if(typeof r.value=="bigint"){if(r.value===BigInt(0))throw new j("multiple_of check with a zero divisor");e.write(`if (${n} % ${r.value}n !== 0n) return INVALID;`)}else{let o=N(t,Ir);e.write(`if (${o}(${n}, ${pt(r.value,"multiple_of")}) !== 0) return INVALID;`)}}function np(e,t,r){let n=t.format;switch(n){case"safeint":e.write(`if (!Number.isSafeInteger(${r})) return INVALID;`);break;case"int32":e.write(`if (!Number.isInteger(${r}) || ${r} < -2147483648 || ${r} > 2147483647) return INVALID;`);break;case"uint32":e.write(`if (!Number.isInteger(${r}) || ${r} < 0 || ${r} > 4294967295) return INVALID;`);break;case"float32":e.write(`if (!Number.isFinite(${r}) || ${r} < -3.4028234663852886e38 || ${r} > 3.4028234663852886e38) return INVALID;`);break;case"float64":e.write(`if (!Number.isFinite(${r})) return INVALID;`);break;default:throw new j(`number format ${n}`)}}function wh(e,t,r){let n=t.format;if(n)switch(n){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break;default:throw new j(`bigint format ${n}`)}}function _h(e,t,r,n){let o=r.mime;if(o&&o.length>0){let i=N(t,new Set(o));e.write(`if (!${i}.has(${n}.type)) return INVALID;`)}}function Lh(e,t,r,n){if(r.when)throw new j('check with a custom "when" condition');e.write(`if (${n} == null) return INVALID;`);let o=r.shape;for(let i of Reflect.ownKeys(o)){let s=typeof i=="symbol"?N(t,i):le(i),a=M(t);e.write(`const ${a} = ${n}[${s}];`),ce(e,t,o[i],a,!1)}}function $h(e,t,r,n){let o=`${n}[${JSON.stringify(r.property)}]`;J(e,t,r.schema,o)}function Ih(e,t,r,n,o){let i=r._zod.def.tx;if(!i)throw new j("overwrite check without a transform function");if(ht(i))throw new Se("z.compile: async overwrite transforms are not supported");let s=N(t,i);e.write(`const ${o} = ${s}(${n});`)}function Ju(){throw new Ce}function Qu(e){this.issues.push(e)}function Sh(e,t,r,n){let o=r._zod.def;if(o.fn){if(ht(o.fn))throw new Se("z.compile: async .refine() predicates are not supported");let i=mt(t,o.fn),s=N(t,Ju),a=M(t);return e.write(`const ${a} = ${i}(${n});`),e.write(`if (${a} instanceof Promise) ${s}();`),e.write(`if (!${a}) return INVALID;`),n}if(r._zod.check){if(ht(r._zod.check))throw new Se("z.compile: async .superRefine() / check functions are not supported");let i=r._zod.check,a=mt(t,u=>{let l={value:u,issues:[],addIssue:Qu};return i(l)instanceof Promise&&Ju(),l.issues.length===0?l.value:pe}),c=M(t);return e.write(`const ${c} = ${a}(${n});`),e.write(`if (${c} === INVALID) return INVALID;`),c}throw new j("custom check without a predicate or check function")}var zh=new Set(["cidrv4","cuid","cuid2","date","datetime","duration","e164","email","emoji","ends_with","guid","includes","ipv4","ksuid","lowercase","mac","nanoid","regex","starts_with","time","ulid","uppercase","uuid","xid"]);function op(e,t,r,n,o=!0){let i=r.format;if(i==="base64"){let u=N(t,Ur);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="base64url"){let u=N(t,ko);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="jwt"){let u=N(t,yo),l=N(t,r.alg??null);return e.write(`if (!${u}(${n}, ${l})) return INVALID;`),n}if(i==="ipv6"){let u=N(t,Hr);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="cidrv6"){let u=N(t,mo);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="credit_card"){let u=N(t,go);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="iban"){let u=N(t,Co);return e.write(`if (!${u}(${n})) return INVALID;`),n}let s=r;if(i==="url"||i==="httpurl"||s.normalize||s.hostname!==void 0||s.protocol!==void 0){let u=N(t,lo),l=N(t,r),d=M(t),f=M(t);if(e.write(`const ${d} = ${n}.trim();`),e.write(`const ${f} = ${u}(${d}, ${l});`),e.write(`if (typeof ${f} === "number") return INVALID;`),s.hostname!==void 0){let C=N(t,po);e.write(`if (!${C}(${f}, ${l}.hostname)) return INVALID;`)}if(s.protocol!==void 0){let C=N(t,fo);e.write(`if (!${C}(${f}, ${l}.protocol)) return INVALID;`)}if(!o)return null;let m=M(t),g=s.normalize?`${f}.href`:`${N(t,Fr)}(${d})`;return e.write(`const ${m} = ${g};`),m}let a=r.fn;if(a){if(ht(a))throw new j(`async string format ${i}`);let u=N(t,a);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(zh.has(i)&&r.pattern){let u=N(t,r.pattern);return e.write(`${u}.lastIndex = 0;`),e.write(`if (!${u}.test(${n})) return INVALID;`),n}let c=r.format;switch(c){case"regex":throw new j("regex format without a pattern");case"lowercase":e.write(`if (${n} !== ${n}.toLowerCase()) return INVALID;`);break;case"uppercase":e.write(`if (${n} !== ${n}.toUpperCase()) return INVALID;`);break;case"includes":e.write(`if (!${n}.includes(${le(r.includes)})) return INVALID;`);break;case"starts_with":{let u=r.prefix;e.write(`if (${n}.slice(0, ${u.length}) !== ${le(u)}) return INVALID;`);break}case"ends_with":{let u=r.suffix;e.write(`if (${n}.slice(-${u.length}) !== ${le(u)}) return INVALID;`);break}default:throw new j(`string format ${c}`)}return n}function J(e,t,r,n,o=!0){let i=r._zod.def,s=i.type;if(i.coerce)throw new j(`coercion (z.coerce.${s}())`);let a=o||!!i.checks?.length,c;switch(s){case"string":c=Mh(e,t,r,n,a);break;case"number":c=Nh(e,r,n);break;case"boolean":c=Ph(e,n);break;case"bigint":c=Ah(e,r,n);break;case"symbol":c=Th(e,n);break;case"undefined":c=Eh(e,n);break;case"null":c=Oh(e,n);break;case"any":case"unknown":c=n;break;case"never":e.write("return INVALID;"),c=n;break;case"void":c=Rh(e,n);break;case"nan":c=Zh(e,n);break;case"date":c=Dh(e,n);break;case"object":c=jh(e,t,r,n,a);break;case"optional":c=Wh(e,t,r,n,a);break;case"nullable":c=Fh(e,t,r,n,a);break;case"array":c=Hh(e,t,r,n,a);break;case"literal":c=Uh(e,t,r,n);break;case"enum":c=Kh(e,t,r,n);break;case"readonly":{let u=Qd(e,t,r,n),l=M(t);e.write(`const ${l} = Object.freeze(${u});`),c=l;break}case"success":Qd(e,t,r,n),c="true";break;case"default":case"prefault":c=qh(e,t,r,n);break;case"nonoptional":c=Gh(e,t,r,n);break;case"tuple":c=Jh(e,t,r,n);break;case"union":c=Yh(e,t,r,n);break;case"intersection":c=e3(e,t,r,n);break;case"record":c=t3(e,t,r,n);break;case"map":c=n3(e,t,r,n);break;case"set":c=o3(e,t,r,n);break;case"file":c=i3(e,n);break;case"template_literal":c=s3(e,t,r,n);break;case"lazy":c=a3(e,t,r,n);break;case"pipe":c=u3(e,t,r,n);break;case"custom":c=c3(e,t,r,n);break;case"transform":c=p3(e,t,r,n);break;case"catch":c=d3(e,t,r,n);break;default:throw new j(`schema type ${s}`)}return c===null?null:yh(e,t,r,c)}function Mh(e,t,r,n,o=!0){e.write(`if (typeof ${n} !== "string") return INVALID;`);let i=r._zod.def;return i.format===void 0?n:op(e,t,i,n,o)}function Nh(e,t,r){e.write(`if (typeof ${r} !== "number" || !Number.isFinite(${r})) return INVALID;`);let n=t._zod.def;return n.check==="number_format"&&n.format&&np(e,{format:n.format},r),r}function Ph(e,t){return e.write(`if (typeof ${t} !== "boolean") return INVALID;`),t}function Ah(e,t,r){e.write(`if (typeof ${r} !== "bigint") return INVALID;`);let n=t._zod.def;if(n.format)switch(n.format){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break}return r}function Th(e,t){return e.write(`if (typeof ${t} !== "symbol") return INVALID;`),t}function Eh(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Oh(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function Rh(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Zh(e,t){return e.write(`if (typeof ${t} !== "number" || !Number.isNaN(${t})) return INVALID;`),t}function Dh(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function jh(e,t,r,n,o=!0){let i=r._zod.def;e.write(`if (typeof ${n} !== "object" || ${n} === null || Array.isArray(${n})) return INVALID;`);let s=i.shape,a=Object.keys(s),c=Object.getOwnPropertySymbols(s),u=c.length?[...a,...c]:a,l=w=>typeof w=="symbol"?N(t,w):le(w),d=w=>typeof w=="symbol"?`[${l(w)}]`:le(w),f=s;if(a.includes("__proto__"))throw new j('object shape key "__proto__"');let m=new Map;for(let w of u){let $=f[w],P=l(w),T=M(t);if(e.write(`const ${T} = ${n}[${P}];`),$._zod.optin!==void 0){let L=M(t);e.write(`let ${L} = (() => {`),e.indented(R=>{let W=ce(R,t,$,T);R.write(`return ${W};`)}),e.write("})();"),$._zod.optout==="optional"?(e.write(`if (${L} === INVALID) {`),e.indented(R=>{R.write(`if (${P} in ${n}) return INVALID;`),R.write(`${L} = undefined;`)}),e.write("}")):e.write(`if (${L} === INVALID) return INVALID;`),m.set(w,L)}else{Bh($)&&e.write(`if (!(${P} in ${n})) return INVALID;`);let L=ce(e,t,$,T,o);L!==null&&m.set(w,L)}}let g=i.catchall,C="none";if(g){let w=g._zod.def.type;if(w==="never"){let $=a.map(P=>`k !== ${le(P)}`).join(" && ")||"true";e.write(`for (const k in ${n}) {`),e.indented(P=>{P.write(`if (${$}) return INVALID;`)}),e.write("}")}else(w==="unknown"||w==="any")&&!g._zod.def.checks?.length?C="passthrough":C="schema"}let y=M(t),x=u.some(w=>Xd(f[w])||Yu(f[w]));if(!o){if(C==="schema"){let w=a.length>0?N(t,new Set(a)):null;e.write(`for (const k in ${n}) {`),e.indented($=>{$.write('if (k === "__proto__") continue;'),w&&$.write(`if (${w}.has(k)) continue;`);let P=M(t);$.write(`const ${P} = ${n}[k];`),ce($,t,g,P,!1)}),e.write("}")}return null}if(x){e.write(`const ${y} = {};`);for(let w of u){let $=l(w),P=m.get(w);Yu(f[w])?e.write(`if (${$} in ${n}) ${y}[${$}] = ${P};`):Xd(f[w])?e.write(`if (${P} !== undefined || ${$} in ${n}) ${y}[${$}] = ${P};`):e.write(`${y}[${$}] = ${P};`)}}else{let w=u.map($=>`${d($)}: ${m.get($)}`).join(", ");e.write(`const ${y} = { ${w} };`)}if(C!=="none"){let w=a.length>0?N(t,new Set(a)):null;e.write(`for (const k in ${n}) {`),e.indented($=>{if($.write('if (k === "__proto__") continue;'),w&&$.write(`if (${w}.has(k)) continue;`),C==="passthrough")$.write(`${y}[k] = ${n}[k];`);else{let P=M(t);$.write(`const ${P} = ${n}[k];`);let T=ce($,t,g,P);$.write(`${y}[k] = ${T};`)}}),e.write("}")}return y}function Wh(e,t,r,n,o=!0){let i=r._zod.def;if(Vh(r))return J(e,t,i.innerType,n,o);if(i.innerType._zod.optin==="defaulted"){let a=M(t),c=M(t);return e.write(`let ${a};`),e.write(`if (${n} === undefined) {`),e.indented(u=>{u.write(`const ${c} = (() => {`),u.indented(l=>{let d=J(l,t,i.innerType,n);l.write(`return ${d};`)}),u.write("})();"),u.write(`if (${c} !== INVALID) ${a} = ${c};`)}),e.write("} else {"),e.indented(u=>{let l=J(u,t,i.innerType,n);u.write(`${a} = ${l};`)}),e.write("}"),a}let s=o?M(t):null;return s&&e.write(`let ${s};`),e.write(`if (${n} !== undefined) {`),e.indented(a=>{let c=J(a,t,i.innerType,n,o);s&&c!==null&&a.write(`${s} = ${c};`)}),e.write("}"),s}function Vh(e){return e._zod.traits?.has("$ZodExactOptional")===!0}function Bh(e){return e._zod.optin===void 0&&ft(e)}function ft(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case"any":case"unknown":case"undefined":case"void":case"default":case"prefault":case"transform":case"custom":case"lazy":return!0;case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"never":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":return!1;case"nonoptional":return t.innerType?ft(t.innerType):!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":case"nullable":case"readonly":case"success":return t.innerType?ft(t.innerType):!0;case"catch":return!0;case"union":return t.options?t.options.some(ft):!0;case"intersection":return!t.left||!t.right?!0:ft(t.left)&&ft(t.right);case"pipe":return t.in?ft(t.in):!0;default:return!0}}function Yu(e){return e._zod.optin==="optional"&&e._zod.optout==="optional"}function Xd(e){return(e._zod.optin!=="defaulted"||e._zod.optout==="optional")&&Kt(e)}function Kt(e){let t=e._zod.def;switch(t.type){case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":case"never":case"success":return!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":return!0;case"nullable":case"readonly":case"nonoptional":return t.innerType?Kt(t.innerType):!0;case"union":return t.options?t.options.some(Kt):!0;case"intersection":return!t.left||!t.right||Kt(t.left)||Kt(t.right);case"pipe":return t.out?Kt(t.out):!0;default:return!0}}function Fh(e,t,r,n,o=!0){let i=r._zod.def,s=o?M(t):null;return s&&e.write(`let ${s} = null;`),e.write(`if (${n} !== null) {`),e.indented(a=>{let c=J(a,t,i.innerType,n,o);s&&c!==null&&a.write(`${s} = ${c};`)}),e.write("}"),s}function Hh(e,t,r,n,o=!0){let i=r._zod.def;e.write(`if (!Array.isArray(${n})) return INVALID;`);let s=o?M(t):null,a=M(t),c=M(t);return s&&e.write(`const ${s} = new Array(${n}.length);`),e.write(`for (let ${a} = 0; ${a} < ${n}.length; ${a}++) {`),e.indented(u=>{u.write(`const ${c} = ${n}[${a}];`);let l=ce(u,t,i.element,c,o);s&&l!==null&&u.write(`${s}[${a}] = ${l};`)}),e.write("}"),s}function Uh(e,t,r,n){let i=r._zod.def.values;if(i.length!==1){let a=N(t,new Set(i));return e.write(`if (!${a}.has(${n})) return INVALID;`),n}let s=i[0];if(typeof s=="number"&&Number.isNaN(s)){let a=N(t,new Set(i));return e.write(`if (!${a}.has(${n})) return INVALID;`),n}if(typeof s=="string")e.write(`if (${n} !== ${le(s)}) return INVALID;`);else if(typeof s=="number"||typeof s=="boolean")e.write(`if (${n} !== ${s}) return INVALID;`);else if(s===null)e.write(`if (${n} !== null) return INVALID;`);else if(s===void 0)e.write(`if (${n} !== undefined) return INVALID;`);else if(typeof s=="bigint")e.write(`if (${n} !== ${s}n) return INVALID;`);else throw new j(`literal type ${typeof s}`);return n}function Kh(e,t,r,n){let o=r._zod.values;if(!o)throw new j("enum schema without enumerated values");let i=N(t,o);return e.write(`if (!${i}.has(${n})) return INVALID;`),n}function Qd(e,t,r,n){let o=r._zod.def;return J(e,t,o.innerType,n)}function qh(e,t,r,n){let o=r._zod.def,s=Object.getOwnPropertyDescriptor(r._zod.def,"defaultValue")?()=>r._zod.def.defaultValue:void 0;if(r._zod.def.type==="prefault"){if(!s)return J(e,t,o.innerType,n);let c=N(t,s),u=M(t);return e.write(`let ${u} = ${n};`),e.write(`if (${n} === undefined) ${u} = ${c}();`),J(e,t,o.innerType,u)}let a=M(t);if(s){let c=N(t,s),u=N(t,Sr);e.write(`let ${a};`),e.write(`if (${n} === undefined) {`),e.indented(l=>{l.write(`${a} = ${u}(${c}());`)}),e.write("} else {"),e.indented(l=>{let d=J(l,t,o.innerType,n);l.write(`${a} = ${d} === undefined ? ${u}(${c}()) : ${d};`)}),e.write("}")}else e.write(`let ${a};`),e.write(`if (${n} !== undefined) {`),e.indented(c=>{let u=J(c,t,o.innerType,n);c.write(`${a} = ${u};`)}),e.write("}");return a}function Gh(e,t,r,n){let o=r._zod.def,i=J(e,t,o.innerType,n),s=M(t);return e.write(`const ${s} = ${i};`),e.write(`if (${s} === undefined) return INVALID;`),s}function Jh(e,t,r,n){let o=r._zod.def,i=o.items,s=o.rest;e.write(`if (!Array.isArray(${n})) return INVALID;`);let a=ep(i,"optin"),c=ep(i,"optout");s?e.write(`if (${n}.length < ${a}) return INVALID;`):e.write(`if (${n}.length < ${a} || ${n}.length > ${i.length}) return INVALID;`);let u=M(t);e.write(`const ${u} = [];`);for(let l=0;l<i.length;l++){let d=i[l];if(l>=c)e.write(`if (${u}.length === ${l}) {`),e.indented(f=>{f.write(`if (${l} < ${n}.length) {`),f.indented(m=>{let g=M(t);m.write(`const ${g} = ${n}[${l}];`);let C=ce(m,t,d,g);m.write(`${u}[${l}] = ${C};`)}),f.write("} else {"),f.indented(m=>{if(Yu(d)){m.write(`${u}.length = ${l};`);return}let g=M(t),C=M(t);m.write(`const ${g} = undefined;`),m.write(`const ${C} = (() => {`),m.indented(y=>{let x=ce(y,t,d,g);y.write(`return ${x};`)}),m.write("})();"),m.write(`if (${C} === INVALID || ${C} === undefined) ${u}.length = ${l};`),m.write(`else ${u}[${l}] = ${C};`)}),f.write("}")}),e.write("}");else{let f=M(t);e.write(`const ${f} = ${n}[${l}];`);let m=ce(e,t,d,f);e.write(`${u}[${l}] = ${m};`)}}if(s){let l=M(t),d=M(t);e.write(`for (let ${l} = ${i.length}; ${l} < ${n}.length; ${l}++) {`),e.indented(f=>{f.write(`const ${d} = ${n}[${l}];`);let m=ce(f,t,s,d);f.write(`${u}[${l}] = ${m};`)}),e.write("}")}return u}function ep(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function Yh(e,t,r,n){let o=r._zod.def,i=o.options;if(o.discriminator)return Xh(e,t,o,n);if(o.inclusive===!1)throw new j("exclusive unions (z.xor)");if(i.length===0)return e.write("return INVALID;"),n;if(i.length===1)return J(e,t,i[0],n);if(i.every(c=>c._zod.def.type==="literal"&&!c._zod.def.checks?.length)){let c=new Set(i.flatMap(l=>l._zod.def.values)),u=N(t,c);return e.write(`if (!${u}.has(${n})) return INVALID;`),n}let a=M(t);e.write(`let ${a};`);for(let c=0;c<i.length;c++){let u=i[c];c===0?e.write(`${a} = (() => {`):e.write(`if (${a} === INVALID) ${a} = (() => {`),e.indented(l=>{let d=J(l,t,u,n);l.write(`return ${d};`)}),e.write("})();")}return e.write(`if (${a} === INVALID) return INVALID;`),a}function Xh(e,t,r,n){if(r.unionFallback)throw new j("discriminated union with unionFallback");if(r.options.length===0)return e.write("return INVALID;"),n;let o=M(t),i=M(t);e.write(`const ${o} = ${n}?.[${le(r.discriminator)}];`),e.write(`let ${i};`);let s=!0,a=new Set;for(let c of r.options){let u=c._zod.propValues?.[r.discriminator];if(!u||u.size===0)throw new j("discriminated union option without static discriminator values");for(let f of u){if(a.has(f))throw new j(`duplicate discriminator value ${String(f)}`);a.add(f)}let l=Array.from(u,f=>Qh(t,o,f)),d=s?"if":"else if";e.write(`${d} (${l.join(" || ")}) {`),e.indented(f=>{let m=J(f,t,c,n);f.write(`${i} = ${m};`)}),e.write("}"),s=!1}return e.write("else { return INVALID; }"),i}function Qh(e,t,r){if(typeof r=="string")return`${t} === ${le(r)}`;if(typeof r=="number")return Number.isNaN(r)?`Number.isNaN(${t})`:`${t} === ${r}`;if(typeof r=="boolean")return`${t} === ${r}`;if(r===null)return`${t} === null`;if(r===void 0)return`${t} === undefined`;if(typeof r=="bigint")return`${t} === ${r}n`;if(typeof r=="symbol"){let n=N(e,r);return`${t} === ${n}`}throw new j(`literal discriminator value ${String(r)}`)}function e3(e,t,r,n){let o=r._zod.def;t.definite=!1;let i=ce(e,t,o.left,n),s=ce(e,t,o.right,n),a=N(t,Ht),c=M(t);return e.write(`const ${c} = ${a}(${i}, ${s});`),e.write(`if (!${c}.valid) return INVALID;`),`${c}.data`}function t3(e,t,r,n){let o=r._zod.def,i=N(t,we);e.write(`if (!${i}(${n})) return INVALID;`);let s=M(t),a=M(t),c=M(t);e.write(`const ${s} = {};`);let u=o,l=u.partial?void 0:o.keyType._zod.values;if(l){let m=[];for(let C of l){if(!(typeof C=="string"||typeof C=="number"||typeof C=="symbol"))throw new j(`record key value ${String(C)}`);let y=typeof C=="number"?C.toString():C;if(y==="__proto__")throw new j('record key "__proto__"');m.push(y);let x=N(t,C),w=J(e,t,o.keyType,x),$=M(t);e.write(`const ${$} = ${n}[${r3(t,y)}];`);let P=ce(e,t,o.valueType,$);e.write(`${s}[${w}] = ${P};`)}let g=N(t,new Set(m));return e.write(`for (const ${a} in ${n}) {`),e.indented(C=>{C.write(`if (${g}.has(${a})) continue;`),u.mode==="loose"?C.write(`if (${a} !== "__proto__") ${s}[${a}] = ${n}[${a}];`):C.write("return INVALID;")}),e.write("}"),s}let d=o.keyType._zod.def;if(!(d.type==="string"&&d.format===void 0&&!d.coerce&&(d.checks?.length??0)===0)){let m=o.mode==="loose",g=Eo(o.keyType);g.definite===!1&&(t.definite=!1);let C=N(t,g),y=N(t,Re),x=M(t);return tp(e,t,n,a,w=>{w.write(`let ${x} = ${C}(${a});`),w.write(`if (${x} === INVALID && typeof ${a} === "string" && ${y}.test(${a})) ${x} = ${C}(Number(${a}));`),m?w.write(`if (${x} === INVALID) { ${s}[${a}] = ${n}[${a}]; continue; }`):w.write(`if (${x} === INVALID) return INVALID;`),w.write(`if (${x} === "__proto__") continue;`);let $=M(t);w.write(`const ${$} = ${n}[${a}];`);let P=ce(w,t,o.valueType,$);w.write(`${s}[${x}] = ${P};`)}),s}return tp(e,t,n,a,m=>{m.write(`const ${c} = ${n}[${a}];`);let g=ce(m,t,o.valueType,c);m.write(`${s}[${a}] = ${g};`)},"return INVALID;"),s}function tp(e,t,r,n,o,i){let s=N(t,Object.prototype.propertyIsEnumerable),a=M(t),c=M(t),u=M(t);e.write(`const ${a} = Object.getOwnPropertySymbols(${r});`),e.write(`const ${c} = Object.getOwnPropertyNames(${r});`),e.write(`for (let ${u} = 0; ${u} < ${c}.length; ${u}++) {`),e.indented(l=>{l.write(`const ${n} = ${c}[${u}];`),l.write(`if (${n} === "__proto__" || !${s}.call(${r}, ${n})) continue;`),o(l)}),e.write("}"),e.write(`for (let ${u} = 0; ${u} < ${a}.length; ${u}++) {`),e.indented(l=>{l.write(`const ${n} = ${a}[${u}];`),l.write(`if (!${s}.call(${r}, ${n})) continue;`),i?l.write(i):o(l)}),e.write("}")}function r3(e,t){return typeof t=="string"?le(t):N(e,t)}function n3(e,t,r,n){let o=r._zod.def;e.write(`if (!(${n} instanceof Map)) return INVALID;`);let i=M(t),s=M(t),a=M(t);return e.write(`const ${i} = new Map();`),e.write(`for (const [${s}, ${a}] of ${n}) {`),e.indented(c=>{let u=J(c,t,o.keyType,s),l=J(c,t,o.valueType,a);c.write(`${i}.set(${u}, ${l});`)}),e.write("}"),i}function o3(e,t,r,n){let o=r._zod.def;e.write(`if (!(${n} instanceof Set)) return INVALID;`);let i=M(t),s=M(t);return e.write(`const ${i} = new Set();`),e.write(`for (const ${s} of ${n}) {`),e.indented(a=>{let c=J(a,t,o.valueType,s);a.write(`${i}.add(${c});`)}),e.write("}"),i}function i3(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function s3(e,t,r,n){e.write(`if (typeof ${n} !== "string") return INVALID;`);let o=r._zod.pattern;if(o){let i=N(t,o);e.write(`${i}.lastIndex = 0;`),e.write(`if (!${i}.test(${n})) return INVALID;`)}return n}function a3(e,t,r,n){let o=r._zod.def,i=mt(t,o.getter),s=N(t,{parser:null});e.write(`if (!${s}.parser) {`),e.indented(c=>{c.write(`const inner = ${i}();`),c.write(`${s}.parser = function(input) {`),c.indented(u=>{u.write("const result = inner._zod.run({ value: input, issues: [] }, {});"),u.write("return result.issues.length === 0 ? result.value : INVALID;")}),c.write("};")}),e.write("}");let a=M(t);return e.write(`const ${a} = ${s}.parser(${n});`),e.write(`if (${a} === INVALID) return INVALID;`),a}function u3(e,t,r,n){let o=r._zod.def,i=J(e,t,o.in,n);if(o.transform){if(ht(o.transform))throw new Se("z.compile: async transforms in pipes are not supported");let s=o.transform,c=mt(t,l=>{let d={value:l,issues:[],addIssue:Qu},f=s(l,d);return f instanceof Promise?pe:d.issues.length===0?f:pe}),u=M(t);return e.write(`const ${u} = ${c}(${i});`),e.write(`if (${u} === INVALID) return INVALID;`),J(e,t,o.out,u)}else return J(e,t,o.out,i)}function ht(e){return typeof e=="function"&&(e.constructor.name==="AsyncFunction"||e[Symbol.toStringTag]==="AsyncFunction")}function c3(e,t,r,n){let o=r._zod.def;if(o.fn){if(ht(o.fn))throw new Se("z.compile: async custom predicates are not supported");let i=mt(t,o.fn),s=N(t,Ju),a=M(t);e.write(`const ${a} = ${i}(${n});`),e.write(`if (${a} instanceof Promise) ${s}();`),e.write(`if (!${a}) return INVALID;`)}else throw new j("custom schema without a predicate function");return n}function l3(e,t,r){let n=e._zod.run({value:r,issues:[]},{});if(n&&typeof n.then=="function")return pe;let o=n;return o.issues.length===0?o.value:t()}function d3(e,t,r,n){let o=r._zod.def;if(!o.catchValue[Wn])throw new j("catch with a callback (only a constant catch value compiles)",!1);let i=M(t);e.write(`let ${i} = (() => {`),e.indented(u=>{let l=ce(u,t,o.innerType,n);u.write(`return ${l};`)}),e.write("})();");let s=N(t,o.innerType),a=mt(t,o.catchValue),c=N(t,l3);return e.write(`if (${i} === INVALID) {`),e.indented(u=>{u.write(`${i} = ${c}(${s}, ${a}, ${n});`),u.write(`if (${i} === INVALID) return INVALID;`)}),e.write("}"),i}function p3(e,t,r,n){let o=r._zod.def;if(o.transform){if(ht(o.transform))throw new Se("z.compile: async transforms are not supported");let i=o.transform,a=mt(t,u=>{let l={value:u,issues:[],addIssue:Qu},d=i(u,l);return d instanceof Promise?pe:l.issues.length===0?d:pe}),c=M(t);return e.write(`const ${c} = ${a}(${n});`),e.write(`if (${c} === INVALID) return INVALID;`),c}return n}function Oo(e){return e.checks&&(e.checks=[...e.checks]),e}function e1(e,t){return new e(Oo({type:"string",..._(t)}))}function t1(e,t){return new e(Oo({type:"string",coerce:!0,..._(t)}))}function Ro(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,..._(t)})}function Zo(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,..._(t)})}function Do(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,..._(t)})}function jo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",..._(t)})}function Wo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",..._(t)})}function Vo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",..._(t)})}function rn(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,..._(t)})}function Bo(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,..._(t)})}function Fo(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,..._(t)})}function Ho(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,..._(t)})}function Uo(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,..._(t)})}function Ko(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,..._(t)})}function qo(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,..._(t)})}function Go(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,..._(t)})}function Jo(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,..._(t)})}function Yo(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,..._(t)})}function r1(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,..._(t)})}function Xo(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,..._(t)})}function Qo(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,..._(t)})}function ei(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,..._(t)})}function ti(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,..._(t)})}function ri(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,..._(t)})}function n1(e,t){return new e({type:"string",format:"credit_card",check:"string_format",abort:!1,..._(t)})}function o1(e,t){return new e({type:"string",format:"iban",check:"string_format",abort:!1,..._(t)})}function ni(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,..._(t)})}var i1={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function nn(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,..._(t)})}function on(e,t){return new e({type:"string",format:"date",check:"string_format",..._(t)})}function sn(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,..._(t)})}function an(e,t){return new e({type:"string",format:"duration",check:"string_format",..._(t)})}function s1(e,t){return new e(Oo({type:"number",checks:[],..._(t)}))}function a1(e,t){return new e(Oo({type:"number",coerce:!0,checks:[],..._(t)}))}function u1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",..._(t)})}function c1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",..._(t)})}function l1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",..._(t)})}function d1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",..._(t)})}function p1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",..._(t)})}function f1(e,t){return new e({type:"boolean",..._(t)})}function m1(e,t){return new e({type:"boolean",coerce:!0,..._(t)})}function h1(e,t){return new e({type:"bigint",..._(t)})}function k1(e,t){return new e({type:"bigint",coerce:!0,..._(t)})}function g1(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",..._(t)})}function C1(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",..._(t)})}function y1(e,t){return new e({type:"symbol",..._(t)})}function b1(e,t){return new e({type:"undefined",..._(t)})}function x1(e,t){return new e({type:"null",..._(t)})}function v1(e){return new e({type:"any"})}function w1(e){return new e({type:"unknown"})}function _1(e,t){return new e({type:"never",..._(t)})}function L1(e,t){return new e({type:"void",..._(t)})}function $1(e,t){return new e({type:"date",..._(t)})}function I1(e,t){return new e({type:"date",coerce:!0,..._(t)})}function S1(e,t){return new e({type:"nan",..._(t)})}function Ne(e,t){return new no({check:"less_than",..._(t),value:e,inclusive:!1})}function xe(e,t){return new no({check:"less_than",..._(t),value:e,inclusive:!0})}function Pe(e,t){return new oo({check:"greater_than",..._(t),value:e,inclusive:!1})}function ve(e,t){return new oo({check:"greater_than",..._(t),value:e,inclusive:!0})}function oi(e){return Pe(0,e)}function ii(e){return Ne(0,e)}function si(e){return xe(0,e)}function ai(e){return ve(0,e)}function Ue(e,t){return new pa({check:"multiple_of",..._(t),value:e})}function Ke(e,t){return new ha({check:"max_size",..._(t),maximum:e})}function Ae(e,t){return new ka({check:"min_size",..._(t),minimum:e})}function kt(e,t){return new ga({check:"size_equals",..._(t),size:e})}function gt(e,t){return new Ca({check:"max_length",..._(t),maximum:e})}function Ze(e,t){return new ya({check:"min_length",..._(t),minimum:e})}function Ct(e,t){return new ba({check:"length_equals",..._(t),length:e})}function qt(e,t){return new xa({check:"string_format",format:"regex",..._(t),pattern:e})}function Gt(e){return new va({check:"string_format",format:"lowercase",..._(e)})}function Jt(e){return new wa({check:"string_format",format:"uppercase",..._(e)})}function Yt(e,t){return new _a({check:"string_format",format:"includes",..._(t),includes:e})}function Xt(e,t){return new La({check:"string_format",format:"starts_with",..._(t),prefix:e})}function Qt(e,t){return new $a({check:"string_format",format:"ends_with",..._(t),suffix:e})}function ui(e,t,r){return new Ia({check:"property",property:e,schema:t,..._(r)})}function er(e,t){return new Sa({check:"properties",shape:e,..._(t)})}function tr(e,t){return new za({check:"mime_type",mime:e,..._(t)})}function ze(e){return new Ma({check:"overwrite",tx:e})}function rr(e){return ze(t=>t.normalize(e))}function nr(){return ze(e=>e.trim())}function or(){return ze(e=>e.toLowerCase())}function ir(){return ze(e=>e.toUpperCase())}function sr(){return ze(e=>fs(e))}function z1(e,t,r){return new e({type:"array",element:t,..._(r)})}function f3(e,t,r){return new e({type:"union",options:t,..._(r)})}function m3(e,t,r){return new e({type:"union",options:t,inclusive:!1,..._(r)})}function h3(e,t,r,n){return new e({type:"union",options:r,discriminator:t,..._(n)})}function k3(e,t,r){return new e({type:"intersection",left:t,right:r})}function g3(e,t,r,n){let o=r instanceof A,i=o?n:r,s=o?r:null;return new e({type:"tuple",items:t,rest:s,..._(i)})}function C3(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,..._(n)})}function y3(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,..._(n)})}function b3(e,t,r){return new e({type:"set",valueType:t,..._(r)})}function x3(e,t,r){let n=Array.isArray(t)?Object.fromEntries(t.map(o=>[o,o])):t;return new e({type:"enum",entries:n,..._(r)})}function v3(e,t,r){return new e({type:"enum",entries:t,..._(r)})}function w3(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],..._(r)})}function M1(e,t){return new e({type:"file",..._(t)})}function _3(e,t){return new e({type:"transform",transform:t})}function L3(e,t){return new e({type:"optional",innerType:t})}function $3(e,t){return new e({type:"nullable",innerType:t})}function I3(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():Sr(r)}})}function S3(e,t,r){return new e({type:"nonoptional",innerType:t,..._(r)})}function z3(e,t){return new e({type:"success",innerType:t})}function M3(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:bs(r)})}function N3(e,t,r){return new e({type:"pipe",in:t,out:r})}function P3(e,t){return new e({type:"readonly",innerType:t})}function A3(e,t,r){return new e({type:"template_literal",parts:t,..._(r)})}function T3(e,t){return new e({type:"lazy",getter:t})}function E3(e,t){return new e({type:"promise",innerType:t})}function N1(e,t,r){let n=_(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function P1(e,t,r){return new e({type:"custom",check:"custom",fn:t,..._(r)})}function A1(e,t){let r=ip(n=>(n.addIssue=o=>{if(typeof o=="string")n.issues.push(Dt(o,n.value,r._zod.def));else{let i=o;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),"input"in i||(i.input=n.value),i.inst??(i.inst=r),i.continue??(i.continue=!r._zod.def.abort),n.issues.push(Dt(i))}},e(n.value,n)),t);return r}function ip(e,t){let r=new K({check:"custom",..._(t)});return r._zod.check=e,r}function T1(e){let t=new K({check:"describe"});return t._zod.onattach=[r=>{let n=ae.get(r)??{};ae.add(r,{...n,description:e})}],t._zod.check=()=>{},t}function E1(e){let t=new K({check:"meta"});return t._zod.onattach=[r=>{let n=ae.get(r)??{};ae.add(r,{...n,...e})}],t._zod.check=()=>{},t}function O1(e,t){let r=_(t),n=r.truthy??["true","1","yes","on","y","enabled"],o=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(n=n.map(m=>typeof m=="string"?m.toLowerCase():m),o=o.map(m=>typeof m=="string"?m.toLowerCase():m));let i=new Set(n),s=new Set(o),a=e.Codec??Jr,c=e.Boolean??qr,u=e.String??dt,l=new u({type:"string",error:r.error}),d=new c({type:"boolean",error:r.error}),f=new a({type:"pipe",in:l,out:d,transform:((m,g)=>{let C=m;return r.case!=="sensitive"&&(C=C.toLowerCase()),i.has(C)?!0:s.has(C)?!1:(g.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...s],input:g.value,inst:f,continue:!1}),{})}),reverseTransform:((m,g)=>m===!0?n[0]||"true":o[0]||"false"),error:r.error});return f._zod.bag.truthy=n,f._zod.bag.falsy=o,f._zod.bag.case=r.case??"insensitive",f}function yt(e,t,r,n={}){let o=_(n),i={check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:a=>r.test(a),...o};return r instanceof RegExp&&(i.pattern=r),new e(i)}function un(e,...t){for(let r of t)for(let n of Reflect.ownKeys(r))Object.prototype.propertyIsEnumerable.call(r,n)&&se(e,n,r[n]);return e}function qe(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ae,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function te(e,t,r,n,o){let i=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:n.path,message:o}):t.unrepresentable;if(i==="any")return!1;if(i===void 0||i==="throw")throw new Error(o);return Object.assign(r,i),!0}function H(e,t,r={path:[],schemaPath:[]}){var n;let o=e._zod.def,i=t.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;let s={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,s),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let a=e._zod.toJSONSchema?.();if(a)s.schema=a;else{let l={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,s.schema,l);else{let f=s.schema,m=t.processors[o.type];if(!m)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);m(e,t,f,l)}let d=e._zod.parent;d&&(s.ref||(s.ref=d),H(d,t,l),t.seen.get(d).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&un(s.schema,c),t.io==="input"&&fe(e)&&(delete s.schema.examples,delete s.schema.default),t.io==="input"&&"_prefault"in s.schema&&((n=s.schema).default??(n.default=s.schema._prefault)),delete s.schema._prefault,t.seen.get(e).schema}function sp(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Ge(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let n=new Map;for(let s of e.seen.entries()){let a=e.metadataRegistry.get(s[0])?.id;if(a){let c=n.get(a);if(c&&c!==s[0])throw new Error(`Duplicate schema id "${a}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(a,s[0])}}let o=s=>{let a=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let d=e.external.registry.get(s[0])?.id,f=e.external.uri??(g=>g);if(d)return{ref:f(d)};let m=s[1].defId??s[1].schema.id??`schema${e.counter++}`;return s[1].defId=m,{defId:m,ref:`${f("__shared")}#/${a}/${sp(m)}`}}let c="#",u=`${c}/${a}/`;if(s[1]===r&&!s[1].schema.id)return{ref:c};let l=s[1].schema.id??`__schema${e.counter++}`;return{defId:l,ref:u+sp(l)}},i=s=>{if(s[1].schema.$ref)return;let a=s[1],{ref:c,defId:u}=o(s);a.def={...a.schema},u&&(a.defId=u);let l=a.schema;for(let d in l)delete l[d];l.$ref=c};if(e.cycles==="throw")for(let s of e.seen.entries()){let a=s[1];if(a.cycle)throw new Error(`Cycle detected: #/${a.cycle?.join("/")}/<root>
|
|
60
|
+
}`,f;try{f=new l(...s,d)(...a)}catch(m){throw new j(`this schema (generated code failed to evaluate: ${m.message})`)}return t?.debug&&(f.code=u),f.definite=n.definite,f}function N(e,t){for(let[n,o]of e.constants)if(o===t)return n;let r=`c${e.constantCounter++}`;return e.constants.set(r,t),r}function mt(e,t){return e.definite=!1,N(e,t)}function M(e){return`v${e.varCounter++}`}function kh(e,t){let r=e._zod.run({value:t,issues:[]},{});if(r&&typeof r.then=="function")return pe;let n=r;return n.issues.length===0?n.value:pe}function ce(e,t,r,n,o=!0){let i=e.content.length,s=t.constants.size,a=t.constantCounter,c=t.varCounter;try{return J(e,t,r,n,o)}catch(u){if(!(u instanceof j)||!u.islandable)throw u;if(e.content.length=i,t.constants.size>s){let l=Array.from(t.constants.keys()).slice(s);for(let d of l)t.constants.delete(d)}return t.constantCounter=a,t.varCounter=c,gh(e,t,r,n)}}function gh(e,t,r,n){t.definite=!1;let o=N(t,r),i=N(t,kh),s=M(t);return e.write(`const ${s} = ${i}(${o}, ${n});`),e.write(`if (${s} === INVALID) return INVALID;`),s}var Ch=new Set(["max_size","min_size","size_equals","max_length","min_length","length_equals"]);function yh(e,t,r,n){let o=r._zod.def.checks;if(!o||o.length===0)return n;let i=n;for(let s of o){let a=s._zod.def;if(a.when&&!Ch.has(a.check))throw new j('check with a custom "when" condition');switch(a.check){case"greater_than":bh(e,t,a,i);break;case"less_than":xh(e,t,a,i);break;case"multiple_of":vh(e,t,a,i);break;case"number_format":np(e,a,i);break;case"min_length":{let c=pt(a.minimum,"min_length"),u=Gu(e,t,i,`${i}.length >= ${c} && ${i}.length < ${a.minimum*2}`);e.write(`if (${u} < ${c}) return INVALID;`);break}case"max_length":{let c=pt(a.maximum,"max_length"),u=Gu(e,t,i,`${i}.length > ${c}`);e.write(`if (${u} > ${c}) return INVALID;`);break}case"length_equals":{let c=pt(a.length,"length_equals"),u=Gu(e,t,i,`${i}.length >= ${c} && ${i}.length <= ${a.length*2}`);e.write(`if (${u} !== ${c}) return INVALID;`);break}case"min_size":e.write(`if (${i}.size < ${pt(a.minimum,"min_size")}) return INVALID;`);break;case"max_size":e.write(`if (${i}.size > ${pt(a.maximum,"max_size")}) return INVALID;`);break;case"size_equals":e.write(`if (${i}.size !== ${pt(a.size,"size_equals")}) return INVALID;`);break;case"string_format":i=op(e,t,a,i);break;case"custom":i=Sh(e,t,s,i);break;case"bigint_format":wh(e,a,i);break;case"mime_type":_h(e,t,a,i);break;case"property":$h(e,t,a,i);break;case"properties":Lh(e,t,a,i);break;case"overwrite":{let c=M(t);Ih(e,t,s,i,c),i=c;break}default:throw new j(`check type ${a.check}`)}}return i}function Gu(e,t,r,n){let o=N(t,ut),i=M(t);return e.write(`const ${i} = typeof ${r} === "string" && ${n} ? ${o}(${r}) : ${r}.length;`),i}function pt(e,t){if(typeof e!="number"||!Number.isFinite(e))throw new j(`${t} bound of type ${typeof e}`);return`${e}`}function rp(e,t){if(typeof t=="bigint")return`${t}n`;if(typeof t=="number"){if(Number.isNaN(t))throw new j("comparison check with NaN bound");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new j("comparison check with Invalid Date bound");return N(e,t)}throw new j(`comparison check bound of type ${typeof t}`)}function bh(e,t,r,n){let o=r.inclusive?"<":"<=";e.write(`if (${n} ${o} ${rp(t,r.value)}) return INVALID;`)}function xh(e,t,r,n){let o=r.inclusive?">":">=";e.write(`if (${n} ${o} ${rp(t,r.value)}) return INVALID;`)}function vh(e,t,r,n){if(typeof r.value=="bigint"){if(r.value===BigInt(0))throw new j("multiple_of check with a zero divisor");e.write(`if (${n} % ${r.value}n !== 0n) return INVALID;`)}else{let o=N(t,Ir);e.write(`if (${o}(${n}, ${pt(r.value,"multiple_of")}) !== 0) return INVALID;`)}}function np(e,t,r){let n=t.format;switch(n){case"safeint":e.write(`if (!Number.isSafeInteger(${r})) return INVALID;`);break;case"int32":e.write(`if (!Number.isInteger(${r}) || ${r} < -2147483648 || ${r} > 2147483647) return INVALID;`);break;case"uint32":e.write(`if (!Number.isInteger(${r}) || ${r} < 0 || ${r} > 4294967295) return INVALID;`);break;case"float32":e.write(`if (!Number.isFinite(${r}) || ${r} < -3.4028234663852886e38 || ${r} > 3.4028234663852886e38) return INVALID;`);break;case"float64":e.write(`if (!Number.isFinite(${r})) return INVALID;`);break;default:throw new j(`number format ${n}`)}}function wh(e,t,r){let n=t.format;if(n)switch(n){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break;default:throw new j(`bigint format ${n}`)}}function _h(e,t,r,n){let o=r.mime;if(o&&o.length>0){let i=N(t,new Set(o));e.write(`if (!${i}.has(${n}.type)) return INVALID;`)}}function Lh(e,t,r,n){if(r.when)throw new j('check with a custom "when" condition');e.write(`if (${n} == null) return INVALID;`);let o=r.shape;for(let i of Reflect.ownKeys(o)){let s=typeof i=="symbol"?N(t,i):le(i),a=M(t);e.write(`const ${a} = ${n}[${s}];`),ce(e,t,o[i],a,!1)}}function $h(e,t,r,n){let o=`${n}[${JSON.stringify(r.property)}]`;J(e,t,r.schema,o)}function Ih(e,t,r,n,o){let i=r._zod.def.tx;if(!i)throw new j("overwrite check without a transform function");if(ht(i))throw new Se("z.compile: async overwrite transforms are not supported");let s=N(t,i);e.write(`const ${o} = ${s}(${n});`)}function Ju(){throw new Ce}function Qu(e){this.issues.push(e)}function Sh(e,t,r,n){let o=r._zod.def;if(o.fn){if(ht(o.fn))throw new Se("z.compile: async .refine() predicates are not supported");let i=mt(t,o.fn),s=N(t,Ju),a=M(t);return e.write(`const ${a} = ${i}(${n});`),e.write(`if (${a} instanceof Promise) ${s}();`),e.write(`if (!${a}) return INVALID;`),n}if(r._zod.check){if(ht(r._zod.check))throw new Se("z.compile: async .superRefine() / check functions are not supported");let i=r._zod.check,a=mt(t,u=>{let l={value:u,issues:[],addIssue:Qu};return i(l)instanceof Promise&&Ju(),l.issues.length===0?l.value:pe}),c=M(t);return e.write(`const ${c} = ${a}(${n});`),e.write(`if (${c} === INVALID) return INVALID;`),c}throw new j("custom check without a predicate or check function")}var zh=new Set(["cidrv4","cuid","cuid2","date","datetime","duration","e164","email","emoji","ends_with","guid","includes","ipv4","ksuid","lowercase","mac","nanoid","regex","starts_with","time","ulid","uppercase","uuid","xid"]);function op(e,t,r,n,o=!0){let i=r.format;if(i==="base64"){let u=N(t,Ur);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="base64url"){let u=N(t,ko);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="jwt"){let u=N(t,yo),l=N(t,r.alg??null);return e.write(`if (!${u}(${n}, ${l})) return INVALID;`),n}if(i==="ipv6"){let u=N(t,Hr);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="cidrv6"){let u=N(t,mo);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="credit_card"){let u=N(t,go);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(i==="iban"){let u=N(t,Co);return e.write(`if (!${u}(${n})) return INVALID;`),n}let s=r;if(i==="url"||i==="httpurl"||s.normalize||s.hostname!==void 0||s.protocol!==void 0){let u=N(t,lo),l=N(t,r),d=M(t),f=M(t);if(e.write(`const ${d} = ${n}.trim();`),e.write(`const ${f} = ${u}(${d}, ${l});`),e.write(`if (typeof ${f} === "number") return INVALID;`),s.hostname!==void 0){let C=N(t,po);e.write(`if (!${C}(${f}, ${l}.hostname)) return INVALID;`)}if(s.protocol!==void 0){let C=N(t,fo);e.write(`if (!${C}(${f}, ${l}.protocol)) return INVALID;`)}if(!o)return null;let m=M(t),g=s.normalize?`${f}.href`:`${N(t,Br)}(${d})`;return e.write(`const ${m} = ${g};`),m}let a=r.fn;if(a){if(ht(a))throw new j(`async string format ${i}`);let u=N(t,a);return e.write(`if (!${u}(${n})) return INVALID;`),n}if(zh.has(i)&&r.pattern){let u=N(t,r.pattern);return e.write(`${u}.lastIndex = 0;`),e.write(`if (!${u}.test(${n})) return INVALID;`),n}let c=r.format;switch(c){case"regex":throw new j("regex format without a pattern");case"lowercase":e.write(`if (${n} !== ${n}.toLowerCase()) return INVALID;`);break;case"uppercase":e.write(`if (${n} !== ${n}.toUpperCase()) return INVALID;`);break;case"includes":e.write(`if (!${n}.includes(${le(r.includes)})) return INVALID;`);break;case"starts_with":{let u=r.prefix;e.write(`if (${n}.slice(0, ${u.length}) !== ${le(u)}) return INVALID;`);break}case"ends_with":{let u=r.suffix;e.write(`if (${n}.slice(-${u.length}) !== ${le(u)}) return INVALID;`);break}default:throw new j(`string format ${c}`)}return n}function J(e,t,r,n,o=!0){let i=r._zod.def,s=i.type;if(i.coerce)throw new j(`coercion (z.coerce.${s}())`);let a=o||!!i.checks?.length,c;switch(s){case"string":c=Mh(e,t,r,n,a);break;case"number":c=Nh(e,r,n);break;case"boolean":c=Ph(e,n);break;case"bigint":c=Ah(e,r,n);break;case"symbol":c=Th(e,n);break;case"undefined":c=Eh(e,n);break;case"null":c=Oh(e,n);break;case"any":case"unknown":c=n;break;case"never":e.write("return INVALID;"),c=n;break;case"void":c=Rh(e,n);break;case"nan":c=Zh(e,n);break;case"date":c=Dh(e,n);break;case"object":c=jh(e,t,r,n,a);break;case"optional":c=Wh(e,t,r,n,a);break;case"nullable":c=Bh(e,t,r,n,a);break;case"array":c=Hh(e,t,r,n,a);break;case"literal":c=Uh(e,t,r,n);break;case"enum":c=Kh(e,t,r,n);break;case"readonly":{let u=Qd(e,t,r,n),l=M(t);e.write(`const ${l} = Object.freeze(${u});`),c=l;break}case"success":Qd(e,t,r,n),c="true";break;case"default":case"prefault":c=qh(e,t,r,n);break;case"nonoptional":c=Gh(e,t,r,n);break;case"tuple":c=Jh(e,t,r,n);break;case"union":c=Yh(e,t,r,n);break;case"intersection":c=e3(e,t,r,n);break;case"record":c=t3(e,t,r,n);break;case"map":c=n3(e,t,r,n);break;case"set":c=o3(e,t,r,n);break;case"file":c=i3(e,n);break;case"template_literal":c=s3(e,t,r,n);break;case"lazy":c=a3(e,t,r,n);break;case"pipe":c=u3(e,t,r,n);break;case"custom":c=c3(e,t,r,n);break;case"transform":c=p3(e,t,r,n);break;case"catch":c=d3(e,t,r,n);break;default:throw new j(`schema type ${s}`)}return c===null?null:yh(e,t,r,c)}function Mh(e,t,r,n,o=!0){e.write(`if (typeof ${n} !== "string") return INVALID;`);let i=r._zod.def;return i.format===void 0?n:op(e,t,i,n,o)}function Nh(e,t,r){e.write(`if (typeof ${r} !== "number" || !Number.isFinite(${r})) return INVALID;`);let n=t._zod.def;return n.check==="number_format"&&n.format&&np(e,{format:n.format},r),r}function Ph(e,t){return e.write(`if (typeof ${t} !== "boolean") return INVALID;`),t}function Ah(e,t,r){e.write(`if (typeof ${r} !== "bigint") return INVALID;`);let n=t._zod.def;if(n.format)switch(n.format){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break}return r}function Th(e,t){return e.write(`if (typeof ${t} !== "symbol") return INVALID;`),t}function Eh(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Oh(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function Rh(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Zh(e,t){return e.write(`if (typeof ${t} !== "number" || !Number.isNaN(${t})) return INVALID;`),t}function Dh(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function jh(e,t,r,n,o=!0){let i=r._zod.def;e.write(`if (typeof ${n} !== "object" || ${n} === null || Array.isArray(${n})) return INVALID;`);let s=i.shape,a=Object.keys(s),c=Object.getOwnPropertySymbols(s),u=c.length?[...a,...c]:a,l=w=>typeof w=="symbol"?N(t,w):le(w),d=w=>typeof w=="symbol"?`[${l(w)}]`:le(w),f=s;if(a.includes("__proto__"))throw new j('object shape key "__proto__"');let m=new Map;for(let w of u){let $=f[w],P=l(w),T=M(t);if(e.write(`const ${T} = ${n}[${P}];`),$._zod.optin!==void 0){let L=M(t);e.write(`let ${L} = (() => {`),e.indented(R=>{let W=ce(R,t,$,T);R.write(`return ${W};`)}),e.write("})();"),$._zod.optout==="optional"?(e.write(`if (${L} === INVALID) {`),e.indented(R=>{R.write(`if (${P} in ${n}) return INVALID;`),R.write(`${L} = undefined;`)}),e.write("}")):e.write(`if (${L} === INVALID) return INVALID;`),m.set(w,L)}else{Fh($)&&e.write(`if (!(${P} in ${n})) return INVALID;`);let L=ce(e,t,$,T,o);L!==null&&m.set(w,L)}}let g=i.catchall,C="none";if(g){let w=g._zod.def.type;if(w==="never"){let $=a.map(P=>`k !== ${le(P)}`).join(" && ")||"true";e.write(`for (const k in ${n}) {`),e.indented(P=>{P.write(`if (${$}) return INVALID;`)}),e.write("}")}else(w==="unknown"||w==="any")&&!g._zod.def.checks?.length?C="passthrough":C="schema"}let y=M(t),x=u.some(w=>Xd(f[w])||Yu(f[w]));if(!o){if(C==="schema"){let w=a.length>0?N(t,new Set(a)):null;e.write(`for (const k in ${n}) {`),e.indented($=>{$.write('if (k === "__proto__") continue;'),w&&$.write(`if (${w}.has(k)) continue;`);let P=M(t);$.write(`const ${P} = ${n}[k];`),ce($,t,g,P,!1)}),e.write("}")}return null}if(x){e.write(`const ${y} = {};`);for(let w of u){let $=l(w),P=m.get(w);Yu(f[w])?e.write(`if (${$} in ${n}) ${y}[${$}] = ${P};`):Xd(f[w])?e.write(`if (${P} !== undefined || ${$} in ${n}) ${y}[${$}] = ${P};`):e.write(`${y}[${$}] = ${P};`)}}else{let w=u.map($=>`${d($)}: ${m.get($)}`).join(", ");e.write(`const ${y} = { ${w} };`)}if(C!=="none"){let w=a.length>0?N(t,new Set(a)):null;e.write(`for (const k in ${n}) {`),e.indented($=>{if($.write('if (k === "__proto__") continue;'),w&&$.write(`if (${w}.has(k)) continue;`),C==="passthrough")$.write(`${y}[k] = ${n}[k];`);else{let P=M(t);$.write(`const ${P} = ${n}[k];`);let T=ce($,t,g,P);$.write(`${y}[k] = ${T};`)}}),e.write("}")}return y}function Wh(e,t,r,n,o=!0){let i=r._zod.def;if(Vh(r))return J(e,t,i.innerType,n,o);if(i.innerType._zod.optin==="defaulted"){let a=M(t),c=M(t);return e.write(`let ${a};`),e.write(`if (${n} === undefined) {`),e.indented(u=>{u.write(`const ${c} = (() => {`),u.indented(l=>{let d=J(l,t,i.innerType,n);l.write(`return ${d};`)}),u.write("})();"),u.write(`if (${c} !== INVALID) ${a} = ${c};`)}),e.write("} else {"),e.indented(u=>{let l=J(u,t,i.innerType,n);u.write(`${a} = ${l};`)}),e.write("}"),a}let s=o?M(t):null;return s&&e.write(`let ${s};`),e.write(`if (${n} !== undefined) {`),e.indented(a=>{let c=J(a,t,i.innerType,n,o);s&&c!==null&&a.write(`${s} = ${c};`)}),e.write("}"),s}function Vh(e){return e._zod.traits?.has("$ZodExactOptional")===!0}function Fh(e){return e._zod.optin===void 0&&ft(e)}function ft(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case"any":case"unknown":case"undefined":case"void":case"default":case"prefault":case"transform":case"custom":case"lazy":return!0;case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"never":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":return!1;case"nonoptional":return t.innerType?ft(t.innerType):!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":case"nullable":case"readonly":case"success":return t.innerType?ft(t.innerType):!0;case"catch":return!0;case"union":return t.options?t.options.some(ft):!0;case"intersection":return!t.left||!t.right?!0:ft(t.left)&&ft(t.right);case"pipe":return t.in?ft(t.in):!0;default:return!0}}function Yu(e){return e._zod.optin==="optional"&&e._zod.optout==="optional"}function Xd(e){return(e._zod.optin!=="defaulted"||e._zod.optout==="optional")&&Kt(e)}function Kt(e){let t=e._zod.def;switch(t.type){case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":case"never":case"success":return!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":return!0;case"nullable":case"readonly":case"nonoptional":return t.innerType?Kt(t.innerType):!0;case"union":return t.options?t.options.some(Kt):!0;case"intersection":return!t.left||!t.right||Kt(t.left)||Kt(t.right);case"pipe":return t.out?Kt(t.out):!0;default:return!0}}function Bh(e,t,r,n,o=!0){let i=r._zod.def,s=o?M(t):null;return s&&e.write(`let ${s} = null;`),e.write(`if (${n} !== null) {`),e.indented(a=>{let c=J(a,t,i.innerType,n,o);s&&c!==null&&a.write(`${s} = ${c};`)}),e.write("}"),s}function Hh(e,t,r,n,o=!0){let i=r._zod.def;e.write(`if (!Array.isArray(${n})) return INVALID;`);let s=o?M(t):null,a=M(t),c=M(t);return s&&e.write(`const ${s} = new Array(${n}.length);`),e.write(`for (let ${a} = 0; ${a} < ${n}.length; ${a}++) {`),e.indented(u=>{u.write(`const ${c} = ${n}[${a}];`);let l=ce(u,t,i.element,c,o);s&&l!==null&&u.write(`${s}[${a}] = ${l};`)}),e.write("}"),s}function Uh(e,t,r,n){let i=r._zod.def.values;if(i.length!==1){let a=N(t,new Set(i));return e.write(`if (!${a}.has(${n})) return INVALID;`),n}let s=i[0];if(typeof s=="number"&&Number.isNaN(s)){let a=N(t,new Set(i));return e.write(`if (!${a}.has(${n})) return INVALID;`),n}if(typeof s=="string")e.write(`if (${n} !== ${le(s)}) return INVALID;`);else if(typeof s=="number"||typeof s=="boolean")e.write(`if (${n} !== ${s}) return INVALID;`);else if(s===null)e.write(`if (${n} !== null) return INVALID;`);else if(s===void 0)e.write(`if (${n} !== undefined) return INVALID;`);else if(typeof s=="bigint")e.write(`if (${n} !== ${s}n) return INVALID;`);else throw new j(`literal type ${typeof s}`);return n}function Kh(e,t,r,n){let o=r._zod.values;if(!o)throw new j("enum schema without enumerated values");let i=N(t,o);return e.write(`if (!${i}.has(${n})) return INVALID;`),n}function Qd(e,t,r,n){let o=r._zod.def;return J(e,t,o.innerType,n)}function qh(e,t,r,n){let o=r._zod.def,s=Object.getOwnPropertyDescriptor(r._zod.def,"defaultValue")?()=>r._zod.def.defaultValue:void 0;if(r._zod.def.type==="prefault"){if(!s)return J(e,t,o.innerType,n);let c=N(t,s),u=M(t);return e.write(`let ${u} = ${n};`),e.write(`if (${n} === undefined) ${u} = ${c}();`),J(e,t,o.innerType,u)}let a=M(t);if(s){let c=N(t,s),u=N(t,Sr);e.write(`let ${a};`),e.write(`if (${n} === undefined) {`),e.indented(l=>{l.write(`${a} = ${u}(${c}());`)}),e.write("} else {"),e.indented(l=>{let d=J(l,t,o.innerType,n);l.write(`${a} = ${d} === undefined ? ${u}(${c}()) : ${d};`)}),e.write("}")}else e.write(`let ${a};`),e.write(`if (${n} !== undefined) {`),e.indented(c=>{let u=J(c,t,o.innerType,n);c.write(`${a} = ${u};`)}),e.write("}");return a}function Gh(e,t,r,n){let o=r._zod.def,i=J(e,t,o.innerType,n),s=M(t);return e.write(`const ${s} = ${i};`),e.write(`if (${s} === undefined) return INVALID;`),s}function Jh(e,t,r,n){let o=r._zod.def,i=o.items,s=o.rest;e.write(`if (!Array.isArray(${n})) return INVALID;`);let a=ep(i,"optin"),c=ep(i,"optout");s?e.write(`if (${n}.length < ${a}) return INVALID;`):e.write(`if (${n}.length < ${a} || ${n}.length > ${i.length}) return INVALID;`);let u=M(t);e.write(`const ${u} = [];`);for(let l=0;l<i.length;l++){let d=i[l];if(l>=c)e.write(`if (${u}.length === ${l}) {`),e.indented(f=>{f.write(`if (${l} < ${n}.length) {`),f.indented(m=>{let g=M(t);m.write(`const ${g} = ${n}[${l}];`);let C=ce(m,t,d,g);m.write(`${u}[${l}] = ${C};`)}),f.write("} else {"),f.indented(m=>{if(Yu(d)){m.write(`${u}.length = ${l};`);return}let g=M(t),C=M(t);m.write(`const ${g} = undefined;`),m.write(`const ${C} = (() => {`),m.indented(y=>{let x=ce(y,t,d,g);y.write(`return ${x};`)}),m.write("})();"),m.write(`if (${C} === INVALID || ${C} === undefined) ${u}.length = ${l};`),m.write(`else ${u}[${l}] = ${C};`)}),f.write("}")}),e.write("}");else{let f=M(t);e.write(`const ${f} = ${n}[${l}];`);let m=ce(e,t,d,f);e.write(`${u}[${l}] = ${m};`)}}if(s){let l=M(t),d=M(t);e.write(`for (let ${l} = ${i.length}; ${l} < ${n}.length; ${l}++) {`),e.indented(f=>{f.write(`const ${d} = ${n}[${l}];`);let m=ce(f,t,s,d);f.write(`${u}[${l}] = ${m};`)}),e.write("}")}return u}function ep(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function Yh(e,t,r,n){let o=r._zod.def,i=o.options;if(o.discriminator)return Xh(e,t,o,n);if(o.inclusive===!1)throw new j("exclusive unions (z.xor)");if(i.length===0)return e.write("return INVALID;"),n;if(i.length===1)return J(e,t,i[0],n);if(i.every(c=>c._zod.def.type==="literal"&&!c._zod.def.checks?.length)){let c=new Set(i.flatMap(l=>l._zod.def.values)),u=N(t,c);return e.write(`if (!${u}.has(${n})) return INVALID;`),n}let a=M(t);e.write(`let ${a};`);for(let c=0;c<i.length;c++){let u=i[c];c===0?e.write(`${a} = (() => {`):e.write(`if (${a} === INVALID) ${a} = (() => {`),e.indented(l=>{let d=J(l,t,u,n);l.write(`return ${d};`)}),e.write("})();")}return e.write(`if (${a} === INVALID) return INVALID;`),a}function Xh(e,t,r,n){if(r.unionFallback)throw new j("discriminated union with unionFallback");if(r.options.length===0)return e.write("return INVALID;"),n;let o=M(t),i=M(t);e.write(`const ${o} = ${n}?.[${le(r.discriminator)}];`),e.write(`let ${i};`);let s=!0,a=new Set;for(let c of r.options){let u=c._zod.propValues?.[r.discriminator];if(!u||u.size===0)throw new j("discriminated union option without static discriminator values");for(let f of u){if(a.has(f))throw new j(`duplicate discriminator value ${String(f)}`);a.add(f)}let l=Array.from(u,f=>Qh(t,o,f)),d=s?"if":"else if";e.write(`${d} (${l.join(" || ")}) {`),e.indented(f=>{let m=J(f,t,c,n);f.write(`${i} = ${m};`)}),e.write("}"),s=!1}return e.write("else { return INVALID; }"),i}function Qh(e,t,r){if(typeof r=="string")return`${t} === ${le(r)}`;if(typeof r=="number")return Number.isNaN(r)?`Number.isNaN(${t})`:`${t} === ${r}`;if(typeof r=="boolean")return`${t} === ${r}`;if(r===null)return`${t} === null`;if(r===void 0)return`${t} === undefined`;if(typeof r=="bigint")return`${t} === ${r}n`;if(typeof r=="symbol"){let n=N(e,r);return`${t} === ${n}`}throw new j(`literal discriminator value ${String(r)}`)}function e3(e,t,r,n){let o=r._zod.def;t.definite=!1;let i=ce(e,t,o.left,n),s=ce(e,t,o.right,n),a=N(t,Ht),c=M(t);return e.write(`const ${c} = ${a}(${i}, ${s});`),e.write(`if (!${c}.valid) return INVALID;`),`${c}.data`}function t3(e,t,r,n){let o=r._zod.def,i=N(t,we);e.write(`if (!${i}(${n})) return INVALID;`);let s=M(t),a=M(t),c=M(t);e.write(`const ${s} = {};`);let u=o,l=u.partial?void 0:o.keyType._zod.values;if(l){let m=[];for(let C of l){if(!(typeof C=="string"||typeof C=="number"||typeof C=="symbol"))throw new j(`record key value ${String(C)}`);let y=typeof C=="number"?C.toString():C;if(y==="__proto__")throw new j('record key "__proto__"');m.push(y);let x=N(t,C),w=J(e,t,o.keyType,x),$=M(t);e.write(`const ${$} = ${n}[${r3(t,y)}];`);let P=ce(e,t,o.valueType,$);e.write(`${s}[${w}] = ${P};`)}let g=N(t,new Set(m));return e.write(`for (const ${a} in ${n}) {`),e.indented(C=>{C.write(`if (${g}.has(${a})) continue;`),u.mode==="loose"?C.write(`if (${a} !== "__proto__") ${s}[${a}] = ${n}[${a}];`):C.write("return INVALID;")}),e.write("}"),s}let d=o.keyType._zod.def;if(!(d.type==="string"&&d.format===void 0&&!d.coerce&&(d.checks?.length??0)===0)){let m=o.mode==="loose",g=Eo(o.keyType);g.definite===!1&&(t.definite=!1);let C=N(t,g),y=N(t,Re),x=M(t);return tp(e,t,n,a,w=>{w.write(`let ${x} = ${C}(${a});`),w.write(`if (${x} === INVALID && typeof ${a} === "string" && ${y}.test(${a})) ${x} = ${C}(Number(${a}));`),m?w.write(`if (${x} === INVALID) { ${s}[${a}] = ${n}[${a}]; continue; }`):w.write(`if (${x} === INVALID) return INVALID;`),w.write(`if (${x} === "__proto__") continue;`);let $=M(t);w.write(`const ${$} = ${n}[${a}];`);let P=ce(w,t,o.valueType,$);w.write(`${s}[${x}] = ${P};`)}),s}return tp(e,t,n,a,m=>{m.write(`const ${c} = ${n}[${a}];`);let g=ce(m,t,o.valueType,c);m.write(`${s}[${a}] = ${g};`)},"return INVALID;"),s}function tp(e,t,r,n,o,i){let s=N(t,Object.prototype.propertyIsEnumerable),a=M(t),c=M(t),u=M(t);e.write(`const ${a} = Object.getOwnPropertySymbols(${r});`),e.write(`const ${c} = Object.getOwnPropertyNames(${r});`),e.write(`for (let ${u} = 0; ${u} < ${c}.length; ${u}++) {`),e.indented(l=>{l.write(`const ${n} = ${c}[${u}];`),l.write(`if (${n} === "__proto__" || !${s}.call(${r}, ${n})) continue;`),o(l)}),e.write("}"),e.write(`for (let ${u} = 0; ${u} < ${a}.length; ${u}++) {`),e.indented(l=>{l.write(`const ${n} = ${a}[${u}];`),l.write(`if (!${s}.call(${r}, ${n})) continue;`),i?l.write(i):o(l)}),e.write("}")}function r3(e,t){return typeof t=="string"?le(t):N(e,t)}function n3(e,t,r,n){let o=r._zod.def;e.write(`if (!(${n} instanceof Map)) return INVALID;`);let i=M(t),s=M(t),a=M(t);return e.write(`const ${i} = new Map();`),e.write(`for (const [${s}, ${a}] of ${n}) {`),e.indented(c=>{let u=J(c,t,o.keyType,s),l=J(c,t,o.valueType,a);c.write(`${i}.set(${u}, ${l});`)}),e.write("}"),i}function o3(e,t,r,n){let o=r._zod.def;e.write(`if (!(${n} instanceof Set)) return INVALID;`);let i=M(t),s=M(t);return e.write(`const ${i} = new Set();`),e.write(`for (const ${s} of ${n}) {`),e.indented(a=>{let c=J(a,t,o.valueType,s);a.write(`${i}.add(${c});`)}),e.write("}"),i}function i3(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function s3(e,t,r,n){e.write(`if (typeof ${n} !== "string") return INVALID;`);let o=r._zod.pattern;if(o){let i=N(t,o);e.write(`${i}.lastIndex = 0;`),e.write(`if (!${i}.test(${n})) return INVALID;`)}return n}function a3(e,t,r,n){let o=r._zod.def,i=mt(t,o.getter),s=N(t,{parser:null});e.write(`if (!${s}.parser) {`),e.indented(c=>{c.write(`const inner = ${i}();`),c.write(`${s}.parser = function(input) {`),c.indented(u=>{u.write("const result = inner._zod.run({ value: input, issues: [] }, {});"),u.write("return result.issues.length === 0 ? result.value : INVALID;")}),c.write("};")}),e.write("}");let a=M(t);return e.write(`const ${a} = ${s}.parser(${n});`),e.write(`if (${a} === INVALID) return INVALID;`),a}function u3(e,t,r,n){let o=r._zod.def,i=J(e,t,o.in,n);if(o.transform){if(ht(o.transform))throw new Se("z.compile: async transforms in pipes are not supported");let s=o.transform,c=mt(t,l=>{let d={value:l,issues:[],addIssue:Qu},f=s(l,d);return f instanceof Promise?pe:d.issues.length===0?f:pe}),u=M(t);return e.write(`const ${u} = ${c}(${i});`),e.write(`if (${u} === INVALID) return INVALID;`),J(e,t,o.out,u)}else return J(e,t,o.out,i)}function ht(e){return typeof e=="function"&&(e.constructor.name==="AsyncFunction"||e[Symbol.toStringTag]==="AsyncFunction")}function c3(e,t,r,n){let o=r._zod.def;if(o.fn){if(ht(o.fn))throw new Se("z.compile: async custom predicates are not supported");let i=mt(t,o.fn),s=N(t,Ju),a=M(t);e.write(`const ${a} = ${i}(${n});`),e.write(`if (${a} instanceof Promise) ${s}();`),e.write(`if (!${a}) return INVALID;`)}else throw new j("custom schema without a predicate function");return n}function l3(e,t,r){let n=e._zod.run({value:r,issues:[]},{});if(n&&typeof n.then=="function")return pe;let o=n;return o.issues.length===0?o.value:t()}function d3(e,t,r,n){let o=r._zod.def;if(!o.catchValue[Wn])throw new j("catch with a callback (only a constant catch value compiles)",!1);let i=M(t);e.write(`let ${i} = (() => {`),e.indented(u=>{let l=ce(u,t,o.innerType,n);u.write(`return ${l};`)}),e.write("})();");let s=N(t,o.innerType),a=mt(t,o.catchValue),c=N(t,l3);return e.write(`if (${i} === INVALID) {`),e.indented(u=>{u.write(`${i} = ${c}(${s}, ${a}, ${n});`),u.write(`if (${i} === INVALID) return INVALID;`)}),e.write("}"),i}function p3(e,t,r,n){let o=r._zod.def;if(o.transform){if(ht(o.transform))throw new Se("z.compile: async transforms are not supported");let i=o.transform,a=mt(t,u=>{let l={value:u,issues:[],addIssue:Qu},d=i(u,l);return d instanceof Promise?pe:l.issues.length===0?d:pe}),c=M(t);return e.write(`const ${c} = ${a}(${n});`),e.write(`if (${c} === INVALID) return INVALID;`),c}return n}function Oo(e){return e.checks&&(e.checks=[...e.checks]),e}function e1(e,t){return new e(Oo({type:"string",..._(t)}))}function t1(e,t){return new e(Oo({type:"string",coerce:!0,..._(t)}))}function Ro(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,..._(t)})}function Zo(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,..._(t)})}function Do(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,..._(t)})}function jo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",..._(t)})}function Wo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",..._(t)})}function Vo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",..._(t)})}function rn(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,..._(t)})}function Fo(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,..._(t)})}function Bo(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,..._(t)})}function Ho(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,..._(t)})}function Uo(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,..._(t)})}function Ko(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,..._(t)})}function qo(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,..._(t)})}function Go(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,..._(t)})}function Jo(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,..._(t)})}function Yo(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,..._(t)})}function r1(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,..._(t)})}function Xo(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,..._(t)})}function Qo(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,..._(t)})}function ei(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,..._(t)})}function ti(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,..._(t)})}function ri(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,..._(t)})}function n1(e,t){return new e({type:"string",format:"credit_card",check:"string_format",abort:!1,..._(t)})}function o1(e,t){return new e({type:"string",format:"iban",check:"string_format",abort:!1,..._(t)})}function ni(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,..._(t)})}var i1={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function nn(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,..._(t)})}function on(e,t){return new e({type:"string",format:"date",check:"string_format",..._(t)})}function sn(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,..._(t)})}function an(e,t){return new e({type:"string",format:"duration",check:"string_format",..._(t)})}function s1(e,t){return new e(Oo({type:"number",checks:[],..._(t)}))}function a1(e,t){return new e(Oo({type:"number",coerce:!0,checks:[],..._(t)}))}function u1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",..._(t)})}function c1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",..._(t)})}function l1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",..._(t)})}function d1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",..._(t)})}function p1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",..._(t)})}function f1(e,t){return new e({type:"boolean",..._(t)})}function m1(e,t){return new e({type:"boolean",coerce:!0,..._(t)})}function h1(e,t){return new e({type:"bigint",..._(t)})}function k1(e,t){return new e({type:"bigint",coerce:!0,..._(t)})}function g1(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",..._(t)})}function C1(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",..._(t)})}function y1(e,t){return new e({type:"symbol",..._(t)})}function b1(e,t){return new e({type:"undefined",..._(t)})}function x1(e,t){return new e({type:"null",..._(t)})}function v1(e){return new e({type:"any"})}function w1(e){return new e({type:"unknown"})}function _1(e,t){return new e({type:"never",..._(t)})}function L1(e,t){return new e({type:"void",..._(t)})}function $1(e,t){return new e({type:"date",..._(t)})}function I1(e,t){return new e({type:"date",coerce:!0,..._(t)})}function S1(e,t){return new e({type:"nan",..._(t)})}function Ne(e,t){return new no({check:"less_than",..._(t),value:e,inclusive:!1})}function xe(e,t){return new no({check:"less_than",..._(t),value:e,inclusive:!0})}function Pe(e,t){return new oo({check:"greater_than",..._(t),value:e,inclusive:!1})}function ve(e,t){return new oo({check:"greater_than",..._(t),value:e,inclusive:!0})}function oi(e){return Pe(0,e)}function ii(e){return Ne(0,e)}function si(e){return xe(0,e)}function ai(e){return ve(0,e)}function Ue(e,t){return new pa({check:"multiple_of",..._(t),value:e})}function Ke(e,t){return new ha({check:"max_size",..._(t),maximum:e})}function Ae(e,t){return new ka({check:"min_size",..._(t),minimum:e})}function kt(e,t){return new ga({check:"size_equals",..._(t),size:e})}function gt(e,t){return new Ca({check:"max_length",..._(t),maximum:e})}function Ze(e,t){return new ya({check:"min_length",..._(t),minimum:e})}function Ct(e,t){return new ba({check:"length_equals",..._(t),length:e})}function qt(e,t){return new xa({check:"string_format",format:"regex",..._(t),pattern:e})}function Gt(e){return new va({check:"string_format",format:"lowercase",..._(e)})}function Jt(e){return new wa({check:"string_format",format:"uppercase",..._(e)})}function Yt(e,t){return new _a({check:"string_format",format:"includes",..._(t),includes:e})}function Xt(e,t){return new La({check:"string_format",format:"starts_with",..._(t),prefix:e})}function Qt(e,t){return new $a({check:"string_format",format:"ends_with",..._(t),suffix:e})}function ui(e,t,r){return new Ia({check:"property",property:e,schema:t,..._(r)})}function er(e,t){return new Sa({check:"properties",shape:e,..._(t)})}function tr(e,t){return new za({check:"mime_type",mime:e,..._(t)})}function ze(e){return new Ma({check:"overwrite",tx:e})}function rr(e){return ze(t=>t.normalize(e))}function nr(){return ze(e=>e.trim())}function or(){return ze(e=>e.toLowerCase())}function ir(){return ze(e=>e.toUpperCase())}function sr(){return ze(e=>fs(e))}function z1(e,t,r){return new e({type:"array",element:t,..._(r)})}function f3(e,t,r){return new e({type:"union",options:t,..._(r)})}function m3(e,t,r){return new e({type:"union",options:t,inclusive:!1,..._(r)})}function h3(e,t,r,n){return new e({type:"union",options:r,discriminator:t,..._(n)})}function k3(e,t,r){return new e({type:"intersection",left:t,right:r})}function g3(e,t,r,n){let o=r instanceof A,i=o?n:r,s=o?r:null;return new e({type:"tuple",items:t,rest:s,..._(i)})}function C3(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,..._(n)})}function y3(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,..._(n)})}function b3(e,t,r){return new e({type:"set",valueType:t,..._(r)})}function x3(e,t,r){let n=Array.isArray(t)?Object.fromEntries(t.map(o=>[o,o])):t;return new e({type:"enum",entries:n,..._(r)})}function v3(e,t,r){return new e({type:"enum",entries:t,..._(r)})}function w3(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],..._(r)})}function M1(e,t){return new e({type:"file",..._(t)})}function _3(e,t){return new e({type:"transform",transform:t})}function L3(e,t){return new e({type:"optional",innerType:t})}function $3(e,t){return new e({type:"nullable",innerType:t})}function I3(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():Sr(r)}})}function S3(e,t,r){return new e({type:"nonoptional",innerType:t,..._(r)})}function z3(e,t){return new e({type:"success",innerType:t})}function M3(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:bs(r)})}function N3(e,t,r){return new e({type:"pipe",in:t,out:r})}function P3(e,t){return new e({type:"readonly",innerType:t})}function A3(e,t,r){return new e({type:"template_literal",parts:t,..._(r)})}function T3(e,t){return new e({type:"lazy",getter:t})}function E3(e,t){return new e({type:"promise",innerType:t})}function N1(e,t,r){let n=_(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function P1(e,t,r){return new e({type:"custom",check:"custom",fn:t,..._(r)})}function A1(e,t){let r=ip(n=>(n.addIssue=o=>{if(typeof o=="string")n.issues.push(Dt(o,n.value,r._zod.def));else{let i=o;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),"input"in i||(i.input=n.value),i.inst??(i.inst=r),i.continue??(i.continue=!r._zod.def.abort),n.issues.push(Dt(i))}},e(n.value,n)),t);return r}function ip(e,t){let r=new K({check:"custom",..._(t)});return r._zod.check=e,r}function T1(e){let t=new K({check:"describe"});return t._zod.onattach=[r=>{let n=ae.get(r)??{};ae.add(r,{...n,description:e})}],t._zod.check=()=>{},t}function E1(e){let t=new K({check:"meta"});return t._zod.onattach=[r=>{let n=ae.get(r)??{};ae.add(r,{...n,...e})}],t._zod.check=()=>{},t}function O1(e,t){let r=_(t),n=r.truthy??["true","1","yes","on","y","enabled"],o=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(n=n.map(m=>typeof m=="string"?m.toLowerCase():m),o=o.map(m=>typeof m=="string"?m.toLowerCase():m));let i=new Set(n),s=new Set(o),a=e.Codec??Jr,c=e.Boolean??qr,u=e.String??dt,l=new u({type:"string",error:r.error}),d=new c({type:"boolean",error:r.error}),f=new a({type:"pipe",in:l,out:d,transform:((m,g)=>{let C=m;return r.case!=="sensitive"&&(C=C.toLowerCase()),i.has(C)?!0:s.has(C)?!1:(g.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...s],input:g.value,inst:f,continue:!1}),{})}),reverseTransform:((m,g)=>m===!0?n[0]||"true":o[0]||"false"),error:r.error});return f._zod.bag.truthy=n,f._zod.bag.falsy=o,f._zod.bag.case=r.case??"insensitive",f}function yt(e,t,r,n={}){let o=_(n),i={check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:a=>r.test(a),...o};return r instanceof RegExp&&(i.pattern=r),new e(i)}function un(e,...t){for(let r of t)for(let n of Reflect.ownKeys(r))Object.prototype.propertyIsEnumerable.call(r,n)&&se(e,n,r[n]);return e}function qe(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ae,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function te(e,t,r,n,o){let i=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:n.path,message:o}):t.unrepresentable;if(i==="any")return!1;if(i===void 0||i==="throw")throw new Error(o);return Object.assign(r,i),!0}function H(e,t,r={path:[],schemaPath:[]}){var n;let o=e._zod.def,i=t.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;let s={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,s),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let a=e._zod.toJSONSchema?.();if(a)s.schema=a;else{let l={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,s.schema,l);else{let f=s.schema,m=t.processors[o.type];if(!m)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);m(e,t,f,l)}let d=e._zod.parent;d&&(s.ref||(s.ref=d),H(d,t,l),t.seen.get(d).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&un(s.schema,c),t.io==="input"&&fe(e)&&(delete s.schema.examples,delete s.schema.default),t.io==="input"&&"_prefault"in s.schema&&((n=s.schema).default??(n.default=s.schema._prefault)),delete s.schema._prefault,t.seen.get(e).schema}function sp(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Ge(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let n=new Map;for(let s of e.seen.entries()){let a=e.metadataRegistry.get(s[0])?.id;if(a){let c=n.get(a);if(c&&c!==s[0])throw new Error(`Duplicate schema id "${a}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(a,s[0])}}let o=s=>{let a=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let d=e.external.registry.get(s[0])?.id,f=e.external.uri??(g=>g);if(d)return{ref:f(d)};let m=s[1].defId??s[1].schema.id??`schema${e.counter++}`;return s[1].defId=m,{defId:m,ref:`${f("__shared")}#/${a}/${sp(m)}`}}let c="#",u=`${c}/${a}/`;if(s[1]===r&&!s[1].schema.id)return{ref:c};let l=s[1].schema.id??`__schema${e.counter++}`;return{defId:l,ref:u+sp(l)}},i=s=>{if(s[1].schema.$ref)return;let a=s[1],{ref:c,defId:u}=o(s);a.def={...a.schema},u&&(a.defId=u);let l=a.schema;for(let d in l)delete l[d];l.$ref=c};if(e.cycles==="throw")for(let s of e.seen.entries()){let a=s[1];if(a.cycle)throw new Error(`Cycle detected: #/${a.cycle?.join("/")}/<root>
|
|
61
61
|
|
|
62
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let s of e.seen.entries()){let a=s[1];if(t===s[0]){i(s);continue}if(e.external){let u=e.external.registry.get(s[0])?.id;if(t!==s[0]&&u){i(s);continue}}if(e.metadataRegistry.get(s[0])?.id){i(s);continue}if(a.cycle){i(s);continue}a.count>1&&e.reused==="ref"&&i(s)}e.external&&(e.sharedDefsExtractedFor=e.external)}function cp(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let r=[];for(let n of t){if(!n||typeof n!="object")return;cp(n);let o=Object.keys(n);if(o.length!==1||o[0]!=="type")return;let i=n.type;for(let s of Array.isArray(i)?i:[i]){if(typeof s!="string")return;r.includes(s)||r.push(s)}}delete e.anyOf,e.type=r.length===1?r[0]:r}var lp=new Set(["type","properties","required","additionalProperties"]),ap=["oneOf","anyOf"];function up(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function R1(e){let t=[];for(let i of e){if(typeof i!="object"||i.type!=="object")return null;for(let s in i)if(!lp.has(s))return null;t.push(i)}let r={},n=new Set;for(let i of t){for(let s in i.properties){if(Object.prototype.hasOwnProperty.call(r,s))continue;let a=[];for(let u of t){let l=u.properties?.[s]??up(u);l!=null&&(a.some(d=>JSON.stringify(d)===JSON.stringify(l))||a.push(l))}let c=a.length===1?a[0]:R1(a)??{allOf:a};se(r,s,c)}for(let s of i.required??[])n.add(s)}let o={type:"object",properties:r};if(n.size&&(o.required=[...n]),t.every(i=>i.additionalProperties===!1))o.additionalProperties=!1;else{let i=[];for(let s of t){let a=up(s);a&&!i.some(c=>JSON.stringify(c)===JSON.stringify(a))&&i.push(a)}i.length===1?o.additionalProperties=i[0]:i.length>1&&(o.additionalProperties={allOf:i})}return o}function O3(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let o of lp)if(o in e)return;let r=t.filter(o=>ap.some(i=>Array.isArray(o[i]))),n=null;if(!r.length)n=R1(t);else{let o=r[0],i=ap.find(c=>Array.isArray(o[c]));if(Object.keys(o).length!==1)return;let s=t.filter(c=>c!==o),a=o[i].map(c=>R1([...s,c]));if(a.some(c=>!c))return;n={[i]:a}}n&&(delete e.allOf,un(e,n))}function Je(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=a=>{let c=e.seen.get(a);if(c.ref===null)return;let u=c.def??c.schema,l={...u},d=c.ref;if(c.ref=null,d){n(d);let m=e.seen.get(d),g=m.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):un(u,g),un(u,l),a._zod.parent===d)for(let y in u)y==="$ref"||y==="allOf"||y in l||delete u[y];if(g.$ref&&m.def)for(let y in u)y==="$ref"||y==="allOf"||y in m.def&&JSON.stringify(u[y])===JSON.stringify(m.def[y])&&delete u[y]}let f=a._zod.parent;if(f&&f!==d){n(f);let m=e.seen.get(f);if(m?.schema.$ref&&(u.$ref=m.schema.$ref,m.def))for(let g in u)g==="$ref"||g==="allOf"||g in m.def&&JSON.stringify(u[g])===JSON.stringify(m.def[g])&&delete u[g]}e.override({zodSchema:a,jsonSchema:u,path:c.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let a of[...e.seen.entries()].reverse())n(a[0]);if(e.target!=="openapi-3.0")for(let a of e.seen.entries())cp(a[1].def??a[1].schema);for(let a of e.deferred)a();if(e.intersections.length){let a=new Map;for(let c of e.seen.values())for(let u of[c.schema,c.def]){let l=u?.allOf;if(!Array.isArray(l))continue;let d=a.get(l);d?d.push(u):a.set(l,[u])}for(let c of e.intersections)for(let u of a.get(c)??[])O3(u)}}let o={};if(e.target==="draft-2020-12"?o.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?o.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?o.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let a=e.external.registry.get(t)?.id;if(!a)throw new Error("Schema is missing an `id` property");o.$id=e.external.uri(a)}un(o,r.defId?r.schema:r.def??r.schema);let i=e.metadataRegistry.get(t)?.id;i!==void 0&&o.id===i&&delete o.id;let s=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let a of e.seen.entries()){let c=a[1];c.def&&c.defId&&(c.def.id===c.defId&&delete c.def.id,se(s,c.defId,c.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(s).length>0&&(e.target==="draft-2020-12"?o.$defs=s:o.definitions=s);try{let a=JSON.parse(JSON.stringify(o));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:ar(t,"input",e.processors),output:ar(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error("Error converting schema to JSON.")}}function fe(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return fe(n.element,r);if(n.type==="set")return fe(n.valueType,r);if(n.type==="lazy")return fe(n.getter(),r);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault"||n.type==="catch")return fe(n.innerType,r);if(n.type==="intersection")return fe(n.left,r)||fe(n.right,r);if(n.type==="record"||n.type==="map")return fe(n.keyType,r)||fe(n.valueType,r);if(n.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:fe(n.in,r)||fe(n.out,r);if(n.type==="object"){for(let o in n.shape)if(fe(n.shape[o],r))return!0;return!1}if(n.type==="union"){for(let o of n.options)if(fe(o,r))return!0;return!1}if(n.type==="tuple"){for(let o of n.items)if(fe(o,r))return!0;return!!(n.rest&&fe(n.rest,r))}return!1}var Z1=(e,t={})=>r=>{let n=qe({...r,processors:t});return H(e,n),Ge(n,e),Je(n,e)},ar=(e,t,r={})=>n=>{let{libraryOptions:o,target:i}=n??{},s=qe({...o??{},target:i,io:t,processors:r});return H(e,s),Ge(s,e),Je(s,e)};var ur=(e,t,r)=>{(e[t]===void 0||r>e[t])&&(e[t]=r)},cr=(e,t,r)=>{(e[t]===void 0||r<e[t])&&(e[t]=r)},dp=(e,t)=>{ur(e,"minimum",t),cr(e,"maximum",t)},hp=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},kp=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},gp=(e,t)=>{e.mime=e.mime?e.mime.filter(r=>t.includes(r)):[...t]},Cp=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},pp=(e,t)=>ur(e,"minimum",t.minimum),fp=(e,t)=>cr(e,"maximum",t.maximum),mp=e=>(t,r)=>{Cp(t,r.format);let[n,o]=e[r.format];ur(t,"minimum",n),cr(t,"maximum",o)},R3={greater_than:(e,t)=>ur(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>cr(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>hp(e,t.value),number_format:mp(Mr),bigint_format:mp(Nr),min_length:pp,max_length:fp,length_equals:(e,t)=>dp(e,t.length),min_size:pp,max_size:fp,size_equals:(e,t)=>dp(e,t.size),string_format:(e,t)=>{Cp(e,t.format),t.pattern&&kp(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>gp(e,t.mime)};function re(e){let t={},r=e._zod.def,n=e._zod.traits.has("$ZodCheck")?[e,...r.checks??[]]:r.checks??[];for(let i of n)R3[i._zod.def.check]?.(t,i._zod.def);let o=e._zod.bag;o.minimum!==void 0&&ur(t,"minimum",o.minimum),o.exclusiveMinimum!==void 0&&ur(t,"exclusiveMinimum",o.exclusiveMinimum),o.maximum!==void 0&&cr(t,"maximum",o.maximum),o.exclusiveMaximum!==void 0&&cr(t,"exclusiveMaximum",o.exclusiveMaximum),o.multipleOf!==void 0&&hp(t,o.multipleOf),o.format!==void 0&&(t.format??(t.format=o.format),o.format.includes("int")&&(t.isInt=!0)),o.mime&&gp(t,o.mime);for(let i of o.patterns??[])kp(t,i);return t}var Z3={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},D3=new Map([[ho,Us],[Kr,Ks]]),yp=e=>D3.get(e)??e,W1=(e,t,r,n)=>{let o=r;o.type="string";let{minimum:i,maximum:s,format:a,patterns:c,contentEncoding:u,laxFormat:l}=re(e);if(typeof i=="number"&&(o.minLength=i),typeof s=="number"&&(o.maxLength=s),a&&(o.format=Z3[a]??a,o.format===""&&delete o.format,(a==="time"||l)&&delete o.format),u&&(o.contentEncoding=u),c&&c.size>0){let d=[...c].map(yp);d.length===1?o.pattern=d[0].source:d.length>1&&(o.allOf=[...d.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},V1=(e,t,r,n)=>{let o=r,{minimum:i,maximum:s,multipleOf:a,exclusiveMaximum:c,exclusiveMinimum:u,isInt:l}=re(e);o.type=l?"integer":"number";let d=typeof u=="number"&&u>=(i??Number.NEGATIVE_INFINITY),f=typeof c=="number"&&c<=(s??Number.POSITIVE_INFINITY),m=t.target==="draft-04"||t.target==="openapi-3.0";if(d?m?(o.minimum=u,o.exclusiveMinimum=!0):o.exclusiveMinimum=u:typeof i=="number"&&(o.minimum=i),f?m?(o.maximum=c,o.exclusiveMaximum=!0):o.exclusiveMaximum=c:typeof s=="number"&&(o.maximum=s),a){let g=new Set;for(let x of a)Number.isFinite(x)&&x!==0?g.add(Math.abs(x)):te(e,t,o,n,`A multipleOf divisor of ${x} cannot be represented in JSON Schema`);let[C,...y]=g;C!==void 0&&(o.multipleOf=C),y.length&&(o.allOf=[...o.allOf??[],...y.map(x=>({multipleOf:x}))])}},B1=(e,t,r,n)=>{r.type="boolean"},F1=(e,t,r,n)=>{te(e,t,r,n,"BigInt cannot be represented in JSON Schema")},H1=(e,t,r,n)=>{te(e,t,r,n,"Symbols cannot be represented in JSON Schema")},U1=(e,t,r,n)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},K1=(e,t,r,n)=>{te(e,t,r,n,"Undefined cannot be represented in JSON Schema")},q1=(e,t,r,n)=>{te(e,t,r,n,"Void cannot be represented in JSON Schema")},G1=(e,t,r,n)=>{r.not={}},J1=(e,t,r,n)=>{},Y1=(e,t,r,n)=>{},X1=(e,t,r,n)=>{te(e,t,r,n,"Date cannot be represented in JSON Schema")},Q1=(e,t,r,n)=>{let o=e._zod.def,i=Et(o.entries);if(i.length===0){r.not={};return}i.every(s=>typeof s=="number")&&(r.type="number"),i.every(s=>typeof s=="string")&&(r.type="string"),r.enum=i},ec=(e,t,r,n)=>{let o=e._zod.def;if(o.values.length===0){r.not={};return}let i=[];for(let s of o.values)if(s===void 0){if(te(e,t,r,n,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof s=="bigint"){if(te(e,t,r,n,"BigInt literals cannot be represented in JSON Schema"))return;i.push(Number(s))}else i.push(s);if(i.length!==0)if(i.length===1){let s=i[0];r.type=s===null?"null":typeof s,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[s]:r.const=s}else i.every(s=>typeof s=="number")&&(r.type="number"),i.every(s=>typeof s=="string")&&(r.type="string"),i.every(s=>typeof s=="boolean")&&(r.type="boolean"),i.every(s=>s===null)&&(r.type="null"),r.enum=i},tc=(e,t,r,n)=>{te(e,t,r,n,"NaN cannot be represented in JSON Schema")},rc=(e,t,r,n)=>{let o=r,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");o.type="string",o.pattern=i.source},nc=(e,t,r,n)=>{let o=r;o.type="string",o.format="binary",o.contentEncoding="binary";let{minimum:i,maximum:s,mime:a}=re(e);i!==void 0&&(o.minLength=i),s!==void 0&&(o.maxLength=s),a&&(a.length===0?o.not={}:a.length===1?o.contentMediaType=a[0]:o.anyOf=a.map(c=>({contentMediaType:c})))},oc=(e,t,r,n)=>{r.type="boolean"},ic=(e,t,r,n)=>{te(e,t,r,n,"Custom types cannot be represented in JSON Schema")},sc=(e,t,r,n)=>{te(e,t,r,n,"Function types cannot be represented in JSON Schema")},ac=(e,t,r,n)=>{te(e,t,r,n,"Transforms cannot be represented in JSON Schema")},uc=(e,t,r,n)=>{te(e,t,r,n,"Map cannot be represented in JSON Schema")},cc=(e,t,r,n)=>{te(e,t,r,n,"Set cannot be represented in JSON Schema")},lc=(e,t,r,n)=>{let o=r,i=e._zod.def,{minimum:s,maximum:a}=re(e);typeof s=="number"&&(o.minItems=s),typeof a=="number"&&(o.maxItems=a),o.type="array",o.items=H(i.element,t,{...n,path:[...n.path,"items"]})};function cn(e){let t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?cn(t.out):t.type==="catch"?cn(t.innerType):e._zod.optin}var dc=(e,t,r,n)=>{let o=r,i=e._zod.def,s=i.shape;if(Object.getOwnPropertySymbols(s).length&&te(e,t,o,n,"Symbol keys cannot be represented in JSON Schema"))return;o.type="object",o.properties={};for(let u in s)se(o.properties,u,H(s[u],t,{...n,path:[...n.path,"properties",u]}));let c=[];for(let u of Object.keys(s)){let l=i.shape[u];(t.io==="input"?cn(l)===void 0:l._zod.optout===void 0)&&c.push(u)}c.length>0&&(o.required=c),i.catchall?._zod.def.type==="never"?o.additionalProperties=!1:i.catchall?i.catchall&&(o.additionalProperties=H(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(o.additionalProperties=!1)},li=(e,t,r,n)=>{let o=e._zod.def,i=o.inclusive===!1,s=o.options.map((a,c)=>H(a,t,{...n,path:[...n.path,i?"oneOf":"anyOf",c]}));i?r.oneOf=s:r.anyOf=s},pc=(e,t,r,n)=>{let o=e._zod.def,i=H(o.left,t,{...n,path:[...n.path,"allOf",0]}),s=H(o.right,t,{...n,path:[...n.path,"allOf",1]}),a=u=>"allOf"in u&&Object.keys(u).length===1,c=[...a(i)?i.allOf:[i],...a(s)?s.allOf:[s]];r.allOf=c,t.intersections.push(c)},fc=(e,t,r,n)=>{let o=r,i=e._zod.def;o.type="array";let s=t.target==="draft-2020-12"?"prefixItems":"items",a=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",c=i.items.map((C,y)=>H(C,t,{...n,path:[...n.path,s,y]})),u=i.rest?H(i.rest,t,{...n,path:[...n.path,a,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null,l=i.items.length;for(;l>0;){let C=i.items[l-1];if(!(t.io==="input"?cn(C)!==void 0:C._zod.optout==="optional"))break;l--}let d=i.items.length,f=!i.rest;t.target==="draft-2020-12"?(o.prefixItems=c,f?o.items=!1:u&&(o.items=u),l>0&&(o.minItems=l),f&&(o.maxItems=d)):t.target==="openapi-3.0"?(o.items={anyOf:c},u&&o.items.anyOf.push(u),l>0&&(o.minItems=l),f&&(o.maxItems=d)):(o.items=c,f?o.additionalItems=!1:u&&(o.additionalItems=u),l>0&&(o.minItems=l),f&&(o.maxItems=d));let{minimum:m,maximum:g}=re(e);typeof m=="number"&&(o.minItems=m),typeof g=="number"&&(o.maxItems=g)};function D1(e,t,r){if(t.$ref){if(r.has(t))return t;r.add(t);let g=e.get(t)?.def;if(!g)return t;let C=D1(e,g,r);return C===g?t:C}for(let g of["anyOf","oneOf"]){let C=t[g];if(!Array.isArray(C))continue;let y=C.map(x=>D1(e,x,r));y.some((x,w)=>x!==C[w])&&(t={...t,[g]:y})}let n=Array.isArray(t.type)?t.type:[t.type],o=!n.includes("string")&&n.some(g=>g==="number"||g==="integer"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!o&&!i?.some(g=>typeof g=="number"))return t;let{minimum:s,maximum:a,exclusiveMinimum:c,exclusiveMaximum:u,multipleOf:l,format:d,id:f,...m}=t;return m.enum?m.enum=m.enum.map(g=>typeof g=="number"?String(g):g):typeof m.const=="number"&&(m.const=String(m.const)),o&&(m.type="string",i||(m.pattern=(n.includes("number")?Re:jr).source)),m}var j1=new WeakMap;function j3(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let r=new Map;for(let n of j1.get(e)??[]){let o=e.seen.get(n),i=(o?.def??o?.schema)?.propertyNames;if(!i||i===!0||r.has(i))continue;let s=D1(t,i,new Set);s!==i&&r.set(i,s)}if(r.size)for(let n of e.seen.values())for(let o of[n.schema,n.def]){let i=o&&r.get(o.propertyNames);i&&(o.propertyNames=i)}}var mc=(e,t,r,n)=>{let o=r,i=e._zod.def;o.type="object";let s=i.keyType,a=re(s).patterns;if(i.mode==="loose"&&a&&a.size>0){let l=H(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});o.patternProperties={};for(let d of a)se(o.patternProperties,yp(d).source,l)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){o.propertyNames=H(i.keyType,t,{...n,path:[...n.path,"propertyNames"]});let l=j1.get(t);l||(l=[],j1.set(t,l),t.deferred.push(()=>j3(t))),l.push(e)}o.additionalProperties=H(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]})}let c=s._zod.values,u=t.io==="input"&&cn(i.valueType)!==void 0;if(c&&!i.partial&&!u){let l=[...c].filter(d=>typeof d=="string"||typeof d=="number");l.length>0&&(o.required=l.map(String))}},hc=(e,t,r,n)=>{let o=e._zod.def,i=H(o.innerType,t,n),s=t.seen.get(e);t.target==="openapi-3.0"?(s.ref=o.innerType,r.nullable=!0):r.anyOf=[i,{type:"null"}]},kc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},gc=Symbol();function bp(e,t,r,n,o){let i=!1,s=JSON.stringify(e,(a,c)=>typeof c!="bigint"?c:(i=!0,null));return i?(te(t,r,n,o,"BigInt defaults cannot be represented in JSON Schema"),gc):JSON.parse(s)}var Cc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType;let s=bp(o.defaultValue,e,t,r,n);s!==gc&&(r.default=s)},yc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);if(i.ref=o.innerType,t.io!=="input")return;let s=bp(o.defaultValue,e,t,r,n);s!==gc&&(r._prefault=s)},bc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType;let s;try{s=o.catchValue(void 0)}catch{te(e,t,r,n,"Dynamic catch values are not supported in JSON Schema");return}r.default=s},xc=(e,t,r,n)=>{let o=e._zod.def,i=o.in._zod.traits.has("$ZodTransform"),s=t.io==="input"?i?o.out:o.in:o.out;H(s,t,n);let a=t.seen.get(e);a.ref=s},vc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType,r.readOnly=!0},wc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},di=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},_c=(e,t,r,n)=>{let o=e._zod.innerType;H(o,t,n);let i=t.seen.get(e);i.ref=o},ci={string:W1,number:V1,boolean:B1,bigint:F1,symbol:H1,null:U1,undefined:K1,void:q1,never:G1,any:J1,unknown:Y1,date:X1,enum:Q1,literal:ec,nan:tc,template_literal:rc,file:nc,success:oc,custom:ic,function:sc,transform:ac,map:uc,set:cc,array:lc,object:dc,union:li,intersection:pc,tuple:fc,record:mc,nullable:hc,nonoptional:kc,default:Cc,prefault:yc,catch:bc,pipe:xc,readonly:vc,promise:wc,optional:di,lazy:_c};function pi(e,t){if("_idmap"in e){let n=e,o=qe({...t,processors:ci}),i={};for(let c of n._idmap.entries()){let[u,l]=c;H(l,o)}let s={},a={registry:n,uri:t?.uri,defs:i};o.external=a;for(let c of n._idmap.entries()){let[u,l]=c;Ge(o,l),se(s,u,Je(o,l))}if(Object.keys(i).length>0){let c=o.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[c]:i}}return{schemas:s}}let r=qe({...t,processors:ci});return H(e,r),Ge(r,e),Je(r,e)}var fi=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=qe({processors:ci,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return H(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,Ge(this.ctx,t);let n=Je(this.ctx,t),{"~standard":o,...i}=n;return i}};var xp={};var gr={};$e(gr,{ZodAny:()=>Uc,ZodArray:()=>Jc,ZodBase64:()=>Pi,ZodBase64URL:()=>Ai,ZodBigInt:()=>hr,ZodBigIntFormat:()=>Oi,ZodBoolean:()=>mr,ZodCIDRv4:()=>Mi,ZodCIDRv6:()=>Ni,ZodCUID:()=>wi,ZodCUID2:()=>_i,ZodCatch:()=>gl,ZodCodec:()=>yn,ZodCreditCard:()=>Zc,ZodCustom:()=>bn,ZodCustomStringFormat:()=>wt,ZodDate:()=>fn,ZodDefault:()=>dl,ZodDiscriminatedUnion:()=>Xc,ZodE164:()=>Ti,ZodEmail:()=>yi,ZodEmoji:()=>xi,ZodEnum:()=>dr,ZodExactOptional:()=>ji,ZodFile:()=>al,ZodFunction:()=>Il,ZodGUID:()=>bi,ZodIBAN:()=>Dc,ZodIPv4:()=>Si,ZodIPv6:()=>zi,ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>et,ZodISOTime:()=>Qe,ZodInstanceOf:()=>Ml,ZodIntersection:()=>Qc,ZodJWT:()=>Ei,ZodKSUID:()=>Ii,ZodLazy:()=>_l,ZodLiteral:()=>sl,ZodMAC:()=>Rc,ZodMap:()=>ol,ZodNaN:()=>yl,ZodNanoID:()=>vi,ZodNever:()=>qc,ZodNonOptional:()=>Wi,ZodNull:()=>Fc,ZodNullable:()=>ll,ZodNumber:()=>fr,ZodNumberFormat:()=>_t,ZodObject:()=>hn,ZodOptional:()=>gn,ZodPipe:()=>Cn,ZodPrefault:()=>fl,ZodPreprocess:()=>bl,ZodPromise:()=>$l,ZodReadonly:()=>xl,ZodRecord:()=>lr,ZodSet:()=>il,ZodString:()=>pr,ZodStringFormat:()=>U,ZodSuccess:()=>kl,ZodSymbol:()=>Vc,ZodTemplateLiteral:()=>wl,ZodTransform:()=>ul,ZodTuple:()=>tl,ZodType:()=>E,ZodULID:()=>Li,ZodURL:()=>pn,ZodUUID:()=>Te,ZodUndefined:()=>Bc,ZodUnion:()=>kn,ZodUnknown:()=>Kc,ZodVoid:()=>Gc,ZodXID:()=>$i,ZodXor:()=>Yc,_ZodString:()=>Ci,_default:()=>pl,_function:()=>A2,any:()=>l2,array:()=>mn,base64:()=>Fp,base64url:()=>Hp,bigint:()=>i2,boolean:()=>Wc,catch:()=>Cl,check:()=>T2,cidrv4:()=>Vp,cidrv6:()=>Bp,codec:()=>z2,creditCard:()=>Kp,cuid:()=>Tp,cuid2:()=>Ep,currencyCode:()=>Qp,custom:()=>E2,date:()=>p2,describe:()=>O2,discriminatedUnion:()=>C2,e164:()=>Up,email:()=>_p,emoji:()=>Pp,enum:()=>Zi,exactOptional:()=>cl,file:()=>L2,float32:()=>t2,float64:()=>r2,function:()=>A2,guid:()=>Lp,hash:()=>e2,hex:()=>Xp,hostname:()=>Yp,httpUrl:()=>Np,iban:()=>qp,instanceof:()=>Z2,int:()=>ki,int32:()=>n2,int64:()=>s2,intersection:()=>el,invertCodec:()=>M2,ipv4:()=>Dp,ipv6:()=>Wp,json:()=>j2,jwt:()=>Gp,keyof:()=>f2,ksuid:()=>Zp,lazy:()=>Ll,literal:()=>_2,looseObject:()=>k2,looseRecord:()=>b2,mac:()=>jp,map:()=>x2,meta:()=>R2,nan:()=>S2,nanoid:()=>Ap,nativeEnum:()=>w2,never:()=>Ri,nonoptional:()=>hl,null:()=>Hc,nullable:()=>dn,nullish:()=>$2,number:()=>jc,object:()=>m2,optional:()=>xt,partialRecord:()=>y2,pipe:()=>gi,prefault:()=>ml,preprocess:()=>W2,promise:()=>P2,readonly:()=>vl,record:()=>nl,refine:()=>Sl,set:()=>v2,strictObject:()=>h2,string:()=>ln,stringFormat:()=>Jp,stringbool:()=>D2,success:()=>I2,superRefine:()=>zl,symbol:()=>u2,templateLiteral:()=>N2,transform:()=>Di,tuple:()=>rl,uint32:()=>o2,uint64:()=>a2,ulid:()=>Op,undefined:()=>c2,union:()=>kr,unknown:()=>bt,url:()=>Mp,uuid:()=>$p,uuidv4:()=>Ip,uuidv6:()=>Sp,uuidv7:()=>zp,void:()=>d2,xid:()=>Rp,xor:()=>g2});var mi={};$e(mi,{endsWith:()=>Qt,gt:()=>Pe,gte:()=>ve,includes:()=>Yt,length:()=>Ct,lowercase:()=>Gt,lt:()=>Ne,lte:()=>xe,maxLength:()=>gt,maxSize:()=>Ke,mime:()=>tr,minLength:()=>Ze,minSize:()=>Ae,multipleOf:()=>Ue,negative:()=>ii,nonnegative:()=>ai,nonpositive:()=>si,normalize:()=>rr,overwrite:()=>ze,positive:()=>oi,properties:()=>er,property:()=>ui,regex:()=>qt,size:()=>kt,slugify:()=>sr,startsWith:()=>Xt,toLowerCase:()=>or,toUpperCase:()=>ir,trim:()=>nr,uppercase:()=>Jt});var vp=new WeakSet([Object.prototype,Error.prototype]);function hi(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let n=r(this);return Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0})}})}var wp=(e,t)=>{$s.init(e,t),e.name="ZodError";let r=Object.getPrototypeOf(e);vp.has(r)||(vp.add(r),hi(r,"format",n=>o=>Or(n,o)),hi(r,"flatten",n=>o=>Er(n,o)),hi(r,"addIssue",n=>o=>{n.issues.push(o),n.message=JSON.stringify(n.issues,Ot,2)}),hi(r,"addIssues",n=>o=>{n.issues.push(...o),n.message=JSON.stringify(n.issues,Ot,2)}),Object.defineProperty(r,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},V3=k("ZodError",wp),be=k("ZodError",wp,void 0,{Parent:Error});var Lc=jt(be),$c=Wt(be),Ic=Vt(be),Sc=Bt(be),zc=Hn(be),Mc=Un(be),Nc=Kn(be),Pc=qn(be),Ac=Gn(be),Tc=Jn(be),Ec=Yn(be),Oc=Xn(be);function F3(){ne.localeError||X(No())}function vt(){ne.memoizer||X({memoizer:en()})}var E=k("ZodType",(e,t)=>(F3(),A.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(S.mergeDefs(t,{checks:[...t.checks??[],...e.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return B(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Sl(e,t))},superRefine(e,t){return this.check(zl(e,t))},overwrite(e){return this.check(ze(e))},optional(){return xt(this)},exactOptional(){return cl(this)},nullable(){return dn(this)},nullish(){return xt(dn(this))},nonoptional(e){return hl(this,e)},array(){return mn(this)},or(e){return kr([this,e])},and(e){return el(this,e)},transform(e){return gi(this,Di(e))},default(e){return pl(this,e)},prefault(e){return ml(this,e)},catch(e){return Cl(this,e)},pipe(e){return gi(this,e)},readonly(){return vl(this)},describe(e){let t=this.clone();return ae.add(t,{description:e}),t},meta(...e){if(e.length===0)return ae.get(this);let t=this.clone();return ae.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return S.hide(this,"~standard",{...co(this),jsonSchema:{input:ar(this,"input"),output:ar(this,"output")}})},set"~standard"(e){S.own(this,"~standard",e)},parse:function e(t,r){return Lc(this,t,r,{callee:e})},parseAsync:async function e(t,r){return await $c(this,t,r,{callee:e})},safeParse(e,t){return Ic(this,e,t)},async safeParseAsync(e,t){return Sc(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){S.own(this,"spa",e)},validate(e,t){return Rr(this,e,t)},validateAsync(e,t){return Zr(this,e,t)},encode:function e(t,r){return zc(this,t,r,{callee:e})},decode:function e(t,r){return Mc(this,t,r,{callee:e})},encodeAsync:async function e(t,r){return await Nc(this,t,r,{callee:e})},decodeAsync:async function e(t,r){return await Pc(this,t,r,{callee:e})},safeEncode(e,t){return Ac(this,e,t)},safeDecode(e,t){return Tc(this,e,t)},async safeEncodeAsync(e,t){return Ec(this,e,t)},async safeDecodeAsync(e,t){return Oc(this,e,t)},toJSONSchema(e){return Z1(this,{})(e)},get description(){return ae.get(this)?.description},get _def(){return this._zod.def}}),Ci=k("_ZodString",(e,t)=>{dt.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>W1(e,r,n,o)},S.derived({format:e=>re(e).format??null,minLength:e=>re(e).minimum??null,maxLength:e=>re(e).maximum??null},{regex(...e){return this.check(qt(...e))},includes(...e){return this.check(Yt(...e))},startsWith(...e){return this.check(Xt(...e))},endsWith(...e){return this.check(Qt(...e))},min(...e){return this.check(Ze(...e))},max(...e){return this.check(gt(...e))},length(...e){return this.check(Ct(...e))},nonempty(...e){return this.check(Ze(1,...e))},lowercase(e){return this.check(Gt(e))},uppercase(e){return this.check(Jt(e))},trim(){return this.check(nr())},normalize(...e){return this.check(rr(...e))},toLowerCase(){return this.check(or())},toUpperCase(){return this.check(ir())},slugify(){return this.check(sr())}})),pr=k("ZodString",(e,t)=>{dt.init(e,t),Ci.init(e,t)},{email(e){return this.check(Ro(yi,e))},url(e){return this.check(rn(pn,e))},jwt(e){return this.check(ni(Ei,e))},emoji(e){return this.check(Bo(xi,e))},guid(e){return this.check(Zo(bi,e))},uuid(e){return this.check(Do(Te,e))},uuidv4(e){return this.check(jo(Te,e))},uuidv6(e){return this.check(Wo(Te,e))},uuidv7(e){return this.check(Vo(Te,e))},nanoid(e){return this.check(Fo(vi,e))},cuid(e){return this.check(Ho(wi,e))},cuid2(e){return this.check(Uo(_i,e))},ulid(e){return this.check(Ko(Li,e))},base64(e){return this.check(ei(Pi,e))},base64url(e){return this.check(ti(Ai,e))},xid(e){return this.check(qo($i,e))},ksuid(e){return this.check(Go(Ii,e))},ipv4(e){return this.check(Jo(Si,e))},ipv6(e){return this.check(Yo(zi,e))},cidrv4(e){return this.check(Xo(Mi,e))},cidrv6(e){return this.check(Qo(Ni,e))},e164(e){return this.check(ri(Ti,e))},datetime(e){return this.check(nn(Ye,e))},date(e){return this.check(on(Xe,e))},time(e){return this.check(sn(Qe,e))},duration(e){return this.check(an(et,e))}});function ln(e){return e1(pr,e)}var U=k("ZodStringFormat",(e,t)=>{F.init(e,t),Ci.init(e,t)}),Ye=k("ZodISODateTime",(e,t)=>{Ua.init(e,t),U.init(e,t)}),Xe=k("ZodISODate",(e,t)=>{Ka.init(e,t),U.init(e,t)}),Qe=k("ZodISOTime",(e,t)=>{qa.init(e,t),U.init(e,t)}),et=k("ZodISODuration",(e,t)=>{Ga.init(e,t),U.init(e,t)}),yi=k("ZodEmail",(e,t)=>{Ea.init(e,t),U.init(e,t)});function _p(e){return Ro(yi,e)}var bi=k("ZodGUID",(e,t)=>{Aa.init(e,t),U.init(e,t)});function Lp(e){return Zo(bi,e)}var Te=k("ZodUUID",(e,t)=>{Ta.init(e,t),U.init(e,t)});function $p(e){return Do(Te,e)}function Ip(e){return jo(Te,e)}function Sp(e){return Wo(Te,e)}function zp(e){return Vo(Te,e)}var pn=k("ZodURL",(e,t)=>{Za.init(e,t),U.init(e,t)});function Mp(e){return rn(pn,e)}function Np(e){return rn(pn,{protocol:Dr,hostname:Gs,...S.normalizeParams(e)})}var xi=k("ZodEmoji",(e,t)=>{Da.init(e,t),U.init(e,t)});function Pp(e){return Bo(xi,e)}var vi=k("ZodNanoID",(e,t)=>{ja.init(e,t),U.init(e,t)});function Ap(e){return Fo(vi,e)}var wi=k("ZodCUID",(e,t)=>{Wa.init(e,t),U.init(e,t)});function Tp(e){return Ho(wi,e)}var _i=k("ZodCUID2",(e,t)=>{Va.init(e,t),U.init(e,t)});function Ep(e){return Uo(_i,e)}var Li=k("ZodULID",(e,t)=>{Ba.init(e,t),U.init(e,t)});function Op(e){return Ko(Li,e)}var $i=k("ZodXID",(e,t)=>{Fa.init(e,t),U.init(e,t)});function Rp(e){return qo($i,e)}var Ii=k("ZodKSUID",(e,t)=>{Ha.init(e,t),U.init(e,t)});function Zp(e){return Go(Ii,e)}var Si=k("ZodIPv4",(e,t)=>{Ja.init(e,t),U.init(e,t)});function Dp(e){return Jo(Si,e)}var Rc=k("ZodMAC",(e,t)=>{Xa.init(e,t),U.init(e,t)});function jp(e){return r1(Rc,e)}var zi=k("ZodIPv6",(e,t)=>{Ya.init(e,t),U.init(e,t)});function Wp(e){return Yo(zi,e)}var Mi=k("ZodCIDRv4",(e,t)=>{Qa.init(e,t),U.init(e,t)});function Vp(e){return Xo(Mi,e)}var Ni=k("ZodCIDRv6",(e,t)=>{eu.init(e,t),U.init(e,t)});function Bp(e){return Qo(Ni,e)}var Pi=k("ZodBase64",(e,t)=>{tu.init(e,t),U.init(e,t)});function Fp(e){return ei(Pi,e)}var Ai=k("ZodBase64URL",(e,t)=>{ru.init(e,t),U.init(e,t)});function Hp(e){return ti(Ai,e)}var Ti=k("ZodE164",(e,t)=>{nu.init(e,t),U.init(e,t)});function Up(e){return ri(Ti,e)}var Zc=k("ZodCreditCard",(e,t)=>{ou.init(e,t),U.init(e,t)});function Kp(e){return n1(Zc,e)}var Dc=k("ZodIBAN",(e,t)=>{iu.init(e,t),U.init(e,t)});function qp(e){return o1(Dc,e)}var Ei=k("ZodJWT",(e,t)=>{su.init(e,t),U.init(e,t)});function Gp(e){return ni(Ei,e)}var wt=k("ZodCustomStringFormat",(e,t)=>{au.init(e,t),U.init(e,t)});function Jp(e,t,r={}){return yt(wt,e,t,r)}function Yp(e){return yt(wt,"hostname",qs,e)}function Xp(e){return yt(wt,"hex",ca,e)}function Qp(e){return yt(wt,"currency_code",Ys,e)}function e2(e,t){let r=t?.enc??"hex",n=`${e}_${r}`,o=Le[n];if(!o)throw new Error(`Unrecognized hash format: ${n}`);return yt(wt,n,o,t)}var fr=k("ZodNumber",(e,t)=>{bo.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>V1(e,r,n,o),e.isFinite=!0},S.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:r}=re(e);return Math.max(t??Number.NEGATIVE_INFINITY,r??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:r}=re(e);return Math.min(t??Number.POSITIVE_INFINITY,r??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:r}=re(e);return!!t||!!r?.some(Number.isSafeInteger)},format:e=>re(e).format??null},{gt(e,t){return this.check(Pe(e,t))},gte(e,t){return this.check(ve(e,t))},min(e,t){return this.check(ve(e,t))},lt(e,t){return this.check(Ne(e,t))},lte(e,t){return this.check(xe(e,t))},max(e,t){return this.check(xe(e,t))},int(e){return this.check(ki(e))},safe(e){return this.check(ki(e))},positive(e){return this.check(Pe(0,e))},nonnegative(e){return this.check(ve(0,e))},negative(e){return this.check(Ne(0,e))},nonpositive(e){return this.check(xe(0,e))},multipleOf(e,t){return this.check(Ue(e,t))},step(e,t){return this.check(Ue(e,t))},finite(){return this}}));function jc(e){return s1(fr,e)}var _t=k("ZodNumberFormat",(e,t)=>{uu.init(e,t),fr.init(e,t)});function ki(e){return u1(_t,e)}function t2(e){return c1(_t,e)}function r2(e){return l1(_t,e)}function n2(e){return d1(_t,e)}function o2(e){return p1(_t,e)}var mr=k("ZodBoolean",(e,t)=>{qr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>B1(e,r,n,o)});function Wc(e){return f1(mr,e)}var hr=k("ZodBigInt",(e,t)=>{xo.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>F1(e,r,n,o)},S.derived({minValue:e=>re(e).minimum??null,maxValue:e=>re(e).maximum??null,format:e=>re(e).format??null},{gte(e,t){return this.check(ve(e,t))},min(e,t){return this.check(ve(e,t))},gt(e,t){return this.check(Pe(e,t))},lt(e,t){return this.check(Ne(e,t))},lte(e,t){return this.check(xe(e,t))},max(e,t){return this.check(xe(e,t))},positive(e){return this.check(Pe(BigInt(0),e))},negative(e){return this.check(Ne(BigInt(0),e))},nonpositive(e){return this.check(xe(BigInt(0),e))},nonnegative(e){return this.check(ve(BigInt(0),e))},multipleOf(e,t){return this.check(Ue(e,t))}}));function i2(e){return h1(hr,e)}var Oi=k("ZodBigIntFormat",(e,t)=>{cu.init(e,t),hr.init(e,t)});function s2(e){return g1(Oi,e)}function a2(e){return C1(Oi,e)}var Vc=k("ZodSymbol",(e,t)=>{lu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>H1(e,r,n,o)});function u2(e){return y1(Vc,e)}var Bc=k("ZodUndefined",(e,t)=>{du.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>K1(e,r,n,o)});function c2(e){return b1(Bc,e)}var Fc=k("ZodNull",(e,t)=>{pu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>U1(e,r,n,o)});function Hc(e){return x1(Fc,e)}var Uc=k("ZodAny",(e,t)=>{fu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>J1(e,r,n,o)});function l2(){return v1(Uc)}var Kc=k("ZodUnknown",(e,t)=>{mu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Y1(e,r,n,o)});function bt(){return w1(Kc)}var qc=k("ZodNever",(e,t)=>{hu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>G1(e,r,n,o)});function Ri(e){return _1(qc,e)}var Gc=k("ZodVoid",(e,t)=>{ku.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>q1(e,r,n,o)});function d2(e){return L1(Gc,e)}var fn=k("ZodDate",(e,t)=>{gu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>X1(e,r,n,o),e.min=(r,n)=>e.check(ve(r,n)),e.max=(r,n)=>e.check(xe(r,n))},S.derived({minDate:e=>{let{minimum:t}=re(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=re(e);return t?new Date(t):null}},{}));function p2(e){return $1(fn,e)}var Jc=k("ZodArray",(e,t)=>{vt(),Cu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>lc(e,r,n,o),e.element=t.element},{min(e,t){return this.check(Ze(e,t))},nonempty(e){return this.check(Ze(1,e))},max(e,t){return this.check(gt(e,t))},length(e,t){return this.check(Ct(e,t))},unwrap(){return this.element}});function mn(e,t){return z1(Jc,e,t)}function f2(e){let t=e._zod.def.shape;return Zi(Object.keys(t))}var hn=k("ZodObject",(e,t)=>{vt(),yu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>dc(e,r,n,o),S.installLazyProp(e,"shape",r=>r._zod.def.shape,!1)},{keyof(){return Zi(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(S.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(S.mergeDefs(this._zod.def,{catchall:bt()}))},loose(){return this.clone(S.mergeDefs(this._zod.def,{catchall:bt()}))},strict(){return this.clone(S.mergeDefs(this._zod.def,{catchall:Ri()}))},strip(){return this.clone(S.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return S.extend(this,e)},safeExtend(e){return S.safeExtend(this,e)},merge(e){return S.merge(this,e)},pick(e){return S.pick(this,e)},omit(e){return S.omit(this,e)},partial(...e){return S.partial(gn,this,e[0])},exactPartial(...e){return S.partial(ji,this,e[0],"exactPartial")},required(...e){return S.required(Wi,this,e[0])}});function m2(e,t){let r={type:"object",shape:e??{},...S.normalizeParams(t)};return new hn(r)}function h2(e,t){return new hn({type:"object",shape:e,catchall:Ri(),...S.normalizeParams(t)})}function k2(e,t){return new hn({type:"object",shape:e,catchall:bt(),...S.normalizeParams(t)})}var kn=k("ZodUnion",(e,t)=>{Gr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>li(e,r,n,o),e.options=t.options});function kr(e,t){return new kn({type:"union",options:e,...S.normalizeParams(t)})}var Yc=k("ZodXor",(e,t)=>{kn.init(e,t),bu.init(e,t),e._zod.processJSONSchema=(r,n,o)=>li(e,r,n,o),e.options=t.options});function g2(e,t){return new Yc({type:"union",options:e,inclusive:!1,...S.normalizeParams(t)})}var Xc=k("ZodDiscriminatedUnion",(e,t)=>{kn.init(e,t),vu.init(e,t)});function C2(e,t,r){return new Xc({type:"union",options:t,discriminator:e,...S.normalizeParams(r)})}var Qc=k("ZodIntersection",(e,t)=>{wu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>pc(e,r,n,o)});function el(e,t){return new Qc({type:"intersection",left:e,right:t})}var tl=k("ZodTuple",(e,t)=>{vt(),vo.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>fc(e,r,n,o)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(t=>new gn({type:"optional",innerType:t}))})}});function rl(e,t,r){let n=t instanceof A,o=n?r:t,i=n?t:null;return new tl({type:"tuple",items:e,rest:i,...S.normalizeParams(o)})}var lr=k("ZodRecord",(e,t)=>{vt(),_u.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>mc(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType});function nl(e,t,r){return!t||!t._zod?new lr({type:"record",keyType:ln(),valueType:e,...S.normalizeParams(t)}):new lr({type:"record",keyType:e,valueType:t,...S.normalizeParams(r)})}function y2(e,t,r){return new lr({type:"record",keyType:e,valueType:t,...S.normalizeParams(r),partial:!0})}function b2(e,t,r){return new lr({type:"record",keyType:e,valueType:t,mode:"loose",...S.normalizeParams(r)})}var ol=k("ZodMap",(e,t)=>{vt(),Lu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>uc(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Ae(...r)),e.nonempty=r=>e.check(Ae(1,r)),e.max=(...r)=>e.check(Ke(...r)),e.size=(...r)=>e.check(kt(...r))});function x2(e,t,r){return new ol({type:"map",keyType:e,valueType:t,...S.normalizeParams(r)})}var il=k("ZodSet",(e,t)=>{vt(),$u.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>cc(e,r,n,o),e.min=(...r)=>e.check(Ae(...r)),e.nonempty=r=>e.check(Ae(1,r)),e.max=(...r)=>e.check(Ke(...r)),e.size=(...r)=>e.check(kt(...r))});function v2(e,t){return new il({type:"set",valueType:e,...S.normalizeParams(t)})}var dr=k("ZodEnum",(e,t)=>{Iu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Q1(e,n,o,i),e.enum=t.entries,e.options=[...e._zod.values];let r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{let i={};for(let s of n)if(r.has(s))i[s]=t.entries[s];else throw new Error(`Key ${s} not found in enum`);return new dr({...t,checks:[],...S.normalizeParams(o),entries:i})},e.exclude=(n,o)=>{let i={...t.entries};for(let s of n)if(r.has(s))delete i[s];else throw new Error(`Key ${s} not found in enum`);return new dr({...t,checks:[],...S.normalizeParams(o),entries:i})}});function Zi(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new dr({type:"enum",entries:r,...S.normalizeParams(t)})}function w2(e,t){return new dr({type:"enum",entries:e,...S.normalizeParams(t)})}var sl=k("ZodLiteral",(e,t)=>{Su.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ec(e,r,n,o),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function _2(e,t){return new sl({type:"literal",values:Array.isArray(e)?e:[e],...S.normalizeParams(t)})}var al=k("ZodFile",(e,t)=>{zu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>nc(e,r,n,o),e.min=(r,n)=>e.check(Ae(r,n)),e.max=(r,n)=>e.check(Ke(r,n)),e.mime=(r,n)=>e.check(tr(Array.isArray(r)?r:[r],n))});function L2(e){return M1(al,e)}var ul=k("ZodTransform",(e,t)=>{vt(),Mu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ac(e,r,n,o),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new He(e.constructor.name);r.addIssue=i=>{if(typeof i=="string")r.issues.push(S.issue(i,r.value,t));else{let s=i;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),"input"in s||(s.input=r.value),s.inst??(s.inst=e),r.issues.push(S.issue(s))}};let o=t.transform(r.value,r);return o instanceof Promise?o.then(i=>(r.value=i,r)):(r.value=o,r)}});function Di(e){return new ul({type:"transform",transform:e})}var gn=k("ZodOptional",(e,t)=>{wo.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>di(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function xt(e){return new gn({type:"optional",innerType:e})}var ji=k("ZodExactOptional",(e,t)=>{Nu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>di(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function cl(e){return new ji({type:"optional",innerType:e})}var ll=k("ZodNullable",(e,t)=>{Pu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>hc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function dn(e){return new ll({type:"nullable",innerType:e})}function $2(e){return xt(dn(e))}var dl=k("ZodDefault",(e,t)=>{Au.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Cc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function pl(e,t){return new dl({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():S.shallowClone(t)}})}var fl=k("ZodPrefault",(e,t)=>{Tu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>yc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function ml(e,t){return new fl({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():S.shallowClone(t)}})}var Wi=k("ZodNonOptional",(e,t)=>{Eu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>kc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function hl(e,t){return new Wi({type:"nonoptional",innerType:e,...S.normalizeParams(t)})}var kl=k("ZodSuccess",(e,t)=>{Ou.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>oc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function I2(e){return new kl({type:"success",innerType:e})}var gl=k("ZodCatch",(e,t)=>{Ru.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>bc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Cl(e,t){return new gl({type:"catch",innerType:e,catchValue:typeof t=="function"?t:S.constantCatch(t)})}var yl=k("ZodNaN",(e,t)=>{Zu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>tc(e,r,n,o)});function S2(e){return S1(yl,e)}var Cn=k("ZodPipe",(e,t)=>{_o.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>xc(e,r,n,o),e.in=t.in,e.out=t.out});function gi(e,t){return new Cn({type:"pipe",in:e,out:t})}var yn=k("ZodCodec",(e,t)=>{Cn.init(e,t),Jr.init(e,t)});function z2(e,t,r){return new yn({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function M2(e){let t=e._zod.def;return new yn({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var bl=k("ZodPreprocess",(e,t)=>{Cn.init(e,t),Du.init(e,t)}),xl=k("ZodReadonly",(e,t)=>{ju.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>vc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function vl(e){return new xl({type:"readonly",innerType:e})}var wl=k("ZodTemplateLiteral",(e,t)=>{Wu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>rc(e,r,n,o)});function N2(e,t){return new wl({type:"template_literal",parts:e,...S.normalizeParams(t)})}var _l=k("ZodLazy",(e,t)=>{Yr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>_c(e,r,n,o),e.unwrap=()=>e._zod.def.getter()});function Ll(e){return new _l({type:"lazy",getter:e})}var $l=k("ZodPromise",(e,t)=>{Bu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>wc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function P2(e){return new $l({type:"promise",innerType:e})}var Il=k("ZodFunction",(e,t)=>{Vu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>sc(e,r,n,o)});function A2(e){return new Il({type:"function",input:Array.isArray(e?.input)?rl(e?.input):e?.input??mn(bt()),output:e?.output??bt()})}var bn=k("ZodCustom",(e,t)=>{Fu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ic(e,r,n,o)});function T2(e){let t=new K({check:"custom"});return t._zod.check=e,t}function E2(e,t){return N1(bn,e??(()=>!0),t)}function Sl(e,t={}){return P1(bn,e,t)}function zl(e,t){return A1(e,t)}var O2=T1,R2=E1,Ml=k("ZodInstanceOf",(e,t)=>{bn.init(e,t)},{properties(e,t){return this.check(er(e,t))}});function Z2(e,t={}){let r=new Ml({type:"custom",check:"custom",fn:n=>n instanceof e,abort:!0,...S.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:r,path:[...r._zod.def.path??[]]})},r}var D2=(...e)=>O1({Codec:yn,Boolean:mr,String:pr},...e);function j2(e){let t=Ll(()=>kr([ln(e),jc(),Wc(),Hc(),mn(t),nl(ln(),t)]));return t}function W2(e,t){return new bl({type:"pipe",in:Di(e),out:t})}var H3={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function U3(e){X({customError:e})}function K3(){return X().customError}var Nl;Nl||(Nl={});var xn={};$e(xn,{ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>et,ZodISOTime:()=>Qe,date:()=>G3,datetime:()=>q3,duration:()=>Y3,time:()=>J3});function q3(e){return nn(Ye,e)}function G3(e){return on(Xe,e)}function J3(e){return sn(Qe,e)}function Y3(e){return an(et,e)}var I={...gr,...mi,iso:xn},X3=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function Q3(e,t){let r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function V2(e,t){return e.map((r,n)=>n<t?r:r.optional())}function e6(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function t6(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;let n=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===n){let o=r[1]===void 0?void 0:e6(r[1]);if(!o||!t.defs[o])throw new Error(`Reference not found: ${e}`);return t.defs[o]}throw new Error(`Reference not found: ${e}`)}function r6(e,t){return I.transform(n=>n).check(n=>{let o=n.value;if(typeof o!="object"||o===null||Array.isArray(o))return;let i=Object.getOwnPropertyNames(o);if(t.minProperties!==void 0&&i.length<t.minProperties&&n.issues.push({origin:"object",code:"too_small",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:o,inst:e,continue:!0}),t.maxProperties!==void 0&&i.length>t.maxProperties&&n.issues.push({origin:"object",code:"too_big",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:o,inst:e,continue:!0}),t.keySchema)for(let s of i){let a=t.keySchema.safeParse(s);a.success||n.issues.push({code:"invalid_key",origin:"record",issues:a.error.issues,input:s,path:[s],continue:!0})}}).pipe(e)}function Pl(e,t){if(e===null)return"z";let r=typeof e;if(r!=="object"){if(r==="number"&&Number.isNaN(e))return null;let n=String(e);return`${r[0]}${n.length}:${n}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let i=[];for(let s of e){let a=Pl(s,t);if(a===null)return null;i.push(a)}return`a${i.length}:[${i.join(",")}]`}let n=Object.keys(e).sort(),o=[];for(let i of n){let s=Pl(e[i],t);if(s===null)return null;o.push(`${i.length}:${i}=${s}`)}return`o${o.length}:{${o.join(",")}}`}finally{t.delete(e)}}var n6=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),o6=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function vn(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(vn):typeof e.$ref=="string"?!0:Object.entries(e).some(([t,r])=>n6.has(t)?vn(r):!o6.has(t)||typeof r!="object"||r===null?!1:Object.values(r).some(vn))}function B2(e){return e===1?"element":"elements"}function i6(e,t){return I.transform(n=>n).check(n=>{let o=n.value;if(Array.isArray(o)){if(t.uniqueItems===!0){let i=new Map;for(let s=0;s<o.length;s++){let a=Pl(o[s],new Set);if(a===null)continue;let c=i.get(a);if(c===void 0){i.set(a,s);continue}n.issues.push({code:"custom",message:`Array items must be unique: element at index ${s} duplicates the one at index ${c}`,input:o,path:[s],continue:!0})}}if(t.containsSchema){let i=t.minContains??1,s=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,a=0;for(let c of o)if(t.containsSchema.safeParse(c).success&&++a>=s)break;a<i&&n.issues.push({code:"custom",message:`Array must contain at least ${i} matching ${B2(i)}; found ${a}`,input:o,continue:!0}),t.maxContains!==void 0&&a>t.maxContains&&n.issues.push({code:"custom",message:`Array must contain at most ${t.maxContains} matching ${B2(t.maxContains)}`,input:o,continue:!0})}}}).pipe(e)}function F2(e,t){if(e!==!1)return e===void 0||e===!0?I.any():me(e,t)}var s6=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function H2(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return I.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let o=e.$ref;if(t.refs.has(o))return t.refs.get(o);if(t.processing.has(o))return I.lazy(()=>{if(!t.refs.has(o))throw new Error(`Circular reference not resolved: ${o}`);return t.refs.get(o)});t.processing.add(o);let i=t6(o,t),s=me(i,t);return t.refs.set(o,s),t.processing.delete(o),s}if(e.enum!==void 0){let o=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&o.length===1&&o[0]===null)return I.null();if(o.length===0)return I.never();if(o.length===1)return I.literal(o[0]);if(o.every(s=>typeof s=="string"))return I.enum(o);let i=o.map(s=>I.literal(s));return i.length<2?i[0]:I.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return I.literal(e.const);let r=e.type;if(Array.isArray(r)){let o=r.map(i=>{let s={...e,type:i};return H2(s,t)});return o.length===0?I.never():o.length===1?o[0]:I.union(o)}if(!r)return I.any();let n;switch(r){case"string":{let o=I.string();if(e.format){let i=e.format;i==="email"?o=o.check(I.email()):i==="uri"||i==="uri-reference"?o=o.check(I.url()):i==="uuid"||i==="guid"?o=o.check(I.uuid()):i==="date-time"?o=o.check(I.iso.datetime({offset:!0})):i==="date"?o=o.check(I.iso.date()):i==="time"?o=o.check(I.regex(s6)):i==="duration"?o=o.check(I.iso.duration()):i==="hostname"?o=o.check(I.hostname()):i==="ipv4"?o=o.check(I.ipv4()):i==="ipv6"?o=o.check(I.ipv6()):i==="mac"?o=o.check(I.mac()):i==="cidr"?o=o.check(I.cidrv4()):i==="cidr-v6"?o=o.check(I.cidrv6()):i==="base64"?o=o.check(I.base64()):i==="base64url"?o=o.check(I.base64url()):i==="e164"?o=o.check(I.e164()):i==="credit_card"?o=o.check(I.creditCard()):i==="iban"?o=o.check(I.iban()):i==="jwt"?o=o.check(I.jwt()):i==="emoji"?o=o.check(I.emoji()):i==="nanoid"?o=o.check(I.nanoid()):i==="cuid"?o=o.check(I.cuid()):i==="cuid2"?o=o.check(I.cuid2()):i==="ulid"?o=o.check(I.ulid()):i==="xid"?o=o.check(I.xid()):i==="ksuid"&&(o=o.check(I.ksuid()))}typeof e.minLength=="number"&&(o=o.min(e.minLength)),typeof e.maxLength=="number"&&(o=o.max(e.maxLength)),e.pattern&&(o=o.regex(new RegExp(e.pattern))),n=o;break}case"number":case"integer":{let o=r==="integer"?I.number().int():I.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(o=o.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(o=o.max(e.maximum)),typeof e.exclusiveMinimum=="number"?o=o.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(o=o.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?o=o.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(o=o.lt(e.maximum)),typeof e.multipleOf=="number"&&(o=o.multipleOf(e.multipleOf)),n=o;break}case"boolean":{n=I.boolean();break}case"null":{n=I.null();break}case"object":{let o={},i=e.properties||{},s=new Set(e.required||[]),a=typeof e.additionalProperties=="object"?me(e.additionalProperties,t):void 0;for(let[d,f]of Object.entries(i)){let m=me(f,t);se(o,d,s.has(d)?m:m.optional())}if(e.patternProperties){let d=e.patternProperties,f=Object.keys(d),m=[];for(let C of f){let y=me(d[C],t),x=I.string().regex(new RegExp(C));m.push(I.looseRecord(x,y))}let g=[];if(Object.keys(o).length>0&&g.push(I.object(o).passthrough()),g.push(...m),g.length===0)n=I.object({}).passthrough();else if(g.length===1)n=g[0];else{let C=I.intersection(g[0],g[1]);for(let y=2;y<g.length;y++)C=I.intersection(C,g[y]);n=C}if(e.additionalProperties===!1){let C=Object.keys(o),y=f.map(w=>new RegExp(w)),x=n;n=n.check(w=>{if(!we(w.value))return;let $=[];for(let P of Object.keys(w.value))C.includes(P)||y.some(T=>T.test(P))||$.push(P);$.length&&w.issues.push({code:"unrecognized_keys",keys:$,input:w.value,inst:x})})}}else{let d=I.object(o);e.additionalProperties===!1?n=d.strict():a?n=d.catchall(a):n=d.passthrough()}let c=e.propertyNames!==void 0&&e.propertyNames!==!0,u=typeof e.minProperties=="number"?e.minProperties:void 0,l=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(c||u!==void 0||l!==void 0){let d;if(c){let f=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;d=me(f,t)}n=r6(n,{keySchema:d,minProperties:u,maxProperties:l})}break}case"array":{let o=e.prefixItems,i=e.items;if(o&&Array.isArray(o)){let s=typeof e.minItems=="number"?e.minItems:0,a=o.map(d=>me(d,t)),c=V2(a,s),u=Array.isArray(i)?void 0:F2(i,t),l=I.tuple(c);n=u?l.rest(u):l,typeof e.minItems=="number"&&(n=n.check(I.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(I.maxLength(e.maxItems)))}else if(Array.isArray(i)){let s=typeof e.minItems=="number"?e.minItems:0,a=i.map(d=>me(d,t)),c=V2(a,s),u=F2(e.additionalItems,t),l=I.tuple(c);n=u?l.rest(u):l,typeof e.minItems=="number"&&(n=n.check(I.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(I.maxLength(e.maxItems)))}else if(i!==void 0){let s=me(i,t),a=I.array(s);typeof e.minItems=="number"&&(a=a.min(e.minItems)),typeof e.maxItems=="number"&&(a=a.max(e.maxItems)),n=a}else n=I.array(I.any());(e.uniqueItems===!0||e.contains!==void 0)&&(n=i6(n,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?me(e.contains,t):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${r}`)}return n}function me(e,t){if(typeof e=="boolean")return e?I.any():I.never();let r=H2(e,t),n=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let a=e.anyOf.map(u=>me(u,t)),c=I.union(a);r=n?I.intersection(r,c):c}if(e.oneOf&&Array.isArray(e.oneOf)){let a=e.oneOf.map(u=>me(u,t)),c=I.xor(a);r=n?I.intersection(r,c):c}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=n?r:I.any();else{let a=n?r:me(e.allOf[0],t),c=n?0:1;for(let u=c;u<e.allOf.length;u++)a=I.intersection(a,me(e.allOf[u],t));r=a}e.nullable===!0&&t.version==="openapi-3.0"&&(r=I.nullable(r)),e.readOnly===!0&&(r=I.readonly(r)),e.default!==void 0&&(r=r.default(e.default));let o={},i=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let a of i)a in e&&(o[a]=e[a]);let s=["contentEncoding","contentMediaType","contentSchema"];for(let a of s)a in e&&(o[a]=e[a]);if(e.type==="object"&&e.$ref===void 0){e.propertyNames!==void 0&&!vn(e.propertyNames)&&(o.propertyNames=e.propertyNames);for(let a of["minProperties","maxProperties"])e[a]!==void 0&&(o[a]=e[a])}if(e.type==="array"&&e.$ref===void 0){e.contains!==void 0&&!vn(e.contains)&&(o.contains=e.contains);for(let a of["uniqueItems","minContains","maxContains"])e[a]!==void 0&&(o[a]=e[a])}for(let a of Object.keys(e))X3.has(a)||se(o,a,e[a]);return Object.keys(o).length>0&&t.registry.add(r,o),e.description&&(r=r.describe(e.description)),r}function U2(e,t){if(typeof e=="boolean")return e?I.any():I.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let n=Q3(r,t?.defaultTarget),o=r.$defs||r.definitions||{},i={version:n,defs:o,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??ae};return me(r,i)}var K2=Symbol("z.visit/resolving");function wn(e,t){let r=typeof t=="function"?t:(s,a)=>{let c=t[s._zod.def.type];return c?c(s,a):s},n=new Map;function o(s){let a=n.get(s);if(a===K2)return new Yr({type:"lazy",getter:()=>n.get(s)});if(a!==void 0)return a;n.set(s,K2);let c=i(s),u=r(c,c!==s);return n.set(s,u),u}function i(s){let a=s._zod.def,c=a.type;switch(c){case"object":{let u=a.shape,l=Object.keys(u),d=!1,f={};for(let g of l){let C=o(u[g]);C!==u[g]&&(d=!0),f[g]=C}let m=a.catchall;return a.catchall&&(m=o(a.catchall),m!==a.catchall&&(d=!0)),d?B(s,{...a,shape:f,catchall:m}):s}case"array":{let u=o(a.element);return u===a.element?s:B(s,{...a,element:u})}case"tuple":{let u=a.items,l=!1,d=[];for(let m of u){let g=o(m);g!==m&&(l=!0),d.push(g)}let f=a.rest;return a.rest&&(f=o(a.rest),f!==a.rest&&(l=!0)),l?B(s,{...a,items:d,rest:f}):s}case"record":case"map":{let u=o(a.keyType),l=o(a.valueType);return u===a.keyType&&l===a.valueType?s:B(s,{...a,keyType:u,valueType:l})}case"set":{let u=o(a.valueType);return u===a.valueType?s:B(s,{...a,valueType:u})}case"union":{let u=a.options,l=!1,d=[];for(let f of u){let m=o(f);m!==f&&(l=!0),d.push(m)}return l?B(s,{...a,options:d}):s}case"intersection":{let u=o(a.left),l=o(a.right);return u===a.left&&l===a.right?s:B(s,{...a,left:u,right:l})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let u=o(a.innerType);return u===a.innerType?s:B(s,{...a,innerType:u})}case"pipe":{let u=o(a.in),l=o(a.out);return u===a.in&&l===a.out?s:B(s,{...a,in:u,out:l})}case"function":{let u=o(a.input),l=o(a.output);return u===a.input&&l===a.output?s:B(s,{...a,input:u,output:l})}case"lazy":{let u=a.getter,{_cachedInner:l,...d}=a;return B(s,{...d,getter:()=>o(u())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return s;default:return s}}return o(e)}function q2(e){return wn(e,{object:t=>t.partial(),union:t=>{let r=t._zod.def;return r.discriminator===void 0?t:kr(r.options)}})}function a6(e,t){if(!t?.length)return e;let r=e._zod.def;return B(e,Ie(r,{checks:[...r.checks??[],...t]}),{parent:!0})}function G2(e){return a6(e.out,e.checks)}function u6(e){return e.in._zod.traits.has("$ZodTransform")?G2(e):e.in}function J2(e){return wn(e,{pipe:t=>u6(t._zod.def),default:(t,r)=>r?xt(t._zod.def.innerType):t,catch:(t,r)=>r?t._zod.def.innerType:t})}function Y2(e){return wn(e,{pipe:t=>G2(t._zod.def),prefault:(t,r)=>r?t._zod.def.innerType:t})}var Al={};$e(Al,{bigint:()=>p6,boolean:()=>d6,date:()=>f6,number:()=>l6,string:()=>c6});function c6(e){return t1(pr,e)}function l6(e){return a1(fr,e)}function d6(e){return m1(mr,e)}function p6(e){return k1(hr,e)}function f6(e){return I1(fn,e)}var m6=h.enum(["queued","starting","running","waiting","completed","failed","interrupted","skipped"]),h6=h.enum(["plan","active","output"]),k6=h.enum(["thread","workflow-agent","delegation","plan-step","queued-message","phase","operation"]),_n=h.enum(["bb","redteam","ollama-fleet"]),Bi=h.enum(["action-required","failed","waiting","interrupted","warning"]),g6=h.object({id:h.string(),label:h.string(),detail:h.string().nullable(),at:h.number(),kind:h.string().nullable()}),C6=h.object({key:h.string(),entries:h.array(g6)}),y6=h.object({text:h.string(),at:h.number(),kind:h.string().nullable()}),Vi=h.object({key:h.string(),parentKey:h.string().nullable(),depth:h.number().int().nonnegative(),kind:k6,source:_n,title:h.string(),subtitle:h.string().nullable(),status:m6,column:h6,threadId:h.string().nullable(),updatedAt:h.number().optional(),queuedMessageCount:h.number().int().nonnegative().optional(),providerId:h.string().nullable(),providerLabel:h.string().nullable(),model:h.string().nullable(),startedAt:h.number().nullable(),completedAt:h.number().nullable(),durationMs:h.number().nullable(),phaseTitle:h.string().nullable(),promptPreview:h.string().nullable(),activity:y6.nullable(),outputPreview:h.string().nullable(),latestPublicUpdate:h.string().nullable().optional(),errorPreview:h.string().nullable(),tokens:h.number().nullable(),toolCalls:h.number().nullable(),waitingOn:h.string().nullable(),attention:h.object({type:Bi,message:h.string().max(320),conditionId:h.string().max(320).optional(),conditionAt:h.number().nullable().optional()}).nullable().optional(),planStatus:h.enum(["pending","in_progress","completed","failed"]).nullable(),isRoot:h.boolean(),parentThreadId:h.string().nullable().optional(),sequence:h.number().int().nonnegative().nullable().optional(),groupKey:h.string().nullable().optional(),jobId:h.string().max(80).optional(),serverName:h.string().max(120).nullable().optional(),originThreadId:h.string().max(120).optional(),originProjectId:h.string().max(120).optional(),scanId:h.string().optional(),phaseId:h.string().optional(),operationId:h.string().optional()}),b6=h.object({threadId:h.string(),title:h.string().nullable(),status:h.string(),displayStatus:h.string().nullable(),providerId:h.string().nullable(),providerLabel:h.string().nullable(),model:h.string().nullable(),projectId:h.string().nullable(),createdAt:h.number().nullable(),updatedAt:h.number().nullable(),goal:h.object({objective:h.string(),status:h.enum(["active","paused","budgetLimited","complete"]),tokensUsed:h.number(),tokenBudget:h.number().nullable(),timeUsedSeconds:h.number()}).nullable(),contextWindowUsedTokens:h.number().nullable(),contextWindowTotalTokens:h.number().nullable()}),x6=h.object({running:h.number(),waiting:h.number(),queued:h.number(),completed:h.number(),failed:h.number(),interrupted:h.number()}),v6=h.object({root:b6,counts:x6,cards:h.array(Vi),activityFeeds:h.array(C6).optional(),partial:h.boolean(),fetchedAt:h.number()}),X2=h.object({childCards:h.array(Vi).optional(),key:h.string(),card:Vi,projectId:h.string().nullable(),delegatedWorkers:h.array(Vi).max(4).optional(),delegatedWorkerCount:h.number().int().nonnegative().optional(),activeDelegatedWorkerCount:h.number().int().nonnegative().optional(),childCount:h.number().int().nonnegative(),activeChildCount:h.number().int().nonnegative(),updatedAt:h.number()}),w6=h.object({conditionId:h.string().max(320).optional(),conditionAt:h.number().nullable().optional(),id:h.string(),executionKey:h.string(),type:Bi,status:h.literal("open"),title:h.string(),message:h.string().max(160),firstObservedAt:h.number(),updatedAt:h.number(),threadId:h.string().nullable(),source:_n,scanId:h.string().optional()}),_6=h.enum(["execution-start","execution-complete","execution-failed","execution-interrupted","phase-start","phase-complete","phase-failed","model-selected","tool-start","tool-complete","tool-failed","public-update","waiting","resumed","approval-requested","question-requested","child-start","child-complete","child-failed","delegation"]),L6=h.enum(["pending","running","waiting","completed","failed","interrupted","resolved"]),$6=h.object({id:h.string().min(1).max(320),executionKey:h.string().min(1).max(240),source:_n,timestamp:h.number().int().nonnegative(),kind:_6,status:L6.nullable(),title:h.string().min(1).max(120),summary:h.string().max(360).nullable(),model:h.string().max(160).nullable(),toolName:h.string().max(100).nullable(),target:h.string().max(240).nullable(),phase:h.string().max(120).nullable(),durationMs:h.number().int().nonnegative().nullable(),threadId:h.string().nullable(),attentionType:Bi.nullable(),sourceMetadata:h.object({sourceId:h.string().max(240),sequence:h.number().int().nonnegative().nullable()}).nullable()}),I6=h.object({executionKey:h.string().min(1).max(240),source:_n,events:h.array($6).max(80),active:h.boolean(),truncated:h.boolean(),sourceWarning:h.string().max(240).nullable(),fetchedAt:h.number().int().nonnegative()}),S6=h.discriminatedUnion("source",[h.object({source:h.literal("ollama-fleet"),executionKey:h.string().min(1).max(240),jobId:h.string().min(1).max(80),limit:h.number().int().min(1).max(80).optional()}),h.object({source:h.literal("bb"),executionKey:h.string().min(1).max(240),threadId:h.string().min(1).max(240),limit:h.number().int().min(1).max(80).optional()}),h.object({source:h.literal("redteam"),executionKey:h.string().min(1).max(240),scanId:h.string().min(1).max(200),limit:h.number().int().min(1).max(80).optional()})]),z6=h.object({active:h.number().int().nonnegative(),waiting:h.number().int().nonnegative(),attention:h.number().int().nonnegative(),recent:h.number().int().nonnegative(),failures:h.number().int().nonnegative()}),M6=h.object({active:h.array(X2),attention:h.array(w6),recent:h.array(X2),counts:z6,unavailableSources:h.array(_n),partial:h.boolean(),dismissedCount:h.number().int().nonnegative(),fetchedAt:h.number()}),N6=h.object({text:h.string(),at:h.number(),kind:h.string().nullable()}),Cr="agent-board-changed",Fi=h.object({roots:h.array(h.string()),global:h.boolean().optional()}),sy={board_snapshot:{input:h.object({threadId:h.string().min(1),fresh:h.boolean().optional()}),output:v6},board_activity:{input:h.object({threadId:h.string().min(1),limit:h.number().int().min(1).max(60).optional()}),output:h.object({entries:h.array(N6)})},execution_timeline:{input:S6,output:I6},global_dashboard:{input:h.object({fresh:h.boolean().optional()}),output:M6},dismiss_attention:{input:h.object({conditionId:h.string().min(1).max(320).optional(),executionKey:h.string().min(1).max(200),type:Bi,updatedAt:h.number().int().min(0)}),output:h.object({dismissed:h.number().int().nonnegative()})},clear_dismissed_attentions:{input:h.object({}),output:h.object({dismissed:h.number().int().nonnegative()})}};var P6=2e4;function A6(e,t){let r=Fi.safeParse(e);if(!r.success)return!0;let n=r.data.roots;return n.length===0?r.data.global!==!0:n.includes(t)}function Q2(e){let t=Nt(),[r,n]=V(null),[o,i]=V(!0),[s,a]=V(!1),[c,u]=V(null),[l,d]=V(0),f=Z(0),m=Z(null),g=Z(!1),C=Z(!1),y=Z(!1),x=G(L=>{if(g.current){C.current=!0,y.current||=L?.fresh===!0;return}g.current=!0;let R=++f.current;m.current===null?i(!0):a(!0),t.call("board_snapshot",{threadId:e,fresh:L?.fresh===!0}).then(W=>{R===f.current&&(m.current=W,n(W),u(null))},W=>{R===f.current&&u(W instanceof Error?W.message:String(W))}).finally(()=>{if(R===f.current&&(g.current=!1,i(!1),a(!1),C.current)){let W=y.current;C.current=!1,y.current=!1,x({fresh:W})}})},[t,e]);Y(()=>(m.current=null,n(null),u(null),i(!0),x(),()=>{f.current+=1,g.current=!1,C.current=!1,y.current=!1,m.current=null}),[x]),Y(()=>{let L=setInterval(()=>x({fresh:!0}),P6);return()=>clearInterval(L)},[x]),Mt(Cr,L=>{A6(L,e)&&x()});let w=Ve(),$=Z(!1),P=Z(w);Y(()=>{let L=P.current;P.current=w,w==="connected"&&L!=="connected"&&$.current&&x(),w==="connected"&&($.current=!0)},[w,x]);let T=he(()=>r!==null&&(r.counts.running>0||r.counts.waiting>0||r.counts.queued>0),[r]);return Y(()=>{if(!T)return;let L=setInterval(()=>d(R=>R+1),1e3);return()=>clearInterval(L)},[T]),{snapshot:r,loading:o,refreshing:s,error:c,tick:l,refetch:x}}function ef(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function T6(...e){return t=>{let r=!1,n=e.map(o=>{let i=ef(o,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){let i=n[o];typeof i=="function"?i():ef(e[o],null)}}}}function tf(...e){return G(T6(...e),e)}function E6(e){let t=ue((r,n)=>{let{children:o,...i}=r,s=null,a=!1,c=[];rf(o)&&typeof Hi=="function"&&(o=Hi(o._payload)),An.forEach(o,f=>{if(j6(f)){a=!0;let m=f,g="child"in m.props?m.props.child:m.props.children;rf(g)&&typeof Hi=="function"&&(g=Hi(g._payload)),s=R6(m,g),c.push(s?.props?.children)}else c.push(f)}),s?s=xr(s,void 0,c):!a&&An.count(o)===1&&Pt(o)&&(s=o);let u=s?D6(s):void 0,l=tf(n,u);if(!s){if(o||o===0)throw new Error(a?F6(e):B6(e));return o}let d=Z6(i,s.props??{});return s.type!==br&&(d.ref=n?l:u),xr(s,d)});return t.displayName=`${e}.Slot`,t}var tt=E6("Slot"),O6=Symbol.for("radix.slottable");var R6=(e,t)=>{if("child"in e.props){let r=e.props.child;return Pt(r)?xr(r,void 0,e.props.children(r.props.children)):null}return Pt(t)?t:null};function Z6(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...a)=>{let c=i(...a);return o(...a),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function D6(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function j6(e){return Pt(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===O6}var W6=Symbol.for("react.lazy");function rf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===W6&&"_payload"in e&&V6(e._payload)}function V6(e){return typeof e=="object"&&e!==null&&"then"in e}var B6=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,F6=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Hi=ot[" use ".trim().toString()];var Tl=globalThis.__bbPluginRuntime;if(Tl==null||Tl.classVarianceAuthority==null)throw new Error('Cannot load "class-variance-authority": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Ui=Tl.classVarianceAuthority,hy="default"in Ui?Ui.default:Ui,{cva:nf,cx:ky}=Ui;var El=globalThis.__bbPluginRuntime;if(El==null||El.clsx==null)throw new Error('Cannot load "clsx": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Ki=El.clsx,Cy="default"in Ki?Ki.default:Ki,{clsx:of}=Ki;var Ol=globalThis.__bbPluginRuntime;if(Ol==null||Ol.tailwindMerge==null)throw new Error('Cannot load "tailwind-merge": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var qi=Ol.tailwindMerge,by="default"in qi?qi.default:qi,{createTailwindMerge:xy,extendTailwindMerge:vy,fromTheme:wy,getDefaultConfig:_y,mergeConfigs:Ly,twJoin:$y,twMerge:sf,validators:Iy}=qi;function z(...e){return sf(of(e))}var af="transition-colors duration-150 hover:duration-0";var Rl=globalThis.__bbPluginRuntime;if(Rl==null||Rl.jsxRuntime==null)throw new Error('Cannot load "react/jsx-runtime": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Gi=Rl.jsxRuntime,Ay="default"in Gi?Gi.default:Gi,{Fragment:Lt,jsx:p,jsxs:b}=Gi;var H6=nf(`inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ${af} 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`,{variants:{variant:{default:"bg-foreground text-background hover:bg-foreground/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-transparent hover:bg-state-hover hover:text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-state-hover hover:text-foreground aria-pressed:bg-state-active aria-pressed:text-foreground aria-pressed:hover:bg-state-active data-[state=open]:bg-state-active data-[state=open]:text-foreground data-[state=open]:hover:bg-state-active",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Q=ue(({className:e,variant:t,size:r,asChild:n=!1,...o},i)=>p(n?tt:"button",{className:z(H6({variant:t,size:r,className:e})),ref:i,...o}));Q.displayName="Button";var U6={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},Ln=ue(({color:e="currentColor",size:t=24,strokeWidth:r,absoluteStrokeWidth:n=!1,className:o="",altIcon:i,showAlt:s=!1,icon:a,primaryColor:c,secondaryColor:u,disableSecondaryOpacity:l=!1,...d},f)=>{let m=r!==void 0?n?Number(r)*24/Number(t):r:void 0,g=m!==void 0?{strokeWidth:m,stroke:"currentColor"}:{},C={ref:f,...U6,width:t,height:t,color:c||e,className:o,...g,...d},x=[...s&&i?i:a].sort(([,w],[,$])=>{let P=w.opacity!==void 0;return $.opacity!==void 0?1:P?-1:0}).map(([w,$])=>{let P=$.opacity!==void 0,T=P&&!l?$.opacity:void 0,L=u?{...$.stroke!==void 0?{stroke:P?u:c||e}:{fill:P?u:c||e}}:{};return wr(w,{...$,...g,...L,opacity:T,key:$.key})});return wr("svg",C,x)});Ln.displayName="HugeiconsIcon";var uf=[["path",{d:"M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 9V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var cf=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var lf=[["path",{d:"M21 7H3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H13C16.7712 21 18.6569 21 19.8284 19.8284C21 18.6569 21 16.7712 21 13V7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 7H3L4.2 5.4C5.08328 4.22229 5.52492 3.63344 6.15836 3.31672C6.7918 3 7.52786 3 9 3H15C16.4721 3 17.2082 3 17.8416 3.31672C18.4751 3.63344 18.9167 4.22229 19.8 5.4L21 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 17L12 10.5M9 14.5C9.58984 15.1068 11.1597 17.5 12 17.5C12.8403 17.5 14.4102 15.1068 15 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var df=[["path",{d:"M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var pf=[["path",{d:"M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var ff=[["path",{d:"M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var mf=[["path",{d:"M13 7H11C8.19108 7 6.78661 7 5.77772 7.67412C5.34096 7.96596 4.96596 8.34096 4.67412 8.77772C4 9.78661 4 11.1911 4 14C4 16.8089 4 18.2134 4.67412 19.2223C4.96596 19.659 5.34096 20.034 5.77772 20.3259C6.78661 21 8.19108 21 11 21H13C15.8089 21 17.2134 21 18.2223 20.3259C18.659 20.034 19.034 19.659 19.3259 19.2223C20 18.2134 20 16.8089 20 14C20 11.1911 20 9.78661 19.3259 8.77772C19.034 8.34096 18.659 7.96596 18.2223 7.67412C17.2134 7 15.8089 7 13 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 14H2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 17H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M22 14H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M15 11V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M9 11V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M12 7C12 5.11438 12 4.17157 11.4142 3.58579C10.8284 3 9.88562 3 8 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"6"}]];var Zl=[["path",{d:"M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C10.3719 21.5 8.8394 21.0904 7.5 20.3687C5.63177 19.362 4.37462 20.2979 3.26592 20.4658C3.09774 20.4913 2.93024 20.4302 2.80997 20.31C2.62741 20.1274 2.59266 19.8451 2.6935 19.6074C3.12865 18.5818 3.5282 16.6382 2.98341 15C2.6698 14.057 2.5 13.0483 2.5 12C2.5 6.75329 6.75329 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15.5 12H8.5M12 8.5V15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var hf=[["path",{d:"M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C10.3719 21.5 8.8394 21.0904 7.5 20.3687C5.63177 19.362 4.37462 20.2979 3.26592 20.4658C3.09774 20.4913 2.93024 20.4302 2.80997 20.31C2.62741 20.1274 2.59266 19.8451 2.6935 19.6074C3.12865 18.5818 3.5282 16.6382 2.98341 15C2.6698 14.057 2.5 13.0483 2.5 12C2.5 6.75329 6.75329 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.1257 12H12.0007M8.125 12H8M16.125 12H16M12.2507 12C12.2507 12.1381 12.1388 12.25 12.0007 12.25C11.8627 12.25 11.7507 12.1381 11.7507 12C11.7507 11.8619 11.8627 11.75 12.0007 11.75C12.1388 11.75 12.2507 11.8619 12.2507 12ZM8.25 12C8.25 12.1381 8.13807 12.25 8 12.25C7.86193 12.25 7.75 12.1381 7.75 12C7.75 11.8619 7.86193 11.75 8 11.75C8.13807 11.75 8.25 11.8619 8.25 12ZM16.25 12C16.25 12.1381 16.1381 12.25 16 12.25C15.8619 12.25 15.75 12.1381 15.75 12C15.75 11.8619 15.8619 11.75 16 11.75C16.1381 11.75 16.25 11.8619 16.25 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var kf=[["path",{d:"M3.01309 4.99084C2.89323 6.05084 3.55249 8.42285 6.48923 8.42285",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.5951 8.38081C18.8357 8.57881 21.1132 7.49881 20.9957 5.00281",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20.9928 20.9989C21.0528 19.9429 20.1777 17.5549 17.599 17.4229",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6.45163 17.4708C5.65013 17.2308 3.01306 18.3348 3.01306 20.9988",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M9.3299 6.11884C9.35388 5.09884 9.84533 2.99884 12.0029 2.99884C13.9208 2.99884 14.5861 4.61884 14.676 6.11884M6.26131 9.41884C6.38118 8.63884 7.29216 6.81484 9.36586 6.63484C11.4635 6.55564 14.3403 6.58684 14.8797 6.67084C15.5869 6.73377 17.2951 7.43884 17.7506 9.41884C17.9124 10.4388 17.8285 11.8788 17.8524 12.7188C17.8165 13.5588 17.9207 15.2623 17.7565 16.1388C17.6367 17.0988 16.9894 18.4668 16.1024 19.3068C14.7838 20.7228 11.1639 22.2108 8.03534 19.4508C6.41713 17.8908 6.30925 16.3788 6.18939 15.7788C6.15725 15.4571 6.15875 13.8763 6.16541 12.3588C6.14144 11.046 6.17235 9.78063 6.26131 9.41884Z",stroke:"currentColor",strokeWidth:"1.5",key:"4"}],["path",{d:"M3.01306 12.8988H5.9498",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M20.9929 12.8988L18.1161 12.8988",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M12.0033 16.4988L12.0033 20.2788",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}]];var Ji=[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var gf=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.9994 15L9 9M9.00064 15L15 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var Cf=[["path",{d:"M11 6L21 6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 12L21 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11 18L21 18",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 7.39286C3 7.39286 4 8.04466 4.5 9C4.5 9 6 5.25 8 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M3 18.3929C3 18.3929 4 19.0447 4.5 20C4.5 20 6 16.25 8 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]];var yf=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 12.5L10.5 15L16 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var bf=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var Dl=[["path",{d:"M7.5 7.5L8.72654 8.55719C9.24218 9.00163 9.5 9.22386 9.5 9.5C9.5 9.77614 9.24218 9.99836 8.72654 10.4428L7.5 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.5 12.5H15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 21C15.7497 21 17.6246 21 18.9389 20.0451C19.3634 19.7367 19.7367 19.3634 20.0451 18.9389C21 17.6246 21 15.7497 21 12C21 8.25027 21 6.3754 20.0451 5.06107C19.7367 4.6366 19.3634 4.26331 18.9389 3.95491C17.6246 3 15.7497 3 12 3C8.25027 3 6.3754 3 5.06107 3.95491C4.6366 4.26331 4.26331 4.6366 3.95491 5.06107C3 6.3754 3 8.25027 3 12C3 15.7497 3 17.6246 3.95491 18.9389C4.26331 19.3634 4.6366 19.7367 5.06107 20.0451C6.3754 21 8.25027 21 12 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var xf=[["path",{d:"M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var vf=[["path",{d:"M14 2.20004C13.3538 2.06886 12.6849 2 12 2C11.3151 2 10.6462 2.06886 10 2.20004M21.8 10C21.9311 10.6462 22 11.3151 22 12C22 12.6849 21.9311 13.3538 21.8 14M14 21.8C13.3538 21.9311 12.6849 22 12 22C11.3151 22 10.6462 21.9311 10 21.8M2.20004 14C2.06886 13.3538 2 12.6849 2 12C2 11.3151 2.06886 10.6462 2.20004 10M17.5 3.64702C18.6332 4.39469 19.6053 5.36678 20.353 6.5M20.353 17.5C19.6053 18.6332 18.6332 19.6053 17.5 20.353M6.5 20.353C5.36678 19.6053 4.39469 18.6332 3.64702 17.5M3.64702 6.5C4.39469 5.36678 5.36678 4.39469 6.5 3.64702",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var wf=[["path",{d:"M19.5 5.5L18.8803 15.5251C18.7219 18.0864 18.6428 19.3671 18.0008 20.2879C17.6833 20.7431 17.2747 21.1273 16.8007 21.416C15.8421 22 14.559 22 11.9927 22C9.42312 22 8.1383 22 7.17905 21.4149C6.7048 21.1257 6.296 20.7408 5.97868 20.2848C5.33688 19.3626 5.25945 18.0801 5.10461 15.5152L4.5 5.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 5.5H21M16.0557 5.5L15.3731 4.09173C14.9196 3.15626 14.6928 2.68852 14.3017 2.39681C14.215 2.3321 14.1231 2.27454 14.027 2.2247C13.5939 2 13.0741 2 12.0345 2C10.9688 2 10.436 2 9.99568 2.23412C9.8981 2.28601 9.80498 2.3459 9.71729 2.41317C9.32164 2.7167 9.10063 3.20155 8.65861 4.17126L8.05292 5.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M9.5 16.5L9.5 10.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M14.5 16.5L14.5 10.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}]];var _f=[["path",{d:"M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var Lf=[["path",{d:"M14.0737 3.88545C14.8189 3.07808 15.1915 2.6744 15.5874 2.43893C16.5427 1.87076 17.7191 1.85309 18.6904 2.39232C19.0929 2.6158 19.4769 3.00812 20.245 3.79276C21.0131 4.5774 21.3972 4.96972 21.6159 5.38093C22.1438 6.37312 22.1265 7.57479 21.5703 8.5507C21.3398 8.95516 20.9446 9.33578 20.1543 10.097L10.7506 19.1543C9.25288 20.5969 8.504 21.3182 7.56806 21.6837C6.63212 22.0493 5.6032 22.0224 3.54536 21.9686L3.26538 21.9613C2.63891 21.9449 2.32567 21.9367 2.14359 21.73C1.9615 21.5234 1.98636 21.2043 2.03608 20.5662L2.06308 20.2197C2.20301 18.4235 2.27297 17.5255 2.62371 16.7182C2.97444 15.9109 3.57944 15.2555 4.78943 13.9445L14.0737 3.88545Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 4L20 11",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14 22L22 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var $f=[["path",{d:"M13 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C21.9796 9.05942 21.9992 10.0588 22 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 13V21M22 17H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var If=[["path",{d:"M19 21C19.6068 20.4102 22 18.8403 22 18C22 17.1597 19.6068 15.5898 19 15M21 18H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 21C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C21.9796 9.05942 21.9992 10.0588 22 12V13",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]];var Sf=[["path",{d:"M8 6.50116H16.75C18.8567 6.50116 19.91 6.50116 20.6667 7.0069C20.9943 7.22584 21.2755 7.50717 21.4944 7.83484C22 8.59173 22 9.64538 22 11.7527C22 12.0122 22 12.2621 21.9997 12.5029M12 6.50116L11.3666 5.23392C10.8418 4.18406 10.3622 3.1273 9.19926 2.69106C8.6899 2.5 8.10802 2.5 6.94427 2.5C5.1278 2.5 4.21956 2.5 3.53806 2.88043C3.05227 3.15161 2.65142 3.55257 2.38032 4.03851C2 4.72021 2 5.62871 2 7.44571V10.5023C2 15.2177 2 17.5754 3.46447 19.0403C4.70529 20.2815 6.58687 20.4711 10 20.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"14",cy:"12.5",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"20",cy:"18.5",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18 18.5C15.7909 18.5 14 16.7091 14 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M14 14.5V21.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]];var zf=[["path",{d:"M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C22 9.08996 22 10.1433 22 12.25C22 15.7612 22 17.5167 21.1573 18.7779C20.7926 19.3238 20.3238 19.7926 19.7779 20.1573C18.5167 21 16.7612 21 13.25 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}]];var Mf=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5C14.5 10.3569 14.0689 11.1131 13.4117 11.5636C12.7283 12.0319 12 12.6716 12 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Nf=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 16V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Pf=[["path",{d:"M12 3V6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 18V21",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 12L18 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 12L3 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M18.3635 5.63672L16.2422 7.75804",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M7.75804 16.2422L5.63672 18.3635",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M18.3635 18.3635L16.2422 16.2422",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M7.75804 7.75804L5.63672 5.63672",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}]];var Af=[["path",{d:"M12 20.5C19.1328 20.5 22 16.4706 22 11.5C22 6.52944 20.1328 2.5 12 2.5C4.13281 2.5 2 6.52944 2 11.5C2 13.5712 2.37034 15.4791 3.37161 17C4.63281 19 3.99253 20.8333 3 21.5C4.61547 21.5 5.70211 20.9858 6.39239 20.4766C6.88252 20.115 7.50688 19.9364 8.0984 20.0815C9.20689 20.3533 10.4991 20.5 12 20.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10 9C10 7.89543 10.8954 7 12 7C13.1046 7 14 7.89543 14 9C14 9.57777 13.755 10.0983 13.3632 10.4634C12.7572 11.0282 12 11.6716 12 12.5M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var Tf=[["path",{d:"M6.00449 12.5V12M18.0045 12.5V12M12.0045 12.5V12M7.00449 12.5C7.00449 11.9477 6.55677 11.5 6.00449 11.5C5.4522 11.5 5.00449 11.9477 5.00449 12.5C5.00449 13.0523 5.4522 13.5 6.00449 13.5C6.55677 13.5 7.00449 13.0523 7.00449 12.5ZM19.0045 12.5C19.0045 11.9477 18.5568 11.5 18.0045 11.5C17.4522 11.5 17.0045 11.9477 17.0045 12.5C17.0045 13.0523 17.4522 13.5 18.0045 13.5C18.5568 13.5 19.0045 13.0523 19.0045 12.5ZM13.0045 12.5C13.0045 11.9477 12.5568 11.5 12.0045 11.5C11.4522 11.5 11.0045 11.9477 11.0045 12.5C11.0045 13.0523 11.4522 13.5 12.0045 13.5C12.5568 13.5 13.0045 13.0523 13.0045 12.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var Ef=[["path",{d:"M17 17L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var Of=[["path",{d:"M21.3175 7.14139L20.8239 6.28479C20.4506 5.63696 20.264 5.31305 19.9464 5.18388C19.6288 5.05472 19.2696 5.15664 18.5513 5.36048L17.3311 5.70418C16.8725 5.80994 16.3913 5.74994 15.9726 5.53479L15.6357 5.34042C15.2766 5.11043 15.0004 4.77133 14.8475 4.37274L14.5136 3.37536C14.294 2.71534 14.1842 2.38533 13.9228 2.19657C13.6615 2.00781 13.3143 2.00781 12.6199 2.00781H11.5051C10.8108 2.00781 10.4636 2.00781 10.2022 2.19657C9.94085 2.38533 9.83106 2.71534 9.61149 3.37536L9.27753 4.37274C9.12465 4.77133 8.84845 5.11043 8.48937 5.34042L8.15249 5.53479C7.73374 5.74994 7.25259 5.80994 6.79398 5.70418L5.57375 5.36048C4.85541 5.15664 4.49625 5.05472 4.17867 5.18388C3.86109 5.31305 3.67445 5.63696 3.30115 6.28479L2.80757 7.14139C2.45766 7.74864 2.2827 8.05227 2.31666 8.37549C2.35061 8.69871 2.58483 8.95918 3.05326 9.48012L4.0843 10.6328C4.3363 10.9518 4.51521 11.5078 4.51521 12.0077C4.51521 12.5078 4.33636 13.0636 4.08433 13.3827L3.05326 14.5354C2.58483 15.0564 2.35062 15.3168 2.31666 15.6401C2.2827 15.9633 2.45766 16.2669 2.80757 16.8741L3.30114 17.7307C3.67443 18.3785 3.86109 18.7025 4.17867 18.8316C4.49625 18.9608 4.85542 18.8589 5.57377 18.655L6.79394 18.3113C7.25263 18.2055 7.73387 18.2656 8.15267 18.4808L8.4895 18.6752C8.84851 18.9052 9.12464 19.2442 9.2775 19.6428L9.61149 20.6403C9.83106 21.3003 9.94085 21.6303 10.2022 21.8191C10.4636 22.0078 10.8108 22.0078 11.5051 22.0078H12.6199C13.3143 22.0078 13.6615 22.0078 13.9228 21.8191C14.1842 21.6303 14.294 21.3003 14.5136 20.6403L14.8476 19.6428C15.0004 19.2442 15.2765 18.9052 15.6356 18.6752L15.9724 18.4808C16.3912 18.2656 16.8724 18.2055 17.3311 18.3113L18.5513 18.655C19.2696 18.8589 19.6288 18.9608 19.9464 18.8316C20.264 18.7025 20.4506 18.3785 20.8239 17.7307L21.3175 16.8741C21.6674 16.2669 21.8423 15.9633 21.8084 15.6401C21.7744 15.3168 21.5402 15.0564 21.0718 14.5354L20.0407 13.3827C19.7887 13.0636 19.6098 12.5078 19.6098 12.0077C19.6098 11.5078 19.7888 10.9518 20.0407 10.6328L21.0718 9.48012C21.5402 8.95918 21.7744 8.69871 21.8084 8.37549C21.8423 8.05227 21.6674 7.74864 21.3175 7.14139Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15.5195 12C15.5195 13.933 13.9525 15.5 12.0195 15.5C10.0865 15.5 8.51953 13.933 8.51953 12C8.51953 10.067 10.0865 8.5 12.0195 8.5C13.9525 8.5 15.5195 10.067 15.5195 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]];var Rf=[["path",{d:"M2 12C2 8.31087 2 6.4663 2.81382 5.15877C3.1149 4.67502 3.48891 4.25427 3.91891 3.91554C5.08116 3 6.72077 3 10 3H14C17.2792 3 18.9188 3 20.0811 3.91554C20.5111 4.25427 20.8851 4.67502 21.1862 5.15877C22 6.4663 22 8.31087 22 12C22 15.6891 22 17.5337 21.1862 18.8412C20.8851 19.325 20.5111 19.7457 20.0811 20.0845C18.9188 21 17.2792 21 14 21H10C6.72077 21 5.08116 21 3.91891 20.0845C3.48891 19.7457 3.1149 19.325 2.81382 18.8412C2 17.5337 2 15.6891 2 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 3L9.5 21",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M5 7H6M5 10H6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Zf=[["path",{d:"M3.99963 5.00055L9.99963 5.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.9996 5.00031L19.9996 5.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15.9996 9.00031L15.9996 15.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M9.99963 2.00031L9.99963 8.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M11.9996 16.0003L11.9996 22.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M15.9996 12.0001L19.9996 12.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M3.99963 12.0005L12.9996 12.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M11.9996 19.0003L19.9996 19.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}],["path",{d:"M3.99963 19.0005L8.99963 19.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"8"}]];var Df=[["path",{d:"M17 8L18.8398 9.85008C19.6133 10.6279 20 11.0168 20 11.5C20 11.9832 19.6133 12.3721 18.8398 13.1499L17 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 8L5.16019 9.85008C4.38673 10.6279 4 11.0168 4 11.5C4 11.9832 4.38673 12.3721 5.16019 13.1499L7 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 4L9.5 20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var jf=[["path",{d:"M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 2.20004C13.3538 2.06886 12.6849 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 11.3151 21.9311 10.6462 21.8 10",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.0303 11.9625L16.5832 7.4096M19.7404 4.34462L19.1872 2.35748C19.0853 2.03011 18.6914 1.89965 18.4259 2.11662C16.9898 3.29018 15.4254 4.87091 16.703 7.36419C19.2771 8.56455 20.7466 6.94584 21.8733 5.5853C22.0975 5.3146 21.9623 4.90767 21.6247 4.81005L19.7404 4.34462Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Wf=[["path",{d:"M5 14L8.5 17.5L19 6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var Vf=[["path",{d:"M3 15V14H21V15C21 17.8284 21 19.2426 20.1213 20.1213C19.2426 21 17.8284 21 15 21H9C6.17157 21 4.75736 21 3.87868 20.1213C3 19.2426 3 17.8284 3 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 14L3.00001 12.9999C3.00003 11.5278 3.00004 10.7918 3.31675 10.1584C3.63347 9.52493 4.22231 9.08329 5.39999 8.20002C6.19297 7.60528 6.58946 7.30791 7.05132 7.15395C7.51317 7 8.00879 7 9.00002 7H15C15.9912 7 16.4868 7 16.9487 7.15395C17.4105 7.3079 17.807 7.60527 18.6 8.2C19.7777 9.08328 20.3666 9.52492 20.6833 10.1584C21 10.7918 21 11.5279 21 13V14H3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16 12V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M8 12V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M8.49997 7.00006V6.50006C8.49997 5.0956 8.49997 4.39337 8.83703 3.88892C8.98295 3.67054 9.17045 3.48304 9.38883 3.33712C9.89328 3.00006 10.5955 3.00006 12 3.00006C13.4044 3.00006 14.1067 3.00006 14.6111 3.33712C14.8295 3.48304 15.017 3.67054 15.1629 3.88892C15.5 4.39337 15.5 5.0956 15.5 6.50006V7.00006",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]];var Bf=[["path",{d:"M20.0004 10.9826C20.6281 10.1316 21 9.07385 21 7.92761C21 5.11556 18.7614 2.83594 16 2.83594C14.0209 2.83594 12.3104 4.00687 11.5 5.70554",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.6364 21.1658H9.36364C6.67794 21.1658 5.33509 21.1658 4.40253 20.4549C4.13533 20.2512 3.89812 20.0096 3.69811 19.7375C3 18.7879 3 17.4204 3 14.6855C3 13.1226 3 12.3412 3.39892 11.7986C3.51321 11.6431 3.64876 11.505 3.80144 11.3887C4.33434 10.9824 5.10168 10.9824 6.63636 10.9824H17.3636C18.8983 10.9824 19.6657 10.9824 20.1986 11.3887C20.3512 11.505 20.4868 11.6431 20.6011 11.7986C21 12.3412 21 13.1226 21 14.6855C21 17.4204 21 18.7879 20.3019 19.7375C20.1019 20.0096 19.8647 20.2512 19.5975 20.4549C18.6649 21.1658 17.3221 21.1658 14.6364 21.1658Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 15.0547H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M13.6858 10.9826L13.335 10.1564C13.2474 9.94999 13.2565 9.71349 13.3595 9.51989L14.9144 6.59747C15.1776 6.10273 14.7982 5.48558 14.2636 5.53902L11.1099 5.85432C10.9004 5.87526 10.692 5.78776 10.5492 5.6189L8.39732 3.07491C8.03241 2.64349 7.37203 2.82539 7.26584 3.38656L6.63969 6.69573C6.59813 6.91538 6.46021 7.09827 6.26863 7.18779L3.38401 8.53572C2.89509 8.76418 2.86669 9.49366 3.33529 9.78682L5.24666 10.9826",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]];var Ff=[["path",{d:"M3 20.5002C3.28417 16.8058 6.3 13.7193 10.0008 13.5379C10.3134 13.5226 10.6446 13.5097 11 13.5L11.995 13.5663C12.6939 13.6129 13.3665 13.7543 14 13.9777",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 15.5V21.5M21 18.5L15 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"11",cy:"6.5",r:"4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Hf=[["path",{d:"M15 5C15 6.65685 13.6569 8 12 8C10.3431 8 9 6.65685 9 5C9 3.34315 10.3431 2 12 2C13.6569 2 15 3.34315 15 5Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V9M12 9C12 9.93188 12 10.3978 12.1776 10.7654C12.4144 11.2554 12.8687 11.6448 13.4404 11.8478C13.8692 12 14.4128 12 15.5 12C16.5872 12 17.1308 12 17.5596 12.1522C18.1313 12.3552 18.5856 12.7446 18.8224 13.2346C19 13.6022 19 14.0681 19 15V16M12 9C12 9.93188 12 10.3978 11.8224 10.7654C11.5856 11.2554 11.1313 11.6448 10.5596 11.8478C10.1308 12 9.5872 12 8.5 12C7.4128 12 6.8692 12 6.44041 12.1522C5.86867 12.3552 5.41443 12.7446 5.17761 13.2346C5 13.6022 5 14.0681 5 15V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M8 19C8 20.6569 6.65685 22 5 22C3.34315 22 2 20.6569 2 19C2 17.3431 3.34315 16 5 16C6.65685 16 8 17.3431 8 19Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M22 19C22 20.6569 20.6569 22 19 22C17.3431 22 16 20.6569 16 19C16 17.3431 17.3431 16 19 16C20.6569 16 22 17.3431 22 19Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}]];var Uf=[["path",{d:"M8.62814 12.6736H8.16918C6.68545 12.6736 5.94358 12.6736 5.62736 12.1844C5.31114 11.6953 5.61244 11.0138 6.21504 9.65083L8.02668 5.55323C8.57457 4.314 8.84852 3.69438 9.37997 3.34719C9.91142 3 10.5859 3 11.935 3H14.0244C15.6632 3 16.4826 3 16.7916 3.53535C17.1007 4.0707 16.6942 4.78588 15.8811 6.21623L14.8092 8.10188C14.405 8.81295 14.2029 9.16849 14.2057 9.45952C14.2094 9.83775 14.4105 10.1862 14.7354 10.377C14.9854 10.5239 15.3927 10.5239 16.2074 10.5239C17.2373 10.5239 17.7523 10.5239 18.0205 10.7022C18.3689 10.9338 18.5513 11.3482 18.4874 11.7632C18.4382 12.0826 18.0918 12.4656 17.399 13.2317L11.8639 19.3523C10.7767 20.5545 10.2331 21.1556 9.86807 20.9654C9.50303 20.7751 9.67833 19.9822 10.0289 18.3962L10.7157 15.2896C10.9826 14.082 11.1161 13.4782 10.7951 13.0759C10.4741 12.6736 9.85877 12.6736 8.62814 12.6736Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];Vl();var q6=[["path",{d:"M2 3.4C2 2.24173 2.24173 2 3.4 2H20.6C21.7583 2 22 2.24173 22 3.4V4.6C22 5.75827 21.7583 6 20.6 6H3.4C2.24173 6 2 5.75827 2 4.6V3.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 11.4C2 10.2417 2.24173 10 3.4 10H10.6C11.7583 10 12 10.2417 12 11.4V12.6C12 13.7583 11.7583 14 10.6 14H3.4C2.24173 14 2 13.7583 2 12.6V11.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2 19.4C2 18.2417 2.24173 18 3.4 18H10.6C11.7583 18 12 18.2417 12 19.4V20.6C12 21.7583 11.7583 22 10.6 22H3.4C2.24173 22 2 21.7583 2 20.6V19.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18 13V21M22 17H14",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}]],v9={AlertCircle:cf,AlertTriangle:uf,Archive:lf,Bot:mf,Bug:kf,Check:Wf,ChevronDown:df,ChevronLeft:pf,ChevronRight:ff,Circle:bf,CircleCheck:yf,CircleQuestion:Mf,CircleX:gf,ClosePluginPane:Ji,CloseThreadPane:Ji,Code:Df,ComputerTerminal01:Dl,Copy:xf,Download:_f,Edit:Lf,Folder:zf,FolderExport:If,FolderGit:Sf,FolderPlus:$f,Info:Nf,ListTodo:Cf,Loading:Pf,MessageQuestion:Af,MessageCirclePlus:Zl,MessageSquarePlus:Zl,MessageSquare:hf,MoreHorizontal:Tf,PanelLeft:Rf,Search:Ef,SectionAdd:q6,Settings:Of,SlidersHorizontal:Zf,Spinner:vf,Target:jf,Terminal:Dl,Toolbox:Vf,ToolCase:Bf,Trash2:wf,UserRoundPlus:Ff,Workflow:Hf,X:Ji,Zap:Uf},G6=Object.keys(v9),eL=[...G6,...Kf],J6=v9,Hl=null;function Y6(){return Yi()!==null?Promise.resolve():(Hl??=Promise.resolve().then(()=>(x9(),b9)).then(()=>{},e=>{throw Hl=null,e}),Hl)}var X6=[];function q({name:e,className:t,style:r,"aria-hidden":n,"aria-label":o}){let i=J6[e];return i!==void 0?p(Ln,{icon:i,className:z(t),style:r,"aria-hidden":n,"aria-label":o,"data-icon":e}):p(Q6,{name:e,className:t,style:r,"aria-hidden":n,"aria-label":o})}function Q6({name:e,className:t,style:r,"aria-hidden":n,"aria-label":o}){let s=Lr(Gf,Yi,Yi)?.[e];return s===void 0&&Y6().catch(()=>{}),p(Ln,{icon:s??X6,className:z(t),style:r,"aria-hidden":n,"aria-label":o,"data-icon":e,"data-icon-pending":s===void 0?"":void 0})}var e7={queued:"bg-muted text-muted-foreground border-border",starting:"bg-muted text-muted-foreground border-border",running:"bg-primary/10 text-primary border-primary/30",waiting:"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/30",completed:"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border-emerald-500/30",failed:"bg-destructive/10 text-destructive border-destructive/30",interrupted:"bg-orange-500/10 text-orange-600 dark:text-orange-400 border-orange-500/30",skipped:"bg-muted text-muted-foreground border-border"},t7={queued:"Queued",starting:"Starting",running:"Running",waiting:"Waiting",completed:"Done",failed:"Failed",interrupted:"Interrupted",skipped:"Skipped"};function rt({status:e,className:t}){return p("span",{className:z("inline-flex shrink-0 items-center rounded-full border px-2 py-0.5 text-2xs font-medium uppercase tracking-wide",e7[e],t),children:t7[e]})}function Qi({reducedMotion:e}){return b("span",{"data-testid":"kanban-live-indicator",className:"inline-flex items-center gap-1 text-2xs font-semibold uppercase tracking-wider text-primary","aria-label":"Live execution",children:[p("span",{className:z("size-1.5 shrink-0 rounded-full bg-primary",!e&&"ab-live-dot"),"aria-hidden":"true"}),"Live"]})}function es({identity:e,reducedMotion:t}){let r=[...e].reduce((n,o)=>n+o.charCodeAt(0),0)%4;return p("div",{"data-testid":"kanban-live-strip","data-motion-variant":r,className:z("ab-strip",t&&"ab-strip-static"),role:"presentation"})}function w9(e,t){let r=Nt(),[n,o]=V(null),[i,s]=V(!1),[a,c]=V(!1),[u,l]=V(null),d=Z(t),f=Z(null),m=Z(!1),g=Z(!1),C=Z(0),y=Z(()=>{}),x=e.source==="bb"?`bb:${e.executionKey}:${e.threadId}`:e.source==="ollama-fleet"?`ollama-fleet:${e.executionKey}:${e.jobId}`:`redteam:${e.executionKey}:${e.scanId}`;d.current=t,f.current=n;let w=G(()=>{if(!d.current)return;if(m.current){g.current=!0;return}m.current=!0;let L=++C.current;f.current===null?s(!0):c(!0);let R=e.source==="bb"?{source:"bb",executionKey:e.executionKey,threadId:e.threadId}:e.source==="ollama-fleet"?{source:"ollama-fleet",executionKey:e.executionKey,jobId:e.jobId}:{source:"redteam",executionKey:e.executionKey,scanId:e.scanId};r.call("execution_timeline",R).then(W=>{L===C.current&&(f.current=W,o(W),l(null))},W=>{L===C.current&&l(W instanceof Error?W.message:String(W))}).finally(()=>{if(L!==C.current)return;m.current=!1,s(!1),c(!1);let W=g.current&&(f.current?.active??!0);g.current=!1,W&&d.current&&queueMicrotask(()=>y.current())})},[e,r]);y.current=w,Y(()=>{C.current+=1,m.current=!1,g.current=!1,f.current=null,o(null),l(null),s(!1),c(!1),t&&queueMicrotask(()=>y.current())},[t,x]),Mt(Cr,()=>{d.current&&(f.current?.active??!0)&&y.current()});let $=Ve(),P=Z(!1),T=Z($);return Y(()=>{let L=T.current;T.current=$,$==="connected"&&L!=="connected"&&P.current&&d.current&&(f.current?.active??!0)&&y.current(),$==="connected"&&(P.current=!0)},[$]),{timeline:n,loading:i,refreshing:a,error:u,refetch:w}}var r7="(prefers-reduced-motion: reduce)",ts=new Map;function n7(e){if(typeof window>"u"||!window.matchMedia)return null;let t=ts.get(e);if(t)return t;let r=window.matchMedia(e),n=new Set,o=()=>{for(let i of n)i()};return t={mql:r,subscribe(i){let s=n.size===0;return n.add(i),s&&r.addEventListener("change",o),()=>{n.delete(i),n.size===0&&(r.removeEventListener("change",o),ts.delete(e))}}},ts.set(e,t),t}function o7(e,t){return n7(e)?.subscribe(t)??(()=>{})}function i7(e){return typeof window>"u"||!window.matchMedia?!1:ts.get(e)?.mql.matches??window.matchMedia(e).matches}function Ul(e){return Lr(t=>o7(e,t),()=>i7(e),()=>!1)}function nt(){return Ul(r7)}var Kl=globalThis.__bbPluginRuntime;if(Kl==null||Kl.radixDialog==null)throw new Error('Cannot load "@radix-ui/react-dialog": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var rs=Kl.radixDialog,hL="default"in rs?rs.default:rs,{Close:ql,Content:_9,Description:Gl,Dialog:kL,DialogClose:gL,DialogContent:CL,DialogDescription:yL,DialogOverlay:bL,DialogPortal:xL,DialogTitle:vL,DialogTrigger:wL,Overlay:Jl,Portal:L9,Root:$9,Title:I9,Trigger:S9,WarningProvider:_L,createDialogScope:LL}=rs;function $n(){let e="agent-board";return{"data-bb-portaled-overlay":"","data-bb-plugin-root":"",...e!==void 0?{"data-bb-plugin":e}:{}}}var Yl=globalThis.__bbPluginRuntime;if(Yl==null||Yl.reactDom==null)throw new Error('Cannot load "react-dom": this bundle must be loaded by the BB app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var ns=Yl.reactDom,SL="default"in ns?ns.default:ns,{createPortal:z9,flushSync:zL,preconnect:ML,prefetchDNS:NL,preinit:PL,preinitModule:AL,preload:TL,preloadModule:EL,requestFormReset:OL,unstable_batchedUpdates:RL,useFormState:ZL,useFormStatus:DL,version:jL}=ns;var a7="select-none",u7=new Set(["button","checkbox","file","hidden","image","radio","range","reset","submit"]),os=e=>z(a7,e);function c7(e){return e instanceof HTMLTextAreaElement?!0:e instanceof HTMLInputElement?!e.disabled&&!e.readOnly&&!u7.has(e.type):e instanceof HTMLElement?e.isContentEditable||e.closest("[contenteditable='true']")!==null:!1}function In(e){if(typeof document>"u")return;let t=document.activeElement;!t||!c7(t)||e!==null&&!e.contains(t)||t.blur()}function is(){In(null)}function N9(){In(null)}function Sn(e){e.preventDefault()}var M9="pointer";typeof document<"u"&&(document.addEventListener("keydown",()=>{M9="keyboard"},{capture:!0}),document.addEventListener("pointerdown",()=>{M9="pointer"},{capture:!0}));var l7="(max-width: 767px)",d7=vr(null);function P9(){let e=_r(d7),t=Ul(l7);return e!==null?e:t}var p7=120;function A9(e){e!==null&&(e.style.height="",e.style.bottom="")}function E9(e,t,r=!1){let n=P9(),[o,i]=V(r),s=e!==void 0,a=s?e:o,c=G(u=>{a&&!u&&n&&N9(),s||i(u),t?.(u)},[n,s,t,a]);return he(()=>({isCompactViewport:n,open:a,onOpenChange:c}),[n,a,c])}var Xl=ue(({asChild:e,open:t,onOpenChange:r,haspopup:n,onClick:o,children:i,className:s,...a},c)=>{let u=os(s),l=f=>{o?.(f),f.defaultPrevented||(t||is(),r(!t))},d={"aria-expanded":t,"aria-haspopup":n,"data-state":t?"open":"closed"};return e?p(tt,{ref:c,onClick:l,onMouseDown:Sn,className:u,...d,...a,children:i}):p("button",{ref:c,type:"button",onClick:l,onMouseDown:Sn,className:u,...d,...a,children:i})});Xl.displayName="MobileTrigger";var f7=["side","sideOffset","align","alignOffset","collisionPadding","collisionBoundary","arrowPadding","sticky","hideWhenDetached","avoidCollisions","onOpenAutoFocus","onCloseAutoFocus","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],m7=new Set(f7);function O9(e){let t={};for(let r of Object.keys(e))m7.has(r)||(t[r]=e[r]);return t}function h7({open:e,enabled:t=!0}){let[r,n]=V(!1),o=G(()=>n(!0),[]);return Y(()=>{if(!t||!e||r)return;let i=null,s=null;i=window.requestAnimationFrame(()=>{i=null,s=window.requestAnimationFrame(()=>{s=null,o()})});let a=window.setTimeout(o,p7);return()=>{i!==null&&window.cancelAnimationFrame(i),s!==null&&window.cancelAnimationFrame(s),window.clearTimeout(a)}},[t,r,e,o]),{isContentRealized:t&&r,realizeContent:o}}function R9({open:e,onOpenChange:t,onAfterCloseAutoFocus:r,srLabel:n,labelledBy:o,describedBy:i,contentClassName:s,onContentAnimationEnd:a,children:c}){let{isContentRealized:u}=h7({open:e});return!e&&!u?null:p(_7,{open:e,onOpenChange:t,onAfterCloseAutoFocus:r,srLabel:n,labelledBy:o,describedBy:i,contentClassName:s,onContentAnimationEnd:a,children:u?c:p("div",{"aria-hidden":"true",className:"min-h-32","data-responsive-drawer-placeholder":""})})}var T9="cubic-bezier(0.32, 0.72, 0, 1)",k7=.25,g7=450,C7=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),ss=new WeakMap;function y7(e){return Array.from(e.querySelectorAll(C7)).filter(t=>t.closest('[aria-hidden="true"], [inert]')===null)}function b7(e,t){let r=e?.closest("[data-bb-portaled-overlay]");return r!=null&&r!==t}function x7(e,t){let r=t.ownerDocument.activeElement;if(!t.contains(r)&&b7(r,t))return;let n=y7(t);if(e.preventDefault(),n.length===0){t.focus({preventScroll:!0});return}let o=n[0],i=n[n.length-1];if(e.shiftKey){if(!t.contains(r)||r===t||r===o){i?.focus({preventScroll:!0});return}let a=n.indexOf(r);n[Math.max(0,a-1)]?.focus({preventScroll:!0});return}if(!t.contains(r)||r===t||r===i){o?.focus({preventScroll:!0});return}let s=n.indexOf(r);n[Math.min(n.length-1,s+1)]?.focus({preventScroll:!0})}function v7(e,t){let r=ss.get(e);if(r===void 0){let n=[],o=i=>{if(i.defaultPrevented)return;let s=n[n.length-1],a=s?.panel()??null;s===void 0||a===null||(i.key==="Escape"?(i.preventDefault(),s.requestClose()):i.key==="Tab"&&x7(i,a))};r={entries:n,handleKeyDown:o},ss.set(e,r),e.addEventListener("keydown",o)}return r.entries.push(t),()=>{let n=ss.get(e);if(n===void 0)return;let o=n.entries.indexOf(t);o>=0&&n.entries.splice(o,1),n.entries.length===0&&(e.removeEventListener("keydown",n.handleKeyDown),ss.delete(e))}}function w7({onAfterCloseAutoFocus:e,onBeforeCloseAutoFocus:t,open:r,panelRef:n,requestClose:o}){let i=Z(null);Me(()=>{if(!r)return;let a=n.current;if(a===null)return;let c=a.ownerDocument,u=c.activeElement;i.current=u instanceof HTMLElement&&u!==c.body?u:null;let l=v7(c,{panel:()=>n.current,requestClose:o});return a.focus({preventScroll:!0}),l},[r,n,o]);let s=Z(r);Me(()=>{let a;if(s.current&&!r){t?.();let c=i.current;if(c?.isConnected&&c.closest('[aria-hidden="true"], [inert]')===null&&(c.focus({preventScroll:!0}),c.ownerDocument.activeElement!==c)){let u=c.ownerDocument.defaultView;if(u!==null){let l=u.requestAnimationFrame(()=>{c.isConnected&&c.closest('[aria-hidden="true"], [inert]')===null&&c.focus({preventScroll:!0}),e?.()});a=()=>u.cancelAnimationFrame(l)}}i.current=null,a===void 0&&e?.()}return s.current=r,a},[e,t,r])}function _7({open:e,onOpenChange:t,onAfterCloseAutoFocus:r,srLabel:n,labelledBy:o,describedBy:i,contentClassName:s,motionDurationMs:a=220,onContentAnimationEnd:c,children:u}){let l=Z(null),d=Z(null),f=Z(null),m=Z(null),g=At(),C=$n(),y=`transform ${a}ms ${T9}`,x=`opacity ${a}ms ${T9}`,w=Z(t);Me(()=>{w.current=t},[t]);let $=G(()=>{In(l.current),A9(l.current),w.current(!1)},[]),P=G(()=>{In(l.current),A9(l.current)},[]);w7({onAfterCloseAutoFocus:r,onBeforeCloseAutoFocus:P,open:e,panelRef:l,requestClose:$});let T=G(D=>{m.current!==D&&(m.current=D,c?.(D))},[c]);Y(()=>{m.current=null;let D=window.setTimeout(()=>T(e),a+50);return()=>window.clearTimeout(D)},[a,e,T]);let L=G((D,oe,ee)=>{let je=l.current,Mn=d.current;je===null||Mn===null||(je.style.transition=ee?y:"none",je.style.transform=`translate3d(0, ${D}px, 0)`,Mn.style.transition=ee?x:"none",Mn.style.opacity=String(Math.max(0,Math.min(1,1-D/oe))))},[x,y]),R=G(D=>{if(!e||D.button!==0)return;D.currentTarget.setPointerCapture(D.pointerId);let oe=Date.now(),ee=Math.max(l.current?.clientHeight??0,1);f.current={pointerId:D.pointerId,startY:D.clientY,lastY:D.clientY,lastTimeMs:oe,velocityY:0,height:ee},L(0,ee,!1),D.preventDefault()},[e,L]),W=G(D=>{let oe=f.current;if(oe===null||oe.pointerId!==D.pointerId)return;let ee=Date.now(),je=ee-oe.lastTimeMs;je>0&&(oe.velocityY=(D.clientY-oe.lastY)/je*1e3,oe.lastY=D.clientY,oe.lastTimeMs=ee),L(Math.max(0,D.clientY-oe.startY),oe.height,!1),D.preventDefault()},[L]),yr=G((D,oe)=>{let ee=f.current;if(ee===null||ee.pointerId!==D.pointerId)return;f.current=null;let je=Math.max(0,D.clientY-ee.startY);!oe&&(je>=ee.height*k7||ee.velocityY>=g7)?(L(ee.height,ee.height,!0),$()):L(0,ee.height,!0),D.preventDefault()},[$,L]),zt=typeof document>"u"?null:document.body;return zt===null?null:z9(b(Lt,{children:[p("div",{ref:d,...C,"aria-hidden":"true","data-persistent-drawer-backdrop":"","data-state":e?"open":"closed",className:"fixed inset-0 z-50 bg-black/40",style:{opacity:e?1:0,pointerEvents:e?"auto":"none",transition:x},onClick:$,onTouchMove:D=>D.preventDefault()}),b("div",{ref:l,...C,"aria-hidden":!e,"aria-labelledby":o??(n===void 0?void 0:g),"aria-describedby":i,"aria-modal":e||void 0,"data-bb-portaled-overlay":"","data-persistent-drawer-content":"","data-state":e?"open":"closed",inert:!e,role:"dialog",tabIndex:-1,className:z("fixed inset-x-0 bottom-0 z-50 mt-24 flex max-h-[92dvh] flex-col rounded-t-xl border bg-background outline-none",s),style:{transform:e?"translate3d(0, 0, 0)":"translate3d(0, 100%, 0)",transition:y,willChange:e?"transform":void 0},onTransitionEnd:D=>{D.currentTarget===D.target&&D.propertyName==="transform"&&T(e)},children:[p("div",{"data-persistent-drawer-handle":"",className:"mx-auto flex h-8 w-16 shrink-0 touch-none cursor-grab items-center justify-center active:cursor-grabbing",onPointerDown:R,onPointerMove:W,onPointerUp:D=>yr(D,!1),onPointerCancel:D=>yr(D,!0),children:p("div",{className:"h-1 w-10 rounded-full bg-muted-foreground/20"})}),n===void 0?null:p("h2",{id:g,className:"sr-only",children:n}),u]})]}),zt)}var Z9=vr({isCompactViewport:!1,open:!1,onOpenChange:()=>{},titleId:"",descriptionId:"",registerTitleId:()=>()=>{},registerDescriptionId:()=>()=>{}});function zn(){return _r(Z9)}function D9({children:e,open:t,onOpenChange:r,...n}){let o=E9(t,r),i=At(),s=At(),[a,c]=V(i),[u,l]=V(s),d=G(C=>(c(C),()=>c(i)),[i]),f=G(C=>(l(C),()=>l(s)),[s]),m=he(()=>({...o,titleId:a,descriptionId:u,registerTitleId:d,registerDescriptionId:f}),[u,f,d,o,a]),g=m.isCompactViewport?e:p($9,{open:m.open,onOpenChange:m.onOpenChange,...n,children:e});return p(Z9.Provider,{value:m,children:g})}var Ql=ue(({asChild:e,children:t,className:r,...n},o)=>{let{isCompactViewport:i,open:s,onOpenChange:a}=zn();return i?p(Xl,{ref:o,asChild:e,open:s,onOpenChange:a,haspopup:"dialog",className:r,...n,children:t}):p(S9,{ref:o,asChild:e,className:os(r),onMouseDown:c=>{s||is(),Sn(c)},...n,children:t})});Ql.displayName="DialogTrigger";var L7=ue(({asChild:e,onClick:t,children:r,...n},o)=>{let{isCompactViewport:i,onOpenChange:s}=zn();return i?p(e?tt:"button",{ref:o,onClick:u=>{t?.(u),u.defaultPrevented||s(!1)},...n,children:r}):p(ql,{ref:o,asChild:e,onClick:t,...n,children:r})});L7.displayName="DialogClose";var j9=ue(({className:e,...t},r)=>p(Jl,{ref:r,...$n(),className:z("fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));j9.displayName=Jl.displayName;var ed=ue(({className:e,children:t,hideCloseButton:r=!1,onAfterCloseAutoFocus:n,onCloseAutoFocus:o,...i},s)=>{let{isCompactViewport:a,open:c,onOpenChange:u,titleId:l,descriptionId:d}=zn();let f=$n();if(a){let m=O9(i);return p(R9,{open:c,onOpenChange:u,onAfterCloseAutoFocus:n,labelledBy:l,describedBy:d,children:p("div",{ref:s,className:z("grid grid-cols-[minmax(0,1fr)] gap-4 overflow-y-auto px-4 pt-2 pb-[max(1rem,env(safe-area-inset-bottom))]",e,"max-w-none"),...m,children:t})})}return b(L9,{children:[p(j9,{}),b(_9,{ref:s,...f,onCloseAutoFocus:m=>{o?.(m),queueMicrotask(()=>n?.())},className:z("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg grid-cols-[minmax(0,1fr)] translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-sm 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",e),...i,children:[t,r?null:b(ql,{className:"absolute right-4 top-4 cursor-pointer rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-state-active data-[state=open]:text-foreground",children:[p(q,{name:"X",className:"h-4 w-4"}),p("span",{className:"sr-only",children:"Close"})]})]})]})});ed.displayName="DialogContent";var td=({className:e,...t})=>p("div",{className:z("flex flex-col space-y-1.5 text-left",e),...t});td.displayName="DialogHeader";var $7=({className:e,...t})=>p("div",{className:z("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});$7.displayName="DialogFooter";var rd=ue(({asChild:e,className:t,id:r,children:n,...o},i)=>{let{isCompactViewport:s,titleId:a,registerTitleId:c}=zn(),u=r??a;if(Me(()=>{if(s)return c(u)},[s,c,u]),s){let l={id:u,className:z("text-base font-semibold leading-none tracking-tight",t),...o};return e?p(tt,{ref:i,...l,children:n}):p("h2",{ref:i,...l,children:n})}return p(I9,{ref:i,asChild:e,...r===void 0?{}:{id:r},className:z("text-base font-semibold leading-none tracking-tight",t),...o,children:n})});rd.displayName="DialogTitle";var nd=ue(({asChild:e,className:t,id:r,children:n,...o},i)=>{let{isCompactViewport:s,descriptionId:a,registerDescriptionId:c}=zn(),u=r??a;if(Me(()=>{if(s)return c(u)},[s,c,u]),s){let l={id:u,className:z("text-sm text-muted-foreground",t),...o};return e?p(tt,{ref:i,...l,children:n}):p("p",{ref:i,...l,children:n})}return p(Gl,{ref:i,asChild:e,...r===void 0?{}:{id:r},className:z("text-sm text-muted-foreground",t),...o,children:n})});nd.displayName=Gl.displayName;var I7={"execution-start":{label:"Started",icon:"Circle"},"execution-complete":{label:"Completed",icon:"CircleCheck"},"execution-failed":{label:"Failed",icon:"AlertCircle"},"execution-interrupted":{label:"Interrupted",icon:"AlertTriangle"},"phase-start":{label:"Phase",icon:"Workflow"},"phase-complete":{label:"Phase complete",icon:"Check"},"phase-failed":{label:"Phase failed",icon:"AlertCircle"},"model-selected":{label:"Model",icon:"Bot"},"tool-start":{label:"Tool",icon:"ToolCase"},"tool-complete":{label:"Tool complete",icon:"ToolCase"},"tool-failed":{label:"Tool failed",icon:"AlertCircle"},"public-update":{label:"Update",icon:"MessageSquare"},waiting:{label:"Waiting",icon:"Info"},resumed:{label:"Resumed",icon:"ArrowRight"},"approval-requested":{label:"Action required",icon:"AlertTriangle"},"question-requested":{label:"Question",icon:"MessageQuestion"},"child-start":{label:"Child started",icon:"UserRoundPlus"},"child-complete":{label:"Child completed",icon:"CircleCheck"},"child-failed":{label:"Child failed",icon:"AlertCircle"},delegation:{label:"Delegation",icon:"UserRoundPlus"}};function S7(e){return new Date(e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})}function z7(e){let t=[];return e.toolName!==null&&t.push(e.toolName),e.target!==null&&t.push(e.target),e.model!==null&&t.push(e.model),e.durationMs!==null&&t.push(ie(e.durationMs)),t.length>0?t.join(" \xB7 "):null}function M7({event:e,reducedMotion:t}){let r=I7[e.kind],n=z7(e),o=e.status==="failed"||e.kind.endsWith("-failed");return b("li",{"data-event-kind":e.kind,className:z("grid min-w-0 grid-cols-[4.75rem_minmax(0,1fr)] gap-2 py-2.5 sm:grid-cols-[5.5rem_1.25rem_minmax(0,1fr)] sm:gap-3",!t&&"ab-row-in"),children:[p("time",{dateTime:new Date(e.timestamp).toISOString(),className:"pt-0.5 font-mono text-2xs tabular-nums text-muted-foreground max-md:text-xs",children:S7(e.timestamp)}),p(q,{name:r.icon,className:z("mt-0.5 hidden size-4 sm:block",o?"text-destructive":"text-muted-foreground"),"aria-hidden":"true"}),b("div",{className:"min-w-0",children:[b("div",{className:"flex min-w-0 items-start gap-1.5",children:[p(q,{name:r.icon,className:z("mt-0.5 size-3.5 shrink-0 sm:hidden",o?"text-destructive":"text-muted-foreground"),"aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[p("p",{className:z("text-2xs font-semibold uppercase tracking-wider",o?"text-destructive":"text-muted-foreground"),children:r.label}),p("p",{className:"min-w-0 max-w-full text-sm font-medium leading-5 [overflow-wrap:anywhere]",children:e.title})]})]}),n!==null?p("p",{"data-part":"timeline-detail",className:"mt-0.5 min-w-0 max-w-full font-mono text-2xs text-muted-foreground line-clamp-2 [overflow-wrap:anywhere]",children:n}):null,e.summary!==null?p("p",{"data-part":"timeline-summary",className:z("mt-1 min-w-0 max-w-full text-xs leading-5 line-clamp-3 [overflow-wrap:anywhere]",o?"text-destructive":"text-foreground/80"),children:e.summary}):null]})]})}function $t(e,t=e.groupKey??e.key){return e.source==="ollama-fleet"&&e.jobId?{source:"ollama-fleet",executionKey:t,jobId:e.jobId,title:e.title}:e.source==="bb"&&e.threadId!==null?{source:"bb",executionKey:t,threadId:e.threadId,title:e.title}:e.source==="redteam"&&e.scanId?{source:"redteam",executionKey:t,scanId:e.scanId,title:e.title}:null}function It({target:e,buttonClassName:t,buttonVariant:r="ghost"}){let[n,o]=V(!1),i=nt(),{timeline:s,loading:a,refreshing:c,error:u,refetch:l}=w9(e,n),d=Z(null),f=Z(!0),[m,g]=V(!1),C=s?.events.at(-1)?.id??null,y=()=>{let x=d.current;x!==null&&(x.scrollTop=x.scrollHeight),f.current=!0,g(!1)};return Me(()=>{C!==null&&f.current&&y()},[C]),b(D9,{open:n,onOpenChange:x=>{o(x),x&&(f.current=!0,g(!1))},children:[p(Ql,{asChild:!0,children:p(Q,{variant:r,size:"sm",className:z("max-md:pointer-coarse:h-9",t??"h-7 px-2 text-2xs"),"aria-label":`Open timeline for ${e.title}`,children:"Timeline"})}),b(ed,{className:"min-w-0 max-w-full max-h-[88dvh] gap-3 overflow-hidden p-4 sm:max-w-2xl sm:p-5","data-testid":"execution-timeline-dialog","data-motion":i?"reduced":"full",children:[b(td,{className:"min-w-0 max-w-full pr-8",children:[b("div",{className:"flex flex-wrap items-center gap-2",children:[p(rd,{children:"Execution timeline"}),s?.active?b("span",{role:"status","aria-label":"Live timeline",className:"inline-flex items-center gap-1 text-2xs font-semibold uppercase tracking-wider text-primary",children:[p("span",{className:z("size-1.5 rounded-full bg-primary",!i&&"ab-live-dot"),"aria-hidden":"true"}),"Live"]}):null,c?p("span",{className:"text-2xs text-muted-foreground",children:"Updating\u2026"}):null]}),b(nd,{className:"min-w-0 max-w-full truncate",children:[e.title," \xB7 bounded operational events"]})]}),u!==null?b("div",{role:"alert",className:"rounded-lg border border-destructive/40 bg-destructive/10 p-3 text-sm text-destructive",children:["Timeline unavailable: ",u,p(Q,{variant:"ghost",size:"sm",className:"ml-2 h-7 max-md:pointer-coarse:h-9",onClick:l,children:"Try again"})]}):null,a&&s===null?p("div",{className:"grid min-h-48 place-items-center text-sm text-muted-foreground",children:b("span",{className:"flex items-center gap-2",children:[p(q,{name:"Loading",className:"size-4 animate-spin","aria-hidden":"true"}),"Loading timeline\u2026"]})}):null,s!==null?b(Lt,{children:[s.truncated?p("p",{className:"rounded-md border border-dashed border-border px-2.5 py-1.5 text-2xs text-muted-foreground",children:"Earlier activity omitted \u2014 showing the latest bounded events."}):null,s.sourceWarning!==null?p("p",{className:"text-2xs text-muted-foreground",children:s.sourceWarning}):null,s.events.length===0?p("p",{className:"grid min-h-40 place-items-center text-sm text-muted-foreground",children:"No public operational events are available."}):p("div",{ref:d,role:"region","aria-label":"Chronological execution events",tabIndex:0,className:"min-h-0 min-w-0 max-w-full flex-1 overflow-y-auto overscroll-contain",onScroll:x=>{let w=x.currentTarget,$=w.scrollHeight-w.scrollTop-w.clientHeight<56;f.current=$,g(!$&&s.active)},children:p("ol",{className:"min-w-0 max-w-full divide-y divide-border/70",children:s.events.map(x=>p(M7,{event:x,reducedMotion:i},x.id))})}),m?p("div",{className:"flex justify-end",children:b(Q,{variant:"outline",size:"sm",className:"h-7 max-md:pointer-coarse:h-9",onClick:y,children:[p(q,{name:"ArrowDown",className:"mr-1 size-3.5","aria-hidden":"true"}),"Jump to latest"]})}):null]}):null]})]})}var N7={thread:"Terminal","workflow-agent":"Bot",delegation:"UserRoundPlus","plan-step":"Check","queued-message":"MessageSquare",phase:"Workflow",operation:"Zap"};function P7(e){switch(e){case"running":return"Zap";case"waiting":return"Info";case"failed":return"AlertCircle";case"interrupted":return"AlertTriangle";case"completed":return"CircleCheck";default:return null}}function St({card:e,now:t,liveTreatment:r=!1,reducedMotion:n=!1}){let o=We(),i=$t(e),s=it(e,t),a=P7(e.status),c=[e.providerLabel??e.providerId,e.model].filter(Boolean).join(" \xB7 "),u=r&&(e.status==="running"||e.status==="starting");return b("div",{className:z("min-w-0 max-w-full rounded-lg border border-border bg-card p-3 text-sm shadow-sm transition-shadow hover:shadow",e.status==="failed"&&"border-destructive/40",e.isRoot&&"ring-1 ring-primary/30"),"data-card-kind":e.kind,"data-card-status":e.status,"data-card-source":e.source,"data-live-state":u?"executing":"static",children:[b("div",{className:"flex items-start gap-2",children:[p(q,{name:N7[e.kind],className:"mt-0.5 size-4 shrink-0 text-muted-foreground","aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex items-center gap-2",children:[p("span",{className:z("min-w-0 flex-1 truncate font-medium",e.status==="completed"&&"text-muted-foreground"),title:e.title,children:e.title}),b("span",{className:"flex shrink-0 items-center gap-1.5",children:[u?p(Qi,{reducedMotion:n}):null,p(rt,{status:e.status})]})]}),e.subtitle!==null?p("p",{className:"truncate text-xs text-muted-foreground",title:e.subtitle,children:e.subtitle}):null]})]}),(e.queuedMessageCount??0)>0?b("span",{"data-part":"queued-count",className:"mt-1 inline-flex rounded-full bg-muted px-2 text-xs",children:[e.queuedMessageCount," queued"]}):null,c!==""||e.phaseTitle!==null?b("p",{className:"mt-1.5 truncate text-xs text-muted-foreground",children:[c!==""?p("span",{className:"font-mono",children:c}):null,e.phaseTitle!==null?p("span",{className:c!==""?"ml-2":"",children:e.phaseTitle}):null]}):null,e.serverName?p("p",{className:"mt-1 min-w-0 truncate text-xs text-muted-foreground",title:e.serverName,children:e.serverName}):null,e.activity!==null?b("p",{className:"mt-1.5 flex items-center gap-1.5 text-xs",children:[a!==null?p(q,{name:a,className:z("size-3.5 shrink-0",e.status==="running"?"text-primary":"text-muted-foreground"),"aria-hidden":"true"}):null,p("span",{className:z("min-w-0 truncate",u&&!n&&"ab-activity-in"),title:e.activity.text,children:e.activity.text},e.activity.text)]}):null,e.waitingOn!==null?p("p",{className:"mt-1.5 text-xs text-muted-foreground italic",children:e.waitingOn}):null,e.errorPreview!==null?p("p",{className:"mt-1.5 rounded bg-destructive/10 px-2 py-1 text-xs text-destructive line-clamp-3",children:e.errorPreview}):null,e.outputPreview!==null?p("p",{className:"mt-1.5 text-xs text-muted-foreground line-clamp-2",children:e.outputPreview}):null,e.promptPreview!==null?p("p",{className:"mt-1.5 text-xs text-muted-foreground/80 line-clamp-2",children:e.promptPreview}):null,u?p("div",{className:"mt-2",children:p(es,{identity:e.key,reducedMotion:n})}):null,b("div",{className:"mt-2 flex items-center gap-2 text-2xs text-muted-foreground",children:[s!==null?p("span",{className:"font-mono",children:ie(s)}):null,e.tokens!==null?b("span",{children:[e.tokens.toLocaleString()," tok"]}):null,e.toolCalls!==null?b("span",{children:[e.toolCalls," tools"]}):null,p("span",{className:"flex-1"}),e.threadId!==null?p(Q,{variant:"ghost",size:"sm",className:"h-6 px-2 text-2xs",onClick:()=>o.toThread(e.threadId),"aria-label":"Open this thread in the main panel",children:"Open"}):null,i!==null?p(It,{target:i,buttonClassName:"h-6 px-2 text-2xs"}):null]})]})}var A7=[{id:"plan",title:"PLAN / QUEUED",hint:"Not started, queued, or waiting"},{id:"active",title:"ACTIVE AGENTS",hint:"Running right now"},{id:"output",title:"OUTPUTS / DONE",hint:"Finished, failed, interrupted"}];function W9({snapshot:e,now:t}){let r=nt(),n=he(()=>{let o=new Map([["plan",[]],["active",[]],["output",[]]]);for(let i of e.cards)o.get(i.column)?.push(i);return o},[e]);return p("div",{"data-testid":"kanban-board","data-motion":r?"reduced":"full",className:"grid gap-3 md:grid-cols-3",children:A7.map(o=>{let i=n.get(o.id)??[];return b("section",{"aria-label":o.title,className:"min-w-0",children:[b("div",{className:"mb-2 flex items-baseline justify-between px-0.5",children:[p("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:o.title}),p("span",{className:"text-2xs tabular-nums text-muted-foreground/70",title:o.hint,children:i.length})]}),i.length===0?p("div",{className:"rounded-lg border border-dashed border-border px-3 py-6 text-center text-xs text-muted-foreground/60",children:o.id==="active"?"Nothing running":"Empty"}):p("div",{className:"space-y-2",children:i.map(s=>p(St,{card:s,now:t,liveTreatment:!0,reducedMotion:r},s.key))})]},o.id)})})}var T7={completed:"completed",active:"in progress",pending:"pending",failed:"failed",interrupted:"interrupted",skipped:"skipped"};function E7(e){switch(e){case"completed":return{name:"Check",className:"text-primary-foreground"};case"active":return{name:"Loading",className:"text-primary-foreground"};case"failed":return{name:"X",className:"text-destructive-foreground"};case"interrupted":return{name:"AlertTriangle",className:"text-warning-foreground"};case"skipped":return{name:"MoreHorizontal",className:"text-muted-foreground"};default:return{name:"Circle",className:"text-muted-foreground/70"}}}function O7(e){switch(e){case"completed":return"bg-emerald-500 border-emerald-500";case"active":return"bg-primary border-primary";case"failed":return"bg-destructive border-destructive";case"interrupted":return"bg-warning border-warning";default:return"bg-transparent border-border"}}function R7(e){switch(e){case"completed":return"text-muted-foreground";case"active":return"text-foreground font-medium";case"failed":return"text-destructive";case"interrupted":return"text-foreground";default:return"text-muted-foreground/70"}}var Z7=550;function V9({nodes:e,reducedMotion:t}){let r=Z(null),[n,o]=V(null);return Y(()=>{let i=e.findIndex(a=>a.state==="active"),s=r.current;if(s!==null&&i>=0){let a=e.findIndex(c=>c.key===s);a>=0&&a!==i&&Math.abs(i-a)===1&&o(Math.min(a,i))}r.current=i>=0?e[i].key:null},[e]),Y(()=>{if(n===null||t)return;let i=setTimeout(()=>o(null),Z7);return()=>clearTimeout(i)},[n,t]),p("ol",{className:"flex w-full items-start","aria-label":"Execution steps","data-testid":"pipeline-track",children:e.map((i,s)=>{let a=E7(i.state);return b(br,{children:[s>0?p("span",{"aria-hidden":"true",className:z("ab-connector mx-1 mt-[7px] h-[2px] min-w-3 flex-1 rounded-full",e[s-1].state==="completed"&&i.state==="active"?"bg-primary/60":e[s-1].state==="completed"?"bg-primary/30":"bg-border",!t&&n===s-1&&"ab-connector-signal")}):null,b("li",{className:"flex max-w-24 flex-col items-center gap-1","aria-current":i.state==="active"?"step":void 0,"aria-label":`${i.title}: ${T7[i.state]}`,children:[p("span",{className:z("flex h-4 w-4 shrink-0 items-center justify-center rounded-full border",O7(i.state),i.state==="active"&&!t&&"ab-node-active-glyph ab-settle",i.state==="completed"&&!t&&"ab-pop",(i.state==="failed"||i.state==="interrupted")&&!t&&"ab-fail-in"),children:p(q,{name:a.name,className:z("size-2.5",a.className)})},`${i.key}:${i.state}`),p("span",{className:z("max-w-24 truncate text-center text-2xs leading-tight",R7(i.state)),title:i.error??i.summary??i.title,children:i.title}),i.state==="completed"&&i.durationMs!==null?p("span",{className:"font-mono text-2xs text-muted-foreground/70",children:ie(i.durationMs)}):i.state==="active"?p("span",{className:"font-mono text-2xs text-muted-foreground/70",children:"live"}):null]})]},i.key)})})}var D7={thread:"Terminal","workflow-agent":"Bot",delegation:"UserRoundPlus","plan-step":"ListTodo","queued-message":"MessageSquare",phase:"Workflow",operation:"Zap"},j7=300,od=6;function W7(e,t){let r=[],n=it(e,t);return n!==null&&r.push({label:e.status==="waiting"?"Waiting":"Elapsed",value:ie(n)}),e.model!==null&&e.model!==void 0&&e.model!==""&&r.push({label:"Model",value:e.model}),e.serverName&&r.push({label:"Server",value:e.serverName}),e.tokens!==null&&e.tokens!==void 0&&r.push({label:"Tokens",value:`${e.tokens.toLocaleString()} tok`}),e.toolCalls!==null&&e.toolCalls!==void 0&&r.push({label:"Tool calls",value:e.toolCalls.toLocaleString()}),r}function V7(e){switch(e){case"failed":return"X";case"interrupted":return"AlertTriangle";case"skipped":return"MoreHorizontal";default:return"Check"}}function B7({row:e}){return b("li",{className:"flex items-baseline gap-2 text-xs",children:[p("span",{"aria-hidden":"true",className:"mt-1 size-1.5 shrink-0 rounded-full border border-muted-foreground/50"}),p("span",{className:"min-w-0 flex-1 truncate",children:e.title}),e.waitingOn!==null?p("span",{className:"max-w-40 shrink-0 truncate text-2xs text-muted-foreground/70",title:e.waitingOn,children:e.waitingOn}):null]})}function B9({snapshot:e,model:t,now:r}){let n=nt(),o=We(),[i,s]=V(!1),a=t.hero,c=a.status==="running"||a.status==="starting",u=$t(a,`bb:${e.root.threadId}`),l=a.activity?.text??null,[d,f]=V({current:l,outgoing:null,animate:!1}),m=Z(l);Y(()=>{let y=m.current;if(y===l)return;if(m.current=l,n){f({current:l,outgoing:null,animate:!1});return}f({current:l,outgoing:y,animate:!0});let x=setTimeout(()=>f({current:l,outgoing:null,animate:!1}),j7);return()=>clearTimeout(x)},[l,n]);let g=W7(a,r),C=t.other.filter(y=>!(y.status==="failed"||y.status==="interrupted"));return b("div",{"data-testid":"single-agent-focus","data-motion":n?"reduced":"full",className:"space-y-3",children:[t.pipeline!==null?p("section",{className:"rounded-lg border border-border bg-card px-3 py-2.5","aria-label":"Execution progress",children:p(V9,{nodes:t.pipeline,reducedMotion:n})}):null,b("div",{className:z("grid gap-3",t.recent.length>0?"md:grid-cols-5":"grid-cols-1"),children:[b("section",{"data-testid":"focus-hero","aria-label":"Current execution",className:z("min-w-0 rounded-lg border border-border bg-card p-3.5",t.recent.length>0?"md:col-span-3":"col-span-1"),children:[b("div",{className:"flex items-center justify-between gap-2",children:[b("span",{className:"flex min-w-0 items-center gap-1.5 text-2xs font-semibold uppercase tracking-wider text-primary",children:[c?p("span",{className:z("size-1.5 shrink-0 rounded-full bg-primary",!n&&"ab-live-dot"),"aria-hidden":"true"}):null,p(q,{name:D7[a.kind],className:"size-3 shrink-0","aria-hidden":"true"}),p("span",{className:"truncate",children:t.heroLabel})]}),b("span",{className:"flex items-center gap-2",children:[(a.queuedMessageCount??0)>0?b("span",{"data-part":"queued-count",className:"text-xs",children:[a.queuedMessageCount," queued"]}):null,p(rt,{status:a.status})]})]}),p("h3",{className:"mt-2 min-w-0 truncate text-sm font-semibold",title:a.title,children:a.title}),a.subtitle!==null&&a.subtitle!==void 0&&a.subtitle!==""?p("p",{className:"mt-0.5 min-w-0 truncate text-xs text-muted-foreground",title:a.subtitle,children:a.subtitle}):null,c?p("div",{className:z("ab-strip mt-3",n&&"ab-strip-static"),role:"presentation"}):null,a.status==="waiting"?b("p",{className:"mt-2.5 flex items-center gap-1.5 rounded-md bg-amber-500/10 px-2 py-1.5 text-xs text-amber-600 dark:text-amber-400",children:[p(q,{name:"AlertTriangle",className:"size-3","aria-hidden":"true"}),p("span",{className:"min-w-0 truncate",children:a.waitingOn??"Waiting"})]}):null,d.current!==null||d.outgoing!==null?b("p",{"data-testid":"hero-activity",className:"relative mt-2 min-h-[1.25rem] overflow-hidden text-xs",children:[d.outgoing!==null?p("span",{className:z("absolute inset-0 truncate text-muted-foreground/70",!n&&"ab-activity-out"),"aria-hidden":"true",children:d.outgoing}):null,d.current!==null?p("span",{className:z("block truncate text-foreground/90",d.animate&&!n&&"ab-activity-in"),children:d.current},d.current):null]}):null,t.latestOperation!==null?b("p",{className:"mt-2 truncate text-xs text-muted-foreground","data-testid":"hero-latest-operation",children:[p("span",{className:"font-medium text-foreground/80",children:"Latest operation:"})," ",p("span",{className:"font-mono",children:t.latestOperation.label}),t.latestOperation.detail!==null&&t.latestOperation.detail!==""?b("span",{className:"font-mono",children:[" ","\xB7 ",t.latestOperation.detail]}):null]}):null,g.length>0?p("dl",{className:"mt-2.5 grid grid-cols-2 gap-x-4 gap-y-1.5","data-testid":"hero-stats",children:g.map(y=>b("div",{className:"flex items-baseline justify-between gap-2 min-w-0",children:[p("dt",{className:"text-2xs uppercase tracking-wider text-muted-foreground/70",children:y.label}),p("dd",{className:"min-w-0 truncate font-mono text-2xs",title:y.value,children:y.value})]},y.label))}):null,a.errorPreview!==null&&a.errorPreview!==void 0&&a.errorPreview!==""?p("p",{className:"mt-2 line-clamp-2 break-words text-xs text-destructive","data-testid":"hero-error",children:a.errorPreview}):null,t.peers.length>0?b("div",{className:"mt-2 flex flex-wrap items-center gap-1.5 text-2xs text-muted-foreground",children:[p("span",{className:"font-semibold uppercase tracking-wider",children:"Also active"}),t.peers.map(y=>p("span",{className:"min-w-0 max-w-44 truncate rounded-full border border-border px-1.5 py-0.5",title:y.title,children:y.title},y.key))]}):null,a.threadId!==null||u!==null?b("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:[a.threadId!==null?p(Q,{variant:"outline",size:"sm",className:"h-7",onClick:()=>o.toThread(a.threadId),"aria-label":"Open this thread in the main panel",children:"Open"}):null,u!==null?p(It,{target:u,buttonClassName:"h-7"}):null]}):null]}),t.recent.length>0?b("section",{"data-testid":"focus-recent","aria-label":"Recent activity",className:"min-w-0 rounded-lg border border-border bg-card p-3 md:col-span-2",children:[p("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Recent activity"}),p("ul",{className:"mt-2 space-y-1.5",children:t.recent.map(y=>b("li",{className:z("flex items-baseline gap-1.5 text-xs",!n&&"ab-row-in"),children:[p("span",{className:"shrink-0 font-mono text-2xs uppercase text-primary/80",children:y.label}),p("span",{className:"min-w-0 flex-1 truncate text-muted-foreground",title:y.detail??void 0,children:y.detail}),b("time",{className:"shrink-0 font-mono text-2xs text-muted-foreground/60",children:[ie(Math.max(0,r-y.at))," ago"]})]},y.id))})]}):null]}),t.completed.length>0||t.upNext.length>0?b("div",{className:"grid gap-3 md:grid-cols-2",children:[t.completed.length>0?b("section",{"data-testid":"focus-completed","aria-label":"Completed work",className:"min-w-0 rounded-lg border border-border bg-card p-3",children:[p("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Completed"}),p("ul",{className:"mt-2 space-y-1.5",children:t.completed.map(y=>b("li",{className:"text-xs",children:[b("div",{className:"flex items-baseline gap-2",children:[p(q,{name:V7(y.status),"aria-hidden":"true",className:z("size-3 shrink-0",y.status==="failed"?"text-destructive":y.status==="interrupted"?"text-orange-600 dark:text-orange-400":"text-emerald-500")}),p("span",{className:"min-w-0 flex-1 truncate",children:y.title}),y.durationMs!==null?p("span",{className:"shrink-0 font-mono text-2xs text-muted-foreground/70",children:ie(y.durationMs)}):null]}),y.summary!==null&&y.summary!==""?p("p",{className:"mt-0.5 line-clamp-2 break-words pl-5 text-2xs text-muted-foreground/80",children:y.summary}):null,y.error!==null&&y.error!==""?p("p",{className:"mt-0.5 line-clamp-2 break-words pl-5 text-2xs text-destructive/80",children:y.error}):null]},y.key))})]}):null,t.upNext.length>0?b("section",{"data-testid":"focus-up-next","aria-label":"Up next",className:"min-w-0 rounded-lg border border-border bg-card p-3",children:[p("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Up next"}),p("ul",{className:"mt-2 space-y-1.5",children:t.upNext.slice(0,od).map(y=>p(B7,{row:y},y.key))}),t.upNext.length>od?b("p",{className:"mt-1.5 text-2xs text-muted-foreground/70",children:["+",t.upNext.length-od," more queued"]}):null]}):null]}):null,t.other.length>0?b("section",{"data-testid":"focus-other","aria-label":"Other activity",className:"rounded-lg border border-border bg-card p-3",children:[b("div",{className:"flex items-center justify-between gap-2",children:[b("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:["Other activity",t.otherAttention.length>0?b("span",{className:"ml-1.5 text-destructive",children:["\xB7 ",t.otherAttention.length," need attention"]}):b("span",{className:"ml-1.5 text-muted-foreground/70",children:["\xB7 ",t.other.length]})]}),C.length>0?b(Q,{variant:"ghost",size:"sm",className:"h-6 px-2 text-2xs",onClick:()=>s(y=>!y),"aria-expanded":i,children:[i?"Hide":"Show"," ",C.length]}):null]}),b("div",{className:"mt-2 space-y-2",children:[t.otherAttention.map(y=>p(St,{card:y,now:r},y.key)),i?C.map(y=>p(St,{card:y,now:r},y.key)):null]})]}):null]})}function F9({rootThreadId:e}){let{snapshot:t,loading:r,refreshing:n,error:o,tick:i,refetch:s}=Q2(e),a=Ve(),c=he(()=>Date.now(),[i]),u=he(()=>t!==null&&t.cards.length>0?cd(t):null,[t]),l=t?.root.contextWindowUsedTokens!==null&&t?.root.contextWindowUsedTokens!==void 0&&t?.root.contextWindowTotalTokens!==null&&t?.root.contextWindowTotalTokens!==void 0&&t.root.contextWindowTotalTokens>0?Math.min(100,Math.round(t.root.contextWindowUsedTokens/t.root.contextWindowTotalTokens*100)):null;return b("div",{className:"flex h-full min-h-0 flex-col bg-background text-foreground",children:[b("header",{className:"border-b border-border px-4 py-3",children:[b("div",{className:"flex items-start gap-3",children:[b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex items-center gap-2",children:[p("h2",{className:"min-w-0 truncate text-sm font-semibold",children:t?.root.title??"Agent Board"}),t!==null?p(rt,{status:F7(t.root.status)}):null]}),t?.root.goal?b("p",{className:"mt-1 line-clamp-2 text-xs text-muted-foreground",title:t.root.goal.objective,children:[p("span",{className:"font-medium text-foreground/80",children:"Goal:"})," ",t.root.goal.objective,t.root.goal.tokenBudget!==null?b("span",{className:"ml-2 font-mono text-2xs",children:[Math.round(t.root.goal.tokensUsed/t.root.goal.tokenBudget*100),"% budget"]}):null]}):null,t!==null?b("p",{className:"mt-1 text-xs text-muted-foreground",children:[[t.root.providerLabel??t.root.providerId,t.root.model].filter(Boolean).map(d=>p("span",{className:"font-mono",children:d},d)).reduce((d,f,m)=>(m>0&&d.push(" \xB7 "),d.push(f),d),[]),t.root.updatedAt!==null?` \xB7 updated ${ie(Math.max(0,c-t.root.updatedAt))} ago`:""]}):null,l!==null?b("div",{className:"mt-1.5 flex items-center gap-2",children:[p("div",{className:"h-1 w-32 overflow-hidden rounded-full bg-border",role:"presentation",children:p("div",{className:z("h-full",l>85?"bg-orange-500":"bg-primary"),style:{width:`${l}%`}})}),b("span",{className:"text-2xs font-mono text-muted-foreground",children:["ctx ",l,"%"]})]}):null]}),b("div",{className:"flex shrink-0 flex-col items-end gap-1.5",children:[b(Q,{variant:"outline",size:"sm",className:"h-7",disabled:r||n,onClick:()=>s({fresh:!0}),"aria-label":"Refresh now (bypasses server caches)",children:[p(q,{name:"Loading",className:z("size-3.5",(r||n)&&"animate-spin"),"aria-hidden":"true"}),"Refresh"]}),b("span",{className:"flex items-center gap-1 text-2xs text-muted-foreground",title:`Realtime: ${a}`,children:[p("span",{className:z("size-1.5 rounded-full",a==="connected"?"bg-emerald-500":"bg-amber-500"),"aria-hidden":"true"}),a==="connected"?"Live":"Reconnecting\u2026"]})]})]}),t!==null?b("div",{className:"mt-2 flex flex-wrap items-center gap-x-3 gap-y-1 text-2xs text-muted-foreground",children:[b("span",{children:[p("strong",{className:"text-foreground",children:t.counts.running})," ","running"]}),b("span",{children:[p("strong",{className:"text-foreground",children:t.counts.waiting})," ","waiting"]}),b("span",{children:[p("strong",{className:"text-foreground",children:t.counts.queued})," ","queued"]}),b("span",{children:[p("strong",{className:"text-foreground",children:t.counts.completed})," ","done"]}),t.counts.failed>0?b("span",{className:"text-destructive",children:[p("strong",{children:t.counts.failed})," failed"]}):null,t.counts.interrupted>0?b("span",{className:"text-orange-600 dark:text-orange-400",children:[p("strong",{children:t.counts.interrupted})," interrupted"]}):null,t.partial?p("span",{className:"italic",title:"Finished work has a display limit; live work and ancestors are retained. Optional sources may be incomplete.",children:"showing partial results"}):null]}):null]}),p("div",{className:"min-h-0 flex-1 overflow-y-auto p-3",children:o!==null?b("div",{role:"alert",className:"rounded-lg border border-destructive/40 bg-destructive/10 p-4 text-sm",children:[p("p",{className:"font-medium text-destructive",children:"Could not load the board"}),p("p",{className:"mt-1 break-words text-xs text-destructive/80",children:o}),p(Q,{variant:"outline",size:"sm",className:"mt-3",onClick:()=>s({fresh:!0}),children:"Retry"})]}):r&&t===null?p("div",{className:"grid h-full place-items-center text-sm text-muted-foreground",children:b("span",{className:"flex items-center gap-2",children:[p(q,{name:"Loading",className:"size-4 animate-spin","aria-hidden":"true"}),"Loading the board\u2026"]})}):t===null?null:t.cards.length===0?p("div",{className:"grid h-full place-items-center text-sm text-muted-foreground",children:b("div",{className:"max-w-sm text-center",children:[p(q,{name:"Workflow",className:"mx-auto size-8 opacity-50","aria-hidden":"true"}),p("p",{className:"mt-2",children:"Nothing to observe yet."}),p("p",{className:"mt-1 text-xs",children:"The board shows plans, queued work, agents, delegations, and outputs for this thread and its children."})]})}):u!==null?p(B9,{snapshot:t,model:u,now:c}):p(W9,{snapshot:t,now:c})})]})}function F7(e){switch(e){case"active":return"running";case"error":return"failed";case"pending":case"starting":return"queued";case"stopping":return"interrupted";default:return"completed"}}var H7=2e4;function U7(e){let t=Fi.safeParse(e);return t.success?t.data.global===!0||t.data.roots.length===0:!0}function H9(){let e=Nt(),[t,r]=V(null),[n,o]=V(!0),[i,s]=V(!1),[a,c]=V(null),[u,l]=V(0),d=Z(null),f=Z(!1),m=Z(!1),g=Z(0),C=G(L=>{if(f.current){m.current=!0;return}f.current=!0;let R=++g.current;d.current===null?o(!0):s(!0),e.call("global_dashboard",{fresh:L?.fresh===!0}).then(W=>{R===g.current&&(d.current=W,r(W),c(null))},W=>{R===g.current&&c(W instanceof Error?W.message:String(W))}).finally(()=>{R===g.current&&(f.current=!1,o(!1),s(!1),m.current&&(m.current=!1,C(L)))})},[e]);Y(()=>(C(),()=>{g.current+=1,f.current=!1}),[C]),Mt(Cr,L=>{U7(L)&&C()});let y=Ve(),x=Z(!1),w=Z(y);Y(()=>{let L=w.current;w.current=y,y==="connected"&&L!=="connected"&&x.current&&C(),y==="connected"&&(x.current=!0)},[y,C]);let $=G(async L=>{try{await e.call("dismiss_attention",{executionKey:L.executionKey,type:L.type,updatedAt:L.updatedAt,...L.conditionId?{conditionId:L.conditionId}:{}})}catch(R){c(R instanceof Error?R.message:String(R));return}C()},[e,C]),P=G(async()=>{try{await e.call("clear_dismissed_attentions",{})}catch(L){c(L instanceof Error?L.message:String(L));return}C()},[e,C]);Y(()=>{let L=setInterval(()=>C(),H7);return()=>clearInterval(L)},[C]);let T=he(()=>t?.active.some(L=>[L.card,...L.childCards??[]].some(R=>R.status==="running"||R.status==="starting"||R.status==="waiting"))??!1,[t]);return Y(()=>{if(!T)return;let L=setInterval(()=>l(R=>R+1),1e3);return()=>clearInterval(L)},[T]),{snapshot:t,loading:n,refreshing:i,error:a,tick:u,refetch:C,dismissAttention:$,clearDismissedAttentions:P,connectionState:y}}function U9(e,t){return`${ie(Math.max(0,t-e))} ago`}function K9({cards:e,parentId:t,now:r,reducedMotion:n,ancestors:o=[]}){if(t===null||o.includes(t))return null;let i=e.filter(s=>s.parentThreadId===t);return i.length===0?null:p("div",{className:"mt-3 min-w-0 space-y-2 border-l border-border pl-3","data-part":"active-children",children:i.map(s=>b("div",{"data-child-thread":s.kind==="thread"?s.threadId:void 0,"data-child-work":s.kind!=="thread"?s.key:void 0,children:[p(St,{card:s,now:r,liveTreatment:!0,reducedMotion:n}),s.kind==="thread"?p(K9,{cards:e,parentId:s.threadId,now:r,reducedMotion:n,ancestors:[...o,t]}):null]},s.key))})}function K7({execution:e,now:t,reducedMotion:r}){let n=We(),o=e.card,i=o.status==="running"||o.status==="starting",s=it(o,t),a=[o.providerLabel??o.providerId,o.model].filter(Boolean).join(" \xB7 "),c=$t(o,e.key);return b("article",{className:"min-w-0 max-w-full rounded-xl border border-border bg-card p-4 shadow-sm","data-global-card":"active","data-source":o.source,"data-status":o.status,"data-live-state":i?"executing":"static",children:[b("div",{className:"flex min-w-0 max-w-full items-start gap-3",children:[p(q,{name:o.source==="redteam"?"Bug":"Terminal",className:"mt-0.5 size-4 shrink-0 text-muted-foreground","aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex min-w-0 items-start gap-2",children:[p("h3",{className:"min-w-0 flex-1 truncate text-sm font-semibold",title:o.title,children:o.title}),i?p(Qi,{reducedMotion:r}):p(rt,{status:o.status})]}),p("p",{className:"mt-0.5 text-2xs font-medium uppercase tracking-wider text-muted-foreground",children:o.source==="bb"?"BB":o.source==="ollama-fleet"?"Ollama Fleet":"Redteam"})]})]}),o.phaseTitle!==null||a!==""?b("p",{"data-part":"execution-model",className:"mt-2 min-w-0 max-w-full line-clamp-2 text-xs text-muted-foreground [overflow-wrap:anywhere]",children:[o.phaseTitle!==null?p("span",{className:"text-foreground/90",children:o.phaseTitle}):null,o.phaseTitle!==null&&a!==""?p("span",{"aria-hidden":"true",children:" \xB7 "}):null,a!==""?p("span",{className:"font-mono",children:a}):null]}):null,o.serverName?p("p",{className:"mt-1 min-w-0 max-w-full truncate text-xs text-muted-foreground",children:o.serverName}):null,(e.delegatedWorkers?.length??0)>0?b("div",{"data-part":"delegated-workers",className:"mt-3 min-w-0 max-w-full space-y-1 overflow-hidden",children:[b("p",{className:"text-2xs text-muted-foreground",children:[e.activeDelegatedWorkerCount??0," delegated local workers active"]}),e.delegatedWorkers.slice(0,4).map(u=>b("div",{"data-fleet-worker":u.jobId,className:"flex min-w-0 max-w-full items-start gap-1.5 text-2xs",children:[p("span",{className:"shrink-0","aria-label":u.status,children:u.status==="completed"?"\u2713":u.status==="failed"?"!":u.status==="interrupted"?"\u2212":"\u25CF"}),b("span",{className:"min-w-0 flex-1 line-clamp-2 [overflow-wrap:anywhere]",children:[p("span",{className:"font-mono",children:u.model??"Selecting model"})," ","\xB7 ",u.title,u.serverName?b("span",{className:"text-muted-foreground",children:[" ","\xB7 ",u.serverName]}):null]})]},u.key)),(e.delegatedWorkerCount??0)>4?b("p",{className:"text-2xs text-muted-foreground",children:["+",e.delegatedWorkerCount-4," more"]}):null]}):null,o.latestPublicUpdate!=null?p("p",{"data-part":"public-update",className:"mt-2 min-w-0 max-w-full line-clamp-3 text-xs text-foreground/80 [overflow-wrap:anywhere]",title:o.latestPublicUpdate,children:o.latestPublicUpdate}):null,o.activity!==null?p("p",{"data-part":"execution-activity",className:z("mt-2 min-w-0 max-w-full line-clamp-2 text-xs [overflow-wrap:anywhere]",i&&!r&&"ab-activity-in"),title:o.activity.text,children:o.activity.text},o.activity.text):o.waitingOn!==null?p("p",{className:"mt-2 min-w-0 max-w-full text-xs text-muted-foreground [overflow-wrap:anywhere]",children:o.waitingOn}):null,i?p("div",{className:"mt-3 min-w-0 max-w-full",children:p(es,{identity:e.key,reducedMotion:r})}):null,b("div",{"data-part":"card-actions",className:"mt-3 flex min-w-0 max-w-full flex-wrap items-center gap-x-2 gap-y-1 text-2xs text-muted-foreground",children:[s!==null?p("span",{className:"font-mono",children:ie(s)}):null,e.activeChildCount>0?b("span",{children:[e.activeChildCount," active child",e.activeChildCount===1?"":"ren"]}):null,e.childCount>0&&e.activeChildCount===0?b("span",{children:[e.childCount," child",e.childCount===1?"":"ren"]}):null,(o.queuedMessageCount??0)>0?b("span",{"data-part":"queued-count",children:[o.queuedMessageCount," queued"]}):null,o.toolCalls!==null?b("span",{children:[o.toolCalls," tools"]}):null,o.tokens!==null?b("span",{children:[o.tokens.toLocaleString()," tok"]}):null,p("span",{className:"flex-1"}),o.threadId!==null?p(Q,{variant:"ghost",size:"sm",className:"h-7 px-2 text-2xs",onClick:()=>n.toThread(o.threadId),"aria-label":`Open ${o.title}`,children:"Open"}):null,c!==null?p(It,{target:c}):null]}),p(K9,{cards:e.childCards??[],parentId:o.threadId,now:t,reducedMotion:r})]})}var q7={"action-required":"Action required",failed:"Failed",waiting:"Waiting",interrupted:"Interrupted",warning:"Warning"};function G7({item:e,now:t,onDismiss:r}){let n=We(),o=e.type==="failed";return p("article",{className:z("min-w-0 max-w-full rounded-lg border bg-card p-3",o?"border-destructive/40":"border-amber-500/35"),"data-global-card":"attention","data-attention-type":e.type,children:b("div",{className:"flex min-w-0 max-w-full items-start gap-2.5",children:[p(q,{name:o?"AlertCircle":"AlertTriangle",className:z("mt-0.5 size-4 shrink-0",o?"text-destructive":"text-amber-600 dark:text-amber-400"),"aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1",children:[p("h3",{"data-part":"attention-title",className:"min-w-0 max-w-full flex-[1_1_12rem] text-sm font-medium [overflow-wrap:anywhere]",children:e.title}),p("span",{className:z("shrink-0 text-2xs font-semibold uppercase tracking-wider",o?"text-destructive":"text-amber-700 dark:text-amber-300"),children:q7[e.type]})]}),p("p",{"data-part":"attention-message",className:"mt-1 min-w-0 max-w-full line-clamp-3 text-xs text-muted-foreground [overflow-wrap:anywhere]",children:e.message}),b("p",{className:"mt-1 min-w-0 max-w-full text-2xs text-muted-foreground [overflow-wrap:anywhere]",children:[e.type==="action-required"||e.type==="waiting"?`Waiting ${ie(t-e.firstObservedAt)}`:e.conditionAt===null?"Time unavailable":U9(e.conditionAt??e.updatedAt,t),p("span",{"aria-hidden":"true",children:" \xB7 "}),e.source==="bb"?"BB":e.source==="ollama-fleet"?"Ollama Fleet":"Redteam"]})]}),b("div",{"data-part":"card-actions",className:"flex max-w-full shrink-0 flex-col gap-1",children:[e.threadId!==null?p(Q,{variant:"ghost",size:"sm",className:"h-7 px-2 text-2xs",onClick:()=>n.toThread(e.threadId),"aria-label":`Open ${e.title}`,children:"Open"}):null,p(Q,{variant:"ghost",size:"sm",className:"h-7 px-2 text-2xs",onClick:()=>r(e),"aria-label":`Dismiss ${e.title}`,"aria-description":"Hide from Needs attention (presentation only; reappears when the condition changes)",children:"Dismiss"})]})]})})}function J7({execution:e,now:t}){let r=We(),n=e.card,o=it(n,t),i=n.status==="failed"||n.status==="interrupted"?n.attention?.conditionAt!==void 0?n.attention.conditionAt:n.completedAt:n.completedAt??e.updatedAt,s=$t(n,e.key);return b("article",{className:"flex min-w-0 max-w-full items-start gap-3 rounded-lg border border-border/70 bg-card/60 px-3 py-2.5","data-global-card":"recent","data-source":n.source,"data-status":n.status,children:[p(q,{name:n.status==="failed"?"AlertCircle":n.status==="interrupted"?"AlertTriangle":"CircleCheck",className:z("mt-0.5 size-4 shrink-0",n.status==="failed"?"text-destructive":n.status==="interrupted"?"text-orange-600 dark:text-orange-400":"text-emerald-600 dark:text-emerald-400"),"aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex min-w-0 flex-wrap items-baseline gap-x-2",children:[p("h3",{"data-part":"recent-title",className:"min-w-0 flex-1 truncate text-sm font-medium",children:n.title}),p("span",{className:"shrink-0 text-2xs uppercase tracking-wider text-muted-foreground",children:n.source==="bb"?"BB":n.source==="ollama-fleet"?"Ollama Fleet":"Redteam"})]}),b("p",{"data-part":"recent-metadata",className:"mt-0.5 min-w-0 max-w-full line-clamp-2 text-2xs text-muted-foreground [overflow-wrap:anywhere]",children:[o!==null?ie(o):n.status,n.model!==null?b(Lt,{children:[" ","\xB7 ",p("span",{className:"font-mono",children:n.model})]}):null,b(Lt,{children:[" ","\xB7"," ",i===null?"Time unavailable":U9(i,t)]})]}),n.errorPreview!==null||n.outputPreview!==null?p("p",{"data-part":"recent-summary",className:z("mt-1 min-w-0 max-w-full line-clamp-2 text-xs [overflow-wrap:anywhere]",n.errorPreview!==null?"text-destructive":"text-muted-foreground"),children:n.errorPreview??n.outputPreview}):null]}),b("div",{"data-part":"card-actions",className:"flex max-w-full shrink-0 flex-col gap-1 sm:flex-row",children:[n.threadId!==null?p(Q,{variant:"ghost",size:"sm",className:"h-7 px-2 text-2xs",onClick:()=>r.toThread(n.threadId),"aria-label":`Open ${n.title}`,children:"Open"}):null,s!==null?p(It,{target:s}):null]})]})}function q9(){let{snapshot:e,loading:t,refreshing:r,error:n,refetch:o,dismissAttention:i,clearDismissedAttentions:s,connectionState:a}=H9(),c=nt(),u=Date.now();return p("main",{className:"ab-global-dashboard h-full min-h-0 w-full min-w-0 max-w-full overflow-y-auto bg-background","data-global-dashboard":"","data-motion":c?"reduced":"full",children:b("div",{className:"mx-auto w-full min-w-0 max-w-6xl p-3 sm:p-5 lg:p-6",children:[b("header",{className:"flex min-w-0 max-w-full flex-wrap items-start gap-3",children:[b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[p(q,{name:"ListTodo",className:"size-5 text-primary","aria-hidden":"true"}),p("h1",{className:"text-lg font-semibold",children:"Agent Board"}),e!==null&&e.counts.active>0?b("span",{className:"inline-flex items-center gap-1 text-2xs font-semibold uppercase tracking-wider text-primary",children:[p("span",{className:z("size-1.5 rounded-full bg-primary",!c&&"ab-live-dot"),"aria-hidden":"true"}),e.counts.active," live"]}):null]}),p("p",{className:"mt-1 text-xs text-muted-foreground",children:"Global operations across BB and available observability sources."})]}),b("div",{className:"flex max-w-full flex-wrap items-center gap-2",children:[b(Q,{variant:"outline",size:"sm",onClick:()=>o({fresh:!0}),disabled:r,children:[p(q,{name:"Loading",className:z("mr-1.5 size-3.5",r&&"animate-spin"),"aria-hidden":"true"}),"Refresh"]}),p("span",{className:"text-2xs text-muted-foreground",title:`Realtime: ${a}`,children:a==="connected"?"Live":"Reconnecting\u2026"})]})]}),e!==null?p("section",{"aria-label":"Operational summary",className:"mt-4 grid min-w-0 max-w-full grid-cols-[repeat(2,minmax(0,1fr))] gap-2 sm:grid-cols-[repeat(4,minmax(0,1fr))]",children:[["Active",e.counts.active],["Waiting",e.counts.waiting],["Attention",e.counts.attention],["Recent",e.counts.recent]].map(([l,d])=>b("div",{className:"min-w-0 rounded-lg border border-border/70 bg-card/50 px-3 py-2",children:[p("p",{className:"text-2xs uppercase tracking-wider text-muted-foreground",children:l}),p("p",{className:"mt-0.5 text-lg font-semibold tabular-nums",children:d})]},l))}):null,n!==null?b("div",{role:"alert",className:"mt-4 rounded-lg border border-destructive/40 bg-destructive/10 p-3 text-sm text-destructive",children:["Could not refresh the global dashboard: ",n]}):null,t&&e===null?p("div",{className:"grid min-h-64 place-items-center text-sm text-muted-foreground",children:b("span",{className:"flex items-center gap-2",children:[p(q,{name:"Loading",className:"size-4 animate-spin","aria-hidden":"true"}),"Loading operations\u2026"]})}):null,e!==null?b("div",{className:"mt-5 min-w-0 max-w-full space-y-6",children:[b("section",{"aria-labelledby":"attention-heading",className:"min-w-0 max-w-full",children:[b("div",{className:"mb-2 flex min-w-0 max-w-full flex-wrap items-center gap-2",children:[p("h2",{id:"attention-heading",className:"text-xs font-semibold uppercase tracking-wider",children:"Needs attention"}),e.counts.attention>0?p("span",{className:"rounded-full bg-amber-500/15 px-1.5 text-2xs font-medium text-amber-700 dark:text-amber-300",children:e.counts.attention}):null,e.dismissedCount>0?b(Q,{variant:"ghost",size:"sm",className:"h-6 px-2 text-2xs",onClick:()=>{s()},children:["Clear dismissed (",e.dismissedCount,")"]}):null]}),e.attention.length>0?p("div",{"data-global-grid":"attention",className:"grid min-w-0 max-w-full grid-cols-[minmax(0,1fr)] gap-2",children:e.attention.map(l=>p(G7,{item:l,now:u,onDismiss:d=>{i(d)}},l.id))}):p("p",{className:"min-w-0 max-w-full rounded-lg border border-dashed border-border px-3 py-4 text-sm text-muted-foreground",children:e.dismissedCount>0?"No open items \u2014 dismissed conditions stay hidden until they change.":"Nothing currently requires your attention."})]}),b("section",{"aria-labelledby":"active-heading",className:"min-w-0 max-w-full",children:[b("div",{className:"mb-2 flex items-center gap-2",children:[p("h2",{id:"active-heading",className:"text-xs font-semibold uppercase tracking-wider",children:"Active work"}),b("span",{className:"text-2xs text-muted-foreground",children:[e.counts.active," running \xB7 ",e.counts.waiting," ","waiting"]})]}),e.active.length>0?p("div",{"data-global-grid":"active",className:"grid min-w-0 max-w-full grid-cols-[minmax(0,1fr)] gap-3 md:grid-cols-[repeat(2,minmax(0,1fr))]",children:e.active.map(l=>p(K7,{execution:l,now:u,reducedMotion:c},l.key))}):p("p",{className:"min-w-0 max-w-full rounded-lg border border-dashed border-border px-3 py-6 text-center text-sm text-muted-foreground",children:"No active executions."})]}),b("section",{"aria-labelledby":"recent-heading",className:"min-w-0 max-w-full",children:[b("div",{className:"mb-2 flex items-center gap-2",children:[p("h2",{id:"recent-heading",className:"text-xs font-semibold uppercase tracking-wider",children:"Recently completed"}),p("span",{className:"text-2xs text-muted-foreground",children:e.recent.length})]}),e.recent.length>0?p("div",{"data-global-grid":"recent",className:"grid min-w-0 max-w-full grid-cols-[minmax(0,1fr)] gap-2",children:e.recent.map(l=>p(J7,{execution:l,now:u},l.key))}):p("p",{className:"text-sm text-muted-foreground",children:"No recent completions in the bounded window."})]}),e.unavailableSources.length>0?b("p",{className:"text-2xs text-muted-foreground",children:["Temporarily unavailable:"," ",e.unavailableSources.map(l=>l==="bb"?"BB":l==="ollama-fleet"?"Ollama Fleet":"Redteam").join(", "),". Available sources remain live."]}):null,e.partial?p("p",{className:"text-2xs italic text-muted-foreground",children:"The global view is bounded; older or excess executions are not shown."}):null]}):null]})})}function Y7({threadId:e,params:t}){let r=t!==null&&typeof t=="object"&&!Array.isArray(t)&&"rootThreadId"in t&&typeof t.rootThreadId=="string"?t.rootThreadId:null;return p(F9,{rootThreadId:r??e})}function X7(e){return p(q9,{})}var ZI=id(e=>{e.slots.navPanel({id:"agent-board-global",title:"Agent Board",icon:"ListTodo",path:"operations",component:X7}),e.slots.experimental_tab({context:{kind:"thread"},availability:"action",id:"agent-board",title:"Agent Board",icon:"ListTodo",layout:"flush",component:Y7})});export{ZI as default};
|
|
62
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let s of e.seen.entries()){let a=s[1];if(t===s[0]){i(s);continue}if(e.external){let u=e.external.registry.get(s[0])?.id;if(t!==s[0]&&u){i(s);continue}}if(e.metadataRegistry.get(s[0])?.id){i(s);continue}if(a.cycle){i(s);continue}a.count>1&&e.reused==="ref"&&i(s)}e.external&&(e.sharedDefsExtractedFor=e.external)}function cp(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let r=[];for(let n of t){if(!n||typeof n!="object")return;cp(n);let o=Object.keys(n);if(o.length!==1||o[0]!=="type")return;let i=n.type;for(let s of Array.isArray(i)?i:[i]){if(typeof s!="string")return;r.includes(s)||r.push(s)}}delete e.anyOf,e.type=r.length===1?r[0]:r}var lp=new Set(["type","properties","required","additionalProperties"]),ap=["oneOf","anyOf"];function up(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function R1(e){let t=[];for(let i of e){if(typeof i!="object"||i.type!=="object")return null;for(let s in i)if(!lp.has(s))return null;t.push(i)}let r={},n=new Set;for(let i of t){for(let s in i.properties){if(Object.prototype.hasOwnProperty.call(r,s))continue;let a=[];for(let u of t){let l=u.properties?.[s]??up(u);l!=null&&(a.some(d=>JSON.stringify(d)===JSON.stringify(l))||a.push(l))}let c=a.length===1?a[0]:R1(a)??{allOf:a};se(r,s,c)}for(let s of i.required??[])n.add(s)}let o={type:"object",properties:r};if(n.size&&(o.required=[...n]),t.every(i=>i.additionalProperties===!1))o.additionalProperties=!1;else{let i=[];for(let s of t){let a=up(s);a&&!i.some(c=>JSON.stringify(c)===JSON.stringify(a))&&i.push(a)}i.length===1?o.additionalProperties=i[0]:i.length>1&&(o.additionalProperties={allOf:i})}return o}function O3(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let o of lp)if(o in e)return;let r=t.filter(o=>ap.some(i=>Array.isArray(o[i]))),n=null;if(!r.length)n=R1(t);else{let o=r[0],i=ap.find(c=>Array.isArray(o[c]));if(Object.keys(o).length!==1)return;let s=t.filter(c=>c!==o),a=o[i].map(c=>R1([...s,c]));if(a.some(c=>!c))return;n={[i]:a}}n&&(delete e.allOf,un(e,n))}function Je(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=a=>{let c=e.seen.get(a);if(c.ref===null)return;let u=c.def??c.schema,l={...u},d=c.ref;if(c.ref=null,d){n(d);let m=e.seen.get(d),g=m.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):un(u,g),un(u,l),a._zod.parent===d)for(let y in u)y==="$ref"||y==="allOf"||y in l||delete u[y];if(g.$ref&&m.def)for(let y in u)y==="$ref"||y==="allOf"||y in m.def&&JSON.stringify(u[y])===JSON.stringify(m.def[y])&&delete u[y]}let f=a._zod.parent;if(f&&f!==d){n(f);let m=e.seen.get(f);if(m?.schema.$ref&&(u.$ref=m.schema.$ref,m.def))for(let g in u)g==="$ref"||g==="allOf"||g in m.def&&JSON.stringify(u[g])===JSON.stringify(m.def[g])&&delete u[g]}e.override({zodSchema:a,jsonSchema:u,path:c.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let a of[...e.seen.entries()].reverse())n(a[0]);if(e.target!=="openapi-3.0")for(let a of e.seen.entries())cp(a[1].def??a[1].schema);for(let a of e.deferred)a();if(e.intersections.length){let a=new Map;for(let c of e.seen.values())for(let u of[c.schema,c.def]){let l=u?.allOf;if(!Array.isArray(l))continue;let d=a.get(l);d?d.push(u):a.set(l,[u])}for(let c of e.intersections)for(let u of a.get(c)??[])O3(u)}}let o={};if(e.target==="draft-2020-12"?o.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?o.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?o.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let a=e.external.registry.get(t)?.id;if(!a)throw new Error("Schema is missing an `id` property");o.$id=e.external.uri(a)}un(o,r.defId?r.schema:r.def??r.schema);let i=e.metadataRegistry.get(t)?.id;i!==void 0&&o.id===i&&delete o.id;let s=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let a of e.seen.entries()){let c=a[1];c.def&&c.defId&&(c.def.id===c.defId&&delete c.def.id,se(s,c.defId,c.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(s).length>0&&(e.target==="draft-2020-12"?o.$defs=s:o.definitions=s);try{let a=JSON.parse(JSON.stringify(o));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:ar(t,"input",e.processors),output:ar(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error("Error converting schema to JSON.")}}function fe(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return fe(n.element,r);if(n.type==="set")return fe(n.valueType,r);if(n.type==="lazy")return fe(n.getter(),r);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault"||n.type==="catch")return fe(n.innerType,r);if(n.type==="intersection")return fe(n.left,r)||fe(n.right,r);if(n.type==="record"||n.type==="map")return fe(n.keyType,r)||fe(n.valueType,r);if(n.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:fe(n.in,r)||fe(n.out,r);if(n.type==="object"){for(let o in n.shape)if(fe(n.shape[o],r))return!0;return!1}if(n.type==="union"){for(let o of n.options)if(fe(o,r))return!0;return!1}if(n.type==="tuple"){for(let o of n.items)if(fe(o,r))return!0;return!!(n.rest&&fe(n.rest,r))}return!1}var Z1=(e,t={})=>r=>{let n=qe({...r,processors:t});return H(e,n),Ge(n,e),Je(n,e)},ar=(e,t,r={})=>n=>{let{libraryOptions:o,target:i}=n??{},s=qe({...o??{},target:i,io:t,processors:r});return H(e,s),Ge(s,e),Je(s,e)};var ur=(e,t,r)=>{(e[t]===void 0||r>e[t])&&(e[t]=r)},cr=(e,t,r)=>{(e[t]===void 0||r<e[t])&&(e[t]=r)},dp=(e,t)=>{ur(e,"minimum",t),cr(e,"maximum",t)},hp=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},kp=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},gp=(e,t)=>{e.mime=e.mime?e.mime.filter(r=>t.includes(r)):[...t]},Cp=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},pp=(e,t)=>ur(e,"minimum",t.minimum),fp=(e,t)=>cr(e,"maximum",t.maximum),mp=e=>(t,r)=>{Cp(t,r.format);let[n,o]=e[r.format];ur(t,"minimum",n),cr(t,"maximum",o)},R3={greater_than:(e,t)=>ur(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>cr(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>hp(e,t.value),number_format:mp(Mr),bigint_format:mp(Nr),min_length:pp,max_length:fp,length_equals:(e,t)=>dp(e,t.length),min_size:pp,max_size:fp,size_equals:(e,t)=>dp(e,t.size),string_format:(e,t)=>{Cp(e,t.format),t.pattern&&kp(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>gp(e,t.mime)};function re(e){let t={},r=e._zod.def,n=e._zod.traits.has("$ZodCheck")?[e,...r.checks??[]]:r.checks??[];for(let i of n)R3[i._zod.def.check]?.(t,i._zod.def);let o=e._zod.bag;o.minimum!==void 0&&ur(t,"minimum",o.minimum),o.exclusiveMinimum!==void 0&&ur(t,"exclusiveMinimum",o.exclusiveMinimum),o.maximum!==void 0&&cr(t,"maximum",o.maximum),o.exclusiveMaximum!==void 0&&cr(t,"exclusiveMaximum",o.exclusiveMaximum),o.multipleOf!==void 0&&hp(t,o.multipleOf),o.format!==void 0&&(t.format??(t.format=o.format),o.format.includes("int")&&(t.isInt=!0)),o.mime&&gp(t,o.mime);for(let i of o.patterns??[])kp(t,i);return t}var Z3={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},D3=new Map([[ho,Us],[Kr,Ks]]),yp=e=>D3.get(e)??e,W1=(e,t,r,n)=>{let o=r;o.type="string";let{minimum:i,maximum:s,format:a,patterns:c,contentEncoding:u,laxFormat:l}=re(e);if(typeof i=="number"&&(o.minLength=i),typeof s=="number"&&(o.maxLength=s),a&&(o.format=Z3[a]??a,o.format===""&&delete o.format,(a==="time"||l)&&delete o.format),u&&(o.contentEncoding=u),c&&c.size>0){let d=[...c].map(yp);d.length===1?o.pattern=d[0].source:d.length>1&&(o.allOf=[...d.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},V1=(e,t,r,n)=>{let o=r,{minimum:i,maximum:s,multipleOf:a,exclusiveMaximum:c,exclusiveMinimum:u,isInt:l}=re(e);o.type=l?"integer":"number";let d=typeof u=="number"&&u>=(i??Number.NEGATIVE_INFINITY),f=typeof c=="number"&&c<=(s??Number.POSITIVE_INFINITY),m=t.target==="draft-04"||t.target==="openapi-3.0";if(d?m?(o.minimum=u,o.exclusiveMinimum=!0):o.exclusiveMinimum=u:typeof i=="number"&&(o.minimum=i),f?m?(o.maximum=c,o.exclusiveMaximum=!0):o.exclusiveMaximum=c:typeof s=="number"&&(o.maximum=s),a){let g=new Set;for(let x of a)Number.isFinite(x)&&x!==0?g.add(Math.abs(x)):te(e,t,o,n,`A multipleOf divisor of ${x} cannot be represented in JSON Schema`);let[C,...y]=g;C!==void 0&&(o.multipleOf=C),y.length&&(o.allOf=[...o.allOf??[],...y.map(x=>({multipleOf:x}))])}},F1=(e,t,r,n)=>{r.type="boolean"},B1=(e,t,r,n)=>{te(e,t,r,n,"BigInt cannot be represented in JSON Schema")},H1=(e,t,r,n)=>{te(e,t,r,n,"Symbols cannot be represented in JSON Schema")},U1=(e,t,r,n)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},K1=(e,t,r,n)=>{te(e,t,r,n,"Undefined cannot be represented in JSON Schema")},q1=(e,t,r,n)=>{te(e,t,r,n,"Void cannot be represented in JSON Schema")},G1=(e,t,r,n)=>{r.not={}},J1=(e,t,r,n)=>{},Y1=(e,t,r,n)=>{},X1=(e,t,r,n)=>{te(e,t,r,n,"Date cannot be represented in JSON Schema")},Q1=(e,t,r,n)=>{let o=e._zod.def,i=Et(o.entries);if(i.length===0){r.not={};return}i.every(s=>typeof s=="number")&&(r.type="number"),i.every(s=>typeof s=="string")&&(r.type="string"),r.enum=i},ec=(e,t,r,n)=>{let o=e._zod.def;if(o.values.length===0){r.not={};return}let i=[];for(let s of o.values)if(s===void 0){if(te(e,t,r,n,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof s=="bigint"){if(te(e,t,r,n,"BigInt literals cannot be represented in JSON Schema"))return;i.push(Number(s))}else i.push(s);if(i.length!==0)if(i.length===1){let s=i[0];r.type=s===null?"null":typeof s,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[s]:r.const=s}else i.every(s=>typeof s=="number")&&(r.type="number"),i.every(s=>typeof s=="string")&&(r.type="string"),i.every(s=>typeof s=="boolean")&&(r.type="boolean"),i.every(s=>s===null)&&(r.type="null"),r.enum=i},tc=(e,t,r,n)=>{te(e,t,r,n,"NaN cannot be represented in JSON Schema")},rc=(e,t,r,n)=>{let o=r,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");o.type="string",o.pattern=i.source},nc=(e,t,r,n)=>{let o=r;o.type="string",o.format="binary",o.contentEncoding="binary";let{minimum:i,maximum:s,mime:a}=re(e);i!==void 0&&(o.minLength=i),s!==void 0&&(o.maxLength=s),a&&(a.length===0?o.not={}:a.length===1?o.contentMediaType=a[0]:o.anyOf=a.map(c=>({contentMediaType:c})))},oc=(e,t,r,n)=>{r.type="boolean"},ic=(e,t,r,n)=>{te(e,t,r,n,"Custom types cannot be represented in JSON Schema")},sc=(e,t,r,n)=>{te(e,t,r,n,"Function types cannot be represented in JSON Schema")},ac=(e,t,r,n)=>{te(e,t,r,n,"Transforms cannot be represented in JSON Schema")},uc=(e,t,r,n)=>{te(e,t,r,n,"Map cannot be represented in JSON Schema")},cc=(e,t,r,n)=>{te(e,t,r,n,"Set cannot be represented in JSON Schema")},lc=(e,t,r,n)=>{let o=r,i=e._zod.def,{minimum:s,maximum:a}=re(e);typeof s=="number"&&(o.minItems=s),typeof a=="number"&&(o.maxItems=a),o.type="array",o.items=H(i.element,t,{...n,path:[...n.path,"items"]})};function cn(e){let t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?cn(t.out):t.type==="catch"?cn(t.innerType):e._zod.optin}var dc=(e,t,r,n)=>{let o=r,i=e._zod.def,s=i.shape;if(Object.getOwnPropertySymbols(s).length&&te(e,t,o,n,"Symbol keys cannot be represented in JSON Schema"))return;o.type="object",o.properties={};for(let u in s)se(o.properties,u,H(s[u],t,{...n,path:[...n.path,"properties",u]}));let c=[];for(let u of Object.keys(s)){let l=i.shape[u];(t.io==="input"?cn(l)===void 0:l._zod.optout===void 0)&&c.push(u)}c.length>0&&(o.required=c),i.catchall?._zod.def.type==="never"?o.additionalProperties=!1:i.catchall?i.catchall&&(o.additionalProperties=H(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(o.additionalProperties=!1)},li=(e,t,r,n)=>{let o=e._zod.def,i=o.inclusive===!1,s=o.options.map((a,c)=>H(a,t,{...n,path:[...n.path,i?"oneOf":"anyOf",c]}));i?r.oneOf=s:r.anyOf=s},pc=(e,t,r,n)=>{let o=e._zod.def,i=H(o.left,t,{...n,path:[...n.path,"allOf",0]}),s=H(o.right,t,{...n,path:[...n.path,"allOf",1]}),a=u=>"allOf"in u&&Object.keys(u).length===1,c=[...a(i)?i.allOf:[i],...a(s)?s.allOf:[s]];r.allOf=c,t.intersections.push(c)},fc=(e,t,r,n)=>{let o=r,i=e._zod.def;o.type="array";let s=t.target==="draft-2020-12"?"prefixItems":"items",a=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",c=i.items.map((C,y)=>H(C,t,{...n,path:[...n.path,s,y]})),u=i.rest?H(i.rest,t,{...n,path:[...n.path,a,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null,l=i.items.length;for(;l>0;){let C=i.items[l-1];if(!(t.io==="input"?cn(C)!==void 0:C._zod.optout==="optional"))break;l--}let d=i.items.length,f=!i.rest;t.target==="draft-2020-12"?(o.prefixItems=c,f?o.items=!1:u&&(o.items=u),l>0&&(o.minItems=l),f&&(o.maxItems=d)):t.target==="openapi-3.0"?(o.items={anyOf:c},u&&o.items.anyOf.push(u),l>0&&(o.minItems=l),f&&(o.maxItems=d)):(o.items=c,f?o.additionalItems=!1:u&&(o.additionalItems=u),l>0&&(o.minItems=l),f&&(o.maxItems=d));let{minimum:m,maximum:g}=re(e);typeof m=="number"&&(o.minItems=m),typeof g=="number"&&(o.maxItems=g)};function D1(e,t,r){if(t.$ref){if(r.has(t))return t;r.add(t);let g=e.get(t)?.def;if(!g)return t;let C=D1(e,g,r);return C===g?t:C}for(let g of["anyOf","oneOf"]){let C=t[g];if(!Array.isArray(C))continue;let y=C.map(x=>D1(e,x,r));y.some((x,w)=>x!==C[w])&&(t={...t,[g]:y})}let n=Array.isArray(t.type)?t.type:[t.type],o=!n.includes("string")&&n.some(g=>g==="number"||g==="integer"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!o&&!i?.some(g=>typeof g=="number"))return t;let{minimum:s,maximum:a,exclusiveMinimum:c,exclusiveMaximum:u,multipleOf:l,format:d,id:f,...m}=t;return m.enum?m.enum=m.enum.map(g=>typeof g=="number"?String(g):g):typeof m.const=="number"&&(m.const=String(m.const)),o&&(m.type="string",i||(m.pattern=(n.includes("number")?Re:jr).source)),m}var j1=new WeakMap;function j3(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let r=new Map;for(let n of j1.get(e)??[]){let o=e.seen.get(n),i=(o?.def??o?.schema)?.propertyNames;if(!i||i===!0||r.has(i))continue;let s=D1(t,i,new Set);s!==i&&r.set(i,s)}if(r.size)for(let n of e.seen.values())for(let o of[n.schema,n.def]){let i=o&&r.get(o.propertyNames);i&&(o.propertyNames=i)}}var mc=(e,t,r,n)=>{let o=r,i=e._zod.def;o.type="object";let s=i.keyType,a=re(s).patterns;if(i.mode==="loose"&&a&&a.size>0){let l=H(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});o.patternProperties={};for(let d of a)se(o.patternProperties,yp(d).source,l)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){o.propertyNames=H(i.keyType,t,{...n,path:[...n.path,"propertyNames"]});let l=j1.get(t);l||(l=[],j1.set(t,l),t.deferred.push(()=>j3(t))),l.push(e)}o.additionalProperties=H(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]})}let c=s._zod.values,u=t.io==="input"&&cn(i.valueType)!==void 0;if(c&&!i.partial&&!u){let l=[...c].filter(d=>typeof d=="string"||typeof d=="number");l.length>0&&(o.required=l.map(String))}},hc=(e,t,r,n)=>{let o=e._zod.def,i=H(o.innerType,t,n),s=t.seen.get(e);t.target==="openapi-3.0"?(s.ref=o.innerType,r.nullable=!0):r.anyOf=[i,{type:"null"}]},kc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},gc=Symbol();function bp(e,t,r,n,o){let i=!1,s=JSON.stringify(e,(a,c)=>typeof c!="bigint"?c:(i=!0,null));return i?(te(t,r,n,o,"BigInt defaults cannot be represented in JSON Schema"),gc):JSON.parse(s)}var Cc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType;let s=bp(o.defaultValue,e,t,r,n);s!==gc&&(r.default=s)},yc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);if(i.ref=o.innerType,t.io!=="input")return;let s=bp(o.defaultValue,e,t,r,n);s!==gc&&(r._prefault=s)},bc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType;let s;try{s=o.catchValue(void 0)}catch{te(e,t,r,n,"Dynamic catch values are not supported in JSON Schema");return}r.default=s},xc=(e,t,r,n)=>{let o=e._zod.def,i=o.in._zod.traits.has("$ZodTransform"),s=t.io==="input"?i?o.out:o.in:o.out;H(s,t,n);let a=t.seen.get(e);a.ref=s},vc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType,r.readOnly=!0},wc=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},di=(e,t,r,n)=>{let o=e._zod.def;H(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},_c=(e,t,r,n)=>{let o=e._zod.innerType;H(o,t,n);let i=t.seen.get(e);i.ref=o},ci={string:W1,number:V1,boolean:F1,bigint:B1,symbol:H1,null:U1,undefined:K1,void:q1,never:G1,any:J1,unknown:Y1,date:X1,enum:Q1,literal:ec,nan:tc,template_literal:rc,file:nc,success:oc,custom:ic,function:sc,transform:ac,map:uc,set:cc,array:lc,object:dc,union:li,intersection:pc,tuple:fc,record:mc,nullable:hc,nonoptional:kc,default:Cc,prefault:yc,catch:bc,pipe:xc,readonly:vc,promise:wc,optional:di,lazy:_c};function pi(e,t){if("_idmap"in e){let n=e,o=qe({...t,processors:ci}),i={};for(let c of n._idmap.entries()){let[u,l]=c;H(l,o)}let s={},a={registry:n,uri:t?.uri,defs:i};o.external=a;for(let c of n._idmap.entries()){let[u,l]=c;Ge(o,l),se(s,u,Je(o,l))}if(Object.keys(i).length>0){let c=o.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[c]:i}}return{schemas:s}}let r=qe({...t,processors:ci});return H(e,r),Ge(r,e),Je(r,e)}var fi=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=qe({processors:ci,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return H(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,Ge(this.ctx,t);let n=Je(this.ctx,t),{"~standard":o,...i}=n;return i}};var xp={};var gr={};$e(gr,{ZodAny:()=>Uc,ZodArray:()=>Jc,ZodBase64:()=>Pi,ZodBase64URL:()=>Ai,ZodBigInt:()=>hr,ZodBigIntFormat:()=>Oi,ZodBoolean:()=>mr,ZodCIDRv4:()=>Mi,ZodCIDRv6:()=>Ni,ZodCUID:()=>wi,ZodCUID2:()=>_i,ZodCatch:()=>gl,ZodCodec:()=>yn,ZodCreditCard:()=>Zc,ZodCustom:()=>bn,ZodCustomStringFormat:()=>wt,ZodDate:()=>fn,ZodDefault:()=>dl,ZodDiscriminatedUnion:()=>Xc,ZodE164:()=>Ti,ZodEmail:()=>yi,ZodEmoji:()=>xi,ZodEnum:()=>dr,ZodExactOptional:()=>ji,ZodFile:()=>al,ZodFunction:()=>Il,ZodGUID:()=>bi,ZodIBAN:()=>Dc,ZodIPv4:()=>Si,ZodIPv6:()=>zi,ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>et,ZodISOTime:()=>Qe,ZodInstanceOf:()=>Ml,ZodIntersection:()=>Qc,ZodJWT:()=>Ei,ZodKSUID:()=>Ii,ZodLazy:()=>_l,ZodLiteral:()=>sl,ZodMAC:()=>Rc,ZodMap:()=>ol,ZodNaN:()=>yl,ZodNanoID:()=>vi,ZodNever:()=>qc,ZodNonOptional:()=>Wi,ZodNull:()=>Bc,ZodNullable:()=>ll,ZodNumber:()=>fr,ZodNumberFormat:()=>_t,ZodObject:()=>hn,ZodOptional:()=>gn,ZodPipe:()=>Cn,ZodPrefault:()=>fl,ZodPreprocess:()=>bl,ZodPromise:()=>$l,ZodReadonly:()=>xl,ZodRecord:()=>lr,ZodSet:()=>il,ZodString:()=>pr,ZodStringFormat:()=>U,ZodSuccess:()=>kl,ZodSymbol:()=>Vc,ZodTemplateLiteral:()=>wl,ZodTransform:()=>ul,ZodTuple:()=>tl,ZodType:()=>E,ZodULID:()=>Li,ZodURL:()=>pn,ZodUUID:()=>Te,ZodUndefined:()=>Fc,ZodUnion:()=>kn,ZodUnknown:()=>Kc,ZodVoid:()=>Gc,ZodXID:()=>$i,ZodXor:()=>Yc,_ZodString:()=>Ci,_default:()=>pl,_function:()=>A2,any:()=>l2,array:()=>mn,base64:()=>Bp,base64url:()=>Hp,bigint:()=>i2,boolean:()=>Wc,catch:()=>Cl,check:()=>T2,cidrv4:()=>Vp,cidrv6:()=>Fp,codec:()=>z2,creditCard:()=>Kp,cuid:()=>Tp,cuid2:()=>Ep,currencyCode:()=>Qp,custom:()=>E2,date:()=>p2,describe:()=>O2,discriminatedUnion:()=>C2,e164:()=>Up,email:()=>_p,emoji:()=>Pp,enum:()=>Zi,exactOptional:()=>cl,file:()=>L2,float32:()=>t2,float64:()=>r2,function:()=>A2,guid:()=>Lp,hash:()=>e2,hex:()=>Xp,hostname:()=>Yp,httpUrl:()=>Np,iban:()=>qp,instanceof:()=>Z2,int:()=>ki,int32:()=>n2,int64:()=>s2,intersection:()=>el,invertCodec:()=>M2,ipv4:()=>Dp,ipv6:()=>Wp,json:()=>j2,jwt:()=>Gp,keyof:()=>f2,ksuid:()=>Zp,lazy:()=>Ll,literal:()=>_2,looseObject:()=>k2,looseRecord:()=>b2,mac:()=>jp,map:()=>x2,meta:()=>R2,nan:()=>S2,nanoid:()=>Ap,nativeEnum:()=>w2,never:()=>Ri,nonoptional:()=>hl,null:()=>Hc,nullable:()=>dn,nullish:()=>$2,number:()=>jc,object:()=>m2,optional:()=>xt,partialRecord:()=>y2,pipe:()=>gi,prefault:()=>ml,preprocess:()=>W2,promise:()=>P2,readonly:()=>vl,record:()=>nl,refine:()=>Sl,set:()=>v2,strictObject:()=>h2,string:()=>ln,stringFormat:()=>Jp,stringbool:()=>D2,success:()=>I2,superRefine:()=>zl,symbol:()=>u2,templateLiteral:()=>N2,transform:()=>Di,tuple:()=>rl,uint32:()=>o2,uint64:()=>a2,ulid:()=>Op,undefined:()=>c2,union:()=>kr,unknown:()=>bt,url:()=>Mp,uuid:()=>$p,uuidv4:()=>Ip,uuidv6:()=>Sp,uuidv7:()=>zp,void:()=>d2,xid:()=>Rp,xor:()=>g2});var mi={};$e(mi,{endsWith:()=>Qt,gt:()=>Pe,gte:()=>ve,includes:()=>Yt,length:()=>Ct,lowercase:()=>Gt,lt:()=>Ne,lte:()=>xe,maxLength:()=>gt,maxSize:()=>Ke,mime:()=>tr,minLength:()=>Ze,minSize:()=>Ae,multipleOf:()=>Ue,negative:()=>ii,nonnegative:()=>ai,nonpositive:()=>si,normalize:()=>rr,overwrite:()=>ze,positive:()=>oi,properties:()=>er,property:()=>ui,regex:()=>qt,size:()=>kt,slugify:()=>sr,startsWith:()=>Xt,toLowerCase:()=>or,toUpperCase:()=>ir,trim:()=>nr,uppercase:()=>Jt});var vp=new WeakSet([Object.prototype,Error.prototype]);function hi(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let n=r(this);return Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0})}})}var wp=(e,t)=>{$s.init(e,t),e.name="ZodError";let r=Object.getPrototypeOf(e);vp.has(r)||(vp.add(r),hi(r,"format",n=>o=>Or(n,o)),hi(r,"flatten",n=>o=>Er(n,o)),hi(r,"addIssue",n=>o=>{n.issues.push(o),n.message=JSON.stringify(n.issues,Ot,2)}),hi(r,"addIssues",n=>o=>{n.issues.push(...o),n.message=JSON.stringify(n.issues,Ot,2)}),Object.defineProperty(r,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},V3=k("ZodError",wp),be=k("ZodError",wp,void 0,{Parent:Error});var Lc=jt(be),$c=Wt(be),Ic=Vt(be),Sc=Ft(be),zc=Hn(be),Mc=Un(be),Nc=Kn(be),Pc=qn(be),Ac=Gn(be),Tc=Jn(be),Ec=Yn(be),Oc=Xn(be);function B3(){ne.localeError||X(No())}function vt(){ne.memoizer||X({memoizer:en()})}var E=k("ZodType",(e,t)=>(B3(),A.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(S.mergeDefs(t,{checks:[...t.checks??[],...e.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return F(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Sl(e,t))},superRefine(e,t){return this.check(zl(e,t))},overwrite(e){return this.check(ze(e))},optional(){return xt(this)},exactOptional(){return cl(this)},nullable(){return dn(this)},nullish(){return xt(dn(this))},nonoptional(e){return hl(this,e)},array(){return mn(this)},or(e){return kr([this,e])},and(e){return el(this,e)},transform(e){return gi(this,Di(e))},default(e){return pl(this,e)},prefault(e){return ml(this,e)},catch(e){return Cl(this,e)},pipe(e){return gi(this,e)},readonly(){return vl(this)},describe(e){let t=this.clone();return ae.add(t,{description:e}),t},meta(...e){if(e.length===0)return ae.get(this);let t=this.clone();return ae.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return S.hide(this,"~standard",{...co(this),jsonSchema:{input:ar(this,"input"),output:ar(this,"output")}})},set"~standard"(e){S.own(this,"~standard",e)},parse:function e(t,r){return Lc(this,t,r,{callee:e})},parseAsync:async function e(t,r){return await $c(this,t,r,{callee:e})},safeParse(e,t){return Ic(this,e,t)},async safeParseAsync(e,t){return Sc(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){S.own(this,"spa",e)},validate(e,t){return Rr(this,e,t)},validateAsync(e,t){return Zr(this,e,t)},encode:function e(t,r){return zc(this,t,r,{callee:e})},decode:function e(t,r){return Mc(this,t,r,{callee:e})},encodeAsync:async function e(t,r){return await Nc(this,t,r,{callee:e})},decodeAsync:async function e(t,r){return await Pc(this,t,r,{callee:e})},safeEncode(e,t){return Ac(this,e,t)},safeDecode(e,t){return Tc(this,e,t)},async safeEncodeAsync(e,t){return Ec(this,e,t)},async safeDecodeAsync(e,t){return Oc(this,e,t)},toJSONSchema(e){return Z1(this,{})(e)},get description(){return ae.get(this)?.description},get _def(){return this._zod.def}}),Ci=k("_ZodString",(e,t)=>{dt.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>W1(e,r,n,o)},S.derived({format:e=>re(e).format??null,minLength:e=>re(e).minimum??null,maxLength:e=>re(e).maximum??null},{regex(...e){return this.check(qt(...e))},includes(...e){return this.check(Yt(...e))},startsWith(...e){return this.check(Xt(...e))},endsWith(...e){return this.check(Qt(...e))},min(...e){return this.check(Ze(...e))},max(...e){return this.check(gt(...e))},length(...e){return this.check(Ct(...e))},nonempty(...e){return this.check(Ze(1,...e))},lowercase(e){return this.check(Gt(e))},uppercase(e){return this.check(Jt(e))},trim(){return this.check(nr())},normalize(...e){return this.check(rr(...e))},toLowerCase(){return this.check(or())},toUpperCase(){return this.check(ir())},slugify(){return this.check(sr())}})),pr=k("ZodString",(e,t)=>{dt.init(e,t),Ci.init(e,t)},{email(e){return this.check(Ro(yi,e))},url(e){return this.check(rn(pn,e))},jwt(e){return this.check(ni(Ei,e))},emoji(e){return this.check(Fo(xi,e))},guid(e){return this.check(Zo(bi,e))},uuid(e){return this.check(Do(Te,e))},uuidv4(e){return this.check(jo(Te,e))},uuidv6(e){return this.check(Wo(Te,e))},uuidv7(e){return this.check(Vo(Te,e))},nanoid(e){return this.check(Bo(vi,e))},cuid(e){return this.check(Ho(wi,e))},cuid2(e){return this.check(Uo(_i,e))},ulid(e){return this.check(Ko(Li,e))},base64(e){return this.check(ei(Pi,e))},base64url(e){return this.check(ti(Ai,e))},xid(e){return this.check(qo($i,e))},ksuid(e){return this.check(Go(Ii,e))},ipv4(e){return this.check(Jo(Si,e))},ipv6(e){return this.check(Yo(zi,e))},cidrv4(e){return this.check(Xo(Mi,e))},cidrv6(e){return this.check(Qo(Ni,e))},e164(e){return this.check(ri(Ti,e))},datetime(e){return this.check(nn(Ye,e))},date(e){return this.check(on(Xe,e))},time(e){return this.check(sn(Qe,e))},duration(e){return this.check(an(et,e))}});function ln(e){return e1(pr,e)}var U=k("ZodStringFormat",(e,t)=>{B.init(e,t),Ci.init(e,t)}),Ye=k("ZodISODateTime",(e,t)=>{Ua.init(e,t),U.init(e,t)}),Xe=k("ZodISODate",(e,t)=>{Ka.init(e,t),U.init(e,t)}),Qe=k("ZodISOTime",(e,t)=>{qa.init(e,t),U.init(e,t)}),et=k("ZodISODuration",(e,t)=>{Ga.init(e,t),U.init(e,t)}),yi=k("ZodEmail",(e,t)=>{Ea.init(e,t),U.init(e,t)});function _p(e){return Ro(yi,e)}var bi=k("ZodGUID",(e,t)=>{Aa.init(e,t),U.init(e,t)});function Lp(e){return Zo(bi,e)}var Te=k("ZodUUID",(e,t)=>{Ta.init(e,t),U.init(e,t)});function $p(e){return Do(Te,e)}function Ip(e){return jo(Te,e)}function Sp(e){return Wo(Te,e)}function zp(e){return Vo(Te,e)}var pn=k("ZodURL",(e,t)=>{Za.init(e,t),U.init(e,t)});function Mp(e){return rn(pn,e)}function Np(e){return rn(pn,{protocol:Dr,hostname:Gs,...S.normalizeParams(e)})}var xi=k("ZodEmoji",(e,t)=>{Da.init(e,t),U.init(e,t)});function Pp(e){return Fo(xi,e)}var vi=k("ZodNanoID",(e,t)=>{ja.init(e,t),U.init(e,t)});function Ap(e){return Bo(vi,e)}var wi=k("ZodCUID",(e,t)=>{Wa.init(e,t),U.init(e,t)});function Tp(e){return Ho(wi,e)}var _i=k("ZodCUID2",(e,t)=>{Va.init(e,t),U.init(e,t)});function Ep(e){return Uo(_i,e)}var Li=k("ZodULID",(e,t)=>{Fa.init(e,t),U.init(e,t)});function Op(e){return Ko(Li,e)}var $i=k("ZodXID",(e,t)=>{Ba.init(e,t),U.init(e,t)});function Rp(e){return qo($i,e)}var Ii=k("ZodKSUID",(e,t)=>{Ha.init(e,t),U.init(e,t)});function Zp(e){return Go(Ii,e)}var Si=k("ZodIPv4",(e,t)=>{Ja.init(e,t),U.init(e,t)});function Dp(e){return Jo(Si,e)}var Rc=k("ZodMAC",(e,t)=>{Xa.init(e,t),U.init(e,t)});function jp(e){return r1(Rc,e)}var zi=k("ZodIPv6",(e,t)=>{Ya.init(e,t),U.init(e,t)});function Wp(e){return Yo(zi,e)}var Mi=k("ZodCIDRv4",(e,t)=>{Qa.init(e,t),U.init(e,t)});function Vp(e){return Xo(Mi,e)}var Ni=k("ZodCIDRv6",(e,t)=>{eu.init(e,t),U.init(e,t)});function Fp(e){return Qo(Ni,e)}var Pi=k("ZodBase64",(e,t)=>{tu.init(e,t),U.init(e,t)});function Bp(e){return ei(Pi,e)}var Ai=k("ZodBase64URL",(e,t)=>{ru.init(e,t),U.init(e,t)});function Hp(e){return ti(Ai,e)}var Ti=k("ZodE164",(e,t)=>{nu.init(e,t),U.init(e,t)});function Up(e){return ri(Ti,e)}var Zc=k("ZodCreditCard",(e,t)=>{ou.init(e,t),U.init(e,t)});function Kp(e){return n1(Zc,e)}var Dc=k("ZodIBAN",(e,t)=>{iu.init(e,t),U.init(e,t)});function qp(e){return o1(Dc,e)}var Ei=k("ZodJWT",(e,t)=>{su.init(e,t),U.init(e,t)});function Gp(e){return ni(Ei,e)}var wt=k("ZodCustomStringFormat",(e,t)=>{au.init(e,t),U.init(e,t)});function Jp(e,t,r={}){return yt(wt,e,t,r)}function Yp(e){return yt(wt,"hostname",qs,e)}function Xp(e){return yt(wt,"hex",ca,e)}function Qp(e){return yt(wt,"currency_code",Ys,e)}function e2(e,t){let r=t?.enc??"hex",n=`${e}_${r}`,o=Le[n];if(!o)throw new Error(`Unrecognized hash format: ${n}`);return yt(wt,n,o,t)}var fr=k("ZodNumber",(e,t)=>{bo.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>V1(e,r,n,o),e.isFinite=!0},S.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:r}=re(e);return Math.max(t??Number.NEGATIVE_INFINITY,r??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:r}=re(e);return Math.min(t??Number.POSITIVE_INFINITY,r??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:r}=re(e);return!!t||!!r?.some(Number.isSafeInteger)},format:e=>re(e).format??null},{gt(e,t){return this.check(Pe(e,t))},gte(e,t){return this.check(ve(e,t))},min(e,t){return this.check(ve(e,t))},lt(e,t){return this.check(Ne(e,t))},lte(e,t){return this.check(xe(e,t))},max(e,t){return this.check(xe(e,t))},int(e){return this.check(ki(e))},safe(e){return this.check(ki(e))},positive(e){return this.check(Pe(0,e))},nonnegative(e){return this.check(ve(0,e))},negative(e){return this.check(Ne(0,e))},nonpositive(e){return this.check(xe(0,e))},multipleOf(e,t){return this.check(Ue(e,t))},step(e,t){return this.check(Ue(e,t))},finite(){return this}}));function jc(e){return s1(fr,e)}var _t=k("ZodNumberFormat",(e,t)=>{uu.init(e,t),fr.init(e,t)});function ki(e){return u1(_t,e)}function t2(e){return c1(_t,e)}function r2(e){return l1(_t,e)}function n2(e){return d1(_t,e)}function o2(e){return p1(_t,e)}var mr=k("ZodBoolean",(e,t)=>{qr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>F1(e,r,n,o)});function Wc(e){return f1(mr,e)}var hr=k("ZodBigInt",(e,t)=>{xo.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>B1(e,r,n,o)},S.derived({minValue:e=>re(e).minimum??null,maxValue:e=>re(e).maximum??null,format:e=>re(e).format??null},{gte(e,t){return this.check(ve(e,t))},min(e,t){return this.check(ve(e,t))},gt(e,t){return this.check(Pe(e,t))},lt(e,t){return this.check(Ne(e,t))},lte(e,t){return this.check(xe(e,t))},max(e,t){return this.check(xe(e,t))},positive(e){return this.check(Pe(BigInt(0),e))},negative(e){return this.check(Ne(BigInt(0),e))},nonpositive(e){return this.check(xe(BigInt(0),e))},nonnegative(e){return this.check(ve(BigInt(0),e))},multipleOf(e,t){return this.check(Ue(e,t))}}));function i2(e){return h1(hr,e)}var Oi=k("ZodBigIntFormat",(e,t)=>{cu.init(e,t),hr.init(e,t)});function s2(e){return g1(Oi,e)}function a2(e){return C1(Oi,e)}var Vc=k("ZodSymbol",(e,t)=>{lu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>H1(e,r,n,o)});function u2(e){return y1(Vc,e)}var Fc=k("ZodUndefined",(e,t)=>{du.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>K1(e,r,n,o)});function c2(e){return b1(Fc,e)}var Bc=k("ZodNull",(e,t)=>{pu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>U1(e,r,n,o)});function Hc(e){return x1(Bc,e)}var Uc=k("ZodAny",(e,t)=>{fu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>J1(e,r,n,o)});function l2(){return v1(Uc)}var Kc=k("ZodUnknown",(e,t)=>{mu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Y1(e,r,n,o)});function bt(){return w1(Kc)}var qc=k("ZodNever",(e,t)=>{hu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>G1(e,r,n,o)});function Ri(e){return _1(qc,e)}var Gc=k("ZodVoid",(e,t)=>{ku.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>q1(e,r,n,o)});function d2(e){return L1(Gc,e)}var fn=k("ZodDate",(e,t)=>{gu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>X1(e,r,n,o),e.min=(r,n)=>e.check(ve(r,n)),e.max=(r,n)=>e.check(xe(r,n))},S.derived({minDate:e=>{let{minimum:t}=re(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=re(e);return t?new Date(t):null}},{}));function p2(e){return $1(fn,e)}var Jc=k("ZodArray",(e,t)=>{vt(),Cu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>lc(e,r,n,o),e.element=t.element},{min(e,t){return this.check(Ze(e,t))},nonempty(e){return this.check(Ze(1,e))},max(e,t){return this.check(gt(e,t))},length(e,t){return this.check(Ct(e,t))},unwrap(){return this.element}});function mn(e,t){return z1(Jc,e,t)}function f2(e){let t=e._zod.def.shape;return Zi(Object.keys(t))}var hn=k("ZodObject",(e,t)=>{vt(),yu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>dc(e,r,n,o),S.installLazyProp(e,"shape",r=>r._zod.def.shape,!1)},{keyof(){return Zi(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(S.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(S.mergeDefs(this._zod.def,{catchall:bt()}))},loose(){return this.clone(S.mergeDefs(this._zod.def,{catchall:bt()}))},strict(){return this.clone(S.mergeDefs(this._zod.def,{catchall:Ri()}))},strip(){return this.clone(S.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return S.extend(this,e)},safeExtend(e){return S.safeExtend(this,e)},merge(e){return S.merge(this,e)},pick(e){return S.pick(this,e)},omit(e){return S.omit(this,e)},partial(...e){return S.partial(gn,this,e[0])},exactPartial(...e){return S.partial(ji,this,e[0],"exactPartial")},required(...e){return S.required(Wi,this,e[0])}});function m2(e,t){let r={type:"object",shape:e??{},...S.normalizeParams(t)};return new hn(r)}function h2(e,t){return new hn({type:"object",shape:e,catchall:Ri(),...S.normalizeParams(t)})}function k2(e,t){return new hn({type:"object",shape:e,catchall:bt(),...S.normalizeParams(t)})}var kn=k("ZodUnion",(e,t)=>{Gr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>li(e,r,n,o),e.options=t.options});function kr(e,t){return new kn({type:"union",options:e,...S.normalizeParams(t)})}var Yc=k("ZodXor",(e,t)=>{kn.init(e,t),bu.init(e,t),e._zod.processJSONSchema=(r,n,o)=>li(e,r,n,o),e.options=t.options});function g2(e,t){return new Yc({type:"union",options:e,inclusive:!1,...S.normalizeParams(t)})}var Xc=k("ZodDiscriminatedUnion",(e,t)=>{kn.init(e,t),vu.init(e,t)});function C2(e,t,r){return new Xc({type:"union",options:t,discriminator:e,...S.normalizeParams(r)})}var Qc=k("ZodIntersection",(e,t)=>{wu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>pc(e,r,n,o)});function el(e,t){return new Qc({type:"intersection",left:e,right:t})}var tl=k("ZodTuple",(e,t)=>{vt(),vo.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>fc(e,r,n,o)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(t=>new gn({type:"optional",innerType:t}))})}});function rl(e,t,r){let n=t instanceof A,o=n?r:t,i=n?t:null;return new tl({type:"tuple",items:e,rest:i,...S.normalizeParams(o)})}var lr=k("ZodRecord",(e,t)=>{vt(),_u.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>mc(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType});function nl(e,t,r){return!t||!t._zod?new lr({type:"record",keyType:ln(),valueType:e,...S.normalizeParams(t)}):new lr({type:"record",keyType:e,valueType:t,...S.normalizeParams(r)})}function y2(e,t,r){return new lr({type:"record",keyType:e,valueType:t,...S.normalizeParams(r),partial:!0})}function b2(e,t,r){return new lr({type:"record",keyType:e,valueType:t,mode:"loose",...S.normalizeParams(r)})}var ol=k("ZodMap",(e,t)=>{vt(),Lu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>uc(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Ae(...r)),e.nonempty=r=>e.check(Ae(1,r)),e.max=(...r)=>e.check(Ke(...r)),e.size=(...r)=>e.check(kt(...r))});function x2(e,t,r){return new ol({type:"map",keyType:e,valueType:t,...S.normalizeParams(r)})}var il=k("ZodSet",(e,t)=>{vt(),$u.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>cc(e,r,n,o),e.min=(...r)=>e.check(Ae(...r)),e.nonempty=r=>e.check(Ae(1,r)),e.max=(...r)=>e.check(Ke(...r)),e.size=(...r)=>e.check(kt(...r))});function v2(e,t){return new il({type:"set",valueType:e,...S.normalizeParams(t)})}var dr=k("ZodEnum",(e,t)=>{Iu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(n,o,i)=>Q1(e,n,o,i),e.enum=t.entries,e.options=[...e._zod.values];let r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{let i={};for(let s of n)if(r.has(s))i[s]=t.entries[s];else throw new Error(`Key ${s} not found in enum`);return new dr({...t,checks:[],...S.normalizeParams(o),entries:i})},e.exclude=(n,o)=>{let i={...t.entries};for(let s of n)if(r.has(s))delete i[s];else throw new Error(`Key ${s} not found in enum`);return new dr({...t,checks:[],...S.normalizeParams(o),entries:i})}});function Zi(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new dr({type:"enum",entries:r,...S.normalizeParams(t)})}function w2(e,t){return new dr({type:"enum",entries:e,...S.normalizeParams(t)})}var sl=k("ZodLiteral",(e,t)=>{Su.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ec(e,r,n,o),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function _2(e,t){return new sl({type:"literal",values:Array.isArray(e)?e:[e],...S.normalizeParams(t)})}var al=k("ZodFile",(e,t)=>{zu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>nc(e,r,n,o),e.min=(r,n)=>e.check(Ae(r,n)),e.max=(r,n)=>e.check(Ke(r,n)),e.mime=(r,n)=>e.check(tr(Array.isArray(r)?r:[r],n))});function L2(e){return M1(al,e)}var ul=k("ZodTransform",(e,t)=>{vt(),Mu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ac(e,r,n,o),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new He(e.constructor.name);r.addIssue=i=>{if(typeof i=="string")r.issues.push(S.issue(i,r.value,t));else{let s=i;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),"input"in s||(s.input=r.value),s.inst??(s.inst=e),r.issues.push(S.issue(s))}};let o=t.transform(r.value,r);return o instanceof Promise?o.then(i=>(r.value=i,r)):(r.value=o,r)}});function Di(e){return new ul({type:"transform",transform:e})}var gn=k("ZodOptional",(e,t)=>{wo.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>di(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function xt(e){return new gn({type:"optional",innerType:e})}var ji=k("ZodExactOptional",(e,t)=>{Nu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>di(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function cl(e){return new ji({type:"optional",innerType:e})}var ll=k("ZodNullable",(e,t)=>{Pu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>hc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function dn(e){return new ll({type:"nullable",innerType:e})}function $2(e){return xt(dn(e))}var dl=k("ZodDefault",(e,t)=>{Au.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Cc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function pl(e,t){return new dl({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():S.shallowClone(t)}})}var fl=k("ZodPrefault",(e,t)=>{Tu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>yc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function ml(e,t){return new fl({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():S.shallowClone(t)}})}var Wi=k("ZodNonOptional",(e,t)=>{Eu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>kc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function hl(e,t){return new Wi({type:"nonoptional",innerType:e,...S.normalizeParams(t)})}var kl=k("ZodSuccess",(e,t)=>{Ou.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>oc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function I2(e){return new kl({type:"success",innerType:e})}var gl=k("ZodCatch",(e,t)=>{Ru.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>bc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Cl(e,t){return new gl({type:"catch",innerType:e,catchValue:typeof t=="function"?t:S.constantCatch(t)})}var yl=k("ZodNaN",(e,t)=>{Zu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>tc(e,r,n,o)});function S2(e){return S1(yl,e)}var Cn=k("ZodPipe",(e,t)=>{_o.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>xc(e,r,n,o),e.in=t.in,e.out=t.out});function gi(e,t){return new Cn({type:"pipe",in:e,out:t})}var yn=k("ZodCodec",(e,t)=>{Cn.init(e,t),Jr.init(e,t)});function z2(e,t,r){return new yn({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function M2(e){let t=e._zod.def;return new yn({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var bl=k("ZodPreprocess",(e,t)=>{Cn.init(e,t),Du.init(e,t)}),xl=k("ZodReadonly",(e,t)=>{ju.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>vc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function vl(e){return new xl({type:"readonly",innerType:e})}var wl=k("ZodTemplateLiteral",(e,t)=>{Wu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>rc(e,r,n,o)});function N2(e,t){return new wl({type:"template_literal",parts:e,...S.normalizeParams(t)})}var _l=k("ZodLazy",(e,t)=>{Yr.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>_c(e,r,n,o),e.unwrap=()=>e._zod.def.getter()});function Ll(e){return new _l({type:"lazy",getter:e})}var $l=k("ZodPromise",(e,t)=>{Fu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>wc(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function P2(e){return new $l({type:"promise",innerType:e})}var Il=k("ZodFunction",(e,t)=>{Vu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>sc(e,r,n,o)});function A2(e){return new Il({type:"function",input:Array.isArray(e?.input)?rl(e?.input):e?.input??mn(bt()),output:e?.output??bt()})}var bn=k("ZodCustom",(e,t)=>{Bu.init(e,t),E.init(e,t),e._zod.processJSONSchema=(r,n,o)=>ic(e,r,n,o)});function T2(e){let t=new K({check:"custom"});return t._zod.check=e,t}function E2(e,t){return N1(bn,e??(()=>!0),t)}function Sl(e,t={}){return P1(bn,e,t)}function zl(e,t){return A1(e,t)}var O2=T1,R2=E1,Ml=k("ZodInstanceOf",(e,t)=>{bn.init(e,t)},{properties(e,t){return this.check(er(e,t))}});function Z2(e,t={}){let r=new Ml({type:"custom",check:"custom",fn:n=>n instanceof e,abort:!0,...S.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:r,path:[...r._zod.def.path??[]]})},r}var D2=(...e)=>O1({Codec:yn,Boolean:mr,String:pr},...e);function j2(e){let t=Ll(()=>kr([ln(e),jc(),Wc(),Hc(),mn(t),nl(ln(),t)]));return t}function W2(e,t){return new bl({type:"pipe",in:Di(e),out:t})}var H3={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function U3(e){X({customError:e})}function K3(){return X().customError}var Nl;Nl||(Nl={});var xn={};$e(xn,{ZodISODate:()=>Xe,ZodISODateTime:()=>Ye,ZodISODuration:()=>et,ZodISOTime:()=>Qe,date:()=>G3,datetime:()=>q3,duration:()=>Y3,time:()=>J3});function q3(e){return nn(Ye,e)}function G3(e){return on(Xe,e)}function J3(e){return sn(Qe,e)}function Y3(e){return an(et,e)}var I={...gr,...mi,iso:xn},X3=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function Q3(e,t){let r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function V2(e,t){return e.map((r,n)=>n<t?r:r.optional())}function e6(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function t6(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;let n=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===n){let o=r[1]===void 0?void 0:e6(r[1]);if(!o||!t.defs[o])throw new Error(`Reference not found: ${e}`);return t.defs[o]}throw new Error(`Reference not found: ${e}`)}function r6(e,t){return I.transform(n=>n).check(n=>{let o=n.value;if(typeof o!="object"||o===null||Array.isArray(o))return;let i=Object.getOwnPropertyNames(o);if(t.minProperties!==void 0&&i.length<t.minProperties&&n.issues.push({origin:"object",code:"too_small",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:o,inst:e,continue:!0}),t.maxProperties!==void 0&&i.length>t.maxProperties&&n.issues.push({origin:"object",code:"too_big",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:o,inst:e,continue:!0}),t.keySchema)for(let s of i){let a=t.keySchema.safeParse(s);a.success||n.issues.push({code:"invalid_key",origin:"record",issues:a.error.issues,input:s,path:[s],continue:!0})}}).pipe(e)}function Pl(e,t){if(e===null)return"z";let r=typeof e;if(r!=="object"){if(r==="number"&&Number.isNaN(e))return null;let n=String(e);return`${r[0]}${n.length}:${n}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let i=[];for(let s of e){let a=Pl(s,t);if(a===null)return null;i.push(a)}return`a${i.length}:[${i.join(",")}]`}let n=Object.keys(e).sort(),o=[];for(let i of n){let s=Pl(e[i],t);if(s===null)return null;o.push(`${i.length}:${i}=${s}`)}return`o${o.length}:{${o.join(",")}}`}finally{t.delete(e)}}var n6=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),o6=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function vn(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(vn):typeof e.$ref=="string"?!0:Object.entries(e).some(([t,r])=>n6.has(t)?vn(r):!o6.has(t)||typeof r!="object"||r===null?!1:Object.values(r).some(vn))}function F2(e){return e===1?"element":"elements"}function i6(e,t){return I.transform(n=>n).check(n=>{let o=n.value;if(Array.isArray(o)){if(t.uniqueItems===!0){let i=new Map;for(let s=0;s<o.length;s++){let a=Pl(o[s],new Set);if(a===null)continue;let c=i.get(a);if(c===void 0){i.set(a,s);continue}n.issues.push({code:"custom",message:`Array items must be unique: element at index ${s} duplicates the one at index ${c}`,input:o,path:[s],continue:!0})}}if(t.containsSchema){let i=t.minContains??1,s=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,a=0;for(let c of o)if(t.containsSchema.safeParse(c).success&&++a>=s)break;a<i&&n.issues.push({code:"custom",message:`Array must contain at least ${i} matching ${F2(i)}; found ${a}`,input:o,continue:!0}),t.maxContains!==void 0&&a>t.maxContains&&n.issues.push({code:"custom",message:`Array must contain at most ${t.maxContains} matching ${F2(t.maxContains)}`,input:o,continue:!0})}}}).pipe(e)}function B2(e,t){if(e!==!1)return e===void 0||e===!0?I.any():me(e,t)}var s6=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function H2(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return I.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let o=e.$ref;if(t.refs.has(o))return t.refs.get(o);if(t.processing.has(o))return I.lazy(()=>{if(!t.refs.has(o))throw new Error(`Circular reference not resolved: ${o}`);return t.refs.get(o)});t.processing.add(o);let i=t6(o,t),s=me(i,t);return t.refs.set(o,s),t.processing.delete(o),s}if(e.enum!==void 0){let o=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&o.length===1&&o[0]===null)return I.null();if(o.length===0)return I.never();if(o.length===1)return I.literal(o[0]);if(o.every(s=>typeof s=="string"))return I.enum(o);let i=o.map(s=>I.literal(s));return i.length<2?i[0]:I.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return I.literal(e.const);let r=e.type;if(Array.isArray(r)){let o=r.map(i=>{let s={...e,type:i};return H2(s,t)});return o.length===0?I.never():o.length===1?o[0]:I.union(o)}if(!r)return I.any();let n;switch(r){case"string":{let o=I.string();if(e.format){let i=e.format;i==="email"?o=o.check(I.email()):i==="uri"||i==="uri-reference"?o=o.check(I.url()):i==="uuid"||i==="guid"?o=o.check(I.uuid()):i==="date-time"?o=o.check(I.iso.datetime({offset:!0})):i==="date"?o=o.check(I.iso.date()):i==="time"?o=o.check(I.regex(s6)):i==="duration"?o=o.check(I.iso.duration()):i==="hostname"?o=o.check(I.hostname()):i==="ipv4"?o=o.check(I.ipv4()):i==="ipv6"?o=o.check(I.ipv6()):i==="mac"?o=o.check(I.mac()):i==="cidr"?o=o.check(I.cidrv4()):i==="cidr-v6"?o=o.check(I.cidrv6()):i==="base64"?o=o.check(I.base64()):i==="base64url"?o=o.check(I.base64url()):i==="e164"?o=o.check(I.e164()):i==="credit_card"?o=o.check(I.creditCard()):i==="iban"?o=o.check(I.iban()):i==="jwt"?o=o.check(I.jwt()):i==="emoji"?o=o.check(I.emoji()):i==="nanoid"?o=o.check(I.nanoid()):i==="cuid"?o=o.check(I.cuid()):i==="cuid2"?o=o.check(I.cuid2()):i==="ulid"?o=o.check(I.ulid()):i==="xid"?o=o.check(I.xid()):i==="ksuid"&&(o=o.check(I.ksuid()))}typeof e.minLength=="number"&&(o=o.min(e.minLength)),typeof e.maxLength=="number"&&(o=o.max(e.maxLength)),e.pattern&&(o=o.regex(new RegExp(e.pattern))),n=o;break}case"number":case"integer":{let o=r==="integer"?I.number().int():I.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(o=o.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(o=o.max(e.maximum)),typeof e.exclusiveMinimum=="number"?o=o.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(o=o.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?o=o.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(o=o.lt(e.maximum)),typeof e.multipleOf=="number"&&(o=o.multipleOf(e.multipleOf)),n=o;break}case"boolean":{n=I.boolean();break}case"null":{n=I.null();break}case"object":{let o={},i=e.properties||{},s=new Set(e.required||[]),a=typeof e.additionalProperties=="object"?me(e.additionalProperties,t):void 0;for(let[d,f]of Object.entries(i)){let m=me(f,t);se(o,d,s.has(d)?m:m.optional())}if(e.patternProperties){let d=e.patternProperties,f=Object.keys(d),m=[];for(let C of f){let y=me(d[C],t),x=I.string().regex(new RegExp(C));m.push(I.looseRecord(x,y))}let g=[];if(Object.keys(o).length>0&&g.push(I.object(o).passthrough()),g.push(...m),g.length===0)n=I.object({}).passthrough();else if(g.length===1)n=g[0];else{let C=I.intersection(g[0],g[1]);for(let y=2;y<g.length;y++)C=I.intersection(C,g[y]);n=C}if(e.additionalProperties===!1){let C=Object.keys(o),y=f.map(w=>new RegExp(w)),x=n;n=n.check(w=>{if(!we(w.value))return;let $=[];for(let P of Object.keys(w.value))C.includes(P)||y.some(T=>T.test(P))||$.push(P);$.length&&w.issues.push({code:"unrecognized_keys",keys:$,input:w.value,inst:x})})}}else{let d=I.object(o);e.additionalProperties===!1?n=d.strict():a?n=d.catchall(a):n=d.passthrough()}let c=e.propertyNames!==void 0&&e.propertyNames!==!0,u=typeof e.minProperties=="number"?e.minProperties:void 0,l=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(c||u!==void 0||l!==void 0){let d;if(c){let f=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;d=me(f,t)}n=r6(n,{keySchema:d,minProperties:u,maxProperties:l})}break}case"array":{let o=e.prefixItems,i=e.items;if(o&&Array.isArray(o)){let s=typeof e.minItems=="number"?e.minItems:0,a=o.map(d=>me(d,t)),c=V2(a,s),u=Array.isArray(i)?void 0:B2(i,t),l=I.tuple(c);n=u?l.rest(u):l,typeof e.minItems=="number"&&(n=n.check(I.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(I.maxLength(e.maxItems)))}else if(Array.isArray(i)){let s=typeof e.minItems=="number"?e.minItems:0,a=i.map(d=>me(d,t)),c=V2(a,s),u=B2(e.additionalItems,t),l=I.tuple(c);n=u?l.rest(u):l,typeof e.minItems=="number"&&(n=n.check(I.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(I.maxLength(e.maxItems)))}else if(i!==void 0){let s=me(i,t),a=I.array(s);typeof e.minItems=="number"&&(a=a.min(e.minItems)),typeof e.maxItems=="number"&&(a=a.max(e.maxItems)),n=a}else n=I.array(I.any());(e.uniqueItems===!0||e.contains!==void 0)&&(n=i6(n,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?me(e.contains,t):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${r}`)}return n}function me(e,t){if(typeof e=="boolean")return e?I.any():I.never();let r=H2(e,t),n=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let a=e.anyOf.map(u=>me(u,t)),c=I.union(a);r=n?I.intersection(r,c):c}if(e.oneOf&&Array.isArray(e.oneOf)){let a=e.oneOf.map(u=>me(u,t)),c=I.xor(a);r=n?I.intersection(r,c):c}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=n?r:I.any();else{let a=n?r:me(e.allOf[0],t),c=n?0:1;for(let u=c;u<e.allOf.length;u++)a=I.intersection(a,me(e.allOf[u],t));r=a}e.nullable===!0&&t.version==="openapi-3.0"&&(r=I.nullable(r)),e.readOnly===!0&&(r=I.readonly(r)),e.default!==void 0&&(r=r.default(e.default));let o={},i=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let a of i)a in e&&(o[a]=e[a]);let s=["contentEncoding","contentMediaType","contentSchema"];for(let a of s)a in e&&(o[a]=e[a]);if(e.type==="object"&&e.$ref===void 0){e.propertyNames!==void 0&&!vn(e.propertyNames)&&(o.propertyNames=e.propertyNames);for(let a of["minProperties","maxProperties"])e[a]!==void 0&&(o[a]=e[a])}if(e.type==="array"&&e.$ref===void 0){e.contains!==void 0&&!vn(e.contains)&&(o.contains=e.contains);for(let a of["uniqueItems","minContains","maxContains"])e[a]!==void 0&&(o[a]=e[a])}for(let a of Object.keys(e))X3.has(a)||se(o,a,e[a]);return Object.keys(o).length>0&&t.registry.add(r,o),e.description&&(r=r.describe(e.description)),r}function U2(e,t){if(typeof e=="boolean")return e?I.any():I.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let n=Q3(r,t?.defaultTarget),o=r.$defs||r.definitions||{},i={version:n,defs:o,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??ae};return me(r,i)}var K2=Symbol("z.visit/resolving");function wn(e,t){let r=typeof t=="function"?t:(s,a)=>{let c=t[s._zod.def.type];return c?c(s,a):s},n=new Map;function o(s){let a=n.get(s);if(a===K2)return new Yr({type:"lazy",getter:()=>n.get(s)});if(a!==void 0)return a;n.set(s,K2);let c=i(s),u=r(c,c!==s);return n.set(s,u),u}function i(s){let a=s._zod.def,c=a.type;switch(c){case"object":{let u=a.shape,l=Object.keys(u),d=!1,f={};for(let g of l){let C=o(u[g]);C!==u[g]&&(d=!0),f[g]=C}let m=a.catchall;return a.catchall&&(m=o(a.catchall),m!==a.catchall&&(d=!0)),d?F(s,{...a,shape:f,catchall:m}):s}case"array":{let u=o(a.element);return u===a.element?s:F(s,{...a,element:u})}case"tuple":{let u=a.items,l=!1,d=[];for(let m of u){let g=o(m);g!==m&&(l=!0),d.push(g)}let f=a.rest;return a.rest&&(f=o(a.rest),f!==a.rest&&(l=!0)),l?F(s,{...a,items:d,rest:f}):s}case"record":case"map":{let u=o(a.keyType),l=o(a.valueType);return u===a.keyType&&l===a.valueType?s:F(s,{...a,keyType:u,valueType:l})}case"set":{let u=o(a.valueType);return u===a.valueType?s:F(s,{...a,valueType:u})}case"union":{let u=a.options,l=!1,d=[];for(let f of u){let m=o(f);m!==f&&(l=!0),d.push(m)}return l?F(s,{...a,options:d}):s}case"intersection":{let u=o(a.left),l=o(a.right);return u===a.left&&l===a.right?s:F(s,{...a,left:u,right:l})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let u=o(a.innerType);return u===a.innerType?s:F(s,{...a,innerType:u})}case"pipe":{let u=o(a.in),l=o(a.out);return u===a.in&&l===a.out?s:F(s,{...a,in:u,out:l})}case"function":{let u=o(a.input),l=o(a.output);return u===a.input&&l===a.output?s:F(s,{...a,input:u,output:l})}case"lazy":{let u=a.getter,{_cachedInner:l,...d}=a;return F(s,{...d,getter:()=>o(u())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return s;default:return s}}return o(e)}function q2(e){return wn(e,{object:t=>t.partial(),union:t=>{let r=t._zod.def;return r.discriminator===void 0?t:kr(r.options)}})}function a6(e,t){if(!t?.length)return e;let r=e._zod.def;return F(e,Ie(r,{checks:[...r.checks??[],...t]}),{parent:!0})}function G2(e){return a6(e.out,e.checks)}function u6(e){return e.in._zod.traits.has("$ZodTransform")?G2(e):e.in}function J2(e){return wn(e,{pipe:t=>u6(t._zod.def),default:(t,r)=>r?xt(t._zod.def.innerType):t,catch:(t,r)=>r?t._zod.def.innerType:t})}function Y2(e){return wn(e,{pipe:t=>G2(t._zod.def),prefault:(t,r)=>r?t._zod.def.innerType:t})}var Al={};$e(Al,{bigint:()=>p6,boolean:()=>d6,date:()=>f6,number:()=>l6,string:()=>c6});function c6(e){return t1(pr,e)}function l6(e){return a1(fr,e)}function d6(e){return m1(mr,e)}function p6(e){return k1(hr,e)}function f6(e){return I1(fn,e)}var m6=h.enum(["queued","starting","running","waiting","completed","failed","interrupted","skipped"]),h6=h.enum(["plan","active","output"]),k6=h.enum(["thread","workflow-agent","delegation","plan-step","queued-message","phase","operation"]),_n=h.enum(["bb","redteam","ollama-fleet"]),Fi=h.enum(["action-required","failed","waiting","interrupted","warning"]),g6=h.object({id:h.string(),label:h.string(),detail:h.string().nullable(),at:h.number(),kind:h.string().nullable()}),C6=h.object({key:h.string(),entries:h.array(g6)}),y6=h.object({text:h.string(),at:h.number(),kind:h.string().nullable()}),Vi=h.object({key:h.string(),parentKey:h.string().nullable(),depth:h.number().int().nonnegative(),kind:k6,source:_n,title:h.string(),subtitle:h.string().nullable(),status:m6,column:h6,threadId:h.string().nullable(),updatedAt:h.number().optional(),queuedMessageCount:h.number().int().nonnegative().optional(),providerId:h.string().nullable(),providerLabel:h.string().nullable(),model:h.string().nullable(),startedAt:h.number().nullable(),completedAt:h.number().nullable(),durationMs:h.number().nullable(),phaseTitle:h.string().nullable(),promptPreview:h.string().nullable(),activity:y6.nullable(),outputPreview:h.string().nullable(),latestPublicUpdate:h.string().nullable().optional(),errorPreview:h.string().nullable(),tokens:h.number().nullable(),toolCalls:h.number().nullable(),waitingOn:h.string().nullable(),attention:h.object({type:Fi,message:h.string().max(320),conditionId:h.string().max(320).optional(),conditionAt:h.number().nullable().optional()}).nullable().optional(),planStatus:h.enum(["pending","in_progress","completed","failed"]).nullable(),isRoot:h.boolean(),parentThreadId:h.string().nullable().optional(),sequence:h.number().int().nonnegative().nullable().optional(),groupKey:h.string().nullable().optional(),jobId:h.string().max(80).optional(),serverName:h.string().max(120).nullable().optional(),originThreadId:h.string().max(120).optional(),originProjectId:h.string().max(120).optional(),scanId:h.string().optional(),phaseId:h.string().optional(),operationId:h.string().optional()}),b6=h.object({threadId:h.string(),title:h.string().nullable(),status:h.string(),displayStatus:h.string().nullable(),providerId:h.string().nullable(),providerLabel:h.string().nullable(),model:h.string().nullable(),projectId:h.string().nullable(),createdAt:h.number().nullable(),updatedAt:h.number().nullable(),goal:h.object({objective:h.string(),status:h.enum(["active","paused","budgetLimited","complete"]),tokensUsed:h.number(),tokenBudget:h.number().nullable(),timeUsedSeconds:h.number()}).nullable(),contextWindowUsedTokens:h.number().nullable(),contextWindowTotalTokens:h.number().nullable()}),x6=h.object({running:h.number(),waiting:h.number(),queued:h.number(),completed:h.number(),failed:h.number(),interrupted:h.number()}),v6=h.object({root:b6,counts:x6,cards:h.array(Vi),activityFeeds:h.array(C6).optional(),partial:h.boolean(),fetchedAt:h.number()}),X2=h.object({childCards:h.array(Vi).optional(),key:h.string(),card:Vi,projectId:h.string().nullable(),delegatedWorkers:h.array(Vi).max(4).optional(),delegatedWorkerCount:h.number().int().nonnegative().optional(),activeDelegatedWorkerCount:h.number().int().nonnegative().optional(),childCount:h.number().int().nonnegative(),activeChildCount:h.number().int().nonnegative(),updatedAt:h.number()}),w6=h.object({conditionId:h.string().max(320).optional(),conditionAt:h.number().nullable().optional(),id:h.string(),executionKey:h.string(),type:Fi,status:h.literal("open"),title:h.string(),message:h.string().max(160),firstObservedAt:h.number(),updatedAt:h.number(),threadId:h.string().nullable(),source:_n,scanId:h.string().optional()}),_6=h.enum(["execution-start","execution-complete","execution-failed","execution-interrupted","phase-start","phase-complete","phase-failed","model-selected","tool-start","tool-complete","tool-failed","public-update","waiting","resumed","approval-requested","question-requested","child-start","child-complete","child-failed","delegation"]),L6=h.enum(["pending","running","waiting","completed","failed","interrupted","resolved"]),$6=h.object({id:h.string().min(1).max(320),executionKey:h.string().min(1).max(240),source:_n,timestamp:h.number().int().nonnegative(),kind:_6,status:L6.nullable(),title:h.string().min(1).max(120),summary:h.string().max(360).nullable(),model:h.string().max(160).nullable(),toolName:h.string().max(100).nullable(),target:h.string().max(240).nullable(),phase:h.string().max(120).nullable(),durationMs:h.number().int().nonnegative().nullable(),threadId:h.string().nullable(),attentionType:Fi.nullable(),sourceMetadata:h.object({sourceId:h.string().max(240),sequence:h.number().int().nonnegative().nullable()}).nullable()}),I6=h.object({executionKey:h.string().min(1).max(240),source:_n,events:h.array($6).max(80),active:h.boolean(),truncated:h.boolean(),sourceWarning:h.string().max(240).nullable(),fetchedAt:h.number().int().nonnegative()}),S6=h.discriminatedUnion("source",[h.object({source:h.literal("ollama-fleet"),executionKey:h.string().min(1).max(240),jobId:h.string().min(1).max(80),limit:h.number().int().min(1).max(80).optional()}),h.object({source:h.literal("bb"),executionKey:h.string().min(1).max(240),threadId:h.string().min(1).max(240),limit:h.number().int().min(1).max(80).optional()}),h.object({source:h.literal("redteam"),executionKey:h.string().min(1).max(240),scanId:h.string().min(1).max(200),limit:h.number().int().min(1).max(80).optional()})]),z6=h.object({active:h.number().int().nonnegative(),waiting:h.number().int().nonnegative(),attention:h.number().int().nonnegative(),recent:h.number().int().nonnegative(),failures:h.number().int().nonnegative()}),M6=h.object({active:h.array(X2),attention:h.array(w6),recent:h.array(X2),counts:z6,unavailableSources:h.array(_n),partial:h.boolean(),dismissedCount:h.number().int().nonnegative(),fetchedAt:h.number()}),N6=h.object({text:h.string(),at:h.number(),kind:h.string().nullable()}),Cr="agent-board-changed",Bi=h.object({roots:h.array(h.string()),global:h.boolean().optional()}),sy={board_snapshot:{input:h.object({threadId:h.string().min(1),fresh:h.boolean().optional()}),output:v6},board_activity:{input:h.object({threadId:h.string().min(1),limit:h.number().int().min(1).max(60).optional()}),output:h.object({entries:h.array(N6)})},execution_timeline:{input:S6,output:I6},global_dashboard:{input:h.object({fresh:h.boolean().optional()}),output:M6},dismiss_attention:{input:h.object({conditionId:h.string().min(1).max(320).optional(),executionKey:h.string().min(1).max(200),type:Fi,updatedAt:h.number().int().min(0)}),output:h.object({dismissed:h.number().int().nonnegative()})},clear_dismissed_attentions:{input:h.object({}),output:h.object({dismissed:h.number().int().nonnegative()})}};var P6=2e4;function A6(e,t){let r=Bi.safeParse(e);if(!r.success)return!0;let n=r.data.roots;return n.length===0?r.data.global!==!0:n.includes(t)}function Q2(e){let t=Nt(),[r,n]=V(null),[o,i]=V(!0),[s,a]=V(!1),[c,u]=V(null),[l,d]=V(0),f=Z(0),m=Z(null),g=Z(!1),C=Z(!1),y=Z(!1),x=G(L=>{if(g.current){C.current=!0,y.current||=L?.fresh===!0;return}g.current=!0;let R=++f.current;m.current===null?i(!0):a(!0),t.call("board_snapshot",{threadId:e,fresh:L?.fresh===!0}).then(W=>{R===f.current&&(m.current=W,n(W),u(null))},W=>{R===f.current&&u(W instanceof Error?W.message:String(W))}).finally(()=>{if(R===f.current&&(g.current=!1,i(!1),a(!1),C.current)){let W=y.current;C.current=!1,y.current=!1,x({fresh:W})}})},[t,e]);Y(()=>(m.current=null,n(null),u(null),i(!0),x(),()=>{f.current+=1,g.current=!1,C.current=!1,y.current=!1,m.current=null}),[x]),Y(()=>{let L=setInterval(()=>x({fresh:!0}),P6);return()=>clearInterval(L)},[x]),Mt(Cr,L=>{A6(L,e)&&x()});let w=Ve(),$=Z(!1),P=Z(w);Y(()=>{let L=P.current;P.current=w,w==="connected"&&L!=="connected"&&$.current&&x(),w==="connected"&&($.current=!0)},[w,x]);let T=he(()=>r!==null&&(r.counts.running>0||r.counts.waiting>0||r.counts.queued>0),[r]);return Y(()=>{if(!T)return;let L=setInterval(()=>d(R=>R+1),1e3);return()=>clearInterval(L)},[T]),{snapshot:r,loading:o,refreshing:s,error:c,tick:l,refetch:x}}function ef(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function T6(...e){return t=>{let r=!1,n=e.map(o=>{let i=ef(o,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){let i=n[o];typeof i=="function"?i():ef(e[o],null)}}}}function tf(...e){return G(T6(...e),e)}function E6(e){let t=ue((r,n)=>{let{children:o,...i}=r,s=null,a=!1,c=[];rf(o)&&typeof Hi=="function"&&(o=Hi(o._payload)),An.forEach(o,f=>{if(j6(f)){a=!0;let m=f,g="child"in m.props?m.props.child:m.props.children;rf(g)&&typeof Hi=="function"&&(g=Hi(g._payload)),s=R6(m,g),c.push(s?.props?.children)}else c.push(f)}),s?s=xr(s,void 0,c):!a&&An.count(o)===1&&Pt(o)&&(s=o);let u=s?D6(s):void 0,l=tf(n,u);if(!s){if(o||o===0)throw new Error(a?B6(e):F6(e));return o}let d=Z6(i,s.props??{});return s.type!==br&&(d.ref=n?l:u),xr(s,d)});return t.displayName=`${e}.Slot`,t}var tt=E6("Slot"),O6=Symbol.for("radix.slottable");var R6=(e,t)=>{if("child"in e.props){let r=e.props.child;return Pt(r)?xr(r,void 0,e.props.children(r.props.children)):null}return Pt(t)?t:null};function Z6(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...a)=>{let c=i(...a);return o(...a),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function D6(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function j6(e){return Pt(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===O6}var W6=Symbol.for("react.lazy");function rf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===W6&&"_payload"in e&&V6(e._payload)}function V6(e){return typeof e=="object"&&e!==null&&"then"in e}var F6=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,B6=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Hi=ot[" use ".trim().toString()];var Tl=globalThis.__bbPluginRuntime;if(Tl==null||Tl.classVarianceAuthority==null)throw new Error('Cannot load "class-variance-authority": this bundle must be loaded by the Moonlet app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Ui=Tl.classVarianceAuthority,hy="default"in Ui?Ui.default:Ui,{cva:nf,cx:ky}=Ui;var El=globalThis.__bbPluginRuntime;if(El==null||El.clsx==null)throw new Error('Cannot load "clsx": this bundle must be loaded by the Moonlet app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Ki=El.clsx,Cy="default"in Ki?Ki.default:Ki,{clsx:of}=Ki;var Ol=globalThis.__bbPluginRuntime;if(Ol==null||Ol.tailwindMerge==null)throw new Error('Cannot load "tailwind-merge": this bundle must be loaded by the Moonlet app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var qi=Ol.tailwindMerge,by="default"in qi?qi.default:qi,{createTailwindMerge:xy,extendTailwindMerge:vy,fromTheme:wy,getDefaultConfig:_y,mergeConfigs:Ly,twJoin:$y,twMerge:sf,validators:Iy}=qi;function z(...e){return sf(of(e))}var af="transition-colors duration-150 hover:duration-0";var Rl=globalThis.__bbPluginRuntime;if(Rl==null||Rl.jsxRuntime==null)throw new Error('Cannot load "react/jsx-runtime": this bundle must be loaded by the Moonlet app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var Gi=Rl.jsxRuntime,Ay="default"in Gi?Gi.default:Gi,{Fragment:Lt,jsx:p,jsxs:b}=Gi;var H6=nf(`inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ${af} 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`,{variants:{variant:{default:"bg-foreground text-background hover:bg-foreground/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-transparent hover:bg-state-hover hover:text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-state-hover hover:text-foreground aria-pressed:bg-state-active aria-pressed:text-foreground aria-pressed:hover:bg-state-active data-[state=open]:bg-state-active data-[state=open]:text-foreground data-[state=open]:hover:bg-state-active",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Q=ue(({className:e,variant:t,size:r,asChild:n=!1,...o},i)=>p(n?tt:"button",{className:z(H6({variant:t,size:r,className:e})),ref:i,...o}));Q.displayName="Button";var U6={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},Ln=ue(({color:e="currentColor",size:t=24,strokeWidth:r,absoluteStrokeWidth:n=!1,className:o="",altIcon:i,showAlt:s=!1,icon:a,primaryColor:c,secondaryColor:u,disableSecondaryOpacity:l=!1,...d},f)=>{let m=r!==void 0?n?Number(r)*24/Number(t):r:void 0,g=m!==void 0?{strokeWidth:m,stroke:"currentColor"}:{},C={ref:f,...U6,width:t,height:t,color:c||e,className:o,...g,...d},x=[...s&&i?i:a].sort(([,w],[,$])=>{let P=w.opacity!==void 0;return $.opacity!==void 0?1:P?-1:0}).map(([w,$])=>{let P=$.opacity!==void 0,T=P&&!l?$.opacity:void 0,L=u?{...$.stroke!==void 0?{stroke:P?u:c||e}:{fill:P?u:c||e}}:{};return wr(w,{...$,...g,...L,opacity:T,key:$.key})});return wr("svg",C,x)});Ln.displayName="HugeiconsIcon";var uf=[["path",{d:"M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 9V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var cf=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var lf=[["path",{d:"M21 7H3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H13C16.7712 21 18.6569 21 19.8284 19.8284C21 18.6569 21 16.7712 21 13V7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 7H3L4.2 5.4C5.08328 4.22229 5.52492 3.63344 6.15836 3.31672C6.7918 3 7.52786 3 9 3H15C16.4721 3 17.2082 3 17.8416 3.31672C18.4751 3.63344 18.9167 4.22229 19.8 5.4L21 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 17L12 10.5M9 14.5C9.58984 15.1068 11.1597 17.5 12 17.5C12.8403 17.5 14.4102 15.1068 15 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var df=[["path",{d:"M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var pf=[["path",{d:"M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var ff=[["path",{d:"M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var mf=[["path",{d:"M13 7H11C8.19108 7 6.78661 7 5.77772 7.67412C5.34096 7.96596 4.96596 8.34096 4.67412 8.77772C4 9.78661 4 11.1911 4 14C4 16.8089 4 18.2134 4.67412 19.2223C4.96596 19.659 5.34096 20.034 5.77772 20.3259C6.78661 21 8.19108 21 11 21H13C15.8089 21 17.2134 21 18.2223 20.3259C18.659 20.034 19.034 19.659 19.3259 19.2223C20 18.2134 20 16.8089 20 14C20 11.1911 20 9.78661 19.3259 8.77772C19.034 8.34096 18.659 7.96596 18.2223 7.67412C17.2134 7 15.8089 7 13 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 14H2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 17H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M22 14H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M15 11V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M9 11V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M12 7C12 5.11438 12 4.17157 11.4142 3.58579C10.8284 3 9.88562 3 8 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"6"}]];var Zl=[["path",{d:"M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C10.3719 21.5 8.8394 21.0904 7.5 20.3687C5.63177 19.362 4.37462 20.2979 3.26592 20.4658C3.09774 20.4913 2.93024 20.4302 2.80997 20.31C2.62741 20.1274 2.59266 19.8451 2.6935 19.6074C3.12865 18.5818 3.5282 16.6382 2.98341 15C2.6698 14.057 2.5 13.0483 2.5 12C2.5 6.75329 6.75329 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15.5 12H8.5M12 8.5V15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var hf=[["path",{d:"M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C10.3719 21.5 8.8394 21.0904 7.5 20.3687C5.63177 19.362 4.37462 20.2979 3.26592 20.4658C3.09774 20.4913 2.93024 20.4302 2.80997 20.31C2.62741 20.1274 2.59266 19.8451 2.6935 19.6074C3.12865 18.5818 3.5282 16.6382 2.98341 15C2.6698 14.057 2.5 13.0483 2.5 12C2.5 6.75329 6.75329 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.1257 12H12.0007M8.125 12H8M16.125 12H16M12.2507 12C12.2507 12.1381 12.1388 12.25 12.0007 12.25C11.8627 12.25 11.7507 12.1381 11.7507 12C11.7507 11.8619 11.8627 11.75 12.0007 11.75C12.1388 11.75 12.2507 11.8619 12.2507 12ZM8.25 12C8.25 12.1381 8.13807 12.25 8 12.25C7.86193 12.25 7.75 12.1381 7.75 12C7.75 11.8619 7.86193 11.75 8 11.75C8.13807 11.75 8.25 11.8619 8.25 12ZM16.25 12C16.25 12.1381 16.1381 12.25 16 12.25C15.8619 12.25 15.75 12.1381 15.75 12C15.75 11.8619 15.8619 11.75 16 11.75C16.1381 11.75 16.25 11.8619 16.25 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var kf=[["path",{d:"M3.01309 4.99084C2.89323 6.05084 3.55249 8.42285 6.48923 8.42285",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.5951 8.38081C18.8357 8.57881 21.1132 7.49881 20.9957 5.00281",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20.9928 20.9989C21.0528 19.9429 20.1777 17.5549 17.599 17.4229",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6.45163 17.4708C5.65013 17.2308 3.01306 18.3348 3.01306 20.9988",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M9.3299 6.11884C9.35388 5.09884 9.84533 2.99884 12.0029 2.99884C13.9208 2.99884 14.5861 4.61884 14.676 6.11884M6.26131 9.41884C6.38118 8.63884 7.29216 6.81484 9.36586 6.63484C11.4635 6.55564 14.3403 6.58684 14.8797 6.67084C15.5869 6.73377 17.2951 7.43884 17.7506 9.41884C17.9124 10.4388 17.8285 11.8788 17.8524 12.7188C17.8165 13.5588 17.9207 15.2623 17.7565 16.1388C17.6367 17.0988 16.9894 18.4668 16.1024 19.3068C14.7838 20.7228 11.1639 22.2108 8.03534 19.4508C6.41713 17.8908 6.30925 16.3788 6.18939 15.7788C6.15725 15.4571 6.15875 13.8763 6.16541 12.3588C6.14144 11.046 6.17235 9.78063 6.26131 9.41884Z",stroke:"currentColor",strokeWidth:"1.5",key:"4"}],["path",{d:"M3.01306 12.8988H5.9498",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M20.9929 12.8988L18.1161 12.8988",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M12.0033 16.4988L12.0033 20.2788",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}]];var Ji=[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var gf=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.9994 15L9 9M9.00064 15L15 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var Cf=[["path",{d:"M11 6L21 6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 12L21 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11 18L21 18",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 7.39286C3 7.39286 4 8.04466 4.5 9C4.5 9 6 5.25 8 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M3 18.3929C3 18.3929 4 19.0447 4.5 20C4.5 20 6 16.25 8 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]];var yf=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 12.5L10.5 15L16 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var bf=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var Dl=[["path",{d:"M7.5 7.5L8.72654 8.55719C9.24218 9.00163 9.5 9.22386 9.5 9.5C9.5 9.77614 9.24218 9.99836 8.72654 10.4428L7.5 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.5 12.5H15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 21C15.7497 21 17.6246 21 18.9389 20.0451C19.3634 19.7367 19.7367 19.3634 20.0451 18.9389C21 17.6246 21 15.7497 21 12C21 8.25027 21 6.3754 20.0451 5.06107C19.7367 4.6366 19.3634 4.26331 18.9389 3.95491C17.6246 3 15.7497 3 12 3C8.25027 3 6.3754 3 5.06107 3.95491C4.6366 4.26331 4.26331 4.6366 3.95491 5.06107C3 6.3754 3 8.25027 3 12C3 15.7497 3 17.6246 3.95491 18.9389C4.26331 19.3634 4.6366 19.7367 5.06107 20.0451C6.3754 21 8.25027 21 12 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var xf=[["path",{d:"M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var vf=[["path",{d:"M14 2.20004C13.3538 2.06886 12.6849 2 12 2C11.3151 2 10.6462 2.06886 10 2.20004M21.8 10C21.9311 10.6462 22 11.3151 22 12C22 12.6849 21.9311 13.3538 21.8 14M14 21.8C13.3538 21.9311 12.6849 22 12 22C11.3151 22 10.6462 21.9311 10 21.8M2.20004 14C2.06886 13.3538 2 12.6849 2 12C2 11.3151 2.06886 10.6462 2.20004 10M17.5 3.64702C18.6332 4.39469 19.6053 5.36678 20.353 6.5M20.353 17.5C19.6053 18.6332 18.6332 19.6053 17.5 20.353M6.5 20.353C5.36678 19.6053 4.39469 18.6332 3.64702 17.5M3.64702 6.5C4.39469 5.36678 5.36678 4.39469 6.5 3.64702",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var wf=[["path",{d:"M19.5 5.5L18.8803 15.5251C18.7219 18.0864 18.6428 19.3671 18.0008 20.2879C17.6833 20.7431 17.2747 21.1273 16.8007 21.416C15.8421 22 14.559 22 11.9927 22C9.42312 22 8.1383 22 7.17905 21.4149C6.7048 21.1257 6.296 20.7408 5.97868 20.2848C5.33688 19.3626 5.25945 18.0801 5.10461 15.5152L4.5 5.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 5.5H21M16.0557 5.5L15.3731 4.09173C14.9196 3.15626 14.6928 2.68852 14.3017 2.39681C14.215 2.3321 14.1231 2.27454 14.027 2.2247C13.5939 2 13.0741 2 12.0345 2C10.9688 2 10.436 2 9.99568 2.23412C9.8981 2.28601 9.80498 2.3459 9.71729 2.41317C9.32164 2.7167 9.10063 3.20155 8.65861 4.17126L8.05292 5.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M9.5 16.5L9.5 10.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M14.5 16.5L14.5 10.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}]];var _f=[["path",{d:"M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var Lf=[["path",{d:"M14.0737 3.88545C14.8189 3.07808 15.1915 2.6744 15.5874 2.43893C16.5427 1.87076 17.7191 1.85309 18.6904 2.39232C19.0929 2.6158 19.4769 3.00812 20.245 3.79276C21.0131 4.5774 21.3972 4.96972 21.6159 5.38093C22.1438 6.37312 22.1265 7.57479 21.5703 8.5507C21.3398 8.95516 20.9446 9.33578 20.1543 10.097L10.7506 19.1543C9.25288 20.5969 8.504 21.3182 7.56806 21.6837C6.63212 22.0493 5.6032 22.0224 3.54536 21.9686L3.26538 21.9613C2.63891 21.9449 2.32567 21.9367 2.14359 21.73C1.9615 21.5234 1.98636 21.2043 2.03608 20.5662L2.06308 20.2197C2.20301 18.4235 2.27297 17.5255 2.62371 16.7182C2.97444 15.9109 3.57944 15.2555 4.78943 13.9445L14.0737 3.88545Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 4L20 11",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14 22L22 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var $f=[["path",{d:"M13 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C21.9796 9.05942 21.9992 10.0588 22 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 13V21M22 17H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var If=[["path",{d:"M19 21C19.6068 20.4102 22 18.8403 22 18C22 17.1597 19.6068 15.5898 19 15M21 18H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 21C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C21.9796 9.05942 21.9992 10.0588 22 12V13",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]];var Sf=[["path",{d:"M8 6.50116H16.75C18.8567 6.50116 19.91 6.50116 20.6667 7.0069C20.9943 7.22584 21.2755 7.50717 21.4944 7.83484C22 8.59173 22 9.64538 22 11.7527C22 12.0122 22 12.2621 21.9997 12.5029M12 6.50116L11.3666 5.23392C10.8418 4.18406 10.3622 3.1273 9.19926 2.69106C8.6899 2.5 8.10802 2.5 6.94427 2.5C5.1278 2.5 4.21956 2.5 3.53806 2.88043C3.05227 3.15161 2.65142 3.55257 2.38032 4.03851C2 4.72021 2 5.62871 2 7.44571V10.5023C2 15.2177 2 17.5754 3.46447 19.0403C4.70529 20.2815 6.58687 20.4711 10 20.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"14",cy:"12.5",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"20",cy:"18.5",r:"2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18 18.5C15.7909 18.5 14 16.7091 14 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M14 14.5V21.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]];var zf=[["path",{d:"M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C22 9.08996 22 10.1433 22 12.25C22 15.7612 22 17.5167 21.1573 18.7779C20.7926 19.3238 20.3238 19.7926 19.7779 20.1573C18.5167 21 16.7612 21 13.25 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}]];var Mf=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5C14.5 10.3569 14.0689 11.1131 13.4117 11.5636C12.7283 12.0319 12 12.6716 12 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Nf=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 16V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Pf=[["path",{d:"M12 3V6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 18V21",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 12L18 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 12L3 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M18.3635 5.63672L16.2422 7.75804",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M7.75804 16.2422L5.63672 18.3635",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M18.3635 18.3635L16.2422 16.2422",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M7.75804 7.75804L5.63672 5.63672",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}]];var Af=[["path",{d:"M12 20.5C19.1328 20.5 22 16.4706 22 11.5C22 6.52944 20.1328 2.5 12 2.5C4.13281 2.5 2 6.52944 2 11.5C2 13.5712 2.37034 15.4791 3.37161 17C4.63281 19 3.99253 20.8333 3 21.5C4.61547 21.5 5.70211 20.9858 6.39239 20.4766C6.88252 20.115 7.50688 19.9364 8.0984 20.0815C9.20689 20.3533 10.4991 20.5 12 20.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10 9C10 7.89543 10.8954 7 12 7C13.1046 7 14 7.89543 14 9C14 9.57777 13.755 10.0983 13.3632 10.4634C12.7572 11.0282 12 11.6716 12 12.5M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var Tf=[["path",{d:"M6.00449 12.5V12M18.0045 12.5V12M12.0045 12.5V12M7.00449 12.5C7.00449 11.9477 6.55677 11.5 6.00449 11.5C5.4522 11.5 5.00449 11.9477 5.00449 12.5C5.00449 13.0523 5.4522 13.5 6.00449 13.5C6.55677 13.5 7.00449 13.0523 7.00449 12.5ZM19.0045 12.5C19.0045 11.9477 18.5568 11.5 18.0045 11.5C17.4522 11.5 17.0045 11.9477 17.0045 12.5C17.0045 13.0523 17.4522 13.5 18.0045 13.5C18.5568 13.5 19.0045 13.0523 19.0045 12.5ZM13.0045 12.5C13.0045 11.9477 12.5568 11.5 12.0045 11.5C11.4522 11.5 11.0045 11.9477 11.0045 12.5C11.0045 13.0523 11.4522 13.5 12.0045 13.5C12.5568 13.5 13.0045 13.0523 13.0045 12.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var Ef=[["path",{d:"M17 17L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]];var Of=[["path",{d:"M21.3175 7.14139L20.8239 6.28479C20.4506 5.63696 20.264 5.31305 19.9464 5.18388C19.6288 5.05472 19.2696 5.15664 18.5513 5.36048L17.3311 5.70418C16.8725 5.80994 16.3913 5.74994 15.9726 5.53479L15.6357 5.34042C15.2766 5.11043 15.0004 4.77133 14.8475 4.37274L14.5136 3.37536C14.294 2.71534 14.1842 2.38533 13.9228 2.19657C13.6615 2.00781 13.3143 2.00781 12.6199 2.00781H11.5051C10.8108 2.00781 10.4636 2.00781 10.2022 2.19657C9.94085 2.38533 9.83106 2.71534 9.61149 3.37536L9.27753 4.37274C9.12465 4.77133 8.84845 5.11043 8.48937 5.34042L8.15249 5.53479C7.73374 5.74994 7.25259 5.80994 6.79398 5.70418L5.57375 5.36048C4.85541 5.15664 4.49625 5.05472 4.17867 5.18388C3.86109 5.31305 3.67445 5.63696 3.30115 6.28479L2.80757 7.14139C2.45766 7.74864 2.2827 8.05227 2.31666 8.37549C2.35061 8.69871 2.58483 8.95918 3.05326 9.48012L4.0843 10.6328C4.3363 10.9518 4.51521 11.5078 4.51521 12.0077C4.51521 12.5078 4.33636 13.0636 4.08433 13.3827L3.05326 14.5354C2.58483 15.0564 2.35062 15.3168 2.31666 15.6401C2.2827 15.9633 2.45766 16.2669 2.80757 16.8741L3.30114 17.7307C3.67443 18.3785 3.86109 18.7025 4.17867 18.8316C4.49625 18.9608 4.85542 18.8589 5.57377 18.655L6.79394 18.3113C7.25263 18.2055 7.73387 18.2656 8.15267 18.4808L8.4895 18.6752C8.84851 18.9052 9.12464 19.2442 9.2775 19.6428L9.61149 20.6403C9.83106 21.3003 9.94085 21.6303 10.2022 21.8191C10.4636 22.0078 10.8108 22.0078 11.5051 22.0078H12.6199C13.3143 22.0078 13.6615 22.0078 13.9228 21.8191C14.1842 21.6303 14.294 21.3003 14.5136 20.6403L14.8476 19.6428C15.0004 19.2442 15.2765 18.9052 15.6356 18.6752L15.9724 18.4808C16.3912 18.2656 16.8724 18.2055 17.3311 18.3113L18.5513 18.655C19.2696 18.8589 19.6288 18.9608 19.9464 18.8316C20.264 18.7025 20.4506 18.3785 20.8239 17.7307L21.3175 16.8741C21.6674 16.2669 21.8423 15.9633 21.8084 15.6401C21.7744 15.3168 21.5402 15.0564 21.0718 14.5354L20.0407 13.3827C19.7887 13.0636 19.6098 12.5078 19.6098 12.0077C19.6098 11.5078 19.7888 10.9518 20.0407 10.6328L21.0718 9.48012C21.5402 8.95918 21.7744 8.69871 21.8084 8.37549C21.8423 8.05227 21.6674 7.74864 21.3175 7.14139Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15.5195 12C15.5195 13.933 13.9525 15.5 12.0195 15.5C10.0865 15.5 8.51953 13.933 8.51953 12C8.51953 10.067 10.0865 8.5 12.0195 8.5C13.9525 8.5 15.5195 10.067 15.5195 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]];var Rf=[["path",{d:"M2 12C2 8.31087 2 6.4663 2.81382 5.15877C3.1149 4.67502 3.48891 4.25427 3.91891 3.91554C5.08116 3 6.72077 3 10 3H14C17.2792 3 18.9188 3 20.0811 3.91554C20.5111 4.25427 20.8851 4.67502 21.1862 5.15877C22 6.4663 22 8.31087 22 12C22 15.6891 22 17.5337 21.1862 18.8412C20.8851 19.325 20.5111 19.7457 20.0811 20.0845C18.9188 21 17.2792 21 14 21H10C6.72077 21 5.08116 21 3.91891 20.0845C3.48891 19.7457 3.1149 19.325 2.81382 18.8412C2 17.5337 2 15.6891 2 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 3L9.5 21",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M5 7H6M5 10H6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Zf=[["path",{d:"M3.99963 5.00055L9.99963 5.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.9996 5.00031L19.9996 5.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15.9996 9.00031L15.9996 15.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M9.99963 2.00031L9.99963 8.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M11.9996 16.0003L11.9996 22.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M15.9996 12.0001L19.9996 12.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M3.99963 12.0005L12.9996 12.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M11.9996 19.0003L19.9996 19.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}],["path",{d:"M3.99963 19.0005L8.99963 19.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"8"}]];var Df=[["path",{d:"M17 8L18.8398 9.85008C19.6133 10.6279 20 11.0168 20 11.5C20 11.9832 19.6133 12.3721 18.8398 13.1499L17 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 8L5.16019 9.85008C4.38673 10.6279 4 11.0168 4 11.5C4 11.9832 4.38673 12.3721 5.16019 13.1499L7 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 4L9.5 20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var jf=[["path",{d:"M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 2.20004C13.3538 2.06886 12.6849 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 11.3151 21.9311 10.6462 21.8 10",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.0303 11.9625L16.5832 7.4096M19.7404 4.34462L19.1872 2.35748C19.0853 2.03011 18.6914 1.89965 18.4259 2.11662C16.9898 3.29018 15.4254 4.87091 16.703 7.36419C19.2771 8.56455 20.7466 6.94584 21.8733 5.5853C22.0975 5.3146 21.9623 4.90767 21.6247 4.81005L19.7404 4.34462Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Wf=[["path",{d:"M5 14L8.5 17.5L19 6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];var Vf=[["path",{d:"M3 15V14H21V15C21 17.8284 21 19.2426 20.1213 20.1213C19.2426 21 17.8284 21 15 21H9C6.17157 21 4.75736 21 3.87868 20.1213C3 19.2426 3 17.8284 3 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 14L3.00001 12.9999C3.00003 11.5278 3.00004 10.7918 3.31675 10.1584C3.63347 9.52493 4.22231 9.08329 5.39999 8.20002C6.19297 7.60528 6.58946 7.30791 7.05132 7.15395C7.51317 7 8.00879 7 9.00002 7H15C15.9912 7 16.4868 7 16.9487 7.15395C17.4105 7.3079 17.807 7.60527 18.6 8.2C19.7777 9.08328 20.3666 9.52492 20.6833 10.1584C21 10.7918 21 11.5279 21 13V14H3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16 12V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M8 12V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M8.49997 7.00006V6.50006C8.49997 5.0956 8.49997 4.39337 8.83703 3.88892C8.98295 3.67054 9.17045 3.48304 9.38883 3.33712C9.89328 3.00006 10.5955 3.00006 12 3.00006C13.4044 3.00006 14.1067 3.00006 14.6111 3.33712C14.8295 3.48304 15.017 3.67054 15.1629 3.88892C15.5 4.39337 15.5 5.0956 15.5 6.50006V7.00006",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]];var Ff=[["path",{d:"M20.0004 10.9826C20.6281 10.1316 21 9.07385 21 7.92761C21 5.11556 18.7614 2.83594 16 2.83594C14.0209 2.83594 12.3104 4.00687 11.5 5.70554",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.6364 21.1658H9.36364C6.67794 21.1658 5.33509 21.1658 4.40253 20.4549C4.13533 20.2512 3.89812 20.0096 3.69811 19.7375C3 18.7879 3 17.4204 3 14.6855C3 13.1226 3 12.3412 3.39892 11.7986C3.51321 11.6431 3.64876 11.505 3.80144 11.3887C4.33434 10.9824 5.10168 10.9824 6.63636 10.9824H17.3636C18.8983 10.9824 19.6657 10.9824 20.1986 11.3887C20.3512 11.505 20.4868 11.6431 20.6011 11.7986C21 12.3412 21 13.1226 21 14.6855C21 17.4204 21 18.7879 20.3019 19.7375C20.1019 20.0096 19.8647 20.2512 19.5975 20.4549C18.6649 21.1658 17.3221 21.1658 14.6364 21.1658Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 15.0547H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M13.6858 10.9826L13.335 10.1564C13.2474 9.94999 13.2565 9.71349 13.3595 9.51989L14.9144 6.59747C15.1776 6.10273 14.7982 5.48558 14.2636 5.53902L11.1099 5.85432C10.9004 5.87526 10.692 5.78776 10.5492 5.6189L8.39732 3.07491C8.03241 2.64349 7.37203 2.82539 7.26584 3.38656L6.63969 6.69573C6.59813 6.91538 6.46021 7.09827 6.26863 7.18779L3.38401 8.53572C2.89509 8.76418 2.86669 9.49366 3.33529 9.78682L5.24666 10.9826",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]];var Bf=[["path",{d:"M3 20.5002C3.28417 16.8058 6.3 13.7193 10.0008 13.5379C10.3134 13.5226 10.6446 13.5097 11 13.5L11.995 13.5663C12.6939 13.6129 13.3665 13.7543 14 13.9777",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 15.5V21.5M21 18.5L15 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"11",cy:"6.5",r:"4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];var Hf=[["path",{d:"M15 5C15 6.65685 13.6569 8 12 8C10.3431 8 9 6.65685 9 5C9 3.34315 10.3431 2 12 2C13.6569 2 15 3.34315 15 5Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V9M12 9C12 9.93188 12 10.3978 12.1776 10.7654C12.4144 11.2554 12.8687 11.6448 13.4404 11.8478C13.8692 12 14.4128 12 15.5 12C16.5872 12 17.1308 12 17.5596 12.1522C18.1313 12.3552 18.5856 12.7446 18.8224 13.2346C19 13.6022 19 14.0681 19 15V16M12 9C12 9.93188 12 10.3978 11.8224 10.7654C11.5856 11.2554 11.1313 11.6448 10.5596 11.8478C10.1308 12 9.5872 12 8.5 12C7.4128 12 6.8692 12 6.44041 12.1522C5.86867 12.3552 5.41443 12.7446 5.17761 13.2346C5 13.6022 5 14.0681 5 15V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M8 19C8 20.6569 6.65685 22 5 22C3.34315 22 2 20.6569 2 19C2 17.3431 3.34315 16 5 16C6.65685 16 8 17.3431 8 19Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M22 19C22 20.6569 20.6569 22 19 22C17.3431 22 16 20.6569 16 19C16 17.3431 17.3431 16 19 16C20.6569 16 22 17.3431 22 19Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}]];var Uf=[["path",{d:"M8.62814 12.6736H8.16918C6.68545 12.6736 5.94358 12.6736 5.62736 12.1844C5.31114 11.6953 5.61244 11.0138 6.21504 9.65083L8.02668 5.55323C8.57457 4.314 8.84852 3.69438 9.37997 3.34719C9.91142 3 10.5859 3 11.935 3H14.0244C15.6632 3 16.4826 3 16.7916 3.53535C17.1007 4.0707 16.6942 4.78588 15.8811 6.21623L14.8092 8.10188C14.405 8.81295 14.2029 9.16849 14.2057 9.45952C14.2094 9.83775 14.4105 10.1862 14.7354 10.377C14.9854 10.5239 15.3927 10.5239 16.2074 10.5239C17.2373 10.5239 17.7523 10.5239 18.0205 10.7022C18.3689 10.9338 18.5513 11.3482 18.4874 11.7632C18.4382 12.0826 18.0918 12.4656 17.399 13.2317L11.8639 19.3523C10.7767 20.5545 10.2331 21.1556 9.86807 20.9654C9.50303 20.7751 9.67833 19.9822 10.0289 18.3962L10.7157 15.2896C10.9826 14.082 11.1161 13.4782 10.7951 13.0759C10.4741 12.6736 9.85877 12.6736 8.62814 12.6736Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]];Vl();var q6=[["path",{d:"M2 3.4C2 2.24173 2.24173 2 3.4 2H20.6C21.7583 2 22 2.24173 22 3.4V4.6C22 5.75827 21.7583 6 20.6 6H3.4C2.24173 6 2 5.75827 2 4.6V3.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 11.4C2 10.2417 2.24173 10 3.4 10H10.6C11.7583 10 12 10.2417 12 11.4V12.6C12 13.7583 11.7583 14 10.6 14H3.4C2.24173 14 2 13.7583 2 12.6V11.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2 19.4C2 18.2417 2.24173 18 3.4 18H10.6C11.7583 18 12 18.2417 12 19.4V20.6C12 21.7583 11.7583 22 10.6 22H3.4C2.24173 22 2 21.7583 2 20.6V19.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18 13V21M22 17H14",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}]],v9={AlertCircle:cf,AlertTriangle:uf,Archive:lf,Bot:mf,Bug:kf,Check:Wf,ChevronDown:df,ChevronLeft:pf,ChevronRight:ff,Circle:bf,CircleCheck:yf,CircleQuestion:Mf,CircleX:gf,ClosePluginPane:Ji,CloseThreadPane:Ji,Code:Df,ComputerTerminal01:Dl,Copy:xf,Download:_f,Edit:Lf,Folder:zf,FolderExport:If,FolderGit:Sf,FolderPlus:$f,Info:Nf,ListTodo:Cf,Loading:Pf,MessageQuestion:Af,MessageCirclePlus:Zl,MessageSquarePlus:Zl,MessageSquare:hf,MoreHorizontal:Tf,PanelLeft:Rf,Search:Ef,SectionAdd:q6,Settings:Of,SlidersHorizontal:Zf,Spinner:vf,Target:jf,Terminal:Dl,Toolbox:Vf,ToolCase:Ff,Trash2:wf,UserRoundPlus:Bf,Workflow:Hf,X:Ji,Zap:Uf},G6=Object.keys(v9),eL=[...G6,...Kf],J6=v9,Hl=null;function Y6(){return Yi()!==null?Promise.resolve():(Hl??=Promise.resolve().then(()=>(x9(),b9)).then(()=>{},e=>{throw Hl=null,e}),Hl)}var X6=[];function q({name:e,className:t,style:r,"aria-hidden":n,"aria-label":o}){let i=J6[e];return i!==void 0?p(Ln,{icon:i,className:z(t),style:r,"aria-hidden":n,"aria-label":o,"data-icon":e}):p(Q6,{name:e,className:t,style:r,"aria-hidden":n,"aria-label":o})}function Q6({name:e,className:t,style:r,"aria-hidden":n,"aria-label":o}){let s=Lr(Gf,Yi,Yi)?.[e];return s===void 0&&Y6().catch(()=>{}),p(Ln,{icon:s??X6,className:z(t),style:r,"aria-hidden":n,"aria-label":o,"data-icon":e,"data-icon-pending":s===void 0?"":void 0})}var e7={queued:"bg-muted text-muted-foreground border-border",starting:"bg-muted text-muted-foreground border-border",running:"bg-primary/10 text-primary border-primary/30",waiting:"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/30",completed:"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border-emerald-500/30",failed:"bg-destructive/10 text-destructive border-destructive/30",interrupted:"bg-orange-500/10 text-orange-600 dark:text-orange-400 border-orange-500/30",skipped:"bg-muted text-muted-foreground border-border"},t7={queued:"Queued",starting:"Starting",running:"Running",waiting:"Waiting",completed:"Done",failed:"Failed",interrupted:"Interrupted",skipped:"Skipped"};function rt({status:e,className:t}){return p("span",{className:z("inline-flex shrink-0 items-center rounded-full border px-2 py-0.5 text-2xs font-medium uppercase tracking-wide",e7[e],t),children:t7[e]})}function Qi({reducedMotion:e}){return b("span",{"data-testid":"kanban-live-indicator",className:"inline-flex items-center gap-1 text-2xs font-semibold uppercase tracking-wider text-primary","aria-label":"Live execution",children:[p("span",{className:z("size-1.5 shrink-0 rounded-full bg-primary",!e&&"ab-live-dot"),"aria-hidden":"true"}),"Live"]})}function es({identity:e,reducedMotion:t}){let r=[...e].reduce((n,o)=>n+o.charCodeAt(0),0)%4;return p("div",{"data-testid":"kanban-live-strip","data-motion-variant":r,className:z("ab-strip",t&&"ab-strip-static"),role:"presentation"})}function w9(e,t){let r=Nt(),[n,o]=V(null),[i,s]=V(!1),[a,c]=V(!1),[u,l]=V(null),d=Z(t),f=Z(null),m=Z(!1),g=Z(!1),C=Z(0),y=Z(()=>{}),x=e.source==="bb"?`bb:${e.executionKey}:${e.threadId}`:e.source==="ollama-fleet"?`ollama-fleet:${e.executionKey}:${e.jobId}`:`redteam:${e.executionKey}:${e.scanId}`;d.current=t,f.current=n;let w=G(()=>{if(!d.current)return;if(m.current){g.current=!0;return}m.current=!0;let L=++C.current;f.current===null?s(!0):c(!0);let R=e.source==="bb"?{source:"bb",executionKey:e.executionKey,threadId:e.threadId}:e.source==="ollama-fleet"?{source:"ollama-fleet",executionKey:e.executionKey,jobId:e.jobId}:{source:"redteam",executionKey:e.executionKey,scanId:e.scanId};r.call("execution_timeline",R).then(W=>{L===C.current&&(f.current=W,o(W),l(null))},W=>{L===C.current&&l(W instanceof Error?W.message:String(W))}).finally(()=>{if(L!==C.current)return;m.current=!1,s(!1),c(!1);let W=g.current&&(f.current?.active??!0);g.current=!1,W&&d.current&&queueMicrotask(()=>y.current())})},[e,r]);y.current=w,Y(()=>{C.current+=1,m.current=!1,g.current=!1,f.current=null,o(null),l(null),s(!1),c(!1),t&&queueMicrotask(()=>y.current())},[t,x]),Mt(Cr,()=>{d.current&&(f.current?.active??!0)&&y.current()});let $=Ve(),P=Z(!1),T=Z($);return Y(()=>{let L=T.current;T.current=$,$==="connected"&&L!=="connected"&&P.current&&d.current&&(f.current?.active??!0)&&y.current(),$==="connected"&&(P.current=!0)},[$]),{timeline:n,loading:i,refreshing:a,error:u,refetch:w}}var r7="(prefers-reduced-motion: reduce)",ts=new Map;function n7(e){if(typeof window>"u"||!window.matchMedia)return null;let t=ts.get(e);if(t)return t;let r=window.matchMedia(e),n=new Set,o=()=>{for(let i of n)i()};return t={mql:r,subscribe(i){let s=n.size===0;return n.add(i),s&&r.addEventListener("change",o),()=>{n.delete(i),n.size===0&&(r.removeEventListener("change",o),ts.delete(e))}}},ts.set(e,t),t}function o7(e,t){return n7(e)?.subscribe(t)??(()=>{})}function i7(e){return typeof window>"u"||!window.matchMedia?!1:ts.get(e)?.mql.matches??window.matchMedia(e).matches}function Ul(e){return Lr(t=>o7(e,t),()=>i7(e),()=>!1)}function nt(){return Ul(r7)}var Kl=globalThis.__bbPluginRuntime;if(Kl==null||Kl.radixDialog==null)throw new Error('Cannot load "@radix-ui/react-dialog": this bundle must be loaded by the Moonlet app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var rs=Kl.radixDialog,hL="default"in rs?rs.default:rs,{Close:ql,Content:_9,Description:Gl,Dialog:kL,DialogClose:gL,DialogContent:CL,DialogDescription:yL,DialogOverlay:bL,DialogPortal:xL,DialogTitle:vL,DialogTrigger:wL,Overlay:Jl,Portal:L9,Root:$9,Title:I9,Trigger:S9,WarningProvider:_L,createDialogScope:LL}=rs;function $n(){let e="agent-board";return{"data-bb-portaled-overlay":"","data-bb-plugin-root":"",...e!==void 0?{"data-bb-plugin":e}:{}}}var Yl=globalThis.__bbPluginRuntime;if(Yl==null||Yl.reactDom==null)throw new Error('Cannot load "react-dom": this bundle must be loaded by the Moonlet app, which provides the shared plugin runtime (globalThis.__bbPluginRuntime).');var ns=Yl.reactDom,SL="default"in ns?ns.default:ns,{createPortal:z9,flushSync:zL,preconnect:ML,prefetchDNS:NL,preinit:PL,preinitModule:AL,preload:TL,preloadModule:EL,requestFormReset:OL,unstable_batchedUpdates:RL,useFormState:ZL,useFormStatus:DL,version:jL}=ns;var a7="select-none",u7=new Set(["button","checkbox","file","hidden","image","radio","range","reset","submit"]),os=e=>z(a7,e);function c7(e){return e instanceof HTMLTextAreaElement?!0:e instanceof HTMLInputElement?!e.disabled&&!e.readOnly&&!u7.has(e.type):e instanceof HTMLElement?e.isContentEditable||e.closest("[contenteditable='true']")!==null:!1}function In(e){if(typeof document>"u")return;let t=document.activeElement;!t||!c7(t)||e!==null&&!e.contains(t)||t.blur()}function is(){In(null)}function N9(){In(null)}function Sn(e){e.preventDefault()}var M9="pointer";typeof document<"u"&&(document.addEventListener("keydown",()=>{M9="keyboard"},{capture:!0}),document.addEventListener("pointerdown",()=>{M9="pointer"},{capture:!0}));var l7="(max-width: 767px)",d7=vr(null);function P9(){let e=_r(d7),t=Ul(l7);return e!==null?e:t}var p7=120;function A9(e){e!==null&&(e.style.height="",e.style.bottom="")}function E9(e,t,r=!1){let n=P9(),[o,i]=V(r),s=e!==void 0,a=s?e:o,c=G(u=>{a&&!u&&n&&N9(),s||i(u),t?.(u)},[n,s,t,a]);return he(()=>({isCompactViewport:n,open:a,onOpenChange:c}),[n,a,c])}var Xl=ue(({asChild:e,open:t,onOpenChange:r,haspopup:n,onClick:o,children:i,className:s,...a},c)=>{let u=os(s),l=f=>{o?.(f),f.defaultPrevented||(t||is(),r(!t))},d={"aria-expanded":t,"aria-haspopup":n,"data-state":t?"open":"closed"};return e?p(tt,{ref:c,onClick:l,onMouseDown:Sn,className:u,...d,...a,children:i}):p("button",{ref:c,type:"button",onClick:l,onMouseDown:Sn,className:u,...d,...a,children:i})});Xl.displayName="MobileTrigger";var f7=["side","sideOffset","align","alignOffset","collisionPadding","collisionBoundary","arrowPadding","sticky","hideWhenDetached","avoidCollisions","onOpenAutoFocus","onCloseAutoFocus","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],m7=new Set(f7);function O9(e){let t={};for(let r of Object.keys(e))m7.has(r)||(t[r]=e[r]);return t}function h7({open:e,enabled:t=!0}){let[r,n]=V(!1),o=G(()=>n(!0),[]);return Y(()=>{if(!t||!e||r)return;let i=null,s=null;i=window.requestAnimationFrame(()=>{i=null,s=window.requestAnimationFrame(()=>{s=null,o()})});let a=window.setTimeout(o,p7);return()=>{i!==null&&window.cancelAnimationFrame(i),s!==null&&window.cancelAnimationFrame(s),window.clearTimeout(a)}},[t,r,e,o]),{isContentRealized:t&&r,realizeContent:o}}function R9({open:e,onOpenChange:t,onAfterCloseAutoFocus:r,srLabel:n,labelledBy:o,describedBy:i,contentClassName:s,onContentAnimationEnd:a,children:c}){let{isContentRealized:u}=h7({open:e});return!e&&!u?null:p(_7,{open:e,onOpenChange:t,onAfterCloseAutoFocus:r,srLabel:n,labelledBy:o,describedBy:i,contentClassName:s,onContentAnimationEnd:a,children:u?c:p("div",{"aria-hidden":"true",className:"min-h-32","data-responsive-drawer-placeholder":""})})}var T9="cubic-bezier(0.32, 0.72, 0, 1)",k7=.25,g7=450,C7=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),ss=new WeakMap;function y7(e){return Array.from(e.querySelectorAll(C7)).filter(t=>t.closest('[aria-hidden="true"], [inert]')===null)}function b7(e,t){let r=e?.closest("[data-bb-portaled-overlay]");return r!=null&&r!==t}function x7(e,t){let r=t.ownerDocument.activeElement;if(!t.contains(r)&&b7(r,t))return;let n=y7(t);if(e.preventDefault(),n.length===0){t.focus({preventScroll:!0});return}let o=n[0],i=n[n.length-1];if(e.shiftKey){if(!t.contains(r)||r===t||r===o){i?.focus({preventScroll:!0});return}let a=n.indexOf(r);n[Math.max(0,a-1)]?.focus({preventScroll:!0});return}if(!t.contains(r)||r===t||r===i){o?.focus({preventScroll:!0});return}let s=n.indexOf(r);n[Math.min(n.length-1,s+1)]?.focus({preventScroll:!0})}function v7(e,t){let r=ss.get(e);if(r===void 0){let n=[],o=i=>{if(i.defaultPrevented)return;let s=n[n.length-1],a=s?.panel()??null;s===void 0||a===null||(i.key==="Escape"?(i.preventDefault(),s.requestClose()):i.key==="Tab"&&x7(i,a))};r={entries:n,handleKeyDown:o},ss.set(e,r),e.addEventListener("keydown",o)}return r.entries.push(t),()=>{let n=ss.get(e);if(n===void 0)return;let o=n.entries.indexOf(t);o>=0&&n.entries.splice(o,1),n.entries.length===0&&(e.removeEventListener("keydown",n.handleKeyDown),ss.delete(e))}}function w7({onAfterCloseAutoFocus:e,onBeforeCloseAutoFocus:t,open:r,panelRef:n,requestClose:o}){let i=Z(null);Me(()=>{if(!r)return;let a=n.current;if(a===null)return;let c=a.ownerDocument,u=c.activeElement;i.current=u instanceof HTMLElement&&u!==c.body?u:null;let l=v7(c,{panel:()=>n.current,requestClose:o});return a.focus({preventScroll:!0}),l},[r,n,o]);let s=Z(r);Me(()=>{let a;if(s.current&&!r){t?.();let c=i.current;if(c?.isConnected&&c.closest('[aria-hidden="true"], [inert]')===null&&(c.focus({preventScroll:!0}),c.ownerDocument.activeElement!==c)){let u=c.ownerDocument.defaultView;if(u!==null){let l=u.requestAnimationFrame(()=>{c.isConnected&&c.closest('[aria-hidden="true"], [inert]')===null&&c.focus({preventScroll:!0}),e?.()});a=()=>u.cancelAnimationFrame(l)}}i.current=null,a===void 0&&e?.()}return s.current=r,a},[e,t,r])}function _7({open:e,onOpenChange:t,onAfterCloseAutoFocus:r,srLabel:n,labelledBy:o,describedBy:i,contentClassName:s,motionDurationMs:a=220,onContentAnimationEnd:c,children:u}){let l=Z(null),d=Z(null),f=Z(null),m=Z(null),g=At(),C=$n(),y=`transform ${a}ms ${T9}`,x=`opacity ${a}ms ${T9}`,w=Z(t);Me(()=>{w.current=t},[t]);let $=G(()=>{In(l.current),A9(l.current),w.current(!1)},[]),P=G(()=>{In(l.current),A9(l.current)},[]);w7({onAfterCloseAutoFocus:r,onBeforeCloseAutoFocus:P,open:e,panelRef:l,requestClose:$});let T=G(D=>{m.current!==D&&(m.current=D,c?.(D))},[c]);Y(()=>{m.current=null;let D=window.setTimeout(()=>T(e),a+50);return()=>window.clearTimeout(D)},[a,e,T]);let L=G((D,oe,ee)=>{let je=l.current,Mn=d.current;je===null||Mn===null||(je.style.transition=ee?y:"none",je.style.transform=`translate3d(0, ${D}px, 0)`,Mn.style.transition=ee?x:"none",Mn.style.opacity=String(Math.max(0,Math.min(1,1-D/oe))))},[x,y]),R=G(D=>{if(!e||D.button!==0)return;D.currentTarget.setPointerCapture(D.pointerId);let oe=Date.now(),ee=Math.max(l.current?.clientHeight??0,1);f.current={pointerId:D.pointerId,startY:D.clientY,lastY:D.clientY,lastTimeMs:oe,velocityY:0,height:ee},L(0,ee,!1),D.preventDefault()},[e,L]),W=G(D=>{let oe=f.current;if(oe===null||oe.pointerId!==D.pointerId)return;let ee=Date.now(),je=ee-oe.lastTimeMs;je>0&&(oe.velocityY=(D.clientY-oe.lastY)/je*1e3,oe.lastY=D.clientY,oe.lastTimeMs=ee),L(Math.max(0,D.clientY-oe.startY),oe.height,!1),D.preventDefault()},[L]),yr=G((D,oe)=>{let ee=f.current;if(ee===null||ee.pointerId!==D.pointerId)return;f.current=null;let je=Math.max(0,D.clientY-ee.startY);!oe&&(je>=ee.height*k7||ee.velocityY>=g7)?(L(ee.height,ee.height,!0),$()):L(0,ee.height,!0),D.preventDefault()},[$,L]),zt=typeof document>"u"?null:document.body;return zt===null?null:z9(b(Lt,{children:[p("div",{ref:d,...C,"aria-hidden":"true","data-persistent-drawer-backdrop":"","data-state":e?"open":"closed",className:"fixed inset-0 z-50 bg-black/40",style:{opacity:e?1:0,pointerEvents:e?"auto":"none",transition:x},onClick:$,onTouchMove:D=>D.preventDefault()}),b("div",{ref:l,...C,"aria-hidden":!e,"aria-labelledby":o??(n===void 0?void 0:g),"aria-describedby":i,"aria-modal":e||void 0,"data-bb-portaled-overlay":"","data-persistent-drawer-content":"","data-state":e?"open":"closed",inert:!e,role:"dialog",tabIndex:-1,className:z("fixed inset-x-0 bottom-0 z-50 mt-24 flex max-h-[92dvh] flex-col rounded-t-xl border bg-background outline-none",s),style:{transform:e?"translate3d(0, 0, 0)":"translate3d(0, 100%, 0)",transition:y,willChange:e?"transform":void 0},onTransitionEnd:D=>{D.currentTarget===D.target&&D.propertyName==="transform"&&T(e)},children:[p("div",{"data-persistent-drawer-handle":"",className:"mx-auto flex h-8 w-16 shrink-0 touch-none cursor-grab items-center justify-center active:cursor-grabbing",onPointerDown:R,onPointerMove:W,onPointerUp:D=>yr(D,!1),onPointerCancel:D=>yr(D,!0),children:p("div",{className:"h-1 w-10 rounded-full bg-muted-foreground/20"})}),n===void 0?null:p("h2",{id:g,className:"sr-only",children:n}),u]})]}),zt)}var Z9=vr({isCompactViewport:!1,open:!1,onOpenChange:()=>{},titleId:"",descriptionId:"",registerTitleId:()=>()=>{},registerDescriptionId:()=>()=>{}});function zn(){return _r(Z9)}function D9({children:e,open:t,onOpenChange:r,...n}){let o=E9(t,r),i=At(),s=At(),[a,c]=V(i),[u,l]=V(s),d=G(C=>(c(C),()=>c(i)),[i]),f=G(C=>(l(C),()=>l(s)),[s]),m=he(()=>({...o,titleId:a,descriptionId:u,registerTitleId:d,registerDescriptionId:f}),[u,f,d,o,a]),g=m.isCompactViewport?e:p($9,{open:m.open,onOpenChange:m.onOpenChange,...n,children:e});return p(Z9.Provider,{value:m,children:g})}var Ql=ue(({asChild:e,children:t,className:r,...n},o)=>{let{isCompactViewport:i,open:s,onOpenChange:a}=zn();return i?p(Xl,{ref:o,asChild:e,open:s,onOpenChange:a,haspopup:"dialog",className:r,...n,children:t}):p(S9,{ref:o,asChild:e,className:os(r),onMouseDown:c=>{s||is(),Sn(c)},...n,children:t})});Ql.displayName="DialogTrigger";var L7=ue(({asChild:e,onClick:t,children:r,...n},o)=>{let{isCompactViewport:i,onOpenChange:s}=zn();return i?p(e?tt:"button",{ref:o,onClick:u=>{t?.(u),u.defaultPrevented||s(!1)},...n,children:r}):p(ql,{ref:o,asChild:e,onClick:t,...n,children:r})});L7.displayName="DialogClose";var j9=ue(({className:e,...t},r)=>p(Jl,{ref:r,...$n(),className:z("fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));j9.displayName=Jl.displayName;var ed=ue(({className:e,children:t,hideCloseButton:r=!1,onAfterCloseAutoFocus:n,onCloseAutoFocus:o,...i},s)=>{let{isCompactViewport:a,open:c,onOpenChange:u,titleId:l,descriptionId:d}=zn();let f=$n();if(a){let m=O9(i);return p(R9,{open:c,onOpenChange:u,onAfterCloseAutoFocus:n,labelledBy:l,describedBy:d,children:p("div",{ref:s,className:z("grid grid-cols-[minmax(0,1fr)] gap-4 overflow-y-auto px-4 pt-2 pb-[max(1rem,env(safe-area-inset-bottom))]",e,"max-w-none"),...m,children:t})})}return b(L9,{children:[p(j9,{}),b(_9,{ref:s,...f,onCloseAutoFocus:m=>{o?.(m),queueMicrotask(()=>n?.())},className:z("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg grid-cols-[minmax(0,1fr)] translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-sm 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",e),...i,children:[t,r?null:b(ql,{className:"absolute right-4 top-4 cursor-pointer rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-state-active data-[state=open]:text-foreground",children:[p(q,{name:"X",className:"h-4 w-4"}),p("span",{className:"sr-only",children:"Close"})]})]})]})});ed.displayName="DialogContent";var td=({className:e,...t})=>p("div",{className:z("flex flex-col space-y-1.5 text-left",e),...t});td.displayName="DialogHeader";var $7=({className:e,...t})=>p("div",{className:z("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});$7.displayName="DialogFooter";var rd=ue(({asChild:e,className:t,id:r,children:n,...o},i)=>{let{isCompactViewport:s,titleId:a,registerTitleId:c}=zn(),u=r??a;if(Me(()=>{if(s)return c(u)},[s,c,u]),s){let l={id:u,className:z("text-base font-semibold leading-none tracking-tight",t),...o};return e?p(tt,{ref:i,...l,children:n}):p("h2",{ref:i,...l,children:n})}return p(I9,{ref:i,asChild:e,...r===void 0?{}:{id:r},className:z("text-base font-semibold leading-none tracking-tight",t),...o,children:n})});rd.displayName="DialogTitle";var nd=ue(({asChild:e,className:t,id:r,children:n,...o},i)=>{let{isCompactViewport:s,descriptionId:a,registerDescriptionId:c}=zn(),u=r??a;if(Me(()=>{if(s)return c(u)},[s,c,u]),s){let l={id:u,className:z("text-sm text-muted-foreground",t),...o};return e?p(tt,{ref:i,...l,children:n}):p("p",{ref:i,...l,children:n})}return p(Gl,{ref:i,asChild:e,...r===void 0?{}:{id:r},className:z("text-sm text-muted-foreground",t),...o,children:n})});nd.displayName=Gl.displayName;var I7={"execution-start":{label:"Started",icon:"Circle"},"execution-complete":{label:"Completed",icon:"CircleCheck"},"execution-failed":{label:"Failed",icon:"AlertCircle"},"execution-interrupted":{label:"Interrupted",icon:"AlertTriangle"},"phase-start":{label:"Phase",icon:"Workflow"},"phase-complete":{label:"Phase complete",icon:"Check"},"phase-failed":{label:"Phase failed",icon:"AlertCircle"},"model-selected":{label:"Model",icon:"Bot"},"tool-start":{label:"Tool",icon:"ToolCase"},"tool-complete":{label:"Tool complete",icon:"ToolCase"},"tool-failed":{label:"Tool failed",icon:"AlertCircle"},"public-update":{label:"Update",icon:"MessageSquare"},waiting:{label:"Waiting",icon:"Info"},resumed:{label:"Resumed",icon:"ArrowRight"},"approval-requested":{label:"Action required",icon:"AlertTriangle"},"question-requested":{label:"Question",icon:"MessageQuestion"},"child-start":{label:"Child started",icon:"UserRoundPlus"},"child-complete":{label:"Child completed",icon:"CircleCheck"},"child-failed":{label:"Child failed",icon:"AlertCircle"},delegation:{label:"Delegation",icon:"UserRoundPlus"}};function S7(e){return new Date(e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})}function z7(e){let t=[];return e.toolName!==null&&t.push(e.toolName),e.target!==null&&t.push(e.target),e.model!==null&&t.push(e.model),e.durationMs!==null&&t.push(ie(e.durationMs)),t.length>0?t.join(" \xB7 "):null}function M7({event:e,reducedMotion:t}){let r=I7[e.kind],n=z7(e),o=e.status==="failed"||e.kind.endsWith("-failed");return b("li",{"data-event-kind":e.kind,className:z("grid min-w-0 grid-cols-[4.75rem_minmax(0,1fr)] gap-2 py-2.5 sm:grid-cols-[5.5rem_1.25rem_minmax(0,1fr)] sm:gap-3",!t&&"ab-row-in"),children:[p("time",{dateTime:new Date(e.timestamp).toISOString(),className:"pt-0.5 font-mono text-2xs tabular-nums text-muted-foreground max-md:text-xs",children:S7(e.timestamp)}),p(q,{name:r.icon,className:z("mt-0.5 hidden size-4 sm:block",o?"text-destructive":"text-muted-foreground"),"aria-hidden":"true"}),b("div",{className:"min-w-0",children:[b("div",{className:"flex min-w-0 items-start gap-1.5",children:[p(q,{name:r.icon,className:z("mt-0.5 size-3.5 shrink-0 sm:hidden",o?"text-destructive":"text-muted-foreground"),"aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[p("p",{className:z("text-2xs font-semibold uppercase tracking-wider",o?"text-destructive":"text-muted-foreground"),children:r.label}),p("p",{className:"min-w-0 max-w-full text-sm font-medium leading-5 [overflow-wrap:anywhere]",children:e.title})]})]}),n!==null?p("p",{"data-part":"timeline-detail",className:"mt-0.5 min-w-0 max-w-full font-mono text-2xs text-muted-foreground line-clamp-2 [overflow-wrap:anywhere]",children:n}):null,e.summary!==null?p("p",{"data-part":"timeline-summary",className:z("mt-1 min-w-0 max-w-full text-xs leading-5 line-clamp-3 [overflow-wrap:anywhere]",o?"text-destructive":"text-foreground/80"),children:e.summary}):null]})]})}function $t(e,t=e.groupKey??e.key){return e.source==="ollama-fleet"&&e.jobId?{source:"ollama-fleet",executionKey:t,jobId:e.jobId,title:e.title}:e.source==="bb"&&e.threadId!==null?{source:"bb",executionKey:t,threadId:e.threadId,title:e.title}:e.source==="redteam"&&e.scanId?{source:"redteam",executionKey:t,scanId:e.scanId,title:e.title}:null}function It({target:e,buttonClassName:t,buttonVariant:r="ghost"}){let[n,o]=V(!1),i=nt(),{timeline:s,loading:a,refreshing:c,error:u,refetch:l}=w9(e,n),d=Z(null),f=Z(!0),[m,g]=V(!1),C=s?.events.at(-1)?.id??null,y=()=>{let x=d.current;x!==null&&(x.scrollTop=x.scrollHeight),f.current=!0,g(!1)};return Me(()=>{C!==null&&f.current&&y()},[C]),b(D9,{open:n,onOpenChange:x=>{o(x),x&&(f.current=!0,g(!1))},children:[p(Ql,{asChild:!0,children:p(Q,{variant:r,size:"sm",className:z("max-md:pointer-coarse:h-9",t??"h-7 px-2 text-2xs"),"aria-label":`Open timeline for ${e.title}`,children:"Timeline"})}),b(ed,{className:"min-w-0 max-w-full max-h-[88dvh] gap-3 overflow-hidden p-4 sm:max-w-2xl sm:p-5","data-testid":"execution-timeline-dialog","data-motion":i?"reduced":"full",children:[b(td,{className:"min-w-0 max-w-full pr-8",children:[b("div",{className:"flex flex-wrap items-center gap-2",children:[p(rd,{children:"Execution timeline"}),s?.active?b("span",{role:"status","aria-label":"Live timeline",className:"inline-flex items-center gap-1 text-2xs font-semibold uppercase tracking-wider text-primary",children:[p("span",{className:z("size-1.5 rounded-full bg-primary",!i&&"ab-live-dot"),"aria-hidden":"true"}),"Live"]}):null,c?p("span",{className:"text-2xs text-muted-foreground",children:"Updating\u2026"}):null]}),b(nd,{className:"min-w-0 max-w-full truncate",children:[e.title," \xB7 bounded operational events"]})]}),u!==null?b("div",{role:"alert",className:"rounded-lg border border-destructive/40 bg-destructive/10 p-3 text-sm text-destructive",children:["Timeline unavailable: ",u,p(Q,{variant:"ghost",size:"sm",className:"ml-2 h-7 max-md:pointer-coarse:h-9",onClick:l,children:"Try again"})]}):null,a&&s===null?p("div",{className:"grid min-h-48 place-items-center text-sm text-muted-foreground",children:b("span",{className:"flex items-center gap-2",children:[p(q,{name:"Loading",className:"size-4 animate-spin","aria-hidden":"true"}),"Loading timeline\u2026"]})}):null,s!==null?b(Lt,{children:[s.truncated?p("p",{className:"rounded-md border border-dashed border-border px-2.5 py-1.5 text-2xs text-muted-foreground",children:"Earlier activity omitted \u2014 showing the latest bounded events."}):null,s.sourceWarning!==null?p("p",{className:"text-2xs text-muted-foreground",children:s.sourceWarning}):null,s.events.length===0?p("p",{className:"grid min-h-40 place-items-center text-sm text-muted-foreground",children:"No public operational events are available."}):p("div",{ref:d,role:"region","aria-label":"Chronological execution events",tabIndex:0,className:"min-h-0 min-w-0 max-w-full flex-1 overflow-y-auto overscroll-contain",onScroll:x=>{let w=x.currentTarget,$=w.scrollHeight-w.scrollTop-w.clientHeight<56;f.current=$,g(!$&&s.active)},children:p("ol",{className:"min-w-0 max-w-full divide-y divide-border/70",children:s.events.map(x=>p(M7,{event:x,reducedMotion:i},x.id))})}),m?p("div",{className:"flex justify-end",children:b(Q,{variant:"outline",size:"sm",className:"h-7 max-md:pointer-coarse:h-9",onClick:y,children:[p(q,{name:"ArrowDown",className:"mr-1 size-3.5","aria-hidden":"true"}),"Jump to latest"]})}):null]}):null]})]})}var N7={thread:"Terminal","workflow-agent":"Bot",delegation:"UserRoundPlus","plan-step":"Check","queued-message":"MessageSquare",phase:"Workflow",operation:"Zap"};function P7(e){switch(e){case"running":return"Zap";case"waiting":return"Info";case"failed":return"AlertCircle";case"interrupted":return"AlertTriangle";case"completed":return"CircleCheck";default:return null}}function St({card:e,now:t,liveTreatment:r=!1,reducedMotion:n=!1}){let o=We(),i=$t(e),s=it(e,t),a=P7(e.status),c=[e.providerLabel??e.providerId,e.model].filter(Boolean).join(" \xB7 "),u=r&&(e.status==="running"||e.status==="starting");return b("div",{className:z("min-w-0 max-w-full rounded-lg border border-border bg-card p-3 text-sm shadow-sm transition-shadow hover:shadow",e.status==="failed"&&"border-destructive/40",e.isRoot&&"ring-1 ring-primary/30"),"data-card-kind":e.kind,"data-card-status":e.status,"data-card-source":e.source,"data-live-state":u?"executing":"static",children:[b("div",{className:"flex items-start gap-2",children:[p(q,{name:N7[e.kind],className:"mt-0.5 size-4 shrink-0 text-muted-foreground","aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex items-center gap-2",children:[p("span",{className:z("min-w-0 flex-1 truncate font-medium",e.status==="completed"&&"text-muted-foreground"),title:e.title,children:e.title}),b("span",{className:"flex shrink-0 items-center gap-1.5",children:[u?p(Qi,{reducedMotion:n}):null,p(rt,{status:e.status})]})]}),e.subtitle!==null?p("p",{className:"truncate text-xs text-muted-foreground",title:e.subtitle,children:e.subtitle}):null]})]}),(e.queuedMessageCount??0)>0?b("span",{"data-part":"queued-count",className:"mt-1 inline-flex rounded-full bg-muted px-2 text-xs",children:[e.queuedMessageCount," queued"]}):null,c!==""||e.phaseTitle!==null?b("p",{className:"mt-1.5 truncate text-xs text-muted-foreground",children:[c!==""?p("span",{className:"font-mono",children:c}):null,e.phaseTitle!==null?p("span",{className:c!==""?"ml-2":"",children:e.phaseTitle}):null]}):null,e.serverName?p("p",{className:"mt-1 min-w-0 truncate text-xs text-muted-foreground",title:e.serverName,children:e.serverName}):null,e.activity!==null?b("p",{className:"mt-1.5 flex items-center gap-1.5 text-xs",children:[a!==null?p(q,{name:a,className:z("size-3.5 shrink-0",e.status==="running"?"text-primary":"text-muted-foreground"),"aria-hidden":"true"}):null,p("span",{className:z("min-w-0 truncate",u&&!n&&"ab-activity-in"),title:e.activity.text,children:e.activity.text},e.activity.text)]}):null,e.waitingOn!==null?p("p",{className:"mt-1.5 text-xs text-muted-foreground italic",children:e.waitingOn}):null,e.errorPreview!==null?p("p",{className:"mt-1.5 rounded bg-destructive/10 px-2 py-1 text-xs text-destructive line-clamp-3",children:e.errorPreview}):null,e.outputPreview!==null?p("p",{className:"mt-1.5 text-xs text-muted-foreground line-clamp-2",children:e.outputPreview}):null,e.promptPreview!==null?p("p",{className:"mt-1.5 text-xs text-muted-foreground/80 line-clamp-2",children:e.promptPreview}):null,u?p("div",{className:"mt-2",children:p(es,{identity:e.key,reducedMotion:n})}):null,b("div",{className:"mt-2 flex items-center gap-2 text-2xs text-muted-foreground",children:[s!==null?p("span",{className:"font-mono",children:ie(s)}):null,e.tokens!==null?b("span",{children:[e.tokens.toLocaleString()," tok"]}):null,e.toolCalls!==null?b("span",{children:[e.toolCalls," tools"]}):null,p("span",{className:"flex-1"}),e.threadId!==null?p(Q,{variant:"ghost",size:"sm",className:"h-6 px-2 text-2xs",onClick:()=>o.toThread(e.threadId),"aria-label":"Open this thread in the main panel",children:"Open"}):null,i!==null?p(It,{target:i,buttonClassName:"h-6 px-2 text-2xs"}):null]})]})}var A7=[{id:"plan",title:"PLAN / QUEUED",hint:"Not started, queued, or waiting"},{id:"active",title:"ACTIVE AGENTS",hint:"Running right now"},{id:"output",title:"OUTPUTS / DONE",hint:"Finished, failed, interrupted"}];function W9({snapshot:e,now:t}){let r=nt(),n=he(()=>{let o=new Map([["plan",[]],["active",[]],["output",[]]]);for(let i of e.cards)o.get(i.column)?.push(i);return o},[e]);return p("div",{"data-testid":"kanban-board","data-motion":r?"reduced":"full",className:"grid gap-3 md:grid-cols-3",children:A7.map(o=>{let i=n.get(o.id)??[];return b("section",{"aria-label":o.title,className:"min-w-0",children:[b("div",{className:"mb-2 flex items-baseline justify-between px-0.5",children:[p("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:o.title}),p("span",{className:"text-2xs tabular-nums text-muted-foreground/70",title:o.hint,children:i.length})]}),i.length===0?p("div",{className:"rounded-lg border border-dashed border-border px-3 py-6 text-center text-xs text-muted-foreground/60",children:o.id==="active"?"Nothing running":"Empty"}):p("div",{className:"space-y-2",children:i.map(s=>p(St,{card:s,now:t,liveTreatment:!0,reducedMotion:r},s.key))})]},o.id)})})}var T7={completed:"completed",active:"in progress",pending:"pending",failed:"failed",interrupted:"interrupted",skipped:"skipped"};function E7(e){switch(e){case"completed":return{name:"Check",className:"text-primary-foreground"};case"active":return{name:"Loading",className:"text-primary-foreground"};case"failed":return{name:"X",className:"text-destructive-foreground"};case"interrupted":return{name:"AlertTriangle",className:"text-warning-foreground"};case"skipped":return{name:"MoreHorizontal",className:"text-muted-foreground"};default:return{name:"Circle",className:"text-muted-foreground/70"}}}function O7(e){switch(e){case"completed":return"bg-emerald-500 border-emerald-500";case"active":return"bg-primary border-primary";case"failed":return"bg-destructive border-destructive";case"interrupted":return"bg-warning border-warning";default:return"bg-transparent border-border"}}function R7(e){switch(e){case"completed":return"text-muted-foreground";case"active":return"text-foreground font-medium";case"failed":return"text-destructive";case"interrupted":return"text-foreground";default:return"text-muted-foreground/70"}}var Z7=550;function V9({nodes:e,reducedMotion:t}){let r=Z(null),[n,o]=V(null);return Y(()=>{let i=e.findIndex(a=>a.state==="active"),s=r.current;if(s!==null&&i>=0){let a=e.findIndex(c=>c.key===s);a>=0&&a!==i&&Math.abs(i-a)===1&&o(Math.min(a,i))}r.current=i>=0?e[i].key:null},[e]),Y(()=>{if(n===null||t)return;let i=setTimeout(()=>o(null),Z7);return()=>clearTimeout(i)},[n,t]),p("ol",{className:"flex w-full items-start","aria-label":"Execution steps","data-testid":"pipeline-track",children:e.map((i,s)=>{let a=E7(i.state);return b(br,{children:[s>0?p("span",{"aria-hidden":"true",className:z("ab-connector mx-1 mt-[7px] h-[2px] min-w-3 flex-1 rounded-full",e[s-1].state==="completed"&&i.state==="active"?"bg-primary/60":e[s-1].state==="completed"?"bg-primary/30":"bg-border",!t&&n===s-1&&"ab-connector-signal")}):null,b("li",{className:"flex max-w-24 flex-col items-center gap-1","aria-current":i.state==="active"?"step":void 0,"aria-label":`${i.title}: ${T7[i.state]}`,children:[p("span",{className:z("flex h-4 w-4 shrink-0 items-center justify-center rounded-full border",O7(i.state),i.state==="active"&&!t&&"ab-node-active-glyph ab-settle",i.state==="completed"&&!t&&"ab-pop",(i.state==="failed"||i.state==="interrupted")&&!t&&"ab-fail-in"),children:p(q,{name:a.name,className:z("size-2.5",a.className)})},`${i.key}:${i.state}`),p("span",{className:z("max-w-24 truncate text-center text-2xs leading-tight",R7(i.state)),title:i.error??i.summary??i.title,children:i.title}),i.state==="completed"&&i.durationMs!==null?p("span",{className:"font-mono text-2xs text-muted-foreground/70",children:ie(i.durationMs)}):i.state==="active"?p("span",{className:"font-mono text-2xs text-muted-foreground/70",children:"live"}):null]})]},i.key)})})}var D7={thread:"Terminal","workflow-agent":"Bot",delegation:"UserRoundPlus","plan-step":"ListTodo","queued-message":"MessageSquare",phase:"Workflow",operation:"Zap"},j7=300,od=6;function W7(e,t){let r=[],n=it(e,t);return n!==null&&r.push({label:e.status==="waiting"?"Waiting":"Elapsed",value:ie(n)}),e.model!==null&&e.model!==void 0&&e.model!==""&&r.push({label:"Model",value:e.model}),e.serverName&&r.push({label:"Server",value:e.serverName}),e.tokens!==null&&e.tokens!==void 0&&r.push({label:"Tokens",value:`${e.tokens.toLocaleString()} tok`}),e.toolCalls!==null&&e.toolCalls!==void 0&&r.push({label:"Tool calls",value:e.toolCalls.toLocaleString()}),r}function V7(e){switch(e){case"failed":return"X";case"interrupted":return"AlertTriangle";case"skipped":return"MoreHorizontal";default:return"Check"}}function F7({row:e}){return b("li",{className:"flex items-baseline gap-2 text-xs",children:[p("span",{"aria-hidden":"true",className:"mt-1 size-1.5 shrink-0 rounded-full border border-muted-foreground/50"}),p("span",{className:"min-w-0 flex-1 truncate",children:e.title}),e.waitingOn!==null?p("span",{className:"max-w-40 shrink-0 truncate text-2xs text-muted-foreground/70",title:e.waitingOn,children:e.waitingOn}):null]})}function F9({snapshot:e,model:t,now:r}){let n=nt(),o=We(),[i,s]=V(!1),a=t.hero,c=a.status==="running"||a.status==="starting",u=$t(a,`bb:${e.root.threadId}`),l=a.activity?.text??null,[d,f]=V({current:l,outgoing:null,animate:!1}),m=Z(l);Y(()=>{let y=m.current;if(y===l)return;if(m.current=l,n){f({current:l,outgoing:null,animate:!1});return}f({current:l,outgoing:y,animate:!0});let x=setTimeout(()=>f({current:l,outgoing:null,animate:!1}),j7);return()=>clearTimeout(x)},[l,n]);let g=W7(a,r),C=t.other.filter(y=>!(y.status==="failed"||y.status==="interrupted"));return b("div",{"data-testid":"single-agent-focus","data-motion":n?"reduced":"full",className:"space-y-3",children:[t.pipeline!==null?p("section",{className:"rounded-lg border border-border bg-card px-3 py-2.5","aria-label":"Execution progress",children:p(V9,{nodes:t.pipeline,reducedMotion:n})}):null,b("div",{className:z("grid gap-3",t.recent.length>0?"md:grid-cols-5":"grid-cols-1"),children:[b("section",{"data-testid":"focus-hero","aria-label":"Current execution",className:z("min-w-0 rounded-lg border border-border bg-card p-3.5",t.recent.length>0?"md:col-span-3":"col-span-1"),children:[b("div",{className:"flex items-center justify-between gap-2",children:[b("span",{className:"flex min-w-0 items-center gap-1.5 text-2xs font-semibold uppercase tracking-wider text-primary",children:[c?p("span",{className:z("size-1.5 shrink-0 rounded-full bg-primary",!n&&"ab-live-dot"),"aria-hidden":"true"}):null,p(q,{name:D7[a.kind],className:"size-3 shrink-0","aria-hidden":"true"}),p("span",{className:"truncate",children:t.heroLabel})]}),b("span",{className:"flex items-center gap-2",children:[(a.queuedMessageCount??0)>0?b("span",{"data-part":"queued-count",className:"text-xs",children:[a.queuedMessageCount," queued"]}):null,p(rt,{status:a.status})]})]}),p("h3",{className:"mt-2 min-w-0 truncate text-sm font-semibold",title:a.title,children:a.title}),a.subtitle!==null&&a.subtitle!==void 0&&a.subtitle!==""?p("p",{className:"mt-0.5 min-w-0 truncate text-xs text-muted-foreground",title:a.subtitle,children:a.subtitle}):null,c?p("div",{className:z("ab-strip mt-3",n&&"ab-strip-static"),role:"presentation"}):null,a.status==="waiting"?b("p",{className:"mt-2.5 flex items-center gap-1.5 rounded-md bg-amber-500/10 px-2 py-1.5 text-xs text-amber-600 dark:text-amber-400",children:[p(q,{name:"AlertTriangle",className:"size-3","aria-hidden":"true"}),p("span",{className:"min-w-0 truncate",children:a.waitingOn??"Waiting"})]}):null,d.current!==null||d.outgoing!==null?b("p",{"data-testid":"hero-activity",className:"relative mt-2 min-h-[1.25rem] overflow-hidden text-xs",children:[d.outgoing!==null?p("span",{className:z("absolute inset-0 truncate text-muted-foreground/70",!n&&"ab-activity-out"),"aria-hidden":"true",children:d.outgoing}):null,d.current!==null?p("span",{className:z("block truncate text-foreground/90",d.animate&&!n&&"ab-activity-in"),children:d.current},d.current):null]}):null,t.latestOperation!==null?b("p",{className:"mt-2 truncate text-xs text-muted-foreground","data-testid":"hero-latest-operation",children:[p("span",{className:"font-medium text-foreground/80",children:"Latest operation:"})," ",p("span",{className:"font-mono",children:t.latestOperation.label}),t.latestOperation.detail!==null&&t.latestOperation.detail!==""?b("span",{className:"font-mono",children:[" ","\xB7 ",t.latestOperation.detail]}):null]}):null,g.length>0?p("dl",{className:"mt-2.5 grid grid-cols-2 gap-x-4 gap-y-1.5","data-testid":"hero-stats",children:g.map(y=>b("div",{className:"flex items-baseline justify-between gap-2 min-w-0",children:[p("dt",{className:"text-2xs uppercase tracking-wider text-muted-foreground/70",children:y.label}),p("dd",{className:"min-w-0 truncate font-mono text-2xs",title:y.value,children:y.value})]},y.label))}):null,a.errorPreview!==null&&a.errorPreview!==void 0&&a.errorPreview!==""?p("p",{className:"mt-2 line-clamp-2 break-words text-xs text-destructive","data-testid":"hero-error",children:a.errorPreview}):null,t.peers.length>0?b("div",{className:"mt-2 flex flex-wrap items-center gap-1.5 text-2xs text-muted-foreground",children:[p("span",{className:"font-semibold uppercase tracking-wider",children:"Also active"}),t.peers.map(y=>p("span",{className:"min-w-0 max-w-44 truncate rounded-full border border-border px-1.5 py-0.5",title:y.title,children:y.title},y.key))]}):null,a.threadId!==null||u!==null?b("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:[a.threadId!==null?p(Q,{variant:"outline",size:"sm",className:"h-7",onClick:()=>o.toThread(a.threadId),"aria-label":"Open this thread in the main panel",children:"Open"}):null,u!==null?p(It,{target:u,buttonClassName:"h-7"}):null]}):null]}),t.recent.length>0?b("section",{"data-testid":"focus-recent","aria-label":"Recent activity",className:"min-w-0 rounded-lg border border-border bg-card p-3 md:col-span-2",children:[p("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Recent activity"}),p("ul",{className:"mt-2 space-y-1.5",children:t.recent.map(y=>b("li",{className:z("flex items-baseline gap-1.5 text-xs",!n&&"ab-row-in"),children:[p("span",{className:"shrink-0 font-mono text-2xs uppercase text-primary/80",children:y.label}),p("span",{className:"min-w-0 flex-1 truncate text-muted-foreground",title:y.detail??void 0,children:y.detail}),b("time",{className:"shrink-0 font-mono text-2xs text-muted-foreground/60",children:[ie(Math.max(0,r-y.at))," ago"]})]},y.id))})]}):null]}),t.completed.length>0||t.upNext.length>0?b("div",{className:"grid gap-3 md:grid-cols-2",children:[t.completed.length>0?b("section",{"data-testid":"focus-completed","aria-label":"Completed work",className:"min-w-0 rounded-lg border border-border bg-card p-3",children:[p("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Completed"}),p("ul",{className:"mt-2 space-y-1.5",children:t.completed.map(y=>b("li",{className:"text-xs",children:[b("div",{className:"flex items-baseline gap-2",children:[p(q,{name:V7(y.status),"aria-hidden":"true",className:z("size-3 shrink-0",y.status==="failed"?"text-destructive":y.status==="interrupted"?"text-orange-600 dark:text-orange-400":"text-emerald-500")}),p("span",{className:"min-w-0 flex-1 truncate",children:y.title}),y.durationMs!==null?p("span",{className:"shrink-0 font-mono text-2xs text-muted-foreground/70",children:ie(y.durationMs)}):null]}),y.summary!==null&&y.summary!==""?p("p",{className:"mt-0.5 line-clamp-2 break-words pl-5 text-2xs text-muted-foreground/80",children:y.summary}):null,y.error!==null&&y.error!==""?p("p",{className:"mt-0.5 line-clamp-2 break-words pl-5 text-2xs text-destructive/80",children:y.error}):null]},y.key))})]}):null,t.upNext.length>0?b("section",{"data-testid":"focus-up-next","aria-label":"Up next",className:"min-w-0 rounded-lg border border-border bg-card p-3",children:[p("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Up next"}),p("ul",{className:"mt-2 space-y-1.5",children:t.upNext.slice(0,od).map(y=>p(F7,{row:y},y.key))}),t.upNext.length>od?b("p",{className:"mt-1.5 text-2xs text-muted-foreground/70",children:["+",t.upNext.length-od," more queued"]}):null]}):null]}):null,t.other.length>0?b("section",{"data-testid":"focus-other","aria-label":"Other activity",className:"rounded-lg border border-border bg-card p-3",children:[b("div",{className:"flex items-center justify-between gap-2",children:[b("h3",{className:"text-2xs font-semibold uppercase tracking-wider text-muted-foreground",children:["Other activity",t.otherAttention.length>0?b("span",{className:"ml-1.5 text-destructive",children:["\xB7 ",t.otherAttention.length," need attention"]}):b("span",{className:"ml-1.5 text-muted-foreground/70",children:["\xB7 ",t.other.length]})]}),C.length>0?b(Q,{variant:"ghost",size:"sm",className:"h-6 px-2 text-2xs",onClick:()=>s(y=>!y),"aria-expanded":i,children:[i?"Hide":"Show"," ",C.length]}):null]}),b("div",{className:"mt-2 space-y-2",children:[t.otherAttention.map(y=>p(St,{card:y,now:r},y.key)),i?C.map(y=>p(St,{card:y,now:r},y.key)):null]})]}):null]})}function B9({rootThreadId:e}){let{snapshot:t,loading:r,refreshing:n,error:o,tick:i,refetch:s}=Q2(e),a=Ve(),c=he(()=>Date.now(),[i]),u=he(()=>t!==null&&t.cards.length>0?cd(t):null,[t]),l=t?.root.contextWindowUsedTokens!==null&&t?.root.contextWindowUsedTokens!==void 0&&t?.root.contextWindowTotalTokens!==null&&t?.root.contextWindowTotalTokens!==void 0&&t.root.contextWindowTotalTokens>0?Math.min(100,Math.round(t.root.contextWindowUsedTokens/t.root.contextWindowTotalTokens*100)):null;return b("div",{className:"flex h-full min-h-0 flex-col bg-background text-foreground",children:[b("header",{className:"border-b border-border px-4 py-3",children:[b("div",{className:"flex items-start gap-3",children:[b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex items-center gap-2",children:[p("h2",{className:"min-w-0 truncate text-sm font-semibold",children:t?.root.title??"Agent Board"}),t!==null?p(rt,{status:B7(t.root.status)}):null]}),t?.root.goal?b("p",{className:"mt-1 line-clamp-2 text-xs text-muted-foreground",title:t.root.goal.objective,children:[p("span",{className:"font-medium text-foreground/80",children:"Goal:"})," ",t.root.goal.objective,t.root.goal.tokenBudget!==null?b("span",{className:"ml-2 font-mono text-2xs",children:[Math.round(t.root.goal.tokensUsed/t.root.goal.tokenBudget*100),"% budget"]}):null]}):null,t!==null?b("p",{className:"mt-1 text-xs text-muted-foreground",children:[[t.root.providerLabel??t.root.providerId,t.root.model].filter(Boolean).map(d=>p("span",{className:"font-mono",children:d},d)).reduce((d,f,m)=>(m>0&&d.push(" \xB7 "),d.push(f),d),[]),t.root.updatedAt!==null?` \xB7 updated ${ie(Math.max(0,c-t.root.updatedAt))} ago`:""]}):null,l!==null?b("div",{className:"mt-1.5 flex items-center gap-2",children:[p("div",{className:"h-1 w-32 overflow-hidden rounded-full bg-border",role:"presentation",children:p("div",{className:z("h-full",l>85?"bg-orange-500":"bg-primary"),style:{width:`${l}%`}})}),b("span",{className:"text-2xs font-mono text-muted-foreground",children:["ctx ",l,"%"]})]}):null]}),b("div",{className:"flex shrink-0 flex-col items-end gap-1.5",children:[b(Q,{variant:"outline",size:"sm",className:"h-7",disabled:r||n,onClick:()=>s({fresh:!0}),"aria-label":"Refresh now (bypasses server caches)",children:[p(q,{name:"Loading",className:z("size-3.5",(r||n)&&"animate-spin"),"aria-hidden":"true"}),"Refresh"]}),b("span",{className:"flex items-center gap-1 text-2xs text-muted-foreground",title:`Realtime: ${a}`,children:[p("span",{className:z("size-1.5 rounded-full",a==="connected"?"bg-emerald-500":"bg-amber-500"),"aria-hidden":"true"}),a==="connected"?"Live":"Reconnecting\u2026"]})]})]}),t!==null?b("div",{className:"mt-2 flex flex-wrap items-center gap-x-3 gap-y-1 text-2xs text-muted-foreground",children:[b("span",{children:[p("strong",{className:"text-foreground",children:t.counts.running})," ","running"]}),b("span",{children:[p("strong",{className:"text-foreground",children:t.counts.waiting})," ","waiting"]}),b("span",{children:[p("strong",{className:"text-foreground",children:t.counts.queued})," ","queued"]}),b("span",{children:[p("strong",{className:"text-foreground",children:t.counts.completed})," ","done"]}),t.counts.failed>0?b("span",{className:"text-destructive",children:[p("strong",{children:t.counts.failed})," failed"]}):null,t.counts.interrupted>0?b("span",{className:"text-orange-600 dark:text-orange-400",children:[p("strong",{children:t.counts.interrupted})," interrupted"]}):null,t.partial?p("span",{className:"italic",title:"Finished work has a display limit; live work and ancestors are retained. Optional sources may be incomplete.",children:"showing partial results"}):null]}):null]}),p("div",{className:"min-h-0 flex-1 overflow-y-auto p-3",children:o!==null?b("div",{role:"alert",className:"rounded-lg border border-destructive/40 bg-destructive/10 p-4 text-sm",children:[p("p",{className:"font-medium text-destructive",children:"Could not load the board"}),p("p",{className:"mt-1 break-words text-xs text-destructive/80",children:o}),p(Q,{variant:"outline",size:"sm",className:"mt-3",onClick:()=>s({fresh:!0}),children:"Retry"})]}):r&&t===null?p("div",{className:"grid h-full place-items-center text-sm text-muted-foreground",children:b("span",{className:"flex items-center gap-2",children:[p(q,{name:"Loading",className:"size-4 animate-spin","aria-hidden":"true"}),"Loading the board\u2026"]})}):t===null?null:t.cards.length===0?p("div",{className:"grid h-full place-items-center text-sm text-muted-foreground",children:b("div",{className:"max-w-sm text-center",children:[p(q,{name:"Workflow",className:"mx-auto size-8 opacity-50","aria-hidden":"true"}),p("p",{className:"mt-2",children:"Nothing to observe yet."}),p("p",{className:"mt-1 text-xs",children:"The board shows plans, queued work, agents, delegations, and outputs for this thread and its children."})]})}):u!==null?p(F9,{snapshot:t,model:u,now:c}):p(W9,{snapshot:t,now:c})})]})}function B7(e){switch(e){case"active":return"running";case"error":return"failed";case"pending":case"starting":return"queued";case"stopping":return"interrupted";default:return"completed"}}var H7=2e4;function U7(e){let t=Bi.safeParse(e);return t.success?t.data.global===!0||t.data.roots.length===0:!0}function H9(){let e=Nt(),[t,r]=V(null),[n,o]=V(!0),[i,s]=V(!1),[a,c]=V(null),[u,l]=V(0),d=Z(null),f=Z(!1),m=Z(!1),g=Z(0),C=G(L=>{if(f.current){m.current=!0;return}f.current=!0;let R=++g.current;d.current===null?o(!0):s(!0),e.call("global_dashboard",{fresh:L?.fresh===!0}).then(W=>{R===g.current&&(d.current=W,r(W),c(null))},W=>{R===g.current&&c(W instanceof Error?W.message:String(W))}).finally(()=>{R===g.current&&(f.current=!1,o(!1),s(!1),m.current&&(m.current=!1,C(L)))})},[e]);Y(()=>(C(),()=>{g.current+=1,f.current=!1}),[C]),Mt(Cr,L=>{U7(L)&&C()});let y=Ve(),x=Z(!1),w=Z(y);Y(()=>{let L=w.current;w.current=y,y==="connected"&&L!=="connected"&&x.current&&C(),y==="connected"&&(x.current=!0)},[y,C]);let $=G(async L=>{try{await e.call("dismiss_attention",{executionKey:L.executionKey,type:L.type,updatedAt:L.updatedAt,...L.conditionId?{conditionId:L.conditionId}:{}})}catch(R){c(R instanceof Error?R.message:String(R));return}C()},[e,C]),P=G(async()=>{try{await e.call("clear_dismissed_attentions",{})}catch(L){c(L instanceof Error?L.message:String(L));return}C()},[e,C]);Y(()=>{let L=setInterval(()=>C(),H7);return()=>clearInterval(L)},[C]);let T=he(()=>t?.active.some(L=>[L.card,...L.childCards??[]].some(R=>R.status==="running"||R.status==="starting"||R.status==="waiting"))??!1,[t]);return Y(()=>{if(!T)return;let L=setInterval(()=>l(R=>R+1),1e3);return()=>clearInterval(L)},[T]),{snapshot:t,loading:n,refreshing:i,error:a,tick:u,refetch:C,dismissAttention:$,clearDismissedAttentions:P,connectionState:y}}function U9(e,t){return`${ie(Math.max(0,t-e))} ago`}function K9({cards:e,parentId:t,now:r,reducedMotion:n,ancestors:o=[]}){if(t===null||o.includes(t))return null;let i=e.filter(s=>s.parentThreadId===t);return i.length===0?null:p("div",{className:"mt-3 min-w-0 space-y-2 border-l border-border pl-3","data-part":"active-children",children:i.map(s=>b("div",{"data-child-thread":s.kind==="thread"?s.threadId:void 0,"data-child-work":s.kind!=="thread"?s.key:void 0,children:[p(St,{card:s,now:r,liveTreatment:!0,reducedMotion:n}),s.kind==="thread"?p(K9,{cards:e,parentId:s.threadId,now:r,reducedMotion:n,ancestors:[...o,t]}):null]},s.key))})}function K7({execution:e,now:t,reducedMotion:r}){let n=We(),o=e.card,i=o.status==="running"||o.status==="starting",s=it(o,t),a=[o.providerLabel??o.providerId,o.model].filter(Boolean).join(" \xB7 "),c=$t(o,e.key);return b("article",{className:"min-w-0 max-w-full rounded-xl border border-border bg-card p-4 shadow-sm","data-global-card":"active","data-source":o.source,"data-status":o.status,"data-live-state":i?"executing":"static",children:[b("div",{className:"flex min-w-0 max-w-full items-start gap-3",children:[p(q,{name:o.source==="redteam"?"Bug":"Terminal",className:"mt-0.5 size-4 shrink-0 text-muted-foreground","aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex min-w-0 items-start gap-2",children:[p("h3",{className:"min-w-0 flex-1 truncate text-sm font-semibold",title:o.title,children:o.title}),i?p(Qi,{reducedMotion:r}):p(rt,{status:o.status})]}),p("p",{className:"mt-0.5 text-2xs font-medium uppercase tracking-wider text-muted-foreground",children:o.source==="bb"?"BB":o.source==="ollama-fleet"?"Ollama Fleet":"Redteam"})]})]}),o.phaseTitle!==null||a!==""?b("p",{"data-part":"execution-model",className:"mt-2 min-w-0 max-w-full line-clamp-2 text-xs text-muted-foreground [overflow-wrap:anywhere]",children:[o.phaseTitle!==null?p("span",{className:"text-foreground/90",children:o.phaseTitle}):null,o.phaseTitle!==null&&a!==""?p("span",{"aria-hidden":"true",children:" \xB7 "}):null,a!==""?p("span",{className:"font-mono",children:a}):null]}):null,o.serverName?p("p",{className:"mt-1 min-w-0 max-w-full truncate text-xs text-muted-foreground",children:o.serverName}):null,(e.delegatedWorkers?.length??0)>0?b("div",{"data-part":"delegated-workers",className:"mt-3 min-w-0 max-w-full space-y-1 overflow-hidden",children:[b("p",{className:"text-2xs text-muted-foreground",children:[e.activeDelegatedWorkerCount??0," delegated local workers active"]}),e.delegatedWorkers.slice(0,4).map(u=>b("div",{"data-fleet-worker":u.jobId,className:"flex min-w-0 max-w-full items-start gap-1.5 text-2xs",children:[p("span",{className:"shrink-0","aria-label":u.status,children:u.status==="completed"?"\u2713":u.status==="failed"?"!":u.status==="interrupted"?"\u2212":"\u25CF"}),b("span",{className:"min-w-0 flex-1 line-clamp-2 [overflow-wrap:anywhere]",children:[p("span",{className:"font-mono",children:u.model??"Selecting model"})," ","\xB7 ",u.title,u.serverName?b("span",{className:"text-muted-foreground",children:[" ","\xB7 ",u.serverName]}):null]})]},u.key)),(e.delegatedWorkerCount??0)>4?b("p",{className:"text-2xs text-muted-foreground",children:["+",e.delegatedWorkerCount-4," more"]}):null]}):null,o.latestPublicUpdate!=null?p("p",{"data-part":"public-update",className:"mt-2 min-w-0 max-w-full line-clamp-3 text-xs text-foreground/80 [overflow-wrap:anywhere]",title:o.latestPublicUpdate,children:o.latestPublicUpdate}):null,o.activity!==null?p("p",{"data-part":"execution-activity",className:z("mt-2 min-w-0 max-w-full line-clamp-2 text-xs [overflow-wrap:anywhere]",i&&!r&&"ab-activity-in"),title:o.activity.text,children:o.activity.text},o.activity.text):o.waitingOn!==null?p("p",{className:"mt-2 min-w-0 max-w-full text-xs text-muted-foreground [overflow-wrap:anywhere]",children:o.waitingOn}):null,i?p("div",{className:"mt-3 min-w-0 max-w-full",children:p(es,{identity:e.key,reducedMotion:r})}):null,b("div",{"data-part":"card-actions",className:"mt-3 flex min-w-0 max-w-full flex-wrap items-center gap-x-2 gap-y-1 text-2xs text-muted-foreground",children:[s!==null?p("span",{className:"font-mono",children:ie(s)}):null,e.activeChildCount>0?b("span",{children:[e.activeChildCount," active child",e.activeChildCount===1?"":"ren"]}):null,e.childCount>0&&e.activeChildCount===0?b("span",{children:[e.childCount," child",e.childCount===1?"":"ren"]}):null,(o.queuedMessageCount??0)>0?b("span",{"data-part":"queued-count",children:[o.queuedMessageCount," queued"]}):null,o.toolCalls!==null?b("span",{children:[o.toolCalls," tools"]}):null,o.tokens!==null?b("span",{children:[o.tokens.toLocaleString()," tok"]}):null,p("span",{className:"flex-1"}),o.threadId!==null?p(Q,{variant:"ghost",size:"sm",className:"h-7 px-2 text-2xs",onClick:()=>n.toThread(o.threadId),"aria-label":`Open ${o.title}`,children:"Open"}):null,c!==null?p(It,{target:c}):null]}),p(K9,{cards:e.childCards??[],parentId:o.threadId,now:t,reducedMotion:r})]})}var q7={"action-required":"Action required",failed:"Failed",waiting:"Waiting",interrupted:"Interrupted",warning:"Warning"};function G7({item:e,now:t,onDismiss:r}){let n=We(),o=e.type==="failed";return p("article",{className:z("min-w-0 max-w-full rounded-lg border bg-card p-3",o?"border-destructive/40":"border-amber-500/35"),"data-global-card":"attention","data-attention-type":e.type,children:b("div",{className:"flex min-w-0 max-w-full items-start gap-2.5",children:[p(q,{name:o?"AlertCircle":"AlertTriangle",className:z("mt-0.5 size-4 shrink-0",o?"text-destructive":"text-amber-600 dark:text-amber-400"),"aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1",children:[p("h3",{"data-part":"attention-title",className:"min-w-0 max-w-full flex-[1_1_12rem] text-sm font-medium [overflow-wrap:anywhere]",children:e.title}),p("span",{className:z("shrink-0 text-2xs font-semibold uppercase tracking-wider",o?"text-destructive":"text-amber-700 dark:text-amber-300"),children:q7[e.type]})]}),p("p",{"data-part":"attention-message",className:"mt-1 min-w-0 max-w-full line-clamp-3 text-xs text-muted-foreground [overflow-wrap:anywhere]",children:e.message}),b("p",{className:"mt-1 min-w-0 max-w-full text-2xs text-muted-foreground [overflow-wrap:anywhere]",children:[e.type==="action-required"||e.type==="waiting"?`Waiting ${ie(t-e.firstObservedAt)}`:e.conditionAt===null?"Time unavailable":U9(e.conditionAt??e.updatedAt,t),p("span",{"aria-hidden":"true",children:" \xB7 "}),e.source==="bb"?"BB":e.source==="ollama-fleet"?"Ollama Fleet":"Redteam"]})]}),b("div",{"data-part":"card-actions",className:"flex max-w-full shrink-0 flex-col gap-1",children:[e.threadId!==null?p(Q,{variant:"ghost",size:"sm",className:"h-7 px-2 text-2xs",onClick:()=>n.toThread(e.threadId),"aria-label":`Open ${e.title}`,children:"Open"}):null,p(Q,{variant:"ghost",size:"sm",className:"h-7 px-2 text-2xs",onClick:()=>r(e),"aria-label":`Dismiss ${e.title}`,"aria-description":"Hide from Needs attention (presentation only; reappears when the condition changes)",children:"Dismiss"})]})]})})}function J7({execution:e,now:t}){let r=We(),n=e.card,o=it(n,t),i=n.status==="failed"||n.status==="interrupted"?n.attention?.conditionAt!==void 0?n.attention.conditionAt:n.completedAt:n.completedAt??e.updatedAt,s=$t(n,e.key);return b("article",{className:"flex min-w-0 max-w-full items-start gap-3 rounded-lg border border-border/70 bg-card/60 px-3 py-2.5","data-global-card":"recent","data-source":n.source,"data-status":n.status,children:[p(q,{name:n.status==="failed"?"AlertCircle":n.status==="interrupted"?"AlertTriangle":"CircleCheck",className:z("mt-0.5 size-4 shrink-0",n.status==="failed"?"text-destructive":n.status==="interrupted"?"text-orange-600 dark:text-orange-400":"text-emerald-600 dark:text-emerald-400"),"aria-hidden":"true"}),b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex min-w-0 flex-wrap items-baseline gap-x-2",children:[p("h3",{"data-part":"recent-title",className:"min-w-0 flex-1 truncate text-sm font-medium",children:n.title}),p("span",{className:"shrink-0 text-2xs uppercase tracking-wider text-muted-foreground",children:n.source==="bb"?"BB":n.source==="ollama-fleet"?"Ollama Fleet":"Redteam"})]}),b("p",{"data-part":"recent-metadata",className:"mt-0.5 min-w-0 max-w-full line-clamp-2 text-2xs text-muted-foreground [overflow-wrap:anywhere]",children:[o!==null?ie(o):n.status,n.model!==null?b(Lt,{children:[" ","\xB7 ",p("span",{className:"font-mono",children:n.model})]}):null,b(Lt,{children:[" ","\xB7"," ",i===null?"Time unavailable":U9(i,t)]})]}),n.errorPreview!==null||n.outputPreview!==null?p("p",{"data-part":"recent-summary",className:z("mt-1 min-w-0 max-w-full line-clamp-2 text-xs [overflow-wrap:anywhere]",n.errorPreview!==null?"text-destructive":"text-muted-foreground"),children:n.errorPreview??n.outputPreview}):null]}),b("div",{"data-part":"card-actions",className:"flex max-w-full shrink-0 flex-col gap-1 sm:flex-row",children:[n.threadId!==null?p(Q,{variant:"ghost",size:"sm",className:"h-7 px-2 text-2xs",onClick:()=>r.toThread(n.threadId),"aria-label":`Open ${n.title}`,children:"Open"}):null,s!==null?p(It,{target:s}):null]})]})}function q9(){let{snapshot:e,loading:t,refreshing:r,error:n,refetch:o,dismissAttention:i,clearDismissedAttentions:s,connectionState:a}=H9(),c=nt(),u=Date.now();return p("main",{className:"ab-global-dashboard h-full min-h-0 w-full min-w-0 max-w-full overflow-y-auto bg-background","data-global-dashboard":"","data-motion":c?"reduced":"full",children:b("div",{className:"mx-auto w-full min-w-0 max-w-6xl p-3 sm:p-5 lg:p-6",children:[b("header",{className:"flex min-w-0 max-w-full flex-wrap items-start gap-3",children:[b("div",{className:"min-w-0 flex-1",children:[b("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[p(q,{name:"ListTodo",className:"size-5 text-primary","aria-hidden":"true"}),p("h1",{className:"text-lg font-semibold",children:"Agent Board"}),e!==null&&e.counts.active>0?b("span",{className:"inline-flex items-center gap-1 text-2xs font-semibold uppercase tracking-wider text-primary",children:[p("span",{className:z("size-1.5 rounded-full bg-primary",!c&&"ab-live-dot"),"aria-hidden":"true"}),e.counts.active," live"]}):null]}),p("p",{className:"mt-1 text-xs text-muted-foreground",children:"Global operations across Moonlet and available observability sources."})]}),b("div",{className:"flex max-w-full flex-wrap items-center gap-2",children:[b(Q,{variant:"outline",size:"sm",onClick:()=>o({fresh:!0}),disabled:r,children:[p(q,{name:"Loading",className:z("mr-1.5 size-3.5",r&&"animate-spin"),"aria-hidden":"true"}),"Refresh"]}),p("span",{className:"text-2xs text-muted-foreground",title:`Realtime: ${a}`,children:a==="connected"?"Live":"Reconnecting\u2026"})]})]}),e!==null?p("section",{"aria-label":"Operational summary",className:"mt-4 grid min-w-0 max-w-full grid-cols-[repeat(2,minmax(0,1fr))] gap-2 sm:grid-cols-[repeat(4,minmax(0,1fr))]",children:[["Active",e.counts.active],["Waiting",e.counts.waiting],["Attention",e.counts.attention],["Recent",e.counts.recent]].map(([l,d])=>b("div",{className:"min-w-0 rounded-lg border border-border/70 bg-card/50 px-3 py-2",children:[p("p",{className:"text-2xs uppercase tracking-wider text-muted-foreground",children:l}),p("p",{className:"mt-0.5 text-lg font-semibold tabular-nums",children:d})]},l))}):null,n!==null?b("div",{role:"alert",className:"mt-4 rounded-lg border border-destructive/40 bg-destructive/10 p-3 text-sm text-destructive",children:["Could not refresh the global dashboard: ",n]}):null,t&&e===null?p("div",{className:"grid min-h-64 place-items-center text-sm text-muted-foreground",children:b("span",{className:"flex items-center gap-2",children:[p(q,{name:"Loading",className:"size-4 animate-spin","aria-hidden":"true"}),"Loading operations\u2026"]})}):null,e!==null?b("div",{className:"mt-5 min-w-0 max-w-full space-y-6",children:[b("section",{"aria-labelledby":"attention-heading",className:"min-w-0 max-w-full",children:[b("div",{className:"mb-2 flex min-w-0 max-w-full flex-wrap items-center gap-2",children:[p("h2",{id:"attention-heading",className:"text-xs font-semibold uppercase tracking-wider",children:"Needs attention"}),e.counts.attention>0?p("span",{className:"rounded-full bg-amber-500/15 px-1.5 text-2xs font-medium text-amber-700 dark:text-amber-300",children:e.counts.attention}):null,e.dismissedCount>0?b(Q,{variant:"ghost",size:"sm",className:"h-6 px-2 text-2xs",onClick:()=>{s()},children:["Clear dismissed (",e.dismissedCount,")"]}):null]}),e.attention.length>0?p("div",{"data-global-grid":"attention",className:"grid min-w-0 max-w-full grid-cols-[minmax(0,1fr)] gap-2",children:e.attention.map(l=>p(G7,{item:l,now:u,onDismiss:d=>{i(d)}},l.id))}):p("p",{className:"min-w-0 max-w-full rounded-lg border border-dashed border-border px-3 py-4 text-sm text-muted-foreground",children:e.dismissedCount>0?"No open items \u2014 dismissed conditions stay hidden until they change.":"Nothing currently requires your attention."})]}),b("section",{"aria-labelledby":"active-heading",className:"min-w-0 max-w-full",children:[b("div",{className:"mb-2 flex items-center gap-2",children:[p("h2",{id:"active-heading",className:"text-xs font-semibold uppercase tracking-wider",children:"Active work"}),b("span",{className:"text-2xs text-muted-foreground",children:[e.counts.active," running \xB7 ",e.counts.waiting," ","waiting"]})]}),e.active.length>0?p("div",{"data-global-grid":"active",className:"grid min-w-0 max-w-full grid-cols-[minmax(0,1fr)] gap-3 md:grid-cols-[repeat(2,minmax(0,1fr))]",children:e.active.map(l=>p(K7,{execution:l,now:u,reducedMotion:c},l.key))}):p("p",{className:"min-w-0 max-w-full rounded-lg border border-dashed border-border px-3 py-6 text-center text-sm text-muted-foreground",children:"No active executions."})]}),b("section",{"aria-labelledby":"recent-heading",className:"min-w-0 max-w-full",children:[b("div",{className:"mb-2 flex items-center gap-2",children:[p("h2",{id:"recent-heading",className:"text-xs font-semibold uppercase tracking-wider",children:"Recently completed"}),p("span",{className:"text-2xs text-muted-foreground",children:e.recent.length})]}),e.recent.length>0?p("div",{"data-global-grid":"recent",className:"grid min-w-0 max-w-full grid-cols-[minmax(0,1fr)] gap-2",children:e.recent.map(l=>p(J7,{execution:l,now:u},l.key))}):p("p",{className:"text-sm text-muted-foreground",children:"No recent completions in the bounded window."})]}),e.unavailableSources.length>0?b("p",{className:"text-2xs text-muted-foreground",children:["Temporarily unavailable:"," ",e.unavailableSources.map(l=>l==="bb"?"BB":l==="ollama-fleet"?"Ollama Fleet":"Redteam").join(", "),". Available sources remain live."]}):null,e.partial?p("p",{className:"text-2xs italic text-muted-foreground",children:"The global view is bounded; older or excess executions are not shown."}):null]}):null]})})}function Y7({threadId:e,params:t}){let r=t!==null&&typeof t=="object"&&!Array.isArray(t)&&"rootThreadId"in t&&typeof t.rootThreadId=="string"?t.rootThreadId:null;return p(B9,{rootThreadId:r??e})}function X7(e){return p(q9,{})}var ZI=id(e=>{e.slots.navPanel({id:"agent-board-global",title:"Agent Board",icon:"ListTodo",path:"operations",component:X7}),e.slots.experimental_tab({context:{kind:"thread"},availability:"action",id:"agent-board",title:"Agent Board",icon:"ListTodo",layout:"flush",component:Y7})});export{ZI as default};
|