@powerhousedao/connect 1.0.13-dev.1 → 1.0.13-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/assets/{app-BcrfA7NL.js → app-cYxnhjWz.js} +129 -112
  2. package/dist/assets/{app-loader-y3E3d8jm.js → app-loader-4R-5hlk-.js} +202 -202
  3. package/dist/assets/{ccip-Cho1xP6I.js → ccip-gqK69vtC.js} +3 -3
  4. package/dist/assets/{content-Bzwen2cu.js → content-DiUhi0x8.js} +3 -3
  5. package/dist/assets/external-packages-nwfrlbiu.js +4 -0
  6. package/dist/assets/{index-BlcxLfxw.js → index-BPpshHLs.js} +3 -3
  7. package/dist/assets/{index-CtLR9EzT.js → index-DWNNVdQX.js} +60 -60
  8. package/dist/assets/{index-UcjYMbG3.js → index-DxaJ249Z.js} +3 -3
  9. package/dist/assets/{main.CJeNNRYZ.js → main.B5ZchGpe.js} +1 -1
  10. package/dist/external-packages.js +0 -4
  11. package/dist/index.html +1 -1
  12. package/dist/modules/@powerhousedao/reactor-browser/{chunk-SJYGEYNL.js → chunk-HJFVYPII.js} +1 -1
  13. package/dist/modules/@powerhousedao/reactor-browser/{chunk-2GQV5NL6.js → chunk-IME4ZUL6.js} +7 -7
  14. package/dist/modules/@powerhousedao/reactor-browser/{chunk-T5LUZMLP.js → chunk-MLHWWUYZ.js} +1 -1
  15. package/dist/modules/@powerhousedao/reactor-browser/{chunk-JBIHRE7L.js → chunk-QGLDHTUZ.js} +1 -1
  16. package/dist/modules/@powerhousedao/reactor-browser/{chunk-JCLMFPZP.js → chunk-SJR6F726.js} +1 -1
  17. package/dist/modules/@powerhousedao/reactor-browser/context/index.js +2 -2
  18. package/dist/modules/@powerhousedao/reactor-browser/context/read-mode.js +2 -2
  19. package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +3 -3
  20. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActions.js +2 -2
  21. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes.js +3 -3
  22. package/dist/modules/@powerhousedao/reactor-browser/index.js +5 -5
  23. package/dist/modules/@powerhousedao/reactor-browser/reactor.js +2 -2
  24. package/dist/vite-envs.sh +1 -1
  25. package/nginx.conf +7 -0
  26. package/package.json +9 -9
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-Cho1xP6I.js","assets/main.CJeNNRYZ.js","assets/app-loader-y3E3d8jm.js","assets/app-loader-Br74gdhw.css","assets/index-BlcxLfxw.js","assets/style-Ce3V83BE.css","assets/index-CtLR9EzT.js","assets/content-Bzwen2cu.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-gqK69vtC.js","assets/main.B5ZchGpe.js","assets/app-loader-4R-5hlk-.js","assets/app-loader-Br74gdhw.css","assets/index-BPpshHLs.js","assets/style-Ce3V83BE.css","assets/index-DWNNVdQX.js","assets/content-DiUhi0x8.js"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -19,9 +19,9 @@ var __privateWrapper = (obj, member, setter, getter) => ({
19
19
  }
20
20
  });
21
21
  var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _Query_instances, dispatch_fn, _d, _queries, _e2, _observers, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _scopes, _mutationId, _g, _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client2, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _i;
22
- import { _ as __vitePreload } from "./main.CJeNNRYZ.js";
22
+ import { _ as __vitePreload } from "./main.B5ZchGpe.js";
23
23
  import { jsx as jsx$1, Fragment, jsxs } from "react/jsx-runtime";
