@hiai-gg/docsmint 2.1.0 → 2.1.1

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 (302) hide show
  1. package/README.md +7 -3
  2. package/dist/backend/index.js +49330 -66661
  3. package/dist/backend-account-runtime-cleanup.js +291 -291
  4. package/dist/backend-api-key-facade.js +4 -4
  5. package/dist/backend-pipeline-cancellation.js +285 -285
  6. package/dist/frontend/CategoryDialog-CVJi5PJu.js +602 -0
  7. package/dist/frontend/{ConfirmDialog-B1MjKlVQ.js → ConfirmDialog-0JwB8mKN.js} +5 -8
  8. package/dist/frontend/{CreateSnapshotDialog-BTMoPFdj.js → CreateSnapshotDialog-BLrtuYs5.js} +63 -68
  9. package/dist/frontend/{DatePicker-Bmjko3X7.js → DatePicker-BwSb8TRv.js} +17 -29
  10. package/dist/frontend/{DeleteDialog-BkfIeKXO.js → DeleteDialog-s7Dr6bXg.js} +51 -56
  11. package/dist/frontend/{FolderNode-Do8pIfyA.js → FolderNode-Y7cV9xeX.js} +105 -106
  12. package/dist/frontend/{FolderTreeSelector-FyxhcHjr.js → FolderTreeSelector-BR3lYmPU.js} +18 -20
  13. package/dist/frontend/HiAiEditor-BQERr-cd.js +3077 -0
  14. package/dist/frontend/{HiaiDocsExtensionProvider-Cc3yzW5I.js → HiaiDocsExtensionProvider-A2nGddUR.js} +2 -3
  15. package/dist/frontend/{Icon-3EYzvNyk.js → Icon-CiHcxcpv.js} +1 -2
  16. package/dist/frontend/SettingsDialog-BvS74JZu.js +978 -0
  17. package/dist/frontend/{ShareDialog-Ddvl7xvb.js → ShareDialog-Bo50h_Oe.js} +23 -25
  18. package/dist/frontend/Sidebar-i0kbanpg.js +2123 -0
  19. package/dist/frontend/{TagCreateDialog-DQmMJe_E.js → TagCreateDialog-DhKfsfv3.js} +78 -86
  20. package/dist/frontend/action_cancel-BdsWzQKU.js +4 -0
  21. package/dist/frontend/action_close-CVhfLPRQ.js +4 -0
  22. package/dist/frontend/action_create-ByaroO1_.js +4 -0
  23. package/dist/frontend/action_delete-SRloglWY.js +4 -0
  24. package/dist/frontend/action_go_to-DO1bicF-.js +4 -0
  25. package/dist/frontend/action_loading-iQ0KsN6i.js +4 -0
  26. package/dist/frontend/action_save-DeqrZQwV.js +4 -0
  27. package/dist/frontend/api/attachments.js +1 -2
  28. package/dist/frontend/api/categories.js +1 -2
  29. package/dist/frontend/api/documents.js +1 -2
  30. package/dist/frontend/api/folders.js +1 -2
  31. package/dist/frontend/api/settings.js +1 -2
  32. package/dist/frontend/api/share.js +1 -2
  33. package/dist/frontend/api/tags.js +1 -2
  34. package/dist/frontend/{api-keys-DIwAdYkg.js → api-keys-B63imiLr.js} +2 -3
  35. package/dist/frontend/app-shell.js +55 -79
  36. package/dist/frontend/{attachments-C225gTA7.js → attachments-Bfly-sam.js} +2 -3
  37. package/dist/frontend/{auth-client-C5EyWdAF.js → auth-client-Dx7d9Tzo.js} +252 -253
  38. package/dist/frontend/{bundle-mjs-CZ3g1Uzr.js → bundle-mjs-clTO1WW-.js} +5 -23
  39. package/dist/frontend/{camera-DtgHzfVI.js → camera-DsdOPOcD.js} +2 -3
  40. package/dist/frontend/{categories-C8AAkhCR.js → categories-CusvHb5Y.js} +3 -4
  41. package/dist/frontend/{categories_update_error-4aSI8PTr.js → categories_update_error-Cn8DBBHv.js} +2 -3
  42. package/dist/frontend/{check-DVx65aSv.js → check-DiMZRkKS.js} +2 -3
  43. package/dist/frontend/{chevron-down-C2tbZ8Ol.js → chevron-down-CxFrMFDJ.js} +2 -3
  44. package/dist/frontend/{circle-check-BAN-D7yg.js → circle-check-B4F_qgPx.js} +2 -3
  45. package/dist/frontend/{client-GbtOH90i.js → client-BDdDd84W.js} +1 -2
  46. package/dist/frontend/{clipboard-Cgzxc0_R.js → clipboard-Dt1oW6nm.js} +1 -2
  47. package/dist/frontend/{clock-ByiB0SwQ.js → clock-dcpueRk-.js} +2 -3
  48. package/dist/frontend/collaboration.js +6 -12
  49. package/dist/frontend/components/category-dialog.js +1 -2
  50. package/dist/frontend/components/create-snapshot-dialog.js +1 -2
  51. package/dist/frontend/components/delete-dialog.js +1 -2
  52. package/dist/frontend/components/editor/compact-editor.js +2 -3
  53. package/dist/frontend/components/editor/document-editor.js +1 -2
  54. package/dist/frontend/components/editor/document-title.js +3 -4
  55. package/dist/frontend/components/editor/docx-serializer.js +123 -167
  56. package/dist/frontend/components/editor/extensions.js +1 -2
  57. package/dist/frontend/components/editor/markdown-toggle.js +5 -6
  58. package/dist/frontend/components/editor/markdown.js +1 -2
  59. package/dist/frontend/components/folder-node.js +1 -2
  60. package/dist/frontend/components/folder-tree-selector.js +1 -2
  61. package/dist/frontend/components/save-as-dialog.js +86 -90
  62. package/dist/frontend/components/settings.js +1 -2
  63. package/dist/frontend/components/share-dialog.js +1 -2
  64. package/dist/frontend/components/sidebar.js +1 -2
  65. package/dist/frontend/components/tag-create-dialog.js +1 -2
  66. package/dist/frontend/components/version-history.js +177 -180
  67. package/dist/frontend/{context-D0zPFXZ4.js → context-BguSRnCt.js} +1 -2
  68. package/dist/frontend/{copy-CRzvfZGb.js → copy-Bag46YaR.js} +2 -3
  69. package/dist/frontend/dashboard.js +666 -690
  70. package/dist/frontend/{db-CgTtukT4.js → db-B1ZV452J.js} +22 -39
  71. package/dist/frontend/{dialog-a_ZcpEC5.js → dialog-C0Bpok1d.js} +10 -18
  72. package/dist/frontend/{dist-CcHOStsA.js → dist-BlcV_BOY.js} +2 -3
  73. package/dist/frontend/{dist-qd_OnyUC.js → dist-DjId3RKL.js} +8 -21
  74. package/dist/frontend/dist-Dl9qg10h.js +301 -0
  75. package/dist/frontend/{dndzone-CDhrbpTg.js → dndzone-C62yjeG3.js} +38 -53
  76. package/dist/frontend/doc-tabs.js +1 -2
  77. package/dist/frontend/doc_title_label-BOuZzvqv.js +4 -0
  78. package/dist/frontend/doc_title_placeholder-ZxpdWWEn.js +4 -0
  79. package/dist/frontend/{document-drop-coordinator-Da7HcXgv.js → document-drop-coordinator-C_o93kKW.js} +3 -4
  80. package/dist/frontend/document-drop-coordinator.js +1 -2
  81. package/dist/frontend/{documents-CwCs1rA7.js → documents-CDJb8dv-.js} +4 -8
  82. package/dist/frontend/{dropdown-menu-DrHYReIC.js → dropdown-menu-B3nk2aM-.js} +13 -24
  83. package/dist/frontend/{editor-content-sanitizer-CWjqiz0T.js → editor-content-sanitizer-5MjSVPVn.js} +1 -2
  84. package/dist/frontend/editor-preferences.js +1 -2
  85. package/dist/frontend/{editor-preferences.svelte-Bt_A9k7n.js → editor-preferences.svelte-BpTE4mbz.js} +3 -5
  86. package/dist/frontend/{editorExtensions-DPR-CjMu.js → editorExtensions-DbiFj4tn.js} +3 -4
  87. package/dist/frontend/{editor_markdown_placeholder-BIWDUF1E.js → editor_markdown_placeholder-BztIY9Ci.js} +2 -3
  88. package/dist/frontend/{ellipsis-vertical-qxNgoXu-.js → ellipsis-vertical-Oymsv1R4.js} +2 -3
  89. package/dist/frontend/{error_dismiss-Dx_JbRjs.js → error_dismiss-C651ZdWI.js} +2 -3
  90. package/dist/frontend/error_generic-BlWqOE-a.js +4 -0
  91. package/dist/frontend/extension.js +1 -2
  92. package/dist/frontend/{folder-D74E-Kdp.js → folder-BpmB_sAy.js} +3 -5
  93. package/dist/frontend/folder-refresh.js +1 -2
  94. package/dist/frontend/{folders-CC0UWkZH.js → folders-DgKSovXa.js} +2 -3
  95. package/dist/frontend/{folders_rename-BJo4Gipq.js → folders_rename-Cxbg5GIw.js} +2 -3
  96. package/dist/frontend/frontend.css +1 -1
  97. package/dist/frontend/i18n.js +144 -145
  98. package/dist/frontend/{identity-CNhtuCJV.js → identity-B7HeOzDJ.js} +4 -5
  99. package/dist/frontend/{input-Q_7qCfnU.js → input-CbeB9220.js} +2 -3
  100. package/dist/frontend/keyboard.js +1 -2
  101. package/dist/frontend/{keyboard.svelte-CApmX0vl.js → keyboard.svelte-BBUdhTsM.js} +2 -3
  102. package/dist/frontend/{label-Dj8FDEhf.js → label-CfBWf3gI.js} +2 -3
  103. package/dist/frontend/{lib-aUbBbIW2.js → lib-CITdCbKa.js} +176 -365
  104. package/dist/frontend/{loader-circle-D3t5NkvC.js → loader-circle-skKwfRCB.js} +2 -3
  105. package/dist/frontend/markdown-6E9TWC6V.js +11 -0
  106. package/dist/frontend/offline/identity.js +1 -2
  107. package/dist/frontend/{popper-layer-force-mount-CNtiLgbV.js → popper-layer-force-mount-BG0eyrCk.js} +112 -284
  108. package/dist/frontend/{resolve-BG4HgzpN.js → resolve-DbT-KhGZ.js} +2 -3
  109. package/dist/frontend/{rolldown-runtime-DArdT4gl.js → rolldown-runtime-CwxnZyOB.js} +2 -3
  110. package/dist/frontend/{rotate-ccw-B1ybQ8oQ.js → rotate-ccw-DAUX7np7.js} +2 -3
  111. package/dist/frontend/{route-context-DYQlUfzL.js → route-context-6OHiGtfb.js} +2 -4
  112. package/dist/frontend/{runtime-CwWSo6c9.js → runtime-CGUiMzK6.js} +1 -2
  113. package/dist/frontend/{schemas-1Na35n71.js → schemas-YXxhj5o8.js} +850 -880
  114. package/dist/frontend/scroll_to_top_aria-lJc2RSx_.js +4 -0
  115. package/dist/frontend/{search-preferences-B1GdbdUc.js → search-preferences-DuLDczRu.js} +1 -2
  116. package/dist/frontend/search.js +277 -292
  117. package/dist/frontend/{search_title-DOC0cPlQ.js → search_title-BETwQYJq.js} +2 -3
  118. package/dist/frontend/{select-value-BkI1W1bn.js → select-value-BY5Hw6Rl.js} +28 -65
  119. package/dist/frontend/{settings-CHx4wBwb.js → settings-DyePuqjp.js} +3 -4
  120. package/dist/frontend/{share-D5yo0JOh.js → share-3gWTTYvH.js} +2 -3
  121. package/dist/frontend/{share-context-BJ4GF4yT.js → share-context-C2xyVP9M.js} +29 -37
  122. package/dist/frontend/{share_copied-DPxVzfWh.js → share_copied-BuAnmpbz.js} +2 -3
  123. package/dist/frontend/{share_toggle_password-DdxfIjj1.js → share_toggle_password-LEYUeHWr.js} +2 -3
  124. package/dist/frontend/shared-document.js +27 -36
  125. package/dist/frontend/{sidebar_uncategorized-qJ2_Aonf.js → sidebar_uncategorized-C5PGOflV.js} +2 -3
  126. package/dist/frontend/{sort_relevance-DwYX5MO9.js → sort_relevance-DpCVLby_.js} +2 -3
  127. package/dist/frontend/{subfolders-refresh-store.svelte-DxP21a1c.js → subfolders-refresh-store.svelte-CeyqvNpu.js} +1 -2
  128. package/dist/frontend/{tag-qbTBLj-g.js → tag-Wdfe0rKU.js} +3 -5
  129. package/dist/frontend/{tag-store.svelte-ogVCMCbv.js → tag-store.svelte-C9VYWqLQ.js} +2 -3
  130. package/dist/frontend/{tags-CF_cqzSV.js → tags-DlDVothf.js} +3 -4
  131. package/dist/frontend/{tags_load_error-BKjA1pI0.js → tags_load_error-BINNpPPV.js} +2 -3
  132. package/dist/frontend/{tags_new-BiNAJ9Bx.js → tags_new-Dw0Uy43-.js} +2 -3
  133. package/dist/frontend/{textarea-BNK0LFUK.js → textarea-D6emvAwM.js} +2 -3
  134. package/dist/frontend/theme.js +2 -3
  135. package/dist/frontend/{theme.svelte-BRdxXd-B.js → theme.svelte-BiXvrqwh.js} +7 -23
  136. package/dist/frontend/{theme_system-BBNUhYKh.js → theme_system-YIfa_2Xt.js} +2 -3
  137. package/dist/frontend/utils/clipboard.js +1 -2
  138. package/dist/frontend/utils/dndzone.js +1 -2
  139. package/dist/frontend/{utils-BovMJHdA.js → utils-CnAmIMwr.js} +2 -3
  140. package/dist/frontend/utils-DH0uqK40.js +6 -0
  141. package/dist/frontend/utils.js +1 -2
  142. package/dist/frontend/version_create_snapshot-D8xjbuCq.js +4 -0
  143. package/dist/frontend/{version_restored_from-dVRN3Zdk.js → version_restored_from-DYFFSuQj.js} +2 -3
  144. package/dist/frontend/{version_snapshot_label_placeholder-DrMikux0.js → version_snapshot_label_placeholder-BhKq1NQ7.js} +2 -3
  145. package/dist/frontend/{weekday_we-C5H_M-df.js → weekday_we-BxbzNVWR.js} +2 -3
  146. package/dist/frontend/{x-CvSSnrjl.js → x-CBUgPygC.js} +2 -3
  147. package/dist/frontend/{yjs-VUcKqaKW.js → yjs-BbwnvxgY.js} +9 -23
  148. package/dist/frontend-ssr/api/attachments.js +2 -3
  149. package/dist/frontend-ssr/api/categories.js +1 -2
  150. package/dist/frontend-ssr/api/documents.js +1 -2
  151. package/dist/frontend-ssr/api/folders.js +1 -2
  152. package/dist/frontend-ssr/api/settings.js +1 -2
  153. package/dist/frontend-ssr/api/share.js +2 -3
  154. package/dist/frontend-ssr/api/tags.js +1 -2
  155. package/dist/frontend-ssr/app-shell.js +19 -28
  156. package/dist/frontend-ssr/assets/{CategoryDialog-DuZLLlt7.js → CategoryDialog-2CCX508O.js} +17 -20
  157. package/dist/frontend-ssr/assets/{ConfirmDialog-0WVu9BCE.js → ConfirmDialog-Cc6lcY1N.js} +8 -14
  158. package/dist/frontend-ssr/assets/{CreateSnapshotDialog-3vhDTFNu.js → CreateSnapshotDialog-BB8fXF9W.js} +9 -10
  159. package/dist/frontend-ssr/assets/{DatePicker-t12leL2Y.js → DatePicker-CfzKzipR.js} +9 -15
  160. package/dist/frontend-ssr/assets/{DeleteDialog-B0AU1fJR.js → DeleteDialog-DRU4UgOW.js} +4 -5
  161. package/dist/frontend-ssr/assets/{FolderNode-C-B-s8x1.js → FolderNode-Dg_5-orQ.js} +11 -12
  162. package/dist/frontend-ssr/assets/{FolderTreeSelector-DdQuEcj0.js → FolderTreeSelector-D0reTdFS.js} +5 -7
  163. package/dist/frontend-ssr/assets/{HiAiEditor-Cj3B2Dt6.js → HiAiEditor-DeHWAIj-.js} +44 -69
  164. package/dist/frontend-ssr/assets/{HiaiDocsExtensionProvider-BRKWmcDd.js → HiaiDocsExtensionProvider-D6cGL-9s.js} +2 -3
  165. package/dist/frontend-ssr/assets/{Icon-DE_3EnuF.js → Icon-CrIRbT5O.js} +4 -8
  166. package/dist/frontend-ssr/assets/{SettingsDialog-DAT-Zxu0.js → SettingsDialog-BpHY3IMb.js} +29 -40
  167. package/dist/frontend-ssr/assets/{ShareDialog-CpE9zd_f.js → ShareDialog-CY40nWZJ.js} +7 -9
  168. package/dist/frontend-ssr/assets/{Sidebar-B_Ey6QNL.js → Sidebar-fpYk5MGO.js} +55 -63
  169. package/dist/frontend-ssr/assets/{TagCreateDialog-DBHO1DPU.js → TagCreateDialog-C2tpdEuj.js} +13 -14
  170. package/dist/frontend-ssr/assets/{action_cancel-OVgQDP5Q.js → action_cancel-CsBbxW0m.js} +2 -3
  171. package/dist/frontend-ssr/assets/{action_close-DagDyMXk.js → action_close-lFKBqBwg.js} +2 -3
  172. package/dist/frontend-ssr/assets/{action_create-hqJWjyqh.js → action_create-BV4ZOcQW.js} +2 -3
  173. package/dist/frontend-ssr/assets/{action_delete-B1-16jSo.js → action_delete-CNmRhKQP.js} +2 -3
  174. package/dist/frontend-ssr/assets/{action_go_to-DQScgw7P.js → action_go_to-tN5I26xM.js} +2 -3
  175. package/dist/frontend-ssr/assets/{action_save-Bx7vlLZI.js → action_save-YCfMiKb4.js} +2 -3
  176. package/dist/frontend-ssr/assets/{api-keys-CHOrbU-Q.js → api-keys-G6oimJIv.js} +2 -3
  177. package/dist/frontend-ssr/assets/{auth-client-CITU3xkE.js → auth-client-BnnnJDAb.js} +102 -71
  178. package/dist/frontend-ssr/assets/{camera-B6ldo_Js.js → camera-OYNSMvMd.js} +2 -3
  179. package/dist/frontend-ssr/assets/{categories-C_dxFoHi.js → categories-bBPviKjl.js} +2 -3
  180. package/dist/frontend-ssr/assets/{categories_update_error-DkKgsqdD.js → categories_update_error-Bfx5vtvt.js} +11 -21
  181. package/dist/frontend-ssr/assets/{chevron-down-DQcr6JUc.js → chevron-down-DB6YsSbQ.js} +2 -3
  182. package/dist/frontend-ssr/assets/{chevron-right-9szrliZx.js → chevron-right-DOt2uY6b.js} +2 -3
  183. package/dist/frontend-ssr/assets/{circle-check-BgP9MRRv.js → circle-check-DQhTm9YR.js} +2 -3
  184. package/dist/frontend-ssr/assets/{client-rfwQYYHY.js → client-B2AniXwV.js} +1 -2
  185. package/dist/frontend-ssr/assets/{clipboard-CXOaoz2W.js → clipboard-CXKnyYba.js} +1 -2
  186. package/dist/frontend-ssr/assets/{clock-roNtGlT6.js → clock-B08dVWtf.js} +2 -3
  187. package/dist/frontend-ssr/assets/{context-Bi_mO-NS.js → context-C_xxvxnR.js} +1 -2
  188. package/dist/frontend-ssr/assets/{copy-BYqYnBIQ.js → copy-2jsznHar.js} +2 -3
  189. package/dist/frontend-ssr/assets/{db-DxRzq-kx.js → db-BEKLU5Fc.js} +2 -3
  190. package/dist/frontend-ssr/assets/{dialog-SqCnTT43.js → dialog-C6U-DqLr.js} +9 -17
  191. package/dist/frontend-ssr/assets/{dist-CaZQ1FhA.js → dist-DqXTz_zE.js} +9 -12
  192. package/dist/frontend-ssr/assets/{dist-CqxHwOlp.js → dist-ip9bPdma.js} +3 -6
  193. package/dist/frontend-ssr/assets/{dndzone-CnTCMhPd.js → dndzone-Dx3jt_e4.js} +4 -6
  194. package/dist/frontend-ssr/assets/{doc_title_label-Ev_ltlh3.js → doc_title_label-CE_l-Gum.js} +2 -3
  195. package/dist/frontend-ssr/assets/{doc_title_placeholder-DSHpUb7w.js → doc_title_placeholder-7_i7PtG6.js} +2 -3
  196. package/dist/frontend-ssr/assets/{document-drop-coordinator-CEaYACsC.js → document-drop-coordinator-BVytYy2K.js} +1 -2
  197. package/dist/frontend-ssr/assets/{documents-CEuA1V6N.js → documents-B_wpQFTh.js} +2 -3
  198. package/dist/frontend-ssr/assets/{dropdown-menu-CE6U0f1b.js → dropdown-menu-BS5fcN9l.js} +12 -23
  199. package/dist/frontend-ssr/assets/{editor-content-sanitizer-Gjm93iR-.js → editor-content-sanitizer-CIdFjBSC.js} +1 -2
  200. package/dist/frontend-ssr/assets/{editor-preferences.svelte-iI5jJM1x.js → editor-preferences.svelte-CdAXTd-I.js} +2 -4
  201. package/dist/frontend-ssr/assets/{editorExtensions-rhletNji.js → editorExtensions-2O7O2Nhv.js} +2 -3
  202. package/dist/frontend-ssr/assets/{editor_markdown_placeholder-BpezdkOr.js → editor_markdown_placeholder-CAeLJjFT.js} +3 -5
  203. package/dist/frontend-ssr/assets/{editor_toolbar_undo-CKJAOqv2.js → editor_toolbar_undo-CVCfQIS1.js} +29 -57
  204. package/dist/frontend-ssr/assets/{ellipsis-vertical-Cg1MrZsl.js → ellipsis-vertical-IFHt2NM1.js} +2 -3
  205. package/dist/frontend-ssr/assets/{error_generic-DTK0kwxT.js → error_generic-BB80i0Vk.js} +3 -5
  206. package/dist/frontend-ssr/assets/{folder-DHB-CEcQ.js → folder-CXa1_bm5.js} +2 -3
  207. package/dist/frontend-ssr/assets/{folders-BOXeb9hz.js → folders-CTLqWbMm.js} +2 -3
  208. package/dist/frontend-ssr/assets/{folders_rename-DvciOb6K.js → folders_rename-ydbfwQlj.js} +7 -13
  209. package/dist/frontend-ssr/assets/{identity-B7ngLQzZ.js → identity-DTz1SQwC.js} +2 -3
  210. package/dist/frontend-ssr/assets/{input-DVrBVPgs.js → input-Bxw9sFF0.js} +2 -3
  211. package/dist/frontend-ssr/assets/{keyboard.svelte-BgF47N3L.js → keyboard.svelte-njehUCm3.js} +1 -2
  212. package/dist/frontend-ssr/assets/{label-vtCK3pTp.js → label-CMWedjs6.js} +2 -3
  213. package/dist/frontend-ssr/assets/{loader-circle-D3NWhCif.js → loader-circle-zbKj9Qb-.js} +2 -3
  214. package/dist/frontend-ssr/assets/{markdown-Co31-Tl2.js → markdown-BmIhDQp7.js} +2 -3
  215. package/dist/frontend-ssr/assets/{popper-layer-force-mount-C4dMMt-f.js → popper-layer-force-mount-CSHZsG2E.js} +78 -156
  216. package/dist/frontend-ssr/assets/{resolve-BqHozBXl.js → resolve-Wqdff4CL.js} +1 -2
  217. package/dist/frontend-ssr/assets/{rotate-ccw-DNf3nwMD.js → rotate-ccw-B7SaTFWf.js} +2 -3
  218. package/dist/frontend-ssr/assets/{route-context-BPRerEtZ.js → route-context-BsqLFt5Y.js} +2 -4
  219. package/dist/frontend-ssr/assets/{runtime-O78RzRqx.js → runtime-BX6-jTn_.js} +1 -2
  220. package/dist/frontend-ssr/assets/{scroll_to_top_aria-BN4ZfOnM.js → scroll_to_top_aria-CAYSiGHO.js} +2 -3
  221. package/dist/frontend-ssr/assets/{search_title-CKUsQDT0.js → search_title-C7NVXXq3.js} +2 -3
  222. package/dist/frontend-ssr/assets/{search_toggle_filters-hS9rvQhC.js → search_toggle_filters-Bq_YVD8s.js} +15 -29
  223. package/dist/frontend-ssr/assets/{select-value-Ce5c_fuA.js → select-value-TgslfiUB.js} +18 -34
  224. package/dist/frontend-ssr/assets/{settings-BRxvn30Y.js → settings-B1MA_FjO.js} +3 -4
  225. package/dist/frontend-ssr/assets/{share-context-B4UpvTSw.js → share-context-RVh8AExX.js} +17 -22
  226. package/dist/frontend-ssr/assets/{share_copied-BxU9rjXG.js → share_copied-CrwEwkb3.js} +31 -61
  227. package/dist/frontend-ssr/assets/{share_toggle_password-C6OmroqR.js → share_toggle_password-Co56z0Ha.js} +11 -21
  228. package/dist/frontend-ssr/assets/{sidebar_uncategorized-Dx-LTd5w.js → sidebar_uncategorized-COWdmZ3d.js} +6 -11
  229. package/dist/frontend-ssr/assets/{subfolders-refresh-store.svelte-CXHxQWKh.js → subfolders-refresh-store.svelte-LxG18U0n.js} +1 -2
  230. package/dist/frontend-ssr/assets/{tag-Cqv0fWVG.js → tag-BGhtDKpP.js} +3 -5
  231. package/dist/frontend-ssr/assets/{tag-store.svelte-QRysvGKe.js → tag-store.svelte-CUUgAaDD.js} +2 -3
  232. package/dist/frontend-ssr/assets/{tags-BBCoFYro.js → tags-C7u-LBsl.js} +2 -3
  233. package/dist/frontend-ssr/assets/{tags_load_error-CPrc6Gzs.js → tags_load_error-DW4FbHvr.js} +19 -37
  234. package/dist/frontend-ssr/assets/{tags_new-VmMr9v2V.js → tags_new-Dr3ByMPZ.js} +4 -7
  235. package/dist/frontend-ssr/assets/{textarea-BdjOJJVb.js → textarea-Bz5Tz4rw.js} +2 -3
  236. package/dist/frontend-ssr/assets/{theme.svelte-D6bbaJ9m.js → theme.svelte-CdHah46l.js} +3 -5
  237. package/dist/frontend-ssr/assets/{theme_system-BucaNntV.js → theme_system-E97FASeq.js} +19 -37
  238. package/dist/frontend-ssr/assets/{utils-DvZnctjz.js → utils-085zSPe5.js} +1 -2
  239. package/dist/frontend-ssr/assets/{utils-D3X7I8nz.js → utils-DF6CmRDX.js} +1 -2
  240. package/dist/frontend-ssr/assets/{version_create_snapshot-COHzwjle.js → version_create_snapshot-DeeYB7bb.js} +2 -3
  241. package/dist/frontend-ssr/assets/{version_restored_from-CertjFDl.js → version_restored_from-CTt2LM4A.js} +13 -25
  242. package/dist/frontend-ssr/assets/{version_snapshot_label_placeholder-Cy_rMCij.js → version_snapshot_label_placeholder-BbGD9YuN.js} +12 -23
  243. package/dist/frontend-ssr/assets/{weekday_we-DrI3U230.js → weekday_we-BzGQ-iFc.js} +22 -43
  244. package/dist/frontend-ssr/collaboration.js +2 -4
  245. package/dist/frontend-ssr/components/category-dialog.js +1 -2
  246. package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -2
  247. package/dist/frontend-ssr/components/delete-dialog.js +1 -2
  248. package/dist/frontend-ssr/components/editor/compact-editor.js +2 -3
  249. package/dist/frontend-ssr/components/editor/document-editor.js +1 -2
  250. package/dist/frontend-ssr/components/editor/document-title.js +3 -4
  251. package/dist/frontend-ssr/components/editor/docx-serializer.js +1 -2
  252. package/dist/frontend-ssr/components/editor/extensions.js +1 -2
  253. package/dist/frontend-ssr/components/editor/markdown-toggle.js +4 -5
  254. package/dist/frontend-ssr/components/editor/markdown.js +1 -2
  255. package/dist/frontend-ssr/components/folder-node.js +1 -2
  256. package/dist/frontend-ssr/components/folder-tree-selector.js +1 -2
  257. package/dist/frontend-ssr/components/save-as-dialog.js +12 -13
  258. package/dist/frontend-ssr/components/settings.js +1 -2
  259. package/dist/frontend-ssr/components/share-dialog.js +1 -2
  260. package/dist/frontend-ssr/components/sidebar.js +1 -2
  261. package/dist/frontend-ssr/components/tag-create-dialog.js +1 -2
  262. package/dist/frontend-ssr/components/version-history.js +18 -21
  263. package/dist/frontend-ssr/dashboard.js +64 -88
  264. package/dist/frontend-ssr/doc-tabs.js +1 -2
  265. package/dist/frontend-ssr/document-drop-coordinator.js +1 -2
  266. package/dist/frontend-ssr/editor-preferences.js +1 -2
  267. package/dist/frontend-ssr/extension.js +1 -2
  268. package/dist/frontend-ssr/folder-refresh.js +1 -2
  269. package/dist/frontend-ssr/i18n.js +315 -603
  270. package/dist/frontend-ssr/keyboard.js +1 -2
  271. package/dist/frontend-ssr/offline/identity.js +1 -2
  272. package/dist/frontend-ssr/search.js +17 -20
  273. package/dist/frontend-ssr/shared-document.js +5 -8
  274. package/dist/frontend-ssr/theme.js +2 -3
  275. package/dist/frontend-ssr/utils/clipboard.js +1 -2
  276. package/dist/frontend-ssr/utils/dndzone.js +1 -2
  277. package/dist/frontend-ssr/utils.js +1 -2
  278. package/dist/lifecycle-runtime.js +3996 -17873
  279. package/dist/mcp-cli.js +64 -64
  280. package/dist/mcp-server.js +68 -68
  281. package/package.json +4 -4
  282. package/packages/cli/src/index.ts +1 -1
  283. package/server.json +2 -2
  284. package/dist/frontend/CategoryDialog-CJeAYxcd.js +0 -630
  285. package/dist/frontend/HiAiEditor-D6ad_auS.js +0 -3129
  286. package/dist/frontend/SettingsDialog-B8Oswuqb.js +0 -991
  287. package/dist/frontend/Sidebar-BV0IDqTS.js +0 -2149
  288. package/dist/frontend/action_cancel-Cuxsznzz.js +0 -5
  289. package/dist/frontend/action_close-BJm_52wm.js +0 -5
  290. package/dist/frontend/action_create-CtBQrRuj.js +0 -5
  291. package/dist/frontend/action_delete-BXBIzvn0.js +0 -5
  292. package/dist/frontend/action_go_to-VmK5jmEk.js +0 -5
  293. package/dist/frontend/action_loading-BLCGJVA9.js +0 -5
  294. package/dist/frontend/action_save-BRN2Z_GP.js +0 -5
  295. package/dist/frontend/dist-DcHl92QO.js +0 -316
  296. package/dist/frontend/doc_title_label-DS9jSIh2.js +0 -5
  297. package/dist/frontend/doc_title_placeholder-DBQpM1aH.js +0 -5
  298. package/dist/frontend/error_generic-CzNtmBT4.js +0 -5
  299. package/dist/frontend/markdown-O9YJA70S.js +0 -12
  300. package/dist/frontend/scroll_to_top_aria-CvkNF_Hu.js +0 -5
  301. package/dist/frontend/utils-BlHvR6OL.js +0 -7
  302. package/dist/frontend/version_create_snapshot-3bu-0qzH.js +0 -5
