@expofp/loader 1.0.45 → 1.0.46

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.
@@ -1 +1,2 @@
1
- export declare function importJson(url: string, importCallback: ((url: string, type: 'module' | 'fetch') => void) | undefined): Promise<any>;
1
+ import { ResolveContextInternal } from './resolve';
2
+ export declare function importJson(url: string, resolveContext: ResolveContextInternal): Promise<any>;
package/dist/index.js CHANGED
@@ -1,74 +1,74 @@
1
- function U(e) {
1
+ function J(e) {
2
2
  return i("assetResolver resolveRef:", e), l(e);
3
3
  }
4
- const J = {
4
+ const U = {
5
5
  schema: "asset",
6
- resolveRef: async (e) => U(e),
6
+ resolveRef: async (e) => J(e),
7
7
  offlineMethod: "localizeRef"
8
8
  };
9
9
  let d;
10
- const B = /* @__PURE__ */ new WeakSet(), E = new Function("url", 'return import(url, { with: { type: "json" } });');
10
+ const B = /* @__PURE__ */ new WeakSet(), g = new Function("url", 'return import(url, { with: { type: "json" } });');
11
11
  async function f(e, t) {
12
- if (d === void 0)
12
+ var r, o;
13
+ if (d === void 0 && !t.forceFetch)
13
14
  try {
14
- await E(e), d = !1;
15
+ await g(e), d = !1;
15
16
  } catch {
16
17
  i("importJson: dynamic import not available, falling back to fetch"), d = !0;
17
18
  }
18
19
  let n;
19
- return d ? (i("importJson: fetch", e), n = await N(e), t == null || t(e, "fetch")) : (n = (await E(e)).default, t == null || t(e, "module")), B.has(n) || u(n), n;
20
+ return !d && !t.forceFetch ? (n = (await g(e)).default, (r = t.importCallback) == null || r.call(t, e, "json")) : (i("importJson: fetch", e), n = await N(e, t.refCache), (o = t.importCallback) == null || o.call(t, e, "json")), B.has(n) || u(n), n;
20
21
  }
21
- const p = /* @__PURE__ */ new Map();
22
- async function N(e) {
23
- if (p.has(e))
24
- return p.get(e);
25
- const t = (async function() {
26
- const o = await fetch(e);
27
- if (!o.ok)
22
+ async function N(e, t) {
23
+ const n = "__loadJson__" + e;
24
+ if (t.has(n))
25
+ return t.get(n);
26
+ const r = (async function() {
27
+ const a = await fetch(e);
28
+ if (!a.ok)
28
29
  throw new Error(`Failed to fetch JSON from ${e}`);
29
- return await o.json();
30
+ return await a.json();
30
31
  })();
31
- return p.set(e, t), t;
32
+ return t.set(n, r), r;
32
33
  }
33
- const v = /* @__PURE__ */ new Map();
34
- async function h(e, t) {
35
- if (v.has(e))
36
- return v.get(e);
37
- const n = t().then((o) => (u(o), o));
38
- return v.set(e, n), n;
34
+ async function h(e, t, n) {
35
+ if (t.has(e))
36
+ return t.get(e);
37
+ const r = n().then((o) => (u(o), o));
38
+ return t.set(e, r), r;
39
39
  }
40
40
  const T = {
41
41
  schema: "bundle-assets",
42
42
  async resolveRef(e, t) {
43
43
  i("bundleAssetsResolver resolveRef:", e);
44
44
  const n = l(e);
45
- return h(e, async () => {
46
- const o = await f(n, t.importCallback), r = n.substring(0, n.lastIndexOf("/") + 1);
47
- return o.map((a) => ({
48
- $ref: `asset+${r}${a}`
45
+ return h(e, t.refCache, async () => {
46
+ const r = await f(n, t), o = n.substring(0, n.lastIndexOf("/") + 1);
47
+ return r.map((s) => ({
48
+ $ref: `asset+${o}${s}`
49
49
  }));
50
50
  });
51
51
  },
52
52
  offlineMethod: "localizeRef"
53
- }, S = "https://efp-runtime.expofp.com/", D = {
53
+ }, C = "https://efp-runtime.expofp.com/", S = {
54
54
  schema: "expo-runtime-branch",
55
55
  async resolveRef(e, t) {
56
56
  i("expoRuntimeBranchResolver resolveRef:", e);
57
- const n = l(e), o = `${S}branches/${n}.json`;
58
- return h(e, async () => ({
59
- $ref: `expo-runtime+https://efp-runtime.expofp.com/releases/${await f(o, t.importCallback)}/`
57
+ const n = l(e), r = `${C}branches/${n}.json`;
58
+ return h(e, t.refCache, async () => ({
59
+ $ref: `expo-runtime+https://efp-runtime.expofp.com/releases/${await f(r, t)}/`
60
60
  }));
61
61
  },
62
62
  offlineMethod: "resolveRef"
63
- }, W = {
63
+ }, D = {
64
64
  schema: "expo-runtime-get-branch",
65
65
  async resolveRef(e, t) {
66
66
  i("expoRuntimeGetBranchResolver resolveRef:", e);
67
- const o = `https://${l(e)}.expofp.com/get-branch`;
68
- return f(o, t.importCallback);
67
+ const r = `https://${l(e)}.expofp.com/get-branch`;
68
+ return f(r, t);
69
69
  },
70
70
  offlineMethod: "resolveRef"
71
- }, P = {
71
+ }, W = {
72
72
  schema: "expo-runtime",
73
73
  // canResolve(ref: string) {
74
74
  // return canResolveRefSchema(ref, SCHEMA);
@@ -99,43 +99,43 @@ const T = {
99
99
  // return targetFilePath;
100
100
  // },
101
101
  offlineMethod: "resolveRef"
102
- }, I = {
102
+ }, P = {
103
103
  canResolve(e) {
104
104
  return e.startsWith("http://") || e.startsWith("https://") || e.startsWith("./");
105
105
  },
106
106
  resolveRef(e, t) {
107
107
  if (i("httpResolver resolveRef:", e), !this.canResolve(e)) throw new Error(`Unexpected ref in httpResolver: ${e}`);
108
- return f(e, t.importCallback);
108
+ return f(e, t);
109
109
  },
110
110
  offlineMethod: "resolveRef"
111
111
  };
112
- async function _(e, t = {}) {
113
- const { globalVar: n, timeoutMs: o = 1e4, pollIntervalMs: r = 10 } = t;
114
- z() ? (await L(e), n && await O(() => window[n], n, o, r)) : (await G(e), n && await O(
112
+ async function $(e, t = {}) {
113
+ const { globalVar: n, timeoutMs: r = 1e4, pollIntervalMs: o = 10 } = t;
114
+ I() ? (await z(e), n && await E(() => window[n], n, r, o)) : (await L(e), n && await E(
115
115
  () => globalThis[n],
116
116
  n,
117
- o,
118
- r
117
+ r,
118
+ o
119
119
  ));
120
120
  }
121
- function z() {
121
+ function I() {
122
122
  return typeof window < "u" && typeof document < "u";
123
123
  }
124
- function L(e) {
124
+ function z(e) {
125
125
  return new Promise((t, n) => {
126
- const o = document.createElement("script");
127
- o.src = e, o.async = !0;
128
- const r = () => {
129
- o.onload = null, o.onerror = null;
126
+ const r = document.createElement("script");
127
+ r.src = e, r.async = !0;
128
+ const o = () => {
129
+ r.onload = null, r.onerror = null;
130
130
  };
131
- o.onload = () => {
132
- r(), t();
133
- }, o.onerror = () => {
134
- r(), n(new Error(`Failed to load script: ${e}`));
135
- }, document.head.appendChild(o);
131
+ r.onload = () => {
132
+ o(), t();
133
+ }, r.onerror = () => {
134
+ o(), n(new Error(`Failed to load script: ${e}`));
135
+ }, document.head.appendChild(r);
136
136
  });
137
137
  }
138
- async function G(e) {
138
+ async function L(e) {
139
139
  if (typeof fetch != "function")
140
140
  throw new Error(
141
141
  "loadAndWaitGlobal: fetch is not available. Use Node 18+ or provide a global fetch."
@@ -146,81 +146,83 @@ async function G(e) {
146
146
  const n = await t.text();
147
147
  globalThis.window = globalThis, (0, eval)(n);
148
148
  }
149
- function O(e, t, n, o) {
150
- return new Promise((r, s) => {
151
- const a = Date.now(), c = () => {
149
+ function E(e, t, n, r) {
150
+ return new Promise((o, a) => {
151
+ const s = Date.now(), c = () => {
152
152
  try {
153
153
  if (e() !== void 0)
154
- return r();
154
+ return o();
155
155
  } catch {
156
156
  }
157
- if (Date.now() - a >= n)
158
- return s(new Error(`Timed out after ${n} ms waiting for global "${t}"`));
159
- setTimeout(c, o);
157
+ if (Date.now() - s >= n)
158
+ return a(new Error(`Timed out after ${n} ms waiting for global "${t}"`));
159
+ setTimeout(c, r);
160
160
  };
161
161
  c();
162
162
  });
163
163
  }
164
- const V = {
164
+ const G = {
165
165
  schema: "legacy-asset-urls",
166
166
  resolveRef(e, t) {
167
- return i("legacyAssetUrlsResolver resolveRef:", e), h(e, async () => {
168
- var R, g;
169
- const n = l(e), o = `${n}version.js`;
167
+ return i("legacyAssetUrlsResolver resolveRef:", e), h(e, t.refCache, async () => {
168
+ var y, v;
169
+ const n = l(e), r = `${n}version.js`;
170
170
  try {
171
- await _(o, { globalVar: "__fpDataVersion", timeoutMs: 3e4 }), (R = t.importCallback) == null || R.call(t, o, "script");
171
+ await $(r, { globalVar: "__fpDataVersion", timeoutMs: 3e4 }), (y = t.importCallback) == null || y.call(t, r, "script");
172
172
  } catch {
173
- console.warn(`Could not load version.js at ${o}, proceeding without it`);
173
+ console.warn(`Could not load version.js at ${r}, proceeding without it`);
174
174
  }
175
- const r = globalThis.__fpDataVersion || (+/* @__PURE__ */ new Date()).toString(), s = `${n}files.json?v=${r}`, a = `${n}data.js?v=${r}`, c = f(s, t.importCallback), k = _(a, { globalVar: "__data" });
176
- (g = t.importCallback) == null || g.call(t, a, "script"), await Promise.all([c, k]);
177
- const x = await c, C = globalThis.__data || {};
178
- return { ...[...x, "data.js"].reduce((b, $) => (b[$] = { $ref: `asset+${n}${$}?v=${r}` }, b), {}), ...Z(n, C) };
175
+ const o = globalThis.__fpDataVersion || (+/* @__PURE__ */ new Date()).toString(), a = `${n}files.json?v=${o}`, s = `${n}data.js?v=${o}`, c = f(a, t), j = $(s, { globalVar: "__data" });
176
+ (v = t.importCallback) == null || v.call(t, s, "script"), await Promise.all([c, j]);
177
+ const A = await c, M = globalThis.__data || {};
178
+ return { ...[...A, "data.js"].reduce((b, R) => (b[R] = { $ref: `asset+${n}${R}?v=${o}` }, b), {}), ...V(n, M) };
179
179
  });
180
180
  },
181
181
  offlineMethod: "resolveRef"
182
182
  };
183
- function Z(e, t) {
183
+ function V(e, t) {
184
184
  const n = /* @__PURE__ */ new Set();
185
- function o(r) {
186
- typeof r == "string" && r.length > 0 && n.add(r);
185
+ function r(o) {
186
+ typeof o == "string" && o.length > 0 && n.add(o);
187
187
  }
188
- return o(t.logo), t.exhibitors.forEach((r) => {
189
- var s;
190
- o(r.logo), (s = r.gallery) == null || s.forEach((a) => o(a));
191
- }), t.events.forEach((r) => {
192
- var s;
193
- o(r.logoFile), (s = r.speakers) == null || s.forEach((a) => {
194
- o(a.photoFile);
188
+ return r(t.logo), t.exhibitors.forEach((o) => {
189
+ var a;
190
+ r(o.logo), (a = o.gallery) == null || a.forEach((s) => r(s));
191
+ }), t.events.forEach((o) => {
192
+ var a;
193
+ r(o.logoFile), (a = o.speakers) == null || a.forEach((s) => {
194
+ r(s.photoFile);
195
195
  });
196
- }), Array.from(n).reduce((r, s) => (r[s] = { $ref: `asset+${e}${s}` }, r), {});
196
+ }), Array.from(n).reduce((o, a) => (o[a] = { $ref: `asset+${e}${a}` }, o), {});
197
197
  }
198
- const H = {
198
+ const Z = {
199
199
  schema: "legacy-data",
200
- resolveRef(e) {
201
- return i("legacyDataResolver resolveRef:", e), h(e, async () => {
202
- const t = l(e);
200
+ resolveRef(e, t) {
201
+ return i("legacyDataResolver resolveRef:", e), h(e, t.refCache, async () => {
202
+ const n = l(e);
203
203
  return {
204
- _to_remove_for_offline_to_work_dataUrlBase: t,
205
- legacyAssetUrls: { $ref: `legacy-asset-urls+${t}` }
204
+ _to_remove_for_offline_to_work_dataUrlBase: n,
205
+ legacyAssetUrls: { $ref: `legacy-asset-urls+${n}` }
206
206
  };
207
207
  });
208
208
  },
209
209
  offlineMethod: "resolveRef"
210
- }, K = [
211
- I,
212
- T,
213
- J,
210
+ }, H = [
214
211
  P,
215
- D,
212
+ T,
213
+ U,
216
214
  W,
217
- H,
218
- V
219
- ];
215
+ S,
216
+ D,
217
+ Z,
218
+ G
219
+ ], x = /* @__PURE__ */ new Map();
220
220
  async function m(e, t, n) {
221
- i("Resolving:", t), typeof window < "u" && (window.__lastResolveObject = e);
222
- const o = {
223
- importCallback: n == null ? void 0 : n.importCallback
221
+ i("Resolving:", t, "of", e, n), typeof window < "u" && (window.__lastResolveObject = e);
222
+ const r = {
223
+ importCallback: n == null ? void 0 : n.importCallback,
224
+ refCache: (n == null ? void 0 : n.refCache) || x,
225
+ forceFetch: !!(n != null && n.forceFetch)
224
226
  };
225
227
  if (typeof t != "string")
226
228
  throw new Error(`Invalid JSON Pointer (not a string): ${t}`);
@@ -228,77 +230,77 @@ async function m(e, t, n) {
228
230
  throw new Error(`Invalid JSON Pointer: ${t}`);
229
231
  if (t.length > 1 && t.endsWith("/"))
230
232
  throw new Error(`Invalid JSON Pointer: ${t}`);
231
- let r;
232
- if (t === "/" ? r = [] : r = t.substring(1).split("/"), r.some((s) => s.length === 0))
233
+ let o;
234
+ if (t === "/" ? o = [] : o = t.substring(1).split("/"), o.some((a) => a.length === 0))
233
235
  throw new Error(`Invalid JSON Pointer (empty part): ${t}`);
234
236
  if (n != null && n.mutate) {
235
- r.unshift("root");
236
- const s = { root: e };
237
- await A(s, r, 0, o), te(e, s.root);
237
+ o.unshift("root");
238
+ const a = { root: e };
239
+ await O(a, o, 0, r), ee(e, a.root);
238
240
  } else
239
- return await F(e, r, 0, o);
241
+ return await k(e, o, 0, r);
240
242
  }
241
- async function A(e, t, n, o) {
242
- const r = t[n];
243
- if (await q(e, r, o), n != t.length - 1) {
244
- if (e[r] === null || typeof e[r] != "object")
243
+ async function O(e, t, n, r) {
244
+ const o = t[n];
245
+ if (await K(e, o, r), n != t.length - 1) {
246
+ if (e[o] === null || typeof e[o] != "object")
245
247
  throw new Error(
246
248
  `Cannot resolve path, encountered non-object at part '${t.slice(1).join("/")}', index ${n - 1}'`
247
249
  );
248
- return await A(e[r], t, n + 1, o);
250
+ return await O(e[o], t, n + 1, r);
249
251
  }
250
252
  }
251
- async function q(e, t, n) {
253
+ async function K(e, t, n) {
252
254
  i("resolveObjectMutate:", e, t);
253
- let o = e[t];
254
- const r = await y(o, n);
255
- r !== void 0 && (e[t] = r);
255
+ let r = e[t];
256
+ const o = await p(r, n);
257
+ o !== void 0 && (e[t] = o);
256
258
  }
257
- async function F(e, t, n, o) {
259
+ async function k(e, t, n, r) {
258
260
  if (n === t.length)
259
- return await y(e, o);
261
+ return await p(e, r);
260
262
  if (e === null || typeof e != "object")
261
263
  throw new Error(
262
264
  `Cannot resolve path, encountered non-object at part '${t.join("/")}', index ${n}'`
263
265
  );
264
- const r = t[n];
265
- let s = e[r];
266
- return s === void 0 && (s = (await y(e, o))[r]), await F(s, t, n + 1, o);
266
+ const o = t[n];
267
+ let a = e[o];
268
+ return a === void 0 && (a = (await p(e, r))[o]), await k(a, t, n + 1, r);
267
269
  }
268
- async function y(e, t) {
270
+ async function p(e, t) {
269
271
  i("resolveObject:", e);
270
272
  let n = e;
271
273
  do {
272
274
  if (typeof n != "object" || n === null || !("$ref" in n))
273
275
  return n;
274
- const o = K.filter((s) => j(s, n.$ref));
275
- if (o.length === 0) {
276
+ const r = H.filter((a) => F(a, n.$ref));
277
+ if (r.length === 0) {
276
278
  if (n.$ref)
277
279
  throw new Error(`No resolver found for ref: ${n.$ref}`);
278
280
  return u(n), n;
279
281
  }
280
- if (o.length > 1)
282
+ if (r.length > 1)
281
283
  throw new Error(`Multiple resolvers can resolve ref: ${n.$ref}`);
282
- const r = await Q(o[0], n.$ref, t);
283
- n = ee(r, n);
284
+ const o = await q(r[0], n.$ref, t);
285
+ n = Y(o, n);
284
286
  } while (!0);
285
287
  }
286
- async function Q(e, t, n) {
287
- if (!j(e, t))
288
+ async function q(e, t, n) {
289
+ if (!F(e, t))
288
290
  throw new Error(`Unexpected ref: ${t}`);
289
291
  return e.resolveRef(t, n);
290
292
  }
291
- function j(e, t) {
293
+ function F(e, t) {
292
294
  if (e.canResolve)
293
295
  return e.canResolve(t);
294
296
  if (e.schema)
295
- return X(t, e.schema);
297
+ return Q(t, e.schema);
296
298
  throw new Error("Resolver is missing canResolve method and schema property");
297
299
  }
298
- function X(e, t) {
300
+ function Q(e, t) {
299
301
  const n = [`${t}+`, `${t}:`];
300
- for (const o of n)
301
- if (e.startsWith(o))
302
+ for (const r of n)
303
+ if (e.startsWith(r))
302
304
  return !0;
303
305
  return !1;
304
306
  }
@@ -310,22 +312,22 @@ function l(e) {
310
312
  return e.substring(t + 1);
311
313
  if (n !== -1)
312
314
  return e.substring(n + 1);
313
- const o = e.indexOf(":");
314
- if (o !== -1)
315
- return e.substring(o + 1);
315
+ const r = e.indexOf(":");
316
+ if (r !== -1)
317
+ return e.substring(r + 1);
316
318
  throw new Error(`Error getting URL from: ${e}, no valid prefix found`);
317
319
  }
318
- typeof window < "u" && (window.__debugResolve = async function(t, n, o) {
319
- let r, s, a;
320
- return typeof t == "string" ? (r = window.__lastResolveObject, s = t, a = n) : (r = t, s = n, a = o), await m(r, s, a);
320
+ typeof window < "u" && (window.__debugResolve = async function(t, n, r) {
321
+ let o, a, s;
322
+ return typeof t == "string" ? (o = window.__lastResolveObject, a = t, s = n) : (o = t, a = n, s = r), await m(o, a, s);
321
323
  });
322
324
  function w(e) {
323
325
  return async (t, ...n) => {
324
326
  try {
325
- const s = (await import(await m(t, "/runtime/entry")))[e];
326
- return s(t, ...n);
327
- } catch (o) {
328
- throw console.error("efp-loader", `Error when trying to import and call "${e}":`, o), o;
327
+ const a = (await import(await m(t, "/runtime/entry")))[e];
328
+ return a(t, ...n);
329
+ } catch (r) {
330
+ throw console.error("efp-loader", `Error when trying to import and call "${e}":`, r), r;
329
331
  }
330
332
  };
331
333
  }
@@ -341,32 +343,32 @@ function u(e) {
341
343
  }
342
344
  return e;
343
345
  }
344
- function M(e) {
346
+ function _(e) {
345
347
  return "structuredClone" in globalThis ? globalThis.structuredClone(e) : JSON.parse(JSON.stringify(e));
346
348
  }
347
- function Y(e) {
349
+ function X(e) {
348
350
  if (typeof document > "u") return;
349
351
  const t = document.createElement("link");
350
352
  t.rel = "preconnect", t.href = e, t.crossOrigin = "anonymous", document.head.appendChild(t);
351
353
  }
352
- function ee(e, t) {
354
+ function Y(e, t) {
353
355
  if (e === t) return;
354
356
  if (t === null || typeof t != "object")
355
357
  throw new Error("Cannot merge non-object source");
356
358
  if (Array.isArray(t))
357
359
  throw new Error("Cannot merge arrays");
358
- const n = Object.keys(t).filter((r) => r !== "$ref");
359
- if (n.length === 0) return M(e);
360
+ const n = Object.keys(t).filter((o) => o !== "$ref");
361
+ if (n.length === 0) return _(e);
360
362
  if (Array.isArray(e))
361
363
  throw new Error("Cannot merge into arrays");
362
364
  if (e === null || typeof e != "object")
363
365
  throw new Error("Cannot merge into non-object target");
364
- const o = M({ ...e });
365
- for (const r of n)
366
- o[r] = t[r];
367
- return o;
366
+ const r = _({ ...e });
367
+ for (const o of n)
368
+ r[o] = t[o];
369
+ return r;
368
370
  }
369
- function te(e, t) {
371
+ function ee(e, t) {
370
372
  if (e !== t) {
371
373
  if (t === null || typeof t != "object")
372
374
  throw new Error("Cannot replace with non-object source");
@@ -386,47 +388,47 @@ function te(e, t) {
386
388
  e[n] = t[n];
387
389
  }
388
390
  }
389
- async function ne(e, t, n) {
391
+ async function te(e, t, n) {
390
392
  n = n || {};
391
- for (const o of t)
392
- await m(e, o, { ...n, mutate: !0 });
393
+ for (const r of t)
394
+ await m(e, r, { ...n, mutate: !0 });
393
395
  }
394
- typeof window < "u" && (window.__debugMutateManifest = ne);
395
- async function oe(e) {
396
- const { makeOfflineBundle: t } = await import("./makeOfflineBundle-C2JTPRo2.js");
396
+ typeof window < "u" && (window.__debugMutateManifest = te);
397
+ async function ne(e) {
398
+ const { makeOfflineBundle: t } = await import("./makeOfflineBundle-g0Y3sA2l.js");
397
399
  return await t(e);
398
400
  }
399
401
  async function re(e) {
400
- const { downloadZip: t } = await import("./downloadZip-B3vadhXZ.js");
402
+ const { downloadZip: t } = await import("./downloadZip-DMgeO3fU.js");
401
403
  return await t(e);
402
404
  }
403
- async function se(e) {
404
- const { makeOffline: t } = await import("./makeOffline-DJO3H5Pc.js"), n = await t(e);
405
- for await (const o of (await n).files)
406
- "data" in o ? console.info(`🗳️ Put ${o.targetFilePath} <=`, o.data) : "url" in o && console.info(`🗳️ Download ${o.targetFilePath} <= ${o.url}`);
405
+ async function oe(e) {
406
+ const { makeOffline: t } = await import("./makeOffline-1iGrM4gF.js"), n = await t(e);
407
+ for await (const r of (await n).files)
408
+ "data" in r ? console.info(`🗳️ Put ${r.targetFilePath} <=`, r.data) : "url" in r && console.info(`🗳️ Download ${r.targetFilePath} <= ${r.url}`);
407
409
  console.info("Offline data: ", n.manifest);
408
410
  }
409
- typeof window < "u" && (window.__debugDownloadZip = re, window.__debugMakeOfflineBundle = oe, window.__debugLogOfflineManifestFiles = se);
410
- const le = w("mount"), ce = w("load"), fe = w("initialize");
411
- async function ue(e, t, ...n) {
411
+ typeof window < "u" && (window.__debugDownloadZip = re, window.__debugMakeOfflineBundle = ne, window.__debugLogOfflineManifestFiles = oe);
412
+ const ie = w("mount"), le = w("load"), ce = w("initialize");
413
+ async function fe(e, t, ...n) {
412
414
  return await w(e)(t, ...n);
413
415
  }
414
- Y("https://efp-runtime.expofp.com/");
416
+ X("https://efp-runtime.expofp.com/");
415
417
  export {
416
- ee as a,
417
- Q as b,
418
- j as c,
419
- ue as callFunction_Experimental,
420
- M as d,
418
+ Y as a,
419
+ q as b,
420
+ F as c,
421
+ fe as callFunction_Experimental,
422
+ _ as d,
421
423
  re as downloadZip,
422
- fe as initialize,
424
+ ce as initialize,
423
425
  i as l,
424
- ce as load,
425
- oe as makeOfflineBundle,
426
- le as mount,
427
- ne as mutateManifest,
426
+ le as load,
427
+ ne as makeOfflineBundle,
428
+ ie as mount,
429
+ te as mutateManifest,
428
430
  l as p,
429
- K as r,
431
+ H as r,
430
432
  m as resolve
431
433
  };
432
434
  //# sourceMappingURL=index.js.map