24
- import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-y3E3d8jm.js";
24
+ import { az as createAction, aA as createReducer, aB as isDocumentAction, aC as ReorderStateExamplesInputSchema, aD as DeleteStateExampleInputSchema, aE as UpdateStateExampleInputSchema, aF as AddStateExampleInputSchema, aG as SetInitialStateInputSchema, aH as SetStateSchemaInputSchema, aI as ReorderModuleOperationsInputSchema, aJ as DeleteOperationInputSchema, aK as MoveOperationInputSchema, aL as SetOperationReducerInputSchema, aM as SetOperationTemplateInputSchema, aN as SetOperationDescriptionInputSchema, aO as SetOperationSchemaInputSchema, aP as SetOperationScopeInputSchema, aQ as SetOperationNameInputSchema, aR as AddOperationInputSchema, aS as ReorderOperationExamplesInputSchema, aT as DeleteOperationExampleInputSchema, aU as UpdateOperationExampleInputSchema, aV as AddOperationExampleInputSchema, aW as ReorderOperationErrorsInputSchema, aX as DeleteOperationErrorInputSchema, aY as SetOperationErrorTemplateInputSchema, aZ as SetOperationErrorDescriptionInputSchema, a_ as SetOperationErrorNameInputSchema, a$ as SetOperationErrorCodeInputSchema, b0 as AddOperationErrorInputSchema, b1 as ReorderModulesInputSchema, b2 as DeleteModuleInputSchema, b3 as SetModuleDescriptionInputSchema, b4 as SetModuleNameInputSchema, b5 as AddModuleInputSchema, b6 as ReorderChangeLogItemsInputSchema, b7 as DeleteChangeLogItemInputSchema, b8 as UpdateChangeLogItemInputSchema, b9 as AddChangeLogItemInputSchema, ba as SetAuthorWebsiteInputSchema, bb as SetAuthorNameInputSchema, bc as SetModelDescriptionInputSchema, bd as SetModelExtensionInputSchema, be as SetModelIdInputSchema, bf as SetModelNameInputSchema, bg as baseCreateExtendedState, bh as baseCreateDocument, bi as baseSaveToFile, bj as baseSaveToFileHandle, bk as baseLoadFromFile, bl as baseLoadFromInput, P as pascalCase, I as Icon, a as getDefaultExportFromCjs, bm as LOCAL, bn as commonjsGlobal, bo as PUBLIC, bp as SWITCHBOARD, bq as locationInfoByLocation, br as sharingTypeOptions, bs as objectType, bt as recordType, bu as stringType, bv as capitalCase, bw as CLOUD, bx as createZip, l as logger$1, by as LZString, bz as buildSignedOperation, bA as getI18n, bB as getDefaults, c as connectConfig, bC as hashDocumentStateForScope, bD as setErrorHandler, o as driveDocumentModelModule, bE as createBrowserDocumentDriveServer, ay as hashKey$1, bF as childLogger, bG as reducer$8, bH as isDocumentDrive, bI as generateAddNodeAction, bJ as isFileNode, bK as uploadDocumentOperations, bL as updateFile, bM as addFolder, bN as isFolderNode, bO as deleteNode, bP as updateNode, F as FILE, bQ as moveNode, bR as generateNodesCopy, bS as copyNode, bT as createState$1, bU as setDriveName, bV as setAvailableOffline, bW as setSharingType, bX as SynchronizationUnitNotFoundError, bY as removeTrigger, bZ as generateUUID, b_ as PullResponderTransmitter, b$ as addTrigger, c0 as ReadDriveNotFoundError, c1 as openUrl, c2 as getNodeOptions, j as DRIVE, m as FOLDER, c3 as requestPublicDrive, c4 as serviceWorkerManager, c5 as packageJson, c6 as t$1, c7 as gql, c8 as request } from "./app-loader-4R-5hlk-.js";
25
25
  import * as React from "react";
26
26
  import React__default, { useLayoutEffect, useEffect, useState, forwardRef, useRef, useCallback, useContext, useMemo, createContext, Component, Fragment as Fragment$1, createElement, useSyncExternalStore, useId as useId$1, isValidElement, cloneElement, Children, useReducer, useDebugValue, Suspense } from "react";
27
27
  import "@powerhousedao/reactor-browser";
@@ -20574,7 +20574,7 @@ async function call(client2, args) {
20574
20574
  } catch (err) {
20575
20575
  const data2 = getRevertErrorData(err);
20576
20576
  const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
20577
- const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-Cho1xP6I.js");
20577
+ const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-gqK69vtC.js");
20578
20578
  return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
20579
20579
  }, true ? __vite__mapDeps([0,1,2,3]) : void 0);
