@everymatrix/player-account-closure-nd 1.61.1 → 1.62.0
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/{PlayerAccountClosureNd-DeiZ-6ZS.js → PlayerAccountClosureNd-CC4pYH5Z.js} +542 -520
- package/components/{PlayerAccountClosureNd-BCjgMxnj.js → PlayerAccountClosureNd-C_2Lx9S3.js} +563 -541
- package/components/PlayerAccountClosureNd-DjqN8YNi.cjs +18 -0
- package/es2015/player-account-closure-nd.cjs +1 -1
- package/es2015/player-account-closure-nd.js +1 -1
- package/esnext/player-account-closure-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountClosureNd-BJAXCC_L.cjs +0 -18
package/components/{PlayerAccountClosureNd-DeiZ-6ZS.js → PlayerAccountClosureNd-CC4pYH5Z.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function O() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function At(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function et() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function J(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(At);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ze(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function St(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function sr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Tt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,20 +27,20 @@ function Ct(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function ar(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(Tt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function v(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function ur(e, t, r) {
|
|
37
|
+
const n = lr(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const i = B("style");
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
40
|
+
i.id = t, i.textContent = r, cr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function lr(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function or(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function cr(e, t) {
|
|
54
54
|
return v(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -69,11 +69,11 @@ function B(e) {
|
|
|
69
69
|
function j(e) {
|
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function I(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
75
|
function D() {
|
|
76
|
-
return
|
|
76
|
+
return I(" ");
|
|
77
77
|
}
|
|
78
78
|
function me(e, t, r, n) {
|
|
79
79
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -81,14 +81,14 @@ function me(e, t, r, n) {
|
|
|
81
81
|
function E(e, t, r) {
|
|
82
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function hr(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
87
|
function U(e, t) {
|
|
88
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
89
89
|
t);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function fr(e) {
|
|
92
92
|
const t = {};
|
|
93
93
|
return e.childNodes.forEach(
|
|
94
94
|
/** @param {Element} node */
|
|
@@ -101,25 +101,25 @@ let ie;
|
|
|
101
101
|
function ne(e) {
|
|
102
102
|
ie = e;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function pr() {
|
|
105
105
|
if (!ie)
|
|
106
106
|
throw new Error("Function called outside component initialization");
|
|
107
107
|
return ie;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
109
|
+
function dr(e) {
|
|
110
|
+
pr().$$.on_mount.push(e);
|
|
111
111
|
}
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
const
|
|
115
|
-
let
|
|
116
|
-
function
|
|
117
|
-
|
|
112
|
+
const V = [], Oe = [];
|
|
113
|
+
let W = [];
|
|
114
|
+
const tt = [], mr = /* @__PURE__ */ Promise.resolve();
|
|
115
|
+
let Ie = !1;
|
|
116
|
+
function br() {
|
|
117
|
+
Ie || (Ie = !0, mr.then(R));
|
|
118
118
|
}
|
|
119
119
|
function Ne(e) {
|
|
120
|
-
|
|
120
|
+
W.push(e);
|
|
121
121
|
}
|
|
122
|
-
const
|
|
122
|
+
const we = /* @__PURE__ */ new Set();
|
|
123
123
|
let k = 0;
|
|
124
124
|
function R() {
|
|
125
125
|
if (k !== 0)
|
|
@@ -127,55 +127,55 @@ function R() {
|
|
|
127
127
|
const e = ie;
|
|
128
128
|
do {
|
|
129
129
|
try {
|
|
130
|
-
for (; k <
|
|
131
|
-
const t =
|
|
132
|
-
k++, ne(t),
|
|
130
|
+
for (; k < V.length; ) {
|
|
131
|
+
const t = V[k];
|
|
132
|
+
k++, ne(t), vr(t.$$);
|
|
133
133
|
}
|
|
134
134
|
} catch (t) {
|
|
135
|
-
throw
|
|
135
|
+
throw V.length = 0, k = 0, t;
|
|
136
136
|
}
|
|
137
|
-
for (ne(null),
|
|
138
|
-
|
|
139
|
-
for (let t = 0; t <
|
|
140
|
-
const r =
|
|
141
|
-
|
|
137
|
+
for (ne(null), V.length = 0, k = 0; Oe.length; )
|
|
138
|
+
Oe.pop()();
|
|
139
|
+
for (let t = 0; t < W.length; t += 1) {
|
|
140
|
+
const r = W[t];
|
|
141
|
+
we.has(r) || (we.add(r), r());
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
} while (
|
|
145
|
-
for (;
|
|
146
|
-
|
|
147
|
-
|
|
143
|
+
W.length = 0;
|
|
144
|
+
} while (V.length);
|
|
145
|
+
for (; tt.length; )
|
|
146
|
+
tt.pop()();
|
|
147
|
+
Ie = !1, we.clear(), ne(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function vr(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
151
|
e.update(), J(e.before_update);
|
|
152
152
|
const t = e.dirty;
|
|
153
153
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function gr(e) {
|
|
157
157
|
const t = [], r = [];
|
|
158
|
-
|
|
158
|
+
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
160
|
+
const yr = /* @__PURE__ */ new Set();
|
|
161
|
+
function xr(e, t) {
|
|
162
|
+
e && e.i && (yr.delete(e), e.i(t));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Er(e, t, r) {
|
|
165
165
|
const { fragment: n, after_update: i } = e.$$;
|
|
166
166
|
n && n.m(t, r), Ne(() => {
|
|
167
|
-
const o = e.$$.on_mount.map(
|
|
167
|
+
const o = e.$$.on_mount.map(At).filter(Ze);
|
|
168
168
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
|
169
169
|
}), i.forEach(Ne);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function _r(e, t) {
|
|
172
172
|
const r = e.$$;
|
|
173
|
-
r.fragment !== null && (
|
|
173
|
+
r.fragment !== null && (gr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && (
|
|
175
|
+
function Cr(e, t) {
|
|
176
|
+
e.$$.dirty[0] === -1 && (V.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
179
179
|
const u = ie;
|
|
180
180
|
ne(e);
|
|
181
181
|
const l = e.$$ = {
|
|
@@ -185,7 +185,7 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
185
185
|
props: o,
|
|
186
186
|
update: O,
|
|
187
187
|
not_equal: i,
|
|
188
|
-
bound:
|
|
188
|
+
bound: et(),
|
|
189
189
|
// lifecycle
|
|
190
190
|
on_mount: [],
|
|
191
191
|
on_destroy: [],
|
|
@@ -194,7 +194,7 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
194
194
|
after_update: [],
|
|
195
195
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
196
196
|
// everything else
|
|
197
|
-
callbacks:
|
|
197
|
+
callbacks: et(),
|
|
198
198
|
dirty: a,
|
|
199
199
|
skip_bound: !1,
|
|
200
200
|
root: t.target || u.$$.root
|
|
@@ -203,19 +203,19 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
203
203
|
let c = !1;
|
|
204
204
|
if (l.ctx = r ? r(e, t.props || {}, (f, h, ...p) => {
|
|
205
205
|
const m = p.length ? p[0] : h;
|
|
206
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), c &&
|
|
206
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), c && Cr(e, f)), h;
|
|
207
207
|
}) : [], l.update(), c = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
208
208
|
if (t.hydrate) {
|
|
209
|
-
const f =
|
|
209
|
+
const f = hr(t.target);
|
|
210
210
|
l.fragment && l.fragment.l(f), f.forEach(ae);
|
|
211
211
|
} else
|
|
212
212
|
l.fragment && l.fragment.c();
|
|
213
|
-
t.intro &&
|
|
213
|
+
t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), R();
|
|
214
214
|
}
|
|
215
215
|
ne(u);
|
|
216
216
|
}
|
|
217
|
-
let
|
|
218
|
-
typeof HTMLElement == "function" && (
|
|
217
|
+
let Bt;
|
|
218
|
+
typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
219
219
|
/** The Svelte component constructor */
|
|
220
220
|
$$ctor;
|
|
221
221
|
/** Slots */
|
|
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
274
274
|
};
|
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
276
276
|
return;
|
|
277
|
-
const t = {}, r =
|
|
277
|
+
const t = {}, r = fr(this);
|
|
278
278
|
for (const i of this.$$s)
|
|
279
279
|
i in r && (t[i] = [e(i)]);
|
|
280
280
|
for (const i of this.attributes) {
|
|
@@ -361,8 +361,8 @@ function he(e, t, r, n) {
|
|
|
361
361
|
return t;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
let s = class extends
|
|
364
|
+
function Ar(e, t, r, n, i, o) {
|
|
365
|
+
let s = class extends Bt {
|
|
366
366
|
constructor() {
|
|
367
367
|
super(e, r, i), this.$$p_d = t;
|
|
368
368
|
}
|
|
@@ -390,7 +390,7 @@ function Er(e, t, r, n, i, o) {
|
|
|
390
390
|
}), e.element = /** @type {any} */
|
|
391
391
|
s, s;
|
|
392
392
|
}
|
|
393
|
-
class
|
|
393
|
+
class Sr {
|
|
394
394
|
/**
|
|
395
395
|
* ### PRIVATE API
|
|
396
396
|
*
|
|
@@ -409,7 +409,7 @@ class _r {
|
|
|
409
409
|
$$set = void 0;
|
|
410
410
|
/** @returns {void} */
|
|
411
411
|
$destroy() {
|
|
412
|
-
|
|
412
|
+
_r(this, 1), this.$destroy = O;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -418,7 +418,7 @@ class _r {
|
|
|
418
418
|
* @returns {() => void}
|
|
419
419
|
*/
|
|
420
420
|
$on(t, r) {
|
|
421
|
-
if (!
|
|
421
|
+
if (!Ze(r))
|
|
422
422
|
return O;
|
|
423
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
424
424
|
return n.push(r), () => {
|
|
@@ -431,11 +431,11 @@ class _r {
|
|
|
431
431
|
* @returns {void}
|
|
432
432
|
*/
|
|
433
433
|
$set(t) {
|
|
434
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
437
|
+
const Tr = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
|
|
439
439
|
/*! *****************************************************************************
|
|
440
440
|
Copyright (c) Microsoft Corporation.
|
|
441
441
|
|
|
@@ -450,18 +450,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
450
450
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
451
451
|
PERFORMANCE OF THIS SOFTWARE.
|
|
452
452
|
***************************************************************************** */
|
|
453
|
-
var
|
|
454
|
-
return
|
|
453
|
+
var Le = function(e, t) {
|
|
454
|
+
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
455
455
|
r.__proto__ = n;
|
|
456
456
|
} || function(r, n) {
|
|
457
457
|
for (var i in n)
|
|
458
458
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
459
|
-
},
|
|
459
|
+
}, Le(e, t);
|
|
460
460
|
};
|
|
461
461
|
function L(e, t) {
|
|
462
462
|
if (typeof t != "function" && t !== null)
|
|
463
463
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
464
|
-
|
|
464
|
+
Le(e, t);
|
|
465
465
|
function r() {
|
|
466
466
|
this.constructor = e;
|
|
467
467
|
}
|
|
@@ -477,7 +477,7 @@ var x = function() {
|
|
|
477
477
|
return t;
|
|
478
478
|
}, x.apply(this, arguments);
|
|
479
479
|
};
|
|
480
|
-
function
|
|
480
|
+
function Br(e, t) {
|
|
481
481
|
var r = {};
|
|
482
482
|
for (var n in e)
|
|
483
483
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -486,7 +486,7 @@ function Cr(e, t) {
|
|
|
486
486
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
487
487
|
return r;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function $e(e) {
|
|
490
490
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
491
491
|
if (r)
|
|
492
492
|
return r.call(e);
|
|
@@ -498,7 +498,7 @@ function Le(e) {
|
|
|
498
498
|
};
|
|
499
499
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function Re(e, t) {
|
|
502
502
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
503
503
|
if (!r)
|
|
504
504
|
return e;
|
|
@@ -524,16 +524,16 @@ function X(e, t, r) {
|
|
|
524
524
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
525
525
|
return e.concat(o || t);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function N(e) {
|
|
528
528
|
return typeof e == "function";
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Ht(e) {
|
|
531
531
|
var t = function(n) {
|
|
532
532
|
Error.call(n), n.stack = new Error().stack;
|
|
533
533
|
}, r = e(t);
|
|
534
534
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
535
535
|
}
|
|
536
|
-
var Ae =
|
|
536
|
+
var Ae = Ht(function(e) {
|
|
537
537
|
return function(r) {
|
|
538
538
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
539
539
|
` + r.map(function(n, i) {
|
|
@@ -542,7 +542,7 @@ var Ae = St(function(e) {
|
|
|
542
542
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
543
543
|
};
|
|
544
544
|
});
|
|
545
|
-
function
|
|
545
|
+
function De(e, t) {
|
|
546
546
|
if (e) {
|
|
547
547
|
var r = e.indexOf(t);
|
|
548
548
|
0 <= r && e.splice(r, 1);
|
|
@@ -560,7 +560,7 @@ var ye = function() {
|
|
|
560
560
|
if (s)
|
|
561
561
|
if (this._parentage = null, Array.isArray(s))
|
|
562
562
|
try {
|
|
563
|
-
for (var a =
|
|
563
|
+
for (var a = $e(s), u = a.next(); !u.done; u = a.next()) {
|
|
564
564
|
var l = u.value;
|
|
565
565
|
l.remove(this);
|
|
566
566
|
}
|
|
@@ -577,7 +577,7 @@ var ye = function() {
|
|
|
577
577
|
else
|
|
578
578
|
s.remove(this);
|
|
579
579
|
var c = this.initialTeardown;
|
|
580
|
-
if (
|
|
580
|
+
if (N(c))
|
|
581
581
|
try {
|
|
582
582
|
c();
|
|
583
583
|
} catch (d) {
|
|
@@ -587,12 +587,12 @@ var ye = function() {
|
|
|
587
587
|
if (f) {
|
|
588
588
|
this._finalizers = null;
|
|
589
589
|
try {
|
|
590
|
-
for (var h =
|
|
590
|
+
for (var h = $e(f), p = h.next(); !p.done; p = h.next()) {
|
|
591
591
|
var m = p.value;
|
|
592
592
|
try {
|
|
593
|
-
|
|
593
|
+
rt(m);
|
|
594
594
|
} catch (d) {
|
|
595
|
-
o = o ?? [], d instanceof Ae ? o = X(X([],
|
|
595
|
+
o = o ?? [], d instanceof Ae ? o = X(X([], Re(o)), Re(d.errors)) : o.push(d);
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
} catch (d) {
|
|
@@ -613,7 +613,7 @@ var ye = function() {
|
|
|
613
613
|
var r;
|
|
614
614
|
if (t && t !== this)
|
|
615
615
|
if (this.closed)
|
|
616
|
-
|
|
616
|
+
rt(t);
|
|
617
617
|
else {
|
|
618
618
|
if (t instanceof e) {
|
|
619
619
|
if (t.closed || t._hasParent(this))
|
|
@@ -630,52 +630,56 @@ var ye = function() {
|
|
|
630
630
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
631
631
|
}, e.prototype._removeParent = function(t) {
|
|
632
632
|
var r = this._parentage;
|
|
633
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
633
|
+
r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
|
|
634
634
|
}, e.prototype.remove = function(t) {
|
|
635
635
|
var r = this._finalizers;
|
|
636
|
-
r &&
|
|
636
|
+
r && De(r, t), t instanceof e && t._removeParent(this);
|
|
637
637
|
}, e.EMPTY = function() {
|
|
638
638
|
var t = new e();
|
|
639
639
|
return t.closed = !0, t;
|
|
640
640
|
}(), e;
|
|
641
|
-
}(),
|
|
642
|
-
function
|
|
643
|
-
return e instanceof ye || e && "closed" in e &&
|
|
644
|
-
}
|
|
645
|
-
function Ke(e) {
|
|
646
|
-
I(e) ? e() : e.unsubscribe();
|
|
641
|
+
}(), Mt = ye.EMPTY;
|
|
642
|
+
function Pt(e) {
|
|
643
|
+
return e instanceof ye || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
647
644
|
}
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
}
|
|
645
|
+
function rt(e) {
|
|
646
|
+
N(e) ? e() : e.unsubscribe();
|
|
647
|
+
}
|
|
648
|
+
var Ot = {
|
|
649
|
+
onUnhandledError: null,
|
|
650
|
+
onStoppedNotification: null,
|
|
651
|
+
Promise: void 0,
|
|
652
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
653
|
+
useDeprecatedNextContext: !1
|
|
654
|
+
}, Hr = {
|
|
651
655
|
setTimeout: function(e, t) {
|
|
652
656
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
653
657
|
r[n - 2] = arguments[n];
|
|
654
|
-
return setTimeout.apply(void 0, X([e, t],
|
|
658
|
+
return setTimeout.apply(void 0, X([e, t], Re(r)));
|
|
655
659
|
},
|
|
656
660
|
clearTimeout: function(e) {
|
|
657
661
|
return clearTimeout(e);
|
|
658
662
|
},
|
|
659
663
|
delegate: void 0
|
|
660
664
|
};
|
|
661
|
-
function
|
|
662
|
-
|
|
665
|
+
function Mr(e) {
|
|
666
|
+
Hr.setTimeout(function() {
|
|
663
667
|
throw e;
|
|
664
668
|
});
|
|
665
669
|
}
|
|
666
|
-
function
|
|
670
|
+
function nt() {
|
|
667
671
|
}
|
|
668
672
|
function fe(e) {
|
|
669
673
|
e();
|
|
670
674
|
}
|
|
671
|
-
var
|
|
675
|
+
var It = function(e) {
|
|
672
676
|
L(t, e);
|
|
673
677
|
function t(r) {
|
|
674
678
|
var n = e.call(this) || this;
|
|
675
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
679
|
+
return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Nr, n;
|
|
676
680
|
}
|
|
677
681
|
return t.create = function(r, n, i) {
|
|
678
|
-
return new
|
|
682
|
+
return new Ue(r, n, i);
|
|
679
683
|
}, t.prototype.next = function(r) {
|
|
680
684
|
this.isStopped || this._next(r);
|
|
681
685
|
}, t.prototype.error = function(r) {
|
|
@@ -699,7 +703,11 @@ var Ht = function(e) {
|
|
|
699
703
|
this.unsubscribe();
|
|
700
704
|
}
|
|
701
705
|
}, t;
|
|
702
|
-
}(ye),
|
|
706
|
+
}(ye), Pr = Function.prototype.bind;
|
|
707
|
+
function Se(e, t) {
|
|
708
|
+
return Pr.call(e, t);
|
|
709
|
+
}
|
|
710
|
+
var Or = function() {
|
|
703
711
|
function e(t) {
|
|
704
712
|
this.partialObserver = t;
|
|
705
713
|
}
|
|
@@ -730,43 +738,55 @@ var Ht = function(e) {
|
|
|
730
738
|
le(r);
|
|
731
739
|
}
|
|
732
740
|
}, e;
|
|
733
|
-
}(),
|
|
741
|
+
}(), Ue = function(e) {
|
|
734
742
|
L(t, e);
|
|
735
743
|
function t(r, n, i) {
|
|
736
744
|
var o = e.call(this) || this, s;
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
745
|
+
if (N(r) || !r)
|
|
746
|
+
s = {
|
|
747
|
+
next: r ?? void 0,
|
|
748
|
+
error: n ?? void 0,
|
|
749
|
+
complete: i ?? void 0
|
|
750
|
+
};
|
|
751
|
+
else {
|
|
752
|
+
var a;
|
|
753
|
+
o && Ot.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
754
|
+
return o.unsubscribe();
|
|
755
|
+
}, s = {
|
|
756
|
+
next: r.next && Se(r.next, a),
|
|
757
|
+
error: r.error && Se(r.error, a),
|
|
758
|
+
complete: r.complete && Se(r.complete, a)
|
|
759
|
+
}) : s = r;
|
|
760
|
+
}
|
|
761
|
+
return o.destination = new Or(s), o;
|
|
742
762
|
}
|
|
743
763
|
return t;
|
|
744
|
-
}(
|
|
764
|
+
}(It);
|
|
745
765
|
function le(e) {
|
|
746
|
-
|
|
766
|
+
Mr(e);
|
|
747
767
|
}
|
|
748
|
-
function
|
|
768
|
+
function Ir(e) {
|
|
749
769
|
throw e;
|
|
750
770
|
}
|
|
751
|
-
var
|
|
771
|
+
var Nr = {
|
|
752
772
|
closed: !0,
|
|
753
|
-
next:
|
|
754
|
-
error:
|
|
755
|
-
complete:
|
|
756
|
-
},
|
|
773
|
+
next: nt,
|
|
774
|
+
error: Ir,
|
|
775
|
+
complete: nt
|
|
776
|
+
}, Lr = function() {
|
|
757
777
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
758
778
|
}();
|
|
759
|
-
function
|
|
779
|
+
function $r(e) {
|
|
760
780
|
return e;
|
|
761
781
|
}
|
|
762
|
-
function
|
|
763
|
-
return e.length === 0 ?
|
|
782
|
+
function Rr(e) {
|
|
783
|
+
return e.length === 0 ? $r : e.length === 1 ? e[0] : function(r) {
|
|
764
784
|
return e.reduce(function(n, i) {
|
|
765
785
|
return i(n);
|
|
766
786
|
}, r);
|
|
767
787
|
};
|
|
768
788
|
}
|
|
769
|
-
var
|
|
789
|
+
var it = function() {
|
|
770
790
|
function e(t) {
|
|
771
791
|
t && (this._subscribe = t);
|
|
772
792
|
}
|
|
@@ -774,7 +794,7 @@ var tt = function() {
|
|
|
774
794
|
var r = new e();
|
|
775
795
|
return r.source = this, r.operator = t, r;
|
|
776
796
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
777
|
-
var i = this, o =
|
|
797
|
+
var i = this, o = Ur(t) ? t : new Ue(t, r, n);
|
|
778
798
|
return fe(function() {
|
|
779
799
|
var s = i, a = s.operator, u = s.source;
|
|
780
800
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -787,8 +807,8 @@ var tt = function() {
|
|
|
787
807
|
}
|
|
788
808
|
}, e.prototype.forEach = function(t, r) {
|
|
789
809
|
var n = this;
|
|
790
|
-
return r =
|
|
791
|
-
var s = new
|
|
810
|
+
return r = ot(r), new r(function(i, o) {
|
|
811
|
+
var s = new Ue({
|
|
792
812
|
next: function(a) {
|
|
793
813
|
try {
|
|
794
814
|
t(a);
|
|
@@ -804,15 +824,15 @@ var tt = function() {
|
|
|
804
824
|
}, e.prototype._subscribe = function(t) {
|
|
805
825
|
var r;
|
|
806
826
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
807
|
-
}, e.prototype[
|
|
827
|
+
}, e.prototype[Lr] = function() {
|
|
808
828
|
return this;
|
|
809
829
|
}, e.prototype.pipe = function() {
|
|
810
830
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
811
831
|
t[r] = arguments[r];
|
|
812
|
-
return
|
|
832
|
+
return Rr(t)(this);
|
|
813
833
|
}, e.prototype.toPromise = function(t) {
|
|
814
834
|
var r = this;
|
|
815
|
-
return t =
|
|
835
|
+
return t = ot(t), new t(function(n, i) {
|
|
816
836
|
var o;
|
|
817
837
|
r.subscribe(function(s) {
|
|
818
838
|
return o = s;
|
|
@@ -826,32 +846,32 @@ var tt = function() {
|
|
|
826
846
|
return new e(t);
|
|
827
847
|
}, e;
|
|
828
848
|
}();
|
|
829
|
-
function
|
|
849
|
+
function ot(e) {
|
|
830
850
|
var t;
|
|
831
|
-
return (t = e ??
|
|
851
|
+
return (t = e ?? Ot.Promise) !== null && t !== void 0 ? t : Promise;
|
|
832
852
|
}
|
|
833
|
-
function
|
|
834
|
-
return e &&
|
|
853
|
+
function Dr(e) {
|
|
854
|
+
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
835
855
|
}
|
|
836
|
-
function
|
|
837
|
-
return e && e instanceof
|
|
856
|
+
function Ur(e) {
|
|
857
|
+
return e && e instanceof It || Dr(e) && Pt(e);
|
|
838
858
|
}
|
|
839
|
-
var
|
|
859
|
+
var Fr = Ht(function(e) {
|
|
840
860
|
return function() {
|
|
841
861
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
842
862
|
};
|
|
843
|
-
}),
|
|
863
|
+
}), Nt = function(e) {
|
|
844
864
|
L(t, e);
|
|
845
865
|
function t() {
|
|
846
866
|
var r = e.call(this) || this;
|
|
847
867
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
848
868
|
}
|
|
849
869
|
return t.prototype.lift = function(r) {
|
|
850
|
-
var n = new
|
|
870
|
+
var n = new st(this, this);
|
|
851
871
|
return n.operator = r, n;
|
|
852
872
|
}, t.prototype._throwIfClosed = function() {
|
|
853
873
|
if (this.closed)
|
|
854
|
-
throw new
|
|
874
|
+
throw new Fr();
|
|
855
875
|
}, t.prototype.next = function(r) {
|
|
856
876
|
var n = this;
|
|
857
877
|
fe(function() {
|
|
@@ -859,7 +879,7 @@ var $r = St(function(e) {
|
|
|
859
879
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
860
880
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
861
881
|
try {
|
|
862
|
-
for (var s =
|
|
882
|
+
for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
863
883
|
var u = a.value;
|
|
864
884
|
u.next(r);
|
|
865
885
|
}
|
|
@@ -908,19 +928,19 @@ var $r = St(function(e) {
|
|
|
908
928
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
909
929
|
}, t.prototype._innerSubscribe = function(r) {
|
|
910
930
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
911
|
-
return o || s ?
|
|
912
|
-
n.currentObservers = null,
|
|
931
|
+
return o || s ? Mt : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
932
|
+
n.currentObservers = null, De(a, r);
|
|
913
933
|
}));
|
|
914
934
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
915
935
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
916
936
|
i ? r.error(o) : s && r.complete();
|
|
917
937
|
}, t.prototype.asObservable = function() {
|
|
918
|
-
var r = new
|
|
938
|
+
var r = new it();
|
|
919
939
|
return r.source = this, r;
|
|
920
940
|
}, t.create = function(r, n) {
|
|
921
|
-
return new
|
|
941
|
+
return new st(r, n);
|
|
922
942
|
}, t;
|
|
923
|
-
}(
|
|
943
|
+
}(it), st = function(e) {
|
|
924
944
|
L(t, e);
|
|
925
945
|
function t(r, n) {
|
|
926
946
|
var i = e.call(this) || this;
|
|
@@ -937,17 +957,17 @@ var $r = St(function(e) {
|
|
|
937
957
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
938
958
|
}, t.prototype._subscribe = function(r) {
|
|
939
959
|
var n, i;
|
|
940
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
960
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
|
|
941
961
|
}, t;
|
|
942
|
-
}(
|
|
962
|
+
}(Nt), Lt = {
|
|
943
963
|
now: function() {
|
|
944
|
-
return (
|
|
964
|
+
return (Lt.delegate || Date).now();
|
|
945
965
|
},
|
|
946
966
|
delegate: void 0
|
|
947
|
-
},
|
|
967
|
+
}, Gr = function(e) {
|
|
948
968
|
L(t, e);
|
|
949
969
|
function t(r, n, i) {
|
|
950
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
970
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
|
|
951
971
|
var o = e.call(this) || this;
|
|
952
972
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
953
973
|
}
|
|
@@ -967,15 +987,15 @@ var $r = St(function(e) {
|
|
|
967
987
|
l && o.splice(0, l + 1);
|
|
968
988
|
}
|
|
969
989
|
}, t;
|
|
970
|
-
}(
|
|
971
|
-
const
|
|
972
|
-
if (
|
|
973
|
-
const r = new
|
|
974
|
-
|
|
990
|
+
}(Nt);
|
|
991
|
+
const at = [], ut = {}, jr = (e, t = 0) => {
|
|
992
|
+
if (at.indexOf(e) == -1) {
|
|
993
|
+
const r = new Gr(t);
|
|
994
|
+
ut[e] = r, at.push(e);
|
|
975
995
|
}
|
|
976
|
-
return
|
|
996
|
+
return ut[e];
|
|
977
997
|
}, z = [];
|
|
978
|
-
function
|
|
998
|
+
function kr(e, t) {
|
|
979
999
|
return {
|
|
980
1000
|
subscribe: xe(e, t).subscribe
|
|
981
1001
|
};
|
|
@@ -984,7 +1004,7 @@ function xe(e, t = O) {
|
|
|
984
1004
|
let r;
|
|
985
1005
|
const n = /* @__PURE__ */ new Set();
|
|
986
1006
|
function i(a) {
|
|
987
|
-
if (
|
|
1007
|
+
if (St(e, a) && (e = a, r)) {
|
|
988
1008
|
const u = !z.length;
|
|
989
1009
|
for (const l of n)
|
|
990
1010
|
l[1](), z.push(l, e);
|
|
@@ -1011,7 +1031,7 @@ function K(e, t, r) {
|
|
|
1011
1031
|
if (!i.every(Boolean))
|
|
1012
1032
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1013
1033
|
const o = t.length < 2;
|
|
1014
|
-
return
|
|
1034
|
+
return kr(r, (s, a) => {
|
|
1015
1035
|
let u = !1;
|
|
1016
1036
|
const l = [];
|
|
1017
1037
|
let c = 0, f = O;
|
|
@@ -1020,9 +1040,9 @@ function K(e, t, r) {
|
|
|
1020
1040
|
return;
|
|
1021
1041
|
f();
|
|
1022
1042
|
const m = t(n ? l[0] : l, s, a);
|
|
1023
|
-
o ? s(m) : f =
|
|
1043
|
+
o ? s(m) : f = Ze(m) ? m : O;
|
|
1024
1044
|
}, p = i.map(
|
|
1025
|
-
(m, d) =>
|
|
1045
|
+
(m, d) => Tt(
|
|
1026
1046
|
m,
|
|
1027
1047
|
(_) => {
|
|
1028
1048
|
l[d] = _, c &= ~(1 << d), u && h();
|
|
@@ -1037,70 +1057,70 @@ function K(e, t, r) {
|
|
|
1037
1057
|
};
|
|
1038
1058
|
});
|
|
1039
1059
|
}
|
|
1040
|
-
function
|
|
1060
|
+
function zr(e) {
|
|
1041
1061
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1042
1062
|
}
|
|
1043
|
-
var
|
|
1044
|
-
return
|
|
1063
|
+
var Vr = function(t) {
|
|
1064
|
+
return Wr(t) && !Xr(t);
|
|
1045
1065
|
};
|
|
1046
|
-
function
|
|
1066
|
+
function Wr(e) {
|
|
1047
1067
|
return !!e && typeof e == "object";
|
|
1048
1068
|
}
|
|
1049
|
-
function
|
|
1069
|
+
function Xr(e) {
|
|
1050
1070
|
var t = Object.prototype.toString.call(e);
|
|
1051
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1071
|
+
return t === "[object RegExp]" || t === "[object Date]" || Qr(e);
|
|
1052
1072
|
}
|
|
1053
|
-
var
|
|
1054
|
-
function
|
|
1055
|
-
return e.$$typeof ===
|
|
1073
|
+
var Zr = typeof Symbol == "function" && Symbol.for, qr = Zr ? Symbol.for("react.element") : 60103;
|
|
1074
|
+
function Qr(e) {
|
|
1075
|
+
return e.$$typeof === qr;
|
|
1056
1076
|
}
|
|
1057
|
-
function
|
|
1077
|
+
function Yr(e) {
|
|
1058
1078
|
return Array.isArray(e) ? [] : {};
|
|
1059
1079
|
}
|
|
1060
1080
|
function oe(e, t) {
|
|
1061
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
1081
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Yr(e), e, t) : e;
|
|
1062
1082
|
}
|
|
1063
|
-
function
|
|
1083
|
+
function Jr(e, t, r) {
|
|
1064
1084
|
return e.concat(t).map(function(n) {
|
|
1065
1085
|
return oe(n, r);
|
|
1066
1086
|
});
|
|
1067
1087
|
}
|
|
1068
|
-
function
|
|
1088
|
+
function Kr(e, t) {
|
|
1069
1089
|
if (!t.customMerge)
|
|
1070
1090
|
return Z;
|
|
1071
1091
|
var r = t.customMerge(e);
|
|
1072
1092
|
return typeof r == "function" ? r : Z;
|
|
1073
1093
|
}
|
|
1074
|
-
function
|
|
1094
|
+
function en(e) {
|
|
1075
1095
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1076
1096
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1077
1097
|
}) : [];
|
|
1078
1098
|
}
|
|
1079
|
-
function
|
|
1080
|
-
return Object.keys(e).concat(
|
|
1099
|
+
function lt(e) {
|
|
1100
|
+
return Object.keys(e).concat(en(e));
|
|
1081
1101
|
}
|
|
1082
|
-
function
|
|
1102
|
+
function $t(e, t) {
|
|
1083
1103
|
try {
|
|
1084
1104
|
return t in e;
|
|
1085
1105
|
} catch {
|
|
1086
1106
|
return !1;
|
|
1087
1107
|
}
|
|
1088
1108
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return
|
|
1109
|
+
function tn(e, t) {
|
|
1110
|
+
return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1091
1111
|
}
|
|
1092
|
-
function
|
|
1112
|
+
function rn(e, t, r) {
|
|
1093
1113
|
var n = {};
|
|
1094
|
-
return r.isMergeableObject(e) &&
|
|
1114
|
+
return r.isMergeableObject(e) && lt(e).forEach(function(i) {
|
|
1095
1115
|
n[i] = oe(e[i], r);
|
|
1096
|
-
}),
|
|
1097
|
-
|
|
1116
|
+
}), lt(t).forEach(function(i) {
|
|
1117
|
+
tn(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1098
1118
|
}), n;
|
|
1099
1119
|
}
|
|
1100
1120
|
function Z(e, t, r) {
|
|
1101
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1121
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || Vr, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1102
1122
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1103
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1123
|
+
return o ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : oe(t, r);
|
|
1104
1124
|
}
|
|
1105
1125
|
Z.all = function(t, r) {
|
|
1106
1126
|
if (!Array.isArray(t))
|
|
@@ -1109,105 +1129,107 @@ Z.all = function(t, r) {
|
|
|
1109
1129
|
return Z(n, i, r);
|
|
1110
1130
|
}, {});
|
|
1111
1131
|
};
|
|
1112
|
-
var
|
|
1113
|
-
const
|
|
1114
|
-
function
|
|
1115
|
-
var r = t && t.cache ? t.cache :
|
|
1132
|
+
var nn = Z, on = nn;
|
|
1133
|
+
const sn = /* @__PURE__ */ zr(on);
|
|
1134
|
+
function Te(e, t) {
|
|
1135
|
+
var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : un;
|
|
1116
1136
|
return i(e, {
|
|
1117
1137
|
cache: r,
|
|
1118
1138
|
serializer: n
|
|
1119
1139
|
});
|
|
1120
1140
|
}
|
|
1121
|
-
function
|
|
1141
|
+
function an(e) {
|
|
1122
1142
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1123
1143
|
}
|
|
1124
|
-
function
|
|
1125
|
-
var i =
|
|
1144
|
+
function Rt(e, t, r, n) {
|
|
1145
|
+
var i = an(n) ? n : r(n), o = t.get(i);
|
|
1126
1146
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1127
1147
|
}
|
|
1128
|
-
function
|
|
1148
|
+
function Dt(e, t, r) {
|
|
1129
1149
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1130
1150
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1131
1151
|
}
|
|
1132
|
-
function
|
|
1152
|
+
function qe(e, t, r, n, i) {
|
|
1133
1153
|
return r.bind(t, e, n, i);
|
|
1134
1154
|
}
|
|
1135
|
-
function
|
|
1136
|
-
var r = e.length === 1 ?
|
|
1137
|
-
return
|
|
1155
|
+
function un(e, t) {
|
|
1156
|
+
var r = e.length === 1 ? Rt : Dt;
|
|
1157
|
+
return qe(e, this, r, t.cache.create(), t.serializer);
|
|
1158
|
+
}
|
|
1159
|
+
function ln(e, t) {
|
|
1160
|
+
return qe(e, this, Dt, t.cache.create(), t.serializer);
|
|
1138
1161
|
}
|
|
1139
|
-
function
|
|
1140
|
-
return
|
|
1162
|
+
function cn(e, t) {
|
|
1163
|
+
return qe(e, this, Rt, t.cache.create(), t.serializer);
|
|
1141
1164
|
}
|
|
1142
|
-
var
|
|
1165
|
+
var hn = function() {
|
|
1143
1166
|
return JSON.stringify(arguments);
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
}()
|
|
1156
|
-
), ln = {
|
|
1167
|
+
};
|
|
1168
|
+
function Qe() {
|
|
1169
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1170
|
+
}
|
|
1171
|
+
Qe.prototype.get = function(e) {
|
|
1172
|
+
return this.cache[e];
|
|
1173
|
+
};
|
|
1174
|
+
Qe.prototype.set = function(e, t) {
|
|
1175
|
+
this.cache[e] = t;
|
|
1176
|
+
};
|
|
1177
|
+
var fn = {
|
|
1157
1178
|
create: function() {
|
|
1158
|
-
return new
|
|
1179
|
+
return new Qe();
|
|
1159
1180
|
}
|
|
1160
|
-
},
|
|
1161
|
-
variadic:
|
|
1181
|
+
}, Be = {
|
|
1182
|
+
variadic: ln,
|
|
1183
|
+
monadic: cn
|
|
1162
1184
|
}, b;
|
|
1163
1185
|
(function(e) {
|
|
1164
1186
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1165
1187
|
})(b || (b = {}));
|
|
1166
|
-
var
|
|
1188
|
+
var w;
|
|
1167
1189
|
(function(e) {
|
|
1168
1190
|
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";
|
|
1169
|
-
})(
|
|
1191
|
+
})(w || (w = {}));
|
|
1170
1192
|
var q;
|
|
1171
1193
|
(function(e) {
|
|
1172
1194
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1173
1195
|
})(q || (q = {}));
|
|
1174
|
-
function
|
|
1175
|
-
return e.type ===
|
|
1196
|
+
function ct(e) {
|
|
1197
|
+
return e.type === w.literal;
|
|
1176
1198
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return e.type ===
|
|
1199
|
+
function pn(e) {
|
|
1200
|
+
return e.type === w.argument;
|
|
1179
1201
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return e.type ===
|
|
1202
|
+
function Ut(e) {
|
|
1203
|
+
return e.type === w.number;
|
|
1182
1204
|
}
|
|
1183
|
-
function
|
|
1184
|
-
return e.type ===
|
|
1205
|
+
function Ft(e) {
|
|
1206
|
+
return e.type === w.date;
|
|
1185
1207
|
}
|
|
1186
|
-
function
|
|
1187
|
-
return e.type ===
|
|
1208
|
+
function Gt(e) {
|
|
1209
|
+
return e.type === w.time;
|
|
1188
1210
|
}
|
|
1189
|
-
function
|
|
1190
|
-
return e.type ===
|
|
1211
|
+
function jt(e) {
|
|
1212
|
+
return e.type === w.select;
|
|
1191
1213
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return e.type ===
|
|
1214
|
+
function kt(e) {
|
|
1215
|
+
return e.type === w.plural;
|
|
1194
1216
|
}
|
|
1195
|
-
function
|
|
1196
|
-
return e.type ===
|
|
1217
|
+
function dn(e) {
|
|
1218
|
+
return e.type === w.pound;
|
|
1197
1219
|
}
|
|
1198
|
-
function
|
|
1199
|
-
return e.type ===
|
|
1220
|
+
function zt(e) {
|
|
1221
|
+
return e.type === w.tag;
|
|
1200
1222
|
}
|
|
1201
|
-
function
|
|
1223
|
+
function Vt(e) {
|
|
1202
1224
|
return !!(e && typeof e == "object" && e.type === q.number);
|
|
1203
1225
|
}
|
|
1204
|
-
function
|
|
1226
|
+
function Fe(e) {
|
|
1205
1227
|
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
1206
1228
|
}
|
|
1207
|
-
var
|
|
1208
|
-
function
|
|
1229
|
+
var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1230
|
+
function bn(e) {
|
|
1209
1231
|
var t = {};
|
|
1210
|
-
return e.replace(
|
|
1232
|
+
return e.replace(mn, function(r) {
|
|
1211
1233
|
var n = r.length;
|
|
1212
1234
|
switch (r[0]) {
|
|
1213
1235
|
case "G":
|
|
@@ -1296,11 +1318,11 @@ function pn(e) {
|
|
|
1296
1318
|
return "";
|
|
1297
1319
|
}), t;
|
|
1298
1320
|
}
|
|
1299
|
-
var
|
|
1300
|
-
function
|
|
1321
|
+
var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1322
|
+
function gn(e) {
|
|
1301
1323
|
if (e.length === 0)
|
|
1302
1324
|
throw new Error("Number skeleton cannot be empty");
|
|
1303
|
-
for (var t = e.split(
|
|
1325
|
+
for (var t = e.split(vn).filter(function(h) {
|
|
1304
1326
|
return h.length > 0;
|
|
1305
1327
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1306
1328
|
var o = i[n], s = o.split("/");
|
|
@@ -1315,17 +1337,17 @@ function mn(e) {
|
|
|
1315
1337
|
}
|
|
1316
1338
|
return r;
|
|
1317
1339
|
}
|
|
1318
|
-
function
|
|
1340
|
+
function yn(e) {
|
|
1319
1341
|
return e.replace(/^(.*?)-/, "");
|
|
1320
1342
|
}
|
|
1321
|
-
var
|
|
1322
|
-
function
|
|
1343
|
+
var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
|
|
1344
|
+
function ft(e) {
|
|
1323
1345
|
var t = {};
|
|
1324
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1346
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
|
|
1325
1347
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1326
1348
|
}), t;
|
|
1327
1349
|
}
|
|
1328
|
-
function
|
|
1350
|
+
function qt(e) {
|
|
1329
1351
|
switch (e) {
|
|
1330
1352
|
case "sign-auto":
|
|
1331
1353
|
return {
|
|
@@ -1365,7 +1387,7 @@ function Wt(e) {
|
|
|
1365
1387
|
};
|
|
1366
1388
|
}
|
|
1367
1389
|
}
|
|
1368
|
-
function
|
|
1390
|
+
function En(e) {
|
|
1369
1391
|
var t;
|
|
1370
1392
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1371
1393
|
notation: "engineering"
|
|
@@ -1373,17 +1395,17 @@ function gn(e) {
|
|
|
1373
1395
|
notation: "scientific"
|
|
1374
1396
|
}, e = e.slice(1)), t) {
|
|
1375
1397
|
var r = e.slice(0, 2);
|
|
1376
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1398
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
|
|
1377
1399
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1378
1400
|
t.minimumIntegerDigits = e.length;
|
|
1379
1401
|
}
|
|
1380
1402
|
return t;
|
|
1381
1403
|
}
|
|
1382
|
-
function
|
|
1383
|
-
var t = {}, r =
|
|
1404
|
+
function pt(e) {
|
|
1405
|
+
var t = {}, r = qt(e);
|
|
1384
1406
|
return r || t;
|
|
1385
1407
|
}
|
|
1386
|
-
function
|
|
1408
|
+
function _n(e) {
|
|
1387
1409
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1388
1410
|
var i = n[r];
|
|
1389
1411
|
switch (i.stem) {
|
|
@@ -1407,7 +1429,7 @@ function yn(e) {
|
|
|
1407
1429
|
continue;
|
|
1408
1430
|
case "measure-unit":
|
|
1409
1431
|
case "unit":
|
|
1410
|
-
t.style = "unit", t.unit =
|
|
1432
|
+
t.style = "unit", t.unit = yn(i.options[0]);
|
|
1411
1433
|
continue;
|
|
1412
1434
|
case "compact-short":
|
|
1413
1435
|
case "K":
|
|
@@ -1419,12 +1441,12 @@ function yn(e) {
|
|
|
1419
1441
|
continue;
|
|
1420
1442
|
case "scientific":
|
|
1421
1443
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1422
|
-
return x(x({}, u),
|
|
1444
|
+
return x(x({}, u), pt(l));
|
|
1423
1445
|
}, {}));
|
|
1424
1446
|
continue;
|
|
1425
1447
|
case "engineering":
|
|
1426
1448
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1427
|
-
return x(x({}, u),
|
|
1449
|
+
return x(x({}, u), pt(l));
|
|
1428
1450
|
}, {}));
|
|
1429
1451
|
continue;
|
|
1430
1452
|
case "notation-simple":
|
|
@@ -1469,7 +1491,7 @@ function yn(e) {
|
|
|
1469
1491
|
case "integer-width":
|
|
1470
1492
|
if (i.options.length > 1)
|
|
1471
1493
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1472
|
-
i.options[0].replace(
|
|
1494
|
+
i.options[0].replace(xn, function(u, l, c, f, h, p) {
|
|
1473
1495
|
if (l)
|
|
1474
1496
|
t.minimumIntegerDigits = c.length;
|
|
1475
1497
|
else {
|
|
@@ -1482,27 +1504,27 @@ function yn(e) {
|
|
|
1482
1504
|
});
|
|
1483
1505
|
continue;
|
|
1484
1506
|
}
|
|
1485
|
-
if (
|
|
1507
|
+
if (Zt.test(i.stem)) {
|
|
1486
1508
|
t.minimumIntegerDigits = i.stem.length;
|
|
1487
1509
|
continue;
|
|
1488
1510
|
}
|
|
1489
|
-
if (
|
|
1511
|
+
if (ht.test(i.stem)) {
|
|
1490
1512
|
if (i.options.length > 1)
|
|
1491
1513
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1492
|
-
i.stem.replace(
|
|
1514
|
+
i.stem.replace(ht, function(u, l, c, f, h, p) {
|
|
1493
1515
|
return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && p ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1494
1516
|
});
|
|
1495
1517
|
var o = i.options[0];
|
|
1496
|
-
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t),
|
|
1518
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), ft(o)));
|
|
1497
1519
|
continue;
|
|
1498
1520
|
}
|
|
1499
|
-
if (
|
|
1500
|
-
t = x(x({}, t),
|
|
1521
|
+
if (Xt.test(i.stem)) {
|
|
1522
|
+
t = x(x({}, t), ft(i.stem));
|
|
1501
1523
|
continue;
|
|
1502
1524
|
}
|
|
1503
|
-
var s =
|
|
1525
|
+
var s = qt(i.stem);
|
|
1504
1526
|
s && (t = x(x({}, t), s));
|
|
1505
|
-
var a =
|
|
1527
|
+
var a = En(i.stem);
|
|
1506
1528
|
a && (t = x(x({}, t), a));
|
|
1507
1529
|
}
|
|
1508
1530
|
return t;
|
|
@@ -2922,13 +2944,13 @@ var ce = {
|
|
|
2922
2944
|
"h"
|
|
2923
2945
|
]
|
|
2924
2946
|
};
|
|
2925
|
-
function
|
|
2947
|
+
function Cn(e, t) {
|
|
2926
2948
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2927
2949
|
var i = e.charAt(n);
|
|
2928
2950
|
if (i === "j") {
|
|
2929
2951
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2930
2952
|
o++, n++;
|
|
2931
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
2953
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = wn(t);
|
|
2932
2954
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2933
2955
|
r += u;
|
|
2934
2956
|
for (; s-- > 0; )
|
|
@@ -2938,7 +2960,7 @@ function xn(e, t) {
|
|
|
2938
2960
|
}
|
|
2939
2961
|
return r;
|
|
2940
2962
|
}
|
|
2941
|
-
function
|
|
2963
|
+
function wn(e) {
|
|
2942
2964
|
var t = e.hourCycle;
|
|
2943
2965
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2944
2966
|
e.hourCycles && // @ts-ignore
|
|
@@ -2960,20 +2982,20 @@ function En(e) {
|
|
|
2960
2982
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
2961
2983
|
return i[0];
|
|
2962
2984
|
}
|
|
2963
|
-
var
|
|
2985
|
+
var He, An = new RegExp("^".concat(Wt.source, "*")), Sn = new RegExp("".concat(Wt.source, "*$"));
|
|
2964
2986
|
function g(e, t) {
|
|
2965
2987
|
return { start: e, end: t };
|
|
2966
2988
|
}
|
|
2967
|
-
var
|
|
2989
|
+
var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, On = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Nn = In ? Number.isSafeInteger : function(e) {
|
|
2968
2990
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2969
|
-
},
|
|
2991
|
+
}, Ge = !0;
|
|
2970
2992
|
try {
|
|
2971
|
-
var
|
|
2972
|
-
|
|
2993
|
+
var Ln = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2994
|
+
Ge = ((He = Ln.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
2973
2995
|
} catch {
|
|
2974
|
-
|
|
2996
|
+
Ge = !1;
|
|
2975
2997
|
}
|
|
2976
|
-
var
|
|
2998
|
+
var dt = Tn ? (
|
|
2977
2999
|
// Native
|
|
2978
3000
|
function(t, r, n) {
|
|
2979
3001
|
return t.startsWith(r, n);
|
|
@@ -2983,7 +3005,7 @@ var ht = Cn ? (
|
|
|
2983
3005
|
function(t, r, n) {
|
|
2984
3006
|
return t.slice(n, n + r.length) === r;
|
|
2985
3007
|
}
|
|
2986
|
-
),
|
|
3008
|
+
), je = Bn ? String.fromCodePoint : (
|
|
2987
3009
|
// IE11
|
|
2988
3010
|
function() {
|
|
2989
3011
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2995,9 +3017,9 @@ var ht = Cn ? (
|
|
|
2995
3017
|
}
|
|
2996
3018
|
return n;
|
|
2997
3019
|
}
|
|
2998
|
-
),
|
|
3020
|
+
), mt = (
|
|
2999
3021
|
// native
|
|
3000
|
-
|
|
3022
|
+
Hn ? Object.fromEntries : (
|
|
3001
3023
|
// Ponyfill
|
|
3002
3024
|
function(t) {
|
|
3003
3025
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3007,7 +3029,7 @@ var ht = Cn ? (
|
|
|
3007
3029
|
return r;
|
|
3008
3030
|
}
|
|
3009
3031
|
)
|
|
3010
|
-
),
|
|
3032
|
+
), Qt = Mn ? (
|
|
3011
3033
|
// Native
|
|
3012
3034
|
function(t, r) {
|
|
3013
3035
|
return t.codePointAt(r);
|
|
@@ -3021,7 +3043,7 @@ var ht = Cn ? (
|
|
|
3021
3043
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3022
3044
|
}
|
|
3023
3045
|
}
|
|
3024
|
-
),
|
|
3046
|
+
), $n = Pn ? (
|
|
3025
3047
|
// Native
|
|
3026
3048
|
function(t) {
|
|
3027
3049
|
return t.trimStart();
|
|
@@ -3029,9 +3051,9 @@ var ht = Cn ? (
|
|
|
3029
3051
|
) : (
|
|
3030
3052
|
// Ponyfill
|
|
3031
3053
|
function(t) {
|
|
3032
|
-
return t.replace(
|
|
3054
|
+
return t.replace(An, "");
|
|
3033
3055
|
}
|
|
3034
|
-
),
|
|
3056
|
+
), Rn = On ? (
|
|
3035
3057
|
// Native
|
|
3036
3058
|
function(t) {
|
|
3037
3059
|
return t.trimEnd();
|
|
@@ -3039,32 +3061,32 @@ var ht = Cn ? (
|
|
|
3039
3061
|
) : (
|
|
3040
3062
|
// Ponyfill
|
|
3041
3063
|
function(t) {
|
|
3042
|
-
return t.replace(
|
|
3064
|
+
return t.replace(Sn, "");
|
|
3043
3065
|
}
|
|
3044
3066
|
);
|
|
3045
|
-
function
|
|
3067
|
+
function Yt(e, t) {
|
|
3046
3068
|
return new RegExp(e, t);
|
|
3047
3069
|
}
|
|
3048
|
-
var
|
|
3049
|
-
if (
|
|
3050
|
-
var
|
|
3051
|
-
|
|
3070
|
+
var ke;
|
|
3071
|
+
if (Ge) {
|
|
3072
|
+
var bt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3073
|
+
ke = function(t, r) {
|
|
3052
3074
|
var n;
|
|
3053
|
-
|
|
3054
|
-
var i =
|
|
3075
|
+
bt.lastIndex = r;
|
|
3076
|
+
var i = bt.exec(t);
|
|
3055
3077
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3056
3078
|
};
|
|
3057
3079
|
} else
|
|
3058
|
-
|
|
3080
|
+
ke = function(t, r) {
|
|
3059
3081
|
for (var n = []; ; ) {
|
|
3060
|
-
var i =
|
|
3061
|
-
if (i === void 0 ||
|
|
3082
|
+
var i = Qt(t, r);
|
|
3083
|
+
if (i === void 0 || Jt(i) || Gn(i))
|
|
3062
3084
|
break;
|
|
3063
3085
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3064
3086
|
}
|
|
3065
|
-
return
|
|
3087
|
+
return je.apply(void 0, n);
|
|
3066
3088
|
};
|
|
3067
|
-
var
|
|
3089
|
+
var Dn = (
|
|
3068
3090
|
/** @class */
|
|
3069
3091
|
function() {
|
|
3070
3092
|
function e(t, r) {
|
|
@@ -3088,14 +3110,14 @@ var Ln = (
|
|
|
3088
3110
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3089
3111
|
var a = this.clonePosition();
|
|
3090
3112
|
this.bump(), i.push({
|
|
3091
|
-
type:
|
|
3113
|
+
type: w.pound,
|
|
3092
3114
|
location: g(a, this.clonePosition())
|
|
3093
3115
|
});
|
|
3094
3116
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3095
3117
|
if (n)
|
|
3096
3118
|
break;
|
|
3097
3119
|
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3098
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3120
|
+
} else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
|
|
3099
3121
|
var s = this.parseTag(t, r);
|
|
3100
3122
|
if (s.err)
|
|
3101
3123
|
return s;
|
|
@@ -3116,7 +3138,7 @@ var Ln = (
|
|
|
3116
3138
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3117
3139
|
return {
|
|
3118
3140
|
val: {
|
|
3119
|
-
type:
|
|
3141
|
+
type: w.literal,
|
|
3120
3142
|
value: "<".concat(i, "/>"),
|
|
3121
3143
|
location: g(n, this.clonePosition())
|
|
3122
3144
|
},
|
|
@@ -3128,12 +3150,12 @@ var Ln = (
|
|
|
3128
3150
|
return o;
|
|
3129
3151
|
var s = o.val, a = this.clonePosition();
|
|
3130
3152
|
if (this.bumpIf("</")) {
|
|
3131
|
-
if (this.isEOF() || !
|
|
3153
|
+
if (this.isEOF() || !ze(this.char()))
|
|
3132
3154
|
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3133
3155
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3134
3156
|
return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3135
3157
|
val: {
|
|
3136
|
-
type:
|
|
3158
|
+
type: w.tag,
|
|
3137
3159
|
value: i,
|
|
3138
3160
|
children: s,
|
|
3139
3161
|
location: g(n, this.clonePosition())
|
|
@@ -3146,7 +3168,7 @@ var Ln = (
|
|
|
3146
3168
|
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3147
3169
|
}, e.prototype.parseTagName = function() {
|
|
3148
3170
|
var t = this.offset();
|
|
3149
|
-
for (this.bump(); !this.isEOF() &&
|
|
3171
|
+
for (this.bump(); !this.isEOF() && Fn(this.char()); )
|
|
3150
3172
|
this.bump();
|
|
3151
3173
|
return this.message.slice(t, this.offset());
|
|
3152
3174
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3170,12 +3192,12 @@ var Ln = (
|
|
|
3170
3192
|
}
|
|
3171
3193
|
var u = g(n, this.clonePosition());
|
|
3172
3194
|
return {
|
|
3173
|
-
val: { type:
|
|
3195
|
+
val: { type: w.literal, value: i, location: u },
|
|
3174
3196
|
err: null
|
|
3175
3197
|
};
|
|
3176
3198
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3177
3199
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3178
|
-
|
|
3200
|
+
!Un(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3179
3201
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3180
3202
|
if (this.isEOF() || this.char() !== 39)
|
|
3181
3203
|
return null;
|
|
@@ -3209,12 +3231,12 @@ var Ln = (
|
|
|
3209
3231
|
r.push(n);
|
|
3210
3232
|
this.bump();
|
|
3211
3233
|
}
|
|
3212
|
-
return
|
|
3234
|
+
return je.apply(void 0, r);
|
|
3213
3235
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3214
3236
|
if (this.isEOF())
|
|
3215
3237
|
return null;
|
|
3216
3238
|
var n = this.char();
|
|
3217
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3239
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
|
|
3218
3240
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3219
3241
|
var n = this.clonePosition();
|
|
3220
3242
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3230,7 +3252,7 @@ var Ln = (
|
|
|
3230
3252
|
case 125:
|
|
3231
3253
|
return this.bump(), {
|
|
3232
3254
|
val: {
|
|
3233
|
-
type:
|
|
3255
|
+
type: w.argument,
|
|
3234
3256
|
// value does not include the opening and closing braces.
|
|
3235
3257
|
value: i,
|
|
3236
3258
|
location: g(n, this.clonePosition())
|
|
@@ -3243,7 +3265,7 @@ var Ln = (
|
|
|
3243
3265
|
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3244
3266
|
}
|
|
3245
3267
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3246
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3268
|
+
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
3247
3269
|
this.bumpTo(i);
|
|
3248
3270
|
var o = this.clonePosition(), s = g(t, o);
|
|
3249
3271
|
return { value: n, location: s };
|
|
@@ -3262,7 +3284,7 @@ var Ln = (
|
|
|
3262
3284
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3263
3285
|
if (f.err)
|
|
3264
3286
|
return f;
|
|
3265
|
-
var h =
|
|
3287
|
+
var h = Rn(f.val);
|
|
3266
3288
|
if (h.length === 0)
|
|
3267
3289
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3268
3290
|
var p = g(c, this.clonePosition());
|
|
@@ -3272,25 +3294,25 @@ var Ln = (
|
|
|
3272
3294
|
if (m.err)
|
|
3273
3295
|
return m;
|
|
3274
3296
|
var d = g(i, this.clonePosition());
|
|
3275
|
-
if (l &&
|
|
3276
|
-
var _ =
|
|
3297
|
+
if (l && dt(l?.style, "::", 0)) {
|
|
3298
|
+
var _ = $n(l.style.slice(2));
|
|
3277
3299
|
if (a === "number") {
|
|
3278
3300
|
var f = this.parseNumberSkeletonFromString(_, l.styleLocation);
|
|
3279
3301
|
return f.err ? f : {
|
|
3280
|
-
val: { type:
|
|
3302
|
+
val: { type: w.number, value: n, location: d, style: f.val },
|
|
3281
3303
|
err: null
|
|
3282
3304
|
};
|
|
3283
3305
|
} else {
|
|
3284
3306
|
if (_.length === 0)
|
|
3285
3307
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3286
3308
|
var P = _;
|
|
3287
|
-
this.locale && (P =
|
|
3309
|
+
this.locale && (P = Cn(_, this.locale));
|
|
3288
3310
|
var h = {
|
|
3289
3311
|
type: q.dateTime,
|
|
3290
3312
|
pattern: P,
|
|
3291
3313
|
location: l.styleLocation,
|
|
3292
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3293
|
-
}, S = a === "date" ?
|
|
3314
|
+
parsedOptions: this.shouldParseSkeletons ? bn(P) : {}
|
|
3315
|
+
}, S = a === "date" ? w.date : w.time;
|
|
3294
3316
|
return {
|
|
3295
3317
|
val: { type: S, value: n, location: d, style: h },
|
|
3296
3318
|
err: null
|
|
@@ -3299,7 +3321,7 @@ var Ln = (
|
|
|
3299
3321
|
}
|
|
3300
3322
|
return {
|
|
3301
3323
|
val: {
|
|
3302
|
-
type: a === "number" ?
|
|
3324
|
+
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3303
3325
|
value: n,
|
|
3304
3326
|
location: d,
|
|
3305
3327
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3314,7 +3336,7 @@ var Ln = (
|
|
|
3314
3336
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3315
3337
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(A, x({}, A)));
|
|
3316
3338
|
this.bumpSpace();
|
|
3317
|
-
var H = this.parseIdentifierIfPossible(),
|
|
3339
|
+
var H = this.parseIdentifierIfPossible(), C = 0;
|
|
3318
3340
|
if (a !== "select" && H.value === "offset") {
|
|
3319
3341
|
if (!this.bumpIf(":"))
|
|
3320
3342
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
@@ -3322,7 +3344,7 @@ var Ln = (
|
|
|
3322
3344
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3323
3345
|
if (f.err)
|
|
3324
3346
|
return f;
|
|
3325
|
-
this.bumpSpace(), H = this.parseIdentifierIfPossible(),
|
|
3347
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), C = f.val;
|
|
3326
3348
|
}
|
|
3327
3349
|
var T = this.tryParsePluralOrSelectOptions(t, a, r, H);
|
|
3328
3350
|
if (T.err)
|
|
@@ -3333,18 +3355,18 @@ var Ln = (
|
|
|
3333
3355
|
var y = g(i, this.clonePosition());
|
|
3334
3356
|
return a === "select" ? {
|
|
3335
3357
|
val: {
|
|
3336
|
-
type:
|
|
3358
|
+
type: w.select,
|
|
3337
3359
|
value: n,
|
|
3338
|
-
options:
|
|
3360
|
+
options: mt(T.val),
|
|
3339
3361
|
location: y
|
|
3340
3362
|
},
|
|
3341
3363
|
err: null
|
|
3342
3364
|
} : {
|
|
3343
3365
|
val: {
|
|
3344
|
-
type:
|
|
3366
|
+
type: w.plural,
|
|
3345
3367
|
value: n,
|
|
3346
|
-
options:
|
|
3347
|
-
offset:
|
|
3368
|
+
options: mt(T.val),
|
|
3369
|
+
offset: C,
|
|
3348
3370
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3349
3371
|
location: y
|
|
3350
3372
|
},
|
|
@@ -3394,7 +3416,7 @@ var Ln = (
|
|
|
3394
3416
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3395
3417
|
var n = [];
|
|
3396
3418
|
try {
|
|
3397
|
-
n =
|
|
3419
|
+
n = gn(t);
|
|
3398
3420
|
} catch {
|
|
3399
3421
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3400
3422
|
}
|
|
@@ -3403,7 +3425,7 @@ var Ln = (
|
|
|
3403
3425
|
type: q.number,
|
|
3404
3426
|
tokens: n,
|
|
3405
3427
|
location: r,
|
|
3406
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3428
|
+
parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
|
|
3407
3429
|
},
|
|
3408
3430
|
err: null
|
|
3409
3431
|
};
|
|
@@ -3451,7 +3473,7 @@ var Ln = (
|
|
|
3451
3473
|
break;
|
|
3452
3474
|
}
|
|
3453
3475
|
var u = g(i, this.clonePosition());
|
|
3454
|
-
return o ? (s *= n,
|
|
3476
|
+
return o ? (s *= n, Nn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3455
3477
|
}, e.prototype.offset = function() {
|
|
3456
3478
|
return this.position.offset;
|
|
3457
3479
|
}, e.prototype.isEOF = function() {
|
|
@@ -3466,7 +3488,7 @@ var Ln = (
|
|
|
3466
3488
|
var t = this.position.offset;
|
|
3467
3489
|
if (t >= this.message.length)
|
|
3468
3490
|
throw Error("out of bound");
|
|
3469
|
-
var r =
|
|
3491
|
+
var r = Qt(this.message, t);
|
|
3470
3492
|
if (r === void 0)
|
|
3471
3493
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3472
3494
|
return r;
|
|
@@ -3485,7 +3507,7 @@ var Ln = (
|
|
|
3485
3507
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3486
3508
|
}
|
|
3487
3509
|
}, e.prototype.bumpIf = function(t) {
|
|
3488
|
-
if (
|
|
3510
|
+
if (dt(this.message, t, this.offset())) {
|
|
3489
3511
|
for (var r = 0; r < t.length; r++)
|
|
3490
3512
|
this.bump();
|
|
3491
3513
|
return !0;
|
|
@@ -3507,7 +3529,7 @@ var Ln = (
|
|
|
3507
3529
|
break;
|
|
3508
3530
|
}
|
|
3509
3531
|
}, e.prototype.bumpSpace = function() {
|
|
3510
|
-
for (; !this.isEOF() &&
|
|
3532
|
+
for (; !this.isEOF() && Jt(this.char()); )
|
|
3511
3533
|
this.bump();
|
|
3512
3534
|
}, e.prototype.peek = function() {
|
|
3513
3535
|
if (this.isEOF())
|
|
@@ -3517,38 +3539,38 @@ var Ln = (
|
|
|
3517
3539
|
}, e;
|
|
3518
3540
|
}()
|
|
3519
3541
|
);
|
|
3520
|
-
function
|
|
3542
|
+
function ze(e) {
|
|
3521
3543
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3522
3544
|
}
|
|
3523
|
-
function
|
|
3524
|
-
return
|
|
3545
|
+
function Un(e) {
|
|
3546
|
+
return ze(e) || e === 47;
|
|
3525
3547
|
}
|
|
3526
|
-
function
|
|
3548
|
+
function Fn(e) {
|
|
3527
3549
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3528
3550
|
}
|
|
3529
|
-
function
|
|
3551
|
+
function Jt(e) {
|
|
3530
3552
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3531
3553
|
}
|
|
3532
|
-
function
|
|
3554
|
+
function Gn(e) {
|
|
3533
3555
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3534
3556
|
}
|
|
3535
|
-
function
|
|
3557
|
+
function Ve(e) {
|
|
3536
3558
|
e.forEach(function(t) {
|
|
3537
|
-
if (delete t.location,
|
|
3559
|
+
if (delete t.location, jt(t) || kt(t))
|
|
3538
3560
|
for (var r in t.options)
|
|
3539
|
-
delete t.options[r].location,
|
|
3561
|
+
delete t.options[r].location, Ve(t.options[r].value);
|
|
3540
3562
|
else
|
|
3541
|
-
|
|
3563
|
+
Ut(t) && Vt(t.style) || (Ft(t) || Gt(t)) && Fe(t.style) ? delete t.style.location : zt(t) && Ve(t.children);
|
|
3542
3564
|
});
|
|
3543
3565
|
}
|
|
3544
|
-
function
|
|
3566
|
+
function jn(e, t) {
|
|
3545
3567
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3546
|
-
var r = new
|
|
3568
|
+
var r = new Dn(e, t).parse();
|
|
3547
3569
|
if (r.err) {
|
|
3548
3570
|
var n = SyntaxError(b[r.err.kind]);
|
|
3549
3571
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3550
3572
|
}
|
|
3551
|
-
return t?.captureLocation ||
|
|
3573
|
+
return t?.captureLocation || Ve(r.val), r.val;
|
|
3552
3574
|
}
|
|
3553
3575
|
var Q;
|
|
3554
3576
|
(function(e) {
|
|
@@ -3566,7 +3588,7 @@ var Ee = (
|
|
|
3566
3588
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3567
3589
|
}, t;
|
|
3568
3590
|
}(Error)
|
|
3569
|
-
),
|
|
3591
|
+
), vt = (
|
|
3570
3592
|
/** @class */
|
|
3571
3593
|
function(e) {
|
|
3572
3594
|
L(t, e);
|
|
@@ -3575,7 +3597,7 @@ var Ee = (
|
|
|
3575
3597
|
}
|
|
3576
3598
|
return t;
|
|
3577
3599
|
}(Ee)
|
|
3578
|
-
),
|
|
3600
|
+
), kn = (
|
|
3579
3601
|
/** @class */
|
|
3580
3602
|
function(e) {
|
|
3581
3603
|
L(t, e);
|
|
@@ -3584,7 +3606,7 @@ var Ee = (
|
|
|
3584
3606
|
}
|
|
3585
3607
|
return t;
|
|
3586
3608
|
}(Ee)
|
|
3587
|
-
),
|
|
3609
|
+
), zn = (
|
|
3588
3610
|
/** @class */
|
|
3589
3611
|
function(e) {
|
|
3590
3612
|
L(t, e);
|
|
@@ -3597,17 +3619,17 @@ var Ee = (
|
|
|
3597
3619
|
(function(e) {
|
|
3598
3620
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3599
3621
|
})(M || (M = {}));
|
|
3600
|
-
function
|
|
3622
|
+
function Vn(e) {
|
|
3601
3623
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3602
3624
|
var n = t[t.length - 1];
|
|
3603
3625
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3604
3626
|
}, []);
|
|
3605
3627
|
}
|
|
3606
|
-
function
|
|
3628
|
+
function Wn(e) {
|
|
3607
3629
|
return typeof e == "function";
|
|
3608
3630
|
}
|
|
3609
3631
|
function pe(e, t, r, n, i, o, s) {
|
|
3610
|
-
if (e.length === 1 &&
|
|
3632
|
+
if (e.length === 1 && ct(e[0]))
|
|
3611
3633
|
return [
|
|
3612
3634
|
{
|
|
3613
3635
|
type: M.literal,
|
|
@@ -3616,14 +3638,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3616
3638
|
];
|
|
3617
3639
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3618
3640
|
var c = l[u];
|
|
3619
|
-
if (
|
|
3641
|
+
if (ct(c)) {
|
|
3620
3642
|
a.push({
|
|
3621
3643
|
type: M.literal,
|
|
3622
3644
|
value: c.value
|
|
3623
3645
|
});
|
|
3624
3646
|
continue;
|
|
3625
3647
|
}
|
|
3626
|
-
if (
|
|
3648
|
+
if (dn(c)) {
|
|
3627
3649
|
typeof o == "number" && a.push({
|
|
3628
3650
|
type: M.literal,
|
|
3629
3651
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3632,61 +3654,61 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3632
3654
|
}
|
|
3633
3655
|
var f = c.value;
|
|
3634
3656
|
if (!(i && f in i))
|
|
3635
|
-
throw new
|
|
3657
|
+
throw new zn(f, s);
|
|
3636
3658
|
var h = i[f];
|
|
3637
|
-
if (
|
|
3659
|
+
if (pn(c)) {
|
|
3638
3660
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3639
3661
|
type: typeof h == "string" ? M.literal : M.object,
|
|
3640
3662
|
value: h
|
|
3641
3663
|
});
|
|
3642
3664
|
continue;
|
|
3643
3665
|
}
|
|
3644
|
-
if (
|
|
3645
|
-
var p = typeof c.style == "string" ? n.date[c.style] :
|
|
3666
|
+
if (Ft(c)) {
|
|
3667
|
+
var p = typeof c.style == "string" ? n.date[c.style] : Fe(c.style) ? c.style.parsedOptions : void 0;
|
|
3646
3668
|
a.push({
|
|
3647
3669
|
type: M.literal,
|
|
3648
3670
|
value: r.getDateTimeFormat(t, p).format(h)
|
|
3649
3671
|
});
|
|
3650
3672
|
continue;
|
|
3651
3673
|
}
|
|
3652
|
-
if (
|
|
3653
|
-
var p = typeof c.style == "string" ? n.time[c.style] :
|
|
3674
|
+
if (Gt(c)) {
|
|
3675
|
+
var p = typeof c.style == "string" ? n.time[c.style] : Fe(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3654
3676
|
a.push({
|
|
3655
3677
|
type: M.literal,
|
|
3656
3678
|
value: r.getDateTimeFormat(t, p).format(h)
|
|
3657
3679
|
});
|
|
3658
3680
|
continue;
|
|
3659
3681
|
}
|
|
3660
|
-
if (
|
|
3661
|
-
var p = typeof c.style == "string" ? n.number[c.style] :
|
|
3682
|
+
if (Ut(c)) {
|
|
3683
|
+
var p = typeof c.style == "string" ? n.number[c.style] : Vt(c.style) ? c.style.parsedOptions : void 0;
|
|
3662
3684
|
p && p.scale && (h = h * (p.scale || 1)), a.push({
|
|
3663
3685
|
type: M.literal,
|
|
3664
3686
|
value: r.getNumberFormat(t, p).format(h)
|
|
3665
3687
|
});
|
|
3666
3688
|
continue;
|
|
3667
3689
|
}
|
|
3668
|
-
if (
|
|
3690
|
+
if (zt(c)) {
|
|
3669
3691
|
var m = c.children, d = c.value, _ = i[d];
|
|
3670
|
-
if (!
|
|
3671
|
-
throw new
|
|
3672
|
-
var P = pe(m, t, r, n, i, o), S = _(P.map(function(
|
|
3673
|
-
return
|
|
3692
|
+
if (!Wn(_))
|
|
3693
|
+
throw new kn(d, "function", s);
|
|
3694
|
+
var P = pe(m, t, r, n, i, o), S = _(P.map(function(C) {
|
|
3695
|
+
return C.value;
|
|
3674
3696
|
}));
|
|
3675
|
-
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(
|
|
3697
|
+
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(C) {
|
|
3676
3698
|
return {
|
|
3677
|
-
type: typeof
|
|
3678
|
-
value:
|
|
3699
|
+
type: typeof C == "string" ? M.literal : M.object,
|
|
3700
|
+
value: C
|
|
3679
3701
|
};
|
|
3680
3702
|
}));
|
|
3681
3703
|
}
|
|
3682
|
-
if (
|
|
3704
|
+
if (jt(c)) {
|
|
3683
3705
|
var A = c.options[h] || c.options.other;
|
|
3684
3706
|
if (!A)
|
|
3685
|
-
throw new
|
|
3707
|
+
throw new vt(c.value, h, Object.keys(c.options), s);
|
|
3686
3708
|
a.push.apply(a, pe(A.value, t, r, n, i));
|
|
3687
3709
|
continue;
|
|
3688
3710
|
}
|
|
3689
|
-
if (
|
|
3711
|
+
if (kt(c)) {
|
|
3690
3712
|
var A = c.options["=".concat(h)];
|
|
3691
3713
|
if (!A) {
|
|
3692
3714
|
if (!Intl.PluralRules)
|
|
@@ -3697,24 +3719,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3697
3719
|
A = c.options[H] || c.options.other;
|
|
3698
3720
|
}
|
|
3699
3721
|
if (!A)
|
|
3700
|
-
throw new
|
|
3722
|
+
throw new vt(c.value, h, Object.keys(c.options), s);
|
|
3701
3723
|
a.push.apply(a, pe(A.value, t, r, n, i, h - (c.offset || 0)));
|
|
3702
3724
|
continue;
|
|
3703
3725
|
}
|
|
3704
3726
|
}
|
|
3705
|
-
return
|
|
3727
|
+
return Vn(a);
|
|
3706
3728
|
}
|
|
3707
|
-
function
|
|
3729
|
+
function Xn(e, t) {
|
|
3708
3730
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3709
3731
|
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3710
3732
|
}, {})) : e;
|
|
3711
3733
|
}
|
|
3712
|
-
function
|
|
3734
|
+
function Zn(e, t) {
|
|
3713
3735
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3714
|
-
return r[n] =
|
|
3736
|
+
return r[n] = Xn(e[n], t[n]), r;
|
|
3715
3737
|
}, x({}, e)) : e;
|
|
3716
3738
|
}
|
|
3717
|
-
function
|
|
3739
|
+
function Me(e) {
|
|
3718
3740
|
return {
|
|
3719
3741
|
create: function() {
|
|
3720
3742
|
return {
|
|
@@ -3728,39 +3750,39 @@ function He(e) {
|
|
|
3728
3750
|
}
|
|
3729
3751
|
};
|
|
3730
3752
|
}
|
|
3731
|
-
function
|
|
3753
|
+
function qn(e) {
|
|
3732
3754
|
return e === void 0 && (e = {
|
|
3733
3755
|
number: {},
|
|
3734
3756
|
dateTime: {},
|
|
3735
3757
|
pluralRules: {}
|
|
3736
3758
|
}), {
|
|
3737
|
-
getNumberFormat:
|
|
3759
|
+
getNumberFormat: Te(function() {
|
|
3738
3760
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3739
3761
|
r[n] = arguments[n];
|
|
3740
3762
|
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3741
3763
|
}, {
|
|
3742
|
-
cache:
|
|
3743
|
-
strategy:
|
|
3764
|
+
cache: Me(e.number),
|
|
3765
|
+
strategy: Be.variadic
|
|
3744
3766
|
}),
|
|
3745
|
-
getDateTimeFormat:
|
|
3767
|
+
getDateTimeFormat: Te(function() {
|
|
3746
3768
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3747
3769
|
r[n] = arguments[n];
|
|
3748
3770
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3749
3771
|
}, {
|
|
3750
|
-
cache:
|
|
3751
|
-
strategy:
|
|
3772
|
+
cache: Me(e.dateTime),
|
|
3773
|
+
strategy: Be.variadic
|
|
3752
3774
|
}),
|
|
3753
|
-
getPluralRules:
|
|
3775
|
+
getPluralRules: Te(function() {
|
|
3754
3776
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3755
3777
|
r[n] = arguments[n];
|
|
3756
3778
|
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3757
3779
|
}, {
|
|
3758
|
-
cache:
|
|
3759
|
-
strategy:
|
|
3780
|
+
cache: Me(e.pluralRules),
|
|
3781
|
+
strategy: Be.variadic
|
|
3760
3782
|
})
|
|
3761
3783
|
};
|
|
3762
3784
|
}
|
|
3763
|
-
var
|
|
3785
|
+
var Qn = (
|
|
3764
3786
|
/** @class */
|
|
3765
3787
|
function() {
|
|
3766
3788
|
function e(t, r, n, i) {
|
|
@@ -3792,13 +3814,13 @@ var Xn = (
|
|
|
3792
3814
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3793
3815
|
var s = i || {};
|
|
3794
3816
|
s.formatters;
|
|
3795
|
-
var a =
|
|
3817
|
+
var a = Br(s, ["formatters"]);
|
|
3796
3818
|
this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
|
|
3797
3819
|
} else
|
|
3798
3820
|
this.ast = t;
|
|
3799
3821
|
if (!Array.isArray(this.ast))
|
|
3800
3822
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3801
|
-
this.formats =
|
|
3823
|
+
this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
|
|
3802
3824
|
}
|
|
3803
3825
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3804
3826
|
get: function() {
|
|
@@ -3811,7 +3833,7 @@ var Xn = (
|
|
|
3811
3833
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3812
3834
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3813
3835
|
}
|
|
3814
|
-
}, e.__parse =
|
|
3836
|
+
}, e.__parse = jn, e.formats = {
|
|
3815
3837
|
number: {
|
|
3816
3838
|
integer: {
|
|
3817
3839
|
maximumFractionDigits: 0
|
|
@@ -3872,7 +3894,7 @@ var Xn = (
|
|
|
3872
3894
|
}, e;
|
|
3873
3895
|
}()
|
|
3874
3896
|
);
|
|
3875
|
-
function
|
|
3897
|
+
function Yn(e, t) {
|
|
3876
3898
|
if (t == null)
|
|
3877
3899
|
return;
|
|
3878
3900
|
if (t in e)
|
|
@@ -3893,60 +3915,60 @@ function Zn(e, t) {
|
|
|
3893
3915
|
n = void 0;
|
|
3894
3916
|
return n;
|
|
3895
3917
|
}
|
|
3896
|
-
const $ = {},
|
|
3918
|
+
const $ = {}, Jn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Kt = (e, t) => {
|
|
3897
3919
|
if (t == null)
|
|
3898
3920
|
return;
|
|
3899
3921
|
if (t in $ && e in $[t])
|
|
3900
3922
|
return $[t][e];
|
|
3901
3923
|
const r = _e(t);
|
|
3902
3924
|
for (let n = 0; n < r.length; n++) {
|
|
3903
|
-
const i = r[n], o =
|
|
3925
|
+
const i = r[n], o = ei(i, e);
|
|
3904
3926
|
if (o)
|
|
3905
|
-
return
|
|
3927
|
+
return Jn(e, t, o);
|
|
3906
3928
|
}
|
|
3907
3929
|
};
|
|
3908
|
-
let
|
|
3930
|
+
let Ye;
|
|
3909
3931
|
const ue = xe({});
|
|
3910
|
-
function
|
|
3911
|
-
return
|
|
3932
|
+
function Kn(e) {
|
|
3933
|
+
return Ye[e] || null;
|
|
3912
3934
|
}
|
|
3913
|
-
function
|
|
3914
|
-
return e in
|
|
3935
|
+
function er(e) {
|
|
3936
|
+
return e in Ye;
|
|
3915
3937
|
}
|
|
3916
|
-
function
|
|
3917
|
-
if (!
|
|
3938
|
+
function ei(e, t) {
|
|
3939
|
+
if (!er(e))
|
|
3918
3940
|
return null;
|
|
3919
|
-
const r =
|
|
3920
|
-
return
|
|
3941
|
+
const r = Kn(e);
|
|
3942
|
+
return Yn(r, t);
|
|
3921
3943
|
}
|
|
3922
|
-
function
|
|
3944
|
+
function ti(e) {
|
|
3923
3945
|
if (e == null)
|
|
3924
3946
|
return;
|
|
3925
3947
|
const t = _e(e);
|
|
3926
3948
|
for (let r = 0; r < t.length; r++) {
|
|
3927
3949
|
const n = t[r];
|
|
3928
|
-
if (
|
|
3950
|
+
if (er(n))
|
|
3929
3951
|
return n;
|
|
3930
3952
|
}
|
|
3931
3953
|
}
|
|
3932
|
-
function
|
|
3933
|
-
delete $[e], ue.update((r) => (r[e] =
|
|
3954
|
+
function tr(e, ...t) {
|
|
3955
|
+
delete $[e], ue.update((r) => (r[e] = sn.all([r[e] || {}, ...t]), r));
|
|
3934
3956
|
}
|
|
3935
3957
|
K(
|
|
3936
3958
|
[ue],
|
|
3937
3959
|
([e]) => Object.keys(e)
|
|
3938
3960
|
);
|
|
3939
|
-
ue.subscribe((e) =>
|
|
3961
|
+
ue.subscribe((e) => Ye = e);
|
|
3940
3962
|
const de = {};
|
|
3941
|
-
function
|
|
3963
|
+
function ri(e, t) {
|
|
3942
3964
|
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3943
3965
|
}
|
|
3944
|
-
function
|
|
3966
|
+
function rr(e) {
|
|
3945
3967
|
return de[e];
|
|
3946
3968
|
}
|
|
3947
|
-
function
|
|
3969
|
+
function ni(e) {
|
|
3948
3970
|
return _e(e).map((t) => {
|
|
3949
|
-
const r =
|
|
3971
|
+
const r = rr(t);
|
|
3950
3972
|
return [t, r ? [...r] : []];
|
|
3951
3973
|
}).filter(([, t]) => t.length > 0);
|
|
3952
3974
|
}
|
|
@@ -3954,31 +3976,31 @@ function We(e) {
|
|
|
3954
3976
|
return e == null ? !1 : _e(e).some(
|
|
3955
3977
|
(t) => {
|
|
3956
3978
|
var r;
|
|
3957
|
-
return (r =
|
|
3979
|
+
return (r = rr(t)) == null ? void 0 : r.size;
|
|
3958
3980
|
}
|
|
3959
3981
|
);
|
|
3960
3982
|
}
|
|
3961
|
-
function
|
|
3983
|
+
function ii(e, t) {
|
|
3962
3984
|
return Promise.all(
|
|
3963
|
-
t.map((n) => (
|
|
3964
|
-
).then((n) =>
|
|
3985
|
+
t.map((n) => (ri(e, n), n().then((i) => i.default || i)))
|
|
3986
|
+
).then((n) => tr(e, ...n));
|
|
3965
3987
|
}
|
|
3966
3988
|
const re = {};
|
|
3967
|
-
function
|
|
3989
|
+
function nr(e) {
|
|
3968
3990
|
if (!We(e))
|
|
3969
3991
|
return e in re ? re[e] : Promise.resolve();
|
|
3970
|
-
const t =
|
|
3992
|
+
const t = ni(e);
|
|
3971
3993
|
return re[e] = Promise.all(
|
|
3972
3994
|
t.map(
|
|
3973
|
-
([r, n]) =>
|
|
3995
|
+
([r, n]) => ii(r, n)
|
|
3974
3996
|
)
|
|
3975
3997
|
).then(() => {
|
|
3976
3998
|
if (We(e))
|
|
3977
|
-
return
|
|
3999
|
+
return nr(e);
|
|
3978
4000
|
delete re[e];
|
|
3979
4001
|
}), re[e];
|
|
3980
4002
|
}
|
|
3981
|
-
const
|
|
4003
|
+
const oi = {
|
|
3982
4004
|
number: {
|
|
3983
4005
|
scientific: { notation: "scientific" },
|
|
3984
4006
|
engineering: { notation: "engineering" },
|
|
@@ -4007,78 +4029,78 @@ const ri = {
|
|
|
4007
4029
|
timeZoneName: "short"
|
|
4008
4030
|
}
|
|
4009
4031
|
}
|
|
4010
|
-
},
|
|
4032
|
+
}, si = {
|
|
4011
4033
|
fallbackLocale: null,
|
|
4012
4034
|
loadingDelay: 200,
|
|
4013
|
-
formats:
|
|
4035
|
+
formats: oi,
|
|
4014
4036
|
warnOnMissingMessages: !0,
|
|
4015
4037
|
handleMissingMessage: void 0,
|
|
4016
4038
|
ignoreTag: !0
|
|
4017
|
-
},
|
|
4039
|
+
}, ai = si;
|
|
4018
4040
|
function Y() {
|
|
4019
|
-
return
|
|
4041
|
+
return ai;
|
|
4020
4042
|
}
|
|
4021
|
-
const
|
|
4022
|
-
var
|
|
4043
|
+
const Pe = xe(!1);
|
|
4044
|
+
var ui = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, fi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
|
|
4023
4045
|
for (var r in t || (t = {}))
|
|
4024
|
-
|
|
4025
|
-
if (
|
|
4026
|
-
for (var r of
|
|
4027
|
-
|
|
4046
|
+
hi.call(t, r) && yt(e, r, t[r]);
|
|
4047
|
+
if (gt)
|
|
4048
|
+
for (var r of gt(t))
|
|
4049
|
+
fi.call(t, r) && yt(e, r, t[r]);
|
|
4028
4050
|
return e;
|
|
4029
|
-
},
|
|
4030
|
-
let
|
|
4051
|
+
}, di = (e, t) => li(e, ci(t));
|
|
4052
|
+
let Xe;
|
|
4031
4053
|
const be = xe(null);
|
|
4032
|
-
function
|
|
4054
|
+
function xt(e) {
|
|
4033
4055
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4034
4056
|
}
|
|
4035
4057
|
function _e(e, t = Y().fallbackLocale) {
|
|
4036
|
-
const r =
|
|
4037
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4058
|
+
const r = xt(e);
|
|
4059
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
|
|
4038
4060
|
}
|
|
4039
4061
|
function F() {
|
|
4040
|
-
return
|
|
4062
|
+
return Xe ?? void 0;
|
|
4041
4063
|
}
|
|
4042
4064
|
be.subscribe((e) => {
|
|
4043
|
-
|
|
4065
|
+
Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4044
4066
|
});
|
|
4045
|
-
const
|
|
4046
|
-
if (e &&
|
|
4067
|
+
const mi = (e) => {
|
|
4068
|
+
if (e && ti(e) && We(e)) {
|
|
4047
4069
|
const { loadingDelay: t } = Y();
|
|
4048
4070
|
let r;
|
|
4049
4071
|
return typeof window < "u" && F() != null && t ? r = window.setTimeout(
|
|
4050
|
-
() =>
|
|
4072
|
+
() => Pe.set(!0),
|
|
4051
4073
|
t
|
|
4052
|
-
) :
|
|
4074
|
+
) : Pe.set(!0), nr(e).then(() => {
|
|
4053
4075
|
be.set(e);
|
|
4054
4076
|
}).finally(() => {
|
|
4055
|
-
clearTimeout(r),
|
|
4077
|
+
clearTimeout(r), Pe.set(!1);
|
|
4056
4078
|
});
|
|
4057
4079
|
}
|
|
4058
4080
|
return be.set(e);
|
|
4059
|
-
}, ee =
|
|
4060
|
-
set:
|
|
4061
|
-
}),
|
|
4081
|
+
}, ee = di(pi({}, be), {
|
|
4082
|
+
set: mi
|
|
4083
|
+
}), Ce = (e) => {
|
|
4062
4084
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4063
4085
|
return (n) => {
|
|
4064
4086
|
const i = JSON.stringify(n);
|
|
4065
4087
|
return i in t ? t[i] : t[i] = e(n);
|
|
4066
4088
|
};
|
|
4067
4089
|
};
|
|
4068
|
-
var
|
|
4090
|
+
var bi = Object.defineProperty, ve = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
4069
4091
|
for (var r in t || (t = {}))
|
|
4070
|
-
|
|
4092
|
+
ir.call(t, r) && Et(e, r, t[r]);
|
|
4071
4093
|
if (ve)
|
|
4072
4094
|
for (var r of ve(t))
|
|
4073
|
-
|
|
4095
|
+
or.call(t, r) && Et(e, r, t[r]);
|
|
4074
4096
|
return e;
|
|
4075
4097
|
}, te = (e, t) => {
|
|
4076
4098
|
var r = {};
|
|
4077
4099
|
for (var n in e)
|
|
4078
|
-
|
|
4100
|
+
ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4079
4101
|
if (e != null && ve)
|
|
4080
4102
|
for (var n of ve(e))
|
|
4081
|
-
t.indexOf(n) < 0 &&
|
|
4103
|
+
t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
|
|
4082
4104
|
return r;
|
|
4083
4105
|
};
|
|
4084
4106
|
const se = (e, t) => {
|
|
@@ -4086,21 +4108,21 @@ const se = (e, t) => {
|
|
|
4086
4108
|
if (e in r && t in r[e])
|
|
4087
4109
|
return r[e][t];
|
|
4088
4110
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4089
|
-
},
|
|
4111
|
+
}, vi = Ce(
|
|
4090
4112
|
(e) => {
|
|
4091
4113
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4092
4114
|
if (r == null)
|
|
4093
4115
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4094
4116
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4095
4117
|
}
|
|
4096
|
-
),
|
|
4118
|
+
), gi = Ce(
|
|
4097
4119
|
(e) => {
|
|
4098
4120
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4099
4121
|
if (r == null)
|
|
4100
4122
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4101
4123
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4102
4124
|
}
|
|
4103
|
-
),
|
|
4125
|
+
), yi = Ce(
|
|
4104
4126
|
(e) => {
|
|
4105
4127
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4106
4128
|
if (r == null)
|
|
@@ -4109,33 +4131,33 @@ const se = (e, t) => {
|
|
|
4109
4131
|
);
|
|
4110
4132
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4111
4133
|
}
|
|
4112
|
-
),
|
|
4134
|
+
), xi = (e = {}) => {
|
|
4113
4135
|
var t = e, {
|
|
4114
4136
|
locale: r = F()
|
|
4115
4137
|
} = t, n = te(t, [
|
|
4116
4138
|
"locale"
|
|
4117
4139
|
]);
|
|
4118
|
-
return
|
|
4119
|
-
},
|
|
4140
|
+
return vi(Je({ locale: r }, n));
|
|
4141
|
+
}, Ei = (e = {}) => {
|
|
4120
4142
|
var t = e, {
|
|
4121
4143
|
locale: r = F()
|
|
4122
4144
|
} = t, n = te(t, [
|
|
4123
4145
|
"locale"
|
|
4124
4146
|
]);
|
|
4125
|
-
return
|
|
4126
|
-
},
|
|
4147
|
+
return gi(Je({ locale: r }, n));
|
|
4148
|
+
}, _i = (e = {}) => {
|
|
4127
4149
|
var t = e, {
|
|
4128
4150
|
locale: r = F()
|
|
4129
4151
|
} = t, n = te(t, [
|
|
4130
4152
|
"locale"
|
|
4131
4153
|
]);
|
|
4132
|
-
return
|
|
4133
|
-
},
|
|
4154
|
+
return yi(Je({ locale: r }, n));
|
|
4155
|
+
}, Ci = Ce(
|
|
4134
4156
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4135
|
-
(e, t = F()) => new
|
|
4157
|
+
(e, t = F()) => new Qn(e, t, Y().formats, {
|
|
4136
4158
|
ignoreTag: Y().ignoreTag
|
|
4137
4159
|
})
|
|
4138
|
-
),
|
|
4160
|
+
), wi = (e, t = {}) => {
|
|
4139
4161
|
var r, n, i, o;
|
|
4140
4162
|
let s = t;
|
|
4141
4163
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4148,7 +4170,7 @@ const se = (e, t) => {
|
|
|
4148
4170
|
throw new Error(
|
|
4149
4171
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4150
4172
|
);
|
|
4151
|
-
let c =
|
|
4173
|
+
let c = Kt(e, u);
|
|
4152
4174
|
if (!c)
|
|
4153
4175
|
c = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4154
4176
|
else if (typeof c != "string")
|
|
@@ -4159,7 +4181,7 @@ const se = (e, t) => {
|
|
|
4159
4181
|
return c;
|
|
4160
4182
|
let f = c;
|
|
4161
4183
|
try {
|
|
4162
|
-
f =
|
|
4184
|
+
f = Ci(c, u).format(a);
|
|
4163
4185
|
} catch (h) {
|
|
4164
4186
|
h instanceof Error && console.warn(
|
|
4165
4187
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4167,20 +4189,20 @@ const se = (e, t) => {
|
|
|
4167
4189
|
);
|
|
4168
4190
|
}
|
|
4169
4191
|
return f;
|
|
4170
|
-
},
|
|
4171
|
-
K([ee], () =>
|
|
4172
|
-
K([ee], () =>
|
|
4173
|
-
K([ee], () =>
|
|
4174
|
-
K([ee, ue], () =>
|
|
4175
|
-
window.emWidgets = { topic:
|
|
4176
|
-
const
|
|
4177
|
-
function
|
|
4178
|
-
|
|
4179
|
-
}
|
|
4180
|
-
function
|
|
4192
|
+
}, Ai = (e, t) => _i(t).format(e), Si = (e, t) => Ei(t).format(e), Ti = (e, t) => xi(t).format(e), Bi = (e, t = F()) => Kt(e, t), Hi = K([ee, ue], () => wi);
|
|
4193
|
+
K([ee], () => Ai);
|
|
4194
|
+
K([ee], () => Si);
|
|
4195
|
+
K([ee], () => Ti);
|
|
4196
|
+
K([ee, ue], () => Bi);
|
|
4197
|
+
window.emWidgets = { topic: jr };
|
|
4198
|
+
const Mi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4199
|
+
function _t(e, t) {
|
|
4200
|
+
tr(e, t);
|
|
4201
|
+
}
|
|
4202
|
+
function Pi(e) {
|
|
4181
4203
|
ee.set(e);
|
|
4182
4204
|
}
|
|
4183
|
-
const
|
|
4205
|
+
const Ct = {
|
|
4184
4206
|
en: {
|
|
4185
4207
|
titleAccountClosure: "Account Closure",
|
|
4186
4208
|
accountClosureDescription: "Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",
|
|
@@ -4270,13 +4292,13 @@ const xt = {
|
|
|
4270
4292
|
accountClosureConfirm: "Yes"
|
|
4271
4293
|
}
|
|
4272
4294
|
};
|
|
4273
|
-
function
|
|
4295
|
+
function Oi(e, t) {
|
|
4274
4296
|
if (e) {
|
|
4275
4297
|
const r = document.createElement("style");
|
|
4276
4298
|
r.innerHTML = t, e.appendChild(r);
|
|
4277
4299
|
}
|
|
4278
4300
|
}
|
|
4279
|
-
function
|
|
4301
|
+
function Ii(e, t) {
|
|
4280
4302
|
const r = new URL(t);
|
|
4281
4303
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4282
4304
|
const i = document.createElement("style");
|
|
@@ -4285,7 +4307,7 @@ function Mi(e, t) {
|
|
|
4285
4307
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4286
4308
|
});
|
|
4287
4309
|
}
|
|
4288
|
-
function
|
|
4310
|
+
function Ni(e, t, r) {
|
|
4289
4311
|
if (window.emMessageBus) {
|
|
4290
4312
|
const n = document.createElement("style");
|
|
4291
4313
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4293,17 +4315,17 @@ function Pi(e, t, r) {
|
|
|
4293
4315
|
});
|
|
4294
4316
|
}
|
|
4295
4317
|
}
|
|
4296
|
-
function
|
|
4297
|
-
|
|
4318
|
+
function Li(e) {
|
|
4319
|
+
ur(e, "svelte-l1zvzl", '.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;height:100vh}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:13px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;max-width:400px;min-width:200px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;padding:10px 0;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
|
|
4298
4320
|
}
|
|
4299
|
-
function
|
|
4321
|
+
function $i(e) {
|
|
4300
4322
|
let t, r, n, i, o, s, a, u, l, c, f = (
|
|
4301
4323
|
/*$_*/
|
|
4302
4324
|
e[2]("titleAccountClosure") + ""
|
|
4303
4325
|
), h, p, m;
|
|
4304
4326
|
return {
|
|
4305
4327
|
c() {
|
|
4306
|
-
t = B("div"), r = j("svg"), n = j("defs"), i = j("style"), o =
|
|
4328
|
+
t = B("div"), r = j("svg"), n = j("defs"), i = j("style"), o = I(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = j("g"), a = j("g"), u = j("path"), l = D(), c = B("h2"), h = I(f), E(u, "class", "aaa"), E(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(u, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(c, "class", "AccountClosureTitleMobile"), E(c, "part", "AccountClosureTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
|
|
4307
4329
|
},
|
|
4308
4330
|
m(d, _) {
|
|
4309
4331
|
ge(d, t, _), v(t, r), v(r, n), v(n, i), v(i, o), v(r, s), v(s, a), v(a, u), v(t, l), v(t, c), v(c, h), p || (m = me(
|
|
@@ -4323,7 +4345,7 @@ function Ni(e) {
|
|
|
4323
4345
|
}
|
|
4324
4346
|
};
|
|
4325
4347
|
}
|
|
4326
|
-
function
|
|
4348
|
+
function wt(e) {
|
|
4327
4349
|
let t, r, n, i, o = (
|
|
4328
4350
|
/*$_*/
|
|
4329
4351
|
e[2]("modal") + ""
|
|
@@ -4336,7 +4358,7 @@ function Et(e) {
|
|
|
4336
4358
|
), d, _, P;
|
|
4337
4359
|
return {
|
|
4338
4360
|
c() {
|
|
4339
|
-
t = B("div"), r = B("div"), n = B("div"), i = B("p"), s =
|
|
4361
|
+
t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = I(o), a = D(), u = B("div"), l = B("button"), f = I(c), h = D(), p = B("button"), d = I(m), E(i, "class", "ModalText"), E(l, "class", "ModalCancel"), E(p, "class", "ModalConfirm"), E(u, "class", "ModalButtons"), E(n, "class", "ModalBody"), E(r, "class", "ModalContent"), E(t, "class", "ModalWrapper " + /*isMobile*/
|
|
4340
4362
|
(e[3] ? "ModalWrapperMobile" : ""));
|
|
4341
4363
|
},
|
|
4342
4364
|
m(S, A) {
|
|
@@ -4369,7 +4391,7 @@ function Et(e) {
|
|
|
4369
4391
|
}
|
|
4370
4392
|
};
|
|
4371
4393
|
}
|
|
4372
|
-
function
|
|
4394
|
+
function Ri(e) {
|
|
4373
4395
|
let t, r, n, i, o = (
|
|
4374
4396
|
/*$_*/
|
|
4375
4397
|
e[2]("titleAccountClosure") + ""
|
|
@@ -4381,14 +4403,14 @@ function Ii(e) {
|
|
|
4381
4403
|
e[2]("closeAccount") + ""
|
|
4382
4404
|
), _, P, S, A, H = (
|
|
4383
4405
|
/*isMobile*/
|
|
4384
|
-
e[3] &&
|
|
4385
|
-
),
|
|
4406
|
+
e[3] && $i(e)
|
|
4407
|
+
), C = (
|
|
4386
4408
|
/*closureModal*/
|
|
4387
|
-
e[1] &&
|
|
4409
|
+
e[1] && wt(e)
|
|
4388
4410
|
);
|
|
4389
4411
|
return {
|
|
4390
4412
|
c() {
|
|
4391
|
-
t = B("div"), r = B("div"), H && H.c(), n = D(), i = B("h2"), s =
|
|
4413
|
+
t = B("div"), r = B("div"), H && H.c(), n = D(), i = B("h2"), s = I(o), a = D(), u = B("div"), l = B("p"), f = I(c), h = D(), p = B("div"), m = B("button"), _ = I(d), P = D(), C && C.c(), E(i, "class", "AccountClosureTitle " + /*isMobile*/
|
|
4392
4414
|
(e[3] ? "AccountClosureTitleNone" : "")), E(u, "class", "AccountClosureDescription " + /*isMobile*/
|
|
4393
4415
|
(e[3] ? "AccountClosureDescriptionMobile" : "")), E(m, "class", "AccountClosureSave " + /*isMobile*/
|
|
4394
4416
|
(e[3] ? "AccountClosureSaveMobile" : "")), E(p, "class", "AccountClosureActionButtons " + /*isMobile*/
|
|
@@ -4396,7 +4418,7 @@ function Ii(e) {
|
|
|
4396
4418
|
(e[3] ? "AccountClosureWrapperMobile" : ""));
|
|
4397
4419
|
},
|
|
4398
4420
|
m(T, y) {
|
|
4399
|
-
ge(T, t, y), v(t, r), H && H.m(r, null), v(r, n), v(r, i), v(i, s), v(r, a), v(r, u), v(u, l), v(l, f), v(r, h), v(r, p), v(p, m), v(m, _), v(t, P),
|
|
4421
|
+
ge(T, t, y), v(t, r), H && H.m(r, null), v(r, n), v(r, i), v(i, s), v(r, a), v(r, u), v(u, l), v(l, f), v(r, h), v(r, p), v(p, m), v(m, _), v(t, P), C && C.m(t, null), e[16](t), S || (A = me(
|
|
4400
4422
|
m,
|
|
4401
4423
|
"click",
|
|
4402
4424
|
/*click_handler_1*/
|
|
@@ -4412,30 +4434,30 @@ function Ii(e) {
|
|
|
4412
4434
|
T[2]("accountClosureDescription") + "") && U(f, c), y & /*$_*/
|
|
4413
4435
|
4 && d !== (d = /*$_*/
|
|
4414
4436
|
T[2]("closeAccount") + "") && U(_, d), /*closureModal*/
|
|
4415
|
-
T[1] ?
|
|
4437
|
+
T[1] ? C ? C.p(T, y) : (C = wt(T), C.c(), C.m(t, null)) : C && (C.d(1), C = null);
|
|
4416
4438
|
},
|
|
4417
4439
|
i: O,
|
|
4418
4440
|
o: O,
|
|
4419
4441
|
d(T) {
|
|
4420
|
-
T && ae(t), H && H.d(),
|
|
4442
|
+
T && ae(t), H && H.d(), C && C.d(), e[16](null), S = !1, A();
|
|
4421
4443
|
}
|
|
4422
4444
|
};
|
|
4423
4445
|
}
|
|
4424
|
-
function
|
|
4446
|
+
function Di(e, t, r) {
|
|
4425
4447
|
let n;
|
|
4426
|
-
|
|
4427
|
-
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: u = "" } = t, l = window.navigator.userAgent, c =
|
|
4448
|
+
ar(e, Hi, (y) => r(2, n = y));
|
|
4449
|
+
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: u = "" } = t, l = window.navigator.userAgent, c = Mi(l) !== "PC", f = !1, h;
|
|
4428
4450
|
const p = () => {
|
|
4429
4451
|
fetch(u).then((G) => G.json()).then((G) => {
|
|
4430
|
-
Object.keys(G).forEach((
|
|
4431
|
-
|
|
4452
|
+
Object.keys(G).forEach((Ke) => {
|
|
4453
|
+
_t(Ke, G[Ke]);
|
|
4432
4454
|
});
|
|
4433
4455
|
}).catch((G) => {
|
|
4434
4456
|
console.log(G);
|
|
4435
4457
|
});
|
|
4436
4458
|
};
|
|
4437
|
-
Object.keys(
|
|
4438
|
-
|
|
4459
|
+
Object.keys(Ct).forEach((y) => {
|
|
4460
|
+
_t(y, Ct[y]);
|
|
4439
4461
|
});
|
|
4440
4462
|
const m = (y) => {
|
|
4441
4463
|
r(1, f = y), y === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
@@ -4450,13 +4472,13 @@ function Li(e, t, r) {
|
|
|
4450
4472
|
window.location.href
|
|
4451
4473
|
);
|
|
4452
4474
|
}, P = () => {
|
|
4453
|
-
|
|
4475
|
+
Pi(i);
|
|
4454
4476
|
};
|
|
4455
|
-
|
|
4477
|
+
dr(() => () => {
|
|
4456
4478
|
});
|
|
4457
|
-
const S = () => _(), A = () => m(!0), H = () => m(!1),
|
|
4479
|
+
const S = () => _(), A = () => m(!0), H = () => m(!1), C = () => d();
|
|
4458
4480
|
function T(y) {
|
|
4459
|
-
|
|
4481
|
+
Oe[y ? "unshift" : "push"](() => {
|
|
4460
4482
|
h = y, r(0, h);
|
|
4461
4483
|
});
|
|
4462
4484
|
}
|
|
@@ -4465,9 +4487,9 @@ function Li(e, t, r) {
|
|
|
4465
4487
|
}, e.$$.update = () => {
|
|
4466
4488
|
e.$$.dirty & /*lang*/
|
|
4467
4489
|
128 && i && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4468
|
-
257 && o && h &&
|
|
4469
|
-
513 && s && h &&
|
|
4470
|
-
1025 && a && h &&
|
|
4490
|
+
257 && o && h && Oi(h, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4491
|
+
513 && s && h && Ii(h, s), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4492
|
+
1025 && a && h && Ni(h, `${a}.Style`), e.$$.dirty & /*translationurl*/
|
|
4471
4493
|
2048 && u && p();
|
|
4472
4494
|
}, [
|
|
4473
4495
|
h,
|
|
@@ -4485,18 +4507,18 @@ function Li(e, t, r) {
|
|
|
4485
4507
|
S,
|
|
4486
4508
|
A,
|
|
4487
4509
|
H,
|
|
4488
|
-
|
|
4510
|
+
C,
|
|
4489
4511
|
T
|
|
4490
4512
|
];
|
|
4491
4513
|
}
|
|
4492
|
-
class
|
|
4514
|
+
class Ui extends Sr {
|
|
4493
4515
|
constructor(t) {
|
|
4494
|
-
super(),
|
|
4516
|
+
super(), wr(
|
|
4495
4517
|
this,
|
|
4496
4518
|
t,
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4519
|
+
Di,
|
|
4520
|
+
Ri,
|
|
4521
|
+
St,
|
|
4500
4522
|
{
|
|
4501
4523
|
lang: 7,
|
|
4502
4524
|
clientstyling: 8,
|
|
@@ -4504,7 +4526,7 @@ class $i extends _r {
|
|
|
4504
4526
|
mbsource: 10,
|
|
4505
4527
|
translationurl: 11
|
|
4506
4528
|
},
|
|
4507
|
-
|
|
4529
|
+
Li
|
|
4508
4530
|
);
|
|
4509
4531
|
}
|
|
4510
4532
|
get lang() {
|
|
@@ -4538,7 +4560,7 @@ class $i extends _r {
|
|
|
4538
4560
|
this.$$set({ translationurl: t }), R();
|
|
4539
4561
|
}
|
|
4540
4562
|
}
|
|
4541
|
-
|
|
4563
|
+
Ar(Ui, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4542
4564
|
export {
|
|
4543
|
-
|
|
4565
|
+
Ui as P
|
|
4544
4566
|
};
|