@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,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/search_clear.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/search_clear.js
3
3
  var t = () => "Clear search", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Search", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t)));
4
- //#endregion
5
4
  export { n, i as t };
@@ -1,10 +1,10 @@
1
- import { t as e } from "./utils-BlHvR6OL.js";
2
- import { $ as t, B as n, C as r, E as i, G as a, H as o, I as s, J as c, K as l, L as u, P as d, Q as f, S as p, T as m, U as h, V as g, W as _, X as v, Y as y, Z as b, _ as x, a as S, b as C, et as w, g as T, h as E, i as ee, k as te, m as D, n as O, q as k, r as ne, t as A, v as j, x as M, y as N, z as P } from "./popper-layer-force-mount-CNtiLgbV.js";
1
+ import { t as e } from "./utils-DH0uqK40.js";
2
+ import { $ as t, B as n, C as r, E as i, G as a, H as o, I as s, J as c, K as l, L as u, P as d, Q as f, S as p, T as m, U as h, V as g, W as _, X as v, Y as y, Z as b, _ as x, a as S, b as C, et as w, g as T, h as E, i as ee, k as te, m as D, n as O, q as k, r as ne, t as A, v as j, x as M, y as N, z as P } from "./popper-layer-force-mount-BG0eyrCk.js";
3
3
  import "svelte/internal/disclose-version";
4
4
  import * as F from "svelte/internal/client";
5
5
  import { untrack as re } from "svelte";
6
6
  import { on as ie } from "svelte/events";
7
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/sr-only-styles.js
7
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/sr-only-styles.js
8
8
  var I = {
9
9
  position: "absolute",
10
10
  width: "1px",
@@ -18,13 +18,11 @@ var I = {
18
18
  transform: "translateX(-100%)"
19
19
  };
20
20
  t(I);
21
- //#endregion
22
- //#region ../node_modules/.bun/svelte-toolbelt@0.10.6+977910912442fc76/node_modules/svelte-toolbelt/dist/utils/on-mount-effect.svelte.js
21
+ // ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/on-mount-effect.svelte.js
23
22
  function L(e) {
24
23
  F.user_effect(() => re(() => e()));
25
24
  }
26
- //#endregion
27
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/hidden-input.svelte
25
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/hidden-input.svelte
28
26
  var R = /* @__PURE__ */ new Set([
29
27
  "$$slots",
30
28
  "$$events",
@@ -57,8 +55,7 @@ function B(e, t) {
57
55
  F.get(i).type === "checkbox" ? e(s) : e(c, -1);
58
56
  }), F.append(e, a), F.pop();
59
57
  }
60
- //#endregion
61
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js
58
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js
62
59
  var V = class {
63
60
  #e;
64
61
  #t = F.derived(() => this.#e.candidateValues());
@@ -213,7 +210,7 @@ var q = new b("Select.Content | Combobox.Content"), J = class {
213
210
  this.highlightedNode = e, e && (this.isUsingKeyboard || t) && this.scrollHighlightedNodeIntoView(e);
214
211
  }
215
212
  scrollHighlightedNodeIntoView(e) {
216
- !this.viewportNode || !this.contentIsPositioned || e.scrollIntoView({ block: this.opts.scrollAlignment.current });
213
+ this.viewportNode && this.contentIsPositioned && e.scrollIntoView({ block: this.opts.scrollAlignment.current });
217
214
  }
218
215
  getCandidateNodes() {
219
216
  let e = this.contentNode;
@@ -494,13 +491,7 @@ var q = new b("Select.Content | Combobox.Content"), J = class {
494
491
  return;
495
492
  }
496
493
  let t = e.ctrlKey || e.altKey || e.metaKey, n = e.key.length === 1, r = e.key === " ", i = this.root.getCandidateNodes();
497
- if (e.key !== "Tab") {
498
- if (!t && (n || r)) {
499
- !this.#e.handleTypeaheadSearch(e.key, i) && r && (e.preventDefault(), this.#i());
500
- return;
501
- }
502
- this.root.highlightedNode || this.root.setHighlightedToFirstCandidate();
503
- }
494
+ e.key !== "Tab" && (!t && (n || r) ? !this.#e.handleTypeaheadSearch(e.key, i) && r && (e.preventDefault(), this.#i()) : this.root.highlightedNode || this.root.setHighlightedToFirstCandidate());
504
495
  }
505
496
  onclick(e) {
506
497
  e.currentTarget.focus();
@@ -557,7 +548,7 @@ var q = new b("Select.Content | Combobox.Content"), J = class {
557
548
  }), v(() => this.root.opts.open.current, () => {
558
549
  this.root.opts.open.current || (this.root.contentIsPositioned = !1, this.isPositioned = !1);
559
550
  }), v([() => this.isPositioned, () => this.root.highlightedNode], () => {
560
- !this.isPositioned || !this.root.highlightedNode || this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode);
551
+ this.isPositioned && this.root.highlightedNode && this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode);
561
552
  }), this.onpointermove = this.onpointermove.bind(this);
562
553
  }