20580
20580
  if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
@@ -36400,7 +36400,7 @@ function getDefaultOptions(type) {
36400
36400
  }
36401
36401
  return { type };
36402
36402
  }
36403
- function toast(content, options2) {
36403
+ function toast$1(content, options2) {
36404
36404
  const { type = "default", ...restOptions } = options2 || {};
36405
36405
  const defaultOptions2 = getDefaultOptions(type);
36406
36406
  return B(content, { ...defaultOptions2, ...restOptions });
@@ -71540,7 +71540,7 @@ const RENOWN_URL = window.__VITE_ENVS.PH_CONNECT_RENOWN_URL || "https://www.reno
71540
71540
  const RENOWN_NETWORK_ID = window.__VITE_ENVS.PH_CONNECT_RENOWN_NETWORK_ID || "eip155";
71541
71541
  const RENOWN_CHAIN_ID = window.__VITE_ENVS.PH_CONNECT_RENOWN_CHAIN_ID || "1";
71542
71542
  function loadExternalPackages() {
71543
- return __vitePreload(() => import("../external-packages.js"), true ? [] : void 0).catch((e2) => console.error(e2)).then((module) => (module == null ? void 0 : module.default) ?? []);
71543
+ return __vitePreload(() => import("./external-packages-nwfrlbiu.js"), true ? [] : void 0).catch((e2) => console.error(e2)).then((module) => (module == null ? void 0 : module.default) ?? []);
71544
71544
  }
71545
71545
  const hmrAvailableAtom = atom(async () => {
71546
71546
  const module = await getHMRModule();
@@ -71667,7 +71667,7 @@ const useFilteredDocumentModels = () => {
71667
71667
  return filteredDocumentModels;
71668
71668
  };
71669
71669
  async function loadBaseEditors() {
71670
- const documentModelEditor = await __vitePreload(() => import("./index-BlcxLfxw.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
71670
+ const documentModelEditor = await __vitePreload(() => import("./index-BPpshHLs.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
71671
71671
  await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
71672
71672
  const module = documentModelEditor.documentModelEditorModule;
71673
71673
  return [module];
@@ -71818,11 +71818,11 @@ const connectCrypto = (async () => {
71818
71818
  return window.connectCrypto;
71819
71819
  }
71820
71820
  const { ConnectCrypto } = await __vitePreload(async () => {
71821
- const { ConnectCrypto: ConnectCrypto2 } = await import("./index-CtLR9EzT.js");
71821
+ const { ConnectCrypto: ConnectCrypto2 } = await import("./index-DWNNVdQX.js");
71822
71822
  return { ConnectCrypto: ConnectCrypto2 };
71823
71823
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
71824
71824
  const { BrowserKeyStorage } = await __vitePreload(async () => {
71825
- const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-CtLR9EzT.js");
71825
+ const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-DWNNVdQX.js");
71826
71826
  return { BrowserKeyStorage: BrowserKeyStorage2 };
71827
71827
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
71828
71828
  const connectCrypto2 = new ConnectCrypto(new BrowserKeyStorage());
@@ -71871,7 +71871,7 @@ function useRenown() {
71871
71871
  return;
71872
71872
  }
71873
71873
  const { initRenownBrowser } = await __vitePreload(async () => {
71874
- const { initRenownBrowser: initRenownBrowser2 } = await import("./index-CtLR9EzT.js");
71874
+ const { initRenownBrowser: initRenownBrowser2 } = await import("./index-DWNNVdQX.js");
71875
71875
  return { initRenownBrowser: initRenownBrowser2 };
71876
71876
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
71877
71877
  const renownBrowser = initRenownBrowser(did2);
@@ -73246,6 +73246,15 @@ const RootProvider = ({ children }) => {
73246
73246
  useInitSenty();
73247
73247
  return children;
73248
73248
  };
73249
+ const CONNECT_TOAST_CONTAINER_ID = "connect";
73250
+ function toast(content, options2) {
73251
+ const {
73252
+ type = "default",
73253
+ containerId = CONNECT_TOAST_CONTAINER_ID,
73254
+ ...restOptions
73255
+ } = options2 || {};
73256
+ return toast$1(content, { type, containerId, ...restOptions });
73257
+ }
73249
73258
  const useOpenSwitchboardLink = (driveId) => {
73250
73259
  const { isRemoteDrive, remoteUrl } = useDocumentDriveById(driveId);
73251
73260
  return async (uiNode) => {
@@ -79754,7 +79763,7 @@ const CookieBanner = () => {
79754
79763
  };
79755
79764
  const SvgAtlasLogomark = (props) => /* @__PURE__ */ React.createElement("svg", { width: 28, height: 32, viewBox: "0 0 28 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.05092 23.7286L0.000163347 23.9993L0 23.9995L0.207853 24.067L27.6823 24.067L27.9995 23.9995L27.9161 23.6913L14.2182 0.209032L13.9998 0L13.749 0.246353L0.05092 23.7286ZM20.9994 11.9999L7.0003 11.9999L13.9998 23.999L20.9994 11.9999Z", fill: "url(#paint0_radial_319_20865)" }), /* @__PURE__ */ React.createElement("path", { d: "M14 0L0 23.9998V7.99993L14 0Z", fill: "url(#paint1_linear_319_20865)" }), /* @__PURE__ */ React.createElement("path", { d: "M28 24L7.82013e-05 24L14 31.9999L28 24Z", fill: "url(#paint2_linear_319_20865)" }), /* @__PURE__ */ React.createElement("path", { d: "M14 0L28 23.9998V7.99993L14 0Z", fill: "url(#paint3_linear_319_20865)" }), /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("radialGradient", { id: "paint0_radial_319_20865", cx: 0, cy: 0, r: 1, gradientUnits: "userSpaceOnUse", gradientTransform: "translate(13.9994 16.0344) rotate(-89.9988) scale(16.0344 16.201)" }, /* @__PURE__ */ React.createElement("stop", { offset: 0.181008, stopColor: "#FFCD6B" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#EB5EDF" })), /* @__PURE__ */ React.createElement("linearGradient", { id: "paint1_linear_319_20865", x1: -0.031454, y1: 24.041, x2: 13.801, y2: -0.142908, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("stop", { stopColor: "#4331E9" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#A273FF" })), /* @__PURE__ */ React.createElement("linearGradient", { id: "paint2_linear_319_20865", x1: -0.0310093, y1: 24, x2: 28.0444, y2: 24, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("stop", { stopColor: "#A273FF" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#4331E9" })), /* @__PURE__ */ React.createElement("linearGradient", { id: "paint3_linear_319_20865", x1: 28.0315, y1: 24.041, x2: 14.199, y2: -0.142908, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React.createElement("stop", { stopColor: "#A273FF" }), /* @__PURE__ */ React.createElement("stop", { offset: 1, stopColor: "#4331E9" }))));
79756
79765
  const SvgRefresh = (props) => /* @__PURE__ */ React.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M15.6867 8.03333C15.4933 7.83999 15.1733 7.83999 14.98 8.03333L14.6733 8.34001V8C14.6733 4.32 11.68 1.32666 7.99999 1.32666C5.96666 1.32666 4.06666 2.23999 2.79333 3.82666C2.61999 4.03999 2.65332 4.35999 2.87332 4.52665C3.08666 4.69999 3.40666 4.66666 3.57332 4.44666C4.65999 3.09332 6.27332 2.31999 7.99999 2.31999C11.1267 2.31999 13.6733 4.86666 13.6733 7.99333V8.32666L13.3667 8.02002C13.1733 7.82669 12.8533 7.82669 12.66 8.02002C12.4667 8.21335 12.4667 8.53335 12.66 8.72668L13.82 9.88668C13.8667 9.93334 13.92 9.96666 13.98 9.99333C14.04 10.02 14.1067 10.0333 14.1733 10.0333C14.24 10.0333 14.3 10.02 14.3667 9.99333C14.4267 9.96666 14.48 9.93334 14.5267 9.88668L15.6867 8.72668C15.88 8.54668 15.88 8.22666 15.6867 8.03333Z", fill: "#6C7275" }), /* @__PURE__ */ React.createElement("path", { d: "M13.1267 11.4666C12.9133 11.2933 12.5933 11.3266 12.4267 11.5466C11.34 12.9 9.72665 13.6733 7.99998 13.6733C4.87332 13.6733 2.32665 11.1266 2.32665 7.99996V7.66663L2.63332 7.97331C2.73332 8.07331 2.85999 8.11996 2.98665 8.11996C3.11332 8.11996 3.23999 8.07331 3.33999 7.97331C3.53332 7.77998 3.53332 7.45998 3.33999 7.26664L2.17998 6.10661C2.13332 6.05994 2.07998 6.02663 2.01998 5.99996C1.89998 5.94663 1.75998 5.94663 1.63998 5.99996C1.57998 6.02663 1.52665 6.05994 1.47999 6.10661L0.319988 7.26664C0.126654 7.45998 0.126654 7.77998 0.319988 7.97331C0.513321 8.16664 0.833319 8.16664 1.02665 7.97331L1.33332 7.66663V7.99996C1.33332 11.68 4.32665 14.6733 8.00665 14.6733C10.04 14.6733 11.94 13.76 13.2133 12.1733C13.38 11.96 13.3467 11.64 13.1267 11.4666Z", fill: "#6C7275" }));
79757
- const REACTOR_URL = "https://apps.powerhouse.io/sky-atlas/switchboard/";
79766
+ const REACTOR_URL = "https://apps.powerhouse.io/sky-atlas/staging/switchboard";
79758
79767
  const MIN_LOADING_TIME = 2e3;
79759
79768
  function useReactorUrl() {
79760
79769
  const { search } = useLocation();
@@ -79770,7 +79779,7 @@ async function forkAtlas(docId, reactorUrl) {
79770
79779
  ForkAtlas(docId: $docId)
79771
79780
  }
79772
79781
  `;
79773
- return await request(`${reactorUrl}fork`, document2, { docId });
79782
+ return await request(`${reactorUrl}graphql`, document2, { docId });
79774
79783
  }
79775
79784
  function AtlasImport() {
79776
79785
  const status = useRef("initial");
@@ -80222,7 +80231,7 @@ function Home() {
80222
80231
  /* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
80223
80232
  ] });
80224
80233
  }
80225
- const Content = React__default.lazy(() => __vitePreload(() => import("./content-Bzwen2cu.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
80234
+ const Content = React__default.lazy(() => __vitePreload(() => import("./content-DiUhi0x8.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
80226
80235
  async function createRouter(routes) {
80227
80236
  var _a2;
80228
80237
  const isPackaged = await ((_a2 = window.electronAPI) == null ? void 0 : _a2.isPackaged());
@@ -80296,120 +80305,128 @@ const Preloader = () => {
80296
80305
  };
80297
80306
  const App = () => /* @__PURE__ */ jsx$1(React__default.StrictMode, { children: /* @__PURE__ */ jsx$1(Suspense, { fallback: /* @__PURE__ */ jsx$1(Fragment, {}), children: /* @__PURE__ */ jsxs(Provider, { store: atomStore, children: [
80298
80307
  /* @__PURE__ */ jsx$1(Preloader, {}),
80299
- /* @__PURE__ */ jsx$1(WagmiContext, { children: /* @__PURE__ */ jsx$1(RootProvider, { children: /* @__PURE__ */ jsx$1(ReadModeContextProvider, { children: /* @__PURE__ */ jsxs(UiNodesContextProvider, { children: [
80300
- /* @__PURE__ */ jsx$1(ToastContainer, { position: "bottom-right" }),
80301
- /* @__PURE__ */ jsx$1(Router, {}),
80302
- /* @__PURE__ */ jsx$1(CookieBanner, {}),
80303
- /* @__PURE__ */ jsx$1(Analytics, {})
80304
- ] }) }) }) })
80308
+ /* @__PURE__ */ jsx$1(WagmiContext, { children: /* @__PURE__ */ jsx$1(RootProvider, { children: /* @__PURE__ */ jsxs(ReadModeContextProvider, { children: [
80309
+ /* @__PURE__ */ jsx$1(
80310
+ ToastContainer,
80311
+ {
80312
+ position: "bottom-right",
80313
+ containerId: "connect"
80314
+ }
80315
+ ),
80316
+ /* @__PURE__ */ jsxs(UiNodesContextProvider, { children: [
80317
+ /* @__PURE__ */ jsx$1(Router, {}),
80318
+ /* @__PURE__ */ jsx$1(CookieBanner, {}),
80319
+ /* @__PURE__ */ jsx$1(Analytics, {})
80320
+ ] })
80321
+ ] }) }) })
80305
80322
  ] }) }) });
80306
80323
  const app = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
80307
80324
  __proto__: null,
80308
80325
  default: App
80309
80326
  }, Symbol.toStringTag, { value: "Module" }));
80310
80327
  export {
80311
- DriveLayout as $,
80312
- useConnectCrypto as A,
80313
- Button$1 as B,
80328
+ exportFile as $,
80329
+ ENSAvatar as A,
80330
+ BaseError$4 as B,
80314
80331
  CONFLICT as C,
80315
- useTranslation as D,
80332
+ Root3 as D,
80316
80333
  ERROR as E,
80317
- useModal as F,
80318
- useAtomValue as G,
80319
- themeAtom as H,
80334
+ Portal as F,
80335
+ Content2 as G,
80336
+ HttpRequestError as H,
80320
80337
  INITIAL_SYNC as I,
80321
- useUser as J,
80322
- useUserPermissions as K,
80323
- useUiNodes as L,
80338
+ validateInitialState as J,
80339
+ validateStateSchemaName as K,
80340
+ validateModules as L,
80324
80341
  MISSING as M,
80325
- exportFile as N,
80326
- useGetDocumentModelModule as O,
80342
+ useUnwrappedReactor as N,
80343
+ useConnectDid as O,
80327
80344
  Provider$1 as P,
80328
- addActionContext as Q,
80345
+ useConnectCrypto as Q,
80329
80346
  RENOWN_URL as R,
80330
80347
  SUCCESS as S,
80331
80348
  Trigger$1 as T,
80332
- signOperation as U,
80333
- useDocumentDriveServer as V,
80334
- useHotkeys as W,
80335
- useGetEditor as X,
80336
- isSameDocument as Y,
80337
- useNavigate as Z,
80338
- ErrorBoundary as _,
80339
- getHMRModule as a,
80340
- SearchBar as a0,
80341
- useAsyncReactor as a1,
80342
- useFilteredDocumentModels as a2,
80343
- useDriveEditor as a3,
80344
- useDocumentDriveById as a4,
80345
- clsx as a5,
80346
- get as a6,
80347
- set as a7,
80348
- appendErrors as a8,
80349
- useFormContext as a9,
80350
- addOperationError as aA,
80351
- deleteOperationError as aB,
80352
- setOperationErrorName as aC,
80353
- BaseError$4 as aD,
80354
- getUrl as aE,
80355
- stringify$1 as aF,
80356
- decodeErrorResult as aG,
80357
- isAddressEqual as aH,
80358
- call as aI,
80359
- concat$1 as aJ,
80360
- encodeAbiParameters as aK,
80361
- HttpRequestError as aL,
80362
- isHex as aM,
80349
+ useTranslation as U,
80350
+ useModal as V,
80351
+ useAtomValue as W,
80352
+ themeAtom as X,
80353
+ useUser as Y,
80354
+ useUserPermissions as Z,
80355
+ useUiNodes as _,
80356
+ concat$1 as a,
80357
+ useGetDocumentModelModule as a0,
80358
+ addActionContext as a1,
80359
+ signOperation as a2,
80360
+ useDocumentDriveServer as a3,
80361
+ useHotkeys as a4,
80362
+ useGetEditor as a5,
80363
+ isSameDocument as a6,
80364
+ useNavigate as a7,
80365
+ ErrorBoundary as a8,
80366
+ DriveLayout as a9,
80367
+ setStateSchema as aA,
80368
+ setInitialState as aB,
80369
+ addModule as aC,
80370
+ setModuleName as aD,
80371
+ deleteModule as aE,
80372
+ addOperation as aF,
80373
+ setOperationName as aG,
80374
+ setOperationSchema as aH,
80375
+ setOperationDescription as aI,
80376
+ deleteOperation as aJ,
80377
+ addOperationError as aK,
80378
+ deleteOperationError as aL,
80379
+ setOperationErrorName as aM,
80363
80380
  app as aN,
80364
- Primitive as aa,
80365
- cva as ab,
80366
- FormProvider as ac,
80367
- Controller as ad,
80368
- Slot as ae,
80369
- useForm as af,
80370
- Root2 as ag,
80371
- List as ah,
80372
- Trigger as ai,
80373
- Content$2 as aj,
80374
- setModelName as ak,
80375
- setModelId as al,
80376
- setModelDescription as am,
80377
- setModelExtension as an,
80378
- setAuthorName as ao,
80379
- setAuthorWebsite as ap,
80380
- setStateSchema as aq,
80381
- setInitialState as ar,
80382
- addModule as as,
80383
- setModuleName as at,
80384
- deleteModule as au,
80385
- addOperation as av,
80386
- setOperationName as aw,
80387
- setOperationSchema as ax,
80388
- setOperationDescription as ay,
80389
- deleteOperation as az,
80390
- addExternalPackage as b,
80391
- RENOWN_NETWORK_ID as c,
80392
- RENOWN_CHAIN_ID as d,
80393
- eventsExports as e,
80394
- getChain as f,
80395
- getEnsInfo as g,
80396
- SYNCING as h,
80397
- ConnectDropdownMenu as i,
80398
- useEventListener as j,
80399
- useCopyToClipboard as k,
80400
- Select as l,
80401
- mergeClassNameProps as m,
80402
- ENSAvatar as n,
80403
- Root3 as o,
80404
- Portal as p,
80405
- Content2 as q,
80381
+ SearchBar as aa,
80382
+ useAsyncReactor as ab,
80383
+ useFilteredDocumentModels as ac,
80384
+ useDriveEditor as ad,
80385
+ useDocumentDriveById as ae,
80386
+ clsx as af,
80387
+ get as ag,
80388
+ set as ah,
80389
+ appendErrors as ai,
80390
+ useFormContext as aj,
80391
+ Primitive as ak,
80392
+ cva as al,
80393
+ FormProvider as am,
80394
+ Controller as an,
80395
+ Slot as ao,
80396
+ useForm as ap,
80397
+ Root2 as aq,
80398
+ List as ar,
80399
+ Trigger as as,
80400
+ Content$2 as at,
80401
+ setModelName as au,
80402
+ setModelId as av,
80403
+ setModelDescription as aw,
80404
+ setModelExtension as ax,
80405
+ setAuthorName as ay,
80406
+ setAuthorWebsite as az,
80407
+ isHex as b,
80408
+ call as c,
80409
+ decodeErrorResult as d,
80410
+ encodeAbiParameters as e,
80411
+ eventsExports as f,
80412
+ getUrl as g,
80413
+ getEnsInfo as h,
80414
+ isAddressEqual as i,
80415
+ getHMRModule as j,
80416
+ addExternalPackage as k,
80417
+ subscribeExternalPackages as l,
80418
+ RENOWN_NETWORK_ID as m,
80419
+ RENOWN_CHAIN_ID as n,
80420
+ getChain as o,
80421
+ Button$1 as p,
80422
+ mergeClassNameProps as q,
80406
80423
  removeExternalPackage as r,
80407
- subscribeExternalPackages as s,
80424
+ stringify$1 as s,
80408
80425
  twMerge as t,
80409
- useOnClickOutside as u,
80410
- validateInitialState as v,
80411
- validateStateSchemaName as w,
80412
- validateModules as x,
80413
- useUnwrappedReactor as y,
80414
- useConnectDid as z
80426
+ SYNCING as u,
80427
+ ConnectDropdownMenu as v,
80428
+ useOnClickOutside as w,
80429
+ useEventListener as x,
80430
+ useCopyToClipboard as y,
80431
+ Select as z
80415
80432
  };