@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
@@ -1,6 +1,6 @@
1
- import { t as e } from "./documents-CwCs1rA7.js";
1
+ import { t as e } from "./documents-CDJb8dv-.js";
2
2
  import * as t from "svelte/internal/client";
3
- //#region src/lib/stores/tag-store.svelte.ts
3
+ // src/lib/stores/tag-store.svelte.ts
4
4
  var n = t.state(0);
5
5
  function r() {
6
6
  t.update(n);
@@ -25,5 +25,4 @@ function d() {
25
25
  function f() {
26
26
  return t.get(l);
27
27
  }
28
- //#endregion
29
28
  export { o as a, i, d as n, r as o, f as r, u as s, s as t };
@@ -1,6 +1,6 @@
1
- import { n as e } from "./client-GbtOH90i.js";
2
- import { a as t, i as n } from "./schemas-1Na35n71.js";
3
- //#region src/lib/api/tags.ts
1
+ import { n as e } from "./client-BDdDd84W.js";
2
+ import { a as t, i as n } from "./schemas-YXxhj5o8.js";
3
+ // src/lib/api/tags.ts
4
4
  var r = n({
5
5
  name: t().trim().min(1, "Name is required").max(50, "Name must be 50 characters or less"),
6
6
  color: t().max(20, "Color must be 20 characters or less").optional()
@@ -44,5 +44,4 @@ function u(r, i, a) {
44
44
  function d(t, n, r) {
45
45
  return e(`/api/documents/${t}/tags/${n}`, { method: "DELETE" }, r);
46
46
  }
47
- //#endregion
48
47
  export { o as a, c, l as i, i as l, s as n, a as o, r, d as s, u as t };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/action_edit.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/action_edit.js
3
3
  var t = () => "Edit", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "New category", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "Delete", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t))), s = () => "Are you sure you want to delete this document?", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "Document deleted", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t))), d = () => "was deleted.", f = ((t = {}, n = {}) => (n.locale ?? e(), d(t))), p = () => "Tags", m = ((t = {}, n = {}) => (n.locale ?? e(), p(t))), h = () => "Folder deleted", g = ((t = {}, n = {}) => (n.locale ?? e(), h(t))), _ = () => "Its documents were moved to the root.", v = ((t = {}, n = {}) => (n.locale ?? e(), _(t))), y = () => "Folder name", b = ((t = {}, n = {}) => (n.locale ?? e(), y(t))), x = () => "Search documents...", S = ((t = {}, n = {}) => (n.locale ?? e(), x(t))), C = () => "Docs", w = ((t = {}, n = {}) => (n.locale ?? e(), C(t))), T = () => "Powered by DocsMint", E = ((t = {}, n = {}) => (n.locale ?? e(), T(t))), D = () => "Recent", O = ((t = {}, n = {}) => (n.locale ?? e(), D(t))), k = () => "add", A = ((t = {}, n = {}) => (n.locale ?? e(), k(t))), j = () => "Are you sure you want to delete this tag? This cannot be undone.", M = ((t = {}, n = {}) => (n.locale ?? e(), j(t))), N = () => "Delete tag", P = ((t = {}, n = {}) => (n.locale ?? e(), N(t))), F = () => "Failed to load tags", I = ((t = {}, n = {}) => (n.locale ?? e(), F(t)));
4
- //#endregion
5
4
  export { i as _, O as a, S as c, g as d, m as f, o as g, c as h, A as i, b as l, u as m, P as n, E as o, f as p, M as r, w as s, I as t, v as u, n as v };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/tags_edit.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/tags_edit.js
3
3
  var t = () => "Edit Tag", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Tag name", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "New Tag", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t)));
4
- //#endregion
5
4
  export { i as n, n as r, o as t };
@@ -1,7 +1,7 @@
1
- import { t as e } from "./utils-BlHvR6OL.js";
1
+ import { t as e } from "./utils-DH0uqK40.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as t from "svelte/internal/client";
4
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/textarea/textarea.svelte
4
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/textarea/textarea.svelte
5
5
  var n = /* @__PURE__ */ new Set([
6
6
  "$$slots",
7
7
  "$$events",
@@ -19,5 +19,4 @@ function i(i, a) {
19
19
  ...c
20
20
  }), [() => e("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50", a.class)]), t.bind_this(l, (e) => o(e), () => o()), t.bind_value(l, s), t.append(i, l), t.pop();
21
21
  }
22
- //#endregion
23
22
  export { i as t };
@@ -1,8 +1,7 @@
1
- import { t as e } from "./theme.svelte-BRdxXd-B.js";
2
- //#region ../packages/sdk/frontend-entries/theme.ts
1
+ import { t as e } from "./theme.svelte-BiXvrqwh.js";
2
+ // ../packages/sdk/frontend-entries/theme.ts
3
3
  var t = e, n = e.set;
4
4
  function r() {
5
5
  n(t.value === "dark" ? "light" : "dark");
6
6
  }
7
- //#endregion
8
7
  export { n as setTheme, t as theme, r as toggleTheme };
@@ -1,18 +1,14 @@
1
- import "./dist-DcHl92QO.js";
1
+ import "./dist-Dl9qg10h.js";
2
2
  import * as e from "svelte/internal/client";
3
3
  import { tick as t } from "svelte";
