@expofp/loader 1.0.65 → 1.0.78
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/bundle/bundle.js +557 -431
- package/dist/bundle/bundle.js.map +1 -1
- package/dist/bundle/cssTextAssetResolver.offlineFunc-CWvHnYni.js +19 -0
- package/dist/bundle/cssTextAssetResolver.offlineFunc-CWvHnYni.js.map +1 -0
- package/dist/bundle/{downloadOfflineZip-B8tTyZYe.js → downloadOfflineZip-CNz_lUGZ.js} +701 -687
- package/dist/bundle/downloadOfflineZip-CNz_lUGZ.js.map +1 -0
- package/dist/bundle/legacyDataUrlBaseResolver.offlineFunc-DPaSp_zV.js +87 -0
- package/dist/bundle/legacyDataUrlBaseResolver.offlineFunc-DPaSp_zV.js.map +1 -0
- package/dist/bundle/makeOffline-Dj-0o5_7.js +76 -0
- package/dist/bundle/makeOffline-Dj-0o5_7.js.map +1 -0
- package/dist/bundle/makeOfflineBundle-D8tePWGI.js +70 -0
- package/dist/bundle/makeOfflineBundle-D8tePWGI.js.map +1 -0
- package/dist/bundle/tools-D0u8lBvQ.js +102 -0
- package/dist/bundle/tools-D0u8lBvQ.js.map +1 -0
- package/dist/esm/_OLD_fetchWithRetry.d.ts +1 -0
- package/dist/esm/_OLD_fetchWithRetry.js +101 -0
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{loadAndWaitGlobal.d.ts → loadScript.d.ts} +2 -1
- package/dist/esm/{loadAndWaitGlobal.js → loadScript.js} +16 -6
- package/dist/esm/offline/generateZip.js +22 -2
- package/dist/esm/offline/index.d.ts +1 -0
- package/dist/esm/offline/index.js +4 -0
- package/dist/esm/offline/makeOffline.js +11 -3
- package/dist/esm/offline/makeOfflineBundle.js +26 -9
- package/dist/esm/offline/tools.d.ts +1 -0
- package/dist/esm/offline/tools.js +47 -31
- package/dist/esm/resolvers/assetResolver.d.ts +1 -1
- package/dist/esm/resolvers/assetResolver.js +1 -1
- package/dist/esm/resolvers/bundleAssetsResolver.js +1 -1
- package/dist/esm/resolvers/cssTextAssetResolver.d.ts +8 -0
- package/dist/esm/resolvers/cssTextAssetResolver.js +15 -0
- package/dist/esm/resolvers/cssTextAssetResolver.offlineFunc.d.ts +2 -0
- package/dist/esm/resolvers/cssTextAssetResolver.offlineFunc.js +22 -0
- package/dist/esm/resolvers/expoRuntimeBranchResolver.js +1 -1
- package/dist/esm/resolvers/expoRuntimeGetBranchResolver.js +1 -1
- package/dist/esm/resolvers/expoRuntimeResolver.js +1 -1
- package/dist/esm/resolvers/httpResolver.d.ts +1 -1
- package/dist/esm/resolvers/httpResolver.js +1 -1
- package/dist/esm/resolvers/index.js +4 -0
- package/dist/esm/resolvers/legacyAssetUrlsResolver.d.ts +4 -1
- package/dist/esm/resolvers/legacyAssetUrlsResolver.js +5 -2
- package/dist/esm/resolvers/legacyDataResolver.d.ts +4 -1
- package/dist/esm/resolvers/legacyDataResolver.js +4 -1
- package/dist/esm/resolvers/legacyDataUrlBaseResolver.d.ts +8 -0
- package/dist/esm/resolvers/legacyDataUrlBaseResolver.js +15 -0
- package/dist/esm/resolvers/legacyDataUrlBaseResolver.offlineFunc.d.ts +2 -0
- package/dist/esm/resolvers/legacyDataUrlBaseResolver.offlineFunc.js +129 -0
- package/dist/esm/shared.d.ts +1 -0
- package/dist/esm/shared.js +10 -2
- package/dist/esm/types.d.ts +7 -2
- package/package.json +4 -2
- package/dist/bundle/downloadOfflineZip-B8tTyZYe.js.map +0 -1
- package/dist/bundle/makeOffline-DH6wJEem.js +0 -158
- package/dist/bundle/makeOffline-DH6wJEem.js.map +0 -1
- package/dist/bundle/makeOfflineBundle-C-xleVMN.js +0 -58
- package/dist/bundle/makeOfflineBundle-C-xleVMN.js.map +0 -1
package/dist/bundle/bundle.js
CHANGED
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
window.__efpLoaderBuildInfo = ["1.0.
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
return
|
|
5
|
-
}
|
|
6
|
-
var
|
|
7
|
-
function
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var
|
|
14
|
-
if (
|
|
15
|
-
return
|
|
16
|
-
if (
|
|
17
|
-
return
|
|
1
|
+
window.__efpLoaderBuildInfo = ["1.0.78", "2025-12-16T21:38:36.723Z"];
|
|
2
|
+
var Ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
|
+
function x(e) {
|
|
4
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
|
+
}
|
|
6
|
+
var _ = { exports: {} }, T, W;
|
|
7
|
+
function te() {
|
|
8
|
+
if (W) return T;
|
|
9
|
+
W = 1;
|
|
10
|
+
var e = 1e3, r = e * 60, t = r * 60, n = t * 24, o = n * 7, f = n * 365.25;
|
|
11
|
+
T = function(i, a) {
|
|
12
|
+
a = a || {};
|
|
13
|
+
var c = typeof i;
|
|
14
|
+
if (c === "string" && i.length > 0)
|
|
15
|
+
return s(i);
|
|
16
|
+
if (c === "number" && isFinite(i))
|
|
17
|
+
return a.long ? l(i) : y(i);
|
|
18
18
|
throw new Error(
|
|
19
|
-
"val is not a non-empty string or a valid number. val=" + JSON.stringify(
|
|
19
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(i)
|
|
20
20
|
);
|
|
21
21
|
};
|
|
22
|
-
function
|
|
23
|
-
if (
|
|
24
|
-
var
|
|
25
|
-
|
|
22
|
+
function s(i) {
|
|
23
|
+
if (i = String(i), !(i.length > 100)) {
|
|
24
|
+
var a = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
25
|
+
i
|
|
26
26
|
);
|
|
27
|
-
if (
|
|
28
|
-
var
|
|
27
|
+
if (a) {
|
|
28
|
+
var c = parseFloat(a[1]), u = (a[2] || "ms").toLowerCase();
|
|
29
29
|
switch (u) {
|
|
30
30
|
case "years":
|
|
31
31
|
case "year":
|
|
32
32
|
case "yrs":
|
|
33
33
|
case "yr":
|
|
34
34
|
case "y":
|
|
35
|
-
return
|
|
35
|
+
return c * f;
|
|
36
36
|
case "weeks":
|
|
37
37
|
case "week":
|
|
38
38
|
case "w":
|
|
39
|
-
return
|
|
39
|
+
return c * o;
|
|
40
40
|
case "days":
|
|
41
41
|
case "day":
|
|
42
42
|
case "d":
|
|
43
|
-
return
|
|
43
|
+
return c * n;
|
|
44
44
|
case "hours":
|
|
45
45
|
case "hour":
|
|
46
46
|
case "hrs":
|
|
47
47
|
case "hr":
|
|
48
48
|
case "h":
|
|
49
|
-
return
|
|
49
|
+
return c * t;
|
|
50
50
|
case "minutes":
|
|
51
51
|
case "minute":
|
|
52
52
|
case "mins":
|
|
53
53
|
case "min":
|
|
54
54
|
case "m":
|
|
55
|
-
return
|
|
55
|
+
return c * r;
|
|
56
56
|
case "seconds":
|
|
57
57
|
case "second":
|
|
58
58
|
case "secs":
|
|
59
59
|
case "sec":
|
|
60
60
|
case "s":
|
|
61
|
-
return
|
|
61
|
+
return c * e;
|
|
62
62
|
case "milliseconds":
|
|
63
63
|
case "millisecond":
|
|
64
64
|
case "msecs":
|
|
65
65
|
case "msec":
|
|
66
66
|
case "ms":
|
|
67
|
-
return
|
|
67
|
+
return c;
|
|
68
68
|
default:
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
var
|
|
76
|
-
return
|
|
74
|
+
function y(i) {
|
|
75
|
+
var a = Math.abs(i);
|
|
76
|
+
return a >= n ? Math.round(i / n) + "d" : a >= t ? Math.round(i / t) + "h" : a >= r ? Math.round(i / r) + "m" : a >= e ? Math.round(i / e) + "s" : i + "ms";
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
var
|
|
80
|
-
return
|
|
78
|
+
function l(i) {
|
|
79
|
+
var a = Math.abs(i);
|
|
80
|
+
return a >= n ? d(i, a, n, "day") : a >= t ? d(i, a, t, "hour") : a >= r ? d(i, a, r, "minute") : a >= e ? d(i, a, e, "second") : i + " ms";
|
|
81
81
|
}
|
|
82
|
-
function d(
|
|
83
|
-
var h =
|
|
84
|
-
return Math.round(
|
|
82
|
+
function d(i, a, c, u) {
|
|
83
|
+
var h = a >= c * 1.5;
|
|
84
|
+
return Math.round(i / c) + " " + u + (h ? "s" : "");
|
|
85
85
|
}
|
|
86
|
-
return
|
|
87
|
-
}
|
|
88
|
-
var
|
|
89
|
-
function
|
|
90
|
-
if (
|
|
91
|
-
|
|
92
|
-
function r
|
|
93
|
-
n.debug = n, n.default = n, n.coerce = d, n.disable =
|
|
94
|
-
n[
|
|
86
|
+
return T;
|
|
87
|
+
}
|
|
88
|
+
var B, z;
|
|
89
|
+
function ne() {
|
|
90
|
+
if (z) return B;
|
|
91
|
+
z = 1;
|
|
92
|
+
function e(r) {
|
|
93
|
+
n.debug = n, n.default = n, n.coerce = d, n.disable = y, n.enable = f, n.enabled = l, n.humanize = te(), n.destroy = i, Object.keys(r).forEach((a) => {
|
|
94
|
+
n[a] = r[a];
|
|
95
95
|
}), n.names = [], n.skips = [], n.formatters = {};
|
|
96
|
-
function t(
|
|
97
|
-
let
|
|
98
|
-
for (let u = 0; u <
|
|
99
|
-
|
|
100
|
-
return n.colors[Math.abs(
|
|
96
|
+
function t(a) {
|
|
97
|
+
let c = 0;
|
|
98
|
+
for (let u = 0; u < a.length; u++)
|
|
99
|
+
c = (c << 5) - c + a.charCodeAt(u), c |= 0;
|
|
100
|
+
return n.colors[Math.abs(c) % n.colors.length];
|
|
101
101
|
}
|
|
102
102
|
n.selectColor = t;
|
|
103
|
-
function n(
|
|
104
|
-
let
|
|
105
|
-
function
|
|
106
|
-
if (!
|
|
103
|
+
function n(a) {
|
|
104
|
+
let c, u = null, h, g;
|
|
105
|
+
function C(...p) {
|
|
106
|
+
if (!C.enabled)
|
|
107
107
|
return;
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
let
|
|
111
|
-
|
|
112
|
-
if (
|
|
108
|
+
const w = C, F = Number(/* @__PURE__ */ new Date()), m = F - (c || F);
|
|
109
|
+
w.diff = m, w.prev = c, w.curr = F, c = F, p[0] = n.coerce(p[0]), typeof p[0] != "string" && p.unshift("%O");
|
|
110
|
+
let v = 0;
|
|
111
|
+
p[0] = p[0].replace(/%([a-zA-Z%])/g, (E, ee) => {
|
|
112
|
+
if (E === "%%")
|
|
113
113
|
return "%";
|
|
114
|
-
|
|
115
|
-
const
|
|
116
|
-
if (typeof
|
|
117
|
-
const
|
|
118
|
-
|
|
114
|
+
v++;
|
|
115
|
+
const U = n.formatters[ee];
|
|
116
|
+
if (typeof U == "function") {
|
|
117
|
+
const re = p[v];
|
|
118
|
+
E = U.call(w, re), p.splice(v, 1), v--;
|
|
119
119
|
}
|
|
120
|
-
return
|
|
121
|
-
}), n.formatArgs.call(
|
|
120
|
+
return E;
|
|
121
|
+
}), n.formatArgs.call(w, p), (w.log || n.log).apply(w, p);
|
|
122
122
|
}
|
|
123
|
-
return
|
|
123
|
+
return C.namespace = a, C.useColors = n.useColors(), C.color = n.selectColor(a), C.extend = o, C.destroy = n.destroy, Object.defineProperty(C, "enabled", {
|
|
124
124
|
enumerable: !0,
|
|
125
125
|
configurable: !1,
|
|
126
|
-
get: () => u !== null ? u : (h !== n.namespaces && (h = n.namespaces, g = n.enabled(
|
|
127
|
-
set: (
|
|
128
|
-
u =
|
|
126
|
+
get: () => u !== null ? u : (h !== n.namespaces && (h = n.namespaces, g = n.enabled(a)), g),
|
|
127
|
+
set: (p) => {
|
|
128
|
+
u = p;
|
|
129
129
|
}
|
|
130
|
-
}), typeof n.init == "function" && n.init(
|
|
130
|
+
}), typeof n.init == "function" && n.init(C), C;
|
|
131
131
|
}
|
|
132
|
-
function o(
|
|
133
|
-
const u = n(this.namespace + (typeof
|
|
132
|
+
function o(a, c) {
|
|
133
|
+
const u = n(this.namespace + (typeof c > "u" ? ":" : c) + a);
|
|
134
134
|
return u.log = this.log, u;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
n.save(
|
|
138
|
-
const
|
|
139
|
-
for (const u of
|
|
136
|
+
function f(a) {
|
|
137
|
+
n.save(a), n.namespaces = a, n.names = [], n.skips = [];
|
|
138
|
+
const c = (typeof a == "string" ? a : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
139
|
+
for (const u of c)
|
|
140
140
|
u[0] === "-" ? n.skips.push(u.slice(1)) : n.names.push(u);
|
|
141
141
|
}
|
|
142
|
-
function a
|
|
143
|
-
let u = 0, h = 0, g = -1,
|
|
144
|
-
for (; u <
|
|
145
|
-
if (h <
|
|
146
|
-
|
|
142
|
+
function s(a, c) {
|
|
143
|
+
let u = 0, h = 0, g = -1, C = 0;
|
|
144
|
+
for (; u < a.length; )
|
|
145
|
+
if (h < c.length && (c[h] === a[u] || c[h] === "*"))
|
|
146
|
+
c[h] === "*" ? (g = h, C = u, h++) : (u++, h++);
|
|
147
147
|
else if (g !== -1)
|
|
148
|
-
h = g + 1,
|
|
148
|
+
h = g + 1, C++, u = C;
|
|
149
149
|
else
|
|
150
150
|
return !1;
|
|
151
|
-
for (; h <
|
|
151
|
+
for (; h < c.length && c[h] === "*"; )
|
|
152
152
|
h++;
|
|
153
|
-
return h ===
|
|
153
|
+
return h === c.length;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
const
|
|
155
|
+
function y() {
|
|
156
|
+
const a = [
|
|
157
157
|
...n.names,
|
|
158
|
-
...n.skips.map((
|
|
158
|
+
...n.skips.map((c) => "-" + c)
|
|
159
159
|
].join(",");
|
|
160
|
-
return n.enable(""),
|
|
160
|
+
return n.enable(""), a;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
for (const
|
|
164
|
-
if (a
|
|
162
|
+
function l(a) {
|
|
163
|
+
for (const c of n.skips)
|
|
164
|
+
if (s(a, c))
|
|
165
165
|
return !1;
|
|
166
|
-
for (const
|
|
167
|
-
if (a
|
|
166
|
+
for (const c of n.names)
|
|
167
|
+
if (s(a, c))
|
|
168
168
|
return !0;
|
|
169
169
|
return !1;
|
|
170
170
|
}
|
|
171
|
-
function d(
|
|
172
|
-
return
|
|
171
|
+
function d(a) {
|
|
172
|
+
return a instanceof Error ? a.stack || a.message : a;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function i() {
|
|
175
175
|
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
176
176
|
}
|
|
177
177
|
return n.enable(n.load()), n;
|
|
178
178
|
}
|
|
179
|
-
return
|
|
179
|
+
return B = e, B;
|
|
180
180
|
}
|
|
181
|
-
var
|
|
182
|
-
function
|
|
183
|
-
return
|
|
184
|
-
|
|
185
|
-
let
|
|
181
|
+
var q;
|
|
182
|
+
function oe() {
|
|
183
|
+
return q || (q = 1, (function(e, r) {
|
|
184
|
+
r.formatArgs = n, r.save = o, r.load = f, r.useColors = t, r.storage = s(), r.destroy = /* @__PURE__ */ (() => {
|
|
185
|
+
let l = !1;
|
|
186
186
|
return () => {
|
|
187
|
-
|
|
187
|
+
l || (l = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
|
|
188
188
|
};
|
|
189
|
-
})(),
|
|
189
|
+
})(), r.colors = [
|
|
190
190
|
"#0000CC",
|
|
191
191
|
"#0000FF",
|
|
192
192
|
"#0033CC",
|
|
@@ -269,148 +269,157 @@ function x() {
|
|
|
269
269
|
return !0;
|
|
270
270
|
if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))
|
|
271
271
|
return !1;
|
|
272
|
-
let
|
|
272
|
+
let l;
|
|
273
273
|
return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
274
274
|
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
275
275
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
276
|
-
typeof navigator < "u" && navigator.userAgent && (
|
|
276
|
+
typeof navigator < "u" && navigator.userAgent && (l = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(l[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
277
277
|
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
278
278
|
}
|
|
279
|
-
function n(
|
|
280
|
-
if (
|
|
279
|
+
function n(l) {
|
|
280
|
+
if (l[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + l[0] + (this.useColors ? "%c " : " ") + "+" + e.exports.humanize(this.diff), !this.useColors)
|
|
281
281
|
return;
|
|
282
282
|
const d = "color: " + this.color;
|
|
283
|
-
|
|
284
|
-
let
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}),
|
|
283
|
+
l.splice(1, 0, d, "color: inherit");
|
|
284
|
+
let i = 0, a = 0;
|
|
285
|
+
l[0].replace(/%[a-zA-Z%]/g, (c) => {
|
|
286
|
+
c !== "%%" && (i++, c === "%c" && (a = i));
|
|
287
|
+
}), l.splice(a, 0, d);
|
|
288
288
|
}
|
|
289
|
-
|
|
289
|
+
r.log = console.debug || console.log || (() => {
|
|
290
290
|
});
|
|
291
|
-
function o(
|
|
291
|
+
function o(l) {
|
|
292
292
|
try {
|
|
293
|
-
|
|
293
|
+
l ? r.storage.setItem("debug", l) : r.storage.removeItem("debug");
|
|
294
294
|
} catch {
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
let
|
|
297
|
+
function f() {
|
|
298
|
+
let l;
|
|
299
299
|
try {
|
|
300
|
-
|
|
300
|
+
l = r.storage.getItem("debug") || r.storage.getItem("DEBUG");
|
|
301
301
|
} catch {
|
|
302
302
|
}
|
|
303
|
-
return !
|
|
303
|
+
return !l && typeof process < "u" && "env" in process && (l = process.env.DEBUG), l;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function s() {
|
|
306
306
|
try {
|
|
307
307
|
return localStorage;
|
|
308
308
|
} catch {
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
|
|
312
|
-
const { formatters:
|
|
313
|
-
|
|
311
|
+
e.exports = ne()(r);
|
|
312
|
+
const { formatters: y } = e.exports;
|
|
313
|
+
y.j = function(l) {
|
|
314
314
|
try {
|
|
315
|
-
return JSON.stringify(
|
|
315
|
+
return JSON.stringify(l);
|
|
316
316
|
} catch (d) {
|
|
317
317
|
return "[UnexpectedJSONParseError]: " + d.message;
|
|
318
318
|
}
|
|
319
319
|
};
|
|
320
|
-
})(
|
|
320
|
+
})(_, _.exports)), _.exports;
|
|
321
321
|
}
|
|
322
|
-
var
|
|
323
|
-
const
|
|
324
|
-
function
|
|
325
|
-
|
|
322
|
+
var se = oe();
|
|
323
|
+
const I = /* @__PURE__ */ x(se), ae = I("efp:loader");
|
|
324
|
+
function b(...e) {
|
|
325
|
+
ae(...e);
|
|
326
326
|
}
|
|
327
|
-
function
|
|
328
|
-
return
|
|
327
|
+
function ie(e) {
|
|
328
|
+
return b("assetResolver resolveRef:", e), $(e);
|
|
329
329
|
}
|
|
330
|
-
const
|
|
330
|
+
const ce = {
|
|
331
331
|
schema: "asset",
|
|
332
|
-
resolveRef: async (
|
|
333
|
-
|
|
332
|
+
resolveRef: async (e) => ie(e),
|
|
333
|
+
offlineFunc: "localizeRef"
|
|
334
334
|
};
|
|
335
335
|
let A;
|
|
336
|
-
const
|
|
337
|
-
async function
|
|
338
|
-
var n, o,
|
|
339
|
-
if ((n =
|
|
340
|
-
return
|
|
341
|
-
if (A === void 0 && !
|
|
336
|
+
const fe = /* @__PURE__ */ new WeakSet(), Z = new Function("url", 'return import(url, { with: { type: "json" } });');
|
|
337
|
+
async function j(e, r) {
|
|
338
|
+
var n, o, f;
|
|
339
|
+
if ((n = r.preResolvedRefs) != null && n.has(e))
|
|
340
|
+
return b("importJson: using preResolvedRefs for", e), r.preResolvedRefs.get(e);
|
|
341
|
+
if (A === void 0 && !r.forceFetch)
|
|
342
342
|
try {
|
|
343
|
-
await
|
|
343
|
+
await Z(e), A = !1;
|
|
344
344
|
} catch {
|
|
345
|
-
|
|
345
|
+
b("importJson: dynamic import not available, falling back to fetch"), A = !0;
|
|
346
346
|
}
|
|
347
347
|
let t;
|
|
348
|
-
return !A && !
|
|
348
|
+
return !A && !r.forceFetch ? (t = (await Z(e)).default, (o = r.importCallback) == null || o.call(r, e, "json")) : (b("importJson: fetch", e), t = await le(e, r.refCache, r.signal || null), (f = r.importCallback) == null || f.call(r, e, "json")), fe.has(t) || O(t), t;
|
|
349
349
|
}
|
|
350
|
-
async function
|
|
351
|
-
const n = "__loadJson__" +
|
|
352
|
-
if (
|
|
353
|
-
return
|
|
350
|
+
async function le(e, r, t) {
|
|
351
|
+
const n = "__loadJson__" + e;
|
|
352
|
+
if (r.has(n))
|
|
353
|
+
return r.get(n);
|
|
354
354
|
const o = (async function() {
|
|
355
|
-
const
|
|
356
|
-
if (!
|
|
357
|
-
throw new Error(`Failed to fetch JSON from ${
|
|
358
|
-
return await
|
|
355
|
+
const s = await fetch(e, { signal: t });
|
|
356
|
+
if (!s.ok)
|
|
357
|
+
throw new Error(`Failed to fetch JSON from ${e}`);
|
|
358
|
+
return await s.json();
|
|
359
359
|
})();
|
|
360
|
-
return
|
|
360
|
+
return r.set(n, o), o;
|
|
361
361
|
}
|
|
362
|
-
async function
|
|
363
|
-
if (
|
|
364
|
-
return
|
|
365
|
-
const n = t().then((o) => (
|
|
366
|
-
return
|
|
362
|
+
async function M(e, r, t) {
|
|
363
|
+
if (r.has(e))
|
|
364
|
+
return r.get(e);
|
|
365
|
+
const n = t().then((o) => (O(o), o));
|
|
366
|
+
return r.set(e, n), n;
|
|
367
367
|
}
|
|
368
|
-
const
|
|
368
|
+
const ue = {
|
|
369
369
|
schema: "bundle-assets",
|
|
370
|
-
async resolveRef(
|
|
371
|
-
|
|
372
|
-
const t = $(
|
|
373
|
-
return
|
|
374
|
-
const n = await
|
|
375
|
-
return n.map((
|
|
376
|
-
$ref: `asset+${o}${
|
|
370
|
+
async resolveRef(e, r) {
|
|
371
|
+
b("bundleAssetsResolver resolveRef:", e);
|
|
372
|
+
const t = $(e);
|
|
373
|
+
return M(e, r.refCache, async () => {
|
|
374
|
+
const n = await j(t, r), o = t.substring(0, t.lastIndexOf("/") + 1);
|
|
375
|
+
return n.map((s) => ({
|
|
376
|
+
$ref: `asset+${o}${s}`
|
|
377
377
|
}));
|
|
378
378
|
});
|
|
379
379
|
},
|
|
380
|
-
|
|
381
|
-
},
|
|
380
|
+
offlineFunc: "localizeRef"
|
|
381
|
+
}, de = I("efp:loader:resolver:cssTextAsset"), he = "css-text-asset", we = {
|
|
382
|
+
schema: he,
|
|
383
|
+
resolveRef(e) {
|
|
384
|
+
return de("cssTextAssetResolver resolveRef:", e), Promise.resolve($(e));
|
|
385
|
+
},
|
|
386
|
+
offlineFunc: async function* (e, r) {
|
|
387
|
+
const { offlineFunc: t } = await import("./cssTextAssetResolver.offlineFunc-CWvHnYni.js");
|
|
388
|
+
return yield* t(e, r);
|
|
389
|
+
}
|
|
390
|
+
}, ye = "https://efp-runtime.expofp.com/", pe = {
|
|
382
391
|
schema: "expo-runtime-branch",
|
|
383
|
-
async resolveRef(
|
|
384
|
-
|
|
385
|
-
const t = $(
|
|
386
|
-
return
|
|
387
|
-
const { release: o } = await
|
|
392
|
+
async resolveRef(e, r) {
|
|
393
|
+
b("expoRuntimeBranchResolver resolveRef:", e);
|
|
394
|
+
const t = $(e), n = `${ye}branches/${t}.json`;
|
|
395
|
+
return M(e, r.refCache, async () => {
|
|
396
|
+
const { release: o } = await j(n, r);
|
|
388
397
|
return {
|
|
389
398
|
$ref: `expo-runtime+https://efp-runtime.expofp.com/releases/${o}/`
|
|
390
399
|
};
|
|
391
400
|
});
|
|
392
401
|
},
|
|
393
|
-
|
|
394
|
-
},
|
|
402
|
+
offlineFunc: "resolveRef"
|
|
403
|
+
}, me = {
|
|
395
404
|
schema: "expo-runtime-get-branch",
|
|
396
|
-
async resolveRef(
|
|
397
|
-
|
|
398
|
-
const n = `https://${$(
|
|
399
|
-
return
|
|
405
|
+
async resolveRef(e, r) {
|
|
406
|
+
b("expoRuntimeGetBranchResolver resolveRef:", e);
|
|
407
|
+
const n = `https://${$(e)}.expofp.com/get-branch`;
|
|
408
|
+
return j(n, r);
|
|
400
409
|
},
|
|
401
|
-
|
|
402
|
-
},
|
|
410
|
+
offlineFunc: "resolveRef"
|
|
411
|
+
}, ve = {
|
|
403
412
|
schema: "expo-runtime",
|
|
404
413
|
// canResolve(ref: string) {
|
|
405
414
|
// return canResolveRefSchema(ref, SCHEMA);
|
|
406
415
|
// },
|
|
407
|
-
async resolveRef(
|
|
408
|
-
|
|
409
|
-
const
|
|
410
|
-
entry: { $ref: `asset+${
|
|
411
|
-
assets: { $ref: `bundle-assets+${
|
|
416
|
+
async resolveRef(e) {
|
|
417
|
+
b("expoRuntimeResolver resolveRef:", e);
|
|
418
|
+
const r = $(e), t = {
|
|
419
|
+
entry: { $ref: `asset+${r}expofp.js` },
|
|
420
|
+
assets: { $ref: `bundle-assets+${r}bundle.json` }
|
|
412
421
|
};
|
|
413
|
-
return
|
|
422
|
+
return O(t), t;
|
|
414
423
|
},
|
|
415
424
|
// async *makeOfflineRef(ref: string) {
|
|
416
425
|
// log('expoRuntimeResolver makeOfflineRef:', ref);
|
|
@@ -429,419 +438,536 @@ const ie = {
|
|
|
429
438
|
// yield { data, targetFilePath };
|
|
430
439
|
// return targetFilePath;
|
|
431
440
|
// },
|
|
432
|
-
|
|
433
|
-
},
|
|
434
|
-
canResolve(
|
|
435
|
-
return
|
|
441
|
+
offlineFunc: "resolveRef"
|
|
442
|
+
}, Ce = {
|
|
443
|
+
canResolve(e) {
|
|
444
|
+
return e.startsWith("http://") || e.startsWith("https://") || e.startsWith("./");
|
|
436
445
|
},
|
|
437
|
-
resolveRef(
|
|
438
|
-
if (
|
|
439
|
-
return
|
|
446
|
+
resolveRef(e, r) {
|
|
447
|
+
if (b("httpResolver resolveRef:", e), !this.canResolve(e)) throw new Error(`Unexpected ref in httpResolver: ${e}`);
|
|
448
|
+
return j(e, r);
|
|
440
449
|
},
|
|
441
|
-
|
|
450
|
+
offlineFunc: "resolveRef"
|
|
442
451
|
};
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
452
|
+
var D = { exports: {} }, be = D.exports, S;
|
|
453
|
+
function ge() {
|
|
454
|
+
return S || (S = 1, (function(e, r) {
|
|
455
|
+
(function(t, n) {
|
|
456
|
+
e.exports = n();
|
|
457
|
+
})(be, (function() {
|
|
458
|
+
var t = function(f, s) {
|
|
459
|
+
if (s = s || {}, typeof f != "function")
|
|
460
|
+
throw new o("fetch must be a function");
|
|
461
|
+
if (typeof s != "object")
|
|
462
|
+
throw new o("defaults must be an object");
|
|
463
|
+
if (s.retries !== void 0 && !n(s.retries))
|
|
464
|
+
throw new o("retries must be a positive integer");
|
|
465
|
+
if (s.retryDelay !== void 0 && !n(s.retryDelay) && typeof s.retryDelay != "function")
|
|
466
|
+
throw new o("retryDelay must be a positive integer or a function returning a positive integer");
|
|
467
|
+
if (s.retryOn !== void 0 && !Array.isArray(s.retryOn) && typeof s.retryOn != "function")
|
|
468
|
+
throw new o("retryOn property expects an array or function");
|
|
469
|
+
var y = {
|
|
470
|
+
retries: 3,
|
|
471
|
+
retryDelay: 1e3,
|
|
472
|
+
retryOn: []
|
|
473
|
+
};
|
|
474
|
+
return s = Object.assign(y, s), function(d, i) {
|
|
475
|
+
var a = s.retries, c = s.retryDelay, u = s.retryOn;
|
|
476
|
+
if (i && i.retries !== void 0)
|
|
477
|
+
if (n(i.retries))
|
|
478
|
+
a = i.retries;
|
|
479
|
+
else
|
|
480
|
+
throw new o("retries must be a positive integer");
|
|
481
|
+
if (i && i.retryDelay !== void 0)
|
|
482
|
+
if (n(i.retryDelay) || typeof i.retryDelay == "function")
|
|
483
|
+
c = i.retryDelay;
|
|
484
|
+
else
|
|
485
|
+
throw new o("retryDelay must be a positive integer or a function returning a positive integer");
|
|
486
|
+
if (i && i.retryOn)
|
|
487
|
+
if (Array.isArray(i.retryOn) || typeof i.retryOn == "function")
|
|
488
|
+
u = i.retryOn;
|
|
489
|
+
else
|
|
490
|
+
throw new o("retryOn property expects an array or function");
|
|
491
|
+
return new Promise(function(h, g) {
|
|
492
|
+
var C = function(w) {
|
|
493
|
+
var F = typeof Request < "u" && d instanceof Request ? d.clone() : d;
|
|
494
|
+
f(F, i).then(function(m) {
|
|
495
|
+
if (Array.isArray(u) && u.indexOf(m.status) === -1)
|
|
496
|
+
h(m);
|
|
497
|
+
else if (typeof u == "function")
|
|
498
|
+
try {
|
|
499
|
+
return Promise.resolve(u(w, null, m)).then(function(v) {
|
|
500
|
+
v ? p(w, null, m) : h(m);
|
|
501
|
+
}).catch(g);
|
|
502
|
+
} catch (v) {
|
|
503
|
+
g(v);
|
|
504
|
+
}
|
|
505
|
+
else
|
|
506
|
+
w < a ? p(w, null, m) : h(m);
|
|
507
|
+
}).catch(function(m) {
|
|
508
|
+
if (typeof u == "function")
|
|
509
|
+
try {
|
|
510
|
+
Promise.resolve(u(w, m, null)).then(function(v) {
|
|
511
|
+
v ? p(w, m, null) : g(m);
|
|
512
|
+
}).catch(function(v) {
|
|
513
|
+
g(v);
|
|
514
|
+
});
|
|
515
|
+
} catch (v) {
|
|
516
|
+
g(v);
|
|
517
|
+
}
|
|
518
|
+
else w < a ? p(w, m, null) : g(m);
|
|
519
|
+
});
|
|
520
|
+
};
|
|
521
|
+
function p(w, F, m) {
|
|
522
|
+
var v = typeof c == "function" ? c(w, F, m) : c;
|
|
523
|
+
setTimeout(function() {
|
|
524
|
+
C(++w);
|
|
525
|
+
}, v);
|
|
526
|
+
}
|
|
527
|
+
C(0);
|
|
528
|
+
});
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
function n(f) {
|
|
532
|
+
return Number.isInteger(f) && f >= 0;
|
|
533
|
+
}
|
|
534
|
+
function o(f) {
|
|
535
|
+
this.name = "ArgumentError", this.message = f;
|
|
536
|
+
}
|
|
537
|
+
return t;
|
|
538
|
+
}));
|
|
539
|
+
})(D)), D.exports;
|
|
540
|
+
}
|
|
541
|
+
var Fe = ge();
|
|
542
|
+
const Re = /* @__PURE__ */ x(Fe), $e = Re(fetch), Ee = I("efp:loader:loadScript");
|
|
543
|
+
async function k(e, r) {
|
|
544
|
+
const { globalVar: t, timeoutMs: n = 1e4, pollIntervalMs: o = 10 } = r;
|
|
545
|
+
G() ? (t && window[t] !== void 0 && delete window[t], await H(e, r.signal), t && await V(
|
|
446
546
|
() => window[t],
|
|
447
547
|
t,
|
|
448
548
|
n,
|
|
449
549
|
o,
|
|
450
|
-
|
|
451
|
-
)) : (t && globalThis[t] !== void 0 && delete globalThis[t], await
|
|
550
|
+
r.signal
|
|
551
|
+
)) : (t && globalThis[t] !== void 0 && delete globalThis[t], await K(e, r.signal), t && await V(
|
|
452
552
|
() => globalThis[t],
|
|
453
553
|
t,
|
|
454
554
|
n,
|
|
455
555
|
o,
|
|
456
|
-
|
|
556
|
+
r.signal
|
|
457
557
|
));
|
|
458
558
|
}
|
|
459
|
-
function
|
|
559
|
+
function G() {
|
|
460
560
|
return typeof window < "u" && typeof document < "u";
|
|
461
561
|
}
|
|
462
|
-
function
|
|
562
|
+
async function Se(e, r) {
|
|
563
|
+
Ee("Loading", e), G() ? await H(e, r) : await K(e, r);
|
|
564
|
+
}
|
|
565
|
+
function H(e, r) {
|
|
463
566
|
return new Promise((t, n) => {
|
|
464
567
|
const o = document.createElement("script");
|
|
465
|
-
o.src =
|
|
466
|
-
const
|
|
568
|
+
o.src = e, o.async = !0;
|
|
569
|
+
const f = () => {
|
|
467
570
|
o.onload = null, o.onerror = null, o.remove();
|
|
468
|
-
},
|
|
469
|
-
|
|
571
|
+
}, s = () => {
|
|
572
|
+
f(), n(new Error("Script load aborted"));
|
|
470
573
|
};
|
|
471
|
-
if (
|
|
472
|
-
|
|
574
|
+
if (r != null && r.aborted) {
|
|
575
|
+
f(), n(new Error("Script load aborted"));
|
|
473
576
|
return;
|
|
474
577
|
}
|
|
475
|
-
|
|
476
|
-
|
|
578
|
+
r == null || r.addEventListener("abort", s, { once: !0 }), o.onload = () => {
|
|
579
|
+
r == null || r.removeEventListener("abort", s), f(), t();
|
|
477
580
|
}, o.onerror = () => {
|
|
478
|
-
|
|
581
|
+
r == null || r.removeEventListener("abort", s), f(), n(new Error(`Failed to load script: ${e}`));
|
|
479
582
|
}, document.head.appendChild(o);
|
|
480
583
|
});
|
|
481
584
|
}
|
|
482
|
-
async function
|
|
483
|
-
if (
|
|
484
|
-
throw new Error("loadInNode: fetch is not available. Use Node 18+ or provide a global fetch.");
|
|
485
|
-
if (e != null && e.aborted)
|
|
585
|
+
async function K(e, r) {
|
|
586
|
+
if (r != null && r.aborted)
|
|
486
587
|
throw new Error("Script load aborted");
|
|
487
588
|
let t;
|
|
488
589
|
try {
|
|
489
|
-
t = await
|
|
490
|
-
} catch (
|
|
491
|
-
throw
|
|
590
|
+
t = await $e(e, { signal: r });
|
|
591
|
+
} catch (s) {
|
|
592
|
+
throw s && s.name === "AbortError" ? new Error("Script load aborted") : s;
|
|
492
593
|
}
|
|
493
594
|
if (!t.ok)
|
|
494
|
-
throw new Error(`Failed to load script in Node (HTTP ${t.status}): ${
|
|
495
|
-
if (
|
|
595
|
+
throw new Error(`Failed to load script in Node (HTTP ${t.status}): ${e}`);
|
|
596
|
+
if (r != null && r.aborted)
|
|
496
597
|
throw new Error("Script load aborted");
|
|
497
598
|
let n;
|
|
498
599
|
try {
|
|
499
600
|
n = await t.text();
|
|
500
|
-
} catch (
|
|
501
|
-
throw
|
|
601
|
+
} catch (s) {
|
|
602
|
+
throw s && s.name === "AbortError" ? new Error("Script load aborted") : s;
|
|
502
603
|
}
|
|
503
|
-
if (
|
|
604
|
+
if (r != null && r.aborted)
|
|
504
605
|
throw new Error("Script load aborted");
|
|
505
|
-
const o = globalThis,
|
|
606
|
+
const o = globalThis, f = o.window;
|
|
506
607
|
o.window = o;
|
|
507
608
|
try {
|
|
508
609
|
(0, eval)(n);
|
|
509
610
|
} finally {
|
|
510
|
-
|
|
611
|
+
f === void 0 ? delete o.window : o.window = f;
|
|
511
612
|
}
|
|
512
613
|
}
|
|
513
|
-
function
|
|
514
|
-
return new Promise((
|
|
515
|
-
const
|
|
516
|
-
|
|
614
|
+
function V(e, r, t, n, o) {
|
|
615
|
+
return new Promise((f, s) => {
|
|
616
|
+
const y = Date.now(), l = () => {
|
|
617
|
+
s(new Error("Wait for global aborted"));
|
|
517
618
|
};
|
|
518
619
|
if (o != null && o.aborted) {
|
|
519
|
-
|
|
620
|
+
s(new Error("Wait for global aborted"));
|
|
520
621
|
return;
|
|
521
622
|
}
|
|
522
|
-
o == null || o.addEventListener("abort",
|
|
623
|
+
o == null || o.addEventListener("abort", l, { once: !0 });
|
|
523
624
|
const d = () => {
|
|
524
625
|
if (o != null && o.aborted)
|
|
525
|
-
return
|
|
626
|
+
return s(new Error("Wait for global aborted"));
|
|
526
627
|
try {
|
|
527
|
-
if (
|
|
528
|
-
return o == null || o.removeEventListener("abort",
|
|
628
|
+
if (e() !== void 0)
|
|
629
|
+
return o == null || o.removeEventListener("abort", l), f();
|
|
529
630
|
} catch {
|
|
530
631
|
}
|
|
531
|
-
if (Date.now() -
|
|
532
|
-
return o == null || o.removeEventListener("abort",
|
|
632
|
+
if (Date.now() - y >= t)
|
|
633
|
+
return o == null || o.removeEventListener("abort", l), s(new Error(`Timed out after ${t} ms waiting for global "${r}"`));
|
|
533
634
|
setTimeout(d, n);
|
|
534
635
|
};
|
|
535
636
|
d();
|
|
536
637
|
});
|
|
537
638
|
}
|
|
538
|
-
const
|
|
639
|
+
const Oe = {
|
|
539
640
|
schema: "legacy-asset-urls",
|
|
540
|
-
resolveRef(
|
|
541
|
-
|
|
542
|
-
const t =
|
|
543
|
-
return
|
|
544
|
-
var
|
|
545
|
-
const n = $(
|
|
641
|
+
resolveRef(e, r) {
|
|
642
|
+
b("legacyAssetUrlsResolver resolveRef:", e);
|
|
643
|
+
const t = r.signal;
|
|
644
|
+
return M(e, r.refCache, async () => {
|
|
645
|
+
var p, w, F, m, v;
|
|
646
|
+
const n = $(e), o = `${n}version.js`;
|
|
546
647
|
try {
|
|
547
648
|
await k(o, {
|
|
548
649
|
globalVar: "__fpDataVersion",
|
|
549
650
|
timeoutMs: 3e4,
|
|
550
651
|
signal: t
|
|
551
|
-
}), (
|
|
652
|
+
}), (p = r.importCallback) == null || p.call(r, o, "script");
|
|
552
653
|
} catch {
|
|
553
654
|
console.warn(`Could not load version.js at ${o}, proceeding without it`);
|
|
554
655
|
}
|
|
555
|
-
const
|
|
656
|
+
const f = globalThis.__fpDataVersion || (+/* @__PURE__ */ new Date()).toString(), s = `${n}data.js?v=${f}`, y = k(s, {
|
|
556
657
|
globalVar: "__data",
|
|
557
658
|
signal: t
|
|
558
659
|
});
|
|
559
|
-
(
|
|
560
|
-
const
|
|
660
|
+
(w = r.importCallback) == null || w.call(r, s, "script");
|
|
661
|
+
const l = `${n}wf.data.js?v=${f}`, d = k(l, {
|
|
561
662
|
globalVar: "__wfData",
|
|
562
663
|
signal: t
|
|
563
664
|
}).then(() => {
|
|
564
|
-
var
|
|
565
|
-
(
|
|
665
|
+
var R;
|
|
666
|
+
(R = r.importCallback) == null || R.call(r, l, "script");
|
|
566
667
|
}).catch(() => {
|
|
567
|
-
console.warn(`Could not load wf.data.js at ${
|
|
668
|
+
console.warn(`Could not load wf.data.js at ${l}, proceeding without it`);
|
|
568
669
|
});
|
|
569
670
|
delete globalThis.__fpLayers;
|
|
570
|
-
const
|
|
671
|
+
const i = `${n}fp.svg.js?v=${f}`, a = k(i, {
|
|
571
672
|
globalVar: "__fp",
|
|
572
673
|
signal: t
|
|
573
674
|
});
|
|
574
|
-
(F =
|
|
575
|
-
const u = ((
|
|
576
|
-
for (const
|
|
577
|
-
const
|
|
578
|
-
(
|
|
675
|
+
(F = r.importCallback) == null || F.call(r, i, "script"), await Promise.all([y, d, a]);
|
|
676
|
+
const u = ((m = globalThis.__fpLayers) != null ? m : []).map((R) => `fp.svg.${R.name}.js`);
|
|
677
|
+
for (const R of u) {
|
|
678
|
+
const E = `${n}${R}?v=${f}`;
|
|
679
|
+
(v = r.importCallback) == null || v.call(r, E, "script");
|
|
579
680
|
}
|
|
580
681
|
const h = globalThis.__data || {};
|
|
581
|
-
return { ...["data.js", "wf.data.js", "fp.svg.js", ...u].reduce((
|
|
682
|
+
return { ...["data.js", "wf.data.js", "fp.svg.js", ...u].reduce((R, E) => (R[E] = { $ref: `asset+${n}${E}?v=${f}` }, R), {}), ..._e(n, h) };
|
|
582
683
|
});
|
|
583
684
|
},
|
|
584
|
-
|
|
685
|
+
offlineFunc: "resolveRef"
|
|
585
686
|
};
|
|
586
|
-
function
|
|
587
|
-
var o,
|
|
687
|
+
function _e(e, r) {
|
|
688
|
+
var o, f;
|
|
588
689
|
const t = /* @__PURE__ */ new Set();
|
|
589
|
-
function n(
|
|
590
|
-
typeof
|
|
690
|
+
function n(s) {
|
|
691
|
+
typeof s == "string" && s.length > 0 && t.add(s);
|
|
591
692
|
}
|
|
592
|
-
return n(
|
|
593
|
-
var
|
|
594
|
-
if (n(
|
|
595
|
-
const
|
|
596
|
-
if (
|
|
597
|
-
const d =
|
|
598
|
-
n(`${d}__small${
|
|
693
|
+
return n(r.logo), (o = r.exhibitors) == null || o.forEach((s) => {
|
|
694
|
+
var y;
|
|
695
|
+
if (n(s.logo), s.logo) {
|
|
696
|
+
const l = s.logo.lastIndexOf(".");
|
|
697
|
+
if (l !== -1) {
|
|
698
|
+
const d = s.logo.substring(0, l), i = s.logo.substring(l);
|
|
699
|
+
n(`${d}__small${i}`), n(`${d}__tiny${i}`);
|
|
599
700
|
}
|
|
600
701
|
}
|
|
601
|
-
(
|
|
602
|
-
}), (
|
|
603
|
-
var
|
|
604
|
-
n(
|
|
605
|
-
n(
|
|
702
|
+
(y = s.gallery) == null || y.forEach((l) => n(l));
|
|
703
|
+
}), (f = r.events) == null || f.forEach((s) => {
|
|
704
|
+
var y;
|
|
705
|
+
n(s.logoFile), (y = s.speakers) == null || y.forEach((l) => {
|
|
706
|
+
n(l.photoFile);
|
|
606
707
|
});
|
|
607
|
-
}), Array.from(t).reduce((
|
|
708
|
+
}), Array.from(t).reduce((s, y) => (s[y] = { $ref: `asset+${e}${y}` }, s), {});
|
|
608
709
|
}
|
|
609
|
-
const
|
|
710
|
+
const Ae = {
|
|
610
711
|
schema: "legacy-data",
|
|
611
|
-
resolveRef(
|
|
612
|
-
return
|
|
613
|
-
const t = $(
|
|
712
|
+
resolveRef(e, r) {
|
|
713
|
+
return b("legacyDataResolver resolveRef:", e), M(e, r.refCache, async () => {
|
|
714
|
+
const t = $(e);
|
|
614
715
|
return {
|
|
615
716
|
_to_remove_for_offline_to_work_dataUrlBase: t,
|
|
616
717
|
legacyAssetUrls: { $ref: `legacy-asset-urls+${t}` }
|
|
617
718
|
};
|
|
618
719
|
});
|
|
619
720
|
},
|
|
620
|
-
|
|
621
|
-
},
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
721
|
+
offlineFunc: "resolveRef"
|
|
722
|
+
}, ke = I("efp:loader:resolver:legacyDataUrlBase"), De = "legacy-data-url-base", Ie = {
|
|
723
|
+
schema: De,
|
|
724
|
+
resolveRef(e) {
|
|
725
|
+
return ke("legacyDataResolver resolveRef:", e), Promise.resolve($(e));
|
|
726
|
+
},
|
|
727
|
+
offlineFunc: async function* (e, r) {
|
|
728
|
+
const { offlineFunc: t } = await import("./legacyDataUrlBaseResolver.offlineFunc-DPaSp_zV.js");
|
|
729
|
+
return yield* t(e, r);
|
|
730
|
+
}
|
|
731
|
+
}, je = [
|
|
732
|
+
Ce,
|
|
625
733
|
ue,
|
|
626
734
|
ce,
|
|
627
|
-
fe,
|
|
628
735
|
ve,
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
736
|
+
pe,
|
|
737
|
+
me,
|
|
738
|
+
we,
|
|
739
|
+
Ae,
|
|
740
|
+
Oe,
|
|
741
|
+
Ie
|
|
742
|
+
], Me = /* @__PURE__ */ new Map();
|
|
743
|
+
async function N(e, r, t) {
|
|
744
|
+
b("Resolving:", r, "of", e, t);
|
|
633
745
|
const n = {
|
|
634
746
|
importCallback: t == null ? void 0 : t.importCallback,
|
|
635
|
-
refCache: (t == null ? void 0 : t.refCache) ||
|
|
747
|
+
refCache: (t == null ? void 0 : t.refCache) || Me,
|
|
636
748
|
forceFetch: !!(t != null && t.forceFetch),
|
|
637
749
|
signal: (t == null ? void 0 : t.signal) || null,
|
|
638
750
|
preResolvedRefs: t == null ? void 0 : t.preResolvedRefs
|
|
639
751
|
};
|
|
640
|
-
if (typeof
|
|
641
|
-
throw new Error(`Invalid JSON Pointer (not a string): ${
|
|
642
|
-
if (!
|
|
643
|
-
throw new Error(`Invalid JSON Pointer: ${
|
|
644
|
-
if (
|
|
645
|
-
throw new Error(`Invalid JSON Pointer: ${
|
|
752
|
+
if (typeof r != "string")
|
|
753
|
+
throw new Error(`Invalid JSON Pointer (not a string): ${r}`);
|
|
754
|
+
if (!r.startsWith("/"))
|
|
755
|
+
throw new Error(`Invalid JSON Pointer: ${r}`);
|
|
756
|
+
if (r.length > 1 && r.endsWith("/"))
|
|
757
|
+
throw new Error(`Invalid JSON Pointer: ${r}`);
|
|
646
758
|
let o;
|
|
647
|
-
if (
|
|
648
|
-
throw new Error(`Invalid JSON Pointer (empty part): ${
|
|
759
|
+
if (r === "/" ? o = [] : o = r.substring(1).split("/"), o.some((f) => f.length === 0))
|
|
760
|
+
throw new Error(`Invalid JSON Pointer (empty part): ${r}`);
|
|
649
761
|
if (t != null && t.mutate) {
|
|
650
762
|
o.unshift("root");
|
|
651
|
-
const
|
|
652
|
-
await
|
|
763
|
+
const f = { root: e };
|
|
764
|
+
await Q(f, o, 0, n), Ne(e, f.root);
|
|
653
765
|
} else
|
|
654
|
-
return await
|
|
766
|
+
return await X(e, o, 0, n);
|
|
655
767
|
}
|
|
656
|
-
async function
|
|
657
|
-
const o =
|
|
658
|
-
if (await
|
|
659
|
-
if (
|
|
768
|
+
async function Q(e, r, t, n) {
|
|
769
|
+
const o = r[t];
|
|
770
|
+
if (await Le(e, o, n), t != r.length - 1) {
|
|
771
|
+
if (e[o] === null || typeof e[o] != "object")
|
|
660
772
|
throw new Error(
|
|
661
|
-
`Cannot resolve path, encountered non-object at part '${
|
|
773
|
+
`Cannot resolve path, encountered non-object at part '${r.slice(1).join("/")}', index ${t - 1}'`
|
|
662
774
|
);
|
|
663
|
-
return await
|
|
775
|
+
return await Q(e[o], r, t + 1, n);
|
|
664
776
|
}
|
|
665
777
|
}
|
|
666
|
-
async function
|
|
667
|
-
|
|
668
|
-
let n = r
|
|
669
|
-
const o = await
|
|
670
|
-
o !== void 0 && (r
|
|
778
|
+
async function Le(e, r, t) {
|
|
779
|
+
b("resolveObjectMutate:", e, r);
|
|
780
|
+
let n = e[r];
|
|
781
|
+
const o = await P(n, t);
|
|
782
|
+
o !== void 0 && (e[r] = o);
|
|
671
783
|
}
|
|
672
|
-
async function
|
|
673
|
-
if (t ===
|
|
674
|
-
return await
|
|
675
|
-
if (
|
|
784
|
+
async function X(e, r, t, n) {
|
|
785
|
+
if (t === r.length)
|
|
786
|
+
return await P(e, n);
|
|
787
|
+
if (e === null || typeof e != "object")
|
|
676
788
|
throw new Error(
|
|
677
|
-
`Cannot resolve path, encountered non-object at part '${
|
|
789
|
+
`Cannot resolve path, encountered non-object at part '${r.join("/")}', index ${t}'`
|
|
678
790
|
);
|
|
679
|
-
const o =
|
|
680
|
-
let
|
|
681
|
-
return
|
|
791
|
+
const o = r[t];
|
|
792
|
+
let f = e[o];
|
|
793
|
+
return f === void 0 && (f = (await P(e, n))[o]), await X(f, r, t + 1, n);
|
|
682
794
|
}
|
|
683
|
-
async function
|
|
684
|
-
|
|
685
|
-
let t =
|
|
795
|
+
async function P(e, r) {
|
|
796
|
+
b("resolveObject:", e);
|
|
797
|
+
let t = e;
|
|
686
798
|
do {
|
|
687
799
|
if (typeof t != "object" || t === null || !("$ref" in t))
|
|
688
800
|
return t;
|
|
689
|
-
const n =
|
|
801
|
+
const n = je.filter((f) => Y(f, t.$ref));
|
|
690
802
|
if (n.length === 0) {
|
|
691
803
|
if (t.$ref)
|
|
692
804
|
throw new Error(`No resolver found for ref: ${t.$ref}`);
|
|
693
|
-
return
|
|
805
|
+
return O(t), t;
|
|
694
806
|
}
|
|
695
807
|
if (n.length > 1)
|
|
696
808
|
throw new Error(`Multiple resolvers can resolve ref: ${t.$ref}`);
|
|
697
|
-
const o = await
|
|
698
|
-
t =
|
|
809
|
+
const o = await Te(n[0], t.$ref, r);
|
|
810
|
+
t = Pe(o, t);
|
|
699
811
|
} while (!0);
|
|
700
812
|
}
|
|
701
|
-
async function
|
|
702
|
-
if (!
|
|
703
|
-
throw new Error(`Unexpected ref: ${
|
|
704
|
-
return
|
|
813
|
+
async function Te(e, r, t) {
|
|
814
|
+
if (!Y(e, r))
|
|
815
|
+
throw new Error(`Unexpected ref: ${r}`);
|
|
816
|
+
return e.resolveRef(r, t);
|
|
705
817
|
}
|
|
706
|
-
function
|
|
707
|
-
if (
|
|
708
|
-
return
|
|
709
|
-
if (
|
|
710
|
-
return
|
|
818
|
+
function Y(e, r) {
|
|
819
|
+
if (e.canResolve)
|
|
820
|
+
return e.canResolve(r);
|
|
821
|
+
if (e.schema)
|
|
822
|
+
return Be(r, e.schema);
|
|
711
823
|
throw new Error("Resolver is missing canResolve method and schema property");
|
|
712
824
|
}
|
|
713
|
-
function
|
|
714
|
-
const t = [`${
|
|
825
|
+
function Be(e, r) {
|
|
826
|
+
const t = [`${r}+`, `${r}:`];
|
|
715
827
|
for (const n of t)
|
|
716
|
-
if (
|
|
828
|
+
if (e.startsWith(n))
|
|
717
829
|
return !0;
|
|
718
830
|
return !1;
|
|
719
831
|
}
|
|
720
|
-
function $(
|
|
721
|
-
if (
|
|
722
|
-
return
|
|
723
|
-
const
|
|
724
|
-
if (
|
|
725
|
-
return
|
|
832
|
+
function $(e) {
|
|
833
|
+
if (e.startsWith("http://") || e.startsWith("https://"))
|
|
834
|
+
return e;
|
|
835
|
+
const r = e.indexOf("+http://"), t = e.indexOf("+https://");
|
|
836
|
+
if (r !== -1)
|
|
837
|
+
return e.substring(r + 1);
|
|
726
838
|
if (t !== -1)
|
|
727
|
-
return
|
|
728
|
-
const n =
|
|
839
|
+
return e.substring(t + 1);
|
|
840
|
+
const n = e.indexOf(":");
|
|
729
841
|
if (n !== -1)
|
|
730
|
-
return
|
|
731
|
-
throw new Error(`Error getting URL from: ${
|
|
842
|
+
return e.substring(n + 1);
|
|
843
|
+
throw new Error(`Error getting URL from: ${e}, no valid prefix found`);
|
|
732
844
|
}
|
|
733
|
-
typeof window < "u" && (window.__debugResolve = async function(
|
|
734
|
-
return await
|
|
845
|
+
typeof window < "u" && (window.__debugResolve = async function(r, t, n) {
|
|
846
|
+
return await N(r, t, n);
|
|
735
847
|
});
|
|
736
|
-
function
|
|
737
|
-
return async (
|
|
848
|
+
function L(e) {
|
|
849
|
+
return async (r, ...t) => {
|
|
738
850
|
try {
|
|
739
|
-
const
|
|
740
|
-
return
|
|
851
|
+
const f = (await import(await N(r, "/runtime/entry")))[e];
|
|
852
|
+
return f(r, ...t);
|
|
741
853
|
} catch (n) {
|
|
742
|
-
throw console.error("efp-loader", `Error when trying to import and call "${
|
|
854
|
+
throw console.error("efp-loader", `Error when trying to import and call "${e}":`, n), n;
|
|
743
855
|
}
|
|
744
856
|
};
|
|
745
857
|
}
|
|
746
|
-
function
|
|
747
|
-
if (
|
|
748
|
-
Object.freeze(
|
|
749
|
-
for (const
|
|
750
|
-
const t = r
|
|
751
|
-
typeof t == "object" && t !== null && !Object.isFrozen(t) &&
|
|
858
|
+
function O(e) {
|
|
859
|
+
if (e === null || typeof e != "object") return e;
|
|
860
|
+
Object.freeze(e);
|
|
861
|
+
for (const r of Object.keys(e)) {
|
|
862
|
+
const t = e[r];
|
|
863
|
+
typeof t == "object" && t !== null && !Object.isFrozen(t) && O(t);
|
|
752
864
|
}
|
|
753
|
-
return
|
|
865
|
+
return e;
|
|
754
866
|
}
|
|
755
|
-
function
|
|
756
|
-
return "structuredClone" in globalThis ? globalThis.structuredClone(
|
|
867
|
+
function Ve(e) {
|
|
868
|
+
return "structuredClone" in globalThis ? globalThis.structuredClone(e) : JSON.parse(JSON.stringify(e));
|
|
757
869
|
}
|
|
758
|
-
function
|
|
759
|
-
|
|
760
|
-
|
|
870
|
+
function Je(e) {
|
|
871
|
+
return e === null || typeof e != "object" ? e : Array.isArray(e) ? e.slice() : { ...e };
|
|
872
|
+
}
|
|
873
|
+
function Pe(e, r) {
|
|
874
|
+
if (e === r) return;
|
|
875
|
+
if (r === null || typeof r != "object")
|
|
761
876
|
throw new Error("Cannot merge non-object source");
|
|
762
|
-
if (Array.isArray(e))
|
|
763
|
-
throw new Error("Cannot merge arrays");
|
|
764
|
-
const t = Object.keys(e).filter((o) => o !== "$ref");
|
|
765
|
-
if (t.length === 0) return V(r);
|
|
766
877
|
if (Array.isArray(r))
|
|
878
|
+
throw new Error("Cannot merge arrays");
|
|
879
|
+
const t = Object.keys(r).filter((o) => o !== "$ref");
|
|
880
|
+
if (t.length === 0) return Je(e);
|
|
881
|
+
if (Array.isArray(e))
|
|
767
882
|
throw new Error("Cannot merge into arrays");
|
|
768
|
-
if (
|
|
883
|
+
if (e === null || typeof e != "object")
|
|
769
884
|
throw new Error("Cannot merge into non-object target");
|
|
770
|
-
const n =
|
|
885
|
+
const n = { ...e };
|
|
771
886
|
for (const o of t)
|
|
772
|
-
n[o] =
|
|
887
|
+
n[o] = r[o];
|
|
773
888
|
return n;
|
|
774
889
|
}
|
|
775
|
-
function
|
|
776
|
-
if (
|
|
777
|
-
if (e === null || typeof e != "object")
|
|
778
|
-
throw new Error("Cannot replace with non-object source");
|
|
890
|
+
function Ne(e, r) {
|
|
891
|
+
if (e !== r) {
|
|
779
892
|
if (r === null || typeof r != "object")
|
|
893
|
+
throw new Error("Cannot replace with non-object source");
|
|
894
|
+
if (e === null || typeof e != "object")
|
|
780
895
|
throw new Error("Cannot replace non-object target");
|
|
781
|
-
if (Array.isArray(
|
|
782
|
-
if (!Array.isArray(
|
|
896
|
+
if (Array.isArray(e)) {
|
|
897
|
+
if (!Array.isArray(r))
|
|
783
898
|
throw new Error("replaceObjectFields does not support mixing arrays and objects");
|
|
784
|
-
|
|
785
|
-
for (const t of
|
|
786
|
-
|
|
899
|
+
e.length = 0;
|
|
900
|
+
for (const t of r)
|
|
901
|
+
e.push(t);
|
|
787
902
|
return;
|
|
788
903
|
}
|
|
789
|
-
for (const t of Object.keys(r))
|
|
790
|
-
t in e || delete r[t];
|
|
791
904
|
for (const t of Object.keys(e))
|
|
792
|
-
|
|
905
|
+
t in r || delete e[t];
|
|
906
|
+
for (const t of Object.keys(r))
|
|
907
|
+
e[t] = r[t];
|
|
793
908
|
}
|
|
794
909
|
}
|
|
795
|
-
async function
|
|
910
|
+
async function Ue(e, r, t) {
|
|
796
911
|
t = t || {};
|
|
797
|
-
for (const n of
|
|
798
|
-
await
|
|
912
|
+
for (const n of r)
|
|
913
|
+
await N(e, n, { ...t, mutate: !0 });
|
|
914
|
+
}
|
|
915
|
+
typeof window < "u" && (window.__debugMutateManifest = Ue);
|
|
916
|
+
async function xe(e) {
|
|
917
|
+
const { makeOffline: r } = await import("./makeOffline-Dj-0o5_7.js");
|
|
918
|
+
return await r(e);
|
|
799
919
|
}
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
return await e(r);
|
|
920
|
+
async function We(e) {
|
|
921
|
+
const { makeOfflineBundle: r } = await import("./makeOfflineBundle-D8tePWGI.js");
|
|
922
|
+
return await r(e);
|
|
804
923
|
}
|
|
805
|
-
async function
|
|
806
|
-
const { downloadOfflineZip: t } = await import("./downloadOfflineZip-
|
|
807
|
-
return await t(
|
|
924
|
+
async function ze(e, r) {
|
|
925
|
+
const { downloadOfflineZip: t } = await import("./downloadOfflineZip-CNz_lUGZ.js");
|
|
926
|
+
return await t(e, r);
|
|
808
927
|
}
|
|
809
|
-
async function
|
|
928
|
+
async function Ge(e, r) {
|
|
810
929
|
const { saveOfflineZip: t } = await import("./saveOfflineZip.browser-BTQeRUY_.js");
|
|
811
|
-
return await t(
|
|
930
|
+
return await t(e, r);
|
|
812
931
|
}
|
|
813
|
-
async function
|
|
814
|
-
const { makeOffline:
|
|
932
|
+
async function qe(e) {
|
|
933
|
+
const { makeOffline: r } = await import("./makeOffline-Dj-0o5_7.js"), t = await r(e);
|
|
815
934
|
for await (const n of (await t).files)
|
|
816
935
|
"data" in n ? console.info(`🗳️ Put ${n.targetFilePath} <=`, n.data) : "url" in n && console.info(`🗳️ Download ${n.targetFilePath} <= ${n.url}`);
|
|
817
936
|
console.info("Offline data: ", t.manifest);
|
|
818
937
|
}
|
|
819
|
-
typeof window < "u" && (window.__debugDownloadOfflineZip =
|
|
820
|
-
const
|
|
821
|
-
|
|
822
|
-
const
|
|
823
|
-
async function
|
|
824
|
-
return await
|
|
938
|
+
typeof window < "u" && (window.__debugDownloadOfflineZip = ze, window.__debugMakeOfflineBundle = We, window.__debugLogOfflineManifestFiles = qe);
|
|
939
|
+
const J = globalThis.__efpLoaderBuildInfo;
|
|
940
|
+
J ? b("Initialized", { version: J[0], builtAt: J[1] }) : b("Initialized");
|
|
941
|
+
const He = L("mount"), Ke = L("load"), Qe = L("initialize");
|
|
942
|
+
async function Xe(e, r, ...t) {
|
|
943
|
+
return await L(e)(r, ...t);
|
|
825
944
|
}
|
|
826
945
|
export {
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
Te as
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
946
|
+
he as S,
|
|
947
|
+
O as a,
|
|
948
|
+
Y as b,
|
|
949
|
+
Ze as c,
|
|
950
|
+
Xe as callFunction_Experimental,
|
|
951
|
+
I as d,
|
|
952
|
+
ze as downloadOfflineZip,
|
|
953
|
+
Pe as e,
|
|
954
|
+
Ve as f,
|
|
955
|
+
x as g,
|
|
956
|
+
Te as h,
|
|
957
|
+
ke as i,
|
|
958
|
+
Qe as initialize,
|
|
959
|
+
Se as j,
|
|
960
|
+
De as k,
|
|
961
|
+
de as l,
|
|
962
|
+
Ke as load,
|
|
963
|
+
xe as makeOffline,
|
|
964
|
+
We as makeOfflineBundle,
|
|
965
|
+
He as mount,
|
|
966
|
+
Ue as mutateManifest,
|
|
842
967
|
$ as p,
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
968
|
+
je as r,
|
|
969
|
+
N as resolve,
|
|
970
|
+
Je as s,
|
|
971
|
+
Ge as saveOfflineZip
|
|
846
972
|
};
|
|
847
973
|
//# sourceMappingURL=bundle.js.map
|