@everymatrix/casino-providers 1.56.0 → 1.56.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/{CasinoProviders-woKFGkDc.js → CasinoProviders-5KgLupng.js} +455 -431
- package/components/{CasinoProviders-BLcC4EtO.js → CasinoProviders-CwSc0dPe.js} +447 -423
- package/components/CasinoProviders-Dtz5nhD9.cjs +16 -0
- package/es2015/casino-providers.cjs +1 -1
- package/es2015/casino-providers.js +1 -1
- package/esnext/casino-providers.js +1 -1
- package/package.json +1 -1
- package/components/CasinoProviders-EjQOGbEE.cjs +0 -3
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function M() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function pt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function se(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(pt);
|
|
11
11
|
}
|
|
12
12
|
function De(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function dt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ae;
|
|
19
|
-
function
|
|
19
|
+
function me(e, t) {
|
|
20
20
|
return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function kt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function gt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,21 +31,22 @@ function mt(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Vt(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(gt(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function y(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Xt(e, t, r) {
|
|
41
|
+
const n = zt(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = A("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, Wt(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
if (!e)
|
|
47
|
+
function zt(e) {
|
|
48
|
+
if (!e)
|
|
49
|
+
return document;
|
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
51
|
return t && /** @type {ShadowRoot} */
|
|
51
52
|
t.host ? (
|
|
@@ -53,8 +54,8 @@ function Vt(e) {
|
|
|
53
54
|
t
|
|
54
55
|
) : e.ownerDocument;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
57
|
+
function Wt(e, t) {
|
|
58
|
+
return y(
|
|
58
59
|
/** @type {Document} */
|
|
59
60
|
e.head || e,
|
|
60
61
|
t
|
|
@@ -66,7 +67,7 @@ function C(e, t, r) {
|
|
|
66
67
|
function I(e) {
|
|
67
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function We(e, t) {
|
|
70
71
|
for (let r = 0; r < e.length; r += 1)
|
|
71
72
|
e[r] && e[r].d(t);
|
|
72
73
|
}
|
|
@@ -79,23 +80,23 @@ function $(e) {
|
|
|
79
80
|
function R() {
|
|
80
81
|
return $(" ");
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
+
function Zt() {
|
|
83
84
|
return $("");
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function bt(e, t, r, n) {
|
|
86
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
87
88
|
}
|
|
88
89
|
function S(e, t, r) {
|
|
89
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
+
function Qt(e) {
|
|
92
93
|
return Array.from(e.childNodes);
|
|
93
94
|
}
|
|
94
95
|
function D(e, t) {
|
|
95
96
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
96
97
|
t);
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function qt(e) {
|
|
99
100
|
const t = {};
|
|
100
101
|
return e.childNodes.forEach(
|
|
101
102
|
/** @param {Element} node */
|
|
@@ -110,15 +111,15 @@ function re(e) {
|
|
|
110
111
|
}
|
|
111
112
|
const z = [], Ae = [];
|
|
112
113
|
let W = [];
|
|
113
|
-
const
|
|
114
|
+
const Ze = [], Jt = /* @__PURE__ */ Promise.resolve();
|
|
114
115
|
let Oe = !1;
|
|
115
|
-
function
|
|
116
|
-
Oe || (Oe = !0,
|
|
116
|
+
function Yt() {
|
|
117
|
+
Oe || (Oe = !0, Jt.then(G));
|
|
117
118
|
}
|
|
118
119
|
function we(e) {
|
|
119
120
|
W.push(e);
|
|
120
121
|
}
|
|
121
|
-
const
|
|
122
|
+
const xe = /* @__PURE__ */ new Set();
|
|
122
123
|
let V = 0;
|
|
123
124
|
function G() {
|
|
124
125
|
if (V !== 0)
|
|
@@ -128,55 +129,56 @@ function G() {
|
|
|
128
129
|
try {
|
|
129
130
|
for (; V < z.length; ) {
|
|
130
131
|
const t = z[V];
|
|
131
|
-
V++, re(t),
|
|
132
|
+
V++, re(t), Kt(t.$$);
|
|
132
133
|
}
|
|
133
134
|
} catch (t) {
|
|
134
135
|
throw z.length = 0, V = 0, t;
|
|
135
136
|
}
|
|
136
|
-
for (re(null), z.length = 0, V = 0; Ae.length; )
|
|
137
|
+
for (re(null), z.length = 0, V = 0; Ae.length; )
|
|
138
|
+
Ae.pop()();
|
|
137
139
|
for (let t = 0; t < W.length; t += 1) {
|
|
138
140
|
const r = W[t];
|
|
139
|
-
|
|
141
|
+
xe.has(r) || (xe.add(r), r());
|
|
140
142
|
}
|
|
141
143
|
W.length = 0;
|
|
142
144
|
} while (z.length);
|
|
143
|
-
for (;
|
|
144
|
-
|
|
145
|
-
Oe = !1,
|
|
145
|
+
for (; Ze.length; )
|
|
146
|
+
Ze.pop()();
|
|
147
|
+
Oe = !1, xe.clear(), re(e);
|
|
146
148
|
}
|
|
147
|
-
function
|
|
149
|
+
function Kt(e) {
|
|
148
150
|
if (e.fragment !== null) {
|
|
149
151
|
e.update(), se(e.before_update);
|
|
150
152
|
const t = e.dirty;
|
|
151
153
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
152
154
|
}
|
|
153
155
|
}
|
|
154
|
-
function
|
|
156
|
+
function er(e) {
|
|
155
157
|
const t = [], r = [];
|
|
156
158
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
157
159
|
}
|
|
158
|
-
const
|
|
159
|
-
function
|
|
160
|
-
e && e.i && (
|
|
160
|
+
const tr = /* @__PURE__ */ new Set();
|
|
161
|
+
function rr(e, t) {
|
|
162
|
+
e && e.i && (tr.delete(e), e.i(t));
|
|
161
163
|
}
|
|
162
164
|
function ue(e) {
|
|
163
165
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
164
166
|
}
|
|
165
|
-
function
|
|
167
|
+
function nr(e, t, r) {
|
|
166
168
|
const { fragment: n, after_update: i } = e.$$;
|
|
167
169
|
n && n.m(t, r), we(() => {
|
|
168
|
-
const s = e.$$.on_mount.map(
|
|
170
|
+
const s = e.$$.on_mount.map(pt).filter(De);
|
|
169
171
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : se(s), e.$$.on_mount = [];
|
|
170
172
|
}), i.forEach(we);
|
|
171
173
|
}
|
|
172
|
-
function
|
|
174
|
+
function ir(e, t) {
|
|
173
175
|
const r = e.$$;
|
|
174
|
-
r.fragment !== null && (
|
|
176
|
+
r.fragment !== null && (er(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
175
177
|
}
|
|
176
|
-
function
|
|
177
|
-
e.$$.dirty[0] === -1 && (z.push(e),
|
|
178
|
+
function sr(e, t) {
|
|
179
|
+
e.$$.dirty[0] === -1 && (z.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
178
180
|
}
|
|
179
|
-
function
|
|
181
|
+
function or(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
180
182
|
const l = Fe;
|
|
181
183
|
re(e);
|
|
182
184
|
const u = e.$$ = {
|
|
@@ -186,7 +188,7 @@ function ir(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
186
188
|
props: s,
|
|
187
189
|
update: M,
|
|
188
190
|
not_equal: i,
|
|
189
|
-
bound:
|
|
191
|
+
bound: ze(),
|
|
190
192
|
// lifecycle
|
|
191
193
|
on_mount: [],
|
|
192
194
|
on_destroy: [],
|
|
@@ -195,7 +197,7 @@ function ir(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
195
197
|
after_update: [],
|
|
196
198
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
197
199
|
// everything else
|
|
198
|
-
callbacks:
|
|
200
|
+
callbacks: ze(),
|
|
199
201
|
dirty: a,
|
|
200
202
|
skip_bound: !1,
|
|
201
203
|
root: t.target || l.$$.root
|
|
@@ -204,19 +206,19 @@ function ir(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
204
206
|
let h = !1;
|
|
205
207
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
206
208
|
const d = g.length ? g[0] : f;
|
|
207
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h &&
|
|
209
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && sr(e, c)), f;
|
|
208
210
|
}) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
209
211
|
if (t.hydrate) {
|
|
210
|
-
const c =
|
|
212
|
+
const c = Qt(t.target);
|
|
211
213
|
u.fragment && u.fragment.l(c), c.forEach(I);
|
|
212
214
|
} else
|
|
213
215
|
u.fragment && u.fragment.c();
|
|
214
|
-
t.intro &&
|
|
216
|
+
t.intro && rr(e.$$.fragment), nr(e, t.target, t.anchor), G();
|
|
215
217
|
}
|
|
216
218
|
re(l);
|
|
217
219
|
}
|
|
218
|
-
let
|
|
219
|
-
typeof HTMLElement == "function" && (
|
|
220
|
+
let vt;
|
|
221
|
+
typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
220
222
|
/** The Svelte component constructor */
|
|
221
223
|
$$ctor;
|
|
222
224
|
/** Slots */
|
|
@@ -275,7 +277,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
275
277
|
};
|
|
276
278
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
277
279
|
return;
|
|
278
|
-
const t = {}, r =
|
|
280
|
+
const t = {}, r = qt(this);
|
|
279
281
|
for (const i of this.$$s)
|
|
280
282
|
i in r && (t[i] = [e(i)]);
|
|
281
283
|
for (const i of this.attributes) {
|
|
@@ -362,8 +364,8 @@ function le(e, t, r, n) {
|
|
|
362
364
|
return t;
|
|
363
365
|
}
|
|
364
366
|
}
|
|
365
|
-
function
|
|
366
|
-
let o = class extends
|
|
367
|
+
function ar(e, t, r, n, i, s) {
|
|
368
|
+
let o = class extends vt {
|
|
367
369
|
constructor() {
|
|
368
370
|
super(e, r, i), this.$$p_d = t;
|
|
369
371
|
}
|
|
@@ -391,7 +393,7 @@ function sr(e, t, r, n, i, s) {
|
|
|
391
393
|
}), e.element = /** @type {any} */
|
|
392
394
|
o, o;
|
|
393
395
|
}
|
|
394
|
-
class
|
|
396
|
+
class ur {
|
|
395
397
|
/**
|
|
396
398
|
* ### PRIVATE API
|
|
397
399
|
*
|
|
@@ -410,7 +412,7 @@ class or {
|
|
|
410
412
|
$$set = void 0;
|
|
411
413
|
/** @returns {void} */
|
|
412
414
|
$destroy() {
|
|
413
|
-
|
|
415
|
+
ir(this, 1), this.$destroy = M;
|
|
414
416
|
}
|
|
415
417
|
/**
|
|
416
418
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -432,12 +434,12 @@ class or {
|
|
|
432
434
|
* @returns {void}
|
|
433
435
|
*/
|
|
434
436
|
$set(t) {
|
|
435
|
-
this.$$set && !
|
|
437
|
+
this.$$set && !kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
436
438
|
}
|
|
437
439
|
}
|
|
438
|
-
const
|
|
439
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
440
|
-
const
|
|
440
|
+
const hr = "4";
|
|
441
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hr);
|
|
442
|
+
const Qe = {
|
|
441
443
|
en: {
|
|
442
444
|
popularProviders: "Popular Suppliers",
|
|
443
445
|
otherProviders: "Other Suppliers",
|
|
@@ -547,7 +549,7 @@ const We = {
|
|
|
547
549
|
games: "games"
|
|
548
550
|
}
|
|
549
551
|
}, X = [];
|
|
550
|
-
function
|
|
552
|
+
function lr(e, t) {
|
|
551
553
|
return {
|
|
552
554
|
subscribe: ge(e, t).subscribe
|
|
553
555
|
};
|
|
@@ -556,7 +558,7 @@ function ge(e, t = M) {
|
|
|
556
558
|
let r;
|
|
557
559
|
const n = /* @__PURE__ */ new Set();
|
|
558
560
|
function i(a) {
|
|
559
|
-
if (
|
|
561
|
+
if (dt(e, a) && (e = a, r)) {
|
|
560
562
|
const l = !X.length;
|
|
561
563
|
for (const u of n)
|
|
562
564
|
u[1](), X.push(u, e);
|
|
@@ -583,7 +585,7 @@ function Y(e, t, r) {
|
|
|
583
585
|
if (!i.every(Boolean))
|
|
584
586
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
585
587
|
const s = t.length < 2;
|
|
586
|
-
return
|
|
588
|
+
return lr(r, (o, a) => {
|
|
587
589
|
let l = !1;
|
|
588
590
|
const u = [];
|
|
589
591
|
let h = 0, c = M;
|
|
@@ -594,13 +596,13 @@ function Y(e, t, r) {
|
|
|
594
596
|
const d = t(n ? u[0] : u, o, a);
|
|
595
597
|
s ? o(d) : c = De(d) ? d : M;
|
|
596
598
|
}, g = i.map(
|
|
597
|
-
(d,
|
|
599
|
+
(d, m) => gt(
|
|
598
600
|
d,
|
|
599
601
|
(v) => {
|
|
600
|
-
u[
|
|
602
|
+
u[m] = v, h &= ~(1 << m), l && f();
|
|
601
603
|
},
|
|
602
604
|
() => {
|
|
603
|
-
h |= 1 <<
|
|
605
|
+
h |= 1 << m;
|
|
604
606
|
}
|
|
605
607
|
)
|
|
606
608
|
);
|
|
@@ -609,70 +611,70 @@ function Y(e, t, r) {
|
|
|
609
611
|
};
|
|
610
612
|
});
|
|
611
613
|
}
|
|
612
|
-
function
|
|
614
|
+
function fr(e) {
|
|
613
615
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
614
616
|
}
|
|
615
|
-
var
|
|
616
|
-
return
|
|
617
|
+
var cr = function(t) {
|
|
618
|
+
return mr(t) && !pr(t);
|
|
617
619
|
};
|
|
618
|
-
function
|
|
620
|
+
function mr(e) {
|
|
619
621
|
return !!e && typeof e == "object";
|
|
620
622
|
}
|
|
621
|
-
function
|
|
623
|
+
function pr(e) {
|
|
622
624
|
var t = Object.prototype.toString.call(e);
|
|
623
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
625
|
+
return t === "[object RegExp]" || t === "[object Date]" || br(e);
|
|
624
626
|
}
|
|
625
|
-
var
|
|
626
|
-
function
|
|
627
|
-
return e.$$typeof ===
|
|
627
|
+
var dr = typeof Symbol == "function" && Symbol.for, gr = dr ? Symbol.for("react.element") : 60103;
|
|
628
|
+
function br(e) {
|
|
629
|
+
return e.$$typeof === gr;
|
|
628
630
|
}
|
|
629
|
-
function
|
|
631
|
+
function vr(e) {
|
|
630
632
|
return Array.isArray(e) ? [] : {};
|
|
631
633
|
}
|
|
632
634
|
function ne(e, t) {
|
|
633
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
635
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(vr(e), e, t) : e;
|
|
634
636
|
}
|
|
635
|
-
function
|
|
637
|
+
function _r(e, t, r) {
|
|
636
638
|
return e.concat(t).map(function(n) {
|
|
637
639
|
return ne(n, r);
|
|
638
640
|
});
|
|
639
641
|
}
|
|
640
|
-
function
|
|
642
|
+
function Er(e, t) {
|
|
641
643
|
if (!t.customMerge)
|
|
642
644
|
return Z;
|
|
643
645
|
var r = t.customMerge(e);
|
|
644
646
|
return typeof r == "function" ? r : Z;
|
|
645
647
|
}
|
|
646
|
-
function
|
|
648
|
+
function xr(e) {
|
|
647
649
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
648
650
|
return Object.propertyIsEnumerable.call(e, t);
|
|
649
651
|
}) : [];
|
|
650
652
|
}
|
|
651
|
-
function
|
|
652
|
-
return Object.keys(e).concat(
|
|
653
|
+
function qe(e) {
|
|
654
|
+
return Object.keys(e).concat(xr(e));
|
|
653
655
|
}
|
|
654
|
-
function
|
|
656
|
+
function _t(e, t) {
|
|
655
657
|
try {
|
|
656
658
|
return t in e;
|
|
657
659
|
} catch {
|
|
658
660
|
return !1;
|
|
659
661
|
}
|
|
660
662
|
}
|
|
661
|
-
function
|
|
662
|
-
return
|
|
663
|
+
function yr(e, t) {
|
|
664
|
+
return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
663
665
|
}
|
|
664
|
-
function
|
|
666
|
+
function Pr(e, t, r) {
|
|
665
667
|
var n = {};
|
|
666
|
-
return r.isMergeableObject(e) &&
|
|
668
|
+
return r.isMergeableObject(e) && qe(e).forEach(function(i) {
|
|
667
669
|
n[i] = ne(e[i], r);
|
|
668
|
-
}),
|
|
669
|
-
|
|
670
|
+
}), qe(t).forEach(function(i) {
|
|
671
|
+
yr(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
670
672
|
}), n;
|
|
671
673
|
}
|
|
672
674
|
function Z(e, t, r) {
|
|
673
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
675
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || cr, r.cloneUnlessOtherwiseSpecified = ne;
|
|
674
676
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
675
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
677
|
+
return s ? n ? r.arrayMerge(e, t, r) : Pr(e, t, r) : ne(t, r);
|
|
676
678
|
}
|
|
677
679
|
Z.all = function(t, r) {
|
|
678
680
|
if (!Array.isArray(t))
|
|
@@ -681,13 +683,28 @@ Z.all = function(t, r) {
|
|
|
681
683
|
return Z(n, i, r);
|
|
682
684
|
}, {});
|
|
683
685
|
};
|
|
684
|
-
var
|
|
685
|
-
const
|
|
686
|
+
var Hr = Z, Tr = Hr;
|
|
687
|
+
const Sr = /* @__PURE__ */ fr(Tr);
|
|
688
|
+
/*! *****************************************************************************
|
|
689
|
+
Copyright (c) Microsoft Corporation.
|
|
690
|
+
|
|
691
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
692
|
+
purpose with or without fee is hereby granted.
|
|
693
|
+
|
|
694
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
695
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
696
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
697
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
698
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
699
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
700
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
701
|
+
***************************************************************************** */
|
|
686
702
|
var Ne = function(e, t) {
|
|
687
703
|
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
688
704
|
r.__proto__ = n;
|
|
689
705
|
} || function(r, n) {
|
|
690
|
-
for (var i in n)
|
|
706
|
+
for (var i in n)
|
|
707
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
691
708
|
}, Ne(e, t);
|
|
692
709
|
};
|
|
693
710
|
function be(e, t) {
|
|
@@ -699,76 +716,81 @@ function be(e, t) {
|
|
|
699
716
|
}
|
|
700
717
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
701
718
|
}
|
|
702
|
-
var
|
|
703
|
-
return
|
|
719
|
+
var x = function() {
|
|
720
|
+
return x = Object.assign || function(t) {
|
|
704
721
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
705
722
|
r = arguments[n];
|
|
706
|
-
for (var s in r)
|
|
723
|
+
for (var s in r)
|
|
724
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
707
725
|
}
|
|
708
726
|
return t;
|
|
709
|
-
},
|
|
727
|
+
}, x.apply(this, arguments);
|
|
710
728
|
};
|
|
711
|
-
function
|
|
729
|
+
function Br(e, t) {
|
|
712
730
|
var r = {};
|
|
713
|
-
for (var n in e)
|
|
731
|
+
for (var n in e)
|
|
732
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
714
733
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
715
734
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
716
735
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
717
736
|
return r;
|
|
718
737
|
}
|
|
719
|
-
function
|
|
720
|
-
if (
|
|
721
|
-
(
|
|
722
|
-
|
|
738
|
+
function ye(e, t, r) {
|
|
739
|
+
if (arguments.length === 2)
|
|
740
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
741
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
742
|
+
return e.concat(s || t);
|
|
723
743
|
}
|
|
724
744
|
function Pe(e, t) {
|
|
725
|
-
var r = t && t.cache ? t.cache :
|
|
745
|
+
var r = t && t.cache ? t.cache : Ir, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : Or;
|
|
726
746
|
return i(e, {
|
|
727
747
|
cache: r,
|
|
728
748
|
serializer: n
|
|
729
749
|
});
|
|
730
750
|
}
|
|
731
|
-
function
|
|
751
|
+
function Ar(e) {
|
|
732
752
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
733
753
|
}
|
|
734
|
-
function
|
|
735
|
-
var i =
|
|
754
|
+
function Et(e, t, r, n) {
|
|
755
|
+
var i = Ar(n) ? n : r(n), s = t.get(i);
|
|
736
756
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
737
757
|
}
|
|
738
|
-
function
|
|
758
|
+
function xt(e, t, r) {
|
|
739
759
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
740
760
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
741
761
|
}
|
|
742
|
-
function
|
|
762
|
+
function je(e, t, r, n, i) {
|
|
743
763
|
return r.bind(t, e, n, i);
|
|
744
764
|
}
|
|
745
|
-
function Ar(e, t) {
|
|
746
|
-
var r = e.length === 1 ? Br : vt;
|
|
747
|
-
return _t(e, this, r, t.cache.create(), t.serializer);
|
|
748
|
-
}
|
|
749
765
|
function Or(e, t) {
|
|
750
|
-
|
|
766
|
+
var r = e.length === 1 ? Et : xt;
|
|
767
|
+
return je(e, this, r, t.cache.create(), t.serializer);
|
|
751
768
|
}
|
|
752
|
-
|
|
769
|
+
function wr(e, t) {
|
|
770
|
+
return je(e, this, xt, t.cache.create(), t.serializer);
|
|
771
|
+
}
|
|
772
|
+
function Nr(e, t) {
|
|
773
|
+
return je(e, this, Et, t.cache.create(), t.serializer);
|
|
774
|
+
}
|
|
775
|
+
var Lr = function() {
|
|
753
776
|
return JSON.stringify(arguments);
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
}()
|
|
766
|
-
), Lr = {
|
|
777
|
+
};
|
|
778
|
+
function ke() {
|
|
779
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
780
|
+
}
|
|
781
|
+
ke.prototype.get = function(e) {
|
|
782
|
+
return this.cache[e];
|
|
783
|
+
};
|
|
784
|
+
ke.prototype.set = function(e, t) {
|
|
785
|
+
this.cache[e] = t;
|
|
786
|
+
};
|
|
787
|
+
var Ir = {
|
|
767
788
|
create: function() {
|
|
768
|
-
return new
|
|
789
|
+
return new ke();
|
|
769
790
|
}
|
|
770
791
|
}, He = {
|
|
771
|
-
variadic:
|
|
792
|
+
variadic: wr,
|
|
793
|
+
monadic: Nr
|
|
772
794
|
}, _;
|
|
773
795
|
(function(e) {
|
|
774
796
|
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";
|
|
@@ -781,43 +803,43 @@ var Q;
|
|
|
781
803
|
(function(e) {
|
|
782
804
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
783
805
|
})(Q || (Q = {}));
|
|
784
|
-
function
|
|
806
|
+
function Je(e) {
|
|
785
807
|
return e.type === P.literal;
|
|
786
808
|
}
|
|
787
|
-
function
|
|
809
|
+
function Cr(e) {
|
|
788
810
|
return e.type === P.argument;
|
|
789
811
|
}
|
|
790
|
-
function
|
|
812
|
+
function yt(e) {
|
|
791
813
|
return e.type === P.number;
|
|
792
814
|
}
|
|
793
|
-
function
|
|
815
|
+
function Pt(e) {
|
|
794
816
|
return e.type === P.date;
|
|
795
817
|
}
|
|
796
|
-
function
|
|
818
|
+
function Ht(e) {
|
|
797
819
|
return e.type === P.time;
|
|
798
820
|
}
|
|
799
|
-
function
|
|
821
|
+
function Tt(e) {
|
|
800
822
|
return e.type === P.select;
|
|
801
823
|
}
|
|
802
|
-
function
|
|
824
|
+
function St(e) {
|
|
803
825
|
return e.type === P.plural;
|
|
804
826
|
}
|
|
805
|
-
function
|
|
827
|
+
function Mr(e) {
|
|
806
828
|
return e.type === P.pound;
|
|
807
829
|
}
|
|
808
|
-
function
|
|
830
|
+
function Bt(e) {
|
|
809
831
|
return e.type === P.tag;
|
|
810
832
|
}
|
|
811
|
-
function
|
|
833
|
+
function At(e) {
|
|
812
834
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
813
835
|
}
|
|
814
836
|
function Le(e) {
|
|
815
837
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
816
838
|
}
|
|
817
|
-
var
|
|
818
|
-
function
|
|
839
|
+
var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $r = /(?:[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;
|
|
840
|
+
function Rr(e) {
|
|
819
841
|
var t = {};
|
|
820
|
-
return e.replace(
|
|
842
|
+
return e.replace($r, function(r) {
|
|
821
843
|
var n = r.length;
|
|
822
844
|
switch (r[0]) {
|
|
823
845
|
case "G":
|
|
@@ -906,11 +928,11 @@ function $r(e) {
|
|
|
906
928
|
return "";
|
|
907
929
|
}), t;
|
|
908
930
|
}
|
|
909
|
-
var
|
|
910
|
-
function
|
|
931
|
+
var Ur = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
932
|
+
function Gr(e) {
|
|
911
933
|
if (e.length === 0)
|
|
912
934
|
throw new Error("Number skeleton cannot be empty");
|
|
913
|
-
for (var t = e.split(
|
|
935
|
+
for (var t = e.split(Ur).filter(function(f) {
|
|
914
936
|
return f.length > 0;
|
|
915
937
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
916
938
|
var s = i[n], o = s.split("/");
|
|
@@ -925,17 +947,17 @@ function Ur(e) {
|
|
|
925
947
|
}
|
|
926
948
|
return r;
|
|
927
949
|
}
|
|
928
|
-
function
|
|
950
|
+
function Dr(e) {
|
|
929
951
|
return e.replace(/^(.*?)-/, "");
|
|
930
952
|
}
|
|
931
|
-
var
|
|
932
|
-
function
|
|
953
|
+
var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, Fr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
|
|
954
|
+
function Ke(e) {
|
|
933
955
|
var t = {};
|
|
934
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
956
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(r, n, i) {
|
|
935
957
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
936
958
|
}), t;
|
|
937
959
|
}
|
|
938
|
-
function
|
|
960
|
+
function Lt(e) {
|
|
939
961
|
switch (e) {
|
|
940
962
|
case "sign-auto":
|
|
941
963
|
return {
|
|
@@ -975,7 +997,7 @@ function wt(e) {
|
|
|
975
997
|
};
|
|
976
998
|
}
|
|
977
999
|
}
|
|
978
|
-
function
|
|
1000
|
+
function jr(e) {
|
|
979
1001
|
var t;
|
|
980
1002
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
981
1003
|
notation: "engineering"
|
|
@@ -983,17 +1005,17 @@ function Fr(e) {
|
|
|
983
1005
|
notation: "scientific"
|
|
984
1006
|
}, e = e.slice(1)), t) {
|
|
985
1007
|
var r = e.slice(0, 2);
|
|
986
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1008
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
|
|
987
1009
|
throw new Error("Malformed concise eng/scientific notation");
|
|
988
1010
|
t.minimumIntegerDigits = e.length;
|
|
989
1011
|
}
|
|
990
1012
|
return t;
|
|
991
1013
|
}
|
|
992
|
-
function
|
|
993
|
-
var t = {}, r =
|
|
1014
|
+
function et(e) {
|
|
1015
|
+
var t = {}, r = Lt(e);
|
|
994
1016
|
return r || t;
|
|
995
1017
|
}
|
|
996
|
-
function
|
|
1018
|
+
function kr(e) {
|
|
997
1019
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
998
1020
|
var i = n[r];
|
|
999
1021
|
switch (i.stem) {
|
|
@@ -1017,7 +1039,7 @@ function jr(e) {
|
|
|
1017
1039
|
continue;
|
|
1018
1040
|
case "measure-unit":
|
|
1019
1041
|
case "unit":
|
|
1020
|
-
t.style = "unit", t.unit =
|
|
1042
|
+
t.style = "unit", t.unit = Dr(i.options[0]);
|
|
1021
1043
|
continue;
|
|
1022
1044
|
case "compact-short":
|
|
1023
1045
|
case "K":
|
|
@@ -1028,13 +1050,13 @@ function jr(e) {
|
|
|
1028
1050
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1029
1051
|
continue;
|
|
1030
1052
|
case "scientific":
|
|
1031
|
-
t =
|
|
1032
|
-
return
|
|
1053
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1054
|
+
return x(x({}, l), et(u));
|
|
1033
1055
|
}, {}));
|
|
1034
1056
|
continue;
|
|
1035
1057
|
case "engineering":
|
|
1036
|
-
t =
|
|
1037
|
-
return
|
|
1058
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1059
|
+
return x(x({}, l), et(u));
|
|
1038
1060
|
}, {}));
|
|
1039
1061
|
continue;
|
|
1040
1062
|
case "notation-simple":
|
|
@@ -1079,7 +1101,7 @@ function jr(e) {
|
|
|
1079
1101
|
case "integer-width":
|
|
1080
1102
|
if (i.options.length > 1)
|
|
1081
1103
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1082
|
-
i.options[0].replace(
|
|
1104
|
+
i.options[0].replace(Fr, function(l, u, h, c, f, g) {
|
|
1083
1105
|
if (u)
|
|
1084
1106
|
t.minimumIntegerDigits = h.length;
|
|
1085
1107
|
else {
|
|
@@ -1092,28 +1114,28 @@ function jr(e) {
|
|
|
1092
1114
|
});
|
|
1093
1115
|
continue;
|
|
1094
1116
|
}
|
|
1095
|
-
if (
|
|
1117
|
+
if (Nt.test(i.stem)) {
|
|
1096
1118
|
t.minimumIntegerDigits = i.stem.length;
|
|
1097
1119
|
continue;
|
|
1098
1120
|
}
|
|
1099
|
-
if (
|
|
1121
|
+
if (Ye.test(i.stem)) {
|
|
1100
1122
|
if (i.options.length > 1)
|
|
1101
1123
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1102
|
-
i.stem.replace(
|
|
1124
|
+
i.stem.replace(Ye, function(l, u, h, c, f, g) {
|
|
1103
1125
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1104
1126
|
});
|
|
1105
1127
|
var s = i.options[0];
|
|
1106
|
-
s === "w" ? t =
|
|
1128
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Ke(s)));
|
|
1107
1129
|
continue;
|
|
1108
1130
|
}
|
|
1109
|
-
if (
|
|
1110
|
-
t =
|
|
1131
|
+
if (wt.test(i.stem)) {
|
|
1132
|
+
t = x(x({}, t), Ke(i.stem));
|
|
1111
1133
|
continue;
|
|
1112
1134
|
}
|
|
1113
|
-
var o =
|
|
1114
|
-
o && (t =
|
|
1115
|
-
var a =
|
|
1116
|
-
a && (t =
|
|
1135
|
+
var o = Lt(i.stem);
|
|
1136
|
+
o && (t = x(x({}, t), o));
|
|
1137
|
+
var a = jr(i.stem);
|
|
1138
|
+
a && (t = x(x({}, t), a));
|
|
1117
1139
|
}
|
|
1118
1140
|
return t;
|
|
1119
1141
|
}
|
|
@@ -2532,22 +2554,23 @@ var he = {
|
|
|
2532
2554
|
"h"
|
|
2533
2555
|
]
|
|
2534
2556
|
};
|
|
2535
|
-
function
|
|
2557
|
+
function Vr(e, t) {
|
|
2536
2558
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2537
2559
|
var i = e.charAt(n);
|
|
2538
2560
|
if (i === "j") {
|
|
2539
2561
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2540
2562
|
s++, n++;
|
|
2541
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2563
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Xr(t);
|
|
2542
2564
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2543
2565
|
r += l;
|
|
2544
2566
|
for (; o-- > 0; )
|
|
2545
2567
|
r = u + r;
|
|
2546
|
-
} else
|
|
2568
|
+
} else
|
|
2569
|
+
i === "J" ? r += "H" : r += i;
|
|
2547
2570
|
}
|
|
2548
2571
|
return r;
|
|
2549
2572
|
}
|
|
2550
|
-
function
|
|
2573
|
+
function Xr(e) {
|
|
2551
2574
|
var t = e.hourCycle;
|
|
2552
2575
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2553
2576
|
e.hourCycles && // @ts-ignore
|
|
@@ -2569,20 +2592,20 @@ function Vr(e) {
|
|
|
2569
2592
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
2570
2593
|
return i[0];
|
|
2571
2594
|
}
|
|
2572
|
-
var Te,
|
|
2595
|
+
var Te, zr = new RegExp("^".concat(Ot.source, "*")), Wr = new RegExp("".concat(Ot.source, "*$"));
|
|
2573
2596
|
function E(e, t) {
|
|
2574
2597
|
return { start: e, end: t };
|
|
2575
2598
|
}
|
|
2576
|
-
var
|
|
2599
|
+
var Zr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qr = !!String.fromCodePoint, qr = !!Object.fromEntries, Jr = !!String.prototype.codePointAt, Yr = !!String.prototype.trimStart, Kr = !!String.prototype.trimEnd, en = !!Number.isSafeInteger, tn = en ? Number.isSafeInteger : function(e) {
|
|
2577
2600
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2578
2601
|
}, Ie = !0;
|
|
2579
2602
|
try {
|
|
2580
|
-
var
|
|
2581
|
-
Ie = ((Te =
|
|
2603
|
+
var rn = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2604
|
+
Ie = ((Te = rn.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
|
|
2582
2605
|
} catch {
|
|
2583
2606
|
Ie = !1;
|
|
2584
2607
|
}
|
|
2585
|
-
var
|
|
2608
|
+
var tt = Zr ? (
|
|
2586
2609
|
// Native
|
|
2587
2610
|
function(t, r, n) {
|
|
2588
2611
|
return t.startsWith(r, n);
|
|
@@ -2592,7 +2615,7 @@ var Ke = Wr ? (
|
|
|
2592
2615
|
function(t, r, n) {
|
|
2593
2616
|
return t.slice(n, n + r.length) === r;
|
|
2594
2617
|
}
|
|
2595
|
-
), Ce =
|
|
2618
|
+
), Ce = Qr ? String.fromCodePoint : (
|
|
2596
2619
|
// IE11
|
|
2597
2620
|
function() {
|
|
2598
2621
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2604,9 +2627,9 @@ var Ke = Wr ? (
|
|
|
2604
2627
|
}
|
|
2605
2628
|
return n;
|
|
2606
2629
|
}
|
|
2607
|
-
),
|
|
2630
|
+
), rt = (
|
|
2608
2631
|
// native
|
|
2609
|
-
|
|
2632
|
+
qr ? Object.fromEntries : (
|
|
2610
2633
|
// Ponyfill
|
|
2611
2634
|
function(t) {
|
|
2612
2635
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2616,7 +2639,7 @@ var Ke = Wr ? (
|
|
|
2616
2639
|
return r;
|
|
2617
2640
|
}
|
|
2618
2641
|
)
|
|
2619
|
-
),
|
|
2642
|
+
), It = Jr ? (
|
|
2620
2643
|
// Native
|
|
2621
2644
|
function(t, r) {
|
|
2622
2645
|
return t.codePointAt(r);
|
|
@@ -2630,7 +2653,7 @@ var Ke = Wr ? (
|
|
|
2630
2653
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2631
2654
|
}
|
|
2632
2655
|
}
|
|
2633
|
-
),
|
|
2656
|
+
), nn = Yr ? (
|
|
2634
2657
|
// Native
|
|
2635
2658
|
function(t) {
|
|
2636
2659
|
return t.trimStart();
|
|
@@ -2638,9 +2661,9 @@ var Ke = Wr ? (
|
|
|
2638
2661
|
) : (
|
|
2639
2662
|
// Ponyfill
|
|
2640
2663
|
function(t) {
|
|
2641
|
-
return t.replace(
|
|
2664
|
+
return t.replace(zr, "");
|
|
2642
2665
|
}
|
|
2643
|
-
),
|
|
2666
|
+
), sn = Kr ? (
|
|
2644
2667
|
// Native
|
|
2645
2668
|
function(t) {
|
|
2646
2669
|
return t.trimEnd();
|
|
@@ -2648,32 +2671,32 @@ var Ke = Wr ? (
|
|
|
2648
2671
|
) : (
|
|
2649
2672
|
// Ponyfill
|
|
2650
2673
|
function(t) {
|
|
2651
|
-
return t.replace(
|
|
2674
|
+
return t.replace(Wr, "");
|
|
2652
2675
|
}
|
|
2653
2676
|
);
|
|
2654
|
-
function
|
|
2677
|
+
function Ct(e, t) {
|
|
2655
2678
|
return new RegExp(e, t);
|
|
2656
2679
|
}
|
|
2657
2680
|
var Me;
|
|
2658
2681
|
if (Ie) {
|
|
2659
|
-
var
|
|
2682
|
+
var nt = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2660
2683
|
Me = function(t, r) {
|
|
2661
2684
|
var n;
|
|
2662
|
-
|
|
2663
|
-
var i =
|
|
2685
|
+
nt.lastIndex = r;
|
|
2686
|
+
var i = nt.exec(t);
|
|
2664
2687
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2665
2688
|
};
|
|
2666
2689
|
} else
|
|
2667
2690
|
Me = function(t, r) {
|
|
2668
2691
|
for (var n = []; ; ) {
|
|
2669
|
-
var i =
|
|
2670
|
-
if (i === void 0 ||
|
|
2692
|
+
var i = It(t, r);
|
|
2693
|
+
if (i === void 0 || Mt(i) || hn(i))
|
|
2671
2694
|
break;
|
|
2672
2695
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2673
2696
|
}
|
|
2674
2697
|
return Ce.apply(void 0, n);
|
|
2675
2698
|
};
|
|
2676
|
-
var
|
|
2699
|
+
var on = (
|
|
2677
2700
|
/** @class */
|
|
2678
2701
|
function() {
|
|
2679
2702
|
function e(t, r) {
|
|
@@ -2755,7 +2778,7 @@ var sn = (
|
|
|
2755
2778
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
2756
2779
|
}, e.prototype.parseTagName = function() {
|
|
2757
2780
|
var t = this.offset();
|
|
2758
|
-
for (this.bump(); !this.isEOF() &&
|
|
2781
|
+
for (this.bump(); !this.isEOF() && un(this.char()); )
|
|
2759
2782
|
this.bump();
|
|
2760
2783
|
return this.message.slice(t, this.offset());
|
|
2761
2784
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2784,7 +2807,7 @@ var sn = (
|
|
|
2784
2807
|
};
|
|
2785
2808
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2786
2809
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2787
|
-
!
|
|
2810
|
+
!an(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2788
2811
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2789
2812
|
if (this.isEOF() || this.char() !== 39)
|
|
2790
2813
|
return null;
|
|
@@ -2871,7 +2894,7 @@ var sn = (
|
|
|
2871
2894
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2872
2895
|
if (c.err)
|
|
2873
2896
|
return c;
|
|
2874
|
-
var f =
|
|
2897
|
+
var f = sn(c.val);
|
|
2875
2898
|
if (f.length === 0)
|
|
2876
2899
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
2877
2900
|
var g = E(h, this.clonePosition());
|
|
@@ -2880,28 +2903,28 @@ var sn = (
|
|
|
2880
2903
|
var d = this.tryParseArgumentClose(i);
|
|
2881
2904
|
if (d.err)
|
|
2882
2905
|
return d;
|
|
2883
|
-
var
|
|
2884
|
-
if (u &&
|
|
2885
|
-
var v =
|
|
2906
|
+
var m = E(i, this.clonePosition());
|
|
2907
|
+
if (u && tt(u?.style, "::", 0)) {
|
|
2908
|
+
var v = nn(u.style.slice(2));
|
|
2886
2909
|
if (a === "number") {
|
|
2887
2910
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2888
2911
|
return c.err ? c : {
|
|
2889
|
-
val: { type: P.number, value: n, location:
|
|
2912
|
+
val: { type: P.number, value: n, location: m, style: c.val },
|
|
2890
2913
|
err: null
|
|
2891
2914
|
};
|
|
2892
2915
|
} else {
|
|
2893
2916
|
if (v.length === 0)
|
|
2894
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
2895
|
-
var
|
|
2896
|
-
this.locale && (
|
|
2917
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, m);
|
|
2918
|
+
var p = v;
|
|
2919
|
+
this.locale && (p = Vr(v, this.locale));
|
|
2897
2920
|
var f = {
|
|
2898
2921
|
type: Q.dateTime,
|
|
2899
|
-
pattern:
|
|
2922
|
+
pattern: p,
|
|
2900
2923
|
location: u.styleLocation,
|
|
2901
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2924
|
+
parsedOptions: this.shouldParseSkeletons ? Rr(p) : {}
|
|
2902
2925
|
}, H = a === "date" ? P.date : P.time;
|
|
2903
2926
|
return {
|
|
2904
|
-
val: { type: H, value: n, location:
|
|
2927
|
+
val: { type: H, value: n, location: m, style: f },
|
|
2905
2928
|
err: null
|
|
2906
2929
|
};
|
|
2907
2930
|
}
|
|
@@ -2910,7 +2933,7 @@ var sn = (
|
|
|
2910
2933
|
val: {
|
|
2911
2934
|
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
2912
2935
|
value: n,
|
|
2913
|
-
location:
|
|
2936
|
+
location: m,
|
|
2914
2937
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2915
2938
|
},
|
|
2916
2939
|
err: null
|
|
@@ -2921,7 +2944,7 @@ var sn = (
|
|
|
2921
2944
|
case "select": {
|
|
2922
2945
|
var B = this.clonePosition();
|
|
2923
2946
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2924
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(B,
|
|
2947
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(B, x({}, B)));
|
|
2925
2948
|
this.bumpSpace();
|
|
2926
2949
|
var O = this.parseIdentifierIfPossible(), T = 0;
|
|
2927
2950
|
if (a !== "select" && O.value === "offset") {
|
|
@@ -2944,7 +2967,7 @@ var sn = (
|
|
|
2944
2967
|
val: {
|
|
2945
2968
|
type: P.select,
|
|
2946
2969
|
value: n,
|
|
2947
|
-
options:
|
|
2970
|
+
options: rt(N.val),
|
|
2948
2971
|
location: b
|
|
2949
2972
|
},
|
|
2950
2973
|
err: null
|
|
@@ -2952,7 +2975,7 @@ var sn = (
|
|
|
2952
2975
|
val: {
|
|
2953
2976
|
type: P.plural,
|
|
2954
2977
|
value: n,
|
|
2955
|
-
options:
|
|
2978
|
+
options: rt(N.val),
|
|
2956
2979
|
offset: T,
|
|
2957
2980
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2958
2981
|
location: b
|
|
@@ -3003,7 +3026,7 @@ var sn = (
|
|
|
3003
3026
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3004
3027
|
var n = [];
|
|
3005
3028
|
try {
|
|
3006
|
-
n =
|
|
3029
|
+
n = Gr(t);
|
|
3007
3030
|
} catch {
|
|
3008
3031
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3009
3032
|
}
|
|
@@ -3012,7 +3035,7 @@ var sn = (
|
|
|
3012
3035
|
type: Q.number,
|
|
3013
3036
|
tokens: n,
|
|
3014
3037
|
location: r,
|
|
3015
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3038
|
+
parsedOptions: this.shouldParseSkeletons ? kr(n) : {}
|
|
3016
3039
|
},
|
|
3017
3040
|
err: null
|
|
3018
3041
|
};
|
|
@@ -3037,9 +3060,9 @@ var sn = (
|
|
|
3037
3060
|
var d = this.parseMessage(t + 1, r, n);
|
|
3038
3061
|
if (d.err)
|
|
3039
3062
|
return d;
|
|
3040
|
-
var
|
|
3041
|
-
if (
|
|
3042
|
-
return
|
|
3063
|
+
var m = this.tryParseArgumentClose(g);
|
|
3064
|
+
if (m.err)
|
|
3065
|
+
return m;
|
|
3043
3066
|
a.push([
|
|
3044
3067
|
u,
|
|
3045
3068
|
{
|
|
@@ -3060,7 +3083,7 @@ var sn = (
|
|
|
3060
3083
|
break;
|
|
3061
3084
|
}
|
|
3062
3085
|
var l = E(i, this.clonePosition());
|
|
3063
|
-
return s ? (o *= n,
|
|
3086
|
+
return s ? (o *= n, tn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3064
3087
|
}, e.prototype.offset = function() {
|
|
3065
3088
|
return this.position.offset;
|
|
3066
3089
|
}, e.prototype.isEOF = function() {
|
|
@@ -3075,7 +3098,7 @@ var sn = (
|
|
|
3075
3098
|
var t = this.position.offset;
|
|
3076
3099
|
if (t >= this.message.length)
|
|
3077
3100
|
throw Error("out of bound");
|
|
3078
|
-
var r =
|
|
3101
|
+
var r = It(this.message, t);
|
|
3079
3102
|
if (r === void 0)
|
|
3080
3103
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3081
3104
|
return r;
|
|
@@ -3094,7 +3117,7 @@ var sn = (
|
|
|
3094
3117
|
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);
|
|
3095
3118
|
}
|
|
3096
3119
|
}, e.prototype.bumpIf = function(t) {
|
|
3097
|
-
if (
|
|
3120
|
+
if (tt(this.message, t, this.offset())) {
|
|
3098
3121
|
for (var r = 0; r < t.length; r++)
|
|
3099
3122
|
this.bump();
|
|
3100
3123
|
return !0;
|
|
@@ -3116,7 +3139,7 @@ var sn = (
|
|
|
3116
3139
|
break;
|
|
3117
3140
|
}
|
|
3118
3141
|
}, e.prototype.bumpSpace = function() {
|
|
3119
|
-
for (; !this.isEOF() &&
|
|
3142
|
+
for (; !this.isEOF() && Mt(this.char()); )
|
|
3120
3143
|
this.bump();
|
|
3121
3144
|
}, e.prototype.peek = function() {
|
|
3122
3145
|
if (this.isEOF())
|
|
@@ -3129,29 +3152,30 @@ var sn = (
|
|
|
3129
3152
|
function $e(e) {
|
|
3130
3153
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3131
3154
|
}
|
|
3132
|
-
function
|
|
3155
|
+
function an(e) {
|
|
3133
3156
|
return $e(e) || e === 47;
|
|
3134
3157
|
}
|
|
3135
|
-
function
|
|
3158
|
+
function un(e) {
|
|
3136
3159
|
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;
|
|
3137
3160
|
}
|
|
3138
|
-
function
|
|
3161
|
+
function Mt(e) {
|
|
3139
3162
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3140
3163
|
}
|
|
3141
|
-
function
|
|
3164
|
+
function hn(e) {
|
|
3142
3165
|
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;
|
|
3143
3166
|
}
|
|
3144
3167
|
function Re(e) {
|
|
3145
3168
|
e.forEach(function(t) {
|
|
3146
|
-
if (delete t.location,
|
|
3169
|
+
if (delete t.location, Tt(t) || St(t))
|
|
3147
3170
|
for (var r in t.options)
|
|
3148
3171
|
delete t.options[r].location, Re(t.options[r].value);
|
|
3149
|
-
else
|
|
3172
|
+
else
|
|
3173
|
+
yt(t) && At(t.style) || (Pt(t) || Ht(t)) && Le(t.style) ? delete t.style.location : Bt(t) && Re(t.children);
|
|
3150
3174
|
});
|
|
3151
3175
|
}
|
|
3152
|
-
function
|
|
3153
|
-
t === void 0 && (t = {}), t =
|
|
3154
|
-
var r = new
|
|
3176
|
+
function ln(e, t) {
|
|
3177
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3178
|
+
var r = new on(e, t).parse();
|
|
3155
3179
|
if (r.err) {
|
|
3156
3180
|
var n = SyntaxError(_[r.err.kind]);
|
|
3157
3181
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3174,7 +3198,7 @@ var ve = (
|
|
|
3174
3198
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3175
3199
|
}, t;
|
|
3176
3200
|
}(Error)
|
|
3177
|
-
),
|
|
3201
|
+
), it = (
|
|
3178
3202
|
/** @class */
|
|
3179
3203
|
function(e) {
|
|
3180
3204
|
be(t, e);
|
|
@@ -3183,7 +3207,7 @@ var ve = (
|
|
|
3183
3207
|
}
|
|
3184
3208
|
return t;
|
|
3185
3209
|
}(ve)
|
|
3186
|
-
),
|
|
3210
|
+
), fn = (
|
|
3187
3211
|
/** @class */
|
|
3188
3212
|
function(e) {
|
|
3189
3213
|
be(t, e);
|
|
@@ -3192,7 +3216,7 @@ var ve = (
|
|
|
3192
3216
|
}
|
|
3193
3217
|
return t;
|
|
3194
3218
|
}(ve)
|
|
3195
|
-
),
|
|
3219
|
+
), cn = (
|
|
3196
3220
|
/** @class */
|
|
3197
3221
|
function(e) {
|
|
3198
3222
|
be(t, e);
|
|
@@ -3205,7 +3229,7 @@ var ve = (
|
|
|
3205
3229
|
(function(e) {
|
|
3206
3230
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3207
3231
|
})(w || (w = {}));
|
|
3208
|
-
function
|
|
3232
|
+
function mn(e) {
|
|
3209
3233
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3210
3234
|
var n = t[t.length - 1];
|
|
3211
3235
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
@@ -3215,7 +3239,7 @@ function pn(e) {
|
|
|
3215
3239
|
return typeof e == "function";
|
|
3216
3240
|
}
|
|
3217
3241
|
function fe(e, t, r, n, i, s, o) {
|
|
3218
|
-
if (e.length === 1 &&
|
|
3242
|
+
if (e.length === 1 && Je(e[0]))
|
|
3219
3243
|
return [
|
|
3220
3244
|
{
|
|
3221
3245
|
type: w.literal,
|
|
@@ -3224,14 +3248,14 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3224
3248
|
];
|
|
3225
3249
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3226
3250
|
var h = u[l];
|
|
3227
|
-
if (
|
|
3251
|
+
if (Je(h)) {
|
|
3228
3252
|
a.push({
|
|
3229
3253
|
type: w.literal,
|
|
3230
3254
|
value: h.value
|
|
3231
3255
|
});
|
|
3232
3256
|
continue;
|
|
3233
3257
|
}
|
|
3234
|
-
if (
|
|
3258
|
+
if (Mr(h)) {
|
|
3235
3259
|
typeof s == "number" && a.push({
|
|
3236
3260
|
type: w.literal,
|
|
3237
3261
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3240,16 +3264,16 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3240
3264
|
}
|
|
3241
3265
|
var c = h.value;
|
|
3242
3266
|
if (!(i && c in i))
|
|
3243
|
-
throw new
|
|
3267
|
+
throw new cn(c, o);
|
|
3244
3268
|
var f = i[c];
|
|
3245
|
-
if (
|
|
3269
|
+
if (Cr(h)) {
|
|
3246
3270
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3247
3271
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3248
3272
|
value: f
|
|
3249
3273
|
});
|
|
3250
3274
|
continue;
|
|
3251
3275
|
}
|
|
3252
|
-
if (
|
|
3276
|
+
if (Pt(h)) {
|
|
3253
3277
|
var g = typeof h.style == "string" ? n.date[h.style] : Le(h.style) ? h.style.parsedOptions : void 0;
|
|
3254
3278
|
a.push({
|
|
3255
3279
|
type: w.literal,
|
|
@@ -3257,7 +3281,7 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3257
3281
|
});
|
|
3258
3282
|
continue;
|
|
3259
3283
|
}
|
|
3260
|
-
if (
|
|
3284
|
+
if (Ht(h)) {
|
|
3261
3285
|
var g = typeof h.style == "string" ? n.time[h.style] : Le(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3262
3286
|
a.push({
|
|
3263
3287
|
type: w.literal,
|
|
@@ -3265,19 +3289,19 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3265
3289
|
});
|
|
3266
3290
|
continue;
|
|
3267
3291
|
}
|
|
3268
|
-
if (
|
|
3269
|
-
var g = typeof h.style == "string" ? n.number[h.style] :
|
|
3292
|
+
if (yt(h)) {
|
|
3293
|
+
var g = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
|
|
3270
3294
|
g && g.scale && (f = f * (g.scale || 1)), a.push({
|
|
3271
3295
|
type: w.literal,
|
|
3272
3296
|
value: r.getNumberFormat(t, g).format(f)
|
|
3273
3297
|
});
|
|
3274
3298
|
continue;
|
|
3275
3299
|
}
|
|
3276
|
-
if (
|
|
3277
|
-
var d = h.children,
|
|
3300
|
+
if (Bt(h)) {
|
|
3301
|
+
var d = h.children, m = h.value, v = i[m];
|
|
3278
3302
|
if (!pn(v))
|
|
3279
|
-
throw new
|
|
3280
|
-
var
|
|
3303
|
+
throw new fn(m, "function", o);
|
|
3304
|
+
var p = fe(d, t, r, n, i, s), H = v(p.map(function(T) {
|
|
3281
3305
|
return T.value;
|
|
3282
3306
|
}));
|
|
3283
3307
|
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(T) {
|
|
@@ -3287,14 +3311,14 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3287
3311
|
};
|
|
3288
3312
|
}));
|
|
3289
3313
|
}
|
|
3290
|
-
if (
|
|
3314
|
+
if (Tt(h)) {
|
|
3291
3315
|
var B = h.options[f] || h.options.other;
|
|
3292
3316
|
if (!B)
|
|
3293
|
-
throw new
|
|
3317
|
+
throw new it(h.value, f, Object.keys(h.options), o);
|
|
3294
3318
|
a.push.apply(a, fe(B.value, t, r, n, i));
|
|
3295
3319
|
continue;
|
|
3296
3320
|
}
|
|
3297
|
-
if (
|
|
3321
|
+
if (St(h)) {
|
|
3298
3322
|
var B = h.options["=".concat(f)];
|
|
3299
3323
|
if (!B) {
|
|
3300
3324
|
if (!Intl.PluralRules)
|
|
@@ -3305,22 +3329,22 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3305
3329
|
B = h.options[O] || h.options.other;
|
|
3306
3330
|
}
|
|
3307
3331
|
if (!B)
|
|
3308
|
-
throw new
|
|
3332
|
+
throw new it(h.value, f, Object.keys(h.options), o);
|
|
3309
3333
|
a.push.apply(a, fe(B.value, t, r, n, i, f - (h.offset || 0)));
|
|
3310
3334
|
continue;
|
|
3311
3335
|
}
|
|
3312
3336
|
}
|
|
3313
|
-
return
|
|
3337
|
+
return mn(a);
|
|
3314
3338
|
}
|
|
3315
|
-
function
|
|
3316
|
-
return t ?
|
|
3317
|
-
return r[n] =
|
|
3339
|
+
function dn(e, t) {
|
|
3340
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3341
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3318
3342
|
}, {})) : e;
|
|
3319
3343
|
}
|
|
3320
|
-
function
|
|
3344
|
+
function gn(e, t) {
|
|
3321
3345
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3322
|
-
return r[n] =
|
|
3323
|
-
},
|
|
3346
|
+
return r[n] = dn(e[n], t[n]), r;
|
|
3347
|
+
}, x({}, e)) : e;
|
|
3324
3348
|
}
|
|
3325
3349
|
function Se(e) {
|
|
3326
3350
|
return {
|
|
@@ -3336,7 +3360,7 @@ function Se(e) {
|
|
|
3336
3360
|
}
|
|
3337
3361
|
};
|
|
3338
3362
|
}
|
|
3339
|
-
function
|
|
3363
|
+
function bn(e) {
|
|
3340
3364
|
return e === void 0 && (e = {
|
|
3341
3365
|
number: {},
|
|
3342
3366
|
dateTime: {},
|
|
@@ -3345,7 +3369,7 @@ function gn(e) {
|
|
|
3345
3369
|
getNumberFormat: Pe(function() {
|
|
3346
3370
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3347
3371
|
r[n] = arguments[n];
|
|
3348
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3372
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3349
3373
|
}, {
|
|
3350
3374
|
cache: Se(e.number),
|
|
3351
3375
|
strategy: He.variadic
|
|
@@ -3353,7 +3377,7 @@ function gn(e) {
|
|
|
3353
3377
|
getDateTimeFormat: Pe(function() {
|
|
3354
3378
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3355
3379
|
r[n] = arguments[n];
|
|
3356
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3380
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3357
3381
|
}, {
|
|
3358
3382
|
cache: Se(e.dateTime),
|
|
3359
3383
|
strategy: He.variadic
|
|
@@ -3361,14 +3385,14 @@ function gn(e) {
|
|
|
3361
3385
|
getPluralRules: Pe(function() {
|
|
3362
3386
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3363
3387
|
r[n] = arguments[n];
|
|
3364
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3388
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
|
|
3365
3389
|
}, {
|
|
3366
3390
|
cache: Se(e.pluralRules),
|
|
3367
3391
|
strategy: He.variadic
|
|
3368
3392
|
})
|
|
3369
3393
|
};
|
|
3370
3394
|
}
|
|
3371
|
-
var
|
|
3395
|
+
var vn = (
|
|
3372
3396
|
/** @class */
|
|
3373
3397
|
function() {
|
|
3374
3398
|
function e(t, r, n, i) {
|
|
@@ -3400,13 +3424,13 @@ var bn = (
|
|
|
3400
3424
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3401
3425
|
var o = i || {};
|
|
3402
3426
|
o.formatters;
|
|
3403
|
-
var a =
|
|
3404
|
-
this.ast = e.__parse(t,
|
|
3427
|
+
var a = Br(o, ["formatters"]);
|
|
3428
|
+
this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
|
|
3405
3429
|
} else
|
|
3406
3430
|
this.ast = t;
|
|
3407
3431
|
if (!Array.isArray(this.ast))
|
|
3408
3432
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3409
|
-
this.formats =
|
|
3433
|
+
this.formats = gn(e.formats, n), this.formatters = i && i.formatters || bn(this.formatterCache);
|
|
3410
3434
|
}
|
|
3411
3435
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3412
3436
|
get: function() {
|
|
@@ -3419,7 +3443,7 @@ var bn = (
|
|
|
3419
3443
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3420
3444
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3421
3445
|
}
|
|
3422
|
-
}, e.__parse =
|
|
3446
|
+
}, e.__parse = ln, e.formats = {
|
|
3423
3447
|
number: {
|
|
3424
3448
|
integer: {
|
|
3425
3449
|
maximumFractionDigits: 0
|
|
@@ -3480,7 +3504,7 @@ var bn = (
|
|
|
3480
3504
|
}, e;
|
|
3481
3505
|
}()
|
|
3482
3506
|
);
|
|
3483
|
-
function
|
|
3507
|
+
function _n(e, t) {
|
|
3484
3508
|
if (t == null)
|
|
3485
3509
|
return;
|
|
3486
3510
|
if (t in e)
|
|
@@ -3501,7 +3525,7 @@ function vn(e, t) {
|
|
|
3501
3525
|
n = void 0;
|
|
3502
3526
|
return n;
|
|
3503
3527
|
}
|
|
3504
|
-
const F = {},
|
|
3528
|
+
const F = {}, En = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), $t = (e, t) => {
|
|
3505
3529
|
if (t == null)
|
|
3506
3530
|
return;
|
|
3507
3531
|
if (t in F && e in F[t])
|
|
@@ -3510,51 +3534,51 @@ const F = {}, _n = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][
|
|
|
3510
3534
|
for (let n = 0; n < r.length; n++) {
|
|
3511
3535
|
const i = r[n], s = yn(i, e);
|
|
3512
3536
|
if (s)
|
|
3513
|
-
return
|
|
3537
|
+
return En(e, t, s);
|
|
3514
3538
|
}
|
|
3515
3539
|
};
|
|
3516
|
-
let
|
|
3540
|
+
let Ve;
|
|
3517
3541
|
const oe = ge({});
|
|
3518
|
-
function
|
|
3519
|
-
return
|
|
3542
|
+
function xn(e) {
|
|
3543
|
+
return Ve[e] || null;
|
|
3520
3544
|
}
|
|
3521
|
-
function
|
|
3522
|
-
return e in
|
|
3545
|
+
function Rt(e) {
|
|
3546
|
+
return e in Ve;
|
|
3523
3547
|
}
|
|
3524
3548
|
function yn(e, t) {
|
|
3525
|
-
if (!
|
|
3549
|
+
if (!Rt(e))
|
|
3526
3550
|
return null;
|
|
3527
|
-
const r =
|
|
3528
|
-
return
|
|
3551
|
+
const r = xn(e);
|
|
3552
|
+
return _n(r, t);
|
|
3529
3553
|
}
|
|
3530
|
-
function
|
|
3554
|
+
function Pn(e) {
|
|
3531
3555
|
if (e == null)
|
|
3532
3556
|
return;
|
|
3533
3557
|
const t = _e(e);
|
|
3534
3558
|
for (let r = 0; r < t.length; r++) {
|
|
3535
3559
|
const n = t[r];
|
|
3536
|
-
if (
|
|
3560
|
+
if (Rt(n))
|
|
3537
3561
|
return n;
|
|
3538
3562
|
}
|
|
3539
3563
|
}
|
|
3540
|
-
function
|
|
3541
|
-
delete F[e], oe.update((r) => (r[e] =
|
|
3564
|
+
function Ut(e, ...t) {
|
|
3565
|
+
delete F[e], oe.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
|
|
3542
3566
|
}
|
|
3543
3567
|
Y(
|
|
3544
3568
|
[oe],
|
|
3545
3569
|
([e]) => Object.keys(e)
|
|
3546
3570
|
);
|
|
3547
|
-
oe.subscribe((e) =>
|
|
3571
|
+
oe.subscribe((e) => Ve = e);
|
|
3548
3572
|
const ce = {};
|
|
3549
|
-
function
|
|
3573
|
+
function Hn(e, t) {
|
|
3550
3574
|
ce[e].delete(t), ce[e].size === 0 && delete ce[e];
|
|
3551
3575
|
}
|
|
3552
|
-
function
|
|
3576
|
+
function Gt(e) {
|
|
3553
3577
|
return ce[e];
|
|
3554
3578
|
}
|
|
3555
|
-
function
|
|
3579
|
+
function Tn(e) {
|
|
3556
3580
|
return _e(e).map((t) => {
|
|
3557
|
-
const r =
|
|
3581
|
+
const r = Gt(t);
|
|
3558
3582
|
return [t, r ? [...r] : []];
|
|
3559
3583
|
}).filter(([, t]) => t.length > 0);
|
|
3560
3584
|
}
|
|
@@ -3562,31 +3586,31 @@ function Ue(e) {
|
|
|
3562
3586
|
return e == null ? !1 : _e(e).some(
|
|
3563
3587
|
(t) => {
|
|
3564
3588
|
var r;
|
|
3565
|
-
return (r =
|
|
3589
|
+
return (r = Gt(t)) == null ? void 0 : r.size;
|
|
3566
3590
|
}
|
|
3567
3591
|
);
|
|
3568
3592
|
}
|
|
3569
|
-
function
|
|
3593
|
+
function Sn(e, t) {
|
|
3570
3594
|
return Promise.all(
|
|
3571
|
-
t.map((n) => (
|
|
3572
|
-
).then((n) =>
|
|
3595
|
+
t.map((n) => (Hn(e, n), n().then((i) => i.default || i)))
|
|
3596
|
+
).then((n) => Ut(e, ...n));
|
|
3573
3597
|
}
|
|
3574
3598
|
const te = {};
|
|
3575
|
-
function
|
|
3599
|
+
function Dt(e) {
|
|
3576
3600
|
if (!Ue(e))
|
|
3577
3601
|
return e in te ? te[e] : Promise.resolve();
|
|
3578
|
-
const t =
|
|
3602
|
+
const t = Tn(e);
|
|
3579
3603
|
return te[e] = Promise.all(
|
|
3580
3604
|
t.map(
|
|
3581
|
-
([r, n]) =>
|
|
3605
|
+
([r, n]) => Sn(r, n)
|
|
3582
3606
|
)
|
|
3583
3607
|
).then(() => {
|
|
3584
3608
|
if (Ue(e))
|
|
3585
|
-
return
|
|
3609
|
+
return Dt(e);
|
|
3586
3610
|
delete te[e];
|
|
3587
3611
|
}), te[e];
|
|
3588
3612
|
}
|
|
3589
|
-
const
|
|
3613
|
+
const Bn = {
|
|
3590
3614
|
number: {
|
|
3591
3615
|
scientific: { notation: "scientific" },
|
|
3592
3616
|
engineering: { notation: "engineering" },
|
|
@@ -3615,57 +3639,57 @@ const Sn = {
|
|
|
3615
3639
|
timeZoneName: "short"
|
|
3616
3640
|
}
|
|
3617
3641
|
}
|
|
3618
|
-
},
|
|
3642
|
+
}, An = {
|
|
3619
3643
|
fallbackLocale: null,
|
|
3620
3644
|
loadingDelay: 200,
|
|
3621
|
-
formats:
|
|
3645
|
+
formats: Bn,
|
|
3622
3646
|
warnOnMissingMessages: !0,
|
|
3623
3647
|
handleMissingMessage: void 0,
|
|
3624
3648
|
ignoreTag: !0
|
|
3625
|
-
},
|
|
3649
|
+
}, On = An;
|
|
3626
3650
|
function J() {
|
|
3627
|
-
return
|
|
3651
|
+
return On;
|
|
3628
3652
|
}
|
|
3629
3653
|
const Be = ge(!1);
|
|
3630
|
-
var
|
|
3654
|
+
var wn = Object.defineProperty, Nn = Object.defineProperties, Ln = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, In = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
|
|
3631
3655
|
for (var r in t || (t = {}))
|
|
3632
|
-
|
|
3633
|
-
if (
|
|
3634
|
-
for (var r of
|
|
3635
|
-
|
|
3656
|
+
In.call(t, r) && ot(e, r, t[r]);
|
|
3657
|
+
if (st)
|
|
3658
|
+
for (var r of st(t))
|
|
3659
|
+
Cn.call(t, r) && ot(e, r, t[r]);
|
|
3636
3660
|
return e;
|
|
3637
|
-
},
|
|
3661
|
+
}, $n = (e, t) => Nn(e, Ln(t));
|
|
3638
3662
|
let Ge;
|
|
3639
|
-
const
|
|
3640
|
-
function
|
|
3663
|
+
const pe = ge(null);
|
|
3664
|
+
function at(e) {
|
|
3641
3665
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3642
3666
|
}
|
|
3643
3667
|
function _e(e, t = J().fallbackLocale) {
|
|
3644
|
-
const r =
|
|
3645
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3668
|
+
const r = at(e);
|
|
3669
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
|
|
3646
3670
|
}
|
|
3647
3671
|
function k() {
|
|
3648
3672
|
return Ge ?? void 0;
|
|
3649
3673
|
}
|
|
3650
|
-
|
|
3674
|
+
pe.subscribe((e) => {
|
|
3651
3675
|
Ge = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3652
3676
|
});
|
|
3653
|
-
const
|
|
3654
|
-
if (e &&
|
|
3677
|
+
const Rn = (e) => {
|
|
3678
|
+
if (e && Pn(e) && Ue(e)) {
|
|
3655
3679
|
const { loadingDelay: t } = J();
|
|
3656
3680
|
let r;
|
|
3657
3681
|
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
|
3658
3682
|
() => Be.set(!0),
|
|
3659
3683
|
t
|
|
3660
|
-
) : Be.set(!0),
|
|
3661
|
-
|
|
3684
|
+
) : Be.set(!0), Dt(e).then(() => {
|
|
3685
|
+
pe.set(e);
|
|
3662
3686
|
}).finally(() => {
|
|
3663
3687
|
clearTimeout(r), Be.set(!1);
|
|
3664
3688
|
});
|
|
3665
3689
|
}
|
|
3666
|
-
return
|
|
3667
|
-
}, K = Mn(
|
|
3668
|
-
set:
|
|
3690
|
+
return pe.set(e);
|
|
3691
|
+
}, K = $n(Mn({}, pe), {
|
|
3692
|
+
set: Rn
|
|
3669
3693
|
}), Ee = (e) => {
|
|
3670
3694
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3671
3695
|
return (n) => {
|
|
@@ -3673,20 +3697,20 @@ const $n = (e) => {
|
|
|
3673
3697
|
return i in t ? t[i] : t[i] = e(n);
|
|
3674
3698
|
};
|
|
3675
3699
|
};
|
|
3676
|
-
var
|
|
3700
|
+
var Un = Object.defineProperty, de = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
|
|
3677
3701
|
for (var r in t || (t = {}))
|
|
3678
|
-
|
|
3702
|
+
Ft.call(t, r) && ut(e, r, t[r]);
|
|
3679
3703
|
if (de)
|
|
3680
3704
|
for (var r of de(t))
|
|
3681
|
-
|
|
3705
|
+
jt.call(t, r) && ut(e, r, t[r]);
|
|
3682
3706
|
return e;
|
|
3683
3707
|
}, ee = (e, t) => {
|
|
3684
3708
|
var r = {};
|
|
3685
3709
|
for (var n in e)
|
|
3686
|
-
|
|
3710
|
+
Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3687
3711
|
if (e != null && de)
|
|
3688
3712
|
for (var n of de(e))
|
|
3689
|
-
t.indexOf(n) < 0 &&
|
|
3713
|
+
t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
|
|
3690
3714
|
return r;
|
|
3691
3715
|
};
|
|
3692
3716
|
const ie = (e, t) => {
|
|
@@ -3694,21 +3718,21 @@ const ie = (e, t) => {
|
|
|
3694
3718
|
if (e in r && t in r[e])
|
|
3695
3719
|
return r[e][t];
|
|
3696
3720
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3697
|
-
},
|
|
3721
|
+
}, Gn = Ee(
|
|
3698
3722
|
(e) => {
|
|
3699
3723
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3700
3724
|
if (r == null)
|
|
3701
3725
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3702
3726
|
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
3703
3727
|
}
|
|
3704
|
-
),
|
|
3728
|
+
), Dn = Ee(
|
|
3705
3729
|
(e) => {
|
|
3706
3730
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3707
3731
|
if (r == null)
|
|
3708
3732
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3709
3733
|
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3710
3734
|
}
|
|
3711
|
-
),
|
|
3735
|
+
), Fn = Ee(
|
|
3712
3736
|
(e) => {
|
|
3713
3737
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3714
3738
|
if (r == null)
|
|
@@ -3717,33 +3741,33 @@ const ie = (e, t) => {
|
|
|
3717
3741
|
);
|
|
3718
3742
|
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3719
3743
|
}
|
|
3720
|
-
),
|
|
3744
|
+
), jn = (e = {}) => {
|
|
3721
3745
|
var t = e, {
|
|
3722
3746
|
locale: r = k()
|
|
3723
3747
|
} = t, n = ee(t, [
|
|
3724
3748
|
"locale"
|
|
3725
3749
|
]);
|
|
3726
|
-
return
|
|
3727
|
-
},
|
|
3750
|
+
return Gn(Xe({ locale: r }, n));
|
|
3751
|
+
}, kn = (e = {}) => {
|
|
3728
3752
|
var t = e, {
|
|
3729
3753
|
locale: r = k()
|
|
3730
3754
|
} = t, n = ee(t, [
|
|
3731
3755
|
"locale"
|
|
3732
3756
|
]);
|
|
3733
|
-
return
|
|
3734
|
-
},
|
|
3757
|
+
return Dn(Xe({ locale: r }, n));
|
|
3758
|
+
}, Vn = (e = {}) => {
|
|
3735
3759
|
var t = e, {
|
|
3736
3760
|
locale: r = k()
|
|
3737
3761
|
} = t, n = ee(t, [
|
|
3738
3762
|
"locale"
|
|
3739
3763
|
]);
|
|
3740
|
-
return
|
|
3741
|
-
},
|
|
3764
|
+
return Fn(Xe({ locale: r }, n));
|
|
3765
|
+
}, Xn = Ee(
|
|
3742
3766
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3743
|
-
(e, t = k()) => new
|
|
3767
|
+
(e, t = k()) => new vn(e, t, J().formats, {
|
|
3744
3768
|
ignoreTag: J().ignoreTag
|
|
3745
3769
|
})
|
|
3746
|
-
),
|
|
3770
|
+
), zn = (e, t = {}) => {
|
|
3747
3771
|
var r, n, i, s;
|
|
3748
3772
|
let o = t;
|
|
3749
3773
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3756,7 +3780,7 @@ const ie = (e, t) => {
|
|
|
3756
3780
|
throw new Error(
|
|
3757
3781
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3758
3782
|
);
|
|
3759
|
-
let h =
|
|
3783
|
+
let h = $t(e, l);
|
|
3760
3784
|
if (!h)
|
|
3761
3785
|
h = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3762
3786
|
else if (typeof h != "string")
|
|
@@ -3767,7 +3791,7 @@ const ie = (e, t) => {
|
|
|
3767
3791
|
return h;
|
|
3768
3792
|
let c = h;
|
|
3769
3793
|
try {
|
|
3770
|
-
c =
|
|
3794
|
+
c = Xn(h, l).format(a);
|
|
3771
3795
|
} catch (f) {
|
|
3772
3796
|
f instanceof Error && console.warn(
|
|
3773
3797
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3775,24 +3799,24 @@ const ie = (e, t) => {
|
|
|
3775
3799
|
);
|
|
3776
3800
|
}
|
|
3777
3801
|
return c;
|
|
3778
|
-
},
|
|
3779
|
-
Y([K], () => zn);
|
|
3802
|
+
}, Wn = (e, t) => Vn(t).format(e), Zn = (e, t) => kn(t).format(e), Qn = (e, t) => jn(t).format(e), qn = (e, t = k()) => $t(e, t), Jn = Y([K, oe], () => zn);
|
|
3780
3803
|
Y([K], () => Wn);
|
|
3781
3804
|
Y([K], () => Zn);
|
|
3782
|
-
Y([K
|
|
3783
|
-
|
|
3784
|
-
|
|
3805
|
+
Y([K], () => Qn);
|
|
3806
|
+
Y([K, oe], () => qn);
|
|
3807
|
+
function ht(e, t) {
|
|
3808
|
+
Ut(e, t);
|
|
3785
3809
|
}
|
|
3786
|
-
function
|
|
3810
|
+
function Yn(e) {
|
|
3787
3811
|
K.set(e);
|
|
3788
3812
|
}
|
|
3789
|
-
function
|
|
3813
|
+
function Kn(e, t) {
|
|
3790
3814
|
if (e) {
|
|
3791
3815
|
const r = document.createElement("style");
|
|
3792
3816
|
r.innerHTML = t, e.appendChild(r);
|
|
3793
3817
|
}
|
|
3794
3818
|
}
|
|
3795
|
-
function
|
|
3819
|
+
function ei(e, t) {
|
|
3796
3820
|
const r = new URL(t);
|
|
3797
3821
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3798
3822
|
const i = document.createElement("style");
|
|
@@ -3801,7 +3825,7 @@ function Kn(e, t) {
|
|
|
3801
3825
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3802
3826
|
});
|
|
3803
3827
|
}
|
|
3804
|
-
function
|
|
3828
|
+
function ti(e, t, r) {
|
|
3805
3829
|
if (window.emMessageBus) {
|
|
3806
3830
|
const n = document.createElement("style");
|
|
3807
3831
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3809,18 +3833,18 @@ function ei(e, t, r) {
|
|
|
3809
3833
|
});
|
|
3810
3834
|
}
|
|
3811
3835
|
}
|
|
3812
|
-
function
|
|
3813
|
-
|
|
3836
|
+
function ri(e) {
|
|
3837
|
+
Xt(e, "svelte-1bsli1q", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
|
|
3814
3838
|
}
|
|
3815
|
-
function
|
|
3839
|
+
function lt(e, t, r) {
|
|
3816
3840
|
const n = e.slice();
|
|
3817
3841
|
return n[21] = t[r], n;
|
|
3818
3842
|
}
|
|
3819
|
-
function
|
|
3843
|
+
function ft(e, t, r) {
|
|
3820
3844
|
const n = e.slice();
|
|
3821
3845
|
return n[21] = t[r], n;
|
|
3822
3846
|
}
|
|
3823
|
-
function
|
|
3847
|
+
function ni(e) {
|
|
3824
3848
|
let t, r = (
|
|
3825
3849
|
/*$_*/
|
|
3826
3850
|
e[4]("popularProviders") + ""
|
|
@@ -3831,75 +3855,75 @@ function ri(e) {
|
|
|
3831
3855
|
/*topProviders*/
|
|
3832
3856
|
e[1]
|
|
3833
3857
|
), f = [];
|
|
3834
|
-
for (let
|
|
3835
|
-
f[
|
|
3858
|
+
for (let m = 0; m < c.length; m += 1)
|
|
3859
|
+
f[m] = ct(ft(e, c, m));
|
|
3836
3860
|
let g = ue(
|
|
3837
3861
|
/*otherProviders*/
|
|
3838
3862
|
e[2]
|
|
3839
3863
|
), d = [];
|
|
3840
|
-
for (let
|
|
3841
|
-
d[
|
|
3864
|
+
for (let m = 0; m < g.length; m += 1)
|
|
3865
|
+
d[m] = mt(lt(e, g, m));
|
|
3842
3866
|
return {
|
|
3843
3867
|
c() {
|
|
3844
3868
|
t = A("h4"), n = $(r), i = R();
|
|
3845
|
-
for (let p = 0; p < f.length; p += 1)
|
|
3846
|
-
f[p].c();
|
|
3847
|
-
s = R(), o = A("h4"), l = $(a), u = R();
|
|
3848
|
-
for (let p = 0; p < d.length; p += 1)
|
|
3849
|
-
d[p].c();
|
|
3850
|
-
h = zt(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
|
|
3851
|
-
},
|
|
3852
|
-
m(p, v) {
|
|
3853
|
-
C(p, t, v), x(t, n), C(p, i, v);
|
|
3854
3869
|
for (let m = 0; m < f.length; m += 1)
|
|
3855
|
-
f[m]
|
|
3856
|
-
|
|
3870
|
+
f[m].c();
|
|
3871
|
+
s = R(), o = A("h4"), l = $(a), u = R();
|
|
3857
3872
|
for (let m = 0; m < d.length; m += 1)
|
|
3858
|
-
d[m]
|
|
3859
|
-
|
|
3873
|
+
d[m].c();
|
|
3874
|
+
h = Zt(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
|
|
3860
3875
|
},
|
|
3861
|
-
|
|
3876
|
+
m(m, v) {
|
|
3877
|
+
C(m, t, v), y(t, n), C(m, i, v);
|
|
3878
|
+
for (let p = 0; p < f.length; p += 1)
|
|
3879
|
+
f[p] && f[p].m(m, v);
|
|
3880
|
+
C(m, s, v), C(m, o, v), y(o, l), C(m, u, v);
|
|
3881
|
+
for (let p = 0; p < d.length; p += 1)
|
|
3882
|
+
d[p] && d[p].m(m, v);
|
|
3883
|
+
C(m, h, v);
|
|
3884
|
+
},
|
|
3885
|
+
p(m, v) {
|
|
3862
3886
|
if (v & /*$_*/
|
|
3863
3887
|
16 && r !== (r = /*$_*/
|
|
3864
|
-
|
|
3888
|
+
m[4]("popularProviders") + "") && D(n, r), v & /*openGameProviderPage, topProviders, $_*/
|
|
3865
3889
|
50) {
|
|
3866
3890
|
c = ue(
|
|
3867
3891
|
/*topProviders*/
|
|
3868
|
-
|
|
3892
|
+
m[1]
|
|
3869
3893
|
);
|
|
3870
|
-
let
|
|
3871
|
-
for (
|
|
3872
|
-
const H =
|
|
3873
|
-
f[
|
|
3894
|
+
let p;
|
|
3895
|
+
for (p = 0; p < c.length; p += 1) {
|
|
3896
|
+
const H = ft(m, c, p);
|
|
3897
|
+
f[p] ? f[p].p(H, v) : (f[p] = ct(H), f[p].c(), f[p].m(s.parentNode, s));
|
|
3874
3898
|
}
|
|
3875
|
-
for (;
|
|
3876
|
-
f[
|
|
3899
|
+
for (; p < f.length; p += 1)
|
|
3900
|
+
f[p].d(1);
|
|
3877
3901
|
f.length = c.length;
|
|
3878
3902
|
}
|
|
3879
3903
|
if (v & /*$_*/
|
|
3880
3904
|
16 && a !== (a = /*$_*/
|
|
3881
|
-
|
|
3905
|
+
m[4]("otherProviders") + "") && D(l, a), v & /*openGameProviderPage, otherProviders, $_*/
|
|
3882
3906
|
52) {
|
|
3883
3907
|
g = ue(
|
|
3884
3908
|
/*otherProviders*/
|
|
3885
|
-
|
|
3909
|
+
m[2]
|
|
3886
3910
|
);
|
|
3887
|
-
let
|
|
3888
|
-
for (
|
|
3889
|
-
const H =
|
|
3890
|
-
d[
|
|
3911
|
+
let p;
|
|
3912
|
+
for (p = 0; p < g.length; p += 1) {
|
|
3913
|
+
const H = lt(m, g, p);
|
|
3914
|
+
d[p] ? d[p].p(H, v) : (d[p] = mt(H), d[p].c(), d[p].m(h.parentNode, h));
|
|
3891
3915
|
}
|
|
3892
|
-
for (;
|
|
3893
|
-
d[
|
|
3916
|
+
for (; p < d.length; p += 1)
|
|
3917
|
+
d[p].d(1);
|
|
3894
3918
|
d.length = g.length;
|
|
3895
3919
|
}
|
|
3896
3920
|
},
|
|
3897
|
-
d(
|
|
3898
|
-
|
|
3921
|
+
d(m) {
|
|
3922
|
+
m && (I(t), I(i), I(s), I(o), I(u), I(h)), We(f, m), We(d, m);
|
|
3899
3923
|
}
|
|
3900
3924
|
};
|
|
3901
3925
|
}
|
|
3902
|
-
function
|
|
3926
|
+
function ii(e) {
|
|
3903
3927
|
let t, r = (
|
|
3904
3928
|
/*$_*/
|
|
3905
3929
|
e[4]("loading") + ""
|
|
@@ -3909,7 +3933,7 @@ function ni(e) {
|
|
|
3909
3933
|
t = A("p"), n = $(r), S(t, "class", "Message");
|
|
3910
3934
|
},
|
|
3911
3935
|
m(i, s) {
|
|
3912
|
-
C(i, t, s),
|
|
3936
|
+
C(i, t, s), y(t, n);
|
|
3913
3937
|
},
|
|
3914
3938
|
p(i, s) {
|
|
3915
3939
|
s & /*$_*/
|
|
@@ -3921,17 +3945,17 @@ function ni(e) {
|
|
|
3921
3945
|
}
|
|
3922
3946
|
};
|
|
3923
3947
|
}
|
|
3924
|
-
function
|
|
3948
|
+
function ct(e) {
|
|
3925
3949
|
let t, r, n, i, s, o, a, l = (
|
|
3926
3950
|
/*provider*/
|
|
3927
3951
|
e[21].name + ""
|
|
3928
3952
|
), u, h, c, f = (
|
|
3929
3953
|
/*provider*/
|
|
3930
3954
|
e[21].games.count + ""
|
|
3931
|
-
), g, d,
|
|
3955
|
+
), g, d, m = (
|
|
3932
3956
|
/*$_*/
|
|
3933
3957
|
e[4]("games") + ""
|
|
3934
|
-
), v,
|
|
3958
|
+
), v, p, H;
|
|
3935
3959
|
function B() {
|
|
3936
3960
|
return (
|
|
3937
3961
|
/*click_handler*/
|
|
@@ -3943,16 +3967,16 @@ function lt(e) {
|
|
|
3943
3967
|
}
|
|
3944
3968
|
return {
|
|
3945
3969
|
c() {
|
|
3946
|
-
t = A("div"), r = A("img"), s = R(), o = A("div"), a = A("p"), u = $(l), h = R(), c = A("p"), g = $(f), d = R(), v = $(
|
|
3970
|
+
t = A("div"), r = A("img"), s = R(), o = A("div"), a = A("p"), u = $(l), h = R(), c = A("p"), g = $(f), d = R(), v = $(m), me(r.src, n = /*provider*/
|
|
3947
3971
|
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
3948
3972
|
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
3949
3973
|
},
|
|
3950
3974
|
m(O, T) {
|
|
3951
|
-
C(O, t, T),
|
|
3975
|
+
C(O, t, T), y(t, r), y(t, s), y(t, o), y(o, a), y(a, u), y(o, h), y(o, c), y(c, g), y(c, d), y(c, v), p || (H = bt(t, "click", B), p = !0);
|
|
3952
3976
|
},
|
|
3953
3977
|
p(O, T) {
|
|
3954
3978
|
e = O, T & /*topProviders*/
|
|
3955
|
-
2 && !
|
|
3979
|
+
2 && !me(r.src, n = /*provider*/
|
|
3956
3980
|
e[21].logo) && S(r, "src", n), T & /*topProviders*/
|
|
3957
3981
|
2 && i !== (i = /*provider*/
|
|
3958
3982
|
e[21].name) && S(r, "alt", i), T & /*topProviders*/
|
|
@@ -3960,25 +3984,25 @@ function lt(e) {
|
|
|
3960
3984
|
e[21].name + "") && D(u, l), T & /*topProviders*/
|
|
3961
3985
|
2 && f !== (f = /*provider*/
|
|
3962
3986
|
e[21].games.count + "") && D(g, f), T & /*$_*/
|
|
3963
|
-
16 &&
|
|
3964
|
-
e[4]("games") + "") && D(v,
|
|
3987
|
+
16 && m !== (m = /*$_*/
|
|
3988
|
+
e[4]("games") + "") && D(v, m);
|
|
3965
3989
|
},
|
|
3966
3990
|
d(O) {
|
|
3967
|
-
O && I(t),
|
|
3991
|
+
O && I(t), p = !1, H();
|
|
3968
3992
|
}
|
|
3969
3993
|
};
|
|
3970
3994
|
}
|
|
3971
|
-
function
|
|
3995
|
+
function mt(e) {
|
|
3972
3996
|
let t, r, n, i, s, o, a, l = (
|
|
3973
3997
|
/*provider*/
|
|
3974
3998
|
e[21].name + ""
|
|
3975
3999
|
), u, h, c, f = (
|
|
3976
4000
|
/*provider*/
|
|
3977
4001
|
e[21].games.count + ""
|
|
3978
|
-
), g, d,
|
|
4002
|
+
), g, d, m = (
|
|
3979
4003
|
/*$_*/
|
|
3980
4004
|
e[4]("games") + ""
|
|
3981
|
-
), v,
|
|
4005
|
+
), v, p, H, B;
|
|
3982
4006
|
function O() {
|
|
3983
4007
|
return (
|
|
3984
4008
|
/*click_handler_1*/
|
|
@@ -3990,16 +4014,16 @@ function ft(e) {
|
|
|
3990
4014
|
}
|
|
3991
4015
|
return {
|
|
3992
4016
|
c() {
|
|
3993
|
-
t = A("div"), r = A("img"), s = R(), o = A("div"), a = A("p"), u = $(l), h = R(), c = A("p"), g = $(f), d = R(), v = $(
|
|
4017
|
+
t = A("div"), r = A("img"), s = R(), o = A("div"), a = A("p"), u = $(l), h = R(), c = A("p"), g = $(f), d = R(), v = $(m), p = R(), me(r.src, n = /*provider*/
|
|
3994
4018
|
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
3995
4019
|
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
3996
4020
|
},
|
|
3997
4021
|
m(T, N) {
|
|
3998
|
-
C(T, t, N),
|
|
4022
|
+
C(T, t, N), y(t, r), y(t, s), y(t, o), y(o, a), y(a, u), y(o, h), y(o, c), y(c, g), y(c, d), y(c, v), y(t, p), H || (B = bt(t, "click", O), H = !0);
|
|
3999
4023
|
},
|
|
4000
4024
|
p(T, N) {
|
|
4001
4025
|
e = T, N & /*otherProviders*/
|
|
4002
|
-
4 && !
|
|
4026
|
+
4 && !me(r.src, n = /*provider*/
|
|
4003
4027
|
e[21].logo) && S(r, "src", n), N & /*otherProviders*/
|
|
4004
4028
|
4 && i !== (i = /*provider*/
|
|
4005
4029
|
e[21].name) && S(r, "alt", i), N & /*otherProviders*/
|
|
@@ -4007,20 +4031,20 @@ function ft(e) {
|
|
|
4007
4031
|
e[21].name + "") && D(u, l), N & /*otherProviders*/
|
|
4008
4032
|
4 && f !== (f = /*provider*/
|
|
4009
4033
|
e[21].games.count + "") && D(g, f), N & /*$_*/
|
|
4010
|
-
16 &&
|
|
4011
|
-
e[4]("games") + "") && D(v,
|
|
4034
|
+
16 && m !== (m = /*$_*/
|
|
4035
|
+
e[4]("games") + "") && D(v, m);
|
|
4012
4036
|
},
|
|
4013
4037
|
d(T) {
|
|
4014
4038
|
T && I(t), H = !1, B();
|
|
4015
4039
|
}
|
|
4016
4040
|
};
|
|
4017
4041
|
}
|
|
4018
|
-
function
|
|
4042
|
+
function si(e) {
|
|
4019
4043
|
let t;
|
|
4020
4044
|
function r(s, o) {
|
|
4021
4045
|
return (
|
|
4022
4046
|
/*isLoading*/
|
|
4023
|
-
s[3] === !0 ?
|
|
4047
|
+
s[3] === !0 ? ii : ni
|
|
4024
4048
|
);
|
|
4025
4049
|
}
|
|
4026
4050
|
let n = r(e), i = n(e);
|
|
@@ -4041,23 +4065,23 @@ function ii(e) {
|
|
|
4041
4065
|
}
|
|
4042
4066
|
};
|
|
4043
4067
|
}
|
|
4044
|
-
function
|
|
4068
|
+
function oi(e, t, r) {
|
|
4045
4069
|
let n;
|
|
4046
|
-
|
|
4047
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, c = [], f = [], g = [], d = !1,
|
|
4070
|
+
Vt(e, Jn, (b) => r(4, n = b));
|
|
4071
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, c = [], f = [], g = [], d = !1, m;
|
|
4048
4072
|
const v = () => {
|
|
4049
4073
|
fetch(u).then((L) => L.json()).then((L) => {
|
|
4050
4074
|
Object.keys(L).forEach((j) => {
|
|
4051
|
-
|
|
4075
|
+
ht(j, L[j]);
|
|
4052
4076
|
});
|
|
4053
4077
|
}).catch((L) => {
|
|
4054
4078
|
console.log(L);
|
|
4055
4079
|
});
|
|
4056
4080
|
};
|
|
4057
|
-
Object.keys(
|
|
4058
|
-
|
|
4081
|
+
Object.keys(Qe).forEach((b) => {
|
|
4082
|
+
ht(b, Qe[b]);
|
|
4059
4083
|
});
|
|
4060
|
-
const
|
|
4084
|
+
const p = () => {
|
|
4061
4085
|
r(3, d = !0);
|
|
4062
4086
|
const b = new URL(`${i}/v1/casino/vendors`);
|
|
4063
4087
|
b.searchParams.append("datasource", s), b.searchParams.append("language", o), b.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(b).then((L) => L.json()).then((L) => {
|
|
@@ -4076,25 +4100,25 @@ function si(e, t, r) {
|
|
|
4076
4100
|
window.location.href
|
|
4077
4101
|
);
|
|
4078
4102
|
}, B = () => {
|
|
4079
|
-
|
|
4103
|
+
Yn(o);
|
|
4080
4104
|
}, O = (b) => H(b.id, b.name, b.logo), T = (b) => H(b.id, b.name, b.logo);
|
|
4081
4105
|
function N(b) {
|
|
4082
4106
|
Ae[b ? "unshift" : "push"](() => {
|
|
4083
|
-
|
|
4107
|
+
m = b, r(0, m);
|
|
4084
4108
|
});
|
|
4085
4109
|
}
|
|
4086
4110
|
return e.$$set = (b) => {
|
|
4087
4111
|
"endpoint" in b && r(6, i = b.endpoint), "datasource" in b && r(7, s = b.datasource), "lang" in b && r(8, o = b.lang), "clientstyling" in b && r(9, a = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "translationurl" in b && r(11, u = b.translationurl), "mbsource" in b && r(12, h = b.mbsource);
|
|
4088
4112
|
}, e.$$.update = () => {
|
|
4089
4113
|
e.$$.dirty & /*endpoint, lang, datasource*/
|
|
4090
|
-
448 && i && o && s &&
|
|
4114
|
+
448 && i && o && s && p(), e.$$.dirty & /*lang*/
|
|
4091
4115
|
256 && o && B(), e.$$.dirty & /*translationurl*/
|
|
4092
4116
|
2048 && u && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4093
|
-
513 && a &&
|
|
4094
|
-
1025 && l &&
|
|
4095
|
-
4097 && h &&
|
|
4117
|
+
513 && a && m && Kn(m, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4118
|
+
1025 && l && m && ei(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4119
|
+
4097 && h && m && ti(m, `${h}.Style`);
|
|
4096
4120
|
}, [
|
|
4097
|
-
|
|
4121
|
+
m,
|
|
4098
4122
|
f,
|
|
4099
4123
|
g,
|
|
4100
4124
|
d,
|
|
@@ -4112,14 +4136,14 @@ function si(e, t, r) {
|
|
|
4112
4136
|
N
|
|
4113
4137
|
];
|
|
4114
4138
|
}
|
|
4115
|
-
class
|
|
4139
|
+
class ai extends ur {
|
|
4116
4140
|
constructor(t) {
|
|
4117
|
-
super(),
|
|
4141
|
+
super(), or(
|
|
4118
4142
|
this,
|
|
4119
4143
|
t,
|
|
4144
|
+
oi,
|
|
4120
4145
|
si,
|
|
4121
|
-
|
|
4122
|
-
pt,
|
|
4146
|
+
dt,
|
|
4123
4147
|
{
|
|
4124
4148
|
endpoint: 6,
|
|
4125
4149
|
datasource: 7,
|
|
@@ -4129,7 +4153,7 @@ class oi extends or {
|
|
|
4129
4153
|
translationurl: 11,
|
|
4130
4154
|
mbsource: 12
|
|
4131
4155
|
},
|
|
4132
|
-
|
|
4156
|
+
ri
|
|
4133
4157
|
);
|
|
4134
4158
|
}
|
|
4135
4159
|
get endpoint() {
|
|
@@ -4175,7 +4199,7 @@ class oi extends or {
|
|
|
4175
4199
|
this.$$set({ mbsource: t }), G();
|
|
4176
4200
|
}
|
|
4177
4201
|
}
|
|
4178
|
-
|
|
4202
|
+
ar(ai, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4179
4203
|
export {
|
|
4180
|
-
|
|
4204
|
+
ai as C
|
|
4181
4205
|
};
|