4
4
  import { browser as n } from "$app/env";
5
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/lib/theme-spread.js
5
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/lib/theme-spread.js
6
6
  function r() {
7
7
  return typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
8
8
  }
9
9
  function i(e) {
10
10
  let t = document.documentElement;
11
- if (!e) {
12
- t.style.removeProperty("--click-x"), t.style.removeProperty("--click-y");
13
- return;
14
- }
15
- t.style.setProperty("--click-x", `${Math.round(e.x)}px`), t.style.setProperty("--click-y", `${Math.round(e.y)}px`);
11
+ e ? (t.style.setProperty("--click-x", `${Math.round(e.x)}px`), t.style.setProperty("--click-y", `${Math.round(e.y)}px`)) : (t.style.removeProperty("--click-x"), t.style.removeProperty("--click-y"));
16
12
  }
17
13
  async function a(e, t) {
18
14
  if (typeof document > "u") {
@@ -36,8 +32,7 @@ async function a(e, t) {
36
32
  a.classList.remove("theme-spread-active"), i();
37
33
  }
38
34
  }
39
- //#endregion
40
- //#region src/lib/stores/theme.svelte.ts
35
+ // src/lib/stores/theme.svelte.ts
41
36
  var o = "hiai-docs-theme", s = /* @__PURE__ */ new Set();
42
37
  function c() {
43
38
  if (!n) return "system";
@@ -73,19 +68,9 @@ function _(t) {
73
68
  e.set(p, t, !0), n && localStorage.setItem(o, t), e.set(m, u(t), !0), d(t), f();
74
69
  }
75
70
  async function v(r, i) {
76
- if (!n) {
77
- _(r);
78
- return;
79
- }
80
- if (e.get(p) !== r) {
81
- if (u(e.get(p)) === u(r) || !i) {
82
- _(r);
83
- return;
84
- }
85
- await a(async () => {
86
- _(r), await t();
87
- }, i);
88
- }
71
+ n ? e.get(p) !== r && (u(e.get(p)) === u(r) || !i ? _(r) : await a(async () => {
72
+ _(r), await t();
73
+ }, i)) : _(r);
89
74
  }
90
75
  var y = {
91
76
  get value() {
@@ -98,5 +83,4 @@ var y = {
98
83
  set: _,
99
84
  spread: v
100
85
  };
101
- //#endregion
102
86
  export { y as t };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/auth_logout.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/auth_logout.js
3
3
  var t = () => "Log out", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Password", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "Password must be at least 8 characters", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t))), s = () => "Passwords do not match", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "Change password", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t))), d = () => "Confirm password", f = ((t = {}, n = {}) => (n.locale ?? e(), d(t))), p = () => "Failed to save document", m = ((t = {}, n = {}) => (n.locale ?? e(), p(t))), h = () => "New password", g = ((t = {}, n = {}) => (n.locale ?? e(), h(t))), _ = () => "Password", v = ((t = {}, n = {}) => (n.locale ?? e(), _(t))), y = () => "Account", b = ((t = {}, n = {}) => (n.locale ?? e(), y(t))), x = () => "Appearance", S = ((t = {}, n = {}) => (n.locale ?? e(), x(t))), C = () => "Email", w = ((t = {}, n = {}) => (n.locale ?? e(), C(t))), T = () => "Changing your email will affect how you log in. Make sure you have access to the new email address.", E = ((t = {}, n = {}) => (n.locale ?? e(), T(t))), D = () => "Name", O = ((t = {}, n = {}) => (n.locale ?? e(), D(t))), k = () => "Profile", A = ((t = {}, n = {}) => (n.locale ?? e(), k(t))), j = () => "Save changes", M = ((t = {}, n = {}) => (n.locale ?? e(), j(t))), N = () => "Saved!", P = ((t = {}, n = {}) => (n.locale ?? e(), N(t))), F = () => "Theme", I = ((t = {}, n = {}) => (n.locale ?? e(), F(t))), L = () => "Settings", R = ((t = {}, n = {}) => (n.locale ?? e(), L(t))), z = () => "Dark", B = ((t = {}, n = {}) => (n.locale ?? e(), z(t))), V = () => "Light", H = ((t = {}, n = {}) => (n.locale ?? e(), V(t))), U = () => "System", W = ((t = {}, n = {}) => (n.locale ?? e(), U(t)));
4
- //#endregion
5
4
  export { n as S, f as _, I as a, o as b, A as c, w as d, S as f, m as g, g as h, R as i, O as l, v as m, H as n, P as o, b as p, B as r, M as s, W as t, E as u, u as v, i as x, c as y };
@@ -1,2 +1 @@
1
- import { t as e } from "../clipboard-Cgzxc0_R.js";
2
- export { e as copyToClipboard };
1
+ export { t as copyToClipboard } from "../clipboard-Dt1oW6nm.js";
@@ -1,2 +1 @@
1
- import { t as e } from "../dndzone-CDhrbpTg.js";
2
- export { e as dndzone };
1
+ export { t as dndzone } from "../dndzone-C62yjeG3.js";
@@ -1,5 +1,5 @@
1
- import { n as e, t } from "./bundle-mjs-CZ3g1Uzr.js";
2
- //#region src/lib/utils.ts
1
+ import { n as e, t } from "./bundle-mjs-clTO1WW-.js";
2
+ // src/lib/utils.ts
3
3
  function n(...n) {
4
4
  return t(e(n));
5
5
  }
@@ -15,5 +15,4 @@ function r(e) {
15
15
  let o = Math.floor(a / 30);
16
16
  return o < 12 ? `${o}mo ago` : `${Math.floor(o / 12)}y ago`;
17
17
  }
18
- //#endregion
19
18
  export { r as n, n as t };
@@ -0,0 +1,6 @@
1
+ import { n as e, t } from "./bundle-mjs-clTO1WW-.js";
2
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/lib/utils.js
3
+ function n(...n) {
4
+ return t(e(n));
5
+ }
6
+ export { n as t };
@@ -1,2 +1 @@
1
- import { n as e, t } from "./utils-BovMJHdA.js";
2
- export { t as cn, e as formatRelativeTime };
1
+ export { t as cn, n as formatRelativeTime } from "./utils-CnAmIMwr.js";
@@ -0,0 +1,4 @@
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/version_create_snapshot.js
3
+ var t = () => "Create snapshot", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n)));
4
+ export { n as t };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/time_days_ago.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/time_days_ago.js
3
3
  var t = (e) => `${e?.count}d ago`, n = ((n, r = {}) => (r.locale ?? e(), t(n))), r = (e) => `${e?.count}h ago`, i = ((t, n = {}) => (n.locale ?? e(), r(t))), a = (e) => `${e?.count}m ago`, o = ((t, n = {}) => (n.locale ?? e(), a(t))), s = () => "Snapshot", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "All", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t))), d = () => "Snapshots only", f = ((t = {}, n = {}) => (n.locale ?? e(), d(t))), p = () => "No versions yet.", m = ((t = {}, n = {}) => (n.locale ?? e(), p(t))), h = () => "Version History", g = ((t = {}, n = {}) => (n.locale ?? e(), h(t))), _ = () => "Restore this version", v = ((t = {}, n = {}) => (n.locale ?? e(), _(t))), y = () => "Restore this version? Current content will be saved as a new version.", b = ((t = {}, n = {}) => (n.locale ?? e(), y(t))), x = () => "Restore", S = ((t = {}, n = {}) => (n.locale ?? e(), x(t))), C = () => "Restored from v", w = ((t = {}, n = {}) => (n.locale ?? e(), C(t)));
