@everymatrix/casino-collections-providers 1.60.1 → 1.61.0
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-k8QCmH9I.js → CasinoCollectionsProviders-CvZkMD5L.js} +828 -844
- package/components/CasinoCollectionsProviders-CxRm-bwJ.cjs +18 -0
- package/components/{CasinoCollectionsProviders-Dn7FC6Kf.js → CasinoCollectionsProviders-D5btJk9X.js} +752 -769
- 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-CDaQa5AB.cjs +0 -18
package/components/{CasinoCollectionsProviders-k8QCmH9I.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
|
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,53 +27,54 @@ var Et = (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
|
-
|
30
|
+
import "../stencil/ui-image-CPH6BqjQ.js";
|
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
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);
|
58
|
-
return
|
59
|
+
return I;
|
59
60
|
}
|
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,8 +84,8 @@ function en(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
|
@@ -93,44 +94,48 @@ function tn(e, t) {
|
|
93
94
|
function U(e, t, r) {
|
94
95
|
e.insertBefore(t, r || null);
|
95
96
|
}
|
96
|
-
function
|
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
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,98 +144,98 @@ function on(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
|
159
|
+
const q = [], Ee = [];
|
160
|
+
let J = [];
|
161
|
+
const xt = [], on = /* @__PURE__ */ Promise.resolve();
|
157
162
|
let je = !1;
|
158
|
-
function
|
159
|
-
je || (je = !0,
|
163
|
+
function sn() {
|
164
|
+
je || (je = !0, on.then(M));
|
160
165
|
}
|
161
166
|
function ke(e) {
|
162
|
-
|
167
|
+
J.push(e);
|
163
168
|
}
|
164
|
-
const
|
165
|
-
let
|
166
|
-
function
|
167
|
-
if (
|
169
|
+
const Me = /* @__PURE__ */ new Set();
|
170
|
+
let Z = 0;
|
171
|
+
function M() {
|
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 (
|
184
|
+
for (le(null), q.length = 0, Z = 0; Ee.length; )
|
180
185
|
Ee.pop()();
|
181
|
-
for (let t = 0; t <
|
182
|
-
const r =
|
183
|
-
|
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
|
-
je = !1,
|
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
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
216
|
n && n.m(t, r), ke(() => {
|
212
|
-
const o = e.$$.on_mount.map(
|
213
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
217
|
+
const o = e.$$.on_mount.map(qt).filter(nt);
|
218
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
214
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: [],
|
229
234
|
// state
|
230
235
|
props: o,
|
231
|
-
update:
|
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 gn(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,39 +253,39 @@ function gn(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 =
|
255
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
259
|
+
const f = en(t.target);
|
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 */
|
267
|
-
|
272
|
+
N(this, "$$ctor");
|
268
273
|
/** Slots */
|
269
|
-
|
274
|
+
N(this, "$$s");
|
270
275
|
/** The Svelte component instance */
|
271
|
-
|
276
|
+
N(this, "$$c");
|
272
277
|
/** Whether or not the custom element is connected */
|
273
|
-
|
278
|
+
N(this, "$$cn", !1);
|
274
279
|
/** Component props data */
|
275
|
-
|
280
|
+
N(this, "$$d", {});
|
276
281
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
277
|
-
|
282
|
+
N(this, "$$r", !1);
|
278
283
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
279
|
-
|
284
|
+
N(this, "$$p_d", {});
|
280
285
|
/** @type {Record<string, Function[]>} Event listeners */
|
281
|
-
|
286
|
+
N(this, "$$l", {});
|
282
287
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
283
|
-
|
288
|
+
N(this, "$$l_u", /* @__PURE__ */ new Map());
|
284
289
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
285
290
|
}
|
286
291
|
addEventListener(t, r, n) {
|
@@ -297,14 +302,14 @@ typeof HTMLElement == "function" && (rr = 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
|
@@ -314,25 +319,25 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
|
|
314
319
|
U(u, s, l);
|
315
320
|
},
|
316
321
|
d: function(u) {
|
317
|
-
u &&
|
322
|
+
u && R(s);
|
318
323
|
}
|
319
324
|
};
|
320
325
|
};
|
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:
|
340
|
+
props: vt(gt({}, this.$$d), {
|
336
341
|
$$slots: r,
|
337
342
|
$$scope: {
|
338
343
|
ctx: []
|
@@ -343,7 +348,7 @@ typeof HTMLElement == "function" && (rr = 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" && (rr = 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" && (rr = 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 vn(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 vn(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
|
@@ -450,7 +455,7 @@ class yn {
|
|
450
455
|
*
|
451
456
|
* @type {any}
|
452
457
|
*/
|
453
|
-
|
458
|
+
N(this, "$$");
|
454
459
|
/**
|
455
460
|
* ### PRIVATE API
|
456
461
|
*
|
@@ -458,11 +463,11 @@ class yn {
|
|
458
463
|
*
|
459
464
|
* @type {any}
|
460
465
|
*/
|
461
|
-
|
466
|
+
N(this, "$$set");
|
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
|
@@ -472,7 +477,7 @@ class yn {
|
|
472
477
|
*/
|
473
478
|
$on(t, r) {
|
474
479
|
if (!nt(r))
|
475
|
-
return
|
480
|
+
return I;
|
476
481
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
477
482
|
return n.push(r), () => {
|
478
483
|
const i = n.indexOf(r);
|
@@ -484,60 +489,60 @@ class yn {
|
|
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
|
}
|
513
518
|
function o(a) {
|
514
519
|
i(a(e));
|
515
520
|
}
|
516
|
-
function s(a, h =
|
521
|
+
function s(a, h = I) {
|
517
522
|
const u = [a, h];
|
518
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
523
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
|
519
524
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
520
525
|
};
|
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
|
-
let l = 0, f =
|
537
|
+
let l = 0, f = I;
|
533
538
|
const c = () => {
|
534
539
|
if (l)
|
535
540
|
return;
|
536
541
|
f();
|
537
542
|
const m = t(n ? u[0] : u, s, a);
|
538
|
-
o ? s(m) : f = nt(m) ? m :
|
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]" ||
|
571
|
+
return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
|
567
572
|
}
|
568
|
-
var
|
569
|
-
function
|
570
|
-
return e.$$typeof ===
|
573
|
+
var Sn = typeof Symbol == "function" && Symbol.for, wn = Sn ? Symbol.for("react.element") : 60103;
|
574
|
+
function Tn(e) {
|
575
|
+
return e.$$typeof === wn;
|
571
576
|
}
|
572
|
-
function
|
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
|
|
@@ -648,7 +653,7 @@ var Ve = function(e, t) {
|
|
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);
|
@@ -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]);
|
@@ -708,111 +713,109 @@ function We(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
|
739
|
-
var r = e.length === 1 ?
|
740
|
-
return
|
741
|
-
}
|
742
|
-
function Fn(e, t) {
|
743
|
-
return ot(e, this, or, t.cache.create(), t.serializer);
|
743
|
+
function Gn(e, t) {
|
744
|
+
var r = e.length === 1 ? $n : rr;
|
745
|
+
return nr(e, this, r, t.cache.create(), t.serializer);
|
744
746
|
}
|
745
|
-
function
|
746
|
-
return
|
747
|
+
function Un(e, t) {
|
748
|
+
return nr(e, this, rr, t.cache.create(), t.serializer);
|
747
749
|
}
|
748
|
-
var
|
750
|
+
var Dn = function() {
|
749
751
|
return JSON.stringify(arguments);
|
750
|
-
}
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
752
|
+
}, Fn = (
|
753
|
+
/** @class */
|
754
|
+
function() {
|
755
|
+
function e() {
|
756
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
757
|
+
}
|
758
|
+
return e.prototype.get = function(t) {
|
759
|
+
return this.cache[t];
|
760
|
+
}, e.prototype.set = function(t, r) {
|
761
|
+
this.cache[t] = r;
|
762
|
+
}, e;
|
763
|
+
}()
|
764
|
+
), jn = {
|
761
765
|
create: function() {
|
762
|
-
return new
|
766
|
+
return new Fn();
|
763
767
|
}
|
764
|
-
},
|
765
|
-
variadic:
|
766
|
-
monadic: jn
|
768
|
+
}, $e = {
|
769
|
+
variadic: Un
|
767
770
|
}, v;
|
768
771
|
(function(e) {
|
769
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";
|
770
773
|
})(v || (v = {}));
|
771
|
-
var
|
774
|
+
var S;
|
772
775
|
(function(e) {
|
773
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";
|
774
|
-
})(
|
775
|
-
var
|
777
|
+
})(S || (S = {}));
|
778
|
+
var ee;
|
776
779
|
(function(e) {
|
777
780
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
778
|
-
})(
|
779
|
-
function
|
780
|
-
return e.type ===
|
781
|
+
})(ee || (ee = {}));
|
782
|
+
function St(e) {
|
783
|
+
return e.type === S.literal;
|
784
|
+
}
|
785
|
+
function kn(e) {
|
786
|
+
return e.type === S.argument;
|
787
|
+
}
|
788
|
+
function ir(e) {
|
789
|
+
return e.type === S.number;
|
781
790
|
}
|
782
|
-
function
|
783
|
-
return e.type ===
|
791
|
+
function or(e) {
|
792
|
+
return e.type === S.date;
|
784
793
|
}
|
785
794
|
function sr(e) {
|
786
|
-
return e.type ===
|
795
|
+
return e.type === S.time;
|
787
796
|
}
|
788
797
|
function ar(e) {
|
789
|
-
return e.type ===
|
798
|
+
return e.type === S.select;
|
790
799
|
}
|
791
800
|
function lr(e) {
|
792
|
-
return e.type ===
|
801
|
+
return e.type === S.plural;
|
802
|
+
}
|
803
|
+
function Vn(e) {
|
804
|
+
return e.type === S.pound;
|
793
805
|
}
|
794
806
|
function ur(e) {
|
795
|
-
return e.type ===
|
807
|
+
return e.type === S.tag;
|
796
808
|
}
|
797
809
|
function hr(e) {
|
798
|
-
return e.type ===
|
799
|
-
}
|
800
|
-
function Wn(e) {
|
801
|
-
return e.type === w.pound;
|
802
|
-
}
|
803
|
-
function cr(e) {
|
804
|
-
return e.type === w.tag;
|
805
|
-
}
|
806
|
-
function fr(e) {
|
807
|
-
return !!(e && typeof e == "object" && e.type === K.number);
|
810
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
808
811
|
}
|
809
812
|
function ze(e) {
|
810
|
-
return !!(e && typeof e == "object" && e.type ===
|
813
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
811
814
|
}
|
812
|
-
var
|
813
|
-
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) {
|
814
817
|
var t = {};
|
815
|
-
return e.replace(
|
818
|
+
return e.replace(Xn, function(r) {
|
816
819
|
var n = r.length;
|
817
820
|
switch (r[0]) {
|
818
821
|
case "G":
|
@@ -901,11 +904,11 @@ function Zn(e) {
|
|
901
904
|
return "";
|
902
905
|
}), t;
|
903
906
|
}
|
904
|
-
var
|
905
|
-
function
|
907
|
+
var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
908
|
+
function Zn(e) {
|
906
909
|
if (e.length === 0)
|
907
910
|
throw new Error("Number skeleton cannot be empty");
|
908
|
-
for (var t = e.split(
|
911
|
+
for (var t = e.split(zn).filter(function(c) {
|
909
912
|
return c.length > 0;
|
910
913
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
911
914
|
var o = i[n], s = o.split("/");
|
@@ -920,17 +923,17 @@ function qn(e) {
|
|
920
923
|
}
|
921
924
|
return r;
|
922
925
|
}
|
923
|
-
function
|
926
|
+
function Qn(e) {
|
924
927
|
return e.replace(/^(.*?)-/, "");
|
925
928
|
}
|
926
|
-
var
|
927
|
-
function
|
929
|
+
var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
|
930
|
+
function Tt(e) {
|
928
931
|
var t = {};
|
929
|
-
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) {
|
930
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)), "";
|
931
934
|
}), t;
|
932
935
|
}
|
933
|
-
function
|
936
|
+
function pr(e) {
|
934
937
|
switch (e) {
|
935
938
|
case "sign-auto":
|
936
939
|
return {
|
@@ -970,7 +973,7 @@ function br(e) {
|
|
970
973
|
};
|
971
974
|
}
|
972
975
|
}
|
973
|
-
function
|
976
|
+
function Jn(e) {
|
974
977
|
var t;
|
975
978
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
976
979
|
notation: "engineering"
|
@@ -978,17 +981,17 @@ function Kn(e) {
|
|
978
981
|
notation: "scientific"
|
979
982
|
}, e = e.slice(1)), t) {
|
980
983
|
var r = e.slice(0, 2);
|
981
|
-
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))
|
982
985
|
throw new Error("Malformed concise eng/scientific notation");
|
983
986
|
t.minimumIntegerDigits = e.length;
|
984
987
|
}
|
985
988
|
return t;
|
986
989
|
}
|
987
|
-
function
|
988
|
-
var t = {}, r =
|
990
|
+
function Ht(e) {
|
991
|
+
var t = {}, r = pr(e);
|
989
992
|
return r || t;
|
990
993
|
}
|
991
|
-
function
|
994
|
+
function Yn(e) {
|
992
995
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
993
996
|
var i = n[r];
|
994
997
|
switch (i.stem) {
|
@@ -1012,7 +1015,7 @@ function ei(e) {
|
|
1012
1015
|
continue;
|
1013
1016
|
case "measure-unit":
|
1014
1017
|
case "unit":
|
1015
|
-
t.style = "unit", t.unit =
|
1018
|
+
t.style = "unit", t.unit = Qn(i.options[0]);
|
1016
1019
|
continue;
|
1017
1020
|
case "compact-short":
|
1018
1021
|
case "K":
|
@@ -1024,12 +1027,12 @@ function ei(e) {
|
|
1024
1027
|
continue;
|
1025
1028
|
case "scientific":
|
1026
1029
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1027
|
-
return _(_({}, h),
|
1030
|
+
return _(_({}, h), Ht(u));
|
1028
1031
|
}, {}));
|
1029
1032
|
continue;
|
1030
1033
|
case "engineering":
|
1031
1034
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1032
|
-
return _(_({}, h),
|
1035
|
+
return _(_({}, h), Ht(u));
|
1033
1036
|
}, {}));
|
1034
1037
|
continue;
|
1035
1038
|
case "notation-simple":
|
@@ -1074,7 +1077,7 @@ function ei(e) {
|
|
1074
1077
|
case "integer-width":
|
1075
1078
|
if (i.options.length > 1)
|
1076
1079
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1077
|
-
i.options[0].replace(
|
1080
|
+
i.options[0].replace(qn, function(h, u, l, f, c, d) {
|
1078
1081
|
if (u)
|
1079
1082
|
t.minimumIntegerDigits = l.length;
|
1080
1083
|
else {
|
@@ -1087,32 +1090,32 @@ function ei(e) {
|
|
1087
1090
|
});
|
1088
1091
|
continue;
|
1089
1092
|
}
|
1090
|
-
if (
|
1093
|
+
if (dr.test(i.stem)) {
|
1091
1094
|
t.minimumIntegerDigits = i.stem.length;
|
1092
1095
|
continue;
|
1093
1096
|
}
|
1094
|
-
if (
|
1097
|
+
if (wt.test(i.stem)) {
|
1095
1098
|
if (i.options.length > 1)
|
1096
1099
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1097
|
-
i.stem.replace(
|
1100
|
+
i.stem.replace(wt, function(h, u, l, f, c, d) {
|
1098
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), "";
|
1099
1102
|
});
|
1100
1103
|
var o = i.options[0];
|
1101
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
1104
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
|
1102
1105
|
continue;
|
1103
1106
|
}
|
1104
|
-
if (
|
1105
|
-
t = _(_({}, t),
|
1107
|
+
if (fr.test(i.stem)) {
|
1108
|
+
t = _(_({}, t), Tt(i.stem));
|
1106
1109
|
continue;
|
1107
1110
|
}
|
1108
|
-
var s =
|
1111
|
+
var s = pr(i.stem);
|
1109
1112
|
s && (t = _(_({}, t), s));
|
1110
|
-
var a =
|
1113
|
+
var a = Jn(i.stem);
|
1111
1114
|
a && (t = _(_({}, t), a));
|
1112
1115
|
}
|
1113
1116
|
return t;
|
1114
1117
|
}
|
1115
|
-
var
|
1118
|
+
var pe = {
|
1116
1119
|
"001": [
|
1117
1120
|
"H",
|
1118
1121
|
"h"
|
@@ -2527,13 +2530,13 @@ var de = {
|
|
2527
2530
|
"h"
|
2528
2531
|
]
|
2529
2532
|
};
|
2530
|
-
function
|
2533
|
+
function Kn(e, t) {
|
2531
2534
|
for (var r = "", n = 0; n < e.length; n++) {
|
2532
2535
|
var i = e.charAt(n);
|
2533
2536
|
if (i === "j") {
|
2534
2537
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2535
2538
|
o++, n++;
|
2536
|
-
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);
|
2537
2540
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2538
2541
|
r += h;
|
2539
2542
|
for (; s-- > 0; )
|
@@ -2543,7 +2546,7 @@ function ti(e, t) {
|
|
2543
2546
|
}
|
2544
2547
|
return r;
|
2545
2548
|
}
|
2546
|
-
function
|
2549
|
+
function ei(e) {
|
2547
2550
|
var t = e.hourCycle;
|
2548
2551
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2549
2552
|
e.hourCycles && // @ts-ignore
|
@@ -2562,23 +2565,23 @@ function ri(e) {
|
|
2562
2565
|
}
|
2563
2566
|
var r = e.language, n;
|
2564
2567
|
r !== "root" && (n = e.maximize().region);
|
2565
|
-
var i =
|
2568
|
+
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
2566
2569
|
return i[0];
|
2567
2570
|
}
|
2568
|
-
var
|
2571
|
+
var Ge, ti = new RegExp("^".concat(cr.source, "*")), ri = new RegExp("".concat(cr.source, "*$"));
|
2569
2572
|
function y(e, t) {
|
2570
2573
|
return { start: e, end: t };
|
2571
2574
|
}
|
2572
|
-
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) {
|
2573
2576
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2574
2577
|
}, Ze = !0;
|
2575
2578
|
try {
|
2576
|
-
var
|
2577
|
-
Ze = ((
|
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";
|
2578
2581
|
} catch (e) {
|
2579
2582
|
Ze = !1;
|
2580
2583
|
}
|
2581
|
-
var
|
2584
|
+
var Ct = ni ? (
|
2582
2585
|
// Native
|
2583
2586
|
function(t, r, n) {
|
2584
2587
|
return t.startsWith(r, n);
|
@@ -2588,7 +2591,7 @@ var Bt = oi ? (
|
|
2588
2591
|
function(t, r, n) {
|
2589
2592
|
return t.slice(n, n + r.length) === r;
|
2590
2593
|
}
|
2591
|
-
), Qe =
|
2594
|
+
), Qe = ii ? String.fromCodePoint : (
|
2592
2595
|
// IE11
|
2593
2596
|
function() {
|
2594
2597
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2600,9 +2603,9 @@ var Bt = oi ? (
|
|
2600
2603
|
}
|
2601
2604
|
return n;
|
2602
2605
|
}
|
2603
|
-
),
|
2606
|
+
), Pt = (
|
2604
2607
|
// native
|
2605
|
-
|
2608
|
+
oi ? Object.fromEntries : (
|
2606
2609
|
// Ponyfill
|
2607
2610
|
function(t) {
|
2608
2611
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2612,7 +2615,7 @@ var Bt = oi ? (
|
|
2612
2615
|
return r;
|
2613
2616
|
}
|
2614
2617
|
)
|
2615
|
-
),
|
2618
|
+
), mr = si ? (
|
2616
2619
|
// Native
|
2617
2620
|
function(t, r) {
|
2618
2621
|
return t.codePointAt(r);
|
@@ -2626,7 +2629,7 @@ var Bt = oi ? (
|
|
2626
2629
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2627
2630
|
}
|
2628
2631
|
}
|
2629
|
-
),
|
2632
|
+
), fi = ai ? (
|
2630
2633
|
// Native
|
2631
2634
|
function(t) {
|
2632
2635
|
return t.trimStart();
|
@@ -2634,9 +2637,9 @@ var Bt = oi ? (
|
|
2634
2637
|
) : (
|
2635
2638
|
// Ponyfill
|
2636
2639
|
function(t) {
|
2637
|
-
return t.replace(
|
2640
|
+
return t.replace(ti, "");
|
2638
2641
|
}
|
2639
|
-
),
|
2642
|
+
), di = li ? (
|
2640
2643
|
// Native
|
2641
2644
|
function(t) {
|
2642
2645
|
return t.trimEnd();
|
@@ -2644,32 +2647,32 @@ var Bt = oi ? (
|
|
2644
2647
|
) : (
|
2645
2648
|
// Ponyfill
|
2646
2649
|
function(t) {
|
2647
|
-
return t.replace(
|
2650
|
+
return t.replace(ri, "");
|
2648
2651
|
}
|
2649
2652
|
);
|
2650
|
-
function
|
2653
|
+
function br(e, t) {
|
2651
2654
|
return new RegExp(e, t);
|
2652
2655
|
}
|
2653
2656
|
var qe;
|
2654
2657
|
if (Ze) {
|
2655
|
-
var
|
2658
|
+
var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2656
2659
|
qe = function(t, r) {
|
2657
2660
|
var n;
|
2658
|
-
|
2659
|
-
var i =
|
2661
|
+
Bt.lastIndex = r;
|
2662
|
+
var i = Bt.exec(t);
|
2660
2663
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2661
2664
|
};
|
2662
2665
|
} else
|
2663
2666
|
qe = function(t, r) {
|
2664
2667
|
for (var n = []; ; ) {
|
2665
|
-
var i =
|
2666
|
-
if (i === void 0 ||
|
2668
|
+
var i = mr(t, r);
|
2669
|
+
if (i === void 0 || gr(i) || gi(i))
|
2667
2670
|
break;
|
2668
2671
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2669
2672
|
}
|
2670
2673
|
return Qe.apply(void 0, n);
|
2671
2674
|
};
|
2672
|
-
var
|
2675
|
+
var pi = (
|
2673
2676
|
/** @class */
|
2674
2677
|
function() {
|
2675
2678
|
function e(t, r) {
|
@@ -2693,7 +2696,7 @@ var bi = (
|
|
2693
2696
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2694
2697
|
var a = this.clonePosition();
|
2695
2698
|
this.bump(), i.push({
|
2696
|
-
type:
|
2699
|
+
type: S.pound,
|
2697
2700
|
location: y(a, this.clonePosition())
|
2698
2701
|
});
|
2699
2702
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
@@ -2721,7 +2724,7 @@ var bi = (
|
|
2721
2724
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2722
2725
|
return {
|
2723
2726
|
val: {
|
2724
|
-
type:
|
2727
|
+
type: S.literal,
|
2725
2728
|
value: "<".concat(i, "/>"),
|
2726
2729
|
location: y(n, this.clonePosition())
|
2727
2730
|
},
|
@@ -2738,7 +2741,7 @@ var bi = (
|
|
2738
2741
|
var h = this.clonePosition(), u = this.parseTagName();
|
2739
2742
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2740
2743
|
val: {
|
2741
|
-
type:
|
2744
|
+
type: S.tag,
|
2742
2745
|
value: i,
|
2743
2746
|
children: s,
|
2744
2747
|
location: y(n, this.clonePosition())
|
@@ -2751,7 +2754,7 @@ var bi = (
|
|
2751
2754
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2752
2755
|
}, e.prototype.parseTagName = function() {
|
2753
2756
|
var t = this.offset();
|
2754
|
-
for (this.bump(); !this.isEOF() &&
|
2757
|
+
for (this.bump(); !this.isEOF() && bi(this.char()); )
|
2755
2758
|
this.bump();
|
2756
2759
|
return this.message.slice(t, this.offset());
|
2757
2760
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2775,12 +2778,12 @@ var bi = (
|
|
2775
2778
|
}
|
2776
2779
|
var h = y(n, this.clonePosition());
|
2777
2780
|
return {
|
2778
|
-
val: { type:
|
2781
|
+
val: { type: S.literal, value: i, location: h },
|
2779
2782
|
err: null
|
2780
2783
|
};
|
2781
2784
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2782
2785
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2783
|
-
!
|
2786
|
+
!mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2784
2787
|
}, e.prototype.tryParseQuote = function(t) {
|
2785
2788
|
if (this.isEOF() || this.char() !== 39)
|
2786
2789
|
return null;
|
@@ -2835,7 +2838,7 @@ var bi = (
|
|
2835
2838
|
case 125:
|
2836
2839
|
return this.bump(), {
|
2837
2840
|
val: {
|
2838
|
-
type:
|
2841
|
+
type: S.argument,
|
2839
2842
|
// value does not include the opening and closing braces.
|
2840
2843
|
value: i,
|
2841
2844
|
location: y(n, this.clonePosition())
|
@@ -2867,7 +2870,7 @@ var bi = (
|
|
2867
2870
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2868
2871
|
if (f.err)
|
2869
2872
|
return f;
|
2870
|
-
var c =
|
2873
|
+
var c = di(f.val);
|
2871
2874
|
if (c.length === 0)
|
2872
2875
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2873
2876
|
var d = y(l, this.clonePosition());
|
@@ -2877,34 +2880,34 @@ var bi = (
|
|
2877
2880
|
if (m.err)
|
2878
2881
|
return m;
|
2879
2882
|
var b = y(i, this.clonePosition());
|
2880
|
-
if (u &&
|
2881
|
-
var g =
|
2883
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
2884
|
+
var g = fi(u.style.slice(2));
|
2882
2885
|
if (a === "number") {
|
2883
2886
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
2884
2887
|
return f.err ? f : {
|
2885
|
-
val: { type:
|
2888
|
+
val: { type: S.number, value: n, location: b, style: f.val },
|
2886
2889
|
err: null
|
2887
2890
|
};
|
2888
2891
|
} else {
|
2889
2892
|
if (g.length === 0)
|
2890
2893
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
2891
|
-
var
|
2892
|
-
this.locale && (
|
2894
|
+
var x = g;
|
2895
|
+
this.locale && (x = Kn(g, this.locale));
|
2893
2896
|
var c = {
|
2894
|
-
type:
|
2895
|
-
pattern:
|
2897
|
+
type: ee.dateTime,
|
2898
|
+
pattern: x,
|
2896
2899
|
location: u.styleLocation,
|
2897
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2898
|
-
},
|
2900
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(x) : {}
|
2901
|
+
}, E = a === "date" ? S.date : S.time;
|
2899
2902
|
return {
|
2900
|
-
val: { type:
|
2903
|
+
val: { type: E, value: n, location: b, style: c },
|
2901
2904
|
err: null
|
2902
2905
|
};
|
2903
2906
|
}
|
2904
2907
|
}
|
2905
2908
|
return {
|
2906
2909
|
val: {
|
2907
|
-
type: a === "number" ?
|
2910
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
2908
2911
|
value: n,
|
2909
2912
|
location: b,
|
2910
2913
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
@@ -2915,43 +2918,43 @@ var bi = (
|
|
2915
2918
|
case "plural":
|
2916
2919
|
case "selectordinal":
|
2917
2920
|
case "select": {
|
2918
|
-
var
|
2921
|
+
var w = this.clonePosition();
|
2919
2922
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2920
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(
|
2923
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, _({}, w)));
|
2921
2924
|
this.bumpSpace();
|
2922
|
-
var
|
2923
|
-
if (a !== "select" &&
|
2925
|
+
var T = this.parseIdentifierIfPossible(), O = 0;
|
2926
|
+
if (a !== "select" && T.value === "offset") {
|
2924
2927
|
if (!this.bumpIf(":"))
|
2925
2928
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
2926
2929
|
this.bumpSpace();
|
2927
2930
|
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2928
2931
|
if (f.err)
|
2929
2932
|
return f;
|
2930
|
-
this.bumpSpace(),
|
2933
|
+
this.bumpSpace(), T = this.parseIdentifierIfPossible(), O = f.val;
|
2931
2934
|
}
|
2932
|
-
var
|
2933
|
-
if (
|
2934
|
-
return
|
2935
|
+
var V = this.tryParsePluralOrSelectOptions(t, a, r, T);
|
2936
|
+
if (V.err)
|
2937
|
+
return V;
|
2935
2938
|
var m = this.tryParseArgumentClose(i);
|
2936
2939
|
if (m.err)
|
2937
2940
|
return m;
|
2938
|
-
var
|
2941
|
+
var z = y(i, this.clonePosition());
|
2939
2942
|
return a === "select" ? {
|
2940
2943
|
val: {
|
2941
|
-
type:
|
2944
|
+
type: S.select,
|
2942
2945
|
value: n,
|
2943
|
-
options:
|
2944
|
-
location:
|
2946
|
+
options: Pt(V.val),
|
2947
|
+
location: z
|
2945
2948
|
},
|
2946
2949
|
err: null
|
2947
2950
|
} : {
|
2948
2951
|
val: {
|
2949
|
-
type:
|
2952
|
+
type: S.plural,
|
2950
2953
|
value: n,
|
2951
|
-
options:
|
2954
|
+
options: Pt(V.val),
|
2952
2955
|
offset: O,
|
2953
2956
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2954
|
-
location:
|
2957
|
+
location: z
|
2955
2958
|
},
|
2956
2959
|
err: null
|
2957
2960
|
};
|
@@ -2999,16 +3002,16 @@ var bi = (
|
|
2999
3002
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3000
3003
|
var n = [];
|
3001
3004
|
try {
|
3002
|
-
n =
|
3005
|
+
n = Zn(t);
|
3003
3006
|
} catch (i) {
|
3004
3007
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3005
3008
|
}
|
3006
3009
|
return {
|
3007
3010
|
val: {
|
3008
|
-
type:
|
3011
|
+
type: ee.number,
|
3009
3012
|
tokens: n,
|
3010
3013
|
location: r,
|
3011
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3014
|
+
parsedOptions: this.shouldParseSkeletons ? Yn(n) : {}
|
3012
3015
|
},
|
3013
3016
|
err: null
|
3014
3017
|
};
|
@@ -3056,7 +3059,7 @@ var bi = (
|
|
3056
3059
|
break;
|
3057
3060
|
}
|
3058
3061
|
var h = y(i, this.clonePosition());
|
3059
|
-
return o ? (s *= n,
|
3062
|
+
return o ? (s *= n, hi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3060
3063
|
}, e.prototype.offset = function() {
|
3061
3064
|
return this.position.offset;
|
3062
3065
|
}, e.prototype.isEOF = function() {
|
@@ -3071,7 +3074,7 @@ var bi = (
|
|
3071
3074
|
var t = this.position.offset;
|
3072
3075
|
if (t >= this.message.length)
|
3073
3076
|
throw Error("out of bound");
|
3074
|
-
var r =
|
3077
|
+
var r = mr(this.message, t);
|
3075
3078
|
if (r === void 0)
|
3076
3079
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3077
3080
|
return r;
|
@@ -3090,7 +3093,7 @@ var bi = (
|
|
3090
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);
|
3091
3094
|
}
|
3092
3095
|
}, e.prototype.bumpIf = function(t) {
|
3093
|
-
if (
|
3096
|
+
if (Ct(this.message, t, this.offset())) {
|
3094
3097
|
for (var r = 0; r < t.length; r++)
|
3095
3098
|
this.bump();
|
3096
3099
|
return !0;
|
@@ -3112,7 +3115,7 @@ var bi = (
|
|
3112
3115
|
break;
|
3113
3116
|
}
|
3114
3117
|
}, e.prototype.bumpSpace = function() {
|
3115
|
-
for (; !this.isEOF() &&
|
3118
|
+
for (; !this.isEOF() && gr(this.char()); )
|
3116
3119
|
this.bump();
|
3117
3120
|
}, e.prototype.peek = function() {
|
3118
3121
|
if (this.isEOF())
|
@@ -3125,44 +3128,44 @@ var bi = (
|
|
3125
3128
|
function Je(e) {
|
3126
3129
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3127
3130
|
}
|
3128
|
-
function
|
3131
|
+
function mi(e) {
|
3129
3132
|
return Je(e) || e === 47;
|
3130
3133
|
}
|
3131
|
-
function
|
3134
|
+
function bi(e) {
|
3132
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;
|
3133
3136
|
}
|
3134
|
-
function
|
3137
|
+
function gr(e) {
|
3135
3138
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3136
3139
|
}
|
3137
|
-
function
|
3140
|
+
function gi(e) {
|
3138
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;
|
3139
3142
|
}
|
3140
3143
|
function Ye(e) {
|
3141
3144
|
e.forEach(function(t) {
|
3142
|
-
if (delete t.location,
|
3145
|
+
if (delete t.location, ar(t) || lr(t))
|
3143
3146
|
for (var r in t.options)
|
3144
3147
|
delete t.options[r].location, Ye(t.options[r].value);
|
3145
3148
|
else
|
3146
|
-
|
3149
|
+
ir(t) && hr(t.style) || (or(t) || sr(t)) && ze(t.style) ? delete t.style.location : ur(t) && Ye(t.children);
|
3147
3150
|
});
|
3148
3151
|
}
|
3149
|
-
function
|
3152
|
+
function vi(e, t) {
|
3150
3153
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3151
|
-
var r = new
|
3154
|
+
var r = new pi(e, t).parse();
|
3152
3155
|
if (r.err) {
|
3153
3156
|
var n = SyntaxError(v[r.err.kind]);
|
3154
3157
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3155
3158
|
}
|
3156
3159
|
return t != null && t.captureLocation || Ye(r.val), r.val;
|
3157
3160
|
}
|
3158
|
-
var
|
3161
|
+
var te;
|
3159
3162
|
(function(e) {
|
3160
3163
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3161
|
-
})(
|
3162
|
-
var
|
3164
|
+
})(te || (te = {}));
|
3165
|
+
var Pe = (
|
3163
3166
|
/** @class */
|
3164
3167
|
function(e) {
|
3165
|
-
|
3168
|
+
j(t, e);
|
3166
3169
|
function t(r, n, i) {
|
3167
3170
|
var o = e.call(this, r) || this;
|
3168
3171
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3171,48 +3174,48 @@ var Ce = (
|
|
3171
3174
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3172
3175
|
}, t;
|
3173
3176
|
}(Error)
|
3174
|
-
),
|
3177
|
+
), At = (
|
3175
3178
|
/** @class */
|
3176
3179
|
function(e) {
|
3177
|
-
|
3180
|
+
j(t, e);
|
3178
3181
|
function t(r, n, i, o) {
|
3179
|
-
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;
|
3180
3183
|
}
|
3181
3184
|
return t;
|
3182
|
-
}(
|
3183
|
-
),
|
3185
|
+
}(Pe)
|
3186
|
+
), yi = (
|
3184
3187
|
/** @class */
|
3185
3188
|
function(e) {
|
3186
|
-
|
3189
|
+
j(t, e);
|
3187
3190
|
function t(r, n, i) {
|
3188
|
-
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;
|
3189
3192
|
}
|
3190
3193
|
return t;
|
3191
|
-
}(
|
3192
|
-
),
|
3194
|
+
}(Pe)
|
3195
|
+
), _i = (
|
3193
3196
|
/** @class */
|
3194
3197
|
function(e) {
|
3195
|
-
|
3198
|
+
j(t, e);
|
3196
3199
|
function t(r, n) {
|
3197
|
-
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;
|
3198
3201
|
}
|
3199
3202
|
return t;
|
3200
|
-
}(
|
3203
|
+
}(Pe)
|
3201
3204
|
), A;
|
3202
3205
|
(function(e) {
|
3203
3206
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3204
3207
|
})(A || (A = {}));
|
3205
|
-
function
|
3208
|
+
function xi(e) {
|
3206
3209
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3207
3210
|
var n = t[t.length - 1];
|
3208
3211
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3209
3212
|
}, []);
|
3210
3213
|
}
|
3211
|
-
function
|
3214
|
+
function Ei(e) {
|
3212
3215
|
return typeof e == "function";
|
3213
3216
|
}
|
3214
|
-
function
|
3215
|
-
if (e.length === 1 &&
|
3217
|
+
function ge(e, t, r, n, i, o, s) {
|
3218
|
+
if (e.length === 1 && St(e[0]))
|
3216
3219
|
return [
|
3217
3220
|
{
|
3218
3221
|
type: A.literal,
|
@@ -3221,14 +3224,14 @@ function be(e, t, r, n, i, o, s) {
|
|
3221
3224
|
];
|
3222
3225
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3223
3226
|
var l = u[h];
|
3224
|
-
if (
|
3227
|
+
if (St(l)) {
|
3225
3228
|
a.push({
|
3226
3229
|
type: A.literal,
|
3227
3230
|
value: l.value
|
3228
3231
|
});
|
3229
3232
|
continue;
|
3230
3233
|
}
|
3231
|
-
if (
|
3234
|
+
if (Vn(l)) {
|
3232
3235
|
typeof o == "number" && a.push({
|
3233
3236
|
type: A.literal,
|
3234
3237
|
value: r.getNumberFormat(t).format(o)
|
@@ -3237,16 +3240,16 @@ function be(e, t, r, n, i, o, s) {
|
|
3237
3240
|
}
|
3238
3241
|
var f = l.value;
|
3239
3242
|
if (!(i && f in i))
|
3240
|
-
throw new
|
3243
|
+
throw new _i(f, s);
|
3241
3244
|
var c = i[f];
|
3242
|
-
if (
|
3245
|
+
if (kn(l)) {
|
3243
3246
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3244
3247
|
type: typeof c == "string" ? A.literal : A.object,
|
3245
3248
|
value: c
|
3246
3249
|
});
|
3247
3250
|
continue;
|
3248
3251
|
}
|
3249
|
-
if (
|
3252
|
+
if (or(l)) {
|
3250
3253
|
var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
3251
3254
|
a.push({
|
3252
3255
|
type: A.literal,
|
@@ -3254,7 +3257,7 @@ function be(e, t, r, n, i, o, s) {
|
|
3254
3257
|
});
|
3255
3258
|
continue;
|
3256
3259
|
}
|
3257
|
-
if (
|
3260
|
+
if (sr(l)) {
|
3258
3261
|
var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
3259
3262
|
a.push({
|
3260
3263
|
type: A.literal,
|
@@ -3262,64 +3265,64 @@ function be(e, t, r, n, i, o, s) {
|
|
3262
3265
|
});
|
3263
3266
|
continue;
|
3264
3267
|
}
|
3265
|
-
if (
|
3266
|
-
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;
|
3267
3270
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3268
3271
|
type: A.literal,
|
3269
3272
|
value: r.getNumberFormat(t, d).format(c)
|
3270
3273
|
});
|
3271
3274
|
continue;
|
3272
3275
|
}
|
3273
|
-
if (
|
3276
|
+
if (ur(l)) {
|
3274
3277
|
var m = l.children, b = l.value, g = i[b];
|
3275
|
-
if (!
|
3276
|
-
throw new
|
3277
|
-
var
|
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) {
|
3278
3281
|
return O.value;
|
3279
3282
|
}));
|
3280
|
-
Array.isArray(
|
3283
|
+
Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(O) {
|
3281
3284
|
return {
|
3282
3285
|
type: typeof O == "string" ? A.literal : A.object,
|
3283
3286
|
value: O
|
3284
3287
|
};
|
3285
3288
|
}));
|
3286
3289
|
}
|
3287
|
-
if (
|
3288
|
-
var
|
3289
|
-
if (!
|
3290
|
-
throw new
|
3291
|
-
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));
|
3292
3295
|
continue;
|
3293
3296
|
}
|
3294
|
-
if (
|
3295
|
-
var
|
3296
|
-
if (!
|
3297
|
+
if (lr(l)) {
|
3298
|
+
var w = l.options["=".concat(c)];
|
3299
|
+
if (!w) {
|
3297
3300
|
if (!Intl.PluralRules)
|
3298
|
-
throw new
|
3301
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3299
3302
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3300
|
-
`,
|
3301
|
-
var
|
3302
|
-
|
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;
|
3303
3306
|
}
|
3304
|
-
if (!
|
3305
|
-
throw new
|
3306
|
-
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)));
|
3307
3310
|
continue;
|
3308
3311
|
}
|
3309
3312
|
}
|
3310
|
-
return
|
3313
|
+
return xi(a);
|
3311
3314
|
}
|
3312
|
-
function
|
3315
|
+
function Si(e, t) {
|
3313
3316
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3314
3317
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3315
3318
|
}, {})) : e;
|
3316
3319
|
}
|
3317
|
-
function
|
3320
|
+
function wi(e, t) {
|
3318
3321
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3319
|
-
return r[n] =
|
3322
|
+
return r[n] = Si(e[n], t[n]), r;
|
3320
3323
|
}, _({}, e)) : e;
|
3321
3324
|
}
|
3322
|
-
function
|
3325
|
+
function Ue(e) {
|
3323
3326
|
return {
|
3324
3327
|
create: function() {
|
3325
3328
|
return {
|
@@ -3333,39 +3336,39 @@ function Ge(e) {
|
|
3333
3336
|
}
|
3334
3337
|
};
|
3335
3338
|
}
|
3336
|
-
function
|
3339
|
+
function Ti(e) {
|
3337
3340
|
return e === void 0 && (e = {
|
3338
3341
|
number: {},
|
3339
3342
|
dateTime: {},
|
3340
3343
|
pluralRules: {}
|
3341
3344
|
}), {
|
3342
|
-
getNumberFormat:
|
3345
|
+
getNumberFormat: Re(function() {
|
3343
3346
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3344
3347
|
r[n] = arguments[n];
|
3345
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3348
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
|
3346
3349
|
}, {
|
3347
|
-
cache:
|
3348
|
-
strategy:
|
3350
|
+
cache: Ue(e.number),
|
3351
|
+
strategy: $e.variadic
|
3349
3352
|
}),
|
3350
|
-
getDateTimeFormat:
|
3353
|
+
getDateTimeFormat: Re(function() {
|
3351
3354
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3352
3355
|
r[n] = arguments[n];
|
3353
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3356
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
|
3354
3357
|
}, {
|
3355
|
-
cache:
|
3356
|
-
strategy:
|
3358
|
+
cache: Ue(e.dateTime),
|
3359
|
+
strategy: $e.variadic
|
3357
3360
|
}),
|
3358
|
-
getPluralRules:
|
3361
|
+
getPluralRules: Re(function() {
|
3359
3362
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3360
3363
|
r[n] = arguments[n];
|
3361
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3364
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
|
3362
3365
|
}, {
|
3363
|
-
cache:
|
3364
|
-
strategy:
|
3366
|
+
cache: Ue(e.pluralRules),
|
3367
|
+
strategy: $e.variadic
|
3365
3368
|
})
|
3366
3369
|
};
|
3367
3370
|
}
|
3368
|
-
var
|
3371
|
+
var Hi = (
|
3369
3372
|
/** @class */
|
3370
3373
|
function() {
|
3371
3374
|
function e(t, r, n, i) {
|
@@ -3384,7 +3387,7 @@ var Pi = (
|
|
3384
3387
|
}, []);
|
3385
3388
|
return l.length <= 1 ? l[0] || "" : l;
|
3386
3389
|
}, this.formatToParts = function(h) {
|
3387
|
-
return
|
3390
|
+
return ge(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
3388
3391
|
}, this.resolvedOptions = function() {
|
3389
3392
|
var h;
|
3390
3393
|
return {
|
@@ -3397,13 +3400,13 @@ var Pi = (
|
|
3397
3400
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3398
3401
|
var s = i || {};
|
3399
3402
|
s.formatters;
|
3400
|
-
var a =
|
3403
|
+
var a = Mn(s, ["formatters"]);
|
3401
3404
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3402
3405
|
} else
|
3403
3406
|
this.ast = t;
|
3404
3407
|
if (!Array.isArray(this.ast))
|
3405
3408
|
throw new TypeError("A message must be provided as a String or AST.");
|
3406
|
-
this.formats =
|
3409
|
+
this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
|
3407
3410
|
}
|
3408
3411
|
return Object.defineProperty(e, "defaultLocale", {
|
3409
3412
|
get: function() {
|
@@ -3416,7 +3419,7 @@ var Pi = (
|
|
3416
3419
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3417
3420
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3418
3421
|
}
|
3419
|
-
}, e.__parse =
|
3422
|
+
}, e.__parse = vi, e.formats = {
|
3420
3423
|
number: {
|
3421
3424
|
integer: {
|
3422
3425
|
maximumFractionDigits: 0
|
@@ -3477,7 +3480,7 @@ var Pi = (
|
|
3477
3480
|
}, e;
|
3478
3481
|
}()
|
3479
3482
|
);
|
3480
|
-
function
|
3483
|
+
function Ci(e, t) {
|
3481
3484
|
if (t == null)
|
3482
3485
|
return;
|
3483
3486
|
if (t in e)
|
@@ -3498,92 +3501,92 @@ function Bi(e, t) {
|
|
3498
3501
|
n = void 0;
|
3499
3502
|
return n;
|
3500
3503
|
}
|
3501
|
-
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) => {
|
3502
3505
|
if (t == null)
|
3503
3506
|
return;
|
3504
|
-
if (t in
|
3505
|
-
return
|
3506
|
-
const r =
|
3507
|
+
if (t in k && e in k[t])
|
3508
|
+
return k[t][e];
|
3509
|
+
const r = Be(t);
|
3507
3510
|
for (let n = 0; n < r.length; n++) {
|
3508
|
-
const i = r[n], o =
|
3511
|
+
const i = r[n], o = Ai(i, e);
|
3509
3512
|
if (o)
|
3510
|
-
return
|
3513
|
+
return Pi(e, t, o);
|
3511
3514
|
}
|
3512
3515
|
};
|
3513
|
-
let
|
3514
|
-
const
|
3515
|
-
function
|
3516
|
-
return
|
3516
|
+
let ot;
|
3517
|
+
const fe = Ce({});
|
3518
|
+
function Bi(e) {
|
3519
|
+
return ot[e] || null;
|
3517
3520
|
}
|
3518
|
-
function
|
3519
|
-
return e in
|
3521
|
+
function yr(e) {
|
3522
|
+
return e in ot;
|
3520
3523
|
}
|
3521
|
-
function
|
3522
|
-
if (!
|
3524
|
+
function Ai(e, t) {
|
3525
|
+
if (!yr(e))
|
3523
3526
|
return null;
|
3524
|
-
const r =
|
3525
|
-
return
|
3527
|
+
const r = Bi(e);
|
3528
|
+
return Ci(r, t);
|
3526
3529
|
}
|
3527
|
-
function
|
3530
|
+
function Oi(e) {
|
3528
3531
|
if (e == null)
|
3529
3532
|
return;
|
3530
|
-
const t =
|
3533
|
+
const t = Be(e);
|
3531
3534
|
for (let r = 0; r < t.length; r++) {
|
3532
3535
|
const n = t[r];
|
3533
|
-
if (
|
3536
|
+
if (yr(n))
|
3534
3537
|
return n;
|
3535
3538
|
}
|
3536
3539
|
}
|
3537
|
-
function
|
3538
|
-
delete
|
3540
|
+
function _r(e, ...t) {
|
3541
|
+
delete k[e], fe.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
|
3539
3542
|
}
|
3540
|
-
|
3541
|
-
[
|
3543
|
+
ie(
|
3544
|
+
[fe],
|
3542
3545
|
([e]) => Object.keys(e)
|
3543
3546
|
);
|
3544
|
-
|
3545
|
-
const
|
3546
|
-
function
|
3547
|
-
|
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];
|
3548
3551
|
}
|
3549
|
-
function
|
3550
|
-
return
|
3552
|
+
function xr(e) {
|
3553
|
+
return ve[e];
|
3551
3554
|
}
|
3552
|
-
function
|
3553
|
-
return
|
3554
|
-
const r =
|
3555
|
+
function Ii(e) {
|
3556
|
+
return Be(e).map((t) => {
|
3557
|
+
const r = xr(t);
|
3555
3558
|
return [t, r ? [...r] : []];
|
3556
3559
|
}).filter(([, t]) => t.length > 0);
|
3557
3560
|
}
|
3558
3561
|
function Ke(e) {
|
3559
|
-
return e == null ? !1 :
|
3562
|
+
return e == null ? !1 : Be(e).some(
|
3560
3563
|
(t) => {
|
3561
3564
|
var r;
|
3562
|
-
return (r =
|
3565
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
3563
3566
|
}
|
3564
3567
|
);
|
3565
3568
|
}
|
3566
|
-
function
|
3569
|
+
function Ni(e, t) {
|
3567
3570
|
return Promise.all(
|
3568
|
-
t.map((n) => (
|
3569
|
-
).then((n) =>
|
3571
|
+
t.map((n) => (Li(e, n), n().then((i) => i.default || i)))
|
3572
|
+
).then((n) => _r(e, ...n));
|
3570
3573
|
}
|
3571
|
-
const
|
3572
|
-
function
|
3574
|
+
const ae = {};
|
3575
|
+
function Er(e) {
|
3573
3576
|
if (!Ke(e))
|
3574
|
-
return e in
|
3575
|
-
const t =
|
3576
|
-
return
|
3577
|
+
return e in ae ? ae[e] : Promise.resolve();
|
3578
|
+
const t = Ii(e);
|
3579
|
+
return ae[e] = Promise.all(
|
3577
3580
|
t.map(
|
3578
|
-
([r, n]) =>
|
3581
|
+
([r, n]) => Ni(r, n)
|
3579
3582
|
)
|
3580
3583
|
).then(() => {
|
3581
3584
|
if (Ke(e))
|
3582
|
-
return
|
3583
|
-
delete
|
3584
|
-
}),
|
3585
|
+
return Er(e);
|
3586
|
+
delete ae[e];
|
3587
|
+
}), ae[e];
|
3585
3588
|
}
|
3586
|
-
const
|
3589
|
+
const Mi = {
|
3587
3590
|
number: {
|
3588
3591
|
scientific: { notation: "scientific" },
|
3589
3592
|
engineering: { notation: "engineering" },
|
@@ -3612,150 +3615,150 @@ const $i = {
|
|
3612
3615
|
timeZoneName: "short"
|
3613
3616
|
}
|
3614
3617
|
}
|
3615
|
-
},
|
3618
|
+
}, Ri = {
|
3616
3619
|
fallbackLocale: null,
|
3617
3620
|
loadingDelay: 200,
|
3618
|
-
formats:
|
3621
|
+
formats: Mi,
|
3619
3622
|
warnOnMissingMessages: !0,
|
3620
3623
|
handleMissingMessage: void 0,
|
3621
3624
|
ignoreTag: !0
|
3622
|
-
},
|
3623
|
-
function
|
3624
|
-
return
|
3625
|
+
}, $i = Ri;
|
3626
|
+
function re() {
|
3627
|
+
return $i;
|
3625
3628
|
}
|
3626
|
-
const
|
3627
|
-
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) => {
|
3628
3631
|
for (var r in t || (t = {}))
|
3629
|
-
|
3630
|
-
if (
|
3631
|
-
for (var r of
|
3632
|
-
|
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]);
|
3633
3636
|
return e;
|
3634
|
-
},
|
3637
|
+
}, Vi = (e, t) => Ui(e, Di(t));
|
3635
3638
|
let et;
|
3636
|
-
const
|
3637
|
-
function
|
3639
|
+
const we = Ce(null);
|
3640
|
+
function It(e) {
|
3638
3641
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3639
3642
|
}
|
3640
|
-
function
|
3641
|
-
const r =
|
3642
|
-
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;
|
3643
3646
|
}
|
3644
|
-
function
|
3647
|
+
function W() {
|
3645
3648
|
return et != null ? et : void 0;
|
3646
3649
|
}
|
3647
|
-
|
3650
|
+
we.subscribe((e) => {
|
3648
3651
|
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3649
3652
|
});
|
3650
|
-
const
|
3651
|
-
if (e &&
|
3652
|
-
const { loadingDelay: t } =
|
3653
|
+
const Xi = (e) => {
|
3654
|
+
if (e && Oi(e) && Ke(e)) {
|
3655
|
+
const { loadingDelay: t } = re();
|
3653
3656
|
let r;
|
3654
|
-
return typeof window != "undefined" &&
|
3655
|
-
() =>
|
3657
|
+
return typeof window != "undefined" && W() != null && t ? r = window.setTimeout(
|
3658
|
+
() => De.set(!0),
|
3656
3659
|
t
|
3657
|
-
) :
|
3658
|
-
|
3660
|
+
) : De.set(!0), Er(e).then(() => {
|
3661
|
+
we.set(e);
|
3659
3662
|
}).finally(() => {
|
3660
|
-
clearTimeout(r),
|
3663
|
+
clearTimeout(r), De.set(!1);
|
3661
3664
|
});
|
3662
3665
|
}
|
3663
|
-
return
|
3664
|
-
},
|
3665
|
-
set:
|
3666
|
-
}),
|
3666
|
+
return we.set(e);
|
3667
|
+
}, oe = Vi(ki({}, we), {
|
3668
|
+
set: Xi
|
3669
|
+
}), Ae = (e) => {
|
3667
3670
|
const t = /* @__PURE__ */ Object.create(null);
|
3668
3671
|
return (n) => {
|
3669
3672
|
const i = JSON.stringify(n);
|
3670
3673
|
return i in t ? t[i] : t[i] = e(n);
|
3671
3674
|
};
|
3672
3675
|
};
|
3673
|
-
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) => {
|
3674
3677
|
for (var r in t || (t = {}))
|
3675
|
-
|
3676
|
-
if (
|
3677
|
-
for (var r of
|
3678
|
-
|
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]);
|
3679
3682
|
return e;
|
3680
|
-
},
|
3683
|
+
}, se = (e, t) => {
|
3681
3684
|
var r = {};
|
3682
3685
|
for (var n in e)
|
3683
|
-
|
3684
|
-
if (e != null &&
|
3685
|
-
for (var n of
|
3686
|
-
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]);
|
3687
3690
|
return r;
|
3688
3691
|
};
|
3689
|
-
const
|
3690
|
-
const { formats: r } =
|
3692
|
+
const ce = (e, t) => {
|
3693
|
+
const { formats: r } = re();
|
3691
3694
|
if (e in r && t in r[e])
|
3692
3695
|
return r[e][t];
|
3693
3696
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3694
|
-
},
|
3697
|
+
}, zi = Ae(
|
3695
3698
|
(e) => {
|
3696
|
-
var t = e, { locale: r, format: n } = t, i =
|
3699
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3697
3700
|
if (r == null)
|
3698
3701
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3699
|
-
return n && (i =
|
3702
|
+
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
3700
3703
|
}
|
3701
|
-
),
|
3704
|
+
), Zi = Ae(
|
3702
3705
|
(e) => {
|
3703
|
-
var t = e, { locale: r, format: n } = t, i =
|
3706
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3704
3707
|
if (r == null)
|
3705
3708
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3706
|
-
return n ? i =
|
3709
|
+
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
3707
3710
|
}
|
3708
|
-
),
|
3711
|
+
), Qi = Ae(
|
3709
3712
|
(e) => {
|
3710
|
-
var t = e, { locale: r, format: n } = t, i =
|
3713
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
3711
3714
|
if (r == null)
|
3712
3715
|
throw new Error(
|
3713
3716
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3714
3717
|
);
|
3715
|
-
return n ? i =
|
3718
|
+
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
3716
3719
|
}
|
3717
|
-
),
|
3720
|
+
), qi = (e = {}) => {
|
3718
3721
|
var t = e, {
|
3719
|
-
locale: r =
|
3720
|
-
} = t, n =
|
3722
|
+
locale: r = W()
|
3723
|
+
} = t, n = se(t, [
|
3721
3724
|
"locale"
|
3722
3725
|
]);
|
3723
|
-
return
|
3724
|
-
},
|
3726
|
+
return zi(st({ locale: r }, n));
|
3727
|
+
}, Ji = (e = {}) => {
|
3725
3728
|
var t = e, {
|
3726
|
-
locale: r =
|
3727
|
-
} = t, n =
|
3729
|
+
locale: r = W()
|
3730
|
+
} = t, n = se(t, [
|
3728
3731
|
"locale"
|
3729
3732
|
]);
|
3730
|
-
return
|
3731
|
-
},
|
3733
|
+
return Zi(st({ locale: r }, n));
|
3734
|
+
}, Yi = (e = {}) => {
|
3732
3735
|
var t = e, {
|
3733
|
-
locale: r =
|
3734
|
-
} = t, n =
|
3736
|
+
locale: r = W()
|
3737
|
+
} = t, n = se(t, [
|
3735
3738
|
"locale"
|
3736
3739
|
]);
|
3737
|
-
return
|
3738
|
-
},
|
3740
|
+
return Qi(st({ locale: r }, n));
|
3741
|
+
}, Ki = Ae(
|
3739
3742
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3740
|
-
(e, t =
|
3741
|
-
ignoreTag:
|
3743
|
+
(e, t = W()) => new Hi(e, t, re().formats, {
|
3744
|
+
ignoreTag: re().ignoreTag
|
3742
3745
|
})
|
3743
|
-
),
|
3746
|
+
), eo = (e, t = {}) => {
|
3744
3747
|
var r, n, i, o;
|
3745
3748
|
let s = t;
|
3746
3749
|
typeof e == "object" && (s = e, e = s.id);
|
3747
3750
|
const {
|
3748
3751
|
values: a,
|
3749
|
-
locale: h =
|
3752
|
+
locale: h = W(),
|
3750
3753
|
default: u
|
3751
3754
|
} = s;
|
3752
3755
|
if (h == null)
|
3753
3756
|
throw new Error(
|
3754
3757
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3755
3758
|
);
|
3756
|
-
let l =
|
3759
|
+
let l = vr(e, h);
|
3757
3760
|
if (!l)
|
3758
|
-
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;
|
3759
3762
|
else if (typeof l != "string")
|
3760
3763
|
return console.warn(
|
3761
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.`
|
@@ -3764,7 +3767,7 @@ const he = (e, t) => {
|
|
3764
3767
|
return l;
|
3765
3768
|
let f = l;
|
3766
3769
|
try {
|
3767
|
-
f =
|
3770
|
+
f = Ki(l, h).format(a);
|
3768
3771
|
} catch (c) {
|
3769
3772
|
c instanceof Error && console.warn(
|
3770
3773
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3772,18 +3775,18 @@ const he = (e, t) => {
|
|
3772
3775
|
);
|
3773
3776
|
}
|
3774
3777
|
return f;
|
3775
|
-
},
|
3776
|
-
|
3777
|
-
|
3778
|
-
|
3779
|
-
|
3780
|
-
function
|
3781
|
-
|
3782
|
-
}
|
3783
|
-
function
|
3784
|
-
|
3785
|
-
}
|
3786
|
-
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 = {
|
3787
3790
|
en: {
|
3788
3791
|
collections: "Game Collections",
|
3789
3792
|
providers: "Game Providers",
|
@@ -3880,16 +3883,16 @@ const Gt = {
|
|
3880
3883
|
loading: "Loading, please wait ..."
|
3881
3884
|
}
|
3882
3885
|
};
|
3883
|
-
function
|
3886
|
+
function F(e) {
|
3884
3887
|
return typeof e == "function";
|
3885
3888
|
}
|
3886
|
-
function
|
3889
|
+
function Tr(e) {
|
3887
3890
|
var t = function(n) {
|
3888
3891
|
Error.call(n), n.stack = new Error().stack;
|
3889
3892
|
}, r = e(t);
|
3890
3893
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3891
3894
|
}
|
3892
|
-
var
|
3895
|
+
var Fe = Tr(function(e) {
|
3893
3896
|
return function(r) {
|
3894
3897
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3895
3898
|
` + r.map(function(n, i) {
|
@@ -3904,7 +3907,7 @@ function tt(e, t) {
|
|
3904
3907
|
0 <= r && e.splice(r, 1);
|
3905
3908
|
}
|
3906
3909
|
}
|
3907
|
-
var
|
3910
|
+
var Oe = function() {
|
3908
3911
|
function e(t) {
|
3909
3912
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
3910
3913
|
}
|
@@ -3933,11 +3936,11 @@ var Ae = function() {
|
|
3933
3936
|
else
|
3934
3937
|
s.remove(this);
|
3935
3938
|
var l = this.initialTeardown;
|
3936
|
-
if (
|
3939
|
+
if (F(l))
|
3937
3940
|
try {
|
3938
3941
|
l();
|
3939
3942
|
} catch (b) {
|
3940
|
-
o = b instanceof
|
3943
|
+
o = b instanceof Fe ? b.errors : [b];
|
3941
3944
|
}
|
3942
3945
|
var f = this._finalizers;
|
3943
3946
|
if (f) {
|
@@ -3946,9 +3949,9 @@ var Ae = function() {
|
|
3946
3949
|
for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
|
3947
3950
|
var m = d.value;
|
3948
3951
|
try {
|
3949
|
-
|
3952
|
+
$t(m);
|
3950
3953
|
} catch (b) {
|
3951
|
-
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);
|
3952
3955
|
}
|
3953
3956
|
}
|
3954
3957
|
} catch (b) {
|
@@ -3963,13 +3966,13 @@ var Ae = function() {
|
|
3963
3966
|
}
|
3964
3967
|
}
|
3965
3968
|
if (o)
|
3966
|
-
throw new
|
3969
|
+
throw new Fe(o);
|
3967
3970
|
}
|
3968
3971
|
}, e.prototype.add = function(t) {
|
3969
3972
|
var r;
|
3970
3973
|
if (t && t !== this)
|
3971
3974
|
if (this.closed)
|
3972
|
-
|
3975
|
+
$t(t);
|
3973
3976
|
else {
|
3974
3977
|
if (t instanceof e) {
|
3975
3978
|
if (t.closed || t._hasParent(this))
|
@@ -3994,45 +3997,41 @@ var Ae = function() {
|
|
3994
3997
|
var t = new e();
|
3995
3998
|
return t.closed = !0, t;
|
3996
3999
|
}(), e;
|
3997
|
-
}(),
|
3998
|
-
function
|
3999
|
-
return e instanceof
|
4000
|
-
}
|
4001
|
-
function
|
4002
|
-
|
4003
|
-
}
|
4004
|
-
var
|
4005
|
-
|
4006
|
-
|
4007
|
-
Promise: void 0,
|
4008
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
4009
|
-
useDeprecatedNextContext: !1
|
4010
|
-
}, uo = {
|
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);
|
4003
|
+
}
|
4004
|
+
function $t(e) {
|
4005
|
+
F(e) ? e() : e.unsubscribe();
|
4006
|
+
}
|
4007
|
+
var ao = {
|
4008
|
+
Promise: void 0
|
4009
|
+
}, lo = {
|
4011
4010
|
setTimeout: function(e, t) {
|
4012
4011
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4013
4012
|
r[n - 2] = arguments[n];
|
4014
|
-
return setTimeout.apply(void 0,
|
4013
|
+
return setTimeout.apply(void 0, Y([e, t], We(r)));
|
4015
4014
|
},
|
4016
4015
|
clearTimeout: function(e) {
|
4017
4016
|
return clearTimeout(e);
|
4018
4017
|
},
|
4019
4018
|
delegate: void 0
|
4020
4019
|
};
|
4021
|
-
function
|
4022
|
-
|
4020
|
+
function uo(e) {
|
4021
|
+
lo.setTimeout(function() {
|
4023
4022
|
throw e;
|
4024
4023
|
});
|
4025
4024
|
}
|
4026
|
-
function
|
4025
|
+
function Gt() {
|
4027
4026
|
}
|
4028
|
-
function
|
4027
|
+
function ye(e) {
|
4029
4028
|
e();
|
4030
4029
|
}
|
4031
|
-
var
|
4032
|
-
|
4030
|
+
var Pr = function(e) {
|
4031
|
+
j(t, e);
|
4033
4032
|
function t(r) {
|
4034
4033
|
var n = e.call(this) || this;
|
4035
|
-
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;
|
4036
4035
|
}
|
4037
4036
|
return t.create = function(r, n, i) {
|
4038
4037
|
return new rt(r, n, i);
|
@@ -4059,11 +4058,7 @@ var Or = function(e) {
|
|
4059
4058
|
this.unsubscribe();
|
4060
4059
|
}
|
4061
4060
|
}, t;
|
4062
|
-
}(
|
4063
|
-
function Fe(e, t) {
|
4064
|
-
return co.call(e, t);
|
4065
|
-
}
|
4066
|
-
var fo = function() {
|
4061
|
+
}(Oe), ho = function() {
|
4067
4062
|
function e(t) {
|
4068
4063
|
this.partialObserver = t;
|
4069
4064
|
}
|
@@ -4073,7 +4068,7 @@ var fo = function() {
|
|
4073
4068
|
try {
|
4074
4069
|
r.next(t);
|
4075
4070
|
} catch (n) {
|
4076
|
-
|
4071
|
+
me(n);
|
4077
4072
|
}
|
4078
4073
|
}, e.prototype.error = function(t) {
|
4079
4074
|
var r = this.partialObserver;
|
@@ -4081,68 +4076,56 @@ var fo = function() {
|
|
4081
4076
|
try {
|
4082
4077
|
r.error(t);
|
4083
4078
|
} catch (n) {
|
4084
|
-
|
4079
|
+
me(n);
|
4085
4080
|
}
|
4086
4081
|
else
|
4087
|
-
|
4082
|
+
me(t);
|
4088
4083
|
}, e.prototype.complete = function() {
|
4089
4084
|
var t = this.partialObserver;
|
4090
4085
|
if (t.complete)
|
4091
4086
|
try {
|
4092
4087
|
t.complete();
|
4093
4088
|
} catch (r) {
|
4094
|
-
|
4089
|
+
me(r);
|
4095
4090
|
}
|
4096
4091
|
}, e;
|
4097
4092
|
}(), rt = function(e) {
|
4098
|
-
|
4093
|
+
j(t, e);
|
4099
4094
|
function t(r, n, i) {
|
4100
4095
|
var o = e.call(this) || this, s;
|
4101
|
-
|
4102
|
-
|
4103
|
-
|
4104
|
-
|
4105
|
-
|
4106
|
-
};
|
4107
|
-
else {
|
4108
|
-
var a;
|
4109
|
-
o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
4110
|
-
return o.unsubscribe();
|
4111
|
-
}, s = {
|
4112
|
-
next: r.next && Fe(r.next, a),
|
4113
|
-
error: r.error && Fe(r.error, a),
|
4114
|
-
complete: r.complete && Fe(r.complete, a)
|
4115
|
-
}) : s = r;
|
4116
|
-
}
|
4117
|
-
return o.destination = new fo(s), o;
|
4096
|
+
return F(r) || !r ? s = {
|
4097
|
+
next: r != null ? r : void 0,
|
4098
|
+
error: n != null ? n : void 0,
|
4099
|
+
complete: i != null ? i : void 0
|
4100
|
+
} : s = r, o.destination = new ho(s), o;
|
4118
4101
|
}
|
4119
4102
|
return t;
|
4120
|
-
}(
|
4121
|
-
function
|
4122
|
-
|
4103
|
+
}(Pr);
|
4104
|
+
function me(e) {
|
4105
|
+
uo(e);
|
4123
4106
|
}
|
4124
|
-
function
|
4107
|
+
function co(e) {
|
4125
4108
|
throw e;
|
4126
4109
|
}
|
4127
|
-
var
|
4110
|
+
var fo = {
|
4128
4111
|
closed: !0,
|
4129
|
-
next:
|
4130
|
-
error:
|
4131
|
-
complete:
|
4132
|
-
},
|
4112
|
+
next: Gt,
|
4113
|
+
error: co,
|
4114
|
+
complete: Gt
|
4115
|
+
}, po = function() {
|
4133
4116
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4134
4117
|
}();
|
4135
|
-
function
|
4118
|
+
function mo(e) {
|
4136
4119
|
return e;
|
4137
4120
|
}
|
4138
|
-
function
|
4139
|
-
return e.length === 0 ?
|
4121
|
+
function bo(e) {
|
4122
|
+
return e.length === 0 ? mo : e.length === 1 ? e[0] : function(r) {
|
4140
4123
|
return e.reduce(function(n, i) {
|
4141
4124
|
return i(n);
|
4142
4125
|
}, r);
|
4143
4126
|
};
|
4144
4127
|
}
|
4145
|
-
var
|
4128
|
+
var Ut = function() {
|
4146
4129
|
function e(t) {
|
4147
4130
|
t && (this._subscribe = t);
|
4148
4131
|
}
|
@@ -4150,8 +4133,8 @@ var Ft = function() {
|
|
4150
4133
|
var r = new e();
|
4151
4134
|
return r.source = this, r.operator = t, r;
|
4152
4135
|
}, e.prototype.subscribe = function(t, r, n) {
|
4153
|
-
var i = this, o =
|
4154
|
-
return
|
4136
|
+
var i = this, o = vo(t) ? t : new rt(t, r, n);
|
4137
|
+
return ye(function() {
|
4155
4138
|
var s = i, a = s.operator, h = s.source;
|
4156
4139
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
4157
4140
|
}), o;
|
@@ -4163,7 +4146,7 @@ var Ft = function() {
|
|
4163
4146
|
}
|
4164
4147
|
}, e.prototype.forEach = function(t, r) {
|
4165
4148
|
var n = this;
|
4166
|
-
return r =
|
4149
|
+
return r = Dt(r), new r(function(i, o) {
|
4167
4150
|
var s = new rt({
|
4168
4151
|
next: function(a) {
|
4169
4152
|
try {
|
@@ -4180,15 +4163,15 @@ var Ft = function() {
|
|
4180
4163
|
}, e.prototype._subscribe = function(t) {
|
4181
4164
|
var r;
|
4182
4165
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4183
|
-
}, e.prototype[
|
4166
|
+
}, e.prototype[po] = function() {
|
4184
4167
|
return this;
|
4185
4168
|
}, e.prototype.pipe = function() {
|
4186
4169
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4187
4170
|
t[r] = arguments[r];
|
4188
|
-
return
|
4171
|
+
return bo(t)(this);
|
4189
4172
|
}, e.prototype.toPromise = function(t) {
|
4190
4173
|
var r = this;
|
4191
|
-
return t =
|
4174
|
+
return t = Dt(t), new t(function(n, i) {
|
4192
4175
|
var o;
|
4193
4176
|
r.subscribe(function(s) {
|
4194
4177
|
return o = s;
|
@@ -4202,35 +4185,35 @@ var Ft = function() {
|
|
4202
4185
|
return new e(t);
|
4203
4186
|
}, e;
|
4204
4187
|
}();
|
4205
|
-
function
|
4188
|
+
function Dt(e) {
|
4206
4189
|
var t;
|
4207
|
-
return (t = e != null ? e :
|
4190
|
+
return (t = e != null ? e : ao.Promise) !== null && t !== void 0 ? t : Promise;
|
4208
4191
|
}
|
4209
|
-
function
|
4210
|
-
return e &&
|
4192
|
+
function go(e) {
|
4193
|
+
return e && F(e.next) && F(e.error) && F(e.complete);
|
4211
4194
|
}
|
4212
|
-
function
|
4213
|
-
return e && e instanceof
|
4195
|
+
function vo(e) {
|
4196
|
+
return e && e instanceof Pr || go(e) && Cr(e);
|
4214
4197
|
}
|
4215
|
-
var
|
4198
|
+
var yo = Tr(function(e) {
|
4216
4199
|
return function() {
|
4217
4200
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4218
4201
|
};
|
4219
|
-
}),
|
4220
|
-
|
4202
|
+
}), Br = function(e) {
|
4203
|
+
j(t, e);
|
4221
4204
|
function t() {
|
4222
4205
|
var r = e.call(this) || this;
|
4223
4206
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4224
4207
|
}
|
4225
4208
|
return t.prototype.lift = function(r) {
|
4226
|
-
var n = new
|
4209
|
+
var n = new Ft(this, this);
|
4227
4210
|
return n.operator = r, n;
|
4228
4211
|
}, t.prototype._throwIfClosed = function() {
|
4229
4212
|
if (this.closed)
|
4230
|
-
throw new
|
4213
|
+
throw new yo();
|
4231
4214
|
}, t.prototype.next = function(r) {
|
4232
4215
|
var n = this;
|
4233
|
-
|
4216
|
+
ye(function() {
|
4234
4217
|
var i, o;
|
4235
4218
|
if (n._throwIfClosed(), !n.isStopped) {
|
4236
4219
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
@@ -4253,7 +4236,7 @@ var Eo = Cr(function(e) {
|
|
4253
4236
|
});
|
4254
4237
|
}, t.prototype.error = function(r) {
|
4255
4238
|
var n = this;
|
4256
|
-
|
4239
|
+
ye(function() {
|
4257
4240
|
if (n._throwIfClosed(), !n.isStopped) {
|
4258
4241
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
4259
4242
|
for (var i = n.observers; i.length; )
|
@@ -4262,7 +4245,7 @@ var Eo = Cr(function(e) {
|
|
4262
4245
|
});
|
4263
4246
|
}, t.prototype.complete = function() {
|
4264
4247
|
var r = this;
|
4265
|
-
|
4248
|
+
ye(function() {
|
4266
4249
|
if (r._throwIfClosed(), !r.isStopped) {
|
4267
4250
|
r.isStopped = !0;
|
4268
4251
|
for (var n = r.observers; n.length; )
|
@@ -4284,20 +4267,20 @@ var Eo = Cr(function(e) {
|
|
4284
4267
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4285
4268
|
}, t.prototype._innerSubscribe = function(r) {
|
4286
4269
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4287
|
-
return o || s ?
|
4270
|
+
return o || s ? Hr : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4288
4271
|
n.currentObservers = null, tt(a, r);
|
4289
4272
|
}));
|
4290
4273
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4291
4274
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4292
4275
|
i ? r.error(o) : s && r.complete();
|
4293
4276
|
}, t.prototype.asObservable = function() {
|
4294
|
-
var r = new
|
4277
|
+
var r = new Ut();
|
4295
4278
|
return r.source = this, r;
|
4296
4279
|
}, t.create = function(r, n) {
|
4297
|
-
return new
|
4280
|
+
return new Ft(r, n);
|
4298
4281
|
}, t;
|
4299
|
-
}(
|
4300
|
-
|
4282
|
+
}(Ut), Ft = function(e) {
|
4283
|
+
j(t, e);
|
4301
4284
|
function t(r, n) {
|
4302
4285
|
var i = e.call(this) || this;
|
4303
4286
|
return i.destination = r, i.source = n, i;
|
@@ -4313,17 +4296,17 @@ var Eo = Cr(function(e) {
|
|
4313
4296
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4314
4297
|
}, t.prototype._subscribe = function(r) {
|
4315
4298
|
var n, i;
|
4316
|
-
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;
|
4317
4300
|
}, t;
|
4318
|
-
}(
|
4301
|
+
}(Br), Ar = {
|
4319
4302
|
now: function() {
|
4320
|
-
return (
|
4303
|
+
return (Ar.delegate || Date).now();
|
4321
4304
|
},
|
4322
4305
|
delegate: void 0
|
4323
|
-
},
|
4324
|
-
|
4306
|
+
}, _o = function(e) {
|
4307
|
+
j(t, e);
|
4325
4308
|
function t(r, n, i) {
|
4326
|
-
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);
|
4327
4310
|
var o = e.call(this) || this;
|
4328
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;
|
4329
4312
|
}
|
@@ -4343,23 +4326,23 @@ var Eo = Cr(function(e) {
|
|
4343
4326
|
u && o.splice(0, u + 1);
|
4344
4327
|
}
|
4345
4328
|
}, t;
|
4346
|
-
}(
|
4347
|
-
const
|
4348
|
-
if (
|
4349
|
-
const r = new
|
4350
|
-
|
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);
|
4351
4334
|
}
|
4352
|
-
return
|
4335
|
+
return kt[e];
|
4353
4336
|
};
|
4354
|
-
window.emWidgets = { topic:
|
4355
|
-
const
|
4356
|
-
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) {
|
4357
4340
|
if (e) {
|
4358
4341
|
const r = document.createElement("style");
|
4359
4342
|
r.innerHTML = t, e.appendChild(r);
|
4360
4343
|
}
|
4361
4344
|
}
|
4362
|
-
function
|
4345
|
+
function wo(e, t) {
|
4363
4346
|
const r = new URL(t);
|
4364
4347
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4365
4348
|
const i = document.createElement("style");
|
@@ -4368,7 +4351,7 @@ function Ho(e, t) {
|
|
4368
4351
|
console.error("There was an error while trying to load client styling from URL", n);
|
4369
4352
|
});
|
4370
4353
|
}
|
4371
|
-
function
|
4354
|
+
function To(e, t, r) {
|
4372
4355
|
if (window.emMessageBus) {
|
4373
4356
|
const n = document.createElement("style");
|
4374
4357
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4376,18 +4359,18 @@ function Co(e, t, r) {
|
|
4376
4359
|
});
|
4377
4360
|
}
|
4378
4361
|
}
|
4379
|
-
function
|
4380
|
-
|
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)}}');
|
4381
4364
|
}
|
4382
|
-
function
|
4365
|
+
function Vt(e, t, r) {
|
4383
4366
|
const n = e.slice();
|
4384
4367
|
return n[41] = t[r], n;
|
4385
4368
|
}
|
4386
|
-
function
|
4369
|
+
function Xt(e, t, r) {
|
4387
4370
|
const n = e.slice();
|
4388
4371
|
return n[44] = t[r], n;
|
4389
4372
|
}
|
4390
|
-
function
|
4373
|
+
function Co(e) {
|
4391
4374
|
let t, r, n, i = (
|
4392
4375
|
/*type*/
|
4393
4376
|
(e[0] === "vendor" ? (
|
@@ -4400,24 +4383,24 @@ function Bo(e) {
|
|
4400
4383
|
), o, s, a, h, u, l = (
|
4401
4384
|
/*numberOfSlides*/
|
4402
4385
|
e[7] > /*numberOfVisibleSlides*/
|
4403
|
-
e[8] &&
|
4404
|
-
), f =
|
4386
|
+
e[8] && Wt(e)
|
4387
|
+
), f = Se(
|
4405
4388
|
/*gameCategories*/
|
4406
4389
|
e[3]
|
4407
4390
|
), c = [];
|
4408
4391
|
for (let d = 0; d < f.length; d += 1)
|
4409
|
-
c[d] =
|
4392
|
+
c[d] = Qt(Vt(e, f, d));
|
4410
4393
|
return {
|
4411
4394
|
c() {
|
4412
|
-
t =
|
4395
|
+
t = C("div"), r = C("div"), n = C("p"), o = He(i), s = X(), l && l.c(), a = X(), h = C("div");
|
4413
4396
|
for (let d = 0; d < c.length; d += 1)
|
4414
4397
|
c[d].c();
|
4415
|
-
|
4398
|
+
P(n, "class", "Title"), P(r, "class", "CategoriesHeader"), P(h, "class", "CategoriesSlider"), P(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
4416
4399
|
(e[9] ? "Mobile" : "") + " " + /*type*/
|
4417
4400
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4418
4401
|
},
|
4419
4402
|
m(d, m) {
|
4420
|
-
U(d, t, m),
|
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);
|
4421
4404
|
for (let b = 0; b < c.length; b += 1)
|
4422
4405
|
c[b] && c[b].m(h, null);
|
4423
4406
|
e[25](h);
|
@@ -4433,16 +4416,16 @@ function Bo(e) {
|
|
4433
4416
|
d[10]("collections")
|
4434
4417
|
)) + "") && it(o, i), /*numberOfSlides*/
|
4435
4418
|
d[7] > /*numberOfVisibleSlides*/
|
4436
|
-
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*/
|
4437
4420
|
24590) {
|
4438
|
-
f =
|
4421
|
+
f = Se(
|
4439
4422
|
/*gameCategories*/
|
4440
4423
|
d[3]
|
4441
4424
|
);
|
4442
4425
|
let b;
|
4443
4426
|
for (b = 0; b < f.length; b += 1) {
|
4444
|
-
const g =
|
4445
|
-
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));
|
4446
4429
|
}
|
4447
4430
|
for (; b < c.length; b += 1)
|
4448
4431
|
c[b].d(1);
|
@@ -4451,43 +4434,43 @@ function Bo(e) {
|
|
4451
4434
|
m[0] & /*mobile, type*/
|
4452
4435
|
513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
4453
4436
|
(d[9] ? "Mobile" : "") + " " + /*type*/
|
4454
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4437
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && P(t, "class", u);
|
4455
4438
|
},
|
4456
4439
|
d(d) {
|
4457
|
-
d &&
|
4440
|
+
d && R(t), l && l.d(), Kt(c, d), e[25](null);
|
4458
4441
|
}
|
4459
4442
|
};
|
4460
4443
|
}
|
4461
|
-
function
|
4444
|
+
function Po(e) {
|
4462
4445
|
let t;
|
4463
4446
|
return {
|
4464
4447
|
c() {
|
4465
|
-
t =
|
4448
|
+
t = C("div"), P(t, "class", "LoadingSpinner");
|
4466
4449
|
},
|
4467
4450
|
m(r, n) {
|
4468
4451
|
U(r, t, n);
|
4469
4452
|
},
|
4470
|
-
p:
|
4453
|
+
p: I,
|
4471
4454
|
d(r) {
|
4472
|
-
r &&
|
4455
|
+
r && R(t);
|
4473
4456
|
}
|
4474
4457
|
};
|
4475
4458
|
}
|
4476
|
-
function
|
4459
|
+
function Wt(e) {
|
4477
4460
|
let t, r, n, i, o, s;
|
4478
4461
|
return {
|
4479
4462
|
c() {
|
4480
|
-
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");
|
4481
4464
|
},
|
4482
4465
|
m(a, h) {
|
4483
|
-
U(a, t, h),
|
4484
|
-
|
4466
|
+
U(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
|
4467
|
+
xe(
|
4485
4468
|
r,
|
4486
4469
|
"click",
|
4487
4470
|
/*sliderScrollLeft*/
|
4488
4471
|
e[11]
|
4489
4472
|
),
|
4490
|
-
|
4473
|
+
xe(
|
4491
4474
|
i,
|
4492
4475
|
"click",
|
4493
4476
|
/*sliderScrollRight*/
|
@@ -4495,23 +4478,23 @@ function Zt(e) {
|
|
4495
4478
|
)
|
4496
4479
|
], o = !0);
|
4497
4480
|
},
|
4498
|
-
p:
|
4481
|
+
p: I,
|
4499
4482
|
d(a) {
|
4500
|
-
a &&
|
4483
|
+
a && R(t), o = !1, ne(s);
|
4501
4484
|
}
|
4502
4485
|
};
|
4503
4486
|
}
|
4504
|
-
function
|
4487
|
+
function Bo(e) {
|
4505
4488
|
let t, r = (
|
4506
4489
|
/*category*/
|
4507
4490
|
e[41].name + ""
|
4508
4491
|
), n;
|
4509
4492
|
return {
|
4510
4493
|
c() {
|
4511
|
-
t =
|
4494
|
+
t = C("p"), n = He(r), P(t, "class", "CategorySlideTitle");
|
4512
4495
|
},
|
4513
4496
|
m(i, o) {
|
4514
|
-
U(i, t, o),
|
4497
|
+
U(i, t, o), H(t, n);
|
4515
4498
|
},
|
4516
4499
|
p(i, o) {
|
4517
4500
|
o[0] & /*gameCategories*/
|
@@ -4519,16 +4502,16 @@ function Oo(e) {
|
|
4519
4502
|
i[41].name + "") && it(n, r);
|
4520
4503
|
},
|
4521
4504
|
d(i) {
|
4522
|
-
i &&
|
4505
|
+
i && R(t);
|
4523
4506
|
}
|
4524
4507
|
};
|
4525
4508
|
}
|
4526
|
-
function
|
4509
|
+
function Ao(e) {
|
4527
4510
|
let t, r, n;
|
4528
4511
|
return {
|
4529
4512
|
c() {
|
4530
|
-
t =
|
4531
|
-
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*/
|
4532
4515
|
e[41].name + " icon");
|
4533
4516
|
},
|
4534
4517
|
m(i, o) {
|
@@ -4536,42 +4519,42 @@ function Lo(e) {
|
|
4536
4519
|
},
|
4537
4520
|
p(i, o) {
|
4538
4521
|
o[0] & /*gameCategories*/
|
4539
|
-
8 && !
|
4540
|
-
i[41].icon) &&
|
4522
|
+
8 && !_e(t.src, r = /*category*/
|
4523
|
+
i[41].icon) && G(t, "src", r), o[0] & /*gameCategories*/
|
4541
4524
|
8 && n !== (n = /*category*/
|
4542
|
-
i[41].name + " icon") &&
|
4525
|
+
i[41].name + " icon") && G(t, "alt", n);
|
4543
4526
|
},
|
4544
4527
|
d(i) {
|
4545
|
-
i &&
|
4528
|
+
i && R(t);
|
4546
4529
|
}
|
4547
4530
|
};
|
4548
4531
|
}
|
4549
|
-
function
|
4532
|
+
function zt(e) {
|
4550
4533
|
let t, r = (
|
4551
4534
|
/*game*/
|
4552
4535
|
e[44].name + ""
|
4553
4536
|
), n, i;
|
4554
4537
|
return {
|
4555
4538
|
c() {
|
4556
|
-
t =
|
4539
|
+
t = C("p"), n = He(r), P(t, "title", i = /*game*/
|
4557
4540
|
e[44].name);
|
4558
4541
|
},
|
4559
4542
|
m(o, s) {
|
4560
|
-
U(o, t, s),
|
4543
|
+
U(o, t, s), H(t, n);
|
4561
4544
|
},
|
4562
4545
|
p(o, s) {
|
4563
4546
|
s[0] & /*gameCategories*/
|
4564
4547
|
8 && r !== (r = /*game*/
|
4565
4548
|
o[44].name + "") && it(n, r), s[0] & /*gameCategories*/
|
4566
4549
|
8 && i !== (i = /*game*/
|
4567
|
-
o[44].name) &&
|
4550
|
+
o[44].name) && P(t, "title", i);
|
4568
4551
|
},
|
4569
4552
|
d(o) {
|
4570
|
-
o &&
|
4553
|
+
o && R(t);
|
4571
4554
|
}
|
4572
4555
|
};
|
4573
4556
|
}
|
4574
|
-
function
|
4557
|
+
function Zt(e) {
|
4575
4558
|
let t, r, n, i, o, s, a, h;
|
4576
4559
|
function u() {
|
4577
4560
|
return (
|
@@ -4584,50 +4567,50 @@ function qt(e) {
|
|
4584
4567
|
}
|
4585
4568
|
let l = (
|
4586
4569
|
/*collectionprovidersgamenames*/
|
4587
|
-
e[2] == "true" &&
|
4570
|
+
e[2] == "true" && zt(e)
|
4588
4571
|
);
|
4589
4572
|
return {
|
4590
4573
|
c() {
|
4591
|
-
t =
|
4592
|
-
e[44].defaultThumbnail) ||
|
4593
|
-
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");
|
4594
4577
|
},
|
4595
4578
|
m(f, c) {
|
4596
|
-
U(f, t, c),
|
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);
|
4597
4580
|
},
|
4598
4581
|
p(f, c) {
|
4599
4582
|
e = f, c[0] & /*gameCategories*/
|
4600
|
-
8 && !
|
4601
|
-
e[44].defaultThumbnail) &&
|
4583
|
+
8 && !_e(r.src, n = /*game*/
|
4584
|
+
e[44].defaultThumbnail) && G(r, "src", n), c[0] & /*gameCategories*/
|
4602
4585
|
8 && i !== (i = /*game*/
|
4603
|
-
e[44].name) &&
|
4604
|
-
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);
|
4605
4588
|
},
|
4606
4589
|
d(f) {
|
4607
|
-
f &&
|
4590
|
+
f && R(t), l && l.d(), a = !1, h();
|
4608
4591
|
}
|
4609
4592
|
};
|
4610
4593
|
}
|
4611
|
-
function
|
4594
|
+
function Qt(e) {
|
4612
4595
|
let t, r, n, i, o, s, a, h, u;
|
4613
|
-
function l(g,
|
4596
|
+
function l(g, x) {
|
4614
4597
|
if (
|
4615
4598
|
/*titletype*/
|
4616
4599
|
g[1] === "logo"
|
4617
4600
|
)
|
4618
|
-
return
|
4601
|
+
return Ao;
|
4619
4602
|
if (
|
4620
4603
|
/*titletype*/
|
4621
4604
|
g[1] === "title"
|
4622
4605
|
)
|
4623
|
-
return
|
4606
|
+
return Bo;
|
4624
4607
|
}
|
4625
|
-
let f = l(e), c = f && f(e), d =
|
4608
|
+
let f = l(e), c = f && f(e), d = Se(
|
4626
4609
|
/*category*/
|
4627
4610
|
e[41].games
|
4628
4611
|
), m = [];
|
4629
4612
|
for (let g = 0; g < d.length; g += 1)
|
4630
|
-
m[g] =
|
4613
|
+
m[g] = Zt(Xt(e, d, g));
|
4631
4614
|
function b() {
|
4632
4615
|
return (
|
4633
4616
|
/*click_handler_1*/
|
@@ -4639,60 +4622,60 @@ function Jt(e) {
|
|
4639
4622
|
}
|
4640
4623
|
return {
|
4641
4624
|
c() {
|
4642
|
-
var g,
|
4643
|
-
t =
|
4644
|
-
for (let
|
4645
|
-
m[
|
4646
|
-
a =
|
4647
|
-
(((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")),
|
4648
|
-
((
|
4625
|
+
var g, x;
|
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");
|
4649
4632
|
},
|
4650
|
-
m(g,
|
4651
|
-
U(g, t,
|
4652
|
-
for (let
|
4653
|
-
m[
|
4654
|
-
|
4633
|
+
m(g, x) {
|
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);
|
4655
4638
|
},
|
4656
|
-
p(g,
|
4657
|
-
var
|
4658
|
-
if (e = g, f === (f = l(e)) && c ? c.p(e,
|
4639
|
+
p(g, x) {
|
4640
|
+
var E, w;
|
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*/
|
4659
4642
|
8204) {
|
4660
|
-
d =
|
4643
|
+
d = Se(
|
4661
4644
|
/*category*/
|
4662
4645
|
e[41].games
|
4663
4646
|
);
|
4664
|
-
let
|
4665
|
-
for (
|
4666
|
-
const O =
|
4667
|
-
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));
|
4668
4651
|
}
|
4669
|
-
for (;
|
4670
|
-
m[
|
4652
|
+
for (; T < m.length; T += 1)
|
4653
|
+
m[T].d(1);
|
4671
4654
|
m.length = d.length;
|
4672
4655
|
}
|
4673
|
-
|
4656
|
+
x[0] & /*gameCategories*/
|
4674
4657
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4675
|
-
(((
|
4676
|
-
8 &&
|
4677
|
-
((
|
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) + ")");
|
4678
4661
|
},
|
4679
4662
|
d(g) {
|
4680
|
-
g &&
|
4663
|
+
g && R(t), c && c.d(), Kt(m, g), h = !1, u();
|
4681
4664
|
}
|
4682
4665
|
};
|
4683
4666
|
}
|
4684
|
-
function
|
4667
|
+
function Oo(e) {
|
4685
4668
|
let t;
|
4686
4669
|
function r(o, s) {
|
4687
4670
|
return (
|
4688
4671
|
/*isLoading*/
|
4689
|
-
o[6] ?
|
4672
|
+
o[6] ? Po : Co
|
4690
4673
|
);
|
4691
4674
|
}
|
4692
4675
|
let n = r(e), i = n(e);
|
4693
4676
|
return {
|
4694
4677
|
c() {
|
4695
|
-
t =
|
4678
|
+
t = C("div"), i.c();
|
4696
4679
|
},
|
4697
4680
|
m(o, s) {
|
4698
4681
|
U(o, t, s), i.m(t, null), e[26](t);
|
@@ -4700,76 +4683,77 @@ function Io(e) {
|
|
4700
4683
|
p(o, s) {
|
4701
4684
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
4702
4685
|
},
|
4703
|
-
i:
|
4704
|
-
o:
|
4686
|
+
i: I,
|
4687
|
+
o: I,
|
4705
4688
|
d(o) {
|
4706
|
-
o &&
|
4689
|
+
o && R(t), i.d(), e[26](null);
|
4707
4690
|
}
|
4708
4691
|
};
|
4709
4692
|
}
|
4710
|
-
function
|
4693
|
+
function Lo(e, t, r) {
|
4711
4694
|
let n;
|
4712
|
-
|
4713
|
-
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,
|
4714
|
-
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 = () => {
|
4715
4698
|
fetch(f).then((B) => B.json()).then((B) => {
|
4716
|
-
Object.keys(B).forEach((
|
4717
|
-
|
4699
|
+
Object.keys(B).forEach((D) => {
|
4700
|
+
Mt(D, B[D]);
|
4718
4701
|
});
|
4719
4702
|
}).catch((B) => {
|
4720
4703
|
console.log(B);
|
4721
4704
|
});
|
4722
4705
|
};
|
4723
|
-
Object.keys(
|
4724
|
-
|
4706
|
+
Object.keys(Rt).forEach((p) => {
|
4707
|
+
Mt(p, Rt[p]);
|
4725
4708
|
});
|
4726
|
-
const
|
4709
|
+
const lt = () => {
|
4727
4710
|
const p = new URL(`${i}/v2/casino/groups/${o}`);
|
4728
|
-
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${
|
4729
|
-
r(6, b = !1), B.total >
|
4730
|
-
let
|
4731
|
-
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;
|
4732
4715
|
return {
|
4733
|
-
id:
|
4734
|
-
name:
|
4735
|
-
icon:
|
4736
|
-
games:
|
4737
|
-
background:
|
4738
|
-
flag:
|
4716
|
+
id: L.id,
|
4717
|
+
name: L.name,
|
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),
|
4720
|
+
background: L.background,
|
4721
|
+
flag: L.flags
|
4739
4722
|
};
|
4740
4723
|
});
|
4741
|
-
r(3, m = [...m,
|
4724
|
+
r(3, m = [...m, ...D]), r(7, E = m.length), Ir();
|
4742
4725
|
});
|
4743
|
-
},
|
4744
|
-
const p =
|
4726
|
+
}, Ir = () => {
|
4727
|
+
const p = $.getRootNode().host;
|
4745
4728
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
4746
|
-
},
|
4747
|
-
|
4748
|
-
|
4749
|
-
|
4750
|
-
|
4751
|
-
|
4752
|
-
|
4753
|
-
|
4754
|
-
|
4755
|
-
|
4756
|
-
|
4757
|
-
|
4758
|
-
|
4729
|
+
}, ut = (p) => {
|
4730
|
+
var B;
|
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();
|
4734
|
+
}, Nr = () => {
|
4735
|
+
r(8, w = Math.floor(g.clientWidth / T));
|
4736
|
+
}, ht = () => {
|
4737
|
+
ut(x);
|
4738
|
+
}, Mr = () => {
|
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) => {
|
4759
4743
|
window.postMessage(
|
4760
4744
|
{
|
4761
4745
|
type: "OpenCollectionsProvidersGame",
|
4762
4746
|
gameId: p,
|
4763
4747
|
launchUrl: B,
|
4764
|
-
gameName:
|
4765
|
-
subVendor:
|
4748
|
+
gameName: D,
|
4749
|
+
subVendor: L
|
4766
4750
|
},
|
4767
4751
|
window.location.href
|
4768
4752
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
4769
4753
|
context: "CollectionsProviders",
|
4770
|
-
gameName: `${
|
4754
|
+
gameName: `${D}`
|
4771
4755
|
});
|
4772
|
-
},
|
4756
|
+
}, ft = (p) => {
|
4773
4757
|
window.postMessage(
|
4774
4758
|
{
|
4775
4759
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4777,50 +4761,50 @@ function No(e, t, r) {
|
|
4777
4761
|
},
|
4778
4762
|
window.location.href
|
4779
4763
|
);
|
4780
|
-
},
|
4781
|
-
|
4764
|
+
}, $r = () => {
|
4765
|
+
so(s);
|
4782
4766
|
};
|
4783
|
-
|
4767
|
+
nn(() => (r(9, at = Eo(Or)), () => {
|
4784
4768
|
}));
|
4785
|
-
const
|
4786
|
-
function
|
4769
|
+
const Gr = (p) => ct(p.gameId, p.launchUrl, p.name, p.subVendor), Ur = (p) => ft(p.id);
|
4770
|
+
function Dr(p) {
|
4787
4771
|
Ee[p ? "unshift" : "push"](() => {
|
4788
4772
|
g = p, r(4, g);
|
4789
4773
|
});
|
4790
4774
|
}
|
4791
|
-
function
|
4775
|
+
function Fr(p) {
|
4792
4776
|
Ee[p ? "unshift" : "push"](() => {
|
4793
|
-
|
4777
|
+
$ = p, r(5, $);
|
4794
4778
|
});
|
4795
4779
|
}
|
4796
4780
|
return e.$$set = (p) => {
|
4797
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);
|
4798
4782
|
}, e.$$.update = () => {
|
4799
4783
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4800
|
-
229376 && i && o && s &&
|
4801
|
-
24 && m && g &&
|
4802
|
-
131072 && s &&
|
4803
|
-
262176 && u &&
|
4804
|
-
524320 && l &&
|
4805
|
-
2097184 &&
|
4806
|
-
1048576 && f &&
|
4807
|
-
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();
|
4808
4792
|
}, [
|
4809
4793
|
a,
|
4810
4794
|
h,
|
4811
4795
|
c,
|
4812
4796
|
m,
|
4813
4797
|
g,
|
4814
|
-
|
4798
|
+
$,
|
4815
4799
|
b,
|
4816
|
-
|
4817
|
-
|
4818
|
-
|
4800
|
+
E,
|
4801
|
+
w,
|
4802
|
+
at,
|
4819
4803
|
n,
|
4820
|
-
|
4821
|
-
|
4822
|
-
|
4823
|
-
|
4804
|
+
Mr,
|
4805
|
+
Rr,
|
4806
|
+
ct,
|
4807
|
+
ft,
|
4824
4808
|
i,
|
4825
4809
|
o,
|
4826
4810
|
s,
|
@@ -4828,21 +4812,21 @@ function No(e, t, r) {
|
|
4828
4812
|
l,
|
4829
4813
|
f,
|
4830
4814
|
d,
|
4831
|
-
|
4832
|
-
|
4833
|
-
|
4834
|
-
|
4835
|
-
|
4815
|
+
Le,
|
4816
|
+
Gr,
|
4817
|
+
Ur,
|
4818
|
+
Dr,
|
4819
|
+
Fr
|
4836
4820
|
];
|
4837
4821
|
}
|
4838
|
-
class
|
4822
|
+
class Io extends bn {
|
4839
4823
|
constructor(t) {
|
4840
|
-
super(),
|
4824
|
+
super(), pn(
|
4841
4825
|
this,
|
4842
4826
|
t,
|
4843
|
-
|
4844
|
-
|
4845
|
-
|
4827
|
+
Lo,
|
4828
|
+
Oo,
|
4829
|
+
Jt,
|
4846
4830
|
{
|
4847
4831
|
endpoint: 15,
|
4848
4832
|
datasource: 16,
|
@@ -4855,7 +4839,7 @@ class Mo extends yn {
|
|
4855
4839
|
collectionprovidersgamenames: 2,
|
4856
4840
|
mbsource: 21
|
4857
4841
|
},
|
4858
|
-
|
4842
|
+
Ho,
|
4859
4843
|
[-1, -1]
|
4860
4844
|
);
|
4861
4845
|
}
|
@@ -4863,64 +4847,64 @@ class Mo extends yn {
|
|
4863
4847
|
return this.$$.ctx[15];
|
4864
4848
|
}
|
4865
4849
|
set endpoint(t) {
|
4866
|
-
this.$$set({ endpoint: t }),
|
4850
|
+
this.$$set({ endpoint: t }), M();
|
4867
4851
|
}
|
4868
4852
|
get datasource() {
|
4869
4853
|
return this.$$.ctx[16];
|
4870
4854
|
}
|
4871
4855
|
set datasource(t) {
|
4872
|
-
this.$$set({ datasource: t }),
|
4856
|
+
this.$$set({ datasource: t }), M();
|
4873
4857
|
}
|
4874
4858
|
get lang() {
|
4875
4859
|
return this.$$.ctx[17];
|
4876
4860
|
}
|
4877
4861
|
set lang(t) {
|
4878
|
-
this.$$set({ lang: t }),
|
4862
|
+
this.$$set({ lang: t }), M();
|
4879
4863
|
}
|
4880
4864
|
get type() {
|
4881
4865
|
return this.$$.ctx[0];
|
4882
4866
|
}
|
4883
4867
|
set type(t) {
|
4884
|
-
this.$$set({ type: t }),
|
4868
|
+
this.$$set({ type: t }), M();
|
4885
4869
|
}
|
4886
4870
|
get titletype() {
|
4887
4871
|
return this.$$.ctx[1];
|
4888
4872
|
}
|
4889
4873
|
set titletype(t) {
|
4890
|
-
this.$$set({ titletype: t }),
|
4874
|
+
this.$$set({ titletype: t }), M();
|
4891
4875
|
}
|
4892
4876
|
get clientstyling() {
|
4893
4877
|
return this.$$.ctx[18];
|
4894
4878
|
}
|
4895
4879
|
set clientstyling(t) {
|
4896
|
-
this.$$set({ clientstyling: t }),
|
4880
|
+
this.$$set({ clientstyling: t }), M();
|
4897
4881
|
}
|
4898
4882
|
get clientstylingurl() {
|
4899
4883
|
return this.$$.ctx[19];
|
4900
4884
|
}
|
4901
4885
|
set clientstylingurl(t) {
|
4902
|
-
this.$$set({ clientstylingurl: t }),
|
4886
|
+
this.$$set({ clientstylingurl: t }), M();
|
4903
4887
|
}
|
4904
4888
|
get translationurl() {
|
4905
4889
|
return this.$$.ctx[20];
|
4906
4890
|
}
|
4907
4891
|
set translationurl(t) {
|
4908
|
-
this.$$set({ translationurl: t }),
|
4892
|
+
this.$$set({ translationurl: t }), M();
|
4909
4893
|
}
|
4910
4894
|
get collectionprovidersgamenames() {
|
4911
4895
|
return this.$$.ctx[2];
|
4912
4896
|
}
|
4913
4897
|
set collectionprovidersgamenames(t) {
|
4914
|
-
this.$$set({ collectionprovidersgamenames: t }),
|
4898
|
+
this.$$set({ collectionprovidersgamenames: t }), M();
|
4915
4899
|
}
|
4916
4900
|
get mbsource() {
|
4917
4901
|
return this.$$.ctx[21];
|
4918
4902
|
}
|
4919
4903
|
set mbsource(t) {
|
4920
|
-
this.$$set({ mbsource: t }),
|
4904
|
+
this.$$set({ mbsource: t }), M();
|
4921
4905
|
}
|
4922
4906
|
}
|
4923
|
-
|
4907
|
+
mn(Io, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4924
4908
|
export {
|
4925
|
-
|
4909
|
+
Io as default
|
4926
4910
|
};
|