@p4code/cli 0.8.5 → 0.8.7

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.
Files changed (461) hide show
  1. package/dist/bin.mjs +1 -1
  2. package/dist/{binCli-D9Qk_k5i.mjs → binCli-D_84b0CF.mjs} +155 -47
  3. package/dist/client/.vite/manifest.json +2715 -2986
  4. package/dist/client/assets/{AnimatedHeight-DKdClmyw.js → AnimatedHeight-DewGDSmN.js} +2 -2
  5. package/dist/client/assets/{AuthSurfaceShell-UJgufrYU.js → AuthSurfaceShell-D29U36jB.js} +2 -2
  6. package/dist/client/assets/{CSPContext-CTpTfAqS.js → CSPContext-CB4Jj3Uk.js} +2 -2
  7. package/dist/client/assets/ChatGptUsageButton-CFN6c9Ue.js +2 -0
  8. package/dist/client/assets/ChatMarkdown-DTSMYNs8.js +65 -0
  9. package/dist/client/assets/CodexSetupSection.logic-DQMTTenV.js +2 -0
  10. package/dist/client/assets/ComboboxClear-D8WYxa7i.js +2 -0
  11. package/dist/client/assets/CommandBlock-VzUG411k.js +2 -0
  12. package/dist/client/assets/{ComposerPromptEditor-BpT2majW.js → ComposerPromptEditor-lIFv0Iko.js} +61 -61
  13. package/dist/client/assets/CompositeRoot-CLSWLNTl.js +2 -0
  14. package/dist/client/assets/{ConnectionStatusDot-BX6msmak.js → ConnectionStatusDot-B0ZKI-zI.js} +2 -2
  15. package/dist/client/assets/DevicePanel-BQ6aWeSD.js +2 -0
  16. package/dist/client/assets/DeviceSetup-Bg5OpWbo.js +2 -0
  17. package/dist/client/assets/{DialogTitle-CLcXbJRs.js → DialogTitle-BVkBTuS9.js} +2 -2
  18. package/dist/client/assets/{DiffCommentAnnotation-B21n3tGU.js → DiffCommentAnnotation-BsI9yTe1.js} +3 -3
  19. package/dist/client/assets/DiffFileTree-Bg8GHn2r.js +2 -0
  20. package/dist/client/assets/DiffPanel-D2TxWIFd.js +2 -0
  21. package/dist/client/assets/{DiffWorkerPoolProvider-Cxzr_uYq.js → DiffWorkerPoolProvider-B9BXoLYM.js} +3 -3
  22. package/dist/client/assets/EnvironmentMachineIcon-DX1wHHgS.js +2 -0
  23. package/dist/client/assets/{ExpandableText-D1ewr-yU.js → ExpandableText-DfTvwfDp.js} +2 -2
  24. package/dist/client/assets/{FieldControl-BVq7aDv3.js → FieldControl-CrNWnPN_.js} +2 -2
  25. package/dist/client/assets/{FileDiff-C0ZCBwBc.js → FileDiff-Ds-DSHzC.js} +2 -2
  26. package/dist/client/assets/FilePreviewPanel-CyR5pXUr.js +34 -0
  27. package/dist/client/assets/FoldedSettingsSection-DQesC0Ch.js +2 -0
  28. package/dist/client/assets/{FormContext-CObkgUvS.js → FormContext-CUf-dYwe.js} +2 -2
  29. package/dist/client/assets/{Icons-CSHLGz_M.js → Icons-DMu3kCVA.js} +2 -2
  30. package/dist/client/assets/{KeybindingsSettings.logic-D9eYCeK5.js → KeybindingsSettings.logic-BB1oFV_W.js} +2 -2
  31. package/dist/client/assets/NoProjectsHero-D0SwrjYG.js +2 -0
  32. package/dist/client/assets/PanelLayoutControls-Bfgdx7QX.js +215 -0
  33. package/dist/client/assets/{PierreEntryIcon-D0PlfaRc.js → PierreEntryIcon-BUl5qtCE.js} +2 -2
  34. package/dist/client/assets/PreviewPanel-CbotCgGz.js +2 -0
  35. package/dist/client/assets/ProjectDefaultsSettings-GpUKCz2U.js +2 -0
  36. package/dist/client/assets/ProjectFavicon-BKEw0TrD.js +3 -0
  37. package/dist/client/assets/ProjectIconPickerDialog-C-KFxEg0.js +2 -0
  38. package/dist/client/assets/ProjectMonogram-B2dsNF6-.js +2 -0
  39. package/dist/client/assets/{ProviderAuthTerminal-rBb4SeQd.js → ProviderAuthTerminal-Cwr8Z1Ly.js} +2 -2
  40. package/dist/client/assets/ProviderModelPicker-CIxbqWeL.js +2 -0
  41. package/dist/client/assets/ProviderSettingsForm-DpmAB_Jq.js +2 -0
  42. package/dist/client/assets/PullRequestCodeTab-qEGBl5Kn.js +6 -0
  43. package/dist/client/assets/{ReadOnlySourcePreview-BvUk75g2.js → ReadOnlySourcePreview-C5y6ELAP.js} +2 -2
  44. package/dist/client/assets/RenderErrorBoundary-CyH8UwmD.js +2 -0
  45. package/dist/client/assets/ScheduledTasksSettings-deUjWQ39.js +4 -0
  46. package/dist/client/assets/ScopedSwitch-pdvWIJp5.js +2 -0
  47. package/dist/client/assets/{SecretInput-SiHUbFCV.js → SecretInput-C11F3Wuh.js} +2 -2
  48. package/dist/client/assets/SettingsPanels-DExy67bz.js +39 -0
  49. package/dist/client/assets/{SettingsPanels.logic-B3IqBMv7.js → SettingsPanels.logic-zUA6f3HT.js} +2 -2
  50. package/dist/client/assets/{SettingsScopeNotice-B_awMQPw.js → SettingsScopeNotice-N6bcXfto.js} +2 -2
  51. package/dist/client/assets/T3ConnectAccountPages-uVnu-v4W.js +2 -0
  52. package/dist/client/assets/T3ConnectSidebarSignIn-CZCWzt6C.js +2 -0
  53. package/dist/client/assets/ThemeEditorPanel-CjUB7HmU.js +5 -0
  54. package/dist/client/assets/ThreadTerminalDrawer-CAh-h3eK.js +5 -0
  55. package/dist/client/assets/{Virtualizer-DWmIp9HB.js → Virtualizer-CB4f0UTD.js} +2 -2
  56. package/dist/client/assets/{WorkspaceBreadcrumb-Dx7xMwQd.js → WorkspaceBreadcrumb-3VgFkWcC.js} +2 -2
  57. package/dist/client/assets/{WorkspacePageContainer-sM_H3DH4.js → WorkspacePageContainer-8jksqZGW.js} +2 -2
  58. package/dist/client/assets/{WorkspacePageHeader-C_J7FxVt.js → WorkspacePageHeader-IRvZnA0X.js} +2 -2
  59. package/dist/client/assets/_chat-BfQTKc_9.js +45 -0
  60. package/dist/client/assets/_chat.index-DnYerwxz.js +2 -0
  61. package/dist/client/assets/_chat.new-XtBIcyRw.js +4 -0
  62. package/dist/client/assets/_chat.pull-requests-Dz-eLkAP.js +2 -0
  63. package/dist/client/assets/{abnfDiagram-VCTEODGH-D2OflHz4.js → abnfDiagram-VCTEODGH-DUPWAarL.js} +2 -2
  64. package/dist/client/assets/{alert-8IFNkYPw.js → alert-DzxRsWWi.js} +2 -2
  65. package/dist/client/assets/architecture-7GRP2DOG-DTyqnvkZ.js +1 -0
  66. package/dist/client/assets/{architectureDiagram-5GKGNRK7-Cz7fFw7N.js → architectureDiagram-5GKGNRK7-ipdl5Chl.js} +2 -2
  67. package/dist/client/assets/arrow-left-BLE461db.js +2 -0
  68. package/dist/client/assets/arrow-right-CoV5ameY.js +2 -0
  69. package/dist/client/assets/arrow-up-down-ibtVnemT.js +2 -0
  70. package/dist/client/assets/assets-B7aY-rQd.js +2 -0
  71. package/dist/client/assets/bell-CLuvLMth.js +2 -0
  72. package/dist/client/assets/{blockDiagram-I7D4REHJ-BcqcXQ0x.js → blockDiagram-I7D4REHJ-CCqcBoEP.js} +2 -2
  73. package/dist/client/assets/blocks-B-VfW07Q.js +2 -0
  74. package/dist/client/assets/bot-DpQzHyXo.js +2 -0
  75. package/dist/client/assets/{browserHistoryStore-CuO1erOb.js → browserHistoryStore-TLJ0k3I1.js} +2 -2
  76. package/dist/client/assets/{browserLinkTarget-B5-9Pt65.js → browserLinkTarget-Du_qPFvd.js} +2 -2
  77. package/dist/client/assets/{c4Diagram-7LVT6UL2-DDiDhcli.js → c4Diagram-7LVT6UL2-D0uMteR1.js} +2 -2
  78. package/dist/client/assets/calendar-clock-DTUOomkO.js +2 -0
  79. package/dist/client/assets/channel-BO8pVrSI.js +2 -0
  80. package/dist/client/assets/chart-no-axes-column-DKbSsm0y.js +2 -0
  81. package/dist/client/assets/checkbox-Gd1YCUIl.js +2 -0
  82. package/dist/client/assets/{chunk-4HAMMTFA-_7K6yngz.js → chunk-4HAMMTFA-B3SWgtem.js} +2 -2
  83. package/dist/client/assets/{chunk-75Z2AOVW-CUqo_4ua.js → chunk-75Z2AOVW-CXAakYxI.js} +2 -2
  84. package/dist/client/assets/{chunk-DU6HZSFF-C3RStRBi.js → chunk-DU6HZSFF-B4qcstD9.js} +2 -2
  85. package/dist/client/assets/{chunk-F27PBJKO-BOr5cbtz.js → chunk-F27PBJKO-DimzPDjs.js} +2 -2
  86. package/dist/client/assets/{chunk-GMAD6QVW-qBcSdTWV.js → chunk-GMAD6QVW-BHA-Os4E.js} +2 -2
  87. package/dist/client/assets/{chunk-GVQU2GXP-D8rhGQK_.js → chunk-GVQU2GXP-P9nMI_GJ.js} +2 -2
  88. package/dist/client/assets/{chunk-IMKFNOWR-BjTZFMrm.js → chunk-IMKFNOWR-RgWCceFN.js} +2 -2
  89. package/dist/client/assets/{chunk-L3NEJ4N5-DnCelWBi.js → chunk-L3NEJ4N5-9p7zIkHC.js} +2 -2
  90. package/dist/client/assets/{chunk-OSK3NFVY-BEgD3sGZ.js → chunk-OSK3NFVY-C9IokqLY.js} +2 -2
  91. package/dist/client/assets/{chunk-P2QGCYS3-DDmmXS6G.js → chunk-P2QGCYS3-Dwk8ORW_.js} +2 -2
  92. package/dist/client/assets/{chunk-POPQ4Y6H-CefHvRtI.js → chunk-POPQ4Y6H-BwYKYQwt.js} +2 -2
  93. package/dist/client/assets/{chunk-PWAF6VOD-BPIKFLCK.js → chunk-PWAF6VOD-BMw0rklB.js} +2 -2
  94. package/dist/client/assets/{chunk-SHT3W25Y-B_pDi6kv.js → chunk-SHT3W25Y-D3ovSAoa.js} +2 -2
  95. package/dist/client/assets/{chunk-SVP7TREG-BD15vJFs.js → chunk-SVP7TREG-CpaRTznV.js} +2 -2
  96. package/dist/client/assets/{chunk-TICWLB2K-B2yA6VhZ.js → chunk-TICWLB2K-CAtIccZJ.js} +2 -2
  97. package/dist/client/assets/classDiagram-ZZMXUADV-Scmt9e5N.js +2 -0
  98. package/dist/client/assets/classDiagram-v2-VYDZK3BY-Scmt9e5N.js +2 -0
  99. package/dist/client/assets/{color-picker-Dqvd0njw.js → color-picker-DYoHU1P8.js} +2 -2
  100. package/dist/client/assets/combobox-Ddag8Jom.js +2 -0
  101. package/dist/client/assets/command-B35zAYVN.js +2 -0
  102. package/dist/client/assets/{connect-D8LGiBSX.js → connect-XgeleCz9.js} +2 -2
  103. package/dist/client/assets/connect-agent-BRIcxQbo.js +2 -0
  104. package/dist/client/assets/corner-left-up-BCqW4dF8.js +2 -0
  105. package/dist/client/assets/{cynefin-OW5HDTMX-D-j3kzkd.js → cynefin-OW5HDTMX-Br0UWz2p.js} +1 -1
  106. package/dist/client/assets/{cynefinDiagram-5FMLGOSQ-CVEhj0G_.js → cynefinDiagram-5FMLGOSQ-Bz8AWXlE.js} +2 -2
  107. package/dist/client/assets/{dagre-GXQ25YYZ-opF-kR2J.js → dagre-GXQ25YYZ-Kk1kLU-A.js} +2 -2
  108. package/dist/client/assets/device-CJH4ixRH.js +2 -0
  109. package/dist/client/assets/{diagram-S7CK7UJ4-Y1OUf_Uf.js → diagram-S7CK7UJ4-Dogw5edZ.js} +2 -2
  110. package/dist/client/assets/{diagram-UQ7AKVKN-BMAkQiYU.js → diagram-UQ7AKVKN-kg5DSfbZ.js} +2 -2
  111. package/dist/client/assets/{diagram-VSXAHHWV-YWI6689v.js → diagram-VSXAHHWV-DXdyRkdD.js} +2 -2
  112. package/dist/client/assets/{diagram-VX7I27RA-DVxQ1Tyn.js → diagram-VX7I27RA-CNO5Z04I.js} +2 -2
  113. package/dist/client/assets/{diagram-Z3DM3KII-DzaunCE7.js → diagram-Z3DM3KII-7Pw0HXMg.js} +2 -2
  114. package/dist/client/assets/dialog-C9_Ef3sx.js +2 -0
  115. package/dist/client/assets/{diffRendering-TJ6NEHef.js → diffRendering-CAxImuLd.js} +2 -2
  116. package/dist/client/assets/{discovery-list-2jVj88oX.js → discovery-list-DXE1P9pq.js} +2 -2
  117. package/dist/client/assets/{dist-Dc07DWZJ.js → dist-DOyHkZUI.js} +3 -3
  118. package/dist/client/assets/download-BAp4p4A-.js +2 -0
  119. package/dist/client/assets/{draft-input-CAOyi5vd.js → draft-input-6dynCiw_.js} +2 -2
  120. package/dist/client/assets/{duoViewer-CkI16mDl.js → duoViewer-BFeSS1Av.js} +2 -2
  121. package/dist/client/assets/dynamic-BxCDxZLw.js +3 -0
  122. package/dist/client/assets/earth-CTY23Bx1.js +2 -0
  123. package/dist/client/assets/{ebnfDiagram-PWID7BFC-CLu3StxL.js → ebnfDiagram-PWID7BFC-DD9UVmrJ.js} +2 -2
  124. package/dist/client/assets/ellipsis-6x3R4_IB.js +2 -0
  125. package/dist/client/assets/{embeddedScripts-C0cHj-rX.js → embeddedScripts-CIC2AYGL.js} +2 -2
  126. package/dist/client/assets/empty-BvJSXK20.js +2 -0
  127. package/dist/client/assets/entities-Dzl1j2jY.js +2 -0
  128. package/dist/client/assets/{erDiagram-RLTQ6QDP-CMztaIAH.js → erDiagram-RLTQ6QDP-BJ--ph2e.js} +2 -2
  129. package/dist/client/assets/eventmodeling-NTZA5JFV-DrPNirV-.js +1 -0
  130. package/dist/client/assets/eye-Dh5UEUs_.js +2 -0
  131. package/dist/client/assets/file-search-DotMSEoS.js +2 -0
  132. package/dist/client/assets/{fileLinks-3CrgspkN.js → fileLinks-BZV-xG7Q.js} +2 -2
  133. package/dist/client/assets/{fileTreeExpansion-CYkjiRdT.js → fileTreeExpansion-SSkII8h0.js} +2 -2
  134. package/dist/client/assets/flowDiagram-HODETNUW-D4bD8hue.js +1 -0
  135. package/dist/client/assets/folder-git-2-BxqGR5ht.js +2 -0
  136. package/dist/client/assets/folder-open-BqgCWh1y.js +2 -0
  137. package/dist/client/assets/folder-plus-BHa3aD6W.js +2 -0
  138. package/dist/client/assets/{ganttDiagram-EL5Y4UJY-G_L0ijf2.js → ganttDiagram-EL5Y4UJY-CAMkT1YN.js} +2 -2
  139. package/dist/client/assets/{getDiffFileInput-Kc1w64Y-.js → getDiffFileInput-BbRHVLd8.js} +2 -2
  140. package/dist/client/assets/git-branch-CAP5iwh8.js +2 -0
  141. package/dist/client/assets/{gitGraph-4MIJSDKK-BmuEuxsx.js → gitGraph-4MIJSDKK-DsGem99u.js} +1 -1
  142. package/dist/client/assets/{gitGraphDiagram-WWUBYQGX-C6A4msS5.js → gitGraphDiagram-WWUBYQGX-BkbTIyDI.js} +2 -2
  143. package/dist/client/assets/grip-vertical-B8ERFH5y.js +2 -0
  144. package/dist/client/assets/{guideRunStore-sdfoC8zb.js → guideRunStore-CRgghh5M.js} +2 -2
  145. package/dist/client/assets/hard-drive-CVWUL95f.js +2 -0
  146. package/dist/client/assets/history-B22_6xEN.js +2 -0
  147. package/dist/client/assets/house-D_gjXlRt.js +2 -0
  148. package/dist/client/assets/{htmlRender-BPiW3VQi.js → htmlRender-DhaCAG_8.js} +2 -2
  149. package/dist/client/assets/index-CyuShNwE.js +3 -0
  150. package/dist/client/assets/{info-A6RAGUB7-CwFLPSUe.js → info-A6RAGUB7-BBQkQpY8.js} +1 -1
  151. package/dist/client/assets/{infoDiagram-27XIBGKW-bjIIr1Q4.js → infoDiagram-27XIBGKW-B-aRfZJ5.js} +2 -2
  152. package/dist/client/assets/{input-w_nbMVAd.js → input-BZEAWLAC.js} +2 -2
  153. package/dist/client/assets/{input-group-DM7QvN7X.js → input-group-DQ0hiSJt.js} +2 -2
  154. package/dist/client/assets/{ishikawaDiagram-5VMMS53U-ymImqXAG.js → ishikawaDiagram-5VMMS53U-BuQT0JFA.js} +2 -2
  155. package/dist/client/assets/{journeyDiagram-3NMN7TZE-TJpDU0em.js → journeyDiagram-3NMN7TZE-DvMkIp6_.js} +2 -2
  156. package/dist/client/assets/{kanban-definition-UXKFOSKX-Bhm6s1x1.js → kanban-definition-UXKFOSKX-BH-BleQp.js} +2 -2
  157. package/dist/client/assets/{kbd-CTZhqOH9.js → kbd-B5U1dWuw.js} +2 -2
  158. package/dist/client/assets/{keybindings-CJFu-Dyg.js → keybindings-BOV97yVS.js} +2 -2
  159. package/dist/client/assets/keyboard-9HUE6Zs7.js +2 -0
  160. package/dist/client/assets/{lazyRouteComponent-WxKijHdU.js → lazyRouteComponent-Cz9CWj20.js} +2 -2
  161. package/dist/client/assets/{line-C24Qe7Rj.js → line-ldmXyAfR.js} +2 -2
  162. package/dist/client/assets/{link-DnBUR2mx.js → link-GWWfOiYJ.js} +2 -2
  163. package/dist/client/assets/link-zAXVcUwk.js +2 -0
  164. package/dist/client/assets/{linkedPrompt-CNv-bVSs.js → linkedPrompt-CUOURNo0.js} +2 -2
  165. package/dist/client/assets/list-BAEaXVbr.js +2 -0
  166. package/dist/client/assets/loader-CRsWQXUs.js +2 -0
  167. package/dist/client/assets/main-DJbmaTSv.js +30 -0
  168. package/dist/client/assets/main-bt-A8VDR.css +2 -0
  169. package/dist/client/assets/{mediaReference-vtwfoFLK.js → mediaReference-CHMrPLS_.js} +2 -2
  170. package/dist/client/assets/{mediaSource-BDkqXaxs.js → mediaSource-C2DVrhoI.js} +2 -2
  171. package/dist/client/assets/{mermaid-parser.core-D2hAGRv3.js → mermaid-parser.core-CLu3jfMo.js} +4 -4
  172. package/dist/client/assets/{mermaid.core-DWtHy2iz.js → mermaid.core-CcbjUEO9.js} +5 -5
  173. package/dist/client/assets/message-circle-question-mark-Blboafqi.js +2 -0
  174. package/dist/client/assets/message-square-DLzUyuIE.js +2 -0
  175. package/dist/client/assets/message-square-dashed-DrEYZ6F3.js +2 -0
  176. package/dist/client/assets/{mindmap-definition-YA3MSWOX-DCzTD1Gd.js → mindmap-definition-YA3MSWOX-BgA-mHTZ.js} +2 -2
  177. package/dist/client/assets/mouse-pointer-2-DbBU41il.js +2 -0
  178. package/dist/client/assets/number-field-BuLW4JjE.js +2 -0
  179. package/dist/client/assets/{observeResize-wFdsooQ8.js → observeResize-DRhwSBbU.js} +2 -2
  180. package/dist/client/assets/{onboarding-Buk_SNIp.js → onboarding-JdAo8zsA.js} +2 -2
  181. package/dist/client/assets/openFileInPreview-fPqhkMo9.js +2 -0
  182. package/dist/client/assets/p4ProjectFile-CvON4UbU.js +2 -0
  183. package/dist/client/assets/{packet-AYTQ26CC-CSklBRjj.js → packet-AYTQ26CC-DApn8qRX.js} +1 -1
  184. package/dist/client/assets/{pair-DYnW2Jz0.js → pair-BZFzlFlB.js} +2 -2
  185. package/dist/client/assets/palette-Xj4s0pmv.js +2 -0
  186. package/dist/client/assets/panel-left-DzXd97so.js +2 -0
  187. package/dist/client/assets/panels-top-left-C5lf6BGD.js +2 -0
  188. package/dist/client/assets/{pegDiagram-XKGWAZYB-Cgo_C_YQ.js → pegDiagram-XKGWAZYB-CXEiF-e_.js} +2 -2
  189. package/dist/client/assets/{phoneViewer-CVOLU68D.js → phoneViewer-B2PYzUOK.js} +2 -2
  190. package/dist/client/assets/{pie-WAS4IAKB-y0cNnmhp.js → pie-WAS4IAKB-CYqWZV05.js} +1 -1
  191. package/dist/client/assets/{pieDiagram-E7YTZNPT-CR9uQOKX.js → pieDiagram-E7YTZNPT-DI-IJXNl.js} +2 -2
  192. package/dist/client/assets/{pierre-icons-YFKnGmUq.js → pierre-icons-bBNX7pHG.js} +2 -2
  193. package/dist/client/assets/popover-O8JaXWO5.js +2 -0
  194. package/dist/client/assets/{preview-DT6Qi-Q0.js → preview-BVbvXV-T.js} +2 -2
  195. package/dist/client/assets/{preview-C7hqmFHN.js → preview-CBNZZm4k.js} +2 -2
  196. package/dist/client/assets/{previewMiniPlayerStore-Dmvk7kfx.js → previewMiniPlayerStore-C_DZeWb5.js} +2 -2
  197. package/dist/client/assets/primary-fvERVyIG.js +2 -0
  198. package/dist/client/assets/primaryCloudLinkState-CT9FDATw.js +2 -0
  199. package/dist/client/assets/projectFilesQueryState-D-fWLsA3.js +2 -0
  200. package/dist/client/assets/projectScriptEditor-BqddH5Lr.js +2 -0
  201. package/dist/client/assets/{providerSkills-Bd9FOodA.js → providerSkills-JMYzRM2N.js} +2 -2
  202. package/dist/client/assets/{pullRequestDetail.logic-BHCv2eTg.js → pullRequestDetail.logic-BVBxawC1.js} +4 -4
  203. package/dist/client/assets/pullRequestIcons-CuqlEFYV.js +2 -0
  204. package/dist/client/assets/{pullRequestReviewStore-DNDBmRdQ.js → pullRequestReviewStore-DmxuV1dp.js} +2 -2
  205. package/dist/client/assets/pullRequests-CEpTVk5m.js +2 -0
  206. package/dist/client/assets/puzzle-Bv9mngwk.js +2 -0
  207. package/dist/client/assets/{quadrantDiagram-AXDQQJYC-B2RnhUBb.js → quadrantDiagram-AXDQQJYC-Os8jPhhw.js} +2 -2
  208. package/dist/client/assets/queries-BBd2XSpN.js +2 -0
  209. package/dist/client/assets/query-fboCqXXy.js +2 -0
  210. package/dist/client/assets/{radar-RG4KPBEZ-Dygcuho2.js → radar-RG4KPBEZ-BwFp-k4W.js} +1 -1
  211. package/dist/client/assets/radio-group-B2ziR973.js +2 -0
  212. package/dist/client/assets/{railroad-74A4TZTK-CK7b6dqk.js → railroad-74A4TZTK-BhaeCUUR.js} +1 -1
  213. package/dist/client/assets/railroad-abnf-HS5TGJTU-D_PV710-.js +1 -0
  214. package/dist/client/assets/railroad-ebnf-LZEXJU2U-CmXdS8HA.js +1 -0
  215. package/dist/client/assets/railroad-peg-WCYAUIDC-BpmFZ4-g.js +1 -0
  216. package/dist/client/assets/{railroadDiagram-O6MQD6OU-DsiQNHoT.js → railroadDiagram-O6MQD6OU-BwEd4kBJ.js} +2 -2
  217. package/dist/client/assets/{renderScheduler-DwOi4uKZ.js → renderScheduler-C031Kal5.js} +2 -2
  218. package/dist/client/assets/{requirementDiagram-BXWQKSXE-DUEtMGYN.js → requirementDiagram-BXWQKSXE-B3cJlOEK.js} +2 -2
  219. package/dist/client/assets/{rightPanelStore-BWYBRVeP.js → rightPanelStore-JWjHC9l1.js} +2 -2
  220. package/dist/client/assets/rotate-ccw-Dr4MwDMq.js +2 -0
  221. package/dist/client/assets/rotate-cw-10CQA0Ej.js +2 -0
  222. package/dist/client/assets/runtime-B-UcwNuZ.js +2 -0
  223. package/dist/client/assets/runtime-BVzm9sLS.js +6 -0
  224. package/dist/client/assets/runtimeModeConfig-Ce0Dnm2_.js +2 -0
  225. package/dist/client/assets/{sankeyDiagram-P5KCCOFB-Bnb7-uIo.js → sankeyDiagram-P5KCCOFB-C8CBmy9t.js} +2 -2
  226. package/dist/client/assets/{scheduledTasksSettings.logic-CFyLLJ0-.js → scheduledTasksSettings.logic-CJBRz5bk.js} +3 -3
  227. package/dist/client/assets/{scroll-area-iMm_YXqJ.js → scroll-area-D4H8QGpd.js} +2 -2
  228. package/dist/client/assets/select-D0wmEFXx.js +2 -0
  229. package/dist/client/assets/{sequenceDiagram-WJ2MYXX4-BKHWFnq6.js → sequenceDiagram-WJ2MYXX4-IbrowOt4.js} +2 -2
  230. package/dist/client/assets/server-97u7Iupv.js +2 -0
  231. package/dist/client/assets/session-CPQQ27HG.js +2 -0
  232. package/dist/client/assets/{session-logic-DVvClfzW.js → session-logic-CiMoVF-V.js} +5 -5
  233. package/dist/client/assets/settings-2-XzWAl_8P.js +2 -0
  234. package/dist/client/assets/settings-CTjEqsg3.js +2 -0
  235. package/dist/client/assets/settings-mAdVdtYz.js +2 -0
  236. package/dist/client/assets/settings.appearance-SUyLnEit.js +2 -0
  237. package/dist/client/assets/settings.archived-C-clMQMK.js +2 -0
  238. package/dist/client/assets/settings.computer-use-IGLZXOs8.js +2 -0
  239. package/dist/client/assets/settings.connections-DhpKQ7ay.js +2 -0
  240. package/dist/client/assets/{settings.data-controls-CmJZj_HT.js → settings.data-controls-FiLy_ddv.js} +2 -2
  241. package/dist/client/assets/{settings.decisions-Bm-M9k3t.js → settings.decisions-DZO8QWHd.js} +2 -2
  242. package/dist/client/assets/settings.diagnostics-CG2kVUBD.js +2 -0
  243. package/dist/client/assets/settings.general-jsS1Ydzs.js +2 -0
  244. package/dist/client/assets/settings.integrations-DDlR7Et9.js +2 -0
  245. package/dist/client/assets/settings.keybindings-BYwCM_iI.js +2 -0
  246. package/dist/client/assets/settings.open-source-licenses-CZcWXiGu.js +2 -0
  247. package/dist/client/assets/settings.plugins-P_B4taFp.js +5 -0
  248. package/dist/client/assets/settings.projects-DqNHL2Mx.js +4 -0
  249. package/dist/client/assets/settings.providers-olNQXPOc.js +3 -0
  250. package/dist/client/assets/settings.scheduled-tasks-Dwr1Iiu5.js +2 -0
  251. package/dist/client/assets/settings.snap-shot-uj9CX5J6.js +2 -0
  252. package/dist/client/assets/settings.source-control-H60mYM0m.js +2 -0
  253. package/dist/client/assets/{settings.storage-e3yKBYeM.js → settings.storage--Ghi4ySm.js} +2 -2
  254. package/dist/client/assets/settingsLayout-BdqCokK9.js +3 -0
  255. package/dist/client/assets/shield-check-k2SY7zjx.js +2 -0
  256. package/dist/client/assets/shield-question-mark-pgYZYoSI.js +2 -0
  257. package/dist/client/assets/sidebar-7a8hvtAS.js +2 -0
  258. package/dist/client/assets/{sidebarProjectGrouping-BmTLes3y.js → sidebarProjectGrouping-BGgp_M_h.js} +2 -2
  259. package/dist/client/assets/skeleton-7wGNlCET.js +2 -0
  260. package/dist/client/assets/{sortable.esm-Df_JB8i3.js → sortable.esm-CG0AZByT.js} +2 -2
  261. package/dist/client/assets/{sourceControl-BfGzu06x.js → sourceControl-B8VqenU-.js} +2 -2
  262. package/dist/client/assets/spinner-YUJ6Pwvq.js +2 -0
  263. package/dist/client/assets/square-pen-DIW48FdK.js +2 -0
  264. package/dist/client/assets/{standalone-page-Bsaqnigq.js → standalone-page-BxErOfZy.js} +2 -2
  265. package/dist/client/assets/{stateDiagram-D77RDMKH-BhdX_IDZ.js → stateDiagram-D77RDMKH-C0i1_7JQ.js} +2 -2
  266. package/dist/client/assets/stateDiagram-v2-MP3YSRHH-nFt0QPRs.js +2 -0
  267. package/dist/client/assets/{swimlanes-42K2YHIH-T7QLMavY.js → swimlanes-42K2YHIH-DlWorw-a.js} +2 -2
  268. package/dist/client/assets/swimlanesDiagram-VR7AAH4N-Byr1T2AB.js +9 -0
  269. package/dist/client/assets/{terminal-links-B9s8s-tz.js → terminal-links-DnuUiEnP.js} +2 -2
  270. package/dist/client/assets/{terminalSessions-BmqpP0Ss.js → terminalSessions-B89lkZlG.js} +2 -2
  271. package/dist/client/assets/text-search-BsqmpFYh.js +2 -0
  272. package/dist/client/assets/{textarea-C9YeXMVc.js → textarea-Br1ny3dw.js} +2 -2
  273. package/dist/client/assets/{themePalette-C1oD3Oeg.js → themePalette-B4vIs8Bi.js} +3 -3
  274. package/dist/client/assets/threadSort-BN7fK5qZ.js +2 -0
  275. package/dist/client/assets/{timeline-definition-24CTP7MA-Dnja29q2.js → timeline-definition-24CTP7MA-f1puoyJY.js} +2 -2
  276. package/dist/client/assets/toast-Bkc7xsho.js +2 -0
  277. package/dist/client/assets/{toggle-CNbzG8Ec.js → toggle-DNxTFG4o.js} +2 -2
  278. package/dist/client/assets/{toggle-group-DIqmqqKQ.js → toggle-group-CQtXH1ph.js} +2 -2
  279. package/dist/client/assets/tooltip-DH7_Fmka.js +2 -0
  280. package/dist/client/assets/{treeView-Q6P3EWNA-KHtw7wMC.js → treeView-Q6P3EWNA-cachkR0K.js} +1 -1
  281. package/dist/client/assets/{treemap-WGGIJYW6-BZN3U17E.js → treemap-WGGIJYW6-5vI1Z8yq.js} +1 -1
  282. package/dist/client/assets/usage-Cuwnw3mn.js +2 -0
  283. package/dist/client/assets/{usageAccess-Dwz13Eun.js → usageAccess-BRuBlcgN.js} +2 -2
  284. package/dist/client/assets/{usageFormat-Z0lz-RCF.js → usageFormat-B0V5dWS3.js} +2 -2
  285. package/dist/client/assets/{usageShortcuts-cwv5i-oF.js → usageShortcuts-CK0JjnNA.js} +2 -2
  286. package/dist/client/assets/use-atom-command-JNR1Jqwn.js +2 -0
  287. package/dist/client/assets/{useAriaLabelledBy-z3tVAFR_.js → useAriaLabelledBy-BNA1QLXP.js} +2 -2
  288. package/dist/client/assets/useHandleNewThread-vYbjmg4i.js +2 -0
  289. package/dist/client/assets/{useLocation-CxFbcar1.js → useLocation-D91_HRP0.js} +2 -2
  290. package/dist/client/assets/useNavigate-NmIi-1RV.js +2 -0
  291. package/dist/client/assets/{useNavigateBack-91jfuRCn.js → useNavigateBack-DnwpvjrN.js} +2 -2
  292. package/dist/client/assets/{useParams-nxAoxVO6.js → useParams-CYkWvywV.js} +2 -2
  293. package/dist/client/assets/usePermissionStatus-CuzpUXth.js +2 -0
  294. package/dist/client/assets/{usePullRequestActions-Cp-f2-rS.js → usePullRequestActions-DqgBdoH5.js} +3 -3
  295. package/dist/client/assets/useRegisterFieldControl-C127nghN.js +2 -0
  296. package/dist/client/assets/useScopedModelAvailability-BsIJUZbS.js +2 -0
  297. package/dist/client/assets/useSettings-DYKTOdxY.js +3 -0
  298. package/dist/client/assets/{useT3ConnectAuthPrompt-B1AHMyDF.js → useT3ConnectAuthPrompt-DlW3HUgA.js} +2 -2
  299. package/dist/client/assets/utils-vKlT_s3D.js +37 -0
  300. package/dist/client/assets/vcsRefInvalidation-CC_2_Ufo.js +2 -0
  301. package/dist/client/assets/{vennDiagram-4TSXK5OY-B4KHYxz_.js → vennDiagram-4TSXK5OY-HkY_FANS.js} +2 -2
  302. package/dist/client/assets/{wardley-WFR3VGLG-EUhzOM0w.js → wardley-WFR3VGLG-B9HKXiPi.js} +1 -1
  303. package/dist/client/assets/{wardleyDiagram-VM6X3IG4-25okiPRC.js → wardleyDiagram-VM6X3IG4-CJL7EyS8.js} +2 -2
  304. package/dist/client/assets/welcome-BOXDf4R_.js +2 -0
  305. package/dist/client/assets/{xychartDiagram-S5SC5T6Z-Dyo2i7yf.js → xychartDiagram-S5SC5T6Z-Bsll1-pV.js} +2 -2
  306. package/dist/client/index.html +1 -1
  307. package/package.json +1 -1
  308. package/dist/client/assets/ChatGptUsageButton-9B_WUPVm.js +0 -2
  309. package/dist/client/assets/ChatMarkdown-B9_nJM54.js +0 -65
  310. package/dist/client/assets/CodexSetupSection.logic-YSEDjbLd.js +0 -2
  311. package/dist/client/assets/ComboboxClear-TEL6MsPn.js +0 -2
  312. package/dist/client/assets/CommandBlock-C6bCrWJ5.js +0 -2
  313. package/dist/client/assets/CompositeRoot-CZuZX6hs.js +0 -2
  314. package/dist/client/assets/DevicePanel-DavxmX2w.js +0 -2
  315. package/dist/client/assets/DeviceSetup-CZX8TKF_.js +0 -2
  316. package/dist/client/assets/DiffFileTree--L--vp02.js +0 -2
  317. package/dist/client/assets/DiffPanel-T4lIPUlN.js +0 -2
  318. package/dist/client/assets/EnvironmentMachineIcon-CGINHXnT.js +0 -2
  319. package/dist/client/assets/FilePreviewPanel-CxOIUI0_.js +0 -34
  320. package/dist/client/assets/FoldedSettingsSection-DmcJrCZO.js +0 -2
  321. package/dist/client/assets/NoProjectsHero-C0RwYoYq.js +0 -2
  322. package/dist/client/assets/PanelLayoutControls-CcE6oZUh.js +0 -215
  323. package/dist/client/assets/PreviewPanel-DgRCZ-80.js +0 -2
  324. package/dist/client/assets/ProjectDefaultsSettings-DOXJKuJ7.js +0 -2
  325. package/dist/client/assets/ProjectFavicon-CFPeQQsG.js +0 -3
  326. package/dist/client/assets/ProjectIconPickerDialog-B5iXalFo.js +0 -2
  327. package/dist/client/assets/ProjectMonogram-HCgoNxPJ.js +0 -2
  328. package/dist/client/assets/ProviderModelPicker-CHfA6QfR.js +0 -2
  329. package/dist/client/assets/ProviderSettingsForm-cr5QEWx_.js +0 -2
  330. package/dist/client/assets/PullRequestCodeTab-CyJ0_1HE.js +0 -6
  331. package/dist/client/assets/RenderErrorBoundary-h3g72sj0.js +0 -2
  332. package/dist/client/assets/ScheduledTasksSettings-CpUearCU.js +0 -4
  333. package/dist/client/assets/ScopedSwitch-D1QVfZHR.js +0 -2
  334. package/dist/client/assets/SettingsPanels-B9t76y-c.js +0 -39
  335. package/dist/client/assets/T3ConnectAccountPages-DOpj673A.js +0 -2
  336. package/dist/client/assets/T3ConnectSidebarSignIn-zrB8y6DQ.js +0 -2
  337. package/dist/client/assets/ThemeEditorPanel-Cx7KulxB.js +0 -5
  338. package/dist/client/assets/ThreadTerminalDrawer-ChcqArNC.js +0 -5
  339. package/dist/client/assets/_chat-Du_FC4wO.js +0 -45
  340. package/dist/client/assets/_chat.index-DUyKTtkh.js +0 -2
  341. package/dist/client/assets/_chat.new-CMoB99iV.js +0 -4
  342. package/dist/client/assets/_chat.pull-requests-BuTKumeN.js +0 -2
  343. package/dist/client/assets/architecture-7GRP2DOG-BMsijJGx.js +0 -1
  344. package/dist/client/assets/arrow-left-DjrJekQJ.js +0 -1
  345. package/dist/client/assets/arrow-right-DNQ3322O.js +0 -1
  346. package/dist/client/assets/arrow-up-down-DpVszLOH.js +0 -1
  347. package/dist/client/assets/assets-DJce0KBy.js +0 -2
  348. package/dist/client/assets/bell-ehBYv81q.js +0 -1
  349. package/dist/client/assets/blocks-CF1Wdm4Y.js +0 -1
  350. package/dist/client/assets/bot-Dj9hYg2w.js +0 -1
  351. package/dist/client/assets/calendar-clock-BaXgPf_7.js +0 -1
  352. package/dist/client/assets/channel-pJ5lNF0h.js +0 -2
  353. package/dist/client/assets/chart-no-axes-column-BzuvLLND.js +0 -1
  354. package/dist/client/assets/checkbox-BUOikrm3.js +0 -2
  355. package/dist/client/assets/classDiagram-ZZMXUADV-D4Ed7oKu.js +0 -2
  356. package/dist/client/assets/classDiagram-v2-VYDZK3BY-D4Ed7oKu.js +0 -2
  357. package/dist/client/assets/combobox-BPRK10Il.js +0 -2
  358. package/dist/client/assets/command-B-SWHWbd.js +0 -2
  359. package/dist/client/assets/connect-agent-B3TvHBIV.js +0 -2
  360. package/dist/client/assets/corner-left-up-8yNxlIpO.js +0 -1
  361. package/dist/client/assets/device-DARKbqyG.js +0 -2
  362. package/dist/client/assets/dialog-ChNU2rSW.js +0 -2
  363. package/dist/client/assets/download-KOf4APex.js +0 -1
  364. package/dist/client/assets/dynamic-B6ssT_6R.js +0 -3
  365. package/dist/client/assets/earth-Gh21ySR9.js +0 -1
  366. package/dist/client/assets/ellipsis-Dd1lpp1y.js +0 -1
  367. package/dist/client/assets/empty-DJMr9MZU.js +0 -2
  368. package/dist/client/assets/entities-HApogVCu.js +0 -2
  369. package/dist/client/assets/eventmodeling-NTZA5JFV-D1FYr7Uj.js +0 -1
  370. package/dist/client/assets/eye-CQCt8uGE.js +0 -1
  371. package/dist/client/assets/file-search-BXNWZ1nV.js +0 -1
  372. package/dist/client/assets/flowDiagram-HODETNUW-leGOLc6K.js +0 -1
  373. package/dist/client/assets/folder-git-2-BIZ4K8z0.js +0 -1
  374. package/dist/client/assets/folder-open-BI7lMTSr.js +0 -1
  375. package/dist/client/assets/folder-plus-B91hg6qR.js +0 -1
  376. package/dist/client/assets/git-branch-Yqn0BBlE.js +0 -1
  377. package/dist/client/assets/grip-vertical-DbE6Bv-r.js +0 -1
  378. package/dist/client/assets/hard-drive--FvDwcA1.js +0 -1
  379. package/dist/client/assets/history-D-6p2svD.js +0 -1
  380. package/dist/client/assets/house-6Nj_TaKT.js +0 -1
  381. package/dist/client/assets/index-EKWtrZNr.js +0 -3
  382. package/dist/client/assets/keyboard-Bf3n2zS8.js +0 -1
  383. package/dist/client/assets/link-BVjRZ3mh.js +0 -1
  384. package/dist/client/assets/list-DrTK4zhP.js +0 -1
  385. package/dist/client/assets/loader-Bc9xbkPa.js +0 -2
  386. package/dist/client/assets/main-D1oD2GPo.js +0 -30
  387. package/dist/client/assets/main-hjb9WdQ8.css +0 -2
  388. package/dist/client/assets/message-circle-question-mark-D2JAzS9x.js +0 -1
  389. package/dist/client/assets/message-square-DNTOkKRN.js +0 -1
  390. package/dist/client/assets/message-square-dashed-NGYZLQqB.js +0 -1
  391. package/dist/client/assets/mouse-pointer-2-CgUWLVBh.js +0 -1
  392. package/dist/client/assets/number-field-yRjM_PYx.js +0 -2
  393. package/dist/client/assets/openFileInPreview-CxrjOX7D.js +0 -2
  394. package/dist/client/assets/p4ProjectFile-DNlgD3LH.js +0 -2
  395. package/dist/client/assets/palette-DCF6iKZY.js +0 -1
  396. package/dist/client/assets/panel-left-BObCZ482.js +0 -1
  397. package/dist/client/assets/panels-top-left-4ditdjHS.js +0 -1
  398. package/dist/client/assets/popover-D-VzRDzk.js +0 -2
  399. package/dist/client/assets/primary-bBvWt8wp.js +0 -2
  400. package/dist/client/assets/primaryCloudLinkState-DDmxU43H.js +0 -2
  401. package/dist/client/assets/projectFilesQueryState-C9bparJ7.js +0 -2
  402. package/dist/client/assets/projectScriptEditor-2klDgdXc.js +0 -2
  403. package/dist/client/assets/pullRequestIcons-BWiN_14V.js +0 -2
  404. package/dist/client/assets/pullRequests-NQiU1cvE.js +0 -2
  405. package/dist/client/assets/puzzle-DC6izfkI.js +0 -1
  406. package/dist/client/assets/queries-DrIiv9gC.js +0 -2
  407. package/dist/client/assets/query-B_BcLKlb.js +0 -2
  408. package/dist/client/assets/radio-group-ESEwcJva.js +0 -2
  409. package/dist/client/assets/railroad-abnf-HS5TGJTU-Bn3ASlRb.js +0 -1
  410. package/dist/client/assets/railroad-ebnf-LZEXJU2U-DpIqYG5o.js +0 -1
  411. package/dist/client/assets/railroad-peg-WCYAUIDC-9vGlAMJk.js +0 -1
  412. package/dist/client/assets/rotate-ccw-BSwk8mHM.js +0 -1
  413. package/dist/client/assets/rotate-cw-BsgLwrfv.js +0 -1
  414. package/dist/client/assets/runtime-CBB2It1x.js +0 -6
  415. package/dist/client/assets/runtime-Dydpcwo9.js +0 -2
  416. package/dist/client/assets/runtimeModeConfig-DKj6PlUP.js +0 -2
  417. package/dist/client/assets/select-cvR_zMkG.js +0 -2
  418. package/dist/client/assets/server-FMafPUns.js +0 -2
  419. package/dist/client/assets/session-BI6WO3-p.js +0 -2
  420. package/dist/client/assets/settings-2-BbyXH0uI.js +0 -1
  421. package/dist/client/assets/settings-DRKdVCbB.js +0 -1
  422. package/dist/client/assets/settings-Dzr6EHna.js +0 -2
  423. package/dist/client/assets/settings.appearance-Dcbf4cgV.js +0 -2
  424. package/dist/client/assets/settings.archived-BI9u9Y07.js +0 -2
  425. package/dist/client/assets/settings.computer-use-CE8rpPYM.js +0 -2
  426. package/dist/client/assets/settings.connections-BWLCI5Zi.js +0 -2
  427. package/dist/client/assets/settings.diagnostics-ao6ZzXXw.js +0 -2
  428. package/dist/client/assets/settings.general-BoU897Dm.js +0 -2
  429. package/dist/client/assets/settings.integrations-ChLDKsIY.js +0 -2
  430. package/dist/client/assets/settings.keybindings-BSg3FHQZ.js +0 -2
  431. package/dist/client/assets/settings.open-source-licenses-B4sC68Ud.js +0 -2
  432. package/dist/client/assets/settings.plugins-CGUFRhFY.js +0 -5
  433. package/dist/client/assets/settings.projects-V3nNBIzc.js +0 -4
  434. package/dist/client/assets/settings.providers-D1BgocCC.js +0 -3
  435. package/dist/client/assets/settings.scheduled-tasks-C-I22teI.js +0 -2
  436. package/dist/client/assets/settings.snap-shot-aum1tmsR.js +0 -2
  437. package/dist/client/assets/settings.source-control-8YMYuva4.js +0 -2
  438. package/dist/client/assets/settingsLayout-BUbXPq57.js +0 -3
  439. package/dist/client/assets/shield-check-CG2tOYd1.js +0 -1
  440. package/dist/client/assets/shield-question-mark-Mk3rAYhm.js +0 -1
  441. package/dist/client/assets/sidebar-CjtIIYSY.js +0 -2
  442. package/dist/client/assets/skeleton-DzaiJbx8.js +0 -2
  443. package/dist/client/assets/spinner-RAU9Cg6j.js +0 -2
  444. package/dist/client/assets/square-pen-BuwM-DT0.js +0 -1
  445. package/dist/client/assets/stateDiagram-v2-MP3YSRHH-Ba0Qofsh.js +0 -2
  446. package/dist/client/assets/swimlanesDiagram-VR7AAH4N-C9WqWw-N.js +0 -9
  447. package/dist/client/assets/text-search-DyMq-QgY.js +0 -1
  448. package/dist/client/assets/threadSort-C4CtIL5v.js +0 -2
  449. package/dist/client/assets/toast-DEgXlTR7.js +0 -2
  450. package/dist/client/assets/tooltip-DyiHlEs0.js +0 -2
  451. package/dist/client/assets/usage--nsoWaqi.js +0 -2
  452. package/dist/client/assets/use-atom-command-BVrZ0hTO.js +0 -2
  453. package/dist/client/assets/useHandleNewThread-lAV5NpwQ.js +0 -2
  454. package/dist/client/assets/useNavigate-CLQYZa7I.js +0 -2
  455. package/dist/client/assets/usePermissionStatus-CVCguZPP.js +0 -2
  456. package/dist/client/assets/useRegisterFieldControl-hMeYQdpT.js +0 -2
  457. package/dist/client/assets/useScopedModelAvailability-1rkaoEPh.js +0 -2
  458. package/dist/client/assets/useSettings-BCUX_14n.js +0 -3
  459. package/dist/client/assets/utils-Cbsb1ks0.js +0 -37
  460. package/dist/client/assets/vcsRefInvalidation-DMlloB2h.js +0 -2
  461. package/dist/client/assets/welcome-pBX3QtZq.js +0 -2
