@everymatrix/player-account-closure 1.77.19 → 1.77.20
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/{PlayerAccountClosure-CE0Y_pJY.js → PlayerAccountClosure-06MNC2bV.js} +698 -741
- package/components/{PlayerAccountClosure-LMOIG3QA.js → PlayerAccountClosure-CSGFgG3m.js} +692 -735
- package/components/PlayerAccountClosure-OF7miYc0.cjs +18 -0
- package/es2015/player-account-closure.cjs +1 -1
- package/es2015/player-account-closure.js +1 -1
- package/esnext/player-account-closure.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountClosure-BMa90RKY.cjs +0 -18
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../stencil/ui-skeleton-hI4GeaLk.js";
|
|
2
2
|
function O() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function wt(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Je() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
e.forEach(
|
|
10
|
+
function ee(e) {
|
|
11
|
+
e.forEach(wt);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function Ze(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Ct(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function nr(e) {
|
|
20
20
|
return Object.keys(e).length === 0;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function At(e, ...t) {
|
|
23
23
|
if (e == null) {
|
|
24
24
|
for (const n of t)
|
|
25
25
|
n(void 0);
|
|
@@ -28,20 +28,20 @@ function Mt(e, ...t) {
|
|
|
28
28
|
const r = e.subscribe(...t);
|
|
29
29
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
e.$$.on_destroy.push(
|
|
31
|
+
function ir(e, t, r) {
|
|
32
|
+
e.$$.on_destroy.push(At(t, r));
|
|
33
33
|
}
|
|
34
34
|
function g(e, t) {
|
|
35
35
|
e.appendChild(t);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const n =
|
|
37
|
+
function or(e, t, r) {
|
|
38
|
+
const n = sr(e);
|
|
39
39
|
if (!n.getElementById(t)) {
|
|
40
40
|
const i = B("style");
|
|
41
|
-
i.id = t, i.textContent = r,
|
|
41
|
+
i.id = t, i.textContent = r, ar(n, i);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function sr(e) {
|
|
45
45
|
if (!e)
|
|
46
46
|
return document;
|
|
47
47
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -51,7 +51,7 @@ function hr(e) {
|
|
|
51
51
|
t
|
|
52
52
|
) : e.ownerDocument;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function ar(e, t) {
|
|
55
55
|
return g(
|
|
56
56
|
/** @type {Document} */
|
|
57
57
|
e.head || e,
|
|
@@ -64,14 +64,14 @@ function F(e, t, r) {
|
|
|
64
64
|
function R(e) {
|
|
65
65
|
e.parentNode && e.parentNode.removeChild(e);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function ur(e, t) {
|
|
68
68
|
for (let r = 0; r < e.length; r += 1)
|
|
69
69
|
e[r] && e[r].d(t);
|
|
70
70
|
}
|
|
71
71
|
function B(e) {
|
|
72
72
|
return document.createElement(e);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function j(e) {
|
|
75
75
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
76
76
|
}
|
|
77
77
|
function $(e) {
|
|
@@ -83,17 +83,17 @@ function U() {
|
|
|
83
83
|
function ve(e, t, r, n) {
|
|
84
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function _(e, t, r) {
|
|
87
87
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function lr(e) {
|
|
90
90
|
return Array.from(e.childNodes);
|
|
91
91
|
}
|
|
92
92
|
function X(e, t) {
|
|
93
93
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
94
94
|
t);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function cr(e) {
|
|
97
97
|
const t = {};
|
|
98
98
|
return e.childNodes.forEach(
|
|
99
99
|
/** @param {Element} node */
|
|
@@ -102,90 +102,90 @@ function mr(e) {
|
|
|
102
102
|
}
|
|
103
103
|
), t;
|
|
104
104
|
}
|
|
105
|
-
let
|
|
106
|
-
function
|
|
107
|
-
|
|
105
|
+
let se;
|
|
106
|
+
function oe(e) {
|
|
107
|
+
se = e;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
if (!
|
|
109
|
+
function hr() {
|
|
110
|
+
if (!se)
|
|
111
111
|
throw new Error("Function called outside component initialization");
|
|
112
|
-
return
|
|
112
|
+
return se;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
114
|
+
function fr(e) {
|
|
115
|
+
hr().$$.on_mount.push(e);
|
|
116
116
|
}
|
|
117
|
-
const V = [],
|
|
117
|
+
const V = [], Oe = [];
|
|
118
118
|
let Z = [];
|
|
119
|
-
const
|
|
120
|
-
let
|
|
121
|
-
function
|
|
122
|
-
|
|
119
|
+
const Ke = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
120
|
+
let Ie = !1;
|
|
121
|
+
function dr() {
|
|
122
|
+
Ie || (Ie = !0, pr.then(D));
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Ne(e) {
|
|
125
125
|
Z.push(e);
|
|
126
126
|
}
|
|
127
|
-
const
|
|
127
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
128
128
|
let W = 0;
|
|
129
129
|
function D() {
|
|
130
130
|
if (W !== 0)
|
|
131
131
|
return;
|
|
132
|
-
const e =
|
|
132
|
+
const e = se;
|
|
133
133
|
do {
|
|
134
134
|
try {
|
|
135
135
|
for (; W < V.length; ) {
|
|
136
136
|
const t = V[W];
|
|
137
|
-
W++,
|
|
137
|
+
W++, oe(t), mr(t.$$);
|
|
138
138
|
}
|
|
139
139
|
} catch (t) {
|
|
140
140
|
throw V.length = 0, W = 0, t;
|
|
141
141
|
}
|
|
142
|
-
for (
|
|
143
|
-
|
|
142
|
+
for (oe(null), V.length = 0, W = 0; Oe.length; )
|
|
143
|
+
Oe.pop()();
|
|
144
144
|
for (let t = 0; t < Z.length; t += 1) {
|
|
145
145
|
const r = Z[t];
|
|
146
|
-
|
|
146
|
+
Ae.has(r) || (Ae.add(r), r());
|
|
147
147
|
}
|
|
148
148
|
Z.length = 0;
|
|
149
149
|
} while (V.length);
|
|
150
|
-
for (;
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
for (; Ke.length; )
|
|
151
|
+
Ke.pop()();
|
|
152
|
+
Ie = !1, Ae.clear(), oe(e);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function mr(e) {
|
|
155
155
|
if (e.fragment !== null) {
|
|
156
|
-
e.update(),
|
|
156
|
+
e.update(), ee(e.before_update);
|
|
157
157
|
const t = e.dirty;
|
|
158
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
158
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function br(e) {
|
|
162
162
|
const t = [], r = [];
|
|
163
163
|
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
164
164
|
}
|
|
165
|
-
const
|
|
166
|
-
function
|
|
167
|
-
e && e.i && (
|
|
165
|
+
const vr = /* @__PURE__ */ new Set();
|
|
166
|
+
function gr(e, t) {
|
|
167
|
+
e && e.i && (vr.delete(e), e.i(t));
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function yr(e) {
|
|
170
170
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function xr(e, t, r) {
|
|
173
173
|
const { fragment: n, after_update: i } = e.$$;
|
|
174
|
-
n && n.m(t, r),
|
|
175
|
-
const o = e.$$.on_mount.map(
|
|
176
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
177
|
-
}), i.forEach(
|
|
174
|
+
n && n.m(t, r), Ne(() => {
|
|
175
|
+
const o = e.$$.on_mount.map(wt).filter(Ze);
|
|
176
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
177
|
+
}), i.forEach(Ne);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function _r(e, t) {
|
|
180
180
|
const r = e.$$;
|
|
181
|
-
r.fragment !== null && (
|
|
181
|
+
r.fragment !== null && (br(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
183
|
+
function Er(e, t) {
|
|
184
|
+
e.$$.dirty[0] === -1 && (V.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
185
185
|
}
|
|
186
|
-
function
|
|
187
|
-
const l =
|
|
188
|
-
|
|
186
|
+
function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
187
|
+
const l = se;
|
|
188
|
+
oe(e);
|
|
189
189
|
const u = e.$$ = {
|
|
190
190
|
fragment: null,
|
|
191
191
|
ctx: [],
|
|
@@ -193,7 +193,7 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
193
193
|
props: o,
|
|
194
194
|
update: O,
|
|
195
195
|
not_equal: i,
|
|
196
|
-
bound:
|
|
196
|
+
bound: Je(),
|
|
197
197
|
// lifecycle
|
|
198
198
|
on_mount: [],
|
|
199
199
|
on_destroy: [],
|
|
@@ -202,7 +202,7 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
202
202
|
after_update: [],
|
|
203
203
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
204
204
|
// everything else
|
|
205
|
-
callbacks:
|
|
205
|
+
callbacks: Je(),
|
|
206
206
|
dirty: a,
|
|
207
207
|
skip_bound: !1,
|
|
208
208
|
root: t.target || l.$$.root
|
|
@@ -211,19 +211,19 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
211
211
|
let c = !1;
|
|
212
212
|
if (u.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
|
|
213
213
|
const m = p.length ? p[0] : f;
|
|
214
|
-
return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c &&
|
|
215
|
-
}) : [], u.update(), c = !0,
|
|
214
|
+
return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Er(e, h)), f;
|
|
215
|
+
}) : [], u.update(), c = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
216
216
|
if (t.hydrate) {
|
|
217
|
-
const h =
|
|
217
|
+
const h = lr(t.target);
|
|
218
218
|
u.fragment && u.fragment.l(h), h.forEach(R);
|
|
219
219
|
} else
|
|
220
220
|
u.fragment && u.fragment.c();
|
|
221
|
-
t.intro &&
|
|
221
|
+
t.intro && gr(e.$$.fragment), xr(e, t.target, t.anchor), D();
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
oe(l);
|
|
224
224
|
}
|
|
225
|
-
let
|
|
226
|
-
typeof HTMLElement == "function" && (
|
|
225
|
+
let St;
|
|
226
|
+
typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
227
227
|
/** The Svelte component constructor */
|
|
228
228
|
$$ctor;
|
|
229
229
|
/** Slots */
|
|
@@ -265,7 +265,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
|
|
|
265
265
|
let o;
|
|
266
266
|
return {
|
|
267
267
|
c: function() {
|
|
268
|
-
o = B("slot"), i !== "default" &&
|
|
268
|
+
o = B("slot"), i !== "default" && _(o, "name", i);
|
|
269
269
|
},
|
|
270
270
|
/**
|
|
271
271
|
* @param {HTMLElement} target
|
|
@@ -282,7 +282,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
|
|
|
282
282
|
};
|
|
283
283
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
284
284
|
return;
|
|
285
|
-
const t = {}, r =
|
|
285
|
+
const t = {}, r = cr(this);
|
|
286
286
|
for (const i of this.$$s)
|
|
287
287
|
i in r && (t[i] = [e(i)]);
|
|
288
288
|
for (const i of this.attributes) {
|
|
@@ -369,8 +369,8 @@ function pe(e, t, r, n) {
|
|
|
369
369
|
return t;
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
let s = class extends
|
|
372
|
+
function Cr(e, t, r, n, i, o) {
|
|
373
|
+
let s = class extends St {
|
|
374
374
|
constructor() {
|
|
375
375
|
super(e, r, i), this.$$p_d = t;
|
|
376
376
|
}
|
|
@@ -398,7 +398,7 @@ function Hr(e, t, r, n, i, o) {
|
|
|
398
398
|
}), e.element = /** @type {any} */
|
|
399
399
|
s, s;
|
|
400
400
|
}
|
|
401
|
-
class
|
|
401
|
+
class Ar {
|
|
402
402
|
/**
|
|
403
403
|
* ### PRIVATE API
|
|
404
404
|
*
|
|
@@ -417,7 +417,7 @@ class Mr {
|
|
|
417
417
|
$$set = void 0;
|
|
418
418
|
/** @returns {void} */
|
|
419
419
|
$destroy() {
|
|
420
|
-
|
|
420
|
+
_r(this, 1), this.$destroy = O;
|
|
421
421
|
}
|
|
422
422
|
/**
|
|
423
423
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -426,7 +426,7 @@ class Mr {
|
|
|
426
426
|
* @returns {() => void}
|
|
427
427
|
*/
|
|
428
428
|
$on(t, r) {
|
|
429
|
-
if (!
|
|
429
|
+
if (!Ze(r))
|
|
430
430
|
return O;
|
|
431
431
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
432
432
|
return n.push(r), () => {
|
|
@@ -439,11 +439,11 @@ class Mr {
|
|
|
439
439
|
* @returns {void}
|
|
440
440
|
*/
|
|
441
441
|
$set(t) {
|
|
442
|
-
this.$$set && !
|
|
442
|
+
this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
const
|
|
446
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
445
|
+
const Sr = "4";
|
|
446
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
|
|
447
447
|
/*! *****************************************************************************
|
|
448
448
|
Copyright (c) Microsoft Corporation.
|
|
449
449
|
|
|
@@ -458,24 +458,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
458
458
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
459
459
|
PERFORMANCE OF THIS SOFTWARE.
|
|
460
460
|
***************************************************************************** */
|
|
461
|
-
var
|
|
462
|
-
return
|
|
461
|
+
var Le = function(e, t) {
|
|
462
|
+
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
463
463
|
r.__proto__ = n;
|
|
464
464
|
} || function(r, n) {
|
|
465
465
|
for (var i in n)
|
|
466
466
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
467
|
-
},
|
|
467
|
+
}, Le(e, t);
|
|
468
468
|
};
|
|
469
|
-
function
|
|
469
|
+
function N(e, t) {
|
|
470
470
|
if (typeof t != "function" && t !== null)
|
|
471
471
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
472
|
-
|
|
472
|
+
Le(e, t);
|
|
473
473
|
function r() {
|
|
474
474
|
this.constructor = e;
|
|
475
475
|
}
|
|
476
476
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
var y = function() {
|
|
479
|
+
return y = Object.assign || function(t) {
|
|
480
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
481
|
+
r = arguments[n];
|
|
482
|
+
for (var o in r)
|
|
483
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
484
|
+
}
|
|
485
|
+
return t;
|
|
486
|
+
}, y.apply(this, arguments);
|
|
487
|
+
};
|
|
488
|
+
function Tr(e, t) {
|
|
489
|
+
var r = {};
|
|
490
|
+
for (var n in e)
|
|
491
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
492
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
493
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
494
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
495
|
+
return r;
|
|
496
|
+
}
|
|
497
|
+
function $e(e) {
|
|
479
498
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
480
499
|
if (r)
|
|
481
500
|
return r.call(e);
|
|
@@ -487,7 +506,7 @@ function Ue(e) {
|
|
|
487
506
|
};
|
|
488
507
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
489
508
|
}
|
|
490
|
-
function
|
|
509
|
+
function Re(e, t) {
|
|
491
510
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
492
511
|
if (!r)
|
|
493
512
|
return e;
|
|
@@ -507,22 +526,22 @@ function Fe(e, t) {
|
|
|
507
526
|
}
|
|
508
527
|
return o;
|
|
509
528
|
}
|
|
510
|
-
function
|
|
511
|
-
if (arguments.length === 2)
|
|
529
|
+
function q(e, t, r) {
|
|
530
|
+
if (r || arguments.length === 2)
|
|
512
531
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
513
532
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
514
533
|
return e.concat(o || t);
|
|
515
534
|
}
|
|
516
|
-
function
|
|
535
|
+
function I(e) {
|
|
517
536
|
return typeof e == "function";
|
|
518
537
|
}
|
|
519
|
-
function
|
|
538
|
+
function Tt(e) {
|
|
520
539
|
var t = function(n) {
|
|
521
540
|
Error.call(n), n.stack = new Error().stack;
|
|
522
541
|
}, r = e(t);
|
|
523
542
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
524
543
|
}
|
|
525
|
-
var
|
|
544
|
+
var Se = Tt(function(e) {
|
|
526
545
|
return function(r) {
|
|
527
546
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
528
547
|
` + r.map(function(n, i) {
|
|
@@ -531,13 +550,13 @@ var Be = Ot(function(e) {
|
|
|
531
550
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
532
551
|
};
|
|
533
552
|
});
|
|
534
|
-
function
|
|
553
|
+
function De(e, t) {
|
|
535
554
|
if (e) {
|
|
536
555
|
var r = e.indexOf(t);
|
|
537
556
|
0 <= r && e.splice(r, 1);
|
|
538
557
|
}
|
|
539
558
|
}
|
|
540
|
-
var
|
|
559
|
+
var xe = function() {
|
|
541
560
|
function e(t) {
|
|
542
561
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
543
562
|
}
|
|
@@ -549,7 +568,7 @@ var _e = function() {
|
|
|
549
568
|
if (s)
|
|
550
569
|
if (this._parentage = null, Array.isArray(s))
|
|
551
570
|
try {
|
|
552
|
-
for (var a =
|
|
571
|
+
for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
|
|
553
572
|
var u = l.value;
|
|
554
573
|
u.remove(this);
|
|
555
574
|
}
|
|
@@ -566,22 +585,22 @@ var _e = function() {
|
|
|
566
585
|
else
|
|
567
586
|
s.remove(this);
|
|
568
587
|
var c = this.initialTeardown;
|
|
569
|
-
if (
|
|
588
|
+
if (I(c))
|
|
570
589
|
try {
|
|
571
590
|
c();
|
|
572
591
|
} catch (d) {
|
|
573
|
-
o = d instanceof
|
|
592
|
+
o = d instanceof Se ? d.errors : [d];
|
|
574
593
|
}
|
|
575
594
|
var h = this._finalizers;
|
|
576
595
|
if (h) {
|
|
577
596
|
this._finalizers = null;
|
|
578
597
|
try {
|
|
579
|
-
for (var f =
|
|
598
|
+
for (var f = $e(h), p = f.next(); !p.done; p = f.next()) {
|
|
580
599
|
var m = p.value;
|
|
581
600
|
try {
|
|
582
|
-
|
|
601
|
+
et(m);
|
|
583
602
|
} catch (d) {
|
|
584
|
-
o = o ?? [], d instanceof
|
|
603
|
+
o = o ?? [], d instanceof Se ? o = q(q([], Re(o)), Re(d.errors)) : o.push(d);
|
|
585
604
|
}
|
|
586
605
|
}
|
|
587
606
|
} catch (d) {
|
|
@@ -596,13 +615,13 @@ var _e = function() {
|
|
|
596
615
|
}
|
|
597
616
|
}
|
|
598
617
|
if (o)
|
|
599
|
-
throw new
|
|
618
|
+
throw new Se(o);
|
|
600
619
|
}
|
|
601
620
|
}, e.prototype.add = function(t) {
|
|
602
621
|
var r;
|
|
603
622
|
if (t && t !== this)
|
|
604
623
|
if (this.closed)
|
|
605
|
-
|
|
624
|
+
et(t);
|
|
606
625
|
else {
|
|
607
626
|
if (t instanceof e) {
|
|
608
627
|
if (t.closed || t._hasParent(this))
|
|
@@ -619,52 +638,52 @@ var _e = function() {
|
|
|
619
638
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
620
639
|
}, e.prototype._removeParent = function(t) {
|
|
621
640
|
var r = this._parentage;
|
|
622
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
641
|
+
r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
|
|
623
642
|
}, e.prototype.remove = function(t) {
|
|
624
643
|
var r = this._finalizers;
|
|
625
|
-
r &&
|
|
644
|
+
r && De(r, t), t instanceof e && t._removeParent(this);
|
|
626
645
|
}, e.EMPTY = function() {
|
|
627
646
|
var t = new e();
|
|
628
647
|
return t.closed = !0, t;
|
|
629
648
|
}(), e;
|
|
630
|
-
}(),
|
|
631
|
-
function
|
|
632
|
-
return e instanceof
|
|
649
|
+
}(), Bt = xe.EMPTY;
|
|
650
|
+
function Ht(e) {
|
|
651
|
+
return e instanceof xe || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
|
|
633
652
|
}
|
|
634
|
-
function
|
|
635
|
-
|
|
653
|
+
function et(e) {
|
|
654
|
+
I(e) ? e() : e.unsubscribe();
|
|
636
655
|
}
|
|
637
|
-
var
|
|
656
|
+
var Br = {
|
|
638
657
|
Promise: void 0
|
|
639
|
-
},
|
|
658
|
+
}, Hr = {
|
|
640
659
|
setTimeout: function(e, t) {
|
|
641
660
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
642
661
|
r[n - 2] = arguments[n];
|
|
643
|
-
return setTimeout.apply(void 0,
|
|
662
|
+
return setTimeout.apply(void 0, q([e, t], Re(r)));
|
|
644
663
|
},
|
|
645
664
|
clearTimeout: function(e) {
|
|
646
665
|
return clearTimeout(e);
|
|
647
666
|
},
|
|
648
667
|
delegate: void 0
|
|
649
668
|
};
|
|
650
|
-
function
|
|
651
|
-
|
|
669
|
+
function Mr(e) {
|
|
670
|
+
Hr.setTimeout(function() {
|
|
652
671
|
throw e;
|
|
653
672
|
});
|
|
654
673
|
}
|
|
655
|
-
function
|
|
674
|
+
function tt() {
|
|
656
675
|
}
|
|
657
676
|
function de(e) {
|
|
658
677
|
e();
|
|
659
678
|
}
|
|
660
|
-
var
|
|
661
|
-
|
|
679
|
+
var Mt = function(e) {
|
|
680
|
+
N(t, e);
|
|
662
681
|
function t(r) {
|
|
663
682
|
var n = e.call(this) || this;
|
|
664
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
683
|
+
return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Ir, n;
|
|
665
684
|
}
|
|
666
685
|
return t.create = function(r, n, i) {
|
|
667
|
-
return new
|
|
686
|
+
return new Ue(r, n, i);
|
|
668
687
|
}, t.prototype.next = function(r) {
|
|
669
688
|
this.isStopped || this._next(r);
|
|
670
689
|
}, t.prototype.error = function(r) {
|
|
@@ -688,7 +707,7 @@ var Lt = function(e) {
|
|
|
688
707
|
this.unsubscribe();
|
|
689
708
|
}
|
|
690
709
|
}, t;
|
|
691
|
-
}(
|
|
710
|
+
}(xe), Pr = function() {
|
|
692
711
|
function e(t) {
|
|
693
712
|
this.partialObserver = t;
|
|
694
713
|
}
|
|
@@ -719,43 +738,43 @@ var Lt = function(e) {
|
|
|
719
738
|
he(r);
|
|
720
739
|
}
|
|
721
740
|
}, e;
|
|
722
|
-
}(),
|
|
723
|
-
|
|
741
|
+
}(), Ue = function(e) {
|
|
742
|
+
N(t, e);
|
|
724
743
|
function t(r, n, i) {
|
|
725
744
|
var o = e.call(this) || this, s;
|
|
726
|
-
return
|
|
745
|
+
return I(r) || !r ? s = {
|
|
727
746
|
next: r ?? void 0,
|
|
728
747
|
error: n ?? void 0,
|
|
729
748
|
complete: i ?? void 0
|
|
730
|
-
} : s = r, o.destination = new
|
|
749
|
+
} : s = r, o.destination = new Pr(s), o;
|
|
731
750
|
}
|
|
732
751
|
return t;
|
|
733
|
-
}(
|
|
752
|
+
}(Mt);
|
|
734
753
|
function he(e) {
|
|
735
|
-
|
|
754
|
+
Mr(e);
|
|
736
755
|
}
|
|
737
|
-
function
|
|
756
|
+
function Or(e) {
|
|
738
757
|
throw e;
|
|
739
758
|
}
|
|
740
|
-
var
|
|
759
|
+
var Ir = {
|
|
741
760
|
closed: !0,
|
|
742
|
-
next:
|
|
743
|
-
error:
|
|
744
|
-
complete:
|
|
745
|
-
},
|
|
761
|
+
next: tt,
|
|
762
|
+
error: Or,
|
|
763
|
+
complete: tt
|
|
764
|
+
}, Nr = function() {
|
|
746
765
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
747
766
|
}();
|
|
748
|
-
function
|
|
767
|
+
function Lr(e) {
|
|
749
768
|
return e;
|
|
750
769
|
}
|
|
751
|
-
function
|
|
752
|
-
return e.length === 0 ?
|
|
770
|
+
function $r(e) {
|
|
771
|
+
return e.length === 0 ? Lr : e.length === 1 ? e[0] : function(r) {
|
|
753
772
|
return e.reduce(function(n, i) {
|
|
754
773
|
return i(n);
|
|
755
774
|
}, r);
|
|
756
775
|
};
|
|
757
776
|
}
|
|
758
|
-
var
|
|
777
|
+
var rt = function() {
|
|
759
778
|
function e(t) {
|
|
760
779
|
t && (this._subscribe = t);
|
|
761
780
|
}
|
|
@@ -763,7 +782,7 @@ var at = function() {
|
|
|
763
782
|
var r = new e();
|
|
764
783
|
return r.source = this, r.operator = t, r;
|
|
765
784
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
766
|
-
var i = this, o =
|
|
785
|
+
var i = this, o = Dr(t) ? t : new Ue(t, r, n);
|
|
767
786
|
return de(function() {
|
|
768
787
|
var s = i, a = s.operator, l = s.source;
|
|
769
788
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -776,8 +795,8 @@ var at = function() {
|
|
|
776
795
|
}
|
|
777
796
|
}, e.prototype.forEach = function(t, r) {
|
|
778
797
|
var n = this;
|
|
779
|
-
return r =
|
|
780
|
-
var s = new
|
|
798
|
+
return r = nt(r), new r(function(i, o) {
|
|
799
|
+
var s = new Ue({
|
|
781
800
|
next: function(a) {
|
|
782
801
|
try {
|
|
783
802
|
t(a);
|
|
@@ -793,15 +812,15 @@ var at = function() {
|
|
|
793
812
|
}, e.prototype._subscribe = function(t) {
|
|
794
813
|
var r;
|
|
795
814
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
796
|
-
}, e.prototype[
|
|
815
|
+
}, e.prototype[Nr] = function() {
|
|
797
816
|
return this;
|
|
798
817
|
}, e.prototype.pipe = function() {
|
|
799
818
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
800
819
|
t[r] = arguments[r];
|
|
801
|
-
return
|
|
820
|
+
return $r(t)(this);
|
|
802
821
|
}, e.prototype.toPromise = function(t) {
|
|
803
822
|
var r = this;
|
|
804
|
-
return t =
|
|
823
|
+
return t = nt(t), new t(function(n, i) {
|
|
805
824
|
var o;
|
|
806
825
|
r.subscribe(function(s) {
|
|
807
826
|
return o = s;
|
|
@@ -815,32 +834,32 @@ var at = function() {
|
|
|
815
834
|
return new e(t);
|
|
816
835
|
}, e;
|
|
817
836
|
}();
|
|
818
|
-
function
|
|
837
|
+
function nt(e) {
|
|
819
838
|
var t;
|
|
820
|
-
return (t = e ??
|
|
839
|
+
return (t = e ?? Br.Promise) !== null && t !== void 0 ? t : Promise;
|
|
821
840
|
}
|
|
822
|
-
function
|
|
823
|
-
return e &&
|
|
841
|
+
function Rr(e) {
|
|
842
|
+
return e && I(e.next) && I(e.error) && I(e.complete);
|
|
824
843
|
}
|
|
825
|
-
function
|
|
826
|
-
return e && e instanceof
|
|
844
|
+
function Dr(e) {
|
|
845
|
+
return e && e instanceof Mt || Rr(e) && Ht(e);
|
|
827
846
|
}
|
|
828
|
-
var
|
|
847
|
+
var Ur = Tt(function(e) {
|
|
829
848
|
return function() {
|
|
830
849
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
831
850
|
};
|
|
832
|
-
}),
|
|
833
|
-
|
|
851
|
+
}), Pt = function(e) {
|
|
852
|
+
N(t, e);
|
|
834
853
|
function t() {
|
|
835
854
|
var r = e.call(this) || this;
|
|
836
855
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
837
856
|
}
|
|
838
857
|
return t.prototype.lift = function(r) {
|
|
839
|
-
var n = new
|
|
858
|
+
var n = new it(this, this);
|
|
840
859
|
return n.operator = r, n;
|
|
841
860
|
}, t.prototype._throwIfClosed = function() {
|
|
842
861
|
if (this.closed)
|
|
843
|
-
throw new
|
|
862
|
+
throw new Ur();
|
|
844
863
|
}, t.prototype.next = function(r) {
|
|
845
864
|
var n = this;
|
|
846
865
|
de(function() {
|
|
@@ -848,7 +867,7 @@ var kr = Ot(function(e) {
|
|
|
848
867
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
849
868
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
850
869
|
try {
|
|
851
|
-
for (var s =
|
|
870
|
+
for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
852
871
|
var l = a.value;
|
|
853
872
|
l.next(r);
|
|
854
873
|
}
|
|
@@ -897,20 +916,20 @@ var kr = Ot(function(e) {
|
|
|
897
916
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
898
917
|
}, t.prototype._innerSubscribe = function(r) {
|
|
899
918
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
900
|
-
return o || s ?
|
|
901
|
-
n.currentObservers = null,
|
|
919
|
+
return o || s ? Bt : (this.currentObservers = null, a.push(r), new xe(function() {
|
|
920
|
+
n.currentObservers = null, De(a, r);
|
|
902
921
|
}));
|
|
903
922
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
904
923
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
905
924
|
i ? r.error(o) : s && r.complete();
|
|
906
925
|
}, t.prototype.asObservable = function() {
|
|
907
|
-
var r = new
|
|
926
|
+
var r = new rt();
|
|
908
927
|
return r.source = this, r;
|
|
909
928
|
}, t.create = function(r, n) {
|
|
910
|
-
return new
|
|
929
|
+
return new it(r, n);
|
|
911
930
|
}, t;
|
|
912
|
-
}(
|
|
913
|
-
|
|
931
|
+
}(rt), it = function(e) {
|
|
932
|
+
N(t, e);
|
|
914
933
|
function t(r, n) {
|
|
915
934
|
var i = e.call(this) || this;
|
|
916
935
|
return i.destination = r, i.source = n, i;
|
|
@@ -926,17 +945,17 @@ var kr = Ot(function(e) {
|
|
|
926
945
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
927
946
|
}, t.prototype._subscribe = function(r) {
|
|
928
947
|
var n, i;
|
|
929
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
948
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Bt;
|
|
930
949
|
}, t;
|
|
931
|
-
}(
|
|
950
|
+
}(Pt), Ot = {
|
|
932
951
|
now: function() {
|
|
933
|
-
return (
|
|
952
|
+
return (Ot.delegate || Date).now();
|
|
934
953
|
},
|
|
935
954
|
delegate: void 0
|
|
936
|
-
},
|
|
937
|
-
|
|
955
|
+
}, Fr = function(e) {
|
|
956
|
+
N(t, e);
|
|
938
957
|
function t(r, n, i) {
|
|
939
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
958
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
|
|
940
959
|
var o = e.call(this) || this;
|
|
941
960
|
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;
|
|
942
961
|
}
|
|
@@ -956,24 +975,24 @@ var kr = Ot(function(e) {
|
|
|
956
975
|
u && o.splice(0, u + 1);
|
|
957
976
|
}
|
|
958
977
|
}, t;
|
|
959
|
-
}(
|
|
960
|
-
const
|
|
961
|
-
if (
|
|
962
|
-
const r = new
|
|
963
|
-
|
|
978
|
+
}(Pt);
|
|
979
|
+
const ot = [], st = {}, Gr = (e, t = 0) => {
|
|
980
|
+
if (ot.indexOf(e) == -1) {
|
|
981
|
+
const r = new Fr(t);
|
|
982
|
+
st[e] = r, ot.push(e);
|
|
964
983
|
}
|
|
965
|
-
return
|
|
984
|
+
return st[e];
|
|
966
985
|
}, z = [];
|
|
967
|
-
function
|
|
986
|
+
function kr(e, t) {
|
|
968
987
|
return {
|
|
969
|
-
subscribe:
|
|
988
|
+
subscribe: _e(e, t).subscribe
|
|
970
989
|
};
|
|
971
990
|
}
|
|
972
|
-
function
|
|
991
|
+
function _e(e, t = O) {
|
|
973
992
|
let r;
|
|
974
993
|
const n = /* @__PURE__ */ new Set();
|
|
975
994
|
function i(a) {
|
|
976
|
-
if (
|
|
995
|
+
if (Ct(e, a) && (e = a, r)) {
|
|
977
996
|
const l = !z.length;
|
|
978
997
|
for (const u of n)
|
|
979
998
|
u[1](), z.push(u, e);
|
|
@@ -995,12 +1014,12 @@ function Ee(e, t = O) {
|
|
|
995
1014
|
}
|
|
996
1015
|
return { set: i, update: o, subscribe: s };
|
|
997
1016
|
}
|
|
998
|
-
function
|
|
1017
|
+
function te(e, t, r) {
|
|
999
1018
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1000
1019
|
if (!i.every(Boolean))
|
|
1001
1020
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1002
1021
|
const o = t.length < 2;
|
|
1003
|
-
return
|
|
1022
|
+
return kr(r, (s, a) => {
|
|
1004
1023
|
let l = !1;
|
|
1005
1024
|
const u = [];
|
|
1006
1025
|
let c = 0, h = O;
|
|
@@ -1009,12 +1028,12 @@ function ee(e, t, r) {
|
|
|
1009
1028
|
return;
|
|
1010
1029
|
h();
|
|
1011
1030
|
const m = t(n ? u[0] : u, s, a);
|
|
1012
|
-
o ? s(m) : h =
|
|
1031
|
+
o ? s(m) : h = Ze(m) ? m : O;
|
|
1013
1032
|
}, p = i.map(
|
|
1014
|
-
(m, d) =>
|
|
1033
|
+
(m, d) => At(
|
|
1015
1034
|
m,
|
|
1016
|
-
(
|
|
1017
|
-
u[d] =
|
|
1035
|
+
(E) => {
|
|
1036
|
+
u[d] = E, c &= ~(1 << d), l && f();
|
|
1018
1037
|
},
|
|
1019
1038
|
() => {
|
|
1020
1039
|
c |= 1 << d;
|
|
@@ -1022,157 +1041,115 @@ function ee(e, t, r) {
|
|
|
1022
1041
|
)
|
|
1023
1042
|
);
|
|
1024
1043
|
return l = !0, f(), function() {
|
|
1025
|
-
|
|
1044
|
+
ee(p), h(), l = !1;
|
|
1026
1045
|
};
|
|
1027
1046
|
});
|
|
1028
1047
|
}
|
|
1029
|
-
function
|
|
1048
|
+
function jr(e) {
|
|
1030
1049
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1031
1050
|
}
|
|
1032
|
-
var
|
|
1033
|
-
return
|
|
1051
|
+
var Wr = function(t) {
|
|
1052
|
+
return zr(t) && !Vr(t);
|
|
1034
1053
|
};
|
|
1035
|
-
function
|
|
1054
|
+
function zr(e) {
|
|
1036
1055
|
return !!e && typeof e == "object";
|
|
1037
1056
|
}
|
|
1038
|
-
function
|
|
1057
|
+
function Vr(e) {
|
|
1039
1058
|
var t = Object.prototype.toString.call(e);
|
|
1040
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1059
|
+
return t === "[object RegExp]" || t === "[object Date]" || qr(e);
|
|
1041
1060
|
}
|
|
1042
|
-
var
|
|
1043
|
-
function
|
|
1044
|
-
return e.$$typeof ===
|
|
1061
|
+
var Xr = typeof Symbol == "function" && Symbol.for, Zr = Xr ? Symbol.for("react.element") : 60103;
|
|
1062
|
+
function qr(e) {
|
|
1063
|
+
return e.$$typeof === Zr;
|
|
1045
1064
|
}
|
|
1046
|
-
function
|
|
1065
|
+
function Qr(e) {
|
|
1047
1066
|
return Array.isArray(e) ? [] : {};
|
|
1048
1067
|
}
|
|
1049
|
-
function
|
|
1050
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1068
|
+
function ae(e, t) {
|
|
1069
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Qr(e), e, t) : e;
|
|
1051
1070
|
}
|
|
1052
|
-
function
|
|
1071
|
+
function Yr(e, t, r) {
|
|
1053
1072
|
return e.concat(t).map(function(n) {
|
|
1054
|
-
return
|
|
1073
|
+
return ae(n, r);
|
|
1055
1074
|
});
|
|
1056
1075
|
}
|
|
1057
|
-
function
|
|
1076
|
+
function Jr(e, t) {
|
|
1058
1077
|
if (!t.customMerge)
|
|
1059
|
-
return
|
|
1078
|
+
return Q;
|
|
1060
1079
|
var r = t.customMerge(e);
|
|
1061
|
-
return typeof r == "function" ? r :
|
|
1080
|
+
return typeof r == "function" ? r : Q;
|
|
1062
1081
|
}
|
|
1063
|
-
function
|
|
1082
|
+
function Kr(e) {
|
|
1064
1083
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1065
1084
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1066
1085
|
}) : [];
|
|
1067
1086
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return Object.keys(e).concat(
|
|
1087
|
+
function at(e) {
|
|
1088
|
+
return Object.keys(e).concat(Kr(e));
|
|
1070
1089
|
}
|
|
1071
|
-
function
|
|
1090
|
+
function It(e, t) {
|
|
1072
1091
|
try {
|
|
1073
1092
|
return t in e;
|
|
1074
1093
|
} catch {
|
|
1075
1094
|
return !1;
|
|
1076
1095
|
}
|
|
1077
1096
|
}
|
|
1078
|
-
function
|
|
1079
|
-
return
|
|
1097
|
+
function en(e, t) {
|
|
1098
|
+
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1080
1099
|
}
|
|
1081
|
-
function
|
|
1100
|
+
function tn(e, t, r) {
|
|
1082
1101
|
var n = {};
|
|
1083
|
-
return r.isMergeableObject(e) &&
|
|
1084
|
-
n[i] =
|
|
1085
|
-
}),
|
|
1086
|
-
|
|
1102
|
+
return r.isMergeableObject(e) && at(e).forEach(function(i) {
|
|
1103
|
+
n[i] = ae(e[i], r);
|
|
1104
|
+
}), at(t).forEach(function(i) {
|
|
1105
|
+
en(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1087
1106
|
}), n;
|
|
1088
1107
|
}
|
|
1089
|
-
function
|
|
1090
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1108
|
+
function Q(e, t, r) {
|
|
1109
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = ae;
|
|
1091
1110
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1092
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1111
|
+
return o ? n ? r.arrayMerge(e, t, r) : tn(e, t, r) : ae(t, r);
|
|
1093
1112
|
}
|
|
1094
|
-
|
|
1113
|
+
Q.all = function(t, r) {
|
|
1095
1114
|
if (!Array.isArray(t))
|
|
1096
1115
|
throw new Error("first argument should be an array");
|
|
1097
1116
|
return t.reduce(function(n, i) {
|
|
1098
|
-
return
|
|
1117
|
+
return Q(n, i, r);
|
|
1099
1118
|
}, {});
|
|
1100
1119
|
};
|
|
1101
|
-
var
|
|
1102
|
-
const
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
r.__proto__ = n;
|
|
1106
|
-
} || function(r, n) {
|
|
1107
|
-
for (var i in n)
|
|
1108
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1109
|
-
}, We(e, t);
|
|
1110
|
-
};
|
|
1111
|
-
function we(e, t) {
|
|
1112
|
-
if (typeof t != "function" && t !== null)
|
|
1113
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1114
|
-
We(e, t);
|
|
1115
|
-
function r() {
|
|
1116
|
-
this.constructor = e;
|
|
1117
|
-
}
|
|
1118
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1119
|
-
}
|
|
1120
|
-
var I = function() {
|
|
1121
|
-
return I = Object.assign || function(t) {
|
|
1122
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1123
|
-
r = arguments[n];
|
|
1124
|
-
for (var o in r)
|
|
1125
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1126
|
-
}
|
|
1127
|
-
return t;
|
|
1128
|
-
}, I.apply(this, arguments);
|
|
1129
|
-
};
|
|
1130
|
-
function cn(e, t) {
|
|
1131
|
-
var r = {};
|
|
1132
|
-
for (var n in e)
|
|
1133
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1134
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1135
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1136
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1137
|
-
return r;
|
|
1138
|
-
}
|
|
1139
|
-
function He(e, t, r) {
|
|
1140
|
-
if (r || arguments.length === 2)
|
|
1141
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1142
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1143
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1144
|
-
}
|
|
1145
|
-
function Me(e, t) {
|
|
1146
|
-
var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : pn;
|
|
1120
|
+
var rn = Q, nn = rn;
|
|
1121
|
+
const on = /* @__PURE__ */ jr(nn);
|
|
1122
|
+
function Te(e, t) {
|
|
1123
|
+
var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : un;
|
|
1147
1124
|
return i(e, {
|
|
1148
1125
|
cache: r,
|
|
1149
1126
|
serializer: n
|
|
1150
1127
|
});
|
|
1151
1128
|
}
|
|
1152
|
-
function
|
|
1129
|
+
function sn(e) {
|
|
1153
1130
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1154
1131
|
}
|
|
1155
|
-
function
|
|
1156
|
-
var i =
|
|
1132
|
+
function an(e, t, r, n) {
|
|
1133
|
+
var i = sn(n) ? n : r(n), o = t.get(i);
|
|
1157
1134
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1158
1135
|
}
|
|
1159
|
-
function
|
|
1136
|
+
function Nt(e, t, r) {
|
|
1160
1137
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1161
1138
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1162
1139
|
}
|
|
1163
|
-
function
|
|
1140
|
+
function Lt(e, t, r, n, i) {
|
|
1164
1141
|
return r.bind(t, e, n, i);
|
|
1165
1142
|
}
|
|
1166
|
-
function
|
|
1167
|
-
var r = e.length === 1 ?
|
|
1168
|
-
return
|
|
1143
|
+
function un(e, t) {
|
|
1144
|
+
var r = e.length === 1 ? an : Nt;
|
|
1145
|
+
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
1169
1146
|
}
|
|
1170
|
-
function
|
|
1171
|
-
return
|
|
1147
|
+
function ln(e, t) {
|
|
1148
|
+
return Lt(e, this, Nt, t.cache.create(), t.serializer);
|
|
1172
1149
|
}
|
|
1173
|
-
var
|
|
1150
|
+
var cn = function() {
|
|
1174
1151
|
return JSON.stringify(arguments);
|
|
1175
|
-
},
|
|
1152
|
+
}, hn = (
|
|
1176
1153
|
/** @class */
|
|
1177
1154
|
function() {
|
|
1178
1155
|
function e() {
|
|
@@ -1184,71 +1161,61 @@ var mn = function() {
|
|
|
1184
1161
|
this.cache[t] = r;
|
|
1185
1162
|
}, e;
|
|
1186
1163
|
}()
|
|
1187
|
-
),
|
|
1164
|
+
), fn = {
|
|
1188
1165
|
create: function() {
|
|
1189
|
-
return new
|
|
1166
|
+
return new hn();
|
|
1190
1167
|
}
|
|
1191
|
-
},
|
|
1192
|
-
variadic:
|
|
1193
|
-
},
|
|
1194
|
-
return ge = Object.assign || function(t) {
|
|
1195
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1196
|
-
r = arguments[n];
|
|
1197
|
-
for (var o in r)
|
|
1198
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1199
|
-
}
|
|
1200
|
-
return t;
|
|
1201
|
-
}, ge.apply(this, arguments);
|
|
1202
|
-
};
|
|
1203
|
-
var b;
|
|
1168
|
+
}, Be = {
|
|
1169
|
+
variadic: ln
|
|
1170
|
+
}, b;
|
|
1204
1171
|
(function(e) {
|
|
1205
1172
|
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";
|
|
1206
1173
|
})(b || (b = {}));
|
|
1207
|
-
var
|
|
1174
|
+
var C;
|
|
1208
1175
|
(function(e) {
|
|
1209
1176
|
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";
|
|
1210
|
-
})(
|
|
1211
|
-
var
|
|
1177
|
+
})(C || (C = {}));
|
|
1178
|
+
var Y;
|
|
1212
1179
|
(function(e) {
|
|
1213
1180
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1214
|
-
})(
|
|
1215
|
-
function
|
|
1216
|
-
return e.type ===
|
|
1181
|
+
})(Y || (Y = {}));
|
|
1182
|
+
function ut(e) {
|
|
1183
|
+
return e.type === C.literal;
|
|
1217
1184
|
}
|
|
1218
|
-
function
|
|
1219
|
-
return e.type ===
|
|
1185
|
+
function pn(e) {
|
|
1186
|
+
return e.type === C.argument;
|
|
1220
1187
|
}
|
|
1221
|
-
function
|
|
1222
|
-
return e.type ===
|
|
1188
|
+
function $t(e) {
|
|
1189
|
+
return e.type === C.number;
|
|
1223
1190
|
}
|
|
1224
|
-
function
|
|
1225
|
-
return e.type ===
|
|
1191
|
+
function Rt(e) {
|
|
1192
|
+
return e.type === C.date;
|
|
1226
1193
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return e.type ===
|
|
1194
|
+
function Dt(e) {
|
|
1195
|
+
return e.type === C.time;
|
|
1229
1196
|
}
|
|
1230
|
-
function
|
|
1231
|
-
return e.type ===
|
|
1197
|
+
function Ut(e) {
|
|
1198
|
+
return e.type === C.select;
|
|
1232
1199
|
}
|
|
1233
|
-
function
|
|
1234
|
-
return e.type ===
|
|
1200
|
+
function Ft(e) {
|
|
1201
|
+
return e.type === C.plural;
|
|
1235
1202
|
}
|
|
1236
|
-
function
|
|
1237
|
-
return e.type ===
|
|
1203
|
+
function dn(e) {
|
|
1204
|
+
return e.type === C.pound;
|
|
1238
1205
|
}
|
|
1239
|
-
function
|
|
1240
|
-
return e.type ===
|
|
1206
|
+
function Gt(e) {
|
|
1207
|
+
return e.type === C.tag;
|
|
1241
1208
|
}
|
|
1242
|
-
function
|
|
1243
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1209
|
+
function kt(e) {
|
|
1210
|
+
return !!(e && typeof e == "object" && e.type === Y.number);
|
|
1244
1211
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1212
|
+
function Fe(e) {
|
|
1213
|
+
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
|
1247
1214
|
}
|
|
1248
|
-
var
|
|
1249
|
-
function
|
|
1215
|
+
var jt = /[ \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;
|
|
1216
|
+
function bn(e) {
|
|
1250
1217
|
var t = {};
|
|
1251
|
-
return e.replace(
|
|
1218
|
+
return e.replace(mn, function(r) {
|
|
1252
1219
|
var n = r.length;
|
|
1253
1220
|
switch (r[0]) {
|
|
1254
1221
|
case "G":
|
|
@@ -1337,21 +1304,11 @@ function _n(e) {
|
|
|
1337
1304
|
return "";
|
|
1338
1305
|
}), t;
|
|
1339
1306
|
}
|
|
1340
|
-
var
|
|
1341
|
-
|
|
1342
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1343
|
-
r = arguments[n];
|
|
1344
|
-
for (var o in r)
|
|
1345
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1346
|
-
}
|
|
1347
|
-
return t;
|
|
1348
|
-
}, S.apply(this, arguments);
|
|
1349
|
-
};
|
|
1350
|
-
var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1351
|
-
function wn(e) {
|
|
1307
|
+
var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1308
|
+
function gn(e) {
|
|
1352
1309
|
if (e.length === 0)
|
|
1353
1310
|
throw new Error("Number skeleton cannot be empty");
|
|
1354
|
-
for (var t = e.split(
|
|
1311
|
+
for (var t = e.split(vn).filter(function(f) {
|
|
1355
1312
|
return f.length > 0;
|
|
1356
1313
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1357
1314
|
var o = i[n], s = o.split("/");
|
|
@@ -1366,17 +1323,17 @@ function wn(e) {
|
|
|
1366
1323
|
}
|
|
1367
1324
|
return r;
|
|
1368
1325
|
}
|
|
1369
|
-
function
|
|
1326
|
+
function yn(e) {
|
|
1370
1327
|
return e.replace(/^(.*?)-/, "");
|
|
1371
1328
|
}
|
|
1372
|
-
var
|
|
1373
|
-
function
|
|
1329
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
|
|
1330
|
+
function ct(e) {
|
|
1374
1331
|
var t = {};
|
|
1375
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1332
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
|
|
1376
1333
|
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)), "";
|
|
1377
1334
|
}), t;
|
|
1378
1335
|
}
|
|
1379
|
-
function
|
|
1336
|
+
function Vt(e) {
|
|
1380
1337
|
switch (e) {
|
|
1381
1338
|
case "sign-auto":
|
|
1382
1339
|
return {
|
|
@@ -1416,7 +1373,7 @@ function Yt(e) {
|
|
|
1416
1373
|
};
|
|
1417
1374
|
}
|
|
1418
1375
|
}
|
|
1419
|
-
function
|
|
1376
|
+
function _n(e) {
|
|
1420
1377
|
var t;
|
|
1421
1378
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1422
1379
|
notation: "engineering"
|
|
@@ -1424,17 +1381,17 @@ function Sn(e) {
|
|
|
1424
1381
|
notation: "scientific"
|
|
1425
1382
|
}, e = e.slice(1)), t) {
|
|
1426
1383
|
var r = e.slice(0, 2);
|
|
1427
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1384
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
|
|
1428
1385
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1429
1386
|
t.minimumIntegerDigits = e.length;
|
|
1430
1387
|
}
|
|
1431
1388
|
return t;
|
|
1432
1389
|
}
|
|
1433
|
-
function
|
|
1434
|
-
var t = {}, r =
|
|
1390
|
+
function ht(e) {
|
|
1391
|
+
var t = {}, r = Vt(e);
|
|
1435
1392
|
return r || t;
|
|
1436
1393
|
}
|
|
1437
|
-
function
|
|
1394
|
+
function En(e) {
|
|
1438
1395
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1439
1396
|
var i = n[r];
|
|
1440
1397
|
switch (i.stem) {
|
|
@@ -1458,7 +1415,7 @@ function Tn(e) {
|
|
|
1458
1415
|
continue;
|
|
1459
1416
|
case "measure-unit":
|
|
1460
1417
|
case "unit":
|
|
1461
|
-
t.style = "unit", t.unit =
|
|
1418
|
+
t.style = "unit", t.unit = yn(i.options[0]);
|
|
1462
1419
|
continue;
|
|
1463
1420
|
case "compact-short":
|
|
1464
1421
|
case "K":
|
|
@@ -1469,13 +1426,13 @@ function Tn(e) {
|
|
|
1469
1426
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1470
1427
|
continue;
|
|
1471
1428
|
case "scientific":
|
|
1472
|
-
t =
|
|
1473
|
-
return
|
|
1429
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1430
|
+
return y(y({}, l), ht(u));
|
|
1474
1431
|
}, {}));
|
|
1475
1432
|
continue;
|
|
1476
1433
|
case "engineering":
|
|
1477
|
-
t =
|
|
1478
|
-
return
|
|
1434
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1435
|
+
return y(y({}, l), ht(u));
|
|
1479
1436
|
}, {}));
|
|
1480
1437
|
continue;
|
|
1481
1438
|
case "notation-simple":
|
|
@@ -1520,7 +1477,7 @@ function Tn(e) {
|
|
|
1520
1477
|
case "integer-width":
|
|
1521
1478
|
if (i.options.length > 1)
|
|
1522
1479
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1523
|
-
i.options[0].replace(
|
|
1480
|
+
i.options[0].replace(xn, function(l, u, c, h, f, p) {
|
|
1524
1481
|
if (u)
|
|
1525
1482
|
t.minimumIntegerDigits = c.length;
|
|
1526
1483
|
else {
|
|
@@ -1533,28 +1490,28 @@ function Tn(e) {
|
|
|
1533
1490
|
});
|
|
1534
1491
|
continue;
|
|
1535
1492
|
}
|
|
1536
|
-
if (
|
|
1493
|
+
if (zt.test(i.stem)) {
|
|
1537
1494
|
t.minimumIntegerDigits = i.stem.length;
|
|
1538
1495
|
continue;
|
|
1539
1496
|
}
|
|
1540
|
-
if (
|
|
1497
|
+
if (lt.test(i.stem)) {
|
|
1541
1498
|
if (i.options.length > 1)
|
|
1542
1499
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1543
|
-
i.stem.replace(
|
|
1500
|
+
i.stem.replace(lt, function(l, u, c, h, f, p) {
|
|
1544
1501
|
return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1545
1502
|
});
|
|
1546
1503
|
var o = i.options[0];
|
|
1547
|
-
o === "w" ? t =
|
|
1504
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
|
|
1548
1505
|
continue;
|
|
1549
1506
|
}
|
|
1550
|
-
if (
|
|
1551
|
-
t =
|
|
1507
|
+
if (Wt.test(i.stem)) {
|
|
1508
|
+
t = y(y({}, t), ct(i.stem));
|
|
1552
1509
|
continue;
|
|
1553
1510
|
}
|
|
1554
|
-
var s =
|
|
1555
|
-
s && (t =
|
|
1556
|
-
var a =
|
|
1557
|
-
a && (t =
|
|
1511
|
+
var s = Vt(i.stem);
|
|
1512
|
+
s && (t = y(y({}, t), s));
|
|
1513
|
+
var a = _n(i.stem);
|
|
1514
|
+
a && (t = y(y({}, t), a));
|
|
1558
1515
|
}
|
|
1559
1516
|
return t;
|
|
1560
1517
|
}
|
|
@@ -2973,13 +2930,13 @@ var fe = {
|
|
|
2973
2930
|
"h"
|
|
2974
2931
|
]
|
|
2975
2932
|
};
|
|
2976
|
-
function
|
|
2933
|
+
function wn(e, t) {
|
|
2977
2934
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2978
2935
|
var i = e.charAt(n);
|
|
2979
2936
|
if (i === "j") {
|
|
2980
2937
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2981
2938
|
o++, n++;
|
|
2982
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2939
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Cn(t);
|
|
2983
2940
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2984
2941
|
r += l;
|
|
2985
2942
|
for (; s-- > 0; )
|
|
@@ -2989,7 +2946,7 @@ function Bn(e, t) {
|
|
|
2989
2946
|
}
|
|
2990
2947
|
return r;
|
|
2991
2948
|
}
|
|
2992
|
-
function
|
|
2949
|
+
function Cn(e) {
|
|
2993
2950
|
var t = e.hourCycle;
|
|
2994
2951
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2995
2952
|
e.hourCycles && // @ts-ignore
|
|
@@ -3011,20 +2968,20 @@ function Hn(e) {
|
|
|
3011
2968
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
3012
2969
|
return i[0];
|
|
3013
2970
|
}
|
|
3014
|
-
var
|
|
2971
|
+
var He, An = new RegExp("^".concat(jt.source, "*")), Sn = new RegExp("".concat(jt.source, "*$"));
|
|
3015
2972
|
function v(e, t) {
|
|
3016
2973
|
return { start: e, end: t };
|
|
3017
2974
|
}
|
|
3018
|
-
var
|
|
2975
|
+
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) {
|
|
3019
2976
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3020
|
-
},
|
|
2977
|
+
}, Ge = !0;
|
|
3021
2978
|
try {
|
|
3022
|
-
var
|
|
3023
|
-
|
|
2979
|
+
var Ln = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2980
|
+
Ge = ((He = Ln.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
3024
2981
|
} catch {
|
|
3025
|
-
|
|
2982
|
+
Ge = !1;
|
|
3026
2983
|
}
|
|
3027
|
-
var
|
|
2984
|
+
var ft = Tn ? (
|
|
3028
2985
|
// Native
|
|
3029
2986
|
function(t, r, n) {
|
|
3030
2987
|
return t.startsWith(r, n);
|
|
@@ -3034,7 +2991,7 @@ var vt = On ? (
|
|
|
3034
2991
|
function(t, r, n) {
|
|
3035
2992
|
return t.slice(n, n + r.length) === r;
|
|
3036
2993
|
}
|
|
3037
|
-
),
|
|
2994
|
+
), ke = Bn ? String.fromCodePoint : (
|
|
3038
2995
|
// IE11
|
|
3039
2996
|
function() {
|
|
3040
2997
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3046,9 +3003,9 @@ var vt = On ? (
|
|
|
3046
3003
|
}
|
|
3047
3004
|
return n;
|
|
3048
3005
|
}
|
|
3049
|
-
),
|
|
3006
|
+
), pt = (
|
|
3050
3007
|
// native
|
|
3051
|
-
|
|
3008
|
+
Hn ? Object.fromEntries : (
|
|
3052
3009
|
// Ponyfill
|
|
3053
3010
|
function(t) {
|
|
3054
3011
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3058,7 +3015,7 @@ var vt = On ? (
|
|
|
3058
3015
|
return r;
|
|
3059
3016
|
}
|
|
3060
3017
|
)
|
|
3061
|
-
),
|
|
3018
|
+
), Xt = Mn ? (
|
|
3062
3019
|
// Native
|
|
3063
3020
|
function(t, r) {
|
|
3064
3021
|
return t.codePointAt(r);
|
|
@@ -3072,7 +3029,7 @@ var vt = On ? (
|
|
|
3072
3029
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3073
3030
|
}
|
|
3074
3031
|
}
|
|
3075
|
-
),
|
|
3032
|
+
), $n = Pn ? (
|
|
3076
3033
|
// Native
|
|
3077
3034
|
function(t) {
|
|
3078
3035
|
return t.trimStart();
|
|
@@ -3080,9 +3037,9 @@ var vt = On ? (
|
|
|
3080
3037
|
) : (
|
|
3081
3038
|
// Ponyfill
|
|
3082
3039
|
function(t) {
|
|
3083
|
-
return t.replace(
|
|
3040
|
+
return t.replace(An, "");
|
|
3084
3041
|
}
|
|
3085
|
-
),
|
|
3042
|
+
), Rn = On ? (
|
|
3086
3043
|
// Native
|
|
3087
3044
|
function(t) {
|
|
3088
3045
|
return t.trimEnd();
|
|
@@ -3090,32 +3047,32 @@ var vt = On ? (
|
|
|
3090
3047
|
) : (
|
|
3091
3048
|
// Ponyfill
|
|
3092
3049
|
function(t) {
|
|
3093
|
-
return t.replace(
|
|
3050
|
+
return t.replace(Sn, "");
|
|
3094
3051
|
}
|
|
3095
3052
|
);
|
|
3096
|
-
function
|
|
3053
|
+
function Zt(e, t) {
|
|
3097
3054
|
return new RegExp(e, t);
|
|
3098
3055
|
}
|
|
3099
|
-
var
|
|
3100
|
-
if (
|
|
3101
|
-
var
|
|
3102
|
-
|
|
3056
|
+
var je;
|
|
3057
|
+
if (Ge) {
|
|
3058
|
+
var dt = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3059
|
+
je = function(t, r) {
|
|
3103
3060
|
var n;
|
|
3104
|
-
|
|
3105
|
-
var i =
|
|
3061
|
+
dt.lastIndex = r;
|
|
3062
|
+
var i = dt.exec(t);
|
|
3106
3063
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3107
3064
|
};
|
|
3108
3065
|
} else
|
|
3109
|
-
|
|
3066
|
+
je = function(t, r) {
|
|
3110
3067
|
for (var n = []; ; ) {
|
|
3111
|
-
var i =
|
|
3112
|
-
if (i === void 0 ||
|
|
3068
|
+
var i = Xt(t, r);
|
|
3069
|
+
if (i === void 0 || qt(i) || Gn(i))
|
|
3113
3070
|
break;
|
|
3114
3071
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3115
3072
|
}
|
|
3116
|
-
return
|
|
3073
|
+
return ke.apply(void 0, n);
|
|
3117
3074
|
};
|
|
3118
|
-
var
|
|
3075
|
+
var Dn = (
|
|
3119
3076
|
/** @class */
|
|
3120
3077
|
function() {
|
|
3121
3078
|
function e(t, r) {
|
|
@@ -3139,14 +3096,14 @@ var kn = (
|
|
|
3139
3096
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3140
3097
|
var a = this.clonePosition();
|
|
3141
3098
|
this.bump(), i.push({
|
|
3142
|
-
type:
|
|
3099
|
+
type: C.pound,
|
|
3143
3100
|
location: v(a, this.clonePosition())
|
|
3144
3101
|
});
|
|
3145
3102
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3146
3103
|
if (n)
|
|
3147
3104
|
break;
|
|
3148
3105
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3149
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3106
|
+
} else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
|
|
3150
3107
|
var s = this.parseTag(t, r);
|
|
3151
3108
|
if (s.err)
|
|
3152
3109
|
return s;
|
|
@@ -3167,7 +3124,7 @@ var kn = (
|
|
|
3167
3124
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3168
3125
|
return {
|
|
3169
3126
|
val: {
|
|
3170
|
-
type:
|
|
3127
|
+
type: C.literal,
|
|
3171
3128
|
value: "<".concat(i, "/>"),
|
|
3172
3129
|
location: v(n, this.clonePosition())
|
|
3173
3130
|
},
|
|
@@ -3179,12 +3136,12 @@ var kn = (
|
|
|
3179
3136
|
return o;
|
|
3180
3137
|
var s = o.val, a = this.clonePosition();
|
|
3181
3138
|
if (this.bumpIf("</")) {
|
|
3182
|
-
if (this.isEOF() || !
|
|
3139
|
+
if (this.isEOF() || !We(this.char()))
|
|
3183
3140
|
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3184
3141
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3185
3142
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3186
3143
|
val: {
|
|
3187
|
-
type:
|
|
3144
|
+
type: C.tag,
|
|
3188
3145
|
value: i,
|
|
3189
3146
|
children: s,
|
|
3190
3147
|
location: v(n, this.clonePosition())
|
|
@@ -3197,7 +3154,7 @@ var kn = (
|
|
|
3197
3154
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3198
3155
|
}, e.prototype.parseTagName = function() {
|
|
3199
3156
|
var t = this.offset();
|
|
3200
|
-
for (this.bump(); !this.isEOF() &&
|
|
3157
|
+
for (this.bump(); !this.isEOF() && Fn(this.char()); )
|
|
3201
3158
|
this.bump();
|
|
3202
3159
|
return this.message.slice(t, this.offset());
|
|
3203
3160
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3221,12 +3178,12 @@ var kn = (
|
|
|
3221
3178
|
}
|
|
3222
3179
|
var l = v(n, this.clonePosition());
|
|
3223
3180
|
return {
|
|
3224
|
-
val: { type:
|
|
3181
|
+
val: { type: C.literal, value: i, location: l },
|
|
3225
3182
|
err: null
|
|
3226
3183
|
};
|
|
3227
3184
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3228
3185
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3229
|
-
!
|
|
3186
|
+
!Un(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3230
3187
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3231
3188
|
if (this.isEOF() || this.char() !== 39)
|
|
3232
3189
|
return null;
|
|
@@ -3260,12 +3217,12 @@ var kn = (
|
|
|
3260
3217
|
r.push(n);
|
|
3261
3218
|
this.bump();
|
|
3262
3219
|
}
|
|
3263
|
-
return
|
|
3220
|
+
return ke.apply(void 0, r);
|
|
3264
3221
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3265
3222
|
if (this.isEOF())
|
|
3266
3223
|
return null;
|
|
3267
3224
|
var n = this.char();
|
|
3268
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3225
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
|
|
3269
3226
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3270
3227
|
var n = this.clonePosition();
|
|
3271
3228
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3281,7 +3238,7 @@ var kn = (
|
|
|
3281
3238
|
case 125:
|
|
3282
3239
|
return this.bump(), {
|
|
3283
3240
|
val: {
|
|
3284
|
-
type:
|
|
3241
|
+
type: C.argument,
|
|
3285
3242
|
// value does not include the opening and closing braces.
|
|
3286
3243
|
value: i,
|
|
3287
3244
|
location: v(n, this.clonePosition())
|
|
@@ -3294,7 +3251,7 @@ var kn = (
|
|
|
3294
3251
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3295
3252
|
}
|
|
3296
3253
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3297
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3254
|
+
var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
|
|
3298
3255
|
this.bumpTo(i);
|
|
3299
3256
|
var o = this.clonePosition(), s = v(t, o);
|
|
3300
3257
|
return { value: n, location: s };
|
|
@@ -3313,7 +3270,7 @@ var kn = (
|
|
|
3313
3270
|
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
3314
3271
|
if (h.err)
|
|
3315
3272
|
return h;
|
|
3316
|
-
var f =
|
|
3273
|
+
var f = Rn(h.val);
|
|
3317
3274
|
if (f.length === 0)
|
|
3318
3275
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3319
3276
|
var p = v(c, this.clonePosition());
|
|
@@ -3323,25 +3280,25 @@ var kn = (
|
|
|
3323
3280
|
if (m.err)
|
|
3324
3281
|
return m;
|
|
3325
3282
|
var d = v(i, this.clonePosition());
|
|
3326
|
-
if (u &&
|
|
3327
|
-
var
|
|
3283
|
+
if (u && ft(u?.style, "::", 0)) {
|
|
3284
|
+
var E = $n(u.style.slice(2));
|
|
3328
3285
|
if (a === "number") {
|
|
3329
|
-
var h = this.parseNumberSkeletonFromString(
|
|
3286
|
+
var h = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3330
3287
|
return h.err ? h : {
|
|
3331
|
-
val: { type:
|
|
3288
|
+
val: { type: C.number, value: n, location: d, style: h.val },
|
|
3332
3289
|
err: null
|
|
3333
3290
|
};
|
|
3334
3291
|
} else {
|
|
3335
|
-
if (
|
|
3292
|
+
if (E.length === 0)
|
|
3336
3293
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3337
|
-
var P =
|
|
3338
|
-
this.locale && (P =
|
|
3294
|
+
var P = E;
|
|
3295
|
+
this.locale && (P = wn(E, this.locale));
|
|
3339
3296
|
var f = {
|
|
3340
|
-
type:
|
|
3297
|
+
type: Y.dateTime,
|
|
3341
3298
|
pattern: P,
|
|
3342
3299
|
location: u.styleLocation,
|
|
3343
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3344
|
-
}, T = a === "date" ?
|
|
3300
|
+
parsedOptions: this.shouldParseSkeletons ? bn(P) : {}
|
|
3301
|
+
}, T = a === "date" ? C.date : C.time;
|
|
3345
3302
|
return {
|
|
3346
3303
|
val: { type: T, value: n, location: d, style: f },
|
|
3347
3304
|
err: null
|
|
@@ -3350,7 +3307,7 @@ var kn = (
|
|
|
3350
3307
|
}
|
|
3351
3308
|
return {
|
|
3352
3309
|
val: {
|
|
3353
|
-
type: a === "number" ?
|
|
3310
|
+
type: a === "number" ? C.number : a === "date" ? C.date : C.time,
|
|
3354
3311
|
value: n,
|
|
3355
3312
|
location: d,
|
|
3356
3313
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3361,21 +3318,21 @@ var kn = (
|
|
|
3361
3318
|
case "plural":
|
|
3362
3319
|
case "selectordinal":
|
|
3363
3320
|
case "select": {
|
|
3364
|
-
var
|
|
3321
|
+
var x = this.clonePosition();
|
|
3365
3322
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3366
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
3323
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, y({}, x)));
|
|
3367
3324
|
this.bumpSpace();
|
|
3368
|
-
var
|
|
3369
|
-
if (a !== "select" &&
|
|
3325
|
+
var A = this.parseIdentifierIfPossible(), w = 0;
|
|
3326
|
+
if (a !== "select" && A.value === "offset") {
|
|
3370
3327
|
if (!this.bumpIf(":"))
|
|
3371
3328
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3372
3329
|
this.bumpSpace();
|
|
3373
3330
|
var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3374
3331
|
if (h.err)
|
|
3375
3332
|
return h;
|
|
3376
|
-
this.bumpSpace(),
|
|
3333
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), w = h.val;
|
|
3377
3334
|
}
|
|
3378
|
-
var H = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3335
|
+
var H = this.tryParsePluralOrSelectOptions(t, a, r, A);
|
|
3379
3336
|
if (H.err)
|
|
3380
3337
|
return H;
|
|
3381
3338
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3384,18 +3341,18 @@ var kn = (
|
|
|
3384
3341
|
var ce = v(i, this.clonePosition());
|
|
3385
3342
|
return a === "select" ? {
|
|
3386
3343
|
val: {
|
|
3387
|
-
type:
|
|
3344
|
+
type: C.select,
|
|
3388
3345
|
value: n,
|
|
3389
|
-
options:
|
|
3346
|
+
options: pt(H.val),
|
|
3390
3347
|
location: ce
|
|
3391
3348
|
},
|
|
3392
3349
|
err: null
|
|
3393
3350
|
} : {
|
|
3394
3351
|
val: {
|
|
3395
|
-
type:
|
|
3352
|
+
type: C.plural,
|
|
3396
3353
|
value: n,
|
|
3397
|
-
options:
|
|
3398
|
-
offset:
|
|
3354
|
+
options: pt(H.val),
|
|
3355
|
+
offset: w,
|
|
3399
3356
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3400
3357
|
location: ce
|
|
3401
3358
|
},
|
|
@@ -3445,16 +3402,16 @@ var kn = (
|
|
|
3445
3402
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3446
3403
|
var n = [];
|
|
3447
3404
|
try {
|
|
3448
|
-
n =
|
|
3405
|
+
n = gn(t);
|
|
3449
3406
|
} catch {
|
|
3450
3407
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3451
3408
|
}
|
|
3452
3409
|
return {
|
|
3453
3410
|
val: {
|
|
3454
|
-
type:
|
|
3411
|
+
type: Y.number,
|
|
3455
3412
|
tokens: n,
|
|
3456
3413
|
location: r,
|
|
3457
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3414
|
+
parsedOptions: this.shouldParseSkeletons ? En(n) : {}
|
|
3458
3415
|
},
|
|
3459
3416
|
err: null
|
|
3460
3417
|
};
|
|
@@ -3502,7 +3459,7 @@ var kn = (
|
|
|
3502
3459
|
break;
|
|
3503
3460
|
}
|
|
3504
3461
|
var l = v(i, this.clonePosition());
|
|
3505
|
-
return o ? (s *= n,
|
|
3462
|
+
return o ? (s *= n, Nn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3506
3463
|
}, e.prototype.offset = function() {
|
|
3507
3464
|
return this.position.offset;
|
|
3508
3465
|
}, e.prototype.isEOF = function() {
|
|
@@ -3517,7 +3474,7 @@ var kn = (
|
|
|
3517
3474
|
var t = this.position.offset;
|
|
3518
3475
|
if (t >= this.message.length)
|
|
3519
3476
|
throw Error("out of bound");
|
|
3520
|
-
var r =
|
|
3477
|
+
var r = Xt(this.message, t);
|
|
3521
3478
|
if (r === void 0)
|
|
3522
3479
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3523
3480
|
return r;
|
|
@@ -3536,7 +3493,7 @@ var kn = (
|
|
|
3536
3493
|
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);
|
|
3537
3494
|
}
|
|
3538
3495
|
}, e.prototype.bumpIf = function(t) {
|
|
3539
|
-
if (
|
|
3496
|
+
if (ft(this.message, t, this.offset())) {
|
|
3540
3497
|
for (var r = 0; r < t.length; r++)
|
|
3541
3498
|
this.bump();
|
|
3542
3499
|
return !0;
|
|
@@ -3558,7 +3515,7 @@ var kn = (
|
|
|
3558
3515
|
break;
|
|
3559
3516
|
}
|
|
3560
3517
|
}, e.prototype.bumpSpace = function() {
|
|
3561
|
-
for (; !this.isEOF() &&
|
|
3518
|
+
for (; !this.isEOF() && qt(this.char()); )
|
|
3562
3519
|
this.bump();
|
|
3563
3520
|
}, e.prototype.peek = function() {
|
|
3564
3521
|
if (this.isEOF())
|
|
@@ -3568,47 +3525,47 @@ var kn = (
|
|
|
3568
3525
|
}, e;
|
|
3569
3526
|
}()
|
|
3570
3527
|
);
|
|
3571
|
-
function
|
|
3528
|
+
function We(e) {
|
|
3572
3529
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3573
3530
|
}
|
|
3574
|
-
function
|
|
3575
|
-
return
|
|
3531
|
+
function Un(e) {
|
|
3532
|
+
return We(e) || e === 47;
|
|
3576
3533
|
}
|
|
3577
|
-
function
|
|
3534
|
+
function Fn(e) {
|
|
3578
3535
|
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;
|
|
3579
3536
|
}
|
|
3580
|
-
function
|
|
3537
|
+
function qt(e) {
|
|
3581
3538
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3582
3539
|
}
|
|
3583
|
-
function
|
|
3540
|
+
function Gn(e) {
|
|
3584
3541
|
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;
|
|
3585
3542
|
}
|
|
3586
|
-
function
|
|
3543
|
+
function ze(e) {
|
|
3587
3544
|
e.forEach(function(t) {
|
|
3588
|
-
if (delete t.location,
|
|
3545
|
+
if (delete t.location, Ut(t) || Ft(t))
|
|
3589
3546
|
for (var r in t.options)
|
|
3590
|
-
delete t.options[r].location,
|
|
3547
|
+
delete t.options[r].location, ze(t.options[r].value);
|
|
3591
3548
|
else
|
|
3592
|
-
|
|
3549
|
+
$t(t) && kt(t.style) || (Rt(t) || Dt(t)) && Fe(t.style) ? delete t.style.location : Gt(t) && ze(t.children);
|
|
3593
3550
|
});
|
|
3594
3551
|
}
|
|
3595
|
-
function
|
|
3596
|
-
t === void 0 && (t = {}), t =
|
|
3597
|
-
var r = new
|
|
3552
|
+
function kn(e, t) {
|
|
3553
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3554
|
+
var r = new Dn(e, t).parse();
|
|
3598
3555
|
if (r.err) {
|
|
3599
3556
|
var n = SyntaxError(b[r.err.kind]);
|
|
3600
3557
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3601
3558
|
}
|
|
3602
|
-
return t?.captureLocation ||
|
|
3559
|
+
return t?.captureLocation || ze(r.val), r.val;
|
|
3603
3560
|
}
|
|
3604
|
-
var
|
|
3561
|
+
var J;
|
|
3605
3562
|
(function(e) {
|
|
3606
3563
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3607
|
-
})(
|
|
3608
|
-
var
|
|
3564
|
+
})(J || (J = {}));
|
|
3565
|
+
var Ee = (
|
|
3609
3566
|
/** @class */
|
|
3610
3567
|
function(e) {
|
|
3611
|
-
|
|
3568
|
+
N(t, e);
|
|
3612
3569
|
function t(r, n, i) {
|
|
3613
3570
|
var o = e.call(this, r) || this;
|
|
3614
3571
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3617,48 +3574,48 @@ var Ce = (
|
|
|
3617
3574
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3618
3575
|
}, t;
|
|
3619
3576
|
}(Error)
|
|
3620
|
-
),
|
|
3577
|
+
), mt = (
|
|
3621
3578
|
/** @class */
|
|
3622
3579
|
function(e) {
|
|
3623
|
-
|
|
3580
|
+
N(t, e);
|
|
3624
3581
|
function t(r, n, i, o) {
|
|
3625
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3582
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3626
3583
|
}
|
|
3627
3584
|
return t;
|
|
3628
|
-
}(
|
|
3629
|
-
),
|
|
3585
|
+
}(Ee)
|
|
3586
|
+
), jn = (
|
|
3630
3587
|
/** @class */
|
|
3631
3588
|
function(e) {
|
|
3632
|
-
|
|
3589
|
+
N(t, e);
|
|
3633
3590
|
function t(r, n, i) {
|
|
3634
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3591
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3635
3592
|
}
|
|
3636
3593
|
return t;
|
|
3637
|
-
}(
|
|
3638
|
-
),
|
|
3594
|
+
}(Ee)
|
|
3595
|
+
), Wn = (
|
|
3639
3596
|
/** @class */
|
|
3640
3597
|
function(e) {
|
|
3641
|
-
|
|
3598
|
+
N(t, e);
|
|
3642
3599
|
function t(r, n) {
|
|
3643
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3600
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3644
3601
|
}
|
|
3645
3602
|
return t;
|
|
3646
|
-
}(
|
|
3603
|
+
}(Ee)
|
|
3647
3604
|
), M;
|
|
3648
3605
|
(function(e) {
|
|
3649
3606
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3650
3607
|
})(M || (M = {}));
|
|
3651
|
-
function
|
|
3608
|
+
function zn(e) {
|
|
3652
3609
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3653
3610
|
var n = t[t.length - 1];
|
|
3654
3611
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3655
3612
|
}, []);
|
|
3656
3613
|
}
|
|
3657
|
-
function
|
|
3614
|
+
function Vn(e) {
|
|
3658
3615
|
return typeof e == "function";
|
|
3659
3616
|
}
|
|
3660
3617
|
function me(e, t, r, n, i, o, s) {
|
|
3661
|
-
if (e.length === 1 &&
|
|
3618
|
+
if (e.length === 1 && ut(e[0]))
|
|
3662
3619
|
return [
|
|
3663
3620
|
{
|
|
3664
3621
|
type: M.literal,
|
|
@@ -3667,14 +3624,14 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3667
3624
|
];
|
|
3668
3625
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3669
3626
|
var c = u[l];
|
|
3670
|
-
if (
|
|
3627
|
+
if (ut(c)) {
|
|
3671
3628
|
a.push({
|
|
3672
3629
|
type: M.literal,
|
|
3673
3630
|
value: c.value
|
|
3674
3631
|
});
|
|
3675
3632
|
continue;
|
|
3676
3633
|
}
|
|
3677
|
-
if (
|
|
3634
|
+
if (dn(c)) {
|
|
3678
3635
|
typeof o == "number" && a.push({
|
|
3679
3636
|
type: M.literal,
|
|
3680
3637
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3683,89 +3640,89 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3683
3640
|
}
|
|
3684
3641
|
var h = c.value;
|
|
3685
3642
|
if (!(i && h in i))
|
|
3686
|
-
throw new
|
|
3643
|
+
throw new Wn(h, s);
|
|
3687
3644
|
var f = i[h];
|
|
3688
|
-
if (
|
|
3645
|
+
if (pn(c)) {
|
|
3689
3646
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3690
3647
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3691
3648
|
value: f
|
|
3692
3649
|
});
|
|
3693
3650
|
continue;
|
|
3694
3651
|
}
|
|
3695
|
-
if (
|
|
3696
|
-
var p = typeof c.style == "string" ? n.date[c.style] :
|
|
3652
|
+
if (Rt(c)) {
|
|
3653
|
+
var p = typeof c.style == "string" ? n.date[c.style] : Fe(c.style) ? c.style.parsedOptions : void 0;
|
|
3697
3654
|
a.push({
|
|
3698
3655
|
type: M.literal,
|
|
3699
3656
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3700
3657
|
});
|
|
3701
3658
|
continue;
|
|
3702
3659
|
}
|
|
3703
|
-
if (
|
|
3704
|
-
var p = typeof c.style == "string" ? n.time[c.style] :
|
|
3660
|
+
if (Dt(c)) {
|
|
3661
|
+
var p = typeof c.style == "string" ? n.time[c.style] : Fe(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3705
3662
|
a.push({
|
|
3706
3663
|
type: M.literal,
|
|
3707
3664
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3708
3665
|
});
|
|
3709
3666
|
continue;
|
|
3710
3667
|
}
|
|
3711
|
-
if (
|
|
3712
|
-
var p = typeof c.style == "string" ? n.number[c.style] :
|
|
3668
|
+
if ($t(c)) {
|
|
3669
|
+
var p = typeof c.style == "string" ? n.number[c.style] : kt(c.style) ? c.style.parsedOptions : void 0;
|
|
3713
3670
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3714
3671
|
type: M.literal,
|
|
3715
3672
|
value: r.getNumberFormat(t, p).format(f)
|
|
3716
3673
|
});
|
|
3717
3674
|
continue;
|
|
3718
3675
|
}
|
|
3719
|
-
if (
|
|
3720
|
-
var m = c.children, d = c.value,
|
|
3721
|
-
if (!
|
|
3722
|
-
throw new
|
|
3723
|
-
var P = me(m, t, r, n, i, o), T =
|
|
3724
|
-
return
|
|
3676
|
+
if (Gt(c)) {
|
|
3677
|
+
var m = c.children, d = c.value, E = i[d];
|
|
3678
|
+
if (!Vn(E))
|
|
3679
|
+
throw new jn(d, "function", s);
|
|
3680
|
+
var P = me(m, t, r, n, i, o), T = E(P.map(function(w) {
|
|
3681
|
+
return w.value;
|
|
3725
3682
|
}));
|
|
3726
|
-
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(
|
|
3683
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(w) {
|
|
3727
3684
|
return {
|
|
3728
|
-
type: typeof
|
|
3729
|
-
value:
|
|
3685
|
+
type: typeof w == "string" ? M.literal : M.object,
|
|
3686
|
+
value: w
|
|
3730
3687
|
};
|
|
3731
3688
|
}));
|
|
3732
3689
|
}
|
|
3733
|
-
if (
|
|
3734
|
-
var
|
|
3735
|
-
if (!
|
|
3736
|
-
throw new
|
|
3737
|
-
a.push.apply(a, me(
|
|
3690
|
+
if (Ut(c)) {
|
|
3691
|
+
var x = c.options[f] || c.options.other;
|
|
3692
|
+
if (!x)
|
|
3693
|
+
throw new mt(c.value, f, Object.keys(c.options), s);
|
|
3694
|
+
a.push.apply(a, me(x.value, t, r, n, i));
|
|
3738
3695
|
continue;
|
|
3739
3696
|
}
|
|
3740
|
-
if (
|
|
3741
|
-
var
|
|
3742
|
-
if (!
|
|
3697
|
+
if (Ft(c)) {
|
|
3698
|
+
var x = c.options["=".concat(f)];
|
|
3699
|
+
if (!x) {
|
|
3743
3700
|
if (!Intl.PluralRules)
|
|
3744
|
-
throw new
|
|
3701
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3745
3702
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3746
|
-
`,
|
|
3747
|
-
var
|
|
3748
|
-
|
|
3703
|
+
`, J.MISSING_INTL_API, s);
|
|
3704
|
+
var A = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
|
|
3705
|
+
x = c.options[A] || c.options.other;
|
|
3749
3706
|
}
|
|
3750
|
-
if (!
|
|
3751
|
-
throw new
|
|
3752
|
-
a.push.apply(a, me(
|
|
3707
|
+
if (!x)
|
|
3708
|
+
throw new mt(c.value, f, Object.keys(c.options), s);
|
|
3709
|
+
a.push.apply(a, me(x.value, t, r, n, i, f - (c.offset || 0)));
|
|
3753
3710
|
continue;
|
|
3754
3711
|
}
|
|
3755
3712
|
}
|
|
3756
|
-
return
|
|
3713
|
+
return zn(a);
|
|
3757
3714
|
}
|
|
3758
|
-
function
|
|
3759
|
-
return t ?
|
|
3760
|
-
return r[n] =
|
|
3715
|
+
function Xn(e, t) {
|
|
3716
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3717
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3761
3718
|
}, {})) : e;
|
|
3762
3719
|
}
|
|
3763
|
-
function
|
|
3720
|
+
function Zn(e, t) {
|
|
3764
3721
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3765
|
-
return r[n] =
|
|
3766
|
-
},
|
|
3722
|
+
return r[n] = Xn(e[n], t[n]), r;
|
|
3723
|
+
}, y({}, e)) : e;
|
|
3767
3724
|
}
|
|
3768
|
-
function
|
|
3725
|
+
function Me(e) {
|
|
3769
3726
|
return {
|
|
3770
3727
|
create: function() {
|
|
3771
3728
|
return {
|
|
@@ -3779,39 +3736,39 @@ function Ie(e) {
|
|
|
3779
3736
|
}
|
|
3780
3737
|
};
|
|
3781
3738
|
}
|
|
3782
|
-
function
|
|
3739
|
+
function qn(e) {
|
|
3783
3740
|
return e === void 0 && (e = {
|
|
3784
3741
|
number: {},
|
|
3785
3742
|
dateTime: {},
|
|
3786
3743
|
pluralRules: {}
|
|
3787
3744
|
}), {
|
|
3788
|
-
getNumberFormat:
|
|
3745
|
+
getNumberFormat: Te(function() {
|
|
3789
3746
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3790
3747
|
r[n] = arguments[n];
|
|
3791
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3748
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3792
3749
|
}, {
|
|
3793
|
-
cache:
|
|
3794
|
-
strategy:
|
|
3750
|
+
cache: Me(e.number),
|
|
3751
|
+
strategy: Be.variadic
|
|
3795
3752
|
}),
|
|
3796
|
-
getDateTimeFormat:
|
|
3753
|
+
getDateTimeFormat: Te(function() {
|
|
3797
3754
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3798
3755
|
r[n] = arguments[n];
|
|
3799
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3756
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3800
3757
|
}, {
|
|
3801
|
-
cache:
|
|
3802
|
-
strategy:
|
|
3758
|
+
cache: Me(e.dateTime),
|
|
3759
|
+
strategy: Be.variadic
|
|
3803
3760
|
}),
|
|
3804
|
-
getPluralRules:
|
|
3761
|
+
getPluralRules: Te(function() {
|
|
3805
3762
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3806
3763
|
r[n] = arguments[n];
|
|
3807
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3764
|
+
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3808
3765
|
}, {
|
|
3809
|
-
cache:
|
|
3810
|
-
strategy:
|
|
3766
|
+
cache: Me(e.pluralRules),
|
|
3767
|
+
strategy: Be.variadic
|
|
3811
3768
|
})
|
|
3812
3769
|
};
|
|
3813
3770
|
}
|
|
3814
|
-
var
|
|
3771
|
+
var Qn = (
|
|
3815
3772
|
/** @class */
|
|
3816
3773
|
function() {
|
|
3817
3774
|
function e(t, r, n, i) {
|
|
@@ -3843,13 +3800,13 @@ var ti = (
|
|
|
3843
3800
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3844
3801
|
var s = i || {};
|
|
3845
3802
|
s.formatters;
|
|
3846
|
-
var a =
|
|
3847
|
-
this.ast = e.__parse(t,
|
|
3803
|
+
var a = Tr(s, ["formatters"]);
|
|
3804
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3848
3805
|
} else
|
|
3849
3806
|
this.ast = t;
|
|
3850
3807
|
if (!Array.isArray(this.ast))
|
|
3851
3808
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3852
|
-
this.formats =
|
|
3809
|
+
this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
|
|
3853
3810
|
}
|
|
3854
3811
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3855
3812
|
get: function() {
|
|
@@ -3862,7 +3819,7 @@ var ti = (
|
|
|
3862
3819
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3863
3820
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3864
3821
|
}
|
|
3865
|
-
}, e.__parse =
|
|
3822
|
+
}, e.__parse = kn, e.formats = {
|
|
3866
3823
|
number: {
|
|
3867
3824
|
integer: {
|
|
3868
3825
|
maximumFractionDigits: 0
|
|
@@ -3923,7 +3880,7 @@ var ti = (
|
|
|
3923
3880
|
}, e;
|
|
3924
3881
|
}()
|
|
3925
3882
|
);
|
|
3926
|
-
function
|
|
3883
|
+
function Yn(e, t) {
|
|
3927
3884
|
if (t == null)
|
|
3928
3885
|
return;
|
|
3929
3886
|
if (t in e)
|
|
@@ -3944,92 +3901,92 @@ function ri(e, t) {
|
|
|
3944
3901
|
n = void 0;
|
|
3945
3902
|
return n;
|
|
3946
3903
|
}
|
|
3947
|
-
const L = {},
|
|
3904
|
+
const L = {}, Jn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Qt = (e, t) => {
|
|
3948
3905
|
if (t == null)
|
|
3949
3906
|
return;
|
|
3950
3907
|
if (t in L && e in L[t])
|
|
3951
3908
|
return L[t][e];
|
|
3952
|
-
const r =
|
|
3909
|
+
const r = we(t);
|
|
3953
3910
|
for (let n = 0; n < r.length; n++) {
|
|
3954
|
-
const i = r[n], o =
|
|
3911
|
+
const i = r[n], o = ei(i, e);
|
|
3955
3912
|
if (o)
|
|
3956
|
-
return
|
|
3913
|
+
return Jn(e, t, o);
|
|
3957
3914
|
}
|
|
3958
3915
|
};
|
|
3959
|
-
let
|
|
3960
|
-
const le =
|
|
3961
|
-
function
|
|
3962
|
-
return
|
|
3916
|
+
let qe;
|
|
3917
|
+
const le = _e({});
|
|
3918
|
+
function Kn(e) {
|
|
3919
|
+
return qe[e] || null;
|
|
3963
3920
|
}
|
|
3964
|
-
function
|
|
3965
|
-
return e in
|
|
3921
|
+
function Yt(e) {
|
|
3922
|
+
return e in qe;
|
|
3966
3923
|
}
|
|
3967
|
-
function
|
|
3968
|
-
if (!
|
|
3924
|
+
function ei(e, t) {
|
|
3925
|
+
if (!Yt(e))
|
|
3969
3926
|
return null;
|
|
3970
|
-
const r =
|
|
3971
|
-
return
|
|
3927
|
+
const r = Kn(e);
|
|
3928
|
+
return Yn(r, t);
|
|
3972
3929
|
}
|
|
3973
|
-
function
|
|
3930
|
+
function ti(e) {
|
|
3974
3931
|
if (e == null)
|
|
3975
3932
|
return;
|
|
3976
|
-
const t =
|
|
3933
|
+
const t = we(e);
|
|
3977
3934
|
for (let r = 0; r < t.length; r++) {
|
|
3978
3935
|
const n = t[r];
|
|
3979
|
-
if (
|
|
3936
|
+
if (Yt(n))
|
|
3980
3937
|
return n;
|
|
3981
3938
|
}
|
|
3982
3939
|
}
|
|
3983
|
-
function
|
|
3984
|
-
delete L[e], le.update((r) => (r[e] =
|
|
3940
|
+
function Jt(e, ...t) {
|
|
3941
|
+
delete L[e], le.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
|
|
3985
3942
|
}
|
|
3986
|
-
|
|
3943
|
+
te(
|
|
3987
3944
|
[le],
|
|
3988
3945
|
([e]) => Object.keys(e)
|
|
3989
3946
|
);
|
|
3990
|
-
le.subscribe((e) =>
|
|
3947
|
+
le.subscribe((e) => qe = e);
|
|
3991
3948
|
const be = {};
|
|
3992
|
-
function
|
|
3949
|
+
function ri(e, t) {
|
|
3993
3950
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
3994
3951
|
}
|
|
3995
|
-
function
|
|
3952
|
+
function Kt(e) {
|
|
3996
3953
|
return be[e];
|
|
3997
3954
|
}
|
|
3998
|
-
function
|
|
3999
|
-
return
|
|
4000
|
-
const r =
|
|
3955
|
+
function ni(e) {
|
|
3956
|
+
return we(e).map((t) => {
|
|
3957
|
+
const r = Kt(t);
|
|
4001
3958
|
return [t, r ? [...r] : []];
|
|
4002
3959
|
}).filter(([, t]) => t.length > 0);
|
|
4003
3960
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return e == null ? !1 :
|
|
3961
|
+
function Ve(e) {
|
|
3962
|
+
return e == null ? !1 : we(e).some(
|
|
4006
3963
|
(t) => {
|
|
4007
3964
|
var r;
|
|
4008
|
-
return (r =
|
|
3965
|
+
return (r = Kt(t)) == null ? void 0 : r.size;
|
|
4009
3966
|
}
|
|
4010
3967
|
);
|
|
4011
3968
|
}
|
|
4012
|
-
function
|
|
3969
|
+
function ii(e, t) {
|
|
4013
3970
|
return Promise.all(
|
|
4014
|
-
t.map((n) => (
|
|
4015
|
-
).then((n) =>
|
|
4016
|
-
}
|
|
4017
|
-
const
|
|
4018
|
-
function
|
|
4019
|
-
if (!
|
|
4020
|
-
return e in
|
|
4021
|
-
const t =
|
|
4022
|
-
return
|
|
3971
|
+
t.map((n) => (ri(e, n), n().then((i) => i.default || i)))
|
|
3972
|
+
).then((n) => Jt(e, ...n));
|
|
3973
|
+
}
|
|
3974
|
+
const ie = {};
|
|
3975
|
+
function er(e) {
|
|
3976
|
+
if (!Ve(e))
|
|
3977
|
+
return e in ie ? ie[e] : Promise.resolve();
|
|
3978
|
+
const t = ni(e);
|
|
3979
|
+
return ie[e] = Promise.all(
|
|
4023
3980
|
t.map(
|
|
4024
|
-
([r, n]) =>
|
|
3981
|
+
([r, n]) => ii(r, n)
|
|
4025
3982
|
)
|
|
4026
3983
|
).then(() => {
|
|
4027
|
-
if (
|
|
4028
|
-
return
|
|
4029
|
-
delete
|
|
4030
|
-
}),
|
|
3984
|
+
if (Ve(e))
|
|
3985
|
+
return er(e);
|
|
3986
|
+
delete ie[e];
|
|
3987
|
+
}), ie[e];
|
|
4031
3988
|
}
|
|
4032
|
-
const
|
|
3989
|
+
const oi = {
|
|
4033
3990
|
number: {
|
|
4034
3991
|
scientific: { notation: "scientific" },
|
|
4035
3992
|
engineering: { notation: "engineering" },
|
|
@@ -4058,135 +4015,135 @@ const ci = {
|
|
|
4058
4015
|
timeZoneName: "short"
|
|
4059
4016
|
}
|
|
4060
4017
|
}
|
|
4061
|
-
},
|
|
4018
|
+
}, si = {
|
|
4062
4019
|
fallbackLocale: null,
|
|
4063
4020
|
loadingDelay: 200,
|
|
4064
|
-
formats:
|
|
4021
|
+
formats: oi,
|
|
4065
4022
|
warnOnMissingMessages: !0,
|
|
4066
4023
|
handleMissingMessage: void 0,
|
|
4067
4024
|
ignoreTag: !0
|
|
4068
|
-
},
|
|
4069
|
-
function
|
|
4070
|
-
return
|
|
4025
|
+
}, ai = si;
|
|
4026
|
+
function K() {
|
|
4027
|
+
return ai;
|
|
4071
4028
|
}
|
|
4072
|
-
const
|
|
4073
|
-
var
|
|
4029
|
+
const Pe = _e(!1);
|
|
4030
|
+
var ui = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, fi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
|
|
4074
4031
|
for (var r in t || (t = {}))
|
|
4075
|
-
|
|
4076
|
-
if (
|
|
4077
|
-
for (var r of
|
|
4078
|
-
|
|
4032
|
+
hi.call(t, r) && vt(e, r, t[r]);
|
|
4033
|
+
if (bt)
|
|
4034
|
+
for (var r of bt(t))
|
|
4035
|
+
fi.call(t, r) && vt(e, r, t[r]);
|
|
4079
4036
|
return e;
|
|
4080
|
-
},
|
|
4081
|
-
let
|
|
4082
|
-
const
|
|
4083
|
-
function
|
|
4037
|
+
}, di = (e, t) => li(e, ci(t));
|
|
4038
|
+
let Xe;
|
|
4039
|
+
const ge = _e(null);
|
|
4040
|
+
function gt(e) {
|
|
4084
4041
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4085
4042
|
}
|
|
4086
|
-
function
|
|
4087
|
-
const r =
|
|
4088
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4043
|
+
function we(e, t = K().fallbackLocale) {
|
|
4044
|
+
const r = gt(e);
|
|
4045
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
|
|
4089
4046
|
}
|
|
4090
4047
|
function G() {
|
|
4091
|
-
return
|
|
4048
|
+
return Xe ?? void 0;
|
|
4092
4049
|
}
|
|
4093
|
-
|
|
4094
|
-
|
|
4050
|
+
ge.subscribe((e) => {
|
|
4051
|
+
Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4095
4052
|
});
|
|
4096
|
-
const
|
|
4097
|
-
if (e &&
|
|
4098
|
-
const { loadingDelay: t } =
|
|
4053
|
+
const mi = (e) => {
|
|
4054
|
+
if (e && ti(e) && Ve(e)) {
|
|
4055
|
+
const { loadingDelay: t } = K();
|
|
4099
4056
|
let r;
|
|
4100
4057
|
return typeof window < "u" && G() != null && t ? r = window.setTimeout(
|
|
4101
|
-
() =>
|
|
4058
|
+
() => Pe.set(!0),
|
|
4102
4059
|
t
|
|
4103
|
-
) :
|
|
4104
|
-
|
|
4060
|
+
) : Pe.set(!0), er(e).then(() => {
|
|
4061
|
+
ge.set(e);
|
|
4105
4062
|
}).finally(() => {
|
|
4106
|
-
clearTimeout(r),
|
|
4063
|
+
clearTimeout(r), Pe.set(!1);
|
|
4107
4064
|
});
|
|
4108
4065
|
}
|
|
4109
|
-
return
|
|
4110
|
-
},
|
|
4111
|
-
set:
|
|
4112
|
-
}),
|
|
4066
|
+
return ge.set(e);
|
|
4067
|
+
}, re = di(pi({}, ge), {
|
|
4068
|
+
set: mi
|
|
4069
|
+
}), Ce = (e) => {
|
|
4113
4070
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4114
4071
|
return (n) => {
|
|
4115
4072
|
const i = JSON.stringify(n);
|
|
4116
4073
|
return i in t ? t[i] : t[i] = e(n);
|
|
4117
4074
|
};
|
|
4118
4075
|
};
|
|
4119
|
-
var
|
|
4076
|
+
var bi = Object.defineProperty, ye = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
|
|
4120
4077
|
for (var r in t || (t = {}))
|
|
4121
|
-
|
|
4122
|
-
if (
|
|
4123
|
-
for (var r of
|
|
4124
|
-
|
|
4078
|
+
tr.call(t, r) && yt(e, r, t[r]);
|
|
4079
|
+
if (ye)
|
|
4080
|
+
for (var r of ye(t))
|
|
4081
|
+
rr.call(t, r) && yt(e, r, t[r]);
|
|
4125
4082
|
return e;
|
|
4126
|
-
},
|
|
4083
|
+
}, ne = (e, t) => {
|
|
4127
4084
|
var r = {};
|
|
4128
4085
|
for (var n in e)
|
|
4129
|
-
|
|
4130
|
-
if (e != null &&
|
|
4131
|
-
for (var n of
|
|
4132
|
-
t.indexOf(n) < 0 &&
|
|
4086
|
+
tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4087
|
+
if (e != null && ye)
|
|
4088
|
+
for (var n of ye(e))
|
|
4089
|
+
t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
|
|
4133
4090
|
return r;
|
|
4134
4091
|
};
|
|
4135
|
-
const
|
|
4136
|
-
const { formats: r } =
|
|
4092
|
+
const ue = (e, t) => {
|
|
4093
|
+
const { formats: r } = K();
|
|
4137
4094
|
if (e in r && t in r[e])
|
|
4138
4095
|
return r[e][t];
|
|
4139
4096
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4140
|
-
},
|
|
4097
|
+
}, vi = Ce(
|
|
4141
4098
|
(e) => {
|
|
4142
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4099
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4143
4100
|
if (r == null)
|
|
4144
4101
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4145
|
-
return n && (i =
|
|
4102
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4146
4103
|
}
|
|
4147
|
-
),
|
|
4104
|
+
), gi = Ce(
|
|
4148
4105
|
(e) => {
|
|
4149
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4106
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4150
4107
|
if (r == null)
|
|
4151
4108
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4152
|
-
return n ? i =
|
|
4109
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4153
4110
|
}
|
|
4154
|
-
),
|
|
4111
|
+
), yi = Ce(
|
|
4155
4112
|
(e) => {
|
|
4156
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4113
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4157
4114
|
if (r == null)
|
|
4158
4115
|
throw new Error(
|
|
4159
4116
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4160
4117
|
);
|
|
4161
|
-
return n ? i =
|
|
4118
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4162
4119
|
}
|
|
4163
|
-
),
|
|
4120
|
+
), xi = (e = {}) => {
|
|
4164
4121
|
var t = e, {
|
|
4165
4122
|
locale: r = G()
|
|
4166
|
-
} = t, n =
|
|
4123
|
+
} = t, n = ne(t, [
|
|
4167
4124
|
"locale"
|
|
4168
4125
|
]);
|
|
4169
|
-
return
|
|
4170
|
-
},
|
|
4126
|
+
return vi(Qe({ locale: r }, n));
|
|
4127
|
+
}, _i = (e = {}) => {
|
|
4171
4128
|
var t = e, {
|
|
4172
4129
|
locale: r = G()
|
|
4173
|
-
} = t, n =
|
|
4130
|
+
} = t, n = ne(t, [
|
|
4174
4131
|
"locale"
|
|
4175
4132
|
]);
|
|
4176
|
-
return
|
|
4177
|
-
},
|
|
4133
|
+
return gi(Qe({ locale: r }, n));
|
|
4134
|
+
}, Ei = (e = {}) => {
|
|
4178
4135
|
var t = e, {
|
|
4179
4136
|
locale: r = G()
|
|
4180
|
-
} = t, n =
|
|
4137
|
+
} = t, n = ne(t, [
|
|
4181
4138
|
"locale"
|
|
4182
4139
|
]);
|
|
4183
|
-
return
|
|
4184
|
-
},
|
|
4140
|
+
return yi(Qe({ locale: r }, n));
|
|
4141
|
+
}, wi = Ce(
|
|
4185
4142
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4186
|
-
(e, t = G()) => new
|
|
4187
|
-
ignoreTag:
|
|
4143
|
+
(e, t = G()) => new Qn(e, t, K().formats, {
|
|
4144
|
+
ignoreTag: K().ignoreTag
|
|
4188
4145
|
})
|
|
4189
|
-
),
|
|
4146
|
+
), Ci = (e, t = {}) => {
|
|
4190
4147
|
var r, n, i, o;
|
|
4191
4148
|
let s = t;
|
|
4192
4149
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4199,9 +4156,9 @@ const ae = (e, t) => {
|
|
|
4199
4156
|
throw new Error(
|
|
4200
4157
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4201
4158
|
);
|
|
4202
|
-
let c =
|
|
4159
|
+
let c = Qt(e, l);
|
|
4203
4160
|
if (!c)
|
|
4204
|
-
c = (o = (i = (n = (r =
|
|
4161
|
+
c = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4205
4162
|
else if (typeof c != "string")
|
|
4206
4163
|
return console.warn(
|
|
4207
4164
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4210,7 +4167,7 @@ const ae = (e, t) => {
|
|
|
4210
4167
|
return c;
|
|
4211
4168
|
let h = c;
|
|
4212
4169
|
try {
|
|
4213
|
-
h =
|
|
4170
|
+
h = wi(c, l).format(a);
|
|
4214
4171
|
} catch (f) {
|
|
4215
4172
|
f instanceof Error && console.warn(
|
|
4216
4173
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4218,20 +4175,20 @@ const ae = (e, t) => {
|
|
|
4218
4175
|
);
|
|
4219
4176
|
}
|
|
4220
4177
|
return h;
|
|
4221
|
-
},
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
window.emWidgets = { topic:
|
|
4227
|
-
const
|
|
4228
|
-
function
|
|
4229
|
-
|
|
4230
|
-
}
|
|
4231
|
-
function
|
|
4232
|
-
|
|
4233
|
-
}
|
|
4234
|
-
const
|
|
4178
|
+
}, Ai = (e, t) => Ei(t).format(e), Si = (e, t) => _i(t).format(e), Ti = (e, t) => xi(t).format(e), Bi = (e, t = G()) => Qt(e, t), Hi = te([re, le], () => Ci);
|
|
4179
|
+
te([re], () => Ai);
|
|
4180
|
+
te([re], () => Si);
|
|
4181
|
+
te([re], () => Ti);
|
|
4182
|
+
te([re, le], () => Bi);
|
|
4183
|
+
window.emWidgets = { topic: Gr };
|
|
4184
|
+
const Mi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4185
|
+
function xt(e, t) {
|
|
4186
|
+
Jt(e, t);
|
|
4187
|
+
}
|
|
4188
|
+
function Pi(e) {
|
|
4189
|
+
re.set(e);
|
|
4190
|
+
}
|
|
4191
|
+
const _t = {
|
|
4235
4192
|
en: {
|
|
4236
4193
|
titleAccountClosure: "Account Closure",
|
|
4237
4194
|
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.",
|
|
@@ -4321,13 +4278,13 @@ const St = {
|
|
|
4321
4278
|
accountClosureConfirm: "Yes"
|
|
4322
4279
|
}
|
|
4323
4280
|
};
|
|
4324
|
-
function
|
|
4281
|
+
function Oi(e, t) {
|
|
4325
4282
|
if (e) {
|
|
4326
4283
|
const r = document.createElement("style");
|
|
4327
4284
|
r.innerHTML = t, e.appendChild(r);
|
|
4328
4285
|
}
|
|
4329
4286
|
}
|
|
4330
|
-
function
|
|
4287
|
+
function Ii(e, t) {
|
|
4331
4288
|
const r = new URL(t);
|
|
4332
4289
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4333
4290
|
const i = document.createElement("style");
|
|
@@ -4336,7 +4293,7 @@ function Di(e, t) {
|
|
|
4336
4293
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4337
4294
|
});
|
|
4338
4295
|
}
|
|
4339
|
-
function
|
|
4296
|
+
function Ni(e, t, r) {
|
|
4340
4297
|
if (window.emMessageBus) {
|
|
4341
4298
|
const n = document.createElement("style");
|
|
4342
4299
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4344,32 +4301,32 @@ function Ui(e, t, r) {
|
|
|
4344
4301
|
});
|
|
4345
4302
|
}
|
|
4346
4303
|
}
|
|
4347
|
-
function
|
|
4348
|
-
|
|
4304
|
+
function Li(e) {
|
|
4305
|
+
or(e, "svelte-1oeuewt", '.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.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;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap: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, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;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%;height:40px;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:100}.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, 10px)}.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, 10px)}.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, 10px);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, 10px);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)}');
|
|
4349
4306
|
}
|
|
4350
|
-
function
|
|
4307
|
+
function $i(e, t, r) {
|
|
4351
4308
|
const n = e.slice();
|
|
4352
4309
|
return n[22] = t[r], n;
|
|
4353
4310
|
}
|
|
4354
|
-
function
|
|
4311
|
+
function Ri(e) {
|
|
4355
4312
|
let t, r, n, i, o, s, a, l, u, c, h = (
|
|
4356
4313
|
/*$_*/
|
|
4357
4314
|
e[3]("titleAccountClosure") + ""
|
|
4358
4315
|
), f, p, m;
|
|
4359
4316
|
return {
|
|
4360
4317
|
c() {
|
|
4361
|
-
t = B("div"), r =
|
|
4318
|
+
t = B("div"), r = j("svg"), n = j("defs"), i = j("style"), o = $(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = j("g"), a = j("g"), l = j("path"), u = U(), c = B("h2"), f = $(h), _(l, "class", "aaa"), _(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(l, "transform", "translate(15 15) rotate(180)"), _(a, "transform", "translate(20 158)"), _(s, "transform", "translate(-20 -158)"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "15"), _(r, "height", "15"), _(r, "viewBox", "0 0 15 15"), _(c, "class", "AccountClosureTitleMobile"), _(c, "part", "AccountClosureTitleMobile"), _(t, "class", "MenuReturnButton"), _(t, "part", "MenuReturnButton");
|
|
4362
4319
|
},
|
|
4363
|
-
m(d,
|
|
4364
|
-
F(d, t,
|
|
4320
|
+
m(d, E) {
|
|
4321
|
+
F(d, t, E), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, l), g(t, u), g(t, c), g(c, f), p || (m = ve(
|
|
4365
4322
|
t,
|
|
4366
4323
|
"click",
|
|
4367
4324
|
/*click_handler*/
|
|
4368
4325
|
e[13]
|
|
4369
4326
|
), p = !0);
|
|
4370
4327
|
},
|
|
4371
|
-
p(d,
|
|
4372
|
-
|
|
4328
|
+
p(d, E) {
|
|
4329
|
+
E & /*$_*/
|
|
4373
4330
|
8 && h !== (h = /*$_*/
|
|
4374
4331
|
d[3]("titleAccountClosure") + "") && X(f, h);
|
|
4375
4332
|
},
|
|
@@ -4378,14 +4335,14 @@ function ji(e) {
|
|
|
4378
4335
|
}
|
|
4379
4336
|
};
|
|
4380
4337
|
}
|
|
4381
|
-
function
|
|
4338
|
+
function Di(e) {
|
|
4382
4339
|
let t, r, n = (
|
|
4383
4340
|
/*$_*/
|
|
4384
4341
|
e[3]("accountClosureDescription") + ""
|
|
4385
4342
|
);
|
|
4386
4343
|
return {
|
|
4387
4344
|
c() {
|
|
4388
|
-
t = B("div"), r = B("p"),
|
|
4345
|
+
t = B("div"), r = B("p"), _(t, "class", "AccountClosureDescription " + /*isMobile*/
|
|
4389
4346
|
(e[4] ? "AccountClosureDescriptionMobile" : ""));
|
|
4390
4347
|
},
|
|
4391
4348
|
m(i, o) {
|
|
@@ -4401,16 +4358,16 @@ function ki(e) {
|
|
|
4401
4358
|
}
|
|
4402
4359
|
};
|
|
4403
4360
|
}
|
|
4404
|
-
function
|
|
4405
|
-
let t, r, n =
|
|
4361
|
+
function Ui(e) {
|
|
4362
|
+
let t, r, n = yr({ length: 4 }), i = [];
|
|
4406
4363
|
for (let o = 0; o < n.length; o += 1)
|
|
4407
|
-
i[o] =
|
|
4364
|
+
i[o] = Fi($i(e, n, o));
|
|
4408
4365
|
return {
|
|
4409
4366
|
c() {
|
|
4410
4367
|
t = B("div"), r = B("div");
|
|
4411
4368
|
for (let o = 0; o < i.length; o += 1)
|
|
4412
4369
|
i[o].c();
|
|
4413
|
-
|
|
4370
|
+
_(r, "class", "skeletonWrapper"), _(t, "class", "skeletonContainerClosure");
|
|
4414
4371
|
},
|
|
4415
4372
|
m(o, s) {
|
|
4416
4373
|
F(o, t, s), g(t, r);
|
|
@@ -4419,15 +4376,15 @@ function Wi(e) {
|
|
|
4419
4376
|
},
|
|
4420
4377
|
p: O,
|
|
4421
4378
|
d(o) {
|
|
4422
|
-
o && R(t),
|
|
4379
|
+
o && R(t), ur(i, o);
|
|
4423
4380
|
}
|
|
4424
4381
|
};
|
|
4425
4382
|
}
|
|
4426
|
-
function
|
|
4383
|
+
function Fi(e) {
|
|
4427
4384
|
let t;
|
|
4428
4385
|
return {
|
|
4429
4386
|
c() {
|
|
4430
|
-
t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ',
|
|
4387
|
+
t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', _(t, "class", "skeletonNotification");
|
|
4431
4388
|
},
|
|
4432
4389
|
m(r, n) {
|
|
4433
4390
|
F(r, t, n);
|
|
@@ -4438,7 +4395,7 @@ function zi(e) {
|
|
|
4438
4395
|
}
|
|
4439
4396
|
};
|
|
4440
4397
|
}
|
|
4441
|
-
function
|
|
4398
|
+
function Et(e) {
|
|
4442
4399
|
let t, r, n, i, o = (
|
|
4443
4400
|
/*$_*/
|
|
4444
4401
|
e[3]("modal") + ""
|
|
@@ -4448,14 +4405,14 @@ function Tt(e) {
|
|
|
4448
4405
|
), h, f, p, m = (
|
|
4449
4406
|
/*$_*/
|
|
4450
4407
|
e[3]("accountClosureConfirm") + ""
|
|
4451
|
-
), d,
|
|
4408
|
+
), d, E, P;
|
|
4452
4409
|
return {
|
|
4453
4410
|
c() {
|
|
4454
|
-
t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = $(o), a = U(), l = B("div"), u = B("button"), h = $(c), f = U(), p = B("button"), d = $(m),
|
|
4411
|
+
t = B("div"), r = B("div"), n = B("div"), i = B("p"), s = $(o), a = U(), l = B("div"), u = B("button"), h = $(c), f = U(), p = B("button"), d = $(m), _(i, "class", "ModalText"), _(u, "class", "ModalCancel"), _(p, "class", "ModalConfirm"), _(l, "class", "ModalButtons"), _(n, "class", "ModalBody"), _(r, "class", "ModalContent"), _(t, "class", "ModalWrapper " + /*isMobile*/
|
|
4455
4412
|
(e[4] ? "ModalWrapperMobile" : ""));
|
|
4456
4413
|
},
|
|
4457
|
-
m(T,
|
|
4458
|
-
F(T, t,
|
|
4414
|
+
m(T, x) {
|
|
4415
|
+
F(T, t, x), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, l), g(l, u), g(u, h), g(l, f), g(l, p), g(p, d), E || (P = [
|
|
4459
4416
|
ve(
|
|
4460
4417
|
u,
|
|
4461
4418
|
"click",
|
|
@@ -4468,96 +4425,96 @@ function Tt(e) {
|
|
|
4468
4425
|
/*click_handler_3*/
|
|
4469
4426
|
e[16]
|
|
4470
4427
|
)
|
|
4471
|
-
],
|
|
4428
|
+
], E = !0);
|
|
4472
4429
|
},
|
|
4473
|
-
p(T,
|
|
4474
|
-
|
|
4430
|
+
p(T, x) {
|
|
4431
|
+
x & /*$_*/
|
|
4475
4432
|
8 && o !== (o = /*$_*/
|
|
4476
|
-
T[3]("modal") + "") && X(s, o),
|
|
4433
|
+
T[3]("modal") + "") && X(s, o), x & /*$_*/
|
|
4477
4434
|
8 && c !== (c = /*$_*/
|
|
4478
|
-
T[3]("accountClosureCancel") + "") && X(h, c),
|
|
4435
|
+
T[3]("accountClosureCancel") + "") && X(h, c), x & /*$_*/
|
|
4479
4436
|
8 && m !== (m = /*$_*/
|
|
4480
4437
|
T[3]("accountClosureConfirm") + "") && X(d, m);
|
|
4481
4438
|
},
|
|
4482
4439
|
d(T) {
|
|
4483
|
-
T && R(t),
|
|
4440
|
+
T && R(t), E = !1, ee(P);
|
|
4484
4441
|
}
|
|
4485
4442
|
};
|
|
4486
4443
|
}
|
|
4487
|
-
function
|
|
4444
|
+
function Gi(e) {
|
|
4488
4445
|
let t, r, n, i, o = (
|
|
4489
4446
|
/*$_*/
|
|
4490
4447
|
e[3]("titleAccountClosure") + ""
|
|
4491
4448
|
), s, a, l, u, c, h = (
|
|
4492
4449
|
/*$_*/
|
|
4493
4450
|
e[3]("closeAccount") + ""
|
|
4494
|
-
), f, p, m, d,
|
|
4451
|
+
), f, p, m, d, E = (
|
|
4495
4452
|
/*isMobile*/
|
|
4496
|
-
e[4] &&
|
|
4453
|
+
e[4] && Ri(e)
|
|
4497
4454
|
);
|
|
4498
|
-
function P(
|
|
4455
|
+
function P(w, H) {
|
|
4499
4456
|
return (
|
|
4500
4457
|
/*skeletonLoading*/
|
|
4501
|
-
|
|
4458
|
+
w[1] ? Ui : Di
|
|
4502
4459
|
);
|
|
4503
4460
|
}
|
|
4504
|
-
let T = P(e),
|
|
4461
|
+
let T = P(e), x = T(e), A = (
|
|
4505
4462
|
/*closureModal*/
|
|
4506
|
-
e[2] &&
|
|
4463
|
+
e[2] && Et(e)
|
|
4507
4464
|
);
|
|
4508
4465
|
return {
|
|
4509
4466
|
c() {
|
|
4510
|
-
t = B("div"), r = B("div"),
|
|
4511
|
-
(e[4] ? "AccountClosureTitleNone" : "")),
|
|
4512
|
-
(e[4] ? "AccountClosureSaveMobile" : "")),
|
|
4513
|
-
(e[4] ? "AccountClosureActionButtonsMobile" : "")),
|
|
4467
|
+
t = B("div"), r = B("div"), E && E.c(), n = U(), i = B("h2"), s = $(o), a = U(), x.c(), l = U(), u = B("div"), c = B("button"), f = $(h), p = U(), A && A.c(), _(i, "class", "AccountClosureTitle " + /*isMobile*/
|
|
4468
|
+
(e[4] ? "AccountClosureTitleNone" : "")), _(c, "class", "AccountClosureSave " + /*isMobile*/
|
|
4469
|
+
(e[4] ? "AccountClosureSaveMobile" : "")), _(u, "class", "AccountClosureActionButtons " + /*isMobile*/
|
|
4470
|
+
(e[4] ? "AccountClosureActionButtonsMobile" : "")), _(r, "class", "AccountClosureWrapper " + /*isMobile*/
|
|
4514
4471
|
(e[4] ? "AccountClosureWrapperMobile" : ""));
|
|
4515
4472
|
},
|
|
4516
|
-
m(
|
|
4517
|
-
F(
|
|
4473
|
+
m(w, H) {
|
|
4474
|
+
F(w, t, H), g(t, r), E && E.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), x.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), A && A.m(t, null), e[17](t), m || (d = ve(
|
|
4518
4475
|
c,
|
|
4519
4476
|
"click",
|
|
4520
4477
|
/*click_handler_1*/
|
|
4521
4478
|
e[14]
|
|
4522
4479
|
), m = !0);
|
|
4523
4480
|
},
|
|
4524
|
-
p(
|
|
4481
|
+
p(w, [H]) {
|
|
4525
4482
|
/*isMobile*/
|
|
4526
|
-
|
|
4483
|
+
w[4] && E.p(w, H), H & /*$_*/
|
|
4527
4484
|
8 && o !== (o = /*$_*/
|
|
4528
|
-
|
|
4485
|
+
w[3]("titleAccountClosure") + "") && X(s, o), T === (T = P(w)) && x ? x.p(w, H) : (x.d(1), x = T(w), x && (x.c(), x.m(r, l))), H & /*$_*/
|
|
4529
4486
|
8 && h !== (h = /*$_*/
|
|
4530
|
-
|
|
4531
|
-
|
|
4487
|
+
w[3]("closeAccount") + "") && X(f, h), /*closureModal*/
|
|
4488
|
+
w[2] ? A ? A.p(w, H) : (A = Et(w), A.c(), A.m(t, null)) : A && (A.d(1), A = null);
|
|
4532
4489
|
},
|
|
4533
4490
|
i: O,
|
|
4534
4491
|
o: O,
|
|
4535
|
-
d(
|
|
4536
|
-
|
|
4492
|
+
d(w) {
|
|
4493
|
+
w && R(t), E && E.d(), x.d(), A && A.d(), e[17](null), m = !1, d();
|
|
4537
4494
|
}
|
|
4538
4495
|
};
|
|
4539
4496
|
}
|
|
4540
|
-
function
|
|
4497
|
+
function ki(e, t, r) {
|
|
4541
4498
|
let n;
|
|
4542
|
-
|
|
4543
|
-
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c =
|
|
4499
|
+
ir(e, Hi, (S) => r(3, n = S));
|
|
4500
|
+
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = Mi(u) !== "PC", h = !1, f = !1, p;
|
|
4544
4501
|
const m = () => {
|
|
4545
|
-
r(1, h = !0), fetch(l).then((
|
|
4546
|
-
Object.keys(
|
|
4547
|
-
|
|
4502
|
+
r(1, h = !0), fetch(l).then((k) => k.json()).then((k) => {
|
|
4503
|
+
Object.keys(k).forEach((Ye) => {
|
|
4504
|
+
xt(Ye, k[Ye]);
|
|
4548
4505
|
});
|
|
4549
|
-
}).catch((
|
|
4550
|
-
console.log(
|
|
4506
|
+
}).catch((k) => {
|
|
4507
|
+
console.log(k);
|
|
4551
4508
|
}).finally(() => {
|
|
4552
4509
|
r(1, h = !1);
|
|
4553
4510
|
});
|
|
4554
4511
|
};
|
|
4555
|
-
Object.keys(
|
|
4556
|
-
|
|
4512
|
+
Object.keys(_t).forEach((S) => {
|
|
4513
|
+
xt(S, _t[S]);
|
|
4557
4514
|
});
|
|
4558
|
-
const d = (
|
|
4559
|
-
r(2, f =
|
|
4560
|
-
},
|
|
4515
|
+
const d = (S) => {
|
|
4516
|
+
r(2, f = S), S === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
4517
|
+
}, E = () => {
|
|
4561
4518
|
d(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
|
|
4562
4519
|
}, P = () => {
|
|
4563
4520
|
window.postMessage(
|
|
@@ -4568,24 +4525,24 @@ function Xi(e, t, r) {
|
|
|
4568
4525
|
window.location.href
|
|
4569
4526
|
);
|
|
4570
4527
|
}, T = () => {
|
|
4571
|
-
|
|
4528
|
+
Pi(i);
|
|
4572
4529
|
};
|
|
4573
|
-
|
|
4530
|
+
fr(() => () => {
|
|
4574
4531
|
});
|
|
4575
|
-
const
|
|
4576
|
-
function ce(
|
|
4577
|
-
|
|
4578
|
-
p =
|
|
4532
|
+
const x = () => P(), A = () => d(!0), w = () => d(!1), H = () => E();
|
|
4533
|
+
function ce(S) {
|
|
4534
|
+
Oe[S ? "unshift" : "push"](() => {
|
|
4535
|
+
p = S, r(0, p);
|
|
4579
4536
|
});
|
|
4580
4537
|
}
|
|
4581
|
-
return e.$$set = (
|
|
4582
|
-
"lang" in
|
|
4538
|
+
return e.$$set = (S) => {
|
|
4539
|
+
"lang" in S && r(8, i = S.lang), "clientstyling" in S && r(9, o = S.clientstyling), "clientstylingurl" in S && r(10, s = S.clientstylingurl), "mbsource" in S && r(11, a = S.mbsource), "translationurl" in S && r(12, l = S.translationurl);
|
|
4583
4540
|
}, e.$$.update = () => {
|
|
4584
4541
|
e.$$.dirty & /*lang*/
|
|
4585
4542
|
256 && i && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4586
|
-
513 && o && p &&
|
|
4587
|
-
1025 && s && p &&
|
|
4588
|
-
2049 && a && p &&
|
|
4543
|
+
513 && o && p && Oi(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4544
|
+
1025 && s && p && Ii(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4545
|
+
2049 && a && p && Ni(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
|
|
4589
4546
|
4096 && l && m();
|
|
4590
4547
|
}, [
|
|
4591
4548
|
p,
|
|
@@ -4594,28 +4551,28 @@ function Xi(e, t, r) {
|
|
|
4594
4551
|
n,
|
|
4595
4552
|
c,
|
|
4596
4553
|
d,
|
|
4597
|
-
|
|
4554
|
+
E,
|
|
4598
4555
|
P,
|
|
4599
4556
|
i,
|
|
4600
4557
|
o,
|
|
4601
4558
|
s,
|
|
4602
4559
|
a,
|
|
4603
4560
|
l,
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4561
|
+
x,
|
|
4562
|
+
A,
|
|
4563
|
+
w,
|
|
4607
4564
|
H,
|
|
4608
4565
|
ce
|
|
4609
4566
|
];
|
|
4610
4567
|
}
|
|
4611
|
-
class
|
|
4568
|
+
class ji extends Ar {
|
|
4612
4569
|
constructor(t) {
|
|
4613
|
-
super(),
|
|
4570
|
+
super(), wr(
|
|
4614
4571
|
this,
|
|
4615
4572
|
t,
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4573
|
+
ki,
|
|
4574
|
+
Gi,
|
|
4575
|
+
Ct,
|
|
4619
4576
|
{
|
|
4620
4577
|
lang: 8,
|
|
4621
4578
|
clientstyling: 9,
|
|
@@ -4623,7 +4580,7 @@ class Zi extends Mr {
|
|
|
4623
4580
|
mbsource: 11,
|
|
4624
4581
|
translationurl: 12
|
|
4625
4582
|
},
|
|
4626
|
-
|
|
4583
|
+
Li
|
|
4627
4584
|
);
|
|
4628
4585
|
}
|
|
4629
4586
|
get lang() {
|
|
@@ -4657,7 +4614,7 @@ class Zi extends Mr {
|
|
|
4657
4614
|
this.$$set({ translationurl: t }), D();
|
|
4658
4615
|
}
|
|
4659
4616
|
}
|
|
4660
|
-
|
|
4617
|
+
Cr(ji, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4661
4618
|
export {
|
|
4662
|
-
|
|
4619
|
+
ji as P
|
|
4663
4620
|
};
|