@powerhousedao/connect 1.0.25-dev.4 → 1.0.25-dev.5
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/dist/assets/{app-CRmO9P_Q.js → app-DpvGvYx-.js} +49 -29
- package/dist/assets/{app-CRmO9P_Q.js.map → app-DpvGvYx-.js.map} +1 -1
- package/dist/assets/{app-loader-CtKitdaN.js → app-loader-DlmRZ8eU.js} +31 -22
- package/dist/assets/app-loader-DlmRZ8eU.js.map +1 -0
- package/dist/assets/{browser-B8WxqFi2.js → browser-CyAxFNDr.js} +4 -4
- package/dist/assets/{browser-B8WxqFi2.js.map → browser-CyAxFNDr.js.map} +1 -1
- package/dist/assets/{ccip-CS73bbHO.js → ccip-B0vnV_KE.js} +4 -4
- package/dist/assets/{ccip-CS73bbHO.js.map → ccip-B0vnV_KE.js.map} +1 -1
- package/dist/assets/{content-B9a9DnAp.js → content-BECi_eC-.js} +5 -5
- package/dist/assets/{content-B9a9DnAp.js.map → content-BECi_eC-.js.map} +1 -1
- package/dist/assets/{index-mB2H2vrd.js → index-CSdlimsY.js} +4 -4
- package/dist/assets/{index-mB2H2vrd.js.map → index-CSdlimsY.js.map} +1 -1
- package/dist/assets/{index-CmPCHu-v.js → index-DdwuDRF1.js} +4 -4
- package/dist/assets/{index-CmPCHu-v.js.map → index-DdwuDRF1.js.map} +1 -1
- package/dist/assets/{index-a0Tjk_Qp.js → index-K6dF3gGM.js} +5 -5
- package/dist/assets/{index-a0Tjk_Qp.js.map → index-K6dF3gGM.js.map} +1 -1
- package/dist/assets/{index-DB7sJATC.js → index-mvOgfrBU.js} +4 -4
- package/dist/assets/{index-DB7sJATC.js.map → index-mvOgfrBU.js.map} +1 -1
- package/dist/assets/{main.BV7j6exc.js → main.6cK_RVAD.js} +2 -2
- package/dist/assets/{main.BV7j6exc.js.map → main.6cK_RVAD.js.map} +1 -1
- package/dist/assets/{reactor-analytics-BLqDApmT.js → reactor-analytics-CPrrgnol.js} +6 -6
- package/dist/assets/{reactor-analytics-BLqDApmT.js.map → reactor-analytics-CPrrgnol.js.map} +1 -1
- package/dist/assets/{router-DbL0m4kL.js → router-Cdqw5UqJ.js} +6 -6
- package/dist/assets/{router-DbL0m4kL.js.map → router-Cdqw5UqJ.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/vite-envs.sh +1 -1
- package/package.json +6 -6
- package/dist/assets/app-loader-CtKitdaN.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-B0vnV_KE.js","assets/main.6cK_RVAD.js","assets/app-loader-DlmRZ8eU.js","assets/app-loader-b43YtazY.css","assets/index-CSdlimsY.js","assets/style-CK8AY-7U.css","assets/index-K6dF3gGM.js","assets/browser-CyAxFNDr.js","assets/router-Cdqw5UqJ.js","assets/reactor-analytics-CPrrgnol.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __typeError = (msg) => {
|
|
4
4
|
throw TypeError(msg);
|
|
@@ -18,10 +18,10 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
18
18
|
return __privateGet(obj, member, getter);
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
|
-
var _InternalTransmitter_instances, buildInternalOperationUpdate_fn, _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _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, _client, _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, _subtleCrypto, _keyPair, _keyPairStorage, _did, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, stringToBytes_fn;
|
|
22
|
-
import { _ as __vitePreload } from "./main.
|
|
21
|
+
var _InternalTransmitter_instances, buildInternalOperationUpdate_fn, _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _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, _client, _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, _subtleCrypto, _keyPair, _keyPairStorage, _did, _bearerToken, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, stringToBytes_fn;
|
|
22
|
+
import { _ as __vitePreload } from "./main.6cK_RVAD.js";
|
|
23
23
|
import { jsx as jsx$1, jsxs, Fragment } 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 logger$3, $ as utils, a0 as Icon, a1 as getDefaultExportFromCjs, a2 as LOCAL, a3 as commonjsGlobal, a4 as PUBLIC, a5 as SWITCHBOARD, a6 as locationInfoByLocation, a7 as sharingTypeOptions, a8 as objectType, a9 as recordType, aa as stringType, ab as capitalCase, ac as CLOUD, ad as createZip, ae as LZString, af as buildSignedOperation, ag as getI18n, ah as getDefaults, ai as connectConfig, aj as hashDocumentStateForScope, ak as getAugmentedNamespace, al as childLogger, am as process, an as setErrorHandler, ao as module, ap as createBrowserStorage, aq as createBrowserDocumentDriveServer, ar as generateId, as as reducer$8, at as isDocumentDrive, au as generateAddNodeAction, av as isFileNode, aw as uploadDocumentOperations, ax as updateFile, ay as addFolder, az as isFolderNode, aA as deleteNode, aB as updateNode, aC as FILE$1, aD as moveNode, aE as generateNodesCopy, aF as copyNode, aG as setDriveName, aH as setAvailableOffline, aI as setSharingType, aJ as SynchronizationUnitNotFoundError, aK as removeTrigger, aL as PullResponderTransmitter, aM as addTrigger, aN as ReadDriveNotFoundError, aO as openUrl, aP as getNodeOptions, aQ as DRIVE$1, aR as FOLDER, aS as requestPublicDrive, aT as serviceWorkerManager, aU as packageJson, aV as t$1 } from "./app-loader-
|
|
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 logger$3, $ as utils, a0 as Icon, a1 as getDefaultExportFromCjs, a2 as LOCAL, a3 as commonjsGlobal, a4 as PUBLIC, a5 as SWITCHBOARD, a6 as locationInfoByLocation, a7 as sharingTypeOptions, a8 as objectType, a9 as recordType, aa as stringType, ab as capitalCase, ac as CLOUD, ad as createZip, ae as LZString, af as buildSignedOperation, ag as getI18n, ah as getDefaults, ai as connectConfig, aj as hashDocumentStateForScope, ak as getAugmentedNamespace, al as childLogger, am as process, an as setErrorHandler, ao as module, ap as createBrowserStorage, aq as createBrowserDocumentDriveServer, ar as generateId, as as reducer$8, at as isDocumentDrive, au as generateAddNodeAction, av as isFileNode, aw as uploadDocumentOperations, ax as updateFile, ay as addFolder, az as isFolderNode, aA as deleteNode, aB as updateNode, aC as FILE$1, aD as moveNode, aE as generateNodesCopy, aF as copyNode, aG as setDriveName, aH as setAvailableOffline, aI as setSharingType, aJ as SynchronizationUnitNotFoundError, aK as removeTrigger, aL as PullResponderTransmitter, aM as addTrigger, aN as ReadDriveNotFoundError, aO as openUrl, aP as getNodeOptions, aQ as DRIVE$1, aR as FOLDER, aS as requestPublicDrive, aT as serviceWorkerManager, aU as packageJson, aV as t$1 } from "./app-loader-DlmRZ8eU.js";
|
|
25
25
|
import * as React from "react";
|
|
26
26
|
import React__default, { useLayoutEffect, useEffect, useState, forwardRef, useCallback, useContext, useRef, useMemo, createContext, Component, Fragment as Fragment$1, createElement, useId as useId$2, useSyncExternalStore, isValidElement, cloneElement, Children, useReducer, useDebugValue, Suspense, lazy } from "react";
|
|
27
27
|
import * as ReactDOM from "react-dom";
|
|
@@ -22071,7 +22071,7 @@ async function call(client2, args) {
|
|
|
22071
22071
|
} catch (err) {
|
|
22072
22072
|
const data2 = getRevertErrorData(err);
|
|
22073
22073
|
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
|
|
22074
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
22074
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-B0vnV_KE.js");
|
|
22075
22075
|
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
|
|
22076
22076
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
22077
22077
|
if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
|
|
@@ -59105,6 +59105,7 @@ const _ConnectCrypto = class _ConnectCrypto {
|
|
|
59105
59105
|
__privateAdd(this, _keyPair);
|
|
59106
59106
|
__privateAdd(this, _keyPairStorage);
|
|
59107
59107
|
__privateAdd(this, _did);
|
|
59108
|
+
__privateAdd(this, _bearerToken);
|
|
59108
59109
|
__privateAdd(this, _sign, async (...args) => {
|
|
59109
59110
|
return (await __privateGet(this, _subtleCrypto)).sign(...args);
|
|
59110
59111
|
});
|
|
@@ -59115,16 +59116,17 @@ const _ConnectCrypto = class _ConnectCrypto {
|
|
|
59115
59116
|
__privateSet(this, _subtleCrypto, __privateMethod(this, _ConnectCrypto_instances, initCrypto_fn).call(this));
|
|
59116
59117
|
__privateSet(this, _did, __privateMethod(this, _ConnectCrypto_instances, initialize_fn).call(this));
|
|
59117
59118
|
}
|
|
59118
|
-
async getBearerToken(driveUrl) {
|
|
59119
|
+
async getBearerToken(driveUrl, address, refresh = false) {
|
|
59119
59120
|
const issuer = await this.getIssuer();
|
|
59120
|
-
|
|
59121
|
-
|
|
59122
|
-
|
|
59123
|
-
|
|
59124
|
-
|
|
59125
|
-
|
|
59126
|
-
|
|
59127
|
-
|
|
59121
|
+
if (refresh || !__privateGet(this, _bearerToken)) {
|
|
59122
|
+
__privateSet(this, _bearerToken, await createAuthBearerToken(
|
|
59123
|
+
Number(RENOWN_CHAIN_ID$1),
|
|
59124
|
+
RENOWN_NETWORK_ID$1,
|
|
59125
|
+
address || await __privateGet(this, _did),
|
|
59126
|
+
issuer
|
|
59127
|
+
));
|
|
59128
|
+
}
|
|
59129
|
+
return __privateGet(this, _bearerToken);
|
|
59128
59130
|
}
|
|
59129
59131
|
did() {
|
|
59130
59132
|
return __privateGet(this, _did);
|
|
@@ -59169,6 +59171,7 @@ _subtleCrypto = new WeakMap();
|
|
|
59169
59171
|
_keyPair = new WeakMap();
|
|
59170
59172
|
_keyPairStorage = new WeakMap();
|
|
59171
59173
|
_did = new WeakMap();
|
|
59174
|
+
_bearerToken = new WeakMap();
|
|
59172
59175
|
_ConnectCrypto_instances = new WeakSet();
|
|
59173
59176
|
initCrypto_fn = function() {
|
|
59174
59177
|
return new Promise((resolve, reject) => {
|
|
@@ -76705,7 +76708,7 @@ const useFilteredDocumentModels = () => {
|
|
|
76705
76708
|
return filteredDocumentModels;
|
|
76706
76709
|
};
|
|
76707
76710
|
async function loadBaseEditors() {
|
|
76708
|
-
const documentModelEditor = await __vitePreload(() => import("./index-
|
|
76711
|
+
const documentModelEditor = await __vitePreload(() => import("./index-CSdlimsY.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
76709
76712
|
await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
|
|
76710
76713
|
const module2 = documentModelEditor.documentModelEditorModule;
|
|
76711
76714
|
return [module2];
|
|
@@ -76858,11 +76861,11 @@ const useAcceptedCookies = () => {
|
|
|
76858
76861
|
let _connectCrypto;
|
|
76859
76862
|
async function initConnectCrypto() {
|
|
76860
76863
|
const { ConnectCrypto: ConnectCrypto2 } = await __vitePreload(async () => {
|
|
76861
|
-
const { ConnectCrypto: ConnectCrypto3 } = await import("./index-
|
|
76864
|
+
const { ConnectCrypto: ConnectCrypto3 } = await import("./index-K6dF3gGM.js");
|
|
76862
76865
|
return { ConnectCrypto: ConnectCrypto3 };
|
|
76863
76866
|
}, true ? __vite__mapDeps([6,2,1,3]) : void 0);
|
|
76864
76867
|
const { BrowserKeyStorage } = await __vitePreload(async () => {
|
|
76865
|
-
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-
|
|
76868
|
+
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-K6dF3gGM.js");
|
|
76866
76869
|
return { BrowserKeyStorage: BrowserKeyStorage2 };
|
|
76867
76870
|
}, true ? __vite__mapDeps([6,2,1,3]) : void 0);
|
|
76868
76871
|
const connectCrypto = new ConnectCrypto2(new BrowserKeyStorage());
|
|
@@ -76898,9 +76901,9 @@ function useConnectCrypto() {
|
|
|
76898
76901
|
const crypto2 = await getConnectCrypto();
|
|
76899
76902
|
return crypto2.getIssuer();
|
|
76900
76903
|
},
|
|
76901
|
-
async getBearerToken(driveUrl) {
|
|
76904
|
+
async getBearerToken(driveUrl, address, refresh = false) {
|
|
76902
76905
|
const crypto2 = await getConnectCrypto();
|
|
76903
|
-
return crypto2.getBearerToken(driveUrl);
|
|
76906
|
+
return crypto2.getBearerToken(driveUrl, address, refresh);
|
|
76904
76907
|
}
|
|
76905
76908
|
}),
|
|
76906
76909
|
[]
|
|
@@ -76928,7 +76931,11 @@ function useRenown() {
|
|
|
76928
76931
|
if (!renown || !reactor || !did) {
|
|
76929
76932
|
return;
|
|
76930
76933
|
}
|
|
76931
|
-
|
|
76934
|
+
renown.user().then((user) => {
|
|
76935
|
+
reactor.setGenerateJwtHandler(
|
|
76936
|
+
async (driveUrl) => getBearerToken(driveUrl, user == null ? void 0 : user.address)
|
|
76937
|
+
);
|
|
76938
|
+
});
|
|
76932
76939
|
}, [renown, reactor]);
|
|
76933
76940
|
async function initRenown(getDid) {
|
|
76934
76941
|
const did2 = await getDid();
|
|
@@ -76936,7 +76943,7 @@ function useRenown() {
|
|
|
76936
76943
|
return;
|
|
76937
76944
|
}
|
|
76938
76945
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
76939
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-
|
|
76946
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-K6dF3gGM.js");
|
|
76940
76947
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
76941
76948
|
}, true ? __vite__mapDeps([6,2,1,3]) : void 0);
|
|
76942
76949
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -83481,6 +83488,7 @@ const Analytics = () => {
|
|
|
83481
83488
|
};
|
|
83482
83489
|
function AddDriveModal(props) {
|
|
83483
83490
|
const { open, onAddLocalDrive, onAddRemoteDrive, onClose } = props;
|
|
83491
|
+
const user = useUser();
|
|
83484
83492
|
const apps = useApps();
|
|
83485
83493
|
const { getBearerToken } = useConnectCrypto();
|
|
83486
83494
|
async function onAddLocalDriveSubmit(data) {
|
|
@@ -83498,10 +83506,22 @@ function AddDriveModal(props) {
|
|
|
83498
83506
|
onAddLocalDrive: onAddLocalDriveSubmit,
|
|
83499
83507
|
onAddRemoteDrive: onAddRemoteDriveSubmit,
|
|
83500
83508
|
requestPublicDrive: async (url) => {
|
|
83501
|
-
|
|
83502
|
-
|
|
83503
|
-
|
|
83504
|
-
|
|
83509
|
+
try {
|
|
83510
|
+
const authToken = await getBearerToken(url, user == null ? void 0 : user.address);
|
|
83511
|
+
return requestPublicDrive(url, {
|
|
83512
|
+
Authorization: `Bearer ${authToken}`
|
|
83513
|
+
});
|
|
83514
|
+
} catch (error) {
|
|
83515
|
+
console.error(error);
|
|
83516
|
+
const authToken = await getBearerToken(
|
|
83517
|
+
url,
|
|
83518
|
+
user == null ? void 0 : user.address,
|
|
83519
|
+
true
|
|
83520
|
+
);
|
|
83521
|
+
return requestPublicDrive(url, {
|
|
83522
|
+
Authorization: `Bearer ${authToken}`
|
|
83523
|
+
});
|
|
83524
|
+
}
|
|
83505
83525
|
},
|
|
83506
83526
|
onOpenChange: (status) => {
|
|
83507
83527
|
if (!status) return onClose();
|
|
@@ -91633,7 +91653,7 @@ async function createAnalyticsStore({ databaseName }) {
|
|
|
91633
91653
|
return globalAnalytics.store;
|
|
91634
91654
|
}
|
|
91635
91655
|
const { BrowserAnalyticsStore } = await __vitePreload(async () => {
|
|
91636
|
-
const { BrowserAnalyticsStore: BrowserAnalyticsStore2 } = await import("./browser-
|
|
91656
|
+
const { BrowserAnalyticsStore: BrowserAnalyticsStore2 } = await import("./browser-CyAxFNDr.js");
|
|
91637
91657
|
return { BrowserAnalyticsStore: BrowserAnalyticsStore2 };
|
|
91638
91658
|
}, true ? __vite__mapDeps([7,2,1,3]) : void 0);
|
|
91639
91659
|
const store = new BrowserAnalyticsStore({ databaseName });
|
|
@@ -91765,7 +91785,7 @@ atomStore.sub(reactorAtom, () => {
|
|
|
91765
91785
|
return atomStore.get(processorManagerAtom);
|
|
91766
91786
|
});
|
|
91767
91787
|
const Router = React__default.lazy(async () => {
|
|
91768
|
-
const createRouterComponent = await __vitePreload(() => import("./router-
|
|
91788
|
+
const createRouterComponent = await __vitePreload(() => import("./router-Cdqw5UqJ.js").then((n2) => n2.r), true ? __vite__mapDeps([8,1,2,3]) : void 0);
|
|
91769
91789
|
const router = await createRouterComponent.default();
|
|
91770
91790
|
return { default: router };
|
|
91771
91791
|
});
|
|
@@ -91777,7 +91797,7 @@ const Preloader = () => {
|
|
|
91777
91797
|
return null;
|
|
91778
91798
|
};
|
|
91779
91799
|
const ReactorAnalyticsProvider = lazy(
|
|
91780
|
-
() => __vitePreload(() => import("./reactor-analytics-
|
|
91800
|
+
() => __vitePreload(() => import("./reactor-analytics-CPrrgnol.js"), true ? __vite__mapDeps([9,1,2,3]) : void 0)
|
|
91781
91801
|
);
|
|
91782
91802
|
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: [
|
|
91783
91803
|
/* @__PURE__ */ jsx$1(Preloader, {}),
|
|
@@ -91955,4 +91975,4 @@ export {
|
|
|
91955
91975
|
isLatestVersion as y,
|
|
91956
91976
|
useParams as z
|
|
91957
91977
|
};
|
|
91958
|
-
//# sourceMappingURL=app-
|
|
91978
|
+
//# sourceMappingURL=app-DpvGvYx-.js.map
|