@hiai-gg/docsmint 0.6.8 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -4
- package/backend/src/lib/api-keys.ts +14 -6
- package/backend/src/lib/lifecycle-service.ts +397 -73
- package/dist/backend/index.js +13038 -10864
- package/dist/backend-account-runtime-cleanup.js +152 -42
- package/dist/backend-api-key-facade.js +207 -61
- package/dist/backend-pipeline-cancellation.js +144 -42
- package/dist/client.d.ts +12 -2
- package/dist/client.js +83 -30
- package/dist/frontend/{CategoryDialog-CbXBMBZB.js → CategoryDialog-C67_TXf0.js} +4 -4
- package/dist/frontend/{ConfirmDialog-DgMTQBq4.js → ConfirmDialog-_LlrA--f.js} +3 -3
- package/dist/frontend/{CreateSnapshotDialog-FUq-ZfBH.js → CreateSnapshotDialog-BmCRpOMv.js} +3 -3
- package/dist/frontend/{DatePicker-D6E-EEtZ.js → DatePicker-DsoepNdb.js} +8 -8
- package/dist/frontend/{DeleteDialog-8k6JYWCx.js → DeleteDialog-L1A3FhMM.js} +1 -1
- package/dist/frontend/{FolderNode-DAAn_T8_.js → FolderNode-CNwi0ySr.js} +1 -1
- package/dist/frontend/{HiAiEditor-DSVG3GNd.js → HiAiEditor-B1EDGsnA.js} +6 -6
- package/dist/frontend/{SettingsDialog-BDNgf5rv.js → SettingsDialog-AP42xOGg.js} +12 -12
- package/dist/frontend/ShareDialog-wGTXuXFE.js +281 -0
- package/dist/frontend/{Sidebar-DX08utdV.js → Sidebar-lKQT3dEf.js} +17 -16
- package/dist/frontend/{TagCreateDialog-Bb0-Vtzh.js → TagCreateDialog-su8BhLzS.js} +3 -3
- package/dist/frontend/api/attachments.js +1 -1
- package/dist/frontend/api/settings.js +1 -1
- package/dist/frontend/app-shell.js +2 -2
- package/dist/frontend/{attachments-B8AuDjno.js → attachments-B2aH3hXF.js} +10 -9
- package/dist/frontend/{auth-client-Cygmp1I2.js → auth-client-CnDZwPfp.js} +11 -11
- package/dist/frontend/components/category-dialog.js +1 -1
- package/dist/frontend/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend/components/delete-dialog.js +1 -1
- package/dist/frontend/components/editor/compact-editor.js +1 -1
- package/dist/frontend/components/editor/document-editor.js +1 -1
- package/dist/frontend/components/folder-node.js +1 -1
- package/dist/frontend/components/save-as-dialog.js +3 -3
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/share-dialog.d.ts +2 -1
- package/dist/frontend/components/share-dialog.js +1 -1
- package/dist/frontend/components/sidebar.js +1 -1
- package/dist/frontend/components/tag-create-dialog.js +1 -1
- package/dist/frontend/components/version-history.js +2 -2
- package/dist/frontend/{confirm-dialog-CzmoZw3a.js → confirm-dialog-BG8y2Pum.js} +4 -4
- package/dist/frontend/dashboard.js +1008 -998
- package/dist/frontend/{db-ByrlYfaI.js → db-Bo1t_76T.js} +1 -1
- package/dist/frontend/{dialog-Ce79C9fd.js → dialog-C2iKObEu.js} +7 -7
- package/dist/frontend/{dropdown-menu-CJ_7V3N0.js → dropdown-menu-BXIl2E26.js} +12 -12
- package/dist/frontend/{floating-layer-anchor-S5RSefGN.js → floating-layer-anchor-BGIndLY-.js} +63 -63
- package/dist/frontend/{identity-DyWeNzu_.js → identity-Ynrglr5i.js} +1 -1
- package/dist/frontend/{input-BWlOML_m.js → input-eHFb2qiL.js} +2 -2
- package/dist/frontend/{label-C2HfJNQ2.js → label-_I1iiaNU.js} +2 -2
- package/dist/frontend/offline/identity.js +1 -1
- package/dist/frontend/search.js +2 -2
- package/dist/frontend/{select-value-JCAp2PmU.js → select-value-CtMyrvDJ.js} +18 -18
- package/dist/frontend/{settings-DSrUl4hW.js → settings-BR48ihB4.js} +6 -23
- package/dist/frontend/{textarea-DOAE-h42.js → textarea-2eslfANY.js} +2 -2
- package/dist/frontend/{utils-BPDRytUU.js → utils-CDBqTgoV.js} +1 -1
- package/dist/frontend-ssr/api/attachments.js +1 -1
- package/dist/frontend-ssr/api/settings.js +1 -1
- package/dist/frontend-ssr/app-shell.js +2 -2
- package/dist/frontend-ssr/assets/{CategoryDialog-QHEv_9N4.js → CategoryDialog-BGuHTb3K.js} +4 -4
- package/dist/frontend-ssr/assets/{ConfirmDialog-BhAelejz.js → ConfirmDialog-D1BDXXll.js} +3 -3
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-CI8vXXcN.js → CreateSnapshotDialog-BZ45odvJ.js} +3 -3
- package/dist/frontend-ssr/assets/{DatePicker-D84cJ-Eq.js → DatePicker-CPtl6W5E.js} +3 -3
- package/dist/frontend-ssr/assets/{DeleteDialog-DG9Lm38J.js → DeleteDialog-oHT_p_vG.js} +1 -1
- package/dist/frontend-ssr/assets/{FolderNode-kmilhDjO.js → FolderNode-D9kgJG9d.js} +1 -1
- package/dist/frontend-ssr/assets/{HiAiEditor-CUOJmKzT.js → HiAiEditor-DOd2MXjD.js} +5 -5
- package/dist/frontend-ssr/assets/{SettingsDialog-BjJIiVLc.js → SettingsDialog-CIVbMKmf.js} +12 -12
- package/dist/frontend-ssr/assets/{ShareDialog-C9C-XTm4.js → ShareDialog-D2UNUbF7.js} +19 -6
- package/dist/frontend-ssr/assets/{Sidebar-C2sUfGNk.js → Sidebar-Bb-k2R-Z.js} +13 -12
- package/dist/frontend-ssr/assets/{TagCreateDialog-DUPMitlL.js → TagCreateDialog-6Gk7L3D-.js} +3 -3
- package/dist/frontend-ssr/assets/{attachments-Cj3fQyUp.js → attachments-BdkOp8ha.js} +5 -4
- package/dist/frontend-ssr/assets/{auth-client-x26kqY8Z.js → auth-client-CojKIzqy.js} +13 -13
- package/dist/frontend-ssr/assets/{confirm-dialog-XuyaL8sr.js → confirm-dialog-B9MVS_bF.js} +4 -4
- package/dist/frontend-ssr/assets/{db-CnxeO66n.js → db-BhwJPEkn.js} +1 -1
- package/dist/frontend-ssr/assets/{dialog-BOV1u6zP.js → dialog-1SB5neow.js} +8 -8
- package/dist/frontend-ssr/assets/{dropdown-menu-Dn_vQq9b.js → dropdown-menu-DqoOkdqB.js} +12 -12
- package/dist/frontend-ssr/assets/{floating-layer-anchor-BIAu-252.js → floating-layer-anchor-BoiiIEiK.js} +71 -71
- package/dist/frontend-ssr/assets/{identity-B3uHoDtf.js → identity-DcMMBKWg.js} +1 -1
- package/dist/frontend-ssr/assets/{input-DezGsU3y.js → input-Df-QP3Km.js} +2 -2
- package/dist/frontend-ssr/assets/{label-Bj8-TfFN.js → label-CbUOUz6L.js} +2 -2
- package/dist/frontend-ssr/assets/{select-value-DBhbkNcc.js → select-value-CXEDWrZg.js} +18 -18
- package/dist/frontend-ssr/assets/{settings-Bk5Hk9Vq.js → settings-Mp8EuFSn.js} +3 -21
- package/dist/frontend-ssr/assets/{textarea-Dev-qSEc.js → textarea-CHh8NuSS.js} +2 -2
- package/dist/frontend-ssr/assets/{utils-DtlPPXpJ.js → utils-DtX0ta7y.js} +1 -1
- package/dist/frontend-ssr/components/category-dialog.js +1 -1
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend-ssr/components/delete-dialog.js +1 -1
- package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
- package/dist/frontend-ssr/components/folder-node.js +1 -1
- package/dist/frontend-ssr/components/save-as-dialog.js +3 -3
- package/dist/frontend-ssr/components/settings.js +1 -1
- package/dist/frontend-ssr/components/share-dialog.js +1 -1
- package/dist/frontend-ssr/components/sidebar.js +1 -1
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
- package/dist/frontend-ssr/components/version-history.js +2 -2
- package/dist/frontend-ssr/dashboard.js +31 -29
- package/dist/frontend-ssr/offline/identity.js +1 -1
- package/dist/frontend-ssr/search.js +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/lifecycle-persistent.d.ts +1 -1
- package/dist/lifecycle-runtime.js +52659 -338
- package/dist/mcp-cli.js +1056 -0
- package/dist/mcp-server.d.ts +39 -0
- package/dist/mcp-server.js +1053 -0
- package/dist/storage-quota.d.ts +5 -1
- package/dist/types.d.ts +7 -0
- package/dist/workspace.d.ts +11 -2
- package/dist/workspace.js +82 -10
- package/package.json +7 -13
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/client.ts +56 -5
- package/packages/db/src/schema.ts +192 -1
- package/packages/db/src/with-tenant.ts +20 -2
- package/server.json +2 -2
- package/dist/frontend/ShareDialog-2Mty7hm4.js +0 -258
- package/packages/mcp-server/src/capabilities.ts +0 -189
- package/packages/mcp-server/src/client.ts +0 -225
- package/packages/mcp-server/src/index.ts +0 -8
- package/packages/mcp-server/src/server.ts +0 -87
- package/packages/mcp-server/src/tools/create-document.ts +0 -34
- package/packages/mcp-server/src/tools/create-folder.ts +0 -31
- package/packages/mcp-server/src/tools/create-snapshot.ts +0 -27
- package/packages/mcp-server/src/tools/export-document.ts +0 -22
- package/packages/mcp-server/src/tools/get-document.ts +0 -22
- package/packages/mcp-server/src/tools/list-documents.ts +0 -34
- package/packages/mcp-server/src/tools/list-folders.ts +0 -26
- package/packages/mcp-server/src/tools/search.ts +0 -39
- package/packages/mcp-server/src/tools/update-document.ts +0 -38
- package/packages/mcp-server/src/tools/version-history.ts +0 -27
- package/packages/mcp-server/src/types.ts +0 -126
|
@@ -4,7 +4,7 @@ import { clsx } from "clsx";
|
|
|
4
4
|
import { createAttachmentKey } from "svelte/attachments";
|
|
5
5
|
import { on } from "svelte/events";
|
|
6
6
|
import { SvelteMap, createSubscriber } from "svelte/reactivity";
|
|
7
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
7
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/is.js
|
|
8
8
|
function isFunction$1(value) {
|
|
9
9
|
return typeof value === "function";
|
|
10
10
|
}
|
|
@@ -28,7 +28,7 @@ function isClassValue(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
31
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/box/box-extras.svelte.js
|
|
32
32
|
var BoxSymbol = Symbol("box");
|
|
33
33
|
var isWritableSymbol = Symbol("is-writable");
|
|
34
34
|
function boxWith(getter, setter) {
|
|
@@ -130,7 +130,7 @@ function simpleBox(initialValue) {
|
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
132
|
//#endregion
|
|
133
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
133
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/box/box.svelte.js
|
|
134
134
|
function box(initialValue) {
|
|
135
135
|
let current = initialValue;
|
|
136
136
|
return {
|
|
@@ -151,7 +151,7 @@ box.readonly = toReadonlyBox;
|
|
|
151
151
|
box.isBox = isBox;
|
|
152
152
|
box.isWritableBox = isWritableBox;
|
|
153
153
|
//#endregion
|
|
154
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
154
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/compose-handlers.js
|
|
155
155
|
/**
|
|
156
156
|
* Composes event handlers into a single function that can be called with an event.
|
|
157
157
|
* If the previous handler cancels the event using `event.preventDefault()`, the handlers
|
|
@@ -398,7 +398,7 @@ function StyleToObject(style, iterator) {
|
|
|
398
398
|
return styleObject;
|
|
399
399
|
}
|
|
400
400
|
//#endregion
|
|
401
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
401
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/strings.js
|
|
402
402
|
var NUMBER_CHAR_RE = /\d/;
|
|
403
403
|
var STR_SPLITTERS = [
|
|
404
404
|
"-",
|
|
@@ -460,7 +460,7 @@ function lowerFirst(str) {
|
|
|
460
460
|
return str ? str[0].toLowerCase() + str.slice(1) : "";
|
|
461
461
|
}
|
|
462
462
|
//#endregion
|
|
463
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
463
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/css-to-style-obj.js
|
|
464
464
|
function cssToStyleObj(css) {
|
|
465
465
|
if (!css) return {};
|
|
466
466
|
const styleObj = {};
|
|
@@ -479,7 +479,7 @@ function cssToStyleObj(css) {
|
|
|
479
479
|
return styleObj;
|
|
480
480
|
}
|
|
481
481
|
//#endregion
|
|
482
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
482
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/execute-callbacks.js
|
|
483
483
|
/**
|
|
484
484
|
* Executes an array of callback functions with the same arguments.
|
|
485
485
|
* @template T The types of the arguments that the callback functions take.
|
|
@@ -492,7 +492,7 @@ function executeCallbacks(...callbacks) {
|
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
494
|
//#endregion
|
|
495
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
495
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/style-to-css.js
|
|
496
496
|
function createParser(matcher, replacer) {
|
|
497
497
|
const regex = RegExp(matcher, "g");
|
|
498
498
|
return (str) => {
|
|
@@ -507,7 +507,7 @@ function styleToCSS(styleObj) {
|
|
|
507
507
|
return Object.keys(styleObj).map((property) => `${camelToKebab(property)}: ${styleObj[property]};`).join("\n");
|
|
508
508
|
}
|
|
509
509
|
//#endregion
|
|
510
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
510
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/style.js
|
|
511
511
|
function styleToString(style = {}) {
|
|
512
512
|
return styleToCSS(style).replace("\n", " ");
|
|
513
513
|
}
|
|
@@ -617,7 +617,7 @@ var EVENT_LIST_SET = /* @__PURE__ */ new Set([
|
|
|
617
617
|
"onwheel"
|
|
618
618
|
]);
|
|
619
619
|
//#endregion
|
|
620
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
620
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/merge-props.js
|
|
621
621
|
/**
|
|
622
622
|
* Modified from https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/utils/src/mergeProps.ts (see NOTICE.txt for source)
|
|
623
623
|
*/
|
|
@@ -701,10 +701,10 @@ function mergeProps(...args) {
|
|
|
701
701
|
return result;
|
|
702
702
|
}
|
|
703
703
|
//#endregion
|
|
704
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
704
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/on-destroy-effect.svelte.js
|
|
705
705
|
function onDestroyEffect(fn) {}
|
|
706
706
|
//#endregion
|
|
707
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
707
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/after-sleep.js
|
|
708
708
|
/**
|
|
709
709
|
* A utility function that executes a callback after a specified number of milliseconds.
|
|
710
710
|
*/
|
|
@@ -712,12 +712,12 @@ function afterSleep(ms, cb) {
|
|
|
712
712
|
return setTimeout(cb, ms);
|
|
713
713
|
}
|
|
714
714
|
//#endregion
|
|
715
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
715
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/after-tick.js
|
|
716
716
|
function afterTick(fn) {
|
|
717
717
|
tick().then(fn);
|
|
718
718
|
}
|
|
719
719
|
//#endregion
|
|
720
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
720
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/dom.js
|
|
721
721
|
var ELEMENT_NODE = 1;
|
|
722
722
|
var DOCUMENT_NODE = 9;
|
|
723
723
|
var DOCUMENT_FRAGMENT_NODE = 11;
|
|
@@ -772,7 +772,7 @@ function getActiveElement$1(rootNode) {
|
|
|
772
772
|
return activeElement;
|
|
773
773
|
}
|
|
774
774
|
//#endregion
|
|
775
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
775
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/dom-context.svelte.js
|
|
776
776
|
var DOMContext = class {
|
|
777
777
|
element;
|
|
778
778
|
#root = $.derived(() => {
|
|
@@ -820,7 +820,7 @@ var DOMContext = class {
|
|
|
820
820
|
};
|
|
821
821
|
};
|
|
822
822
|
//#endregion
|
|
823
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
823
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/attach-ref.js
|
|
824
824
|
/**
|
|
825
825
|
* Creates a Svelte Attachment that attaches a DOM element to a ref.
|
|
826
826
|
* The ref can be either a WritableBox or a callback function.
|
|
@@ -863,10 +863,10 @@ function attachRef(ref, onChange) {
|
|
|
863
863
|
} };
|
|
864
864
|
}
|
|
865
865
|
//#endregion
|
|
866
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
866
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/internal/configurable-globals.js
|
|
867
867
|
var defaultWindow = void 0;
|
|
868
868
|
//#endregion
|
|
869
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
869
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/internal/utils/dom.js
|
|
870
870
|
/**
|
|
871
871
|
* Handles getting the active element in a document or shadow root.
|
|
872
872
|
* If the active element is within a shadow root, it will traverse the shadow root
|
|
@@ -886,7 +886,7 @@ function getActiveElement(document) {
|
|
|
886
886
|
return activeElement;
|
|
887
887
|
}
|
|
888
888
|
//#endregion
|
|
889
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
889
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/utilities/active-element/active-element.svelte.js
|
|
890
890
|
var ActiveElement = class {
|
|
891
891
|
#document;
|
|
892
892
|
#subscribe;
|
|
@@ -911,12 +911,12 @@ var ActiveElement = class {
|
|
|
911
911
|
};
|
|
912
912
|
new ActiveElement();
|
|
913
913
|
//#endregion
|
|
914
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
914
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/internal/utils/is.js
|
|
915
915
|
function isFunction(value) {
|
|
916
916
|
return typeof value === "function";
|
|
917
917
|
}
|
|
918
918
|
//#endregion
|
|
919
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
919
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/utilities/context/context.js
|
|
920
920
|
var Context = class {
|
|
921
921
|
#name;
|
|
922
922
|
#key;
|
|
@@ -978,7 +978,7 @@ var Context = class {
|
|
|
978
978
|
}
|
|
979
979
|
};
|
|
980
980
|
//#endregion
|
|
981
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
981
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/utilities/watch/watch.svelte.js
|
|
982
982
|
function runWatcher(sources, flush, effect, options = {}) {
|
|
983
983
|
const { lazy = false } = options;
|
|
984
984
|
}
|
|
@@ -993,13 +993,13 @@ function watchOnce(source, effect) {}
|
|
|
993
993
|
function watchOncePre(source, effect) {}
|
|
994
994
|
watchOnce.pre = watchOncePre;
|
|
995
995
|
//#endregion
|
|
996
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
996
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/internal/utils/get.js
|
|
997
997
|
function get$1(value) {
|
|
998
998
|
if (isFunction(value)) return value();
|
|
999
999
|
return value;
|
|
1000
1000
|
}
|
|
1001
1001
|
//#endregion
|
|
1002
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
1002
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/utilities/element-size/element-size.svelte.js
|
|
1003
1003
|
var ElementSize = class {
|
|
1004
1004
|
#size = {
|
|
1005
1005
|
width: 0,
|
|
@@ -1082,7 +1082,7 @@ var ElementSize = class {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
};
|
|
1084
1084
|
//#endregion
|
|
1085
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
1085
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/utilities/previous/previous.svelte.js
|
|
1086
1086
|
var Previous = class {
|
|
1087
1087
|
#previousCallback = () => void 0;
|
|
1088
1088
|
#previous = $.derived(() => this.#previousCallback());
|
|
@@ -1102,7 +1102,7 @@ var Previous = class {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
};
|
|
1104
1104
|
//#endregion
|
|
1105
|
-
//#region ../node_modules/.bun/runed@0.35.1+
|
|
1105
|
+
//#region ../node_modules/.bun/runed@0.35.1+482bfb9a01396021/node_modules/runed/dist/utilities/resource/resource.svelte.js
|
|
1106
1106
|
function debounce$1(fn, delay) {
|
|
1107
1107
|
let timeoutId;
|
|
1108
1108
|
let lastResolve = null;
|
|
@@ -1227,7 +1227,7 @@ var PAGE_DOWN = "PageDown";
|
|
|
1227
1227
|
var PAGE_UP = "PageUp";
|
|
1228
1228
|
var SHIFT = "Shift";
|
|
1229
1229
|
//#endregion
|
|
1230
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1230
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/menu/utils.js
|
|
1231
1231
|
var SELECTION_KEYS$1 = [ENTER, " "];
|
|
1232
1232
|
var FIRST_KEYS$1 = [
|
|
1233
1233
|
ARROW_DOWN,
|
|
@@ -1245,7 +1245,7 @@ function isMouseEvent(event) {
|
|
|
1245
1245
|
return event.pointerType === "mouse";
|
|
1246
1246
|
}
|
|
1247
1247
|
//#endregion
|
|
1248
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1248
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/is.js
|
|
1249
1249
|
var isBrowser = typeof document !== "undefined";
|
|
1250
1250
|
var isIOS = getIsIOS();
|
|
1251
1251
|
function getIsIOS() {
|
|
@@ -1271,7 +1271,7 @@ function isSelectableInput(element) {
|
|
|
1271
1271
|
return element instanceof HTMLInputElement && "select" in element;
|
|
1272
1272
|
}
|
|
1273
1273
|
//#endregion
|
|
1274
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1274
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/focus.js
|
|
1275
1275
|
/**
|
|
1276
1276
|
* A utility function that focuses an element.
|
|
1277
1277
|
*/
|
|
@@ -1295,7 +1295,7 @@ function focusFirst(candidates, { select = false } = {}, getActiveElement) {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
//#endregion
|
|
1298
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1298
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/events.js
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Creates a typed event dispatcher and listener pair for custom events
|
|
1301
1301
|
* @template T - The type of data that will be passed in the event detail
|
|
@@ -1331,7 +1331,7 @@ var CustomEventDispatcher = class {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
};
|
|
1333
1333
|
//#endregion
|
|
1334
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1334
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/attrs.js
|
|
1335
1335
|
function boolToStr(condition) {
|
|
1336
1336
|
return condition ? "true" : "false";
|
|
1337
1337
|
}
|
|
@@ -1377,7 +1377,7 @@ function createBitsAttrs(config) {
|
|
|
1377
1377
|
};
|
|
1378
1378
|
}
|
|
1379
1379
|
//#endregion
|
|
1380
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1380
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/is-using-keyboard/is-using-keyboard.svelte.js
|
|
1381
1381
|
var isUsingKeyboard = false;
|
|
1382
1382
|
var IsUsingKeyboard = class {
|
|
1383
1383
|
static _refs = 0;
|
|
@@ -1735,7 +1735,7 @@ var isFocusable = function isFocusable(node, options) {
|
|
|
1735
1735
|
return isNodeMatchingSelectorFocusable(options, node);
|
|
1736
1736
|
};
|
|
1737
1737
|
//#endregion
|
|
1738
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1738
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/tabbable.js
|
|
1739
1739
|
function getTabbableOptions() {
|
|
1740
1740
|
return {
|
|
1741
1741
|
getShadowRoot: true,
|
|
@@ -1766,7 +1766,7 @@ function getTabbableFromFocusable(currentNode, direction) {
|
|
|
1766
1766
|
return allFocusable.slice(activeIndex + 1).find((node) => isTabbable(node, getTabbableOptions())) ?? doc.body;
|
|
1767
1767
|
}
|
|
1768
1768
|
//#endregion
|
|
1769
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1769
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/arrays.js
|
|
1770
1770
|
/**
|
|
1771
1771
|
* Returns the array element after the given index, or undefined for out-of-bounds or empty arrays.
|
|
1772
1772
|
* @param array the array.
|
|
@@ -1899,13 +1899,13 @@ function wrapArray(array, startIndex) {
|
|
|
1899
1899
|
return array.map((_, index) => array[(startIndex + index) % array.length]);
|
|
1900
1900
|
}
|
|
1901
1901
|
//#endregion
|
|
1902
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1902
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/noop.js
|
|
1903
1903
|
/**
|
|
1904
1904
|
* A no operation function (does nothing)
|
|
1905
1905
|
*/
|
|
1906
1906
|
function noop() {}
|
|
1907
1907
|
//#endregion
|
|
1908
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1908
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/box-auto-reset.svelte.js
|
|
1909
1909
|
var defaultOptions = {
|
|
1910
1910
|
afterMs: 1e4,
|
|
1911
1911
|
onChange: noop
|
|
@@ -1931,7 +1931,7 @@ function boxAutoReset(defaultValue, options) {
|
|
|
1931
1931
|
});
|
|
1932
1932
|
}
|
|
1933
1933
|
//#endregion
|
|
1934
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1934
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/dom-typeahead.svelte.js
|
|
1935
1935
|
var DOMTypeahead = class {
|
|
1936
1936
|
#opts;
|
|
1937
1937
|
#search;
|
|
@@ -1970,7 +1970,7 @@ var DOMTypeahead = class {
|
|
|
1970
1970
|
}
|
|
1971
1971
|
};
|
|
1972
1972
|
//#endregion
|
|
1973
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1973
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/locale.js
|
|
1974
1974
|
/**
|
|
1975
1975
|
* Detects the text direction in the element.
|
|
1976
1976
|
* @returns {Direction} The text direction ('ltr' for left-to-right or 'rtl' for right-to-left).
|
|
@@ -1979,7 +1979,7 @@ function getElemDirection(elem) {
|
|
|
1979
1979
|
return window.getComputedStyle(elem).getPropertyValue("direction");
|
|
1980
1980
|
}
|
|
1981
1981
|
//#endregion
|
|
1982
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1982
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/get-directional-keys.js
|
|
1983
1983
|
var FIRST_KEYS = [
|
|
1984
1984
|
ARROW_DOWN,
|
|
1985
1985
|
PAGE_UP,
|
|
@@ -2022,7 +2022,7 @@ function getDirectionalKeys(dir = "ltr", orientation = "horizontal") {
|
|
|
2022
2022
|
};
|
|
2023
2023
|
}
|
|
2024
2024
|
//#endregion
|
|
2025
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
2025
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/roving-focus-group.js
|
|
2026
2026
|
var RovingFocusGroup = class {
|
|
2027
2027
|
#opts;
|
|
2028
2028
|
#currentTabStopId = box(null);
|
|
@@ -2090,7 +2090,7 @@ var RovingFocusGroup = class {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
};
|
|
2092
2092
|
//#endregion
|
|
2093
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
2093
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/animations-complete.js
|
|
2094
2094
|
var AnimationsComplete = class {
|
|
2095
2095
|
#opts;
|
|
2096
2096
|
#currentFrame = null;
|
|
@@ -2178,7 +2178,7 @@ var AnimationsComplete = class {
|
|
|
2178
2178
|
}
|
|
2179
2179
|
};
|
|
2180
2180
|
//#endregion
|
|
2181
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
2181
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/presence-manager.svelte.js
|
|
2182
2182
|
var PresenceManager = class {
|
|
2183
2183
|
#opts;
|
|
2184
2184
|
#enabled;
|
|
@@ -2241,7 +2241,7 @@ var PresenceManager = class {
|
|
|
2241
2241
|
}
|
|
2242
2242
|
};
|
|
2243
2243
|
//#endregion
|
|
2244
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
2244
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/menu/menu.svelte.js
|
|
2245
2245
|
var CONTEXT_MENU_TRIGGER_ATTR = "data-context-menu-trigger";
|
|
2246
2246
|
var CONTEXT_MENU_CONTENT_ATTR = "data-context-menu-content";
|
|
2247
2247
|
var MenuRootContext = new Context("Menu.Root");
|
|
@@ -4599,7 +4599,7 @@ var computePosition = (reference, floating, options) => {
|
|
|
4599
4599
|
});
|
|
4600
4600
|
};
|
|
4601
4601
|
//#endregion
|
|
4602
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
4602
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/use-id.js
|
|
4603
4603
|
globalThis.bitsIdCounter ??= { current: 0 };
|
|
4604
4604
|
/**
|
|
4605
4605
|
* Generates a unique ID based on a global counter.
|
|
@@ -4609,7 +4609,7 @@ function useId(prefix = "bits") {
|
|
|
4609
4609
|
return `${prefix}-${globalThis.bitsIdCounter.current}`;
|
|
4610
4610
|
}
|
|
4611
4611
|
//#endregion
|
|
4612
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
4612
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.js
|
|
4613
4613
|
function get(valueOrGetValue) {
|
|
4614
4614
|
return typeof valueOrGetValue === "function" ? valueOrGetValue() : valueOrGetValue;
|
|
4615
4615
|
}
|
|
@@ -4631,7 +4631,7 @@ function getFloatingContentCSSVars(name) {
|
|
|
4631
4631
|
};
|
|
4632
4632
|
}
|
|
4633
4633
|
//#endregion
|
|
4634
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
4634
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.js
|
|
4635
4635
|
function useFloating(options) {
|
|
4636
4636
|
options.whileElementsMounted;
|
|
4637
4637
|
const openOption = $.derived(() => get(options.open) ?? true);
|
|
@@ -4731,7 +4731,7 @@ function isReferenceHidden(node) {
|
|
|
4731
4731
|
return node.getClientRects().length === 0;
|
|
4732
4732
|
}
|
|
4733
4733
|
//#endregion
|
|
4734
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
4734
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/floating-layer/use-floating-layer.svelte.js
|
|
4735
4735
|
var OPPOSITE_SIDE = {
|
|
4736
4736
|
top: "bottom",
|
|
4737
4737
|
right: "left",
|
|
@@ -5042,7 +5042,7 @@ function getAlignFromPlacement(placement) {
|
|
|
5042
5042
|
return getSideAndAlignFromPlacement(placement)[1];
|
|
5043
5043
|
}
|
|
5044
5044
|
//#endregion
|
|
5045
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5045
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer.svelte
|
|
5046
5046
|
function Floating_layer($$renderer, $$props) {
|
|
5047
5047
|
$$renderer.component(($$renderer) => {
|
|
5048
5048
|
let { children, tooltip = false } = $$props;
|
|
@@ -5052,13 +5052,13 @@ function Floating_layer($$renderer, $$props) {
|
|
|
5052
5052
|
});
|
|
5053
5053
|
}
|
|
5054
5054
|
//#endregion
|
|
5055
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5055
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/create-id.js
|
|
5056
5056
|
function createId(prefixOrUid, uid) {
|
|
5057
5057
|
if (uid === void 0) return `bits-${prefixOrUid}`;
|
|
5058
5058
|
return `bits-${prefixOrUid}-${uid}`;
|
|
5059
5059
|
}
|
|
5060
5060
|
//#endregion
|
|
5061
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5061
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/shared-state.svelte.js
|
|
5062
5062
|
var SharedState = class {
|
|
5063
5063
|
#factory;
|
|
5064
5064
|
#subscribers = 0;
|
|
@@ -5082,7 +5082,7 @@ var SharedState = class {
|
|
|
5082
5082
|
}
|
|
5083
5083
|
};
|
|
5084
5084
|
//#endregion
|
|
5085
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5085
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/body-scroll-lock.svelte.js
|
|
5086
5086
|
var lockMap = new SvelteMap();
|
|
5087
5087
|
var initialBodyStyle = null;
|
|
5088
5088
|
var cleanupTimeoutId = null;
|
|
@@ -5210,7 +5210,7 @@ function isAnyLocked(map) {
|
|
|
5210
5210
|
return false;
|
|
5211
5211
|
}
|
|
5212
5212
|
//#endregion
|
|
5213
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5213
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/scroll-lock/scroll-lock.svelte
|
|
5214
5214
|
function Scroll_lock($$renderer, $$props) {
|
|
5215
5215
|
$$renderer.component(($$renderer) => {
|
|
5216
5216
|
let { preventScroll = true, restoreScrollDelay = null } = $$props;
|
|
@@ -5218,7 +5218,7 @@ function Scroll_lock($$renderer, $$props) {
|
|
|
5218
5218
|
});
|
|
5219
5219
|
}
|
|
5220
5220
|
//#endregion
|
|
5221
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5221
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-content-static.svelte
|
|
5222
5222
|
function Floating_layer_content_static($$renderer, $$props) {
|
|
5223
5223
|
$$renderer.component(($$renderer) => {
|
|
5224
5224
|
let { content, onPlaced } = $$props;
|
|
@@ -5233,7 +5233,7 @@ function Floating_layer_content_static($$renderer, $$props) {
|
|
|
5233
5233
|
});
|
|
5234
5234
|
}
|
|
5235
5235
|
//#endregion
|
|
5236
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5236
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-content.svelte
|
|
5237
5237
|
function Floating_layer_content($$renderer, $$props) {
|
|
5238
5238
|
$$renderer.component(($$renderer) => {
|
|
5239
5239
|
let { content, side = "bottom", sideOffset = 0, align = "center", alignOffset = 0, id, arrowPadding = 0, avoidCollisions = true, collisionBoundary = [], collisionPadding = 0, hideWhenDetached = false, onPlaced = () => {}, sticky = "partial", updatePositionStrategy = "optimized", strategy = "fixed", dir = "ltr", style = {}, wrapperId = useId(), customAnchor = null, enabled, tooltip = false } = $$props;
|
|
@@ -5267,7 +5267,7 @@ function Floating_layer_content($$renderer, $$props) {
|
|
|
5267
5267
|
});
|
|
5268
5268
|
}
|
|
5269
5269
|
//#endregion
|
|
5270
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5270
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte
|
|
5271
5271
|
function Popper_content($$renderer, $$props) {
|
|
5272
5272
|
let { content, isStatic = false, onPlaced, $$slots, $$events, ...restProps } = $$props;
|
|
5273
5273
|
if (isStatic) {
|
|
@@ -5286,7 +5286,7 @@ function Popper_content($$renderer, $$props) {
|
|
|
5286
5286
|
$$renderer.push(`<!--]-->`);
|
|
5287
5287
|
}
|
|
5288
5288
|
//#endregion
|
|
5289
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5289
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/escape-layer/use-escape-layer.svelte.js
|
|
5290
5290
|
globalThis.bitsEscapeLayers ??= /* @__PURE__ */ new Map();
|
|
5291
5291
|
var EscapeLayerState = class EscapeLayerState {
|
|
5292
5292
|
static create(opts) {
|
|
@@ -5335,7 +5335,7 @@ function isResponsibleEscapeLayer(instance) {
|
|
|
5335
5335
|
return firstLayerNode === instance;
|
|
5336
5336
|
}
|
|
5337
5337
|
//#endregion
|
|
5338
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5338
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/escape-layer/escape-layer.svelte
|
|
5339
5339
|
function Escape_layer($$renderer, $$props) {
|
|
5340
5340
|
$$renderer.component(($$renderer) => {
|
|
5341
5341
|
let { escapeKeydownBehavior = "close", onEscapeKeydown = noop, children, enabled, ref } = $$props;
|
|
@@ -5350,7 +5350,7 @@ function Escape_layer($$renderer, $$props) {
|
|
|
5350
5350
|
});
|
|
5351
5351
|
}
|
|
5352
5352
|
//#endregion
|
|
5353
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5353
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/debounce.js
|
|
5354
5354
|
function debounce(fn, wait = 500) {
|
|
5355
5355
|
let timeout = null;
|
|
5356
5356
|
const debounced = (...args) => {
|
|
@@ -5368,7 +5368,7 @@ function debounce(fn, wait = 500) {
|
|
|
5368
5368
|
return debounced;
|
|
5369
5369
|
}
|
|
5370
5370
|
//#endregion
|
|
5371
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5371
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/elements.js
|
|
5372
5372
|
function isOrContainsTarget(node, target) {
|
|
5373
5373
|
return node === target || node.contains(target);
|
|
5374
5374
|
}
|
|
@@ -5376,7 +5376,7 @@ function getOwnerDocument(el) {
|
|
|
5376
5376
|
return el?.ownerDocument ?? document;
|
|
5377
5377
|
}
|
|
5378
5378
|
//#endregion
|
|
5379
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5379
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/dom.js
|
|
5380
5380
|
/**
|
|
5381
5381
|
* Determines if the click event truly occurred outside the content node.
|
|
5382
5382
|
* This was added to handle password managers and other elements that may be injected
|
|
@@ -5388,7 +5388,7 @@ function isClickTrulyOutside(event, contentNode) {
|
|
|
5388
5388
|
return clientX < rect.left || clientX > rect.right || clientY < rect.top || clientY > rect.bottom;
|
|
5389
5389
|
}
|
|
5390
5390
|
//#endregion
|
|
5391
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5391
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/dismissible-layer/use-dismissable-layer.svelte.js
|
|
5392
5392
|
globalThis.bitsDismissableLayers ??= /* @__PURE__ */ new Map();
|
|
5393
5393
|
var DismissibleLayerState = class DismissibleLayerState {
|
|
5394
5394
|
static create(opts) {
|
|
@@ -5560,7 +5560,7 @@ function createWrappedEvent(e) {
|
|
|
5560
5560
|
} });
|
|
5561
5561
|
}
|
|
5562
5562
|
//#endregion
|
|
5563
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5563
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/dismissible-layer/dismissible-layer.svelte
|
|
5564
5564
|
function Dismissible_layer($$renderer, $$props) {
|
|
5565
5565
|
$$renderer.component(($$renderer) => {
|
|
5566
5566
|
let { interactOutsideBehavior = "close", onInteractOutside = noop, onFocusOutside = noop, id, children, enabled, isValidEvent = () => false, ref } = $$props;
|
|
@@ -5578,7 +5578,7 @@ function Dismissible_layer($$renderer, $$props) {
|
|
|
5578
5578
|
});
|
|
5579
5579
|
}
|
|
5580
5580
|
//#endregion
|
|
5581
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5581
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/use-text-selection-layer.svelte.js
|
|
5582
5582
|
var noopPointer = () => {};
|
|
5583
5583
|
globalThis.bitsTextSelectionLayers ??= /* @__PURE__ */ new Map();
|
|
5584
5584
|
var TextSelectionLayerState = class TextSelectionLayerState {
|
|
@@ -5664,7 +5664,7 @@ function isHighestLayer(instance) {
|
|
|
5664
5664
|
return highestLayer[0] === instance;
|
|
5665
5665
|
}
|
|
5666
5666
|
//#endregion
|
|
5667
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5667
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/text-selection-layer/text-selection-layer.svelte
|
|
5668
5668
|
function Text_selection_layer($$renderer, $$props) {
|
|
5669
5669
|
$$renderer.component(($$renderer) => {
|
|
5670
5670
|
let { preventOverflowTextSelection = true, onPointerDown = noop, onPointerUp = noop, id, children, enabled, ref } = $$props;
|
|
@@ -5680,7 +5680,7 @@ function Text_selection_layer($$renderer, $$props) {
|
|
|
5680
5680
|
});
|
|
5681
5681
|
}
|
|
5682
5682
|
//#endregion
|
|
5683
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5683
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope-manager.js
|
|
5684
5684
|
var FocusScopeManager = class FocusScopeManager {
|
|
5685
5685
|
static instance;
|
|
5686
5686
|
#scopeStack = simpleBox([]);
|
|
@@ -5726,7 +5726,7 @@ var FocusScopeManager = class FocusScopeManager {
|
|
|
5726
5726
|
}
|
|
5727
5727
|
};
|
|
5728
5728
|
//#endregion
|
|
5729
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5729
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope.svelte.js
|
|
5730
5730
|
var FocusScope = class FocusScope {
|
|
5731
5731
|
#paused = false;
|
|
5732
5732
|
#container = null;
|
|
@@ -5884,7 +5884,7 @@ var FocusScope = class FocusScope {
|
|
|
5884
5884
|
}
|
|
5885
5885
|
};
|
|
5886
5886
|
//#endregion
|
|
5887
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5887
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/focus-scope/focus-scope.svelte
|
|
5888
5888
|
function Focus_scope($$renderer, $$props) {
|
|
5889
5889
|
$$renderer.component(($$renderer) => {
|
|
5890
5890
|
let { enabled = false, trapFocus = false, loop = false, onCloseAutoFocus = noop, onOpenAutoFocus = noop, focusScope, ref } = $$props;
|
|
@@ -5901,7 +5901,7 @@ function Focus_scope($$renderer, $$props) {
|
|
|
5901
5901
|
});
|
|
5902
5902
|
}
|
|
5903
5903
|
//#endregion
|
|
5904
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
5904
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte
|
|
5905
5905
|
function Popper_layer_inner($$renderer, $$props) {
|
|
5906
5906
|
$$renderer.component(($$renderer) => {
|
|
5907
5907
|
let { popper, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, enabled, ref, tooltip = false, contentPointerEvents = "auto", $$slots, $$events, ...restProps } = $$props;
|
|
@@ -6003,7 +6003,7 @@ function Popper_layer_inner($$renderer, $$props) {
|
|
|
6003
6003
|
});
|
|
6004
6004
|
}
|
|
6005
6005
|
//#endregion
|
|
6006
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
6006
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte
|
|
6007
6007
|
function Popper_layer($$renderer, $$props) {
|
|
6008
6008
|
let { popper, open, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, ref, shouldRender, $$slots, $$events, ...restProps } = $$props;
|
|
6009
6009
|
if (shouldRender) {
|
|
@@ -6051,7 +6051,7 @@ function Popper_layer($$renderer, $$props) {
|
|
|
6051
6051
|
$$renderer.push(`<!--]-->`);
|
|
6052
6052
|
}
|
|
6053
6053
|
//#endregion
|
|
6054
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
6054
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte
|
|
6055
6055
|
function Popper_layer_force_mount($$renderer, $$props) {
|
|
6056
6056
|
let { popper, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, enabled, $$slots, $$events, ...restProps } = $$props;
|
|
6057
6057
|
Popper_layer_inner($$renderer, $.spread_props([
|
|
@@ -6097,7 +6097,7 @@ function Popper_layer_force_mount($$renderer, $$props) {
|
|
|
6097
6097
|
]));
|
|
6098
6098
|
}
|
|
6099
6099
|
//#endregion
|
|
6100
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
6100
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-anchor.svelte
|
|
6101
6101
|
function Floating_layer_anchor($$renderer, $$props) {
|
|
6102
6102
|
$$renderer.component(($$renderer) => {
|
|
6103
6103
|
let { id, children, virtualEl, ref, tooltip = false } = $$props;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as getSession } from "./auth-client-
|
|
1
|
+
import { n as getSession } from "./auth-client-CojKIzqy.js";
|
|
2
2
|
//#region src/lib/offline/identity.ts
|
|
3
3
|
var OWNER_ID_CACHE_KEY = "hiai-docs:offline-owner-id";
|
|
4
4
|
var OFFLINE_BINDING_KEY = "hiai-docs:offline-binding";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-DtX0ta7y.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
3
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/input/input.svelte
|
|
4
4
|
function Input($$renderer, $$props) {
|
|
5
5
|
$$renderer.component(($$renderer) => {
|
|
6
6
|
let { ref = null, class: className, value = "", $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-DtX0ta7y.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
3
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/label/label.svelte
|
|
4
4
|
function Label($$renderer, $$props) {
|
|
5
5
|
$$renderer.component(($$renderer) => {
|
|
6
6
|
let { ref = null, class: className, children, $$slots, $$events, ...restProps } = $$props;
|