dorkos 0.128.0 → 0.130.0
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/dist/bin/cli.js +766 -517
- package/dist/browser/native/package-manifest.json +1 -1
- package/dist/browser/source-manifest.json +1 -1
- package/dist/client/assets/{AboutPage-CmQERFxo.js → AboutPage-B2CzVj5W.js} +1 -1
- package/dist/client/assets/{ActivityErrorState-Dw231W2w.js → ActivityErrorState-Dl-P-e0R.js} +1 -1
- package/dist/client/assets/{ActivityPage-DVfeyA9u.js → ActivityPage-CW7tqLHb.js} +1 -1
- package/dist/client/assets/ActivityRow-Vy4aXWk-.js +1 -0
- package/dist/client/assets/{AdapterIcon-NqCDzgCI.js → AdapterIcon-aabKVZmM.js} +1 -1
- package/dist/client/assets/AdapterSetupWizard-C5Hs0xkG.js +2 -0
- package/dist/client/assets/{AgentOptionRow-BRJfZo2y.js → AgentOptionRow-CqIMxq9S.js} +1 -1
- package/dist/client/assets/{AgentPicker-B7upjYRk.js → AgentPicker-C6mbTDJJ.js} +1 -1
- package/dist/client/assets/{AgentRequestCard-DXJnLk6q.js → AgentRequestCard-C8GV5Sxn.js} +4 -4
- package/dist/client/assets/AppearancePage-C0JKrHsO.js +1 -0
- package/dist/client/assets/{ApplyToOverridesDialog-C_QQhNIf.js → ApplyToOverridesDialog-DWEi0MNt.js} +1 -1
- package/dist/client/assets/AttentionSignalRow-Cpu0lKYg.js +1 -0
- package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-G7vrCqeA.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-_zVrHu5s.js} +3 -3
- package/dist/client/assets/BindingDialog-4UeaJfUu.js +1 -0
- package/dist/client/assets/BlintzCanvas-DCXIQZM_.js +1231 -0
- package/dist/client/assets/{CanvasCsvContent-CtLpZnTs.js → CanvasCsvContent-D-0TuvVs.js} +4 -4
- package/dist/client/assets/CanvasFileContent-DqSx7lz9.js +2 -0
- package/dist/client/assets/CanvasModel3dContent-zTx660yQ.js +2 -0
- package/dist/client/assets/ChannelComposer-D4TYVkvO.js +45 -0
- package/dist/client/assets/{ChatAppsOff-CCZUzDIH.js → ChatAppsOff-BzfyQc55.js} +2 -2
- package/dist/client/assets/{CodeMirrorDiff-BCpYdhgZ.js → CodeMirrorDiff-BLWBYGLp.js} +1 -1
- package/dist/client/assets/{CodeMirrorEditor-BeCubxHV.js → CodeMirrorEditor-D0q3ETxK.js} +1 -1
- package/dist/client/assets/{CommitmentList-BZtfTnwg.js → CommitmentList-BoMiLsRe.js} +1 -1
- package/dist/client/assets/{CommitmentsPage-DmurDgxV.js → CommitmentsPage-_7mNJVUZ.js} +1 -1
- package/dist/client/assets/{ComputerResourceView-Bik6GLKp.js → ComputerResourceView-Bo2LaCJf.js} +1 -1
- package/dist/client/assets/{ComputerViewer-CksBDqdu.js → ComputerViewer-a4VSdAw_.js} +1 -1
- package/dist/client/assets/ConnectionAccessLists-Dvv0YO31.js +1 -0
- package/dist/client/assets/{ConnectionsPage-Cgg36gDY.js → ConnectionsPage-oO8pNgbc.js} +2 -2
- package/dist/client/assets/{ConventionPage-CNhpF6Z1.js → ConventionPage-CFJjwhBd.js} +2 -2
- package/dist/client/assets/{ExtensionPageRoute-C2zue_Pw.js → ExtensionPageRoute-BqZN9q7M.js} +2 -2
- package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-3v1TfY1P.js → FloatingTanStackRouterDevtools-CqogiFob-CnSp2ZEM.js} +1 -1
- package/dist/client/assets/{ForwardConsentHost-Mbo0D-zk.js → ForwardConsentHost-4LhRvCdu.js} +1 -1
- package/dist/client/assets/HandlePage-BjoYPqme.js +1 -0
- package/dist/client/assets/HeartbeatPage-rJzICayy.js +1 -0
- package/dist/client/assets/{KeyEntry-C43vkwpA.js → KeyEntry-BTTuXleL.js} +1 -1
- package/dist/client/assets/{LexicalField-iAHcvRmI.js → LexicalField-Dk_SDrjk.js} +1 -1
- package/dist/client/assets/{ManagesPage-BUIJvLmv.js → ManagesPage-Cvu3CQDn.js} +1 -1
- package/dist/client/assets/Marketplace-DPjPPlZz.js +36 -0
- package/dist/client/assets/{MarketplaceSourcesView-BZODwhxu.js → MarketplaceSourcesView-ChCys0on.js} +1 -1
- package/dist/client/assets/{McpAppFrame-D15nxVaI.js → McpAppFrame-DNamtzOp.js} +2 -2
- package/dist/client/assets/{McpSigninBody-DmBxqgxN.js → McpSigninBody-DLw3ZdZE.js} +1 -1
- package/dist/client/assets/{Model3dViewer-RGXeJd6a.js → Model3dViewer-IwCBCPZ2.js} +1 -1
- package/dist/client/assets/NamePage-FY_D0eA2.js +1 -0
- package/dist/client/assets/NewDirectMessageMenu-BB0gvClR.js +1 -0
- package/dist/client/assets/{NotificationsPage-NRfyiinS.js → NotificationsPage-aCF0AtqL.js} +1 -1
- package/dist/client/assets/{OpenMeshSwitch-CgQ6uefo.js → OpenMeshSwitch-DjCWF2Vy.js} +2 -2
- package/dist/client/assets/OperatorIdentityForm-Bcveds6f.js +1 -0
- package/dist/client/assets/{PermissionHistory-DPEPq8D9.js → PermissionHistory-CYsxFYmV.js} +1 -1
- package/dist/client/assets/{PermissionsPage--k-xutbJ.js → PermissionsPage-sxHkY92V.js} +1 -1
- package/dist/client/assets/{PersonalityPopover-DMMptmPS.js → PersonalityPopover-BZ20JTnJ.js} +1 -1
- package/dist/client/assets/PhotoPage-KBzkb0sT.js +1 -0
- package/dist/client/assets/PreviewRefusedNotice-BFQPYcUG.js +1 -0
- package/dist/client/assets/{ProfileFields-DbPJ7fvN.js → ProfileFields-sp17IFo8.js} +1 -1
- package/dist/client/assets/{ProfilePanelContainer-CzwhrIlw.js → ProfilePanelContainer-mA44jh5A.js} +1 -1
- package/dist/client/assets/{ProfileRolePicker-CZEXvlJm.js → ProfileRolePicker-Chh4_ZMB.js} +1 -1
- package/dist/client/assets/PromptSuggestionChips-CEi_-fHF.js +1 -0
- package/dist/client/assets/{ReportsToPopover-YOwGLJy5.js → ReportsToPopover-D1uknwnk.js} +1 -1
- package/dist/client/assets/RoomSurface-Clf1yLrr.js +1 -0
- package/dist/client/assets/{RoomsPage-CoXjZMWL.js → RoomsPage-BtCNzvhQ.js} +1 -1
- package/dist/client/assets/RunsOnPopover-LCvBpe9J.js +1 -0
- package/dist/client/assets/RuntimeConnectFlow-C5UDeHUC.js +1 -0
- package/dist/client/assets/RuntimeSetupDialog-Bqh67Vqb.js +1 -0
- package/dist/client/assets/{SeenDevices-Bh2yh-PW.js → SeenDevices-DvCfdeDo.js} +3 -3
- package/dist/client/assets/{SessionsPage-CFvkbT9X.js → SessionsPage-DLByE-re.js} +1 -1
- package/dist/client/assets/SettingsDialog-Co-Oxtyw.js +12 -0
- package/dist/client/assets/SkillsPage-Cc79IstM.js +1 -0
- package/dist/client/assets/TaskDialogWrapper-DuYV7Zch.js +1 -0
- package/dist/client/assets/TasksEmptyState-CfmPtBra.js +3 -0
- package/dist/client/assets/{TasksPage-D0Zi6Mve.js → TasksPage-DGk0zUhO.js} +1 -1
- package/dist/client/assets/{TeamComputerEntry-CY9eLVad.js → TeamComputerEntry-CLHbeX5i.js} +1 -1
- package/dist/client/assets/{ToolsPage-0_vx5P-F.js → ToolsPage-CSkDE7rZ.js} +2 -2
- package/dist/client/assets/{TopologyGraph-DUZLZZrB.js → TopologyGraph-pBC37k5P.js} +14 -14
- package/dist/client/assets/TourHost-CS9RsLj_.js +1 -0
- package/dist/client/assets/{UnlinkDialog-ptZy3IN4.js → UnlinkDialog-CelhOUZ0.js} +1 -1
- package/dist/client/assets/{UnreadDivider-Ckey1IWn.js → UnreadDivider-B_OMR0mQ.js} +1 -1
- package/dist/client/assets/WidgetErrorCard-CsMqCyCb.js +108 -0
- package/dist/client/assets/{WithheldExtensionsNotice-7Vu1Jctn.js → WithheldExtensionsNotice-GiKb0iQu.js} +1 -1
- package/dist/client/assets/WorkQueuePage-Cu721KyM.js +1 -0
- package/dist/client/assets/WorkView-CpWEaxMr.js +51 -0
- package/dist/client/assets/_shell-CmGG8Ysk.js +80 -0
- package/dist/client/assets/{_shell._home-BRIXhYLg.js → _shell._home-BnKkAeSp.js} +1 -1
- package/dist/client/assets/_shell._home.activity-DaaLJbvO.js +1 -0
- package/dist/client/assets/_shell._home.index-CNPasFxP.js +3 -0
- package/dist/client/assets/_shell._home.tasks-DXEOJ5Nq.js +1 -0
- package/dist/client/assets/_shell._home.workspaces-UeSvmquR.js +1 -0
- package/dist/client/assets/{_shell.channels-Bx6q9xVH.js → _shell.channels-NUbf5mcb.js} +4 -4
- package/dist/client/assets/_shell.connections-BEns4DKb.js +1 -0
- package/dist/client/assets/{_shell.feedback-requests-DFznTGbN.js → _shell.feedback-requests-NyjHNdnj.js} +2 -2
- package/dist/client/assets/_shell.marketplace-BEYqsDKe.js +1 -0
- package/dist/client/assets/_shell.marketplace_.sources-D6Ls30FY.js +1 -0
- package/dist/client/assets/_shell.session-CVc6i3eN.js +1 -0
- package/dist/client/assets/{_shell.team-DmA09abY.js → _shell.team-CXeOt4XD.js} +6 -6
- package/dist/client/assets/_shell.threads-BYdN1UtZ.js +1 -0
- package/dist/client/assets/_shell.x._extensionId-DtJYSfvG.js +1 -0
- package/dist/client/assets/_shell.x._extensionId_._-DtJYSfvG.js +1 -0
- package/dist/client/assets/{abnfDiagram-WEYOIA3C-DxgtVd9I.js → abnfDiagram-WEYOIA3C-BLCVDt6M.js} +1 -1
- package/dist/client/assets/{access-copy-Dqct36mi.js → access-copy-BSQ3QECN.js} +1 -1
- package/dist/client/assets/{arc-C-67Ef0p.js → arc-t4OhsI5R.js} +1 -1
- package/dist/client/assets/{architectureDiagram-ZHVYKT53-B7TjdT-_.js → architectureDiagram-ZHVYKT53-BcIfbGZR.js} +1 -1
- package/dist/client/assets/{banner-C9qTs6-C.js → banner-B6xfuDA7.js} +2 -2
- package/dist/client/assets/{blockDiagram-RJAE7QA3-DNqxJ3Ww.js → blockDiagram-RJAE7QA3-DTOlrcEZ.js} +1 -1
- package/dist/client/assets/{c4Diagram-XDPPPE54-D3jNLV0j.js → c4Diagram-XDPPPE54-CHGqwaxa.js} +1 -1
- package/dist/client/assets/channel-CSk6LhO2.js +1 -0
- package/dist/client/assets/{chunk-2E7WHVMD-C6OKx0ty.js → chunk-2E7WHVMD-Bh4L_7yX.js} +1 -1
- package/dist/client/assets/{chunk-2Q5K7J3B-Dr_6hHrZ.js → chunk-2Q5K7J3B-BmouLl8r.js} +1 -1
- package/dist/client/assets/{chunk-4EMNKR2T-CSrZVDEt.js → chunk-4EMNKR2T-BVhtiAdG.js} +1 -1
- package/dist/client/assets/{chunk-55XCU76K-CIazeRXO.js → chunk-55XCU76K-BdbLnE56.js} +1 -1
- package/dist/client/assets/{chunk-5VM5RSS4-C8IJ3zTR.js → chunk-5VM5RSS4-Qg9lQpPO.js} +1 -1
- package/dist/client/assets/{chunk-JWPE2WC7-D9DGXb79.js → chunk-JWPE2WC7-CfIrQaMW.js} +1 -1
- package/dist/client/assets/{chunk-VQ5W62QI-B0LNYdif.js → chunk-VQ5W62QI-BP9oQzc0.js} +1 -1
- package/dist/client/assets/{chunk-XXDRQBXY-C7IAIbvZ.js → chunk-XXDRQBXY-DKzIjnsB.js} +1 -1
- package/dist/client/assets/{chunk-ZCHMQSOR-C79hvjlu.js → chunk-ZCHMQSOR-DsvG6BGY.js} +2 -2
- package/dist/client/assets/{classDiagram-v2-4MYWR3UA-0Di1C2ZB.js → classDiagram-v2-4MYWR3UA-BSiSmGgP.js} +1 -1
- package/dist/client/assets/{command-BVQb6I3_.js → command-B_FPXirc.js} +1 -1
- package/dist/client/assets/copy-button-Bp75zBSh.js +1 -0
- package/dist/client/assets/{cose-bilkent-JH36ORCC-rZumaV4b.js → cose-bilkent-JH36ORCC-CXgyrZix.js} +1 -1
- package/dist/client/assets/{cpu-DeRuDMl4.js → cpu-DpkNIYeK.js} +1 -1
- package/dist/client/assets/{cynefin-EF2NZ3EQ-CI9l9xhM.js → cynefin-EF2NZ3EQ-DkmPO3hK.js} +1 -1
- package/dist/client/assets/{cynefinDiagram-WF24UDRP-C8CdorJJ.js → cynefinDiagram-WF24UDRP-BDknJT17.js} +1 -1
- package/dist/client/assets/{dagre-NK4GIZVX-AHpsTq1O.js → dagre-NK4GIZVX-BR4J5E3b.js} +1 -1
- package/dist/client/assets/detail-row-C8zz6mAC.js +1 -0
- package/dist/client/assets/{diagram-CBK3MWTC-BpPLL30n.js → diagram-CBK3MWTC-CvLKqPry.js} +1 -1
- package/dist/client/assets/{diagram-I5XIIV2D-D6loMn3G.js → diagram-I5XIIV2D-CVtE60X9.js} +1 -1
- package/dist/client/assets/{diagram-ODIL2UCW-BaGNd5eN.js → diagram-ODIL2UCW-B--CpfLk.js} +1 -1
- package/dist/client/assets/{diagram-PFBEJUXE-BnDdKu_g.js → diagram-PFBEJUXE-08gch1t1.js} +1 -1
- package/dist/client/assets/{diagram-RJA3I4VV-UXagB0_c.js → diagram-RJA3I4VV-C2e-ubaD.js} +1 -1
- package/dist/client/assets/{diagram-TYUNFSNR-C-whBP-S.js → diagram-TYUNFSNR-DcpK4OXX.js} +1 -1
- package/dist/client/assets/{ebnfDiagram-V4P3TTPT-BbG481iS.js → ebnfDiagram-V4P3TTPT-DM44BkBt.js} +1 -1
- package/dist/client/assets/{elk-QONTBCTQ-FtssIxOc.js → elk-QONTBCTQ-maYS1Zzm.js} +1 -1
- package/dist/client/assets/{empty-state-CACt-76q.js → empty-state-HtOTBAoq.js} +1 -1
- package/dist/client/assets/{erDiagram-KYQIGQAA-PpFgUf4C.js → erDiagram-KYQIGQAA-BR7z9r2M.js} +1 -1
- package/dist/client/assets/{execution-config-CGL73sRn.js → execution-config-DYYeJyJh.js} +1 -1
- package/dist/client/assets/{file-D80JE_L0.js → file-VtGYNr9E.js} +1 -1
- package/dist/client/assets/{file-exclamation-point-CcJ_e4_m.js → file-exclamation-point-eBlQssyW.js} +1 -1
- package/dist/client/assets/{file-text-Ds9edaTZ.js → file-text-DvNAxTGZ.js} +1 -1
- package/dist/client/assets/{find-latest-widget-fence-BtqFMP_f.js → find-latest-widget-fence-C2qXvASs.js} +5 -5
- package/dist/client/assets/{flowDiagram-IUGLLWBU-BIva66g9.js → flowDiagram-IUGLLWBU-DiuMtMbj.js} +1 -1
- package/dist/client/assets/form-CGIIzr1u.js +1 -0
- package/dist/client/assets/{format-cron-BpGrgPLu.js → format-cron-BzJ6ekoo.js} +1 -1
- package/dist/client/assets/format-tokens-DymkROvy.js +1 -0
- package/dist/client/assets/{ganttDiagram-R7GPNTJY-CZqips_4.js → ganttDiagram-R7GPNTJY-Cf_z8Ri1.js} +1 -1
- package/dist/client/assets/{git-branch-B8JNwQ6q.js → git-branch-BVzjBPW-.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-PDYL7XHY-DoIc3lda.js → gitGraphDiagram-PDYL7XHY-RZXACCBr.js} +1 -1
- package/dist/client/assets/{graph-yizM0vwL.js → graph-DfAV_ObD.js} +1 -1
- package/dist/client/assets/{heart-BavUIV45.js → heart-BMOCYMFT.js} +1 -1
- package/dist/client/assets/{highlighted-body-KPVGNVTW-CGr3AgaU.js → highlighted-body-KPVGNVTW-DrrsaKBc.js} +1 -1
- package/dist/client/assets/image-lightbox-tAwBNBhm.js +1 -0
- package/dist/client/assets/{image-off-C1uTDs9-.js → image-off-BpagBHk1.js} +1 -1
- package/dist/client/assets/{index-CrTmY12y.js → index-0uCJUW_h.js} +2 -2
- package/dist/client/assets/index-0y0K3rYv.js +1 -0
- package/dist/client/assets/{index-CJXMgnYp.js → index-2GjydAcS.js} +1 -1
- package/dist/client/assets/index-6dsaPQ7-.js +1 -0
- package/dist/client/assets/{index-X282DRZf.js → index-7-yzdcAx.js} +3 -3
- package/dist/client/assets/{index-C8ZpJXTQ.js → index-A7HgzxSw.js} +1 -1
- package/dist/client/assets/{index-DW4KUPHp.js → index-BEqKTiCR.js} +1 -1
- package/dist/client/assets/{index-56EOd-zy.js → index-BIN0yv4s.js} +1 -1
- package/dist/client/assets/{index-FhWMRBQP.js → index-BL5Vmq62.js} +1 -1
- package/dist/client/assets/index-BOvFXsF_.js +1 -0
- package/dist/client/assets/index-BbcfxnHC.js +1 -0
- package/dist/client/assets/{index-DqkFtcGQ.js → index-BdKIijqB.js} +1 -1
- package/dist/client/assets/{index-BOEPL6hN.js → index-BfAymWoj.js} +1 -1
- package/dist/client/assets/{index-BKWJiERs.js → index-Bgts5its.js} +1 -1
- package/dist/client/assets/{index-n_pnc-CO.js → index-BiL3chP7.js} +1 -1
- package/dist/client/assets/{index-FI_y_dND.js → index-Bu3PEVA_.js} +1 -1
- package/dist/client/assets/{index-BOhSPP-6.js → index-C6DTV4h3.js} +1 -1
- package/dist/client/assets/{index-Cdod8zEY.js → index-CCH9c-nB.js} +1 -1
- package/dist/client/assets/{index-BkJlIXqM.js → index-CH4NJ8dD.js} +1 -1
- package/dist/client/assets/{index-CiGYtR9O.js → index-CKGJp3Cm.js} +1 -1
- package/dist/client/assets/{index-DEiSJbvu.js → index-CeqI4FFw.js} +1 -1
- package/dist/client/assets/{index-C4t0UTU-.js → index-Cj9-XXKl.js} +1 -1
- package/dist/client/assets/{index-ZR5f82z2.js → index-Cu8tnfM_.js} +1 -1
- package/dist/client/assets/{index-Dcd4NqFB.js → index-D4OWRMsG.js} +1 -1
- package/dist/client/assets/{index-Br6xDNvu.js → index-D8SP73Xw.js} +1 -1
- package/dist/client/assets/{index-CoNMlH37.js → index-DEJXVqcY.js} +1 -1
- package/dist/client/assets/{index-CoKNU2F9.js → index-DEMZynQt.js} +1 -1
- package/dist/client/assets/index-DGzMwE1Z.js +1 -0
- package/dist/client/assets/{index-1QfQImuJ.js → index-DIJdZqg2.js} +3 -3
- package/dist/client/assets/{index-YSHcMqHa.js → index-DIRqrOEK.js} +1 -1
- package/dist/client/assets/{index-CeDn1Ak1.js → index-DNbdGvs9.js} +1 -1
- package/dist/client/assets/{index-7XeZCCDI.js → index-DOBjxRe9.js} +1 -1
- package/dist/client/assets/{index-BJEt9R_G.js → index-DcBlHsnC.js} +1 -1
- package/dist/client/assets/index-DdsaTuqO.js +1 -0
- package/dist/client/assets/index-Dt4H9Tms.js +17 -0
- package/dist/client/assets/{index-DYEmUa5t.js → index-HXC63Ry8.js} +1 -1
- package/dist/client/assets/index-MHIn2TC9.js +1063 -0
- package/dist/client/assets/{index-tgbcsB6H.js → index-OjJ_8uMM.js} +1 -1
- package/dist/client/assets/index-P4Wos1Gi.css +1 -0
- package/dist/client/assets/{index-QSXJR98z.js → index-U5jTIqzv.js} +1 -1
- package/dist/client/assets/{index-CXBYgGja.js → index-ZzPr9GUI.js} +1 -1
- package/dist/client/assets/index-d9cqTUAj.js +1 -0
- package/dist/client/assets/{index-LwL5BpE4.js → index-fcfCRITA.js} +1 -1
- package/dist/client/assets/{index-SOKlO1zZ.js → index-onQlu3UR.js} +1 -1
- package/dist/client/assets/{index.esm-CAeUe7uQ.js → index.esm-DSKTDEoH.js} +1 -1
- package/dist/client/assets/{infoDiagram-MVDRKAX5-DweUdYSy.js → infoDiagram-MVDRKAX5-B8dulOBe.js} +1 -1
- package/dist/client/assets/{inline-code-SYHTKcle.js → inline-code-B3qpjdZ2.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-HPEHV2GE-DKNQIv7P.js → ishikawaDiagram-HPEHV2GE-Cy8aIg0O.js} +1 -1
- package/dist/client/assets/{journeyDiagram-BOSHW7O7-DPD7F4VO.js → journeyDiagram-BOSHW7O7-BZAlejG3.js} +1 -1
- package/dist/client/assets/{kanban-definition-FNSA4HC5-B_uPSwxC.js → kanban-definition-FNSA4HC5-BxS1edpe.js} +1 -1
- package/dist/client/assets/{layers-F4mvrI2l.js → layers-ByCM7XO5.js} +1 -1
- package/dist/client/assets/{lightbulb-a6nNsrzy.js → lightbulb-KjW8YTXH.js} +1 -1
- package/dist/client/assets/{link-2-yI2Tlm7Q.js → link-2-CtFfuMO5.js} +1 -1
- package/dist/client/assets/{list-runtime-types-CsGil5te.js → list-runtime-types-DrzHejZo.js} +1 -1
- package/dist/client/assets/{markdown-content-Cjhsscbn.js → markdown-content-DgiSdNwz.js} +1 -1
- package/dist/client/assets/mention-pill-CHPHlu-U.js +1 -0
- package/dist/client/assets/{mermaid.core-9PwG-9fN.js → mermaid.core-ovqlC4PC.js} +4 -4
- package/dist/client/assets/{message-square-off-aV4NMCjd.js → message-square-off-CEOyy4Pq.js} +1 -1
- package/dist/client/assets/{mindmap-definition-6OY57UG3-BRbWmQkj.js → mindmap-definition-6OY57UG3-CsngqLzI.js} +1 -1
- package/dist/client/assets/{more-details-CRLU2HN4.js → more-details-BW9mauVT.js} +1 -1
- package/dist/client/assets/{owner-notice-CTJbhUak.js → owner-notice-BRUVafHC.js} +1 -1
- package/dist/client/assets/{package-sPggO7Dr.js → package-Bbs99yqi.js} +1 -1
- package/dist/client/assets/{page-container-CnfDuiDC.js → page-container-BVfGgaaJ.js} +1 -1
- package/dist/client/assets/{pane-resize-handle-63OC5vfI.js → pane-resize-handle-BL7Meu5R.js} +1 -1
- package/dist/client/assets/{paperclip-WhPo3_WD.js → paperclip-QOWXs8-5.js} +1 -1
- package/dist/client/assets/path-input-BDRHmgzW.js +1 -0
- package/dist/client/assets/{pegDiagram-ECIUJNBX-Ct9Li_PA.js → pegDiagram-ECIUJNBX-DPsWmWqw.js} +1 -1
- package/dist/client/assets/{pieDiagram-GNMPY74T-BAB5RA5v.js → pieDiagram-GNMPY74T-BdOIDv4F.js} +1 -1
- package/dist/client/assets/{plug-_q5iqunq.js → plug-BrsPyUhu.js} +1 -1
- package/dist/client/assets/primer-trigger-C97fRm1v.js +3 -0
- package/dist/client/assets/{profile-errors-COcBx7w5.js → profile-errors-nPLX60ha.js} +1 -1
- package/dist/client/assets/{progress-77FCPL2y.js → progress-C9TALtIa.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-D57K4MC3-BqPJVmMS.js → quadrantDiagram-D57K4MC3-MzMEunU7.js} +1 -1
- package/dist/client/assets/{query-error-state-5236P3z0.js → query-error-state-BJjgx-WC.js} +1 -1
- package/dist/client/assets/{radio-C8xmfoqO.js → radio-Biql29-B.js} +1 -1
- package/dist/client/assets/{railroadDiagram-Y72NRBL7-B8U11nT6.js → railroadDiagram-Y72NRBL7-Dzx_PYVW.js} +1 -1
- package/dist/client/assets/registry-B0HgbN69.js +1 -0
- package/dist/client/assets/registry-fiUD5cv6.js +39 -0
- package/dist/client/assets/{relay-trace-schemas-B80E4EUn.js → relay-trace-schemas-BJ4MfChd.js} +2 -2
- package/dist/client/assets/{repeat-CHmB_vD7.js → repeat-CKufDGoQ.js} +1 -1
- package/dist/client/assets/{requirementDiagram-EQYSW5RA-CzJ1gzTh.js → requirementDiagram-EQYSW5RA-J0pg6FEt.js} +1 -1
- package/dist/client/assets/{room-files-source-B0gc97Ri.js → room-files-source-iaYdshKo.js} +2 -2
- package/dist/client/assets/{rotate-ccw-clock-CCU6SVnv.js → rotate-ccw-clock-CnARSw5V.js} +1 -1
- package/dist/client/assets/{rotate-cw-B8WQa8O-.js → rotate-cw-BAn_5-Gq.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-SY24JHO5-D4vQwyve.js → sankeyDiagram-SY24JHO5-6V_uy-zQ.js} +1 -1
- package/dist/client/assets/scroll-area-XDq7yL_d.js +1 -0
- package/dist/client/assets/{sequenceDiagram-BLEHNHQU-BVnIsPQe.js → sequenceDiagram-BLEHNHQU-C4jZi3N4.js} +1 -1
- package/dist/client/assets/{shield-x-ijIbRppV.js → shield-x-CpiXuMbN.js} +1 -1
- package/dist/client/assets/signed-in-Rv3Sjk8n.js +1 -0
- package/dist/client/assets/{sizeCapture-INFHLROL-DGb1rAJL.js → sizeCapture-INFHLROL-B7nxFreb.js} +1 -1
- package/dist/client/assets/{soul-file-CXgYs25S.js → soul-file-BQz4TtHo.js} +1 -1
- package/dist/client/assets/{stateDiagram-v2-A6IESKWZ-DeX3IKTm.js → stateDiagram-v2-A6IESKWZ-B5rvc4n2.js} +1 -1
- package/dist/client/assets/{swimlanes-B3ENRKFQ-DN5ljYhG.js → swimlanes-B3ENRKFQ-DnElusDo.js} +1 -1
- package/dist/client/assets/swimlanesDiagram-AYQRV4AK-DLpKz5fF.js +8 -0
- package/dist/client/assets/{table-D9ww_3Ij.js → table-NGiWzPO4.js} +1 -1
- package/dist/client/assets/{timeline-definition-JXYKGLGB-DpRthC3r.js → timeline-definition-JXYKGLGB-DMgyn3XX.js} +1 -1
- package/dist/client/assets/{trust-posture-Dn2ciEE0.js → trust-posture-BArJ9H4j.js} +1 -1
- package/dist/client/assets/{unplug-BZ8zSvfB.js → unplug-MSjeZ0tJ.js} +1 -1
- package/dist/client/assets/{unverified-catalog-notice-CGy05tAO.js → unverified-catalog-notice-DA96H8Df.js} +1 -1
- package/dist/client/assets/{use-bindings-BLAWQRpe.js → use-bindings-BojBqRJS.js} +1 -1
- package/dist/client/assets/{use-composer-prefs-ICOpilWK.js → use-composer-prefs-BDl8aMme.js} +1 -1
- package/dist/client/assets/{use-connector-management-DEMGZy9N.js → use-connector-management-FONU6FK8.js} +1 -1
- package/dist/client/assets/{use-deep-link-scroll-DxGYrks3.js → use-deep-link-scroll-CtbBPBgi.js} +1 -1
- package/dist/client/assets/{use-delete-binding-Bnv3J5Fu.js → use-delete-binding-COhBv6X3.js} +1 -1
- package/dist/client/assets/{use-dev-links-BOcktLiE.js → use-dev-links-Dh0MCiGY.js} +1 -1
- package/dist/client/assets/{use-direct-message-panel-D38tSozW.js → use-direct-message-panel-CYnWunqk.js} +1 -1
- package/dist/client/assets/{use-external-adapter-catalog-9qiNBqpc.js → use-external-adapter-catalog-RTDOW8Yi.js} +1 -1
- package/dist/client/assets/use-filter-state-CSFTDx7z.js +6 -0
- package/dist/client/assets/use-full-activity-feed-DlY_ZbRZ.js +1 -0
- package/dist/client/assets/use-is-below-desktop-ClzGXlRb.js +1 -0
- package/dist/client/assets/{use-local-browser-B1huJhdg.js → use-local-browser-WwZd-FOP.js} +1 -1
- package/dist/client/assets/{use-mesh-topology-BTYAy6zc.js → use-mesh-topology-WnFkjq41.js} +1 -1
- package/dist/client/assets/{use-mounted-ref-CaPc6Prv.js → use-mounted-ref-Dz1h70pz.js} +1 -1
- package/dist/client/assets/{use-notification-prefs-u76DPoP0.js → use-notification-prefs-IrF5_cko.js} +1 -1
- package/dist/client/assets/use-pending-read-CnAnzOt_.js +1 -0
- package/dist/client/assets/use-personality-commit-C4hYkSPy.js +1 -0
- package/dist/client/assets/use-promo-activation-CPVANFBh.js +6 -0
- package/dist/client/assets/{use-promo-dismissals-CO7-qhEl.js → use-promo-dismissals-B9m0HT6L.js} +1 -1
- package/dist/client/assets/{use-pulse-freshness-D07Mv-Sa.js → use-pulse-freshness-DMySxN8D.js} +1 -1
- package/dist/client/assets/{use-room-follow-claim-DRQBuAIe.js → use-room-follow-claim-ByaYVY0o.js} +1 -1
- package/dist/client/assets/{use-room-sessions-Bzk7rM40.js → use-room-sessions-DPB29acU.js} +1 -1
- package/dist/client/assets/{use-roving-tab-list-CcznVldj.js → use-roving-tab-list-BO8kbs-w.js} +1 -1
- package/dist/client/assets/{use-session-canvas-CpgE7tFb.js → use-session-canvas-Cunag2K7.js} +9 -9
- package/dist/client/assets/use-status-budget-jt-9aQR0.js +21 -0
- package/dist/client/assets/{use-transform-ByJGn3hq.js → use-transform-ydtuYUNp.js} +1 -1
- package/dist/client/assets/{use-unclaimed-chats-C-z5fstJ.js → use-unclaimed-chats-ClBWJgNm.js} +1 -1
- package/dist/client/assets/use-update-config-ZHtOtve0.js +1 -0
- package/dist/client/assets/{useMutationState-BF1EFtIZ.js → useMutationState-B8ArIqeH.js} +1 -1
- package/dist/client/assets/{usecaseDiagram-WPOLBNNX-efVKbRIX.js → usecaseDiagram-WPOLBNNX-C5JdAkG9.js} +1 -1
- package/dist/client/assets/{vennDiagram-Q3Y3IDCW-Bravmwce.js → vennDiagram-Q3Y3IDCW-CqLCy7LU.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-IVAIDKWA-fR77zByv.js → wardleyDiagram-IVAIDKWA-C9FlHLTd.js} +1 -1
- package/dist/client/assets/{xychartDiagram-4URNHDU4-BphORSLh.js → xychartDiagram-4URNHDU4-BIm-RUWd.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/drizzle/20261031012841_dor3309_file_turn_on_offer.sql +2 -0
- package/dist/drizzle/20261101122330_schedule_declined_content_key.sql +1 -0
- package/dist/drizzle/20261101195529_work_queue.sql +38 -0
- package/dist/drizzle/20261101233656_dor3644_session_launched_by.sql +1 -0
- package/dist/drizzle/20261102041558_dor3070_marketplace_summary.sql +2 -0
- package/dist/drizzle/20261102051715_dor3440_clear_origin_holds.sql +10 -0
- package/dist/drizzle/20261102135442_agent_browser_profiles.sql +15 -0
- package/dist/drizzle/meta/20261031012841_snapshot.json +14116 -0
- package/dist/drizzle/meta/20261101122330_snapshot.json +14123 -0
- package/dist/drizzle/meta/20261101195529_snapshot.json +14363 -0
- package/dist/drizzle/meta/20261101233656_snapshot.json +14370 -0
- package/dist/drizzle/meta/20261102041558_snapshot.json +14384 -0
- package/dist/drizzle/meta/20261102051715_snapshot.json +14384 -0
- package/dist/drizzle/meta/20261102135442_snapshot.json +14483 -0
- package/dist/drizzle/meta/_journal.json +49 -0
- package/dist/server/extension-child.cjs +1147 -572
- package/dist/server/index.js +45678 -38894
- package/dist/server/index.js.map +2 -2
- package/package.json +5 -5
- package/dist/client/assets/ActivityRow-DIBH4v9c.js +0 -1
- package/dist/client/assets/AdapterSetupWizard-Dle_b9qc.js +0 -2
- package/dist/client/assets/AppearancePage-DXbhUt2e.js +0 -1
- package/dist/client/assets/AttentionSignalRow-5E7TkG98.js +0 -1
- package/dist/client/assets/BindingDialog-q--8SDJF.js +0 -1
- package/dist/client/assets/BlintzCanvas-DruVZcDU.js +0 -1231
- package/dist/client/assets/CanvasFileContent-BThy5fjD.js +0 -2
- package/dist/client/assets/CanvasModel3dContent-BbgR73jh.js +0 -2
- package/dist/client/assets/ChannelComposer-qhk0KtW7.js +0 -44
- package/dist/client/assets/ConnectionAccessLists-DRwO1v0V.js +0 -1
- package/dist/client/assets/HandlePage-B4qbFi40.js +0 -1
- package/dist/client/assets/HeartbeatPage-BnNbQLCW.js +0 -1
- package/dist/client/assets/Marketplace-DbdLWz0-.js +0 -36
- package/dist/client/assets/NamePage-fhxyWDDY.js +0 -1
- package/dist/client/assets/NewDirectMessageMenu-DBAdvv5p.js +0 -1
- package/dist/client/assets/OperatorIdentityForm-Bls5Vo_u.js +0 -1
- package/dist/client/assets/PhotoPage-CNHcXbz4.js +0 -1
- package/dist/client/assets/PreviewRefusedNotice-Ds4IO32o.js +0 -1
- package/dist/client/assets/PromptSuggestionChips-BXxC799Q.js +0 -1
- package/dist/client/assets/RoomSurface-DgH3a_Fv.js +0 -1
- package/dist/client/assets/RunsOnPopover-CEkkjrGg.js +0 -1
- package/dist/client/assets/RuntimeConnectFlow-DXWGgvCW.js +0 -1
- package/dist/client/assets/RuntimeSetupDialog-D6L1QhMF.js +0 -1
- package/dist/client/assets/SettingsDialog-BOOqWKcj.js +0 -12
- package/dist/client/assets/SkillsPage-ntCEhUIM.js +0 -1
- package/dist/client/assets/TaskDialogWrapper-vBWAWwTY.js +0 -1
- package/dist/client/assets/TasksEmptyState-C_3UkAbA.js +0 -3
- package/dist/client/assets/TourHost-B69XAKpE.js +0 -1
- package/dist/client/assets/WidgetErrorCard-BlqaIsPK.js +0 -108
- package/dist/client/assets/WorkView-BekLkR4O.js +0 -51
- package/dist/client/assets/_shell-Du0F-5fK.js +0 -80
- package/dist/client/assets/_shell._home.activity-5rihXoYF.js +0 -1
- package/dist/client/assets/_shell._home.index-BsLNqt4f.js +0 -3
- package/dist/client/assets/_shell._home.tasks-Cxs5tLWA.js +0 -1
- package/dist/client/assets/_shell._home.workspaces-CEHDdfbP.js +0 -1
- package/dist/client/assets/_shell.connections-Bm0WmgXH.js +0 -1
- package/dist/client/assets/_shell.marketplace-CsQ60Mlc.js +0 -1
- package/dist/client/assets/_shell.marketplace_.sources-DNyShS1x.js +0 -1
- package/dist/client/assets/_shell.session-BN42bV3w.js +0 -1
- package/dist/client/assets/_shell.threads-HH4EvufJ.js +0 -1
- package/dist/client/assets/_shell.x._extensionId-3ZlJV1iu.js +0 -1
- package/dist/client/assets/_shell.x._extensionId_._-3ZlJV1iu.js +0 -1
- package/dist/client/assets/card-DUmTNXJJ.js +0 -1
- package/dist/client/assets/channel-B7zgJbnU.js +0 -1
- package/dist/client/assets/form-D93N5lrK.js +0 -1
- package/dist/client/assets/image-lightbox-vgPEvSCc.js +0 -1
- package/dist/client/assets/index-B36osK_S.js +0 -17
- package/dist/client/assets/index-B446r3dL.js +0 -1
- package/dist/client/assets/index-BGo1YiUE.js +0 -1
- package/dist/client/assets/index-BO3yPJt-.js +0 -1
- package/dist/client/assets/index-DE6uOpn4.js +0 -1
- package/dist/client/assets/index-Dag1qeZI.js +0 -1
- package/dist/client/assets/index-Dm0Tav7v.js +0 -1
- package/dist/client/assets/index-Dry_agqN.css +0 -1
- package/dist/client/assets/index-OQuvRZTD.js +0 -1058
- package/dist/client/assets/index-eVrGefuq.js +0 -1
- package/dist/client/assets/mention-pill-BsOeTJ2f.js +0 -1
- package/dist/client/assets/path-input-C2KIXdON.js +0 -1
- package/dist/client/assets/primer-trigger-B2tjuHBx.js +0 -3
- package/dist/client/assets/registry-BzXBOE9h.js +0 -34
- package/dist/client/assets/registry-sfhDu9q2.js +0 -1
- package/dist/client/assets/scroll-area-FwZwM74Q.js +0 -1
- package/dist/client/assets/search-x-Q18Wm-C5.js +0 -6
- package/dist/client/assets/signed-in-DEOMBWVX.js +0 -1
- package/dist/client/assets/swimlanesDiagram-AYQRV4AK-D8kHFWtL.js +0 -8
- package/dist/client/assets/use-full-activity-feed-CtQquOBW.js +0 -1
- package/dist/client/assets/use-is-below-desktop-CAGEAsCC.js +0 -1
- package/dist/client/assets/use-pending-read-D0y6i7G9.js +0 -1
- package/dist/client/assets/use-personality-commit-C3h8upDo.js +0 -1
- package/dist/client/assets/use-promo-activation-5HG08FlB.js +0 -11
- package/dist/client/assets/use-status-budget-Xn2sIeM1.js +0 -16
- package/dist/client/assets/use-update-config-L5NCTj3t.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,B as c,x,G as u,W as o}from"./index-
|
|
1
|
+
import{j as e,B as c,x,G as u,W as o}from"./index-MHIn2TC9.js";const p=o("rounded-xl p-3",{variants:{tone:{muted:"bg-muted/50 text-muted-foreground",destructive:"bg-destructive/10 text-destructive"}},defaultVariants:{tone:"muted"}});function f({icon:n,headline:d,description:r,action:s,preview:t,tone:i,headingLevel:a,className:l}){const m=a?`h${a}`:"p";return e.jsxs("div",{"data-slot":"empty-state",className:u("flex flex-col items-center justify-center gap-3 p-12 text-center",l),children:[t&&e.jsx("div",{className:"pointer-events-none mb-4 w-full max-w-sm opacity-40 select-none",children:t}),e.jsx("div",{className:p({tone:i}),children:e.jsx(n,{className:"size-6","aria-hidden":!0})}),e.jsxs("div",{className:"space-y-1",children:[e.jsx(m,{className:"text-sm font-medium",children:d}),e.jsx("p",{className:"text-muted-foreground max-w-[280px] text-xs",children:r})]}),s&&e.jsxs(c,{size:"sm",variant:s.variant,onClick:s.onClick,disabled:s.disabled||s.busy,className:"mt-1",children:[s.busy&&e.jsx(x,{size:"xs"}),s.label]})]})}export{f as E};
|
package/dist/client/assets/{erDiagram-KYQIGQAA-PpFgUf4C.js → erDiagram-KYQIGQAA-BR7z9r2M.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ut}from"./chunk-XXDRQBXY-C7IAIbvZ.js";import{s as Kt}from"./chunk-VQ5W62QI-B0LNYdif.js";import{_ as f,I as Tt,b as Zt,a as jt,s as qt,g as Wt,t as Ht,v as Qt,c as tt,l as F,k as Xt,A as Jt,z as $t,D as te,E as ee,F as se,K as ie,H as re,L as ae,q as ne,r as oe,u as le}from"./mermaid.core-9PwG-9fN.js";import{s as ce}from"./transform-BqqRT-Iy.js";import{c as he}from"./channel-B7zgJbnU.js";import"./index-OQuvRZTD.js";import"./BlintzCanvas-DruVZcDU.js";import"./index-QSXJR98z.js";import"./index-1QfQImuJ.js";var Ot=(function(){var s=f(function(G,n,h,d){for(h=h||{},d=G.length;d--;h[G[d]]=n);return h},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],l=[1,7],r=[1,9],c=[1,10],y=[1,11],g=[1,12],k=[1,30],N=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],x=[1,19],T=[1,28],I=[1,29],C=[1,20],D=[1,18],L=[1,21],w=[1,22],Nt=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],q=[43,51,53,54,55,74,75],W=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],xt=[69,70,71,72,73],Ct=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,h,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:l,10:8,21:r,23:c,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:N,38:p,39:b,40:A,41:v,43:x,46:T,47:I,51:C,53:D,54:L,55:w},s(a,Nt,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:x,51:C,53:D,54:L,55:w},{10:51,43:x,51:C,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:x,51:C,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(q,[2,77]),s(q,[2,78]),s(q,[2,79]),s(q,[2,80]),s(q,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:l,10:8,21:r,23:c,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:N,38:p,39:b,40:A,41:v,43:x,46:T,47:I,51:C,53:D,54:L,55:w},{12:W,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:W,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(xt,[2,82]),s(xt,[2,83]),s(u,[2,31]),s(u,Nt),{6:st,9:it,35:90,45:Ct,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:W,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(u,[2,45],{45:B}),{6:st,9:it,35:95,45:Ct,50:rt},s(u,[2,32]),{10:97,36:96,43:x,51:C,53:D,54:L,55:w},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:x,51:C,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(u,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:W,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:C,53:D,54:L,55:w},s(vt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:W,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(u,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:B}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:B},s(u,[2,9]),s(yt,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,h){if(h.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=h,d}},"parseError"),parse:f(function(n){var h=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",ct=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=h.symbols_[S]||S),S}f(wt,"lex");for(var E,P,O,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?O=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),O=$[P]&&$[P][E]),typeof O>"u"||!O.length||!O[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(ct+1)+`:
|
|
1
|
+
import{g as Ut}from"./chunk-XXDRQBXY-DKzIjnsB.js";import{s as Kt}from"./chunk-VQ5W62QI-BP9oQzc0.js";import{_ as f,I as Tt,b as Zt,a as jt,s as qt,g as Wt,t as Ht,v as Qt,c as tt,l as F,k as Xt,A as Jt,z as $t,D as te,E as ee,F as se,K as ie,H as re,L as ae,q as ne,r as oe,u as le}from"./mermaid.core-ovqlC4PC.js";import{s as ce}from"./transform-BqqRT-Iy.js";import{c as he}from"./channel-CSk6LhO2.js";import"./index-MHIn2TC9.js";import"./BlintzCanvas-DCXIQZM_.js";import"./index-U5jTIqzv.js";import"./index-DIJdZqg2.js";var Ot=(function(){var s=f(function(G,n,h,d){for(h=h||{},d=G.length;d--;h[G[d]]=n);return h},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],l=[1,7],r=[1,9],c=[1,10],y=[1,11],g=[1,12],k=[1,30],N=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],x=[1,19],T=[1,28],I=[1,29],C=[1,20],D=[1,18],L=[1,21],w=[1,22],Nt=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],q=[43,51,53,54,55,74,75],W=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],xt=[69,70,71,72,73],Ct=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,h,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:l,10:8,21:r,23:c,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:N,38:p,39:b,40:A,41:v,43:x,46:T,47:I,51:C,53:D,54:L,55:w},s(a,Nt,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:x,51:C,53:D,54:L,55:w},{10:51,43:x,51:C,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:x,51:C,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(q,[2,77]),s(q,[2,78]),s(q,[2,79]),s(q,[2,80]),s(q,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:l,10:8,21:r,23:c,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:N,38:p,39:b,40:A,41:v,43:x,46:T,47:I,51:C,53:D,54:L,55:w},{12:W,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:W,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(xt,[2,82]),s(xt,[2,83]),s(u,[2,31]),s(u,Nt),{6:st,9:it,35:90,45:Ct,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:W,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(u,[2,45],{45:B}),{6:st,9:it,35:95,45:Ct,50:rt},s(u,[2,32]),{10:97,36:96,43:x,51:C,53:D,54:L,55:w},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:x,51:C,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(u,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:W,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:C,53:D,54:L,55:w},s(vt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:W,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(u,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:B}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:B},s(u,[2,9]),s(yt,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,h){if(h.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=h,d}},"parseError"),parse:f(function(n){var h=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",ct=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=h.symbols_[S]||S),S}f(wt,"lex");for(var E,P,O,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?O=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),O=$[P]&&$[P][E]),typeof O>"u"||!O.length||!O[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(ct+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":St="Parse error on line "+(ct+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(St,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:mt,expected:ut})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(O[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(O[1]),E=null,Dt=m.yyleng,e=m.yytext,ct=m.yylineno,mt=m.yylloc;break;case 2:if(R=this.productions_[O[1]][1],U.$=_[_.length-R],U._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Et=this.performAction.apply(U,[e,Dt,ct,Y.yy,O[1],_,t].concat(Yt)),typeof Et<"u")return Et;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[O[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(h,d){if(this.yy.parser)this.yy.parser.parseError(h,d);else throw new Error(h)},"parseError"),setInput:f(function(n,h){return this.yy=h||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var h=n.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var h=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),h=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aa as v,ab as E}from"./index-MHIn2TC9.js";const C={none:"None",minimal:"Minimal",low:"Low",medium:"Medium",high:"High",max:"Max",xhigh:"Extra high"};function D(n){return n?C[n]:"Default"}function w(n){return n&&n.length>0?n.map(e=>e.value):void 0}function x(n,e){var o;const i=n.runtime??e.defaultRuntime;if(!e.runtimeDeclaresCredits(i))return!1;if(i!==m)return((o=e.runtimeDefaultsToCredits)==null?void 0:o.call(e,i))??!1;if(!e.credits)return!1;const a=n.account??null;return a===v?e.credits.allowedAgents.includes(n.id):a===null&&e.credits.isDefault}const m="claude-code";function R(n){const{agent:e,defaultRuntime:i,serverDefaultModel:a,knownRuntimes:o,knownModels:c,knownAccounts:r,accountsUnavailable:h,modelSupportsEffort:g,runtimeSupportsEffort:b,runtimeLabel:f=E}=n,t=[],l=[],s=e.runtime??i,p=e.model??a??null,u=s===m&&h!==!0?e.account??null:null,d=u!==null?r==null?void 0:r.find(k=>k.id===u):void 0;return e.runtime!=null&&e.runtime!==i&&l.push({field:"runtime",label:f(e.runtime)}),e.model!=null&&l.push({field:"model",label:e.model}),e.effort!=null&&l.push({field:"effort",label:D(e.effort)}),u!==null&&l.push({field:"account",label:(d==null?void 0:d.label)??u}),o!==void 0&&!o.includes(s)?t.push({kind:"runtime-not-connected",message:`${f(s)} is not connected on this machine.`}):(e.model!=null&&c!==void 0&&!c.includes(e.model)&&t.push({kind:"model-unavailable",message:`${f(s)} no longer offers ${e.model}.`}),u!==null&&r!==void 0&&!d&&t.push({kind:"account-unregistered",message:`“${u}” isn’t on this computer. This agent runs on your default account.`})),e.effort!=null&&(b===!1?t.push({kind:"effort-unsupported-runtime",message:`${f(s)} has no effort setting. It’s ignored.`}):g===!1&&t.push({kind:"effort-unsupported-model",message:`${p??"This model"} does not take an effort setting.`})),{breakages:t,deviations:l,isException:t.length>0||l.length>0,isBroken:t.length>0}}export{x as a,R as d,D as e,w as k};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{O as u,j as t,
|
|
1
|
+
import{O as u,j as t,fJ as h,_ as y,G as _,fK as N,aZ as j}from"./index-MHIn2TC9.js";import{u as b,p as k,W as v,a as E}from"./WidgetErrorCard-CsMqCyCb.js";/**
|
|
2
2
|
* @license lucide-react v1.48.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const m={name:"corner-down-left",size:24,node:[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]]};m.node;const
|
|
6
|
+
*/const m={name:"corner-down-left",size:24,node:[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]]};m.node;const T=u(m);/**
|
|
7
7
|
* @license lucide-react v1.48.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const p={name:"picture-in-picture-2",size:24,node:[["path",{d:"M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4",key:"daa4of"}],["rect",{width:"10",height:"7",x:"12",y:"13",rx:"2",key:"1nb8gs"}]]};p.node;const w=u(p),I=1.6;function r({className:e}){return t.jsx("div",{className:
|
|
11
|
+
*/const p={name:"picture-in-picture-2",size:24,node:[["path",{d:"M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4",key:"daa4of"}],["rect",{width:"10",height:"7",x:"12",y:"13",rx:"2",key:"1nb8gs"}]]};p.node;const w=u(p),I=1.6;function r({className:e}){return t.jsx("div",{className:_("bg-muted rounded-md",e)})}function S(){const e=b();return t.jsxs(h,{gap:"sm",className:"relative overflow-hidden","aria-busy":"true","aria-label":"Loading widget",children:[t.jsxs("div",{className:"flex items-center gap-2.5",children:[t.jsx(r,{className:"size-8 rounded-lg"}),t.jsxs("div",{className:"flex flex-1 flex-col gap-1.5",children:[t.jsx(r,{className:"h-3.5 w-1/3"}),t.jsx(r,{className:"h-2.5 w-1/2"})]})]}),t.jsx(r,{className:"h-2.5 w-full"}),t.jsx(r,{className:"h-2.5 w-5/6"}),t.jsx(r,{className:"h-16 w-full"}),e&&t.jsx(y.div,{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 left-0 w-1/2 -skew-x-12 bg-gradient-to-r from-transparent via-white/50 to-transparent dark:via-white/[0.06]",initial:{x:"-150%"},animate:{x:"350%"},transition:{duration:I,ease:"linear",repeat:1/0,repeatDelay:.4}})]})}function F({code:e,isIncomplete:i,sessionId:n,isLatestMessage:s,isStreaming:d=!1}){const o=N(null),c=j(a=>a.openPip);if(!i){const a=k(e);if(a.ok)o.write(a.document);else if(o.read()===null&&!d)return t.jsx("div",{className:"my-2",children:t.jsx(v,{error:a.error,raw:a.raw})})}const l=o.read();if(l){const a=()=>{n&&c({kind:"widget",sessionId:n,title:l.title??"Widget"})};return t.jsxs("div",{className:"group relative my-2",children:[t.jsx(E,{document:l,sessionId:n,isLatestMessage:s}),n&&t.jsx("button",{type:"button",onClick:x=>{x.stopPropagation(),a()},"aria-label":"Pop out into a floating window",title:"Pop out",className:"text-muted-foreground hover:bg-muted hover:text-foreground bg-background/80 focus-ring absolute top-1 right-1 rounded-md p-1 opacity-100 backdrop-blur-sm transition-opacity focus-visible:opacity-100 md:opacity-0 md:group-hover:opacity-100",children:t.jsx(w,{className:"size-3.5"})})]})}return t.jsx("div",{className:"my-2",children:t.jsx(S,{})})}const L="__optimistic_user__",g="__in_progress_turn__",M="dorkos-ui",f=`\`\`\`${M}`,W="```";function P(e){const i=e.messages.map(s=>({key:s.id,content:s.content,isStreaming:!1}));e.optimisticUserMessage&&i.push({key:L,content:e.optimisticUserMessage.content,isStreaming:!1});const n=e.inProgressTurn.filter(s=>s.type==="text_delta").map(s=>s.text).join("");return n.length>0&&i.push({key:g,content:n,isStreaming:!0}),i}function C(e){return e.endsWith("\r")?e.slice(0,-1):e}function R(e){const i=e.lastIndexOf(f),n=e.indexOf(`
|
|
12
12
|
`,i),s=n===-1?e.length:n+1,o=e.slice(s).split(`
|
|
13
|
-
`),c=o.findIndex(a=>a.trimEnd()===
|
|
14
|
-
`),isIncomplete:c===-1}}function
|
|
13
|
+
`),c=o.findIndex(a=>a.trimEnd()===W);return{code:(c===-1?o:o.slice(0,c)).map(C).join(`
|
|
14
|
+
`),isIncomplete:c===-1}}function G(e){const i=P(e);for(let n=i.length-1;n>=0;n--){const s=i[n];if(!s.content.includes(f))continue;const{code:d,isIncomplete:o}=R(s.content);return{code:d,isIncomplete:o,sourceMessageKey:s.key,isLatest:!0,isStreaming:s.key===g}}return null}export{T as C,w as P,M as W,F as a,f as b,G as f};
|
package/dist/client/assets/{flowDiagram-IUGLLWBU-BIva66g9.js → flowDiagram-IUGLLWBU-DiuMtMbj.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as qt}from"./chunk-5VM5RSS4-
|
|
1
|
+
import{g as qt}from"./chunk-5VM5RSS4-Qg9lQpPO.js";import{g as Xt}from"./chunk-XXDRQBXY-DKzIjnsB.js";import{s as Qt}from"./chunk-VQ5W62QI-BP9oQzc0.js";import{_ as m,p as Jt,l as te,c as Ae,q as Zt,r as $t,u as rt,b as e1,s as t1,t as s1,a as i1,g as r1,v as a1,k as n1,x as u1,J as o1,y as l1,z as st,A as c1,B as h1,D as d1,E as p1,F as f1,G as g1,H as b1}from"./mermaid.core-ovqlC4PC.js";import{c as k1}from"./chunk-55XCU76K-BdbLnE56.js";import{s as it}from"./transform-BqqRT-Iy.js";import{p as A1}from"./BlintzCanvas-DCXIQZM_.js";import{c as m1}from"./channel-CSk6LhO2.js";var C1="flowchart-",Pe,T1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=e1,this.setAccDescription=t1,this.setDiagramTitle=s1,this.getAccTitle=i1,this.getAccDescription=r1,this.getDiagramTitle=a1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return n1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const n of this.vertices.values())if(n.id===i)return this.diagramId?`${this.diagramId}-${n.domId}`:n.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,n,r,a,o,b,l={},k){var F,_;if(!i||i.trim().length===0)return;let u;if(k!==void 0){let B;k.includes(`
|
|
2
2
|
`)?B=k+`
|
|
3
3
|
`:B=`{
|
|
4
4
|
`+k+`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var tt=t=>{throw TypeError(t)};var it=(t,r,e)=>r.has(t)||tt("Cannot "+e);var y=(t,r,e)=>(it(t,r,"read from private field"),e?e.call(t):r.get(t)),N=(t,r,e)=>r.has(t)?tt("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,e),B=(t,r,e,i)=>(it(t,r,"write to private field"),i?i.call(t,e):r.set(t,e),e);var st=(t,r,e,i)=>({set _(n){B(t,r,n,e)},get _(){return y(t,r,i)}});import{r as C,m7 as yt,j as p,m8 as Vt,dx as he,dy as fe,I as At,h3 as me,i3 as ge,dw as Et,eo as wt,ep as It,eq as Ct,er as Lt,es as Tt,i2 as mt,a3 as xt,gT as Dt,ew as Bt,B as kt}from"./index-MHIn2TC9.js";function jt({update:t,notify:r,unwatched:e}){return{link:i,unlink:n,propagate:h,checkDirty:s,shallowPropagate:a};function i(o,u,l){const f=u.depsTail;if(f!==void 0&&f.dep===o)return;const m=f!==void 0?f.nextDep:u.deps;if(m!==void 0&&m.dep===o){m.version=l,u.depsTail=m;return}const c=o.subsTail;if(c!==void 0&&c.version===l&&c.sub===u)return;const g=u.depsTail=o.subsTail={version:l,dep:o,sub:u,prevDep:f,nextDep:m,prevSub:c,nextSub:void 0};m!==void 0&&(m.prevDep=g),f!==void 0?f.nextDep=g:u.deps=g,c!==void 0?c.nextSub=g:o.subs=g}function n(o,u=o.sub){const l=o.dep,f=o.prevDep,m=o.nextDep,c=o.nextSub,g=o.prevSub;return m!==void 0?m.prevDep=f:u.depsTail=f,f!==void 0?f.nextDep=m:u.deps=m,c!==void 0?c.prevSub=g:l.subsTail=g,g!==void 0?g.nextSub=c:(l.subs=c)===void 0&&e(l),m}function h(o){let u=o.nextSub,l;e:do{const f=o.sub;let m=f.flags;if(m&60?m&12?m&4?!(m&48)&&d(o,f)?(f.flags=m|40,m&=1):m=0:f.flags=m&-9|32:m=0:f.flags=m|32,m&2&&r(f),m&1){const c=f.subs;if(c!==void 0){const g=(o=c).nextSub;g!==void 0&&(l={value:u,prev:l},u=g);continue}}if((o=u)!==void 0){u=o.nextSub;continue}for(;l!==void 0;)if(o=l.value,l=l.prev,o!==void 0){u=o.nextSub;continue e}break}while(!0)}function s(o,u){let l,f=0,m=!1;e:do{const c=o.dep,g=c.flags;if(u.flags&16)m=!0;else if((g&17)===17){if(t(c)){const v=c.subs;v.nextSub!==void 0&&a(v),m=!0}}else if((g&33)===33){(o.nextSub!==void 0||o.prevSub!==void 0)&&(l={value:o,prev:l}),o=c.deps,u=c,++f;continue}if(!m){const v=o.nextDep;if(v!==void 0){o=v;continue}}for(;f--;){const v=u.subs,S=v.nextSub!==void 0;if(S?(o=l.value,l=l.prev):o=v,m){if(t(u)){S&&a(v),u=o.sub;continue}m=!1}else u.flags&=-33;u=o.sub;const F=o.nextDep;if(F!==void 0){o=F;continue e}}return m}while(!0)}function a(o){do{const u=o.sub,l=u.flags;(l&48)===32&&(u.flags=l|16,(l&6)===2&&r(u))}while((o=o.nextSub)!==void 0)}function d(o,u){let l=u.depsTail;for(;l!==void 0;){if(l===o)return!0;l=l.prevDep}return!1}}function Qe(t,r,e){var h,s,a;const i=typeof t=="object",n=i?t:void 0;return{next:(h=i?t.next:t)==null?void 0:h.bind(n),error:(s=i?t.error:r)==null?void 0:s.bind(n),complete:(a=i?t.complete:e)==null?void 0:a.bind(n)}}const He=[];let De=0;const{link:rt,unlink:Pt,propagate:_t,checkDirty:gt,shallowPropagate:nt}=jt({update(t){return t._update()},notify(t){He[Xe++]=t,t.flags&=-3},unwatched(t){t.depsTail!==void 0&&(t.depsTail=void 0,t.flags=17,Pe(t))}});let Le=0,Xe=0,z,Ze=0;function _(t){try{++Ze,t()}finally{--Ze||vt()}}function Pe(t){const r=t.depsTail;let e=r!==void 0?r.nextDep:t.deps;for(;e!==void 0;)e=Pt(e,t)}function vt(){if(!(Ze>0)){for(;Le<Xe;){const t=He[Le];He[Le++]=void 0,t.notify()}Le=0,Xe=0}}function bt(t,r){const e=typeof t=="function",i=t,n={_snapshot:e?void 0:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:e?0:1,get(){return z!==void 0&&rt(n,z,De),n._snapshot},subscribe(h){const s=Qe(h),a={current:!1},d=Rt(()=>{var o;n.get(),a.current?(o=s.next)==null||o.call(s,n._snapshot):a.current=!0});return{unsubscribe:()=>{d.stop()}}},_update(h){const s=z,a=Object.is;if(e)z=n,++De,n.depsTail=void 0;else if(h===void 0)return!1;e&&(n.flags=5);try{const d=n._snapshot,o=typeof h=="function"?h(d):h===void 0&&e?i(d):h;return d===void 0||!a(d,o)?(n._snapshot=o,!0):!1}finally{z=s,e&&(n.flags&=-5),Pe(n)}}};return e?(n.flags=17,n.get=function(){const h=n.flags;if(h&16||h&32&>(n.deps,n)){if(n._update()){const s=n.subs;s!==void 0&&nt(s)}}else h&32&&(n.flags=h&-33);return z!==void 0&&rt(n,z,De),n._snapshot}):n.set=function(h){if(n._update(h)){const s=n.subs;s!==void 0&&(_t(s),nt(s),vt())}},n}function Rt(t){const r=()=>{const i=z;z=e,++De,e.depsTail=void 0,e.flags=6;try{return t()}finally{z=i,e.flags&=-5,Pe(e)}},e={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:6,notify(){const i=this.flags;i&16||i&32&>(this.deps,this)?r():this.flags=2},stop(){this.flags=0,this.depsTail=void 0,Pe(this)}};return r(),e}var Nt=class{constructor(t,r){this.atom=bt(t),this.get=this.get.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),r&&(this.actions=r(this))}setState(t){this.atom.set(t)}get state(){return this.atom.get()}get(){return this.state}subscribe(t){return this.atom.subscribe(Qe(t))}},Ot=class{constructor(t){this.atom=bt(t)}get state(){return this.atom.get()}get(){return this.state}subscribe(t){return this.atom.subscribe(Qe(t))}};function ie(t,r){return typeof t=="function"?new Ot(t):new Nt(t)}var Gt=class{constructor(t,r){this.fn=t,this.options=r,this.lastExecutionTime=0,this.isPending=!1,this.maybeExecute=(...e)=>{const i=Date.now()-this.lastExecutionTime;if(this.options.leading&&i>=this.options.wait)this.execute(...e);else if(this.lastArgs=e,!this.timeoutId&&this.options.trailing){const n=this.options.wait-i;this.isPending=!0,this.timeoutId=setTimeout(()=>{this.lastArgs!==void 0&&this.execute(...this.lastArgs)},n)}},this.execute=(...e)=>{var i,n;this.fn(...e),(n=(i=this.options).onExecute)==null||n.call(i,e,this),this.lastExecutionTime=Date.now(),this.clearTimeout(),this.lastArgs=void 0,this.isPending=!1},this.flush=()=>{this.isPending&&this.lastArgs&&this.execute(...this.lastArgs)},this.cancel=()=>{this.clearTimeout(),this.lastArgs=void 0,this.isPending=!1},this.clearTimeout=()=>{this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0)},this.options.leading===void 0&&this.options.trailing===void 0&&(this.options.leading=!0,this.options.trailing=!0)}};function $t(t,r){return new Gt(t,r).maybeExecute}var ee,U,G,we,H,re,X,ue,Ie,Ne,te,de,Z,Ce,ce,Oe;class Wt{constructor({pluginId:r,debug:e=!1,enabled:i=!0,reconnectEveryMs:n=300}){N(this,ee,!0);N(this,U);N(this,G);N(this,we);N(this,H);N(this,re);N(this,X);N(this,ue);N(this,Ie,0);N(this,Ne,5);N(this,te,!1);N(this,de,!1);N(this,Z,null);N(this,Ce,()=>{this.debugLog("Connected to event bus"),B(this,re,!0),B(this,te,!1),this.debugLog("Emitting queued events",y(this,H)),y(this,H).forEach(r=>this.emitEventToBus(r)),B(this,H,[]),this.stopConnectLoop(),y(this,G).call(this).removeEventListener("tanstack-connect-success",y(this,Ce))});N(this,ce,()=>{if(y(this,Ie)<y(this,Ne)){st(this,Ie)._++,this.dispatchCustomEvent("tanstack-connect",{});return}y(this,G).call(this).removeEventListener("tanstack-connect",y(this,ce)),B(this,de,!0),this.debugLog("Max retries reached, giving up on connection"),this.stopConnectLoop()});N(this,Oe,()=>{y(this,te)||(B(this,te,!0),y(this,G).call(this).addEventListener("tanstack-connect-success",y(this,Ce)),y(this,ce).call(this))});B(this,U,r),B(this,ee,i),B(this,G,this.getGlobalTarget),B(this,we,e),this.debugLog(" Initializing event subscription for plugin",y(this,U)),B(this,H,[]),B(this,re,!1),B(this,de,!1),B(this,X,null),B(this,ue,n)}startConnectLoop(){y(this,X)!==null||y(this,re)||(this.debugLog(`Starting connect loop (every ${y(this,ue)}ms)`),B(this,X,setInterval(y(this,ce),y(this,ue))))}stopConnectLoop(){B(this,te,!1),y(this,X)!==null&&(clearInterval(y(this,X)),B(this,X,null),B(this,H,[]),this.debugLog("Stopped connect loop"))}debugLog(...r){y(this,we)&&console.log(`🌴 [tanstack-devtools:${y(this,U)}-plugin]`,...r)}getGlobalTarget(){if(typeof globalThis<"u"&&globalThis.__TANSTACK_EVENT_TARGET__)return this.debugLog("Using global event target"),globalThis.__TANSTACK_EVENT_TARGET__;if(typeof window<"u"&&typeof window.addEventListener<"u")return this.debugLog("Using window as event target"),window;const r=typeof EventTarget<"u"?new EventTarget:void 0;return typeof r>"u"||typeof r.addEventListener>"u"?(this.debugLog("No event mechanism available, running in non-web environment"),{addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!1}):(this.debugLog("Using new EventTarget as fallback"),r)}getPluginId(){return y(this,U)}dispatchCustomEventShim(r,e){try{const i=new Event(r,{detail:e});y(this,G).call(this).dispatchEvent(i)}catch{this.debugLog("Failed to dispatch shim event")}}dispatchCustomEvent(r,e){try{y(this,G).call(this).dispatchEvent(new CustomEvent(r,{detail:e}))}catch{this.dispatchCustomEventShim(r,e)}}emitEventToBus(r){this.debugLog("Emitting event to client bus",r),this.dispatchCustomEvent("tanstack-dispatch-event",r)}createEventPayload(r,e){return{type:`${y(this,U)}:${r}`,payload:e,pluginId:y(this,U)}}emit(r,e){if(!y(this,ee)){this.debugLog("Event bus client is disabled, not emitting event",r,e);return}if(y(this,Z)&&(this.debugLog("Emitting event to internal event target",r,e),y(this,Z).dispatchEvent(new CustomEvent(`${y(this,U)}:${r}`,{detail:this.createEventPayload(r,e)}))),y(this,de)){this.debugLog("Previously failed to connect, not emitting to bus");return}if(!y(this,re)){this.debugLog("Bus not available, will be pushed as soon as connected"),y(this,H).push(this.createEventPayload(r,e)),typeof CustomEvent<"u"&&!y(this,te)&&(y(this,Oe).call(this),this.startConnectLoop());return}return this.emitEventToBus(this.createEventPayload(r,e))}on(r,e,i){const n=(i==null?void 0:i.withEventTarget)??!1,h=`${y(this,U)}:${r}`;if(n&&(y(this,Z)||B(this,Z,new EventTarget),y(this,Z).addEventListener(h,a=>{e(a.detail)})),!y(this,ee))return this.debugLog("Event bus client is disabled, not registering event",h),()=>{};const s=a=>{this.debugLog("Received event from bus",a.detail),e(a.detail)};return y(this,G).call(this).addEventListener(h,s),this.debugLog("Registered event to bus",h),()=>{var a;n&&((a=y(this,Z))==null||a.removeEventListener(h,s)),y(this,G).call(this).removeEventListener(h,s)}}onAll(r){if(!y(this,ee))return this.debugLog("Event bus client is disabled, not registering event"),()=>{};const e=i=>{const n=i.detail;r(n)};return y(this,G).call(this).addEventListener("tanstack-devtools-global",e),()=>y(this,G).call(this).removeEventListener("tanstack-devtools-global",e)}onAllPluginEvents(r){if(!y(this,ee))return this.debugLog("Event bus client is disabled, not registering event"),()=>{};const e=i=>{const n=i.detail;y(this,U)&&n.pluginId!==y(this,U)||r(n)};return y(this,G).call(this).addEventListener("tanstack-devtools-global",e),()=>y(this,G).call(this).removeEventListener("tanstack-devtools-global",e)}}ee=new WeakMap,U=new WeakMap,G=new WeakMap,we=new WeakMap,H=new WeakMap,re=new WeakMap,X=new WeakMap,ue=new WeakMap,Ie=new WeakMap,Ne=new WeakMap,te=new WeakMap,de=new WeakMap,Z=new WeakMap,Ce=new WeakMap,ce=new WeakMap,Oe=new WeakMap;class Ut extends Wt{constructor(){super({pluginId:"form-devtools",reconnectEveryMs:1e3})}}const K=new Ut;function ve(t,r){return typeof t=="function"?t(r):t}function le(t,r){return Ge(r).reduce((i,n)=>{if(i===null)return null;if(typeof i<"u")return i[n]},t)}function Fe(t,r,e){const i=Ge(r);function n(h){if(!i.length)return ve(e,h);const s=i.shift();if(typeof s=="string"||typeof s=="number"&&!Array.isArray(h))return typeof h=="object"?(h===null&&(h={}),{...h,[s]:n(h[s])}):{[s]:n()};if(Array.isArray(h)&&typeof s=="number"){const a=h.slice(0,s);return[...a.length?a:new Array(s),n(h[s]),...h.slice(s+1)]}return[...new Array(s),n()]}return n(t)}function Kt(t,r){const e=Ge(r);function i(n){if(!n)return;if(e.length===1){const s=e[0];if(Array.isArray(n)&&typeof s=="number")return n.filter((o,u)=>u!==s);const{[s]:a,...d}=n;return d}const h=e.shift();if((typeof h=="string"||typeof h=="number"&&!Array.isArray(n))&&typeof n=="object")return{...n,[h]:i(n[h])};if(typeof h=="number"&&Array.isArray(n)){if(h>=n.length)return n;const s=n.slice(0,h);return[...s.length?s:new Array(h),i(n[h]),...n.slice(h+1)]}throw new Error("It seems we have created an infinite loop in deleteBy. ")}return i(t)}const at=46,$e=91,We=93,ot=48,zt=57;function Ge(t){if(Array.isArray(t))return[...t];if(typeof t!="string")throw new Error("Path must be a string.");const r=t.length,e=[];let i=r>0&&t.charCodeAt(0)===$e?1:0,n=!0,h=-1;for(let s=i;s<=r;s++){const a=s<r?t.charCodeAt(s):-1;if(s===r||a===at||a===$e||a===We){const d=s-i;if(d>0){const o=n&&(d===1||t.charCodeAt(i)!==ot),u=t.slice(i,s);if(o){const l=parseInt(u,10);d<=15||String(l)===u?e.push(l):e.push(u)}else e.push(u)}else h!==We&&!(h===-1&&a===We)&&!(h===a&&(a===at||a===$e))&&e.push("");i=s+1,n=!0}else(a<ot||a>zt)&&(n=!1);h=a}return e.length||e.push(""),e}function lt(t,r){return t.length===0?r:r.length===0?t:r.startsWith("[")||r.startsWith(".")?t+r:`${t}.${r}`}function qt(t){return!(Array.isArray(t)&&t.length===0)}function ye(t,r){const e=i=>i.validators.filter(Boolean).map(n=>({cause:n.cause,validate:n.fn}));return r.validationLogic({form:r.form,group:r.group,validators:r.validators,event:{type:t,fieldName:r.fieldName,async:!1},runValidation:e})}function Ve(t,r){const{asyncDebounceMs:e}=r,{onBlurAsyncDebounceMs:i,onChangeAsyncDebounceMs:n,onDynamicAsyncDebounceMs:h}=r.validators||{},s=e??0,a=d=>d.validators.filter(Boolean).map(o=>{const u=(o==null?void 0:o.cause)||t;let l=s;switch(u){case"change":l=n??s;break;case"blur":l=i??s;break;case"dynamic":l=h??s;break;case"submit":l=0;break}return t==="submit"&&(l=0),{cause:u,validate:o.fn,debounceMs:l}});return r.validationLogic({form:r.form,group:r.group,validators:r.validators,event:{type:t,fieldName:r.fieldName,async:!0},runValidation:a})}const Be=t=>!!t&&typeof t=="object"&&"fields"in t;function J(t,r){if(Object.is(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;if(t instanceof Date&&r instanceof Date)return t.getTime()===r.getTime();if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(const[n,h]of t)if(!r.has(n)||!Object.is(h,r.get(n)))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(const n of t)if(!r.has(n))return!1;return!0}const e=Object.keys(t),i=Object.keys(r);if(e.length!==i.length||e.length===0&&!Array.isArray(t)&&!Array.isArray(r)&&(Object.getPrototypeOf(t)!==Object.prototype||Object.getPrototypeOf(r)!==Object.prototype))return!1;for(const n of e)if(!i.includes(n)||!J(t[n],r[n]))return!1;return!0}const Je=({newFormValidatorError:t,isPreviousErrorFromFormValidator:r,previousErrorValue:e})=>t?{newErrorValue:t,newSource:"form"}:r?{newErrorValue:void 0,newSource:void 0}:e?{newErrorValue:e,newSource:"field"}:{newErrorValue:void 0,newSource:void 0},_e=({formLevelError:t,fieldLevelError:r})=>r?{newErrorValue:r,newSource:"field"}:t?{newErrorValue:t,newSource:"form"}:{newErrorValue:void 0,newSource:void 0};function $(t,r){return t==null?r:{...t,...r}}let se=256;const ke=[];let Te;for(;se--;)ke[se]=(se+256).toString(16).substring(1);function Ft(){let t=0,r,e="";if(!Te||se+16>256){for(Te=new Array(256),t=256;t--;)Te[t]=256*Math.random()|0;t=0,se=0}for(;t<16;t++)r=Te[se+t],t===6?e+=ke[r&15|64]:t===8?e+=ke[r&63|128]:e+=ke[r],t&1&&t>1&&t<11&&(e+="-");return se++,e}const Ht=$t(t=>K.emit("form-state",{id:t.formId,state:t.store.state}),{wait:300});function pe(t){if(t===null||typeof t!="object")return t;if(t instanceof Date)return new Date(t.getTime());if(Array.isArray(t)){const e=[];for(let i=0;i<t.length;i++)e[i]=pe(t[i]);return e}if(t instanceof Map){const e=new Map;return t.forEach((i,n)=>{e.set(n,pe(i))}),e}if(t instanceof Set){const e=new Set;return t.forEach(i=>{e.add(pe(i))}),e}const r={};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=pe(t[e]));return r}function ne(t,r){return r===t||r.startsWith(`${t}.`)||r.startsWith(`${t}[`)}const q=t=>{if(!t.validators)return t.runValidation({validators:[],form:t.form});const r=t.event.async,e=r?void 0:{fn:t.validators.onMount,cause:"mount"},i={fn:r?t.validators.onChangeAsync:t.validators.onChange,cause:"change"},n={fn:r?t.validators.onBlurAsync:t.validators.onBlur,cause:"blur"},h={fn:r?t.validators.onSubmitAsync:t.validators.onSubmit,cause:"submit"},s=r?void 0:{fn:()=>{},cause:"server"};switch(t.event.type){case"mount":return t.runValidation({validators:[e],form:t.form});case"submit":return t.runValidation({validators:[i,n,h,s],form:t.form});case"server":return t.runValidation({validators:[],form:t.form});case"blur":return t.runValidation({validators:[n,s],form:t.form});case"change":return t.runValidation({validators:[i,s],form:t.form});default:throw new Error(`Unknown validation event type: ${t.event.type}`)}};function Xt(t,r){const e=new Map;for(const i of t){const n=i.path??[];let h=r,s="";for(let a=0;a<n.length;a++){const d=n[a];if(d===void 0)continue;const o=typeof d=="object"?d.key:d,u=Number(o);Array.isArray(h)&&!Number.isNaN(u)?s+=`[${u}]`:s+=(a>0?".":"")+String(o),typeof h=="object"&&h!==null?h=h[o]:h=void 0}e.set(s,(e.get(s)??[]).concat(i))}return Object.fromEntries(e)}const ut=(t,r)=>{const e=Xt(t,r);return{form:e,fields:e}},ae={validate({value:t,validationSource:r},e){const i=e["~standard"].validate(t);if(i instanceof Promise)throw new Error("async function passed to sync validator");if(i.issues)return r==="field"?i.issues:ut(i.issues,t)},async validateAsync({value:t,validationSource:r},e){const i=await e["~standard"].validate(t);if(i.issues)return r==="field"?i.issues:ut(i.issues,t)}},Ye=t=>!!t&&"~standard"in t,O={isValidating:!1,isTouched:!1,isBlurred:!1,isDirty:!1,isPristine:!0,isValid:!0,isDefaultValue:!0,errors:[],errorMap:{},errorSourceMap:{},_arrayVersion:0,_pendingValidationsCount:0};function Y(t){function r(l){const f=t.getFieldMeta(l)??O;t.setFieldMeta(l,{...f,_arrayVersion:(f._arrayVersion||0)+1})}function e(l,f,m){r(l);const c=a(l,f,"move",m),g=Math.min(f,m),v=Math.max(f,m);for(let F=g;F<=v;F++)c.push(s(l,F));const S=Object.keys(t.fieldInfo).reduce((F,M)=>(M.startsWith(s(l,f))&&F.set(M,t.getFieldMeta(M)),F),new Map);o(c,f<m?"up":"down"),Object.keys(t.fieldInfo).filter(F=>F.startsWith(s(l,m))).forEach(F=>{const M=F.replace(s(l,m),s(l,f)),V=S.get(M);V&&t.setFieldMeta(F,V)})}function i(l,f){r(l);const m=a(l,f,"remove");o(m,"up")}function n(l,f,m){r(l),a(l,f,"swap",m).forEach(g=>{if(!g.toString().startsWith(s(l,f)))return;const v=g.toString().replace(s(l,f),s(l,m)),[S,F]=[t.getFieldMeta(g),t.getFieldMeta(v)];S&&t.setFieldMeta(v,S),F&&t.setFieldMeta(g,F)})}function h(l,f){r(l);const m=a(l,f,"insert");o(m,"down"),m.forEach(c=>{c.toString().startsWith(s(l,f))&&t.setFieldMeta(c,u())})}function s(l,f){return`${l}[${f}]`}function a(l,f,m,c){const g=[s(l,f)];switch(m){case"swap":g.push(s(l,c));break;case"move":{const[v,S]=[Math.min(f,c),Math.max(f,c)];for(let F=v;F<=S;F++)g.push(s(l,F));break}default:{const v=t.getFieldValue(l),S=Array.isArray(v)?v.length:0;for(let F=f+1;F<S;F++)g.push(s(l,F));break}}return Object.keys(t.fieldInfo).filter(v=>g.some(S=>v.startsWith(S)))}function d(l,f){return l.replace(/\[(\d+)\]/,(m,c)=>{const g=parseInt(c,10);return`[${f==="up"?g+1:Math.max(0,g-1)}]`})}function o(l,f){(f==="up"?l:[...l].reverse()).forEach(c=>{const g=d(c.toString(),f),v=t.getFieldMeta(g);v?t.setFieldMeta(c,v):t.setFieldMeta(c,u())})}const u=()=>O;return{bumpArrayVersion:r,handleArrayMove:e,handleArrayRemove:i,handleArraySwap:n,handleArrayInsert:h}}function Ue(t){return{values:t.values??{},errorMap:t.errorMap??{},fieldMetaBase:t.fieldMetaBase??{},formGroupStateBase:t.formGroupStateBase??{},isSubmitted:t.isSubmitted??!1,isSubmitting:t.isSubmitting??!1,isValidating:t.isValidating??!1,submissionAttempts:t.submissionAttempts??0,isSubmitSuccessful:t.isSubmitSuccessful??!1,validationMetaMap:t.validationMetaMap??{onChange:void 0,onBlur:void 0,onSubmit:void 0,onMount:void 0,onServer:void 0,onDynamic:void 0}}}class dt{constructor(r){var h;this.options={},this.fieldInfo={},this.formGroupApis=new Set,this.mount=()=>{var f,m;const s=this.store.subscribe(()=>{Ht(this)}),a=K.on("request-form-state",c=>{c.payload.id===this._formId&&K.emit("form-api",{id:this._formId,state:this.store.state,options:this.options})}),d=K.on("request-form-reset",c=>{c.payload.id===this._formId&&this.reset()}),o=K.on("request-form-force-submit",c=>{c.payload.id===this._formId&&(this._devtoolsSubmissionOverride=!0,this.handleSubmit(),this._devtoolsSubmissionOverride=!1)}),u=()=>{o(),d(),a(),s.unsubscribe(),K.emit("form-unmounted",{id:this._formId})};(m=(f=this.options.listeners)==null?void 0:f.onMount)==null||m.call(f,{formApi:this});const{onMount:l}=this.options.validators||{};return K.emit("form-api",{id:this._formId,state:this.store.state,options:this.options}),l&&this.validateSync("mount"),u},this.update=s=>{if(!s)return;const a=this.options;this.options=s;const d=s.defaultValues&&!J(s.defaultValues,a.defaultValues)&&!this.state.isTouched,o=!J(s.defaultState,a.defaultState)&&!this.state.isTouched;if(!(!d&&!o)){if(_(()=>{this.baseStore.setState(()=>Ue(Object.assign({},this.state,o?s.defaultState:{},d?{values:s.defaultValues}:{})))}),d){const u=Y(this);for(const l of Object.keys(this.fieldInfo))Array.isArray(this.getFieldValue(l))&&u.bumpArrayVersion(l)}K.emit("form-api",{id:this._formId,state:this.store.state,options:this.options})}},this.reset=(s,a)=>{const{fieldMeta:d}=this.state,o=this.resetFieldMeta(d);s&&!(a!=null&&a.keepDefaultValues)&&(this.options={...this.options,defaultValues:s}),this.baseStore.setState(()=>{var l;let u=s??this.options.defaultValues??((l=this.options.defaultState)==null?void 0:l.values);return s||Object.values(this.fieldInfo).forEach(f=>{f.instance&&f.instance.options.defaultValue!==void 0&&(u=Fe(u,f.instance.name,f.instance.options.defaultValue))}),Ue({...this.options.defaultState,values:u,fieldMetaBase:o})})},this.validateAllFields=async s=>{const a=[];return _(()=>{Object.values(this.fieldInfo).forEach(o=>{if(!o.instance)return;const u=o.instance;a.push(Promise.resolve().then(()=>u.validate(s,{skipFormValidation:!0,skipGroupValidation:!0}))),o.instance.store.state.meta.isTouched||o.instance.setMeta(l=>({...l,isTouched:!0}))})}),(await Promise.all(a)).flat()},this.validateArrayFieldsStartingFrom=async(s,a,d)=>{const o=this.getFieldValue(s),u=Array.isArray(o)?Math.max(o.length-1,0):null,l=[`${s}[${a}]`];for(let g=a+1;g<=(u??0);g++)l.push(`${s}[${g}]`);const f=Object.keys(this.fieldInfo).filter(g=>l.some(v=>g.startsWith(v))),m=[];return _(()=>{f.forEach(g=>{m.push(Promise.resolve().then(()=>this.validateField(g,d)))})}),(await Promise.all(m)).flat()},this.validateField=(s,a)=>{var o,u;const d=(o=this.fieldInfo[s])==null?void 0:o.instance;if(!d){const{hasErrored:l}=this.validateSync(a);return l&&!this.options.asyncAlways?((u=this.getFieldMeta(s))==null?void 0:u.errors)??[]:this.validateAsync(a).then(()=>{var f;return((f=this.getFieldMeta(s))==null?void 0:f.errors)??[]})}return d.store.state.meta.isTouched||d.setMeta(l=>({...l,isTouched:!0})),d.validate(a)},this.validateSync=(s,a)=>{const d=ye(s,{...this.options,form:this,group:a==null?void 0:a.group,validationLogic:this.options.validationLogic||q});let o=!1;const u={};return _(()=>{var m,c,g;for(const v of d){if(!v.validate)continue;const S=this.runValidator({validate:v.validate,value:{value:this.state.values,formApi:this,validationSource:"form"},type:"validate"}),{formError:F,fieldErrors:M}=je(S),V=Me(v.cause);let w=new Set([...Object.keys(this.state.fieldMeta),...Object.keys(M||{})]);a!=null&&a.filterFieldNames&&(w=new Set([...w].filter(a.filterFieldNames)));for(const b of w){if(this.baseStore.state.fieldMetaBase[b]===void 0&&!(M!=null&&M[b]))continue;const L=this.getFieldMeta(b)??O,{errorMap:E,errorSourceMap:A}=L,D=M==null?void 0:M[b],{newErrorValue:j,newSource:T}=Je({newFormValidatorError:D,isPreviousErrorFromFormValidator:(A==null?void 0:A[V])==="form",previousErrorValue:E==null?void 0:E[V]});T==="form"&&(u[b]={...u[b],[V]:D}),(E==null?void 0:E[V])!==j&&this.setFieldMeta(b,(I=O)=>({...I,errorMap:{...I.errorMap,[V]:j},errorSourceMap:{...I.errorSourceMap,[V]:T}}))}a!=null&&a.dontUpdateFormErrorMap||((m=this.state.errorMap)==null?void 0:m[V])!==F&&this.baseStore.setState(b=>({...b,errorMap:{...b.errorMap,[V]:F}})),(F||M)&&(o=!0)}if(a!=null&&a.dontUpdateFormErrorMap)return;const l=Me("submit");(c=this.state.errorMap)!=null&&c[l]&&s!=="submit"&&!o&&this.baseStore.setState(v=>({...v,errorMap:{...v.errorMap,[l]:void 0}}));const f=Me("server");(g=this.state.errorMap)!=null&&g[f]&&s!=="server"&&!o&&this.baseStore.setState(v=>({...v,errorMap:{...v.errorMap,[f]:void 0}}))}),{hasErrored:o,fieldsErrorMap:u}},this.validateAsync=async(s,a)=>{const d=Ve(s,{...this.options,form:this,group:a==null?void 0:a.group,validationLogic:this.options.validationLogic||q});this.state.isFormValidating||this.baseStore.setState(m=>({...m,isFormValidating:!0}));const o=[];let u;for(const m of d){if(!m.validate)continue;const c=Me(m.cause),g=this.state.validationMetaMap[c];g==null||g.lastAbortController.abort();const v=new AbortController;this.state.validationMetaMap[c]={lastAbortController:v},o.push(new Promise(async S=>{let F;try{F=await new Promise((E,A)=>{setTimeout(async()=>{if(v.signal.aborted)return E(void 0);try{E(await this.runValidator({validate:m.validate,value:{value:this.state.values,formApi:this,validationSource:"form",signal:v.signal},type:"validateAsync"}))}catch(D){A(D)}},m.debounceMs)})}catch(E){F=E}const{formError:M,fieldErrors:V}=je(F);V&&(u=u?{...u,...V}:V);const w=Me(m.cause),b=new Set([...Object.keys(this.state.fieldMeta),...Object.keys(u||{})]);let L=Array.from(b);a!=null&&a.filterFieldNames&&(L=L.filter(a.filterFieldNames));for(const E of L){if(this.baseStore.state.fieldMetaBase[E]===void 0&&!(u!=null&&u[E]))continue;const A=this.getFieldMeta(E)??O,{errorMap:D,errorSourceMap:j}=A,T=u==null?void 0:u[E],{newErrorValue:I,newSource:P}=Je({newFormValidatorError:T,isPreviousErrorFromFormValidator:(j==null?void 0:j[w])==="form",previousErrorValue:D==null?void 0:D[w]});(D==null?void 0:D[w])!==I&&this.setFieldMeta(E,(R=O)=>({...R,errorMap:{...R.errorMap,[w]:I},errorSourceMap:{...R.errorSourceMap,[w]:P}}))}a!=null&&a.dontUpdateFormErrorMap||this.baseStore.setState(E=>({...E,errorMap:{...E.errorMap,[w]:M}})),S(u?{fieldErrors:u,errorMapKey:w}:void 0)}))}let l=[];const f={};if(o.length){l=await Promise.all(o);for(const m of l)if(m!=null&&m.fieldErrors){const{errorMapKey:c}=m;for(const[g,v]of Object.entries(m.fieldErrors)){const F={...f[g]||{},[c]:v};f[g]=F}}}return this.baseStore.setState(m=>({...m,isFormValidating:!1})),f},this.validate=(s,a)=>{const{hasErrored:d,fieldsErrorMap:o}=this.validateSync(s,a);return d&&!this.options.asyncAlways?o:this.validateAsync(s,a)},this._handleSubmit=async s=>{var o,u,l,f,m,c,g,v,S,F;this.baseStore.setState(M=>({...M,isSubmitted:!1,submissionAttempts:M.submissionAttempts+1,isSubmitSuccessful:!1})),_(()=>{Object.values(this.fieldInfo).forEach(M=>{M.instance&&(M.instance.store.state.meta.isTouched||M.instance.setMeta(V=>({...V,isTouched:!0})))})});const a=s??this.options.onSubmitMeta;if(!this.state.canSubmit&&!this._devtoolsSubmissionOverride&&this.baseStore.state.submissionAttempts<=1){(u=(o=this.options).onSubmitInvalid)==null||u.call(o,{value:this.state.values,formApi:this,meta:a});return}this.baseStore.setState(M=>({...M,isSubmitting:!0}));const d=()=>{this.baseStore.setState(M=>({...M,isSubmitting:!1}))};if(await this.validateAllFields("submit"),!this.state.isFieldsValid){d(),(f=(l=this.options).onSubmitInvalid)==null||f.call(l,{value:this.state.values,formApi:this,meta:a}),K.emit("form-submission",{id:this._formId,submissionAttempt:this.state.submissionAttempts,successful:!1,stage:"validateAllFields",errors:Object.values(this.state.fieldMeta).map(M=>M.errors).flat()});return}if(await this.validate("submit"),!this.state.isValid){d(),(c=(m=this.options).onSubmitInvalid)==null||c.call(m,{value:this.state.values,formApi:this,meta:a}),K.emit("form-submission",{id:this._formId,submissionAttempt:this.state.submissionAttempts,successful:!1,stage:"validate",errors:this.state.errors});return}_(()=>{Object.values(this.fieldInfo).forEach(M=>{var V;(V=M.instance)==null||V.triggerOnSubmitListener()})}),(v=(g=this.options.listeners)==null?void 0:g.onSubmit)==null||v.call(g,{formApi:this,meta:a});try{await((F=(S=this.options).onSubmit)==null?void 0:F.call(S,{value:this.state.values,formApi:this,meta:a})),_(()=>{this.baseStore.setState(M=>({...M,isSubmitted:!0,isSubmitSuccessful:!0})),K.emit("form-submission",{id:this._formId,submissionAttempt:this.state.submissionAttempts,successful:!0}),d()})}catch(M){throw this.baseStore.setState(V=>({...V,isSubmitSuccessful:!1})),K.emit("form-submission",{id:this._formId,submissionAttempt:this.state.submissionAttempts,successful:!1,stage:"inflight",onError:M}),d(),M}},this.getFieldValue=s=>le(this.state.values,s),this.getFieldMeta=s=>this.state.fieldMeta[s],this.getFormGroupMeta=s=>this.formGroupMetaDerived.state[s],this.getFieldInfo=s=>{var a;return(a=this.fieldInfo)[s]||(a[s]={instance:null,validationMetaMap:{onChange:void 0,onBlur:void 0,onSubmit:void 0,onMount:void 0,onServer:void 0,onDynamic:void 0}})},this.setFieldMeta=(s,a)=>{this.baseStore.setState(d=>({...d,fieldMetaBase:{...d.fieldMetaBase,[s]:ve(a,d.fieldMetaBase[s])}}))},this.resetFieldMeta=s=>Object.keys(s).reduce((a,d)=>{const o=d;return a[o]=O,a},{}),this.setFieldValue=(s,a,d)=>{var f;const o=(d==null?void 0:d.dontUpdateMeta)??!1,u=(d==null?void 0:d.dontRunListeners)??!1,l=(d==null?void 0:d.dontValidate)??!1;_(()=>{o||this.setFieldMeta(s,m=>({...m,isTouched:!0,isDirty:!0,errorMap:{...m==null?void 0:m.errorMap,onMount:void 0}})),this.baseStore.setState(m=>({...m,values:Fe(m.values,s,a)}))}),u||(f=this.getFieldInfo(s).instance)==null||f.triggerOnChangeListener(),l||this.validateField(s,"change")},this.deleteField=s=>{const d=[...Object.keys(this.fieldInfo).filter(o=>{const u=s.toString();return o.startsWith(`${u}.`)||o.startsWith(`${u}[`)}),s];this.baseStore.setState(o=>{const u={...o};return d.forEach(l=>{u.values=Kt(u.values,l),delete this.fieldInfo[l],delete u.fieldMetaBase[l]}),u})},this.pushFieldValue=(s,a,d)=>{this.setFieldValue(s,o=>[...Array.isArray(o)?o:[],a],d),Y(this).bumpArrayVersion(s)},this.insertFieldValue=async(s,a,d,o)=>{this.setFieldValue(s,l=>[...l.slice(0,a),d,...l.slice(a)],$(o,{dontValidate:!0}));const u=(o==null?void 0:o.dontValidate)??!1;u||await this.validateField(s,"change"),Y(this).handleArrayInsert(s,a),u||await this.validateArrayFieldsStartingFrom(s,a,"change")},this.replaceFieldValue=async(s,a,d,o)=>{this.setFieldValue(s,l=>l.map((f,m)=>m===a?d:f),$(o,{dontValidate:!0})),Y(this).bumpArrayVersion(s),((o==null?void 0:o.dontValidate)??!1)||(await this.validateField(s,"change"),await this.validateArrayFieldsStartingFrom(s,a,"change"))},this.removeFieldValue=async(s,a,d)=>{const o=this.getFieldValue(s),u=Array.isArray(o)?Math.max(o.length-1,0):null;if(this.setFieldValue(s,f=>f.filter((m,c)=>c!==a),$(d,{dontValidate:!0})),Y(this).handleArrayRemove(s,a),u!==null){const f=`${s}[${u}]`;this.deleteField(f)}((d==null?void 0:d.dontValidate)??!1)||(await this.validateField(s,"change"),await this.validateArrayFieldsStartingFrom(s,a,"change"))},this.swapFieldValues=(s,a,d,o)=>{this.setFieldValue(s,l=>{const f=l[a],m=l[d];return Fe(Fe(l,`${a}`,m),`${d}`,f)},$(o,{dontValidate:!0})),Y(this).handleArraySwap(s,a,d),((o==null?void 0:o.dontValidate)??!1)||(this.validateField(s,"change"),this.validateField(`${s}[${a}]`,"change"),this.validateField(`${s}[${d}]`,"change"))},this.moveFieldValues=(s,a,d,o)=>{this.setFieldValue(s,l=>{const f=[...l];return f.splice(d,0,f.splice(a,1)[0]),f},$(o,{dontValidate:!0})),Y(this).handleArrayMove(s,a,d),((o==null?void 0:o.dontValidate)??!1)||(this.validateField(s,"change"),this.validateField(`${s}[${a}]`,"change"),this.validateField(`${s}[${d}]`,"change"))},this.clearFieldValues=(s,a)=>{const d=this.getFieldValue(s),o=Array.isArray(d)?Math.max(d.length-1,0):null;if(this.setFieldValue(s,[],$(a,{dontValidate:!0})),Y(this).bumpArrayVersion(s),o!==null)for(let l=0;l<=o;l++){const f=`${s}[${l}]`;this.deleteField(f)}((a==null?void 0:a.dontValidate)??!1)||this.validateField(s,"change")},this.resetField=s=>{this.baseStore.setState(a=>{var l;const d=(l=this.getFieldInfo(s).instance)==null?void 0:l.options.defaultValue,o=le(this.options.defaultValues,s),u=d??o;return{...a,fieldMetaBase:{...a.fieldMetaBase,[s]:O},values:u!==void 0?Fe(a.values,s,u):a.values}})},this.setErrorMap=s=>{_(()=>{Object.entries(s).forEach(([a,d])=>{const o=a;if(Be(d)){const{formError:u,fieldErrors:l}=je(d);for(const f of Object.keys(this.fieldInfo))this.getFieldMeta(f)&&this.setFieldMeta(f,c=>({...c,errorMap:{...c.errorMap,[o]:l==null?void 0:l[f]},errorSourceMap:{...c.errorSourceMap,[o]:"form"}}));this.baseStore.setState(f=>({...f,errorMap:{...f.errorMap,[o]:u}}))}else this.baseStore.setState(u=>({...u,errorMap:{...u.errorMap,[o]:d}}))})})},this.getAllErrors=()=>({form:{errors:this.state.errors,errorMap:this.state.errorMap},fields:Object.entries(this.state.fieldMeta).reduce((s,[a,d])=>(Object.keys(d).length&&d.errors.length&&(s[a]={errors:d.errors,errorMap:d.errorMap}),s),{})}),this.parseValuesWithSchema=s=>ae.validate({value:this.state.values,validationSource:"form"},s),this.parseValuesWithSchemaAsync=s=>ae.validateAsync({value:this.state.values,validationSource:"form"},s),this.timeoutIds={validations:{},listeners:{},formListeners:{}},this._formId=(r==null?void 0:r.formId)??Ft(),this._devtoolsSubmissionOverride=!1;let e=Ue({...r==null?void 0:r.defaultState,values:(r==null?void 0:r.defaultValues)??((h=r==null?void 0:r.defaultState)==null?void 0:h.values)});if(r!=null&&r.transform){e=r.transform({state:e}).state;for(const s of Object.keys(e.errorMap)){const a=e.errorMap[s];if(!(a===void 0||!Be(a)))for(const d of Object.keys(a.fields)){const o=a.fields[d];if(o===void 0)continue;const u=e.fieldMetaBase[d];e.fieldMetaBase[d]={isTouched:!1,isValidating:!1,isBlurred:!1,isDirty:!1,_arrayVersion:0,_pendingValidationsCount:0,...u??{},errorSourceMap:{...(u==null?void 0:u.errorSourceMap)??{},onChange:"form"},errorMap:{...(u==null?void 0:u.errorMap)??{},[s]:o}}}}}this.baseStore=ie(e);let i;this.fieldMetaDerived=ie(s=>{var u,l,f;const a=this.baseStore.get();let d=0;const o={};for(const m of Object.keys(a.fieldMetaBase)){const c=a.fieldMetaBase[m],g=i==null?void 0:i.fieldMetaBase[m],v=s==null?void 0:s[m],S=le(a.values,m);let F=v==null?void 0:v.errors;if(!g||c.errorMap!==g.errorMap){F=Object.values(c.errorMap??{}).filter(L=>L!==void 0);const b=(u=this.getFieldInfo(m))==null?void 0:u.instance;(!b||!b.options.disableErrorFlat)&&(F=F.flat(1))}const M=!qt(F),V=!c.isDirty,w=J(S,((f=(l=this.getFieldInfo(m))==null?void 0:l.instance)==null?void 0:f.options.defaultValue)??le(this.options.defaultValues,m));if(v&&v.isPristine===V&&v.isValid===M&&v.isDefaultValue===w&&v.errors===F&&c===g){o[m]=v,d++;continue}o[m]={...c,errors:F??[],isPristine:V,isValid:M,isDefaultValue:w}}return Object.keys(a.fieldMetaBase).length?s&&d===Object.keys(a.fieldMetaBase).length?s:(i=this.baseStore.get(),o):o}),this.formGroupMetaDerived=ie(s=>{const a=this.baseStore.get(),d=this.fieldMetaDerived.get(),o={};for(const u of this.formGroupApis){const l=u.name,f=a.formGroupStateBase[l]??{isSubmitted:!1,isSubmitting:!1,isValidating:!1,submissionAttempts:0,isSubmitSuccessful:!1},m=d[l];let c=!1,g=!0,v=!1,S=!1,F=!0,M=!1;for(const W in d){if(W===l||!ne(l,W))continue;const k=d[W];k&&(k.isValidating&&(c=!0),k.isValid||(g=!1),k.isTouched&&(v=!0),k.isBlurred&&(S=!0),k.isDefaultValue||(F=!1),k.isDirty&&(M=!0))}const V=!M,w=!!c||f.isValidating,b=(m==null?void 0:m.errorMap)??{},L=(m==null?void 0:m.errorSourceMap)??{},E=!!(b.onMount||Object.entries(d).some(([W,k])=>k&&W!==l&&ne(l,W)&&k.errorMap.onMount)),A=s==null?void 0:s[l];let D=(A==null?void 0:A.errors)??[];(!A||A.__srcErrorMap!==b)&&(D=Object.values(b).reduce((W,k)=>{if(k===void 0)return W;if(k&&typeof k=="object"&&"fields"in k){const et=k.group;return et!==void 0&&W.push(et),W}return W.push(k),W},[]));const j=D.length===0,T=g&&j,I=u.options.canSubmitWhenInvalid??!1,P=f.submissionAttempts===0&&!v&&!E||!w&&!f.isSubmitting&&T||I;if(A&&A.errorMap===b&&A.errorSourceMap===L&&A.errors===D&&A.isFieldsValidating===c&&A.isFieldsValid===g&&A.isGroupValid===j&&A.isValid===T&&A.canSubmit===P&&A.isTouched===v&&A.isBlurred===S&&A.isPristine===V&&A.isDefaultValue===F&&A.isDirty===M&&A.isValidating===w&&A.isSubmitting===f.isSubmitting&&A.isSubmitted===f.isSubmitted&&A.submissionAttempts===f.submissionAttempts&&A.isSubmitSuccessful===f.isSubmitSuccessful){o[l]=A;continue}const R={...f,errorMap:b,errorSourceMap:L,_arrayVersion:(m==null?void 0:m._arrayVersion)??0,isTouched:v,isBlurred:S,isDirty:M,isPristine:V,isDefaultValue:F,isValid:T,errors:D,isValidating:w,isFieldsValidating:c,isFieldsValid:g,isGroupValid:j,canSubmit:P};Object.defineProperty(R,"__srcErrorMap",{value:b,enumerable:!1,configurable:!0}),o[l]=R}return o});let n;this.store=ie(s=>{var j,T;const a=this.baseStore.get(),d=this.fieldMetaDerived.get(),o=Object.values(d).filter(Boolean),u=o.some(I=>I.isValidating),l=o.every(I=>I.isValid),f=o.some(I=>I.isTouched),m=o.some(I=>I.isBlurred),c=o.every(I=>I.isDefaultValue),g=f&&((j=a.errorMap)==null?void 0:j.onMount),v=o.some(I=>I.isDirty),S=!v,F=!!((T=a.errorMap)!=null&&T.onMount||o.some(I=>{var P;return(P=I==null?void 0:I.errorMap)==null?void 0:P.onMount})),M=!!u;let V=(s==null?void 0:s.errors)??[];(!n||a.errorMap!==n.errorMap)&&(V=Object.values(a.errorMap).reduce((I,P)=>P===void 0?I:P&&Be(P)?(I.push(P.form),I):(I.push(P),I),[]));const w=V.length===0,b=l&&w,L=this.options.canSubmitWhenInvalid??!1,E=a.submissionAttempts===0&&!f&&!F||!M&&!a.isSubmitting&&b||L;let A=a.errorMap;if(g&&(V=V.filter(I=>I!==a.errorMap.onMount),A=Object.assign(A,{onMount:void 0})),s&&n&&s.errorMap===A&&s.fieldMeta===this.fieldMetaDerived.state&&s.errors===V&&s.isFieldsValidating===u&&s.isFieldsValid===l&&s.isFormValid===w&&s.isValid===b&&s.canSubmit===E&&s.isTouched===f&&s.isBlurred===m&&s.isPristine===S&&s.isDefaultValue===c&&s.isDirty===v&&J(n,a))return s;const D={...a,errorMap:A,fieldMeta:this.fieldMetaDerived.state,errors:V,isFieldsValidating:u,isFieldsValid:l,isFormValid:w,isValid:b,canSubmit:E,isTouched:f,isBlurred:m,isPristine:S,isDefaultValue:c,isDirty:v};return n=this.baseStore.get(),D}),this.handleSubmit=this.handleSubmit.bind(this),this.update(r||{})}get state(){return this.store.state}get formId(){return this._formId}runValidator(r){return Ye(r.validate)?ae[r.type](r.value,r.validate):r.validate(r.value)}handleSubmit(r){return this._handleSubmit(r)}}function je(t){if(t){if(Be(t)){const r=je(t.form).formError,e=t.fields;return{formError:r,fieldErrors:e}}return{formError:t}}return{formError:void 0}}function Me(t){switch(t){case"submit":return"onSubmit";case"blur":return"onBlur";case"mount":return"onMount";case"server":return"onServer";case"dynamic":return"onDynamic";case"change":default:return"onChange"}}class Ae{constructor(r){this.options={},this.mount=()=>{var n,h;this.options.defaultValue!==void 0&&!this.getMeta().isTouched&&this.form.setFieldValue(this.name,this.options.defaultValue,{dontUpdateMeta:!0});const e=this.getInfo();e.instance=this,this.update(this.options);const{onMount:i}=this.options.validators||{};if(i){const s=this.runValidator({validate:i,value:{value:this.state.value,fieldApi:this,validationSource:"field"},type:"validate"});s&&this.setMeta(a=>({...a,errorMap:{...a==null?void 0:a.errorMap,onMount:s},errorSourceMap:{...a==null?void 0:a.errorSourceMap,onMount:"field"}}))}return(h=(n=this.options.listeners)==null?void 0:n.onMount)==null||h.call(n,{value:this.state.value,fieldApi:this}),()=>{var a,d,o,u;for(const[l,f]of Object.entries(this.timeoutIds.validations))f&&(clearTimeout(f),this.timeoutIds.validations[l]=null);for(const[l,f]of Object.entries(this.timeoutIds.listeners))f&&(clearTimeout(f),this.timeoutIds.listeners[l]=null);for(const[l,f]of Object.entries(this.timeoutIds.formListeners))f&&(clearTimeout(f),this.timeoutIds.formListeners[l]=null);const s=this.form.fieldInfo[this.name];if(s&&s.instance===this){for(const[l,f]of Object.entries(s.validationMetaMap))f==null||f.lastAbortController.abort(),s.validationMetaMap[l]=void 0;this.form.baseStore.setState(l=>{var f,m,c;return{...l,fieldMetaBase:{...l.fieldMetaBase,[this.name]:{...O,isTouched:((f=l.fieldMetaBase[this.name])==null?void 0:f.isTouched)??O.isTouched,isBlurred:((m=l.fieldMetaBase[this.name])==null?void 0:m.isBlurred)??O.isBlurred,isDirty:((c=l.fieldMetaBase[this.name])==null?void 0:c.isDirty)??O.isDirty}}}}),s.instance=null,(d=(a=this.options.listeners)==null?void 0:a.onUnmount)==null||d.call(a,{value:this.state.value,fieldApi:this}),(u=(o=this.form.options.listeners)==null?void 0:o.onFieldUnmount)==null||u.call(o,{formApi:this.form,fieldApi:this})}}},this.update=e=>{if(this.options=e,this.name=e.name,!this.state.meta.isTouched&&this.options.defaultValue!==void 0){const i=this.form.getFieldValue(this.name);J(i,e.defaultValue)||this.form.setFieldValue(this.name,e.defaultValue,{dontUpdateMeta:!0,dontValidate:!0,dontRunListeners:!0})}this.form.getFieldMeta(this.name)||this.form.setFieldMeta(this.name,this.state.meta)},this.getValue=()=>this.form.getFieldValue(this.name),this.setValue=(e,i)=>{this.form.setFieldValue(this.name,e,$(i,{dontRunListeners:!0,dontValidate:!0})),i!=null&&i.dontRunListeners||this.triggerOnChangeListener(),i!=null&&i.dontValidate||this.validate("change")},this.getMeta=()=>this.store.state.meta,this.setMeta=e=>this.form.setFieldMeta(this.name,e),this.getInfo=()=>this.form.getFieldInfo(this.name),this.pushValue=(e,i)=>{this.form.pushFieldValue(this.name,e,$(i,{dontRunListeners:!0})),i!=null&&i.dontRunListeners||this.triggerOnChangeListener()},this.insertValue=(e,i,n)=>{this.form.insertFieldValue(this.name,e,i,$(n,{dontRunListeners:!0})),n!=null&&n.dontRunListeners||this.triggerOnChangeListener()},this.replaceValue=(e,i,n)=>{this.form.replaceFieldValue(this.name,e,i,$(n,{dontRunListeners:!0})),n!=null&&n.dontRunListeners||this.triggerOnChangeListener()},this.removeValue=(e,i)=>{this.form.removeFieldValue(this.name,e,$(i,{dontRunListeners:!0})),i!=null&&i.dontRunListeners||this.triggerOnChangeListener()},this.swapValues=(e,i,n)=>{this.form.swapFieldValues(this.name,e,i,$(n,{dontRunListeners:!0})),n!=null&&n.dontRunListeners||this.triggerOnChangeListener()},this.moveValue=(e,i,n)=>{this.form.moveFieldValues(this.name,e,i,$(n,{dontRunListeners:!0})),n!=null&&n.dontRunListeners||this.triggerOnChangeListener()},this.clearValues=e=>{this.form.clearFieldValues(this.name,$(e,{dontRunListeners:!0})),e!=null&&e.dontRunListeners||this.triggerOnChangeListener()},this.getLinkedFields=e=>{const i=Object.values(this.form.fieldInfo),n=[];for(const h of i){if(!h.instance||!(h.instance instanceof Ae))continue;const{onChangeListenTo:s,onBlurListenTo:a}=h.instance.options.validators||{};e==="change"&&(s!=null&&s.includes(this.name))&&n.push(h.instance),e==="blur"&&(a!=null&&a.includes(this.name))&&n.push(h.instance)}return n},this.validateSync=(e,i)=>{var o;const n=ye(e,{...this.options,form:this.form,fieldName:this.name,validationLogic:this.form.options.validationLogic||q}),s=this.getLinkedFields(e).reduce((u,l)=>{const f=ye(e,{...l.options,form:l.form,fieldName:l.name,validationLogic:l.form.options.validationLogic||q});return f.forEach(m=>{m.field=l}),u.concat(f)},[]);let a=!1;_(()=>{const u=(l,f)=>{var F;const m=Se(f.cause),c=f.validate?ct(l.runValidator({validate:f.validate,value:{value:l.store.state.value,validationSource:"field",fieldApi:l},type:"validate"})):void 0,g=i[m],{newErrorValue:v,newSource:S}=_e({formLevelError:g,fieldLevelError:c});((F=l.state.meta.errorMap)==null?void 0:F[m])!==v&&l.setMeta(M=>({...M,errorMap:{...M.errorMap,[m]:v},errorSourceMap:{...M.errorSourceMap,[m]:S}})),v&&(a=!0)};for(const l of n)u(this,l);for(const l of s)l.validate&&u(l.field,l)});const d=Se("submit");return(o=this.state.meta.errorMap)!=null&&o[d]&&e!=="submit"&&!a&&this.setMeta(u=>({...u,errorMap:{...u.errorMap,[d]:void 0},errorSourceMap:{...u.errorSourceMap,[d]:void 0}})),{hasErrored:a}},this.validateAsync=async(e,i)=>{const n=Ve(e,{...this.options,form:this.form,fieldName:this.name,validationLogic:this.form.options.validationLogic||q}),h=await i,a=this.getLinkedFields(e).reduce((c,g)=>{const v=Ve(e,{...g.options,form:g.form,fieldName:g.name,validationLogic:g.form.options.validationLogic||q});return v.forEach(S=>{S.field=g}),c.concat(v)},[]),d=[],o=[],u=n.some(c=>c.validate),l=Array.from(new Set(a.filter(c=>c.validate).map(c=>c.field)));_(()=>{u&&this.startValidation();for(const c of l)c.startValidation()});const f=(c,g,v)=>{const S=Se(g.cause),F=c.getInfo(),M=F.validationMetaMap[S];M==null||M.lastAbortController.abort();const V=new AbortController;F.validationMetaMap[S]={lastAbortController:V},v.push(new Promise(async w=>{var j;let b;try{b=await new Promise((T,I)=>{c.timeoutIds.validations[g.cause]&&(clearTimeout(c.timeoutIds.validations[g.cause]),c.endValidation()),c.timeoutIds.validations[g.cause]=setTimeout(async()=>{if(V.signal.aborted)return T(void 0);try{T(await this.runValidator({validate:g.validate,value:{value:c.store.state.value,fieldApi:c,signal:V.signal,validationSource:"field"},type:"validateAsync"}))}catch(P){I(P)}},g.debounceMs)})}catch(T){b=T}if(V.signal.aborted)return w(void 0);const L=ct(b),E=(j=h[c.name])==null?void 0:j[S],{newErrorValue:A,newSource:D}=_e({formLevelError:E,fieldLevelError:L});if(c.getInfo().instance!==c)return w(void 0);c.setMeta(T=>({...T,errorMap:{...T==null?void 0:T.errorMap,[S]:A},errorSourceMap:{...T.errorSourceMap,[S]:D}})),w(A)}))};for(const c of n)c.validate&&f(this,c,d);for(const c of a)c.validate&&f(c.field,c,o);let m=[];return(d.length||o.length)&&(m=await Promise.all(d),await Promise.all(o)),_(()=>{u&&this.endValidation();for(const c of l)c.endValidation()}),m.filter(Boolean)},this.validate=(e,i)=>{var f,m;if(!this.state.meta.isTouched)return[];const n=i!=null&&i.skipGroupValidation?[]:Array.from(this.form.formGroupApis).filter(c=>this.name.startsWith(c.name));let s=(i!=null&&i.skipFormValidation?{fieldsErrorMap:{}}:this.form.validateSync(e)).fieldsErrorMap[this.name]??{};if(!(i!=null&&i.skipFormValidation))for(const c of n){if(c.state.meta.submissionAttempts===0)continue;const{fieldsErrorMap:g}=this.form.validateSync(e,{group:c,dontUpdateFormErrorMap:!0,filterFieldNames:v=>ne(c.name,v)});s={...s,...g[this.name]??{}}}const{hasErrored:a}=this.validateSync(e,s),d=new WeakMap;for(const c of n){const{hasErrored:g}=c.validateSync(e,{},{skipRelatedFieldValidation:!0});d.set(c,g)}if(a&&!this.options.asyncAlways){(f=this.getInfo().validationMetaMap[Se(e)])==null||f.lastAbortController.abort();const c=[];for(const g of n)(m=g.getInfo().validationMetaMap[Se(e)])==null||m.lastAbortController.abort(),c.push(g.state.meta.errors);return[...this.state.meta.errors,...c.flat()]}const o=i!=null&&i.skipFormValidation?Promise.resolve({}):this.form.validateAsync(e),u=this.validateAsync(e,o),l=[];for(const c of n)d.get(c)&&!c.options.asyncAlways||l.push(c.validateAsync(e,o,{skipRelatedFieldValidation:!0}));return l.length===0?u:Promise.all([u,...l]).then(c=>c.flat())},this.handleChange=e=>{this.setValue(e)},this.handleBlur=()=>{this.state.meta.isTouched||this.setMeta(i=>({...i,isTouched:!0})),this.state.meta.isBlurred||this.setMeta(i=>({...i,isBlurred:!0})),this.validate("blur"),this.triggerOnBlurListener()},this.setErrorMap=e=>{this.setMeta(i=>({...i,errorMap:{...i.errorMap,...e}}))},this.parseValueWithSchema=e=>ae.validate({value:this.state.value,validationSource:"field"},e),this.parseValueWithSchemaAsync=e=>ae.validateAsync({value:this.state.value,validationSource:"field"},e),this.triggerOnBlurListener=()=>{var n,h,s,a,d,o;const e=(n=this.form.options.listeners)==null?void 0:n.onBlurDebounceMs;e&&e>0?(this.timeoutIds.formListeners.blur&&clearTimeout(this.timeoutIds.formListeners.blur),this.timeoutIds.formListeners.blur=setTimeout(()=>{var u,l;(l=(u=this.form.options.listeners)==null?void 0:u.onBlur)==null||l.call(u,{formApi:this.form,fieldApi:this})},e)):(s=(h=this.form.options.listeners)==null?void 0:h.onBlur)==null||s.call(h,{formApi:this.form,fieldApi:this});const i=(a=this.options.listeners)==null?void 0:a.onBlurDebounceMs;i&&i>0?(this.timeoutIds.listeners.blur&&clearTimeout(this.timeoutIds.listeners.blur),this.timeoutIds.listeners.blur=setTimeout(()=>{var u,l;(l=(u=this.options.listeners)==null?void 0:u.onBlur)==null||l.call(u,{value:this.state.value,fieldApi:this})},i)):(o=(d=this.options.listeners)==null?void 0:d.onBlur)==null||o.call(d,{value:this.state.value,fieldApi:this})},this.triggerOnChangeListener=()=>{var n,h,s,a,d,o;const e=(n=this.form.options.listeners)==null?void 0:n.onChangeDebounceMs;e&&e>0?(this.timeoutIds.formListeners.change&&clearTimeout(this.timeoutIds.formListeners.change),this.timeoutIds.formListeners.change=setTimeout(()=>{var u,l;(l=(u=this.form.options.listeners)==null?void 0:u.onChange)==null||l.call(u,{formApi:this.form,fieldApi:this})},e)):(s=(h=this.form.options.listeners)==null?void 0:h.onChange)==null||s.call(h,{formApi:this.form,fieldApi:this});const i=(a=this.options.listeners)==null?void 0:a.onChangeDebounceMs;i&&i>0?(this.timeoutIds.listeners.change&&clearTimeout(this.timeoutIds.listeners.change),this.timeoutIds.listeners.change=setTimeout(()=>{var u,l;(l=(u=this.options.listeners)==null?void 0:u.onChange)==null||l.call(u,{value:this.state.value,fieldApi:this})},i)):(o=(d=this.options.listeners)==null?void 0:d.onChange)==null||o.call(d,{value:this.state.value,fieldApi:this});for(const u of this.form.formGroupApis)ne(u.name,this.name)&&u.triggerOnChangeListener()},this.triggerOnSubmitListener=()=>{var e,i;(i=(e=this.options.listeners)==null?void 0:e.onSubmit)==null||i.call(e,{value:this.state.value,fieldApi:this})},this.form=r.form,this.name=r.name,this.options=r,this.timeoutIds={validations:{},listeners:{},formListeners:{}},this.store=ie(e=>{this.form.store.get();const i=this.form.getFieldMeta(this.name)??{...O,...r.defaultMeta};let n=this.form.getFieldValue(this.name);return!i.isTouched&&n===void 0&&this.options.defaultValue!==void 0&&!J(n,this.options.defaultValue)&&(n=this.options.defaultValue),e&&e.value===n&&e.meta===i?e:{value:n,meta:i}})}get state(){return this.store.state}runValidator(r){return Ye(r.validate)?ae[r.type](r.value,r.validate):r.validate(r.value)}startValidation(){this.setMeta(r=>{const e=r._pendingValidationsCount+1;return{...r,_pendingValidationsCount:e,isValidating:e>0&&!r.isValidating?!0:r.isValidating}})}endValidation(){this.setMeta(r=>{const e=Math.max(0,r._pendingValidationsCount-1);return{...r,_pendingValidationsCount:e,isValidating:e===0&&r.isValidating?!1:r.isValidating}})}}function ct(t){if(t)return t}function Se(t){switch(t){case"submit":return"onSubmit";case"blur":return"onBlur";case"mount":return"onMount";case"server":return"onServer";case"dynamic":return"onDynamic";case"change":default:return"onChange"}}function Ke(t){return{isSubmitted:t.isSubmitted??!1,isSubmitting:t.isSubmitting??!1,isValidating:t.isValidating??!1,submissionAttempts:t.submissionAttempts??0,isSubmitSuccessful:t.isSubmitSuccessful??!1}}function Zt(t){return{...O,...t,errors:[],isPristine:!0,isValid:!0,isDefaultValue:!0,isFieldsValidating:!1,isFieldsValid:!0,isGroupValid:!0,canSubmit:!0,isSubmitting:!1,isSubmitted:!1,isValidating:!1,submissionAttempts:0,isSubmitSuccessful:!1}}class Ee{constructor(r){this.options={},this.setFormGroupState=e=>{this.form.baseStore.setState(i=>{const n=i.formGroupStateBase[this.name]??Ke({});return{...i,formGroupStateBase:{...i.formGroupStateBase,[this.name]:e(n)}}})},this._lastDistributedFieldNames={},this.update=e=>{if(this.options=e,this.name=e.name,!this.state.meta.isTouched&&this.options.defaultValue!==void 0){const i=this.form.getFieldValue(this.name);J(i,e.defaultValue)||this.form.setFieldValue(this.name,e.defaultValue,{dontUpdateMeta:!0,dontValidate:!0,dontRunListeners:!0})}this.form.getFieldMeta(this.name)||this.form.setFieldMeta(this.name,{...O,...this.options.defaultMeta})},this.mount=()=>{var i,n;this.update(this.options),this.form.formGroupApis.add(this),this.fieldInfo.instance=this,this.form.baseStore.setState(h=>({...h,formGroupStateBase:{...h.formGroupStateBase,[this.name]:h.formGroupStateBase[this.name]??Ke({...this.options.defaultState})}}));const{onMount:e}=this.options.validators||{};if(e){const h=this.runValidator({validate:e,value:{value:this.state.value,groupApi:this,validationSource:"form"},type:"validate"});let s=h,a;qe(h)&&(s=h.group,a=h.fields);const d=ze(s);d&&this.setMeta(o=>({...o,errorMap:{...o.errorMap,onMount:d},errorSourceMap:{...o.errorSourceMap,onMount:"field"}})),this.distributeFieldErrors("onMount",a)}return(n=(i=this.options.listeners)==null?void 0:i.onMount)==null||n.call(i,{value:this.state.value,groupApi:this}),()=>{var h,s;for(const[a,d]of Object.entries(this.timeoutIds.validations))d&&(clearTimeout(d),this.timeoutIds.validations[a]=null);for(const[a,d]of Object.entries(this.timeoutIds.listeners))d&&(clearTimeout(d),this.timeoutIds.listeners[a]=null);for(const[a,d]of Object.entries(this.timeoutIds.formListeners))d&&(clearTimeout(d),this.timeoutIds.formListeners[a]=null);if(this.fieldInfo.instance===this){for(const[a,d]of Object.entries(this.fieldInfo.validationMetaMap))d==null||d.lastAbortController.abort(),this.fieldInfo.validationMetaMap[a]=void 0;this.form.formGroupApis.delete(this),this.form.baseStore.setState(a=>({...a,formGroupStateBase:{...a.formGroupStateBase,[this.name]:Ke({})}})),this.fieldInfo.instance=null,(s=(h=this.options.listeners)==null?void 0:h.onUnmount)==null||s.call(h,{value:this.state.value,groupApi:this})}}},this.setValue=(e,i)=>{this.form.setFieldValue(this.name,e,$(i,{dontRunListeners:!0,dontValidate:!0})),i!=null&&i.dontRunListeners||this.triggerOnChangeListener(),i!=null&&i.dontValidate||this.validate("change")},this.getMeta=()=>this.store.state.meta,this.setMeta=e=>this.form.setFieldMeta(this.name,e),this.getInfo=()=>this.fieldInfo,this.getRelatedFields=()=>{const e=Object.values(this.form.fieldInfo),i=[];for(const n of e)n.instance&&n.instance instanceof Ae&&n.instance.name.startsWith(this.name)&&i.push(n.instance);return i},this.getRelatedFieldMetasDerived=()=>{const e=Object.entries(this.form.fieldMetaDerived.state),i=[];for(const[n,h]of e)n!==this.name&&ne(this.name,n)&&i.push({...h,name:n});return i},this.buildChildFieldName=e=>e===""?this.name:e.startsWith("[")?`${this.name}${e}`:`${this.name}.${e}`,this.distributeFieldErrors=(e,i)=>{const n=this._lastDistributedFieldNames[e]??new Set,h=new Set;if(i)for(const[d,o]of Object.entries(i))o==null||o===!1||h.add(this.buildChildFieldName(d));const s=new Set([...n,...h]);let a=!1;for(const d of s){const o=d.startsWith(this.name+"[")?d.slice(this.name.length):d.slice(this.name.length+1),u=i==null?void 0:i[o],l=this.form.getFieldMeta(d);if(!l&&!u)continue;const f=l==null?void 0:l.errorMap[e],m=(l==null?void 0:l.errorSourceMap[e])==="form",{newErrorValue:c,newSource:g}=Je({newFormValidatorError:u,isPreviousErrorFromFormValidator:m,previousErrorValue:f});c&&(a=!0),!(f===c&&(l==null?void 0:l.errorSourceMap[e])===g)&&this.form.setFieldMeta(d,(v=O)=>({...v,errorMap:{...v.errorMap,[e]:c},errorSourceMap:{...v.errorSourceMap,[e]:g}}))}return this._lastDistributedFieldNames[e]=h,a},this.validateSync=(e,i,n={})=>{var u;const h=ye(e,{...this.options,form:this.form,group:this,validationLogic:this.options.validationLogic||this.form.options.validationLogic||q}),a=(n.skipRelatedFieldValidation?[]:this.getRelatedFields()).reduce((l,f)=>{const m=ye(e,{...f.options,form:f.form,validationLogic:f.form.options.validationLogic||q});return m.forEach(c=>{c.field=f}),l.concat(m)},[]);let d=!1;_(()=>{const l=(f,m)=>{var L;const c=xe(m.cause),g=f===this;let v;m.validate&&(v=f.runValidator({validate:m.validate,value:{value:f.store.state.value,validationSource:g?"form":"field",...f instanceof Ee?{groupApi:f}:{fieldApi:f}},type:"validate"}));let S=v,F;g&&qe(v)&&(S=v.group,F=v.fields);const M=ze(S),V=i[c],{newErrorValue:w,newSource:b}=_e({formLevelError:V,fieldLevelError:M});((L=f.state.meta.errorMap)==null?void 0:L[c])!==w&&f.setMeta(E=>({...E,errorMap:{...E.errorMap,[c]:w},errorSourceMap:{...E.errorSourceMap,[c]:b}})),w&&(d=!0),g&&this.distributeFieldErrors(c,F)&&(d=!0)};for(const f of h)l(this,f);for(const f of a)f.validate&&l(f.field,f)});const o=xe("submit");return(u=this.state.meta.errorMap)!=null&&u[o]&&e!=="submit"&&!d&&this.setMeta(l=>({...l,errorMap:{...l.errorMap,[o]:void 0},errorSourceMap:{...l.errorSourceMap,[o]:void 0}})),{hasErrored:d}},this.validateAsync=async(e,i,n={})=>{const h=Ve(e,{...this.options,form:this.form,group:this,validationLogic:this.options.validationLogic||this.form.options.validationLogic||q}),s=await i,a=n.skipRelatedFieldValidation?[]:this.getRelatedFields(),d=a.reduce((c,g)=>{const v=Ve(e,{...g.options,form:g.form,validationLogic:g.form.options.validationLogic||q});return v.forEach(S=>{S.field=g}),c.concat(v)},[]),o=[],u=[],l=h.some(c=>c.validate)||d.some(c=>c.validate);if(l){this.state.meta.isValidating||this.setMeta(c=>({...c,isValidating:!0}));for(const c of a)c.setMeta(g=>({...g,isValidating:!0}))}const f=(c,g,v)=>{const S=xe(g.cause),F=c.getInfo(),M=F.validationMetaMap[S];M==null||M.lastAbortController.abort();const V=new AbortController;F.validationMetaMap[S]={lastAbortController:V};const w=c===this;v.push(new Promise(async b=>{var P;let L;try{L=await new Promise((R,W)=>{c.timeoutIds.validations[g.cause]&&clearTimeout(c.timeoutIds.validations[g.cause]),c.timeoutIds.validations[g.cause]=setTimeout(async()=>{if(V.signal.aborted)return R(void 0);try{R(await this.runValidator({validate:g.validate,value:{value:c.store.state.value,signal:V.signal,validationSource:w?"form":"field",...c instanceof Ee?{groupApi:c}:{fieldApi:c}},type:"validateAsync"}))}catch(k){W(k)}},g.debounceMs)})}catch(R){L=R}if(V.signal.aborted)return b(void 0);let E=L,A;w&&qe(L)&&(E=L.group,A=L.fields);const D=ze(E),j=(P=s[c.name])==null?void 0:P[S],{newErrorValue:T,newSource:I}=_e({formLevelError:j,fieldLevelError:D});if(c.getInfo().instance!==c)return b(void 0);c.setMeta(R=>({...R,errorMap:{...R==null?void 0:R.errorMap,[S]:T},errorSourceMap:{...R.errorSourceMap,[S]:I}})),w&&this.distributeFieldErrors(S,A),b(T)}))};for(const c of h)c.validate&&f(this,c,o);for(const c of d)c.validate&&f(c.field,c,u);let m=[];if((o.length||u.length)&&(m=await Promise.all(o),await Promise.all(u)),l){this.setMeta(c=>({...c,isValidating:!1}));for(const c of a)c.setMeta(g=>({...g,isValidating:!1}))}return m.filter(Boolean)},this.validateAllFields=async e=>{const i=[];return _(()=>{Object.values(this.getRelatedFields()).forEach(h=>{i.push(Promise.resolve().then(()=>h.validate(e,{skipFormValidation:!0,skipGroupValidation:!0}))),h.store.state.meta.isTouched||h.setMeta(s=>({...s,isTouched:!0}))})}),(await Promise.all(i)).flat()},this.validateArrayFieldsStartingFrom=(e,i,n)=>this.form.validateArrayFieldsStartingFrom(e,i,n),this.validateField=(e,i)=>this.form.validateField(e,i),this.getFieldValue=e=>this.form.getFieldValue(e),this.getFieldMeta=e=>this.form.getFieldMeta(e),this.setFieldMeta=(e,i)=>this.form.setFieldMeta(e,i),this.setFieldValue=(e,i)=>this.form.setFieldValue(e,i),this.deleteField=e=>this.form.deleteField(e),this.pushFieldValue=(e,i)=>this.form.pushFieldValue(e,i),this.insertFieldValue=(e,i,n)=>this.form.insertFieldValue(e,i,n),this.replaceFieldValue=(e,i,n)=>this.form.replaceFieldValue(e,i,n),this.swapFieldValues=(e,i,n)=>this.form.swapFieldValues(e,i,n),this.moveFieldValues=(e,i,n)=>this.form.moveFieldValues(e,i,n),this.clearFieldValues=e=>this.form.clearFieldValues(e),this.resetField=e=>this.form.resetField(e),this.removeFieldValue=(e,i)=>this.form.removeFieldValue(e,i),this.areRelatedFieldsValid=()=>Object.values(this.getRelatedFields()).every(e=>e.state.meta.isValid),this.validate=(e,i)=>{var a;const{fieldsErrorMap:n}=i!=null&&i.skipFormValidation?{fieldsErrorMap:{}}:this.form.validateSync(e,{dontUpdateFormErrorMap:!0,filterFieldNames:d=>ne(this.name,d)}),{hasErrored:h}=this.validateSync(e,n[this.name]??{},{skipRelatedFieldValidation:i==null?void 0:i.skipRelatedFieldValidation});if(h&&!this.options.asyncAlways)return(a=this.getInfo().validationMetaMap[xe(e)])==null||a.lastAbortController.abort(),this.state.meta.errors;const s=i!=null&&i.skipFormValidation?Promise.resolve({}):this.form.validateAsync(e,{dontUpdateFormErrorMap:!0,filterFieldNames:d=>ne(this.name,d)});return this.validateAsync(e,s,{skipRelatedFieldValidation:i==null?void 0:i.skipRelatedFieldValidation})},this.triggerOnChangeListener=()=>{var n,h,s,a,d,o;const e=(n=this.form.options.listeners)==null?void 0:n.onChangeGroupDebounceMs;e&&e>0?(this.timeoutIds.formListeners.change&&clearTimeout(this.timeoutIds.formListeners.change),this.timeoutIds.formListeners.change=setTimeout(()=>{var u,l;(l=(u=this.form.options.listeners)==null?void 0:u.onChangeGroup)==null||l.call(u,{formApi:this.form,groupApi:this})},e)):(s=(h=this.form.options.listeners)==null?void 0:h.onChangeGroup)==null||s.call(h,{formApi:this.form,groupApi:this});const i=(a=this.options.listeners)==null?void 0:a.onChangeDebounceMs;i&&i>0?(this.timeoutIds.listeners.change&&clearTimeout(this.timeoutIds.listeners.change),this.timeoutIds.listeners.change=setTimeout(()=>{var u,l;(l=(u=this.options.listeners)==null?void 0:u.onChange)==null||l.call(u,{value:this.state.value,groupApi:this})},i)):(o=(d=this.options.listeners)==null?void 0:d.onChange)==null||o.call(d,{value:this.state.value,groupApi:this})},this.triggerOnSubmitListener=()=>{var e,i;(i=(e=this.options.listeners)==null?void 0:e.onSubmit)==null||i.call(e,{value:this.state.value,groupApi:this})},this._handleSubmit=async e=>{var h,s,a,d,o,u,l,f;this.setFormGroupState(m=>({...m,isSubmitted:!1,submissionAttempts:m.submissionAttempts+1,isSubmitSuccessful:!1})),_(()=>{Object.values(this.getRelatedFields()).forEach(m=>{m.state.meta.isTouched||m.setMeta(c=>({...c,isTouched:!0}))})});const i=e??this.options.onSubmitMeta;this.setFormGroupState(m=>({...m,isSubmitting:!0}));const n=()=>{this.setFormGroupState(m=>({...m,isSubmitting:!1}))};if(await this.validateAllFields("submit"),!this.areRelatedFieldsValid()){n(),(s=(h=this.options).onGroupSubmitInvalid)==null||s.call(h,{value:this.state.value,groupApi:this,meta:i});return}if(await this.validate("submit",{skipRelatedFieldValidation:!0}),!this.areRelatedFieldsValid()||!this.state.meta.isValid){n(),(d=(a=this.options).onGroupSubmitInvalid)==null||d.call(a,{value:this.state.value,groupApi:this,meta:i});return}_(()=>{Object.values(this.getRelatedFields()).forEach(m=>{var c,g;(g=(c=m.options.listeners)==null?void 0:c.onGroupSubmit)==null||g.call(c,{value:m.state.value,fieldApi:m})})}),(u=(o=this.options.listeners)==null?void 0:o.onSubmit)==null||u.call(o,{groupApi:this,value:this.state.value});try{await((f=(l=this.options).onGroupSubmit)==null?void 0:f.call(l,{value:this.state.value,groupApi:this,meta:i})),_(()=>{this.setFormGroupState(m=>({...m,isSubmitted:!0,isSubmitSuccessful:!0})),n()})}catch(m){throw this.setFormGroupState(c=>({...c,isSubmitSuccessful:!1})),n(),m}},this.form=r.form,this.name=r.name,this.options=r,this.timeoutIds={validations:{},listeners:{},formListeners:{}},this.fieldInfo={instance:null,validationMetaMap:{onChange:void 0,onBlur:void 0,onSubmit:void 0,onMount:void 0,onServer:void 0,onDynamic:void 0}},this.store=ie(e=>{this.form.formGroupMetaDerived.get(),this.form.baseStore.get();const i=this.form.getFormGroupMeta(this.name)??Zt(r.defaultMeta);let n=this.form.getFieldValue(this.name);return!i.isTouched&&n===void 0&&this.options.defaultValue!==void 0&&!J(n,this.options.defaultValue)&&(n=this.options.defaultValue),e&&e.value===n&&e.meta===i?e:{value:n,meta:i}}),this.handleSubmit=this.handleSubmit.bind(this)}get state(){return this.store.state}runValidator(r){if(Ye(r.validate)){const e=ae[r.type](r.value,r.validate);return r.type==="validate"?ht(e):e.then(ht)}return r.validate(r.value)}handleSubmit(r){return this._handleSubmit(r)}}function ze(t){if(t)return t}function qe(t){return!!t&&typeof t=="object"&&"fields"in t}function ht(t){if(!t||typeof t!="object"||!("form"in t)&&!("fields"in t))return t;const{form:r,fields:e,...i}=t;return{...i,group:r,fields:e}}function xe(t){switch(t){case"submit":return"onSubmit";case"blur":return"onBlur";case"mount":return"onMount";case"server":return"onServer";case"dynamic":return"onDynamic";case"change":default:return"onChange"}}class Re{constructor(r){if(this.getFormFieldName=e=>{if(typeof this.fieldsMap=="string")return lt(this.fieldsMap,e);const i=Ge(e)[0];if(typeof i!="string")return"";const n=e.slice(i.length),h=this.fieldsMap[i];return lt(h,n)},this.getFormFieldOptions=e=>{const i={...e},n=i.validators;if(i.name=this.getFormFieldName(e.name),n&&(n.onChangeListenTo||n.onBlurListenTo)){const h={...n},s=a=>{if(a)return a.map(d=>this.getFormFieldName(d))};h.onChangeListenTo=s(n.onChangeListenTo),h.onBlurListenTo=s(n.onBlurListenTo),i.validators=h}return i},this.mount=()=>()=>{},this.validateArrayFieldsStartingFrom=async(e,i,n)=>this.form.validateArrayFieldsStartingFrom(this.getFormFieldName(e),i,n),this.validateField=(e,i)=>this.form.validateField(this.getFormFieldName(e),i),this.getFieldValue=e=>this.form.getFieldValue(this.getFormFieldName(e)),this.getFieldMeta=e=>this.form.getFieldMeta(this.getFormFieldName(e)),this.setFieldMeta=(e,i)=>this.form.setFieldMeta(this.getFormFieldName(e),i),this.setFieldValue=(e,i,n)=>this.form.setFieldValue(this.getFormFieldName(e),i,n),this.deleteField=e=>this.form.deleteField(this.getFormFieldName(e)),this.pushFieldValue=(e,i,n)=>this.form.pushFieldValue(this.getFormFieldName(e),i,n),this.insertFieldValue=async(e,i,n,h)=>this.form.insertFieldValue(this.getFormFieldName(e),i,n,h),this.replaceFieldValue=async(e,i,n,h)=>this.form.replaceFieldValue(this.getFormFieldName(e),i,n,h),this.removeFieldValue=async(e,i,n)=>this.form.removeFieldValue(this.getFormFieldName(e),i,n),this.swapFieldValues=(e,i,n,h)=>this.form.swapFieldValues(this.getFormFieldName(e),i,n,h),this.moveFieldValues=(e,i,n,h)=>this.form.moveFieldValues(this.getFormFieldName(e),i,n,h),this.clearFieldValues=(e,i)=>this.form.clearFieldValues(this.getFormFieldName(e),i),this.resetField=e=>this.form.resetField(this.getFormFieldName(e)),this.validateAllFields=e=>this.form.validateAllFields(e),r.form instanceof Re){const e=r.form;if(this.form=e.form,typeof r.fields=="string")this.fieldsMap=e.getFormFieldName(r.fields);else{const i={...r.fields};for(const n in i)i[n]=e.getFormFieldName(i[n]);this.fieldsMap=i}}else this.form=r.form,this.fieldsMap=r.fields;this.store=ie(()=>{const e=this.form.store.get();let i;if(typeof this.fieldsMap=="string")i=le(e.values,this.fieldsMap);else{i={};const n=this.fieldsMap;for(const h in n)i[h]=le(e.values,n[h])}return{values:i}})}get state(){return this.store.state}async handleSubmit(r){return this.form.handleSubmit(r)}}function Jt(t,r){if(!r)return;const e=Object.assign({},t,{state:pe(t.state)});r(e),e.fieldInfo!==t.fieldInfo&&(t.fieldInfo=e.fieldInfo),e.options!==t.options&&(t.options=e.options);const n=Object.keys({values:null,validationMetaMap:null,fieldMetaBase:null,formGroupStateBase:null,isSubmitting:null,isSubmitted:null,isValidating:null,submissionAttempts:null,isSubmitSuccessful:null,_force_re_eval:null}).reduce((h,s)=>(t.state[s]!==e.state[s]&&(h[s]=e.state[s]),h),{});return _(()=>{Object.keys(n).length&&t.baseStore.setState(h=>({...h,...n})),e.state.errorMap!==t.state.errorMap&&t.setErrorMap(e.state.errorMap)}),e}function Qt(t,r){return t===r}function x(t,r=i=>i,e){const i=(e==null?void 0:e.compare)??Qt,n=C.useCallback(s=>{const{unsubscribe:a}=t.subscribe(s);return a},[t]),h=C.useCallback(()=>t.get(),[t]);return yt.useSyncExternalStoreWithSelector(n,h,h,r,i)}const Q=typeof window<"u"?C.useLayoutEffect:C.useEffect;function Yt(t){const[r,e]=C.useState(()=>({form:t.form,name:t.name})),[i,n]=C.useState(()=>new Ae({...t}));let h=i;(r.form!==t.form||r.name!==t.name)&&(h=new Ae({...t}),n(h),e({form:t.form,name:t.name}));const s=x(h.store,t.mode==="array"?c=>c.meta._arrayVersion||0:c=>c.value),a=x(h.store,c=>c.meta.isTouched),d=x(h.store,c=>c.meta.isBlurred),o=x(h.store,c=>c.meta.isDirty),u=x(h.store,c=>c.meta.errorMap),l=x(h.store,c=>c.meta.errorSourceMap),f=x(h.store,c=>c.meta.isValidating),m=C.useMemo(()=>({...h,get state(){return{value:t.mode==="array"?h.state.value:s,get meta(){return{...h.state.meta,isTouched:a,isBlurred:d,isDirty:o,errorMap:u,errorSourceMap:l,isValidating:f}}}}}),[h,t.mode,s,a,d,o,u,l,f]);return Q(h.mount,[h]),Q(()=>{h.update(t)}),m}const ei=(({children:t,...r})=>{const e=Yt(r),i=C.useMemo(()=>ve(t,e),[t,e]);return p.jsx(p.Fragment,{children:i})});function ti(){return C.useState(()=>Ft())[0]}const ii=Vt,si=C.version.split(".")[0]==="17"?ti:ii.useId;function ri(t){const[r,e]=C.useState(()=>({form:t.form,name:t.name})),[i,n]=C.useState(()=>new Ee({...t}));(r.form!==t.form||r.name!==t.name)&&(n(new Ee({...t})),e({form:t.form,name:t.name}));const h=x(i.store,b=>b.value),s=x(i.store,b=>b.meta.isTouched),a=x(i.store,b=>b.meta.isBlurred),d=x(i.store,b=>b.meta.isDirty),o=x(i.store,b=>b.meta.errorMap),u=x(i.store,b=>b.meta.errorSourceMap),l=x(i.store,b=>b.meta.isValidating),f=x(i.store,b=>b.meta.isSubmitting),m=x(i.store,b=>b.meta.isSubmitted),c=x(i.store,b=>b.meta.submissionAttempts),g=x(i.store,b=>b.meta.isSubmitSuccessful),v=x(i.store,b=>b.meta.canSubmit),S=x(i.store,b=>b.meta.isValid),F=x(i.store,b=>b.meta.isFieldsValid),M=x(i.store,b=>b.meta.isFieldsValidating),V=x(i.store,b=>b.meta.isGroupValid),w=C.useMemo(()=>({...i,handleSubmit:((...E)=>i._handleSubmit(...E)),get state(){return{...i.state,value:h,get meta(){return{...i.state.meta,isTouched:s,isBlurred:a,isDirty:d,errorMap:o,errorSourceMap:u,isValidating:l,isSubmitting:f,isSubmitted:m,submissionAttempts:c,isSubmitSuccessful:g,canSubmit:v,isValid:S,isFieldsValid:F,isFieldsValidating:M,isGroupValid:V}}}}}),[i,h,s,a,d,o,u,l,f,m,c,g,v,S,F,M,V]);return Q(i.mount,[i]),Q(()=>{i.update(t)}),w}const ni=(({children:t,...r})=>{const e=ri(r),i=C.useMemo(()=>ve(t,e),[t,e]);return p.jsx(p.Fragment,{children:i})});function ai({form:t,selector:r=i=>i,children:e}){const i=x(t.store,r);return p.jsx(p.Fragment,{children:ve(e,i)})}function oi(t){const r=si(),[e,i]=C.useState(t==null?void 0:t.formId),[n,h]=C.useState(()=>new dt({...t,formId:(t==null?void 0:t.formId)??r}));if(e!==(t==null?void 0:t.formId)){const d=(t==null?void 0:t.formId)??r;h(new dt({...t,formId:d})),i(d)}const s=C.useMemo(()=>{const d={...n,handleSubmit:((...o)=>n._handleSubmit(...o)),get formId(){return n._formId},get state(){return n.store.state}};return d.Field=function(u){return p.jsx(ei,{...u,form:n})},d.FormGroup=function(u){return p.jsx(ni,{...u,form:n})},d.Subscribe=function(u){return p.jsx(ai,{form:n,selector:u.selector,children:u.children})},d},[n]);Q(n.mount,[]),Q(()=>{n.update(t)});const a=C.useRef(!1);return Q(()=>{a.current&&t!=null&&t.transform&&Jt(n,t.transform)},[n,t==null?void 0:t.transform]),Q(()=>{a.current=!0}),s}function li({lens:t,selector:r=i=>i,children:e}){const i=x(t.store,r);return p.jsx(p.Fragment,{children:ve(e,i)})}function ui(t){const[r]=C.useState(()=>{const e=new Re(t),i=t.form instanceof Re?t.form.form:t.form,n=e;return n.AppForm=function(s){return p.jsx(i.AppForm,{...s})},n.AppField=function(s){return p.jsx(i.AppField,{...r.getFormFieldOptions(s)})},n.Field=function(s){return p.jsx(i.Field,{...r.getFormFieldOptions(s)})},n.Subscribe=function(s){return p.jsx(li,{lens:r,selector:s.selector,children:s.children})},Object.assign(n,{...t.formComponents})});return Q(r.mount,[r]),r}const ft=C.createContext(null),Mt=C.createContext(null);function St(){const t=C.useContext(Mt);if(!t)throw new Error("`formContext` only works when within a `formComponent` passed to `createFormHook`");return t}function di(){function t(){const r=C.useContext(ft);if(!r)throw new Error("`fieldContext` only works when within a `fieldComponent` passed to `createFormHook`");return r}return{fieldContext:ft,useFieldContext:t,useFormContext:St,formContext:Mt}}function pt({fieldComponents:t,fieldContext:r,formContext:e,formComponents:i}){function n(o){const u=oi(o),l=C.useMemo(()=>({children:c})=>p.jsx(e.Provider,{value:u,children:c}),[u]),f=C.useMemo(()=>(({children:g,...v})=>p.jsx(u.Field,{...v,children:S=>p.jsx(r.Provider,{value:S,children:g(Object.assign(S,t))})})),[u]);return C.useMemo(()=>Object.assign(u,{AppField:f,AppForm:l,...i}),[u,f,l])}function h({render:o,props:u}){return function(f){return o({...u,...f})}}function s({render:o,props:u,defaultValues:l}){return function(m){const c=C.useMemo(()=>({form:m.form,fields:m.fields,defaultValues:l,formComponents:i}),[m.form,m.fields]),g=ui(c);return o({...u,...m,group:g})}}function a(o){return St()}function d(o){return pt({fieldContext:r,formContext:e,fieldComponents:{...t,...o.fieldComponents},formComponents:{...i,...o.formComponents}})}return{useAppForm:n,withForm:h,withFieldGroup:s,useTypedAppFormContext:a,extendForm:d}}const{fieldContext:ci,formContext:hi,useFieldContext:oe,useFormContext:fi}=di();function be(t){const r=oe(),{isBlurred:e,errors:i}=r.state.meta,h=e||r.form.state.submissionAttempts>0?i.map(o=>({message:String(o)})):[],s=h.length>0,a=`${r.name}-help`,d=`${r.name}-error`;return{fieldErrors:h,helpId:a,errorId:d,controlProps:{"aria-invalid":s||void 0,"aria-describedby":s?d:t?a:void 0}}}function mi({label:t,placeholder:r,type:e="text",description:i}){const n=oe(),{fieldErrors:h,helpId:s,errorId:a,controlProps:d}=be(!!i);return p.jsxs(he,{orientation:"vertical",children:[p.jsx(fe,{htmlFor:n.name,children:t}),p.jsx(At,{id:n.name,type:e,value:n.state.value,placeholder:r,onBlur:n.handleBlur,onChange:o=>n.handleChange(o.target.value),...d}),i&&p.jsx(me,{id:s,children:i}),p.jsx(ge,{id:a,errors:h})]})}function gi({label:t,placeholder:r,description:e,rows:i}){const n=oe(),{fieldErrors:h,helpId:s,errorId:a,controlProps:d}=be(!!e);return p.jsxs(he,{orientation:"vertical",children:[p.jsx(fe,{htmlFor:n.name,children:t}),p.jsx(Et,{id:n.name,value:n.state.value,placeholder:r,rows:i,onBlur:n.handleBlur,onChange:o=>n.handleChange(o.target.value),...d}),e&&p.jsx(me,{id:s,children:e}),p.jsx(ge,{id:a,errors:h})]})}function vi({label:t,options:r,placeholder:e,description:i}){const n=oe(),{fieldErrors:h,helpId:s,errorId:a,controlProps:d}=be(!!i);return p.jsxs(he,{orientation:"vertical",children:[p.jsx(fe,{htmlFor:n.name,children:t}),p.jsxs(wt,{value:n.state.value,onValueChange:o=>n.handleChange(o),onOpenChange:o=>{o||n.handleBlur()},children:[p.jsx(It,{id:n.name,...d,children:p.jsx(Ct,{placeholder:e})}),p.jsx(Lt,{children:r.map(o=>p.jsx(Tt,{value:o.value,children:o.label},o.value))})]}),i&&p.jsx(me,{id:s,children:i}),p.jsx(ge,{id:a,errors:h})]})}function bi({label:t,description:r}){const e=oe(),{fieldErrors:i,helpId:n,errorId:h,controlProps:s}=be(!!r);return p.jsxs(he,{orientation:"horizontal",className:"justify-between gap-4 max-md:min-h-11 max-md:gap-4",children:[p.jsxs(mt,{children:[p.jsx(fe,{htmlFor:e.name,children:t}),r&&p.jsx(me,{id:n,children:r}),p.jsx(ge,{id:h,errors:i})]}),p.jsx(xt,{id:e.name,checked:e.state.value,onBlur:e.handleBlur,onCheckedChange:a=>e.handleChange(a),...s})]})}function Fi({label:t,description:r}){const e=oe(),{fieldErrors:i,helpId:n,errorId:h,controlProps:s}=be(!!r);return p.jsxs(he,{orientation:"horizontal",className:"max-md:min-h-11",children:[p.jsx(Dt,{id:e.name,checked:e.state.value,onBlur:e.handleBlur,onCheckedChange:a=>e.handleChange(a===!0),...s}),p.jsxs(mt,{children:[p.jsx(fe,{htmlFor:e.name,className:"font-normal",children:t}),r&&p.jsx(me,{id:n,children:r}),p.jsx(ge,{id:h,errors:i})]})]})}function Mi({label:t,placeholder:r,description:e}){const i=oe(),{fieldErrors:n,helpId:h,errorId:s,controlProps:a}=be(!!e);return p.jsxs(he,{orientation:"vertical",children:[p.jsx(fe,{htmlFor:i.name,children:t}),p.jsx(Bt,{id:i.name,value:i.state.value,placeholder:r,onBlur:i.handleBlur,onChange:d=>i.handleChange(d.target.value),...a}),e&&p.jsx(me,{id:h,children:e}),p.jsx(ge,{id:s,errors:n})]})}function Si({label:t,pendingLabel:r="Saving…"}){const e=fi();return p.jsx(e.Subscribe,{selector:i=>({canSubmit:i.canSubmit,isSubmitting:i.isSubmitting}),children:({canSubmit:i,isSubmitting:n})=>p.jsx(kt,{type:"submit",disabled:!i||n,children:n?r:t})})}const{useAppForm:Vi}=pt({fieldContext:ci,formContext:hi,fieldComponents:{TextField:mi,TextareaField:gi,SelectField:vi,SwitchField:bi,CheckboxField:Fi,PasswordField:Mi},formComponents:{SubmitButton:Si}});export{x as a,Vi as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a5 as d,a6 as f}from"./index-MHIn2TC9.js";function p(){const t=d();return f({queryKey:["tasks","templates"],queryFn:()=>t.getTaskTemplates()})}const m=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function c(t){const n=t.trim().split(/\s+/);if(n.length!==5)return null;const[r,e,a,i,u]=n;if(a!=="*"||i!=="*"||!s(e)||!s(r)||Number(e)>23||Number(r)>59)return null;if(u==="*")return`Every day at ${o(e,r)}`;if(u==="1-5")return`Every weekday at ${o(e,r)}`;if(s(u)){const y=m[Number(u)];return y?`Every ${y} at ${o(e,r)}`:null}return null}function s(t){return/^\d+$/.test(t)}function o(t,n){const r=Number(t),e=Number(n),a=r>=12?"PM":"AM";return`${r===0?12:r>12?r-12:r}:${String(e).padStart(2,"0")} ${a}`}function h(t){return c(t)??t}export{h as f,p as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:String(e)}function t(e){return e>=1e6?`$${(e/1e6).toFixed(1)}M`:e>=1e3?`$${(e/1e3).toFixed(1)}k`:`$${e.toFixed(2)}`}export{t as a,r as f};
|
package/dist/client/assets/{ganttDiagram-R7GPNTJY-CZqips_4.js → ganttDiagram-R7GPNTJY-Cf_z8Ri1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Hn,s as Nn,v as Pn,t as Vn,a as Rn,b as zn,_ as d,c as Yt,d as qn,bi as it,l as ht,k as Bn,o as Zn,A as Xn,u as Gn}from"./mermaid.core-9PwG-9fN.js";import{f3 as oe}from"./index-OQuvRZTD.js";import{R as on,r as jn,e as cn,f as un,C as ln,n as ue,h as Qn,s as Zt}from"./transform-BqqRT-Iy.js";import{b as Jn,t as Ne,c as Kn,a as tr,l as er}from"./linear-BT-xgETh.js";import{i as nr}from"./init-Gi6I4Gst.js";import"./BlintzCanvas-DruVZcDU.js";import"./index-QSXJR98z.js";import"./index-1QfQImuJ.js";import"./value-wA6veExk.js";import"./defaultLocale-DX6XiGOO.js";const rr=Math.PI/180,ir=180/Math.PI,ne=18,fn=.96422,dn=1,hn=.82521,mn=4/29,Ft=6/29,gn=3*Ft*Ft,sr=Ft*Ft*Ft;function yn(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof mt)return kn(t);t instanceof on||(t=jn(t));var e=he(t.r),n=he(t.g),r=he(t.b),i=le((.2225045*e+.7168786*n+.0606169*r)/dn),s,a;return e===n&&n===r?s=a=i:(s=le((.4360747*e+.3850649*n+.1430804*r)/fn),a=le((.0139322*e+.0971045*n+.7141733*r)/hn)),new ft(116*i-16,500*(s-i),200*(i-a),t.opacity)}function ar(t,e,n,r){return arguments.length===1?yn(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}cn(ft,ar,un(ln,{brighter(t){return new ft(this.l+ne*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-ne*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=fn*fe(e),t=dn*fe(t),n=hn*fe(n),new on(de(3.1338561*e-1.6168667*t-.4906146*n),de(-.9787684*e+1.9161415*t+.033454*n),de(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function le(t){return t>sr?Math.pow(t,1/3):t/gn+mn}function fe(t){return t>Ft?t*t*t:gn*(t-mn)}function de(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function he(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function or(t){if(t instanceof mt)return new mt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=yn(t)),t.a===0&&t.b===0)return new mt(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ir;return new mt(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function xe(t,e,n,r){return arguments.length===1?or(t):new mt(t,e,n,r??1)}function mt(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function kn(t){if(isNaN(t.h))return new ft(t.l,0,0,t.opacity);var e=t.h*rr;return new ft(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}cn(mt,xe,un(ln,{brighter(t){return new mt(this.h,this.c,this.l+ne*(t??1),this.opacity)},darker(t){return new mt(this.h,this.c,this.l-ne*(t??1),this.opacity)},rgb(){return kn(this).rgb()}}));function cr(t){return function(e,n){var r=t((e=xe(e)).h,(n=xe(n)).h),i=ue(e.c,n.c),s=ue(e.l,n.l),a=ue(e.opacity,n.opacity);return function(y){return e.h=r(y),e.c=i(y),e.l=s(y),e.opacity=a(y),e+""}}}const ur=cr(Qn);function lr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function fr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function dr(t){return t}var Gt=1,me=2,be=3,Xt=4,Pe=1e-6;function hr(t){return"translate("+t+",0)"}function mr(t){return"translate(0,"+t+")"}function gr(t){return e=>+t(e)}function yr(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function kr(){return!this.__axis}function pn(t,e){var n=[],r=null,i=null,s=6,a=6,y=3,F=typeof window<"u"&&window.devicePixelRatio>1?0:.5,_=t===Gt||t===Xt?-1:1,w=t===Xt||t===me?"x":"y",U=t===Gt||t===be?hr:mr;function C(Y){var z=r??(e.ticks?e.ticks.apply(e,n):e.domain()),q=i??(e.tickFormat?e.tickFormat.apply(e,n):dr),v=Math.max(s,0)+y,I=e.range(),R=+I[0]+F,E=+I[I.length-1]+F,B=(e.bandwidth?yr:gr)(e.copy(),F),G=Y.selection?Y.selection():Y,T=G.selectAll(".domain").data([null]),k=G.selectAll(".tick").data(z,e).order(),p=k.exit(),A=k.enter().append("g").attr("class","tick"),x=k.select("line"),S=k.select("text");T=T.merge(T.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(A),x=x.merge(A.append("line").attr("stroke","currentColor").attr(w+"2",_*s)),S=S.merge(A.append("text").attr("fill","currentColor").attr(w,_*v).attr("dy",t===Gt?"0em":t===be?"0.71em":"0.32em")),Y!==G&&(T=T.transition(Y),k=k.transition(Y),x=x.transition(Y),S=S.transition(Y),p=p.transition(Y).attr("opacity",Pe).attr("transform",function(M){return isFinite(M=B(M))?U(M+F):this.getAttribute("transform")}),A.attr("opacity",Pe).attr("transform",function(M){var D=this.parentNode.__axis;return U((D&&isFinite(D=D(M))?D:B(M))+F)})),p.remove(),T.attr("d",t===Xt||t===me?a?"M"+_*a+","+R+"H"+F+"V"+E+"H"+_*a:"M"+F+","+R+"V"+E:a?"M"+R+","+_*a+"V"+F+"H"+E+"V"+_*a:"M"+R+","+F+"H"+E),k.attr("opacity",1).attr("transform",function(M){return U(B(M)+F)}),x.attr(w+"2",_*s),S.attr(w,_*v).text(q),G.filter(kr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===me?"start":t===Xt?"end":"middle"),G.each(function(){this.__axis=B})}return C.scale=function(Y){return arguments.length?(e=Y,C):e},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(Y){return arguments.length?(n=Y==null?[]:Array.from(Y),C):n.slice()},C.tickValues=function(Y){return arguments.length?(r=Y==null?null:Array.from(Y),C):r&&r.slice()},C.tickFormat=function(Y){return arguments.length?(i=Y,C):i},C.tickSize=function(Y){return arguments.length?(s=a=+Y,C):s},C.tickSizeInner=function(Y){return arguments.length?(s=+Y,C):s},C.tickSizeOuter=function(Y){return arguments.length?(a=+Y,C):a},C.tickPadding=function(Y){return arguments.length?(y=+Y,C):y},C.offset=function(Y){return arguments.length?(F=+Y,C):F},C}function pr(t){return pn(Gt,t)}function vr(t){return pn(be,t)}function Tr(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],s=t[r],a;return s<i&&(a=n,n=r,r=a,a=i,i=s,s=a),t[n]=e.floor(i),t[r]=e.ceil(s),t}const ge=new Date,ye=new Date;function nt(t,e,n,r){function i(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return i.floor=s=>(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const a=i(s),y=i.ceil(s);return s-a<y-s?a:y},i.offset=(s,a)=>(e(s=new Date(+s),a==null?1:Math.floor(a)),s),i.range=(s,a,y)=>{const F=[];if(s=i.ceil(s),y=y==null?1:Math.floor(y),!(s<a)||!(y>0))return F;let _;do F.push(_=new Date(+s)),e(s,y),t(s);while(_<s&&s<a);return F},i.filter=s=>nt(a=>{if(a>=a)for(;t(a),!s(a);)a.setTime(a-1)},(a,y)=>{if(a>=a)if(y<0)for(;++y<=0;)for(;e(a,-1),!s(a););else for(;--y>=0;)for(;e(a,1),!s(a););}),n&&(i.count=(s,a)=>(ge.setTime(+s),ye.setTime(+a),t(ge),t(ye),Math.floor(n(ge,ye))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?a=>r(a)%s===0:a=>i.count(0,a)%s===0):i)),i}const It=nt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);It.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?nt(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):It);It.range;const gt=1e3,ct=gt*60,yt=ct*60,kt=yt*24,Se=kt*7,Ve=kt*30,ke=kt*365,Tt=nt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCSeconds());Tt.range;const Nt=nt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*gt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Nt.range;const xr=nt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());xr.range;const Pt=nt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*gt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*yt)},(t,e)=>(e-t)/yt,t=>t.getHours());Pt.range;const br=nt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*yt)},(t,e)=>(e-t)/yt,t=>t.getUTCHours());br.range;const xt=nt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/kt,t=>t.getDate()-1);xt.range;const _e=nt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/kt,t=>t.getUTCDate()-1);_e.range;const wr=nt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/kt,t=>Math.floor(t/kt));wr.range;function Dt(t){return nt(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ct)/Se)}const zt=Dt(0),Vt=Dt(1),vn=Dt(2),Tn=Dt(3),bt=Dt(4),xn=Dt(5),bn=Dt(6);zt.range;Vt.range;vn.range;Tn.range;bt.range;xn.range;bn.range;function Mt(t){return nt(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/Se)}const wn=Mt(0),re=Mt(1),Dr=Mt(2),Mr=Mt(3),Et=Mt(4),Cr=Mt(5),Sr=Mt(6);wn.range;re.range;Dr.range;Mr.range;Et.range;Cr.range;Sr.range;const Rt=nt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Rt.range;const _r=nt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());_r.range;const pt=nt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());pt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:nt(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});pt.range;const wt=nt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());wt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:nt(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});wt.range;function Yr(t,e,n,r,i,s){const a=[[Tt,1,gt],[Tt,5,5*gt],[Tt,15,15*gt],[Tt,30,30*gt],[s,1,ct],[s,5,5*ct],[s,15,15*ct],[s,30,30*ct],[i,1,yt],[i,3,3*yt],[i,6,6*yt],[i,12,12*yt],[r,1,kt],[r,2,2*kt],[n,1,Se],[e,1,Ve],[e,3,3*Ve],[t,1,ke]];function y(_,w,U){const C=w<_;C&&([_,w]=[w,_]);const Y=U&&typeof U.range=="function"?U:F(_,w,U),z=Y?Y.range(_,+w+1):[];return C?z.reverse():z}function F(_,w,U){const C=Math.abs(w-_)/U,Y=Jn(([,,v])=>v).right(a,C);if(Y===a.length)return t.every(Ne(_/ke,w/ke,U));if(Y===0)return It.every(Math.max(Ne(_,w,U),1));const[z,q]=a[C/a[Y-1][2]<a[Y][2]/C?Y-1:Y];return z.every(q)}return[y,F]}const[Fr,Ur]=Yr(pt,Rt,zt,xt,Pt,Nt);function pe(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ve(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $t(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Ir(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,s=t.days,a=t.shortDays,y=t.months,F=t.shortMonths,_=Ot(i),w=Ht(i),U=Ot(s),C=Ht(s),Y=Ot(a),z=Ht(a),q=Ot(y),v=Ht(y),I=Ot(F),R=Ht(F),E={a:m,A:L,b:o,B:$,c:null,d:Xe,e:Xe,f:ei,g:fi,G:hi,H:Jr,I:Kr,j:ti,L:Dn,m:ni,M:ri,p:u,q:K,Q:Qe,s:Je,S:ii,u:si,U:ai,V:oi,w:ci,W:ui,x:null,X:null,y:li,Y:di,Z:mi,"%":je},B={a:l,A:O,b:H,B:j,c:null,d:Ge,e:Ge,f:pi,g:_i,G:Fi,H:gi,I:yi,j:ki,L:Cn,m:vi,M:Ti,p:N,q:J,Q:Qe,s:Je,S:xi,u:bi,U:wi,V:Di,w:Mi,W:Ci,x:null,X:null,y:Si,Y:Yi,Z:Ui,"%":je},G={a:x,A:S,b:M,B:D,c,d:Be,e:Be,f:Xr,g:qe,G:ze,H:Ze,I:Ze,j:zr,L:Zr,m:Rr,M:qr,p:A,q:Vr,Q:jr,s:Qr,S:Br,u:$r,U:Or,V:Hr,w:Wr,W:Nr,x:g,X:b,y:qe,Y:ze,Z:Pr,"%":Gr};E.x=T(n,E),E.X=T(r,E),E.c=T(e,E),B.x=T(n,B),B.X=T(r,B),B.c=T(e,B);function T(h,P){return function(V){var f=[],tt=-1,W=0,Q=h.length,X,st,at;for(V instanceof Date||(V=new Date(+V));++tt<Q;)h.charCodeAt(tt)===37&&(f.push(h.slice(W,tt)),(st=Re[X=h.charAt(++tt)])!=null?X=h.charAt(++tt):st=X==="e"?" ":"0",(at=P[X])&&(X=at(V,st)),f.push(X),W=tt+1);return f.push(h.slice(W,tt)),f.join("")}}function k(h,P){return function(V){var f=$t(1900,void 0,1),tt=p(f,h,V+="",0),W,Q;if(tt!=V.length)return null;if("Q"in f)return new Date(f.Q);if("s"in f)return new Date(f.s*1e3+("L"in f?f.L:0));if(P&&!("Z"in f)&&(f.Z=0),"p"in f&&(f.H=f.H%12+f.p*12),f.m===void 0&&(f.m="q"in f?f.q:0),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?(W=ve($t(f.y,0,1)),Q=W.getUTCDay(),W=Q>4||Q===0?re.ceil(W):re(W),W=_e.offset(W,(f.V-1)*7),f.y=W.getUTCFullYear(),f.m=W.getUTCMonth(),f.d=W.getUTCDate()+(f.w+6)%7):(W=pe($t(f.y,0,1)),Q=W.getDay(),W=Q>4||Q===0?Vt.ceil(W):Vt(W),W=xt.offset(W,(f.V-1)*7),f.y=W.getFullYear(),f.m=W.getMonth(),f.d=W.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),Q="Z"in f?ve($t(f.y,0,1)).getUTCDay():pe($t(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+f.W*7-(Q+5)%7:f.w+f.U*7-(Q+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,ve(f)):pe(f)}}function p(h,P,V,f){for(var tt=0,W=P.length,Q=V.length,X,st;tt<W;){if(f>=Q)return-1;if(X=P.charCodeAt(tt++),X===37){if(X=P.charAt(tt++),st=G[X in Re?P.charAt(tt++):X],!st||(f=st(h,V,f))<0)return-1}else if(X!=V.charCodeAt(f++))return-1}return f}function A(h,P,V){var f=_.exec(P.slice(V));return f?(h.p=w.get(f[0].toLowerCase()),V+f[0].length):-1}function x(h,P,V){var f=Y.exec(P.slice(V));return f?(h.w=z.get(f[0].toLowerCase()),V+f[0].length):-1}function S(h,P,V){var f=U.exec(P.slice(V));return f?(h.w=C.get(f[0].toLowerCase()),V+f[0].length):-1}function M(h,P,V){var f=I.exec(P.slice(V));return f?(h.m=R.get(f[0].toLowerCase()),V+f[0].length):-1}function D(h,P,V){var f=q.exec(P.slice(V));return f?(h.m=v.get(f[0].toLowerCase()),V+f[0].length):-1}function c(h,P,V){return p(h,e,P,V)}function g(h,P,V){return p(h,n,P,V)}function b(h,P,V){return p(h,r,P,V)}function m(h){return a[h.getDay()]}function L(h){return s[h.getDay()]}function o(h){return F[h.getMonth()]}function $(h){return y[h.getMonth()]}function u(h){return i[+(h.getHours()>=12)]}function K(h){return 1+~~(h.getMonth()/3)}function l(h){return a[h.getUTCDay()]}function O(h){return s[h.getUTCDay()]}function H(h){return F[h.getUTCMonth()]}function j(h){return y[h.getUTCMonth()]}function N(h){return i[+(h.getUTCHours()>=12)]}function J(h){return 1+~~(h.getUTCMonth()/3)}return{format:function(h){var P=T(h+="",E);return P.toString=function(){return h},P},parse:function(h){var P=k(h+="",!1);return P.toString=function(){return h},P},utcFormat:function(h){var P=T(h+="",B);return P.toString=function(){return h},P},utcParse:function(h){var P=k(h+="",!0);return P.toString=function(){return h},P}}}var Re={"-":"",_:" ",0:"0"},rt=/^\s*\d+/,Er=/^%/,Lr=/[\\^$*+?|[\]().{}]/g;function Z(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s<n?new Array(n-s+1).join(e)+i:i)}function Ar(t){return t.replace(Lr,"\\$&")}function Ot(t){return new RegExp("^(?:"+t.map(Ar).join("|")+")","i")}function Ht(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function Wr(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function $r(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ze(t,e,n){var r=rt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function qe(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Pr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Vr(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Rr(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Be(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=rt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Ze(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function qr(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Br(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Zr(t,e,n){var r=rt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Xr(t,e,n){var r=rt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Gr(t,e,n){var r=Er.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function jr(t,e,n){var r=rt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Qr(t,e,n){var r=rt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Xe(t,e){return Z(t.getDate(),e,2)}function Jr(t,e){return Z(t.getHours(),e,2)}function Kr(t,e){return Z(t.getHours()%12||12,e,2)}function ti(t,e){return Z(1+xt.count(pt(t),t),e,3)}function Dn(t,e){return Z(t.getMilliseconds(),e,3)}function ei(t,e){return Dn(t,e)+"000"}function ni(t,e){return Z(t.getMonth()+1,e,2)}function ri(t,e){return Z(t.getMinutes(),e,2)}function ii(t,e){return Z(t.getSeconds(),e,2)}function si(t){var e=t.getDay();return e===0?7:e}function ai(t,e){return Z(zt.count(pt(t)-1,t),e,2)}function Mn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function oi(t,e){return t=Mn(t),Z(bt.count(pt(t),t)+(pt(t).getDay()===4),e,2)}function ci(t){return t.getDay()}function ui(t,e){return Z(Vt.count(pt(t)-1,t),e,2)}function li(t,e){return Z(t.getFullYear()%100,e,2)}function fi(t,e){return t=Mn(t),Z(t.getFullYear()%100,e,2)}function di(t,e){return Z(t.getFullYear()%1e4,e,4)}function hi(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),Z(t.getFullYear()%1e4,e,4)}function mi(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Z(e/60|0,"0",2)+Z(e%60,"0",2)}function Ge(t,e){return Z(t.getUTCDate(),e,2)}function gi(t,e){return Z(t.getUTCHours(),e,2)}function yi(t,e){return Z(t.getUTCHours()%12||12,e,2)}function ki(t,e){return Z(1+_e.count(wt(t),t),e,3)}function Cn(t,e){return Z(t.getUTCMilliseconds(),e,3)}function pi(t,e){return Cn(t,e)+"000"}function vi(t,e){return Z(t.getUTCMonth()+1,e,2)}function Ti(t,e){return Z(t.getUTCMinutes(),e,2)}function xi(t,e){return Z(t.getUTCSeconds(),e,2)}function bi(t){var e=t.getUTCDay();return e===0?7:e}function wi(t,e){return Z(wn.count(wt(t)-1,t),e,2)}function Sn(t){var e=t.getUTCDay();return e>=4||e===0?Et(t):Et.ceil(t)}function Di(t,e){return t=Sn(t),Z(Et.count(wt(t),t)+(wt(t).getUTCDay()===4),e,2)}function Mi(t){return t.getUTCDay()}function Ci(t,e){return Z(re.count(wt(t)-1,t),e,2)}function Si(t,e){return Z(t.getUTCFullYear()%100,e,2)}function _i(t,e){return t=Sn(t),Z(t.getUTCFullYear()%100,e,2)}function Yi(t,e){return Z(t.getUTCFullYear()%1e4,e,4)}function Fi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Et(t):Et.ceil(t),Z(t.getUTCFullYear()%1e4,e,4)}function Ui(){return"+0000"}function je(){return"%"}function Qe(t){return+t}function Je(t){return Math.floor(+t/1e3)}var St,ie;Ii({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Ii(t){return St=Ir(t),ie=St.format,St.parse,St.utcFormat,St.utcParse,St}function Ei(t){return new Date(t)}function Li(t){return t instanceof Date?+t:+new Date(+t)}function _n(t,e,n,r,i,s,a,y,F,_){var w=Kn(),U=w.invert,C=w.domain,Y=_(".%L"),z=_(":%S"),q=_("%I:%M"),v=_("%I %p"),I=_("%a %d"),R=_("%b %d"),E=_("%B"),B=_("%Y");function G(T){return(F(T)<T?Y:y(T)<T?z:a(T)<T?q:s(T)<T?v:r(T)<T?i(T)<T?I:R:n(T)<T?E:B)(T)}return w.invert=function(T){return new Date(U(T))},w.domain=function(T){return arguments.length?C(Array.from(T,Li)):C().map(Ei)},w.ticks=function(T){var k=C();return t(k[0],k[k.length-1],T??10)},w.tickFormat=function(T,k){return k==null?G:_(k)},w.nice=function(T){var k=C();return(!T||typeof T.range!="function")&&(T=e(k[0],k[k.length-1],T??10)),T?C(Tr(k,T)):w},w.copy=function(){return tr(w,_n(t,e,n,r,i,s,a,y,F,_))},w}function Ai(){return nr.apply(_n(Fr,Ur,pt,Rt,zt,xt,Pt,Nt,Tt,ie).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var jt={exports:{}},Wi=jt.exports,Ke;function $i(){return Ke||(Ke=1,(function(t,e){(function(n,r){t.exports=r()})(Wi,(function(){var n="day";return function(r,i,s){var a=function(_){return _.add(4-_.isoWeekday(),n)},y=i.prototype;y.isoWeekYear=function(){return a(this).year()},y.isoWeek=function(_){if(!this.$utils().u(_))return this.add(7*(_-this.isoWeek()),n);var w,U,C,Y,z=a(this),q=(w=this.isoWeekYear(),U=this.$u,C=(U?s.utc:s)().year(w).startOf("year"),Y=4-C.isoWeekday(),C.isoWeekday()>4&&(Y+=7),C.add(Y,n));return z.diff(q,"week")+1},y.isoWeekday=function(_){return this.$utils().u(_)?this.day()||7:this.day(this.day()%7?_:_-7)};var F=y.startOf;y.startOf=function(_,w){var U=this.$utils(),C=!!U.u(w)||w;return U.p(_)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):F.bind(this)(_,w)}}}))})(jt)),jt.exports}var Oi=$i();const Hi=oe(Oi);var Qt={exports:{}},Ni=Qt.exports,tn;function Pi(){return tn||(tn=1,(function(t,e){(function(n,r){t.exports=r()})(Ni,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,s=/\d\d/,a=/\d\d?/,y=/\d*[^-_:/,()\s\d]+/,F={},_=function(v){return(v=+v)+(v>68?1900:2e3)},w=function(v){return function(I){this[v]=+I}},U=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=(function(I){if(!I||I==="Z")return 0;var R=I.match(/([+-]|\d\d)/g),E=60*R[1]+(+R[2]||0);return E===0?0:R[0]==="+"?-E:E})(v)}],C=function(v){var I=F[v];return I&&(I.indexOf?I:I.s.concat(I.f))},Y=function(v,I){var R,E=F.meridiem;if(E){for(var B=1;B<=24;B+=1)if(v.indexOf(E(B,0,I))>-1){R=B>12;break}}else R=v===(I?"pm":"PM");return R},z={A:[y,function(v){this.afternoon=Y(v,!1)}],a:[y,function(v){this.afternoon=Y(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[s,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[a,w("seconds")],ss:[a,w("seconds")],m:[a,w("minutes")],mm:[a,w("minutes")],H:[a,w("hours")],h:[a,w("hours")],HH:[a,w("hours")],hh:[a,w("hours")],D:[a,w("day")],DD:[s,w("day")],Do:[y,function(v){var I=F.ordinal,R=v.match(/\d+/);if(this.day=R[0],I)for(var E=1;E<=31;E+=1)I(E).replace(/\[|\]/g,"")===v&&(this.day=E)}],w:[a,w("week")],ww:[s,w("week")],M:[a,w("month")],MM:[s,w("month")],MMM:[y,function(v){var I=C("months"),R=(C("monthsShort")||I.map((function(E){return E.slice(0,3)}))).indexOf(v)+1;if(R<1)throw new Error;this.month=R%12||R}],MMMM:[y,function(v){var I=C("months").indexOf(v)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,w("year")],YY:[s,function(v){this.year=_(v)}],YYYY:[/\d{4}/,w("year")],Z:U,ZZ:U};function q(v){var I,R;I=v,R=F&&F.formats;for(var E=(v=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(x,S,M){var D=M&&M.toUpperCase();return S||R[M]||n[M]||R[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(c,g,b){return g||b.slice(1)}))}))).match(r),B=E.length,G=0;G<B;G+=1){var T=E[G],k=z[T],p=k&&k[0],A=k&&k[1];E[G]=A?{regex:p,parser:A}:T.replace(/^\[|\]$/g,"")}return function(x){for(var S={},M=0,D=0;M<B;M+=1){var c=E[M];if(typeof c=="string")D+=c.length;else{var g=c.regex,b=c.parser,m=x.slice(D),L=g.exec(m)[0];b.call(S,L),x=x.replace(L,"")}}return(function(o){var $=o.afternoon;if($!==void 0){var u=o.hours;$?u<12&&(o.hours+=12):u===12&&(o.hours=0),delete o.afternoon}})(S),S}}return function(v,I,R){R.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(_=v.parseTwoDigitYear);var E=I.prototype,B=E.parse;E.parse=function(G){var T=G.date,k=G.utc,p=G.args;this.$u=k;var A=p[1];if(typeof A=="string"){var x=p[2]===!0,S=p[3]===!0,M=x||S,D=p[2];S&&(D=p[2]),F=this.$locale(),!x&&D&&(F=R.Ls[D]),this.$d=(function(m,L,o,$){try{if(["x","X"].indexOf(L)>-1)return new Date((L==="X"?1e3:1)*m);var u=q(L)(m),K=u.year,l=u.month,O=u.day,H=u.hours,j=u.minutes,N=u.seconds,J=u.milliseconds,h=u.zone,P=u.week,V=new Date,f=O||(K||l?1:V.getDate()),tt=K||V.getFullYear(),W=0;K&&!l||(W=l>0?l-1:V.getMonth());var Q,X=H||0,st=j||0,at=N||0,vt=J||0;return h?new Date(Date.UTC(tt,W,f,X,st,at,vt+60*h.offset*1e3)):o?new Date(Date.UTC(tt,W,f,X,st,at,vt)):(Q=new Date(tt,W,f,X,st,at,vt),P&&(Q=$(Q).week(P).toDate()),Q)}catch{return new Date("")}})(T,A,k,R),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),M&&T!=this.format(A)&&(this.$d=new Date("")),F={}}else if(A instanceof Array)for(var c=A.length,g=1;g<=c;g+=1){p[1]=A[g-1];var b=R.apply(this,p);if(b.isValid()){this.$d=b.$d,this.$L=b.$L,this.init();break}g===c&&(this.$d=new Date(""))}else B.call(this,G)}}}))})(Qt)),Qt.exports}var Vi=Pi();const Ri=oe(Vi);var Jt={exports:{}},zi=Jt.exports,en;function qi(){return en||(en=1,(function(t,e){(function(n,r){t.exports=r()})(zi,(function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(a){var y=this,F=this.$locale();if(!this.isValid())return s.bind(this)(a);var _=this.$utils(),w=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(U){switch(U){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return F.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return F.ordinal(y.week(),"W");case"w":case"ww":return _.s(y.week(),U==="w"?1:2,"0");case"W":case"WW":return _.s(y.isoWeek(),U==="W"?1:2,"0");case"k":case"kk":return _.s(String(y.$H===0?24:y.$H),U==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return U}}));return s.bind(this)(w)}}}))})(Jt)),Jt.exports}var Bi=qi();const Zi=oe(Bi);var Kt={exports:{}},Xi=Kt.exports,nn;function Gi(){return nn||(nn=1,(function(t,e){(function(n,r){t.exports=r()})(Xi,(function(){var n,r,i=1e3,s=6e4,a=36e5,y=864e5,F=31536e6,_=2628e6,w=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,U=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,C={years:F,months:_,days:y,hours:a,minutes:s,seconds:i,milliseconds:1,weeks:6048e5},Y=function(T){return T instanceof B},z=function(T,k,p){return new B(T,p,k.$l)},q=function(T){return r.p(T)+"s"},v=function(T){return T<0},I=function(T){return v(T)?Math.ceil(T):Math.floor(T)},R=function(T){return Math.abs(T)},E=function(T,k){return T?v(T)?{negative:!0,format:""+R(T)+k}:{negative:!1,format:""+T+k}:{negative:!1,format:""}},B=(function(){function T(p,A,x){var S=this;if(this.$d={},this.$l=x,p===void 0&&(this.$ms=0,this.parseFromMilliseconds()),A)return z(p*C[q(A)],this);if(typeof p=="number")return this.$ms=p,this.parseFromMilliseconds(),this;if(typeof p=="object")return Object.keys(p).forEach((function(c){S.$d[q(c)]=p[c]})),this.calMilliseconds(),this;if(typeof p=="string"){var M=p.match(w);if(M){var D=M.slice(2).map((function(c){return c!=null?Number(c):0}));return this.$d.years=D[0],this.$d.months=D[1],this.$d.weeks=D[2],this.$d.days=D[3],this.$d.hours=D[4],this.$d.minutes=D[5],this.$d.seconds=D[6],this.calMilliseconds(),this}}return this}var k=T.prototype;return k.calMilliseconds=function(){var p=this;this.$ms=Object.keys(this.$d).reduce((function(A,x){return A+(p.$d[x]||0)*C[x]}),0)},k.parseFromMilliseconds=function(){var p=this.$ms;this.$d.years=I(p/F),p%=F,this.$d.months=I(p/_),p%=_,this.$d.days=I(p/y),p%=y,this.$d.hours=I(p/a),p%=a,this.$d.minutes=I(p/s),p%=s,this.$d.seconds=I(p/i),p%=i,this.$d.milliseconds=p},k.toISOString=function(){var p=E(this.$d.years,"Y"),A=E(this.$d.months,"M"),x=+this.$d.days||0;this.$d.weeks&&(x+=7*this.$d.weeks);var S=E(x,"D"),M=E(this.$d.hours,"H"),D=E(this.$d.minutes,"M"),c=this.$d.seconds||0;this.$d.milliseconds&&(c+=this.$d.milliseconds/1e3,c=Math.round(1e3*c)/1e3);var g=E(c,"S"),b=p.negative||A.negative||S.negative||M.negative||D.negative||g.negative,m=M.format||D.format||g.format?"T":"",L=(b?"-":"")+"P"+p.format+A.format+S.format+m+M.format+D.format+g.format;return L==="P"||L==="-P"?"P0D":L},k.toJSON=function(){return this.toISOString()},k.format=function(p){var A=p||"YYYY-MM-DDTHH:mm:ss",x={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return A.replace(U,(function(S,M){return M||String(x[S])}))},k.as=function(p){return this.$ms/C[q(p)]},k.get=function(p){var A=this.$ms,x=q(p);return x==="milliseconds"?A%=1e3:A=x==="weeks"?I(A/C[x]):this.$d[x],A||0},k.add=function(p,A,x){var S;return S=A?p*C[q(A)]:Y(p)?p.$ms:z(p,this).$ms,z(this.$ms+S*(x?-1:1),this)},k.subtract=function(p,A){return this.add(p,A,!0)},k.locale=function(p){var A=this.clone();return A.$l=p,A},k.clone=function(){return z(this.$ms,this)},k.humanize=function(p){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!p)},k.valueOf=function(){return this.asMilliseconds()},k.milliseconds=function(){return this.get("milliseconds")},k.asMilliseconds=function(){return this.as("milliseconds")},k.seconds=function(){return this.get("seconds")},k.asSeconds=function(){return this.as("seconds")},k.minutes=function(){return this.get("minutes")},k.asMinutes=function(){return this.as("minutes")},k.hours=function(){return this.get("hours")},k.asHours=function(){return this.as("hours")},k.days=function(){return this.get("days")},k.asDays=function(){return this.as("days")},k.weeks=function(){return this.get("weeks")},k.asWeeks=function(){return this.as("weeks")},k.months=function(){return this.get("months")},k.asMonths=function(){return this.as("months")},k.years=function(){return this.get("years")},k.asYears=function(){return this.as("years")},T})(),G=function(T,k,p){return T.add(k.years()*p,"y").add(k.months()*p,"M").add(k.days()*p,"d").add(k.hours()*p,"h").add(k.minutes()*p,"m").add(k.seconds()*p,"s").add(k.milliseconds()*p,"ms")};return function(T,k,p){n=p,r=p().$utils(),p.duration=function(S,M){var D=p.locale();return z(S,{$l:D},M)},p.isDuration=Y;var A=k.prototype.add,x=k.prototype.subtract;k.prototype.add=function(S,M){return Y(S)?G(this,S,1):A.bind(this)(S,M)},k.prototype.subtract=function(S,M){return Y(S)?G(this,S,-1):x.bind(this)(S,M)}}}))})(Kt)),Kt.exports}var ji=Gi();const Qi=oe(ji);var we=(function(){var t=d(function(D,c,g,b){for(g=g||{},b=D.length;b--;g[D[b]]=c);return g},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],s=[1,29],a=[1,30],y=[1,31],F=[1,32],_=[1,33],w=[1,34],U=[1,9],C=[1,10],Y=[1,11],z=[1,12],q=[1,13],v=[1,14],I=[1,15],R=[1,16],E=[1,19],B=[1,20],G=[1,21],T=[1,22],k=[1,23],p=[1,25],A=[1,35],x={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:d(function(c,g,b,m,L,o,$){var u=o.length-1;switch(L){case 1:return o[u-1];case 2:this.$=[];break;case 3:o[u-1].push(o[u]),this.$=o[u-1];break;case 4:case 5:this.$=o[u];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(o[u].substr(11)),this.$=o[u].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=o[u].substr(18);break;case 19:m.TopAxis(),this.$=o[u].substr(8);break;case 20:m.setAxisFormat(o[u].substr(11)),this.$=o[u].substr(11);break;case 21:m.setTickInterval(o[u].substr(13)),this.$=o[u].substr(13);break;case 22:m.setExcludes(o[u].substr(9)),this.$=o[u].substr(9);break;case 23:m.setIncludes(o[u].substr(9)),this.$=o[u].substr(9);break;case 24:m.setTodayMarker(o[u].substr(12)),this.$=o[u].substr(12);break;case 27:m.setDiagramTitle(o[u].substr(6)),this.$=o[u].substr(6);break;case 28:this.$=o[u].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=o[u].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(o[u].substr(8)),this.$=o[u].substr(8);break;case 33:m.addTask(o[u-1],o[u]),this.$="task";break;case 34:this.$=o[u-1],m.setClickEvent(o[u-1],o[u],null);break;case 35:this.$=o[u-2],m.setClickEvent(o[u-2],o[u-1],o[u]);break;case 36:this.$=o[u-2],m.setClickEvent(o[u-2],o[u-1],null),m.setLink(o[u-2],o[u]);break;case 37:this.$=o[u-3],m.setClickEvent(o[u-3],o[u-2],o[u-1]),m.setLink(o[u-3],o[u]);break;case 38:this.$=o[u-2],m.setClickEvent(o[u-2],o[u],null),m.setLink(o[u-2],o[u-1]);break;case 39:this.$=o[u-3],m.setClickEvent(o[u-3],o[u-1],o[u]),m.setLink(o[u-3],o[u-2]);break;case 40:this.$=o[u-1],m.setLink(o[u-1],o[u]);break;case 41:case 47:this.$=o[u-1]+" "+o[u];break;case 42:case 43:case 45:this.$=o[u-2]+" "+o[u-1]+" "+o[u];break;case 44:case 46:this.$=o[u-3]+" "+o[u-2]+" "+o[u-1]+" "+o[u];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:s,16:a,17:y,18:F,19:18,20:_,21:w,22:U,23:C,24:Y,25:z,26:q,27:v,28:I,29:R,30:E,31:B,33:G,35:T,36:k,37:24,38:p,40:A},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:s,16:a,17:y,18:F,19:18,20:_,21:w,22:U,23:C,24:Y,25:z,26:q,27:v,28:I,29:R,30:E,31:B,33:G,35:T,36:k,37:24,38:p,40:A},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:d(function(c,g){if(g.recoverable)this.trace(c);else{var b=new Error(c);throw b.hash=g,b}},"parseError"),parse:d(function(c){var g=this,b=[0],m=[],L=[null],o=[],$=this.table,u="",K=0,l=0,O=2,H=1,j=o.slice.call(arguments,1),N=Object.create(this.lexer),J={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(J.yy[h]=this.yy[h]);N.setInput(c,J.yy),J.yy.lexer=N,J.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var P=N.yylloc;o.push(P);var V=N.options&&N.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function f(ot){b.length=b.length-2*ot,L.length=L.length-ot,o.length=o.length-ot}d(f,"popStack");function tt(){var ot;return ot=m.pop()||N.lex()||H,typeof ot!="number"&&(ot instanceof Array&&(m=ot,ot=m.pop()),ot=g.symbols_[ot]||ot),ot}d(tt,"lex");for(var W,Q,X,st,at={},vt,ut,He,Bt;;){if(Q=b[b.length-1],this.defaultActions[Q]?X=this.defaultActions[Q]:((W===null||typeof W>"u")&&(W=tt()),X=$[Q]&&$[Q][W]),typeof X>"u"||!X.length||!X[0]){var ce="";Bt=[];for(vt in $[Q])this.terminals_[vt]&&vt>O&&Bt.push("'"+this.terminals_[vt]+"'");N.showPosition?ce="Parse error on line "+(K+1)+`:
|
|
1
|
+
import{g as Hn,s as Nn,v as Pn,t as Vn,a as Rn,b as zn,_ as d,c as Yt,d as qn,bi as it,l as ht,k as Bn,o as Zn,A as Xn,u as Gn}from"./mermaid.core-ovqlC4PC.js";import{fb as oe}from"./index-MHIn2TC9.js";import{R as on,r as jn,e as cn,f as un,C as ln,n as ue,h as Qn,s as Zt}from"./transform-BqqRT-Iy.js";import{b as Jn,t as Ne,c as Kn,a as tr,l as er}from"./linear-BT-xgETh.js";import{i as nr}from"./init-Gi6I4Gst.js";import"./BlintzCanvas-DCXIQZM_.js";import"./index-U5jTIqzv.js";import"./index-DIJdZqg2.js";import"./value-wA6veExk.js";import"./defaultLocale-DX6XiGOO.js";const rr=Math.PI/180,ir=180/Math.PI,ne=18,fn=.96422,dn=1,hn=.82521,mn=4/29,Ft=6/29,gn=3*Ft*Ft,sr=Ft*Ft*Ft;function yn(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof mt)return kn(t);t instanceof on||(t=jn(t));var e=he(t.r),n=he(t.g),r=he(t.b),i=le((.2225045*e+.7168786*n+.0606169*r)/dn),s,a;return e===n&&n===r?s=a=i:(s=le((.4360747*e+.3850649*n+.1430804*r)/fn),a=le((.0139322*e+.0971045*n+.7141733*r)/hn)),new ft(116*i-16,500*(s-i),200*(i-a),t.opacity)}function ar(t,e,n,r){return arguments.length===1?yn(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}cn(ft,ar,un(ln,{brighter(t){return new ft(this.l+ne*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-ne*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=fn*fe(e),t=dn*fe(t),n=hn*fe(n),new on(de(3.1338561*e-1.6168667*t-.4906146*n),de(-.9787684*e+1.9161415*t+.033454*n),de(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function le(t){return t>sr?Math.pow(t,1/3):t/gn+mn}function fe(t){return t>Ft?t*t*t:gn*(t-mn)}function de(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function he(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function or(t){if(t instanceof mt)return new mt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=yn(t)),t.a===0&&t.b===0)return new mt(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ir;return new mt(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function xe(t,e,n,r){return arguments.length===1?or(t):new mt(t,e,n,r??1)}function mt(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function kn(t){if(isNaN(t.h))return new ft(t.l,0,0,t.opacity);var e=t.h*rr;return new ft(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}cn(mt,xe,un(ln,{brighter(t){return new mt(this.h,this.c,this.l+ne*(t??1),this.opacity)},darker(t){return new mt(this.h,this.c,this.l-ne*(t??1),this.opacity)},rgb(){return kn(this).rgb()}}));function cr(t){return function(e,n){var r=t((e=xe(e)).h,(n=xe(n)).h),i=ue(e.c,n.c),s=ue(e.l,n.l),a=ue(e.opacity,n.opacity);return function(y){return e.h=r(y),e.c=i(y),e.l=s(y),e.opacity=a(y),e+""}}}const ur=cr(Qn);function lr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function fr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function dr(t){return t}var Gt=1,me=2,be=3,Xt=4,Pe=1e-6;function hr(t){return"translate("+t+",0)"}function mr(t){return"translate(0,"+t+")"}function gr(t){return e=>+t(e)}function yr(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function kr(){return!this.__axis}function pn(t,e){var n=[],r=null,i=null,s=6,a=6,y=3,F=typeof window<"u"&&window.devicePixelRatio>1?0:.5,_=t===Gt||t===Xt?-1:1,w=t===Xt||t===me?"x":"y",U=t===Gt||t===be?hr:mr;function C(Y){var z=r??(e.ticks?e.ticks.apply(e,n):e.domain()),q=i??(e.tickFormat?e.tickFormat.apply(e,n):dr),v=Math.max(s,0)+y,I=e.range(),R=+I[0]+F,E=+I[I.length-1]+F,B=(e.bandwidth?yr:gr)(e.copy(),F),G=Y.selection?Y.selection():Y,T=G.selectAll(".domain").data([null]),k=G.selectAll(".tick").data(z,e).order(),p=k.exit(),A=k.enter().append("g").attr("class","tick"),x=k.select("line"),S=k.select("text");T=T.merge(T.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(A),x=x.merge(A.append("line").attr("stroke","currentColor").attr(w+"2",_*s)),S=S.merge(A.append("text").attr("fill","currentColor").attr(w,_*v).attr("dy",t===Gt?"0em":t===be?"0.71em":"0.32em")),Y!==G&&(T=T.transition(Y),k=k.transition(Y),x=x.transition(Y),S=S.transition(Y),p=p.transition(Y).attr("opacity",Pe).attr("transform",function(M){return isFinite(M=B(M))?U(M+F):this.getAttribute("transform")}),A.attr("opacity",Pe).attr("transform",function(M){var D=this.parentNode.__axis;return U((D&&isFinite(D=D(M))?D:B(M))+F)})),p.remove(),T.attr("d",t===Xt||t===me?a?"M"+_*a+","+R+"H"+F+"V"+E+"H"+_*a:"M"+F+","+R+"V"+E:a?"M"+R+","+_*a+"V"+F+"H"+E+"V"+_*a:"M"+R+","+F+"H"+E),k.attr("opacity",1).attr("transform",function(M){return U(B(M)+F)}),x.attr(w+"2",_*s),S.attr(w,_*v).text(q),G.filter(kr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===me?"start":t===Xt?"end":"middle"),G.each(function(){this.__axis=B})}return C.scale=function(Y){return arguments.length?(e=Y,C):e},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(Y){return arguments.length?(n=Y==null?[]:Array.from(Y),C):n.slice()},C.tickValues=function(Y){return arguments.length?(r=Y==null?null:Array.from(Y),C):r&&r.slice()},C.tickFormat=function(Y){return arguments.length?(i=Y,C):i},C.tickSize=function(Y){return arguments.length?(s=a=+Y,C):s},C.tickSizeInner=function(Y){return arguments.length?(s=+Y,C):s},C.tickSizeOuter=function(Y){return arguments.length?(a=+Y,C):a},C.tickPadding=function(Y){return arguments.length?(y=+Y,C):y},C.offset=function(Y){return arguments.length?(F=+Y,C):F},C}function pr(t){return pn(Gt,t)}function vr(t){return pn(be,t)}function Tr(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],s=t[r],a;return s<i&&(a=n,n=r,r=a,a=i,i=s,s=a),t[n]=e.floor(i),t[r]=e.ceil(s),t}const ge=new Date,ye=new Date;function nt(t,e,n,r){function i(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return i.floor=s=>(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const a=i(s),y=i.ceil(s);return s-a<y-s?a:y},i.offset=(s,a)=>(e(s=new Date(+s),a==null?1:Math.floor(a)),s),i.range=(s,a,y)=>{const F=[];if(s=i.ceil(s),y=y==null?1:Math.floor(y),!(s<a)||!(y>0))return F;let _;do F.push(_=new Date(+s)),e(s,y),t(s);while(_<s&&s<a);return F},i.filter=s=>nt(a=>{if(a>=a)for(;t(a),!s(a);)a.setTime(a-1)},(a,y)=>{if(a>=a)if(y<0)for(;++y<=0;)for(;e(a,-1),!s(a););else for(;--y>=0;)for(;e(a,1),!s(a););}),n&&(i.count=(s,a)=>(ge.setTime(+s),ye.setTime(+a),t(ge),t(ye),Math.floor(n(ge,ye))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?a=>r(a)%s===0:a=>i.count(0,a)%s===0):i)),i}const It=nt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);It.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?nt(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):It);It.range;const gt=1e3,ct=gt*60,yt=ct*60,kt=yt*24,Se=kt*7,Ve=kt*30,ke=kt*365,Tt=nt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCSeconds());Tt.range;const Nt=nt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*gt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Nt.range;const xr=nt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());xr.range;const Pt=nt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*gt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*yt)},(t,e)=>(e-t)/yt,t=>t.getHours());Pt.range;const br=nt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*yt)},(t,e)=>(e-t)/yt,t=>t.getUTCHours());br.range;const xt=nt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/kt,t=>t.getDate()-1);xt.range;const _e=nt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/kt,t=>t.getUTCDate()-1);_e.range;const wr=nt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/kt,t=>Math.floor(t/kt));wr.range;function Dt(t){return nt(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ct)/Se)}const zt=Dt(0),Vt=Dt(1),vn=Dt(2),Tn=Dt(3),bt=Dt(4),xn=Dt(5),bn=Dt(6);zt.range;Vt.range;vn.range;Tn.range;bt.range;xn.range;bn.range;function Mt(t){return nt(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/Se)}const wn=Mt(0),re=Mt(1),Dr=Mt(2),Mr=Mt(3),Et=Mt(4),Cr=Mt(5),Sr=Mt(6);wn.range;re.range;Dr.range;Mr.range;Et.range;Cr.range;Sr.range;const Rt=nt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Rt.range;const _r=nt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());_r.range;const pt=nt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());pt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:nt(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});pt.range;const wt=nt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());wt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:nt(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});wt.range;function Yr(t,e,n,r,i,s){const a=[[Tt,1,gt],[Tt,5,5*gt],[Tt,15,15*gt],[Tt,30,30*gt],[s,1,ct],[s,5,5*ct],[s,15,15*ct],[s,30,30*ct],[i,1,yt],[i,3,3*yt],[i,6,6*yt],[i,12,12*yt],[r,1,kt],[r,2,2*kt],[n,1,Se],[e,1,Ve],[e,3,3*Ve],[t,1,ke]];function y(_,w,U){const C=w<_;C&&([_,w]=[w,_]);const Y=U&&typeof U.range=="function"?U:F(_,w,U),z=Y?Y.range(_,+w+1):[];return C?z.reverse():z}function F(_,w,U){const C=Math.abs(w-_)/U,Y=Jn(([,,v])=>v).right(a,C);if(Y===a.length)return t.every(Ne(_/ke,w/ke,U));if(Y===0)return It.every(Math.max(Ne(_,w,U),1));const[z,q]=a[C/a[Y-1][2]<a[Y][2]/C?Y-1:Y];return z.every(q)}return[y,F]}const[Fr,Ur]=Yr(pt,Rt,zt,xt,Pt,Nt);function pe(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ve(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $t(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Ir(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,s=t.days,a=t.shortDays,y=t.months,F=t.shortMonths,_=Ot(i),w=Ht(i),U=Ot(s),C=Ht(s),Y=Ot(a),z=Ht(a),q=Ot(y),v=Ht(y),I=Ot(F),R=Ht(F),E={a:m,A:L,b:o,B:$,c:null,d:Xe,e:Xe,f:ei,g:fi,G:hi,H:Jr,I:Kr,j:ti,L:Dn,m:ni,M:ri,p:u,q:K,Q:Qe,s:Je,S:ii,u:si,U:ai,V:oi,w:ci,W:ui,x:null,X:null,y:li,Y:di,Z:mi,"%":je},B={a:l,A:O,b:H,B:j,c:null,d:Ge,e:Ge,f:pi,g:_i,G:Fi,H:gi,I:yi,j:ki,L:Cn,m:vi,M:Ti,p:N,q:J,Q:Qe,s:Je,S:xi,u:bi,U:wi,V:Di,w:Mi,W:Ci,x:null,X:null,y:Si,Y:Yi,Z:Ui,"%":je},G={a:x,A:S,b:M,B:D,c,d:Be,e:Be,f:Xr,g:qe,G:ze,H:Ze,I:Ze,j:zr,L:Zr,m:Rr,M:qr,p:A,q:Vr,Q:jr,s:Qr,S:Br,u:$r,U:Or,V:Hr,w:Wr,W:Nr,x:g,X:b,y:qe,Y:ze,Z:Pr,"%":Gr};E.x=T(n,E),E.X=T(r,E),E.c=T(e,E),B.x=T(n,B),B.X=T(r,B),B.c=T(e,B);function T(h,P){return function(V){var f=[],tt=-1,W=0,Q=h.length,X,st,at;for(V instanceof Date||(V=new Date(+V));++tt<Q;)h.charCodeAt(tt)===37&&(f.push(h.slice(W,tt)),(st=Re[X=h.charAt(++tt)])!=null?X=h.charAt(++tt):st=X==="e"?" ":"0",(at=P[X])&&(X=at(V,st)),f.push(X),W=tt+1);return f.push(h.slice(W,tt)),f.join("")}}function k(h,P){return function(V){var f=$t(1900,void 0,1),tt=p(f,h,V+="",0),W,Q;if(tt!=V.length)return null;if("Q"in f)return new Date(f.Q);if("s"in f)return new Date(f.s*1e3+("L"in f?f.L:0));if(P&&!("Z"in f)&&(f.Z=0),"p"in f&&(f.H=f.H%12+f.p*12),f.m===void 0&&(f.m="q"in f?f.q:0),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?(W=ve($t(f.y,0,1)),Q=W.getUTCDay(),W=Q>4||Q===0?re.ceil(W):re(W),W=_e.offset(W,(f.V-1)*7),f.y=W.getUTCFullYear(),f.m=W.getUTCMonth(),f.d=W.getUTCDate()+(f.w+6)%7):(W=pe($t(f.y,0,1)),Q=W.getDay(),W=Q>4||Q===0?Vt.ceil(W):Vt(W),W=xt.offset(W,(f.V-1)*7),f.y=W.getFullYear(),f.m=W.getMonth(),f.d=W.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),Q="Z"in f?ve($t(f.y,0,1)).getUTCDay():pe($t(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+f.W*7-(Q+5)%7:f.w+f.U*7-(Q+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,ve(f)):pe(f)}}function p(h,P,V,f){for(var tt=0,W=P.length,Q=V.length,X,st;tt<W;){if(f>=Q)return-1;if(X=P.charCodeAt(tt++),X===37){if(X=P.charAt(tt++),st=G[X in Re?P.charAt(tt++):X],!st||(f=st(h,V,f))<0)return-1}else if(X!=V.charCodeAt(f++))return-1}return f}function A(h,P,V){var f=_.exec(P.slice(V));return f?(h.p=w.get(f[0].toLowerCase()),V+f[0].length):-1}function x(h,P,V){var f=Y.exec(P.slice(V));return f?(h.w=z.get(f[0].toLowerCase()),V+f[0].length):-1}function S(h,P,V){var f=U.exec(P.slice(V));return f?(h.w=C.get(f[0].toLowerCase()),V+f[0].length):-1}function M(h,P,V){var f=I.exec(P.slice(V));return f?(h.m=R.get(f[0].toLowerCase()),V+f[0].length):-1}function D(h,P,V){var f=q.exec(P.slice(V));return f?(h.m=v.get(f[0].toLowerCase()),V+f[0].length):-1}function c(h,P,V){return p(h,e,P,V)}function g(h,P,V){return p(h,n,P,V)}function b(h,P,V){return p(h,r,P,V)}function m(h){return a[h.getDay()]}function L(h){return s[h.getDay()]}function o(h){return F[h.getMonth()]}function $(h){return y[h.getMonth()]}function u(h){return i[+(h.getHours()>=12)]}function K(h){return 1+~~(h.getMonth()/3)}function l(h){return a[h.getUTCDay()]}function O(h){return s[h.getUTCDay()]}function H(h){return F[h.getUTCMonth()]}function j(h){return y[h.getUTCMonth()]}function N(h){return i[+(h.getUTCHours()>=12)]}function J(h){return 1+~~(h.getUTCMonth()/3)}return{format:function(h){var P=T(h+="",E);return P.toString=function(){return h},P},parse:function(h){var P=k(h+="",!1);return P.toString=function(){return h},P},utcFormat:function(h){var P=T(h+="",B);return P.toString=function(){return h},P},utcParse:function(h){var P=k(h+="",!0);return P.toString=function(){return h},P}}}var Re={"-":"",_:" ",0:"0"},rt=/^\s*\d+/,Er=/^%/,Lr=/[\\^$*+?|[\]().{}]/g;function Z(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s<n?new Array(n-s+1).join(e)+i:i)}function Ar(t){return t.replace(Lr,"\\$&")}function Ot(t){return new RegExp("^(?:"+t.map(Ar).join("|")+")","i")}function Ht(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function Wr(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function $r(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ze(t,e,n){var r=rt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function qe(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Pr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Vr(t,e,n){var r=rt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Rr(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Be(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=rt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Ze(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function qr(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Br(t,e,n){var r=rt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Zr(t,e,n){var r=rt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Xr(t,e,n){var r=rt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Gr(t,e,n){var r=Er.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function jr(t,e,n){var r=rt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Qr(t,e,n){var r=rt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Xe(t,e){return Z(t.getDate(),e,2)}function Jr(t,e){return Z(t.getHours(),e,2)}function Kr(t,e){return Z(t.getHours()%12||12,e,2)}function ti(t,e){return Z(1+xt.count(pt(t),t),e,3)}function Dn(t,e){return Z(t.getMilliseconds(),e,3)}function ei(t,e){return Dn(t,e)+"000"}function ni(t,e){return Z(t.getMonth()+1,e,2)}function ri(t,e){return Z(t.getMinutes(),e,2)}function ii(t,e){return Z(t.getSeconds(),e,2)}function si(t){var e=t.getDay();return e===0?7:e}function ai(t,e){return Z(zt.count(pt(t)-1,t),e,2)}function Mn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function oi(t,e){return t=Mn(t),Z(bt.count(pt(t),t)+(pt(t).getDay()===4),e,2)}function ci(t){return t.getDay()}function ui(t,e){return Z(Vt.count(pt(t)-1,t),e,2)}function li(t,e){return Z(t.getFullYear()%100,e,2)}function fi(t,e){return t=Mn(t),Z(t.getFullYear()%100,e,2)}function di(t,e){return Z(t.getFullYear()%1e4,e,4)}function hi(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),Z(t.getFullYear()%1e4,e,4)}function mi(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Z(e/60|0,"0",2)+Z(e%60,"0",2)}function Ge(t,e){return Z(t.getUTCDate(),e,2)}function gi(t,e){return Z(t.getUTCHours(),e,2)}function yi(t,e){return Z(t.getUTCHours()%12||12,e,2)}function ki(t,e){return Z(1+_e.count(wt(t),t),e,3)}function Cn(t,e){return Z(t.getUTCMilliseconds(),e,3)}function pi(t,e){return Cn(t,e)+"000"}function vi(t,e){return Z(t.getUTCMonth()+1,e,2)}function Ti(t,e){return Z(t.getUTCMinutes(),e,2)}function xi(t,e){return Z(t.getUTCSeconds(),e,2)}function bi(t){var e=t.getUTCDay();return e===0?7:e}function wi(t,e){return Z(wn.count(wt(t)-1,t),e,2)}function Sn(t){var e=t.getUTCDay();return e>=4||e===0?Et(t):Et.ceil(t)}function Di(t,e){return t=Sn(t),Z(Et.count(wt(t),t)+(wt(t).getUTCDay()===4),e,2)}function Mi(t){return t.getUTCDay()}function Ci(t,e){return Z(re.count(wt(t)-1,t),e,2)}function Si(t,e){return Z(t.getUTCFullYear()%100,e,2)}function _i(t,e){return t=Sn(t),Z(t.getUTCFullYear()%100,e,2)}function Yi(t,e){return Z(t.getUTCFullYear()%1e4,e,4)}function Fi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Et(t):Et.ceil(t),Z(t.getUTCFullYear()%1e4,e,4)}function Ui(){return"+0000"}function je(){return"%"}function Qe(t){return+t}function Je(t){return Math.floor(+t/1e3)}var St,ie;Ii({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Ii(t){return St=Ir(t),ie=St.format,St.parse,St.utcFormat,St.utcParse,St}function Ei(t){return new Date(t)}function Li(t){return t instanceof Date?+t:+new Date(+t)}function _n(t,e,n,r,i,s,a,y,F,_){var w=Kn(),U=w.invert,C=w.domain,Y=_(".%L"),z=_(":%S"),q=_("%I:%M"),v=_("%I %p"),I=_("%a %d"),R=_("%b %d"),E=_("%B"),B=_("%Y");function G(T){return(F(T)<T?Y:y(T)<T?z:a(T)<T?q:s(T)<T?v:r(T)<T?i(T)<T?I:R:n(T)<T?E:B)(T)}return w.invert=function(T){return new Date(U(T))},w.domain=function(T){return arguments.length?C(Array.from(T,Li)):C().map(Ei)},w.ticks=function(T){var k=C();return t(k[0],k[k.length-1],T??10)},w.tickFormat=function(T,k){return k==null?G:_(k)},w.nice=function(T){var k=C();return(!T||typeof T.range!="function")&&(T=e(k[0],k[k.length-1],T??10)),T?C(Tr(k,T)):w},w.copy=function(){return tr(w,_n(t,e,n,r,i,s,a,y,F,_))},w}function Ai(){return nr.apply(_n(Fr,Ur,pt,Rt,zt,xt,Pt,Nt,Tt,ie).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var jt={exports:{}},Wi=jt.exports,Ke;function $i(){return Ke||(Ke=1,(function(t,e){(function(n,r){t.exports=r()})(Wi,(function(){var n="day";return function(r,i,s){var a=function(_){return _.add(4-_.isoWeekday(),n)},y=i.prototype;y.isoWeekYear=function(){return a(this).year()},y.isoWeek=function(_){if(!this.$utils().u(_))return this.add(7*(_-this.isoWeek()),n);var w,U,C,Y,z=a(this),q=(w=this.isoWeekYear(),U=this.$u,C=(U?s.utc:s)().year(w).startOf("year"),Y=4-C.isoWeekday(),C.isoWeekday()>4&&(Y+=7),C.add(Y,n));return z.diff(q,"week")+1},y.isoWeekday=function(_){return this.$utils().u(_)?this.day()||7:this.day(this.day()%7?_:_-7)};var F=y.startOf;y.startOf=function(_,w){var U=this.$utils(),C=!!U.u(w)||w;return U.p(_)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):F.bind(this)(_,w)}}}))})(jt)),jt.exports}var Oi=$i();const Hi=oe(Oi);var Qt={exports:{}},Ni=Qt.exports,tn;function Pi(){return tn||(tn=1,(function(t,e){(function(n,r){t.exports=r()})(Ni,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,s=/\d\d/,a=/\d\d?/,y=/\d*[^-_:/,()\s\d]+/,F={},_=function(v){return(v=+v)+(v>68?1900:2e3)},w=function(v){return function(I){this[v]=+I}},U=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=(function(I){if(!I||I==="Z")return 0;var R=I.match(/([+-]|\d\d)/g),E=60*R[1]+(+R[2]||0);return E===0?0:R[0]==="+"?-E:E})(v)}],C=function(v){var I=F[v];return I&&(I.indexOf?I:I.s.concat(I.f))},Y=function(v,I){var R,E=F.meridiem;if(E){for(var B=1;B<=24;B+=1)if(v.indexOf(E(B,0,I))>-1){R=B>12;break}}else R=v===(I?"pm":"PM");return R},z={A:[y,function(v){this.afternoon=Y(v,!1)}],a:[y,function(v){this.afternoon=Y(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[s,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[a,w("seconds")],ss:[a,w("seconds")],m:[a,w("minutes")],mm:[a,w("minutes")],H:[a,w("hours")],h:[a,w("hours")],HH:[a,w("hours")],hh:[a,w("hours")],D:[a,w("day")],DD:[s,w("day")],Do:[y,function(v){var I=F.ordinal,R=v.match(/\d+/);if(this.day=R[0],I)for(var E=1;E<=31;E+=1)I(E).replace(/\[|\]/g,"")===v&&(this.day=E)}],w:[a,w("week")],ww:[s,w("week")],M:[a,w("month")],MM:[s,w("month")],MMM:[y,function(v){var I=C("months"),R=(C("monthsShort")||I.map((function(E){return E.slice(0,3)}))).indexOf(v)+1;if(R<1)throw new Error;this.month=R%12||R}],MMMM:[y,function(v){var I=C("months").indexOf(v)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,w("year")],YY:[s,function(v){this.year=_(v)}],YYYY:[/\d{4}/,w("year")],Z:U,ZZ:U};function q(v){var I,R;I=v,R=F&&F.formats;for(var E=(v=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(x,S,M){var D=M&&M.toUpperCase();return S||R[M]||n[M]||R[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(c,g,b){return g||b.slice(1)}))}))).match(r),B=E.length,G=0;G<B;G+=1){var T=E[G],k=z[T],p=k&&k[0],A=k&&k[1];E[G]=A?{regex:p,parser:A}:T.replace(/^\[|\]$/g,"")}return function(x){for(var S={},M=0,D=0;M<B;M+=1){var c=E[M];if(typeof c=="string")D+=c.length;else{var g=c.regex,b=c.parser,m=x.slice(D),L=g.exec(m)[0];b.call(S,L),x=x.replace(L,"")}}return(function(o){var $=o.afternoon;if($!==void 0){var u=o.hours;$?u<12&&(o.hours+=12):u===12&&(o.hours=0),delete o.afternoon}})(S),S}}return function(v,I,R){R.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(_=v.parseTwoDigitYear);var E=I.prototype,B=E.parse;E.parse=function(G){var T=G.date,k=G.utc,p=G.args;this.$u=k;var A=p[1];if(typeof A=="string"){var x=p[2]===!0,S=p[3]===!0,M=x||S,D=p[2];S&&(D=p[2]),F=this.$locale(),!x&&D&&(F=R.Ls[D]),this.$d=(function(m,L,o,$){try{if(["x","X"].indexOf(L)>-1)return new Date((L==="X"?1e3:1)*m);var u=q(L)(m),K=u.year,l=u.month,O=u.day,H=u.hours,j=u.minutes,N=u.seconds,J=u.milliseconds,h=u.zone,P=u.week,V=new Date,f=O||(K||l?1:V.getDate()),tt=K||V.getFullYear(),W=0;K&&!l||(W=l>0?l-1:V.getMonth());var Q,X=H||0,st=j||0,at=N||0,vt=J||0;return h?new Date(Date.UTC(tt,W,f,X,st,at,vt+60*h.offset*1e3)):o?new Date(Date.UTC(tt,W,f,X,st,at,vt)):(Q=new Date(tt,W,f,X,st,at,vt),P&&(Q=$(Q).week(P).toDate()),Q)}catch{return new Date("")}})(T,A,k,R),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),M&&T!=this.format(A)&&(this.$d=new Date("")),F={}}else if(A instanceof Array)for(var c=A.length,g=1;g<=c;g+=1){p[1]=A[g-1];var b=R.apply(this,p);if(b.isValid()){this.$d=b.$d,this.$L=b.$L,this.init();break}g===c&&(this.$d=new Date(""))}else B.call(this,G)}}}))})(Qt)),Qt.exports}var Vi=Pi();const Ri=oe(Vi);var Jt={exports:{}},zi=Jt.exports,en;function qi(){return en||(en=1,(function(t,e){(function(n,r){t.exports=r()})(zi,(function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(a){var y=this,F=this.$locale();if(!this.isValid())return s.bind(this)(a);var _=this.$utils(),w=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(U){switch(U){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return F.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return F.ordinal(y.week(),"W");case"w":case"ww":return _.s(y.week(),U==="w"?1:2,"0");case"W":case"WW":return _.s(y.isoWeek(),U==="W"?1:2,"0");case"k":case"kk":return _.s(String(y.$H===0?24:y.$H),U==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return U}}));return s.bind(this)(w)}}}))})(Jt)),Jt.exports}var Bi=qi();const Zi=oe(Bi);var Kt={exports:{}},Xi=Kt.exports,nn;function Gi(){return nn||(nn=1,(function(t,e){(function(n,r){t.exports=r()})(Xi,(function(){var n,r,i=1e3,s=6e4,a=36e5,y=864e5,F=31536e6,_=2628e6,w=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,U=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,C={years:F,months:_,days:y,hours:a,minutes:s,seconds:i,milliseconds:1,weeks:6048e5},Y=function(T){return T instanceof B},z=function(T,k,p){return new B(T,p,k.$l)},q=function(T){return r.p(T)+"s"},v=function(T){return T<0},I=function(T){return v(T)?Math.ceil(T):Math.floor(T)},R=function(T){return Math.abs(T)},E=function(T,k){return T?v(T)?{negative:!0,format:""+R(T)+k}:{negative:!1,format:""+T+k}:{negative:!1,format:""}},B=(function(){function T(p,A,x){var S=this;if(this.$d={},this.$l=x,p===void 0&&(this.$ms=0,this.parseFromMilliseconds()),A)return z(p*C[q(A)],this);if(typeof p=="number")return this.$ms=p,this.parseFromMilliseconds(),this;if(typeof p=="object")return Object.keys(p).forEach((function(c){S.$d[q(c)]=p[c]})),this.calMilliseconds(),this;if(typeof p=="string"){var M=p.match(w);if(M){var D=M.slice(2).map((function(c){return c!=null?Number(c):0}));return this.$d.years=D[0],this.$d.months=D[1],this.$d.weeks=D[2],this.$d.days=D[3],this.$d.hours=D[4],this.$d.minutes=D[5],this.$d.seconds=D[6],this.calMilliseconds(),this}}return this}var k=T.prototype;return k.calMilliseconds=function(){var p=this;this.$ms=Object.keys(this.$d).reduce((function(A,x){return A+(p.$d[x]||0)*C[x]}),0)},k.parseFromMilliseconds=function(){var p=this.$ms;this.$d.years=I(p/F),p%=F,this.$d.months=I(p/_),p%=_,this.$d.days=I(p/y),p%=y,this.$d.hours=I(p/a),p%=a,this.$d.minutes=I(p/s),p%=s,this.$d.seconds=I(p/i),p%=i,this.$d.milliseconds=p},k.toISOString=function(){var p=E(this.$d.years,"Y"),A=E(this.$d.months,"M"),x=+this.$d.days||0;this.$d.weeks&&(x+=7*this.$d.weeks);var S=E(x,"D"),M=E(this.$d.hours,"H"),D=E(this.$d.minutes,"M"),c=this.$d.seconds||0;this.$d.milliseconds&&(c+=this.$d.milliseconds/1e3,c=Math.round(1e3*c)/1e3);var g=E(c,"S"),b=p.negative||A.negative||S.negative||M.negative||D.negative||g.negative,m=M.format||D.format||g.format?"T":"",L=(b?"-":"")+"P"+p.format+A.format+S.format+m+M.format+D.format+g.format;return L==="P"||L==="-P"?"P0D":L},k.toJSON=function(){return this.toISOString()},k.format=function(p){var A=p||"YYYY-MM-DDTHH:mm:ss",x={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return A.replace(U,(function(S,M){return M||String(x[S])}))},k.as=function(p){return this.$ms/C[q(p)]},k.get=function(p){var A=this.$ms,x=q(p);return x==="milliseconds"?A%=1e3:A=x==="weeks"?I(A/C[x]):this.$d[x],A||0},k.add=function(p,A,x){var S;return S=A?p*C[q(A)]:Y(p)?p.$ms:z(p,this).$ms,z(this.$ms+S*(x?-1:1),this)},k.subtract=function(p,A){return this.add(p,A,!0)},k.locale=function(p){var A=this.clone();return A.$l=p,A},k.clone=function(){return z(this.$ms,this)},k.humanize=function(p){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!p)},k.valueOf=function(){return this.asMilliseconds()},k.milliseconds=function(){return this.get("milliseconds")},k.asMilliseconds=function(){return this.as("milliseconds")},k.seconds=function(){return this.get("seconds")},k.asSeconds=function(){return this.as("seconds")},k.minutes=function(){return this.get("minutes")},k.asMinutes=function(){return this.as("minutes")},k.hours=function(){return this.get("hours")},k.asHours=function(){return this.as("hours")},k.days=function(){return this.get("days")},k.asDays=function(){return this.as("days")},k.weeks=function(){return this.get("weeks")},k.asWeeks=function(){return this.as("weeks")},k.months=function(){return this.get("months")},k.asMonths=function(){return this.as("months")},k.years=function(){return this.get("years")},k.asYears=function(){return this.as("years")},T})(),G=function(T,k,p){return T.add(k.years()*p,"y").add(k.months()*p,"M").add(k.days()*p,"d").add(k.hours()*p,"h").add(k.minutes()*p,"m").add(k.seconds()*p,"s").add(k.milliseconds()*p,"ms")};return function(T,k,p){n=p,r=p().$utils(),p.duration=function(S,M){var D=p.locale();return z(S,{$l:D},M)},p.isDuration=Y;var A=k.prototype.add,x=k.prototype.subtract;k.prototype.add=function(S,M){return Y(S)?G(this,S,1):A.bind(this)(S,M)},k.prototype.subtract=function(S,M){return Y(S)?G(this,S,-1):x.bind(this)(S,M)}}}))})(Kt)),Kt.exports}var ji=Gi();const Qi=oe(ji);var we=(function(){var t=d(function(D,c,g,b){for(g=g||{},b=D.length;b--;g[D[b]]=c);return g},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],s=[1,29],a=[1,30],y=[1,31],F=[1,32],_=[1,33],w=[1,34],U=[1,9],C=[1,10],Y=[1,11],z=[1,12],q=[1,13],v=[1,14],I=[1,15],R=[1,16],E=[1,19],B=[1,20],G=[1,21],T=[1,22],k=[1,23],p=[1,25],A=[1,35],x={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:d(function(c,g,b,m,L,o,$){var u=o.length-1;switch(L){case 1:return o[u-1];case 2:this.$=[];break;case 3:o[u-1].push(o[u]),this.$=o[u-1];break;case 4:case 5:this.$=o[u];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(o[u].substr(11)),this.$=o[u].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=o[u].substr(18);break;case 19:m.TopAxis(),this.$=o[u].substr(8);break;case 20:m.setAxisFormat(o[u].substr(11)),this.$=o[u].substr(11);break;case 21:m.setTickInterval(o[u].substr(13)),this.$=o[u].substr(13);break;case 22:m.setExcludes(o[u].substr(9)),this.$=o[u].substr(9);break;case 23:m.setIncludes(o[u].substr(9)),this.$=o[u].substr(9);break;case 24:m.setTodayMarker(o[u].substr(12)),this.$=o[u].substr(12);break;case 27:m.setDiagramTitle(o[u].substr(6)),this.$=o[u].substr(6);break;case 28:this.$=o[u].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=o[u].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(o[u].substr(8)),this.$=o[u].substr(8);break;case 33:m.addTask(o[u-1],o[u]),this.$="task";break;case 34:this.$=o[u-1],m.setClickEvent(o[u-1],o[u],null);break;case 35:this.$=o[u-2],m.setClickEvent(o[u-2],o[u-1],o[u]);break;case 36:this.$=o[u-2],m.setClickEvent(o[u-2],o[u-1],null),m.setLink(o[u-2],o[u]);break;case 37:this.$=o[u-3],m.setClickEvent(o[u-3],o[u-2],o[u-1]),m.setLink(o[u-3],o[u]);break;case 38:this.$=o[u-2],m.setClickEvent(o[u-2],o[u],null),m.setLink(o[u-2],o[u-1]);break;case 39:this.$=o[u-3],m.setClickEvent(o[u-3],o[u-1],o[u]),m.setLink(o[u-3],o[u-2]);break;case 40:this.$=o[u-1],m.setLink(o[u-1],o[u]);break;case 41:case 47:this.$=o[u-1]+" "+o[u];break;case 42:case 43:case 45:this.$=o[u-2]+" "+o[u-1]+" "+o[u];break;case 44:case 46:this.$=o[u-3]+" "+o[u-2]+" "+o[u-1]+" "+o[u];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:s,16:a,17:y,18:F,19:18,20:_,21:w,22:U,23:C,24:Y,25:z,26:q,27:v,28:I,29:R,30:E,31:B,33:G,35:T,36:k,37:24,38:p,40:A},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:s,16:a,17:y,18:F,19:18,20:_,21:w,22:U,23:C,24:Y,25:z,26:q,27:v,28:I,29:R,30:E,31:B,33:G,35:T,36:k,37:24,38:p,40:A},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:d(function(c,g){if(g.recoverable)this.trace(c);else{var b=new Error(c);throw b.hash=g,b}},"parseError"),parse:d(function(c){var g=this,b=[0],m=[],L=[null],o=[],$=this.table,u="",K=0,l=0,O=2,H=1,j=o.slice.call(arguments,1),N=Object.create(this.lexer),J={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(J.yy[h]=this.yy[h]);N.setInput(c,J.yy),J.yy.lexer=N,J.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var P=N.yylloc;o.push(P);var V=N.options&&N.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function f(ot){b.length=b.length-2*ot,L.length=L.length-ot,o.length=o.length-ot}d(f,"popStack");function tt(){var ot;return ot=m.pop()||N.lex()||H,typeof ot!="number"&&(ot instanceof Array&&(m=ot,ot=m.pop()),ot=g.symbols_[ot]||ot),ot}d(tt,"lex");for(var W,Q,X,st,at={},vt,ut,He,Bt;;){if(Q=b[b.length-1],this.defaultActions[Q]?X=this.defaultActions[Q]:((W===null||typeof W>"u")&&(W=tt()),X=$[Q]&&$[Q][W]),typeof X>"u"||!X.length||!X[0]){var ce="";Bt=[];for(vt in $[Q])this.terminals_[vt]&&vt>O&&Bt.push("'"+this.terminals_[vt]+"'");N.showPosition?ce="Parse error on line "+(K+1)+`:
|
|
2
2
|
`+N.showPosition()+`
|
|
3
3
|
Expecting `+Bt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":ce="Parse error on line "+(K+1)+": Unexpected "+(W==H?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(ce,{text:N.match,token:this.terminals_[W]||W,line:N.yylineno,loc:P,expected:Bt})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+W);switch(X[0]){case 1:b.push(W),L.push(N.yytext),o.push(N.yylloc),b.push(X[1]),W=null,l=N.yyleng,u=N.yytext,K=N.yylineno,P=N.yylloc;break;case 2:if(ut=this.productions_[X[1]][1],at.$=L[L.length-ut],at._$={first_line:o[o.length-(ut||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(ut||1)].first_column,last_column:o[o.length-1].last_column},V&&(at._$.range=[o[o.length-(ut||1)].range[0],o[o.length-1].range[1]]),st=this.performAction.apply(at,[u,l,K,J.yy,X[1],L,o].concat(j)),typeof st<"u")return st;ut&&(b=b.slice(0,-1*ut*2),L=L.slice(0,-1*ut),o=o.slice(0,-1*ut)),b.push(this.productions_[X[1]][0]),L.push(at.$),o.push(at._$),He=$[b[b.length-2]][b[b.length-1]],b.push(He);break;case 3:return!0}}return!0},"parse")},S=(function(){var D={EOF:1,parseError:d(function(g,b){if(this.yy.parser)this.yy.parser.parseError(g,b);else throw new Error(g)},"parseError"),setInput:d(function(c,g){return this.yy=g||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var g=c.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:d(function(c){var g=c.length,b=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),b.length-1&&(this.yylineno-=b.length-1);var L=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:b?(b.length===m.length?this.yylloc.first_column:0)+m[m.length-b.length].length-b[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[L[0],L[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(c){this.unput(this.match.slice(c))},"less"),pastInput:d(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var c=this.pastInput(),g=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
|