@uniqbit/mate-core 0.20.0 → 0.21.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/claude-capability-plugins/companion-mentions/.claude-plugin/plugin.json +1 -1
- package/claude-capability-plugins/companion-mentions/hooks/register.ts +1 -1
- package/claude-plugin/hooks/hooks.json +10 -1
- package/claude-plugin/hooks/rtk-worktree-git.mjs +58 -0
- package/opencode-plugin/src/server.ts +9 -2
- package/package.json +2 -1
- package/src/cli/commands/artifact/delivery/environment.ts +28 -8
- package/src/cli/commands/artifact/delivery/link.ts +28 -9
- package/src/cli/commands/artifact/delivery/output.ts +7 -0
- package/src/cli/commands/companion/update.ts +2 -19
- package/src/cli/commands/factory/factory.ts +11 -1
- package/src/cli/commands/install.ts +47 -36
- package/src/cli/commands/launch/claude.ts +2 -0
- package/src/cli/commands/launch/shared.ts +33 -6
- package/src/cli/commands/plugin/install.ts +27 -11
- package/src/cli/commands/report/index.ts +180 -184
- package/src/cli/commands/report/markdown.ts +67 -72
- package/src/cli/commands/shared/companion-selection.ts +3 -1
- package/src/cli/commands/studio/access.ts +6 -14
- package/src/cli/commands/studio/areas.ts +112 -33
- package/src/cli/commands/studio/companion-add.ts +87 -0
- package/src/cli/commands/studio/companion-removal.ts +15 -8
- package/src/cli/commands/studio/factory-credential.ts +1 -15
- package/src/cli/commands/studio/factory-git-tokens.ts +40 -0
- package/src/cli/commands/studio/factory-relay.ts +18 -0
- package/src/cli/commands/studio/graph-model.ts +61 -0
- package/src/cli/commands/studio/graph.ts +336 -0
- package/src/cli/commands/studio/index.ts +4 -4
- package/src/cli/commands/studio/payload.ts +42 -15
- package/src/cli/commands/studio/repository-add.ts +116 -0
- package/src/cli/commands/studio/routes.ts +6 -0
- package/src/cli/commands/studio/selection.ts +12 -3
- package/src/cli/commands/studio/server.ts +127 -5
- package/src/cli/commands/studio/services.ts +40 -0
- package/src/cli/commands/studio/terminal.ts +45 -3
- package/src/cli/commands/studio/views/vault/markdown-tree.ts +84 -3
- package/src/cli/commands/studio/workset-session.ts +47 -14
- package/src/cli/commands/unwrap.ts +3 -0
- package/src/cli/commands/update.ts +2 -0
- package/src/cli/commands/vscode/release-vsix.json +4 -0
- package/src/cli/commands/vscode/setup.ts +71 -13
- package/src/cli/commands/vscode/vsix.ts +48 -7
- package/src/cli/commands/working/cleanup.ts +40 -8
- package/src/cli/commands/working/worktree.ts +176 -35
- package/src/cli/main.ts +17 -2
- package/src/cli/usage.ts +1 -1
- package/src/hooks/rtk-worktree-git.ts +48 -0
- package/src/hooks/validate-artifact-path.ts +38 -7
- package/src/lib/delivery/branch-template.ts +122 -0
- package/src/lib/delivery/branches.ts +21 -16
- package/src/lib/delivery/checkout.ts +102 -0
- package/src/lib/delivery/environment.ts +2 -0
- package/src/lib/delivery/merge-git.ts +13 -1
- package/src/lib/delivery/record-delivery.ts +83 -29
- package/src/lib/delivery/record.ts +15 -3
- package/src/lib/delivery/resolve-branch.ts +157 -110
- package/src/lib/factory/attach-client.ts +11 -1
- package/src/lib/factory/broker.ts +37 -40
- package/src/lib/factory/client.ts +22 -1
- package/src/lib/factory/clone-url.ts +39 -0
- package/src/lib/factory/command.ts +21 -5
- package/src/lib/factory/git-auth.ts +61 -0
- package/src/lib/factory/git-credential-store.ts +181 -0
- package/src/lib/factory/ids.ts +12 -2
- package/src/lib/factory/outcomes/actions.ts +20 -4
- package/src/lib/factory/outcomes/index.ts +77 -11
- package/src/lib/factory/outcomes/lifecycle.ts +9 -2
- package/src/lib/factory/outcomes/sessions.ts +23 -1
- package/src/lib/factory/prepare.ts +9 -3
- package/src/lib/factory/runner/scheduler.ts +96 -14
- package/src/lib/factory/runner/workflow.ts +5 -1
- package/src/lib/factory/runtime.ts +143 -43
- package/src/lib/orchestrator/companion-hub.ts +6 -1
- package/src/lib/orchestrator/engine-floor.ts +48 -0
- package/src/lib/orchestrator/launcher.ts +34 -1
- package/src/lib/orchestrator/projection-claude-commands.ts +2 -2
- package/src/lib/orchestrator/projection-claude-entry.ts +42 -21
- package/src/lib/orchestrator/projection-claude-links.ts +32 -8
- package/src/lib/orchestrator/projection-claude-skills.ts +2 -2
- package/src/lib/orchestrator/projection-entries.ts +22 -18
- package/src/lib/orchestrator/projection-opencode-copies.ts +65 -21
- package/src/lib/orchestrator/projection-runtime-documents.ts +66 -43
- package/src/lib/orchestrator/projection-types.ts +28 -1
- package/src/lib/orchestrator/refresh-working-claude-links.ts +3 -1
- package/src/lib/orchestrator/session-prepare.ts +6 -1
- package/src/lib/orchestrator/setup-compatibilities.ts +1 -1
- package/src/lib/orchestrator/types.ts +4 -0
- package/src/lib/orchestrator/umbrella-checkouts.ts +102 -0
- package/src/lib/orchestrator/working-repo-projection.ts +24 -4
- package/src/lib/orchestrator/wrap-pass.ts +1 -0
- package/src/lib/public-npm.ts +95 -50
- package/src/lib/session-state.ts +72 -2
- package/src/lib/update-checker.ts +7 -1
- package/src/lib/usage/aggregate.ts +202 -0
- package/src/lib/usage/cache.ts +87 -0
- package/src/lib/usage/claude-pricing.ts +71 -0
- package/src/lib/usage/claude.ts +189 -0
- package/src/lib/usage/collect.ts +56 -0
- package/src/lib/usage/opencode.ts +188 -0
- package/src/lib/usage/records.ts +80 -0
- package/src/lib/usage/rtk-database.ts +72 -0
- package/src/lib/usage/savings.ts +209 -0
- package/src/lib/usage/scope.ts +182 -0
- package/src/lib/usage/source.ts +102 -0
- package/src/lib/usage/types.ts +143 -0
- package/src/lib/usage/window.ts +37 -0
- package/src/lib/workset/factory-local.ts +157 -0
- package/src/lib/workset/record.ts +25 -11
- package/src/lib/workset/repositories.ts +118 -25
- package/src/lib/workset/worktree-include.ts +161 -0
- package/src/lib/workset/worktree-index.ts +6 -2
- package/src/lib/workset/worktree.ts +591 -101
- package/src/opencode/companion-hooks.ts +46 -8
- package/src/opencode/companion-policy.ts +18 -5
- package/src/opencode/enter-worktree.ts +254 -6
- package/src/opencode/session-register.ts +2 -2
- package/src/runtime/claude-bg-isolation.ts +138 -0
- package/src/runtime/companion-git.ts +10 -2
- package/src/runtime/companion-guidance.ts +17 -4
- package/src/runtime/current-branch.ts +16 -2
- package/src/runtime/entered-worktree.ts +24 -0
- package/src/runtime/git-tracked.ts +60 -0
- package/src/runtime/repo-destination.ts +72 -0
- package/src/runtime/repo-local.ts +25 -3
- package/src/runtime/rtk-git-guard.ts +66 -0
- package/src/runtime/runtime-document-manifest.ts +229 -19
- package/src/runtime/runtime-document-manifest.typecheck.ts +10 -0
- package/src/runtime/secret-guard.ts +9 -2
- package/src/runtime/secret-policy-weakening.ts +122 -0
- package/src/runtime/serving-claude-wrap.ts +15 -2
- package/src/runtime/umbrella-folder.ts +56 -0
- package/src/runtime/wrap-state.ts +5 -13
- package/src/studio.ts +37 -0
- package/src/templates/mate-skills/agents/mate-apply-change/SKILL.md +61 -6
- package/src/templates/mate-skills/agents/mate-explore-change/SKILL.md +8 -4
- package/src/templates/mate-skills/agents/mate-propose-change/SKILL.md +9 -5
- package/src/templates/mate-skills/agents/mate-publish-artifact/SKILL.md +5 -4
- package/src/templates/mate-skills/agents/mate-show-me/SKILL.md +10 -4
- package/src/templates/mate-skills/agents/mate-simplify-code/SKILL.md +5 -1
- package/src/templates/mate-skills/claude/mate-apply-change/SKILL.md +61 -6
- package/src/templates/mate-skills/claude/mate-explore-change/SKILL.md +8 -4
- package/src/templates/mate-skills/claude/mate-propose-change/SKILL.md +9 -5
- package/src/templates/mate-skills/claude/mate-publish-artifact/SKILL.md +5 -4
- package/src/templates/mate-skills/claude/mate-show-me/SKILL.md +10 -4
- package/src/templates/mate-skills/claude/mate-simplify-code/SKILL.md +5 -1
- package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +305 -42
- package/src/tools/setup/capabilities/rtk.ts +93 -1
- package/src/tools/setup/dynamic-plugins/audiences.ts +65 -21
- package/src/tools/setup/dynamic-plugins/frozen.ts +32 -13
- package/src/tools/setup/dynamic-plugins/hydrate.ts +4 -4
- package/src/tools/setup/dynamic-plugins/install.ts +24 -22
- package/src/tools/setup/dynamic-plugins/loader.ts +11 -7
- package/src/tools/setup/dynamic-plugins/paths.ts +30 -10
- package/src/tools/setup/dynamic-plugins/verify.ts +10 -7
- package/src/tools/setup/dynamic-plugins/workspaces.ts +153 -0
- package/src/tools/setup/mate.ts +3 -3
- package/src/tools/setup/plugins/gitignore.ts +15 -9
- package/src/tools/setup/providers/claude-plugin-hooks.ts +12 -0
- package/src/tools/setup/providers/claude.ts +25 -3
- package/src/tools/setup/utils.ts +4 -2
- package/src/tools/setup/working-repo-cleanup.ts +2 -2
- package/src/tools/setup.ts +25 -14
- package/studio-dist/client/assets/app-D9cw6szy.css +2 -0
- package/studio-dist/client/assets/artifacts-WD2ZXYrx.js +1 -0
- package/studio-dist/client/assets/button-Br0O1sXw.js +1 -0
- package/studio-dist/client/assets/combobox-DA7RAUUZ.js +1 -0
- package/studio-dist/client/assets/companion-view-CrabvxS8.js +1 -0
- package/studio-dist/client/assets/factory-DGS0E16C.js +6 -0
- package/studio-dist/client/assets/fields-6aXBpFhJ.js +1 -0
- package/studio-dist/client/assets/getting-started-Clde4w6P.js +1 -0
- package/studio-dist/client/assets/getting-started-D6kgWwWZ.js +1 -0
- package/studio-dist/client/assets/getting-started._topic-BiunccbT.js +1 -0
- package/studio-dist/client/assets/getting-started.index-DpiNoGw8.js +1 -0
- package/studio-dist/client/assets/graph-B_TCBVbu.js +2 -0
- package/studio-dist/client/assets/graph-canvas-Ba37Y5AE.js +3242 -0
- package/studio-dist/client/assets/guides-Du_RtJxP.js +1 -0
- package/studio-dist/client/assets/index-Df8L1LQa.js +40 -0
- package/studio-dist/client/assets/jsx-runtime-MZURdZre.js +1 -0
- package/studio-dist/client/assets/markdown-view-BOX6x0rL.js +1 -0
- package/studio-dist/client/assets/panel-dbmCx7Mx.js +1 -0
- package/studio-dist/client/assets/queries-RvHeXY12.js +1 -0
- package/studio-dist/client/assets/react-3QStrcDO.js +27 -0
- package/studio-dist/client/assets/report-url-XRL0x1SY.js +1 -0
- package/studio-dist/client/assets/reports-r3IK7Doz.js +1 -0
- package/studio-dist/client/assets/routes-C0A5LTFc.js +1 -0
- package/studio-dist/client/assets/select-CnaMd617.js +1 -0
- package/studio-dist/client/assets/skills-CzjzHpBT.js +1 -0
- package/studio-dist/client/assets/specs-B0ldF_6J.js +1 -0
- package/studio-dist/client/assets/specs-view-BnCLA0gW.js +1 -0
- package/studio-dist/client/assets/spinner-Dcm3fqK1.js +1 -0
- package/studio-dist/client/assets/steps-C0p2N1Pb.js +1 -0
- package/studio-dist/client/assets/store-Dw34catY.js +1 -0
- package/studio-dist/client/assets/studio-Cpz_HRHp.js +100 -0
- package/studio-dist/client/assets/studio-queries-ibmpFo6R.js +2 -0
- package/studio-dist/client/assets/usage-C2QJ_0IZ.js +55 -0
- package/studio-dist/client/assets/useAnchoredPopupScrollLock-Bj-FWb8z.js +1 -0
- package/studio-dist/client/assets/useMutation-aAr2uiay.js +1 -0
- package/studio-dist/client/assets/useSelector-AYcH7lB0.js +2 -0
- package/studio-dist/client/assets/vault-BGcxkSIY.js +1 -0
- package/studio-dist/client/assets/warnings-R1cE1rLf.js +1 -0
- package/studio-dist/client/assets/workflow-C2qTrMDH.js +1 -0
- package/studio-dist/server/assets/__23tanstack-start-server-fn-resolver-Bn896ZYj.js +122 -0
- package/studio-dist/server/assets/_tanstack-start-manifest_v.js +102 -35
- package/studio-dist/server/assets/{actions-Bvgj9eb8.js → actions-DYSv-9VV.js} +10 -4
- package/studio-dist/server/assets/artifacts-DnF9L3dZ.js +216 -0
- package/studio-dist/server/assets/{button-CIJqAhni.js → button-CgOIVdmD.js} +13 -1702
- package/studio-dist/server/assets/combobox-DV_s9W0s.js +483 -0
- package/studio-dist/server/assets/{companion-view-DISASvdJ.js → companion-view-BKVXD3TO.js} +3 -3
- package/studio-dist/server/assets/companions-C7fctnU9.js +31 -0
- package/studio-dist/server/assets/{createServerRpc-tK2lE9R2.js → createServerRpc-bFKFpGFG.js} +1 -1
- package/studio-dist/server/assets/{factory-DUTa0eDs.js → factory-C7Ybg0xG.js} +1256 -353
- package/studio-dist/server/assets/{factory-DGPmNGbo.js → factory-Df5uAHjb.js} +53 -6
- package/studio-dist/server/assets/fields-BbieQTD0.js +1190 -0
- package/studio-dist/server/assets/getting-started-B136TP57.js +4 -0
- package/studio-dist/server/assets/getting-started-CRxMWorQ.js +67 -0
- package/studio-dist/server/assets/getting-started._topic-DJKQAzYl.js +13 -0
- package/studio-dist/server/assets/getting-started.index-D84gec1t.js +13 -0
- package/studio-dist/server/assets/graph-CSje3029.js +801 -0
- package/studio-dist/server/assets/graph-DDZzXM1L.js +16 -0
- package/studio-dist/server/assets/graph-canvas-22bWB5-2.js +21066 -0
- package/studio-dist/server/assets/graph-wire-BdSUx0G5.js +58 -0
- package/studio-dist/server/assets/guides-D9dk1Frq.js +13 -0
- package/studio-dist/server/assets/guides-IE-19POz.js +5 -0
- package/studio-dist/server/assets/guides.server-vcYRY5wx.js +66 -0
- package/studio-dist/server/assets/jsx-runtime-Bt0s0YKS.js +451 -0
- package/studio-dist/server/assets/{markdown-view-Bn7xPdks.js → markdown-view-BR8dJ7aR.js} +28 -9
- package/studio-dist/server/assets/{panel-3Jmn4awF.js → panel-BR_t9iMM.js} +4 -4
- package/studio-dist/server/assets/queries-DWoTin-q.js +32 -0
- package/studio-dist/server/assets/react-CdqSUhaL.js +89 -0
- package/studio-dist/server/assets/redirect-BaZ_QyqF.js +39 -0
- package/studio-dist/server/assets/report-url-BUXPcE_8.js +9 -0
- package/studio-dist/server/assets/{reports-D6YMqhnO.js → reports-CQ9qQ1-n.js} +9 -10
- package/studio-dist/server/assets/{reports-C06RXVE2.js → reports-dYDEoBeq.js} +3 -3
- package/studio-dist/server/assets/{router-C8MGqlAY.js → router-DkRHNTpE.js} +787 -2862
- package/studio-dist/server/assets/{routes-BcFgvqf7.js → routes-B6GfOew4.js} +22 -171
- package/studio-dist/server/assets/{search-JAKurDNh.js → search-BJnWLfkG.js} +21 -2
- package/studio-dist/server/assets/select-Af7Wibii.js +1609 -0
- package/studio-dist/server/assets/{shell-DS3wUexh.js → shell-Hq-hXgnT.js} +6 -5
- package/studio-dist/server/assets/{skills-BEnOxiDl.js → skills-B7nEuVbx.js} +9 -8
- package/studio-dist/server/assets/{skills-CtrBAtX3.js → skills-B_YYL7q8.js} +3 -3
- package/studio-dist/server/assets/specs-BpLUFntA.js +51 -0
- package/studio-dist/server/assets/specs-view-0peMVd22.js +426 -0
- package/studio-dist/server/assets/spinner-CdwJW4VB.js +20 -0
- package/studio-dist/server/assets/{steps-Dq_CwY_s.js → steps-D56DApvK.js} +1 -1
- package/studio-dist/server/assets/store-Cs17okNG.js +280 -0
- package/studio-dist/server/assets/studio-CAcKp3bM.js +10340 -0
- package/studio-dist/server/assets/studio-queries-BtRGzDdh.js +1451 -0
- package/studio-dist/server/assets/usage-COdjd1gD.js +25570 -0
- package/studio-dist/server/assets/usage-f6pqE1tm.js +24 -0
- package/studio-dist/server/assets/useAnchoredPopupScrollLock-DlBKHRw7.js +756 -0
- package/studio-dist/server/assets/useMutation-DzTZGenE.js +690 -0
- package/studio-dist/server/assets/{__23tanstack-start-server-fn-resolver-M2GBs8s3.js → useSelector-DUmCUXAs.js} +4 -668
- package/studio-dist/server/assets/{vault-Fvxt2Tzl.js → vault-BDuIUq0F.js} +8 -5
- package/studio-dist/server/assets/{vault-BmWnryh3.js → vault-BVLp6zu3.js} +3 -3
- package/studio-dist/server/assets/{views-BgYa-za2.js → views-flRUr21z.js} +4 -4
- package/studio-dist/server/assets/{warnings-DzR6fyZh.js → warnings-CDy9pdgL.js} +3 -2
- package/studio-dist/server/assets/{delivery-path-C29fBynY.js → workflow-D9GKI2EV.js} +132 -106
- package/studio-dist/server/server.js +582 -8
- package/src/cli/commands/report/collector.ts +0 -288
- package/studio-dist/client/assets/app-CdPiFv59.css +0 -2
- package/studio-dist/client/assets/button-BIIHE0EQ.js +0 -3
- package/studio-dist/client/assets/companion-view-DM6YyXaR.js +0 -1
- package/studio-dist/client/assets/delivery-path-DELxj0Av.js +0 -1
- package/studio-dist/client/assets/factory-BZy0E8ty.js +0 -4
- package/studio-dist/client/assets/index-B3wkMzjA.js +0 -40
- package/studio-dist/client/assets/markdown-view-pQ2Qp_i5.js +0 -1
- package/studio-dist/client/assets/panel-CbajlC3p.js +0 -1
- package/studio-dist/client/assets/prepaint-CwSrpdFA.js +0 -27
- package/studio-dist/client/assets/react-CN2GSx7x.js +0 -1
- package/studio-dist/client/assets/reports-DllhYQ5_.js +0 -1
- package/studio-dist/client/assets/rolldown-runtime-WkwZ5CU-.js +0 -1
- package/studio-dist/client/assets/routes-COm-G3mK.js +0 -1
- package/studio-dist/client/assets/skills-DmWAy-jZ.js +0 -1
- package/studio-dist/client/assets/specs-BG3Wi3ln.js +0 -1
- package/studio-dist/client/assets/steps-DFsH3Neu.js +0 -1
- package/studio-dist/client/assets/vault-B2q1nBY5.js +0 -1
- package/studio-dist/client/assets/warnings-BSXIyuSQ.js +0 -1
- package/studio-dist/client/assets/workflow-DlsQD6Hc.js +0 -1
- package/studio-dist/server/assets/companions-BYbHWKOZ.js +0 -15
- package/studio-dist/server/assets/createServerFn-F5sAOF8V.js +0 -459
- package/studio-dist/server/assets/prepaint-DJfTQ_VH.js +0 -45
- package/studio-dist/server/assets/react-Ce6dj15C.js +0 -46
- package/studio-dist/server/assets/rolldown-runtime-DYf_mQCB.js +0 -34
- package/studio-dist/server/assets/specs-C8rv34-5.js +0 -211
- package/studio-dist/server/assets/studio-BeltxxKt.js +0 -216
- package/studio-dist/server/assets/workflow-liRYecHk.js +0 -73
|
@@ -1,385 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as require_react, o as __toESM, r as __commonJSMin } from "./jsx-runtime-Bt0s0YKS.js";
|
|
2
|
+
import { r as redirect, t as isRedirect } from "./redirect-BaZ_QyqF.js";
|
|
3
3
|
import { _ as protocolRelativePrefixRegex, a as deepEqual, c as functionalUpdate, d as hasOwn, g as nullReplaceEqualDeep, h as last, i as decodePath, l as getUrlScheme, n as arraysEqual, o as encodePathLikeUrl, r as createNull, t as DEFAULT_PROTOCOL_ALLOWLIST, u as hasKeys, v as replaceEqualDeep } from "./utils-C9CX1kcy.js";
|
|
4
|
-
// ../../node_modules/.bun/react@19.2.7/node_modules/react/cjs/react.production.js
|
|
5
|
-
/**
|
|
6
|
-
* @license React
|
|
7
|
-
* react.production.js
|
|
8
|
-
*
|
|
9
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the MIT license found in the
|
|
12
|
-
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/
|
|
14
|
-
var require_react_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
15
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
16
|
-
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
17
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
18
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
19
|
-
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
20
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
|
|
21
|
-
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
22
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
23
|
-
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
24
|
-
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
25
|
-
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
26
|
-
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
27
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
28
|
-
function getIteratorFn(maybeIterable) {
|
|
29
|
-
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
30
|
-
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
31
|
-
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
32
|
-
}
|
|
33
|
-
var ReactNoopUpdateQueue = {
|
|
34
|
-
isMounted: function() {
|
|
35
|
-
return !1;
|
|
36
|
-
},
|
|
37
|
-
enqueueForceUpdate: function() {},
|
|
38
|
-
enqueueReplaceState: function() {},
|
|
39
|
-
enqueueSetState: function() {}
|
|
40
|
-
};
|
|
41
|
-
var assign = Object.assign;
|
|
42
|
-
var emptyObject = {};
|
|
43
|
-
function Component(props, context, updater) {
|
|
44
|
-
this.props = props;
|
|
45
|
-
this.context = context;
|
|
46
|
-
this.refs = emptyObject;
|
|
47
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
48
|
-
}
|
|
49
|
-
Component.prototype.isReactComponent = {};
|
|
50
|
-
Component.prototype.setState = function(partialState, callback) {
|
|
51
|
-
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
|
|
52
|
-
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
53
|
-
};
|
|
54
|
-
Component.prototype.forceUpdate = function(callback) {
|
|
55
|
-
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
56
|
-
};
|
|
57
|
-
function ComponentDummy() {}
|
|
58
|
-
ComponentDummy.prototype = Component.prototype;
|
|
59
|
-
function PureComponent(props, context, updater) {
|
|
60
|
-
this.props = props;
|
|
61
|
-
this.context = context;
|
|
62
|
-
this.refs = emptyObject;
|
|
63
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
64
|
-
}
|
|
65
|
-
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
|
66
|
-
pureComponentPrototype.constructor = PureComponent;
|
|
67
|
-
assign(pureComponentPrototype, Component.prototype);
|
|
68
|
-
pureComponentPrototype.isPureReactComponent = !0;
|
|
69
|
-
var isArrayImpl = Array.isArray;
|
|
70
|
-
function noop() {}
|
|
71
|
-
var ReactSharedInternals = {
|
|
72
|
-
H: null,
|
|
73
|
-
A: null,
|
|
74
|
-
T: null,
|
|
75
|
-
S: null
|
|
76
|
-
};
|
|
77
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
78
|
-
function ReactElement(type, key, props) {
|
|
79
|
-
var refProp = props.ref;
|
|
80
|
-
return {
|
|
81
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
82
|
-
type,
|
|
83
|
-
key,
|
|
84
|
-
ref: void 0 !== refProp ? refProp : null,
|
|
85
|
-
props
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function cloneAndReplaceKey(oldElement, newKey) {
|
|
89
|
-
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
90
|
-
}
|
|
91
|
-
function isValidElement(object) {
|
|
92
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
93
|
-
}
|
|
94
|
-
function escape(key) {
|
|
95
|
-
var escaperLookup = {
|
|
96
|
-
"=": "=0",
|
|
97
|
-
":": "=2"
|
|
98
|
-
};
|
|
99
|
-
return "$" + key.replace(/[=:]/g, function(match) {
|
|
100
|
-
return escaperLookup[match];
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
104
|
-
function getElementKey(element, index) {
|
|
105
|
-
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
|
|
106
|
-
}
|
|
107
|
-
function resolveThenable(thenable) {
|
|
108
|
-
switch (thenable.status) {
|
|
109
|
-
case "fulfilled": return thenable.value;
|
|
110
|
-
case "rejected": throw thenable.reason;
|
|
111
|
-
default: switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function(fulfilledValue) {
|
|
112
|
-
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
113
|
-
}, function(error) {
|
|
114
|
-
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
115
|
-
})), thenable.status) {
|
|
116
|
-
case "fulfilled": return thenable.value;
|
|
117
|
-
case "rejected": throw thenable.reason;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
throw thenable;
|
|
121
|
-
}
|
|
122
|
-
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
123
|
-
var type = typeof children;
|
|
124
|
-
if ("undefined" === type || "boolean" === type) children = null;
|
|
125
|
-
var invokeCallback = !1;
|
|
126
|
-
if (null === children) invokeCallback = !0;
|
|
127
|
-
else switch (type) {
|
|
128
|
-
case "bigint":
|
|
129
|
-
case "string":
|
|
130
|
-
case "number":
|
|
131
|
-
invokeCallback = !0;
|
|
132
|
-
break;
|
|
133
|
-
case "object": switch (children.$$typeof) {
|
|
134
|
-
case REACT_ELEMENT_TYPE:
|
|
135
|
-
case REACT_PORTAL_TYPE:
|
|
136
|
-
invokeCallback = !0;
|
|
137
|
-
break;
|
|
138
|
-
case REACT_LAZY_TYPE: return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
if (invokeCallback) return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
|
142
|
-
return c;
|
|
143
|
-
})) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + invokeCallback)), array.push(callback)), 1;
|
|
144
|
-
invokeCallback = 0;
|
|
145
|
-
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
146
|
-
if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
|
|
147
|
-
else if (i = getIteratorFn(children), "function" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
|
|
148
|
-
else if ("object" === type) {
|
|
149
|
-
if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
|
|
150
|
-
array = String(children);
|
|
151
|
-
throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead.");
|
|
152
|
-
}
|
|
153
|
-
return invokeCallback;
|
|
154
|
-
}
|
|
155
|
-
function mapChildren(children, func, context) {
|
|
156
|
-
if (null == children) return children;
|
|
157
|
-
var result = [], count = 0;
|
|
158
|
-
mapIntoArray(children, result, "", "", function(child) {
|
|
159
|
-
return func.call(context, child, count++);
|
|
160
|
-
});
|
|
161
|
-
return result;
|
|
162
|
-
}
|
|
163
|
-
function lazyInitializer(payload) {
|
|
164
|
-
if (-1 === payload._status) {
|
|
165
|
-
var ctor = payload._result;
|
|
166
|
-
ctor = ctor();
|
|
167
|
-
ctor.then(function(moduleObject) {
|
|
168
|
-
if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;
|
|
169
|
-
}, function(error) {
|
|
170
|
-
if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;
|
|
171
|
-
});
|
|
172
|
-
-1 === payload._status && (payload._status = 0, payload._result = ctor);
|
|
173
|
-
}
|
|
174
|
-
if (1 === payload._status) return payload._result.default;
|
|
175
|
-
throw payload._result;
|
|
176
|
-
}
|
|
177
|
-
var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
178
|
-
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
179
|
-
var event = new window.ErrorEvent("error", {
|
|
180
|
-
bubbles: !0,
|
|
181
|
-
cancelable: !0,
|
|
182
|
-
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
|
183
|
-
error
|
|
184
|
-
});
|
|
185
|
-
if (!window.dispatchEvent(event)) return;
|
|
186
|
-
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
|
187
|
-
process.emit("uncaughtException", error);
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
console.error(error);
|
|
191
|
-
};
|
|
192
|
-
var Children = {
|
|
193
|
-
map: mapChildren,
|
|
194
|
-
forEach: function(children, forEachFunc, forEachContext) {
|
|
195
|
-
mapChildren(children, function() {
|
|
196
|
-
forEachFunc.apply(this, arguments);
|
|
197
|
-
}, forEachContext);
|
|
198
|
-
},
|
|
199
|
-
count: function(children) {
|
|
200
|
-
var n = 0;
|
|
201
|
-
mapChildren(children, function() {
|
|
202
|
-
n++;
|
|
203
|
-
});
|
|
204
|
-
return n;
|
|
205
|
-
},
|
|
206
|
-
toArray: function(children) {
|
|
207
|
-
return mapChildren(children, function(child) {
|
|
208
|
-
return child;
|
|
209
|
-
}) || [];
|
|
210
|
-
},
|
|
211
|
-
only: function(children) {
|
|
212
|
-
if (!isValidElement(children)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
213
|
-
return children;
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
217
|
-
exports.Children = Children;
|
|
218
|
-
exports.Component = Component;
|
|
219
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
220
|
-
exports.Profiler = REACT_PROFILER_TYPE;
|
|
221
|
-
exports.PureComponent = PureComponent;
|
|
222
|
-
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
223
|
-
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
224
|
-
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
225
|
-
exports.__COMPILER_RUNTIME = {
|
|
226
|
-
__proto__: null,
|
|
227
|
-
c: function(size) {
|
|
228
|
-
return ReactSharedInternals.H.useMemoCache(size);
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
exports.cache = function(fn) {
|
|
232
|
-
return function() {
|
|
233
|
-
return fn.apply(null, arguments);
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
exports.cacheSignal = function() {
|
|
237
|
-
return null;
|
|
238
|
-
};
|
|
239
|
-
exports.cloneElement = function(element, config, children) {
|
|
240
|
-
if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
|
|
241
|
-
var props = assign({}, element.props), key = element.key;
|
|
242
|
-
if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
243
|
-
var propName = arguments.length - 2;
|
|
244
|
-
if (1 === propName) props.children = children;
|
|
245
|
-
else if (1 < propName) {
|
|
246
|
-
for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2];
|
|
247
|
-
props.children = childArray;
|
|
248
|
-
}
|
|
249
|
-
return ReactElement(element.type, key, props);
|
|
250
|
-
};
|
|
251
|
-
exports.createContext = function(defaultValue) {
|
|
252
|
-
defaultValue = {
|
|
253
|
-
$$typeof: REACT_CONTEXT_TYPE,
|
|
254
|
-
_currentValue: defaultValue,
|
|
255
|
-
_currentValue2: defaultValue,
|
|
256
|
-
_threadCount: 0,
|
|
257
|
-
Provider: null,
|
|
258
|
-
Consumer: null
|
|
259
|
-
};
|
|
260
|
-
defaultValue.Provider = defaultValue;
|
|
261
|
-
defaultValue.Consumer = {
|
|
262
|
-
$$typeof: REACT_CONSUMER_TYPE,
|
|
263
|
-
_context: defaultValue
|
|
264
|
-
};
|
|
265
|
-
return defaultValue;
|
|
266
|
-
};
|
|
267
|
-
exports.createElement = function(type, config, children) {
|
|
268
|
-
var propName, props = {}, key = null;
|
|
269
|
-
if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
|
|
270
|
-
var childrenLength = arguments.length - 2;
|
|
271
|
-
if (1 === childrenLength) props.children = children;
|
|
272
|
-
else if (1 < childrenLength) {
|
|
273
|
-
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2];
|
|
274
|
-
props.children = childArray;
|
|
275
|
-
}
|
|
276
|
-
if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
277
|
-
return ReactElement(type, key, props);
|
|
278
|
-
};
|
|
279
|
-
exports.createRef = function() {
|
|
280
|
-
return { current: null };
|
|
281
|
-
};
|
|
282
|
-
exports.forwardRef = function(render) {
|
|
283
|
-
return {
|
|
284
|
-
$$typeof: REACT_FORWARD_REF_TYPE,
|
|
285
|
-
render
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
exports.isValidElement = isValidElement;
|
|
289
|
-
exports.lazy = function(ctor) {
|
|
290
|
-
return {
|
|
291
|
-
$$typeof: REACT_LAZY_TYPE,
|
|
292
|
-
_payload: {
|
|
293
|
-
_status: -1,
|
|
294
|
-
_result: ctor
|
|
295
|
-
},
|
|
296
|
-
_init: lazyInitializer
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
exports.memo = function(type, compare) {
|
|
300
|
-
return {
|
|
301
|
-
$$typeof: REACT_MEMO_TYPE,
|
|
302
|
-
type,
|
|
303
|
-
compare: void 0 === compare ? null : compare
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
exports.startTransition = function(scope) {
|
|
307
|
-
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
308
|
-
ReactSharedInternals.T = currentTransition;
|
|
309
|
-
try {
|
|
310
|
-
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
311
|
-
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
312
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
313
|
-
} catch (error) {
|
|
314
|
-
reportGlobalError(error);
|
|
315
|
-
} finally {
|
|
316
|
-
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
exports.unstable_useCacheRefresh = function() {
|
|
320
|
-
return ReactSharedInternals.H.useCacheRefresh();
|
|
321
|
-
};
|
|
322
|
-
exports.use = function(usable) {
|
|
323
|
-
return ReactSharedInternals.H.use(usable);
|
|
324
|
-
};
|
|
325
|
-
exports.useActionState = function(action, initialState, permalink) {
|
|
326
|
-
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
327
|
-
};
|
|
328
|
-
exports.useCallback = function(callback, deps) {
|
|
329
|
-
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
330
|
-
};
|
|
331
|
-
exports.useContext = function(Context) {
|
|
332
|
-
return ReactSharedInternals.H.useContext(Context);
|
|
333
|
-
};
|
|
334
|
-
exports.useDebugValue = function() {};
|
|
335
|
-
exports.useDeferredValue = function(value, initialValue) {
|
|
336
|
-
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
337
|
-
};
|
|
338
|
-
exports.useEffect = function(create, deps) {
|
|
339
|
-
return ReactSharedInternals.H.useEffect(create, deps);
|
|
340
|
-
};
|
|
341
|
-
exports.useEffectEvent = function(callback) {
|
|
342
|
-
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
343
|
-
};
|
|
344
|
-
exports.useId = function() {
|
|
345
|
-
return ReactSharedInternals.H.useId();
|
|
346
|
-
};
|
|
347
|
-
exports.useImperativeHandle = function(ref, create, deps) {
|
|
348
|
-
return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
|
|
349
|
-
};
|
|
350
|
-
exports.useInsertionEffect = function(create, deps) {
|
|
351
|
-
return ReactSharedInternals.H.useInsertionEffect(create, deps);
|
|
352
|
-
};
|
|
353
|
-
exports.useLayoutEffect = function(create, deps) {
|
|
354
|
-
return ReactSharedInternals.H.useLayoutEffect(create, deps);
|
|
355
|
-
};
|
|
356
|
-
exports.useMemo = function(create, deps) {
|
|
357
|
-
return ReactSharedInternals.H.useMemo(create, deps);
|
|
358
|
-
};
|
|
359
|
-
exports.useOptimistic = function(passthrough, reducer) {
|
|
360
|
-
return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
361
|
-
};
|
|
362
|
-
exports.useReducer = function(reducer, initialArg, init) {
|
|
363
|
-
return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
|
|
364
|
-
};
|
|
365
|
-
exports.useRef = function(initialValue) {
|
|
366
|
-
return ReactSharedInternals.H.useRef(initialValue);
|
|
367
|
-
};
|
|
368
|
-
exports.useState = function(initialState) {
|
|
369
|
-
return ReactSharedInternals.H.useState(initialState);
|
|
370
|
-
};
|
|
371
|
-
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
|
372
|
-
return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
373
|
-
};
|
|
374
|
-
exports.useTransition = function() {
|
|
375
|
-
return ReactSharedInternals.H.useTransition();
|
|
376
|
-
};
|
|
377
|
-
exports.version = "19.2.7";
|
|
378
|
-
}));
|
|
379
|
-
// ../../node_modules/.bun/react@19.2.7/node_modules/react/index.js
|
|
380
|
-
var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
381
|
-
module.exports = require_react_production();
|
|
382
|
-
}));
|
|
383
4
|
// ../../node_modules/.bun/@tanstack+router-core@1.171.39/node_modules/@tanstack/router-core/dist/esm/not-found.js
|
|
384
5
|
/** Determine if a value is a TanStack Router not-found error. */
|
|
385
6
|
function isNotFound(obj) {
|
|
@@ -3545,53 +3166,8 @@ async function loadServerRoute(router, opts) {
|
|
|
3545
3166
|
router._commitPromise?.resolve();
|
|
3546
3167
|
router._commitPromise = void 0;
|
|
3547
3168
|
}
|
|
3548
|
-
// ../../node_modules/.bun/@tanstack+react-router@1.170.46+7492c01c6988791b/node_modules/@tanstack/react-router/dist/esm/utils.js
|
|
3549
|
-
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
3550
|
-
/**
|
|
3551
|
-
* React.use if available (React 19+), undefined otherwise.
|
|
3552
|
-
* Use dynamic lookup to avoid Webpack compilation errors with React 18.
|
|
3553
|
-
*/
|
|
3554
|
-
var reactUse = import_react.use;
|
|
3555
|
-
var useLayoutEffect = import_react.useEffect;
|
|
3556
|
-
// ../../node_modules/.bun/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
3557
|
-
/**
|
|
3558
|
-
* @license React
|
|
3559
|
-
* react-jsx-runtime.production.js
|
|
3560
|
-
*
|
|
3561
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3562
|
-
*
|
|
3563
|
-
* This source code is licensed under the MIT license found in the
|
|
3564
|
-
* LICENSE file in the root directory of this source tree.
|
|
3565
|
-
*/
|
|
3566
|
-
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3567
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
3568
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
3569
|
-
function jsxProd(type, config, maybeKey) {
|
|
3570
|
-
var key = null;
|
|
3571
|
-
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
3572
|
-
void 0 !== config.key && (key = "" + config.key);
|
|
3573
|
-
if ("key" in config) {
|
|
3574
|
-
maybeKey = {};
|
|
3575
|
-
for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
|
|
3576
|
-
} else maybeKey = config;
|
|
3577
|
-
config = maybeKey.ref;
|
|
3578
|
-
return {
|
|
3579
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
3580
|
-
type,
|
|
3581
|
-
key,
|
|
3582
|
-
ref: void 0 !== config ? config : null,
|
|
3583
|
-
props: maybeKey
|
|
3584
|
-
};
|
|
3585
|
-
}
|
|
3586
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
3587
|
-
exports.jsx = jsxProd;
|
|
3588
|
-
exports.jsxs = jsxProd;
|
|
3589
|
-
}));
|
|
3590
|
-
// ../../node_modules/.bun/react@19.2.7/node_modules/react/jsx-runtime.js
|
|
3591
|
-
var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3592
|
-
module.exports = require_react_jsx_runtime_production();
|
|
3593
|
-
}));
|
|
3594
3169
|
// ../../node_modules/.bun/@tanstack+react-router@1.170.46+7492c01c6988791b/node_modules/@tanstack/react-router/dist/esm/routerContext.js
|
|
3170
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
3595
3171
|
var routerContext = import_react.createContext(null);
|
|
3596
3172
|
// ../../node_modules/.bun/@tanstack+react-router@1.170.46+7492c01c6988791b/node_modules/@tanstack/react-router/dist/esm/useRouter.js
|
|
3597
3173
|
/**
|
|
@@ -3808,244 +3384,4 @@ function useSelector(source, selector = (s) => s, options) {
|
|
|
3808
3384
|
const getSnapshot = (0, import_react.useCallback)(() => source.get(), [source]);
|
|
3809
3385
|
return (0, import_with_selector.useSyncExternalStoreWithSelector)(subscribe, getSnapshot, getSnapshot, selector, compare);
|
|
3810
3386
|
}
|
|
3811
|
-
|
|
3812
|
-
const previousResult = import_react.useRef();
|
|
3813
|
-
return (slice) => {
|
|
3814
|
-
const selected = opts?.select ? opts.select(slice) : slice;
|
|
3815
|
-
if (opts?.structuralSharing ?? router.options.defaultStructuralSharing) return previousResult.current = replaceEqualDeep(previousResult.current, selected);
|
|
3816
|
-
return selected;
|
|
3817
|
-
};
|
|
3818
|
-
}
|
|
3819
|
-
/**
|
|
3820
|
-
* Read and select the nearest or targeted route match.
|
|
3821
|
-
* @link https://tanstack.com/router/latest/docs/framework/react/api/router/useMatchHook
|
|
3822
|
-
*/
|
|
3823
|
-
function useMatch(opts) {
|
|
3824
|
-
const router = useRouter();
|
|
3825
|
-
const nearestRouteId = import_react.useContext(opts.from ? dummyMatchContext : matchContext);
|
|
3826
|
-
const routeId = opts.from ?? nearestRouteId;
|
|
3827
|
-
const matchStore = router.stores.getMatchStore(routeId);
|
|
3828
|
-
{
|
|
3829
|
-
const match = matchStore.get();
|
|
3830
|
-
if (!match) {
|
|
3831
|
-
if (opts.shouldThrow ?? true) invariant();
|
|
3832
|
-
return;
|
|
3833
|
-
}
|
|
3834
|
-
return opts.select ? opts.select(match) : match;
|
|
3835
|
-
}
|
|
3836
|
-
}
|
|
3837
|
-
// ../../node_modules/.bun/react-dom@19.2.7+e14d3f224186685e/node_modules/react-dom/cjs/react-dom.production.js
|
|
3838
|
-
/**
|
|
3839
|
-
* @license React
|
|
3840
|
-
* react-dom.production.js
|
|
3841
|
-
*
|
|
3842
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3843
|
-
*
|
|
3844
|
-
* This source code is licensed under the MIT license found in the
|
|
3845
|
-
* LICENSE file in the root directory of this source tree.
|
|
3846
|
-
*/
|
|
3847
|
-
var require_react_dom_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3848
|
-
var React = require_react();
|
|
3849
|
-
function formatProdErrorMessage(code) {
|
|
3850
|
-
var url = "https://react.dev/errors/" + code;
|
|
3851
|
-
if (1 < arguments.length) {
|
|
3852
|
-
url += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
3853
|
-
for (var i = 2; i < arguments.length; i++) url += "&args[]=" + encodeURIComponent(arguments[i]);
|
|
3854
|
-
}
|
|
3855
|
-
return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
3856
|
-
}
|
|
3857
|
-
function noop() {}
|
|
3858
|
-
var Internals = {
|
|
3859
|
-
d: {
|
|
3860
|
-
f: noop,
|
|
3861
|
-
r: function() {
|
|
3862
|
-
throw Error(formatProdErrorMessage(522));
|
|
3863
|
-
},
|
|
3864
|
-
D: noop,
|
|
3865
|
-
C: noop,
|
|
3866
|
-
L: noop,
|
|
3867
|
-
m: noop,
|
|
3868
|
-
X: noop,
|
|
3869
|
-
S: noop,
|
|
3870
|
-
M: noop
|
|
3871
|
-
},
|
|
3872
|
-
p: 0,
|
|
3873
|
-
findDOMNode: null
|
|
3874
|
-
};
|
|
3875
|
-
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
3876
|
-
function createPortal$1(children, containerInfo, implementation) {
|
|
3877
|
-
var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
|
|
3878
|
-
return {
|
|
3879
|
-
$$typeof: REACT_PORTAL_TYPE,
|
|
3880
|
-
key: null == key ? null : "" + key,
|
|
3881
|
-
children,
|
|
3882
|
-
containerInfo,
|
|
3883
|
-
implementation
|
|
3884
|
-
};
|
|
3885
|
-
}
|
|
3886
|
-
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
3887
|
-
function getCrossOriginStringAs(as, input) {
|
|
3888
|
-
if ("font" === as) return "";
|
|
3889
|
-
if ("string" === typeof input) return "use-credentials" === input ? input : "";
|
|
3890
|
-
}
|
|
3891
|
-
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
|
|
3892
|
-
exports.createPortal = function(children, container) {
|
|
3893
|
-
var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
|
|
3894
|
-
if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error(formatProdErrorMessage(299));
|
|
3895
|
-
return createPortal$1(children, container, null, key);
|
|
3896
|
-
};
|
|
3897
|
-
exports.flushSync = function(fn) {
|
|
3898
|
-
var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
|
|
3899
|
-
try {
|
|
3900
|
-
if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
|
|
3901
|
-
} finally {
|
|
3902
|
-
ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
|
|
3903
|
-
}
|
|
3904
|
-
};
|
|
3905
|
-
exports.preconnect = function(href, options) {
|
|
3906
|
-
"string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
|
|
3907
|
-
};
|
|
3908
|
-
exports.prefetchDNS = function(href) {
|
|
3909
|
-
"string" === typeof href && Internals.d.D(href);
|
|
3910
|
-
};
|
|
3911
|
-
exports.preinit = function(href, options) {
|
|
3912
|
-
if ("string" === typeof href && options && "string" === typeof options.as) {
|
|
3913
|
-
var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
|
|
3914
|
-
"style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : void 0, {
|
|
3915
|
-
crossOrigin,
|
|
3916
|
-
integrity,
|
|
3917
|
-
fetchPriority
|
|
3918
|
-
}) : "script" === as && Internals.d.X(href, {
|
|
3919
|
-
crossOrigin,
|
|
3920
|
-
integrity,
|
|
3921
|
-
fetchPriority,
|
|
3922
|
-
nonce: "string" === typeof options.nonce ? options.nonce : void 0
|
|
3923
|
-
});
|
|
3924
|
-
}
|
|
3925
|
-
};
|
|
3926
|
-
exports.preinitModule = function(href, options) {
|
|
3927
|
-
if ("string" === typeof href) if ("object" === typeof options && null !== options) {
|
|
3928
|
-
if (null == options.as || "script" === options.as) {
|
|
3929
|
-
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
|
|
3930
|
-
Internals.d.M(href, {
|
|
3931
|
-
crossOrigin,
|
|
3932
|
-
integrity: "string" === typeof options.integrity ? options.integrity : void 0,
|
|
3933
|
-
nonce: "string" === typeof options.nonce ? options.nonce : void 0
|
|
3934
|
-
});
|
|
3935
|
-
}
|
|
3936
|
-
} else options ?? Internals.d.M(href);
|
|
3937
|
-
};
|
|
3938
|
-
exports.preload = function(href, options) {
|
|
3939
|
-
if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
|
|
3940
|
-
var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
|
|
3941
|
-
Internals.d.L(href, as, {
|
|
3942
|
-
crossOrigin,
|
|
3943
|
-
integrity: "string" === typeof options.integrity ? options.integrity : void 0,
|
|
3944
|
-
nonce: "string" === typeof options.nonce ? options.nonce : void 0,
|
|
3945
|
-
type: "string" === typeof options.type ? options.type : void 0,
|
|
3946
|
-
fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
|
|
3947
|
-
referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
|
|
3948
|
-
imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
|
|
3949
|
-
imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
|
|
3950
|
-
media: "string" === typeof options.media ? options.media : void 0
|
|
3951
|
-
});
|
|
3952
|
-
}
|
|
3953
|
-
};
|
|
3954
|
-
exports.preloadModule = function(href, options) {
|
|
3955
|
-
if ("string" === typeof href) if (options) {
|
|
3956
|
-
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
|
|
3957
|
-
Internals.d.m(href, {
|
|
3958
|
-
as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
|
|
3959
|
-
crossOrigin,
|
|
3960
|
-
integrity: "string" === typeof options.integrity ? options.integrity : void 0
|
|
3961
|
-
});
|
|
3962
|
-
} else Internals.d.m(href);
|
|
3963
|
-
};
|
|
3964
|
-
exports.requestFormReset = function(form) {
|
|
3965
|
-
Internals.d.r(form);
|
|
3966
|
-
};
|
|
3967
|
-
exports.unstable_batchedUpdates = function(fn, a) {
|
|
3968
|
-
return fn(a);
|
|
3969
|
-
};
|
|
3970
|
-
exports.useFormState = function(action, initialState, permalink) {
|
|
3971
|
-
return ReactSharedInternals.H.useFormState(action, initialState, permalink);
|
|
3972
|
-
};
|
|
3973
|
-
exports.useFormStatus = function() {
|
|
3974
|
-
return ReactSharedInternals.H.useHostTransitionStatus();
|
|
3975
|
-
};
|
|
3976
|
-
exports.version = "19.2.7";
|
|
3977
|
-
}));
|
|
3978
|
-
// ../../node_modules/.bun/react-dom@19.2.7+e14d3f224186685e/node_modules/react-dom/index.js
|
|
3979
|
-
var require_react_dom = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3980
|
-
function checkDCE() {
|
|
3981
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") return;
|
|
3982
|
-
try {
|
|
3983
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
|
3984
|
-
} catch (err) {
|
|
3985
|
-
console.error(err);
|
|
3986
|
-
}
|
|
3987
|
-
}
|
|
3988
|
-
checkDCE();
|
|
3989
|
-
module.exports = require_react_dom_production();
|
|
3990
|
-
}));
|
|
3991
|
-
// \0%23tanstack-start-server-fn-resolver
|
|
3992
|
-
var manifest = {
|
|
3993
|
-
"332ea72d0b70383661ce66a3228167cb05dc752e7269134a11855d1329c936aa": {
|
|
3994
|
-
functionName: "getFactory_createServerFn_handler",
|
|
3995
|
-
importer: () => import("./factory-DGPmNGbo.js")
|
|
3996
|
-
},
|
|
3997
|
-
"63d1e2171062e2d082e16522c162963c4da2a71c447f69f0937bd6e5e10b73ba": {
|
|
3998
|
-
functionName: "saveVaultFile_createServerFn_handler",
|
|
3999
|
-
importer: () => import("./vault-BmWnryh3.js")
|
|
4000
|
-
},
|
|
4001
|
-
"7564d662d1e0ede6133407d7dde8d613b3b11718bc4f95160680342deeaf9cfd": {
|
|
4002
|
-
functionName: "getVaultChildren_createServerFn_handler",
|
|
4003
|
-
importer: () => import("./vault-BmWnryh3.js")
|
|
4004
|
-
},
|
|
4005
|
-
"8a3086c4bf87fd353e471c38fe6c5e531cb9aa6b29b234d7edb6de5d143cf689": {
|
|
4006
|
-
functionName: "getSkillPreview_createServerFn_handler",
|
|
4007
|
-
importer: () => import("./skills-CtrBAtX3.js")
|
|
4008
|
-
},
|
|
4009
|
-
"990d830ca9afc020639551c43ec50904b734051c52b1ad91dbf739065b343bb3": {
|
|
4010
|
-
functionName: "getReports_createServerFn_handler",
|
|
4011
|
-
importer: () => import("./reports-C06RXVE2.js")
|
|
4012
|
-
},
|
|
4013
|
-
"99f4d57911b5959a331ed18424ab13369de22f8b2b142a146ea967742dfbc997": {
|
|
4014
|
-
functionName: "getVaultMatches_createServerFn_handler",
|
|
4015
|
-
importer: () => import("./vault-BmWnryh3.js")
|
|
4016
|
-
},
|
|
4017
|
-
"9d1ee2ce056a1b26a05141623f6d836fa1c4c283e555132764a528a212e3c50a": {
|
|
4018
|
-
functionName: "deleteCompanion_createServerFn_handler",
|
|
4019
|
-
importer: () => import("./companions-BYbHWKOZ.js")
|
|
4020
|
-
},
|
|
4021
|
-
"a09876e9d912d4f3edfe004081679f011fcebe77cfe1b2b25cf6f3e6f1eafc6a": {
|
|
4022
|
-
functionName: "getCompanionView_createServerFn_handler",
|
|
4023
|
-
importer: () => import("./views-BgYa-za2.js")
|
|
4024
|
-
},
|
|
4025
|
-
"b0ff357be654d7d833a4f9550953dda5e215e97cdc5b21639aef40d8a2401c4f": {
|
|
4026
|
-
functionName: "runFactoryAction_createServerFn_handler",
|
|
4027
|
-
importer: () => import("./factory-DGPmNGbo.js")
|
|
4028
|
-
},
|
|
4029
|
-
"b4cd58adfccec803b6c97478c78656e3acf554351ec97ef0ce550a10e235ebce": {
|
|
4030
|
-
functionName: "getShell_createServerFn_handler",
|
|
4031
|
-
importer: () => import("./shell-DS3wUexh.js")
|
|
4032
|
-
},
|
|
4033
|
-
"c9e07976b298f1d1353d3422b03638f260b66975d28a1c8b07919923be8c488d": {
|
|
4034
|
-
functionName: "previewVaultFile_createServerFn_handler",
|
|
4035
|
-
importer: () => import("./vault-BmWnryh3.js")
|
|
4036
|
-
},
|
|
4037
|
-
"cc0685774bfb5205a762c25bdd4b959c1f541584df4b67aac816fe529fa37c87": {
|
|
4038
|
-
functionName: "getVault_createServerFn_handler",
|
|
4039
|
-
importer: () => import("./vault-BmWnryh3.js")
|
|
4040
|
-
}
|
|
4041
|
-
};
|
|
4042
|
-
async function getServerFnById(id, access) {
|
|
4043
|
-
const serverFnInfo = manifest[id];
|
|
4044
|
-
if (!serverFnInfo) throw new Error("Server function info not found for " + id);
|
|
4045
|
-
const fnModule = serverFnInfo.module ??= await serverFnInfo.importer();
|
|
4046
|
-
if (!fnModule) throw new Error("Server function module not resolved for " + id);
|
|
4047
|
-
const action = fnModule[serverFnInfo.functionName];
|
|
4048
|
-
if (!action) throw new Error("Server function module export not resolved for serverFn ID: " + id);
|
|
4049
|
-
return action;
|
|
4050
|
-
}
|
|
4051
|
-
export { isNotFound as A, invariant as C, trimPathLeft as D, removeTrailingSlash as E, trimPathRight as O, storageKey as S, cleanPath as T, getLocationChangeInfo as _, useSelector as a, createNonReactiveReadonlyStore as b, useRouter as c, reactUse as d, useLayoutEffect as f, RouterCore as g, _getRenderedMatches as h, useStructuralSharing as i, require_react as j, rootRouteId as k, routerContext as l, _getAssetMatches as m, require_react_dom as n, createLinkScope as o, waitForReason as p, useMatch as r, matchContext as s, getServerFnById as t, require_jsx_runtime as u, createServerHistory as v, createSieveCache as w, defaultGetScrollRestorationKey as x, createNonReactiveMutableStore as y };
|
|
3387
|
+
export { rootRouteId as C, trimPathRight as S, invariant as _, useRouter as a, removeTrailingSlash as b, _getAssetMatches as c, getLocationChangeInfo as d, createServerHistory as f, storageKey as g, defaultGetScrollRestorationKey as h, matchContext as i, _getRenderedMatches as l, createNonReactiveReadonlyStore as m, createLinkScope as n, routerContext as o, createNonReactiveMutableStore as p, dummyMatchContext as r, waitForReason as s, useSelector as t, RouterCore as u, createSieveCache as v, isNotFound as w, trimPathLeft as x, cleanPath as y };
|