@everymatrix/casino-collections-providers 1.53.0 → 1.53.10
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-BmmSbbyU.js → CasinoCollectionsProviders-BnM-htYb.js} +1127 -1183
- package/esnext/casino-collections-providers.js +14 -0
- package/package.json +8 -9
- package/components/CasinoCollectionsProviders-DOdcV5GE.cjs +0 -5
- package/es2015/casino-collections-providers.cjs +0 -1
- package/es2015/casino-collections-providers.js +0 -16
package/components/{CasinoCollectionsProviders-BmmSbbyU.js → CasinoCollectionsProviders-BnM-htYb.js}
RENAMED
@@ -1,79 +1,50 @@
|
|
1
|
-
|
2
|
-
var Jr = Object.getOwnPropertyDescriptors;
|
3
|
-
var vt = Object.getOwnPropertySymbols;
|
4
|
-
var Yr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable;
|
5
|
-
var Le = (e, t, r) => t in e ? Zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
|
6
|
-
for (var r in t || (t = {}))
|
7
|
-
Yr.call(t, r) && Le(e, r, t[r]);
|
8
|
-
if (vt)
|
9
|
-
for (var r of vt(t))
|
10
|
-
qr.call(t, r) && Le(e, r, t[r]);
|
11
|
-
return e;
|
12
|
-
}, _t = (e, t) => Qr(e, Jr(t));
|
13
|
-
var M = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
-
var Et = (e, t, r) => new Promise((n, i) => {
|
15
|
-
var o = (l) => {
|
16
|
-
try {
|
17
|
-
a(r.next(l));
|
18
|
-
} catch (u) {
|
19
|
-
i(u);
|
20
|
-
}
|
21
|
-
}, s = (l) => {
|
22
|
-
try {
|
23
|
-
a(r.throw(l));
|
24
|
-
} catch (u) {
|
25
|
-
i(u);
|
26
|
-
}
|
27
|
-
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
28
|
-
a((r = r.apply(e, t)).next());
|
29
|
-
});
|
30
|
-
function L() {
|
1
|
+
function I() {
|
31
2
|
}
|
32
|
-
function
|
3
|
+
function Ft(e) {
|
33
4
|
return e();
|
34
5
|
}
|
35
|
-
function
|
6
|
+
function ct() {
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
37
8
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
9
|
+
function ee(e) {
|
10
|
+
e.forEach(Ft);
|
40
11
|
}
|
41
|
-
function
|
12
|
+
function et(e) {
|
42
13
|
return typeof e == "function";
|
43
14
|
}
|
44
|
-
function
|
15
|
+
function kt(e, t) {
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
17
|
}
|
47
|
-
let
|
48
|
-
function
|
49
|
-
return e === t ? !0 : (
|
18
|
+
let fe;
|
19
|
+
function _e(e, t) {
|
20
|
+
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
50
21
|
}
|
51
|
-
function
|
22
|
+
function Rr(e) {
|
52
23
|
return Object.keys(e).length === 0;
|
53
24
|
}
|
54
|
-
function
|
25
|
+
function jt(e, ...t) {
|
55
26
|
if (e == null) {
|
56
27
|
for (const n of t)
|
57
28
|
n(void 0);
|
58
|
-
return
|
29
|
+
return I;
|
59
30
|
}
|
60
31
|
const r = e.subscribe(...t);
|
61
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
33
|
}
|
63
|
-
function
|
64
|
-
e.$$.on_destroy.push(
|
34
|
+
function $r(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(jt(t, r));
|
65
36
|
}
|
66
|
-
function
|
37
|
+
function T(e, t) {
|
67
38
|
e.appendChild(t);
|
68
39
|
}
|
69
|
-
function
|
70
|
-
const n =
|
40
|
+
function Gr(e, t, r) {
|
41
|
+
const n = Ur(e);
|
71
42
|
if (!n.getElementById(t)) {
|
72
|
-
const i =
|
73
|
-
i.id = t, i.textContent = r,
|
43
|
+
const i = H("style");
|
44
|
+
i.id = t, i.textContent = r, Dr(n, i);
|
74
45
|
}
|
75
46
|
}
|
76
|
-
function
|
47
|
+
function Ur(e) {
|
77
48
|
if (!e) return document;
|
78
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
79
50
|
return t && /** @type {ShadowRoot} */
|
@@ -82,75 +53,75 @@ function rn(e) {
|
|
82
53
|
t
|
83
54
|
) : e.ownerDocument;
|
84
55
|
}
|
85
|
-
function
|
86
|
-
return
|
56
|
+
function Dr(e, t) {
|
57
|
+
return T(
|
87
58
|
/** @type {Document} */
|
88
59
|
e.head || e,
|
89
60
|
t
|
90
61
|
), t.sheet;
|
91
62
|
}
|
92
|
-
function
|
63
|
+
function R(e, t, r) {
|
93
64
|
e.insertBefore(t, r || null);
|
94
65
|
}
|
95
|
-
function
|
66
|
+
function N(e) {
|
96
67
|
e.parentNode && e.parentNode.removeChild(e);
|
97
68
|
}
|
98
|
-
function
|
69
|
+
function Vt(e, t) {
|
99
70
|
for (let r = 0; r < e.length; r += 1)
|
100
71
|
e[r] && e[r].d(t);
|
101
72
|
}
|
102
|
-
function
|
73
|
+
function H(e) {
|
103
74
|
return document.createElement(e);
|
104
75
|
}
|
105
|
-
function
|
76
|
+
function He(e) {
|
106
77
|
return document.createTextNode(e);
|
107
78
|
}
|
108
|
-
function
|
109
|
-
return
|
79
|
+
function F() {
|
80
|
+
return He(" ");
|
110
81
|
}
|
111
|
-
function
|
82
|
+
function Q(e, t, r, n) {
|
112
83
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
113
84
|
}
|
114
|
-
function
|
85
|
+
function Fr(e) {
|
115
86
|
return function(t) {
|
116
87
|
return t.stopPropagation(), e.call(this, t);
|
117
88
|
};
|
118
89
|
}
|
119
|
-
function
|
90
|
+
function E(e, t, r) {
|
120
91
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
121
92
|
}
|
122
|
-
function
|
93
|
+
function kr(e) {
|
123
94
|
return Array.from(e.childNodes);
|
124
95
|
}
|
125
|
-
function
|
96
|
+
function tt(e, t) {
|
126
97
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
127
98
|
t);
|
128
99
|
}
|
129
|
-
function
|
100
|
+
function Ie(e, t, r, n) {
|
130
101
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
131
102
|
}
|
132
|
-
let
|
133
|
-
function
|
134
|
-
if (
|
135
|
-
|
103
|
+
let de;
|
104
|
+
function jr() {
|
105
|
+
if (de === void 0) {
|
106
|
+
de = !1;
|
136
107
|
try {
|
137
|
-
typeof window
|
138
|
-
} catch
|
139
|
-
|
108
|
+
typeof window < "u" && window.parent && window.parent.document;
|
109
|
+
} catch {
|
110
|
+
de = !0;
|
140
111
|
}
|
141
112
|
}
|
142
|
-
return
|
113
|
+
return de;
|
143
114
|
}
|
144
|
-
function
|
115
|
+
function Vr(e, t) {
|
145
116
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
146
|
-
const n =
|
117
|
+
const n = H("iframe");
|
147
118
|
n.setAttribute(
|
148
119
|
"style",
|
149
120
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
150
121
|
), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
151
|
-
const i =
|
122
|
+
const i = jr();
|
152
123
|
let o;
|
153
|
-
return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o =
|
124
|
+
return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
|
154
125
|
window,
|
155
126
|
"message",
|
156
127
|
/** @param {MessageEvent} event */
|
@@ -158,12 +129,12 @@ function ln(e, t) {
|
|
158
129
|
s.source === n.contentWindow && t();
|
159
130
|
}
|
160
131
|
)) : (n.src = "about:blank", n.onload = () => {
|
161
|
-
o =
|
162
|
-
}),
|
163
|
-
(i || o && n.contentWindow) && o(),
|
132
|
+
o = Q(n.contentWindow, "resize", t), t();
|
133
|
+
}), T(e, n), () => {
|
134
|
+
(i || o && n.contentWindow) && o(), N(n);
|
164
135
|
};
|
165
136
|
}
|
166
|
-
function
|
137
|
+
function Xr(e) {
|
167
138
|
const t = {};
|
168
139
|
return e.childNodes.forEach(
|
169
140
|
/** @param {Element} node */
|
@@ -173,95 +144,95 @@ function un(e) {
|
|
173
144
|
), t;
|
174
145
|
}
|
175
146
|
let ue;
|
176
|
-
function
|
147
|
+
function ae(e) {
|
177
148
|
ue = e;
|
178
149
|
}
|
179
|
-
function
|
150
|
+
function Wr() {
|
180
151
|
if (!ue) throw new Error("Function called outside component initialization");
|
181
152
|
return ue;
|
182
153
|
}
|
183
|
-
function
|
184
|
-
|
154
|
+
function zr(e) {
|
155
|
+
Wr().$$.on_mount.push(e);
|
185
156
|
}
|
186
157
|
const W = [], xe = [];
|
187
|
-
let
|
188
|
-
const
|
189
|
-
let
|
190
|
-
function
|
191
|
-
|
192
|
-
}
|
193
|
-
function
|
194
|
-
|
195
|
-
}
|
196
|
-
const
|
197
|
-
let
|
198
|
-
function
|
199
|
-
if (
|
158
|
+
let z = [];
|
159
|
+
const ft = [], Zr = /* @__PURE__ */ Promise.resolve();
|
160
|
+
let De = !1;
|
161
|
+
function Qr() {
|
162
|
+
De || (De = !0, Zr.then(M));
|
163
|
+
}
|
164
|
+
function Ee(e) {
|
165
|
+
z.push(e);
|
166
|
+
}
|
167
|
+
const Le = /* @__PURE__ */ new Set();
|
168
|
+
let V = 0;
|
169
|
+
function M() {
|
170
|
+
if (V !== 0)
|
200
171
|
return;
|
201
172
|
const e = ue;
|
202
173
|
do {
|
203
174
|
try {
|
204
|
-
for (;
|
205
|
-
const t = W[
|
206
|
-
|
175
|
+
for (; V < W.length; ) {
|
176
|
+
const t = W[V];
|
177
|
+
V++, ae(t), Jr(t.$$);
|
207
178
|
}
|
208
179
|
} catch (t) {
|
209
|
-
throw W.length = 0,
|
180
|
+
throw W.length = 0, V = 0, t;
|
210
181
|
}
|
211
|
-
for (
|
212
|
-
for (let t = 0; t <
|
213
|
-
const r =
|
214
|
-
|
182
|
+
for (ae(null), W.length = 0, V = 0; xe.length; ) xe.pop()();
|
183
|
+
for (let t = 0; t < z.length; t += 1) {
|
184
|
+
const r = z[t];
|
185
|
+
Le.has(r) || (Le.add(r), r());
|
215
186
|
}
|
216
|
-
|
187
|
+
z.length = 0;
|
217
188
|
} while (W.length);
|
218
|
-
for (;
|
219
|
-
|
220
|
-
|
189
|
+
for (; ft.length; )
|
190
|
+
ft.pop()();
|
191
|
+
De = !1, Le.clear(), ae(e);
|
221
192
|
}
|
222
|
-
function
|
193
|
+
function Jr(e) {
|
223
194
|
if (e.fragment !== null) {
|
224
|
-
e.update(),
|
195
|
+
e.update(), ee(e.before_update);
|
225
196
|
const t = e.dirty;
|
226
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
197
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
227
198
|
}
|
228
199
|
}
|
229
|
-
function
|
200
|
+
function Yr(e) {
|
230
201
|
const t = [], r = [];
|
231
|
-
|
202
|
+
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
232
203
|
}
|
233
|
-
const
|
234
|
-
function
|
235
|
-
e && e.i && (
|
204
|
+
const qr = /* @__PURE__ */ new Set();
|
205
|
+
function Kr(e, t) {
|
206
|
+
e && e.i && (qr.delete(e), e.i(t));
|
236
207
|
}
|
237
|
-
function
|
238
|
-
return
|
208
|
+
function Se(e) {
|
209
|
+
return e?.length !== void 0 ? e : Array.from(e);
|
239
210
|
}
|
240
|
-
function
|
211
|
+
function en(e, t, r) {
|
241
212
|
const { fragment: n, after_update: i } = e.$$;
|
242
|
-
n && n.m(t, r),
|
243
|
-
const o = e.$$.on_mount.map(
|
244
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
245
|
-
}), i.forEach(
|
213
|
+
n && n.m(t, r), Ee(() => {
|
214
|
+
const o = e.$$.on_mount.map(Ft).filter(et);
|
215
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
216
|
+
}), i.forEach(Ee);
|
246
217
|
}
|
247
|
-
function
|
218
|
+
function tn(e, t) {
|
248
219
|
const r = e.$$;
|
249
|
-
r.fragment !== null && (
|
220
|
+
r.fragment !== null && (Yr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
250
221
|
}
|
251
|
-
function
|
252
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
222
|
+
function rn(e, t) {
|
223
|
+
e.$$.dirty[0] === -1 && (W.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
253
224
|
}
|
254
|
-
function
|
225
|
+
function nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
255
226
|
const l = ue;
|
256
|
-
|
257
|
-
const
|
227
|
+
ae(e);
|
228
|
+
const h = e.$$ = {
|
258
229
|
fragment: null,
|
259
230
|
ctx: [],
|
260
231
|
// state
|
261
232
|
props: o,
|
262
|
-
update:
|
233
|
+
update: I,
|
263
234
|
not_equal: i,
|
264
|
-
bound:
|
235
|
+
bound: ct(),
|
265
236
|
// lifecycle
|
266
237
|
on_mount: [],
|
267
238
|
on_destroy: [],
|
@@ -270,150 +241,146 @@ function En(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
270
241
|
after_update: [],
|
271
242
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
272
243
|
// everything else
|
273
|
-
callbacks:
|
244
|
+
callbacks: ct(),
|
274
245
|
dirty: a,
|
275
246
|
skip_bound: !1,
|
276
247
|
root: t.target || l.$$.root
|
277
248
|
};
|
278
|
-
s && s(
|
279
|
-
let
|
280
|
-
if (
|
281
|
-
const d =
|
282
|
-
return
|
283
|
-
})
|
249
|
+
s && s(h.root);
|
250
|
+
let u = !1;
|
251
|
+
if (h.ctx = r(e, t.props || {}, (c, f, ...m) => {
|
252
|
+
const d = m.length ? m[0] : f;
|
253
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), u && rn(e, c)), f;
|
254
|
+
}), h.update(), u = !0, ee(h.before_update), h.fragment = n(h.ctx), t.target) {
|
284
255
|
if (t.hydrate) {
|
285
|
-
const c =
|
286
|
-
|
256
|
+
const c = kr(t.target);
|
257
|
+
h.fragment && h.fragment.l(c), c.forEach(N);
|
287
258
|
} else
|
288
|
-
|
289
|
-
t.intro &&
|
259
|
+
h.fragment && h.fragment.c();
|
260
|
+
t.intro && Kr(e.$$.fragment), en(e, t.target, t.anchor), M();
|
290
261
|
}
|
291
|
-
|
292
|
-
}
|
293
|
-
let
|
294
|
-
typeof HTMLElement == "function" && (
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
262
|
+
ae(l);
|
263
|
+
}
|
264
|
+
let Xt;
|
265
|
+
typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
266
|
+
/** The Svelte component constructor */
|
267
|
+
$$ctor;
|
268
|
+
/** Slots */
|
269
|
+
$$s;
|
270
|
+
/** The Svelte component instance */
|
271
|
+
$$c;
|
272
|
+
/** Whether or not the custom element is connected */
|
273
|
+
$$cn = !1;
|
274
|
+
/** Component props data */
|
275
|
+
$$d = {};
|
276
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
277
|
+
$$r = !1;
|
278
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
279
|
+
$$p_d = {};
|
280
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
281
|
+
$$l = {};
|
282
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
283
|
+
$$l_u = /* @__PURE__ */ new Map();
|
284
|
+
constructor(e, t, r) {
|
285
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
316
286
|
}
|
317
|
-
addEventListener(t, r
|
318
|
-
if (this.$$l[
|
319
|
-
const
|
320
|
-
this.$$l_u.set(
|
287
|
+
addEventListener(e, t, r) {
|
288
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
289
|
+
const n = this.$$c.$on(e, t);
|
290
|
+
this.$$l_u.set(t, n);
|
321
291
|
}
|
322
|
-
super.addEventListener(t, r
|
292
|
+
super.addEventListener(e, t, r);
|
323
293
|
}
|
324
|
-
removeEventListener(t, r
|
325
|
-
if (super.removeEventListener(t, r
|
326
|
-
const
|
327
|
-
|
294
|
+
removeEventListener(e, t, r) {
|
295
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
296
|
+
const n = this.$$l_u.get(t);
|
297
|
+
n && (n(), this.$$l_u.delete(t));
|
328
298
|
}
|
329
299
|
}
|
330
|
-
connectedCallback() {
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
}
|
350
|
-
};
|
300
|
+
async connectedCallback() {
|
301
|
+
if (this.$$cn = !0, !this.$$c) {
|
302
|
+
let e = function(i) {
|
303
|
+
return () => {
|
304
|
+
let o;
|
305
|
+
return {
|
306
|
+
c: function() {
|
307
|
+
o = H("slot"), i !== "default" && E(o, "name", i);
|
308
|
+
},
|
309
|
+
/**
|
310
|
+
* @param {HTMLElement} target
|
311
|
+
* @param {HTMLElement} [anchor]
|
312
|
+
*/
|
313
|
+
m: function(l, h) {
|
314
|
+
R(l, o, h);
|
315
|
+
},
|
316
|
+
d: function(l) {
|
317
|
+
l && N(o);
|
318
|
+
}
|
351
319
|
};
|
352
320
|
};
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
321
|
+
};
|
322
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
323
|
+
return;
|
324
|
+
const t = {}, r = Xr(this);
|
325
|
+
for (const i of this.$$s)
|
326
|
+
i in r && (t[i] = [e(i)]);
|
327
|
+
for (const i of this.attributes) {
|
328
|
+
const o = this.$$g_p(i.name);
|
329
|
+
o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
|
330
|
+
}
|
331
|
+
for (const i in this.$$p_d)
|
332
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
333
|
+
this.$$c = new this.$$ctor({
|
334
|
+
target: this.shadowRoot || this,
|
335
|
+
props: {
|
336
|
+
...this.$$d,
|
337
|
+
$$slots: t,
|
338
|
+
$$scope: {
|
339
|
+
ctx: []
|
340
|
+
}
|
361
341
|
}
|
362
|
-
|
363
|
-
|
364
|
-
this.$$
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
this.$$r = !0;
|
375
|
-
for (const o in this.$$p_d)
|
376
|
-
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
377
|
-
const s = ge(
|
378
|
-
o,
|
379
|
-
this.$$d[o],
|
380
|
-
this.$$p_d,
|
381
|
-
"toAttribute"
|
382
|
-
);
|
383
|
-
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
384
|
-
}
|
385
|
-
this.$$r = !1;
|
386
|
-
};
|
387
|
-
this.$$c.$$.after_update.push(i), i();
|
388
|
-
for (const o in this.$$l)
|
389
|
-
for (const s of this.$$l[o]) {
|
390
|
-
const a = this.$$c.$on(o, s);
|
391
|
-
this.$$l_u.set(s, a);
|
342
|
+
});
|
343
|
+
const n = () => {
|
344
|
+
this.$$r = !0;
|
345
|
+
for (const i in this.$$p_d)
|
346
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
347
|
+
const o = be(
|
348
|
+
i,
|
349
|
+
this.$$d[i],
|
350
|
+
this.$$p_d,
|
351
|
+
"toAttribute"
|
352
|
+
);
|
353
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
392
354
|
}
|
393
|
-
this.$$
|
394
|
-
}
|
395
|
-
|
355
|
+
this.$$r = !1;
|
356
|
+
};
|
357
|
+
this.$$c.$$.after_update.push(n), n();
|
358
|
+
for (const i in this.$$l)
|
359
|
+
for (const o of this.$$l[i]) {
|
360
|
+
const s = this.$$c.$on(i, o);
|
361
|
+
this.$$l_u.set(o, s);
|
362
|
+
}
|
363
|
+
this.$$l = {};
|
364
|
+
}
|
396
365
|
}
|
397
366
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
398
367
|
// and setting attributes through setAttribute etc, this is helpful
|
399
|
-
attributeChangedCallback(t, r
|
400
|
-
|
401
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
368
|
+
attributeChangedCallback(e, t, r) {
|
369
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
402
370
|
}
|
403
371
|
disconnectedCallback() {
|
404
372
|
this.$$cn = !1, Promise.resolve().then(() => {
|
405
373
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
406
374
|
});
|
407
375
|
}
|
408
|
-
$$g_p(
|
376
|
+
$$g_p(e) {
|
409
377
|
return Object.keys(this.$$p_d).find(
|
410
|
-
(
|
411
|
-
) ||
|
378
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
379
|
+
) || e;
|
412
380
|
}
|
413
381
|
});
|
414
|
-
function
|
415
|
-
|
416
|
-
const i = (o = r[e]) == null ? void 0 : o.type;
|
382
|
+
function be(e, t, r, n) {
|
383
|
+
const i = r[e]?.type;
|
417
384
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
418
385
|
return t;
|
419
386
|
if (n === "toAttribute")
|
@@ -424,7 +391,7 @@ function ge(e, t, r, n) {
|
|
424
391
|
case "Boolean":
|
425
392
|
return t ? "" : null;
|
426
393
|
case "Number":
|
427
|
-
return t
|
394
|
+
return t ?? null;
|
428
395
|
default:
|
429
396
|
return t;
|
430
397
|
}
|
@@ -441,8 +408,8 @@ function ge(e, t, r, n) {
|
|
441
408
|
return t;
|
442
409
|
}
|
443
410
|
}
|
444
|
-
function
|
445
|
-
let s = class extends
|
411
|
+
function on(e, t, r, n, i, o) {
|
412
|
+
let s = class extends Xt {
|
446
413
|
constructor() {
|
447
414
|
super(e, r, i), this.$$p_d = t;
|
448
415
|
}
|
@@ -458,42 +425,38 @@ function xn(e, t, r, n, i, o) {
|
|
458
425
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
459
426
|
},
|
460
427
|
set(l) {
|
461
|
-
|
462
|
-
l = ge(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
428
|
+
l = be(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
463
429
|
}
|
464
430
|
});
|
465
431
|
}), n.forEach((a) => {
|
466
432
|
Object.defineProperty(s.prototype, a, {
|
467
433
|
get() {
|
468
|
-
|
469
|
-
return (l = this.$$c) == null ? void 0 : l[a];
|
434
|
+
return this.$$c?.[a];
|
470
435
|
}
|
471
436
|
});
|
472
437
|
}), e.element = /** @type {any} */
|
473
438
|
s, s;
|
474
439
|
}
|
475
|
-
class
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
M(this, "$$set");
|
493
|
-
}
|
440
|
+
class sn {
|
441
|
+
/**
|
442
|
+
* ### PRIVATE API
|
443
|
+
*
|
444
|
+
* Do not use, may change at any time
|
445
|
+
*
|
446
|
+
* @type {any}
|
447
|
+
*/
|
448
|
+
$$ = void 0;
|
449
|
+
/**
|
450
|
+
* ### PRIVATE API
|
451
|
+
*
|
452
|
+
* Do not use, may change at any time
|
453
|
+
*
|
454
|
+
* @type {any}
|
455
|
+
*/
|
456
|
+
$$set = void 0;
|
494
457
|
/** @returns {void} */
|
495
458
|
$destroy() {
|
496
|
-
|
459
|
+
tn(this, 1), this.$destroy = I;
|
497
460
|
}
|
498
461
|
/**
|
499
462
|
* @template {Extract<keyof Events, string>} K
|
@@ -502,8 +465,8 @@ class Sn {
|
|
502
465
|
* @returns {() => void}
|
503
466
|
*/
|
504
467
|
$on(t, r) {
|
505
|
-
if (!
|
506
|
-
return
|
468
|
+
if (!et(r))
|
469
|
+
return I;
|
507
470
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
508
471
|
return n.push(r), () => {
|
509
472
|
const i = n.indexOf(r);
|
@@ -515,174 +478,174 @@ class Sn {
|
|
515
478
|
* @returns {void}
|
516
479
|
*/
|
517
480
|
$set(t) {
|
518
|
-
this.$$set && !
|
481
|
+
this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
519
482
|
}
|
520
483
|
}
|
521
|
-
const
|
522
|
-
typeof window
|
523
|
-
const
|
524
|
-
function
|
484
|
+
const an = "4";
|
485
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
|
486
|
+
const X = [];
|
487
|
+
function un(e, t) {
|
525
488
|
return {
|
526
|
-
subscribe:
|
489
|
+
subscribe: Ce(e, t).subscribe
|
527
490
|
};
|
528
491
|
}
|
529
|
-
function
|
492
|
+
function Ce(e, t = I) {
|
530
493
|
let r;
|
531
494
|
const n = /* @__PURE__ */ new Set();
|
532
495
|
function i(a) {
|
533
|
-
if (
|
534
|
-
const l = !
|
535
|
-
for (const
|
536
|
-
|
496
|
+
if (kt(e, a) && (e = a, r)) {
|
497
|
+
const l = !X.length;
|
498
|
+
for (const h of n)
|
499
|
+
h[1](), X.push(h, e);
|
537
500
|
if (l) {
|
538
|
-
for (let
|
539
|
-
|
540
|
-
|
501
|
+
for (let h = 0; h < X.length; h += 2)
|
502
|
+
X[h][0](X[h + 1]);
|
503
|
+
X.length = 0;
|
541
504
|
}
|
542
505
|
}
|
543
506
|
}
|
544
507
|
function o(a) {
|
545
508
|
i(a(e));
|
546
509
|
}
|
547
|
-
function s(a, l =
|
548
|
-
const
|
549
|
-
return n.add(
|
550
|
-
n.delete(
|
510
|
+
function s(a, l = I) {
|
511
|
+
const h = [a, l];
|
512
|
+
return n.add(h), n.size === 1 && (r = t(i, o) || I), a(e), () => {
|
513
|
+
n.delete(h), n.size === 0 && r && (r(), r = null);
|
551
514
|
};
|
552
515
|
}
|
553
516
|
return { set: i, update: o, subscribe: s };
|
554
517
|
}
|
555
|
-
function
|
518
|
+
function te(e, t, r) {
|
556
519
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
557
520
|
if (!i.every(Boolean))
|
558
521
|
throw new Error("derived() expects stores as input, got a falsy value");
|
559
522
|
const o = t.length < 2;
|
560
|
-
return
|
523
|
+
return un(r, (s, a) => {
|
561
524
|
let l = !1;
|
562
|
-
const
|
563
|
-
let
|
525
|
+
const h = [];
|
526
|
+
let u = 0, c = I;
|
564
527
|
const f = () => {
|
565
|
-
if (
|
528
|
+
if (u)
|
566
529
|
return;
|
567
530
|
c();
|
568
|
-
const d = t(n ?
|
569
|
-
o ? s(d) : c =
|
570
|
-
},
|
571
|
-
(d, g) =>
|
531
|
+
const d = t(n ? h[0] : h, s, a);
|
532
|
+
o ? s(d) : c = et(d) ? d : I;
|
533
|
+
}, m = i.map(
|
534
|
+
(d, g) => jt(
|
572
535
|
d,
|
573
|
-
(
|
574
|
-
|
536
|
+
(p) => {
|
537
|
+
h[g] = p, u &= ~(1 << g), l && f();
|
575
538
|
},
|
576
539
|
() => {
|
577
|
-
|
540
|
+
u |= 1 << g;
|
578
541
|
}
|
579
542
|
)
|
580
543
|
);
|
581
544
|
return l = !0, f(), function() {
|
582
|
-
|
545
|
+
ee(m), c(), l = !1;
|
583
546
|
};
|
584
547
|
});
|
585
548
|
}
|
586
|
-
function
|
587
|
-
return e
|
549
|
+
function ln(e) {
|
550
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
588
551
|
}
|
589
|
-
var
|
590
|
-
return
|
552
|
+
var hn = function(t) {
|
553
|
+
return cn(t) && !fn(t);
|
591
554
|
};
|
592
|
-
function
|
555
|
+
function cn(e) {
|
593
556
|
return !!e && typeof e == "object";
|
594
557
|
}
|
595
|
-
function
|
558
|
+
function fn(e) {
|
596
559
|
var t = Object.prototype.toString.call(e);
|
597
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
560
|
+
return t === "[object RegExp]" || t === "[object Date]" || mn(e);
|
598
561
|
}
|
599
|
-
var
|
600
|
-
function
|
601
|
-
return e.$$typeof ===
|
562
|
+
var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
|
563
|
+
function mn(e) {
|
564
|
+
return e.$$typeof === pn;
|
602
565
|
}
|
603
|
-
function
|
566
|
+
function bn(e) {
|
604
567
|
return Array.isArray(e) ? [] : {};
|
605
568
|
}
|
606
|
-
function
|
607
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
569
|
+
function le(e, t) {
|
570
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(bn(e), e, t) : e;
|
608
571
|
}
|
609
|
-
function
|
572
|
+
function gn(e, t, r) {
|
610
573
|
return e.concat(t).map(function(n) {
|
611
|
-
return
|
574
|
+
return le(n, r);
|
612
575
|
});
|
613
576
|
}
|
614
|
-
function
|
577
|
+
function yn(e, t) {
|
615
578
|
if (!t.customMerge)
|
616
|
-
return
|
579
|
+
return J;
|
617
580
|
var r = t.customMerge(e);
|
618
|
-
return typeof r == "function" ? r :
|
581
|
+
return typeof r == "function" ? r : J;
|
619
582
|
}
|
620
|
-
function
|
583
|
+
function vn(e) {
|
621
584
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
622
585
|
return Object.propertyIsEnumerable.call(e, t);
|
623
586
|
}) : [];
|
624
587
|
}
|
625
|
-
function
|
626
|
-
return Object.keys(e).concat(
|
588
|
+
function dt(e) {
|
589
|
+
return Object.keys(e).concat(vn(e));
|
627
590
|
}
|
628
|
-
function
|
591
|
+
function Wt(e, t) {
|
629
592
|
try {
|
630
593
|
return t in e;
|
631
|
-
} catch
|
594
|
+
} catch {
|
632
595
|
return !1;
|
633
596
|
}
|
634
597
|
}
|
635
|
-
function
|
636
|
-
return
|
598
|
+
function _n(e, t) {
|
599
|
+
return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
637
600
|
}
|
638
|
-
function
|
601
|
+
function xn(e, t, r) {
|
639
602
|
var n = {};
|
640
|
-
return r.isMergeableObject(e) &&
|
641
|
-
n[i] =
|
642
|
-
}),
|
643
|
-
|
603
|
+
return r.isMergeableObject(e) && dt(e).forEach(function(i) {
|
604
|
+
n[i] = le(e[i], r);
|
605
|
+
}), dt(t).forEach(function(i) {
|
606
|
+
_n(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
644
607
|
}), n;
|
645
608
|
}
|
646
|
-
function
|
647
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
609
|
+
function J(e, t, r) {
|
610
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = le;
|
648
611
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
649
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
612
|
+
return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : le(t, r);
|
650
613
|
}
|
651
|
-
|
614
|
+
J.all = function(t, r) {
|
652
615
|
if (!Array.isArray(t))
|
653
616
|
throw new Error("first argument should be an array");
|
654
617
|
return t.reduce(function(n, i) {
|
655
|
-
return
|
618
|
+
return J(n, i, r);
|
656
619
|
}, {});
|
657
620
|
};
|
658
|
-
var
|
659
|
-
const
|
660
|
-
var
|
661
|
-
return
|
621
|
+
var En = J, Sn = En;
|
622
|
+
const wn = /* @__PURE__ */ ln(Sn);
|
623
|
+
var Fe = function(e, t) {
|
624
|
+
return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
662
625
|
r.__proto__ = n;
|
663
626
|
} || function(r, n) {
|
664
627
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
665
|
-
},
|
628
|
+
}, Fe(e, t);
|
666
629
|
};
|
667
|
-
function
|
630
|
+
function U(e, t) {
|
668
631
|
if (typeof t != "function" && t !== null)
|
669
632
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
670
|
-
|
633
|
+
Fe(e, t);
|
671
634
|
function r() {
|
672
635
|
this.constructor = e;
|
673
636
|
}
|
674
637
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
675
638
|
}
|
676
|
-
var
|
677
|
-
return
|
639
|
+
var x = function() {
|
640
|
+
return x = Object.assign || function(t) {
|
678
641
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
679
642
|
r = arguments[n];
|
680
643
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
681
644
|
}
|
682
645
|
return t;
|
683
|
-
},
|
646
|
+
}, x.apply(this, arguments);
|
684
647
|
};
|
685
|
-
function
|
648
|
+
function Tn(e, t) {
|
686
649
|
var r = {};
|
687
650
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
688
651
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -690,7 +653,7 @@ function jn(e, t) {
|
|
690
653
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
691
654
|
return r;
|
692
655
|
}
|
693
|
-
function
|
656
|
+
function ke(e) {
|
694
657
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
695
658
|
if (r) return r.call(e);
|
696
659
|
if (e && typeof e.length == "number") return {
|
@@ -700,7 +663,7 @@ function Xe(e) {
|
|
700
663
|
};
|
701
664
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
702
665
|
}
|
703
|
-
function
|
666
|
+
function je(e, t) {
|
704
667
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
705
668
|
if (!r) return e;
|
706
669
|
var n = r.call(e), i, o = [], s;
|
@@ -717,110 +680,112 @@ function ze(e, t) {
|
|
717
680
|
}
|
718
681
|
return o;
|
719
682
|
}
|
720
|
-
function
|
683
|
+
function Z(e, t, r) {
|
721
684
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
722
685
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
723
686
|
return e.concat(o || Array.prototype.slice.call(t));
|
724
687
|
}
|
725
|
-
function
|
726
|
-
var r = t && t.cache ? t.cache :
|
688
|
+
function Ne(e, t) {
|
689
|
+
var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Cn;
|
727
690
|
return i(e, {
|
728
691
|
cache: r,
|
729
692
|
serializer: n
|
730
693
|
});
|
731
694
|
}
|
732
|
-
function
|
695
|
+
function Hn(e) {
|
733
696
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
734
697
|
}
|
735
|
-
function
|
736
|
-
var i =
|
737
|
-
return typeof o
|
698
|
+
function zt(e, t, r, n) {
|
699
|
+
var i = Hn(n) ? n : r(n), o = t.get(i);
|
700
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
738
701
|
}
|
739
|
-
function
|
702
|
+
function Zt(e, t, r) {
|
740
703
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
741
|
-
return typeof o
|
704
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
742
705
|
}
|
743
|
-
function
|
706
|
+
function rt(e, t, r, n, i) {
|
744
707
|
return r.bind(t, e, n, i);
|
745
708
|
}
|
746
|
-
function
|
747
|
-
var r = e.length === 1 ?
|
748
|
-
return
|
709
|
+
function Cn(e, t) {
|
710
|
+
var r = e.length === 1 ? zt : Zt;
|
711
|
+
return rt(e, this, r, t.cache.create(), t.serializer);
|
749
712
|
}
|
750
|
-
function
|
751
|
-
return
|
713
|
+
function Pn(e, t) {
|
714
|
+
return rt(e, this, Zt, t.cache.create(), t.serializer);
|
752
715
|
}
|
753
|
-
function
|
754
|
-
return
|
716
|
+
function Bn(e, t) {
|
717
|
+
return rt(e, this, zt, t.cache.create(), t.serializer);
|
755
718
|
}
|
756
|
-
var
|
719
|
+
var An = function() {
|
757
720
|
return JSON.stringify(arguments);
|
758
|
-
}
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
721
|
+
}, On = (
|
722
|
+
/** @class */
|
723
|
+
function() {
|
724
|
+
function e() {
|
725
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
726
|
+
}
|
727
|
+
return e.prototype.get = function(t) {
|
728
|
+
return this.cache[t];
|
729
|
+
}, e.prototype.set = function(t, r) {
|
730
|
+
this.cache[t] = r;
|
731
|
+
}, e;
|
732
|
+
}()
|
733
|
+
), In = {
|
769
734
|
create: function() {
|
770
|
-
return new
|
735
|
+
return new On();
|
771
736
|
}
|
772
|
-
},
|
773
|
-
variadic:
|
774
|
-
monadic:
|
775
|
-
},
|
737
|
+
}, Me = {
|
738
|
+
variadic: Pn,
|
739
|
+
monadic: Bn
|
740
|
+
}, y;
|
776
741
|
(function(e) {
|
777
742
|
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";
|
778
|
-
})(
|
743
|
+
})(y || (y = {}));
|
779
744
|
var w;
|
780
745
|
(function(e) {
|
781
746
|
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";
|
782
747
|
})(w || (w = {}));
|
783
|
-
var
|
748
|
+
var Y;
|
784
749
|
(function(e) {
|
785
750
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
786
|
-
})(
|
787
|
-
function
|
751
|
+
})(Y || (Y = {}));
|
752
|
+
function pt(e) {
|
788
753
|
return e.type === w.literal;
|
789
754
|
}
|
790
|
-
function
|
755
|
+
function Ln(e) {
|
791
756
|
return e.type === w.argument;
|
792
757
|
}
|
793
|
-
function
|
758
|
+
function Qt(e) {
|
794
759
|
return e.type === w.number;
|
795
760
|
}
|
796
|
-
function
|
761
|
+
function Jt(e) {
|
797
762
|
return e.type === w.date;
|
798
763
|
}
|
799
|
-
function
|
764
|
+
function Yt(e) {
|
800
765
|
return e.type === w.time;
|
801
766
|
}
|
802
|
-
function
|
767
|
+
function qt(e) {
|
803
768
|
return e.type === w.select;
|
804
769
|
}
|
805
|
-
function
|
770
|
+
function Kt(e) {
|
806
771
|
return e.type === w.plural;
|
807
772
|
}
|
808
|
-
function
|
773
|
+
function Nn(e) {
|
809
774
|
return e.type === w.pound;
|
810
775
|
}
|
811
|
-
function
|
776
|
+
function er(e) {
|
812
777
|
return e.type === w.tag;
|
813
778
|
}
|
814
|
-
function
|
815
|
-
return !!(e && typeof e == "object" && e.type ===
|
779
|
+
function tr(e) {
|
780
|
+
return !!(e && typeof e == "object" && e.type === Y.number);
|
816
781
|
}
|
817
|
-
function
|
818
|
-
return !!(e && typeof e == "object" && e.type ===
|
782
|
+
function Ve(e) {
|
783
|
+
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
819
784
|
}
|
820
|
-
var
|
821
|
-
function
|
785
|
+
var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
|
786
|
+
function Rn(e) {
|
822
787
|
var t = {};
|
823
|
-
return e.replace(
|
788
|
+
return e.replace(Mn, function(r) {
|
824
789
|
var n = r.length;
|
825
790
|
switch (r[0]) {
|
826
791
|
case "G":
|
@@ -909,18 +874,18 @@ function qn(e) {
|
|
909
874
|
return "";
|
910
875
|
}), t;
|
911
876
|
}
|
912
|
-
var
|
913
|
-
function
|
877
|
+
var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
878
|
+
function Gn(e) {
|
914
879
|
if (e.length === 0)
|
915
880
|
throw new Error("Number skeleton cannot be empty");
|
916
|
-
for (var t = e.split(
|
881
|
+
for (var t = e.split($n).filter(function(f) {
|
917
882
|
return f.length > 0;
|
918
883
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
919
884
|
var o = i[n], s = o.split("/");
|
920
885
|
if (s.length === 0)
|
921
886
|
throw new Error("Invalid number skeleton");
|
922
|
-
for (var a = s[0], l = s.slice(1),
|
923
|
-
var c = h
|
887
|
+
for (var a = s[0], l = s.slice(1), h = 0, u = l; h < u.length; h++) {
|
888
|
+
var c = u[h];
|
924
889
|
if (c.length === 0)
|
925
890
|
throw new Error("Invalid number skeleton");
|
926
891
|
}
|
@@ -928,17 +893,17 @@ function ei(e) {
|
|
928
893
|
}
|
929
894
|
return r;
|
930
895
|
}
|
931
|
-
function
|
896
|
+
function Un(e) {
|
932
897
|
return e.replace(/^(.*?)-/, "");
|
933
898
|
}
|
934
|
-
var
|
935
|
-
function
|
899
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
|
900
|
+
function bt(e) {
|
936
901
|
var t = {};
|
937
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
902
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
|
938
903
|
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)), "";
|
939
904
|
}), t;
|
940
905
|
}
|
941
|
-
function
|
906
|
+
function or(e) {
|
942
907
|
switch (e) {
|
943
908
|
case "sign-auto":
|
944
909
|
return {
|
@@ -978,7 +943,7 @@ function br(e) {
|
|
978
943
|
};
|
979
944
|
}
|
980
945
|
}
|
981
|
-
function
|
946
|
+
function Fn(e) {
|
982
947
|
var t;
|
983
948
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
984
949
|
notation: "engineering"
|
@@ -986,17 +951,17 @@ function ni(e) {
|
|
986
951
|
notation: "scientific"
|
987
952
|
}, e = e.slice(1)), t) {
|
988
953
|
var r = e.slice(0, 2);
|
989
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
954
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
|
990
955
|
throw new Error("Malformed concise eng/scientific notation");
|
991
956
|
t.minimumIntegerDigits = e.length;
|
992
957
|
}
|
993
958
|
return t;
|
994
959
|
}
|
995
|
-
function
|
996
|
-
var t = {}, r =
|
960
|
+
function gt(e) {
|
961
|
+
var t = {}, r = or(e);
|
997
962
|
return r || t;
|
998
963
|
}
|
999
|
-
function
|
964
|
+
function kn(e) {
|
1000
965
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1001
966
|
var i = n[r];
|
1002
967
|
switch (i.stem) {
|
@@ -1020,7 +985,7 @@ function ii(e) {
|
|
1020
985
|
continue;
|
1021
986
|
case "measure-unit":
|
1022
987
|
case "unit":
|
1023
|
-
t.style = "unit", t.unit =
|
988
|
+
t.style = "unit", t.unit = Un(i.options[0]);
|
1024
989
|
continue;
|
1025
990
|
case "compact-short":
|
1026
991
|
case "K":
|
@@ -1031,13 +996,13 @@ function ii(e) {
|
|
1031
996
|
t.notation = "compact", t.compactDisplay = "long";
|
1032
997
|
continue;
|
1033
998
|
case "scientific":
|
1034
|
-
t =
|
1035
|
-
return
|
999
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
|
1000
|
+
return x(x({}, l), gt(h));
|
1036
1001
|
}, {}));
|
1037
1002
|
continue;
|
1038
1003
|
case "engineering":
|
1039
|
-
t =
|
1040
|
-
return
|
1004
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
|
1005
|
+
return x(x({}, l), gt(h));
|
1041
1006
|
}, {}));
|
1042
1007
|
continue;
|
1043
1008
|
case "notation-simple":
|
@@ -1082,45 +1047,45 @@ function ii(e) {
|
|
1082
1047
|
case "integer-width":
|
1083
1048
|
if (i.options.length > 1)
|
1084
1049
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1085
|
-
i.options[0].replace(
|
1086
|
-
if (
|
1087
|
-
t.minimumIntegerDigits =
|
1050
|
+
i.options[0].replace(Dn, function(l, h, u, c, f, m) {
|
1051
|
+
if (h)
|
1052
|
+
t.minimumIntegerDigits = u.length;
|
1088
1053
|
else {
|
1089
1054
|
if (c && f)
|
1090
1055
|
throw new Error("We currently do not support maximum integer digits");
|
1091
|
-
if (
|
1056
|
+
if (m)
|
1092
1057
|
throw new Error("We currently do not support exact integer digits");
|
1093
1058
|
}
|
1094
1059
|
return "";
|
1095
1060
|
});
|
1096
1061
|
continue;
|
1097
1062
|
}
|
1098
|
-
if (
|
1063
|
+
if (ir.test(i.stem)) {
|
1099
1064
|
t.minimumIntegerDigits = i.stem.length;
|
1100
1065
|
continue;
|
1101
1066
|
}
|
1102
|
-
if (
|
1067
|
+
if (mt.test(i.stem)) {
|
1103
1068
|
if (i.options.length > 1)
|
1104
1069
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1105
|
-
i.stem.replace(
|
1106
|
-
return
|
1070
|
+
i.stem.replace(mt, function(l, h, u, c, f, m) {
|
1071
|
+
return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
1107
1072
|
});
|
1108
1073
|
var o = i.options[0];
|
1109
|
-
o === "w" ? t =
|
1074
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), bt(o)));
|
1110
1075
|
continue;
|
1111
1076
|
}
|
1112
|
-
if (
|
1113
|
-
t =
|
1077
|
+
if (nr.test(i.stem)) {
|
1078
|
+
t = x(x({}, t), bt(i.stem));
|
1114
1079
|
continue;
|
1115
1080
|
}
|
1116
|
-
var s =
|
1117
|
-
s && (t =
|
1118
|
-
var a =
|
1119
|
-
a && (t =
|
1081
|
+
var s = or(i.stem);
|
1082
|
+
s && (t = x(x({}, t), s));
|
1083
|
+
var a = Fn(i.stem);
|
1084
|
+
a && (t = x(x({}, t), a));
|
1120
1085
|
}
|
1121
1086
|
return t;
|
1122
1087
|
}
|
1123
|
-
var
|
1088
|
+
var pe = {
|
1124
1089
|
"001": [
|
1125
1090
|
"H",
|
1126
1091
|
"h"
|
@@ -2535,22 +2500,22 @@ var me = {
|
|
2535
2500
|
"h"
|
2536
2501
|
]
|
2537
2502
|
};
|
2538
|
-
function
|
2503
|
+
function jn(e, t) {
|
2539
2504
|
for (var r = "", n = 0; n < e.length; n++) {
|
2540
2505
|
var i = e.charAt(n);
|
2541
2506
|
if (i === "j") {
|
2542
2507
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2543
2508
|
o++, n++;
|
2544
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a",
|
2545
|
-
for ((
|
2509
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Vn(t);
|
2510
|
+
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
2546
2511
|
r += l;
|
2547
2512
|
for (; s-- > 0; )
|
2548
|
-
r =
|
2513
|
+
r = h + r;
|
2549
2514
|
} else i === "J" ? r += "H" : r += i;
|
2550
2515
|
}
|
2551
2516
|
return r;
|
2552
2517
|
}
|
2553
|
-
function
|
2518
|
+
function Vn(e) {
|
2554
2519
|
var t = e.hourCycle;
|
2555
2520
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2556
2521
|
e.hourCycles && // @ts-ignore
|
@@ -2569,23 +2534,23 @@ function si(e) {
|
|
2569
2534
|
}
|
2570
2535
|
var r = e.language, n;
|
2571
2536
|
r !== "root" && (n = e.maximize().region);
|
2572
|
-
var i =
|
2537
|
+
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
2573
2538
|
return i[0];
|
2574
2539
|
}
|
2575
|
-
var
|
2576
|
-
function
|
2540
|
+
var Re, Xn = new RegExp("^".concat(rr.source, "*")), Wn = new RegExp("".concat(rr.source, "*$"));
|
2541
|
+
function v(e, t) {
|
2577
2542
|
return { start: e, end: t };
|
2578
2543
|
}
|
2579
|
-
var
|
2544
|
+
var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
|
2580
2545
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2581
|
-
},
|
2546
|
+
}, Xe = !0;
|
2582
2547
|
try {
|
2583
|
-
var
|
2584
|
-
|
2585
|
-
} catch
|
2586
|
-
|
2548
|
+
var ti = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2549
|
+
Xe = ((Re = ti.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
2550
|
+
} catch {
|
2551
|
+
Xe = !1;
|
2587
2552
|
}
|
2588
|
-
var
|
2553
|
+
var yt = zn ? (
|
2589
2554
|
// Native
|
2590
2555
|
function(t, r, n) {
|
2591
2556
|
return t.startsWith(r, n);
|
@@ -2595,7 +2560,7 @@ var Bt = ui ? (
|
|
2595
2560
|
function(t, r, n) {
|
2596
2561
|
return t.slice(n, n + r.length) === r;
|
2597
2562
|
}
|
2598
|
-
),
|
2563
|
+
), We = Zn ? String.fromCodePoint : (
|
2599
2564
|
// IE11
|
2600
2565
|
function() {
|
2601
2566
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2607,9 +2572,9 @@ var Bt = ui ? (
|
|
2607
2572
|
}
|
2608
2573
|
return n;
|
2609
2574
|
}
|
2610
|
-
),
|
2575
|
+
), vt = (
|
2611
2576
|
// native
|
2612
|
-
|
2577
|
+
Qn ? Object.fromEntries : (
|
2613
2578
|
// Ponyfill
|
2614
2579
|
function(t) {
|
2615
2580
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2619,7 +2584,7 @@ var Bt = ui ? (
|
|
2619
2584
|
return r;
|
2620
2585
|
}
|
2621
2586
|
)
|
2622
|
-
),
|
2587
|
+
), sr = Jn ? (
|
2623
2588
|
// Native
|
2624
2589
|
function(t, r) {
|
2625
2590
|
return t.codePointAt(r);
|
@@ -2633,7 +2598,7 @@ var Bt = ui ? (
|
|
2633
2598
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2634
2599
|
}
|
2635
2600
|
}
|
2636
|
-
),
|
2601
|
+
), ri = Yn ? (
|
2637
2602
|
// Native
|
2638
2603
|
function(t) {
|
2639
2604
|
return t.trimStart();
|
@@ -2641,9 +2606,9 @@ var Bt = ui ? (
|
|
2641
2606
|
) : (
|
2642
2607
|
// Ponyfill
|
2643
2608
|
function(t) {
|
2644
|
-
return t.replace(
|
2609
|
+
return t.replace(Xn, "");
|
2645
2610
|
}
|
2646
|
-
),
|
2611
|
+
), ni = qn ? (
|
2647
2612
|
// Native
|
2648
2613
|
function(t) {
|
2649
2614
|
return t.trimEnd();
|
@@ -2651,32 +2616,32 @@ var Bt = ui ? (
|
|
2651
2616
|
) : (
|
2652
2617
|
// Ponyfill
|
2653
2618
|
function(t) {
|
2654
|
-
return t.replace(
|
2619
|
+
return t.replace(Wn, "");
|
2655
2620
|
}
|
2656
2621
|
);
|
2657
|
-
function
|
2622
|
+
function ar(e, t) {
|
2658
2623
|
return new RegExp(e, t);
|
2659
2624
|
}
|
2660
|
-
var
|
2661
|
-
if (
|
2662
|
-
var
|
2663
|
-
|
2625
|
+
var ze;
|
2626
|
+
if (Xe) {
|
2627
|
+
var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2628
|
+
ze = function(t, r) {
|
2664
2629
|
var n;
|
2665
|
-
|
2666
|
-
var i =
|
2630
|
+
_t.lastIndex = r;
|
2631
|
+
var i = _t.exec(t);
|
2667
2632
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2668
2633
|
};
|
2669
2634
|
} else
|
2670
|
-
|
2635
|
+
ze = function(t, r) {
|
2671
2636
|
for (var n = []; ; ) {
|
2672
|
-
var i =
|
2673
|
-
if (i === void 0 ||
|
2637
|
+
var i = sr(t, r);
|
2638
|
+
if (i === void 0 || ur(i) || ai(i))
|
2674
2639
|
break;
|
2675
2640
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2676
2641
|
}
|
2677
|
-
return
|
2642
|
+
return We.apply(void 0, n);
|
2678
2643
|
};
|
2679
|
-
var
|
2644
|
+
var ii = (
|
2680
2645
|
/** @class */
|
2681
2646
|
function() {
|
2682
2647
|
function e(t, r) {
|
@@ -2701,13 +2666,13 @@ var _i = (
|
|
2701
2666
|
var a = this.clonePosition();
|
2702
2667
|
this.bump(), i.push({
|
2703
2668
|
type: w.pound,
|
2704
|
-
location:
|
2669
|
+
location: v(a, this.clonePosition())
|
2705
2670
|
});
|
2706
2671
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2707
2672
|
if (n)
|
2708
2673
|
break;
|
2709
|
-
return this.error(
|
2710
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2674
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2675
|
+
} else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
|
2711
2676
|
var s = this.parseTag(t, r);
|
2712
2677
|
if (s.err)
|
2713
2678
|
return s;
|
@@ -2730,7 +2695,7 @@ var _i = (
|
|
2730
2695
|
val: {
|
2731
2696
|
type: w.literal,
|
2732
2697
|
value: "<".concat(i, "/>"),
|
2733
|
-
location:
|
2698
|
+
location: v(n, this.clonePosition())
|
2734
2699
|
},
|
2735
2700
|
err: null
|
2736
2701
|
};
|
@@ -2740,25 +2705,25 @@ var _i = (
|
|
2740
2705
|
return o;
|
2741
2706
|
var s = o.val, a = this.clonePosition();
|
2742
2707
|
if (this.bumpIf("</")) {
|
2743
|
-
if (this.isEOF() || !
|
2744
|
-
return this.error(
|
2745
|
-
var l = this.clonePosition(),
|
2746
|
-
return i !==
|
2708
|
+
if (this.isEOF() || !Ze(this.char()))
|
2709
|
+
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2710
|
+
var l = this.clonePosition(), h = this.parseTagName();
|
2711
|
+
return i !== h ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2747
2712
|
val: {
|
2748
2713
|
type: w.tag,
|
2749
2714
|
value: i,
|
2750
2715
|
children: s,
|
2751
|
-
location:
|
2716
|
+
location: v(n, this.clonePosition())
|
2752
2717
|
},
|
2753
2718
|
err: null
|
2754
|
-
} : this.error(
|
2719
|
+
} : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
|
2755
2720
|
} else
|
2756
|
-
return this.error(
|
2721
|
+
return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
|
2757
2722
|
} else
|
2758
|
-
return this.error(
|
2723
|
+
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2759
2724
|
}, e.prototype.parseTagName = function() {
|
2760
2725
|
var t = this.offset();
|
2761
|
-
for (this.bump(); !this.isEOF() &&
|
2726
|
+
for (this.bump(); !this.isEOF() && si(this.char()); )
|
2762
2727
|
this.bump();
|
2763
2728
|
return this.message.slice(t, this.offset());
|
2764
2729
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2780,14 +2745,14 @@ var _i = (
|
|
2780
2745
|
}
|
2781
2746
|
break;
|
2782
2747
|
}
|
2783
|
-
var l =
|
2748
|
+
var l = v(n, this.clonePosition());
|
2784
2749
|
return {
|
2785
2750
|
val: { type: w.literal, value: i, location: l },
|
2786
2751
|
err: null
|
2787
2752
|
};
|
2788
2753
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2789
2754
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2790
|
-
!
|
2755
|
+
!oi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2791
2756
|
}, e.prototype.tryParseQuote = function(t) {
|
2792
2757
|
if (this.isEOF() || this.char() !== 39)
|
2793
2758
|
return null;
|
@@ -2821,23 +2786,23 @@ var _i = (
|
|
2821
2786
|
r.push(n);
|
2822
2787
|
this.bump();
|
2823
2788
|
}
|
2824
|
-
return
|
2789
|
+
return We.apply(void 0, r);
|
2825
2790
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2826
2791
|
if (this.isEOF())
|
2827
2792
|
return null;
|
2828
2793
|
var n = this.char();
|
2829
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2794
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
|
2830
2795
|
}, e.prototype.parseArgument = function(t, r) {
|
2831
2796
|
var n = this.clonePosition();
|
2832
2797
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
2833
|
-
return this.error(
|
2798
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
2834
2799
|
if (this.char() === 125)
|
2835
|
-
return this.bump(), this.error(
|
2800
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
2836
2801
|
var i = this.parseIdentifierIfPossible().value;
|
2837
2802
|
if (!i)
|
2838
|
-
return this.error(
|
2803
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2839
2804
|
if (this.bumpSpace(), this.isEOF())
|
2840
|
-
return this.error(
|
2805
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
2841
2806
|
switch (this.char()) {
|
2842
2807
|
case 125:
|
2843
2808
|
return this.bump(), {
|
@@ -2845,66 +2810,66 @@ var _i = (
|
|
2845
2810
|
type: w.argument,
|
2846
2811
|
// value does not include the opening and closing braces.
|
2847
2812
|
value: i,
|
2848
|
-
location:
|
2813
|
+
location: v(n, this.clonePosition())
|
2849
2814
|
},
|
2850
2815
|
err: null
|
2851
2816
|
};
|
2852
2817
|
case 44:
|
2853
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
2818
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
2854
2819
|
default:
|
2855
|
-
return this.error(
|
2820
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2856
2821
|
}
|
2857
2822
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2858
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2823
|
+
var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
|
2859
2824
|
this.bumpTo(i);
|
2860
|
-
var o = this.clonePosition(), s =
|
2825
|
+
var o = this.clonePosition(), s = v(t, o);
|
2861
2826
|
return { value: n, location: s };
|
2862
2827
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2863
2828
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
2864
2829
|
switch (a) {
|
2865
2830
|
case "":
|
2866
|
-
return this.error(
|
2831
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
|
2867
2832
|
case "number":
|
2868
2833
|
case "date":
|
2869
2834
|
case "time": {
|
2870
2835
|
this.bumpSpace();
|
2871
|
-
var
|
2836
|
+
var h = null;
|
2872
2837
|
if (this.bumpIf(",")) {
|
2873
2838
|
this.bumpSpace();
|
2874
|
-
var
|
2839
|
+
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2875
2840
|
if (c.err)
|
2876
2841
|
return c;
|
2877
|
-
var f =
|
2842
|
+
var f = ni(c.val);
|
2878
2843
|
if (f.length === 0)
|
2879
|
-
return this.error(
|
2880
|
-
var
|
2881
|
-
|
2844
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2845
|
+
var m = v(u, this.clonePosition());
|
2846
|
+
h = { style: f, styleLocation: m };
|
2882
2847
|
}
|
2883
2848
|
var d = this.tryParseArgumentClose(i);
|
2884
2849
|
if (d.err)
|
2885
2850
|
return d;
|
2886
|
-
var g =
|
2887
|
-
if (
|
2888
|
-
var
|
2851
|
+
var g = v(i, this.clonePosition());
|
2852
|
+
if (h && yt(h?.style, "::", 0)) {
|
2853
|
+
var p = ri(h.style.slice(2));
|
2889
2854
|
if (a === "number") {
|
2890
|
-
var c = this.parseNumberSkeletonFromString(
|
2855
|
+
var c = this.parseNumberSkeletonFromString(p, h.styleLocation);
|
2891
2856
|
return c.err ? c : {
|
2892
2857
|
val: { type: w.number, value: n, location: g, style: c.val },
|
2893
2858
|
err: null
|
2894
2859
|
};
|
2895
2860
|
} else {
|
2896
|
-
if (
|
2897
|
-
return this.error(
|
2898
|
-
var
|
2899
|
-
this.locale && (
|
2861
|
+
if (p.length === 0)
|
2862
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
2863
|
+
var S = p;
|
2864
|
+
this.locale && (S = jn(p, this.locale));
|
2900
2865
|
var f = {
|
2901
|
-
type:
|
2902
|
-
pattern:
|
2903
|
-
location:
|
2904
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2905
|
-
},
|
2866
|
+
type: Y.dateTime,
|
2867
|
+
pattern: S,
|
2868
|
+
location: h.styleLocation,
|
2869
|
+
parsedOptions: this.shouldParseSkeletons ? Rn(S) : {}
|
2870
|
+
}, _ = a === "date" ? w.date : w.time;
|
2906
2871
|
return {
|
2907
|
-
val: { type:
|
2872
|
+
val: { type: _, value: n, location: g, style: f },
|
2908
2873
|
err: null
|
2909
2874
|
};
|
2910
2875
|
}
|
@@ -2914,7 +2879,7 @@ var _i = (
|
|
2914
2879
|
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
2915
2880
|
value: n,
|
2916
2881
|
location: g,
|
2917
|
-
style: (o =
|
2882
|
+
style: (o = h?.style) !== null && o !== void 0 ? o : null
|
2918
2883
|
},
|
2919
2884
|
err: null
|
2920
2885
|
};
|
@@ -2922,52 +2887,52 @@ var _i = (
|
|
2922
2887
|
case "plural":
|
2923
2888
|
case "selectordinal":
|
2924
2889
|
case "select": {
|
2925
|
-
var
|
2890
|
+
var P = this.clonePosition();
|
2926
2891
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2927
|
-
return this.error(
|
2892
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(P, x({}, P)));
|
2928
2893
|
this.bumpSpace();
|
2929
|
-
var
|
2930
|
-
if (a !== "select" &&
|
2894
|
+
var $ = this.parseIdentifierIfPossible(), B = 0;
|
2895
|
+
if (a !== "select" && $.value === "offset") {
|
2931
2896
|
if (!this.bumpIf(":"))
|
2932
|
-
return this.error(
|
2897
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2933
2898
|
this.bumpSpace();
|
2934
|
-
var c = this.tryParseDecimalInteger(
|
2899
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2935
2900
|
if (c.err)
|
2936
2901
|
return c;
|
2937
|
-
this.bumpSpace(),
|
2902
|
+
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), B = c.val;
|
2938
2903
|
}
|
2939
|
-
var
|
2940
|
-
if (
|
2941
|
-
return
|
2904
|
+
var j = this.tryParsePluralOrSelectOptions(t, a, r, $);
|
2905
|
+
if (j.err)
|
2906
|
+
return j;
|
2942
2907
|
var d = this.tryParseArgumentClose(i);
|
2943
2908
|
if (d.err)
|
2944
2909
|
return d;
|
2945
|
-
var
|
2910
|
+
var ie = v(i, this.clonePosition());
|
2946
2911
|
return a === "select" ? {
|
2947
2912
|
val: {
|
2948
2913
|
type: w.select,
|
2949
2914
|
value: n,
|
2950
|
-
options:
|
2951
|
-
location:
|
2915
|
+
options: vt(j.val),
|
2916
|
+
location: ie
|
2952
2917
|
},
|
2953
2918
|
err: null
|
2954
2919
|
} : {
|
2955
2920
|
val: {
|
2956
2921
|
type: w.plural,
|
2957
2922
|
value: n,
|
2958
|
-
options:
|
2959
|
-
offset:
|
2923
|
+
options: vt(j.val),
|
2924
|
+
offset: B,
|
2960
2925
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2961
|
-
location:
|
2926
|
+
location: ie
|
2962
2927
|
},
|
2963
2928
|
err: null
|
2964
2929
|
};
|
2965
2930
|
}
|
2966
2931
|
default:
|
2967
|
-
return this.error(
|
2932
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
|
2968
2933
|
}
|
2969
2934
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2970
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
2935
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
2971
2936
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
2972
2937
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
2973
2938
|
var n = this.char();
|
@@ -2976,7 +2941,7 @@ var _i = (
|
|
2976
2941
|
this.bump();
|
2977
2942
|
var i = this.clonePosition();
|
2978
2943
|
if (!this.bumpUntil("'"))
|
2979
|
-
return this.error(
|
2944
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
2980
2945
|
this.bump();
|
2981
2946
|
break;
|
2982
2947
|
}
|
@@ -3006,52 +2971,52 @@ var _i = (
|
|
3006
2971
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3007
2972
|
var n = [];
|
3008
2973
|
try {
|
3009
|
-
n =
|
3010
|
-
} catch
|
3011
|
-
return this.error(
|
2974
|
+
n = Gn(t);
|
2975
|
+
} catch {
|
2976
|
+
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3012
2977
|
}
|
3013
2978
|
return {
|
3014
2979
|
val: {
|
3015
|
-
type:
|
2980
|
+
type: Y.number,
|
3016
2981
|
tokens: n,
|
3017
2982
|
location: r,
|
3018
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2983
|
+
parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
|
3019
2984
|
},
|
3020
2985
|
err: null
|
3021
2986
|
};
|
3022
2987
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3023
|
-
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(),
|
3024
|
-
if (
|
2988
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
|
2989
|
+
if (h.length === 0) {
|
3025
2990
|
var c = this.clonePosition();
|
3026
2991
|
if (r !== "select" && this.bumpIf("=")) {
|
3027
|
-
var f = this.tryParseDecimalInteger(
|
2992
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3028
2993
|
if (f.err)
|
3029
2994
|
return f;
|
3030
|
-
|
2995
|
+
u = v(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
|
3031
2996
|
} else
|
3032
2997
|
break;
|
3033
2998
|
}
|
3034
|
-
if (l.has(
|
3035
|
-
return this.error(r === "select" ?
|
3036
|
-
|
3037
|
-
var
|
2999
|
+
if (l.has(h))
|
3000
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
3001
|
+
h === "other" && (s = !0), this.bumpSpace();
|
3002
|
+
var m = this.clonePosition();
|
3038
3003
|
if (!this.bumpIf("{"))
|
3039
|
-
return this.error(r === "select" ?
|
3004
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
3040
3005
|
var d = this.parseMessage(t + 1, r, n);
|
3041
3006
|
if (d.err)
|
3042
3007
|
return d;
|
3043
|
-
var g = this.tryParseArgumentClose(
|
3008
|
+
var g = this.tryParseArgumentClose(m);
|
3044
3009
|
if (g.err)
|
3045
3010
|
return g;
|
3046
3011
|
a.push([
|
3047
|
-
|
3012
|
+
h,
|
3048
3013
|
{
|
3049
3014
|
value: d.val,
|
3050
|
-
location:
|
3015
|
+
location: v(m, this.clonePosition())
|
3051
3016
|
}
|
3052
|
-
]), l.add(
|
3017
|
+
]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, u = o.location;
|
3053
3018
|
}
|
3054
|
-
return a.length === 0 ? this.error(r === "select" ?
|
3019
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3055
3020
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3056
3021
|
var n = 1, i = this.clonePosition();
|
3057
3022
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3062,8 +3027,8 @@ var _i = (
|
|
3062
3027
|
else
|
3063
3028
|
break;
|
3064
3029
|
}
|
3065
|
-
var l =
|
3066
|
-
return o ? (s *= n,
|
3030
|
+
var l = v(i, this.clonePosition());
|
3031
|
+
return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
3067
3032
|
}, e.prototype.offset = function() {
|
3068
3033
|
return this.position.offset;
|
3069
3034
|
}, e.prototype.isEOF = function() {
|
@@ -3078,7 +3043,7 @@ var _i = (
|
|
3078
3043
|
var t = this.position.offset;
|
3079
3044
|
if (t >= this.message.length)
|
3080
3045
|
throw Error("out of bound");
|
3081
|
-
var r =
|
3046
|
+
var r = sr(this.message, t);
|
3082
3047
|
if (r === void 0)
|
3083
3048
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3084
3049
|
return r;
|
@@ -3097,7 +3062,7 @@ var _i = (
|
|
3097
3062
|
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);
|
3098
3063
|
}
|
3099
3064
|
}, e.prototype.bumpIf = function(t) {
|
3100
|
-
if (
|
3065
|
+
if (yt(this.message, t, this.offset())) {
|
3101
3066
|
for (var r = 0; r < t.length; r++)
|
3102
3067
|
this.bump();
|
3103
3068
|
return !0;
|
@@ -3119,56 +3084,56 @@ var _i = (
|
|
3119
3084
|
break;
|
3120
3085
|
}
|
3121
3086
|
}, e.prototype.bumpSpace = function() {
|
3122
|
-
for (; !this.isEOF() &&
|
3087
|
+
for (; !this.isEOF() && ur(this.char()); )
|
3123
3088
|
this.bump();
|
3124
3089
|
}, e.prototype.peek = function() {
|
3125
3090
|
if (this.isEOF())
|
3126
3091
|
return null;
|
3127
3092
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
3128
|
-
return n
|
3093
|
+
return n ?? null;
|
3129
3094
|
}, e;
|
3130
3095
|
}()
|
3131
3096
|
);
|
3132
|
-
function
|
3097
|
+
function Ze(e) {
|
3133
3098
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3134
3099
|
}
|
3135
|
-
function
|
3136
|
-
return
|
3100
|
+
function oi(e) {
|
3101
|
+
return Ze(e) || e === 47;
|
3137
3102
|
}
|
3138
|
-
function
|
3103
|
+
function si(e) {
|
3139
3104
|
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;
|
3140
3105
|
}
|
3141
|
-
function
|
3106
|
+
function ur(e) {
|
3142
3107
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3143
3108
|
}
|
3144
|
-
function
|
3109
|
+
function ai(e) {
|
3145
3110
|
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;
|
3146
3111
|
}
|
3147
|
-
function
|
3112
|
+
function Qe(e) {
|
3148
3113
|
e.forEach(function(t) {
|
3149
|
-
if (delete t.location,
|
3114
|
+
if (delete t.location, qt(t) || Kt(t))
|
3150
3115
|
for (var r in t.options)
|
3151
|
-
delete t.options[r].location,
|
3152
|
-
else
|
3116
|
+
delete t.options[r].location, Qe(t.options[r].value);
|
3117
|
+
else Qt(t) && tr(t.style) || (Jt(t) || Yt(t)) && Ve(t.style) ? delete t.style.location : er(t) && Qe(t.children);
|
3153
3118
|
});
|
3154
3119
|
}
|
3155
|
-
function
|
3156
|
-
t === void 0 && (t = {}), t =
|
3157
|
-
var r = new
|
3120
|
+
function ui(e, t) {
|
3121
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3122
|
+
var r = new ii(e, t).parse();
|
3158
3123
|
if (r.err) {
|
3159
|
-
var n = SyntaxError(
|
3124
|
+
var n = SyntaxError(y[r.err.kind]);
|
3160
3125
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3161
3126
|
}
|
3162
|
-
return t
|
3127
|
+
return t?.captureLocation || Qe(r.val), r.val;
|
3163
3128
|
}
|
3164
|
-
var
|
3129
|
+
var q;
|
3165
3130
|
(function(e) {
|
3166
3131
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3167
|
-
})(
|
3168
|
-
var
|
3132
|
+
})(q || (q = {}));
|
3133
|
+
var Pe = (
|
3169
3134
|
/** @class */
|
3170
3135
|
function(e) {
|
3171
|
-
|
3136
|
+
U(t, e);
|
3172
3137
|
function t(r, n, i) {
|
3173
3138
|
var o = e.call(this, r) || this;
|
3174
3139
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3177,155 +3142,155 @@ var Be = (
|
|
3177
3142
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3178
3143
|
}, t;
|
3179
3144
|
}(Error)
|
3180
|
-
),
|
3145
|
+
), xt = (
|
3181
3146
|
/** @class */
|
3182
3147
|
function(e) {
|
3183
|
-
|
3148
|
+
U(t, e);
|
3184
3149
|
function t(r, n, i, o) {
|
3185
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3150
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
3186
3151
|
}
|
3187
3152
|
return t;
|
3188
|
-
}(
|
3189
|
-
),
|
3153
|
+
}(Pe)
|
3154
|
+
), li = (
|
3190
3155
|
/** @class */
|
3191
3156
|
function(e) {
|
3192
|
-
|
3157
|
+
U(t, e);
|
3193
3158
|
function t(r, n, i) {
|
3194
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3159
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
3195
3160
|
}
|
3196
3161
|
return t;
|
3197
|
-
}(
|
3198
|
-
),
|
3162
|
+
}(Pe)
|
3163
|
+
), hi = (
|
3199
3164
|
/** @class */
|
3200
3165
|
function(e) {
|
3201
|
-
|
3166
|
+
U(t, e);
|
3202
3167
|
function t(r, n) {
|
3203
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3168
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
3204
3169
|
}
|
3205
3170
|
return t;
|
3206
|
-
}(
|
3207
|
-
),
|
3171
|
+
}(Pe)
|
3172
|
+
), A;
|
3208
3173
|
(function(e) {
|
3209
3174
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3210
|
-
})(
|
3211
|
-
function
|
3175
|
+
})(A || (A = {}));
|
3176
|
+
function ci(e) {
|
3212
3177
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3213
3178
|
var n = t[t.length - 1];
|
3214
|
-
return !n || n.type !==
|
3179
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3215
3180
|
}, []);
|
3216
3181
|
}
|
3217
|
-
function
|
3182
|
+
function fi(e) {
|
3218
3183
|
return typeof e == "function";
|
3219
3184
|
}
|
3220
|
-
function
|
3221
|
-
if (e.length === 1 &&
|
3185
|
+
function ge(e, t, r, n, i, o, s) {
|
3186
|
+
if (e.length === 1 && pt(e[0]))
|
3222
3187
|
return [
|
3223
3188
|
{
|
3224
|
-
type:
|
3189
|
+
type: A.literal,
|
3225
3190
|
value: e[0].value
|
3226
3191
|
}
|
3227
3192
|
];
|
3228
|
-
for (var a = [], l = 0,
|
3229
|
-
var
|
3230
|
-
if (
|
3193
|
+
for (var a = [], l = 0, h = e; l < h.length; l++) {
|
3194
|
+
var u = h[l];
|
3195
|
+
if (pt(u)) {
|
3231
3196
|
a.push({
|
3232
|
-
type:
|
3233
|
-
value:
|
3197
|
+
type: A.literal,
|
3198
|
+
value: u.value
|
3234
3199
|
});
|
3235
3200
|
continue;
|
3236
3201
|
}
|
3237
|
-
if (
|
3202
|
+
if (Nn(u)) {
|
3238
3203
|
typeof o == "number" && a.push({
|
3239
|
-
type:
|
3204
|
+
type: A.literal,
|
3240
3205
|
value: r.getNumberFormat(t).format(o)
|
3241
3206
|
});
|
3242
3207
|
continue;
|
3243
3208
|
}
|
3244
|
-
var c =
|
3209
|
+
var c = u.value;
|
3245
3210
|
if (!(i && c in i))
|
3246
|
-
throw new
|
3211
|
+
throw new hi(c, s);
|
3247
3212
|
var f = i[c];
|
3248
|
-
if (
|
3213
|
+
if (Ln(u)) {
|
3249
3214
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3250
|
-
type: typeof f == "string" ?
|
3215
|
+
type: typeof f == "string" ? A.literal : A.object,
|
3251
3216
|
value: f
|
3252
3217
|
});
|
3253
3218
|
continue;
|
3254
3219
|
}
|
3255
|
-
if (
|
3256
|
-
var
|
3220
|
+
if (Jt(u)) {
|
3221
|
+
var m = typeof u.style == "string" ? n.date[u.style] : Ve(u.style) ? u.style.parsedOptions : void 0;
|
3257
3222
|
a.push({
|
3258
|
-
type:
|
3259
|
-
value: r.getDateTimeFormat(t,
|
3223
|
+
type: A.literal,
|
3224
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
3260
3225
|
});
|
3261
3226
|
continue;
|
3262
3227
|
}
|
3263
|
-
if (
|
3264
|
-
var
|
3228
|
+
if (Yt(u)) {
|
3229
|
+
var m = typeof u.style == "string" ? n.time[u.style] : Ve(u.style) ? u.style.parsedOptions : n.time.medium;
|
3265
3230
|
a.push({
|
3266
|
-
type:
|
3267
|
-
value: r.getDateTimeFormat(t,
|
3231
|
+
type: A.literal,
|
3232
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
3268
3233
|
});
|
3269
3234
|
continue;
|
3270
3235
|
}
|
3271
|
-
if (
|
3272
|
-
var
|
3273
|
-
|
3274
|
-
type:
|
3275
|
-
value: r.getNumberFormat(t,
|
3236
|
+
if (Qt(u)) {
|
3237
|
+
var m = typeof u.style == "string" ? n.number[u.style] : tr(u.style) ? u.style.parsedOptions : void 0;
|
3238
|
+
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
3239
|
+
type: A.literal,
|
3240
|
+
value: r.getNumberFormat(t, m).format(f)
|
3276
3241
|
});
|
3277
3242
|
continue;
|
3278
3243
|
}
|
3279
|
-
if (
|
3280
|
-
var d =
|
3281
|
-
if (!
|
3282
|
-
throw new
|
3283
|
-
var
|
3284
|
-
return
|
3244
|
+
if (er(u)) {
|
3245
|
+
var d = u.children, g = u.value, p = i[g];
|
3246
|
+
if (!fi(p))
|
3247
|
+
throw new li(g, "function", s);
|
3248
|
+
var S = ge(d, t, r, n, i, o), _ = p(S.map(function(B) {
|
3249
|
+
return B.value;
|
3285
3250
|
}));
|
3286
|
-
Array.isArray(
|
3251
|
+
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(B) {
|
3287
3252
|
return {
|
3288
|
-
type: typeof
|
3289
|
-
value:
|
3253
|
+
type: typeof B == "string" ? A.literal : A.object,
|
3254
|
+
value: B
|
3290
3255
|
};
|
3291
3256
|
}));
|
3292
3257
|
}
|
3293
|
-
if (
|
3294
|
-
var
|
3295
|
-
if (!
|
3296
|
-
throw new
|
3297
|
-
a.push.apply(a,
|
3258
|
+
if (qt(u)) {
|
3259
|
+
var P = u.options[f] || u.options.other;
|
3260
|
+
if (!P)
|
3261
|
+
throw new xt(u.value, f, Object.keys(u.options), s);
|
3262
|
+
a.push.apply(a, ge(P.value, t, r, n, i));
|
3298
3263
|
continue;
|
3299
3264
|
}
|
3300
|
-
if (
|
3301
|
-
var
|
3302
|
-
if (!
|
3265
|
+
if (Kt(u)) {
|
3266
|
+
var P = u.options["=".concat(f)];
|
3267
|
+
if (!P) {
|
3303
3268
|
if (!Intl.PluralRules)
|
3304
|
-
throw new
|
3269
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3305
3270
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3306
|
-
`,
|
3307
|
-
var
|
3308
|
-
|
3271
|
+
`, q.MISSING_INTL_API, s);
|
3272
|
+
var $ = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
3273
|
+
P = u.options[$] || u.options.other;
|
3309
3274
|
}
|
3310
|
-
if (!
|
3311
|
-
throw new
|
3312
|
-
a.push.apply(a,
|
3275
|
+
if (!P)
|
3276
|
+
throw new xt(u.value, f, Object.keys(u.options), s);
|
3277
|
+
a.push.apply(a, ge(P.value, t, r, n, i, f - (u.offset || 0)));
|
3313
3278
|
continue;
|
3314
3279
|
}
|
3315
3280
|
}
|
3316
|
-
return
|
3281
|
+
return ci(a);
|
3317
3282
|
}
|
3318
|
-
function
|
3319
|
-
return t ?
|
3320
|
-
return r[n] =
|
3283
|
+
function di(e, t) {
|
3284
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3285
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
3321
3286
|
}, {})) : e;
|
3322
3287
|
}
|
3323
|
-
function
|
3288
|
+
function pi(e, t) {
|
3324
3289
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3325
|
-
return r[n] =
|
3326
|
-
},
|
3290
|
+
return r[n] = di(e[n], t[n]), r;
|
3291
|
+
}, x({}, e)) : e;
|
3327
3292
|
}
|
3328
|
-
function
|
3293
|
+
function $e(e) {
|
3329
3294
|
return {
|
3330
3295
|
create: function() {
|
3331
3296
|
return {
|
@@ -3339,39 +3304,39 @@ function Ue(e) {
|
|
3339
3304
|
}
|
3340
3305
|
};
|
3341
3306
|
}
|
3342
|
-
function
|
3307
|
+
function mi(e) {
|
3343
3308
|
return e === void 0 && (e = {
|
3344
3309
|
number: {},
|
3345
3310
|
dateTime: {},
|
3346
3311
|
pluralRules: {}
|
3347
3312
|
}), {
|
3348
|
-
getNumberFormat:
|
3313
|
+
getNumberFormat: Ne(function() {
|
3349
3314
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3350
3315
|
r[n] = arguments[n];
|
3351
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3316
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
3352
3317
|
}, {
|
3353
|
-
cache:
|
3354
|
-
strategy:
|
3318
|
+
cache: $e(e.number),
|
3319
|
+
strategy: Me.variadic
|
3355
3320
|
}),
|
3356
|
-
getDateTimeFormat:
|
3321
|
+
getDateTimeFormat: Ne(function() {
|
3357
3322
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3358
3323
|
r[n] = arguments[n];
|
3359
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3324
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
3360
3325
|
}, {
|
3361
|
-
cache:
|
3362
|
-
strategy:
|
3326
|
+
cache: $e(e.dateTime),
|
3327
|
+
strategy: Me.variadic
|
3363
3328
|
}),
|
3364
|
-
getPluralRules:
|
3329
|
+
getPluralRules: Ne(function() {
|
3365
3330
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3366
3331
|
r[n] = arguments[n];
|
3367
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3332
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
3368
3333
|
}, {
|
3369
|
-
cache:
|
3370
|
-
strategy:
|
3334
|
+
cache: $e(e.pluralRules),
|
3335
|
+
strategy: Me.variadic
|
3371
3336
|
})
|
3372
3337
|
};
|
3373
3338
|
}
|
3374
|
-
var
|
3339
|
+
var bi = (
|
3375
3340
|
/** @class */
|
3376
3341
|
function() {
|
3377
3342
|
function e(t, r, n, i) {
|
@@ -3382,15 +3347,15 @@ var Ii = (
|
|
3382
3347
|
dateTime: {},
|
3383
3348
|
pluralRules: {}
|
3384
3349
|
}, this.format = function(l) {
|
3385
|
-
var
|
3386
|
-
if (
|
3387
|
-
return
|
3388
|
-
var
|
3389
|
-
return !c.length || f.type !==
|
3350
|
+
var h = o.formatToParts(l);
|
3351
|
+
if (h.length === 1)
|
3352
|
+
return h[0].value;
|
3353
|
+
var u = h.reduce(function(c, f) {
|
3354
|
+
return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3390
3355
|
}, []);
|
3391
|
-
return
|
3356
|
+
return u.length <= 1 ? u[0] || "" : u;
|
3392
3357
|
}, this.formatToParts = function(l) {
|
3393
|
-
return
|
3358
|
+
return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
3394
3359
|
}, this.resolvedOptions = function() {
|
3395
3360
|
var l;
|
3396
3361
|
return {
|
@@ -3403,13 +3368,13 @@ var Ii = (
|
|
3403
3368
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3404
3369
|
var s = i || {};
|
3405
3370
|
s.formatters;
|
3406
|
-
var a =
|
3407
|
-
this.ast = e.__parse(t,
|
3371
|
+
var a = Tn(s, ["formatters"]);
|
3372
|
+
this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
|
3408
3373
|
} else
|
3409
3374
|
this.ast = t;
|
3410
3375
|
if (!Array.isArray(this.ast))
|
3411
3376
|
throw new TypeError("A message must be provided as a String or AST.");
|
3412
|
-
this.formats =
|
3377
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
|
3413
3378
|
}
|
3414
3379
|
return Object.defineProperty(e, "defaultLocale", {
|
3415
3380
|
get: function() {
|
@@ -3418,11 +3383,11 @@ var Ii = (
|
|
3418
3383
|
enumerable: !1,
|
3419
3384
|
configurable: !0
|
3420
3385
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
3421
|
-
if (typeof Intl.Locale
|
3386
|
+
if (!(typeof Intl.Locale > "u")) {
|
3422
3387
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3423
3388
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3424
3389
|
}
|
3425
|
-
}, e.__parse =
|
3390
|
+
}, e.__parse = ui, e.formats = {
|
3426
3391
|
number: {
|
3427
3392
|
integer: {
|
3428
3393
|
maximumFractionDigits: 0
|
@@ -3483,7 +3448,7 @@ var Ii = (
|
|
3483
3448
|
}, e;
|
3484
3449
|
}()
|
3485
3450
|
);
|
3486
|
-
function
|
3451
|
+
function gi(e, t) {
|
3487
3452
|
if (t == null)
|
3488
3453
|
return;
|
3489
3454
|
if (t in e)
|
@@ -3504,92 +3469,92 @@ function Li(e, t) {
|
|
3504
3469
|
n = void 0;
|
3505
3470
|
return n;
|
3506
3471
|
}
|
3507
|
-
const
|
3472
|
+
const D = {}, yi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), lr = (e, t) => {
|
3508
3473
|
if (t == null)
|
3509
3474
|
return;
|
3510
|
-
if (t in
|
3511
|
-
return
|
3512
|
-
const r =
|
3475
|
+
if (t in D && e in D[t])
|
3476
|
+
return D[t][e];
|
3477
|
+
const r = Be(t);
|
3513
3478
|
for (let n = 0; n < r.length; n++) {
|
3514
|
-
const i = r[n], o =
|
3479
|
+
const i = r[n], o = _i(i, e);
|
3515
3480
|
if (o)
|
3516
|
-
return
|
3481
|
+
return yi(e, t, o);
|
3517
3482
|
}
|
3518
3483
|
};
|
3519
|
-
let
|
3520
|
-
const
|
3521
|
-
function
|
3522
|
-
return
|
3484
|
+
let nt;
|
3485
|
+
const ce = Ce({});
|
3486
|
+
function vi(e) {
|
3487
|
+
return nt[e] || null;
|
3523
3488
|
}
|
3524
|
-
function
|
3525
|
-
return e in
|
3489
|
+
function hr(e) {
|
3490
|
+
return e in nt;
|
3526
3491
|
}
|
3527
|
-
function
|
3528
|
-
if (!
|
3492
|
+
function _i(e, t) {
|
3493
|
+
if (!hr(e))
|
3529
3494
|
return null;
|
3530
|
-
const r =
|
3531
|
-
return
|
3495
|
+
const r = vi(e);
|
3496
|
+
return gi(r, t);
|
3532
3497
|
}
|
3533
|
-
function
|
3498
|
+
function xi(e) {
|
3534
3499
|
if (e == null)
|
3535
3500
|
return;
|
3536
|
-
const t =
|
3501
|
+
const t = Be(e);
|
3537
3502
|
for (let r = 0; r < t.length; r++) {
|
3538
3503
|
const n = t[r];
|
3539
|
-
if (
|
3504
|
+
if (hr(n))
|
3540
3505
|
return n;
|
3541
3506
|
}
|
3542
3507
|
}
|
3543
|
-
function
|
3544
|
-
delete
|
3508
|
+
function cr(e, ...t) {
|
3509
|
+
delete D[e], ce.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
|
3545
3510
|
}
|
3546
|
-
|
3547
|
-
[
|
3511
|
+
te(
|
3512
|
+
[ce],
|
3548
3513
|
([e]) => Object.keys(e)
|
3549
3514
|
);
|
3550
|
-
|
3515
|
+
ce.subscribe((e) => nt = e);
|
3551
3516
|
const ye = {};
|
3552
|
-
function
|
3517
|
+
function Ei(e, t) {
|
3553
3518
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
3554
3519
|
}
|
3555
|
-
function
|
3520
|
+
function fr(e) {
|
3556
3521
|
return ye[e];
|
3557
3522
|
}
|
3558
|
-
function
|
3559
|
-
return
|
3560
|
-
const r =
|
3523
|
+
function Si(e) {
|
3524
|
+
return Be(e).map((t) => {
|
3525
|
+
const r = fr(t);
|
3561
3526
|
return [t, r ? [...r] : []];
|
3562
3527
|
}).filter(([, t]) => t.length > 0);
|
3563
3528
|
}
|
3564
|
-
function
|
3565
|
-
return e == null ? !1 :
|
3529
|
+
function Je(e) {
|
3530
|
+
return e == null ? !1 : Be(e).some(
|
3566
3531
|
(t) => {
|
3567
3532
|
var r;
|
3568
|
-
return (r =
|
3533
|
+
return (r = fr(t)) == null ? void 0 : r.size;
|
3569
3534
|
}
|
3570
3535
|
);
|
3571
3536
|
}
|
3572
|
-
function
|
3537
|
+
function wi(e, t) {
|
3573
3538
|
return Promise.all(
|
3574
|
-
t.map((n) => (
|
3575
|
-
).then((n) =>
|
3576
|
-
}
|
3577
|
-
const
|
3578
|
-
function
|
3579
|
-
if (!
|
3580
|
-
return e in
|
3581
|
-
const t =
|
3582
|
-
return
|
3539
|
+
t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
|
3540
|
+
).then((n) => cr(e, ...n));
|
3541
|
+
}
|
3542
|
+
const se = {};
|
3543
|
+
function dr(e) {
|
3544
|
+
if (!Je(e))
|
3545
|
+
return e in se ? se[e] : Promise.resolve();
|
3546
|
+
const t = Si(e);
|
3547
|
+
return se[e] = Promise.all(
|
3583
3548
|
t.map(
|
3584
|
-
([r, n]) =>
|
3549
|
+
([r, n]) => wi(r, n)
|
3585
3550
|
)
|
3586
3551
|
).then(() => {
|
3587
|
-
if (
|
3588
|
-
return
|
3589
|
-
delete
|
3590
|
-
}),
|
3552
|
+
if (Je(e))
|
3553
|
+
return dr(e);
|
3554
|
+
delete se[e];
|
3555
|
+
}), se[e];
|
3591
3556
|
}
|
3592
|
-
const
|
3557
|
+
const Ti = {
|
3593
3558
|
number: {
|
3594
3559
|
scientific: { notation: "scientific" },
|
3595
3560
|
engineering: { notation: "engineering" },
|
@@ -3618,159 +3583,159 @@ const Fi = {
|
|
3618
3583
|
timeZoneName: "short"
|
3619
3584
|
}
|
3620
3585
|
}
|
3621
|
-
},
|
3586
|
+
}, Hi = {
|
3622
3587
|
fallbackLocale: null,
|
3623
3588
|
loadingDelay: 200,
|
3624
|
-
formats:
|
3589
|
+
formats: Ti,
|
3625
3590
|
warnOnMissingMessages: !0,
|
3626
3591
|
handleMissingMessage: void 0,
|
3627
3592
|
ignoreTag: !0
|
3628
|
-
},
|
3629
|
-
function
|
3630
|
-
return
|
3631
|
-
}
|
3632
|
-
const
|
3633
|
-
var
|
3634
|
-
for (var r in t
|
3635
|
-
|
3636
|
-
if (
|
3637
|
-
for (var r of
|
3638
|
-
|
3593
|
+
}, Ci = Hi;
|
3594
|
+
function K() {
|
3595
|
+
return Ci;
|
3596
|
+
}
|
3597
|
+
const Ge = Ce(!1);
|
3598
|
+
var Pi = Object.defineProperty, Bi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
|
3599
|
+
for (var r in t)
|
3600
|
+
Oi.call(t, r) && St(e, r, t[r]);
|
3601
|
+
if (Et)
|
3602
|
+
for (var r of Et(t))
|
3603
|
+
Ii.call(t, r) && St(e, r, t[r]);
|
3639
3604
|
return e;
|
3640
|
-
},
|
3641
|
-
let
|
3642
|
-
const
|
3643
|
-
function
|
3605
|
+
}, Ni = (e, t) => Bi(e, Ai(t));
|
3606
|
+
let Ye;
|
3607
|
+
const we = Ce(null);
|
3608
|
+
function wt(e) {
|
3644
3609
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3645
3610
|
}
|
3646
|
-
function
|
3647
|
-
const r =
|
3648
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3611
|
+
function Be(e, t = K().fallbackLocale) {
|
3612
|
+
const r = wt(e);
|
3613
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
|
3649
3614
|
}
|
3650
3615
|
function k() {
|
3651
|
-
return
|
3616
|
+
return Ye ?? void 0;
|
3652
3617
|
}
|
3653
|
-
|
3654
|
-
|
3618
|
+
we.subscribe((e) => {
|
3619
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3655
3620
|
});
|
3656
|
-
const
|
3657
|
-
if (e &&
|
3658
|
-
const { loadingDelay: t } =
|
3621
|
+
const Mi = (e) => {
|
3622
|
+
if (e && xi(e) && Je(e)) {
|
3623
|
+
const { loadingDelay: t } = K();
|
3659
3624
|
let r;
|
3660
|
-
return typeof window
|
3661
|
-
() =>
|
3625
|
+
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
3626
|
+
() => Ge.set(!0),
|
3662
3627
|
t
|
3663
|
-
) :
|
3664
|
-
|
3628
|
+
) : Ge.set(!0), dr(e).then(() => {
|
3629
|
+
we.set(e);
|
3665
3630
|
}).finally(() => {
|
3666
|
-
clearTimeout(r),
|
3631
|
+
clearTimeout(r), Ge.set(!1);
|
3667
3632
|
});
|
3668
3633
|
}
|
3669
|
-
return
|
3670
|
-
},
|
3671
|
-
set:
|
3672
|
-
}),
|
3634
|
+
return we.set(e);
|
3635
|
+
}, re = Ni(Li({}, we), {
|
3636
|
+
set: Mi
|
3637
|
+
}), Ae = (e) => {
|
3673
3638
|
const t = /* @__PURE__ */ Object.create(null);
|
3674
3639
|
return (n) => {
|
3675
3640
|
const i = JSON.stringify(n);
|
3676
3641
|
return i in t ? t[i] : t[i] = e(n);
|
3677
3642
|
};
|
3678
3643
|
};
|
3679
|
-
var
|
3644
|
+
var Ri = Object.defineProperty, Te = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
3680
3645
|
for (var r in t || (t = {}))
|
3681
|
-
|
3682
|
-
if (
|
3683
|
-
for (var r of
|
3684
|
-
|
3646
|
+
pr.call(t, r) && Tt(e, r, t[r]);
|
3647
|
+
if (Te)
|
3648
|
+
for (var r of Te(t))
|
3649
|
+
mr.call(t, r) && Tt(e, r, t[r]);
|
3685
3650
|
return e;
|
3686
|
-
},
|
3651
|
+
}, ne = (e, t) => {
|
3687
3652
|
var r = {};
|
3688
3653
|
for (var n in e)
|
3689
|
-
|
3690
|
-
if (e != null &&
|
3691
|
-
for (var n of
|
3692
|
-
t.indexOf(n) < 0 &&
|
3654
|
+
pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3655
|
+
if (e != null && Te)
|
3656
|
+
for (var n of Te(e))
|
3657
|
+
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
3693
3658
|
return r;
|
3694
3659
|
};
|
3695
|
-
const
|
3696
|
-
const { formats: r } =
|
3660
|
+
const he = (e, t) => {
|
3661
|
+
const { formats: r } = K();
|
3697
3662
|
if (e in r && t in r[e])
|
3698
3663
|
return r[e][t];
|
3699
3664
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3700
|
-
},
|
3665
|
+
}, $i = Ae(
|
3701
3666
|
(e) => {
|
3702
|
-
var t = e, { locale: r, format: n } = t, i =
|
3667
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3703
3668
|
if (r == null)
|
3704
3669
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3705
|
-
return n && (i =
|
3670
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3706
3671
|
}
|
3707
|
-
),
|
3672
|
+
), Gi = Ae(
|
3708
3673
|
(e) => {
|
3709
|
-
var t = e, { locale: r, format: n } = t, i =
|
3674
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3710
3675
|
if (r == null)
|
3711
3676
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3712
|
-
return n ? i =
|
3677
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3713
3678
|
}
|
3714
|
-
),
|
3679
|
+
), Ui = Ae(
|
3715
3680
|
(e) => {
|
3716
|
-
var t = e, { locale: r, format: n } = t, i =
|
3681
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3717
3682
|
if (r == null)
|
3718
3683
|
throw new Error(
|
3719
3684
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3720
3685
|
);
|
3721
|
-
return n ? i =
|
3686
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3722
3687
|
}
|
3723
|
-
),
|
3688
|
+
), Di = (e = {}) => {
|
3724
3689
|
var t = e, {
|
3725
3690
|
locale: r = k()
|
3726
|
-
} = t, n =
|
3691
|
+
} = t, n = ne(t, [
|
3727
3692
|
"locale"
|
3728
3693
|
]);
|
3729
|
-
return
|
3730
|
-
},
|
3694
|
+
return $i(it({ locale: r }, n));
|
3695
|
+
}, Fi = (e = {}) => {
|
3731
3696
|
var t = e, {
|
3732
3697
|
locale: r = k()
|
3733
|
-
} = t, n =
|
3698
|
+
} = t, n = ne(t, [
|
3734
3699
|
"locale"
|
3735
3700
|
]);
|
3736
|
-
return
|
3737
|
-
},
|
3701
|
+
return Gi(it({ locale: r }, n));
|
3702
|
+
}, ki = (e = {}) => {
|
3738
3703
|
var t = e, {
|
3739
3704
|
locale: r = k()
|
3740
|
-
} = t, n =
|
3705
|
+
} = t, n = ne(t, [
|
3741
3706
|
"locale"
|
3742
3707
|
]);
|
3743
|
-
return
|
3744
|
-
},
|
3708
|
+
return Ui(it({ locale: r }, n));
|
3709
|
+
}, ji = Ae(
|
3745
3710
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3746
|
-
(e, t = k()) => new
|
3747
|
-
ignoreTag:
|
3711
|
+
(e, t = k()) => new bi(e, t, K().formats, {
|
3712
|
+
ignoreTag: K().ignoreTag
|
3748
3713
|
})
|
3749
|
-
),
|
3714
|
+
), Vi = (e, t = {}) => {
|
3750
3715
|
var r, n, i, o;
|
3751
3716
|
let s = t;
|
3752
3717
|
typeof e == "object" && (s = e, e = s.id);
|
3753
3718
|
const {
|
3754
3719
|
values: a,
|
3755
3720
|
locale: l = k(),
|
3756
|
-
default:
|
3721
|
+
default: h
|
3757
3722
|
} = s;
|
3758
3723
|
if (l == null)
|
3759
3724
|
throw new Error(
|
3760
3725
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3761
3726
|
);
|
3762
|
-
let
|
3763
|
-
if (!
|
3764
|
-
|
3765
|
-
else if (typeof
|
3727
|
+
let u = lr(e, l);
|
3728
|
+
if (!u)
|
3729
|
+
u = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
3730
|
+
else if (typeof u != "string")
|
3766
3731
|
return console.warn(
|
3767
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
3768
|
-
),
|
3732
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3733
|
+
), u;
|
3769
3734
|
if (!a)
|
3770
|
-
return
|
3771
|
-
let c =
|
3735
|
+
return u;
|
3736
|
+
let c = u;
|
3772
3737
|
try {
|
3773
|
-
c =
|
3738
|
+
c = ji(u, l).format(a);
|
3774
3739
|
} catch (f) {
|
3775
3740
|
f instanceof Error && console.warn(
|
3776
3741
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3778,18 +3743,18 @@ const ce = (e, t) => {
|
|
3778
3743
|
);
|
3779
3744
|
}
|
3780
3745
|
return c;
|
3781
|
-
},
|
3782
|
-
|
3783
|
-
|
3784
|
-
|
3785
|
-
|
3786
|
-
function
|
3787
|
-
|
3788
|
-
}
|
3789
|
-
function
|
3790
|
-
|
3791
|
-
}
|
3792
|
-
const
|
3746
|
+
}, Xi = (e, t) => ki(t).format(e), Wi = (e, t) => Fi(t).format(e), zi = (e, t) => Di(t).format(e), Zi = (e, t = k()) => lr(e, t), Qi = te([re, ce], () => Vi);
|
3747
|
+
te([re], () => Xi);
|
3748
|
+
te([re], () => Wi);
|
3749
|
+
te([re], () => zi);
|
3750
|
+
te([re, ce], () => Zi);
|
3751
|
+
function Ht(e, t) {
|
3752
|
+
cr(e, t);
|
3753
|
+
}
|
3754
|
+
function Ji(e) {
|
3755
|
+
re.set(e);
|
3756
|
+
}
|
3757
|
+
const Ct = {
|
3793
3758
|
en: {
|
3794
3759
|
collections: "Game Collections",
|
3795
3760
|
providers: "Game Providers",
|
@@ -3886,16 +3851,16 @@ const Gt = {
|
|
3886
3851
|
loading: "Loading, please wait ..."
|
3887
3852
|
}
|
3888
3853
|
};
|
3889
|
-
function
|
3854
|
+
function G(e) {
|
3890
3855
|
return typeof e == "function";
|
3891
3856
|
}
|
3892
|
-
function
|
3857
|
+
function br(e) {
|
3893
3858
|
var t = function(n) {
|
3894
3859
|
Error.call(n), n.stack = new Error().stack;
|
3895
3860
|
}, r = e(t);
|
3896
3861
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3897
3862
|
}
|
3898
|
-
var
|
3863
|
+
var Ue = br(function(e) {
|
3899
3864
|
return function(r) {
|
3900
3865
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3901
3866
|
` + r.map(function(n, i) {
|
@@ -3904,13 +3869,13 @@ var Fe = Cr(function(e) {
|
|
3904
3869
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3905
3870
|
};
|
3906
3871
|
});
|
3907
|
-
function
|
3872
|
+
function qe(e, t) {
|
3908
3873
|
if (e) {
|
3909
3874
|
var r = e.indexOf(t);
|
3910
3875
|
0 <= r && e.splice(r, 1);
|
3911
3876
|
}
|
3912
3877
|
}
|
3913
|
-
var
|
3878
|
+
var Oe = function() {
|
3914
3879
|
function e(t) {
|
3915
3880
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
3916
3881
|
}
|
@@ -3922,9 +3887,9 @@ var Ie = function() {
|
|
3922
3887
|
if (s)
|
3923
3888
|
if (this._parentage = null, Array.isArray(s))
|
3924
3889
|
try {
|
3925
|
-
for (var a =
|
3926
|
-
var
|
3927
|
-
|
3890
|
+
for (var a = ke(s), l = a.next(); !l.done; l = a.next()) {
|
3891
|
+
var h = l.value;
|
3892
|
+
h.remove(this);
|
3928
3893
|
}
|
3929
3894
|
} catch (g) {
|
3930
3895
|
t = { error: g };
|
@@ -3937,43 +3902,43 @@ var Ie = function() {
|
|
3937
3902
|
}
|
3938
3903
|
else
|
3939
3904
|
s.remove(this);
|
3940
|
-
var
|
3941
|
-
if (
|
3905
|
+
var u = this.initialTeardown;
|
3906
|
+
if (G(u))
|
3942
3907
|
try {
|
3943
|
-
|
3908
|
+
u();
|
3944
3909
|
} catch (g) {
|
3945
|
-
o = g instanceof
|
3910
|
+
o = g instanceof Ue ? g.errors : [g];
|
3946
3911
|
}
|
3947
3912
|
var c = this._finalizers;
|
3948
3913
|
if (c) {
|
3949
3914
|
this._finalizers = null;
|
3950
3915
|
try {
|
3951
|
-
for (var f =
|
3952
|
-
var d =
|
3916
|
+
for (var f = ke(c), m = f.next(); !m.done; m = f.next()) {
|
3917
|
+
var d = m.value;
|
3953
3918
|
try {
|
3954
|
-
|
3919
|
+
Pt(d);
|
3955
3920
|
} catch (g) {
|
3956
|
-
o = o
|
3921
|
+
o = o ?? [], g instanceof Ue ? o = Z(Z([], je(o)), je(g.errors)) : o.push(g);
|
3957
3922
|
}
|
3958
3923
|
}
|
3959
3924
|
} catch (g) {
|
3960
3925
|
n = { error: g };
|
3961
3926
|
} finally {
|
3962
3927
|
try {
|
3963
|
-
|
3928
|
+
m && !m.done && (i = f.return) && i.call(f);
|
3964
3929
|
} finally {
|
3965
3930
|
if (n) throw n.error;
|
3966
3931
|
}
|
3967
3932
|
}
|
3968
3933
|
}
|
3969
3934
|
if (o)
|
3970
|
-
throw new
|
3935
|
+
throw new Ue(o);
|
3971
3936
|
}
|
3972
3937
|
}, e.prototype.add = function(t) {
|
3973
3938
|
var r;
|
3974
3939
|
if (t && t !== this)
|
3975
3940
|
if (this.closed)
|
3976
|
-
|
3941
|
+
Pt(t);
|
3977
3942
|
else {
|
3978
3943
|
if (t instanceof e) {
|
3979
3944
|
if (t.closed || t._hasParent(this))
|
@@ -3990,56 +3955,56 @@ var Ie = function() {
|
|
3990
3955
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3991
3956
|
}, e.prototype._removeParent = function(t) {
|
3992
3957
|
var r = this._parentage;
|
3993
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3958
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
3994
3959
|
}, e.prototype.remove = function(t) {
|
3995
3960
|
var r = this._finalizers;
|
3996
|
-
r &&
|
3961
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
3997
3962
|
}, e.EMPTY = function() {
|
3998
3963
|
var t = new e();
|
3999
3964
|
return t.closed = !0, t;
|
4000
3965
|
}(), e;
|
4001
|
-
}(),
|
4002
|
-
function
|
4003
|
-
return e instanceof
|
3966
|
+
}(), gr = Oe.EMPTY;
|
3967
|
+
function yr(e) {
|
3968
|
+
return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
4004
3969
|
}
|
4005
|
-
function
|
4006
|
-
|
3970
|
+
function Pt(e) {
|
3971
|
+
G(e) ? e() : e.unsubscribe();
|
4007
3972
|
}
|
4008
|
-
var
|
3973
|
+
var Yi = {
|
4009
3974
|
onUnhandledError: null,
|
4010
3975
|
onStoppedNotification: null,
|
4011
3976
|
Promise: void 0,
|
4012
3977
|
useDeprecatedSynchronousErrorHandling: !1,
|
4013
3978
|
useDeprecatedNextContext: !1
|
4014
|
-
},
|
3979
|
+
}, qi = {
|
4015
3980
|
setTimeout: function(e, t) {
|
4016
3981
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4017
3982
|
r[n - 2] = arguments[n];
|
4018
|
-
return setTimeout.apply(void 0,
|
3983
|
+
return setTimeout.apply(void 0, Z([e, t], je(r)));
|
4019
3984
|
},
|
4020
3985
|
clearTimeout: function(e) {
|
4021
3986
|
return clearTimeout(e);
|
4022
3987
|
},
|
4023
3988
|
delegate: void 0
|
4024
3989
|
};
|
4025
|
-
function
|
4026
|
-
|
3990
|
+
function Ki(e) {
|
3991
|
+
qi.setTimeout(function() {
|
4027
3992
|
throw e;
|
4028
3993
|
});
|
4029
3994
|
}
|
4030
|
-
function
|
3995
|
+
function Bt() {
|
4031
3996
|
}
|
4032
|
-
function
|
3997
|
+
function ve(e) {
|
4033
3998
|
e();
|
4034
3999
|
}
|
4035
|
-
var
|
4036
|
-
|
4000
|
+
var vr = function(e) {
|
4001
|
+
U(t, e);
|
4037
4002
|
function t(r) {
|
4038
4003
|
var n = e.call(this) || this;
|
4039
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4004
|
+
return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = ro, n;
|
4040
4005
|
}
|
4041
4006
|
return t.create = function(r, n, i) {
|
4042
|
-
return new
|
4007
|
+
return new Ke(r, n, i);
|
4043
4008
|
}, t.prototype.next = function(r) {
|
4044
4009
|
this.isStopped || this._next(r);
|
4045
4010
|
}, t.prototype.error = function(r) {
|
@@ -4063,11 +4028,7 @@ var Or = function(e) {
|
|
4063
4028
|
this.unsubscribe();
|
4064
4029
|
}
|
4065
4030
|
}, t;
|
4066
|
-
}(
|
4067
|
-
function je(e, t) {
|
4068
|
-
return bo.call(e, t);
|
4069
|
-
}
|
4070
|
-
var go = function() {
|
4031
|
+
}(Oe), eo = function() {
|
4071
4032
|
function e(t) {
|
4072
4033
|
this.partialObserver = t;
|
4073
4034
|
}
|
@@ -4077,7 +4038,7 @@ var go = function() {
|
|
4077
4038
|
try {
|
4078
4039
|
r.next(t);
|
4079
4040
|
} catch (n) {
|
4080
|
-
|
4041
|
+
me(n);
|
4081
4042
|
}
|
4082
4043
|
}, e.prototype.error = function(t) {
|
4083
4044
|
var r = this.partialObserver;
|
@@ -4085,68 +4046,56 @@ var go = function() {
|
|
4085
4046
|
try {
|
4086
4047
|
r.error(t);
|
4087
4048
|
} catch (n) {
|
4088
|
-
|
4049
|
+
me(n);
|
4089
4050
|
}
|
4090
4051
|
else
|
4091
|
-
|
4052
|
+
me(t);
|
4092
4053
|
}, e.prototype.complete = function() {
|
4093
4054
|
var t = this.partialObserver;
|
4094
4055
|
if (t.complete)
|
4095
4056
|
try {
|
4096
4057
|
t.complete();
|
4097
4058
|
} catch (r) {
|
4098
|
-
|
4059
|
+
me(r);
|
4099
4060
|
}
|
4100
4061
|
}, e;
|
4101
|
-
}(),
|
4102
|
-
|
4062
|
+
}(), Ke = function(e) {
|
4063
|
+
U(t, e);
|
4103
4064
|
function t(r, n, i) {
|
4104
4065
|
var o = e.call(this) || this, s;
|
4105
|
-
|
4106
|
-
|
4107
|
-
|
4108
|
-
|
4109
|
-
|
4110
|
-
};
|
4111
|
-
else {
|
4112
|
-
var a;
|
4113
|
-
o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
4114
|
-
return o.unsubscribe();
|
4115
|
-
}, s = {
|
4116
|
-
next: r.next && je(r.next, a),
|
4117
|
-
error: r.error && je(r.error, a),
|
4118
|
-
complete: r.complete && je(r.complete, a)
|
4119
|
-
}) : s = r;
|
4120
|
-
}
|
4121
|
-
return o.destination = new go(s), o;
|
4066
|
+
return G(r) || !r ? s = {
|
4067
|
+
next: r ?? void 0,
|
4068
|
+
error: n ?? void 0,
|
4069
|
+
complete: i ?? void 0
|
4070
|
+
} : s = r, o.destination = new eo(s), o;
|
4122
4071
|
}
|
4123
4072
|
return t;
|
4124
|
-
}(
|
4125
|
-
function
|
4126
|
-
|
4073
|
+
}(vr);
|
4074
|
+
function me(e) {
|
4075
|
+
Ki(e);
|
4127
4076
|
}
|
4128
|
-
function
|
4077
|
+
function to(e) {
|
4129
4078
|
throw e;
|
4130
4079
|
}
|
4131
|
-
var
|
4080
|
+
var ro = {
|
4132
4081
|
closed: !0,
|
4133
|
-
next:
|
4134
|
-
error:
|
4135
|
-
complete:
|
4136
|
-
},
|
4082
|
+
next: Bt,
|
4083
|
+
error: to,
|
4084
|
+
complete: Bt
|
4085
|
+
}, no = function() {
|
4137
4086
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4138
4087
|
}();
|
4139
|
-
function
|
4088
|
+
function io(e) {
|
4140
4089
|
return e;
|
4141
4090
|
}
|
4142
|
-
function
|
4143
|
-
return e.length === 0 ?
|
4091
|
+
function oo(e) {
|
4092
|
+
return e.length === 0 ? io : e.length === 1 ? e[0] : function(r) {
|
4144
4093
|
return e.reduce(function(n, i) {
|
4145
4094
|
return i(n);
|
4146
4095
|
}, r);
|
4147
4096
|
};
|
4148
4097
|
}
|
4149
|
-
var
|
4098
|
+
var At = function() {
|
4150
4099
|
function e(t) {
|
4151
4100
|
t && (this._subscribe = t);
|
4152
4101
|
}
|
@@ -4154,8 +4103,8 @@ var Ft = function() {
|
|
4154
4103
|
var r = new e();
|
4155
4104
|
return r.source = this, r.operator = t, r;
|
4156
4105
|
}, e.prototype.subscribe = function(t, r, n) {
|
4157
|
-
var i = this, o =
|
4158
|
-
return
|
4106
|
+
var i = this, o = ao(t) ? t : new Ke(t, r, n);
|
4107
|
+
return ve(function() {
|
4159
4108
|
var s = i, a = s.operator, l = s.source;
|
4160
4109
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
4161
4110
|
}), o;
|
@@ -4167,8 +4116,8 @@ var Ft = function() {
|
|
4167
4116
|
}
|
4168
4117
|
}, e.prototype.forEach = function(t, r) {
|
4169
4118
|
var n = this;
|
4170
|
-
return r =
|
4171
|
-
var s = new
|
4119
|
+
return r = Ot(r), new r(function(i, o) {
|
4120
|
+
var s = new Ke({
|
4172
4121
|
next: function(a) {
|
4173
4122
|
try {
|
4174
4123
|
t(a);
|
@@ -4184,15 +4133,15 @@ var Ft = function() {
|
|
4184
4133
|
}, e.prototype._subscribe = function(t) {
|
4185
4134
|
var r;
|
4186
4135
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4187
|
-
}, e.prototype[
|
4136
|
+
}, e.prototype[no] = function() {
|
4188
4137
|
return this;
|
4189
4138
|
}, e.prototype.pipe = function() {
|
4190
4139
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4191
4140
|
t[r] = arguments[r];
|
4192
|
-
return
|
4141
|
+
return oo(t)(this);
|
4193
4142
|
}, e.prototype.toPromise = function(t) {
|
4194
4143
|
var r = this;
|
4195
|
-
return t =
|
4144
|
+
return t = Ot(t), new t(function(n, i) {
|
4196
4145
|
var o;
|
4197
4146
|
r.subscribe(function(s) {
|
4198
4147
|
return o = s;
|
@@ -4206,45 +4155,45 @@ var Ft = function() {
|
|
4206
4155
|
return new e(t);
|
4207
4156
|
}, e;
|
4208
4157
|
}();
|
4209
|
-
function
|
4158
|
+
function Ot(e) {
|
4210
4159
|
var t;
|
4211
|
-
return (t = e
|
4160
|
+
return (t = e ?? Yi.Promise) !== null && t !== void 0 ? t : Promise;
|
4212
4161
|
}
|
4213
|
-
function
|
4214
|
-
return e &&
|
4162
|
+
function so(e) {
|
4163
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
4215
4164
|
}
|
4216
|
-
function
|
4217
|
-
return e && e instanceof
|
4165
|
+
function ao(e) {
|
4166
|
+
return e && e instanceof vr || so(e) && yr(e);
|
4218
4167
|
}
|
4219
|
-
var
|
4168
|
+
var uo = br(function(e) {
|
4220
4169
|
return function() {
|
4221
4170
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4222
4171
|
};
|
4223
|
-
}),
|
4224
|
-
|
4172
|
+
}), _r = function(e) {
|
4173
|
+
U(t, e);
|
4225
4174
|
function t() {
|
4226
4175
|
var r = e.call(this) || this;
|
4227
4176
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4228
4177
|
}
|
4229
4178
|
return t.prototype.lift = function(r) {
|
4230
|
-
var n = new
|
4179
|
+
var n = new It(this, this);
|
4231
4180
|
return n.operator = r, n;
|
4232
4181
|
}, t.prototype._throwIfClosed = function() {
|
4233
4182
|
if (this.closed)
|
4234
|
-
throw new
|
4183
|
+
throw new uo();
|
4235
4184
|
}, t.prototype.next = function(r) {
|
4236
4185
|
var n = this;
|
4237
|
-
|
4186
|
+
ve(function() {
|
4238
4187
|
var i, o;
|
4239
4188
|
if (n._throwIfClosed(), !n.isStopped) {
|
4240
4189
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4241
4190
|
try {
|
4242
|
-
for (var s =
|
4191
|
+
for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4243
4192
|
var l = a.value;
|
4244
4193
|
l.next(r);
|
4245
4194
|
}
|
4246
|
-
} catch (
|
4247
|
-
i = { error:
|
4195
|
+
} catch (h) {
|
4196
|
+
i = { error: h };
|
4248
4197
|
} finally {
|
4249
4198
|
try {
|
4250
4199
|
a && !a.done && (o = s.return) && o.call(s);
|
@@ -4256,7 +4205,7 @@ var To = Cr(function(e) {
|
|
4256
4205
|
});
|
4257
4206
|
}, t.prototype.error = function(r) {
|
4258
4207
|
var n = this;
|
4259
|
-
|
4208
|
+
ve(function() {
|
4260
4209
|
if (n._throwIfClosed(), !n.isStopped) {
|
4261
4210
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
4262
4211
|
for (var i = n.observers; i.length; )
|
@@ -4265,7 +4214,7 @@ var To = Cr(function(e) {
|
|
4265
4214
|
});
|
4266
4215
|
}, t.prototype.complete = function() {
|
4267
4216
|
var r = this;
|
4268
|
-
|
4217
|
+
ve(function() {
|
4269
4218
|
if (r._throwIfClosed(), !r.isStopped) {
|
4270
4219
|
r.isStopped = !0;
|
4271
4220
|
for (var n = r.observers; n.length; )
|
@@ -4287,20 +4236,20 @@ var To = Cr(function(e) {
|
|
4287
4236
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4288
4237
|
}, t.prototype._innerSubscribe = function(r) {
|
4289
4238
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4290
|
-
return o || s ?
|
4291
|
-
n.currentObservers = null,
|
4239
|
+
return o || s ? gr : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4240
|
+
n.currentObservers = null, qe(a, r);
|
4292
4241
|
}));
|
4293
4242
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4294
4243
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4295
4244
|
i ? r.error(o) : s && r.complete();
|
4296
4245
|
}, t.prototype.asObservable = function() {
|
4297
|
-
var r = new
|
4246
|
+
var r = new At();
|
4298
4247
|
return r.source = this, r;
|
4299
4248
|
}, t.create = function(r, n) {
|
4300
|
-
return new
|
4249
|
+
return new It(r, n);
|
4301
4250
|
}, t;
|
4302
|
-
}(
|
4303
|
-
|
4251
|
+
}(At), It = function(e) {
|
4252
|
+
U(t, e);
|
4304
4253
|
function t(r, n) {
|
4305
4254
|
var i = e.call(this) || this;
|
4306
4255
|
return i.destination = r, i.source = n, i;
|
@@ -4316,17 +4265,17 @@ var To = Cr(function(e) {
|
|
4316
4265
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4317
4266
|
}, t.prototype._subscribe = function(r) {
|
4318
4267
|
var n, i;
|
4319
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4268
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
|
4320
4269
|
}, t;
|
4321
|
-
}(
|
4270
|
+
}(_r), xr = {
|
4322
4271
|
now: function() {
|
4323
|
-
return (
|
4272
|
+
return (xr.delegate || Date).now();
|
4324
4273
|
},
|
4325
4274
|
delegate: void 0
|
4326
|
-
},
|
4327
|
-
|
4275
|
+
}, lo = function(e) {
|
4276
|
+
U(t, e);
|
4328
4277
|
function t(r, n, i) {
|
4329
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4278
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
|
4330
4279
|
var o = e.call(this) || this;
|
4331
4280
|
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;
|
4332
4281
|
}
|
@@ -4341,33 +4290,33 @@ var To = Cr(function(e) {
|
|
4341
4290
|
}, t.prototype._trimBuffer = function() {
|
4342
4291
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
4343
4292
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
4344
|
-
for (var l = i.now(),
|
4345
|
-
|
4346
|
-
|
4293
|
+
for (var l = i.now(), h = 0, u = 1; u < o.length && o[u] <= l; u += 2)
|
4294
|
+
h = u;
|
4295
|
+
h && o.splice(0, h + 1);
|
4347
4296
|
}
|
4348
4297
|
}, t;
|
4349
|
-
}(
|
4350
|
-
const
|
4351
|
-
if (
|
4352
|
-
const r = new
|
4353
|
-
|
4298
|
+
}(_r);
|
4299
|
+
const Lt = [], Nt = {}, ho = (e, t = 0) => {
|
4300
|
+
if (Lt.indexOf(e) == -1) {
|
4301
|
+
const r = new lo(t);
|
4302
|
+
Nt[e] = r, Lt.push(e);
|
4354
4303
|
}
|
4355
|
-
return
|
4304
|
+
return Nt[e];
|
4356
4305
|
};
|
4357
|
-
window.emWidgets = { topic:
|
4358
|
-
const
|
4359
|
-
function
|
4360
|
-
|
4306
|
+
window.emWidgets = { topic: ho };
|
4307
|
+
const co = (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));
|
4308
|
+
function fo(e) {
|
4309
|
+
Gr(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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)}}');
|
4361
4310
|
}
|
4362
|
-
function
|
4311
|
+
function Mt(e, t, r) {
|
4363
4312
|
const n = e.slice();
|
4364
4313
|
return n[41] = t[r], n;
|
4365
4314
|
}
|
4366
|
-
function
|
4315
|
+
function Rt(e, t, r) {
|
4367
4316
|
const n = e.slice();
|
4368
4317
|
return n[44] = t[r], n;
|
4369
4318
|
}
|
4370
|
-
function
|
4319
|
+
function po(e) {
|
4371
4320
|
let t, r, n, i = (
|
4372
4321
|
/*type*/
|
4373
4322
|
(e[0] == "vendor" ? (
|
@@ -4377,33 +4326,33 @@ function Ao(e) {
|
|
4377
4326
|
/*$_*/
|
4378
4327
|
e[11]("collections")
|
4379
4328
|
)) + ""
|
4380
|
-
), o, s, a, l,
|
4329
|
+
), o, s, a, l, h, u, c = (
|
4381
4330
|
/*numberOfSlides*/
|
4382
4331
|
e[8] > /*numberOfVisibleSlides*/
|
4383
|
-
e[9] &&
|
4384
|
-
), f =
|
4332
|
+
e[9] && $t(e)
|
4333
|
+
), f = Se(
|
4385
4334
|
/*gameCategories*/
|
4386
4335
|
e[3]
|
4387
|
-
),
|
4336
|
+
), m = [];
|
4388
4337
|
for (let d = 0; d < f.length; d += 1)
|
4389
|
-
|
4338
|
+
m[d] = Dt(Mt(e, f, d));
|
4390
4339
|
return {
|
4391
4340
|
c() {
|
4392
|
-
t =
|
4393
|
-
for (let d = 0; d <
|
4394
|
-
|
4395
|
-
|
4341
|
+
t = H("div"), r = H("div"), n = H("p"), o = He(i), s = F(), c && c.c(), a = F(), l = H("div");
|
4342
|
+
for (let d = 0; d < m.length; d += 1)
|
4343
|
+
m[d].c();
|
4344
|
+
E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(l, "class", "CategoriesSlider"), Ee(() => (
|
4396
4345
|
/*div1_elementresize_handler*/
|
4397
4346
|
e[27].call(l)
|
4398
|
-
)),
|
4347
|
+
)), E(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
4399
4348
|
(e[10] ? "Mobile" : "") + " " + /*type*/
|
4400
4349
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4401
4350
|
},
|
4402
4351
|
m(d, g) {
|
4403
|
-
|
4404
|
-
for (let
|
4405
|
-
p
|
4406
|
-
e[26](l),
|
4352
|
+
R(d, t, g), T(t, r), T(r, n), T(n, o), T(r, s), c && c.m(r, null), T(t, a), T(t, l);
|
4353
|
+
for (let p = 0; p < m.length; p += 1)
|
4354
|
+
m[p] && m[p].m(l, null);
|
4355
|
+
e[26](l), h = Vr(
|
4407
4356
|
l,
|
4408
4357
|
/*div1_elementresize_handler*/
|
4409
4358
|
e[27].bind(l)
|
@@ -4418,63 +4367,63 @@ function Ao(e) {
|
|
4418
4367
|
) : (
|
4419
4368
|
/*$_*/
|
4420
4369
|
d[11]("collections")
|
4421
|
-
)) + "") &&
|
4370
|
+
)) + "") && tt(o, i), /*numberOfSlides*/
|
4422
4371
|
d[8] > /*numberOfVisibleSlides*/
|
4423
|
-
d[9] ? c ? c.p(d, g) : (c =
|
4372
|
+
d[9] ? c ? c.p(d, g) : (c = $t(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4424
4373
|
49166) {
|
4425
|
-
f =
|
4374
|
+
f = Se(
|
4426
4375
|
/*gameCategories*/
|
4427
4376
|
d[3]
|
4428
4377
|
);
|
4429
|
-
let
|
4430
|
-
for (
|
4431
|
-
const
|
4432
|
-
p
|
4378
|
+
let p;
|
4379
|
+
for (p = 0; p < f.length; p += 1) {
|
4380
|
+
const S = Mt(d, f, p);
|
4381
|
+
m[p] ? m[p].p(S, g) : (m[p] = Dt(S), m[p].c(), m[p].m(l, null));
|
4433
4382
|
}
|
4434
|
-
for (;
|
4435
|
-
p
|
4436
|
-
|
4383
|
+
for (; p < m.length; p += 1)
|
4384
|
+
m[p].d(1);
|
4385
|
+
m.length = f.length;
|
4437
4386
|
}
|
4438
4387
|
g[0] & /*mobile, type*/
|
4439
|
-
1025 &&
|
4388
|
+
1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
4440
4389
|
(d[10] ? "Mobile" : "") + " " + /*type*/
|
4441
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4390
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
|
4442
4391
|
},
|
4443
4392
|
d(d) {
|
4444
|
-
d &&
|
4393
|
+
d && N(t), c && c.d(), Vt(m, d), e[26](null), h();
|
4445
4394
|
}
|
4446
4395
|
};
|
4447
4396
|
}
|
4448
|
-
function
|
4397
|
+
function mo(e) {
|
4449
4398
|
let t;
|
4450
4399
|
return {
|
4451
4400
|
c() {
|
4452
|
-
t =
|
4401
|
+
t = H("div"), E(t, "class", "LoadingSpinner");
|
4453
4402
|
},
|
4454
4403
|
m(r, n) {
|
4455
|
-
|
4404
|
+
R(r, t, n);
|
4456
4405
|
},
|
4457
|
-
p:
|
4406
|
+
p: I,
|
4458
4407
|
d(r) {
|
4459
|
-
r &&
|
4408
|
+
r && N(t);
|
4460
4409
|
}
|
4461
4410
|
};
|
4462
4411
|
}
|
4463
|
-
function
|
4412
|
+
function $t(e) {
|
4464
4413
|
let t, r, n, i, o, s;
|
4465
4414
|
return {
|
4466
4415
|
c() {
|
4467
|
-
t =
|
4416
|
+
t = H("div"), r = H("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 = F(), i = H("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>', E(t, "class", "ButtonsContainer");
|
4468
4417
|
},
|
4469
4418
|
m(a, l) {
|
4470
|
-
|
4471
|
-
|
4419
|
+
R(a, t, l), T(t, r), T(t, n), T(t, i), o || (s = [
|
4420
|
+
Q(
|
4472
4421
|
r,
|
4473
4422
|
"click",
|
4474
4423
|
/*click_handler*/
|
4475
4424
|
e[22]
|
4476
4425
|
),
|
4477
|
-
|
4426
|
+
Q(
|
4478
4427
|
i,
|
4479
4428
|
"click",
|
4480
4429
|
/*click_handler_1*/
|
@@ -4482,85 +4431,85 @@ function Zt(e) {
|
|
4482
4431
|
)
|
4483
4432
|
], o = !0);
|
4484
4433
|
},
|
4485
|
-
p:
|
4434
|
+
p: I,
|
4486
4435
|
d(a) {
|
4487
|
-
a &&
|
4436
|
+
a && N(t), o = !1, ee(s);
|
4488
4437
|
}
|
4489
4438
|
};
|
4490
4439
|
}
|
4491
|
-
function
|
4440
|
+
function bo(e) {
|
4492
4441
|
let t, r = (
|
4493
4442
|
/*category*/
|
4494
4443
|
e[41].name + ""
|
4495
4444
|
), n;
|
4496
4445
|
return {
|
4497
4446
|
c() {
|
4498
|
-
t =
|
4447
|
+
t = H("p"), n = He(r), E(t, "class", "CategorySlideTitle");
|
4499
4448
|
},
|
4500
4449
|
m(i, o) {
|
4501
|
-
|
4450
|
+
R(i, t, o), T(t, n);
|
4502
4451
|
},
|
4503
4452
|
p(i, o) {
|
4504
4453
|
o[0] & /*gameCategories*/
|
4505
4454
|
8 && r !== (r = /*category*/
|
4506
|
-
i[41].name + "") &&
|
4455
|
+
i[41].name + "") && tt(n, r);
|
4507
4456
|
},
|
4508
4457
|
d(i) {
|
4509
|
-
i &&
|
4458
|
+
i && N(t);
|
4510
4459
|
}
|
4511
4460
|
};
|
4512
4461
|
}
|
4513
|
-
function
|
4462
|
+
function go(e) {
|
4514
4463
|
let t, r, n;
|
4515
4464
|
return {
|
4516
4465
|
c() {
|
4517
|
-
t =
|
4518
|
-
e[41].icon) ||
|
4466
|
+
t = H("img"), E(t, "class", "CategorySlideLogo"), _e(t.src, r = /*category*/
|
4467
|
+
e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
|
4519
4468
|
e[41].name + " icon");
|
4520
4469
|
},
|
4521
4470
|
m(i, o) {
|
4522
|
-
|
4471
|
+
R(i, t, o);
|
4523
4472
|
},
|
4524
4473
|
p(i, o) {
|
4525
4474
|
o[0] & /*gameCategories*/
|
4526
|
-
8 && !
|
4527
|
-
i[41].icon) &&
|
4475
|
+
8 && !_e(t.src, r = /*category*/
|
4476
|
+
i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
|
4528
4477
|
8 && n !== (n = /*category*/
|
4529
|
-
i[41].name + " icon") &&
|
4478
|
+
i[41].name + " icon") && E(t, "alt", n);
|
4530
4479
|
},
|
4531
4480
|
d(i) {
|
4532
|
-
i &&
|
4481
|
+
i && N(t);
|
4533
4482
|
}
|
4534
4483
|
};
|
4535
4484
|
}
|
4536
|
-
function
|
4485
|
+
function Gt(e) {
|
4537
4486
|
let t, r = (
|
4538
4487
|
/*game*/
|
4539
4488
|
e[44].name + ""
|
4540
4489
|
), n, i;
|
4541
4490
|
return {
|
4542
4491
|
c() {
|
4543
|
-
t =
|
4492
|
+
t = H("p"), n = He(r), E(t, "title", i = /*game*/
|
4544
4493
|
e[44].name);
|
4545
4494
|
},
|
4546
4495
|
m(o, s) {
|
4547
|
-
|
4496
|
+
R(o, t, s), T(t, n);
|
4548
4497
|
},
|
4549
4498
|
p(o, s) {
|
4550
4499
|
s[0] & /*gameCategories*/
|
4551
4500
|
8 && r !== (r = /*game*/
|
4552
|
-
o[44].name + "") &&
|
4501
|
+
o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
|
4553
4502
|
8 && i !== (i = /*game*/
|
4554
|
-
o[44].name) &&
|
4503
|
+
o[44].name) && E(t, "title", i);
|
4555
4504
|
},
|
4556
4505
|
d(o) {
|
4557
|
-
o &&
|
4506
|
+
o && N(t);
|
4558
4507
|
}
|
4559
4508
|
};
|
4560
4509
|
}
|
4561
|
-
function
|
4510
|
+
function Ut(e) {
|
4562
4511
|
let t, r, n, i, o, s, a, l;
|
4563
|
-
function
|
4512
|
+
function h() {
|
4564
4513
|
return (
|
4565
4514
|
/*click_handler_2*/
|
4566
4515
|
e[24](
|
@@ -4569,50 +4518,50 @@ function Jt(e) {
|
|
4569
4518
|
)
|
4570
4519
|
);
|
4571
4520
|
}
|
4572
|
-
let
|
4521
|
+
let u = (
|
4573
4522
|
/*collectionprovidersgamenames*/
|
4574
|
-
e[2] == "true" &&
|
4523
|
+
e[2] == "true" && Gt(e)
|
4575
4524
|
);
|
4576
4525
|
return {
|
4577
4526
|
c() {
|
4578
|
-
t =
|
4579
|
-
e[44].defaultThumbnail) ||
|
4580
|
-
e[44].name),
|
4527
|
+
t = H("div"), r = H("img"), o = F(), u && u.c(), s = F(), E(r, "class", "CategorySlideGameImage"), _e(r.src, n = /*game*/
|
4528
|
+
e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
|
4529
|
+
e[44].name), E(t, "class", "CategorySlideGames");
|
4581
4530
|
},
|
4582
4531
|
m(c, f) {
|
4583
|
-
|
4532
|
+
R(c, t, f), T(t, r), T(t, o), u && u.m(t, null), T(t, s), a || (l = Q(r, "click", Fr(h)), a = !0);
|
4584
4533
|
},
|
4585
4534
|
p(c, f) {
|
4586
4535
|
e = c, f[0] & /*gameCategories*/
|
4587
|
-
8 && !
|
4588
|
-
e[44].defaultThumbnail) &&
|
4536
|
+
8 && !_e(r.src, n = /*game*/
|
4537
|
+
e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
|
4589
4538
|
8 && i !== (i = /*game*/
|
4590
|
-
e[44].name) &&
|
4591
|
-
e[2] == "true" ?
|
4539
|
+
e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
|
4540
|
+
e[2] == "true" ? u ? u.p(e, f) : (u = Gt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
|
4592
4541
|
},
|
4593
4542
|
d(c) {
|
4594
|
-
c &&
|
4543
|
+
c && N(t), u && u.d(), a = !1, l();
|
4595
4544
|
}
|
4596
4545
|
};
|
4597
4546
|
}
|
4598
|
-
function
|
4599
|
-
let t, r, n, i, o, s, a, l,
|
4600
|
-
function
|
4547
|
+
function Dt(e) {
|
4548
|
+
let t, r, n, i, o, s, a, l, h;
|
4549
|
+
function u(p, S) {
|
4601
4550
|
if (
|
4602
4551
|
/*titletype*/
|
4603
|
-
|
4604
|
-
) return
|
4552
|
+
p[1] == "logo"
|
4553
|
+
) return go;
|
4605
4554
|
if (
|
4606
4555
|
/*titletype*/
|
4607
|
-
|
4608
|
-
) return
|
4556
|
+
p[1] == "title"
|
4557
|
+
) return bo;
|
4609
4558
|
}
|
4610
|
-
let c =
|
4559
|
+
let c = u(e), f = c && c(e), m = Se(
|
4611
4560
|
/*category*/
|
4612
4561
|
e[41].games
|
4613
4562
|
), d = [];
|
4614
|
-
for (let
|
4615
|
-
d[
|
4563
|
+
for (let p = 0; p < m.length; p += 1)
|
4564
|
+
d[p] = Ut(Rt(e, m, p));
|
4616
4565
|
function g() {
|
4617
4566
|
return (
|
4618
4567
|
/*click_handler_3*/
|
@@ -4624,134 +4573,129 @@ function Yt(e) {
|
|
4624
4573
|
}
|
4625
4574
|
return {
|
4626
4575
|
c() {
|
4627
|
-
|
4628
|
-
|
4629
|
-
|
4630
|
-
|
4631
|
-
|
4632
|
-
|
4633
|
-
((E = e[41]) == null ? void 0 : E.background) + ")"), Ne(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
|
4576
|
+
t = H("div"), r = H("div"), n = H("div"), f && f.c(), i = F(), o = H("div");
|
4577
|
+
for (let p = 0; p < d.length; p += 1)
|
4578
|
+
d[p].c();
|
4579
|
+
a = F(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
|
4580
|
+
(e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
|
4581
|
+
e[41]?.background + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
|
4634
4582
|
},
|
4635
|
-
m(
|
4636
|
-
|
4637
|
-
for (let
|
4638
|
-
d[
|
4639
|
-
|
4583
|
+
m(p, S) {
|
4584
|
+
R(p, t, S), T(t, r), T(r, n), f && f.m(n, null), T(r, i), T(r, o);
|
4585
|
+
for (let _ = 0; _ < d.length; _ += 1)
|
4586
|
+
d[_] && d[_].m(o, null);
|
4587
|
+
T(t, a), l || (h = Q(r, "click", g), l = !0);
|
4640
4588
|
},
|
4641
|
-
p(
|
4642
|
-
|
4643
|
-
if (e = m, c === (c = h(e)) && f ? f.p(e, E) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4589
|
+
p(p, S) {
|
4590
|
+
if (e = p, c === (c = u(e)) && f ? f.p(e, S) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), S[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4644
4591
|
16396) {
|
4645
|
-
|
4592
|
+
m = Se(
|
4646
4593
|
/*category*/
|
4647
4594
|
e[41].games
|
4648
4595
|
);
|
4649
|
-
let
|
4650
|
-
for (
|
4651
|
-
const P =
|
4652
|
-
d[
|
4596
|
+
let _;
|
4597
|
+
for (_ = 0; _ < m.length; _ += 1) {
|
4598
|
+
const P = Rt(e, m, _);
|
4599
|
+
d[_] ? d[_].p(P, S) : (d[_] = Ut(P), d[_].c(), d[_].m(o, null));
|
4653
4600
|
}
|
4654
|
-
for (;
|
4655
|
-
d[
|
4656
|
-
d.length =
|
4601
|
+
for (; _ < d.length; _ += 1)
|
4602
|
+
d[_].d(1);
|
4603
|
+
d.length = m.length;
|
4657
4604
|
}
|
4658
|
-
|
4605
|
+
S[0] & /*gameCategories*/
|
4659
4606
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4660
|
-
(
|
4661
|
-
8 &&
|
4662
|
-
|
4607
|
+
(e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), S[0] & /*gameCategories*/
|
4608
|
+
8 && Ie(r, "background-image", "url(" + /*category*/
|
4609
|
+
e[41]?.background + ")");
|
4663
4610
|
},
|
4664
|
-
d(
|
4665
|
-
|
4611
|
+
d(p) {
|
4612
|
+
p && N(t), f && f.d(), Vt(d, p), l = !1, h();
|
4666
4613
|
}
|
4667
4614
|
};
|
4668
4615
|
}
|
4669
|
-
function
|
4616
|
+
function yo(e) {
|
4670
4617
|
let t;
|
4671
4618
|
function r(o, s) {
|
4672
4619
|
return (
|
4673
4620
|
/*isLoading*/
|
4674
|
-
o[7] ?
|
4621
|
+
o[7] ? mo : po
|
4675
4622
|
);
|
4676
4623
|
}
|
4677
4624
|
let n = r(e), i = n(e);
|
4678
4625
|
return {
|
4679
4626
|
c() {
|
4680
|
-
t =
|
4627
|
+
t = H("div"), i.c();
|
4681
4628
|
},
|
4682
4629
|
m(o, s) {
|
4683
|
-
|
4630
|
+
R(o, t, s), i.m(t, null), e[28](t);
|
4684
4631
|
},
|
4685
4632
|
p(o, s) {
|
4686
4633
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
4687
4634
|
},
|
4688
|
-
i:
|
4689
|
-
o:
|
4635
|
+
i: I,
|
4636
|
+
o: I,
|
4690
4637
|
d(o) {
|
4691
|
-
o &&
|
4638
|
+
o && N(t), i.d(), e[28](null);
|
4692
4639
|
}
|
4693
4640
|
};
|
4694
4641
|
}
|
4695
|
-
function
|
4642
|
+
function vo(e, t, r) {
|
4696
4643
|
let n;
|
4697
|
-
|
4698
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling:
|
4699
|
-
const
|
4700
|
-
fetch(c).then((
|
4701
|
-
Object.keys(
|
4702
|
-
|
4644
|
+
$r(e, Qi, (b) => r(11, n = b));
|
4645
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, m = [], d = !0, g, p = 0, S = 0, _ = 0, P, $, B, j = window.navigator.userAgent, ie, oe = 0;
|
4646
|
+
const Er = () => {
|
4647
|
+
fetch(c).then((C) => C.json()).then((C) => {
|
4648
|
+
Object.keys(C).forEach((O) => {
|
4649
|
+
Ht(O, C[O]);
|
4703
4650
|
});
|
4704
|
-
}).catch((
|
4705
|
-
console.log(
|
4651
|
+
}).catch((C) => {
|
4652
|
+
console.log(C);
|
4706
4653
|
});
|
4707
4654
|
};
|
4708
|
-
Object.keys(
|
4709
|
-
|
4655
|
+
Object.keys(Ct).forEach((b) => {
|
4656
|
+
Ht(b, Ct[b]);
|
4710
4657
|
});
|
4711
|
-
const
|
4658
|
+
const Sr = () => {
|
4712
4659
|
const b = new URL(`${i}/v2/casino/groups/${o}`);
|
4713
|
-
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((
|
4660
|
+
b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((C) => C.json()).then((C) => {
|
4714
4661
|
r(7, d = !1);
|
4715
|
-
let
|
4716
|
-
r(3,
|
4717
|
-
|
4718
|
-
|
4719
|
-
|
4720
|
-
|
4721
|
-
|
4722
|
-
|
4723
|
-
|
4724
|
-
flag: N.flags
|
4725
|
-
};
|
4726
|
-
})), r(8, E = p.length);
|
4662
|
+
let O = C.items.filter((L) => L.flags == a);
|
4663
|
+
r(3, m = O.map((L) => ({
|
4664
|
+
id: L.id,
|
4665
|
+
name: L.name,
|
4666
|
+
icon: L.icon ? L.icon : L.vendors?.items[0]?.subVendors[0]?.logo,
|
4667
|
+
games: L.games.items.slice(0, 4).map((Mr) => Mr),
|
4668
|
+
background: L.background,
|
4669
|
+
flag: L.flags
|
4670
|
+
}))), r(8, S = m.length);
|
4727
4671
|
});
|
4728
|
-
},
|
4729
|
-
|
4730
|
-
|
4731
|
-
}),
|
4732
|
-
},
|
4733
|
-
r(9,
|
4734
|
-
},
|
4735
|
-
|
4736
|
-
},
|
4737
|
-
|
4738
|
-
},
|
4739
|
-
|
4740
|
-
},
|
4672
|
+
}, ot = (b) => {
|
4673
|
+
$ = [...g.children], $.forEach((C, O) => {
|
4674
|
+
C.style.transform = `translateX(${100 * (b ? O - b : O)}%)`;
|
4675
|
+
}), P = $[0].getBoundingClientRect().width, wr();
|
4676
|
+
}, wr = () => {
|
4677
|
+
r(9, _ = Math.floor(oe / P));
|
4678
|
+
}, st = () => {
|
4679
|
+
ot(p);
|
4680
|
+
}, at = () => {
|
4681
|
+
p === 0 ? p = S - _ : p - _ < -1 ? p = 0 : p--, st();
|
4682
|
+
}, ut = () => {
|
4683
|
+
p === S - _ ? p = 0 : S - _ < p + 1 ? p = S - _ : p++, st();
|
4684
|
+
}, lt = (b, C, O, L) => {
|
4741
4685
|
window.postMessage(
|
4742
4686
|
{
|
4743
4687
|
type: "OpenCollectionsProvidersGame",
|
4744
4688
|
gameId: b,
|
4745
|
-
launchUrl:
|
4746
|
-
gameName:
|
4747
|
-
subVendor:
|
4689
|
+
launchUrl: C,
|
4690
|
+
gameName: O,
|
4691
|
+
subVendor: L
|
4748
4692
|
},
|
4749
4693
|
window.location.href
|
4750
4694
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
4751
4695
|
context: "CollectionsProviders",
|
4752
|
-
gameName: `${
|
4696
|
+
gameName: `${O}`
|
4753
4697
|
});
|
4754
|
-
},
|
4698
|
+
}, ht = (b) => {
|
4755
4699
|
window.postMessage(
|
4756
4700
|
{
|
4757
4701
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4759,89 +4703,89 @@ function Mo(e, t, r) {
|
|
4759
4703
|
},
|
4760
4704
|
window.location.href
|
4761
4705
|
);
|
4762
|
-
},
|
4763
|
-
|
4764
|
-
},
|
4706
|
+
}, Tr = () => {
|
4707
|
+
Ji(s);
|
4708
|
+
}, Hr = () => {
|
4765
4709
|
let b = document.createElement("style");
|
4766
|
-
b.innerHTML =
|
4767
|
-
},
|
4768
|
-
let b = new URL(
|
4769
|
-
fetch(b.href).then((
|
4770
|
-
|
4710
|
+
b.innerHTML = h, B.appendChild(b);
|
4711
|
+
}, Cr = () => {
|
4712
|
+
let b = new URL(u), C = document.createElement("style");
|
4713
|
+
fetch(b.href).then((O) => O.text()).then((O) => {
|
4714
|
+
C.innerHTML = O, setTimeout(
|
4771
4715
|
() => {
|
4772
|
-
|
4716
|
+
B.appendChild(C);
|
4773
4717
|
},
|
4774
4718
|
1
|
4775
4719
|
);
|
4776
4720
|
});
|
4777
4721
|
};
|
4778
|
-
|
4779
|
-
r(10,
|
4722
|
+
zr(() => {
|
4723
|
+
r(10, ie = co(j));
|
4780
4724
|
});
|
4781
|
-
const
|
4782
|
-
function
|
4725
|
+
const Pr = () => at(), Br = () => ut(), Ar = (b) => lt(b.gameId, b.launchUrl, b.name, b.subVendor), Or = (b) => ht(b.id);
|
4726
|
+
function Ir(b) {
|
4783
4727
|
xe[b ? "unshift" : "push"](() => {
|
4784
4728
|
g = b, r(4, g);
|
4785
4729
|
});
|
4786
4730
|
}
|
4787
|
-
function
|
4788
|
-
|
4731
|
+
function Lr() {
|
4732
|
+
oe = this.clientWidth, r(6, oe);
|
4789
4733
|
}
|
4790
|
-
function
|
4734
|
+
function Nr(b) {
|
4791
4735
|
xe[b ? "unshift" : "push"](() => {
|
4792
|
-
|
4736
|
+
B = b, r(5, B);
|
4793
4737
|
});
|
4794
4738
|
}
|
4795
4739
|
return e.$$set = (b) => {
|
4796
|
-
"endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19,
|
4740
|
+
"endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, u = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
|
4797
4741
|
}, e.$$.update = () => {
|
4798
4742
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4799
|
-
458752 && i && o && s &&
|
4800
|
-
88 &&
|
4801
|
-
262144 && s &&
|
4802
|
-
524320 &&
|
4803
|
-
1048608 &&
|
4804
|
-
2097152 && c &&
|
4743
|
+
458752 && i && o && s && Sr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
4744
|
+
88 && oe && m && g && ot(), e.$$.dirty[0] & /*lang*/
|
4745
|
+
262144 && s && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4746
|
+
524320 && h && B && Hr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4747
|
+
1048608 && u && B && Cr(), e.$$.dirty[0] & /*translationurl*/
|
4748
|
+
2097152 && c && Er();
|
4805
4749
|
}, [
|
4806
4750
|
a,
|
4807
4751
|
l,
|
4808
4752
|
f,
|
4809
|
-
|
4753
|
+
m,
|
4810
4754
|
g,
|
4811
|
-
|
4812
|
-
|
4755
|
+
B,
|
4756
|
+
oe,
|
4813
4757
|
d,
|
4814
|
-
E,
|
4815
4758
|
S,
|
4816
|
-
|
4759
|
+
_,
|
4760
|
+
ie,
|
4817
4761
|
n,
|
4818
|
-
|
4819
|
-
|
4820
|
-
|
4821
|
-
|
4762
|
+
at,
|
4763
|
+
ut,
|
4764
|
+
lt,
|
4765
|
+
ht,
|
4822
4766
|
i,
|
4823
4767
|
o,
|
4824
4768
|
s,
|
4825
|
-
u,
|
4826
4769
|
h,
|
4770
|
+
u,
|
4827
4771
|
c,
|
4828
|
-
|
4829
|
-
|
4830
|
-
|
4831
|
-
|
4832
|
-
|
4833
|
-
|
4834
|
-
|
4772
|
+
Pr,
|
4773
|
+
Br,
|
4774
|
+
Ar,
|
4775
|
+
Or,
|
4776
|
+
Ir,
|
4777
|
+
Lr,
|
4778
|
+
Nr
|
4835
4779
|
];
|
4836
4780
|
}
|
4837
|
-
class
|
4781
|
+
class _o extends sn {
|
4838
4782
|
constructor(t) {
|
4839
|
-
super(),
|
4783
|
+
super(), nn(
|
4840
4784
|
this,
|
4841
4785
|
t,
|
4842
|
-
|
4843
|
-
|
4844
|
-
|
4786
|
+
vo,
|
4787
|
+
yo,
|
4788
|
+
kt,
|
4845
4789
|
{
|
4846
4790
|
endpoint: 16,
|
4847
4791
|
datasource: 17,
|
@@ -4853,7 +4797,7 @@ class Ro extends Sn {
|
|
4853
4797
|
translationurl: 21,
|
4854
4798
|
collectionprovidersgamenames: 2
|
4855
4799
|
},
|
4856
|
-
|
4800
|
+
fo,
|
4857
4801
|
[-1, -1]
|
4858
4802
|
);
|
4859
4803
|
}
|
@@ -4861,58 +4805,58 @@ class Ro extends Sn {
|
|
4861
4805
|
return this.$$.ctx[16];
|
4862
4806
|
}
|
4863
4807
|
set endpoint(t) {
|
4864
|
-
this.$$set({ endpoint: t }),
|
4808
|
+
this.$$set({ endpoint: t }), M();
|
4865
4809
|
}
|
4866
4810
|
get datasource() {
|
4867
4811
|
return this.$$.ctx[17];
|
4868
4812
|
}
|
4869
4813
|
set datasource(t) {
|
4870
|
-
this.$$set({ datasource: t }),
|
4814
|
+
this.$$set({ datasource: t }), M();
|
4871
4815
|
}
|
4872
4816
|
get lang() {
|
4873
4817
|
return this.$$.ctx[18];
|
4874
4818
|
}
|
4875
4819
|
set lang(t) {
|
4876
|
-
this.$$set({ lang: t }),
|
4820
|
+
this.$$set({ lang: t }), M();
|
4877
4821
|
}
|
4878
4822
|
get type() {
|
4879
4823
|
return this.$$.ctx[0];
|
4880
4824
|
}
|
4881
4825
|
set type(t) {
|
4882
|
-
this.$$set({ type: t }),
|
4826
|
+
this.$$set({ type: t }), M();
|
4883
4827
|
}
|
4884
4828
|
get titletype() {
|
4885
4829
|
return this.$$.ctx[1];
|
4886
4830
|
}
|
4887
4831
|
set titletype(t) {
|
4888
|
-
this.$$set({ titletype: t }),
|
4832
|
+
this.$$set({ titletype: t }), M();
|
4889
4833
|
}
|
4890
4834
|
get clientstyling() {
|
4891
4835
|
return this.$$.ctx[19];
|
4892
4836
|
}
|
4893
4837
|
set clientstyling(t) {
|
4894
|
-
this.$$set({ clientstyling: t }),
|
4838
|
+
this.$$set({ clientstyling: t }), M();
|
4895
4839
|
}
|
4896
4840
|
get clientstylingurl() {
|
4897
4841
|
return this.$$.ctx[20];
|
4898
4842
|
}
|
4899
4843
|
set clientstylingurl(t) {
|
4900
|
-
this.$$set({ clientstylingurl: t }),
|
4844
|
+
this.$$set({ clientstylingurl: t }), M();
|
4901
4845
|
}
|
4902
4846
|
get translationurl() {
|
4903
4847
|
return this.$$.ctx[21];
|
4904
4848
|
}
|
4905
4849
|
set translationurl(t) {
|
4906
|
-
this.$$set({ translationurl: t }),
|
4850
|
+
this.$$set({ translationurl: t }), M();
|
4907
4851
|
}
|
4908
4852
|
get collectionprovidersgamenames() {
|
4909
4853
|
return this.$$.ctx[2];
|
4910
4854
|
}
|
4911
4855
|
set collectionprovidersgamenames(t) {
|
4912
|
-
this.$$set({ collectionprovidersgamenames: t }),
|
4856
|
+
this.$$set({ collectionprovidersgamenames: t }), M();
|
4913
4857
|
}
|
4914
4858
|
}
|
4915
|
-
|
4859
|
+
on(_o, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
|
4916
4860
|
export {
|
4917
|
-
|
4861
|
+
_o as C
|
4918
4862
|
};
|