4
- //#endregion
5
4
  export { g as a, u as c, i as d, n as f, v as i, c as l, S as n, m as o, b as r, f as s, w as t, o as u };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/error_server.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/error_server.js
3
3
  var t = () => "Server error. Please try again later.", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Validation error", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "Restore failed", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t))), s = () => "Create snapshot", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "Creating snapshot...", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t))), d = () => "Description (optional)", f = ((t = {}, n = {}) => (n.locale ?? e(), d(t))), p = () => "Notes about what this snapshot captures", m = ((t = {}, n = {}) => (n.locale ?? e(), p(t))), h = () => "Save the current document state as a named snapshot you can restore later.", g = ((t = {}, n = {}) => (n.locale ?? e(), h(t))), _ = () => "Create snapshot", v = ((t = {}, n = {}) => (n.locale ?? e(), _(t))), y = () => "Snapshot label", b = ((t = {}, n = {}) => (n.locale ?? e(), y(t))), x = () => "e.g. Pre-release draft", S = ((t = {}, n = {}) => (n.locale ?? e(), x(t)));
4
- //#endregion
5
4
  export { m as a, c, n as d, g as i, o as l, b as n, f as o, v as r, u as s, S as t, i as u };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/date_picker_aria.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/date_picker_aria.js
3
3
  var t = () => "Choose date", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Clear", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "Next month", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t))), s = () => "Select date", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "Previous month", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t))), d = () => "April", f = ((t = {}, n = {}) => (n.locale ?? e(), d(t))), p = () => "August", m = ((t = {}, n = {}) => (n.locale ?? e(), p(t))), h = () => "December", g = ((t = {}, n = {}) => (n.locale ?? e(), h(t))), _ = () => "February", v = ((t = {}, n = {}) => (n.locale ?? e(), _(t))), y = () => "January", b = ((t = {}, n = {}) => (n.locale ?? e(), y(t))), x = () => "July", S = ((t = {}, n = {}) => (n.locale ?? e(), x(t))), C = () => "June", w = ((t = {}, n = {}) => (n.locale ?? e(), C(t))), T = () => "March", E = ((t = {}, n = {}) => (n.locale ?? e(), T(t))), D = () => "May", O = ((t = {}, n = {}) => (n.locale ?? e(), D(t))), k = () => "November", A = ((t = {}, n = {}) => (n.locale ?? e(), k(t))), j = () => "October", M = ((t = {}, n = {}) => (n.locale ?? e(), j(t))), N = () => "September", P = ((t = {}, n = {}) => (n.locale ?? e(), N(t))), F = () => "Documents", I = ((t = {}, n = {}) => (n.locale ?? e(), F(t))), L = () => "Fr", R = ((t = {}, n = {}) => (n.locale ?? e(), L(t))), z = () => "Mo", B = ((t = {}, n = {}) => (n.locale ?? e(), z(t))), V = () => "Sa", H = ((t = {}, n = {}) => (n.locale ?? e(), V(t))), U = () => "Su", W = ((t = {}, n = {}) => (n.locale ?? e(), U(t))), G = () => "Th", K = ((t = {}, n = {}) => (n.locale ?? e(), G(t))), q = () => "Tu", J = ((t = {}, n = {}) => (n.locale ?? e(), q(t))), Y = () => "We", X = ((t = {}, n = {}) => (n.locale ?? e(), Y(t)));