@@ -4,7 +4,7 @@ import { clsx } from "clsx";
4
4
  import { on } from "svelte/events";
5
5
  import { SvelteMap, createSubscriber } from "svelte/reactivity";
6
6
  import { createAttachmentKey } from "svelte/attachments";
7
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/is.js
7
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/is.js
8
8
  function isFunction$1(value) {
9
9
  return typeof value === "function";
10
10
  }
@@ -27,8 +27,7 @@ function isClassValue(value) {
27
27
  }
28
28
  return false;
29
29
  }
30
- //#endregion
31
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/box/box-extras.svelte.js
30
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/box/box-extras.svelte.js
32
31
  var BoxSymbol = Symbol("box");
33
32
  var isWritableSymbol = Symbol("is-writable");
34
33
  function boxWith(getter, setter) {
@@ -129,8 +128,7 @@ function simpleBox(initialValue) {
129
128
  }
130
129
  };
131
130
  }
132
- //#endregion
133
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/box/box.svelte.js
131
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/box/box.svelte.js
134
132
  function box(initialValue) {
135
133
  let current = initialValue;
136
134
  return {
@@ -150,8 +148,7 @@ box.flatten = boxFlatten;
150
148
  box.readonly = toReadonlyBox;
151
149
  box.isBox = isBox;
152
150
  box.isWritableBox = isWritableBox;
153
- //#endregion
154
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/compose-handlers.js
151
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/compose-handlers.js
155
152
  /**
156
153
  * Composes event handlers into a single function that can be called with an event.
157
154
  * If the previous handler cancels the event using `event.preventDefault()`, the handlers
@@ -167,8 +164,7 @@ function composeHandlers(...handlers) {
167
164
  }
168
165
  };
169
166
  }
170
- //#endregion
171
- //#region ../node_modules/.bun/inline-style-parser@0.2.7/node_modules/inline-style-parser/esm/index.mjs
167
+ // ../node_modules/.bun/inline-style-parser@0.2.7/node_modules/inline-style-parser/esm/index.mjs
172
168
  var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
173
169
  var NEWLINE_REGEX = /\n/g;
174
170
  var WHITESPACE_REGEX = /^\s*/;
@@ -365,8 +361,7 @@ function index(style, options) {
365
361
  function trim(str) {
366
362
  return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;
367
363
  }
368
- //#endregion
369
- //#region ../node_modules/.bun/style-to-object@1.0.14/node_modules/style-to-object/esm/index.mjs
364
+ // ../node_modules/.bun/style-to-object@1.0.14/node_modules/style-to-object/esm/index.mjs
370
365
  /**
371
366
  * Parses inline style to object.
372
367
  *
@@ -397,8 +392,7 @@ function StyleToObject(style, iterator) {
397
392
  });
398
393
  return styleObject;
399
394
  }
400
- //#endregion
401
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/strings.js
395
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/strings.js
402
396
  var NUMBER_CHAR_RE = /\d/;
403
397
  var STR_SPLITTERS = [
404
398
  "-",
@@ -459,8 +453,7 @@ function upperFirst(str) {
459
453
  function lowerFirst(str) {
460
454
  return str ? str[0].toLowerCase() + str.slice(1) : "";
461
455
  }
462
- //#endregion
463
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/css-to-style-obj.js
456
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/css-to-style-obj.js
464
457
  function cssToStyleObj(css) {
465
458
  if (!css) return {};
466
459
  const styleObj = {};
@@ -478,8 +471,7 @@ function cssToStyleObj(css) {
478
471
  StyleToObject(css, iterator);
479
472
  return styleObj;
480
473
  }
481
- //#endregion
482
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/execute-callbacks.js
474
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/execute-callbacks.js
483
475
  /**
484
476
  * Executes an array of callback functions with the same arguments.
485
477
  * @template T The types of the arguments that the callback functions take.
@@ -491,8 +483,7 @@ function executeCallbacks(...callbacks) {
491
483
  for (const callback of callbacks) if (typeof callback === "function") callback(...args);
492
484
  };
493
485
  }
494
- //#endregion
495
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/style-to-css.js
486
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/style-to-css.js
496
487
  function createParser(matcher, replacer) {
497
488
  const regex = RegExp(matcher, "g");
498
489
  return (str) => {
@@ -506,8 +497,7 @@ function styleToCSS(styleObj) {
506
497
  if (!styleObj || typeof styleObj !== "object" || Array.isArray(styleObj)) throw new TypeError(`expected an argument of type object, but got ${typeof styleObj}`);
507
498
  return Object.keys(styleObj).map((property) => `${camelToKebab(property)}: ${styleObj[property]};`).join("\n");
508
499
  }
509
- //#endregion
510
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/style.js
500
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/style.js
511
501
  function styleToString(style = {}) {
512
502
  return styleToCSS(style).replace("\n", " ");
513
503
  }
@@ -616,8 +606,7 @@ var EVENT_LIST_SET = /* @__PURE__ */ new Set([
616
606
  "onwebkittransitionend",
617
607
  "onwheel"
618
608
  ]);
619
- //#endregion
620
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/merge-props.js
609
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/merge-props.js
621
610
  /**
622
611
  * Modified from https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/utils/src/mergeProps.ts (see NOTICE.txt for source)
623
612
  */
@@ -700,11 +689,9 @@ function mergeProps(...args) {
700
689
  }
701
690
  return result;
702
691
  }
703
- //#endregion
704
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/internal/configurable-globals.js
692
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/internal/configurable-globals.js
705
693
  var defaultWindow = void 0;
706
- //#endregion
707
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/internal/utils/dom.js
694
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/internal/utils/dom.js
708
695
  /**
709
696
  * Handles getting the active element in a document or shadow root.
710
697
  * If the active element is within a shadow root, it will traverse the shadow root
@@ -723,8 +710,7 @@ function getActiveElement$1(document) {
723
710
  }
724
711
  return activeElement;
725
712
  }
726
- //#endregion
727
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/utilities/active-element/active-element.svelte.js
713
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/utilities/active-element/active-element.svelte.js
728
714
  var ActiveElement = class {
729
715
  #document;
730
716
  #subscribe;
@@ -748,13 +734,11 @@ var ActiveElement = class {
748
734
  }
749
735
  };
750
736
  new ActiveElement();
751
- //#endregion
752
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/internal/utils/is.js
737
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/internal/utils/is.js
753
738
  function isFunction(value) {
754
739
  return typeof value === "function";
755
740
  }
756
- //#endregion
757
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/utilities/context/context.js
741
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/utilities/context/context.js
758
742
  var Context = class {
759
743
  #name;
760
744
  #key;
@@ -815,8 +799,7 @@ var Context = class {
815
799
  return setContext(this.#key, context);
816
800
  }
817
801
  };
818
- //#endregion
819
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/utilities/watch/watch.svelte.js
802
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/utilities/watch/watch.svelte.js
820
803
  function runWatcher(sources, flush, effect, options = {}) {
821
804
  const { lazy = false } = options;
822
805
  }
@@ -830,14 +813,12 @@ watch.pre = watchPre;
830
813
  function watchOnce(source, effect) {}
831
814
  function watchOncePre(source, effect) {}
832
815
  watchOnce.pre = watchOncePre;
833
- //#endregion
834
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/internal/utils/get.js
816
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/internal/utils/get.js
835
817
  function get$1(value) {
836
818
  if (isFunction(value)) return value();
837
819
  return value;
838
820
  }
839
- //#endregion
840
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/utilities/element-size/element-size.svelte.js
821
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/utilities/element-size/element-size.svelte.js
841
822
  var ElementSize = class {
842
823
  #size = {
843
824
  width: 0,
@@ -919,8 +900,7 @@ var ElementSize = class {
919
900
  return this.#height();
920
901
  }
921
902
  };
922
- //#endregion
923
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/utilities/previous/previous.svelte.js
903
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/utilities/previous/previous.svelte.js
924
904
  var Previous = class {
925
905
  #previousCallback = () => void 0;
926
906
  #previous = $.derived(() => this.#previousCallback());
@@ -939,8 +919,7 @@ var Previous = class {
939
919
  return this.#previous();
940
920
  }
941
921
  };
942
- //#endregion
943
- //#region ../node_modules/.bun/runed@0.35.1+977910912442fc76/node_modules/runed/dist/utilities/resource/resource.svelte.js
922
+ // ../node_modules/.bun/runed@0.35.1+049bff67fe79e627/node_modules/runed/dist/utilities/resource/resource.svelte.js
944
923
  function debounce$1(fn, delay) {
945
924
  let timeoutId;
946
925
  let lastResolve = null;
@@ -1051,24 +1030,20 @@ function resourcePre(source, fetcher, options) {
1051
1030
  });
1052
1031
  }
1053
1032
  resource.pre = resourcePre;
1054
- //#endregion
1055
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/on-destroy-effect.svelte.js
1033
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/on-destroy-effect.svelte.js
1056
1034
  function onDestroyEffect(fn) {}
1057
- //#endregion
1058
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/after-sleep.js
1035
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/after-sleep.js
1059
1036
  /**
1060
1037
  * A utility function that executes a callback after a specified number of milliseconds.
1061
1038
  */
1062
1039
  function afterSleep(ms, cb) {
1063
1040
  return setTimeout(cb, ms);
1064
1041
  }
1065
- //#endregion
1066
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/after-tick.js
1042
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/after-tick.js
1067
1043
  function afterTick(fn) {
1068
1044
  tick().then(fn);
1069
1045
  }
1070
- //#endregion
1071
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/dom.js
1046
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/dom.js
1072
1047
  var ELEMENT_NODE = 1;
1073
1048
  var DOCUMENT_NODE = 9;
1074
1049
  var DOCUMENT_FRAGMENT_NODE = 11;
@@ -1122,8 +1097,7 @@ function getActiveElement(rootNode) {
1122
1097
  }
1123
1098
  return activeElement;
1124
1099
  }
1125
- //#endregion
1126
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/dom-context.svelte.js
1100
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/dom-context.svelte.js
1127
1101
  var DOMContext = class {
1128
1102
  element;
1129
1103
  #root = $.derived(() => {
@@ -1170,8 +1144,7 @@ var DOMContext = class {
1170
1144
  return this.getWindow().clearTimeout(timeoutId);
1171
1145
  };
1172
1146
  };
1173
- //#endregion
1174
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/attach-ref.js
1147
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/attach-ref.js
1175
1148
  /**
1176
1149
  * Creates a Svelte Attachment that attaches a DOM element to a ref.
1177
1150
  * The ref can be either a WritableBox or a callback function.
@@ -1213,8 +1186,7 @@ function attachRef(ref, onChange) {
1213
1186
  };
1214
1187
  } };
1215
1188
  }
1216
- //#endregion
1217
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/attrs.js
1189
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/attrs.js
1218
1190
  function boolToStr(condition) {
1219
1191
  return condition ? "true" : "false";
1220
1192
  }
@@ -1272,8 +1244,7 @@ var META = "Meta";
1272
1244
  var PAGE_DOWN = "PageDown";
1273
1245
  var PAGE_UP = "PageUp";
1274
1246
  var SHIFT = "Shift";
1275
- //#endregion
1276
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/locale.js
1247
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/locale.js
1277
1248
  /**
1278
1249
  * Detects the text direction in the element.
1279
1250
  * @returns {Direction} The text direction ('ltr' for left-to-right or 'rtl' for right-to-left).
@@ -1281,8 +1252,7 @@ var SHIFT = "Shift";
1281
1252
  function getElemDirection(elem) {
1282
1253
  return window.getComputedStyle(elem).getPropertyValue("direction");
1283
1254
  }
1284
- //#endregion
1285
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/get-directional-keys.js
1255
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/get-directional-keys.js
1286
1256
  var FIRST_KEYS$1 = [
1287
1257
  ARROW_DOWN,
1288
1258
  PAGE_UP,
@@ -1324,8 +1294,7 @@ function getDirectionalKeys(dir = "ltr", orientation = "horizontal") {
1324
1294
  prevKey: getPrevKey(dir, orientation)
1325
1295
  };
1326
1296
  }
1327
- //#endregion
1328
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/is.js
1297
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/is.js
1329
1298
  var isBrowser = typeof document !== "undefined";
1330
1299
  var isIOS = getIsIOS();
1331
1300
  function getIsIOS() {
@@ -1350,8 +1319,7 @@ function isNotNull(value) {
1350
1319
  function isSelectableInput(element) {
1351
1320
  return element instanceof HTMLInputElement && "select" in element;
1352
1321
  }
1353
- //#endregion
1354
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/roving-focus-group.js
1322
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/roving-focus-group.js
1355
1323
  var RovingFocusGroup = class {
1356
1324
  #opts;
1357
1325
  #currentTabStopId = box(null);
@@ -1418,8 +1386,7 @@ var RovingFocusGroup = class {
1418
1386
  currentTabStop.focus();
1419
1387
  }
1420
1388
  };
1421
- //#endregion
1422
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/animations-complete.js
1389
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/animations-complete.js
1423
1390
  var AnimationsComplete = class {
1424
1391
  #opts;
1425
1392
  #currentFrame = null;
@@ -1506,8 +1473,7 @@ var AnimationsComplete = class {
1506
1473
  else execute();
1507
1474
  }
1508
1475
  };
1509
- //#endregion
1510
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/presence-manager.svelte.js
1476
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/presence-manager.svelte.js
1511
1477
  var PresenceManager = class {
1512
1478
  #opts;
1513
1479
  #enabled;
@@ -1569,20 +1535,17 @@ var PresenceManager = class {
1569
1535
  this.#transitionFrame = null;
1570
1536
  }
1571
1537
  };
1572
- //#endregion
1573
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/noop.js
1538
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/noop.js
1574
1539
  /**
1575
1540
  * A no operation function (does nothing)
1576
1541
  */
1577
1542
  function noop() {}
1578
- //#endregion
1579
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/create-id.js
1543
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/create-id.js
1580
1544
  function createId(prefixOrUid, uid) {
1581
1545
  if (uid === void 0) return `bits-${prefixOrUid}`;
1582
1546
  return `bits-${prefixOrUid}-${uid}`;
1583
1547
  }
1584
- //#endregion
1585
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/events.js
1548
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/events.js
1586
1549
  /**
1587
1550
  * Creates a typed event dispatcher and listener pair for custom events
1588
1551
  * @template T - The type of data that will be passed in the event detail
@@ -1617,8 +1580,7 @@ var CustomEventDispatcher = class {
1617
1580
  return on(element, this.eventName, handler, options);
1618
1581
  }
1619
1582
  };
1620
- //#endregion
1621
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/debounce.js
1583
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/debounce.js
1622
1584
  function debounce(fn, wait = 500) {
1623
1585
  let timeout = null;
1624
1586
  const debounced = (...args) => {
@@ -1635,16 +1597,14 @@ function debounce(fn, wait = 500) {
1635
1597
  };
1636
1598
  return debounced;
1637
1599
  }
1638
- //#endregion
1639
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/elements.js
1600
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/elements.js
1640
1601
  function isOrContainsTarget(node, target) {
1641
1602
  return node === target || node.contains(target);
1642
1603
  }
1643
1604
  function getOwnerDocument(el) {
1644
1605
  return el?.ownerDocument ?? document;
1645
1606
  }
1646
- //#endregion
1647
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/dom.js
1607
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/dom.js
1648
1608
  /**
1649
1609
  * Determines if the click event truly occurred outside the content node.
1650
1610
  * This was added to handle password managers and other elements that may be injected
@@ -1655,8 +1615,7 @@ function isClickTrulyOutside(event, contentNode) {
1655
1615
  const rect = contentNode.getBoundingClientRect();
1656
1616
  return clientX < rect.left || clientX > rect.right || clientY < rect.top || clientY > rect.bottom;
1657
1617
  }
1658
- //#endregion
1659
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/menu/utils.js
1618
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/menu/utils.js
1660
1619
  var SELECTION_KEYS = [ENTER, " "];
1661
1620
  var FIRST_KEYS = [
1662
1621
  ARROW_DOWN,
@@ -1673,8 +1632,7 @@ var FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS];
1673
1632
  function isMouseEvent(event) {
1674
1633
  return event.pointerType === "mouse";
1675
1634
  }
1676
- //#endregion
1677
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/focus.js
1635
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/focus.js
1678
1636
  /**
1679
1637
  * A utility function that focuses an element.
1680
1638
  */
@@ -1697,8 +1655,7 @@ function focusFirst(candidates, { select = false } = {}, getActiveElement) {
1697
1655
  if (getActiveElement() !== previouslyFocusedElement) return true;
1698
1656
  }
1699
1657
  }