563
554
  onpointermove(e) {
@@ -565,14 +556,10 @@ var q = new b("Select.Content | Combobox.Content"), J = class {
565
556
  }
566
557
  #t = F.derived(() => S(this.root.isCombobox ? "combobox" : "select"));
567
558
  onInteractOutside = (e) => {
568
- if (e.target === this.root.triggerNode || e.target === this.root.inputNode) {
569
- e.preventDefault();
570
- return;
571
- }
572
- this.opts.onInteractOutside.current(e), !e.defaultPrevented && this.root.handleClose();
559
+ e.target === this.root.triggerNode || e.target === this.root.inputNode ? e.preventDefault() : (this.opts.onInteractOutside.current(e), e.defaultPrevented || this.root.handleClose());
573
560
  };
574
561
  onEscapeKeydown = (e) => {
575
- this.opts.onEscapeKeydown.current(e), !e.defaultPrevented && this.root.handleClose();
562
+ this.opts.onEscapeKeydown.current(e), e.defaultPrevented || this.root.handleClose();
576
563
  };
577
564
  onOpenAutoFocus = (e) => {
578
565
  e.preventDefault();
@@ -664,11 +651,7 @@ var q = new b("Select.Content | Combobox.Content"), J = class {
664
651
  handleSelect() {
665
652
  if (this.opts.disabled.current) return;
666
653
  let e = this.opts.value.current === this.root.opts.value.current;
667
- if (!this.root.opts.allowDeselect.current && e && !this.root.isMulti) {
668
- this.root.handleClose();
669
- return;
670
- }
671
- this.root.toggleItem(this.opts.value.current, this.opts.label.current), !this.root.isMulti && !e && this.root.handleClose();
654
+ !this.root.opts.allowDeselect.current && e && !this.root.isMulti ? this.root.handleClose() : (this.root.toggleItem(this.opts.value.current, this.opts.label.current), !this.root.isMulti && !e && this.root.handleClose());
672
655
  }
673
656
  #r = F.derived(() => ({
674
657
  selected: this.isSelected,
@@ -684,15 +667,9 @@ var q = new b("Select.Content | Combobox.Content"), J = class {
684
667
  e.preventDefault();
685
668
  }
686
669
  onpointerup(e) {
687
- if (!(e.defaultPrevented || !this.opts.ref.current)) {
688
- if (e.pointerType === "touch" && !m) {
689
- ie(this.opts.ref.current, "click", () => {
690
- this.handleSelect(), this.root.setHighlightedNode(this.opts.ref.current);
691
- }, { once: !0 });
692
- return;
693
- }
694
- e.preventDefault(), this.handleSelect(), e.pointerType === "touch" && this.root.setHighlightedNode(this.opts.ref.current);
695
- }
670
+ !e.defaultPrevented && this.opts.ref.current && (e.pointerType === "touch" && !m ? ie(this.opts.ref.current, "click", () => {
671
+ this.handleSelect(), this.root.setHighlightedNode(this.opts.ref.current);
672
+ }, { once: !0 }) : (e.preventDefault(), this.handleSelect(), e.pointerType === "touch" && this.root.setHighlightedNode(this.opts.ref.current)));
696
673
  }
697
674
  onpointermove(e) {
698
675
  e.pointerType !== "touch" && this.root.highlightedNode !== this.opts.ref.current && this.root.setHighlightedNode(this.opts.ref.current);
@@ -788,8 +765,7 @@ var q = new b("Select.Content | Combobox.Content"), J = class {
788
765
  F.set(this.#t, e);
789
766
  }
790
767
  };
791
- //#endregion
792
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte
768
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte
793
769
  function X(e, t) {
794
770
  F.push(t, !0);
795
771
  let n = F.prop(t, "value", 15), r = de.create({ value: w(() => n()) });
@@ -810,8 +786,7 @@ function X(e, t) {
810
786
  r.shouldRender && e(o);
811
787
  }), F.append(e, i), F.pop();
812
788
  }
813
- //#endregion
814
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/select/components/select-content.svelte
789
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-content.svelte
815
790
  var pe = /* @__PURE__ */ new Set([
816
791
  "$$slots",
817
792
  "$$events",
@@ -937,8 +912,7 @@ function me(e, t) {
937
912
  a() ? e(_) : a() || e(v, 1);
938
913
  }), F.append(e, h), F.pop();
939
914
  }
940
- //#endregion
941
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/utilities/mounted.svelte
915
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/mounted.svelte
942
916
  function he(e, t) {
943
917
  F.push(t, !0);
944
918
  let n = F.prop(t, "mounted", 15, !1), r = F.prop(t, "onMountedChange", 3, p);
@@ -946,8 +920,7 @@ function he(e, t) {
946
920
  n(!1), r()(!1);
947
921
  })), F.pop();
948
922
  }
949
- //#endregion
950
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/select/components/select-item.svelte
923
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-item.svelte
951
924
  var ge = /* @__PURE__ */ new Set([
952
925
  "$$slots",
953
926
  "$$events",
@@ -1001,8 +974,7 @@ function ye(e, t) {
1001
974
  }
1002
975
  }), F.append(e, m), F.pop();
1003
976
  }
1004
- //#endregion
1005
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte
977
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte
1006
978
  var be = /* @__PURE__ */ new Set([
1007
979
  "$$slots",
1008
980
  "$$events",
@@ -1032,8 +1004,7 @@ function Se(e, t) {
1032
1004
  t.child ? e(u) : e(d, -1);
1033
1005
  }), F.append(e, c), F.pop();
1034
1006
  }
