@everymatrix/casino-providers 1.55.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-DiseHhFs.js → CasinoProviders-5KgLupng.js} +644 -603
- package/components/{CasinoProviders-C_q3HyPN.js → CasinoProviders-CwSc0dPe.js} +672 -631
- 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-CAK_2bCj.cjs +0 -3
|
@@ -1,51 +1,52 @@
|
|
|
1
|
-
function
|
|
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
|
-
function
|
|
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
|
-
let
|
|
18
|
+
let ae;
|
|
19
19
|
function me(e, t) {
|
|
20
|
-
return e === t ? !0 : (
|
|
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);
|
|
29
|
-
return
|
|
29
|
+
return M;
|
|
30
30
|
}
|
|
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
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
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = A("style");
|
|
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,42 +54,42 @@ function Wt(e) {
|
|
|
53
54
|
t
|
|
54
55
|
) : e.ownerDocument;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
+
function Wt(e, t) {
|
|
57
58
|
return y(
|
|
58
59
|
/** @type {Document} */
|
|
59
60
|
e.head || e,
|
|
60
61
|
t
|
|
61
62
|
), t.sheet;
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
+
function C(e, t, r) {
|
|
64
65
|
e.insertBefore(t, r || null);
|
|
65
66
|
}
|
|
66
|
-
function
|
|
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
|
}
|
|
73
|
-
function
|
|
74
|
+
function A(e) {
|
|
74
75
|
return document.createElement(e);
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function $(e) {
|
|
77
78
|
return document.createTextNode(e);
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
-
return
|
|
80
|
+
function R() {
|
|
81
|
+
return $(" ");
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
83
|
+
function Zt() {
|
|
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) {
|
|
@@ -104,89 +105,90 @@ function qt(e) {
|
|
|
104
105
|
}
|
|
105
106
|
), t;
|
|
106
107
|
}
|
|
107
|
-
let
|
|
108
|
+
let Fe;
|
|
108
109
|
function re(e) {
|
|
109
|
-
|
|
110
|
+
Fe = e;
|
|
110
111
|
}
|
|
111
|
-
const z = [],
|
|
112
|
+
const z = [], Ae = [];
|
|
112
113
|
let W = [];
|
|
113
|
-
const
|
|
114
|
-
let
|
|
115
|
-
function
|
|
116
|
-
|
|
114
|
+
const Ze = [], Jt = /* @__PURE__ */ Promise.resolve();
|
|
115
|
+
let Oe = !1;
|
|
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
|
-
function
|
|
124
|
+
function G() {
|
|
124
125
|
if (V !== 0)
|
|
125
126
|
return;
|
|
126
|
-
const e =
|
|
127
|
+
const e = Fe;
|
|
127
128
|
do {
|
|
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;
|
|
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
|
-
|
|
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
|
-
function
|
|
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
|
|
180
|
-
const l =
|
|
181
|
+
function or(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
182
|
+
const l = Fe;
|
|
181
183
|
re(e);
|
|
182
184
|
const u = e.$$ = {
|
|
183
185
|
fragment: null,
|
|
184
186
|
ctx: [],
|
|
185
187
|
// state
|
|
186
188
|
props: s,
|
|
187
|
-
update:
|
|
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 ar(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 ar(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 =
|
|
211
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
212
|
+
const c = Qt(t.target);
|
|
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 */
|
|
@@ -258,17 +260,17 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
|
|
|
258
260
|
let s;
|
|
259
261
|
return {
|
|
260
262
|
c: function() {
|
|
261
|
-
s =
|
|
263
|
+
s = A("slot"), i !== "default" && S(s, "name", i);
|
|
262
264
|
},
|
|
263
265
|
/**
|
|
264
266
|
* @param {HTMLElement} target
|
|
265
267
|
* @param {HTMLElement} [anchor]
|
|
266
268
|
*/
|
|
267
269
|
m: function(l, u) {
|
|
268
|
-
|
|
270
|
+
C(l, s, u);
|
|
269
271
|
},
|
|
270
272
|
d: function(l) {
|
|
271
|
-
l &&
|
|
273
|
+
l && I(s);
|
|
272
274
|
}
|
|
273
275
|
};
|
|
274
276
|
};
|
|
@@ -280,7 +282,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
|
|
|
280
282
|
i in r && (t[i] = [e(i)]);
|
|
281
283
|
for (const i of this.attributes) {
|
|
282
284
|
const s = this.$$g_p(i.name);
|
|
283
|
-
s in this.$$d || (this.$$d[s] =
|
|
285
|
+
s in this.$$d || (this.$$d[s] = le(s, i.value, this.$$p_d, "toProp"));
|
|
284
286
|
}
|
|
285
287
|
for (const i in this.$$p_d)
|
|
286
288
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -298,7 +300,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
|
|
|
298
300
|
this.$$r = !0;
|
|
299
301
|
for (const i in this.$$p_d)
|
|
300
302
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
301
|
-
const s =
|
|
303
|
+
const s = le(
|
|
302
304
|
i,
|
|
303
305
|
this.$$d[i],
|
|
304
306
|
this.$$p_d,
|
|
@@ -320,7 +322,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
|
|
|
320
322
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
321
323
|
// and setting attributes through setAttribute etc, this is helpful
|
|
322
324
|
attributeChangedCallback(e, t, r) {
|
|
323
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
325
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
324
326
|
}
|
|
325
327
|
disconnectedCallback() {
|
|
326
328
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -333,7 +335,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
|
|
|
333
335
|
) || e;
|
|
334
336
|
}
|
|
335
337
|
});
|
|
336
|
-
function
|
|
338
|
+
function le(e, t, r, n) {
|
|
337
339
|
const i = r[e]?.type;
|
|
338
340
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
339
341
|
return t;
|
|
@@ -362,8 +364,8 @@ function fe(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
|
}
|
|
@@ -379,7 +381,7 @@ function ur(e, t, r, n, i, s) {
|
|
|
379
381
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
380
382
|
},
|
|
381
383
|
set(l) {
|
|
382
|
-
l =
|
|
384
|
+
l = le(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
383
385
|
}
|
|
384
386
|
});
|
|
385
387
|
}), n.forEach((a) => {
|
|
@@ -391,7 +393,7 @@ function ur(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 hr {
|
|
|
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
|
|
@@ -419,8 +421,8 @@ class hr {
|
|
|
419
421
|
* @returns {() => void}
|
|
420
422
|
*/
|
|
421
423
|
$on(t, r) {
|
|
422
|
-
if (!
|
|
423
|
-
return
|
|
424
|
+
if (!De(r))
|
|
425
|
+
return M;
|
|
424
426
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
425
427
|
return n.push(r), () => {
|
|
426
428
|
const i = n.indexOf(r);
|
|
@@ -432,12 +434,12 @@ class hr {
|
|
|
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,16 +549,16 @@ const Je = {
|
|
|
547
549
|
games: "games"
|
|
548
550
|
}
|
|
549
551
|
}, X = [];
|
|
550
|
-
function
|
|
552
|
+
function lr(e, t) {
|
|
551
553
|
return {
|
|
552
|
-
subscribe:
|
|
554
|
+
subscribe: ge(e, t).subscribe
|
|
553
555
|
};
|
|
554
556
|
}
|
|
555
|
-
function
|
|
557
|
+
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);
|
|
@@ -570,9 +572,9 @@ function be(e, t = $) {
|
|
|
570
572
|
function s(a) {
|
|
571
573
|
i(a(e));
|
|
572
574
|
}
|
|
573
|
-
function o(a, l =
|
|
575
|
+
function o(a, l = M) {
|
|
574
576
|
const u = [a, l];
|
|
575
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
577
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || M), a(e), () => {
|
|
576
578
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
577
579
|
};
|
|
578
580
|
}
|
|
@@ -583,24 +585,24 @@ 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
|
-
let h = 0, c =
|
|
591
|
+
let h = 0, c = M;
|
|
590
592
|
const f = () => {
|
|
591
593
|
if (h)
|
|
592
594
|
return;
|
|
593
595
|
c();
|
|
594
596
|
const d = t(n ? u[0] : u, o, a);
|
|
595
|
-
s ? o(d) : c =
|
|
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 mr(t) && !
|
|
617
|
+
var cr = function(t) {
|
|
618
|
+
return mr(t) && !pr(t);
|
|
617
619
|
};
|
|
618
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
653
|
function qe(e) {
|
|
652
|
-
return Object.keys(e).concat(
|
|
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
668
|
return r.isMergeableObject(e) && qe(e).forEach(function(i) {
|
|
667
669
|
n[i] = ne(e[i], r);
|
|
668
670
|
}), qe(t).forEach(function(i) {
|
|
669
|
-
|
|
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,19 +683,34 @@ Z.all = function(t, r) {
|
|
|
681
683
|
return Z(n, i, r);
|
|
682
684
|
}, {});
|
|
683
685
|
};
|
|
684
|
-
var
|
|
685
|
-
const
|
|
686
|
-
|
|
687
|
-
|
|
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
|
+
***************************************************************************** */
|
|
702
|
+
var Ne = function(e, t) {
|
|
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)
|
|
691
|
-
|
|
706
|
+
for (var i in n)
|
|
707
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
708
|
+
}, Ne(e, t);
|
|
692
709
|
};
|
|
693
|
-
function
|
|
710
|
+
function be(e, t) {
|
|
694
711
|
if (typeof t != "function" && t !== null)
|
|
695
712
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
696
|
-
|
|
713
|
+
Ne(e, t);
|
|
697
714
|
function r() {
|
|
698
715
|
this.constructor = e;
|
|
699
716
|
}
|
|
@@ -703,74 +720,77 @@ var x = function() {
|
|
|
703
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
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
|
-
function
|
|
725
|
-
var r = t && t.cache ? t.cache :
|
|
744
|
+
function Pe(e, t) {
|
|
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
|
|
746
|
-
var r = e.length === 1 ?
|
|
747
|
-
return
|
|
765
|
+
function Or(e, t) {
|
|
766
|
+
var r = e.length === 1 ? Et : xt;
|
|
767
|
+
return je(e, this, r, t.cache.create(), t.serializer);
|
|
748
768
|
}
|
|
749
769
|
function wr(e, t) {
|
|
750
|
-
return
|
|
770
|
+
return je(e, this, xt, t.cache.create(), t.serializer);
|
|
751
771
|
}
|
|
752
|
-
function
|
|
753
|
-
return
|
|
772
|
+
function Nr(e, t) {
|
|
773
|
+
return je(e, this, Et, t.cache.create(), t.serializer);
|
|
754
774
|
}
|
|
755
775
|
var Lr = function() {
|
|
756
776
|
return JSON.stringify(arguments);
|
|
757
777
|
};
|
|
758
|
-
function
|
|
778
|
+
function ke() {
|
|
759
779
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
760
780
|
}
|
|
761
|
-
|
|
781
|
+
ke.prototype.get = function(e) {
|
|
762
782
|
return this.cache[e];
|
|
763
783
|
};
|
|
764
|
-
|
|
784
|
+
ke.prototype.set = function(e, t) {
|
|
765
785
|
this.cache[e] = t;
|
|
766
786
|
};
|
|
767
|
-
var
|
|
787
|
+
var Ir = {
|
|
768
788
|
create: function() {
|
|
769
|
-
return new
|
|
789
|
+
return new ke();
|
|
770
790
|
}
|
|
771
|
-
},
|
|
791
|
+
}, He = {
|
|
772
792
|
variadic: wr,
|
|
773
|
-
monadic:
|
|
793
|
+
monadic: Nr
|
|
774
794
|
}, _;
|
|
775
795
|
(function(e) {
|
|
776
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";
|
|
@@ -783,43 +803,43 @@ var Q;
|
|
|
783
803
|
(function(e) {
|
|
784
804
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
785
805
|
})(Q || (Q = {}));
|
|
786
|
-
function
|
|
806
|
+
function Je(e) {
|
|
787
807
|
return e.type === P.literal;
|
|
788
808
|
}
|
|
789
|
-
function
|
|
809
|
+
function Cr(e) {
|
|
790
810
|
return e.type === P.argument;
|
|
791
811
|
}
|
|
792
|
-
function
|
|
812
|
+
function yt(e) {
|
|
793
813
|
return e.type === P.number;
|
|
794
814
|
}
|
|
795
|
-
function
|
|
815
|
+
function Pt(e) {
|
|
796
816
|
return e.type === P.date;
|
|
797
817
|
}
|
|
798
|
-
function
|
|
818
|
+
function Ht(e) {
|
|
799
819
|
return e.type === P.time;
|
|
800
820
|
}
|
|
801
|
-
function
|
|
821
|
+
function Tt(e) {
|
|
802
822
|
return e.type === P.select;
|
|
803
823
|
}
|
|
804
|
-
function
|
|
824
|
+
function St(e) {
|
|
805
825
|
return e.type === P.plural;
|
|
806
826
|
}
|
|
807
|
-
function
|
|
827
|
+
function Mr(e) {
|
|
808
828
|
return e.type === P.pound;
|
|
809
829
|
}
|
|
810
830
|
function Bt(e) {
|
|
811
831
|
return e.type === P.tag;
|
|
812
832
|
}
|
|
813
|
-
function
|
|
833
|
+
function At(e) {
|
|
814
834
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
815
835
|
}
|
|
816
836
|
function Le(e) {
|
|
817
837
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
818
838
|
}
|
|
819
|
-
var
|
|
820
|
-
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) {
|
|
821
841
|
var t = {};
|
|
822
|
-
return e.replace(
|
|
842
|
+
return e.replace($r, function(r) {
|
|
823
843
|
var n = r.length;
|
|
824
844
|
switch (r[0]) {
|
|
825
845
|
case "G":
|
|
@@ -908,11 +928,11 @@ function Ur(e) {
|
|
|
908
928
|
return "";
|
|
909
929
|
}), t;
|
|
910
930
|
}
|
|
911
|
-
var
|
|
912
|
-
function
|
|
931
|
+
var Ur = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
932
|
+
function Gr(e) {
|
|
913
933
|
if (e.length === 0)
|
|
914
934
|
throw new Error("Number skeleton cannot be empty");
|
|
915
|
-
for (var t = e.split(
|
|
935
|
+
for (var t = e.split(Ur).filter(function(f) {
|
|
916
936
|
return f.length > 0;
|
|
917
937
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
918
938
|
var s = i[n], o = s.split("/");
|
|
@@ -927,11 +947,11 @@ function Dr(e) {
|
|
|
927
947
|
}
|
|
928
948
|
return r;
|
|
929
949
|
}
|
|
930
|
-
function
|
|
950
|
+
function Dr(e) {
|
|
931
951
|
return e.replace(/^(.*?)-/, "");
|
|
932
952
|
}
|
|
933
|
-
var
|
|
934
|
-
function
|
|
953
|
+
var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, Fr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
|
|
954
|
+
function Ke(e) {
|
|
935
955
|
var t = {};
|
|
936
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) {
|
|
937
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)), "";
|
|
@@ -977,7 +997,7 @@ function Lt(e) {
|
|
|
977
997
|
};
|
|
978
998
|
}
|
|
979
999
|
}
|
|
980
|
-
function
|
|
1000
|
+
function jr(e) {
|
|
981
1001
|
var t;
|
|
982
1002
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
983
1003
|
notation: "engineering"
|
|
@@ -985,17 +1005,17 @@ function kr(e) {
|
|
|
985
1005
|
notation: "scientific"
|
|
986
1006
|
}, e = e.slice(1)), t) {
|
|
987
1007
|
var r = e.slice(0, 2);
|
|
988
|
-
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))
|
|
989
1009
|
throw new Error("Malformed concise eng/scientific notation");
|
|
990
1010
|
t.minimumIntegerDigits = e.length;
|
|
991
1011
|
}
|
|
992
1012
|
return t;
|
|
993
1013
|
}
|
|
994
|
-
function
|
|
1014
|
+
function et(e) {
|
|
995
1015
|
var t = {}, r = Lt(e);
|
|
996
1016
|
return r || t;
|
|
997
1017
|
}
|
|
998
|
-
function
|
|
1018
|
+
function kr(e) {
|
|
999
1019
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1000
1020
|
var i = n[r];
|
|
1001
1021
|
switch (i.stem) {
|
|
@@ -1019,7 +1039,7 @@ function Vr(e) {
|
|
|
1019
1039
|
continue;
|
|
1020
1040
|
case "measure-unit":
|
|
1021
1041
|
case "unit":
|
|
1022
|
-
t.style = "unit", t.unit =
|
|
1042
|
+
t.style = "unit", t.unit = Dr(i.options[0]);
|
|
1023
1043
|
continue;
|
|
1024
1044
|
case "compact-short":
|
|
1025
1045
|
case "K":
|
|
@@ -1031,12 +1051,12 @@ function Vr(e) {
|
|
|
1031
1051
|
continue;
|
|
1032
1052
|
case "scientific":
|
|
1033
1053
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1034
|
-
return x(x({}, l),
|
|
1054
|
+
return x(x({}, l), et(u));
|
|
1035
1055
|
}, {}));
|
|
1036
1056
|
continue;
|
|
1037
1057
|
case "engineering":
|
|
1038
1058
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1039
|
-
return x(x({}, l),
|
|
1059
|
+
return x(x({}, l), et(u));
|
|
1040
1060
|
}, {}));
|
|
1041
1061
|
continue;
|
|
1042
1062
|
case "notation-simple":
|
|
@@ -1081,7 +1101,7 @@ function Vr(e) {
|
|
|
1081
1101
|
case "integer-width":
|
|
1082
1102
|
if (i.options.length > 1)
|
|
1083
1103
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1084
|
-
i.options[0].replace(
|
|
1104
|
+
i.options[0].replace(Fr, function(l, u, h, c, f, g) {
|
|
1085
1105
|
if (u)
|
|
1086
1106
|
t.minimumIntegerDigits = h.length;
|
|
1087
1107
|
else {
|
|
@@ -1094,32 +1114,32 @@ function Vr(e) {
|
|
|
1094
1114
|
});
|
|
1095
1115
|
continue;
|
|
1096
1116
|
}
|
|
1097
|
-
if (
|
|
1117
|
+
if (Nt.test(i.stem)) {
|
|
1098
1118
|
t.minimumIntegerDigits = i.stem.length;
|
|
1099
1119
|
continue;
|
|
1100
1120
|
}
|
|
1101
|
-
if (
|
|
1121
|
+
if (Ye.test(i.stem)) {
|
|
1102
1122
|
if (i.options.length > 1)
|
|
1103
1123
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1104
|
-
i.stem.replace(
|
|
1124
|
+
i.stem.replace(Ye, function(l, u, h, c, f, g) {
|
|
1105
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), "";
|
|
1106
1126
|
});
|
|
1107
1127
|
var s = i.options[0];
|
|
1108
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1128
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Ke(s)));
|
|
1109
1129
|
continue;
|
|
1110
1130
|
}
|
|
1111
1131
|
if (wt.test(i.stem)) {
|
|
1112
|
-
t = x(x({}, t),
|
|
1132
|
+
t = x(x({}, t), Ke(i.stem));
|
|
1113
1133
|
continue;
|
|
1114
1134
|
}
|
|
1115
1135
|
var o = Lt(i.stem);
|
|
1116
1136
|
o && (t = x(x({}, t), o));
|
|
1117
|
-
var a =
|
|
1137
|
+
var a = jr(i.stem);
|
|
1118
1138
|
a && (t = x(x({}, t), a));
|
|
1119
1139
|
}
|
|
1120
1140
|
return t;
|
|
1121
1141
|
}
|
|
1122
|
-
var
|
|
1142
|
+
var he = {
|
|
1123
1143
|
"001": [
|
|
1124
1144
|
"H",
|
|
1125
1145
|
"h"
|
|
@@ -2534,22 +2554,23 @@ var le = {
|
|
|
2534
2554
|
"h"
|
|
2535
2555
|
]
|
|
2536
2556
|
};
|
|
2537
|
-
function
|
|
2557
|
+
function Vr(e, t) {
|
|
2538
2558
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2539
2559
|
var i = e.charAt(n);
|
|
2540
2560
|
if (i === "j") {
|
|
2541
2561
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2542
2562
|
s++, n++;
|
|
2543
|
-
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);
|
|
2544
2564
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2545
2565
|
r += l;
|
|
2546
2566
|
for (; o-- > 0; )
|
|
2547
2567
|
r = u + r;
|
|
2548
|
-
} else
|
|
2568
|
+
} else
|
|
2569
|
+
i === "J" ? r += "H" : r += i;
|
|
2549
2570
|
}
|
|
2550
2571
|
return r;
|
|
2551
2572
|
}
|
|
2552
|
-
function
|
|
2573
|
+
function Xr(e) {
|
|
2553
2574
|
var t = e.hourCycle;
|
|
2554
2575
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2555
2576
|
e.hourCycles && // @ts-ignore
|
|
@@ -2568,23 +2589,23 @@ function zr(e) {
|
|
|
2568
2589
|
}
|
|
2569
2590
|
var r = e.language, n;
|
|
2570
2591
|
r !== "root" && (n = e.maximize().region);
|
|
2571
|
-
var i =
|
|
2592
|
+
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
2572
2593
|
return i[0];
|
|
2573
2594
|
}
|
|
2574
|
-
var
|
|
2595
|
+
var Te, zr = new RegExp("^".concat(Ot.source, "*")), Wr = new RegExp("".concat(Ot.source, "*$"));
|
|
2575
2596
|
function E(e, t) {
|
|
2576
2597
|
return { start: e, end: t };
|
|
2577
2598
|
}
|
|
2578
|
-
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) {
|
|
2579
2600
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2580
|
-
},
|
|
2601
|
+
}, Ie = !0;
|
|
2581
2602
|
try {
|
|
2582
|
-
var
|
|
2583
|
-
|
|
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";
|
|
2584
2605
|
} catch {
|
|
2585
|
-
|
|
2606
|
+
Ie = !1;
|
|
2586
2607
|
}
|
|
2587
|
-
var
|
|
2608
|
+
var tt = Zr ? (
|
|
2588
2609
|
// Native
|
|
2589
2610
|
function(t, r, n) {
|
|
2590
2611
|
return t.startsWith(r, n);
|
|
@@ -2594,7 +2615,7 @@ var rt = Qr ? (
|
|
|
2594
2615
|
function(t, r, n) {
|
|
2595
2616
|
return t.slice(n, n + r.length) === r;
|
|
2596
2617
|
}
|
|
2597
|
-
),
|
|
2618
|
+
), Ce = Qr ? String.fromCodePoint : (
|
|
2598
2619
|
// IE11
|
|
2599
2620
|
function() {
|
|
2600
2621
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2606,7 +2627,7 @@ var rt = Qr ? (
|
|
|
2606
2627
|
}
|
|
2607
2628
|
return n;
|
|
2608
2629
|
}
|
|
2609
|
-
),
|
|
2630
|
+
), rt = (
|
|
2610
2631
|
// native
|
|
2611
2632
|
qr ? Object.fromEntries : (
|
|
2612
2633
|
// Ponyfill
|
|
@@ -2618,7 +2639,7 @@ var rt = Qr ? (
|
|
|
2618
2639
|
return r;
|
|
2619
2640
|
}
|
|
2620
2641
|
)
|
|
2621
|
-
),
|
|
2642
|
+
), It = Jr ? (
|
|
2622
2643
|
// Native
|
|
2623
2644
|
function(t, r) {
|
|
2624
2645
|
return t.codePointAt(r);
|
|
@@ -2632,7 +2653,7 @@ var rt = Qr ? (
|
|
|
2632
2653
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2633
2654
|
}
|
|
2634
2655
|
}
|
|
2635
|
-
),
|
|
2656
|
+
), nn = Yr ? (
|
|
2636
2657
|
// Native
|
|
2637
2658
|
function(t) {
|
|
2638
2659
|
return t.trimStart();
|
|
@@ -2640,9 +2661,9 @@ var rt = Qr ? (
|
|
|
2640
2661
|
) : (
|
|
2641
2662
|
// Ponyfill
|
|
2642
2663
|
function(t) {
|
|
2643
|
-
return t.replace(
|
|
2664
|
+
return t.replace(zr, "");
|
|
2644
2665
|
}
|
|
2645
|
-
),
|
|
2666
|
+
), sn = Kr ? (
|
|
2646
2667
|
// Native
|
|
2647
2668
|
function(t) {
|
|
2648
2669
|
return t.trimEnd();
|
|
@@ -2650,32 +2671,32 @@ var rt = Qr ? (
|
|
|
2650
2671
|
) : (
|
|
2651
2672
|
// Ponyfill
|
|
2652
2673
|
function(t) {
|
|
2653
|
-
return t.replace(
|
|
2674
|
+
return t.replace(Wr, "");
|
|
2654
2675
|
}
|
|
2655
2676
|
);
|
|
2656
|
-
function
|
|
2677
|
+
function Ct(e, t) {
|
|
2657
2678
|
return new RegExp(e, t);
|
|
2658
2679
|
}
|
|
2659
|
-
var
|
|
2660
|
-
if (
|
|
2661
|
-
var
|
|
2662
|
-
|
|
2680
|
+
var Me;
|
|
2681
|
+
if (Ie) {
|
|
2682
|
+
var nt = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2683
|
+
Me = function(t, r) {
|
|
2663
2684
|
var n;
|
|
2664
|
-
|
|
2665
|
-
var i =
|
|
2685
|
+
nt.lastIndex = r;
|
|
2686
|
+
var i = nt.exec(t);
|
|
2666
2687
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2667
2688
|
};
|
|
2668
2689
|
} else
|
|
2669
|
-
|
|
2690
|
+
Me = function(t, r) {
|
|
2670
2691
|
for (var n = []; ; ) {
|
|
2671
|
-
var i =
|
|
2672
|
-
if (i === void 0 ||
|
|
2692
|
+
var i = It(t, r);
|
|
2693
|
+
if (i === void 0 || Mt(i) || hn(i))
|
|
2673
2694
|
break;
|
|
2674
2695
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2675
2696
|
}
|
|
2676
|
-
return
|
|
2697
|
+
return Ce.apply(void 0, n);
|
|
2677
2698
|
};
|
|
2678
|
-
var
|
|
2699
|
+
var on = (
|
|
2679
2700
|
/** @class */
|
|
2680
2701
|
function() {
|
|
2681
2702
|
function e(t, r) {
|
|
@@ -2706,7 +2727,7 @@ var an = (
|
|
|
2706
2727
|
if (n)
|
|
2707
2728
|
break;
|
|
2708
2729
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
2709
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2730
|
+
} else if (s === 60 && !this.ignoreTag && $e(this.peek() || 0)) {
|
|
2710
2731
|
var o = this.parseTag(t, r);
|
|
2711
2732
|
if (o.err)
|
|
2712
2733
|
return o;
|
|
@@ -2739,7 +2760,7 @@ var an = (
|
|
|
2739
2760
|
return s;
|
|
2740
2761
|
var o = s.val, a = this.clonePosition();
|
|
2741
2762
|
if (this.bumpIf("</")) {
|
|
2742
|
-
if (this.isEOF() ||
|
|
2763
|
+
if (this.isEOF() || !$e(this.char()))
|
|
2743
2764
|
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
2744
2765
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2745
2766
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2757,7 +2778,7 @@ var an = (
|
|
|
2757
2778
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
2758
2779
|
}, e.prototype.parseTagName = function() {
|
|
2759
2780
|
var t = this.offset();
|
|
2760
|
-
for (this.bump(); !this.isEOF() &&
|
|
2781
|
+
for (this.bump(); !this.isEOF() && un(this.char()); )
|
|
2761
2782
|
this.bump();
|
|
2762
2783
|
return this.message.slice(t, this.offset());
|
|
2763
2784
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2786,7 +2807,7 @@ var an = (
|
|
|
2786
2807
|
};
|
|
2787
2808
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2788
2809
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2789
|
-
!
|
|
2810
|
+
!an(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2790
2811
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2791
2812
|
if (this.isEOF() || this.char() !== 39)
|
|
2792
2813
|
return null;
|
|
@@ -2820,12 +2841,12 @@ var an = (
|
|
|
2820
2841
|
r.push(n);
|
|
2821
2842
|
this.bump();
|
|
2822
2843
|
}
|
|
2823
|
-
return
|
|
2844
|
+
return Ce.apply(void 0, r);
|
|
2824
2845
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2825
2846
|
if (this.isEOF())
|
|
2826
2847
|
return null;
|
|
2827
2848
|
var n = this.char();
|
|
2828
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2849
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ce(n));
|
|
2829
2850
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2830
2851
|
var n = this.clonePosition();
|
|
2831
2852
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2854,7 +2875,7 @@ var an = (
|
|
|
2854
2875
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
2855
2876
|
}
|
|
2856
2877
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2857
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2878
|
+
var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
|
|
2858
2879
|
this.bumpTo(i);
|
|
2859
2880
|
var s = this.clonePosition(), o = E(t, s);
|
|
2860
2881
|
return { value: n, location: o };
|
|
@@ -2873,7 +2894,7 @@ var an = (
|
|
|
2873
2894
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2874
2895
|
if (c.err)
|
|
2875
2896
|
return c;
|
|
2876
|
-
var f =
|
|
2897
|
+
var f = sn(c.val);
|
|
2877
2898
|
if (f.length === 0)
|
|
2878
2899
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
2879
2900
|
var g = E(h, this.clonePosition());
|
|
@@ -2882,28 +2903,28 @@ var an = (
|
|
|
2882
2903
|
var d = this.tryParseArgumentClose(i);
|
|
2883
2904
|
if (d.err)
|
|
2884
2905
|
return d;
|
|
2885
|
-
var
|
|
2886
|
-
if (u &&
|
|
2887
|
-
var v =
|
|
2906
|
+
var m = E(i, this.clonePosition());
|
|
2907
|
+
if (u && tt(u?.style, "::", 0)) {
|
|
2908
|
+
var v = nn(u.style.slice(2));
|
|
2888
2909
|
if (a === "number") {
|
|
2889
2910
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2890
2911
|
return c.err ? c : {
|
|
2891
|
-
val: { type: P.number, value: n, location:
|
|
2912
|
+
val: { type: P.number, value: n, location: m, style: c.val },
|
|
2892
2913
|
err: null
|
|
2893
2914
|
};
|
|
2894
2915
|
} else {
|
|
2895
2916
|
if (v.length === 0)
|
|
2896
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
2897
|
-
var
|
|
2898
|
-
this.locale && (
|
|
2917
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, m);
|
|
2918
|
+
var p = v;
|
|
2919
|
+
this.locale && (p = Vr(v, this.locale));
|
|
2899
2920
|
var f = {
|
|
2900
2921
|
type: Q.dateTime,
|
|
2901
|
-
pattern:
|
|
2922
|
+
pattern: p,
|
|
2902
2923
|
location: u.styleLocation,
|
|
2903
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2904
|
-
},
|
|
2924
|
+
parsedOptions: this.shouldParseSkeletons ? Rr(p) : {}
|
|
2925
|
+
}, H = a === "date" ? P.date : P.time;
|
|
2905
2926
|
return {
|
|
2906
|
-
val: { type:
|
|
2927
|
+
val: { type: H, value: n, location: m, style: f },
|
|
2907
2928
|
err: null
|
|
2908
2929
|
};
|
|
2909
2930
|
}
|
|
@@ -2912,7 +2933,7 @@ var an = (
|
|
|
2912
2933
|
val: {
|
|
2913
2934
|
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
2914
2935
|
value: n,
|
|
2915
|
-
location:
|
|
2936
|
+
location: m,
|
|
2916
2937
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2917
2938
|
},
|
|
2918
2939
|
err: null
|
|
@@ -2921,11 +2942,11 @@ var an = (
|
|
|
2921
2942
|
case "plural":
|
|
2922
2943
|
case "selectordinal":
|
|
2923
2944
|
case "select": {
|
|
2924
|
-
var
|
|
2945
|
+
var B = this.clonePosition();
|
|
2925
2946
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2926
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(
|
|
2947
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(B, x({}, B)));
|
|
2927
2948
|
this.bumpSpace();
|
|
2928
|
-
var O = this.parseIdentifierIfPossible(),
|
|
2949
|
+
var O = this.parseIdentifierIfPossible(), T = 0;
|
|
2929
2950
|
if (a !== "select" && O.value === "offset") {
|
|
2930
2951
|
if (!this.bumpIf(":"))
|
|
2931
2952
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
@@ -2933,31 +2954,31 @@ var an = (
|
|
|
2933
2954
|
var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2934
2955
|
if (c.err)
|
|
2935
2956
|
return c;
|
|
2936
|
-
this.bumpSpace(), O = this.parseIdentifierIfPossible(),
|
|
2957
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), T = c.val;
|
|
2937
2958
|
}
|
|
2938
|
-
var
|
|
2939
|
-
if (
|
|
2940
|
-
return
|
|
2959
|
+
var N = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
2960
|
+
if (N.err)
|
|
2961
|
+
return N;
|
|
2941
2962
|
var d = this.tryParseArgumentClose(i);
|
|
2942
2963
|
if (d.err)
|
|
2943
2964
|
return d;
|
|
2944
|
-
var
|
|
2965
|
+
var b = E(i, this.clonePosition());
|
|
2945
2966
|
return a === "select" ? {
|
|
2946
2967
|
val: {
|
|
2947
2968
|
type: P.select,
|
|
2948
2969
|
value: n,
|
|
2949
|
-
options:
|
|
2950
|
-
location:
|
|
2970
|
+
options: rt(N.val),
|
|
2971
|
+
location: b
|
|
2951
2972
|
},
|
|
2952
2973
|
err: null
|
|
2953
2974
|
} : {
|
|
2954
2975
|
val: {
|
|
2955
2976
|
type: P.plural,
|
|
2956
2977
|
value: n,
|
|
2957
|
-
options:
|
|
2958
|
-
offset:
|
|
2978
|
+
options: rt(N.val),
|
|
2979
|
+
offset: T,
|
|
2959
2980
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2960
|
-
location:
|
|
2981
|
+
location: b
|
|
2961
2982
|
},
|
|
2962
2983
|
err: null
|
|
2963
2984
|
};
|
|
@@ -3005,7 +3026,7 @@ var an = (
|
|
|
3005
3026
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3006
3027
|
var n = [];
|
|
3007
3028
|
try {
|
|
3008
|
-
n =
|
|
3029
|
+
n = Gr(t);
|
|
3009
3030
|
} catch {
|
|
3010
3031
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3011
3032
|
}
|
|
@@ -3014,7 +3035,7 @@ var an = (
|
|
|
3014
3035
|
type: Q.number,
|
|
3015
3036
|
tokens: n,
|
|
3016
3037
|
location: r,
|
|
3017
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3038
|
+
parsedOptions: this.shouldParseSkeletons ? kr(n) : {}
|
|
3018
3039
|
},
|
|
3019
3040
|
err: null
|
|
3020
3041
|
};
|
|
@@ -3039,9 +3060,9 @@ var an = (
|
|
|
3039
3060
|
var d = this.parseMessage(t + 1, r, n);
|
|
3040
3061
|
if (d.err)
|
|
3041
3062
|
return d;
|
|
3042
|
-
var
|
|
3043
|
-
if (
|
|
3044
|
-
return
|
|
3063
|
+
var m = this.tryParseArgumentClose(g);
|
|
3064
|
+
if (m.err)
|
|
3065
|
+
return m;
|
|
3045
3066
|
a.push([
|
|
3046
3067
|
u,
|
|
3047
3068
|
{
|
|
@@ -3062,7 +3083,7 @@ var an = (
|
|
|
3062
3083
|
break;
|
|
3063
3084
|
}
|
|
3064
3085
|
var l = E(i, this.clonePosition());
|
|
3065
|
-
return s ? (o *= n,
|
|
3086
|
+
return s ? (o *= n, tn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3066
3087
|
}, e.prototype.offset = function() {
|
|
3067
3088
|
return this.position.offset;
|
|
3068
3089
|
}, e.prototype.isEOF = function() {
|
|
@@ -3077,7 +3098,7 @@ var an = (
|
|
|
3077
3098
|
var t = this.position.offset;
|
|
3078
3099
|
if (t >= this.message.length)
|
|
3079
3100
|
throw Error("out of bound");
|
|
3080
|
-
var r =
|
|
3101
|
+
var r = It(this.message, t);
|
|
3081
3102
|
if (r === void 0)
|
|
3082
3103
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3083
3104
|
return r;
|
|
@@ -3096,7 +3117,7 @@ var an = (
|
|
|
3096
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);
|
|
3097
3118
|
}
|
|
3098
3119
|
}, e.prototype.bumpIf = function(t) {
|
|
3099
|
-
if (
|
|
3120
|
+
if (tt(this.message, t, this.offset())) {
|
|
3100
3121
|
for (var r = 0; r < t.length; r++)
|
|
3101
3122
|
this.bump();
|
|
3102
3123
|
return !0;
|
|
@@ -3118,7 +3139,7 @@ var an = (
|
|
|
3118
3139
|
break;
|
|
3119
3140
|
}
|
|
3120
3141
|
}, e.prototype.bumpSpace = function() {
|
|
3121
|
-
for (; !this.isEOF() &&
|
|
3142
|
+
for (; !this.isEOF() && Mt(this.char()); )
|
|
3122
3143
|
this.bump();
|
|
3123
3144
|
}, e.prototype.peek = function() {
|
|
3124
3145
|
if (this.isEOF())
|
|
@@ -3128,46 +3149,47 @@ var an = (
|
|
|
3128
3149
|
}, e;
|
|
3129
3150
|
}()
|
|
3130
3151
|
);
|
|
3131
|
-
function
|
|
3152
|
+
function $e(e) {
|
|
3132
3153
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3133
3154
|
}
|
|
3134
|
-
function
|
|
3135
|
-
return
|
|
3155
|
+
function an(e) {
|
|
3156
|
+
return $e(e) || e === 47;
|
|
3136
3157
|
}
|
|
3137
|
-
function
|
|
3158
|
+
function un(e) {
|
|
3138
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;
|
|
3139
3160
|
}
|
|
3140
|
-
function
|
|
3161
|
+
function Mt(e) {
|
|
3141
3162
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3142
3163
|
}
|
|
3143
|
-
function
|
|
3164
|
+
function hn(e) {
|
|
3144
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;
|
|
3145
3166
|
}
|
|
3146
|
-
function
|
|
3167
|
+
function Re(e) {
|
|
3147
3168
|
e.forEach(function(t) {
|
|
3148
|
-
if (delete t.location,
|
|
3169
|
+
if (delete t.location, Tt(t) || St(t))
|
|
3149
3170
|
for (var r in t.options)
|
|
3150
|
-
delete t.options[r].location,
|
|
3151
|
-
else
|
|
3171
|
+
delete t.options[r].location, Re(t.options[r].value);
|
|
3172
|
+
else
|
|
3173
|
+
yt(t) && At(t.style) || (Pt(t) || Ht(t)) && Le(t.style) ? delete t.style.location : Bt(t) && Re(t.children);
|
|
3152
3174
|
});
|
|
3153
3175
|
}
|
|
3154
|
-
function
|
|
3176
|
+
function ln(e, t) {
|
|
3155
3177
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3156
|
-
var r = new
|
|
3178
|
+
var r = new on(e, t).parse();
|
|
3157
3179
|
if (r.err) {
|
|
3158
3180
|
var n = SyntaxError(_[r.err.kind]);
|
|
3159
3181
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3160
3182
|
}
|
|
3161
|
-
return t?.captureLocation ||
|
|
3183
|
+
return t?.captureLocation || Re(r.val), r.val;
|
|
3162
3184
|
}
|
|
3163
|
-
var
|
|
3185
|
+
var q;
|
|
3164
3186
|
(function(e) {
|
|
3165
3187
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3166
|
-
})(
|
|
3167
|
-
var
|
|
3188
|
+
})(q || (q = {}));
|
|
3189
|
+
var ve = (
|
|
3168
3190
|
/** @class */
|
|
3169
3191
|
function(e) {
|
|
3170
|
-
|
|
3192
|
+
be(t, e);
|
|
3171
3193
|
function t(r, n, i) {
|
|
3172
3194
|
var s = e.call(this, r) || this;
|
|
3173
3195
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3176,33 +3198,33 @@ var _e = (
|
|
|
3176
3198
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3177
3199
|
}, t;
|
|
3178
3200
|
}(Error)
|
|
3179
|
-
),
|
|
3201
|
+
), it = (
|
|
3180
3202
|
/** @class */
|
|
3181
3203
|
function(e) {
|
|
3182
|
-
|
|
3204
|
+
be(t, e);
|
|
3183
3205
|
function t(r, n, i, s) {
|
|
3184
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3206
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
|
|
3185
3207
|
}
|
|
3186
3208
|
return t;
|
|
3187
|
-
}(
|
|
3188
|
-
),
|
|
3209
|
+
}(ve)
|
|
3210
|
+
), fn = (
|
|
3189
3211
|
/** @class */
|
|
3190
3212
|
function(e) {
|
|
3191
|
-
|
|
3213
|
+
be(t, e);
|
|
3192
3214
|
function t(r, n, i) {
|
|
3193
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3215
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3194
3216
|
}
|
|
3195
3217
|
return t;
|
|
3196
|
-
}(
|
|
3197
|
-
),
|
|
3218
|
+
}(ve)
|
|
3219
|
+
), cn = (
|
|
3198
3220
|
/** @class */
|
|
3199
3221
|
function(e) {
|
|
3200
|
-
|
|
3222
|
+
be(t, e);
|
|
3201
3223
|
function t(r, n) {
|
|
3202
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3224
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3203
3225
|
}
|
|
3204
3226
|
return t;
|
|
3205
|
-
}(
|
|
3227
|
+
}(ve)
|
|
3206
3228
|
), w;
|
|
3207
3229
|
(function(e) {
|
|
3208
3230
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3213,11 +3235,11 @@ function mn(e) {
|
|
|
3213
3235
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3214
3236
|
}, []);
|
|
3215
3237
|
}
|
|
3216
|
-
function
|
|
3238
|
+
function pn(e) {
|
|
3217
3239
|
return typeof e == "function";
|
|
3218
3240
|
}
|
|
3219
|
-
function
|
|
3220
|
-
if (e.length === 1 &&
|
|
3241
|
+
function fe(e, t, r, n, i, s, o) {
|
|
3242
|
+
if (e.length === 1 && Je(e[0]))
|
|
3221
3243
|
return [
|
|
3222
3244
|
{
|
|
3223
3245
|
type: w.literal,
|
|
@@ -3226,14 +3248,14 @@ function ce(e, t, r, n, i, s, o) {
|
|
|
3226
3248
|
];
|
|
3227
3249
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3228
3250
|
var h = u[l];
|
|
3229
|
-
if (
|
|
3251
|
+
if (Je(h)) {
|
|
3230
3252
|
a.push({
|
|
3231
3253
|
type: w.literal,
|
|
3232
3254
|
value: h.value
|
|
3233
3255
|
});
|
|
3234
3256
|
continue;
|
|
3235
3257
|
}
|
|
3236
|
-
if (
|
|
3258
|
+
if (Mr(h)) {
|
|
3237
3259
|
typeof s == "number" && a.push({
|
|
3238
3260
|
type: w.literal,
|
|
3239
3261
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3242,16 +3264,16 @@ function ce(e, t, r, n, i, s, o) {
|
|
|
3242
3264
|
}
|
|
3243
3265
|
var c = h.value;
|
|
3244
3266
|
if (!(i && c in i))
|
|
3245
|
-
throw new
|
|
3267
|
+
throw new cn(c, o);
|
|
3246
3268
|
var f = i[c];
|
|
3247
|
-
if (
|
|
3269
|
+
if (Cr(h)) {
|
|
3248
3270
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3249
3271
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3250
3272
|
value: f
|
|
3251
3273
|
});
|
|
3252
3274
|
continue;
|
|
3253
3275
|
}
|
|
3254
|
-
if (
|
|
3276
|
+
if (Pt(h)) {
|
|
3255
3277
|
var g = typeof h.style == "string" ? n.date[h.style] : Le(h.style) ? h.style.parsedOptions : void 0;
|
|
3256
3278
|
a.push({
|
|
3257
3279
|
type: w.literal,
|
|
@@ -3259,7 +3281,7 @@ function ce(e, t, r, n, i, s, o) {
|
|
|
3259
3281
|
});
|
|
3260
3282
|
continue;
|
|
3261
3283
|
}
|
|
3262
|
-
if (
|
|
3284
|
+
if (Ht(h)) {
|
|
3263
3285
|
var g = typeof h.style == "string" ? n.time[h.style] : Le(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3264
3286
|
a.push({
|
|
3265
3287
|
type: w.literal,
|
|
@@ -3267,8 +3289,8 @@ function ce(e, t, r, n, i, s, o) {
|
|
|
3267
3289
|
});
|
|
3268
3290
|
continue;
|
|
3269
3291
|
}
|
|
3270
|
-
if (
|
|
3271
|
-
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;
|
|
3272
3294
|
g && g.scale && (f = f * (g.scale || 1)), a.push({
|
|
3273
3295
|
type: w.literal,
|
|
3274
3296
|
value: r.getNumberFormat(t, g).format(f)
|
|
@@ -3276,55 +3298,55 @@ function ce(e, t, r, n, i, s, o) {
|
|
|
3276
3298
|
continue;
|
|
3277
3299
|
}
|
|
3278
3300
|
if (Bt(h)) {
|
|
3279
|
-
var d = h.children,
|
|
3280
|
-
if (!
|
|
3281
|
-
throw new
|
|
3282
|
-
var
|
|
3283
|
-
return
|
|
3301
|
+
var d = h.children, m = h.value, v = i[m];
|
|
3302
|
+
if (!pn(v))
|
|
3303
|
+
throw new fn(m, "function", o);
|
|
3304
|
+
var p = fe(d, t, r, n, i, s), H = v(p.map(function(T) {
|
|
3305
|
+
return T.value;
|
|
3284
3306
|
}));
|
|
3285
|
-
Array.isArray(
|
|
3307
|
+
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(T) {
|
|
3286
3308
|
return {
|
|
3287
|
-
type: typeof
|
|
3288
|
-
value:
|
|
3309
|
+
type: typeof T == "string" ? w.literal : w.object,
|
|
3310
|
+
value: T
|
|
3289
3311
|
};
|
|
3290
3312
|
}));
|
|
3291
3313
|
}
|
|
3292
|
-
if (
|
|
3293
|
-
var
|
|
3294
|
-
if (!
|
|
3295
|
-
throw new
|
|
3296
|
-
a.push.apply(a,
|
|
3314
|
+
if (Tt(h)) {
|
|
3315
|
+
var B = h.options[f] || h.options.other;
|
|
3316
|
+
if (!B)
|
|
3317
|
+
throw new it(h.value, f, Object.keys(h.options), o);
|
|
3318
|
+
a.push.apply(a, fe(B.value, t, r, n, i));
|
|
3297
3319
|
continue;
|
|
3298
3320
|
}
|
|
3299
|
-
if (
|
|
3300
|
-
var
|
|
3301
|
-
if (!
|
|
3321
|
+
if (St(h)) {
|
|
3322
|
+
var B = h.options["=".concat(f)];
|
|
3323
|
+
if (!B) {
|
|
3302
3324
|
if (!Intl.PluralRules)
|
|
3303
|
-
throw new
|
|
3325
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3304
3326
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3305
|
-
`,
|
|
3327
|
+
`, q.MISSING_INTL_API, o);
|
|
3306
3328
|
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3307
|
-
|
|
3329
|
+
B = h.options[O] || h.options.other;
|
|
3308
3330
|
}
|
|
3309
|
-
if (!
|
|
3310
|
-
throw new
|
|
3311
|
-
a.push.apply(a,
|
|
3331
|
+
if (!B)
|
|
3332
|
+
throw new it(h.value, f, Object.keys(h.options), o);
|
|
3333
|
+
a.push.apply(a, fe(B.value, t, r, n, i, f - (h.offset || 0)));
|
|
3312
3334
|
continue;
|
|
3313
3335
|
}
|
|
3314
3336
|
}
|
|
3315
3337
|
return mn(a);
|
|
3316
3338
|
}
|
|
3317
|
-
function
|
|
3339
|
+
function dn(e, t) {
|
|
3318
3340
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3319
3341
|
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3320
3342
|
}, {})) : e;
|
|
3321
3343
|
}
|
|
3322
|
-
function
|
|
3344
|
+
function gn(e, t) {
|
|
3323
3345
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3324
|
-
return r[n] =
|
|
3346
|
+
return r[n] = dn(e[n], t[n]), r;
|
|
3325
3347
|
}, x({}, e)) : e;
|
|
3326
3348
|
}
|
|
3327
|
-
function
|
|
3349
|
+
function Se(e) {
|
|
3328
3350
|
return {
|
|
3329
3351
|
create: function() {
|
|
3330
3352
|
return {
|
|
@@ -3338,39 +3360,39 @@ function Ae(e) {
|
|
|
3338
3360
|
}
|
|
3339
3361
|
};
|
|
3340
3362
|
}
|
|
3341
|
-
function
|
|
3363
|
+
function bn(e) {
|
|
3342
3364
|
return e === void 0 && (e = {
|
|
3343
3365
|
number: {},
|
|
3344
3366
|
dateTime: {},
|
|
3345
3367
|
pluralRules: {}
|
|
3346
3368
|
}), {
|
|
3347
|
-
getNumberFormat:
|
|
3369
|
+
getNumberFormat: Pe(function() {
|
|
3348
3370
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3349
3371
|
r[n] = arguments[n];
|
|
3350
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3372
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3351
3373
|
}, {
|
|
3352
|
-
cache:
|
|
3353
|
-
strategy:
|
|
3374
|
+
cache: Se(e.number),
|
|
3375
|
+
strategy: He.variadic
|
|
3354
3376
|
}),
|
|
3355
|
-
getDateTimeFormat:
|
|
3377
|
+
getDateTimeFormat: Pe(function() {
|
|
3356
3378
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3357
3379
|
r[n] = arguments[n];
|
|
3358
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3380
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3359
3381
|
}, {
|
|
3360
|
-
cache:
|
|
3361
|
-
strategy:
|
|
3382
|
+
cache: Se(e.dateTime),
|
|
3383
|
+
strategy: He.variadic
|
|
3362
3384
|
}),
|
|
3363
|
-
getPluralRules:
|
|
3385
|
+
getPluralRules: Pe(function() {
|
|
3364
3386
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3365
3387
|
r[n] = arguments[n];
|
|
3366
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3388
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
|
|
3367
3389
|
}, {
|
|
3368
|
-
cache:
|
|
3369
|
-
strategy:
|
|
3390
|
+
cache: Se(e.pluralRules),
|
|
3391
|
+
strategy: He.variadic
|
|
3370
3392
|
})
|
|
3371
3393
|
};
|
|
3372
3394
|
}
|
|
3373
|
-
var
|
|
3395
|
+
var vn = (
|
|
3374
3396
|
/** @class */
|
|
3375
3397
|
function() {
|
|
3376
3398
|
function e(t, r, n, i) {
|
|
@@ -3389,7 +3411,7 @@ var _n = (
|
|
|
3389
3411
|
}, []);
|
|
3390
3412
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3391
3413
|
}, this.formatToParts = function(l) {
|
|
3392
|
-
return
|
|
3414
|
+
return fe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3393
3415
|
}, this.resolvedOptions = function() {
|
|
3394
3416
|
var l;
|
|
3395
3417
|
return {
|
|
@@ -3408,7 +3430,7 @@ var _n = (
|
|
|
3408
3430
|
this.ast = t;
|
|
3409
3431
|
if (!Array.isArray(this.ast))
|
|
3410
3432
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3411
|
-
this.formats =
|
|
3433
|
+
this.formats = gn(e.formats, n), this.formatters = i && i.formatters || bn(this.formatterCache);
|
|
3412
3434
|
}
|
|
3413
3435
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3414
3436
|
get: function() {
|
|
@@ -3421,7 +3443,7 @@ var _n = (
|
|
|
3421
3443
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3422
3444
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3423
3445
|
}
|
|
3424
|
-
}, e.__parse =
|
|
3446
|
+
}, e.__parse = ln, e.formats = {
|
|
3425
3447
|
number: {
|
|
3426
3448
|
integer: {
|
|
3427
3449
|
maximumFractionDigits: 0
|
|
@@ -3482,7 +3504,7 @@ var _n = (
|
|
|
3482
3504
|
}, e;
|
|
3483
3505
|
}()
|
|
3484
3506
|
);
|
|
3485
|
-
function
|
|
3507
|
+
function _n(e, t) {
|
|
3486
3508
|
if (t == null)
|
|
3487
3509
|
return;
|
|
3488
3510
|
if (t in e)
|
|
@@ -3503,88 +3525,88 @@ function En(e, t) {
|
|
|
3503
3525
|
n = void 0;
|
|
3504
3526
|
return n;
|
|
3505
3527
|
}
|
|
3506
|
-
const
|
|
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) => {
|
|
3507
3529
|
if (t == null)
|
|
3508
3530
|
return;
|
|
3509
|
-
if (t in
|
|
3510
|
-
return
|
|
3511
|
-
const r =
|
|
3531
|
+
if (t in F && e in F[t])
|
|
3532
|
+
return F[t][e];
|
|
3533
|
+
const r = _e(t);
|
|
3512
3534
|
for (let n = 0; n < r.length; n++) {
|
|
3513
|
-
const i = r[n], s =
|
|
3535
|
+
const i = r[n], s = yn(i, e);
|
|
3514
3536
|
if (s)
|
|
3515
|
-
return
|
|
3537
|
+
return En(e, t, s);
|
|
3516
3538
|
}
|
|
3517
3539
|
};
|
|
3518
|
-
let
|
|
3519
|
-
const oe =
|
|
3520
|
-
function
|
|
3521
|
-
return
|
|
3540
|
+
let Ve;
|
|
3541
|
+
const oe = ge({});
|
|
3542
|
+
function xn(e) {
|
|
3543
|
+
return Ve[e] || null;
|
|
3522
3544
|
}
|
|
3523
|
-
function
|
|
3524
|
-
return e in
|
|
3545
|
+
function Rt(e) {
|
|
3546
|
+
return e in Ve;
|
|
3525
3547
|
}
|
|
3526
|
-
function
|
|
3527
|
-
if (!
|
|
3548
|
+
function yn(e, t) {
|
|
3549
|
+
if (!Rt(e))
|
|
3528
3550
|
return null;
|
|
3529
|
-
const r =
|
|
3530
|
-
return
|
|
3551
|
+
const r = xn(e);
|
|
3552
|
+
return _n(r, t);
|
|
3531
3553
|
}
|
|
3532
|
-
function
|
|
3554
|
+
function Pn(e) {
|
|
3533
3555
|
if (e == null)
|
|
3534
3556
|
return;
|
|
3535
|
-
const t =
|
|
3557
|
+
const t = _e(e);
|
|
3536
3558
|
for (let r = 0; r < t.length; r++) {
|
|
3537
3559
|
const n = t[r];
|
|
3538
|
-
if (
|
|
3560
|
+
if (Rt(n))
|
|
3539
3561
|
return n;
|
|
3540
3562
|
}
|
|
3541
3563
|
}
|
|
3542
|
-
function
|
|
3543
|
-
delete
|
|
3564
|
+
function Ut(e, ...t) {
|
|
3565
|
+
delete F[e], oe.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
|
|
3544
3566
|
}
|
|
3545
3567
|
Y(
|
|
3546
3568
|
[oe],
|
|
3547
3569
|
([e]) => Object.keys(e)
|
|
3548
3570
|
);
|
|
3549
|
-
oe.subscribe((e) =>
|
|
3550
|
-
const
|
|
3551
|
-
function
|
|
3552
|
-
|
|
3571
|
+
oe.subscribe((e) => Ve = e);
|
|
3572
|
+
const ce = {};
|
|
3573
|
+
function Hn(e, t) {
|
|
3574
|
+
ce[e].delete(t), ce[e].size === 0 && delete ce[e];
|
|
3553
3575
|
}
|
|
3554
|
-
function
|
|
3555
|
-
return
|
|
3576
|
+
function Gt(e) {
|
|
3577
|
+
return ce[e];
|
|
3556
3578
|
}
|
|
3557
|
-
function
|
|
3558
|
-
return
|
|
3559
|
-
const r =
|
|
3579
|
+
function Tn(e) {
|
|
3580
|
+
return _e(e).map((t) => {
|
|
3581
|
+
const r = Gt(t);
|
|
3560
3582
|
return [t, r ? [...r] : []];
|
|
3561
3583
|
}).filter(([, t]) => t.length > 0);
|
|
3562
3584
|
}
|
|
3563
|
-
function
|
|
3564
|
-
return e == null ? !1 :
|
|
3585
|
+
function Ue(e) {
|
|
3586
|
+
return e == null ? !1 : _e(e).some(
|
|
3565
3587
|
(t) => {
|
|
3566
3588
|
var r;
|
|
3567
|
-
return (r =
|
|
3589
|
+
return (r = Gt(t)) == null ? void 0 : r.size;
|
|
3568
3590
|
}
|
|
3569
3591
|
);
|
|
3570
3592
|
}
|
|
3571
|
-
function
|
|
3593
|
+
function Sn(e, t) {
|
|
3572
3594
|
return Promise.all(
|
|
3573
|
-
t.map((n) => (
|
|
3574
|
-
).then((n) =>
|
|
3595
|
+
t.map((n) => (Hn(e, n), n().then((i) => i.default || i)))
|
|
3596
|
+
).then((n) => Ut(e, ...n));
|
|
3575
3597
|
}
|
|
3576
3598
|
const te = {};
|
|
3577
|
-
function
|
|
3578
|
-
if (!
|
|
3599
|
+
function Dt(e) {
|
|
3600
|
+
if (!Ue(e))
|
|
3579
3601
|
return e in te ? te[e] : Promise.resolve();
|
|
3580
|
-
const t =
|
|
3602
|
+
const t = Tn(e);
|
|
3581
3603
|
return te[e] = Promise.all(
|
|
3582
3604
|
t.map(
|
|
3583
|
-
([r, n]) =>
|
|
3605
|
+
([r, n]) => Sn(r, n)
|
|
3584
3606
|
)
|
|
3585
3607
|
).then(() => {
|
|
3586
|
-
if (
|
|
3587
|
-
return
|
|
3608
|
+
if (Ue(e))
|
|
3609
|
+
return Dt(e);
|
|
3588
3610
|
delete te[e];
|
|
3589
3611
|
}), te[e];
|
|
3590
3612
|
}
|
|
@@ -3617,100 +3639,100 @@ const Bn = {
|
|
|
3617
3639
|
timeZoneName: "short"
|
|
3618
3640
|
}
|
|
3619
3641
|
}
|
|
3620
|
-
},
|
|
3642
|
+
}, An = {
|
|
3621
3643
|
fallbackLocale: null,
|
|
3622
3644
|
loadingDelay: 200,
|
|
3623
3645
|
formats: Bn,
|
|
3624
3646
|
warnOnMissingMessages: !0,
|
|
3625
3647
|
handleMissingMessage: void 0,
|
|
3626
3648
|
ignoreTag: !0
|
|
3627
|
-
},
|
|
3628
|
-
function
|
|
3629
|
-
return
|
|
3649
|
+
}, On = An;
|
|
3650
|
+
function J() {
|
|
3651
|
+
return On;
|
|
3630
3652
|
}
|
|
3631
|
-
const Be =
|
|
3632
|
-
var wn = Object.defineProperty,
|
|
3653
|
+
const Be = ge(!1);
|
|
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) => {
|
|
3633
3655
|
for (var r in t || (t = {}))
|
|
3634
|
-
|
|
3635
|
-
if (
|
|
3636
|
-
for (var r of
|
|
3637
|
-
|
|
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]);
|
|
3638
3660
|
return e;
|
|
3639
|
-
},
|
|
3640
|
-
let
|
|
3641
|
-
const
|
|
3642
|
-
function
|
|
3661
|
+
}, $n = (e, t) => Nn(e, Ln(t));
|
|
3662
|
+
let Ge;
|
|
3663
|
+
const pe = ge(null);
|
|
3664
|
+
function at(e) {
|
|
3643
3665
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3644
3666
|
}
|
|
3645
|
-
function
|
|
3646
|
-
const r =
|
|
3647
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3667
|
+
function _e(e, t = J().fallbackLocale) {
|
|
3668
|
+
const r = at(e);
|
|
3669
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
|
|
3648
3670
|
}
|
|
3649
3671
|
function k() {
|
|
3650
|
-
return
|
|
3672
|
+
return Ge ?? void 0;
|
|
3651
3673
|
}
|
|
3652
|
-
|
|
3653
|
-
|
|
3674
|
+
pe.subscribe((e) => {
|
|
3675
|
+
Ge = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3654
3676
|
});
|
|
3655
|
-
const
|
|
3656
|
-
if (e &&
|
|
3657
|
-
const { loadingDelay: t } =
|
|
3677
|
+
const Rn = (e) => {
|
|
3678
|
+
if (e && Pn(e) && Ue(e)) {
|
|
3679
|
+
const { loadingDelay: t } = J();
|
|
3658
3680
|
let r;
|
|
3659
3681
|
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
|
3660
3682
|
() => Be.set(!0),
|
|
3661
3683
|
t
|
|
3662
|
-
) : Be.set(!0),
|
|
3663
|
-
|
|
3684
|
+
) : Be.set(!0), Dt(e).then(() => {
|
|
3685
|
+
pe.set(e);
|
|
3664
3686
|
}).finally(() => {
|
|
3665
3687
|
clearTimeout(r), Be.set(!1);
|
|
3666
3688
|
});
|
|
3667
3689
|
}
|
|
3668
|
-
return
|
|
3669
|
-
}, K =
|
|
3670
|
-
set:
|
|
3671
|
-
}),
|
|
3690
|
+
return pe.set(e);
|
|
3691
|
+
}, K = $n(Mn({}, pe), {
|
|
3692
|
+
set: Rn
|
|
3693
|
+
}), Ee = (e) => {
|
|
3672
3694
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3673
3695
|
return (n) => {
|
|
3674
3696
|
const i = JSON.stringify(n);
|
|
3675
3697
|
return i in t ? t[i] : t[i] = e(n);
|
|
3676
3698
|
};
|
|
3677
3699
|
};
|
|
3678
|
-
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) => {
|
|
3679
3701
|
for (var r in t || (t = {}))
|
|
3680
|
-
|
|
3681
|
-
if (
|
|
3682
|
-
for (var r of
|
|
3683
|
-
|
|
3702
|
+
Ft.call(t, r) && ut(e, r, t[r]);
|
|
3703
|
+
if (de)
|
|
3704
|
+
for (var r of de(t))
|
|
3705
|
+
jt.call(t, r) && ut(e, r, t[r]);
|
|
3684
3706
|
return e;
|
|
3685
3707
|
}, ee = (e, t) => {
|
|
3686
3708
|
var r = {};
|
|
3687
3709
|
for (var n in e)
|
|
3688
|
-
|
|
3689
|
-
if (e != null &&
|
|
3690
|
-
for (var n of
|
|
3691
|
-
t.indexOf(n) < 0 &&
|
|
3710
|
+
Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3711
|
+
if (e != null && de)
|
|
3712
|
+
for (var n of de(e))
|
|
3713
|
+
t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
|
|
3692
3714
|
return r;
|
|
3693
3715
|
};
|
|
3694
3716
|
const ie = (e, t) => {
|
|
3695
|
-
const { formats: r } =
|
|
3717
|
+
const { formats: r } = J();
|
|
3696
3718
|
if (e in r && t in r[e])
|
|
3697
3719
|
return r[e][t];
|
|
3698
3720
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3699
|
-
},
|
|
3721
|
+
}, Gn = Ee(
|
|
3700
3722
|
(e) => {
|
|
3701
3723
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3702
3724
|
if (r == null)
|
|
3703
3725
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3704
3726
|
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
3705
3727
|
}
|
|
3706
|
-
),
|
|
3728
|
+
), Dn = Ee(
|
|
3707
3729
|
(e) => {
|
|
3708
3730
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3709
3731
|
if (r == null)
|
|
3710
3732
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3711
3733
|
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3712
3734
|
}
|
|
3713
|
-
),
|
|
3735
|
+
), Fn = Ee(
|
|
3714
3736
|
(e) => {
|
|
3715
3737
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3716
3738
|
if (r == null)
|
|
@@ -3719,33 +3741,33 @@ const ie = (e, t) => {
|
|
|
3719
3741
|
);
|
|
3720
3742
|
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3721
3743
|
}
|
|
3722
|
-
),
|
|
3744
|
+
), jn = (e = {}) => {
|
|
3723
3745
|
var t = e, {
|
|
3724
3746
|
locale: r = k()
|
|
3725
3747
|
} = t, n = ee(t, [
|
|
3726
3748
|
"locale"
|
|
3727
3749
|
]);
|
|
3728
|
-
return
|
|
3729
|
-
},
|
|
3750
|
+
return Gn(Xe({ locale: r }, n));
|
|
3751
|
+
}, kn = (e = {}) => {
|
|
3730
3752
|
var t = e, {
|
|
3731
3753
|
locale: r = k()
|
|
3732
3754
|
} = t, n = ee(t, [
|
|
3733
3755
|
"locale"
|
|
3734
3756
|
]);
|
|
3735
|
-
return
|
|
3736
|
-
},
|
|
3757
|
+
return Dn(Xe({ locale: r }, n));
|
|
3758
|
+
}, Vn = (e = {}) => {
|
|
3737
3759
|
var t = e, {
|
|
3738
3760
|
locale: r = k()
|
|
3739
3761
|
} = t, n = ee(t, [
|
|
3740
3762
|
"locale"
|
|
3741
3763
|
]);
|
|
3742
|
-
return
|
|
3743
|
-
},
|
|
3764
|
+
return Fn(Xe({ locale: r }, n));
|
|
3765
|
+
}, Xn = Ee(
|
|
3744
3766
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3745
|
-
(e, t = k()) => new
|
|
3746
|
-
ignoreTag:
|
|
3767
|
+
(e, t = k()) => new vn(e, t, J().formats, {
|
|
3768
|
+
ignoreTag: J().ignoreTag
|
|
3747
3769
|
})
|
|
3748
|
-
),
|
|
3770
|
+
), zn = (e, t = {}) => {
|
|
3749
3771
|
var r, n, i, s;
|
|
3750
3772
|
let o = t;
|
|
3751
3773
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3758,9 +3780,9 @@ const ie = (e, t) => {
|
|
|
3758
3780
|
throw new Error(
|
|
3759
3781
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3760
3782
|
);
|
|
3761
|
-
let h =
|
|
3783
|
+
let h = $t(e, l);
|
|
3762
3784
|
if (!h)
|
|
3763
|
-
h = (s = (i = (n = (r =
|
|
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;
|
|
3764
3786
|
else if (typeof h != "string")
|
|
3765
3787
|
return console.warn(
|
|
3766
3788
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3769,7 +3791,7 @@ const ie = (e, t) => {
|
|
|
3769
3791
|
return h;
|
|
3770
3792
|
let c = h;
|
|
3771
3793
|
try {
|
|
3772
|
-
c =
|
|
3794
|
+
c = Xn(h, l).format(a);
|
|
3773
3795
|
} catch (f) {
|
|
3774
3796
|
f instanceof Error && console.warn(
|
|
3775
3797
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3777,118 +3799,141 @@ const ie = (e, t) => {
|
|
|
3777
3799
|
);
|
|
3778
3800
|
}
|
|
3779
3801
|
return c;
|
|
3780
|
-
},
|
|
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);
|
|
3803
|
+
Y([K], () => Wn);
|
|
3781
3804
|
Y([K], () => Zn);
|
|
3782
3805
|
Y([K], () => Qn);
|
|
3783
|
-
Y([K], () => Jn);
|
|
3784
3806
|
Y([K, oe], () => qn);
|
|
3785
|
-
function
|
|
3786
|
-
|
|
3807
|
+
function ht(e, t) {
|
|
3808
|
+
Ut(e, t);
|
|
3787
3809
|
}
|
|
3788
|
-
function
|
|
3810
|
+
function Yn(e) {
|
|
3789
3811
|
K.set(e);
|
|
3790
3812
|
}
|
|
3791
|
-
function
|
|
3792
|
-
|
|
3813
|
+
function Kn(e, t) {
|
|
3814
|
+
if (e) {
|
|
3815
|
+
const r = document.createElement("style");
|
|
3816
|
+
r.innerHTML = t, e.appendChild(r);
|
|
3817
|
+
}
|
|
3793
3818
|
}
|
|
3794
|
-
function
|
|
3819
|
+
function ei(e, t) {
|
|
3820
|
+
const r = new URL(t);
|
|
3821
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3822
|
+
const i = document.createElement("style");
|
|
3823
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3824
|
+
}).catch((n) => {
|
|
3825
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3826
|
+
});
|
|
3827
|
+
}
|
|
3828
|
+
function ti(e, t, r) {
|
|
3829
|
+
if (window.emMessageBus) {
|
|
3830
|
+
const n = document.createElement("style");
|
|
3831
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
3832
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3833
|
+
});
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
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%)}");
|
|
3838
|
+
}
|
|
3839
|
+
function lt(e, t, r) {
|
|
3795
3840
|
const n = e.slice();
|
|
3796
3841
|
return n[21] = t[r], n;
|
|
3797
3842
|
}
|
|
3798
|
-
function
|
|
3843
|
+
function ft(e, t, r) {
|
|
3799
3844
|
const n = e.slice();
|
|
3800
3845
|
return n[21] = t[r], n;
|
|
3801
3846
|
}
|
|
3802
|
-
function
|
|
3847
|
+
function ni(e) {
|
|
3803
3848
|
let t, r = (
|
|
3804
3849
|
/*$_*/
|
|
3805
3850
|
e[4]("popularProviders") + ""
|
|
3806
3851
|
), n, i, s, o, a = (
|
|
3807
3852
|
/*$_*/
|
|
3808
3853
|
e[4]("otherProviders") + ""
|
|
3809
|
-
), l, u, h, c =
|
|
3854
|
+
), l, u, h, c = ue(
|
|
3810
3855
|
/*topProviders*/
|
|
3811
3856
|
e[1]
|
|
3812
3857
|
), f = [];
|
|
3813
|
-
for (let
|
|
3814
|
-
f[
|
|
3815
|
-
let g =
|
|
3858
|
+
for (let m = 0; m < c.length; m += 1)
|
|
3859
|
+
f[m] = ct(ft(e, c, m));
|
|
3860
|
+
let g = ue(
|
|
3816
3861
|
/*otherProviders*/
|
|
3817
3862
|
e[2]
|
|
3818
3863
|
), d = [];
|
|
3819
|
-
for (let
|
|
3820
|
-
d[
|
|
3864
|
+
for (let m = 0; m < g.length; m += 1)
|
|
3865
|
+
d[m] = mt(lt(e, g, m));
|
|
3821
3866
|
return {
|
|
3822
3867
|
c() {
|
|
3823
|
-
t =
|
|
3824
|
-
for (let p = 0; p < f.length; p += 1)
|
|
3825
|
-
f[p].c();
|
|
3826
|
-
s = U(), o = B("h4"), l = R(a), u = U();
|
|
3827
|
-
for (let p = 0; p < d.length; p += 1)
|
|
3828
|
-
d[p].c();
|
|
3829
|
-
h = Qt(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
|
|
3830
|
-
},
|
|
3831
|
-
m(p, v) {
|
|
3832
|
-
M(p, t, v), y(t, n), M(p, i, v);
|
|
3868
|
+
t = A("h4"), n = $(r), i = R();
|
|
3833
3869
|
for (let m = 0; m < f.length; m += 1)
|
|
3834
|
-
f[m]
|
|
3835
|
-
|
|
3870
|
+
f[m].c();
|
|
3871
|
+
s = R(), o = A("h4"), l = $(a), u = R();
|
|
3836
3872
|
for (let m = 0; m < d.length; m += 1)
|
|
3837
|
-
d[m]
|
|
3838
|
-
|
|
3873
|
+
d[m].c();
|
|
3874
|
+
h = Zt(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
|
|
3839
3875
|
},
|
|
3840
|
-
|
|
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) {
|
|
3841
3886
|
if (v & /*$_*/
|
|
3842
3887
|
16 && r !== (r = /*$_*/
|
|
3843
|
-
|
|
3888
|
+
m[4]("popularProviders") + "") && D(n, r), v & /*openGameProviderPage, topProviders, $_*/
|
|
3844
3889
|
50) {
|
|
3845
|
-
c =
|
|
3890
|
+
c = ue(
|
|
3846
3891
|
/*topProviders*/
|
|
3847
|
-
|
|
3892
|
+
m[1]
|
|
3848
3893
|
);
|
|
3849
|
-
let
|
|
3850
|
-
for (
|
|
3851
|
-
const
|
|
3852
|
-
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));
|
|
3853
3898
|
}
|
|
3854
|
-
for (;
|
|
3855
|
-
f[
|
|
3899
|
+
for (; p < f.length; p += 1)
|
|
3900
|
+
f[p].d(1);
|
|
3856
3901
|
f.length = c.length;
|
|
3857
3902
|
}
|
|
3858
3903
|
if (v & /*$_*/
|
|
3859
3904
|
16 && a !== (a = /*$_*/
|
|
3860
|
-
|
|
3905
|
+
m[4]("otherProviders") + "") && D(l, a), v & /*openGameProviderPage, otherProviders, $_*/
|
|
3861
3906
|
52) {
|
|
3862
|
-
g =
|
|
3907
|
+
g = ue(
|
|
3863
3908
|
/*otherProviders*/
|
|
3864
|
-
|
|
3909
|
+
m[2]
|
|
3865
3910
|
);
|
|
3866
|
-
let
|
|
3867
|
-
for (
|
|
3868
|
-
const
|
|
3869
|
-
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));
|
|
3870
3915
|
}
|
|
3871
|
-
for (;
|
|
3872
|
-
d[
|
|
3916
|
+
for (; p < d.length; p += 1)
|
|
3917
|
+
d[p].d(1);
|
|
3873
3918
|
d.length = g.length;
|
|
3874
3919
|
}
|
|
3875
3920
|
},
|
|
3876
|
-
d(
|
|
3877
|
-
|
|
3921
|
+
d(m) {
|
|
3922
|
+
m && (I(t), I(i), I(s), I(o), I(u), I(h)), We(f, m), We(d, m);
|
|
3878
3923
|
}
|
|
3879
3924
|
};
|
|
3880
3925
|
}
|
|
3881
|
-
function
|
|
3926
|
+
function ii(e) {
|
|
3882
3927
|
let t, r = (
|
|
3883
3928
|
/*$_*/
|
|
3884
3929
|
e[4]("loading") + ""
|
|
3885
3930
|
), n;
|
|
3886
3931
|
return {
|
|
3887
3932
|
c() {
|
|
3888
|
-
t =
|
|
3933
|
+
t = A("p"), n = $(r), S(t, "class", "Message");
|
|
3889
3934
|
},
|
|
3890
3935
|
m(i, s) {
|
|
3891
|
-
|
|
3936
|
+
C(i, t, s), y(t, n);
|
|
3892
3937
|
},
|
|
3893
3938
|
p(i, s) {
|
|
3894
3939
|
s & /*$_*/
|
|
@@ -3896,25 +3941,25 @@ function ri(e) {
|
|
|
3896
3941
|
i[4]("loading") + "") && D(n, r);
|
|
3897
3942
|
},
|
|
3898
3943
|
d(i) {
|
|
3899
|
-
i &&
|
|
3944
|
+
i && I(t);
|
|
3900
3945
|
}
|
|
3901
3946
|
};
|
|
3902
3947
|
}
|
|
3903
|
-
function
|
|
3948
|
+
function ct(e) {
|
|
3904
3949
|
let t, r, n, i, s, o, a, l = (
|
|
3905
3950
|
/*provider*/
|
|
3906
3951
|
e[21].name + ""
|
|
3907
3952
|
), u, h, c, f = (
|
|
3908
3953
|
/*provider*/
|
|
3909
3954
|
e[21].games.count + ""
|
|
3910
|
-
), g, d,
|
|
3955
|
+
), g, d, m = (
|
|
3911
3956
|
/*$_*/
|
|
3912
3957
|
e[4]("games") + ""
|
|
3913
|
-
), v,
|
|
3914
|
-
function
|
|
3958
|
+
), v, p, H;
|
|
3959
|
+
function B() {
|
|
3915
3960
|
return (
|
|
3916
3961
|
/*click_handler*/
|
|
3917
|
-
e[
|
|
3962
|
+
e[13](
|
|
3918
3963
|
/*provider*/
|
|
3919
3964
|
e[21]
|
|
3920
3965
|
)
|
|
@@ -3922,28 +3967,28 @@ function pt(e) {
|
|
|
3922
3967
|
}
|
|
3923
3968
|
return {
|
|
3924
3969
|
c() {
|
|
3925
|
-
t =
|
|
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*/
|
|
3926
3971
|
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
3927
3972
|
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
3928
3973
|
},
|
|
3929
|
-
m(O,
|
|
3930
|
-
|
|
3974
|
+
m(O, 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);
|
|
3931
3976
|
},
|
|
3932
|
-
p(O,
|
|
3933
|
-
e = O,
|
|
3977
|
+
p(O, T) {
|
|
3978
|
+
e = O, T & /*topProviders*/
|
|
3934
3979
|
2 && !me(r.src, n = /*provider*/
|
|
3935
|
-
e[21].logo) && S(r, "src", n),
|
|
3980
|
+
e[21].logo) && S(r, "src", n), T & /*topProviders*/
|
|
3936
3981
|
2 && i !== (i = /*provider*/
|
|
3937
|
-
e[21].name) && S(r, "alt", i),
|
|
3982
|
+
e[21].name) && S(r, "alt", i), T & /*topProviders*/
|
|
3938
3983
|
2 && l !== (l = /*provider*/
|
|
3939
|
-
e[21].name + "") && D(u, l),
|
|
3984
|
+
e[21].name + "") && D(u, l), T & /*topProviders*/
|
|
3940
3985
|
2 && f !== (f = /*provider*/
|
|
3941
|
-
e[21].games.count + "") && D(g, f),
|
|
3942
|
-
16 &&
|
|
3943
|
-
e[4]("games") + "") && D(v,
|
|
3986
|
+
e[21].games.count + "") && D(g, f), T & /*$_*/
|
|
3987
|
+
16 && m !== (m = /*$_*/
|
|
3988
|
+
e[4]("games") + "") && D(v, m);
|
|
3944
3989
|
},
|
|
3945
3990
|
d(O) {
|
|
3946
|
-
O &&
|
|
3991
|
+
O && I(t), p = !1, H();
|
|
3947
3992
|
}
|
|
3948
3993
|
};
|
|
3949
3994
|
}
|
|
@@ -3954,14 +3999,14 @@ function mt(e) {
|
|
|
3954
3999
|
), u, h, c, f = (
|
|
3955
4000
|
/*provider*/
|
|
3956
4001
|
e[21].games.count + ""
|
|
3957
|
-
), g, d,
|
|
4002
|
+
), g, d, m = (
|
|
3958
4003
|
/*$_*/
|
|
3959
4004
|
e[4]("games") + ""
|
|
3960
|
-
), v,
|
|
4005
|
+
), v, p, H, B;
|
|
3961
4006
|
function O() {
|
|
3962
4007
|
return (
|
|
3963
4008
|
/*click_handler_1*/
|
|
3964
|
-
e[
|
|
4009
|
+
e[14](
|
|
3965
4010
|
/*provider*/
|
|
3966
4011
|
e[21]
|
|
3967
4012
|
)
|
|
@@ -3969,196 +4014,192 @@ function mt(e) {
|
|
|
3969
4014
|
}
|
|
3970
4015
|
return {
|
|
3971
4016
|
c() {
|
|
3972
|
-
t =
|
|
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*/
|
|
3973
4018
|
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
3974
4019
|
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
3975
4020
|
},
|
|
3976
|
-
m(
|
|
3977
|
-
|
|
4021
|
+
m(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);
|
|
3978
4023
|
},
|
|
3979
|
-
p(
|
|
3980
|
-
e =
|
|
4024
|
+
p(T, N) {
|
|
4025
|
+
e = T, N & /*otherProviders*/
|
|
3981
4026
|
4 && !me(r.src, n = /*provider*/
|
|
3982
|
-
e[21].logo) && S(r, "src", n),
|
|
4027
|
+
e[21].logo) && S(r, "src", n), N & /*otherProviders*/
|
|
3983
4028
|
4 && i !== (i = /*provider*/
|
|
3984
|
-
e[21].name) && S(r, "alt", i),
|
|
4029
|
+
e[21].name) && S(r, "alt", i), N & /*otherProviders*/
|
|
3985
4030
|
4 && l !== (l = /*provider*/
|
|
3986
|
-
e[21].name + "") && D(u, l),
|
|
4031
|
+
e[21].name + "") && D(u, l), N & /*otherProviders*/
|
|
3987
4032
|
4 && f !== (f = /*provider*/
|
|
3988
|
-
e[21].games.count + "") && D(g, f),
|
|
3989
|
-
16 &&
|
|
3990
|
-
e[4]("games") + "") && D(v,
|
|
4033
|
+
e[21].games.count + "") && D(g, f), N & /*$_*/
|
|
4034
|
+
16 && m !== (m = /*$_*/
|
|
4035
|
+
e[4]("games") + "") && D(v, m);
|
|
3991
4036
|
},
|
|
3992
|
-
d(
|
|
3993
|
-
|
|
4037
|
+
d(T) {
|
|
4038
|
+
T && I(t), H = !1, B();
|
|
3994
4039
|
}
|
|
3995
4040
|
};
|
|
3996
4041
|
}
|
|
3997
|
-
function
|
|
4042
|
+
function si(e) {
|
|
3998
4043
|
let t;
|
|
3999
4044
|
function r(s, o) {
|
|
4000
4045
|
return (
|
|
4001
4046
|
/*isLoading*/
|
|
4002
|
-
s[3] === !0 ?
|
|
4047
|
+
s[3] === !0 ? ii : ni
|
|
4003
4048
|
);
|
|
4004
4049
|
}
|
|
4005
4050
|
let n = r(e), i = n(e);
|
|
4006
4051
|
return {
|
|
4007
4052
|
c() {
|
|
4008
|
-
t =
|
|
4053
|
+
t = A("div"), i.c(), S(t, "class", "CasinoProviders");
|
|
4009
4054
|
},
|
|
4010
4055
|
m(s, o) {
|
|
4011
|
-
|
|
4056
|
+
C(s, t, o), i.m(t, null), e[15](t);
|
|
4012
4057
|
},
|
|
4013
4058
|
p(s, [o]) {
|
|
4014
4059
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4015
4060
|
},
|
|
4016
|
-
i:
|
|
4017
|
-
o:
|
|
4061
|
+
i: M,
|
|
4062
|
+
o: M,
|
|
4018
4063
|
d(s) {
|
|
4019
|
-
s &&
|
|
4064
|
+
s && I(t), i.d(), e[15](null);
|
|
4020
4065
|
}
|
|
4021
4066
|
};
|
|
4022
4067
|
}
|
|
4023
|
-
function
|
|
4068
|
+
function oi(e, t, r) {
|
|
4024
4069
|
let n;
|
|
4025
|
-
|
|
4026
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, h =
|
|
4027
|
-
const
|
|
4028
|
-
fetch(u).then((
|
|
4029
|
-
Object.keys(
|
|
4030
|
-
|
|
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;
|
|
4072
|
+
const v = () => {
|
|
4073
|
+
fetch(u).then((L) => L.json()).then((L) => {
|
|
4074
|
+
Object.keys(L).forEach((j) => {
|
|
4075
|
+
ht(j, L[j]);
|
|
4031
4076
|
});
|
|
4032
|
-
}).catch((
|
|
4033
|
-
console.log(
|
|
4077
|
+
}).catch((L) => {
|
|
4078
|
+
console.log(L);
|
|
4034
4079
|
});
|
|
4035
4080
|
};
|
|
4036
|
-
Object.keys(
|
|
4037
|
-
|
|
4081
|
+
Object.keys(Qe).forEach((b) => {
|
|
4082
|
+
ht(b, Qe[b]);
|
|
4038
4083
|
});
|
|
4039
|
-
const
|
|
4040
|
-
r(3,
|
|
4084
|
+
const p = () => {
|
|
4085
|
+
r(3, d = !0);
|
|
4041
4086
|
const b = new URL(`${i}/v1/casino/vendors`);
|
|
4042
|
-
b.searchParams.append("datasource", s), b.searchParams.append("language", o), b.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(b).then((
|
|
4043
|
-
r(3,
|
|
4044
|
-
let
|
|
4045
|
-
|
|
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) => {
|
|
4088
|
+
r(3, d = !1), c = L.items.map((U) => U), r(1, f = c.filter((U) => U.isTopVendor === !0)), r(2, g = c.filter((U) => U.isTopVendor === !1));
|
|
4089
|
+
let j = [];
|
|
4090
|
+
j = c.flatMap((U) => U.subVendors), g.push(...j.filter((U) => U.games.count > 0));
|
|
4046
4091
|
});
|
|
4047
|
-
},
|
|
4092
|
+
}, H = (b, L, j) => {
|
|
4048
4093
|
window.postMessage(
|
|
4049
4094
|
{
|
|
4050
4095
|
type: "OpenGameProvider",
|
|
4051
4096
|
providerId: b,
|
|
4052
|
-
providerName:
|
|
4053
|
-
providerLogo:
|
|
4097
|
+
providerName: L,
|
|
4098
|
+
providerLogo: j
|
|
4054
4099
|
},
|
|
4055
4100
|
window.location.href
|
|
4056
4101
|
);
|
|
4057
|
-
},
|
|
4058
|
-
|
|
4059
|
-
},
|
|
4060
|
-
|
|
4061
|
-
b
|
|
4062
|
-
|
|
4063
|
-
let b = new URL(l), N = document.createElement("style");
|
|
4064
|
-
fetch(b.href).then((C) => C.text()).then((C) => {
|
|
4065
|
-
N.innerHTML = C, setTimeout(
|
|
4066
|
-
() => {
|
|
4067
|
-
d.appendChild(N);
|
|
4068
|
-
},
|
|
4069
|
-
1
|
|
4070
|
-
);
|
|
4071
|
-
});
|
|
4072
|
-
}, H = (b) => m(b.id, b.name, b.logo), I = (b) => m(b.id, b.name, b.logo);
|
|
4073
|
-
function ae(b) {
|
|
4074
|
-
Oe[b ? "unshift" : "push"](() => {
|
|
4075
|
-
d = b, r(0, d);
|
|
4102
|
+
}, B = () => {
|
|
4103
|
+
Yn(o);
|
|
4104
|
+
}, O = (b) => H(b.id, b.name, b.logo), T = (b) => H(b.id, b.name, b.logo);
|
|
4105
|
+
function N(b) {
|
|
4106
|
+
Ae[b ? "unshift" : "push"](() => {
|
|
4107
|
+
m = b, r(0, m);
|
|
4076
4108
|
});
|
|
4077
4109
|
}
|
|
4078
4110
|
return e.$$set = (b) => {
|
|
4079
|
-
"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);
|
|
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);
|
|
4080
4112
|
}, e.$$.update = () => {
|
|
4081
4113
|
e.$$.dirty & /*endpoint, lang, datasource*/
|
|
4082
|
-
448 && i && o && s &&
|
|
4083
|
-
256 && o &&
|
|
4084
|
-
2048 && u &&
|
|
4085
|
-
513 && a &&
|
|
4086
|
-
1025 && l &&
|
|
4114
|
+
448 && i && o && s && p(), e.$$.dirty & /*lang*/
|
|
4115
|
+
256 && o && B(), e.$$.dirty & /*translationurl*/
|
|
4116
|
+
2048 && u && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
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`);
|
|
4087
4120
|
}, [
|
|
4088
|
-
|
|
4089
|
-
c,
|
|
4121
|
+
m,
|
|
4090
4122
|
f,
|
|
4091
4123
|
g,
|
|
4124
|
+
d,
|
|
4092
4125
|
n,
|
|
4093
|
-
|
|
4126
|
+
H,
|
|
4094
4127
|
i,
|
|
4095
4128
|
s,
|
|
4096
4129
|
o,
|
|
4097
4130
|
a,
|
|
4098
4131
|
l,
|
|
4099
4132
|
u,
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4133
|
+
h,
|
|
4134
|
+
O,
|
|
4135
|
+
T,
|
|
4136
|
+
N
|
|
4103
4137
|
];
|
|
4104
4138
|
}
|
|
4105
|
-
class
|
|
4139
|
+
class ai extends ur {
|
|
4106
4140
|
constructor(t) {
|
|
4107
|
-
super(),
|
|
4141
|
+
super(), or(
|
|
4108
4142
|
this,
|
|
4109
4143
|
t,
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4144
|
+
oi,
|
|
4145
|
+
si,
|
|
4146
|
+
dt,
|
|
4113
4147
|
{
|
|
4114
4148
|
endpoint: 6,
|
|
4115
4149
|
datasource: 7,
|
|
4116
4150
|
lang: 8,
|
|
4117
4151
|
clientstyling: 9,
|
|
4118
4152
|
clientstylingurl: 10,
|
|
4119
|
-
translationurl: 11
|
|
4153
|
+
translationurl: 11,
|
|
4154
|
+
mbsource: 12
|
|
4120
4155
|
},
|
|
4121
|
-
|
|
4156
|
+
ri
|
|
4122
4157
|
);
|
|
4123
4158
|
}
|
|
4124
4159
|
get endpoint() {
|
|
4125
4160
|
return this.$$.ctx[6];
|
|
4126
4161
|
}
|
|
4127
4162
|
set endpoint(t) {
|
|
4128
|
-
this.$$set({ endpoint: t }),
|
|
4163
|
+
this.$$set({ endpoint: t }), G();
|
|
4129
4164
|
}
|
|
4130
4165
|
get datasource() {
|
|
4131
4166
|
return this.$$.ctx[7];
|
|
4132
4167
|
}
|
|
4133
4168
|
set datasource(t) {
|
|
4134
|
-
this.$$set({ datasource: t }),
|
|
4169
|
+
this.$$set({ datasource: t }), G();
|
|
4135
4170
|
}
|
|
4136
4171
|
get lang() {
|
|
4137
4172
|
return this.$$.ctx[8];
|
|
4138
4173
|
}
|
|
4139
4174
|
set lang(t) {
|
|
4140
|
-
this.$$set({ lang: t }),
|
|
4175
|
+
this.$$set({ lang: t }), G();
|
|
4141
4176
|
}
|
|
4142
4177
|
get clientstyling() {
|
|
4143
4178
|
return this.$$.ctx[9];
|
|
4144
4179
|
}
|
|
4145
4180
|
set clientstyling(t) {
|
|
4146
|
-
this.$$set({ clientstyling: t }),
|
|
4181
|
+
this.$$set({ clientstyling: t }), G();
|
|
4147
4182
|
}
|
|
4148
4183
|
get clientstylingurl() {
|
|
4149
4184
|
return this.$$.ctx[10];
|
|
4150
4185
|
}
|
|
4151
4186
|
set clientstylingurl(t) {
|
|
4152
|
-
this.$$set({ clientstylingurl: t }),
|
|
4187
|
+
this.$$set({ clientstylingurl: t }), G();
|
|
4153
4188
|
}
|
|
4154
4189
|
get translationurl() {
|
|
4155
4190
|
return this.$$.ctx[11];
|
|
4156
4191
|
}
|
|
4157
4192
|
set translationurl(t) {
|
|
4158
|
-
this.$$set({ translationurl: t }),
|
|
4193
|
+
this.$$set({ translationurl: t }), G();
|
|
4194
|
+
}
|
|
4195
|
+
get mbsource() {
|
|
4196
|
+
return this.$$.ctx[12];
|
|
4197
|
+
}
|
|
4198
|
+
set mbsource(t) {
|
|
4199
|
+
this.$$set({ mbsource: t }), G();
|
|
4159
4200
|
}
|
|
4160
4201
|
}
|
|
4161
|
-
|
|
4202
|
+
ar(ai, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4162
4203
|
export {
|
|
4163
|
-
|
|
4204
|
+
ai as C
|
|
4164
4205
|
};
|