1700
- //#endregion
1701
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.js
1658
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.js
1702
1659
  var isUsingKeyboard = false;
1703
1660
  var IsUsingKeyboard = class {
1704
1661
  static _refs = 0;
@@ -1711,8 +1668,7 @@ var IsUsingKeyboard = class {
1711
1668
  isUsingKeyboard = value;
1712
1669
  }
1713
1670
  };
1714
- //#endregion
1715
- //#region ../node_modules/.bun/tabbable@6.4.0/node_modules/tabbable/dist/index.esm.js
1671
+ // ../node_modules/.bun/tabbable@6.4.0/node_modules/tabbable/dist/index.esm.js
1716
1672
  /*!
1717
1673
  * tabbable 6.4.0
1718
1674
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -2055,8 +2011,7 @@ var isFocusable = function isFocusable(node, options) {
2055
2011
  if (matches.call(node, focusableCandidateSelector) === false) return false;
2056
2012
  return isNodeMatchingSelectorFocusable(options, node);
2057
2013
  };
2058
- //#endregion
2059
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/tabbable.js
2014
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/tabbable.js
2060
2015
  function getTabbableOptions() {
2061
2016
  return {
2062
2017
  getShadowRoot: true,
@@ -2086,8 +2041,7 @@ function getTabbableFromFocusable(currentNode, direction) {
2086
2041
  if (activeIndex === -1) return doc.body;
2087
2042
  return allFocusable.slice(activeIndex + 1).find((node) => isTabbable(node, getTabbableOptions())) ?? doc.body;
2088
2043
  }
2089
- //#endregion
2090
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/arrays.js
2044
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/arrays.js
2091
2045
  /**
2092
2046
  * Returns the array element after the given index, or undefined for out-of-bounds or empty arrays.
2093
2047
  * @param array the array.
@@ -2219,8 +2173,7 @@ function getNextMatch(values, search, currentMatch) {
2219
2173
  function wrapArray(array, startIndex) {
2220
2174
  return array.map((_, index) => array[(startIndex + index) % array.length]);
2221
2175
  }
2222
- //#endregion
2223
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.js
2176
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.js
2224
2177
  var defaultOptions = {
2225
2178
  afterMs: 1e4,
2226
2179
  onChange: noop
@@ -2245,8 +2198,7 @@ function boxAutoReset(defaultValue, options) {
2245
2198
  timeout = resetAfter();
2246
2199
  });
2247
2200
  }
2248
- //#endregion
2249
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.js
2201
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.js
2250
2202
  var DOMTypeahead = class {
2251
2203
  #opts;
2252
2204
  #search;
@@ -2284,8 +2236,7 @@ var DOMTypeahead = class {
2284
2236
  return this.#search.current;
2285
2237
  }
2286
2238
  };
2287
- //#endregion
2288
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/menu/menu.svelte.js
2239
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/menu/menu.svelte.js
2289
2240
  var CONTEXT_MENU_TRIGGER_ATTR = "data-context-menu-trigger";
2290
2241
  var CONTEXT_MENU_CONTENT_ATTR = "data-context-menu-content";
2291
2242
  var MenuRootContext = new Context("Menu.Root");
@@ -3304,8 +3255,7 @@ var MenuSubmenuState = class {
3304
3255
  return MenuMenuContext.set(new MenuMenuState(opts, menu.root, menu));
3305
3256
  }
3306
3257
  };
3307
- //#endregion
3308
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/dismissible-layer/use-dismissable-layer.svelte.js
3258
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/dismissible-layer/use-dismissable-layer.svelte.js
3309
3259
  globalThis.bitsDismissableLayers ??= /* @__PURE__ */ new Map();
