@powerhousedao/connect 1.0.0-dev.246 → 1.0.0-dev.248

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 (36) hide show
  1. package/LICENSE +661 -0
  2. package/dist/assets/{app-BT03qzg4.js → app-BgY4XbK3.js} +1483 -1001
  3. package/dist/assets/{app-D9QJBr8i.css → app-CYjeY4R-.css} +113 -50
  4. package/dist/assets/{app-loader-Cp_C_kSQ.js → app-loader-Be1urgPw.js} +206 -185
  5. package/dist/assets/{app-loader-Bnp0H-wa.css → app-loader-DC8DXqh9.css} +129 -18
  6. package/dist/assets/{ccip-rCu2dOKk.js → ccip-KX_YlO62.js} +3 -3
  7. package/dist/assets/{content-B1RXkSXz.js → content-CrBPsYmC.js} +36 -6
  8. package/dist/assets/{index-CJbQZ7hP.js → index-Ca8tBMzh.js} +3 -3
  9. package/dist/assets/{index-DX2bXpNe.js → index-CrpTq7W6.js} +670 -519
  10. package/dist/assets/{index-a5VEmfQw.js → index-DG5cID7M.js} +4 -4
  11. package/dist/assets/{main.Hm4UID1Z.js → main.BvYgkrO6.js} +1 -1
  12. package/dist/assets/{style-D4JhTt_m.css → style-D7CwmVZf.css} +52 -36
  13. package/dist/index.html +1 -1
  14. package/dist/modules/@powerhousedao/reactor-browser/{chunk-G6LMXRY5.js → chunk-2ONJ2PX4.js} +1 -1
  15. package/dist/modules/@powerhousedao/reactor-browser/{chunk-XXFOSD4A.js → chunk-6MBHOHAA.js} +1 -1
  16. package/dist/modules/@powerhousedao/reactor-browser/{chunk-FW7N6EJH.js → chunk-C7QRY43M.js} +3 -3
  17. package/dist/modules/@powerhousedao/reactor-browser/{chunk-45DCPCA7.js → chunk-CO2RVWYY.js} +1 -1
  18. package/dist/modules/@powerhousedao/reactor-browser/{chunk-YDERCA5J.js → chunk-IC6B3767.js} +1 -1
  19. package/dist/modules/@powerhousedao/reactor-browser/{chunk-A4GIWVYS.js → chunk-N5UNGAA6.js} +94 -74
  20. package/dist/modules/@powerhousedao/reactor-browser/{chunk-F3RCGUF6.js → chunk-NHD6VUCD.js} +2 -2
  21. package/dist/modules/@powerhousedao/reactor-browser/{chunk-UP4DC4D2.js → chunk-OYYVE7RP.js} +1 -1
  22. package/dist/modules/@powerhousedao/reactor-browser/{chunk-M2UUQ5LH.js → chunk-U34SEKEB.js} +2 -2
  23. package/dist/modules/@powerhousedao/reactor-browser/{chunk-PQ4UODLR.js → chunk-UDKYG6I4.js} +1 -1
  24. package/dist/modules/@powerhousedao/reactor-browser/context/index.js +2 -2
  25. package/dist/modules/@powerhousedao/reactor-browser/context/read-mode.js +2 -2
  26. package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +8 -8
  27. package/dist/modules/@powerhousedao/reactor-browser/hooks/useAddDebouncedOperations.js +3 -3
  28. package/dist/modules/@powerhousedao/reactor-browser/hooks/useConnectCrypto.js +2 -2
  29. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentDrives.js +2 -2
  30. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentEditor.js +5 -5
  31. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActions.js +2 -2
  32. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes.js +3 -3
  33. package/dist/modules/@powerhousedao/reactor-browser/index.js +10 -10
  34. package/dist/modules/@powerhousedao/reactor-browser/reactor.js +2 -2
  35. package/dist/vite-envs.sh +1 -1
  36. package/package.json +8 -8
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-BT03qzg4.js","assets/main.Hm4UID1Z.js","assets/app-D9QJBr8i.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-BgY4XbK3.js","assets/main.BvYgkrO6.js","assets/app-CYjeY4R-.css"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -11,7 +11,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
11
11
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
12
12
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
13
13
  var _tags, _levelString, _errorHandler, _ConsoleLogger_instances, levelValue_get, _getDocumentModelModule, _drives, _ReadModeService_instances, parseGraphQLErrors_fn, fetchDrive_fn, _a, _ServiceWorkerManager_instances, handleServiceWorkerMessage_fn, handleServiceWorker_fn;