1035
- //#endregion
1036
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/select/components/select.svelte
1007
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select.svelte
1037
1008
  var Ce = F.from_html("<!> <!>", 1);
1038
1009
  function we(e, t) {
1039
1010
  F.push(t, !0);
@@ -1109,8 +1080,7 @@ function we(e, t) {
1109
1080
  F.get(C) ? e(S) : e(T, -1);
1110
1081
  }), F.append(e, y), F.pop();
1111
1082
  }
1112
- //#endregion
1113
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/select/components/select-value.svelte
1083
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-value.svelte
1114
1084
  var Te = /* @__PURE__ */ new Set([
1115
1085
  "$$slots",
1116
1086
  "$$events",
@@ -1163,8 +1133,7 @@ function Q(e, t) {
1163
1133
  t.child ? e(u) : e(d, -1);
1164
1134
  }), F.append(e, c), F.pop();
1165
1135
  }
1166
- //#endregion
1167
- //#region ../node_modules/.bun/bits-ui@2.19.0+aaf88cf424cc7a77/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte
1136
+ // ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte
1168
1137
  var De = /* @__PURE__ */ new Set([
1169
1138
  "$$slots",
1170
1139
  "$$events",
@@ -1209,8 +1178,7 @@ function $(e, t) {
1209
1178
  });
1210
1179
  }), F.append(e, l), F.pop();
1211
1180
  }
1212
- //#endregion
1213
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select.svelte
1181
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select.svelte
1214
1182
  var ke = /* @__PURE__ */ new Set([
1215
1183
  "$$slots",
1216
1184
  "$$events",
@@ -1243,8 +1211,7 @@ function Ae(e, t) {
1243
1211
  }));
1244
1212
  }), F.append(e, i), F.pop();
1245
1213
  }
