@everymatrix/player-account-gaming-limits-popup-2 1.59.0 → 1.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup2-BYX-ux5V.js → PlayerAccountGamingLimitsPopup2-C6yBCeA7.js} +348 -346
- package/components/{PlayerAccountGamingLimitsPopup2-B6Q-Owic.js → PlayerAccountGamingLimitsPopup2-xHl9N0x9.js} +361 -359
- package/components/PlayerAccountGamingLimitsPopup2-yLzRCOZa.cjs +23 -0
- package/es2015/player-account-gaming-limits-popup-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup-2.js +1 -1
- package/esnext/player-account-gaming-limits-popup-2.js +1 -1
- package/package.json +3 -2
- package/components/PlayerAccountGamingLimitsPopup2-w1EByIvm.cjs +0 -23
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function te() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function zt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function wt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function le(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(zt);
|
|
11
11
|
}
|
|
12
12
|
function yt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Ft(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function yi(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Vt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,20 +27,20 @@ function zt(e, ...t) {
|
|
|
27
27
|
const i = e.subscribe(...t);
|
|
28
28
|
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function vi(e, t, i) {
|
|
31
|
+
e.$$.on_destroy.push(Vt(t, i));
|
|
32
32
|
}
|
|
33
33
|
function m(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function Ei(e, t, i) {
|
|
37
|
+
const n = _i(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const r = g("style");
|
|
40
|
-
r.id = t, r.textContent = i,
|
|
40
|
+
r.id = t, r.textContent = i, xi(n, r);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function _i(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function vi(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function xi(e, t) {
|
|
54
54
|
return m(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -81,17 +81,17 @@ function Z(e, t, i, n) {
|
|
|
81
81
|
function h(e, t, i) {
|
|
82
82
|
i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function Xt(e) {
|
|
85
85
|
return e === "" ? null : +e;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Ti(e) {
|
|
88
88
|
return Array.from(e.childNodes);
|
|
89
89
|
}
|
|
90
90
|
function H(e, t) {
|
|
91
91
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
92
|
t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Bt(e, t) {
|
|
95
95
|
e.value = t ?? "";
|
|
96
96
|
}
|
|
97
97
|
function ke(e, t, i, n) {
|
|
@@ -100,7 +100,7 @@ function ke(e, t, i, n) {
|
|
|
100
100
|
function je(e, t, i) {
|
|
101
101
|
e.classList.toggle(t, !!i);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function Pi(e) {
|
|
104
104
|
const t = {};
|
|
105
105
|
return e.childNodes.forEach(
|
|
106
106
|
/** @param {Element} node */
|
|
@@ -113,20 +113,20 @@ let Ce;
|
|
|
113
113
|
function He(e) {
|
|
114
114
|
Ce = e;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function wi() {
|
|
117
117
|
if (!Ce)
|
|
118
118
|
throw new Error("Function called outside component initialization");
|
|
119
119
|
return Ce;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
121
|
+
function Bi(e) {
|
|
122
|
+
wi().$$.on_mount.push(e);
|
|
123
123
|
}
|
|
124
124
|
const be = [], ge = [];
|
|
125
125
|
let ye = [];
|
|
126
|
-
const
|
|
126
|
+
const Lt = [], Li = /* @__PURE__ */ Promise.resolve();
|
|
127
127
|
let at = !1;
|
|
128
|
-
function
|
|
129
|
-
at || (at = !0,
|
|
128
|
+
function Ai() {
|
|
129
|
+
at || (at = !0, Li.then(ee));
|
|
130
130
|
}
|
|
131
131
|
function lt(e) {
|
|
132
132
|
ye.push(e);
|
|
@@ -141,7 +141,7 @@ function ee() {
|
|
|
141
141
|
try {
|
|
142
142
|
for (; pe < be.length; ) {
|
|
143
143
|
const t = be[pe];
|
|
144
|
-
pe++, He(t),
|
|
144
|
+
pe++, He(t), Si(t.$$);
|
|
145
145
|
}
|
|
146
146
|
} catch (t) {
|
|
147
147
|
throw be.length = 0, pe = 0, t;
|
|
@@ -154,40 +154,40 @@ function ee() {
|
|
|
154
154
|
}
|
|
155
155
|
ye.length = 0;
|
|
156
156
|
} while (be.length);
|
|
157
|
-
for (;
|
|
158
|
-
|
|
157
|
+
for (; Lt.length; )
|
|
158
|
+
Lt.pop()();
|
|
159
159
|
at = !1, et.clear(), He(e);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Si(e) {
|
|
162
162
|
if (e.fragment !== null) {
|
|
163
163
|
e.update(), le(e.before_update);
|
|
164
164
|
const t = e.dirty;
|
|
165
165
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function Ii(e) {
|
|
169
169
|
const t = [], i = [];
|
|
170
170
|
ye.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : i.push(n)), i.forEach((n) => n()), ye = t;
|
|
171
171
|
}
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
e && e.i && (
|
|
172
|
+
const ki = /* @__PURE__ */ new Set();
|
|
173
|
+
function Hi(e, t) {
|
|
174
|
+
e && e.i && (ki.delete(e), e.i(t));
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function Ci(e, t, i) {
|
|
177
177
|
const { fragment: n, after_update: r } = e.$$;
|
|
178
178
|
n && n.m(t, i), lt(() => {
|
|
179
|
-
const o = e.$$.on_mount.map(
|
|
179
|
+
const o = e.$$.on_mount.map(zt).filter(yt);
|
|
180
180
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
|
|
181
181
|
}), r.forEach(lt);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Ni(e, t) {
|
|
184
184
|
const i = e.$$;
|
|
185
|
-
i.fragment !== null && (
|
|
185
|
+
i.fragment !== null && (Ii(i.after_update), le(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
e.$$.dirty[0] === -1 && (be.push(e),
|
|
187
|
+
function Oi(e, t) {
|
|
188
|
+
e.$$.dirty[0] === -1 && (be.push(e), Ai(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Mi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
191
191
|
const c = Ce;
|
|
192
192
|
He(e);
|
|
193
193
|
const a = e.$$ = {
|
|
@@ -197,7 +197,7 @@ function Ni(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
197
197
|
props: o,
|
|
198
198
|
update: te,
|
|
199
199
|
not_equal: r,
|
|
200
|
-
bound:
|
|
200
|
+
bound: wt(),
|
|
201
201
|
// lifecycle
|
|
202
202
|
on_mount: [],
|
|
203
203
|
on_destroy: [],
|
|
@@ -206,7 +206,7 @@ function Ni(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
206
206
|
after_update: [],
|
|
207
207
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
208
208
|
// everything else
|
|
209
|
-
callbacks:
|
|
209
|
+
callbacks: wt(),
|
|
210
210
|
dirty: s,
|
|
211
211
|
skip_bound: !1,
|
|
212
212
|
root: t.target || c.$$.root
|
|
@@ -215,19 +215,19 @@ function Ni(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
215
215
|
let u = !1;
|
|
216
216
|
if (a.ctx = i ? i(e, t.props || {}, (f, p, ...d) => {
|
|
217
217
|
const _ = d.length ? d[0] : p;
|
|
218
|
-
return a.ctx && r(a.ctx[f], a.ctx[f] = _) && (!a.skip_bound && a.bound[f] && a.bound[f](_), u &&
|
|
218
|
+
return a.ctx && r(a.ctx[f], a.ctx[f] = _) && (!a.skip_bound && a.bound[f] && a.bound[f](_), u && Oi(e, f)), p;
|
|
219
219
|
}) : [], a.update(), u = !0, le(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
220
220
|
if (t.hydrate) {
|
|
221
|
-
const f =
|
|
221
|
+
const f = Ti(t.target);
|
|
222
222
|
a.fragment && a.fragment.l(f), f.forEach(y);
|
|
223
223
|
} else
|
|
224
224
|
a.fragment && a.fragment.c();
|
|
225
|
-
t.intro &&
|
|
225
|
+
t.intro && Hi(e.$$.fragment), Ci(e, t.target, t.anchor), ee();
|
|
226
226
|
}
|
|
227
227
|
He(c);
|
|
228
228
|
}
|
|
229
|
-
let
|
|
230
|
-
typeof HTMLElement == "function" && (
|
|
229
|
+
let qt;
|
|
230
|
+
typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
231
231
|
/** The Svelte component constructor */
|
|
232
232
|
$$ctor;
|
|
233
233
|
/** Slots */
|
|
@@ -286,7 +286,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
|
286
286
|
};
|
|
287
287
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
288
288
|
return;
|
|
289
|
-
const t = {}, i =
|
|
289
|
+
const t = {}, i = Pi(this);
|
|
290
290
|
for (const r of this.$$s)
|
|
291
291
|
r in i && (t[r] = [e(r)]);
|
|
292
292
|
for (const r of this.attributes) {
|
|
@@ -373,8 +373,8 @@ function $e(e, t, i, n) {
|
|
|
373
373
|
return t;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
let l = class extends
|
|
376
|
+
function Di(e, t, i, n, r, o) {
|
|
377
|
+
let l = class extends qt {
|
|
378
378
|
constructor() {
|
|
379
379
|
super(e, i, r), this.$$p_d = t;
|
|
380
380
|
}
|
|
@@ -402,7 +402,7 @@ function Oi(e, t, i, n, r, o) {
|
|
|
402
402
|
}), e.element = /** @type {any} */
|
|
403
403
|
l, l;
|
|
404
404
|
}
|
|
405
|
-
class
|
|
405
|
+
class Ri {
|
|
406
406
|
/**
|
|
407
407
|
* ### PRIVATE API
|
|
408
408
|
*
|
|
@@ -421,7 +421,7 @@ class Mi {
|
|
|
421
421
|
$$set = void 0;
|
|
422
422
|
/** @returns {void} */
|
|
423
423
|
$destroy() {
|
|
424
|
-
|
|
424
|
+
Ni(this, 1), this.$destroy = te;
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -443,13 +443,13 @@ class Mi {
|
|
|
443
443
|
* @returns {void}
|
|
444
444
|
*/
|
|
445
445
|
$set(t) {
|
|
446
|
-
this.$$set && !
|
|
446
|
+
this.$$set && !yi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
const
|
|
450
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
449
|
+
const Ui = "4";
|
|
450
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ui);
|
|
451
451
|
const de = [];
|
|
452
|
-
function
|
|
452
|
+
function ji(e, t) {
|
|
453
453
|
return {
|
|
454
454
|
subscribe: qe(e, t).subscribe
|
|
455
455
|
};
|
|
@@ -458,7 +458,7 @@ function qe(e, t = te) {
|
|
|
458
458
|
let i;
|
|
459
459
|
const n = /* @__PURE__ */ new Set();
|
|
460
460
|
function r(s) {
|
|
461
|
-
if (
|
|
461
|
+
if (Ft(e, s) && (e = s, i)) {
|
|
462
462
|
const c = !de.length;
|
|
463
463
|
for (const a of n)
|
|
464
464
|
a[1](), de.push(a, e);
|
|
@@ -485,7 +485,7 @@ function Te(e, t, i) {
|
|
|
485
485
|
if (!r.every(Boolean))
|
|
486
486
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
487
487
|
const o = t.length < 2;
|
|
488
|
-
return
|
|
488
|
+
return ji(i, (l, s) => {
|
|
489
489
|
let c = !1;
|
|
490
490
|
const a = [];
|
|
491
491
|
let u = 0, f = te;
|
|
@@ -496,7 +496,7 @@ function Te(e, t, i) {
|
|
|
496
496
|
const _ = t(n ? a[0] : a, l, s);
|
|
497
497
|
o ? l(_) : f = yt(_) ? _ : te;
|
|
498
498
|
}, d = r.map(
|
|
499
|
-
(_, x) =>
|
|
499
|
+
(_, x) => Vt(
|
|
500
500
|
_,
|
|
501
501
|
(v) => {
|
|
502
502
|
a[x] = v, u &= ~(1 << x), c && p();
|
|
@@ -511,70 +511,70 @@ function Te(e, t, i) {
|
|
|
511
511
|
};
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function Gi(e) {
|
|
515
515
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
516
516
|
}
|
|
517
|
-
var
|
|
518
|
-
return
|
|
517
|
+
var $i = function(t) {
|
|
518
|
+
return zi(t) && !Fi(t);
|
|
519
519
|
};
|
|
520
|
-
function
|
|
520
|
+
function zi(e) {
|
|
521
521
|
return !!e && typeof e == "object";
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Fi(e) {
|
|
524
524
|
var t = Object.prototype.toString.call(e);
|
|
525
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
525
|
+
return t === "[object RegExp]" || t === "[object Date]" || qi(e);
|
|
526
526
|
}
|
|
527
|
-
var
|
|
528
|
-
function
|
|
529
|
-
return e.$$typeof ===
|
|
527
|
+
var Vi = typeof Symbol == "function" && Symbol.for, Xi = Vi ? Symbol.for("react.element") : 60103;
|
|
528
|
+
function qi(e) {
|
|
529
|
+
return e.$$typeof === Xi;
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function Wi(e) {
|
|
532
532
|
return Array.isArray(e) ? [] : {};
|
|
533
533
|
}
|
|
534
534
|
function Ne(e, t) {
|
|
535
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ve(
|
|
535
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ve(Wi(e), e, t) : e;
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function Zi(e, t, i) {
|
|
538
538
|
return e.concat(t).map(function(n) {
|
|
539
539
|
return Ne(n, i);
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Yi(e, t) {
|
|
543
543
|
if (!t.customMerge)
|
|
544
544
|
return ve;
|
|
545
545
|
var i = t.customMerge(e);
|
|
546
546
|
return typeof i == "function" ? i : ve;
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Ji(e) {
|
|
549
549
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
550
550
|
return Object.propertyIsEnumerable.call(e, t);
|
|
551
551
|
}) : [];
|
|
552
552
|
}
|
|
553
|
-
function
|
|
554
|
-
return Object.keys(e).concat(
|
|
553
|
+
function At(e) {
|
|
554
|
+
return Object.keys(e).concat(Ji(e));
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function Wt(e, t) {
|
|
557
557
|
try {
|
|
558
558
|
return t in e;
|
|
559
559
|
} catch {
|
|
560
560
|
return !1;
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
return
|
|
563
|
+
function Qi(e, t) {
|
|
564
|
+
return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function Ki(e, t, i) {
|
|
567
567
|
var n = {};
|
|
568
|
-
return i.isMergeableObject(e) &&
|
|
568
|
+
return i.isMergeableObject(e) && At(e).forEach(function(r) {
|
|
569
569
|
n[r] = Ne(e[r], i);
|
|
570
|
-
}),
|
|
571
|
-
|
|
570
|
+
}), At(t).forEach(function(r) {
|
|
571
|
+
Qi(e, r) || (Wt(e, r) && i.isMergeableObject(t[r]) ? n[r] = Yi(r, i)(e[r], t[r], i) : n[r] = Ne(t[r], i));
|
|
572
572
|
}), n;
|
|
573
573
|
}
|
|
574
574
|
function ve(e, t, i) {
|
|
575
|
-
i = i || {}, i.arrayMerge = i.arrayMerge ||
|
|
575
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || Zi, i.isMergeableObject = i.isMergeableObject || $i, i.cloneUnlessOtherwiseSpecified = Ne;
|
|
576
576
|
var n = Array.isArray(t), r = Array.isArray(e), o = n === r;
|
|
577
|
-
return o ? n ? i.arrayMerge(e, t, i) :
|
|
577
|
+
return o ? n ? i.arrayMerge(e, t, i) : Ki(e, t, i) : Ne(t, i);
|
|
578
578
|
}
|
|
579
579
|
ve.all = function(t, i) {
|
|
580
580
|
if (!Array.isArray(t))
|
|
@@ -583,8 +583,8 @@ ve.all = function(t, i) {
|
|
|
583
583
|
return ve(n, r, i);
|
|
584
584
|
}, {});
|
|
585
585
|
};
|
|
586
|
-
var
|
|
587
|
-
const
|
|
586
|
+
var en = ve, tn = en;
|
|
587
|
+
const nn = /* @__PURE__ */ Gi(tn);
|
|
588
588
|
/*! *****************************************************************************
|
|
589
589
|
Copyright (c) Microsoft Corporation.
|
|
590
590
|
|
|
@@ -626,7 +626,7 @@ var k = function() {
|
|
|
626
626
|
return t;
|
|
627
627
|
}, k.apply(this, arguments);
|
|
628
628
|
};
|
|
629
|
-
function
|
|
629
|
+
function rn(e, t) {
|
|
630
630
|
var i = {};
|
|
631
631
|
for (var n in e)
|
|
632
632
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
@@ -642,53 +642,55 @@ function tt(e, t, i) {
|
|
|
642
642
|
return e.concat(o || t);
|
|
643
643
|
}
|
|
644
644
|
function it(e, t) {
|
|
645
|
-
var i = t && t.cache ? t.cache :
|
|
645
|
+
var i = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : un, r = t && t.strategy ? t.strategy : sn;
|
|
646
646
|
return r(e, {
|
|
647
647
|
cache: i,
|
|
648
648
|
serializer: n
|
|
649
649
|
});
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function on(e) {
|
|
652
652
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
653
653
|
}
|
|
654
|
-
function
|
|
655
|
-
var r =
|
|
654
|
+
function Zt(e, t, i, n) {
|
|
655
|
+
var r = on(n) ? n : i(n), o = t.get(r);
|
|
656
656
|
return typeof o > "u" && (o = e.call(this, n), t.set(r, o)), o;
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Yt(e, t, i) {
|
|
659
659
|
var n = Array.prototype.slice.call(arguments, 3), r = i(n), o = t.get(r);
|
|
660
660
|
return typeof o > "u" && (o = e.apply(this, n), t.set(r, o)), o;
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function vt(e, t, i, n, r) {
|
|
663
663
|
return i.bind(t, e, n, r);
|
|
664
664
|
}
|
|
665
|
-
function on(e, t) {
|
|
666
|
-
var i = e.length === 1 ? rn : qt;
|
|
667
|
-
return Wt(e, this, i, t.cache.create(), t.serializer);
|
|
668
|
-
}
|
|
669
665
|
function sn(e, t) {
|
|
670
|
-
|
|
666
|
+
var i = e.length === 1 ? Zt : Yt;
|
|
667
|
+
return vt(e, this, i, t.cache.create(), t.serializer);
|
|
668
|
+
}
|
|
669
|
+
function an(e, t) {
|
|
670
|
+
return vt(e, this, Yt, t.cache.create(), t.serializer);
|
|
671
|
+
}
|
|
672
|
+
function ln(e, t) {
|
|
673
|
+
return vt(e, this, Zt, t.cache.create(), t.serializer);
|
|
671
674
|
}
|
|
672
|
-
var
|
|
675
|
+
var un = function() {
|
|
673
676
|
return JSON.stringify(arguments);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
}()
|
|
686
|
-
), un = {
|
|
677
|
+
};
|
|
678
|
+
function Et() {
|
|
679
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
680
|
+
}
|
|
681
|
+
Et.prototype.get = function(e) {
|
|
682
|
+
return this.cache[e];
|
|
683
|
+
};
|
|
684
|
+
Et.prototype.set = function(e, t) {
|
|
685
|
+
this.cache[e] = t;
|
|
686
|
+
};
|
|
687
|
+
var cn = {
|
|
687
688
|
create: function() {
|
|
688
|
-
return new
|
|
689
|
+
return new Et();
|
|
689
690
|
}
|
|
690
691
|
}, nt = {
|
|
691
|
-
variadic:
|
|
692
|
+
variadic: an,
|
|
693
|
+
monadic: ln
|
|
692
694
|
}, B;
|
|
693
695
|
(function(e) {
|
|
694
696
|
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";
|
|
@@ -701,43 +703,43 @@ var Ee;
|
|
|
701
703
|
(function(e) {
|
|
702
704
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
703
705
|
})(Ee || (Ee = {}));
|
|
704
|
-
function
|
|
706
|
+
function St(e) {
|
|
705
707
|
return e.type === z.literal;
|
|
706
708
|
}
|
|
707
|
-
function
|
|
709
|
+
function hn(e) {
|
|
708
710
|
return e.type === z.argument;
|
|
709
711
|
}
|
|
710
|
-
function
|
|
712
|
+
function Jt(e) {
|
|
711
713
|
return e.type === z.number;
|
|
712
714
|
}
|
|
713
|
-
function
|
|
715
|
+
function Qt(e) {
|
|
714
716
|
return e.type === z.date;
|
|
715
717
|
}
|
|
716
|
-
function
|
|
718
|
+
function Kt(e) {
|
|
717
719
|
return e.type === z.time;
|
|
718
720
|
}
|
|
719
|
-
function
|
|
721
|
+
function ei(e) {
|
|
720
722
|
return e.type === z.select;
|
|
721
723
|
}
|
|
722
|
-
function
|
|
724
|
+
function ti(e) {
|
|
723
725
|
return e.type === z.plural;
|
|
724
726
|
}
|
|
725
|
-
function
|
|
727
|
+
function fn(e) {
|
|
726
728
|
return e.type === z.pound;
|
|
727
729
|
}
|
|
728
|
-
function
|
|
730
|
+
function ii(e) {
|
|
729
731
|
return e.type === z.tag;
|
|
730
732
|
}
|
|
731
|
-
function
|
|
733
|
+
function ni(e) {
|
|
732
734
|
return !!(e && typeof e == "object" && e.type === Ee.number);
|
|
733
735
|
}
|
|
734
736
|
function ct(e) {
|
|
735
737
|
return !!(e && typeof e == "object" && e.type === Ee.dateTime);
|
|
736
738
|
}
|
|
737
|
-
var
|
|
738
|
-
function
|
|
739
|
+
var ri = /[ \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;
|
|
740
|
+
function pn(e) {
|
|
739
741
|
var t = {};
|
|
740
|
-
return e.replace(
|
|
742
|
+
return e.replace(mn, function(i) {
|
|
741
743
|
var n = i.length;
|
|
742
744
|
switch (i[0]) {
|
|
743
745
|
case "G":
|
|
@@ -826,11 +828,11 @@ function mn(e) {
|
|
|
826
828
|
return "";
|
|
827
829
|
}), t;
|
|
828
830
|
}
|
|
829
|
-
var
|
|
830
|
-
function
|
|
831
|
+
var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
832
|
+
function bn(e) {
|
|
831
833
|
if (e.length === 0)
|
|
832
834
|
throw new Error("Number skeleton cannot be empty");
|
|
833
|
-
for (var t = e.split(
|
|
835
|
+
for (var t = e.split(dn).filter(function(p) {
|
|
834
836
|
return p.length > 0;
|
|
835
837
|
}), i = [], n = 0, r = t; n < r.length; n++) {
|
|
836
838
|
var o = r[n], l = o.split("/");
|
|
@@ -845,17 +847,17 @@ function dn(e) {
|
|
|
845
847
|
}
|
|
846
848
|
return i;
|
|
847
849
|
}
|
|
848
|
-
function
|
|
850
|
+
function gn(e) {
|
|
849
851
|
return e.replace(/^(.*?)-/, "");
|
|
850
852
|
}
|
|
851
|
-
var
|
|
852
|
-
function
|
|
853
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oi = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, si = /^(0+)$/;
|
|
854
|
+
function kt(e) {
|
|
853
855
|
var t = {};
|
|
854
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
856
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(oi, function(i, n, r) {
|
|
855
857
|
return typeof r != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)), "";
|
|
856
858
|
}), t;
|
|
857
859
|
}
|
|
858
|
-
function
|
|
860
|
+
function ai(e) {
|
|
859
861
|
switch (e) {
|
|
860
862
|
case "sign-auto":
|
|
861
863
|
return {
|
|
@@ -895,7 +897,7 @@ function oi(e) {
|
|
|
895
897
|
};
|
|
896
898
|
}
|
|
897
899
|
}
|
|
898
|
-
function
|
|
900
|
+
function vn(e) {
|
|
899
901
|
var t;
|
|
900
902
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
901
903
|
notation: "engineering"
|
|
@@ -903,17 +905,17 @@ function yn(e) {
|
|
|
903
905
|
notation: "scientific"
|
|
904
906
|
}, e = e.slice(1)), t) {
|
|
905
907
|
var i = e.slice(0, 2);
|
|
906
|
-
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
908
|
+
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !si.test(e))
|
|
907
909
|
throw new Error("Malformed concise eng/scientific notation");
|
|
908
910
|
t.minimumIntegerDigits = e.length;
|
|
909
911
|
}
|
|
910
912
|
return t;
|
|
911
913
|
}
|
|
912
|
-
function
|
|
913
|
-
var t = {}, i =
|
|
914
|
+
function Ht(e) {
|
|
915
|
+
var t = {}, i = ai(e);
|
|
914
916
|
return i || t;
|
|
915
917
|
}
|
|
916
|
-
function
|
|
918
|
+
function En(e) {
|
|
917
919
|
for (var t = {}, i = 0, n = e; i < n.length; i++) {
|
|
918
920
|
var r = n[i];
|
|
919
921
|
switch (r.stem) {
|
|
@@ -937,7 +939,7 @@ function vn(e) {
|
|
|
937
939
|
continue;
|
|
938
940
|
case "measure-unit":
|
|
939
941
|
case "unit":
|
|
940
|
-
t.style = "unit", t.unit =
|
|
942
|
+
t.style = "unit", t.unit = gn(r.options[0]);
|
|
941
943
|
continue;
|
|
942
944
|
case "compact-short":
|
|
943
945
|
case "K":
|
|
@@ -949,12 +951,12 @@ function vn(e) {
|
|
|
949
951
|
continue;
|
|
950
952
|
case "scientific":
|
|
951
953
|
t = k(k(k({}, t), { notation: "scientific" }), r.options.reduce(function(c, a) {
|
|
952
|
-
return k(k({}, c),
|
|
954
|
+
return k(k({}, c), Ht(a));
|
|
953
955
|
}, {}));
|
|
954
956
|
continue;
|
|
955
957
|
case "engineering":
|
|
956
958
|
t = k(k(k({}, t), { notation: "engineering" }), r.options.reduce(function(c, a) {
|
|
957
|
-
return k(k({}, c),
|
|
959
|
+
return k(k({}, c), Ht(a));
|
|
958
960
|
}, {}));
|
|
959
961
|
continue;
|
|
960
962
|
case "notation-simple":
|
|
@@ -999,7 +1001,7 @@ function vn(e) {
|
|
|
999
1001
|
case "integer-width":
|
|
1000
1002
|
if (r.options.length > 1)
|
|
1001
1003
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1002
|
-
r.options[0].replace(
|
|
1004
|
+
r.options[0].replace(yn, function(c, a, u, f, p, d) {
|
|
1003
1005
|
if (a)
|
|
1004
1006
|
t.minimumIntegerDigits = u.length;
|
|
1005
1007
|
else {
|
|
@@ -1012,27 +1014,27 @@ function vn(e) {
|
|
|
1012
1014
|
});
|
|
1013
1015
|
continue;
|
|
1014
1016
|
}
|
|
1015
|
-
if (
|
|
1017
|
+
if (si.test(r.stem)) {
|
|
1016
1018
|
t.minimumIntegerDigits = r.stem.length;
|
|
1017
1019
|
continue;
|
|
1018
1020
|
}
|
|
1019
|
-
if (
|
|
1021
|
+
if (It.test(r.stem)) {
|
|
1020
1022
|
if (r.options.length > 1)
|
|
1021
1023
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1022
|
-
r.stem.replace(
|
|
1024
|
+
r.stem.replace(It, function(c, a, u, f, p, d) {
|
|
1023
1025
|
return u === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && d ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1024
1026
|
});
|
|
1025
1027
|
var o = r.options[0];
|
|
1026
|
-
o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t),
|
|
1028
|
+
o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), kt(o)));
|
|
1027
1029
|
continue;
|
|
1028
1030
|
}
|
|
1029
|
-
if (
|
|
1030
|
-
t = k(k({}, t),
|
|
1031
|
+
if (oi.test(r.stem)) {
|
|
1032
|
+
t = k(k({}, t), kt(r.stem));
|
|
1031
1033
|
continue;
|
|
1032
1034
|
}
|
|
1033
|
-
var l =
|
|
1035
|
+
var l = ai(r.stem);
|
|
1034
1036
|
l && (t = k(k({}, t), l));
|
|
1035
|
-
var s =
|
|
1037
|
+
var s = vn(r.stem);
|
|
1036
1038
|
s && (t = k(k({}, t), s));
|
|
1037
1039
|
}
|
|
1038
1040
|
return t;
|
|
@@ -2452,13 +2454,13 @@ var Ge = {
|
|
|
2452
2454
|
"h"
|
|
2453
2455
|
]
|
|
2454
2456
|
};
|
|
2455
|
-
function
|
|
2457
|
+
function _n(e, t) {
|
|
2456
2458
|
for (var i = "", n = 0; n < e.length; n++) {
|
|
2457
2459
|
var r = e.charAt(n);
|
|
2458
2460
|
if (r === "j") {
|
|
2459
2461
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
|
|
2460
2462
|
o++, n++;
|
|
2461
|
-
var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", a =
|
|
2463
|
+
var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", a = xn(t);
|
|
2462
2464
|
for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
|
|
2463
2465
|
i += c;
|
|
2464
2466
|
for (; l-- > 0; )
|
|
@@ -2468,7 +2470,7 @@ function En(e, t) {
|
|
|
2468
2470
|
}
|
|
2469
2471
|
return i;
|
|
2470
2472
|
}
|
|
2471
|
-
function
|
|
2473
|
+
function xn(e) {
|
|
2472
2474
|
var t = e.hourCycle;
|
|
2473
2475
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2474
2476
|
e.hourCycles && // @ts-ignore
|
|
@@ -2490,20 +2492,20 @@ function _n(e) {
|
|
|
2490
2492
|
var r = Ge[n || ""] || Ge[i || ""] || Ge["".concat(i, "-001")] || Ge["001"];
|
|
2491
2493
|
return r[0];
|
|
2492
2494
|
}
|
|
2493
|
-
var rt,
|
|
2495
|
+
var rt, Tn = new RegExp("^".concat(ri.source, "*")), Pn = new RegExp("".concat(ri.source, "*$"));
|
|
2494
2496
|
function S(e, t) {
|
|
2495
2497
|
return { start: e, end: t };
|
|
2496
2498
|
}
|
|
2497
|
-
var
|
|
2499
|
+
var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, Ln = !!Object.fromEntries, An = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Hn = kn ? Number.isSafeInteger : function(e) {
|
|
2498
2500
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2499
2501
|
}, ht = !0;
|
|
2500
2502
|
try {
|
|
2501
|
-
var
|
|
2502
|
-
ht = ((rt =
|
|
2503
|
+
var Cn = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2504
|
+
ht = ((rt = Cn.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
|
|
2503
2505
|
} catch {
|
|
2504
2506
|
ht = !1;
|
|
2505
2507
|
}
|
|
2506
|
-
var
|
|
2508
|
+
var Ct = wn ? (
|
|
2507
2509
|
// Native
|
|
2508
2510
|
function(t, i, n) {
|
|
2509
2511
|
return t.startsWith(i, n);
|
|
@@ -2513,7 +2515,7 @@ var kt = Pn ? (
|
|
|
2513
2515
|
function(t, i, n) {
|
|
2514
2516
|
return t.slice(n, n + i.length) === i;
|
|
2515
2517
|
}
|
|
2516
|
-
), ft =
|
|
2518
|
+
), ft = Bn ? String.fromCodePoint : (
|
|
2517
2519
|
// IE11
|
|
2518
2520
|
function() {
|
|
2519
2521
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -2525,9 +2527,9 @@ var kt = Pn ? (
|
|
|
2525
2527
|
}
|
|
2526
2528
|
return n;
|
|
2527
2529
|
}
|
|
2528
|
-
),
|
|
2530
|
+
), Nt = (
|
|
2529
2531
|
// native
|
|
2530
|
-
|
|
2532
|
+
Ln ? Object.fromEntries : (
|
|
2531
2533
|
// Ponyfill
|
|
2532
2534
|
function(t) {
|
|
2533
2535
|
for (var i = {}, n = 0, r = t; n < r.length; n++) {
|
|
@@ -2537,7 +2539,7 @@ var kt = Pn ? (
|
|
|
2537
2539
|
return i;
|
|
2538
2540
|
}
|
|
2539
2541
|
)
|
|
2540
|
-
),
|
|
2542
|
+
), li = An ? (
|
|
2541
2543
|
// Native
|
|
2542
2544
|
function(t, i) {
|
|
2543
2545
|
return t.codePointAt(i);
|
|
@@ -2551,7 +2553,7 @@ var kt = Pn ? (
|
|
|
2551
2553
|
return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
|
|
2552
2554
|
}
|
|
2553
2555
|
}
|
|
2554
|
-
),
|
|
2556
|
+
), Nn = Sn ? (
|
|
2555
2557
|
// Native
|
|
2556
2558
|
function(t) {
|
|
2557
2559
|
return t.trimStart();
|
|
@@ -2559,9 +2561,9 @@ var kt = Pn ? (
|
|
|
2559
2561
|
) : (
|
|
2560
2562
|
// Ponyfill
|
|
2561
2563
|
function(t) {
|
|
2562
|
-
return t.replace(
|
|
2564
|
+
return t.replace(Tn, "");
|
|
2563
2565
|
}
|
|
2564
|
-
),
|
|
2566
|
+
), On = In ? (
|
|
2565
2567
|
// Native
|
|
2566
2568
|
function(t) {
|
|
2567
2569
|
return t.trimEnd();
|
|
@@ -2569,32 +2571,32 @@ var kt = Pn ? (
|
|
|
2569
2571
|
) : (
|
|
2570
2572
|
// Ponyfill
|
|
2571
2573
|
function(t) {
|
|
2572
|
-
return t.replace(
|
|
2574
|
+
return t.replace(Pn, "");
|
|
2573
2575
|
}
|
|
2574
2576
|
);
|
|
2575
|
-
function
|
|
2577
|
+
function ui(e, t) {
|
|
2576
2578
|
return new RegExp(e, t);
|
|
2577
2579
|
}
|
|
2578
2580
|
var mt;
|
|
2579
2581
|
if (ht) {
|
|
2580
|
-
var
|
|
2582
|
+
var Ot = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2581
2583
|
mt = function(t, i) {
|
|
2582
2584
|
var n;
|
|
2583
|
-
|
|
2584
|
-
var r =
|
|
2585
|
+
Ot.lastIndex = i;
|
|
2586
|
+
var r = Ot.exec(t);
|
|
2585
2587
|
return (n = r[1]) !== null && n !== void 0 ? n : "";
|
|
2586
2588
|
};
|
|
2587
2589
|
} else
|
|
2588
2590
|
mt = function(t, i) {
|
|
2589
2591
|
for (var n = []; ; ) {
|
|
2590
|
-
var r =
|
|
2591
|
-
if (r === void 0 ||
|
|
2592
|
+
var r = li(t, i);
|
|
2593
|
+
if (r === void 0 || ci(r) || Un(r))
|
|
2592
2594
|
break;
|
|
2593
2595
|
n.push(r), i += r >= 65536 ? 2 : 1;
|
|
2594
2596
|
}
|
|
2595
2597
|
return ft.apply(void 0, n);
|
|
2596
2598
|
};
|
|
2597
|
-
var
|
|
2599
|
+
var Mn = (
|
|
2598
2600
|
/** @class */
|
|
2599
2601
|
function() {
|
|
2600
2602
|
function e(t, i) {
|
|
@@ -2676,7 +2678,7 @@ var On = (
|
|
|
2676
2678
|
return this.error(B.INVALID_TAG, S(n, this.clonePosition()));
|
|
2677
2679
|
}, e.prototype.parseTagName = function() {
|
|
2678
2680
|
var t = this.offset();
|
|
2679
|
-
for (this.bump(); !this.isEOF() &&
|
|
2681
|
+
for (this.bump(); !this.isEOF() && Rn(this.char()); )
|
|
2680
2682
|
this.bump();
|
|
2681
2683
|
return this.message.slice(t, this.offset());
|
|
2682
2684
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
@@ -2705,7 +2707,7 @@ var On = (
|
|
|
2705
2707
|
};
|
|
2706
2708
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2707
2709
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2708
|
-
!
|
|
2710
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2709
2711
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2710
2712
|
if (this.isEOF() || this.char() !== 39)
|
|
2711
2713
|
return null;
|
|
@@ -2792,7 +2794,7 @@ var On = (
|
|
|
2792
2794
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2793
2795
|
if (f.err)
|
|
2794
2796
|
return f;
|
|
2795
|
-
var p =
|
|
2797
|
+
var p = On(f.val);
|
|
2796
2798
|
if (p.length === 0)
|
|
2797
2799
|
return this.error(B.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
|
|
2798
2800
|
var d = S(u, this.clonePosition());
|
|
@@ -2802,8 +2804,8 @@ var On = (
|
|
|
2802
2804
|
if (_.err)
|
|
2803
2805
|
return _;
|
|
2804
2806
|
var x = S(r, this.clonePosition());
|
|
2805
|
-
if (a &&
|
|
2806
|
-
var v =
|
|
2807
|
+
if (a && Ct(a?.style, "::", 0)) {
|
|
2808
|
+
var v = Nn(a.style.slice(2));
|
|
2807
2809
|
if (s === "number") {
|
|
2808
2810
|
var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
|
2809
2811
|
return f.err ? f : {
|
|
@@ -2814,12 +2816,12 @@ var On = (
|
|
|
2814
2816
|
if (v.length === 0)
|
|
2815
2817
|
return this.error(B.EXPECT_DATE_TIME_SKELETON, x);
|
|
2816
2818
|
var E = v;
|
|
2817
|
-
this.locale && (E =
|
|
2819
|
+
this.locale && (E = _n(v, this.locale));
|
|
2818
2820
|
var p = {
|
|
2819
2821
|
type: Ee.dateTime,
|
|
2820
2822
|
pattern: E,
|
|
2821
2823
|
location: a.styleLocation,
|
|
2822
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2824
|
+
parsedOptions: this.shouldParseSkeletons ? pn(E) : {}
|
|
2823
2825
|
}, M = s === "date" ? z.date : z.time;
|
|
2824
2826
|
return {
|
|
2825
2827
|
val: { type: M, value: n, location: x, style: p },
|
|
@@ -2865,7 +2867,7 @@ var On = (
|
|
|
2865
2867
|
val: {
|
|
2866
2868
|
type: z.select,
|
|
2867
2869
|
value: n,
|
|
2868
|
-
options:
|
|
2870
|
+
options: Nt(R.val),
|
|
2869
2871
|
location: F
|
|
2870
2872
|
},
|
|
2871
2873
|
err: null
|
|
@@ -2873,7 +2875,7 @@ var On = (
|
|
|
2873
2875
|
val: {
|
|
2874
2876
|
type: z.plural,
|
|
2875
2877
|
value: n,
|
|
2876
|
-
options:
|
|
2878
|
+
options: Nt(R.val),
|
|
2877
2879
|
offset: A,
|
|
2878
2880
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2879
2881
|
location: F
|
|
@@ -2924,7 +2926,7 @@ var On = (
|
|
|
2924
2926
|
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
2925
2927
|
var n = [];
|
|
2926
2928
|
try {
|
|
2927
|
-
n =
|
|
2929
|
+
n = bn(t);
|
|
2928
2930
|
} catch {
|
|
2929
2931
|
return this.error(B.INVALID_NUMBER_SKELETON, i);
|
|
2930
2932
|
}
|
|
@@ -2933,7 +2935,7 @@ var On = (
|
|
|
2933
2935
|
type: Ee.number,
|
|
2934
2936
|
tokens: n,
|
|
2935
2937
|
location: i,
|
|
2936
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2938
|
+
parsedOptions: this.shouldParseSkeletons ? En(n) : {}
|
|
2937
2939
|
},
|
|
2938
2940
|
err: null
|
|
2939
2941
|
};
|
|
@@ -2981,7 +2983,7 @@ var On = (
|
|
|
2981
2983
|
break;
|
|
2982
2984
|
}
|
|
2983
2985
|
var c = S(r, this.clonePosition());
|
|
2984
|
-
return o ? (l *= n,
|
|
2986
|
+
return o ? (l *= n, Hn(l) ? { val: l, err: null } : this.error(i, c)) : this.error(t, c);
|
|
2985
2987
|
}, e.prototype.offset = function() {
|
|
2986
2988
|
return this.position.offset;
|
|
2987
2989
|
}, e.prototype.isEOF = function() {
|
|
@@ -2996,7 +2998,7 @@ var On = (
|
|
|
2996
2998
|
var t = this.position.offset;
|
|
2997
2999
|
if (t >= this.message.length)
|
|
2998
3000
|
throw Error("out of bound");
|
|
2999
|
-
var i =
|
|
3001
|
+
var i = li(this.message, t);
|
|
3000
3002
|
if (i === void 0)
|
|
3001
3003
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3002
3004
|
return i;
|
|
@@ -3015,7 +3017,7 @@ var On = (
|
|
|
3015
3017
|
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);
|
|
3016
3018
|
}
|
|
3017
3019
|
}, e.prototype.bumpIf = function(t) {
|
|
3018
|
-
if (
|
|
3020
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3019
3021
|
for (var i = 0; i < t.length; i++)
|
|
3020
3022
|
this.bump();
|
|
3021
3023
|
return !0;
|
|
@@ -3037,7 +3039,7 @@ var On = (
|
|
|
3037
3039
|
break;
|
|
3038
3040
|
}
|
|
3039
3041
|
}, e.prototype.bumpSpace = function() {
|
|
3040
|
-
for (; !this.isEOF() &&
|
|
3042
|
+
for (; !this.isEOF() && ci(this.char()); )
|
|
3041
3043
|
this.bump();
|
|
3042
3044
|
}, e.prototype.peek = function() {
|
|
3043
3045
|
if (this.isEOF())
|
|
@@ -3050,30 +3052,30 @@ var On = (
|
|
|
3050
3052
|
function pt(e) {
|
|
3051
3053
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3052
3054
|
}
|
|
3053
|
-
function
|
|
3055
|
+
function Dn(e) {
|
|
3054
3056
|
return pt(e) || e === 47;
|
|
3055
3057
|
}
|
|
3056
|
-
function
|
|
3058
|
+
function Rn(e) {
|
|
3057
3059
|
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;
|
|
3058
3060
|
}
|
|
3059
|
-
function
|
|
3061
|
+
function ci(e) {
|
|
3060
3062
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3061
3063
|
}
|
|
3062
|
-
function
|
|
3064
|
+
function Un(e) {
|
|
3063
3065
|
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;
|
|
3064
3066
|
}
|
|
3065
3067
|
function dt(e) {
|
|
3066
3068
|
e.forEach(function(t) {
|
|
3067
|
-
if (delete t.location,
|
|
3069
|
+
if (delete t.location, ei(t) || ti(t))
|
|
3068
3070
|
for (var i in t.options)
|
|
3069
3071
|
delete t.options[i].location, dt(t.options[i].value);
|
|
3070
3072
|
else
|
|
3071
|
-
|
|
3073
|
+
Jt(t) && ni(t.style) || (Qt(t) || Kt(t)) && ct(t.style) ? delete t.style.location : ii(t) && dt(t.children);
|
|
3072
3074
|
});
|
|
3073
3075
|
}
|
|
3074
|
-
function
|
|
3076
|
+
function jn(e, t) {
|
|
3075
3077
|
t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3076
|
-
var i = new
|
|
3078
|
+
var i = new Mn(e, t).parse();
|
|
3077
3079
|
if (i.err) {
|
|
3078
3080
|
var n = SyntaxError(B[i.err.kind]);
|
|
3079
3081
|
throw n.location = i.err.location, n.originalMessage = i.err.message, n;
|
|
@@ -3096,7 +3098,7 @@ var Ze = (
|
|
|
3096
3098
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3097
3099
|
}, t;
|
|
3098
3100
|
}(Error)
|
|
3099
|
-
),
|
|
3101
|
+
), Mt = (
|
|
3100
3102
|
/** @class */
|
|
3101
3103
|
function(e) {
|
|
3102
3104
|
We(t, e);
|
|
@@ -3105,7 +3107,7 @@ var Ze = (
|
|
|
3105
3107
|
}
|
|
3106
3108
|
return t;
|
|
3107
3109
|
}(Ze)
|
|
3108
|
-
),
|
|
3110
|
+
), Gn = (
|
|
3109
3111
|
/** @class */
|
|
3110
3112
|
function(e) {
|
|
3111
3113
|
We(t, e);
|
|
@@ -3114,7 +3116,7 @@ var Ze = (
|
|
|
3114
3116
|
}
|
|
3115
3117
|
return t;
|
|
3116
3118
|
}(Ze)
|
|
3117
|
-
),
|
|
3119
|
+
), $n = (
|
|
3118
3120
|
/** @class */
|
|
3119
3121
|
function(e) {
|
|
3120
3122
|
We(t, e);
|
|
@@ -3127,17 +3129,17 @@ var Ze = (
|
|
|
3127
3129
|
(function(e) {
|
|
3128
3130
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3129
3131
|
})(W || (W = {}));
|
|
3130
|
-
function
|
|
3132
|
+
function zn(e) {
|
|
3131
3133
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3132
3134
|
var n = t[t.length - 1];
|
|
3133
3135
|
return !n || n.type !== W.literal || i.type !== W.literal ? t.push(i) : n.value += i.value, t;
|
|
3134
3136
|
}, []);
|
|
3135
3137
|
}
|
|
3136
|
-
function
|
|
3138
|
+
function Fn(e) {
|
|
3137
3139
|
return typeof e == "function";
|
|
3138
3140
|
}
|
|
3139
3141
|
function ze(e, t, i, n, r, o, l) {
|
|
3140
|
-
if (e.length === 1 &&
|
|
3142
|
+
if (e.length === 1 && St(e[0]))
|
|
3141
3143
|
return [
|
|
3142
3144
|
{
|
|
3143
3145
|
type: W.literal,
|
|
@@ -3146,14 +3148,14 @@ function ze(e, t, i, n, r, o, l) {
|
|
|
3146
3148
|
];
|
|
3147
3149
|
for (var s = [], c = 0, a = e; c < a.length; c++) {
|
|
3148
3150
|
var u = a[c];
|
|
3149
|
-
if (
|
|
3151
|
+
if (St(u)) {
|
|
3150
3152
|
s.push({
|
|
3151
3153
|
type: W.literal,
|
|
3152
3154
|
value: u.value
|
|
3153
3155
|
});
|
|
3154
3156
|
continue;
|
|
3155
3157
|
}
|
|
3156
|
-
if (
|
|
3158
|
+
if (fn(u)) {
|
|
3157
3159
|
typeof o == "number" && s.push({
|
|
3158
3160
|
type: W.literal,
|
|
3159
3161
|
value: i.getNumberFormat(t).format(o)
|
|
@@ -3162,16 +3164,16 @@ function ze(e, t, i, n, r, o, l) {
|
|
|
3162
3164
|
}
|
|
3163
3165
|
var f = u.value;
|
|
3164
3166
|
if (!(r && f in r))
|
|
3165
|
-
throw new
|
|
3167
|
+
throw new $n(f, l);
|
|
3166
3168
|
var p = r[f];
|
|
3167
|
-
if (
|
|
3169
|
+
if (hn(u)) {
|
|
3168
3170
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
|
|
3169
3171
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3170
3172
|
value: p
|
|
3171
3173
|
});
|
|
3172
3174
|
continue;
|
|
3173
3175
|
}
|
|
3174
|
-
if (
|
|
3176
|
+
if (Qt(u)) {
|
|
3175
3177
|
var d = typeof u.style == "string" ? n.date[u.style] : ct(u.style) ? u.style.parsedOptions : void 0;
|
|
3176
3178
|
s.push({
|
|
3177
3179
|
type: W.literal,
|
|
@@ -3179,7 +3181,7 @@ function ze(e, t, i, n, r, o, l) {
|
|
|
3179
3181
|
});
|
|
3180
3182
|
continue;
|
|
3181
3183
|
}
|
|
3182
|
-
if (
|
|
3184
|
+
if (Kt(u)) {
|
|
3183
3185
|
var d = typeof u.style == "string" ? n.time[u.style] : ct(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3184
3186
|
s.push({
|
|
3185
3187
|
type: W.literal,
|
|
@@ -3187,18 +3189,18 @@ function ze(e, t, i, n, r, o, l) {
|
|
|
3187
3189
|
});
|
|
3188
3190
|
continue;
|
|
3189
3191
|
}
|
|
3190
|
-
if (
|
|
3191
|
-
var d = typeof u.style == "string" ? n.number[u.style] :
|
|
3192
|
+
if (Jt(u)) {
|
|
3193
|
+
var d = typeof u.style == "string" ? n.number[u.style] : ni(u.style) ? u.style.parsedOptions : void 0;
|
|
3192
3194
|
d && d.scale && (p = p * (d.scale || 1)), s.push({
|
|
3193
3195
|
type: W.literal,
|
|
3194
3196
|
value: i.getNumberFormat(t, d).format(p)
|
|
3195
3197
|
});
|
|
3196
3198
|
continue;
|
|
3197
3199
|
}
|
|
3198
|
-
if (
|
|
3200
|
+
if (ii(u)) {
|
|
3199
3201
|
var _ = u.children, x = u.value, v = r[x];
|
|
3200
|
-
if (!
|
|
3201
|
-
throw new
|
|
3202
|
+
if (!Fn(v))
|
|
3203
|
+
throw new Gn(x, "function", l);
|
|
3202
3204
|
var E = ze(_, t, i, n, r, o), M = v(E.map(function(A) {
|
|
3203
3205
|
return A.value;
|
|
3204
3206
|
}));
|
|
@@ -3209,14 +3211,14 @@ function ze(e, t, i, n, r, o, l) {
|
|
|
3209
3211
|
};
|
|
3210
3212
|
}));
|
|
3211
3213
|
}
|
|
3212
|
-
if (
|
|
3214
|
+
if (ei(u)) {
|
|
3213
3215
|
var w = u.options[p] || u.options.other;
|
|
3214
3216
|
if (!w)
|
|
3215
|
-
throw new
|
|
3217
|
+
throw new Mt(u.value, p, Object.keys(u.options), l);
|
|
3216
3218
|
s.push.apply(s, ze(w.value, t, i, n, r));
|
|
3217
3219
|
continue;
|
|
3218
3220
|
}
|
|
3219
|
-
if (
|
|
3221
|
+
if (ti(u)) {
|
|
3220
3222
|
var w = u.options["=".concat(p)];
|
|
3221
3223
|
if (!w) {
|
|
3222
3224
|
if (!Intl.PluralRules)
|
|
@@ -3227,21 +3229,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3227
3229
|
w = u.options[D] || u.options.other;
|
|
3228
3230
|
}
|
|
3229
3231
|
if (!w)
|
|
3230
|
-
throw new
|
|
3232
|
+
throw new Mt(u.value, p, Object.keys(u.options), l);
|
|
3231
3233
|
s.push.apply(s, ze(w.value, t, i, n, r, p - (u.offset || 0)));
|
|
3232
3234
|
continue;
|
|
3233
3235
|
}
|
|
3234
3236
|
}
|
|
3235
|
-
return
|
|
3237
|
+
return zn(s);
|
|
3236
3238
|
}
|
|
3237
|
-
function
|
|
3239
|
+
function Vn(e, t) {
|
|
3238
3240
|
return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
|
|
3239
3241
|
return i[n] = k(k({}, e[n]), t[n] || {}), i;
|
|
3240
3242
|
}, {})) : e;
|
|
3241
3243
|
}
|
|
3242
|
-
function
|
|
3244
|
+
function Xn(e, t) {
|
|
3243
3245
|
return t ? Object.keys(e).reduce(function(i, n) {
|
|
3244
|
-
return i[n] =
|
|
3246
|
+
return i[n] = Vn(e[n], t[n]), i;
|
|
3245
3247
|
}, k({}, e)) : e;
|
|
3246
3248
|
}
|
|
3247
3249
|
function ot(e) {
|
|
@@ -3258,7 +3260,7 @@ function ot(e) {
|
|
|
3258
3260
|
}
|
|
3259
3261
|
};
|
|
3260
3262
|
}
|
|
3261
|
-
function
|
|
3263
|
+
function qn(e) {
|
|
3262
3264
|
return e === void 0 && (e = {
|
|
3263
3265
|
number: {},
|
|
3264
3266
|
dateTime: {},
|
|
@@ -3290,7 +3292,7 @@ function Xn(e) {
|
|
|
3290
3292
|
})
|
|
3291
3293
|
};
|
|
3292
3294
|
}
|
|
3293
|
-
var
|
|
3295
|
+
var Wn = (
|
|
3294
3296
|
/** @class */
|
|
3295
3297
|
function() {
|
|
3296
3298
|
function e(t, i, n, r) {
|
|
@@ -3322,13 +3324,13 @@ var qn = (
|
|
|
3322
3324
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3323
3325
|
var l = r || {};
|
|
3324
3326
|
l.formatters;
|
|
3325
|
-
var s =
|
|
3327
|
+
var s = rn(l, ["formatters"]);
|
|
3326
3328
|
this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
|
|
3327
3329
|
} else
|
|
3328
3330
|
this.ast = t;
|
|
3329
3331
|
if (!Array.isArray(this.ast))
|
|
3330
3332
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3331
|
-
this.formats =
|
|
3333
|
+
this.formats = Xn(e.formats, n), this.formatters = r && r.formatters || qn(this.formatterCache);
|
|
3332
3334
|
}
|
|
3333
3335
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3334
3336
|
get: function() {
|
|
@@ -3341,7 +3343,7 @@ var qn = (
|
|
|
3341
3343
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3342
3344
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3343
3345
|
}
|
|
3344
|
-
}, e.__parse =
|
|
3346
|
+
}, e.__parse = jn, e.formats = {
|
|
3345
3347
|
number: {
|
|
3346
3348
|
integer: {
|
|
3347
3349
|
maximumFractionDigits: 0
|
|
@@ -3402,7 +3404,7 @@ var qn = (
|
|
|
3402
3404
|
}, e;
|
|
3403
3405
|
}()
|
|
3404
3406
|
);
|
|
3405
|
-
function
|
|
3407
|
+
function Zn(e, t) {
|
|
3406
3408
|
if (t == null)
|
|
3407
3409
|
return;
|
|
3408
3410
|
if (t in e)
|
|
@@ -3423,60 +3425,60 @@ function Wn(e, t) {
|
|
|
3423
3425
|
n = void 0;
|
|
3424
3426
|
return n;
|
|
3425
3427
|
}
|
|
3426
|
-
const ae = {},
|
|
3428
|
+
const ae = {}, Yn = (e, t, i) => i && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = i), i), hi = (e, t) => {
|
|
3427
3429
|
if (t == null)
|
|
3428
3430
|
return;
|
|
3429
3431
|
if (t in ae && e in ae[t])
|
|
3430
3432
|
return ae[t][e];
|
|
3431
3433
|
const i = Ye(t);
|
|
3432
3434
|
for (let n = 0; n < i.length; n++) {
|
|
3433
|
-
const r = i[n], o =
|
|
3435
|
+
const r = i[n], o = Qn(r, e);
|
|
3434
3436
|
if (o)
|
|
3435
|
-
return
|
|
3437
|
+
return Yn(e, t, o);
|
|
3436
3438
|
}
|
|
3437
3439
|
};
|
|
3438
|
-
let
|
|
3440
|
+
let _t;
|
|
3439
3441
|
const Me = qe({});
|
|
3440
|
-
function
|
|
3441
|
-
return
|
|
3442
|
+
function Jn(e) {
|
|
3443
|
+
return _t[e] || null;
|
|
3442
3444
|
}
|
|
3443
|
-
function
|
|
3444
|
-
return e in
|
|
3445
|
+
function fi(e) {
|
|
3446
|
+
return e in _t;
|
|
3445
3447
|
}
|
|
3446
|
-
function
|
|
3447
|
-
if (!
|
|
3448
|
+
function Qn(e, t) {
|
|
3449
|
+
if (!fi(e))
|
|
3448
3450
|
return null;
|
|
3449
|
-
const i =
|
|
3450
|
-
return
|
|
3451
|
+
const i = Jn(e);
|
|
3452
|
+
return Zn(i, t);
|
|
3451
3453
|
}
|
|
3452
|
-
function
|
|
3454
|
+
function Kn(e) {
|
|
3453
3455
|
if (e == null)
|
|
3454
3456
|
return;
|
|
3455
3457
|
const t = Ye(e);
|
|
3456
3458
|
for (let i = 0; i < t.length; i++) {
|
|
3457
3459
|
const n = t[i];
|
|
3458
|
-
if (
|
|
3460
|
+
if (fi(n))
|
|
3459
3461
|
return n;
|
|
3460
3462
|
}
|
|
3461
3463
|
}
|
|
3462
|
-
function
|
|
3463
|
-
delete ae[e], Me.update((i) => (i[e] =
|
|
3464
|
+
function mi(e, ...t) {
|
|
3465
|
+
delete ae[e], Me.update((i) => (i[e] = nn.all([i[e] || {}, ...t]), i));
|
|
3464
3466
|
}
|
|
3465
3467
|
Te(
|
|
3466
3468
|
[Me],
|
|
3467
3469
|
([e]) => Object.keys(e)
|
|
3468
3470
|
);
|
|
3469
|
-
Me.subscribe((e) =>
|
|
3471
|
+
Me.subscribe((e) => _t = e);
|
|
3470
3472
|
const Fe = {};
|
|
3471
|
-
function
|
|
3473
|
+
function er(e, t) {
|
|
3472
3474
|
Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
|
|
3473
3475
|
}
|
|
3474
|
-
function
|
|
3476
|
+
function pi(e) {
|
|
3475
3477
|
return Fe[e];
|
|
3476
3478
|
}
|
|
3477
|
-
function
|
|
3479
|
+
function tr(e) {
|
|
3478
3480
|
return Ye(e).map((t) => {
|
|
3479
|
-
const i =
|
|
3481
|
+
const i = pi(t);
|
|
3480
3482
|
return [t, i ? [...i] : []];
|
|
3481
3483
|
}).filter(([, t]) => t.length > 0);
|
|
3482
3484
|
}
|
|
@@ -3484,31 +3486,31 @@ function bt(e) {
|
|
|
3484
3486
|
return e == null ? !1 : Ye(e).some(
|
|
3485
3487
|
(t) => {
|
|
3486
3488
|
var i;
|
|
3487
|
-
return (i =
|
|
3489
|
+
return (i = pi(t)) == null ? void 0 : i.size;
|
|
3488
3490
|
}
|
|
3489
3491
|
);
|
|
3490
3492
|
}
|
|
3491
|
-
function
|
|
3493
|
+
function ir(e, t) {
|
|
3492
3494
|
return Promise.all(
|
|
3493
|
-
t.map((n) => (
|
|
3494
|
-
).then((n) =>
|
|
3495
|
+
t.map((n) => (er(e, n), n().then((r) => r.default || r)))
|
|
3496
|
+
).then((n) => mi(e, ...n));
|
|
3495
3497
|
}
|
|
3496
3498
|
const Ie = {};
|
|
3497
|
-
function
|
|
3499
|
+
function di(e) {
|
|
3498
3500
|
if (!bt(e))
|
|
3499
3501
|
return e in Ie ? Ie[e] : Promise.resolve();
|
|
3500
|
-
const t =
|
|
3502
|
+
const t = tr(e);
|
|
3501
3503
|
return Ie[e] = Promise.all(
|
|
3502
3504
|
t.map(
|
|
3503
|
-
([i, n]) =>
|
|
3505
|
+
([i, n]) => ir(i, n)
|
|
3504
3506
|
)
|
|
3505
3507
|
).then(() => {
|
|
3506
3508
|
if (bt(e))
|
|
3507
|
-
return
|
|
3509
|
+
return di(e);
|
|
3508
3510
|
delete Ie[e];
|
|
3509
3511
|
}), Ie[e];
|
|
3510
3512
|
}
|
|
3511
|
-
const
|
|
3513
|
+
const nr = {
|
|
3512
3514
|
number: {
|
|
3513
3515
|
scientific: { notation: "scientific" },
|
|
3514
3516
|
engineering: { notation: "engineering" },
|
|
@@ -3537,34 +3539,34 @@ const ir = {
|
|
|
3537
3539
|
timeZoneName: "short"
|
|
3538
3540
|
}
|
|
3539
3541
|
}
|
|
3540
|
-
},
|
|
3542
|
+
}, rr = {
|
|
3541
3543
|
fallbackLocale: null,
|
|
3542
3544
|
loadingDelay: 200,
|
|
3543
|
-
formats:
|
|
3545
|
+
formats: nr,
|
|
3544
3546
|
warnOnMissingMessages: !0,
|
|
3545
3547
|
handleMissingMessage: void 0,
|
|
3546
3548
|
ignoreTag: !0
|
|
3547
|
-
},
|
|
3549
|
+
}, or = rr;
|
|
3548
3550
|
function xe() {
|
|
3549
|
-
return
|
|
3551
|
+
return or;
|
|
3550
3552
|
}
|
|
3551
3553
|
const st = qe(!1);
|
|
3552
|
-
var
|
|
3554
|
+
var sr = Object.defineProperty, ar = Object.defineProperties, lr = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Rt = (e, t, i) => t in e ? sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, hr = (e, t) => {
|
|
3553
3555
|
for (var i in t || (t = {}))
|
|
3554
|
-
|
|
3555
|
-
if (
|
|
3556
|
-
for (var i of
|
|
3557
|
-
|
|
3556
|
+
ur.call(t, i) && Rt(e, i, t[i]);
|
|
3557
|
+
if (Dt)
|
|
3558
|
+
for (var i of Dt(t))
|
|
3559
|
+
cr.call(t, i) && Rt(e, i, t[i]);
|
|
3558
3560
|
return e;
|
|
3559
|
-
},
|
|
3561
|
+
}, fr = (e, t) => ar(e, lr(t));
|
|
3560
3562
|
let gt;
|
|
3561
3563
|
const Ve = qe(null);
|
|
3562
|
-
function
|
|
3564
|
+
function Ut(e) {
|
|
3563
3565
|
return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
|
|
3564
3566
|
}
|
|
3565
3567
|
function Ye(e, t = xe().fallbackLocale) {
|
|
3566
|
-
const i =
|
|
3567
|
-
return t ? [.../* @__PURE__ */ new Set([...i, ...
|
|
3568
|
+
const i = Ut(e);
|
|
3569
|
+
return t ? [.../* @__PURE__ */ new Set([...i, ...Ut(t)])] : i;
|
|
3568
3570
|
}
|
|
3569
3571
|
function ce() {
|
|
3570
3572
|
return gt ?? void 0;
|
|
@@ -3572,22 +3574,22 @@ function ce() {
|
|
|
3572
3574
|
Ve.subscribe((e) => {
|
|
3573
3575
|
gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3574
3576
|
});
|
|
3575
|
-
const
|
|
3576
|
-
if (e &&
|
|
3577
|
+
const mr = (e) => {
|
|
3578
|
+
if (e && Kn(e) && bt(e)) {
|
|
3577
3579
|
const { loadingDelay: t } = xe();
|
|
3578
3580
|
let i;
|
|
3579
3581
|
return typeof window < "u" && ce() != null && t ? i = window.setTimeout(
|
|
3580
3582
|
() => st.set(!0),
|
|
3581
3583
|
t
|
|
3582
|
-
) : st.set(!0),
|
|
3584
|
+
) : st.set(!0), di(e).then(() => {
|
|
3583
3585
|
Ve.set(e);
|
|
3584
3586
|
}).finally(() => {
|
|
3585
3587
|
clearTimeout(i), st.set(!1);
|
|
3586
3588
|
});
|
|
3587
3589
|
}
|
|
3588
3590
|
return Ve.set(e);
|
|
3589
|
-
}, Pe = hr(
|
|
3590
|
-
set:
|
|
3591
|
+
}, Pe = fr(hr({}, Ve), {
|
|
3592
|
+
set: mr
|
|
3591
3593
|
}), Je = (e) => {
|
|
3592
3594
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3593
3595
|
return (n) => {
|
|
@@ -3595,20 +3597,20 @@ const fr = (e) => {
|
|
|
3595
3597
|
return r in t ? t[r] : t[r] = e(n);
|
|
3596
3598
|
};
|
|
3597
3599
|
};
|
|
3598
|
-
var
|
|
3600
|
+
var pr = Object.defineProperty, Xe = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, jt = (e, t, i) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, xt = (e, t) => {
|
|
3599
3601
|
for (var i in t || (t = {}))
|
|
3600
|
-
|
|
3602
|
+
bi.call(t, i) && jt(e, i, t[i]);
|
|
3601
3603
|
if (Xe)
|
|
3602
3604
|
for (var i of Xe(t))
|
|
3603
|
-
|
|
3605
|
+
gi.call(t, i) && jt(e, i, t[i]);
|
|
3604
3606
|
return e;
|
|
3605
3607
|
}, we = (e, t) => {
|
|
3606
3608
|
var i = {};
|
|
3607
3609
|
for (var n in e)
|
|
3608
|
-
|
|
3610
|
+
bi.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
3609
3611
|
if (e != null && Xe)
|
|
3610
3612
|
for (var n of Xe(e))
|
|
3611
|
-
t.indexOf(n) < 0 &&
|
|
3613
|
+
t.indexOf(n) < 0 && gi.call(e, n) && (i[n] = e[n]);
|
|
3612
3614
|
return i;
|
|
3613
3615
|
};
|
|
3614
3616
|
const Oe = (e, t) => {
|
|
@@ -3616,21 +3618,21 @@ const Oe = (e, t) => {
|
|
|
3616
3618
|
if (e in i && t in i[e])
|
|
3617
3619
|
return i[e][t];
|
|
3618
3620
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3619
|
-
},
|
|
3621
|
+
}, dr = Je(
|
|
3620
3622
|
(e) => {
|
|
3621
3623
|
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3622
3624
|
if (i == null)
|
|
3623
3625
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3624
3626
|
return n && (r = Oe("number", n)), new Intl.NumberFormat(i, r);
|
|
3625
3627
|
}
|
|
3626
|
-
),
|
|
3628
|
+
), br = Je(
|
|
3627
3629
|
(e) => {
|
|
3628
3630
|
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3629
3631
|
if (i == null)
|
|
3630
3632
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3631
3633
|
return n ? r = Oe("date", n) : Object.keys(r).length === 0 && (r = Oe("date", "short")), new Intl.DateTimeFormat(i, r);
|
|
3632
3634
|
}
|
|
3633
|
-
),
|
|
3635
|
+
), gr = Je(
|
|
3634
3636
|
(e) => {
|
|
3635
3637
|
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3636
3638
|
if (i == null)
|
|
@@ -3639,33 +3641,33 @@ const Oe = (e, t) => {
|
|
|
3639
3641
|
);
|
|
3640
3642
|
return n ? r = Oe("time", n) : Object.keys(r).length === 0 && (r = Oe("time", "short")), new Intl.DateTimeFormat(i, r);
|
|
3641
3643
|
}
|
|
3642
|
-
),
|
|
3644
|
+
), yr = (e = {}) => {
|
|
3643
3645
|
var t = e, {
|
|
3644
3646
|
locale: i = ce()
|
|
3645
3647
|
} = t, n = we(t, [
|
|
3646
3648
|
"locale"
|
|
3647
3649
|
]);
|
|
3648
|
-
return
|
|
3649
|
-
},
|
|
3650
|
+
return dr(xt({ locale: i }, n));
|
|
3651
|
+
}, vr = (e = {}) => {
|
|
3650
3652
|
var t = e, {
|
|
3651
3653
|
locale: i = ce()
|
|
3652
3654
|
} = t, n = we(t, [
|
|
3653
3655
|
"locale"
|
|
3654
3656
|
]);
|
|
3655
|
-
return
|
|
3656
|
-
},
|
|
3657
|
+
return br(xt({ locale: i }, n));
|
|
3658
|
+
}, Er = (e = {}) => {
|
|
3657
3659
|
var t = e, {
|
|
3658
3660
|
locale: i = ce()
|
|
3659
3661
|
} = t, n = we(t, [
|
|
3660
3662
|
"locale"
|
|
3661
3663
|
]);
|
|
3662
|
-
return
|
|
3663
|
-
},
|
|
3664
|
+
return gr(xt({ locale: i }, n));
|
|
3665
|
+
}, _r = Je(
|
|
3664
3666
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3665
|
-
(e, t = ce()) => new
|
|
3667
|
+
(e, t = ce()) => new Wn(e, t, xe().formats, {
|
|
3666
3668
|
ignoreTag: xe().ignoreTag
|
|
3667
3669
|
})
|
|
3668
|
-
),
|
|
3670
|
+
), xr = (e, t = {}) => {
|
|
3669
3671
|
var i, n, r, o;
|
|
3670
3672
|
let l = t;
|
|
3671
3673
|
typeof e == "object" && (l = e, e = l.id);
|
|
@@ -3678,7 +3680,7 @@ const Oe = (e, t) => {
|
|
|
3678
3680
|
throw new Error(
|
|
3679
3681
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3680
3682
|
);
|
|
3681
|
-
let u =
|
|
3683
|
+
let u = hi(e, c);
|
|
3682
3684
|
if (!u)
|
|
3683
3685
|
u = (o = (r = (n = (i = xe()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: c, id: e, defaultValue: a })) != null ? r : a) != null ? o : e;
|
|
3684
3686
|
else if (typeof u != "string")
|
|
@@ -3689,7 +3691,7 @@ const Oe = (e, t) => {
|
|
|
3689
3691
|
return u;
|
|
3690
3692
|
let f = u;
|
|
3691
3693
|
try {
|
|
3692
|
-
f =
|
|
3694
|
+
f = _r(u, c).format(s);
|
|
3693
3695
|
} catch (p) {
|
|
3694
3696
|
p instanceof Error && console.warn(
|
|
3695
3697
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3697,18 +3699,18 @@ const Oe = (e, t) => {
|
|
|
3697
3699
|
);
|
|
3698
3700
|
}
|
|
3699
3701
|
return f;
|
|
3700
|
-
},
|
|
3701
|
-
Te([Pe], () => xr);
|
|
3702
|
+
}, Tr = (e, t) => Er(t).format(e), Pr = (e, t) => vr(t).format(e), wr = (e, t) => yr(t).format(e), Br = (e, t = ce()) => hi(e, t), Lr = Te([Pe, Me], () => xr);
|
|
3702
3703
|
Te([Pe], () => Tr);
|
|
3703
3704
|
Te([Pe], () => Pr);
|
|
3704
|
-
Te([Pe
|
|
3705
|
-
|
|
3706
|
-
|
|
3705
|
+
Te([Pe], () => wr);
|
|
3706
|
+
Te([Pe, Me], () => Br);
|
|
3707
|
+
function Gt(e, t) {
|
|
3708
|
+
mi(e, t);
|
|
3707
3709
|
}
|
|
3708
|
-
function
|
|
3710
|
+
function Ar(e) {
|
|
3709
3711
|
Pe.set(e);
|
|
3710
3712
|
}
|
|
3711
|
-
const
|
|
3713
|
+
const $t = {
|
|
3712
3714
|
en: {
|
|
3713
3715
|
loading: "Loading, please wait...",
|
|
3714
3716
|
setLimit: "Set a limit",
|
|
@@ -3969,13 +3971,13 @@ const jt = {
|
|
|
3969
3971
|
kyc2: "For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."
|
|
3970
3972
|
}
|
|
3971
3973
|
};
|
|
3972
|
-
function
|
|
3974
|
+
function Sr(e, t) {
|
|
3973
3975
|
if (e) {
|
|
3974
3976
|
const i = document.createElement("style");
|
|
3975
3977
|
i.innerHTML = t, e.appendChild(i);
|
|
3976
3978
|
}
|
|
3977
3979
|
}
|
|
3978
|
-
function
|
|
3980
|
+
function Ir(e, t) {
|
|
3979
3981
|
const i = new URL(t);
|
|
3980
3982
|
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
3981
3983
|
const r = document.createElement("style");
|
|
@@ -3984,7 +3986,7 @@ function Sr(e, t) {
|
|
|
3984
3986
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3985
3987
|
});
|
|
3986
3988
|
}
|
|
3987
|
-
function
|
|
3989
|
+
function kr(e, t, i) {
|
|
3988
3990
|
if (window.emMessageBus) {
|
|
3989
3991
|
const n = document.createElement("style");
|
|
3990
3992
|
window.emMessageBus.subscribe(t, (r) => {
|
|
@@ -3992,37 +3994,37 @@ function Ir(e, t, i) {
|
|
|
3992
3994
|
});
|
|
3993
3995
|
}
|
|
3994
3996
|
}
|
|
3995
|
-
function kr(e) {
|
|
3996
|
-
yi(e, "svelte-1jw4gf9", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
|
|
3997
|
-
}
|
|
3998
3997
|
function Hr(e) {
|
|
3998
|
+
Ei(e, "svelte-1jw4gf9", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
|
|
3999
|
+
}
|
|
4000
|
+
function Cr(e) {
|
|
3999
4001
|
let t;
|
|
4000
4002
|
function i(o, l) {
|
|
4001
4003
|
if (
|
|
4002
4004
|
/*popupState*/
|
|
4003
4005
|
o[10] === "initial"
|
|
4004
4006
|
)
|
|
4005
|
-
return
|
|
4007
|
+
return Ur;
|
|
4006
4008
|
if (
|
|
4007
4009
|
/*popupState*/
|
|
4008
4010
|
o[10] === "successful"
|
|
4009
4011
|
)
|
|
4010
|
-
return
|
|
4012
|
+
return Rr;
|
|
4011
4013
|
if (
|
|
4012
4014
|
/*popupState*/
|
|
4013
4015
|
o[10] === "KYC"
|
|
4014
4016
|
)
|
|
4015
|
-
return
|
|
4017
|
+
return Dr;
|
|
4016
4018
|
if (
|
|
4017
4019
|
/*popupState*/
|
|
4018
4020
|
o[10] === "KYC2"
|
|
4019
4021
|
)
|
|
4020
|
-
return
|
|
4022
|
+
return Mr;
|
|
4021
4023
|
if (
|
|
4022
4024
|
/*popupState*/
|
|
4023
4025
|
o[10] === "error"
|
|
4024
4026
|
)
|
|
4025
|
-
return
|
|
4027
|
+
return Or;
|
|
4026
4028
|
}
|
|
4027
4029
|
let n = i(e), r = n && n(e);
|
|
4028
4030
|
return {
|
|
@@ -4040,7 +4042,7 @@ function Hr(e) {
|
|
|
4040
4042
|
}
|
|
4041
4043
|
};
|
|
4042
4044
|
}
|
|
4043
|
-
function
|
|
4045
|
+
function Nr(e) {
|
|
4044
4046
|
let t, i = (
|
|
4045
4047
|
/*$_*/
|
|
4046
4048
|
e[12]("loading") + ""
|
|
@@ -4062,7 +4064,7 @@ function Cr(e) {
|
|
|
4062
4064
|
}
|
|
4063
4065
|
};
|
|
4064
4066
|
}
|
|
4065
|
-
function
|
|
4067
|
+
function Or(e) {
|
|
4066
4068
|
let t, i = (
|
|
4067
4069
|
/*$_*/
|
|
4068
4070
|
e[12]("depositError") + ""
|
|
@@ -4099,7 +4101,7 @@ function Nr(e) {
|
|
|
4099
4101
|
}
|
|
4100
4102
|
};
|
|
4101
4103
|
}
|
|
4102
|
-
function
|
|
4104
|
+
function Mr(e) {
|
|
4103
4105
|
let t, i = (
|
|
4104
4106
|
/*$_*/
|
|
4105
4107
|
e[12]("docsRequired") + ""
|
|
@@ -4157,7 +4159,7 @@ function Or(e) {
|
|
|
4157
4159
|
}
|
|
4158
4160
|
};
|
|
4159
4161
|
}
|
|
4160
|
-
function
|
|
4162
|
+
function Dr(e) {
|
|
4161
4163
|
let t, i = (
|
|
4162
4164
|
/*$_*/
|
|
4163
4165
|
e[12]("depositLimit") + ""
|
|
@@ -4236,7 +4238,7 @@ function Mr(e) {
|
|
|
4236
4238
|
}
|
|
4237
4239
|
};
|
|
4238
4240
|
}
|
|
4239
|
-
function
|
|
4241
|
+
function Rr(e) {
|
|
4240
4242
|
let t, i = (
|
|
4241
4243
|
/*$_*/
|
|
4242
4244
|
e[12]("depositLimit") + ""
|
|
@@ -4274,7 +4276,7 @@ function Dr(e) {
|
|
|
4274
4276
|
}
|
|
4275
4277
|
};
|
|
4276
4278
|
}
|
|
4277
|
-
function
|
|
4279
|
+
function Ur(e) {
|
|
4278
4280
|
let t, i = (
|
|
4279
4281
|
/*$_*/
|
|
4280
4282
|
e[12]("setLimit") + ""
|
|
@@ -4311,10 +4313,10 @@ function Rr(e) {
|
|
|
4311
4313
|
), oe, Re, K, Ue = (
|
|
4312
4314
|
/*$_*/
|
|
4313
4315
|
e[12]("PPlink") + ""
|
|
4314
|
-
), Qe,
|
|
4316
|
+
), Qe, Tt, Ke, Pt;
|
|
4315
4317
|
return {
|
|
4316
4318
|
c() {
|
|
4317
|
-
t = g("p"), n = L(i), r = N(), o = g("p"), s = L(l), c = N(), a = g("p"), f = L(u), p = N(), d = g("button"), x = L(_), v = N(), E = g("button"), w = L(M), D = N(), A = g("button"), F = L(R), C = Y("svg"), U = Y("path"), $ = Y("path"), X = N(), P = g("div"), j = g("div"), ie = g("span"), se = L(ne), V = N(), G = g("div"), Q = g("input"), De = N(), re = g("button"), Be = L(he), Le = N(), J = g("p"), Ae = L(fe), ue = g("button"), Se = L(me), b = N(), oe = L(q), Re = N(), K = g("button"), Qe = L(Ue),
|
|
4319
|
+
t = g("p"), n = L(i), r = N(), o = g("p"), s = L(l), c = N(), a = g("p"), f = L(u), p = N(), d = g("button"), x = L(_), v = N(), E = g("button"), w = L(M), D = N(), A = g("button"), F = L(R), C = Y("svg"), U = Y("path"), $ = Y("path"), X = N(), P = g("div"), j = g("div"), ie = g("span"), se = L(ne), V = N(), G = g("div"), Q = g("input"), De = N(), re = g("button"), Be = L(he), Le = N(), J = g("p"), Ae = L(fe), ue = g("button"), Se = L(me), b = N(), oe = L(q), Re = N(), K = g("button"), Qe = L(Ue), Tt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(a, "class", "AdditionalInformation"), h(E, "class", "KeepCurrentButton PrimaryButtonStyle"), h(U, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h($, "d", "M0 0h36v36h-36z"), h($, "fill", "none"), h(C, "class", "ExpandArrow"), h(C, "xmlns", "http://www.w3.org/2000/svg"), h(C, "width", "36"), h(C, "height", "36"), h(C, "viewBox", "0 0 36 36"), h(C, "fill", "#999"), je(
|
|
4318
4320
|
C,
|
|
4319
4321
|
"Extended",
|
|
4320
4322
|
/*extended*/
|
|
@@ -4327,11 +4329,11 @@ function Rr(e) {
|
|
|
4327
4329
|
), h(ue, "class", "LinkButton"), h(K, "class", "LinkButton"), h(J, "class", "TermsConditions");
|
|
4328
4330
|
},
|
|
4329
4331
|
m(I, O) {
|
|
4330
|
-
T(I, t, O), m(t, n), T(I, r, O), T(I, o, O), m(o, s), T(I, c, O), T(I, a, O), m(a, f), m(a, p), m(a, d), m(d, x), T(I, v, O), T(I, E, O), m(E, w), T(I, D, O), T(I, A, O), m(A, F), m(A, C), m(C, U), m(C, $), e[26](C), T(I, X, O), T(I, P, O), m(P, j), m(j, ie), m(ie, se), m(P, V), m(P, G), m(G, Q),
|
|
4332
|
+
T(I, t, O), m(t, n), T(I, r, O), T(I, o, O), m(o, s), T(I, c, O), T(I, a, O), m(a, f), m(a, p), m(a, d), m(d, x), T(I, v, O), T(I, E, O), m(E, w), T(I, D, O), T(I, A, O), m(A, F), m(A, C), m(C, U), m(C, $), e[26](C), T(I, X, O), T(I, P, O), m(P, j), m(j, ie), m(ie, se), m(P, V), m(P, G), m(G, Q), Bt(
|
|
4331
4333
|
Q,
|
|
4332
4334
|
/*inputAmount*/
|
|
4333
4335
|
e[6]
|
|
4334
|
-
), m(G, De), m(G, re), m(re, Be), e[28](re), T(I, Le, O), T(I, J, O), m(J, Ae), m(J, ue), m(ue, Se), m(J, b), m(J, oe), m(J, Re), m(J, K), m(K, Qe), m(J,
|
|
4336
|
+
), m(G, De), m(G, re), m(re, Be), e[28](re), T(I, Le, O), T(I, J, O), m(J, Ae), m(J, ue), m(ue, Se), m(J, b), m(J, oe), m(J, Re), m(J, K), m(K, Qe), m(J, Tt), Ke || (Pt = [
|
|
4335
4337
|
Z(
|
|
4336
4338
|
d,
|
|
4337
4339
|
"click",
|
|
@@ -4404,8 +4406,8 @@ function Rr(e) {
|
|
|
4404
4406
|
), O[0] & /*$_*/
|
|
4405
4407
|
4096 && ne !== (ne = /*$_*/
|
|
4406
4408
|
I[12]("depositPeriod") + "") && H(se, ne), O[0] & /*inputAmount*/
|
|
4407
|
-
64 &&
|
|
4408
|
-
I[6] &&
|
|
4409
|
+
64 && Xt(Q.value) !== /*inputAmount*/
|
|
4410
|
+
I[6] && Bt(
|
|
4409
4411
|
Q,
|
|
4410
4412
|
/*inputAmount*/
|
|
4411
4413
|
I[6]
|
|
@@ -4428,23 +4430,23 @@ function Rr(e) {
|
|
|
4428
4430
|
I[12]("PPlink") + "") && H(Qe, Ue);
|
|
4429
4431
|
},
|
|
4430
4432
|
d(I) {
|
|
4431
|
-
I && (y(t), y(r), y(o), y(c), y(a), y(v), y(E), y(D), y(A), y(X), y(P), y(Le), y(J)), e[26](null), e[28](null), Ke = !1, le(
|
|
4433
|
+
I && (y(t), y(r), y(o), y(c), y(a), y(v), y(E), y(D), y(A), y(X), y(P), y(Le), y(J)), e[26](null), e[28](null), Ke = !1, le(Pt);
|
|
4432
4434
|
}
|
|
4433
4435
|
};
|
|
4434
4436
|
}
|
|
4435
|
-
function
|
|
4437
|
+
function jr(e) {
|
|
4436
4438
|
let t, i, n, r, o, l;
|
|
4437
4439
|
function s(u, f) {
|
|
4438
4440
|
if (
|
|
4439
4441
|
/*isLoading*/
|
|
4440
4442
|
u[7]
|
|
4441
4443
|
)
|
|
4442
|
-
return
|
|
4444
|
+
return Nr;
|
|
4443
4445
|
if (
|
|
4444
4446
|
/*lang*/
|
|
4445
4447
|
u[1]
|
|
4446
4448
|
)
|
|
4447
|
-
return
|
|
4449
|
+
return Cr;
|
|
4448
4450
|
}
|
|
4449
4451
|
let c = s(e), a = c && c(e);
|
|
4450
4452
|
return {
|
|
@@ -4464,21 +4466,21 @@ function Ur(e) {
|
|
|
4464
4466
|
}
|
|
4465
4467
|
};
|
|
4466
4468
|
}
|
|
4467
|
-
function
|
|
4469
|
+
function Gr(e, t, i) {
|
|
4468
4470
|
let n;
|
|
4469
|
-
|
|
4471
|
+
vi(e, Lr, (b) => i(12, n = b));
|
|
4470
4472
|
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: l = "" } = t, { currency: s = "" } = t, { lang: c = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: p } = t, d, _, x = !0, v = !1, E, M = !1, w, D, A = "initial", R;
|
|
4471
4473
|
const F = () => {
|
|
4472
4474
|
fetch(a).then((q) => q.json()).then((q) => {
|
|
4473
4475
|
Object.keys(q).forEach((oe) => {
|
|
4474
|
-
|
|
4476
|
+
Gt(oe, q[oe]);
|
|
4475
4477
|
});
|
|
4476
4478
|
}).catch((q) => {
|
|
4477
4479
|
console.log(q);
|
|
4478
4480
|
});
|
|
4479
4481
|
};
|
|
4480
|
-
Object.keys(
|
|
4481
|
-
|
|
4482
|
+
Object.keys($t).forEach((b) => {
|
|
4483
|
+
Gt(b, $t[b]);
|
|
4482
4484
|
});
|
|
4483
4485
|
const C = () => {
|
|
4484
4486
|
i(5, v = !v), i(4, x = !x);
|
|
@@ -4531,9 +4533,9 @@ function jr(e, t, i) {
|
|
|
4531
4533
|
else
|
|
4532
4534
|
i(10, A = "error");
|
|
4533
4535
|
}, ie = () => {
|
|
4534
|
-
|
|
4536
|
+
Ar(c);
|
|
4535
4537
|
};
|
|
4536
|
-
|
|
4538
|
+
Bi(() => () => {
|
|
4537
4539
|
});
|
|
4538
4540
|
const ne = () => X("lugasInformation"), se = () => P("default");
|
|
4539
4541
|
function V(b) {
|
|
@@ -4542,7 +4544,7 @@ function jr(e, t, i) {
|
|
|
4542
4544
|
});
|
|
4543
4545
|
}
|
|
4544
4546
|
function G() {
|
|
4545
|
-
E =
|
|
4547
|
+
E = Xt(this.value), i(6, E);
|
|
4546
4548
|
}
|
|
4547
4549
|
function Q(b) {
|
|
4548
4550
|
ge[b ? "unshift" : "push"](() => {
|
|
@@ -4565,9 +4567,9 @@ function jr(e, t, i) {
|
|
|
4565
4567
|
}, e.$$.update = () => {
|
|
4566
4568
|
e.$$.dirty[0] & /*lang*/
|
|
4567
4569
|
2 && c && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4568
|
-
2097156 && u && d &&
|
|
4569
|
-
4194308 && f && d &&
|
|
4570
|
-
8388612 && p && d &&
|
|
4570
|
+
2097156 && u && d && Sr(d, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4571
|
+
4194308 && f && d && Ir(d, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4572
|
+
8388612 && p && d && kr(d, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4571
4573
|
1048576 && a && F();
|
|
4572
4574
|
}, [
|
|
4573
4575
|
s,
|
|
@@ -4612,14 +4614,14 @@ function jr(e, t, i) {
|
|
|
4612
4614
|
Se
|
|
4613
4615
|
];
|
|
4614
4616
|
}
|
|
4615
|
-
class
|
|
4617
|
+
class $r extends Ri {
|
|
4616
4618
|
constructor(t) {
|
|
4617
|
-
super(),
|
|
4619
|
+
super(), Mi(
|
|
4618
4620
|
this,
|
|
4619
4621
|
t,
|
|
4622
|
+
Gr,
|
|
4620
4623
|
jr,
|
|
4621
|
-
|
|
4622
|
-
$t,
|
|
4624
|
+
Ft,
|
|
4623
4625
|
{
|
|
4624
4626
|
userid: 17,
|
|
4625
4627
|
session: 18,
|
|
@@ -4631,7 +4633,7 @@ class Gr extends Mi {
|
|
|
4631
4633
|
clientstylingurl: 22,
|
|
4632
4634
|
mbsource: 23
|
|
4633
4635
|
},
|
|
4634
|
-
|
|
4636
|
+
Hr,
|
|
4635
4637
|
[-1, -1]
|
|
4636
4638
|
);
|
|
4637
4639
|
}
|
|
@@ -4690,7 +4692,7 @@ class Gr extends Mi {
|
|
|
4690
4692
|
this.$$set({ mbsource: t }), ee();
|
|
4691
4693
|
}
|
|
4692
4694
|
}
|
|
4693
|
-
|
|
4695
|
+
Di($r, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4694
4696
|
export {
|
|
4695
|
-
|
|
4697
|
+
$r as P
|
|
4696
4698
|
};
|