@selvajs/selva 4.20.0-beta.7 → 4.20.0-beta.9
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/build/client/_app/immutable/assets/0.DOtWaoEl.css +2 -0
- package/build/client/_app/immutable/assets/0.DOtWaoEl.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DOtWaoEl.css.gz +0 -0
- package/build/client/_app/immutable/assets/21.R_QLUeP3.css +1 -0
- package/build/client/_app/immutable/assets/21.R_QLUeP3.css.br +0 -0
- package/build/client/_app/immutable/assets/21.R_QLUeP3.css.gz +0 -0
- package/build/client/_app/immutable/assets/DataTable.BjgXtTHK.css +1 -0
- package/build/client/_app/immutable/assets/DataTable.BjgXtTHK.css.br +1 -0
- package/build/client/_app/immutable/assets/DataTable.BjgXtTHK.css.gz +0 -0
- package/build/client/_app/immutable/chunks/9m-fe48X.js +1 -0
- package/build/client/_app/immutable/chunks/9m-fe48X.js.br +0 -0
- package/build/client/_app/immutable/chunks/9m-fe48X.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B69yZ2l6.js +1 -0
- package/build/client/_app/immutable/chunks/B69yZ2l6.js.br +0 -0
- package/build/client/_app/immutable/chunks/B69yZ2l6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BqhvQ3-Q.js +1 -0
- package/build/client/_app/immutable/chunks/BqhvQ3-Q.js.br +0 -0
- package/build/client/_app/immutable/chunks/BqhvQ3-Q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ByS3bA8P.js +1 -0
- package/build/client/_app/immutable/chunks/ByS3bA8P.js.br +2 -0
- package/build/client/_app/immutable/chunks/ByS3bA8P.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CB3nEQGh.js +1 -0
- package/build/client/_app/immutable/chunks/CB3nEQGh.js.br +0 -0
- package/build/client/_app/immutable/chunks/CB3nEQGh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEW3KB9q.js +2 -0
- package/build/client/_app/immutable/chunks/CEW3KB9q.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEW3KB9q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CHfE2I8z.js +1 -0
- package/build/client/_app/immutable/chunks/CHfE2I8z.js.br +0 -0
- package/build/client/_app/immutable/chunks/CHfE2I8z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CbWxsJKn.js +1 -0
- package/build/client/_app/immutable/chunks/CbWxsJKn.js.br +1 -0
- package/build/client/_app/immutable/chunks/CbWxsJKn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7PSgc5P.js +1 -0
- package/build/client/_app/immutable/chunks/D7PSgc5P.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7PSgc5P.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8WbMyuC.js +1 -0
- package/build/client/_app/immutable/chunks/D8WbMyuC.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8WbMyuC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCBNs10A.js +1 -0
- package/build/client/_app/immutable/chunks/DCBNs10A.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCBNs10A.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DKwy6peE.js +1 -0
- package/build/client/_app/immutable/chunks/DKwy6peE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DKwy6peE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmH6xwQa.js +1 -0
- package/build/client/_app/immutable/chunks/DmH6xwQa.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmH6xwQa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Xnznd5sH.js +1 -0
- package/build/client/_app/immutable/chunks/Xnznd5sH.js.br +0 -0
- package/build/client/_app/immutable/chunks/Xnznd5sH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lNjDOXWM.js +1 -0
- package/build/client/_app/immutable/chunks/lNjDOXWM.js.br +0 -0
- package/build/client/_app/immutable/chunks/lNjDOXWM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/zJ8OIk3I.js +1 -0
- package/build/client/_app/immutable/chunks/zJ8OIk3I.js.br +0 -0
- package/build/client/_app/immutable/chunks/zJ8OIk3I.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.BRcMfTGP.js +2 -0
- package/build/client/_app/immutable/entry/app.BRcMfTGP.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BRcMfTGP.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DYMn3TAW.js +1 -0
- package/build/client/_app/immutable/entry/start.DYMn3TAW.js.br +1 -0
- package/build/client/_app/immutable/entry/start.DYMn3TAW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.DWfzEl33.js +1 -0
- package/build/client/_app/immutable/nodes/1.DWfzEl33.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DWfzEl33.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.BnEAfjk6.js +3 -0
- package/build/client/_app/immutable/nodes/10.BnEAfjk6.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.BnEAfjk6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.DNDkWuOr.js +3 -0
- package/build/client/_app/immutable/nodes/11.DNDkWuOr.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.DNDkWuOr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.B2SBrv1t.js +1 -0
- package/build/client/_app/immutable/nodes/12.B2SBrv1t.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.B2SBrv1t.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.Bzriz6PG.js +2 -0
- package/build/client/_app/immutable/nodes/13.Bzriz6PG.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.Bzriz6PG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.Dj2gWsTe.js +2 -0
- package/build/client/_app/immutable/nodes/14.Dj2gWsTe.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.Dj2gWsTe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.D0IU8YpZ.js +28 -0
- package/build/client/_app/immutable/nodes/15.D0IU8YpZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.D0IU8YpZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.CtA57HFi.js +5 -0
- package/build/client/_app/immutable/nodes/16.CtA57HFi.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.CtA57HFi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.BvRxlgAV.js +2 -0
- package/build/client/_app/immutable/nodes/17.BvRxlgAV.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.BvRxlgAV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CSeD5vs_.js +7 -0
- package/build/client/_app/immutable/nodes/19.CSeD5vs_.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CSeD5vs_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BEg2dI4O.js +1 -0
- package/build/client/_app/immutable/nodes/2.BEg2dI4O.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BEg2dI4O.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.Do62FVPu.js +2 -0
- package/build/client/_app/immutable/nodes/20.Do62FVPu.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.Do62FVPu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.Czj4K1E5.js +5668 -0
- package/build/client/_app/immutable/nodes/21.Czj4K1E5.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.Czj4K1E5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.CgRBcj9l.js +6 -0
- package/build/client/_app/immutable/nodes/22.CgRBcj9l.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.CgRBcj9l.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.DsN2xNEo.js +3 -0
- package/build/client/_app/immutable/nodes/24.DsN2xNEo.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.DsN2xNEo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.CYemIi1v.js +16 -0
- package/build/client/_app/immutable/nodes/25.CYemIi1v.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.CYemIi1v.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.DVnwcFNZ.js +6 -0
- package/build/client/_app/immutable/nodes/26.DVnwcFNZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.DVnwcFNZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.DDf1wSgu.js +1 -0
- package/build/client/_app/immutable/nodes/27.DDf1wSgu.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.DDf1wSgu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.DpAfyobf.js +3 -0
- package/build/client/_app/immutable/nodes/28.DpAfyobf.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.DpAfyobf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.BXYpWpfm.js +4 -0
- package/build/client/_app/immutable/nodes/29.BXYpWpfm.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.BXYpWpfm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.BpFFzJFq.js +1 -0
- package/build/client/_app/immutable/nodes/3.BpFFzJFq.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BpFFzJFq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.Bhyn6DlB.js +6 -0
- package/build/client/_app/immutable/nodes/30.Bhyn6DlB.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.Bhyn6DlB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.CJA_L8oI.js +2 -0
- package/build/client/_app/immutable/nodes/31.CJA_L8oI.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.CJA_L8oI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.Bc91U0-M.js +2 -0
- package/build/client/_app/immutable/nodes/32.Bc91U0-M.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.Bc91U0-M.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.CokklMWJ.js +2 -0
- package/build/client/_app/immutable/nodes/33.CokklMWJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.CokklMWJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.C8pjdY-u.js +1 -0
- package/build/client/_app/immutable/nodes/34.C8pjdY-u.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.C8pjdY-u.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.gWiulaTy.js +2 -0
- package/build/client/_app/immutable/nodes/35.gWiulaTy.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.gWiulaTy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DFY3IKE7.js +1 -0
- package/build/client/_app/immutable/nodes/5.DFY3IKE7.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DFY3IKE7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DocT_IWT.js +1 -0
- package/build/client/_app/immutable/nodes/6.DocT_IWT.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DocT_IWT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.BOjmxUfF.js +1 -0
- package/build/client/_app/immutable/nodes/7.BOjmxUfF.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.BOjmxUfF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.D9rpzYWl.js +3 -0
- package/build/client/_app/immutable/nodes/8.D9rpzYWl.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.D9rpzYWl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DbdT1pin.js +1 -0
- package/build/client/_app/immutable/nodes/9.DbdT1pin.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DbdT1pin.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/AppHeader.js-lz_siesw.js +74 -0
- package/build/server/chunks/chunks/AppHeader.js-lz_siesw.js.map +1 -0
- package/build/server/chunks/chunks/ConfirmDialog.js-B32hC1dG.js +151 -0
- package/build/server/chunks/chunks/ConfirmDialog.js-B32hC1dG.js.map +1 -0
- package/build/server/chunks/chunks/DataTable.js-Xw4esMeW.js +33 -0
- package/build/server/chunks/chunks/DataTable.js-Xw4esMeW.js.map +1 -0
- package/build/server/chunks/chunks/DefinitionCard.js-CwqFKDlz.js +143 -0
- package/build/server/chunks/chunks/DefinitionCard.js-CwqFKDlz.js.map +1 -0
- package/build/server/chunks/chunks/ErrorScreen.js-B5nOWoD0.js +117 -0
- package/build/server/chunks/chunks/ErrorScreen.js-B5nOWoD0.js.map +1 -0
- package/build/server/chunks/chunks/FilterableDropdown.js-D_qAE6m9.js +2725 -0
- package/build/server/chunks/chunks/FilterableDropdown.js-D_qAE6m9.js.map +1 -0
- package/build/server/chunks/chunks/SectionHeader.js-PzuZL2oZ.js +22 -0
- package/build/server/chunks/chunks/SectionHeader.js-PzuZL2oZ.js.map +1 -0
- package/build/server/chunks/chunks/SettingsMenu.js-DqHApzAk.js +833 -0
- package/build/server/chunks/chunks/SettingsMenu.js-DqHApzAk.js.map +1 -0
- package/build/server/chunks/chunks/SideNav.js-klp3kPxM.js +63 -0
- package/build/server/chunks/chunks/SideNav.js-klp3kPxM.js.map +1 -0
- package/build/server/chunks/chunks/ViewToggle.js-DfZqEana.js +534 -0
- package/build/server/chunks/chunks/ViewToggle.js-DfZqEana.js.map +1 -0
- package/build/server/chunks/chunks/access.server.js-BtelEg3Y.js +14 -0
- package/build/server/chunks/chunks/access.server.js-BtelEg3Y.js.map +1 -0
- package/build/server/chunks/chunks/access2.server.js-n5Da2pp4.js +63 -0
- package/build/server/chunks/chunks/access2.server.js-n5Da2pp4.js.map +1 -0
- package/build/server/chunks/chunks/alert-dialog.js-NNiNoEbs.js +464 -0
- package/build/server/chunks/chunks/alert-dialog.js-NNiNoEbs.js.map +1 -0
- package/build/server/chunks/chunks/api-errors.js-zO_V9BK6.js +57 -0
- package/build/server/chunks/chunks/api-errors.js-zO_V9BK6.js.map +1 -0
- package/build/server/chunks/chunks/api.js-BtFJkyCg.js +1031 -0
- package/build/server/chunks/chunks/api.js-BtFJkyCg.js.map +1 -0
- package/build/server/chunks/chunks/auth-bootstrap.server.js-Bbei8vZM.js +152 -0
- package/build/server/chunks/chunks/auth-bootstrap.server.js-Bbei8vZM.js.map +1 -0
- package/build/server/chunks/chunks/bootHealth.server.js-C6JXO8yu.js +90 -0
- package/build/server/chunks/chunks/bootHealth.server.js-C6JXO8yu.js.map +1 -0
- package/build/server/chunks/chunks/client.js-Rnte_vKG.js +59 -0
- package/build/server/chunks/chunks/client.js-Rnte_vKG.js.map +1 -0
- package/build/server/chunks/chunks/computeLimits.js-7-dj5gvJ.js +44 -0
- package/build/server/chunks/chunks/computeLimits.js-7-dj5gvJ.js.map +1 -0
- package/build/server/chunks/chunks/computeRateLimit.server.js-NqfaAhvH.js +31 -0
- package/build/server/chunks/chunks/computeRateLimit.server.js-NqfaAhvH.js.map +1 -0
- package/build/server/chunks/chunks/definitions.js-Biw0znV5.js +390 -0
- package/build/server/chunks/chunks/definitions.js-Biw0znV5.js.map +1 -0
- package/build/server/chunks/chunks/dialog-description.js-BY-9ke4K.js +492 -0
- package/build/server/chunks/chunks/dialog-description.js-BY-9ke4K.js.map +1 -0
- package/build/server/chunks/chunks/dialog.js-BgpbBL6T.js +368 -0
- package/build/server/chunks/chunks/dialog.js-BgpbBL6T.js.map +1 -0
- package/build/server/chunks/chunks/engine.server.js--og2n4dU.js +582 -0
- package/build/server/chunks/chunks/engine.server.js--og2n4dU.js.map +1 -0
- package/build/server/chunks/chunks/footerContext.svelte.js-CDuebWvb.js +703 -0
- package/build/server/chunks/chunks/footerContext.svelte.js-CDuebWvb.js.map +1 -0
- package/build/server/chunks/chunks/forms.js-BEhasb1L.js +2 -0
- package/build/server/chunks/chunks/forms.js-BEhasb1L.js.map +1 -0
- package/build/server/chunks/chunks/grasshopper.js-Bz6Gi1KD.js +2370 -0
- package/build/server/chunks/chunks/grasshopper.js-Bz6Gi1KD.js.map +1 -0
- package/build/server/chunks/chunks/handlers.js-B1QucP1O.js +1604 -0
- package/build/server/chunks/chunks/handlers.js-B1QucP1O.js.map +1 -0
- package/build/server/chunks/chunks/http.js-D2XmJayA.js +60 -0
- package/build/server/chunks/chunks/http.js-D2XmJayA.js.map +1 -0
- package/build/server/chunks/chunks/index-server2.js-Defl0_Bj.js +24 -0
- package/build/server/chunks/chunks/index-server2.js-Defl0_Bj.js.map +1 -0
- package/build/server/chunks/chunks/instanceAdmins.server.js-CK5K8ZDl.js +24 -0
- package/build/server/chunks/chunks/instanceAdmins.server.js-CK5K8ZDl.js.map +1 -0
- package/build/server/chunks/chunks/internal.js-DWk6_A5e.js.map +1 -1
- package/build/server/chunks/chunks/internal2.js-BnD2L6tR.js +224 -0
- package/build/server/chunks/chunks/internal2.js-BnD2L6tR.js.map +1 -0
- package/build/server/chunks/chunks/navigation.js-BEhasb1L.js +2 -0
- package/build/server/chunks/chunks/navigation.js-BEhasb1L.js.map +1 -0
- package/build/server/chunks/chunks/openapi.js-rosSFfGJ.js +61 -0
- package/build/server/chunks/chunks/openapi.js-rosSFfGJ.js.map +1 -0
- package/build/server/chunks/chunks/package.js-ZKjXzDv8.js +85 -0
- package/build/server/chunks/chunks/package.js-ZKjXzDv8.js.map +1 -0
- package/build/server/chunks/chunks/paths.js-BP_VQqAJ.js +19 -0
- package/build/server/chunks/chunks/paths.js-BP_VQqAJ.js.map +1 -0
- package/build/server/chunks/chunks/permissions.server.js-iF16Oe3y.js +24 -0
- package/build/server/chunks/chunks/permissions.server.js-iF16Oe3y.js.map +1 -0
- package/build/server/chunks/chunks/popper-layer-force-mount.js-BVkAYVXN.js +1937 -0
- package/build/server/chunks/chunks/popper-layer-force-mount.js-BVkAYVXN.js.map +1 -0
- package/build/server/chunks/chunks/presets.server.js-B8IL-pCg.js +21 -0
- package/build/server/chunks/chunks/presets.server.js-B8IL-pCg.js.map +1 -0
- package/build/server/chunks/chunks/providers.server.js-9bLadXKA.js +6393 -0
- package/build/server/chunks/chunks/providers.server.js-9bLadXKA.js.map +1 -0
- package/build/server/chunks/chunks/registry.js-BuzflpOh.js +656 -0
- package/build/server/chunks/chunks/registry.js-BuzflpOh.js.map +1 -0
- package/build/server/chunks/chunks/resolve.server.js-BYVxo6o2.js +59 -0
- package/build/server/chunks/chunks/resolve.server.js-BYVxo6o2.js.map +1 -0
- package/build/server/chunks/chunks/roving-focus-group.js-4kFd02kE.js +134 -0
- package/build/server/chunks/chunks/roving-focus-group.js-4kFd02kE.js.map +1 -0
- package/build/server/chunks/chunks/schema-extraction.js-DtC0djdq.js +142 -0
- package/build/server/chunks/chunks/schema-extraction.js-DtC0djdq.js.map +1 -0
- package/build/server/chunks/chunks/scroll-lock.js-B23IQqpP.js +1902 -0
- package/build/server/chunks/chunks/scroll-lock.js-B23IQqpP.js.map +1 -0
- package/build/server/chunks/chunks/select.js-P_EOB0iO.js +1917 -0
- package/build/server/chunks/chunks/select.js-P_EOB0iO.js.map +1 -0
- package/build/server/chunks/chunks/selfUpdate.server.js-CL5hu_sl.js +144 -0
- package/build/server/chunks/chunks/selfUpdate.server.js-CL5hu_sl.js.map +1 -0
- package/build/server/chunks/chunks/server3.js-DqcWOcRa.js +20734 -0
- package/build/server/chunks/chunks/server3.js-DqcWOcRa.js.map +1 -0
- package/build/server/chunks/chunks/solve.server.js-Cbew62fs.js +316 -0
- package/build/server/chunks/chunks/solve.server.js-Cbew62fs.js.map +1 -0
- package/build/server/chunks/chunks/state.js-ClKLCfxt.js +76 -0
- package/build/server/chunks/chunks/state.js-ClKLCfxt.js.map +1 -0
- package/build/server/chunks/chunks/stores.js-CLNvh6G0.js +35 -0
- package/build/server/chunks/chunks/stores.js-CLNvh6G0.js.map +1 -0
- package/build/server/chunks/chunks/sveltekit.js-DwozHYhP.js +102 -0
- package/build/server/chunks/chunks/sveltekit.js-DwozHYhP.js.map +1 -0
- package/build/server/chunks/chunks/tabs-trigger.js-BeV-n20t.js +528 -0
- package/build/server/chunks/chunks/tabs-trigger.js-BeV-n20t.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-BMTaZenf.js +99 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-BMTaZenf.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-CVIuZD-V.js +87 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-CVIuZD-V.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-BHq5uk9i.js +98 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-BHq5uk9i.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-BaF-TMeZ.js +48 -0
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-BaF-TMeZ.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-CbMKuImc.js +71 -0
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-CbMKuImc.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-CfOjrO6s.js +64 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-CfOjrO6s.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-SVMyI8te.js +36 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-SVMyI8te.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-B1hD4odr.js +67 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-B1hD4odr.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-D2BpLE8v.js +82 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-D2BpLE8v.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-D7Oef47t.js +367 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-D7Oef47t.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-DzjA2a1K.js +87 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-DzjA2a1K.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-C1UImTcn.js +611 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-C1UImTcn.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-RHRu_qmm.js +60 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-RHRu_qmm.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-RKFUGHy4.js +78 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-RKFUGHy4.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-DdDPDu8k.js +85 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-DdDPDu8k.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-B5ZfvpO9.js +64 -0
- package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-B5ZfvpO9.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-ILTaLys-.js +95 -0
- package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-ILTaLys-.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-txGYt-jq.js +62 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-txGYt-jq.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-BJLy65xA.js +65 -0
- package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-BJLy65xA.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-h9owf2BE.js +94 -0
- package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-h9owf2BE.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-BL4m56dN.js +79 -0
- package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-BL4m56dN.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-ITr7-KJ5.js +50 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-ITr7-KJ5.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-IbrWmjJT.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-IbrWmjJT.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-Cv4lJ0u-.js +51 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-Cv4lJ0u-.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-BfD71yLq.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-BfD71yLq.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-CKRAYfsD.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-CKRAYfsD.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-BUe6NGgR.js +52 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-BUe6NGgR.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-hN1BeD-3.js +100 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-hN1BeD-3.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-Cjk1CWpY.js +53 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-Cjk1CWpY.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-BPW5sVE7.js +49 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-BPW5sVE7.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-C4C9D-Wo.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-C4C9D-Wo.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-B3-rxIC6.js +51 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-B3-rxIC6.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-Dq_xfkGi.js +47 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-Dq_xfkGi.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-DIaoSoRA.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-DIaoSoRA.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/token/_server.ts.js-CaTs6xfV.js +47 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/token/_server.ts.js-CaTs6xfV.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/openapi.json/_server.ts.js-DiuuJbXq.js +47 -0
- package/build/server/chunks/entries/endpoints/api/v1/openapi.json/_server.ts.js-DiuuJbXq.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-tFquYxyv.js +47 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-tFquYxyv.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-DIYw_04H.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-DIYw_04H.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-CPb18n-3.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-CPb18n-3.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-BuN56Khe.js +47 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-BuN56Khe.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/resend/_server.ts.js-CpE8pcKm.js +47 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/resend/_server.ts.js-CpE8pcKm.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-D--GH69k.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-D--GH69k.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-Xhtu2bwE.js +47 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-Xhtu2bwE.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-y75JOEF9.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-y75JOEF9.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_server.ts.js-vqkEiHtq.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_server.ts.js-vqkEiHtq.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_tokenId_/_server.ts.js-Dj9rwgeP.js +47 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_tokenId_/_server.ts.js-Dj9rwgeP.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-GuOgjMeK.js +50 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-GuOgjMeK.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-gtCtfYDt.js +49 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-gtCtfYDt.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-Beg5jTlS.js +49 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-Beg5jTlS.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-DMMI1OtQ.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-DMMI1OtQ.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-Dl5I8o4d.js +48 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-Dl5I8o4d.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/solve/_solveId_/cancel/_server.ts.js-CSnVdzfV.js +49 -0
- package/build/server/chunks/entries/endpoints/api/v1/solve/_solveId_/cancel/_server.ts.js-CSnVdzfV.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/solve-events/_server.ts.js-C-Wux5Ew.js +110 -0
- package/build/server/chunks/entries/endpoints/api/v1/solve-events/_server.ts.js-C-Wux5Ew.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/solve-events/_solveId_/_server.ts.js-j6Bp_VMm.js +68 -0
- package/build/server/chunks/entries/endpoints/api/v1/solve-events/_solveId_/_server.ts.js-j6Bp_VMm.js.map +1 -0
- package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-DsYwHgCS.js +55 -0
- package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-DsYwHgCS.js.map +1 -0
- package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-zC_qkydH.js +61 -0
- package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-zC_qkydH.js.map +1 -0
- package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-YRO1FdWC.js +66 -0
- package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-YRO1FdWC.js.map +1 -0
- package/build/server/chunks/entries/endpoints/mcp/_server.ts.js-De83ryc8.js +28 -0
- package/build/server/chunks/entries/endpoints/mcp/_server.ts.js-De83ryc8.js.map +1 -0
- package/build/server/chunks/entries/hooks.server.js-Ck4_AClg.js +377 -0
- package/build/server/chunks/entries/hooks.server.js-Ck4_AClg.js.map +1 -0
- package/build/server/chunks/entries/pages/_error.svelte.js-Bp0tJhXU.js +38 -0
- package/build/server/chunks/entries/pages/_error.svelte.js-Bp0tJhXU.js.map +1 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-DpjWCcGD.js +37 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-DpjWCcGD.js.map +1 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-Cb76QVAA.js +639 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-Cb76QVAA.js.map +1 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-BZDpaixM.js +56 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-BZDpaixM.js.map +1 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-C7o7NR8F.js +158 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-C7o7NR8F.js.map +1 -0
- package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-BJrnmnA1.js +181 -0
- package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-BJrnmnA1.js.map +1 -0
- package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-EsobyG22.js +135 -0
- package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-EsobyG22.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_error.svelte.js-CLwUz6H4.js +40 -0
- package/build/server/chunks/entries/pages/admin/_error.svelte.js-CLwUz6H4.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-C-xOPqhj.js +31 -0
- package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-C-xOPqhj.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_layout.svelte.js-DOzYyqKA.js +121 -0
- package/build/server/chunks/entries/pages/admin/_layout.svelte.js-DOzYyqKA.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-Be4Yi1j_.js +76 -0
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-Be4Yi1j_.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-Cu1_9W_H.js +395 -0
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-Cu1_9W_H.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-f2e0f890.js +269 -0
- package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-f2e0f890.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-Vfqaenm4.js +457 -0
- package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-Vfqaenm4.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-Ch5DOHag.js +74 -0
- package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-Ch5DOHag.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-Cc7yhld3.js +840 -0
- package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-Cc7yhld3.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-De3RDeZX.js +35 -0
- package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-De3RDeZX.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-C_bkePbV.js +99 -0
- package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-C_bkePbV.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-BDHpTVCN.js +86 -0
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-BDHpTVCN.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-CCf6tTBm.js +640 -0
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-CCf6tTBm.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-CIEdV64Z.js +42 -0
- package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-CIEdV64Z.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-Cw6Bv7I3.js +286 -0
- package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-Cw6Bv7I3.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-COb74WH_.js +87 -0
- package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-COb74WH_.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-Cb6oyGnf.js +1389 -0
- package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-Cb6oyGnf.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-B5f4avfl.js +79 -0
- package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-B5f4avfl.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-D_zvxSQ3.js +637 -0
- package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-D_zvxSQ3.js.map +1 -0
- package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-Da7_SZ-4.js +46 -0
- package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-Da7_SZ-4.js.map +1 -0
- package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-B28OXq9m.js +62 -0
- package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-B28OXq9m.js.map +1 -0
- package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-DO3CLACX.js +62 -0
- package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-DO3CLACX.js.map +1 -0
- package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-DCEd2k7S.js +85 -0
- package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-DCEd2k7S.js.map +1 -0
- package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-CXxv8lKz.js +120 -0
- package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-CXxv8lKz.js.map +1 -0
- package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-B6uYwbtU.js +15721 -0
- package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-B6uYwbtU.js.map +1 -0
- package/build/server/chunks/entries/pages/library/_page.server.ts.js-B-C0xkfx.js +51 -0
- package/build/server/chunks/entries/pages/library/_page.server.ts.js-B-C0xkfx.js.map +1 -0
- package/build/server/chunks/entries/pages/library/_page.svelte.js-BwgrQuq9.js +300 -0
- package/build/server/chunks/entries/pages/library/_page.svelte.js-BwgrQuq9.js.map +1 -0
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-DGcHCiu3.js +101 -0
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-DGcHCiu3.js.map +1 -0
- package/build/server/chunks/entries/pages/login/_page.svelte.js-CbuqwS1f.js +214 -0
- package/build/server/chunks/entries/pages/login/_page.svelte.js-CbuqwS1f.js.map +1 -0
- package/build/server/chunks/entries/pages/logout/_page.server.ts.js-jLlQDUmA.js +19 -0
- package/build/server/chunks/entries/pages/logout/_page.server.ts.js-jLlQDUmA.js.map +1 -0
- package/build/server/chunks/entries/pages/oauth/authorize/_page.server.ts.js-DppuJRc2.js +100 -0
- package/build/server/chunks/entries/pages/oauth/authorize/_page.server.ts.js-DppuJRc2.js.map +1 -0
- package/build/server/chunks/entries/pages/oauth/authorize/_page.svelte.js-BO5sSbgX.js +122 -0
- package/build/server/chunks/entries/pages/oauth/authorize/_page.svelte.js-BO5sSbgX.js.map +1 -0
- package/build/server/chunks/entries/pages/projects/_layout.svelte.js-XXOcFlMq.js +48 -0
- package/build/server/chunks/entries/pages/projects/_layout.svelte.js-XXOcFlMq.js.map +1 -0
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-BZ91_fHi.js +93 -0
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-BZ91_fHi.js.map +1 -0
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-BTd3X5ia.js +3647 -0
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-BTd3X5ia.js.map +1 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CtV_ezK5.js +116 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CtV_ezK5.js.map +1 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-BcIYiBz8.js +249 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-BcIYiBz8.js.map +1 -0
- package/build/server/chunks/entries/pages/team/_layout.server.ts.js-glosKf6-.js +28 -0
- package/build/server/chunks/entries/pages/team/_layout.server.ts.js-glosKf6-.js.map +1 -0
- package/build/server/chunks/entries/pages/team/_layout.svelte.js-C-tydUZC.js +173 -0
- package/build/server/chunks/entries/pages/team/_layout.svelte.js-C-tydUZC.js.map +1 -0
- package/build/server/chunks/entries/pages/team/_page.server.ts.js-XPAieVyt.js +35 -0
- package/build/server/chunks/entries/pages/team/_page.server.ts.js-XPAieVyt.js.map +1 -0
- package/build/server/chunks/entries/pages/team/_page.svelte.js-CfZ4wcQ3.js +112 -0
- package/build/server/chunks/entries/pages/team/_page.svelte.js-CfZ4wcQ3.js.map +1 -0
- package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-nJyp1mJU.js +124 -0
- package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-nJyp1mJU.js.map +1 -0
- package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-CEyg22ta.js +42 -0
- package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-CEyg22ta.js.map +1 -0
- package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-C9TRZYMj.js +616 -0
- package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-C9TRZYMj.js.map +1 -0
- package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-DdJzBugn.js +62 -0
- package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-DdJzBugn.js.map +1 -0
- package/build/server/chunks/entries/pages/team/members/_page.svelte.js-BsgAD5AH.js +808 -0
- package/build/server/chunks/entries/pages/team/members/_page.svelte.js-BsgAD5AH.js.map +1 -0
- package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-D0jSkuPK.js +60 -0
- package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-D0jSkuPK.js.map +1 -0
- package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-gRk2aKya.js +425 -0
- package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-gRk2aKya.js.map +1 -0
- package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-B4qpN_IH.js +67 -0
- package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-B4qpN_IH.js.map +1 -0
- package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-T0dd6MrT.js +267 -0
- package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-T0dd6MrT.js.map +1 -0
- package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-BkjMxwcp.js +34 -0
- package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-BkjMxwcp.js.map +1 -0
- package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-DVb3omaR.js +306 -0
- package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-DVb3omaR.js.map +1 -0
- package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-DeMSOazP.js +29 -0
- package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-DeMSOazP.js.map +1 -0
- package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-BglsvY2l.js +315 -0
- package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-BglsvY2l.js.map +1 -0
- package/build/server/chunks/entries/pages/team/tokens/_page.server.ts.js-C08TIaZR.js +65 -0
- package/build/server/chunks/entries/pages/team/tokens/_page.server.ts.js-C08TIaZR.js.map +1 -0
- package/build/server/chunks/entries/pages/team/tokens/_page.svelte.js-CSr7jO4d.js +734 -0
- package/build/server/chunks/entries/pages/team/tokens/_page.svelte.js-CSr7jO4d.js.map +1 -0
- package/build/server/chunks/handler-D5ecZXQK.js +1206 -0
- package/build/server/chunks/handler-D5ecZXQK.js.map +1 -0
- package/build/server/chunks/index.js-BWM8Kt9A.js +3767 -0
- package/build/server/chunks/index.js-BWM8Kt9A.js.map +1 -0
- package/build/server/chunks/manifest.js-DXxma675.js +719 -0
- package/build/server/chunks/manifest.js-DXxma675.js.map +1 -0
- package/build/server/chunks/nodes/0.js-B2M4WpPg.js +55 -0
- package/build/server/chunks/nodes/0.js-B2M4WpPg.js.map +1 -0
- package/build/server/chunks/nodes/1.js-v_Ydb_GW.js +9 -0
- package/build/server/chunks/nodes/1.js-v_Ydb_GW.js.map +1 -0
- package/build/server/chunks/nodes/10.js-D5wQJjpN.js +34 -0
- package/build/server/chunks/nodes/10.js-D5wQJjpN.js.map +1 -0
- package/build/server/chunks/nodes/11.js-CDFV_XzD.js +38 -0
- package/build/server/chunks/nodes/11.js-CDFV_XzD.js.map +1 -0
- package/build/server/chunks/nodes/12.js-BORdTMyW.js +31 -0
- package/build/server/chunks/nodes/12.js-BORdTMyW.js.map +1 -0
- package/build/server/chunks/nodes/13.js-DmQRKD1V.js +31 -0
- package/build/server/chunks/nodes/13.js-DmQRKD1V.js.map +1 -0
- package/build/server/chunks/nodes/14.js-dacHMd3N.js +31 -0
- package/build/server/chunks/nodes/14.js-dacHMd3N.js.map +1 -0
- package/build/server/chunks/nodes/15.js-kkiF5QOA.js +39 -0
- package/build/server/chunks/nodes/15.js-kkiF5QOA.js.map +1 -0
- package/build/server/chunks/nodes/16.js-uiEL5szG.js +34 -0
- package/build/server/chunks/nodes/16.js-uiEL5szG.js.map +1 -0
- package/build/server/chunks/nodes/17.js-BwN7qyDL.js +9 -0
- package/build/server/chunks/nodes/17.js-BwN7qyDL.js.map +1 -0
- package/build/server/chunks/nodes/18.js-Dt2BbvIm.js +40 -0
- package/build/server/chunks/nodes/18.js-Dt2BbvIm.js.map +1 -0
- package/build/server/chunks/nodes/19.js-Bwb2nBZb.js +25 -0
- package/build/server/chunks/nodes/19.js-Bwb2nBZb.js.map +1 -0
- package/build/server/chunks/nodes/2.js-D4xUZU-q.js +34 -0
- package/build/server/chunks/nodes/2.js-D4xUZU-q.js.map +1 -0
- package/build/server/chunks/nodes/20.js-CwOKXjxL.js +24 -0
- package/build/server/chunks/nodes/20.js-CwOKXjxL.js.map +1 -0
- package/build/server/chunks/nodes/21.js-DLHPvFpG.js +41 -0
- package/build/server/chunks/nodes/21.js-DLHPvFpG.js.map +1 -0
- package/build/server/chunks/nodes/22.js-DmunJUE3.js +40 -0
- package/build/server/chunks/nodes/22.js-DmunJUE3.js.map +1 -0
- package/build/server/chunks/nodes/23.js-OFhO1VP_.js +37 -0
- package/build/server/chunks/nodes/23.js-OFhO1VP_.js.map +1 -0
- package/build/server/chunks/nodes/24.js-Cur2DPHI.js +54 -0
- package/build/server/chunks/nodes/24.js-Cur2DPHI.js.map +1 -0
- package/build/server/chunks/nodes/25.js-C4dVXCtN.js +33 -0
- package/build/server/chunks/nodes/25.js-C4dVXCtN.js.map +1 -0
- package/build/server/chunks/nodes/26.js-BAFkmS0S.js +40 -0
- package/build/server/chunks/nodes/26.js-BAFkmS0S.js.map +1 -0
- package/build/server/chunks/nodes/27.js-kkjQDhPu.js +31 -0
- package/build/server/chunks/nodes/27.js-kkjQDhPu.js.map +1 -0
- package/build/server/chunks/nodes/28.js-BJmUR_iR.js +9 -0
- package/build/server/chunks/nodes/28.js-BJmUR_iR.js.map +1 -0
- package/build/server/chunks/nodes/29.js-B82tyYXg.js +31 -0
- package/build/server/chunks/nodes/29.js-B82tyYXg.js.map +1 -0
- package/build/server/chunks/nodes/3.js-BVhZ5lln.js +9 -0
- package/build/server/chunks/nodes/3.js-BVhZ5lln.js.map +1 -0
- package/build/server/chunks/nodes/30.js-B0Co7k30.js +31 -0
- package/build/server/chunks/nodes/30.js-B0Co7k30.js.map +1 -0
- package/build/server/chunks/nodes/31.js-hTcdqt57.js +34 -0
- package/build/server/chunks/nodes/31.js-hTcdqt57.js.map +1 -0
- package/build/server/chunks/nodes/32.js-CNtg2apf.js +31 -0
- package/build/server/chunks/nodes/32.js-CNtg2apf.js.map +1 -0
- package/build/server/chunks/nodes/33.js-CC0hJKYf.js +31 -0
- package/build/server/chunks/nodes/33.js-CC0hJKYf.js.map +1 -0
- package/build/server/chunks/nodes/34.js-jwULtd-S.js +31 -0
- package/build/server/chunks/nodes/34.js-jwULtd-S.js.map +1 -0
- package/build/server/chunks/nodes/35.js-tF6NRhRu.js +55 -0
- package/build/server/chunks/nodes/35.js-tF6NRhRu.js.map +1 -0
- package/build/server/chunks/nodes/5.js-C7K-j44v.js +15 -0
- package/build/server/chunks/nodes/5.js-C7K-j44v.js.map +1 -0
- package/build/server/chunks/nodes/6.js-Dhq9gCxo.js +31 -0
- package/build/server/chunks/nodes/6.js-Dhq9gCxo.js.map +1 -0
- package/build/server/chunks/nodes/7.js-Cr0pMP2Q.js +24 -0
- package/build/server/chunks/nodes/7.js-Cr0pMP2Q.js.map +1 -0
- package/build/server/chunks/nodes/8.js-oAMxVsHl.js +41 -0
- package/build/server/chunks/nodes/8.js-oAMxVsHl.js.map +1 -0
- package/build/server/chunks/nodes/9.js-CtUozIAe.js +31 -0
- package/build/server/chunks/nodes/9.js-CtUozIAe.js.map +1 -0
- package/package.json +7 -7
- package/build/client/_app/immutable/assets/0.BlmlX1YC.css +0 -2
- package/build/client/_app/immutable/assets/0.BlmlX1YC.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BlmlX1YC.css.gz +0 -0
- package/build/client/_app/immutable/assets/21.HXpl75F5.css +0 -1
- package/build/client/_app/immutable/assets/21.HXpl75F5.css.br +0 -0
- package/build/client/_app/immutable/assets/21.HXpl75F5.css.gz +0 -0
- package/build/client/_app/immutable/chunks/B6ovFDn-.js +0 -2
- package/build/client/_app/immutable/chunks/B6ovFDn-.js.br +0 -0
- package/build/client/_app/immutable/chunks/B6ovFDn-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7mORn_f.js +0 -1
- package/build/client/_app/immutable/chunks/B7mORn_f.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7mORn_f.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjKFlhmK.js +0 -1
- package/build/client/_app/immutable/chunks/BjKFlhmK.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjKFlhmK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BrMlUZh7.js +0 -1
- package/build/client/_app/immutable/chunks/BrMlUZh7.js.br +0 -0
- package/build/client/_app/immutable/chunks/BrMlUZh7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwgcmfQh.js +0 -1
- package/build/client/_app/immutable/chunks/BwgcmfQh.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwgcmfQh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C9CNnbQ1.js +0 -1
- package/build/client/_app/immutable/chunks/C9CNnbQ1.js.br +0 -2
- package/build/client/_app/immutable/chunks/C9CNnbQ1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFXJfIk2.js +0 -1
- package/build/client/_app/immutable/chunks/CFXJfIk2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFXJfIk2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CYZs_rfh.js +0 -1
- package/build/client/_app/immutable/chunks/CYZs_rfh.js.br +0 -1
- package/build/client/_app/immutable/chunks/CYZs_rfh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cz5OJSV3.js +0 -1
- package/build/client/_app/immutable/chunks/Cz5OJSV3.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cz5OJSV3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cz8TTWwy.js +0 -1
- package/build/client/_app/immutable/chunks/Cz8TTWwy.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cz8TTWwy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DSJs6Y5z.js +0 -1
- package/build/client/_app/immutable/chunks/DSJs6Y5z.js.br +0 -0
- package/build/client/_app/immutable/chunks/DSJs6Y5z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUXa_NkE.js +0 -1
- package/build/client/_app/immutable/chunks/DUXa_NkE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUXa_NkE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZVj5ZFh.js +0 -1
- package/build/client/_app/immutable/chunks/DZVj5ZFh.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZVj5ZFh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfuZJmWN.js +0 -1
- package/build/client/_app/immutable/chunks/DfuZJmWN.js.br +0 -2
- package/build/client/_app/immutable/chunks/DfuZJmWN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Tduejkoz.js +0 -1
- package/build/client/_app/immutable/chunks/Tduejkoz.js.br +0 -0
- package/build/client/_app/immutable/chunks/Tduejkoz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/rN5qcVxv.js +0 -1
- package/build/client/_app/immutable/chunks/rN5qcVxv.js.br +0 -0
- package/build/client/_app/immutable/chunks/rN5qcVxv.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Bk3Fv37J.js +0 -2
- package/build/client/_app/immutable/entry/app.Bk3Fv37J.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Bk3Fv37J.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BBgNsKAy.js +0 -1
- package/build/client/_app/immutable/entry/start.BBgNsKAy.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BBgNsKAy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.ajAR_Ig4.js +0 -1
- package/build/client/_app/immutable/nodes/1.ajAR_Ig4.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.ajAR_Ig4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.D-zoD55U.js +0 -3
- package/build/client/_app/immutable/nodes/10.D-zoD55U.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.D-zoD55U.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.p0fQVFO3.js +0 -3
- package/build/client/_app/immutable/nodes/11.p0fQVFO3.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.p0fQVFO3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.CwSkUT3d.js +0 -1
- package/build/client/_app/immutable/nodes/12.CwSkUT3d.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.CwSkUT3d.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.WSbyJ472.js +0 -2
- package/build/client/_app/immutable/nodes/13.WSbyJ472.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.WSbyJ472.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.DV-1f7wx.js +0 -2
- package/build/client/_app/immutable/nodes/14.DV-1f7wx.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DV-1f7wx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.CCJWzwc2.js +0 -28
- package/build/client/_app/immutable/nodes/15.CCJWzwc2.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CCJWzwc2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.D9CiU6k_.js +0 -5
- package/build/client/_app/immutable/nodes/16.D9CiU6k_.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.D9CiU6k_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.DkDum1V5.js +0 -2
- package/build/client/_app/immutable/nodes/17.DkDum1V5.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.DkDum1V5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.C99-Bd1i.js +0 -7
- package/build/client/_app/immutable/nodes/19.C99-Bd1i.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.C99-Bd1i.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.xqnmwni_.js +0 -1
- package/build/client/_app/immutable/nodes/2.xqnmwni_.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.xqnmwni_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.zIQxRxN3.js +0 -2
- package/build/client/_app/immutable/nodes/20.zIQxRxN3.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.zIQxRxN3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.Cwno45cb.js +0 -5668
- package/build/client/_app/immutable/nodes/21.Cwno45cb.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.Cwno45cb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.CG9Klo8L.js +0 -6
- package/build/client/_app/immutable/nodes/22.CG9Klo8L.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.CG9Klo8L.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.D3XyrdMq.js +0 -3
- package/build/client/_app/immutable/nodes/24.D3XyrdMq.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.D3XyrdMq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.Ckqa30qu.js +0 -16
- package/build/client/_app/immutable/nodes/25.Ckqa30qu.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.Ckqa30qu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.Df3Dz0UH.js +0 -6
- package/build/client/_app/immutable/nodes/26.Df3Dz0UH.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Df3Dz0UH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.2LRvK7sY.js +0 -1
- package/build/client/_app/immutable/nodes/27.2LRvK7sY.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.2LRvK7sY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.TZMdlERc.js +0 -3
- package/build/client/_app/immutable/nodes/28.TZMdlERc.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.TZMdlERc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.BG8fWa0N.js +0 -4
- package/build/client/_app/immutable/nodes/29.BG8fWa0N.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.BG8fWa0N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.D037EXCR.js +0 -1
- package/build/client/_app/immutable/nodes/3.D037EXCR.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.D037EXCR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.CEVB_0i1.js +0 -6
- package/build/client/_app/immutable/nodes/30.CEVB_0i1.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.CEVB_0i1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.Cf_t_EwV.js +0 -2
- package/build/client/_app/immutable/nodes/31.Cf_t_EwV.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.Cf_t_EwV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.Cp2NOZgy.js +0 -2
- package/build/client/_app/immutable/nodes/32.Cp2NOZgy.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.Cp2NOZgy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.tbtGaEE2.js +0 -2
- package/build/client/_app/immutable/nodes/33.tbtGaEE2.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.tbtGaEE2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.Ynouf9HY.js +0 -1
- package/build/client/_app/immutable/nodes/34.Ynouf9HY.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.Ynouf9HY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.DSo_MvQf.js +0 -2
- package/build/client/_app/immutable/nodes/35.DSo_MvQf.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.DSo_MvQf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DhbxDhFz.js +0 -1
- package/build/client/_app/immutable/nodes/5.DhbxDhFz.js.br +0 -2
- package/build/client/_app/immutable/nodes/5.DhbxDhFz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.C9EISD0j.js +0 -1
- package/build/client/_app/immutable/nodes/6.C9EISD0j.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.C9EISD0j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.Bop81vWR.js +0 -1
- package/build/client/_app/immutable/nodes/7.Bop81vWR.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.Bop81vWR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.DrRswcMr.js +0 -3
- package/build/client/_app/immutable/nodes/8.DrRswcMr.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.DrRswcMr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DM0VKWkK.js +0 -1
- package/build/client/_app/immutable/nodes/9.DM0VKWkK.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DM0VKWkK.js.gz +0 -0
- package/build/server/chunks/chunks/AppHeader.js-Clv5uxmx.js +0 -73
- package/build/server/chunks/chunks/AppHeader.js-Clv5uxmx.js.map +0 -1
- package/build/server/chunks/chunks/ConfirmDialog.js-B9ZarTIe.js +0 -151
- package/build/server/chunks/chunks/ConfirmDialog.js-B9ZarTIe.js.map +0 -1
- package/build/server/chunks/chunks/DataTable.js-kjk81hZJ.js +0 -27
- package/build/server/chunks/chunks/DataTable.js-kjk81hZJ.js.map +0 -1
- package/build/server/chunks/chunks/DefinitionCard.js-cWBb-1ZJ.js +0 -143
- package/build/server/chunks/chunks/DefinitionCard.js-cWBb-1ZJ.js.map +0 -1
- package/build/server/chunks/chunks/ErrorScreen.js-Cr8VUVeK.js +0 -117
- package/build/server/chunks/chunks/ErrorScreen.js-Cr8VUVeK.js.map +0 -1
- package/build/server/chunks/chunks/FilterableDropdown.js-BOn5KqoV.js +0 -2725
- package/build/server/chunks/chunks/FilterableDropdown.js-BOn5KqoV.js.map +0 -1
- package/build/server/chunks/chunks/SectionHeader.js-DiptCbfZ.js +0 -22
- package/build/server/chunks/chunks/SectionHeader.js-DiptCbfZ.js.map +0 -1
- package/build/server/chunks/chunks/SettingsMenu.js-D2JgHHQH.js +0 -833
- package/build/server/chunks/chunks/SettingsMenu.js-D2JgHHQH.js.map +0 -1
- package/build/server/chunks/chunks/SideNav.js-CHU4sxIJ.js +0 -63
- package/build/server/chunks/chunks/SideNav.js-CHU4sxIJ.js.map +0 -1
- package/build/server/chunks/chunks/ViewToggle.js-CF3dsHiK.js +0 -534
- package/build/server/chunks/chunks/ViewToggle.js-CF3dsHiK.js.map +0 -1
- package/build/server/chunks/chunks/access.server.js-jW4KHGSG.js +0 -14
- package/build/server/chunks/chunks/access.server.js-jW4KHGSG.js.map +0 -1
- package/build/server/chunks/chunks/access2.server.js-Doxdugkh.js +0 -63
- package/build/server/chunks/chunks/access2.server.js-Doxdugkh.js.map +0 -1
- package/build/server/chunks/chunks/alert-dialog.js-BkZe8aAZ.js +0 -464
- package/build/server/chunks/chunks/alert-dialog.js-BkZe8aAZ.js.map +0 -1
- package/build/server/chunks/chunks/api-errors.js-Bm3hU-Ca.js +0 -57
- package/build/server/chunks/chunks/api-errors.js-Bm3hU-Ca.js.map +0 -1
- package/build/server/chunks/chunks/api.js-CsByc21P.js +0 -1031
- package/build/server/chunks/chunks/api.js-CsByc21P.js.map +0 -1
- package/build/server/chunks/chunks/auth-bootstrap.server.js-D0caP8Wj.js +0 -152
- package/build/server/chunks/chunks/auth-bootstrap.server.js-D0caP8Wj.js.map +0 -1
- package/build/server/chunks/chunks/bootHealth.server.js--wN4ECbN.js +0 -90
- package/build/server/chunks/chunks/bootHealth.server.js--wN4ECbN.js.map +0 -1
- package/build/server/chunks/chunks/client.js-B5cNNyu2.js +0 -59
- package/build/server/chunks/chunks/client.js-B5cNNyu2.js.map +0 -1
- package/build/server/chunks/chunks/computeLimits.js-pewehyOG.js +0 -44
- package/build/server/chunks/chunks/computeLimits.js-pewehyOG.js.map +0 -1
- package/build/server/chunks/chunks/computeRateLimit.server.js-BfYbihtj.js +0 -31
- package/build/server/chunks/chunks/computeRateLimit.server.js-BfYbihtj.js.map +0 -1
- package/build/server/chunks/chunks/definitions.js-BKMI1oEB.js +0 -390
- package/build/server/chunks/chunks/definitions.js-BKMI1oEB.js.map +0 -1
- package/build/server/chunks/chunks/dialog-description.js-D5m47Ni2.js +0 -492
- package/build/server/chunks/chunks/dialog-description.js-D5m47Ni2.js.map +0 -1
- package/build/server/chunks/chunks/dialog.js-RXbcPNWY.js +0 -368
- package/build/server/chunks/chunks/dialog.js-RXbcPNWY.js.map +0 -1
- package/build/server/chunks/chunks/engine.server.js-BhxMQMDS.js +0 -600
- package/build/server/chunks/chunks/engine.server.js-BhxMQMDS.js.map +0 -1
- package/build/server/chunks/chunks/footerContext.svelte.js-D7wOrPs7.js +0 -703
- package/build/server/chunks/chunks/footerContext.svelte.js-D7wOrPs7.js.map +0 -1
- package/build/server/chunks/chunks/forms.js-CJ8fygO0.js +0 -2
- package/build/server/chunks/chunks/forms.js-CJ8fygO0.js.map +0 -1
- package/build/server/chunks/chunks/grasshopper.js-Dp-gpE60.js +0 -2623
- package/build/server/chunks/chunks/grasshopper.js-Dp-gpE60.js.map +0 -1
- package/build/server/chunks/chunks/handlers.js-BjAFOajM.js +0 -1604
- package/build/server/chunks/chunks/handlers.js-BjAFOajM.js.map +0 -1
- package/build/server/chunks/chunks/http.js-C7gksRK3.js +0 -60
- package/build/server/chunks/chunks/http.js-C7gksRK3.js.map +0 -1
- package/build/server/chunks/chunks/index-server2.js-siA98IdX.js +0 -23
- package/build/server/chunks/chunks/index-server2.js-siA98IdX.js.map +0 -1
- package/build/server/chunks/chunks/instanceAdmins.server.js-BpyPtpo4.js +0 -24
- package/build/server/chunks/chunks/instanceAdmins.server.js-BpyPtpo4.js.map +0 -1
- package/build/server/chunks/chunks/internal2.js-BOHwnFs6.js +0 -224
- package/build/server/chunks/chunks/internal2.js-BOHwnFs6.js.map +0 -1
- package/build/server/chunks/chunks/navigation.js-CJ8fygO0.js +0 -2
- package/build/server/chunks/chunks/navigation.js-CJ8fygO0.js.map +0 -1
- package/build/server/chunks/chunks/openapi.js-C0KGiRVJ.js +0 -61
- package/build/server/chunks/chunks/openapi.js-C0KGiRVJ.js.map +0 -1
- package/build/server/chunks/chunks/package.js-BgPdFjD-.js +0 -85
- package/build/server/chunks/chunks/package.js-BgPdFjD-.js.map +0 -1
- package/build/server/chunks/chunks/paths.js-h4PZkz5s.js +0 -19
- package/build/server/chunks/chunks/paths.js-h4PZkz5s.js.map +0 -1
- package/build/server/chunks/chunks/permissions.server.js-CX2WOW1E.js +0 -24
- package/build/server/chunks/chunks/permissions.server.js-CX2WOW1E.js.map +0 -1
- package/build/server/chunks/chunks/popper-layer-force-mount.js-C36FvZrx.js +0 -1937
- package/build/server/chunks/chunks/popper-layer-force-mount.js-C36FvZrx.js.map +0 -1
- package/build/server/chunks/chunks/presets.server.js-CaIM4tWG.js +0 -21
- package/build/server/chunks/chunks/presets.server.js-CaIM4tWG.js.map +0 -1
- package/build/server/chunks/chunks/providers.server.js-BshinptK.js +0 -6393
- package/build/server/chunks/chunks/providers.server.js-BshinptK.js.map +0 -1
- package/build/server/chunks/chunks/registry.js-w6WuseeX.js +0 -656
- package/build/server/chunks/chunks/registry.js-w6WuseeX.js.map +0 -1
- package/build/server/chunks/chunks/resolve.server.js-CCaV_R4p.js +0 -59
- package/build/server/chunks/chunks/resolve.server.js-CCaV_R4p.js.map +0 -1
- package/build/server/chunks/chunks/roving-focus-group.js-BT0BbbTq.js +0 -134
- package/build/server/chunks/chunks/roving-focus-group.js-BT0BbbTq.js.map +0 -1
- package/build/server/chunks/chunks/schema-extraction.js-BC1rATQL.js +0 -142
- package/build/server/chunks/chunks/schema-extraction.js-BC1rATQL.js.map +0 -1
- package/build/server/chunks/chunks/scroll-lock.js-Ds68nQMm.js +0 -1902
- package/build/server/chunks/chunks/scroll-lock.js-Ds68nQMm.js.map +0 -1
- package/build/server/chunks/chunks/select.js-u-8dOfAn.js +0 -1917
- package/build/server/chunks/chunks/select.js-u-8dOfAn.js.map +0 -1
- package/build/server/chunks/chunks/selfUpdate.server.js-CJFtdrv4.js +0 -144
- package/build/server/chunks/chunks/selfUpdate.server.js-CJFtdrv4.js.map +0 -1
- package/build/server/chunks/chunks/server3.js-BFuYvX67.js +0 -20689
- package/build/server/chunks/chunks/server3.js-BFuYvX67.js.map +0 -1
- package/build/server/chunks/chunks/solve.server.js-F7N19_LZ.js +0 -316
- package/build/server/chunks/chunks/solve.server.js-F7N19_LZ.js.map +0 -1
- package/build/server/chunks/chunks/state.js-COIyu63Z.js +0 -76
- package/build/server/chunks/chunks/state.js-COIyu63Z.js.map +0 -1
- package/build/server/chunks/chunks/stores.js-Cl0Rc65E.js +0 -35
- package/build/server/chunks/chunks/stores.js-Cl0Rc65E.js.map +0 -1
- package/build/server/chunks/chunks/sveltekit.js-CR1UrY6x.js +0 -102
- package/build/server/chunks/chunks/sveltekit.js-CR1UrY6x.js.map +0 -1
- package/build/server/chunks/chunks/tabs-trigger.js-DYBZ_4nv.js +0 -528
- package/build/server/chunks/chunks/tabs-trigger.js-DYBZ_4nv.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-BGbMdG45.js +0 -99
- package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-BGbMdG45.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-EW_mHGA1.js +0 -87
- package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-EW_mHGA1.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-DxjpAEyW.js +0 -98
- package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-DxjpAEyW.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-WM4NRRSJ.js +0 -48
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-WM4NRRSJ.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-BjApTOQD.js +0 -71
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-BjApTOQD.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-Bl-3EWD4.js +0 -64
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-Bl-3EWD4.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-Cc-MN7Gw.js +0 -36
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-Cc-MN7Gw.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-BsW906wU.js +0 -67
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-BsW906wU.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-9pvDcXVn.js +0 -82
- package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-9pvDcXVn.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-CbqLfGQh.js +0 -367
- package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-CbqLfGQh.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-Dqq5O5ic.js +0 -87
- package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-Dqq5O5ic.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-DwLuJc4E.js +0 -611
- package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-DwLuJc4E.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-BMaml39w.js +0 -60
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-BMaml39w.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-HTx-TnEI.js +0 -78
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-HTx-TnEI.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-C_SUr7j4.js +0 -85
- package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-C_SUr7j4.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-CLUo5Hhp.js +0 -64
- package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-CLUo5Hhp.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-CqWDZmgk.js +0 -95
- package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-CqWDZmgk.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DBDq-egH.js +0 -62
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DBDq-egH.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-CcimyO-j.js +0 -65
- package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-CcimyO-j.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-CYiRVc6m.js +0 -94
- package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-CYiRVc6m.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-B_l7UY8C.js +0 -79
- package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-B_l7UY8C.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-BckVgMmY.js +0 -50
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-BckVgMmY.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-aPGnkl9O.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-aPGnkl9O.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-BkNYxxLP.js +0 -51
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-BkNYxxLP.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-DsacHfT2.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-DsacHfT2.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-9RPopQvB.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-9RPopQvB.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-D8I-Jcke.js +0 -52
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-D8I-Jcke.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-CK-wMA_C.js +0 -100
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-CK-wMA_C.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-BS-Q0CNk.js +0 -53
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-BS-Q0CNk.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-ByigDFWZ.js +0 -49
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-ByigDFWZ.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-DIGNgIrY.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-DIGNgIrY.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-fKxDsBHR.js +0 -51
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-fKxDsBHR.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-D73DX3az.js +0 -47
- package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-D73DX3az.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-6z7yH9Lx.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-6z7yH9Lx.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/me/token/_server.ts.js-DRKGVMjn.js +0 -47
- package/build/server/chunks/entries/endpoints/api/v1/me/token/_server.ts.js-DRKGVMjn.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/openapi.json/_server.ts.js-c_01aI5B.js +0 -47
- package/build/server/chunks/entries/endpoints/api/v1/openapi.json/_server.ts.js-c_01aI5B.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-Dxp_qVS-.js +0 -47
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-Dxp_qVS-.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-D3hMUQGC.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-D3hMUQGC.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-BGjnMXEz.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-BGjnMXEz.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-BGU3FT2Y.js +0 -47
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-BGU3FT2Y.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/resend/_server.ts.js-DQC8JcW-.js +0 -47
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/resend/_server.ts.js-DQC8JcW-.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-BdSKzQNa.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-BdSKzQNa.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-eWm-5aaa.js +0 -47
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-eWm-5aaa.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-B3Ug-MfN.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-B3Ug-MfN.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_server.ts.js-zczUtqI-.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_server.ts.js-zczUtqI-.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_tokenId_/_server.ts.js-m3YnJsVQ.js +0 -47
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_tokenId_/_server.ts.js-m3YnJsVQ.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-D6A2S2DH.js +0 -50
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-D6A2S2DH.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-Vq-sSRw7.js +0 -49
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-Vq-sSRw7.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-BT9CfCIi.js +0 -49
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-BT9CfCIi.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-DZ0B5gDh.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-DZ0B5gDh.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-B1lmehEC.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-B1lmehEC.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/solve/_solveId_/cancel/_server.ts.js-Bx463PtK.js +0 -49
- package/build/server/chunks/entries/endpoints/api/v1/solve/_solveId_/cancel/_server.ts.js-Bx463PtK.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/solve-events/_server.ts.js-C4fUpr57.js +0 -110
- package/build/server/chunks/entries/endpoints/api/v1/solve-events/_server.ts.js-C4fUpr57.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/solve-events/_solveId_/_server.ts.js-C1pmyV3i.js +0 -68
- package/build/server/chunks/entries/endpoints/api/v1/solve-events/_solveId_/_server.ts.js-C1pmyV3i.js.map +0 -1
- package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-EtFhBX6p.js +0 -55
- package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-EtFhBX6p.js.map +0 -1
- package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-CCdUhF4h.js +0 -61
- package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-CCdUhF4h.js.map +0 -1
- package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-ZMm-u8BP.js +0 -66
- package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-ZMm-u8BP.js.map +0 -1
- package/build/server/chunks/entries/endpoints/mcp/_server.ts.js-RhYQwztq.js +0 -28
- package/build/server/chunks/entries/endpoints/mcp/_server.ts.js-RhYQwztq.js.map +0 -1
- package/build/server/chunks/entries/hooks.server.js-sVMel2p1.js +0 -377
- package/build/server/chunks/entries/hooks.server.js-sVMel2p1.js.map +0 -1
- package/build/server/chunks/entries/pages/_error.svelte.js-DiIpU9Ac.js +0 -38
- package/build/server/chunks/entries/pages/_error.svelte.js-DiIpU9Ac.js.map +0 -1
- package/build/server/chunks/entries/pages/_layout.server.ts.js-4UzNkRmV.js +0 -37
- package/build/server/chunks/entries/pages/_layout.server.ts.js-4UzNkRmV.js.map +0 -1
- package/build/server/chunks/entries/pages/_layout.svelte.js-D3tKCqi7.js +0 -639
- package/build/server/chunks/entries/pages/_layout.svelte.js-D3tKCqi7.js.map +0 -1
- package/build/server/chunks/entries/pages/_page.server.ts.js-C5uiqMDK.js +0 -56
- package/build/server/chunks/entries/pages/_page.server.ts.js-C5uiqMDK.js.map +0 -1
- package/build/server/chunks/entries/pages/_page.svelte.js-Bharqli3.js +0 -154
- package/build/server/chunks/entries/pages/_page.svelte.js-Bharqli3.js.map +0 -1
- package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-BEw8PuLk.js +0 -181
- package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-BEw8PuLk.js.map +0 -1
- package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-D50uTD2B.js +0 -135
- package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-D50uTD2B.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_error.svelte.js-CSMq3Ka_.js +0 -40
- package/build/server/chunks/entries/pages/admin/_error.svelte.js-CSMq3Ka_.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-DsbL2WrQ.js +0 -31
- package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-DsbL2WrQ.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_layout.svelte.js-BAuigGsc.js +0 -121
- package/build/server/chunks/entries/pages/admin/_layout.svelte.js-BAuigGsc.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-BsXJHcdm.js +0 -76
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-BsXJHcdm.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-BR_FVhLi.js +0 -395
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-BR_FVhLi.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-C_Wz2frJ.js +0 -269
- package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-C_Wz2frJ.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-CIVYbv1k.js +0 -457
- package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-CIVYbv1k.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-CTSZV-JO.js +0 -74
- package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-CTSZV-JO.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-DXRD9Iui.js +0 -840
- package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-DXRD9Iui.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-BmJJ2Xpp.js +0 -35
- package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-BmJJ2Xpp.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-BPQGmCi7.js +0 -97
- package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-BPQGmCi7.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-3bixB7tf.js +0 -86
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-3bixB7tf.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-F9AWmrhN.js +0 -638
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-F9AWmrhN.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-SL7mlYhl.js +0 -42
- package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-SL7mlYhl.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-BzX6MfDB.js +0 -284
- package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-BzX6MfDB.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-CCu42MSp.js +0 -87
- package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-CCu42MSp.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-CgOFUU6H.js +0 -1389
- package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-CgOFUU6H.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-CYlxz6Ro.js +0 -79
- package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-CYlxz6Ro.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-vSLg5lOZ.js +0 -624
- package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-vSLg5lOZ.js.map +0 -1
- package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-DyLJeyUU.js +0 -46
- package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-DyLJeyUU.js.map +0 -1
- package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-B44avZnb.js +0 -62
- package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-B44avZnb.js.map +0 -1
- package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-DhlyB-CD.js +0 -62
- package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-DhlyB-CD.js.map +0 -1
- package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-gIhL2Qo7.js +0 -85
- package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-gIhL2Qo7.js.map +0 -1
- package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-DYy_RpKs.js +0 -120
- package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-DYy_RpKs.js.map +0 -1
- package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-B9jbyKqk.js +0 -15868
- package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-B9jbyKqk.js.map +0 -1
- package/build/server/chunks/entries/pages/library/_page.server.ts.js-CGFDsmQf.js +0 -51
- package/build/server/chunks/entries/pages/library/_page.server.ts.js-CGFDsmQf.js.map +0 -1
- package/build/server/chunks/entries/pages/library/_page.svelte.js-CboPTS5h.js +0 -301
- package/build/server/chunks/entries/pages/library/_page.svelte.js-CboPTS5h.js.map +0 -1
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-C2nXabyX.js +0 -101
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-C2nXabyX.js.map +0 -1
- package/build/server/chunks/entries/pages/login/_page.svelte.js-BG-PMYi6.js +0 -214
- package/build/server/chunks/entries/pages/login/_page.svelte.js-BG-PMYi6.js.map +0 -1
- package/build/server/chunks/entries/pages/logout/_page.server.ts.js-d4GdGUHK.js +0 -19
- package/build/server/chunks/entries/pages/logout/_page.server.ts.js-d4GdGUHK.js.map +0 -1
- package/build/server/chunks/entries/pages/oauth/authorize/_page.server.ts.js-CO4jv_VA.js +0 -100
- package/build/server/chunks/entries/pages/oauth/authorize/_page.server.ts.js-CO4jv_VA.js.map +0 -1
- package/build/server/chunks/entries/pages/oauth/authorize/_page.svelte.js-BUIcFh1f.js +0 -122
- package/build/server/chunks/entries/pages/oauth/authorize/_page.svelte.js-BUIcFh1f.js.map +0 -1
- package/build/server/chunks/entries/pages/projects/_layout.svelte.js-B2zpr0pm.js +0 -48
- package/build/server/chunks/entries/pages/projects/_layout.svelte.js-B2zpr0pm.js.map +0 -1
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-C1CCxlBo.js +0 -93
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-C1CCxlBo.js.map +0 -1
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-B7_D6Tc7.js +0 -3618
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-B7_D6Tc7.js.map +0 -1
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-Rz9f94Hp.js +0 -116
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-Rz9f94Hp.js.map +0 -1
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-BG-prHGk.js +0 -249
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-BG-prHGk.js.map +0 -1
- package/build/server/chunks/entries/pages/team/_layout.server.ts.js-BCiCp2cI.js +0 -28
- package/build/server/chunks/entries/pages/team/_layout.server.ts.js-BCiCp2cI.js.map +0 -1
- package/build/server/chunks/entries/pages/team/_layout.svelte.js-B--epuFB.js +0 -173
- package/build/server/chunks/entries/pages/team/_layout.svelte.js-B--epuFB.js.map +0 -1
- package/build/server/chunks/entries/pages/team/_page.server.ts.js-BtPN-cHa.js +0 -35
- package/build/server/chunks/entries/pages/team/_page.server.ts.js-BtPN-cHa.js.map +0 -1
- package/build/server/chunks/entries/pages/team/_page.svelte.js-C7f1aafD.js +0 -112
- package/build/server/chunks/entries/pages/team/_page.svelte.js-C7f1aafD.js.map +0 -1
- package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-CIfgoavi.js +0 -124
- package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-CIfgoavi.js.map +0 -1
- package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-XHkWdtPY.js +0 -42
- package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-XHkWdtPY.js.map +0 -1
- package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-ClKm0y8m.js +0 -616
- package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-ClKm0y8m.js.map +0 -1
- package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-B_kybomz.js +0 -62
- package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-B_kybomz.js.map +0 -1
- package/build/server/chunks/entries/pages/team/members/_page.svelte.js-DJ3r0QLd.js +0 -808
- package/build/server/chunks/entries/pages/team/members/_page.svelte.js-DJ3r0QLd.js.map +0 -1
- package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-DUmxaYoJ.js +0 -60
- package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-DUmxaYoJ.js.map +0 -1
- package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-CpUPYSr9.js +0 -423
- package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-CpUPYSr9.js.map +0 -1
- package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-CenKjUcw.js +0 -67
- package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-CenKjUcw.js.map +0 -1
- package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-DrCNzRIE.js +0 -266
- package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-DrCNzRIE.js.map +0 -1
- package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-fa4s28sH.js +0 -34
- package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-fa4s28sH.js.map +0 -1
- package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-BZBSqlas.js +0 -306
- package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-BZBSqlas.js.map +0 -1
- package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-RHwQMCnS.js +0 -29
- package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-RHwQMCnS.js.map +0 -1
- package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-CYW1kK7E.js +0 -312
- package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-CYW1kK7E.js.map +0 -1
- package/build/server/chunks/entries/pages/team/tokens/_page.server.ts.js-DRErrjXi.js +0 -65
- package/build/server/chunks/entries/pages/team/tokens/_page.server.ts.js-DRErrjXi.js.map +0 -1
- package/build/server/chunks/entries/pages/team/tokens/_page.svelte.js-U3kraEYQ.js +0 -731
- package/build/server/chunks/entries/pages/team/tokens/_page.svelte.js-U3kraEYQ.js.map +0 -1
- package/build/server/chunks/handler-DktvFfmT.js +0 -1206
- package/build/server/chunks/handler-DktvFfmT.js.map +0 -1
- package/build/server/chunks/index.js-U17FCs2C.js +0 -3767
- package/build/server/chunks/index.js-U17FCs2C.js.map +0 -1
- package/build/server/chunks/manifest.js-Dkp61MCM.js +0 -719
- package/build/server/chunks/manifest.js-Dkp61MCM.js.map +0 -1
- package/build/server/chunks/nodes/0.js-lTLEqekj.js +0 -55
- package/build/server/chunks/nodes/0.js-lTLEqekj.js.map +0 -1
- package/build/server/chunks/nodes/1.js-C7y-eFEt.js +0 -9
- package/build/server/chunks/nodes/1.js-C7y-eFEt.js.map +0 -1
- package/build/server/chunks/nodes/10.js-B8qFMGo5.js +0 -34
- package/build/server/chunks/nodes/10.js-B8qFMGo5.js.map +0 -1
- package/build/server/chunks/nodes/11.js-B0LHojXL.js +0 -38
- package/build/server/chunks/nodes/11.js-B0LHojXL.js.map +0 -1
- package/build/server/chunks/nodes/12.js-6pHwTf_L.js +0 -31
- package/build/server/chunks/nodes/12.js-6pHwTf_L.js.map +0 -1
- package/build/server/chunks/nodes/13.js-C4RJOIS8.js +0 -31
- package/build/server/chunks/nodes/13.js-C4RJOIS8.js.map +0 -1
- package/build/server/chunks/nodes/14.js-D-hhIcAN.js +0 -31
- package/build/server/chunks/nodes/14.js-D-hhIcAN.js.map +0 -1
- package/build/server/chunks/nodes/15.js-Cm-Jnejh.js +0 -39
- package/build/server/chunks/nodes/15.js-Cm-Jnejh.js.map +0 -1
- package/build/server/chunks/nodes/16.js-Czj9RLaI.js +0 -34
- package/build/server/chunks/nodes/16.js-Czj9RLaI.js.map +0 -1
- package/build/server/chunks/nodes/17.js-Bn9XETRF.js +0 -9
- package/build/server/chunks/nodes/17.js-Bn9XETRF.js.map +0 -1
- package/build/server/chunks/nodes/18.js-BCryTopo.js +0 -40
- package/build/server/chunks/nodes/18.js-BCryTopo.js.map +0 -1
- package/build/server/chunks/nodes/19.js-DKp4dlCF.js +0 -25
- package/build/server/chunks/nodes/19.js-DKp4dlCF.js.map +0 -1
- package/build/server/chunks/nodes/2.js-yCXi0aPF.js +0 -34
- package/build/server/chunks/nodes/2.js-yCXi0aPF.js.map +0 -1
- package/build/server/chunks/nodes/20.js-t30blwHC.js +0 -24
- package/build/server/chunks/nodes/20.js-t30blwHC.js.map +0 -1
- package/build/server/chunks/nodes/21.js-i6jFUJp5.js +0 -41
- package/build/server/chunks/nodes/21.js-i6jFUJp5.js.map +0 -1
- package/build/server/chunks/nodes/22.js-DcHakFlO.js +0 -40
- package/build/server/chunks/nodes/22.js-DcHakFlO.js.map +0 -1
- package/build/server/chunks/nodes/23.js-D37Yze2K.js +0 -37
- package/build/server/chunks/nodes/23.js-D37Yze2K.js.map +0 -1
- package/build/server/chunks/nodes/24.js-BQcA0QlR.js +0 -54
- package/build/server/chunks/nodes/24.js-BQcA0QlR.js.map +0 -1
- package/build/server/chunks/nodes/25.js-Bys8XBIv.js +0 -33
- package/build/server/chunks/nodes/25.js-Bys8XBIv.js.map +0 -1
- package/build/server/chunks/nodes/26.js-D8Caj0nc.js +0 -40
- package/build/server/chunks/nodes/26.js-D8Caj0nc.js.map +0 -1
- package/build/server/chunks/nodes/27.js-qprRQQIK.js +0 -31
- package/build/server/chunks/nodes/27.js-qprRQQIK.js.map +0 -1
- package/build/server/chunks/nodes/28.js-CibXMnYP.js +0 -9
- package/build/server/chunks/nodes/28.js-CibXMnYP.js.map +0 -1
- package/build/server/chunks/nodes/29.js-BhkG7TyY.js +0 -31
- package/build/server/chunks/nodes/29.js-BhkG7TyY.js.map +0 -1
- package/build/server/chunks/nodes/3.js-DBxxuND8.js +0 -9
- package/build/server/chunks/nodes/3.js-DBxxuND8.js.map +0 -1
- package/build/server/chunks/nodes/30.js-DSBz3ngD.js +0 -31
- package/build/server/chunks/nodes/30.js-DSBz3ngD.js.map +0 -1
- package/build/server/chunks/nodes/31.js-CxIfn5jO.js +0 -34
- package/build/server/chunks/nodes/31.js-CxIfn5jO.js.map +0 -1
- package/build/server/chunks/nodes/32.js-1pCX2490.js +0 -31
- package/build/server/chunks/nodes/32.js-1pCX2490.js.map +0 -1
- package/build/server/chunks/nodes/33.js-CvZM6odT.js +0 -31
- package/build/server/chunks/nodes/33.js-CvZM6odT.js.map +0 -1
- package/build/server/chunks/nodes/34.js-BRv6IrQJ.js +0 -31
- package/build/server/chunks/nodes/34.js-BRv6IrQJ.js.map +0 -1
- package/build/server/chunks/nodes/35.js-ZJqHFayc.js +0 -55
- package/build/server/chunks/nodes/35.js-ZJqHFayc.js.map +0 -1
- package/build/server/chunks/nodes/5.js-EOJQMEnn.js +0 -15
- package/build/server/chunks/nodes/5.js-EOJQMEnn.js.map +0 -1
- package/build/server/chunks/nodes/6.js-CbMr0sUz.js +0 -31
- package/build/server/chunks/nodes/6.js-CbMr0sUz.js.map +0 -1
- package/build/server/chunks/nodes/7.js-CedwBLUY.js +0 -24
- package/build/server/chunks/nodes/7.js-CedwBLUY.js.map +0 -1
- package/build/server/chunks/nodes/8.js-CiQIPQvE.js +0 -41
- package/build/server/chunks/nodes/8.js-CiQIPQvE.js.map +0 -1
- package/build/server/chunks/nodes/9.js-C58SrzOm.js +0 -31
- package/build/server/chunks/nodes/9.js-C58SrzOm.js.map +0 -1
- /package/build/client/_app/immutable/nodes/{0.BiBHPU6k.js → 0.B0Ie7GmU.js} +0 -0
- /package/build/client/_app/immutable/nodes/{0.BiBHPU6k.js.br → 0.B0Ie7GmU.js.br} +0 -0
- /package/build/client/_app/immutable/nodes/{0.BiBHPU6k.js.gz → 0.B0Ie7GmU.js.gz} +0 -0
|
@@ -0,0 +1,2370 @@
|
|
|
1
|
+
//#region ../compute/dist/core-DcBw277f.js
|
|
2
|
+
var e = {
|
|
3
|
+
NETWORK_ERROR: `NETWORK_ERROR`,
|
|
4
|
+
AUTH_ERROR: `AUTH_ERROR`,
|
|
5
|
+
VALIDATION_ERROR: `VALIDATION_ERROR`,
|
|
6
|
+
COMPUTATION_ERROR: `COMPUTATION_ERROR`,
|
|
7
|
+
TIMEOUT_ERROR: `TIMEOUT_ERROR`,
|
|
8
|
+
CORS_ERROR: `CORS_ERROR`,
|
|
9
|
+
NOT_FOUND: `NOT_FOUND`,
|
|
10
|
+
RATE_LIMIT: `RATE_LIMIT`,
|
|
11
|
+
INVALID_RESPONSE: `INVALID_RESPONSE`,
|
|
12
|
+
UNKNOWN_ERROR: `UNKNOWN_ERROR`,
|
|
13
|
+
INVALID_STATE: `INVALID_STATE`,
|
|
14
|
+
INVALID_INPUT: `INVALID_INPUT`,
|
|
15
|
+
INVALID_CONFIG: `INVALID_CONFIG`,
|
|
16
|
+
BROWSER_ONLY: `BROWSER_ONLY`,
|
|
17
|
+
ENVIRONMENT_ERROR: `ENVIRONMENT_ERROR`,
|
|
18
|
+
ENCODING_ERROR: `ENCODING_ERROR`,
|
|
19
|
+
MALFORMED_DEFAULT: `MALFORMED_DEFAULT`,
|
|
20
|
+
SUPERSEDED: `SUPERSEDED`,
|
|
21
|
+
ABORTED: `ABORTED`,
|
|
22
|
+
QUEUE_FULL: `QUEUE_FULL`,
|
|
23
|
+
QUEUE_TIMEOUT: `QUEUE_TIMEOUT`,
|
|
24
|
+
DEFINITION_NOT_CACHED: `DEFINITION_NOT_CACHED`
|
|
25
|
+
};
|
|
26
|
+
var t = class extends Error {
|
|
27
|
+
code;
|
|
28
|
+
statusCode;
|
|
29
|
+
context;
|
|
30
|
+
originalError;
|
|
31
|
+
constructor(t, n = e.UNKNOWN_ERROR, r) {
|
|
32
|
+
if (super(t), this.name = `ComputeError`, this.code = n, this.statusCode = r?.statusCode, this.context = r?.context, r?.originalError !== void 0) {
|
|
33
|
+
let e = r.originalError;
|
|
34
|
+
this.originalError = e instanceof Error ? e : Error(String(e)), this.cause = this.originalError;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
var n = {
|
|
39
|
+
debug() {},
|
|
40
|
+
info() {},
|
|
41
|
+
warn() {},
|
|
42
|
+
error() {}
|
|
43
|
+
};
|
|
44
|
+
var r = n;
|
|
45
|
+
function i() {
|
|
46
|
+
return r;
|
|
47
|
+
}
|
|
48
|
+
function a(i) {
|
|
49
|
+
if (i === null) {
|
|
50
|
+
r = n;
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
let a = [
|
|
54
|
+
`debug`,
|
|
55
|
+
`info`,
|
|
56
|
+
`warn`,
|
|
57
|
+
`error`
|
|
58
|
+
].filter((e) => typeof i[e] != `function`);
|
|
59
|
+
if (a.length > 0) throw new t(`Logger is missing required method(s): ${a.join(`, `)}. A logger must implement debug, info, warn and error.`, e.INVALID_CONFIG, { context: { missingMethods: a } });
|
|
60
|
+
r = i;
|
|
61
|
+
}
|
|
62
|
+
function o() {
|
|
63
|
+
a(console);
|
|
64
|
+
}
|
|
65
|
+
function s(e, t) {
|
|
66
|
+
if (!e || typeof e != `object`) return;
|
|
67
|
+
if (Object.prototype.hasOwnProperty.call(e, t)) return t;
|
|
68
|
+
let n = t.toLowerCase();
|
|
69
|
+
return Object.keys(e).find((e) => e.toLowerCase() === n);
|
|
70
|
+
}
|
|
71
|
+
function c(e, t) {
|
|
72
|
+
let n = s(e, t);
|
|
73
|
+
return n === void 0 ? void 0 : e[n];
|
|
74
|
+
}
|
|
75
|
+
function l(e, t) {
|
|
76
|
+
return s(e, t) !== void 0;
|
|
77
|
+
}
|
|
78
|
+
function d(n, r) {
|
|
79
|
+
let i = n?.trim() ?? ``;
|
|
80
|
+
if (!i) throw new t(`serverUrl is required`, e.INVALID_CONFIG, { context: { receivedServerUrl: n } });
|
|
81
|
+
let a = (r, a) => new t(`Invalid serverUrl: "${i}". ${r}`, e.INVALID_CONFIG, {
|
|
82
|
+
context: { receivedServerUrl: n },
|
|
83
|
+
originalError: a
|
|
84
|
+
});
|
|
85
|
+
if (!/^https?:\/\//i.test(i)) throw a(`Must start with "http://" or "https://". For example: "http://localhost:6500" or "https://example.com"`);
|
|
86
|
+
let o;
|
|
87
|
+
try {
|
|
88
|
+
o = new URL(i);
|
|
89
|
+
} catch (e) {
|
|
90
|
+
throw a(`Must be a valid URL. Received error: ${e instanceof Error ? e.message : String(e)}`, e);
|
|
91
|
+
}
|
|
92
|
+
if (o.username !== `` || o.password !== ``) throw a(`Must not embed credentials (user:pass@host) — fetch rejects credentialed URLs at request time. Pass the API key separately.`);
|
|
93
|
+
if (i.includes(`?`) || i.includes(`#`)) throw a("Must not contain a query string or fragment — endpoint paths are appended to this URL (e.g. \"${serverUrl}/version\"), and a \"?\" or \"#\" suffix would corrupt every request path.");
|
|
94
|
+
let s = o.hostname.toLowerCase().replace(/\.+$/, ``);
|
|
95
|
+
if (([`compute.rhino3d.com`]).map((e) => e.toLowerCase().replace(/\.+$/, ``)).includes(s)) throw new t(`serverUrl must be set to your Compute server URL. The shared public endpoint is not allowed.`, e.INVALID_CONFIG, { context: { receivedServerUrl: n } });
|
|
96
|
+
return i.replace(/\/+$/, ``);
|
|
97
|
+
}
|
|
98
|
+
function f(e, t) {
|
|
99
|
+
return `${t.replace(/\/+$/, ``)}/${e.replace(/^\/+/, ``)}`;
|
|
100
|
+
}
|
|
101
|
+
function p(e) {
|
|
102
|
+
try {
|
|
103
|
+
let t = new URL(e).hostname.toLowerCase();
|
|
104
|
+
return t === `localhost` || t === `127.0.0.1` || t === `[::1]`;
|
|
105
|
+
} catch {
|
|
106
|
+
return /(localhost|127\.0\.0\.1|\[::1\])/i.test(e);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
var m = /* @__PURE__ */ new Set();
|
|
110
|
+
function h(e) {
|
|
111
|
+
return v$1(e.headers, _(e));
|
|
112
|
+
}
|
|
113
|
+
function g(e, t) {
|
|
114
|
+
let n = v$1(t.headers, {
|
|
115
|
+
..._(t),
|
|
116
|
+
"X-Request-ID": e,
|
|
117
|
+
"Content-Type": `application/json`
|
|
118
|
+
});
|
|
119
|
+
return !t.apiKey && !t.authToken && !m.has(t.serverUrl) && !p(t.serverUrl) && (m.add(t.serverUrl), i().warn(`⚠️ [Compute] Request [${e}] targets remote server (${t.serverUrl}) but no API key or auth token is configured. Requests may fail or be rate-limited. (warned once per server)`)), n;
|
|
120
|
+
}
|
|
121
|
+
function _(e) {
|
|
122
|
+
return {
|
|
123
|
+
...e.authToken && { Authorization: e.authToken },
|
|
124
|
+
...e.apiKey && { [e.apiKeyHeader ?? `RhinoComputeKey`]: e.apiKey }
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function v$1(e, t) {
|
|
128
|
+
let n = new Set(Object.keys(t).map((e) => e.toLowerCase())), r = Object.entries(e ?? {}).filter(([e]) => !n.has(e.toLowerCase()));
|
|
129
|
+
return {
|
|
130
|
+
...Object.fromEntries(r),
|
|
131
|
+
...t
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function y$1() {
|
|
135
|
+
return `${Date.now()}-${Math.random().toString(36).substring(2, 11)}`;
|
|
136
|
+
}
|
|
137
|
+
var b$1 = /ECONNREFUSED|ERR_CONNECTION_REFUSED|connection refused/i;
|
|
138
|
+
var ee$1 = /ENOTFOUND|EAI_AGAIN|getaddrinfo|ERR_NAME_NOT_RESOLVED|dns/i;
|
|
139
|
+
var te$1 = /TimeoutError|ETIMEDOUT|ECONNRESET|EHOSTUNREACH|ENETUNREACH|abort|timed? ?out/i;
|
|
140
|
+
function x$1(e) {
|
|
141
|
+
if (e.online) return null;
|
|
142
|
+
if (e.status !== void 0) {
|
|
143
|
+
if (e.status === 401 || e.status === 403) return {
|
|
144
|
+
verdict: `unauthorized`,
|
|
145
|
+
retryable: false,
|
|
146
|
+
summary: `The server rejected the liveness probe with HTTP ${e.status} — check the API key.`
|
|
147
|
+
};
|
|
148
|
+
let t = e.status >= 500;
|
|
149
|
+
return {
|
|
150
|
+
verdict: `http_error`,
|
|
151
|
+
retryable: t,
|
|
152
|
+
summary: t ? `The server answered HTTP ${e.status} — it may still be starting up.` : `The server answered HTTP ${e.status}, which will not change on retry.`
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
let t = e.error ?? ``;
|
|
156
|
+
return b$1.test(t) ? {
|
|
157
|
+
verdict: `refused`,
|
|
158
|
+
retryable: false,
|
|
159
|
+
summary: `Connection refused — the host is reachable but nothing is listening on that port. Rhino.Compute is not running, or the URL names the wrong port.`
|
|
160
|
+
} : ee$1.test(t) ? {
|
|
161
|
+
verdict: `dns`,
|
|
162
|
+
retryable: true,
|
|
163
|
+
summary: `The server hostname could not be resolved — check the URL and DNS.`
|
|
164
|
+
} : te$1.test(t) ? {
|
|
165
|
+
verdict: `timeout`,
|
|
166
|
+
retryable: true,
|
|
167
|
+
summary: `No response before the timeout — the machine may be powered off, blocked by a firewall, or still booting.`
|
|
168
|
+
} : {
|
|
169
|
+
verdict: `unknown`,
|
|
170
|
+
retryable: true,
|
|
171
|
+
summary: t ? `The connection failed: ${t}` : `The connection failed.`
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
function S$1() {
|
|
175
|
+
let e = globalThis.Buffer;
|
|
176
|
+
return typeof e == `function` ? e : void 0;
|
|
177
|
+
}
|
|
178
|
+
function ne$1(e) {
|
|
179
|
+
let t = S$1();
|
|
180
|
+
return t ? t.from(e, `utf-8`).toString(`base64`) : D$1(new TextEncoder().encode(e));
|
|
181
|
+
}
|
|
182
|
+
function C$1(e) {
|
|
183
|
+
let t = e.replace(/[\t\n\f\r ]/g, ``);
|
|
184
|
+
return t.length % 4 == 0 && (t = t.replace(/={1,2}$/, ``)), t.length % 4 == 1 || !/^[A-Za-z0-9+/]*$/.test(t) ? null : t;
|
|
185
|
+
}
|
|
186
|
+
function w$1(e) {
|
|
187
|
+
let t = C$1(e);
|
|
188
|
+
if (t === null || t.length < 64) return null;
|
|
189
|
+
let n = t.length % 4, r = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.indexOf(t.charAt(t.length - 1));
|
|
190
|
+
return n === 2 && r & 15 || n === 3 && r & 3 ? null : n === 0 ? t : t + `==`.slice(0, 4 - n);
|
|
191
|
+
}
|
|
192
|
+
function T$1(n) {
|
|
193
|
+
let r = C$1(n);
|
|
194
|
+
if (r === null) throw new t(`Invalid base64 input.`, e.ENCODING_ERROR, { context: { inputLength: n.length } });
|
|
195
|
+
let i = S$1();
|
|
196
|
+
if (i) return new Uint8Array(i.from(r, `base64`));
|
|
197
|
+
if (typeof globalThis.atob == `function`) {
|
|
198
|
+
let e = globalThis.atob(r), t = new Uint8Array(e.length);
|
|
199
|
+
for (let n = 0; n < e.length; n++) t[n] = e.charCodeAt(n) & 255;
|
|
200
|
+
return t;
|
|
201
|
+
}
|
|
202
|
+
throw new t(`Base64 decoding not supported in this environment.`, e.ENVIRONMENT_ERROR, { context: { environmentInfo: `atob or Buffer not available` } });
|
|
203
|
+
}
|
|
204
|
+
function E$1(e) {
|
|
205
|
+
let t = S$1();
|
|
206
|
+
if (t) return t.byteLength(e, `utf-8`);
|
|
207
|
+
let n = 0;
|
|
208
|
+
for (let t = 0; t < e.length; t++) {
|
|
209
|
+
let r = e.charCodeAt(t);
|
|
210
|
+
r < 128 ? n += 1 : r < 2048 ? n += 2 : r >= 55296 && r <= 56319 && t + 1 < e.length && (e.charCodeAt(t + 1) & 64512) == 56320 ? (n += 4, t++) : n += 3;
|
|
211
|
+
}
|
|
212
|
+
return n;
|
|
213
|
+
}
|
|
214
|
+
function D$1(n) {
|
|
215
|
+
let r = S$1();
|
|
216
|
+
if (r) return r.from(n).toString(`base64`);
|
|
217
|
+
if (typeof globalThis.btoa == `function`) {
|
|
218
|
+
let e = 32766, t = [];
|
|
219
|
+
for (let r = 0; r < n.length; r += e) t.push(globalThis.btoa(String.fromCharCode.apply(null, n.subarray(r, r + e))));
|
|
220
|
+
return t.join(``);
|
|
221
|
+
}
|
|
222
|
+
throw new t(`Base64 encoding not supported in this environment.`, e.ENVIRONMENT_ERROR, { context: { environmentInfo: `btoa or Buffer not available` } });
|
|
223
|
+
}
|
|
224
|
+
function re$1(e) {
|
|
225
|
+
if (!e) return null;
|
|
226
|
+
let t = { raw: e }, n = false;
|
|
227
|
+
for (let r of e.split(`,`)) {
|
|
228
|
+
let [e, ...i] = r.trim().split(`;`), a = i.find((e) => e.trim().toLowerCase().startsWith(`dur`));
|
|
229
|
+
if (!a) continue;
|
|
230
|
+
let o = Number(a.split(`=`)[1]);
|
|
231
|
+
if (!Number.isFinite(o)) continue;
|
|
232
|
+
let s = e.trim().toLowerCase();
|
|
233
|
+
(s === `decode` || s === `solve` || s === `encode`) && (t[s] = o, n = true);
|
|
234
|
+
}
|
|
235
|
+
return n ? t : null;
|
|
236
|
+
}
|
|
237
|
+
function O$1(e, t, n, r) {
|
|
238
|
+
if (!n) return;
|
|
239
|
+
let a = re$1(e.headers.get(`Server-Timing`));
|
|
240
|
+
if (a) try {
|
|
241
|
+
n(a, t);
|
|
242
|
+
} catch (e) {
|
|
243
|
+
r && i().debug(` onServerTiming callback threw: ${e}`);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
function k$1(e) {
|
|
247
|
+
return e instanceof Error && (e.name === `AbortError` || e.name === `TimeoutError`);
|
|
248
|
+
}
|
|
249
|
+
function ie$1(e, t) {
|
|
250
|
+
let n = () => {};
|
|
251
|
+
if (typeof t != `number` || t <= 0) return {
|
|
252
|
+
signal: e,
|
|
253
|
+
cleanup: n
|
|
254
|
+
};
|
|
255
|
+
let r = AbortSignal.timeout(t);
|
|
256
|
+
if (!e) return {
|
|
257
|
+
signal: r,
|
|
258
|
+
cleanup: n
|
|
259
|
+
};
|
|
260
|
+
let i = new AbortController(), a = [e, r], o = function() {
|
|
261
|
+
i.abort(this.reason);
|
|
262
|
+
};
|
|
263
|
+
for (let e of a) {
|
|
264
|
+
if (e.aborted) {
|
|
265
|
+
i.abort(e.reason);
|
|
266
|
+
break;
|
|
267
|
+
}
|
|
268
|
+
e.addEventListener(`abort`, o, { once: true });
|
|
269
|
+
}
|
|
270
|
+
return {
|
|
271
|
+
signal: i.signal,
|
|
272
|
+
cleanup: () => {
|
|
273
|
+
for (let e of a) e.removeEventListener(`abort`, o);
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
var A$1 = /* @__PURE__ */ new WeakMap();
|
|
278
|
+
function j$1(e, t) {
|
|
279
|
+
typeof e == `object` && e && A$1.set(e, t);
|
|
280
|
+
}
|
|
281
|
+
function ae$1(e) {
|
|
282
|
+
if (typeof e == `object` && e) return A$1.get(e);
|
|
283
|
+
}
|
|
284
|
+
var M$1 = 4096;
|
|
285
|
+
function N$1(e) {
|
|
286
|
+
return e.length <= M$1 ? e : `${e.slice(0, M$1)}… [truncated ${e.length - M$1} chars]`;
|
|
287
|
+
}
|
|
288
|
+
function P$1(n, r, i, a, o) {
|
|
289
|
+
let { status: s, statusText: c } = n, { fullUrl: l, requestId: u, requestSize: d, config: f } = r, p = {};
|
|
290
|
+
n.headers.forEach((e, t) => {
|
|
291
|
+
p[t] = e;
|
|
292
|
+
});
|
|
293
|
+
let m = a.trim(), h = m ? ` — ${m.slice(0, 200)}${m.length > 200 ? `…` : ``}` : ``, g = {
|
|
294
|
+
url: l,
|
|
295
|
+
requestId: u,
|
|
296
|
+
method: `POST`,
|
|
297
|
+
requestSize: d,
|
|
298
|
+
serverUrl: f.serverUrl,
|
|
299
|
+
responseBody: i ? N$1(i) : void 0,
|
|
300
|
+
responseHeaders: p
|
|
301
|
+
}, _ = {
|
|
302
|
+
400: {
|
|
303
|
+
message: `Bad request: ${c}${h}`,
|
|
304
|
+
code: e.VALIDATION_ERROR
|
|
305
|
+
},
|
|
306
|
+
401: {
|
|
307
|
+
message: `HTTP ${s}: ${c}${h}`,
|
|
308
|
+
code: e.AUTH_ERROR
|
|
309
|
+
},
|
|
310
|
+
403: {
|
|
311
|
+
message: `HTTP ${s}: ${c}${h}`,
|
|
312
|
+
code: e.AUTH_ERROR
|
|
313
|
+
},
|
|
314
|
+
404: {
|
|
315
|
+
message: `Endpoint not found: ${l}`,
|
|
316
|
+
code: e.NOT_FOUND
|
|
317
|
+
},
|
|
318
|
+
413: {
|
|
319
|
+
message: `Request too large: ${(d / 1024).toFixed(2)}KB`,
|
|
320
|
+
code: e.VALIDATION_ERROR
|
|
321
|
+
},
|
|
322
|
+
429: {
|
|
323
|
+
message: `Rate limit exceeded${h}`,
|
|
324
|
+
code: e.RATE_LIMIT
|
|
325
|
+
},
|
|
326
|
+
500: {
|
|
327
|
+
message: `Server error: ${c}${h}`,
|
|
328
|
+
code: e.COMPUTATION_ERROR
|
|
329
|
+
},
|
|
330
|
+
502: {
|
|
331
|
+
message: `Bad gateway: ${c}${h}`,
|
|
332
|
+
code: e.NETWORK_ERROR
|
|
333
|
+
},
|
|
334
|
+
503: {
|
|
335
|
+
message: `Service unavailable: ${c}${h}`,
|
|
336
|
+
code: e.NETWORK_ERROR
|
|
337
|
+
},
|
|
338
|
+
504: {
|
|
339
|
+
message: `Gateway timeout: ${c}${h}`,
|
|
340
|
+
code: e.NETWORK_ERROR
|
|
341
|
+
}
|
|
342
|
+
}[s] || {
|
|
343
|
+
message: `HTTP ${s}: ${c}${h}`,
|
|
344
|
+
code: e.UNKNOWN_ERROR
|
|
345
|
+
}, v = f.serverErrorCodes, y = o && v && Object.prototype.hasOwnProperty.call(v, o) ? v[o] : void 0;
|
|
346
|
+
throw new t(_.message, y ?? _.code, {
|
|
347
|
+
statusCode: s,
|
|
348
|
+
context: g
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
async function F$1(n, r, a) {
|
|
352
|
+
let { requestId: o, config: s } = r, { debug: l, onServerTiming: u } = s, d = Math.round(performance.now() - a);
|
|
353
|
+
if (!n.ok) {
|
|
354
|
+
let e = await n.text();
|
|
355
|
+
if (l) {
|
|
356
|
+
let t = i();
|
|
357
|
+
t.debug(`❌ Request [${o}] failed with HTTP ${n.status} in ${d}ms`), t.debug(` URL: ${r.fullUrl}`), t.debug(` Status: ${n.status} ${n.statusText}`), e && t.debug(` Response body: ${e.substring(0, 500)}${e.length > 500 ? `...` : ``}`);
|
|
358
|
+
}
|
|
359
|
+
let t, a = true;
|
|
360
|
+
try {
|
|
361
|
+
t = JSON.parse(e);
|
|
362
|
+
} catch (e) {
|
|
363
|
+
a = false, l && n.status === 500 && i().debug(` Failed to parse error body as JSON: ${e}`);
|
|
364
|
+
}
|
|
365
|
+
let s = typeof t?.code == `string` ? t.code : void 0, f = e;
|
|
366
|
+
if (n.status === 500 && a) {
|
|
367
|
+
let r = c(t, `values`), a = c(t, `errors`), s = c(t, `warnings`);
|
|
368
|
+
if (r && (a || s)) {
|
|
369
|
+
if (j$1(t, e.length), l) {
|
|
370
|
+
let e = i();
|
|
371
|
+
e.debug(`⚠️ Request [${o}] completed with solver errors in ${d}ms`), a && a.length > 0 && e.debug(` Errors: ${JSON.stringify(a, null, 2)}`), s && s.length > 0 && e.debug(` Warnings: ${JSON.stringify(s, null, 2)}`);
|
|
372
|
+
}
|
|
373
|
+
return O$1(n, o, u, l), t;
|
|
374
|
+
}
|
|
375
|
+
let p = typeof t?.message == `string` && t.message || typeof t?.Message == `string` && t.Message || ``, m = typeof t?.ExceptionType == `string` && t.ExceptionType || ``, h = t?.stackTrace ?? t?.StackTrace, g = Array.isArray(h) ? h.join(`
|
|
376
|
+
`) : h || ``;
|
|
377
|
+
p ? f = `${m ? `${m}: ` : ``}${p}${g ? `\n${g}` : ``}` : t?.error && (f = typeof t.error == `string` ? t.error : JSON.stringify(t.error, null, 2));
|
|
378
|
+
}
|
|
379
|
+
P$1(n, r, e, f, s);
|
|
380
|
+
}
|
|
381
|
+
l && i().debug(`✅ Request [${o}] completed in ${d}ms`), O$1(n, o, u, l);
|
|
382
|
+
try {
|
|
383
|
+
let e = await n.text(), t = JSON.parse(e);
|
|
384
|
+
return j$1(t, e.length), t;
|
|
385
|
+
} catch (i) {
|
|
386
|
+
if (k$1(i)) throw i;
|
|
387
|
+
let a = (n.headers.get(`Content-Type`) ?? ``).toLowerCase();
|
|
388
|
+
throw a !== `` && !a.includes(`json`) ? new t(`Server returned a non-JSON response (Content-Type: ${a}) — check the server URL / proxy configuration`, e.INVALID_RESPONSE, {
|
|
389
|
+
statusCode: n.status,
|
|
390
|
+
context: {
|
|
391
|
+
url: r.fullUrl,
|
|
392
|
+
requestId: o,
|
|
393
|
+
contentType: a
|
|
394
|
+
},
|
|
395
|
+
originalError: i
|
|
396
|
+
}) : new t(`Failed to parse JSON response`, e.NETWORK_ERROR, {
|
|
397
|
+
statusCode: n.status,
|
|
398
|
+
context: {
|
|
399
|
+
url: r.fullUrl,
|
|
400
|
+
requestId: o
|
|
401
|
+
},
|
|
402
|
+
originalError: i
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
var I$1 = {
|
|
407
|
+
attempts: 0,
|
|
408
|
+
baseDelayMs: 500,
|
|
409
|
+
maxDelayMs: 3e4,
|
|
410
|
+
retryOn429: true
|
|
411
|
+
};
|
|
412
|
+
var L$1 = /* @__PURE__ */ new Set([
|
|
413
|
+
502,
|
|
414
|
+
503,
|
|
415
|
+
504
|
|
416
|
+
]);
|
|
417
|
+
function R$1(e) {
|
|
418
|
+
return e ? {
|
|
419
|
+
attempts: e.attempts ?? I$1.attempts,
|
|
420
|
+
baseDelayMs: e.baseDelayMs ?? I$1.baseDelayMs,
|
|
421
|
+
maxDelayMs: e.maxDelayMs ?? I$1.maxDelayMs,
|
|
422
|
+
retryOn429: e.retryOn429 ?? I$1.retryOn429
|
|
423
|
+
} : I$1;
|
|
424
|
+
}
|
|
425
|
+
function z$1(e, t) {
|
|
426
|
+
return L$1.has(e) || t.retryOn429 && e === 429;
|
|
427
|
+
}
|
|
428
|
+
function B$1(e, t, n) {
|
|
429
|
+
let r = V$1(e);
|
|
430
|
+
return r === null ? H$1(t, n) : Math.min(r, Math.max(n.maxDelayMs, 6e4));
|
|
431
|
+
}
|
|
432
|
+
function V$1(e) {
|
|
433
|
+
if (!e) return null;
|
|
434
|
+
let t = Number(e);
|
|
435
|
+
if (Number.isFinite(t) && t >= 0) return t * 1e3;
|
|
436
|
+
let n = Date.parse(e);
|
|
437
|
+
if (Number.isFinite(n)) {
|
|
438
|
+
let e = n - Date.now();
|
|
439
|
+
return e > 0 ? e : 0;
|
|
440
|
+
}
|
|
441
|
+
return null;
|
|
442
|
+
}
|
|
443
|
+
function H$1(e, t) {
|
|
444
|
+
let n = t.baseDelayMs * 2 ** e, r = Math.random() * t.baseDelayMs;
|
|
445
|
+
return Math.min(n + r, t.maxDelayMs);
|
|
446
|
+
}
|
|
447
|
+
function U$1(e, t) {
|
|
448
|
+
return new Promise((n, r) => {
|
|
449
|
+
if (t?.aborted) {
|
|
450
|
+
r(new DOMException(`Aborted`, `AbortError`));
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
let i = setTimeout(() => {
|
|
454
|
+
t?.removeEventListener(`abort`, a), n();
|
|
455
|
+
}, e), a = () => {
|
|
456
|
+
clearTimeout(i), r(new DOMException(`Aborted`, `AbortError`));
|
|
457
|
+
};
|
|
458
|
+
t?.addEventListener(`abort`, a, { once: true });
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
function W$1(n, r) {
|
|
462
|
+
return new t(`Request aborted by caller`, e.ABORTED, {
|
|
463
|
+
context: n.errorContext,
|
|
464
|
+
originalError: r
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
async function G$1(n, r, i, a) {
|
|
468
|
+
let { signal: o, cleanup: s } = ie$1(n.config.signal, n.config.timeoutMs), c = performance.now();
|
|
469
|
+
try {
|
|
470
|
+
let s = await fetch(n.fullUrl, {
|
|
471
|
+
method: `POST`,
|
|
472
|
+
body: n.body,
|
|
473
|
+
headers: n.headers,
|
|
474
|
+
signal: o
|
|
475
|
+
});
|
|
476
|
+
return !a && z$1(s.status, r) ? (await s.text().catch(() => {}), {
|
|
477
|
+
ok: !1,
|
|
478
|
+
retryable: !0,
|
|
479
|
+
delayMs: B$1(s.headers.get(`Retry-After`), i, r),
|
|
480
|
+
cause: new t(`HTTP ${s.status} ${s.statusText} (will retry)`, s.status === 429 ? e.RATE_LIMIT : e.NETWORK_ERROR, {
|
|
481
|
+
statusCode: s.status,
|
|
482
|
+
context: n.errorContext
|
|
483
|
+
})
|
|
484
|
+
}) : {
|
|
485
|
+
ok: !0,
|
|
486
|
+
value: await F$1(s, n, c)
|
|
487
|
+
};
|
|
488
|
+
} catch (e) {
|
|
489
|
+
return K$1(e, n);
|
|
490
|
+
} finally {
|
|
491
|
+
s();
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
function K$1(n, r) {
|
|
495
|
+
if (k$1(n)) {
|
|
496
|
+
if (r.config.signal?.aborted) return {
|
|
497
|
+
ok: false,
|
|
498
|
+
retryable: false,
|
|
499
|
+
cause: W$1(r, n)
|
|
500
|
+
};
|
|
501
|
+
let { timeoutMs: i } = r.config;
|
|
502
|
+
return {
|
|
503
|
+
ok: false,
|
|
504
|
+
retryable: true,
|
|
505
|
+
cause: typeof i == `number` && i > 0 ? new t(`Request timed out after ${i}ms`, e.TIMEOUT_ERROR, {
|
|
506
|
+
context: {
|
|
507
|
+
...r.errorContext,
|
|
508
|
+
timeoutMs: i
|
|
509
|
+
},
|
|
510
|
+
originalError: n
|
|
511
|
+
}) : new t(`Request aborted by the runtime (${n.name}): ${n.message}`, e.NETWORK_ERROR, {
|
|
512
|
+
context: r.errorContext,
|
|
513
|
+
originalError: n
|
|
514
|
+
})
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
if (n instanceof TypeError) return {
|
|
518
|
+
ok: false,
|
|
519
|
+
retryable: true,
|
|
520
|
+
cause: typeof window < `u` && window.document !== void 0 ? new t(`Request failed: ${n.message} — in a browser this usually means a CORS misconfiguration on the server (or a network failure; the browser does not distinguish them)`, e.CORS_ERROR, {
|
|
521
|
+
context: r.errorContext,
|
|
522
|
+
originalError: n
|
|
523
|
+
}) : new t(`Network error: ${n.message}`, e.NETWORK_ERROR, {
|
|
524
|
+
context: r.errorContext,
|
|
525
|
+
originalError: n
|
|
526
|
+
})
|
|
527
|
+
};
|
|
528
|
+
if (n instanceof t) {
|
|
529
|
+
let t = n.statusCode;
|
|
530
|
+
return {
|
|
531
|
+
ok: false,
|
|
532
|
+
retryable: n.code === e.NETWORK_ERROR && t !== void 0 && t >= 200 && t < 300,
|
|
533
|
+
cause: n
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
return {
|
|
537
|
+
ok: false,
|
|
538
|
+
retryable: false,
|
|
539
|
+
cause: new t(n instanceof Error ? n.message : String(n), e.UNKNOWN_ERROR, {
|
|
540
|
+
context: r.errorContext,
|
|
541
|
+
originalError: n
|
|
542
|
+
})
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
async function q$1(n, r, a) {
|
|
546
|
+
let o = y$1(), s;
|
|
547
|
+
try {
|
|
548
|
+
s = JSON.stringify(r);
|
|
549
|
+
} catch (r) {
|
|
550
|
+
throw new t(`Request body is not JSON-serializable: ${r instanceof Error ? r.message : String(r)}`, e.INVALID_INPUT, {
|
|
551
|
+
context: {
|
|
552
|
+
endpoint: n,
|
|
553
|
+
requestId: o
|
|
554
|
+
},
|
|
555
|
+
originalError: r
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
let c = E$1(s), l = f(n, a.serverUrl), u = g(o, a), d = R$1(a.retry), p = d.attempts + 1;
|
|
559
|
+
if (a.debug) {
|
|
560
|
+
let e = (c / 1024).toFixed(2), t = c > 1e5 ? `⚠️` : `🚀`;
|
|
561
|
+
i().debug(`${t} Starting compute request [${o}]: ${n} (${e}KB)`);
|
|
562
|
+
}
|
|
563
|
+
let m = {
|
|
564
|
+
endpoint: n,
|
|
565
|
+
body: s,
|
|
566
|
+
requestSize: c,
|
|
567
|
+
fullUrl: l,
|
|
568
|
+
requestId: o,
|
|
569
|
+
headers: u,
|
|
570
|
+
config: a,
|
|
571
|
+
errorContext: {
|
|
572
|
+
serverUrl: a.serverUrl,
|
|
573
|
+
url: l,
|
|
574
|
+
endpoint: n,
|
|
575
|
+
requestId: o,
|
|
576
|
+
requestSize: c
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
for (let e = 0;; e++) {
|
|
580
|
+
let t = e >= d.attempts, n = await G$1(m, d, e, t);
|
|
581
|
+
if (n.ok) return n.value;
|
|
582
|
+
if (t || !n.retryable) throw n.cause;
|
|
583
|
+
let r = n.delayMs ?? H$1(e, d);
|
|
584
|
+
a.debug && i().debug(`🔁 Request [${o}] retrying after ${r}ms (attempt ${e + 2}/${p}): ${n.cause.message}`);
|
|
585
|
+
try {
|
|
586
|
+
await U$1(r, a.signal);
|
|
587
|
+
} catch {
|
|
588
|
+
throw W$1(m, n.cause);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
function oe$1(e) {
|
|
593
|
+
return typeof e == `object` && !(e instanceof Uint8Array) && typeof e.key == `string` && typeof e.load == `function`;
|
|
594
|
+
}
|
|
595
|
+
function se$1(e) {
|
|
596
|
+
return typeof e == `string` && /^https?:\/\//i.test(e);
|
|
597
|
+
}
|
|
598
|
+
var J$1 = (e) => (e ?? ``).replace(/::/g, `/`).replace(/\\/g, `/`).split(`/`).map((e) => e.trim()).filter((e) => e !== ``);
|
|
599
|
+
var ce$1 = (e) => J$1(e.subFolder)[0] ?? ``;
|
|
600
|
+
var le$1 = (e) => J$1(e.subFolder).slice(1).join(`/`);
|
|
601
|
+
var Y$1 = (e) => {
|
|
602
|
+
let t = /* @__PURE__ */ new Map();
|
|
603
|
+
for (let n of e) {
|
|
604
|
+
let e = ce$1(n), r = t.get(e);
|
|
605
|
+
r ? r.push(n) : t.set(e, [n]);
|
|
606
|
+
}
|
|
607
|
+
return Array.from(t, ([e, t]) => ({
|
|
608
|
+
root: e,
|
|
609
|
+
files: t
|
|
610
|
+
}));
|
|
611
|
+
};
|
|
612
|
+
var ue$1 = (e) => {
|
|
613
|
+
let t = e.replace(/[/\\:*?"<>|]/g, `_`).replace(/\s+/g, ` `).trim().replace(/^\.+/, ``);
|
|
614
|
+
return t === `` ? `files` : t;
|
|
615
|
+
};
|
|
616
|
+
var X$1 = async (e, t = null) => {
|
|
617
|
+
let n = fe$1(e);
|
|
618
|
+
if (t) {
|
|
619
|
+
let e = Array.isArray(t) ? t : [t];
|
|
620
|
+
n.push(...await pe$1(e));
|
|
621
|
+
}
|
|
622
|
+
let r = /* @__PURE__ */ new Set();
|
|
623
|
+
return n.map((e) => {
|
|
624
|
+
let t = he$1(e.path, r);
|
|
625
|
+
return r.add(t), t === e.path ? e : (i().warn(`Duplicate archive path "${e.path}" — storing as "${t}".`), {
|
|
626
|
+
...e,
|
|
627
|
+
path: t,
|
|
628
|
+
fileName: t.slice(t.lastIndexOf(`/`) + 1)
|
|
629
|
+
});
|
|
630
|
+
});
|
|
631
|
+
};
|
|
632
|
+
var Z$1 = async (n, r, i = null) => {
|
|
633
|
+
if (typeof document > `u` || typeof Blob > `u`) throw new t(`File download functionality is only available in browser environments. This function requires the DOM API (document, Blob).`, e.BROWSER_ONLY, { context: {
|
|
634
|
+
environment: typeof window < `u` ? `browser (SSR)` : `Node.js`,
|
|
635
|
+
documentAvailable: typeof document < `u`,
|
|
636
|
+
blobAvailable: typeof Blob < `u`
|
|
637
|
+
} });
|
|
638
|
+
try {
|
|
639
|
+
await me$1(await X$1(n, i), r);
|
|
640
|
+
} catch (n) {
|
|
641
|
+
throw n instanceof t ? n : new t(`Failed to download files from compute response`, e.INVALID_STATE, {
|
|
642
|
+
context: { originalError: n instanceof Error ? n.message : String(n) },
|
|
643
|
+
originalError: n
|
|
644
|
+
});
|
|
645
|
+
}
|
|
646
|
+
};
|
|
647
|
+
var de$1 = async (e, t, n = null) => {
|
|
648
|
+
let r = Y$1(e);
|
|
649
|
+
if (r.length === 0) {
|
|
650
|
+
await Z$1([], t, n);
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
653
|
+
let i = (r.find((e) => e.root === ``) ?? r[0]).root;
|
|
654
|
+
for (let { root: e, files: a } of r) await Z$1(e === `` ? a : a.map((e) => ({
|
|
655
|
+
...e,
|
|
656
|
+
subFolder: le$1(e)
|
|
657
|
+
})), e === `` ? t : ue$1(e), e === i ? n : null);
|
|
658
|
+
};
|
|
659
|
+
var Q$1 = (e) => J$1(e).filter((e) => e !== `.` && e !== `..` && !/^[a-zA-Z]:$/.test(e)).join(`/`);
|
|
660
|
+
var $$1 = (e) => e === true || typeof e == `string` && e.trim().toLowerCase() === `true`;
|
|
661
|
+
var fe$1 = (e) => {
|
|
662
|
+
let t = [];
|
|
663
|
+
return e.forEach((e) => {
|
|
664
|
+
let n = c(e, `fileName`) ?? ``, r = c(e, `fileType`) ?? ``, a = Q$1(`${n}${r}`);
|
|
665
|
+
if (a === ``) {
|
|
666
|
+
i().warn(`Skipping file with unusable name "${n}${r}": no safe archive path remains after sanitization.`);
|
|
667
|
+
return;
|
|
668
|
+
}
|
|
669
|
+
let o = c(e, `subFolder`), s = o ? Q$1(o) : ``, l = s === `` ? a : `${s}/${a}`, u = c(e, `data`);
|
|
670
|
+
if (typeof u != `string` || u === ``) {
|
|
671
|
+
i().warn(`Skipping file "${l}": item carries no usable data.`);
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
let d = c(e, `metadata`);
|
|
675
|
+
if ($$1(c(e, `isBase64Encoded`))) try {
|
|
676
|
+
t.push({
|
|
677
|
+
fileName: a,
|
|
678
|
+
content: T$1(u),
|
|
679
|
+
path: l,
|
|
680
|
+
subFolder: s,
|
|
681
|
+
...d ? { metadata: d } : {}
|
|
682
|
+
});
|
|
683
|
+
} catch (e) {
|
|
684
|
+
i().warn(`Skipping file "${l}": base64 decode failed.`, e);
|
|
685
|
+
}
|
|
686
|
+
else t.push({
|
|
687
|
+
fileName: a,
|
|
688
|
+
content: u,
|
|
689
|
+
path: l,
|
|
690
|
+
subFolder: s,
|
|
691
|
+
...d ? { metadata: d } : {}
|
|
692
|
+
});
|
|
693
|
+
}), t;
|
|
694
|
+
};
|
|
695
|
+
var pe$1 = async (e) => (await Promise.all(e.map(async (e) => {
|
|
696
|
+
try {
|
|
697
|
+
let t = await fetch(e.filePath, { signal: AbortSignal.timeout(3e4) });
|
|
698
|
+
if (!t.ok) return i().warn(`Failed to fetch additional file from URL: ${e.filePath}`), null;
|
|
699
|
+
let n = await t.arrayBuffer(), r = Q$1(e.fileName);
|
|
700
|
+
if (r === ``) return i().warn(`Skipping fetched file with unusable name: ${e.fileName}`), null;
|
|
701
|
+
let a = e.subFolder ? Q$1(e.subFolder) : ``;
|
|
702
|
+
return {
|
|
703
|
+
fileName: r,
|
|
704
|
+
content: new Uint8Array(n),
|
|
705
|
+
path: a === `` ? r : `${a}/${r}`,
|
|
706
|
+
subFolder: a
|
|
707
|
+
};
|
|
708
|
+
} catch (t) {
|
|
709
|
+
return i().error(`Error fetching additional file from URL: ${e.filePath}`, t), null;
|
|
710
|
+
}
|
|
711
|
+
}))).filter((e) => e !== null);
|
|
712
|
+
async function me$1(e, t) {
|
|
713
|
+
let { zip: n, strToU8: r } = await import('./esm.js-Dzxc7OGH.js'), i = {};
|
|
714
|
+
for (let t of e) i[t.path] = typeof t.content == `string` ? r(t.content) : t.content;
|
|
715
|
+
let a = await new Promise((e, t) => {
|
|
716
|
+
n(i, { level: 6 }, (n, r) => n ? t(n) : e(r));
|
|
717
|
+
});
|
|
718
|
+
ge$1(new Blob([a], { type: `application/zip` }), `${t}.zip`);
|
|
719
|
+
}
|
|
720
|
+
function he$1(e, t) {
|
|
721
|
+
if (!t.has(e)) return e;
|
|
722
|
+
let n = e.lastIndexOf(`/`), r = e.lastIndexOf(`.`), i = r > n ? r : e.length, a = e.slice(0, i), o = e.slice(i);
|
|
723
|
+
for (let e = 2;; e++) {
|
|
724
|
+
let n = `${a}-${e}${o}`;
|
|
725
|
+
if (!t.has(n)) return n;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
function ge$1(e, t) {
|
|
729
|
+
let n = URL.createObjectURL(e), r = document.createElement(`a`);
|
|
730
|
+
r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 1e4);
|
|
731
|
+
}
|
|
732
|
+
//#endregion
|
|
733
|
+
//#region ../compute/dist/grasshopper.js
|
|
734
|
+
var v = class i$2 {
|
|
735
|
+
serverUrl;
|
|
736
|
+
headers;
|
|
737
|
+
disposed = false;
|
|
738
|
+
activeMonitors = /* @__PURE__ */ new Set();
|
|
739
|
+
static DEFAULT_TIMEOUT_MS = 5e3;
|
|
740
|
+
static LIFECYCLE_TIMEOUT_MS = 6e4;
|
|
741
|
+
static MIN_MONITOR_INTERVAL_MS = 100;
|
|
742
|
+
constructor(e, t) {
|
|
743
|
+
this.serverUrl = d(e), this.headers = {
|
|
744
|
+
...h(typeof t == `string` ? { apiKey: t } : t ?? {}),
|
|
745
|
+
"Content-Type": `application/json`
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
fetchWithTimeout(e, t = {}, n = i$2.DEFAULT_TIMEOUT_MS) {
|
|
749
|
+
let r = {
|
|
750
|
+
...t,
|
|
751
|
+
headers: this.headers
|
|
752
|
+
};
|
|
753
|
+
return n > 0 && !r.signal && (r.signal = AbortSignal.timeout(n)), fetch(e, r);
|
|
754
|
+
}
|
|
755
|
+
async getText(t, n = {}, r = i$2.DEFAULT_TIMEOUT_MS) {
|
|
756
|
+
this.ensureNotDisposed();
|
|
757
|
+
let a = `${n.method ?? `GET`} ${t}`;
|
|
758
|
+
try {
|
|
759
|
+
let i$1 = await this.fetchWithTimeout(`${this.serverUrl}${t}`, n, r);
|
|
760
|
+
return i$1.ok ? await i$1.text() : (i().warn(`[ComputeServerStats] ${a} failed:`, i$1.status), null);
|
|
761
|
+
} catch (t) {
|
|
762
|
+
return i().warn(`[ComputeServerStats] ${a} errored:`, t), null;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
async isServerOnline(e = i$2.DEFAULT_TIMEOUT_MS) {
|
|
766
|
+
return (await this.probeServer(e)).online;
|
|
767
|
+
}
|
|
768
|
+
async probeServer(t = i$2.DEFAULT_TIMEOUT_MS) {
|
|
769
|
+
this.ensureNotDisposed();
|
|
770
|
+
let n = `${this.serverUrl}/`;
|
|
771
|
+
try {
|
|
772
|
+
let e = await this.fetchWithTimeout(n, {
|
|
773
|
+
method: `GET`,
|
|
774
|
+
redirect: `manual`
|
|
775
|
+
}, t), r = e.type === `opaqueredirect` || e.status >= 300 && e.status < 400;
|
|
776
|
+
return {
|
|
777
|
+
online: e.ok || r,
|
|
778
|
+
status: e.status
|
|
779
|
+
};
|
|
780
|
+
} catch (t) {
|
|
781
|
+
return i().debug(`[ComputeServerStats] Fetch error:`, t), {
|
|
782
|
+
online: false,
|
|
783
|
+
error: t instanceof Error ? `${t.name}: ${t.message}` : String(t)
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
async getActiveChildren(t = {}) {
|
|
788
|
+
let { initialize: n = true } = t, r = n ? await this.getText(`/activechildren`, {}, i$2.LIFECYCLE_TIMEOUT_MS) : await this.getText(`/activechildren?initialize=false`);
|
|
789
|
+
if (r === null) return null;
|
|
790
|
+
let a = r.trim();
|
|
791
|
+
return /^\d+$/.test(a) ? parseInt(a, 10) : (i().warn(`[ComputeServerStats] /activechildren answered with a non-numeric body`), null);
|
|
792
|
+
}
|
|
793
|
+
async getVersion() {
|
|
794
|
+
let e = await this.getText(`/version`);
|
|
795
|
+
if (e === null) return null;
|
|
796
|
+
let t = y(e);
|
|
797
|
+
return t == null ? {
|
|
798
|
+
rhino: e,
|
|
799
|
+
compute: ``,
|
|
800
|
+
git_sha: null
|
|
801
|
+
} : {
|
|
802
|
+
rhino: t.rhino ?? ``,
|
|
803
|
+
compute: t.compute ?? ``,
|
|
804
|
+
git_sha: t.git_sha ?? null
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
async getInstalledPlugins(e = `gh`) {
|
|
808
|
+
let t = await this.getText(`/plugins/${e}/installed`), n = t === null ? void 0 : y(t);
|
|
809
|
+
return n && typeof n == `object` ? n : null;
|
|
810
|
+
}
|
|
811
|
+
async getServerStats() {
|
|
812
|
+
if (this.ensureNotDisposed(), !await this.isServerOnline()) return { isOnline: false };
|
|
813
|
+
let [e, t] = await Promise.all([this.getVersion(), this.getActiveChildren({ initialize: false })]);
|
|
814
|
+
return {
|
|
815
|
+
isOnline: true,
|
|
816
|
+
...e && { version: e },
|
|
817
|
+
...t !== null && { activeChildren: t }
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
async purgeCache() {
|
|
821
|
+
let e = await this.getText(`/cache/purge`, { method: `POST` }), t = (e === null ? void 0 : y(e))?.purged;
|
|
822
|
+
return typeof t == `number` ? t : null;
|
|
823
|
+
}
|
|
824
|
+
async purgeAllChildren() {
|
|
825
|
+
this.ensureNotDisposed();
|
|
826
|
+
let t = await this.getActiveChildren({ initialize: false });
|
|
827
|
+
if (t === null) return i().warn(`[ComputeServerStats] purgeAllChildren: could not read child count`), null;
|
|
828
|
+
if (t === 0) return {
|
|
829
|
+
totalPurged: 0,
|
|
830
|
+
calls: 0,
|
|
831
|
+
children: 0,
|
|
832
|
+
confident: true
|
|
833
|
+
};
|
|
834
|
+
let n = t * 2, r = 0;
|
|
835
|
+
for (let e = 0; e < n; e++) {
|
|
836
|
+
let e = await this.purgeCache();
|
|
837
|
+
e !== null && (r += e);
|
|
838
|
+
}
|
|
839
|
+
return {
|
|
840
|
+
totalPurged: r,
|
|
841
|
+
calls: n,
|
|
842
|
+
children: t,
|
|
843
|
+
confident: t === 1
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
async getServerTime() {
|
|
847
|
+
let e = await this.getText(`/servertime`);
|
|
848
|
+
if (e === null) return null;
|
|
849
|
+
let t = new Date(e.trim().replace(/^"|"$/g, ``));
|
|
850
|
+
return isNaN(t.getTime()) ? null : t;
|
|
851
|
+
}
|
|
852
|
+
async getIdleSpan() {
|
|
853
|
+
let e = await this.getText(`/idlespan`);
|
|
854
|
+
if (e === null) return null;
|
|
855
|
+
let t = parseFloat(e.trim());
|
|
856
|
+
return isNaN(t) ? null : t;
|
|
857
|
+
}
|
|
858
|
+
async launchChildren() {
|
|
859
|
+
return this.postJson(`/launch-children`);
|
|
860
|
+
}
|
|
861
|
+
async launchChild(e) {
|
|
862
|
+
let t = e === void 0 ? `/launch-child` : `/launch-child?port=${e}`;
|
|
863
|
+
return this.postJson(t);
|
|
864
|
+
}
|
|
865
|
+
async shutdownChildren(e) {
|
|
866
|
+
let t = e === void 0 ? `/shutdown-children` : `/shutdown-children?port=${e}`;
|
|
867
|
+
return this.postJson(t);
|
|
868
|
+
}
|
|
869
|
+
async recycleChildren(e) {
|
|
870
|
+
let t = e === void 0 ? `/recycle-children` : `/recycle-children?port=${e}`;
|
|
871
|
+
return this.postJson(t);
|
|
872
|
+
}
|
|
873
|
+
async postJson(e) {
|
|
874
|
+
let t = await this.getText(e, { method: `POST` }, i$2.LIFECYCLE_TIMEOUT_MS);
|
|
875
|
+
return t === null ? null : y(t) ?? null;
|
|
876
|
+
}
|
|
877
|
+
monitor(r, a = 5e3) {
|
|
878
|
+
if (this.ensureNotDisposed(), !Number.isFinite(a) || a < i$2.MIN_MONITOR_INTERVAL_MS) throw new t(`monitor() intervalMs must be a finite number >= ${i$2.MIN_MONITOR_INTERVAL_MS}ms, got ${a}. Sub-${i$2.MIN_MONITOR_INTERVAL_MS}ms polling would hot-loop the server.`, e.INVALID_CONFIG, { context: { intervalMs: a } });
|
|
879
|
+
let o = true, s = null;
|
|
880
|
+
i().info(`🔄 Starting server stats monitoring every ${a}ms`);
|
|
881
|
+
let c = async () => {
|
|
882
|
+
if (s = null, o && !this.disposed) {
|
|
883
|
+
try {
|
|
884
|
+
let t = await this.getServerStats();
|
|
885
|
+
if (!o || this.disposed) return;
|
|
886
|
+
try {
|
|
887
|
+
r(t);
|
|
888
|
+
} catch (t) {
|
|
889
|
+
i().error(`[ComputeServerStats] Monitor callback threw:`, t);
|
|
890
|
+
}
|
|
891
|
+
} catch (t) {
|
|
892
|
+
!o || this.disposed ? i().debug(`[ComputeServerStats] Monitor poll cancelled during shutdown:`, t) : i().error(`[ComputeServerStats] Failed to fetch stats during monitor:`, t);
|
|
893
|
+
}
|
|
894
|
+
o && !this.disposed && (s = setTimeout(() => void c(), a));
|
|
895
|
+
}
|
|
896
|
+
}, l = () => {
|
|
897
|
+
o = false, s !== null && (clearTimeout(s), s = null), this.activeMonitors.delete(l);
|
|
898
|
+
};
|
|
899
|
+
return this.activeMonitors.add(l), c(), l;
|
|
900
|
+
}
|
|
901
|
+
async dispose() {
|
|
902
|
+
if (!this.disposed) {
|
|
903
|
+
this.disposed = true;
|
|
904
|
+
for (let e of this.activeMonitors) e();
|
|
905
|
+
this.activeMonitors.clear();
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
ensureNotDisposed() {
|
|
909
|
+
if (this.disposed) throw new t(`ComputeServerStats has been disposed and cannot be used`, e.INVALID_STATE);
|
|
910
|
+
}
|
|
911
|
+
};
|
|
912
|
+
function y(e) {
|
|
913
|
+
try {
|
|
914
|
+
return JSON.parse(e);
|
|
915
|
+
} catch {
|
|
916
|
+
return;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
var b = /* @__PURE__ */ new Set();
|
|
920
|
+
function ee() {
|
|
921
|
+
if (typeof window > `u` || globalThis.process?.versions?.node != null) return false;
|
|
922
|
+
let e = globalThis.navigator, t = typeof e?.userAgent == `string` ? e.userAgent : ``;
|
|
923
|
+
return !/jsdom/i.test(t);
|
|
924
|
+
}
|
|
925
|
+
function x(t, n) {
|
|
926
|
+
n || ee() && !b.has(t) && (b.add(t), i().warn(`Warning: ${t} is running on the client side. For better performance and security, consider running this on the server side.`));
|
|
927
|
+
}
|
|
928
|
+
var te = { definition_not_cached: e.DEFINITION_NOT_CACHED };
|
|
929
|
+
function ne(e) {
|
|
930
|
+
return {
|
|
931
|
+
...e,
|
|
932
|
+
serverErrorCodes: {
|
|
933
|
+
...te,
|
|
934
|
+
...e.serverErrorCodes
|
|
935
|
+
}
|
|
936
|
+
};
|
|
937
|
+
}
|
|
938
|
+
function re(e$1) {
|
|
939
|
+
return e$1 instanceof t ? e$1.code === e.DEFINITION_NOT_CACHED || e$1.message.includes(`Unable to load grasshopper definition`) : false;
|
|
940
|
+
}
|
|
941
|
+
function ie(t, n) {
|
|
942
|
+
if (!n) return;
|
|
943
|
+
let r = c(t, `values`);
|
|
944
|
+
if (!Array.isArray(r) || r.length === 0) return;
|
|
945
|
+
let i$3 = [];
|
|
946
|
+
for (let e of r) {
|
|
947
|
+
let t = c(e, `innerTree`);
|
|
948
|
+
(!t || Object.keys(t).length === 0) && i$3.push(c(e, `paramName`) ?? `<unnamed>`);
|
|
949
|
+
}
|
|
950
|
+
if (i$3.length === 0) return;
|
|
951
|
+
let a = i$3.length === r.length ? `all` : `${i$3.length}/${r.length}`;
|
|
952
|
+
i().warn(`Solve returned empty output(s) (${a}): ${i$3.join(`, `)}. These parameters produced no data — check the definition's inputs and the branch feeding each.`);
|
|
953
|
+
}
|
|
954
|
+
async function ae(e, t, n) {
|
|
955
|
+
return x(`solveGrasshopperDefinition`, n.suppressBrowserWarning), (await se(e, t, n)).response;
|
|
956
|
+
}
|
|
957
|
+
async function oe(e, t, n, r) {
|
|
958
|
+
if (x(`solveWithServerCacheKey`, r.suppressBrowserWarning), t !== null) try {
|
|
959
|
+
return {
|
|
960
|
+
...await S({
|
|
961
|
+
algo: null,
|
|
962
|
+
pointer: t,
|
|
963
|
+
values: e
|
|
964
|
+
}, r),
|
|
965
|
+
missed: !1
|
|
966
|
+
};
|
|
967
|
+
} catch (e) {
|
|
968
|
+
if (!re(e)) throw e;
|
|
969
|
+
}
|
|
970
|
+
return {
|
|
971
|
+
...await se(e, n, r),
|
|
972
|
+
missed: true
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
async function se(e, t, n) {
|
|
976
|
+
return S(le(await ce(t), e), n);
|
|
977
|
+
}
|
|
978
|
+
async function ce(e$2) {
|
|
979
|
+
if (!oe$1(e$2)) return e$2;
|
|
980
|
+
try {
|
|
981
|
+
return await e$2.load();
|
|
982
|
+
} catch (r) {
|
|
983
|
+
throw new t(`Failed to load definition bytes for ref '${e$2.key}'`, e.INVALID_INPUT, {
|
|
984
|
+
context: { definitionKey: e$2.key },
|
|
985
|
+
originalError: r
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
async function S(e, t) {
|
|
990
|
+
ue(e, t);
|
|
991
|
+
let n = await q$1(`grasshopper`, e, ne(t)), { pointer: r, algo: i, ...a } = n, s = a, c = ae$1(n);
|
|
992
|
+
if (c !== void 0) {
|
|
993
|
+
let e = typeof i == `string` ? i.length : 0;
|
|
994
|
+
j$1(s, Math.max(0, c - e));
|
|
995
|
+
}
|
|
996
|
+
return ie(s, t.debug), {
|
|
997
|
+
response: s,
|
|
998
|
+
cacheKey: typeof r == `string` ? r : null
|
|
999
|
+
};
|
|
1000
|
+
}
|
|
1001
|
+
function le(e, t) {
|
|
1002
|
+
let n = {
|
|
1003
|
+
algo: null,
|
|
1004
|
+
pointer: null,
|
|
1005
|
+
values: t
|
|
1006
|
+
};
|
|
1007
|
+
return e instanceof Uint8Array ? n.algo = D$1(e) : se$1(e) ? n.pointer = e : n.algo = w$1(e) ?? ne$1(e), n;
|
|
1008
|
+
}
|
|
1009
|
+
function ue(e, t) {
|
|
1010
|
+
t.cachesolve != null && (e.cachesolve = t.cachesolve), t.cacheerroredsolves != null && (e.cacheerroredsolves = t.cacheerroredsolves), t.modelunits != null && (e.modelunits = t.modelunits), t.angletolerance != null && (e.angletolerance = t.angletolerance), t.absolutetolerance != null && (e.absolutetolerance = t.absolutetolerance), t.dataversion != null && (e.dataversion = t.dataversion), t.selvaevents != null && (e.selvaevents = t.selvaevents);
|
|
1011
|
+
}
|
|
1012
|
+
var C = /^\{(-?\d+(?:;-?\d+)*)?\}$/;
|
|
1013
|
+
function w(e) {
|
|
1014
|
+
if (typeof e != `object` || !e || Array.isArray(e)) return false;
|
|
1015
|
+
let t = Object.entries(e);
|
|
1016
|
+
return t.length > 0 && t.every(([e, t]) => C.test(e) && Array.isArray(t));
|
|
1017
|
+
}
|
|
1018
|
+
function T(e, t, n) {
|
|
1019
|
+
if (e == null) return e;
|
|
1020
|
+
if (Array.isArray(e)) {
|
|
1021
|
+
let n = e.map(t).filter((e) => e !== null);
|
|
1022
|
+
return n.length > 0 ? n : void 0;
|
|
1023
|
+
}
|
|
1024
|
+
let r = t(e);
|
|
1025
|
+
return r === null ? n ? void 0 : e : r;
|
|
1026
|
+
}
|
|
1027
|
+
var E = (e) => {
|
|
1028
|
+
if (typeof e == `number`) return Number.isFinite(e) ? e : null;
|
|
1029
|
+
if (typeof e == `string`) {
|
|
1030
|
+
let t = e.trim();
|
|
1031
|
+
if (t === `` || /^[+-]?0[xbo]/i.test(t)) return null;
|
|
1032
|
+
let n = Number(t);
|
|
1033
|
+
return Number.isFinite(n) ? n : null;
|
|
1034
|
+
}
|
|
1035
|
+
return null;
|
|
1036
|
+
};
|
|
1037
|
+
var D = (e) => {
|
|
1038
|
+
if (typeof e == `boolean`) return e;
|
|
1039
|
+
if (typeof e == `string`) {
|
|
1040
|
+
let t = e.trim().toLowerCase();
|
|
1041
|
+
if (t === `true`) return true;
|
|
1042
|
+
if (t === `false`) return false;
|
|
1043
|
+
}
|
|
1044
|
+
return null;
|
|
1045
|
+
};
|
|
1046
|
+
var de = (e) => typeof e == `string` ? e.length >= 2 && e.startsWith(`"`) && e.endsWith(`"`) ? e.slice(1, -1) : e.startsWith(`"`) ? e.slice(1) : e : null;
|
|
1047
|
+
var fe = (e) => {
|
|
1048
|
+
if (typeof e == `string`) {
|
|
1049
|
+
let t = e.trim();
|
|
1050
|
+
return t.startsWith(`"`) && t.endsWith(`"`) && (t = t.slice(1, -1).trim()), t;
|
|
1051
|
+
}
|
|
1052
|
+
return null;
|
|
1053
|
+
};
|
|
1054
|
+
function O(t) {
|
|
1055
|
+
return (n) => {
|
|
1056
|
+
if (typeof n == `object` && n) return n;
|
|
1057
|
+
if (typeof n == `string` && n.trim() !== ``) try {
|
|
1058
|
+
let r = JSON.parse(n);
|
|
1059
|
+
return typeof r == `object` && r ? r : (i().warn(`Parsed value for input ${t} is not an object`), null);
|
|
1060
|
+
} catch (r) {
|
|
1061
|
+
return i().warn(`Failed to parse object value "${n}" for input ${t}`, r), null;
|
|
1062
|
+
}
|
|
1063
|
+
return null;
|
|
1064
|
+
};
|
|
1065
|
+
}
|
|
1066
|
+
var pe = /* @__PURE__ */ new Set([
|
|
1067
|
+
`System.Double`,
|
|
1068
|
+
`System.Single`,
|
|
1069
|
+
`System.Decimal`,
|
|
1070
|
+
`System.Int32`,
|
|
1071
|
+
`System.Int64`
|
|
1072
|
+
]);
|
|
1073
|
+
var me = /* @__PURE__ */ new Set([`System.Int32`, `System.Int64`]);
|
|
1074
|
+
function k(n, r) {
|
|
1075
|
+
return i().warn(r), {
|
|
1076
|
+
schema: {
|
|
1077
|
+
...n,
|
|
1078
|
+
default: null
|
|
1079
|
+
},
|
|
1080
|
+
warning: {
|
|
1081
|
+
code: e.MALFORMED_DEFAULT,
|
|
1082
|
+
message: r
|
|
1083
|
+
}
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
function he(n, r) {
|
|
1087
|
+
if (typeof n.default != `object` || n.default === null || Array.isArray(n.default) || w(n.default)) return { schema: n };
|
|
1088
|
+
if (!l(n.default, `innerTree`)) return k(n, `Input "${r}" default had an unrecognized shape (no innerTree key); the default was dropped.`);
|
|
1089
|
+
let a = c(n.default, `innerTree`) ?? {};
|
|
1090
|
+
if (Object.keys(a).length === 0) return { schema: {
|
|
1091
|
+
...n,
|
|
1092
|
+
default: void 0
|
|
1093
|
+
} };
|
|
1094
|
+
if (n.treeAccess || n.atMost && n.atMost > 1) {
|
|
1095
|
+
let i$4 = {}, o = [];
|
|
1096
|
+
for (let [e, t] of Object.entries(a)) {
|
|
1097
|
+
if (!Array.isArray(t)) return k(n, `Input "${r}" default had a non-array innerTree branch ("${e}"); the default was dropped.`);
|
|
1098
|
+
let a = [];
|
|
1099
|
+
for (let e of t) {
|
|
1100
|
+
let t = c(e, `data`), n = c(e, `type`);
|
|
1101
|
+
if (n && pe.has(n)) {
|
|
1102
|
+
if (typeof t == `string` && t.trim() === ``) continue;
|
|
1103
|
+
let e = E(t);
|
|
1104
|
+
if (e === null) {
|
|
1105
|
+
o.push(`"${String(t)}" (${n})`);
|
|
1106
|
+
continue;
|
|
1107
|
+
}
|
|
1108
|
+
a.push(me.has(n) ? Math.round(e) : e);
|
|
1109
|
+
continue;
|
|
1110
|
+
}
|
|
1111
|
+
if (n === `System.Boolean`) {
|
|
1112
|
+
let e = D(t);
|
|
1113
|
+
if (e === null) {
|
|
1114
|
+
o.push(`"${String(t)}" (${n})`);
|
|
1115
|
+
continue;
|
|
1116
|
+
}
|
|
1117
|
+
a.push(e);
|
|
1118
|
+
continue;
|
|
1119
|
+
}
|
|
1120
|
+
if (typeof t == `string` && n?.startsWith(`Rhino.Geometry`)) {
|
|
1121
|
+
try {
|
|
1122
|
+
a.push(JSON.parse(t));
|
|
1123
|
+
} catch {
|
|
1124
|
+
a.push(t);
|
|
1125
|
+
}
|
|
1126
|
+
continue;
|
|
1127
|
+
}
|
|
1128
|
+
a.push(t);
|
|
1129
|
+
}
|
|
1130
|
+
i$4[e] = a;
|
|
1131
|
+
}
|
|
1132
|
+
if (o.length > 0) {
|
|
1133
|
+
let a = `Input "${r}" default contained ${o.length} tree value(s) that could not be parsed and were dropped: ${o.join(`, `)}.`;
|
|
1134
|
+
return i().warn(a), {
|
|
1135
|
+
schema: {
|
|
1136
|
+
...n,
|
|
1137
|
+
default: i$4
|
|
1138
|
+
},
|
|
1139
|
+
warning: {
|
|
1140
|
+
code: e.MALFORMED_DEFAULT,
|
|
1141
|
+
message: a
|
|
1142
|
+
}
|
|
1143
|
+
};
|
|
1144
|
+
}
|
|
1145
|
+
return { schema: {
|
|
1146
|
+
...n,
|
|
1147
|
+
default: i$4
|
|
1148
|
+
} };
|
|
1149
|
+
}
|
|
1150
|
+
let o = [];
|
|
1151
|
+
for (let e of Object.values(a)) if (Array.isArray(e)) for (let t of e) t && typeof t == `object` && l(t, `data`) && o.push(c(t, `data`));
|
|
1152
|
+
return { schema: {
|
|
1153
|
+
...n,
|
|
1154
|
+
default: o.length > 1 ? o : o[0]
|
|
1155
|
+
} };
|
|
1156
|
+
}
|
|
1157
|
+
function ge(e, t) {
|
|
1158
|
+
let n = Number(e.toFixed(t));
|
|
1159
|
+
return Math.abs(e - n) < 1e-8 ? n : e;
|
|
1160
|
+
}
|
|
1161
|
+
function A(e) {
|
|
1162
|
+
if (!Number.isFinite(e)) return 0;
|
|
1163
|
+
let [t, n] = String(Math.abs(e)).split(`e`), r = n === void 0 ? Math.abs(e).toFixed(12).replace(/0+$/, ``).split(`.`)[1]?.length ?? 0 : (t.split(`.`)[1]?.length ?? 0) - Number(n);
|
|
1164
|
+
return Math.min(Math.max(r, 0), 12);
|
|
1165
|
+
}
|
|
1166
|
+
function _e(e) {
|
|
1167
|
+
if (!Number.isFinite(e) || e === 0) return .1;
|
|
1168
|
+
let t = A(e);
|
|
1169
|
+
return t === 0 ? Math.abs(e) >= 1 ? 1 : .1 : Number((10 ** -t).toFixed(t));
|
|
1170
|
+
}
|
|
1171
|
+
function j(e) {
|
|
1172
|
+
return typeof e.stepSize == `number` && Number.isFinite(e.stepSize) && e.stepSize > 0 ? e.stepSize : void 0;
|
|
1173
|
+
}
|
|
1174
|
+
var M = (e, t) => (e.atMost ?? 1) > 1 ? [t] : t;
|
|
1175
|
+
var N = (e) => j(e) ?? (e.paramType === `Integer` ? 1 : .1);
|
|
1176
|
+
var P = (e, t) => Array.isArray(e) ? e.map((e) => typeof e == `number` ? t(e) : e) : typeof e == `number` ? t(e) : e;
|
|
1177
|
+
function ve(e$3) {
|
|
1178
|
+
if (w(e$3.default)) return {
|
|
1179
|
+
default: e$3.default,
|
|
1180
|
+
stepSize: N(e$3)
|
|
1181
|
+
};
|
|
1182
|
+
if (typeof e$3.default == `string` && e$3.default.trim() !== `` && E(e$3.default) === null) throw new t(`Invalid numeric default "${e$3.default}" for input "${e$3.name || `unknown`}"`, e.VALIDATION_ERROR, { context: {
|
|
1183
|
+
inputName: e$3.name,
|
|
1184
|
+
default: e$3.default
|
|
1185
|
+
} });
|
|
1186
|
+
let r = T(e$3.default, E, true);
|
|
1187
|
+
if (e$3.paramType === `Integer`) return {
|
|
1188
|
+
default: P(r, Math.round),
|
|
1189
|
+
stepSize: N(e$3)
|
|
1190
|
+
};
|
|
1191
|
+
let i = Array.isArray(r) ? r[0] : r, a = [
|
|
1192
|
+
i,
|
|
1193
|
+
e$3.minimum,
|
|
1194
|
+
e$3.maximum
|
|
1195
|
+
].find((e) => typeof e == `number` && Number.isFinite(e) && e !== 0), o = j(e$3) ?? (a === void 0 ? .1 : _e(a)), s = A(o);
|
|
1196
|
+
if (s === 0 && typeof i == `number` && i !== 0 && Math.abs(i) < 1) {
|
|
1197
|
+
let e = Math.ceil(-Math.log10(Math.abs(i)));
|
|
1198
|
+
Number.isFinite(e) && e > 0 && (s = e);
|
|
1199
|
+
}
|
|
1200
|
+
return s = Math.min(Math.max(s, 0), 12), {
|
|
1201
|
+
default: P(r, (e) => ge(e, s)),
|
|
1202
|
+
stepSize: o
|
|
1203
|
+
};
|
|
1204
|
+
}
|
|
1205
|
+
var F = {
|
|
1206
|
+
parse(e, t) {
|
|
1207
|
+
let { default: n, stepSize: r } = ve(e);
|
|
1208
|
+
return {
|
|
1209
|
+
...t,
|
|
1210
|
+
paramType: e.paramType,
|
|
1211
|
+
minimum: e.minimum,
|
|
1212
|
+
maximum: e.maximum,
|
|
1213
|
+
atLeast: e.atLeast,
|
|
1214
|
+
atMost: e.atMost,
|
|
1215
|
+
stepSize: r,
|
|
1216
|
+
default: n
|
|
1217
|
+
};
|
|
1218
|
+
},
|
|
1219
|
+
fallback(e, t) {
|
|
1220
|
+
let n = typeof e.minimum == `number` && Number.isFinite(e.minimum) && e.minimum > 0 ? e.minimum : 0;
|
|
1221
|
+
return {
|
|
1222
|
+
...t,
|
|
1223
|
+
paramType: e.paramType,
|
|
1224
|
+
minimum: e.minimum,
|
|
1225
|
+
maximum: e.maximum,
|
|
1226
|
+
atLeast: e.atLeast,
|
|
1227
|
+
atMost: e.atMost,
|
|
1228
|
+
stepSize: N(e),
|
|
1229
|
+
default: M(e, n)
|
|
1230
|
+
};
|
|
1231
|
+
}
|
|
1232
|
+
};
|
|
1233
|
+
var ye = {
|
|
1234
|
+
parse(e$4, r) {
|
|
1235
|
+
if (w(e$4.default)) return {
|
|
1236
|
+
...r,
|
|
1237
|
+
paramType: `Boolean`,
|
|
1238
|
+
default: e$4.default
|
|
1239
|
+
};
|
|
1240
|
+
let i = T(e$4.default, D, false);
|
|
1241
|
+
if (i != null && typeof i != `boolean` && !Array.isArray(i)) throw new t(`Invalid boolean default "${String(i)}" for input "${e$4.name || `unknown`}"`, e.VALIDATION_ERROR, { context: {
|
|
1242
|
+
inputName: e$4.name,
|
|
1243
|
+
default: e$4.default
|
|
1244
|
+
} });
|
|
1245
|
+
return {
|
|
1246
|
+
...r,
|
|
1247
|
+
paramType: `Boolean`,
|
|
1248
|
+
default: i
|
|
1249
|
+
};
|
|
1250
|
+
},
|
|
1251
|
+
fallback(e, t) {
|
|
1252
|
+
return {
|
|
1253
|
+
...t,
|
|
1254
|
+
paramType: `Boolean`,
|
|
1255
|
+
default: M(e, false)
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
1258
|
+
};
|
|
1259
|
+
var be = { parse(e, t) {
|
|
1260
|
+
let n = T(e.default, de, false);
|
|
1261
|
+
return {
|
|
1262
|
+
...t,
|
|
1263
|
+
paramType: `Text`,
|
|
1264
|
+
default: n
|
|
1265
|
+
};
|
|
1266
|
+
} };
|
|
1267
|
+
var xe = {
|
|
1268
|
+
parse(r, i$6, a) {
|
|
1269
|
+
if (!r.values || typeof r.values != `object` || Object.keys(r.values).length === 0) {
|
|
1270
|
+
let e$5 = r.nickname || `unnamed`;
|
|
1271
|
+
throw new t(`Input "${e$5}" has no values defined (expected ValueList)`, e.INVALID_INPUT, { context: {
|
|
1272
|
+
inputName: e$5,
|
|
1273
|
+
expectedType: `ValueList`
|
|
1274
|
+
} });
|
|
1275
|
+
}
|
|
1276
|
+
let o = r.default;
|
|
1277
|
+
if (r.default !== void 0 && r.default !== null) {
|
|
1278
|
+
if (typeof r.default == `object`) throw new t(`ValueList input "${r.nickname || `unnamed`}" default is not a string-able value`, e.VALIDATION_ERROR, { context: {
|
|
1279
|
+
inputName: r.name,
|
|
1280
|
+
default: r.default
|
|
1281
|
+
} });
|
|
1282
|
+
let i$5 = String(r.default).toLowerCase(), s = Object.keys(r.values).find((e) => e.toLowerCase() === i$5);
|
|
1283
|
+
if (s !== void 0) o = s;
|
|
1284
|
+
else {
|
|
1285
|
+
let n = `ValueList input "${r.nickname || `unnamed`}" default value "${r.default}" is not in available values`;
|
|
1286
|
+
i().warn(n), a?.({
|
|
1287
|
+
code: e.VALIDATION_ERROR,
|
|
1288
|
+
message: n
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
return {
|
|
1293
|
+
...i$6,
|
|
1294
|
+
paramType: `ValueList`,
|
|
1295
|
+
values: r.values,
|
|
1296
|
+
default: o
|
|
1297
|
+
};
|
|
1298
|
+
},
|
|
1299
|
+
fallback(e, t) {
|
|
1300
|
+
return {
|
|
1301
|
+
...t,
|
|
1302
|
+
paramType: `ValueList`,
|
|
1303
|
+
values: e.values && typeof e.values == `object` ? e.values : {},
|
|
1304
|
+
default: void 0
|
|
1305
|
+
};
|
|
1306
|
+
}
|
|
1307
|
+
};
|
|
1308
|
+
function I(e, t) {
|
|
1309
|
+
return {
|
|
1310
|
+
...t,
|
|
1311
|
+
paramType: `Geometry`,
|
|
1312
|
+
default: M(e, null)
|
|
1313
|
+
};
|
|
1314
|
+
}
|
|
1315
|
+
var L = /* @__PURE__ */ new Map([
|
|
1316
|
+
[`Number`, F],
|
|
1317
|
+
[`Integer`, F],
|
|
1318
|
+
[`Boolean`, ye],
|
|
1319
|
+
[`Text`, be],
|
|
1320
|
+
[`ValueList`, xe],
|
|
1321
|
+
[`Geometry`, {
|
|
1322
|
+
parse(e, t) {
|
|
1323
|
+
let n = T(e.default, O(e.nickname || `unnamed`), true);
|
|
1324
|
+
return {
|
|
1325
|
+
...t,
|
|
1326
|
+
paramType: `Geometry`,
|
|
1327
|
+
default: n
|
|
1328
|
+
};
|
|
1329
|
+
},
|
|
1330
|
+
fallback: I
|
|
1331
|
+
}],
|
|
1332
|
+
[`File`, { parse(e, t) {
|
|
1333
|
+
let n = T(e.default, O(e.nickname || `unnamed`), true);
|
|
1334
|
+
return {
|
|
1335
|
+
...t,
|
|
1336
|
+
paramType: `File`,
|
|
1337
|
+
acceptedFormats: e.acceptedFormats,
|
|
1338
|
+
default: n
|
|
1339
|
+
};
|
|
1340
|
+
} }],
|
|
1341
|
+
[`Color`, { parse(e, t) {
|
|
1342
|
+
let n = T(e.default, fe, false);
|
|
1343
|
+
return {
|
|
1344
|
+
...t,
|
|
1345
|
+
paramType: `Color`,
|
|
1346
|
+
default: n
|
|
1347
|
+
};
|
|
1348
|
+
} }]
|
|
1349
|
+
]);
|
|
1350
|
+
var Se = I;
|
|
1351
|
+
var Ce = new Map([...L.keys()].map((e) => [e.toLowerCase(), e]));
|
|
1352
|
+
function we(e) {
|
|
1353
|
+
return Ce.get(e?.toLowerCase()) ?? e;
|
|
1354
|
+
}
|
|
1355
|
+
function R(r) {
|
|
1356
|
+
let i$7 = r.name || `unknown`, a = [], o = ({ code: e, message: t }) => {
|
|
1357
|
+
a.push({
|
|
1358
|
+
inputName: i$7,
|
|
1359
|
+
paramType: r.paramType,
|
|
1360
|
+
message: t,
|
|
1361
|
+
code: e
|
|
1362
|
+
});
|
|
1363
|
+
}, s = {
|
|
1364
|
+
description: r.description,
|
|
1365
|
+
name: r.name,
|
|
1366
|
+
nickname: r.nickname,
|
|
1367
|
+
treeAccess: r.treeAccess,
|
|
1368
|
+
groupName: r.groupName ?? void 0,
|
|
1369
|
+
id: r.id
|
|
1370
|
+
}, c = we(r.paramType), l = {
|
|
1371
|
+
...r,
|
|
1372
|
+
paramType: c
|
|
1373
|
+
};
|
|
1374
|
+
try {
|
|
1375
|
+
let { schema: e, warning: t } = he(l, i$7);
|
|
1376
|
+
l = e, t && o(t);
|
|
1377
|
+
} catch (e$6) {
|
|
1378
|
+
l = {
|
|
1379
|
+
...l,
|
|
1380
|
+
default: null
|
|
1381
|
+
}, o({
|
|
1382
|
+
code: e.MALFORMED_DEFAULT,
|
|
1383
|
+
message: `Input "${i$7}" default could not be normalized and was dropped: ${e$6 instanceof Error ? e$6.message : String(e$6)}`
|
|
1384
|
+
});
|
|
1385
|
+
}
|
|
1386
|
+
let u = L.get(c);
|
|
1387
|
+
try {
|
|
1388
|
+
if (!u) throw new t(`Unknown paramType: ${c}`, e.VALIDATION_ERROR, { context: {
|
|
1389
|
+
receivedParamType: c,
|
|
1390
|
+
paramName: r.name
|
|
1391
|
+
} });
|
|
1392
|
+
return {
|
|
1393
|
+
input: u.parse(l, s, o),
|
|
1394
|
+
errors: a
|
|
1395
|
+
};
|
|
1396
|
+
} catch (d) {
|
|
1397
|
+
if (!(d instanceof t)) throw new t(d instanceof Error ? d.message : String(d), e.VALIDATION_ERROR, {
|
|
1398
|
+
context: {
|
|
1399
|
+
paramName: r.name,
|
|
1400
|
+
paramType: c
|
|
1401
|
+
},
|
|
1402
|
+
originalError: d
|
|
1403
|
+
});
|
|
1404
|
+
return i().error(`Validation error for input ${i$7}:`, d.message), o(d), {
|
|
1405
|
+
input: (u?.fallback ?? Se)(l, s),
|
|
1406
|
+
errors: a
|
|
1407
|
+
};
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
function Ee(e) {
|
|
1411
|
+
let t = [], n = [];
|
|
1412
|
+
for (let r of e) {
|
|
1413
|
+
let { input: e, errors: i } = R(r);
|
|
1414
|
+
t.push(e), n.push(...i);
|
|
1415
|
+
}
|
|
1416
|
+
return {
|
|
1417
|
+
inputs: t,
|
|
1418
|
+
parseErrors: n
|
|
1419
|
+
};
|
|
1420
|
+
}
|
|
1421
|
+
function De(e) {
|
|
1422
|
+
let t = c(e, `stepSize`);
|
|
1423
|
+
return {
|
|
1424
|
+
id: c(e, `id`) ?? ``,
|
|
1425
|
+
name: c(e, `name`) ?? ``,
|
|
1426
|
+
nickname: c(e, `nickname`) ?? null,
|
|
1427
|
+
description: c(e, `description`) ?? ``,
|
|
1428
|
+
paramType: c(e, `paramType`) ?? ``,
|
|
1429
|
+
treeAccess: c(e, `treeAccess`) ?? false,
|
|
1430
|
+
minimum: c(e, `minimum`) ?? null,
|
|
1431
|
+
maximum: c(e, `maximum`) ?? null,
|
|
1432
|
+
atLeast: c(e, `atLeast`) ?? 1,
|
|
1433
|
+
atMost: c(e, `atMost`) ?? 1,
|
|
1434
|
+
stepSize: typeof t == `number` && Number.isFinite(t) ? t : void 0,
|
|
1435
|
+
default: c(e, `default`),
|
|
1436
|
+
values: c(e, `values`),
|
|
1437
|
+
acceptedFormats: c(e, `acceptedFormats`),
|
|
1438
|
+
groupName: c(e, `groupName`) ?? null
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
function Oe(e) {
|
|
1442
|
+
return {
|
|
1443
|
+
name: c(e, `name`) ?? ``,
|
|
1444
|
+
nickname: c(e, `nickname`) ?? null,
|
|
1445
|
+
paramType: c(e, `paramType`) ?? ``,
|
|
1446
|
+
id: c(e, `id`) ?? ``
|
|
1447
|
+
};
|
|
1448
|
+
}
|
|
1449
|
+
async function z(e$7, r) {
|
|
1450
|
+
x(`fetchDefinitionIO`, r.suppressBrowserWarning);
|
|
1451
|
+
let { algo: i, pointer: a } = le(e$7, []);
|
|
1452
|
+
if (!i && !a) throw new t(`Definition must resolve to either a URL pointer or base64 algo`, e.INVALID_INPUT);
|
|
1453
|
+
let o = await q$1(`io`, i ? { algo: i } : { pointer: a }, ne(r));
|
|
1454
|
+
if (!o || typeof o != `object`) throw new t(`Invalid IO response structure`, e.INVALID_INPUT, { context: { response: o } });
|
|
1455
|
+
let s = B(c(o, `warnings`)), c$1 = B(c(o, `errors`)), l = c(o, `inputs`), u = c(o, `outputs`);
|
|
1456
|
+
return {
|
|
1457
|
+
inputs: Array.isArray(l) ? l.map(De) : [],
|
|
1458
|
+
outputs: Array.isArray(u) ? u.map(Oe) : [],
|
|
1459
|
+
...s && { loadWarnings: s },
|
|
1460
|
+
...c$1 && { loadErrors: c$1 }
|
|
1461
|
+
};
|
|
1462
|
+
}
|
|
1463
|
+
function B(e) {
|
|
1464
|
+
if (!Array.isArray(e)) return;
|
|
1465
|
+
let t = e.map(ke).filter((e) => e !== void 0);
|
|
1466
|
+
return t.length > 0 ? t : void 0;
|
|
1467
|
+
}
|
|
1468
|
+
function ke(e) {
|
|
1469
|
+
if (e == null) return;
|
|
1470
|
+
let t;
|
|
1471
|
+
if (typeof e == `string`) t = e;
|
|
1472
|
+
else if (typeof e == `object`) {
|
|
1473
|
+
let n = c(e, `message`);
|
|
1474
|
+
if (typeof n == `string` && n.trim().length > 0) t = n;
|
|
1475
|
+
else try {
|
|
1476
|
+
t = JSON.stringify(e) ?? String(e);
|
|
1477
|
+
} catch {
|
|
1478
|
+
t = String(e);
|
|
1479
|
+
}
|
|
1480
|
+
} else t = String(e);
|
|
1481
|
+
return t.trim().length > 0 ? t : void 0;
|
|
1482
|
+
}
|
|
1483
|
+
async function V(e, t) {
|
|
1484
|
+
let { inputs: n, outputs: r, loadWarnings: i, loadErrors: a } = await z(e, t), { inputs: o, parseErrors: s } = Ee(n);
|
|
1485
|
+
return {
|
|
1486
|
+
inputs: o,
|
|
1487
|
+
outputs: r,
|
|
1488
|
+
...s.length > 0 && { parseErrors: s },
|
|
1489
|
+
...i && { loadWarnings: i },
|
|
1490
|
+
...a && { loadErrors: a }
|
|
1491
|
+
};
|
|
1492
|
+
}
|
|
1493
|
+
function H(e) {
|
|
1494
|
+
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
1495
|
+
if (e === void 0) return `undefined`;
|
|
1496
|
+
if (e === null) return `null`;
|
|
1497
|
+
if (typeof e == `number`) return Number.isFinite(e) ? String(e) : `null`;
|
|
1498
|
+
if (typeof e == `string` || typeof e == `boolean`) return JSON.stringify(e);
|
|
1499
|
+
if (typeof e == `bigint`) return `${e}n`;
|
|
1500
|
+
if (e instanceof Uint8Array) return `{"__u8":${e.length},"hash":"${G(e)}"}`;
|
|
1501
|
+
if (Array.isArray(e)) {
|
|
1502
|
+
if (t.has(e)) return `"[Circular]"`;
|
|
1503
|
+
t.add(e);
|
|
1504
|
+
let r = [];
|
|
1505
|
+
for (let t = 0; t < e.length; t++) r.push(n(e[t]));
|
|
1506
|
+
return t.delete(e), `[${r.join(`,`)}]`;
|
|
1507
|
+
}
|
|
1508
|
+
if (typeof e == `object`) {
|
|
1509
|
+
if (t.has(e)) return `"[Circular]"`;
|
|
1510
|
+
t.add(e);
|
|
1511
|
+
let r;
|
|
1512
|
+
return r = typeof e.toJSON == `function` ? n(e.toJSON()) : e instanceof Map ? `{"__map":[${[...e.entries()].map(([e, t]) => `[${n(e)},${n(t)}]`).sort().join(`,`)}]}` : e instanceof Set ? `{"__set":[${[...e.values()].map(n).sort().join(`,`)}]}` : `{${Object.keys(e).sort().map((t) => `${JSON.stringify(t)}:${n(e[t])}`).join(`,`)}}`, t.delete(e), r;
|
|
1513
|
+
}
|
|
1514
|
+
return `null`;
|
|
1515
|
+
};
|
|
1516
|
+
return n(e);
|
|
1517
|
+
}
|
|
1518
|
+
function U(e, t) {
|
|
1519
|
+
let n = 2166136261;
|
|
1520
|
+
for (let r = 0; r < e; r++) n ^= t(r), n = Math.imul(n, 16777619) >>> 0;
|
|
1521
|
+
return n.toString(16).padStart(8, `0`);
|
|
1522
|
+
}
|
|
1523
|
+
function W(e) {
|
|
1524
|
+
return U(e.length, (t) => e.charCodeAt(t));
|
|
1525
|
+
}
|
|
1526
|
+
function G(e) {
|
|
1527
|
+
return U(e.length, (t) => e[t]);
|
|
1528
|
+
}
|
|
1529
|
+
function je(e, t) {
|
|
1530
|
+
let n = H(t);
|
|
1531
|
+
return `${e}|t:${n.length}:${W(n)}`;
|
|
1532
|
+
}
|
|
1533
|
+
function K(e) {
|
|
1534
|
+
return oe$1(e) ? `r:${e.key}` : typeof e == `string` ? `s:${e.length}:${W(e)}` : `u8:${e.length}:${G(e)}`;
|
|
1535
|
+
}
|
|
1536
|
+
var Me = /* @__PURE__ */ new WeakMap();
|
|
1537
|
+
function Ne(e) {
|
|
1538
|
+
if (!(e instanceof Uint8Array)) return K(e);
|
|
1539
|
+
let t = Me.get(e);
|
|
1540
|
+
return t === void 0 && (t = K(e), Me.set(e, t)), t;
|
|
1541
|
+
}
|
|
1542
|
+
function Pe(e) {
|
|
1543
|
+
try {
|
|
1544
|
+
return JSON.stringify(e)?.length ?? 0;
|
|
1545
|
+
} catch {
|
|
1546
|
+
return 0;
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
var Fe = class {
|
|
1550
|
+
executor;
|
|
1551
|
+
baseConfig;
|
|
1552
|
+
mode;
|
|
1553
|
+
maxConcurrent;
|
|
1554
|
+
maxQueueDepth;
|
|
1555
|
+
queueWaitMs;
|
|
1556
|
+
timeoutMs;
|
|
1557
|
+
retry;
|
|
1558
|
+
cacheEnabled;
|
|
1559
|
+
cacheMaxBytes;
|
|
1560
|
+
cacheTtl;
|
|
1561
|
+
cacheErroredSolves;
|
|
1562
|
+
cache = /* @__PURE__ */ new Map();
|
|
1563
|
+
cacheBytes = 0;
|
|
1564
|
+
cacheHits = 0;
|
|
1565
|
+
cacheMisses = 0;
|
|
1566
|
+
cacheEvictions = 0;
|
|
1567
|
+
reuseServerDefinitionCache;
|
|
1568
|
+
serverCacheKeys = /* @__PURE__ */ new Map();
|
|
1569
|
+
onStart;
|
|
1570
|
+
onSettle;
|
|
1571
|
+
onSuperseded;
|
|
1572
|
+
subscribers = /* @__PURE__ */ new Set();
|
|
1573
|
+
inFlight = /* @__PURE__ */ new Set();
|
|
1574
|
+
pendingForLatestWins = null;
|
|
1575
|
+
fifoQueue = [];
|
|
1576
|
+
_lastResult = null;
|
|
1577
|
+
_lastError = null;
|
|
1578
|
+
_lastDurationMs = null;
|
|
1579
|
+
solveSeq = 0;
|
|
1580
|
+
lastStateSeq = 0;
|
|
1581
|
+
disposed = false;
|
|
1582
|
+
constructor(e$8, r, i = {}) {
|
|
1583
|
+
if (this.executor = e$8, this.baseConfig = r, this.mode = i.mode ?? `latest-wins`, this.mode !== `latest-wins` && this.mode !== `queue`) throw new t(`Unknown scheduler mode '${String(this.mode)}'. For concurrent solves use { mode: 'queue', maxConcurrent: 4 }.`, e.INVALID_CONFIG, { context: { mode: this.mode } });
|
|
1584
|
+
this.maxConcurrent = Math.max(1, i.maxConcurrent ?? 1), this.maxQueueDepth = i.maxQueueDepth !== void 0 && i.maxQueueDepth > 0 ? Math.floor(i.maxQueueDepth) : void 0, this.queueWaitMs = i.queueWaitMs !== void 0 && i.queueWaitMs > 0 ? i.queueWaitMs : void 0, this.timeoutMs = i.timeoutMs, this.retry = i.retry;
|
|
1585
|
+
let a = i.cache, o = typeof a == `object` ? a : null;
|
|
1586
|
+
this.cacheMaxBytes = Math.max(0, o?.maxBytes ?? 0), this.cacheEnabled = this.cacheMaxBytes > 0, this.cacheTtl = o?.ttlMs ?? 0, this.cacheErroredSolves = o?.cacheErroredSolves ?? true, this.reuseServerDefinitionCache = i.reuseServerDefinitionCache ?? true, this.onStart = i.onStart, this.onSettle = i.onSettle, this.onSuperseded = i.onSuperseded;
|
|
1587
|
+
}
|
|
1588
|
+
get isSolving() {
|
|
1589
|
+
return this.inFlight.size > 0;
|
|
1590
|
+
}
|
|
1591
|
+
get hasPending() {
|
|
1592
|
+
return this.pendingForLatestWins !== null || this.fifoQueue.length > 0;
|
|
1593
|
+
}
|
|
1594
|
+
get inFlightCount() {
|
|
1595
|
+
return this.inFlight.size;
|
|
1596
|
+
}
|
|
1597
|
+
get queueDepth() {
|
|
1598
|
+
return this.fifoQueue.length + +!!this.pendingForLatestWins;
|
|
1599
|
+
}
|
|
1600
|
+
get lastResult() {
|
|
1601
|
+
return this._lastResult;
|
|
1602
|
+
}
|
|
1603
|
+
get lastError() {
|
|
1604
|
+
return this._lastError;
|
|
1605
|
+
}
|
|
1606
|
+
get lastDurationMs() {
|
|
1607
|
+
return this._lastDurationMs;
|
|
1608
|
+
}
|
|
1609
|
+
setMaxConcurrent(e) {
|
|
1610
|
+
let t = Math.max(1, Math.floor(e));
|
|
1611
|
+
if (t === this.maxConcurrent) return;
|
|
1612
|
+
let n = t > this.maxConcurrent;
|
|
1613
|
+
this.maxConcurrent = t, n && this.drainNext();
|
|
1614
|
+
}
|
|
1615
|
+
getMaxConcurrent() {
|
|
1616
|
+
return this.maxConcurrent;
|
|
1617
|
+
}
|
|
1618
|
+
subscribe(e) {
|
|
1619
|
+
return this.subscribers.add(e), () => this.subscribers.delete(e);
|
|
1620
|
+
}
|
|
1621
|
+
notify() {
|
|
1622
|
+
for (let t of this.subscribers) try {
|
|
1623
|
+
t();
|
|
1624
|
+
} catch (t) {
|
|
1625
|
+
i().error(`[SolveScheduler] subscriber threw:`, t);
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
solve(e, t, n) {
|
|
1629
|
+
return this.solveDetailed(e, t, n).then((e) => e.response);
|
|
1630
|
+
}
|
|
1631
|
+
solveDetailed(e$9, r, i) {
|
|
1632
|
+
if (this.disposed) return Promise.reject(new t(`SolveScheduler has been disposed and cannot be used`, e.INVALID_STATE));
|
|
1633
|
+
let a = Ne(e$9), o = je(a, r), s = ++this.solveSeq, c = {
|
|
1634
|
+
key: o,
|
|
1635
|
+
enqueuedAt: Date.now(),
|
|
1636
|
+
startedAt: null
|
|
1637
|
+
};
|
|
1638
|
+
if (i?.signal?.aborted) return Promise.reject(this.makeAbortError(c));
|
|
1639
|
+
let l = this.readCache(o);
|
|
1640
|
+
if (l) {
|
|
1641
|
+
this.mode === `latest-wins` && this.supersedeCurrent();
|
|
1642
|
+
let e = {
|
|
1643
|
+
status: `success`,
|
|
1644
|
+
response: l,
|
|
1645
|
+
durationMs: 0,
|
|
1646
|
+
fromCache: true
|
|
1647
|
+
};
|
|
1648
|
+
return this.writeLastState(s, {
|
|
1649
|
+
result: l,
|
|
1650
|
+
durationMs: 0
|
|
1651
|
+
}), this.runHook(this.onStart, c), this.runHook(this.onSettle, c, e), this.notify(), Promise.resolve({
|
|
1652
|
+
response: l,
|
|
1653
|
+
fromCache: true,
|
|
1654
|
+
durationMs: 0
|
|
1655
|
+
});
|
|
1656
|
+
}
|
|
1657
|
+
return new Promise((t, n) => {
|
|
1658
|
+
let o = {
|
|
1659
|
+
definition: e$9,
|
|
1660
|
+
dataTree: r,
|
|
1661
|
+
definitionHash: a,
|
|
1662
|
+
ctx: c,
|
|
1663
|
+
seq: s,
|
|
1664
|
+
resolve: t,
|
|
1665
|
+
reject: n,
|
|
1666
|
+
externalSignal: i?.signal,
|
|
1667
|
+
selvaevents: i?.selvaevents,
|
|
1668
|
+
onServerTiming: i?.onServerTiming
|
|
1669
|
+
};
|
|
1670
|
+
o.externalSignal && (o.queuedAbortHandler = () => this.abortQueuedItem(o), o.externalSignal.addEventListener(`abort`, o.queuedAbortHandler, { once: true })), this.enqueue(o);
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1673
|
+
writeLastState(e, t) {
|
|
1674
|
+
e < this.lastStateSeq || (this.lastStateSeq = e, `result` in t ? (this._lastResult = t.result, this._lastError = null) : this._lastError = t.error, this._lastDurationMs = t.durationMs);
|
|
1675
|
+
}
|
|
1676
|
+
supersedeCurrent() {
|
|
1677
|
+
this.pendingForLatestWins &&= (this.supersede(this.pendingForLatestWins), null);
|
|
1678
|
+
for (let e of this.inFlight) this.supersede(e), e.controller.abort();
|
|
1679
|
+
}
|
|
1680
|
+
dequeue(e) {
|
|
1681
|
+
this.pendingForLatestWins === e && (this.pendingForLatestWins = null);
|
|
1682
|
+
let t = this.fifoQueue.indexOf(e);
|
|
1683
|
+
t >= 0 && this.fifoQueue.splice(t, 1);
|
|
1684
|
+
}
|
|
1685
|
+
abortQueuedItem(e) {
|
|
1686
|
+
this.dequeue(e), this.fail(e, this.makeAbortError(e.ctx)), this.notify();
|
|
1687
|
+
}
|
|
1688
|
+
shedAsQueueFull(e$10) {
|
|
1689
|
+
let r = new t(`Solve queue is full; request rejected (backpressure)`, e.QUEUE_FULL, {
|
|
1690
|
+
statusCode: 503,
|
|
1691
|
+
context: {
|
|
1692
|
+
key: e$10.ctx.key,
|
|
1693
|
+
queueDepth: this.fifoQueue.length,
|
|
1694
|
+
maxQueueDepth: this.maxQueueDepth
|
|
1695
|
+
}
|
|
1696
|
+
});
|
|
1697
|
+
this.fail(e$10, r), this.notify();
|
|
1698
|
+
}
|
|
1699
|
+
armQueueWaitTimer(e$11) {
|
|
1700
|
+
if (this.queueWaitMs === void 0) return;
|
|
1701
|
+
let r = this.queueWaitMs;
|
|
1702
|
+
e$11.queueWaitTimer = setTimeout(() => {
|
|
1703
|
+
if (e$11.settled) return;
|
|
1704
|
+
this.dequeue(e$11);
|
|
1705
|
+
let i = new t(`Solve waited longer than ${r}ms in queue; rejected (backpressure)`, e.QUEUE_TIMEOUT, {
|
|
1706
|
+
statusCode: 503,
|
|
1707
|
+
context: {
|
|
1708
|
+
key: e$11.ctx.key,
|
|
1709
|
+
waitedMs: Date.now() - e$11.ctx.enqueuedAt,
|
|
1710
|
+
queueWaitMs: r
|
|
1711
|
+
}
|
|
1712
|
+
});
|
|
1713
|
+
this.fail(e$11, i), this.notify();
|
|
1714
|
+
}, r);
|
|
1715
|
+
}
|
|
1716
|
+
clearQueueWaitTimer(e) {
|
|
1717
|
+
e.queueWaitTimer !== void 0 && (clearTimeout(e.queueWaitTimer), e.queueWaitTimer = void 0);
|
|
1718
|
+
}
|
|
1719
|
+
enqueue(e) {
|
|
1720
|
+
switch (this.mode) {
|
|
1721
|
+
case `latest-wins`:
|
|
1722
|
+
this.supersedeCurrent(), this.inFlight.size === 0 ? this.execute(e) : this.pendingForLatestWins = e;
|
|
1723
|
+
break;
|
|
1724
|
+
case `queue`: this.inFlight.size < this.maxConcurrent ? this.execute(e) : this.maxQueueDepth !== void 0 && this.fifoQueue.length >= this.maxQueueDepth ? this.shedAsQueueFull(e) : (this.armQueueWaitTimer(e), this.fifoQueue.push(e));
|
|
1725
|
+
}
|
|
1726
|
+
this.notify();
|
|
1727
|
+
}
|
|
1728
|
+
async execute(e) {
|
|
1729
|
+
let t = new AbortController(), n = e;
|
|
1730
|
+
n.controller = t, this.inFlight.add(n), e.ctx.startedAt = Date.now(), this.clearQueueWaitTimer(e), this.removeQueuedAbortHandler(e);
|
|
1731
|
+
let r = () => t.abort();
|
|
1732
|
+
e.externalSignal?.addEventListener(`abort`, r, { once: true }), this.runHook(this.onStart, e.ctx), this.notify();
|
|
1733
|
+
let i = performance.now();
|
|
1734
|
+
try {
|
|
1735
|
+
let n = {
|
|
1736
|
+
...this.baseConfig,
|
|
1737
|
+
signal: t.signal,
|
|
1738
|
+
...this.timeoutMs !== void 0 && { timeoutMs: this.timeoutMs },
|
|
1739
|
+
...this.retry !== void 0 && { retry: this.retry },
|
|
1740
|
+
...e.selvaevents !== void 0 && { selvaevents: e.selvaevents }
|
|
1741
|
+
}, r = e.onServerTiming;
|
|
1742
|
+
if (r) {
|
|
1743
|
+
let e = this.baseConfig.onServerTiming;
|
|
1744
|
+
n.onServerTiming = (t, n) => {
|
|
1745
|
+
try {
|
|
1746
|
+
e?.(t, n);
|
|
1747
|
+
} finally {
|
|
1748
|
+
r(t, n);
|
|
1749
|
+
}
|
|
1750
|
+
};
|
|
1751
|
+
}
|
|
1752
|
+
let { response: a, definitionReuploaded: o } = await this.runExecutor(e.definition, e.dataTree, e.definitionHash, n), s = performance.now() - i;
|
|
1753
|
+
if (this.writeCache(e.ctx.key, a), !this.settleSuccess(e, {
|
|
1754
|
+
response: a,
|
|
1755
|
+
fromCache: !1,
|
|
1756
|
+
definitionReuploaded: o,
|
|
1757
|
+
durationMs: s
|
|
1758
|
+
})) return;
|
|
1759
|
+
this.writeLastState(e.seq, {
|
|
1760
|
+
result: a,
|
|
1761
|
+
durationMs: s
|
|
1762
|
+
}), this.runHook(this.onSettle, e.ctx, {
|
|
1763
|
+
status: `success`,
|
|
1764
|
+
response: a,
|
|
1765
|
+
durationMs: s,
|
|
1766
|
+
fromCache: !1,
|
|
1767
|
+
definitionReuploaded: o
|
|
1768
|
+
});
|
|
1769
|
+
} catch (t) {
|
|
1770
|
+
let r = performance.now() - i, a = this.normalizeExecutionError(t, n);
|
|
1771
|
+
this.writeLastState(e.seq, {
|
|
1772
|
+
error: a,
|
|
1773
|
+
durationMs: r
|
|
1774
|
+
}), this.fail(e, a, r);
|
|
1775
|
+
} finally {
|
|
1776
|
+
e.externalSignal?.removeEventListener(`abort`, r), this.inFlight.delete(n), this.drainNext(), this.notify();
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
async runExecutor(e, t, n, r) {
|
|
1780
|
+
if (!this.reuseServerDefinitionCache || se$1(e)) {
|
|
1781
|
+
let { response: n } = await this.executor(e, t, null, r);
|
|
1782
|
+
return { response: n };
|
|
1783
|
+
}
|
|
1784
|
+
let i = this.serverCacheKeys.get(n) ?? null, o = await this.executor(e, t, i, r);
|
|
1785
|
+
return this.serverCacheKeys.delete(n), o.cacheKey && (this.serverCacheKeys.set(n, o.cacheKey), this.serverCacheKeys.size > 100 && this.serverCacheKeys.delete(this.serverCacheKeys.keys().next().value)), {
|
|
1786
|
+
response: o.response,
|
|
1787
|
+
definitionReuploaded: o.missed
|
|
1788
|
+
};
|
|
1789
|
+
}
|
|
1790
|
+
drainNext() {
|
|
1791
|
+
if (!this.disposed) {
|
|
1792
|
+
if (this.mode === `latest-wins`) {
|
|
1793
|
+
if (this.pendingForLatestWins && this.inFlight.size === 0) {
|
|
1794
|
+
let e = this.pendingForLatestWins;
|
|
1795
|
+
this.pendingForLatestWins = null, this.execute(e);
|
|
1796
|
+
}
|
|
1797
|
+
return;
|
|
1798
|
+
}
|
|
1799
|
+
for (; this.fifoQueue.length > 0 && this.inFlight.size < this.maxConcurrent;) {
|
|
1800
|
+
let e = this.fifoQueue.shift();
|
|
1801
|
+
this.execute(e);
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
supersede(e$12) {
|
|
1806
|
+
let r = new t(`Superseded by newer solve`, e.SUPERSEDED, { context: {
|
|
1807
|
+
key: e$12.ctx.key,
|
|
1808
|
+
enqueuedAt: e$12.ctx.enqueuedAt
|
|
1809
|
+
} });
|
|
1810
|
+
this.settleError(e$12, r) && this.runHook(this.onSuperseded, e$12.ctx);
|
|
1811
|
+
}
|
|
1812
|
+
makeAbortError(e$13) {
|
|
1813
|
+
return new t(`Request aborted by caller`, e.ABORTED, { context: {
|
|
1814
|
+
key: e$13.key,
|
|
1815
|
+
enqueuedAt: e$13.enqueuedAt
|
|
1816
|
+
} });
|
|
1817
|
+
}
|
|
1818
|
+
settleError(e, t) {
|
|
1819
|
+
return !e.settled && (e.settled = { error: t }, this.clearQueueWaitTimer(e), this.removeQueuedAbortHandler(e), e.reject(t), true);
|
|
1820
|
+
}
|
|
1821
|
+
fail(e, t, n = 0) {
|
|
1822
|
+
this.settleError(e, t) && this.runHook(this.onSettle, e.ctx, {
|
|
1823
|
+
status: `error`,
|
|
1824
|
+
error: t,
|
|
1825
|
+
durationMs: n
|
|
1826
|
+
});
|
|
1827
|
+
}
|
|
1828
|
+
settleSuccess(e, t) {
|
|
1829
|
+
return !e.settled && (e.settled = { ok: true }, this.clearQueueWaitTimer(e), this.removeQueuedAbortHandler(e), e.resolve(t), true);
|
|
1830
|
+
}
|
|
1831
|
+
removeQueuedAbortHandler(e) {
|
|
1832
|
+
e.queuedAbortHandler && e.externalSignal && e.externalSignal.removeEventListener(`abort`, e.queuedAbortHandler), e.queuedAbortHandler = void 0;
|
|
1833
|
+
}
|
|
1834
|
+
normalizeExecutionError(e$14, r) {
|
|
1835
|
+
return r.settled && `error` in r.settled ? r.settled.error : e$14 instanceof t ? e$14 : e$14 instanceof Error && e$14.name === `AbortError` ? this.makeAbortError(r.ctx) : new t(e$14 instanceof Error ? e$14.message : String(e$14), e.UNKNOWN_ERROR, { originalError: e$14 });
|
|
1836
|
+
}
|
|
1837
|
+
cancelAll() {
|
|
1838
|
+
for (this.pendingForLatestWins &&= (this.fail(this.pendingForLatestWins, this.makeAbortError(this.pendingForLatestWins.ctx)), null); this.fifoQueue.length > 0;) {
|
|
1839
|
+
let e = this.fifoQueue.shift();
|
|
1840
|
+
this.fail(e, this.makeAbortError(e.ctx));
|
|
1841
|
+
}
|
|
1842
|
+
for (let e of this.inFlight) {
|
|
1843
|
+
let t = e.ctx.startedAt ? Date.now() - e.ctx.startedAt : 0;
|
|
1844
|
+
this.fail(e, this.makeAbortError(e.ctx), t), e.controller.abort();
|
|
1845
|
+
}
|
|
1846
|
+
this.notify();
|
|
1847
|
+
}
|
|
1848
|
+
readCache(e) {
|
|
1849
|
+
if (!this.cacheEnabled) return null;
|
|
1850
|
+
let t = this.cache.get(e);
|
|
1851
|
+
return t ? this.cacheTtl > 0 && Date.now() - t.insertedAt > this.cacheTtl ? (this.dropCacheEntry(e), this.cacheMisses += 1, null) : (this.cache.delete(e), this.cache.set(e, t), this.cacheHits += 1, t.response) : (this.cacheMisses += 1, null);
|
|
1852
|
+
}
|
|
1853
|
+
writeCache(e, t) {
|
|
1854
|
+
if (!this.cacheEnabled) return;
|
|
1855
|
+
let n = c(t, `errors`);
|
|
1856
|
+
if (!this.cacheErroredSolves && Array.isArray(n) && n.length > 0) return;
|
|
1857
|
+
let r = ae$1(t) ?? Pe(t);
|
|
1858
|
+
if (!(r > this.cacheMaxBytes)) for (this.dropCacheEntry(e), this.cache.set(e, {
|
|
1859
|
+
response: t,
|
|
1860
|
+
insertedAt: Date.now(),
|
|
1861
|
+
sizeBytes: r
|
|
1862
|
+
}), this.cacheBytes += r; this.cacheBytes > this.cacheMaxBytes && this.cache.size > 0;) {
|
|
1863
|
+
let e = this.cache.keys().next().value;
|
|
1864
|
+
if (e === void 0) break;
|
|
1865
|
+
this.dropCacheEntry(e), this.cacheEvictions += 1;
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
dropCacheEntry(e) {
|
|
1869
|
+
let t = this.cache.get(e);
|
|
1870
|
+
t && (this.cache.delete(e), this.cacheBytes -= t.sizeBytes);
|
|
1871
|
+
}
|
|
1872
|
+
clearCache() {
|
|
1873
|
+
this.cache.clear(), this.cacheBytes = 0;
|
|
1874
|
+
}
|
|
1875
|
+
cacheStats() {
|
|
1876
|
+
return {
|
|
1877
|
+
entries: this.cache.size,
|
|
1878
|
+
bytes: this.cacheBytes,
|
|
1879
|
+
hits: this.cacheHits,
|
|
1880
|
+
misses: this.cacheMisses,
|
|
1881
|
+
evictions: this.cacheEvictions
|
|
1882
|
+
};
|
|
1883
|
+
}
|
|
1884
|
+
dispose() {
|
|
1885
|
+
this.disposed || (this.disposed = true, this.cancelAll(), this.subscribers.clear(), this.clearCache());
|
|
1886
|
+
}
|
|
1887
|
+
runHook(t, ...n) {
|
|
1888
|
+
if (t) try {
|
|
1889
|
+
t(...n);
|
|
1890
|
+
} catch (t) {
|
|
1891
|
+
i().error(`[SolveScheduler] hook threw:`, t);
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
};
|
|
1895
|
+
function Ie(e) {
|
|
1896
|
+
return oe$1(e) ? `ref:${e.key}` : typeof e == `string` && e.length < 200 ? e : `...content...`;
|
|
1897
|
+
}
|
|
1898
|
+
function Le(e) {
|
|
1899
|
+
return Array.isArray(e) ? e.map((e) => {
|
|
1900
|
+
let t = 0, n = 0, r = c(e, `innerTree`);
|
|
1901
|
+
if (r && typeof r == `object`) {
|
|
1902
|
+
for (let e of Object.values(r)) if (Array.isArray(e)) {
|
|
1903
|
+
t += e.length;
|
|
1904
|
+
for (let t of e) {
|
|
1905
|
+
let e = t?.data;
|
|
1906
|
+
typeof e == `string` && (n += e.length);
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
return {
|
|
1911
|
+
param: c(e, `paramName`) ?? `<unnamed>`,
|
|
1912
|
+
items: t,
|
|
1913
|
+
bytes: n
|
|
1914
|
+
};
|
|
1915
|
+
}) : [];
|
|
1916
|
+
}
|
|
1917
|
+
var Re = class r {
|
|
1918
|
+
config;
|
|
1919
|
+
serverStats;
|
|
1920
|
+
disposed = false;
|
|
1921
|
+
static CREATE_PROBE_TIMEOUT_MS = 2e3;
|
|
1922
|
+
constructor(e) {
|
|
1923
|
+
this.config = {
|
|
1924
|
+
...e,
|
|
1925
|
+
serverUrl: d(e.serverUrl),
|
|
1926
|
+
debug: e.debug ?? false
|
|
1927
|
+
}, this.serverStats = new v(this.config.serverUrl, this.config);
|
|
1928
|
+
}
|
|
1929
|
+
static async create(e$15, i = {}) {
|
|
1930
|
+
let a = new r(e$15), o = Math.max(1, (i.probe?.attempts ?? 2) + 1), s = i.probe?.baseDelayMs ?? 250, l = i.probe?.maxDelayMs ?? 1e3, u, d = null, f = 0;
|
|
1931
|
+
for (let e = 0; e < o; e++) {
|
|
1932
|
+
if (f = e + 1, u = await a.serverStats.probeServer(r.CREATE_PROBE_TIMEOUT_MS), u.online) return a;
|
|
1933
|
+
if (d = x$1(u), d && !d.retryable) break;
|
|
1934
|
+
if (e < o - 1) {
|
|
1935
|
+
let t = Math.min(s * 2 ** e, l);
|
|
1936
|
+
await new Promise((e) => setTimeout(e, t));
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
await a.dispose();
|
|
1940
|
+
let p = u?.status;
|
|
1941
|
+
throw new t(d ? `Rhino Compute server is not available. ${d.summary}` : `Rhino Compute server is not online`, e.NETWORK_ERROR, {
|
|
1942
|
+
...p !== void 0 && { statusCode: p },
|
|
1943
|
+
context: {
|
|
1944
|
+
serverUrl: a.config.serverUrl,
|
|
1945
|
+
attempts: f,
|
|
1946
|
+
maxAttempts: o,
|
|
1947
|
+
...d && {
|
|
1948
|
+
probeVerdict: d.verdict,
|
|
1949
|
+
probeRetryable: d.retryable
|
|
1950
|
+
},
|
|
1951
|
+
...p !== void 0 && { lastProbeStatus: p },
|
|
1952
|
+
...u?.error !== void 0 && { lastProbeError: u.error }
|
|
1953
|
+
}
|
|
1954
|
+
});
|
|
1955
|
+
}
|
|
1956
|
+
getConfig() {
|
|
1957
|
+
return this.ensureNotDisposed(), { ...this.config };
|
|
1958
|
+
}
|
|
1959
|
+
async getIO(e) {
|
|
1960
|
+
return this.ensureNotDisposed(), V(e, this.config);
|
|
1961
|
+
}
|
|
1962
|
+
async getRawIO(e) {
|
|
1963
|
+
return this.ensureNotDisposed(), z(e, this.config);
|
|
1964
|
+
}
|
|
1965
|
+
async solve(r, i$8, a) {
|
|
1966
|
+
this.ensureNotDisposed();
|
|
1967
|
+
try {
|
|
1968
|
+
if (typeof r == `string` && !r.trim()) throw new t(`Definition URL/content is required`, e.INVALID_INPUT, { context: { receivedUrl: r } });
|
|
1969
|
+
if (r instanceof Uint8Array && r.length === 0) throw new t(`Definition content is empty`, e.INVALID_INPUT);
|
|
1970
|
+
if (oe$1(r) && !r.key.trim()) throw new t(`DefinitionRef key is empty`, e.INVALID_INPUT);
|
|
1971
|
+
let e$16 = await ae(i$8, r, {
|
|
1972
|
+
...this.config,
|
|
1973
|
+
...a?.signal !== void 0 && { signal: a.signal },
|
|
1974
|
+
...a?.timeoutMs !== void 0 && { timeoutMs: a.timeoutMs },
|
|
1975
|
+
...a?.retry !== void 0 && { retry: a.retry },
|
|
1976
|
+
...a?.selvaevents !== void 0 && { selvaevents: a.selvaevents }
|
|
1977
|
+
}), o = c(e$16, `errors`);
|
|
1978
|
+
if (Array.isArray(o) && o.length > 0) throw new t(o.map(String).join(`; `) || `Computation failed`, e.COMPUTATION_ERROR, { context: {
|
|
1979
|
+
definition: Ie(r),
|
|
1980
|
+
inputSummary: Le(i$8),
|
|
1981
|
+
errors: o,
|
|
1982
|
+
warnings: c(e$16, `warnings`),
|
|
1983
|
+
values: e$16.values
|
|
1984
|
+
} });
|
|
1985
|
+
return e$16;
|
|
1986
|
+
} catch (a) {
|
|
1987
|
+
throw this.config.debug && i().error(`Compute failed:`, a), a instanceof t ? a : new t(a instanceof Error ? a.message : String(a), e.COMPUTATION_ERROR, {
|
|
1988
|
+
context: {
|
|
1989
|
+
definition: Ie(r),
|
|
1990
|
+
inputSummary: Le(i$8)
|
|
1991
|
+
},
|
|
1992
|
+
originalError: a
|
|
1993
|
+
});
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
createScheduler(e) {
|
|
1997
|
+
return this.ensureNotDisposed(), new Fe((e, t, n, r) => oe(t, n, e, r), this.config, e);
|
|
1998
|
+
}
|
|
1999
|
+
async dispose() {
|
|
2000
|
+
this.disposed || (this.disposed = true, await this.serverStats.dispose());
|
|
2001
|
+
}
|
|
2002
|
+
ensureNotDisposed() {
|
|
2003
|
+
if (this.disposed) throw new t(`GrasshopperClient has been disposed and cannot be used`, e.INVALID_STATE);
|
|
2004
|
+
}
|
|
2005
|
+
};
|
|
2006
|
+
function Be(e, t) {
|
|
2007
|
+
return {
|
|
2008
|
+
__decodeError: true,
|
|
2009
|
+
type: e,
|
|
2010
|
+
raw: t
|
|
2011
|
+
};
|
|
2012
|
+
}
|
|
2013
|
+
function Ve(e) {
|
|
2014
|
+
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
2015
|
+
if (!e || typeof e != `object` || t.has(e)) return;
|
|
2016
|
+
t.add(e);
|
|
2017
|
+
let r = e.delete;
|
|
2018
|
+
if (typeof r == `function`) {
|
|
2019
|
+
let t = e.isDeleted;
|
|
2020
|
+
(typeof t != `function` || !t.call(e)) && r.call(e);
|
|
2021
|
+
return;
|
|
2022
|
+
}
|
|
2023
|
+
if (Array.isArray(e)) {
|
|
2024
|
+
for (let t of e) n(t);
|
|
2025
|
+
return;
|
|
2026
|
+
}
|
|
2027
|
+
let i = Object.getPrototypeOf(e);
|
|
2028
|
+
if (i === Object.prototype || i === null) for (let t of Object.values(e)) n(t);
|
|
2029
|
+
};
|
|
2030
|
+
n(e);
|
|
2031
|
+
}
|
|
2032
|
+
var q = /* @__PURE__ */ new Map([[`Rhino.Geometry.Point3d`, (e, t) => {
|
|
2033
|
+
let n = t;
|
|
2034
|
+
return !n || typeof n.X != `number` ? null : new e.Point([
|
|
2035
|
+
n.X,
|
|
2036
|
+
n.Y,
|
|
2037
|
+
n.Z
|
|
2038
|
+
]);
|
|
2039
|
+
}], [`Rhino.Geometry.Line`, (e, t) => {
|
|
2040
|
+
let n = t;
|
|
2041
|
+
return !n || !n.From || !n.To ? null : new e.Line([
|
|
2042
|
+
n.From.X,
|
|
2043
|
+
n.From.Y,
|
|
2044
|
+
n.From.Z
|
|
2045
|
+
], [
|
|
2046
|
+
n.To.X,
|
|
2047
|
+
n.To.Y,
|
|
2048
|
+
n.To.Z
|
|
2049
|
+
]);
|
|
2050
|
+
}]]);
|
|
2051
|
+
function He(e) {
|
|
2052
|
+
if (q.has(e)) return q.get(e);
|
|
2053
|
+
for (let [t, n] of q) if (e.startsWith(t)) return n;
|
|
2054
|
+
}
|
|
2055
|
+
function Ue(e) {
|
|
2056
|
+
return !!(e && typeof e == `object` && typeof e.data == `string`);
|
|
2057
|
+
}
|
|
2058
|
+
function We(t, n, r) {
|
|
2059
|
+
let i$9 = He(n), a = false;
|
|
2060
|
+
if (i$9) try {
|
|
2061
|
+
let e = i$9(r, t);
|
|
2062
|
+
if (e != null) return e;
|
|
2063
|
+
} catch (t) {
|
|
2064
|
+
i().warn(`Failed to decode Rhino type ${n}:`, t), a = true;
|
|
2065
|
+
}
|
|
2066
|
+
try {
|
|
2067
|
+
if (Ue(t)) return r.CommonObject.decode(t);
|
|
2068
|
+
} catch (r) {
|
|
2069
|
+
return i().warn(`Failed to decode ${n} with CommonObject:`, r), Be(n, t);
|
|
2070
|
+
}
|
|
2071
|
+
return a ? Be(n, t) : t;
|
|
2072
|
+
}
|
|
2073
|
+
var J = {
|
|
2074
|
+
STRING: `System.String`,
|
|
2075
|
+
INT: `System.Int32`,
|
|
2076
|
+
DOUBLE: `System.Double`,
|
|
2077
|
+
BOOL: `System.Boolean`
|
|
2078
|
+
};
|
|
2079
|
+
var Ge = `FileData`;
|
|
2080
|
+
function Ke(e, t) {
|
|
2081
|
+
return e.includes(`WebDisplay`) || t && e !== J.STRING;
|
|
2082
|
+
}
|
|
2083
|
+
function qe(e) {
|
|
2084
|
+
if (typeof e != `string`) return e;
|
|
2085
|
+
let t = e.trim();
|
|
2086
|
+
if (!(t.startsWith(`{`) || t.startsWith(`[`) || t.startsWith(`"`))) return e;
|
|
2087
|
+
try {
|
|
2088
|
+
let e = JSON.parse(t);
|
|
2089
|
+
if (typeof e == `string`) try {
|
|
2090
|
+
return JSON.parse(e);
|
|
2091
|
+
} catch {
|
|
2092
|
+
return e;
|
|
2093
|
+
}
|
|
2094
|
+
return e;
|
|
2095
|
+
} catch {
|
|
2096
|
+
return e;
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
function Je(e, t, n) {
|
|
2100
|
+
switch (t) {
|
|
2101
|
+
case J.STRING: return typeof e == `string` ? e.replace(/^"(.*)"$/, `$1`) : e;
|
|
2102
|
+
case J.INT: return Number.parseInt(String(e), 10);
|
|
2103
|
+
case J.DOUBLE: return Number.parseFloat(String(e));
|
|
2104
|
+
case J.BOOL: return String(e).toLowerCase() === `true`;
|
|
2105
|
+
default: return n && t.startsWith(`Rhino.Geometry.`) ? We(e, t, n) : e;
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2108
|
+
function Y(e, t, n, r) {
|
|
2109
|
+
if (typeof e.data != `string`) return e.data;
|
|
2110
|
+
let i = n ? qe(e.data) : e.data;
|
|
2111
|
+
return n && t.includes(Ge) ? Ye(i) ?? i : Je(i, t, r);
|
|
2112
|
+
}
|
|
2113
|
+
function Ye(e) {
|
|
2114
|
+
if (!e || typeof e != `object`) return null;
|
|
2115
|
+
let t = c(e, `fileName`), n = c(e, `fileType`), r = c(e, `subFolder`), a = c(e, `isBase64Encoded`);
|
|
2116
|
+
if (typeof t != `string` || typeof n != `string` || typeof r != `string` || !l(e, `data`) || typeof a != `boolean` && typeof a != `string`) return null;
|
|
2117
|
+
let o = c(e, `metadata`);
|
|
2118
|
+
return {
|
|
2119
|
+
fileName: t,
|
|
2120
|
+
fileType: n,
|
|
2121
|
+
data: c(e, `data`),
|
|
2122
|
+
isBase64Encoded: $$1(a),
|
|
2123
|
+
subFolder: r,
|
|
2124
|
+
...o ? { metadata: o } : {}
|
|
2125
|
+
};
|
|
2126
|
+
}
|
|
2127
|
+
function X(e) {
|
|
2128
|
+
let t = c(e, `values`);
|
|
2129
|
+
return Array.isArray(t) ? t : [];
|
|
2130
|
+
}
|
|
2131
|
+
function Z(e) {
|
|
2132
|
+
return typeof e.type == `string` ? e.type : ``;
|
|
2133
|
+
}
|
|
2134
|
+
function Q(e, t) {
|
|
2135
|
+
if (e && typeof e == `object`) {
|
|
2136
|
+
for (let n of Object.values(e)) if (Array.isArray(n)) for (let e of n) e && typeof e == `object` && t(e);
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2139
|
+
function Xe(e, t = false, n = {}) {
|
|
2140
|
+
let { parseValues: r = true, rhino: i, stringOnly: a = false } = n, o = {}, s = /* @__PURE__ */ new Set();
|
|
2141
|
+
for (let n of X(e)) {
|
|
2142
|
+
let e = c(n, `paramName`);
|
|
2143
|
+
Q(c(n, `innerTree`), (n) => {
|
|
2144
|
+
let c = Z(n);
|
|
2145
|
+
if (Ke(c, a)) return;
|
|
2146
|
+
let l = t ? n.id : e;
|
|
2147
|
+
if (!l) return;
|
|
2148
|
+
let u = Y(n, c, r, i);
|
|
2149
|
+
l in o ? s.has(l) ? o[l].push(u) : (o[l] = [o[l], u], s.add(l)) : o[l] = u;
|
|
2150
|
+
});
|
|
2151
|
+
}
|
|
2152
|
+
return {
|
|
2153
|
+
values: o,
|
|
2154
|
+
dispose: () => Ve(o)
|
|
2155
|
+
};
|
|
2156
|
+
}
|
|
2157
|
+
function Ze(e) {
|
|
2158
|
+
let t = [];
|
|
2159
|
+
for (let n of X(e)) Q(c(n, `innerTree`), (e) => {
|
|
2160
|
+
if (!Z(e).includes(Ge)) return;
|
|
2161
|
+
let n = Ye(qe(e.data));
|
|
2162
|
+
n && t.push(n);
|
|
2163
|
+
});
|
|
2164
|
+
return t;
|
|
2165
|
+
}
|
|
2166
|
+
function Qe(e, t, n = {}) {
|
|
2167
|
+
let { parseValues: r = true, rhino: i, stringOnly: a = false } = n;
|
|
2168
|
+
for (let n of X(e)) {
|
|
2169
|
+
let e = c(n, `innerTree`), o = false;
|
|
2170
|
+
if (`byName` in t) {
|
|
2171
|
+
if (c(n, `paramName`) !== t.byName) continue;
|
|
2172
|
+
o = true;
|
|
2173
|
+
}
|
|
2174
|
+
let s = [];
|
|
2175
|
+
if (Q(e, (e) => {
|
|
2176
|
+
if (`byId` in t) {
|
|
2177
|
+
if (e.id !== t.byId) return;
|
|
2178
|
+
o = true;
|
|
2179
|
+
}
|
|
2180
|
+
let n = Z(e);
|
|
2181
|
+
Ke(n, a) || s.push(Y(e, n, r, i));
|
|
2182
|
+
}), o) return s.length === 0 ? void 0 : s.length === 1 ? s[0] : s;
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
var $e = class {
|
|
2186
|
+
response;
|
|
2187
|
+
constructor(e) {
|
|
2188
|
+
this.response = e;
|
|
2189
|
+
}
|
|
2190
|
+
getValues(e = false, t = {}) {
|
|
2191
|
+
return Xe(this.response, e, t);
|
|
2192
|
+
}
|
|
2193
|
+
getValue(e, t) {
|
|
2194
|
+
return Qe(this.response, e, t);
|
|
2195
|
+
}
|
|
2196
|
+
async getAndDownloadFiles(e, t) {
|
|
2197
|
+
await Z$1(Ze(this.response), e, t);
|
|
2198
|
+
}
|
|
2199
|
+
};
|
|
2200
|
+
function et(e) {
|
|
2201
|
+
return (Array.isArray(e) ? e : [e]).map((e) => ({
|
|
2202
|
+
schemas: c(e, `schemas`),
|
|
2203
|
+
error: c(e, `error`)
|
|
2204
|
+
}));
|
|
2205
|
+
}
|
|
2206
|
+
var tt = /* @__PURE__ */ new Set([
|
|
2207
|
+
`options`,
|
|
2208
|
+
`defaultOptions`,
|
|
2209
|
+
`values`
|
|
2210
|
+
]);
|
|
2211
|
+
var nt = (e) => e >= `A` && e <= `Z`;
|
|
2212
|
+
function rt(e) {
|
|
2213
|
+
if (e.length === 0 || !nt(e[0])) return e;
|
|
2214
|
+
let t = 0;
|
|
2215
|
+
for (; t < e.length && nt(e[t]);) t++;
|
|
2216
|
+
return t > 1 && t < e.length && t--, e.slice(0, t).toLowerCase() + e.slice(t);
|
|
2217
|
+
}
|
|
2218
|
+
function it(e) {
|
|
2219
|
+
return $(e);
|
|
2220
|
+
}
|
|
2221
|
+
function $(e) {
|
|
2222
|
+
if (Array.isArray(e)) return e.map($);
|
|
2223
|
+
if (typeof e != `object` || !e) return e;
|
|
2224
|
+
let t = {};
|
|
2225
|
+
for (let [n, r] of Object.entries(e)) {
|
|
2226
|
+
let e = rt(n);
|
|
2227
|
+
t[e] = tt.has(e) ? r : $(r);
|
|
2228
|
+
}
|
|
2229
|
+
return t;
|
|
2230
|
+
}
|
|
2231
|
+
var at = class r {
|
|
2232
|
+
innerTree;
|
|
2233
|
+
paramName;
|
|
2234
|
+
constructor(e) {
|
|
2235
|
+
this.paramName = e, this.innerTree = {};
|
|
2236
|
+
}
|
|
2237
|
+
append(e, t) {
|
|
2238
|
+
let n = r.formatPathString(e);
|
|
2239
|
+
this.innerTree[n] || (this.innerTree[n] = []);
|
|
2240
|
+
let i = t.map((e) => ({ data: r.serializeValue(e) }));
|
|
2241
|
+
return this.innerTree[n].push(...i), this;
|
|
2242
|
+
}
|
|
2243
|
+
fromDataTreeDefault(e) {
|
|
2244
|
+
this.innerTree = {};
|
|
2245
|
+
for (let [t, n] of Object.entries(e)) {
|
|
2246
|
+
if (!Array.isArray(n)) continue;
|
|
2247
|
+
let e = r.parsePathString(t);
|
|
2248
|
+
this.append(e, n);
|
|
2249
|
+
}
|
|
2250
|
+
return this;
|
|
2251
|
+
}
|
|
2252
|
+
appendFlat(e) {
|
|
2253
|
+
let t = Array.isArray(e) ? e : [e];
|
|
2254
|
+
return this.append([0], t);
|
|
2255
|
+
}
|
|
2256
|
+
flatten() {
|
|
2257
|
+
let e = [];
|
|
2258
|
+
for (let t of Object.values(this.innerTree)) if (Array.isArray(t)) for (let n of t) e.push(r.deserializeValue(n.data));
|
|
2259
|
+
return e;
|
|
2260
|
+
}
|
|
2261
|
+
toComputeFormat() {
|
|
2262
|
+
return {
|
|
2263
|
+
ParamName: this.paramName,
|
|
2264
|
+
InnerTree: this.innerTree
|
|
2265
|
+
};
|
|
2266
|
+
}
|
|
2267
|
+
getParamName() {
|
|
2268
|
+
return this.paramName;
|
|
2269
|
+
}
|
|
2270
|
+
static fromInputParams(e) {
|
|
2271
|
+
return r.fromValues(e.map((e) => ({
|
|
2272
|
+
paramName: e.nickname || `unnamed`,
|
|
2273
|
+
paramType: e.paramType,
|
|
2274
|
+
value: e.default,
|
|
2275
|
+
...`minimum` in e && {
|
|
2276
|
+
minimum: e.minimum,
|
|
2277
|
+
maximum: e.maximum
|
|
2278
|
+
}
|
|
2279
|
+
})));
|
|
2280
|
+
}
|
|
2281
|
+
static fromValues(t) {
|
|
2282
|
+
let n = [];
|
|
2283
|
+
for (let i$10 of t) {
|
|
2284
|
+
let t = new r(i$10.paramName), a = r.itemCoercer(i$10);
|
|
2285
|
+
for (let [n, o] of r.branchesOf(i$10.value)) {
|
|
2286
|
+
let r = [];
|
|
2287
|
+
for (let t of o) {
|
|
2288
|
+
if (t == null) continue;
|
|
2289
|
+
let n = a(t);
|
|
2290
|
+
n === null ? i().warn(`${i$10.paramName}: dropped an item that is not a valid ${i$10.paramType}`) : r.push(n);
|
|
2291
|
+
}
|
|
2292
|
+
r.length > 0 && t.append(n, r);
|
|
2293
|
+
}
|
|
2294
|
+
Object.keys(t.innerTree).length > 0 && n.push(t.toComputeFormat());
|
|
2295
|
+
}
|
|
2296
|
+
return n;
|
|
2297
|
+
}
|
|
2298
|
+
static branchesOf(e) {
|
|
2299
|
+
return r.hasValidValue(e) ? w(e) ? Object.entries(e).map(([e, t]) => [r.parsePathString(e), t]) : [[[0], Array.isArray(e) ? e : [e]]] : [];
|
|
2300
|
+
}
|
|
2301
|
+
static itemCoercer(e) {
|
|
2302
|
+
let { paramName: t, minimum: n, maximum: i } = e, a = e.paramType.toLowerCase();
|
|
2303
|
+
return a === `number` || a === `integer` ? (e) => {
|
|
2304
|
+
let o = E(e);
|
|
2305
|
+
if (o === null) return null;
|
|
2306
|
+
let s = a === `integer` ? Math.round(o) : o;
|
|
2307
|
+
return r.clampValue(s, n, i, t);
|
|
2308
|
+
} : a === `boolean` ? D : (e) => e;
|
|
2309
|
+
}
|
|
2310
|
+
static replaceTreeValue(e, t, n) {
|
|
2311
|
+
let i = r.buildFromValue(t, n).toComputeFormat(), a = e.slice(), o = a.findIndex((e) => r.paramNameOf(e) === t);
|
|
2312
|
+
return o === -1 ? a.push(i) : a[o] = i, a;
|
|
2313
|
+
}
|
|
2314
|
+
static buildFromValue(e, t) {
|
|
2315
|
+
let n = new r(e);
|
|
2316
|
+
return w(t) ? n.fromDataTreeDefault(t) : n.appendFlat(t), n;
|
|
2317
|
+
}
|
|
2318
|
+
static getTree(e, t) {
|
|
2319
|
+
let n = e.find((e) => r.paramNameOf(e) === t);
|
|
2320
|
+
if (!n) return null;
|
|
2321
|
+
let i = /* @__PURE__ */ new Map(), a = c(n, `InnerTree`);
|
|
2322
|
+
if (!a || typeof a != `object`) return i;
|
|
2323
|
+
for (let [e, t] of Object.entries(a)) Array.isArray(t) && i.set(e, t.map((e) => e?.data === void 0 ? null : r.deserializeValue(e.data)));
|
|
2324
|
+
return i;
|
|
2325
|
+
}
|
|
2326
|
+
static getTreeValue(e$17, i) {
|
|
2327
|
+
let a = r.getTree(e$17, i);
|
|
2328
|
+
if (!a || a.size === 0) return null;
|
|
2329
|
+
if (a.size > 1) throw new t(`"${i}" has ${a.size} branches; read it with TreeBuilder.getTree`, e.INVALID_INPUT, { context: {
|
|
2330
|
+
paramName: i,
|
|
2331
|
+
branchCount: a.size
|
|
2332
|
+
} });
|
|
2333
|
+
let [o] = a.values();
|
|
2334
|
+
return o.length === 0 ? null : o.length === 1 ? o[0] : o;
|
|
2335
|
+
}
|
|
2336
|
+
static paramNameOf(e) {
|
|
2337
|
+
return c(e, `ParamName`);
|
|
2338
|
+
}
|
|
2339
|
+
static parsePathString(e$18) {
|
|
2340
|
+
let r = e$18.match(C);
|
|
2341
|
+
if (!r) throw new t(`Invalid Grasshopper tree path: "${e$18}". Expected "{}", "{0}", or "{0;1;2}" (negative indices allowed, no empty segments).`, e.INVALID_INPUT, { context: { pathStr: e$18 } });
|
|
2342
|
+
return r[1] ? r[1].split(`;`).map(Number) : [];
|
|
2343
|
+
}
|
|
2344
|
+
static formatPathString(e) {
|
|
2345
|
+
return `{${e.join(`;`)}}`;
|
|
2346
|
+
}
|
|
2347
|
+
static serializeValue(e) {
|
|
2348
|
+
return typeof e == `boolean` || typeof e == `number` || typeof e == `string` ? e : typeof e == `object` && e ? JSON.stringify(e) : String(e);
|
|
2349
|
+
}
|
|
2350
|
+
static deserializeValue(e) {
|
|
2351
|
+
if (typeof e != `string`) return e;
|
|
2352
|
+
if (e.startsWith(`{`) || e.startsWith(`[`)) try {
|
|
2353
|
+
return JSON.parse(e);
|
|
2354
|
+
} catch {
|
|
2355
|
+
return e;
|
|
2356
|
+
}
|
|
2357
|
+
let t = Number(e);
|
|
2358
|
+
return Number.isFinite(t) && String(t) === e ? t : e === `true` || e !== `false` && e;
|
|
2359
|
+
}
|
|
2360
|
+
static hasValidValue(e) {
|
|
2361
|
+
return e == null ? false : typeof e == `string` || !(Array.isArray(e) && e.length === 0 || typeof e == `object` && !Array.isArray(e) && Object.keys(e).length === 0);
|
|
2362
|
+
}
|
|
2363
|
+
static clampValue(t, n, r, i$11) {
|
|
2364
|
+
let a = t;
|
|
2365
|
+
return n != null && a < n && (i().warn(`${i$11}: ${t} below min ${n}, clamping`), a = n), r != null && a > r && (i().warn(`${i$11}: ${t} above max ${r}, clamping`), a = r), a;
|
|
2366
|
+
}
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
export { $e as $, H, J$1 as J, Re as R, T$1 as T, o as a, at as b, e as c, de$1 as d, et as e, it as i, oe$1 as o, t, v, x$1 as x };
|
|
2370
|
+
//# sourceMappingURL=grasshopper.js-Bz6Gi1KD.js.map
|