1246
- //#endregion
1247
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-content.svelte
1214
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-content.svelte
1248
1215
  var je = /* @__PURE__ */ new Set([
1249
1216
  "$$slots",
1250
1217
  "$$events",
@@ -1299,8 +1266,7 @@ function Me(t, n) {
1299
1266
  }
1300
1267
  F.append(t, o), F.pop();
1301
1268
  }
1302
- //#endregion
1303
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-item.svelte
1269
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-item.svelte
1304
1270
  var Ne = /* @__PURE__ */ new Set([
1305
1271
  "$$slots",
1306
1272
  "$$events",
@@ -1340,8 +1306,7 @@ function Pe(t, n) {
1340
1306
  }
1341
1307
  F.append(t, a), F.pop();
1342
1308
  }
1343
- //#endregion
1344
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-trigger.svelte
1309
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-trigger.svelte
1345
1310
  var Fe = /* @__PURE__ */ new Set([
1346
1311
  "$$slots",
1347
1312
  "$$events",
@@ -1414,8 +1379,7 @@ function Ie(t, n) {
1414
1379
  n.child ? e(s) : e(c, -1);
1415
1380
  }), F.append(t, a), F.pop();
1416
1381
  }
1417
- //#endregion
1418
- //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-value.svelte
1382
+ // ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-value.svelte
1419
1383
  var Le = /* @__PURE__ */ new Set([
1420
1384
  "$$slots",
1421
1385
  "$$events",
@@ -1445,5 +1409,4 @@ function Re(e, t) {
1445
1409
  t.children ? e(a) : e(o, -1);
1446
1410
  }), F.append(e, r);
1447
1411
  }
1448
- //#endregion
1449
1412
  export { Ae as a, Me as i, Ie as n, Pe as r, Re as t };
@@ -1,6 +1,6 @@
1
- import { t as e } from "./auth-client-C5EyWdAF.js";
2
- import { n as t } from "./client-GbtOH90i.js";
3
- //#region src/lib/api/settings.ts
1
+ import { t as e } from "./auth-client-Dx7d9Tzo.js";
2
+ import { n as t } from "./client-BDdDd84W.js";
3
+ // src/lib/api/settings.ts
4
4
  async function n() {
5
5
  try {
6
6
  let e = await t("/api/auth/get-session");
@@ -41,5 +41,4 @@ function a(e) {
41
41
  async function o() {
42
42
  await t("/api/auth/delete-user", { method: "POST" });
43
43
  }
44
- //#endregion
45
44
  export { r as a, a as i, i as n, n as r, o as t };
@@ -1,5 +1,5 @@
1
- import { n as e } from "./client-GbtOH90i.js";
2
- //#region src/lib/api/share.ts
1
+ import { n as e } from "./client-BDdDd84W.js";
2
+ // src/lib/api/share.ts
3
3
  function t(t, n) {
4
4
  return !t.documentId && !t.folderId && !t.categoryId ? Promise.reject(/* @__PURE__ */ Error("createShareLink: documentId, folderId, or categoryId is required")) : e("/api/share", {
5
5
  method: "POST",
@@ -25,5 +25,4 @@ function a(t, n) {
25
25
  function o(t, n) {
26
26
  return e(`/api/share/${t}/guests/${encodeURIComponent(n)}`, { method: "DELETE" });
27
27
  }
28
- //#endregion
29
28
  export { o as a, n as i, t as n, i as o, r, a as t };
@@ -1,20 +1,20 @@
1
- import { t as e } from "./Icon-3EYzvNyk.js";
2
- import { t } from "./circle-check-BAN-D7yg.js";
3
- import { t as n } from "./loader-circle-D3t5NkvC.js";
4
- import { t as r } from "./action_cancel-Cuxsznzz.js";
5
- import { r as i } from "./sidebar_uncategorized-qJ2_Aonf.js";
6
- import { t as a } from "./action_create-CtBQrRuj.js";
7
- import { t as o } from "./action_save-BRN2Z_GP.js";
8
- import { n as s, t as c } from "./folders_rename-BJo4Gipq.js";
9
- import { t as l } from "./error_generic-CzNtmBT4.js";
10
- import { a as u, i as d, n as f, o as p, r as m, s as h, t as g } from "./dialog-a_ZcpEC5.js";
11
- import { t as _ } from "./input-Q_7qCfnU.js";
12
- import { t as v } from "./label-Dj8FDEhf.js";
1
+ import { t as e } from "./Icon-CiHcxcpv.js";
2
+ import { t } from "./circle-check-B4F_qgPx.js";
3
+ import { t as n } from "./loader-circle-skKwfRCB.js";
4
+ import { t as r } from "./action_cancel-BdsWzQKU.js";
5
+ import { r as i } from "./sidebar_uncategorized-C5PGOflV.js";
6
+ import { t as a } from "./action_create-ByaroO1_.js";
7
+ import { t as o } from "./action_save-DeqrZQwV.js";
8
+ import { n as s, t as c } from "./folders_rename-Cxbg5GIw.js";
9
+ import { t as l } from "./error_generic-BlWqOE-a.js";
10
+ import { a as u, i as d, n as f, o as p, r as m, s as h, t as g } from "./dialog-C0Bpok1d.js";
11
+ import { t as _ } from "./input-CbeB9220.js";
12
+ import { t as v } from "./label-CfBWf3gI.js";
13
13
  import "svelte/internal/disclose-version";
14
14
  import * as y from "svelte/internal/client";
15
15
  import { getContext as b, setContext as x } from "svelte";
16
16
  import "svelte/internal/flags/legacy";
17
- //#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/file-text.svelte
17
+ // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/file-text.svelte
18
18
  function S(t, n) {
19
19
  let r = y.legacy_rest_props(n, [
20
20
  "children",
@@ -39,8 +39,7 @@ function S(t, n) {
39
39
  $$slots: { default: !0 }
40
40
  }));
41
41
  }
42
- //#endregion
43
- //#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/plus.svelte
42
+ // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/plus.svelte
44
43
  function C(t, n) {
45
44
  let r = y.legacy_rest_props(n, [
46
45
  "children",
@@ -59,8 +58,7 @@ function C(t, n) {
59
58
  $$slots: { default: !0 }
60
59
  }));
61
60
  }
62
- //#endregion
63
- //#region src/lib/components/FolderDialog.svelte
61
+ // src/lib/components/FolderDialog.svelte
64
62
  var w = y.from_html("<!> <!>", 1), T = y.from_html("<div class=\"space-y-3 rounded-lg border border-primary/30 bg-primary/10 p-4\" role=\"status\" aria-live=\"polite\"><div class=\"flex items-start gap-3\"><!> <div><p class=\"text-sm font-medium text-foreground\">Folder created</p> <p class=\"text-sm text-muted-foreground\"> </p></div></div></div>"), E = y.from_html("<p id=\"folder-dialog-name-error\" class=\"text-xs text-destructive\" role=\"alert\"> </p>"), D = y.from_html("<form class=\"space-y-4\"><div class=\"space-y-2\"><!> <!> <!></div></form>"), O = y.from_html("<!> ", 1), k = y.from_html("<!> <!> <!>", 1);
65
63
  function A(e, b) {
66
64
  y.push(b, !0);
@@ -71,22 +69,18 @@ function A(e, b) {
71
69
  let N = y.derived(() => y.get(C).trim()), P = y.derived(() => b.mode === "edit" ? c() : s()), F = y.derived(() => b.mode === "edit" ? o() : a());
72
70
  async function I(e) {
73
71
  if (e?.preventDefault(), !y.get(j)) {
74
- if (y.get(N).length === 0) {
75
- y.set(A, "Folder name is required");
76
- return;
77
- }
78
- if (!b.onSave) {
79
- R();
80
- return;
81
- }
82
- y.set(j, !0);
83
- try {
84
- let e = await b.onSave(y.get(N));
85
- S() ? R(!0) : y.set(M, typeof e == "object" && e && "name" in e && typeof e.name == "string" ? e.name : y.get(N), !0);
86
- } catch (e) {
87
- console.error("FolderDialog: save failed", e), y.set(A, e instanceof Error ? e.message : l(), !0);
88
- } finally {
89
- y.set(j, !1);
72
+ if (y.get(N).length === 0) y.set(A, "Folder name is required");
73
+ else if (!b.onSave) R();
74
+ else {
75
+ y.set(j, !0);
76
+ try {
77
+ let e = await b.onSave(y.get(N));
78
+ S() ? R(!0) : y.set(M, typeof e == "object" && e && "name" in e && typeof e.name == "string" ? e.name : y.get(N), !0);
79
+ } catch (e) {
80
+ console.error("FolderDialog: save failed", e), y.set(A, e instanceof Error ? e.message : l(), !0);
81
+ } finally {
82
+ y.set(j, !1);
83
+ }
90
84
  }
91
85
  }
92
86
  }
@@ -94,7 +88,7 @@ function A(e, b) {
94
88
  y.set(M, null), y.set(C, ""), y.set(A, null);
95
89
  }
96
90
  function R(e = !1) {
97
- y.get(j) && !e || (x(!1), b.onClose?.());
91
+ (!y.get(j) || e) && (x(!1), b.onClose?.());
98
92
  }
99
93
  p(e, {
100
94
  onOpenChange: (e) => {
@@ -260,8 +254,7 @@ function A(e, b) {
260
254
  $$slots: { default: !0 }
261
255
  }), y.pop();
262
256
  }
263
- //#endregion
264
- //#region src/lib/hosts/share-context.ts
257
+ // src/lib/hosts/share-context.ts
265
258
  var j = Symbol("docsmint-share-adapter"), M = { displayMode: "standalone" };
266
259
  function N(e) {
267
260
  x(j, e);
@@ -269,5 +262,4 @@ function N(e) {
269
262
  function P() {
270
263
  return b(j) ?? M;
271
264
  }
272
- //#endregion
273
265
  export { S as a, C as i, N as n, A as r, P as t };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/action_back.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/action_back.js
3
3
  var t = () => "Back", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Import", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "Dashboard - DocsMint", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t))), s = () => "Your recent documents and quick access", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "Duplicate", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t))), d = () => "Move to folder", f = ((t = {}, n = {}) => (n.locale ?? e(), d(t))), p = () => "Open", m = ((t = {}, n = {}) => (n.locale ?? e(), p(t))), h = () => "Open menu", g = ((t = {}, n = {}) => (n.locale ?? e(), h(t))), _ = (e) => `Updated ${e?.time}`, v = ((t, n = {}) => (n.locale ?? e(), _(t))), y = (e) => `${e?.name} - DocsMint`, b = ((t, n = {}) => (n.locale ?? e(), y(t))), x = () => "Delete this folder and all its contents? This cannot be undone.", S = ((t = {}, n = {}) => (n.locale ?? e(), x(t))), C = () => "document", w = ((t = {}, n = {}) => (n.locale ?? e(), C(t))), T = () => "documents", E = ((t = {}, n = {}) => (n.locale ?? e(), T(t))), D = () => "No folders yet", O = ((t = {}, n = {}) => (n.locale ?? e(), D(t))), ee = () => "Create a folder to organize your documents.", k = ((t = {}, n = {}) => (n.locale ?? e(), ee(t))), A = () => "Move", j = ((t = {}, n = {}) => (n.locale ?? e(), A(t))), M = () => "subfolder", N = ((t = {}, n = {}) => (n.locale ?? e(), M(t))), P = () => "subfolders", F = ((t = {}, n = {}) => (n.locale ?? e(), P(t))), I = () => "Close", L = ((t = {}, n = {}) => (n.locale ?? e(), I(t))), R = () => "Done", z = ((t = {}, n = {}) => (n.locale ?? e(), R(t))), B = () => "No files selected", V = ((t = {}, n = {}) => (n.locale ?? e(), B(t))), H = () => "Failed", U = ((t = {}, n = {}) => (n.locale ?? e(), H(t))), W = () => "Processing", G = ((t = {}, n = {}) => (n.locale ?? e(), W(t))), K = () => "Queued", q = ((t = {}, n = {}) => (n.locale ?? e(), K(t))), J = (e) => `${e?.imported} imported, ${e?.failed} failed`, Y = ((t, n = {}) => (n.locale ?? e(), J(t))), X = () => "Importing documents", Z = ((t = {}, n = {}) => (n.locale ?? e(), X(t))), Q = (e) => `${e?.done} of ${e?.total} complete`, $ = ((t, n = {}) => (n.locale ?? e(), Q(t))), te = () => "Uploading", ne = ((t = {}, n = {}) => (n.locale ?? e(), te(t))), re = () => "Copied", ie = ((t = {}, n = {}) => (n.locale ?? e(), re(t)));
4
- //#endregion
5
4
  export { m as C, o as D, c as E, i as O, g as S, u as T, E as _, Y as a, b, U as c, L as d, F as f, O as g, k as h, Z as i, n as k, V as l, j as m, ne as n, q as o, N as p, $ as r, G as s, ie as t, z as u, w as v, f as w, v as x, S as y };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/action_done.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/action_done.js
3
3
  var t = () => "Done", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Add", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "Copy", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t))), s = () => "Create share link", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "Create Share Link", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t))), d = () => "Creating...", f = ((t = {}, n = {}) => (n.locale ?? e(), d(t))), p = () => "Enter password", m = ((t = {}, n = {}) => (n.locale ?? e(), p(t))), h = () => "Expiration", g = ((t = {}, n = {}) => (n.locale ?? e(), h(t))), _ = () => "1 day", v = ((t = {}, n = {}) => (n.locale ?? e(), _(t))), y = () => "1 hour", b = ((t = {}, n = {}) => (n.locale ?? e(), y(t))), x = () => "30 days", S = ((t = {}, n = {}) => (n.locale ?? e(), x(t))), C = () => "7 days", w = ((t = {}, n = {}) => (n.locale ?? e(), C(t))), T = () => "Never", E = ((t = {}, n = {}) => (n.locale ?? e(), T(t))), D = () => "Guest access", O = ((t = {}, n = {}) => (n.locale ?? e(), D(t))), k = () => "Link copied!", A = ((t = {}, n = {}) => (n.locale ?? e(), k(t))), j = () => "Share link created!", M = ((t = {}, n = {}) => (n.locale ?? e(), j(t))), N = () => "Password protection", P = ((t = {}, n = {}) => (n.locale ?? e(), N(t))), F = () => "Toggle password protection", 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,8 +1,8 @@
1
- import { t as e } from "./context-D0zPFXZ4.js";
2
- import { t } from "./editor-content-sanitizer-CWjqiz0T.js";
1
+ import { t as e } from "./editor-content-sanitizer-5MjSVPVn.js";
2
+ import { t } from "./context-BguSRnCt.js";
3
3
  import "svelte/internal/disclose-version";
4
4
  import * as n from "svelte/internal/client";
5
- //#region src/lib/components/editor/shared-document.ts
5
+ // src/lib/components/editor/shared-document.ts
6
6
  var r = /^\/api\/attachments\/[0-9a-f-]+\/raw$/i, i = /* @__PURE__ */ new Set([
7
7
  "http:",
8
8
  "https:",
@@ -45,26 +45,26 @@ function l(e) {
45
45
  }
46
46
  return (e.content ?? []).map(l).join("");
47
47
  }
48
- function u(e) {
49
- let n = (e) => {
50
- if (e.type === "text") return l(e);
51
- let i = c(e.attrs), o = (e.content ?? []).map(n).join("");
52
- switch (e.type) {
48
+ function u(t) {
49
+ let n = (t) => {
50
+ if (t.type === "text") return l(t);
51
+ let i = c(t.attrs), o = (t.content ?? []).map(n).join("");
52
+ switch (t.type) {
53
53
  case "paragraph": return `<p${i}>${o}</p>`;
54
54
  case "heading": {
55
- let t = Math.min(Math.max(Number(e.attrs?.level ?? 1), 1), 6);
56
- return `<h${t}${i}>${(e.content ?? []).map(l).join("")}</h${t}>`;
55
+ let e = Math.min(Math.max(Number(t.attrs?.level ?? 1), 1), 6);
56
+ return `<h${e}${i}>${(t.content ?? []).map(l).join("")}</h${e}>`;
57
57
  }
58
58
  case "bulletList": return `<ul${i}>${o}</ul>`;
59
59
  case "orderedList": {
60
- let t = Number(e.attrs?.start ?? 1);
61
- return `<ol${Number.isSafeInteger(t) && t > 1 ? ` start="${t}"` : ""}${i}>${o}</ol>`;
60
+ let e = Number(t.attrs?.start ?? 1);
61
+ return `<ol${Number.isSafeInteger(e) && e > 1 ? ` start="${e}"` : ""}${i}>${o}</ol>`;
62
62
  }
63
63
  case "listItem": return `<li${i}>${o}</li>`;
64
64
  case "taskList": return `<ul data-type="taskList">${o}</ul>`;
65
65
  case "taskItem": {
66
- let t = e.attrs?.checked === !0 || e.attrs?.checked === "true";
67
- return `<li data-type="taskItem"${t ? " data-checked=\"true\"" : ""}><label><input type="checkbox" disabled${t ? " checked" : ""} /></label><div>${o}</div></li>`;
66
+ let e = t.attrs?.checked === !0 || t.attrs?.checked === "true";
67
+ return `<li data-type="taskItem"${e ? " data-checked=\"true\"" : ""}><label><input type="checkbox" disabled${e ? " checked" : ""} /></label><div>${o}</div></li>`;
68
68
  }
69
69
  case "blockquote": return `<blockquote${i}>${o}</blockquote>`;
70
70
  case "table": return `<table><tbody>${o}</tbody></table>`;
@@ -72,21 +72,21 @@ function u(e) {
72
72
  case "tableHeader": return `<th${i}>${o}</th>`;
73
73
  case "tableCell": return `<td${i}>${o}</td>`;
74
74
  case "codeBlock": {
75
- let t = e.attrs?.language ?? "";
76
- return `<pre><code${t ? ` class="language-${a(t)}"` : ""}>${o}</code></pre>`;
75
+ let e = t.attrs?.language ?? "";
76
+ return `<pre><code${e ? ` class="language-${a(e)}"` : ""}>${o}</code></pre>`;
77
77
  }
78
78
  case "horizontalRule": return "<hr />";
79
79
  case "hardBreak": return "<br />";
80
80
  case "image": {
81
- let n = e.attrs?.src ?? "", i = e.attrs?.alt ?? "", o = t(e.attrs);
81
+ let n = t.attrs?.src ?? "", i = t.attrs?.alt ?? "", o = e(t.attrs);
82
82
  if (o) return `<p class="shared-emoji">${a(o)}</p>`;
83
- let s = Number(e.attrs?.width), c = Number(e.attrs?.height), l = `${Number.isFinite(s) && s > 0 ? ` width="${Math.round(s)}"` : ""}${Number.isFinite(c) && c > 0 ? ` height="${Math.round(c)}"` : ""}`;
83
+ let s = Number(t.attrs?.width), c = Number(t.attrs?.height), l = `${Number.isFinite(s) && s > 0 ? ` width="${Math.round(s)}"` : ""}${Number.isFinite(c) && c > 0 ? ` height="${Math.round(c)}"` : ""}`;
84
84
  return r.test(n) ? `<img data-shared-attachment-src="${a(n)}" alt="${a(i)}"${l} />` : `<img src="${a(n)}" alt="${a(i)}"${l} />`;
85
85
  }
86
86
  default: return o;
87
87
  }
88
88
  };
89
- return (e.content ?? []).map(n).join("");
89
+ return (t.content ?? []).map(n).join("");
90
90
  }
91
91
  function d(e) {
92
92
  return e.replace(/<li>(\s*<input\b[^>]*type=["']checkbox["'][^>]*>)/gi, "<li class=\"task-list-item\">$1");
@@ -117,19 +117,12 @@ async function p(e, t, n = "") {
117
117
  async function m(e) {
118
118
  let t = Array.from(e.querySelectorAll("img"));
119
119
  await Promise.all(t.map(async (e) => {
120
- if (!e.complete) {
121
- if (typeof e.decode == "function") {
122
- await e.decode().catch(() => void 0);
123
- return;
124
- }
125
- await new Promise((t) => {
126
- e.addEventListener("load", () => t(), { once: !0 }), e.addEventListener("error", () => t(), { once: !0 });
127
- });
128
- }
120
+ e.complete || (typeof e.decode == "function" ? await e.decode().catch(() => void 0) : await new Promise((t) => {
121
+ e.addEventListener("load", () => t(), { once: !0 }), e.addEventListener("error", () => t(), { once: !0 });
122
+ }));
129
123
  }));
130
124
  }
131
- //#endregion
132
- //#region src/lib/extensions/shared-document-context.ts
125
+ // src/lib/extensions/shared-document-context.ts
133
126
  var h = /* @__PURE__ */ new Set([
134
127
  "shareToken",
135
128
  "password",
@@ -163,12 +156,11 @@ function _(e) {
163
156
  })
164
157
  });
165
158
  }
166
- //#endregion
167
- //#region src/lib/hosts/DocsmintSharedDocumentHost.svelte
159
+ // src/lib/hosts/DocsmintSharedDocumentHost.svelte
168
160
  var v = n.from_html("<div data-docsmint-shared-document-host=\"\"><div data-extension-zone=\"shared-header-actions\"></div> <!> <div data-extension-zone=\"shared-document-tabs\"></div> <div data-extension-zone=\"shared-document-notes\"></div> <div data-extension-zone=\"shared-document-editor\"><!></div></div>");
169
- function y(t, r) {
161
+ function y(e, r) {
170
162
  n.push(r, !0);
171
- let i = e(), a = n.derived(() => _(r.context));
163
+ let i = t(), a = n.derived(() => _(r.context));
172
164
  function o(e) {
173
165
  return e.permission === "annotate" ? n.get(a).permissions.annotate : n.get(a).permissions.edit;
174
166
  }
@@ -226,7 +218,6 @@ function y(t, r) {
226
218
  };
227
219
  n.if(m, (e) => {
228
220
  n.get(a).permissions.edit && e(h);
229
- }), n.reset(p), n.reset(c), n.append(t, c), n.pop();
221
+ }), n.reset(p), n.reset(c), n.append(e, c), n.pop();
230
222
  }
231
- //#endregion
232
223
  export { y as DocsmintSharedDocumentHost, p as hydrateSharedAttachmentImages, d as markMarkdownTaskItems, u as renderSharedDocument, f as sharedAttachmentHeaders, m as waitForSharedDocumentImages };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/action_copy_content.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/action_copy_content.js
3
3
  var t = () => "Copy content", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Dashboard", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "New folder name", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t))), s = () => "Delete folder", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "Uncategorized", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t)));
4
- //#endregion
5
4
  export { n as a, i, c as n, o as r, u as t };
@@ -1,5 +1,4 @@
1
- import { t as e } from "./runtime-CwWSo6c9.js";
2
- //#region src/lib/paraglide/messages/app_name.js
1
+ import { t as e } from "./runtime-CGUiMzK6.js";
2
+ // src/lib/paraglide/messages/app_name.js
3
3
  var t = () => "DocsMint", n = ((n = {}, r = {}) => (r.locale ?? e(), t(n))), r = () => "Categories", i = ((t = {}, n = {}) => (n.locale ?? e(), r(t))), a = () => "Folders", o = ((t = {}, n = {}) => (n.locale ?? e(), a(t))), s = () => "Clear all filters", c = ((t = {}, n = {}) => (n.locale ?? e(), s(t))), l = () => "Clear filters", u = ((t = {}, n = {}) => (n.locale ?? e(), l(t))), d = () => "Close filters", f = ((t = {}, n = {}) => (n.locale ?? e(), d(t))), p = () => "From", m = ((t = {}, n = {}) => (n.locale ?? e(), p(t))), h = () => "Date range", g = ((t = {}, n = {}) => (n.locale ?? e(), h(t))), _ = () => "To", v = ((t = {}, n = {}) => (n.locale ?? e(), _(t))), y = () => "Find documents by title, content, or tags. Use filters to narrow down results.", b = ((t = {}, n = {}) => (n.locale ?? e(), y(t))), x = () => "Search your knowledge base", S = ((t = {}, n = {}) => (n.locale ?? e(), x(t))), C = () => "Filters", w = ((t = {}, n = {}) => (n.locale ?? e(), C(t))), T = () => "Folders", E = ((t = {}, n = {}) => (n.locale ?? e(), T(t))), D = () => "Search documents by title, content, or tags...", O = ((t = {}, n = {}) => (n.locale ?? e(), D(t))), k = () => "New search", A = ((t = {}, n = {}) => (n.locale ?? e(), k(t))), j = () => "Next page", M = ((t = {}, n = {}) => (n.locale ?? e(), j(t))), N = () => "No results found", P = ((t = {}, n = {}) => (n.locale ?? e(), N(t))), F = (e) => `We couldn't find anything matching "${e?.query}".`, I = ((t, n = {}) => (n.locale ?? e(), F(t))), L = () => "Try different keywords, check your spelling, or broaden your search.", R = ((t = {}, n = {}) => (n.locale ?? e(), L(t))), z = (e) => `Page ${e?.num}`, B = ((t, n = {}) => (n.locale ?? e(), z(t))), ee = () => "Search results pages", V = ((t = {}, n = {}) => (n.locale ?? e(), ee(t))), H = () => "Popular searches", U = ((t = {}, n = {}) => (n.locale ?? e(), H(t))), W = () => "Previous page", G = ((t = {}, n = {}) => (n.locale ?? e(), W(t))), K = (e) => `${e?.count} result for`, q = ((t, n = {}) => (n.locale ?? e(), K(t))), J = (e) => `${e?.count} results for`, Y = ((t, n = {}) => (n.locale ?? e(), J(t))), X = () => "Checking meaning, related concepts, and knowledge graph connections. Results will appear automatically.", Z = ((t = {}, n = {}) => (n.locale ?? e(), X(t))), Q = () => "Semantic search is still working", $ = ((t = {}, n = {}) => (n.locale ?? e(), Q(t))), te = () => "Tags", ne = ((t = {}, n = {}) => (n.locale ?? e(), te(t))), re = () => "Title match", ie = ((t = {}, n = {}) => (n.locale ?? e(), re(t))), ae = (e) => `Search: ${e?.query}`, oe = ((t, n = {}) => (n.locale ?? e(), ae(t))), se = () => "Toggle filters", ce = ((t = {}, n = {}) => (n.locale ?? e(), se(t))), le = () => "Try searching for", ue = ((t = {}, n = {}) => (n.locale ?? e(), le(t))), de = () => "Date (newest first)", fe = ((t = {}, n = {}) => (n.locale ?? e(), de(t))), pe = () => "Date (oldest first)", me = ((t = {}, n = {}) => (n.locale ?? e(), pe(t))), he = () => "Name (A-Z)", ge = ((t = {}, n = {}) => (n.locale ?? e(), he(t))), _e = () => "Name (Z-A)", ve = ((t = {}, n = {}) => (n.locale ?? e(), _e(t))), ye = () => "Relevance", be = ((t = {}, n = {}) => (n.locale ?? e(), ye(t)));
4
- //#endregion
5
4
  export { g as A, A as C, S as D, w as E, o as F, i as I, n as L, f as M, u as N, b as O, c as P, M as S, E as T, V as _, fe as a, I as b, oe as c, $ as d, Z as f, U as g, G as h, me as i, m as j, v as k, ie as l, q as m, ve as n, ue as o, Y as p, ge as r, ce as s, be as t, ne as u, B as v, O as w, P as x, R as y };
@@ -1,5 +1,5 @@
1
1
  import * as e from "svelte/internal/client";
2
- //#region src/lib/stores/subfolders-refresh-store.svelte.ts
2
+ // src/lib/stores/subfolders-refresh-store.svelte.ts
3
3
  var t = e.proxy({}), n = e.proxy({}), r = e.proxy({}), i = e.state(0), a = e.state(null), o = e.proxy({}), s = e.state(0);
4
4
  function c() {
5
5
  e.update(s);
@@ -62,5 +62,4 @@ function b() {
62
62
  function x(e) {
63
63
  return r[e];
64
64
  }
65
- //#endregion
66
65
  export { p as a, v as c, c as d, m as f, y as i, d as l, _ as m, u as n, l as o, f as p, x as r, b as s, g as t, h as u };
@@ -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/search.svelte
5
+ // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/search.svelte
6
6
  function n(n, r) {
7
7
  let i = t.legacy_rest_props(r, [
8
8
  "children",
@@ -25,8 +25,7 @@ function n(n, r) {
25
25
  $$slots: { default: !0 }
26
26
  }));
27
27
  }
28
- //#endregion
29
- //#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/tag.svelte
28
+ // ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/tag.svelte
30
29
  function r(n, r) {
31
30
  let i = t.legacy_rest_props(r, [
32
31
  "children",
@@ -50,5 +49,4 @@ function r(n, r) {
50
49
  $$slots: { default: !0 }
51
50
  }));
52
51
  }
53
- //#endregion
54
52
  export { n, r as t };