@everymatrix/player-account-biometrics 1.54.4 → 1.54.8
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-BOA62ZKR.js → PlayerAccountBiometrics-BVgTs39e.js} +369 -377
- package/components/PlayerAccountBiometrics-CBHBTia8.cjs +5 -0
- package/components/PlayerAccountBiometrics-CEPme6Pt.js +4481 -0
- package/es2015/player-account-biometrics.cjs +1 -0
- package/es2015/player-account-biometrics.js +16 -0
- package/esnext/player-account-biometrics.js +1 -1
- package/package.json +1 -1
package/components/{PlayerAccountBiometrics-BOA62ZKR.js → PlayerAccountBiometrics-BVgTs39e.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function C() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Et(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Qe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function se(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Et);
|
|
11
11
|
}
|
|
12
12
|
function Xe(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function _t(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function tr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function xt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,20 +27,20 @@ function Bt(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 rr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(xt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function E(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function nr(e, t, r) {
|
|
37
|
+
const n = ir(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const i = I("style");
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
40
|
+
i.id = t, i.textContent = r, or(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ir(e) {
|
|
44
44
|
if (!e) return document;
|
|
45
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
46
|
return t && /** @type {ShadowRoot} */
|
|
@@ -49,7 +49,7 @@ function or(e) {
|
|
|
49
49
|
t
|
|
50
50
|
) : e.ownerDocument;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function or(e, t) {
|
|
53
53
|
return E(
|
|
54
54
|
/** @type {Document} */
|
|
55
55
|
e.head || e,
|
|
@@ -74,20 +74,20 @@ function U(e) {
|
|
|
74
74
|
function te() {
|
|
75
75
|
return U(" ");
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Bt(e, t, r, n) {
|
|
78
78
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
79
79
|
}
|
|
80
80
|
function B(e, t, r) {
|
|
81
81
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function sr(e) {
|
|
84
84
|
return Array.from(e.childNodes);
|
|
85
85
|
}
|
|
86
86
|
function re(e, t) {
|
|
87
87
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
88
88
|
t);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function ar(e) {
|
|
91
91
|
const t = {};
|
|
92
92
|
return e.childNodes.forEach(
|
|
93
93
|
/** @param {Element} node */
|
|
@@ -102,10 +102,10 @@ function ne(e) {
|
|
|
102
102
|
}
|
|
103
103
|
const V = [], Pe = [];
|
|
104
104
|
let X = [];
|
|
105
|
-
const
|
|
105
|
+
const Je = [], ur = /* @__PURE__ */ Promise.resolve();
|
|
106
106
|
let Oe = !1;
|
|
107
|
-
function
|
|
108
|
-
Oe || (Oe = !0,
|
|
107
|
+
function hr() {
|
|
108
|
+
Oe || (Oe = !0, ur.then(D));
|
|
109
109
|
}
|
|
110
110
|
function Ie(e) {
|
|
111
111
|
X.push(e);
|
|
@@ -120,7 +120,7 @@ function D() {
|
|
|
120
120
|
try {
|
|
121
121
|
for (; j < V.length; ) {
|
|
122
122
|
const t = V[j];
|
|
123
|
-
j++, ne(t),
|
|
123
|
+
j++, ne(t), lr(t.$$);
|
|
124
124
|
}
|
|
125
125
|
} catch (t) {
|
|
126
126
|
throw V.length = 0, j = 0, t;
|
|
@@ -132,40 +132,40 @@ function D() {
|
|
|
132
132
|
}
|
|
133
133
|
X.length = 0;
|
|
134
134
|
} while (V.length);
|
|
135
|
-
for (;
|
|
136
|
-
|
|
135
|
+
for (; Je.length; )
|
|
136
|
+
Je.pop()();
|
|
137
137
|
Oe = !1, xe.clear(), ne(e);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function lr(e) {
|
|
140
140
|
if (e.fragment !== null) {
|
|
141
141
|
e.update(), se(e.before_update);
|
|
142
142
|
const t = e.dirty;
|
|
143
143
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function cr(e) {
|
|
147
147
|
const t = [], r = [];
|
|
148
148
|
X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
|
|
149
149
|
}
|
|
150
|
-
const
|
|
151
|
-
function
|
|
152
|
-
e && e.i && (
|
|
150
|
+
const fr = /* @__PURE__ */ new Set();
|
|
151
|
+
function pr(e, t) {
|
|
152
|
+
e && e.i && (fr.delete(e), e.i(t));
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function mr(e, t, r) {
|
|
155
155
|
const { fragment: n, after_update: i } = e.$$;
|
|
156
156
|
n && n.m(t, r), Ie(() => {
|
|
157
|
-
const o = e.$$.on_mount.map(
|
|
157
|
+
const o = e.$$.on_mount.map(Et).filter(Xe);
|
|
158
158
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
159
159
|
}), i.forEach(Ie);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function dr(e, t) {
|
|
162
162
|
const r = e.$$;
|
|
163
|
-
r.fragment !== null && (
|
|
163
|
+
r.fragment !== null && (cr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
165
|
+
function br(e, t) {
|
|
166
|
+
e.$$.dirty[0] === -1 && (V.push(e), hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
169
169
|
const h = ze;
|
|
170
170
|
ne(e);
|
|
171
171
|
const u = e.$$ = {
|
|
@@ -175,7 +175,7 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
175
175
|
props: o,
|
|
176
176
|
update: C,
|
|
177
177
|
not_equal: i,
|
|
178
|
-
bound:
|
|
178
|
+
bound: Qe(),
|
|
179
179
|
// lifecycle
|
|
180
180
|
on_mount: [],
|
|
181
181
|
on_destroy: [],
|
|
@@ -184,28 +184,28 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
184
184
|
after_update: [],
|
|
185
185
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
186
186
|
// everything else
|
|
187
|
-
callbacks:
|
|
187
|
+
callbacks: Qe(),
|
|
188
188
|
dirty: a,
|
|
189
189
|
skip_bound: !1,
|
|
190
190
|
root: t.target || h.$$.root
|
|
191
191
|
};
|
|
192
192
|
s && s(u.root);
|
|
193
193
|
let l = !1;
|
|
194
|
-
if (u.ctx = r(e, t.props || {}, (c, f, ...p) => {
|
|
194
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
195
195
|
const y = p.length ? p[0] : f;
|
|
196
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
197
|
-
}), u.update(), l = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
196
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && br(e, c)), f;
|
|
197
|
+
}) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
198
198
|
if (t.hydrate) {
|
|
199
|
-
const c =
|
|
199
|
+
const c = sr(t.target);
|
|
200
200
|
u.fragment && u.fragment.l(c), c.forEach(be);
|
|
201
201
|
} else
|
|
202
202
|
u.fragment && u.fragment.c();
|
|
203
|
-
t.intro &&
|
|
203
|
+
t.intro && pr(e.$$.fragment), mr(e, t.target, t.anchor), D();
|
|
204
204
|
}
|
|
205
205
|
ne(h);
|
|
206
206
|
}
|
|
207
|
-
let
|
|
208
|
-
typeof HTMLElement == "function" && (
|
|
207
|
+
let St;
|
|
208
|
+
typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
209
209
|
/** The Svelte component constructor */
|
|
210
210
|
$$ctor;
|
|
211
211
|
/** Slots */
|
|
@@ -264,7 +264,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
264
264
|
};
|
|
265
265
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
266
266
|
return;
|
|
267
|
-
const t = {}, r =
|
|
267
|
+
const t = {}, r = ar(this);
|
|
268
268
|
for (const i of this.$$s)
|
|
269
269
|
i in r && (t[i] = [e(i)]);
|
|
270
270
|
for (const i of this.attributes) {
|
|
@@ -351,8 +351,8 @@ function le(e, t, r, n) {
|
|
|
351
351
|
return t;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
355
|
-
let s = class extends
|
|
354
|
+
function yr(e, t, r, n, i, o) {
|
|
355
|
+
let s = class extends St {
|
|
356
356
|
constructor() {
|
|
357
357
|
super(e, r, i), this.$$p_d = t;
|
|
358
358
|
}
|
|
@@ -380,7 +380,7 @@ function vr(e, t, r, n, i, o) {
|
|
|
380
380
|
}), e.element = /** @type {any} */
|
|
381
381
|
s, s;
|
|
382
382
|
}
|
|
383
|
-
class
|
|
383
|
+
class vr {
|
|
384
384
|
/**
|
|
385
385
|
* ### PRIVATE API
|
|
386
386
|
*
|
|
@@ -399,7 +399,7 @@ class Er {
|
|
|
399
399
|
$$set = void 0;
|
|
400
400
|
/** @returns {void} */
|
|
401
401
|
$destroy() {
|
|
402
|
-
|
|
402
|
+
dr(this, 1), this.$destroy = C;
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -421,11 +421,11 @@ class Er {
|
|
|
421
421
|
* @returns {void}
|
|
422
422
|
*/
|
|
423
423
|
$set(t) {
|
|
424
|
-
this.$$set && !
|
|
424
|
+
this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
const
|
|
428
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
427
|
+
const Er = "4";
|
|
428
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
|
|
429
429
|
var Ne = function(e, t) {
|
|
430
430
|
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
431
431
|
r.__proto__ = n;
|
|
@@ -451,7 +451,7 @@ var v = function() {
|
|
|
451
451
|
return t;
|
|
452
452
|
}, v.apply(this, arguments);
|
|
453
453
|
};
|
|
454
|
-
function
|
|
454
|
+
function _r(e, t) {
|
|
455
455
|
var r = {};
|
|
456
456
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
457
457
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -494,13 +494,13 @@ function W(e, t, r) {
|
|
|
494
494
|
function M(e) {
|
|
495
495
|
return typeof e == "function";
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function Tt(e) {
|
|
498
498
|
var t = function(n) {
|
|
499
499
|
Error.call(n), n.stack = new Error().stack;
|
|
500
500
|
}, r = e(t);
|
|
501
501
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
502
502
|
}
|
|
503
|
-
var Be =
|
|
503
|
+
var Be = Tt(function(e) {
|
|
504
504
|
return function(r) {
|
|
505
505
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
506
506
|
` + r.map(function(n, i) {
|
|
@@ -556,7 +556,7 @@ var ge = function() {
|
|
|
556
556
|
for (var f = Ce(c), p = f.next(); !p.done; p = f.next()) {
|
|
557
557
|
var y = p.value;
|
|
558
558
|
try {
|
|
559
|
-
|
|
559
|
+
qe(y);
|
|
560
560
|
} catch (m) {
|
|
561
561
|
o = o ?? [], m instanceof Be ? o = W(W([], Me(o)), Me(m.errors)) : o.push(m);
|
|
562
562
|
}
|
|
@@ -578,7 +578,7 @@ var ge = function() {
|
|
|
578
578
|
var r;
|
|
579
579
|
if (t && t !== this)
|
|
580
580
|
if (this.closed)
|
|
581
|
-
|
|
581
|
+
qe(t);
|
|
582
582
|
else {
|
|
583
583
|
if (t instanceof e) {
|
|
584
584
|
if (t.closed || t._hasParent(this))
|
|
@@ -603,20 +603,16 @@ var ge = function() {
|
|
|
603
603
|
var t = new e();
|
|
604
604
|
return t.closed = !0, t;
|
|
605
605
|
}(), e;
|
|
606
|
-
}(),
|
|
607
|
-
function
|
|
606
|
+
}(), Ht = ge.EMPTY;
|
|
607
|
+
function wt(e) {
|
|
608
608
|
return e instanceof ge || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function qe(e) {
|
|
611
611
|
M(e) ? e() : e.unsubscribe();
|
|
612
612
|
}
|
|
613
|
-
var
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
Promise: void 0,
|
|
617
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
618
|
-
useDeprecatedNextContext: !1
|
|
619
|
-
}, Sr = {
|
|
613
|
+
var xr = {
|
|
614
|
+
Promise: void 0
|
|
615
|
+
}, Br = {
|
|
620
616
|
setTimeout: function(e, t) {
|
|
621
617
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
622
618
|
r[n - 2] = arguments[n];
|
|
@@ -627,21 +623,21 @@ var Br = {
|
|
|
627
623
|
},
|
|
628
624
|
delegate: void 0
|
|
629
625
|
};
|
|
630
|
-
function
|
|
631
|
-
|
|
626
|
+
function Sr(e) {
|
|
627
|
+
Br.setTimeout(function() {
|
|
632
628
|
throw e;
|
|
633
629
|
});
|
|
634
630
|
}
|
|
635
|
-
function
|
|
631
|
+
function Ke() {
|
|
636
632
|
}
|
|
637
633
|
function ce(e) {
|
|
638
634
|
e();
|
|
639
635
|
}
|
|
640
|
-
var
|
|
636
|
+
var At = function(e) {
|
|
641
637
|
L(t, e);
|
|
642
638
|
function t(r) {
|
|
643
639
|
var n = e.call(this) || this;
|
|
644
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
640
|
+
return n.isStopped = !1, r ? (n.destination = r, wt(r) && r.add(n)) : n.destination = wr, n;
|
|
645
641
|
}
|
|
646
642
|
return t.create = function(r, n, i) {
|
|
647
643
|
return new $e(r, n, i);
|
|
@@ -668,7 +664,7 @@ var Pt = function(e) {
|
|
|
668
664
|
this.unsubscribe();
|
|
669
665
|
}
|
|
670
666
|
}, t;
|
|
671
|
-
}(ge),
|
|
667
|
+
}(ge), Tr = function() {
|
|
672
668
|
function e(t) {
|
|
673
669
|
this.partialObserver = t;
|
|
674
670
|
}
|
|
@@ -707,35 +703,35 @@ var Pt = function(e) {
|
|
|
707
703
|
next: r ?? void 0,
|
|
708
704
|
error: n ?? void 0,
|
|
709
705
|
complete: i ?? void 0
|
|
710
|
-
} : s = r, o.destination = new
|
|
706
|
+
} : s = r, o.destination = new Tr(s), o;
|
|
711
707
|
}
|
|
712
708
|
return t;
|
|
713
|
-
}(
|
|
709
|
+
}(At);
|
|
714
710
|
function ue(e) {
|
|
715
|
-
|
|
711
|
+
Sr(e);
|
|
716
712
|
}
|
|
717
|
-
function
|
|
713
|
+
function Hr(e) {
|
|
718
714
|
throw e;
|
|
719
715
|
}
|
|
720
|
-
var
|
|
716
|
+
var wr = {
|
|
721
717
|
closed: !0,
|
|
722
|
-
next:
|
|
723
|
-
error:
|
|
724
|
-
complete:
|
|
725
|
-
},
|
|
718
|
+
next: Ke,
|
|
719
|
+
error: Hr,
|
|
720
|
+
complete: Ke
|
|
721
|
+
}, Ar = function() {
|
|
726
722
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
727
723
|
}();
|
|
728
|
-
function
|
|
724
|
+
function Pr(e) {
|
|
729
725
|
return e;
|
|
730
726
|
}
|
|
731
|
-
function
|
|
732
|
-
return e.length === 0 ?
|
|
727
|
+
function Or(e) {
|
|
728
|
+
return e.length === 0 ? Pr : e.length === 1 ? e[0] : function(r) {
|
|
733
729
|
return e.reduce(function(n, i) {
|
|
734
730
|
return i(n);
|
|
735
731
|
}, r);
|
|
736
732
|
};
|
|
737
733
|
}
|
|
738
|
-
var
|
|
734
|
+
var et = function() {
|
|
739
735
|
function e(t) {
|
|
740
736
|
t && (this._subscribe = t);
|
|
741
737
|
}
|
|
@@ -743,7 +739,7 @@ var tt = function() {
|
|
|
743
739
|
var r = new e();
|
|
744
740
|
return r.source = this, r.operator = t, r;
|
|
745
741
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
746
|
-
var i = this, o =
|
|
742
|
+
var i = this, o = Nr(t) ? t : new $e(t, r, n);
|
|
747
743
|
return ce(function() {
|
|
748
744
|
var s = i, a = s.operator, h = s.source;
|
|
749
745
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -756,7 +752,7 @@ var tt = function() {
|
|
|
756
752
|
}
|
|
757
753
|
}, e.prototype.forEach = function(t, r) {
|
|
758
754
|
var n = this;
|
|
759
|
-
return r =
|
|
755
|
+
return r = tt(r), new r(function(i, o) {
|
|
760
756
|
var s = new $e({
|
|
761
757
|
next: function(a) {
|
|
762
758
|
try {
|
|
@@ -773,15 +769,15 @@ var tt = function() {
|
|
|
773
769
|
}, e.prototype._subscribe = function(t) {
|
|
774
770
|
var r;
|
|
775
771
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
776
|
-
}, e.prototype[
|
|
772
|
+
}, e.prototype[Ar] = function() {
|
|
777
773
|
return this;
|
|
778
774
|
}, e.prototype.pipe = function() {
|
|
779
775
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
780
776
|
t[r] = arguments[r];
|
|
781
|
-
return
|
|
777
|
+
return Or(t)(this);
|
|
782
778
|
}, e.prototype.toPromise = function(t) {
|
|
783
779
|
var r = this;
|
|
784
|
-
return t =
|
|
780
|
+
return t = tt(t), new t(function(n, i) {
|
|
785
781
|
var o;
|
|
786
782
|
r.subscribe(function(s) {
|
|
787
783
|
return o = s;
|
|
@@ -795,32 +791,32 @@ var tt = function() {
|
|
|
795
791
|
return new e(t);
|
|
796
792
|
}, e;
|
|
797
793
|
}();
|
|
798
|
-
function
|
|
794
|
+
function tt(e) {
|
|
799
795
|
var t;
|
|
800
|
-
return (t = e ??
|
|
796
|
+
return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
801
797
|
}
|
|
802
|
-
function
|
|
798
|
+
function Ir(e) {
|
|
803
799
|
return e && M(e.next) && M(e.error) && M(e.complete);
|
|
804
800
|
}
|
|
805
|
-
function
|
|
806
|
-
return e && e instanceof
|
|
801
|
+
function Nr(e) {
|
|
802
|
+
return e && e instanceof At || Ir(e) && wt(e);
|
|
807
803
|
}
|
|
808
|
-
var
|
|
804
|
+
var Cr = Tt(function(e) {
|
|
809
805
|
return function() {
|
|
810
806
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
811
807
|
};
|
|
812
|
-
}),
|
|
808
|
+
}), Pt = function(e) {
|
|
813
809
|
L(t, e);
|
|
814
810
|
function t() {
|
|
815
811
|
var r = e.call(this) || this;
|
|
816
812
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
817
813
|
}
|
|
818
814
|
return t.prototype.lift = function(r) {
|
|
819
|
-
var n = new
|
|
815
|
+
var n = new rt(this, this);
|
|
820
816
|
return n.operator = r, n;
|
|
821
817
|
}, t.prototype._throwIfClosed = function() {
|
|
822
818
|
if (this.closed)
|
|
823
|
-
throw new
|
|
819
|
+
throw new Cr();
|
|
824
820
|
}, t.prototype.next = function(r) {
|
|
825
821
|
var n = this;
|
|
826
822
|
ce(function() {
|
|
@@ -876,19 +872,19 @@ var Mr = Ht(function(e) {
|
|
|
876
872
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
877
873
|
}, t.prototype._innerSubscribe = function(r) {
|
|
878
874
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
879
|
-
return o || s ?
|
|
875
|
+
return o || s ? Ht : (this.currentObservers = null, a.push(r), new ge(function() {
|
|
880
876
|
n.currentObservers = null, Le(a, r);
|
|
881
877
|
}));
|
|
882
878
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
883
879
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
884
880
|
i ? r.error(o) : s && r.complete();
|
|
885
881
|
}, t.prototype.asObservable = function() {
|
|
886
|
-
var r = new
|
|
882
|
+
var r = new et();
|
|
887
883
|
return r.source = this, r;
|
|
888
884
|
}, t.create = function(r, n) {
|
|
889
|
-
return new
|
|
885
|
+
return new rt(r, n);
|
|
890
886
|
}, t;
|
|
891
|
-
}(
|
|
887
|
+
}(et), rt = function(e) {
|
|
892
888
|
L(t, e);
|
|
893
889
|
function t(r, n) {
|
|
894
890
|
var i = e.call(this) || this;
|
|
@@ -905,17 +901,17 @@ var Mr = Ht(function(e) {
|
|
|
905
901
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
906
902
|
}, t.prototype._subscribe = function(r) {
|
|
907
903
|
var n, i;
|
|
908
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
904
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ht;
|
|
909
905
|
}, t;
|
|
910
|
-
}(
|
|
906
|
+
}(Pt), Ot = {
|
|
911
907
|
now: function() {
|
|
912
|
-
return (
|
|
908
|
+
return (Ot.delegate || Date).now();
|
|
913
909
|
},
|
|
914
910
|
delegate: void 0
|
|
915
|
-
},
|
|
911
|
+
}, Mr = function(e) {
|
|
916
912
|
L(t, e);
|
|
917
913
|
function t(r, n, i) {
|
|
918
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
914
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
|
|
919
915
|
var o = e.call(this) || this;
|
|
920
916
|
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;
|
|
921
917
|
}
|
|
@@ -935,15 +931,15 @@ var Mr = Ht(function(e) {
|
|
|
935
931
|
u && o.splice(0, u + 1);
|
|
936
932
|
}
|
|
937
933
|
}, t;
|
|
938
|
-
}(
|
|
939
|
-
const
|
|
940
|
-
if (
|
|
941
|
-
const r = new
|
|
942
|
-
|
|
934
|
+
}(Pt);
|
|
935
|
+
const nt = [], it = {}, Lr = (e, t = 0) => {
|
|
936
|
+
if (nt.indexOf(e) == -1) {
|
|
937
|
+
const r = new Mr(t);
|
|
938
|
+
it[e] = r, nt.push(e);
|
|
943
939
|
}
|
|
944
|
-
return
|
|
940
|
+
return it[e];
|
|
945
941
|
}, k = [];
|
|
946
|
-
function
|
|
942
|
+
function $r(e, t) {
|
|
947
943
|
return {
|
|
948
944
|
subscribe: ye(e, t).subscribe
|
|
949
945
|
};
|
|
@@ -952,7 +948,7 @@ function ye(e, t = C) {
|
|
|
952
948
|
let r;
|
|
953
949
|
const n = /* @__PURE__ */ new Set();
|
|
954
950
|
function i(a) {
|
|
955
|
-
if (
|
|
951
|
+
if (_t(e, a) && (e = a, r)) {
|
|
956
952
|
const h = !k.length;
|
|
957
953
|
for (const u of n)
|
|
958
954
|
u[1](), k.push(u, e);
|
|
@@ -979,7 +975,7 @@ function J(e, t, r) {
|
|
|
979
975
|
if (!i.every(Boolean))
|
|
980
976
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
981
977
|
const o = t.length < 2;
|
|
982
|
-
return
|
|
978
|
+
return $r(r, (s, a) => {
|
|
983
979
|
let h = !1;
|
|
984
980
|
const u = [];
|
|
985
981
|
let l = 0, c = C;
|
|
@@ -990,7 +986,7 @@ function J(e, t, r) {
|
|
|
990
986
|
const y = t(n ? u[0] : u, s, a);
|
|
991
987
|
o ? s(y) : c = Xe(y) ? y : C;
|
|
992
988
|
}, p = i.map(
|
|
993
|
-
(y, m) =>
|
|
989
|
+
(y, m) => xt(
|
|
994
990
|
y,
|
|
995
991
|
(x) => {
|
|
996
992
|
u[m] = x, l &= ~(1 << m), h && f();
|
|
@@ -1005,70 +1001,70 @@ function J(e, t, r) {
|
|
|
1005
1001
|
};
|
|
1006
1002
|
});
|
|
1007
1003
|
}
|
|
1008
|
-
function
|
|
1009
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1004
|
+
function Rr(e) {
|
|
1005
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1010
1006
|
}
|
|
1011
|
-
var
|
|
1012
|
-
return
|
|
1007
|
+
var Dr = function(t) {
|
|
1008
|
+
return Ur(t) && !Gr(t);
|
|
1013
1009
|
};
|
|
1014
|
-
function
|
|
1010
|
+
function Ur(e) {
|
|
1015
1011
|
return !!e && typeof e == "object";
|
|
1016
1012
|
}
|
|
1017
|
-
function
|
|
1013
|
+
function Gr(e) {
|
|
1018
1014
|
var t = Object.prototype.toString.call(e);
|
|
1019
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1015
|
+
return t === "[object RegExp]" || t === "[object Date]" || kr(e);
|
|
1020
1016
|
}
|
|
1021
|
-
var
|
|
1022
|
-
function
|
|
1023
|
-
return e.$$typeof ===
|
|
1017
|
+
var Fr = typeof Symbol == "function" && Symbol.for, jr = Fr ? Symbol.for("react.element") : 60103;
|
|
1018
|
+
function kr(e) {
|
|
1019
|
+
return e.$$typeof === jr;
|
|
1024
1020
|
}
|
|
1025
|
-
function
|
|
1021
|
+
function Vr(e) {
|
|
1026
1022
|
return Array.isArray(e) ? [] : {};
|
|
1027
1023
|
}
|
|
1028
1024
|
function ie(e, t) {
|
|
1029
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1025
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(Vr(e), e, t) : e;
|
|
1030
1026
|
}
|
|
1031
|
-
function
|
|
1027
|
+
function Xr(e, t, r) {
|
|
1032
1028
|
return e.concat(t).map(function(n) {
|
|
1033
1029
|
return ie(n, r);
|
|
1034
1030
|
});
|
|
1035
1031
|
}
|
|
1036
|
-
function
|
|
1032
|
+
function Wr(e, t) {
|
|
1037
1033
|
if (!t.customMerge)
|
|
1038
1034
|
return z;
|
|
1039
1035
|
var r = t.customMerge(e);
|
|
1040
1036
|
return typeof r == "function" ? r : z;
|
|
1041
1037
|
}
|
|
1042
|
-
function
|
|
1038
|
+
function zr(e) {
|
|
1043
1039
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1044
1040
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1045
1041
|
}) : [];
|
|
1046
1042
|
}
|
|
1047
|
-
function
|
|
1048
|
-
return Object.keys(e).concat(
|
|
1043
|
+
function ot(e) {
|
|
1044
|
+
return Object.keys(e).concat(zr(e));
|
|
1049
1045
|
}
|
|
1050
|
-
function
|
|
1046
|
+
function It(e, t) {
|
|
1051
1047
|
try {
|
|
1052
1048
|
return t in e;
|
|
1053
1049
|
} catch {
|
|
1054
1050
|
return !1;
|
|
1055
1051
|
}
|
|
1056
1052
|
}
|
|
1057
|
-
function
|
|
1058
|
-
return
|
|
1053
|
+
function Zr(e, t) {
|
|
1054
|
+
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1059
1055
|
}
|
|
1060
|
-
function
|
|
1056
|
+
function Yr(e, t, r) {
|
|
1061
1057
|
var n = {};
|
|
1062
|
-
return r.isMergeableObject(e) &&
|
|
1058
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
1063
1059
|
n[i] = ie(e[i], r);
|
|
1064
|
-
}),
|
|
1065
|
-
|
|
1060
|
+
}), ot(t).forEach(function(i) {
|
|
1061
|
+
Zr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1066
1062
|
}), n;
|
|
1067
1063
|
}
|
|
1068
1064
|
function z(e, t, r) {
|
|
1069
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1065
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Xr, r.isMergeableObject = r.isMergeableObject || Dr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
1070
1066
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1071
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1067
|
+
return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : ie(t, r);
|
|
1072
1068
|
}
|
|
1073
1069
|
z.all = function(t, r) {
|
|
1074
1070
|
if (!Array.isArray(t))
|
|
@@ -1077,42 +1073,39 @@ z.all = function(t, r) {
|
|
|
1077
1073
|
return z(n, i, r);
|
|
1078
1074
|
}, {});
|
|
1079
1075
|
};
|
|
1080
|
-
var
|
|
1081
|
-
const
|
|
1076
|
+
var Qr = z, Jr = Qr;
|
|
1077
|
+
const qr = /* @__PURE__ */ Rr(Jr);
|
|
1082
1078
|
function Se(e, t) {
|
|
1083
|
-
var r = t && t.cache ? t.cache :
|
|
1079
|
+
var r = t && t.cache ? t.cache : sn, n = t && t.serializer ? t.serializer : nn, i = t && t.strategy ? t.strategy : tn;
|
|
1084
1080
|
return i(e, {
|
|
1085
1081
|
cache: r,
|
|
1086
1082
|
serializer: n
|
|
1087
1083
|
});
|
|
1088
1084
|
}
|
|
1089
|
-
function
|
|
1085
|
+
function Kr(e) {
|
|
1090
1086
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1091
1087
|
}
|
|
1092
|
-
function
|
|
1093
|
-
var i =
|
|
1088
|
+
function en(e, t, r, n) {
|
|
1089
|
+
var i = Kr(n) ? n : r(n), o = t.get(i);
|
|
1094
1090
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1095
1091
|
}
|
|
1096
|
-
function
|
|
1092
|
+
function Nt(e, t, r) {
|
|
1097
1093
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1098
1094
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1099
1095
|
}
|
|
1100
|
-
function
|
|
1096
|
+
function Ct(e, t, r, n, i) {
|
|
1101
1097
|
return r.bind(t, e, n, i);
|
|
1102
1098
|
}
|
|
1103
1099
|
function tn(e, t) {
|
|
1104
|
-
var r = e.length === 1 ?
|
|
1105
|
-
return
|
|
1100
|
+
var r = e.length === 1 ? en : Nt;
|
|
1101
|
+
return Ct(e, this, r, t.cache.create(), t.serializer);
|
|
1106
1102
|
}
|
|
1107
1103
|
function rn(e, t) {
|
|
1108
|
-
return
|
|
1104
|
+
return Ct(e, this, Nt, t.cache.create(), t.serializer);
|
|
1109
1105
|
}
|
|
1110
|
-
|
|
1111
|
-
return Ze(e, this, Ct, t.cache.create(), t.serializer);
|
|
1112
|
-
}
|
|
1113
|
-
var on = function() {
|
|
1106
|
+
var nn = function() {
|
|
1114
1107
|
return JSON.stringify(arguments);
|
|
1115
|
-
},
|
|
1108
|
+
}, on = (
|
|
1116
1109
|
/** @class */
|
|
1117
1110
|
function() {
|
|
1118
1111
|
function e() {
|
|
@@ -1124,13 +1117,12 @@ var on = function() {
|
|
|
1124
1117
|
this.cache[t] = r;
|
|
1125
1118
|
}, e;
|
|
1126
1119
|
}()
|
|
1127
|
-
),
|
|
1120
|
+
), sn = {
|
|
1128
1121
|
create: function() {
|
|
1129
|
-
return new
|
|
1122
|
+
return new on();
|
|
1130
1123
|
}
|
|
1131
1124
|
}, Te = {
|
|
1132
|
-
variadic: rn
|
|
1133
|
-
monadic: nn
|
|
1125
|
+
variadic: rn
|
|
1134
1126
|
}, b;
|
|
1135
1127
|
(function(e) {
|
|
1136
1128
|
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";
|
|
@@ -1143,43 +1135,43 @@ var Z;
|
|
|
1143
1135
|
(function(e) {
|
|
1144
1136
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1145
1137
|
})(Z || (Z = {}));
|
|
1146
|
-
function
|
|
1138
|
+
function st(e) {
|
|
1147
1139
|
return e.type === _.literal;
|
|
1148
1140
|
}
|
|
1149
|
-
function
|
|
1141
|
+
function an(e) {
|
|
1150
1142
|
return e.type === _.argument;
|
|
1151
1143
|
}
|
|
1152
|
-
function
|
|
1144
|
+
function Mt(e) {
|
|
1153
1145
|
return e.type === _.number;
|
|
1154
1146
|
}
|
|
1155
|
-
function
|
|
1147
|
+
function Lt(e) {
|
|
1156
1148
|
return e.type === _.date;
|
|
1157
1149
|
}
|
|
1158
|
-
function
|
|
1150
|
+
function $t(e) {
|
|
1159
1151
|
return e.type === _.time;
|
|
1160
1152
|
}
|
|
1161
|
-
function
|
|
1153
|
+
function Rt(e) {
|
|
1162
1154
|
return e.type === _.select;
|
|
1163
1155
|
}
|
|
1164
|
-
function
|
|
1156
|
+
function Dt(e) {
|
|
1165
1157
|
return e.type === _.plural;
|
|
1166
1158
|
}
|
|
1167
|
-
function
|
|
1159
|
+
function un(e) {
|
|
1168
1160
|
return e.type === _.pound;
|
|
1169
1161
|
}
|
|
1170
|
-
function
|
|
1162
|
+
function Ut(e) {
|
|
1171
1163
|
return e.type === _.tag;
|
|
1172
1164
|
}
|
|
1173
|
-
function
|
|
1165
|
+
function Gt(e) {
|
|
1174
1166
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1175
1167
|
}
|
|
1176
1168
|
function Re(e) {
|
|
1177
1169
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1178
1170
|
}
|
|
1179
|
-
var
|
|
1180
|
-
function
|
|
1171
|
+
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hn = /(?:[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;
|
|
1172
|
+
function ln(e) {
|
|
1181
1173
|
var t = {};
|
|
1182
|
-
return e.replace(
|
|
1174
|
+
return e.replace(hn, function(r) {
|
|
1183
1175
|
var n = r.length;
|
|
1184
1176
|
switch (r[0]) {
|
|
1185
1177
|
case "G":
|
|
@@ -1268,11 +1260,11 @@ function cn(e) {
|
|
|
1268
1260
|
return "";
|
|
1269
1261
|
}), t;
|
|
1270
1262
|
}
|
|
1271
|
-
var
|
|
1272
|
-
function
|
|
1263
|
+
var cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1264
|
+
function fn(e) {
|
|
1273
1265
|
if (e.length === 0)
|
|
1274
1266
|
throw new Error("Number skeleton cannot be empty");
|
|
1275
|
-
for (var t = e.split(
|
|
1267
|
+
for (var t = e.split(cn).filter(function(f) {
|
|
1276
1268
|
return f.length > 0;
|
|
1277
1269
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1278
1270
|
var o = i[n], s = o.split("/");
|
|
@@ -1287,17 +1279,17 @@ function pn(e) {
|
|
|
1287
1279
|
}
|
|
1288
1280
|
return r;
|
|
1289
1281
|
}
|
|
1290
|
-
function
|
|
1282
|
+
function pn(e) {
|
|
1291
1283
|
return e.replace(/^(.*?)-/, "");
|
|
1292
1284
|
}
|
|
1293
|
-
var
|
|
1294
|
-
function
|
|
1285
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
|
|
1286
|
+
function ut(e) {
|
|
1295
1287
|
var t = {};
|
|
1296
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1288
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
|
|
1297
1289
|
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)), "";
|
|
1298
1290
|
}), t;
|
|
1299
1291
|
}
|
|
1300
|
-
function
|
|
1292
|
+
function Vt(e) {
|
|
1301
1293
|
switch (e) {
|
|
1302
1294
|
case "sign-auto":
|
|
1303
1295
|
return {
|
|
@@ -1337,7 +1329,7 @@ function Xt(e) {
|
|
|
1337
1329
|
};
|
|
1338
1330
|
}
|
|
1339
1331
|
}
|
|
1340
|
-
function
|
|
1332
|
+
function dn(e) {
|
|
1341
1333
|
var t;
|
|
1342
1334
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1343
1335
|
notation: "engineering"
|
|
@@ -1345,17 +1337,17 @@ function bn(e) {
|
|
|
1345
1337
|
notation: "scientific"
|
|
1346
1338
|
}, e = e.slice(1)), t) {
|
|
1347
1339
|
var r = e.slice(0, 2);
|
|
1348
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1340
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
|
|
1349
1341
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1350
1342
|
t.minimumIntegerDigits = e.length;
|
|
1351
1343
|
}
|
|
1352
1344
|
return t;
|
|
1353
1345
|
}
|
|
1354
|
-
function
|
|
1355
|
-
var t = {}, r =
|
|
1346
|
+
function ht(e) {
|
|
1347
|
+
var t = {}, r = Vt(e);
|
|
1356
1348
|
return r || t;
|
|
1357
1349
|
}
|
|
1358
|
-
function
|
|
1350
|
+
function bn(e) {
|
|
1359
1351
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1360
1352
|
var i = n[r];
|
|
1361
1353
|
switch (i.stem) {
|
|
@@ -1379,7 +1371,7 @@ function gn(e) {
|
|
|
1379
1371
|
continue;
|
|
1380
1372
|
case "measure-unit":
|
|
1381
1373
|
case "unit":
|
|
1382
|
-
t.style = "unit", t.unit =
|
|
1374
|
+
t.style = "unit", t.unit = pn(i.options[0]);
|
|
1383
1375
|
continue;
|
|
1384
1376
|
case "compact-short":
|
|
1385
1377
|
case "K":
|
|
@@ -1391,12 +1383,12 @@ function gn(e) {
|
|
|
1391
1383
|
continue;
|
|
1392
1384
|
case "scientific":
|
|
1393
1385
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1394
|
-
return v(v({}, h),
|
|
1386
|
+
return v(v({}, h), ht(u));
|
|
1395
1387
|
}, {}));
|
|
1396
1388
|
continue;
|
|
1397
1389
|
case "engineering":
|
|
1398
1390
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1399
|
-
return v(v({}, h),
|
|
1391
|
+
return v(v({}, h), ht(u));
|
|
1400
1392
|
}, {}));
|
|
1401
1393
|
continue;
|
|
1402
1394
|
case "notation-simple":
|
|
@@ -1441,7 +1433,7 @@ function gn(e) {
|
|
|
1441
1433
|
case "integer-width":
|
|
1442
1434
|
if (i.options.length > 1)
|
|
1443
1435
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1444
|
-
i.options[0].replace(
|
|
1436
|
+
i.options[0].replace(mn, function(h, u, l, c, f, p) {
|
|
1445
1437
|
if (u)
|
|
1446
1438
|
t.minimumIntegerDigits = l.length;
|
|
1447
1439
|
else {
|
|
@@ -1454,27 +1446,27 @@ function gn(e) {
|
|
|
1454
1446
|
});
|
|
1455
1447
|
continue;
|
|
1456
1448
|
}
|
|
1457
|
-
if (
|
|
1449
|
+
if (kt.test(i.stem)) {
|
|
1458
1450
|
t.minimumIntegerDigits = i.stem.length;
|
|
1459
1451
|
continue;
|
|
1460
1452
|
}
|
|
1461
|
-
if (
|
|
1453
|
+
if (at.test(i.stem)) {
|
|
1462
1454
|
if (i.options.length > 1)
|
|
1463
1455
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1464
|
-
i.stem.replace(
|
|
1456
|
+
i.stem.replace(at, function(h, u, l, c, f, p) {
|
|
1465
1457
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1466
1458
|
});
|
|
1467
1459
|
var o = i.options[0];
|
|
1468
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1460
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ut(o)));
|
|
1469
1461
|
continue;
|
|
1470
1462
|
}
|
|
1471
|
-
if (
|
|
1472
|
-
t = v(v({}, t),
|
|
1463
|
+
if (jt.test(i.stem)) {
|
|
1464
|
+
t = v(v({}, t), ut(i.stem));
|
|
1473
1465
|
continue;
|
|
1474
1466
|
}
|
|
1475
|
-
var s =
|
|
1467
|
+
var s = Vt(i.stem);
|
|
1476
1468
|
s && (t = v(v({}, t), s));
|
|
1477
|
-
var a =
|
|
1469
|
+
var a = dn(i.stem);
|
|
1478
1470
|
a && (t = v(v({}, t), a));
|
|
1479
1471
|
}
|
|
1480
1472
|
return t;
|
|
@@ -2894,13 +2886,13 @@ var he = {
|
|
|
2894
2886
|
"h"
|
|
2895
2887
|
]
|
|
2896
2888
|
};
|
|
2897
|
-
function
|
|
2889
|
+
function gn(e, t) {
|
|
2898
2890
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2899
2891
|
var i = e.charAt(n);
|
|
2900
2892
|
if (i === "j") {
|
|
2901
2893
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2902
2894
|
o++, n++;
|
|
2903
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2895
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = yn(t);
|
|
2904
2896
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2905
2897
|
r += h;
|
|
2906
2898
|
for (; s-- > 0; )
|
|
@@ -2909,7 +2901,7 @@ function yn(e, t) {
|
|
|
2909
2901
|
}
|
|
2910
2902
|
return r;
|
|
2911
2903
|
}
|
|
2912
|
-
function
|
|
2904
|
+
function yn(e) {
|
|
2913
2905
|
var t = e.hourCycle;
|
|
2914
2906
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2915
2907
|
e.hourCycles && // @ts-ignore
|
|
@@ -2931,20 +2923,20 @@ function vn(e) {
|
|
|
2931
2923
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
2932
2924
|
return i[0];
|
|
2933
2925
|
}
|
|
2934
|
-
var He,
|
|
2926
|
+
var He, vn = new RegExp("^".concat(Ft.source, "*")), En = new RegExp("".concat(Ft.source, "*$"));
|
|
2935
2927
|
function g(e, t) {
|
|
2936
2928
|
return { start: e, end: t };
|
|
2937
2929
|
}
|
|
2938
|
-
var
|
|
2930
|
+
var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, Bn = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, An = wn ? Number.isSafeInteger : function(e) {
|
|
2939
2931
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2940
2932
|
}, De = !0;
|
|
2941
2933
|
try {
|
|
2942
|
-
var
|
|
2943
|
-
De = ((He =
|
|
2934
|
+
var Pn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2935
|
+
De = ((He = Pn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
2944
2936
|
} catch {
|
|
2945
2937
|
De = !1;
|
|
2946
2938
|
}
|
|
2947
|
-
var
|
|
2939
|
+
var lt = _n ? (
|
|
2948
2940
|
// Native
|
|
2949
2941
|
function(t, r, n) {
|
|
2950
2942
|
return t.startsWith(r, n);
|
|
@@ -2954,7 +2946,7 @@ var ct = xn ? (
|
|
|
2954
2946
|
function(t, r, n) {
|
|
2955
2947
|
return t.slice(n, n + r.length) === r;
|
|
2956
2948
|
}
|
|
2957
|
-
), Ue =
|
|
2949
|
+
), Ue = xn ? String.fromCodePoint : (
|
|
2958
2950
|
// IE11
|
|
2959
2951
|
function() {
|
|
2960
2952
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2966,9 +2958,9 @@ var ct = xn ? (
|
|
|
2966
2958
|
}
|
|
2967
2959
|
return n;
|
|
2968
2960
|
}
|
|
2969
|
-
),
|
|
2961
|
+
), ct = (
|
|
2970
2962
|
// native
|
|
2971
|
-
|
|
2963
|
+
Bn ? Object.fromEntries : (
|
|
2972
2964
|
// Ponyfill
|
|
2973
2965
|
function(t) {
|
|
2974
2966
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2978,7 +2970,7 @@ var ct = xn ? (
|
|
|
2978
2970
|
return r;
|
|
2979
2971
|
}
|
|
2980
2972
|
)
|
|
2981
|
-
),
|
|
2973
|
+
), Xt = Sn ? (
|
|
2982
2974
|
// Native
|
|
2983
2975
|
function(t, r) {
|
|
2984
2976
|
return t.codePointAt(r);
|
|
@@ -2992,7 +2984,7 @@ var ct = xn ? (
|
|
|
2992
2984
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2993
2985
|
}
|
|
2994
2986
|
}
|
|
2995
|
-
),
|
|
2987
|
+
), On = Tn ? (
|
|
2996
2988
|
// Native
|
|
2997
2989
|
function(t) {
|
|
2998
2990
|
return t.trimStart();
|
|
@@ -3000,9 +2992,9 @@ var ct = xn ? (
|
|
|
3000
2992
|
) : (
|
|
3001
2993
|
// Ponyfill
|
|
3002
2994
|
function(t) {
|
|
3003
|
-
return t.replace(
|
|
2995
|
+
return t.replace(vn, "");
|
|
3004
2996
|
}
|
|
3005
|
-
),
|
|
2997
|
+
), In = Hn ? (
|
|
3006
2998
|
// Native
|
|
3007
2999
|
function(t) {
|
|
3008
3000
|
return t.trimEnd();
|
|
@@ -3010,32 +3002,32 @@ var ct = xn ? (
|
|
|
3010
3002
|
) : (
|
|
3011
3003
|
// Ponyfill
|
|
3012
3004
|
function(t) {
|
|
3013
|
-
return t.replace(
|
|
3005
|
+
return t.replace(En, "");
|
|
3014
3006
|
}
|
|
3015
3007
|
);
|
|
3016
|
-
function
|
|
3008
|
+
function Wt(e, t) {
|
|
3017
3009
|
return new RegExp(e, t);
|
|
3018
3010
|
}
|
|
3019
3011
|
var Ge;
|
|
3020
3012
|
if (De) {
|
|
3021
|
-
var
|
|
3013
|
+
var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3022
3014
|
Ge = function(t, r) {
|
|
3023
3015
|
var n;
|
|
3024
|
-
|
|
3025
|
-
var i =
|
|
3016
|
+
ft.lastIndex = r;
|
|
3017
|
+
var i = ft.exec(t);
|
|
3026
3018
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3027
3019
|
};
|
|
3028
3020
|
} else
|
|
3029
3021
|
Ge = function(t, r) {
|
|
3030
3022
|
for (var n = []; ; ) {
|
|
3031
|
-
var i =
|
|
3032
|
-
if (i === void 0 ||
|
|
3023
|
+
var i = Xt(t, r);
|
|
3024
|
+
if (i === void 0 || zt(i) || Ln(i))
|
|
3033
3025
|
break;
|
|
3034
3026
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3035
3027
|
}
|
|
3036
3028
|
return Ue.apply(void 0, n);
|
|
3037
3029
|
};
|
|
3038
|
-
var
|
|
3030
|
+
var Nn = (
|
|
3039
3031
|
/** @class */
|
|
3040
3032
|
function() {
|
|
3041
3033
|
function e(t, r) {
|
|
@@ -3117,7 +3109,7 @@ var Cn = (
|
|
|
3117
3109
|
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3118
3110
|
}, e.prototype.parseTagName = function() {
|
|
3119
3111
|
var t = this.offset();
|
|
3120
|
-
for (this.bump(); !this.isEOF() &&
|
|
3112
|
+
for (this.bump(); !this.isEOF() && Mn(this.char()); )
|
|
3121
3113
|
this.bump();
|
|
3122
3114
|
return this.message.slice(t, this.offset());
|
|
3123
3115
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3146,7 +3138,7 @@ var Cn = (
|
|
|
3146
3138
|
};
|
|
3147
3139
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3148
3140
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3149
|
-
!
|
|
3141
|
+
!Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3150
3142
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3151
3143
|
if (this.isEOF() || this.char() !== 39)
|
|
3152
3144
|
return null;
|
|
@@ -3233,7 +3225,7 @@ var Cn = (
|
|
|
3233
3225
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3234
3226
|
if (c.err)
|
|
3235
3227
|
return c;
|
|
3236
|
-
var f =
|
|
3228
|
+
var f = In(c.val);
|
|
3237
3229
|
if (f.length === 0)
|
|
3238
3230
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3239
3231
|
var p = g(l, this.clonePosition());
|
|
@@ -3243,8 +3235,8 @@ var Cn = (
|
|
|
3243
3235
|
if (y.err)
|
|
3244
3236
|
return y;
|
|
3245
3237
|
var m = g(i, this.clonePosition());
|
|
3246
|
-
if (u &&
|
|
3247
|
-
var x =
|
|
3238
|
+
if (u && lt(u?.style, "::", 0)) {
|
|
3239
|
+
var x = On(u.style.slice(2));
|
|
3248
3240
|
if (a === "number") {
|
|
3249
3241
|
var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3250
3242
|
return c.err ? c : {
|
|
@@ -3255,12 +3247,12 @@ var Cn = (
|
|
|
3255
3247
|
if (x.length === 0)
|
|
3256
3248
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3257
3249
|
var P = x;
|
|
3258
|
-
this.locale && (P =
|
|
3250
|
+
this.locale && (P = gn(x, this.locale));
|
|
3259
3251
|
var f = {
|
|
3260
3252
|
type: Z.dateTime,
|
|
3261
3253
|
pattern: P,
|
|
3262
3254
|
location: u.styleLocation,
|
|
3263
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3255
|
+
parsedOptions: this.shouldParseSkeletons ? ln(P) : {}
|
|
3264
3256
|
}, A = a === "date" ? _.date : _.time;
|
|
3265
3257
|
return {
|
|
3266
3258
|
val: { type: A, value: n, location: m, style: f },
|
|
@@ -3306,7 +3298,7 @@ var Cn = (
|
|
|
3306
3298
|
val: {
|
|
3307
3299
|
type: _.select,
|
|
3308
3300
|
value: n,
|
|
3309
|
-
options:
|
|
3301
|
+
options: ct(T.val),
|
|
3310
3302
|
location: H
|
|
3311
3303
|
},
|
|
3312
3304
|
err: null
|
|
@@ -3314,7 +3306,7 @@ var Cn = (
|
|
|
3314
3306
|
val: {
|
|
3315
3307
|
type: _.plural,
|
|
3316
3308
|
value: n,
|
|
3317
|
-
options:
|
|
3309
|
+
options: ct(T.val),
|
|
3318
3310
|
offset: d,
|
|
3319
3311
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3320
3312
|
location: H
|
|
@@ -3365,7 +3357,7 @@ var Cn = (
|
|
|
3365
3357
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3366
3358
|
var n = [];
|
|
3367
3359
|
try {
|
|
3368
|
-
n =
|
|
3360
|
+
n = fn(t);
|
|
3369
3361
|
} catch {
|
|
3370
3362
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3371
3363
|
}
|
|
@@ -3374,7 +3366,7 @@ var Cn = (
|
|
|
3374
3366
|
type: Z.number,
|
|
3375
3367
|
tokens: n,
|
|
3376
3368
|
location: r,
|
|
3377
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3369
|
+
parsedOptions: this.shouldParseSkeletons ? bn(n) : {}
|
|
3378
3370
|
},
|
|
3379
3371
|
err: null
|
|
3380
3372
|
};
|
|
@@ -3422,7 +3414,7 @@ var Cn = (
|
|
|
3422
3414
|
break;
|
|
3423
3415
|
}
|
|
3424
3416
|
var h = g(i, this.clonePosition());
|
|
3425
|
-
return o ? (s *= n,
|
|
3417
|
+
return o ? (s *= n, An(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3426
3418
|
}, e.prototype.offset = function() {
|
|
3427
3419
|
return this.position.offset;
|
|
3428
3420
|
}, e.prototype.isEOF = function() {
|
|
@@ -3437,7 +3429,7 @@ var Cn = (
|
|
|
3437
3429
|
var t = this.position.offset;
|
|
3438
3430
|
if (t >= this.message.length)
|
|
3439
3431
|
throw Error("out of bound");
|
|
3440
|
-
var r =
|
|
3432
|
+
var r = Xt(this.message, t);
|
|
3441
3433
|
if (r === void 0)
|
|
3442
3434
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3443
3435
|
return r;
|
|
@@ -3456,7 +3448,7 @@ var Cn = (
|
|
|
3456
3448
|
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);
|
|
3457
3449
|
}
|
|
3458
3450
|
}, e.prototype.bumpIf = function(t) {
|
|
3459
|
-
if (
|
|
3451
|
+
if (lt(this.message, t, this.offset())) {
|
|
3460
3452
|
for (var r = 0; r < t.length; r++)
|
|
3461
3453
|
this.bump();
|
|
3462
3454
|
return !0;
|
|
@@ -3478,7 +3470,7 @@ var Cn = (
|
|
|
3478
3470
|
break;
|
|
3479
3471
|
}
|
|
3480
3472
|
}, e.prototype.bumpSpace = function() {
|
|
3481
|
-
for (; !this.isEOF() &&
|
|
3473
|
+
for (; !this.isEOF() && zt(this.char()); )
|
|
3482
3474
|
this.bump();
|
|
3483
3475
|
}, e.prototype.peek = function() {
|
|
3484
3476
|
if (this.isEOF())
|
|
@@ -3491,29 +3483,29 @@ var Cn = (
|
|
|
3491
3483
|
function Fe(e) {
|
|
3492
3484
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3493
3485
|
}
|
|
3494
|
-
function
|
|
3486
|
+
function Cn(e) {
|
|
3495
3487
|
return Fe(e) || e === 47;
|
|
3496
3488
|
}
|
|
3497
|
-
function
|
|
3489
|
+
function Mn(e) {
|
|
3498
3490
|
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;
|
|
3499
3491
|
}
|
|
3500
|
-
function
|
|
3492
|
+
function zt(e) {
|
|
3501
3493
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3502
3494
|
}
|
|
3503
|
-
function
|
|
3495
|
+
function Ln(e) {
|
|
3504
3496
|
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;
|
|
3505
3497
|
}
|
|
3506
3498
|
function je(e) {
|
|
3507
3499
|
e.forEach(function(t) {
|
|
3508
|
-
if (delete t.location,
|
|
3500
|
+
if (delete t.location, Rt(t) || Dt(t))
|
|
3509
3501
|
for (var r in t.options)
|
|
3510
3502
|
delete t.options[r].location, je(t.options[r].value);
|
|
3511
|
-
else
|
|
3503
|
+
else Mt(t) && Gt(t.style) || (Lt(t) || $t(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
|
|
3512
3504
|
});
|
|
3513
3505
|
}
|
|
3514
|
-
function
|
|
3506
|
+
function $n(e, t) {
|
|
3515
3507
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3516
|
-
var r = new
|
|
3508
|
+
var r = new Nn(e, t).parse();
|
|
3517
3509
|
if (r.err) {
|
|
3518
3510
|
var n = SyntaxError(b[r.err.kind]);
|
|
3519
3511
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3536,7 +3528,7 @@ var ve = (
|
|
|
3536
3528
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3537
3529
|
}, t;
|
|
3538
3530
|
}(Error)
|
|
3539
|
-
),
|
|
3531
|
+
), pt = (
|
|
3540
3532
|
/** @class */
|
|
3541
3533
|
function(e) {
|
|
3542
3534
|
L(t, e);
|
|
@@ -3545,7 +3537,7 @@ var ve = (
|
|
|
3545
3537
|
}
|
|
3546
3538
|
return t;
|
|
3547
3539
|
}(ve)
|
|
3548
|
-
),
|
|
3540
|
+
), Rn = (
|
|
3549
3541
|
/** @class */
|
|
3550
3542
|
function(e) {
|
|
3551
3543
|
L(t, e);
|
|
@@ -3554,7 +3546,7 @@ var ve = (
|
|
|
3554
3546
|
}
|
|
3555
3547
|
return t;
|
|
3556
3548
|
}(ve)
|
|
3557
|
-
),
|
|
3549
|
+
), Dn = (
|
|
3558
3550
|
/** @class */
|
|
3559
3551
|
function(e) {
|
|
3560
3552
|
L(t, e);
|
|
@@ -3567,17 +3559,17 @@ var ve = (
|
|
|
3567
3559
|
(function(e) {
|
|
3568
3560
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3569
3561
|
})(w || (w = {}));
|
|
3570
|
-
function
|
|
3562
|
+
function Un(e) {
|
|
3571
3563
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3572
3564
|
var n = t[t.length - 1];
|
|
3573
3565
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3574
3566
|
}, []);
|
|
3575
3567
|
}
|
|
3576
|
-
function
|
|
3568
|
+
function Gn(e) {
|
|
3577
3569
|
return typeof e == "function";
|
|
3578
3570
|
}
|
|
3579
3571
|
function fe(e, t, r, n, i, o, s) {
|
|
3580
|
-
if (e.length === 1 &&
|
|
3572
|
+
if (e.length === 1 && st(e[0]))
|
|
3581
3573
|
return [
|
|
3582
3574
|
{
|
|
3583
3575
|
type: w.literal,
|
|
@@ -3586,14 +3578,14 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3586
3578
|
];
|
|
3587
3579
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3588
3580
|
var l = u[h];
|
|
3589
|
-
if (
|
|
3581
|
+
if (st(l)) {
|
|
3590
3582
|
a.push({
|
|
3591
3583
|
type: w.literal,
|
|
3592
3584
|
value: l.value
|
|
3593
3585
|
});
|
|
3594
3586
|
continue;
|
|
3595
3587
|
}
|
|
3596
|
-
if (
|
|
3588
|
+
if (un(l)) {
|
|
3597
3589
|
typeof o == "number" && a.push({
|
|
3598
3590
|
type: w.literal,
|
|
3599
3591
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3602,16 +3594,16 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3602
3594
|
}
|
|
3603
3595
|
var c = l.value;
|
|
3604
3596
|
if (!(i && c in i))
|
|
3605
|
-
throw new
|
|
3597
|
+
throw new Dn(c, s);
|
|
3606
3598
|
var f = i[c];
|
|
3607
|
-
if (
|
|
3599
|
+
if (an(l)) {
|
|
3608
3600
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3609
3601
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3610
3602
|
value: f
|
|
3611
3603
|
});
|
|
3612
3604
|
continue;
|
|
3613
3605
|
}
|
|
3614
|
-
if (
|
|
3606
|
+
if (Lt(l)) {
|
|
3615
3607
|
var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3616
3608
|
a.push({
|
|
3617
3609
|
type: w.literal,
|
|
@@ -3619,7 +3611,7 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3619
3611
|
});
|
|
3620
3612
|
continue;
|
|
3621
3613
|
}
|
|
3622
|
-
if (
|
|
3614
|
+
if ($t(l)) {
|
|
3623
3615
|
var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3624
3616
|
a.push({
|
|
3625
3617
|
type: w.literal,
|
|
@@ -3627,18 +3619,18 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3627
3619
|
});
|
|
3628
3620
|
continue;
|
|
3629
3621
|
}
|
|
3630
|
-
if (
|
|
3631
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3622
|
+
if (Mt(l)) {
|
|
3623
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
|
|
3632
3624
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3633
3625
|
type: w.literal,
|
|
3634
3626
|
value: r.getNumberFormat(t, p).format(f)
|
|
3635
3627
|
});
|
|
3636
3628
|
continue;
|
|
3637
3629
|
}
|
|
3638
|
-
if (
|
|
3630
|
+
if (Ut(l)) {
|
|
3639
3631
|
var y = l.children, m = l.value, x = i[m];
|
|
3640
|
-
if (!
|
|
3641
|
-
throw new
|
|
3632
|
+
if (!Gn(x))
|
|
3633
|
+
throw new Rn(m, "function", s);
|
|
3642
3634
|
var P = fe(y, t, r, n, i, o), A = x(P.map(function(d) {
|
|
3643
3635
|
return d.value;
|
|
3644
3636
|
}));
|
|
@@ -3649,14 +3641,14 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3649
3641
|
};
|
|
3650
3642
|
}));
|
|
3651
3643
|
}
|
|
3652
|
-
if (
|
|
3644
|
+
if (Rt(l)) {
|
|
3653
3645
|
var S = l.options[f] || l.options.other;
|
|
3654
3646
|
if (!S)
|
|
3655
|
-
throw new
|
|
3647
|
+
throw new pt(l.value, f, Object.keys(l.options), s);
|
|
3656
3648
|
a.push.apply(a, fe(S.value, t, r, n, i));
|
|
3657
3649
|
continue;
|
|
3658
3650
|
}
|
|
3659
|
-
if (
|
|
3651
|
+
if (Dt(l)) {
|
|
3660
3652
|
var S = l.options["=".concat(f)];
|
|
3661
3653
|
if (!S) {
|
|
3662
3654
|
if (!Intl.PluralRules)
|
|
@@ -3667,21 +3659,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3667
3659
|
S = l.options[N] || l.options.other;
|
|
3668
3660
|
}
|
|
3669
3661
|
if (!S)
|
|
3670
|
-
throw new
|
|
3662
|
+
throw new pt(l.value, f, Object.keys(l.options), s);
|
|
3671
3663
|
a.push.apply(a, fe(S.value, t, r, n, i, f - (l.offset || 0)));
|
|
3672
3664
|
continue;
|
|
3673
3665
|
}
|
|
3674
3666
|
}
|
|
3675
|
-
return
|
|
3667
|
+
return Un(a);
|
|
3676
3668
|
}
|
|
3677
|
-
function
|
|
3669
|
+
function Fn(e, t) {
|
|
3678
3670
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3679
3671
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3680
3672
|
}, {})) : e;
|
|
3681
3673
|
}
|
|
3682
|
-
function
|
|
3674
|
+
function jn(e, t) {
|
|
3683
3675
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3684
|
-
return r[n] =
|
|
3676
|
+
return r[n] = Fn(e[n], t[n]), r;
|
|
3685
3677
|
}, v({}, e)) : e;
|
|
3686
3678
|
}
|
|
3687
3679
|
function we(e) {
|
|
@@ -3698,7 +3690,7 @@ function we(e) {
|
|
|
3698
3690
|
}
|
|
3699
3691
|
};
|
|
3700
3692
|
}
|
|
3701
|
-
function
|
|
3693
|
+
function kn(e) {
|
|
3702
3694
|
return e === void 0 && (e = {
|
|
3703
3695
|
number: {},
|
|
3704
3696
|
dateTime: {},
|
|
@@ -3730,7 +3722,7 @@ function Vn(e) {
|
|
|
3730
3722
|
})
|
|
3731
3723
|
};
|
|
3732
3724
|
}
|
|
3733
|
-
var
|
|
3725
|
+
var Vn = (
|
|
3734
3726
|
/** @class */
|
|
3735
3727
|
function() {
|
|
3736
3728
|
function e(t, r, n, i) {
|
|
@@ -3762,13 +3754,13 @@ var Xn = (
|
|
|
3762
3754
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3763
3755
|
var s = i || {};
|
|
3764
3756
|
s.formatters;
|
|
3765
|
-
var a =
|
|
3757
|
+
var a = _r(s, ["formatters"]);
|
|
3766
3758
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3767
3759
|
} else
|
|
3768
3760
|
this.ast = t;
|
|
3769
3761
|
if (!Array.isArray(this.ast))
|
|
3770
3762
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3771
|
-
this.formats =
|
|
3763
|
+
this.formats = jn(e.formats, n), this.formatters = i && i.formatters || kn(this.formatterCache);
|
|
3772
3764
|
}
|
|
3773
3765
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3774
3766
|
get: function() {
|
|
@@ -3781,7 +3773,7 @@ var Xn = (
|
|
|
3781
3773
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3782
3774
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3783
3775
|
}
|
|
3784
|
-
}, e.__parse =
|
|
3776
|
+
}, e.__parse = $n, e.formats = {
|
|
3785
3777
|
number: {
|
|
3786
3778
|
integer: {
|
|
3787
3779
|
maximumFractionDigits: 0
|
|
@@ -3842,7 +3834,7 @@ var Xn = (
|
|
|
3842
3834
|
}, e;
|
|
3843
3835
|
}()
|
|
3844
3836
|
);
|
|
3845
|
-
function
|
|
3837
|
+
function Xn(e, t) {
|
|
3846
3838
|
if (t == null)
|
|
3847
3839
|
return;
|
|
3848
3840
|
if (t in e)
|
|
@@ -3863,60 +3855,60 @@ function Wn(e, t) {
|
|
|
3863
3855
|
n = void 0;
|
|
3864
3856
|
return n;
|
|
3865
3857
|
}
|
|
3866
|
-
const $ = {},
|
|
3858
|
+
const $ = {}, Wn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Zt = (e, t) => {
|
|
3867
3859
|
if (t == null)
|
|
3868
3860
|
return;
|
|
3869
3861
|
if (t in $ && e in $[t])
|
|
3870
3862
|
return $[t][e];
|
|
3871
3863
|
const r = Ee(t);
|
|
3872
3864
|
for (let n = 0; n < r.length; n++) {
|
|
3873
|
-
const i = r[n], o =
|
|
3865
|
+
const i = r[n], o = Zn(i, e);
|
|
3874
3866
|
if (o)
|
|
3875
|
-
return
|
|
3867
|
+
return Wn(e, t, o);
|
|
3876
3868
|
}
|
|
3877
3869
|
};
|
|
3878
|
-
let
|
|
3870
|
+
let Ze;
|
|
3879
3871
|
const ae = ye({});
|
|
3880
|
-
function
|
|
3881
|
-
return
|
|
3872
|
+
function zn(e) {
|
|
3873
|
+
return Ze[e] || null;
|
|
3882
3874
|
}
|
|
3883
|
-
function
|
|
3884
|
-
return e in
|
|
3875
|
+
function Yt(e) {
|
|
3876
|
+
return e in Ze;
|
|
3885
3877
|
}
|
|
3886
|
-
function
|
|
3887
|
-
if (!
|
|
3878
|
+
function Zn(e, t) {
|
|
3879
|
+
if (!Yt(e))
|
|
3888
3880
|
return null;
|
|
3889
|
-
const r =
|
|
3890
|
-
return
|
|
3881
|
+
const r = zn(e);
|
|
3882
|
+
return Xn(r, t);
|
|
3891
3883
|
}
|
|
3892
|
-
function
|
|
3884
|
+
function Yn(e) {
|
|
3893
3885
|
if (e == null)
|
|
3894
3886
|
return;
|
|
3895
3887
|
const t = Ee(e);
|
|
3896
3888
|
for (let r = 0; r < t.length; r++) {
|
|
3897
3889
|
const n = t[r];
|
|
3898
|
-
if (
|
|
3890
|
+
if (Yt(n))
|
|
3899
3891
|
return n;
|
|
3900
3892
|
}
|
|
3901
3893
|
}
|
|
3902
|
-
function
|
|
3903
|
-
delete $[e], ae.update((r) => (r[e] =
|
|
3894
|
+
function Qt(e, ...t) {
|
|
3895
|
+
delete $[e], ae.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
|
|
3904
3896
|
}
|
|
3905
3897
|
J(
|
|
3906
3898
|
[ae],
|
|
3907
3899
|
([e]) => Object.keys(e)
|
|
3908
3900
|
);
|
|
3909
|
-
ae.subscribe((e) =>
|
|
3901
|
+
ae.subscribe((e) => Ze = e);
|
|
3910
3902
|
const pe = {};
|
|
3911
|
-
function
|
|
3903
|
+
function Qn(e, t) {
|
|
3912
3904
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3913
3905
|
}
|
|
3914
|
-
function
|
|
3906
|
+
function Jt(e) {
|
|
3915
3907
|
return pe[e];
|
|
3916
3908
|
}
|
|
3917
|
-
function
|
|
3909
|
+
function Jn(e) {
|
|
3918
3910
|
return Ee(e).map((t) => {
|
|
3919
|
-
const r =
|
|
3911
|
+
const r = Jt(t);
|
|
3920
3912
|
return [t, r ? [...r] : []];
|
|
3921
3913
|
}).filter(([, t]) => t.length > 0);
|
|
3922
3914
|
}
|
|
@@ -3924,31 +3916,31 @@ function ke(e) {
|
|
|
3924
3916
|
return e == null ? !1 : Ee(e).some(
|
|
3925
3917
|
(t) => {
|
|
3926
3918
|
var r;
|
|
3927
|
-
return (r =
|
|
3919
|
+
return (r = Jt(t)) == null ? void 0 : r.size;
|
|
3928
3920
|
}
|
|
3929
3921
|
);
|
|
3930
3922
|
}
|
|
3931
|
-
function
|
|
3923
|
+
function qn(e, t) {
|
|
3932
3924
|
return Promise.all(
|
|
3933
|
-
t.map((n) => (
|
|
3934
|
-
).then((n) =>
|
|
3925
|
+
t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
|
|
3926
|
+
).then((n) => Qt(e, ...n));
|
|
3935
3927
|
}
|
|
3936
3928
|
const ee = {};
|
|
3937
|
-
function
|
|
3929
|
+
function qt(e) {
|
|
3938
3930
|
if (!ke(e))
|
|
3939
3931
|
return e in ee ? ee[e] : Promise.resolve();
|
|
3940
|
-
const t =
|
|
3932
|
+
const t = Jn(e);
|
|
3941
3933
|
return ee[e] = Promise.all(
|
|
3942
3934
|
t.map(
|
|
3943
|
-
([r, n]) =>
|
|
3935
|
+
([r, n]) => qn(r, n)
|
|
3944
3936
|
)
|
|
3945
3937
|
).then(() => {
|
|
3946
3938
|
if (ke(e))
|
|
3947
|
-
return
|
|
3939
|
+
return qt(e);
|
|
3948
3940
|
delete ee[e];
|
|
3949
3941
|
}), ee[e];
|
|
3950
3942
|
}
|
|
3951
|
-
const
|
|
3943
|
+
const Kn = {
|
|
3952
3944
|
number: {
|
|
3953
3945
|
scientific: { notation: "scientific" },
|
|
3954
3946
|
engineering: { notation: "engineering" },
|
|
@@ -3977,34 +3969,34 @@ const ei = {
|
|
|
3977
3969
|
timeZoneName: "short"
|
|
3978
3970
|
}
|
|
3979
3971
|
}
|
|
3980
|
-
},
|
|
3972
|
+
}, ei = {
|
|
3981
3973
|
fallbackLocale: null,
|
|
3982
3974
|
loadingDelay: 200,
|
|
3983
|
-
formats:
|
|
3975
|
+
formats: Kn,
|
|
3984
3976
|
warnOnMissingMessages: !0,
|
|
3985
3977
|
handleMissingMessage: void 0,
|
|
3986
3978
|
ignoreTag: !0
|
|
3987
|
-
},
|
|
3979
|
+
}, ti = ei;
|
|
3988
3980
|
function Q() {
|
|
3989
|
-
return
|
|
3981
|
+
return ti;
|
|
3990
3982
|
}
|
|
3991
3983
|
const Ae = ye(!1);
|
|
3992
|
-
var
|
|
3993
|
-
for (var r in t)
|
|
3994
|
-
|
|
3995
|
-
if (
|
|
3996
|
-
for (var r of
|
|
3997
|
-
|
|
3984
|
+
var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
|
|
3985
|
+
for (var r in t || (t = {}))
|
|
3986
|
+
oi.call(t, r) && dt(e, r, t[r]);
|
|
3987
|
+
if (mt)
|
|
3988
|
+
for (var r of mt(t))
|
|
3989
|
+
si.call(t, r) && dt(e, r, t[r]);
|
|
3998
3990
|
return e;
|
|
3999
|
-
},
|
|
3991
|
+
}, ui = (e, t) => ni(e, ii(t));
|
|
4000
3992
|
let Ve;
|
|
4001
3993
|
const me = ye(null);
|
|
4002
|
-
function
|
|
3994
|
+
function bt(e) {
|
|
4003
3995
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4004
3996
|
}
|
|
4005
3997
|
function Ee(e, t = Q().fallbackLocale) {
|
|
4006
|
-
const r =
|
|
4007
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3998
|
+
const r = bt(e);
|
|
3999
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
4008
4000
|
}
|
|
4009
4001
|
function G() {
|
|
4010
4002
|
return Ve ?? void 0;
|
|
@@ -4012,22 +4004,22 @@ function G() {
|
|
|
4012
4004
|
me.subscribe((e) => {
|
|
4013
4005
|
Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4014
4006
|
});
|
|
4015
|
-
const
|
|
4016
|
-
if (e &&
|
|
4007
|
+
const hi = (e) => {
|
|
4008
|
+
if (e && Yn(e) && ke(e)) {
|
|
4017
4009
|
const { loadingDelay: t } = Q();
|
|
4018
4010
|
let r;
|
|
4019
4011
|
return typeof window < "u" && G() != null && t ? r = window.setTimeout(
|
|
4020
4012
|
() => Ae.set(!0),
|
|
4021
4013
|
t
|
|
4022
|
-
) : Ae.set(!0),
|
|
4014
|
+
) : Ae.set(!0), qt(e).then(() => {
|
|
4023
4015
|
me.set(e);
|
|
4024
4016
|
}).finally(() => {
|
|
4025
4017
|
clearTimeout(r), Ae.set(!1);
|
|
4026
4018
|
});
|
|
4027
4019
|
}
|
|
4028
4020
|
return me.set(e);
|
|
4029
|
-
}, q =
|
|
4030
|
-
set:
|
|
4021
|
+
}, q = ui(ai({}, me), {
|
|
4022
|
+
set: hi
|
|
4031
4023
|
}), _e = (e) => {
|
|
4032
4024
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4033
4025
|
return (n) => {
|
|
@@ -4035,20 +4027,20 @@ const li = (e) => {
|
|
|
4035
4027
|
return i in t ? t[i] : t[i] = e(n);
|
|
4036
4028
|
};
|
|
4037
4029
|
};
|
|
4038
|
-
var
|
|
4030
|
+
var li = Object.defineProperty, de = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
4039
4031
|
for (var r in t || (t = {}))
|
|
4040
|
-
|
|
4032
|
+
Kt.call(t, r) && gt(e, r, t[r]);
|
|
4041
4033
|
if (de)
|
|
4042
4034
|
for (var r of de(t))
|
|
4043
|
-
|
|
4035
|
+
er.call(t, r) && gt(e, r, t[r]);
|
|
4044
4036
|
return e;
|
|
4045
4037
|
}, K = (e, t) => {
|
|
4046
4038
|
var r = {};
|
|
4047
4039
|
for (var n in e)
|
|
4048
|
-
|
|
4040
|
+
Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4049
4041
|
if (e != null && de)
|
|
4050
4042
|
for (var n of de(e))
|
|
4051
|
-
t.indexOf(n) < 0 &&
|
|
4043
|
+
t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
|
|
4052
4044
|
return r;
|
|
4053
4045
|
};
|
|
4054
4046
|
const oe = (e, t) => {
|
|
@@ -4056,21 +4048,21 @@ const oe = (e, t) => {
|
|
|
4056
4048
|
if (e in r && t in r[e])
|
|
4057
4049
|
return r[e][t];
|
|
4058
4050
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4059
|
-
},
|
|
4051
|
+
}, ci = _e(
|
|
4060
4052
|
(e) => {
|
|
4061
4053
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4062
4054
|
if (r == null)
|
|
4063
4055
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4064
4056
|
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
4065
4057
|
}
|
|
4066
|
-
),
|
|
4058
|
+
), fi = _e(
|
|
4067
4059
|
(e) => {
|
|
4068
4060
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4069
4061
|
if (r == null)
|
|
4070
4062
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4071
4063
|
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4072
4064
|
}
|
|
4073
|
-
),
|
|
4065
|
+
), pi = _e(
|
|
4074
4066
|
(e) => {
|
|
4075
4067
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4076
4068
|
if (r == null)
|
|
@@ -4079,33 +4071,33 @@ const oe = (e, t) => {
|
|
|
4079
4071
|
);
|
|
4080
4072
|
return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4081
4073
|
}
|
|
4082
|
-
),
|
|
4074
|
+
), mi = (e = {}) => {
|
|
4083
4075
|
var t = e, {
|
|
4084
4076
|
locale: r = G()
|
|
4085
4077
|
} = t, n = K(t, [
|
|
4086
4078
|
"locale"
|
|
4087
4079
|
]);
|
|
4088
|
-
return
|
|
4089
|
-
},
|
|
4080
|
+
return ci(Ye({ locale: r }, n));
|
|
4081
|
+
}, di = (e = {}) => {
|
|
4090
4082
|
var t = e, {
|
|
4091
4083
|
locale: r = G()
|
|
4092
4084
|
} = t, n = K(t, [
|
|
4093
4085
|
"locale"
|
|
4094
4086
|
]);
|
|
4095
|
-
return
|
|
4096
|
-
},
|
|
4087
|
+
return fi(Ye({ locale: r }, n));
|
|
4088
|
+
}, bi = (e = {}) => {
|
|
4097
4089
|
var t = e, {
|
|
4098
4090
|
locale: r = G()
|
|
4099
4091
|
} = t, n = K(t, [
|
|
4100
4092
|
"locale"
|
|
4101
4093
|
]);
|
|
4102
|
-
return
|
|
4103
|
-
},
|
|
4094
|
+
return pi(Ye({ locale: r }, n));
|
|
4095
|
+
}, gi = _e(
|
|
4104
4096
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4105
|
-
(e, t = G()) => new
|
|
4097
|
+
(e, t = G()) => new Vn(e, t, Q().formats, {
|
|
4106
4098
|
ignoreTag: Q().ignoreTag
|
|
4107
4099
|
})
|
|
4108
|
-
),
|
|
4100
|
+
), yi = (e, t = {}) => {
|
|
4109
4101
|
var r, n, i, o;
|
|
4110
4102
|
let s = t;
|
|
4111
4103
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4118,7 +4110,7 @@ const oe = (e, t) => {
|
|
|
4118
4110
|
throw new Error(
|
|
4119
4111
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4120
4112
|
);
|
|
4121
|
-
let l =
|
|
4113
|
+
let l = Zt(e, h);
|
|
4122
4114
|
if (!l)
|
|
4123
4115
|
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;
|
|
4124
4116
|
else if (typeof l != "string")
|
|
@@ -4129,7 +4121,7 @@ const oe = (e, t) => {
|
|
|
4129
4121
|
return l;
|
|
4130
4122
|
let c = l;
|
|
4131
4123
|
try {
|
|
4132
|
-
c =
|
|
4124
|
+
c = gi(l, h).format(a);
|
|
4133
4125
|
} catch (f) {
|
|
4134
4126
|
f instanceof Error && console.warn(
|
|
4135
4127
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4137,20 +4129,20 @@ const oe = (e, t) => {
|
|
|
4137
4129
|
);
|
|
4138
4130
|
}
|
|
4139
4131
|
return c;
|
|
4140
|
-
},
|
|
4132
|
+
}, vi = (e, t) => bi(t).format(e), Ei = (e, t) => di(t).format(e), _i = (e, t) => mi(t).format(e), xi = (e, t = G()) => Zt(e, t), Bi = J([q, ae], () => yi);
|
|
4133
|
+
J([q], () => vi);
|
|
4141
4134
|
J([q], () => Ei);
|
|
4142
4135
|
J([q], () => _i);
|
|
4143
|
-
J([q], () => xi);
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
Jt(e, t);
|
|
4136
|
+
J([q, ae], () => xi);
|
|
4137
|
+
window.emWidgets = { topic: Lr };
|
|
4138
|
+
const Si = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4139
|
+
function yt(e, t) {
|
|
4140
|
+
Qt(e, t);
|
|
4149
4141
|
}
|
|
4150
|
-
function
|
|
4142
|
+
function Ti(e) {
|
|
4151
4143
|
q.set(e);
|
|
4152
4144
|
}
|
|
4153
|
-
const
|
|
4145
|
+
const vt = {
|
|
4154
4146
|
en: {
|
|
4155
4147
|
titleBiometrics: "Biometrics Authentication",
|
|
4156
4148
|
descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
|
|
@@ -4229,10 +4221,10 @@ const Et = {
|
|
|
4229
4221
|
btnDisableBiometrics: "Disable biometrics"
|
|
4230
4222
|
}
|
|
4231
4223
|
};
|
|
4232
|
-
function
|
|
4233
|
-
|
|
4224
|
+
function Hi(e) {
|
|
4225
|
+
nr(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}");
|
|
4234
4226
|
}
|
|
4235
|
-
function
|
|
4227
|
+
function wi(e) {
|
|
4236
4228
|
let t, r, n, i, o, s, a, h, u, l, c = (
|
|
4237
4229
|
/*$_*/
|
|
4238
4230
|
e[2]("titleBiometrics") + ""
|
|
@@ -4242,7 +4234,7 @@ function Ai(e) {
|
|
|
4242
4234
|
t = I("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 = I("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");
|
|
4243
4235
|
},
|
|
4244
4236
|
m(m, x) {
|
|
4245
|
-
We(m, 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), p || (y =
|
|
4237
|
+
We(m, 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), p || (y = Bt(
|
|
4246
4238
|
t,
|
|
4247
4239
|
"click",
|
|
4248
4240
|
/*click_handler*/
|
|
@@ -4259,7 +4251,7 @@ function Ai(e) {
|
|
|
4259
4251
|
}
|
|
4260
4252
|
};
|
|
4261
4253
|
}
|
|
4262
|
-
function
|
|
4254
|
+
function Ai(e) {
|
|
4263
4255
|
let t, r, n, i, o = (
|
|
4264
4256
|
/*$_*/
|
|
4265
4257
|
e[2]("titleBiometrics") + ""
|
|
@@ -4280,7 +4272,7 @@ function Pi(e) {
|
|
|
4280
4272
|
)) + ""
|
|
4281
4273
|
), N, d, T, H = (
|
|
4282
4274
|
/*isMobile*/
|
|
4283
|
-
e[3] &&
|
|
4275
|
+
e[3] && wi(e)
|
|
4284
4276
|
);
|
|
4285
4277
|
return {
|
|
4286
4278
|
c() {
|
|
@@ -4291,7 +4283,7 @@ function Pi(e) {
|
|
|
4291
4283
|
(e[3] ? "BiometricsWrapperMobile" : ""));
|
|
4292
4284
|
},
|
|
4293
4285
|
m(O, R) {
|
|
4294
|
-
We(O, t, R), E(t, r), H && H.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, p), E(p, m), E(r, x), E(r, P), E(P, A), E(A, N), e[12](t), d || (T =
|
|
4286
|
+
We(O, t, R), E(t, r), H && H.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, p), E(p, m), E(r, x), E(r, P), E(P, A), E(A, N), e[12](t), d || (T = Bt(
|
|
4295
4287
|
A,
|
|
4296
4288
|
"click",
|
|
4297
4289
|
/*click_handler_1*/
|
|
@@ -4323,21 +4315,21 @@ function Pi(e) {
|
|
|
4323
4315
|
}
|
|
4324
4316
|
};
|
|
4325
4317
|
}
|
|
4326
|
-
function
|
|
4318
|
+
function Pi(e, t, r) {
|
|
4327
4319
|
let n;
|
|
4328
|
-
|
|
4329
|
-
let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: h = "" } = t, u, l = window.navigator.userAgent, c =
|
|
4320
|
+
rr(e, Bi, (d) => r(2, n = d));
|
|
4321
|
+
let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: h = "" } = t, u, l = window.navigator.userAgent, c = Si(l) !== "PC";
|
|
4330
4322
|
const f = () => {
|
|
4331
4323
|
fetch(h).then((T) => T.json()).then((T) => {
|
|
4332
4324
|
Object.keys(T).forEach((H) => {
|
|
4333
|
-
|
|
4325
|
+
yt(H, T[H]);
|
|
4334
4326
|
});
|
|
4335
4327
|
}).catch((T) => {
|
|
4336
4328
|
console.log(T);
|
|
4337
4329
|
});
|
|
4338
4330
|
};
|
|
4339
|
-
Object.keys(
|
|
4340
|
-
|
|
4331
|
+
Object.keys(vt).forEach((d) => {
|
|
4332
|
+
yt(d, vt[d]);
|
|
4341
4333
|
});
|
|
4342
4334
|
const p = () => {
|
|
4343
4335
|
let d = document.createElement("style");
|
|
@@ -4353,7 +4345,7 @@ function Oi(e, t, r) {
|
|
|
4353
4345
|
);
|
|
4354
4346
|
});
|
|
4355
4347
|
}, m = () => {
|
|
4356
|
-
|
|
4348
|
+
Ti(o);
|
|
4357
4349
|
}, x = () => {
|
|
4358
4350
|
window.postMessage(
|
|
4359
4351
|
{
|
|
@@ -4397,14 +4389,14 @@ function Oi(e, t, r) {
|
|
|
4397
4389
|
N
|
|
4398
4390
|
];
|
|
4399
4391
|
}
|
|
4400
|
-
class
|
|
4392
|
+
class Oi extends vr {
|
|
4401
4393
|
constructor(t) {
|
|
4402
|
-
super(),
|
|
4394
|
+
super(), gr(
|
|
4403
4395
|
this,
|
|
4404
4396
|
t,
|
|
4405
|
-
Oi,
|
|
4406
4397
|
Pi,
|
|
4407
|
-
|
|
4398
|
+
Ai,
|
|
4399
|
+
_t,
|
|
4408
4400
|
{
|
|
4409
4401
|
biometricsenabled: 0,
|
|
4410
4402
|
lang: 6,
|
|
@@ -4412,7 +4404,7 @@ class Ii extends Er {
|
|
|
4412
4404
|
clientstylingurl: 8,
|
|
4413
4405
|
translationurl: 9
|
|
4414
4406
|
},
|
|
4415
|
-
|
|
4407
|
+
Hi
|
|
4416
4408
|
);
|
|
4417
4409
|
}
|
|
4418
4410
|
get biometricsenabled() {
|
|
@@ -4446,7 +4438,7 @@ class Ii extends Er {
|
|
|
4446
4438
|
this.$$set({ translationurl: t }), D();
|
|
4447
4439
|
}
|
|
4448
4440
|
}
|
|
4449
|
-
|
|
4441
|
+
yr(Oi, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4450
4442
|
export {
|
|
4451
|
-
|
|
4443
|
+
Oi as P
|
|
4452
4444
|
};
|