4
- //#endregion
5
4
  export { o as C, c as S, n as T, v as _, H as a, f as b, I as c, A as d, O as f, b as g, S as h, W as i, P as l, w as m, J as n, B as o, E as p, K as r, R as s, X as t, M as u, g as v, i as w, u as x, m as y };
@@ -1,8 +1,8 @@
1
- import { t as e } from "./Icon-3EYzvNyk.js";
1
+ import { t as e } from "./Icon-CiHcxcpv.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as t from "svelte/internal/client";
4
4
  import "svelte/internal/flags/legacy";
5
- //#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/x.svelte
5
+ // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/x.svelte
6
6
  function n(n, r) {
7
7
  let i = t.legacy_rest_props(r, [
8
8
  "children",
@@ -21,5 +21,4 @@ function n(n, r) {
21
21
  $$slots: { default: !0 }
22
22
  }));
23
23
  }
24
- //#endregion
25
24
  export { n as t };
@@ -1,4 +1,4 @@
1
- //#region ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/map.js
1
+ // ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/map.js
2
2
  var e = () => /* @__PURE__ */ new Map(), t = (t) => {
3
3
  let n = e();
4
4
  return t.forEach((e, t) => {
@@ -76,8 +76,7 @@ var e = () => /* @__PURE__ */ new Map(), t = (t) => {
76
76
  Number.isNaN;
77
77
  var re = Math.pow, ie = (e) => e === 0 ? 1 / e < 0 : e < 0, ae = 1 << 29, oe = 2 ** 53 - 1, se = -(2 ** 53 - 1), ce = Number.isInteger || ((e) => typeof e == "number" && isFinite(e) && m(e) === e);
78
78
  Number.isNaN, Number.parseInt;
79
- //#endregion
80
- //#region ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/string.js
79
+ // ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/string.js
81
80
  var le = String.fromCharCode;
82
81
  String.fromCodePoint, le(65535);
83
82
  var ue = (e) => e.toLowerCase(), de = /^\s*/g, fe = (e) => e.replace(de, ""), pe = /([A-Z])/g, me = (e, t) => fe(e.replace(pe, (e) => `${t}${ue(e)}`)), he = (e) => {
@@ -330,8 +329,7 @@ var ye = (e, t) => d(t, () => e).join(""), be = class {
330
329
  crypto.subtle;
331
330
  var rt = crypto.getRandomValues.bind(crypto), it = Math.random, at = () => rt(/* @__PURE__ */ new Uint32Array(1))[0], ot = (e) => e[m(it() * e.length)], st = "10000000-1000-4000-8000-100000000000", ct = () => st.replace(/[018]/g, (e) => (e ^ at() & 15 >> e / 4).toString(16)), lt = Date.now, ut = (e) => new Promise(e);
332
331
  Promise.all.bind(Promise);
333
- //#endregion
334
- //#region ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/conditions.js
332
+ // ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/conditions.js
335
333
  /* c8 ignore next */
336
334
  var dt = (e) => e === void 0 ? null : e, ft = new class {
337
335
  constructor() {
@@ -746,8 +744,7 @@ P.DOCUMENT_TYPE_NODE;
746
744
  var hr = P.DOCUMENT_FRAGMENT_NODE;
747
745
  N((e) => e.nodeType === mr);
748
746
  /* c8 ignore stop */
749
- //#endregion
750
- //#region ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/symbol.js
747
+ // ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/symbol.js
751
748
  var F = Symbol, gr = F(), _r = F(), vr = F(), yr = F(), br = F(), xr = F(), Sr = F(), Cr = F(), wr = F(), Tr = (e) => {
752
749
  e.length === 1 && e[0]?.constructor === Function && (e = e[0]());
753
750
  let t = [], n = [], r = 0;
@@ -765,8 +762,7 @@ var F = Symbol, gr = F(), _r = F(), vr = F(), yr = F(), br = F(), xr = F(), Sr =
765
762
  };
766
763
  lt();
767
764
  /* c8 ignore stop */
768
- //#endregion
769
- //#region ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/logging.js
765
+ // ../node_modules/.bun/lib0@0.2.117/node_modules/lib0/logging.js
770
766
  var Er = {
771
767
  [gr]: A("font-weight", "bold"),
772
768
  [_r]: A("font-weight", "normal"),
@@ -1529,13 +1525,7 @@ var Ri = (e) => Li(Hr(e.store), Vi(e.store)), z = (e, t) => t === void 0 ? !e.de
1529
1525
  (i === null || i.id.clock < (e.beforeState.get(i.id.client) || 0) && !i.deleted) && n(e.changed, t, a).add(r);
1530
1526
  }, Zi = (e, t) => {
1531
1527
  let n = e[t], r = e[t - 1], i = t;
1532
- for (; i > 0; n = r, r = e[--i - 1]) {
1533
- if (r.deleted === n.deleted && r.constructor === n.constructor && r.mergeWith(n)) {
1534
- n instanceof Q && n.parentSub !== null && n.parent._map.get(n.parentSub) === n && n.parent._map.set(n.parentSub, r);
1535
- continue;
1536
- }
1537
- break;
1538
- }
1528
+ for (; i > 0 && r.deleted === n.deleted && r.constructor === n.constructor && r.mergeWith(n); n = r, r = e[--i - 1]) n instanceof Q && n.parentSub !== null && n.parent._map.get(n.parentSub) === n && n.parent._map.set(n.parentSub, r);
1539
1529
  let a = t - i;
1540
1530
  return a && e.splice(t + 1 - a, a), a;
1541
1531
  }, Qi = (e, t, n) => {
@@ -1565,7 +1555,7 @@ var Ri = (e) => Li(Hr(e.store), Vi(e.store)), z = (e, t) => t === void 0 ? !e.de
1565
1555
  Rr(a), n.afterState = Vi(n.doc.store), r.emit("beforeObserverCalls", [n, r]);
1566
1556
  let e = [];
1567
1557
  n.changed.forEach((t, r) => e.push(() => {
1568
- (r._item === null || !r._item.deleted) && r._callObserver(n, t);
1558
+ r._item !== null && r._item.deleted || r._callObserver(n, t);
1569
1559
  })), e.push(() => {
1570
1560
  n.changedParentTypes.forEach((t, r) => {
1571
1561
  r._dEH.l.length > 0 && (r._item === null || !r._item.deleted) && (t = t.filter((e) => e.target._item === null || !e.target._item.deleted), t.forEach((e) => {
@@ -1857,11 +1847,8 @@ var oa = class {
1857
1847
  let i = pi(t), a = new r(), o = new sa(a), s = new n(w(e)), c = new oa(s, !1);
1858
1848
  for (; c.curr;) {
1859
1849
  let e = c.curr, t = e.id.client, n = i.get(t) || 0;
1860
- if (c.curr.constructor === $) {
1861
- c.next();
1862
- continue;
1863
- }
1864
- if (e.id.clock + e.length > n) for (W(o, e, h(n - e.id.clock, 0)), c.next(); c.curr && c.curr.id.client === t;) W(o, c.curr, 0), c.next();
1850
+ if (c.curr.constructor === $) c.next();
1851
+ else if (e.id.clock + e.length > n) for (W(o, e, h(n - e.id.clock, 0)), c.next(); c.curr && c.curr.id.client === t;) W(o, c.curr, 0), c.next();
1865
1852
  else for (; c.curr && c.curr.id.client === t && c.curr.id.clock + c.curr.length <= n;) c.next();
1866
1853
  }
1867
1854
  return pa(o), Ur(a, Wr(s)), a.toUint8Array();
@@ -3601,5 +3588,4 @@ var oa = class {
3601
3588
  }
3602
3589
  }, cs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : {}, ls = "__ $YJS$ __";
3603
3590
  cs[ls] === !0 && console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438"), cs[ls] = !0;
3604
- //#endregion
3605
3591
  export { Ce as $, P as A, Ct as B, V as C, I as D, Ei as E, Ft as F, ot as G, ht as H, O as I, E as J, w as K, Nt as L, $t as M, Zt as N, Ri as O, Xt as P, xe as Q, Et as R, _i as S, Lr as T, mt as U, gt as V, lt as W, S as X, T as Y, C as Z, R as _, Q as a, m as at, Li as b, ia as c, re as ct, To as d, a as dt, g as et, ci as f, e as ft, Vr as g, Pi as h, qr as i, ae as it, Gt as j, Aa as k, ho as l, ee as lt, Fi as m, X as n, v as nt, Di as o, h as ot, si as p, n as pt, D as q, Z as r, b as rt, Ii as s, ne as st, Y as t, y as tt, bo as u, p as ut, Oi as v, Ti as w, di as x, Mi as y, xt as z };
@@ -1,5 +1,5 @@
1
- import { n as apiFetch } from "../assets/client-rfwQYYHY.js";
2
- //#region src/lib/api/attachments.ts
1
+ import { n as apiFetch } from "../assets/client-B2AniXwV.js";
2
+ // src/lib/api/attachments.ts
3
3
  /**
4
4
  * Server-side attachment size limit (bytes). The backend reads this from
5
5
  * `ATTACHMENT_MAX_SIZE_MB` (default 25 MB); we hard-code the same default
@@ -89,5 +89,4 @@ function isImageFile(file) {
89
89
  function isFileSizeAllowed(file) {
90
90
  return file.size <= MAX_FILE_SIZE;
91
91
  }
92
- //#endregion
93
92
  export { confirmAttachment, isFileSizeAllowed, isImageFile, listAttachments, presignAttachment, uploadAttachment };
@@ -1,2 +1 @@
1
- import { a as setDocumentCategory, c as updateCategoryInputSchema, i as listCategories, n as createCategoryInputSchema, o as setFolderCategory, r as deleteCategory, s as updateCategory, t as createCategory } from "../assets/categories-C_dxFoHi.js";
2
- export { createCategory, createCategoryInputSchema, deleteCategory, listCategories, setDocumentCategory, setFolderCategory, updateCategory, updateCategoryInputSchema };
1
+ export { t as createCategory, n as createCategoryInputSchema, r as deleteCategory, i as listCategories, a as setDocumentCategory, o as setFolderCategory, s as updateCategory, c as updateCategoryInputSchema } from "../assets/categories-bBPviKjl.js";
@@ -1,2 +1 @@
1
- import { a as importDocument, c as updateDocument, i as getDocument, n as createDocument, o as importDocuments, r as deleteDocument, s as listDocuments, t as clearDocumentsCache } from "../assets/documents-CEuA1V6N.js";
2
- export { clearDocumentsCache, createDocument, deleteDocument, getDocument, importDocument, importDocuments, listDocuments, updateDocument };
1
+ export { t as clearDocumentsCache, n as createDocument, r as deleteDocument, i as getDocument, a as importDocument, o as importDocuments, s as listDocuments, c as updateDocument } from "../assets/documents-B_wpQFTh.js";
@@ -1,2 +1 @@
1
- import { a as getFolder, c as updateFolder, i as duplicateDocument, n as deleteDocument, o as getFolderPath, r as deleteFolder, s as listFolders, t as createFolder } from "../assets/folders-BOXeb9hz.js";
2
- export { createFolder, deleteDocument, deleteFolder, duplicateDocument, getFolder, getFolderPath, listFolders, updateFolder };
1
+ export { t as createFolder, n as deleteDocument, r as deleteFolder, i as duplicateDocument, a as getFolder, o as getFolderPath, s as listFolders, c as updateFolder } from "../assets/folders-CTLqWbMm.js";
@@ -1,2 +1 @@
1
- import { a as updateProfile, i as updateEmbeddingConfig, n as getEmbeddingConfig, r as getProfile, t as deleteAccount } from "../assets/settings-BRxvn30Y.js";
2
- export { deleteAccount, getEmbeddingConfig, getProfile, updateEmbeddingConfig, updateProfile };
1
+ export { t as deleteAccount, n as getEmbeddingConfig, r as getProfile, i as updateEmbeddingConfig, a as updateProfile } from "../assets/settings-B1MA_FjO.js";
@@ -1,5 +1,5 @@
1
- import { n as apiFetch } from "../assets/client-rfwQYYHY.js";
2
- //#region src/lib/api/share.ts
1
+ import { n as apiFetch } from "../assets/client-B2AniXwV.js";
2
+ // src/lib/api/share.ts
3
3
  function createShareLink(data, fetcher) {
4
4
  if (!data.documentId && !data.folderId && !data.categoryId) return Promise.reject(/* @__PURE__ */ new Error("createShareLink: documentId, folderId, or categoryId is required"));
5
5
  return apiFetch("/api/share", {
@@ -27,5 +27,4 @@ function addGuest(linkId, email) {
27
27
  function removeGuest(linkId, email) {
28
28
  return apiFetch(`/api/share/${linkId}/guests/${encodeURIComponent(email)}`, { method: "DELETE" });
29
29
  }
30
- //#endregion
31
30
  export { addGuest, createShareLink, getShareLink, listShareLinks, removeGuest, revokeShareLink };
@@ -1,2 +1 @@
1
- import { a as getTag, c as updateTag, i as deleteTag, l as updateTagInputSchema, n as createTag, o as listTags, r as createTagInputSchema, s as removeTagFromDocument, t as addTagToDocument } from "../assets/tags-BBCoFYro.js";
2
- export { addTagToDocument, createTag, createTagInputSchema, deleteTag, getTag, listTags, removeTagFromDocument, updateTag, updateTagInputSchema };
1
+ export { t as addTagToDocument, n as createTag, r as createTagInputSchema, i as deleteTag, a as getTag, o as listTags, s as removeTagFromDocument, c as updateTag, l as updateTagInputSchema } from "../assets/tags-C7u-LBsl.js";
@@ -1,16 +1,16 @@
1
- import { t as Icon } from "./assets/Icon-DE_3EnuF.js";
2
- import { n as provideDocsmintShareAdapter, t as getDocsmintShareAdapter } from "./assets/share-context-B4UpvTSw.js";
3
- import { n as searchPreferences } from "./assets/SettingsDialog-DAT-Zxu0.js";
4
- import { t as Sidebar } from "./assets/Sidebar-B_Ey6QNL.js";
5
- import { t as scroll_to_top_aria } from "./assets/scroll_to_top_aria-BN4ZfOnM.js";
6
- import { o as provideDocsmintRequestAdapter, r as provideDocsmintRouteAdapter } from "./assets/route-context-BPRerEtZ.js";
7
- import { t as editorPreferences } from "./assets/editor-preferences.svelte-iI5jJM1x.js";
8
- import { d as refreshFolders } from "./assets/subfolders-refresh-store.svelte-CXHxQWKh.js";
9
- import { n as refreshDocs, r as refreshTags } from "./assets/tag-store.svelte-QRysvGKe.js";
10
- import { t as HiaiDocsExtensionProvider } from "./assets/HiaiDocsExtensionProvider-BRKWmcDd.js";
1
+ import { t as Icon } from "./assets/Icon-CrIRbT5O.js";
2
+ import { t as Sidebar } from "./assets/Sidebar-fpYk5MGO.js";
3
+ import { t as editorPreferences } from "./assets/editor-preferences.svelte-CdAXTd-I.js";
4
+ import { n as searchPreferences } from "./assets/SettingsDialog-BpHY3IMb.js";
5
+ import { t as scroll_to_top_aria } from "./assets/scroll_to_top_aria-CAYSiGHO.js";
6
+ import { d as refreshFolders } from "./assets/subfolders-refresh-store.svelte-LxG18U0n.js";
7
+ import { n as refreshDocs, r as refreshTags } from "./assets/tag-store.svelte-CUUgAaDD.js";
8
+ import { t as HiaiDocsExtensionProvider } from "./assets/HiaiDocsExtensionProvider-D6cGL-9s.js";
9
+ import { o as provideDocsmintRequestAdapter, r as provideDocsmintRouteAdapter } from "./assets/route-context-BsqLFt5Y.js";
10
+ import { n as provideDocsmintShareAdapter, t as getDocsmintShareAdapter } from "./assets/share-context-RVh8AExX.js";
11
11
  import * as $ from "svelte/internal/server";
12
12
  import { getContext, onDestroy, setContext, untrack } from "svelte";
13
- //#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/arrow-up.svelte
13
+ // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/arrow-up.svelte
14
14
  function Arrow_up($$renderer, $$props) {
15
15
  const $$sanitized_props = $.sanitize_props($$props);
16
16
  /**
@@ -86,8 +86,7 @@ function Arrow_up($$renderer, $$props) {
86
86
  }
87
87
  ]));
88
88
  }
89
- //#endregion
90
- //#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/menu.svelte
89
+ // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/menu.svelte
91
90
  function Menu($$renderer, $$props) {
92
91
  const $$sanitized_props = $.sanitize_props($$props);
93
92
  /**
@@ -167,8 +166,7 @@ function Menu($$renderer, $$props) {
167
166
  }
168
167
  ]));
169
168
  }
170
- //#endregion
171
- //#region src/lib/stores/mobile-sidebar.svelte.ts
169
+ // src/lib/stores/mobile-sidebar.svelte.ts
172
170
  var open = false;
173
171
  var mobileSidebar = {
174
172
  get open() {
@@ -181,8 +179,7 @@ var mobileSidebar = {
181
179
  open = !open;
182
180
  }
183
181
  };
184
- //#endregion
185
- //#region src/lib/components/MobileSidebarToggle.svelte
182
+ // src/lib/components/MobileSidebarToggle.svelte
186
183
  function MobileSidebarToggle($$renderer, $$props) {
187
184
  $$renderer.component(($$renderer) => {
188
185
  let { buttonRef = null, controls = "mobile-navigation" } = $$props;
@@ -193,8 +190,7 @@ function MobileSidebarToggle($$renderer, $$props) {
193
190
  $.bind_props($$props, { buttonRef });
194
191
  });
195
192
  }
196
- //#endregion
197
- //#region src/lib/components/ScrollToTop.svelte
193
+ // src/lib/components/ScrollToTop.svelte
198
194
  function ScrollToTop($$renderer, $$props) {
199
195
  $$renderer.component(($$renderer) => {
200
196
  const SCROLL_THRESHOLD = 300;
@@ -221,8 +217,7 @@ function ScrollToTop($$renderer, $$props) {
221
217
  $$renderer.push(`<!----></button>`);
222
218
  });
223
219
  }
224
- //#endregion
225
- //#region src/lib/stores/mobile-sidebar-gesture.ts
220
+ // src/lib/stores/mobile-sidebar-gesture.ts
226
221
  function createEdgeSwipeTracker(options = {}) {
227
222
  const edgeWidth = options.edgeWidth ?? 36;
228
223
  const openDistance = options.openDistance ?? 40;
@@ -261,8 +256,7 @@ function createEdgeSwipeTracker(options = {}) {
261
256
  }
262
257
  };
263
258
  }
264
- //#endregion
265
- //#region src/lib/hosts/mutation-refresh.ts
259
+ // src/lib/hosts/mutation-refresh.ts
266
260
  var noImpact = {
267
261
  documents: false,
268
262
  folders: false,
@@ -309,8 +303,7 @@ function mutationRefreshImpact(input, init) {
309
303
  function hasMutationRefreshImpact(impact) {
310
304
  return impact.documents || impact.folders || impact.tags;
311
305
  }
312
- //#endregion
313
- //#region src/lib/hosts/realtime-context.ts
306
+ // src/lib/hosts/realtime-context.ts
314
307
  var REALTIME_ADAPTER = Symbol("docsmint-realtime-adapter");
315
308
  function provideDocsmintRealtimeAdapter(adapter) {
316
309
  setContext(REALTIME_ADAPTER, adapter);
@@ -319,8 +312,7 @@ function provideDocsmintRealtimeAdapter(adapter) {
319
312
  function getDocsmintRealtimeAdapter() {
320
313
  return getContext(REALTIME_ADAPTER);
321
314
  }
322
- //#endregion
323
- //#region src/lib/hosts/DocsmintAppShellHost.svelte
315
+ // src/lib/hosts/DocsmintAppShellHost.svelte
324
316
  function DocsmintAppShellHost($$renderer, $$props) {
325
317
  $$renderer.component(($$renderer) => {
326
318
  const { route, request = { fetch }, realtime, share, extensions = {}, children } = $$props;
@@ -417,5 +409,4 @@ function DocsmintAppShellHost($$renderer, $$props) {
417
409
  $$renderer.subsume($$inner_renderer);
418
410
  });
419
411
  }
420
- //#endregion
421
412
  export { DocsmintAppShellHost, getDocsmintRealtimeAdapter, getDocsmintShareAdapter };
@@ -1,19 +1,19 @@
1
- import { t as Circle_check } from "./circle-check-BgP9MRRv.js";
2
- import { t as Copy } from "./copy-BYqYnBIQ.js";
3
- import { t as Loader_circle } from "./loader-circle-D3NWhCif.js";
4
- import { t as action_cancel } from "./action_cancel-OVgQDP5Q.js";
5
- import { t as action_create } from "./action_create-hqJWjyqh.js";
6
- import { t as action_delete } from "./action_delete-B1-16jSo.js";
7
- import { t as action_save } from "./action_save-Bx7vlLZI.js";
8
- import { a as categories_delete_success_description, c as categories_delete_description, i as categories_delete_title, l as categories_create_title, n as categories_name_placeholder, o as categories_delete_success, r as categories_edit_title, s as categories_delete_error, t as categories_update_error, u as categories_create_error } from "./categories_update_error-DkKgsqdD.js";
9
- import { a as getDocsmintRequestAdapter } from "./route-context-BPRerEtZ.js";
10
- import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-SqCnTT43.js";
11
- import { t as Input } from "./input-DVrBVPgs.js";
12
- import { t as Label } from "./label-vtCK3pTp.js";
13
- import { a as listApiKeys, n as categoryIdFromScopes, o as revealCategoryApiKey, r as createCategoryApiKey, s as revokeApiKey, t as apiKeyClipboardValue } from "./api-keys-CHOrbU-Q.js";
14
- import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "./select-value-Ce5c_fuA.js";
1
+ import { a as Dialog_content, i as Dialog_description, n as Dialog_header, o as Dialog, r as Dialog_footer, s as Button, t as Dialog_title } from "./dialog-C6U-DqLr.js";
2
+ import { t as Input } from "./input-Bxw9sFF0.js";
3
+ import { t as Label } from "./label-CMWedjs6.js";
4
+ import { t as action_cancel } from "./action_cancel-CsBbxW0m.js";
5
+ import { t as action_create } from "./action_create-BV4ZOcQW.js";
6
+ import { t as action_delete } from "./action_delete-CNmRhKQP.js";
7
+ import { t as action_save } from "./action_save-YCfMiKb4.js";
8
+ import { a as categories_delete_success_description, c as categories_delete_description, i as categories_delete_title, l as categories_create_title, n as categories_name_placeholder, o as categories_delete_success, r as categories_edit_title, s as categories_delete_error, t as categories_update_error, u as categories_create_error } from "./categories_update_error-Bfx5vtvt.js";
9
+ import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "./select-value-TgslfiUB.js";
10
+ import { t as Circle_check } from "./circle-check-DQhTm9YR.js";
11
+ import { t as Copy } from "./copy-2jsznHar.js";
12
+ import { t as Loader_circle } from "./loader-circle-zbKj9Qb-.js";
13
+ import { a as listApiKeys, n as categoryIdFromScopes, o as revealCategoryApiKey, r as createCategoryApiKey, s as revokeApiKey, t as apiKeyClipboardValue } from "./api-keys-G6oimJIv.js";
14
+ import { a as getDocsmintRequestAdapter } from "./route-context-BsqLFt5Y.js";
15
15
  import * as $ from "svelte/internal/server";
16
- //#region src/lib/components/sidebar/category-api-key-flow.ts
16
+ // src/lib/components/sidebar/category-api-key-flow.ts
17
17
  async function issueCategoryKeyAfterSavingAccess(input) {
18
18
  if (!input.draft.name.trim()) throw new Error("Name is required");
19
19
  if (input.draft.apiMode !== "category") throw new Error("Select Category API access");
@@ -22,15 +22,13 @@ async function issueCategoryKeyAfterSavingAccess(input) {
22
22
  if (!saved || saved.id !== input.categoryId) throw new Error("Failed to save Category API access");
23
23
  return input.issue(input.categoryId);
24
24
  }
25
- //#endregion
26
- //#region src/lib/components/sidebar/category-dialog-feedback.ts
25
+ // src/lib/components/sidebar/category-dialog-feedback.ts
27
26
  function categoryDialogErrorMessage(error, fallback) {
28
27
  if (typeof error === "object" && error !== null && "status" in error && error.status === 409) return "A category with this name already exists.";
29
28
  if (error instanceof Error && error.message.trim().length > 0) return error.message;
30
29
  return fallback;
31
30
  }
32
- //#endregion
33
- //#region src/lib/components/sidebar/CategoryDialog.svelte
31
+ // src/lib/components/sidebar/CategoryDialog.svelte
34
32
  function CategoryDialog($$renderer, $$props) {
35
33
  $$renderer.component(($$renderer) => {
36
34
  const Select$1 = {
@@ -595,5 +593,4 @@ function CategoryDialog($$renderer, $$props) {
595
593
  $.bind_props($$props, { open });
596
594
  });
597
595
  }
598
- //#endregion
599
596
  export { CategoryDialog as t };