@everymatrix/player-account-biometrics 1.74.2 → 1.74.3
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-CPMNUVfn.js → PlayerAccountBiometrics-CxyBMUhf.js} +526 -540
- package/components/PlayerAccountBiometrics-HKD9YRLp.cjs +18 -0
- package/components/{PlayerAccountBiometrics-C7p1nlvj.js → PlayerAccountBiometrics-LArXSdLp.js} +538 -552
- 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-Bx-SkEZO.cjs +0 -18
package/components/{PlayerAccountBiometrics-C7p1nlvj.js → PlayerAccountBiometrics-LArXSdLp.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Se = (e, t, r) => t in e ?
|
|
1
|
+
var ur = Object.defineProperty, hr = Object.defineProperties;
|
|
2
|
+
var lr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ke = Object.getOwnPropertySymbols;
|
|
4
|
+
var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Se = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
cr.call(t, r) && Se(e, r, t[r]);
|
|
8
|
+
if (Ke)
|
|
9
|
+
for (var r of Ke(t))
|
|
10
|
+
fr.call(t, r) && Se(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, tt = (e, t) => hr(e, lr(t));
|
|
13
13
|
var O = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var rt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -29,25 +29,25 @@ var it = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ht(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function nt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ue(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Ht);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Ze(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function At(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function mr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Pt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function It(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function pr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Pt(t, r));
|
|
61
61
|
}
|
|
62
62
|
function E(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function dr(e, t, r) {
|
|
66
|
+
const n = br(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = I("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, gr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function br(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,14 +79,14 @@ function vr(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function gr(e, t) {
|
|
83
83
|
return E(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Ye(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
92
|
function ye(e) {
|
|
@@ -104,20 +104,20 @@ function G(e) {
|
|
|
104
104
|
function re() {
|
|
105
105
|
return G(" ");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Ot(e, t, r, n) {
|
|
108
108
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
109
109
|
}
|
|
110
110
|
function B(e, t, r) {
|
|
111
111
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function yr(e) {
|
|
114
114
|
return Array.from(e.childNodes);
|
|
115
115
|
}
|
|
116
116
|
function ne(e, t) {
|
|
117
117
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
118
118
|
t);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function vr(e) {
|
|
121
121
|
const t = {};
|
|
122
122
|
return e.childNodes.forEach(
|
|
123
123
|
/** @param {Element} node */
|
|
@@ -130,22 +130,22 @@ let oe;
|
|
|
130
130
|
function ie(e) {
|
|
131
131
|
oe = e;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Er() {
|
|
134
134
|
if (!oe)
|
|
135
135
|
throw new Error("Function called outside component initialization");
|
|
136
136
|
return oe;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
138
|
+
function _r(e) {
|
|
139
|
+
Er().$$.on_mount.push(e);
|
|
140
140
|
}
|
|
141
|
-
const X = [],
|
|
141
|
+
const X = [], Ne = [];
|
|
142
142
|
let W = [];
|
|
143
|
-
const
|
|
144
|
-
let
|
|
145
|
-
function
|
|
146
|
-
|
|
143
|
+
const it = [], xr = /* @__PURE__ */ Promise.resolve();
|
|
144
|
+
let Me = !1;
|
|
145
|
+
function Br() {
|
|
146
|
+
Me || (Me = !0, xr.then(R));
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Le(e) {
|
|
149
149
|
W.push(e);
|
|
150
150
|
}
|
|
151
151
|
const Te = /* @__PURE__ */ new Set();
|
|
@@ -158,53 +158,53 @@ function R() {
|
|
|
158
158
|
try {
|
|
159
159
|
for (; k < X.length; ) {
|
|
160
160
|
const t = X[k];
|
|
161
|
-
k++, ie(t),
|
|
161
|
+
k++, ie(t), Sr(t.$$);
|
|
162
162
|
}
|
|
163
163
|
} catch (t) {
|
|
164
164
|
throw X.length = 0, k = 0, t;
|
|
165
165
|
}
|
|
166
|
-
for (ie(null), X.length = 0, k = 0;
|
|
167
|
-
|
|
166
|
+
for (ie(null), X.length = 0, k = 0; Ne.length; )
|
|
167
|
+
Ne.pop()();
|
|
168
168
|
for (let t = 0; t < W.length; t += 1) {
|
|
169
169
|
const r = W[t];
|
|
170
170
|
Te.has(r) || (Te.add(r), r());
|
|
171
171
|
}
|
|
172
172
|
W.length = 0;
|
|
173
173
|
} while (X.length);
|
|
174
|
-
for (;
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
for (; it.length; )
|
|
175
|
+
it.pop()();
|
|
176
|
+
Me = !1, Te.clear(), ie(e);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Sr(e) {
|
|
179
179
|
if (e.fragment !== null) {
|
|
180
180
|
e.update(), ue(e.before_update);
|
|
181
181
|
const t = e.dirty;
|
|
182
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
182
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Tr(e) {
|
|
186
186
|
const t = [], r = [];
|
|
187
187
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
191
|
-
e && e.i && (
|
|
189
|
+
const wr = /* @__PURE__ */ new Set();
|
|
190
|
+
function Hr(e, t) {
|
|
191
|
+
e && e.i && (wr.delete(e), e.i(t));
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Ar(e, t, r) {
|
|
194
194
|
const { fragment: n, after_update: i } = e.$$;
|
|
195
|
-
n && n.m(t, r),
|
|
196
|
-
const o = e.$$.on_mount.map(
|
|
195
|
+
n && n.m(t, r), Le(() => {
|
|
196
|
+
const o = e.$$.on_mount.map(Ht).filter(Ze);
|
|
197
197
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
|
|
198
|
-
}), i.forEach(
|
|
198
|
+
}), i.forEach(Le);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Pr(e, t) {
|
|
201
201
|
const r = e.$$;
|
|
202
|
-
r.fragment !== null && (
|
|
202
|
+
r.fragment !== null && (Tr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
204
|
+
function Or(e, t) {
|
|
205
|
+
e.$$.dirty[0] === -1 && (X.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
208
208
|
const h = oe;
|
|
209
209
|
ie(e);
|
|
210
210
|
const u = e.$$ = {
|
|
@@ -214,7 +214,7 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
214
214
|
props: o,
|
|
215
215
|
update: N,
|
|
216
216
|
not_equal: i,
|
|
217
|
-
bound:
|
|
217
|
+
bound: nt(),
|
|
218
218
|
// lifecycle
|
|
219
219
|
on_mount: [],
|
|
220
220
|
on_destroy: [],
|
|
@@ -223,28 +223,28 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
223
223
|
after_update: [],
|
|
224
224
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
225
225
|
// everything else
|
|
226
|
-
callbacks:
|
|
226
|
+
callbacks: nt(),
|
|
227
227
|
dirty: a,
|
|
228
228
|
skip_bound: !1,
|
|
229
229
|
root: t.target || h.$$.root
|
|
230
230
|
};
|
|
231
231
|
s && s(u.root);
|
|
232
232
|
let l = !1;
|
|
233
|
-
if (u.ctx = r
|
|
233
|
+
if (u.ctx = r(e, t.props || {}, (c, f, ...m) => {
|
|
234
234
|
const g = m.length ? m[0] : f;
|
|
235
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l &&
|
|
236
|
-
})
|
|
235
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && Or(e, c)), f;
|
|
236
|
+
}), u.update(), l = !0, ue(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
237
237
|
if (t.hydrate) {
|
|
238
|
-
const c =
|
|
238
|
+
const c = yr(t.target);
|
|
239
239
|
u.fragment && u.fragment.l(c), c.forEach(ye);
|
|
240
240
|
} else
|
|
241
241
|
u.fragment && u.fragment.c();
|
|
242
|
-
t.intro &&
|
|
242
|
+
t.intro && Hr(e.$$.fragment), Ar(e, t.target, t.anchor), R();
|
|
243
243
|
}
|
|
244
244
|
ie(h);
|
|
245
245
|
}
|
|
246
|
-
let
|
|
247
|
-
typeof HTMLElement == "function" && (
|
|
246
|
+
let It;
|
|
247
|
+
typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
248
248
|
constructor(t, r, n) {
|
|
249
249
|
super();
|
|
250
250
|
/** The Svelte component constructor */
|
|
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
connectedCallback() {
|
|
284
|
-
return
|
|
284
|
+
return rt(this, null, function* () {
|
|
285
285
|
if (this.$$cn = !0, !this.$$c) {
|
|
286
286
|
let t = function(o) {
|
|
287
287
|
return () => {
|
|
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
295
295
|
* @param {HTMLElement} [anchor]
|
|
296
296
|
*/
|
|
297
297
|
m: function(u, l) {
|
|
298
|
-
|
|
298
|
+
Ye(u, s, l);
|
|
299
299
|
},
|
|
300
300
|
d: function(u) {
|
|
301
301
|
u && ye(s);
|
|
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
305
305
|
};
|
|
306
306
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
307
|
return;
|
|
308
|
-
const r = {}, n =
|
|
308
|
+
const r = {}, n = vr(this);
|
|
309
309
|
for (const o of this.$$s)
|
|
310
310
|
o in n && (r[o] = [t(o)]);
|
|
311
311
|
for (const o of this.attributes) {
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
316
316
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
317
317
|
this.$$c = new this.$$ctor({
|
|
318
318
|
target: this.shadowRoot || this,
|
|
319
|
-
props:
|
|
319
|
+
props: tt(et({}, this.$$d), {
|
|
320
320
|
$$slots: r,
|
|
321
321
|
$$scope: {
|
|
322
322
|
ctx: []
|
|
@@ -394,8 +394,8 @@ function fe(e, t, r, n) {
|
|
|
394
394
|
return t;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
let s = class extends
|
|
397
|
+
function Nr(e, t, r, n, i, o) {
|
|
398
|
+
let s = class extends It {
|
|
399
399
|
constructor() {
|
|
400
400
|
super(e, r, i), this.$$p_d = t;
|
|
401
401
|
}
|
|
@@ -425,7 +425,7 @@ function Cr(e, t, r, n, i, o) {
|
|
|
425
425
|
}), e.element = /** @type {any} */
|
|
426
426
|
s, s;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class Mr {
|
|
429
429
|
constructor() {
|
|
430
430
|
/**
|
|
431
431
|
* ### PRIVATE API
|
|
@@ -446,7 +446,7 @@ class $r {
|
|
|
446
446
|
}
|
|
447
447
|
/** @returns {void} */
|
|
448
448
|
$destroy() {
|
|
449
|
-
|
|
449
|
+
Pr(this, 1), this.$destroy = N;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -455,7 +455,7 @@ class $r {
|
|
|
455
455
|
* @returns {() => void}
|
|
456
456
|
*/
|
|
457
457
|
$on(t, r) {
|
|
458
|
-
if (!
|
|
458
|
+
if (!Ze(r))
|
|
459
459
|
return N;
|
|
460
460
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
461
461
|
return n.push(r), () => {
|
|
@@ -468,11 +468,11 @@ class $r {
|
|
|
468
468
|
* @returns {void}
|
|
469
469
|
*/
|
|
470
470
|
$set(t) {
|
|
471
|
-
this.$$set && !
|
|
471
|
+
this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
const
|
|
475
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
474
|
+
const Lr = "4";
|
|
475
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
|
|
476
476
|
/*! *****************************************************************************
|
|
477
477
|
Copyright (c) Microsoft Corporation.
|
|
478
478
|
|
|
@@ -487,18 +487,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
487
487
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
488
488
|
PERFORMANCE OF THIS SOFTWARE.
|
|
489
489
|
***************************************************************************** */
|
|
490
|
-
var
|
|
491
|
-
return
|
|
490
|
+
var Ce = function(e, t) {
|
|
491
|
+
return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
492
492
|
r.__proto__ = n;
|
|
493
493
|
} || function(r, n) {
|
|
494
494
|
for (var i in n)
|
|
495
495
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
496
|
-
},
|
|
496
|
+
}, Ce(e, t);
|
|
497
497
|
};
|
|
498
498
|
function $(e, t) {
|
|
499
499
|
if (typeof t != "function" && t !== null)
|
|
500
500
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
501
|
-
|
|
501
|
+
Ce(e, t);
|
|
502
502
|
function r() {
|
|
503
503
|
this.constructor = e;
|
|
504
504
|
}
|
|
@@ -514,7 +514,7 @@ var y = function() {
|
|
|
514
514
|
return t;
|
|
515
515
|
}, y.apply(this, arguments);
|
|
516
516
|
};
|
|
517
|
-
function
|
|
517
|
+
function Cr(e, t) {
|
|
518
518
|
var r = {};
|
|
519
519
|
for (var n in e)
|
|
520
520
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -523,7 +523,7 @@ function Dr(e, t) {
|
|
|
523
523
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
524
524
|
return r;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function $e(e) {
|
|
527
527
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
528
528
|
if (r)
|
|
529
529
|
return r.call(e);
|
|
@@ -535,7 +535,7 @@ function Re(e) {
|
|
|
535
535
|
};
|
|
536
536
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Re(e, t) {
|
|
539
539
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
540
540
|
if (!r)
|
|
541
541
|
return e;
|
|
@@ -564,13 +564,13 @@ function z(e, t, r) {
|
|
|
564
564
|
function C(e) {
|
|
565
565
|
return typeof e == "function";
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Nt(e) {
|
|
568
568
|
var t = function(n) {
|
|
569
569
|
Error.call(n), n.stack = new Error().stack;
|
|
570
570
|
}, r = e(t);
|
|
571
571
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
572
572
|
}
|
|
573
|
-
var we =
|
|
573
|
+
var we = Nt(function(e) {
|
|
574
574
|
return function(r) {
|
|
575
575
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
576
576
|
` + r.map(function(n, i) {
|
|
@@ -579,7 +579,7 @@ var we = Lt(function(e) {
|
|
|
579
579
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
580
580
|
};
|
|
581
581
|
});
|
|
582
|
-
function
|
|
582
|
+
function De(e, t) {
|
|
583
583
|
if (e) {
|
|
584
584
|
var r = e.indexOf(t);
|
|
585
585
|
0 <= r && e.splice(r, 1);
|
|
@@ -597,7 +597,7 @@ var ve = function() {
|
|
|
597
597
|
if (s)
|
|
598
598
|
if (this._parentage = null, Array.isArray(s))
|
|
599
599
|
try {
|
|
600
|
-
for (var a =
|
|
600
|
+
for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
|
|
601
601
|
var u = h.value;
|
|
602
602
|
u.remove(this);
|
|
603
603
|
}
|
|
@@ -624,12 +624,12 @@ var ve = function() {
|
|
|
624
624
|
if (c) {
|
|
625
625
|
this._finalizers = null;
|
|
626
626
|
try {
|
|
627
|
-
for (var f =
|
|
627
|
+
for (var f = $e(c), m = f.next(); !m.done; m = f.next()) {
|
|
628
628
|
var g = m.value;
|
|
629
629
|
try {
|
|
630
|
-
|
|
630
|
+
ot(g);
|
|
631
631
|
} catch (p) {
|
|
632
|
-
o = o != null ? o : [], p instanceof we ? o = z(z([],
|
|
632
|
+
o = o != null ? o : [], p instanceof we ? o = z(z([], Re(o)), Re(p.errors)) : o.push(p);
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
} catch (p) {
|
|
@@ -650,7 +650,7 @@ var ve = function() {
|
|
|
650
650
|
var r;
|
|
651
651
|
if (t && t !== this)
|
|
652
652
|
if (this.closed)
|
|
653
|
-
|
|
653
|
+
ot(t);
|
|
654
654
|
else {
|
|
655
655
|
if (t instanceof e) {
|
|
656
656
|
if (t.closed || t._hasParent(this))
|
|
@@ -667,56 +667,56 @@ var ve = function() {
|
|
|
667
667
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
668
668
|
}, e.prototype._removeParent = function(t) {
|
|
669
669
|
var r = this._parentage;
|
|
670
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
670
|
+
r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
|
|
671
671
|
}, e.prototype.remove = function(t) {
|
|
672
672
|
var r = this._finalizers;
|
|
673
|
-
r &&
|
|
673
|
+
r && De(r, t), t instanceof e && t._removeParent(this);
|
|
674
674
|
}, e.EMPTY = function() {
|
|
675
675
|
var t = new e();
|
|
676
676
|
return t.closed = !0, t;
|
|
677
677
|
}(), e;
|
|
678
|
-
}(),
|
|
679
|
-
function
|
|
678
|
+
}(), Mt = ve.EMPTY;
|
|
679
|
+
function Lt(e) {
|
|
680
680
|
return e instanceof ve || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
|
|
681
681
|
}
|
|
682
|
-
function
|
|
682
|
+
function ot(e) {
|
|
683
683
|
C(e) ? e() : e.unsubscribe();
|
|
684
684
|
}
|
|
685
|
-
var
|
|
685
|
+
var $r = {
|
|
686
686
|
onUnhandledError: null,
|
|
687
687
|
onStoppedNotification: null,
|
|
688
688
|
Promise: void 0,
|
|
689
689
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
690
690
|
useDeprecatedNextContext: !1
|
|
691
|
-
},
|
|
691
|
+
}, Rr = {
|
|
692
692
|
setTimeout: function(e, t) {
|
|
693
693
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
694
694
|
r[n - 2] = arguments[n];
|
|
695
|
-
return setTimeout.apply(void 0, z([e, t],
|
|
695
|
+
return setTimeout.apply(void 0, z([e, t], Re(r)));
|
|
696
696
|
},
|
|
697
697
|
clearTimeout: function(e) {
|
|
698
698
|
return clearTimeout(e);
|
|
699
699
|
},
|
|
700
700
|
delegate: void 0
|
|
701
701
|
};
|
|
702
|
-
function
|
|
703
|
-
|
|
702
|
+
function Dr(e) {
|
|
703
|
+
Rr.setTimeout(function() {
|
|
704
704
|
throw e;
|
|
705
705
|
});
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function st() {
|
|
708
708
|
}
|
|
709
709
|
function me(e) {
|
|
710
710
|
e();
|
|
711
711
|
}
|
|
712
|
-
var
|
|
712
|
+
var Ct = function(e) {
|
|
713
713
|
$(t, e);
|
|
714
714
|
function t(r) {
|
|
715
715
|
var n = e.call(this) || this;
|
|
716
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
716
|
+
return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Fr, n;
|
|
717
717
|
}
|
|
718
718
|
return t.create = function(r, n, i) {
|
|
719
|
-
return new
|
|
719
|
+
return new Ue(r, n, i);
|
|
720
720
|
}, t.prototype.next = function(r) {
|
|
721
721
|
this.isStopped || this._next(r);
|
|
722
722
|
}, t.prototype.error = function(r) {
|
|
@@ -740,11 +740,7 @@ var Dt = function(e) {
|
|
|
740
740
|
this.unsubscribe();
|
|
741
741
|
}
|
|
742
742
|
}, t;
|
|
743
|
-
}(ve),
|
|
744
|
-
function He(e, t) {
|
|
745
|
-
return Fr.call(e, t);
|
|
746
|
-
}
|
|
747
|
-
var jr = function() {
|
|
743
|
+
}(ve), Ur = function() {
|
|
748
744
|
function e(t) {
|
|
749
745
|
this.partialObserver = t;
|
|
750
746
|
}
|
|
@@ -775,55 +771,43 @@ var jr = function() {
|
|
|
775
771
|
le(r);
|
|
776
772
|
}
|
|
777
773
|
}, e;
|
|
778
|
-
}(),
|
|
774
|
+
}(), Ue = function(e) {
|
|
779
775
|
$(t, e);
|
|
780
776
|
function t(r, n, i) {
|
|
781
777
|
var o = e.call(this) || this, s;
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
};
|
|
788
|
-
else {
|
|
789
|
-
var a;
|
|
790
|
-
o && Rt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
791
|
-
return o.unsubscribe();
|
|
792
|
-
}, s = {
|
|
793
|
-
next: r.next && He(r.next, a),
|
|
794
|
-
error: r.error && He(r.error, a),
|
|
795
|
-
complete: r.complete && He(r.complete, a)
|
|
796
|
-
}) : s = r;
|
|
797
|
-
}
|
|
798
|
-
return o.destination = new jr(s), o;
|
|
778
|
+
return C(r) || !r ? s = {
|
|
779
|
+
next: r != null ? r : void 0,
|
|
780
|
+
error: n != null ? n : void 0,
|
|
781
|
+
complete: i != null ? i : void 0
|
|
782
|
+
} : s = r, o.destination = new Ur(s), o;
|
|
799
783
|
}
|
|
800
784
|
return t;
|
|
801
|
-
}(
|
|
785
|
+
}(Ct);
|
|
802
786
|
function le(e) {
|
|
803
|
-
|
|
787
|
+
Dr(e);
|
|
804
788
|
}
|
|
805
|
-
function
|
|
789
|
+
function Gr(e) {
|
|
806
790
|
throw e;
|
|
807
791
|
}
|
|
808
|
-
var
|
|
792
|
+
var Fr = {
|
|
809
793
|
closed: !0,
|
|
810
|
-
next:
|
|
811
|
-
error:
|
|
812
|
-
complete:
|
|
813
|
-
},
|
|
794
|
+
next: st,
|
|
795
|
+
error: Gr,
|
|
796
|
+
complete: st
|
|
797
|
+
}, jr = function() {
|
|
814
798
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
815
799
|
}();
|
|
816
|
-
function
|
|
800
|
+
function kr(e) {
|
|
817
801
|
return e;
|
|
818
802
|
}
|
|
819
|
-
function
|
|
820
|
-
return e.length === 0 ?
|
|
803
|
+
function Vr(e) {
|
|
804
|
+
return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
|
|
821
805
|
return e.reduce(function(n, i) {
|
|
822
806
|
return i(n);
|
|
823
807
|
}, r);
|
|
824
808
|
};
|
|
825
809
|
}
|
|
826
|
-
var
|
|
810
|
+
var at = function() {
|
|
827
811
|
function e(t) {
|
|
828
812
|
t && (this._subscribe = t);
|
|
829
813
|
}
|
|
@@ -831,7 +815,7 @@ var ht = function() {
|
|
|
831
815
|
var r = new e();
|
|
832
816
|
return r.source = this, r.operator = t, r;
|
|
833
817
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
834
|
-
var i = this, o =
|
|
818
|
+
var i = this, o = Wr(t) ? t : new Ue(t, r, n);
|
|
835
819
|
return me(function() {
|
|
836
820
|
var s = i, a = s.operator, h = s.source;
|
|
837
821
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -844,8 +828,8 @@ var ht = function() {
|
|
|
844
828
|
}
|
|
845
829
|
}, e.prototype.forEach = function(t, r) {
|
|
846
830
|
var n = this;
|
|
847
|
-
return r =
|
|
848
|
-
var s = new
|
|
831
|
+
return r = ut(r), new r(function(i, o) {
|
|
832
|
+
var s = new Ue({
|
|
849
833
|
next: function(a) {
|
|
850
834
|
try {
|
|
851
835
|
t(a);
|
|
@@ -861,15 +845,15 @@ var ht = function() {
|
|
|
861
845
|
}, e.prototype._subscribe = function(t) {
|
|
862
846
|
var r;
|
|
863
847
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
864
|
-
}, e.prototype[
|
|
848
|
+
}, e.prototype[jr] = function() {
|
|
865
849
|
return this;
|
|
866
850
|
}, e.prototype.pipe = function() {
|
|
867
851
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
868
852
|
t[r] = arguments[r];
|
|
869
|
-
return
|
|
853
|
+
return Vr(t)(this);
|
|
870
854
|
}, e.prototype.toPromise = function(t) {
|
|
871
855
|
var r = this;
|
|
872
|
-
return t =
|
|
856
|
+
return t = ut(t), new t(function(n, i) {
|
|
873
857
|
var o;
|
|
874
858
|
r.subscribe(function(s) {
|
|
875
859
|
return o = s;
|
|
@@ -883,32 +867,32 @@ var ht = function() {
|
|
|
883
867
|
return new e(t);
|
|
884
868
|
}, e;
|
|
885
869
|
}();
|
|
886
|
-
function
|
|
870
|
+
function ut(e) {
|
|
887
871
|
var t;
|
|
888
|
-
return (t = e != null ? e :
|
|
872
|
+
return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
|
|
889
873
|
}
|
|
890
|
-
function
|
|
874
|
+
function Xr(e) {
|
|
891
875
|
return e && C(e.next) && C(e.error) && C(e.complete);
|
|
892
876
|
}
|
|
893
|
-
function
|
|
894
|
-
return e && e instanceof
|
|
877
|
+
function Wr(e) {
|
|
878
|
+
return e && e instanceof Ct || Xr(e) && Lt(e);
|
|
895
879
|
}
|
|
896
|
-
var
|
|
880
|
+
var zr = Nt(function(e) {
|
|
897
881
|
return function() {
|
|
898
882
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
899
883
|
};
|
|
900
|
-
}),
|
|
884
|
+
}), $t = function(e) {
|
|
901
885
|
$(t, e);
|
|
902
886
|
function t() {
|
|
903
887
|
var r = e.call(this) || this;
|
|
904
888
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
905
889
|
}
|
|
906
890
|
return t.prototype.lift = function(r) {
|
|
907
|
-
var n = new
|
|
891
|
+
var n = new ht(this, this);
|
|
908
892
|
return n.operator = r, n;
|
|
909
893
|
}, t.prototype._throwIfClosed = function() {
|
|
910
894
|
if (this.closed)
|
|
911
|
-
throw new
|
|
895
|
+
throw new zr();
|
|
912
896
|
}, t.prototype.next = function(r) {
|
|
913
897
|
var n = this;
|
|
914
898
|
me(function() {
|
|
@@ -916,7 +900,7 @@ var Qr = Lt(function(e) {
|
|
|
916
900
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
917
901
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
918
902
|
try {
|
|
919
|
-
for (var s =
|
|
903
|
+
for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
920
904
|
var h = a.value;
|
|
921
905
|
h.next(r);
|
|
922
906
|
}
|
|
@@ -965,19 +949,19 @@ var Qr = Lt(function(e) {
|
|
|
965
949
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
966
950
|
}, t.prototype._innerSubscribe = function(r) {
|
|
967
951
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
968
|
-
return o || s ?
|
|
969
|
-
n.currentObservers = null,
|
|
952
|
+
return o || s ? Mt : (this.currentObservers = null, a.push(r), new ve(function() {
|
|
953
|
+
n.currentObservers = null, De(a, r);
|
|
970
954
|
}));
|
|
971
955
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
972
956
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
973
957
|
i ? r.error(o) : s && r.complete();
|
|
974
958
|
}, t.prototype.asObservable = function() {
|
|
975
|
-
var r = new
|
|
959
|
+
var r = new at();
|
|
976
960
|
return r.source = this, r;
|
|
977
961
|
}, t.create = function(r, n) {
|
|
978
|
-
return new
|
|
962
|
+
return new ht(r, n);
|
|
979
963
|
}, t;
|
|
980
|
-
}(
|
|
964
|
+
}(at), ht = function(e) {
|
|
981
965
|
$(t, e);
|
|
982
966
|
function t(r, n) {
|
|
983
967
|
var i = e.call(this) || this;
|
|
@@ -994,17 +978,17 @@ var Qr = Lt(function(e) {
|
|
|
994
978
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
995
979
|
}, t.prototype._subscribe = function(r) {
|
|
996
980
|
var n, i;
|
|
997
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
981
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
|
|
998
982
|
}, t;
|
|
999
|
-
}(
|
|
983
|
+
}($t), Rt = {
|
|
1000
984
|
now: function() {
|
|
1001
|
-
return (
|
|
985
|
+
return (Rt.delegate || Date).now();
|
|
1002
986
|
},
|
|
1003
987
|
delegate: void 0
|
|
1004
|
-
},
|
|
988
|
+
}, Zr = function(e) {
|
|
1005
989
|
$(t, e);
|
|
1006
990
|
function t(r, n, i) {
|
|
1007
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
991
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
|
|
1008
992
|
var o = e.call(this) || this;
|
|
1009
993
|
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;
|
|
1010
994
|
}
|
|
@@ -1024,15 +1008,15 @@ var Qr = Lt(function(e) {
|
|
|
1024
1008
|
u && o.splice(0, u + 1);
|
|
1025
1009
|
}
|
|
1026
1010
|
}, t;
|
|
1027
|
-
}(
|
|
1028
|
-
const
|
|
1029
|
-
if (
|
|
1030
|
-
const r = new
|
|
1031
|
-
|
|
1011
|
+
}($t);
|
|
1012
|
+
const lt = [], ct = {}, Yr = (e, t = 0) => {
|
|
1013
|
+
if (lt.indexOf(e) == -1) {
|
|
1014
|
+
const r = new Zr(t);
|
|
1015
|
+
ct[e] = r, lt.push(e);
|
|
1032
1016
|
}
|
|
1033
|
-
return
|
|
1017
|
+
return ct[e];
|
|
1034
1018
|
}, V = [];
|
|
1035
|
-
function
|
|
1019
|
+
function Qr(e, t) {
|
|
1036
1020
|
return {
|
|
1037
1021
|
subscribe: Ee(e, t).subscribe
|
|
1038
1022
|
};
|
|
@@ -1041,7 +1025,7 @@ function Ee(e, t = N) {
|
|
|
1041
1025
|
let r;
|
|
1042
1026
|
const n = /* @__PURE__ */ new Set();
|
|
1043
1027
|
function i(a) {
|
|
1044
|
-
if (
|
|
1028
|
+
if (At(e, a) && (e = a, r)) {
|
|
1045
1029
|
const h = !V.length;
|
|
1046
1030
|
for (const u of n)
|
|
1047
1031
|
u[1](), V.push(u, e);
|
|
@@ -1068,7 +1052,7 @@ function q(e, t, r) {
|
|
|
1068
1052
|
if (!i.every(Boolean))
|
|
1069
1053
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1070
1054
|
const o = t.length < 2;
|
|
1071
|
-
return
|
|
1055
|
+
return Qr(r, (s, a) => {
|
|
1072
1056
|
let h = !1;
|
|
1073
1057
|
const u = [];
|
|
1074
1058
|
let l = 0, c = N;
|
|
@@ -1077,9 +1061,9 @@ function q(e, t, r) {
|
|
|
1077
1061
|
return;
|
|
1078
1062
|
c();
|
|
1079
1063
|
const g = t(n ? u[0] : u, s, a);
|
|
1080
|
-
o ? s(g) : c =
|
|
1064
|
+
o ? s(g) : c = Ze(g) ? g : N;
|
|
1081
1065
|
}, m = i.map(
|
|
1082
|
-
(g, p) =>
|
|
1066
|
+
(g, p) => Pt(
|
|
1083
1067
|
g,
|
|
1084
1068
|
(x) => {
|
|
1085
1069
|
u[p] = x, l &= ~(1 << p), h && f();
|
|
@@ -1094,70 +1078,70 @@ function q(e, t, r) {
|
|
|
1094
1078
|
};
|
|
1095
1079
|
});
|
|
1096
1080
|
}
|
|
1097
|
-
function
|
|
1098
|
-
return e
|
|
1081
|
+
function Jr(e) {
|
|
1082
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1099
1083
|
}
|
|
1100
|
-
var
|
|
1101
|
-
return
|
|
1084
|
+
var qr = function(t) {
|
|
1085
|
+
return Kr(t) && !en(t);
|
|
1102
1086
|
};
|
|
1103
|
-
function
|
|
1087
|
+
function Kr(e) {
|
|
1104
1088
|
return !!e && typeof e == "object";
|
|
1105
1089
|
}
|
|
1106
|
-
function
|
|
1090
|
+
function en(e) {
|
|
1107
1091
|
var t = Object.prototype.toString.call(e);
|
|
1108
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1092
|
+
return t === "[object RegExp]" || t === "[object Date]" || nn(e);
|
|
1109
1093
|
}
|
|
1110
|
-
var
|
|
1111
|
-
function
|
|
1112
|
-
return e.$$typeof ===
|
|
1094
|
+
var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
|
|
1095
|
+
function nn(e) {
|
|
1096
|
+
return e.$$typeof === rn;
|
|
1113
1097
|
}
|
|
1114
|
-
function
|
|
1098
|
+
function on(e) {
|
|
1115
1099
|
return Array.isArray(e) ? [] : {};
|
|
1116
1100
|
}
|
|
1117
1101
|
function se(e, t) {
|
|
1118
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
1102
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(on(e), e, t) : e;
|
|
1119
1103
|
}
|
|
1120
|
-
function
|
|
1104
|
+
function sn(e, t, r) {
|
|
1121
1105
|
return e.concat(t).map(function(n) {
|
|
1122
1106
|
return se(n, r);
|
|
1123
1107
|
});
|
|
1124
1108
|
}
|
|
1125
|
-
function
|
|
1109
|
+
function an(e, t) {
|
|
1126
1110
|
if (!t.customMerge)
|
|
1127
1111
|
return Z;
|
|
1128
1112
|
var r = t.customMerge(e);
|
|
1129
1113
|
return typeof r == "function" ? r : Z;
|
|
1130
1114
|
}
|
|
1131
|
-
function
|
|
1115
|
+
function un(e) {
|
|
1132
1116
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1133
1117
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1134
1118
|
}) : [];
|
|
1135
1119
|
}
|
|
1136
|
-
function
|
|
1137
|
-
return Object.keys(e).concat(
|
|
1120
|
+
function ft(e) {
|
|
1121
|
+
return Object.keys(e).concat(un(e));
|
|
1138
1122
|
}
|
|
1139
|
-
function
|
|
1123
|
+
function Dt(e, t) {
|
|
1140
1124
|
try {
|
|
1141
1125
|
return t in e;
|
|
1142
1126
|
} catch (r) {
|
|
1143
1127
|
return !1;
|
|
1144
1128
|
}
|
|
1145
1129
|
}
|
|
1146
|
-
function
|
|
1147
|
-
return
|
|
1130
|
+
function hn(e, t) {
|
|
1131
|
+
return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1148
1132
|
}
|
|
1149
|
-
function
|
|
1133
|
+
function ln(e, t, r) {
|
|
1150
1134
|
var n = {};
|
|
1151
|
-
return r.isMergeableObject(e) &&
|
|
1135
|
+
return r.isMergeableObject(e) && ft(e).forEach(function(i) {
|
|
1152
1136
|
n[i] = se(e[i], r);
|
|
1153
|
-
}),
|
|
1154
|
-
|
|
1137
|
+
}), ft(t).forEach(function(i) {
|
|
1138
|
+
hn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1155
1139
|
}), n;
|
|
1156
1140
|
}
|
|
1157
1141
|
function Z(e, t, r) {
|
|
1158
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1142
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = se;
|
|
1159
1143
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1160
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1144
|
+
return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : se(t, r);
|
|
1161
1145
|
}
|
|
1162
1146
|
Z.all = function(t, r) {
|
|
1163
1147
|
if (!Array.isArray(t))
|
|
@@ -1166,62 +1150,64 @@ Z.all = function(t, r) {
|
|
|
1166
1150
|
return Z(n, i, r);
|
|
1167
1151
|
}, {});
|
|
1168
1152
|
};
|
|
1169
|
-
var
|
|
1170
|
-
const
|
|
1171
|
-
function
|
|
1172
|
-
var r = t && t.cache ? t.cache :
|
|
1153
|
+
var cn = Z, fn = cn;
|
|
1154
|
+
const mn = /* @__PURE__ */ Jr(fn);
|
|
1155
|
+
function He(e, t) {
|
|
1156
|
+
var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : dn;
|
|
1173
1157
|
return i(e, {
|
|
1174
1158
|
cache: r,
|
|
1175
1159
|
serializer: n
|
|
1176
1160
|
});
|
|
1177
1161
|
}
|
|
1178
|
-
function
|
|
1162
|
+
function pn(e) {
|
|
1179
1163
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1180
1164
|
}
|
|
1181
|
-
function
|
|
1182
|
-
var i =
|
|
1165
|
+
function Ut(e, t, r, n) {
|
|
1166
|
+
var i = pn(n) ? n : r(n), o = t.get(i);
|
|
1183
1167
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1184
1168
|
}
|
|
1185
|
-
function
|
|
1169
|
+
function Gt(e, t, r) {
|
|
1186
1170
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1187
1171
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1188
1172
|
}
|
|
1189
|
-
function
|
|
1173
|
+
function Qe(e, t, r, n, i) {
|
|
1190
1174
|
return r.bind(t, e, n, i);
|
|
1191
1175
|
}
|
|
1192
|
-
function
|
|
1193
|
-
var r = e.length === 1 ?
|
|
1194
|
-
return
|
|
1176
|
+
function dn(e, t) {
|
|
1177
|
+
var r = e.length === 1 ? Ut : Gt;
|
|
1178
|
+
return Qe(e, this, r, t.cache.create(), t.serializer);
|
|
1195
1179
|
}
|
|
1196
|
-
function
|
|
1197
|
-
return
|
|
1180
|
+
function bn(e, t) {
|
|
1181
|
+
return Qe(e, this, Gt, t.cache.create(), t.serializer);
|
|
1198
1182
|
}
|
|
1199
|
-
function
|
|
1200
|
-
return
|
|
1183
|
+
function gn(e, t) {
|
|
1184
|
+
return Qe(e, this, Ut, t.cache.create(), t.serializer);
|
|
1201
1185
|
}
|
|
1202
|
-
var
|
|
1186
|
+
var yn = function() {
|
|
1203
1187
|
return JSON.stringify(arguments);
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1188
|
+
}, vn = (
|
|
1189
|
+
/** @class */
|
|
1190
|
+
function() {
|
|
1191
|
+
function e() {
|
|
1192
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1193
|
+
}
|
|
1194
|
+
return e.prototype.get = function(t) {
|
|
1195
|
+
return this.cache[t];
|
|
1196
|
+
}, e.prototype.set = function(t, r) {
|
|
1197
|
+
this.cache[t] = r;
|
|
1198
|
+
}, e;
|
|
1199
|
+
}()
|
|
1200
|
+
), En = {
|
|
1215
1201
|
create: function() {
|
|
1216
|
-
return new
|
|
1202
|
+
return new vn();
|
|
1217
1203
|
}
|
|
1218
|
-
},
|
|
1219
|
-
variadic:
|
|
1220
|
-
monadic:
|
|
1221
|
-
},
|
|
1204
|
+
}, Ae = {
|
|
1205
|
+
variadic: bn,
|
|
1206
|
+
monadic: gn
|
|
1207
|
+
}, d;
|
|
1222
1208
|
(function(e) {
|
|
1223
1209
|
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";
|
|
1224
|
-
})(
|
|
1210
|
+
})(d || (d = {}));
|
|
1225
1211
|
var _;
|
|
1226
1212
|
(function(e) {
|
|
1227
1213
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
@@ -1230,43 +1216,43 @@ var Y;
|
|
|
1230
1216
|
(function(e) {
|
|
1231
1217
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1232
1218
|
})(Y || (Y = {}));
|
|
1233
|
-
function
|
|
1219
|
+
function mt(e) {
|
|
1234
1220
|
return e.type === _.literal;
|
|
1235
1221
|
}
|
|
1236
|
-
function
|
|
1222
|
+
function _n(e) {
|
|
1237
1223
|
return e.type === _.argument;
|
|
1238
1224
|
}
|
|
1239
|
-
function
|
|
1225
|
+
function Ft(e) {
|
|
1240
1226
|
return e.type === _.number;
|
|
1241
1227
|
}
|
|
1242
|
-
function
|
|
1228
|
+
function jt(e) {
|
|
1243
1229
|
return e.type === _.date;
|
|
1244
1230
|
}
|
|
1245
|
-
function
|
|
1231
|
+
function kt(e) {
|
|
1246
1232
|
return e.type === _.time;
|
|
1247
1233
|
}
|
|
1248
|
-
function
|
|
1234
|
+
function Vt(e) {
|
|
1249
1235
|
return e.type === _.select;
|
|
1250
1236
|
}
|
|
1251
|
-
function
|
|
1237
|
+
function Xt(e) {
|
|
1252
1238
|
return e.type === _.plural;
|
|
1253
1239
|
}
|
|
1254
|
-
function
|
|
1240
|
+
function xn(e) {
|
|
1255
1241
|
return e.type === _.pound;
|
|
1256
1242
|
}
|
|
1257
|
-
function
|
|
1243
|
+
function Wt(e) {
|
|
1258
1244
|
return e.type === _.tag;
|
|
1259
1245
|
}
|
|
1260
|
-
function
|
|
1246
|
+
function zt(e) {
|
|
1261
1247
|
return !!(e && typeof e == "object" && e.type === Y.number);
|
|
1262
1248
|
}
|
|
1263
|
-
function
|
|
1249
|
+
function Ge(e) {
|
|
1264
1250
|
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
|
1265
1251
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1252
|
+
var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
|
|
1253
|
+
function Sn(e) {
|
|
1268
1254
|
var t = {};
|
|
1269
|
-
return e.replace(
|
|
1255
|
+
return e.replace(Bn, function(r) {
|
|
1270
1256
|
var n = r.length;
|
|
1271
1257
|
switch (r[0]) {
|
|
1272
1258
|
case "G":
|
|
@@ -1355,11 +1341,11 @@ function wn(e) {
|
|
|
1355
1341
|
return "";
|
|
1356
1342
|
}), t;
|
|
1357
1343
|
}
|
|
1358
|
-
var
|
|
1359
|
-
function
|
|
1344
|
+
var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1345
|
+
function wn(e) {
|
|
1360
1346
|
if (e.length === 0)
|
|
1361
1347
|
throw new Error("Number skeleton cannot be empty");
|
|
1362
|
-
for (var t = e.split(
|
|
1348
|
+
for (var t = e.split(Tn).filter(function(f) {
|
|
1363
1349
|
return f.length > 0;
|
|
1364
1350
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1365
1351
|
var o = i[n], s = o.split("/");
|
|
@@ -1374,17 +1360,17 @@ function An(e) {
|
|
|
1374
1360
|
}
|
|
1375
1361
|
return r;
|
|
1376
1362
|
}
|
|
1377
|
-
function
|
|
1363
|
+
function Hn(e) {
|
|
1378
1364
|
return e.replace(/^(.*?)-/, "");
|
|
1379
1365
|
}
|
|
1380
|
-
var
|
|
1381
|
-
function
|
|
1366
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
|
|
1367
|
+
function dt(e) {
|
|
1382
1368
|
var t = {};
|
|
1383
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1369
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
|
|
1384
1370
|
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)), "";
|
|
1385
1371
|
}), t;
|
|
1386
1372
|
}
|
|
1387
|
-
function
|
|
1373
|
+
function Jt(e) {
|
|
1388
1374
|
switch (e) {
|
|
1389
1375
|
case "sign-auto":
|
|
1390
1376
|
return {
|
|
@@ -1424,7 +1410,7 @@ function er(e) {
|
|
|
1424
1410
|
};
|
|
1425
1411
|
}
|
|
1426
1412
|
}
|
|
1427
|
-
function
|
|
1413
|
+
function Pn(e) {
|
|
1428
1414
|
var t;
|
|
1429
1415
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1430
1416
|
notation: "engineering"
|
|
@@ -1432,17 +1418,17 @@ function In(e) {
|
|
|
1432
1418
|
notation: "scientific"
|
|
1433
1419
|
}, e = e.slice(1)), t) {
|
|
1434
1420
|
var r = e.slice(0, 2);
|
|
1435
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1421
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
|
|
1436
1422
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1437
1423
|
t.minimumIntegerDigits = e.length;
|
|
1438
1424
|
}
|
|
1439
1425
|
return t;
|
|
1440
1426
|
}
|
|
1441
|
-
function
|
|
1442
|
-
var t = {}, r =
|
|
1427
|
+
function bt(e) {
|
|
1428
|
+
var t = {}, r = Jt(e);
|
|
1443
1429
|
return r || t;
|
|
1444
1430
|
}
|
|
1445
|
-
function
|
|
1431
|
+
function On(e) {
|
|
1446
1432
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1447
1433
|
var i = n[r];
|
|
1448
1434
|
switch (i.stem) {
|
|
@@ -1466,7 +1452,7 @@ function Nn(e) {
|
|
|
1466
1452
|
continue;
|
|
1467
1453
|
case "measure-unit":
|
|
1468
1454
|
case "unit":
|
|
1469
|
-
t.style = "unit", t.unit =
|
|
1455
|
+
t.style = "unit", t.unit = Hn(i.options[0]);
|
|
1470
1456
|
continue;
|
|
1471
1457
|
case "compact-short":
|
|
1472
1458
|
case "K":
|
|
@@ -1478,12 +1464,12 @@ function Nn(e) {
|
|
|
1478
1464
|
continue;
|
|
1479
1465
|
case "scientific":
|
|
1480
1466
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1481
|
-
return y(y({}, h),
|
|
1467
|
+
return y(y({}, h), bt(u));
|
|
1482
1468
|
}, {}));
|
|
1483
1469
|
continue;
|
|
1484
1470
|
case "engineering":
|
|
1485
1471
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1486
|
-
return y(y({}, h),
|
|
1472
|
+
return y(y({}, h), bt(u));
|
|
1487
1473
|
}, {}));
|
|
1488
1474
|
continue;
|
|
1489
1475
|
case "notation-simple":
|
|
@@ -1528,7 +1514,7 @@ function Nn(e) {
|
|
|
1528
1514
|
case "integer-width":
|
|
1529
1515
|
if (i.options.length > 1)
|
|
1530
1516
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1531
|
-
i.options[0].replace(
|
|
1517
|
+
i.options[0].replace(An, function(h, u, l, c, f, m) {
|
|
1532
1518
|
if (u)
|
|
1533
1519
|
t.minimumIntegerDigits = l.length;
|
|
1534
1520
|
else {
|
|
@@ -1541,27 +1527,27 @@ function Nn(e) {
|
|
|
1541
1527
|
});
|
|
1542
1528
|
continue;
|
|
1543
1529
|
}
|
|
1544
|
-
if (
|
|
1530
|
+
if (Qt.test(i.stem)) {
|
|
1545
1531
|
t.minimumIntegerDigits = i.stem.length;
|
|
1546
1532
|
continue;
|
|
1547
1533
|
}
|
|
1548
|
-
if (
|
|
1534
|
+
if (pt.test(i.stem)) {
|
|
1549
1535
|
if (i.options.length > 1)
|
|
1550
1536
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1551
|
-
i.stem.replace(
|
|
1537
|
+
i.stem.replace(pt, function(h, u, l, c, f, m) {
|
|
1552
1538
|
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), "";
|
|
1553
1539
|
});
|
|
1554
1540
|
var o = i.options[0];
|
|
1555
|
-
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t),
|
|
1541
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), dt(o)));
|
|
1556
1542
|
continue;
|
|
1557
1543
|
}
|
|
1558
|
-
if (
|
|
1559
|
-
t = y(y({}, t),
|
|
1544
|
+
if (Yt.test(i.stem)) {
|
|
1545
|
+
t = y(y({}, t), dt(i.stem));
|
|
1560
1546
|
continue;
|
|
1561
1547
|
}
|
|
1562
|
-
var s =
|
|
1548
|
+
var s = Jt(i.stem);
|
|
1563
1549
|
s && (t = y(y({}, t), s));
|
|
1564
|
-
var a =
|
|
1550
|
+
var a = Pn(i.stem);
|
|
1565
1551
|
a && (t = y(y({}, t), a));
|
|
1566
1552
|
}
|
|
1567
1553
|
return t;
|
|
@@ -2981,13 +2967,13 @@ var ce = {
|
|
|
2981
2967
|
"h"
|
|
2982
2968
|
]
|
|
2983
2969
|
};
|
|
2984
|
-
function
|
|
2970
|
+
function In(e, t) {
|
|
2985
2971
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2986
2972
|
var i = e.charAt(n);
|
|
2987
2973
|
if (i === "j") {
|
|
2988
2974
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2989
2975
|
o++, n++;
|
|
2990
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2976
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
|
|
2991
2977
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2992
2978
|
r += h;
|
|
2993
2979
|
for (; s-- > 0; )
|
|
@@ -2997,7 +2983,7 @@ function Mn(e, t) {
|
|
|
2997
2983
|
}
|
|
2998
2984
|
return r;
|
|
2999
2985
|
}
|
|
3000
|
-
function
|
|
2986
|
+
function Nn(e) {
|
|
3001
2987
|
var t = e.hourCycle;
|
|
3002
2988
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3003
2989
|
e.hourCycles && // @ts-ignore
|
|
@@ -3019,20 +3005,20 @@ function Ln(e) {
|
|
|
3019
3005
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3020
3006
|
return i[0];
|
|
3021
3007
|
}
|
|
3022
|
-
var
|
|
3023
|
-
function
|
|
3008
|
+
var Pe, Mn = new RegExp("^".concat(Zt.source, "*")), Ln = new RegExp("".concat(Zt.source, "*$"));
|
|
3009
|
+
function b(e, t) {
|
|
3024
3010
|
return { start: e, end: t };
|
|
3025
3011
|
}
|
|
3026
|
-
var
|
|
3012
|
+
var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
|
|
3027
3013
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3028
|
-
},
|
|
3014
|
+
}, Fe = !0;
|
|
3029
3015
|
try {
|
|
3030
|
-
var
|
|
3031
|
-
|
|
3016
|
+
var kn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3017
|
+
Fe = ((Pe = kn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
3032
3018
|
} catch (e) {
|
|
3033
|
-
|
|
3019
|
+
Fe = !1;
|
|
3034
3020
|
}
|
|
3035
|
-
var
|
|
3021
|
+
var gt = Cn ? (
|
|
3036
3022
|
// Native
|
|
3037
3023
|
function(t, r, n) {
|
|
3038
3024
|
return t.startsWith(r, n);
|
|
@@ -3042,7 +3028,7 @@ var vt = Rn ? (
|
|
|
3042
3028
|
function(t, r, n) {
|
|
3043
3029
|
return t.slice(n, n + r.length) === r;
|
|
3044
3030
|
}
|
|
3045
|
-
),
|
|
3031
|
+
), je = $n ? String.fromCodePoint : (
|
|
3046
3032
|
// IE11
|
|
3047
3033
|
function() {
|
|
3048
3034
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3054,9 +3040,9 @@ var vt = Rn ? (
|
|
|
3054
3040
|
}
|
|
3055
3041
|
return n;
|
|
3056
3042
|
}
|
|
3057
|
-
),
|
|
3043
|
+
), yt = (
|
|
3058
3044
|
// native
|
|
3059
|
-
|
|
3045
|
+
Rn ? Object.fromEntries : (
|
|
3060
3046
|
// Ponyfill
|
|
3061
3047
|
function(t) {
|
|
3062
3048
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3066,7 +3052,7 @@ var vt = Rn ? (
|
|
|
3066
3052
|
return r;
|
|
3067
3053
|
}
|
|
3068
3054
|
)
|
|
3069
|
-
),
|
|
3055
|
+
), qt = Dn ? (
|
|
3070
3056
|
// Native
|
|
3071
3057
|
function(t, r) {
|
|
3072
3058
|
return t.codePointAt(r);
|
|
@@ -3080,7 +3066,7 @@ var vt = Rn ? (
|
|
|
3080
3066
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3081
3067
|
}
|
|
3082
3068
|
}
|
|
3083
|
-
),
|
|
3069
|
+
), Vn = Un ? (
|
|
3084
3070
|
// Native
|
|
3085
3071
|
function(t) {
|
|
3086
3072
|
return t.trimStart();
|
|
@@ -3088,9 +3074,9 @@ var vt = Rn ? (
|
|
|
3088
3074
|
) : (
|
|
3089
3075
|
// Ponyfill
|
|
3090
3076
|
function(t) {
|
|
3091
|
-
return t.replace(
|
|
3077
|
+
return t.replace(Mn, "");
|
|
3092
3078
|
}
|
|
3093
|
-
),
|
|
3079
|
+
), Xn = Gn ? (
|
|
3094
3080
|
// Native
|
|
3095
3081
|
function(t) {
|
|
3096
3082
|
return t.trimEnd();
|
|
@@ -3098,32 +3084,32 @@ var vt = Rn ? (
|
|
|
3098
3084
|
) : (
|
|
3099
3085
|
// Ponyfill
|
|
3100
3086
|
function(t) {
|
|
3101
|
-
return t.replace(
|
|
3087
|
+
return t.replace(Ln, "");
|
|
3102
3088
|
}
|
|
3103
3089
|
);
|
|
3104
|
-
function
|
|
3090
|
+
function Kt(e, t) {
|
|
3105
3091
|
return new RegExp(e, t);
|
|
3106
3092
|
}
|
|
3107
|
-
var
|
|
3108
|
-
if (
|
|
3109
|
-
var
|
|
3110
|
-
|
|
3093
|
+
var ke;
|
|
3094
|
+
if (Fe) {
|
|
3095
|
+
var vt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3096
|
+
ke = function(t, r) {
|
|
3111
3097
|
var n;
|
|
3112
|
-
|
|
3113
|
-
var i =
|
|
3098
|
+
vt.lastIndex = r;
|
|
3099
|
+
var i = vt.exec(t);
|
|
3114
3100
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3115
3101
|
};
|
|
3116
3102
|
} else
|
|
3117
|
-
|
|
3103
|
+
ke = function(t, r) {
|
|
3118
3104
|
for (var n = []; ; ) {
|
|
3119
|
-
var i =
|
|
3120
|
-
if (i === void 0 ||
|
|
3105
|
+
var i = qt(t, r);
|
|
3106
|
+
if (i === void 0 || er(i) || Yn(i))
|
|
3121
3107
|
break;
|
|
3122
3108
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3123
3109
|
}
|
|
3124
|
-
return
|
|
3110
|
+
return je.apply(void 0, n);
|
|
3125
3111
|
};
|
|
3126
|
-
var
|
|
3112
|
+
var Wn = (
|
|
3127
3113
|
/** @class */
|
|
3128
3114
|
function() {
|
|
3129
3115
|
function e(t, r) {
|
|
@@ -3148,13 +3134,13 @@ var Zn = (
|
|
|
3148
3134
|
var a = this.clonePosition();
|
|
3149
3135
|
this.bump(), i.push({
|
|
3150
3136
|
type: _.pound,
|
|
3151
|
-
location:
|
|
3137
|
+
location: b(a, this.clonePosition())
|
|
3152
3138
|
});
|
|
3153
3139
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3154
3140
|
if (n)
|
|
3155
3141
|
break;
|
|
3156
|
-
return this.error(
|
|
3157
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3142
|
+
return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3143
|
+
} else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
3158
3144
|
var s = this.parseTag(t, r);
|
|
3159
3145
|
if (s.err)
|
|
3160
3146
|
return s;
|
|
@@ -3177,7 +3163,7 @@ var Zn = (
|
|
|
3177
3163
|
val: {
|
|
3178
3164
|
type: _.literal,
|
|
3179
3165
|
value: "<".concat(i, "/>"),
|
|
3180
|
-
location:
|
|
3166
|
+
location: b(n, this.clonePosition())
|
|
3181
3167
|
},
|
|
3182
3168
|
err: null
|
|
3183
3169
|
};
|
|
@@ -3187,25 +3173,25 @@ var Zn = (
|
|
|
3187
3173
|
return o;
|
|
3188
3174
|
var s = o.val, a = this.clonePosition();
|
|
3189
3175
|
if (this.bumpIf("</")) {
|
|
3190
|
-
if (this.isEOF() || !
|
|
3191
|
-
return this.error(
|
|
3176
|
+
if (this.isEOF() || !Ve(this.char()))
|
|
3177
|
+
return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
|
|
3192
3178
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3193
|
-
return i !== u ? this.error(
|
|
3179
|
+
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3194
3180
|
val: {
|
|
3195
3181
|
type: _.tag,
|
|
3196
3182
|
value: i,
|
|
3197
3183
|
children: s,
|
|
3198
|
-
location:
|
|
3184
|
+
location: b(n, this.clonePosition())
|
|
3199
3185
|
},
|
|
3200
3186
|
err: null
|
|
3201
|
-
} : this.error(
|
|
3187
|
+
} : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
|
|
3202
3188
|
} else
|
|
3203
|
-
return this.error(
|
|
3189
|
+
return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
3204
3190
|
} else
|
|
3205
|
-
return this.error(
|
|
3191
|
+
return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
|
|
3206
3192
|
}, e.prototype.parseTagName = function() {
|
|
3207
3193
|
var t = this.offset();
|
|
3208
|
-
for (this.bump(); !this.isEOF() &&
|
|
3194
|
+
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
3209
3195
|
this.bump();
|
|
3210
3196
|
return this.message.slice(t, this.offset());
|
|
3211
3197
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3227,14 +3213,14 @@ var Zn = (
|
|
|
3227
3213
|
}
|
|
3228
3214
|
break;
|
|
3229
3215
|
}
|
|
3230
|
-
var h =
|
|
3216
|
+
var h = b(n, this.clonePosition());
|
|
3231
3217
|
return {
|
|
3232
3218
|
val: { type: _.literal, value: i, location: h },
|
|
3233
3219
|
err: null
|
|
3234
3220
|
};
|
|
3235
3221
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3236
3222
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3237
|
-
!
|
|
3223
|
+
!zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3238
3224
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3239
3225
|
if (this.isEOF() || this.char() !== 39)
|
|
3240
3226
|
return null;
|
|
@@ -3268,23 +3254,23 @@ var Zn = (
|
|
|
3268
3254
|
r.push(n);
|
|
3269
3255
|
this.bump();
|
|
3270
3256
|
}
|
|
3271
|
-
return
|
|
3257
|
+
return je.apply(void 0, r);
|
|
3272
3258
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3273
3259
|
if (this.isEOF())
|
|
3274
3260
|
return null;
|
|
3275
3261
|
var n = this.char();
|
|
3276
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3262
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
|
|
3277
3263
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3278
3264
|
var n = this.clonePosition();
|
|
3279
3265
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3280
|
-
return this.error(
|
|
3266
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3281
3267
|
if (this.char() === 125)
|
|
3282
|
-
return this.bump(), this.error(
|
|
3268
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
|
|
3283
3269
|
var i = this.parseIdentifierIfPossible().value;
|
|
3284
3270
|
if (!i)
|
|
3285
|
-
return this.error(
|
|
3271
|
+
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3286
3272
|
if (this.bumpSpace(), this.isEOF())
|
|
3287
|
-
return this.error(
|
|
3273
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3288
3274
|
switch (this.char()) {
|
|
3289
3275
|
case 125:
|
|
3290
3276
|
return this.bump(), {
|
|
@@ -3292,25 +3278,25 @@ var Zn = (
|
|
|
3292
3278
|
type: _.argument,
|
|
3293
3279
|
// value does not include the opening and closing braces.
|
|
3294
3280
|
value: i,
|
|
3295
|
-
location:
|
|
3281
|
+
location: b(n, this.clonePosition())
|
|
3296
3282
|
},
|
|
3297
3283
|
err: null
|
|
3298
3284
|
};
|
|
3299
3285
|
case 44:
|
|
3300
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3286
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3301
3287
|
default:
|
|
3302
|
-
return this.error(
|
|
3288
|
+
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3303
3289
|
}
|
|
3304
3290
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3305
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3291
|
+
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
3306
3292
|
this.bumpTo(i);
|
|
3307
|
-
var o = this.clonePosition(), s =
|
|
3293
|
+
var o = this.clonePosition(), s = b(t, o);
|
|
3308
3294
|
return { value: n, location: s };
|
|
3309
3295
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3310
3296
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3311
3297
|
switch (a) {
|
|
3312
3298
|
case "":
|
|
3313
|
-
return this.error(
|
|
3299
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
|
|
3314
3300
|
case "number":
|
|
3315
3301
|
case "date":
|
|
3316
3302
|
case "time": {
|
|
@@ -3321,18 +3307,18 @@ var Zn = (
|
|
|
3321
3307
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3322
3308
|
if (c.err)
|
|
3323
3309
|
return c;
|
|
3324
|
-
var f =
|
|
3310
|
+
var f = Xn(c.val);
|
|
3325
3311
|
if (f.length === 0)
|
|
3326
|
-
return this.error(
|
|
3327
|
-
var m =
|
|
3312
|
+
return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3313
|
+
var m = b(l, this.clonePosition());
|
|
3328
3314
|
u = { style: f, styleLocation: m };
|
|
3329
3315
|
}
|
|
3330
3316
|
var g = this.tryParseArgumentClose(i);
|
|
3331
3317
|
if (g.err)
|
|
3332
3318
|
return g;
|
|
3333
|
-
var p =
|
|
3334
|
-
if (u &&
|
|
3335
|
-
var x =
|
|
3319
|
+
var p = b(i, this.clonePosition());
|
|
3320
|
+
if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3321
|
+
var x = Vn(u.style.slice(2));
|
|
3336
3322
|
if (a === "number") {
|
|
3337
3323
|
var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3338
3324
|
return c.err ? c : {
|
|
@@ -3341,14 +3327,14 @@ var Zn = (
|
|
|
3341
3327
|
};
|
|
3342
3328
|
} else {
|
|
3343
3329
|
if (x.length === 0)
|
|
3344
|
-
return this.error(
|
|
3330
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, p);
|
|
3345
3331
|
var A = x;
|
|
3346
|
-
this.locale && (A =
|
|
3332
|
+
this.locale && (A = In(x, this.locale));
|
|
3347
3333
|
var f = {
|
|
3348
3334
|
type: Y.dateTime,
|
|
3349
3335
|
pattern: A,
|
|
3350
3336
|
location: u.styleLocation,
|
|
3351
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3337
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(A) : {}
|
|
3352
3338
|
}, H = a === "date" ? _.date : _.time;
|
|
3353
3339
|
return {
|
|
3354
3340
|
val: { type: H, value: n, location: p, style: f },
|
|
@@ -3371,14 +3357,14 @@ var Zn = (
|
|
|
3371
3357
|
case "select": {
|
|
3372
3358
|
var T = this.clonePosition();
|
|
3373
3359
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3374
|
-
return this.error(
|
|
3360
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(T, y({}, T)));
|
|
3375
3361
|
this.bumpSpace();
|
|
3376
3362
|
var v = this.parseIdentifierIfPossible(), S = 0;
|
|
3377
3363
|
if (a !== "select" && v.value === "offset") {
|
|
3378
3364
|
if (!this.bumpIf(":"))
|
|
3379
|
-
return this.error(
|
|
3365
|
+
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3380
3366
|
this.bumpSpace();
|
|
3381
|
-
var c = this.tryParseDecimalInteger(
|
|
3367
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3382
3368
|
if (c.err)
|
|
3383
3369
|
return c;
|
|
3384
3370
|
this.bumpSpace(), v = this.parseIdentifierIfPossible(), S = c.val;
|
|
@@ -3389,12 +3375,12 @@ var Zn = (
|
|
|
3389
3375
|
var g = this.tryParseArgumentClose(i);
|
|
3390
3376
|
if (g.err)
|
|
3391
3377
|
return g;
|
|
3392
|
-
var L =
|
|
3378
|
+
var L = b(i, this.clonePosition());
|
|
3393
3379
|
return a === "select" ? {
|
|
3394
3380
|
val: {
|
|
3395
3381
|
type: _.select,
|
|
3396
3382
|
value: n,
|
|
3397
|
-
options:
|
|
3383
|
+
options: yt(M.val),
|
|
3398
3384
|
location: L
|
|
3399
3385
|
},
|
|
3400
3386
|
err: null
|
|
@@ -3402,7 +3388,7 @@ var Zn = (
|
|
|
3402
3388
|
val: {
|
|
3403
3389
|
type: _.plural,
|
|
3404
3390
|
value: n,
|
|
3405
|
-
options:
|
|
3391
|
+
options: yt(M.val),
|
|
3406
3392
|
offset: S,
|
|
3407
3393
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3408
3394
|
location: L
|
|
@@ -3411,10 +3397,10 @@ var Zn = (
|
|
|
3411
3397
|
};
|
|
3412
3398
|
}
|
|
3413
3399
|
default:
|
|
3414
|
-
return this.error(
|
|
3400
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
|
|
3415
3401
|
}
|
|
3416
3402
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3417
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3403
|
+
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3418
3404
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3419
3405
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3420
3406
|
var n = this.char();
|
|
@@ -3423,7 +3409,7 @@ var Zn = (
|
|
|
3423
3409
|
this.bump();
|
|
3424
3410
|
var i = this.clonePosition();
|
|
3425
3411
|
if (!this.bumpUntil("'"))
|
|
3426
|
-
return this.error(
|
|
3412
|
+
return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
|
|
3427
3413
|
this.bump();
|
|
3428
3414
|
break;
|
|
3429
3415
|
}
|
|
@@ -3453,16 +3439,16 @@ var Zn = (
|
|
|
3453
3439
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3454
3440
|
var n = [];
|
|
3455
3441
|
try {
|
|
3456
|
-
n =
|
|
3442
|
+
n = wn(t);
|
|
3457
3443
|
} catch (i) {
|
|
3458
|
-
return this.error(
|
|
3444
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3459
3445
|
}
|
|
3460
3446
|
return {
|
|
3461
3447
|
val: {
|
|
3462
3448
|
type: Y.number,
|
|
3463
3449
|
tokens: n,
|
|
3464
3450
|
location: r,
|
|
3465
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3451
|
+
parsedOptions: this.shouldParseSkeletons ? On(n) : {}
|
|
3466
3452
|
},
|
|
3467
3453
|
err: null
|
|
3468
3454
|
};
|
|
@@ -3471,19 +3457,19 @@ var Zn = (
|
|
|
3471
3457
|
if (u.length === 0) {
|
|
3472
3458
|
var c = this.clonePosition();
|
|
3473
3459
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3474
|
-
var f = this.tryParseDecimalInteger(
|
|
3460
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3475
3461
|
if (f.err)
|
|
3476
3462
|
return f;
|
|
3477
|
-
l =
|
|
3463
|
+
l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3478
3464
|
} else
|
|
3479
3465
|
break;
|
|
3480
3466
|
}
|
|
3481
3467
|
if (h.has(u))
|
|
3482
|
-
return this.error(r === "select" ?
|
|
3468
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3483
3469
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3484
3470
|
var m = this.clonePosition();
|
|
3485
3471
|
if (!this.bumpIf("{"))
|
|
3486
|
-
return this.error(r === "select" ?
|
|
3472
|
+
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3487
3473
|
var g = this.parseMessage(t + 1, r, n);
|
|
3488
3474
|
if (g.err)
|
|
3489
3475
|
return g;
|
|
@@ -3494,11 +3480,11 @@ var Zn = (
|
|
|
3494
3480
|
u,
|
|
3495
3481
|
{
|
|
3496
3482
|
value: g.val,
|
|
3497
|
-
location:
|
|
3483
|
+
location: b(m, this.clonePosition())
|
|
3498
3484
|
}
|
|
3499
3485
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3500
3486
|
}
|
|
3501
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3487
|
+
return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3502
3488
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3503
3489
|
var n = 1, i = this.clonePosition();
|
|
3504
3490
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3509,8 +3495,8 @@ var Zn = (
|
|
|
3509
3495
|
else
|
|
3510
3496
|
break;
|
|
3511
3497
|
}
|
|
3512
|
-
var h =
|
|
3513
|
-
return o ? (s *= n,
|
|
3498
|
+
var h = b(i, this.clonePosition());
|
|
3499
|
+
return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3514
3500
|
}, e.prototype.offset = function() {
|
|
3515
3501
|
return this.position.offset;
|
|
3516
3502
|
}, e.prototype.isEOF = function() {
|
|
@@ -3525,7 +3511,7 @@ var Zn = (
|
|
|
3525
3511
|
var t = this.position.offset;
|
|
3526
3512
|
if (t >= this.message.length)
|
|
3527
3513
|
throw Error("out of bound");
|
|
3528
|
-
var r =
|
|
3514
|
+
var r = qt(this.message, t);
|
|
3529
3515
|
if (r === void 0)
|
|
3530
3516
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3531
3517
|
return r;
|
|
@@ -3544,7 +3530,7 @@ var Zn = (
|
|
|
3544
3530
|
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);
|
|
3545
3531
|
}
|
|
3546
3532
|
}, e.prototype.bumpIf = function(t) {
|
|
3547
|
-
if (
|
|
3533
|
+
if (gt(this.message, t, this.offset())) {
|
|
3548
3534
|
for (var r = 0; r < t.length; r++)
|
|
3549
3535
|
this.bump();
|
|
3550
3536
|
return !0;
|
|
@@ -3566,7 +3552,7 @@ var Zn = (
|
|
|
3566
3552
|
break;
|
|
3567
3553
|
}
|
|
3568
3554
|
}, e.prototype.bumpSpace = function() {
|
|
3569
|
-
for (; !this.isEOF() &&
|
|
3555
|
+
for (; !this.isEOF() && er(this.char()); )
|
|
3570
3556
|
this.bump();
|
|
3571
3557
|
}, e.prototype.peek = function() {
|
|
3572
3558
|
if (this.isEOF())
|
|
@@ -3576,38 +3562,38 @@ var Zn = (
|
|
|
3576
3562
|
}, e;
|
|
3577
3563
|
}()
|
|
3578
3564
|
);
|
|
3579
|
-
function
|
|
3565
|
+
function Ve(e) {
|
|
3580
3566
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3581
3567
|
}
|
|
3582
|
-
function
|
|
3583
|
-
return
|
|
3568
|
+
function zn(e) {
|
|
3569
|
+
return Ve(e) || e === 47;
|
|
3584
3570
|
}
|
|
3585
|
-
function
|
|
3571
|
+
function Zn(e) {
|
|
3586
3572
|
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;
|
|
3587
3573
|
}
|
|
3588
|
-
function
|
|
3574
|
+
function er(e) {
|
|
3589
3575
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3590
3576
|
}
|
|
3591
|
-
function
|
|
3577
|
+
function Yn(e) {
|
|
3592
3578
|
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;
|
|
3593
3579
|
}
|
|
3594
|
-
function
|
|
3580
|
+
function Xe(e) {
|
|
3595
3581
|
e.forEach(function(t) {
|
|
3596
|
-
if (delete t.location,
|
|
3582
|
+
if (delete t.location, Vt(t) || Xt(t))
|
|
3597
3583
|
for (var r in t.options)
|
|
3598
|
-
delete t.options[r].location,
|
|
3584
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
3599
3585
|
else
|
|
3600
|
-
|
|
3586
|
+
Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Ge(t.style) ? delete t.style.location : Wt(t) && Xe(t.children);
|
|
3601
3587
|
});
|
|
3602
3588
|
}
|
|
3603
|
-
function
|
|
3589
|
+
function Qn(e, t) {
|
|
3604
3590
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3605
|
-
var r = new
|
|
3591
|
+
var r = new Wn(e, t).parse();
|
|
3606
3592
|
if (r.err) {
|
|
3607
|
-
var n = SyntaxError(
|
|
3593
|
+
var n = SyntaxError(d[r.err.kind]);
|
|
3608
3594
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3609
3595
|
}
|
|
3610
|
-
return t != null && t.captureLocation ||
|
|
3596
|
+
return t != null && t.captureLocation || Xe(r.val), r.val;
|
|
3611
3597
|
}
|
|
3612
3598
|
var Q;
|
|
3613
3599
|
(function(e) {
|
|
@@ -3625,7 +3611,7 @@ var _e = (
|
|
|
3625
3611
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3626
3612
|
}, t;
|
|
3627
3613
|
}(Error)
|
|
3628
|
-
),
|
|
3614
|
+
), Et = (
|
|
3629
3615
|
/** @class */
|
|
3630
3616
|
function(e) {
|
|
3631
3617
|
$(t, e);
|
|
@@ -3634,7 +3620,7 @@ var _e = (
|
|
|
3634
3620
|
}
|
|
3635
3621
|
return t;
|
|
3636
3622
|
}(_e)
|
|
3637
|
-
),
|
|
3623
|
+
), Jn = (
|
|
3638
3624
|
/** @class */
|
|
3639
3625
|
function(e) {
|
|
3640
3626
|
$(t, e);
|
|
@@ -3643,7 +3629,7 @@ var _e = (
|
|
|
3643
3629
|
}
|
|
3644
3630
|
return t;
|
|
3645
3631
|
}(_e)
|
|
3646
|
-
),
|
|
3632
|
+
), qn = (
|
|
3647
3633
|
/** @class */
|
|
3648
3634
|
function(e) {
|
|
3649
3635
|
$(t, e);
|
|
@@ -3656,17 +3642,17 @@ var _e = (
|
|
|
3656
3642
|
(function(e) {
|
|
3657
3643
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3658
3644
|
})(w || (w = {}));
|
|
3659
|
-
function
|
|
3645
|
+
function Kn(e) {
|
|
3660
3646
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3661
3647
|
var n = t[t.length - 1];
|
|
3662
3648
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3663
3649
|
}, []);
|
|
3664
3650
|
}
|
|
3665
|
-
function
|
|
3651
|
+
function ei(e) {
|
|
3666
3652
|
return typeof e == "function";
|
|
3667
3653
|
}
|
|
3668
3654
|
function pe(e, t, r, n, i, o, s) {
|
|
3669
|
-
if (e.length === 1 &&
|
|
3655
|
+
if (e.length === 1 && mt(e[0]))
|
|
3670
3656
|
return [
|
|
3671
3657
|
{
|
|
3672
3658
|
type: w.literal,
|
|
@@ -3675,14 +3661,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3675
3661
|
];
|
|
3676
3662
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3677
3663
|
var l = u[h];
|
|
3678
|
-
if (
|
|
3664
|
+
if (mt(l)) {
|
|
3679
3665
|
a.push({
|
|
3680
3666
|
type: w.literal,
|
|
3681
3667
|
value: l.value
|
|
3682
3668
|
});
|
|
3683
3669
|
continue;
|
|
3684
3670
|
}
|
|
3685
|
-
if (
|
|
3671
|
+
if (xn(l)) {
|
|
3686
3672
|
typeof o == "number" && a.push({
|
|
3687
3673
|
type: w.literal,
|
|
3688
3674
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3691,43 +3677,43 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3691
3677
|
}
|
|
3692
3678
|
var c = l.value;
|
|
3693
3679
|
if (!(i && c in i))
|
|
3694
|
-
throw new
|
|
3680
|
+
throw new qn(c, s);
|
|
3695
3681
|
var f = i[c];
|
|
3696
|
-
if (
|
|
3682
|
+
if (_n(l)) {
|
|
3697
3683
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3698
3684
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3699
3685
|
value: f
|
|
3700
3686
|
});
|
|
3701
3687
|
continue;
|
|
3702
3688
|
}
|
|
3703
|
-
if (
|
|
3704
|
-
var m = typeof l.style == "string" ? n.date[l.style] :
|
|
3689
|
+
if (jt(l)) {
|
|
3690
|
+
var m = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
|
|
3705
3691
|
a.push({
|
|
3706
3692
|
type: w.literal,
|
|
3707
3693
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3708
3694
|
});
|
|
3709
3695
|
continue;
|
|
3710
3696
|
}
|
|
3711
|
-
if (
|
|
3712
|
-
var m = typeof l.style == "string" ? n.time[l.style] :
|
|
3697
|
+
if (kt(l)) {
|
|
3698
|
+
var m = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3713
3699
|
a.push({
|
|
3714
3700
|
type: w.literal,
|
|
3715
3701
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3716
3702
|
});
|
|
3717
3703
|
continue;
|
|
3718
3704
|
}
|
|
3719
|
-
if (
|
|
3720
|
-
var m = typeof l.style == "string" ? n.number[l.style] :
|
|
3705
|
+
if (Ft(l)) {
|
|
3706
|
+
var m = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3721
3707
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3722
3708
|
type: w.literal,
|
|
3723
3709
|
value: r.getNumberFormat(t, m).format(f)
|
|
3724
3710
|
});
|
|
3725
3711
|
continue;
|
|
3726
3712
|
}
|
|
3727
|
-
if (
|
|
3713
|
+
if (Wt(l)) {
|
|
3728
3714
|
var g = l.children, p = l.value, x = i[p];
|
|
3729
|
-
if (!
|
|
3730
|
-
throw new
|
|
3715
|
+
if (!ei(x))
|
|
3716
|
+
throw new Jn(p, "function", s);
|
|
3731
3717
|
var A = pe(g, t, r, n, i, o), H = x(A.map(function(S) {
|
|
3732
3718
|
return S.value;
|
|
3733
3719
|
}));
|
|
@@ -3738,14 +3724,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3738
3724
|
};
|
|
3739
3725
|
}));
|
|
3740
3726
|
}
|
|
3741
|
-
if (
|
|
3727
|
+
if (Vt(l)) {
|
|
3742
3728
|
var T = l.options[f] || l.options.other;
|
|
3743
3729
|
if (!T)
|
|
3744
|
-
throw new
|
|
3730
|
+
throw new Et(l.value, f, Object.keys(l.options), s);
|
|
3745
3731
|
a.push.apply(a, pe(T.value, t, r, n, i));
|
|
3746
3732
|
continue;
|
|
3747
3733
|
}
|
|
3748
|
-
if (
|
|
3734
|
+
if (Xt(l)) {
|
|
3749
3735
|
var T = l.options["=".concat(f)];
|
|
3750
3736
|
if (!T) {
|
|
3751
3737
|
if (!Intl.PluralRules)
|
|
@@ -3756,24 +3742,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3756
3742
|
T = l.options[v] || l.options.other;
|
|
3757
3743
|
}
|
|
3758
3744
|
if (!T)
|
|
3759
|
-
throw new
|
|
3745
|
+
throw new Et(l.value, f, Object.keys(l.options), s);
|
|
3760
3746
|
a.push.apply(a, pe(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3761
3747
|
continue;
|
|
3762
3748
|
}
|
|
3763
3749
|
}
|
|
3764
|
-
return
|
|
3750
|
+
return Kn(a);
|
|
3765
3751
|
}
|
|
3766
|
-
function
|
|
3752
|
+
function ti(e, t) {
|
|
3767
3753
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3768
3754
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3769
3755
|
}, {})) : e;
|
|
3770
3756
|
}
|
|
3771
|
-
function
|
|
3757
|
+
function ri(e, t) {
|
|
3772
3758
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3773
|
-
return r[n] =
|
|
3759
|
+
return r[n] = ti(e[n], t[n]), r;
|
|
3774
3760
|
}, y({}, e)) : e;
|
|
3775
3761
|
}
|
|
3776
|
-
function
|
|
3762
|
+
function Oe(e) {
|
|
3777
3763
|
return {
|
|
3778
3764
|
create: function() {
|
|
3779
3765
|
return {
|
|
@@ -3787,39 +3773,39 @@ function Ie(e) {
|
|
|
3787
3773
|
}
|
|
3788
3774
|
};
|
|
3789
3775
|
}
|
|
3790
|
-
function
|
|
3776
|
+
function ni(e) {
|
|
3791
3777
|
return e === void 0 && (e = {
|
|
3792
3778
|
number: {},
|
|
3793
3779
|
dateTime: {},
|
|
3794
3780
|
pluralRules: {}
|
|
3795
3781
|
}), {
|
|
3796
|
-
getNumberFormat:
|
|
3782
|
+
getNumberFormat: He(function() {
|
|
3797
3783
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3798
3784
|
r[n] = arguments[n];
|
|
3799
3785
|
return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
|
|
3800
3786
|
}, {
|
|
3801
|
-
cache:
|
|
3802
|
-
strategy:
|
|
3787
|
+
cache: Oe(e.number),
|
|
3788
|
+
strategy: Ae.variadic
|
|
3803
3789
|
}),
|
|
3804
|
-
getDateTimeFormat:
|
|
3790
|
+
getDateTimeFormat: He(function() {
|
|
3805
3791
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3806
3792
|
r[n] = arguments[n];
|
|
3807
3793
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
|
|
3808
3794
|
}, {
|
|
3809
|
-
cache:
|
|
3810
|
-
strategy:
|
|
3795
|
+
cache: Oe(e.dateTime),
|
|
3796
|
+
strategy: Ae.variadic
|
|
3811
3797
|
}),
|
|
3812
|
-
getPluralRules:
|
|
3798
|
+
getPluralRules: He(function() {
|
|
3813
3799
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3814
3800
|
r[n] = arguments[n];
|
|
3815
3801
|
return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
|
|
3816
3802
|
}, {
|
|
3817
|
-
cache:
|
|
3818
|
-
strategy:
|
|
3803
|
+
cache: Oe(e.pluralRules),
|
|
3804
|
+
strategy: Ae.variadic
|
|
3819
3805
|
})
|
|
3820
3806
|
};
|
|
3821
3807
|
}
|
|
3822
|
-
var
|
|
3808
|
+
var ii = (
|
|
3823
3809
|
/** @class */
|
|
3824
3810
|
function() {
|
|
3825
3811
|
function e(t, r, n, i) {
|
|
@@ -3851,13 +3837,13 @@ var si = (
|
|
|
3851
3837
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3852
3838
|
var s = i || {};
|
|
3853
3839
|
s.formatters;
|
|
3854
|
-
var a =
|
|
3840
|
+
var a = Cr(s, ["formatters"]);
|
|
3855
3841
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3856
3842
|
} else
|
|
3857
3843
|
this.ast = t;
|
|
3858
3844
|
if (!Array.isArray(this.ast))
|
|
3859
3845
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3860
|
-
this.formats =
|
|
3846
|
+
this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
|
|
3861
3847
|
}
|
|
3862
3848
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3863
3849
|
get: function() {
|
|
@@ -3870,7 +3856,7 @@ var si = (
|
|
|
3870
3856
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3871
3857
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3872
3858
|
}
|
|
3873
|
-
}, e.__parse =
|
|
3859
|
+
}, e.__parse = Qn, e.formats = {
|
|
3874
3860
|
number: {
|
|
3875
3861
|
integer: {
|
|
3876
3862
|
maximumFractionDigits: 0
|
|
@@ -3931,7 +3917,7 @@ var si = (
|
|
|
3931
3917
|
}, e;
|
|
3932
3918
|
}()
|
|
3933
3919
|
);
|
|
3934
|
-
function
|
|
3920
|
+
function oi(e, t) {
|
|
3935
3921
|
if (t == null)
|
|
3936
3922
|
return;
|
|
3937
3923
|
if (t in e)
|
|
@@ -3952,92 +3938,92 @@ function ai(e, t) {
|
|
|
3952
3938
|
n = void 0;
|
|
3953
3939
|
return n;
|
|
3954
3940
|
}
|
|
3955
|
-
const D = {},
|
|
3941
|
+
const D = {}, si = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), tr = (e, t) => {
|
|
3956
3942
|
if (t == null)
|
|
3957
3943
|
return;
|
|
3958
3944
|
if (t in D && e in D[t])
|
|
3959
3945
|
return D[t][e];
|
|
3960
3946
|
const r = xe(t);
|
|
3961
3947
|
for (let n = 0; n < r.length; n++) {
|
|
3962
|
-
const i = r[n], o =
|
|
3948
|
+
const i = r[n], o = ui(i, e);
|
|
3963
3949
|
if (o)
|
|
3964
|
-
return
|
|
3950
|
+
return si(e, t, o);
|
|
3965
3951
|
}
|
|
3966
3952
|
};
|
|
3967
|
-
let
|
|
3953
|
+
let Je;
|
|
3968
3954
|
const he = Ee({});
|
|
3969
|
-
function
|
|
3970
|
-
return
|
|
3955
|
+
function ai(e) {
|
|
3956
|
+
return Je[e] || null;
|
|
3971
3957
|
}
|
|
3972
|
-
function
|
|
3973
|
-
return e in
|
|
3958
|
+
function rr(e) {
|
|
3959
|
+
return e in Je;
|
|
3974
3960
|
}
|
|
3975
|
-
function
|
|
3976
|
-
if (!
|
|
3961
|
+
function ui(e, t) {
|
|
3962
|
+
if (!rr(e))
|
|
3977
3963
|
return null;
|
|
3978
|
-
const r =
|
|
3979
|
-
return
|
|
3964
|
+
const r = ai(e);
|
|
3965
|
+
return oi(r, t);
|
|
3980
3966
|
}
|
|
3981
|
-
function
|
|
3967
|
+
function hi(e) {
|
|
3982
3968
|
if (e == null)
|
|
3983
3969
|
return;
|
|
3984
3970
|
const t = xe(e);
|
|
3985
3971
|
for (let r = 0; r < t.length; r++) {
|
|
3986
3972
|
const n = t[r];
|
|
3987
|
-
if (
|
|
3973
|
+
if (rr(n))
|
|
3988
3974
|
return n;
|
|
3989
3975
|
}
|
|
3990
3976
|
}
|
|
3991
|
-
function
|
|
3992
|
-
delete D[e], he.update((r) => (r[e] =
|
|
3977
|
+
function nr(e, ...t) {
|
|
3978
|
+
delete D[e], he.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
|
|
3993
3979
|
}
|
|
3994
3980
|
q(
|
|
3995
3981
|
[he],
|
|
3996
3982
|
([e]) => Object.keys(e)
|
|
3997
3983
|
);
|
|
3998
|
-
he.subscribe((e) =>
|
|
3999
|
-
const
|
|
4000
|
-
function
|
|
4001
|
-
|
|
3984
|
+
he.subscribe((e) => Je = e);
|
|
3985
|
+
const de = {};
|
|
3986
|
+
function li(e, t) {
|
|
3987
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
4002
3988
|
}
|
|
4003
|
-
function
|
|
4004
|
-
return
|
|
3989
|
+
function ir(e) {
|
|
3990
|
+
return de[e];
|
|
4005
3991
|
}
|
|
4006
|
-
function
|
|
3992
|
+
function ci(e) {
|
|
4007
3993
|
return xe(e).map((t) => {
|
|
4008
|
-
const r =
|
|
3994
|
+
const r = ir(t);
|
|
4009
3995
|
return [t, r ? [...r] : []];
|
|
4010
3996
|
}).filter(([, t]) => t.length > 0);
|
|
4011
3997
|
}
|
|
4012
|
-
function
|
|
3998
|
+
function We(e) {
|
|
4013
3999
|
return e == null ? !1 : xe(e).some(
|
|
4014
4000
|
(t) => {
|
|
4015
4001
|
var r;
|
|
4016
|
-
return (r =
|
|
4002
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
4017
4003
|
}
|
|
4018
4004
|
);
|
|
4019
4005
|
}
|
|
4020
|
-
function
|
|
4006
|
+
function fi(e, t) {
|
|
4021
4007
|
return Promise.all(
|
|
4022
|
-
t.map((n) => (
|
|
4023
|
-
).then((n) =>
|
|
4008
|
+
t.map((n) => (li(e, n), n().then((i) => i.default || i)))
|
|
4009
|
+
).then((n) => nr(e, ...n));
|
|
4024
4010
|
}
|
|
4025
4011
|
const te = {};
|
|
4026
|
-
function
|
|
4027
|
-
if (!
|
|
4012
|
+
function or(e) {
|
|
4013
|
+
if (!We(e))
|
|
4028
4014
|
return e in te ? te[e] : Promise.resolve();
|
|
4029
|
-
const t =
|
|
4015
|
+
const t = ci(e);
|
|
4030
4016
|
return te[e] = Promise.all(
|
|
4031
4017
|
t.map(
|
|
4032
|
-
([r, n]) =>
|
|
4018
|
+
([r, n]) => fi(r, n)
|
|
4033
4019
|
)
|
|
4034
4020
|
).then(() => {
|
|
4035
|
-
if (
|
|
4036
|
-
return
|
|
4021
|
+
if (We(e))
|
|
4022
|
+
return or(e);
|
|
4037
4023
|
delete te[e];
|
|
4038
4024
|
}), te[e];
|
|
4039
4025
|
}
|
|
4040
|
-
const
|
|
4026
|
+
const mi = {
|
|
4041
4027
|
number: {
|
|
4042
4028
|
scientific: { notation: "scientific" },
|
|
4043
4029
|
engineering: { notation: "engineering" },
|
|
@@ -4066,57 +4052,57 @@ const bi = {
|
|
|
4066
4052
|
timeZoneName: "short"
|
|
4067
4053
|
}
|
|
4068
4054
|
}
|
|
4069
|
-
},
|
|
4055
|
+
}, pi = {
|
|
4070
4056
|
fallbackLocale: null,
|
|
4071
4057
|
loadingDelay: 200,
|
|
4072
|
-
formats:
|
|
4058
|
+
formats: mi,
|
|
4073
4059
|
warnOnMissingMessages: !0,
|
|
4074
4060
|
handleMissingMessage: void 0,
|
|
4075
4061
|
ignoreTag: !0
|
|
4076
|
-
},
|
|
4062
|
+
}, di = pi;
|
|
4077
4063
|
function J() {
|
|
4078
|
-
return
|
|
4079
|
-
}
|
|
4080
|
-
const
|
|
4081
|
-
var
|
|
4082
|
-
for (var r in t
|
|
4083
|
-
|
|
4084
|
-
if (
|
|
4085
|
-
for (var r of
|
|
4086
|
-
|
|
4064
|
+
return di;
|
|
4065
|
+
}
|
|
4066
|
+
const Ie = Ee(!1);
|
|
4067
|
+
var bi = Object.defineProperty, gi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
|
|
4068
|
+
for (var r in t)
|
|
4069
|
+
vi.call(t, r) && xt(e, r, t[r]);
|
|
4070
|
+
if (_t)
|
|
4071
|
+
for (var r of _t(t))
|
|
4072
|
+
Ei.call(t, r) && xt(e, r, t[r]);
|
|
4087
4073
|
return e;
|
|
4088
|
-
},
|
|
4089
|
-
let
|
|
4090
|
-
const
|
|
4091
|
-
function
|
|
4074
|
+
}, xi = (e, t) => gi(e, yi(t));
|
|
4075
|
+
let ze;
|
|
4076
|
+
const be = Ee(null);
|
|
4077
|
+
function Bt(e) {
|
|
4092
4078
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4093
4079
|
}
|
|
4094
4080
|
function xe(e, t = J().fallbackLocale) {
|
|
4095
|
-
const r =
|
|
4096
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4081
|
+
const r = Bt(e);
|
|
4082
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
|
4097
4083
|
}
|
|
4098
4084
|
function F() {
|
|
4099
|
-
return
|
|
4085
|
+
return ze != null ? ze : void 0;
|
|
4100
4086
|
}
|
|
4101
|
-
|
|
4102
|
-
|
|
4087
|
+
be.subscribe((e) => {
|
|
4088
|
+
ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4103
4089
|
});
|
|
4104
|
-
const
|
|
4105
|
-
if (e &&
|
|
4090
|
+
const Bi = (e) => {
|
|
4091
|
+
if (e && hi(e) && We(e)) {
|
|
4106
4092
|
const { loadingDelay: t } = J();
|
|
4107
4093
|
let r;
|
|
4108
4094
|
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4109
|
-
() =>
|
|
4095
|
+
() => Ie.set(!0),
|
|
4110
4096
|
t
|
|
4111
|
-
) :
|
|
4112
|
-
|
|
4097
|
+
) : Ie.set(!0), or(e).then(() => {
|
|
4098
|
+
be.set(e);
|
|
4113
4099
|
}).finally(() => {
|
|
4114
|
-
clearTimeout(r),
|
|
4100
|
+
clearTimeout(r), Ie.set(!1);
|
|
4115
4101
|
});
|
|
4116
4102
|
}
|
|
4117
|
-
return
|
|
4118
|
-
}, K =
|
|
4119
|
-
set:
|
|
4103
|
+
return be.set(e);
|
|
4104
|
+
}, K = xi(_i({}, be), {
|
|
4105
|
+
set: Bi
|
|
4120
4106
|
}), Be = (e) => {
|
|
4121
4107
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4122
4108
|
return (n) => {
|
|
@@ -4124,20 +4110,20 @@ const Ti = (e) => {
|
|
|
4124
4110
|
return i in t ? t[i] : t[i] = e(n);
|
|
4125
4111
|
};
|
|
4126
4112
|
};
|
|
4127
|
-
var
|
|
4113
|
+
var Si = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
|
|
4128
4114
|
for (var r in t || (t = {}))
|
|
4129
|
-
|
|
4115
|
+
sr.call(t, r) && St(e, r, t[r]);
|
|
4130
4116
|
if (ge)
|
|
4131
4117
|
for (var r of ge(t))
|
|
4132
|
-
|
|
4118
|
+
ar.call(t, r) && St(e, r, t[r]);
|
|
4133
4119
|
return e;
|
|
4134
4120
|
}, ee = (e, t) => {
|
|
4135
4121
|
var r = {};
|
|
4136
4122
|
for (var n in e)
|
|
4137
|
-
|
|
4123
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4138
4124
|
if (e != null && ge)
|
|
4139
4125
|
for (var n of ge(e))
|
|
4140
|
-
t.indexOf(n) < 0 &&
|
|
4126
|
+
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
4141
4127
|
return r;
|
|
4142
4128
|
};
|
|
4143
4129
|
const ae = (e, t) => {
|
|
@@ -4145,21 +4131,21 @@ const ae = (e, t) => {
|
|
|
4145
4131
|
if (e in r && t in r[e])
|
|
4146
4132
|
return r[e][t];
|
|
4147
4133
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4148
|
-
},
|
|
4134
|
+
}, Ti = Be(
|
|
4149
4135
|
(e) => {
|
|
4150
4136
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4151
4137
|
if (r == null)
|
|
4152
4138
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4153
4139
|
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4154
4140
|
}
|
|
4155
|
-
),
|
|
4141
|
+
), wi = Be(
|
|
4156
4142
|
(e) => {
|
|
4157
4143
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4158
4144
|
if (r == null)
|
|
4159
4145
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4160
4146
|
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4161
4147
|
}
|
|
4162
|
-
),
|
|
4148
|
+
), Hi = Be(
|
|
4163
4149
|
(e) => {
|
|
4164
4150
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4165
4151
|
if (r == null)
|
|
@@ -4168,33 +4154,33 @@ const ae = (e, t) => {
|
|
|
4168
4154
|
);
|
|
4169
4155
|
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4170
4156
|
}
|
|
4171
|
-
),
|
|
4157
|
+
), Ai = (e = {}) => {
|
|
4172
4158
|
var t = e, {
|
|
4173
4159
|
locale: r = F()
|
|
4174
4160
|
} = t, n = ee(t, [
|
|
4175
4161
|
"locale"
|
|
4176
4162
|
]);
|
|
4177
|
-
return
|
|
4178
|
-
},
|
|
4163
|
+
return Ti(qe({ locale: r }, n));
|
|
4164
|
+
}, Pi = (e = {}) => {
|
|
4179
4165
|
var t = e, {
|
|
4180
4166
|
locale: r = F()
|
|
4181
4167
|
} = t, n = ee(t, [
|
|
4182
4168
|
"locale"
|
|
4183
4169
|
]);
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4170
|
+
return wi(qe({ locale: r }, n));
|
|
4171
|
+
}, Oi = (e = {}) => {
|
|
4186
4172
|
var t = e, {
|
|
4187
4173
|
locale: r = F()
|
|
4188
4174
|
} = t, n = ee(t, [
|
|
4189
4175
|
"locale"
|
|
4190
4176
|
]);
|
|
4191
|
-
return
|
|
4192
|
-
},
|
|
4177
|
+
return Hi(qe({ locale: r }, n));
|
|
4178
|
+
}, Ii = Be(
|
|
4193
4179
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4194
|
-
(e, t = F()) => new
|
|
4180
|
+
(e, t = F()) => new ii(e, t, J().formats, {
|
|
4195
4181
|
ignoreTag: J().ignoreTag
|
|
4196
4182
|
})
|
|
4197
|
-
),
|
|
4183
|
+
), Ni = (e, t = {}) => {
|
|
4198
4184
|
var r, n, i, o;
|
|
4199
4185
|
let s = t;
|
|
4200
4186
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4207,7 +4193,7 @@ const ae = (e, t) => {
|
|
|
4207
4193
|
throw new Error(
|
|
4208
4194
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4209
4195
|
);
|
|
4210
|
-
let l =
|
|
4196
|
+
let l = tr(e, h);
|
|
4211
4197
|
if (!l)
|
|
4212
4198
|
l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4213
4199
|
else if (typeof l != "string")
|
|
@@ -4218,7 +4204,7 @@ const ae = (e, t) => {
|
|
|
4218
4204
|
return l;
|
|
4219
4205
|
let c = l;
|
|
4220
4206
|
try {
|
|
4221
|
-
c =
|
|
4207
|
+
c = Ii(l, h).format(a);
|
|
4222
4208
|
} catch (f) {
|
|
4223
4209
|
f instanceof Error && console.warn(
|
|
4224
4210
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4226,20 +4212,20 @@ const ae = (e, t) => {
|
|
|
4226
4212
|
);
|
|
4227
4213
|
}
|
|
4228
4214
|
return c;
|
|
4229
|
-
},
|
|
4215
|
+
}, Mi = (e, t) => Oi(t).format(e), Li = (e, t) => Pi(t).format(e), Ci = (e, t) => Ai(t).format(e), $i = (e, t = F()) => tr(e, t), Ri = q([K, he], () => Ni);
|
|
4216
|
+
q([K], () => Mi);
|
|
4217
|
+
q([K], () => Li);
|
|
4230
4218
|
q([K], () => Ci);
|
|
4231
|
-
q([K], () => $i);
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
}
|
|
4239
|
-
function Fi(e) {
|
|
4219
|
+
q([K, he], () => $i);
|
|
4220
|
+
window.emWidgets = { topic: Yr };
|
|
4221
|
+
const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4222
|
+
function Tt(e, t) {
|
|
4223
|
+
nr(e, t);
|
|
4224
|
+
}
|
|
4225
|
+
function Ui(e) {
|
|
4240
4226
|
K.set(e);
|
|
4241
4227
|
}
|
|
4242
|
-
const
|
|
4228
|
+
const wt = {
|
|
4243
4229
|
en: {
|
|
4244
4230
|
titleBiometrics: "Biometrics Authentication",
|
|
4245
4231
|
descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
|
|
@@ -4318,13 +4304,13 @@ const At = {
|
|
|
4318
4304
|
btnDisableBiometrics: "Disable biometrics"
|
|
4319
4305
|
}
|
|
4320
4306
|
};
|
|
4321
|
-
function
|
|
4307
|
+
function Gi(e, t) {
|
|
4322
4308
|
if (e) {
|
|
4323
4309
|
const r = document.createElement("style");
|
|
4324
4310
|
r.innerHTML = t, e.appendChild(r);
|
|
4325
4311
|
}
|
|
4326
4312
|
}
|
|
4327
|
-
function
|
|
4313
|
+
function Fi(e, t) {
|
|
4328
4314
|
const r = new URL(t);
|
|
4329
4315
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4330
4316
|
const i = document.createElement("style");
|
|
@@ -4333,7 +4319,7 @@ function ki(e, t) {
|
|
|
4333
4319
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4334
4320
|
});
|
|
4335
4321
|
}
|
|
4336
|
-
function
|
|
4322
|
+
function ji(e, t, r) {
|
|
4337
4323
|
if (window.emMessageBus) {
|
|
4338
4324
|
const n = document.createElement("style");
|
|
4339
4325
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4341,10 +4327,10 @@ function Vi(e, t, r) {
|
|
|
4341
4327
|
});
|
|
4342
4328
|
}
|
|
4343
4329
|
}
|
|
4344
|
-
function
|
|
4345
|
-
|
|
4330
|
+
function ki(e) {
|
|
4331
|
+
dr(e, "svelte-6qxh5g", ".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, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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}");
|
|
4346
4332
|
}
|
|
4347
|
-
function
|
|
4333
|
+
function Vi(e) {
|
|
4348
4334
|
let t, r, n, i, o, s, a, h, u, l, c = (
|
|
4349
4335
|
/*$_*/
|
|
4350
4336
|
e[2]("titleBiometrics") + ""
|
|
@@ -4354,7 +4340,7 @@ function Wi(e) {
|
|
|
4354
4340
|
t = I("div"), r = j("svg"), n = j("defs"), i = j("style"), o = G(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = j("g"), a = j("g"), h = j("path"), u = re(), l = I("h2"), f = G(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");
|
|
4355
4341
|
},
|
|
4356
4342
|
m(p, x) {
|
|
4357
|
-
|
|
4343
|
+
Ye(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 = Ot(
|
|
4358
4344
|
t,
|
|
4359
4345
|
"click",
|
|
4360
4346
|
/*click_handler*/
|
|
@@ -4371,7 +4357,7 @@ function Wi(e) {
|
|
|
4371
4357
|
}
|
|
4372
4358
|
};
|
|
4373
4359
|
}
|
|
4374
|
-
function
|
|
4360
|
+
function Xi(e) {
|
|
4375
4361
|
let t, r, n, i, o = (
|
|
4376
4362
|
/*$_*/
|
|
4377
4363
|
e[2]("titleBiometrics") + ""
|
|
@@ -4392,7 +4378,7 @@ function zi(e) {
|
|
|
4392
4378
|
)) + ""
|
|
4393
4379
|
), v, S, M, L = (
|
|
4394
4380
|
/*isMobile*/
|
|
4395
|
-
e[3] &&
|
|
4381
|
+
e[3] && Vi(e)
|
|
4396
4382
|
);
|
|
4397
4383
|
return {
|
|
4398
4384
|
c() {
|
|
@@ -4403,7 +4389,7 @@ function zi(e) {
|
|
|
4403
4389
|
(e[3] ? "BiometricsWrapperMobile" : ""));
|
|
4404
4390
|
},
|
|
4405
4391
|
m(P, U) {
|
|
4406
|
-
|
|
4392
|
+
Ye(P, t, U), E(t, r), L && L.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 || (M = Ot(
|
|
4407
4393
|
H,
|
|
4408
4394
|
"click",
|
|
4409
4395
|
/*click_handler_1*/
|
|
@@ -4435,24 +4421,24 @@ function zi(e) {
|
|
|
4435
4421
|
}
|
|
4436
4422
|
};
|
|
4437
4423
|
}
|
|
4438
|
-
function
|
|
4424
|
+
function Wi(e, t, r) {
|
|
4439
4425
|
let n;
|
|
4440
|
-
|
|
4441
|
-
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 =
|
|
4426
|
+
pr(e, Ri, (v) => r(2, n = v));
|
|
4427
|
+
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 = Di(c) !== "PC";
|
|
4442
4428
|
const m = () => {
|
|
4443
4429
|
fetch(u).then((S) => S.json()).then((S) => {
|
|
4444
4430
|
Object.keys(S).forEach((M) => {
|
|
4445
|
-
|
|
4431
|
+
Tt(M, S[M]);
|
|
4446
4432
|
});
|
|
4447
4433
|
}).catch((S) => {
|
|
4448
4434
|
console.log(S);
|
|
4449
4435
|
});
|
|
4450
4436
|
};
|
|
4451
|
-
Object.keys(
|
|
4452
|
-
|
|
4437
|
+
Object.keys(wt).forEach((v) => {
|
|
4438
|
+
Tt(v, wt[v]);
|
|
4453
4439
|
});
|
|
4454
4440
|
const g = () => {
|
|
4455
|
-
|
|
4441
|
+
Ui(o);
|
|
4456
4442
|
}, p = () => {
|
|
4457
4443
|
window.postMessage(
|
|
4458
4444
|
{
|
|
@@ -4467,11 +4453,11 @@ function Zi(e, t, r) {
|
|
|
4467
4453
|
data: i
|
|
4468
4454
|
});
|
|
4469
4455
|
};
|
|
4470
|
-
|
|
4456
|
+
_r(() => () => {
|
|
4471
4457
|
});
|
|
4472
4458
|
const A = () => p(), H = () => x();
|
|
4473
4459
|
function T(v) {
|
|
4474
|
-
|
|
4460
|
+
Ne[v ? "unshift" : "push"](() => {
|
|
4475
4461
|
l = v, r(1, l);
|
|
4476
4462
|
});
|
|
4477
4463
|
}
|
|
@@ -4480,9 +4466,9 @@ function Zi(e, t, r) {
|
|
|
4480
4466
|
}, e.$$.update = () => {
|
|
4481
4467
|
e.$$.dirty & /*lang*/
|
|
4482
4468
|
64 && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4483
|
-
130 && s && l &&
|
|
4484
|
-
258 && a && l &&
|
|
4485
|
-
514 && h && l &&
|
|
4469
|
+
130 && s && l && Gi(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4470
|
+
258 && a && l && Fi(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4471
|
+
514 && h && l && ji(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4486
4472
|
1024 && u && m();
|
|
4487
4473
|
}, [
|
|
4488
4474
|
i,
|
|
@@ -4501,14 +4487,14 @@ function Zi(e, t, r) {
|
|
|
4501
4487
|
T
|
|
4502
4488
|
];
|
|
4503
4489
|
}
|
|
4504
|
-
class
|
|
4490
|
+
class zi extends Mr {
|
|
4505
4491
|
constructor(t) {
|
|
4506
|
-
super(),
|
|
4492
|
+
super(), Ir(
|
|
4507
4493
|
this,
|
|
4508
4494
|
t,
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4495
|
+
Wi,
|
|
4496
|
+
Xi,
|
|
4497
|
+
At,
|
|
4512
4498
|
{
|
|
4513
4499
|
biometricsenabled: 0,
|
|
4514
4500
|
lang: 6,
|
|
@@ -4517,7 +4503,7 @@ class Yi extends $r {
|
|
|
4517
4503
|
mbsource: 9,
|
|
4518
4504
|
translationurl: 10
|
|
4519
4505
|
},
|
|
4520
|
-
|
|
4506
|
+
ki
|
|
4521
4507
|
);
|
|
4522
4508
|
}
|
|
4523
4509
|
get biometricsenabled() {
|
|
@@ -4557,7 +4543,7 @@ class Yi extends $r {
|
|
|
4557
4543
|
this.$$set({ translationurl: t }), R();
|
|
4558
4544
|
}
|
|
4559
4545
|
}
|
|
4560
|
-
|
|
4546
|
+
Nr(zi, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4561
4547
|
export {
|
|
4562
|
-
|
|
4548
|
+
zi as default
|
|
4563
4549
|
};
|