@everymatrix/player-account-gaming-limits-popup-2 1.60.0 → 1.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup2-xHl9N0x9.js → PlayerAccountGamingLimitsPopup2-B6Q-Owic.js} +359 -361
- package/components/{PlayerAccountGamingLimitsPopup2-C6yBCeA7.js → PlayerAccountGamingLimitsPopup2-BYX-ux5V.js} +346 -348
- package/components/PlayerAccountGamingLimitsPopup2-w1EByIvm.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-yLzRCOZa.cjs +0 -23
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var tt = (e, t, i) => t in e ?
|
|
1
|
+
var xi = Object.defineProperty, Ti = Object.defineProperties;
|
|
2
|
+
var Pi = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var wt = Object.getOwnPropertySymbols;
|
|
4
|
+
var wi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var tt = (e, t, i) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Bt = (e, t) => {
|
|
6
6
|
for (var i in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
|
|
7
|
+
wi.call(t, i) && tt(e, i, t[i]);
|
|
8
|
+
if (wt)
|
|
9
|
+
for (var i of wt(t))
|
|
10
|
+
Bi.call(t, i) && tt(e, i, t[i]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Lt = (e, t) => Ti(e, Pi(t));
|
|
13
13
|
var Q = (e, t, i) => (tt(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
14
|
-
var
|
|
14
|
+
var At = (e, t, i) => new Promise((n, r) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
s(i.next(u));
|
|
@@ -29,25 +29,25 @@ var It = (e, t, i) => new Promise((n, r) => {
|
|
|
29
29
|
});
|
|
30
30
|
function ie() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function qt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function St() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ue(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(qt);
|
|
40
40
|
}
|
|
41
41
|
function Et(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Wt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Li(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Zt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function Jt(e, ...t) {
|
|
|
56
56
|
const i = e.subscribe(...t);
|
|
57
57
|
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function Ai(e, t, i) {
|
|
60
|
+
e.$$.on_destroy.push(Zt(t, i));
|
|
61
61
|
}
|
|
62
62
|
function m(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function Si(e, t, i) {
|
|
66
|
+
const n = Ii(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const r = g("style");
|
|
69
|
-
r.id = t, r.textContent = i,
|
|
69
|
+
r.id = t, r.textContent = i, ki(n, r);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Ii(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,7 +79,7 @@ function Hi(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ki(e, t) {
|
|
83
83
|
return m(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
@@ -110,17 +110,17 @@ function Z(e, t, i, n) {
|
|
|
110
110
|
function h(e, t, i) {
|
|
111
111
|
i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Yt(e) {
|
|
114
114
|
return e === "" ? null : +e;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Hi(e) {
|
|
117
117
|
return Array.from(e.childNodes);
|
|
118
118
|
}
|
|
119
119
|
function H(e, t) {
|
|
120
120
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
121
121
|
t);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function It(e, t) {
|
|
124
124
|
e.value = t == null ? "" : t;
|
|
125
125
|
}
|
|
126
126
|
function He(e, t, i, n) {
|
|
@@ -129,7 +129,7 @@ function He(e, t, i, n) {
|
|
|
129
129
|
function Ge(e, t, i) {
|
|
130
130
|
e.classList.toggle(t, !!i);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Ci(e) {
|
|
133
133
|
const t = {};
|
|
134
134
|
return e.childNodes.forEach(
|
|
135
135
|
/** @param {Element} node */
|
|
@@ -142,20 +142,20 @@ let Ne;
|
|
|
142
142
|
function Ce(e) {
|
|
143
143
|
Ne = e;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Ni() {
|
|
146
146
|
if (!Ne)
|
|
147
147
|
throw new Error("Function called outside component initialization");
|
|
148
148
|
return Ne;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
150
|
+
function Oi(e) {
|
|
151
|
+
Ni().$$.on_mount.push(e);
|
|
152
152
|
}
|
|
153
153
|
const ge = [], ye = [];
|
|
154
154
|
let ve = [];
|
|
155
|
-
const
|
|
155
|
+
const kt = [], Mi = /* @__PURE__ */ Promise.resolve();
|
|
156
156
|
let ut = !1;
|
|
157
|
-
function
|
|
158
|
-
ut || (ut = !0,
|
|
157
|
+
function Di() {
|
|
158
|
+
ut || (ut = !0, Mi.then(te));
|
|
159
159
|
}
|
|
160
160
|
function ct(e) {
|
|
161
161
|
ve.push(e);
|
|
@@ -170,7 +170,7 @@ function te() {
|
|
|
170
170
|
try {
|
|
171
171
|
for (; de < ge.length; ) {
|
|
172
172
|
const t = ge[de];
|
|
173
|
-
de++, Ce(t),
|
|
173
|
+
de++, Ce(t), Ri(t.$$);
|
|
174
174
|
}
|
|
175
175
|
} catch (t) {
|
|
176
176
|
throw ge.length = 0, de = 0, t;
|
|
@@ -183,40 +183,40 @@ function te() {
|
|
|
183
183
|
}
|
|
184
184
|
ve.length = 0;
|
|
185
185
|
} while (ge.length);
|
|
186
|
-
for (;
|
|
187
|
-
|
|
186
|
+
for (; kt.length; )
|
|
187
|
+
kt.pop()();
|
|
188
188
|
ut = !1, it.clear(), Ce(e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Ri(e) {
|
|
191
191
|
if (e.fragment !== null) {
|
|
192
192
|
e.update(), ue(e.before_update);
|
|
193
193
|
const t = e.dirty;
|
|
194
194
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ct);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Ui(e) {
|
|
198
198
|
const t = [], i = [];
|
|
199
199
|
ve.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : i.push(n)), i.forEach((n) => n()), ve = t;
|
|
200
200
|
}
|
|
201
|
-
const
|
|
202
|
-
function
|
|
203
|
-
e && e.i && (
|
|
201
|
+
const ji = /* @__PURE__ */ new Set();
|
|
202
|
+
function Gi(e, t) {
|
|
203
|
+
e && e.i && (ji.delete(e), e.i(t));
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function $i(e, t, i) {
|
|
206
206
|
const { fragment: n, after_update: r } = e.$$;
|
|
207
207
|
n && n.m(t, i), ct(() => {
|
|
208
|
-
const o = e.$$.on_mount.map(
|
|
208
|
+
const o = e.$$.on_mount.map(qt).filter(Et);
|
|
209
209
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
|
|
210
210
|
}), r.forEach(ct);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function zi(e, t) {
|
|
213
213
|
const i = e.$$;
|
|
214
|
-
i.fragment !== null && (
|
|
214
|
+
i.fragment !== null && (Ui(i.after_update), ue(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
e.$$.dirty[0] === -1 && (ge.push(e),
|
|
216
|
+
function Fi(e, t) {
|
|
217
|
+
e.$$.dirty[0] === -1 && (ge.push(e), Di(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function Vi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
220
220
|
const u = Ne;
|
|
221
221
|
Ce(e);
|
|
222
222
|
const a = e.$$ = {
|
|
@@ -226,7 +226,7 @@ function qi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
226
226
|
props: o,
|
|
227
227
|
update: ie,
|
|
228
228
|
not_equal: r,
|
|
229
|
-
bound:
|
|
229
|
+
bound: St(),
|
|
230
230
|
// lifecycle
|
|
231
231
|
on_mount: [],
|
|
232
232
|
on_destroy: [],
|
|
@@ -235,7 +235,7 @@ function qi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
235
235
|
after_update: [],
|
|
236
236
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
237
237
|
// everything else
|
|
238
|
-
callbacks:
|
|
238
|
+
callbacks: St(),
|
|
239
239
|
dirty: s,
|
|
240
240
|
skip_bound: !1,
|
|
241
241
|
root: t.target || u.$$.root
|
|
@@ -244,19 +244,19 @@ function qi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
244
244
|
let c = !1;
|
|
245
245
|
if (a.ctx = i ? i(e, t.props || {}, (f, p, ...d) => {
|
|
246
246
|
const _ = d.length ? d[0] : p;
|
|
247
|
-
return a.ctx && r(a.ctx[f], a.ctx[f] = _) && (!a.skip_bound && a.bound[f] && a.bound[f](_), c &&
|
|
247
|
+
return a.ctx && r(a.ctx[f], a.ctx[f] = _) && (!a.skip_bound && a.bound[f] && a.bound[f](_), c && Fi(e, f)), p;
|
|
248
248
|
}) : [], a.update(), c = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
249
249
|
if (t.hydrate) {
|
|
250
|
-
const f =
|
|
250
|
+
const f = Hi(t.target);
|
|
251
251
|
a.fragment && a.fragment.l(f), f.forEach(y);
|
|
252
252
|
} else
|
|
253
253
|
a.fragment && a.fragment.c();
|
|
254
|
-
t.intro &&
|
|
254
|
+
t.intro && Gi(e.$$.fragment), $i(e, t.target, t.anchor), te();
|
|
255
255
|
}
|
|
256
256
|
Ce(u);
|
|
257
257
|
}
|
|
258
|
-
let
|
|
259
|
-
typeof HTMLElement == "function" && (
|
|
258
|
+
let Jt;
|
|
259
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
260
260
|
constructor(t, i, n) {
|
|
261
261
|
super();
|
|
262
262
|
/** The Svelte component constructor */
|
|
@@ -293,7 +293,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
connectedCallback() {
|
|
296
|
-
return
|
|
296
|
+
return At(this, null, function* () {
|
|
297
297
|
if (this.$$cn = !0, !this.$$c) {
|
|
298
298
|
let t = function(o) {
|
|
299
299
|
return () => {
|
|
@@ -317,7 +317,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
317
317
|
};
|
|
318
318
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
319
319
|
return;
|
|
320
|
-
const i = {}, n =
|
|
320
|
+
const i = {}, n = Ci(this);
|
|
321
321
|
for (const o of this.$$s)
|
|
322
322
|
o in n && (i[o] = [t(o)]);
|
|
323
323
|
for (const o of this.attributes) {
|
|
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
328
328
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
329
329
|
this.$$c = new this.$$ctor({
|
|
330
330
|
target: this.shadowRoot || this,
|
|
331
|
-
props:
|
|
331
|
+
props: Lt(Bt({}, this.$$d), {
|
|
332
332
|
$$slots: i,
|
|
333
333
|
$$scope: {
|
|
334
334
|
ctx: []
|
|
@@ -406,8 +406,8 @@ function ze(e, t, i, n) {
|
|
|
406
406
|
return t;
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
let l = class extends
|
|
409
|
+
function Xi(e, t, i, n, r, o) {
|
|
410
|
+
let l = class extends Jt {
|
|
411
411
|
constructor() {
|
|
412
412
|
super(e, i, r), this.$$p_d = t;
|
|
413
413
|
}
|
|
@@ -437,7 +437,7 @@ function Wi(e, t, i, n, r, o) {
|
|
|
437
437
|
}), e.element = /** @type {any} */
|
|
438
438
|
l, l;
|
|
439
439
|
}
|
|
440
|
-
class
|
|
440
|
+
class qi {
|
|
441
441
|
constructor() {
|
|
442
442
|
/**
|
|
443
443
|
* ### PRIVATE API
|
|
@@ -458,7 +458,7 @@ class Zi {
|
|
|
458
458
|
}
|
|
459
459
|
/** @returns {void} */
|
|
460
460
|
$destroy() {
|
|
461
|
-
|
|
461
|
+
zi(this, 1), this.$destroy = ie;
|
|
462
462
|
}
|
|
463
463
|
/**
|
|
464
464
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -480,13 +480,13 @@ class Zi {
|
|
|
480
480
|
* @returns {void}
|
|
481
481
|
*/
|
|
482
482
|
$set(t) {
|
|
483
|
-
this.$$set && !
|
|
483
|
+
this.$$set && !Li(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
const
|
|
487
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
486
|
+
const Wi = "4";
|
|
487
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wi);
|
|
488
488
|
const be = [];
|
|
489
|
-
function
|
|
489
|
+
function Zi(e, t) {
|
|
490
490
|
return {
|
|
491
491
|
subscribe: We(e, t).subscribe
|
|
492
492
|
};
|
|
@@ -495,7 +495,7 @@ function We(e, t = ie) {
|
|
|
495
495
|
let i;
|
|
496
496
|
const n = /* @__PURE__ */ new Set();
|
|
497
497
|
function r(s) {
|
|
498
|
-
if (
|
|
498
|
+
if (Wt(e, s) && (e = s, i)) {
|
|
499
499
|
const u = !be.length;
|
|
500
500
|
for (const a of n)
|
|
501
501
|
a[1](), be.push(a, e);
|
|
@@ -522,7 +522,7 @@ function Pe(e, t, i) {
|
|
|
522
522
|
if (!r.every(Boolean))
|
|
523
523
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
524
524
|
const o = t.length < 2;
|
|
525
|
-
return
|
|
525
|
+
return Zi(i, (l, s) => {
|
|
526
526
|
let u = !1;
|
|
527
527
|
const a = [];
|
|
528
528
|
let c = 0, f = ie;
|
|
@@ -533,7 +533,7 @@ function Pe(e, t, i) {
|
|
|
533
533
|
const _ = t(n ? a[0] : a, l, s);
|
|
534
534
|
o ? l(_) : f = Et(_) ? _ : ie;
|
|
535
535
|
}, d = r.map(
|
|
536
|
-
(_, x) =>
|
|
536
|
+
(_, x) => Zt(
|
|
537
537
|
_,
|
|
538
538
|
(v) => {
|
|
539
539
|
a[x] = v, c &= ~(1 << x), u && p();
|
|
@@ -548,70 +548,70 @@ function Pe(e, t, i) {
|
|
|
548
548
|
};
|
|
549
549
|
});
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Yi(e) {
|
|
552
552
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
553
553
|
}
|
|
554
|
-
var
|
|
555
|
-
return
|
|
554
|
+
var Ji = function(t) {
|
|
555
|
+
return Qi(t) && !Ki(t);
|
|
556
556
|
};
|
|
557
|
-
function
|
|
557
|
+
function Qi(e) {
|
|
558
558
|
return !!e && typeof e == "object";
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Ki(e) {
|
|
561
561
|
var t = Object.prototype.toString.call(e);
|
|
562
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
562
|
+
return t === "[object RegExp]" || t === "[object Date]" || nn(e);
|
|
563
563
|
}
|
|
564
|
-
var
|
|
565
|
-
function
|
|
566
|
-
return e.$$typeof ===
|
|
564
|
+
var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
|
|
565
|
+
function nn(e) {
|
|
566
|
+
return e.$$typeof === tn;
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function rn(e) {
|
|
569
569
|
return Array.isArray(e) ? [] : {};
|
|
570
570
|
}
|
|
571
571
|
function Oe(e, t) {
|
|
572
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ee(
|
|
572
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ee(rn(e), e, t) : e;
|
|
573
573
|
}
|
|
574
|
-
function
|
|
574
|
+
function on(e, t, i) {
|
|
575
575
|
return e.concat(t).map(function(n) {
|
|
576
576
|
return Oe(n, i);
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function sn(e, t) {
|
|
580
580
|
if (!t.customMerge)
|
|
581
581
|
return Ee;
|
|
582
582
|
var i = t.customMerge(e);
|
|
583
583
|
return typeof i == "function" ? i : Ee;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function an(e) {
|
|
586
586
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
587
587
|
return Object.propertyIsEnumerable.call(e, t);
|
|
588
588
|
}) : [];
|
|
589
589
|
}
|
|
590
|
-
function
|
|
591
|
-
return Object.keys(e).concat(
|
|
590
|
+
function Ht(e) {
|
|
591
|
+
return Object.keys(e).concat(an(e));
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function Qt(e, t) {
|
|
594
594
|
try {
|
|
595
595
|
return t in e;
|
|
596
596
|
} catch (i) {
|
|
597
597
|
return !1;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
601
|
-
return
|
|
600
|
+
function ln(e, t) {
|
|
601
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function un(e, t, i) {
|
|
604
604
|
var n = {};
|
|
605
|
-
return i.isMergeableObject(e) &&
|
|
605
|
+
return i.isMergeableObject(e) && Ht(e).forEach(function(r) {
|
|
606
606
|
n[r] = Oe(e[r], i);
|
|
607
|
-
}),
|
|
608
|
-
|
|
607
|
+
}), Ht(t).forEach(function(r) {
|
|
608
|
+
ln(e, r) || (Qt(e, r) && i.isMergeableObject(t[r]) ? n[r] = sn(r, i)(e[r], t[r], i) : n[r] = Oe(t[r], i));
|
|
609
609
|
}), n;
|
|
610
610
|
}
|
|
611
611
|
function Ee(e, t, i) {
|
|
612
|
-
i = i || {}, i.arrayMerge = i.arrayMerge ||
|
|
612
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || on, i.isMergeableObject = i.isMergeableObject || Ji, i.cloneUnlessOtherwiseSpecified = Oe;
|
|
613
613
|
var n = Array.isArray(t), r = Array.isArray(e), o = n === r;
|
|
614
|
-
return o ? n ? i.arrayMerge(e, t, i) :
|
|
614
|
+
return o ? n ? i.arrayMerge(e, t, i) : un(e, t, i) : Oe(t, i);
|
|
615
615
|
}
|
|
616
616
|
Ee.all = function(t, i) {
|
|
617
617
|
if (!Array.isArray(t))
|
|
@@ -620,8 +620,8 @@ Ee.all = function(t, i) {
|
|
|
620
620
|
return Ee(n, r, i);
|
|
621
621
|
}, {});
|
|
622
622
|
};
|
|
623
|
-
var
|
|
624
|
-
const
|
|
623
|
+
var cn = Ee, hn = cn;
|
|
624
|
+
const fn = /* @__PURE__ */ Yi(hn);
|
|
625
625
|
/*! *****************************************************************************
|
|
626
626
|
Copyright (c) Microsoft Corporation.
|
|
627
627
|
|
|
@@ -663,7 +663,7 @@ var k = function() {
|
|
|
663
663
|
return t;
|
|
664
664
|
}, k.apply(this, arguments);
|
|
665
665
|
};
|
|
666
|
-
function
|
|
666
|
+
function mn(e, t) {
|
|
667
667
|
var i = {};
|
|
668
668
|
for (var n in e)
|
|
669
669
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
@@ -679,55 +679,53 @@ function nt(e, t, i) {
|
|
|
679
679
|
return e.concat(o || t);
|
|
680
680
|
}
|
|
681
681
|
function rt(e, t) {
|
|
682
|
-
var i = t && t.cache ? t.cache :
|
|
682
|
+
var i = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : yn, r = t && t.strategy ? t.strategy : bn;
|
|
683
683
|
return r(e, {
|
|
684
684
|
cache: i,
|
|
685
685
|
serializer: n
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function pn(e) {
|
|
689
689
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
690
690
|
}
|
|
691
|
-
function
|
|
692
|
-
var r =
|
|
691
|
+
function dn(e, t, i, n) {
|
|
692
|
+
var r = pn(n) ? n : i(n), o = t.get(r);
|
|
693
693
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(r, o)), o;
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function Kt(e, t, i) {
|
|
696
696
|
var n = Array.prototype.slice.call(arguments, 3), r = i(n), o = t.get(r);
|
|
697
697
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(r, o)), o;
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function ei(e, t, i, n, r) {
|
|
700
700
|
return i.bind(t, e, n, r);
|
|
701
701
|
}
|
|
702
|
-
function
|
|
703
|
-
var i = e.length === 1 ?
|
|
704
|
-
return
|
|
705
|
-
}
|
|
706
|
-
function yn(e, t) {
|
|
707
|
-
return _t(e, this, ii, t.cache.create(), t.serializer);
|
|
702
|
+
function bn(e, t) {
|
|
703
|
+
var i = e.length === 1 ? dn : Kt;
|
|
704
|
+
return ei(e, this, i, t.cache.create(), t.serializer);
|
|
708
705
|
}
|
|
709
|
-
function
|
|
710
|
-
return
|
|
706
|
+
function gn(e, t) {
|
|
707
|
+
return ei(e, this, Kt, t.cache.create(), t.serializer);
|
|
711
708
|
}
|
|
712
|
-
var
|
|
709
|
+
var yn = function() {
|
|
713
710
|
return JSON.stringify(arguments);
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
711
|
+
}, vn = (
|
|
712
|
+
/** @class */
|
|
713
|
+
function() {
|
|
714
|
+
function e() {
|
|
715
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
716
|
+
}
|
|
717
|
+
return e.prototype.get = function(t) {
|
|
718
|
+
return this.cache[t];
|
|
719
|
+
}, e.prototype.set = function(t, i) {
|
|
720
|
+
this.cache[t] = i;
|
|
721
|
+
}, e;
|
|
722
|
+
}()
|
|
723
|
+
), En = {
|
|
725
724
|
create: function() {
|
|
726
|
-
return new
|
|
725
|
+
return new vn();
|
|
727
726
|
}
|
|
728
727
|
}, ot = {
|
|
729
|
-
variadic:
|
|
730
|
-
monadic: vn
|
|
728
|
+
variadic: gn
|
|
731
729
|
}, B;
|
|
732
730
|
(function(e) {
|
|
733
731
|
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";
|
|
@@ -740,43 +738,43 @@ var _e;
|
|
|
740
738
|
(function(e) {
|
|
741
739
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
742
740
|
})(_e || (_e = {}));
|
|
743
|
-
function
|
|
741
|
+
function Ct(e) {
|
|
744
742
|
return e.type === z.literal;
|
|
745
743
|
}
|
|
746
|
-
function
|
|
744
|
+
function _n(e) {
|
|
747
745
|
return e.type === z.argument;
|
|
748
746
|
}
|
|
749
|
-
function
|
|
747
|
+
function ti(e) {
|
|
750
748
|
return e.type === z.number;
|
|
751
749
|
}
|
|
752
|
-
function
|
|
750
|
+
function ii(e) {
|
|
753
751
|
return e.type === z.date;
|
|
754
752
|
}
|
|
755
|
-
function
|
|
753
|
+
function ni(e) {
|
|
756
754
|
return e.type === z.time;
|
|
757
755
|
}
|
|
758
|
-
function
|
|
756
|
+
function ri(e) {
|
|
759
757
|
return e.type === z.select;
|
|
760
758
|
}
|
|
761
|
-
function
|
|
759
|
+
function oi(e) {
|
|
762
760
|
return e.type === z.plural;
|
|
763
761
|
}
|
|
764
|
-
function
|
|
762
|
+
function xn(e) {
|
|
765
763
|
return e.type === z.pound;
|
|
766
764
|
}
|
|
767
|
-
function
|
|
765
|
+
function si(e) {
|
|
768
766
|
return e.type === z.tag;
|
|
769
767
|
}
|
|
770
|
-
function
|
|
768
|
+
function ai(e) {
|
|
771
769
|
return !!(e && typeof e == "object" && e.type === _e.number);
|
|
772
770
|
}
|
|
773
771
|
function ft(e) {
|
|
774
772
|
return !!(e && typeof e == "object" && e.type === _e.dateTime);
|
|
775
773
|
}
|
|
776
|
-
var
|
|
777
|
-
function
|
|
774
|
+
var li = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
|
|
775
|
+
function Pn(e) {
|
|
778
776
|
var t = {};
|
|
779
|
-
return e.replace(
|
|
777
|
+
return e.replace(Tn, function(i) {
|
|
780
778
|
var n = i.length;
|
|
781
779
|
switch (i[0]) {
|
|
782
780
|
case "G":
|
|
@@ -865,11 +863,11 @@ function wn(e) {
|
|
|
865
863
|
return "";
|
|
866
864
|
}), t;
|
|
867
865
|
}
|
|
868
|
-
var
|
|
869
|
-
function
|
|
866
|
+
var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
867
|
+
function Bn(e) {
|
|
870
868
|
if (e.length === 0)
|
|
871
869
|
throw new Error("Number skeleton cannot be empty");
|
|
872
|
-
for (var t = e.split(
|
|
870
|
+
for (var t = e.split(wn).filter(function(p) {
|
|
873
871
|
return p.length > 0;
|
|
874
872
|
}), i = [], n = 0, r = t; n < r.length; n++) {
|
|
875
873
|
var o = r[n], l = o.split("/");
|
|
@@ -884,17 +882,17 @@ function Ln(e) {
|
|
|
884
882
|
}
|
|
885
883
|
return i;
|
|
886
884
|
}
|
|
887
|
-
function
|
|
885
|
+
function Ln(e) {
|
|
888
886
|
return e.replace(/^(.*?)-/, "");
|
|
889
887
|
}
|
|
890
|
-
var
|
|
891
|
-
function
|
|
888
|
+
var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ui = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, ci = /^(0+)$/;
|
|
889
|
+
function Ot(e) {
|
|
892
890
|
var t = {};
|
|
893
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
891
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ui, function(i, n, r) {
|
|
894
892
|
return typeof r != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)), "";
|
|
895
893
|
}), t;
|
|
896
894
|
}
|
|
897
|
-
function
|
|
895
|
+
function hi(e) {
|
|
898
896
|
switch (e) {
|
|
899
897
|
case "sign-auto":
|
|
900
898
|
return {
|
|
@@ -934,7 +932,7 @@ function mi(e) {
|
|
|
934
932
|
};
|
|
935
933
|
}
|
|
936
934
|
}
|
|
937
|
-
function
|
|
935
|
+
function Sn(e) {
|
|
938
936
|
var t;
|
|
939
937
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
940
938
|
notation: "engineering"
|
|
@@ -942,17 +940,17 @@ function In(e) {
|
|
|
942
940
|
notation: "scientific"
|
|
943
941
|
}, e = e.slice(1)), t) {
|
|
944
942
|
var i = e.slice(0, 2);
|
|
945
|
-
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
943
|
+
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ci.test(e))
|
|
946
944
|
throw new Error("Malformed concise eng/scientific notation");
|
|
947
945
|
t.minimumIntegerDigits = e.length;
|
|
948
946
|
}
|
|
949
947
|
return t;
|
|
950
948
|
}
|
|
951
|
-
function
|
|
952
|
-
var t = {}, i =
|
|
949
|
+
function Mt(e) {
|
|
950
|
+
var t = {}, i = hi(e);
|
|
953
951
|
return i || t;
|
|
954
952
|
}
|
|
955
|
-
function
|
|
953
|
+
function In(e) {
|
|
956
954
|
for (var t = {}, i = 0, n = e; i < n.length; i++) {
|
|
957
955
|
var r = n[i];
|
|
958
956
|
switch (r.stem) {
|
|
@@ -976,7 +974,7 @@ function kn(e) {
|
|
|
976
974
|
continue;
|
|
977
975
|
case "measure-unit":
|
|
978
976
|
case "unit":
|
|
979
|
-
t.style = "unit", t.unit =
|
|
977
|
+
t.style = "unit", t.unit = Ln(r.options[0]);
|
|
980
978
|
continue;
|
|
981
979
|
case "compact-short":
|
|
982
980
|
case "K":
|
|
@@ -988,12 +986,12 @@ function kn(e) {
|
|
|
988
986
|
continue;
|
|
989
987
|
case "scientific":
|
|
990
988
|
t = k(k(k({}, t), { notation: "scientific" }), r.options.reduce(function(u, a) {
|
|
991
|
-
return k(k({}, u),
|
|
989
|
+
return k(k({}, u), Mt(a));
|
|
992
990
|
}, {}));
|
|
993
991
|
continue;
|
|
994
992
|
case "engineering":
|
|
995
993
|
t = k(k(k({}, t), { notation: "engineering" }), r.options.reduce(function(u, a) {
|
|
996
|
-
return k(k({}, u),
|
|
994
|
+
return k(k({}, u), Mt(a));
|
|
997
995
|
}, {}));
|
|
998
996
|
continue;
|
|
999
997
|
case "notation-simple":
|
|
@@ -1038,7 +1036,7 @@ function kn(e) {
|
|
|
1038
1036
|
case "integer-width":
|
|
1039
1037
|
if (r.options.length > 1)
|
|
1040
1038
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1041
|
-
r.options[0].replace(
|
|
1039
|
+
r.options[0].replace(An, function(u, a, c, f, p, d) {
|
|
1042
1040
|
if (a)
|
|
1043
1041
|
t.minimumIntegerDigits = c.length;
|
|
1044
1042
|
else {
|
|
@@ -1051,27 +1049,27 @@ function kn(e) {
|
|
|
1051
1049
|
});
|
|
1052
1050
|
continue;
|
|
1053
1051
|
}
|
|
1054
|
-
if (
|
|
1052
|
+
if (ci.test(r.stem)) {
|
|
1055
1053
|
t.minimumIntegerDigits = r.stem.length;
|
|
1056
1054
|
continue;
|
|
1057
1055
|
}
|
|
1058
|
-
if (
|
|
1056
|
+
if (Nt.test(r.stem)) {
|
|
1059
1057
|
if (r.options.length > 1)
|
|
1060
1058
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1061
|
-
r.stem.replace(
|
|
1059
|
+
r.stem.replace(Nt, function(u, a, c, f, p, d) {
|
|
1062
1060
|
return c === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && d ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1063
1061
|
});
|
|
1064
1062
|
var o = r.options[0];
|
|
1065
|
-
o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t),
|
|
1063
|
+
o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), Ot(o)));
|
|
1066
1064
|
continue;
|
|
1067
1065
|
}
|
|
1068
|
-
if (
|
|
1069
|
-
t = k(k({}, t),
|
|
1066
|
+
if (ui.test(r.stem)) {
|
|
1067
|
+
t = k(k({}, t), Ot(r.stem));
|
|
1070
1068
|
continue;
|
|
1071
1069
|
}
|
|
1072
|
-
var l =
|
|
1070
|
+
var l = hi(r.stem);
|
|
1073
1071
|
l && (t = k(k({}, t), l));
|
|
1074
|
-
var s =
|
|
1072
|
+
var s = Sn(r.stem);
|
|
1075
1073
|
s && (t = k(k({}, t), s));
|
|
1076
1074
|
}
|
|
1077
1075
|
return t;
|
|
@@ -2491,13 +2489,13 @@ var $e = {
|
|
|
2491
2489
|
"h"
|
|
2492
2490
|
]
|
|
2493
2491
|
};
|
|
2494
|
-
function
|
|
2492
|
+
function kn(e, t) {
|
|
2495
2493
|
for (var i = "", n = 0; n < e.length; n++) {
|
|
2496
2494
|
var r = e.charAt(n);
|
|
2497
2495
|
if (r === "j") {
|
|
2498
2496
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
|
|
2499
2497
|
o++, n++;
|
|
2500
|
-
var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", a =
|
|
2498
|
+
var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", a = Hn(t);
|
|
2501
2499
|
for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
|
|
2502
2500
|
i += u;
|
|
2503
2501
|
for (; l-- > 0; )
|
|
@@ -2507,7 +2505,7 @@ function Hn(e, t) {
|
|
|
2507
2505
|
}
|
|
2508
2506
|
return i;
|
|
2509
2507
|
}
|
|
2510
|
-
function
|
|
2508
|
+
function Hn(e) {
|
|
2511
2509
|
var t = e.hourCycle;
|
|
2512
2510
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2513
2511
|
e.hourCycles && // @ts-ignore
|
|
@@ -2529,20 +2527,20 @@ function Cn(e) {
|
|
|
2529
2527
|
var r = $e[n || ""] || $e[i || ""] || $e["".concat(i, "-001")] || $e["001"];
|
|
2530
2528
|
return r[0];
|
|
2531
2529
|
}
|
|
2532
|
-
var st,
|
|
2530
|
+
var st, Cn = new RegExp("^".concat(li.source, "*")), Nn = new RegExp("".concat(li.source, "*$"));
|
|
2533
2531
|
function S(e, t) {
|
|
2534
2532
|
return { start: e, end: t };
|
|
2535
2533
|
}
|
|
2536
|
-
var
|
|
2534
|
+
var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, $n = Gn ? Number.isSafeInteger : function(e) {
|
|
2537
2535
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2538
2536
|
}, mt = !0;
|
|
2539
2537
|
try {
|
|
2540
|
-
var
|
|
2541
|
-
mt = ((st =
|
|
2538
|
+
var zn = mi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2539
|
+
mt = ((st = zn.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
|
|
2542
2540
|
} catch (e) {
|
|
2543
2541
|
mt = !1;
|
|
2544
2542
|
}
|
|
2545
|
-
var
|
|
2543
|
+
var Dt = On ? (
|
|
2546
2544
|
// Native
|
|
2547
2545
|
function(t, i, n) {
|
|
2548
2546
|
return t.startsWith(i, n);
|
|
@@ -2552,7 +2550,7 @@ var Ut = Mn ? (
|
|
|
2552
2550
|
function(t, i, n) {
|
|
2553
2551
|
return t.slice(n, n + i.length) === i;
|
|
2554
2552
|
}
|
|
2555
|
-
), pt =
|
|
2553
|
+
), pt = Mn ? String.fromCodePoint : (
|
|
2556
2554
|
// IE11
|
|
2557
2555
|
function() {
|
|
2558
2556
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -2564,9 +2562,9 @@ var Ut = Mn ? (
|
|
|
2564
2562
|
}
|
|
2565
2563
|
return n;
|
|
2566
2564
|
}
|
|
2567
|
-
),
|
|
2565
|
+
), Rt = (
|
|
2568
2566
|
// native
|
|
2569
|
-
|
|
2567
|
+
Dn ? Object.fromEntries : (
|
|
2570
2568
|
// Ponyfill
|
|
2571
2569
|
function(t) {
|
|
2572
2570
|
for (var i = {}, n = 0, r = t; n < r.length; n++) {
|
|
@@ -2576,7 +2574,7 @@ var Ut = Mn ? (
|
|
|
2576
2574
|
return i;
|
|
2577
2575
|
}
|
|
2578
2576
|
)
|
|
2579
|
-
),
|
|
2577
|
+
), fi = Rn ? (
|
|
2580
2578
|
// Native
|
|
2581
2579
|
function(t, i) {
|
|
2582
2580
|
return t.codePointAt(i);
|
|
@@ -2590,7 +2588,7 @@ var Ut = Mn ? (
|
|
|
2590
2588
|
return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
|
|
2591
2589
|
}
|
|
2592
2590
|
}
|
|
2593
|
-
),
|
|
2591
|
+
), Fn = Un ? (
|
|
2594
2592
|
// Native
|
|
2595
2593
|
function(t) {
|
|
2596
2594
|
return t.trimStart();
|
|
@@ -2598,9 +2596,9 @@ var Ut = Mn ? (
|
|
|
2598
2596
|
) : (
|
|
2599
2597
|
// Ponyfill
|
|
2600
2598
|
function(t) {
|
|
2601
|
-
return t.replace(
|
|
2599
|
+
return t.replace(Cn, "");
|
|
2602
2600
|
}
|
|
2603
|
-
),
|
|
2601
|
+
), Vn = jn ? (
|
|
2604
2602
|
// Native
|
|
2605
2603
|
function(t) {
|
|
2606
2604
|
return t.trimEnd();
|
|
@@ -2608,32 +2606,32 @@ var Ut = Mn ? (
|
|
|
2608
2606
|
) : (
|
|
2609
2607
|
// Ponyfill
|
|
2610
2608
|
function(t) {
|
|
2611
|
-
return t.replace(
|
|
2609
|
+
return t.replace(Nn, "");
|
|
2612
2610
|
}
|
|
2613
2611
|
);
|
|
2614
|
-
function
|
|
2612
|
+
function mi(e, t) {
|
|
2615
2613
|
return new RegExp(e, t);
|
|
2616
2614
|
}
|
|
2617
2615
|
var dt;
|
|
2618
2616
|
if (mt) {
|
|
2619
|
-
var
|
|
2617
|
+
var Ut = mi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2620
2618
|
dt = function(t, i) {
|
|
2621
2619
|
var n;
|
|
2622
|
-
|
|
2623
|
-
var r =
|
|
2620
|
+
Ut.lastIndex = i;
|
|
2621
|
+
var r = Ut.exec(t);
|
|
2624
2622
|
return (n = r[1]) !== null && n !== void 0 ? n : "";
|
|
2625
2623
|
};
|
|
2626
2624
|
} else
|
|
2627
2625
|
dt = function(t, i) {
|
|
2628
2626
|
for (var n = []; ; ) {
|
|
2629
|
-
var r =
|
|
2630
|
-
if (r === void 0 ||
|
|
2627
|
+
var r = fi(t, i);
|
|
2628
|
+
if (r === void 0 || pi(r) || Zn(r))
|
|
2631
2629
|
break;
|
|
2632
2630
|
n.push(r), i += r >= 65536 ? 2 : 1;
|
|
2633
2631
|
}
|
|
2634
2632
|
return pt.apply(void 0, n);
|
|
2635
2633
|
};
|
|
2636
|
-
var
|
|
2634
|
+
var Xn = (
|
|
2637
2635
|
/** @class */
|
|
2638
2636
|
function() {
|
|
2639
2637
|
function e(t, i) {
|
|
@@ -2715,7 +2713,7 @@ var qn = (
|
|
|
2715
2713
|
return this.error(B.INVALID_TAG, S(n, this.clonePosition()));
|
|
2716
2714
|
}, e.prototype.parseTagName = function() {
|
|
2717
2715
|
var t = this.offset();
|
|
2718
|
-
for (this.bump(); !this.isEOF() &&
|
|
2716
|
+
for (this.bump(); !this.isEOF() && Wn(this.char()); )
|
|
2719
2717
|
this.bump();
|
|
2720
2718
|
return this.message.slice(t, this.offset());
|
|
2721
2719
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
@@ -2744,7 +2742,7 @@ var qn = (
|
|
|
2744
2742
|
};
|
|
2745
2743
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2746
2744
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2747
|
-
!
|
|
2745
|
+
!qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2748
2746
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2749
2747
|
if (this.isEOF() || this.char() !== 39)
|
|
2750
2748
|
return null;
|
|
@@ -2831,7 +2829,7 @@ var qn = (
|
|
|
2831
2829
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2832
2830
|
if (f.err)
|
|
2833
2831
|
return f;
|
|
2834
|
-
var p =
|
|
2832
|
+
var p = Vn(f.val);
|
|
2835
2833
|
if (p.length === 0)
|
|
2836
2834
|
return this.error(B.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
|
|
2837
2835
|
var d = S(c, this.clonePosition());
|
|
@@ -2841,8 +2839,8 @@ var qn = (
|
|
|
2841
2839
|
if (_.err)
|
|
2842
2840
|
return _;
|
|
2843
2841
|
var x = S(r, this.clonePosition());
|
|
2844
|
-
if (a &&
|
|
2845
|
-
var v =
|
|
2842
|
+
if (a && Dt(a == null ? void 0 : a.style, "::", 0)) {
|
|
2843
|
+
var v = Fn(a.style.slice(2));
|
|
2846
2844
|
if (s === "number") {
|
|
2847
2845
|
var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
|
2848
2846
|
return f.err ? f : {
|
|
@@ -2853,12 +2851,12 @@ var qn = (
|
|
|
2853
2851
|
if (v.length === 0)
|
|
2854
2852
|
return this.error(B.EXPECT_DATE_TIME_SKELETON, x);
|
|
2855
2853
|
var E = v;
|
|
2856
|
-
this.locale && (E =
|
|
2854
|
+
this.locale && (E = kn(v, this.locale));
|
|
2857
2855
|
var p = {
|
|
2858
2856
|
type: _e.dateTime,
|
|
2859
2857
|
pattern: E,
|
|
2860
2858
|
location: a.styleLocation,
|
|
2861
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2859
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(E) : {}
|
|
2862
2860
|
}, M = s === "date" ? z.date : z.time;
|
|
2863
2861
|
return {
|
|
2864
2862
|
val: { type: M, value: n, location: x, style: p },
|
|
@@ -2904,7 +2902,7 @@ var qn = (
|
|
|
2904
2902
|
val: {
|
|
2905
2903
|
type: z.select,
|
|
2906
2904
|
value: n,
|
|
2907
|
-
options:
|
|
2905
|
+
options: Rt(R.val),
|
|
2908
2906
|
location: F
|
|
2909
2907
|
},
|
|
2910
2908
|
err: null
|
|
@@ -2912,7 +2910,7 @@ var qn = (
|
|
|
2912
2910
|
val: {
|
|
2913
2911
|
type: z.plural,
|
|
2914
2912
|
value: n,
|
|
2915
|
-
options:
|
|
2913
|
+
options: Rt(R.val),
|
|
2916
2914
|
offset: A,
|
|
2917
2915
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2918
2916
|
location: F
|
|
@@ -2963,7 +2961,7 @@ var qn = (
|
|
|
2963
2961
|
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
2964
2962
|
var n = [];
|
|
2965
2963
|
try {
|
|
2966
|
-
n =
|
|
2964
|
+
n = Bn(t);
|
|
2967
2965
|
} catch (r) {
|
|
2968
2966
|
return this.error(B.INVALID_NUMBER_SKELETON, i);
|
|
2969
2967
|
}
|
|
@@ -2972,7 +2970,7 @@ var qn = (
|
|
|
2972
2970
|
type: _e.number,
|
|
2973
2971
|
tokens: n,
|
|
2974
2972
|
location: i,
|
|
2975
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2973
|
+
parsedOptions: this.shouldParseSkeletons ? In(n) : {}
|
|
2976
2974
|
},
|
|
2977
2975
|
err: null
|
|
2978
2976
|
};
|
|
@@ -3020,7 +3018,7 @@ var qn = (
|
|
|
3020
3018
|
break;
|
|
3021
3019
|
}
|
|
3022
3020
|
var u = S(r, this.clonePosition());
|
|
3023
|
-
return o ? (l *= n,
|
|
3021
|
+
return o ? (l *= n, $n(l) ? { val: l, err: null } : this.error(i, u)) : this.error(t, u);
|
|
3024
3022
|
}, e.prototype.offset = function() {
|
|
3025
3023
|
return this.position.offset;
|
|
3026
3024
|
}, e.prototype.isEOF = function() {
|
|
@@ -3035,7 +3033,7 @@ var qn = (
|
|
|
3035
3033
|
var t = this.position.offset;
|
|
3036
3034
|
if (t >= this.message.length)
|
|
3037
3035
|
throw Error("out of bound");
|
|
3038
|
-
var i =
|
|
3036
|
+
var i = fi(this.message, t);
|
|
3039
3037
|
if (i === void 0)
|
|
3040
3038
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3041
3039
|
return i;
|
|
@@ -3054,7 +3052,7 @@ var qn = (
|
|
|
3054
3052
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3055
3053
|
}
|
|
3056
3054
|
}, e.prototype.bumpIf = function(t) {
|
|
3057
|
-
if (
|
|
3055
|
+
if (Dt(this.message, t, this.offset())) {
|
|
3058
3056
|
for (var i = 0; i < t.length; i++)
|
|
3059
3057
|
this.bump();
|
|
3060
3058
|
return !0;
|
|
@@ -3076,7 +3074,7 @@ var qn = (
|
|
|
3076
3074
|
break;
|
|
3077
3075
|
}
|
|
3078
3076
|
}, e.prototype.bumpSpace = function() {
|
|
3079
|
-
for (; !this.isEOF() &&
|
|
3077
|
+
for (; !this.isEOF() && pi(this.char()); )
|
|
3080
3078
|
this.bump();
|
|
3081
3079
|
}, e.prototype.peek = function() {
|
|
3082
3080
|
if (this.isEOF())
|
|
@@ -3089,30 +3087,30 @@ var qn = (
|
|
|
3089
3087
|
function bt(e) {
|
|
3090
3088
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3091
3089
|
}
|
|
3092
|
-
function
|
|
3090
|
+
function qn(e) {
|
|
3093
3091
|
return bt(e) || e === 47;
|
|
3094
3092
|
}
|
|
3095
|
-
function
|
|
3093
|
+
function Wn(e) {
|
|
3096
3094
|
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;
|
|
3097
3095
|
}
|
|
3098
|
-
function
|
|
3096
|
+
function pi(e) {
|
|
3099
3097
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3100
3098
|
}
|
|
3101
|
-
function
|
|
3099
|
+
function Zn(e) {
|
|
3102
3100
|
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;
|
|
3103
3101
|
}
|
|
3104
3102
|
function gt(e) {
|
|
3105
3103
|
e.forEach(function(t) {
|
|
3106
|
-
if (delete t.location,
|
|
3104
|
+
if (delete t.location, ri(t) || oi(t))
|
|
3107
3105
|
for (var i in t.options)
|
|
3108
3106
|
delete t.options[i].location, gt(t.options[i].value);
|
|
3109
3107
|
else
|
|
3110
|
-
|
|
3108
|
+
ti(t) && ai(t.style) || (ii(t) || ni(t)) && ft(t.style) ? delete t.style.location : si(t) && gt(t.children);
|
|
3111
3109
|
});
|
|
3112
3110
|
}
|
|
3113
|
-
function
|
|
3111
|
+
function Yn(e, t) {
|
|
3114
3112
|
t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3115
|
-
var i = new
|
|
3113
|
+
var i = new Xn(e, t).parse();
|
|
3116
3114
|
if (i.err) {
|
|
3117
3115
|
var n = SyntaxError(B[i.err.kind]);
|
|
3118
3116
|
throw n.location = i.err.location, n.originalMessage = i.err.message, n;
|
|
@@ -3135,7 +3133,7 @@ var Ye = (
|
|
|
3135
3133
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3136
3134
|
}, t;
|
|
3137
3135
|
}(Error)
|
|
3138
|
-
),
|
|
3136
|
+
), jt = (
|
|
3139
3137
|
/** @class */
|
|
3140
3138
|
function(e) {
|
|
3141
3139
|
Ze(t, e);
|
|
@@ -3144,7 +3142,7 @@ var Ye = (
|
|
|
3144
3142
|
}
|
|
3145
3143
|
return t;
|
|
3146
3144
|
}(Ye)
|
|
3147
|
-
),
|
|
3145
|
+
), Jn = (
|
|
3148
3146
|
/** @class */
|
|
3149
3147
|
function(e) {
|
|
3150
3148
|
Ze(t, e);
|
|
@@ -3153,7 +3151,7 @@ var Ye = (
|
|
|
3153
3151
|
}
|
|
3154
3152
|
return t;
|
|
3155
3153
|
}(Ye)
|
|
3156
|
-
),
|
|
3154
|
+
), Qn = (
|
|
3157
3155
|
/** @class */
|
|
3158
3156
|
function(e) {
|
|
3159
3157
|
Ze(t, e);
|
|
@@ -3166,17 +3164,17 @@ var Ye = (
|
|
|
3166
3164
|
(function(e) {
|
|
3167
3165
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3168
3166
|
})(W || (W = {}));
|
|
3169
|
-
function
|
|
3167
|
+
function Kn(e) {
|
|
3170
3168
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3171
3169
|
var n = t[t.length - 1];
|
|
3172
3170
|
return !n || n.type !== W.literal || i.type !== W.literal ? t.push(i) : n.value += i.value, t;
|
|
3173
3171
|
}, []);
|
|
3174
3172
|
}
|
|
3175
|
-
function
|
|
3173
|
+
function er(e) {
|
|
3176
3174
|
return typeof e == "function";
|
|
3177
3175
|
}
|
|
3178
3176
|
function Fe(e, t, i, n, r, o, l) {
|
|
3179
|
-
if (e.length === 1 &&
|
|
3177
|
+
if (e.length === 1 && Ct(e[0]))
|
|
3180
3178
|
return [
|
|
3181
3179
|
{
|
|
3182
3180
|
type: W.literal,
|
|
@@ -3185,14 +3183,14 @@ function Fe(e, t, i, n, r, o, l) {
|
|
|
3185
3183
|
];
|
|
3186
3184
|
for (var s = [], u = 0, a = e; u < a.length; u++) {
|
|
3187
3185
|
var c = a[u];
|
|
3188
|
-
if (
|
|
3186
|
+
if (Ct(c)) {
|
|
3189
3187
|
s.push({
|
|
3190
3188
|
type: W.literal,
|
|
3191
3189
|
value: c.value
|
|
3192
3190
|
});
|
|
3193
3191
|
continue;
|
|
3194
3192
|
}
|
|
3195
|
-
if (
|
|
3193
|
+
if (xn(c)) {
|
|
3196
3194
|
typeof o == "number" && s.push({
|
|
3197
3195
|
type: W.literal,
|
|
3198
3196
|
value: i.getNumberFormat(t).format(o)
|
|
@@ -3201,16 +3199,16 @@ function Fe(e, t, i, n, r, o, l) {
|
|
|
3201
3199
|
}
|
|
3202
3200
|
var f = c.value;
|
|
3203
3201
|
if (!(r && f in r))
|
|
3204
|
-
throw new
|
|
3202
|
+
throw new Qn(f, l);
|
|
3205
3203
|
var p = r[f];
|
|
3206
|
-
if (
|
|
3204
|
+
if (_n(c)) {
|
|
3207
3205
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
|
|
3208
3206
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3209
3207
|
value: p
|
|
3210
3208
|
});
|
|
3211
3209
|
continue;
|
|
3212
3210
|
}
|
|
3213
|
-
if (
|
|
3211
|
+
if (ii(c)) {
|
|
3214
3212
|
var d = typeof c.style == "string" ? n.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
|
|
3215
3213
|
s.push({
|
|
3216
3214
|
type: W.literal,
|
|
@@ -3218,7 +3216,7 @@ function Fe(e, t, i, n, r, o, l) {
|
|
|
3218
3216
|
});
|
|
3219
3217
|
continue;
|
|
3220
3218
|
}
|
|
3221
|
-
if (
|
|
3219
|
+
if (ni(c)) {
|
|
3222
3220
|
var d = typeof c.style == "string" ? n.time[c.style] : ft(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3223
3221
|
s.push({
|
|
3224
3222
|
type: W.literal,
|
|
@@ -3226,18 +3224,18 @@ function Fe(e, t, i, n, r, o, l) {
|
|
|
3226
3224
|
});
|
|
3227
3225
|
continue;
|
|
3228
3226
|
}
|
|
3229
|
-
if (
|
|
3230
|
-
var d = typeof c.style == "string" ? n.number[c.style] :
|
|
3227
|
+
if (ti(c)) {
|
|
3228
|
+
var d = typeof c.style == "string" ? n.number[c.style] : ai(c.style) ? c.style.parsedOptions : void 0;
|
|
3231
3229
|
d && d.scale && (p = p * (d.scale || 1)), s.push({
|
|
3232
3230
|
type: W.literal,
|
|
3233
3231
|
value: i.getNumberFormat(t, d).format(p)
|
|
3234
3232
|
});
|
|
3235
3233
|
continue;
|
|
3236
3234
|
}
|
|
3237
|
-
if (
|
|
3235
|
+
if (si(c)) {
|
|
3238
3236
|
var _ = c.children, x = c.value, v = r[x];
|
|
3239
|
-
if (!
|
|
3240
|
-
throw new
|
|
3237
|
+
if (!er(v))
|
|
3238
|
+
throw new Jn(x, "function", l);
|
|
3241
3239
|
var E = Fe(_, t, i, n, r, o), M = v(E.map(function(A) {
|
|
3242
3240
|
return A.value;
|
|
3243
3241
|
}));
|
|
@@ -3248,14 +3246,14 @@ function Fe(e, t, i, n, r, o, l) {
|
|
|
3248
3246
|
};
|
|
3249
3247
|
}));
|
|
3250
3248
|
}
|
|
3251
|
-
if (
|
|
3249
|
+
if (ri(c)) {
|
|
3252
3250
|
var w = c.options[p] || c.options.other;
|
|
3253
3251
|
if (!w)
|
|
3254
|
-
throw new
|
|
3252
|
+
throw new jt(c.value, p, Object.keys(c.options), l);
|
|
3255
3253
|
s.push.apply(s, Fe(w.value, t, i, n, r));
|
|
3256
3254
|
continue;
|
|
3257
3255
|
}
|
|
3258
|
-
if (
|
|
3256
|
+
if (oi(c)) {
|
|
3259
3257
|
var w = c.options["=".concat(p)];
|
|
3260
3258
|
if (!w) {
|
|
3261
3259
|
if (!Intl.PluralRules)
|
|
@@ -3266,21 +3264,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3266
3264
|
w = c.options[D] || c.options.other;
|
|
3267
3265
|
}
|
|
3268
3266
|
if (!w)
|
|
3269
|
-
throw new
|
|
3267
|
+
throw new jt(c.value, p, Object.keys(c.options), l);
|
|
3270
3268
|
s.push.apply(s, Fe(w.value, t, i, n, r, p - (c.offset || 0)));
|
|
3271
3269
|
continue;
|
|
3272
3270
|
}
|
|
3273
3271
|
}
|
|
3274
|
-
return
|
|
3272
|
+
return Kn(s);
|
|
3275
3273
|
}
|
|
3276
|
-
function
|
|
3274
|
+
function tr(e, t) {
|
|
3277
3275
|
return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
|
|
3278
3276
|
return i[n] = k(k({}, e[n]), t[n] || {}), i;
|
|
3279
3277
|
}, {})) : e;
|
|
3280
3278
|
}
|
|
3281
|
-
function
|
|
3279
|
+
function ir(e, t) {
|
|
3282
3280
|
return t ? Object.keys(e).reduce(function(i, n) {
|
|
3283
|
-
return i[n] =
|
|
3281
|
+
return i[n] = tr(e[n], t[n]), i;
|
|
3284
3282
|
}, k({}, e)) : e;
|
|
3285
3283
|
}
|
|
3286
3284
|
function at(e) {
|
|
@@ -3297,7 +3295,7 @@ function at(e) {
|
|
|
3297
3295
|
}
|
|
3298
3296
|
};
|
|
3299
3297
|
}
|
|
3300
|
-
function
|
|
3298
|
+
function nr(e) {
|
|
3301
3299
|
return e === void 0 && (e = {
|
|
3302
3300
|
number: {},
|
|
3303
3301
|
dateTime: {},
|
|
@@ -3329,7 +3327,7 @@ function rr(e) {
|
|
|
3329
3327
|
})
|
|
3330
3328
|
};
|
|
3331
3329
|
}
|
|
3332
|
-
var
|
|
3330
|
+
var rr = (
|
|
3333
3331
|
/** @class */
|
|
3334
3332
|
function() {
|
|
3335
3333
|
function e(t, i, n, r) {
|
|
@@ -3361,13 +3359,13 @@ var or = (
|
|
|
3361
3359
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3362
3360
|
var l = r || {};
|
|
3363
3361
|
l.formatters;
|
|
3364
|
-
var s =
|
|
3362
|
+
var s = mn(l, ["formatters"]);
|
|
3365
3363
|
this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
|
|
3366
3364
|
} else
|
|
3367
3365
|
this.ast = t;
|
|
3368
3366
|
if (!Array.isArray(this.ast))
|
|
3369
3367
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3370
|
-
this.formats =
|
|
3368
|
+
this.formats = ir(e.formats, n), this.formatters = r && r.formatters || nr(this.formatterCache);
|
|
3371
3369
|
}
|
|
3372
3370
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3373
3371
|
get: function() {
|
|
@@ -3380,7 +3378,7 @@ var or = (
|
|
|
3380
3378
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3381
3379
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3382
3380
|
}
|
|
3383
|
-
}, e.__parse =
|
|
3381
|
+
}, e.__parse = Yn, e.formats = {
|
|
3384
3382
|
number: {
|
|
3385
3383
|
integer: {
|
|
3386
3384
|
maximumFractionDigits: 0
|
|
@@ -3441,7 +3439,7 @@ var or = (
|
|
|
3441
3439
|
}, e;
|
|
3442
3440
|
}()
|
|
3443
3441
|
);
|
|
3444
|
-
function
|
|
3442
|
+
function or(e, t) {
|
|
3445
3443
|
if (t == null)
|
|
3446
3444
|
return;
|
|
3447
3445
|
if (t in e)
|
|
@@ -3462,60 +3460,60 @@ function sr(e, t) {
|
|
|
3462
3460
|
n = void 0;
|
|
3463
3461
|
return n;
|
|
3464
3462
|
}
|
|
3465
|
-
const le = {},
|
|
3463
|
+
const le = {}, sr = (e, t, i) => i && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = i), i), di = (e, t) => {
|
|
3466
3464
|
if (t == null)
|
|
3467
3465
|
return;
|
|
3468
3466
|
if (t in le && e in le[t])
|
|
3469
3467
|
return le[t][e];
|
|
3470
3468
|
const i = Je(t);
|
|
3471
3469
|
for (let n = 0; n < i.length; n++) {
|
|
3472
|
-
const r = i[n], o =
|
|
3470
|
+
const r = i[n], o = lr(r, e);
|
|
3473
3471
|
if (o)
|
|
3474
|
-
return
|
|
3472
|
+
return sr(e, t, o);
|
|
3475
3473
|
}
|
|
3476
3474
|
};
|
|
3477
|
-
let
|
|
3475
|
+
let _t;
|
|
3478
3476
|
const De = We({});
|
|
3479
|
-
function
|
|
3480
|
-
return
|
|
3477
|
+
function ar(e) {
|
|
3478
|
+
return _t[e] || null;
|
|
3481
3479
|
}
|
|
3482
|
-
function
|
|
3483
|
-
return e in
|
|
3480
|
+
function bi(e) {
|
|
3481
|
+
return e in _t;
|
|
3484
3482
|
}
|
|
3485
|
-
function
|
|
3486
|
-
if (!
|
|
3483
|
+
function lr(e, t) {
|
|
3484
|
+
if (!bi(e))
|
|
3487
3485
|
return null;
|
|
3488
|
-
const i =
|
|
3489
|
-
return
|
|
3486
|
+
const i = ar(e);
|
|
3487
|
+
return or(i, t);
|
|
3490
3488
|
}
|
|
3491
|
-
function
|
|
3489
|
+
function ur(e) {
|
|
3492
3490
|
if (e == null)
|
|
3493
3491
|
return;
|
|
3494
3492
|
const t = Je(e);
|
|
3495
3493
|
for (let i = 0; i < t.length; i++) {
|
|
3496
3494
|
const n = t[i];
|
|
3497
|
-
if (
|
|
3495
|
+
if (bi(n))
|
|
3498
3496
|
return n;
|
|
3499
3497
|
}
|
|
3500
3498
|
}
|
|
3501
|
-
function
|
|
3502
|
-
delete le[e], De.update((i) => (i[e] =
|
|
3499
|
+
function gi(e, ...t) {
|
|
3500
|
+
delete le[e], De.update((i) => (i[e] = fn.all([i[e] || {}, ...t]), i));
|
|
3503
3501
|
}
|
|
3504
3502
|
Pe(
|
|
3505
3503
|
[De],
|
|
3506
3504
|
([e]) => Object.keys(e)
|
|
3507
3505
|
);
|
|
3508
|
-
De.subscribe((e) =>
|
|
3506
|
+
De.subscribe((e) => _t = e);
|
|
3509
3507
|
const Ve = {};
|
|
3510
|
-
function
|
|
3508
|
+
function cr(e, t) {
|
|
3511
3509
|
Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
|
|
3512
3510
|
}
|
|
3513
|
-
function
|
|
3511
|
+
function yi(e) {
|
|
3514
3512
|
return Ve[e];
|
|
3515
3513
|
}
|
|
3516
|
-
function
|
|
3514
|
+
function hr(e) {
|
|
3517
3515
|
return Je(e).map((t) => {
|
|
3518
|
-
const i =
|
|
3516
|
+
const i = yi(t);
|
|
3519
3517
|
return [t, i ? [...i] : []];
|
|
3520
3518
|
}).filter(([, t]) => t.length > 0);
|
|
3521
3519
|
}
|
|
@@ -3523,31 +3521,31 @@ function yt(e) {
|
|
|
3523
3521
|
return e == null ? !1 : Je(e).some(
|
|
3524
3522
|
(t) => {
|
|
3525
3523
|
var i;
|
|
3526
|
-
return (i =
|
|
3524
|
+
return (i = yi(t)) == null ? void 0 : i.size;
|
|
3527
3525
|
}
|
|
3528
3526
|
);
|
|
3529
3527
|
}
|
|
3530
|
-
function
|
|
3528
|
+
function fr(e, t) {
|
|
3531
3529
|
return Promise.all(
|
|
3532
|
-
t.map((n) => (
|
|
3533
|
-
).then((n) =>
|
|
3530
|
+
t.map((n) => (cr(e, n), n().then((r) => r.default || r)))
|
|
3531
|
+
).then((n) => gi(e, ...n));
|
|
3534
3532
|
}
|
|
3535
3533
|
const ke = {};
|
|
3536
|
-
function
|
|
3534
|
+
function vi(e) {
|
|
3537
3535
|
if (!yt(e))
|
|
3538
3536
|
return e in ke ? ke[e] : Promise.resolve();
|
|
3539
|
-
const t =
|
|
3537
|
+
const t = hr(e);
|
|
3540
3538
|
return ke[e] = Promise.all(
|
|
3541
3539
|
t.map(
|
|
3542
|
-
([i, n]) =>
|
|
3540
|
+
([i, n]) => fr(i, n)
|
|
3543
3541
|
)
|
|
3544
3542
|
).then(() => {
|
|
3545
3543
|
if (yt(e))
|
|
3546
|
-
return
|
|
3544
|
+
return vi(e);
|
|
3547
3545
|
delete ke[e];
|
|
3548
3546
|
}), ke[e];
|
|
3549
3547
|
}
|
|
3550
|
-
const
|
|
3548
|
+
const mr = {
|
|
3551
3549
|
number: {
|
|
3552
3550
|
scientific: { notation: "scientific" },
|
|
3553
3551
|
engineering: { notation: "engineering" },
|
|
@@ -3576,34 +3574,34 @@ const pr = {
|
|
|
3576
3574
|
timeZoneName: "short"
|
|
3577
3575
|
}
|
|
3578
3576
|
}
|
|
3579
|
-
},
|
|
3577
|
+
}, pr = {
|
|
3580
3578
|
fallbackLocale: null,
|
|
3581
3579
|
loadingDelay: 200,
|
|
3582
|
-
formats:
|
|
3580
|
+
formats: mr,
|
|
3583
3581
|
warnOnMissingMessages: !0,
|
|
3584
3582
|
handleMissingMessage: void 0,
|
|
3585
3583
|
ignoreTag: !0
|
|
3586
|
-
},
|
|
3584
|
+
}, dr = pr;
|
|
3587
3585
|
function Te() {
|
|
3588
|
-
return
|
|
3586
|
+
return dr;
|
|
3589
3587
|
}
|
|
3590
3588
|
const lt = We(!1);
|
|
3591
|
-
var
|
|
3589
|
+
var br = Object.defineProperty, gr = Object.defineProperties, yr = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, $t = (e, t, i) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, _r = (e, t) => {
|
|
3592
3590
|
for (var i in t || (t = {}))
|
|
3593
|
-
|
|
3594
|
-
if (
|
|
3595
|
-
for (var i of
|
|
3596
|
-
|
|
3591
|
+
vr.call(t, i) && $t(e, i, t[i]);
|
|
3592
|
+
if (Gt)
|
|
3593
|
+
for (var i of Gt(t))
|
|
3594
|
+
Er.call(t, i) && $t(e, i, t[i]);
|
|
3597
3595
|
return e;
|
|
3598
|
-
},
|
|
3596
|
+
}, xr = (e, t) => gr(e, yr(t));
|
|
3599
3597
|
let vt;
|
|
3600
3598
|
const Xe = We(null);
|
|
3601
|
-
function
|
|
3599
|
+
function zt(e) {
|
|
3602
3600
|
return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
|
|
3603
3601
|
}
|
|
3604
3602
|
function Je(e, t = Te().fallbackLocale) {
|
|
3605
|
-
const i =
|
|
3606
|
-
return t ? [.../* @__PURE__ */ new Set([...i, ...
|
|
3603
|
+
const i = zt(e);
|
|
3604
|
+
return t ? [.../* @__PURE__ */ new Set([...i, ...zt(t)])] : i;
|
|
3607
3605
|
}
|
|
3608
3606
|
function he() {
|
|
3609
3607
|
return vt != null ? vt : void 0;
|
|
@@ -3611,22 +3609,22 @@ function he() {
|
|
|
3611
3609
|
Xe.subscribe((e) => {
|
|
3612
3610
|
vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3613
3611
|
});
|
|
3614
|
-
const
|
|
3615
|
-
if (e &&
|
|
3612
|
+
const Tr = (e) => {
|
|
3613
|
+
if (e && ur(e) && yt(e)) {
|
|
3616
3614
|
const { loadingDelay: t } = Te();
|
|
3617
3615
|
let i;
|
|
3618
3616
|
return typeof window != "undefined" && he() != null && t ? i = window.setTimeout(
|
|
3619
3617
|
() => lt.set(!0),
|
|
3620
3618
|
t
|
|
3621
|
-
) : lt.set(!0),
|
|
3619
|
+
) : lt.set(!0), vi(e).then(() => {
|
|
3622
3620
|
Xe.set(e);
|
|
3623
3621
|
}).finally(() => {
|
|
3624
3622
|
clearTimeout(i), lt.set(!1);
|
|
3625
3623
|
});
|
|
3626
3624
|
}
|
|
3627
3625
|
return Xe.set(e);
|
|
3628
|
-
}, we =
|
|
3629
|
-
set:
|
|
3626
|
+
}, we = xr(_r({}, Xe), {
|
|
3627
|
+
set: Tr
|
|
3630
3628
|
}), Qe = (e) => {
|
|
3631
3629
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3632
3630
|
return (n) => {
|
|
@@ -3634,20 +3632,20 @@ const Pr = (e) => {
|
|
|
3634
3632
|
return r in t ? t[r] : t[r] = e(n);
|
|
3635
3633
|
};
|
|
3636
3634
|
};
|
|
3637
|
-
var
|
|
3635
|
+
var Pr = Object.defineProperty, qe = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, Ft = (e, t, i) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, xt = (e, t) => {
|
|
3638
3636
|
for (var i in t || (t = {}))
|
|
3639
|
-
|
|
3637
|
+
Ei.call(t, i) && Ft(e, i, t[i]);
|
|
3640
3638
|
if (qe)
|
|
3641
3639
|
for (var i of qe(t))
|
|
3642
|
-
|
|
3640
|
+
_i.call(t, i) && Ft(e, i, t[i]);
|
|
3643
3641
|
return e;
|
|
3644
3642
|
}, Be = (e, t) => {
|
|
3645
3643
|
var i = {};
|
|
3646
3644
|
for (var n in e)
|
|
3647
|
-
|
|
3645
|
+
Ei.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
3648
3646
|
if (e != null && qe)
|
|
3649
3647
|
for (var n of qe(e))
|
|
3650
|
-
t.indexOf(n) < 0 &&
|
|
3648
|
+
t.indexOf(n) < 0 && _i.call(e, n) && (i[n] = e[n]);
|
|
3651
3649
|
return i;
|
|
3652
3650
|
};
|
|
3653
3651
|
const Me = (e, t) => {
|
|
@@ -3655,21 +3653,21 @@ const Me = (e, t) => {
|
|
|
3655
3653
|
if (e in i && t in i[e])
|
|
3656
3654
|
return i[e][t];
|
|
3657
3655
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3658
|
-
},
|
|
3656
|
+
}, wr = Qe(
|
|
3659
3657
|
(e) => {
|
|
3660
3658
|
var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
|
|
3661
3659
|
if (i == null)
|
|
3662
3660
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3663
3661
|
return n && (r = Me("number", n)), new Intl.NumberFormat(i, r);
|
|
3664
3662
|
}
|
|
3665
|
-
),
|
|
3663
|
+
), Br = Qe(
|
|
3666
3664
|
(e) => {
|
|
3667
3665
|
var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
|
|
3668
3666
|
if (i == null)
|
|
3669
3667
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3670
3668
|
return n ? r = Me("date", n) : Object.keys(r).length === 0 && (r = Me("date", "short")), new Intl.DateTimeFormat(i, r);
|
|
3671
3669
|
}
|
|
3672
|
-
),
|
|
3670
|
+
), Lr = Qe(
|
|
3673
3671
|
(e) => {
|
|
3674
3672
|
var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
|
|
3675
3673
|
if (i == null)
|
|
@@ -3678,33 +3676,33 @@ const Me = (e, t) => {
|
|
|
3678
3676
|
);
|
|
3679
3677
|
return n ? r = Me("time", n) : Object.keys(r).length === 0 && (r = Me("time", "short")), new Intl.DateTimeFormat(i, r);
|
|
3680
3678
|
}
|
|
3681
|
-
),
|
|
3679
|
+
), Ar = (e = {}) => {
|
|
3682
3680
|
var t = e, {
|
|
3683
3681
|
locale: i = he()
|
|
3684
3682
|
} = t, n = Be(t, [
|
|
3685
3683
|
"locale"
|
|
3686
3684
|
]);
|
|
3687
|
-
return
|
|
3688
|
-
},
|
|
3685
|
+
return wr(xt({ locale: i }, n));
|
|
3686
|
+
}, Sr = (e = {}) => {
|
|
3689
3687
|
var t = e, {
|
|
3690
3688
|
locale: i = he()
|
|
3691
3689
|
} = t, n = Be(t, [
|
|
3692
3690
|
"locale"
|
|
3693
3691
|
]);
|
|
3694
|
-
return
|
|
3695
|
-
},
|
|
3692
|
+
return Br(xt({ locale: i }, n));
|
|
3693
|
+
}, Ir = (e = {}) => {
|
|
3696
3694
|
var t = e, {
|
|
3697
3695
|
locale: i = he()
|
|
3698
3696
|
} = t, n = Be(t, [
|
|
3699
3697
|
"locale"
|
|
3700
3698
|
]);
|
|
3701
|
-
return
|
|
3702
|
-
},
|
|
3699
|
+
return Lr(xt({ locale: i }, n));
|
|
3700
|
+
}, kr = Qe(
|
|
3703
3701
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3704
|
-
(e, t = he()) => new
|
|
3702
|
+
(e, t = he()) => new rr(e, t, Te().formats, {
|
|
3705
3703
|
ignoreTag: Te().ignoreTag
|
|
3706
3704
|
})
|
|
3707
|
-
),
|
|
3705
|
+
), Hr = (e, t = {}) => {
|
|
3708
3706
|
var i, n, r, o;
|
|
3709
3707
|
let l = t;
|
|
3710
3708
|
typeof e == "object" && (l = e, e = l.id);
|
|
@@ -3717,7 +3715,7 @@ const Me = (e, t) => {
|
|
|
3717
3715
|
throw new Error(
|
|
3718
3716
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3719
3717
|
);
|
|
3720
|
-
let c =
|
|
3718
|
+
let c = di(e, u);
|
|
3721
3719
|
if (!c)
|
|
3722
3720
|
c = (o = (r = (n = (i = Te()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: u, id: e, defaultValue: a })) != null ? r : a) != null ? o : e;
|
|
3723
3721
|
else if (typeof c != "string")
|
|
@@ -3728,7 +3726,7 @@ const Me = (e, t) => {
|
|
|
3728
3726
|
return c;
|
|
3729
3727
|
let f = c;
|
|
3730
3728
|
try {
|
|
3731
|
-
f =
|
|
3729
|
+
f = kr(c, u).format(s);
|
|
3732
3730
|
} catch (p) {
|
|
3733
3731
|
p instanceof Error && console.warn(
|
|
3734
3732
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3736,18 +3734,18 @@ const Me = (e, t) => {
|
|
|
3736
3734
|
);
|
|
3737
3735
|
}
|
|
3738
3736
|
return f;
|
|
3739
|
-
},
|
|
3737
|
+
}, Cr = (e, t) => Ir(t).format(e), Nr = (e, t) => Sr(t).format(e), Or = (e, t) => Ar(t).format(e), Mr = (e, t = he()) => di(e, t), Dr = Pe([we, De], () => Hr);
|
|
3738
|
+
Pe([we], () => Cr);
|
|
3740
3739
|
Pe([we], () => Nr);
|
|
3741
3740
|
Pe([we], () => Or);
|
|
3742
|
-
Pe([we], () => Mr);
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
vi(e, t);
|
|
3741
|
+
Pe([we, De], () => Mr);
|
|
3742
|
+
function Vt(e, t) {
|
|
3743
|
+
gi(e, t);
|
|
3746
3744
|
}
|
|
3747
|
-
function
|
|
3745
|
+
function Rr(e) {
|
|
3748
3746
|
we.set(e);
|
|
3749
3747
|
}
|
|
3750
|
-
const
|
|
3748
|
+
const Xt = {
|
|
3751
3749
|
en: {
|
|
3752
3750
|
loading: "Loading, please wait...",
|
|
3753
3751
|
setLimit: "Set a limit",
|
|
@@ -4008,13 +4006,13 @@ const Wt = {
|
|
|
4008
4006
|
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."
|
|
4009
4007
|
}
|
|
4010
4008
|
};
|
|
4011
|
-
function
|
|
4009
|
+
function Ur(e, t) {
|
|
4012
4010
|
if (e) {
|
|
4013
4011
|
const i = document.createElement("style");
|
|
4014
4012
|
i.innerHTML = t, e.appendChild(i);
|
|
4015
4013
|
}
|
|
4016
4014
|
}
|
|
4017
|
-
function
|
|
4015
|
+
function jr(e, t) {
|
|
4018
4016
|
const i = new URL(t);
|
|
4019
4017
|
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
4020
4018
|
const r = document.createElement("style");
|
|
@@ -4023,7 +4021,7 @@ function Gr(e, t) {
|
|
|
4023
4021
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4024
4022
|
});
|
|
4025
4023
|
}
|
|
4026
|
-
function
|
|
4024
|
+
function Gr(e, t, i) {
|
|
4027
4025
|
if (window.emMessageBus) {
|
|
4028
4026
|
const n = document.createElement("style");
|
|
4029
4027
|
window.emMessageBus.subscribe(t, (r) => {
|
|
@@ -4031,37 +4029,37 @@ function $r(e, t, i) {
|
|
|
4031
4029
|
});
|
|
4032
4030
|
}
|
|
4033
4031
|
}
|
|
4034
|
-
function
|
|
4035
|
-
|
|
4032
|
+
function $r(e) {
|
|
4033
|
+
Si(e, "svelte-1jw4gf9", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
|
|
4036
4034
|
}
|
|
4037
|
-
function
|
|
4035
|
+
function zr(e) {
|
|
4038
4036
|
let t;
|
|
4039
4037
|
function i(o, l) {
|
|
4040
4038
|
if (
|
|
4041
4039
|
/*popupState*/
|
|
4042
4040
|
o[10] === "initial"
|
|
4043
4041
|
)
|
|
4044
|
-
return
|
|
4042
|
+
return Zr;
|
|
4045
4043
|
if (
|
|
4046
4044
|
/*popupState*/
|
|
4047
4045
|
o[10] === "successful"
|
|
4048
4046
|
)
|
|
4049
|
-
return
|
|
4047
|
+
return Wr;
|
|
4050
4048
|
if (
|
|
4051
4049
|
/*popupState*/
|
|
4052
4050
|
o[10] === "KYC"
|
|
4053
4051
|
)
|
|
4054
|
-
return
|
|
4052
|
+
return qr;
|
|
4055
4053
|
if (
|
|
4056
4054
|
/*popupState*/
|
|
4057
4055
|
o[10] === "KYC2"
|
|
4058
4056
|
)
|
|
4059
|
-
return
|
|
4057
|
+
return Xr;
|
|
4060
4058
|
if (
|
|
4061
4059
|
/*popupState*/
|
|
4062
4060
|
o[10] === "error"
|
|
4063
4061
|
)
|
|
4064
|
-
return
|
|
4062
|
+
return Vr;
|
|
4065
4063
|
}
|
|
4066
4064
|
let n = i(e), r = n && n(e);
|
|
4067
4065
|
return {
|
|
@@ -4079,7 +4077,7 @@ function Fr(e) {
|
|
|
4079
4077
|
}
|
|
4080
4078
|
};
|
|
4081
4079
|
}
|
|
4082
|
-
function
|
|
4080
|
+
function Fr(e) {
|
|
4083
4081
|
let t, i = (
|
|
4084
4082
|
/*$_*/
|
|
4085
4083
|
e[12]("loading") + ""
|
|
@@ -4101,7 +4099,7 @@ function Vr(e) {
|
|
|
4101
4099
|
}
|
|
4102
4100
|
};
|
|
4103
4101
|
}
|
|
4104
|
-
function
|
|
4102
|
+
function Vr(e) {
|
|
4105
4103
|
let t, i = (
|
|
4106
4104
|
/*$_*/
|
|
4107
4105
|
e[12]("depositError") + ""
|
|
@@ -4138,7 +4136,7 @@ function Xr(e) {
|
|
|
4138
4136
|
}
|
|
4139
4137
|
};
|
|
4140
4138
|
}
|
|
4141
|
-
function
|
|
4139
|
+
function Xr(e) {
|
|
4142
4140
|
let t, i = (
|
|
4143
4141
|
/*$_*/
|
|
4144
4142
|
e[12]("docsRequired") + ""
|
|
@@ -4196,7 +4194,7 @@ function qr(e) {
|
|
|
4196
4194
|
}
|
|
4197
4195
|
};
|
|
4198
4196
|
}
|
|
4199
|
-
function
|
|
4197
|
+
function qr(e) {
|
|
4200
4198
|
let t, i = (
|
|
4201
4199
|
/*$_*/
|
|
4202
4200
|
e[12]("depositLimit") + ""
|
|
@@ -4275,7 +4273,7 @@ function Wr(e) {
|
|
|
4275
4273
|
}
|
|
4276
4274
|
};
|
|
4277
4275
|
}
|
|
4278
|
-
function
|
|
4276
|
+
function Wr(e) {
|
|
4279
4277
|
let t, i = (
|
|
4280
4278
|
/*$_*/
|
|
4281
4279
|
e[12]("depositLimit") + ""
|
|
@@ -4313,7 +4311,7 @@ function Zr(e) {
|
|
|
4313
4311
|
}
|
|
4314
4312
|
};
|
|
4315
4313
|
}
|
|
4316
|
-
function
|
|
4314
|
+
function Zr(e) {
|
|
4317
4315
|
let t, i = (
|
|
4318
4316
|
/*$_*/
|
|
4319
4317
|
e[12]("setLimit") + ""
|
|
@@ -4350,10 +4348,10 @@ function Yr(e) {
|
|
|
4350
4348
|
), se, Ue, ee, je = (
|
|
4351
4349
|
/*$_*/
|
|
4352
4350
|
e[12]("PPlink") + ""
|
|
4353
|
-
), Ke,
|
|
4351
|
+
), Ke, Tt, et, Pt;
|
|
4354
4352
|
return {
|
|
4355
4353
|
c() {
|
|
4356
|
-
t = g("p"), n = L(i), r = N(), o = g("p"), s = L(l), u = N(), a = g("p"), f = L(c), p = N(), d = g("button"), x = L(_), v = N(), E = g("button"), w = L(M), D = N(), A = g("button"), F = L(R), C = Y("svg"), U = Y("path"), $ = Y("path"), X = N(), P = g("div"), j = g("div"), ne = g("span"), ae = L(re), V = N(), G = g("div"), K = g("input"), Re = N(), oe = g("button"), Le = L(fe), Ae = N(), J = g("p"), Se = L(me), ce = g("button"), Ie = L(pe), b = N(), se = L(q), Ue = N(), ee = g("button"), Ke = L(je),
|
|
4354
|
+
t = g("p"), n = L(i), r = N(), o = g("p"), s = L(l), u = N(), a = g("p"), f = L(c), p = N(), d = g("button"), x = L(_), v = N(), E = g("button"), w = L(M), D = N(), A = g("button"), F = L(R), C = Y("svg"), U = Y("path"), $ = Y("path"), X = N(), P = g("div"), j = g("div"), ne = g("span"), ae = L(re), V = N(), G = g("div"), K = g("input"), Re = N(), oe = g("button"), Le = L(fe), Ae = N(), J = g("p"), Se = L(me), ce = g("button"), Ie = L(pe), b = N(), se = L(q), Ue = N(), ee = g("button"), Ke = L(je), Tt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(a, "class", "AdditionalInformation"), h(E, "class", "KeepCurrentButton PrimaryButtonStyle"), h(U, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h($, "d", "M0 0h36v36h-36z"), h($, "fill", "none"), h(C, "class", "ExpandArrow"), h(C, "xmlns", "http://www.w3.org/2000/svg"), h(C, "width", "36"), h(C, "height", "36"), h(C, "viewBox", "0 0 36 36"), h(C, "fill", "#999"), Ge(
|
|
4357
4355
|
C,
|
|
4358
4356
|
"Extended",
|
|
4359
4357
|
/*extended*/
|
|
@@ -4366,11 +4364,11 @@ function Yr(e) {
|
|
|
4366
4364
|
), h(ce, "class", "LinkButton"), h(ee, "class", "LinkButton"), h(J, "class", "TermsConditions");
|
|
4367
4365
|
},
|
|
4368
4366
|
m(I, O) {
|
|
4369
|
-
T(I, t, O), m(t, n), T(I, r, O), T(I, o, O), m(o, s), T(I, u, O), T(I, a, O), m(a, f), m(a, p), m(a, d), m(d, x), T(I, v, O), T(I, E, O), m(E, w), T(I, D, O), T(I, A, O), m(A, F), m(A, C), m(C, U), m(C, $), e[26](C), T(I, X, O), T(I, P, O), m(P, j), m(j, ne), m(ne, ae), m(P, V), m(P, G), m(G, K),
|
|
4367
|
+
T(I, t, O), m(t, n), T(I, r, O), T(I, o, O), m(o, s), T(I, u, O), T(I, a, O), m(a, f), m(a, p), m(a, d), m(d, x), T(I, v, O), T(I, E, O), m(E, w), T(I, D, O), T(I, A, O), m(A, F), m(A, C), m(C, U), m(C, $), e[26](C), T(I, X, O), T(I, P, O), m(P, j), m(j, ne), m(ne, ae), m(P, V), m(P, G), m(G, K), It(
|
|
4370
4368
|
K,
|
|
4371
4369
|
/*inputAmount*/
|
|
4372
4370
|
e[6]
|
|
4373
|
-
), m(G, Re), m(G, oe), m(oe, Le), e[28](oe), T(I, Ae, O), T(I, J, O), m(J, Se), m(J, ce), m(ce, Ie), m(J, b), m(J, se), m(J, Ue), m(J, ee), m(ee, Ke), m(J,
|
|
4371
|
+
), m(G, Re), m(G, oe), m(oe, Le), e[28](oe), T(I, Ae, O), T(I, J, O), m(J, Se), m(J, ce), m(ce, Ie), m(J, b), m(J, se), m(J, Ue), m(J, ee), m(ee, Ke), m(J, Tt), et || (Pt = [
|
|
4374
4372
|
Z(
|
|
4375
4373
|
d,
|
|
4376
4374
|
"click",
|
|
@@ -4443,8 +4441,8 @@ function Yr(e) {
|
|
|
4443
4441
|
), O[0] & /*$_*/
|
|
4444
4442
|
4096 && re !== (re = /*$_*/
|
|
4445
4443
|
I[12]("depositPeriod") + "") && H(ae, re), O[0] & /*inputAmount*/
|
|
4446
|
-
64 &&
|
|
4447
|
-
I[6] &&
|
|
4444
|
+
64 && Yt(K.value) !== /*inputAmount*/
|
|
4445
|
+
I[6] && It(
|
|
4448
4446
|
K,
|
|
4449
4447
|
/*inputAmount*/
|
|
4450
4448
|
I[6]
|
|
@@ -4467,23 +4465,23 @@ function Yr(e) {
|
|
|
4467
4465
|
I[12]("PPlink") + "") && H(Ke, je);
|
|
4468
4466
|
},
|
|
4469
4467
|
d(I) {
|
|
4470
|
-
I && (y(t), y(r), y(o), y(u), y(a), y(v), y(E), y(D), y(A), y(X), y(P), y(Ae), y(J)), e[26](null), e[28](null), et = !1, ue(
|
|
4468
|
+
I && (y(t), y(r), y(o), y(u), y(a), y(v), y(E), y(D), y(A), y(X), y(P), y(Ae), y(J)), e[26](null), e[28](null), et = !1, ue(Pt);
|
|
4471
4469
|
}
|
|
4472
4470
|
};
|
|
4473
4471
|
}
|
|
4474
|
-
function
|
|
4472
|
+
function Yr(e) {
|
|
4475
4473
|
let t, i, n, r, o, l;
|
|
4476
4474
|
function s(c, f) {
|
|
4477
4475
|
if (
|
|
4478
4476
|
/*isLoading*/
|
|
4479
4477
|
c[7]
|
|
4480
4478
|
)
|
|
4481
|
-
return
|
|
4479
|
+
return Fr;
|
|
4482
4480
|
if (
|
|
4483
4481
|
/*lang*/
|
|
4484
4482
|
c[1]
|
|
4485
4483
|
)
|
|
4486
|
-
return
|
|
4484
|
+
return zr;
|
|
4487
4485
|
}
|
|
4488
4486
|
let u = s(e), a = u && u(e);
|
|
4489
4487
|
return {
|
|
@@ -4503,21 +4501,21 @@ function Jr(e) {
|
|
|
4503
4501
|
}
|
|
4504
4502
|
};
|
|
4505
4503
|
}
|
|
4506
|
-
function
|
|
4504
|
+
function Jr(e, t, i) {
|
|
4507
4505
|
let n;
|
|
4508
|
-
|
|
4506
|
+
Ai(e, Dr, (b) => i(12, n = b));
|
|
4509
4507
|
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: l = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: a = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: p } = t, d, _, x = !0, v = !1, E, M = !1, w, D, A = "initial", R;
|
|
4510
4508
|
const F = () => {
|
|
4511
4509
|
fetch(a).then((q) => q.json()).then((q) => {
|
|
4512
4510
|
Object.keys(q).forEach((se) => {
|
|
4513
|
-
|
|
4511
|
+
Vt(se, q[se]);
|
|
4514
4512
|
});
|
|
4515
4513
|
}).catch((q) => {
|
|
4516
4514
|
console.log(q);
|
|
4517
4515
|
});
|
|
4518
4516
|
};
|
|
4519
|
-
Object.keys(
|
|
4520
|
-
|
|
4517
|
+
Object.keys(Xt).forEach((b) => {
|
|
4518
|
+
Vt(b, Xt[b]);
|
|
4521
4519
|
});
|
|
4522
4520
|
const C = () => {
|
|
4523
4521
|
i(5, v = !v), i(4, x = !x);
|
|
@@ -4570,9 +4568,9 @@ function Qr(e, t, i) {
|
|
|
4570
4568
|
else
|
|
4571
4569
|
i(10, A = "error");
|
|
4572
4570
|
}, ne = () => {
|
|
4573
|
-
|
|
4571
|
+
Rr(u);
|
|
4574
4572
|
};
|
|
4575
|
-
|
|
4573
|
+
Oi(() => () => {
|
|
4576
4574
|
});
|
|
4577
4575
|
const re = () => X("lugasInformation"), ae = () => P("default");
|
|
4578
4576
|
function V(b) {
|
|
@@ -4581,7 +4579,7 @@ function Qr(e, t, i) {
|
|
|
4581
4579
|
});
|
|
4582
4580
|
}
|
|
4583
4581
|
function G() {
|
|
4584
|
-
E =
|
|
4582
|
+
E = Yt(this.value), i(6, E);
|
|
4585
4583
|
}
|
|
4586
4584
|
function K(b) {
|
|
4587
4585
|
ye[b ? "unshift" : "push"](() => {
|
|
@@ -4604,9 +4602,9 @@ function Qr(e, t, i) {
|
|
|
4604
4602
|
}, e.$$.update = () => {
|
|
4605
4603
|
e.$$.dirty[0] & /*lang*/
|
|
4606
4604
|
2 && u && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4607
|
-
2097156 && c && d &&
|
|
4608
|
-
4194308 && f && d &&
|
|
4609
|
-
8388612 && p && d &&
|
|
4605
|
+
2097156 && c && d && Ur(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4606
|
+
4194308 && f && d && jr(d, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4607
|
+
8388612 && p && d && Gr(d, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4610
4608
|
1048576 && a && F();
|
|
4611
4609
|
}, [
|
|
4612
4610
|
s,
|
|
@@ -4651,14 +4649,14 @@ function Qr(e, t, i) {
|
|
|
4651
4649
|
Ie
|
|
4652
4650
|
];
|
|
4653
4651
|
}
|
|
4654
|
-
class
|
|
4652
|
+
class Qr extends qi {
|
|
4655
4653
|
constructor(t) {
|
|
4656
|
-
super(),
|
|
4654
|
+
super(), Vi(
|
|
4657
4655
|
this,
|
|
4658
4656
|
t,
|
|
4659
|
-
Qr,
|
|
4660
4657
|
Jr,
|
|
4661
|
-
|
|
4658
|
+
Yr,
|
|
4659
|
+
Wt,
|
|
4662
4660
|
{
|
|
4663
4661
|
userid: 17,
|
|
4664
4662
|
session: 18,
|
|
@@ -4670,7 +4668,7 @@ class Kr extends Zi {
|
|
|
4670
4668
|
clientstylingurl: 22,
|
|
4671
4669
|
mbsource: 23
|
|
4672
4670
|
},
|
|
4673
|
-
|
|
4671
|
+
$r,
|
|
4674
4672
|
[-1, -1]
|
|
4675
4673
|
);
|
|
4676
4674
|
}
|
|
@@ -4729,7 +4727,7 @@ class Kr extends Zi {
|
|
|
4729
4727
|
this.$$set({ mbsource: t }), te();
|
|
4730
4728
|
}
|
|
4731
4729
|
}
|
|
4732
|
-
|
|
4730
|
+
Xi(Qr, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4733
4731
|
export {
|
|
4734
|
-
|
|
4732
|
+
Qr as default
|
|
4735
4733
|
};
|