3310
3260
  var DismissibleLayerState = class DismissibleLayerState {
3311
3261
  static create(opts) {
@@ -3486,8 +3436,7 @@ function createWrappedEvent(e) {
3486
3436
  return e[prop];
3487
3437
  } });
3488
3438
  }
3489
- //#endregion
3490
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/dismissible-layer/dismissible-layer.svelte
3439
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/dismissible-layer/dismissible-layer.svelte
3491
3440
  function Dismissible_layer($$renderer, $$props) {
3492
3441
  $$renderer.component(($$renderer) => {
3493
3442
  let { interactOutsideBehavior = "close", onInteractOutside = noop, onFocusOutside = noop, id, children, enabled, isValidEvent = () => false, ref } = $$props;
@@ -3504,8 +3453,7 @@ function Dismissible_layer($$renderer, $$props) {
3504
3453
  $$renderer.push(`<!---->`);
3505
3454
  });
3506
3455
  }
3507
- //#endregion
3508
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/escape-layer/use-escape-layer.svelte.js
3456
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/escape-layer/use-escape-layer.svelte.js
3509
3457
  globalThis.bitsEscapeLayers ??= /* @__PURE__ */ new Map();
3510
3458
  var EscapeLayerState = class EscapeLayerState {
3511
3459
  static create(opts) {
@@ -3553,8 +3501,7 @@ function isResponsibleEscapeLayer(instance) {
3553
3501
  const [firstLayerNode] = layersArr[0];
3554
3502
  return firstLayerNode === instance;
3555
3503
  }
3556
- //#endregion
3557
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/escape-layer/escape-layer.svelte
3504
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/escape-layer/escape-layer.svelte
3558
3505
  function Escape_layer($$renderer, $$props) {
3559
3506
  $$renderer.component(($$renderer) => {
3560
3507
  let { escapeKeydownBehavior = "close", onEscapeKeydown = noop, children, enabled, ref } = $$props;
@@ -3568,8 +3515,7 @@ function Escape_layer($$renderer, $$props) {
3568
3515
  $$renderer.push(`<!---->`);
3569
3516
  });
3570
3517
  }
3571
- //#endregion
3572
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope-manager.js
3518
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope-manager.js
3573
3519
  var FocusScopeManager = class FocusScopeManager {
3574
3520
  static instance;
3575
3521
  #scopeStack = simpleBox([]);
@@ -3614,8 +3560,7 @@ var FocusScopeManager = class FocusScopeManager {
3614
3560
  this.#preFocusHistory.delete(scope);
3615
3561
  }
3616
3562
  };
3617
- //#endregion
3618
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope.svelte.js
3563
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope.svelte.js
3619
3564
  var FocusScope = class FocusScope {
3620
3565
  #paused = false;
3621
3566
  #container = null;
@@ -3772,8 +3717,7 @@ var FocusScope = class FocusScope {
3772
3717
  } };
3773
3718
  }
3774
3719
  };
3775
- //#endregion
3776
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope.svelte
3720
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope.svelte
3777
3721
  function Focus_scope($$renderer, $$props) {
3778
3722
  $$renderer.component(($$renderer) => {
3779
3723
  let { enabled = false, trapFocus = false, loop = false, onCloseAutoFocus = noop, onOpenAutoFocus = noop, focusScope, ref } = $$props;
@@ -3789,8 +3733,7 @@ function Focus_scope($$renderer, $$props) {
3789
3733
  $$renderer.push(`<!---->`);
3790
3734
  });
3791
3735
  }
3792
- //#endregion
3793
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.js
3736
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.js
3794
3737
  var noopPointer = () => {};
3795
3738
  globalThis.bitsTextSelectionLayers ??= /* @__PURE__ */ new Map();
3796
3739
  var TextSelectionLayerState = class TextSelectionLayerState {
@@ -3876,8 +3819,7 @@ function isHighestLayer(instance) {
3876
3819
  if (!highestLayer) return false;
3877
3820
  return highestLayer[0] === instance;
3878
3821
  }
3879
- //#endregion
3880
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte
3822
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte
3881
3823
  function Text_selection_layer($$renderer, $$props) {
3882
3824
  $$renderer.component(($$renderer) => {
3883
3825
  let { preventOverflowTextSelection = true, onPointerDown = noop, onPointerUp = noop, id, children, enabled, ref } = $$props;
@@ -3892,8 +3834,7 @@ function Text_selection_layer($$renderer, $$props) {
3892
3834
  $$renderer.push(`<!---->`);
3893
3835
  });
3894
3836
  }
3895
- //#endregion
3896
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/use-id.js
3837
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/use-id.js
3897
3838
  globalThis.bitsIdCounter ??= { current: 0 };
3898
3839
  /**
3899
3840
  * Generates a unique ID based on a global counter.
@@ -3902,8 +3843,7 @@ function useId(prefix = "bits") {
3902
3843
  globalThis.bitsIdCounter.current++;
3903
3844
  return `${prefix}-${globalThis.bitsIdCounter.current}`;
3904
3845
  }
3905
- //#endregion
3906
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/shared-state.svelte.js
3846
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/shared-state.svelte.js
3907
3847
  var SharedState = class {
3908
3848
  #factory;
3909
3849
  #subscribers = 0;
@@ -3926,8 +3866,7 @@ var SharedState = class {
3926
3866
  return this.#state;
3927
3867
  }
3928
3868
  };
3929
- //#endregion
3930
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.js
3869
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.js
3931
3870
  var lockMap = new SvelteMap();
3932
3871
  var initialBodyStyle = null;
3933
3872
  var cleanupTimeoutId = null;
@@ -4054,16 +3993,14 @@ function isAnyLocked(map) {
4054
3993
  for (const [_, value] of map) if (value) return true;
4055
3994
  return false;
4056
3995
  }
4057
- //#endregion
4058
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte
3996
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte
4059
3997
  function Scroll_lock($$renderer, $$props) {
4060
3998
  $$renderer.component(($$renderer) => {
4061
3999
  let { preventScroll = true, restoreScrollDelay = null } = $$props;
4062
4000
  if (preventScroll) new BodyScrollLock(preventScroll, () => restoreScrollDelay);
4063
4001
  });
4064
4002
  }
4065
- //#endregion
4066
- //#region ../node_modules/.bun/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
4003
+ // ../node_modules/.bun/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
4067
4004
  /**
4068
4005
  * Custom positioning reference element.
4069
4006
  * @see https://floating-ui.com/docs/virtual-elements
@@ -4191,8 +4128,7 @@ function rectToClientRect(rect) {
4191
4128
  y
4192
4129
  };
4193
4130
  }
4194
- //#endregion
4195
- //#region ../node_modules/.bun/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
4131
+ // ../node_modules/.bun/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
4196
4132
  function computeCoordsFromPlacement(_ref, placement, rtl) {
4197
4133
  let { reference, floating } = _ref;
4198
4134
  const sideAxis = getSideAxis(placement);
@@ -4755,8 +4691,7 @@ var size$1 = function(options) {
4755
4691
  }
4756
4692
  };
4757
4693
  };
4758
- //#endregion
4759
- //#region ../node_modules/.bun/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
4694
+ // ../node_modules/.bun/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
4760
4695
  function hasWindow() {
4761
4696
  return typeof window !== "undefined";
4762
4697
  }
@@ -4868,8 +4803,7 @@ function getOverflowAncestors(node, list, traverseIframes) {
4868
4803
  function getFrameElement(win) {
4869
4804
  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
4870
4805
  }
4871
- //#endregion
4872
- //#region ../node_modules/.bun/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
4806
+ // ../node_modules/.bun/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
4873
4807
  function getCssDimensions(element) {
4874
4808
  const css = getComputedStyle$1(element);
4875
4809
  let width = parseFloat(css.width) || 0;
@@ -5399,8 +5333,7 @@ var computePosition = (reference, floating, options) => {
5399
5333
  platform: platformWithCache
5400
5334
  });
5401
5335
  };
5402
- //#endregion
5403
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.js
5336
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.js
5404
5337
  function get(valueOrGetValue) {
5405
5338
  return typeof valueOrGetValue === "function" ? valueOrGetValue() : valueOrGetValue;
5406
5339
  }
@@ -5421,8 +5354,7 @@ function getFloatingContentCSSVars(name) {
5421
5354
  [`--bits-${name}-anchor-height`]: `var(--bits-floating-anchor-height)`
5422
5355
  };
5423
5356
  }
5424
- //#endregion
5425
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.js
5357
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.js
5426
5358
  function useFloating(options) {
5427
5359
  options.whileElementsMounted;
5428
5360
  const openOption = $.derived(() => get(options.open) ?? true);
@@ -5521,8 +5453,7 @@ function isReferenceHidden(node) {
5521
5453
  if (node instanceof HTMLElement && node.hidden) return true;
5522
5454
  return node.getClientRects().length === 0;
5523
5455
  }
5524
- //#endregion
5525
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/floating-layer/use-floating-layer.svelte.js
5456
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/floating-layer/use-floating-layer.svelte.js
5526
5457
  var OPPOSITE_SIDE = {
5527
5458
  top: "bottom",
5528
5459
  right: "left",
@@ -5832,8 +5763,7 @@ function getSideFromPlacement(placement) {
5832
5763
  function getAlignFromPlacement(placement) {
5833
5764
  return getSideAndAlignFromPlacement(placement)[1];
5834
5765
  }
5835
- //#endregion
5836
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer.svelte
5766
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer.svelte
5837
5767
  function Floating_layer($$renderer, $$props) {
5838
5768
  $$renderer.component(($$renderer) => {
5839
5769
  let { children, tooltip = false } = $$props;
@@ -5842,8 +5772,7 @@ function Floating_layer($$renderer, $$props) {
5842
5772
  $$renderer.push(`<!---->`);
5843
5773
  });
5844
5774
  }
5845
- //#endregion
5846
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-anchor.svelte
5775
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-anchor.svelte
5847
5776
  function Floating_layer_anchor($$renderer, $$props) {
5848
5777
  $$renderer.component(($$renderer) => {
5849
5778
  let { id, children, virtualEl, ref, tooltip = false } = $$props;
@@ -5856,8 +5785,7 @@ function Floating_layer_anchor($$renderer, $$props) {
5856
5785
  $$renderer.push(`<!---->`);
5857
5786
  });
5858
5787
  }
5859
- //#endregion
5860
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-content.svelte
5788
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-content.svelte
5861
5789
  function Floating_layer_content($$renderer, $$props) {
5862
5790
  $$renderer.component(($$renderer) => {
5863
5791
  let { content, side = "bottom", sideOffset = 0, align = "center", alignOffset = 0, id, arrowPadding = 0, avoidCollisions = true, collisionBoundary = [], collisionPadding = 0, hideWhenDetached = false, onPlaced = () => {}, sticky = "partial", updatePositionStrategy = "optimized", strategy = "fixed", dir = "ltr", style = {}, wrapperId = useId(), customAnchor = null, enabled, tooltip = false } = $$props;
@@ -5890,8 +5818,7 @@ function Floating_layer_content($$renderer, $$props) {
5890
5818
  $$renderer.push(`<!---->`);
5891
5819
  });
5892
5820
  }
5893
- //#endregion
5894
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-content-static.svelte
5821
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-content-static.svelte
5895
5822
  function Floating_layer_content_static($$renderer, $$props) {
5896
5823
  $$renderer.component(($$renderer) => {
5897
5824
  let { content, onPlaced } = $$props;
@@ -5905,8 +5832,7 @@ function Floating_layer_content_static($$renderer, $$props) {
5905
5832
  $$renderer.push(`<!---->`);
5906
5833
  });
5907
5834
  }
5908
- //#endregion
5909
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte
5835
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte
5910
5836
  function Popper_content($$renderer, $$props) {
5911
5837
  let { content, isStatic = false, onPlaced, $$slots, $$events, ...restProps } = $$props;
5912
5838
  if (isStatic) {
@@ -5924,8 +5850,7 @@ function Popper_content($$renderer, $$props) {
5924
5850
  }
5925
5851
  $$renderer.push(`<!--]-->`);
5926
5852
  }
5927
- //#endregion
5928
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte
5853
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte
5929
5854
  function Popper_layer_inner($$renderer, $$props) {
5930
5855
  $$renderer.component(($$renderer) => {
5931
5856
  let { popper, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, enabled, ref, tooltip = false, contentPointerEvents = "auto", $$slots, $$events, ...restProps } = $$props;
@@ -6026,8 +5951,7 @@ function Popper_layer_inner($$renderer, $$props) {
6026
5951
  }
6027
5952
  });
6028
5953
  }
6029
- //#endregion
6030
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte
5954
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte
6031
5955
  function Popper_layer($$renderer, $$props) {
6032
5956
  let { popper, open, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, ref, shouldRender, $$slots, $$events, ...restProps } = $$props;
6033
5957
  if (shouldRender) {
@@ -6074,8 +5998,7 @@ function Popper_layer($$renderer, $$props) {
6074
5998
  } else $$renderer.push("<!--[-1-->");
6075
5999
  $$renderer.push(`<!--]-->`);
6076
6000
  }
6077
- //#endregion
6078
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte
6001
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte
6079
6002
  function Popper_layer_force_mount($$renderer, $$props) {
6080
6003
  let { popper, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, enabled, $$slots, $$events, ...restProps } = $$props;
6081
6004
  Popper_layer_inner($$renderer, $.spread_props([
@@ -6120,5 +6043,4 @@ function Popper_layer_force_mount($$renderer, $$props) {
6120
6043
  { forceMount: true }
6121
6044
  ]));
6122
6045
  }
6123
- //#endregion
6124
6046
  export { styleToString as $, CAPS_LOCK as A, boolToStr as B, PresenceManager as C, ARROW_LEFT as D, ARROW_DOWN as E, META as F, attachRef as G, createBitsAttrs as H, PAGE_DOWN as I, onDestroyEffect as J, DOMContext as K, PAGE_UP as L, ENTER as M, ESCAPE as N, ARROW_RIGHT as O, HOME as P, mergeProps as Q, SHIFT as R, noop as S, isIOS as T, getDataOpenClosed as U, boolToTrueOrUndef as V, getDataTransitionAttrs as W, watch as X, Previous as Y, Context as Z, forward as _, getFloatingContentCSSVars as a, prev as b, MenuGroupState as c, MenuRootState as d, boxWith as et, MenuSeparatorState as f, backward as g, boxAutoReset as h, Floating_layer as i, CONTROL as j, ARROW_UP as k, MenuItemState as l, DOMTypeahead as m, Popper_layer as n, DropdownMenuTriggerState as o, MenuSubmenuState as p, afterTick as q, Floating_layer_anchor as r, MenuContentState as s, Popper_layer_force_mount as t, MenuMenuState as u, getNextMatch as v, isBrowser as w, createId as x, next as y, boolToEmptyStrOrUndef as z };