14
- import { _ as __vitePreload } from "./main.Hm4UID1Z.js";
14
+ import { _ as __vitePreload } from "./main.BvYgkrO6.js";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { useState, useEffect, Suspense, lazy } from "react";
17
17
  function _mergeNamespaces(n, m) {
@@ -22786,6 +22786,187 @@ __publicField(_PullResponderTransmitter, "staticLogger", childLogger([
22786
22786
  "static"
22787
22787
  ]));
22788
22788
  let PullResponderTransmitter = _PullResponderTransmitter;
22789
+ var defaults;
22790
+ var hasRequiredDefaults;
22791
+ function requireDefaults() {
22792
+ if (hasRequiredDefaults) return defaults;
22793
+ hasRequiredDefaults = 1;
22794
+ defaults = {
22795
+ space: "",
22796
+ cycles: false,
22797
+ replacer: (k, v) => v,
22798
+ stringify: JSON.stringify
22799
+ };
22800
+ return defaults;
22801
+ }
22802
+ var util;
22803
+ var hasRequiredUtil;
22804
+ function requireUtil() {
22805
+ if (hasRequiredUtil) return util;
22806
+ hasRequiredUtil = 1;
22807
+ util = {
22808
+ isArray: Array.isArray,
22809
+ assign: Object.assign,
22810
+ isObject: (v) => typeof v === "object",
22811
+ isFunction: (v) => typeof v === "function",
22812
+ isBoolean: (v) => typeof v === "boolean",
22813
+ isRegex: (v) => v instanceof RegExp,
22814
+ keys: Object.keys
22815
+ };
22816
+ return util;
22817
+ }
22818
+ var lib;
22819
+ var hasRequiredLib;
22820
+ function requireLib() {
22821
+ if (hasRequiredLib) return lib;
22822
+ hasRequiredLib = 1;
22823
+ const DEFAULTS = requireDefaults();
22824
+ const isFunction = requireUtil().isFunction;
22825
+ const isBoolean = requireUtil().isBoolean;
22826
+ const isObject = requireUtil().isObject;
22827
+ const isArray = requireUtil().isArray;
22828
+ const isRegex = requireUtil().isRegex;
22829
+ const assign = requireUtil().assign;
22830
+ const keys = requireUtil().keys;
22831
+ function serialize(obj) {
22832
+ if (obj === null || obj === void 0) return obj;
22833
+ if (isRegex(obj)) return obj.toString();
22834
+ return obj.toJSON ? obj.toJSON() : obj;
22835
+ }
22836
+ function stringifyDeterministic(obj, opts) {
22837
+ opts = opts || assign({}, DEFAULTS);
22838
+ if (isFunction(opts)) opts = { compare: opts };
22839
+ const space = opts.space || DEFAULTS.space;
22840
+ const cycles = isBoolean(opts.cycles) ? opts.cycles : DEFAULTS.cycles;
22841
+ const replacer = opts.replacer || DEFAULTS.replacer;
22842
+ const stringify2 = opts.stringify || DEFAULTS.stringify;
22843
+ const compare = opts.compare && /* @__PURE__ */ function(f) {
22844
+ return function(node) {
22845
+ return function(a, b) {
22846
+ const aobj = { key: a, value: node[a] };
22847
+ const bobj = { key: b, value: node[b] };
22848
+ return f(aobj, bobj);
22849
+ };
22850
+ };
22851
+ }(opts.compare);
22852
+ if (!cycles) stringify2(obj);
22853
+ const seen = [];
22854
+ return function _deterministic(parent, key, node, level) {
22855
+ const indent2 = space ? "\n" + new Array(level + 1).join(space) : "";
22856
+ const colonSeparator = space ? ": " : ":";
22857
+ node = serialize(node);
22858
+ node = replacer.call(parent, key, node);
22859
+ if (node === void 0) return;
22860
+ if (!isObject(node) || node === null) return stringify2(node);
22861
+ if (isArray(node)) {
22862
+ const out = [];
22863
+ for (let i = 0; i < node.length; i++) {
22864
+ const item = _deterministic(node, i, node[i], level + 1) || stringify2(null);
22865
+ out.push(indent2 + space + item);
22866
+ }
22867
+ return "[" + out.join(",") + indent2 + "]";
22868
+ } else {
22869
+ if (cycles) {
22870
+ if (seen.indexOf(node) !== -1) {
22871
+ return stringify2("[Circular]");
22872
+ } else {
22873
+ seen.push(node);
22874
+ }
22875
+ }
22876
+ const nodeKeys = keys(node).sort(compare && compare(node));
22877
+ const out = [];
22878
+ for (let i = 0; i < nodeKeys.length; i++) {
22879
+ const key2 = nodeKeys[i];
22880
+ const value = _deterministic(node, key2, node[key2], level + 1);
22881
+ if (!value) continue;
22882
+ const keyValue = stringify2(key2) + colonSeparator + value;
22883
+ out.push(indent2 + space + keyValue);
22884
+ }
22885
+ seen.splice(seen.indexOf(node), 1);
22886
+ return "{" + out.join(",") + indent2 + "}";
22887
+ }
22888
+ }({ "": obj }, "", obj, 0);
22889
+ }
22890
+ lib = stringifyDeterministic;
22891
+ return lib;
22892
+ }
22893
+ var libExports = requireLib();
22894
+ const stringify = /* @__PURE__ */ getDefaultExportFromCjs(libExports);
22895
+ const SYNC_OPS_BATCH_LIMIT = 10;
22896
+ class SwitchboardPushTransmitter {
22897
+ constructor(targetURL) {
22898
+ __publicField(this, "targetURL");
22899
+ __publicField(this, "logger", childLogger([
22900
+ "SwitchboardPushTransmitter",
22901
+ Math.floor(Math.random() * 999).toString()
22902
+ ]));
22903
+ this.targetURL = targetURL;
22904
+ }
22905
+ async transmit(strands, source) {
22906
+ var _a2;
22907
+ if (source.type === "trigger" && ((_a2 = source.trigger.data) == null ? void 0 : _a2.url) === this.targetURL) {
22908
+ this.logger.verbose(`Cutting trigger loop from ${this.targetURL}.`);
22909
+ return strands.map((strand) => {
22910
+ var _a3;
22911
+ return {
22912
+ driveId: strand.driveId,
22913
+ documentId: strand.documentId,
22914
+ scope: strand.scope,
22915
+ branch: strand.branch,
22916
+ status: "SUCCESS",
22917
+ revision: ((_a3 = strand.operations.at(-1)) == null ? void 0 : _a3.index) ?? -1
22918
+ };
22919
+ });
22920
+ }
22921
+ const culledStrands = [];
22922
+ let opsCounter = 0;
22923
+ for (let s = 0; opsCounter <= SYNC_OPS_BATCH_LIMIT && s < strands.length; s++) {
22924
+ const currentStrand = strands.at(s);
22925
+ if (!currentStrand) {
22926
+ break;
22927
+ }
22928
+ const newOps = Math.min(SYNC_OPS_BATCH_LIMIT - opsCounter, currentStrand.operations.length);
22929
+ culledStrands.push({
22930
+ ...currentStrand,
22931
+ operations: currentStrand.operations.slice(0, newOps)
22932
+ });
22933
+ opsCounter += newOps;
22934
+ }
22935
+ this.logger.verbose(` Total update: [${strands.map((s) => s.operations.length).join(", ")}] operations`);
22936
+ this.logger.verbose(`Culled update: [${culledStrands.map((s) => s.operations.length).join(", ")}] operations`);
22937
+ try {
22938
+ const { pushUpdates } = await requestGraphql(this.targetURL, gql`
22939
+ mutation pushUpdates($strands: [InputStrandUpdate!]) {
22940
+ pushUpdates(strands: $strands) {
22941
+ driveId
22942
+ documentId
22943
+ scope
22944
+ branch
22945
+ status
22946
+ revision
22947
+ error
22948
+ }
22949
+ }
22950
+ `, {
22951
+ strands: culledStrands.map((strand) => ({
22952
+ ...strand,
22953
+ operations: strand.operations.map((op) => ({
22954
+ ...op,
22955
+ input: stringify(op.input)
22956
+ }))
22957
+ }))
22958
+ });
22959
+ if (!pushUpdates) {
22960
+ throw new Error("Couldn't update listener revision");
22961
+ }
22962
+ return pushUpdates;
22963
+ } catch (e) {
22964
+ this.logger.error(e);
22965
+ throw e;
22966
+ }
22967
+ return [];
22968
+ }
22969
+ }
22789
22970
  var TransmitterType;
22790
22971
  (function(TransmitterType2) {
22791
22972
  TransmitterType2[TransmitterType2["Internal"] = 0] = "Internal";
@@ -23019,11 +23200,32 @@ class BaseDocumentDriveServer {
23019
23200
  return this.triggerMap.delete(driveId);
23020
23201
  }
23021
23202
  async _initializeDrive(driveId) {
23203
+ var _a2, _b, _c, _d, _e, _f;
23022
23204
  const drive = await this.getDrive(driveId);
23023
23205
  await this.synchronizationManager.initializeDriveSyncStatus(driveId, drive);
23024
23206
  if (this.shouldSyncRemoteDrive(drive)) {
23025
23207
  await this.startSyncRemoteDrive(driveId);
23026
23208
  }
23209
+ for (const zodListener of drive.state.local.listeners) {
23210
+ if (((_a2 = zodListener.callInfo) == null ? void 0 : _a2.transmitterType) === "SwitchboardPush") {
23211
+ const transmitter = new SwitchboardPushTransmitter(((_b = zodListener.callInfo) == null ? void 0 : _b.data) ?? "");
23212
+ this.listenerManager.setListener(driveId, {
23213
+ block: zodListener.block,
23214
+ driveId: drive.state.global.id,
23215
+ filter: {
23216
+ branch: ((_c = zodListener.filter) == null ? void 0 : _c.branch) ?? [],
23217
+ documentId: ((_d = zodListener.filter) == null ? void 0 : _d.documentId) ?? [],
23218
+ documentType: ((_e = zodListener.filter) == null ? void 0 : _e.documentType) ?? [],
23219
+ scope: ((_f = zodListener.filter) == null ? void 0 : _f.scope) ?? []
23220
+ },
23221
+ listenerId: zodListener.listenerId,
23222
+ callInfo: zodListener.callInfo,
23223
+ system: zodListener.system,
23224
+ label: zodListener.label ?? "",
23225
+ transmitter
23226
+ });
23227
+ }
23228
+ }
23027
23229
  }
23028
23230
  // Delegate synchronization methods to synchronizationManager
23029
23231
  getSynchronizationUnits(driveId, documentId, scope, branch, documentType2) {
@@ -24413,187 +24615,6 @@ const _ListenerManager = class _ListenerManager {
24413
24615
  };
24414
24616
  __publicField(_ListenerManager, "LISTENER_UPDATE_DELAY", 250);
24415
24617
  let ListenerManager = _ListenerManager;
24416
- var defaults;
24417
- var hasRequiredDefaults;
24418
- function requireDefaults() {
24419
- if (hasRequiredDefaults) return defaults;
24420
- hasRequiredDefaults = 1;
24421
- defaults = {
24422
- space: "",
24423
- cycles: false,
24424
- replacer: (k, v) => v,
24425
- stringify: JSON.stringify
24426
- };
24427
- return defaults;
24428
- }
24429
- var util;
24430
- var hasRequiredUtil;
24431
- function requireUtil() {
24432
- if (hasRequiredUtil) return util;
24433
- hasRequiredUtil = 1;
24434
- util = {
24435
- isArray: Array.isArray,
24436
- assign: Object.assign,
24437
- isObject: (v) => typeof v === "object",
24438
- isFunction: (v) => typeof v === "function",
24439
- isBoolean: (v) => typeof v === "boolean",
24440
- isRegex: (v) => v instanceof RegExp,
24441
- keys: Object.keys
24442
- };
24443
- return util;
24444
- }
24445
- var lib;
24446
- var hasRequiredLib;
24447
- function requireLib() {
24448
- if (hasRequiredLib) return lib;
24449
- hasRequiredLib = 1;
24450
- const DEFAULTS = requireDefaults();
24451
- const isFunction = requireUtil().isFunction;
24452
- const isBoolean = requireUtil().isBoolean;
24453
- const isObject = requireUtil().isObject;
24454
- const isArray = requireUtil().isArray;
24455
- const isRegex = requireUtil().isRegex;
24456
- const assign = requireUtil().assign;
24457
- const keys = requireUtil().keys;
24458
- function serialize(obj) {
24459
- if (obj === null || obj === void 0) return obj;
24460
- if (isRegex(obj)) return obj.toString();
24461
- return obj.toJSON ? obj.toJSON() : obj;
24462
- }
24463
- function stringifyDeterministic(obj, opts) {
24464
- opts = opts || assign({}, DEFAULTS);
24465
- if (isFunction(opts)) opts = { compare: opts };
24466
- const space = opts.space || DEFAULTS.space;
24467
- const cycles = isBoolean(opts.cycles) ? opts.cycles : DEFAULTS.cycles;
24468
- const replacer = opts.replacer || DEFAULTS.replacer;
24469
- const stringify2 = opts.stringify || DEFAULTS.stringify;
24470
- const compare = opts.compare && /* @__PURE__ */ function(f) {
24471
- return function(node) {
24472
- return function(a, b) {
24473
- const aobj = { key: a, value: node[a] };
24474
- const bobj = { key: b, value: node[b] };
24475
- return f(aobj, bobj);
24476
- };
24477
- };
24478
- }(opts.compare);
24479
- if (!cycles) stringify2(obj);
24480
- const seen = [];
24481
- return function _deterministic(parent, key, node, level) {
24482
- const indent2 = space ? "\n" + new Array(level + 1).join(space) : "";
24483
- const colonSeparator = space ? ": " : ":";
24484
- node = serialize(node);
24485
- node = replacer.call(parent, key, node);
24486
- if (node === void 0) return;
24487
- if (!isObject(node) || node === null) return stringify2(node);
24488
- if (isArray(node)) {
24489
- const out = [];
24490
- for (let i = 0; i < node.length; i++) {
24491
- const item = _deterministic(node, i, node[i], level + 1) || stringify2(null);
24492
- out.push(indent2 + space + item);
24493
- }
24494
- return "[" + out.join(",") + indent2 + "]";
24495
- } else {
24496
- if (cycles) {
24497
- if (seen.indexOf(node) !== -1) {
24498
- return stringify2("[Circular]");
24499
- } else {
24500
- seen.push(node);
24501
- }
24502
- }
24503
- const nodeKeys = keys(node).sort(compare && compare(node));
24504
- const out = [];
24505
- for (let i = 0; i < nodeKeys.length; i++) {
24506
- const key2 = nodeKeys[i];
24507
- const value = _deterministic(node, key2, node[key2], level + 1);
24508
- if (!value) continue;
24509
- const keyValue = stringify2(key2) + colonSeparator + value;
24510
- out.push(indent2 + space + keyValue);
24511
- }
24512
- seen.splice(seen.indexOf(node), 1);
24513
- return "{" + out.join(",") + indent2 + "}";
24514
- }
24515
- }({ "": obj }, "", obj, 0);
24516
- }
24517
- lib = stringifyDeterministic;
24518
- return lib;
24519
- }
24520
- var libExports = requireLib();
24521
- const stringify = /* @__PURE__ */ getDefaultExportFromCjs(libExports);
24522
- const SYNC_OPS_BATCH_LIMIT = 10;
24523
- class SwitchboardPushTransmitter {
24524
- constructor(targetURL) {
24525
- __publicField(this, "targetURL");
24526
- __publicField(this, "logger", childLogger([
24527
- "SwitchboardPushTransmitter",
24528
- Math.floor(Math.random() * 999).toString()
24529
- ]));
24530
- this.targetURL = targetURL;
24531
- }
24532
- async transmit(strands, source) {
24533
- var _a2;
24534
- if (source.type === "trigger" && ((_a2 = source.trigger.data) == null ? void 0 : _a2.url) === this.targetURL) {
24535
- this.logger.verbose(`Cutting trigger loop from ${this.targetURL}.`);
24536
- return strands.map((strand) => {
24537
- var _a3;
24538
- return {
24539
- driveId: strand.driveId,
24540
- documentId: strand.documentId,
24541
- scope: strand.scope,
24542
- branch: strand.branch,
24543
- status: "SUCCESS",
24544
- revision: ((_a3 = strand.operations.at(-1)) == null ? void 0 : _a3.index) ?? -1
24545
- };
24546
- });
24547
- }
24548
- const culledStrands = [];
24549
- let opsCounter = 0;
24550
- for (let s = 0; opsCounter <= SYNC_OPS_BATCH_LIMIT && s < strands.length; s++) {
24551
- const currentStrand = strands.at(s);
24552
- if (!currentStrand) {
24553
- break;
24554
- }
24555
- const newOps = Math.min(SYNC_OPS_BATCH_LIMIT - opsCounter, currentStrand.operations.length);
24556
- culledStrands.push({
24557
- ...currentStrand,
24558
- operations: currentStrand.operations.slice(0, newOps)
24559
- });
24560
- opsCounter += newOps;
24561
- }
24562
- this.logger.verbose(` Total update: [${strands.map((s) => s.operations.length).join(", ")}] operations`);
24563
- this.logger.verbose(`Culled update: [${culledStrands.map((s) => s.operations.length).join(", ")}] operations`);
24564
- try {
24565
- const { pushUpdates } = await requestGraphql(this.targetURL, gql`
24566
- mutation pushUpdates($strands: [InputStrandUpdate!]) {
24567
- pushUpdates(strands: $strands) {
24568
- driveId
24569
- documentId
24570
- scope
24571
- branch
24572
- status
24573
- revision
24574
- error
24575
- }
24576
- }
24577
- `, {
24578
- strands: culledStrands.map((strand) => ({
24579
- ...strand,
24580
- operations: strand.operations.map((op) => ({
24581
- ...op,
24582
- input: stringify(op.input)
24583
- }))
24584
- }))
24585
- });
24586
- if (!pushUpdates) {
24587
- throw new Error("Couldn't update listener revision");
24588
- }
24589
- return pushUpdates;
24590
- } catch (e) {
24591
- this.logger.error(e);
24592
- throw e;
24593
- }
24594
- return [];
24595
- }
24596
- }
24597
24618
  class TransmitterFactory {
24598
24619
  constructor(listenerManager) {
24599
24620
  __publicField(this, "listenerManager");
@@ -25595,7 +25616,7 @@ const nodeOptionsMap = {
25595
25616
  };
25596
25617
  const name = "@powerhousedao/connect";
25597
25618
  const productName = "Powerhouse-Connect";
25598
- const version$1 = "1.0.0-dev.246";
25619
+ const version$1 = "1.0.0-dev.248";
25599
25620
  const description = "Powerhouse Connect";
25600
25621
  const main = "./dist/index.html";
25601
25622
  const type = "module";
@@ -31235,7 +31256,7 @@ if (window.__VITE_ENVS.MODE === "development") {
31235
31256
  } else {
31236
31257
  serviceWorkerManager.registerServiceWorker(false);
31237
31258
  }
31238
- const App = lazy(() => __vitePreload(() => import("./app-BT03qzg4.js").then((n) => n.aN), true ? __vite__mapDeps([0,1,2]) : void 0));
31259
+ const App = lazy(() => __vitePreload(() => import("./app-BgY4XbK3.js").then((n) => n.aN), true ? __vite__mapDeps([0,1,2]) : void 0));
31239
31260
  const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
31240
31261
  const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31241
31262
  __proto__: null,