@everymatrix/player-reality-check 1.59.1 → 1.59.2
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/components/{PlayerRealityCheck-C27Oh3Hv.js → PlayerRealityCheck-2NLTCkve.js} +665 -643
- package/components/PlayerRealityCheck-CUNn_TZx.cjs +18 -0
- package/components/{PlayerRealityCheck-BQeaynG_.js → PlayerRealityCheck-D2vxT1p-.js} +703 -681
- package/es2015/player-reality-check.cjs +1 -1
- package/es2015/player-reality-check.js +1 -1
- package/esnext/player-reality-check.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
- package/components/PlayerRealityCheck-C6axz4PP.cjs +0 -18
- package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
- package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import "../stencil/ui-skeleton-C5gPr5Xv.js";
|
|
2
2
|
function N() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Nt(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function lt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
10
|
function ue(e) {
|
|
11
|
-
e.forEach(
|
|
11
|
+
e.forEach(Nt);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function it(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function $t(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function _r(e) {
|
|
20
20
|
return Object.keys(e).length === 0;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Ut(e, ...t) {
|
|
23
23
|
if (e == null) {
|
|
24
24
|
for (const n of t)
|
|
25
25
|
n(void 0);
|
|
@@ -28,20 +28,20 @@ function kt(e, ...t) {
|
|
|
28
28
|
const r = e.subscribe(...t);
|
|
29
29
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
e.$$.on_destroy.push(
|
|
31
|
+
function Er(e, t, r) {
|
|
32
|
+
e.$$.on_destroy.push(Ut(t, r));
|
|
33
33
|
}
|
|
34
34
|
function b(e, t) {
|
|
35
35
|
e.appendChild(t);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const n =
|
|
37
|
+
function Sr(e, t, r) {
|
|
38
|
+
const n = wr(e);
|
|
39
39
|
if (!n.getElementById(t)) {
|
|
40
40
|
const i = T("style");
|
|
41
|
-
i.id = t, i.textContent = r,
|
|
41
|
+
i.id = t, i.textContent = r, Tr(n, i);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function wr(e) {
|
|
45
45
|
if (!e)
|
|
46
46
|
return document;
|
|
47
47
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -51,7 +51,7 @@ function xr(e) {
|
|
|
51
51
|
t
|
|
52
52
|
) : e.ownerDocument;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Tr(e, t) {
|
|
55
55
|
return b(
|
|
56
56
|
/** @type {Document} */
|
|
57
57
|
e.head || e,
|
|
@@ -64,7 +64,7 @@ function D(e, t, r) {
|
|
|
64
64
|
function $(e) {
|
|
65
65
|
e.parentNode && e.parentNode.removeChild(e);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Dt(e, t) {
|
|
68
68
|
for (let r = 0; r < e.length; r += 1)
|
|
69
69
|
e[r] && e[r].d(t);
|
|
70
70
|
}
|
|
@@ -74,11 +74,11 @@ function T(e) {
|
|
|
74
74
|
function J(e) {
|
|
75
75
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function z(e) {
|
|
78
78
|
return document.createTextNode(e);
|
|
79
79
|
}
|
|
80
80
|
function U() {
|
|
81
|
-
return
|
|
81
|
+
return z(" ");
|
|
82
82
|
}
|
|
83
83
|
function Te(e, t, r, n) {
|
|
84
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -90,7 +90,7 @@ function A(e, t, r) {
|
|
|
90
90
|
const n = t.toLowerCase();
|
|
91
91
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : w(e, t, r);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Hr(e) {
|
|
94
94
|
let t;
|
|
95
95
|
return {
|
|
96
96
|
/* push */
|
|
@@ -103,17 +103,17 @@ function Er(e) {
|
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Cr(e) {
|
|
107
107
|
return Array.from(e.childNodes);
|
|
108
108
|
}
|
|
109
109
|
function te(e, t) {
|
|
110
110
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
111
111
|
t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Br(e, t) {
|
|
114
114
|
e.value = t ?? "";
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Pr(e) {
|
|
117
117
|
const t = {};
|
|
118
118
|
return e.childNodes.forEach(
|
|
119
119
|
/** @param {Element} node */
|
|
@@ -126,25 +126,25 @@ let de;
|
|
|
126
126
|
function pe(e) {
|
|
127
127
|
de = e;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Ar() {
|
|
130
130
|
if (!de)
|
|
131
131
|
throw new Error("Function called outside component initialization");
|
|
132
132
|
return de;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
|
|
134
|
+
function Rr(e) {
|
|
135
|
+
Ar().$$.on_mount.push(e);
|
|
136
136
|
}
|
|
137
|
-
const ee = [],
|
|
137
|
+
const ee = [], Fe = [];
|
|
138
138
|
let re = [];
|
|
139
|
-
const
|
|
140
|
-
let
|
|
141
|
-
function
|
|
142
|
-
|
|
139
|
+
const ct = [], Mr = /* @__PURE__ */ Promise.resolve();
|
|
140
|
+
let Ge = !1;
|
|
141
|
+
function Or() {
|
|
142
|
+
Ge || (Ge = !0, Mr.then(V));
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function je(e) {
|
|
145
145
|
re.push(e);
|
|
146
146
|
}
|
|
147
|
-
const
|
|
147
|
+
const Oe = /* @__PURE__ */ new Set();
|
|
148
148
|
let Y = 0;
|
|
149
149
|
function V() {
|
|
150
150
|
if (Y !== 0)
|
|
@@ -154,56 +154,56 @@ function V() {
|
|
|
154
154
|
try {
|
|
155
155
|
for (; Y < ee.length; ) {
|
|
156
156
|
const t = ee[Y];
|
|
157
|
-
Y++, pe(t),
|
|
157
|
+
Y++, pe(t), Ir(t.$$);
|
|
158
158
|
}
|
|
159
159
|
} catch (t) {
|
|
160
160
|
throw ee.length = 0, Y = 0, t;
|
|
161
161
|
}
|
|
162
|
-
for (pe(null), ee.length = 0, Y = 0;
|
|
163
|
-
|
|
162
|
+
for (pe(null), ee.length = 0, Y = 0; Fe.length; )
|
|
163
|
+
Fe.pop()();
|
|
164
164
|
for (let t = 0; t < re.length; t += 1) {
|
|
165
165
|
const r = re[t];
|
|
166
|
-
|
|
166
|
+
Oe.has(r) || (Oe.add(r), r());
|
|
167
167
|
}
|
|
168
168
|
re.length = 0;
|
|
169
169
|
} while (ee.length);
|
|
170
|
-
for (;
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
for (; ct.length; )
|
|
171
|
+
ct.pop()();
|
|
172
|
+
Ge = !1, Oe.clear(), pe(e);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ir(e) {
|
|
175
175
|
if (e.fragment !== null) {
|
|
176
176
|
e.update(), ue(e.before_update);
|
|
177
177
|
const t = e.dirty;
|
|
178
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
178
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Lr(e) {
|
|
182
182
|
const t = [], r = [];
|
|
183
183
|
re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
|
|
184
184
|
}
|
|
185
|
-
const
|
|
186
|
-
function
|
|
187
|
-
e && e.i && (
|
|
185
|
+
const kr = /* @__PURE__ */ new Set();
|
|
186
|
+
function Nr(e, t) {
|
|
187
|
+
e && e.i && (kr.delete(e), e.i(t));
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Ve(e) {
|
|
190
190
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function $r(e, t, r) {
|
|
193
193
|
const { fragment: n, after_update: i } = e.$$;
|
|
194
|
-
n && n.m(t, r),
|
|
195
|
-
const o = e.$$.on_mount.map(
|
|
194
|
+
n && n.m(t, r), je(() => {
|
|
195
|
+
const o = e.$$.on_mount.map(Nt).filter(it);
|
|
196
196
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
|
|
197
|
-
}), i.forEach(
|
|
197
|
+
}), i.forEach(je);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Ur(e, t) {
|
|
200
200
|
const r = e.$$;
|
|
201
|
-
r.fragment !== null && (
|
|
201
|
+
r.fragment !== null && (Lr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
e.$$.dirty[0] === -1 && (ee.push(e),
|
|
203
|
+
function Dr(e, t) {
|
|
204
|
+
e.$$.dirty[0] === -1 && (ee.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
207
207
|
const l = de;
|
|
208
208
|
pe(e);
|
|
209
209
|
const u = e.$$ = {
|
|
@@ -213,7 +213,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
213
213
|
props: o,
|
|
214
214
|
update: N,
|
|
215
215
|
not_equal: i,
|
|
216
|
-
bound:
|
|
216
|
+
bound: lt(),
|
|
217
217
|
// lifecycle
|
|
218
218
|
on_mount: [],
|
|
219
219
|
on_destroy: [],
|
|
@@ -222,28 +222,28 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
222
222
|
after_update: [],
|
|
223
223
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
224
224
|
// everything else
|
|
225
|
-
callbacks:
|
|
225
|
+
callbacks: lt(),
|
|
226
226
|
dirty: a,
|
|
227
227
|
skip_bound: !1,
|
|
228
228
|
root: t.target || l.$$.root
|
|
229
229
|
};
|
|
230
230
|
s && s(u.root);
|
|
231
|
-
let
|
|
232
|
-
if (u.ctx = r ? r(e, t.props || {}, (f,
|
|
233
|
-
const m = d.length ? d[0] :
|
|
234
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m),
|
|
235
|
-
}) : [], u.update(),
|
|
231
|
+
let c = !1;
|
|
232
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
|
|
233
|
+
const m = d.length ? d[0] : h;
|
|
234
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && Dr(e, f)), h;
|
|
235
|
+
}) : [], u.update(), c = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
236
236
|
if (t.hydrate) {
|
|
237
|
-
const f =
|
|
237
|
+
const f = Cr(t.target);
|
|
238
238
|
u.fragment && u.fragment.l(f), f.forEach($);
|
|
239
239
|
} else
|
|
240
240
|
u.fragment && u.fragment.c();
|
|
241
|
-
t.intro &&
|
|
241
|
+
t.intro && Nr(e.$$.fragment), $r(e, t.target, t.anchor), V();
|
|
242
242
|
}
|
|
243
243
|
pe(l);
|
|
244
244
|
}
|
|
245
|
-
let
|
|
246
|
-
typeof HTMLElement == "function" && (
|
|
245
|
+
let Ft;
|
|
246
|
+
typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
247
247
|
/** The Svelte component constructor */
|
|
248
248
|
$$ctor;
|
|
249
249
|
/** Slots */
|
|
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
302
302
|
};
|
|
303
303
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
304
304
|
return;
|
|
305
|
-
const t = {}, r =
|
|
305
|
+
const t = {}, r = Pr(this);
|
|
306
306
|
for (const i of this.$$s)
|
|
307
307
|
i in r && (t[i] = [e(i)]);
|
|
308
308
|
for (const i of this.attributes) {
|
|
@@ -389,8 +389,8 @@ function _e(e, t, r, n) {
|
|
|
389
389
|
return t;
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
|
-
function
|
|
393
|
-
let s = class extends
|
|
392
|
+
function Gr(e, t, r, n, i, o) {
|
|
393
|
+
let s = class extends Ft {
|
|
394
394
|
constructor() {
|
|
395
395
|
super(e, r, i), this.$$p_d = t;
|
|
396
396
|
}
|
|
@@ -418,7 +418,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
418
418
|
}), e.element = /** @type {any} */
|
|
419
419
|
s, s;
|
|
420
420
|
}
|
|
421
|
-
class
|
|
421
|
+
class jr {
|
|
422
422
|
/**
|
|
423
423
|
* ### PRIVATE API
|
|
424
424
|
*
|
|
@@ -437,7 +437,7 @@ class Ur {
|
|
|
437
437
|
$$set = void 0;
|
|
438
438
|
/** @returns {void} */
|
|
439
439
|
$destroy() {
|
|
440
|
-
|
|
440
|
+
Ur(this, 1), this.$destroy = N;
|
|
441
441
|
}
|
|
442
442
|
/**
|
|
443
443
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -446,7 +446,7 @@ class Ur {
|
|
|
446
446
|
* @returns {() => void}
|
|
447
447
|
*/
|
|
448
448
|
$on(t, r) {
|
|
449
|
-
if (!
|
|
449
|
+
if (!it(r))
|
|
450
450
|
return N;
|
|
451
451
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
452
452
|
return n.push(r), () => {
|
|
@@ -459,11 +459,11 @@ class Ur {
|
|
|
459
459
|
* @returns {void}
|
|
460
460
|
*/
|
|
461
461
|
$set(t) {
|
|
462
|
-
this.$$set && !
|
|
462
|
+
this.$$set && !_r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
const
|
|
466
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
465
|
+
const Vr = "4";
|
|
466
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vr);
|
|
467
467
|
/*! *****************************************************************************
|
|
468
468
|
Copyright (c) Microsoft Corporation.
|
|
469
469
|
|
|
@@ -478,18 +478,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
478
478
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
479
479
|
PERFORMANCE OF THIS SOFTWARE.
|
|
480
480
|
***************************************************************************** */
|
|
481
|
-
var
|
|
482
|
-
return
|
|
481
|
+
var ze = function(e, t) {
|
|
482
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
483
483
|
r.__proto__ = n;
|
|
484
484
|
} || function(r, n) {
|
|
485
485
|
for (var i in n)
|
|
486
486
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
487
|
-
},
|
|
487
|
+
}, ze(e, t);
|
|
488
488
|
};
|
|
489
489
|
function q(e, t) {
|
|
490
490
|
if (typeof t != "function" && t !== null)
|
|
491
491
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
492
|
-
|
|
492
|
+
ze(e, t);
|
|
493
493
|
function r() {
|
|
494
494
|
this.constructor = e;
|
|
495
495
|
}
|
|
@@ -505,7 +505,7 @@ var S = function() {
|
|
|
505
505
|
return t;
|
|
506
506
|
}, S.apply(this, arguments);
|
|
507
507
|
};
|
|
508
|
-
function
|
|
508
|
+
function zr(e, t) {
|
|
509
509
|
var r = {};
|
|
510
510
|
for (var n in e)
|
|
511
511
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -526,7 +526,7 @@ function Xe(e) {
|
|
|
526
526
|
};
|
|
527
527
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function qe(e, t) {
|
|
530
530
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
531
531
|
if (!r)
|
|
532
532
|
return e;
|
|
@@ -552,16 +552,16 @@ function ne(e, t, r) {
|
|
|
552
552
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
553
553
|
return e.concat(o || t);
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function X(e) {
|
|
556
556
|
return typeof e == "function";
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function Gt(e) {
|
|
559
559
|
var t = function(n) {
|
|
560
560
|
Error.call(n), n.stack = new Error().stack;
|
|
561
561
|
}, r = e(t);
|
|
562
562
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
563
563
|
}
|
|
564
|
-
var Ie =
|
|
564
|
+
var Ie = Gt(function(e) {
|
|
565
565
|
return function(r) {
|
|
566
566
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
567
567
|
` + r.map(function(n, i) {
|
|
@@ -570,7 +570,7 @@ var Ie = Ut(function(e) {
|
|
|
570
570
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
571
571
|
};
|
|
572
572
|
});
|
|
573
|
-
function
|
|
573
|
+
function We(e, t) {
|
|
574
574
|
if (e) {
|
|
575
575
|
var r = e.indexOf(t);
|
|
576
576
|
0 <= r && e.splice(r, 1);
|
|
@@ -604,10 +604,10 @@ var Be = function() {
|
|
|
604
604
|
}
|
|
605
605
|
else
|
|
606
606
|
s.remove(this);
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
607
|
+
var c = this.initialTeardown;
|
|
608
|
+
if (X(c))
|
|
609
609
|
try {
|
|
610
|
-
|
|
610
|
+
c();
|
|
611
611
|
} catch (p) {
|
|
612
612
|
o = p instanceof Ie ? p.errors : [p];
|
|
613
613
|
}
|
|
@@ -615,19 +615,19 @@ var Be = function() {
|
|
|
615
615
|
if (f) {
|
|
616
616
|
this._finalizers = null;
|
|
617
617
|
try {
|
|
618
|
-
for (var
|
|
618
|
+
for (var h = Xe(f), d = h.next(); !d.done; d = h.next()) {
|
|
619
619
|
var m = d.value;
|
|
620
620
|
try {
|
|
621
|
-
|
|
621
|
+
ht(m);
|
|
622
622
|
} catch (p) {
|
|
623
|
-
o = o ?? [], p instanceof Ie ? o = ne(ne([],
|
|
623
|
+
o = o ?? [], p instanceof Ie ? o = ne(ne([], qe(o)), qe(p.errors)) : o.push(p);
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
} catch (p) {
|
|
627
627
|
n = { error: p };
|
|
628
628
|
} finally {
|
|
629
629
|
try {
|
|
630
|
-
d && !d.done && (i =
|
|
630
|
+
d && !d.done && (i = h.return) && i.call(h);
|
|
631
631
|
} finally {
|
|
632
632
|
if (n)
|
|
633
633
|
throw n.error;
|
|
@@ -641,7 +641,7 @@ var Be = function() {
|
|
|
641
641
|
var r;
|
|
642
642
|
if (t && t !== this)
|
|
643
643
|
if (this.closed)
|
|
644
|
-
|
|
644
|
+
ht(t);
|
|
645
645
|
else {
|
|
646
646
|
if (t instanceof e) {
|
|
647
647
|
if (t.closed || t._hasParent(this))
|
|
@@ -658,52 +658,56 @@ var Be = function() {
|
|
|
658
658
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
659
659
|
}, e.prototype._removeParent = function(t) {
|
|
660
660
|
var r = this._parentage;
|
|
661
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
661
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
662
662
|
}, e.prototype.remove = function(t) {
|
|
663
663
|
var r = this._finalizers;
|
|
664
|
-
r &&
|
|
664
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
665
665
|
}, e.EMPTY = function() {
|
|
666
666
|
var t = new e();
|
|
667
667
|
return t.closed = !0, t;
|
|
668
668
|
}(), e;
|
|
669
|
-
}(),
|
|
670
|
-
function
|
|
671
|
-
return e instanceof Be || e && "closed" in e &&
|
|
672
|
-
}
|
|
673
|
-
function
|
|
674
|
-
|
|
675
|
-
}
|
|
676
|
-
var
|
|
677
|
-
|
|
678
|
-
|
|
669
|
+
}(), jt = Be.EMPTY;
|
|
670
|
+
function Vt(e) {
|
|
671
|
+
return e instanceof Be || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
|
|
672
|
+
}
|
|
673
|
+
function ht(e) {
|
|
674
|
+
X(e) ? e() : e.unsubscribe();
|
|
675
|
+
}
|
|
676
|
+
var zt = {
|
|
677
|
+
onUnhandledError: null,
|
|
678
|
+
onStoppedNotification: null,
|
|
679
|
+
Promise: void 0,
|
|
680
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
681
|
+
useDeprecatedNextContext: !1
|
|
682
|
+
}, Xr = {
|
|
679
683
|
setTimeout: function(e, t) {
|
|
680
684
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
681
685
|
r[n - 2] = arguments[n];
|
|
682
|
-
return setTimeout.apply(void 0, ne([e, t],
|
|
686
|
+
return setTimeout.apply(void 0, ne([e, t], qe(r)));
|
|
683
687
|
},
|
|
684
688
|
clearTimeout: function(e) {
|
|
685
689
|
return clearTimeout(e);
|
|
686
690
|
},
|
|
687
691
|
delegate: void 0
|
|
688
692
|
};
|
|
689
|
-
function
|
|
690
|
-
|
|
693
|
+
function qr(e) {
|
|
694
|
+
Xr.setTimeout(function() {
|
|
691
695
|
throw e;
|
|
692
696
|
});
|
|
693
697
|
}
|
|
694
|
-
function
|
|
698
|
+
function ft() {
|
|
695
699
|
}
|
|
696
700
|
function Ee(e) {
|
|
697
701
|
e();
|
|
698
702
|
}
|
|
699
|
-
var
|
|
703
|
+
var Xt = function(e) {
|
|
700
704
|
q(t, e);
|
|
701
705
|
function t(r) {
|
|
702
706
|
var n = e.call(this) || this;
|
|
703
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
707
|
+
return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = Jr, n;
|
|
704
708
|
}
|
|
705
709
|
return t.create = function(r, n, i) {
|
|
706
|
-
return new
|
|
710
|
+
return new Ze(r, n, i);
|
|
707
711
|
}, t.prototype.next = function(r) {
|
|
708
712
|
this.isStopped || this._next(r);
|
|
709
713
|
}, t.prototype.error = function(r) {
|
|
@@ -727,7 +731,11 @@ var Gt = function(e) {
|
|
|
727
731
|
this.unsubscribe();
|
|
728
732
|
}
|
|
729
733
|
}, t;
|
|
730
|
-
}(Be),
|
|
734
|
+
}(Be), Wr = Function.prototype.bind;
|
|
735
|
+
function Le(e, t) {
|
|
736
|
+
return Wr.call(e, t);
|
|
737
|
+
}
|
|
738
|
+
var Zr = function() {
|
|
731
739
|
function e(t) {
|
|
732
740
|
this.partialObserver = t;
|
|
733
741
|
}
|
|
@@ -758,43 +766,55 @@ var Gt = function(e) {
|
|
|
758
766
|
ve(r);
|
|
759
767
|
}
|
|
760
768
|
}, e;
|
|
761
|
-
}(),
|
|
769
|
+
}(), Ze = function(e) {
|
|
762
770
|
q(t, e);
|
|
763
771
|
function t(r, n, i) {
|
|
764
772
|
var o = e.call(this) || this, s;
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
773
|
+
if (X(r) || !r)
|
|
774
|
+
s = {
|
|
775
|
+
next: r ?? void 0,
|
|
776
|
+
error: n ?? void 0,
|
|
777
|
+
complete: i ?? void 0
|
|
778
|
+
};
|
|
779
|
+
else {
|
|
780
|
+
var a;
|
|
781
|
+
o && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
782
|
+
return o.unsubscribe();
|
|
783
|
+
}, s = {
|
|
784
|
+
next: r.next && Le(r.next, a),
|
|
785
|
+
error: r.error && Le(r.error, a),
|
|
786
|
+
complete: r.complete && Le(r.complete, a)
|
|
787
|
+
}) : s = r;
|
|
788
|
+
}
|
|
789
|
+
return o.destination = new Zr(s), o;
|
|
770
790
|
}
|
|
771
791
|
return t;
|
|
772
|
-
}(
|
|
792
|
+
}(Xt);
|
|
773
793
|
function ve(e) {
|
|
774
|
-
|
|
794
|
+
qr(e);
|
|
775
795
|
}
|
|
776
|
-
function
|
|
796
|
+
function Qr(e) {
|
|
777
797
|
throw e;
|
|
778
798
|
}
|
|
779
|
-
var
|
|
799
|
+
var Jr = {
|
|
780
800
|
closed: !0,
|
|
781
|
-
next:
|
|
782
|
-
error:
|
|
783
|
-
complete:
|
|
784
|
-
},
|
|
801
|
+
next: ft,
|
|
802
|
+
error: Qr,
|
|
803
|
+
complete: ft
|
|
804
|
+
}, Yr = function() {
|
|
785
805
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
786
806
|
}();
|
|
787
|
-
function
|
|
807
|
+
function Kr(e) {
|
|
788
808
|
return e;
|
|
789
809
|
}
|
|
790
|
-
function
|
|
791
|
-
return e.length === 0 ?
|
|
810
|
+
function en(e) {
|
|
811
|
+
return e.length === 0 ? Kr : e.length === 1 ? e[0] : function(r) {
|
|
792
812
|
return e.reduce(function(n, i) {
|
|
793
813
|
return i(n);
|
|
794
814
|
}, r);
|
|
795
815
|
};
|
|
796
816
|
}
|
|
797
|
-
var
|
|
817
|
+
var pt = function() {
|
|
798
818
|
function e(t) {
|
|
799
819
|
t && (this._subscribe = t);
|
|
800
820
|
}
|
|
@@ -802,7 +822,7 @@ var ht = function() {
|
|
|
802
822
|
var r = new e();
|
|
803
823
|
return r.source = this, r.operator = t, r;
|
|
804
824
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
805
|
-
var i = this, o =
|
|
825
|
+
var i = this, o = rn(t) ? t : new Ze(t, r, n);
|
|
806
826
|
return Ee(function() {
|
|
807
827
|
var s = i, a = s.operator, l = s.source;
|
|
808
828
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -815,8 +835,8 @@ var ht = function() {
|
|
|
815
835
|
}
|
|
816
836
|
}, e.prototype.forEach = function(t, r) {
|
|
817
837
|
var n = this;
|
|
818
|
-
return r =
|
|
819
|
-
var s = new
|
|
838
|
+
return r = dt(r), new r(function(i, o) {
|
|
839
|
+
var s = new Ze({
|
|
820
840
|
next: function(a) {
|
|
821
841
|
try {
|
|
822
842
|
t(a);
|
|
@@ -832,15 +852,15 @@ var ht = function() {
|
|
|
832
852
|
}, e.prototype._subscribe = function(t) {
|
|
833
853
|
var r;
|
|
834
854
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
835
|
-
}, e.prototype[
|
|
855
|
+
}, e.prototype[Yr] = function() {
|
|
836
856
|
return this;
|
|
837
857
|
}, e.prototype.pipe = function() {
|
|
838
858
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
839
859
|
t[r] = arguments[r];
|
|
840
|
-
return
|
|
860
|
+
return en(t)(this);
|
|
841
861
|
}, e.prototype.toPromise = function(t) {
|
|
842
862
|
var r = this;
|
|
843
|
-
return t =
|
|
863
|
+
return t = dt(t), new t(function(n, i) {
|
|
844
864
|
var o;
|
|
845
865
|
r.subscribe(function(s) {
|
|
846
866
|
return o = s;
|
|
@@ -854,32 +874,32 @@ var ht = function() {
|
|
|
854
874
|
return new e(t);
|
|
855
875
|
}, e;
|
|
856
876
|
}();
|
|
857
|
-
function
|
|
877
|
+
function dt(e) {
|
|
858
878
|
var t;
|
|
859
|
-
return (t = e ??
|
|
879
|
+
return (t = e ?? zt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
860
880
|
}
|
|
861
|
-
function
|
|
862
|
-
return e &&
|
|
881
|
+
function tn(e) {
|
|
882
|
+
return e && X(e.next) && X(e.error) && X(e.complete);
|
|
863
883
|
}
|
|
864
|
-
function
|
|
865
|
-
return e && e instanceof
|
|
884
|
+
function rn(e) {
|
|
885
|
+
return e && e instanceof Xt || tn(e) && Vt(e);
|
|
866
886
|
}
|
|
867
|
-
var
|
|
887
|
+
var nn = Gt(function(e) {
|
|
868
888
|
return function() {
|
|
869
889
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
870
890
|
};
|
|
871
|
-
}),
|
|
891
|
+
}), qt = function(e) {
|
|
872
892
|
q(t, e);
|
|
873
893
|
function t() {
|
|
874
894
|
var r = e.call(this) || this;
|
|
875
895
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
876
896
|
}
|
|
877
897
|
return t.prototype.lift = function(r) {
|
|
878
|
-
var n = new
|
|
898
|
+
var n = new mt(this, this);
|
|
879
899
|
return n.operator = r, n;
|
|
880
900
|
}, t.prototype._throwIfClosed = function() {
|
|
881
901
|
if (this.closed)
|
|
882
|
-
throw new
|
|
902
|
+
throw new nn();
|
|
883
903
|
}, t.prototype.next = function(r) {
|
|
884
904
|
var n = this;
|
|
885
905
|
Ee(function() {
|
|
@@ -936,19 +956,19 @@ var Kr = Ut(function(e) {
|
|
|
936
956
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
937
957
|
}, t.prototype._innerSubscribe = function(r) {
|
|
938
958
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
939
|
-
return o || s ?
|
|
940
|
-
n.currentObservers = null,
|
|
959
|
+
return o || s ? jt : (this.currentObservers = null, a.push(r), new Be(function() {
|
|
960
|
+
n.currentObservers = null, We(a, r);
|
|
941
961
|
}));
|
|
942
962
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
943
963
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
944
964
|
i ? r.error(o) : s && r.complete();
|
|
945
965
|
}, t.prototype.asObservable = function() {
|
|
946
|
-
var r = new
|
|
966
|
+
var r = new pt();
|
|
947
967
|
return r.source = this, r;
|
|
948
968
|
}, t.create = function(r, n) {
|
|
949
|
-
return new
|
|
969
|
+
return new mt(r, n);
|
|
950
970
|
}, t;
|
|
951
|
-
}(
|
|
971
|
+
}(pt), mt = function(e) {
|
|
952
972
|
q(t, e);
|
|
953
973
|
function t(r, n) {
|
|
954
974
|
var i = e.call(this) || this;
|
|
@@ -965,17 +985,17 @@ var Kr = Ut(function(e) {
|
|
|
965
985
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
966
986
|
}, t.prototype._subscribe = function(r) {
|
|
967
987
|
var n, i;
|
|
968
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
988
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
969
989
|
}, t;
|
|
970
|
-
}(
|
|
990
|
+
}(qt), Wt = {
|
|
971
991
|
now: function() {
|
|
972
|
-
return (
|
|
992
|
+
return (Wt.delegate || Date).now();
|
|
973
993
|
},
|
|
974
994
|
delegate: void 0
|
|
975
|
-
},
|
|
995
|
+
}, on = function(e) {
|
|
976
996
|
q(t, e);
|
|
977
997
|
function t(r, n, i) {
|
|
978
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
998
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
|
|
979
999
|
var o = e.call(this) || this;
|
|
980
1000
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
981
1001
|
}
|
|
@@ -990,20 +1010,20 @@ var Kr = Ut(function(e) {
|
|
|
990
1010
|
}, t.prototype._trimBuffer = function() {
|
|
991
1011
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
992
1012
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
993
|
-
for (var l = i.now(), u = 0,
|
|
994
|
-
u =
|
|
1013
|
+
for (var l = i.now(), u = 0, c = 1; c < o.length && o[c] <= l; c += 2)
|
|
1014
|
+
u = c;
|
|
995
1015
|
u && o.splice(0, u + 1);
|
|
996
1016
|
}
|
|
997
1017
|
}, t;
|
|
998
|
-
}(
|
|
999
|
-
const
|
|
1000
|
-
if (
|
|
1001
|
-
const r = new
|
|
1002
|
-
|
|
1018
|
+
}(qt);
|
|
1019
|
+
const bt = [], yt = {}, sn = (e, t = 0) => {
|
|
1020
|
+
if (bt.indexOf(e) == -1) {
|
|
1021
|
+
const r = new on(t);
|
|
1022
|
+
yt[e] = r, bt.push(e);
|
|
1003
1023
|
}
|
|
1004
|
-
return
|
|
1024
|
+
return yt[e];
|
|
1005
1025
|
}, K = [];
|
|
1006
|
-
function
|
|
1026
|
+
function an(e, t) {
|
|
1007
1027
|
return {
|
|
1008
1028
|
subscribe: Pe(e, t).subscribe
|
|
1009
1029
|
};
|
|
@@ -1012,7 +1032,7 @@ function Pe(e, t = N) {
|
|
|
1012
1032
|
let r;
|
|
1013
1033
|
const n = /* @__PURE__ */ new Set();
|
|
1014
1034
|
function i(a) {
|
|
1015
|
-
if (
|
|
1035
|
+
if ($t(e, a) && (e = a, r)) {
|
|
1016
1036
|
const l = !K.length;
|
|
1017
1037
|
for (const u of n)
|
|
1018
1038
|
u[1](), K.push(u, e);
|
|
@@ -1039,96 +1059,96 @@ function le(e, t, r) {
|
|
|
1039
1059
|
if (!i.every(Boolean))
|
|
1040
1060
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1041
1061
|
const o = t.length < 2;
|
|
1042
|
-
return
|
|
1062
|
+
return an(r, (s, a) => {
|
|
1043
1063
|
let l = !1;
|
|
1044
1064
|
const u = [];
|
|
1045
|
-
let
|
|
1046
|
-
const
|
|
1047
|
-
if (
|
|
1065
|
+
let c = 0, f = N;
|
|
1066
|
+
const h = () => {
|
|
1067
|
+
if (c)
|
|
1048
1068
|
return;
|
|
1049
1069
|
f();
|
|
1050
1070
|
const m = t(n ? u[0] : u, s, a);
|
|
1051
|
-
o ? s(m) : f =
|
|
1071
|
+
o ? s(m) : f = it(m) ? m : N;
|
|
1052
1072
|
}, d = i.map(
|
|
1053
|
-
(m, p) =>
|
|
1073
|
+
(m, p) => Ut(
|
|
1054
1074
|
m,
|
|
1055
1075
|
(y) => {
|
|
1056
|
-
u[p] = y,
|
|
1076
|
+
u[p] = y, c &= ~(1 << p), l && h();
|
|
1057
1077
|
},
|
|
1058
1078
|
() => {
|
|
1059
|
-
|
|
1079
|
+
c |= 1 << p;
|
|
1060
1080
|
}
|
|
1061
1081
|
)
|
|
1062
1082
|
);
|
|
1063
|
-
return l = !0,
|
|
1083
|
+
return l = !0, h(), function() {
|
|
1064
1084
|
ue(d), f(), l = !1;
|
|
1065
1085
|
};
|
|
1066
1086
|
});
|
|
1067
1087
|
}
|
|
1068
|
-
function
|
|
1088
|
+
function un(e) {
|
|
1069
1089
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1070
1090
|
}
|
|
1071
|
-
var
|
|
1072
|
-
return
|
|
1091
|
+
var ln = function(t) {
|
|
1092
|
+
return cn(t) && !hn(t);
|
|
1073
1093
|
};
|
|
1074
|
-
function
|
|
1094
|
+
function cn(e) {
|
|
1075
1095
|
return !!e && typeof e == "object";
|
|
1076
1096
|
}
|
|
1077
|
-
function
|
|
1097
|
+
function hn(e) {
|
|
1078
1098
|
var t = Object.prototype.toString.call(e);
|
|
1079
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1099
|
+
return t === "[object RegExp]" || t === "[object Date]" || dn(e);
|
|
1080
1100
|
}
|
|
1081
|
-
var
|
|
1082
|
-
function
|
|
1083
|
-
return e.$$typeof ===
|
|
1101
|
+
var fn = typeof Symbol == "function" && Symbol.for, pn = fn ? Symbol.for("react.element") : 60103;
|
|
1102
|
+
function dn(e) {
|
|
1103
|
+
return e.$$typeof === pn;
|
|
1084
1104
|
}
|
|
1085
|
-
function
|
|
1105
|
+
function mn(e) {
|
|
1086
1106
|
return Array.isArray(e) ? [] : {};
|
|
1087
1107
|
}
|
|
1088
1108
|
function me(e, t) {
|
|
1089
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ie(
|
|
1109
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ie(mn(e), e, t) : e;
|
|
1090
1110
|
}
|
|
1091
|
-
function
|
|
1111
|
+
function bn(e, t, r) {
|
|
1092
1112
|
return e.concat(t).map(function(n) {
|
|
1093
1113
|
return me(n, r);
|
|
1094
1114
|
});
|
|
1095
1115
|
}
|
|
1096
|
-
function
|
|
1116
|
+
function yn(e, t) {
|
|
1097
1117
|
if (!t.customMerge)
|
|
1098
1118
|
return ie;
|
|
1099
1119
|
var r = t.customMerge(e);
|
|
1100
1120
|
return typeof r == "function" ? r : ie;
|
|
1101
1121
|
}
|
|
1102
|
-
function
|
|
1122
|
+
function gn(e) {
|
|
1103
1123
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1104
1124
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1105
1125
|
}) : [];
|
|
1106
1126
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return Object.keys(e).concat(
|
|
1127
|
+
function gt(e) {
|
|
1128
|
+
return Object.keys(e).concat(gn(e));
|
|
1109
1129
|
}
|
|
1110
|
-
function
|
|
1130
|
+
function Zt(e, t) {
|
|
1111
1131
|
try {
|
|
1112
1132
|
return t in e;
|
|
1113
1133
|
} catch {
|
|
1114
1134
|
return !1;
|
|
1115
1135
|
}
|
|
1116
1136
|
}
|
|
1117
|
-
function
|
|
1118
|
-
return
|
|
1137
|
+
function vn(e, t) {
|
|
1138
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1119
1139
|
}
|
|
1120
|
-
function
|
|
1140
|
+
function xn(e, t, r) {
|
|
1121
1141
|
var n = {};
|
|
1122
|
-
return r.isMergeableObject(e) &&
|
|
1142
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
1123
1143
|
n[i] = me(e[i], r);
|
|
1124
|
-
}),
|
|
1125
|
-
|
|
1144
|
+
}), gt(t).forEach(function(i) {
|
|
1145
|
+
vn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
1126
1146
|
}), n;
|
|
1127
1147
|
}
|
|
1128
1148
|
function ie(e, t, r) {
|
|
1129
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1149
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = me;
|
|
1130
1150
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1131
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1151
|
+
return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : me(t, r);
|
|
1132
1152
|
}
|
|
1133
1153
|
ie.all = function(t, r) {
|
|
1134
1154
|
if (!Array.isArray(t))
|
|
@@ -1137,56 +1157,58 @@ ie.all = function(t, r) {
|
|
|
1137
1157
|
return ie(n, i, r);
|
|
1138
1158
|
}, {});
|
|
1139
1159
|
};
|
|
1140
|
-
var
|
|
1141
|
-
const
|
|
1142
|
-
function
|
|
1143
|
-
var r = t && t.cache ? t.cache :
|
|
1160
|
+
var _n = ie, En = _n;
|
|
1161
|
+
const Sn = /* @__PURE__ */ un(En);
|
|
1162
|
+
function ke(e, t) {
|
|
1163
|
+
var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
|
|
1144
1164
|
return i(e, {
|
|
1145
1165
|
cache: r,
|
|
1146
1166
|
serializer: n
|
|
1147
1167
|
});
|
|
1148
1168
|
}
|
|
1149
|
-
function
|
|
1169
|
+
function wn(e) {
|
|
1150
1170
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1151
1171
|
}
|
|
1152
|
-
function
|
|
1153
|
-
var i =
|
|
1172
|
+
function Qt(e, t, r, n) {
|
|
1173
|
+
var i = wn(n) ? n : r(n), o = t.get(i);
|
|
1154
1174
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1155
1175
|
}
|
|
1156
|
-
function
|
|
1176
|
+
function Jt(e, t, r) {
|
|
1157
1177
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1158
1178
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1159
1179
|
}
|
|
1160
|
-
function
|
|
1180
|
+
function ot(e, t, r, n, i) {
|
|
1161
1181
|
return r.bind(t, e, n, i);
|
|
1162
1182
|
}
|
|
1163
|
-
function
|
|
1164
|
-
var r = e.length === 1 ?
|
|
1165
|
-
return
|
|
1183
|
+
function Tn(e, t) {
|
|
1184
|
+
var r = e.length === 1 ? Qt : Jt;
|
|
1185
|
+
return ot(e, this, r, t.cache.create(), t.serializer);
|
|
1166
1186
|
}
|
|
1167
|
-
function
|
|
1168
|
-
return
|
|
1187
|
+
function Hn(e, t) {
|
|
1188
|
+
return ot(e, this, Jt, t.cache.create(), t.serializer);
|
|
1169
1189
|
}
|
|
1170
|
-
|
|
1190
|
+
function Cn(e, t) {
|
|
1191
|
+
return ot(e, this, Qt, t.cache.create(), t.serializer);
|
|
1192
|
+
}
|
|
1193
|
+
var Bn = function() {
|
|
1171
1194
|
return JSON.stringify(arguments);
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
}()
|
|
1184
|
-
), Hn = {
|
|
1195
|
+
};
|
|
1196
|
+
function st() {
|
|
1197
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1198
|
+
}
|
|
1199
|
+
st.prototype.get = function(e) {
|
|
1200
|
+
return this.cache[e];
|
|
1201
|
+
};
|
|
1202
|
+
st.prototype.set = function(e, t) {
|
|
1203
|
+
this.cache[e] = t;
|
|
1204
|
+
};
|
|
1205
|
+
var Pn = {
|
|
1185
1206
|
create: function() {
|
|
1186
|
-
return new
|
|
1207
|
+
return new st();
|
|
1187
1208
|
}
|
|
1188
|
-
},
|
|
1189
|
-
variadic:
|
|
1209
|
+
}, Ne = {
|
|
1210
|
+
variadic: Hn,
|
|
1211
|
+
monadic: Cn
|
|
1190
1212
|
}, v;
|
|
1191
1213
|
(function(e) {
|
|
1192
1214
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -1199,43 +1221,43 @@ var oe;
|
|
|
1199
1221
|
(function(e) {
|
|
1200
1222
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1201
1223
|
})(oe || (oe = {}));
|
|
1202
|
-
function
|
|
1224
|
+
function vt(e) {
|
|
1203
1225
|
return e.type === C.literal;
|
|
1204
1226
|
}
|
|
1205
|
-
function
|
|
1227
|
+
function An(e) {
|
|
1206
1228
|
return e.type === C.argument;
|
|
1207
1229
|
}
|
|
1208
|
-
function
|
|
1230
|
+
function Yt(e) {
|
|
1209
1231
|
return e.type === C.number;
|
|
1210
1232
|
}
|
|
1211
|
-
function
|
|
1233
|
+
function Kt(e) {
|
|
1212
1234
|
return e.type === C.date;
|
|
1213
1235
|
}
|
|
1214
|
-
function
|
|
1236
|
+
function er(e) {
|
|
1215
1237
|
return e.type === C.time;
|
|
1216
1238
|
}
|
|
1217
|
-
function
|
|
1239
|
+
function tr(e) {
|
|
1218
1240
|
return e.type === C.select;
|
|
1219
1241
|
}
|
|
1220
|
-
function
|
|
1242
|
+
function rr(e) {
|
|
1221
1243
|
return e.type === C.plural;
|
|
1222
1244
|
}
|
|
1223
|
-
function
|
|
1245
|
+
function Rn(e) {
|
|
1224
1246
|
return e.type === C.pound;
|
|
1225
1247
|
}
|
|
1226
|
-
function
|
|
1248
|
+
function nr(e) {
|
|
1227
1249
|
return e.type === C.tag;
|
|
1228
1250
|
}
|
|
1229
|
-
function
|
|
1251
|
+
function ir(e) {
|
|
1230
1252
|
return !!(e && typeof e == "object" && e.type === oe.number);
|
|
1231
1253
|
}
|
|
1232
|
-
function
|
|
1254
|
+
function Qe(e) {
|
|
1233
1255
|
return !!(e && typeof e == "object" && e.type === oe.dateTime);
|
|
1234
1256
|
}
|
|
1235
|
-
var
|
|
1236
|
-
function
|
|
1257
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1258
|
+
function On(e) {
|
|
1237
1259
|
var t = {};
|
|
1238
|
-
return e.replace(
|
|
1260
|
+
return e.replace(Mn, function(r) {
|
|
1239
1261
|
var n = r.length;
|
|
1240
1262
|
switch (r[0]) {
|
|
1241
1263
|
case "G":
|
|
@@ -1324,18 +1346,18 @@ function An(e) {
|
|
|
1324
1346
|
return "";
|
|
1325
1347
|
}), t;
|
|
1326
1348
|
}
|
|
1327
|
-
var
|
|
1328
|
-
function
|
|
1349
|
+
var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1350
|
+
function Ln(e) {
|
|
1329
1351
|
if (e.length === 0)
|
|
1330
1352
|
throw new Error("Number skeleton cannot be empty");
|
|
1331
|
-
for (var t = e.split(
|
|
1332
|
-
return
|
|
1353
|
+
for (var t = e.split(In).filter(function(h) {
|
|
1354
|
+
return h.length > 0;
|
|
1333
1355
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1334
1356
|
var o = i[n], s = o.split("/");
|
|
1335
1357
|
if (s.length === 0)
|
|
1336
1358
|
throw new Error("Invalid number skeleton");
|
|
1337
|
-
for (var a = s[0], l = s.slice(1), u = 0,
|
|
1338
|
-
var f =
|
|
1359
|
+
for (var a = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
|
|
1360
|
+
var f = c[u];
|
|
1339
1361
|
if (f.length === 0)
|
|
1340
1362
|
throw new Error("Invalid number skeleton");
|
|
1341
1363
|
}
|
|
@@ -1343,17 +1365,17 @@ function Rn(e) {
|
|
|
1343
1365
|
}
|
|
1344
1366
|
return r;
|
|
1345
1367
|
}
|
|
1346
|
-
function
|
|
1368
|
+
function kn(e) {
|
|
1347
1369
|
return e.replace(/^(.*?)-/, "");
|
|
1348
1370
|
}
|
|
1349
|
-
var
|
|
1350
|
-
function
|
|
1371
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1372
|
+
function _t(e) {
|
|
1351
1373
|
var t = {};
|
|
1352
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1374
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
|
1353
1375
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1354
1376
|
}), t;
|
|
1355
1377
|
}
|
|
1356
|
-
function
|
|
1378
|
+
function ur(e) {
|
|
1357
1379
|
switch (e) {
|
|
1358
1380
|
case "sign-auto":
|
|
1359
1381
|
return {
|
|
@@ -1393,7 +1415,7 @@ function ir(e) {
|
|
|
1393
1415
|
};
|
|
1394
1416
|
}
|
|
1395
1417
|
}
|
|
1396
|
-
function
|
|
1418
|
+
function $n(e) {
|
|
1397
1419
|
var t;
|
|
1398
1420
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1399
1421
|
notation: "engineering"
|
|
@@ -1401,17 +1423,17 @@ function Ln(e) {
|
|
|
1401
1423
|
notation: "scientific"
|
|
1402
1424
|
}, e = e.slice(1)), t) {
|
|
1403
1425
|
var r = e.slice(0, 2);
|
|
1404
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1426
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
|
1405
1427
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1406
1428
|
t.minimumIntegerDigits = e.length;
|
|
1407
1429
|
}
|
|
1408
1430
|
return t;
|
|
1409
1431
|
}
|
|
1410
|
-
function
|
|
1411
|
-
var t = {}, r =
|
|
1432
|
+
function Et(e) {
|
|
1433
|
+
var t = {}, r = ur(e);
|
|
1412
1434
|
return r || t;
|
|
1413
1435
|
}
|
|
1414
|
-
function
|
|
1436
|
+
function Un(e) {
|
|
1415
1437
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1416
1438
|
var i = n[r];
|
|
1417
1439
|
switch (i.stem) {
|
|
@@ -1435,7 +1457,7 @@ function kn(e) {
|
|
|
1435
1457
|
continue;
|
|
1436
1458
|
case "measure-unit":
|
|
1437
1459
|
case "unit":
|
|
1438
|
-
t.style = "unit", t.unit =
|
|
1460
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
|
1439
1461
|
continue;
|
|
1440
1462
|
case "compact-short":
|
|
1441
1463
|
case "K":
|
|
@@ -1447,12 +1469,12 @@ function kn(e) {
|
|
|
1447
1469
|
continue;
|
|
1448
1470
|
case "scientific":
|
|
1449
1471
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1450
|
-
return S(S({}, l),
|
|
1472
|
+
return S(S({}, l), Et(u));
|
|
1451
1473
|
}, {}));
|
|
1452
1474
|
continue;
|
|
1453
1475
|
case "engineering":
|
|
1454
1476
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1455
|
-
return S(S({}, l),
|
|
1477
|
+
return S(S({}, l), Et(u));
|
|
1456
1478
|
}, {}));
|
|
1457
1479
|
continue;
|
|
1458
1480
|
case "notation-simple":
|
|
@@ -1497,11 +1519,11 @@ function kn(e) {
|
|
|
1497
1519
|
case "integer-width":
|
|
1498
1520
|
if (i.options.length > 1)
|
|
1499
1521
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1500
|
-
i.options[0].replace(
|
|
1522
|
+
i.options[0].replace(Nn, function(l, u, c, f, h, d) {
|
|
1501
1523
|
if (u)
|
|
1502
|
-
t.minimumIntegerDigits =
|
|
1524
|
+
t.minimumIntegerDigits = c.length;
|
|
1503
1525
|
else {
|
|
1504
|
-
if (f &&
|
|
1526
|
+
if (f && h)
|
|
1505
1527
|
throw new Error("We currently do not support maximum integer digits");
|
|
1506
1528
|
if (d)
|
|
1507
1529
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1510,27 +1532,27 @@ function kn(e) {
|
|
|
1510
1532
|
});
|
|
1511
1533
|
continue;
|
|
1512
1534
|
}
|
|
1513
|
-
if (
|
|
1535
|
+
if (ar.test(i.stem)) {
|
|
1514
1536
|
t.minimumIntegerDigits = i.stem.length;
|
|
1515
1537
|
continue;
|
|
1516
1538
|
}
|
|
1517
|
-
if (
|
|
1539
|
+
if (xt.test(i.stem)) {
|
|
1518
1540
|
if (i.options.length > 1)
|
|
1519
1541
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1520
|
-
i.stem.replace(
|
|
1521
|
-
return
|
|
1542
|
+
i.stem.replace(xt, function(l, u, c, f, h, d) {
|
|
1543
|
+
return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1522
1544
|
});
|
|
1523
1545
|
var o = i.options[0];
|
|
1524
|
-
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t),
|
|
1546
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), _t(o)));
|
|
1525
1547
|
continue;
|
|
1526
1548
|
}
|
|
1527
|
-
if (
|
|
1528
|
-
t = S(S({}, t),
|
|
1549
|
+
if (sr.test(i.stem)) {
|
|
1550
|
+
t = S(S({}, t), _t(i.stem));
|
|
1529
1551
|
continue;
|
|
1530
1552
|
}
|
|
1531
|
-
var s =
|
|
1553
|
+
var s = ur(i.stem);
|
|
1532
1554
|
s && (t = S(S({}, t), s));
|
|
1533
|
-
var a =
|
|
1555
|
+
var a = $n(i.stem);
|
|
1534
1556
|
a && (t = S(S({}, t), a));
|
|
1535
1557
|
}
|
|
1536
1558
|
return t;
|
|
@@ -2950,13 +2972,13 @@ var xe = {
|
|
|
2950
2972
|
"h"
|
|
2951
2973
|
]
|
|
2952
2974
|
};
|
|
2953
|
-
function
|
|
2975
|
+
function Dn(e, t) {
|
|
2954
2976
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2955
2977
|
var i = e.charAt(n);
|
|
2956
2978
|
if (i === "j") {
|
|
2957
2979
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2958
2980
|
o++, n++;
|
|
2959
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2981
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
|
|
2960
2982
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2961
2983
|
r += l;
|
|
2962
2984
|
for (; s-- > 0; )
|
|
@@ -2966,7 +2988,7 @@ function Nn(e, t) {
|
|
|
2966
2988
|
}
|
|
2967
2989
|
return r;
|
|
2968
2990
|
}
|
|
2969
|
-
function
|
|
2991
|
+
function Fn(e) {
|
|
2970
2992
|
var t = e.hourCycle;
|
|
2971
2993
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2972
2994
|
e.hourCycles && // @ts-ignore
|
|
@@ -2988,20 +3010,20 @@ function $n(e) {
|
|
|
2988
3010
|
var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
|
|
2989
3011
|
return i[0];
|
|
2990
3012
|
}
|
|
2991
|
-
var
|
|
3013
|
+
var $e, Gn = new RegExp("^".concat(or.source, "*")), jn = new RegExp("".concat(or.source, "*$"));
|
|
2992
3014
|
function x(e, t) {
|
|
2993
3015
|
return { start: e, end: t };
|
|
2994
3016
|
}
|
|
2995
|
-
var
|
|
3017
|
+
var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Xn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
|
|
2996
3018
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2997
|
-
},
|
|
3019
|
+
}, Je = !0;
|
|
2998
3020
|
try {
|
|
2999
|
-
var
|
|
3000
|
-
|
|
3021
|
+
var Yn = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3022
|
+
Je = (($e = Yn.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
|
3001
3023
|
} catch {
|
|
3002
|
-
|
|
3024
|
+
Je = !1;
|
|
3003
3025
|
}
|
|
3004
|
-
var
|
|
3026
|
+
var St = Vn ? (
|
|
3005
3027
|
// Native
|
|
3006
3028
|
function(t, r, n) {
|
|
3007
3029
|
return t.startsWith(r, n);
|
|
@@ -3011,7 +3033,7 @@ var xt = Fn ? (
|
|
|
3011
3033
|
function(t, r, n) {
|
|
3012
3034
|
return t.slice(n, n + r.length) === r;
|
|
3013
3035
|
}
|
|
3014
|
-
),
|
|
3036
|
+
), Ye = zn ? String.fromCodePoint : (
|
|
3015
3037
|
// IE11
|
|
3016
3038
|
function() {
|
|
3017
3039
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3023,9 +3045,9 @@ var xt = Fn ? (
|
|
|
3023
3045
|
}
|
|
3024
3046
|
return n;
|
|
3025
3047
|
}
|
|
3026
|
-
),
|
|
3048
|
+
), wt = (
|
|
3027
3049
|
// native
|
|
3028
|
-
|
|
3050
|
+
Xn ? Object.fromEntries : (
|
|
3029
3051
|
// Ponyfill
|
|
3030
3052
|
function(t) {
|
|
3031
3053
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3035,7 +3057,7 @@ var xt = Fn ? (
|
|
|
3035
3057
|
return r;
|
|
3036
3058
|
}
|
|
3037
3059
|
)
|
|
3038
|
-
),
|
|
3060
|
+
), lr = qn ? (
|
|
3039
3061
|
// Native
|
|
3040
3062
|
function(t, r) {
|
|
3041
3063
|
return t.codePointAt(r);
|
|
@@ -3049,7 +3071,7 @@ var xt = Fn ? (
|
|
|
3049
3071
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3050
3072
|
}
|
|
3051
3073
|
}
|
|
3052
|
-
),
|
|
3074
|
+
), Kn = Wn ? (
|
|
3053
3075
|
// Native
|
|
3054
3076
|
function(t) {
|
|
3055
3077
|
return t.trimStart();
|
|
@@ -3057,9 +3079,9 @@ var xt = Fn ? (
|
|
|
3057
3079
|
) : (
|
|
3058
3080
|
// Ponyfill
|
|
3059
3081
|
function(t) {
|
|
3060
|
-
return t.replace(
|
|
3082
|
+
return t.replace(Gn, "");
|
|
3061
3083
|
}
|
|
3062
|
-
),
|
|
3084
|
+
), ei = Zn ? (
|
|
3063
3085
|
// Native
|
|
3064
3086
|
function(t) {
|
|
3065
3087
|
return t.trimEnd();
|
|
@@ -3067,32 +3089,32 @@ var xt = Fn ? (
|
|
|
3067
3089
|
) : (
|
|
3068
3090
|
// Ponyfill
|
|
3069
3091
|
function(t) {
|
|
3070
|
-
return t.replace(
|
|
3092
|
+
return t.replace(jn, "");
|
|
3071
3093
|
}
|
|
3072
3094
|
);
|
|
3073
|
-
function
|
|
3095
|
+
function cr(e, t) {
|
|
3074
3096
|
return new RegExp(e, t);
|
|
3075
3097
|
}
|
|
3076
|
-
var
|
|
3077
|
-
if (
|
|
3078
|
-
var
|
|
3079
|
-
|
|
3098
|
+
var Ke;
|
|
3099
|
+
if (Je) {
|
|
3100
|
+
var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3101
|
+
Ke = function(t, r) {
|
|
3080
3102
|
var n;
|
|
3081
|
-
|
|
3082
|
-
var i =
|
|
3103
|
+
Tt.lastIndex = r;
|
|
3104
|
+
var i = Tt.exec(t);
|
|
3083
3105
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3084
3106
|
};
|
|
3085
3107
|
} else
|
|
3086
|
-
|
|
3108
|
+
Ke = function(t, r) {
|
|
3087
3109
|
for (var n = []; ; ) {
|
|
3088
|
-
var i =
|
|
3089
|
-
if (i === void 0 ||
|
|
3110
|
+
var i = lr(t, r);
|
|
3111
|
+
if (i === void 0 || hr(i) || ii(i))
|
|
3090
3112
|
break;
|
|
3091
3113
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3092
3114
|
}
|
|
3093
|
-
return
|
|
3115
|
+
return Ye.apply(void 0, n);
|
|
3094
3116
|
};
|
|
3095
|
-
var
|
|
3117
|
+
var ti = (
|
|
3096
3118
|
/** @class */
|
|
3097
3119
|
function() {
|
|
3098
3120
|
function e(t, r) {
|
|
@@ -3123,7 +3145,7 @@ var Yn = (
|
|
|
3123
3145
|
if (n)
|
|
3124
3146
|
break;
|
|
3125
3147
|
return this.error(v.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3126
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3148
|
+
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3127
3149
|
var s = this.parseTag(t, r);
|
|
3128
3150
|
if (s.err)
|
|
3129
3151
|
return s;
|
|
@@ -3156,7 +3178,7 @@ var Yn = (
|
|
|
3156
3178
|
return o;
|
|
3157
3179
|
var s = o.val, a = this.clonePosition();
|
|
3158
3180
|
if (this.bumpIf("</")) {
|
|
3159
|
-
if (this.isEOF() || !
|
|
3181
|
+
if (this.isEOF() || !et(this.char()))
|
|
3160
3182
|
return this.error(v.INVALID_TAG, x(a, this.clonePosition()));
|
|
3161
3183
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3162
3184
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3174,7 +3196,7 @@ var Yn = (
|
|
|
3174
3196
|
return this.error(v.INVALID_TAG, x(n, this.clonePosition()));
|
|
3175
3197
|
}, e.prototype.parseTagName = function() {
|
|
3176
3198
|
var t = this.offset();
|
|
3177
|
-
for (this.bump(); !this.isEOF() &&
|
|
3199
|
+
for (this.bump(); !this.isEOF() && ni(this.char()); )
|
|
3178
3200
|
this.bump();
|
|
3179
3201
|
return this.message.slice(t, this.offset());
|
|
3180
3202
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3203,7 +3225,7 @@ var Yn = (
|
|
|
3203
3225
|
};
|
|
3204
3226
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3205
3227
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3206
|
-
!
|
|
3228
|
+
!ri(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3207
3229
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3208
3230
|
if (this.isEOF() || this.char() !== 39)
|
|
3209
3231
|
return null;
|
|
@@ -3237,12 +3259,12 @@ var Yn = (
|
|
|
3237
3259
|
r.push(n);
|
|
3238
3260
|
this.bump();
|
|
3239
3261
|
}
|
|
3240
|
-
return
|
|
3262
|
+
return Ye.apply(void 0, r);
|
|
3241
3263
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3242
3264
|
if (this.isEOF())
|
|
3243
3265
|
return null;
|
|
3244
3266
|
var n = this.char();
|
|
3245
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3267
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
|
|
3246
3268
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3247
3269
|
var n = this.clonePosition();
|
|
3248
3270
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3271,7 +3293,7 @@ var Yn = (
|
|
|
3271
3293
|
return this.error(v.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3272
3294
|
}
|
|
3273
3295
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3274
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3296
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3275
3297
|
this.bumpTo(i);
|
|
3276
3298
|
var o = this.clonePosition(), s = x(t, o);
|
|
3277
3299
|
return { value: n, location: s };
|
|
@@ -3287,21 +3309,21 @@ var Yn = (
|
|
|
3287
3309
|
var u = null;
|
|
3288
3310
|
if (this.bumpIf(",")) {
|
|
3289
3311
|
this.bumpSpace();
|
|
3290
|
-
var
|
|
3312
|
+
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3291
3313
|
if (f.err)
|
|
3292
3314
|
return f;
|
|
3293
|
-
var
|
|
3294
|
-
if (
|
|
3315
|
+
var h = ei(f.val);
|
|
3316
|
+
if (h.length === 0)
|
|
3295
3317
|
return this.error(v.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3296
|
-
var d = x(
|
|
3297
|
-
u = { style:
|
|
3318
|
+
var d = x(c, this.clonePosition());
|
|
3319
|
+
u = { style: h, styleLocation: d };
|
|
3298
3320
|
}
|
|
3299
3321
|
var m = this.tryParseArgumentClose(i);
|
|
3300
3322
|
if (m.err)
|
|
3301
3323
|
return m;
|
|
3302
3324
|
var p = x(i, this.clonePosition());
|
|
3303
|
-
if (u &&
|
|
3304
|
-
var y =
|
|
3325
|
+
if (u && St(u?.style, "::", 0)) {
|
|
3326
|
+
var y = Kn(u.style.slice(2));
|
|
3305
3327
|
if (a === "number") {
|
|
3306
3328
|
var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
|
|
3307
3329
|
return f.err ? f : {
|
|
@@ -3312,15 +3334,15 @@ var Yn = (
|
|
|
3312
3334
|
if (y.length === 0)
|
|
3313
3335
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
|
|
3314
3336
|
var _ = y;
|
|
3315
|
-
this.locale && (_ =
|
|
3316
|
-
var
|
|
3337
|
+
this.locale && (_ = Dn(y, this.locale));
|
|
3338
|
+
var h = {
|
|
3317
3339
|
type: oe.dateTime,
|
|
3318
3340
|
pattern: _,
|
|
3319
3341
|
location: u.styleLocation,
|
|
3320
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3342
|
+
parsedOptions: this.shouldParseSkeletons ? On(_) : {}
|
|
3321
3343
|
}, P = a === "date" ? C.date : C.time;
|
|
3322
3344
|
return {
|
|
3323
|
-
val: { type: P, value: n, location: p, style:
|
|
3345
|
+
val: { type: P, value: n, location: p, style: h },
|
|
3324
3346
|
err: null
|
|
3325
3347
|
};
|
|
3326
3348
|
}
|
|
@@ -3342,7 +3364,7 @@ var Yn = (
|
|
|
3342
3364
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3343
3365
|
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, x(I, S({}, I)));
|
|
3344
3366
|
this.bumpSpace();
|
|
3345
|
-
var j = this.parseIdentifierIfPossible(),
|
|
3367
|
+
var j = this.parseIdentifierIfPossible(), O = 0;
|
|
3346
3368
|
if (a !== "select" && j.value === "offset") {
|
|
3347
3369
|
if (!this.bumpIf(":"))
|
|
3348
3370
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3350,7 +3372,7 @@ var Yn = (
|
|
|
3350
3372
|
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3351
3373
|
if (f.err)
|
|
3352
3374
|
return f;
|
|
3353
|
-
this.bumpSpace(), j = this.parseIdentifierIfPossible(),
|
|
3375
|
+
this.bumpSpace(), j = this.parseIdentifierIfPossible(), O = f.val;
|
|
3354
3376
|
}
|
|
3355
3377
|
var B = this.tryParsePluralOrSelectOptions(t, a, r, j);
|
|
3356
3378
|
if (B.err)
|
|
@@ -3363,7 +3385,7 @@ var Yn = (
|
|
|
3363
3385
|
val: {
|
|
3364
3386
|
type: C.select,
|
|
3365
3387
|
value: n,
|
|
3366
|
-
options:
|
|
3388
|
+
options: wt(B.val),
|
|
3367
3389
|
location: F
|
|
3368
3390
|
},
|
|
3369
3391
|
err: null
|
|
@@ -3371,8 +3393,8 @@ var Yn = (
|
|
|
3371
3393
|
val: {
|
|
3372
3394
|
type: C.plural,
|
|
3373
3395
|
value: n,
|
|
3374
|
-
options:
|
|
3375
|
-
offset:
|
|
3396
|
+
options: wt(B.val),
|
|
3397
|
+
offset: O,
|
|
3376
3398
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3377
3399
|
location: F
|
|
3378
3400
|
},
|
|
@@ -3422,7 +3444,7 @@ var Yn = (
|
|
|
3422
3444
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3423
3445
|
var n = [];
|
|
3424
3446
|
try {
|
|
3425
|
-
n =
|
|
3447
|
+
n = Ln(t);
|
|
3426
3448
|
} catch {
|
|
3427
3449
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3428
3450
|
}
|
|
@@ -3431,24 +3453,24 @@ var Yn = (
|
|
|
3431
3453
|
type: oe.number,
|
|
3432
3454
|
tokens: n,
|
|
3433
3455
|
location: r,
|
|
3434
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3456
|
+
parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
|
|
3435
3457
|
},
|
|
3436
3458
|
err: null
|
|
3437
3459
|
};
|
|
3438
3460
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3439
|
-
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value,
|
|
3461
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
|
|
3440
3462
|
if (u.length === 0) {
|
|
3441
3463
|
var f = this.clonePosition();
|
|
3442
3464
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3443
|
-
var
|
|
3444
|
-
if (
|
|
3445
|
-
return
|
|
3446
|
-
|
|
3465
|
+
var h = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3466
|
+
if (h.err)
|
|
3467
|
+
return h;
|
|
3468
|
+
c = x(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3447
3469
|
} else
|
|
3448
3470
|
break;
|
|
3449
3471
|
}
|
|
3450
3472
|
if (l.has(u))
|
|
3451
|
-
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3473
|
+
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3452
3474
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3453
3475
|
var d = this.clonePosition();
|
|
3454
3476
|
if (!this.bumpIf("{"))
|
|
@@ -3465,7 +3487,7 @@ var Yn = (
|
|
|
3465
3487
|
value: m.val,
|
|
3466
3488
|
location: x(d, this.clonePosition())
|
|
3467
3489
|
}
|
|
3468
|
-
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value,
|
|
3490
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3469
3491
|
}
|
|
3470
3492
|
return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3471
3493
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3479,7 +3501,7 @@ var Yn = (
|
|
|
3479
3501
|
break;
|
|
3480
3502
|
}
|
|
3481
3503
|
var l = x(i, this.clonePosition());
|
|
3482
|
-
return o ? (s *= n,
|
|
3504
|
+
return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3483
3505
|
}, e.prototype.offset = function() {
|
|
3484
3506
|
return this.position.offset;
|
|
3485
3507
|
}, e.prototype.isEOF = function() {
|
|
@@ -3494,7 +3516,7 @@ var Yn = (
|
|
|
3494
3516
|
var t = this.position.offset;
|
|
3495
3517
|
if (t >= this.message.length)
|
|
3496
3518
|
throw Error("out of bound");
|
|
3497
|
-
var r =
|
|
3519
|
+
var r = lr(this.message, t);
|
|
3498
3520
|
if (r === void 0)
|
|
3499
3521
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3500
3522
|
return r;
|
|
@@ -3513,7 +3535,7 @@ var Yn = (
|
|
|
3513
3535
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3514
3536
|
}
|
|
3515
3537
|
}, e.prototype.bumpIf = function(t) {
|
|
3516
|
-
if (
|
|
3538
|
+
if (St(this.message, t, this.offset())) {
|
|
3517
3539
|
for (var r = 0; r < t.length; r++)
|
|
3518
3540
|
this.bump();
|
|
3519
3541
|
return !0;
|
|
@@ -3535,7 +3557,7 @@ var Yn = (
|
|
|
3535
3557
|
break;
|
|
3536
3558
|
}
|
|
3537
3559
|
}, e.prototype.bumpSpace = function() {
|
|
3538
|
-
for (; !this.isEOF() &&
|
|
3560
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3539
3561
|
this.bump();
|
|
3540
3562
|
}, e.prototype.peek = function() {
|
|
3541
3563
|
if (this.isEOF())
|
|
@@ -3545,38 +3567,38 @@ var Yn = (
|
|
|
3545
3567
|
}, e;
|
|
3546
3568
|
}()
|
|
3547
3569
|
);
|
|
3548
|
-
function
|
|
3570
|
+
function et(e) {
|
|
3549
3571
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3550
3572
|
}
|
|
3551
|
-
function
|
|
3552
|
-
return
|
|
3573
|
+
function ri(e) {
|
|
3574
|
+
return et(e) || e === 47;
|
|
3553
3575
|
}
|
|
3554
|
-
function
|
|
3576
|
+
function ni(e) {
|
|
3555
3577
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3556
3578
|
}
|
|
3557
|
-
function
|
|
3579
|
+
function hr(e) {
|
|
3558
3580
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3559
3581
|
}
|
|
3560
|
-
function
|
|
3582
|
+
function ii(e) {
|
|
3561
3583
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3562
3584
|
}
|
|
3563
|
-
function
|
|
3585
|
+
function tt(e) {
|
|
3564
3586
|
e.forEach(function(t) {
|
|
3565
|
-
if (delete t.location,
|
|
3587
|
+
if (delete t.location, tr(t) || rr(t))
|
|
3566
3588
|
for (var r in t.options)
|
|
3567
|
-
delete t.options[r].location,
|
|
3589
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3568
3590
|
else
|
|
3569
|
-
|
|
3591
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && tt(t.children);
|
|
3570
3592
|
});
|
|
3571
3593
|
}
|
|
3572
|
-
function
|
|
3594
|
+
function oi(e, t) {
|
|
3573
3595
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3574
|
-
var r = new
|
|
3596
|
+
var r = new ti(e, t).parse();
|
|
3575
3597
|
if (r.err) {
|
|
3576
3598
|
var n = SyntaxError(v[r.err.kind]);
|
|
3577
3599
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3578
3600
|
}
|
|
3579
|
-
return t?.captureLocation ||
|
|
3601
|
+
return t?.captureLocation || tt(r.val), r.val;
|
|
3580
3602
|
}
|
|
3581
3603
|
var se;
|
|
3582
3604
|
(function(e) {
|
|
@@ -3594,7 +3616,7 @@ var Ae = (
|
|
|
3594
3616
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3595
3617
|
}, t;
|
|
3596
3618
|
}(Error)
|
|
3597
|
-
),
|
|
3619
|
+
), Ht = (
|
|
3598
3620
|
/** @class */
|
|
3599
3621
|
function(e) {
|
|
3600
3622
|
q(t, e);
|
|
@@ -3603,7 +3625,7 @@ var Ae = (
|
|
|
3603
3625
|
}
|
|
3604
3626
|
return t;
|
|
3605
3627
|
}(Ae)
|
|
3606
|
-
),
|
|
3628
|
+
), si = (
|
|
3607
3629
|
/** @class */
|
|
3608
3630
|
function(e) {
|
|
3609
3631
|
q(t, e);
|
|
@@ -3612,7 +3634,7 @@ var Ae = (
|
|
|
3612
3634
|
}
|
|
3613
3635
|
return t;
|
|
3614
3636
|
}(Ae)
|
|
3615
|
-
),
|
|
3637
|
+
), ai = (
|
|
3616
3638
|
/** @class */
|
|
3617
3639
|
function(e) {
|
|
3618
3640
|
q(t, e);
|
|
@@ -3625,17 +3647,17 @@ var Ae = (
|
|
|
3625
3647
|
(function(e) {
|
|
3626
3648
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3627
3649
|
})(k || (k = {}));
|
|
3628
|
-
function
|
|
3650
|
+
function ui(e) {
|
|
3629
3651
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3630
3652
|
var n = t[t.length - 1];
|
|
3631
3653
|
return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
|
|
3632
3654
|
}, []);
|
|
3633
3655
|
}
|
|
3634
|
-
function
|
|
3656
|
+
function li(e) {
|
|
3635
3657
|
return typeof e == "function";
|
|
3636
3658
|
}
|
|
3637
3659
|
function Se(e, t, r, n, i, o, s) {
|
|
3638
|
-
if (e.length === 1 &&
|
|
3660
|
+
if (e.length === 1 && vt(e[0]))
|
|
3639
3661
|
return [
|
|
3640
3662
|
{
|
|
3641
3663
|
type: k.literal,
|
|
@@ -3643,106 +3665,106 @@ function Se(e, t, r, n, i, o, s) {
|
|
|
3643
3665
|
}
|
|
3644
3666
|
];
|
|
3645
3667
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3646
|
-
var
|
|
3647
|
-
if (
|
|
3668
|
+
var c = u[l];
|
|
3669
|
+
if (vt(c)) {
|
|
3648
3670
|
a.push({
|
|
3649
3671
|
type: k.literal,
|
|
3650
|
-
value:
|
|
3672
|
+
value: c.value
|
|
3651
3673
|
});
|
|
3652
3674
|
continue;
|
|
3653
3675
|
}
|
|
3654
|
-
if (
|
|
3676
|
+
if (Rn(c)) {
|
|
3655
3677
|
typeof o == "number" && a.push({
|
|
3656
3678
|
type: k.literal,
|
|
3657
3679
|
value: r.getNumberFormat(t).format(o)
|
|
3658
3680
|
});
|
|
3659
3681
|
continue;
|
|
3660
3682
|
}
|
|
3661
|
-
var f =
|
|
3683
|
+
var f = c.value;
|
|
3662
3684
|
if (!(i && f in i))
|
|
3663
|
-
throw new
|
|
3664
|
-
var
|
|
3665
|
-
if (
|
|
3666
|
-
(!
|
|
3667
|
-
type: typeof
|
|
3668
|
-
value:
|
|
3685
|
+
throw new ai(f, s);
|
|
3686
|
+
var h = i[f];
|
|
3687
|
+
if (An(c)) {
|
|
3688
|
+
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3689
|
+
type: typeof h == "string" ? k.literal : k.object,
|
|
3690
|
+
value: h
|
|
3669
3691
|
});
|
|
3670
3692
|
continue;
|
|
3671
3693
|
}
|
|
3672
|
-
if (
|
|
3673
|
-
var d = typeof
|
|
3694
|
+
if (Kt(c)) {
|
|
3695
|
+
var d = typeof c.style == "string" ? n.date[c.style] : Qe(c.style) ? c.style.parsedOptions : void 0;
|
|
3674
3696
|
a.push({
|
|
3675
3697
|
type: k.literal,
|
|
3676
|
-
value: r.getDateTimeFormat(t, d).format(
|
|
3698
|
+
value: r.getDateTimeFormat(t, d).format(h)
|
|
3677
3699
|
});
|
|
3678
3700
|
continue;
|
|
3679
3701
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var d = typeof
|
|
3702
|
+
if (er(c)) {
|
|
3703
|
+
var d = typeof c.style == "string" ? n.time[c.style] : Qe(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3682
3704
|
a.push({
|
|
3683
3705
|
type: k.literal,
|
|
3684
|
-
value: r.getDateTimeFormat(t, d).format(
|
|
3706
|
+
value: r.getDateTimeFormat(t, d).format(h)
|
|
3685
3707
|
});
|
|
3686
3708
|
continue;
|
|
3687
3709
|
}
|
|
3688
|
-
if (
|
|
3689
|
-
var d = typeof
|
|
3690
|
-
d && d.scale && (
|
|
3710
|
+
if (Yt(c)) {
|
|
3711
|
+
var d = typeof c.style == "string" ? n.number[c.style] : ir(c.style) ? c.style.parsedOptions : void 0;
|
|
3712
|
+
d && d.scale && (h = h * (d.scale || 1)), a.push({
|
|
3691
3713
|
type: k.literal,
|
|
3692
|
-
value: r.getNumberFormat(t, d).format(
|
|
3714
|
+
value: r.getNumberFormat(t, d).format(h)
|
|
3693
3715
|
});
|
|
3694
3716
|
continue;
|
|
3695
3717
|
}
|
|
3696
|
-
if (
|
|
3697
|
-
var m =
|
|
3698
|
-
if (!
|
|
3699
|
-
throw new
|
|
3700
|
-
var _ = Se(m, t, r, n, i, o), P = y(_.map(function(
|
|
3701
|
-
return
|
|
3718
|
+
if (nr(c)) {
|
|
3719
|
+
var m = c.children, p = c.value, y = i[p];
|
|
3720
|
+
if (!li(y))
|
|
3721
|
+
throw new si(p, "function", s);
|
|
3722
|
+
var _ = Se(m, t, r, n, i, o), P = y(_.map(function(O) {
|
|
3723
|
+
return O.value;
|
|
3702
3724
|
}));
|
|
3703
|
-
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(
|
|
3725
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
|
|
3704
3726
|
return {
|
|
3705
|
-
type: typeof
|
|
3706
|
-
value:
|
|
3727
|
+
type: typeof O == "string" ? k.literal : k.object,
|
|
3728
|
+
value: O
|
|
3707
3729
|
};
|
|
3708
3730
|
}));
|
|
3709
3731
|
}
|
|
3710
|
-
if (
|
|
3711
|
-
var I =
|
|
3732
|
+
if (tr(c)) {
|
|
3733
|
+
var I = c.options[h] || c.options.other;
|
|
3712
3734
|
if (!I)
|
|
3713
|
-
throw new
|
|
3735
|
+
throw new Ht(c.value, h, Object.keys(c.options), s);
|
|
3714
3736
|
a.push.apply(a, Se(I.value, t, r, n, i));
|
|
3715
3737
|
continue;
|
|
3716
3738
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var I =
|
|
3739
|
+
if (rr(c)) {
|
|
3740
|
+
var I = c.options["=".concat(h)];
|
|
3719
3741
|
if (!I) {
|
|
3720
3742
|
if (!Intl.PluralRules)
|
|
3721
3743
|
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3722
3744
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3723
3745
|
`, se.MISSING_INTL_API, s);
|
|
3724
|
-
var j = r.getPluralRules(t, { type:
|
|
3725
|
-
I =
|
|
3746
|
+
var j = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3747
|
+
I = c.options[j] || c.options.other;
|
|
3726
3748
|
}
|
|
3727
3749
|
if (!I)
|
|
3728
|
-
throw new
|
|
3729
|
-
a.push.apply(a, Se(I.value, t, r, n, i,
|
|
3750
|
+
throw new Ht(c.value, h, Object.keys(c.options), s);
|
|
3751
|
+
a.push.apply(a, Se(I.value, t, r, n, i, h - (c.offset || 0)));
|
|
3730
3752
|
continue;
|
|
3731
3753
|
}
|
|
3732
3754
|
}
|
|
3733
|
-
return
|
|
3755
|
+
return ui(a);
|
|
3734
3756
|
}
|
|
3735
|
-
function
|
|
3757
|
+
function ci(e, t) {
|
|
3736
3758
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3737
3759
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3738
3760
|
}, {})) : e;
|
|
3739
3761
|
}
|
|
3740
|
-
function
|
|
3762
|
+
function hi(e, t) {
|
|
3741
3763
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3742
|
-
return r[n] =
|
|
3764
|
+
return r[n] = ci(e[n], t[n]), r;
|
|
3743
3765
|
}, S({}, e)) : e;
|
|
3744
3766
|
}
|
|
3745
|
-
function
|
|
3767
|
+
function Ue(e) {
|
|
3746
3768
|
return {
|
|
3747
3769
|
create: function() {
|
|
3748
3770
|
return {
|
|
@@ -3756,39 +3778,39 @@ function $e(e) {
|
|
|
3756
3778
|
}
|
|
3757
3779
|
};
|
|
3758
3780
|
}
|
|
3759
|
-
function
|
|
3781
|
+
function fi(e) {
|
|
3760
3782
|
return e === void 0 && (e = {
|
|
3761
3783
|
number: {},
|
|
3762
3784
|
dateTime: {},
|
|
3763
3785
|
pluralRules: {}
|
|
3764
3786
|
}), {
|
|
3765
|
-
getNumberFormat:
|
|
3787
|
+
getNumberFormat: ke(function() {
|
|
3766
3788
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3767
3789
|
r[n] = arguments[n];
|
|
3768
3790
|
return new ((t = Intl.NumberFormat).bind.apply(t, ne([void 0], r, !1)))();
|
|
3769
3791
|
}, {
|
|
3770
|
-
cache:
|
|
3771
|
-
strategy:
|
|
3792
|
+
cache: Ue(e.number),
|
|
3793
|
+
strategy: Ne.variadic
|
|
3772
3794
|
}),
|
|
3773
|
-
getDateTimeFormat:
|
|
3795
|
+
getDateTimeFormat: ke(function() {
|
|
3774
3796
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3797
|
r[n] = arguments[n];
|
|
3776
3798
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, ne([void 0], r, !1)))();
|
|
3777
3799
|
}, {
|
|
3778
|
-
cache:
|
|
3779
|
-
strategy:
|
|
3800
|
+
cache: Ue(e.dateTime),
|
|
3801
|
+
strategy: Ne.variadic
|
|
3780
3802
|
}),
|
|
3781
|
-
getPluralRules:
|
|
3803
|
+
getPluralRules: ke(function() {
|
|
3782
3804
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3783
3805
|
r[n] = arguments[n];
|
|
3784
3806
|
return new ((t = Intl.PluralRules).bind.apply(t, ne([void 0], r, !1)))();
|
|
3785
3807
|
}, {
|
|
3786
|
-
cache:
|
|
3787
|
-
strategy:
|
|
3808
|
+
cache: Ue(e.pluralRules),
|
|
3809
|
+
strategy: Ne.variadic
|
|
3788
3810
|
})
|
|
3789
3811
|
};
|
|
3790
3812
|
}
|
|
3791
|
-
var
|
|
3813
|
+
var pi = (
|
|
3792
3814
|
/** @class */
|
|
3793
3815
|
function() {
|
|
3794
3816
|
function e(t, r, n, i) {
|
|
@@ -3802,10 +3824,10 @@ var hi = (
|
|
|
3802
3824
|
var u = o.formatToParts(l);
|
|
3803
3825
|
if (u.length === 1)
|
|
3804
3826
|
return u[0].value;
|
|
3805
|
-
var
|
|
3806
|
-
return !f.length ||
|
|
3827
|
+
var c = u.reduce(function(f, h) {
|
|
3828
|
+
return !f.length || h.type !== k.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
|
|
3807
3829
|
}, []);
|
|
3808
|
-
return
|
|
3830
|
+
return c.length <= 1 ? c[0] || "" : c;
|
|
3809
3831
|
}, this.formatToParts = function(l) {
|
|
3810
3832
|
return Se(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3811
3833
|
}, this.resolvedOptions = function() {
|
|
@@ -3820,13 +3842,13 @@ var hi = (
|
|
|
3820
3842
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3821
3843
|
var s = i || {};
|
|
3822
3844
|
s.formatters;
|
|
3823
|
-
var a =
|
|
3845
|
+
var a = zr(s, ["formatters"]);
|
|
3824
3846
|
this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
|
|
3825
3847
|
} else
|
|
3826
3848
|
this.ast = t;
|
|
3827
3849
|
if (!Array.isArray(this.ast))
|
|
3828
3850
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3829
|
-
this.formats =
|
|
3851
|
+
this.formats = hi(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
|
|
3830
3852
|
}
|
|
3831
3853
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3832
3854
|
get: function() {
|
|
@@ -3839,7 +3861,7 @@ var hi = (
|
|
|
3839
3861
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3840
3862
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3841
3863
|
}
|
|
3842
|
-
}, e.__parse =
|
|
3864
|
+
}, e.__parse = oi, e.formats = {
|
|
3843
3865
|
number: {
|
|
3844
3866
|
integer: {
|
|
3845
3867
|
maximumFractionDigits: 0
|
|
@@ -3900,7 +3922,7 @@ var hi = (
|
|
|
3900
3922
|
}, e;
|
|
3901
3923
|
}()
|
|
3902
3924
|
);
|
|
3903
|
-
function
|
|
3925
|
+
function di(e, t) {
|
|
3904
3926
|
if (t == null)
|
|
3905
3927
|
return;
|
|
3906
3928
|
if (t in e)
|
|
@@ -3921,92 +3943,92 @@ function ci(e, t) {
|
|
|
3921
3943
|
n = void 0;
|
|
3922
3944
|
return n;
|
|
3923
3945
|
}
|
|
3924
|
-
const Z = {},
|
|
3946
|
+
const Z = {}, mi = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), fr = (e, t) => {
|
|
3925
3947
|
if (t == null)
|
|
3926
3948
|
return;
|
|
3927
3949
|
if (t in Z && e in Z[t])
|
|
3928
3950
|
return Z[t][e];
|
|
3929
|
-
const r =
|
|
3951
|
+
const r = Re(t);
|
|
3930
3952
|
for (let n = 0; n < r.length; n++) {
|
|
3931
|
-
const i = r[n], o =
|
|
3953
|
+
const i = r[n], o = yi(i, e);
|
|
3932
3954
|
if (o)
|
|
3933
|
-
return
|
|
3955
|
+
return mi(e, t, o);
|
|
3934
3956
|
}
|
|
3935
3957
|
};
|
|
3936
|
-
let
|
|
3958
|
+
let at;
|
|
3937
3959
|
const ye = Pe({});
|
|
3938
|
-
function
|
|
3939
|
-
return
|
|
3960
|
+
function bi(e) {
|
|
3961
|
+
return at[e] || null;
|
|
3940
3962
|
}
|
|
3941
|
-
function
|
|
3942
|
-
return e in
|
|
3963
|
+
function pr(e) {
|
|
3964
|
+
return e in at;
|
|
3943
3965
|
}
|
|
3944
|
-
function
|
|
3945
|
-
if (!
|
|
3966
|
+
function yi(e, t) {
|
|
3967
|
+
if (!pr(e))
|
|
3946
3968
|
return null;
|
|
3947
|
-
const r =
|
|
3948
|
-
return
|
|
3969
|
+
const r = bi(e);
|
|
3970
|
+
return di(r, t);
|
|
3949
3971
|
}
|
|
3950
|
-
function
|
|
3972
|
+
function gi(e) {
|
|
3951
3973
|
if (e == null)
|
|
3952
3974
|
return;
|
|
3953
|
-
const t =
|
|
3975
|
+
const t = Re(e);
|
|
3954
3976
|
for (let r = 0; r < t.length; r++) {
|
|
3955
3977
|
const n = t[r];
|
|
3956
|
-
if (
|
|
3978
|
+
if (pr(n))
|
|
3957
3979
|
return n;
|
|
3958
3980
|
}
|
|
3959
3981
|
}
|
|
3960
|
-
function
|
|
3961
|
-
delete Z[e], ye.update((r) => (r[e] =
|
|
3982
|
+
function dr(e, ...t) {
|
|
3983
|
+
delete Z[e], ye.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
|
|
3962
3984
|
}
|
|
3963
3985
|
le(
|
|
3964
3986
|
[ye],
|
|
3965
3987
|
([e]) => Object.keys(e)
|
|
3966
3988
|
);
|
|
3967
|
-
ye.subscribe((e) =>
|
|
3989
|
+
ye.subscribe((e) => at = e);
|
|
3968
3990
|
const we = {};
|
|
3969
|
-
function
|
|
3991
|
+
function vi(e, t) {
|
|
3970
3992
|
we[e].delete(t), we[e].size === 0 && delete we[e];
|
|
3971
3993
|
}
|
|
3972
|
-
function
|
|
3994
|
+
function mr(e) {
|
|
3973
3995
|
return we[e];
|
|
3974
3996
|
}
|
|
3975
|
-
function
|
|
3976
|
-
return
|
|
3977
|
-
const r =
|
|
3997
|
+
function xi(e) {
|
|
3998
|
+
return Re(e).map((t) => {
|
|
3999
|
+
const r = mr(t);
|
|
3978
4000
|
return [t, r ? [...r] : []];
|
|
3979
4001
|
}).filter(([, t]) => t.length > 0);
|
|
3980
4002
|
}
|
|
3981
|
-
function
|
|
3982
|
-
return e == null ? !1 :
|
|
4003
|
+
function rt(e) {
|
|
4004
|
+
return e == null ? !1 : Re(e).some(
|
|
3983
4005
|
(t) => {
|
|
3984
4006
|
var r;
|
|
3985
|
-
return (r =
|
|
4007
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
|
3986
4008
|
}
|
|
3987
4009
|
);
|
|
3988
4010
|
}
|
|
3989
|
-
function
|
|
4011
|
+
function _i(e, t) {
|
|
3990
4012
|
return Promise.all(
|
|
3991
|
-
t.map((n) => (
|
|
3992
|
-
).then((n) =>
|
|
4013
|
+
t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
|
|
4014
|
+
).then((n) => dr(e, ...n));
|
|
3993
4015
|
}
|
|
3994
4016
|
const fe = {};
|
|
3995
|
-
function
|
|
3996
|
-
if (!
|
|
4017
|
+
function br(e) {
|
|
4018
|
+
if (!rt(e))
|
|
3997
4019
|
return e in fe ? fe[e] : Promise.resolve();
|
|
3998
|
-
const t =
|
|
4020
|
+
const t = xi(e);
|
|
3999
4021
|
return fe[e] = Promise.all(
|
|
4000
4022
|
t.map(
|
|
4001
|
-
([r, n]) =>
|
|
4023
|
+
([r, n]) => _i(r, n)
|
|
4002
4024
|
)
|
|
4003
4025
|
).then(() => {
|
|
4004
|
-
if (
|
|
4005
|
-
return
|
|
4026
|
+
if (rt(e))
|
|
4027
|
+
return br(e);
|
|
4006
4028
|
delete fe[e];
|
|
4007
4029
|
}), fe[e];
|
|
4008
4030
|
}
|
|
4009
|
-
const
|
|
4031
|
+
const Ei = {
|
|
4010
4032
|
number: {
|
|
4011
4033
|
scientific: { notation: "scientific" },
|
|
4012
4034
|
engineering: { notation: "engineering" },
|
|
@@ -4035,78 +4057,78 @@ const vi = {
|
|
|
4035
4057
|
timeZoneName: "short"
|
|
4036
4058
|
}
|
|
4037
4059
|
}
|
|
4038
|
-
},
|
|
4060
|
+
}, Si = {
|
|
4039
4061
|
fallbackLocale: null,
|
|
4040
4062
|
loadingDelay: 200,
|
|
4041
|
-
formats:
|
|
4063
|
+
formats: Ei,
|
|
4042
4064
|
warnOnMissingMessages: !0,
|
|
4043
4065
|
handleMissingMessage: void 0,
|
|
4044
4066
|
ignoreTag: !0
|
|
4045
|
-
},
|
|
4067
|
+
}, wi = Si;
|
|
4046
4068
|
function ae() {
|
|
4047
|
-
return
|
|
4069
|
+
return wi;
|
|
4048
4070
|
}
|
|
4049
|
-
const
|
|
4050
|
-
var
|
|
4071
|
+
const De = Pe(!1);
|
|
4072
|
+
var Ti = Object.defineProperty, Hi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
|
|
4051
4073
|
for (var r in t || (t = {}))
|
|
4052
|
-
|
|
4053
|
-
if (
|
|
4054
|
-
for (var r of
|
|
4055
|
-
|
|
4074
|
+
Bi.call(t, r) && Bt(e, r, t[r]);
|
|
4075
|
+
if (Ct)
|
|
4076
|
+
for (var r of Ct(t))
|
|
4077
|
+
Pi.call(t, r) && Bt(e, r, t[r]);
|
|
4056
4078
|
return e;
|
|
4057
|
-
},
|
|
4058
|
-
let
|
|
4079
|
+
}, Ri = (e, t) => Hi(e, Ci(t));
|
|
4080
|
+
let nt;
|
|
4059
4081
|
const He = Pe(null);
|
|
4060
|
-
function
|
|
4082
|
+
function Pt(e) {
|
|
4061
4083
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4062
4084
|
}
|
|
4063
|
-
function
|
|
4064
|
-
const r =
|
|
4065
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4085
|
+
function Re(e, t = ae().fallbackLocale) {
|
|
4086
|
+
const r = Pt(e);
|
|
4087
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
|
4066
4088
|
}
|
|
4067
4089
|
function Q() {
|
|
4068
|
-
return
|
|
4090
|
+
return nt ?? void 0;
|
|
4069
4091
|
}
|
|
4070
4092
|
He.subscribe((e) => {
|
|
4071
|
-
|
|
4093
|
+
nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4072
4094
|
});
|
|
4073
|
-
const
|
|
4074
|
-
if (e &&
|
|
4095
|
+
const Mi = (e) => {
|
|
4096
|
+
if (e && gi(e) && rt(e)) {
|
|
4075
4097
|
const { loadingDelay: t } = ae();
|
|
4076
4098
|
let r;
|
|
4077
4099
|
return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
|
|
4078
|
-
() =>
|
|
4100
|
+
() => De.set(!0),
|
|
4079
4101
|
t
|
|
4080
|
-
) :
|
|
4102
|
+
) : De.set(!0), br(e).then(() => {
|
|
4081
4103
|
He.set(e);
|
|
4082
4104
|
}).finally(() => {
|
|
4083
|
-
clearTimeout(r),
|
|
4105
|
+
clearTimeout(r), De.set(!1);
|
|
4084
4106
|
});
|
|
4085
4107
|
}
|
|
4086
4108
|
return He.set(e);
|
|
4087
|
-
},
|
|
4088
|
-
set:
|
|
4089
|
-
}),
|
|
4109
|
+
}, ce = Ri(Ai({}, He), {
|
|
4110
|
+
set: Mi
|
|
4111
|
+
}), Me = (e) => {
|
|
4090
4112
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4091
4113
|
return (n) => {
|
|
4092
4114
|
const i = JSON.stringify(n);
|
|
4093
4115
|
return i in t ? t[i] : t[i] = e(n);
|
|
4094
4116
|
};
|
|
4095
4117
|
};
|
|
4096
|
-
var
|
|
4118
|
+
var Oi = Object.defineProperty, Ce = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
|
|
4097
4119
|
for (var r in t || (t = {}))
|
|
4098
|
-
|
|
4120
|
+
yr.call(t, r) && At(e, r, t[r]);
|
|
4099
4121
|
if (Ce)
|
|
4100
4122
|
for (var r of Ce(t))
|
|
4101
|
-
|
|
4123
|
+
gr.call(t, r) && At(e, r, t[r]);
|
|
4102
4124
|
return e;
|
|
4103
|
-
},
|
|
4125
|
+
}, he = (e, t) => {
|
|
4104
4126
|
var r = {};
|
|
4105
4127
|
for (var n in e)
|
|
4106
|
-
|
|
4128
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4107
4129
|
if (e != null && Ce)
|
|
4108
4130
|
for (var n of Ce(e))
|
|
4109
|
-
t.indexOf(n) < 0 &&
|
|
4131
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
|
4110
4132
|
return r;
|
|
4111
4133
|
};
|
|
4112
4134
|
const be = (e, t) => {
|
|
@@ -4114,56 +4136,56 @@ const be = (e, t) => {
|
|
|
4114
4136
|
if (e in r && t in r[e])
|
|
4115
4137
|
return r[e][t];
|
|
4116
4138
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4117
|
-
},
|
|
4139
|
+
}, Ii = Me(
|
|
4118
4140
|
(e) => {
|
|
4119
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4141
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4120
4142
|
if (r == null)
|
|
4121
4143
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4122
4144
|
return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
|
|
4123
4145
|
}
|
|
4124
|
-
),
|
|
4146
|
+
), Li = Me(
|
|
4125
4147
|
(e) => {
|
|
4126
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4148
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4127
4149
|
if (r == null)
|
|
4128
4150
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4129
4151
|
return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4130
4152
|
}
|
|
4131
|
-
),
|
|
4153
|
+
), ki = Me(
|
|
4132
4154
|
(e) => {
|
|
4133
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4155
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4134
4156
|
if (r == null)
|
|
4135
4157
|
throw new Error(
|
|
4136
4158
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4137
4159
|
);
|
|
4138
4160
|
return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4139
4161
|
}
|
|
4140
|
-
),
|
|
4162
|
+
), Ni = (e = {}) => {
|
|
4141
4163
|
var t = e, {
|
|
4142
4164
|
locale: r = Q()
|
|
4143
|
-
} = t, n =
|
|
4165
|
+
} = t, n = he(t, [
|
|
4144
4166
|
"locale"
|
|
4145
4167
|
]);
|
|
4146
|
-
return
|
|
4147
|
-
},
|
|
4168
|
+
return Ii(ut({ locale: r }, n));
|
|
4169
|
+
}, $i = (e = {}) => {
|
|
4148
4170
|
var t = e, {
|
|
4149
4171
|
locale: r = Q()
|
|
4150
|
-
} = t, n =
|
|
4172
|
+
} = t, n = he(t, [
|
|
4151
4173
|
"locale"
|
|
4152
4174
|
]);
|
|
4153
|
-
return
|
|
4154
|
-
},
|
|
4175
|
+
return Li(ut({ locale: r }, n));
|
|
4176
|
+
}, Ui = (e = {}) => {
|
|
4155
4177
|
var t = e, {
|
|
4156
4178
|
locale: r = Q()
|
|
4157
|
-
} = t, n =
|
|
4179
|
+
} = t, n = he(t, [
|
|
4158
4180
|
"locale"
|
|
4159
4181
|
]);
|
|
4160
|
-
return
|
|
4161
|
-
},
|
|
4182
|
+
return ki(ut({ locale: r }, n));
|
|
4183
|
+
}, Di = Me(
|
|
4162
4184
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4163
|
-
(e, t = Q()) => new
|
|
4185
|
+
(e, t = Q()) => new pi(e, t, ae().formats, {
|
|
4164
4186
|
ignoreTag: ae().ignoreTag
|
|
4165
4187
|
})
|
|
4166
|
-
),
|
|
4188
|
+
), Fi = (e, t = {}) => {
|
|
4167
4189
|
var r, n, i, o;
|
|
4168
4190
|
let s = t;
|
|
4169
4191
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4176,39 +4198,39 @@ const be = (e, t) => {
|
|
|
4176
4198
|
throw new Error(
|
|
4177
4199
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4178
4200
|
);
|
|
4179
|
-
let
|
|
4180
|
-
if (!
|
|
4181
|
-
|
|
4182
|
-
else if (typeof
|
|
4201
|
+
let c = fr(e, l);
|
|
4202
|
+
if (!c)
|
|
4203
|
+
c = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4204
|
+
else if (typeof c != "string")
|
|
4183
4205
|
return console.warn(
|
|
4184
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4185
|
-
),
|
|
4206
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4207
|
+
), c;
|
|
4186
4208
|
if (!a)
|
|
4187
|
-
return
|
|
4188
|
-
let f =
|
|
4209
|
+
return c;
|
|
4210
|
+
let f = c;
|
|
4189
4211
|
try {
|
|
4190
|
-
f =
|
|
4191
|
-
} catch (
|
|
4192
|
-
|
|
4212
|
+
f = Di(c, l).format(a);
|
|
4213
|
+
} catch (h) {
|
|
4214
|
+
h instanceof Error && console.warn(
|
|
4193
4215
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4194
|
-
|
|
4216
|
+
h.message
|
|
4195
4217
|
);
|
|
4196
4218
|
}
|
|
4197
4219
|
return f;
|
|
4198
|
-
},
|
|
4199
|
-
le([
|
|
4200
|
-
le([
|
|
4201
|
-
le([
|
|
4202
|
-
le([
|
|
4203
|
-
window.emWidgets = { topic:
|
|
4204
|
-
const
|
|
4205
|
-
function
|
|
4206
|
-
|
|
4207
|
-
}
|
|
4208
|
-
function
|
|
4209
|
-
|
|
4210
|
-
}
|
|
4211
|
-
const
|
|
4220
|
+
}, Gi = (e, t) => Ui(t).format(e), ji = (e, t) => $i(t).format(e), Vi = (e, t) => Ni(t).format(e), zi = (e, t = Q()) => fr(e, t), Xi = le([ce, ye], () => Fi);
|
|
4221
|
+
le([ce], () => Gi);
|
|
4222
|
+
le([ce], () => ji);
|
|
4223
|
+
le([ce], () => Vi);
|
|
4224
|
+
le([ce, ye], () => zi);
|
|
4225
|
+
window.emWidgets = { topic: sn };
|
|
4226
|
+
const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4227
|
+
function Rt(e, t) {
|
|
4228
|
+
dr(e, t);
|
|
4229
|
+
}
|
|
4230
|
+
function Wi(e) {
|
|
4231
|
+
ce.set(e);
|
|
4232
|
+
}
|
|
4233
|
+
const Mt = {
|
|
4212
4234
|
en: {
|
|
4213
4235
|
titleRealityCheck: "Reality Check",
|
|
4214
4236
|
never: "Never",
|
|
@@ -4320,13 +4342,13 @@ const Pt = {
|
|
|
4320
4342
|
setFrequency: "Set frequency"
|
|
4321
4343
|
}
|
|
4322
4344
|
};
|
|
4323
|
-
function
|
|
4345
|
+
function Zi(e, t) {
|
|
4324
4346
|
if (e) {
|
|
4325
4347
|
const r = document.createElement("style");
|
|
4326
4348
|
r.innerHTML = t, e.appendChild(r);
|
|
4327
4349
|
}
|
|
4328
4350
|
}
|
|
4329
|
-
function
|
|
4351
|
+
function Qi(e, t) {
|
|
4330
4352
|
const r = new URL(t);
|
|
4331
4353
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4332
4354
|
const i = document.createElement("style");
|
|
@@ -4335,7 +4357,7 @@ function qi(e, t) {
|
|
|
4335
4357
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4336
4358
|
});
|
|
4337
4359
|
}
|
|
4338
|
-
function
|
|
4360
|
+
function Ji(e, t, r) {
|
|
4339
4361
|
if (window.emMessageBus) {
|
|
4340
4362
|
const n = document.createElement("style");
|
|
4341
4363
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4343,53 +4365,53 @@ function Wi(e, t, r) {
|
|
|
4343
4365
|
});
|
|
4344
4366
|
}
|
|
4345
4367
|
}
|
|
4346
|
-
function
|
|
4347
|
-
|
|
4368
|
+
function Yi(e) {
|
|
4369
|
+
Sr(e, "svelte-1nvaky6", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
4348
4370
|
}
|
|
4349
|
-
function
|
|
4371
|
+
function Ot(e, t, r) {
|
|
4350
4372
|
const n = e.slice();
|
|
4351
4373
|
return n[32] = t[r].value, n[33] = t[r].text, n[35] = r, n;
|
|
4352
4374
|
}
|
|
4353
|
-
function
|
|
4375
|
+
function Ki(e, t, r) {
|
|
4354
4376
|
const n = e.slice();
|
|
4355
4377
|
return n[29] = t[r], n;
|
|
4356
4378
|
}
|
|
4357
|
-
function
|
|
4379
|
+
function eo(e) {
|
|
4358
4380
|
let t, r, n, i, o = (
|
|
4359
4381
|
/*$_*/
|
|
4360
4382
|
e[4]("titleRealityCheck") + ""
|
|
4361
|
-
), s, a, l, u,
|
|
4383
|
+
), s, a, l, u, c = (
|
|
4362
4384
|
/*$_*/
|
|
4363
4385
|
e[4]("realityCheckText") + ""
|
|
4364
|
-
), f,
|
|
4386
|
+
), f, h, d, m, p, y, _ = (
|
|
4365
4387
|
/*$_*/
|
|
4366
4388
|
e[4]("setFrequency") + ""
|
|
4367
|
-
), P, I, j,
|
|
4389
|
+
), P, I, j, O = (
|
|
4368
4390
|
/*isMobile*/
|
|
4369
|
-
e[5] &&
|
|
4391
|
+
e[5] && ro(e)
|
|
4370
4392
|
), B = (
|
|
4371
4393
|
/*realityCheckSuccess*/
|
|
4372
|
-
e[3] &&
|
|
4373
|
-
), F =
|
|
4394
|
+
e[3] && Lt(e)
|
|
4395
|
+
), F = Ve(
|
|
4374
4396
|
/*realityCheckOptions*/
|
|
4375
4397
|
e[6]
|
|
4376
|
-
),
|
|
4398
|
+
), M = [];
|
|
4377
4399
|
for (let H = 0; H < F.length; H += 1)
|
|
4378
|
-
|
|
4400
|
+
M[H] = kt(Ot(e, F, H));
|
|
4379
4401
|
return {
|
|
4380
4402
|
c() {
|
|
4381
|
-
t = T("div"),
|
|
4382
|
-
for (let H = 0; H <
|
|
4383
|
-
|
|
4384
|
-
m = U(), p = T("div"), y = T("button"), P =
|
|
4403
|
+
t = T("div"), O && O.c(), r = U(), B && B.c(), n = U(), i = T("h2"), s = z(o), a = U(), l = T("div"), u = T("p"), f = z(c), h = U(), d = T("form");
|
|
4404
|
+
for (let H = 0; H < M.length; H += 1)
|
|
4405
|
+
M[H].c();
|
|
4406
|
+
m = U(), p = T("div"), y = T("button"), P = z(_), w(i, "class", "RealityCheckTitle " + /*isMobile*/
|
|
4385
4407
|
(e[5] ? "RealityCheckTitleNone" : "")), w(l, "class", "RealityCheckDescription " + /*isMobile*/
|
|
4386
4408
|
(e[5] ? "RealityCheckDescriptionMobile" : "")), w(y, "class", "PlayerRealityCheckButton"), w(p, "class", "BottomButtonsArea " + /*isMobile*/
|
|
4387
4409
|
(e[5] ? "BottomButtonsAreaMobile" : "")), w(d, "class", "customRadio"), w(t, "class", "containerTimeout");
|
|
4388
4410
|
},
|
|
4389
4411
|
m(H, G) {
|
|
4390
|
-
D(H, t, G),
|
|
4391
|
-
for (let
|
|
4392
|
-
R
|
|
4412
|
+
D(H, t, G), O && O.m(t, null), b(t, r), B && B.m(t, null), b(t, n), b(t, i), b(i, s), b(t, a), b(t, l), b(l, u), b(u, f), b(t, h), b(t, d);
|
|
4413
|
+
for (let R = 0; R < M.length; R += 1)
|
|
4414
|
+
M[R] && M[R].m(d, null);
|
|
4393
4415
|
b(d, m), b(d, p), b(p, y), b(y, P), I || (j = Te(
|
|
4394
4416
|
y,
|
|
4395
4417
|
"click",
|
|
@@ -4400,50 +4422,50 @@ function Ji(e) {
|
|
|
4400
4422
|
p(H, G) {
|
|
4401
4423
|
if (
|
|
4402
4424
|
/*isMobile*/
|
|
4403
|
-
H[5] &&
|
|
4404
|
-
H[3] ? B ? B.p(H, G) : (B =
|
|
4425
|
+
H[5] && O.p(H, G), /*realityCheckSuccess*/
|
|
4426
|
+
H[3] ? B ? B.p(H, G) : (B = Lt(H), B.c(), B.m(t, n)) : B && (B.d(1), B = null), G[0] & /*$_*/
|
|
4405
4427
|
16 && o !== (o = /*$_*/
|
|
4406
4428
|
H[4]("titleRealityCheck") + "") && te(s, o), G[0] & /*$_*/
|
|
4407
|
-
16 &&
|
|
4408
|
-
H[4]("realityCheckText") + "") && te(f,
|
|
4429
|
+
16 && c !== (c = /*$_*/
|
|
4430
|
+
H[4]("realityCheckText") + "") && te(f, c), G[0] & /*realityCheckOptions, realityCheckValue*/
|
|
4409
4431
|
68
|
|
4410
4432
|
) {
|
|
4411
|
-
F =
|
|
4433
|
+
F = Ve(
|
|
4412
4434
|
/*realityCheckOptions*/
|
|
4413
4435
|
H[6]
|
|
4414
4436
|
);
|
|
4415
|
-
let
|
|
4416
|
-
for (
|
|
4417
|
-
const ge =
|
|
4418
|
-
R
|
|
4437
|
+
let R;
|
|
4438
|
+
for (R = 0; R < F.length; R += 1) {
|
|
4439
|
+
const ge = Ot(H, F, R);
|
|
4440
|
+
M[R] ? M[R].p(ge, G) : (M[R] = kt(ge), M[R].c(), M[R].m(d, m));
|
|
4419
4441
|
}
|
|
4420
|
-
for (;
|
|
4421
|
-
R
|
|
4422
|
-
|
|
4442
|
+
for (; R < M.length; R += 1)
|
|
4443
|
+
M[R].d(1);
|
|
4444
|
+
M.length = F.length;
|
|
4423
4445
|
}
|
|
4424
4446
|
G[0] & /*$_*/
|
|
4425
4447
|
16 && _ !== (_ = /*$_*/
|
|
4426
4448
|
H[4]("setFrequency") + "") && te(P, _);
|
|
4427
4449
|
},
|
|
4428
4450
|
d(H) {
|
|
4429
|
-
H && $(t),
|
|
4451
|
+
H && $(t), O && O.d(), B && B.d(), Dt(M, H), I = !1, j();
|
|
4430
4452
|
}
|
|
4431
4453
|
};
|
|
4432
4454
|
}
|
|
4433
|
-
function
|
|
4455
|
+
function to(e) {
|
|
4434
4456
|
let t, r, n, i, o, s, a, l, u;
|
|
4435
|
-
function
|
|
4457
|
+
function c(p, y) {
|
|
4436
4458
|
return (
|
|
4437
4459
|
/*isMobile*/
|
|
4438
|
-
p[5] ?
|
|
4460
|
+
p[5] ? io : no
|
|
4439
4461
|
);
|
|
4440
4462
|
}
|
|
4441
|
-
let
|
|
4463
|
+
let h = c(e)(e), d = Ve({ length: 6 }), m = [];
|
|
4442
4464
|
for (let p = 0; p < d.length; p += 1)
|
|
4443
|
-
m[p] =
|
|
4465
|
+
m[p] = oo(Ki(e, d, p));
|
|
4444
4466
|
return {
|
|
4445
4467
|
c() {
|
|
4446
|
-
t = T("div"),
|
|
4468
|
+
t = T("div"), h.c(), r = U(), n = T("div"), i = T("ui-skeleton"), o = U(), s = T("div");
|
|
4447
4469
|
for (let p = 0; p < m.length; p += 1)
|
|
4448
4470
|
m[p].c();
|
|
4449
4471
|
a = U(), l = T("div"), u = T("ui-skeleton"), A(i, "structure", "text"), A(i, "height", "15px"), A(i, "width", "100%"), A(i, "margin-bottom", "7px"), A(
|
|
@@ -4459,33 +4481,33 @@ function Yi(e) {
|
|
|
4459
4481
|
), w(l, "class", "Button"), w(s, "class", "SkeletonOptionContainer"), w(t, "class", "SkeletonContainer");
|
|
4460
4482
|
},
|
|
4461
4483
|
m(p, y) {
|
|
4462
|
-
D(p, t, y),
|
|
4484
|
+
D(p, t, y), h.m(t, null), b(t, r), b(t, n), b(n, i), b(t, o), b(t, s);
|
|
4463
4485
|
for (let _ = 0; _ < m.length; _ += 1)
|
|
4464
4486
|
m[_] && m[_].m(s, null);
|
|
4465
4487
|
b(s, a), b(s, l), b(l, u);
|
|
4466
4488
|
},
|
|
4467
4489
|
p(p, y) {
|
|
4468
|
-
|
|
4490
|
+
h.p(p, y);
|
|
4469
4491
|
},
|
|
4470
4492
|
d(p) {
|
|
4471
|
-
p && $(t),
|
|
4493
|
+
p && $(t), h.d(), Dt(m, p);
|
|
4472
4494
|
}
|
|
4473
4495
|
};
|
|
4474
4496
|
}
|
|
4475
|
-
function
|
|
4476
|
-
let t, r, n, i, o, s, a, l, u,
|
|
4497
|
+
function ro(e) {
|
|
4498
|
+
let t, r, n, i, o, s, a, l, u, c, f, h = (
|
|
4477
4499
|
/*$_*/
|
|
4478
4500
|
e[4]("titleRealityCheck") + ""
|
|
4479
4501
|
), d, m, p, y = (
|
|
4480
4502
|
/*realityCheckSuccess*/
|
|
4481
|
-
e[3] &&
|
|
4503
|
+
e[3] && It(e)
|
|
4482
4504
|
);
|
|
4483
4505
|
return {
|
|
4484
4506
|
c() {
|
|
4485
|
-
y && y.c(), t = U(), r = T("div"), n = J("svg"), i = J("defs"), o = J("style"), s =
|
|
4507
|
+
y && y.c(), t = U(), r = T("div"), n = J("svg"), i = J("defs"), o = J("style"), s = z(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), a = J("g"), l = J("g"), u = J("path"), c = U(), f = T("h2"), d = z(h), w(u, "class", "aaa"), w(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(u, "transform", "translate(15 15) rotate(180)"), w(l, "transform", "translate(20 158)"), w(a, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(f, "class", "RealityCheckTitleMobile"), w(r, "class", "MenuReturnButton");
|
|
4486
4508
|
},
|
|
4487
4509
|
m(_, P) {
|
|
4488
|
-
y && y.m(_, P), D(_, t, P), D(_, r, P), b(r, n), b(n, i), b(i, o), b(o, s), b(n, a), b(a, l), b(l, u), b(r,
|
|
4510
|
+
y && y.m(_, P), D(_, t, P), D(_, r, P), b(r, n), b(n, i), b(i, o), b(o, s), b(n, a), b(a, l), b(l, u), b(r, c), b(r, f), b(f, d), m || (p = [
|
|
4489
4511
|
Te(
|
|
4490
4512
|
r,
|
|
4491
4513
|
"click",
|
|
@@ -4497,23 +4519,23 @@ function Ki(e) {
|
|
|
4497
4519
|
},
|
|
4498
4520
|
p(_, P) {
|
|
4499
4521
|
/*realityCheckSuccess*/
|
|
4500
|
-
_[3] ? y ? y.p(_, P) : (y =
|
|
4501
|
-
16 &&
|
|
4502
|
-
_[4]("titleRealityCheck") + "") && te(d,
|
|
4522
|
+
_[3] ? y ? y.p(_, P) : (y = It(_), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), P[0] & /*$_*/
|
|
4523
|
+
16 && h !== (h = /*$_*/
|
|
4524
|
+
_[4]("titleRealityCheck") + "") && te(d, h);
|
|
4503
4525
|
},
|
|
4504
4526
|
d(_) {
|
|
4505
4527
|
_ && ($(t), $(r)), y && y.d(_), m = !1, ue(p);
|
|
4506
4528
|
}
|
|
4507
4529
|
};
|
|
4508
4530
|
}
|
|
4509
|
-
function
|
|
4531
|
+
function It(e) {
|
|
4510
4532
|
let t, r = (
|
|
4511
4533
|
/*$_*/
|
|
4512
4534
|
e[4]("successMessage") + ""
|
|
4513
4535
|
), n;
|
|
4514
4536
|
return {
|
|
4515
4537
|
c() {
|
|
4516
|
-
t = T("div"), n =
|
|
4538
|
+
t = T("div"), n = z(r), w(t, "class", "successMessageMobile");
|
|
4517
4539
|
},
|
|
4518
4540
|
m(i, o) {
|
|
4519
4541
|
D(i, t, o), b(t, n);
|
|
@@ -4528,14 +4550,14 @@ function Ot(e) {
|
|
|
4528
4550
|
}
|
|
4529
4551
|
};
|
|
4530
4552
|
}
|
|
4531
|
-
function
|
|
4553
|
+
function Lt(e) {
|
|
4532
4554
|
let t, r = (
|
|
4533
4555
|
/*$_*/
|
|
4534
4556
|
e[4]("successMessage") + ""
|
|
4535
4557
|
), n;
|
|
4536
4558
|
return {
|
|
4537
4559
|
c() {
|
|
4538
|
-
t = T("div"), n =
|
|
4560
|
+
t = T("div"), n = z(r), w(t, "class", "successMessage " + /*isMobile*/
|
|
4539
4561
|
(e[5] ? "successMessageMobile" : ""));
|
|
4540
4562
|
},
|
|
4541
4563
|
m(i, o) {
|
|
@@ -4551,31 +4573,31 @@ function Rt(e) {
|
|
|
4551
4573
|
}
|
|
4552
4574
|
};
|
|
4553
4575
|
}
|
|
4554
|
-
function
|
|
4576
|
+
function kt(e) {
|
|
4555
4577
|
let t, r, n, i, o = (
|
|
4556
4578
|
/*text*/
|
|
4557
4579
|
e[33] + ""
|
|
4558
4580
|
), s, a, l, u;
|
|
4559
|
-
return a =
|
|
4581
|
+
return a = Hr(
|
|
4560
4582
|
/*$$binding_groups*/
|
|
4561
4583
|
e[19][0]
|
|
4562
4584
|
), {
|
|
4563
4585
|
c() {
|
|
4564
|
-
t = T("div"), r = T("input"), n = U(), i = T("label"), s =
|
|
4586
|
+
t = T("div"), r = T("input"), n = U(), i = T("label"), s = z(o), w(r, "type", "radio"), w(
|
|
4565
4587
|
r,
|
|
4566
4588
|
"id",
|
|
4567
4589
|
/*value*/
|
|
4568
4590
|
e[32]
|
|
4569
4591
|
), r.__value = /*value*/
|
|
4570
|
-
e[32],
|
|
4592
|
+
e[32], Br(r, r.__value), w(
|
|
4571
4593
|
i,
|
|
4572
4594
|
"for",
|
|
4573
4595
|
/*value*/
|
|
4574
4596
|
e[32]
|
|
4575
4597
|
), a.p(r);
|
|
4576
4598
|
},
|
|
4577
|
-
m(
|
|
4578
|
-
D(
|
|
4599
|
+
m(c, f) {
|
|
4600
|
+
D(c, t, f), b(t, r), r.checked = r.__value === /*realityCheckValue*/
|
|
4579
4601
|
e[2], b(t, n), b(t, i), b(i, s), l || (u = Te(
|
|
4580
4602
|
r,
|
|
4581
4603
|
"change",
|
|
@@ -4583,17 +4605,17 @@ function Mt(e) {
|
|
|
4583
4605
|
e[18]
|
|
4584
4606
|
), l = !0);
|
|
4585
4607
|
},
|
|
4586
|
-
p(
|
|
4608
|
+
p(c, f) {
|
|
4587
4609
|
f[0] & /*realityCheckValue*/
|
|
4588
4610
|
4 && (r.checked = r.__value === /*realityCheckValue*/
|
|
4589
|
-
|
|
4611
|
+
c[2]);
|
|
4590
4612
|
},
|
|
4591
|
-
d(
|
|
4592
|
-
|
|
4613
|
+
d(c) {
|
|
4614
|
+
c && $(t), a.r(), l = !1, u();
|
|
4593
4615
|
}
|
|
4594
4616
|
};
|
|
4595
4617
|
}
|
|
4596
|
-
function
|
|
4618
|
+
function no(e) {
|
|
4597
4619
|
let t;
|
|
4598
4620
|
return {
|
|
4599
4621
|
c() {
|
|
@@ -4608,7 +4630,7 @@ function eo(e) {
|
|
|
4608
4630
|
}
|
|
4609
4631
|
};
|
|
4610
4632
|
}
|
|
4611
|
-
function
|
|
4633
|
+
function io(e) {
|
|
4612
4634
|
let t, r, n, i;
|
|
4613
4635
|
return {
|
|
4614
4636
|
c() {
|
|
@@ -4624,7 +4646,7 @@ function to(e) {
|
|
|
4624
4646
|
}
|
|
4625
4647
|
};
|
|
4626
4648
|
}
|
|
4627
|
-
function
|
|
4649
|
+
function oo(e) {
|
|
4628
4650
|
let t;
|
|
4629
4651
|
return {
|
|
4630
4652
|
c() {
|
|
@@ -4639,12 +4661,12 @@ function ro(e) {
|
|
|
4639
4661
|
}
|
|
4640
4662
|
};
|
|
4641
4663
|
}
|
|
4642
|
-
function
|
|
4664
|
+
function so(e) {
|
|
4643
4665
|
let t;
|
|
4644
4666
|
function r(o, s) {
|
|
4645
4667
|
return (
|
|
4646
4668
|
/*skeletonLoading*/
|
|
4647
|
-
o[1] ?
|
|
4669
|
+
o[1] ? to : eo
|
|
4648
4670
|
);
|
|
4649
4671
|
}
|
|
4650
4672
|
let n = r(e), i = n(e);
|
|
@@ -4666,10 +4688,10 @@ function no(e) {
|
|
|
4666
4688
|
}
|
|
4667
4689
|
};
|
|
4668
4690
|
}
|
|
4669
|
-
function
|
|
4691
|
+
function ao(e, t, r) {
|
|
4670
4692
|
let n;
|
|
4671
|
-
|
|
4672
|
-
let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource:
|
|
4693
|
+
Er(e, Xi, (g) => r(4, n = g));
|
|
4694
|
+
let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, h, d = qi(window.navigator.userAgent) !== "PC", m = !0, p, y = !1, _ = [];
|
|
4673
4695
|
const P = () => {
|
|
4674
4696
|
const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
|
|
4675
4697
|
E.append("X-SessionID", s);
|
|
@@ -4710,7 +4732,7 @@ function io(e, t, r) {
|
|
|
4710
4732
|
text: E / 60 + " " + n("hours")
|
|
4711
4733
|
});
|
|
4712
4734
|
});
|
|
4713
|
-
},
|
|
4735
|
+
}, O = async () => {
|
|
4714
4736
|
const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
|
|
4715
4737
|
E.append("X-SessionID", s), E.append("Content-Type", "application/json"), E.append("Accept", "application/json"), E.append("realityCheckValue", `${parseInt(p, 10)}`);
|
|
4716
4738
|
const W = { method: "POST", headers: E };
|
|
@@ -4719,7 +4741,7 @@ function io(e, t, r) {
|
|
|
4719
4741
|
(L) => (console.error(L), !1)
|
|
4720
4742
|
);
|
|
4721
4743
|
}, B = (g) => {
|
|
4722
|
-
g.preventDefault(),
|
|
4744
|
+
g.preventDefault(), O().then((E) => {
|
|
4723
4745
|
E && (F(), P());
|
|
4724
4746
|
});
|
|
4725
4747
|
}, F = () => {
|
|
@@ -4733,7 +4755,7 @@ function io(e, t, r) {
|
|
|
4733
4755
|
},
|
|
4734
4756
|
window.location.href
|
|
4735
4757
|
), r(3, y = !0), setTimeout(() => r(3, y = !1), 2e3);
|
|
4736
|
-
},
|
|
4758
|
+
}, M = () => {
|
|
4737
4759
|
window.postMessage(
|
|
4738
4760
|
{
|
|
4739
4761
|
type: "PlayerAccountMenuActive",
|
|
@@ -4742,42 +4764,42 @@ function io(e, t, r) {
|
|
|
4742
4764
|
window.location.href
|
|
4743
4765
|
);
|
|
4744
4766
|
}, H = () => {
|
|
4745
|
-
|
|
4767
|
+
Wi(a);
|
|
4746
4768
|
}, G = () => {
|
|
4747
4769
|
fetch(f).then((E) => E.json()).then((E) => {
|
|
4748
4770
|
Object.keys(E).forEach((W) => {
|
|
4749
|
-
|
|
4771
|
+
Rt(W, E[W]);
|
|
4750
4772
|
});
|
|
4751
4773
|
}).catch((E) => {
|
|
4752
4774
|
console.log(E);
|
|
4753
4775
|
});
|
|
4754
4776
|
};
|
|
4755
|
-
Object.keys(
|
|
4756
|
-
|
|
4757
|
-
}),
|
|
4777
|
+
Object.keys(Mt).forEach((g) => {
|
|
4778
|
+
Rt(g, Mt[g]);
|
|
4779
|
+
}), Rr(() => () => {
|
|
4758
4780
|
});
|
|
4759
|
-
const
|
|
4760
|
-
function
|
|
4781
|
+
const R = [[]], ge = () => M();
|
|
4782
|
+
function vr() {
|
|
4761
4783
|
p = this.__value, r(2, p);
|
|
4762
4784
|
}
|
|
4763
|
-
function
|
|
4764
|
-
|
|
4765
|
-
|
|
4785
|
+
function xr(g) {
|
|
4786
|
+
Fe[g ? "unshift" : "push"](() => {
|
|
4787
|
+
h = g, r(0, h);
|
|
4766
4788
|
});
|
|
4767
4789
|
}
|
|
4768
4790
|
return e.$$set = (g) => {
|
|
4769
|
-
"endpoint" in g && r(9, i = g.endpoint), "playerid" in g && r(10, o = g.playerid), "session" in g && r(11, s = g.session), "lang" in g && r(12, a = g.lang), "clientstyling" in g && r(13, l = g.clientstyling), "clientstylingurl" in g && r(14, u = g.clientstylingurl), "mbsource" in g && r(15,
|
|
4791
|
+
"endpoint" in g && r(9, i = g.endpoint), "playerid" in g && r(10, o = g.playerid), "session" in g && r(11, s = g.session), "lang" in g && r(12, a = g.lang), "clientstyling" in g && r(13, l = g.clientstyling), "clientstylingurl" in g && r(14, u = g.clientstylingurl), "mbsource" in g && r(15, c = g.mbsource), "translationurl" in g && r(16, f = g.translationurl);
|
|
4770
4792
|
}, e.$$.update = () => {
|
|
4771
4793
|
e.$$.dirty[0] & /*lang*/
|
|
4772
4794
|
4096 && a && H(), e.$$.dirty[0] & /*endpoint, playerid, session*/
|
|
4773
4795
|
3584 && i && o && s && P(), e.$$.dirty[0] & /*endpoint, playerid, session*/
|
|
4774
4796
|
3584 && i && o && s && I(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4775
|
-
8193 && l &&
|
|
4776
|
-
16385 && u &&
|
|
4777
|
-
32769 &&
|
|
4797
|
+
8193 && l && h && Zi(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4798
|
+
16385 && u && h && Qi(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4799
|
+
32769 && c && h && Ji(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4778
4800
|
65536 && f && G();
|
|
4779
4801
|
}, [
|
|
4780
|
-
|
|
4802
|
+
h,
|
|
4781
4803
|
m,
|
|
4782
4804
|
p,
|
|
4783
4805
|
y,
|
|
@@ -4785,29 +4807,29 @@ function io(e, t, r) {
|
|
|
4785
4807
|
d,
|
|
4786
4808
|
_,
|
|
4787
4809
|
B,
|
|
4788
|
-
|
|
4810
|
+
M,
|
|
4789
4811
|
i,
|
|
4790
4812
|
o,
|
|
4791
4813
|
s,
|
|
4792
4814
|
a,
|
|
4793
4815
|
l,
|
|
4794
4816
|
u,
|
|
4795
|
-
|
|
4817
|
+
c,
|
|
4796
4818
|
f,
|
|
4797
4819
|
ge,
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4820
|
+
vr,
|
|
4821
|
+
R,
|
|
4822
|
+
xr
|
|
4801
4823
|
];
|
|
4802
4824
|
}
|
|
4803
|
-
class
|
|
4825
|
+
class uo extends jr {
|
|
4804
4826
|
constructor(t) {
|
|
4805
|
-
super(),
|
|
4827
|
+
super(), Fr(
|
|
4806
4828
|
this,
|
|
4807
4829
|
t,
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4830
|
+
ao,
|
|
4831
|
+
so,
|
|
4832
|
+
$t,
|
|
4811
4833
|
{
|
|
4812
4834
|
endpoint: 9,
|
|
4813
4835
|
playerid: 10,
|
|
@@ -4818,7 +4840,7 @@ class oo extends Ur {
|
|
|
4818
4840
|
mbsource: 15,
|
|
4819
4841
|
translationurl: 16
|
|
4820
4842
|
},
|
|
4821
|
-
|
|
4843
|
+
Yi,
|
|
4822
4844
|
[-1, -1]
|
|
4823
4845
|
);
|
|
4824
4846
|
}
|
|
@@ -4871,7 +4893,7 @@ class oo extends Ur {
|
|
|
4871
4893
|
this.$$set({ translationurl: t }), V();
|
|
4872
4894
|
}
|
|
4873
4895
|
}
|
|
4874
|
-
|
|
4896
|
+
Gr(uo, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4875
4897
|
export {
|
|
4876
|
-
|
|
4898
|
+
uo as P
|
|
4877
4899
|
};
|