@everymatrix/player-account-biometrics 1.56.0 → 1.56.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/{PlayerAccountBiometrics-Bh-Sx76R.js → PlayerAccountBiometrics-CfKUs-Zn.js} +614 -561
- package/components/PlayerAccountBiometrics-DCou_eHK.cjs +18 -0
- package/components/{PlayerAccountBiometrics-C6wDdTp0.js → PlayerAccountBiometrics-DXo_V1bD.js} +623 -570
- package/es2015/player-account-biometrics.cjs +1 -1
- package/es2015/player-account-biometrics.js +1 -1
- package/esnext/player-account-biometrics.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBiometrics-D0WC5iwy.cjs +0 -5
package/components/{PlayerAccountBiometrics-Bh-Sx76R.js → PlayerAccountBiometrics-CfKUs-Zn.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function I() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Bt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ke() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ae(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Bt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ze(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function St(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function or(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Tt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,21 +27,22 @@ function xt(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function sr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(Tt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function E(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function ar(e, t, r) {
|
|
37
|
+
const n = ur(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const i = O("style");
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
40
|
+
i.id = t, i.textContent = r, hr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
if (!e)
|
|
43
|
+
function ur(e) {
|
|
44
|
+
if (!e)
|
|
45
|
+
return document;
|
|
45
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
47
|
return t && /** @type {ShadowRoot} */
|
|
47
48
|
t.host ? (
|
|
@@ -49,14 +50,14 @@ function ir(e) {
|
|
|
49
50
|
t
|
|
50
51
|
) : e.ownerDocument;
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
+
function hr(e, t) {
|
|
53
54
|
return E(
|
|
54
55
|
/** @type {Document} */
|
|
55
56
|
e.head || e,
|
|
56
57
|
t
|
|
57
58
|
), t.sheet;
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
+
function Ze(e, t, r) {
|
|
60
61
|
e.insertBefore(t, r || null);
|
|
61
62
|
}
|
|
62
63
|
function ge(e) {
|
|
@@ -74,20 +75,20 @@ function U(e) {
|
|
|
74
75
|
function te() {
|
|
75
76
|
return U(" ");
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
+
function wt(e, t, r, n) {
|
|
78
79
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
79
80
|
}
|
|
80
81
|
function B(e, t, r) {
|
|
81
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function lr(e) {
|
|
84
85
|
return Array.from(e.childNodes);
|
|
85
86
|
}
|
|
86
87
|
function re(e, t) {
|
|
87
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
88
89
|
t);
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function cr(e) {
|
|
91
92
|
const t = {};
|
|
92
93
|
return e.childNodes.forEach(
|
|
93
94
|
/** @param {Element} node */
|
|
@@ -100,21 +101,22 @@ let ie;
|
|
|
100
101
|
function ne(e) {
|
|
101
102
|
ie = e;
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
-
if (!ie)
|
|
104
|
+
function fr() {
|
|
105
|
+
if (!ie)
|
|
106
|
+
throw new Error("Function called outside component initialization");
|
|
105
107
|
return ie;
|
|
106
108
|
}
|
|
107
|
-
function
|
|
108
|
-
|
|
109
|
+
function mr(e) {
|
|
110
|
+
fr().$$.on_mount.push(e);
|
|
109
111
|
}
|
|
110
|
-
const V = [],
|
|
112
|
+
const V = [], Ie = [];
|
|
111
113
|
let X = [];
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
function
|
|
115
|
-
|
|
114
|
+
const et = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
115
|
+
let Ne = !1;
|
|
116
|
+
function br() {
|
|
117
|
+
Ne || (Ne = !0, pr.then($));
|
|
116
118
|
}
|
|
117
|
-
function
|
|
119
|
+
function Me(e) {
|
|
118
120
|
X.push(e);
|
|
119
121
|
}
|
|
120
122
|
const Be = /* @__PURE__ */ new Set();
|
|
@@ -127,52 +129,53 @@ function $() {
|
|
|
127
129
|
try {
|
|
128
130
|
for (; j < V.length; ) {
|
|
129
131
|
const t = V[j];
|
|
130
|
-
j++, ne(t),
|
|
132
|
+
j++, ne(t), dr(t.$$);
|
|
131
133
|
}
|
|
132
134
|
} catch (t) {
|
|
133
135
|
throw V.length = 0, j = 0, t;
|
|
134
136
|
}
|
|
135
|
-
for (ne(null), V.length = 0, j = 0;
|
|
137
|
+
for (ne(null), V.length = 0, j = 0; Ie.length; )
|
|
138
|
+
Ie.pop()();
|
|
136
139
|
for (let t = 0; t < X.length; t += 1) {
|
|
137
140
|
const r = X[t];
|
|
138
141
|
Be.has(r) || (Be.add(r), r());
|
|
139
142
|
}
|
|
140
143
|
X.length = 0;
|
|
141
144
|
} while (V.length);
|
|
142
|
-
for (;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
+
for (; et.length; )
|
|
146
|
+
et.pop()();
|
|
147
|
+
Ne = !1, Be.clear(), ne(e);
|
|
145
148
|
}
|
|
146
|
-
function
|
|
149
|
+
function dr(e) {
|
|
147
150
|
if (e.fragment !== null) {
|
|
148
151
|
e.update(), ae(e.before_update);
|
|
149
152
|
const t = e.dirty;
|
|
150
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
153
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
151
154
|
}
|
|
152
155
|
}
|
|
153
|
-
function
|
|
156
|
+
function gr(e) {
|
|
154
157
|
const t = [], r = [];
|
|
155
158
|
X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
|
|
156
159
|
}
|
|
157
|
-
const
|
|
158
|
-
function
|
|
159
|
-
e && e.i && (
|
|
160
|
+
const yr = /* @__PURE__ */ new Set();
|
|
161
|
+
function vr(e, t) {
|
|
162
|
+
e && e.i && (yr.delete(e), e.i(t));
|
|
160
163
|
}
|
|
161
|
-
function
|
|
164
|
+
function Er(e, t, r) {
|
|
162
165
|
const { fragment: n, after_update: i } = e.$$;
|
|
163
|
-
n && n.m(t, r),
|
|
164
|
-
const o = e.$$.on_mount.map(
|
|
166
|
+
n && n.m(t, r), Me(() => {
|
|
167
|
+
const o = e.$$.on_mount.map(Bt).filter(ze);
|
|
165
168
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
166
|
-
}), i.forEach(
|
|
169
|
+
}), i.forEach(Me);
|
|
167
170
|
}
|
|
168
|
-
function
|
|
171
|
+
function _r(e, t) {
|
|
169
172
|
const r = e.$$;
|
|
170
|
-
r.fragment !== null && (
|
|
173
|
+
r.fragment !== null && (gr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
171
174
|
}
|
|
172
|
-
function
|
|
173
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
175
|
+
function xr(e, t) {
|
|
176
|
+
e.$$.dirty[0] === -1 && (V.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
174
177
|
}
|
|
175
|
-
function
|
|
178
|
+
function Br(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
176
179
|
const h = ie;
|
|
177
180
|
ne(e);
|
|
178
181
|
const u = e.$$ = {
|
|
@@ -182,7 +185,7 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
182
185
|
props: o,
|
|
183
186
|
update: I,
|
|
184
187
|
not_equal: i,
|
|
185
|
-
bound:
|
|
188
|
+
bound: Ke(),
|
|
186
189
|
// lifecycle
|
|
187
190
|
on_mount: [],
|
|
188
191
|
on_destroy: [],
|
|
@@ -191,28 +194,28 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
191
194
|
after_update: [],
|
|
192
195
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
193
196
|
// everything else
|
|
194
|
-
callbacks:
|
|
197
|
+
callbacks: Ke(),
|
|
195
198
|
dirty: a,
|
|
196
199
|
skip_bound: !1,
|
|
197
200
|
root: t.target || h.$$.root
|
|
198
201
|
};
|
|
199
202
|
s && s(u.root);
|
|
200
203
|
let l = !1;
|
|
201
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
202
|
-
const g =
|
|
203
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l &&
|
|
204
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
205
|
+
const g = m.length ? m[0] : f;
|
|
206
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && xr(e, c)), f;
|
|
204
207
|
}) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
205
208
|
if (t.hydrate) {
|
|
206
|
-
const c =
|
|
209
|
+
const c = lr(t.target);
|
|
207
210
|
u.fragment && u.fragment.l(c), c.forEach(ge);
|
|
208
211
|
} else
|
|
209
212
|
u.fragment && u.fragment.c();
|
|
210
|
-
t.intro &&
|
|
213
|
+
t.intro && vr(e.$$.fragment), Er(e, t.target, t.anchor), $();
|
|
211
214
|
}
|
|
212
215
|
ne(h);
|
|
213
216
|
}
|
|
214
|
-
let
|
|
215
|
-
typeof HTMLElement == "function" && (
|
|
217
|
+
let Ht;
|
|
218
|
+
typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
216
219
|
/** The Svelte component constructor */
|
|
217
220
|
$$ctor;
|
|
218
221
|
/** Slots */
|
|
@@ -261,7 +264,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
261
264
|
* @param {HTMLElement} [anchor]
|
|
262
265
|
*/
|
|
263
266
|
m: function(h, u) {
|
|
264
|
-
|
|
267
|
+
Ze(h, o, u);
|
|
265
268
|
},
|
|
266
269
|
d: function(h) {
|
|
267
270
|
h && ge(o);
|
|
@@ -271,7 +274,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
271
274
|
};
|
|
272
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
273
276
|
return;
|
|
274
|
-
const t = {}, r =
|
|
277
|
+
const t = {}, r = cr(this);
|
|
275
278
|
for (const i of this.$$s)
|
|
276
279
|
i in r && (t[i] = [e(i)]);
|
|
277
280
|
for (const i of this.attributes) {
|
|
@@ -358,8 +361,8 @@ function ce(e, t, r, n) {
|
|
|
358
361
|
return t;
|
|
359
362
|
}
|
|
360
363
|
}
|
|
361
|
-
function
|
|
362
|
-
let s = class extends
|
|
364
|
+
function Sr(e, t, r, n, i, o) {
|
|
365
|
+
let s = class extends Ht {
|
|
363
366
|
constructor() {
|
|
364
367
|
super(e, r, i), this.$$p_d = t;
|
|
365
368
|
}
|
|
@@ -387,7 +390,7 @@ function Er(e, t, r, n, i, o) {
|
|
|
387
390
|
}), e.element = /** @type {any} */
|
|
388
391
|
s, s;
|
|
389
392
|
}
|
|
390
|
-
class
|
|
393
|
+
class Tr {
|
|
391
394
|
/**
|
|
392
395
|
* ### PRIVATE API
|
|
393
396
|
*
|
|
@@ -406,7 +409,7 @@ class _r {
|
|
|
406
409
|
$$set = void 0;
|
|
407
410
|
/** @returns {void} */
|
|
408
411
|
$destroy() {
|
|
409
|
-
|
|
412
|
+
_r(this, 1), this.$destroy = I;
|
|
410
413
|
}
|
|
411
414
|
/**
|
|
412
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -415,7 +418,7 @@ class _r {
|
|
|
415
418
|
* @returns {() => void}
|
|
416
419
|
*/
|
|
417
420
|
$on(t, r) {
|
|
418
|
-
if (!
|
|
421
|
+
if (!ze(r))
|
|
419
422
|
return I;
|
|
420
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
421
424
|
return n.push(r), () => {
|
|
@@ -428,22 +431,37 @@ class _r {
|
|
|
428
431
|
* @returns {void}
|
|
429
432
|
*/
|
|
430
433
|
$set(t) {
|
|
431
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
432
435
|
}
|
|
433
436
|
}
|
|
434
|
-
const
|
|
435
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
436
|
-
|
|
437
|
-
|
|
437
|
+
const wr = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
|
|
439
|
+
/*! *****************************************************************************
|
|
440
|
+
Copyright (c) Microsoft Corporation.
|
|
441
|
+
|
|
442
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
443
|
+
purpose with or without fee is hereby granted.
|
|
444
|
+
|
|
445
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
446
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
447
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
448
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
449
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
450
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
451
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
452
|
+
***************************************************************************** */
|
|
453
|
+
var Ce = function(e, t) {
|
|
454
|
+
return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
438
455
|
r.__proto__ = n;
|
|
439
456
|
} || function(r, n) {
|
|
440
|
-
for (var i in n)
|
|
441
|
-
|
|
457
|
+
for (var i in n)
|
|
458
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
459
|
+
}, Ce(e, t);
|
|
442
460
|
};
|
|
443
|
-
function
|
|
461
|
+
function L(e, t) {
|
|
444
462
|
if (typeof t != "function" && t !== null)
|
|
445
463
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
446
|
-
|
|
464
|
+
Ce(e, t);
|
|
447
465
|
function r() {
|
|
448
466
|
this.constructor = e;
|
|
449
467
|
}
|
|
@@ -453,14 +471,16 @@ var y = function() {
|
|
|
453
471
|
return y = Object.assign || function(t) {
|
|
454
472
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
455
473
|
r = arguments[n];
|
|
456
|
-
for (var o in r)
|
|
474
|
+
for (var o in r)
|
|
475
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
457
476
|
}
|
|
458
477
|
return t;
|
|
459
478
|
}, y.apply(this, arguments);
|
|
460
479
|
};
|
|
461
|
-
function
|
|
480
|
+
function Hr(e, t) {
|
|
462
481
|
var r = {};
|
|
463
|
-
for (var n in e)
|
|
482
|
+
for (var n in e)
|
|
483
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
464
484
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
465
485
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
466
486
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -468,46 +488,52 @@ function Br(e, t) {
|
|
|
468
488
|
}
|
|
469
489
|
function Le(e) {
|
|
470
490
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
471
|
-
if (r)
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
491
|
+
if (r)
|
|
492
|
+
return r.call(e);
|
|
493
|
+
if (e && typeof e.length == "number")
|
|
494
|
+
return {
|
|
495
|
+
next: function() {
|
|
496
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
497
|
+
}
|
|
498
|
+
};
|
|
477
499
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
478
500
|
}
|
|
479
|
-
function
|
|
501
|
+
function $e(e, t) {
|
|
480
502
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
481
|
-
if (!r)
|
|
503
|
+
if (!r)
|
|
504
|
+
return e;
|
|
482
505
|
var n = r.call(e), i, o = [], s;
|
|
483
506
|
try {
|
|
484
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
507
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
508
|
+
o.push(i.value);
|
|
485
509
|
} catch (a) {
|
|
486
510
|
s = { error: a };
|
|
487
511
|
} finally {
|
|
488
512
|
try {
|
|
489
513
|
i && !i.done && (r = n.return) && r.call(n);
|
|
490
514
|
} finally {
|
|
491
|
-
if (s)
|
|
515
|
+
if (s)
|
|
516
|
+
throw s.error;
|
|
492
517
|
}
|
|
493
518
|
}
|
|
494
519
|
return o;
|
|
495
520
|
}
|
|
496
521
|
function W(e, t, r) {
|
|
497
|
-
if (r || arguments.length === 2)
|
|
498
|
-
(
|
|
499
|
-
|
|
522
|
+
if (r || arguments.length === 2)
|
|
523
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
524
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
525
|
+
return e.concat(o || t);
|
|
500
526
|
}
|
|
501
|
-
function
|
|
527
|
+
function C(e) {
|
|
502
528
|
return typeof e == "function";
|
|
503
529
|
}
|
|
504
|
-
function
|
|
530
|
+
function At(e) {
|
|
505
531
|
var t = function(n) {
|
|
506
532
|
Error.call(n), n.stack = new Error().stack;
|
|
507
533
|
}, r = e(t);
|
|
508
534
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
509
535
|
}
|
|
510
|
-
var Se =
|
|
536
|
+
var Se = At(function(e) {
|
|
511
537
|
return function(r) {
|
|
512
538
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
513
539
|
` + r.map(function(n, i) {
|
|
@@ -516,7 +542,7 @@ var Se = Tt(function(e) {
|
|
|
516
542
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
517
543
|
};
|
|
518
544
|
});
|
|
519
|
-
function
|
|
545
|
+
function Re(e, t) {
|
|
520
546
|
if (e) {
|
|
521
547
|
var r = e.indexOf(t);
|
|
522
548
|
0 <= r && e.splice(r, 1);
|
|
@@ -538,43 +564,45 @@ var ye = function() {
|
|
|
538
564
|
var u = h.value;
|
|
539
565
|
u.remove(this);
|
|
540
566
|
}
|
|
541
|
-
} catch (
|
|
542
|
-
t = { error:
|
|
567
|
+
} catch (p) {
|
|
568
|
+
t = { error: p };
|
|
543
569
|
} finally {
|
|
544
570
|
try {
|
|
545
571
|
h && !h.done && (r = a.return) && r.call(a);
|
|
546
572
|
} finally {
|
|
547
|
-
if (t)
|
|
573
|
+
if (t)
|
|
574
|
+
throw t.error;
|
|
548
575
|
}
|
|
549
576
|
}
|
|
550
577
|
else
|
|
551
578
|
s.remove(this);
|
|
552
579
|
var l = this.initialTeardown;
|
|
553
|
-
if (
|
|
580
|
+
if (C(l))
|
|
554
581
|
try {
|
|
555
582
|
l();
|
|
556
|
-
} catch (
|
|
557
|
-
o =
|
|
583
|
+
} catch (p) {
|
|
584
|
+
o = p instanceof Se ? p.errors : [p];
|
|
558
585
|
}
|
|
559
586
|
var c = this._finalizers;
|
|
560
587
|
if (c) {
|
|
561
588
|
this._finalizers = null;
|
|
562
589
|
try {
|
|
563
|
-
for (var f = Le(c),
|
|
564
|
-
var g =
|
|
590
|
+
for (var f = Le(c), m = f.next(); !m.done; m = f.next()) {
|
|
591
|
+
var g = m.value;
|
|
565
592
|
try {
|
|
566
|
-
|
|
567
|
-
} catch (
|
|
568
|
-
o = o ?? [],
|
|
593
|
+
tt(g);
|
|
594
|
+
} catch (p) {
|
|
595
|
+
o = o ?? [], p instanceof Se ? o = W(W([], $e(o)), $e(p.errors)) : o.push(p);
|
|
569
596
|
}
|
|
570
597
|
}
|
|
571
|
-
} catch (
|
|
572
|
-
n = { error:
|
|
598
|
+
} catch (p) {
|
|
599
|
+
n = { error: p };
|
|
573
600
|
} finally {
|
|
574
601
|
try {
|
|
575
|
-
|
|
602
|
+
m && !m.done && (i = f.return) && i.call(f);
|
|
576
603
|
} finally {
|
|
577
|
-
if (n)
|
|
604
|
+
if (n)
|
|
605
|
+
throw n.error;
|
|
578
606
|
}
|
|
579
607
|
}
|
|
580
608
|
}
|
|
@@ -585,7 +613,7 @@ var ye = function() {
|
|
|
585
613
|
var r;
|
|
586
614
|
if (t && t !== this)
|
|
587
615
|
if (this.closed)
|
|
588
|
-
|
|
616
|
+
tt(t);
|
|
589
617
|
else {
|
|
590
618
|
if (t instanceof e) {
|
|
591
619
|
if (t.closed || t._hasParent(this))
|
|
@@ -602,52 +630,56 @@ var ye = function() {
|
|
|
602
630
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
603
631
|
}, e.prototype._removeParent = function(t) {
|
|
604
632
|
var r = this._parentage;
|
|
605
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
633
|
+
r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
|
|
606
634
|
}, e.prototype.remove = function(t) {
|
|
607
635
|
var r = this._finalizers;
|
|
608
|
-
r &&
|
|
636
|
+
r && Re(r, t), t instanceof e && t._removeParent(this);
|
|
609
637
|
}, e.EMPTY = function() {
|
|
610
638
|
var t = new e();
|
|
611
639
|
return t.closed = !0, t;
|
|
612
640
|
}(), e;
|
|
613
|
-
}(),
|
|
614
|
-
function
|
|
615
|
-
return e instanceof ye || e && "closed" in e &&
|
|
616
|
-
}
|
|
617
|
-
function qe(e) {
|
|
618
|
-
L(e) ? e() : e.unsubscribe();
|
|
641
|
+
}(), Pt = ye.EMPTY;
|
|
642
|
+
function Ot(e) {
|
|
643
|
+
return e instanceof ye || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
|
|
619
644
|
}
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
}
|
|
645
|
+
function tt(e) {
|
|
646
|
+
C(e) ? e() : e.unsubscribe();
|
|
647
|
+
}
|
|
648
|
+
var It = {
|
|
649
|
+
onUnhandledError: null,
|
|
650
|
+
onStoppedNotification: null,
|
|
651
|
+
Promise: void 0,
|
|
652
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
653
|
+
useDeprecatedNextContext: !1
|
|
654
|
+
}, Ar = {
|
|
623
655
|
setTimeout: function(e, t) {
|
|
624
656
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
625
657
|
r[n - 2] = arguments[n];
|
|
626
|
-
return setTimeout.apply(void 0, W([e, t],
|
|
658
|
+
return setTimeout.apply(void 0, W([e, t], $e(r)));
|
|
627
659
|
},
|
|
628
660
|
clearTimeout: function(e) {
|
|
629
661
|
return clearTimeout(e);
|
|
630
662
|
},
|
|
631
663
|
delegate: void 0
|
|
632
664
|
};
|
|
633
|
-
function
|
|
634
|
-
|
|
665
|
+
function Pr(e) {
|
|
666
|
+
Ar.setTimeout(function() {
|
|
635
667
|
throw e;
|
|
636
668
|
});
|
|
637
669
|
}
|
|
638
|
-
function
|
|
670
|
+
function rt() {
|
|
639
671
|
}
|
|
640
672
|
function fe(e) {
|
|
641
673
|
e();
|
|
642
674
|
}
|
|
643
|
-
var
|
|
644
|
-
|
|
675
|
+
var Nt = function(e) {
|
|
676
|
+
L(t, e);
|
|
645
677
|
function t(r) {
|
|
646
678
|
var n = e.call(this) || this;
|
|
647
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
679
|
+
return n.isStopped = !1, r ? (n.destination = r, Ot(r) && r.add(n)) : n.destination = Mr, n;
|
|
648
680
|
}
|
|
649
681
|
return t.create = function(r, n, i) {
|
|
650
|
-
return new
|
|
682
|
+
return new De(r, n, i);
|
|
651
683
|
}, t.prototype.next = function(r) {
|
|
652
684
|
this.isStopped || this._next(r);
|
|
653
685
|
}, t.prototype.error = function(r) {
|
|
@@ -671,7 +703,11 @@ var At = function(e) {
|
|
|
671
703
|
this.unsubscribe();
|
|
672
704
|
}
|
|
673
705
|
}, t;
|
|
674
|
-
}(ye),
|
|
706
|
+
}(ye), Or = Function.prototype.bind;
|
|
707
|
+
function Te(e, t) {
|
|
708
|
+
return Or.call(e, t);
|
|
709
|
+
}
|
|
710
|
+
var Ir = function() {
|
|
675
711
|
function e(t) {
|
|
676
712
|
this.partialObserver = t;
|
|
677
713
|
}
|
|
@@ -702,43 +738,55 @@ var At = function(e) {
|
|
|
702
738
|
he(r);
|
|
703
739
|
}
|
|
704
740
|
}, e;
|
|
705
|
-
}(),
|
|
706
|
-
|
|
741
|
+
}(), De = function(e) {
|
|
742
|
+
L(t, e);
|
|
707
743
|
function t(r, n, i) {
|
|
708
744
|
var o = e.call(this) || this, s;
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
745
|
+
if (C(r) || !r)
|
|
746
|
+
s = {
|
|
747
|
+
next: r ?? void 0,
|
|
748
|
+
error: n ?? void 0,
|
|
749
|
+
complete: i ?? void 0
|
|
750
|
+
};
|
|
751
|
+
else {
|
|
752
|
+
var a;
|
|
753
|
+
o && It.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
754
|
+
return o.unsubscribe();
|
|
755
|
+
}, s = {
|
|
756
|
+
next: r.next && Te(r.next, a),
|
|
757
|
+
error: r.error && Te(r.error, a),
|
|
758
|
+
complete: r.complete && Te(r.complete, a)
|
|
759
|
+
}) : s = r;
|
|
760
|
+
}
|
|
761
|
+
return o.destination = new Ir(s), o;
|
|
714
762
|
}
|
|
715
763
|
return t;
|
|
716
|
-
}(
|
|
764
|
+
}(Nt);
|
|
717
765
|
function he(e) {
|
|
718
|
-
|
|
766
|
+
Pr(e);
|
|
719
767
|
}
|
|
720
|
-
function
|
|
768
|
+
function Nr(e) {
|
|
721
769
|
throw e;
|
|
722
770
|
}
|
|
723
|
-
var
|
|
771
|
+
var Mr = {
|
|
724
772
|
closed: !0,
|
|
725
|
-
next:
|
|
726
|
-
error:
|
|
727
|
-
complete:
|
|
728
|
-
},
|
|
773
|
+
next: rt,
|
|
774
|
+
error: Nr,
|
|
775
|
+
complete: rt
|
|
776
|
+
}, Cr = function() {
|
|
729
777
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
730
778
|
}();
|
|
731
|
-
function
|
|
779
|
+
function Lr(e) {
|
|
732
780
|
return e;
|
|
733
781
|
}
|
|
734
|
-
function
|
|
735
|
-
return e.length === 0 ?
|
|
782
|
+
function $r(e) {
|
|
783
|
+
return e.length === 0 ? Lr : e.length === 1 ? e[0] : function(r) {
|
|
736
784
|
return e.reduce(function(n, i) {
|
|
737
785
|
return i(n);
|
|
738
786
|
}, r);
|
|
739
787
|
};
|
|
740
788
|
}
|
|
741
|
-
var
|
|
789
|
+
var nt = function() {
|
|
742
790
|
function e(t) {
|
|
743
791
|
t && (this._subscribe = t);
|
|
744
792
|
}
|
|
@@ -746,7 +794,7 @@ var et = function() {
|
|
|
746
794
|
var r = new e();
|
|
747
795
|
return r.source = this, r.operator = t, r;
|
|
748
796
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
749
|
-
var i = this, o =
|
|
797
|
+
var i = this, o = Dr(t) ? t : new De(t, r, n);
|
|
750
798
|
return fe(function() {
|
|
751
799
|
var s = i, a = s.operator, h = s.source;
|
|
752
800
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -759,8 +807,8 @@ var et = function() {
|
|
|
759
807
|
}
|
|
760
808
|
}, e.prototype.forEach = function(t, r) {
|
|
761
809
|
var n = this;
|
|
762
|
-
return r =
|
|
763
|
-
var s = new
|
|
810
|
+
return r = it(r), new r(function(i, o) {
|
|
811
|
+
var s = new De({
|
|
764
812
|
next: function(a) {
|
|
765
813
|
try {
|
|
766
814
|
t(a);
|
|
@@ -776,15 +824,15 @@ var et = function() {
|
|
|
776
824
|
}, e.prototype._subscribe = function(t) {
|
|
777
825
|
var r;
|
|
778
826
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
779
|
-
}, e.prototype[
|
|
827
|
+
}, e.prototype[Cr] = function() {
|
|
780
828
|
return this;
|
|
781
829
|
}, e.prototype.pipe = function() {
|
|
782
830
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
783
831
|
t[r] = arguments[r];
|
|
784
|
-
return
|
|
832
|
+
return $r(t)(this);
|
|
785
833
|
}, e.prototype.toPromise = function(t) {
|
|
786
834
|
var r = this;
|
|
787
|
-
return t =
|
|
835
|
+
return t = it(t), new t(function(n, i) {
|
|
788
836
|
var o;
|
|
789
837
|
r.subscribe(function(s) {
|
|
790
838
|
return o = s;
|
|
@@ -798,32 +846,32 @@ var et = function() {
|
|
|
798
846
|
return new e(t);
|
|
799
847
|
}, e;
|
|
800
848
|
}();
|
|
801
|
-
function
|
|
849
|
+
function it(e) {
|
|
802
850
|
var t;
|
|
803
|
-
return (t = e ??
|
|
851
|
+
return (t = e ?? It.Promise) !== null && t !== void 0 ? t : Promise;
|
|
804
852
|
}
|
|
805
|
-
function
|
|
806
|
-
return e &&
|
|
853
|
+
function Rr(e) {
|
|
854
|
+
return e && C(e.next) && C(e.error) && C(e.complete);
|
|
807
855
|
}
|
|
808
|
-
function
|
|
809
|
-
return e && e instanceof
|
|
856
|
+
function Dr(e) {
|
|
857
|
+
return e && e instanceof Nt || Rr(e) && Ot(e);
|
|
810
858
|
}
|
|
811
|
-
var
|
|
859
|
+
var Ur = At(function(e) {
|
|
812
860
|
return function() {
|
|
813
861
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
814
862
|
};
|
|
815
|
-
}),
|
|
816
|
-
|
|
863
|
+
}), Mt = function(e) {
|
|
864
|
+
L(t, e);
|
|
817
865
|
function t() {
|
|
818
866
|
var r = e.call(this) || this;
|
|
819
867
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
820
868
|
}
|
|
821
869
|
return t.prototype.lift = function(r) {
|
|
822
|
-
var n = new
|
|
870
|
+
var n = new ot(this, this);
|
|
823
871
|
return n.operator = r, n;
|
|
824
872
|
}, t.prototype._throwIfClosed = function() {
|
|
825
873
|
if (this.closed)
|
|
826
|
-
throw new
|
|
874
|
+
throw new Ur();
|
|
827
875
|
}, t.prototype.next = function(r) {
|
|
828
876
|
var n = this;
|
|
829
877
|
fe(function() {
|
|
@@ -841,7 +889,8 @@ var Cr = Tt(function(e) {
|
|
|
841
889
|
try {
|
|
842
890
|
a && !a.done && (o = s.return) && o.call(s);
|
|
843
891
|
} finally {
|
|
844
|
-
if (i)
|
|
892
|
+
if (i)
|
|
893
|
+
throw i.error;
|
|
845
894
|
}
|
|
846
895
|
}
|
|
847
896
|
}
|
|
@@ -879,20 +928,20 @@ var Cr = Tt(function(e) {
|
|
|
879
928
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
880
929
|
}, t.prototype._innerSubscribe = function(r) {
|
|
881
930
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
882
|
-
return o || s ?
|
|
883
|
-
n.currentObservers = null,
|
|
931
|
+
return o || s ? Pt : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
932
|
+
n.currentObservers = null, Re(a, r);
|
|
884
933
|
}));
|
|
885
934
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
886
935
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
887
936
|
i ? r.error(o) : s && r.complete();
|
|
888
937
|
}, t.prototype.asObservable = function() {
|
|
889
|
-
var r = new
|
|
938
|
+
var r = new nt();
|
|
890
939
|
return r.source = this, r;
|
|
891
940
|
}, t.create = function(r, n) {
|
|
892
|
-
return new
|
|
941
|
+
return new ot(r, n);
|
|
893
942
|
}, t;
|
|
894
|
-
}(
|
|
895
|
-
|
|
943
|
+
}(nt), ot = function(e) {
|
|
944
|
+
L(t, e);
|
|
896
945
|
function t(r, n) {
|
|
897
946
|
var i = e.call(this) || this;
|
|
898
947
|
return i.destination = r, i.source = n, i;
|
|
@@ -908,17 +957,17 @@ var Cr = Tt(function(e) {
|
|
|
908
957
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
909
958
|
}, t.prototype._subscribe = function(r) {
|
|
910
959
|
var n, i;
|
|
911
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
960
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pt;
|
|
912
961
|
}, t;
|
|
913
|
-
}(
|
|
962
|
+
}(Mt), Ct = {
|
|
914
963
|
now: function() {
|
|
915
|
-
return (
|
|
964
|
+
return (Ct.delegate || Date).now();
|
|
916
965
|
},
|
|
917
966
|
delegate: void 0
|
|
918
|
-
},
|
|
919
|
-
|
|
967
|
+
}, Gr = function(e) {
|
|
968
|
+
L(t, e);
|
|
920
969
|
function t(r, n, i) {
|
|
921
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
970
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
|
|
922
971
|
var o = e.call(this) || this;
|
|
923
972
|
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;
|
|
924
973
|
}
|
|
@@ -938,15 +987,15 @@ var Cr = Tt(function(e) {
|
|
|
938
987
|
u && o.splice(0, u + 1);
|
|
939
988
|
}
|
|
940
989
|
}, t;
|
|
941
|
-
}(
|
|
942
|
-
const
|
|
943
|
-
if (
|
|
944
|
-
const r = new
|
|
945
|
-
|
|
990
|
+
}(Mt);
|
|
991
|
+
const st = [], at = {}, Fr = (e, t = 0) => {
|
|
992
|
+
if (st.indexOf(e) == -1) {
|
|
993
|
+
const r = new Gr(t);
|
|
994
|
+
at[e] = r, st.push(e);
|
|
946
995
|
}
|
|
947
|
-
return
|
|
996
|
+
return at[e];
|
|
948
997
|
}, k = [];
|
|
949
|
-
function
|
|
998
|
+
function jr(e, t) {
|
|
950
999
|
return {
|
|
951
1000
|
subscribe: ve(e, t).subscribe
|
|
952
1001
|
};
|
|
@@ -955,7 +1004,7 @@ function ve(e, t = I) {
|
|
|
955
1004
|
let r;
|
|
956
1005
|
const n = /* @__PURE__ */ new Set();
|
|
957
1006
|
function i(a) {
|
|
958
|
-
if (
|
|
1007
|
+
if (St(e, a) && (e = a, r)) {
|
|
959
1008
|
const h = !k.length;
|
|
960
1009
|
for (const u of n)
|
|
961
1010
|
u[1](), k.push(u, e);
|
|
@@ -982,7 +1031,7 @@ function J(e, t, r) {
|
|
|
982
1031
|
if (!i.every(Boolean))
|
|
983
1032
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
984
1033
|
const o = t.length < 2;
|
|
985
|
-
return
|
|
1034
|
+
return jr(r, (s, a) => {
|
|
986
1035
|
let h = !1;
|
|
987
1036
|
const u = [];
|
|
988
1037
|
let l = 0, c = I;
|
|
@@ -991,87 +1040,87 @@ function J(e, t, r) {
|
|
|
991
1040
|
return;
|
|
992
1041
|
c();
|
|
993
1042
|
const g = t(n ? u[0] : u, s, a);
|
|
994
|
-
o ? s(g) : c =
|
|
995
|
-
},
|
|
996
|
-
(g,
|
|
1043
|
+
o ? s(g) : c = ze(g) ? g : I;
|
|
1044
|
+
}, m = i.map(
|
|
1045
|
+
(g, p) => Tt(
|
|
997
1046
|
g,
|
|
998
1047
|
(x) => {
|
|
999
|
-
u[
|
|
1048
|
+
u[p] = x, l &= ~(1 << p), h && f();
|
|
1000
1049
|
},
|
|
1001
1050
|
() => {
|
|
1002
|
-
l |= 1 <<
|
|
1051
|
+
l |= 1 << p;
|
|
1003
1052
|
}
|
|
1004
1053
|
)
|
|
1005
1054
|
);
|
|
1006
1055
|
return h = !0, f(), function() {
|
|
1007
|
-
ae(
|
|
1056
|
+
ae(m), c(), h = !1;
|
|
1008
1057
|
};
|
|
1009
1058
|
});
|
|
1010
1059
|
}
|
|
1011
|
-
function
|
|
1060
|
+
function kr(e) {
|
|
1012
1061
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1013
1062
|
}
|
|
1014
|
-
var
|
|
1015
|
-
return
|
|
1063
|
+
var Vr = function(t) {
|
|
1064
|
+
return Xr(t) && !Wr(t);
|
|
1016
1065
|
};
|
|
1017
|
-
function
|
|
1066
|
+
function Xr(e) {
|
|
1018
1067
|
return !!e && typeof e == "object";
|
|
1019
1068
|
}
|
|
1020
|
-
function
|
|
1069
|
+
function Wr(e) {
|
|
1021
1070
|
var t = Object.prototype.toString.call(e);
|
|
1022
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1071
|
+
return t === "[object RegExp]" || t === "[object Date]" || Yr(e);
|
|
1023
1072
|
}
|
|
1024
|
-
var
|
|
1025
|
-
function
|
|
1026
|
-
return e.$$typeof ===
|
|
1073
|
+
var zr = typeof Symbol == "function" && Symbol.for, Zr = zr ? Symbol.for("react.element") : 60103;
|
|
1074
|
+
function Yr(e) {
|
|
1075
|
+
return e.$$typeof === Zr;
|
|
1027
1076
|
}
|
|
1028
|
-
function
|
|
1077
|
+
function Qr(e) {
|
|
1029
1078
|
return Array.isArray(e) ? [] : {};
|
|
1030
1079
|
}
|
|
1031
1080
|
function oe(e, t) {
|
|
1032
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1081
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(Qr(e), e, t) : e;
|
|
1033
1082
|
}
|
|
1034
|
-
function
|
|
1083
|
+
function Jr(e, t, r) {
|
|
1035
1084
|
return e.concat(t).map(function(n) {
|
|
1036
1085
|
return oe(n, r);
|
|
1037
1086
|
});
|
|
1038
1087
|
}
|
|
1039
|
-
function
|
|
1088
|
+
function qr(e, t) {
|
|
1040
1089
|
if (!t.customMerge)
|
|
1041
1090
|
return z;
|
|
1042
1091
|
var r = t.customMerge(e);
|
|
1043
1092
|
return typeof r == "function" ? r : z;
|
|
1044
1093
|
}
|
|
1045
|
-
function
|
|
1094
|
+
function Kr(e) {
|
|
1046
1095
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1047
1096
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1048
1097
|
}) : [];
|
|
1049
1098
|
}
|
|
1050
|
-
function
|
|
1051
|
-
return Object.keys(e).concat(
|
|
1099
|
+
function ut(e) {
|
|
1100
|
+
return Object.keys(e).concat(Kr(e));
|
|
1052
1101
|
}
|
|
1053
|
-
function
|
|
1102
|
+
function Lt(e, t) {
|
|
1054
1103
|
try {
|
|
1055
1104
|
return t in e;
|
|
1056
1105
|
} catch {
|
|
1057
1106
|
return !1;
|
|
1058
1107
|
}
|
|
1059
1108
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return
|
|
1109
|
+
function en(e, t) {
|
|
1110
|
+
return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1062
1111
|
}
|
|
1063
|
-
function
|
|
1112
|
+
function tn(e, t, r) {
|
|
1064
1113
|
var n = {};
|
|
1065
|
-
return r.isMergeableObject(e) &&
|
|
1114
|
+
return r.isMergeableObject(e) && ut(e).forEach(function(i) {
|
|
1066
1115
|
n[i] = oe(e[i], r);
|
|
1067
|
-
}),
|
|
1068
|
-
|
|
1116
|
+
}), ut(t).forEach(function(i) {
|
|
1117
|
+
en(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = qr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1069
1118
|
}), n;
|
|
1070
1119
|
}
|
|
1071
1120
|
function z(e, t, r) {
|
|
1072
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1121
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || Vr, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1073
1122
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1074
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1123
|
+
return o ? n ? r.arrayMerge(e, t, r) : tn(e, t, r) : oe(t, r);
|
|
1075
1124
|
}
|
|
1076
1125
|
z.all = function(t, r) {
|
|
1077
1126
|
if (!Array.isArray(t))
|
|
@@ -1080,56 +1129,58 @@ z.all = function(t, r) {
|
|
|
1080
1129
|
return z(n, i, r);
|
|
1081
1130
|
}, {});
|
|
1082
1131
|
};
|
|
1083
|
-
var
|
|
1084
|
-
const
|
|
1085
|
-
function
|
|
1086
|
-
var r = t && t.cache ? t.cache :
|
|
1132
|
+
var rn = z, nn = rn;
|
|
1133
|
+
const on = /* @__PURE__ */ kr(nn);
|
|
1134
|
+
function we(e, t) {
|
|
1135
|
+
var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : ln, i = t && t.strategy ? t.strategy : an;
|
|
1087
1136
|
return i(e, {
|
|
1088
1137
|
cache: r,
|
|
1089
1138
|
serializer: n
|
|
1090
1139
|
});
|
|
1091
1140
|
}
|
|
1092
|
-
function
|
|
1141
|
+
function sn(e) {
|
|
1093
1142
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1094
1143
|
}
|
|
1095
|
-
function
|
|
1096
|
-
var i =
|
|
1144
|
+
function $t(e, t, r, n) {
|
|
1145
|
+
var i = sn(n) ? n : r(n), o = t.get(i);
|
|
1097
1146
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1098
1147
|
}
|
|
1099
|
-
function
|
|
1148
|
+
function Rt(e, t, r) {
|
|
1100
1149
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1101
1150
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1102
1151
|
}
|
|
1103
|
-
function
|
|
1152
|
+
function Ye(e, t, r, n, i) {
|
|
1104
1153
|
return r.bind(t, e, n, i);
|
|
1105
1154
|
}
|
|
1106
|
-
function
|
|
1107
|
-
var r = e.length === 1 ?
|
|
1108
|
-
return
|
|
1155
|
+
function an(e, t) {
|
|
1156
|
+
var r = e.length === 1 ? $t : Rt;
|
|
1157
|
+
return Ye(e, this, r, t.cache.create(), t.serializer);
|
|
1109
1158
|
}
|
|
1110
|
-
function
|
|
1111
|
-
return
|
|
1159
|
+
function un(e, t) {
|
|
1160
|
+
return Ye(e, this, Rt, t.cache.create(), t.serializer);
|
|
1112
1161
|
}
|
|
1113
|
-
|
|
1162
|
+
function hn(e, t) {
|
|
1163
|
+
return Ye(e, this, $t, t.cache.create(), t.serializer);
|
|
1164
|
+
}
|
|
1165
|
+
var ln = function() {
|
|
1114
1166
|
return JSON.stringify(arguments);
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
}()
|
|
1127
|
-
), un = {
|
|
1167
|
+
};
|
|
1168
|
+
function Qe() {
|
|
1169
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1170
|
+
}
|
|
1171
|
+
Qe.prototype.get = function(e) {
|
|
1172
|
+
return this.cache[e];
|
|
1173
|
+
};
|
|
1174
|
+
Qe.prototype.set = function(e, t) {
|
|
1175
|
+
this.cache[e] = t;
|
|
1176
|
+
};
|
|
1177
|
+
var cn = {
|
|
1128
1178
|
create: function() {
|
|
1129
|
-
return new
|
|
1179
|
+
return new Qe();
|
|
1130
1180
|
}
|
|
1131
|
-
},
|
|
1132
|
-
variadic:
|
|
1181
|
+
}, He = {
|
|
1182
|
+
variadic: un,
|
|
1183
|
+
monadic: hn
|
|
1133
1184
|
}, b;
|
|
1134
1185
|
(function(e) {
|
|
1135
1186
|
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";
|
|
@@ -1142,43 +1193,43 @@ var Z;
|
|
|
1142
1193
|
(function(e) {
|
|
1143
1194
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1144
1195
|
})(Z || (Z = {}));
|
|
1145
|
-
function
|
|
1196
|
+
function ht(e) {
|
|
1146
1197
|
return e.type === _.literal;
|
|
1147
1198
|
}
|
|
1148
|
-
function
|
|
1199
|
+
function fn(e) {
|
|
1149
1200
|
return e.type === _.argument;
|
|
1150
1201
|
}
|
|
1151
|
-
function
|
|
1202
|
+
function Dt(e) {
|
|
1152
1203
|
return e.type === _.number;
|
|
1153
1204
|
}
|
|
1154
|
-
function
|
|
1205
|
+
function Ut(e) {
|
|
1155
1206
|
return e.type === _.date;
|
|
1156
1207
|
}
|
|
1157
|
-
function
|
|
1208
|
+
function Gt(e) {
|
|
1158
1209
|
return e.type === _.time;
|
|
1159
1210
|
}
|
|
1160
|
-
function
|
|
1211
|
+
function Ft(e) {
|
|
1161
1212
|
return e.type === _.select;
|
|
1162
1213
|
}
|
|
1163
|
-
function
|
|
1214
|
+
function jt(e) {
|
|
1164
1215
|
return e.type === _.plural;
|
|
1165
1216
|
}
|
|
1166
|
-
function
|
|
1217
|
+
function mn(e) {
|
|
1167
1218
|
return e.type === _.pound;
|
|
1168
1219
|
}
|
|
1169
|
-
function
|
|
1220
|
+
function kt(e) {
|
|
1170
1221
|
return e.type === _.tag;
|
|
1171
1222
|
}
|
|
1172
|
-
function
|
|
1223
|
+
function Vt(e) {
|
|
1173
1224
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1174
1225
|
}
|
|
1175
|
-
function
|
|
1226
|
+
function Ue(e) {
|
|
1176
1227
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1177
1228
|
}
|
|
1178
|
-
var
|
|
1179
|
-
function
|
|
1229
|
+
var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[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;
|
|
1230
|
+
function bn(e) {
|
|
1180
1231
|
var t = {};
|
|
1181
|
-
return e.replace(
|
|
1232
|
+
return e.replace(pn, function(r) {
|
|
1182
1233
|
var n = r.length;
|
|
1183
1234
|
switch (r[0]) {
|
|
1184
1235
|
case "G":
|
|
@@ -1267,11 +1318,11 @@ function fn(e) {
|
|
|
1267
1318
|
return "";
|
|
1268
1319
|
}), t;
|
|
1269
1320
|
}
|
|
1270
|
-
var
|
|
1271
|
-
function
|
|
1321
|
+
var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1322
|
+
function gn(e) {
|
|
1272
1323
|
if (e.length === 0)
|
|
1273
1324
|
throw new Error("Number skeleton cannot be empty");
|
|
1274
|
-
for (var t = e.split(
|
|
1325
|
+
for (var t = e.split(dn).filter(function(f) {
|
|
1275
1326
|
return f.length > 0;
|
|
1276
1327
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1277
1328
|
var o = i[n], s = o.split("/");
|
|
@@ -1286,17 +1337,17 @@ function mn(e) {
|
|
|
1286
1337
|
}
|
|
1287
1338
|
return r;
|
|
1288
1339
|
}
|
|
1289
|
-
function
|
|
1340
|
+
function yn(e) {
|
|
1290
1341
|
return e.replace(/^(.*?)-/, "");
|
|
1291
1342
|
}
|
|
1292
|
-
var
|
|
1293
|
-
function
|
|
1343
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
|
|
1344
|
+
function ct(e) {
|
|
1294
1345
|
var t = {};
|
|
1295
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1346
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
|
|
1296
1347
|
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)), "";
|
|
1297
1348
|
}), t;
|
|
1298
1349
|
}
|
|
1299
|
-
function
|
|
1350
|
+
function Zt(e) {
|
|
1300
1351
|
switch (e) {
|
|
1301
1352
|
case "sign-auto":
|
|
1302
1353
|
return {
|
|
@@ -1336,7 +1387,7 @@ function Vt(e) {
|
|
|
1336
1387
|
};
|
|
1337
1388
|
}
|
|
1338
1389
|
}
|
|
1339
|
-
function
|
|
1390
|
+
function En(e) {
|
|
1340
1391
|
var t;
|
|
1341
1392
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1342
1393
|
notation: "engineering"
|
|
@@ -1344,17 +1395,17 @@ function gn(e) {
|
|
|
1344
1395
|
notation: "scientific"
|
|
1345
1396
|
}, e = e.slice(1)), t) {
|
|
1346
1397
|
var r = e.slice(0, 2);
|
|
1347
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1398
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
|
|
1348
1399
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1349
1400
|
t.minimumIntegerDigits = e.length;
|
|
1350
1401
|
}
|
|
1351
1402
|
return t;
|
|
1352
1403
|
}
|
|
1353
|
-
function
|
|
1354
|
-
var t = {}, r =
|
|
1404
|
+
function ft(e) {
|
|
1405
|
+
var t = {}, r = Zt(e);
|
|
1355
1406
|
return r || t;
|
|
1356
1407
|
}
|
|
1357
|
-
function
|
|
1408
|
+
function _n(e) {
|
|
1358
1409
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1359
1410
|
var i = n[r];
|
|
1360
1411
|
switch (i.stem) {
|
|
@@ -1378,7 +1429,7 @@ function yn(e) {
|
|
|
1378
1429
|
continue;
|
|
1379
1430
|
case "measure-unit":
|
|
1380
1431
|
case "unit":
|
|
1381
|
-
t.style = "unit", t.unit =
|
|
1432
|
+
t.style = "unit", t.unit = yn(i.options[0]);
|
|
1382
1433
|
continue;
|
|
1383
1434
|
case "compact-short":
|
|
1384
1435
|
case "K":
|
|
@@ -1390,12 +1441,12 @@ function yn(e) {
|
|
|
1390
1441
|
continue;
|
|
1391
1442
|
case "scientific":
|
|
1392
1443
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1393
|
-
return y(y({}, h),
|
|
1444
|
+
return y(y({}, h), ft(u));
|
|
1394
1445
|
}, {}));
|
|
1395
1446
|
continue;
|
|
1396
1447
|
case "engineering":
|
|
1397
1448
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1398
|
-
return y(y({}, h),
|
|
1449
|
+
return y(y({}, h), ft(u));
|
|
1399
1450
|
}, {}));
|
|
1400
1451
|
continue;
|
|
1401
1452
|
case "notation-simple":
|
|
@@ -1440,40 +1491,40 @@ function yn(e) {
|
|
|
1440
1491
|
case "integer-width":
|
|
1441
1492
|
if (i.options.length > 1)
|
|
1442
1493
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1443
|
-
i.options[0].replace(
|
|
1494
|
+
i.options[0].replace(vn, function(h, u, l, c, f, m) {
|
|
1444
1495
|
if (u)
|
|
1445
1496
|
t.minimumIntegerDigits = l.length;
|
|
1446
1497
|
else {
|
|
1447
1498
|
if (c && f)
|
|
1448
1499
|
throw new Error("We currently do not support maximum integer digits");
|
|
1449
|
-
if (
|
|
1500
|
+
if (m)
|
|
1450
1501
|
throw new Error("We currently do not support exact integer digits");
|
|
1451
1502
|
}
|
|
1452
1503
|
return "";
|
|
1453
1504
|
});
|
|
1454
1505
|
continue;
|
|
1455
1506
|
}
|
|
1456
|
-
if (
|
|
1507
|
+
if (zt.test(i.stem)) {
|
|
1457
1508
|
t.minimumIntegerDigits = i.stem.length;
|
|
1458
1509
|
continue;
|
|
1459
1510
|
}
|
|
1460
|
-
if (
|
|
1511
|
+
if (lt.test(i.stem)) {
|
|
1461
1512
|
if (i.options.length > 1)
|
|
1462
1513
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1463
|
-
i.stem.replace(
|
|
1464
|
-
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1514
|
+
i.stem.replace(lt, function(h, u, l, c, f, m) {
|
|
1515
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1465
1516
|
});
|
|
1466
1517
|
var o = i.options[0];
|
|
1467
|
-
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t),
|
|
1518
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
|
|
1468
1519
|
continue;
|
|
1469
1520
|
}
|
|
1470
|
-
if (
|
|
1471
|
-
t = y(y({}, t),
|
|
1521
|
+
if (Wt.test(i.stem)) {
|
|
1522
|
+
t = y(y({}, t), ct(i.stem));
|
|
1472
1523
|
continue;
|
|
1473
1524
|
}
|
|
1474
|
-
var s =
|
|
1525
|
+
var s = Zt(i.stem);
|
|
1475
1526
|
s && (t = y(y({}, t), s));
|
|
1476
|
-
var a =
|
|
1527
|
+
var a = En(i.stem);
|
|
1477
1528
|
a && (t = y(y({}, t), a));
|
|
1478
1529
|
}
|
|
1479
1530
|
return t;
|
|
@@ -2893,22 +2944,23 @@ var le = {
|
|
|
2893
2944
|
"h"
|
|
2894
2945
|
]
|
|
2895
2946
|
};
|
|
2896
|
-
function
|
|
2947
|
+
function xn(e, t) {
|
|
2897
2948
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2898
2949
|
var i = e.charAt(n);
|
|
2899
2950
|
if (i === "j") {
|
|
2900
2951
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2901
2952
|
o++, n++;
|
|
2902
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2953
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
|
|
2903
2954
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2904
2955
|
r += h;
|
|
2905
2956
|
for (; s-- > 0; )
|
|
2906
2957
|
r = u + r;
|
|
2907
|
-
} else
|
|
2958
|
+
} else
|
|
2959
|
+
i === "J" ? r += "H" : r += i;
|
|
2908
2960
|
}
|
|
2909
2961
|
return r;
|
|
2910
2962
|
}
|
|
2911
|
-
function
|
|
2963
|
+
function Bn(e) {
|
|
2912
2964
|
var t = e.hourCycle;
|
|
2913
2965
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2914
2966
|
e.hourCycles && // @ts-ignore
|
|
@@ -2930,20 +2982,20 @@ function En(e) {
|
|
|
2930
2982
|
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2931
2983
|
return i[0];
|
|
2932
2984
|
}
|
|
2933
|
-
var
|
|
2985
|
+
var Ae, Sn = new RegExp("^".concat(Xt.source, "*")), Tn = new RegExp("".concat(Xt.source, "*$"));
|
|
2934
2986
|
function d(e, t) {
|
|
2935
2987
|
return { start: e, end: t };
|
|
2936
2988
|
}
|
|
2937
|
-
var
|
|
2989
|
+
var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hn = !!String.fromCodePoint, An = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Mn = Nn ? Number.isSafeInteger : function(e) {
|
|
2938
2990
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2939
|
-
},
|
|
2991
|
+
}, Ge = !0;
|
|
2940
2992
|
try {
|
|
2941
|
-
var
|
|
2942
|
-
|
|
2993
|
+
var Cn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2994
|
+
Ge = ((Ae = Cn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
2943
2995
|
} catch {
|
|
2944
|
-
|
|
2996
|
+
Ge = !1;
|
|
2945
2997
|
}
|
|
2946
|
-
var
|
|
2998
|
+
var mt = wn ? (
|
|
2947
2999
|
// Native
|
|
2948
3000
|
function(t, r, n) {
|
|
2949
3001
|
return t.startsWith(r, n);
|
|
@@ -2953,7 +3005,7 @@ var lt = Bn ? (
|
|
|
2953
3005
|
function(t, r, n) {
|
|
2954
3006
|
return t.slice(n, n + r.length) === r;
|
|
2955
3007
|
}
|
|
2956
|
-
),
|
|
3008
|
+
), Fe = Hn ? String.fromCodePoint : (
|
|
2957
3009
|
// IE11
|
|
2958
3010
|
function() {
|
|
2959
3011
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2965,9 +3017,9 @@ var lt = Bn ? (
|
|
|
2965
3017
|
}
|
|
2966
3018
|
return n;
|
|
2967
3019
|
}
|
|
2968
|
-
),
|
|
3020
|
+
), pt = (
|
|
2969
3021
|
// native
|
|
2970
|
-
|
|
3022
|
+
An ? Object.fromEntries : (
|
|
2971
3023
|
// Ponyfill
|
|
2972
3024
|
function(t) {
|
|
2973
3025
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2977,7 +3029,7 @@ var lt = Bn ? (
|
|
|
2977
3029
|
return r;
|
|
2978
3030
|
}
|
|
2979
3031
|
)
|
|
2980
|
-
),
|
|
3032
|
+
), Yt = Pn ? (
|
|
2981
3033
|
// Native
|
|
2982
3034
|
function(t, r) {
|
|
2983
3035
|
return t.codePointAt(r);
|
|
@@ -2991,7 +3043,7 @@ var lt = Bn ? (
|
|
|
2991
3043
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2992
3044
|
}
|
|
2993
3045
|
}
|
|
2994
|
-
),
|
|
3046
|
+
), Ln = On ? (
|
|
2995
3047
|
// Native
|
|
2996
3048
|
function(t) {
|
|
2997
3049
|
return t.trimStart();
|
|
@@ -2999,9 +3051,9 @@ var lt = Bn ? (
|
|
|
2999
3051
|
) : (
|
|
3000
3052
|
// Ponyfill
|
|
3001
3053
|
function(t) {
|
|
3002
|
-
return t.replace(
|
|
3054
|
+
return t.replace(Sn, "");
|
|
3003
3055
|
}
|
|
3004
|
-
),
|
|
3056
|
+
), $n = In ? (
|
|
3005
3057
|
// Native
|
|
3006
3058
|
function(t) {
|
|
3007
3059
|
return t.trimEnd();
|
|
@@ -3009,32 +3061,32 @@ var lt = Bn ? (
|
|
|
3009
3061
|
) : (
|
|
3010
3062
|
// Ponyfill
|
|
3011
3063
|
function(t) {
|
|
3012
|
-
return t.replace(
|
|
3064
|
+
return t.replace(Tn, "");
|
|
3013
3065
|
}
|
|
3014
3066
|
);
|
|
3015
|
-
function
|
|
3067
|
+
function Qt(e, t) {
|
|
3016
3068
|
return new RegExp(e, t);
|
|
3017
3069
|
}
|
|
3018
|
-
var
|
|
3019
|
-
if (
|
|
3020
|
-
var
|
|
3021
|
-
|
|
3070
|
+
var je;
|
|
3071
|
+
if (Ge) {
|
|
3072
|
+
var bt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3073
|
+
je = function(t, r) {
|
|
3022
3074
|
var n;
|
|
3023
|
-
|
|
3024
|
-
var i =
|
|
3075
|
+
bt.lastIndex = r;
|
|
3076
|
+
var i = bt.exec(t);
|
|
3025
3077
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3026
3078
|
};
|
|
3027
3079
|
} else
|
|
3028
|
-
|
|
3080
|
+
je = function(t, r) {
|
|
3029
3081
|
for (var n = []; ; ) {
|
|
3030
|
-
var i =
|
|
3031
|
-
if (i === void 0 ||
|
|
3082
|
+
var i = Yt(t, r);
|
|
3083
|
+
if (i === void 0 || Jt(i) || Gn(i))
|
|
3032
3084
|
break;
|
|
3033
3085
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3034
3086
|
}
|
|
3035
|
-
return
|
|
3087
|
+
return Fe.apply(void 0, n);
|
|
3036
3088
|
};
|
|
3037
|
-
var
|
|
3089
|
+
var Rn = (
|
|
3038
3090
|
/** @class */
|
|
3039
3091
|
function() {
|
|
3040
3092
|
function e(t, r) {
|
|
@@ -3065,7 +3117,7 @@ var Ln = (
|
|
|
3065
3117
|
if (n)
|
|
3066
3118
|
break;
|
|
3067
3119
|
return this.error(b.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
|
|
3068
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3120
|
+
} else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
|
|
3069
3121
|
var s = this.parseTag(t, r);
|
|
3070
3122
|
if (s.err)
|
|
3071
3123
|
return s;
|
|
@@ -3098,7 +3150,7 @@ var Ln = (
|
|
|
3098
3150
|
return o;
|
|
3099
3151
|
var s = o.val, a = this.clonePosition();
|
|
3100
3152
|
if (this.bumpIf("</")) {
|
|
3101
|
-
if (this.isEOF() || !
|
|
3153
|
+
if (this.isEOF() || !ke(this.char()))
|
|
3102
3154
|
return this.error(b.INVALID_TAG, d(a, this.clonePosition()));
|
|
3103
3155
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3104
3156
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3116,7 +3168,7 @@ var Ln = (
|
|
|
3116
3168
|
return this.error(b.INVALID_TAG, d(n, this.clonePosition()));
|
|
3117
3169
|
}, e.prototype.parseTagName = function() {
|
|
3118
3170
|
var t = this.offset();
|
|
3119
|
-
for (this.bump(); !this.isEOF() &&
|
|
3171
|
+
for (this.bump(); !this.isEOF() && Un(this.char()); )
|
|
3120
3172
|
this.bump();
|
|
3121
3173
|
return this.message.slice(t, this.offset());
|
|
3122
3174
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3145,7 +3197,7 @@ var Ln = (
|
|
|
3145
3197
|
};
|
|
3146
3198
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3147
3199
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3148
|
-
!
|
|
3200
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3149
3201
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3150
3202
|
if (this.isEOF() || this.char() !== 39)
|
|
3151
3203
|
return null;
|
|
@@ -3179,12 +3231,12 @@ var Ln = (
|
|
|
3179
3231
|
r.push(n);
|
|
3180
3232
|
this.bump();
|
|
3181
3233
|
}
|
|
3182
|
-
return
|
|
3234
|
+
return Fe.apply(void 0, r);
|
|
3183
3235
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3184
3236
|
if (this.isEOF())
|
|
3185
3237
|
return null;
|
|
3186
3238
|
var n = this.char();
|
|
3187
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3239
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
3188
3240
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3189
3241
|
var n = this.clonePosition();
|
|
3190
3242
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3213,7 +3265,7 @@ var Ln = (
|
|
|
3213
3265
|
return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3214
3266
|
}
|
|
3215
3267
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3216
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3268
|
+
var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
|
|
3217
3269
|
this.bumpTo(i);
|
|
3218
3270
|
var o = this.clonePosition(), s = d(t, o);
|
|
3219
3271
|
return { value: n, location: s };
|
|
@@ -3232,37 +3284,37 @@ var Ln = (
|
|
|
3232
3284
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3233
3285
|
if (c.err)
|
|
3234
3286
|
return c;
|
|
3235
|
-
var f =
|
|
3287
|
+
var f = $n(c.val);
|
|
3236
3288
|
if (f.length === 0)
|
|
3237
3289
|
return this.error(b.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
3238
|
-
var
|
|
3239
|
-
u = { style: f, styleLocation:
|
|
3290
|
+
var m = d(l, this.clonePosition());
|
|
3291
|
+
u = { style: f, styleLocation: m };
|
|
3240
3292
|
}
|
|
3241
3293
|
var g = this.tryParseArgumentClose(i);
|
|
3242
3294
|
if (g.err)
|
|
3243
3295
|
return g;
|
|
3244
|
-
var
|
|
3245
|
-
if (u &&
|
|
3246
|
-
var x =
|
|
3296
|
+
var p = d(i, this.clonePosition());
|
|
3297
|
+
if (u && mt(u?.style, "::", 0)) {
|
|
3298
|
+
var x = Ln(u.style.slice(2));
|
|
3247
3299
|
if (a === "number") {
|
|
3248
3300
|
var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3249
3301
|
return c.err ? c : {
|
|
3250
|
-
val: { type: _.number, value: n, location:
|
|
3302
|
+
val: { type: _.number, value: n, location: p, style: c.val },
|
|
3251
3303
|
err: null
|
|
3252
3304
|
};
|
|
3253
3305
|
} else {
|
|
3254
3306
|
if (x.length === 0)
|
|
3255
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3307
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
|
|
3256
3308
|
var A = x;
|
|
3257
|
-
this.locale && (A =
|
|
3309
|
+
this.locale && (A = xn(x, this.locale));
|
|
3258
3310
|
var f = {
|
|
3259
3311
|
type: Z.dateTime,
|
|
3260
3312
|
pattern: A,
|
|
3261
3313
|
location: u.styleLocation,
|
|
3262
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3314
|
+
parsedOptions: this.shouldParseSkeletons ? bn(A) : {}
|
|
3263
3315
|
}, H = a === "date" ? _.date : _.time;
|
|
3264
3316
|
return {
|
|
3265
|
-
val: { type: H, value: n, location:
|
|
3317
|
+
val: { type: H, value: n, location: p, style: f },
|
|
3266
3318
|
err: null
|
|
3267
3319
|
};
|
|
3268
3320
|
}
|
|
@@ -3271,7 +3323,7 @@ var Ln = (
|
|
|
3271
3323
|
val: {
|
|
3272
3324
|
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3273
3325
|
value: n,
|
|
3274
|
-
location:
|
|
3326
|
+
location: p,
|
|
3275
3327
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3276
3328
|
},
|
|
3277
3329
|
err: null
|
|
@@ -3305,7 +3357,7 @@ var Ln = (
|
|
|
3305
3357
|
val: {
|
|
3306
3358
|
type: _.select,
|
|
3307
3359
|
value: n,
|
|
3308
|
-
options:
|
|
3360
|
+
options: pt(N.val),
|
|
3309
3361
|
location: M
|
|
3310
3362
|
},
|
|
3311
3363
|
err: null
|
|
@@ -3313,7 +3365,7 @@ var Ln = (
|
|
|
3313
3365
|
val: {
|
|
3314
3366
|
type: _.plural,
|
|
3315
3367
|
value: n,
|
|
3316
|
-
options:
|
|
3368
|
+
options: pt(N.val),
|
|
3317
3369
|
offset: S,
|
|
3318
3370
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3319
3371
|
location: M
|
|
@@ -3364,7 +3416,7 @@ var Ln = (
|
|
|
3364
3416
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3365
3417
|
var n = [];
|
|
3366
3418
|
try {
|
|
3367
|
-
n =
|
|
3419
|
+
n = gn(t);
|
|
3368
3420
|
} catch {
|
|
3369
3421
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3370
3422
|
}
|
|
@@ -3373,7 +3425,7 @@ var Ln = (
|
|
|
3373
3425
|
type: Z.number,
|
|
3374
3426
|
tokens: n,
|
|
3375
3427
|
location: r,
|
|
3376
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3428
|
+
parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
|
|
3377
3429
|
},
|
|
3378
3430
|
err: null
|
|
3379
3431
|
};
|
|
@@ -3392,20 +3444,20 @@ var Ln = (
|
|
|
3392
3444
|
if (h.has(u))
|
|
3393
3445
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3394
3446
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3395
|
-
var
|
|
3447
|
+
var m = this.clonePosition();
|
|
3396
3448
|
if (!this.bumpIf("{"))
|
|
3397
3449
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
3398
3450
|
var g = this.parseMessage(t + 1, r, n);
|
|
3399
3451
|
if (g.err)
|
|
3400
3452
|
return g;
|
|
3401
|
-
var
|
|
3402
|
-
if (
|
|
3403
|
-
return
|
|
3453
|
+
var p = this.tryParseArgumentClose(m);
|
|
3454
|
+
if (p.err)
|
|
3455
|
+
return p;
|
|
3404
3456
|
a.push([
|
|
3405
3457
|
u,
|
|
3406
3458
|
{
|
|
3407
3459
|
value: g.val,
|
|
3408
|
-
location: d(
|
|
3460
|
+
location: d(m, this.clonePosition())
|
|
3409
3461
|
}
|
|
3410
3462
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3411
3463
|
}
|
|
@@ -3421,7 +3473,7 @@ var Ln = (
|
|
|
3421
3473
|
break;
|
|
3422
3474
|
}
|
|
3423
3475
|
var h = d(i, this.clonePosition());
|
|
3424
|
-
return o ? (s *= n,
|
|
3476
|
+
return o ? (s *= n, Mn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3425
3477
|
}, e.prototype.offset = function() {
|
|
3426
3478
|
return this.position.offset;
|
|
3427
3479
|
}, e.prototype.isEOF = function() {
|
|
@@ -3436,7 +3488,7 @@ var Ln = (
|
|
|
3436
3488
|
var t = this.position.offset;
|
|
3437
3489
|
if (t >= this.message.length)
|
|
3438
3490
|
throw Error("out of bound");
|
|
3439
|
-
var r =
|
|
3491
|
+
var r = Yt(this.message, t);
|
|
3440
3492
|
if (r === void 0)
|
|
3441
3493
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3442
3494
|
return r;
|
|
@@ -3455,7 +3507,7 @@ var Ln = (
|
|
|
3455
3507
|
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);
|
|
3456
3508
|
}
|
|
3457
3509
|
}, e.prototype.bumpIf = function(t) {
|
|
3458
|
-
if (
|
|
3510
|
+
if (mt(this.message, t, this.offset())) {
|
|
3459
3511
|
for (var r = 0; r < t.length; r++)
|
|
3460
3512
|
this.bump();
|
|
3461
3513
|
return !0;
|
|
@@ -3477,7 +3529,7 @@ var Ln = (
|
|
|
3477
3529
|
break;
|
|
3478
3530
|
}
|
|
3479
3531
|
}, e.prototype.bumpSpace = function() {
|
|
3480
|
-
for (; !this.isEOF() &&
|
|
3532
|
+
for (; !this.isEOF() && Jt(this.char()); )
|
|
3481
3533
|
this.bump();
|
|
3482
3534
|
}, e.prototype.peek = function() {
|
|
3483
3535
|
if (this.isEOF())
|
|
@@ -3487,37 +3539,38 @@ var Ln = (
|
|
|
3487
3539
|
}, e;
|
|
3488
3540
|
}()
|
|
3489
3541
|
);
|
|
3490
|
-
function
|
|
3542
|
+
function ke(e) {
|
|
3491
3543
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3492
3544
|
}
|
|
3493
|
-
function
|
|
3494
|
-
return
|
|
3545
|
+
function Dn(e) {
|
|
3546
|
+
return ke(e) || e === 47;
|
|
3495
3547
|
}
|
|
3496
|
-
function
|
|
3548
|
+
function Un(e) {
|
|
3497
3549
|
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;
|
|
3498
3550
|
}
|
|
3499
|
-
function
|
|
3551
|
+
function Jt(e) {
|
|
3500
3552
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3501
3553
|
}
|
|
3502
|
-
function
|
|
3554
|
+
function Gn(e) {
|
|
3503
3555
|
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;
|
|
3504
3556
|
}
|
|
3505
|
-
function
|
|
3557
|
+
function Ve(e) {
|
|
3506
3558
|
e.forEach(function(t) {
|
|
3507
|
-
if (delete t.location,
|
|
3559
|
+
if (delete t.location, Ft(t) || jt(t))
|
|
3508
3560
|
for (var r in t.options)
|
|
3509
|
-
delete t.options[r].location,
|
|
3510
|
-
else
|
|
3561
|
+
delete t.options[r].location, Ve(t.options[r].value);
|
|
3562
|
+
else
|
|
3563
|
+
Dt(t) && Vt(t.style) || (Ut(t) || Gt(t)) && Ue(t.style) ? delete t.style.location : kt(t) && Ve(t.children);
|
|
3511
3564
|
});
|
|
3512
3565
|
}
|
|
3513
|
-
function
|
|
3566
|
+
function Fn(e, t) {
|
|
3514
3567
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3515
|
-
var r = new
|
|
3568
|
+
var r = new Rn(e, t).parse();
|
|
3516
3569
|
if (r.err) {
|
|
3517
3570
|
var n = SyntaxError(b[r.err.kind]);
|
|
3518
3571
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3519
3572
|
}
|
|
3520
|
-
return t?.captureLocation ||
|
|
3573
|
+
return t?.captureLocation || Ve(r.val), r.val;
|
|
3521
3574
|
}
|
|
3522
3575
|
var Y;
|
|
3523
3576
|
(function(e) {
|
|
@@ -3526,7 +3579,7 @@ var Y;
|
|
|
3526
3579
|
var Ee = (
|
|
3527
3580
|
/** @class */
|
|
3528
3581
|
function(e) {
|
|
3529
|
-
|
|
3582
|
+
L(t, e);
|
|
3530
3583
|
function t(r, n, i) {
|
|
3531
3584
|
var o = e.call(this, r) || this;
|
|
3532
3585
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3535,28 +3588,28 @@ var Ee = (
|
|
|
3535
3588
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3536
3589
|
}, t;
|
|
3537
3590
|
}(Error)
|
|
3538
|
-
),
|
|
3591
|
+
), dt = (
|
|
3539
3592
|
/** @class */
|
|
3540
3593
|
function(e) {
|
|
3541
|
-
|
|
3594
|
+
L(t, e);
|
|
3542
3595
|
function t(r, n, i, o) {
|
|
3543
3596
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
|
|
3544
3597
|
}
|
|
3545
3598
|
return t;
|
|
3546
3599
|
}(Ee)
|
|
3547
|
-
),
|
|
3600
|
+
), jn = (
|
|
3548
3601
|
/** @class */
|
|
3549
3602
|
function(e) {
|
|
3550
|
-
|
|
3603
|
+
L(t, e);
|
|
3551
3604
|
function t(r, n, i) {
|
|
3552
3605
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
|
3553
3606
|
}
|
|
3554
3607
|
return t;
|
|
3555
3608
|
}(Ee)
|
|
3556
|
-
),
|
|
3609
|
+
), kn = (
|
|
3557
3610
|
/** @class */
|
|
3558
3611
|
function(e) {
|
|
3559
|
-
|
|
3612
|
+
L(t, e);
|
|
3560
3613
|
function t(r, n) {
|
|
3561
3614
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
|
3562
3615
|
}
|
|
@@ -3566,17 +3619,17 @@ var Ee = (
|
|
|
3566
3619
|
(function(e) {
|
|
3567
3620
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3568
3621
|
})(w || (w = {}));
|
|
3569
|
-
function
|
|
3622
|
+
function Vn(e) {
|
|
3570
3623
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3571
3624
|
var n = t[t.length - 1];
|
|
3572
3625
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3573
3626
|
}, []);
|
|
3574
3627
|
}
|
|
3575
|
-
function
|
|
3628
|
+
function Xn(e) {
|
|
3576
3629
|
return typeof e == "function";
|
|
3577
3630
|
}
|
|
3578
|
-
function
|
|
3579
|
-
if (e.length === 1 &&
|
|
3631
|
+
function me(e, t, r, n, i, o, s) {
|
|
3632
|
+
if (e.length === 1 && ht(e[0]))
|
|
3580
3633
|
return [
|
|
3581
3634
|
{
|
|
3582
3635
|
type: w.literal,
|
|
@@ -3585,14 +3638,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3585
3638
|
];
|
|
3586
3639
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3587
3640
|
var l = u[h];
|
|
3588
|
-
if (
|
|
3641
|
+
if (ht(l)) {
|
|
3589
3642
|
a.push({
|
|
3590
3643
|
type: w.literal,
|
|
3591
3644
|
value: l.value
|
|
3592
3645
|
});
|
|
3593
3646
|
continue;
|
|
3594
3647
|
}
|
|
3595
|
-
if (
|
|
3648
|
+
if (mn(l)) {
|
|
3596
3649
|
typeof o == "number" && a.push({
|
|
3597
3650
|
type: w.literal,
|
|
3598
3651
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3601,44 +3654,44 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3601
3654
|
}
|
|
3602
3655
|
var c = l.value;
|
|
3603
3656
|
if (!(i && c in i))
|
|
3604
|
-
throw new
|
|
3657
|
+
throw new kn(c, s);
|
|
3605
3658
|
var f = i[c];
|
|
3606
|
-
if (
|
|
3659
|
+
if (fn(l)) {
|
|
3607
3660
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3608
3661
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3609
3662
|
value: f
|
|
3610
3663
|
});
|
|
3611
3664
|
continue;
|
|
3612
3665
|
}
|
|
3613
|
-
if (
|
|
3614
|
-
var
|
|
3666
|
+
if (Ut(l)) {
|
|
3667
|
+
var m = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
|
|
3615
3668
|
a.push({
|
|
3616
3669
|
type: w.literal,
|
|
3617
|
-
value: r.getDateTimeFormat(t,
|
|
3670
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3618
3671
|
});
|
|
3619
3672
|
continue;
|
|
3620
3673
|
}
|
|
3621
|
-
if (
|
|
3622
|
-
var
|
|
3674
|
+
if (Gt(l)) {
|
|
3675
|
+
var m = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3623
3676
|
a.push({
|
|
3624
3677
|
type: w.literal,
|
|
3625
|
-
value: r.getDateTimeFormat(t,
|
|
3678
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3626
3679
|
});
|
|
3627
3680
|
continue;
|
|
3628
3681
|
}
|
|
3629
|
-
if (
|
|
3630
|
-
var
|
|
3631
|
-
|
|
3682
|
+
if (Dt(l)) {
|
|
3683
|
+
var m = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
|
|
3684
|
+
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3632
3685
|
type: w.literal,
|
|
3633
|
-
value: r.getNumberFormat(t,
|
|
3686
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3634
3687
|
});
|
|
3635
3688
|
continue;
|
|
3636
3689
|
}
|
|
3637
|
-
if (
|
|
3638
|
-
var g = l.children,
|
|
3639
|
-
if (!
|
|
3640
|
-
throw new
|
|
3641
|
-
var A =
|
|
3690
|
+
if (kt(l)) {
|
|
3691
|
+
var g = l.children, p = l.value, x = i[p];
|
|
3692
|
+
if (!Xn(x))
|
|
3693
|
+
throw new jn(p, "function", s);
|
|
3694
|
+
var A = me(g, t, r, n, i, o), H = x(A.map(function(S) {
|
|
3642
3695
|
return S.value;
|
|
3643
3696
|
}));
|
|
3644
3697
|
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(S) {
|
|
@@ -3648,14 +3701,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3648
3701
|
};
|
|
3649
3702
|
}));
|
|
3650
3703
|
}
|
|
3651
|
-
if (
|
|
3704
|
+
if (Ft(l)) {
|
|
3652
3705
|
var T = l.options[f] || l.options.other;
|
|
3653
3706
|
if (!T)
|
|
3654
|
-
throw new
|
|
3655
|
-
a.push.apply(a,
|
|
3707
|
+
throw new dt(l.value, f, Object.keys(l.options), s);
|
|
3708
|
+
a.push.apply(a, me(T.value, t, r, n, i));
|
|
3656
3709
|
continue;
|
|
3657
3710
|
}
|
|
3658
|
-
if (
|
|
3711
|
+
if (jt(l)) {
|
|
3659
3712
|
var T = l.options["=".concat(f)];
|
|
3660
3713
|
if (!T) {
|
|
3661
3714
|
if (!Intl.PluralRules)
|
|
@@ -3666,24 +3719,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3666
3719
|
T = l.options[v] || l.options.other;
|
|
3667
3720
|
}
|
|
3668
3721
|
if (!T)
|
|
3669
|
-
throw new
|
|
3670
|
-
a.push.apply(a,
|
|
3722
|
+
throw new dt(l.value, f, Object.keys(l.options), s);
|
|
3723
|
+
a.push.apply(a, me(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3671
3724
|
continue;
|
|
3672
3725
|
}
|
|
3673
3726
|
}
|
|
3674
|
-
return
|
|
3727
|
+
return Vn(a);
|
|
3675
3728
|
}
|
|
3676
|
-
function
|
|
3729
|
+
function Wn(e, t) {
|
|
3677
3730
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3678
3731
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3679
3732
|
}, {})) : e;
|
|
3680
3733
|
}
|
|
3681
|
-
function
|
|
3734
|
+
function zn(e, t) {
|
|
3682
3735
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3683
|
-
return r[n] =
|
|
3736
|
+
return r[n] = Wn(e[n], t[n]), r;
|
|
3684
3737
|
}, y({}, e)) : e;
|
|
3685
3738
|
}
|
|
3686
|
-
function
|
|
3739
|
+
function Pe(e) {
|
|
3687
3740
|
return {
|
|
3688
3741
|
create: function() {
|
|
3689
3742
|
return {
|
|
@@ -3697,39 +3750,39 @@ function Ae(e) {
|
|
|
3697
3750
|
}
|
|
3698
3751
|
};
|
|
3699
3752
|
}
|
|
3700
|
-
function
|
|
3753
|
+
function Zn(e) {
|
|
3701
3754
|
return e === void 0 && (e = {
|
|
3702
3755
|
number: {},
|
|
3703
3756
|
dateTime: {},
|
|
3704
3757
|
pluralRules: {}
|
|
3705
3758
|
}), {
|
|
3706
|
-
getNumberFormat:
|
|
3759
|
+
getNumberFormat: we(function() {
|
|
3707
3760
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3708
3761
|
r[n] = arguments[n];
|
|
3709
3762
|
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3710
3763
|
}, {
|
|
3711
|
-
cache:
|
|
3712
|
-
strategy:
|
|
3764
|
+
cache: Pe(e.number),
|
|
3765
|
+
strategy: He.variadic
|
|
3713
3766
|
}),
|
|
3714
|
-
getDateTimeFormat:
|
|
3767
|
+
getDateTimeFormat: we(function() {
|
|
3715
3768
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3716
3769
|
r[n] = arguments[n];
|
|
3717
3770
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3718
3771
|
}, {
|
|
3719
|
-
cache:
|
|
3720
|
-
strategy:
|
|
3772
|
+
cache: Pe(e.dateTime),
|
|
3773
|
+
strategy: He.variadic
|
|
3721
3774
|
}),
|
|
3722
|
-
getPluralRules:
|
|
3775
|
+
getPluralRules: we(function() {
|
|
3723
3776
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3724
3777
|
r[n] = arguments[n];
|
|
3725
3778
|
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
3726
3779
|
}, {
|
|
3727
|
-
cache:
|
|
3728
|
-
strategy:
|
|
3780
|
+
cache: Pe(e.pluralRules),
|
|
3781
|
+
strategy: He.variadic
|
|
3729
3782
|
})
|
|
3730
3783
|
};
|
|
3731
3784
|
}
|
|
3732
|
-
var
|
|
3785
|
+
var Yn = (
|
|
3733
3786
|
/** @class */
|
|
3734
3787
|
function() {
|
|
3735
3788
|
function e(t, r, n, i) {
|
|
@@ -3748,7 +3801,7 @@ var Wn = (
|
|
|
3748
3801
|
}, []);
|
|
3749
3802
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3750
3803
|
}, this.formatToParts = function(h) {
|
|
3751
|
-
return
|
|
3804
|
+
return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3752
3805
|
}, this.resolvedOptions = function() {
|
|
3753
3806
|
var h;
|
|
3754
3807
|
return {
|
|
@@ -3761,13 +3814,13 @@ var Wn = (
|
|
|
3761
3814
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3762
3815
|
var s = i || {};
|
|
3763
3816
|
s.formatters;
|
|
3764
|
-
var a =
|
|
3817
|
+
var a = Hr(s, ["formatters"]);
|
|
3765
3818
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3766
3819
|
} else
|
|
3767
3820
|
this.ast = t;
|
|
3768
3821
|
if (!Array.isArray(this.ast))
|
|
3769
3822
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3770
|
-
this.formats =
|
|
3823
|
+
this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
|
|
3771
3824
|
}
|
|
3772
3825
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3773
3826
|
get: function() {
|
|
@@ -3780,7 +3833,7 @@ var Wn = (
|
|
|
3780
3833
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3781
3834
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3782
3835
|
}
|
|
3783
|
-
}, e.__parse =
|
|
3836
|
+
}, e.__parse = Fn, e.formats = {
|
|
3784
3837
|
number: {
|
|
3785
3838
|
integer: {
|
|
3786
3839
|
maximumFractionDigits: 0
|
|
@@ -3841,7 +3894,7 @@ var Wn = (
|
|
|
3841
3894
|
}, e;
|
|
3842
3895
|
}()
|
|
3843
3896
|
);
|
|
3844
|
-
function
|
|
3897
|
+
function Qn(e, t) {
|
|
3845
3898
|
if (t == null)
|
|
3846
3899
|
return;
|
|
3847
3900
|
if (t in e)
|
|
@@ -3862,92 +3915,92 @@ function zn(e, t) {
|
|
|
3862
3915
|
n = void 0;
|
|
3863
3916
|
return n;
|
|
3864
3917
|
}
|
|
3865
|
-
const R = {},
|
|
3918
|
+
const R = {}, Jn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), qt = (e, t) => {
|
|
3866
3919
|
if (t == null)
|
|
3867
3920
|
return;
|
|
3868
3921
|
if (t in R && e in R[t])
|
|
3869
3922
|
return R[t][e];
|
|
3870
3923
|
const r = _e(t);
|
|
3871
3924
|
for (let n = 0; n < r.length; n++) {
|
|
3872
|
-
const i = r[n], o =
|
|
3925
|
+
const i = r[n], o = Kn(i, e);
|
|
3873
3926
|
if (o)
|
|
3874
|
-
return
|
|
3927
|
+
return Jn(e, t, o);
|
|
3875
3928
|
}
|
|
3876
3929
|
};
|
|
3877
|
-
let
|
|
3930
|
+
let Je;
|
|
3878
3931
|
const ue = ve({});
|
|
3879
|
-
function
|
|
3880
|
-
return
|
|
3932
|
+
function qn(e) {
|
|
3933
|
+
return Je[e] || null;
|
|
3881
3934
|
}
|
|
3882
|
-
function
|
|
3883
|
-
return e in
|
|
3935
|
+
function Kt(e) {
|
|
3936
|
+
return e in Je;
|
|
3884
3937
|
}
|
|
3885
|
-
function
|
|
3886
|
-
if (!
|
|
3938
|
+
function Kn(e, t) {
|
|
3939
|
+
if (!Kt(e))
|
|
3887
3940
|
return null;
|
|
3888
|
-
const r =
|
|
3889
|
-
return
|
|
3941
|
+
const r = qn(e);
|
|
3942
|
+
return Qn(r, t);
|
|
3890
3943
|
}
|
|
3891
|
-
function
|
|
3944
|
+
function ei(e) {
|
|
3892
3945
|
if (e == null)
|
|
3893
3946
|
return;
|
|
3894
3947
|
const t = _e(e);
|
|
3895
3948
|
for (let r = 0; r < t.length; r++) {
|
|
3896
3949
|
const n = t[r];
|
|
3897
|
-
if (
|
|
3950
|
+
if (Kt(n))
|
|
3898
3951
|
return n;
|
|
3899
3952
|
}
|
|
3900
3953
|
}
|
|
3901
|
-
function
|
|
3902
|
-
delete R[e], ue.update((r) => (r[e] =
|
|
3954
|
+
function er(e, ...t) {
|
|
3955
|
+
delete R[e], ue.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
|
|
3903
3956
|
}
|
|
3904
3957
|
J(
|
|
3905
3958
|
[ue],
|
|
3906
3959
|
([e]) => Object.keys(e)
|
|
3907
3960
|
);
|
|
3908
|
-
ue.subscribe((e) =>
|
|
3909
|
-
const
|
|
3910
|
-
function
|
|
3911
|
-
|
|
3961
|
+
ue.subscribe((e) => Je = e);
|
|
3962
|
+
const pe = {};
|
|
3963
|
+
function ti(e, t) {
|
|
3964
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3912
3965
|
}
|
|
3913
|
-
function
|
|
3914
|
-
return
|
|
3966
|
+
function tr(e) {
|
|
3967
|
+
return pe[e];
|
|
3915
3968
|
}
|
|
3916
|
-
function
|
|
3969
|
+
function ri(e) {
|
|
3917
3970
|
return _e(e).map((t) => {
|
|
3918
|
-
const r =
|
|
3971
|
+
const r = tr(t);
|
|
3919
3972
|
return [t, r ? [...r] : []];
|
|
3920
3973
|
}).filter(([, t]) => t.length > 0);
|
|
3921
3974
|
}
|
|
3922
|
-
function
|
|
3975
|
+
function Xe(e) {
|
|
3923
3976
|
return e == null ? !1 : _e(e).some(
|
|
3924
3977
|
(t) => {
|
|
3925
3978
|
var r;
|
|
3926
|
-
return (r =
|
|
3979
|
+
return (r = tr(t)) == null ? void 0 : r.size;
|
|
3927
3980
|
}
|
|
3928
3981
|
);
|
|
3929
3982
|
}
|
|
3930
|
-
function
|
|
3983
|
+
function ni(e, t) {
|
|
3931
3984
|
return Promise.all(
|
|
3932
|
-
t.map((n) => (
|
|
3933
|
-
).then((n) =>
|
|
3985
|
+
t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
|
|
3986
|
+
).then((n) => er(e, ...n));
|
|
3934
3987
|
}
|
|
3935
3988
|
const ee = {};
|
|
3936
|
-
function
|
|
3937
|
-
if (!
|
|
3989
|
+
function rr(e) {
|
|
3990
|
+
if (!Xe(e))
|
|
3938
3991
|
return e in ee ? ee[e] : Promise.resolve();
|
|
3939
|
-
const t =
|
|
3992
|
+
const t = ri(e);
|
|
3940
3993
|
return ee[e] = Promise.all(
|
|
3941
3994
|
t.map(
|
|
3942
|
-
([r, n]) =>
|
|
3995
|
+
([r, n]) => ni(r, n)
|
|
3943
3996
|
)
|
|
3944
3997
|
).then(() => {
|
|
3945
|
-
if (
|
|
3946
|
-
return
|
|
3998
|
+
if (Xe(e))
|
|
3999
|
+
return rr(e);
|
|
3947
4000
|
delete ee[e];
|
|
3948
4001
|
}), ee[e];
|
|
3949
4002
|
}
|
|
3950
|
-
const
|
|
4003
|
+
const ii = {
|
|
3951
4004
|
number: {
|
|
3952
4005
|
scientific: { notation: "scientific" },
|
|
3953
4006
|
engineering: { notation: "engineering" },
|
|
@@ -3976,57 +4029,57 @@ const ti = {
|
|
|
3976
4029
|
timeZoneName: "short"
|
|
3977
4030
|
}
|
|
3978
4031
|
}
|
|
3979
|
-
},
|
|
4032
|
+
}, oi = {
|
|
3980
4033
|
fallbackLocale: null,
|
|
3981
4034
|
loadingDelay: 200,
|
|
3982
|
-
formats:
|
|
4035
|
+
formats: ii,
|
|
3983
4036
|
warnOnMissingMessages: !0,
|
|
3984
4037
|
handleMissingMessage: void 0,
|
|
3985
4038
|
ignoreTag: !0
|
|
3986
|
-
},
|
|
4039
|
+
}, si = oi;
|
|
3987
4040
|
function Q() {
|
|
3988
|
-
return
|
|
4041
|
+
return si;
|
|
3989
4042
|
}
|
|
3990
|
-
const
|
|
3991
|
-
var
|
|
4043
|
+
const Oe = ve(!1);
|
|
4044
|
+
var ai = Object.defineProperty, ui = Object.defineProperties, hi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
|
|
3992
4045
|
for (var r in t || (t = {}))
|
|
3993
|
-
|
|
3994
|
-
if (
|
|
3995
|
-
for (var r of
|
|
3996
|
-
|
|
4046
|
+
li.call(t, r) && yt(e, r, t[r]);
|
|
4047
|
+
if (gt)
|
|
4048
|
+
for (var r of gt(t))
|
|
4049
|
+
ci.call(t, r) && yt(e, r, t[r]);
|
|
3997
4050
|
return e;
|
|
3998
|
-
},
|
|
3999
|
-
let
|
|
4051
|
+
}, mi = (e, t) => ui(e, hi(t));
|
|
4052
|
+
let We;
|
|
4000
4053
|
const be = ve(null);
|
|
4001
|
-
function
|
|
4054
|
+
function vt(e) {
|
|
4002
4055
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4003
4056
|
}
|
|
4004
4057
|
function _e(e, t = Q().fallbackLocale) {
|
|
4005
|
-
const r =
|
|
4006
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4058
|
+
const r = vt(e);
|
|
4059
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
|
|
4007
4060
|
}
|
|
4008
4061
|
function G() {
|
|
4009
|
-
return
|
|
4062
|
+
return We ?? void 0;
|
|
4010
4063
|
}
|
|
4011
4064
|
be.subscribe((e) => {
|
|
4012
|
-
|
|
4065
|
+
We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4013
4066
|
});
|
|
4014
|
-
const
|
|
4015
|
-
if (e &&
|
|
4067
|
+
const pi = (e) => {
|
|
4068
|
+
if (e && ei(e) && Xe(e)) {
|
|
4016
4069
|
const { loadingDelay: t } = Q();
|
|
4017
4070
|
let r;
|
|
4018
4071
|
return typeof window < "u" && G() != null && t ? r = window.setTimeout(
|
|
4019
|
-
() =>
|
|
4072
|
+
() => Oe.set(!0),
|
|
4020
4073
|
t
|
|
4021
|
-
) :
|
|
4074
|
+
) : Oe.set(!0), rr(e).then(() => {
|
|
4022
4075
|
be.set(e);
|
|
4023
4076
|
}).finally(() => {
|
|
4024
|
-
clearTimeout(r),
|
|
4077
|
+
clearTimeout(r), Oe.set(!1);
|
|
4025
4078
|
});
|
|
4026
4079
|
}
|
|
4027
4080
|
return be.set(e);
|
|
4028
|
-
}, q =
|
|
4029
|
-
set:
|
|
4081
|
+
}, q = mi(fi({}, be), {
|
|
4082
|
+
set: pi
|
|
4030
4083
|
}), xe = (e) => {
|
|
4031
4084
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4032
4085
|
return (n) => {
|
|
@@ -4034,20 +4087,20 @@ const ci = (e) => {
|
|
|
4034
4087
|
return i in t ? t[i] : t[i] = e(n);
|
|
4035
4088
|
};
|
|
4036
4089
|
};
|
|
4037
|
-
var
|
|
4090
|
+
var bi = Object.defineProperty, de = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
|
|
4038
4091
|
for (var r in t || (t = {}))
|
|
4039
|
-
|
|
4092
|
+
nr.call(t, r) && Et(e, r, t[r]);
|
|
4040
4093
|
if (de)
|
|
4041
4094
|
for (var r of de(t))
|
|
4042
|
-
|
|
4095
|
+
ir.call(t, r) && Et(e, r, t[r]);
|
|
4043
4096
|
return e;
|
|
4044
4097
|
}, K = (e, t) => {
|
|
4045
4098
|
var r = {};
|
|
4046
4099
|
for (var n in e)
|
|
4047
|
-
|
|
4100
|
+
nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4048
4101
|
if (e != null && de)
|
|
4049
4102
|
for (var n of de(e))
|
|
4050
|
-
t.indexOf(n) < 0 &&
|
|
4103
|
+
t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
|
|
4051
4104
|
return r;
|
|
4052
4105
|
};
|
|
4053
4106
|
const se = (e, t) => {
|
|
@@ -4055,21 +4108,21 @@ const se = (e, t) => {
|
|
|
4055
4108
|
if (e in r && t in r[e])
|
|
4056
4109
|
return r[e][t];
|
|
4057
4110
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4058
|
-
},
|
|
4111
|
+
}, di = xe(
|
|
4059
4112
|
(e) => {
|
|
4060
4113
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4061
4114
|
if (r == null)
|
|
4062
4115
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4063
4116
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4064
4117
|
}
|
|
4065
|
-
),
|
|
4118
|
+
), gi = xe(
|
|
4066
4119
|
(e) => {
|
|
4067
4120
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4068
4121
|
if (r == null)
|
|
4069
4122
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4070
4123
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4071
4124
|
}
|
|
4072
|
-
),
|
|
4125
|
+
), yi = xe(
|
|
4073
4126
|
(e) => {
|
|
4074
4127
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4075
4128
|
if (r == null)
|
|
@@ -4078,33 +4131,33 @@ const se = (e, t) => {
|
|
|
4078
4131
|
);
|
|
4079
4132
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4080
4133
|
}
|
|
4081
|
-
),
|
|
4134
|
+
), vi = (e = {}) => {
|
|
4082
4135
|
var t = e, {
|
|
4083
4136
|
locale: r = G()
|
|
4084
4137
|
} = t, n = K(t, [
|
|
4085
4138
|
"locale"
|
|
4086
4139
|
]);
|
|
4087
|
-
return
|
|
4088
|
-
},
|
|
4140
|
+
return di(qe({ locale: r }, n));
|
|
4141
|
+
}, Ei = (e = {}) => {
|
|
4089
4142
|
var t = e, {
|
|
4090
4143
|
locale: r = G()
|
|
4091
4144
|
} = t, n = K(t, [
|
|
4092
4145
|
"locale"
|
|
4093
4146
|
]);
|
|
4094
|
-
return
|
|
4095
|
-
},
|
|
4147
|
+
return gi(qe({ locale: r }, n));
|
|
4148
|
+
}, _i = (e = {}) => {
|
|
4096
4149
|
var t = e, {
|
|
4097
4150
|
locale: r = G()
|
|
4098
4151
|
} = t, n = K(t, [
|
|
4099
4152
|
"locale"
|
|
4100
4153
|
]);
|
|
4101
|
-
return
|
|
4102
|
-
},
|
|
4154
|
+
return yi(qe({ locale: r }, n));
|
|
4155
|
+
}, xi = xe(
|
|
4103
4156
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4104
|
-
(e, t = G()) => new
|
|
4157
|
+
(e, t = G()) => new Yn(e, t, Q().formats, {
|
|
4105
4158
|
ignoreTag: Q().ignoreTag
|
|
4106
4159
|
})
|
|
4107
|
-
),
|
|
4160
|
+
), Bi = (e, t = {}) => {
|
|
4108
4161
|
var r, n, i, o;
|
|
4109
4162
|
let s = t;
|
|
4110
4163
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4117,7 +4170,7 @@ const se = (e, t) => {
|
|
|
4117
4170
|
throw new Error(
|
|
4118
4171
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4119
4172
|
);
|
|
4120
|
-
let l =
|
|
4173
|
+
let l = qt(e, h);
|
|
4121
4174
|
if (!l)
|
|
4122
4175
|
l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4123
4176
|
else if (typeof l != "string")
|
|
@@ -4128,7 +4181,7 @@ const se = (e, t) => {
|
|
|
4128
4181
|
return l;
|
|
4129
4182
|
let c = l;
|
|
4130
4183
|
try {
|
|
4131
|
-
c =
|
|
4184
|
+
c = xi(l, h).format(a);
|
|
4132
4185
|
} catch (f) {
|
|
4133
4186
|
f instanceof Error && console.warn(
|
|
4134
4187
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4136,20 +4189,20 @@ const se = (e, t) => {
|
|
|
4136
4189
|
);
|
|
4137
4190
|
}
|
|
4138
4191
|
return c;
|
|
4139
|
-
},
|
|
4140
|
-
J([q], () =>
|
|
4141
|
-
J([q], () =>
|
|
4142
|
-
J([q], () =>
|
|
4143
|
-
J([q, ue], () =>
|
|
4144
|
-
window.emWidgets = { topic:
|
|
4145
|
-
const
|
|
4146
|
-
function
|
|
4147
|
-
|
|
4148
|
-
}
|
|
4149
|
-
function
|
|
4192
|
+
}, Si = (e, t) => _i(t).format(e), Ti = (e, t) => Ei(t).format(e), wi = (e, t) => vi(t).format(e), Hi = (e, t = G()) => qt(e, t), Ai = J([q, ue], () => Bi);
|
|
4193
|
+
J([q], () => Si);
|
|
4194
|
+
J([q], () => Ti);
|
|
4195
|
+
J([q], () => wi);
|
|
4196
|
+
J([q, ue], () => Hi);
|
|
4197
|
+
window.emWidgets = { topic: Fr };
|
|
4198
|
+
const Pi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4199
|
+
function _t(e, t) {
|
|
4200
|
+
er(e, t);
|
|
4201
|
+
}
|
|
4202
|
+
function Oi(e) {
|
|
4150
4203
|
q.set(e);
|
|
4151
4204
|
}
|
|
4152
|
-
const
|
|
4205
|
+
const xt = {
|
|
4153
4206
|
en: {
|
|
4154
4207
|
titleBiometrics: "Biometrics Authentication",
|
|
4155
4208
|
descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
|
|
@@ -4228,13 +4281,13 @@ const vt = {
|
|
|
4228
4281
|
btnDisableBiometrics: "Disable biometrics"
|
|
4229
4282
|
}
|
|
4230
4283
|
};
|
|
4231
|
-
function
|
|
4284
|
+
function Ii(e, t) {
|
|
4232
4285
|
if (e) {
|
|
4233
4286
|
const r = document.createElement("style");
|
|
4234
4287
|
r.innerHTML = t, e.appendChild(r);
|
|
4235
4288
|
}
|
|
4236
4289
|
}
|
|
4237
|
-
function
|
|
4290
|
+
function Ni(e, t) {
|
|
4238
4291
|
const r = new URL(t);
|
|
4239
4292
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4240
4293
|
const i = document.createElement("style");
|
|
@@ -4243,7 +4296,7 @@ function Pi(e, t) {
|
|
|
4243
4296
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4244
4297
|
});
|
|
4245
4298
|
}
|
|
4246
|
-
function
|
|
4299
|
+
function Mi(e, t, r) {
|
|
4247
4300
|
if (window.emMessageBus) {
|
|
4248
4301
|
const n = document.createElement("style");
|
|
4249
4302
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4251,47 +4304,47 @@ function Oi(e, t, r) {
|
|
|
4251
4304
|
});
|
|
4252
4305
|
}
|
|
4253
4306
|
}
|
|
4254
|
-
function
|
|
4255
|
-
|
|
4307
|
+
function Ci(e) {
|
|
4308
|
+
ar(e, "svelte-1cpvxby", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.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))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
|
|
4256
4309
|
}
|
|
4257
|
-
function
|
|
4310
|
+
function Li(e) {
|
|
4258
4311
|
let t, r, n, i, o, s, a, h, u, l, c = (
|
|
4259
4312
|
/*$_*/
|
|
4260
4313
|
e[2]("titleBiometrics") + ""
|
|
4261
|
-
), f,
|
|
4314
|
+
), f, m, g;
|
|
4262
4315
|
return {
|
|
4263
4316
|
c() {
|
|
4264
4317
|
t = O("div"), r = F("svg"), n = F("defs"), i = F("style"), o = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = F("g"), a = F("g"), h = F("path"), u = te(), l = O("h2"), f = U(c), B(h, "class", "aaa"), B(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(h, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "width", "15"), B(r, "height", "15"), B(r, "viewBox", "0 0 15 15"), B(l, "class", "BiometricsTitleMobile"), B(l, "part", "BiometricsTitleMobile"), B(t, "class", "MenuReturnButton"), B(t, "part", "MenuReturnButton");
|
|
4265
4318
|
},
|
|
4266
|
-
m(
|
|
4267
|
-
|
|
4319
|
+
m(p, x) {
|
|
4320
|
+
Ze(p, t, x), E(t, r), E(r, n), E(n, i), E(i, o), E(r, s), E(s, a), E(a, h), E(t, u), E(t, l), E(l, f), m || (g = wt(
|
|
4268
4321
|
t,
|
|
4269
4322
|
"click",
|
|
4270
4323
|
/*click_handler*/
|
|
4271
4324
|
e[11]
|
|
4272
|
-
),
|
|
4325
|
+
), m = !0);
|
|
4273
4326
|
},
|
|
4274
|
-
p(
|
|
4327
|
+
p(p, x) {
|
|
4275
4328
|
x & /*$_*/
|
|
4276
4329
|
4 && c !== (c = /*$_*/
|
|
4277
|
-
|
|
4330
|
+
p[2]("titleBiometrics") + "") && re(f, c);
|
|
4278
4331
|
},
|
|
4279
|
-
d(
|
|
4280
|
-
|
|
4332
|
+
d(p) {
|
|
4333
|
+
p && ge(t), m = !1, g();
|
|
4281
4334
|
}
|
|
4282
4335
|
};
|
|
4283
4336
|
}
|
|
4284
|
-
function
|
|
4337
|
+
function $i(e) {
|
|
4285
4338
|
let t, r, n, i, o = (
|
|
4286
4339
|
/*$_*/
|
|
4287
4340
|
e[2]("titleBiometrics") + ""
|
|
4288
4341
|
), s, a, h, u, l = (
|
|
4289
4342
|
/*$_*/
|
|
4290
4343
|
e[2]("descriptionParagraph1") + ""
|
|
4291
|
-
), c, f,
|
|
4344
|
+
), c, f, m, g = (
|
|
4292
4345
|
/*$_*/
|
|
4293
4346
|
e[2]("descriptionParagraph2") + ""
|
|
4294
|
-
),
|
|
4347
|
+
), p, x, A, H, T = (
|
|
4295
4348
|
/*biometricsenabled*/
|
|
4296
4349
|
(e[0] === "true" ? (
|
|
4297
4350
|
/*$_*/
|
|
@@ -4302,18 +4355,18 @@ function Mi(e) {
|
|
|
4302
4355
|
)) + ""
|
|
4303
4356
|
), v, S, N, M = (
|
|
4304
4357
|
/*isMobile*/
|
|
4305
|
-
e[3] &&
|
|
4358
|
+
e[3] && Li(e)
|
|
4306
4359
|
);
|
|
4307
4360
|
return {
|
|
4308
4361
|
c() {
|
|
4309
|
-
t = O("div"), r = O("div"), M && M.c(), n = te(), i = O("h2"), s = U(o), a = te(), h = O("div"), u = O("p"), c = U(l), f = te(),
|
|
4362
|
+
t = O("div"), r = O("div"), M && M.c(), n = te(), i = O("h2"), s = U(o), a = te(), h = O("div"), u = O("p"), c = U(l), f = te(), m = O("p"), p = U(g), x = te(), A = O("div"), H = O("button"), v = U(T), B(i, "class", "BiometricsTitle " + /*isMobile*/
|
|
4310
4363
|
(e[3] ? "BiometricsTitleNone" : "")), B(h, "class", "BiometricsDescription " + /*isMobile*/
|
|
4311
4364
|
(e[3] ? "BiometricsDescriptionMobile" : "")), B(H, "class", "BiometricsToggle"), B(A, "class", "BiometricsActionButtons " + /*isMobile*/
|
|
4312
4365
|
(e[3] ? "BiometricsActionButtonsMobile" : "")), B(r, "class", "BiometricsWrapper " + /*isMobile*/
|
|
4313
4366
|
(e[3] ? "BiometricsWrapperMobile" : ""));
|
|
4314
4367
|
},
|
|
4315
4368
|
m(P, D) {
|
|
4316
|
-
|
|
4369
|
+
Ze(P, t, D), E(t, r), M && M.m(r, null), E(r, n), E(r, i), E(i, s), E(r, a), E(r, h), E(h, u), E(u, c), E(h, f), E(h, m), E(m, p), E(r, x), E(r, A), E(A, H), E(H, v), e[13](t), S || (N = wt(
|
|
4317
4370
|
H,
|
|
4318
4371
|
"click",
|
|
4319
4372
|
/*click_handler_1*/
|
|
@@ -4328,7 +4381,7 @@ function Mi(e) {
|
|
|
4328
4381
|
4 && l !== (l = /*$_*/
|
|
4329
4382
|
P[2]("descriptionParagraph1") + "") && re(c, l), D & /*$_*/
|
|
4330
4383
|
4 && g !== (g = /*$_*/
|
|
4331
|
-
P[2]("descriptionParagraph2") + "") && re(
|
|
4384
|
+
P[2]("descriptionParagraph2") + "") && re(p, g), D & /*biometricsenabled, $_*/
|
|
4332
4385
|
5 && T !== (T = /*biometricsenabled*/
|
|
4333
4386
|
(P[0] === "true" ? (
|
|
4334
4387
|
/*$_*/
|
|
@@ -4345,25 +4398,25 @@ function Mi(e) {
|
|
|
4345
4398
|
}
|
|
4346
4399
|
};
|
|
4347
4400
|
}
|
|
4348
|
-
function
|
|
4401
|
+
function Ri(e, t, r) {
|
|
4349
4402
|
let n;
|
|
4350
|
-
|
|
4351
|
-
let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: h } = t, { translationurl: u = "" } = t, l, c = window.navigator.userAgent, f =
|
|
4352
|
-
const
|
|
4403
|
+
sr(e, Ai, (v) => r(2, n = v));
|
|
4404
|
+
let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: h } = t, { translationurl: u = "" } = t, l, c = window.navigator.userAgent, f = Pi(c) !== "PC";
|
|
4405
|
+
const m = () => {
|
|
4353
4406
|
fetch(u).then((S) => S.json()).then((S) => {
|
|
4354
4407
|
Object.keys(S).forEach((N) => {
|
|
4355
|
-
|
|
4408
|
+
_t(N, S[N]);
|
|
4356
4409
|
});
|
|
4357
4410
|
}).catch((S) => {
|
|
4358
4411
|
console.log(S);
|
|
4359
4412
|
});
|
|
4360
4413
|
};
|
|
4361
|
-
Object.keys(
|
|
4362
|
-
|
|
4414
|
+
Object.keys(xt).forEach((v) => {
|
|
4415
|
+
_t(v, xt[v]);
|
|
4363
4416
|
});
|
|
4364
4417
|
const g = () => {
|
|
4365
|
-
|
|
4366
|
-
},
|
|
4418
|
+
Oi(o);
|
|
4419
|
+
}, p = () => {
|
|
4367
4420
|
window.postMessage(
|
|
4368
4421
|
{
|
|
4369
4422
|
type: "PlayerAccountMenuActive",
|
|
@@ -4377,11 +4430,11 @@ function Li(e, t, r) {
|
|
|
4377
4430
|
data: i
|
|
4378
4431
|
});
|
|
4379
4432
|
};
|
|
4380
|
-
|
|
4433
|
+
mr(() => () => {
|
|
4381
4434
|
});
|
|
4382
|
-
const A = () =>
|
|
4435
|
+
const A = () => p(), H = () => x();
|
|
4383
4436
|
function T(v) {
|
|
4384
|
-
|
|
4437
|
+
Ie[v ? "unshift" : "push"](() => {
|
|
4385
4438
|
l = v, r(1, l);
|
|
4386
4439
|
});
|
|
4387
4440
|
}
|
|
@@ -4390,16 +4443,16 @@ function Li(e, t, r) {
|
|
|
4390
4443
|
}, e.$$.update = () => {
|
|
4391
4444
|
e.$$.dirty & /*lang*/
|
|
4392
4445
|
64 && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4393
|
-
130 && s && l &&
|
|
4394
|
-
258 && a && l &&
|
|
4395
|
-
514 && h && l &&
|
|
4396
|
-
1024 && u &&
|
|
4446
|
+
130 && s && l && Ii(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4447
|
+
258 && a && l && Ni(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4448
|
+
514 && h && l && Mi(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4449
|
+
1024 && u && m();
|
|
4397
4450
|
}, [
|
|
4398
4451
|
i,
|
|
4399
4452
|
l,
|
|
4400
4453
|
n,
|
|
4401
4454
|
f,
|
|
4402
|
-
|
|
4455
|
+
p,
|
|
4403
4456
|
x,
|
|
4404
4457
|
o,
|
|
4405
4458
|
s,
|
|
@@ -4411,14 +4464,14 @@ function Li(e, t, r) {
|
|
|
4411
4464
|
T
|
|
4412
4465
|
];
|
|
4413
4466
|
}
|
|
4414
|
-
class
|
|
4467
|
+
class Di extends Tr {
|
|
4415
4468
|
constructor(t) {
|
|
4416
|
-
super(),
|
|
4469
|
+
super(), Br(
|
|
4417
4470
|
this,
|
|
4418
4471
|
t,
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4472
|
+
Ri,
|
|
4473
|
+
$i,
|
|
4474
|
+
St,
|
|
4422
4475
|
{
|
|
4423
4476
|
biometricsenabled: 0,
|
|
4424
4477
|
lang: 6,
|
|
@@ -4427,7 +4480,7 @@ class Ci extends _r {
|
|
|
4427
4480
|
mbsource: 9,
|
|
4428
4481
|
translationurl: 10
|
|
4429
4482
|
},
|
|
4430
|
-
|
|
4483
|
+
Ci
|
|
4431
4484
|
);
|
|
4432
4485
|
}
|
|
4433
4486
|
get biometricsenabled() {
|
|
@@ -4467,7 +4520,7 @@ class Ci extends _r {
|
|
|
4467
4520
|
this.$$set({ translationurl: t }), $();
|
|
4468
4521
|
}
|
|
4469
4522
|
}
|
|
4470
|
-
|
|
4523
|
+
Sr(Di, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4471
4524
|
export {
|
|
4472
|
-
|
|
4525
|
+
Di as P
|
|
4473
4526
|
};
|