@@ -0,0 +1,2 @@
1
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./createLucideIcon-CacG5mZC.js";var n=e({__iconNode:()=>r,default:()=>i}),r=[[`path`,{d:`M21.54 15H17a2 2 0 0 0-2 2v4.54`,key:`1djwo0`}],[`path`,{d:`M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17`,key:`1tzkfa`}],[`path`,{d:`M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05`,key:`14pb5j`}],[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]],i=t(`earth`,r);export{n,i as t};
2
+ //# sourceMappingURL=earth-CTY23Bx1.js.map
@@ -1,2 +1,2 @@
1
- import{f as e,t}from"./mermaid-parser.core-D2hAGRv3.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as r}from"./src-oBChb5qS.js";import"./chunk-DU6HZSFF-C3RStRBi.js";import{n as i,r as a,t as o}from"./chunk-SVP7TREG-BD15vJFs.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-DWtHy2iz.js";var c=e().RailroadEbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformChoice`),u=n(e=>{let t=e.elements.map(p);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=n(e=>{switch(e.$type){case`EbnfTerminal`:return{type:`terminal`,value:e.value};case`EbnfNonTerminal`:return{type:`nonterminal`,name:e.name};case`EbnfSpecial`:return{type:`special`,text:e.text};case`EbnfGroup`:return l(e.element);case`EbnfOptional`:return{type:`optional`,element:l(e.element)};case`EbnfRepetition`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported EBNF primary node: ${e.$type}`)}},`transformPrimary`),f=n((e,t)=>{switch(t.$type){case`EbnfOptionalPostfix`:return{type:`optional`,element:e};case`EbnfZeroOrMorePostfix`:return{type:`repetition`,element:e,min:0,max:1/0};case`EbnfOneOrMorePostfix`:return{type:`repetition`,element:e,min:1,max:1/0};case`EbnfExceptionPostfix`:return{type:`sequence`,elements:[e,{type:`terminal`,value:`-`},d(t.except)]};default:throw Error(`Unsupported EBNF postfix node: ${t.$type}`)}},`transformPostfix`),p=n(e=>e.postfixes.reduce((e,t)=>f(e,t),d(e.base)),`transformTerm`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[EBNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[EBNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[EBNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
2
- //# sourceMappingURL=ebnfDiagram-PWID7BFC-CLu3StxL.js.map
1
+ import{f as e,t}from"./mermaid-parser.core-CLu3jfMo.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as r}from"./src-oBChb5qS.js";import"./chunk-DU6HZSFF-B4qcstD9.js";import{n as i,r as a,t as o}from"./chunk-SVP7TREG-CpaRTznV.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-CcbjUEO9.js";var c=e().RailroadEbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformChoice`),u=n(e=>{let t=e.elements.map(p);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=n(e=>{switch(e.$type){case`EbnfTerminal`:return{type:`terminal`,value:e.value};case`EbnfNonTerminal`:return{type:`nonterminal`,name:e.name};case`EbnfSpecial`:return{type:`special`,text:e.text};case`EbnfGroup`:return l(e.element);case`EbnfOptional`:return{type:`optional`,element:l(e.element)};case`EbnfRepetition`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported EBNF primary node: ${e.$type}`)}},`transformPrimary`),f=n((e,t)=>{switch(t.$type){case`EbnfOptionalPostfix`:return{type:`optional`,element:e};case`EbnfZeroOrMorePostfix`:return{type:`repetition`,element:e,min:0,max:1/0};case`EbnfOneOrMorePostfix`:return{type:`repetition`,element:e,min:1,max:1/0};case`EbnfExceptionPostfix`:return{type:`sequence`,elements:[e,{type:`terminal`,value:`-`},d(t.except)]};default:throw Error(`Unsupported EBNF postfix node: ${t.$type}`)}},`transformPostfix`),p=n(e=>e.postfixes.reduce((e,t)=>f(e,t),d(e.base)),`transformTerm`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[EBNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[EBNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[EBNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
2
+ //# sourceMappingURL=ebnfDiagram-PWID7BFC-DD9UVmrJ.js.map
@@ -0,0 +1,2 @@
1
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./createLucideIcon-CacG5mZC.js";var n=e({__iconNode:()=>r,default:()=>i}),r=[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],i=t(`ellipsis`,r);export{n,i as t};
2
+ //# sourceMappingURL=ellipsis-6x3R4_IB.js.map
@@ -1,4 +1,4 @@
1
- import{Ha as e}from"./main-D1oD2GPo.js";function t(e){return e>=48&&e<=55}function n(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function r(e,t){try{return String.fromCodePoint(e)}catch{return t}}function i(e,i,a){let o=i,s=``;for(;o<a&&e.charCodeAt(o)!==39;){if(e.charCodeAt(o)!==92||o+1>=a){let t=o;for(;o<a;){let t=e.charCodeAt(o);if(t===39||t===92&&o+1<a)break;o++}s+=e.slice(t,o);continue}let i=o++,c=e[o++];switch(c){case`a`:s+=`\x07`;break;case`b`:s+=`\b`;break;case`e`:case`E`:s+=`\x1B`;break;case`f`:s+=`\f`;break;case`n`:s+=`
1
+ import{Ha as e}from"./main-DJbmaTSv.js";function t(e){return e>=48&&e<=55}function n(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function r(e,t){try{return String.fromCodePoint(e)}catch{return t}}function i(e,i,a){let o=i,s=``;for(;o<a&&e.charCodeAt(o)!==39;){if(e.charCodeAt(o)!==92||o+1>=a){let t=o;for(;o<a;){let t=e.charCodeAt(o);if(t===39||t===92&&o+1<a)break;o++}s+=e.slice(t,o);continue}let i=o++,c=e[o++];switch(c){case`a`:s+=`\x07`;break;case`b`:s+=`\b`;break;case`e`:case`E`:s+=`\x1B`;break;case`f`:s+=`\f`;break;case`n`:s+=`
2
2
  `;break;case`r`:s+=`\r`;break;case`t`:s+=` `;break;case`v`:s+=`\v`;break;case`\\`:s+=`\\`;break;case`'`:s+=`'`;break;case`"`:s+=`"`;break;case`?`:s+=`?`;break;case`
3
3
  `:break;case`c`:{let t=o<a?e.charCodeAt(o):39;if(t===39){s+=e.slice(i,o);break}if(o++,t===92){let t=o<a&&e.charCodeAt(o)===92;t&&o++,s+=``,!t&&o<a&&(s+=e[o],o++);break}s+=String.fromCharCode(t===63?127:t&31);break}case`x`:case`u`:case`U`:{let t=o,l=c===`x`?2:c===`u`?4:8;for(;o<a&&o-t<l&&n(e.charCodeAt(o));)o++;if(o===t){s+=`\\${c}`;break}let u=e.slice(i,o);s+=r(Number.parseInt(e.slice(t,o),16),u);break}default:if(!t(c.charCodeAt(0))){s+=`\\${c}`;break}for(;o<a&&o-i-1<3&&t(e.charCodeAt(o));)o++;s+=String.fromCharCode(Number.parseInt(e.slice(i+1,o),8)&255)}}let c=o<a;return c&&o++,{value:s,end:o,closed:c}}function a(e){switch(e){case`,`:return 1;case`=`:case`+=`:case`-=`:case`*=`:case`/=`:case`%=`:case`<<=`:case`>>=`:case`&=`:case`|=`:case`^=`:return 2;case`||`:return 4;case`&&`:return 5;case`|`:return 6;case`^`:return 7;case`&`:return 8;case`==`:case`!=`:return 9;case`<`:case`<=`:case`>`:case`>=`:return 10;case`<<`:case`>>`:return 11;case`+`:case`-`:return 12;case`*`:case`/`:case`%`:return 13;case`**`:return 14;default:return-1}}function o(e){switch(e){case`=`:case`+=`:case`-=`:case`*=`:case`/=`:case`%=`:case`<<=`:case`>>=`:case`&=`:case`|=`:case`^=`:case`**`:return!0;default:return!1}}function s(e,t=0,n){let r=0,i=e.length,s=n?.commandExpansions.length??0,c=n?.embeddedWords.length??0;function l(r,i,a=!1){let o={type:`ArithmeticWord`,pos:r+t,end:i+t,value:e.slice(r,i),parts:void 0};return a&&n?.embeddedWords.push(o),o}function u(){for(;r<i;){let t=e.charCodeAt(r);if(t===32||t===9||t===10)r++;else break}}function d(){if(r>=i)return null;let t=e.charCodeAt(r),n=r+1<i?e.charCodeAt(r+1):0,a=r+2<i?e.charCodeAt(r+2):0;switch(t){case 44:return r++,`,`;case 61:return n===61?(r+=2,`==`):(r++,`=`);case 33:return n===61?(r+=2,`!=`):null;case 60:return n===60?a===61?(r+=3,`<<=`):(r+=2,`<<`):n===61?(r+=2,`<=`):(r++,`<`);case 62:return n===62?a===61?(r+=3,`>>=`):(r+=2,`>>`):n===61?(r+=2,`>=`):(r++,`>`);case 43:return n===61?(r+=2,`+=`):n===43?null:(r++,`+`);case 45:return n===61?(r+=2,`-=`):n===45?null:(r++,`-`);case 42:return n===42?(r+=2,`**`):n===61?(r+=2,`*=`):(r++,`*`);case 47:return n===61?(r+=2,`/=`):(r++,`/`);case 37:return n===61?(r+=2,`%=`):(r++,`%`);case 124:return n===124?(r+=2,`||`):n===61?(r+=2,`|=`):(r++,`|`);case 38:return n===38?(r+=2,`&&`):n===61?(r+=2,`&=`):(r++,`&`);case 94:return n===61?(r+=2,`^=`):(r++,`^`);case 63:return r++,`?`;default:return null}}function f(t){let n=p();for(;u(),!(r>=i);){let s=r,c=d();if(!c)break;if(c===`?`){if(3<t){r=s;break}let a=f(1);u(),r<i&&e.charCodeAt(r)===58&&r++;let o=f(3);n={type:`ArithmeticTernary`,pos:n.pos,end:o.end,test:n,consequent:a,alternate:o};continue}let l=a(c);if(l<t){r=s;break}let p=f(o(c)?l:l+1);n={type:`ArithmeticBinary`,pos:n.pos,end:p.end,operator:c,left:n,right:p}}return n}function p(){if(u(),r>=i)return l(r,r);let n=r,a=e.charCodeAt(r),o=r+1<i?e.charCodeAt(r+1):0;if(a===43&&o===43){r+=2;let e=p();return{type:`ArithmeticUnary`,pos:n+t,end:e.end,operator:`++`,operand:e,prefix:!0}}if(a===45&&o===45){r+=2;let e=p();return{type:`ArithmeticUnary`,pos:n+t,end:e.end,operator:`--`,operand:e,prefix:!0}}if(a===33){r++;let e=p();return{type:`ArithmeticUnary`,pos:n+t,end:e.end,operator:`!`,operand:e,prefix:!0}}if(a===126){r++;let e=p();return{type:`ArithmeticUnary`,pos:n+t,end:e.end,operator:`~`,operand:e,prefix:!0}}if(a===43&&o!==43&&o!==61){r++;let e=p();return{type:`ArithmeticUnary`,pos:n+t,end:e.end,operator:`+`,operand:e,prefix:!0}}if(a===45&&o!==45&&o!==61){r++;let e=p();return{type:`ArithmeticUnary`,pos:n+t,end:e.end,operator:`-`,operand:e,prefix:!0}}return m()}function m(){let n=h();if(u(),r+1<i){let i=e.charCodeAt(r),a=e.charCodeAt(r+1);if(i===43&&a===43)return r+=2,{type:`ArithmeticUnary`,pos:n.pos,end:r+t,operator:`++`,operand:n,prefix:!1};if(i===45&&a===45)return r+=2,{type:`ArithmeticUnary`,pos:n.pos,end:r+t,operator:`--`,operand:n,prefix:!1}}return n}function h(){if(u(),r>=i)return l(r,r);let a=e.charCodeAt(r);if(a===40){let n=r;r++;let a=f(0);return u(),r<i&&e.charCodeAt(r)===41&&r++,{type:`ArithmeticGroup`,pos:n+t,end:r+t,expression:a}}if(a===36){let e=r,a=n?.commandExpansions.length??0,o=n?.embeddedWords.length??0,s=g(),c=n?.findArithmeticWordEnd?.(e+t,t+i)??r+t;return c>r+t?(n&&(n.commandExpansions.length=a,n.embeddedWords.length=o),r=c-t,l(e,r,!0)):s}if(a===96||a===34||a===39){let e=r;return r=(n?.findArithmeticWordEnd?.(e+t,t+i)??e+t+1)-t,l(e,r,!0)}let o=r,s=n?.embeddedWords.length??0,c=_(),d=n?.findArithmeticWordEnd?.(o+t,t+i)??r+t;return d>r+t?(n&&(n.embeddedWords.length=s),r=d-t,l(o,r,!0)):c}function g(){let a=r;if(r++,r>=i)return l(a,r);let o=e.charCodeAt(r);if(o===40){if(r+1<i&&e.charCodeAt(r+1)===40){let o=n?.findArithmeticExpansionEnd(a+t,t+i)??-1;if(o!==-1)r=o-t;else{r+=2;let t=1;for(;r<i&&t>0;)e.charCodeAt(r)===40&&e.charCodeAt(r+1)===40?(t++,r+=2):e.charCodeAt(r)===41&&e.charCodeAt(r+1)===41?(t--,r+=2):r++}}else{r++;let o=n?.findClosingParenthesis(r+t,t+i)??-1;if(o!==-1)r=o-t+1;else{let t=1;for(;r<i&&t>0;){let n=e.charCodeAt(r++);n===40?t++:n===41&&t--}}let s=e.slice(a,r),c={type:`ArithmeticCommandExpansion`,pos:a+t,end:r+t,text:s,script:void 0};return n?.commandExpansions.push(c),c}}else if(o===123){let a=n?.findClosingBrace(r+t+1,t+i)??-1;if(a!==-1)r=a-t+1;else{r++;let t=1;for(;r<i&&t>0;){let n=e.charCodeAt(r++);n===123?t++:n===125&&t--}}}else for(;r<i;){let t=e.charCodeAt(r);if(t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95)r++;else break}return l(a,r,o===40||o===123)}function _(){let a=r;for(;r<i;){let t=e.charCodeAt(r);if(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===95||t===35)r++;else break}if(r>a&&r<i&&e.charCodeAt(r)===91){let o=n?.findClosingBracket?.(r+t+1,t+i)??-1;if(o!==-1)r=o-t+1;else{r++;let t=1;for(;r<i&&t>0;){let n=e.charCodeAt(r);n===91?t++:n===93&&t--,r++}}return l(a,r,!0)}return r===a&&r++,l(a,r)}if(u(),r>=i)return null;let v=r,y=f(0);if(u(),r<i){n&&(n.commandExpansions.length=s,n.embeddedWords.length=c);let t=i;for(;t>v;){let n=e.charCodeAt(t-1);if(n!==32&&n!==9&&n!==10)break;t--}return l(v,t,n!==void 0)}return y}function c(e){let t=``;for(let n of e)t+=n.type===`Literal`?n.value:n.text;return t}function l(e){let t=e.indexOf(`\\`);if(t===-1)return e;let n=``,r=0;for(let i=t;i<e.length;i++)if(e.charCodeAt(i)===92){if(n+=e.slice(r,i),i++,i>=e.length){n+=`\\`,r=i;break}e.charCodeAt(i)!==10&&(n+=e[i]),r=i+1}return n+e.slice(r)}function u(e){let t=1;for(;e[t]===`\\`&&e[t+1]===`
4
4
  `;)t+=2;return t===1||e[t]!==`(`?e:e[0]+e.slice(t)}var d=class e{static _resolveWord;type=`Word`;text;pos;end;#e;#t;#n;#r;#i=null;constructor(t,n,r,i,a,o=0){this.text=t,this.pos=n,this.end=r,this.#e=i,this.#t=a??e._resolveWord,this.#n=o,this.#r=i===void 0?void 0:null}get value(){if(this.#i===null){let e=this.parts;if(!e)this.#i=l(this.text);else{let t=``;for(let n of e)switch(n.type){case`Literal`:case`SingleQuoted`:case`AnsiCQuoted`:t+=n.value;break;case`DoubleQuoted`:case`LocaleString`:t+=c(n.parts);break;case`CommandExpansion`:t+=n.text[0]===`$`?u(n.text):n.text;break;case`ExtendedGlob`:t+=u(n.text);break;default:t+=n.text}this.#i=t}}return this.#i}get parts(){return this.#r===null&&(this.#r=this.#t(this.#e??``,this,this.#n)??void 0),this.#r}set parts(e){this.#r=e??void 0}toJSON(){return{type:this.type,text:this.text,pos:this.pos,end:this.end,parts:this.parts,value:this.value}}},f={Word:0,Assignment:1,Semi:2,Newline:3,Pipe:4,And:5,Or:6,Amp:7,LParen:8,RParen:9,LBrace:10,RBrace:11,Bang:12,If:13,Then:14,Else:15,Elif:16,Fi:17,Do:18,Done:19,For:20,While:21,Until:22,In:23,Case:24,Esac:25,Function:26,DoubleSemi:27,SemiAmp:28,DoubleSemiAmp:29,Select:30,DblLBracket:31,DblRBracket:32,EOF:33,ArithCmd:34,Coproc:35,Redirect:36},p=class{token=f.EOF;_value=``;_owner;pos=0;end=0;fileDescriptor=void 0;variableName=void 0;descriptorEnd=0;delimiterQuoted=!1;content=void 0;targetPos=0;targetEnd=0;assignmentOperatorPos=-1;raw=!1;keywordEligible=!1;constructor(e=null){this._owner=e}get value(){return this._value??=this._owner===null?``:this._owner._tokenValue(this.pos,this.end,this.raw)}set value(e){this._value=e}reset(){this.token=f.EOF,this._value=``,this.pos=0,this.end=0,this.fileDescriptor=void 0,this.variableName=void 0,this.descriptorEnd=0,this.delimiterQuoted=!1,this.content=void 0,this.targetPos=0,this.targetEnd=0,this.assignmentOperatorPos=-1,this.raw=!1,this.keywordEligible=!1}copyFrom(e){this.token=e.token,this._value=e._value,this.pos=e.pos,this.end=e.end,this.fileDescriptor=e.fileDescriptor,this.variableName=e.variableName,this.descriptorEnd=e.descriptorEnd,this.delimiterQuoted=e.delimiterQuoted,this.content=e.content,this.targetPos=e.targetPos,this.targetEnd=e.targetEnd,this.assignmentOperatorPos=e.assignmentOperatorPos,this.raw=e.raw,this.keywordEligible=e.keywordEligible}},m=new Map([[`if`,f.If],[`then`,f.Then],[`else`,f.Else],[`elif`,f.Elif],[`fi`,f.Fi],[`do`,f.Do],[`done`,f.Done],[`for`,f.For],[`while`,f.While],[`until`,f.Until],[`in`,f.In],[`case`,f.Case],[`esac`,f.Esac],[`function`,f.Function],[`select`,f.Select],[`coproc`,f.Coproc],[`!`,f.Bang],[`{`,f.LBrace],[`}`,f.RBrace]]),h=new Uint8Array(128);h[124]=1,h[38]=1,h[59]=1,h[40]=1,h[41]=1,h[60]=1,h[62]=1,h[32]=1,h[9]=1,h[10]=1,h[92]=2,h[39]=2,h[34]=2,h[36]=2,h[96]=2,h[123]=2;function g(e,t,n){for(;t+1<n&&e.charCodeAt(t)===92&&e.charCodeAt(t+1)===10;)t+=2;return t}var _=new Uint8Array(128);for(let e of[9,10,32,33,37,38,40,41,42,43,44,45,47,58,60,61,62,63,94,124])_[e]=1;function v(e,t,n){for(let r=t;r<n;r++){let t=e.charCodeAt(r);if(t===92||t===39||t===34||t===36||t===96||(t===60||t===62)&&r+1<n&&e.charCodeAt(r+1)===40)return!0}return!1}function y(e,t,n=!1,r){let i=0,a=0;for(let o=0;o<e.length;o++){let s=e.charCodeAt(o);if(s===92){o++;continue}if(s===123){i++;continue}if(s===125){i>0&&i--;continue}if(s===39){for(o++;o<e.length&&e.charCodeAt(o)!==39;)o++;continue}if(s===34){for(o++;o<e.length;){let t=e.charCodeAt(o);if(t===34)break;if(t===92){o+=2;continue}let n=r?.(o,!0)??o;if(n>o){o=n;continue}o++}continue}let c=r?.(o,!1)??o;if(c>o){o=c-1;continue}if(n&&i===0){if(s===63){a++;continue}if(s===58&&a>0){a--;continue}}if(s===t&&i===0)return o}return-1}var b=new Uint8Array(128);for(let e=97;e<=122;e++)b[e]=3;for(let e=65;e<=90;e++)b[e]=3;for(let e=48;e<=57;e++)b[e]=2;b[95]=3;var x=new Uint8Array(128);x[63]=1,x[64]=1,x[42]=1,x[43]=1,x[33]=1,x[61]=1;var ee={63:`?`,64:`@`,42:`*`,43:`+`,33:`!`};function S(e){let t=e.type;return t===`Literal`||t===`SimpleExpansion`||t===`ParameterExpansion`||t===`CommandExpansion`||t===`ArithmeticExpansion`}function te(e,t,n){for(let r=t;r<n;r++){let t=e.charCodeAt(r);if(t<48||t>57)return!1}return n>t}var C=-1,w=0,ne=1,T=2,E=3,D=4;function O(e){return e<C}function k(e){return-e-2}function A(e,t,n,r){let i=r;for(let r=t;r<n&&i>=0;r++){let t=e.charCodeAt(r);if(i>=D)t===91?i++:t===93&&--i===D&&(i=T);else if(i===w)i=t<128&&b[t]&1?ne:C;else if(i===ne){if(t<128&&b[t]&2)continue;i=t===91?5:t===43?E:t===61?-r-2:C}else i=i===T&&t===43?E:t===61?-r-2:C}return i}var re=[];function j(e,t,n,r=0,i=0){e.token=t,e._value=n,e.pos=r,e.end=i,e.fileDescriptor=void 0,e.variableName=void 0,e.descriptorEnd=0,e.delimiterQuoted=!1,e.content=void 0,e.assignmentOperatorPos=-1,e.raw=!1,e.keywordEligible=!1}function M(e,t,n,r,i){e.token=t,e._value=null,e.pos=n,e.end=r,e.fileDescriptor=void 0,e.variableName=void 0,e.descriptorEnd=0,e.delimiterQuoted=!1,e.content=void 0,e.assignmentOperatorPos=-1,e.raw=i,e.keywordEligible=!1}function ie(e,t,n){switch(e.charCodeAt(t)){case 33:return n===1?f.Bang:void 0;case 123:return n===1?f.LBrace:void 0;case 125:return n===1?f.RBrace:void 0;case 105:{if(n!==2)return;let r=e.charCodeAt(t+1);return r===102?f.If:r===110?f.In:void 0}case 102:return n===2?e.charCodeAt(t+1)===105?f.Fi:void 0:n===3?e.startsWith(`for`,t)?f.For:void 0:n===8&&e.startsWith(`function`,t)?f.Function:void 0;case 116:return n===4&&e.startsWith(`then`,t)?f.Then:void 0;case 101:return n===4?e.startsWith(`else`,t)?f.Else:e.startsWith(`elif`,t)?f.Elif:e.startsWith(`esac`,t)?f.Esac:void 0:void 0;case 100:return n===2?e.charCodeAt(t+1)===111?f.Do:void 0:n===4&&e.startsWith(`done`,t)?f.Done:void 0;case 99:return n===4?e.startsWith(`case`,t)?f.Case:void 0:n===6&&e.startsWith(`coproc`,t)?f.Coproc:void 0;case 119:return n===5&&e.startsWith(`while`,t)?f.While:void 0;case 117:return n===5&&e.startsWith(`until`,t)?f.Until:void 0;case 115:return n===6&&e.startsWith(`select`,t)?f.Select:void 0;default:return}}var N={Normal:0,CommandStart:1,TestMode:2,CommandPrefix:3,Declaration:4,ArrayElement:5};function ae(e,t,n){let r=t+1<n?e.charCodeAt(t+1):0;if(r<=32||r===125)return-1;let i=1,a=!1,o=t+1;for(;o<n&&i>0;){let t=e.charCodeAt(o);if(t===123)i++;else if(t===125){if(--i===0)break}else if(t<=32||t===59||t===124||t===38)return-1;else i===1&&(t===44||t===46&&o+1<n&&e.charCodeAt(o+1)===46)&&(a=!0);t===92&&o++,o++}return i===0&&a?o+1:-1}var P=class e{src;srcEnd;parenBoundary;pos;current;nextState;hasPeek;pendingHereDocs;collectedExpansions;_errors=null;_buildParts=!1;_buildValue=!1;_nestingDepth=0;constructor(e,t=0,n=e.length,r=!1){if(this.src=e,this.srcEnd=n,this.parenBoundary=r,this.pos=t,this.current=new p(this),this.nextState=new p(this),this.hasPeek=!1,this.pendingHereDocs=null,this.collectedExpansions=null,t===0&&e.charCodeAt(0)===35&&e.charCodeAt(1)===33){let t=e.indexOf(`
@@ -11,4 +11,4 @@ import{Ha as e}from"./main-D1oD2GPo.js";function t(e){return e>=48&&e<=55}functi
11
11
  `);t=e===-1?this.source:this.source.slice(0,e)}let n=this.list();for(;;){let e=this.tok.peek(N.CommandStart);if(e.token===f.EOF||(this.error(`unexpected token '${e.value}'`,e.pos),!H[e.token]&&e.token!==f.In))break;this.tok.next(N.CommandStart);let t=this.tok.peek(N.CommandStart).token;if(t!==f.Semi&&t!==f.Newline&&t!==f.Amp)break;for(;t===f.Semi||t===f.Newline||t===f.Amp;)this.tok.next(N.CommandStart),t=this.tok.peek(N.CommandStart).token;let r=this.list();for(let e=0;e<r.length;e++)n.push(r[e])}let r=this.tok._errors;if(r!==null&&r.length>0){let e=this.errors??=[];for(let t=0;t<r.length;t++)e.push(r[t])}return this.errors!==null&&this.errors.length>1&&this.errors.sort((e,t)=>e.pos-t.pos),{type:`Script`,pos:e,end:this.end,shebang:t,commands:n,errors:this.errors??void 0}}error(e,t){(this.errors??=[]).push({message:e,pos:t})}skipSemi(){this.tok.peek(N.Normal).token===f.Semi&&this.tok.next(N.Normal)}accept(e,t=N.Normal){return this.tok.peek(t).token===e?this.tok.next(t):null}acceptEnd(e,t=N.Normal){return this.tok.peek(t).token===e?this.tok.next(t).end:-1}skipNewlines(e=N.Normal){for(;this.tok.peek(e).token===f.Newline;)this.tok.next(e)}makeStatement(e){return{type:`Statement`,pos:e.pos,end:e.end,command:e,background:void 0}}list(){let e=[];this.skipNewlines(N.CommandStart);let t=this.tok.peek(N.CommandStart).token;if(H[t]||!G[t])return e;let n=this.andOr();for(n&&e.push(this.makeStatement(n));t=this.tok.peekFollow(U).token,t===f.Semi||t===f.Newline||t===f.Amp;){let n=t===f.Amp,r=this.tok.next(N.Normal).end;if(n){let t=e[e.length-1];t.background=!0,t.end=r}if(this.skipNewlines(N.CommandStart),t=this.tok.peek(N.CommandStart).token,H[t]||!G[t])break;let i=this.andOr();i&&e.push(this.makeStatement(i))}return e}andOr(){let e=this.pipeline();if(!e)return null;let t=this.tok.peek(N.Normal).token;if(t!==f.And&&t!==f.Or)return e;let n=[e],r=[];do{let e=this.tok.next(N.Normal),i=e.token===f.And?`&&`:`||`;this.skipNewlines(N.CommandStart);let a=this.pipeline();if(!a){this.error(`expected command after '${i}'`,e.end);break}r.push(i),n.push(a),t=this.tok.peek(N.Normal).token}while(t===f.And||t===f.Or);return{type:`AndOr`,pos:e.pos,end:n[n.length-1].end,commands:n,operators:r}}withRedirects(e){let t=this.collectTrailingRedirects();return t.length===0?e:{type:`Redirected`,pos:e.pos,end:t[t.length-1].end,command:e,redirects:t}}pipeline(){let e,t=!1;for(;;){let n=this.tok.peek(N.CommandStart),r=n.token===f.Word&&n.keywordEligible&&n.value===`time`;if(n.token!==f.Bang&&!r)break;let i=this.tok.next(N.CommandStart),a=i.pos,o=i.end,s,c;if(r){let e=this.tok.peek(N.CommandStart);e.token===f.Word&&e.keywordEligible&&e.value===`-p`&&(this.tok.next(N.CommandStart),s={pos:e.pos,end:e.end},e=this.tok.peek(N.CommandStart)),e.token===f.Word&&e.keywordEligible&&e.value===`--`&&(this.tok.next(N.CommandStart),c={pos:e.pos,end:e.end})}if(e===void 0&&(e=[]),e.length+this.syntaxDepth===256){t||this.error(`maximum pipeline prefix nesting depth exceeded`,a),t=!0;continue}e.push(r?{type:`Time`,pos:a,end:c?.end??s?.end??o,keywordEnd:o,posix:s,endOfOptions:c,command:void 0}:{type:`Negation`,pos:a,end:o,keywordEnd:o,command:void 0})}if(!e)return this.pipelineCommands();this.syntaxDepth+=e.length;let n=this.pipelineCommands();this.syntaxDepth-=e.length;for(let t=e.length-1;t>=0;t--){let r=e[t];r.command=n??void 0,n&&(r.end=n.end),n=r}return n}pipelineCommands(){let e=this.command();if(!e)return null;if(this.tok.peek(N.Normal).token!==f.Pipe)return e;let t=[e],n=[];for(;this.tok.peek(N.Normal).token===f.Pipe;){let e=this.tok.next(N.Normal),r=e.value===`|&`?`|&`:`|`;this.skipNewlines(N.CommandStart);let i=this.command();if(!i){this.error(`expected command after '${r}'`,e.end);break}n.push(r),t.push(i)}return t.length===1?t[0]:{type:`Pipeline`,pos:e.pos,end:t[t.length-1].end,commands:t,operators:n}}command(){let e;switch(this.tok.peek(N.CommandStart).token){case f.LParen:e=this.subshell();break;case f.LBrace:e=this.braceGroup();break;case f.If:e=this.ifClause();break;case f.For:e=this.forClause();break;case f.While:e=this.whileClause();break;case f.Until:e=this.untilClause();break;case f.Case:e=this.caseClause();break;case f.Function:return this.functionDef();case f.Select:e=this.selectClause();break;case f.DblLBracket:e=this.testCommand();break;case f.ArithCmd:e=this.arithCommand();break;case f.Coproc:return this.coprocCommand();case f.Word:case f.Assignment:case f.Redirect:return this.simpleCommandOrFunction();default:return null}return this.withRedirects(e)}collectTrailingRedirects(){let e=_e;for(;this.tok.peekFollow(U).token===f.Redirect;)e===_e&&(e=[]),e.push(this.readRedirect(N.Normal));return e}arithCommand(){let e=this.tok.next(N.CommandStart);return new fe(e.pos,e.end,e.value,this.source,this.depth)}coprocCommand(){let e=this.tok.next(N.CommandStart),t=e.pos,n=this.tok.peek(N.CommandStart),r;if(n.token===f.Word){let e=new P(this.source,n.end,this.end);switch(e._nestingDepth=this.depth,e.peek(N.CommandStart).token){case f.LParen:e.next(N.CommandStart),e.peek(N.Normal).token!==f.RParen&&(r=this.readWord(N.CommandStart));break;case f.LBrace:case f.If:case f.For:case f.While:case f.Until:case f.Case:case f.Select:case f.DblLBracket:case f.ArithCmd:r=this.readWord(N.CommandStart)}}let i=this.command();if(i&&i.type!==`Function`&&i.type!==`Coproc`)return{type:`Coproc`,pos:t,end:i.end,name:r,body:i};this.error(`expected command after 'coproc'`,i?.pos??e.end);let a=i?this.makeCompoundList([this.makeStatement(i)]):{type:`CompoundList`,pos:e.end,end:e.end,commands:[]};return{type:`Coproc`,pos:t,end:a.end,name:r,body:a}}subshell(){return this.subshellBody(this.tok.next(N.CommandStart).pos)}subshellBody(e){if(this.syntaxDepth===256){this.error(`maximum subshell nesting depth exceeded`,e);let t=this.tok.skipSubshellBody();return t<0&&this.error(`expected ')' to close subshell`,this.tok.getPos()),{type:`Subshell`,pos:e,end:t>=0?t:e,body:this.makeCompoundList([])}}this.syntaxDepth++;let t=this.list();this.syntaxDepth--,t.length===0&&this.error(`expected command in subshell`,e);let n=this.acceptEnd(f.RParen,N.Normal);return n<0&&this.error(`expected ')' to close subshell`,this.tok.getPos()),{type:`Subshell`,pos:e,end:n>=0?n:e,body:this.makeCompoundList(t)}}braceGroup(){let e=this.tok.next(N.CommandStart).pos;if(this.syntaxDepth===256){this.error(`maximum brace group nesting depth exceeded`,e);let t=this.tok.skipCompoundBody(f.RBrace);return t<0&&this.error(`expected '}' to close brace group`,this.tok.getPos()),{type:`BraceGroup`,pos:e,end:t>=0?t:e,body:this.makeCompoundList([])}}this.syntaxDepth++;let t=this.list();this.syntaxDepth--,t.length===0&&this.error(`expected command in brace group`,e);let n=this.acceptEnd(f.RBrace,N.Normal);return n<0&&this.error(`expected '}' to close brace group`,this.tok.getPos()),{type:`BraceGroup`,pos:e,end:n>=0?n:e,body:this.makeCompoundList(t)}}ifClause(){let e=this.tok.next(N.CommandStart).pos;if(this.syntaxDepth===256){this.error(`maximum if nesting depth exceeded`,e);let t=this.tok.skipCompoundBody(f.Fi);return t<0&&this.error(`expected 'fi' to close 'if'`,this.tok.getPos()),{type:`If`,pos:e,end:t>=0?t:e,clause:this.makeCompoundList([]),then:this.makeCompoundList([]),else:void 0}}this.syntaxDepth++;let t,n,r=e,i,a;for(;;){i=this.makeCompoundList(this.list()),this.skipSemi();let e=this.accept(f.Then,N.CommandStart);e||this.error(`expected 'then'`,this.tok.getPos());let o=this.list();e&&o.length===0&&this.error(`expected command after 'then'`,this.tok.peek(N.CommandStart).pos),a=this.makeCompoundList(o),this.skipSemi();let s=this.accept(f.Elif,N.CommandStart);if(!s)break;let c={type:`If`,pos:r,end:r,clause:i,then:a,else:void 0};n?n.else=c:t=c,n=c,r=s.pos}let o,s;if(this.accept(f.Else,N.CommandStart)){o=this.makeCompoundList(this.list()),this.skipSemi();let e=this.acceptEnd(f.Fi,N.CommandStart);e<0&&this.error(`expected 'fi' to close 'if'`,this.tok.getPos()),s=e>=0?e:r}else{let e=this.acceptEnd(f.Fi,N.CommandStart);e<0&&this.error(`expected 'fi' to close 'if'`,this.tok.getPos()),s=e>=0?e:r}this.syntaxDepth--;let c={type:`If`,pos:r,end:s,clause:i,then:a,else:o};if(!t)return c;n.else=c;let l=t;for(;l?.type===`If`;)l.end=s,l=l.else;return t}forClause(){let e=this.tok.next(N.CommandStart).pos;if(this.tok.peek(N.Normal).token===f.LParen)return this.cStyleFor(e);let t=this.readWord(N.Normal),n;if(this.skipNewlines(N.CommandStart),this.tok.peek(N.CommandStart).token===f.In)for(this.tok.next(N.CommandStart),n=[];this.tok.peek(N.Normal).token===f.Word;)n.push(this.readWord(N.Normal));if(this.skipSemi(),this.skipNewlines(N.CommandStart),this.tok.peek(N.CommandStart).token===f.LBrace){let r=this.braceGroup();return{type:`For`,pos:e,end:r.end,name:t,wordlist:n,body:r.body}}if(this.accept(f.Do,N.CommandStart)||this.error(`expected 'do'`,this.tok.getPos()),this.syntaxDepth===256){this.error(`maximum for nesting depth exceeded`,e);let r=this.tok.skipCompoundBody(f.Done);return r<0&&this.error(`expected 'done' to close 'for'`,this.tok.getPos()),{type:`For`,pos:e,end:r>=0?r:e,name:t,wordlist:n,body:this.makeCompoundList([])}}this.syntaxDepth++;let r=this.list();this.syntaxDepth--,this.skipSemi();let i=this.acceptEnd(f.Done,N.CommandStart);return i<0&&this.error(`expected 'done' to close 'for'`,this.tok.getPos()),{type:`For`,pos:e,end:i>=0?i:e,name:t,wordlist:n,body:this.makeCompoundList(r)}}cStyleFor(e){let[t,n,r,i,a,o]=this.tok.readCStyleForExprs();if(this.tok.peek(N.CommandStart).token===f.Semi&&this.tok.next(N.CommandStart),this.skipNewlines(N.CommandStart),this.tok.peek(N.CommandStart).token===f.LBrace){let s=this.braceGroup();return new B(e,s.end,s.body,t,n,r,i,a,o,this.source,this.depth)}if(this.accept(f.Do,N.CommandStart)||this.error(`expected 'do'`,this.tok.getPos()),this.syntaxDepth===256){this.error(`maximum for nesting depth exceeded`,e);let s=this.tok.skipCompoundBody(f.Done);return s<0&&this.error(`expected 'done' to close 'for'`,this.tok.getPos()),new B(e,s>=0?s:e,this.makeCompoundList([]),t,n,r,i,a,o,this.source,this.depth)}this.syntaxDepth++;let s=this.list();this.syntaxDepth--;let c=this.acceptEnd(f.Done,N.CommandStart);return c<0&&this.error(`expected 'done' to close 'for'`,this.tok.getPos()),new B(e,c>=0?c:e,this.makeCompoundList(s),t,n,r,i,a,o,this.source,this.depth)}whileClause(){return this.whileOrUntil(`while`)}untilClause(){return this.whileOrUntil(`until`)}whileOrUntil(e){let t=this.tok.next(N.CommandStart).pos;if(this.syntaxDepth===256){this.error(`maximum ${e} nesting depth exceeded`,t);let n=this.tok.skipCompoundBody(f.Done);return n<0&&this.error(`expected 'done' to close '${e}'`,this.tok.getPos()),{type:`While`,pos:t,end:n>=0?n:t,kind:e,clause:this.makeCompoundList([]),body:this.makeCompoundList([])}}this.syntaxDepth++;let n=this.makeCompoundList(this.list());this.skipSemi(),this.accept(f.Do,N.CommandStart)||this.error(`expected 'do'`,this.tok.getPos());let r=this.list();this.skipSemi();let i=this.acceptEnd(f.Done,N.CommandStart);i<0&&this.error(`expected 'done' to close '${e}'`,this.tok.getPos());let a=i>=0?i:t;return this.syntaxDepth--,{type:`While`,pos:t,end:a,kind:e,clause:n,body:this.makeCompoundList(r)}}caseClause(){let e=this.tok.next(N.CommandStart).pos,t=this.readWord(N.Normal);if(this.skipNewlines(N.CommandStart),this.accept(f.In,N.CommandStart)||this.error(`expected 'in' after 'case' word`,this.tok.getPos()),this.skipNewlines(N.CommandStart),this.syntaxDepth===256){this.error(`maximum case nesting depth exceeded`,e);let n=this.tok.skipCompoundBody(f.Esac);return n<0&&this.error(`expected 'esac' to close 'case'`,this.tok.getPos()),{type:`Case`,pos:e,end:n>=0?n:e,word:t,items:[]}}this.syntaxDepth++;let n=[],r=this.tok.peek(N.CommandStart).token;for(;r!==f.Esac&&r!==f.EOF;){let e=this.tok.peek(N.Normal).pos;this.accept(f.LParen,N.Normal);let t=[];for(r=this.tok.peek(N.Normal).token;r!==f.RParen&&r!==f.EOF;)r===f.Pipe?this.tok.next(N.Normal):t.push(this.toWord(this.tok.next(N.Normal))),r=this.tok.peek(N.Normal).token;let i=this.acceptEnd(f.RParen,N.Normal),a=this.list(),o=i>=0?i:t.length>0?t[t.length-1].end:e,s={type:`CaseItem`,pos:e,end:a.length>0?a[a.length-1].end:o,pattern:t,body:a.length>0?this.makeCompoundList(a):{type:`CompoundList`,pos:o,end:o,commands:[]},terminator:void 0};if(r=this.tok.peek(N.CommandStart).token,r===f.DoubleSemi||r===f.SemiAmp||r===f.DoubleSemiAmp){let e=this.tok.next(N.CommandStart);s.terminator=pe[e.token],s.end=e.end}n.push(s),this.skipNewlines(N.CommandStart),r=this.tok.peek(N.CommandStart).token}let i=this.acceptEnd(f.Esac,N.CommandStart);i<0&&this.error(`expected 'esac' to close 'case'`,this.tok.getPos());let a=i>=0?i:e;return this.syntaxDepth--,{type:`Case`,pos:e,end:a,word:t,items:n}}selectClause(){let e=this.tok.next(N.CommandStart).pos,t=this.readWord(N.Normal),n;if(this.skipNewlines(N.CommandStart),this.tok.peek(N.CommandStart).token===f.In)for(this.tok.next(N.CommandStart),n=[];this.tok.peek(N.Normal).token===f.Word;)n.push(this.readWord(N.Normal));if(this.skipSemi(),this.skipNewlines(N.CommandStart),this.tok.peek(N.CommandStart).token===f.LBrace){let r=this.braceGroup();return{type:`Select`,pos:e,end:r.end,name:t,wordlist:n,body:r.body}}if(this.accept(f.Do,N.CommandStart)||this.error(`expected 'do'`,this.tok.getPos()),this.syntaxDepth===256){this.error(`maximum select nesting depth exceeded`,e);let r=this.tok.skipCompoundBody(f.Done);return r<0&&this.error(`expected 'done' to close 'select'`,this.tok.getPos()),{type:`Select`,pos:e,end:r>=0?r:e,name:t,wordlist:n,body:this.makeCompoundList([])}}this.syntaxDepth++;let r=this.list();this.syntaxDepth--,this.skipSemi();let i=this.acceptEnd(f.Done,N.CommandStart);return i<0&&this.error(`expected 'done' to close 'select'`,this.tok.getPos()),{type:`Select`,pos:e,end:i>=0?i:e,name:t,wordlist:n,body:this.makeCompoundList(r)}}testCommand(){let e=this.tok.next(N.CommandStart).pos,t=this.parseTestOr(),n=this.acceptEnd(f.DblRBracket,N.TestMode);return n<0&&this.error(`expected ']]' to close '[['`,this.tok.getPos()),{type:`TestCommand`,pos:e,end:n>=0?n:e,expression:t}}parseTestOr(){let e=this.parseTestAnd();for(;this.tok.peek(N.TestMode).token===f.Or;){this.tok.next(N.TestMode);let t=this.parseTestAnd();e={type:`TestLogical`,pos:e.pos,end:t.end,operator:`||`,left:e,right:t}}return e}parseTestAnd(){let e=this.parseTestNot();for(;this.tok.peek(N.TestMode).token===f.And;){this.tok.next(N.TestMode);let t=this.parseTestNot();e={type:`TestLogical`,pos:e.pos,end:t.end,operator:`&&`,left:e,right:t}}return e}parseTestNot(){let e=this.tok.peek(N.TestMode);if(!W(e))return this.parseTestPrimary();let t=this.tok.next(N.TestMode).pos;if(e=this.tok.peek(N.TestMode),!W(e)){let e=this.parseTestPrimary();return{type:`TestNot`,pos:t,end:e.end,operand:e}}let n=[t];for(;W(e);)n.push(this.tok.next(N.TestMode).pos),e=this.tok.peek(N.TestMode);let r=this.parseTestPrimary();for(let e=n.length-1;e>=0;e--)r={type:`TestNot`,pos:n[e],end:r.end,operand:r};return r}parseTestPrimary(){if(this.tok.peek(N.TestMode).token===f.LParen){let e=this.tok.next(N.TestMode).pos;if(this.syntaxDepth===256){this.error(`maximum test group nesting depth exceeded`,e);let t=this.tok.skipTestGroup();return t<0&&this.error(`expected ')' to close test group`,this.tok.getPos()),{type:`TestGroup`,pos:e,end:t>=0?t:e,expression:{type:`TestUnary`,pos:e,end:e,operator:`-n`,operand:new d(``,e,e,this.source,void 0,this.depth)}}}this.syntaxDepth++;let t=this.parseTestOr();this.syntaxDepth--;let n=this.acceptEnd(f.RParen,N.TestMode);return n<0&&this.error(`expected ')' to close test group`,this.tok.getPos()),{type:`TestGroup`,pos:e,end:n>=0?n:e,expression:t}}let e=this.tok.next(N.TestMode),t=e.value,n=e.pos,r=e.end;if(e.keywordEligible&&he[t]===1){if(this.tok.peek(N.TestMode).token===f.Word){let e=this.readWord(N.TestMode);return{type:`TestUnary`,pos:n,end:e.end,operator:t,operand:e}}return this.error(`expected operand after unary test operator`,r),{type:`TestUnary`,pos:n,end:r,operator:t,operand:new d(``,r,r,this.source,void 0,this.depth)}}let i=this.tok.peek(N.TestMode);if(i.token===f.Word&&i.keywordEligible&&ge[i.value]===1){let t=this.tok.next(N.TestMode).value,i;if(t===`=~`){let e=this.tok.readTestRegexWord();i=new d(this.source.slice(e.pos,e.end),e.pos,e.end,this.source,F,this.depth)}else i=this.readWord(N.TestMode);let a=this.toWordFromPosEnd(e,n,r);return{type:`TestBinary`,pos:n,end:i.end,operator:t,left:a,right:i}}let a=this.toWordFromPosEnd(e,n,r);return{type:`TestUnary`,pos:n,end:a.end,operator:`-n`,operand:a}}functionDef(){let e=this.tok.next(N.CommandStart).pos,t=this.readWord(N.Normal),n;if(this.tok.peek(N.CommandStart).token===f.LParen){let e=this.tok.next(N.CommandStart).pos;this.tok.peek(N.CommandStart).token===f.RParen?(this.tok.next(N.CommandStart),this.skipNewlines(N.CommandStart),n=this.commandAsBody()):n=this.withRedirects(this.subshellBody(e))}else this.skipNewlines(N.CommandStart),n=this.commandAsBody();return{type:`Function`,pos:e,end:n.end,name:t,body:n}}simpleCommandOrFunction(){let e=[],t=this.tok.peek(N.CommandStart).pos,n=t,r=N.CommandStart;for(;;){let t=this.tok.peek(r).token;if(t===f.Assignment){let t=this.tok.next(r);n=t.end,e.push(this.parseAssignment(t))}else if(t===f.Redirect){let t=this.readRedirect(r);e.push(t),n=t.end}else break;r=N.CommandPrefix}if(this.tok.peek(N.Normal).token!==f.Word)return new R(t,n,void 0,e,[]);let i=this.tok.next(N.Normal),a=i.keywordEligible&&de(i.value),o=this.toWord(i);if(r=a?N.Declaration:N.Normal,n=o.end,this.tok.peek(r).token===f.LParen&&(this.tok.next(N.Normal),this.tok.peek(N.Normal).token===f.RParen)){this.tok.next(N.Normal),this.skipNewlines(N.CommandStart);let e=this.commandAsBody();return{type:`Function`,pos:o.pos,end:e.end,name:o,body:e}}let s=[];for(;;){let e=this.tok.peek(r).token;if(e===f.Word||e===f.Assignment){let t=this.tok.next(r),i=e===f.Assignment?this.parseAssignment(t):this.toWord(t);s.push(i),n=i.end}else if(e===f.Redirect){let e=this.readRedirect(r);s.push(e),n=e.end}else break}return new R(t,n,o,e,s)}readRedirect(e){let t=this.tok.next(e),n=t.pos,r=t.end,i=t.fileDescriptor===void 0?t.variableName===void 0?void 0:{type:`FileDescriptorVariable`,pos:n,end:t.descriptorEnd,name:t.variableName}:{type:`FileDescriptor`,pos:n,end:t.descriptorEnd,value:t.fileDescriptor},a=t.targetEnd>t.targetPos;if(a||this.error(`expected redirect target`,t.targetPos),t.value===`<<`||t.value===`<<-`){let e={type:`HereDoc`,pos:n,end:r,operator:t.value,descriptor:i,delimiter:a?{type:`HereDocDelimiter`,pos:t.targetPos,end:t.targetEnd,text:this.source.slice(t.targetPos,t.targetEnd),value:t.content??``,quoted:t.delimiterQuoted}:void 0,body:new z(this.source,r,t.delimiterQuoted,this.depth),closing:void 0};return a&&this.tok.registerHereDocTarget(e),e}let o=a?new d(this.source.slice(t.targetPos,t.targetEnd),t.targetPos,t.targetEnd,this.source,void 0,this.depth):void 0;return t.value===`<<<`?{type:`HereString`,pos:n,end:r,operator:`<<<`,descriptor:i,target:o}:{type:`Redirect`,pos:n,end:r,operator:me[t.value]??`>`,descriptor:i,target:o}}commandAsBody(){let e=this.command();return e&&e.type!==`Command`&&e.type!==`Function`&&e.type!==`Coproc`?e:(this.error(`expected compound command as function body`,e?.pos??this.tok.getPos()),this.makeCompoundList(e?[this.makeStatement(e)]:[]))}readWord(e){return this.toWord(this.tok.next(e))}toWord(e){let t=e.raw?e.value:this.source.slice(e.pos,e.end),n=e.raw&&e.keywordEligible?void 0:this.source;return new d(t,e.pos,e.end,n,void 0,this.depth)}toWordFromPosEnd(e,t,n){return e.pos===t&&e.end===n?this.toWord(e):new d(this.source.slice(t,n),t,n,this.source,void 0,this.depth)}parseAssignment(e){return new ue(e.raw?e.value:this.source.slice(e.pos,e.end),e.pos,e.end,this.source,e.assignmentOperatorPos,this.depth)}makeCompoundList(e){let t=this.tok.getPos();return{type:`CompoundList`,pos:e.length>0?e[0].pos:t,end:e.length>0?e[e.length-1].end:t,commands:e}}},ye=4,J=(...e)=>t=>e.includes(t),Y={language:`shellscript`,inline:e=>/^-[a-z]*c[a-z]*$/u.test(e),valueOptions:new Set([`-o`,`-O`,`--rcfile`,`--init-file`]),stdin:`without-script-file`},be={language:`python`,inline:J(`-c`),valueOptions:new Set([`-W`,`-X`]),scriptFileOptions:new Set([`-m`]),stdin:`without-script-file`},X={language:`sql`,valueOptions:new Set([`-d`,`-h`,`-u`,`-U`,`--dbname`,`--host`,`--user`,`--username`,`-separator`,`-nullvalue`,`-init`]),stdin:`always`,repeatable:!0},Z={sh:Y,bash:Y,zsh:Y,dash:Y,ash:Y,ksh:Y,fish:{language:`fish`,inline:J(`-c`,`--command`),stdin:`without-script-file`},node:{language:`javascript`,inline:J(`-e`,`--eval`,`-p`,`--print`),valueOptions:new Set([`-r`,`--require`,`--import`,`--loader`,`-C`,`--conditions`]),stdin:`without-script-file`},bun:{language:`typescript`,inline:J(`-e`,`--eval`,`-p`,`--print`),stdin:`never`},deno:{language:`typescript`,inline:()=>!1,valueOptions:new Set([`-c`,`--config`,`--import-map`,`--ext`]),stdin:`never`,subcommand:`eval`},ruby:{language:`ruby`,inline:J(`-e`),valueOptions:new Set([`-r`,`-I`,`-C`]),stdin:`without-script-file`},perl:{language:`perl`,inline:J(`-e`,`-E`),stdin:`without-script-file`},osascript:{language:`applescript`,inline:J(`-e`),valueOptions:new Set([`-l`,`-s`]),stdin:`without-script-file`},pwsh:{language:`powershell`,inline:J(`-c`,`-command`),valueOptions:new Set([`-executionpolicy`,`-workingdirectory`,`-windowstyle`]),scriptFileOptions:new Set([`-f`,`-file`,`-encodedcommand`]),stdin:`never`,ignoreCase:!0},psql:{...X,inline:J(`-c`,`--command`),scriptFileOptions:new Set([`-f`,`--file`])},mysql:{...X,inline:J(`-e`,`--execute`)},sqlite3:{...X,inline:J(`-cmd`),positionalScript:1},duckdb:{...X,inline:J(`-c`,`-cmd`),scriptFileOptions:new Set([`-f`]),positionalScript:1}};Z.powershell=Z.pwsh,Z.mariadb=Z.mysql;var Q={env:new Set([`-u`,`--unset`,`-C`,`--chdir`]),sudo:new Set([`-u`,`--user`,`-g`,`--group`,`-C`,`-D`,`--chdir`]),nice:new Set([`-n`,`--adjustment`]),nohup:new Set,exec:new Set([`-a`]),command:new Set,builtin:new Set},xe={py:`python`,python:`python`,js:`javascript`,javascript:`javascript`,ts:`typescript`,typescript:`typescript`,sql:`sql`,json:`json`,yaml:`yaml`,yml:`yaml`,toml:`toml`,sh:`shellscript`,bash:`shellscript`,shell:`shellscript`,rb:`ruby`,ruby:`ruby`,html:`html`,css:`css`,md:`markdown`,markdown:`markdown`,xml:`xml`,diff:`diff`,patch:`diff`};function Se(e){let t=Array.from({length:e.length},(e,t)=>t);return Ce({text:e,starts:t,ends:t.map(e=>e+1)},0)}function Ce(e,t){let n=ve(e.text);if(n.errors?.length)return[];let r=[];return $(n.commands,n=>{for(let{language:i,mapped:a}of Oe(n,e.text)){if(a.text.trim()===``)continue;let n={language:i,text:a.text,starts:a.starts.map(t=>e.starts[t]),ends:a.ends.map(t=>e.ends[t-1])};r.push(n),i===`shellscript`&&t+1<ye&&r.push(...Ce(n,t+1))}}),r}function we(e){return typeof e==`object`&&!!e&&`type`in e}function $(e,t,n=new WeakSet){if(Array.isArray(e)){for(let r of e)$(r,t,n);return}if(we(e)&&!n.has(e)){switch(n.add(e),e.type){case`Command`:t(e);break;case`CommandExpansion`:case`ProcessSubstitution`:{let{script:r}=e;r&&!r.errors?.length&&r.source===void 0&&$(r.commands,t,n);return}}`parts`in e&&$(e.parts,t,n);for(let r of Object.values(e))typeof r==`object`&&$(r,t,n)}}function Te(e){return((/\\/u.test(e.text)?e.text.replace(/^["']|["']$/gu,``):e.value).split(/[\\/]/u).at(-1)??``).toLowerCase().replace(/\.exe$/u,``)}function Ee(e){return/^python(?:\d+(?:\.\d+)?)?$|^pypy3?$|^py$/u.test(e)?be:Object.hasOwn(Z,e)?Z[e]:void 0}function De(e){let t=0;for(;t<e.length;){let n=Te(e[t]);if(!Object.hasOwn(Q,n))return t;let r=Q[n];t+=1;let i=!1;for(;t<e.length;){let n=e[t].value,a=!i&&n.startsWith(`-`);if(a&&n===`--`&&(i=!0),a||/^[A-Za-z_]\w*=/u.test(n))t+=a&&r.has(n)?2:1;else break}}return t}function Oe(e,t){if(!e.name)return[];let n=[e.name,...e.args.filter(e=>e.type===`Word`)],r=De(n),i=n[r];if(!i)return[];let a=Te(i),o=Ee(a),s=n.slice(r+1),c=[],l=!1;if(o){let e=Ae(o,s);for(let n of e.scripts){let e=Fe(n.word,t);if(!e)continue;let r=n.inValue?e.text.indexOf(`=`)+1:0;c.push({language:o.language,mapped:je(e,r)})}l=o.stdin!==`never`&&e.scripts.length===0&&!e.scriptFromFile}let u=l?o?.language:void 0,d=Me(a,e,s);for(let n of e.redirects){let e=ke(n.descriptor,0);if(n.type===`HereString`&&e&&u&&n.target){let e=Fe(n.target,t);e&&c.push({language:u,mapped:e})}if(n.type===`HereDoc`){let r=(e?u??d:void 0)??Ne(n);r&&c.push({language:r,mapped:Pe(n,t)})}}return c}function ke(e,t){return e===void 0||e.type===`FileDescriptor`&&e.value===t}function Ae(e,t){let n=[],r=[],i=e=>({word:e,inValue:!1}),a=!1,o=!1;for(let s=0;s<t.length;s+=1){let c=t[s],l=e.ignoreCase?c.value.toLowerCase():c.value;if(!a&&l===`--`){a=!0;continue}if(!a&&l.startsWith(`-`)&&l!==`-`){let[n=l,a]=l.startsWith(`--`)?l.split(/=(.*)/su):[l];if(e.scriptFileOptions?.has(n)){if(!e.repeatable)return{scripts:r,scriptFromFile:!0};o=!0,a===void 0&&(s+=1);continue}if(e.inline(n)){let n=t[s+1];if(a===void 0?n&&r.push(i(n)):r.push({word:c,inValue:!0}),!e.repeatable)return{scripts:r,scriptFromFile:!1};a===void 0&&(s+=1);continue}a===void 0&&e.valueOptions?.has(l)&&(s+=1);continue}if(n.push(c),e.stdin===`without-script-file`&&!e.subcommand)break}if(e.subcommand)return n[0]?.value===e.subcommand?{scripts:n.slice(1,2).map(i),scriptFromFile:!1}:{scripts:r,scriptFromFile:!0};if(e.positionalScript!==void 0&&r.push(...n.slice(e.positionalScript).map(i)),e.stdin===`always`)return{scripts:r,scriptFromFile:o};let s=n[0];return{scripts:r,scriptFromFile:s!==void 0&&s.value!==`-`}}function je(e,t){return t===0?e:{text:e.text.slice(t),starts:e.starts.slice(t),ends:e.ends.slice(t)}}function Me(t,n,r){let i;if(t===`cat`)for(let e of n.redirects)e.type===`Redirect`&&[`>`,`>>`,`>|`,`&>`,`&>>`].includes(e.operator)&&ke(e.descriptor,1)&&(i=e.target?.value);else t===`tee`&&(i=r.find(e=>!e.value.startsWith(`-`))?.value);if(!i)return;let a=e(i);return a===`text`?void 0:a}function Ne(e){let t=e.delimiter?.value.toLowerCase();return t&&Object.hasOwn(xe,t)?xe[t]:void 0}function Pe(e,t){let{pos:n,end:r}=e.body,i=Array.from({length:r-n},(e,t)=>n+t);return{text:t.slice(n,r),starts:i,ends:i.map(e=>e+1)}}function Fe(e,t){let n=new Ie,r=e.parts??[{type:`Literal`,pos:e.pos,end:e.end,text:e.text,value:e.value}];for(let e of r)switch(e.type){case`Literal`:if(!n.addEscaped(e,!1))return;break;case`SingleQuoted`:n.addRaw(e.value,e.pos+1);break;case`DoubleQuoted`:case`LocaleString`:for(let t of e.parts)if(!n.addDoubleQuotedChild(t))return;break;case`AnsiCQuoted`:if(e.value!==e.text.slice(2,-1))return;n.addRaw(e.value,e.pos+2);break;default:n.addRaw(t.slice(e.pos,e.end),e.pos)}return n.build()}var Ie=class{text=``;starts=[];ends=[];addRaw(e,t){for(let n=0;n<e.length;n+=1)this.push(e[n],t+n,1)}addDoubleQuotedChild(e){return e.type===`Literal`?this.addEscaped(e,!0):(this.addRaw(e.text,e.pos),!0)}addEscaped(e,t){let n=this.text.length,{text:r,pos:i}=e;for(let e=0;e<r.length;e+=1){let n=r[e+1];r[e]===`\\`&&n!==void 0&&(!t||`$\`"\\
12
12
  `.includes(n))?(n!==`
13
13
  `&&this.push(n,i+e,2),e+=1):this.push(r[e],i+e,1)}return this.text.slice(n)===e.value}build(){return{text:this.text,starts:this.starts,ends:this.ends}}push(e,t,n){this.text+=e,this.starts.push(t),this.ends.push(t+n)}};export{Se as embeddedScripts};
14
- //# sourceMappingURL=embeddedScripts-C0cHj-rX.js.map
14
+ //# sourceMappingURL=embeddedScripts-CIC2AYGL.js.map
@@ -0,0 +1,2 @@
1
+ import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{HT as t,dE as n,t as r,xu as i}from"./utils-vKlT_s3D.js";var a=n(),o=e(t(),1),s={compact:`min-h-64 gap-4 p-6 md:p-10 [&_[data-slot=empty-media]]:mb-0 [&_[data-slot=empty-title]]:text-[1.0625rem] [&_[data-slot=empty-title]]:leading-6 [&_[data-slot=empty-description]]:text-[0.8125rem] [&_[data-slot=empty-description]]:leading-[1.125rem]`,default:`gap-6 p-6 md:p-12`,hero:`gap-6 p-6 md:p-12 [&_[data-slot=empty-title]]:text-2xl sm:[&_[data-slot=empty-title]]:text-3xl`};function c(e){let t=(0,a.c)(10),n,i,c;t[0]===e?(n=t[1],i=t[2],c=t[3]):({className:n,size:c,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=c);let l=s[c===void 0?`default`:c],u;t[4]!==n||t[5]!==l?(u=r(`flex min-w-0 flex-1 flex-col items-center justify-center text-balance text-center`,l,n),t[4]=n,t[5]=l,t[6]=u):u=t[6];let d;return t[7]!==i||t[8]!==u?(d=(0,o.jsx)(`div`,{className:u,"data-slot":`empty`,...i}),t[7]=i,t[8]=u,t[9]=d):d=t[9],d}function l(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`flex max-w-sm flex-col items-center text-center`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`div`,{className:s,"data-slot":`empty-header`,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}var u=i(`flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0`,{defaultVariants:{variant:`default`},variants:{variant:{default:`bg-transparent`,icon:`relative flex size-9 shrink-0 items-center justify-center rounded-md border bg-card not-dark:bg-clip-padding text-foreground shadow-sm/5 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)] [&_svg:not([class*='size-'])]:size-4.5`}}});function d(e){let t=(0,a.c)(21),n,i,s;t[0]===e?(n=t[1],i=t[2],s=t[3]):({className:n,variant:s,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=s);let c=s===void 0?`default`:s,l;t[4]===n?l=t[5]:(l=r(`relative mb-6`,n),t[4]=n,t[5]=l);let d;t[6]!==n||t[7]!==c?(d=c===`icon`&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(`div`,{"aria-hidden":`true`,className:r(u({className:n,variant:c}),`-translate-x-0.5 -rotate-10 pointer-events-none absolute bottom-px origin-bottom-left scale-84 shadow-none`)}),(0,o.jsx)(`div`,{"aria-hidden":`true`,className:r(u({className:n,variant:c}),`pointer-events-none absolute bottom-px origin-bottom-right translate-x-0.5 rotate-10 scale-84 shadow-none`)})]}),t[6]=n,t[7]=c,t[8]=d):d=t[8];let f;t[9]!==n||t[10]!==c?(f=r(u({className:n,variant:c})),t[9]=n,t[10]=c,t[11]=f):f=t[11];let p;t[12]!==i||t[13]!==f?(p=(0,o.jsx)(`div`,{className:f,...i}),t[12]=i,t[13]=f,t[14]=p):p=t[14];let m;return t[15]!==i||t[16]!==l||t[17]!==d||t[18]!==p||t[19]!==c?(m=(0,o.jsxs)(`div`,{className:l,"data-slot":`empty-media`,"data-variant":c,...i,children:[d,p]}),t[15]=i,t[16]=l,t[17]=d,t[18]=p,t[19]=c,t[20]=m):m=t[20],m}function f(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`font-semibold text-xl`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`div`,{className:s,"data-slot":`empty-title`,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}function p(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`text-muted-foreground text-sm [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4 [[data-slot=empty-title]+&]:mt-1 [[data-slot=empty-description]+&]:mt-1`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`div`,{className:s,"data-slot":`empty-description`,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}function m(e){let t=(0,a.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let s;t[3]===n?s=t[4]:(s=r(`flex w-full min-w-0 max-w-sm flex-col items-center gap-4 text-balance text-sm`,n),t[3]=n,t[4]=s);let c;return t[5]!==i||t[6]!==s?(c=(0,o.jsx)(`div`,{className:s,"data-slot":`empty-content`,...i}),t[5]=i,t[6]=s,t[7]=c):c=t[7],c}export{d as a,l as i,m as n,f as o,p as r,c as t};
2
+ //# sourceMappingURL=empty-BvJSXK20.js.map
@@ -0,0 +1,2 @@
1
+ import{$_ as e,$o as t,$x as n,CS as r,DS as i,Fx as a,Go as o,HS as s,I_ as c,Jv as l,Kb as u,Lo as d,Nx as f,Oc as p,RT as m,SS as h,UC as ee,Uc as te,Uo as g,VS as _,VT as ne,Vc as v,Vo as y,Wo as re,Yo as ie,Yx as ae,aT as oe,as as se,by as ce,cT as le,cx as b,dE as ue,dT as de,ds as fe,fT as pe,fx as x,gT as S,hT as C,h_ as w,jT as me,mT as he,ms as T,ps as ge,px as _e,qo as ve,rC as E,rx as ye,tx as be,vT as xe,xx as Se,yS as Ce}from"./utils-vKlT_s3D.js";import{A as we,M as D,O as Te,X as O,Z as Ee,ft as k,j as De,k as A,kn as Oe,xn as ke}from"./runtime-BVzm9sLS.js";import{At as Ae,Cn as j,It as je,J as Me,Jt as Ne,K as Pe,Nt as M,Ot as Fe,Sn as N,T as Ie,W as Le,Yt as Re,_n as ze,bn as Be,jt as Ve,kt as He,lt as Ue,mt as We,ot as Ge,pt as Ke,qt as qe,t as P,ut as Je,vn as Ye,wn as F,yn as Xe}from"./runtime-B-UcwNuZ.js";import{f as Ze,h as I,n as L}from"./server-97u7Iupv.js";var R=ue(),Qe={"~effect/RequestResolver":{_A:m,_R:m},pipe(){return ne(this,arguments)}},$e=e=>{let t=Object.create(Qe);return t.batchKey=e.batchKey,t.preCheck=e.preCheck,t.delay=e.delay,t.collectWhile=e.collectWhile,t.runAll=e.runAll,t},z=6e4,et=1024,tt=class extends s{};function nt(e){let r=new WeakMap,i=new WeakMap,a=new WeakMap,s=new Map,c=e=>JSON.stringify([e.environmentId,e.threadId]),l=g(e=>o(t=>{let n=s.get(e);n||(n={readers:0,sessions:new WeakMap},s.set(e,n)),n.readers++,t.addFinalizer(()=>{--n.readers===0&&s.delete(e)})}).pipe(ie(0),t(`file-metadata-thread:${e}`))),u=g(e=>o(0).pipe(t(`file-metadata-revision:${e}`))),d=(e,t)=>u(JSON.stringify([e,N(t)])),f=(e,t,n)=>{let i=N(t),a=r.get(e)?.get(i);return a&&a.expires>n?a:void 0},m=(e,t,n,i,a=!1)=>{let o=r.get(e);o||(o=new Map,r.set(e,o));let c=N(t);o.delete(c);let l={value:n,expires:i+z};o.set(c,l);for(let t of s.values()){let r=t.sessions.get(e),i=r?.get(c);r&&i&&r.set(c,{...l,value:a&&n&&i.value?.kind===n.kind?{...i.value,...n}:n})}if(o.size>et){let e=o.keys().next().value;e!==void 0&&o.delete(e)}},te=$e({batchKey:e=>e.request.session,delay:_,collectWhile:e=>e.size<64,runAll:x(function*(e){let t=e[0].request.session,n=[...e];for(;n.length>0;){let r=[...new Set(n.map(e=>e.request.path))],i=a.get(t);i||(i=new Map,a.set(t,i));let o=new Map(r.map(e=>[e,{valid:!0}]));for(let[e,t]of o){let n=i.get(e);n||i.set(e,n=new Set),n.add(t)}let s=i;n=yield*Se(function*(){let i=yield*O(p.filesystemGetMetadata,{paths:r}).pipe(ae(k,e[0].request.supervisor)),a=yield*E,s=new Map(r.map((e,t)=>[e,i.entries[t]??null])),c=[];for(let e of n){if(!o.get(e.request.path).valid){c.push(e);continue}let n=s.get(e.request.path)??null;m(t,e.request.path,n,a),e.request.retained?.set(e.request.path,{value:n,expires:a+z}),e.completeUnsafe(ee(n))}return c}).pipe(be(h(()=>{for(let[e,t]of o){let n=s.get(e);n?.delete(t),n?.size===0&&s.delete(e)}})))}})}),ne=we(e,{label:`environment-data:filesystem:metadata`,staleTimeMs:z,idleTtlMs:z,execute:x(function*(e){let t=yield*k,r=yield*w(t.session);if(r._tag===`None`)return null;let i=e.threadId?s.get(c({environmentId:t.target.environmentId,threadId:e.threadId})):void 0,a=i?.sessions.get(r.value);i&&!a&&(a=new Map,i.sessions.set(r.value,a));let o=a?.get(e.path);if(o)return o.value;let l=yield*E,u=f(r.value,e.path,l);return u?(a?.set(e.path,u),u.value):yield*n(new tt({path:e.path,session:r.value,supervisor:t,...a?{retained:a}:{}}),te)}),refreshTrigger:({environmentId:e,input:t})=>d(e,t.path)}),v=e=>ne({...e,input:{...e.input,path:N(e.input.path)}}),y=x(function*(e,t,n){let r=yield*k,i=yield*w(r.session);if(i._tag===`None`)return;let a=yield*E;if(!n||n(i.value))for(let n of t){let t=F(n.path,e);f(i.value,t,a)?.value?.kind!==n.kind&&m(i.value,t,{kind:n.kind},a,!0)}}),re=x(function*(e){let t=yield*k,n=yield*w(t.session);if(n._tag===`Some`){i.set(n.value,(i.get(n.value)??0)+1);let t=N(e);for(let e of a.get(n.value)?.get(t)??[])e.valid=!1;r.get(n.value)?.delete(t);for(let t of s.values())t.sessions.get(n.value)?.delete(N(e))}});return{metadata:v,retainThread:e=>l(c(e)),rememberEntries:y,rememberFile:x(function*(e,t,n){let r=yield*k,i=yield*w(r.session);if(i._tag===`None`)return;let a=F(t.relativePath,e),o=yield*E;if(n&&!n(i.value))return;let s=f(i.value,a,o)?.value;m(i.value,a,{...s,kind:`file`,byteLength:t.byteLength},o,!0)}),seedAfterRead:(e,t)=>Se(function*(){let n=yield*k,r=yield*w(n.session),a=r._tag===`Some`?i.get(r.value)??0:0,o=yield*e;return yield*t(o,e=>r._tag===`Some`&&e===r.value&&(i.get(e)??0)===a),o}),invalidate:re,refreshPath:(e,t,n)=>{let r=d(e,t);n.set(r,n.get(r)+1)}}}function rt(e){return JSON.stringify([e.environmentId,e.cwd,e.relativePath])}function it(e,t){return new Set([t.relativePath,e.relativePath].map(t=>F(t,e.cwd)))}var at=class extends ce()(`ScratchProjectNotLoadedError`,{projectId:l}){get message(){return`The folder for threads without a project has not reached this device yet. Try again.`}};function ot(n,s){let l=nt(n),d=Te(),m=Te(),ee=g(e=>o(null).pipe(t(`environment-data:projects:optimistic-file:${e}`))),_={mode:`serial`,key:({environmentId:e,input:t})=>JSON.stringify([e,t.projectId])};return{fileMetadata:l.metadata,fileMetadataThread:l.retainThread,invalidateFileMetadata:A(n,{label:`environment-data:filesystem:invalidate-metadata`,execute:(e,t,n)=>_e([...new Set(e.paths)],e=>l.invalidate(e).pipe(r(()=>h(()=>l.refreshPath(n,e,t)))))}),searchEntries:D(n,{label:`environment-data:projects:search-entries`,tag:p.projectsSearchEntries,staleTimeMs:15e3,execute:e=>l.seedAfterRead(O(p.projectsSearchEntries,e),(t,n)=>l.rememberEntries(e.cwd,t.entries,n))}),listEntries:D(n,{label:`environment-data:projects:list-entries`,tag:p.projectsListEntries,staleTimeMs:3e4,idleTtlMs:3e5,execute:e=>l.seedAfterRead(O(p.projectsListEntries,e),(t,n)=>l.rememberEntries(e.cwd,t.entries,n))}),readConfiguration:D(n,{label:`environment-data:projects:read-configuration`,tag:p.projectsReadFile,staleTimeMs:3e4,idleTtlMs:3e5,execute:e=>O(p.projectsReadFile,{...e,relativePath:te}).pipe(u({ProjectReadFileError:t=>O(p.projectsListEntries,{cwd:e.cwd,directoryPath:``}).pipe(a(()=>t),b(n=>n.truncated||n.entries.some(e=>e.path===`p4.json`)?ye(t):O(p.projectsReadFile,{...e,relativePath:v})))}))}),readFile:D(n,{label:`environment-data:projects:read-file`,tag:p.projectsReadFile,staleTimeMs:3e4,idleTtlMs:3e5,execute:e=>l.seedAfterRead(O(p.projectsReadFile,e),(t,n)=>l.rememberFile(e.cwd,t,n))}),optimisticFile:e=>ee(rt(e)),create:A(n,{label:`environment-data:commands:project:create`,execute:e=>qe(e),scheduler:d,concurrency:_}),update:A(n,{label:`environment-data:commands:project:update`,execute:e=>Re(e),scheduler:d,concurrency:_}),delete:A(n,{label:`environment-data:commands:project:delete`,execute:e=>Ne(e),scheduler:d,concurrency:_}),openScratch:A(n,{label:`environment-data:projects:open-scratch`,execute:(t,n,r)=>O(p.projectsEnsureScratch,t).pipe(b(({projectId:t})=>se(n,s.projectAtom({environmentId:r,projectId:t})).pipe(c(me),e,i(`10 seconds`),f(le),b(xe({onSome:Ce,onNone:()=>ye(new at({projectId:t}))}))))),scheduler:d,concurrency:{mode:`serial`,key:({environmentId:e})=>e}}),createNew:De(n,{label:`environment-data:projects:create-new`,tag:p.projectsCreateNew,scheduler:d,concurrency:{mode:`serial`,key:({environmentId:e})=>e}}),writeFile:De(n,{label:`environment-data:projects:write-file`,tag:p.projectsWriteFile,scheduler:m,concurrency:{mode:`serial`,key:({environmentId:e,input:t})=>JSON.stringify([e,t.cwd,t.relativePath])},execute:e=>Ee(p.projectsWriteFile,e).pipe(r(t=>_e(it(e,t),l.invalidate))),onSuccess:({environmentId:e,input:t},n,r)=>h(()=>{for(let i of it(t,r))l.refreshPath(e,i,n)})})}}var st=Object.freeze([]),ct=new Map;function lt(e){let n=g(n=>o(t=>t(e.snapshotAtom(n))?.projects??st).pipe(t(`environment-projects:${n}`))),r=g(e=>o(t=>{let r=t(n(e));return r.length===0?ct:new Map(r.map(e=>[e.id,e]))}).pipe(t(`environment-project-index:${e}`))),i=g(e=>{let r=[];return o(t=>{let i=t(n(e)).map(t=>({environmentId:e,projectId:t.id}));return Ve(r,i)?r:(r=i,i)}).pipe(t(`environment-project-refs:${e}`))}),a=g(n=>{let i=He(n),a=null,s=!1,c=null;return o(t=>{let n=t(r(i.environmentId)).get(i.projectId)??null,o=n!==null&&mt(n,e.serverConfigValueAtom?t(e.serverConfigValueAtom(i.environmentId))?.scratchWorkspaceRoot:null);return n===a&&o===s?c:(a=n,s=o,c=n===null?null:{...je(i.environmentId,n),...o?{isScratch:!0}:{}},c)}).pipe(t(`environment-project:${n}`))}),s=[],c=o(t=>{let n=[];for(let r of M(t(e.catalogValueAtom)))n.push(...t(i(r)));return Ve(s,n)?s:(s=n,n)}).pipe(t(`environment-project-refs`)),l=[];return{environmentProjectsAtom:n,environmentProjectIndexAtom:r,environmentProjectRefsAtom:i,projectRefsAtom:c,projectsAtom:o(e=>{let t=e(c).flatMap(t=>{let n=e(a(Ae(t)));return n===null?[]:[n]});return Fe(l,t)||(l=t),l}).pipe(t(`environment-project-list`)),projectConfigsReadyAtom:o(t=>{let n=t(e.catalogValueAtom);if(!n.isReady)return!1;for(let r of M(n))if(e.serverConfigValueAtom&&t(e.serverConfigValueAtom(r))===null)return!1;return!0}).pipe(t(`environment-project-configs-ready`)),projectAtom:e=>a(Ae(e))}}var B=e=>/^win(dows)?/i.test(e);function V(e){return Be(e)||Ye(e)?`windows`:e.startsWith(`/`)?`unix`:null}function H(e){let t=V(e);return t===`windows`?`\\`:t===`unix`?`/`:e.includes(`\\`)?`\\`:`/`}function U(e){return(V(e)===`unix`?/\/$/:/[\\/]$/).test(e)}function W(e,t){return e.split(t===`/`?/\/+/:/[\\/]+/).filter(Boolean)}function G(e){return V(e)===`unix`?e.lastIndexOf(`/`):Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`))}function K(e){if(Be(e)){let t=`${e.slice(0,2)}\\`;return{root:t,separator:`\\`,segments:W(e.slice(t.length),`\\`)}}if(Ye(e)){let[t,n,...r]=W(e,`\\`);return!t||!n?null:{root:`\\\\${t}\\${n}\\`,separator:`\\`,segments:r}}return e.startsWith(`/`)?{root:`/`,separator:`/`,segments:W(e.slice(1),`/`)}:null}function ut(e,t=``){let n=B(t);return e.startsWith(`./`)||e.startsWith(`../`)||e.startsWith(`.\\`)||e.startsWith(`..\\`)||e.startsWith(`/`)||e.startsWith(`~/`)||n&&Xe(e)}function dt(e,t){return Xe(e)&&!B(t)}function ft(e,t){let n=e.trim();if(!ze(n)||!t)return j(n);let r=K(j(t));if(!r)return j(n);let i=[...r.segments];for(let e of n.split(/[\\/]+/))if(e.length!==0&&e!==`.`){if(e===`..`){i.pop();continue}i.push(e)}let a=i.join(r.separator);return j(a.length===0?r.root:`${r.root}${a}`)}function pt(e,t){let n=N(t);if(n.length!==0)return e.find(e=>{let t=e.workspaceRoot??e.cwd;return t?N(t)===n:!1})}function mt(e,t){return t!=null&&pt([e],t)!==void 0}function ht(e){let t=j(e),n=K(t);return n?n.segments.findLast(Boolean)??t:t.split(/[/\\]/).findLast(Boolean)??t}function gt(e,t){let n=H(e);return`${vt(e)}${t}${n}`}function _t(e){let t=G(e);return e.slice(t+1)}function vt(e){if(U(e))return e;let t=G(e);return t<0?e:e.slice(0,t+1)}function yt(e){let t=e.trim();return t.length===0||U(t)?t:`${t}${H(t)}`}function bt(e){let t=j(e),n=K(t);if(n){if(n.segments.length===0)return null;if(n.segments.length===1)return n.root;let e=n.segments.slice(0,-1).join(n.separator);return`${n.root}${e}${n.separator}`}let r=H(e),i=G(t);return i<0?null:i===2&&/^[a-zA-Z]:/.test(t)?`${t.slice(0,2)}${r}`:t.slice(0,i+1)}function xt(e){return U(e)&&bt(e)!==null}function St(e){return g(n=>o(t=>xe(T(t(e(n))),{onNone:()=>null,onSome:e=>pe(e.snapshot)})).pipe(t(`environment-snapshot:${n}`)))}var Ct=We(P),q=Ke(P),wt=St(q.stateAtom);function Tt(e){return o(t=>e.environmentIds.length>0&&e.environmentIds.every(n=>{let r=t(e.shellStateValueAtom(n));return r.status===`live`&&S(r.snapshot)}))}var Et=o(e=>{let t=T(e(I.catalogAtom));if(C(t))return!1;for(let n of M(t.value)){if(S(e(q.stateValueAtom(n)).snapshot))continue;let t=de(T(e(I.stateAtom(n))),()=>ke);if(Oe(t)!==`disconnected`||t.phase===`backoff`&&t.desired&&t.attempt<=2)return!1}return!0}).pipe(t(`web-all-environment-shells-bootstrapped`));function Dt(e,t){return!e.isReady||e.entries.size===0?!1:!t||Array.from(e.entries.values()).some(e=>e.target._tag===`PrimaryConnectionTarget`)}function Ot(e){return o(t=>{let n=t(e.catalogValueAtom);if(!Dt(n,e.requiresPrimaryEnvironment))return!1;for(let r of M(n)){let n=t(e.shellStateValueAtom(r));if(n.status!==`live`||C(n.snapshot))return!1}return!0}).pipe(t(`web-all-environment-project-snapshots-ready`))}Ot({catalogValueAtom:I.catalogValueAtom,shellStateValueAtom:q.stateValueAtom,requiresPrimaryEnvironment:!Ie()});var kt=o(e=>{let t=e(I.catalogValueAtom);if(!Dt(t,!Ie()))return!1;for(let n of M(t)){let t=e(q.stateValueAtom(n));if(t.status===`live`&&S(t.snapshot))continue;let r=T(e(I.stateAtom(n)));if(C(r))return!1;let i=r.value;if(!(i.phase===`offline`||i.phase===`blocked`||i.phase===`backoff`&&i.attempt>2))return!1}return!0}).pipe(t(`web-all-reachable-shells-live`)),J=lt({catalogValueAtom:I.catalogValueAtom,snapshotAtom:wt,serverConfigValueAtom:Ze.configValueAtom}),At=ot(P,{projectAtom:J.projectAtom}),jt=D(P,{label:`environment-data:projects:search-contents`,tag:p.projectsSearchContents,staleTimeMs:5e3,idleTtlMs:6e4}),Mt=Ge(P,wt),Y=Le(P),X=Me(Y.stateAtom),Z=Pe({catalogValueAtom:I.catalogValueAtom,snapshotAtom:Mt.snapshotAtom}),Nt=o(ge(Ue)).pipe(t(`web-environment-thread:empty`));function Pt(e,t){let n=(0,R.c)(5),r;n[0]!==e||n[1]!==t?(r=e!==null&&t!==null?Y.stateAtom(e,t):Nt,n[0]=e,n[1]=t,n[2]=r):r=n[2];let i=y(r),a;return n[3]===i?a=n[4]:(a=de(T(i),Ft),n[3]=i,n[4]=a),a}function Ft(){return Ue}var It=e=>e===`preparing`||e===`queued`||e===`starting`||e===`running`;function Lt(e){if(!fe(e))return!0;let{status:t,data:n,error:r}=e.value;return t===`deleted`||S(r)?!0:t===`live`&&!oe(n,e=>e.runs.some(e=>It(e.status)))}function Rt(e){let n=g(n=>{let r=[];return o(t=>{let i=t(e.threadsAtom(n)).flatMap(e=>It(e.status)?[e.id]:[]);return Fe(r,i)?r:(r=i,i)}).pipe(t(`web-running-thread-ids:${n}`))});return o(t=>{let r=he(t.self()),i=new Map;for(let a of t(e.environmentIdsAtom)){let o=new Set(t(n(a)));for(let n of r?.get(a)??[]){if(o.has(n))continue;let r=e.stateAtom(a,n);Lt(t.once(r))||(o.add(n),t.subscribe(r,e=>{Lt(e)&&t.refreshSelf()}))}for(let n of o)t.mount(e.stateAtom(a,n));i.set(a,o)}return i}).pipe(t(`web-running-thread-keep-alive`))}var zt=Rt({environmentIdsAtom:ve(I.catalogValueAtom,e=>[...M(e)]),threadsAtom:Z.environmentThreadsAtom,stateAtom:Y.stateAtom});async function Q(e){let t=()=>e.registry.get(e.atom);return e.predicate(t())?!0:await new Promise(n=>{let r=!1,i=null,a=null,o=!1,s=e=>{r||(r=!0,i!==null&&globalThis.clearTimeout(i),a===null?o=!0:a(),n(e))};if(a=e.registry.subscribe(e.atom,t=>{e.predicate(t)&&s(!0)}),o){a();return}if(e.predicate(t())){s(!0);return}i=globalThis.setTimeout(()=>{s(!1)},e.timeoutMs)})}var Bt=Object.freeze([]),Vt=Object.freeze([]),Ht=o(null).pipe(t(`web-project:empty`)),Ut=o(Bt).pipe(t(`web-thread-refs:empty`)),Wt=o(Object.freeze([])).pipe(t(`web-thread-shells:empty`)),Gt=o(null).pipe(t(`web-thread-shell:empty`)),Kt=o(null).pipe(t(`web-thread-projection:empty`)),qt=o(`empty`).pipe(t(`web-thread-status:empty`)),Jt=o(Vt).pipe(t(`web-thread-visible-turn-items:empty`)),Yt=o(Je).pipe(t(`web-thread-history:empty`)),Xt=o(null).pipe(re,t(`web-active-environment-id`));function Zt(){return y(Xt)}function Qt(e){d.set(Xt,e)}function $t(){return y(Z.threadRefsAtom)}function en(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=e===null?Ut:Z.environmentThreadRefsAtom(e),t[0]=e,t[1]=n),y(n)}function tn(){return y(J.projectsAtom)}function nn(){return y(L)}function rn(e){return y(e===void 0||e?Z.threadShellsAtom:Wt)}function an(){return y(Et)}function on(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=Z.threadShellsForProjectRefsAtom(e),t[0]=e,t[1]=n),y(n)}function sn(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=e===null?Ht:J.projectAtom(e),t[0]=e,t[1]=n),y(n)}function cn(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=e===null?Gt:Z.threadShellAtom(e),t[0]=e,t[1]=n),y(n)}function ln(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=e===null?Wt:Z.childThreadInputsAtom(e),t[0]=e,t[1]=n),y(n)}function un(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=e===null?Kt:X.threadAtom(e),t[0]=e,t[1]=n),y(n)}function dn(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=e===null?qt:X.statusAtom(e),t[0]=e,t[1]=n),y(n)}function fn(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=e===null?Yt:X.historyAtom(e),t[0]=e,t[1]=n),y(n)}function pn(e,t){return e!==null&&(!t.waitForShell||t.shellExists)?e:null}function mn(e){let t=(0,R.c)(2),n;return t[0]===e?n=t[1]:(n=e===null?Jt:X.visibleTurnItemsAtom(e),t[0]=e,t[1]=n),y(n)}function $(e){return d.get(J.projectAtom(e))}function hn(){return d.get(J.projectsAtom)}function gn(e,t=1e4){let n=$(e);return n===null?new Promise((n,r)=>{let i=null,a=setTimeout(()=>{i?.(),r(Error(`The project did not appear in the desktop app.`))},t),o=e=>{e!==null&&(clearTimeout(a),i?.(),n(e))};i=d.subscribe(J.projectAtom(e),o),o($(e))}):Promise.resolve(n)}function _n(e,t=5e3){return Q({registry:d,atom:J.projectAtom(e),predicate:e=>e===null,timeoutMs:t})}function vn(e){return d.get(Z.threadShellAtom(e))}function yn(e,t=5e3){return Q({registry:d,atom:Z.threadShellAtom(e),predicate:e=>e!==null,timeoutMs:t})}function bn(e){let t=(0,R.c)(3),n=nn(),r;return t[0]!==n||t[1]!==e?(r=e!==null&&n.get(e)?.environment.capabilities.serverBrowser===!0,t[0]=n,t[1]=e,t[2]=r):r=t[2],r}function xn(e){return d.get(L).get(e)?.environment.capabilities.serverBrowser===!0}function Sn(e){return d.get(L).get(e)?.environment.capabilities.threadTitleRegeneration===!0}function Cn(e){return d.get(L).get(e)?.environment.capabilities.threadPinning===!0}function wn(e){return d.get(L).get(e)?.environment.capabilities.threadPinReorder===!0}function Tn(e){return d.get(L).get(e)?.environment.capabilities.threadAutoSettleOptOut===!0}function En(e){return d.get(L).get(e)?.environment.capabilities.threadActiveReorder===!0}function Dn(e){return d.get(L).get(e)?.environment.capabilities.threadSettlement===!0}function On(e){return d.get(L).get(e)?.environment.capabilities.threadSnooze===!0}function kn(e){return d.get(L).get(e)?.environment.capabilities.threadVisitedTracking===!0}function An(e){return d.get(Z.environmentThreadRefsAtom(e))}function jn(){return d.get(Z.threadShellsAtom)}export{vt as $,on as A,Mt as B,tn as C,$t as D,un as E,yn as F,kt as G,J as H,Q as I,Ct as J,Tt as K,X as L,mn as M,gn as N,cn as O,_n as P,pt as Q,Z as R,sn as S,fn as T,jt as U,Pt as V,At as W,xt as X,gt as Y,yt as Z,Zt as _,xn as a,mt as at,bn as b,Sn as c,$ as d,_t as et,hn as f,Qt as g,pn as h,Cn as i,ut as it,dn as j,rn as k,kn as l,jn as m,Tn as n,U as nt,Dn as o,dt as ot,vn as p,q,wn as r,ht as rt,On as s,ft as st,En as t,bt as tt,An as u,an as v,nn as w,en as x,ln as y,zt as z};
2
+ //# sourceMappingURL=entities-Dzl1j2jY.js.map
@@ -1,4 +1,4 @@
1
- import{n as e,t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as n,p as r}from"./src-oBChb5qS.js";import{H as i,K as a,U as o,a as s,rt as c,s as l,v as u,w as d,x as f,y as p}from"./chunk-DU6HZSFF-C3RStRBi.js";import{t as m}from"./channel-pJ5lNF0h.js";import{c as h,g}from"./chunk-75Z2AOVW-CUqo_4ua.js";import"./chunk-PWAF6VOD-BPIKFLCK.js";import"./chunk-GMAD6QVW-qBcSdTWV.js";import"./chunk-P2QGCYS3-DDmmXS6G.js";import"./chunk-4HAMMTFA-_7K6yngz.js";import"./chunk-GVQU2GXP-D8rhGQK_.js";import"./chunk-OSK3NFVY-BEgD3sGZ.js";import{t as _}from"./chunk-XXDRQBXY-BvKO0v-W.js";import{t as v}from"./chunk-POPQ4Y6H-CefHvRtI.js";import"./chunk-L3NEJ4N5-DnCelWBi.js";import{d as y,u as b}from"./mermaid.core-DWtHy2iz.js";var x=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],r=[2,2],i=[1,7],a=[1,9],o=[1,10],s=[1,11],c=[1,12],l=[1,30],u=[1,23],d=[1,24],f=[1,25],p=[1,26],m=[1,27],h=[1,19],g=[1,28],_=[1,29],v=[1,20],y=[1,18],b=[1,21],x=[1,22],S=[2,6],C=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],w=[1,36],T=[1,37],E=[1,38],D=[1,39],O=[1,40],k=[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],A=[1,46],j=[1,47],M=[1,57],N=[43,51,53,54,55,74,75],P=[1,70],F=[1,68],I=[1,65],L=[1,69],R=[1,71],z=[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],B=[1,78],V=[1,77],H=[1,76],U=[69,70,71,72,73],W=[1,91],G=[6,9,45,50],K=[6,9,12,44,45,50,51,52],q=[1,101],J=[1,100],Y=[1,99],X=[18,61],ee=[1,110],te=[1,109],ne=[20,43,51,53,54,55],Z=[18,61,64,66],Q={trace:e(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:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 2:this.$=[];break;case 3:this.$=a[s-1].concat(a[s]);break;case 4:this.$=a[s];break;case 5:case 6:this.$=[];break;case 7:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]),this.$=[a[s-4],a[s-2]];break;case 8:r.addEntity(a[s-8]),r.addEntity(a[s-4]),r.addRelationship(a[s-8],a[s],a[s-4],a[s-5]),r.setClass([a[s-8]],a[s-6]),r.setClass([a[s-4]],a[s-2]),this.$=[a[s-8],a[s-4]];break;case 9:r.addEntity(a[s-6]),r.addEntity(a[s-2]),r.addRelationship(a[s-6],a[s],a[s-2],a[s-3]),r.setClass([a[s-6]],a[s-4]),this.$=[a[s-6],a[s-2]];break;case 10:r.addEntity(a[s-6]),r.addEntity(a[s-4]),r.addRelationship(a[s-6],a[s],a[s-4],a[s-5]),r.setClass([a[s-4]],a[s-2]),this.$=[a[s-6],a[s-4]];break;case 11:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]),this.$=[a[s-3]];break;case 12:r.addEntity(a[s-5]),r.addAttributes(a[s-5],a[s-1]),r.setClass([a[s-5]],a[s-3]),this.$=[a[s-5]];break;case 13:r.addEntity(a[s-2]),this.$=[a[s-2]];break;case 14:r.addEntity(a[s-4]),r.setClass([a[s-4]],a[s-2]),this.$=[a[s-4]];break;case 15:r.addEntity(a[s]),this.$=[a[s]];break;case 16:r.addEntity(a[s-2]),r.setClass([a[s-2]],a[s]),this.$=[a[s-2]];break;case 17:r.addEntity(a[s-6],a[s-4]),r.addAttributes(a[s-6],a[s-1]),this.$=[a[s-6]];break;case 18:r.addEntity(a[s-8],a[s-6]),r.addAttributes(a[s-8],a[s-1]),r.setClass([a[s-8]],a[s-3]),this.$=[a[s-8]];break;case 19:r.addEntity(a[s-5],a[s-3]),this.$=[a[s-5]];break;case 20:r.addEntity(a[s-7],a[s-5]),r.setClass([a[s-7]],a[s-2]),this.$=[a[s-7]];break;case 21:r.addEntity(a[s-3],a[s-1]);break;case 22:r.addEntity(a[s-5],a[s-3]),r.setClass([a[s-5]],a[s]);break;case 23:case 24:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 25:case 26:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 27:r.subgraphDepth?this.$=a[s]:(r.setDirection(a[s].value),this.$=[]);break;case 31:r.subgraphDepth=(r.subgraphDepth||1)-1,this.$=r.addSubGraph({text:a[s-2].id},a[s-1],{text:a[s-2].text});break;case 32:r.subgraphDepth=(r.subgraphDepth||0)+1,this.$={id:a[s-1],text:a[s-1]};break;case 33:r.subgraphDepth=(r.subgraphDepth||0)+1,this.$={id:a[s-4],text:a[s-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=a[s];break;case 35:this.$=a[s-1]+` `+a[s];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.$=a[s-3],r.addClass(a[s-2],a[s-1]);break;case 41:case 42:case 63:case 72:this.$=[a[s]];break;case 43:case 44:this.$=a[s-2].concat([a[s]]);break;case 45:this.$=a[s-2],r.setClass(a[s-1],a[s]);break;case 46:this.$=a[s-3],r.addCssStyles(a[s-2],a[s-1]);break;case 47:this.$=[a[s]];break;case 48:a[s-2].push(a[s]),this.$=a[s-2];break;case 50:this.$=a[s-1]+a[s];break;case 58:case 84:case 85:this.$=a[s].replace(/"/g,``);break;case 64:a[s].push(a[s-1]),this.$=a[s];break;case 65:this.$={type:a[s-1],name:a[s]};break;case 66:this.$={type:a[s-2],name:a[s-1],keys:a[s]};break;case 67:this.$={type:a[s-2],name:a[s-1],comment:a[s]};break;case 68:this.$={type:a[s-3],name:a[s-2],keys:a[s-1],comment:a[s]};break;case 69:case 71:case 74:this.$=a[s];break;case 70:this.$=a[s-1]+a[s];break;case 73:a[s-2].push(a[s]),this.$=a[s-2];break;case 75:this.$=a[s].replace(/"/g,``);break;case 76:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 77:this.$=r.Cardinality.ZERO_OR_ONE;break;case 78:this.$=r.Cardinality.ZERO_OR_MORE;break;case 79:this.$=r.Cardinality.ONE_OR_MORE;break;case 80:this.$=r.Cardinality.ONLY_ONE;break;case 81:this.$=r.Cardinality.MD_PARENT;break;case 82:this.$=r.Identification.NON_IDENTIFYING;break;case 83:this.$=r.Identification.IDENTIFYING}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,r,{5:3}),{6:[1,4],7:5,8:6,9:i,10:8,21:a,23:o,25:s,27:c,28:13,29:14,30:15,31:16,32:17,34:l,37:u,38:d,39:f,40:p,41:m,43:h,46:g,47:_,51:v,53:y,54:b,55:x},t(n,S,{1:[2,1]}),t(C,[2,3]),t(C,[2,4]),t(C,[2,5]),t(C,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:w,70:T,71:E,72:D,73:O}),{22:[1,41]},{24:[1,42]},{26:[1,43]},t(C,[2,26]),t(C,[2,27]),t(C,[2,28]),t(C,[2,29]),t(C,[2,30]),t(C,r,{5:44}),t(k,[2,58]),t(k,[2,59]),t(k,[2,60]),t(k,[2,61]),t(k,[2,62]),t(C,[2,36]),t(C,[2,37]),t(C,[2,38]),t(C,[2,39]),{15:45,43:A,44:j},{15:48,43:A,44:j},{15:49,43:A,44:j},{10:50,43:h,51:v,53:y,54:b,55:x},{10:51,43:h,51:v,53:y,54:b,55:x},{15:52,43:A,44:j},{17:53,18:[1,54],56:55,57:56,61:M},{10:58,43:h,51:v,53:y,54:b,55:x},{68:59,74:[1,60],75:[1,61]},t(N,[2,77]),t(N,[2,78]),t(N,[2,79]),t(N,[2,80]),t(N,[2,81]),t(C,[2,23]),t(C,[2,24]),t(C,[2,25]),{6:[1,63],7:5,8:6,9:i,10:8,21:a,23:o,25:s,27:c,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:l,37:u,38:d,39:f,40:p,41:m,43:h,46:g,47:_,51:v,53:y,54:b,55:x},{12:P,42:64,44:F,45:I,48:66,49:67,51:L,52:R},t(z,[2,41]),t(z,[2,42]),{15:72,43:A,44:j,45:I},{12:P,42:73,44:F,45:I,48:66,49:67,51:L,52:R},{6:B,9:V,19:[1,75],35:74,50:H},{12:[1,79],14:[1,80]},t(C,[2,16],{67:35,11:81,16:[1,82],45:I,69:w,70:T,71:E,72:D,73:O}),{18:[1,83]},t(C,[2,13]),{17:84,18:[2,63],56:55,57:56,61:M},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:w,70:T,71:E,72:D,73:O},t(U,[2,82]),t(U,[2,83]),t(C,[2,31]),t(C,S),{6:B,9:V,35:90,45:W,50:H},{43:[1,92],44:[1,93]},t(G,[2,47],{49:94,12:P,44:F,51:L,52:R}),t(K,[2,49]),t(K,[2,54]),t(K,[2,55]),t(K,[2,56]),t(K,[2,57]),t(C,[2,45],{45:I}),{6:B,9:V,35:95,45:W,50:H},t(C,[2,32]),{10:97,36:96,43:h,51:v,53:y,54:b,55:x},t(C,[2,51]),t(C,[2,52]),t(C,[2,53]),{13:98,43:q,53:J,76:Y},{15:102,43:A,44:j},{10:103,43:h,51:v,53:y,54:b,55:x},{17:104,18:[1,105],56:55,57:56,61:M},t(C,[2,11]),{18:[2,64]},t(X,[2,65],{59:106,60:107,63:108,65:ee,66:te}),t([18,61,65,66],[2,71]),{61:[2,70]},t(C,[2,21],{14:[1,112],16:[1,111]}),t([43,51,53,54,55],[2,76]),t(C,[2,40]),{12:P,44:F,48:113,49:67,51:L,52:R},t(z,[2,43]),t(z,[2,44]),t(K,[2,50]),t(C,[2,46]),{10:115,20:[1,114],43:h,51:v,53:y,54:b,55:x},t(ne,[2,34]),t(C,[2,7]),t(C,[2,84]),t(C,[2,85]),t(C,[2,86]),{12:[1,116],45:I},{12:[1,118],14:[1,117]},{18:[1,119]},t(C,[2,14]),t(X,[2,66],{60:120,64:[1,121],66:te}),t(X,[2,67]),t(Z,[2,72]),t(X,[2,75]),t(Z,[2,74]),{17:122,18:[1,123],56:55,57:56,61:M},{15:124,43:A,44:j},t(G,[2,48],{49:94,12:P,44:F,51:L,52:R}),{6:B,9:V,35:125,50:H},t(ne,[2,35]),{13:126,43:q,53:J,76:Y},{15:127,43:A,44:j},{13:128,43:q,53:J,76:Y},t(C,[2,12]),t(X,[2,68]),{63:129,65:ee},{18:[1,130]},t(C,[2,19]),t(C,[2,22],{16:[1,131],45:I}),t(C,[2,33]),t(C,[2,10]),{12:[1,132],45:I},t(C,[2,9]),t(Z,[2,73]),t(C,[2,17]),{17:133,18:[1,134],56:55,57:56,61:M},{13:135,43:q,53:J,76:Y},{18:[1,136]},t(C,[2,20]),t(C,[2,8]),t(C,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e,t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as n,p as r}from"./src-oBChb5qS.js";import{H as i,K as a,U as o,a as s,rt as c,s as l,v as u,w as d,x as f,y as p}from"./chunk-DU6HZSFF-B4qcstD9.js";import{t as m}from"./channel-BO8pVrSI.js";import{c as h,g}from"./chunk-75Z2AOVW-CXAakYxI.js";import"./chunk-PWAF6VOD-BMw0rklB.js";import"./chunk-GMAD6QVW-BHA-Os4E.js";import"./chunk-P2QGCYS3-Dwk8ORW_.js";import"./chunk-4HAMMTFA-B3SWgtem.js";import"./chunk-GVQU2GXP-P9nMI_GJ.js";import"./chunk-OSK3NFVY-C9IokqLY.js";import{t as _}from"./chunk-XXDRQBXY-BvKO0v-W.js";import{t as v}from"./chunk-POPQ4Y6H-BwYKYQwt.js";import"./chunk-L3NEJ4N5-9p7zIkHC.js";import{d as y,u as b}from"./mermaid.core-CcbjUEO9.js";var x=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],r=[2,2],i=[1,7],a=[1,9],o=[1,10],s=[1,11],c=[1,12],l=[1,30],u=[1,23],d=[1,24],f=[1,25],p=[1,26],m=[1,27],h=[1,19],g=[1,28],_=[1,29],v=[1,20],y=[1,18],b=[1,21],x=[1,22],S=[2,6],C=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],w=[1,36],T=[1,37],E=[1,38],D=[1,39],O=[1,40],k=[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],A=[1,46],j=[1,47],M=[1,57],N=[43,51,53,54,55,74,75],P=[1,70],F=[1,68],I=[1,65],L=[1,69],R=[1,71],z=[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],B=[1,78],V=[1,77],H=[1,76],U=[69,70,71,72,73],W=[1,91],G=[6,9,45,50],K=[6,9,12,44,45,50,51,52],q=[1,101],J=[1,100],Y=[1,99],X=[18,61],ee=[1,110],te=[1,109],ne=[20,43,51,53,54,55],Z=[18,61,64,66],Q={trace:e(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:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 2:this.$=[];break;case 3:this.$=a[s-1].concat(a[s]);break;case 4:this.$=a[s];break;case 5:case 6:this.$=[];break;case 7:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]),this.$=[a[s-4],a[s-2]];break;case 8:r.addEntity(a[s-8]),r.addEntity(a[s-4]),r.addRelationship(a[s-8],a[s],a[s-4],a[s-5]),r.setClass([a[s-8]],a[s-6]),r.setClass([a[s-4]],a[s-2]),this.$=[a[s-8],a[s-4]];break;case 9:r.addEntity(a[s-6]),r.addEntity(a[s-2]),r.addRelationship(a[s-6],a[s],a[s-2],a[s-3]),r.setClass([a[s-6]],a[s-4]),this.$=[a[s-6],a[s-2]];break;case 10:r.addEntity(a[s-6]),r.addEntity(a[s-4]),r.addRelationship(a[s-6],a[s],a[s-4],a[s-5]),r.setClass([a[s-4]],a[s-2]),this.$=[a[s-6],a[s-4]];break;case 11:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]),this.$=[a[s-3]];break;case 12:r.addEntity(a[s-5]),r.addAttributes(a[s-5],a[s-1]),r.setClass([a[s-5]],a[s-3]),this.$=[a[s-5]];break;case 13:r.addEntity(a[s-2]),this.$=[a[s-2]];break;case 14:r.addEntity(a[s-4]),r.setClass([a[s-4]],a[s-2]),this.$=[a[s-4]];break;case 15:r.addEntity(a[s]),this.$=[a[s]];break;case 16:r.addEntity(a[s-2]),r.setClass([a[s-2]],a[s]),this.$=[a[s-2]];break;case 17:r.addEntity(a[s-6],a[s-4]),r.addAttributes(a[s-6],a[s-1]),this.$=[a[s-6]];break;case 18:r.addEntity(a[s-8],a[s-6]),r.addAttributes(a[s-8],a[s-1]),r.setClass([a[s-8]],a[s-3]),this.$=[a[s-8]];break;case 19:r.addEntity(a[s-5],a[s-3]),this.$=[a[s-5]];break;case 20:r.addEntity(a[s-7],a[s-5]),r.setClass([a[s-7]],a[s-2]),this.$=[a[s-7]];break;case 21:r.addEntity(a[s-3],a[s-1]);break;case 22:r.addEntity(a[s-5],a[s-3]),r.setClass([a[s-5]],a[s]);break;case 23:case 24:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 25:case 26:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 27:r.subgraphDepth?this.$=a[s]:(r.setDirection(a[s].value),this.$=[]);break;case 31:r.subgraphDepth=(r.subgraphDepth||1)-1,this.$=r.addSubGraph({text:a[s-2].id},a[s-1],{text:a[s-2].text});break;case 32:r.subgraphDepth=(r.subgraphDepth||0)+1,this.$={id:a[s-1],text:a[s-1]};break;case 33:r.subgraphDepth=(r.subgraphDepth||0)+1,this.$={id:a[s-4],text:a[s-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=a[s];break;case 35:this.$=a[s-1]+` `+a[s];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.$=a[s-3],r.addClass(a[s-2],a[s-1]);break;case 41:case 42:case 63:case 72:this.$=[a[s]];break;case 43:case 44:this.$=a[s-2].concat([a[s]]);break;case 45:this.$=a[s-2],r.setClass(a[s-1],a[s]);break;case 46:this.$=a[s-3],r.addCssStyles(a[s-2],a[s-1]);break;case 47:this.$=[a[s]];break;case 48:a[s-2].push(a[s]),this.$=a[s-2];break;case 50:this.$=a[s-1]+a[s];break;case 58:case 84:case 85:this.$=a[s].replace(/"/g,``);break;case 64:a[s].push(a[s-1]),this.$=a[s];break;case 65:this.$={type:a[s-1],name:a[s]};break;case 66:this.$={type:a[s-2],name:a[s-1],keys:a[s]};break;case 67:this.$={type:a[s-2],name:a[s-1],comment:a[s]};break;case 68:this.$={type:a[s-3],name:a[s-2],keys:a[s-1],comment:a[s]};break;case 69:case 71:case 74:this.$=a[s];break;case 70:this.$=a[s-1]+a[s];break;case 73:a[s-2].push(a[s]),this.$=a[s-2];break;case 75:this.$=a[s].replace(/"/g,``);break;case 76:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 77:this.$=r.Cardinality.ZERO_OR_ONE;break;case 78:this.$=r.Cardinality.ZERO_OR_MORE;break;case 79:this.$=r.Cardinality.ONE_OR_MORE;break;case 80:this.$=r.Cardinality.ONLY_ONE;break;case 81:this.$=r.Cardinality.MD_PARENT;break;case 82:this.$=r.Identification.NON_IDENTIFYING;break;case 83:this.$=r.Identification.IDENTIFYING}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,r,{5:3}),{6:[1,4],7:5,8:6,9:i,10:8,21:a,23:o,25:s,27:c,28:13,29:14,30:15,31:16,32:17,34:l,37:u,38:d,39:f,40:p,41:m,43:h,46:g,47:_,51:v,53:y,54:b,55:x},t(n,S,{1:[2,1]}),t(C,[2,3]),t(C,[2,4]),t(C,[2,5]),t(C,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:w,70:T,71:E,72:D,73:O}),{22:[1,41]},{24:[1,42]},{26:[1,43]},t(C,[2,26]),t(C,[2,27]),t(C,[2,28]),t(C,[2,29]),t(C,[2,30]),t(C,r,{5:44}),t(k,[2,58]),t(k,[2,59]),t(k,[2,60]),t(k,[2,61]),t(k,[2,62]),t(C,[2,36]),t(C,[2,37]),t(C,[2,38]),t(C,[2,39]),{15:45,43:A,44:j},{15:48,43:A,44:j},{15:49,43:A,44:j},{10:50,43:h,51:v,53:y,54:b,55:x},{10:51,43:h,51:v,53:y,54:b,55:x},{15:52,43:A,44:j},{17:53,18:[1,54],56:55,57:56,61:M},{10:58,43:h,51:v,53:y,54:b,55:x},{68:59,74:[1,60],75:[1,61]},t(N,[2,77]),t(N,[2,78]),t(N,[2,79]),t(N,[2,80]),t(N,[2,81]),t(C,[2,23]),t(C,[2,24]),t(C,[2,25]),{6:[1,63],7:5,8:6,9:i,10:8,21:a,23:o,25:s,27:c,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:l,37:u,38:d,39:f,40:p,41:m,43:h,46:g,47:_,51:v,53:y,54:b,55:x},{12:P,42:64,44:F,45:I,48:66,49:67,51:L,52:R},t(z,[2,41]),t(z,[2,42]),{15:72,43:A,44:j,45:I},{12:P,42:73,44:F,45:I,48:66,49:67,51:L,52:R},{6:B,9:V,19:[1,75],35:74,50:H},{12:[1,79],14:[1,80]},t(C,[2,16],{67:35,11:81,16:[1,82],45:I,69:w,70:T,71:E,72:D,73:O}),{18:[1,83]},t(C,[2,13]),{17:84,18:[2,63],56:55,57:56,61:M},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:w,70:T,71:E,72:D,73:O},t(U,[2,82]),t(U,[2,83]),t(C,[2,31]),t(C,S),{6:B,9:V,35:90,45:W,50:H},{43:[1,92],44:[1,93]},t(G,[2,47],{49:94,12:P,44:F,51:L,52:R}),t(K,[2,49]),t(K,[2,54]),t(K,[2,55]),t(K,[2,56]),t(K,[2,57]),t(C,[2,45],{45:I}),{6:B,9:V,35:95,45:W,50:H},t(C,[2,32]),{10:97,36:96,43:h,51:v,53:y,54:b,55:x},t(C,[2,51]),t(C,[2,52]),t(C,[2,53]),{13:98,43:q,53:J,76:Y},{15:102,43:A,44:j},{10:103,43:h,51:v,53:y,54:b,55:x},{17:104,18:[1,105],56:55,57:56,61:M},t(C,[2,11]),{18:[2,64]},t(X,[2,65],{59:106,60:107,63:108,65:ee,66:te}),t([18,61,65,66],[2,71]),{61:[2,70]},t(C,[2,21],{14:[1,112],16:[1,111]}),t([43,51,53,54,55],[2,76]),t(C,[2,40]),{12:P,44:F,48:113,49:67,51:L,52:R},t(z,[2,43]),t(z,[2,44]),t(K,[2,50]),t(C,[2,46]),{10:115,20:[1,114],43:h,51:v,53:y,54:b,55:x},t(ne,[2,34]),t(C,[2,7]),t(C,[2,84]),t(C,[2,85]),t(C,[2,86]),{12:[1,116],45:I},{12:[1,118],14:[1,117]},{18:[1,119]},t(C,[2,14]),t(X,[2,66],{60:120,64:[1,121],66:te}),t(X,[2,67]),t(Z,[2,72]),t(X,[2,75]),t(Z,[2,74]),{17:122,18:[1,123],56:55,57:56,61:M},{15:124,43:A,44:j},t(G,[2,48],{49:94,12:P,44:F,51:L,52:R}),{6:B,9:V,35:125,50:H},t(ne,[2,35]),{13:126,43:q,53:J,76:Y},{15:127,43:A,44:j},{13:128,43:q,53:J,76:Y},t(C,[2,12]),t(X,[2,68]),{63:129,65:ee},{18:[1,130]},t(C,[2,19]),t(C,[2,22],{16:[1,131],45:I}),t(C,[2,33]),t(C,[2,10]),{12:[1,132],45:I},t(C,[2,9]),t(Z,[2,73]),t(C,[2,17]),{17:133,18:[1,134],56:55,57:56,61:M},{13:135,43:q,53:J,76:Y},{18:[1,136]},t(C,[2,20]),t(C,[2,8]),t(C,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};Q.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(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:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -97,4 +97,4 @@ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
97
97
  fill: ${e.titleColor??e.textColor};
98
98
  }
99
99
  `},`getStyles`)};export{k as diagram};
100
- //# sourceMappingURL=erDiagram-RLTQ6QDP-CMztaIAH.js.map
100
+ //# sourceMappingURL=erDiagram-RLTQ6QDP-BJ--ph2e.js.map
@@ -0,0 +1 @@
1
+ import"./chunk-FOHPRMQF-DzxwRta7.js";import{O as e}from"./mermaid-parser.core-CLu3jfMo.js";export{e as createEventModelingServices};
@@ -0,0 +1,2 @@
1
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./createLucideIcon-CacG5mZC.js";var n=e({__iconNode:()=>r,default:()=>i}),r=[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]],i=t(`eye`,r);export{n,i as t};
2
+ //# sourceMappingURL=eye-Dh5UEUs_.js.map
@@ -0,0 +1,2 @@
1
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./createLucideIcon-CacG5mZC.js";var n=e({__iconNode:()=>r,default:()=>i}),r=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`circle`,{cx:`11.5`,cy:`14.5`,r:`2.5`,key:`1bq0ko`}],[`path`,{d:`M13.3 16.3 15 18`,key:`2quom7`}]],i=t(`file-search`,r);export{n,i as t};
2
+ //# sourceMappingURL=file-search-DotMSEoS.js.map
@@ -1,2 +1,2 @@
1
- import{Tn as e,gn as t,hn as n,yn as r}from"./runtime-Dydpcwo9.js";var i=/:(\d+)(?::(\d+))?$/,a=/^#L(\d+)(?:C(\d+))?$/i;function o(t){try{let n=new URL(t);if(n.protocol.toLowerCase()!==`file:`)return null;let r=n.hostname.toLowerCase()===`localhost`?``:n.hostname,i=r?`\\\\${r}${n.pathname.replaceAll(`/`,`\\`)}`:n.pathname;return i.length===0?null:{path:e(i),hash:n.hash}}catch{return null}}function s(e,t=``){let n=e.match(i),r=n??t.match(a);if(!r?.[1])return{path:e};let o=Number.parseInt(r[1],10),s=r[2]===void 0?void 0:Number.parseInt(r[2],10);return{path:n?e.slice(0,-n[0].length):e,...o>0?{line:o}:{},...s!==void 0&&s>0?{column:s}:{}}}function c(e){return e.line?`${e.path}:${e.line}${e.column?`:${e.column}`:``}`:e.path}function l(e){return r(e)||/[A-Za-z]:\\/.test(e)}function u(e,t,n){let r=e.replace(/[\\/]+$/,``);return n===`\\`?`${r}\\${t.replaceAll(`/`,`\\`)}`:`${r}/${t.replace(/^\/+/,``)}`}function d(e){let t=e.match(/^\/Users\/([^/]+)/);if(t?.[1])return`/Users/${t[1]}`;let n=e.match(/^\/home\/([^/]+)/);if(n?.[1])return`/home/${n[1]}`;let r=e.match(/^([A-Za-z]:[\\/]Users[\\/][^\\/]+)/);if(r?.[1])return r[1]}function f(e,n){let r=s(e),{path:i}=r,a=i;if(i.startsWith(`~/`)){let e=d(n);if(e){let t=l(e)?`\\`:`/`;a=u(e,i.slice(2),t)}}else t(i)||(a=u(n,i,l(n)?`\\`:`/`));return c({...r,path:a})}function p(e){return e.replaceAll(`\\`,`/`).split(`/`).filter(e=>e.length>0).slice(0,-1)}function m(e){let t=new Map;for(let n of e){let e=n.replaceAll(`\\`,`/`),r=e.split(`/`).filter(e=>e.length>0),i=r[r.length-1];if(!i)continue;let a=t.get(i)??new Set;a.add(e),t.set(i,a)}let n=new Map;for(let e of t.values()){let t=[...e];if(t.length<2)continue;let r=new Map(t.map(e=>[e,p(e)])),i=new Map;for(let e of t){let n=r.get(e)??[],a=n.length;for(let i=1;i<=n.length;i+=1){let o=n.slice(-i).join(`/`);if(!t.some(t=>t!==e&&(r.get(t)??[]).slice(-i).join(`/`)===o)){a=i;break}}i.set(e,a)}for(let e of t){let t=r.get(e)??[];if(t.length===0)continue;let a=i.get(e)??1,o=Math.min(t.length,Math.max(a,2));n.set(e,t.slice(-o).join(`/`))}}return n}function h(e,t){let r=t.get(e.path.replaceAll(`\\`,`/`));return[n(e.path),r,e.line?`L${e.line}${e.column?`:C${e.column}`:``}`:void 0].filter(Boolean).join(` · `)}export{f as a,o as i,h as n,s as o,c as r,m as t};
2
- //# sourceMappingURL=fileLinks-3CrgspkN.js.map
1
+ import{Tn as e,gn as t,hn as n,yn as r}from"./runtime-B-UcwNuZ.js";var i=/:(\d+)(?::(\d+))?$/,a=/^#L(\d+)(?:C(\d+))?$/i;function o(t){try{let n=new URL(t);if(n.protocol.toLowerCase()!==`file:`)return null;let r=n.hostname.toLowerCase()===`localhost`?``:n.hostname,i=r?`\\\\${r}${n.pathname.replaceAll(`/`,`\\`)}`:n.pathname;return i.length===0?null:{path:e(i),hash:n.hash}}catch{return null}}function s(e,t=``){let n=e.match(i),r=n??t.match(a);if(!r?.[1])return{path:e};let o=Number.parseInt(r[1],10),s=r[2]===void 0?void 0:Number.parseInt(r[2],10);return{path:n?e.slice(0,-n[0].length):e,...o>0?{line:o}:{},...s!==void 0&&s>0?{column:s}:{}}}function c(e){return e.line?`${e.path}:${e.line}${e.column?`:${e.column}`:``}`:e.path}function l(e){return r(e)||/[A-Za-z]:\\/.test(e)}function u(e,t,n){let r=e.replace(/[\\/]+$/,``);return n===`\\`?`${r}\\${t.replaceAll(`/`,`\\`)}`:`${r}/${t.replace(/^\/+/,``)}`}function d(e){let t=e.match(/^\/Users\/([^/]+)/);if(t?.[1])return`/Users/${t[1]}`;let n=e.match(/^\/home\/([^/]+)/);if(n?.[1])return`/home/${n[1]}`;let r=e.match(/^([A-Za-z]:[\\/]Users[\\/][^\\/]+)/);if(r?.[1])return r[1]}function f(e,n){let r=s(e),{path:i}=r,a=i;if(i.startsWith(`~/`)){let e=d(n);if(e){let t=l(e)?`\\`:`/`;a=u(e,i.slice(2),t)}}else t(i)||(a=u(n,i,l(n)?`\\`:`/`));return c({...r,path:a})}function p(e){return e.replaceAll(`\\`,`/`).split(`/`).filter(e=>e.length>0).slice(0,-1)}function m(e){let t=new Map;for(let n of e){let e=n.replaceAll(`\\`,`/`),r=e.split(`/`).filter(e=>e.length>0),i=r[r.length-1];if(!i)continue;let a=t.get(i)??new Set;a.add(e),t.set(i,a)}let n=new Map;for(let e of t.values()){let t=[...e];if(t.length<2)continue;let r=new Map(t.map(e=>[e,p(e)])),i=new Map;for(let e of t){let n=r.get(e)??[],a=n.length;for(let i=1;i<=n.length;i+=1){let o=n.slice(-i).join(`/`);if(!t.some(t=>t!==e&&(r.get(t)??[]).slice(-i).join(`/`)===o)){a=i;break}}i.set(e,a)}for(let e of t){let t=r.get(e)??[];if(t.length===0)continue;let a=i.get(e)??1,o=Math.min(t.length,Math.max(a,2));n.set(e,t.slice(-o).join(`/`))}}return n}function h(e,t){let r=t.get(e.path.replaceAll(`\\`,`/`));return[n(e.path),r,e.line?`L${e.line}${e.column?`:C${e.column}`:``}`:void 0].filter(Boolean).join(` · `)}export{f as a,o as i,h as n,s as o,c as r,m as t};
2
+ //# sourceMappingURL=fileLinks-BZV-xG7Q.js.map
@@ -1,4 +1,4 @@
1
- import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{r as t}from"./Icon-l19w4AjM.js";import{ha as n}from"./utils-Cbsb1ks0.js";import{c as r,l as i,s as a,u as o}from"./pierre-icons-YFKnGmUq.js";var s=`file-tree-container`,c=`data-file-tree-style`,l=`data-file-tree-unsafe-css`,u=`data-file-tree-scrollbar-measure`,d=`data-file-tree-scrollbar-gutter-measured`,f=`--trees-scrollbar-gutter-measured`,p=`header`,m=`context-menu`,h=`context-menu-trigger`,g=e(t(),1),_=e(n(),1),v=typeof window>`u`?g.useEffect:g.useLayoutEffect;function y(e,t,n){let r=e==null?null:(0,_.jsx)(`div`,{slot:p,children:e}),i=t!=null&&n!=null?(0,_.jsx)(`div`,{slot:m,children:t(n.item,n.context)}):null;return r==null&&i==null?null:(0,_.jsxs)(_.Fragment,{children:[r,i]})}function b(e,t){return typeof window>`u`&&t!=null?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(`template`,{shadowrootmode:`open`,dangerouslySetInnerHTML:{__html:t.shadowHtml}}),e]}):(0,_.jsx)(_.Fragment,{children:e})}function x(e){let t=e.shadowRoot;return t?.querySelector(`[data-file-tree-id]`)instanceof HTMLElement||t?.querySelector(`[data-file-tree-id]`)instanceof SVGElement||e.querySelector(`template[shadowrootmode="open"]`)instanceof HTMLTemplateElement}function S(e,t,n,r,i){let a={...e??{}};if(t!=null&&delete a.header,n){let t=e?.contextMenu,n=t?.onClose,o=t?.onOpen;a.contextMenu={...t??{},enabled:!0,onClose:()=>{n?.(),r()},onOpen:(e,t)=>{i(e,t),o?.(e,t)}},delete a.contextMenu.render}return a.header!=null||a.contextMenu!=null?a:void 0}function C({header:e,id:t,model:n,preloadedData:r,renderContextMenu:i,...a}){let[o,c]=(0,g.useState)(null),[l,u]=(0,g.useState)(null),d=(0,g.useRef)(n.getComposition()),f=(0,g.useRef)(n);f.current!==n&&(f.current=n,d.current=n.getComposition());let p=i!=null,m=(0,g.useCallback)(()=>{c(null)},[]),h=(0,g.useCallback)((e,t)=>{c({context:t,item:e})},[]),C=d.current,ee=(0,g.useMemo)(()=>S(C,e,p,m,h),[C,m,h,p,e]),te=(0,g.useCallback)(e=>{u(e)},[]);(0,g.useEffect)(()=>{p||c(null)},[p]),v(()=>{n.setComposition(ee)},[ee,n]),v(()=>{if(l!=null)return r!=null&&x(l)?n.hydrate({fileTreeContainer:l}):n.render({fileTreeContainer:l}),()=>{n.unmount(),n.setComposition(C)}},[C,l,n,r]);let ne=b(y(e,i,o),r),w=t??r?.id,T={"--trees-item-height":`${String(n.getItemHeight())}px`,"--trees-density-override":n.getDensityFactor(),...a.style};return(0,_.jsx)(s,{...a,id:w,ref:te,style:T,suppressHydrationWarning:r!=null,children:ne})}var ee={compact:{itemHeight:24,factor:.8},default:{itemHeight:30,factor:1},relaxed:{itemHeight:36,factor:1.2}};function te(e,t){if(typeof e==`number`)return{itemHeight:t??ee.default.itemHeight,factor:e};let n=ee[e??`default`];return{itemHeight:t??n.itemHeight,factor:n.factor}}var ne=ee.default.itemHeight,w=`@layer base {
1
+ import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{r as t}from"./Icon-l19w4AjM.js";import{HT as n}from"./utils-vKlT_s3D.js";import{c as r,l as i,s as a,u as o}from"./pierre-icons-bBNX7pHG.js";var s=`file-tree-container`,c=`data-file-tree-style`,l=`data-file-tree-unsafe-css`,u=`data-file-tree-scrollbar-measure`,d=`data-file-tree-scrollbar-gutter-measured`,f=`--trees-scrollbar-gutter-measured`,p=`header`,m=`context-menu`,h=`context-menu-trigger`,g=e(t(),1),_=e(n(),1),v=typeof window>`u`?g.useEffect:g.useLayoutEffect;function y(e,t,n){let r=e==null?null:(0,_.jsx)(`div`,{slot:p,children:e}),i=t!=null&&n!=null?(0,_.jsx)(`div`,{slot:m,children:t(n.item,n.context)}):null;return r==null&&i==null?null:(0,_.jsxs)(_.Fragment,{children:[r,i]})}function b(e,t){return typeof window>`u`&&t!=null?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(`template`,{shadowrootmode:`open`,dangerouslySetInnerHTML:{__html:t.shadowHtml}}),e]}):(0,_.jsx)(_.Fragment,{children:e})}function x(e){let t=e.shadowRoot;return t?.querySelector(`[data-file-tree-id]`)instanceof HTMLElement||t?.querySelector(`[data-file-tree-id]`)instanceof SVGElement||e.querySelector(`template[shadowrootmode="open"]`)instanceof HTMLTemplateElement}function S(e,t,n,r,i){let a={...e??{}};if(t!=null&&delete a.header,n){let t=e?.contextMenu,n=t?.onClose,o=t?.onOpen;a.contextMenu={...t??{},enabled:!0,onClose:()=>{n?.(),r()},onOpen:(e,t)=>{i(e,t),o?.(e,t)}},delete a.contextMenu.render}return a.header!=null||a.contextMenu!=null?a:void 0}function C({header:e,id:t,model:n,preloadedData:r,renderContextMenu:i,...a}){let[o,c]=(0,g.useState)(null),[l,u]=(0,g.useState)(null),d=(0,g.useRef)(n.getComposition()),f=(0,g.useRef)(n);f.current!==n&&(f.current=n,d.current=n.getComposition());let p=i!=null,m=(0,g.useCallback)(()=>{c(null)},[]),h=(0,g.useCallback)((e,t)=>{c({context:t,item:e})},[]),C=d.current,ee=(0,g.useMemo)(()=>S(C,e,p,m,h),[C,m,h,p,e]),te=(0,g.useCallback)(e=>{u(e)},[]);(0,g.useEffect)(()=>{p||c(null)},[p]),v(()=>{n.setComposition(ee)},[ee,n]),v(()=>{if(l!=null)return r!=null&&x(l)?n.hydrate({fileTreeContainer:l}):n.render({fileTreeContainer:l}),()=>{n.unmount(),n.setComposition(C)}},[C,l,n,r]);let ne=b(y(e,i,o),r),w=t??r?.id,T={"--trees-item-height":`${String(n.getItemHeight())}px`,"--trees-density-override":n.getDensityFactor(),...a.style};return(0,_.jsx)(s,{...a,id:w,ref:te,style:T,suppressHydrationWarning:r!=null,children:ne})}var ee={compact:{itemHeight:24,factor:.8},default:{itemHeight:30,factor:1},relaxed:{itemHeight:36,factor:1.2}};function te(e,t){if(typeof e==`number`)return{itemHeight:t??ee.default.itemHeight,factor:e};let n=ee[e??`default`];return{itemHeight:t??n.itemHeight,factor:n.factor}}var ne=ee.default.itemHeight,w=`@layer base {
2
2
  :host {
3
3
  --trees-accent: var(--trees-accent-override, #009fff);
4
4
  --trees-fg: var(--trees-fg-override, var(--trees-theme-sidebar-fg, light-dark(#6c6c71, #adadb1)));
@@ -1112,4 +1112,4 @@ import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{r as t}from"./Icon-l19
1112
1112
  }
1113
1113
  @keyframes t3-tree-spin { to { transform: rotate(360deg); } }
1114
1114
  `;function Hs(e){return{colorScheme:e,"--trees-fg-override":`var(--contrast-foreground)`}}function Us(e){return typeof e!=`object`||!e||!(`isDirectory`in e)||typeof e.isDirectory!=`function`||!e.isDirectory()||!(`isExpanded`in e)||typeof e.isExpanded!=`function`||!(`expand`in e)||typeof e.expand!=`function`||!(`collapse`in e)||typeof e.collapse!=`function`?null:e}function Ws(e,t){return t.length>0&&t.every(t=>{let n=Us(e.getItem(t));return n!==null&&n.isExpanded()})}function Gs(e,t,n){for(let r of t){let t=Us(e.getItem(r));t!==null&&t.isExpanded()!==n&&(n?t.expand():t.collapse())}}export{Rs as a,C as c,Hs as i,Gs as n,Bs as o,Vs as r,Ls as s,Ws as t};
1115
- //# sourceMappingURL=fileTreeExpansion-CYkjiRdT.js.map
1115
+ //# sourceMappingURL=fileTreeExpansion-SSkII8h0.js.map
@@ -0,0 +1 @@
1
+ import"./src-oBChb5qS.js";import"./chunk-DU6HZSFF-B4qcstD9.js";import"./chunk-75Z2AOVW-CXAakYxI.js";import"./chunk-PWAF6VOD-BMw0rklB.js";import"./chunk-GMAD6QVW-BHA-Os4E.js";import"./chunk-P2QGCYS3-Dwk8ORW_.js";import"./chunk-4HAMMTFA-B3SWgtem.js";import"./chunk-GVQU2GXP-P9nMI_GJ.js";import"./chunk-OSK3NFVY-C9IokqLY.js";import"./chunk-F27PBJKO-DimzPDjs.js";import"./chunk-XXDRQBXY-BvKO0v-W.js";import"./chunk-POPQ4Y6H-BwYKYQwt.js";import"./chunk-L3NEJ4N5-9p7zIkHC.js";import{n as e}from"./chunk-SHT3W25Y-D3ovSAoa.js";import"./mermaid.core-CcbjUEO9.js";export{e as diagram};
@@ -0,0 +1,2 @@
1
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./createLucideIcon-CacG5mZC.js";var n=e({__iconNode:()=>r,default:()=>i}),r=[[`path`,{d:`M18 19a5 5 0 0 1-5-5v8`,key:`sz5oeg`}],[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`,key:`1w6njk`}],[`circle`,{cx:`13`,cy:`12`,r:`2`,key:`1j92g6`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]],i=t(`folder-git-2`,r);export{n,i as t};
2
+ //# sourceMappingURL=folder-git-2-BxqGR5ht.js.map
@@ -0,0 +1,2 @@
1
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./createLucideIcon-CacG5mZC.js";var n=e({__iconNode:()=>r,default:()=>i}),r=[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]],i=t(`folder-open`,r);export{n,i as t};
2
+ //# sourceMappingURL=folder-open-BqgCWh1y.js.map
@@ -0,0 +1,2 @@
1
+ import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./createLucideIcon-CacG5mZC.js";var n=e({__iconNode:()=>r,default:()=>i}),r=[[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`M9 13h6`,key:`1uhe8q`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]],i=t(`folder-plus`,r);export{n,i as t};
2
+ //# sourceMappingURL=folder-plus-BHa3aD6W.js.map
@@ -1,4 +1,4 @@
1
- import{i as e,t}from"./rolldown-runtime-Dd_uD5pT.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{a as r,c as i,d as a,f as o,g as s,i as c,m as l,p as u,s as d,u as f}from"./src-oBChb5qS.js";import{H as p,K as m,U as h,a as g,c as _,s as v,v as y,w as b,x,y as S}from"./chunk-DU6HZSFF-C3RStRBi.js";import{a as C,i as w,n as T,r as E,t as D}from"./linear-BUnzfXgk.js";import{t as O}from"./init-C-OQMol4.js";import{t as k}from"./dist-B_J_HbC0.js";import{g as ee}from"./chunk-75Z2AOVW-CUqo_4ua.js";function A(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function te(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function ne(e){return e}var j=1,re=2,ie=3,ae=4,oe=1e-6;function se(e){return`translate(`+e+`,0)`}function ce(e){return`translate(0,`+e+`)`}function le(e){return t=>+e(t)}function ue(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function de(){return!this.__axis}function fe(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,l=e===j||e===ae?-1:1,u=e===ae||e===re?`x`:`y`,d=e===j||e===ie?se:ce;function f(f){var p=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):ne),h=Math.max(a,0)+s,g=t.range(),_=+g[0]+c,v=+g[g.length-1]+c,y=(t.bandwidth?ue:le)(t.copy(),c),b=f.selection?f.selection():f,x=b.selectAll(`.domain`).data([null]),S=b.selectAll(`.tick`).data(p,t).order(),C=S.exit(),w=S.enter().append(`g`).attr(`class`,`tick`),T=S.select(`line`),E=S.select(`text`);x=x.merge(x.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),S=S.merge(w),T=T.merge(w.append(`line`).attr(`stroke`,`currentColor`).attr(u+`2`,l*a)),E=E.merge(w.append(`text`).attr(`fill`,`currentColor`).attr(u,l*h).attr(`dy`,e===j?`0em`:e===ie?`0.71em`:`0.32em`)),f!==b&&(x=x.transition(f),S=S.transition(f),T=T.transition(f),E=E.transition(f),C=C.transition(f).attr(`opacity`,oe).attr(`transform`,function(e){return isFinite(e=y(e))?d(e+c):this.getAttribute(`transform`)}),w.attr(`opacity`,oe).attr(`transform`,function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+c)})),C.remove(),x.attr(`d`,e===ae||e===re?o?`M`+l*o+`,`+_+`H`+c+`V`+v+`H`+l*o:`M`+c+`,`+_+`V`+v:o?`M`+_+`,`+l*o+`V`+c+`H`+v+`V`+l*o:`M`+_+`,`+c+`H`+v),S.attr(`opacity`,1).attr(`transform`,function(e){return d(y(e)+c)}),T.attr(u+`2`,l*a),E.attr(u,l*h).text(m),b.filter(de).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===re?`start`:e===ae?`end`:`middle`),b.each(function(){this.__axis=y})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(c=+e,f):c},f}function pe(e){return fe(j,e)}function me(e){return fe(ie,e)}var he=Math.PI/180,ge=180/Math.PI,_e=18,ve=.96422,ye=1,be=.82521,xe=4/29,Se=6/29,Ce=3*Se*Se,we=Se*Se*Se;function Te(e){if(e instanceof M)return new M(e.l,e.a,e.b,e.opacity);if(e instanceof N)return Ne(e);e instanceof i||(e=f(e));var t=Ae(e.r),n=Ae(e.g),r=Ae(e.b),a=De((.2225045*t+.7168786*n+.0606169*r)/ye),o,s;return t===n&&n===r?o=s=a:(o=De((.4360747*t+.3850649*n+.1430804*r)/ve),s=De((.0139322*t+.0971045*n+.7141733*r)/be)),new M(116*a-16,500*(o-a),200*(a-s),e.opacity)}function Ee(e,t,n,r){return arguments.length===1?Te(e):new M(e,t,n,r??1)}function M(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}a(M,Ee,o(d,{brighter(e){return new M(this.l+_e*(e??1),this.a,this.b,this.opacity)},darker(e){return new M(this.l-_e*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=ve*Oe(t),e=ye*Oe(e),n=be*Oe(n),new i(ke(3.1338561*t-1.6168667*e-.4906146*n),ke(-.9787684*t+1.9161415*e+.033454*n),ke(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}}));function De(e){return e>we?e**(1/3):e/Ce+xe}function Oe(e){return e>Se?e*e*e:Ce*(e-xe)}function ke(e){return 255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)}function Ae(e){return(e/=255)<=.04045?e/12.92:((e+.055)/1.055)**2.4}function je(e){if(e instanceof N)return new N(e.h,e.c,e.l,e.opacity);if(e instanceof M||(e=Te(e)),e.a===0&&e.b===0)return new N(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*ge;return new N(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function Me(e,t,n,r){return arguments.length===1?je(e):new N(e,t,n,r??1)}function N(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function Ne(e){if(isNaN(e.h))return new M(e.l,0,0,e.opacity);var t=e.h*he;return new M(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}a(N,Me,o(d,{brighter(e){return new N(this.h,this.c,this.l+_e*(e??1),this.opacity)},darker(e){return new N(this.h,this.c,this.l-_e*(e??1),this.opacity)},rgb(){return Ne(this).rgb()}}));function Pe(e){return function(t,n){var i=e((t=Me(t)).h,(n=Me(n)).h),a=r(t.c,n.c),o=r(t.l,n.l),s=r(t.opacity,n.opacity);return function(e){return t.h=i(e),t.c=a(e),t.l=o(e),t.opacity=s(e),t+``}}}var Fe=Pe(c);function Ie(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}var Le=new Date,Re=new Date;function P(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>P(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e){if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}}),n&&(i.count=(t,r)=>(Le.setTime(+t),Re.setTime(+r),e(Le),e(Re),Math.floor(n(Le,Re))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var ze=P(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);ze.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?P(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):ze),ze.range;var F=1e3,I=F*60,L=I*60,R=L*24,Be=R*7,Ve=R*30,He=R*365,z=P(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*F)},(e,t)=>(t-e)/F,e=>e.getUTCSeconds());z.range;var Ue=P(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*F)},(e,t)=>{e.setTime(+e+t*I)},(e,t)=>(t-e)/I,e=>e.getMinutes());Ue.range;var We=P(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*I)},(e,t)=>(t-e)/I,e=>e.getUTCMinutes());We.range;var Ge=P(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*F-e.getMinutes()*I)},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getHours());Ge.range;var Ke=P(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getUTCHours());Ke.range;var B=P(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*I)/R,e=>e.getDate()-1);B.range;var qe=P(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/R,e=>e.getUTCDate()-1);qe.range;var Je=P(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/R,e=>Math.floor(e/R));Je.range;function V(e){return P(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*I)/Be)}var Ye=V(0),Xe=V(1),Ze=V(2),Qe=V(3),H=V(4),$e=V(5),et=V(6);Ye.range,Xe.range,Ze.range,Qe.range,H.range,$e.range,et.range;function U(e){return P(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/Be)}var tt=U(0),nt=U(1),rt=U(2),it=U(3),at=U(4),ot=U(5),st=U(6);tt.range,nt.range,rt.range,it.range,at.range,ot.range,st.range;var ct=P(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ct.range;var lt=P(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());lt.range;var W=P(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());W.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:P(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),W.range;var G=P(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());G.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:P(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),G.range;function ut(e,t,n,r,i,a){let o=[[z,1,F],[z,5,5*F],[z,15,15*F],[z,30,30*F],[a,1,I],[a,5,5*I],[a,15,15*I],[a,30,30*I],[i,1,L],[i,3,3*L],[i,6,6*L],[i,12,12*L],[r,1,R],[r,2,2*R],[n,1,Be],[t,1,Ve],[t,3,3*Ve],[e,1,He]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=C(([,,e])=>e).right(o,i);if(a===o.length)return e.every(w(t/He,n/He,r));if(a===0)return ze.every(Math.max(w(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[dt,ft]=ut(G,lt,tt,Je,Ke,We),[pt,mt]=ut(W,ct,Ye,B,Ge,Ue);function ht(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function gt(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function _t(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function vt(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=Ct(i),u=wt(i),d=Ct(a),f=wt(a),p=Ct(o),m=wt(o),h=Ct(s),g=wt(s),_=Ct(c),v=wt(c),y={a:ne,A:j,b:re,B:ie,c:null,d:Gt,e:Gt,f:Xt,g:cn,G:un,H:Kt,I:qt,j:Jt,L:Yt,m:Zt,M:Qt,p:ae,q:oe,Q:Nn,s:Pn,S:$t,u:en,U:tn,V:rn,w:an,W:on,x:null,X:null,y:sn,Y:ln,Z:dn,"%":Mn},b={a:se,A:ce,b:le,B:ue,c:null,d:fn,e:fn,f:_n,g:On,G:An,H:pn,I:mn,j:hn,L:gn,m:vn,M:yn,p:de,q:fe,Q:Nn,s:Pn,S:bn,u:xn,U:Sn,V:wn,w:Tn,W:En,x:null,X:null,y:Dn,Y:kn,Z:jn,"%":Mn},x={a:E,A:D,b:O,B:k,c:ee,d:Ft,e:Ft,f:Vt,g:jt,G:At,H:Lt,I:Lt,j:It,L:Bt,m:Pt,M:Rt,p:T,q:Nt,Q:Ut,s:Wt,S:zt,u:Et,U:Dt,V:Ot,w:Tt,W:kt,x:A,X:te,y:jt,Y:At,Z:Mt,"%":Ht};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=yt[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=_t(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=gt(_t(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?nt.ceil(a):nt(a),a=qe.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=ht(_t(r.y,0,1)),o=a.getDay(),a=o>4||o===0?Xe.ceil(a):Xe(a),a=B.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else(`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?gt(_t(r.y,0,1)).getUTCDay():ht(_t(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,gt(r)):ht(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in yt?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function ee(e,n,r){return w(e,t,n,r)}function A(e,t,r){return w(e,n,t,r)}function te(e,t,n){return w(e,r,t,n)}function ne(e){return o[e.getDay()]}function j(e){return a[e.getDay()]}function re(e){return c[e.getMonth()]}function ie(e){return s[e.getMonth()]}function ae(e){return i[+(e.getHours()>=12)]}function oe(e){return 1+~~(e.getMonth()/3)}function se(e){return o[e.getUTCDay()]}function ce(e){return a[e.getUTCDay()]}function le(e){return c[e.getUTCMonth()]}function ue(e){return s[e.getUTCMonth()]}function de(e){return i[+(e.getUTCHours()>=12)]}function fe(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var yt={"-":``,_:` `,0:`0`},K=/^\s*\d+/,bt=/^%/,xt=/[\\^$*+?|[\]().{}]/g;function q(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function St(e){return e.replace(xt,`\\$&`)}function Ct(e){return RegExp(`^(?:`+e.map(St).join(`|`)+`)`,`i`)}function wt(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Tt(e,t,n){var r=K.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Et(e,t,n){var r=K.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Dt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ot(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function kt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function At(e,t,n){var r=K.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function jt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Mt(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function Nt(e,t,n){var r=K.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Pt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ft(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function It(e,t,n){var r=K.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Lt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Rt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function zt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Bt(e,t,n){var r=K.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Vt(e,t,n){var r=K.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ht(e,t,n){var r=bt.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ut(e,t,n){var r=K.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Wt(e,t,n){var r=K.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Gt(e,t){return q(e.getDate(),t,2)}function Kt(e,t){return q(e.getHours(),t,2)}function qt(e,t){return q(e.getHours()%12||12,t,2)}function Jt(e,t){return q(1+B.count(W(e),e),t,3)}function Yt(e,t){return q(e.getMilliseconds(),t,3)}function Xt(e,t){return Yt(e,t)+`000`}function Zt(e,t){return q(e.getMonth()+1,t,2)}function Qt(e,t){return q(e.getMinutes(),t,2)}function $t(e,t){return q(e.getSeconds(),t,2)}function en(e){var t=e.getDay();return t===0?7:t}function tn(e,t){return q(Ye.count(W(e)-1,e),t,2)}function nn(e){var t=e.getDay();return t>=4||t===0?H(e):H.ceil(e)}function rn(e,t){return e=nn(e),q(H.count(W(e),e)+(W(e).getDay()===4),t,2)}function an(e){return e.getDay()}function on(e,t){return q(Xe.count(W(e)-1,e),t,2)}function sn(e,t){return q(e.getFullYear()%100,t,2)}function cn(e,t){return e=nn(e),q(e.getFullYear()%100,t,2)}function ln(e,t){return q(e.getFullYear()%1e4,t,4)}function un(e,t){var n=e.getDay();return e=n>=4||n===0?H(e):H.ceil(e),q(e.getFullYear()%1e4,t,4)}function dn(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+q(t/60|0,`0`,2)+q(t%60,`0`,2)}function fn(e,t){return q(e.getUTCDate(),t,2)}function pn(e,t){return q(e.getUTCHours(),t,2)}function mn(e,t){return q(e.getUTCHours()%12||12,t,2)}function hn(e,t){return q(1+qe.count(G(e),e),t,3)}function gn(e,t){return q(e.getUTCMilliseconds(),t,3)}function _n(e,t){return gn(e,t)+`000`}function vn(e,t){return q(e.getUTCMonth()+1,t,2)}function yn(e,t){return q(e.getUTCMinutes(),t,2)}function bn(e,t){return q(e.getUTCSeconds(),t,2)}function xn(e){var t=e.getUTCDay();return t===0?7:t}function Sn(e,t){return q(tt.count(G(e)-1,e),t,2)}function Cn(e){var t=e.getUTCDay();return t>=4||t===0?at(e):at.ceil(e)}function wn(e,t){return e=Cn(e),q(at.count(G(e),e)+(G(e).getUTCDay()===4),t,2)}function Tn(e){return e.getUTCDay()}function En(e,t){return q(nt.count(G(e)-1,e),t,2)}function Dn(e,t){return q(e.getUTCFullYear()%100,t,2)}function On(e,t){return e=Cn(e),q(e.getUTCFullYear()%100,t,2)}function kn(e,t){return q(e.getUTCFullYear()%1e4,t,4)}function An(e,t){var n=e.getUTCDay();return e=n>=4||n===0?at(e):at.ceil(e),q(e.getUTCFullYear()%1e4,t,4)}function jn(){return`+0000`}function Mn(){return`%`}function Nn(e){return+e}function Pn(e){return Math.floor(e/1e3)}var Fn,In;Ln({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 Ln(e){return Fn=vt(e),In=Fn.format,Fn.parse,Fn.utcFormat,Fn.utcParse,Fn}function Rn(e){return new Date(e)}function zn(e){return e instanceof Date?+e:+new Date(+e)}function Bn(e,t,n,r,i,a,o,s,c,l){var u=T(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,zn)):f().map(Rn)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(Ie(n,e)):u},u.copy=function(){return E(u,Bn(e,t,n,r,i,a,o,s,c,l))},u}function Vn(){return O.apply(Bn(pt,mt,W,ct,Ye,B,Ge,Ue,z,In).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Hn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isoWeek=r()})(e,(function(){return function(e,t,n){var r=function(e){return e.add(4-e.isoWeekday(),`day`)},i=t.prototype;i.isoWeekYear=function(){return r(this).year()},i.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),`day`);var t,i,a,o,s=r(this),c=(t=this.isoWeekYear(),i=this.$u,a=(i?n.utc:n)().year(t).startOf(`year`),o=4-a.isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,`day`));return s.diff(c,`week`)+1},i.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var a=i.startOf;i.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return n.p(e)===`isoweek`?r?this.date(this.date()-(this.isoWeekday()-1)).startOf(`day`):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf(`day`):a.bind(this)(e,t)}}}))})),Un=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={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`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),Wn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`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(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),Gn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_duration=r()})(e,(function(){var e,t,n=1e3,r=6e4,i=36e5,a=864e5,o=31536e6,s=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,l=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,u={years:o,months:s,days:a,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+`s`},m=function(e){return e<0},h=function(e){return m(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?m(e)?{negative:!0,format:``+g(e)+t}:{negative:!1,format:``+e+t}:{negative:!1,format:``}},v=function(){function m(e,t,n){var r=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if(typeof e==`number`)return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e==`object`)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if(typeof e==`string`){var i=e.match(c);if(i){var a=i.slice(2).map((function(e){return e==null?0:Number(e)}));return this.$d.years=a[0],this.$d.months=a[1],this.$d.weeks=a[2],this.$d.days=a[3],this.$d.hours=a[4],this.$d.minutes=a[5],this.$d.seconds=a[6],this.calMilliseconds(),this}}return this}var g=m.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=h(e/o),e%=o,this.$d.months=h(e/s),e%=s,this.$d.days=h(e/a),e%=a,this.$d.hours=h(e/i),e%=i,this.$d.minutes=h(e/r),e%=r,this.$d.seconds=h(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,`Y`),t=_(this.$d.months,`M`),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,`D`),i=_(this.$d.hours,`H`),a=_(this.$d.minutes,`M`),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var s=_(o,`S`),c=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,l=i.format||a.format||s.format?`T`:``,u=(c?`-`:``)+`P`+e.format+t.format+r.format+l+i.format+a.format+s.format;return u===`P`||u===`-P`?`P0D`:u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||`YYYY-MM-DDTHH:mm:ss`,r={Y:this.$d.years,YY:t.s(this.$d.years,2,`0`),YYYY:t.s(this.$d.years,4,`0`),M:this.$d.months,MM:t.s(this.$d.months,2,`0`),D:this.$d.days,DD:t.s(this.$d.days,2,`0`),H:this.$d.hours,HH:t.s(this.$d.hours,2,`0`),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,`0`),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,`0`),SSS:t.s(this.$d.milliseconds,3,`0`)};return n.replace(l,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return n===`milliseconds`?t%=1e3:t=n===`weeks`?h(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms;return f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,`ms`).locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get(`milliseconds`)},g.asMilliseconds=function(){return this.as(`milliseconds`)},g.seconds=function(){return this.get(`seconds`)},g.asSeconds=function(){return this.as(`seconds`)},g.minutes=function(){return this.get(`minutes`)},g.asMinutes=function(){return this.as(`minutes`)},g.hours=function(){return this.get(`hours`)},g.asHours=function(){return this.as(`hours`)},g.days=function(){return this.get(`days`)},g.asDays=function(){return this.as(`days`)},g.weeks=function(){return this.get(`weeks`)},g.asWeeks=function(){return this.as(`weeks`)},g.months=function(){return this.get(`months`)},g.asMonths=function(){return this.as(`months`)},g.years=function(){return this.get(`years`)},g.asYears=function(){return this.as(`years`)},m}(),y=function(e,t,n){return e.add(t.years()*n,`y`).add(t.months()*n,`M`).add(t.days()*n,`d`).add(t.hours()*n,`h`).add(t.minutes()*n,`m`).add(t.seconds()*n,`s`).add(t.milliseconds()*n,`ms`)};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return f(e,{$l:i.locale()},t)},i.isDuration=d;var a=r.prototype.add,o=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):a.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):o.bind(this)(e,t)}}}))})),Kn=k(),J=e(s(),1),qn=e(Hn(),1),Jn=e(Un(),1),Yn=e(Wn(),1),Xn=e(Gn(),1),Zn=(function(){var e=n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[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],r=[1,26],i=[1,27],a=[1,28],o=[1,29],s=[1,30],c=[1,31],l=[1,32],u=[1,33],d=[1,34],f=[1,9],p=[1,10],m=[1,11],h=[1,12],g=[1,13],_=[1,14],v=[1,15],y=[1,16],b=[1,19],x=[1,20],S=[1,21],C=[1,22],w=[1,23],T=[1,25],E=[1,35],D={trace:n(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:n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setWeekday(`monday`);break;case 9:r.setWeekday(`tuesday`);break;case 10:r.setWeekday(`wednesday`);break;case 11:r.setWeekday(`thursday`);break;case 12:r.setWeekday(`friday`);break;case 13:r.setWeekday(`saturday`);break;case 14:r.setWeekday(`sunday`);break;case 15:r.setWeekend(`friday`);break;case 16:r.setWeekend(`saturday`);break;case 17:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 18:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 19:r.TopAxis(),this.$=a[s].substr(8);break;case 20:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 21:r.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 22:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 23:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 24:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 27:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 28:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 31:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 33:r.addTask(a[s-1],a[s]),this.$=`task`;break;case 34:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 35:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 36:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 37:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 38:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 39:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 40:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 41:case 47:this.$=a[s-1]+` `+a[s];break;case 42:case 43:case 45:this.$=a[s-2]+` `+a[s-1]+` `+a[s];break;case 44:case 46:this.$=a[s-3]+` `+a[s-2]+` `+a[s-1]+` `+a[s]}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},e(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,7],{1:[2,1]}),e(t,[2,3]),{9:36,11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,5]),e(t,[2,6]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,20]),e(t,[2,21]),e(t,[2,22]),e(t,[2,23]),e(t,[2,24]),e(t,[2,25]),e(t,[2,26]),e(t,[2,27]),{32:[1,37]},{34:[1,38]},e(t,[2,30]),e(t,[2,31]),e(t,[2,32]),{39:[1,39]},e(t,[2,8]),e(t,[2,9]),e(t,[2,10]),e(t,[2,11]),e(t,[2,12]),e(t,[2,13]),e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),{41:[1,40],43:[1,41]},e(t,[2,4]),e(t,[2,28]),e(t,[2,29]),e(t,[2,33]),e(t,[2,34],{42:[1,42],43:[1,43]}),e(t,[2,40],{41:[1,44]}),e(t,[2,35],{43:[1,45]}),e(t,[2,36]),e(t,[2,38],{42:[1,46]}),e(t,[2,37]),e(t,[2,39])],defaultActions:{},parseError:n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n(x,`lex`);for(var S,C,w,T,E,D={},O,k,ee,A;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var te=``;for(O in A=[],s[w])this.terminals_[O]&&O>f&&A.push(`'`+this.terminals_[O]+`'`);te=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{i as e,t}from"./rolldown-runtime-Dd_uD5pT.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{a as r,c as i,d as a,f as o,g as s,i as c,m as l,p as u,s as d,u as f}from"./src-oBChb5qS.js";import{H as p,K as m,U as h,a as g,c as _,s as v,v as y,w as b,x,y as S}from"./chunk-DU6HZSFF-B4qcstD9.js";import{a as C,i as w,n as T,r as E,t as D}from"./linear-BUnzfXgk.js";import{t as O}from"./init-C-OQMol4.js";import{t as k}from"./dist-B_J_HbC0.js";import{g as ee}from"./chunk-75Z2AOVW-CXAakYxI.js";function A(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function te(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function ne(e){return e}var j=1,re=2,ie=3,ae=4,oe=1e-6;function se(e){return`translate(`+e+`,0)`}function ce(e){return`translate(0,`+e+`)`}function le(e){return t=>+e(t)}function ue(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function de(){return!this.__axis}function fe(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,l=e===j||e===ae?-1:1,u=e===ae||e===re?`x`:`y`,d=e===j||e===ie?se:ce;function f(f){var p=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):ne),h=Math.max(a,0)+s,g=t.range(),_=+g[0]+c,v=+g[g.length-1]+c,y=(t.bandwidth?ue:le)(t.copy(),c),b=f.selection?f.selection():f,x=b.selectAll(`.domain`).data([null]),S=b.selectAll(`.tick`).data(p,t).order(),C=S.exit(),w=S.enter().append(`g`).attr(`class`,`tick`),T=S.select(`line`),E=S.select(`text`);x=x.merge(x.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),S=S.merge(w),T=T.merge(w.append(`line`).attr(`stroke`,`currentColor`).attr(u+`2`,l*a)),E=E.merge(w.append(`text`).attr(`fill`,`currentColor`).attr(u,l*h).attr(`dy`,e===j?`0em`:e===ie?`0.71em`:`0.32em`)),f!==b&&(x=x.transition(f),S=S.transition(f),T=T.transition(f),E=E.transition(f),C=C.transition(f).attr(`opacity`,oe).attr(`transform`,function(e){return isFinite(e=y(e))?d(e+c):this.getAttribute(`transform`)}),w.attr(`opacity`,oe).attr(`transform`,function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+c)})),C.remove(),x.attr(`d`,e===ae||e===re?o?`M`+l*o+`,`+_+`H`+c+`V`+v+`H`+l*o:`M`+c+`,`+_+`V`+v:o?`M`+_+`,`+l*o+`V`+c+`H`+v+`V`+l*o:`M`+_+`,`+c+`H`+v),S.attr(`opacity`,1).attr(`transform`,function(e){return d(y(e)+c)}),T.attr(u+`2`,l*a),E.attr(u,l*h).text(m),b.filter(de).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===re?`start`:e===ae?`end`:`middle`),b.each(function(){this.__axis=y})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(c=+e,f):c},f}function pe(e){return fe(j,e)}function me(e){return fe(ie,e)}var he=Math.PI/180,ge=180/Math.PI,_e=18,ve=.96422,ye=1,be=.82521,xe=4/29,Se=6/29,Ce=3*Se*Se,we=Se*Se*Se;function Te(e){if(e instanceof M)return new M(e.l,e.a,e.b,e.opacity);if(e instanceof N)return Ne(e);e instanceof i||(e=f(e));var t=Ae(e.r),n=Ae(e.g),r=Ae(e.b),a=De((.2225045*t+.7168786*n+.0606169*r)/ye),o,s;return t===n&&n===r?o=s=a:(o=De((.4360747*t+.3850649*n+.1430804*r)/ve),s=De((.0139322*t+.0971045*n+.7141733*r)/be)),new M(116*a-16,500*(o-a),200*(a-s),e.opacity)}function Ee(e,t,n,r){return arguments.length===1?Te(e):new M(e,t,n,r??1)}function M(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}a(M,Ee,o(d,{brighter(e){return new M(this.l+_e*(e??1),this.a,this.b,this.opacity)},darker(e){return new M(this.l-_e*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=ve*Oe(t),e=ye*Oe(e),n=be*Oe(n),new i(ke(3.1338561*t-1.6168667*e-.4906146*n),ke(-.9787684*t+1.9161415*e+.033454*n),ke(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}}));function De(e){return e>we?e**(1/3):e/Ce+xe}function Oe(e){return e>Se?e*e*e:Ce*(e-xe)}function ke(e){return 255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)}function Ae(e){return(e/=255)<=.04045?e/12.92:((e+.055)/1.055)**2.4}function je(e){if(e instanceof N)return new N(e.h,e.c,e.l,e.opacity);if(e instanceof M||(e=Te(e)),e.a===0&&e.b===0)return new N(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*ge;return new N(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function Me(e,t,n,r){return arguments.length===1?je(e):new N(e,t,n,r??1)}function N(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function Ne(e){if(isNaN(e.h))return new M(e.l,0,0,e.opacity);var t=e.h*he;return new M(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}a(N,Me,o(d,{brighter(e){return new N(this.h,this.c,this.l+_e*(e??1),this.opacity)},darker(e){return new N(this.h,this.c,this.l-_e*(e??1),this.opacity)},rgb(){return Ne(this).rgb()}}));function Pe(e){return function(t,n){var i=e((t=Me(t)).h,(n=Me(n)).h),a=r(t.c,n.c),o=r(t.l,n.l),s=r(t.opacity,n.opacity);return function(e){return t.h=i(e),t.c=a(e),t.l=o(e),t.opacity=s(e),t+``}}}var Fe=Pe(c);function Ie(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}var Le=new Date,Re=new Date;function P(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>P(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e){if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}}),n&&(i.count=(t,r)=>(Le.setTime(+t),Re.setTime(+r),e(Le),e(Re),Math.floor(n(Le,Re))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var ze=P(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);ze.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?P(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):ze),ze.range;var F=1e3,I=F*60,L=I*60,R=L*24,Be=R*7,Ve=R*30,He=R*365,z=P(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*F)},(e,t)=>(t-e)/F,e=>e.getUTCSeconds());z.range;var Ue=P(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*F)},(e,t)=>{e.setTime(+e+t*I)},(e,t)=>(t-e)/I,e=>e.getMinutes());Ue.range;var We=P(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*I)},(e,t)=>(t-e)/I,e=>e.getUTCMinutes());We.range;var Ge=P(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*F-e.getMinutes()*I)},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getHours());Ge.range;var Ke=P(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getUTCHours());Ke.range;var B=P(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*I)/R,e=>e.getDate()-1);B.range;var qe=P(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/R,e=>e.getUTCDate()-1);qe.range;var Je=P(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/R,e=>Math.floor(e/R));Je.range;function V(e){return P(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*I)/Be)}var Ye=V(0),Xe=V(1),Ze=V(2),Qe=V(3),H=V(4),$e=V(5),et=V(6);Ye.range,Xe.range,Ze.range,Qe.range,H.range,$e.range,et.range;function U(e){return P(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/Be)}var tt=U(0),nt=U(1),rt=U(2),it=U(3),at=U(4),ot=U(5),st=U(6);tt.range,nt.range,rt.range,it.range,at.range,ot.range,st.range;var ct=P(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ct.range;var lt=P(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());lt.range;var W=P(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());W.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:P(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),W.range;var G=P(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());G.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:P(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),G.range;function ut(e,t,n,r,i,a){let o=[[z,1,F],[z,5,5*F],[z,15,15*F],[z,30,30*F],[a,1,I],[a,5,5*I],[a,15,15*I],[a,30,30*I],[i,1,L],[i,3,3*L],[i,6,6*L],[i,12,12*L],[r,1,R],[r,2,2*R],[n,1,Be],[t,1,Ve],[t,3,3*Ve],[e,1,He]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=C(([,,e])=>e).right(o,i);if(a===o.length)return e.every(w(t/He,n/He,r));if(a===0)return ze.every(Math.max(w(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[dt,ft]=ut(G,lt,tt,Je,Ke,We),[pt,mt]=ut(W,ct,Ye,B,Ge,Ue);function ht(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function gt(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function _t(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function vt(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=Ct(i),u=wt(i),d=Ct(a),f=wt(a),p=Ct(o),m=wt(o),h=Ct(s),g=wt(s),_=Ct(c),v=wt(c),y={a:ne,A:j,b:re,B:ie,c:null,d:Gt,e:Gt,f:Xt,g:cn,G:un,H:Kt,I:qt,j:Jt,L:Yt,m:Zt,M:Qt,p:ae,q:oe,Q:Nn,s:Pn,S:$t,u:en,U:tn,V:rn,w:an,W:on,x:null,X:null,y:sn,Y:ln,Z:dn,"%":Mn},b={a:se,A:ce,b:le,B:ue,c:null,d:fn,e:fn,f:_n,g:On,G:An,H:pn,I:mn,j:hn,L:gn,m:vn,M:yn,p:de,q:fe,Q:Nn,s:Pn,S:bn,u:xn,U:Sn,V:wn,w:Tn,W:En,x:null,X:null,y:Dn,Y:kn,Z:jn,"%":Mn},x={a:E,A:D,b:O,B:k,c:ee,d:Ft,e:Ft,f:Vt,g:jt,G:At,H:Lt,I:Lt,j:It,L:Bt,m:Pt,M:Rt,p:T,q:Nt,Q:Ut,s:Wt,S:zt,u:Et,U:Dt,V:Ot,w:Tt,W:kt,x:A,X:te,y:jt,Y:At,Z:Mt,"%":Ht};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=yt[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=_t(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=gt(_t(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?nt.ceil(a):nt(a),a=qe.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=ht(_t(r.y,0,1)),o=a.getDay(),a=o>4||o===0?Xe.ceil(a):Xe(a),a=B.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else(`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?gt(_t(r.y,0,1)).getUTCDay():ht(_t(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,gt(r)):ht(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in yt?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function ee(e,n,r){return w(e,t,n,r)}function A(e,t,r){return w(e,n,t,r)}function te(e,t,n){return w(e,r,t,n)}function ne(e){return o[e.getDay()]}function j(e){return a[e.getDay()]}function re(e){return c[e.getMonth()]}function ie(e){return s[e.getMonth()]}function ae(e){return i[+(e.getHours()>=12)]}function oe(e){return 1+~~(e.getMonth()/3)}function se(e){return o[e.getUTCDay()]}function ce(e){return a[e.getUTCDay()]}function le(e){return c[e.getUTCMonth()]}function ue(e){return s[e.getUTCMonth()]}function de(e){return i[+(e.getUTCHours()>=12)]}function fe(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var yt={"-":``,_:` `,0:`0`},K=/^\s*\d+/,bt=/^%/,xt=/[\\^$*+?|[\]().{}]/g;function q(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function St(e){return e.replace(xt,`\\$&`)}function Ct(e){return RegExp(`^(?:`+e.map(St).join(`|`)+`)`,`i`)}function wt(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Tt(e,t,n){var r=K.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Et(e,t,n){var r=K.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Dt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ot(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function kt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function At(e,t,n){var r=K.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function jt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Mt(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function Nt(e,t,n){var r=K.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Pt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ft(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function It(e,t,n){var r=K.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Lt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Rt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function zt(e,t,n){var r=K.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Bt(e,t,n){var r=K.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Vt(e,t,n){var r=K.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ht(e,t,n){var r=bt.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ut(e,t,n){var r=K.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Wt(e,t,n){var r=K.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Gt(e,t){return q(e.getDate(),t,2)}function Kt(e,t){return q(e.getHours(),t,2)}function qt(e,t){return q(e.getHours()%12||12,t,2)}function Jt(e,t){return q(1+B.count(W(e),e),t,3)}function Yt(e,t){return q(e.getMilliseconds(),t,3)}function Xt(e,t){return Yt(e,t)+`000`}function Zt(e,t){return q(e.getMonth()+1,t,2)}function Qt(e,t){return q(e.getMinutes(),t,2)}function $t(e,t){return q(e.getSeconds(),t,2)}function en(e){var t=e.getDay();return t===0?7:t}function tn(e,t){return q(Ye.count(W(e)-1,e),t,2)}function nn(e){var t=e.getDay();return t>=4||t===0?H(e):H.ceil(e)}function rn(e,t){return e=nn(e),q(H.count(W(e),e)+(W(e).getDay()===4),t,2)}function an(e){return e.getDay()}function on(e,t){return q(Xe.count(W(e)-1,e),t,2)}function sn(e,t){return q(e.getFullYear()%100,t,2)}function cn(e,t){return e=nn(e),q(e.getFullYear()%100,t,2)}function ln(e,t){return q(e.getFullYear()%1e4,t,4)}function un(e,t){var n=e.getDay();return e=n>=4||n===0?H(e):H.ceil(e),q(e.getFullYear()%1e4,t,4)}function dn(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+q(t/60|0,`0`,2)+q(t%60,`0`,2)}function fn(e,t){return q(e.getUTCDate(),t,2)}function pn(e,t){return q(e.getUTCHours(),t,2)}function mn(e,t){return q(e.getUTCHours()%12||12,t,2)}function hn(e,t){return q(1+qe.count(G(e),e),t,3)}function gn(e,t){return q(e.getUTCMilliseconds(),t,3)}function _n(e,t){return gn(e,t)+`000`}function vn(e,t){return q(e.getUTCMonth()+1,t,2)}function yn(e,t){return q(e.getUTCMinutes(),t,2)}function bn(e,t){return q(e.getUTCSeconds(),t,2)}function xn(e){var t=e.getUTCDay();return t===0?7:t}function Sn(e,t){return q(tt.count(G(e)-1,e),t,2)}function Cn(e){var t=e.getUTCDay();return t>=4||t===0?at(e):at.ceil(e)}function wn(e,t){return e=Cn(e),q(at.count(G(e),e)+(G(e).getUTCDay()===4),t,2)}function Tn(e){return e.getUTCDay()}function En(e,t){return q(nt.count(G(e)-1,e),t,2)}function Dn(e,t){return q(e.getUTCFullYear()%100,t,2)}function On(e,t){return e=Cn(e),q(e.getUTCFullYear()%100,t,2)}function kn(e,t){return q(e.getUTCFullYear()%1e4,t,4)}function An(e,t){var n=e.getUTCDay();return e=n>=4||n===0?at(e):at.ceil(e),q(e.getUTCFullYear()%1e4,t,4)}function jn(){return`+0000`}function Mn(){return`%`}function Nn(e){return+e}function Pn(e){return Math.floor(e/1e3)}var Fn,In;Ln({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 Ln(e){return Fn=vt(e),In=Fn.format,Fn.parse,Fn.utcFormat,Fn.utcParse,Fn}function Rn(e){return new Date(e)}function zn(e){return e instanceof Date?+e:+new Date(+e)}function Bn(e,t,n,r,i,a,o,s,c,l){var u=T(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,zn)):f().map(Rn)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(Ie(n,e)):u},u.copy=function(){return E(u,Bn(e,t,n,r,i,a,o,s,c,l))},u}function Vn(){return O.apply(Bn(pt,mt,W,ct,Ye,B,Ge,Ue,z,In).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Hn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isoWeek=r()})(e,(function(){return function(e,t,n){var r=function(e){return e.add(4-e.isoWeekday(),`day`)},i=t.prototype;i.isoWeekYear=function(){return r(this).year()},i.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),`day`);var t,i,a,o,s=r(this),c=(t=this.isoWeekYear(),i=this.$u,a=(i?n.utc:n)().year(t).startOf(`year`),o=4-a.isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,`day`));return s.diff(c,`week`)+1},i.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var a=i.startOf;i.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return n.p(e)===`isoweek`?r?this.date(this.date()-(this.isoWeekday()-1)).startOf(`day`):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf(`day`):a.bind(this)(e,t)}}}))})),Un=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={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`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),Wn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`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(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),Gn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_duration=r()})(e,(function(){var e,t,n=1e3,r=6e4,i=36e5,a=864e5,o=31536e6,s=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,l=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,u={years:o,months:s,days:a,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+`s`},m=function(e){return e<0},h=function(e){return m(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?m(e)?{negative:!0,format:``+g(e)+t}:{negative:!1,format:``+e+t}:{negative:!1,format:``}},v=function(){function m(e,t,n){var r=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if(typeof e==`number`)return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e==`object`)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if(typeof e==`string`){var i=e.match(c);if(i){var a=i.slice(2).map((function(e){return e==null?0:Number(e)}));return this.$d.years=a[0],this.$d.months=a[1],this.$d.weeks=a[2],this.$d.days=a[3],this.$d.hours=a[4],this.$d.minutes=a[5],this.$d.seconds=a[6],this.calMilliseconds(),this}}return this}var g=m.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=h(e/o),e%=o,this.$d.months=h(e/s),e%=s,this.$d.days=h(e/a),e%=a,this.$d.hours=h(e/i),e%=i,this.$d.minutes=h(e/r),e%=r,this.$d.seconds=h(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,`Y`),t=_(this.$d.months,`M`),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,`D`),i=_(this.$d.hours,`H`),a=_(this.$d.minutes,`M`),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var s=_(o,`S`),c=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,l=i.format||a.format||s.format?`T`:``,u=(c?`-`:``)+`P`+e.format+t.format+r.format+l+i.format+a.format+s.format;return u===`P`||u===`-P`?`P0D`:u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||`YYYY-MM-DDTHH:mm:ss`,r={Y:this.$d.years,YY:t.s(this.$d.years,2,`0`),YYYY:t.s(this.$d.years,4,`0`),M:this.$d.months,MM:t.s(this.$d.months,2,`0`),D:this.$d.days,DD:t.s(this.$d.days,2,`0`),H:this.$d.hours,HH:t.s(this.$d.hours,2,`0`),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,`0`),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,`0`),SSS:t.s(this.$d.milliseconds,3,`0`)};return n.replace(l,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return n===`milliseconds`?t%=1e3:t=n===`weeks`?h(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms;return f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,`ms`).locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get(`milliseconds`)},g.asMilliseconds=function(){return this.as(`milliseconds`)},g.seconds=function(){return this.get(`seconds`)},g.asSeconds=function(){return this.as(`seconds`)},g.minutes=function(){return this.get(`minutes`)},g.asMinutes=function(){return this.as(`minutes`)},g.hours=function(){return this.get(`hours`)},g.asHours=function(){return this.as(`hours`)},g.days=function(){return this.get(`days`)},g.asDays=function(){return this.as(`days`)},g.weeks=function(){return this.get(`weeks`)},g.asWeeks=function(){return this.as(`weeks`)},g.months=function(){return this.get(`months`)},g.asMonths=function(){return this.as(`months`)},g.years=function(){return this.get(`years`)},g.asYears=function(){return this.as(`years`)},m}(),y=function(e,t,n){return e.add(t.years()*n,`y`).add(t.months()*n,`M`).add(t.days()*n,`d`).add(t.hours()*n,`h`).add(t.minutes()*n,`m`).add(t.seconds()*n,`s`).add(t.milliseconds()*n,`ms`)};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return f(e,{$l:i.locale()},t)},i.isDuration=d;var a=r.prototype.add,o=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):a.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):o.bind(this)(e,t)}}}))})),Kn=k(),J=e(s(),1),qn=e(Hn(),1),Jn=e(Un(),1),Yn=e(Wn(),1),Xn=e(Gn(),1),Zn=(function(){var e=n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[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],r=[1,26],i=[1,27],a=[1,28],o=[1,29],s=[1,30],c=[1,31],l=[1,32],u=[1,33],d=[1,34],f=[1,9],p=[1,10],m=[1,11],h=[1,12],g=[1,13],_=[1,14],v=[1,15],y=[1,16],b=[1,19],x=[1,20],S=[1,21],C=[1,22],w=[1,23],T=[1,25],E=[1,35],D={trace:n(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:n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setWeekday(`monday`);break;case 9:r.setWeekday(`tuesday`);break;case 10:r.setWeekday(`wednesday`);break;case 11:r.setWeekday(`thursday`);break;case 12:r.setWeekday(`friday`);break;case 13:r.setWeekday(`saturday`);break;case 14:r.setWeekday(`sunday`);break;case 15:r.setWeekend(`friday`);break;case 16:r.setWeekend(`saturday`);break;case 17:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 18:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 19:r.TopAxis(),this.$=a[s].substr(8);break;case 20:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 21:r.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 22:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 23:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 24:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 27:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 28:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 31:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 33:r.addTask(a[s-1],a[s]),this.$=`task`;break;case 34:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 35:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 36:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 37:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 38:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 39:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 40:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 41:case 47:this.$=a[s-1]+` `+a[s];break;case 42:case 43:case 45:this.$=a[s-2]+` `+a[s-1]+` `+a[s];break;case 44:case 46:this.$=a[s-3]+` `+a[s-2]+` `+a[s-1]+` `+a[s]}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},e(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,7],{1:[2,1]}),e(t,[2,3]),{9:36,11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,5]),e(t,[2,6]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,20]),e(t,[2,21]),e(t,[2,22]),e(t,[2,23]),e(t,[2,24]),e(t,[2,25]),e(t,[2,26]),e(t,[2,27]),{32:[1,37]},{34:[1,38]},e(t,[2,30]),e(t,[2,31]),e(t,[2,32]),{39:[1,39]},e(t,[2,8]),e(t,[2,9]),e(t,[2,10]),e(t,[2,11]),e(t,[2,12]),e(t,[2,13]),e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),{41:[1,40],43:[1,41]},e(t,[2,4]),e(t,[2,28]),e(t,[2,29]),e(t,[2,33]),e(t,[2,34],{42:[1,42],43:[1,43]}),e(t,[2,40],{41:[1,44]}),e(t,[2,35],{43:[1,45]}),e(t,[2,36]),e(t,[2,38],{42:[1,46]}),e(t,[2,37]),e(t,[2,39])],defaultActions:{},parseError:n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n(x,`lex`);for(var S,C,w,T,E,D={},O,k,ee,A;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var te=``;for(O in A=[],s[w])this.terminals_[O]&&O>f&&A.push(`'`+this.terminals_[O]+`'`);te=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+A.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(te,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:A})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),ee=s[r[r.length-2]][r[r.length-1]],r.push(ee);break;case 3:return!0}}return!0},`parse`)};D.lexer=(function(){return{EOF:1,parseError:n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:n(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:n(function(){return this._more=!0,this},`more`),reject:n(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:n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -290,4 +290,4 @@ Expecting `+A.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
290
290
  font-family: ${e.fontFamily};
291
291
  }
292
292
  `,`getStyles`)};export{_i as diagram};
293
- //# sourceMappingURL=ganttDiagram-EL5Y4UJY-G_L0ijf2.js.map
293
+ //# sourceMappingURL=ganttDiagram-EL5Y4UJY-CAMkT1YN.js.map