@everymatrix/player-account-gaming-limits-popup-2 1.86.1 → 1.86.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup2-bF0YcIxH.js → PlayerAccountGamingLimitsPopup2-Dv2BBTn-.js} +731 -735
- package/components/{PlayerAccountGamingLimitsPopup2-CwinXA-j.js → PlayerAccountGamingLimitsPopup2-l4Z65x4q.js} +733 -737
- package/components/PlayerAccountGamingLimitsPopup2-mQizhkln.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 +1 -1
- package/components/PlayerAccountGamingLimitsPopup2-D_kAGu6b.cjs +0 -10
|
@@ -6,10 +6,10 @@ function zt(e) {
|
|
|
6
6
|
function wt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function le(e) {
|
|
10
10
|
e.forEach(zt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function yt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function Ft(e, t) {
|
|
@@ -36,7 +36,7 @@ function f(e, t) {
|
|
|
36
36
|
function Ei(e, t, i) {
|
|
37
37
|
const n = _i(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const r =
|
|
39
|
+
const r = g("style");
|
|
40
40
|
r.id = t, r.textContent = i, xi(n, r);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -63,7 +63,7 @@ function T(e, t, i) {
|
|
|
63
63
|
function x(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function g(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
69
|
function Y(e) {
|
|
@@ -72,7 +72,7 @@ function Y(e) {
|
|
|
72
72
|
function L(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function O() {
|
|
76
76
|
return L(" ");
|
|
77
77
|
}
|
|
78
78
|
function Z(e, t, i, n) {
|
|
@@ -87,17 +87,17 @@ function Xt(e) {
|
|
|
87
87
|
function Ti(e) {
|
|
88
88
|
return Array.from(e.childNodes);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function H(e, t) {
|
|
91
91
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
92
|
t);
|
|
93
93
|
}
|
|
94
94
|
function Bt(e, t) {
|
|
95
95
|
e.value = t ?? "";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function ke(e, t, i, n) {
|
|
98
98
|
i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function je(e, t, i) {
|
|
101
101
|
e.classList.toggle(t, !!i);
|
|
102
102
|
}
|
|
103
103
|
function Pi(e) {
|
|
@@ -109,65 +109,65 @@ function Pi(e) {
|
|
|
109
109
|
}
|
|
110
110
|
), t;
|
|
111
111
|
}
|
|
112
|
-
let
|
|
113
|
-
function
|
|
114
|
-
|
|
112
|
+
let Ce;
|
|
113
|
+
function He(e) {
|
|
114
|
+
Ce = e;
|
|
115
115
|
}
|
|
116
116
|
function wi() {
|
|
117
|
-
if (!
|
|
117
|
+
if (!Ce)
|
|
118
118
|
throw new Error("Function called outside component initialization");
|
|
119
|
-
return
|
|
119
|
+
return Ce;
|
|
120
120
|
}
|
|
121
121
|
function Bi(e) {
|
|
122
122
|
wi().$$.on_mount.push(e);
|
|
123
123
|
}
|
|
124
|
-
const be = [],
|
|
125
|
-
let
|
|
124
|
+
const be = [], ge = [];
|
|
125
|
+
let ye = [];
|
|
126
126
|
const Lt = [], Li = /* @__PURE__ */ Promise.resolve();
|
|
127
|
-
let
|
|
128
|
-
function
|
|
129
|
-
|
|
127
|
+
let at = !1;
|
|
128
|
+
function Ai() {
|
|
129
|
+
at || (at = !0, Li.then(ee));
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
|
|
131
|
+
function lt(e) {
|
|
132
|
+
ye.push(e);
|
|
133
133
|
}
|
|
134
|
-
const
|
|
135
|
-
let
|
|
134
|
+
const et = /* @__PURE__ */ new Set();
|
|
135
|
+
let pe = 0;
|
|
136
136
|
function ee() {
|
|
137
|
-
if (
|
|
137
|
+
if (pe !== 0)
|
|
138
138
|
return;
|
|
139
|
-
const e =
|
|
139
|
+
const e = Ce;
|
|
140
140
|
do {
|
|
141
141
|
try {
|
|
142
|
-
for (;
|
|
143
|
-
const t = be[
|
|
144
|
-
|
|
142
|
+
for (; pe < be.length; ) {
|
|
143
|
+
const t = be[pe];
|
|
144
|
+
pe++, He(t), Si(t.$$);
|
|
145
145
|
}
|
|
146
146
|
} catch (t) {
|
|
147
|
-
throw be.length = 0,
|
|
147
|
+
throw be.length = 0, pe = 0, t;
|
|
148
148
|
}
|
|
149
|
-
for (
|
|
150
|
-
|
|
151
|
-
for (let t = 0; t <
|
|
152
|
-
const i =
|
|
153
|
-
|
|
149
|
+
for (He(null), be.length = 0, pe = 0; ge.length; )
|
|
150
|
+
ge.pop()();
|
|
151
|
+
for (let t = 0; t < ye.length; t += 1) {
|
|
152
|
+
const i = ye[t];
|
|
153
|
+
et.has(i) || (et.add(i), i());
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
ye.length = 0;
|
|
156
156
|
} while (be.length);
|
|
157
157
|
for (; Lt.length; )
|
|
158
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
|
-
e.update(),
|
|
163
|
+
e.update(), le(e.before_update);
|
|
164
164
|
const t = e.dirty;
|
|
165
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
165
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
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
172
|
const ki = /* @__PURE__ */ new Set();
|
|
173
173
|
function Hi(e, t) {
|
|
@@ -175,21 +175,21 @@ function Hi(e, t) {
|
|
|
175
175
|
}
|
|
176
176
|
function Ci(e, t, i) {
|
|
177
177
|
const { fragment: n, after_update: r } = e.$$;
|
|
178
|
-
n && n.m(t, i),
|
|
179
|
-
const o = e.$$.on_mount.map(zt).filter(
|
|
180
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
181
|
-
}), r.forEach(
|
|
178
|
+
n && n.m(t, i), lt(() => {
|
|
179
|
+
const o = e.$$.on_mount.map(zt).filter(yt);
|
|
180
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
|
|
181
|
+
}), r.forEach(lt);
|
|
182
182
|
}
|
|
183
183
|
function Ni(e, t) {
|
|
184
184
|
const i = e.$$;
|
|
185
|
-
i.fragment !== null && (Ii(i.after_update),
|
|
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
187
|
function Oi(e, t) {
|
|
188
|
-
e.$$.dirty[0] === -1 && (be.push(e),
|
|
188
|
+
e.$$.dirty[0] === -1 && (be.push(e), Ai(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
189
189
|
}
|
|
190
190
|
function Mi(e, t, i, n, r, o, a = null, s = [-1]) {
|
|
191
|
-
const u =
|
|
192
|
-
|
|
191
|
+
const u = Ce;
|
|
192
|
+
He(e);
|
|
193
193
|
const l = e.$$ = {
|
|
194
194
|
fragment: null,
|
|
195
195
|
ctx: [],
|
|
@@ -213,18 +213,18 @@ function Mi(e, t, i, n, r, o, a = null, s = [-1]) {
|
|
|
213
213
|
};
|
|
214
214
|
a && a(l.root);
|
|
215
215
|
let c = !1;
|
|
216
|
-
if (l.ctx = i ? i(e, t.props || {}, (
|
|
217
|
-
const E = d.length ? d[0] :
|
|
218
|
-
return l.ctx && r(l.ctx[
|
|
219
|
-
}) : [], l.update(), c = !0,
|
|
216
|
+
if (l.ctx = i ? i(e, t.props || {}, (m, p, ...d) => {
|
|
217
|
+
const E = d.length ? d[0] : p;
|
|
218
|
+
return l.ctx && r(l.ctx[m], l.ctx[m] = E) && (!l.skip_bound && l.bound[m] && l.bound[m](E), c && Oi(e, m)), p;
|
|
219
|
+
}) : [], l.update(), c = !0, le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
220
220
|
if (t.hydrate) {
|
|
221
|
-
const
|
|
222
|
-
l.fragment && l.fragment.l(
|
|
221
|
+
const m = Ti(t.target);
|
|
222
|
+
l.fragment && l.fragment.l(m), m.forEach(x);
|
|
223
223
|
} else
|
|
224
224
|
l.fragment && l.fragment.c();
|
|
225
225
|
t.intro && Hi(e.$$.fragment), Ci(e, t.target, t.anchor), ee();
|
|
226
226
|
}
|
|
227
|
-
|
|
227
|
+
He(u);
|
|
228
228
|
}
|
|
229
229
|
let qt;
|
|
230
230
|
typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
@@ -269,7 +269,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
269
269
|
let o;
|
|
270
270
|
return {
|
|
271
271
|
c: function() {
|
|
272
|
-
o =
|
|
272
|
+
o = g("slot"), r !== "default" && h(o, "name", r);
|
|
273
273
|
},
|
|
274
274
|
/**
|
|
275
275
|
* @param {HTMLElement} target
|
|
@@ -291,7 +291,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
291
291
|
r in i && (t[r] = [e(r)]);
|
|
292
292
|
for (const r of this.attributes) {
|
|
293
293
|
const o = this.$$g_p(r.name);
|
|
294
|
-
o in this.$$d || (this.$$d[o] =
|
|
294
|
+
o in this.$$d || (this.$$d[o] = $e(o, r.value, this.$$p_d, "toProp"));
|
|
295
295
|
}
|
|
296
296
|
for (const r in this.$$p_d)
|
|
297
297
|
!(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
|
|
@@ -309,7 +309,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
309
309
|
this.$$r = !0;
|
|
310
310
|
for (const r in this.$$p_d)
|
|
311
311
|
if (this.$$d[r] = this.$$c.$$.ctx[this.$$c.$$.props[r]], this.$$p_d[r].reflect) {
|
|
312
|
-
const o =
|
|
312
|
+
const o = $e(
|
|
313
313
|
r,
|
|
314
314
|
this.$$d[r],
|
|
315
315
|
this.$$p_d,
|
|
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
331
331
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
332
332
|
// and setting attributes through setAttribute etc, this is helpful
|
|
333
333
|
attributeChangedCallback(e, t, i) {
|
|
334
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
334
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = $e(e, i, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
335
335
|
}
|
|
336
336
|
disconnectedCallback() {
|
|
337
337
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -344,7 +344,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
344
344
|
) || e;
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
|
-
function
|
|
347
|
+
function $e(e, t, i, n) {
|
|
348
348
|
const r = i[e]?.type;
|
|
349
349
|
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !i[e])
|
|
350
350
|
return t;
|
|
@@ -390,7 +390,7 @@ function Di(e, t, i, n, r, o) {
|
|
|
390
390
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
391
391
|
},
|
|
392
392
|
set(u) {
|
|
393
|
-
u =
|
|
393
|
+
u = $e(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
}), n.forEach((s) => {
|
|
@@ -430,7 +430,7 @@ class Ri {
|
|
|
430
430
|
* @returns {() => void}
|
|
431
431
|
*/
|
|
432
432
|
$on(t, i) {
|
|
433
|
-
if (!
|
|
433
|
+
if (!yt(i))
|
|
434
434
|
return te;
|
|
435
435
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
436
436
|
return n.push(i), () => {
|
|
@@ -448,24 +448,24 @@ class Ri {
|
|
|
448
448
|
}
|
|
449
449
|
const Ui = "4";
|
|
450
450
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ui);
|
|
451
|
-
const
|
|
451
|
+
const de = [];
|
|
452
452
|
function ji(e, t) {
|
|
453
453
|
return {
|
|
454
|
-
subscribe:
|
|
454
|
+
subscribe: qe(e, t).subscribe
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function qe(e, t = te) {
|
|
458
458
|
let i;
|
|
459
459
|
const n = /* @__PURE__ */ new Set();
|
|
460
460
|
function r(s) {
|
|
461
461
|
if (Ft(e, s) && (e = s, i)) {
|
|
462
|
-
const u = !
|
|
462
|
+
const u = !de.length;
|
|
463
463
|
for (const l of n)
|
|
464
|
-
l[1](),
|
|
464
|
+
l[1](), de.push(l, e);
|
|
465
465
|
if (u) {
|
|
466
|
-
for (let l = 0; l <
|
|
467
|
-
|
|
468
|
-
|
|
466
|
+
for (let l = 0; l < de.length; l += 2)
|
|
467
|
+
de[l][0](de[l + 1]);
|
|
468
|
+
de.length = 0;
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
}
|
|
@@ -480,7 +480,7 @@ function Ze(e, t = te) {
|
|
|
480
480
|
}
|
|
481
481
|
return { set: r, update: o, subscribe: a };
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Te(e, t, i) {
|
|
484
484
|
const n = !Array.isArray(e), r = n ? [e] : e;
|
|
485
485
|
if (!r.every(Boolean))
|
|
486
486
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -488,26 +488,26 @@ function Pe(e, t, i) {
|
|
|
488
488
|
return ji(i, (a, s) => {
|
|
489
489
|
let u = !1;
|
|
490
490
|
const l = [];
|
|
491
|
-
let c = 0,
|
|
492
|
-
const
|
|
491
|
+
let c = 0, m = te;
|
|
492
|
+
const p = () => {
|
|
493
493
|
if (c)
|
|
494
494
|
return;
|
|
495
|
-
|
|
495
|
+
m();
|
|
496
496
|
const E = t(n ? l[0] : l, a, s);
|
|
497
|
-
o ? a(E) :
|
|
497
|
+
o ? a(E) : m = yt(E) ? E : te;
|
|
498
498
|
}, d = r.map(
|
|
499
499
|
(E, _) => Vt(
|
|
500
500
|
E,
|
|
501
501
|
(y) => {
|
|
502
|
-
l[_] = y, c &= ~(1 << _), u &&
|
|
502
|
+
l[_] = y, c &= ~(1 << _), u && p();
|
|
503
503
|
},
|
|
504
504
|
() => {
|
|
505
505
|
c |= 1 << _;
|
|
506
506
|
}
|
|
507
507
|
)
|
|
508
508
|
);
|
|
509
|
-
return u = !0,
|
|
510
|
-
|
|
509
|
+
return u = !0, p(), function() {
|
|
510
|
+
le(d), m(), u = !1;
|
|
511
511
|
};
|
|
512
512
|
});
|
|
513
513
|
}
|
|
@@ -531,26 +531,26 @@ function qi(e) {
|
|
|
531
531
|
function Wi(e) {
|
|
532
532
|
return Array.isArray(e) ? [] : {};
|
|
533
533
|
}
|
|
534
|
-
function
|
|
535
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
534
|
+
function Ne(e, t) {
|
|
535
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ve(Wi(e), e, t) : e;
|
|
536
536
|
}
|
|
537
537
|
function Zi(e, t, i) {
|
|
538
538
|
return e.concat(t).map(function(n) {
|
|
539
|
-
return
|
|
539
|
+
return Ne(n, i);
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
542
|
function Yi(e, t) {
|
|
543
543
|
if (!t.customMerge)
|
|
544
|
-
return
|
|
544
|
+
return ve;
|
|
545
545
|
var i = t.customMerge(e);
|
|
546
|
-
return typeof i == "function" ? i :
|
|
546
|
+
return typeof i == "function" ? i : ve;
|
|
547
547
|
}
|
|
548
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
|
|
553
|
+
function At(e) {
|
|
554
554
|
return Object.keys(e).concat(Ji(e));
|
|
555
555
|
}
|
|
556
556
|
function Wt(e, t) {
|
|
@@ -565,52 +565,66 @@ function Qi(e, t) {
|
|
|
565
565
|
}
|
|
566
566
|
function Ki(e, t, i) {
|
|
567
567
|
var n = {};
|
|
568
|
-
return i.isMergeableObject(e) &&
|
|
569
|
-
n[r] =
|
|
570
|
-
}),
|
|
571
|
-
Qi(e, r) || (Wt(e, r) && i.isMergeableObject(t[r]) ? n[r] = Yi(r, i)(e[r], t[r], i) : n[r] =
|
|
568
|
+
return i.isMergeableObject(e) && At(e).forEach(function(r) {
|
|
569
|
+
n[r] = Ne(e[r], i);
|
|
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
|
-
function
|
|
575
|
-
i = i || {}, i.arrayMerge = i.arrayMerge || Zi, i.isMergeableObject = i.isMergeableObject || $i, i.cloneUnlessOtherwiseSpecified =
|
|
574
|
+
function ve(e, t, i) {
|
|
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) : Ki(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))
|
|
581
581
|
throw new Error("first argument should be an array");
|
|
582
582
|
return t.reduce(function(n, r) {
|
|
583
|
-
return
|
|
583
|
+
return ve(n, r, i);
|
|
584
584
|
}, {});
|
|
585
585
|
};
|
|
586
|
-
var en =
|
|
586
|
+
var en = ve, tn = en;
|
|
587
587
|
const nn = /* @__PURE__ */ Gi(tn);
|
|
588
|
-
|
|
589
|
-
|
|
588
|
+
/*! *****************************************************************************
|
|
589
|
+
Copyright (c) Microsoft Corporation.
|
|
590
|
+
|
|
591
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
592
|
+
purpose with or without fee is hereby granted.
|
|
593
|
+
|
|
594
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
595
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
596
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
597
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
598
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
599
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
600
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
601
|
+
***************************************************************************** */
|
|
602
|
+
var ut = function(e, t) {
|
|
603
|
+
return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, n) {
|
|
590
604
|
i.__proto__ = n;
|
|
591
605
|
} || function(i, n) {
|
|
592
606
|
for (var r in n)
|
|
593
607
|
Object.prototype.hasOwnProperty.call(n, r) && (i[r] = n[r]);
|
|
594
|
-
},
|
|
608
|
+
}, ut(e, t);
|
|
595
609
|
};
|
|
596
|
-
function
|
|
610
|
+
function We(e, t) {
|
|
597
611
|
if (typeof t != "function" && t !== null)
|
|
598
612
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
599
|
-
|
|
613
|
+
ut(e, t);
|
|
600
614
|
function i() {
|
|
601
615
|
this.constructor = e;
|
|
602
616
|
}
|
|
603
617
|
e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
|
|
604
618
|
}
|
|
605
|
-
var
|
|
606
|
-
return
|
|
619
|
+
var k = function() {
|
|
620
|
+
return k = Object.assign || function(t) {
|
|
607
621
|
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
608
622
|
i = arguments[n];
|
|
609
623
|
for (var o in i)
|
|
610
624
|
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
611
625
|
}
|
|
612
626
|
return t;
|
|
613
|
-
},
|
|
627
|
+
}, k.apply(this, arguments);
|
|
614
628
|
};
|
|
615
629
|
function rn(e, t) {
|
|
616
630
|
var i = {};
|
|
@@ -621,14 +635,14 @@ function rn(e, t) {
|
|
|
621
635
|
t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (i[n[r]] = e[n[r]]);
|
|
622
636
|
return i;
|
|
623
637
|
}
|
|
624
|
-
function
|
|
625
|
-
if (
|
|
638
|
+
function tt(e, t, i) {
|
|
639
|
+
if (arguments.length === 2)
|
|
626
640
|
for (var n = 0, r = t.length, o; n < r; n++)
|
|
627
641
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
628
|
-
return e.concat(o ||
|
|
642
|
+
return e.concat(o || t);
|
|
629
643
|
}
|
|
630
|
-
function
|
|
631
|
-
var i = t && t.cache ? t.cache :
|
|
644
|
+
function it(e, t) {
|
|
645
|
+
var i = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : un, r = t && t.strategy ? t.strategy : sn;
|
|
632
646
|
return r(e, {
|
|
633
647
|
cache: i,
|
|
634
648
|
serializer: n
|
|
@@ -637,101 +651,93 @@ function rt(e, t) {
|
|
|
637
651
|
function on(e) {
|
|
638
652
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
639
653
|
}
|
|
640
|
-
function
|
|
654
|
+
function Zt(e, t, i, n) {
|
|
641
655
|
var r = on(n) ? n : i(n), o = t.get(r);
|
|
642
656
|
return typeof o > "u" && (o = e.call(this, n), t.set(r, o)), o;
|
|
643
657
|
}
|
|
644
|
-
function
|
|
658
|
+
function Yt(e, t, i) {
|
|
645
659
|
var n = Array.prototype.slice.call(arguments, 3), r = i(n), o = t.get(r);
|
|
646
660
|
return typeof o > "u" && (o = e.apply(this, n), t.set(r, o)), o;
|
|
647
661
|
}
|
|
648
|
-
function
|
|
662
|
+
function vt(e, t, i, n, r) {
|
|
649
663
|
return i.bind(t, e, n, r);
|
|
650
664
|
}
|
|
665
|
+
function sn(e, t) {
|
|
666
|
+
var i = e.length === 1 ? Zt : Yt;
|
|
667
|
+
return vt(e, this, i, t.cache.create(), t.serializer);
|
|
668
|
+
}
|
|
651
669
|
function an(e, t) {
|
|
652
|
-
|
|
653
|
-
return Yt(e, this, i, t.cache.create(), t.serializer);
|
|
670
|
+
return vt(e, this, Yt, t.cache.create(), t.serializer);
|
|
654
671
|
}
|
|
655
672
|
function ln(e, t) {
|
|
656
|
-
return
|
|
673
|
+
return vt(e, this, Zt, t.cache.create(), t.serializer);
|
|
657
674
|
}
|
|
658
675
|
var un = function() {
|
|
659
676
|
return JSON.stringify(arguments);
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
}()
|
|
672
|
-
), hn = {
|
|
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 = {
|
|
673
688
|
create: function() {
|
|
674
|
-
return new
|
|
689
|
+
return new Et();
|
|
675
690
|
}
|
|
676
|
-
},
|
|
677
|
-
variadic:
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
681
|
-
i = arguments[n];
|
|
682
|
-
for (var o in i)
|
|
683
|
-
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
684
|
-
}
|
|
685
|
-
return t;
|
|
686
|
-
}, Xe.apply(this, arguments);
|
|
687
|
-
};
|
|
688
|
-
var B;
|
|
691
|
+
}, nt = {
|
|
692
|
+
variadic: an,
|
|
693
|
+
monadic: ln
|
|
694
|
+
}, B;
|
|
689
695
|
(function(e) {
|
|
690
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";
|
|
691
697
|
})(B || (B = {}));
|
|
692
|
-
var
|
|
698
|
+
var z;
|
|
693
699
|
(function(e) {
|
|
694
700
|
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";
|
|
695
|
-
})(
|
|
696
|
-
var
|
|
701
|
+
})(z || (z = {}));
|
|
702
|
+
var Ee;
|
|
697
703
|
(function(e) {
|
|
698
704
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
699
|
-
})(
|
|
700
|
-
function
|
|
701
|
-
return e.type ===
|
|
705
|
+
})(Ee || (Ee = {}));
|
|
706
|
+
function St(e) {
|
|
707
|
+
return e.type === z.literal;
|
|
702
708
|
}
|
|
703
|
-
function
|
|
704
|
-
return e.type ===
|
|
709
|
+
function hn(e) {
|
|
710
|
+
return e.type === z.argument;
|
|
705
711
|
}
|
|
706
712
|
function Jt(e) {
|
|
707
|
-
return e.type ===
|
|
713
|
+
return e.type === z.number;
|
|
708
714
|
}
|
|
709
715
|
function Qt(e) {
|
|
710
|
-
return e.type ===
|
|
716
|
+
return e.type === z.date;
|
|
711
717
|
}
|
|
712
718
|
function Kt(e) {
|
|
713
|
-
return e.type ===
|
|
719
|
+
return e.type === z.time;
|
|
714
720
|
}
|
|
715
721
|
function ei(e) {
|
|
716
|
-
return e.type ===
|
|
722
|
+
return e.type === z.select;
|
|
717
723
|
}
|
|
718
724
|
function ti(e) {
|
|
719
|
-
return e.type ===
|
|
725
|
+
return e.type === z.plural;
|
|
720
726
|
}
|
|
721
|
-
function
|
|
722
|
-
return e.type ===
|
|
727
|
+
function fn(e) {
|
|
728
|
+
return e.type === z.pound;
|
|
723
729
|
}
|
|
724
730
|
function ii(e) {
|
|
725
|
-
return e.type ===
|
|
731
|
+
return e.type === z.tag;
|
|
726
732
|
}
|
|
727
733
|
function ni(e) {
|
|
728
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
734
|
+
return !!(e && typeof e == "object" && e.type === Ee.number);
|
|
729
735
|
}
|
|
730
|
-
function
|
|
731
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
736
|
+
function ct(e) {
|
|
737
|
+
return !!(e && typeof e == "object" && e.type === Ee.dateTime);
|
|
732
738
|
}
|
|
733
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;
|
|
734
|
-
function
|
|
740
|
+
function pn(e) {
|
|
735
741
|
var t = {};
|
|
736
742
|
return e.replace(mn, function(i) {
|
|
737
743
|
var n = i.length;
|
|
@@ -822,39 +828,29 @@ function dn(e) {
|
|
|
822
828
|
return "";
|
|
823
829
|
}), t;
|
|
824
830
|
}
|
|
825
|
-
var
|
|
826
|
-
return V = Object.assign || function(t) {
|
|
827
|
-
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
828
|
-
i = arguments[n];
|
|
829
|
-
for (var o in i)
|
|
830
|
-
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
831
|
-
}
|
|
832
|
-
return t;
|
|
833
|
-
}, V.apply(this, arguments);
|
|
834
|
-
};
|
|
835
|
-
var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
831
|
+
var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
836
832
|
function bn(e) {
|
|
837
833
|
if (e.length === 0)
|
|
838
834
|
throw new Error("Number skeleton cannot be empty");
|
|
839
|
-
for (var t = e.split(
|
|
840
|
-
return
|
|
835
|
+
for (var t = e.split(dn).filter(function(p) {
|
|
836
|
+
return p.length > 0;
|
|
841
837
|
}), i = [], n = 0, r = t; n < r.length; n++) {
|
|
842
838
|
var o = r[n], a = o.split("/");
|
|
843
839
|
if (a.length === 0)
|
|
844
840
|
throw new Error("Invalid number skeleton");
|
|
845
841
|
for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
846
|
-
var
|
|
847
|
-
if (
|
|
842
|
+
var m = c[l];
|
|
843
|
+
if (m.length === 0)
|
|
848
844
|
throw new Error("Invalid number skeleton");
|
|
849
845
|
}
|
|
850
846
|
i.push({ stem: s, options: u });
|
|
851
847
|
}
|
|
852
848
|
return i;
|
|
853
849
|
}
|
|
854
|
-
function
|
|
850
|
+
function gn(e) {
|
|
855
851
|
return e.replace(/^(.*?)-/, "");
|
|
856
852
|
}
|
|
857
|
-
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oi = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
853
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oi = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, si = /^(0+)$/;
|
|
858
854
|
function kt(e) {
|
|
859
855
|
var t = {};
|
|
860
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) {
|
|
@@ -901,7 +897,7 @@ function ai(e) {
|
|
|
901
897
|
};
|
|
902
898
|
}
|
|
903
899
|
}
|
|
904
|
-
function
|
|
900
|
+
function vn(e) {
|
|
905
901
|
var t;
|
|
906
902
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
907
903
|
notation: "engineering"
|
|
@@ -919,7 +915,7 @@ function Ht(e) {
|
|
|
919
915
|
var t = {}, i = ai(e);
|
|
920
916
|
return i || t;
|
|
921
917
|
}
|
|
922
|
-
function
|
|
918
|
+
function En(e) {
|
|
923
919
|
for (var t = {}, i = 0, n = e; i < n.length; i++) {
|
|
924
920
|
var r = n[i];
|
|
925
921
|
switch (r.stem) {
|
|
@@ -943,7 +939,7 @@ function _n(e) {
|
|
|
943
939
|
continue;
|
|
944
940
|
case "measure-unit":
|
|
945
941
|
case "unit":
|
|
946
|
-
t.style = "unit", t.unit =
|
|
942
|
+
t.style = "unit", t.unit = gn(r.options[0]);
|
|
947
943
|
continue;
|
|
948
944
|
case "compact-short":
|
|
949
945
|
case "K":
|
|
@@ -954,13 +950,13 @@ function _n(e) {
|
|
|
954
950
|
t.notation = "compact", t.compactDisplay = "long";
|
|
955
951
|
continue;
|
|
956
952
|
case "scientific":
|
|
957
|
-
t =
|
|
958
|
-
return
|
|
953
|
+
t = k(k(k({}, t), { notation: "scientific" }), r.options.reduce(function(u, l) {
|
|
954
|
+
return k(k({}, u), Ht(l));
|
|
959
955
|
}, {}));
|
|
960
956
|
continue;
|
|
961
957
|
case "engineering":
|
|
962
|
-
t =
|
|
963
|
-
return
|
|
958
|
+
t = k(k(k({}, t), { notation: "engineering" }), r.options.reduce(function(u, l) {
|
|
959
|
+
return k(k({}, u), Ht(l));
|
|
964
960
|
}, {}));
|
|
965
961
|
continue;
|
|
966
962
|
case "notation-simple":
|
|
@@ -1005,11 +1001,11 @@ function _n(e) {
|
|
|
1005
1001
|
case "integer-width":
|
|
1006
1002
|
if (r.options.length > 1)
|
|
1007
1003
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1008
|
-
r.options[0].replace(
|
|
1004
|
+
r.options[0].replace(yn, function(u, l, c, m, p, d) {
|
|
1009
1005
|
if (l)
|
|
1010
1006
|
t.minimumIntegerDigits = c.length;
|
|
1011
1007
|
else {
|
|
1012
|
-
if (
|
|
1008
|
+
if (m && p)
|
|
1013
1009
|
throw new Error("We currently do not support maximum integer digits");
|
|
1014
1010
|
if (d)
|
|
1015
1011
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1025,25 +1021,25 @@ function _n(e) {
|
|
|
1025
1021
|
if (It.test(r.stem)) {
|
|
1026
1022
|
if (r.options.length > 1)
|
|
1027
1023
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1028
|
-
r.stem.replace(It, function(u, l, c,
|
|
1029
|
-
return c === "*" ? t.minimumFractionDigits = l.length :
|
|
1024
|
+
r.stem.replace(It, function(u, l, c, m, p, d) {
|
|
1025
|
+
return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : p && d ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1030
1026
|
});
|
|
1031
1027
|
var o = r.options[0];
|
|
1032
|
-
o === "w" ? t =
|
|
1028
|
+
o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), kt(o)));
|
|
1033
1029
|
continue;
|
|
1034
1030
|
}
|
|
1035
1031
|
if (oi.test(r.stem)) {
|
|
1036
|
-
t =
|
|
1032
|
+
t = k(k({}, t), kt(r.stem));
|
|
1037
1033
|
continue;
|
|
1038
1034
|
}
|
|
1039
1035
|
var a = ai(r.stem);
|
|
1040
|
-
a && (t =
|
|
1041
|
-
var s =
|
|
1042
|
-
s && (t =
|
|
1036
|
+
a && (t = k(k({}, t), a));
|
|
1037
|
+
var s = vn(r.stem);
|
|
1038
|
+
s && (t = k(k({}, t), s));
|
|
1043
1039
|
}
|
|
1044
1040
|
return t;
|
|
1045
1041
|
}
|
|
1046
|
-
var
|
|
1042
|
+
var Ge = {
|
|
1047
1043
|
"001": [
|
|
1048
1044
|
"H",
|
|
1049
1045
|
"h"
|
|
@@ -2458,13 +2454,13 @@ var $e = {
|
|
|
2458
2454
|
"h"
|
|
2459
2455
|
]
|
|
2460
2456
|
};
|
|
2461
|
-
function
|
|
2457
|
+
function _n(e, t) {
|
|
2462
2458
|
for (var i = "", n = 0; n < e.length; n++) {
|
|
2463
2459
|
var r = e.charAt(n);
|
|
2464
2460
|
if (r === "j") {
|
|
2465
2461
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
|
|
2466
2462
|
o++, n++;
|
|
2467
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
2463
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = xn(t);
|
|
2468
2464
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
2469
2465
|
i += u;
|
|
2470
2466
|
for (; a-- > 0; )
|
|
@@ -2474,7 +2470,7 @@ function xn(e, t) {
|
|
|
2474
2470
|
}
|
|
2475
2471
|
return i;
|
|
2476
2472
|
}
|
|
2477
|
-
function
|
|
2473
|
+
function xn(e) {
|
|
2478
2474
|
var t = e.hourCycle;
|
|
2479
2475
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2480
2476
|
e.hourCycles && // @ts-ignore
|
|
@@ -2493,23 +2489,23 @@ function Tn(e) {
|
|
|
2493
2489
|
}
|
|
2494
2490
|
var i = e.language, n;
|
|
2495
2491
|
i !== "root" && (n = e.maximize().region);
|
|
2496
|
-
var r =
|
|
2492
|
+
var r = Ge[n || ""] || Ge[i || ""] || Ge["".concat(i, "-001")] || Ge["001"];
|
|
2497
2493
|
return r[0];
|
|
2498
2494
|
}
|
|
2499
|
-
var
|
|
2500
|
-
function
|
|
2495
|
+
var rt, Tn = new RegExp("^".concat(ri.source, "*")), Pn = new RegExp("".concat(ri.source, "*$"));
|
|
2496
|
+
function S(e, t) {
|
|
2501
2497
|
return { start: e, end: t };
|
|
2502
2498
|
}
|
|
2503
|
-
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) {
|
|
2504
2500
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2505
|
-
},
|
|
2501
|
+
}, ht = !0;
|
|
2506
2502
|
try {
|
|
2507
|
-
var
|
|
2508
|
-
|
|
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";
|
|
2509
2505
|
} catch {
|
|
2510
|
-
|
|
2506
|
+
ht = !1;
|
|
2511
2507
|
}
|
|
2512
|
-
var Ct =
|
|
2508
|
+
var Ct = wn ? (
|
|
2513
2509
|
// Native
|
|
2514
2510
|
function(t, i, n) {
|
|
2515
2511
|
return t.startsWith(i, n);
|
|
@@ -2519,7 +2515,7 @@ var Ct = Bn ? (
|
|
|
2519
2515
|
function(t, i, n) {
|
|
2520
2516
|
return t.slice(n, n + i.length) === i;
|
|
2521
2517
|
}
|
|
2522
|
-
),
|
|
2518
|
+
), ft = Bn ? String.fromCodePoint : (
|
|
2523
2519
|
// IE11
|
|
2524
2520
|
function() {
|
|
2525
2521
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -2533,7 +2529,7 @@ var Ct = Bn ? (
|
|
|
2533
2529
|
}
|
|
2534
2530
|
), Nt = (
|
|
2535
2531
|
// native
|
|
2536
|
-
|
|
2532
|
+
Ln ? Object.fromEntries : (
|
|
2537
2533
|
// Ponyfill
|
|
2538
2534
|
function(t) {
|
|
2539
2535
|
for (var i = {}, n = 0, r = t; n < r.length; n++) {
|
|
@@ -2557,7 +2553,7 @@ var Ct = Bn ? (
|
|
|
2557
2553
|
return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
|
|
2558
2554
|
}
|
|
2559
2555
|
}
|
|
2560
|
-
),
|
|
2556
|
+
), Nn = Sn ? (
|
|
2561
2557
|
// Native
|
|
2562
2558
|
function(t) {
|
|
2563
2559
|
return t.trimStart();
|
|
@@ -2565,9 +2561,9 @@ var Ct = Bn ? (
|
|
|
2565
2561
|
) : (
|
|
2566
2562
|
// Ponyfill
|
|
2567
2563
|
function(t) {
|
|
2568
|
-
return t.replace(
|
|
2564
|
+
return t.replace(Tn, "");
|
|
2569
2565
|
}
|
|
2570
|
-
),
|
|
2566
|
+
), On = In ? (
|
|
2571
2567
|
// Native
|
|
2572
2568
|
function(t) {
|
|
2573
2569
|
return t.trimEnd();
|
|
@@ -2575,32 +2571,32 @@ var Ct = Bn ? (
|
|
|
2575
2571
|
) : (
|
|
2576
2572
|
// Ponyfill
|
|
2577
2573
|
function(t) {
|
|
2578
|
-
return t.replace(
|
|
2574
|
+
return t.replace(Pn, "");
|
|
2579
2575
|
}
|
|
2580
2576
|
);
|
|
2581
2577
|
function ui(e, t) {
|
|
2582
2578
|
return new RegExp(e, t);
|
|
2583
2579
|
}
|
|
2584
|
-
var
|
|
2585
|
-
if (
|
|
2580
|
+
var mt;
|
|
2581
|
+
if (ht) {
|
|
2586
2582
|
var Ot = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2587
|
-
|
|
2583
|
+
mt = function(t, i) {
|
|
2588
2584
|
var n;
|
|
2589
2585
|
Ot.lastIndex = i;
|
|
2590
2586
|
var r = Ot.exec(t);
|
|
2591
2587
|
return (n = r[1]) !== null && n !== void 0 ? n : "";
|
|
2592
2588
|
};
|
|
2593
2589
|
} else
|
|
2594
|
-
|
|
2590
|
+
mt = function(t, i) {
|
|
2595
2591
|
for (var n = []; ; ) {
|
|
2596
2592
|
var r = li(t, i);
|
|
2597
|
-
if (r === void 0 || ci(r) ||
|
|
2593
|
+
if (r === void 0 || ci(r) || Un(r))
|
|
2598
2594
|
break;
|
|
2599
2595
|
n.push(r), i += r >= 65536 ? 2 : 1;
|
|
2600
2596
|
}
|
|
2601
|
-
return
|
|
2597
|
+
return ft.apply(void 0, n);
|
|
2602
2598
|
};
|
|
2603
|
-
var
|
|
2599
|
+
var Mn = (
|
|
2604
2600
|
/** @class */
|
|
2605
2601
|
function() {
|
|
2606
2602
|
function e(t, i) {
|
|
@@ -2624,14 +2620,14 @@ var Dn = (
|
|
|
2624
2620
|
if (o === 35 && (i === "plural" || i === "selectordinal")) {
|
|
2625
2621
|
var s = this.clonePosition();
|
|
2626
2622
|
this.bump(), r.push({
|
|
2627
|
-
type:
|
|
2628
|
-
location:
|
|
2623
|
+
type: z.pound,
|
|
2624
|
+
location: S(s, this.clonePosition())
|
|
2629
2625
|
});
|
|
2630
2626
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2631
2627
|
if (n)
|
|
2632
2628
|
break;
|
|
2633
|
-
return this.error(B.UNMATCHED_CLOSING_TAG,
|
|
2634
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2629
|
+
return this.error(B.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
|
|
2630
|
+
} else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
|
|
2635
2631
|
var a = this.parseTag(t, i);
|
|
2636
2632
|
if (a.err)
|
|
2637
2633
|
return a;
|
|
@@ -2652,9 +2648,9 @@ var Dn = (
|
|
|
2652
2648
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2653
2649
|
return {
|
|
2654
2650
|
val: {
|
|
2655
|
-
type:
|
|
2651
|
+
type: z.literal,
|
|
2656
2652
|
value: "<".concat(r, "/>"),
|
|
2657
|
-
location:
|
|
2653
|
+
location: S(n, this.clonePosition())
|
|
2658
2654
|
},
|
|
2659
2655
|
err: null
|
|
2660
2656
|
};
|
|
@@ -2664,25 +2660,25 @@ var Dn = (
|
|
|
2664
2660
|
return o;
|
|
2665
2661
|
var a = o.val, s = this.clonePosition();
|
|
2666
2662
|
if (this.bumpIf("</")) {
|
|
2667
|
-
if (this.isEOF() || !
|
|
2668
|
-
return this.error(B.INVALID_TAG,
|
|
2663
|
+
if (this.isEOF() || !pt(this.char()))
|
|
2664
|
+
return this.error(B.INVALID_TAG, S(s, this.clonePosition()));
|
|
2669
2665
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
2670
|
-
return r !== l ? this.error(B.UNMATCHED_CLOSING_TAG,
|
|
2666
|
+
return r !== l ? this.error(B.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2671
2667
|
val: {
|
|
2672
|
-
type:
|
|
2668
|
+
type: z.tag,
|
|
2673
2669
|
value: r,
|
|
2674
2670
|
children: a,
|
|
2675
|
-
location:
|
|
2671
|
+
location: S(n, this.clonePosition())
|
|
2676
2672
|
},
|
|
2677
2673
|
err: null
|
|
2678
|
-
} : this.error(B.INVALID_TAG,
|
|
2674
|
+
} : this.error(B.INVALID_TAG, S(s, this.clonePosition())));
|
|
2679
2675
|
} else
|
|
2680
|
-
return this.error(B.UNCLOSED_TAG,
|
|
2676
|
+
return this.error(B.UNCLOSED_TAG, S(n, this.clonePosition()));
|
|
2681
2677
|
} else
|
|
2682
|
-
return this.error(B.INVALID_TAG,
|
|
2678
|
+
return this.error(B.INVALID_TAG, S(n, this.clonePosition()));
|
|
2683
2679
|
}, e.prototype.parseTagName = function() {
|
|
2684
2680
|
var t = this.offset();
|
|
2685
|
-
for (this.bump(); !this.isEOF() &&
|
|
2681
|
+
for (this.bump(); !this.isEOF() && Rn(this.char()); )
|
|
2686
2682
|
this.bump();
|
|
2687
2683
|
return this.message.slice(t, this.offset());
|
|
2688
2684
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
@@ -2704,14 +2700,14 @@ var Dn = (
|
|
|
2704
2700
|
}
|
|
2705
2701
|
break;
|
|
2706
2702
|
}
|
|
2707
|
-
var u =
|
|
2703
|
+
var u = S(n, this.clonePosition());
|
|
2708
2704
|
return {
|
|
2709
|
-
val: { type:
|
|
2705
|
+
val: { type: z.literal, value: r, location: u },
|
|
2710
2706
|
err: null
|
|
2711
2707
|
};
|
|
2712
2708
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2713
2709
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2714
|
-
!
|
|
2710
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2715
2711
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2716
2712
|
if (this.isEOF() || this.char() !== 39)
|
|
2717
2713
|
return null;
|
|
@@ -2745,49 +2741,49 @@ var Dn = (
|
|
|
2745
2741
|
i.push(n);
|
|
2746
2742
|
this.bump();
|
|
2747
2743
|
}
|
|
2748
|
-
return
|
|
2744
|
+
return ft.apply(void 0, i);
|
|
2749
2745
|
}, e.prototype.tryParseUnquoted = function(t, i) {
|
|
2750
2746
|
if (this.isEOF())
|
|
2751
2747
|
return null;
|
|
2752
2748
|
var n = this.char();
|
|
2753
|
-
return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2749
|
+
return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
|
|
2754
2750
|
}, e.prototype.parseArgument = function(t, i) {
|
|
2755
2751
|
var n = this.clonePosition();
|
|
2756
2752
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2757
|
-
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2753
|
+
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
|
|
2758
2754
|
if (this.char() === 125)
|
|
2759
|
-
return this.bump(), this.error(B.EMPTY_ARGUMENT,
|
|
2755
|
+
return this.bump(), this.error(B.EMPTY_ARGUMENT, S(n, this.clonePosition()));
|
|
2760
2756
|
var r = this.parseIdentifierIfPossible().value;
|
|
2761
2757
|
if (!r)
|
|
2762
|
-
return this.error(B.MALFORMED_ARGUMENT,
|
|
2758
|
+
return this.error(B.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
2763
2759
|
if (this.bumpSpace(), this.isEOF())
|
|
2764
|
-
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2760
|
+
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
|
|
2765
2761
|
switch (this.char()) {
|
|
2766
2762
|
case 125:
|
|
2767
2763
|
return this.bump(), {
|
|
2768
2764
|
val: {
|
|
2769
|
-
type:
|
|
2765
|
+
type: z.argument,
|
|
2770
2766
|
// value does not include the opening and closing braces.
|
|
2771
2767
|
value: r,
|
|
2772
|
-
location:
|
|
2768
|
+
location: S(n, this.clonePosition())
|
|
2773
2769
|
},
|
|
2774
2770
|
err: null
|
|
2775
2771
|
};
|
|
2776
2772
|
case 44:
|
|
2777
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2773
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, i, r, n);
|
|
2778
2774
|
default:
|
|
2779
|
-
return this.error(B.MALFORMED_ARGUMENT,
|
|
2775
|
+
return this.error(B.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
2780
2776
|
}
|
|
2781
2777
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2782
|
-
var t = this.clonePosition(), i = this.offset(), n =
|
|
2778
|
+
var t = this.clonePosition(), i = this.offset(), n = mt(this.message, i), r = i + n.length;
|
|
2783
2779
|
this.bumpTo(r);
|
|
2784
|
-
var o = this.clonePosition(), a =
|
|
2780
|
+
var o = this.clonePosition(), a = S(t, o);
|
|
2785
2781
|
return { value: n, location: a };
|
|
2786
2782
|
}, e.prototype.parseArgumentOptions = function(t, i, n, r) {
|
|
2787
2783
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2788
2784
|
switch (s) {
|
|
2789
2785
|
case "":
|
|
2790
|
-
return this.error(B.EXPECT_ARGUMENT_TYPE,
|
|
2786
|
+
return this.error(B.EXPECT_ARGUMENT_TYPE, S(a, u));
|
|
2791
2787
|
case "number":
|
|
2792
2788
|
case "date":
|
|
2793
2789
|
case "time": {
|
|
@@ -2795,47 +2791,47 @@ var Dn = (
|
|
|
2795
2791
|
var l = null;
|
|
2796
2792
|
if (this.bumpIf(",")) {
|
|
2797
2793
|
this.bumpSpace();
|
|
2798
|
-
var c = this.clonePosition(),
|
|
2799
|
-
if (
|
|
2800
|
-
return
|
|
2801
|
-
var
|
|
2802
|
-
if (
|
|
2803
|
-
return this.error(B.EXPECT_ARGUMENT_STYLE,
|
|
2804
|
-
var d =
|
|
2805
|
-
l = { style:
|
|
2794
|
+
var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2795
|
+
if (m.err)
|
|
2796
|
+
return m;
|
|
2797
|
+
var p = On(m.val);
|
|
2798
|
+
if (p.length === 0)
|
|
2799
|
+
return this.error(B.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
|
|
2800
|
+
var d = S(c, this.clonePosition());
|
|
2801
|
+
l = { style: p, styleLocation: d };
|
|
2806
2802
|
}
|
|
2807
2803
|
var E = this.tryParseArgumentClose(r);
|
|
2808
2804
|
if (E.err)
|
|
2809
2805
|
return E;
|
|
2810
|
-
var _ =
|
|
2806
|
+
var _ = S(r, this.clonePosition());
|
|
2811
2807
|
if (l && Ct(l?.style, "::", 0)) {
|
|
2812
|
-
var y =
|
|
2808
|
+
var y = Nn(l.style.slice(2));
|
|
2813
2809
|
if (s === "number") {
|
|
2814
|
-
var
|
|
2815
|
-
return
|
|
2816
|
-
val: { type:
|
|
2810
|
+
var m = this.parseNumberSkeletonFromString(y, l.styleLocation);
|
|
2811
|
+
return m.err ? m : {
|
|
2812
|
+
val: { type: z.number, value: n, location: _, style: m.val },
|
|
2817
2813
|
err: null
|
|
2818
2814
|
};
|
|
2819
2815
|
} else {
|
|
2820
2816
|
if (y.length === 0)
|
|
2821
2817
|
return this.error(B.EXPECT_DATE_TIME_SKELETON, _);
|
|
2822
2818
|
var v = y;
|
|
2823
|
-
this.locale && (v =
|
|
2824
|
-
var
|
|
2825
|
-
type:
|
|
2819
|
+
this.locale && (v = _n(y, this.locale));
|
|
2820
|
+
var p = {
|
|
2821
|
+
type: Ee.dateTime,
|
|
2826
2822
|
pattern: v,
|
|
2827
2823
|
location: l.styleLocation,
|
|
2828
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2829
|
-
},
|
|
2824
|
+
parsedOptions: this.shouldParseSkeletons ? pn(v) : {}
|
|
2825
|
+
}, M = s === "date" ? z.date : z.time;
|
|
2830
2826
|
return {
|
|
2831
|
-
val: { type:
|
|
2827
|
+
val: { type: M, value: n, location: _, style: p },
|
|
2832
2828
|
err: null
|
|
2833
2829
|
};
|
|
2834
2830
|
}
|
|
2835
2831
|
}
|
|
2836
2832
|
return {
|
|
2837
2833
|
val: {
|
|
2838
|
-
type: s === "number" ?
|
|
2834
|
+
type: s === "number" ? z.number : s === "date" ? z.date : z.time,
|
|
2839
2835
|
value: n,
|
|
2840
2836
|
location: _,
|
|
2841
2837
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
@@ -2848,50 +2844,50 @@ var Dn = (
|
|
|
2848
2844
|
case "select": {
|
|
2849
2845
|
var w = this.clonePosition();
|
|
2850
2846
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2851
|
-
return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2847
|
+
return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS, S(w, k({}, w)));
|
|
2852
2848
|
this.bumpSpace();
|
|
2853
|
-
var
|
|
2854
|
-
if (s !== "select" &&
|
|
2849
|
+
var D = this.parseIdentifierIfPossible(), A = 0;
|
|
2850
|
+
if (s !== "select" && D.value === "offset") {
|
|
2855
2851
|
if (!this.bumpIf(":"))
|
|
2856
|
-
return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2852
|
+
return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
|
|
2857
2853
|
this.bumpSpace();
|
|
2858
|
-
var
|
|
2859
|
-
if (
|
|
2860
|
-
return
|
|
2861
|
-
this.bumpSpace(),
|
|
2854
|
+
var m = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2855
|
+
if (m.err)
|
|
2856
|
+
return m;
|
|
2857
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), A = m.val;
|
|
2862
2858
|
}
|
|
2863
|
-
var
|
|
2864
|
-
if (
|
|
2865
|
-
return
|
|
2859
|
+
var R = this.tryParsePluralOrSelectOptions(t, s, i, D);
|
|
2860
|
+
if (R.err)
|
|
2861
|
+
return R;
|
|
2866
2862
|
var E = this.tryParseArgumentClose(r);
|
|
2867
2863
|
if (E.err)
|
|
2868
2864
|
return E;
|
|
2869
|
-
var
|
|
2865
|
+
var F = S(r, this.clonePosition());
|
|
2870
2866
|
return s === "select" ? {
|
|
2871
2867
|
val: {
|
|
2872
|
-
type:
|
|
2868
|
+
type: z.select,
|
|
2873
2869
|
value: n,
|
|
2874
|
-
options: Nt(
|
|
2875
|
-
location:
|
|
2870
|
+
options: Nt(R.val),
|
|
2871
|
+
location: F
|
|
2876
2872
|
},
|
|
2877
2873
|
err: null
|
|
2878
2874
|
} : {
|
|
2879
2875
|
val: {
|
|
2880
|
-
type:
|
|
2876
|
+
type: z.plural,
|
|
2881
2877
|
value: n,
|
|
2882
|
-
options: Nt(
|
|
2883
|
-
offset:
|
|
2878
|
+
options: Nt(R.val),
|
|
2879
|
+
offset: A,
|
|
2884
2880
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2885
|
-
location:
|
|
2881
|
+
location: F
|
|
2886
2882
|
},
|
|
2887
2883
|
err: null
|
|
2888
2884
|
};
|
|
2889
2885
|
}
|
|
2890
2886
|
default:
|
|
2891
|
-
return this.error(B.INVALID_ARGUMENT_TYPE,
|
|
2887
|
+
return this.error(B.INVALID_ARGUMENT_TYPE, S(a, u));
|
|
2892
2888
|
}
|
|
2893
2889
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2894
|
-
return this.isEOF() || this.char() !== 125 ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2890
|
+
return this.isEOF() || this.char() !== 125 ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2895
2891
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2896
2892
|
for (var t = 0, i = this.clonePosition(); !this.isEOF(); ) {
|
|
2897
2893
|
var n = this.char();
|
|
@@ -2900,7 +2896,7 @@ var Dn = (
|
|
|
2900
2896
|
this.bump();
|
|
2901
2897
|
var r = this.clonePosition();
|
|
2902
2898
|
if (!this.bumpUntil("'"))
|
|
2903
|
-
return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2899
|
+
return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(r, this.clonePosition()));
|
|
2904
2900
|
this.bump();
|
|
2905
2901
|
break;
|
|
2906
2902
|
}
|
|
@@ -2936,22 +2932,22 @@ var Dn = (
|
|
|
2936
2932
|
}
|
|
2937
2933
|
return {
|
|
2938
2934
|
val: {
|
|
2939
|
-
type:
|
|
2935
|
+
type: Ee.number,
|
|
2940
2936
|
tokens: n,
|
|
2941
2937
|
location: i,
|
|
2942
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2938
|
+
parsedOptions: this.shouldParseSkeletons ? En(n) : {}
|
|
2943
2939
|
},
|
|
2944
2940
|
err: null
|
|
2945
2941
|
};
|
|
2946
2942
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, i, n, r) {
|
|
2947
2943
|
for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = r.value, c = r.location; ; ) {
|
|
2948
2944
|
if (l.length === 0) {
|
|
2949
|
-
var
|
|
2945
|
+
var m = this.clonePosition();
|
|
2950
2946
|
if (i !== "select" && this.bumpIf("=")) {
|
|
2951
|
-
var
|
|
2952
|
-
if (
|
|
2953
|
-
return
|
|
2954
|
-
c =
|
|
2947
|
+
var p = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR, B.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2948
|
+
if (p.err)
|
|
2949
|
+
return p;
|
|
2950
|
+
c = S(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
|
|
2955
2951
|
} else
|
|
2956
2952
|
break;
|
|
2957
2953
|
}
|
|
@@ -2960,7 +2956,7 @@ var Dn = (
|
|
|
2960
2956
|
l === "other" && (a = !0), this.bumpSpace();
|
|
2961
2957
|
var d = this.clonePosition();
|
|
2962
2958
|
if (!this.bumpIf("{"))
|
|
2963
|
-
return this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
2959
|
+
return this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
|
|
2964
2960
|
var E = this.parseMessage(t + 1, i, n);
|
|
2965
2961
|
if (E.err)
|
|
2966
2962
|
return E;
|
|
@@ -2971,11 +2967,11 @@ var Dn = (
|
|
|
2971
2967
|
l,
|
|
2972
2968
|
{
|
|
2973
2969
|
value: E.val,
|
|
2974
|
-
location:
|
|
2970
|
+
location: S(d, this.clonePosition())
|
|
2975
2971
|
}
|
|
2976
2972
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
2977
2973
|
}
|
|
2978
|
-
return s.length === 0 ? this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR : B.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
2974
|
+
return s.length === 0 ? this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR : B.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(B.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
2979
2975
|
}, e.prototype.tryParseDecimalInteger = function(t, i) {
|
|
2980
2976
|
var n = 1, r = this.clonePosition();
|
|
2981
2977
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2986,8 +2982,8 @@ var Dn = (
|
|
|
2986
2982
|
else
|
|
2987
2983
|
break;
|
|
2988
2984
|
}
|
|
2989
|
-
var u =
|
|
2990
|
-
return o ? (a *= n,
|
|
2985
|
+
var u = S(r, this.clonePosition());
|
|
2986
|
+
return o ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(i, u)) : this.error(t, u);
|
|
2991
2987
|
}, e.prototype.offset = function() {
|
|
2992
2988
|
return this.position.offset;
|
|
2993
2989
|
}, e.prototype.isEOF = function() {
|
|
@@ -3053,47 +3049,47 @@ var Dn = (
|
|
|
3053
3049
|
}, e;
|
|
3054
3050
|
}()
|
|
3055
3051
|
);
|
|
3056
|
-
function
|
|
3052
|
+
function pt(e) {
|
|
3057
3053
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3058
3054
|
}
|
|
3059
|
-
function
|
|
3060
|
-
return
|
|
3055
|
+
function Dn(e) {
|
|
3056
|
+
return pt(e) || e === 47;
|
|
3061
3057
|
}
|
|
3062
|
-
function
|
|
3058
|
+
function Rn(e) {
|
|
3063
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;
|
|
3064
3060
|
}
|
|
3065
3061
|
function ci(e) {
|
|
3066
3062
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3067
3063
|
}
|
|
3068
|
-
function
|
|
3064
|
+
function Un(e) {
|
|
3069
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;
|
|
3070
3066
|
}
|
|
3071
|
-
function
|
|
3067
|
+
function dt(e) {
|
|
3072
3068
|
e.forEach(function(t) {
|
|
3073
3069
|
if (delete t.location, ei(t) || ti(t))
|
|
3074
3070
|
for (var i in t.options)
|
|
3075
|
-
delete t.options[i].location,
|
|
3071
|
+
delete t.options[i].location, dt(t.options[i].value);
|
|
3076
3072
|
else
|
|
3077
|
-
Jt(t) && ni(t.style) || (Qt(t) || Kt(t)) &&
|
|
3073
|
+
Jt(t) && ni(t.style) || (Qt(t) || Kt(t)) && ct(t.style) ? delete t.style.location : ii(t) && dt(t.children);
|
|
3078
3074
|
});
|
|
3079
3075
|
}
|
|
3080
|
-
function
|
|
3081
|
-
t === void 0 && (t = {}), t =
|
|
3082
|
-
var i = new
|
|
3076
|
+
function jn(e, t) {
|
|
3077
|
+
t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3078
|
+
var i = new Mn(e, t).parse();
|
|
3083
3079
|
if (i.err) {
|
|
3084
3080
|
var n = SyntaxError(B[i.err.kind]);
|
|
3085
3081
|
throw n.location = i.err.location, n.originalMessage = i.err.message, n;
|
|
3086
3082
|
}
|
|
3087
|
-
return t?.captureLocation ||
|
|
3083
|
+
return t?.captureLocation || dt(i.val), i.val;
|
|
3088
3084
|
}
|
|
3089
|
-
var
|
|
3085
|
+
var _e;
|
|
3090
3086
|
(function(e) {
|
|
3091
3087
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3092
|
-
})(
|
|
3093
|
-
var
|
|
3088
|
+
})(_e || (_e = {}));
|
|
3089
|
+
var Ze = (
|
|
3094
3090
|
/** @class */
|
|
3095
3091
|
function(e) {
|
|
3096
|
-
|
|
3092
|
+
We(t, e);
|
|
3097
3093
|
function t(i, n, r) {
|
|
3098
3094
|
var o = e.call(this, i) || this;
|
|
3099
3095
|
return o.code = n, o.originalMessage = r, o;
|
|
@@ -3105,45 +3101,45 @@ var Je = (
|
|
|
3105
3101
|
), Mt = (
|
|
3106
3102
|
/** @class */
|
|
3107
3103
|
function(e) {
|
|
3108
|
-
|
|
3104
|
+
We(t, e);
|
|
3109
3105
|
function t(i, n, r, o) {
|
|
3110
|
-
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'),
|
|
3106
|
+
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'), _e.INVALID_VALUE, o) || this;
|
|
3111
3107
|
}
|
|
3112
3108
|
return t;
|
|
3113
|
-
}(
|
|
3114
|
-
),
|
|
3109
|
+
}(Ze)
|
|
3110
|
+
), Gn = (
|
|
3115
3111
|
/** @class */
|
|
3116
3112
|
function(e) {
|
|
3117
|
-
|
|
3113
|
+
We(t, e);
|
|
3118
3114
|
function t(i, n, r) {
|
|
3119
|
-
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n),
|
|
3115
|
+
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n), _e.INVALID_VALUE, r) || this;
|
|
3120
3116
|
}
|
|
3121
3117
|
return t;
|
|
3122
|
-
}(
|
|
3123
|
-
),
|
|
3118
|
+
}(Ze)
|
|
3119
|
+
), $n = (
|
|
3124
3120
|
/** @class */
|
|
3125
3121
|
function(e) {
|
|
3126
|
-
|
|
3122
|
+
We(t, e);
|
|
3127
3123
|
function t(i, n) {
|
|
3128
|
-
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'),
|
|
3124
|
+
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'), _e.MISSING_VALUE, n) || this;
|
|
3129
3125
|
}
|
|
3130
3126
|
return t;
|
|
3131
|
-
}(
|
|
3127
|
+
}(Ze)
|
|
3132
3128
|
), W;
|
|
3133
3129
|
(function(e) {
|
|
3134
3130
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3135
3131
|
})(W || (W = {}));
|
|
3136
|
-
function
|
|
3132
|
+
function zn(e) {
|
|
3137
3133
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3138
3134
|
var n = t[t.length - 1];
|
|
3139
3135
|
return !n || n.type !== W.literal || i.type !== W.literal ? t.push(i) : n.value += i.value, t;
|
|
3140
3136
|
}, []);
|
|
3141
3137
|
}
|
|
3142
|
-
function
|
|
3138
|
+
function Fn(e) {
|
|
3143
3139
|
return typeof e == "function";
|
|
3144
3140
|
}
|
|
3145
|
-
function
|
|
3146
|
-
if (e.length === 1 &&
|
|
3141
|
+
function ze(e, t, i, n, r, o, a) {
|
|
3142
|
+
if (e.length === 1 && St(e[0]))
|
|
3147
3143
|
return [
|
|
3148
3144
|
{
|
|
3149
3145
|
type: W.literal,
|
|
@@ -3152,105 +3148,105 @@ function Fe(e, t, i, n, r, o, a) {
|
|
|
3152
3148
|
];
|
|
3153
3149
|
for (var s = [], u = 0, l = e; u < l.length; u++) {
|
|
3154
3150
|
var c = l[u];
|
|
3155
|
-
if (
|
|
3151
|
+
if (St(c)) {
|
|
3156
3152
|
s.push({
|
|
3157
3153
|
type: W.literal,
|
|
3158
3154
|
value: c.value
|
|
3159
3155
|
});
|
|
3160
3156
|
continue;
|
|
3161
3157
|
}
|
|
3162
|
-
if (
|
|
3158
|
+
if (fn(c)) {
|
|
3163
3159
|
typeof o == "number" && s.push({
|
|
3164
3160
|
type: W.literal,
|
|
3165
3161
|
value: i.getNumberFormat(t).format(o)
|
|
3166
3162
|
});
|
|
3167
3163
|
continue;
|
|
3168
3164
|
}
|
|
3169
|
-
var
|
|
3170
|
-
if (!(r &&
|
|
3171
|
-
throw new
|
|
3172
|
-
var
|
|
3173
|
-
if (
|
|
3174
|
-
(!
|
|
3175
|
-
type: typeof
|
|
3176
|
-
value:
|
|
3165
|
+
var m = c.value;
|
|
3166
|
+
if (!(r && m in r))
|
|
3167
|
+
throw new $n(m, a);
|
|
3168
|
+
var p = r[m];
|
|
3169
|
+
if (hn(c)) {
|
|
3170
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
|
|
3171
|
+
type: typeof p == "string" ? W.literal : W.object,
|
|
3172
|
+
value: p
|
|
3177
3173
|
});
|
|
3178
3174
|
continue;
|
|
3179
3175
|
}
|
|
3180
3176
|
if (Qt(c)) {
|
|
3181
|
-
var d = typeof c.style == "string" ? n.date[c.style] :
|
|
3177
|
+
var d = typeof c.style == "string" ? n.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
|
|
3182
3178
|
s.push({
|
|
3183
3179
|
type: W.literal,
|
|
3184
|
-
value: i.getDateTimeFormat(t, d).format(
|
|
3180
|
+
value: i.getDateTimeFormat(t, d).format(p)
|
|
3185
3181
|
});
|
|
3186
3182
|
continue;
|
|
3187
3183
|
}
|
|
3188
3184
|
if (Kt(c)) {
|
|
3189
|
-
var d = typeof c.style == "string" ? n.time[c.style] :
|
|
3185
|
+
var d = typeof c.style == "string" ? n.time[c.style] : ct(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3190
3186
|
s.push({
|
|
3191
3187
|
type: W.literal,
|
|
3192
|
-
value: i.getDateTimeFormat(t, d).format(
|
|
3188
|
+
value: i.getDateTimeFormat(t, d).format(p)
|
|
3193
3189
|
});
|
|
3194
3190
|
continue;
|
|
3195
3191
|
}
|
|
3196
3192
|
if (Jt(c)) {
|
|
3197
3193
|
var d = typeof c.style == "string" ? n.number[c.style] : ni(c.style) ? c.style.parsedOptions : void 0;
|
|
3198
|
-
d && d.scale && (
|
|
3194
|
+
d && d.scale && (p = p * (d.scale || 1)), s.push({
|
|
3199
3195
|
type: W.literal,
|
|
3200
|
-
value: i.getNumberFormat(t, d).format(
|
|
3196
|
+
value: i.getNumberFormat(t, d).format(p)
|
|
3201
3197
|
});
|
|
3202
3198
|
continue;
|
|
3203
3199
|
}
|
|
3204
3200
|
if (ii(c)) {
|
|
3205
3201
|
var E = c.children, _ = c.value, y = r[_];
|
|
3206
|
-
if (!
|
|
3207
|
-
throw new
|
|
3208
|
-
var v =
|
|
3209
|
-
return
|
|
3202
|
+
if (!Fn(y))
|
|
3203
|
+
throw new Gn(_, "function", a);
|
|
3204
|
+
var v = ze(E, t, i, n, r, o), M = y(v.map(function(A) {
|
|
3205
|
+
return A.value;
|
|
3210
3206
|
}));
|
|
3211
|
-
Array.isArray(
|
|
3207
|
+
Array.isArray(M) || (M = [M]), s.push.apply(s, M.map(function(A) {
|
|
3212
3208
|
return {
|
|
3213
|
-
type: typeof
|
|
3214
|
-
value:
|
|
3209
|
+
type: typeof A == "string" ? W.literal : W.object,
|
|
3210
|
+
value: A
|
|
3215
3211
|
};
|
|
3216
3212
|
}));
|
|
3217
3213
|
}
|
|
3218
3214
|
if (ei(c)) {
|
|
3219
|
-
var w = c.options[
|
|
3215
|
+
var w = c.options[p] || c.options.other;
|
|
3220
3216
|
if (!w)
|
|
3221
|
-
throw new Mt(c.value,
|
|
3222
|
-
s.push.apply(s,
|
|
3217
|
+
throw new Mt(c.value, p, Object.keys(c.options), a);
|
|
3218
|
+
s.push.apply(s, ze(w.value, t, i, n, r));
|
|
3223
3219
|
continue;
|
|
3224
3220
|
}
|
|
3225
3221
|
if (ti(c)) {
|
|
3226
|
-
var w = c.options["=".concat(
|
|
3222
|
+
var w = c.options["=".concat(p)];
|
|
3227
3223
|
if (!w) {
|
|
3228
3224
|
if (!Intl.PluralRules)
|
|
3229
|
-
throw new
|
|
3225
|
+
throw new Ze(`Intl.PluralRules is not available in this environment.
|
|
3230
3226
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3231
|
-
`,
|
|
3232
|
-
var
|
|
3233
|
-
w = c.options[
|
|
3227
|
+
`, _e.MISSING_INTL_API, a);
|
|
3228
|
+
var D = i.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3229
|
+
w = c.options[D] || c.options.other;
|
|
3234
3230
|
}
|
|
3235
3231
|
if (!w)
|
|
3236
|
-
throw new Mt(c.value,
|
|
3237
|
-
s.push.apply(s,
|
|
3232
|
+
throw new Mt(c.value, p, Object.keys(c.options), a);
|
|
3233
|
+
s.push.apply(s, ze(w.value, t, i, n, r, p - (c.offset || 0)));
|
|
3238
3234
|
continue;
|
|
3239
3235
|
}
|
|
3240
3236
|
}
|
|
3241
|
-
return
|
|
3237
|
+
return zn(s);
|
|
3242
3238
|
}
|
|
3243
|
-
function
|
|
3244
|
-
return t ?
|
|
3245
|
-
return i[n] =
|
|
3239
|
+
function Vn(e, t) {
|
|
3240
|
+
return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
|
|
3241
|
+
return i[n] = k(k({}, e[n]), t[n] || {}), i;
|
|
3246
3242
|
}, {})) : e;
|
|
3247
3243
|
}
|
|
3248
|
-
function
|
|
3244
|
+
function Xn(e, t) {
|
|
3249
3245
|
return t ? Object.keys(e).reduce(function(i, n) {
|
|
3250
|
-
return i[n] =
|
|
3251
|
-
},
|
|
3246
|
+
return i[n] = Vn(e[n], t[n]), i;
|
|
3247
|
+
}, k({}, e)) : e;
|
|
3252
3248
|
}
|
|
3253
|
-
function
|
|
3249
|
+
function ot(e) {
|
|
3254
3250
|
return {
|
|
3255
3251
|
create: function() {
|
|
3256
3252
|
return {
|
|
@@ -3264,39 +3260,39 @@ function at(e) {
|
|
|
3264
3260
|
}
|
|
3265
3261
|
};
|
|
3266
3262
|
}
|
|
3267
|
-
function
|
|
3263
|
+
function qn(e) {
|
|
3268
3264
|
return e === void 0 && (e = {
|
|
3269
3265
|
number: {},
|
|
3270
3266
|
dateTime: {},
|
|
3271
3267
|
pluralRules: {}
|
|
3272
3268
|
}), {
|
|
3273
|
-
getNumberFormat:
|
|
3269
|
+
getNumberFormat: it(function() {
|
|
3274
3270
|
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3275
3271
|
i[n] = arguments[n];
|
|
3276
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3272
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], i, !1)))();
|
|
3277
3273
|
}, {
|
|
3278
|
-
cache:
|
|
3279
|
-
strategy:
|
|
3274
|
+
cache: ot(e.number),
|
|
3275
|
+
strategy: nt.variadic
|
|
3280
3276
|
}),
|
|
3281
|
-
getDateTimeFormat:
|
|
3277
|
+
getDateTimeFormat: it(function() {
|
|
3282
3278
|
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3283
3279
|
i[n] = arguments[n];
|
|
3284
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3280
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], i, !1)))();
|
|
3285
3281
|
}, {
|
|
3286
|
-
cache:
|
|
3287
|
-
strategy:
|
|
3282
|
+
cache: ot(e.dateTime),
|
|
3283
|
+
strategy: nt.variadic
|
|
3288
3284
|
}),
|
|
3289
|
-
getPluralRules:
|
|
3285
|
+
getPluralRules: it(function() {
|
|
3290
3286
|
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3291
3287
|
i[n] = arguments[n];
|
|
3292
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3288
|
+
return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], i, !1)))();
|
|
3293
3289
|
}, {
|
|
3294
|
-
cache:
|
|
3295
|
-
strategy:
|
|
3290
|
+
cache: ot(e.pluralRules),
|
|
3291
|
+
strategy: nt.variadic
|
|
3296
3292
|
})
|
|
3297
3293
|
};
|
|
3298
3294
|
}
|
|
3299
|
-
var
|
|
3295
|
+
var Wn = (
|
|
3300
3296
|
/** @class */
|
|
3301
3297
|
function() {
|
|
3302
3298
|
function e(t, i, n, r) {
|
|
@@ -3310,12 +3306,12 @@ var Zn = (
|
|
|
3310
3306
|
var l = o.formatToParts(u);
|
|
3311
3307
|
if (l.length === 1)
|
|
3312
3308
|
return l[0].value;
|
|
3313
|
-
var c = l.reduce(function(
|
|
3314
|
-
return !
|
|
3309
|
+
var c = l.reduce(function(m, p) {
|
|
3310
|
+
return !m.length || p.type !== W.literal || typeof m[m.length - 1] != "string" ? m.push(p.value) : m[m.length - 1] += p.value, m;
|
|
3315
3311
|
}, []);
|
|
3316
3312
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3317
3313
|
}, this.formatToParts = function(u) {
|
|
3318
|
-
return
|
|
3314
|
+
return ze(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3319
3315
|
}, this.resolvedOptions = function() {
|
|
3320
3316
|
var u;
|
|
3321
3317
|
return {
|
|
@@ -3329,12 +3325,12 @@ var Zn = (
|
|
|
3329
3325
|
var a = r || {};
|
|
3330
3326
|
a.formatters;
|
|
3331
3327
|
var s = rn(a, ["formatters"]);
|
|
3332
|
-
this.ast = e.__parse(t,
|
|
3328
|
+
this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
|
|
3333
3329
|
} else
|
|
3334
3330
|
this.ast = t;
|
|
3335
3331
|
if (!Array.isArray(this.ast))
|
|
3336
3332
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3337
|
-
this.formats =
|
|
3333
|
+
this.formats = Xn(e.formats, n), this.formatters = r && r.formatters || qn(this.formatterCache);
|
|
3338
3334
|
}
|
|
3339
3335
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3340
3336
|
get: function() {
|
|
@@ -3347,7 +3343,7 @@ var Zn = (
|
|
|
3347
3343
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3348
3344
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3349
3345
|
}
|
|
3350
|
-
}, e.__parse =
|
|
3346
|
+
}, e.__parse = jn, e.formats = {
|
|
3351
3347
|
number: {
|
|
3352
3348
|
integer: {
|
|
3353
3349
|
maximumFractionDigits: 0
|
|
@@ -3408,7 +3404,7 @@ var Zn = (
|
|
|
3408
3404
|
}, e;
|
|
3409
3405
|
}()
|
|
3410
3406
|
);
|
|
3411
|
-
function
|
|
3407
|
+
function Zn(e, t) {
|
|
3412
3408
|
if (t == null)
|
|
3413
3409
|
return;
|
|
3414
3410
|
if (t in e)
|
|
@@ -3429,92 +3425,92 @@ function Yn(e, t) {
|
|
|
3429
3425
|
n = void 0;
|
|
3430
3426
|
return n;
|
|
3431
3427
|
}
|
|
3432
|
-
const
|
|
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) => {
|
|
3433
3429
|
if (t == null)
|
|
3434
3430
|
return;
|
|
3435
|
-
if (t in
|
|
3436
|
-
return
|
|
3437
|
-
const i =
|
|
3431
|
+
if (t in ae && e in ae[t])
|
|
3432
|
+
return ae[t][e];
|
|
3433
|
+
const i = Ye(t);
|
|
3438
3434
|
for (let n = 0; n < i.length; n++) {
|
|
3439
|
-
const r = i[n], o =
|
|
3435
|
+
const r = i[n], o = Qn(r, e);
|
|
3440
3436
|
if (o)
|
|
3441
|
-
return
|
|
3437
|
+
return Yn(e, t, o);
|
|
3442
3438
|
}
|
|
3443
3439
|
};
|
|
3444
3440
|
let _t;
|
|
3445
|
-
const
|
|
3446
|
-
function
|
|
3441
|
+
const Me = qe({});
|
|
3442
|
+
function Jn(e) {
|
|
3447
3443
|
return _t[e] || null;
|
|
3448
3444
|
}
|
|
3449
3445
|
function fi(e) {
|
|
3450
3446
|
return e in _t;
|
|
3451
3447
|
}
|
|
3452
|
-
function
|
|
3448
|
+
function Qn(e, t) {
|
|
3453
3449
|
if (!fi(e))
|
|
3454
3450
|
return null;
|
|
3455
|
-
const i =
|
|
3456
|
-
return
|
|
3451
|
+
const i = Jn(e);
|
|
3452
|
+
return Zn(i, t);
|
|
3457
3453
|
}
|
|
3458
|
-
function
|
|
3454
|
+
function Kn(e) {
|
|
3459
3455
|
if (e == null)
|
|
3460
3456
|
return;
|
|
3461
|
-
const t =
|
|
3457
|
+
const t = Ye(e);
|
|
3462
3458
|
for (let i = 0; i < t.length; i++) {
|
|
3463
3459
|
const n = t[i];
|
|
3464
3460
|
if (fi(n))
|
|
3465
3461
|
return n;
|
|
3466
3462
|
}
|
|
3467
3463
|
}
|
|
3468
|
-
function
|
|
3469
|
-
delete
|
|
3464
|
+
function mi(e, ...t) {
|
|
3465
|
+
delete ae[e], Me.update((i) => (i[e] = nn.all([i[e] || {}, ...t]), i));
|
|
3470
3466
|
}
|
|
3471
|
-
|
|
3472
|
-
[
|
|
3467
|
+
Te(
|
|
3468
|
+
[Me],
|
|
3473
3469
|
([e]) => Object.keys(e)
|
|
3474
3470
|
);
|
|
3475
|
-
|
|
3476
|
-
const
|
|
3477
|
-
function
|
|
3478
|
-
|
|
3471
|
+
Me.subscribe((e) => _t = e);
|
|
3472
|
+
const Fe = {};
|
|
3473
|
+
function er(e, t) {
|
|
3474
|
+
Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
|
|
3479
3475
|
}
|
|
3480
|
-
function
|
|
3481
|
-
return
|
|
3476
|
+
function pi(e) {
|
|
3477
|
+
return Fe[e];
|
|
3482
3478
|
}
|
|
3483
|
-
function
|
|
3484
|
-
return
|
|
3485
|
-
const i =
|
|
3479
|
+
function tr(e) {
|
|
3480
|
+
return Ye(e).map((t) => {
|
|
3481
|
+
const i = pi(t);
|
|
3486
3482
|
return [t, i ? [...i] : []];
|
|
3487
3483
|
}).filter(([, t]) => t.length > 0);
|
|
3488
3484
|
}
|
|
3489
|
-
function
|
|
3490
|
-
return e == null ? !1 :
|
|
3485
|
+
function bt(e) {
|
|
3486
|
+
return e == null ? !1 : Ye(e).some(
|
|
3491
3487
|
(t) => {
|
|
3492
3488
|
var i;
|
|
3493
|
-
return (i =
|
|
3489
|
+
return (i = pi(t)) == null ? void 0 : i.size;
|
|
3494
3490
|
}
|
|
3495
3491
|
);
|
|
3496
3492
|
}
|
|
3497
|
-
function
|
|
3493
|
+
function ir(e, t) {
|
|
3498
3494
|
return Promise.all(
|
|
3499
|
-
t.map((n) => (
|
|
3500
|
-
).then((n) =>
|
|
3495
|
+
t.map((n) => (er(e, n), n().then((r) => r.default || r)))
|
|
3496
|
+
).then((n) => mi(e, ...n));
|
|
3501
3497
|
}
|
|
3502
|
-
const
|
|
3498
|
+
const Ie = {};
|
|
3503
3499
|
function di(e) {
|
|
3504
|
-
if (!
|
|
3505
|
-
return e in
|
|
3506
|
-
const t =
|
|
3507
|
-
return
|
|
3500
|
+
if (!bt(e))
|
|
3501
|
+
return e in Ie ? Ie[e] : Promise.resolve();
|
|
3502
|
+
const t = tr(e);
|
|
3503
|
+
return Ie[e] = Promise.all(
|
|
3508
3504
|
t.map(
|
|
3509
|
-
([i, n]) =>
|
|
3505
|
+
([i, n]) => ir(i, n)
|
|
3510
3506
|
)
|
|
3511
3507
|
).then(() => {
|
|
3512
|
-
if (
|
|
3508
|
+
if (bt(e))
|
|
3513
3509
|
return di(e);
|
|
3514
|
-
delete
|
|
3515
|
-
}),
|
|
3510
|
+
delete Ie[e];
|
|
3511
|
+
}), Ie[e];
|
|
3516
3512
|
}
|
|
3517
|
-
const
|
|
3513
|
+
const nr = {
|
|
3518
3514
|
number: {
|
|
3519
3515
|
scientific: { notation: "scientific" },
|
|
3520
3516
|
engineering: { notation: "engineering" },
|
|
@@ -3543,141 +3539,141 @@ const rr = {
|
|
|
3543
3539
|
timeZoneName: "short"
|
|
3544
3540
|
}
|
|
3545
3541
|
}
|
|
3546
|
-
},
|
|
3542
|
+
}, rr = {
|
|
3547
3543
|
fallbackLocale: null,
|
|
3548
3544
|
loadingDelay: 200,
|
|
3549
|
-
formats:
|
|
3545
|
+
formats: nr,
|
|
3550
3546
|
warnOnMissingMessages: !0,
|
|
3551
3547
|
handleMissingMessage: void 0,
|
|
3552
3548
|
ignoreTag: !0
|
|
3553
|
-
},
|
|
3554
|
-
function
|
|
3555
|
-
return
|
|
3549
|
+
}, or = rr;
|
|
3550
|
+
function xe() {
|
|
3551
|
+
return or;
|
|
3556
3552
|
}
|
|
3557
|
-
const
|
|
3558
|
-
var
|
|
3553
|
+
const st = qe(!1);
|
|
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) => {
|
|
3559
3555
|
for (var i in t || (t = {}))
|
|
3560
|
-
|
|
3556
|
+
ur.call(t, i) && Rt(e, i, t[i]);
|
|
3561
3557
|
if (Dt)
|
|
3562
3558
|
for (var i of Dt(t))
|
|
3563
|
-
|
|
3559
|
+
cr.call(t, i) && Rt(e, i, t[i]);
|
|
3564
3560
|
return e;
|
|
3565
|
-
},
|
|
3566
|
-
let
|
|
3567
|
-
const
|
|
3561
|
+
}, fr = (e, t) => ar(e, lr(t));
|
|
3562
|
+
let gt;
|
|
3563
|
+
const Ve = qe(null);
|
|
3568
3564
|
function Ut(e) {
|
|
3569
3565
|
return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
|
|
3570
3566
|
}
|
|
3571
|
-
function
|
|
3567
|
+
function Ye(e, t = xe().fallbackLocale) {
|
|
3572
3568
|
const i = Ut(e);
|
|
3573
3569
|
return t ? [.../* @__PURE__ */ new Set([...i, ...Ut(t)])] : i;
|
|
3574
3570
|
}
|
|
3575
|
-
function
|
|
3576
|
-
return
|
|
3571
|
+
function ce() {
|
|
3572
|
+
return gt ?? void 0;
|
|
3577
3573
|
}
|
|
3578
|
-
|
|
3579
|
-
|
|
3574
|
+
Ve.subscribe((e) => {
|
|
3575
|
+
gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3580
3576
|
});
|
|
3581
3577
|
const mr = (e) => {
|
|
3582
|
-
if (e &&
|
|
3583
|
-
const { loadingDelay: t } =
|
|
3578
|
+
if (e && Kn(e) && bt(e)) {
|
|
3579
|
+
const { loadingDelay: t } = xe();
|
|
3584
3580
|
let i;
|
|
3585
|
-
return typeof window < "u" &&
|
|
3586
|
-
() =>
|
|
3581
|
+
return typeof window < "u" && ce() != null && t ? i = window.setTimeout(
|
|
3582
|
+
() => st.set(!0),
|
|
3587
3583
|
t
|
|
3588
|
-
) :
|
|
3589
|
-
|
|
3584
|
+
) : st.set(!0), di(e).then(() => {
|
|
3585
|
+
Ve.set(e);
|
|
3590
3586
|
}).finally(() => {
|
|
3591
|
-
clearTimeout(i),
|
|
3587
|
+
clearTimeout(i), st.set(!1);
|
|
3592
3588
|
});
|
|
3593
3589
|
}
|
|
3594
|
-
return
|
|
3595
|
-
},
|
|
3590
|
+
return Ve.set(e);
|
|
3591
|
+
}, Pe = fr(hr({}, Ve), {
|
|
3596
3592
|
set: mr
|
|
3597
|
-
}),
|
|
3593
|
+
}), Je = (e) => {
|
|
3598
3594
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3599
3595
|
return (n) => {
|
|
3600
3596
|
const r = JSON.stringify(n);
|
|
3601
3597
|
return r in t ? t[r] : t[r] = e(n);
|
|
3602
3598
|
};
|
|
3603
3599
|
};
|
|
3604
|
-
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) => {
|
|
3605
3601
|
for (var i in t || (t = {}))
|
|
3606
|
-
|
|
3607
|
-
if (
|
|
3608
|
-
for (var i of
|
|
3609
|
-
|
|
3602
|
+
bi.call(t, i) && jt(e, i, t[i]);
|
|
3603
|
+
if (Xe)
|
|
3604
|
+
for (var i of Xe(t))
|
|
3605
|
+
gi.call(t, i) && jt(e, i, t[i]);
|
|
3610
3606
|
return e;
|
|
3611
|
-
},
|
|
3607
|
+
}, we = (e, t) => {
|
|
3612
3608
|
var i = {};
|
|
3613
3609
|
for (var n in e)
|
|
3614
|
-
|
|
3615
|
-
if (e != null &&
|
|
3616
|
-
for (var n of
|
|
3617
|
-
t.indexOf(n) < 0 &&
|
|
3610
|
+
bi.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
3611
|
+
if (e != null && Xe)
|
|
3612
|
+
for (var n of Xe(e))
|
|
3613
|
+
t.indexOf(n) < 0 && gi.call(e, n) && (i[n] = e[n]);
|
|
3618
3614
|
return i;
|
|
3619
3615
|
};
|
|
3620
|
-
const
|
|
3621
|
-
const { formats: i } =
|
|
3616
|
+
const Oe = (e, t) => {
|
|
3617
|
+
const { formats: i } = xe();
|
|
3622
3618
|
if (e in i && t in i[e])
|
|
3623
3619
|
return i[e][t];
|
|
3624
3620
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3625
|
-
},
|
|
3621
|
+
}, dr = Je(
|
|
3626
3622
|
(e) => {
|
|
3627
|
-
var t = e, { locale: i, format: n } = t, r =
|
|
3623
|
+
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3628
3624
|
if (i == null)
|
|
3629
3625
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3630
|
-
return n && (r =
|
|
3626
|
+
return n && (r = Oe("number", n)), new Intl.NumberFormat(i, r);
|
|
3631
3627
|
}
|
|
3632
|
-
), br =
|
|
3628
|
+
), br = Je(
|
|
3633
3629
|
(e) => {
|
|
3634
|
-
var t = e, { locale: i, format: n } = t, r =
|
|
3630
|
+
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3635
3631
|
if (i == null)
|
|
3636
3632
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3637
|
-
return n ? r =
|
|
3633
|
+
return n ? r = Oe("date", n) : Object.keys(r).length === 0 && (r = Oe("date", "short")), new Intl.DateTimeFormat(i, r);
|
|
3638
3634
|
}
|
|
3639
|
-
),
|
|
3635
|
+
), gr = Je(
|
|
3640
3636
|
(e) => {
|
|
3641
|
-
var t = e, { locale: i, format: n } = t, r =
|
|
3637
|
+
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3642
3638
|
if (i == null)
|
|
3643
3639
|
throw new Error(
|
|
3644
3640
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3645
3641
|
);
|
|
3646
|
-
return n ? r =
|
|
3642
|
+
return n ? r = Oe("time", n) : Object.keys(r).length === 0 && (r = Oe("time", "short")), new Intl.DateTimeFormat(i, r);
|
|
3647
3643
|
}
|
|
3648
|
-
),
|
|
3644
|
+
), yr = (e = {}) => {
|
|
3649
3645
|
var t = e, {
|
|
3650
|
-
locale: i =
|
|
3651
|
-
} = t, n =
|
|
3646
|
+
locale: i = ce()
|
|
3647
|
+
} = t, n = we(t, [
|
|
3652
3648
|
"locale"
|
|
3653
3649
|
]);
|
|
3654
|
-
return
|
|
3655
|
-
},
|
|
3650
|
+
return dr(xt({ locale: i }, n));
|
|
3651
|
+
}, vr = (e = {}) => {
|
|
3656
3652
|
var t = e, {
|
|
3657
|
-
locale: i =
|
|
3658
|
-
} = t, n =
|
|
3653
|
+
locale: i = ce()
|
|
3654
|
+
} = t, n = we(t, [
|
|
3659
3655
|
"locale"
|
|
3660
3656
|
]);
|
|
3661
3657
|
return br(xt({ locale: i }, n));
|
|
3662
|
-
},
|
|
3658
|
+
}, Er = (e = {}) => {
|
|
3663
3659
|
var t = e, {
|
|
3664
|
-
locale: i =
|
|
3665
|
-
} = t, n =
|
|
3660
|
+
locale: i = ce()
|
|
3661
|
+
} = t, n = we(t, [
|
|
3666
3662
|
"locale"
|
|
3667
3663
|
]);
|
|
3668
|
-
return
|
|
3669
|
-
},
|
|
3664
|
+
return gr(xt({ locale: i }, n));
|
|
3665
|
+
}, _r = Je(
|
|
3670
3666
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3671
|
-
(e, t =
|
|
3672
|
-
ignoreTag:
|
|
3667
|
+
(e, t = ce()) => new Wn(e, t, xe().formats, {
|
|
3668
|
+
ignoreTag: xe().ignoreTag
|
|
3673
3669
|
})
|
|
3674
|
-
),
|
|
3670
|
+
), xr = (e, t = {}) => {
|
|
3675
3671
|
var i, n, r, o;
|
|
3676
3672
|
let a = t;
|
|
3677
3673
|
typeof e == "object" && (a = e, e = a.id);
|
|
3678
3674
|
const {
|
|
3679
3675
|
values: s,
|
|
3680
|
-
locale: u =
|
|
3676
|
+
locale: u = ce(),
|
|
3681
3677
|
default: l
|
|
3682
3678
|
} = a;
|
|
3683
3679
|
if (u == null)
|
|
@@ -3686,33 +3682,33 @@ const Me = (e, t) => {
|
|
|
3686
3682
|
);
|
|
3687
3683
|
let c = hi(e, u);
|
|
3688
3684
|
if (!c)
|
|
3689
|
-
c = (o = (r = (n = (i =
|
|
3685
|
+
c = (o = (r = (n = (i = xe()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
|
|
3690
3686
|
else if (typeof c != "string")
|
|
3691
3687
|
return console.warn(
|
|
3692
3688
|
`[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.`
|
|
3693
3689
|
), c;
|
|
3694
3690
|
if (!s)
|
|
3695
3691
|
return c;
|
|
3696
|
-
let
|
|
3692
|
+
let m = c;
|
|
3697
3693
|
try {
|
|
3698
|
-
|
|
3699
|
-
} catch (
|
|
3700
|
-
|
|
3694
|
+
m = _r(c, u).format(s);
|
|
3695
|
+
} catch (p) {
|
|
3696
|
+
p instanceof Error && console.warn(
|
|
3701
3697
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3702
|
-
|
|
3698
|
+
p.message
|
|
3703
3699
|
);
|
|
3704
3700
|
}
|
|
3705
|
-
return
|
|
3706
|
-
},
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3701
|
+
return m;
|
|
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);
|
|
3703
|
+
Te([Pe], () => Tr);
|
|
3704
|
+
Te([Pe], () => Pr);
|
|
3705
|
+
Te([Pe], () => wr);
|
|
3706
|
+
Te([Pe, Me], () => Br);
|
|
3711
3707
|
function Gt(e, t) {
|
|
3712
|
-
|
|
3708
|
+
mi(e, t);
|
|
3713
3709
|
}
|
|
3714
3710
|
function Ar(e) {
|
|
3715
|
-
|
|
3711
|
+
Pe.set(e);
|
|
3716
3712
|
}
|
|
3717
3713
|
const $t = {
|
|
3718
3714
|
en: {
|
|
@@ -3975,13 +3971,13 @@ const $t = {
|
|
|
3975
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."
|
|
3976
3972
|
}
|
|
3977
3973
|
};
|
|
3978
|
-
function
|
|
3974
|
+
function Sr(e, t) {
|
|
3979
3975
|
if (e) {
|
|
3980
3976
|
const i = document.createElement("style");
|
|
3981
3977
|
i.innerHTML = t, e.appendChild(i);
|
|
3982
3978
|
}
|
|
3983
3979
|
}
|
|
3984
|
-
function
|
|
3980
|
+
function Ir(e, t) {
|
|
3985
3981
|
if (!e || !t)
|
|
3986
3982
|
return;
|
|
3987
3983
|
const i = new URL(t);
|
|
@@ -3992,7 +3988,7 @@ function kr(e, t) {
|
|
|
3992
3988
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3993
3989
|
});
|
|
3994
3990
|
}
|
|
3995
|
-
function
|
|
3991
|
+
function kr(e, t, i) {
|
|
3996
3992
|
if (window.emMessageBus) {
|
|
3997
3993
|
const n = document.createElement("style");
|
|
3998
3994
|
window.emMessageBus.subscribe(t, (r) => {
|
|
@@ -4000,42 +3996,42 @@ function Hr(e, t, i) {
|
|
|
4000
3996
|
});
|
|
4001
3997
|
}
|
|
4002
3998
|
}
|
|
4003
|
-
function
|
|
3999
|
+
function Hr(e) {
|
|
4004
4000
|
Ei(e, "svelte-1a4l86f", ':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, #22B04E));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)}');
|
|
4005
4001
|
}
|
|
4006
|
-
function
|
|
4002
|
+
function Cr(e) {
|
|
4007
4003
|
let t;
|
|
4008
4004
|
function i(o, a) {
|
|
4009
4005
|
if (
|
|
4010
4006
|
/*popupState*/
|
|
4011
4007
|
o[10] === "initial"
|
|
4012
4008
|
)
|
|
4013
|
-
return
|
|
4009
|
+
return Ur;
|
|
4014
4010
|
if (
|
|
4015
4011
|
/*popupState*/
|
|
4016
4012
|
o[10] === "successful"
|
|
4017
4013
|
)
|
|
4018
|
-
return
|
|
4014
|
+
return Rr;
|
|
4019
4015
|
if (
|
|
4020
4016
|
/*popupState*/
|
|
4021
4017
|
o[10] === "KYC"
|
|
4022
4018
|
)
|
|
4023
|
-
return
|
|
4019
|
+
return Dr;
|
|
4024
4020
|
if (
|
|
4025
4021
|
/*popupState*/
|
|
4026
4022
|
o[10] === "KYC2"
|
|
4027
4023
|
)
|
|
4028
|
-
return
|
|
4024
|
+
return Mr;
|
|
4029
4025
|
if (
|
|
4030
4026
|
/*popupState*/
|
|
4031
4027
|
o[10] === "error"
|
|
4032
4028
|
)
|
|
4033
|
-
return
|
|
4029
|
+
return Or;
|
|
4034
4030
|
}
|
|
4035
4031
|
let n = i(e), r = n && n(e);
|
|
4036
4032
|
return {
|
|
4037
4033
|
c() {
|
|
4038
|
-
t =
|
|
4034
|
+
t = g("div"), r && r.c(), h(t, "class", "InitialWrapper");
|
|
4039
4035
|
},
|
|
4040
4036
|
m(o, a) {
|
|
4041
4037
|
T(o, t, a), r && r.m(t, null);
|
|
@@ -4048,14 +4044,14 @@ function Nr(e) {
|
|
|
4048
4044
|
}
|
|
4049
4045
|
};
|
|
4050
4046
|
}
|
|
4051
|
-
function
|
|
4047
|
+
function Nr(e) {
|
|
4052
4048
|
let t, i = (
|
|
4053
4049
|
/*$_*/
|
|
4054
4050
|
e[12]("loading") + ""
|
|
4055
4051
|
), n;
|
|
4056
4052
|
return {
|
|
4057
4053
|
c() {
|
|
4058
|
-
t =
|
|
4054
|
+
t = g("p"), n = L(i);
|
|
4059
4055
|
},
|
|
4060
4056
|
m(r, o) {
|
|
4061
4057
|
T(r, t, o), f(t, n);
|
|
@@ -4063,31 +4059,31 @@ function Or(e) {
|
|
|
4063
4059
|
p(r, o) {
|
|
4064
4060
|
o[0] & /*$_*/
|
|
4065
4061
|
4096 && i !== (i = /*$_*/
|
|
4066
|
-
r[12]("loading") + "") &&
|
|
4062
|
+
r[12]("loading") + "") && H(n, i);
|
|
4067
4063
|
},
|
|
4068
4064
|
d(r) {
|
|
4069
4065
|
r && x(t);
|
|
4070
4066
|
}
|
|
4071
4067
|
};
|
|
4072
4068
|
}
|
|
4073
|
-
function
|
|
4069
|
+
function Or(e) {
|
|
4074
4070
|
let t, i = (
|
|
4075
4071
|
/*$_*/
|
|
4076
4072
|
e[12]("depositError") + ""
|
|
4077
4073
|
), n, r, o, a, s, u = (
|
|
4078
4074
|
/*$_*/
|
|
4079
4075
|
e[12]("errorDescription") + ""
|
|
4080
|
-
), l, c,
|
|
4076
|
+
), l, c, m, p = (
|
|
4081
4077
|
/*$_*/
|
|
4082
4078
|
e[12]("closeButton") + ""
|
|
4083
4079
|
), d, E, _;
|
|
4084
4080
|
return {
|
|
4085
4081
|
c() {
|
|
4086
|
-
t =
|
|
4082
|
+
t = g("p"), n = L(i), r = O(), o = g("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', a = O(), s = g("p"), l = L(u), c = O(), m = g("button"), d = L(p), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(m, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4087
4083
|
},
|
|
4088
4084
|
m(y, v) {
|
|
4089
|
-
T(y, t, v), f(t, n), T(y, r, v), T(y, o, v), T(y, a, v), T(y, s, v), f(s, l), T(y, c, v), T(y,
|
|
4090
|
-
|
|
4085
|
+
T(y, t, v), f(t, n), T(y, r, v), T(y, o, v), T(y, a, v), T(y, s, v), f(s, l), T(y, c, v), T(y, m, v), f(m, d), E || (_ = Z(
|
|
4086
|
+
m,
|
|
4091
4087
|
"click",
|
|
4092
4088
|
/*click_handler_10*/
|
|
4093
4089
|
e[37]
|
|
@@ -4096,43 +4092,43 @@ function Mr(e) {
|
|
|
4096
4092
|
p(y, v) {
|
|
4097
4093
|
v[0] & /*$_*/
|
|
4098
4094
|
4096 && i !== (i = /*$_*/
|
|
4099
|
-
y[12]("depositError") + "") &&
|
|
4095
|
+
y[12]("depositError") + "") && H(n, i), v[0] & /*$_*/
|
|
4100
4096
|
4096 && u !== (u = /*$_*/
|
|
4101
|
-
y[12]("errorDescription") + "") &&
|
|
4102
|
-
4096 &&
|
|
4103
|
-
y[12]("closeButton") + "") &&
|
|
4097
|
+
y[12]("errorDescription") + "") && H(l, u), v[0] & /*$_*/
|
|
4098
|
+
4096 && p !== (p = /*$_*/
|
|
4099
|
+
y[12]("closeButton") + "") && H(d, p);
|
|
4104
4100
|
},
|
|
4105
4101
|
d(y) {
|
|
4106
|
-
y && (x(t), x(r), x(o), x(a), x(s), x(c), x(
|
|
4102
|
+
y && (x(t), x(r), x(o), x(a), x(s), x(c), x(m)), E = !1, _();
|
|
4107
4103
|
}
|
|
4108
4104
|
};
|
|
4109
4105
|
}
|
|
4110
|
-
function
|
|
4106
|
+
function Mr(e) {
|
|
4111
4107
|
let t, i = (
|
|
4112
4108
|
/*$_*/
|
|
4113
4109
|
e[12]("docsRequired") + ""
|
|
4114
|
-
), n, r, o, a, s, u, l, c,
|
|
4110
|
+
), n, r, o, a, s, u, l, c, m, p = (
|
|
4115
4111
|
/*$_*/
|
|
4116
4112
|
e[12]("docsRequired") + ""
|
|
4117
4113
|
), d, E, _, y = (
|
|
4118
4114
|
/*$_*/
|
|
4119
4115
|
e[12]("kyc2") + ""
|
|
4120
|
-
), v,
|
|
4116
|
+
), v, M, w, D = (
|
|
4121
4117
|
/*$_*/
|
|
4122
4118
|
e[12]("kycButton") + ""
|
|
4123
|
-
),
|
|
4119
|
+
), A, R, F, C = (
|
|
4124
4120
|
/*$_*/
|
|
4125
4121
|
e[12]("closeButton") + ""
|
|
4126
|
-
),
|
|
4122
|
+
), U, $, X;
|
|
4127
4123
|
return {
|
|
4128
4124
|
c() {
|
|
4129
|
-
t =
|
|
4125
|
+
t = g("p"), n = L(i), r = O(), o = g("div"), a = g("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = O(), m = g("p"), d = L(p), E = O(), _ = g("p"), v = L(y), M = O(), w = g("button"), A = L(D), R = O(), F = g("button"), U = L(C), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4130
4126
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4131
4127
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4132
|
-
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"),
|
|
4128
|
+
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), ke(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(_, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(w, "class", "KycButton PrimaryButtonStyle"), h(F, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4133
4129
|
},
|
|
4134
|
-
m(P,
|
|
4135
|
-
T(P, t,
|
|
4130
|
+
m(P, j) {
|
|
4131
|
+
T(P, t, j), f(t, n), T(P, r, j), T(P, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, m), f(m, d), f(o, E), f(o, _), f(_, v), T(P, M, j), T(P, w, j), f(w, A), T(P, R, j), T(P, F, j), f(F, U), $ || (X = [
|
|
4136
4132
|
Z(
|
|
4137
4133
|
w,
|
|
4138
4134
|
"click",
|
|
@@ -4140,68 +4136,68 @@ function Dr(e) {
|
|
|
4140
4136
|
e[35]
|
|
4141
4137
|
),
|
|
4142
4138
|
Z(
|
|
4143
|
-
|
|
4139
|
+
F,
|
|
4144
4140
|
"click",
|
|
4145
4141
|
/*click_handler_9*/
|
|
4146
4142
|
e[36]
|
|
4147
4143
|
)
|
|
4148
|
-
],
|
|
4144
|
+
], $ = !0);
|
|
4149
4145
|
},
|
|
4150
|
-
p(P,
|
|
4151
|
-
|
|
4146
|
+
p(P, j) {
|
|
4147
|
+
j[0] & /*$_*/
|
|
4152
4148
|
4096 && i !== (i = /*$_*/
|
|
4153
|
-
P[12]("docsRequired") + "") &&
|
|
4154
|
-
4096 &&
|
|
4155
|
-
P[12]("docsRequired") + "") &&
|
|
4149
|
+
P[12]("docsRequired") + "") && H(n, i), j[0] & /*$_*/
|
|
4150
|
+
4096 && p !== (p = /*$_*/
|
|
4151
|
+
P[12]("docsRequired") + "") && H(d, p), j[0] & /*$_*/
|
|
4156
4152
|
4096 && y !== (y = /*$_*/
|
|
4157
|
-
P[12]("kyc2") + "") &&
|
|
4158
|
-
4096 &&
|
|
4159
|
-
P[12]("kycButton") + "") &&
|
|
4160
|
-
4096 &&
|
|
4161
|
-
P[12]("closeButton") + "") &&
|
|
4153
|
+
P[12]("kyc2") + "") && H(v, y), j[0] & /*$_*/
|
|
4154
|
+
4096 && D !== (D = /*$_*/
|
|
4155
|
+
P[12]("kycButton") + "") && H(A, D), j[0] & /*$_*/
|
|
4156
|
+
4096 && C !== (C = /*$_*/
|
|
4157
|
+
P[12]("closeButton") + "") && H(U, C);
|
|
4162
4158
|
},
|
|
4163
4159
|
d(P) {
|
|
4164
|
-
P && (x(t), x(r), x(o), x(
|
|
4160
|
+
P && (x(t), x(r), x(o), x(M), x(w), x(R), x(F)), $ = !1, le(X);
|
|
4165
4161
|
}
|
|
4166
4162
|
};
|
|
4167
4163
|
}
|
|
4168
|
-
function
|
|
4164
|
+
function Dr(e) {
|
|
4169
4165
|
let t, i = (
|
|
4170
4166
|
/*$_*/
|
|
4171
4167
|
e[12]("depositLimit") + ""
|
|
4172
|
-
), n, r, o, a, s, u, l, c,
|
|
4168
|
+
), n, r, o, a, s, u, l, c, m, p = (
|
|
4173
4169
|
/*$_*/
|
|
4174
4170
|
e[12]("successful") + ""
|
|
4175
4171
|
), d, E, _, y = (
|
|
4176
4172
|
/*$_*/
|
|
4177
4173
|
e[12]("kyc1Part1") + ""
|
|
4178
|
-
), v,
|
|
4174
|
+
), v, M, w, D, A = (
|
|
4179
4175
|
/*$_*/
|
|
4180
4176
|
e[12]("kyc1Part2") + ""
|
|
4181
|
-
),
|
|
4177
|
+
), R, F, C, U = (
|
|
4182
4178
|
/*$_*/
|
|
4183
4179
|
e[12]("kycButton") + ""
|
|
4184
|
-
),
|
|
4180
|
+
), $, X, P, j = (
|
|
4185
4181
|
/*$_*/
|
|
4186
4182
|
e[12]("closeButton") + ""
|
|
4187
|
-
), ie, ne,
|
|
4183
|
+
), ie, ne, se;
|
|
4188
4184
|
return {
|
|
4189
4185
|
c() {
|
|
4190
|
-
t =
|
|
4186
|
+
t = g("p"), n = L(i), r = O(), o = g("div"), a = g("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = O(), m = g("p"), d = L(p), E = O(), _ = g("p"), v = L(y), M = L(
|
|
4191
4187
|
/*legislatorLimitValue*/
|
|
4192
4188
|
e[11]
|
|
4193
|
-
), w =
|
|
4189
|
+
), w = O(), D = L(
|
|
4194
4190
|
/*currency*/
|
|
4195
4191
|
e[0]
|
|
4196
|
-
),
|
|
4192
|
+
), R = L(A), F = O(), C = g("button"), $ = L(U), X = O(), P = g("button"), ie = L(j), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4197
4193
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4198
4194
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4199
|
-
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"),
|
|
4195
|
+
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), ke(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(_, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(C, "class", "KycButton PrimaryButtonStyle"), h(P, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4200
4196
|
},
|
|
4201
|
-
m(
|
|
4202
|
-
T(
|
|
4197
|
+
m(V, G) {
|
|
4198
|
+
T(V, t, G), f(t, n), T(V, r, G), T(V, o, G), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, m), f(m, d), f(o, E), f(o, _), f(_, v), f(_, M), f(_, w), f(_, D), f(_, R), T(V, F, G), T(V, C, G), f(C, $), T(V, X, G), T(V, P, G), f(P, ie), ne || (se = [
|
|
4203
4199
|
Z(
|
|
4204
|
-
|
|
4200
|
+
C,
|
|
4205
4201
|
"click",
|
|
4206
4202
|
/*click_handler_6*/
|
|
4207
4203
|
e[33]
|
|
@@ -4214,75 +4210,75 @@ function Rr(e) {
|
|
|
4214
4210
|
)
|
|
4215
4211
|
], ne = !0);
|
|
4216
4212
|
},
|
|
4217
|
-
p(
|
|
4218
|
-
|
|
4213
|
+
p(V, G) {
|
|
4214
|
+
G[0] & /*$_*/
|
|
4219
4215
|
4096 && i !== (i = /*$_*/
|
|
4220
|
-
|
|
4221
|
-
4096 &&
|
|
4222
|
-
|
|
4216
|
+
V[12]("depositLimit") + "") && H(n, i), G[0] & /*$_*/
|
|
4217
|
+
4096 && p !== (p = /*$_*/
|
|
4218
|
+
V[12]("successful") + "") && H(d, p), G[0] & /*$_*/
|
|
4223
4219
|
4096 && y !== (y = /*$_*/
|
|
4224
|
-
|
|
4225
|
-
2048 &&
|
|
4226
|
-
O,
|
|
4227
|
-
/*legislatorLimitValue*/
|
|
4228
|
-
F[11]
|
|
4229
|
-
), j[0] & /*currency*/
|
|
4230
|
-
1 && k(
|
|
4220
|
+
V[12]("kyc1Part1") + "") && H(v, y), G[0] & /*legislatorLimitValue*/
|
|
4221
|
+
2048 && H(
|
|
4231
4222
|
M,
|
|
4223
|
+
/*legislatorLimitValue*/
|
|
4224
|
+
V[11]
|
|
4225
|
+
), G[0] & /*currency*/
|
|
4226
|
+
1 && H(
|
|
4227
|
+
D,
|
|
4232
4228
|
/*currency*/
|
|
4233
|
-
|
|
4234
|
-
),
|
|
4235
|
-
4096 &&
|
|
4236
|
-
|
|
4237
|
-
4096 && R !== (R = /*$_*/
|
|
4238
|
-
F[12]("kycButton") + "") && k(G, R), j[0] & /*$_*/
|
|
4229
|
+
V[0]
|
|
4230
|
+
), G[0] & /*$_*/
|
|
4231
|
+
4096 && A !== (A = /*$_*/
|
|
4232
|
+
V[12]("kyc1Part2") + "") && H(R, A), G[0] & /*$_*/
|
|
4239
4233
|
4096 && U !== (U = /*$_*/
|
|
4240
|
-
|
|
4234
|
+
V[12]("kycButton") + "") && H($, U), G[0] & /*$_*/
|
|
4235
|
+
4096 && j !== (j = /*$_*/
|
|
4236
|
+
V[12]("closeButton") + "") && H(ie, j);
|
|
4241
4237
|
},
|
|
4242
|
-
d(
|
|
4243
|
-
|
|
4238
|
+
d(V) {
|
|
4239
|
+
V && (x(t), x(r), x(o), x(F), x(C), x(X), x(P)), ne = !1, le(se);
|
|
4244
4240
|
}
|
|
4245
4241
|
};
|
|
4246
4242
|
}
|
|
4247
|
-
function
|
|
4243
|
+
function Rr(e) {
|
|
4248
4244
|
let t, i = (
|
|
4249
4245
|
/*$_*/
|
|
4250
4246
|
e[12]("depositLimit") + ""
|
|
4251
|
-
), n, r, o, a, s, u, l, c,
|
|
4247
|
+
), n, r, o, a, s, u, l, c, m, p, d, E, _ = (
|
|
4252
4248
|
/*$_*/
|
|
4253
4249
|
e[12]("successful") + ""
|
|
4254
|
-
), y, v,
|
|
4250
|
+
), y, v, M, w = (
|
|
4255
4251
|
/*$_*/
|
|
4256
4252
|
e[12]("successDescription") + ""
|
|
4257
|
-
),
|
|
4253
|
+
), D, A, R, F, C;
|
|
4258
4254
|
return {
|
|
4259
4255
|
c() {
|
|
4260
|
-
t =
|
|
4261
|
-
`),
|
|
4256
|
+
t = g("p"), n = L(i), r = O(), o = g("div"), a = g("div"), s = Y("svg"), u = Y("defs"), l = Y("style"), c = L(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4257
|
+
`), m = Y("g"), p = Y("polygon"), d = O(), E = g("p"), y = L(_), v = O(), M = g("p"), D = L(w), A = O(), R = g("button"), R.textContent = "OK", h(t, "class", "Title"), h(l, "type", "text/css"), h(p, "class", "fil0"), h(p, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "xml:space", "preserve"), h(s, "version", "1.1"), ke(s, "shape-rendering", "geometricPrecision"), ke(s, "text-rendering", "geometricPrecision"), ke(s, "image-rendering", "optimizeQuality"), h(s, "viewBox", "0 0 90 69"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "fill-rule", "evenodd"), h(s, "clip-rule", "evenodd"), h(a, "class", "ResultIconWrapper"), h(M, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(R, "class", "ConfirmButton PrimaryButtonStyle");
|
|
4262
4258
|
},
|
|
4263
|
-
m(
|
|
4264
|
-
T(
|
|
4265
|
-
|
|
4259
|
+
m(U, $) {
|
|
4260
|
+
T(U, t, $), f(t, n), T(U, r, $), T(U, o, $), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, m), f(m, p), f(a, d), f(a, E), f(E, y), f(o, v), f(o, M), f(M, D), T(U, A, $), T(U, R, $), F || (C = Z(
|
|
4261
|
+
R,
|
|
4266
4262
|
"click",
|
|
4267
4263
|
/*click_handler_5*/
|
|
4268
4264
|
e[32]
|
|
4269
|
-
),
|
|
4265
|
+
), F = !0);
|
|
4270
4266
|
},
|
|
4271
|
-
p(
|
|
4272
|
-
|
|
4267
|
+
p(U, $) {
|
|
4268
|
+
$[0] & /*$_*/
|
|
4273
4269
|
4096 && i !== (i = /*$_*/
|
|
4274
|
-
|
|
4270
|
+
U[12]("depositLimit") + "") && H(n, i), $[0] & /*$_*/
|
|
4275
4271
|
4096 && _ !== (_ = /*$_*/
|
|
4276
|
-
|
|
4272
|
+
U[12]("successful") + "") && H(y, _), $[0] & /*$_*/
|
|
4277
4273
|
4096 && w !== (w = /*$_*/
|
|
4278
|
-
|
|
4274
|
+
U[12]("successDescription") + "") && H(D, w);
|
|
4279
4275
|
},
|
|
4280
|
-
d(
|
|
4281
|
-
|
|
4276
|
+
d(U) {
|
|
4277
|
+
U && (x(t), x(r), x(o), x(A), x(R)), F = !1, C();
|
|
4282
4278
|
}
|
|
4283
4279
|
};
|
|
4284
4280
|
}
|
|
4285
|
-
function
|
|
4281
|
+
function Ur(e) {
|
|
4286
4282
|
let t, i = (
|
|
4287
4283
|
/*$_*/
|
|
4288
4284
|
e[12]("setLimit") + ""
|
|
@@ -4292,54 +4288,54 @@ function jr(e) {
|
|
|
4292
4288
|
), s, u, l, c = (
|
|
4293
4289
|
/*$_*/
|
|
4294
4290
|
e[12]("lugasInfo1") + ""
|
|
4295
|
-
),
|
|
4291
|
+
), m, p, d, E = (
|
|
4296
4292
|
/*$_*/
|
|
4297
4293
|
e[12]("lugasInfo2") + ""
|
|
4298
|
-
), _, y, v,
|
|
4294
|
+
), _, y, v, M = (
|
|
4299
4295
|
/*$_*/
|
|
4300
4296
|
e[12]("keepCurrentLimit") + ""
|
|
4301
|
-
), w,
|
|
4297
|
+
), w, D, A, R = (
|
|
4302
4298
|
/*$_*/
|
|
4303
4299
|
e[12]("keepCurrentLimitButton") + ""
|
|
4304
|
-
),
|
|
4300
|
+
), F, C, U, $, X, P, j, ie, ne = (
|
|
4305
4301
|
/*$_*/
|
|
4306
4302
|
e[12]("depositPeriod") + ""
|
|
4307
|
-
),
|
|
4303
|
+
), se, V, G, Q, De, re, he = (
|
|
4308
4304
|
/*$_*/
|
|
4309
4305
|
e[12]("applyButton") + ""
|
|
4310
|
-
),
|
|
4306
|
+
), Be, Le, J, fe = (
|
|
4311
4307
|
/*$_*/
|
|
4312
4308
|
e[12]("TCpart1") + ""
|
|
4313
|
-
), Ae,
|
|
4309
|
+
), Ae, ue, me = (
|
|
4314
4310
|
/*$_*/
|
|
4315
4311
|
e[12]("TClink") + ""
|
|
4316
|
-
),
|
|
4312
|
+
), Se, b, q = (
|
|
4317
4313
|
/*$_*/
|
|
4318
4314
|
e[12]("TCpart2") + ""
|
|
4319
|
-
),
|
|
4315
|
+
), oe, Re, K, Ue = (
|
|
4320
4316
|
/*$_*/
|
|
4321
4317
|
e[12]("PPlink") + ""
|
|
4322
|
-
),
|
|
4318
|
+
), Qe, Tt, Ke, Pt;
|
|
4323
4319
|
return {
|
|
4324
4320
|
c() {
|
|
4325
|
-
t =
|
|
4326
|
-
|
|
4321
|
+
t = g("p"), n = L(i), r = O(), o = g("p"), s = L(a), u = O(), l = g("p"), m = L(c), p = O(), d = g("button"), _ = L(E), y = O(), v = g("button"), w = L(M), D = O(), A = g("button"), F = L(R), C = Y("svg"), U = Y("path"), $ = Y("path"), X = O(), P = g("div"), j = g("div"), ie = g("span"), se = L(ne), V = O(), G = g("div"), Q = g("input"), De = O(), re = g("button"), Be = L(he), Le = O(), J = g("p"), Ae = L(fe), ue = g("button"), Se = L(me), b = O(), oe = L(q), Re = O(), K = g("button"), Qe = L(Ue), Tt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(v, "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(
|
|
4322
|
+
C,
|
|
4327
4323
|
"Extended",
|
|
4328
4324
|
/*extended*/
|
|
4329
4325
|
e[5]
|
|
4330
|
-
), h(
|
|
4326
|
+
), h(A, "class", "ExpandButton"), h(ie, "class", "DepositPeriodText"), h(j, "class", "DepositTextSection"), h(Q, "type", "number"), h(Q, "class", "DepositInput"), h(re, "type", "submit"), h(re, "class", "SubmitDepositButton PrimaryButtonStyle"), re.disabled = !0, h(G, "class", "DepositInputSection"), h(P, "class", "SetLimitSection"), je(
|
|
4331
4327
|
P,
|
|
4332
4328
|
"Hidden",
|
|
4333
4329
|
/*hidden*/
|
|
4334
4330
|
e[4]
|
|
4335
|
-
), h(
|
|
4331
|
+
), h(ue, "class", "LinkButton"), h(K, "class", "LinkButton"), h(J, "class", "TermsConditions");
|
|
4336
4332
|
},
|
|
4337
|
-
m(I,
|
|
4338
|
-
T(I, t,
|
|
4333
|
+
m(I, N) {
|
|
4334
|
+
T(I, t, N), f(t, n), T(I, r, N), T(I, o, N), f(o, s), T(I, u, N), T(I, l, N), f(l, m), f(l, p), f(l, d), f(d, _), T(I, y, N), T(I, v, N), f(v, w), T(I, D, N), T(I, A, N), f(A, F), f(A, C), f(C, U), f(C, $), e[26](C), T(I, X, N), T(I, P, N), f(P, j), f(j, ie), f(ie, se), f(P, V), f(P, G), f(G, Q), Bt(
|
|
4339
4335
|
Q,
|
|
4340
4336
|
/*inputAmount*/
|
|
4341
4337
|
e[6]
|
|
4342
|
-
), f(
|
|
4338
|
+
), f(G, De), f(G, re), f(re, Be), e[28](re), T(I, Le, N), T(I, J, N), f(J, Ae), f(J, ue), f(ue, Se), f(J, b), f(J, oe), f(J, Re), f(J, K), f(K, Qe), f(J, Tt), Ke || (Pt = [
|
|
4343
4339
|
Z(
|
|
4344
4340
|
d,
|
|
4345
4341
|
"click",
|
|
@@ -4353,7 +4349,7 @@ function jr(e) {
|
|
|
4353
4349
|
e[25]
|
|
4354
4350
|
),
|
|
4355
4351
|
Z(
|
|
4356
|
-
|
|
4352
|
+
A,
|
|
4357
4353
|
"click",
|
|
4358
4354
|
/*toggleNewLimitArea*/
|
|
4359
4355
|
e[13]
|
|
@@ -4377,7 +4373,7 @@ function jr(e) {
|
|
|
4377
4373
|
e[29]
|
|
4378
4374
|
),
|
|
4379
4375
|
Z(
|
|
4380
|
-
|
|
4376
|
+
ue,
|
|
4381
4377
|
"click",
|
|
4382
4378
|
/*click_handler_3*/
|
|
4383
4379
|
e[30]
|
|
@@ -4388,76 +4384,76 @@ function jr(e) {
|
|
|
4388
4384
|
/*click_handler_4*/
|
|
4389
4385
|
e[31]
|
|
4390
4386
|
)
|
|
4391
|
-
],
|
|
4387
|
+
], Ke = !0);
|
|
4392
4388
|
},
|
|
4393
|
-
p(I,
|
|
4394
|
-
|
|
4389
|
+
p(I, N) {
|
|
4390
|
+
N[0] & /*$_*/
|
|
4395
4391
|
4096 && i !== (i = /*$_*/
|
|
4396
|
-
I[12]("setLimit") + "") &&
|
|
4392
|
+
I[12]("setLimit") + "") && H(n, i), N[0] & /*$_*/
|
|
4397
4393
|
4096 && a !== (a = /*$_*/
|
|
4398
|
-
I[12]("setLimitDescription") + "") &&
|
|
4394
|
+
I[12]("setLimitDescription") + "") && H(s, a), N[0] & /*$_*/
|
|
4399
4395
|
4096 && c !== (c = /*$_*/
|
|
4400
|
-
I[12]("lugasInfo1") + "") &&
|
|
4396
|
+
I[12]("lugasInfo1") + "") && H(m, c), N[0] & /*$_*/
|
|
4401
4397
|
4096 && E !== (E = /*$_*/
|
|
4402
|
-
I[12]("lugasInfo2") + "") &&
|
|
4403
|
-
4096 &&
|
|
4404
|
-
I[12]("keepCurrentLimit") + "") &&
|
|
4405
|
-
4096 &&
|
|
4406
|
-
I[12]("keepCurrentLimitButton") + "") &&
|
|
4407
|
-
32 &&
|
|
4408
|
-
|
|
4398
|
+
I[12]("lugasInfo2") + "") && H(_, E), N[0] & /*$_*/
|
|
4399
|
+
4096 && M !== (M = /*$_*/
|
|
4400
|
+
I[12]("keepCurrentLimit") + "") && H(w, M), N[0] & /*$_*/
|
|
4401
|
+
4096 && R !== (R = /*$_*/
|
|
4402
|
+
I[12]("keepCurrentLimitButton") + "") && H(F, R), N[0] & /*extended*/
|
|
4403
|
+
32 && je(
|
|
4404
|
+
C,
|
|
4409
4405
|
"Extended",
|
|
4410
4406
|
/*extended*/
|
|
4411
4407
|
I[5]
|
|
4412
|
-
),
|
|
4408
|
+
), N[0] & /*$_*/
|
|
4413
4409
|
4096 && ne !== (ne = /*$_*/
|
|
4414
|
-
I[12]("depositPeriod") + "") &&
|
|
4410
|
+
I[12]("depositPeriod") + "") && H(se, ne), N[0] & /*inputAmount*/
|
|
4415
4411
|
64 && Xt(Q.value) !== /*inputAmount*/
|
|
4416
4412
|
I[6] && Bt(
|
|
4417
4413
|
Q,
|
|
4418
4414
|
/*inputAmount*/
|
|
4419
4415
|
I[6]
|
|
4420
|
-
),
|
|
4421
|
-
4096 &&
|
|
4422
|
-
I[12]("applyButton") + "") &&
|
|
4423
|
-
16 &&
|
|
4416
|
+
), N[0] & /*$_*/
|
|
4417
|
+
4096 && he !== (he = /*$_*/
|
|
4418
|
+
I[12]("applyButton") + "") && H(Be, he), N[0] & /*hidden*/
|
|
4419
|
+
16 && je(
|
|
4424
4420
|
P,
|
|
4425
4421
|
"Hidden",
|
|
4426
4422
|
/*hidden*/
|
|
4427
4423
|
I[4]
|
|
4428
|
-
),
|
|
4429
|
-
4096 &&
|
|
4430
|
-
I[12]("TCpart1") + "") &&
|
|
4424
|
+
), N[0] & /*$_*/
|
|
4425
|
+
4096 && fe !== (fe = /*$_*/
|
|
4426
|
+
I[12]("TCpart1") + "") && H(Ae, fe), N[0] & /*$_*/
|
|
4431
4427
|
4096 && me !== (me = /*$_*/
|
|
4432
|
-
I[12]("TClink") + "") &&
|
|
4428
|
+
I[12]("TClink") + "") && H(Se, me), N[0] & /*$_*/
|
|
4433
4429
|
4096 && q !== (q = /*$_*/
|
|
4434
|
-
I[12]("TCpart2") + "") &&
|
|
4435
|
-
4096 &&
|
|
4436
|
-
I[12]("PPlink") + "") &&
|
|
4430
|
+
I[12]("TCpart2") + "") && H(oe, q), N[0] & /*$_*/
|
|
4431
|
+
4096 && Ue !== (Ue = /*$_*/
|
|
4432
|
+
I[12]("PPlink") + "") && H(Qe, Ue);
|
|
4437
4433
|
},
|
|
4438
4434
|
d(I) {
|
|
4439
|
-
I && (x(t), x(r), x(o), x(u), x(l), x(y), x(v), x(
|
|
4435
|
+
I && (x(t), x(r), x(o), x(u), x(l), x(y), x(v), x(D), x(A), x(X), x(P), x(Le), x(J)), e[26](null), e[28](null), Ke = !1, le(Pt);
|
|
4440
4436
|
}
|
|
4441
4437
|
};
|
|
4442
4438
|
}
|
|
4443
|
-
function
|
|
4439
|
+
function jr(e) {
|
|
4444
4440
|
let t, i, n, r;
|
|
4445
4441
|
function o(u, l) {
|
|
4446
4442
|
if (
|
|
4447
4443
|
/*isLoading*/
|
|
4448
4444
|
u[7]
|
|
4449
4445
|
)
|
|
4450
|
-
return
|
|
4446
|
+
return Nr;
|
|
4451
4447
|
if (
|
|
4452
4448
|
/*lang*/
|
|
4453
4449
|
u[1]
|
|
4454
4450
|
)
|
|
4455
|
-
return
|
|
4451
|
+
return Cr;
|
|
4456
4452
|
}
|
|
4457
4453
|
let a = o(e), s = a && a(e);
|
|
4458
4454
|
return {
|
|
4459
4455
|
c() {
|
|
4460
|
-
t =
|
|
4456
|
+
t = g("div"), i = g("div"), n = g("div"), r = g("div"), s && s.c(), h(r, "class", "ModalContainer"), h(n, "class", "Overlay"), h(i, "class", "player-account-gaming-limits-popup-2");
|
|
4461
4457
|
},
|
|
4462
4458
|
m(u, l) {
|
|
4463
4459
|
T(u, t, l), f(t, i), f(i, n), f(n, r), s && s.m(r, null), e[38](i), e[39](t);
|
|
@@ -4472,111 +4468,111 @@ function Gr(e) {
|
|
|
4472
4468
|
}
|
|
4473
4469
|
};
|
|
4474
4470
|
}
|
|
4475
|
-
function
|
|
4471
|
+
function Gr(e, t, i) {
|
|
4476
4472
|
let n;
|
|
4477
|
-
vi(e,
|
|
4478
|
-
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl:
|
|
4479
|
-
const
|
|
4473
|
+
vi(e, Lr, (b) => i(12, n = b));
|
|
4474
|
+
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: m = "" } = t, { mbsource: p } = t, d, E, _ = !0, y = !1, v, M = !1, w, D, A = "initial", R;
|
|
4475
|
+
const F = () => {
|
|
4480
4476
|
fetch(l).then((q) => q.json()).then((q) => {
|
|
4481
|
-
Object.keys(q).forEach((
|
|
4482
|
-
Gt(
|
|
4477
|
+
Object.keys(q).forEach((oe) => {
|
|
4478
|
+
Gt(oe, q[oe]);
|
|
4483
4479
|
});
|
|
4484
4480
|
}).catch((q) => {
|
|
4485
4481
|
console.log(q);
|
|
4486
4482
|
});
|
|
4487
4483
|
};
|
|
4488
|
-
Object.keys($t).forEach((
|
|
4489
|
-
Gt(
|
|
4484
|
+
Object.keys($t).forEach((b) => {
|
|
4485
|
+
Gt(b, $t[b]);
|
|
4490
4486
|
});
|
|
4491
|
-
const
|
|
4487
|
+
const C = () => {
|
|
4492
4488
|
i(5, y = !y), i(4, _ = !_);
|
|
4493
|
-
},
|
|
4494
|
-
|
|
4495
|
-
},
|
|
4489
|
+
}, U = () => {
|
|
4490
|
+
D.parentNode.removeChild(D);
|
|
4491
|
+
}, $ = () => {
|
|
4496
4492
|
v > 999999999999999 && i(6, v = 999999999999999);
|
|
4497
4493
|
const q = v - Math.floor(v) === 0;
|
|
4498
4494
|
v > 0 && q ? w.removeAttribute("disabled") : w.setAttribute("disabled", "true");
|
|
4499
|
-
}, X = (
|
|
4500
|
-
switch (window.postMessage({ type:
|
|
4495
|
+
}, X = (b) => {
|
|
4496
|
+
switch (window.postMessage({ type: b }, window.location.href), b) {
|
|
4501
4497
|
case "closePopup":
|
|
4502
4498
|
case "uploadDocuments":
|
|
4503
|
-
|
|
4499
|
+
U();
|
|
4504
4500
|
break;
|
|
4505
4501
|
}
|
|
4506
|
-
}, P = (
|
|
4502
|
+
}, P = (b) => {
|
|
4507
4503
|
const q = new URL(`/v1/player/${r}/limit/lugas`, a);
|
|
4508
|
-
let
|
|
4509
|
-
i(7,
|
|
4510
|
-
let
|
|
4504
|
+
let oe = {};
|
|
4505
|
+
i(7, M = !0), oe = b === "custom" ? { amount: v } : {};
|
|
4506
|
+
let Re = {
|
|
4511
4507
|
method: "POST",
|
|
4512
4508
|
headers: {
|
|
4513
4509
|
"X-SessionID": o,
|
|
4514
4510
|
"Content-Type": "application/json",
|
|
4515
4511
|
Accept: "application/json"
|
|
4516
4512
|
},
|
|
4517
|
-
body: JSON.stringify(
|
|
4513
|
+
body: JSON.stringify(oe)
|
|
4518
4514
|
};
|
|
4519
|
-
fetch(q.href,
|
|
4520
|
-
|
|
4515
|
+
fetch(q.href, Re).then((K) => K.json()).then((K) => {
|
|
4516
|
+
j(K);
|
|
4521
4517
|
}).catch((K) => {
|
|
4522
4518
|
console.log(K);
|
|
4523
4519
|
}).finally(() => {
|
|
4524
|
-
i(7,
|
|
4520
|
+
i(7, M = !1);
|
|
4525
4521
|
});
|
|
4526
|
-
},
|
|
4527
|
-
if (
|
|
4528
|
-
switch (
|
|
4522
|
+
}, j = (b) => {
|
|
4523
|
+
if (b.hasOwnProperty("kycNeeded"))
|
|
4524
|
+
switch (b.popup) {
|
|
4529
4525
|
case 1:
|
|
4530
|
-
i(10,
|
|
4526
|
+
i(10, A = "KYC"), i(11, R = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(b.operatorDepositLimitAmount));
|
|
4531
4527
|
break;
|
|
4532
4528
|
case 2:
|
|
4533
|
-
i(10,
|
|
4529
|
+
i(10, A = "successful");
|
|
4534
4530
|
break;
|
|
4535
4531
|
case 3:
|
|
4536
|
-
i(10,
|
|
4532
|
+
i(10, A = "KYC2");
|
|
4537
4533
|
break;
|
|
4538
4534
|
}
|
|
4539
4535
|
else
|
|
4540
|
-
i(10,
|
|
4536
|
+
i(10, A = "error");
|
|
4541
4537
|
}, ie = () => {
|
|
4542
4538
|
Ar(u);
|
|
4543
4539
|
};
|
|
4544
4540
|
Bi(() => () => {
|
|
4545
4541
|
});
|
|
4546
|
-
const ne = () => X("lugasInformation"),
|
|
4547
|
-
function
|
|
4548
|
-
|
|
4549
|
-
E =
|
|
4542
|
+
const ne = () => X("lugasInformation"), se = () => P("default");
|
|
4543
|
+
function V(b) {
|
|
4544
|
+
ge[b ? "unshift" : "push"](() => {
|
|
4545
|
+
E = b, i(3, E);
|
|
4550
4546
|
});
|
|
4551
4547
|
}
|
|
4552
|
-
function
|
|
4548
|
+
function G() {
|
|
4553
4549
|
v = Xt(this.value), i(6, v);
|
|
4554
4550
|
}
|
|
4555
|
-
function Q(
|
|
4556
|
-
|
|
4557
|
-
w =
|
|
4551
|
+
function Q(b) {
|
|
4552
|
+
ge[b ? "unshift" : "push"](() => {
|
|
4553
|
+
w = b, i(8, w);
|
|
4558
4554
|
});
|
|
4559
4555
|
}
|
|
4560
|
-
const
|
|
4561
|
-
function me(
|
|
4562
|
-
|
|
4563
|
-
|
|
4556
|
+
const De = () => P("custom"), re = () => X("termsConditions"), he = () => X("privacyPolicy"), Be = () => X("closePopup"), Le = () => X("uploadDocuments"), J = () => X("closePopup"), fe = () => X("uploadDocuments"), Ae = () => X("closePopup"), ue = () => X("closePopup");
|
|
4557
|
+
function me(b) {
|
|
4558
|
+
ge[b ? "unshift" : "push"](() => {
|
|
4559
|
+
D = b, i(9, D);
|
|
4564
4560
|
});
|
|
4565
4561
|
}
|
|
4566
|
-
function
|
|
4567
|
-
|
|
4568
|
-
d =
|
|
4562
|
+
function Se(b) {
|
|
4563
|
+
ge[b ? "unshift" : "push"](() => {
|
|
4564
|
+
d = b, i(2, d);
|
|
4569
4565
|
});
|
|
4570
4566
|
}
|
|
4571
|
-
return e.$$set = (
|
|
4572
|
-
"userid" in
|
|
4567
|
+
return e.$$set = (b) => {
|
|
4568
|
+
"userid" in b && i(17, r = b.userid), "session" in b && i(18, o = b.session), "endpoint" in b && i(19, a = b.endpoint), "currency" in b && i(0, s = b.currency), "lang" in b && i(1, u = b.lang), "translationurl" in b && i(20, l = b.translationurl), "clientstyling" in b && i(21, c = b.clientstyling), "clientstylingurl" in b && i(22, m = b.clientstylingurl), "mbsource" in b && i(23, p = b.mbsource);
|
|
4573
4569
|
}, e.$$.update = () => {
|
|
4574
4570
|
e.$$.dirty[0] & /*lang*/
|
|
4575
4571
|
2 && u && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4576
|
-
2097156 && c && d &&
|
|
4577
|
-
4194308 &&
|
|
4578
|
-
8388612 &&
|
|
4579
|
-
1048576 && l &&
|
|
4572
|
+
2097156 && c && d && Sr(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4573
|
+
4194308 && m && d && Ir(d, m), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4574
|
+
8388612 && p && d && kr(d, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4575
|
+
1048576 && l && F();
|
|
4580
4576
|
}, [
|
|
4581
4577
|
s,
|
|
4582
4578
|
u,
|
|
@@ -4585,14 +4581,14 @@ function $r(e, t, i) {
|
|
|
4585
4581
|
_,
|
|
4586
4582
|
y,
|
|
4587
4583
|
v,
|
|
4588
|
-
O,
|
|
4589
|
-
w,
|
|
4590
4584
|
M,
|
|
4591
|
-
|
|
4585
|
+
w,
|
|
4592
4586
|
D,
|
|
4587
|
+
A,
|
|
4588
|
+
R,
|
|
4593
4589
|
n,
|
|
4594
|
-
|
|
4595
|
-
|
|
4590
|
+
C,
|
|
4591
|
+
$,
|
|
4596
4592
|
X,
|
|
4597
4593
|
P,
|
|
4598
4594
|
r,
|
|
@@ -4600,33 +4596,33 @@ function $r(e, t, i) {
|
|
|
4600
4596
|
a,
|
|
4601
4597
|
l,
|
|
4602
4598
|
c,
|
|
4603
|
-
p,
|
|
4604
4599
|
m,
|
|
4600
|
+
p,
|
|
4605
4601
|
ne,
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4602
|
+
se,
|
|
4603
|
+
V,
|
|
4604
|
+
G,
|
|
4609
4605
|
Q,
|
|
4610
|
-
|
|
4606
|
+
De,
|
|
4611
4607
|
re,
|
|
4612
|
-
|
|
4608
|
+
he,
|
|
4609
|
+
Be,
|
|
4613
4610
|
Le,
|
|
4614
|
-
Se,
|
|
4615
4611
|
J,
|
|
4616
|
-
|
|
4612
|
+
fe,
|
|
4617
4613
|
Ae,
|
|
4618
|
-
|
|
4614
|
+
ue,
|
|
4619
4615
|
me,
|
|
4620
|
-
|
|
4616
|
+
Se
|
|
4621
4617
|
];
|
|
4622
4618
|
}
|
|
4623
|
-
class
|
|
4619
|
+
class $r extends Ri {
|
|
4624
4620
|
constructor(t) {
|
|
4625
4621
|
super(), Mi(
|
|
4626
4622
|
this,
|
|
4627
4623
|
t,
|
|
4628
|
-
$r,
|
|
4629
4624
|
Gr,
|
|
4625
|
+
jr,
|
|
4630
4626
|
Ft,
|
|
4631
4627
|
{
|
|
4632
4628
|
userid: 17,
|
|
@@ -4639,7 +4635,7 @@ class zr extends Ri {
|
|
|
4639
4635
|
clientstylingurl: 22,
|
|
4640
4636
|
mbsource: 23
|
|
4641
4637
|
},
|
|
4642
|
-
|
|
4638
|
+
Hr,
|
|
4643
4639
|
[-1, -1]
|
|
4644
4640
|
);
|
|
4645
4641
|
}
|
|
@@ -4698,7 +4694,7 @@ class zr extends Ri {
|
|
|
4698
4694
|
this.$$set({ mbsource: t }), ee();
|
|
4699
4695
|
}
|
|
4700
4696
|
}
|
|
4701
|
-
Di(
|
|
4697
|
+
Di($r, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4702
4698
|
export {
|
|
4703
|
-
|
|
4699
|
+
$r as P
|
|
4704
4700
|
};
|