@everymatrix/casino-collections-providers 1.60.2 → 1.61.1
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/{CasinoCollectionsProviders-N7f3lcMy.js → CasinoCollectionsProviders-CvZkMD5L.js} +805 -800
- package/components/CasinoCollectionsProviders-CxRm-bwJ.cjs +18 -0
- package/components/{CasinoCollectionsProviders-DzoJQIXN.js → CasinoCollectionsProviders-D5btJk9X.js} +777 -772
- package/es2015/casino-collections-providers.cjs +1 -1
- package/es2015/casino-collections-providers.js +1 -1
- package/esnext/casino-collections-providers.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
- package/components/CasinoCollectionsProviders-JQuofl74.cjs +0 -18
package/components/{CasinoCollectionsProviders-N7f3lcMy.js → CasinoCollectionsProviders-CvZkMD5L.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var kr = Object.defineProperty, Vr = Object.defineProperties;
|
2
|
+
var Xr = Object.getOwnPropertyDescriptors;
|
3
|
+
var bt = Object.getOwnPropertySymbols;
|
4
|
+
var Wr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ie = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Wr.call(t, r) && Ie(e, r, t[r]);
|
8
|
+
if (bt)
|
9
|
+
for (var r of bt(t))
|
10
|
+
zr.call(t, r) && Ie(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var N = (e, t, r) => (
|
14
|
-
var
|
12
|
+
}, vt = (e, t) => Vr(e, Xr(t));
|
13
|
+
var N = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var yt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -27,31 +27,32 @@ var vt = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
+
import "../stencil/ui-image-CPH6BqjQ.js";
|
30
31
|
function I() {
|
31
32
|
}
|
32
|
-
function
|
33
|
+
function qt(e) {
|
33
34
|
return e();
|
34
35
|
}
|
35
|
-
function
|
36
|
+
function _t() {
|
36
37
|
return /* @__PURE__ */ Object.create(null);
|
37
38
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
39
|
+
function ne(e) {
|
40
|
+
e.forEach(qt);
|
40
41
|
}
|
41
|
-
function
|
42
|
+
function nt(e) {
|
42
43
|
return typeof e == "function";
|
43
44
|
}
|
44
|
-
function
|
45
|
+
function Jt(e, t) {
|
45
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
47
|
}
|
47
|
-
let
|
48
|
-
function
|
49
|
-
return e === t ? !0 : (
|
48
|
+
let de;
|
49
|
+
function _e(e, t) {
|
50
|
+
return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
|
50
51
|
}
|
51
|
-
function
|
52
|
+
function Zr(e) {
|
52
53
|
return Object.keys(e).length === 0;
|
53
54
|
}
|
54
|
-
function
|
55
|
+
function Yt(e, ...t) {
|
55
56
|
if (e == null) {
|
56
57
|
for (const n of t)
|
57
58
|
n(void 0);
|
@@ -60,20 +61,20 @@ function Jt(e, ...t) {
|
|
60
61
|
const r = e.subscribe(...t);
|
61
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
63
|
}
|
63
|
-
function
|
64
|
-
e.$$.on_destroy.push(
|
64
|
+
function Qr(e, t, r) {
|
65
|
+
e.$$.on_destroy.push(Yt(t, r));
|
65
66
|
}
|
66
|
-
function
|
67
|
+
function H(e, t) {
|
67
68
|
e.appendChild(t);
|
68
69
|
}
|
69
|
-
function
|
70
|
-
const n =
|
70
|
+
function qr(e, t, r) {
|
71
|
+
const n = Jr(e);
|
71
72
|
if (!n.getElementById(t)) {
|
72
|
-
const i =
|
73
|
-
i.id = t, i.textContent = r,
|
73
|
+
const i = C("style");
|
74
|
+
i.id = t, i.textContent = r, Yr(n, i);
|
74
75
|
}
|
75
76
|
}
|
76
|
-
function
|
77
|
+
function Jr(e) {
|
77
78
|
if (!e)
|
78
79
|
return document;
|
79
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -83,54 +84,58 @@ function qr(e) {
|
|
83
84
|
t
|
84
85
|
) : e.ownerDocument;
|
85
86
|
}
|
86
|
-
function
|
87
|
-
return
|
87
|
+
function Yr(e, t) {
|
88
|
+
return H(
|
88
89
|
/** @type {Document} */
|
89
90
|
e.head || e,
|
90
91
|
t
|
91
92
|
), t.sheet;
|
92
93
|
}
|
93
|
-
function
|
94
|
+
function U(e, t, r) {
|
94
95
|
e.insertBefore(t, r || null);
|
95
96
|
}
|
96
97
|
function R(e) {
|
97
98
|
e.parentNode && e.parentNode.removeChild(e);
|
98
99
|
}
|
99
|
-
function
|
100
|
+
function Kt(e, t) {
|
100
101
|
for (let r = 0; r < e.length; r += 1)
|
101
102
|
e[r] && e[r].d(t);
|
102
103
|
}
|
103
|
-
function
|
104
|
+
function C(e) {
|
104
105
|
return document.createElement(e);
|
105
106
|
}
|
106
|
-
function
|
107
|
+
function He(e) {
|
107
108
|
return document.createTextNode(e);
|
108
109
|
}
|
109
|
-
function
|
110
|
-
return
|
110
|
+
function X() {
|
111
|
+
return He(" ");
|
111
112
|
}
|
112
|
-
function
|
113
|
+
function xe(e, t, r, n) {
|
113
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
115
|
}
|
115
|
-
function
|
116
|
+
function Kr(e) {
|
116
117
|
return function(t) {
|
117
118
|
return t.stopPropagation(), e.call(this, t);
|
118
119
|
};
|
119
120
|
}
|
120
|
-
function
|
121
|
+
function P(e, t, r) {
|
121
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
122
123
|
}
|
123
|
-
function
|
124
|
+
function G(e, t, r) {
|
125
|
+
const n = t.toLowerCase();
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : P(e, t, r);
|
127
|
+
}
|
128
|
+
function en(e) {
|
124
129
|
return Array.from(e.childNodes);
|
125
130
|
}
|
126
|
-
function
|
131
|
+
function it(e, t) {
|
127
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
128
133
|
t);
|
129
134
|
}
|
130
|
-
function
|
135
|
+
function Ne(e, t, r, n) {
|
131
136
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
132
137
|
}
|
133
|
-
function
|
138
|
+
function tn(e) {
|
134
139
|
const t = {};
|
135
140
|
return e.childNodes.forEach(
|
136
141
|
/** @param {Element} node */
|
@@ -139,90 +144,90 @@ function en(e) {
|
|
139
144
|
}
|
140
145
|
), t;
|
141
146
|
}
|
142
|
-
let
|
143
|
-
function
|
144
|
-
|
147
|
+
let ue;
|
148
|
+
function le(e) {
|
149
|
+
ue = e;
|
145
150
|
}
|
146
|
-
function
|
147
|
-
if (!
|
151
|
+
function rn() {
|
152
|
+
if (!ue)
|
148
153
|
throw new Error("Function called outside component initialization");
|
149
|
-
return
|
154
|
+
return ue;
|
150
155
|
}
|
151
|
-
function
|
152
|
-
|
156
|
+
function nn(e) {
|
157
|
+
rn().$$.on_mount.push(e);
|
153
158
|
}
|
154
|
-
const
|
155
|
-
let
|
156
|
-
const
|
157
|
-
let
|
158
|
-
function
|
159
|
-
|
159
|
+
const q = [], Ee = [];
|
160
|
+
let J = [];
|
161
|
+
const xt = [], on = /* @__PURE__ */ Promise.resolve();
|
162
|
+
let je = !1;
|
163
|
+
function sn() {
|
164
|
+
je || (je = !0, on.then(M));
|
160
165
|
}
|
161
|
-
function
|
162
|
-
|
166
|
+
function ke(e) {
|
167
|
+
J.push(e);
|
163
168
|
}
|
164
|
-
const
|
165
|
-
let
|
169
|
+
const Me = /* @__PURE__ */ new Set();
|
170
|
+
let Z = 0;
|
166
171
|
function M() {
|
167
|
-
if (
|
172
|
+
if (Z !== 0)
|
168
173
|
return;
|
169
|
-
const e =
|
174
|
+
const e = ue;
|
170
175
|
do {
|
171
176
|
try {
|
172
|
-
for (;
|
173
|
-
const t =
|
174
|
-
|
177
|
+
for (; Z < q.length; ) {
|
178
|
+
const t = q[Z];
|
179
|
+
Z++, le(t), an(t.$$);
|
175
180
|
}
|
176
181
|
} catch (t) {
|
177
|
-
throw
|
182
|
+
throw q.length = 0, Z = 0, t;
|
178
183
|
}
|
179
|
-
for (
|
180
|
-
|
181
|
-
for (let t = 0; t <
|
182
|
-
const r =
|
183
|
-
|
184
|
+
for (le(null), q.length = 0, Z = 0; Ee.length; )
|
185
|
+
Ee.pop()();
|
186
|
+
for (let t = 0; t < J.length; t += 1) {
|
187
|
+
const r = J[t];
|
188
|
+
Me.has(r) || (Me.add(r), r());
|
184
189
|
}
|
185
|
-
|
186
|
-
} while (
|
187
|
-
for (;
|
188
|
-
|
189
|
-
|
190
|
+
J.length = 0;
|
191
|
+
} while (q.length);
|
192
|
+
for (; xt.length; )
|
193
|
+
xt.pop()();
|
194
|
+
je = !1, Me.clear(), le(e);
|
190
195
|
}
|
191
|
-
function
|
196
|
+
function an(e) {
|
192
197
|
if (e.fragment !== null) {
|
193
|
-
e.update(),
|
198
|
+
e.update(), ne(e.before_update);
|
194
199
|
const t = e.dirty;
|
195
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
200
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
|
196
201
|
}
|
197
202
|
}
|
198
|
-
function
|
203
|
+
function ln(e) {
|
199
204
|
const t = [], r = [];
|
200
|
-
|
205
|
+
J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
|
201
206
|
}
|
202
|
-
const
|
203
|
-
function
|
204
|
-
e && e.i && (
|
207
|
+
const un = /* @__PURE__ */ new Set();
|
208
|
+
function hn(e, t) {
|
209
|
+
e && e.i && (un.delete(e), e.i(t));
|
205
210
|
}
|
206
|
-
function
|
211
|
+
function Se(e) {
|
207
212
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
208
213
|
}
|
209
|
-
function
|
214
|
+
function cn(e, t, r) {
|
210
215
|
const { fragment: n, after_update: i } = e.$$;
|
211
|
-
n && n.m(t, r),
|
212
|
-
const o = e.$$.on_mount.map(
|
213
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
214
|
-
}), i.forEach(
|
216
|
+
n && n.m(t, r), ke(() => {
|
217
|
+
const o = e.$$.on_mount.map(qt).filter(nt);
|
218
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
219
|
+
}), i.forEach(ke);
|
215
220
|
}
|
216
|
-
function
|
221
|
+
function fn(e, t) {
|
217
222
|
const r = e.$$;
|
218
|
-
r.fragment !== null && (
|
223
|
+
r.fragment !== null && (ln(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
219
224
|
}
|
220
|
-
function
|
221
|
-
e.$$.dirty[0] === -1 && (
|
225
|
+
function dn(e, t) {
|
226
|
+
e.$$.dirty[0] === -1 && (q.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
222
227
|
}
|
223
|
-
function
|
224
|
-
const h =
|
225
|
-
|
228
|
+
function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
229
|
+
const h = ue;
|
230
|
+
le(e);
|
226
231
|
const u = e.$$ = {
|
227
232
|
fragment: null,
|
228
233
|
ctx: [],
|
@@ -230,7 +235,7 @@ function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
230
235
|
props: o,
|
231
236
|
update: I,
|
232
237
|
not_equal: i,
|
233
|
-
bound:
|
238
|
+
bound: _t(),
|
234
239
|
// lifecycle
|
235
240
|
on_mount: [],
|
236
241
|
on_destroy: [],
|
@@ -239,7 +244,7 @@ function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
239
244
|
after_update: [],
|
240
245
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
241
246
|
// everything else
|
242
|
-
callbacks:
|
247
|
+
callbacks: _t(),
|
243
248
|
dirty: a,
|
244
249
|
skip_bound: !1,
|
245
250
|
root: t.target || h.$$.root
|
@@ -248,19 +253,19 @@ function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
248
253
|
let l = !1;
|
249
254
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
250
255
|
const m = d.length ? d[0] : c;
|
251
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l &&
|
252
|
-
}) : [], u.update(), l = !0,
|
256
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && dn(e, f)), c;
|
257
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
253
258
|
if (t.hydrate) {
|
254
|
-
const f =
|
259
|
+
const f = en(t.target);
|
255
260
|
u.fragment && u.fragment.l(f), f.forEach(R);
|
256
261
|
} else
|
257
262
|
u.fragment && u.fragment.c();
|
258
|
-
t.intro &&
|
263
|
+
t.intro && hn(e.$$.fragment), cn(e, t.target, t.anchor), M();
|
259
264
|
}
|
260
|
-
|
265
|
+
le(h);
|
261
266
|
}
|
262
|
-
let
|
263
|
-
typeof HTMLElement == "function" && (
|
267
|
+
let er;
|
268
|
+
typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
264
269
|
constructor(t, r, n) {
|
265
270
|
super();
|
266
271
|
/** The Svelte component constructor */
|
@@ -297,21 +302,21 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
297
302
|
}
|
298
303
|
}
|
299
304
|
connectedCallback() {
|
300
|
-
return
|
305
|
+
return yt(this, null, function* () {
|
301
306
|
if (this.$$cn = !0, !this.$$c) {
|
302
307
|
let t = function(o) {
|
303
308
|
return () => {
|
304
309
|
let s;
|
305
310
|
return {
|
306
311
|
c: function() {
|
307
|
-
s =
|
312
|
+
s = C("slot"), o !== "default" && P(s, "name", o);
|
308
313
|
},
|
309
314
|
/**
|
310
315
|
* @param {HTMLElement} target
|
311
316
|
* @param {HTMLElement} [anchor]
|
312
317
|
*/
|
313
318
|
m: function(u, l) {
|
314
|
-
|
319
|
+
U(u, s, l);
|
315
320
|
},
|
316
321
|
d: function(u) {
|
317
322
|
u && R(s);
|
@@ -321,18 +326,18 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
321
326
|
};
|
322
327
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
323
328
|
return;
|
324
|
-
const r = {}, n =
|
329
|
+
const r = {}, n = tn(this);
|
325
330
|
for (const o of this.$$s)
|
326
331
|
o in n && (r[o] = [t(o)]);
|
327
332
|
for (const o of this.attributes) {
|
328
333
|
const s = this.$$g_p(o.name);
|
329
|
-
s in this.$$d || (this.$$d[s] =
|
334
|
+
s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
|
330
335
|
}
|
331
336
|
for (const o in this.$$p_d)
|
332
337
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
333
338
|
this.$$c = new this.$$ctor({
|
334
339
|
target: this.shadowRoot || this,
|
335
|
-
props: gt(
|
340
|
+
props: vt(gt({}, this.$$d), {
|
336
341
|
$$slots: r,
|
337
342
|
$$scope: {
|
338
343
|
ctx: []
|
@@ -343,7 +348,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
343
348
|
this.$$r = !0;
|
344
349
|
for (const o in this.$$p_d)
|
345
350
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
346
|
-
const s =
|
351
|
+
const s = be(
|
347
352
|
o,
|
348
353
|
this.$$d[o],
|
349
354
|
this.$$p_d,
|
@@ -367,7 +372,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
367
372
|
// and setting attributes through setAttribute etc, this is helpful
|
368
373
|
attributeChangedCallback(t, r, n) {
|
369
374
|
var i;
|
370
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
375
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
371
376
|
}
|
372
377
|
disconnectedCallback() {
|
373
378
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -380,7 +385,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
380
385
|
) || t;
|
381
386
|
}
|
382
387
|
});
|
383
|
-
function
|
388
|
+
function be(e, t, r, n) {
|
384
389
|
var o;
|
385
390
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
386
391
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -410,8 +415,8 @@ function me(e, t, r, n) {
|
|
410
415
|
return t;
|
411
416
|
}
|
412
417
|
}
|
413
|
-
function
|
414
|
-
let s = class extends
|
418
|
+
function mn(e, t, r, n, i, o) {
|
419
|
+
let s = class extends er {
|
415
420
|
constructor() {
|
416
421
|
super(e, r, i), this.$$p_d = t;
|
417
422
|
}
|
@@ -428,7 +433,7 @@ function pn(e, t, r, n, i, o) {
|
|
428
433
|
},
|
429
434
|
set(h) {
|
430
435
|
var u;
|
431
|
-
h =
|
436
|
+
h = be(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
432
437
|
}
|
433
438
|
});
|
434
439
|
}), n.forEach((a) => {
|
@@ -441,7 +446,7 @@ function pn(e, t, r, n, i, o) {
|
|
441
446
|
}), e.element = /** @type {any} */
|
442
447
|
s, s;
|
443
448
|
}
|
444
|
-
class
|
449
|
+
class bn {
|
445
450
|
constructor() {
|
446
451
|
/**
|
447
452
|
* ### PRIVATE API
|
@@ -462,7 +467,7 @@ class mn {
|
|
462
467
|
}
|
463
468
|
/** @returns {void} */
|
464
469
|
$destroy() {
|
465
|
-
|
470
|
+
fn(this, 1), this.$destroy = I;
|
466
471
|
}
|
467
472
|
/**
|
468
473
|
* @template {Extract<keyof Events, string>} K
|
@@ -471,7 +476,7 @@ class mn {
|
|
471
476
|
* @returns {() => void}
|
472
477
|
*/
|
473
478
|
$on(t, r) {
|
474
|
-
if (!
|
479
|
+
if (!nt(r))
|
475
480
|
return I;
|
476
481
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
477
482
|
return n.push(r), () => {
|
@@ -484,29 +489,29 @@ class mn {
|
|
484
489
|
* @returns {void}
|
485
490
|
*/
|
486
491
|
$set(t) {
|
487
|
-
this.$$set && !
|
492
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
488
493
|
}
|
489
494
|
}
|
490
|
-
const
|
491
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
492
|
-
const
|
493
|
-
function
|
495
|
+
const gn = "4";
|
496
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
497
|
+
const Q = [];
|
498
|
+
function vn(e, t) {
|
494
499
|
return {
|
495
|
-
subscribe:
|
500
|
+
subscribe: Ce(e, t).subscribe
|
496
501
|
};
|
497
502
|
}
|
498
|
-
function
|
503
|
+
function Ce(e, t = I) {
|
499
504
|
let r;
|
500
505
|
const n = /* @__PURE__ */ new Set();
|
501
506
|
function i(a) {
|
502
|
-
if (
|
503
|
-
const h = !
|
507
|
+
if (Jt(e, a) && (e = a, r)) {
|
508
|
+
const h = !Q.length;
|
504
509
|
for (const u of n)
|
505
|
-
u[1](),
|
510
|
+
u[1](), Q.push(u, e);
|
506
511
|
if (h) {
|
507
|
-
for (let u = 0; u <
|
508
|
-
|
509
|
-
|
512
|
+
for (let u = 0; u < Q.length; u += 2)
|
513
|
+
Q[u][0](Q[u + 1]);
|
514
|
+
Q.length = 0;
|
510
515
|
}
|
511
516
|
}
|
512
517
|
}
|
@@ -521,12 +526,12 @@ function He(e, t = I) {
|
|
521
526
|
}
|
522
527
|
return { set: i, update: o, subscribe: s };
|
523
528
|
}
|
524
|
-
function
|
529
|
+
function ie(e, t, r) {
|
525
530
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
526
531
|
if (!i.every(Boolean))
|
527
532
|
throw new Error("derived() expects stores as input, got a falsy value");
|
528
533
|
const o = t.length < 2;
|
529
|
-
return
|
534
|
+
return vn(r, (s, a) => {
|
530
535
|
let h = !1;
|
531
536
|
const u = [];
|
532
537
|
let l = 0, f = I;
|
@@ -535,9 +540,9 @@ function ne(e, t, r) {
|
|
535
540
|
return;
|
536
541
|
f();
|
537
542
|
const m = t(n ? u[0] : u, s, a);
|
538
|
-
o ? s(m) : f =
|
543
|
+
o ? s(m) : f = nt(m) ? m : I;
|
539
544
|
}, d = i.map(
|
540
|
-
(m, b) =>
|
545
|
+
(m, b) => Yt(
|
541
546
|
m,
|
542
547
|
(g) => {
|
543
548
|
u[b] = g, l &= ~(1 << b), h && c();
|
@@ -548,84 +553,84 @@ function ne(e, t, r) {
|
|
548
553
|
)
|
549
554
|
);
|
550
555
|
return h = !0, c(), function() {
|
551
|
-
|
556
|
+
ne(d), f(), h = !1;
|
552
557
|
};
|
553
558
|
});
|
554
559
|
}
|
555
|
-
function
|
560
|
+
function yn(e) {
|
556
561
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
557
562
|
}
|
558
|
-
var
|
559
|
-
return
|
563
|
+
var _n = function(t) {
|
564
|
+
return xn(t) && !En(t);
|
560
565
|
};
|
561
|
-
function
|
566
|
+
function xn(e) {
|
562
567
|
return !!e && typeof e == "object";
|
563
568
|
}
|
564
|
-
function
|
569
|
+
function En(e) {
|
565
570
|
var t = Object.prototype.toString.call(e);
|
566
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
567
|
-
}
|
568
|
-
var En = typeof Symbol == "function" && Symbol.for, Sn = En ? Symbol.for("react.element") : 60103;
|
569
|
-
function wn(e) {
|
570
|
-
return e.$$typeof === Sn;
|
571
|
+
return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
|
571
572
|
}
|
573
|
+
var Sn = typeof Symbol == "function" && Symbol.for, wn = Sn ? Symbol.for("react.element") : 60103;
|
572
574
|
function Tn(e) {
|
575
|
+
return e.$$typeof === wn;
|
576
|
+
}
|
577
|
+
function Hn(e) {
|
573
578
|
return Array.isArray(e) ? [] : {};
|
574
579
|
}
|
575
|
-
function
|
576
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
580
|
+
function he(e, t) {
|
581
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Hn(e), e, t) : e;
|
577
582
|
}
|
578
|
-
function
|
583
|
+
function Cn(e, t, r) {
|
579
584
|
return e.concat(t).map(function(n) {
|
580
|
-
return
|
585
|
+
return he(n, r);
|
581
586
|
});
|
582
587
|
}
|
583
|
-
function
|
588
|
+
function Pn(e, t) {
|
584
589
|
if (!t.customMerge)
|
585
|
-
return
|
590
|
+
return K;
|
586
591
|
var r = t.customMerge(e);
|
587
|
-
return typeof r == "function" ? r :
|
592
|
+
return typeof r == "function" ? r : K;
|
588
593
|
}
|
589
|
-
function
|
594
|
+
function Bn(e) {
|
590
595
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
591
596
|
return Object.propertyIsEnumerable.call(e, t);
|
592
597
|
}) : [];
|
593
598
|
}
|
594
|
-
function
|
595
|
-
return Object.keys(e).concat(
|
599
|
+
function Et(e) {
|
600
|
+
return Object.keys(e).concat(Bn(e));
|
596
601
|
}
|
597
|
-
function
|
602
|
+
function tr(e, t) {
|
598
603
|
try {
|
599
604
|
return t in e;
|
600
605
|
} catch (r) {
|
601
606
|
return !1;
|
602
607
|
}
|
603
608
|
}
|
604
|
-
function
|
605
|
-
return
|
609
|
+
function An(e, t) {
|
610
|
+
return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
606
611
|
}
|
607
|
-
function
|
612
|
+
function On(e, t, r) {
|
608
613
|
var n = {};
|
609
|
-
return r.isMergeableObject(e) &&
|
610
|
-
n[i] =
|
611
|
-
}),
|
612
|
-
|
614
|
+
return r.isMergeableObject(e) && Et(e).forEach(function(i) {
|
615
|
+
n[i] = he(e[i], r);
|
616
|
+
}), Et(t).forEach(function(i) {
|
617
|
+
An(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
|
613
618
|
}), n;
|
614
619
|
}
|
615
|
-
function
|
616
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
620
|
+
function K(e, t, r) {
|
621
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = he;
|
617
622
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
618
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
623
|
+
return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : he(t, r);
|
619
624
|
}
|
620
|
-
|
625
|
+
K.all = function(t, r) {
|
621
626
|
if (!Array.isArray(t))
|
622
627
|
throw new Error("first argument should be an array");
|
623
628
|
return t.reduce(function(n, i) {
|
624
|
-
return
|
629
|
+
return K(n, i, r);
|
625
630
|
}, {});
|
626
631
|
};
|
627
|
-
var
|
628
|
-
const
|
632
|
+
var Ln = K, In = Ln;
|
633
|
+
const Nn = /* @__PURE__ */ yn(In);
|
629
634
|
/*! *****************************************************************************
|
630
635
|
Copyright (c) Microsoft Corporation.
|
631
636
|
|
@@ -640,18 +645,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
640
645
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
641
646
|
PERFORMANCE OF THIS SOFTWARE.
|
642
647
|
***************************************************************************** */
|
643
|
-
var
|
644
|
-
return
|
648
|
+
var Ve = function(e, t) {
|
649
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
645
650
|
r.__proto__ = n;
|
646
651
|
} || function(r, n) {
|
647
652
|
for (var i in n)
|
648
653
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
649
|
-
},
|
654
|
+
}, Ve(e, t);
|
650
655
|
};
|
651
|
-
function
|
656
|
+
function j(e, t) {
|
652
657
|
if (typeof t != "function" && t !== null)
|
653
658
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
654
|
-
|
659
|
+
Ve(e, t);
|
655
660
|
function r() {
|
656
661
|
this.constructor = e;
|
657
662
|
}
|
@@ -667,7 +672,7 @@ var _ = function() {
|
|
667
672
|
return t;
|
668
673
|
}, _.apply(this, arguments);
|
669
674
|
};
|
670
|
-
function
|
675
|
+
function Mn(e, t) {
|
671
676
|
var r = {};
|
672
677
|
for (var n in e)
|
673
678
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -676,7 +681,7 @@ function Nn(e, t) {
|
|
676
681
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
677
682
|
return r;
|
678
683
|
}
|
679
|
-
function
|
684
|
+
function Xe(e) {
|
680
685
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
681
686
|
if (r)
|
682
687
|
return r.call(e);
|
@@ -688,7 +693,7 @@ function Ve(e) {
|
|
688
693
|
};
|
689
694
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
690
695
|
}
|
691
|
-
function
|
696
|
+
function We(e, t) {
|
692
697
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
693
698
|
if (!r)
|
694
699
|
return e;
|
@@ -708,43 +713,43 @@ function Xe(e, t) {
|
|
708
713
|
}
|
709
714
|
return o;
|
710
715
|
}
|
711
|
-
function
|
716
|
+
function Y(e, t, r) {
|
712
717
|
if (r || arguments.length === 2)
|
713
718
|
for (var n = 0, i = t.length, o; n < i; n++)
|
714
719
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
715
720
|
return e.concat(o || t);
|
716
721
|
}
|
717
|
-
function
|
718
|
-
var r = t && t.cache ? t.cache :
|
722
|
+
function Re(e, t) {
|
723
|
+
var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : Dn, i = t && t.strategy ? t.strategy : Gn;
|
719
724
|
return i(e, {
|
720
725
|
cache: r,
|
721
726
|
serializer: n
|
722
727
|
});
|
723
728
|
}
|
724
|
-
function
|
729
|
+
function Rn(e) {
|
725
730
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
726
731
|
}
|
727
|
-
function
|
728
|
-
var i =
|
732
|
+
function $n(e, t, r, n) {
|
733
|
+
var i = Rn(n) ? n : r(n), o = t.get(i);
|
729
734
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
730
735
|
}
|
731
|
-
function
|
736
|
+
function rr(e, t, r) {
|
732
737
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
733
738
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
734
739
|
}
|
735
|
-
function
|
740
|
+
function nr(e, t, r, n, i) {
|
736
741
|
return r.bind(t, e, n, i);
|
737
742
|
}
|
738
|
-
function $n(e, t) {
|
739
|
-
var r = e.length === 1 ? Rn : tr;
|
740
|
-
return rr(e, this, r, t.cache.create(), t.serializer);
|
741
|
-
}
|
742
743
|
function Gn(e, t) {
|
743
|
-
|
744
|
+
var r = e.length === 1 ? $n : rr;
|
745
|
+
return nr(e, this, r, t.cache.create(), t.serializer);
|
746
|
+
}
|
747
|
+
function Un(e, t) {
|
748
|
+
return nr(e, this, rr, t.cache.create(), t.serializer);
|
744
749
|
}
|
745
|
-
var
|
750
|
+
var Dn = function() {
|
746
751
|
return JSON.stringify(arguments);
|
747
|
-
},
|
752
|
+
}, Fn = (
|
748
753
|
/** @class */
|
749
754
|
function() {
|
750
755
|
function e() {
|
@@ -756,61 +761,61 @@ var Un = function() {
|
|
756
761
|
this.cache[t] = r;
|
757
762
|
}, e;
|
758
763
|
}()
|
759
|
-
),
|
764
|
+
), jn = {
|
760
765
|
create: function() {
|
761
|
-
return new
|
766
|
+
return new Fn();
|
762
767
|
}
|
763
|
-
},
|
764
|
-
variadic:
|
768
|
+
}, $e = {
|
769
|
+
variadic: Un
|
765
770
|
}, v;
|
766
771
|
(function(e) {
|
767
772
|
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";
|
768
773
|
})(v || (v = {}));
|
769
|
-
var
|
774
|
+
var S;
|
770
775
|
(function(e) {
|
771
776
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
772
|
-
})(
|
773
|
-
var
|
777
|
+
})(S || (S = {}));
|
778
|
+
var ee;
|
774
779
|
(function(e) {
|
775
780
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
776
|
-
})(
|
777
|
-
function
|
778
|
-
return e.type ===
|
779
|
-
}
|
780
|
-
function jn(e) {
|
781
|
-
return e.type === w.argument;
|
781
|
+
})(ee || (ee = {}));
|
782
|
+
function St(e) {
|
783
|
+
return e.type === S.literal;
|
782
784
|
}
|
783
|
-
function
|
784
|
-
return e.type ===
|
785
|
+
function kn(e) {
|
786
|
+
return e.type === S.argument;
|
785
787
|
}
|
786
788
|
function ir(e) {
|
787
|
-
return e.type ===
|
789
|
+
return e.type === S.number;
|
788
790
|
}
|
789
791
|
function or(e) {
|
790
|
-
return e.type ===
|
792
|
+
return e.type === S.date;
|
791
793
|
}
|
792
794
|
function sr(e) {
|
793
|
-
return e.type ===
|
795
|
+
return e.type === S.time;
|
794
796
|
}
|
795
797
|
function ar(e) {
|
796
|
-
return e.type ===
|
797
|
-
}
|
798
|
-
function kn(e) {
|
799
|
-
return e.type === w.pound;
|
798
|
+
return e.type === S.select;
|
800
799
|
}
|
801
800
|
function lr(e) {
|
802
|
-
return e.type ===
|
801
|
+
return e.type === S.plural;
|
802
|
+
}
|
803
|
+
function Vn(e) {
|
804
|
+
return e.type === S.pound;
|
803
805
|
}
|
804
806
|
function ur(e) {
|
805
|
-
return
|
807
|
+
return e.type === S.tag;
|
808
|
+
}
|
809
|
+
function hr(e) {
|
810
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
806
811
|
}
|
807
|
-
function
|
808
|
-
return !!(e && typeof e == "object" && e.type ===
|
812
|
+
function ze(e) {
|
813
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
809
814
|
}
|
810
|
-
var
|
811
|
-
function
|
815
|
+
var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xn = /(?:[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;
|
816
|
+
function Wn(e) {
|
812
817
|
var t = {};
|
813
|
-
return e.replace(
|
818
|
+
return e.replace(Xn, function(r) {
|
814
819
|
var n = r.length;
|
815
820
|
switch (r[0]) {
|
816
821
|
case "G":
|
@@ -899,11 +904,11 @@ function Xn(e) {
|
|
899
904
|
return "";
|
900
905
|
}), t;
|
901
906
|
}
|
902
|
-
var
|
903
|
-
function
|
907
|
+
var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
908
|
+
function Zn(e) {
|
904
909
|
if (e.length === 0)
|
905
910
|
throw new Error("Number skeleton cannot be empty");
|
906
|
-
for (var t = e.split(
|
911
|
+
for (var t = e.split(zn).filter(function(c) {
|
907
912
|
return c.length > 0;
|
908
913
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
909
914
|
var o = i[n], s = o.split("/");
|
@@ -918,17 +923,17 @@ function zn(e) {
|
|
918
923
|
}
|
919
924
|
return r;
|
920
925
|
}
|
921
|
-
function
|
926
|
+
function Qn(e) {
|
922
927
|
return e.replace(/^(.*?)-/, "");
|
923
928
|
}
|
924
|
-
var
|
925
|
-
function
|
929
|
+
var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
|
930
|
+
function Tt(e) {
|
926
931
|
var t = {};
|
927
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
932
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
|
928
933
|
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)), "";
|
929
934
|
}), t;
|
930
935
|
}
|
931
|
-
function
|
936
|
+
function pr(e) {
|
932
937
|
switch (e) {
|
933
938
|
case "sign-auto":
|
934
939
|
return {
|
@@ -968,7 +973,7 @@ function dr(e) {
|
|
968
973
|
};
|
969
974
|
}
|
970
975
|
}
|
971
|
-
function
|
976
|
+
function Jn(e) {
|
972
977
|
var t;
|
973
978
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
974
979
|
notation: "engineering"
|
@@ -976,17 +981,17 @@ function qn(e) {
|
|
976
981
|
notation: "scientific"
|
977
982
|
}, e = e.slice(1)), t) {
|
978
983
|
var r = e.slice(0, 2);
|
979
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
984
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
|
980
985
|
throw new Error("Malformed concise eng/scientific notation");
|
981
986
|
t.minimumIntegerDigits = e.length;
|
982
987
|
}
|
983
988
|
return t;
|
984
989
|
}
|
985
|
-
function
|
986
|
-
var t = {}, r =
|
990
|
+
function Ht(e) {
|
991
|
+
var t = {}, r = pr(e);
|
987
992
|
return r || t;
|
988
993
|
}
|
989
|
-
function
|
994
|
+
function Yn(e) {
|
990
995
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
991
996
|
var i = n[r];
|
992
997
|
switch (i.stem) {
|
@@ -1010,7 +1015,7 @@ function Jn(e) {
|
|
1010
1015
|
continue;
|
1011
1016
|
case "measure-unit":
|
1012
1017
|
case "unit":
|
1013
|
-
t.style = "unit", t.unit =
|
1018
|
+
t.style = "unit", t.unit = Qn(i.options[0]);
|
1014
1019
|
continue;
|
1015
1020
|
case "compact-short":
|
1016
1021
|
case "K":
|
@@ -1022,12 +1027,12 @@ function Jn(e) {
|
|
1022
1027
|
continue;
|
1023
1028
|
case "scientific":
|
1024
1029
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1025
|
-
return _(_({}, h),
|
1030
|
+
return _(_({}, h), Ht(u));
|
1026
1031
|
}, {}));
|
1027
1032
|
continue;
|
1028
1033
|
case "engineering":
|
1029
1034
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1030
|
-
return _(_({}, h),
|
1035
|
+
return _(_({}, h), Ht(u));
|
1031
1036
|
}, {}));
|
1032
1037
|
continue;
|
1033
1038
|
case "notation-simple":
|
@@ -1072,7 +1077,7 @@ function Jn(e) {
|
|
1072
1077
|
case "integer-width":
|
1073
1078
|
if (i.options.length > 1)
|
1074
1079
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1075
|
-
i.options[0].replace(
|
1080
|
+
i.options[0].replace(qn, function(h, u, l, f, c, d) {
|
1076
1081
|
if (u)
|
1077
1082
|
t.minimumIntegerDigits = l.length;
|
1078
1083
|
else {
|
@@ -1085,32 +1090,32 @@ function Jn(e) {
|
|
1085
1090
|
});
|
1086
1091
|
continue;
|
1087
1092
|
}
|
1088
|
-
if (
|
1093
|
+
if (dr.test(i.stem)) {
|
1089
1094
|
t.minimumIntegerDigits = i.stem.length;
|
1090
1095
|
continue;
|
1091
1096
|
}
|
1092
|
-
if (
|
1097
|
+
if (wt.test(i.stem)) {
|
1093
1098
|
if (i.options.length > 1)
|
1094
1099
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1095
|
-
i.stem.replace(
|
1100
|
+
i.stem.replace(wt, function(h, u, l, f, c, d) {
|
1096
1101
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1097
1102
|
});
|
1098
1103
|
var o = i.options[0];
|
1099
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
1104
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
|
1100
1105
|
continue;
|
1101
1106
|
}
|
1102
|
-
if (
|
1103
|
-
t = _(_({}, t),
|
1107
|
+
if (fr.test(i.stem)) {
|
1108
|
+
t = _(_({}, t), Tt(i.stem));
|
1104
1109
|
continue;
|
1105
1110
|
}
|
1106
|
-
var s =
|
1111
|
+
var s = pr(i.stem);
|
1107
1112
|
s && (t = _(_({}, t), s));
|
1108
|
-
var a =
|
1113
|
+
var a = Jn(i.stem);
|
1109
1114
|
a && (t = _(_({}, t), a));
|
1110
1115
|
}
|
1111
1116
|
return t;
|
1112
1117
|
}
|
1113
|
-
var
|
1118
|
+
var pe = {
|
1114
1119
|
"001": [
|
1115
1120
|
"H",
|
1116
1121
|
"h"
|
@@ -2525,13 +2530,13 @@ var de = {
|
|
2525
2530
|
"h"
|
2526
2531
|
]
|
2527
2532
|
};
|
2528
|
-
function
|
2533
|
+
function Kn(e, t) {
|
2529
2534
|
for (var r = "", n = 0; n < e.length; n++) {
|
2530
2535
|
var i = e.charAt(n);
|
2531
2536
|
if (i === "j") {
|
2532
2537
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2533
2538
|
o++, n++;
|
2534
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
2539
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ei(t);
|
2535
2540
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2536
2541
|
r += h;
|
2537
2542
|
for (; s-- > 0; )
|
@@ -2541,7 +2546,7 @@ function Yn(e, t) {
|
|
2541
2546
|
}
|
2542
2547
|
return r;
|
2543
2548
|
}
|
2544
|
-
function
|
2549
|
+
function ei(e) {
|
2545
2550
|
var t = e.hourCycle;
|
2546
2551
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2547
2552
|
e.hourCycles && // @ts-ignore
|
@@ -2560,23 +2565,23 @@ function Kn(e) {
|
|
2560
2565
|
}
|
2561
2566
|
var r = e.language, n;
|
2562
2567
|
r !== "root" && (n = e.maximize().region);
|
2563
|
-
var i =
|
2568
|
+
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
2564
2569
|
return i[0];
|
2565
2570
|
}
|
2566
|
-
var
|
2571
|
+
var Ge, ti = new RegExp("^".concat(cr.source, "*")), ri = new RegExp("".concat(cr.source, "*$"));
|
2567
2572
|
function y(e, t) {
|
2568
2573
|
return { start: e, end: t };
|
2569
2574
|
}
|
2570
|
-
var
|
2575
|
+
var ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), ii = !!String.fromCodePoint, oi = !!Object.fromEntries, si = !!String.prototype.codePointAt, ai = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, ui = !!Number.isSafeInteger, hi = ui ? Number.isSafeInteger : function(e) {
|
2571
2576
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2572
|
-
},
|
2577
|
+
}, Ze = !0;
|
2573
2578
|
try {
|
2574
|
-
var
|
2575
|
-
|
2579
|
+
var ci = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2580
|
+
Ze = ((Ge = ci.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
2576
2581
|
} catch (e) {
|
2577
|
-
|
2582
|
+
Ze = !1;
|
2578
2583
|
}
|
2579
|
-
var
|
2584
|
+
var Ct = ni ? (
|
2580
2585
|
// Native
|
2581
2586
|
function(t, r, n) {
|
2582
2587
|
return t.startsWith(r, n);
|
@@ -2586,7 +2591,7 @@ var Ht = ri ? (
|
|
2586
2591
|
function(t, r, n) {
|
2587
2592
|
return t.slice(n, n + r.length) === r;
|
2588
2593
|
}
|
2589
|
-
),
|
2594
|
+
), Qe = ii ? String.fromCodePoint : (
|
2590
2595
|
// IE11
|
2591
2596
|
function() {
|
2592
2597
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2598,9 +2603,9 @@ var Ht = ri ? (
|
|
2598
2603
|
}
|
2599
2604
|
return n;
|
2600
2605
|
}
|
2601
|
-
),
|
2606
|
+
), Pt = (
|
2602
2607
|
// native
|
2603
|
-
|
2608
|
+
oi ? Object.fromEntries : (
|
2604
2609
|
// Ponyfill
|
2605
2610
|
function(t) {
|
2606
2611
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2610,7 +2615,7 @@ var Ht = ri ? (
|
|
2610
2615
|
return r;
|
2611
2616
|
}
|
2612
2617
|
)
|
2613
|
-
),
|
2618
|
+
), mr = si ? (
|
2614
2619
|
// Native
|
2615
2620
|
function(t, r) {
|
2616
2621
|
return t.codePointAt(r);
|
@@ -2624,7 +2629,7 @@ var Ht = ri ? (
|
|
2624
2629
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2625
2630
|
}
|
2626
2631
|
}
|
2627
|
-
),
|
2632
|
+
), fi = ai ? (
|
2628
2633
|
// Native
|
2629
2634
|
function(t) {
|
2630
2635
|
return t.trimStart();
|
@@ -2632,9 +2637,9 @@ var Ht = ri ? (
|
|
2632
2637
|
) : (
|
2633
2638
|
// Ponyfill
|
2634
2639
|
function(t) {
|
2635
|
-
return t.replace(
|
2640
|
+
return t.replace(ti, "");
|
2636
2641
|
}
|
2637
|
-
),
|
2642
|
+
), di = li ? (
|
2638
2643
|
// Native
|
2639
2644
|
function(t) {
|
2640
2645
|
return t.trimEnd();
|
@@ -2642,32 +2647,32 @@ var Ht = ri ? (
|
|
2642
2647
|
) : (
|
2643
2648
|
// Ponyfill
|
2644
2649
|
function(t) {
|
2645
|
-
return t.replace(
|
2650
|
+
return t.replace(ri, "");
|
2646
2651
|
}
|
2647
2652
|
);
|
2648
|
-
function
|
2653
|
+
function br(e, t) {
|
2649
2654
|
return new RegExp(e, t);
|
2650
2655
|
}
|
2651
|
-
var
|
2652
|
-
if (
|
2653
|
-
var
|
2654
|
-
|
2656
|
+
var qe;
|
2657
|
+
if (Ze) {
|
2658
|
+
var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2659
|
+
qe = function(t, r) {
|
2655
2660
|
var n;
|
2656
|
-
|
2657
|
-
var i =
|
2661
|
+
Bt.lastIndex = r;
|
2662
|
+
var i = Bt.exec(t);
|
2658
2663
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2659
2664
|
};
|
2660
2665
|
} else
|
2661
|
-
|
2666
|
+
qe = function(t, r) {
|
2662
2667
|
for (var n = []; ; ) {
|
2663
|
-
var i =
|
2664
|
-
if (i === void 0 ||
|
2668
|
+
var i = mr(t, r);
|
2669
|
+
if (i === void 0 || gr(i) || gi(i))
|
2665
2670
|
break;
|
2666
2671
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2667
2672
|
}
|
2668
|
-
return
|
2673
|
+
return Qe.apply(void 0, n);
|
2669
2674
|
};
|
2670
|
-
var
|
2675
|
+
var pi = (
|
2671
2676
|
/** @class */
|
2672
2677
|
function() {
|
2673
2678
|
function e(t, r) {
|
@@ -2691,14 +2696,14 @@ var di = (
|
|
2691
2696
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2692
2697
|
var a = this.clonePosition();
|
2693
2698
|
this.bump(), i.push({
|
2694
|
-
type:
|
2699
|
+
type: S.pound,
|
2695
2700
|
location: y(a, this.clonePosition())
|
2696
2701
|
});
|
2697
2702
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2698
2703
|
if (n)
|
2699
2704
|
break;
|
2700
2705
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2701
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2706
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
2702
2707
|
var s = this.parseTag(t, r);
|
2703
2708
|
if (s.err)
|
2704
2709
|
return s;
|
@@ -2719,7 +2724,7 @@ var di = (
|
|
2719
2724
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2720
2725
|
return {
|
2721
2726
|
val: {
|
2722
|
-
type:
|
2727
|
+
type: S.literal,
|
2723
2728
|
value: "<".concat(i, "/>"),
|
2724
2729
|
location: y(n, this.clonePosition())
|
2725
2730
|
},
|
@@ -2731,12 +2736,12 @@ var di = (
|
|
2731
2736
|
return o;
|
2732
2737
|
var s = o.val, a = this.clonePosition();
|
2733
2738
|
if (this.bumpIf("</")) {
|
2734
|
-
if (this.isEOF() || !
|
2739
|
+
if (this.isEOF() || !Je(this.char()))
|
2735
2740
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2736
2741
|
var h = this.clonePosition(), u = this.parseTagName();
|
2737
2742
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2738
2743
|
val: {
|
2739
|
-
type:
|
2744
|
+
type: S.tag,
|
2740
2745
|
value: i,
|
2741
2746
|
children: s,
|
2742
2747
|
location: y(n, this.clonePosition())
|
@@ -2749,7 +2754,7 @@ var di = (
|
|
2749
2754
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2750
2755
|
}, e.prototype.parseTagName = function() {
|
2751
2756
|
var t = this.offset();
|
2752
|
-
for (this.bump(); !this.isEOF() &&
|
2757
|
+
for (this.bump(); !this.isEOF() && bi(this.char()); )
|
2753
2758
|
this.bump();
|
2754
2759
|
return this.message.slice(t, this.offset());
|
2755
2760
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2773,12 +2778,12 @@ var di = (
|
|
2773
2778
|
}
|
2774
2779
|
var h = y(n, this.clonePosition());
|
2775
2780
|
return {
|
2776
|
-
val: { type:
|
2781
|
+
val: { type: S.literal, value: i, location: h },
|
2777
2782
|
err: null
|
2778
2783
|
};
|
2779
2784
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2780
2785
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2781
|
-
!
|
2786
|
+
!mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2782
2787
|
}, e.prototype.tryParseQuote = function(t) {
|
2783
2788
|
if (this.isEOF() || this.char() !== 39)
|
2784
2789
|
return null;
|
@@ -2812,12 +2817,12 @@ var di = (
|
|
2812
2817
|
r.push(n);
|
2813
2818
|
this.bump();
|
2814
2819
|
}
|
2815
|
-
return
|
2820
|
+
return Qe.apply(void 0, r);
|
2816
2821
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2817
2822
|
if (this.isEOF())
|
2818
2823
|
return null;
|
2819
2824
|
var n = this.char();
|
2820
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2825
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
2821
2826
|
}, e.prototype.parseArgument = function(t, r) {
|
2822
2827
|
var n = this.clonePosition();
|
2823
2828
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2833,7 +2838,7 @@ var di = (
|
|
2833
2838
|
case 125:
|
2834
2839
|
return this.bump(), {
|
2835
2840
|
val: {
|
2836
|
-
type:
|
2841
|
+
type: S.argument,
|
2837
2842
|
// value does not include the opening and closing braces.
|
2838
2843
|
value: i,
|
2839
2844
|
location: y(n, this.clonePosition())
|
@@ -2846,7 +2851,7 @@ var di = (
|
|
2846
2851
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2847
2852
|
}
|
2848
2853
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2849
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2854
|
+
var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
|
2850
2855
|
this.bumpTo(i);
|
2851
2856
|
var o = this.clonePosition(), s = y(t, o);
|
2852
2857
|
return { value: n, location: s };
|
@@ -2865,7 +2870,7 @@ var di = (
|
|
2865
2870
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2866
2871
|
if (f.err)
|
2867
2872
|
return f;
|
2868
|
-
var c =
|
2873
|
+
var c = di(f.val);
|
2869
2874
|
if (c.length === 0)
|
2870
2875
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2871
2876
|
var d = y(l, this.clonePosition());
|
@@ -2875,34 +2880,34 @@ var di = (
|
|
2875
2880
|
if (m.err)
|
2876
2881
|
return m;
|
2877
2882
|
var b = y(i, this.clonePosition());
|
2878
|
-
if (u &&
|
2879
|
-
var g =
|
2883
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
2884
|
+
var g = fi(u.style.slice(2));
|
2880
2885
|
if (a === "number") {
|
2881
2886
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
2882
2887
|
return f.err ? f : {
|
2883
|
-
val: { type:
|
2888
|
+
val: { type: S.number, value: n, location: b, style: f.val },
|
2884
2889
|
err: null
|
2885
2890
|
};
|
2886
2891
|
} else {
|
2887
2892
|
if (g.length === 0)
|
2888
2893
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
2889
2894
|
var x = g;
|
2890
|
-
this.locale && (x =
|
2895
|
+
this.locale && (x = Kn(g, this.locale));
|
2891
2896
|
var c = {
|
2892
|
-
type:
|
2897
|
+
type: ee.dateTime,
|
2893
2898
|
pattern: x,
|
2894
2899
|
location: u.styleLocation,
|
2895
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2896
|
-
},
|
2900
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(x) : {}
|
2901
|
+
}, E = a === "date" ? S.date : S.time;
|
2897
2902
|
return {
|
2898
|
-
val: { type:
|
2903
|
+
val: { type: E, value: n, location: b, style: c },
|
2899
2904
|
err: null
|
2900
2905
|
};
|
2901
2906
|
}
|
2902
2907
|
}
|
2903
2908
|
return {
|
2904
2909
|
val: {
|
2905
|
-
type: a === "number" ?
|
2910
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
2906
2911
|
value: n,
|
2907
2912
|
location: b,
|
2908
2913
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
@@ -2913,43 +2918,43 @@ var di = (
|
|
2913
2918
|
case "plural":
|
2914
2919
|
case "selectordinal":
|
2915
2920
|
case "select": {
|
2916
|
-
var
|
2921
|
+
var w = this.clonePosition();
|
2917
2922
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2918
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(
|
2923
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, _({}, w)));
|
2919
2924
|
this.bumpSpace();
|
2920
|
-
var
|
2921
|
-
if (a !== "select" &&
|
2925
|
+
var T = this.parseIdentifierIfPossible(), O = 0;
|
2926
|
+
if (a !== "select" && T.value === "offset") {
|
2922
2927
|
if (!this.bumpIf(":"))
|
2923
2928
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
2924
2929
|
this.bumpSpace();
|
2925
2930
|
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2926
2931
|
if (f.err)
|
2927
2932
|
return f;
|
2928
|
-
this.bumpSpace(),
|
2933
|
+
this.bumpSpace(), T = this.parseIdentifierIfPossible(), O = f.val;
|
2929
2934
|
}
|
2930
|
-
var
|
2931
|
-
if (
|
2932
|
-
return
|
2935
|
+
var V = this.tryParsePluralOrSelectOptions(t, a, r, T);
|
2936
|
+
if (V.err)
|
2937
|
+
return V;
|
2933
2938
|
var m = this.tryParseArgumentClose(i);
|
2934
2939
|
if (m.err)
|
2935
2940
|
return m;
|
2936
|
-
var
|
2941
|
+
var z = y(i, this.clonePosition());
|
2937
2942
|
return a === "select" ? {
|
2938
2943
|
val: {
|
2939
|
-
type:
|
2944
|
+
type: S.select,
|
2940
2945
|
value: n,
|
2941
|
-
options:
|
2942
|
-
location:
|
2946
|
+
options: Pt(V.val),
|
2947
|
+
location: z
|
2943
2948
|
},
|
2944
2949
|
err: null
|
2945
2950
|
} : {
|
2946
2951
|
val: {
|
2947
|
-
type:
|
2952
|
+
type: S.plural,
|
2948
2953
|
value: n,
|
2949
|
-
options:
|
2954
|
+
options: Pt(V.val),
|
2950
2955
|
offset: O,
|
2951
2956
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2952
|
-
location:
|
2957
|
+
location: z
|
2953
2958
|
},
|
2954
2959
|
err: null
|
2955
2960
|
};
|
@@ -2997,16 +3002,16 @@ var di = (
|
|
2997
3002
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2998
3003
|
var n = [];
|
2999
3004
|
try {
|
3000
|
-
n =
|
3005
|
+
n = Zn(t);
|
3001
3006
|
} catch (i) {
|
3002
3007
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3003
3008
|
}
|
3004
3009
|
return {
|
3005
3010
|
val: {
|
3006
|
-
type:
|
3011
|
+
type: ee.number,
|
3007
3012
|
tokens: n,
|
3008
3013
|
location: r,
|
3009
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3014
|
+
parsedOptions: this.shouldParseSkeletons ? Yn(n) : {}
|
3010
3015
|
},
|
3011
3016
|
err: null
|
3012
3017
|
};
|
@@ -3054,7 +3059,7 @@ var di = (
|
|
3054
3059
|
break;
|
3055
3060
|
}
|
3056
3061
|
var h = y(i, this.clonePosition());
|
3057
|
-
return o ? (s *= n,
|
3062
|
+
return o ? (s *= n, hi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3058
3063
|
}, e.prototype.offset = function() {
|
3059
3064
|
return this.position.offset;
|
3060
3065
|
}, e.prototype.isEOF = function() {
|
@@ -3069,7 +3074,7 @@ var di = (
|
|
3069
3074
|
var t = this.position.offset;
|
3070
3075
|
if (t >= this.message.length)
|
3071
3076
|
throw Error("out of bound");
|
3072
|
-
var r =
|
3077
|
+
var r = mr(this.message, t);
|
3073
3078
|
if (r === void 0)
|
3074
3079
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3075
3080
|
return r;
|
@@ -3088,7 +3093,7 @@ var di = (
|
|
3088
3093
|
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);
|
3089
3094
|
}
|
3090
3095
|
}, e.prototype.bumpIf = function(t) {
|
3091
|
-
if (
|
3096
|
+
if (Ct(this.message, t, this.offset())) {
|
3092
3097
|
for (var r = 0; r < t.length; r++)
|
3093
3098
|
this.bump();
|
3094
3099
|
return !0;
|
@@ -3110,7 +3115,7 @@ var di = (
|
|
3110
3115
|
break;
|
3111
3116
|
}
|
3112
3117
|
}, e.prototype.bumpSpace = function() {
|
3113
|
-
for (; !this.isEOF() &&
|
3118
|
+
for (; !this.isEOF() && gr(this.char()); )
|
3114
3119
|
this.bump();
|
3115
3120
|
}, e.prototype.peek = function() {
|
3116
3121
|
if (this.isEOF())
|
@@ -3120,47 +3125,47 @@ var di = (
|
|
3120
3125
|
}, e;
|
3121
3126
|
}()
|
3122
3127
|
);
|
3123
|
-
function
|
3128
|
+
function Je(e) {
|
3124
3129
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3125
3130
|
}
|
3126
|
-
function pi(e) {
|
3127
|
-
return qe(e) || e === 47;
|
3128
|
-
}
|
3129
3131
|
function mi(e) {
|
3132
|
+
return Je(e) || e === 47;
|
3133
|
+
}
|
3134
|
+
function bi(e) {
|
3130
3135
|
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;
|
3131
3136
|
}
|
3132
|
-
function
|
3137
|
+
function gr(e) {
|
3133
3138
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3134
3139
|
}
|
3135
|
-
function
|
3140
|
+
function gi(e) {
|
3136
3141
|
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;
|
3137
3142
|
}
|
3138
|
-
function
|
3143
|
+
function Ye(e) {
|
3139
3144
|
e.forEach(function(t) {
|
3140
|
-
if (delete t.location,
|
3145
|
+
if (delete t.location, ar(t) || lr(t))
|
3141
3146
|
for (var r in t.options)
|
3142
|
-
delete t.options[r].location,
|
3147
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
3143
3148
|
else
|
3144
|
-
|
3149
|
+
ir(t) && hr(t.style) || (or(t) || sr(t)) && ze(t.style) ? delete t.style.location : ur(t) && Ye(t.children);
|
3145
3150
|
});
|
3146
3151
|
}
|
3147
|
-
function
|
3152
|
+
function vi(e, t) {
|
3148
3153
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3149
|
-
var r = new
|
3154
|
+
var r = new pi(e, t).parse();
|
3150
3155
|
if (r.err) {
|
3151
3156
|
var n = SyntaxError(v[r.err.kind]);
|
3152
3157
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3153
3158
|
}
|
3154
|
-
return t != null && t.captureLocation ||
|
3159
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
3155
3160
|
}
|
3156
|
-
var
|
3161
|
+
var te;
|
3157
3162
|
(function(e) {
|
3158
3163
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3159
|
-
})(
|
3160
|
-
var
|
3164
|
+
})(te || (te = {}));
|
3165
|
+
var Pe = (
|
3161
3166
|
/** @class */
|
3162
3167
|
function(e) {
|
3163
|
-
|
3168
|
+
j(t, e);
|
3164
3169
|
function t(r, n, i) {
|
3165
3170
|
var o = e.call(this, r) || this;
|
3166
3171
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3169,48 +3174,48 @@ var Ce = (
|
|
3169
3174
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3170
3175
|
}, t;
|
3171
3176
|
}(Error)
|
3172
|
-
),
|
3177
|
+
), At = (
|
3173
3178
|
/** @class */
|
3174
3179
|
function(e) {
|
3175
|
-
|
3180
|
+
j(t, e);
|
3176
3181
|
function t(r, n, i, o) {
|
3177
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3182
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
3178
3183
|
}
|
3179
3184
|
return t;
|
3180
|
-
}(
|
3181
|
-
),
|
3185
|
+
}(Pe)
|
3186
|
+
), yi = (
|
3182
3187
|
/** @class */
|
3183
3188
|
function(e) {
|
3184
|
-
|
3189
|
+
j(t, e);
|
3185
3190
|
function t(r, n, i) {
|
3186
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3191
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
3187
3192
|
}
|
3188
3193
|
return t;
|
3189
|
-
}(
|
3190
|
-
),
|
3194
|
+
}(Pe)
|
3195
|
+
), _i = (
|
3191
3196
|
/** @class */
|
3192
3197
|
function(e) {
|
3193
|
-
|
3198
|
+
j(t, e);
|
3194
3199
|
function t(r, n) {
|
3195
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3200
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
3196
3201
|
}
|
3197
3202
|
return t;
|
3198
|
-
}(
|
3203
|
+
}(Pe)
|
3199
3204
|
), A;
|
3200
3205
|
(function(e) {
|
3201
3206
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3202
3207
|
})(A || (A = {}));
|
3203
|
-
function
|
3208
|
+
function xi(e) {
|
3204
3209
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3205
3210
|
var n = t[t.length - 1];
|
3206
3211
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3207
3212
|
}, []);
|
3208
3213
|
}
|
3209
|
-
function
|
3214
|
+
function Ei(e) {
|
3210
3215
|
return typeof e == "function";
|
3211
3216
|
}
|
3212
|
-
function
|
3213
|
-
if (e.length === 1 &&
|
3217
|
+
function ge(e, t, r, n, i, o, s) {
|
3218
|
+
if (e.length === 1 && St(e[0]))
|
3214
3219
|
return [
|
3215
3220
|
{
|
3216
3221
|
type: A.literal,
|
@@ -3219,14 +3224,14 @@ function be(e, t, r, n, i, o, s) {
|
|
3219
3224
|
];
|
3220
3225
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3221
3226
|
var l = u[h];
|
3222
|
-
if (
|
3227
|
+
if (St(l)) {
|
3223
3228
|
a.push({
|
3224
3229
|
type: A.literal,
|
3225
3230
|
value: l.value
|
3226
3231
|
});
|
3227
3232
|
continue;
|
3228
3233
|
}
|
3229
|
-
if (
|
3234
|
+
if (Vn(l)) {
|
3230
3235
|
typeof o == "number" && a.push({
|
3231
3236
|
type: A.literal,
|
3232
3237
|
value: r.getNumberFormat(t).format(o)
|
@@ -3235,89 +3240,89 @@ function be(e, t, r, n, i, o, s) {
|
|
3235
3240
|
}
|
3236
3241
|
var f = l.value;
|
3237
3242
|
if (!(i && f in i))
|
3238
|
-
throw new
|
3243
|
+
throw new _i(f, s);
|
3239
3244
|
var c = i[f];
|
3240
|
-
if (
|
3245
|
+
if (kn(l)) {
|
3241
3246
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3242
3247
|
type: typeof c == "string" ? A.literal : A.object,
|
3243
3248
|
value: c
|
3244
3249
|
});
|
3245
3250
|
continue;
|
3246
3251
|
}
|
3247
|
-
if (
|
3248
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3252
|
+
if (or(l)) {
|
3253
|
+
var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
3249
3254
|
a.push({
|
3250
3255
|
type: A.literal,
|
3251
3256
|
value: r.getDateTimeFormat(t, d).format(c)
|
3252
3257
|
});
|
3253
3258
|
continue;
|
3254
3259
|
}
|
3255
|
-
if (
|
3256
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3260
|
+
if (sr(l)) {
|
3261
|
+
var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
3257
3262
|
a.push({
|
3258
3263
|
type: A.literal,
|
3259
3264
|
value: r.getDateTimeFormat(t, d).format(c)
|
3260
3265
|
});
|
3261
3266
|
continue;
|
3262
3267
|
}
|
3263
|
-
if (
|
3264
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3268
|
+
if (ir(l)) {
|
3269
|
+
var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
|
3265
3270
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3266
3271
|
type: A.literal,
|
3267
3272
|
value: r.getNumberFormat(t, d).format(c)
|
3268
3273
|
});
|
3269
3274
|
continue;
|
3270
3275
|
}
|
3271
|
-
if (
|
3276
|
+
if (ur(l)) {
|
3272
3277
|
var m = l.children, b = l.value, g = i[b];
|
3273
|
-
if (!
|
3274
|
-
throw new
|
3275
|
-
var x =
|
3278
|
+
if (!Ei(g))
|
3279
|
+
throw new yi(b, "function", s);
|
3280
|
+
var x = ge(m, t, r, n, i, o), E = g(x.map(function(O) {
|
3276
3281
|
return O.value;
|
3277
3282
|
}));
|
3278
|
-
Array.isArray(
|
3283
|
+
Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(O) {
|
3279
3284
|
return {
|
3280
3285
|
type: typeof O == "string" ? A.literal : A.object,
|
3281
3286
|
value: O
|
3282
3287
|
};
|
3283
3288
|
}));
|
3284
3289
|
}
|
3285
|
-
if (
|
3286
|
-
var
|
3287
|
-
if (!
|
3288
|
-
throw new
|
3289
|
-
a.push.apply(a,
|
3290
|
+
if (ar(l)) {
|
3291
|
+
var w = l.options[c] || l.options.other;
|
3292
|
+
if (!w)
|
3293
|
+
throw new At(l.value, c, Object.keys(l.options), s);
|
3294
|
+
a.push.apply(a, ge(w.value, t, r, n, i));
|
3290
3295
|
continue;
|
3291
3296
|
}
|
3292
|
-
if (
|
3293
|
-
var
|
3294
|
-
if (!
|
3297
|
+
if (lr(l)) {
|
3298
|
+
var w = l.options["=".concat(c)];
|
3299
|
+
if (!w) {
|
3295
3300
|
if (!Intl.PluralRules)
|
3296
|
-
throw new
|
3301
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3297
3302
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3298
|
-
`,
|
3299
|
-
var
|
3300
|
-
|
3303
|
+
`, te.MISSING_INTL_API, s);
|
3304
|
+
var T = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3305
|
+
w = l.options[T] || l.options.other;
|
3301
3306
|
}
|
3302
|
-
if (!
|
3303
|
-
throw new
|
3304
|
-
a.push.apply(a,
|
3307
|
+
if (!w)
|
3308
|
+
throw new At(l.value, c, Object.keys(l.options), s);
|
3309
|
+
a.push.apply(a, ge(w.value, t, r, n, i, c - (l.offset || 0)));
|
3305
3310
|
continue;
|
3306
3311
|
}
|
3307
3312
|
}
|
3308
|
-
return
|
3313
|
+
return xi(a);
|
3309
3314
|
}
|
3310
|
-
function
|
3315
|
+
function Si(e, t) {
|
3311
3316
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3312
3317
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3313
3318
|
}, {})) : e;
|
3314
3319
|
}
|
3315
|
-
function
|
3320
|
+
function wi(e, t) {
|
3316
3321
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3317
|
-
return r[n] =
|
3322
|
+
return r[n] = Si(e[n], t[n]), r;
|
3318
3323
|
}, _({}, e)) : e;
|
3319
3324
|
}
|
3320
|
-
function
|
3325
|
+
function Ue(e) {
|
3321
3326
|
return {
|
3322
3327
|
create: function() {
|
3323
3328
|
return {
|
@@ -3331,39 +3336,39 @@ function Ge(e) {
|
|
3331
3336
|
}
|
3332
3337
|
};
|
3333
3338
|
}
|
3334
|
-
function
|
3339
|
+
function Ti(e) {
|
3335
3340
|
return e === void 0 && (e = {
|
3336
3341
|
number: {},
|
3337
3342
|
dateTime: {},
|
3338
3343
|
pluralRules: {}
|
3339
3344
|
}), {
|
3340
|
-
getNumberFormat:
|
3345
|
+
getNumberFormat: Re(function() {
|
3341
3346
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3342
3347
|
r[n] = arguments[n];
|
3343
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3348
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
|
3344
3349
|
}, {
|
3345
|
-
cache:
|
3346
|
-
strategy:
|
3350
|
+
cache: Ue(e.number),
|
3351
|
+
strategy: $e.variadic
|
3347
3352
|
}),
|
3348
|
-
getDateTimeFormat:
|
3353
|
+
getDateTimeFormat: Re(function() {
|
3349
3354
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3350
3355
|
r[n] = arguments[n];
|
3351
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3356
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
|
3352
3357
|
}, {
|
3353
|
-
cache:
|
3354
|
-
strategy:
|
3358
|
+
cache: Ue(e.dateTime),
|
3359
|
+
strategy: $e.variadic
|
3355
3360
|
}),
|
3356
|
-
getPluralRules:
|
3361
|
+
getPluralRules: Re(function() {
|
3357
3362
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3358
3363
|
r[n] = arguments[n];
|
3359
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3364
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
|
3360
3365
|
}, {
|
3361
|
-
cache:
|
3362
|
-
strategy:
|
3366
|
+
cache: Ue(e.pluralRules),
|
3367
|
+
strategy: $e.variadic
|
3363
3368
|
})
|
3364
3369
|
};
|
3365
3370
|
}
|
3366
|
-
var
|
3371
|
+
var Hi = (
|
3367
3372
|
/** @class */
|
3368
3373
|
function() {
|
3369
3374
|
function e(t, r, n, i) {
|
@@ -3382,7 +3387,7 @@ var Ti = (
|
|
3382
3387
|
}, []);
|
3383
3388
|
return l.length <= 1 ? l[0] || "" : l;
|
3384
3389
|
}, this.formatToParts = function(h) {
|
3385
|
-
return
|
3390
|
+
return ge(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
3386
3391
|
}, this.resolvedOptions = function() {
|
3387
3392
|
var h;
|
3388
3393
|
return {
|
@@ -3395,13 +3400,13 @@ var Ti = (
|
|
3395
3400
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3396
3401
|
var s = i || {};
|
3397
3402
|
s.formatters;
|
3398
|
-
var a =
|
3403
|
+
var a = Mn(s, ["formatters"]);
|
3399
3404
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3400
3405
|
} else
|
3401
3406
|
this.ast = t;
|
3402
3407
|
if (!Array.isArray(this.ast))
|
3403
3408
|
throw new TypeError("A message must be provided as a String or AST.");
|
3404
|
-
this.formats =
|
3409
|
+
this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
|
3405
3410
|
}
|
3406
3411
|
return Object.defineProperty(e, "defaultLocale", {
|
3407
3412
|
get: function() {
|
@@ -3414,7 +3419,7 @@ var Ti = (
|
|
3414
3419
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3415
3420
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3416
3421
|
}
|
3417
|
-
}, e.__parse =
|
3422
|
+
}, e.__parse = vi, e.formats = {
|
3418
3423
|
number: {
|
3419
3424
|
integer: {
|
3420
3425
|
maximumFractionDigits: 0
|
@@ -3475,7 +3480,7 @@ var Ti = (
|
|
3475
3480
|
}, e;
|
3476
3481
|
}()
|
3477
3482
|
);
|
3478
|
-
function
|
3483
|
+
function Ci(e, t) {
|
3479
3484
|
if (t == null)
|
3480
3485
|
return;
|
3481
3486
|
if (t in e)
|
@@ -3496,92 +3501,92 @@ function Hi(e, t) {
|
|
3496
3501
|
n = void 0;
|
3497
3502
|
return n;
|
3498
3503
|
}
|
3499
|
-
const
|
3504
|
+
const k = {}, Pi = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), vr = (e, t) => {
|
3500
3505
|
if (t == null)
|
3501
3506
|
return;
|
3502
|
-
if (t in
|
3503
|
-
return
|
3504
|
-
const r =
|
3507
|
+
if (t in k && e in k[t])
|
3508
|
+
return k[t][e];
|
3509
|
+
const r = Be(t);
|
3505
3510
|
for (let n = 0; n < r.length; n++) {
|
3506
|
-
const i = r[n], o =
|
3511
|
+
const i = r[n], o = Ai(i, e);
|
3507
3512
|
if (o)
|
3508
|
-
return
|
3513
|
+
return Pi(e, t, o);
|
3509
3514
|
}
|
3510
3515
|
};
|
3511
|
-
let
|
3512
|
-
const
|
3513
|
-
function
|
3514
|
-
return
|
3516
|
+
let ot;
|
3517
|
+
const fe = Ce({});
|
3518
|
+
function Bi(e) {
|
3519
|
+
return ot[e] || null;
|
3515
3520
|
}
|
3516
|
-
function
|
3517
|
-
return e in
|
3521
|
+
function yr(e) {
|
3522
|
+
return e in ot;
|
3518
3523
|
}
|
3519
|
-
function
|
3520
|
-
if (!
|
3524
|
+
function Ai(e, t) {
|
3525
|
+
if (!yr(e))
|
3521
3526
|
return null;
|
3522
|
-
const r =
|
3523
|
-
return
|
3527
|
+
const r = Bi(e);
|
3528
|
+
return Ci(r, t);
|
3524
3529
|
}
|
3525
|
-
function
|
3530
|
+
function Oi(e) {
|
3526
3531
|
if (e == null)
|
3527
3532
|
return;
|
3528
|
-
const t =
|
3533
|
+
const t = Be(e);
|
3529
3534
|
for (let r = 0; r < t.length; r++) {
|
3530
3535
|
const n = t[r];
|
3531
|
-
if (
|
3536
|
+
if (yr(n))
|
3532
3537
|
return n;
|
3533
3538
|
}
|
3534
3539
|
}
|
3535
|
-
function
|
3536
|
-
delete
|
3540
|
+
function _r(e, ...t) {
|
3541
|
+
delete k[e], fe.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
|
3537
3542
|
}
|
3538
|
-
|
3539
|
-
[
|
3543
|
+
ie(
|
3544
|
+
[fe],
|
3540
3545
|
([e]) => Object.keys(e)
|
3541
3546
|
);
|
3542
|
-
|
3543
|
-
const
|
3544
|
-
function
|
3545
|
-
|
3547
|
+
fe.subscribe((e) => ot = e);
|
3548
|
+
const ve = {};
|
3549
|
+
function Li(e, t) {
|
3550
|
+
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
3546
3551
|
}
|
3547
|
-
function
|
3548
|
-
return
|
3552
|
+
function xr(e) {
|
3553
|
+
return ve[e];
|
3549
3554
|
}
|
3550
|
-
function
|
3551
|
-
return
|
3552
|
-
const r =
|
3555
|
+
function Ii(e) {
|
3556
|
+
return Be(e).map((t) => {
|
3557
|
+
const r = xr(t);
|
3553
3558
|
return [t, r ? [...r] : []];
|
3554
3559
|
}).filter(([, t]) => t.length > 0);
|
3555
3560
|
}
|
3556
|
-
function
|
3557
|
-
return e == null ? !1 :
|
3561
|
+
function Ke(e) {
|
3562
|
+
return e == null ? !1 : Be(e).some(
|
3558
3563
|
(t) => {
|
3559
3564
|
var r;
|
3560
|
-
return (r =
|
3565
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
3561
3566
|
}
|
3562
3567
|
);
|
3563
3568
|
}
|
3564
|
-
function
|
3569
|
+
function Ni(e, t) {
|
3565
3570
|
return Promise.all(
|
3566
|
-
t.map((n) => (
|
3567
|
-
).then((n) =>
|
3568
|
-
}
|
3569
|
-
const
|
3570
|
-
function
|
3571
|
-
if (!
|
3572
|
-
return e in
|
3573
|
-
const t =
|
3574
|
-
return
|
3571
|
+
t.map((n) => (Li(e, n), n().then((i) => i.default || i)))
|
3572
|
+
).then((n) => _r(e, ...n));
|
3573
|
+
}
|
3574
|
+
const ae = {};
|
3575
|
+
function Er(e) {
|
3576
|
+
if (!Ke(e))
|
3577
|
+
return e in ae ? ae[e] : Promise.resolve();
|
3578
|
+
const t = Ii(e);
|
3579
|
+
return ae[e] = Promise.all(
|
3575
3580
|
t.map(
|
3576
|
-
([r, n]) =>
|
3581
|
+
([r, n]) => Ni(r, n)
|
3577
3582
|
)
|
3578
3583
|
).then(() => {
|
3579
|
-
if (
|
3580
|
-
return
|
3581
|
-
delete
|
3582
|
-
}),
|
3584
|
+
if (Ke(e))
|
3585
|
+
return Er(e);
|
3586
|
+
delete ae[e];
|
3587
|
+
}), ae[e];
|
3583
3588
|
}
|
3584
|
-
const
|
3589
|
+
const Mi = {
|
3585
3590
|
number: {
|
3586
3591
|
scientific: { notation: "scientific" },
|
3587
3592
|
engineering: { notation: "engineering" },
|
@@ -3610,150 +3615,150 @@ const Ni = {
|
|
3610
3615
|
timeZoneName: "short"
|
3611
3616
|
}
|
3612
3617
|
}
|
3613
|
-
},
|
3618
|
+
}, Ri = {
|
3614
3619
|
fallbackLocale: null,
|
3615
3620
|
loadingDelay: 200,
|
3616
|
-
formats:
|
3621
|
+
formats: Mi,
|
3617
3622
|
warnOnMissingMessages: !0,
|
3618
3623
|
handleMissingMessage: void 0,
|
3619
3624
|
ignoreTag: !0
|
3620
|
-
},
|
3621
|
-
function
|
3622
|
-
return
|
3625
|
+
}, $i = Ri;
|
3626
|
+
function re() {
|
3627
|
+
return $i;
|
3623
3628
|
}
|
3624
|
-
const
|
3625
|
-
var
|
3629
|
+
const De = Ce(!1);
|
3630
|
+
var Gi = Object.defineProperty, Ui = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Fi = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ki = (e, t) => {
|
3626
3631
|
for (var r in t || (t = {}))
|
3627
|
-
|
3628
|
-
if (
|
3629
|
-
for (var r of
|
3630
|
-
|
3632
|
+
Fi.call(t, r) && Lt(e, r, t[r]);
|
3633
|
+
if (Ot)
|
3634
|
+
for (var r of Ot(t))
|
3635
|
+
ji.call(t, r) && Lt(e, r, t[r]);
|
3631
3636
|
return e;
|
3632
|
-
},
|
3633
|
-
let
|
3634
|
-
const
|
3635
|
-
function
|
3637
|
+
}, Vi = (e, t) => Ui(e, Di(t));
|
3638
|
+
let et;
|
3639
|
+
const we = Ce(null);
|
3640
|
+
function It(e) {
|
3636
3641
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3637
3642
|
}
|
3638
|
-
function
|
3639
|
-
const r =
|
3640
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3643
|
+
function Be(e, t = re().fallbackLocale) {
|
3644
|
+
const r = It(e);
|
3645
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
3641
3646
|
}
|
3642
|
-
function
|
3643
|
-
return
|
3647
|
+
function W() {
|
3648
|
+
return et != null ? et : void 0;
|
3644
3649
|
}
|
3645
|
-
|
3646
|
-
|
3650
|
+
we.subscribe((e) => {
|
3651
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3647
3652
|
});
|
3648
|
-
const
|
3649
|
-
if (e &&
|
3650
|
-
const { loadingDelay: t } =
|
3653
|
+
const Xi = (e) => {
|
3654
|
+
if (e && Oi(e) && Ke(e)) {
|
3655
|
+
const { loadingDelay: t } = re();
|
3651
3656
|
let r;
|
3652
|
-
return typeof window != "undefined" &&
|
3653
|
-
() =>
|
3657
|
+
return typeof window != "undefined" && W() != null && t ? r = window.setTimeout(
|
3658
|
+
() => De.set(!0),
|
3654
3659
|
t
|
3655
|
-
) :
|
3656
|
-
|
3660
|
+
) : De.set(!0), Er(e).then(() => {
|
3661
|
+
we.set(e);
|
3657
3662
|
}).finally(() => {
|
3658
|
-
clearTimeout(r),
|
3663
|
+
clearTimeout(r), De.set(!1);
|
3659
3664
|
});
|
3660
3665
|
}
|
3661
|
-
return
|
3662
|
-
},
|
3663
|
-
set:
|
3664
|
-
}),
|
3666
|
+
return we.set(e);
|
3667
|
+
}, oe = Vi(ki({}, we), {
|
3668
|
+
set: Xi
|
3669
|
+
}), Ae = (e) => {
|
3665
3670
|
const t = /* @__PURE__ */ Object.create(null);
|
3666
3671
|
return (n) => {
|
3667
3672
|
const i = JSON.stringify(n);
|
3668
3673
|
return i in t ? t[i] : t[i] = e(n);
|
3669
3674
|
};
|
3670
3675
|
};
|
3671
|
-
var
|
3676
|
+
var Wi = Object.defineProperty, Te = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
3672
3677
|
for (var r in t || (t = {}))
|
3673
|
-
|
3674
|
-
if (
|
3675
|
-
for (var r of
|
3676
|
-
|
3678
|
+
Sr.call(t, r) && Nt(e, r, t[r]);
|
3679
|
+
if (Te)
|
3680
|
+
for (var r of Te(t))
|
3681
|
+
wr.call(t, r) && Nt(e, r, t[r]);
|
3677
3682
|
return e;
|
3678
|
-
},
|
3683
|
+
}, se = (e, t) => {
|
3679
3684
|
var r = {};
|
3680
3685
|
for (var n in e)
|
3681
|
-
|
3682
|
-
if (e != null &&
|
3683
|
-
for (var n of
|
3684
|
-
t.indexOf(n) < 0 &&
|
3686
|
+
Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3687
|
+
if (e != null && Te)
|
3688
|
+
for (var n of Te(e))
|
3689
|
+
t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
|
3685
3690
|
return r;
|
3686
3691
|
};
|
3687
|
-
const
|
3688
|
-
const { formats: r } =
|
3692
|
+
const ce = (e, t) => {
|
3693
|
+
const { formats: r } = re();
|
3689
3694
|
if (e in r && t in r[e])
|
3690
3695
|
return r[e][t];
|
3691
3696
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3692
|
-
},
|
3697
|
+
}, zi = Ae(
|
3693
3698
|
(e) => {
|
3694
|
-
var t = e, { locale: r, format: n } = t, i =
|
3699
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3695
3700
|
if (r == null)
|
3696
3701
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3697
|
-
return n && (i =
|
3702
|
+
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
3698
3703
|
}
|
3699
|
-
),
|
3704
|
+
), Zi = Ae(
|
3700
3705
|
(e) => {
|
3701
|
-
var t = e, { locale: r, format: n } = t, i =
|
3706
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3702
3707
|
if (r == null)
|
3703
3708
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3704
|
-
return n ? i =
|
3709
|
+
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
3705
3710
|
}
|
3706
|
-
),
|
3711
|
+
), Qi = Ae(
|
3707
3712
|
(e) => {
|
3708
|
-
var t = e, { locale: r, format: n } = t, i =
|
3713
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3709
3714
|
if (r == null)
|
3710
3715
|
throw new Error(
|
3711
3716
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3712
3717
|
);
|
3713
|
-
return n ? i =
|
3718
|
+
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
3714
3719
|
}
|
3715
|
-
),
|
3720
|
+
), qi = (e = {}) => {
|
3716
3721
|
var t = e, {
|
3717
|
-
locale: r =
|
3718
|
-
} = t, n =
|
3722
|
+
locale: r = W()
|
3723
|
+
} = t, n = se(t, [
|
3719
3724
|
"locale"
|
3720
3725
|
]);
|
3721
|
-
return
|
3722
|
-
},
|
3726
|
+
return zi(st({ locale: r }, n));
|
3727
|
+
}, Ji = (e = {}) => {
|
3723
3728
|
var t = e, {
|
3724
|
-
locale: r =
|
3725
|
-
} = t, n =
|
3729
|
+
locale: r = W()
|
3730
|
+
} = t, n = se(t, [
|
3726
3731
|
"locale"
|
3727
3732
|
]);
|
3728
|
-
return
|
3729
|
-
},
|
3733
|
+
return Zi(st({ locale: r }, n));
|
3734
|
+
}, Yi = (e = {}) => {
|
3730
3735
|
var t = e, {
|
3731
|
-
locale: r =
|
3732
|
-
} = t, n =
|
3736
|
+
locale: r = W()
|
3737
|
+
} = t, n = se(t, [
|
3733
3738
|
"locale"
|
3734
3739
|
]);
|
3735
|
-
return
|
3736
|
-
},
|
3740
|
+
return Qi(st({ locale: r }, n));
|
3741
|
+
}, Ki = Ae(
|
3737
3742
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3738
|
-
(e, t =
|
3739
|
-
ignoreTag:
|
3743
|
+
(e, t = W()) => new Hi(e, t, re().formats, {
|
3744
|
+
ignoreTag: re().ignoreTag
|
3740
3745
|
})
|
3741
|
-
),
|
3746
|
+
), eo = (e, t = {}) => {
|
3742
3747
|
var r, n, i, o;
|
3743
3748
|
let s = t;
|
3744
3749
|
typeof e == "object" && (s = e, e = s.id);
|
3745
3750
|
const {
|
3746
3751
|
values: a,
|
3747
|
-
locale: h =
|
3752
|
+
locale: h = W(),
|
3748
3753
|
default: u
|
3749
3754
|
} = s;
|
3750
3755
|
if (h == null)
|
3751
3756
|
throw new Error(
|
3752
3757
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3753
3758
|
);
|
3754
|
-
let l =
|
3759
|
+
let l = vr(e, h);
|
3755
3760
|
if (!l)
|
3756
|
-
l = (o = (i = (n = (r =
|
3761
|
+
l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
3757
3762
|
else if (typeof l != "string")
|
3758
3763
|
return console.warn(
|
3759
3764
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3762,7 +3767,7 @@ const he = (e, t) => {
|
|
3762
3767
|
return l;
|
3763
3768
|
let f = l;
|
3764
3769
|
try {
|
3765
|
-
f =
|
3770
|
+
f = Ki(l, h).format(a);
|
3766
3771
|
} catch (c) {
|
3767
3772
|
c instanceof Error && console.warn(
|
3768
3773
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3770,18 +3775,18 @@ const he = (e, t) => {
|
|
3770
3775
|
);
|
3771
3776
|
}
|
3772
3777
|
return f;
|
3773
|
-
},
|
3774
|
-
|
3775
|
-
|
3776
|
-
|
3777
|
-
|
3778
|
-
function
|
3779
|
-
|
3780
|
-
}
|
3781
|
-
function
|
3782
|
-
|
3783
|
-
}
|
3784
|
-
const
|
3778
|
+
}, to = (e, t) => Yi(t).format(e), ro = (e, t) => Ji(t).format(e), no = (e, t) => qi(t).format(e), io = (e, t = W()) => vr(e, t), oo = ie([oe, fe], () => eo);
|
3779
|
+
ie([oe], () => to);
|
3780
|
+
ie([oe], () => ro);
|
3781
|
+
ie([oe], () => no);
|
3782
|
+
ie([oe, fe], () => io);
|
3783
|
+
function Mt(e, t) {
|
3784
|
+
_r(e, t);
|
3785
|
+
}
|
3786
|
+
function so(e) {
|
3787
|
+
oe.set(e);
|
3788
|
+
}
|
3789
|
+
const Rt = {
|
3785
3790
|
en: {
|
3786
3791
|
collections: "Game Collections",
|
3787
3792
|
providers: "Game Providers",
|
@@ -3878,16 +3883,16 @@ const Mt = {
|
|
3878
3883
|
loading: "Loading, please wait ..."
|
3879
3884
|
}
|
3880
3885
|
};
|
3881
|
-
function
|
3886
|
+
function F(e) {
|
3882
3887
|
return typeof e == "function";
|
3883
3888
|
}
|
3884
|
-
function
|
3889
|
+
function Tr(e) {
|
3885
3890
|
var t = function(n) {
|
3886
3891
|
Error.call(n), n.stack = new Error().stack;
|
3887
3892
|
}, r = e(t);
|
3888
3893
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3889
3894
|
}
|
3890
|
-
var
|
3895
|
+
var Fe = Tr(function(e) {
|
3891
3896
|
return function(r) {
|
3892
3897
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3893
3898
|
` + r.map(function(n, i) {
|
@@ -3896,13 +3901,13 @@ var De = wr(function(e) {
|
|
3896
3901
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3897
3902
|
};
|
3898
3903
|
});
|
3899
|
-
function
|
3904
|
+
function tt(e, t) {
|
3900
3905
|
if (e) {
|
3901
3906
|
var r = e.indexOf(t);
|
3902
3907
|
0 <= r && e.splice(r, 1);
|
3903
3908
|
}
|
3904
3909
|
}
|
3905
|
-
var
|
3910
|
+
var Oe = function() {
|
3906
3911
|
function e(t) {
|
3907
3912
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
3908
3913
|
}
|
@@ -3914,7 +3919,7 @@ var Ae = function() {
|
|
3914
3919
|
if (s)
|
3915
3920
|
if (this._parentage = null, Array.isArray(s))
|
3916
3921
|
try {
|
3917
|
-
for (var a =
|
3922
|
+
for (var a = Xe(s), h = a.next(); !h.done; h = a.next()) {
|
3918
3923
|
var u = h.value;
|
3919
3924
|
u.remove(this);
|
3920
3925
|
}
|
@@ -3931,22 +3936,22 @@ var Ae = function() {
|
|
3931
3936
|
else
|
3932
3937
|
s.remove(this);
|
3933
3938
|
var l = this.initialTeardown;
|
3934
|
-
if (
|
3939
|
+
if (F(l))
|
3935
3940
|
try {
|
3936
3941
|
l();
|
3937
3942
|
} catch (b) {
|
3938
|
-
o = b instanceof
|
3943
|
+
o = b instanceof Fe ? b.errors : [b];
|
3939
3944
|
}
|
3940
3945
|
var f = this._finalizers;
|
3941
3946
|
if (f) {
|
3942
3947
|
this._finalizers = null;
|
3943
3948
|
try {
|
3944
|
-
for (var c =
|
3949
|
+
for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
|
3945
3950
|
var m = d.value;
|
3946
3951
|
try {
|
3947
|
-
|
3952
|
+
$t(m);
|
3948
3953
|
} catch (b) {
|
3949
|
-
o = o != null ? o : [], b instanceof
|
3954
|
+
o = o != null ? o : [], b instanceof Fe ? o = Y(Y([], We(o)), We(b.errors)) : o.push(b);
|
3950
3955
|
}
|
3951
3956
|
}
|
3952
3957
|
} catch (b) {
|
@@ -3961,13 +3966,13 @@ var Ae = function() {
|
|
3961
3966
|
}
|
3962
3967
|
}
|
3963
3968
|
if (o)
|
3964
|
-
throw new
|
3969
|
+
throw new Fe(o);
|
3965
3970
|
}
|
3966
3971
|
}, e.prototype.add = function(t) {
|
3967
3972
|
var r;
|
3968
3973
|
if (t && t !== this)
|
3969
3974
|
if (this.closed)
|
3970
|
-
|
3975
|
+
$t(t);
|
3971
3976
|
else {
|
3972
3977
|
if (t instanceof e) {
|
3973
3978
|
if (t.closed || t._hasParent(this))
|
@@ -3984,52 +3989,52 @@ var Ae = function() {
|
|
3984
3989
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3985
3990
|
}, e.prototype._removeParent = function(t) {
|
3986
3991
|
var r = this._parentage;
|
3987
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3992
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
3988
3993
|
}, e.prototype.remove = function(t) {
|
3989
3994
|
var r = this._finalizers;
|
3990
|
-
r &&
|
3995
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
3991
3996
|
}, e.EMPTY = function() {
|
3992
3997
|
var t = new e();
|
3993
3998
|
return t.closed = !0, t;
|
3994
3999
|
}(), e;
|
3995
|
-
}(),
|
3996
|
-
function
|
3997
|
-
return e instanceof
|
4000
|
+
}(), Hr = Oe.EMPTY;
|
4001
|
+
function Cr(e) {
|
4002
|
+
return e instanceof Oe || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
|
3998
4003
|
}
|
3999
|
-
function
|
4000
|
-
|
4004
|
+
function $t(e) {
|
4005
|
+
F(e) ? e() : e.unsubscribe();
|
4001
4006
|
}
|
4002
|
-
var
|
4007
|
+
var ao = {
|
4003
4008
|
Promise: void 0
|
4004
|
-
},
|
4009
|
+
}, lo = {
|
4005
4010
|
setTimeout: function(e, t) {
|
4006
4011
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4007
4012
|
r[n - 2] = arguments[n];
|
4008
|
-
return setTimeout.apply(void 0,
|
4013
|
+
return setTimeout.apply(void 0, Y([e, t], We(r)));
|
4009
4014
|
},
|
4010
4015
|
clearTimeout: function(e) {
|
4011
4016
|
return clearTimeout(e);
|
4012
4017
|
},
|
4013
4018
|
delegate: void 0
|
4014
4019
|
};
|
4015
|
-
function
|
4016
|
-
|
4020
|
+
function uo(e) {
|
4021
|
+
lo.setTimeout(function() {
|
4017
4022
|
throw e;
|
4018
4023
|
});
|
4019
4024
|
}
|
4020
|
-
function
|
4025
|
+
function Gt() {
|
4021
4026
|
}
|
4022
|
-
function
|
4027
|
+
function ye(e) {
|
4023
4028
|
e();
|
4024
4029
|
}
|
4025
|
-
var
|
4026
|
-
|
4030
|
+
var Pr = function(e) {
|
4031
|
+
j(t, e);
|
4027
4032
|
function t(r) {
|
4028
4033
|
var n = e.call(this) || this;
|
4029
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4034
|
+
return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = fo, n;
|
4030
4035
|
}
|
4031
4036
|
return t.create = function(r, n, i) {
|
4032
|
-
return new
|
4037
|
+
return new rt(r, n, i);
|
4033
4038
|
}, t.prototype.next = function(r) {
|
4034
4039
|
this.isStopped || this._next(r);
|
4035
4040
|
}, t.prototype.error = function(r) {
|
@@ -4053,7 +4058,7 @@ var Cr = function(e) {
|
|
4053
4058
|
this.unsubscribe();
|
4054
4059
|
}
|
4055
4060
|
}, t;
|
4056
|
-
}(
|
4061
|
+
}(Oe), ho = function() {
|
4057
4062
|
function e(t) {
|
4058
4063
|
this.partialObserver = t;
|
4059
4064
|
}
|
@@ -4063,7 +4068,7 @@ var Cr = function(e) {
|
|
4063
4068
|
try {
|
4064
4069
|
r.next(t);
|
4065
4070
|
} catch (n) {
|
4066
|
-
|
4071
|
+
me(n);
|
4067
4072
|
}
|
4068
4073
|
}, e.prototype.error = function(t) {
|
4069
4074
|
var r = this.partialObserver;
|
@@ -4071,56 +4076,56 @@ var Cr = function(e) {
|
|
4071
4076
|
try {
|
4072
4077
|
r.error(t);
|
4073
4078
|
} catch (n) {
|
4074
|
-
|
4079
|
+
me(n);
|
4075
4080
|
}
|
4076
4081
|
else
|
4077
|
-
|
4082
|
+
me(t);
|
4078
4083
|
}, e.prototype.complete = function() {
|
4079
4084
|
var t = this.partialObserver;
|
4080
4085
|
if (t.complete)
|
4081
4086
|
try {
|
4082
4087
|
t.complete();
|
4083
4088
|
} catch (r) {
|
4084
|
-
|
4089
|
+
me(r);
|
4085
4090
|
}
|
4086
4091
|
}, e;
|
4087
|
-
}(),
|
4088
|
-
|
4092
|
+
}(), rt = function(e) {
|
4093
|
+
j(t, e);
|
4089
4094
|
function t(r, n, i) {
|
4090
4095
|
var o = e.call(this) || this, s;
|
4091
|
-
return
|
4096
|
+
return F(r) || !r ? s = {
|
4092
4097
|
next: r != null ? r : void 0,
|
4093
4098
|
error: n != null ? n : void 0,
|
4094
4099
|
complete: i != null ? i : void 0
|
4095
|
-
} : s = r, o.destination = new
|
4100
|
+
} : s = r, o.destination = new ho(s), o;
|
4096
4101
|
}
|
4097
4102
|
return t;
|
4098
|
-
}(
|
4099
|
-
function
|
4100
|
-
|
4103
|
+
}(Pr);
|
4104
|
+
function me(e) {
|
4105
|
+
uo(e);
|
4101
4106
|
}
|
4102
|
-
function
|
4107
|
+
function co(e) {
|
4103
4108
|
throw e;
|
4104
4109
|
}
|
4105
|
-
var
|
4110
|
+
var fo = {
|
4106
4111
|
closed: !0,
|
4107
|
-
next:
|
4108
|
-
error:
|
4109
|
-
complete:
|
4110
|
-
},
|
4112
|
+
next: Gt,
|
4113
|
+
error: co,
|
4114
|
+
complete: Gt
|
4115
|
+
}, po = function() {
|
4111
4116
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4112
4117
|
}();
|
4113
|
-
function
|
4118
|
+
function mo(e) {
|
4114
4119
|
return e;
|
4115
4120
|
}
|
4116
|
-
function
|
4117
|
-
return e.length === 0 ?
|
4121
|
+
function bo(e) {
|
4122
|
+
return e.length === 0 ? mo : e.length === 1 ? e[0] : function(r) {
|
4118
4123
|
return e.reduce(function(n, i) {
|
4119
4124
|
return i(n);
|
4120
4125
|
}, r);
|
4121
4126
|
};
|
4122
4127
|
}
|
4123
|
-
var
|
4128
|
+
var Ut = function() {
|
4124
4129
|
function e(t) {
|
4125
4130
|
t && (this._subscribe = t);
|
4126
4131
|
}
|
@@ -4128,8 +4133,8 @@ var Gt = function() {
|
|
4128
4133
|
var r = new e();
|
4129
4134
|
return r.source = this, r.operator = t, r;
|
4130
4135
|
}, e.prototype.subscribe = function(t, r, n) {
|
4131
|
-
var i = this, o =
|
4132
|
-
return
|
4136
|
+
var i = this, o = vo(t) ? t : new rt(t, r, n);
|
4137
|
+
return ye(function() {
|
4133
4138
|
var s = i, a = s.operator, h = s.source;
|
4134
4139
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
4135
4140
|
}), o;
|
@@ -4141,8 +4146,8 @@ var Gt = function() {
|
|
4141
4146
|
}
|
4142
4147
|
}, e.prototype.forEach = function(t, r) {
|
4143
4148
|
var n = this;
|
4144
|
-
return r =
|
4145
|
-
var s = new
|
4149
|
+
return r = Dt(r), new r(function(i, o) {
|
4150
|
+
var s = new rt({
|
4146
4151
|
next: function(a) {
|
4147
4152
|
try {
|
4148
4153
|
t(a);
|
@@ -4158,15 +4163,15 @@ var Gt = function() {
|
|
4158
4163
|
}, e.prototype._subscribe = function(t) {
|
4159
4164
|
var r;
|
4160
4165
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4161
|
-
}, e.prototype[
|
4166
|
+
}, e.prototype[po] = function() {
|
4162
4167
|
return this;
|
4163
4168
|
}, e.prototype.pipe = function() {
|
4164
4169
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4165
4170
|
t[r] = arguments[r];
|
4166
|
-
return
|
4171
|
+
return bo(t)(this);
|
4167
4172
|
}, e.prototype.toPromise = function(t) {
|
4168
4173
|
var r = this;
|
4169
|
-
return t =
|
4174
|
+
return t = Dt(t), new t(function(n, i) {
|
4170
4175
|
var o;
|
4171
4176
|
r.subscribe(function(s) {
|
4172
4177
|
return o = s;
|
@@ -4180,40 +4185,40 @@ var Gt = function() {
|
|
4180
4185
|
return new e(t);
|
4181
4186
|
}, e;
|
4182
4187
|
}();
|
4183
|
-
function
|
4188
|
+
function Dt(e) {
|
4184
4189
|
var t;
|
4185
|
-
return (t = e != null ? e :
|
4186
|
-
}
|
4187
|
-
function bo(e) {
|
4188
|
-
return e && D(e.next) && D(e.error) && D(e.complete);
|
4190
|
+
return (t = e != null ? e : ao.Promise) !== null && t !== void 0 ? t : Promise;
|
4189
4191
|
}
|
4190
4192
|
function go(e) {
|
4191
|
-
return e && e
|
4193
|
+
return e && F(e.next) && F(e.error) && F(e.complete);
|
4194
|
+
}
|
4195
|
+
function vo(e) {
|
4196
|
+
return e && e instanceof Pr || go(e) && Cr(e);
|
4192
4197
|
}
|
4193
|
-
var
|
4198
|
+
var yo = Tr(function(e) {
|
4194
4199
|
return function() {
|
4195
4200
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4196
4201
|
};
|
4197
|
-
}),
|
4198
|
-
|
4202
|
+
}), Br = function(e) {
|
4203
|
+
j(t, e);
|
4199
4204
|
function t() {
|
4200
4205
|
var r = e.call(this) || this;
|
4201
4206
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4202
4207
|
}
|
4203
4208
|
return t.prototype.lift = function(r) {
|
4204
|
-
var n = new
|
4209
|
+
var n = new Ft(this, this);
|
4205
4210
|
return n.operator = r, n;
|
4206
4211
|
}, t.prototype._throwIfClosed = function() {
|
4207
4212
|
if (this.closed)
|
4208
|
-
throw new
|
4213
|
+
throw new yo();
|
4209
4214
|
}, t.prototype.next = function(r) {
|
4210
4215
|
var n = this;
|
4211
|
-
|
4216
|
+
ye(function() {
|
4212
4217
|
var i, o;
|
4213
4218
|
if (n._throwIfClosed(), !n.isStopped) {
|
4214
4219
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4215
4220
|
try {
|
4216
|
-
for (var s =
|
4221
|
+
for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4217
4222
|
var h = a.value;
|
4218
4223
|
h.next(r);
|
4219
4224
|
}
|
@@ -4231,7 +4236,7 @@ var vo = wr(function(e) {
|
|
4231
4236
|
});
|
4232
4237
|
}, t.prototype.error = function(r) {
|
4233
4238
|
var n = this;
|
4234
|
-
|
4239
|
+
ye(function() {
|
4235
4240
|
if (n._throwIfClosed(), !n.isStopped) {
|
4236
4241
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
4237
4242
|
for (var i = n.observers; i.length; )
|
@@ -4240,7 +4245,7 @@ var vo = wr(function(e) {
|
|
4240
4245
|
});
|
4241
4246
|
}, t.prototype.complete = function() {
|
4242
4247
|
var r = this;
|
4243
|
-
|
4248
|
+
ye(function() {
|
4244
4249
|
if (r._throwIfClosed(), !r.isStopped) {
|
4245
4250
|
r.isStopped = !0;
|
4246
4251
|
for (var n = r.observers; n.length; )
|
@@ -4262,20 +4267,20 @@ var vo = wr(function(e) {
|
|
4262
4267
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4263
4268
|
}, t.prototype._innerSubscribe = function(r) {
|
4264
4269
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4265
|
-
return o || s ?
|
4266
|
-
n.currentObservers = null,
|
4270
|
+
return o || s ? Hr : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4271
|
+
n.currentObservers = null, tt(a, r);
|
4267
4272
|
}));
|
4268
4273
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4269
4274
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4270
4275
|
i ? r.error(o) : s && r.complete();
|
4271
4276
|
}, t.prototype.asObservable = function() {
|
4272
|
-
var r = new
|
4277
|
+
var r = new Ut();
|
4273
4278
|
return r.source = this, r;
|
4274
4279
|
}, t.create = function(r, n) {
|
4275
|
-
return new
|
4280
|
+
return new Ft(r, n);
|
4276
4281
|
}, t;
|
4277
|
-
}(
|
4278
|
-
|
4282
|
+
}(Ut), Ft = function(e) {
|
4283
|
+
j(t, e);
|
4279
4284
|
function t(r, n) {
|
4280
4285
|
var i = e.call(this) || this;
|
4281
4286
|
return i.destination = r, i.source = n, i;
|
@@ -4291,17 +4296,17 @@ var vo = wr(function(e) {
|
|
4291
4296
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4292
4297
|
}, t.prototype._subscribe = function(r) {
|
4293
4298
|
var n, i;
|
4294
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4299
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
|
4295
4300
|
}, t;
|
4296
|
-
}(
|
4301
|
+
}(Br), Ar = {
|
4297
4302
|
now: function() {
|
4298
|
-
return (
|
4303
|
+
return (Ar.delegate || Date).now();
|
4299
4304
|
},
|
4300
4305
|
delegate: void 0
|
4301
|
-
},
|
4302
|
-
|
4306
|
+
}, _o = function(e) {
|
4307
|
+
j(t, e);
|
4303
4308
|
function t(r, n, i) {
|
4304
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4309
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
|
4305
4310
|
var o = e.call(this) || this;
|
4306
4311
|
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;
|
4307
4312
|
}
|
@@ -4321,23 +4326,23 @@ var vo = wr(function(e) {
|
|
4321
4326
|
u && o.splice(0, u + 1);
|
4322
4327
|
}
|
4323
4328
|
}, t;
|
4324
|
-
}(
|
4325
|
-
const
|
4326
|
-
if (
|
4327
|
-
const r = new
|
4328
|
-
|
4329
|
+
}(Br);
|
4330
|
+
const jt = [], kt = {}, xo = (e, t = 0) => {
|
4331
|
+
if (jt.indexOf(e) == -1) {
|
4332
|
+
const r = new _o(t);
|
4333
|
+
kt[e] = r, jt.push(e);
|
4329
4334
|
}
|
4330
|
-
return
|
4335
|
+
return kt[e];
|
4331
4336
|
};
|
4332
|
-
window.emWidgets = { topic:
|
4333
|
-
const
|
4334
|
-
function
|
4337
|
+
window.emWidgets = { topic: xo };
|
4338
|
+
const Eo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
4339
|
+
function So(e, t) {
|
4335
4340
|
if (e) {
|
4336
4341
|
const r = document.createElement("style");
|
4337
4342
|
r.innerHTML = t, e.appendChild(r);
|
4338
4343
|
}
|
4339
4344
|
}
|
4340
|
-
function
|
4345
|
+
function wo(e, t) {
|
4341
4346
|
const r = new URL(t);
|
4342
4347
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4343
4348
|
const i = document.createElement("style");
|
@@ -4346,7 +4351,7 @@ function So(e, t) {
|
|
4346
4351
|
console.error("There was an error while trying to load client styling from URL", n);
|
4347
4352
|
});
|
4348
4353
|
}
|
4349
|
-
function
|
4354
|
+
function To(e, t, r) {
|
4350
4355
|
if (window.emMessageBus) {
|
4351
4356
|
const n = document.createElement("style");
|
4352
4357
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4354,18 +4359,18 @@ function wo(e, t, r) {
|
|
4354
4359
|
});
|
4355
4360
|
}
|
4356
4361
|
}
|
4357
|
-
function
|
4358
|
-
|
4362
|
+
function Ho(e) {
|
4363
|
+
qr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
4359
4364
|
}
|
4360
|
-
function
|
4365
|
+
function Vt(e, t, r) {
|
4361
4366
|
const n = e.slice();
|
4362
4367
|
return n[41] = t[r], n;
|
4363
4368
|
}
|
4364
|
-
function
|
4369
|
+
function Xt(e, t, r) {
|
4365
4370
|
const n = e.slice();
|
4366
4371
|
return n[44] = t[r], n;
|
4367
4372
|
}
|
4368
|
-
function
|
4373
|
+
function Co(e) {
|
4369
4374
|
let t, r, n, i = (
|
4370
4375
|
/*type*/
|
4371
4376
|
(e[0] === "vendor" ? (
|
@@ -4378,24 +4383,24 @@ function Ho(e) {
|
|
4378
4383
|
), o, s, a, h, u, l = (
|
4379
4384
|
/*numberOfSlides*/
|
4380
4385
|
e[7] > /*numberOfVisibleSlides*/
|
4381
|
-
e[8] &&
|
4382
|
-
), f =
|
4386
|
+
e[8] && Wt(e)
|
4387
|
+
), f = Se(
|
4383
4388
|
/*gameCategories*/
|
4384
4389
|
e[3]
|
4385
4390
|
), c = [];
|
4386
4391
|
for (let d = 0; d < f.length; d += 1)
|
4387
|
-
c[d] =
|
4392
|
+
c[d] = Qt(Vt(e, f, d));
|
4388
4393
|
return {
|
4389
4394
|
c() {
|
4390
|
-
t =
|
4395
|
+
t = C("div"), r = C("div"), n = C("p"), o = He(i), s = X(), l && l.c(), a = X(), h = C("div");
|
4391
4396
|
for (let d = 0; d < c.length; d += 1)
|
4392
4397
|
c[d].c();
|
4393
|
-
|
4398
|
+
P(n, "class", "Title"), P(r, "class", "CategoriesHeader"), P(h, "class", "CategoriesSlider"), P(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
4394
4399
|
(e[9] ? "Mobile" : "") + " " + /*type*/
|
4395
4400
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4396
4401
|
},
|
4397
4402
|
m(d, m) {
|
4398
|
-
|
4403
|
+
U(d, t, m), H(t, r), H(r, n), H(n, o), H(r, s), l && l.m(r, null), H(t, a), H(t, h);
|
4399
4404
|
for (let b = 0; b < c.length; b += 1)
|
4400
4405
|
c[b] && c[b].m(h, null);
|
4401
4406
|
e[25](h);
|
@@ -4409,18 +4414,18 @@ function Ho(e) {
|
|
4409
4414
|
) : (
|
4410
4415
|
/*$_*/
|
4411
4416
|
d[10]("collections")
|
4412
|
-
)) + "") &&
|
4417
|
+
)) + "") && it(o, i), /*numberOfSlides*/
|
4413
4418
|
d[7] > /*numberOfVisibleSlides*/
|
4414
|
-
d[8] ? l ? l.p(d, m) : (l =
|
4419
|
+
d[8] ? l ? l.p(d, m) : (l = Wt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4415
4420
|
24590) {
|
4416
|
-
f =
|
4421
|
+
f = Se(
|
4417
4422
|
/*gameCategories*/
|
4418
4423
|
d[3]
|
4419
4424
|
);
|
4420
4425
|
let b;
|
4421
4426
|
for (b = 0; b < f.length; b += 1) {
|
4422
|
-
const g =
|
4423
|
-
c[b] ? c[b].p(g, m) : (c[b] =
|
4427
|
+
const g = Vt(d, f, b);
|
4428
|
+
c[b] ? c[b].p(g, m) : (c[b] = Qt(g), c[b].c(), c[b].m(h, null));
|
4424
4429
|
}
|
4425
4430
|
for (; b < c.length; b += 1)
|
4426
4431
|
c[b].d(1);
|
@@ -4429,21 +4434,21 @@ function Ho(e) {
|
|
4429
4434
|
m[0] & /*mobile, type*/
|
4430
4435
|
513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
4431
4436
|
(d[9] ? "Mobile" : "") + " " + /*type*/
|
4432
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4437
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && P(t, "class", u);
|
4433
4438
|
},
|
4434
4439
|
d(d) {
|
4435
|
-
d && R(t), l && l.d(),
|
4440
|
+
d && R(t), l && l.d(), Kt(c, d), e[25](null);
|
4436
4441
|
}
|
4437
4442
|
};
|
4438
4443
|
}
|
4439
|
-
function
|
4444
|
+
function Po(e) {
|
4440
4445
|
let t;
|
4441
4446
|
return {
|
4442
4447
|
c() {
|
4443
|
-
t =
|
4448
|
+
t = C("div"), P(t, "class", "LoadingSpinner");
|
4444
4449
|
},
|
4445
4450
|
m(r, n) {
|
4446
|
-
|
4451
|
+
U(r, t, n);
|
4447
4452
|
},
|
4448
4453
|
p: I,
|
4449
4454
|
d(r) {
|
@@ -4451,21 +4456,21 @@ function Co(e) {
|
|
4451
4456
|
}
|
4452
4457
|
};
|
4453
4458
|
}
|
4454
|
-
function
|
4459
|
+
function Wt(e) {
|
4455
4460
|
let t, r, n, i, o, s;
|
4456
4461
|
return {
|
4457
4462
|
c() {
|
4458
|
-
t =
|
4463
|
+
t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = X(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', P(t, "class", "ButtonsContainer");
|
4459
4464
|
},
|
4460
4465
|
m(a, h) {
|
4461
|
-
|
4462
|
-
|
4466
|
+
U(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
|
4467
|
+
xe(
|
4463
4468
|
r,
|
4464
4469
|
"click",
|
4465
4470
|
/*sliderScrollLeft*/
|
4466
4471
|
e[11]
|
4467
4472
|
),
|
4468
|
-
|
4473
|
+
xe(
|
4469
4474
|
i,
|
4470
4475
|
"click",
|
4471
4476
|
/*sliderScrollRight*/
|
@@ -4475,81 +4480,81 @@ function Xt(e) {
|
|
4475
4480
|
},
|
4476
4481
|
p: I,
|
4477
4482
|
d(a) {
|
4478
|
-
a && R(t), o = !1,
|
4483
|
+
a && R(t), o = !1, ne(s);
|
4479
4484
|
}
|
4480
4485
|
};
|
4481
4486
|
}
|
4482
|
-
function
|
4487
|
+
function Bo(e) {
|
4483
4488
|
let t, r = (
|
4484
4489
|
/*category*/
|
4485
4490
|
e[41].name + ""
|
4486
4491
|
), n;
|
4487
4492
|
return {
|
4488
4493
|
c() {
|
4489
|
-
t =
|
4494
|
+
t = C("p"), n = He(r), P(t, "class", "CategorySlideTitle");
|
4490
4495
|
},
|
4491
4496
|
m(i, o) {
|
4492
|
-
|
4497
|
+
U(i, t, o), H(t, n);
|
4493
4498
|
},
|
4494
4499
|
p(i, o) {
|
4495
4500
|
o[0] & /*gameCategories*/
|
4496
4501
|
8 && r !== (r = /*category*/
|
4497
|
-
i[41].name + "") &&
|
4502
|
+
i[41].name + "") && it(n, r);
|
4498
4503
|
},
|
4499
4504
|
d(i) {
|
4500
4505
|
i && R(t);
|
4501
4506
|
}
|
4502
4507
|
};
|
4503
4508
|
}
|
4504
|
-
function
|
4509
|
+
function Ao(e) {
|
4505
4510
|
let t, r, n;
|
4506
4511
|
return {
|
4507
4512
|
c() {
|
4508
|
-
t =
|
4509
|
-
e[41].icon) ||
|
4513
|
+
t = C("ui-image"), G(t, "imgClass", "CategorySlideLogo"), _e(t.src, r = /*category*/
|
4514
|
+
e[41].icon) || G(t, "src", r), G(t, "alt", n = /*category*/
|
4510
4515
|
e[41].name + " icon");
|
4511
4516
|
},
|
4512
4517
|
m(i, o) {
|
4513
|
-
|
4518
|
+
U(i, t, o);
|
4514
4519
|
},
|
4515
4520
|
p(i, o) {
|
4516
4521
|
o[0] & /*gameCategories*/
|
4517
|
-
8 && !
|
4518
|
-
i[41].icon) &&
|
4522
|
+
8 && !_e(t.src, r = /*category*/
|
4523
|
+
i[41].icon) && G(t, "src", r), o[0] & /*gameCategories*/
|
4519
4524
|
8 && n !== (n = /*category*/
|
4520
|
-
i[41].name + " icon") &&
|
4525
|
+
i[41].name + " icon") && G(t, "alt", n);
|
4521
4526
|
},
|
4522
4527
|
d(i) {
|
4523
4528
|
i && R(t);
|
4524
4529
|
}
|
4525
4530
|
};
|
4526
4531
|
}
|
4527
|
-
function
|
4532
|
+
function zt(e) {
|
4528
4533
|
let t, r = (
|
4529
4534
|
/*game*/
|
4530
4535
|
e[44].name + ""
|
4531
4536
|
), n, i;
|
4532
4537
|
return {
|
4533
4538
|
c() {
|
4534
|
-
t =
|
4539
|
+
t = C("p"), n = He(r), P(t, "title", i = /*game*/
|
4535
4540
|
e[44].name);
|
4536
4541
|
},
|
4537
4542
|
m(o, s) {
|
4538
|
-
|
4543
|
+
U(o, t, s), H(t, n);
|
4539
4544
|
},
|
4540
4545
|
p(o, s) {
|
4541
4546
|
s[0] & /*gameCategories*/
|
4542
4547
|
8 && r !== (r = /*game*/
|
4543
|
-
o[44].name + "") &&
|
4548
|
+
o[44].name + "") && it(n, r), s[0] & /*gameCategories*/
|
4544
4549
|
8 && i !== (i = /*game*/
|
4545
|
-
o[44].name) &&
|
4550
|
+
o[44].name) && P(t, "title", i);
|
4546
4551
|
},
|
4547
4552
|
d(o) {
|
4548
4553
|
o && R(t);
|
4549
4554
|
}
|
4550
4555
|
};
|
4551
4556
|
}
|
4552
|
-
function
|
4557
|
+
function Zt(e) {
|
4553
4558
|
let t, r, n, i, o, s, a, h;
|
4554
4559
|
function u() {
|
4555
4560
|
return (
|
@@ -4562,50 +4567,50 @@ function zt(e) {
|
|
4562
4567
|
}
|
4563
4568
|
let l = (
|
4564
4569
|
/*collectionprovidersgamenames*/
|
4565
|
-
e[2] == "true" &&
|
4570
|
+
e[2] == "true" && zt(e)
|
4566
4571
|
);
|
4567
4572
|
return {
|
4568
4573
|
c() {
|
4569
|
-
t =
|
4570
|
-
e[44].defaultThumbnail) ||
|
4571
|
-
e[44].name),
|
4574
|
+
t = C("div"), r = C("ui-image"), o = X(), l && l.c(), s = X(), G(r, "imgClass", "CategorySlideGameImage"), _e(r.src, n = /*game*/
|
4575
|
+
e[44].defaultThumbnail) || G(r, "src", n), G(r, "alt", i = /*game*/
|
4576
|
+
e[44].name), P(t, "class", "CategorySlideGames");
|
4572
4577
|
},
|
4573
4578
|
m(f, c) {
|
4574
|
-
|
4579
|
+
U(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h = xe(r, "click", Kr(u)), a = !0);
|
4575
4580
|
},
|
4576
4581
|
p(f, c) {
|
4577
4582
|
e = f, c[0] & /*gameCategories*/
|
4578
|
-
8 && !
|
4579
|
-
e[44].defaultThumbnail) &&
|
4583
|
+
8 && !_e(r.src, n = /*game*/
|
4584
|
+
e[44].defaultThumbnail) && G(r, "src", n), c[0] & /*gameCategories*/
|
4580
4585
|
8 && i !== (i = /*game*/
|
4581
|
-
e[44].name) &&
|
4582
|
-
e[2] == "true" ? l ? l.p(e, c) : (l =
|
4586
|
+
e[44].name) && G(r, "alt", i), /*collectionprovidersgamenames*/
|
4587
|
+
e[2] == "true" ? l ? l.p(e, c) : (l = zt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
|
4583
4588
|
},
|
4584
4589
|
d(f) {
|
4585
4590
|
f && R(t), l && l.d(), a = !1, h();
|
4586
4591
|
}
|
4587
4592
|
};
|
4588
4593
|
}
|
4589
|
-
function
|
4594
|
+
function Qt(e) {
|
4590
4595
|
let t, r, n, i, o, s, a, h, u;
|
4591
4596
|
function l(g, x) {
|
4592
4597
|
if (
|
4593
4598
|
/*titletype*/
|
4594
4599
|
g[1] === "logo"
|
4595
4600
|
)
|
4596
|
-
return
|
4601
|
+
return Ao;
|
4597
4602
|
if (
|
4598
4603
|
/*titletype*/
|
4599
4604
|
g[1] === "title"
|
4600
4605
|
)
|
4601
|
-
return
|
4606
|
+
return Bo;
|
4602
4607
|
}
|
4603
|
-
let f = l(e), c = f && f(e), d =
|
4608
|
+
let f = l(e), c = f && f(e), d = Se(
|
4604
4609
|
/*category*/
|
4605
4610
|
e[41].games
|
4606
4611
|
), m = [];
|
4607
4612
|
for (let g = 0; g < d.length; g += 1)
|
4608
|
-
m[g] =
|
4613
|
+
m[g] = Zt(Xt(e, d, g));
|
4609
4614
|
function b() {
|
4610
4615
|
return (
|
4611
4616
|
/*click_handler_1*/
|
@@ -4618,62 +4623,62 @@ function Zt(e) {
|
|
4618
4623
|
return {
|
4619
4624
|
c() {
|
4620
4625
|
var g, x;
|
4621
|
-
t =
|
4622
|
-
for (let
|
4623
|
-
m[
|
4624
|
-
a =
|
4625
|
-
(((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")),
|
4626
|
-
((x = e[41]) == null ? void 0 : x.background) + ")"),
|
4626
|
+
t = C("div"), r = C("div"), n = C("div"), c && c.c(), i = X(), o = C("div");
|
4627
|
+
for (let E = 0; E < m.length; E += 1)
|
4628
|
+
m[E].c();
|
4629
|
+
a = X(), P(n, "class", "CategorySlideTopContainer"), P(o, "class", "CategorySlideGameContainer"), P(r, "class", s = "CategorySlide " + /*category*/
|
4630
|
+
(((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
|
4631
|
+
((x = e[41]) == null ? void 0 : x.background) + ")"), Ne(r, "background-size", "cover"), P(t, "class", "CategoriesSliderWrapper Animation");
|
4627
4632
|
},
|
4628
4633
|
m(g, x) {
|
4629
|
-
|
4630
|
-
for (let
|
4631
|
-
m[
|
4632
|
-
|
4634
|
+
U(g, t, x), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
|
4635
|
+
for (let E = 0; E < m.length; E += 1)
|
4636
|
+
m[E] && m[E].m(o, null);
|
4637
|
+
H(t, a), h || (u = xe(r, "click", b), h = !0);
|
4633
4638
|
},
|
4634
4639
|
p(g, x) {
|
4635
|
-
var
|
4640
|
+
var E, w;
|
4636
4641
|
if (e = g, f === (f = l(e)) && c ? c.p(e, x) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4637
4642
|
8204) {
|
4638
|
-
d =
|
4643
|
+
d = Se(
|
4639
4644
|
/*category*/
|
4640
4645
|
e[41].games
|
4641
4646
|
);
|
4642
|
-
let
|
4643
|
-
for (
|
4644
|
-
const O =
|
4645
|
-
m[
|
4647
|
+
let T;
|
4648
|
+
for (T = 0; T < d.length; T += 1) {
|
4649
|
+
const O = Xt(e, d, T);
|
4650
|
+
m[T] ? m[T].p(O, x) : (m[T] = Zt(O), m[T].c(), m[T].m(o, null));
|
4646
4651
|
}
|
4647
|
-
for (;
|
4648
|
-
m[
|
4652
|
+
for (; T < m.length; T += 1)
|
4653
|
+
m[T].d(1);
|
4649
4654
|
m.length = d.length;
|
4650
4655
|
}
|
4651
4656
|
x[0] & /*gameCategories*/
|
4652
4657
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4653
|
-
(((
|
4654
|
-
8 &&
|
4655
|
-
((
|
4658
|
+
(((E = e[41]) == null ? void 0 : E.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && P(r, "class", s), x[0] & /*gameCategories*/
|
4659
|
+
8 && Ne(r, "background-image", "url(" + /*category*/
|
4660
|
+
((w = e[41]) == null ? void 0 : w.background) + ")");
|
4656
4661
|
},
|
4657
4662
|
d(g) {
|
4658
|
-
g && R(t), c && c.d(),
|
4663
|
+
g && R(t), c && c.d(), Kt(m, g), h = !1, u();
|
4659
4664
|
}
|
4660
4665
|
};
|
4661
4666
|
}
|
4662
|
-
function
|
4667
|
+
function Oo(e) {
|
4663
4668
|
let t;
|
4664
4669
|
function r(o, s) {
|
4665
4670
|
return (
|
4666
4671
|
/*isLoading*/
|
4667
|
-
o[6] ?
|
4672
|
+
o[6] ? Po : Co
|
4668
4673
|
);
|
4669
4674
|
}
|
4670
4675
|
let n = r(e), i = n(e);
|
4671
4676
|
return {
|
4672
4677
|
c() {
|
4673
|
-
t =
|
4678
|
+
t = C("div"), i.c();
|
4674
4679
|
},
|
4675
4680
|
m(o, s) {
|
4676
|
-
|
4681
|
+
U(o, t, s), i.m(t, null), e[26](t);
|
4677
4682
|
},
|
4678
4683
|
p(o, s) {
|
4679
4684
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
@@ -4685,70 +4690,70 @@ function Ao(e) {
|
|
4685
4690
|
}
|
4686
4691
|
};
|
4687
4692
|
}
|
4688
|
-
function
|
4693
|
+
function Lo(e, t, r) {
|
4689
4694
|
let n;
|
4690
|
-
|
4691
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, x = 0,
|
4692
|
-
const
|
4695
|
+
Qr(e, oo, (p) => r(10, n = p));
|
4696
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, x = 0, E = 0, w = 0, T, O, V = 0, z = 50, Le = !1, $, Or = window.navigator.userAgent, at;
|
4697
|
+
const Lr = () => {
|
4693
4698
|
fetch(f).then((B) => B.json()).then((B) => {
|
4694
|
-
Object.keys(B).forEach((
|
4695
|
-
|
4699
|
+
Object.keys(B).forEach((D) => {
|
4700
|
+
Mt(D, B[D]);
|
4696
4701
|
});
|
4697
4702
|
}).catch((B) => {
|
4698
4703
|
console.log(B);
|
4699
4704
|
});
|
4700
4705
|
};
|
4701
|
-
Object.keys(
|
4702
|
-
|
4706
|
+
Object.keys(Rt).forEach((p) => {
|
4707
|
+
Mt(p, Rt[p]);
|
4703
4708
|
});
|
4704
|
-
const
|
4709
|
+
const lt = () => {
|
4705
4710
|
const p = new URL(`${i}/v2/casino/groups/${o}`);
|
4706
|
-
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${
|
4707
|
-
r(6, b = !1), B.total >
|
4708
|
-
let
|
4709
|
-
var
|
4711
|
+
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${V},limit=${z}`), fetch(p.href).then((B) => B.json()).then((B) => {
|
4712
|
+
r(6, b = !1), B.total > z && (V += 50, z += 50, r(22, Le = !0));
|
4713
|
+
let D = B.items.map((L) => {
|
4714
|
+
var dt, pt, mt;
|
4710
4715
|
return {
|
4711
4716
|
id: L.id,
|
4712
4717
|
name: L.name,
|
4713
|
-
icon: L.icon ? L.icon : (
|
4714
|
-
games: L.games.items.slice(0, 4).map((
|
4718
|
+
icon: L.icon ? L.icon : (mt = (pt = (dt = L.vendors) == null ? void 0 : dt.items[0]) == null ? void 0 : pt.subVendors[0]) == null ? void 0 : mt.logo,
|
4719
|
+
games: L.games.items.slice(0, 4).map((jr) => jr),
|
4715
4720
|
background: L.background,
|
4716
4721
|
flag: L.flags
|
4717
4722
|
};
|
4718
4723
|
});
|
4719
|
-
r(3, m = [...m, ...
|
4724
|
+
r(3, m = [...m, ...D]), r(7, E = m.length), Ir();
|
4720
4725
|
});
|
4721
|
-
},
|
4726
|
+
}, Ir = () => {
|
4722
4727
|
const p = $.getRootNode().host;
|
4723
4728
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
4724
|
-
},
|
4729
|
+
}, ut = (p) => {
|
4725
4730
|
var B;
|
4726
|
-
O = [...g.children], O.forEach((
|
4727
|
-
|
4728
|
-
}),
|
4729
|
-
}, Ir = () => {
|
4730
|
-
r(8, T = Math.floor(g.clientWidth / H));
|
4731
|
-
}, ut = () => {
|
4732
|
-
lt(x);
|
4731
|
+
O = [...g.children], O.forEach((D, L) => {
|
4732
|
+
D.style.transform = `translateX(${100 * (p ? L - p : L)}%)`;
|
4733
|
+
}), T = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, Nr();
|
4733
4734
|
}, Nr = () => {
|
4734
|
-
|
4735
|
+
r(8, w = Math.floor(g.clientWidth / T));
|
4736
|
+
}, ht = () => {
|
4737
|
+
ut(x);
|
4735
4738
|
}, Mr = () => {
|
4736
|
-
x ===
|
4737
|
-
},
|
4739
|
+
x === 0 ? x = E - w : x - w < -1 ? x = 0 : x--, ht();
|
4740
|
+
}, Rr = () => {
|
4741
|
+
x === E - w ? x = 0 : E - w < x + 1 ? x = E - w : x++, ht();
|
4742
|
+
}, ct = (p, B, D, L) => {
|
4738
4743
|
window.postMessage(
|
4739
4744
|
{
|
4740
4745
|
type: "OpenCollectionsProvidersGame",
|
4741
4746
|
gameId: p,
|
4742
4747
|
launchUrl: B,
|
4743
|
-
gameName:
|
4748
|
+
gameName: D,
|
4744
4749
|
subVendor: L
|
4745
4750
|
},
|
4746
4751
|
window.location.href
|
4747
4752
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
4748
4753
|
context: "CollectionsProviders",
|
4749
|
-
gameName: `${
|
4754
|
+
gameName: `${D}`
|
4750
4755
|
});
|
4751
|
-
},
|
4756
|
+
}, ft = (p) => {
|
4752
4757
|
window.postMessage(
|
4753
4758
|
{
|
4754
4759
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4756,19 +4761,19 @@ function Oo(e, t, r) {
|
|
4756
4761
|
},
|
4757
4762
|
window.location.href
|
4758
4763
|
);
|
4759
|
-
},
|
4760
|
-
|
4764
|
+
}, $r = () => {
|
4765
|
+
so(s);
|
4761
4766
|
};
|
4762
|
-
|
4767
|
+
nn(() => (r(9, at = Eo(Or)), () => {
|
4763
4768
|
}));
|
4764
|
-
const
|
4765
|
-
function
|
4766
|
-
|
4769
|
+
const Gr = (p) => ct(p.gameId, p.launchUrl, p.name, p.subVendor), Ur = (p) => ft(p.id);
|
4770
|
+
function Dr(p) {
|
4771
|
+
Ee[p ? "unshift" : "push"](() => {
|
4767
4772
|
g = p, r(4, g);
|
4768
4773
|
});
|
4769
4774
|
}
|
4770
|
-
function
|
4771
|
-
|
4775
|
+
function Fr(p) {
|
4776
|
+
Ee[p ? "unshift" : "push"](() => {
|
4772
4777
|
$ = p, r(5, $);
|
4773
4778
|
});
|
4774
4779
|
}
|
@@ -4776,14 +4781,14 @@ function Oo(e, t, r) {
|
|
4776
4781
|
"endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
|
4777
4782
|
}, e.$$.update = () => {
|
4778
4783
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4779
|
-
229376 && i && o && s &&
|
4780
|
-
24 && m && g &&
|
4781
|
-
131072 && s &&
|
4782
|
-
262176 && u && $ &&
|
4783
|
-
524320 && l && $ &&
|
4784
|
-
2097184 && $ &&
|
4785
|
-
1048576 && f &&
|
4786
|
-
4194304 &&
|
4784
|
+
229376 && i && o && s && lt(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
4785
|
+
24 && m && g && ut(), e.$$.dirty[0] & /*lang*/
|
4786
|
+
131072 && s && $r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4787
|
+
262176 && u && $ && So($, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4788
|
+
524320 && l && $ && wo($, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4789
|
+
2097184 && $ && To($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4790
|
+
1048576 && f && Lr(), e.$$.dirty[0] & /*paginationrequired*/
|
4791
|
+
4194304 && Le && lt();
|
4787
4792
|
}, [
|
4788
4793
|
a,
|
4789
4794
|
h,
|
@@ -4792,14 +4797,14 @@ function Oo(e, t, r) {
|
|
4792
4797
|
g,
|
4793
4798
|
$,
|
4794
4799
|
b,
|
4795
|
-
|
4796
|
-
|
4797
|
-
|
4800
|
+
E,
|
4801
|
+
w,
|
4802
|
+
at,
|
4798
4803
|
n,
|
4799
|
-
Nr,
|
4800
4804
|
Mr,
|
4801
|
-
|
4805
|
+
Rr,
|
4802
4806
|
ct,
|
4807
|
+
ft,
|
4803
4808
|
i,
|
4804
4809
|
o,
|
4805
4810
|
s,
|
@@ -4807,21 +4812,21 @@ function Oo(e, t, r) {
|
|
4807
4812
|
l,
|
4808
4813
|
f,
|
4809
4814
|
d,
|
4810
|
-
|
4811
|
-
$r,
|
4815
|
+
Le,
|
4812
4816
|
Gr,
|
4813
4817
|
Ur,
|
4814
|
-
Dr
|
4818
|
+
Dr,
|
4819
|
+
Fr
|
4815
4820
|
];
|
4816
4821
|
}
|
4817
|
-
class
|
4822
|
+
class Io extends bn {
|
4818
4823
|
constructor(t) {
|
4819
|
-
super(),
|
4824
|
+
super(), pn(
|
4820
4825
|
this,
|
4821
4826
|
t,
|
4827
|
+
Lo,
|
4822
4828
|
Oo,
|
4823
|
-
|
4824
|
-
qt,
|
4829
|
+
Jt,
|
4825
4830
|
{
|
4826
4831
|
endpoint: 15,
|
4827
4832
|
datasource: 16,
|
@@ -4834,7 +4839,7 @@ class Lo extends mn {
|
|
4834
4839
|
collectionprovidersgamenames: 2,
|
4835
4840
|
mbsource: 21
|
4836
4841
|
},
|
4837
|
-
|
4842
|
+
Ho,
|
4838
4843
|
[-1, -1]
|
4839
4844
|
);
|
4840
4845
|
}
|
@@ -4899,7 +4904,7 @@ class Lo extends mn {
|
|
4899
4904
|
this.$$set({ mbsource: t }), M();
|
4900
4905
|
}
|
4901
4906
|
}
|
4902
|
-
|
4907
|
+
mn(Io, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4903
4908
|
export {
|
4904
|
-
|
4909
|
+
Io as default
|
4905
4910
|
};
|