@everymatrix/casino-categories-vendor-bar 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesVendorBar-CZKr3Jtz.js → CasinoCategoriesVendorBar-BLRV7eGP.js} +653 -598
- package/components/{CasinoCategoriesVendorBar-CYyMEwXk.js → CasinoCategoriesVendorBar-Bi1FrQqq.js} +636 -581
- package/components/CasinoCategoriesVendorBar-Kyz7rH6A.cjs +18 -0
- package/es2015/casino-categories-vendor-bar.cjs +1 -1
- package/es2015/casino-categories-vendor-bar.js +1 -1
- package/esnext/casino-categories-vendor-bar.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesVendorBar-cOnoAvlZ.cjs +0 -5
package/components/{CasinoCategoriesVendorBar-CZKr3Jtz.js → CasinoCategoriesVendorBar-BLRV7eGP.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ne = (e, t, r) => t in e ?
|
|
1
|
+
var jr = Object.defineProperty, Vr = Object.defineProperties;
|
|
2
|
+
var Wr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var dt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ne = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Xr.call(t, r) && Ne(e, r, t[r]);
|
|
8
|
+
if (dt)
|
|
9
|
+
for (var r of dt(t))
|
|
10
|
+
zr.call(t, r) && Ne(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var G = (e, t, r) => Ne(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
12
|
+
}, mt = (e, t) => Vr(e, Wr(t));
|
|
13
|
+
var G = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var bt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,29 +29,29 @@ var dt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Yt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function gt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Yt);
|
|
40
40
|
}
|
|
41
41
|
function Te(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function qt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let be;
|
|
48
48
|
function we(e, t) {
|
|
49
49
|
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Zr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Qr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -63,15 +63,16 @@ function Wr(e, ...t) {
|
|
|
63
63
|
function H(e, t) {
|
|
64
64
|
e.appendChild(t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
66
|
+
function Yr(e, t, r) {
|
|
67
|
+
const n = qr(e);
|
|
68
68
|
if (!n.getElementById(t)) {
|
|
69
69
|
const i = T("style");
|
|
70
|
-
i.id = t, i.textContent = r,
|
|
70
|
+
i.id = t, i.textContent = r, Jr(n, i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
if (!e)
|
|
73
|
+
function qr(e) {
|
|
74
|
+
if (!e)
|
|
75
|
+
return document;
|
|
75
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
76
77
|
return t && /** @type {ShadowRoot} */
|
|
77
78
|
t.host ? (
|
|
@@ -79,14 +80,14 @@ function zr(e) {
|
|
|
79
80
|
t
|
|
80
81
|
) : e.ownerDocument;
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
+
function Jr(e, t) {
|
|
83
84
|
return H(
|
|
84
85
|
/** @type {Document} */
|
|
85
86
|
e.head || e,
|
|
86
87
|
t
|
|
87
88
|
), t.sheet;
|
|
88
89
|
}
|
|
89
|
-
function
|
|
90
|
+
function M(e, t, r) {
|
|
90
91
|
e.insertBefore(t, r || null);
|
|
91
92
|
}
|
|
92
93
|
function B(e) {
|
|
@@ -101,7 +102,7 @@ function me(e) {
|
|
|
101
102
|
function F() {
|
|
102
103
|
return me(" ");
|
|
103
104
|
}
|
|
104
|
-
function
|
|
105
|
+
function ot() {
|
|
105
106
|
return me("");
|
|
106
107
|
}
|
|
107
108
|
function K(e, t, r, n) {
|
|
@@ -110,14 +111,14 @@ function K(e, t, r, n) {
|
|
|
110
111
|
function E(e, t, r) {
|
|
111
112
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
+
function Kr(e) {
|
|
114
115
|
return Array.from(e.childNodes);
|
|
115
116
|
}
|
|
116
|
-
function
|
|
117
|
+
function st(e, t) {
|
|
117
118
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
118
119
|
t);
|
|
119
120
|
}
|
|
120
|
-
function
|
|
121
|
+
function en(e) {
|
|
121
122
|
const t = {};
|
|
122
123
|
return e.childNodes.forEach(
|
|
123
124
|
/** @param {Element} node */
|
|
@@ -130,21 +131,22 @@ let fe;
|
|
|
130
131
|
function ce(e) {
|
|
131
132
|
fe = e;
|
|
132
133
|
}
|
|
133
|
-
function
|
|
134
|
-
if (!fe)
|
|
134
|
+
function tn() {
|
|
135
|
+
if (!fe)
|
|
136
|
+
throw new Error("Function called outside component initialization");
|
|
135
137
|
return fe;
|
|
136
138
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
139
|
+
function rn(e) {
|
|
140
|
+
tn().$$.on_mount.push(e);
|
|
139
141
|
}
|
|
140
142
|
const J = [], ee = [];
|
|
141
143
|
let te = [];
|
|
142
|
-
const
|
|
143
|
-
let
|
|
144
|
-
function
|
|
145
|
-
|
|
144
|
+
const vt = [], nn = /* @__PURE__ */ Promise.resolve();
|
|
145
|
+
let Ve = !1;
|
|
146
|
+
function on() {
|
|
147
|
+
Ve || (Ve = !0, nn.then(U));
|
|
146
148
|
}
|
|
147
|
-
function
|
|
149
|
+
function We(e) {
|
|
148
150
|
te.push(e);
|
|
149
151
|
}
|
|
150
152
|
const Re = /* @__PURE__ */ new Set();
|
|
@@ -157,47 +159,49 @@ function U() {
|
|
|
157
159
|
try {
|
|
158
160
|
for (; Y < J.length; ) {
|
|
159
161
|
const t = J[Y];
|
|
160
|
-
Y++, ce(t),
|
|
162
|
+
Y++, ce(t), sn(t.$$);
|
|
161
163
|
}
|
|
162
164
|
} catch (t) {
|
|
163
165
|
throw J.length = 0, Y = 0, t;
|
|
164
166
|
}
|
|
165
|
-
for (ce(null), J.length = 0, Y = 0; ee.length; )
|
|
167
|
+
for (ce(null), J.length = 0, Y = 0; ee.length; )
|
|
168
|
+
ee.pop()();
|
|
166
169
|
for (let t = 0; t < te.length; t += 1) {
|
|
167
170
|
const r = te[t];
|
|
168
171
|
Re.has(r) || (Re.add(r), r());
|
|
169
172
|
}
|
|
170
173
|
te.length = 0;
|
|
171
174
|
} while (J.length);
|
|
172
|
-
for (;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
+
for (; vt.length; )
|
|
176
|
+
vt.pop()();
|
|
177
|
+
Ve = !1, Re.clear(), ce(e);
|
|
175
178
|
}
|
|
176
|
-
function
|
|
179
|
+
function sn(e) {
|
|
177
180
|
if (e.fragment !== null) {
|
|
178
181
|
e.update(), z(e.before_update);
|
|
179
182
|
const t = e.dirty;
|
|
180
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
183
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
181
184
|
}
|
|
182
185
|
}
|
|
183
|
-
function
|
|
186
|
+
function an(e) {
|
|
184
187
|
const t = [], r = [];
|
|
185
188
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
186
189
|
}
|
|
187
|
-
const
|
|
188
|
-
function
|
|
189
|
-
e && e.i && (
|
|
190
|
+
const ln = /* @__PURE__ */ new Set();
|
|
191
|
+
function Jt(e, t) {
|
|
192
|
+
e && e.i && (ln.delete(e), e.i(t));
|
|
190
193
|
}
|
|
191
|
-
function
|
|
194
|
+
function yt(e) {
|
|
192
195
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
193
196
|
}
|
|
194
|
-
function
|
|
197
|
+
function un(e, t) {
|
|
195
198
|
e.d(1), t.delete(e.key);
|
|
196
199
|
}
|
|
197
|
-
function
|
|
200
|
+
function hn(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
198
201
|
let f = e.length, b = o.length, p = f;
|
|
199
202
|
const m = {};
|
|
200
|
-
for (; p--; )
|
|
203
|
+
for (; p--; )
|
|
204
|
+
m[e[p].key] = p;
|
|
201
205
|
const w = [], P = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), I = [];
|
|
202
206
|
for (p = b; p--; ) {
|
|
203
207
|
const g = c(i, o, p), $ = r(g);
|
|
@@ -206,7 +210,7 @@ function sn(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
|
206
210
|
}
|
|
207
211
|
const L = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
|
|
208
212
|
function R(g) {
|
|
209
|
-
|
|
213
|
+
Jt(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, b--;
|
|
210
214
|
}
|
|
211
215
|
for (; f && b; ) {
|
|
212
216
|
const g = w[b - 1], $ = e[f - 1], k = g.key, Q = $.key;
|
|
@@ -216,24 +220,25 @@ function sn(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
|
216
220
|
const g = e[f];
|
|
217
221
|
P.has(g.key) || l(g, s);
|
|
218
222
|
}
|
|
219
|
-
for (; b; )
|
|
223
|
+
for (; b; )
|
|
224
|
+
R(w[b - 1]);
|
|
220
225
|
return z(I), w;
|
|
221
226
|
}
|
|
222
|
-
function
|
|
227
|
+
function cn(e, t, r) {
|
|
223
228
|
const { fragment: n, after_update: i } = e.$$;
|
|
224
|
-
n && n.m(t, r),
|
|
225
|
-
const o = e.$$.on_mount.map(
|
|
229
|
+
n && n.m(t, r), We(() => {
|
|
230
|
+
const o = e.$$.on_mount.map(Yt).filter(Te);
|
|
226
231
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
|
|
227
|
-
}), i.forEach(
|
|
232
|
+
}), i.forEach(We);
|
|
228
233
|
}
|
|
229
|
-
function
|
|
234
|
+
function fn(e, t) {
|
|
230
235
|
const r = e.$$;
|
|
231
|
-
r.fragment !== null && (
|
|
236
|
+
r.fragment !== null && (an(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
232
237
|
}
|
|
233
|
-
function
|
|
234
|
-
e.$$.dirty[0] === -1 && (J.push(e),
|
|
238
|
+
function dn(e, t) {
|
|
239
|
+
e.$$.dirty[0] === -1 && (J.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
235
240
|
}
|
|
236
|
-
function
|
|
241
|
+
function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
237
242
|
const l = fe;
|
|
238
243
|
ce(e);
|
|
239
244
|
const u = e.$$ = {
|
|
@@ -243,7 +248,7 @@ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
243
248
|
props: o,
|
|
244
249
|
update: D,
|
|
245
250
|
not_equal: i,
|
|
246
|
-
bound:
|
|
251
|
+
bound: gt(),
|
|
247
252
|
// lifecycle
|
|
248
253
|
on_mount: [],
|
|
249
254
|
on_destroy: [],
|
|
@@ -252,7 +257,7 @@ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
252
257
|
after_update: [],
|
|
253
258
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
254
259
|
// everything else
|
|
255
|
-
callbacks:
|
|
260
|
+
callbacks: gt(),
|
|
256
261
|
dirty: a,
|
|
257
262
|
skip_bound: !1,
|
|
258
263
|
root: t.target || l.$$.root
|
|
@@ -261,19 +266,19 @@ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
261
266
|
let h = !1;
|
|
262
267
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
|
263
268
|
const p = b.length ? b[0] : f;
|
|
264
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h &&
|
|
269
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && dn(e, c)), f;
|
|
265
270
|
}) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
266
271
|
if (t.hydrate) {
|
|
267
|
-
const c =
|
|
272
|
+
const c = Kr(t.target);
|
|
268
273
|
u.fragment && u.fragment.l(c), c.forEach(B);
|
|
269
274
|
} else
|
|
270
275
|
u.fragment && u.fragment.c();
|
|
271
|
-
t.intro &&
|
|
276
|
+
t.intro && Jt(e.$$.fragment), cn(e, t.target, t.anchor), U();
|
|
272
277
|
}
|
|
273
278
|
ce(l);
|
|
274
279
|
}
|
|
275
|
-
let
|
|
276
|
-
typeof HTMLElement == "function" && (
|
|
280
|
+
let Kt;
|
|
281
|
+
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
277
282
|
constructor(t, r, n) {
|
|
278
283
|
super();
|
|
279
284
|
/** The Svelte component constructor */
|
|
@@ -310,7 +315,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
310
315
|
}
|
|
311
316
|
}
|
|
312
317
|
connectedCallback() {
|
|
313
|
-
return
|
|
318
|
+
return bt(this, null, function* () {
|
|
314
319
|
if (this.$$cn = !0, !this.$$c) {
|
|
315
320
|
let t = function(o) {
|
|
316
321
|
return () => {
|
|
@@ -324,7 +329,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
324
329
|
* @param {HTMLElement} [anchor]
|
|
325
330
|
*/
|
|
326
331
|
m: function(u, h) {
|
|
327
|
-
|
|
332
|
+
M(u, s, h);
|
|
328
333
|
},
|
|
329
334
|
d: function(u) {
|
|
330
335
|
u && B(s);
|
|
@@ -334,7 +339,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
334
339
|
};
|
|
335
340
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
336
341
|
return;
|
|
337
|
-
const r = {}, n =
|
|
342
|
+
const r = {}, n = en(this);
|
|
338
343
|
for (const o of this.$$s)
|
|
339
344
|
o in n && (r[o] = [t(o)]);
|
|
340
345
|
for (const o of this.attributes) {
|
|
@@ -345,7 +350,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
345
350
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
346
351
|
this.$$c = new this.$$ctor({
|
|
347
352
|
target: this.shadowRoot || this,
|
|
348
|
-
props:
|
|
353
|
+
props: mt(pt({}, this.$$d), {
|
|
349
354
|
$$slots: r,
|
|
350
355
|
$$scope: {
|
|
351
356
|
ctx: []
|
|
@@ -423,8 +428,8 @@ function ye(e, t, r, n) {
|
|
|
423
428
|
return t;
|
|
424
429
|
}
|
|
425
430
|
}
|
|
426
|
-
function
|
|
427
|
-
let s = class extends
|
|
431
|
+
function mn(e, t, r, n, i, o) {
|
|
432
|
+
let s = class extends Kt {
|
|
428
433
|
constructor() {
|
|
429
434
|
super(e, r, i), this.$$p_d = t;
|
|
430
435
|
}
|
|
@@ -454,7 +459,7 @@ function cn(e, t, r, n, i, o) {
|
|
|
454
459
|
}), e.element = /** @type {any} */
|
|
455
460
|
s, s;
|
|
456
461
|
}
|
|
457
|
-
class
|
|
462
|
+
class bn {
|
|
458
463
|
constructor() {
|
|
459
464
|
/**
|
|
460
465
|
* ### PRIVATE API
|
|
@@ -475,7 +480,7 @@ class fn {
|
|
|
475
480
|
}
|
|
476
481
|
/** @returns {void} */
|
|
477
482
|
$destroy() {
|
|
478
|
-
|
|
483
|
+
fn(this, 1), this.$destroy = D;
|
|
479
484
|
}
|
|
480
485
|
/**
|
|
481
486
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -497,22 +502,37 @@ class fn {
|
|
|
497
502
|
* @returns {void}
|
|
498
503
|
*/
|
|
499
504
|
$set(t) {
|
|
500
|
-
this.$$set && !
|
|
505
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
501
506
|
}
|
|
502
507
|
}
|
|
503
|
-
const
|
|
504
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
505
|
-
|
|
506
|
-
|
|
508
|
+
const gn = "4";
|
|
509
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
510
|
+
/*! *****************************************************************************
|
|
511
|
+
Copyright (c) Microsoft Corporation.
|
|
512
|
+
|
|
513
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
514
|
+
purpose with or without fee is hereby granted.
|
|
515
|
+
|
|
516
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
517
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
518
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
519
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
520
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
521
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
522
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
523
|
+
***************************************************************************** */
|
|
524
|
+
var Xe = function(e, t) {
|
|
525
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
507
526
|
r.__proto__ = n;
|
|
508
527
|
} || function(r, n) {
|
|
509
|
-
for (var i in n)
|
|
510
|
-
|
|
528
|
+
for (var i in n)
|
|
529
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
530
|
+
}, Xe(e, t);
|
|
511
531
|
};
|
|
512
532
|
function V(e, t) {
|
|
513
533
|
if (typeof t != "function" && t !== null)
|
|
514
534
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
515
|
-
|
|
535
|
+
Xe(e, t);
|
|
516
536
|
function r() {
|
|
517
537
|
this.constructor = e;
|
|
518
538
|
}
|
|
@@ -522,61 +542,69 @@ var _ = function() {
|
|
|
522
542
|
return _ = Object.assign || function(t) {
|
|
523
543
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
524
544
|
r = arguments[n];
|
|
525
|
-
for (var o in r)
|
|
545
|
+
for (var o in r)
|
|
546
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
526
547
|
}
|
|
527
548
|
return t;
|
|
528
549
|
}, _.apply(this, arguments);
|
|
529
550
|
};
|
|
530
|
-
function
|
|
551
|
+
function vn(e, t) {
|
|
531
552
|
var r = {};
|
|
532
|
-
for (var n in e)
|
|
553
|
+
for (var n in e)
|
|
554
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
533
555
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
534
556
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
535
557
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
536
558
|
return r;
|
|
537
559
|
}
|
|
538
|
-
function
|
|
560
|
+
function ze(e) {
|
|
539
561
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
540
|
-
if (r)
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
562
|
+
if (r)
|
|
563
|
+
return r.call(e);
|
|
564
|
+
if (e && typeof e.length == "number")
|
|
565
|
+
return {
|
|
566
|
+
next: function() {
|
|
567
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
568
|
+
}
|
|
569
|
+
};
|
|
546
570
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
547
571
|
}
|
|
548
|
-
function
|
|
572
|
+
function Ze(e, t) {
|
|
549
573
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
550
|
-
if (!r)
|
|
574
|
+
if (!r)
|
|
575
|
+
return e;
|
|
551
576
|
var n = r.call(e), i, o = [], s;
|
|
552
577
|
try {
|
|
553
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
578
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
579
|
+
o.push(i.value);
|
|
554
580
|
} catch (a) {
|
|
555
581
|
s = { error: a };
|
|
556
582
|
} finally {
|
|
557
583
|
try {
|
|
558
584
|
i && !i.done && (r = n.return) && r.call(n);
|
|
559
585
|
} finally {
|
|
560
|
-
if (s)
|
|
586
|
+
if (s)
|
|
587
|
+
throw s.error;
|
|
561
588
|
}
|
|
562
589
|
}
|
|
563
590
|
return o;
|
|
564
591
|
}
|
|
565
592
|
function re(e, t, r) {
|
|
566
|
-
if (r || arguments.length === 2)
|
|
567
|
-
(
|
|
568
|
-
|
|
593
|
+
if (r || arguments.length === 2)
|
|
594
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
595
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
596
|
+
return e.concat(o || t);
|
|
569
597
|
}
|
|
570
598
|
function j(e) {
|
|
571
599
|
return typeof e == "function";
|
|
572
600
|
}
|
|
573
|
-
function
|
|
601
|
+
function er(e) {
|
|
574
602
|
var t = function(n) {
|
|
575
603
|
Error.call(n), n.stack = new Error().stack;
|
|
576
604
|
}, r = e(t);
|
|
577
605
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
578
606
|
}
|
|
579
|
-
var Ue =
|
|
607
|
+
var Ue = er(function(e) {
|
|
580
608
|
return function(r) {
|
|
581
609
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
582
610
|
` + r.map(function(n, i) {
|
|
@@ -585,7 +613,7 @@ var Ue = qt(function(e) {
|
|
|
585
613
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
586
614
|
};
|
|
587
615
|
});
|
|
588
|
-
function
|
|
616
|
+
function Qe(e, t) {
|
|
589
617
|
if (e) {
|
|
590
618
|
var r = e.indexOf(t);
|
|
591
619
|
0 <= r && e.splice(r, 1);
|
|
@@ -603,7 +631,7 @@ var He = function() {
|
|
|
603
631
|
if (s)
|
|
604
632
|
if (this._parentage = null, Array.isArray(s))
|
|
605
633
|
try {
|
|
606
|
-
for (var a =
|
|
634
|
+
for (var a = ze(s), l = a.next(); !l.done; l = a.next()) {
|
|
607
635
|
var u = l.value;
|
|
608
636
|
u.remove(this);
|
|
609
637
|
}
|
|
@@ -613,7 +641,8 @@ var He = function() {
|
|
|
613
641
|
try {
|
|
614
642
|
l && !l.done && (r = a.return) && r.call(a);
|
|
615
643
|
} finally {
|
|
616
|
-
if (t)
|
|
644
|
+
if (t)
|
|
645
|
+
throw t.error;
|
|
617
646
|
}
|
|
618
647
|
}
|
|
619
648
|
else
|
|
@@ -629,12 +658,12 @@ var He = function() {
|
|
|
629
658
|
if (c) {
|
|
630
659
|
this._finalizers = null;
|
|
631
660
|
try {
|
|
632
|
-
for (var f =
|
|
661
|
+
for (var f = ze(c), b = f.next(); !b.done; b = f.next()) {
|
|
633
662
|
var p = b.value;
|
|
634
663
|
try {
|
|
635
|
-
|
|
664
|
+
_t(p);
|
|
636
665
|
} catch (m) {
|
|
637
|
-
o = o != null ? o : [], m instanceof Ue ? o = re(re([],
|
|
666
|
+
o = o != null ? o : [], m instanceof Ue ? o = re(re([], Ze(o)), Ze(m.errors)) : o.push(m);
|
|
638
667
|
}
|
|
639
668
|
}
|
|
640
669
|
} catch (m) {
|
|
@@ -643,7 +672,8 @@ var He = function() {
|
|
|
643
672
|
try {
|
|
644
673
|
b && !b.done && (i = f.return) && i.call(f);
|
|
645
674
|
} finally {
|
|
646
|
-
if (n)
|
|
675
|
+
if (n)
|
|
676
|
+
throw n.error;
|
|
647
677
|
}
|
|
648
678
|
}
|
|
649
679
|
}
|
|
@@ -654,7 +684,7 @@ var He = function() {
|
|
|
654
684
|
var r;
|
|
655
685
|
if (t && t !== this)
|
|
656
686
|
if (this.closed)
|
|
657
|
-
|
|
687
|
+
_t(t);
|
|
658
688
|
else {
|
|
659
689
|
if (t instanceof e) {
|
|
660
690
|
if (t.closed || t._hasParent(this))
|
|
@@ -671,52 +701,56 @@ var He = function() {
|
|
|
671
701
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
672
702
|
}, e.prototype._removeParent = function(t) {
|
|
673
703
|
var r = this._parentage;
|
|
674
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
704
|
+
r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
|
|
675
705
|
}, e.prototype.remove = function(t) {
|
|
676
706
|
var r = this._finalizers;
|
|
677
|
-
r &&
|
|
707
|
+
r && Qe(r, t), t instanceof e && t._removeParent(this);
|
|
678
708
|
}, e.EMPTY = function() {
|
|
679
709
|
var t = new e();
|
|
680
710
|
return t.closed = !0, t;
|
|
681
711
|
}(), e;
|
|
682
|
-
}(),
|
|
683
|
-
function
|
|
712
|
+
}(), tr = He.EMPTY;
|
|
713
|
+
function rr(e) {
|
|
684
714
|
return e instanceof He || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
|
|
685
715
|
}
|
|
686
|
-
function
|
|
716
|
+
function _t(e) {
|
|
687
717
|
j(e) ? e() : e.unsubscribe();
|
|
688
718
|
}
|
|
689
|
-
var
|
|
690
|
-
|
|
691
|
-
|
|
719
|
+
var nr = {
|
|
720
|
+
onUnhandledError: null,
|
|
721
|
+
onStoppedNotification: null,
|
|
722
|
+
Promise: void 0,
|
|
723
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
724
|
+
useDeprecatedNextContext: !1
|
|
725
|
+
}, yn = {
|
|
692
726
|
setTimeout: function(e, t) {
|
|
693
727
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
694
728
|
r[n - 2] = arguments[n];
|
|
695
|
-
return setTimeout.apply(void 0, re([e, t],
|
|
729
|
+
return setTimeout.apply(void 0, re([e, t], Ze(r)));
|
|
696
730
|
},
|
|
697
731
|
clearTimeout: function(e) {
|
|
698
732
|
return clearTimeout(e);
|
|
699
733
|
},
|
|
700
734
|
delegate: void 0
|
|
701
735
|
};
|
|
702
|
-
function
|
|
703
|
-
|
|
736
|
+
function _n(e) {
|
|
737
|
+
yn.setTimeout(function() {
|
|
704
738
|
throw e;
|
|
705
739
|
});
|
|
706
740
|
}
|
|
707
|
-
function
|
|
741
|
+
function xt() {
|
|
708
742
|
}
|
|
709
743
|
function _e(e) {
|
|
710
744
|
e();
|
|
711
745
|
}
|
|
712
|
-
var
|
|
746
|
+
var ir = function(e) {
|
|
713
747
|
V(t, e);
|
|
714
748
|
function t(r) {
|
|
715
749
|
var n = e.call(this) || this;
|
|
716
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
750
|
+
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = Cn, n;
|
|
717
751
|
}
|
|
718
752
|
return t.create = function(r, n, i) {
|
|
719
|
-
return new
|
|
753
|
+
return new Ye(r, n, i);
|
|
720
754
|
}, t.prototype.next = function(r) {
|
|
721
755
|
this.isStopped || this._next(r);
|
|
722
756
|
}, t.prototype.error = function(r) {
|
|
@@ -740,7 +774,11 @@ var er = function(e) {
|
|
|
740
774
|
this.unsubscribe();
|
|
741
775
|
}
|
|
742
776
|
}, t;
|
|
743
|
-
}(He),
|
|
777
|
+
}(He), xn = Function.prototype.bind;
|
|
778
|
+
function De(e, t) {
|
|
779
|
+
return xn.call(e, t);
|
|
780
|
+
}
|
|
781
|
+
var En = function() {
|
|
744
782
|
function e(t) {
|
|
745
783
|
this.partialObserver = t;
|
|
746
784
|
}
|
|
@@ -771,43 +809,55 @@ var er = function(e) {
|
|
|
771
809
|
ge(r);
|
|
772
810
|
}
|
|
773
811
|
}, e;
|
|
774
|
-
}(),
|
|
812
|
+
}(), Ye = function(e) {
|
|
775
813
|
V(t, e);
|
|
776
814
|
function t(r, n, i) {
|
|
777
815
|
var o = e.call(this) || this, s;
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
816
|
+
if (j(r) || !r)
|
|
817
|
+
s = {
|
|
818
|
+
next: r != null ? r : void 0,
|
|
819
|
+
error: n != null ? n : void 0,
|
|
820
|
+
complete: i != null ? i : void 0
|
|
821
|
+
};
|
|
822
|
+
else {
|
|
823
|
+
var a;
|
|
824
|
+
o && nr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
825
|
+
return o.unsubscribe();
|
|
826
|
+
}, s = {
|
|
827
|
+
next: r.next && De(r.next, a),
|
|
828
|
+
error: r.error && De(r.error, a),
|
|
829
|
+
complete: r.complete && De(r.complete, a)
|
|
830
|
+
}) : s = r;
|
|
831
|
+
}
|
|
832
|
+
return o.destination = new En(s), o;
|
|
783
833
|
}
|
|
784
834
|
return t;
|
|
785
|
-
}(
|
|
835
|
+
}(ir);
|
|
786
836
|
function ge(e) {
|
|
787
|
-
|
|
837
|
+
_n(e);
|
|
788
838
|
}
|
|
789
|
-
function
|
|
839
|
+
function wn(e) {
|
|
790
840
|
throw e;
|
|
791
841
|
}
|
|
792
|
-
var
|
|
842
|
+
var Cn = {
|
|
793
843
|
closed: !0,
|
|
794
|
-
next:
|
|
795
|
-
error:
|
|
796
|
-
complete:
|
|
797
|
-
},
|
|
844
|
+
next: xt,
|
|
845
|
+
error: wn,
|
|
846
|
+
complete: xt
|
|
847
|
+
}, Sn = function() {
|
|
798
848
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
799
849
|
}();
|
|
800
|
-
function
|
|
850
|
+
function Tn(e) {
|
|
801
851
|
return e;
|
|
802
852
|
}
|
|
803
|
-
function
|
|
804
|
-
return e.length === 0 ?
|
|
853
|
+
function Hn(e) {
|
|
854
|
+
return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
|
|
805
855
|
return e.reduce(function(n, i) {
|
|
806
856
|
return i(n);
|
|
807
857
|
}, r);
|
|
808
858
|
};
|
|
809
859
|
}
|
|
810
|
-
var
|
|
860
|
+
var Et = function() {
|
|
811
861
|
function e(t) {
|
|
812
862
|
t && (this._subscribe = t);
|
|
813
863
|
}
|
|
@@ -815,7 +865,7 @@ var yt = function() {
|
|
|
815
865
|
var r = new e();
|
|
816
866
|
return r.source = this, r.operator = t, r;
|
|
817
867
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
818
|
-
var i = this, o =
|
|
868
|
+
var i = this, o = In(t) ? t : new Ye(t, r, n);
|
|
819
869
|
return _e(function() {
|
|
820
870
|
var s = i, a = s.operator, l = s.source;
|
|
821
871
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -828,8 +878,8 @@ var yt = function() {
|
|
|
828
878
|
}
|
|
829
879
|
}, e.prototype.forEach = function(t, r) {
|
|
830
880
|
var n = this;
|
|
831
|
-
return r =
|
|
832
|
-
var s = new
|
|
881
|
+
return r = wt(r), new r(function(i, o) {
|
|
882
|
+
var s = new Ye({
|
|
833
883
|
next: function(a) {
|
|
834
884
|
try {
|
|
835
885
|
t(a);
|
|
@@ -845,15 +895,15 @@ var yt = function() {
|
|
|
845
895
|
}, e.prototype._subscribe = function(t) {
|
|
846
896
|
var r;
|
|
847
897
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
848
|
-
}, e.prototype[
|
|
898
|
+
}, e.prototype[Sn] = function() {
|
|
849
899
|
return this;
|
|
850
900
|
}, e.prototype.pipe = function() {
|
|
851
901
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
852
902
|
t[r] = arguments[r];
|
|
853
|
-
return
|
|
903
|
+
return Hn(t)(this);
|
|
854
904
|
}, e.prototype.toPromise = function(t) {
|
|
855
905
|
var r = this;
|
|
856
|
-
return t =
|
|
906
|
+
return t = wt(t), new t(function(n, i) {
|
|
857
907
|
var o;
|
|
858
908
|
r.subscribe(function(s) {
|
|
859
909
|
return o = s;
|
|
@@ -867,32 +917,32 @@ var yt = function() {
|
|
|
867
917
|
return new e(t);
|
|
868
918
|
}, e;
|
|
869
919
|
}();
|
|
870
|
-
function
|
|
920
|
+
function wt(e) {
|
|
871
921
|
var t;
|
|
872
|
-
return (t = e != null ? e :
|
|
922
|
+
return (t = e != null ? e : nr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
873
923
|
}
|
|
874
|
-
function
|
|
924
|
+
function An(e) {
|
|
875
925
|
return e && j(e.next) && j(e.error) && j(e.complete);
|
|
876
926
|
}
|
|
877
|
-
function
|
|
878
|
-
return e && e instanceof
|
|
927
|
+
function In(e) {
|
|
928
|
+
return e && e instanceof ir || An(e) && rr(e);
|
|
879
929
|
}
|
|
880
|
-
var
|
|
930
|
+
var Bn = er(function(e) {
|
|
881
931
|
return function() {
|
|
882
932
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
883
933
|
};
|
|
884
|
-
}),
|
|
934
|
+
}), or = function(e) {
|
|
885
935
|
V(t, e);
|
|
886
936
|
function t() {
|
|
887
937
|
var r = e.call(this) || this;
|
|
888
938
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
889
939
|
}
|
|
890
940
|
return t.prototype.lift = function(r) {
|
|
891
|
-
var n = new
|
|
941
|
+
var n = new Ct(this, this);
|
|
892
942
|
return n.operator = r, n;
|
|
893
943
|
}, t.prototype._throwIfClosed = function() {
|
|
894
944
|
if (this.closed)
|
|
895
|
-
throw new
|
|
945
|
+
throw new Bn();
|
|
896
946
|
}, t.prototype.next = function(r) {
|
|
897
947
|
var n = this;
|
|
898
948
|
_e(function() {
|
|
@@ -900,7 +950,7 @@ var Tn = qt(function(e) {
|
|
|
900
950
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
901
951
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
902
952
|
try {
|
|
903
|
-
for (var s =
|
|
953
|
+
for (var s = ze(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
904
954
|
var l = a.value;
|
|
905
955
|
l.next(r);
|
|
906
956
|
}
|
|
@@ -910,7 +960,8 @@ var Tn = qt(function(e) {
|
|
|
910
960
|
try {
|
|
911
961
|
a && !a.done && (o = s.return) && o.call(s);
|
|
912
962
|
} finally {
|
|
913
|
-
if (i)
|
|
963
|
+
if (i)
|
|
964
|
+
throw i.error;
|
|
914
965
|
}
|
|
915
966
|
}
|
|
916
967
|
}
|
|
@@ -948,19 +999,19 @@ var Tn = qt(function(e) {
|
|
|
948
999
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
949
1000
|
}, t.prototype._innerSubscribe = function(r) {
|
|
950
1001
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
951
|
-
return o || s ?
|
|
952
|
-
n.currentObservers = null,
|
|
1002
|
+
return o || s ? tr : (this.currentObservers = null, a.push(r), new He(function() {
|
|
1003
|
+
n.currentObservers = null, Qe(a, r);
|
|
953
1004
|
}));
|
|
954
1005
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
955
1006
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
956
1007
|
i ? r.error(o) : s && r.complete();
|
|
957
1008
|
}, t.prototype.asObservable = function() {
|
|
958
|
-
var r = new
|
|
1009
|
+
var r = new Et();
|
|
959
1010
|
return r.source = this, r;
|
|
960
1011
|
}, t.create = function(r, n) {
|
|
961
|
-
return new
|
|
1012
|
+
return new Ct(r, n);
|
|
962
1013
|
}, t;
|
|
963
|
-
}(
|
|
1014
|
+
}(Et), Ct = function(e) {
|
|
964
1015
|
V(t, e);
|
|
965
1016
|
function t(r, n) {
|
|
966
1017
|
var i = e.call(this) || this;
|
|
@@ -977,17 +1028,17 @@ var Tn = qt(function(e) {
|
|
|
977
1028
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
978
1029
|
}, t.prototype._subscribe = function(r) {
|
|
979
1030
|
var n, i;
|
|
980
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1031
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
|
|
981
1032
|
}, t;
|
|
982
|
-
}(
|
|
1033
|
+
}(or), sr = {
|
|
983
1034
|
now: function() {
|
|
984
|
-
return (
|
|
1035
|
+
return (sr.delegate || Date).now();
|
|
985
1036
|
},
|
|
986
1037
|
delegate: void 0
|
|
987
|
-
},
|
|
1038
|
+
}, Pn = function(e) {
|
|
988
1039
|
V(t, e);
|
|
989
1040
|
function t(r, n, i) {
|
|
990
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1041
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
991
1042
|
var o = e.call(this) || this;
|
|
992
1043
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
993
1044
|
}
|
|
@@ -1007,15 +1058,15 @@ var Tn = qt(function(e) {
|
|
|
1007
1058
|
u && o.splice(0, u + 1);
|
|
1008
1059
|
}
|
|
1009
1060
|
}, t;
|
|
1010
|
-
}(
|
|
1011
|
-
const
|
|
1012
|
-
if (
|
|
1013
|
-
const r = new
|
|
1014
|
-
|
|
1061
|
+
}(or);
|
|
1062
|
+
const St = [], Tt = {}, Mn = (e, t = 0) => {
|
|
1063
|
+
if (St.indexOf(e) == -1) {
|
|
1064
|
+
const r = new Pn(t);
|
|
1065
|
+
Tt[e] = r, St.push(e);
|
|
1015
1066
|
}
|
|
1016
|
-
return
|
|
1067
|
+
return Tt[e];
|
|
1017
1068
|
}, q = [];
|
|
1018
|
-
function
|
|
1069
|
+
function On(e, t) {
|
|
1019
1070
|
return {
|
|
1020
1071
|
subscribe: Ae(e, t).subscribe
|
|
1021
1072
|
};
|
|
@@ -1024,7 +1075,7 @@ function Ae(e, t = D) {
|
|
|
1024
1075
|
let r;
|
|
1025
1076
|
const n = /* @__PURE__ */ new Set();
|
|
1026
1077
|
function i(a) {
|
|
1027
|
-
if (
|
|
1078
|
+
if (qt(e, a) && (e = a, r)) {
|
|
1028
1079
|
const l = !q.length;
|
|
1029
1080
|
for (const u of n)
|
|
1030
1081
|
u[1](), q.push(u, e);
|
|
@@ -1051,7 +1102,7 @@ function ae(e, t, r) {
|
|
|
1051
1102
|
if (!i.every(Boolean))
|
|
1052
1103
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1053
1104
|
const o = t.length < 2;
|
|
1054
|
-
return
|
|
1105
|
+
return On(r, (s, a) => {
|
|
1055
1106
|
let l = !1;
|
|
1056
1107
|
const u = [];
|
|
1057
1108
|
let h = 0, c = D;
|
|
@@ -1062,7 +1113,7 @@ function ae(e, t, r) {
|
|
|
1062
1113
|
const p = t(n ? u[0] : u, s, a);
|
|
1063
1114
|
o ? s(p) : c = Te(p) ? p : D;
|
|
1064
1115
|
}, b = i.map(
|
|
1065
|
-
(p, m) =>
|
|
1116
|
+
(p, m) => Qr(
|
|
1066
1117
|
p,
|
|
1067
1118
|
(w) => {
|
|
1068
1119
|
u[m] = w, h &= ~(1 << m), l && f();
|
|
@@ -1077,70 +1128,70 @@ function ae(e, t, r) {
|
|
|
1077
1128
|
};
|
|
1078
1129
|
});
|
|
1079
1130
|
}
|
|
1080
|
-
function
|
|
1131
|
+
function Ln(e) {
|
|
1081
1132
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1082
1133
|
}
|
|
1083
|
-
var
|
|
1084
|
-
return
|
|
1134
|
+
var Nn = function(t) {
|
|
1135
|
+
return Rn(t) && !Un(t);
|
|
1085
1136
|
};
|
|
1086
|
-
function
|
|
1137
|
+
function Rn(e) {
|
|
1087
1138
|
return !!e && typeof e == "object";
|
|
1088
1139
|
}
|
|
1089
|
-
function
|
|
1140
|
+
function Un(e) {
|
|
1090
1141
|
var t = Object.prototype.toString.call(e);
|
|
1091
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1142
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1092
1143
|
}
|
|
1093
|
-
var
|
|
1094
|
-
function
|
|
1095
|
-
return e.$$typeof ===
|
|
1144
|
+
var Dn = typeof Symbol == "function" && Symbol.for, $n = Dn ? Symbol.for("react.element") : 60103;
|
|
1145
|
+
function kn(e) {
|
|
1146
|
+
return e.$$typeof === $n;
|
|
1096
1147
|
}
|
|
1097
|
-
function
|
|
1148
|
+
function Gn(e) {
|
|
1098
1149
|
return Array.isArray(e) ? [] : {};
|
|
1099
1150
|
}
|
|
1100
1151
|
function de(e, t) {
|
|
1101
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1152
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(Gn(e), e, t) : e;
|
|
1102
1153
|
}
|
|
1103
|
-
function
|
|
1154
|
+
function Fn(e, t, r) {
|
|
1104
1155
|
return e.concat(t).map(function(n) {
|
|
1105
1156
|
return de(n, r);
|
|
1106
1157
|
});
|
|
1107
1158
|
}
|
|
1108
|
-
function
|
|
1159
|
+
function jn(e, t) {
|
|
1109
1160
|
if (!t.customMerge)
|
|
1110
1161
|
return ne;
|
|
1111
1162
|
var r = t.customMerge(e);
|
|
1112
1163
|
return typeof r == "function" ? r : ne;
|
|
1113
1164
|
}
|
|
1114
|
-
function
|
|
1165
|
+
function Vn(e) {
|
|
1115
1166
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1116
1167
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1117
1168
|
}) : [];
|
|
1118
1169
|
}
|
|
1119
|
-
function
|
|
1120
|
-
return Object.keys(e).concat(
|
|
1170
|
+
function Ht(e) {
|
|
1171
|
+
return Object.keys(e).concat(Vn(e));
|
|
1121
1172
|
}
|
|
1122
|
-
function
|
|
1173
|
+
function ar(e, t) {
|
|
1123
1174
|
try {
|
|
1124
1175
|
return t in e;
|
|
1125
1176
|
} catch (r) {
|
|
1126
1177
|
return !1;
|
|
1127
1178
|
}
|
|
1128
1179
|
}
|
|
1129
|
-
function
|
|
1130
|
-
return
|
|
1180
|
+
function Wn(e, t) {
|
|
1181
|
+
return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1131
1182
|
}
|
|
1132
|
-
function
|
|
1183
|
+
function Xn(e, t, r) {
|
|
1133
1184
|
var n = {};
|
|
1134
|
-
return r.isMergeableObject(e) &&
|
|
1185
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1135
1186
|
n[i] = de(e[i], r);
|
|
1136
|
-
}),
|
|
1137
|
-
|
|
1187
|
+
}), Ht(t).forEach(function(i) {
|
|
1188
|
+
Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
1138
1189
|
}), n;
|
|
1139
1190
|
}
|
|
1140
1191
|
function ne(e, t, r) {
|
|
1141
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1192
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = de;
|
|
1142
1193
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1143
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1194
|
+
return o ? n ? r.arrayMerge(e, t, r) : Xn(e, t, r) : de(t, r);
|
|
1144
1195
|
}
|
|
1145
1196
|
ne.all = function(t, r) {
|
|
1146
1197
|
if (!Array.isArray(t))
|
|
@@ -1149,56 +1200,58 @@ ne.all = function(t, r) {
|
|
|
1149
1200
|
return ne(n, i, r);
|
|
1150
1201
|
}, {});
|
|
1151
1202
|
};
|
|
1152
|
-
var
|
|
1153
|
-
const
|
|
1154
|
-
function
|
|
1155
|
-
var r = t && t.cache ? t.cache :
|
|
1203
|
+
var zn = ne, Zn = zn;
|
|
1204
|
+
const Qn = /* @__PURE__ */ Ln(Zn);
|
|
1205
|
+
function $e(e, t) {
|
|
1206
|
+
var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : qn;
|
|
1156
1207
|
return i(e, {
|
|
1157
1208
|
cache: r,
|
|
1158
1209
|
serializer: n
|
|
1159
1210
|
});
|
|
1160
1211
|
}
|
|
1161
|
-
function
|
|
1212
|
+
function Yn(e) {
|
|
1162
1213
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1163
1214
|
}
|
|
1164
|
-
function
|
|
1165
|
-
var i =
|
|
1215
|
+
function lr(e, t, r, n) {
|
|
1216
|
+
var i = Yn(n) ? n : r(n), o = t.get(i);
|
|
1166
1217
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1167
1218
|
}
|
|
1168
|
-
function
|
|
1219
|
+
function ur(e, t, r) {
|
|
1169
1220
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1170
1221
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1171
1222
|
}
|
|
1172
|
-
function
|
|
1223
|
+
function at(e, t, r, n, i) {
|
|
1173
1224
|
return r.bind(t, e, n, i);
|
|
1174
1225
|
}
|
|
1175
|
-
function
|
|
1176
|
-
var r = e.length === 1 ?
|
|
1177
|
-
return
|
|
1226
|
+
function qn(e, t) {
|
|
1227
|
+
var r = e.length === 1 ? lr : ur;
|
|
1228
|
+
return at(e, this, r, t.cache.create(), t.serializer);
|
|
1229
|
+
}
|
|
1230
|
+
function Jn(e, t) {
|
|
1231
|
+
return at(e, this, ur, t.cache.create(), t.serializer);
|
|
1178
1232
|
}
|
|
1179
|
-
function
|
|
1180
|
-
return
|
|
1233
|
+
function Kn(e, t) {
|
|
1234
|
+
return at(e, this, lr, t.cache.create(), t.serializer);
|
|
1181
1235
|
}
|
|
1182
|
-
var
|
|
1236
|
+
var ei = function() {
|
|
1183
1237
|
return JSON.stringify(arguments);
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
}()
|
|
1196
|
-
), Jn = {
|
|
1238
|
+
};
|
|
1239
|
+
function lt() {
|
|
1240
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1241
|
+
}
|
|
1242
|
+
lt.prototype.get = function(e) {
|
|
1243
|
+
return this.cache[e];
|
|
1244
|
+
};
|
|
1245
|
+
lt.prototype.set = function(e, t) {
|
|
1246
|
+
this.cache[e] = t;
|
|
1247
|
+
};
|
|
1248
|
+
var ti = {
|
|
1197
1249
|
create: function() {
|
|
1198
|
-
return new
|
|
1250
|
+
return new lt();
|
|
1199
1251
|
}
|
|
1200
|
-
},
|
|
1201
|
-
variadic:
|
|
1252
|
+
}, ke = {
|
|
1253
|
+
variadic: Jn,
|
|
1254
|
+
monadic: Kn
|
|
1202
1255
|
}, v;
|
|
1203
1256
|
(function(e) {
|
|
1204
1257
|
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";
|
|
@@ -1211,43 +1264,43 @@ var ie;
|
|
|
1211
1264
|
(function(e) {
|
|
1212
1265
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1213
1266
|
})(ie || (ie = {}));
|
|
1214
|
-
function
|
|
1267
|
+
function At(e) {
|
|
1215
1268
|
return e.type === C.literal;
|
|
1216
1269
|
}
|
|
1217
|
-
function
|
|
1270
|
+
function ri(e) {
|
|
1218
1271
|
return e.type === C.argument;
|
|
1219
1272
|
}
|
|
1220
|
-
function
|
|
1273
|
+
function hr(e) {
|
|
1221
1274
|
return e.type === C.number;
|
|
1222
1275
|
}
|
|
1223
|
-
function
|
|
1276
|
+
function cr(e) {
|
|
1224
1277
|
return e.type === C.date;
|
|
1225
1278
|
}
|
|
1226
|
-
function
|
|
1279
|
+
function fr(e) {
|
|
1227
1280
|
return e.type === C.time;
|
|
1228
1281
|
}
|
|
1229
|
-
function
|
|
1282
|
+
function dr(e) {
|
|
1230
1283
|
return e.type === C.select;
|
|
1231
1284
|
}
|
|
1232
|
-
function
|
|
1285
|
+
function pr(e) {
|
|
1233
1286
|
return e.type === C.plural;
|
|
1234
1287
|
}
|
|
1235
|
-
function
|
|
1288
|
+
function ni(e) {
|
|
1236
1289
|
return e.type === C.pound;
|
|
1237
1290
|
}
|
|
1238
|
-
function
|
|
1291
|
+
function mr(e) {
|
|
1239
1292
|
return e.type === C.tag;
|
|
1240
1293
|
}
|
|
1241
|
-
function
|
|
1294
|
+
function br(e) {
|
|
1242
1295
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1243
1296
|
}
|
|
1244
|
-
function
|
|
1297
|
+
function qe(e) {
|
|
1245
1298
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1246
1299
|
}
|
|
1247
|
-
var
|
|
1248
|
-
function
|
|
1300
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
|
|
1301
|
+
function oi(e) {
|
|
1249
1302
|
var t = {};
|
|
1250
|
-
return e.replace(
|
|
1303
|
+
return e.replace(ii, function(r) {
|
|
1251
1304
|
var n = r.length;
|
|
1252
1305
|
switch (r[0]) {
|
|
1253
1306
|
case "G":
|
|
@@ -1336,11 +1389,11 @@ function ri(e) {
|
|
|
1336
1389
|
return "";
|
|
1337
1390
|
}), t;
|
|
1338
1391
|
}
|
|
1339
|
-
var
|
|
1340
|
-
function
|
|
1392
|
+
var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1393
|
+
function ai(e) {
|
|
1341
1394
|
if (e.length === 0)
|
|
1342
1395
|
throw new Error("Number skeleton cannot be empty");
|
|
1343
|
-
for (var t = e.split(
|
|
1396
|
+
for (var t = e.split(si).filter(function(f) {
|
|
1344
1397
|
return f.length > 0;
|
|
1345
1398
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1346
1399
|
var o = i[n], s = o.split("/");
|
|
@@ -1355,17 +1408,17 @@ function ii(e) {
|
|
|
1355
1408
|
}
|
|
1356
1409
|
return r;
|
|
1357
1410
|
}
|
|
1358
|
-
function
|
|
1411
|
+
function li(e) {
|
|
1359
1412
|
return e.replace(/^(.*?)-/, "");
|
|
1360
1413
|
}
|
|
1361
|
-
var
|
|
1362
|
-
function
|
|
1414
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
|
1415
|
+
function Bt(e) {
|
|
1363
1416
|
var t = {};
|
|
1364
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1417
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, n, i) {
|
|
1365
1418
|
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)), "";
|
|
1366
1419
|
}), t;
|
|
1367
1420
|
}
|
|
1368
|
-
function
|
|
1421
|
+
function _r(e) {
|
|
1369
1422
|
switch (e) {
|
|
1370
1423
|
case "sign-auto":
|
|
1371
1424
|
return {
|
|
@@ -1405,7 +1458,7 @@ function br(e) {
|
|
|
1405
1458
|
};
|
|
1406
1459
|
}
|
|
1407
1460
|
}
|
|
1408
|
-
function
|
|
1461
|
+
function hi(e) {
|
|
1409
1462
|
var t;
|
|
1410
1463
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1411
1464
|
notation: "engineering"
|
|
@@ -1413,17 +1466,17 @@ function ai(e) {
|
|
|
1413
1466
|
notation: "scientific"
|
|
1414
1467
|
}, e = e.slice(1)), t) {
|
|
1415
1468
|
var r = e.slice(0, 2);
|
|
1416
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1469
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
|
1417
1470
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1418
1471
|
t.minimumIntegerDigits = e.length;
|
|
1419
1472
|
}
|
|
1420
1473
|
return t;
|
|
1421
1474
|
}
|
|
1422
|
-
function
|
|
1423
|
-
var t = {}, r =
|
|
1475
|
+
function Pt(e) {
|
|
1476
|
+
var t = {}, r = _r(e);
|
|
1424
1477
|
return r || t;
|
|
1425
1478
|
}
|
|
1426
|
-
function
|
|
1479
|
+
function ci(e) {
|
|
1427
1480
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1428
1481
|
var i = n[r];
|
|
1429
1482
|
switch (i.stem) {
|
|
@@ -1447,7 +1500,7 @@ function li(e) {
|
|
|
1447
1500
|
continue;
|
|
1448
1501
|
case "measure-unit":
|
|
1449
1502
|
case "unit":
|
|
1450
|
-
t.style = "unit", t.unit =
|
|
1503
|
+
t.style = "unit", t.unit = li(i.options[0]);
|
|
1451
1504
|
continue;
|
|
1452
1505
|
case "compact-short":
|
|
1453
1506
|
case "K":
|
|
@@ -1459,12 +1512,12 @@ function li(e) {
|
|
|
1459
1512
|
continue;
|
|
1460
1513
|
case "scientific":
|
|
1461
1514
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1462
|
-
return _(_({}, l),
|
|
1515
|
+
return _(_({}, l), Pt(u));
|
|
1463
1516
|
}, {}));
|
|
1464
1517
|
continue;
|
|
1465
1518
|
case "engineering":
|
|
1466
1519
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1467
|
-
return _(_({}, l),
|
|
1520
|
+
return _(_({}, l), Pt(u));
|
|
1468
1521
|
}, {}));
|
|
1469
1522
|
continue;
|
|
1470
1523
|
case "notation-simple":
|
|
@@ -1509,7 +1562,7 @@ function li(e) {
|
|
|
1509
1562
|
case "integer-width":
|
|
1510
1563
|
if (i.options.length > 1)
|
|
1511
1564
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1512
|
-
i.options[0].replace(
|
|
1565
|
+
i.options[0].replace(ui, function(l, u, h, c, f, b) {
|
|
1513
1566
|
if (u)
|
|
1514
1567
|
t.minimumIntegerDigits = h.length;
|
|
1515
1568
|
else {
|
|
@@ -1522,27 +1575,27 @@ function li(e) {
|
|
|
1522
1575
|
});
|
|
1523
1576
|
continue;
|
|
1524
1577
|
}
|
|
1525
|
-
if (
|
|
1578
|
+
if (yr.test(i.stem)) {
|
|
1526
1579
|
t.minimumIntegerDigits = i.stem.length;
|
|
1527
1580
|
continue;
|
|
1528
1581
|
}
|
|
1529
|
-
if (
|
|
1582
|
+
if (It.test(i.stem)) {
|
|
1530
1583
|
if (i.options.length > 1)
|
|
1531
1584
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1532
|
-
i.stem.replace(
|
|
1585
|
+
i.stem.replace(It, function(l, u, h, c, f, b) {
|
|
1533
1586
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1534
1587
|
});
|
|
1535
1588
|
var o = i.options[0];
|
|
1536
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1589
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Bt(o)));
|
|
1537
1590
|
continue;
|
|
1538
1591
|
}
|
|
1539
|
-
if (
|
|
1540
|
-
t = _(_({}, t),
|
|
1592
|
+
if (vr.test(i.stem)) {
|
|
1593
|
+
t = _(_({}, t), Bt(i.stem));
|
|
1541
1594
|
continue;
|
|
1542
1595
|
}
|
|
1543
|
-
var s =
|
|
1596
|
+
var s = _r(i.stem);
|
|
1544
1597
|
s && (t = _(_({}, t), s));
|
|
1545
|
-
var a =
|
|
1598
|
+
var a = hi(i.stem);
|
|
1546
1599
|
a && (t = _(_({}, t), a));
|
|
1547
1600
|
}
|
|
1548
1601
|
return t;
|
|
@@ -2962,22 +3015,23 @@ var ve = {
|
|
|
2962
3015
|
"h"
|
|
2963
3016
|
]
|
|
2964
3017
|
};
|
|
2965
|
-
function
|
|
3018
|
+
function fi(e, t) {
|
|
2966
3019
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2967
3020
|
var i = e.charAt(n);
|
|
2968
3021
|
if (i === "j") {
|
|
2969
3022
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2970
3023
|
o++, n++;
|
|
2971
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3024
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = di(t);
|
|
2972
3025
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2973
3026
|
r += l;
|
|
2974
3027
|
for (; s-- > 0; )
|
|
2975
3028
|
r = u + r;
|
|
2976
|
-
} else
|
|
3029
|
+
} else
|
|
3030
|
+
i === "J" ? r += "H" : r += i;
|
|
2977
3031
|
}
|
|
2978
3032
|
return r;
|
|
2979
3033
|
}
|
|
2980
|
-
function
|
|
3034
|
+
function di(e) {
|
|
2981
3035
|
var t = e.hourCycle;
|
|
2982
3036
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2983
3037
|
e.hourCycles && // @ts-ignore
|
|
@@ -2999,20 +3053,20 @@ function hi(e) {
|
|
|
2999
3053
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3000
3054
|
return i[0];
|
|
3001
3055
|
}
|
|
3002
|
-
var
|
|
3056
|
+
var Ge, pi = new RegExp("^".concat(gr.source, "*")), mi = new RegExp("".concat(gr.source, "*$"));
|
|
3003
3057
|
function y(e, t) {
|
|
3004
3058
|
return { start: e, end: t };
|
|
3005
3059
|
}
|
|
3006
|
-
var
|
|
3060
|
+
var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, vi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, wi = Ei ? Number.isSafeInteger : function(e) {
|
|
3007
3061
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3008
|
-
},
|
|
3062
|
+
}, Je = !0;
|
|
3009
3063
|
try {
|
|
3010
|
-
var
|
|
3011
|
-
|
|
3064
|
+
var Ci = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3065
|
+
Je = ((Ge = Ci.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3012
3066
|
} catch (e) {
|
|
3013
|
-
|
|
3067
|
+
Je = !1;
|
|
3014
3068
|
}
|
|
3015
|
-
var
|
|
3069
|
+
var Mt = bi ? (
|
|
3016
3070
|
// Native
|
|
3017
3071
|
function(t, r, n) {
|
|
3018
3072
|
return t.startsWith(r, n);
|
|
@@ -3022,7 +3076,7 @@ var It = di ? (
|
|
|
3022
3076
|
function(t, r, n) {
|
|
3023
3077
|
return t.slice(n, n + r.length) === r;
|
|
3024
3078
|
}
|
|
3025
|
-
),
|
|
3079
|
+
), Ke = gi ? String.fromCodePoint : (
|
|
3026
3080
|
// IE11
|
|
3027
3081
|
function() {
|
|
3028
3082
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3034,9 +3088,9 @@ var It = di ? (
|
|
|
3034
3088
|
}
|
|
3035
3089
|
return n;
|
|
3036
3090
|
}
|
|
3037
|
-
),
|
|
3091
|
+
), Ot = (
|
|
3038
3092
|
// native
|
|
3039
|
-
|
|
3093
|
+
vi ? Object.fromEntries : (
|
|
3040
3094
|
// Ponyfill
|
|
3041
3095
|
function(t) {
|
|
3042
3096
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3046,7 +3100,7 @@ var It = di ? (
|
|
|
3046
3100
|
return r;
|
|
3047
3101
|
}
|
|
3048
3102
|
)
|
|
3049
|
-
),
|
|
3103
|
+
), xr = yi ? (
|
|
3050
3104
|
// Native
|
|
3051
3105
|
function(t, r) {
|
|
3052
3106
|
return t.codePointAt(r);
|
|
@@ -3060,7 +3114,7 @@ var It = di ? (
|
|
|
3060
3114
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3061
3115
|
}
|
|
3062
3116
|
}
|
|
3063
|
-
),
|
|
3117
|
+
), Si = _i ? (
|
|
3064
3118
|
// Native
|
|
3065
3119
|
function(t) {
|
|
3066
3120
|
return t.trimStart();
|
|
@@ -3068,9 +3122,9 @@ var It = di ? (
|
|
|
3068
3122
|
) : (
|
|
3069
3123
|
// Ponyfill
|
|
3070
3124
|
function(t) {
|
|
3071
|
-
return t.replace(
|
|
3125
|
+
return t.replace(pi, "");
|
|
3072
3126
|
}
|
|
3073
|
-
),
|
|
3127
|
+
), Ti = xi ? (
|
|
3074
3128
|
// Native
|
|
3075
3129
|
function(t) {
|
|
3076
3130
|
return t.trimEnd();
|
|
@@ -3078,32 +3132,32 @@ var It = di ? (
|
|
|
3078
3132
|
) : (
|
|
3079
3133
|
// Ponyfill
|
|
3080
3134
|
function(t) {
|
|
3081
|
-
return t.replace(
|
|
3135
|
+
return t.replace(mi, "");
|
|
3082
3136
|
}
|
|
3083
3137
|
);
|
|
3084
|
-
function
|
|
3138
|
+
function Er(e, t) {
|
|
3085
3139
|
return new RegExp(e, t);
|
|
3086
3140
|
}
|
|
3087
|
-
var
|
|
3088
|
-
if (
|
|
3089
|
-
var
|
|
3090
|
-
|
|
3141
|
+
var et;
|
|
3142
|
+
if (Je) {
|
|
3143
|
+
var Lt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3144
|
+
et = function(t, r) {
|
|
3091
3145
|
var n;
|
|
3092
|
-
|
|
3093
|
-
var i =
|
|
3146
|
+
Lt.lastIndex = r;
|
|
3147
|
+
var i = Lt.exec(t);
|
|
3094
3148
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3095
3149
|
};
|
|
3096
3150
|
} else
|
|
3097
|
-
|
|
3151
|
+
et = function(t, r) {
|
|
3098
3152
|
for (var n = []; ; ) {
|
|
3099
|
-
var i =
|
|
3100
|
-
if (i === void 0 ||
|
|
3153
|
+
var i = xr(t, r);
|
|
3154
|
+
if (i === void 0 || wr(i) || Bi(i))
|
|
3101
3155
|
break;
|
|
3102
3156
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3103
3157
|
}
|
|
3104
|
-
return
|
|
3158
|
+
return Ke.apply(void 0, n);
|
|
3105
3159
|
};
|
|
3106
|
-
var
|
|
3160
|
+
var Hi = (
|
|
3107
3161
|
/** @class */
|
|
3108
3162
|
function() {
|
|
3109
3163
|
function e(t, r) {
|
|
@@ -3134,7 +3188,7 @@ var Ci = (
|
|
|
3134
3188
|
if (n)
|
|
3135
3189
|
break;
|
|
3136
3190
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3137
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3191
|
+
} else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
|
3138
3192
|
var s = this.parseTag(t, r);
|
|
3139
3193
|
if (s.err)
|
|
3140
3194
|
return s;
|
|
@@ -3167,7 +3221,7 @@ var Ci = (
|
|
|
3167
3221
|
return o;
|
|
3168
3222
|
var s = o.val, a = this.clonePosition();
|
|
3169
3223
|
if (this.bumpIf("</")) {
|
|
3170
|
-
if (this.isEOF() || !
|
|
3224
|
+
if (this.isEOF() || !tt(this.char()))
|
|
3171
3225
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
|
3172
3226
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3173
3227
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3185,7 +3239,7 @@ var Ci = (
|
|
|
3185
3239
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
|
3186
3240
|
}, e.prototype.parseTagName = function() {
|
|
3187
3241
|
var t = this.offset();
|
|
3188
|
-
for (this.bump(); !this.isEOF() &&
|
|
3242
|
+
for (this.bump(); !this.isEOF() && Ii(this.char()); )
|
|
3189
3243
|
this.bump();
|
|
3190
3244
|
return this.message.slice(t, this.offset());
|
|
3191
3245
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3214,7 +3268,7 @@ var Ci = (
|
|
|
3214
3268
|
};
|
|
3215
3269
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3216
3270
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3217
|
-
!
|
|
3271
|
+
!Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3218
3272
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3219
3273
|
if (this.isEOF() || this.char() !== 39)
|
|
3220
3274
|
return null;
|
|
@@ -3248,12 +3302,12 @@ var Ci = (
|
|
|
3248
3302
|
r.push(n);
|
|
3249
3303
|
this.bump();
|
|
3250
3304
|
}
|
|
3251
|
-
return
|
|
3305
|
+
return Ke.apply(void 0, r);
|
|
3252
3306
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3253
3307
|
if (this.isEOF())
|
|
3254
3308
|
return null;
|
|
3255
3309
|
var n = this.char();
|
|
3256
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3310
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
|
3257
3311
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3258
3312
|
var n = this.clonePosition();
|
|
3259
3313
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3282,7 +3336,7 @@ var Ci = (
|
|
|
3282
3336
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3283
3337
|
}
|
|
3284
3338
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3285
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3339
|
+
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
|
3286
3340
|
this.bumpTo(i);
|
|
3287
3341
|
var o = this.clonePosition(), s = y(t, o);
|
|
3288
3342
|
return { value: n, location: s };
|
|
@@ -3301,7 +3355,7 @@ var Ci = (
|
|
|
3301
3355
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3302
3356
|
if (c.err)
|
|
3303
3357
|
return c;
|
|
3304
|
-
var f =
|
|
3358
|
+
var f = Ti(c.val);
|
|
3305
3359
|
if (f.length === 0)
|
|
3306
3360
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3307
3361
|
var b = y(h, this.clonePosition());
|
|
@@ -3311,8 +3365,8 @@ var Ci = (
|
|
|
3311
3365
|
if (p.err)
|
|
3312
3366
|
return p;
|
|
3313
3367
|
var m = y(i, this.clonePosition());
|
|
3314
|
-
if (u &&
|
|
3315
|
-
var w =
|
|
3368
|
+
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3369
|
+
var w = Si(u.style.slice(2));
|
|
3316
3370
|
if (a === "number") {
|
|
3317
3371
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3318
3372
|
return c.err ? c : {
|
|
@@ -3323,12 +3377,12 @@ var Ci = (
|
|
|
3323
3377
|
if (w.length === 0)
|
|
3324
3378
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, m);
|
|
3325
3379
|
var P = w;
|
|
3326
|
-
this.locale && (P =
|
|
3380
|
+
this.locale && (P = fi(w, this.locale));
|
|
3327
3381
|
var f = {
|
|
3328
3382
|
type: ie.dateTime,
|
|
3329
3383
|
pattern: P,
|
|
3330
3384
|
location: u.styleLocation,
|
|
3331
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3385
|
+
parsedOptions: this.shouldParseSkeletons ? oi(P) : {}
|
|
3332
3386
|
}, A = a === "date" ? C.date : C.time;
|
|
3333
3387
|
return {
|
|
3334
3388
|
val: { type: A, value: n, location: m, style: f },
|
|
@@ -3374,7 +3428,7 @@ var Ci = (
|
|
|
3374
3428
|
val: {
|
|
3375
3429
|
type: C.select,
|
|
3376
3430
|
value: n,
|
|
3377
|
-
options:
|
|
3431
|
+
options: Ot(R.val),
|
|
3378
3432
|
location: g
|
|
3379
3433
|
},
|
|
3380
3434
|
err: null
|
|
@@ -3382,7 +3436,7 @@ var Ci = (
|
|
|
3382
3436
|
val: {
|
|
3383
3437
|
type: C.plural,
|
|
3384
3438
|
value: n,
|
|
3385
|
-
options:
|
|
3439
|
+
options: Ot(R.val),
|
|
3386
3440
|
offset: S,
|
|
3387
3441
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3388
3442
|
location: g
|
|
@@ -3433,7 +3487,7 @@ var Ci = (
|
|
|
3433
3487
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3434
3488
|
var n = [];
|
|
3435
3489
|
try {
|
|
3436
|
-
n =
|
|
3490
|
+
n = ai(t);
|
|
3437
3491
|
} catch (i) {
|
|
3438
3492
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3439
3493
|
}
|
|
@@ -3442,7 +3496,7 @@ var Ci = (
|
|
|
3442
3496
|
type: ie.number,
|
|
3443
3497
|
tokens: n,
|
|
3444
3498
|
location: r,
|
|
3445
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3499
|
+
parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
|
|
3446
3500
|
},
|
|
3447
3501
|
err: null
|
|
3448
3502
|
};
|
|
@@ -3490,7 +3544,7 @@ var Ci = (
|
|
|
3490
3544
|
break;
|
|
3491
3545
|
}
|
|
3492
3546
|
var l = y(i, this.clonePosition());
|
|
3493
|
-
return o ? (s *= n,
|
|
3547
|
+
return o ? (s *= n, wi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3494
3548
|
}, e.prototype.offset = function() {
|
|
3495
3549
|
return this.position.offset;
|
|
3496
3550
|
}, e.prototype.isEOF = function() {
|
|
@@ -3505,7 +3559,7 @@ var Ci = (
|
|
|
3505
3559
|
var t = this.position.offset;
|
|
3506
3560
|
if (t >= this.message.length)
|
|
3507
3561
|
throw Error("out of bound");
|
|
3508
|
-
var r =
|
|
3562
|
+
var r = xr(this.message, t);
|
|
3509
3563
|
if (r === void 0)
|
|
3510
3564
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3511
3565
|
return r;
|
|
@@ -3524,7 +3578,7 @@ var Ci = (
|
|
|
3524
3578
|
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);
|
|
3525
3579
|
}
|
|
3526
3580
|
}, e.prototype.bumpIf = function(t) {
|
|
3527
|
-
if (
|
|
3581
|
+
if (Mt(this.message, t, this.offset())) {
|
|
3528
3582
|
for (var r = 0; r < t.length; r++)
|
|
3529
3583
|
this.bump();
|
|
3530
3584
|
return !0;
|
|
@@ -3546,7 +3600,7 @@ var Ci = (
|
|
|
3546
3600
|
break;
|
|
3547
3601
|
}
|
|
3548
3602
|
}, e.prototype.bumpSpace = function() {
|
|
3549
|
-
for (; !this.isEOF() &&
|
|
3603
|
+
for (; !this.isEOF() && wr(this.char()); )
|
|
3550
3604
|
this.bump();
|
|
3551
3605
|
}, e.prototype.peek = function() {
|
|
3552
3606
|
if (this.isEOF())
|
|
@@ -3556,37 +3610,38 @@ var Ci = (
|
|
|
3556
3610
|
}, e;
|
|
3557
3611
|
}()
|
|
3558
3612
|
);
|
|
3559
|
-
function
|
|
3613
|
+
function tt(e) {
|
|
3560
3614
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3561
3615
|
}
|
|
3562
|
-
function
|
|
3563
|
-
return
|
|
3616
|
+
function Ai(e) {
|
|
3617
|
+
return tt(e) || e === 47;
|
|
3564
3618
|
}
|
|
3565
|
-
function
|
|
3619
|
+
function Ii(e) {
|
|
3566
3620
|
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;
|
|
3567
3621
|
}
|
|
3568
|
-
function
|
|
3622
|
+
function wr(e) {
|
|
3569
3623
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3570
3624
|
}
|
|
3571
|
-
function
|
|
3625
|
+
function Bi(e) {
|
|
3572
3626
|
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;
|
|
3573
3627
|
}
|
|
3574
|
-
function
|
|
3628
|
+
function rt(e) {
|
|
3575
3629
|
e.forEach(function(t) {
|
|
3576
|
-
if (delete t.location,
|
|
3630
|
+
if (delete t.location, dr(t) || pr(t))
|
|
3577
3631
|
for (var r in t.options)
|
|
3578
|
-
delete t.options[r].location,
|
|
3579
|
-
else
|
|
3632
|
+
delete t.options[r].location, rt(t.options[r].value);
|
|
3633
|
+
else
|
|
3634
|
+
hr(t) && br(t.style) || (cr(t) || fr(t)) && qe(t.style) ? delete t.style.location : mr(t) && rt(t.children);
|
|
3580
3635
|
});
|
|
3581
3636
|
}
|
|
3582
|
-
function
|
|
3637
|
+
function Pi(e, t) {
|
|
3583
3638
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3584
|
-
var r = new
|
|
3639
|
+
var r = new Hi(e, t).parse();
|
|
3585
3640
|
if (r.err) {
|
|
3586
3641
|
var n = SyntaxError(v[r.err.kind]);
|
|
3587
3642
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3588
3643
|
}
|
|
3589
|
-
return t != null && t.captureLocation ||
|
|
3644
|
+
return t != null && t.captureLocation || rt(r.val), r.val;
|
|
3590
3645
|
}
|
|
3591
3646
|
var oe;
|
|
3592
3647
|
(function(e) {
|
|
@@ -3604,7 +3659,7 @@ var Ie = (
|
|
|
3604
3659
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3605
3660
|
}, t;
|
|
3606
3661
|
}(Error)
|
|
3607
|
-
),
|
|
3662
|
+
), Nt = (
|
|
3608
3663
|
/** @class */
|
|
3609
3664
|
function(e) {
|
|
3610
3665
|
V(t, e);
|
|
@@ -3613,7 +3668,7 @@ var Ie = (
|
|
|
3613
3668
|
}
|
|
3614
3669
|
return t;
|
|
3615
3670
|
}(Ie)
|
|
3616
|
-
),
|
|
3671
|
+
), Mi = (
|
|
3617
3672
|
/** @class */
|
|
3618
3673
|
function(e) {
|
|
3619
3674
|
V(t, e);
|
|
@@ -3622,7 +3677,7 @@ var Ie = (
|
|
|
3622
3677
|
}
|
|
3623
3678
|
return t;
|
|
3624
3679
|
}(Ie)
|
|
3625
|
-
),
|
|
3680
|
+
), Oi = (
|
|
3626
3681
|
/** @class */
|
|
3627
3682
|
function(e) {
|
|
3628
3683
|
V(t, e);
|
|
@@ -3635,17 +3690,17 @@ var Ie = (
|
|
|
3635
3690
|
(function(e) {
|
|
3636
3691
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3637
3692
|
})(N || (N = {}));
|
|
3638
|
-
function
|
|
3693
|
+
function Li(e) {
|
|
3639
3694
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3640
3695
|
var n = t[t.length - 1];
|
|
3641
3696
|
return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
|
|
3642
3697
|
}, []);
|
|
3643
3698
|
}
|
|
3644
|
-
function
|
|
3699
|
+
function Ni(e) {
|
|
3645
3700
|
return typeof e == "function";
|
|
3646
3701
|
}
|
|
3647
3702
|
function xe(e, t, r, n, i, o, s) {
|
|
3648
|
-
if (e.length === 1 &&
|
|
3703
|
+
if (e.length === 1 && At(e[0]))
|
|
3649
3704
|
return [
|
|
3650
3705
|
{
|
|
3651
3706
|
type: N.literal,
|
|
@@ -3654,14 +3709,14 @@ function xe(e, t, r, n, i, o, s) {
|
|
|
3654
3709
|
];
|
|
3655
3710
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3656
3711
|
var h = u[l];
|
|
3657
|
-
if (
|
|
3712
|
+
if (At(h)) {
|
|
3658
3713
|
a.push({
|
|
3659
3714
|
type: N.literal,
|
|
3660
3715
|
value: h.value
|
|
3661
3716
|
});
|
|
3662
3717
|
continue;
|
|
3663
3718
|
}
|
|
3664
|
-
if (
|
|
3719
|
+
if (ni(h)) {
|
|
3665
3720
|
typeof o == "number" && a.push({
|
|
3666
3721
|
type: N.literal,
|
|
3667
3722
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3670,43 +3725,43 @@ function xe(e, t, r, n, i, o, s) {
|
|
|
3670
3725
|
}
|
|
3671
3726
|
var c = h.value;
|
|
3672
3727
|
if (!(i && c in i))
|
|
3673
|
-
throw new
|
|
3728
|
+
throw new Oi(c, s);
|
|
3674
3729
|
var f = i[c];
|
|
3675
|
-
if (
|
|
3730
|
+
if (ri(h)) {
|
|
3676
3731
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3677
3732
|
type: typeof f == "string" ? N.literal : N.object,
|
|
3678
3733
|
value: f
|
|
3679
3734
|
});
|
|
3680
3735
|
continue;
|
|
3681
3736
|
}
|
|
3682
|
-
if (
|
|
3683
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3737
|
+
if (cr(h)) {
|
|
3738
|
+
var b = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3684
3739
|
a.push({
|
|
3685
3740
|
type: N.literal,
|
|
3686
3741
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3687
3742
|
});
|
|
3688
3743
|
continue;
|
|
3689
3744
|
}
|
|
3690
|
-
if (
|
|
3691
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3745
|
+
if (fr(h)) {
|
|
3746
|
+
var b = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3692
3747
|
a.push({
|
|
3693
3748
|
type: N.literal,
|
|
3694
3749
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3695
3750
|
});
|
|
3696
3751
|
continue;
|
|
3697
3752
|
}
|
|
3698
|
-
if (
|
|
3699
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3753
|
+
if (hr(h)) {
|
|
3754
|
+
var b = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
|
|
3700
3755
|
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3701
3756
|
type: N.literal,
|
|
3702
3757
|
value: r.getNumberFormat(t, b).format(f)
|
|
3703
3758
|
});
|
|
3704
3759
|
continue;
|
|
3705
3760
|
}
|
|
3706
|
-
if (
|
|
3761
|
+
if (mr(h)) {
|
|
3707
3762
|
var p = h.children, m = h.value, w = i[m];
|
|
3708
|
-
if (!
|
|
3709
|
-
throw new
|
|
3763
|
+
if (!Ni(w))
|
|
3764
|
+
throw new Mi(m, "function", s);
|
|
3710
3765
|
var P = xe(p, t, r, n, i, o), A = w(P.map(function(S) {
|
|
3711
3766
|
return S.value;
|
|
3712
3767
|
}));
|
|
@@ -3717,14 +3772,14 @@ function xe(e, t, r, n, i, o, s) {
|
|
|
3717
3772
|
};
|
|
3718
3773
|
}));
|
|
3719
3774
|
}
|
|
3720
|
-
if (
|
|
3775
|
+
if (dr(h)) {
|
|
3721
3776
|
var I = h.options[f] || h.options.other;
|
|
3722
3777
|
if (!I)
|
|
3723
|
-
throw new
|
|
3778
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3724
3779
|
a.push.apply(a, xe(I.value, t, r, n, i));
|
|
3725
3780
|
continue;
|
|
3726
3781
|
}
|
|
3727
|
-
if (
|
|
3782
|
+
if (pr(h)) {
|
|
3728
3783
|
var I = h.options["=".concat(f)];
|
|
3729
3784
|
if (!I) {
|
|
3730
3785
|
if (!Intl.PluralRules)
|
|
@@ -3735,24 +3790,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3735
3790
|
I = h.options[L] || h.options.other;
|
|
3736
3791
|
}
|
|
3737
3792
|
if (!I)
|
|
3738
|
-
throw new
|
|
3793
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3739
3794
|
a.push.apply(a, xe(I.value, t, r, n, i, f - (h.offset || 0)));
|
|
3740
3795
|
continue;
|
|
3741
3796
|
}
|
|
3742
3797
|
}
|
|
3743
|
-
return
|
|
3798
|
+
return Li(a);
|
|
3744
3799
|
}
|
|
3745
|
-
function
|
|
3800
|
+
function Ri(e, t) {
|
|
3746
3801
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3747
3802
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3748
3803
|
}, {})) : e;
|
|
3749
3804
|
}
|
|
3750
|
-
function
|
|
3805
|
+
function Ui(e, t) {
|
|
3751
3806
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3752
|
-
return r[n] =
|
|
3807
|
+
return r[n] = Ri(e[n], t[n]), r;
|
|
3753
3808
|
}, _({}, e)) : e;
|
|
3754
3809
|
}
|
|
3755
|
-
function
|
|
3810
|
+
function Fe(e) {
|
|
3756
3811
|
return {
|
|
3757
3812
|
create: function() {
|
|
3758
3813
|
return {
|
|
@@ -3766,39 +3821,39 @@ function Ge(e) {
|
|
|
3766
3821
|
}
|
|
3767
3822
|
};
|
|
3768
3823
|
}
|
|
3769
|
-
function
|
|
3824
|
+
function Di(e) {
|
|
3770
3825
|
return e === void 0 && (e = {
|
|
3771
3826
|
number: {},
|
|
3772
3827
|
dateTime: {},
|
|
3773
3828
|
pluralRules: {}
|
|
3774
3829
|
}), {
|
|
3775
|
-
getNumberFormat:
|
|
3830
|
+
getNumberFormat: $e(function() {
|
|
3776
3831
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3777
3832
|
r[n] = arguments[n];
|
|
3778
3833
|
return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3779
3834
|
}, {
|
|
3780
|
-
cache:
|
|
3781
|
-
strategy:
|
|
3835
|
+
cache: Fe(e.number),
|
|
3836
|
+
strategy: ke.variadic
|
|
3782
3837
|
}),
|
|
3783
|
-
getDateTimeFormat:
|
|
3838
|
+
getDateTimeFormat: $e(function() {
|
|
3784
3839
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3785
3840
|
r[n] = arguments[n];
|
|
3786
3841
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3787
3842
|
}, {
|
|
3788
|
-
cache:
|
|
3789
|
-
strategy:
|
|
3843
|
+
cache: Fe(e.dateTime),
|
|
3844
|
+
strategy: ke.variadic
|
|
3790
3845
|
}),
|
|
3791
|
-
getPluralRules:
|
|
3846
|
+
getPluralRules: $e(function() {
|
|
3792
3847
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3793
3848
|
r[n] = arguments[n];
|
|
3794
3849
|
return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
|
|
3795
3850
|
}, {
|
|
3796
|
-
cache:
|
|
3797
|
-
strategy:
|
|
3851
|
+
cache: Fe(e.pluralRules),
|
|
3852
|
+
strategy: ke.variadic
|
|
3798
3853
|
})
|
|
3799
3854
|
};
|
|
3800
3855
|
}
|
|
3801
|
-
var
|
|
3856
|
+
var $i = (
|
|
3802
3857
|
/** @class */
|
|
3803
3858
|
function() {
|
|
3804
3859
|
function e(t, r, n, i) {
|
|
@@ -3830,13 +3885,13 @@ var Ri = (
|
|
|
3830
3885
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3831
3886
|
var s = i || {};
|
|
3832
3887
|
s.formatters;
|
|
3833
|
-
var a =
|
|
3888
|
+
var a = vn(s, ["formatters"]);
|
|
3834
3889
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
|
3835
3890
|
} else
|
|
3836
3891
|
this.ast = t;
|
|
3837
3892
|
if (!Array.isArray(this.ast))
|
|
3838
3893
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3839
|
-
this.formats =
|
|
3894
|
+
this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
|
|
3840
3895
|
}
|
|
3841
3896
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3842
3897
|
get: function() {
|
|
@@ -3849,7 +3904,7 @@ var Ri = (
|
|
|
3849
3904
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3850
3905
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3851
3906
|
}
|
|
3852
|
-
}, e.__parse =
|
|
3907
|
+
}, e.__parse = Pi, e.formats = {
|
|
3853
3908
|
number: {
|
|
3854
3909
|
integer: {
|
|
3855
3910
|
maximumFractionDigits: 0
|
|
@@ -3910,7 +3965,7 @@ var Ri = (
|
|
|
3910
3965
|
}, e;
|
|
3911
3966
|
}()
|
|
3912
3967
|
);
|
|
3913
|
-
function
|
|
3968
|
+
function ki(e, t) {
|
|
3914
3969
|
if (t == null)
|
|
3915
3970
|
return;
|
|
3916
3971
|
if (t in e)
|
|
@@ -3931,92 +3986,92 @@ function Ui(e, t) {
|
|
|
3931
3986
|
n = void 0;
|
|
3932
3987
|
return n;
|
|
3933
3988
|
}
|
|
3934
|
-
const W = {},
|
|
3989
|
+
const W = {}, Gi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Cr = (e, t) => {
|
|
3935
3990
|
if (t == null)
|
|
3936
3991
|
return;
|
|
3937
3992
|
if (t in W && e in W[t])
|
|
3938
3993
|
return W[t][e];
|
|
3939
3994
|
const r = Be(t);
|
|
3940
3995
|
for (let n = 0; n < r.length; n++) {
|
|
3941
|
-
const i = r[n], o =
|
|
3996
|
+
const i = r[n], o = ji(i, e);
|
|
3942
3997
|
if (o)
|
|
3943
|
-
return
|
|
3998
|
+
return Gi(e, t, o);
|
|
3944
3999
|
}
|
|
3945
4000
|
};
|
|
3946
|
-
let
|
|
4001
|
+
let ut;
|
|
3947
4002
|
const le = Ae({});
|
|
3948
|
-
function
|
|
3949
|
-
return
|
|
4003
|
+
function Fi(e) {
|
|
4004
|
+
return ut[e] || null;
|
|
3950
4005
|
}
|
|
3951
|
-
function
|
|
3952
|
-
return e in
|
|
4006
|
+
function Sr(e) {
|
|
4007
|
+
return e in ut;
|
|
3953
4008
|
}
|
|
3954
|
-
function
|
|
3955
|
-
if (!
|
|
4009
|
+
function ji(e, t) {
|
|
4010
|
+
if (!Sr(e))
|
|
3956
4011
|
return null;
|
|
3957
|
-
const r =
|
|
3958
|
-
return
|
|
4012
|
+
const r = Fi(e);
|
|
4013
|
+
return ki(r, t);
|
|
3959
4014
|
}
|
|
3960
|
-
function
|
|
4015
|
+
function Vi(e) {
|
|
3961
4016
|
if (e == null)
|
|
3962
4017
|
return;
|
|
3963
4018
|
const t = Be(e);
|
|
3964
4019
|
for (let r = 0; r < t.length; r++) {
|
|
3965
4020
|
const n = t[r];
|
|
3966
|
-
if (
|
|
4021
|
+
if (Sr(n))
|
|
3967
4022
|
return n;
|
|
3968
4023
|
}
|
|
3969
4024
|
}
|
|
3970
|
-
function
|
|
3971
|
-
delete W[e], le.update((r) => (r[e] =
|
|
4025
|
+
function Tr(e, ...t) {
|
|
4026
|
+
delete W[e], le.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
|
|
3972
4027
|
}
|
|
3973
4028
|
ae(
|
|
3974
4029
|
[le],
|
|
3975
4030
|
([e]) => Object.keys(e)
|
|
3976
4031
|
);
|
|
3977
|
-
le.subscribe((e) =>
|
|
4032
|
+
le.subscribe((e) => ut = e);
|
|
3978
4033
|
const Ee = {};
|
|
3979
|
-
function
|
|
4034
|
+
function Wi(e, t) {
|
|
3980
4035
|
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
3981
4036
|
}
|
|
3982
|
-
function
|
|
4037
|
+
function Hr(e) {
|
|
3983
4038
|
return Ee[e];
|
|
3984
4039
|
}
|
|
3985
|
-
function
|
|
4040
|
+
function Xi(e) {
|
|
3986
4041
|
return Be(e).map((t) => {
|
|
3987
|
-
const r =
|
|
4042
|
+
const r = Hr(t);
|
|
3988
4043
|
return [t, r ? [...r] : []];
|
|
3989
4044
|
}).filter(([, t]) => t.length > 0);
|
|
3990
4045
|
}
|
|
3991
|
-
function
|
|
4046
|
+
function nt(e) {
|
|
3992
4047
|
return e == null ? !1 : Be(e).some(
|
|
3993
4048
|
(t) => {
|
|
3994
4049
|
var r;
|
|
3995
|
-
return (r =
|
|
4050
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
|
3996
4051
|
}
|
|
3997
4052
|
);
|
|
3998
4053
|
}
|
|
3999
|
-
function
|
|
4054
|
+
function zi(e, t) {
|
|
4000
4055
|
return Promise.all(
|
|
4001
|
-
t.map((n) => (
|
|
4002
|
-
).then((n) =>
|
|
4056
|
+
t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
|
|
4057
|
+
).then((n) => Tr(e, ...n));
|
|
4003
4058
|
}
|
|
4004
4059
|
const he = {};
|
|
4005
|
-
function
|
|
4006
|
-
if (!
|
|
4060
|
+
function Ar(e) {
|
|
4061
|
+
if (!nt(e))
|
|
4007
4062
|
return e in he ? he[e] : Promise.resolve();
|
|
4008
|
-
const t =
|
|
4063
|
+
const t = Xi(e);
|
|
4009
4064
|
return he[e] = Promise.all(
|
|
4010
4065
|
t.map(
|
|
4011
|
-
([r, n]) =>
|
|
4066
|
+
([r, n]) => zi(r, n)
|
|
4012
4067
|
)
|
|
4013
4068
|
).then(() => {
|
|
4014
|
-
if (
|
|
4015
|
-
return
|
|
4069
|
+
if (nt(e))
|
|
4070
|
+
return Ar(e);
|
|
4016
4071
|
delete he[e];
|
|
4017
4072
|
}), he[e];
|
|
4018
4073
|
}
|
|
4019
|
-
const
|
|
4074
|
+
const Zi = {
|
|
4020
4075
|
number: {
|
|
4021
4076
|
scientific: { notation: "scientific" },
|
|
4022
4077
|
engineering: { notation: "engineering" },
|
|
@@ -4045,57 +4100,57 @@ const Wi = {
|
|
|
4045
4100
|
timeZoneName: "short"
|
|
4046
4101
|
}
|
|
4047
4102
|
}
|
|
4048
|
-
},
|
|
4103
|
+
}, Qi = {
|
|
4049
4104
|
fallbackLocale: null,
|
|
4050
4105
|
loadingDelay: 200,
|
|
4051
|
-
formats:
|
|
4106
|
+
formats: Zi,
|
|
4052
4107
|
warnOnMissingMessages: !0,
|
|
4053
4108
|
handleMissingMessage: void 0,
|
|
4054
4109
|
ignoreTag: !0
|
|
4055
|
-
},
|
|
4110
|
+
}, Yi = Qi;
|
|
4056
4111
|
function se() {
|
|
4057
|
-
return
|
|
4112
|
+
return Yi;
|
|
4058
4113
|
}
|
|
4059
|
-
const
|
|
4060
|
-
var
|
|
4114
|
+
const je = Ae(!1);
|
|
4115
|
+
var qi = Object.defineProperty, Ji = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
|
|
4061
4116
|
for (var r in t || (t = {}))
|
|
4062
|
-
|
|
4063
|
-
if (
|
|
4064
|
-
for (var r of
|
|
4065
|
-
|
|
4117
|
+
eo.call(t, r) && Ut(e, r, t[r]);
|
|
4118
|
+
if (Rt)
|
|
4119
|
+
for (var r of Rt(t))
|
|
4120
|
+
to.call(t, r) && Ut(e, r, t[r]);
|
|
4066
4121
|
return e;
|
|
4067
|
-
},
|
|
4068
|
-
let
|
|
4122
|
+
}, no = (e, t) => Ji(e, Ki(t));
|
|
4123
|
+
let it;
|
|
4069
4124
|
const Ce = Ae(null);
|
|
4070
|
-
function
|
|
4125
|
+
function Dt(e) {
|
|
4071
4126
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4072
4127
|
}
|
|
4073
4128
|
function Be(e, t = se().fallbackLocale) {
|
|
4074
|
-
const r =
|
|
4075
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4129
|
+
const r = Dt(e);
|
|
4130
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4076
4131
|
}
|
|
4077
4132
|
function Z() {
|
|
4078
|
-
return
|
|
4133
|
+
return it != null ? it : void 0;
|
|
4079
4134
|
}
|
|
4080
4135
|
Ce.subscribe((e) => {
|
|
4081
|
-
|
|
4136
|
+
it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4082
4137
|
});
|
|
4083
|
-
const
|
|
4084
|
-
if (e &&
|
|
4138
|
+
const io = (e) => {
|
|
4139
|
+
if (e && Vi(e) && nt(e)) {
|
|
4085
4140
|
const { loadingDelay: t } = se();
|
|
4086
4141
|
let r;
|
|
4087
4142
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
4088
|
-
() =>
|
|
4143
|
+
() => je.set(!0),
|
|
4089
4144
|
t
|
|
4090
|
-
) :
|
|
4145
|
+
) : je.set(!0), Ar(e).then(() => {
|
|
4091
4146
|
Ce.set(e);
|
|
4092
4147
|
}).finally(() => {
|
|
4093
|
-
clearTimeout(r),
|
|
4148
|
+
clearTimeout(r), je.set(!1);
|
|
4094
4149
|
});
|
|
4095
4150
|
}
|
|
4096
4151
|
return Ce.set(e);
|
|
4097
|
-
}, X =
|
|
4098
|
-
set:
|
|
4152
|
+
}, X = no(ro({}, Ce), {
|
|
4153
|
+
set: io
|
|
4099
4154
|
}), Pe = (e) => {
|
|
4100
4155
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4101
4156
|
return (n) => {
|
|
@@ -4103,20 +4158,20 @@ const to = (e) => {
|
|
|
4103
4158
|
return i in t ? t[i] : t[i] = e(n);
|
|
4104
4159
|
};
|
|
4105
4160
|
};
|
|
4106
|
-
var
|
|
4161
|
+
var oo = Object.defineProperty, Se = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4107
4162
|
for (var r in t || (t = {}))
|
|
4108
|
-
|
|
4163
|
+
Ir.call(t, r) && $t(e, r, t[r]);
|
|
4109
4164
|
if (Se)
|
|
4110
4165
|
for (var r of Se(t))
|
|
4111
|
-
|
|
4166
|
+
Br.call(t, r) && $t(e, r, t[r]);
|
|
4112
4167
|
return e;
|
|
4113
4168
|
}, ue = (e, t) => {
|
|
4114
4169
|
var r = {};
|
|
4115
4170
|
for (var n in e)
|
|
4116
|
-
|
|
4171
|
+
Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4117
4172
|
if (e != null && Se)
|
|
4118
4173
|
for (var n of Se(e))
|
|
4119
|
-
t.indexOf(n) < 0 &&
|
|
4174
|
+
t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
|
|
4120
4175
|
return r;
|
|
4121
4176
|
};
|
|
4122
4177
|
const pe = (e, t) => {
|
|
@@ -4124,21 +4179,21 @@ const pe = (e, t) => {
|
|
|
4124
4179
|
if (e in r && t in r[e])
|
|
4125
4180
|
return r[e][t];
|
|
4126
4181
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4127
|
-
},
|
|
4182
|
+
}, so = Pe(
|
|
4128
4183
|
(e) => {
|
|
4129
4184
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4130
4185
|
if (r == null)
|
|
4131
4186
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4132
4187
|
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4133
4188
|
}
|
|
4134
|
-
),
|
|
4189
|
+
), ao = Pe(
|
|
4135
4190
|
(e) => {
|
|
4136
4191
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4137
4192
|
if (r == null)
|
|
4138
4193
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4139
4194
|
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4140
4195
|
}
|
|
4141
|
-
),
|
|
4196
|
+
), lo = Pe(
|
|
4142
4197
|
(e) => {
|
|
4143
4198
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4144
4199
|
if (r == null)
|
|
@@ -4147,33 +4202,33 @@ const pe = (e, t) => {
|
|
|
4147
4202
|
);
|
|
4148
4203
|
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4149
4204
|
}
|
|
4150
|
-
),
|
|
4205
|
+
), uo = (e = {}) => {
|
|
4151
4206
|
var t = e, {
|
|
4152
4207
|
locale: r = Z()
|
|
4153
4208
|
} = t, n = ue(t, [
|
|
4154
4209
|
"locale"
|
|
4155
4210
|
]);
|
|
4156
|
-
return
|
|
4157
|
-
},
|
|
4211
|
+
return so(ht({ locale: r }, n));
|
|
4212
|
+
}, ho = (e = {}) => {
|
|
4158
4213
|
var t = e, {
|
|
4159
4214
|
locale: r = Z()
|
|
4160
4215
|
} = t, n = ue(t, [
|
|
4161
4216
|
"locale"
|
|
4162
4217
|
]);
|
|
4163
|
-
return
|
|
4164
|
-
},
|
|
4218
|
+
return ao(ht({ locale: r }, n));
|
|
4219
|
+
}, co = (e = {}) => {
|
|
4165
4220
|
var t = e, {
|
|
4166
4221
|
locale: r = Z()
|
|
4167
4222
|
} = t, n = ue(t, [
|
|
4168
4223
|
"locale"
|
|
4169
4224
|
]);
|
|
4170
|
-
return
|
|
4171
|
-
},
|
|
4225
|
+
return lo(ht({ locale: r }, n));
|
|
4226
|
+
}, fo = Pe(
|
|
4172
4227
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4173
|
-
(e, t = Z()) => new
|
|
4228
|
+
(e, t = Z()) => new $i(e, t, se().formats, {
|
|
4174
4229
|
ignoreTag: se().ignoreTag
|
|
4175
4230
|
})
|
|
4176
|
-
),
|
|
4231
|
+
), po = (e, t = {}) => {
|
|
4177
4232
|
var r, n, i, o;
|
|
4178
4233
|
let s = t;
|
|
4179
4234
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4186,7 +4241,7 @@ const pe = (e, t) => {
|
|
|
4186
4241
|
throw new Error(
|
|
4187
4242
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4188
4243
|
);
|
|
4189
|
-
let h =
|
|
4244
|
+
let h = Cr(e, l);
|
|
4190
4245
|
if (!h)
|
|
4191
4246
|
h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4192
4247
|
else if (typeof h != "string")
|
|
@@ -4197,7 +4252,7 @@ const pe = (e, t) => {
|
|
|
4197
4252
|
return h;
|
|
4198
4253
|
let c = h;
|
|
4199
4254
|
try {
|
|
4200
|
-
c =
|
|
4255
|
+
c = fo(h, l).format(a);
|
|
4201
4256
|
} catch (f) {
|
|
4202
4257
|
f instanceof Error && console.warn(
|
|
4203
4258
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4205,32 +4260,32 @@ const pe = (e, t) => {
|
|
|
4205
4260
|
);
|
|
4206
4261
|
}
|
|
4207
4262
|
return c;
|
|
4208
|
-
},
|
|
4209
|
-
ae([X, le], () =>
|
|
4210
|
-
ae([X], () =>
|
|
4211
|
-
ae([X], () =>
|
|
4212
|
-
ae([X], () =>
|
|
4213
|
-
ae([X, le], () =>
|
|
4214
|
-
window.emWidgets = { topic:
|
|
4215
|
-
const
|
|
4216
|
-
function
|
|
4263
|
+
}, mo = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => uo(t).format(e), vo = (e, t = Z()) => Cr(e, t);
|
|
4264
|
+
ae([X, le], () => po);
|
|
4265
|
+
ae([X], () => mo);
|
|
4266
|
+
ae([X], () => bo);
|
|
4267
|
+
ae([X], () => go);
|
|
4268
|
+
ae([X, le], () => vo);
|
|
4269
|
+
window.emWidgets = { topic: Mn };
|
|
4270
|
+
const kt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4271
|
+
function yo({ withLocale: e, translations: t }) {
|
|
4217
4272
|
X.subscribe((r) => {
|
|
4218
4273
|
r == null && (le.set(t), X.set(e));
|
|
4219
4274
|
});
|
|
4220
4275
|
}
|
|
4221
|
-
function
|
|
4222
|
-
|
|
4276
|
+
function _o(e, t) {
|
|
4277
|
+
Tr(e, t);
|
|
4223
4278
|
}
|
|
4224
|
-
function
|
|
4279
|
+
function xo(e) {
|
|
4225
4280
|
X.set(e);
|
|
4226
4281
|
}
|
|
4227
|
-
function
|
|
4282
|
+
function Eo(e, t) {
|
|
4228
4283
|
if (e) {
|
|
4229
4284
|
const r = document.createElement("style");
|
|
4230
4285
|
r.innerHTML = t, e.appendChild(r);
|
|
4231
4286
|
}
|
|
4232
4287
|
}
|
|
4233
|
-
function
|
|
4288
|
+
function wo(e, t) {
|
|
4234
4289
|
const r = new URL(t);
|
|
4235
4290
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4236
4291
|
const i = document.createElement("style");
|
|
@@ -4239,7 +4294,7 @@ function _o(e, t) {
|
|
|
4239
4294
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4240
4295
|
});
|
|
4241
4296
|
}
|
|
4242
|
-
function
|
|
4297
|
+
function Co(e, t, r) {
|
|
4243
4298
|
if (window.emMessageBus) {
|
|
4244
4299
|
const n = document.createElement("style");
|
|
4245
4300
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4247,17 +4302,17 @@ function xo(e, t, r) {
|
|
|
4247
4302
|
});
|
|
4248
4303
|
}
|
|
4249
4304
|
}
|
|
4250
|
-
function
|
|
4251
|
-
|
|
4305
|
+
function So(e) {
|
|
4306
|
+
Yr(e, "svelte-kras36", '.CasinoVendorsLoading{height:52px}p{color:var(--emw--categories-typography, var(--emw--color-white) #ffffff);text-align:center}.CasinoVendorsContainer{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));margin:0 auto;max-width:1300px;min-height:72px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{overflow-x:auto;overflow-y:hidden;scroll-snap-align:center}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{align-items:center;font-size:var(--emw--font-size-medium, 15px);font-weight:500;line-height:34px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu button,.CarouselContainer ul li.SecondaryMenu .ActiveImg{border-bottom:2px solid transparent;position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu:hover .ActiveImg,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu.active .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus-within button,.CarouselContainer ul li.SecondaryMenu:focus-within .ActiveImg{border-bottom:2px solid var(--emw--color-green, #23b04e);position:relative}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #ffffff))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center;height:100%}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{height:100%;margin-right:5px;position:relative;top:5px;max-height:25px;line-height:25px;font-size:var(--emw--font-size-2x-small, 11px);overflow:auto}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));text-decoration:none;white-space:nowrap;position:relative;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23b04e));border-radius:50%;padding:3px;min-width:20px;max-width:30px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-2x-small, 11px)}.CarouselContainer .CarouselItems .categoryImgButtonCount{top:15px;right:8px}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072a))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d))}.CarouselContainer .CarouselItems .TouchOnly{display:none}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072a));color:var(--emw--categories-typography, var(--emw--color-white, #ffffff))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #ffffff)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #ffffff);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #ffffff)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #ffffff)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #ffffff)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #ffffff)}.CategoryIconImg{height:20px;margin:0 auto;display:block}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .MobileCategoryButton{margin-top:5px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;justify-content:center;height:inherit;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative;height:25px}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .ImageContainer{display:block;height:25px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static;overflow:auto}');
|
|
4252
4307
|
}
|
|
4253
|
-
function
|
|
4308
|
+
function Gt(e, t, r) {
|
|
4254
4309
|
const n = e.slice();
|
|
4255
4310
|
return n[43] = t[r], n[45] = r, n;
|
|
4256
4311
|
}
|
|
4257
|
-
function
|
|
4312
|
+
function To(e) {
|
|
4258
4313
|
let t, r, n, i, o, s, a, l, u, h, c, f, b, p = (
|
|
4259
4314
|
/*vendors*/
|
|
4260
|
-
e[6].length > 0 &&
|
|
4315
|
+
e[6].length > 0 && Ft(e)
|
|
4261
4316
|
);
|
|
4262
4317
|
return {
|
|
4263
4318
|
c() {
|
|
@@ -4265,7 +4320,7 @@ function wo(e) {
|
|
|
4265
4320
|
(e[10] ? "CarouselWrapperMobile" : "")), E(t, "class", "CasinoVendorsContainer"), E(t, "part", "CasinoVendorsContainer");
|
|
4266
4321
|
},
|
|
4267
4322
|
m(m, w) {
|
|
4268
|
-
|
|
4323
|
+
M(m, t, w), H(t, r), H(r, n), H(n, i), H(n, o), H(n, s), H(s, a), H(a, l), H(a, u), p && p.m(a, null), e[28](a), e[29](s), H(n, h), H(n, c), e[30](r), f || (b = [
|
|
4269
4324
|
K(
|
|
4270
4325
|
i,
|
|
4271
4326
|
"click",
|
|
@@ -4294,21 +4349,21 @@ function wo(e) {
|
|
|
4294
4349
|
},
|
|
4295
4350
|
p(m, w) {
|
|
4296
4351
|
/*vendors*/
|
|
4297
|
-
m[6].length > 0 ? p ? p.p(m, w) : (p =
|
|
4352
|
+
m[6].length > 0 ? p ? p.p(m, w) : (p = Ft(m), p.c(), p.m(a, null)) : p && (p.d(1), p = null);
|
|
4298
4353
|
},
|
|
4299
4354
|
d(m) {
|
|
4300
4355
|
m && B(t), p && p.d(), e[28](null), e[29](null), e[30](null), f = !1, z(b);
|
|
4301
4356
|
}
|
|
4302
4357
|
};
|
|
4303
4358
|
}
|
|
4304
|
-
function
|
|
4359
|
+
function Ho(e) {
|
|
4305
4360
|
let t;
|
|
4306
4361
|
return {
|
|
4307
4362
|
c() {
|
|
4308
4363
|
t = T("p"), t.textContent = "500 Error - Internal Server Error.", E(t, "class", "SearchLoading");
|
|
4309
4364
|
},
|
|
4310
4365
|
m(r, n) {
|
|
4311
|
-
|
|
4366
|
+
M(r, t, n);
|
|
4312
4367
|
},
|
|
4313
4368
|
p: D,
|
|
4314
4369
|
d(r) {
|
|
@@ -4316,14 +4371,14 @@ function Co(e) {
|
|
|
4316
4371
|
}
|
|
4317
4372
|
};
|
|
4318
4373
|
}
|
|
4319
|
-
function
|
|
4374
|
+
function Ao(e) {
|
|
4320
4375
|
let t;
|
|
4321
4376
|
return {
|
|
4322
4377
|
c() {
|
|
4323
4378
|
t = T("div"), E(t, "class", "CasinoVendorsLoading");
|
|
4324
4379
|
},
|
|
4325
4380
|
m(r, n) {
|
|
4326
|
-
|
|
4381
|
+
M(r, t, n);
|
|
4327
4382
|
},
|
|
4328
4383
|
p: D,
|
|
4329
4384
|
d(r) {
|
|
@@ -4331,8 +4386,8 @@ function So(e) {
|
|
|
4331
4386
|
}
|
|
4332
4387
|
};
|
|
4333
4388
|
}
|
|
4334
|
-
function
|
|
4335
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4389
|
+
function Ft(e) {
|
|
4390
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = yt(
|
|
4336
4391
|
/*vendors*/
|
|
4337
4392
|
e[6]
|
|
4338
4393
|
);
|
|
@@ -4341,26 +4396,26 @@ function $t(e) {
|
|
|
4341
4396
|
s[43].id
|
|
4342
4397
|
);
|
|
4343
4398
|
for (let s = 0; s < i.length; s += 1) {
|
|
4344
|
-
let a =
|
|
4345
|
-
r.set(l, t[s] =
|
|
4399
|
+
let a = Gt(e, i, s), l = o(a);
|
|
4400
|
+
r.set(l, t[s] = Qt(l, a));
|
|
4346
4401
|
}
|
|
4347
4402
|
return {
|
|
4348
4403
|
c() {
|
|
4349
4404
|
for (let s = 0; s < t.length; s += 1)
|
|
4350
4405
|
t[s].c();
|
|
4351
|
-
n =
|
|
4406
|
+
n = ot();
|
|
4352
4407
|
},
|
|
4353
4408
|
m(s, a) {
|
|
4354
4409
|
for (let l = 0; l < t.length; l += 1)
|
|
4355
4410
|
t[l] && t[l].m(s, a);
|
|
4356
|
-
|
|
4411
|
+
M(s, n, a);
|
|
4357
4412
|
},
|
|
4358
4413
|
p(s, a) {
|
|
4359
4414
|
a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, getGamesTotal, showvendorgames, showvendorname, showvendoricon, isMobile*/
|
|
4360
|
-
461903 && (i =
|
|
4415
|
+
461903 && (i = yt(
|
|
4361
4416
|
/*vendors*/
|
|
4362
4417
|
s[6]
|
|
4363
|
-
), t =
|
|
4418
|
+
), t = hn(t, a, o, 1, s, i, r, n.parentNode, un, Qt, n, Gt));
|
|
4364
4419
|
},
|
|
4365
4420
|
d(s) {
|
|
4366
4421
|
s && B(n);
|
|
@@ -4369,21 +4424,21 @@ function $t(e) {
|
|
|
4369
4424
|
}
|
|
4370
4425
|
};
|
|
4371
4426
|
}
|
|
4372
|
-
function
|
|
4427
|
+
function jt(e) {
|
|
4373
4428
|
let t;
|
|
4374
4429
|
function r(o, s) {
|
|
4375
4430
|
return (
|
|
4376
4431
|
/*isMobile*/
|
|
4377
|
-
o[10] ?
|
|
4432
|
+
o[10] ? Bo : Io
|
|
4378
4433
|
);
|
|
4379
4434
|
}
|
|
4380
4435
|
let i = r(e)(e);
|
|
4381
4436
|
return {
|
|
4382
4437
|
c() {
|
|
4383
|
-
i.c(), t =
|
|
4438
|
+
i.c(), t = ot();
|
|
4384
4439
|
},
|
|
4385
4440
|
m(o, s) {
|
|
4386
|
-
i.m(o, s),
|
|
4441
|
+
i.m(o, s), M(o, t, s);
|
|
4387
4442
|
},
|
|
4388
4443
|
p(o, s) {
|
|
4389
4444
|
i.p(o, s);
|
|
@@ -4393,19 +4448,19 @@ function kt(e) {
|
|
|
4393
4448
|
}
|
|
4394
4449
|
};
|
|
4395
4450
|
}
|
|
4396
|
-
function
|
|
4451
|
+
function Io(e) {
|
|
4397
4452
|
let t, r, n, i, o, s = (
|
|
4398
4453
|
/*showvendorname*/
|
|
4399
|
-
e[2] === "false" &&
|
|
4454
|
+
e[2] === "false" && Vt()
|
|
4400
4455
|
);
|
|
4401
4456
|
return {
|
|
4402
4457
|
c() {
|
|
4403
|
-
t = T("img"), i = F(), s && s.c(), o =
|
|
4458
|
+
t = T("img"), i = F(), s && s.c(), o = ot(), we(t.src, r = /*vendor*/
|
|
4404
4459
|
e[43].logo) || E(t, "src", r), E(t, "alt", n = /*vendor*/
|
|
4405
4460
|
e[43].displayName);
|
|
4406
4461
|
},
|
|
4407
4462
|
m(a, l) {
|
|
4408
|
-
|
|
4463
|
+
M(a, t, l), M(a, i, l), s && s.m(a, l), M(a, o, l);
|
|
4409
4464
|
},
|
|
4410
4465
|
p(a, l) {
|
|
4411
4466
|
l[0] & /*vendors*/
|
|
@@ -4413,17 +4468,17 @@ function To(e) {
|
|
|
4413
4468
|
a[43].logo) && E(t, "src", r), l[0] & /*vendors*/
|
|
4414
4469
|
64 && n !== (n = /*vendor*/
|
|
4415
4470
|
a[43].displayName) && E(t, "alt", n), /*showvendorname*/
|
|
4416
|
-
a[2] === "false" ? s || (s =
|
|
4471
|
+
a[2] === "false" ? s || (s = Vt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
|
|
4417
4472
|
},
|
|
4418
4473
|
d(a) {
|
|
4419
4474
|
a && (B(t), B(i), B(o)), s && s.d(a);
|
|
4420
4475
|
}
|
|
4421
4476
|
};
|
|
4422
4477
|
}
|
|
4423
|
-
function
|
|
4478
|
+
function Bo(e) {
|
|
4424
4479
|
let t, r, n, i, o, s = (
|
|
4425
4480
|
/*showvendorname*/
|
|
4426
|
-
e[2] === "false" &&
|
|
4481
|
+
e[2] === "false" && Wt()
|
|
4427
4482
|
);
|
|
4428
4483
|
return {
|
|
4429
4484
|
c() {
|
|
@@ -4432,7 +4487,7 @@ function Ho(e) {
|
|
|
4432
4487
|
e[43].displayName), E(t, "class", "ImageContainer");
|
|
4433
4488
|
},
|
|
4434
4489
|
m(a, l) {
|
|
4435
|
-
|
|
4490
|
+
M(a, t, l), H(t, r), H(t, o), s && s.m(t, null);
|
|
4436
4491
|
},
|
|
4437
4492
|
p(a, l) {
|
|
4438
4493
|
l[0] & /*vendors*/
|
|
@@ -4440,42 +4495,42 @@ function Ho(e) {
|
|
|
4440
4495
|
a[43].logo) && E(r, "src", n), l[0] & /*vendors*/
|
|
4441
4496
|
64 && i !== (i = /*vendor*/
|
|
4442
4497
|
a[43].displayName) && E(r, "alt", i), /*showvendorname*/
|
|
4443
|
-
a[2] === "false" ? s || (s =
|
|
4498
|
+
a[2] === "false" ? s || (s = Wt(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4444
4499
|
},
|
|
4445
4500
|
d(a) {
|
|
4446
4501
|
a && B(t), s && s.d();
|
|
4447
4502
|
}
|
|
4448
4503
|
};
|
|
4449
4504
|
}
|
|
4450
|
-
function
|
|
4505
|
+
function Vt(e) {
|
|
4451
4506
|
let t;
|
|
4452
4507
|
return {
|
|
4453
4508
|
c() {
|
|
4454
4509
|
t = T("div"), E(t, "class", "ActiveImg");
|
|
4455
4510
|
},
|
|
4456
4511
|
m(r, n) {
|
|
4457
|
-
|
|
4512
|
+
M(r, t, n);
|
|
4458
4513
|
},
|
|
4459
4514
|
d(r) {
|
|
4460
4515
|
r && B(t);
|
|
4461
4516
|
}
|
|
4462
4517
|
};
|
|
4463
4518
|
}
|
|
4464
|
-
function
|
|
4519
|
+
function Wt(e) {
|
|
4465
4520
|
let t;
|
|
4466
4521
|
return {
|
|
4467
4522
|
c() {
|
|
4468
4523
|
t = T("div"), E(t, "class", "ActiveImg");
|
|
4469
4524
|
},
|
|
4470
4525
|
m(r, n) {
|
|
4471
|
-
|
|
4526
|
+
M(r, t, n);
|
|
4472
4527
|
},
|
|
4473
4528
|
d(r) {
|
|
4474
4529
|
r && B(t);
|
|
4475
4530
|
}
|
|
4476
4531
|
};
|
|
4477
4532
|
}
|
|
4478
|
-
function
|
|
4533
|
+
function Xt(e) {
|
|
4479
4534
|
var i;
|
|
4480
4535
|
let t, r = (
|
|
4481
4536
|
/*getGamesTotal*/
|
|
@@ -4489,7 +4544,7 @@ function jt(e) {
|
|
|
4489
4544
|
t = T("span"), n = me(r), E(t, "class", "categoryImgButtonCount");
|
|
4490
4545
|
},
|
|
4491
4546
|
m(o, s) {
|
|
4492
|
-
|
|
4547
|
+
M(o, t, s), H(t, n);
|
|
4493
4548
|
},
|
|
4494
4549
|
p(o, s) {
|
|
4495
4550
|
var a;
|
|
@@ -4498,14 +4553,14 @@ function jt(e) {
|
|
|
4498
4553
|
o[18](
|
|
4499
4554
|
/*vendor*/
|
|
4500
4555
|
(a = o[43]) == null ? void 0 : a.games.total
|
|
4501
|
-
) + "") &&
|
|
4556
|
+
) + "") && st(n, r);
|
|
4502
4557
|
},
|
|
4503
4558
|
d(o) {
|
|
4504
4559
|
o && B(t);
|
|
4505
4560
|
}
|
|
4506
4561
|
};
|
|
4507
4562
|
}
|
|
4508
|
-
function
|
|
4563
|
+
function zt(e) {
|
|
4509
4564
|
var s;
|
|
4510
4565
|
let t, r = (
|
|
4511
4566
|
/*vendor*/
|
|
@@ -4513,7 +4568,7 @@ function Vt(e) {
|
|
|
4513
4568
|
), n, i, o = (
|
|
4514
4569
|
/*showvendorgames*/
|
|
4515
4570
|
e[3] !== "false" && /*vendor*/
|
|
4516
|
-
((s = e[43]) == null ? void 0 : s.games.total) &&
|
|
4571
|
+
((s = e[43]) == null ? void 0 : s.games.total) && Zt(e)
|
|
4517
4572
|
);
|
|
4518
4573
|
return {
|
|
4519
4574
|
c() {
|
|
@@ -4525,22 +4580,22 @@ function Vt(e) {
|
|
|
4525
4580
|
);
|
|
4526
4581
|
},
|
|
4527
4582
|
m(a, l) {
|
|
4528
|
-
|
|
4583
|
+
M(a, t, l), H(t, n), H(t, i), o && o.m(t, null);
|
|
4529
4584
|
},
|
|
4530
4585
|
p(a, l) {
|
|
4531
4586
|
var u;
|
|
4532
4587
|
l[0] & /*vendors*/
|
|
4533
4588
|
64 && r !== (r = /*vendor*/
|
|
4534
|
-
a[43].displayName + "") &&
|
|
4589
|
+
a[43].displayName + "") && st(n, r), /*showvendorgames*/
|
|
4535
4590
|
a[3] !== "false" && /*vendor*/
|
|
4536
|
-
((u = a[43]) != null && u.games.total) ? o ? o.p(a, l) : (o =
|
|
4591
|
+
((u = a[43]) != null && u.games.total) ? o ? o.p(a, l) : (o = Zt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
4537
4592
|
},
|
|
4538
4593
|
d(a) {
|
|
4539
4594
|
a && B(t), o && o.d();
|
|
4540
4595
|
}
|
|
4541
4596
|
};
|
|
4542
4597
|
}
|
|
4543
|
-
function
|
|
4598
|
+
function Zt(e) {
|
|
4544
4599
|
var i;
|
|
4545
4600
|
let t, r = (
|
|
4546
4601
|
/*getGamesTotal*/
|
|
@@ -4554,7 +4609,7 @@ function Wt(e) {
|
|
|
4554
4609
|
t = T("span"), n = me(r), E(t, "class", "CategoryButtonCount");
|
|
4555
4610
|
},
|
|
4556
4611
|
m(o, s) {
|
|
4557
|
-
|
|
4612
|
+
M(o, t, s), H(t, n);
|
|
4558
4613
|
},
|
|
4559
4614
|
p(o, s) {
|
|
4560
4615
|
var a;
|
|
@@ -4563,27 +4618,27 @@ function Wt(e) {
|
|
|
4563
4618
|
o[18](
|
|
4564
4619
|
/*vendor*/
|
|
4565
4620
|
(a = o[43]) == null ? void 0 : a.games.total
|
|
4566
|
-
) + "") &&
|
|
4621
|
+
) + "") && st(n, r);
|
|
4567
4622
|
},
|
|
4568
4623
|
d(o) {
|
|
4569
4624
|
o && B(t);
|
|
4570
4625
|
}
|
|
4571
4626
|
};
|
|
4572
4627
|
}
|
|
4573
|
-
function
|
|
4628
|
+
function Qt(e, t) {
|
|
4574
4629
|
var b, p;
|
|
4575
4630
|
let r, n, i, o, s, a, l, u = (
|
|
4576
4631
|
/*showvendoricon*/
|
|
4577
|
-
t[1] !== "false" &&
|
|
4632
|
+
t[1] !== "false" && jt(t)
|
|
4578
4633
|
), h = (
|
|
4579
4634
|
/*showvendoricon*/
|
|
4580
4635
|
t[1] == "true" && /*showvendorgames*/
|
|
4581
4636
|
t[3] !== "false" && /*showvendorname*/
|
|
4582
4637
|
t[2] == "false" && /*vendor*/
|
|
4583
|
-
((p = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : p.total) &&
|
|
4638
|
+
((p = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : p.total) && Xt(t)
|
|
4584
4639
|
), c = (
|
|
4585
4640
|
/*showvendorname*/
|
|
4586
|
-
t[2] !== "false" &&
|
|
4641
|
+
t[2] !== "false" && zt(t)
|
|
4587
4642
|
);
|
|
4588
4643
|
function f(...m) {
|
|
4589
4644
|
return (
|
|
@@ -4610,7 +4665,7 @@ function Xt(e, t) {
|
|
|
4610
4665
|
) ? "active" : "") + " SecondaryMenu"), this.first = r;
|
|
4611
4666
|
},
|
|
4612
4667
|
m(m, w) {
|
|
4613
|
-
|
|
4668
|
+
M(m, r, w), u && u.m(r, null), H(r, n), h && h.m(r, null), H(r, i), c && c.m(r, null), H(r, o), a || (l = [
|
|
4614
4669
|
K(r, "click", f),
|
|
4615
4670
|
K(r, "keydown", function() {
|
|
4616
4671
|
Te(
|
|
@@ -4633,12 +4688,12 @@ function Xt(e, t) {
|
|
|
4633
4688
|
p(m, w) {
|
|
4634
4689
|
var P, A;
|
|
4635
4690
|
t = m, /*showvendoricon*/
|
|
4636
|
-
t[1] !== "false" ? u ? u.p(t, w) : (u =
|
|
4691
|
+
t[1] !== "false" ? u ? u.p(t, w) : (u = jt(t), u.c(), u.m(r, n)) : u && (u.d(1), u = null), /*showvendoricon*/
|
|
4637
4692
|
t[1] == "true" && /*showvendorgames*/
|
|
4638
4693
|
t[3] !== "false" && /*showvendorname*/
|
|
4639
4694
|
t[2] == "false" && /*vendor*/
|
|
4640
|
-
((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t, w) : (h =
|
|
4641
|
-
t[2] !== "false" ? c ? c.p(t, w) : (c =
|
|
4695
|
+
((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t, w) : (h = Xt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
|
|
4696
|
+
t[2] !== "false" ? c ? c.p(t, w) : (c = zt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), w[0] & /*activevendor, vendors*/
|
|
4642
4697
|
65 && s !== (s = "CarouselItem " + (String(
|
|
4643
4698
|
/*activevendor*/
|
|
4644
4699
|
t[0]
|
|
@@ -4652,14 +4707,14 @@ function Xt(e, t) {
|
|
|
4652
4707
|
}
|
|
4653
4708
|
};
|
|
4654
4709
|
}
|
|
4655
|
-
function
|
|
4710
|
+
function Po(e) {
|
|
4656
4711
|
let t;
|
|
4657
4712
|
function r(o, s) {
|
|
4658
4713
|
return (
|
|
4659
4714
|
/*isLoading*/
|
|
4660
|
-
o[5] ?
|
|
4715
|
+
o[5] ? Ao : (
|
|
4661
4716
|
/*hasErrors*/
|
|
4662
|
-
o[7] ?
|
|
4717
|
+
o[7] ? Ho : To
|
|
4663
4718
|
)
|
|
4664
4719
|
);
|
|
4665
4720
|
}
|
|
@@ -4669,7 +4724,7 @@ function Ao(e) {
|
|
|
4669
4724
|
t = T("div"), i.c();
|
|
4670
4725
|
},
|
|
4671
4726
|
m(o, s) {
|
|
4672
|
-
|
|
4727
|
+
M(o, t, s), i.m(t, null), e[31](t);
|
|
4673
4728
|
},
|
|
4674
4729
|
p(o, s) {
|
|
4675
4730
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4681,26 +4736,26 @@ function Ao(e) {
|
|
|
4681
4736
|
}
|
|
4682
4737
|
};
|
|
4683
4738
|
}
|
|
4684
|
-
function
|
|
4685
|
-
|
|
4686
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: b = "0" } = t, { mbsource: p } = t, m = window.navigator.userAgent, w =
|
|
4739
|
+
function Mo(e, t, r) {
|
|
4740
|
+
yo({ withLocale: "en", translations: {} });
|
|
4741
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: b = "0" } = t, { mbsource: p } = t, m = window.navigator.userAgent, w = kt(m) !== "PC", P = !0, A, I = [], L = !1, S, R, g;
|
|
4687
4742
|
const $ = () => {
|
|
4688
4743
|
fetch(u).then((x) => x.json()).then((x) => {
|
|
4689
|
-
Object.keys(x).forEach((
|
|
4690
|
-
|
|
4744
|
+
Object.keys(x).forEach((O) => {
|
|
4745
|
+
_o(O, x[O]);
|
|
4691
4746
|
});
|
|
4692
4747
|
}).catch((x) => {
|
|
4693
4748
|
console.log(x);
|
|
4694
4749
|
});
|
|
4695
4750
|
}, k = () => {
|
|
4696
|
-
|
|
4697
|
-
}, Q = () => (n || (A = "Endpoint is missing! Please provide a valid endpointURL.", r(7, L = !0), r(5, P = !1), console.error(A)), (!o || o.length < 2) && (A = "Language is missing! Please provide a valid language (alpha2code)", r(7, L = !0), r(5, P = !1), console.error(A)), L),
|
|
4751
|
+
xo(o);
|
|
4752
|
+
}, Q = () => (n || (A = "Endpoint is missing! Please provide a valid endpointURL.", r(7, L = !0), r(5, P = !1), console.error(A)), (!o || o.length < 2) && (A = "Language is missing! Please provide a valid language (alpha2code)", r(7, L = !0), r(5, P = !1), console.error(A)), L), Pr = () => {
|
|
4698
4753
|
if (!Q()) {
|
|
4699
4754
|
let d = new URL(`${n}/v1/casino/vendors`);
|
|
4700
|
-
d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform",
|
|
4755
|
+
d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform", kt(m)), fetch(d).then((x) => x.json()).then(
|
|
4701
4756
|
(x) => {
|
|
4702
|
-
let
|
|
4703
|
-
r(6, I = []), r(6, I = I.concat(
|
|
4757
|
+
let O = x.items.filter((Le) => Le.games.total > 0);
|
|
4758
|
+
r(6, I = []), r(6, I = I.concat(O)), r(5, P = !1);
|
|
4704
4759
|
},
|
|
4705
4760
|
(x) => {
|
|
4706
4761
|
r(7, L = !0), console.error("There was an error while fetching the vendors", x);
|
|
@@ -4710,17 +4765,17 @@ function Io(e, t, r) {
|
|
|
4710
4765
|
});
|
|
4711
4766
|
}
|
|
4712
4767
|
};
|
|
4713
|
-
|
|
4768
|
+
rn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
4714
4769
|
() => {
|
|
4715
|
-
g && g.addEventListener("scroll",
|
|
4770
|
+
g && g.addEventListener("scroll", Oe);
|
|
4716
4771
|
},
|
|
4717
4772
|
500
|
|
4718
4773
|
), () => {
|
|
4719
|
-
R.removeEventListener("scroll",
|
|
4774
|
+
R.removeEventListener("scroll", Oe);
|
|
4720
4775
|
}));
|
|
4721
|
-
let
|
|
4722
|
-
var
|
|
4723
|
-
|
|
4776
|
+
let Me = (d, x) => {
|
|
4777
|
+
var O;
|
|
4778
|
+
Oe(), r(0, b = d.id), window.postMessage(
|
|
4724
4779
|
{
|
|
4725
4780
|
type: l,
|
|
4726
4781
|
itemId: d.id,
|
|
@@ -4728,11 +4783,11 @@ function Io(e, t, r) {
|
|
|
4728
4783
|
item: d,
|
|
4729
4784
|
path: d.path,
|
|
4730
4785
|
externalLink: d.externalLink || !1,
|
|
4731
|
-
target: ((
|
|
4786
|
+
target: ((O = d.attrs) == null ? void 0 : O.target) || null
|
|
4732
4787
|
},
|
|
4733
4788
|
window.location.href
|
|
4734
4789
|
);
|
|
4735
|
-
},
|
|
4790
|
+
}, ct = () => {
|
|
4736
4791
|
const d = g.scrollLeft;
|
|
4737
4792
|
if (d > 0) {
|
|
4738
4793
|
const x = Math.min(250, d);
|
|
@@ -4741,47 +4796,47 @@ function Io(e, t, r) {
|
|
|
4741
4796
|
behavior: "smooth"
|
|
4742
4797
|
});
|
|
4743
4798
|
}
|
|
4744
|
-
},
|
|
4745
|
-
const d = g.scrollLeft, x = g.scrollWidth,
|
|
4746
|
-
if (d +
|
|
4747
|
-
const Le = x - (d +
|
|
4748
|
-
g.scrollBy({ left:
|
|
4799
|
+
}, ft = () => {
|
|
4800
|
+
const d = g.scrollLeft, x = g.scrollWidth, O = g.clientWidth;
|
|
4801
|
+
if (d + O < x) {
|
|
4802
|
+
const Le = x - (d + O), Fr = Math.min(250, Le);
|
|
4803
|
+
g.scrollBy({ left: Fr, behavior: "smooth" });
|
|
4749
4804
|
}
|
|
4750
4805
|
};
|
|
4751
|
-
const
|
|
4806
|
+
const Oe = () => {
|
|
4752
4807
|
const d = R.querySelectorAll(".DropDown");
|
|
4753
4808
|
document.activeElement.blur(), g.classList.add("isScrolling");
|
|
4754
4809
|
for (let x = 0; x < d.length; x++)
|
|
4755
4810
|
d[x].style.transform = "translateX(-" + g.scrollLeft + "px)";
|
|
4756
4811
|
g.classList.remove("isScrolling");
|
|
4757
|
-
},
|
|
4758
|
-
(d.key === "Enter" || d.key === " ") && (
|
|
4759
|
-
},
|
|
4760
|
-
(d.key === "Enter" || d.key === " ") && (
|
|
4761
|
-
},
|
|
4762
|
-
(
|
|
4763
|
-
},
|
|
4812
|
+
}, Mr = (d) => {
|
|
4813
|
+
(d.key === "Enter" || d.key === " ") && (ft(), d.preventDefault());
|
|
4814
|
+
}, Or = (d) => {
|
|
4815
|
+
(d.key === "Enter" || d.key === " ") && (ct(), d.preventDefault());
|
|
4816
|
+
}, Lr = (d, x) => (O) => {
|
|
4817
|
+
(O.key === "Enter" || O.key === " ") && (Me(d, x), O.preventDefault());
|
|
4818
|
+
}, Nr = () => {
|
|
4764
4819
|
if (w && c === "true" && h === "false")
|
|
4765
4820
|
return "MobileCategoryButton";
|
|
4766
|
-
},
|
|
4767
|
-
|
|
4821
|
+
}, Rr = (d) => d > 1e3 ? "999+" : d, Ur = (d, x, O) => {
|
|
4822
|
+
Me(d, x), O.preventDefault();
|
|
4768
4823
|
};
|
|
4769
|
-
function
|
|
4824
|
+
function Dr(d) {
|
|
4770
4825
|
ee[d ? "unshift" : "push"](() => {
|
|
4771
4826
|
R = d, r(8, R);
|
|
4772
4827
|
});
|
|
4773
4828
|
}
|
|
4774
|
-
function
|
|
4829
|
+
function $r(d) {
|
|
4775
4830
|
ee[d ? "unshift" : "push"](() => {
|
|
4776
4831
|
g = d, r(9, g);
|
|
4777
4832
|
});
|
|
4778
4833
|
}
|
|
4779
|
-
function
|
|
4834
|
+
function kr(d) {
|
|
4780
4835
|
ee[d ? "unshift" : "push"](() => {
|
|
4781
4836
|
S = d, r(4, S);
|
|
4782
4837
|
});
|
|
4783
4838
|
}
|
|
4784
|
-
function
|
|
4839
|
+
function Gr(d) {
|
|
4785
4840
|
ee[d ? "unshift" : "push"](() => {
|
|
4786
4841
|
S = d, r(4, S);
|
|
4787
4842
|
});
|
|
@@ -4790,13 +4845,13 @@ function Io(e, t, r) {
|
|
|
4790
4845
|
"endpoint" in d && r(19, n = d.endpoint), "datasource" in d && r(20, i = d.datasource), "lang" in d && r(21, o = d.lang), "clientstyling" in d && r(22, s = d.clientstyling), "clientstylingurl" in d && r(23, a = d.clientstylingurl), "actionevent" in d && r(24, l = d.actionevent), "translationurl" in d && r(25, u = d.translationurl), "showvendoricon" in d && r(1, h = d.showvendoricon), "showvendorname" in d && r(2, c = d.showvendorname), "showvendorgames" in d && r(3, f = d.showvendorgames), "activevendor" in d && r(0, b = d.activevendor), "mbsource" in d && r(26, p = d.mbsource);
|
|
4791
4846
|
}, e.$$.update = () => {
|
|
4792
4847
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
4793
|
-
2621440 && n && o &&
|
|
4848
|
+
2621440 && n && o && Pr(), e.$$.dirty[0] & /*translationurl*/
|
|
4794
4849
|
33554432 && u && $(), e.$$.dirty[0] & /*activevendor*/
|
|
4795
4850
|
1, e.$$.dirty[0] & /*lang*/
|
|
4796
4851
|
2097152 && o && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4797
|
-
4194320 && s && S &&
|
|
4798
|
-
8388624 && a && S &&
|
|
4799
|
-
67108880 && p && S &&
|
|
4852
|
+
4194320 && s && S && Eo(S, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4853
|
+
8388624 && a && S && wo(S, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4854
|
+
67108880 && p && S && Co(S, `${p}.Style`);
|
|
4800
4855
|
}, [
|
|
4801
4856
|
b,
|
|
4802
4857
|
h,
|
|
@@ -4809,14 +4864,14 @@ function Io(e, t, r) {
|
|
|
4809
4864
|
R,
|
|
4810
4865
|
g,
|
|
4811
4866
|
w,
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
Ir,
|
|
4817
|
-
Br,
|
|
4818
|
-
Pr,
|
|
4867
|
+
Me,
|
|
4868
|
+
ct,
|
|
4869
|
+
ft,
|
|
4870
|
+
Mr,
|
|
4819
4871
|
Or,
|
|
4872
|
+
Lr,
|
|
4873
|
+
Nr,
|
|
4874
|
+
Rr,
|
|
4820
4875
|
n,
|
|
4821
4876
|
i,
|
|
4822
4877
|
o,
|
|
@@ -4825,21 +4880,21 @@ function Io(e, t, r) {
|
|
|
4825
4880
|
l,
|
|
4826
4881
|
u,
|
|
4827
4882
|
p,
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4883
|
+
Ur,
|
|
4884
|
+
Dr,
|
|
4885
|
+
$r,
|
|
4886
|
+
kr,
|
|
4887
|
+
Gr
|
|
4833
4888
|
];
|
|
4834
4889
|
}
|
|
4835
|
-
class
|
|
4890
|
+
class Oo extends bn {
|
|
4836
4891
|
constructor(t) {
|
|
4837
|
-
super(),
|
|
4892
|
+
super(), pn(
|
|
4838
4893
|
this,
|
|
4839
4894
|
t,
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4895
|
+
Mo,
|
|
4896
|
+
Po,
|
|
4897
|
+
qt,
|
|
4843
4898
|
{
|
|
4844
4899
|
endpoint: 19,
|
|
4845
4900
|
datasource: 20,
|
|
@@ -4854,7 +4909,7 @@ class Bo extends fn {
|
|
|
4854
4909
|
activevendor: 0,
|
|
4855
4910
|
mbsource: 26
|
|
4856
4911
|
},
|
|
4857
|
-
|
|
4912
|
+
So,
|
|
4858
4913
|
[-1, -1]
|
|
4859
4914
|
);
|
|
4860
4915
|
}
|
|
@@ -4931,7 +4986,7 @@ class Bo extends fn {
|
|
|
4931
4986
|
this.$$set({ mbsource: t }), U();
|
|
4932
4987
|
}
|
|
4933
4988
|
}
|
|
4934
|
-
|
|
4989
|
+
mn(Oo, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
|
|
4935
4990
|
export {
|
|
4936
|
-
|
|
4991
|
+
Oo as default
|
|
4937
4992
|
};
|