@everymatrix/casino-collections-providers 1.54.0 → 1.54.4
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-Cxk8-E4F.js → CasinoCollectionsProviders-BnM-htYb.js} +1114 -1156
- package/esnext/casino-collections-providers.js +14 -0
- package/package.json +10 -8
- package/components/CasinoCollectionsProviders-revZjxj6.cjs +0 -5
- package/es2015/casino-collections-providers.cjs +0 -1
- package/es2015/casino-collections-providers.js +0 -16
package/components/{CasinoCollectionsProviders-Cxk8-E4F.js → CasinoCollectionsProviders-BnM-htYb.js}
RENAMED
@@ -1,79 +1,50 @@
|
|
1
|
-
|
2
|
-
var zr = Object.getOwnPropertyDescriptors;
|
3
|
-
var bt = Object.getOwnPropertySymbols;
|
4
|
-
var Zr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable;
|
5
|
-
var Le = (e, t, r) => t in e ? Xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
6
|
-
for (var r in t || (t = {}))
|
7
|
-
Zr.call(t, r) && Le(e, r, t[r]);
|
8
|
-
if (bt)
|
9
|
-
for (var r of bt(t))
|
10
|
-
Qr.call(t, r) && Le(e, r, t[r]);
|
11
|
-
return e;
|
12
|
-
}, yt = (e, t) => Wr(e, zr(t));
|
13
|
-
var M = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
-
var vt = (e, t, r) => new Promise((n, i) => {
|
15
|
-
var o = (u) => {
|
16
|
-
try {
|
17
|
-
a(r.next(u));
|
18
|
-
} catch (l) {
|
19
|
-
i(l);
|
20
|
-
}
|
21
|
-
}, s = (u) => {
|
22
|
-
try {
|
23
|
-
a(r.throw(u));
|
24
|
-
} catch (l) {
|
25
|
-
i(l);
|
26
|
-
}
|
27
|
-
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.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,36 +53,36 @@ function Kr(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
|
};
|
@@ -119,38 +90,38 @@ function tn(e) {
|
|
119
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 on(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 */
|
@@ -172,248 +143,244 @@ function sn(e) {
|
|
172
143
|
}
|
173
144
|
), t;
|
174
145
|
}
|
175
|
-
let
|
176
|
-
function
|
177
|
-
|
146
|
+
let ue;
|
147
|
+
function ae(e) {
|
148
|
+
ue = e;
|
178
149
|
}
|
179
|
-
function
|
180
|
-
if (!
|
181
|
-
return
|
150
|
+
function Wr() {
|
151
|
+
if (!ue) throw new Error("Function called outside component initialization");
|
152
|
+
return ue;
|
182
153
|
}
|
183
|
-
function
|
184
|
-
|
154
|
+
function zr(e) {
|
155
|
+
Wr().$$.on_mount.push(e);
|
185
156
|
}
|
186
|
-
const
|
187
|
-
let
|
188
|
-
const
|
189
|
-
let
|
190
|
-
function
|
191
|
-
|
157
|
+
const W = [], xe = [];
|
158
|
+
let z = [];
|
159
|
+
const ft = [], Zr = /* @__PURE__ */ Promise.resolve();
|
160
|
+
let De = !1;
|
161
|
+
function Qr() {
|
162
|
+
De || (De = !0, Zr.then(M));
|
192
163
|
}
|
193
|
-
function
|
194
|
-
|
164
|
+
function Ee(e) {
|
165
|
+
z.push(e);
|
195
166
|
}
|
196
|
-
const
|
197
|
-
let
|
198
|
-
function
|
199
|
-
if (
|
167
|
+
const Le = /* @__PURE__ */ new Set();
|
168
|
+
let V = 0;
|
169
|
+
function M() {
|
170
|
+
if (V !== 0)
|
200
171
|
return;
|
201
|
-
const e =
|
172
|
+
const e = ue;
|
202
173
|
do {
|
203
174
|
try {
|
204
|
-
for (;
|
205
|
-
const t =
|
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
|
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
|
-
|
217
|
-
} while (
|
218
|
-
for (;
|
219
|
-
|
220
|
-
|
187
|
+
z.length = 0;
|
188
|
+
} while (W.length);
|
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 && (
|
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
|
255
|
-
const
|
256
|
-
|
257
|
-
const
|
225
|
+
function nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
226
|
+
const l = ue;
|
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: [],
|
268
239
|
on_disconnect: [],
|
269
240
|
before_update: [],
|
270
241
|
after_update: [],
|
271
|
-
context: new Map(t.context || (
|
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
|
-
root: t.target ||
|
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
|
}
|
@@ -457,43 +424,39 @@ function vn(e, t, r, n, i, o) {
|
|
457
424
|
get() {
|
458
425
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
459
426
|
},
|
460
|
-
set(
|
461
|
-
|
462
|
-
u = ge(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
427
|
+
set(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 (u = this.$$c) == null ? void 0 : u[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 _n {
|
|
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 _n {
|
|
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
|
535
|
-
for (const
|
536
|
-
|
537
|
-
if (
|
538
|
-
for (let
|
539
|
-
|
540
|
-
|
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);
|
500
|
+
if (l) {
|
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,
|
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
|
561
|
-
let
|
562
|
-
const
|
563
|
-
let
|
523
|
+
return un(r, (s, a) => {
|
524
|
+
let l = !1;
|
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
|
-
return
|
582
|
-
|
544
|
+
return l = !0, f(), function() {
|
545
|
+
ee(m), c(), l = !1;
|
583
546
|
};
|
584
547
|
});
|
585
548
|
}
|
586
|
-
function
|
549
|
+
function ln(e) {
|
587
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 Un(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 Ve(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,45 +680,45 @@ function Xe(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
|
-
},
|
721
|
+
}, On = (
|
759
722
|
/** @class */
|
760
723
|
function() {
|
761
724
|
function e() {
|
@@ -767,13 +730,13 @@ var Vn = function() {
|
|
767
730
|
this.cache[t] = r;
|
768
731
|
}, e;
|
769
732
|
}()
|
770
|
-
),
|
733
|
+
), In = {
|
771
734
|
create: function() {
|
772
|
-
return new
|
735
|
+
return new On();
|
773
736
|
}
|
774
|
-
},
|
775
|
-
variadic:
|
776
|
-
monadic:
|
737
|
+
}, Me = {
|
738
|
+
variadic: Pn,
|
739
|
+
monadic: Bn
|
777
740
|
}, y;
|
778
741
|
(function(e) {
|
779
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";
|
@@ -782,47 +745,47 @@ var w;
|
|
782
745
|
(function(e) {
|
783
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";
|
784
747
|
})(w || (w = {}));
|
785
|
-
var
|
748
|
+
var Y;
|
786
749
|
(function(e) {
|
787
750
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
788
|
-
})(
|
789
|
-
function
|
751
|
+
})(Y || (Y = {}));
|
752
|
+
function pt(e) {
|
790
753
|
return e.type === w.literal;
|
791
754
|
}
|
792
|
-
function
|
755
|
+
function Ln(e) {
|
793
756
|
return e.type === w.argument;
|
794
757
|
}
|
795
|
-
function
|
758
|
+
function Qt(e) {
|
796
759
|
return e.type === w.number;
|
797
760
|
}
|
798
|
-
function
|
761
|
+
function Jt(e) {
|
799
762
|
return e.type === w.date;
|
800
763
|
}
|
801
|
-
function
|
764
|
+
function Yt(e) {
|
802
765
|
return e.type === w.time;
|
803
766
|
}
|
804
|
-
function
|
767
|
+
function qt(e) {
|
805
768
|
return e.type === w.select;
|
806
769
|
}
|
807
|
-
function
|
770
|
+
function Kt(e) {
|
808
771
|
return e.type === w.plural;
|
809
772
|
}
|
810
|
-
function
|
773
|
+
function Nn(e) {
|
811
774
|
return e.type === w.pound;
|
812
775
|
}
|
813
|
-
function
|
776
|
+
function er(e) {
|
814
777
|
return e.type === w.tag;
|
815
778
|
}
|
816
|
-
function
|
817
|
-
return !!(e && typeof e == "object" && e.type ===
|
779
|
+
function tr(e) {
|
780
|
+
return !!(e && typeof e == "object" && e.type === Y.number);
|
818
781
|
}
|
819
|
-
function
|
820
|
-
return !!(e && typeof e == "object" && e.type ===
|
782
|
+
function Ve(e) {
|
783
|
+
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
821
784
|
}
|
822
|
-
var
|
823
|
-
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) {
|
824
787
|
var t = {};
|
825
|
-
return e.replace(
|
788
|
+
return e.replace(Mn, function(r) {
|
826
789
|
var n = r.length;
|
827
790
|
switch (r[0]) {
|
828
791
|
case "G":
|
@@ -911,36 +874,36 @@ function Jn(e) {
|
|
911
874
|
return "";
|
912
875
|
}), t;
|
913
876
|
}
|
914
|
-
var
|
915
|
-
function
|
877
|
+
var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
878
|
+
function Gn(e) {
|
916
879
|
if (e.length === 0)
|
917
880
|
throw new Error("Number skeleton cannot be empty");
|
918
|
-
for (var t = e.split(
|
881
|
+
for (var t = e.split($n).filter(function(f) {
|
919
882
|
return f.length > 0;
|
920
883
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
921
884
|
var o = i[n], s = o.split("/");
|
922
885
|
if (s.length === 0)
|
923
886
|
throw new Error("Invalid number skeleton");
|
924
|
-
for (var a = s[0],
|
925
|
-
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];
|
926
889
|
if (c.length === 0)
|
927
890
|
throw new Error("Invalid number skeleton");
|
928
891
|
}
|
929
|
-
r.push({ stem: a, options:
|
892
|
+
r.push({ stem: a, options: l });
|
930
893
|
}
|
931
894
|
return r;
|
932
895
|
}
|
933
|
-
function
|
896
|
+
function Un(e) {
|
934
897
|
return e.replace(/^(.*?)-/, "");
|
935
898
|
}
|
936
|
-
var
|
937
|
-
function
|
899
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
|
900
|
+
function bt(e) {
|
938
901
|
var t = {};
|
939
|
-
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) {
|
940
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)), "";
|
941
904
|
}), t;
|
942
905
|
}
|
943
|
-
function
|
906
|
+
function or(e) {
|
944
907
|
switch (e) {
|
945
908
|
case "sign-auto":
|
946
909
|
return {
|
@@ -980,7 +943,7 @@ function pr(e) {
|
|
980
943
|
};
|
981
944
|
}
|
982
945
|
}
|
983
|
-
function
|
946
|
+
function Fn(e) {
|
984
947
|
var t;
|
985
948
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
986
949
|
notation: "engineering"
|
@@ -988,17 +951,17 @@ function ti(e) {
|
|
988
951
|
notation: "scientific"
|
989
952
|
}, e = e.slice(1)), t) {
|
990
953
|
var r = e.slice(0, 2);
|
991
|
-
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))
|
992
955
|
throw new Error("Malformed concise eng/scientific notation");
|
993
956
|
t.minimumIntegerDigits = e.length;
|
994
957
|
}
|
995
958
|
return t;
|
996
959
|
}
|
997
|
-
function
|
998
|
-
var t = {}, r =
|
960
|
+
function gt(e) {
|
961
|
+
var t = {}, r = or(e);
|
999
962
|
return r || t;
|
1000
963
|
}
|
1001
|
-
function
|
964
|
+
function kn(e) {
|
1002
965
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1003
966
|
var i = n[r];
|
1004
967
|
switch (i.stem) {
|
@@ -1022,7 +985,7 @@ function ri(e) {
|
|
1022
985
|
continue;
|
1023
986
|
case "measure-unit":
|
1024
987
|
case "unit":
|
1025
|
-
t.style = "unit", t.unit =
|
988
|
+
t.style = "unit", t.unit = Un(i.options[0]);
|
1026
989
|
continue;
|
1027
990
|
case "compact-short":
|
1028
991
|
case "K":
|
@@ -1033,13 +996,13 @@ function ri(e) {
|
|
1033
996
|
t.notation = "compact", t.compactDisplay = "long";
|
1034
997
|
continue;
|
1035
998
|
case "scientific":
|
1036
|
-
t =
|
1037
|
-
return
|
999
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
|
1000
|
+
return x(x({}, l), gt(h));
|
1038
1001
|
}, {}));
|
1039
1002
|
continue;
|
1040
1003
|
case "engineering":
|
1041
|
-
t =
|
1042
|
-
return
|
1004
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
|
1005
|
+
return x(x({}, l), gt(h));
|
1043
1006
|
}, {}));
|
1044
1007
|
continue;
|
1045
1008
|
case "notation-simple":
|
@@ -1084,45 +1047,45 @@ function ri(e) {
|
|
1084
1047
|
case "integer-width":
|
1085
1048
|
if (i.options.length > 1)
|
1086
1049
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1087
|
-
i.options[0].replace(
|
1088
|
-
if (
|
1089
|
-
t.minimumIntegerDigits =
|
1050
|
+
i.options[0].replace(Dn, function(l, h, u, c, f, m) {
|
1051
|
+
if (h)
|
1052
|
+
t.minimumIntegerDigits = u.length;
|
1090
1053
|
else {
|
1091
1054
|
if (c && f)
|
1092
1055
|
throw new Error("We currently do not support maximum integer digits");
|
1093
|
-
if (
|
1056
|
+
if (m)
|
1094
1057
|
throw new Error("We currently do not support exact integer digits");
|
1095
1058
|
}
|
1096
1059
|
return "";
|
1097
1060
|
});
|
1098
1061
|
continue;
|
1099
1062
|
}
|
1100
|
-
if (
|
1063
|
+
if (ir.test(i.stem)) {
|
1101
1064
|
t.minimumIntegerDigits = i.stem.length;
|
1102
1065
|
continue;
|
1103
1066
|
}
|
1104
|
-
if (
|
1067
|
+
if (mt.test(i.stem)) {
|
1105
1068
|
if (i.options.length > 1)
|
1106
1069
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1107
|
-
i.stem.replace(
|
1108
|
-
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), "";
|
1109
1072
|
});
|
1110
1073
|
var o = i.options[0];
|
1111
|
-
o === "w" ? t =
|
1074
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), bt(o)));
|
1112
1075
|
continue;
|
1113
1076
|
}
|
1114
|
-
if (
|
1115
|
-
t =
|
1077
|
+
if (nr.test(i.stem)) {
|
1078
|
+
t = x(x({}, t), bt(i.stem));
|
1116
1079
|
continue;
|
1117
1080
|
}
|
1118
|
-
var s =
|
1119
|
-
s && (t =
|
1120
|
-
var a =
|
1121
|
-
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));
|
1122
1085
|
}
|
1123
1086
|
return t;
|
1124
1087
|
}
|
1125
|
-
var
|
1088
|
+
var pe = {
|
1126
1089
|
"001": [
|
1127
1090
|
"H",
|
1128
1091
|
"h"
|
@@ -2537,22 +2500,22 @@ var me = {
|
|
2537
2500
|
"h"
|
2538
2501
|
]
|
2539
2502
|
};
|
2540
|
-
function
|
2503
|
+
function jn(e, t) {
|
2541
2504
|
for (var r = "", n = 0; n < e.length; n++) {
|
2542
2505
|
var i = e.charAt(n);
|
2543
2506
|
if (i === "j") {
|
2544
2507
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2545
2508
|
o++, n++;
|
2546
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1),
|
2547
|
-
for ((
|
2548
|
-
r +=
|
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; )
|
2511
|
+
r += l;
|
2549
2512
|
for (; s-- > 0; )
|
2550
|
-
r =
|
2513
|
+
r = h + r;
|
2551
2514
|
} else i === "J" ? r += "H" : r += i;
|
2552
2515
|
}
|
2553
2516
|
return r;
|
2554
2517
|
}
|
2555
|
-
function
|
2518
|
+
function Vn(e) {
|
2556
2519
|
var t = e.hourCycle;
|
2557
2520
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2558
2521
|
e.hourCycles && // @ts-ignore
|
@@ -2571,23 +2534,23 @@ function ii(e) {
|
|
2571
2534
|
}
|
2572
2535
|
var r = e.language, n;
|
2573
2536
|
r !== "root" && (n = e.maximize().region);
|
2574
|
-
var i =
|
2537
|
+
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
2575
2538
|
return i[0];
|
2576
2539
|
}
|
2577
|
-
var
|
2540
|
+
var Re, Xn = new RegExp("^".concat(rr.source, "*")), Wn = new RegExp("".concat(rr.source, "*$"));
|
2578
2541
|
function v(e, t) {
|
2579
2542
|
return { start: e, end: t };
|
2580
2543
|
}
|
2581
|
-
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) {
|
2582
2545
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2583
|
-
},
|
2546
|
+
}, Xe = !0;
|
2584
2547
|
try {
|
2585
|
-
var
|
2586
|
-
|
2587
|
-
} catch
|
2588
|
-
|
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;
|
2589
2552
|
}
|
2590
|
-
var
|
2553
|
+
var yt = zn ? (
|
2591
2554
|
// Native
|
2592
2555
|
function(t, r, n) {
|
2593
2556
|
return t.startsWith(r, n);
|
@@ -2597,7 +2560,7 @@ var Ct = ai ? (
|
|
2597
2560
|
function(t, r, n) {
|
2598
2561
|
return t.slice(n, n + r.length) === r;
|
2599
2562
|
}
|
2600
|
-
),
|
2563
|
+
), We = Zn ? String.fromCodePoint : (
|
2601
2564
|
// IE11
|
2602
2565
|
function() {
|
2603
2566
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2609,9 +2572,9 @@ var Ct = ai ? (
|
|
2609
2572
|
}
|
2610
2573
|
return n;
|
2611
2574
|
}
|
2612
|
-
),
|
2575
|
+
), vt = (
|
2613
2576
|
// native
|
2614
|
-
|
2577
|
+
Qn ? Object.fromEntries : (
|
2615
2578
|
// Ponyfill
|
2616
2579
|
function(t) {
|
2617
2580
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2621,7 +2584,7 @@ var Ct = ai ? (
|
|
2621
2584
|
return r;
|
2622
2585
|
}
|
2623
2586
|
)
|
2624
|
-
),
|
2587
|
+
), sr = Jn ? (
|
2625
2588
|
// Native
|
2626
2589
|
function(t, r) {
|
2627
2590
|
return t.codePointAt(r);
|
@@ -2635,7 +2598,7 @@ var Ct = ai ? (
|
|
2635
2598
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2636
2599
|
}
|
2637
2600
|
}
|
2638
|
-
),
|
2601
|
+
), ri = Yn ? (
|
2639
2602
|
// Native
|
2640
2603
|
function(t) {
|
2641
2604
|
return t.trimStart();
|
@@ -2643,9 +2606,9 @@ var Ct = ai ? (
|
|
2643
2606
|
) : (
|
2644
2607
|
// Ponyfill
|
2645
2608
|
function(t) {
|
2646
|
-
return t.replace(
|
2609
|
+
return t.replace(Xn, "");
|
2647
2610
|
}
|
2648
|
-
),
|
2611
|
+
), ni = qn ? (
|
2649
2612
|
// Native
|
2650
2613
|
function(t) {
|
2651
2614
|
return t.trimEnd();
|
@@ -2653,32 +2616,32 @@ var Ct = ai ? (
|
|
2653
2616
|
) : (
|
2654
2617
|
// Ponyfill
|
2655
2618
|
function(t) {
|
2656
|
-
return t.replace(
|
2619
|
+
return t.replace(Wn, "");
|
2657
2620
|
}
|
2658
2621
|
);
|
2659
|
-
function
|
2622
|
+
function ar(e, t) {
|
2660
2623
|
return new RegExp(e, t);
|
2661
2624
|
}
|
2662
|
-
var
|
2663
|
-
if (
|
2664
|
-
var
|
2665
|
-
|
2625
|
+
var ze;
|
2626
|
+
if (Xe) {
|
2627
|
+
var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2628
|
+
ze = function(t, r) {
|
2666
2629
|
var n;
|
2667
|
-
|
2668
|
-
var i =
|
2630
|
+
_t.lastIndex = r;
|
2631
|
+
var i = _t.exec(t);
|
2669
2632
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2670
2633
|
};
|
2671
2634
|
} else
|
2672
|
-
|
2635
|
+
ze = function(t, r) {
|
2673
2636
|
for (var n = []; ; ) {
|
2674
|
-
var i =
|
2675
|
-
if (i === void 0 ||
|
2637
|
+
var i = sr(t, r);
|
2638
|
+
if (i === void 0 || ur(i) || ai(i))
|
2676
2639
|
break;
|
2677
2640
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2678
2641
|
}
|
2679
|
-
return
|
2642
|
+
return We.apply(void 0, n);
|
2680
2643
|
};
|
2681
|
-
var
|
2644
|
+
var ii = (
|
2682
2645
|
/** @class */
|
2683
2646
|
function() {
|
2684
2647
|
function e(t, r) {
|
@@ -2709,7 +2672,7 @@ var yi = (
|
|
2709
2672
|
if (n)
|
2710
2673
|
break;
|
2711
2674
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2712
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2675
|
+
} else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
|
2713
2676
|
var s = this.parseTag(t, r);
|
2714
2677
|
if (s.err)
|
2715
2678
|
return s;
|
@@ -2742,10 +2705,10 @@ var yi = (
|
|
2742
2705
|
return o;
|
2743
2706
|
var s = o.val, a = this.clonePosition();
|
2744
2707
|
if (this.bumpIf("</")) {
|
2745
|
-
if (this.isEOF() || !
|
2708
|
+
if (this.isEOF() || !Ze(this.char()))
|
2746
2709
|
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2747
|
-
var
|
2748
|
-
return i !==
|
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(">") ? {
|
2749
2712
|
val: {
|
2750
2713
|
type: w.tag,
|
2751
2714
|
value: i,
|
@@ -2760,7 +2723,7 @@ var yi = (
|
|
2760
2723
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2761
2724
|
}, e.prototype.parseTagName = function() {
|
2762
2725
|
var t = this.offset();
|
2763
|
-
for (this.bump(); !this.isEOF() &&
|
2726
|
+
for (this.bump(); !this.isEOF() && si(this.char()); )
|
2764
2727
|
this.bump();
|
2765
2728
|
return this.message.slice(t, this.offset());
|
2766
2729
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2782,14 +2745,14 @@ var yi = (
|
|
2782
2745
|
}
|
2783
2746
|
break;
|
2784
2747
|
}
|
2785
|
-
var
|
2748
|
+
var l = v(n, this.clonePosition());
|
2786
2749
|
return {
|
2787
|
-
val: { type: w.literal, value: i, location:
|
2750
|
+
val: { type: w.literal, value: i, location: l },
|
2788
2751
|
err: null
|
2789
2752
|
};
|
2790
2753
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2791
2754
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2792
|
-
!
|
2755
|
+
!oi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2793
2756
|
}, e.prototype.tryParseQuote = function(t) {
|
2794
2757
|
if (this.isEOF() || this.char() !== 39)
|
2795
2758
|
return null;
|
@@ -2823,12 +2786,12 @@ var yi = (
|
|
2823
2786
|
r.push(n);
|
2824
2787
|
this.bump();
|
2825
2788
|
}
|
2826
|
-
return
|
2789
|
+
return We.apply(void 0, r);
|
2827
2790
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2828
2791
|
if (this.isEOF())
|
2829
2792
|
return null;
|
2830
2793
|
var n = this.char();
|
2831
|
-
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));
|
2832
2795
|
}, e.prototype.parseArgument = function(t, r) {
|
2833
2796
|
var n = this.clonePosition();
|
2834
2797
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2857,56 +2820,56 @@ var yi = (
|
|
2857
2820
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2858
2821
|
}
|
2859
2822
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2860
|
-
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;
|
2861
2824
|
this.bumpTo(i);
|
2862
2825
|
var o = this.clonePosition(), s = v(t, o);
|
2863
2826
|
return { value: n, location: s };
|
2864
2827
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2865
|
-
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value,
|
2828
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
2866
2829
|
switch (a) {
|
2867
2830
|
case "":
|
2868
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE, v(s,
|
2831
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
|
2869
2832
|
case "number":
|
2870
2833
|
case "date":
|
2871
2834
|
case "time": {
|
2872
2835
|
this.bumpSpace();
|
2873
|
-
var
|
2836
|
+
var h = null;
|
2874
2837
|
if (this.bumpIf(",")) {
|
2875
2838
|
this.bumpSpace();
|
2876
|
-
var
|
2839
|
+
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2877
2840
|
if (c.err)
|
2878
2841
|
return c;
|
2879
|
-
var f =
|
2842
|
+
var f = ni(c.val);
|
2880
2843
|
if (f.length === 0)
|
2881
2844
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2882
|
-
var
|
2883
|
-
|
2845
|
+
var m = v(u, this.clonePosition());
|
2846
|
+
h = { style: f, styleLocation: m };
|
2884
2847
|
}
|
2885
2848
|
var d = this.tryParseArgumentClose(i);
|
2886
2849
|
if (d.err)
|
2887
2850
|
return d;
|
2888
2851
|
var g = v(i, this.clonePosition());
|
2889
|
-
if (
|
2890
|
-
var
|
2852
|
+
if (h && yt(h?.style, "::", 0)) {
|
2853
|
+
var p = ri(h.style.slice(2));
|
2891
2854
|
if (a === "number") {
|
2892
|
-
var c = this.parseNumberSkeletonFromString(
|
2855
|
+
var c = this.parseNumberSkeletonFromString(p, h.styleLocation);
|
2893
2856
|
return c.err ? c : {
|
2894
2857
|
val: { type: w.number, value: n, location: g, style: c.val },
|
2895
2858
|
err: null
|
2896
2859
|
};
|
2897
2860
|
} else {
|
2898
|
-
if (
|
2861
|
+
if (p.length === 0)
|
2899
2862
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
2900
|
-
var
|
2901
|
-
this.locale && (
|
2863
|
+
var S = p;
|
2864
|
+
this.locale && (S = jn(p, this.locale));
|
2902
2865
|
var f = {
|
2903
|
-
type:
|
2904
|
-
pattern:
|
2905
|
-
location:
|
2906
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2907
|
-
},
|
2866
|
+
type: Y.dateTime,
|
2867
|
+
pattern: S,
|
2868
|
+
location: h.styleLocation,
|
2869
|
+
parsedOptions: this.shouldParseSkeletons ? Rn(S) : {}
|
2870
|
+
}, _ = a === "date" ? w.date : w.time;
|
2908
2871
|
return {
|
2909
|
-
val: { type:
|
2872
|
+
val: { type: _, value: n, location: g, style: f },
|
2910
2873
|
err: null
|
2911
2874
|
};
|
2912
2875
|
}
|
@@ -2916,7 +2879,7 @@ var yi = (
|
|
2916
2879
|
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
2917
2880
|
value: n,
|
2918
2881
|
location: g,
|
2919
|
-
style: (o =
|
2882
|
+
style: (o = h?.style) !== null && o !== void 0 ? o : null
|
2920
2883
|
},
|
2921
2884
|
err: null
|
2922
2885
|
};
|
@@ -2924,49 +2887,49 @@ var yi = (
|
|
2924
2887
|
case "plural":
|
2925
2888
|
case "selectordinal":
|
2926
2889
|
case "select": {
|
2927
|
-
var
|
2890
|
+
var P = this.clonePosition();
|
2928
2891
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2929
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
2892
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(P, x({}, P)));
|
2930
2893
|
this.bumpSpace();
|
2931
|
-
var
|
2932
|
-
if (a !== "select" &&
|
2894
|
+
var $ = this.parseIdentifierIfPossible(), B = 0;
|
2895
|
+
if (a !== "select" && $.value === "offset") {
|
2933
2896
|
if (!this.bumpIf(":"))
|
2934
2897
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2935
2898
|
this.bumpSpace();
|
2936
2899
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2937
2900
|
if (c.err)
|
2938
2901
|
return c;
|
2939
|
-
this.bumpSpace(),
|
2902
|
+
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), B = c.val;
|
2940
2903
|
}
|
2941
|
-
var
|
2942
|
-
if (
|
2943
|
-
return
|
2904
|
+
var j = this.tryParsePluralOrSelectOptions(t, a, r, $);
|
2905
|
+
if (j.err)
|
2906
|
+
return j;
|
2944
2907
|
var d = this.tryParseArgumentClose(i);
|
2945
2908
|
if (d.err)
|
2946
2909
|
return d;
|
2947
|
-
var
|
2910
|
+
var ie = v(i, this.clonePosition());
|
2948
2911
|
return a === "select" ? {
|
2949
2912
|
val: {
|
2950
2913
|
type: w.select,
|
2951
2914
|
value: n,
|
2952
|
-
options:
|
2953
|
-
location:
|
2915
|
+
options: vt(j.val),
|
2916
|
+
location: ie
|
2954
2917
|
},
|
2955
2918
|
err: null
|
2956
2919
|
} : {
|
2957
2920
|
val: {
|
2958
2921
|
type: w.plural,
|
2959
2922
|
value: n,
|
2960
|
-
options:
|
2961
|
-
offset:
|
2923
|
+
options: vt(j.val),
|
2924
|
+
offset: B,
|
2962
2925
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2963
|
-
location:
|
2926
|
+
location: ie
|
2964
2927
|
},
|
2965
2928
|
err: null
|
2966
2929
|
};
|
2967
2930
|
}
|
2968
2931
|
default:
|
2969
|
-
return this.error(y.INVALID_ARGUMENT_TYPE, v(s,
|
2932
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
|
2970
2933
|
}
|
2971
2934
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2972
2935
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
@@ -3008,50 +2971,50 @@ var yi = (
|
|
3008
2971
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3009
2972
|
var n = [];
|
3010
2973
|
try {
|
3011
|
-
n =
|
3012
|
-
} catch
|
2974
|
+
n = Gn(t);
|
2975
|
+
} catch {
|
3013
2976
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3014
2977
|
}
|
3015
2978
|
return {
|
3016
2979
|
val: {
|
3017
|
-
type:
|
2980
|
+
type: Y.number,
|
3018
2981
|
tokens: n,
|
3019
2982
|
location: r,
|
3020
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2983
|
+
parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
|
3021
2984
|
},
|
3022
2985
|
err: null
|
3023
2986
|
};
|
3024
2987
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3025
|
-
for (var o, s = !1, a = [],
|
3026
|
-
if (
|
2988
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
|
2989
|
+
if (h.length === 0) {
|
3027
2990
|
var c = this.clonePosition();
|
3028
2991
|
if (r !== "select" && this.bumpIf("=")) {
|
3029
2992
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3030
2993
|
if (f.err)
|
3031
2994
|
return f;
|
3032
|
-
|
2995
|
+
u = v(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
|
3033
2996
|
} else
|
3034
2997
|
break;
|
3035
2998
|
}
|
3036
|
-
if (
|
3037
|
-
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
3038
|
-
|
3039
|
-
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();
|
3040
3003
|
if (!this.bumpIf("{"))
|
3041
3004
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
3042
3005
|
var d = this.parseMessage(t + 1, r, n);
|
3043
3006
|
if (d.err)
|
3044
3007
|
return d;
|
3045
|
-
var g = this.tryParseArgumentClose(
|
3008
|
+
var g = this.tryParseArgumentClose(m);
|
3046
3009
|
if (g.err)
|
3047
3010
|
return g;
|
3048
3011
|
a.push([
|
3049
|
-
|
3012
|
+
h,
|
3050
3013
|
{
|
3051
3014
|
value: d.val,
|
3052
|
-
location: v(
|
3015
|
+
location: v(m, this.clonePosition())
|
3053
3016
|
}
|
3054
|
-
]),
|
3017
|
+
]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, u = o.location;
|
3055
3018
|
}
|
3056
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 };
|
3057
3020
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
@@ -3064,8 +3027,8 @@ var yi = (
|
|
3064
3027
|
else
|
3065
3028
|
break;
|
3066
3029
|
}
|
3067
|
-
var
|
3068
|
-
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);
|
3069
3032
|
}, e.prototype.offset = function() {
|
3070
3033
|
return this.position.offset;
|
3071
3034
|
}, e.prototype.isEOF = function() {
|
@@ -3080,7 +3043,7 @@ var yi = (
|
|
3080
3043
|
var t = this.position.offset;
|
3081
3044
|
if (t >= this.message.length)
|
3082
3045
|
throw Error("out of bound");
|
3083
|
-
var r =
|
3046
|
+
var r = sr(this.message, t);
|
3084
3047
|
if (r === void 0)
|
3085
3048
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3086
3049
|
return r;
|
@@ -3099,7 +3062,7 @@ var yi = (
|
|
3099
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);
|
3100
3063
|
}
|
3101
3064
|
}, e.prototype.bumpIf = function(t) {
|
3102
|
-
if (
|
3065
|
+
if (yt(this.message, t, this.offset())) {
|
3103
3066
|
for (var r = 0; r < t.length; r++)
|
3104
3067
|
this.bump();
|
3105
3068
|
return !0;
|
@@ -3121,56 +3084,56 @@ var yi = (
|
|
3121
3084
|
break;
|
3122
3085
|
}
|
3123
3086
|
}, e.prototype.bumpSpace = function() {
|
3124
|
-
for (; !this.isEOF() &&
|
3087
|
+
for (; !this.isEOF() && ur(this.char()); )
|
3125
3088
|
this.bump();
|
3126
3089
|
}, e.prototype.peek = function() {
|
3127
3090
|
if (this.isEOF())
|
3128
3091
|
return null;
|
3129
3092
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
3130
|
-
return n
|
3093
|
+
return n ?? null;
|
3131
3094
|
}, e;
|
3132
3095
|
}()
|
3133
3096
|
);
|
3134
|
-
function
|
3097
|
+
function Ze(e) {
|
3135
3098
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3136
3099
|
}
|
3137
|
-
function
|
3138
|
-
return
|
3100
|
+
function oi(e) {
|
3101
|
+
return Ze(e) || e === 47;
|
3139
3102
|
}
|
3140
|
-
function
|
3103
|
+
function si(e) {
|
3141
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;
|
3142
3105
|
}
|
3143
|
-
function
|
3106
|
+
function ur(e) {
|
3144
3107
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3145
3108
|
}
|
3146
|
-
function
|
3109
|
+
function ai(e) {
|
3147
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;
|
3148
3111
|
}
|
3149
|
-
function
|
3112
|
+
function Qe(e) {
|
3150
3113
|
e.forEach(function(t) {
|
3151
|
-
if (delete t.location,
|
3114
|
+
if (delete t.location, qt(t) || Kt(t))
|
3152
3115
|
for (var r in t.options)
|
3153
|
-
delete t.options[r].location,
|
3154
|
-
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);
|
3155
3118
|
});
|
3156
3119
|
}
|
3157
|
-
function
|
3158
|
-
t === void 0 && (t = {}), t =
|
3159
|
-
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();
|
3160
3123
|
if (r.err) {
|
3161
3124
|
var n = SyntaxError(y[r.err.kind]);
|
3162
3125
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3163
3126
|
}
|
3164
|
-
return t
|
3127
|
+
return t?.captureLocation || Qe(r.val), r.val;
|
3165
3128
|
}
|
3166
|
-
var
|
3129
|
+
var q;
|
3167
3130
|
(function(e) {
|
3168
3131
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3169
|
-
})(
|
3170
|
-
var
|
3132
|
+
})(q || (q = {}));
|
3133
|
+
var Pe = (
|
3171
3134
|
/** @class */
|
3172
3135
|
function(e) {
|
3173
|
-
|
3136
|
+
U(t, e);
|
3174
3137
|
function t(r, n, i) {
|
3175
3138
|
var o = e.call(this, r) || this;
|
3176
3139
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3179,155 +3142,155 @@ var Be = (
|
|
3179
3142
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3180
3143
|
}, t;
|
3181
3144
|
}(Error)
|
3182
|
-
),
|
3145
|
+
), xt = (
|
3183
3146
|
/** @class */
|
3184
3147
|
function(e) {
|
3185
|
-
|
3148
|
+
U(t, e);
|
3186
3149
|
function t(r, n, i, o) {
|
3187
|
-
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;
|
3188
3151
|
}
|
3189
3152
|
return t;
|
3190
|
-
}(
|
3191
|
-
),
|
3153
|
+
}(Pe)
|
3154
|
+
), li = (
|
3192
3155
|
/** @class */
|
3193
3156
|
function(e) {
|
3194
|
-
|
3157
|
+
U(t, e);
|
3195
3158
|
function t(r, n, i) {
|
3196
|
-
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;
|
3197
3160
|
}
|
3198
3161
|
return t;
|
3199
|
-
}(
|
3200
|
-
),
|
3162
|
+
}(Pe)
|
3163
|
+
), hi = (
|
3201
3164
|
/** @class */
|
3202
3165
|
function(e) {
|
3203
|
-
|
3166
|
+
U(t, e);
|
3204
3167
|
function t(r, n) {
|
3205
|
-
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;
|
3206
3169
|
}
|
3207
3170
|
return t;
|
3208
|
-
}(
|
3209
|
-
),
|
3171
|
+
}(Pe)
|
3172
|
+
), A;
|
3210
3173
|
(function(e) {
|
3211
3174
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3212
|
-
})(
|
3213
|
-
function
|
3175
|
+
})(A || (A = {}));
|
3176
|
+
function ci(e) {
|
3214
3177
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3215
3178
|
var n = t[t.length - 1];
|
3216
|
-
return !n || n.type !==
|
3179
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3217
3180
|
}, []);
|
3218
3181
|
}
|
3219
|
-
function
|
3182
|
+
function fi(e) {
|
3220
3183
|
return typeof e == "function";
|
3221
3184
|
}
|
3222
|
-
function
|
3223
|
-
if (e.length === 1 &&
|
3185
|
+
function ge(e, t, r, n, i, o, s) {
|
3186
|
+
if (e.length === 1 && pt(e[0]))
|
3224
3187
|
return [
|
3225
3188
|
{
|
3226
|
-
type:
|
3189
|
+
type: A.literal,
|
3227
3190
|
value: e[0].value
|
3228
3191
|
}
|
3229
3192
|
];
|
3230
|
-
for (var a = [],
|
3231
|
-
var
|
3232
|
-
if (
|
3193
|
+
for (var a = [], l = 0, h = e; l < h.length; l++) {
|
3194
|
+
var u = h[l];
|
3195
|
+
if (pt(u)) {
|
3233
3196
|
a.push({
|
3234
|
-
type:
|
3235
|
-
value:
|
3197
|
+
type: A.literal,
|
3198
|
+
value: u.value
|
3236
3199
|
});
|
3237
3200
|
continue;
|
3238
3201
|
}
|
3239
|
-
if (
|
3202
|
+
if (Nn(u)) {
|
3240
3203
|
typeof o == "number" && a.push({
|
3241
|
-
type:
|
3204
|
+
type: A.literal,
|
3242
3205
|
value: r.getNumberFormat(t).format(o)
|
3243
3206
|
});
|
3244
3207
|
continue;
|
3245
3208
|
}
|
3246
|
-
var c =
|
3209
|
+
var c = u.value;
|
3247
3210
|
if (!(i && c in i))
|
3248
|
-
throw new
|
3211
|
+
throw new hi(c, s);
|
3249
3212
|
var f = i[c];
|
3250
|
-
if (
|
3213
|
+
if (Ln(u)) {
|
3251
3214
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3252
|
-
type: typeof f == "string" ?
|
3215
|
+
type: typeof f == "string" ? A.literal : A.object,
|
3253
3216
|
value: f
|
3254
3217
|
});
|
3255
3218
|
continue;
|
3256
3219
|
}
|
3257
|
-
if (
|
3258
|
-
var
|
3220
|
+
if (Jt(u)) {
|
3221
|
+
var m = typeof u.style == "string" ? n.date[u.style] : Ve(u.style) ? u.style.parsedOptions : void 0;
|
3259
3222
|
a.push({
|
3260
|
-
type:
|
3261
|
-
value: r.getDateTimeFormat(t,
|
3223
|
+
type: A.literal,
|
3224
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
3262
3225
|
});
|
3263
3226
|
continue;
|
3264
3227
|
}
|
3265
|
-
if (
|
3266
|
-
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;
|
3267
3230
|
a.push({
|
3268
|
-
type:
|
3269
|
-
value: r.getDateTimeFormat(t,
|
3231
|
+
type: A.literal,
|
3232
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
3270
3233
|
});
|
3271
3234
|
continue;
|
3272
3235
|
}
|
3273
|
-
if (
|
3274
|
-
var
|
3275
|
-
|
3276
|
-
type:
|
3277
|
-
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)
|
3278
3241
|
});
|
3279
3242
|
continue;
|
3280
3243
|
}
|
3281
|
-
if (
|
3282
|
-
var d =
|
3283
|
-
if (!
|
3284
|
-
throw new
|
3285
|
-
var
|
3286
|
-
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;
|
3287
3250
|
}));
|
3288
|
-
Array.isArray(
|
3251
|
+
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(B) {
|
3289
3252
|
return {
|
3290
|
-
type: typeof
|
3291
|
-
value:
|
3253
|
+
type: typeof B == "string" ? A.literal : A.object,
|
3254
|
+
value: B
|
3292
3255
|
};
|
3293
3256
|
}));
|
3294
3257
|
}
|
3295
|
-
if (
|
3296
|
-
var
|
3297
|
-
if (!
|
3298
|
-
throw new
|
3299
|
-
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));
|
3300
3263
|
continue;
|
3301
3264
|
}
|
3302
|
-
if (
|
3303
|
-
var
|
3304
|
-
if (!
|
3265
|
+
if (Kt(u)) {
|
3266
|
+
var P = u.options["=".concat(f)];
|
3267
|
+
if (!P) {
|
3305
3268
|
if (!Intl.PluralRules)
|
3306
|
-
throw new
|
3269
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3307
3270
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3308
|
-
`,
|
3309
|
-
var
|
3310
|
-
|
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;
|
3311
3274
|
}
|
3312
|
-
if (!
|
3313
|
-
throw new
|
3314
|
-
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)));
|
3315
3278
|
continue;
|
3316
3279
|
}
|
3317
3280
|
}
|
3318
|
-
return
|
3281
|
+
return ci(a);
|
3319
3282
|
}
|
3320
|
-
function
|
3321
|
-
return t ?
|
3322
|
-
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;
|
3323
3286
|
}, {})) : e;
|
3324
3287
|
}
|
3325
|
-
function
|
3288
|
+
function pi(e, t) {
|
3326
3289
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3327
|
-
return r[n] =
|
3328
|
-
},
|
3290
|
+
return r[n] = di(e[n], t[n]), r;
|
3291
|
+
}, x({}, e)) : e;
|
3329
3292
|
}
|
3330
|
-
function
|
3293
|
+
function $e(e) {
|
3331
3294
|
return {
|
3332
3295
|
create: function() {
|
3333
3296
|
return {
|
@@ -3341,39 +3304,39 @@ function Ue(e) {
|
|
3341
3304
|
}
|
3342
3305
|
};
|
3343
3306
|
}
|
3344
|
-
function
|
3307
|
+
function mi(e) {
|
3345
3308
|
return e === void 0 && (e = {
|
3346
3309
|
number: {},
|
3347
3310
|
dateTime: {},
|
3348
3311
|
pluralRules: {}
|
3349
3312
|
}), {
|
3350
|
-
getNumberFormat:
|
3313
|
+
getNumberFormat: Ne(function() {
|
3351
3314
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3352
3315
|
r[n] = arguments[n];
|
3353
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3316
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
3354
3317
|
}, {
|
3355
|
-
cache:
|
3356
|
-
strategy:
|
3318
|
+
cache: $e(e.number),
|
3319
|
+
strategy: Me.variadic
|
3357
3320
|
}),
|
3358
|
-
getDateTimeFormat:
|
3321
|
+
getDateTimeFormat: Ne(function() {
|
3359
3322
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3360
3323
|
r[n] = arguments[n];
|
3361
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3324
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
3362
3325
|
}, {
|
3363
|
-
cache:
|
3364
|
-
strategy:
|
3326
|
+
cache: $e(e.dateTime),
|
3327
|
+
strategy: Me.variadic
|
3365
3328
|
}),
|
3366
|
-
getPluralRules:
|
3329
|
+
getPluralRules: Ne(function() {
|
3367
3330
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3368
3331
|
r[n] = arguments[n];
|
3369
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3332
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
3370
3333
|
}, {
|
3371
|
-
cache:
|
3372
|
-
strategy:
|
3334
|
+
cache: $e(e.pluralRules),
|
3335
|
+
strategy: Me.variadic
|
3373
3336
|
})
|
3374
3337
|
};
|
3375
3338
|
}
|
3376
|
-
var
|
3339
|
+
var bi = (
|
3377
3340
|
/** @class */
|
3378
3341
|
function() {
|
3379
3342
|
function e(t, r, n, i) {
|
@@ -3383,20 +3346,20 @@ var Ai = (
|
|
3383
3346
|
number: {},
|
3384
3347
|
dateTime: {},
|
3385
3348
|
pluralRules: {}
|
3386
|
-
}, this.format = function(
|
3387
|
-
var
|
3388
|
-
if (
|
3389
|
-
return
|
3390
|
-
var
|
3391
|
-
return !c.length || f.type !==
|
3349
|
+
}, this.format = function(l) {
|
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;
|
3392
3355
|
}, []);
|
3393
|
-
return
|
3394
|
-
}, this.formatToParts = function(
|
3395
|
-
return
|
3356
|
+
return u.length <= 1 ? u[0] || "" : u;
|
3357
|
+
}, this.formatToParts = function(l) {
|
3358
|
+
return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
3396
3359
|
}, this.resolvedOptions = function() {
|
3397
|
-
var
|
3360
|
+
var l;
|
3398
3361
|
return {
|
3399
|
-
locale: ((
|
3362
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
3400
3363
|
};
|
3401
3364
|
}, this.getAst = function() {
|
3402
3365
|
return o.ast;
|
@@ -3405,13 +3368,13 @@ var Ai = (
|
|
3405
3368
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3406
3369
|
var s = i || {};
|
3407
3370
|
s.formatters;
|
3408
|
-
var a =
|
3409
|
-
this.ast = e.__parse(t,
|
3371
|
+
var a = Tn(s, ["formatters"]);
|
3372
|
+
this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
|
3410
3373
|
} else
|
3411
3374
|
this.ast = t;
|
3412
3375
|
if (!Array.isArray(this.ast))
|
3413
3376
|
throw new TypeError("A message must be provided as a String or AST.");
|
3414
|
-
this.formats =
|
3377
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
|
3415
3378
|
}
|
3416
3379
|
return Object.defineProperty(e, "defaultLocale", {
|
3417
3380
|
get: function() {
|
@@ -3420,11 +3383,11 @@ var Ai = (
|
|
3420
3383
|
enumerable: !1,
|
3421
3384
|
configurable: !0
|
3422
3385
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
3423
|
-
if (typeof Intl.Locale
|
3386
|
+
if (!(typeof Intl.Locale > "u")) {
|
3424
3387
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3425
3388
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3426
3389
|
}
|
3427
|
-
}, e.__parse =
|
3390
|
+
}, e.__parse = ui, e.formats = {
|
3428
3391
|
number: {
|
3429
3392
|
integer: {
|
3430
3393
|
maximumFractionDigits: 0
|
@@ -3485,7 +3448,7 @@ var Ai = (
|
|
3485
3448
|
}, e;
|
3486
3449
|
}()
|
3487
3450
|
);
|
3488
|
-
function
|
3451
|
+
function gi(e, t) {
|
3489
3452
|
if (t == null)
|
3490
3453
|
return;
|
3491
3454
|
if (t in e)
|
@@ -3506,92 +3469,92 @@ function Oi(e, t) {
|
|
3506
3469
|
n = void 0;
|
3507
3470
|
return n;
|
3508
3471
|
}
|
3509
|
-
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) => {
|
3510
3473
|
if (t == null)
|
3511
3474
|
return;
|
3512
|
-
if (t in
|
3513
|
-
return
|
3514
|
-
const r =
|
3475
|
+
if (t in D && e in D[t])
|
3476
|
+
return D[t][e];
|
3477
|
+
const r = Be(t);
|
3515
3478
|
for (let n = 0; n < r.length; n++) {
|
3516
|
-
const i = r[n], o =
|
3479
|
+
const i = r[n], o = _i(i, e);
|
3517
3480
|
if (o)
|
3518
|
-
return
|
3481
|
+
return yi(e, t, o);
|
3519
3482
|
}
|
3520
3483
|
};
|
3521
|
-
let
|
3522
|
-
const
|
3523
|
-
function
|
3524
|
-
return
|
3484
|
+
let nt;
|
3485
|
+
const ce = Ce({});
|
3486
|
+
function vi(e) {
|
3487
|
+
return nt[e] || null;
|
3525
3488
|
}
|
3526
|
-
function
|
3527
|
-
return e in
|
3489
|
+
function hr(e) {
|
3490
|
+
return e in nt;
|
3528
3491
|
}
|
3529
|
-
function
|
3530
|
-
if (!
|
3492
|
+
function _i(e, t) {
|
3493
|
+
if (!hr(e))
|
3531
3494
|
return null;
|
3532
|
-
const r =
|
3533
|
-
return
|
3495
|
+
const r = vi(e);
|
3496
|
+
return gi(r, t);
|
3534
3497
|
}
|
3535
|
-
function
|
3498
|
+
function xi(e) {
|
3536
3499
|
if (e == null)
|
3537
3500
|
return;
|
3538
|
-
const t =
|
3501
|
+
const t = Be(e);
|
3539
3502
|
for (let r = 0; r < t.length; r++) {
|
3540
3503
|
const n = t[r];
|
3541
|
-
if (
|
3504
|
+
if (hr(n))
|
3542
3505
|
return n;
|
3543
3506
|
}
|
3544
3507
|
}
|
3545
|
-
function
|
3546
|
-
delete
|
3508
|
+
function cr(e, ...t) {
|
3509
|
+
delete D[e], ce.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
|
3547
3510
|
}
|
3548
|
-
|
3549
|
-
[
|
3511
|
+
te(
|
3512
|
+
[ce],
|
3550
3513
|
([e]) => Object.keys(e)
|
3551
3514
|
);
|
3552
|
-
|
3553
|
-
const
|
3554
|
-
function
|
3555
|
-
|
3515
|
+
ce.subscribe((e) => nt = e);
|
3516
|
+
const ye = {};
|
3517
|
+
function Ei(e, t) {
|
3518
|
+
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
3556
3519
|
}
|
3557
|
-
function
|
3558
|
-
return
|
3520
|
+
function fr(e) {
|
3521
|
+
return ye[e];
|
3559
3522
|
}
|
3560
|
-
function
|
3561
|
-
return
|
3562
|
-
const r =
|
3523
|
+
function Si(e) {
|
3524
|
+
return Be(e).map((t) => {
|
3525
|
+
const r = fr(t);
|
3563
3526
|
return [t, r ? [...r] : []];
|
3564
3527
|
}).filter(([, t]) => t.length > 0);
|
3565
3528
|
}
|
3566
|
-
function
|
3567
|
-
return e == null ? !1 :
|
3529
|
+
function Je(e) {
|
3530
|
+
return e == null ? !1 : Be(e).some(
|
3568
3531
|
(t) => {
|
3569
3532
|
var r;
|
3570
|
-
return (r =
|
3533
|
+
return (r = fr(t)) == null ? void 0 : r.size;
|
3571
3534
|
}
|
3572
3535
|
);
|
3573
3536
|
}
|
3574
|
-
function
|
3537
|
+
function wi(e, t) {
|
3575
3538
|
return Promise.all(
|
3576
|
-
t.map((n) => (
|
3577
|
-
).then((n) =>
|
3578
|
-
}
|
3579
|
-
const
|
3580
|
-
function
|
3581
|
-
if (!
|
3582
|
-
return e in
|
3583
|
-
const t =
|
3584
|
-
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(
|
3585
3548
|
t.map(
|
3586
|
-
([r, n]) =>
|
3549
|
+
([r, n]) => wi(r, n)
|
3587
3550
|
)
|
3588
3551
|
).then(() => {
|
3589
|
-
if (
|
3590
|
-
return
|
3591
|
-
delete
|
3592
|
-
}),
|
3552
|
+
if (Je(e))
|
3553
|
+
return dr(e);
|
3554
|
+
delete se[e];
|
3555
|
+
}), se[e];
|
3593
3556
|
}
|
3594
|
-
const
|
3557
|
+
const Ti = {
|
3595
3558
|
number: {
|
3596
3559
|
scientific: { notation: "scientific" },
|
3597
3560
|
engineering: { notation: "engineering" },
|
@@ -3620,159 +3583,159 @@ const Ui = {
|
|
3620
3583
|
timeZoneName: "short"
|
3621
3584
|
}
|
3622
3585
|
}
|
3623
|
-
},
|
3586
|
+
}, Hi = {
|
3624
3587
|
fallbackLocale: null,
|
3625
3588
|
loadingDelay: 200,
|
3626
|
-
formats:
|
3589
|
+
formats: Ti,
|
3627
3590
|
warnOnMissingMessages: !0,
|
3628
3591
|
handleMissingMessage: void 0,
|
3629
3592
|
ignoreTag: !0
|
3630
|
-
},
|
3631
|
-
function
|
3632
|
-
return
|
3593
|
+
}, Ci = Hi;
|
3594
|
+
function K() {
|
3595
|
+
return Ci;
|
3633
3596
|
}
|
3634
|
-
const
|
3635
|
-
var
|
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) => {
|
3636
3599
|
for (var r in t)
|
3637
|
-
|
3638
|
-
if (
|
3639
|
-
for (var r of
|
3640
|
-
|
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]);
|
3641
3604
|
return e;
|
3642
|
-
},
|
3643
|
-
let
|
3644
|
-
const
|
3645
|
-
function
|
3605
|
+
}, Ni = (e, t) => Bi(e, Ai(t));
|
3606
|
+
let Ye;
|
3607
|
+
const we = Ce(null);
|
3608
|
+
function wt(e) {
|
3646
3609
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3647
3610
|
}
|
3648
|
-
function
|
3649
|
-
const r =
|
3650
|
-
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;
|
3651
3614
|
}
|
3652
3615
|
function k() {
|
3653
|
-
return
|
3616
|
+
return Ye ?? void 0;
|
3654
3617
|
}
|
3655
|
-
|
3656
|
-
|
3618
|
+
we.subscribe((e) => {
|
3619
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3657
3620
|
});
|
3658
|
-
const
|
3659
|
-
if (e &&
|
3660
|
-
const { loadingDelay: t } =
|
3621
|
+
const Mi = (e) => {
|
3622
|
+
if (e && xi(e) && Je(e)) {
|
3623
|
+
const { loadingDelay: t } = K();
|
3661
3624
|
let r;
|
3662
|
-
return typeof window
|
3663
|
-
() =>
|
3625
|
+
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
3626
|
+
() => Ge.set(!0),
|
3664
3627
|
t
|
3665
|
-
) :
|
3666
|
-
|
3628
|
+
) : Ge.set(!0), dr(e).then(() => {
|
3629
|
+
we.set(e);
|
3667
3630
|
}).finally(() => {
|
3668
|
-
clearTimeout(r),
|
3631
|
+
clearTimeout(r), Ge.set(!1);
|
3669
3632
|
});
|
3670
3633
|
}
|
3671
|
-
return
|
3672
|
-
},
|
3673
|
-
set:
|
3674
|
-
}),
|
3634
|
+
return we.set(e);
|
3635
|
+
}, re = Ni(Li({}, we), {
|
3636
|
+
set: Mi
|
3637
|
+
}), Ae = (e) => {
|
3675
3638
|
const t = /* @__PURE__ */ Object.create(null);
|
3676
3639
|
return (n) => {
|
3677
3640
|
const i = JSON.stringify(n);
|
3678
3641
|
return i in t ? t[i] : t[i] = e(n);
|
3679
3642
|
};
|
3680
3643
|
};
|
3681
|
-
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) => {
|
3682
3645
|
for (var r in t || (t = {}))
|
3683
|
-
|
3684
|
-
if (
|
3685
|
-
for (var r of
|
3686
|
-
|
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]);
|
3687
3650
|
return e;
|
3688
|
-
},
|
3651
|
+
}, ne = (e, t) => {
|
3689
3652
|
var r = {};
|
3690
3653
|
for (var n in e)
|
3691
|
-
|
3692
|
-
if (e != null &&
|
3693
|
-
for (var n of
|
3694
|
-
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]);
|
3695
3658
|
return r;
|
3696
3659
|
};
|
3697
|
-
const
|
3698
|
-
const { formats: r } =
|
3660
|
+
const he = (e, t) => {
|
3661
|
+
const { formats: r } = K();
|
3699
3662
|
if (e in r && t in r[e])
|
3700
3663
|
return r[e][t];
|
3701
3664
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3702
|
-
},
|
3665
|
+
}, $i = Ae(
|
3703
3666
|
(e) => {
|
3704
|
-
var t = e, { locale: r, format: n } = t, i =
|
3667
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3705
3668
|
if (r == null)
|
3706
3669
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3707
|
-
return n && (i =
|
3670
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3708
3671
|
}
|
3709
|
-
),
|
3672
|
+
), Gi = Ae(
|
3710
3673
|
(e) => {
|
3711
|
-
var t = e, { locale: r, format: n } = t, i =
|
3674
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3712
3675
|
if (r == null)
|
3713
3676
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3714
|
-
return n ? i =
|
3677
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3715
3678
|
}
|
3716
|
-
),
|
3679
|
+
), Ui = Ae(
|
3717
3680
|
(e) => {
|
3718
|
-
var t = e, { locale: r, format: n } = t, i =
|
3681
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
3719
3682
|
if (r == null)
|
3720
3683
|
throw new Error(
|
3721
3684
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3722
3685
|
);
|
3723
|
-
return n ? i =
|
3686
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3724
3687
|
}
|
3725
|
-
),
|
3688
|
+
), Di = (e = {}) => {
|
3726
3689
|
var t = e, {
|
3727
3690
|
locale: r = k()
|
3728
|
-
} = t, n =
|
3691
|
+
} = t, n = ne(t, [
|
3729
3692
|
"locale"
|
3730
3693
|
]);
|
3731
|
-
return
|
3732
|
-
},
|
3694
|
+
return $i(it({ locale: r }, n));
|
3695
|
+
}, Fi = (e = {}) => {
|
3733
3696
|
var t = e, {
|
3734
3697
|
locale: r = k()
|
3735
|
-
} = t, n =
|
3698
|
+
} = t, n = ne(t, [
|
3736
3699
|
"locale"
|
3737
3700
|
]);
|
3738
|
-
return
|
3739
|
-
},
|
3701
|
+
return Gi(it({ locale: r }, n));
|
3702
|
+
}, ki = (e = {}) => {
|
3740
3703
|
var t = e, {
|
3741
3704
|
locale: r = k()
|
3742
|
-
} = t, n =
|
3705
|
+
} = t, n = ne(t, [
|
3743
3706
|
"locale"
|
3744
3707
|
]);
|
3745
|
-
return
|
3746
|
-
},
|
3708
|
+
return Ui(it({ locale: r }, n));
|
3709
|
+
}, ji = Ae(
|
3747
3710
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3748
|
-
(e, t = k()) => new
|
3749
|
-
ignoreTag:
|
3711
|
+
(e, t = k()) => new bi(e, t, K().formats, {
|
3712
|
+
ignoreTag: K().ignoreTag
|
3750
3713
|
})
|
3751
|
-
),
|
3714
|
+
), Vi = (e, t = {}) => {
|
3752
3715
|
var r, n, i, o;
|
3753
3716
|
let s = t;
|
3754
3717
|
typeof e == "object" && (s = e, e = s.id);
|
3755
3718
|
const {
|
3756
3719
|
values: a,
|
3757
|
-
locale:
|
3758
|
-
default:
|
3720
|
+
locale: l = k(),
|
3721
|
+
default: h
|
3759
3722
|
} = s;
|
3760
|
-
if (
|
3723
|
+
if (l == null)
|
3761
3724
|
throw new Error(
|
3762
3725
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3763
3726
|
);
|
3764
|
-
let
|
3765
|
-
if (!
|
3766
|
-
|
3767
|
-
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")
|
3768
3731
|
return console.warn(
|
3769
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
3770
|
-
),
|
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;
|
3771
3734
|
if (!a)
|
3772
|
-
return
|
3773
|
-
let c =
|
3735
|
+
return u;
|
3736
|
+
let c = u;
|
3774
3737
|
try {
|
3775
|
-
c =
|
3738
|
+
c = ji(u, l).format(a);
|
3776
3739
|
} catch (f) {
|
3777
3740
|
f instanceof Error && console.warn(
|
3778
3741
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3780,18 +3743,18 @@ const ce = (e, t) => {
|
|
3780
3743
|
);
|
3781
3744
|
}
|
3782
3745
|
return c;
|
3783
|
-
},
|
3784
|
-
|
3785
|
-
|
3786
|
-
|
3787
|
-
|
3788
|
-
function
|
3789
|
-
|
3790
|
-
}
|
3791
|
-
function
|
3792
|
-
|
3793
|
-
}
|
3794
|
-
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 = {
|
3795
3758
|
en: {
|
3796
3759
|
collections: "Game Collections",
|
3797
3760
|
providers: "Game Providers",
|
@@ -3888,16 +3851,16 @@ const Rt = {
|
|
3888
3851
|
loading: "Loading, please wait ..."
|
3889
3852
|
}
|
3890
3853
|
};
|
3891
|
-
function
|
3854
|
+
function G(e) {
|
3892
3855
|
return typeof e == "function";
|
3893
3856
|
}
|
3894
|
-
function
|
3857
|
+
function br(e) {
|
3895
3858
|
var t = function(n) {
|
3896
3859
|
Error.call(n), n.stack = new Error().stack;
|
3897
3860
|
}, r = e(t);
|
3898
3861
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3899
3862
|
}
|
3900
|
-
var
|
3863
|
+
var Ue = br(function(e) {
|
3901
3864
|
return function(r) {
|
3902
3865
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3903
3866
|
` + r.map(function(n, i) {
|
@@ -3906,13 +3869,13 @@ var Fe = Tr(function(e) {
|
|
3906
3869
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3907
3870
|
};
|
3908
3871
|
});
|
3909
|
-
function
|
3872
|
+
function qe(e, t) {
|
3910
3873
|
if (e) {
|
3911
3874
|
var r = e.indexOf(t);
|
3912
3875
|
0 <= r && e.splice(r, 1);
|
3913
3876
|
}
|
3914
3877
|
}
|
3915
|
-
var
|
3878
|
+
var Oe = function() {
|
3916
3879
|
function e(t) {
|
3917
3880
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
3918
3881
|
}
|
@@ -3924,58 +3887,58 @@ var Ie = function() {
|
|
3924
3887
|
if (s)
|
3925
3888
|
if (this._parentage = null, Array.isArray(s))
|
3926
3889
|
try {
|
3927
|
-
for (var a =
|
3928
|
-
var
|
3929
|
-
|
3890
|
+
for (var a = ke(s), l = a.next(); !l.done; l = a.next()) {
|
3891
|
+
var h = l.value;
|
3892
|
+
h.remove(this);
|
3930
3893
|
}
|
3931
3894
|
} catch (g) {
|
3932
3895
|
t = { error: g };
|
3933
3896
|
} finally {
|
3934
3897
|
try {
|
3935
|
-
|
3898
|
+
l && !l.done && (r = a.return) && r.call(a);
|
3936
3899
|
} finally {
|
3937
3900
|
if (t) throw t.error;
|
3938
3901
|
}
|
3939
3902
|
}
|
3940
3903
|
else
|
3941
3904
|
s.remove(this);
|
3942
|
-
var
|
3943
|
-
if (
|
3905
|
+
var u = this.initialTeardown;
|
3906
|
+
if (G(u))
|
3944
3907
|
try {
|
3945
|
-
|
3908
|
+
u();
|
3946
3909
|
} catch (g) {
|
3947
|
-
o = g instanceof
|
3910
|
+
o = g instanceof Ue ? g.errors : [g];
|
3948
3911
|
}
|
3949
3912
|
var c = this._finalizers;
|
3950
3913
|
if (c) {
|
3951
3914
|
this._finalizers = null;
|
3952
3915
|
try {
|
3953
|
-
for (var f =
|
3954
|
-
var d =
|
3916
|
+
for (var f = ke(c), m = f.next(); !m.done; m = f.next()) {
|
3917
|
+
var d = m.value;
|
3955
3918
|
try {
|
3956
|
-
|
3919
|
+
Pt(d);
|
3957
3920
|
} catch (g) {
|
3958
|
-
o = o
|
3921
|
+
o = o ?? [], g instanceof Ue ? o = Z(Z([], je(o)), je(g.errors)) : o.push(g);
|
3959
3922
|
}
|
3960
3923
|
}
|
3961
3924
|
} catch (g) {
|
3962
3925
|
n = { error: g };
|
3963
3926
|
} finally {
|
3964
3927
|
try {
|
3965
|
-
|
3928
|
+
m && !m.done && (i = f.return) && i.call(f);
|
3966
3929
|
} finally {
|
3967
3930
|
if (n) throw n.error;
|
3968
3931
|
}
|
3969
3932
|
}
|
3970
3933
|
}
|
3971
3934
|
if (o)
|
3972
|
-
throw new
|
3935
|
+
throw new Ue(o);
|
3973
3936
|
}
|
3974
3937
|
}, e.prototype.add = function(t) {
|
3975
3938
|
var r;
|
3976
3939
|
if (t && t !== this)
|
3977
3940
|
if (this.closed)
|
3978
|
-
|
3941
|
+
Pt(t);
|
3979
3942
|
else {
|
3980
3943
|
if (t instanceof e) {
|
3981
3944
|
if (t.closed || t._hasParent(this))
|
@@ -3992,56 +3955,56 @@ var Ie = function() {
|
|
3992
3955
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3993
3956
|
}, e.prototype._removeParent = function(t) {
|
3994
3957
|
var r = this._parentage;
|
3995
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3958
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
3996
3959
|
}, e.prototype.remove = function(t) {
|
3997
3960
|
var r = this._finalizers;
|
3998
|
-
r &&
|
3961
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
3999
3962
|
}, e.EMPTY = function() {
|
4000
3963
|
var t = new e();
|
4001
3964
|
return t.closed = !0, t;
|
4002
3965
|
}(), e;
|
4003
|
-
}(),
|
4004
|
-
function
|
4005
|
-
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);
|
4006
3969
|
}
|
4007
|
-
function
|
4008
|
-
|
3970
|
+
function Pt(e) {
|
3971
|
+
G(e) ? e() : e.unsubscribe();
|
4009
3972
|
}
|
4010
|
-
var
|
3973
|
+
var Yi = {
|
4011
3974
|
onUnhandledError: null,
|
4012
3975
|
onStoppedNotification: null,
|
4013
3976
|
Promise: void 0,
|
4014
3977
|
useDeprecatedSynchronousErrorHandling: !1,
|
4015
3978
|
useDeprecatedNextContext: !1
|
4016
|
-
},
|
3979
|
+
}, qi = {
|
4017
3980
|
setTimeout: function(e, t) {
|
4018
3981
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4019
3982
|
r[n - 2] = arguments[n];
|
4020
|
-
return setTimeout.apply(void 0,
|
3983
|
+
return setTimeout.apply(void 0, Z([e, t], je(r)));
|
4021
3984
|
},
|
4022
3985
|
clearTimeout: function(e) {
|
4023
3986
|
return clearTimeout(e);
|
4024
3987
|
},
|
4025
3988
|
delegate: void 0
|
4026
3989
|
};
|
4027
|
-
function
|
4028
|
-
|
3990
|
+
function Ki(e) {
|
3991
|
+
qi.setTimeout(function() {
|
4029
3992
|
throw e;
|
4030
3993
|
});
|
4031
3994
|
}
|
4032
|
-
function
|
3995
|
+
function Bt() {
|
4033
3996
|
}
|
4034
|
-
function
|
3997
|
+
function ve(e) {
|
4035
3998
|
e();
|
4036
3999
|
}
|
4037
|
-
var
|
4038
|
-
|
4000
|
+
var vr = function(e) {
|
4001
|
+
U(t, e);
|
4039
4002
|
function t(r) {
|
4040
4003
|
var n = e.call(this) || this;
|
4041
|
-
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;
|
4042
4005
|
}
|
4043
4006
|
return t.create = function(r, n, i) {
|
4044
|
-
return new
|
4007
|
+
return new Ke(r, n, i);
|
4045
4008
|
}, t.prototype.next = function(r) {
|
4046
4009
|
this.isStopped || this._next(r);
|
4047
4010
|
}, t.prototype.error = function(r) {
|
@@ -4065,7 +4028,7 @@ var Pr = function(e) {
|
|
4065
4028
|
this.unsubscribe();
|
4066
4029
|
}
|
4067
4030
|
}, t;
|
4068
|
-
}(
|
4031
|
+
}(Oe), eo = function() {
|
4069
4032
|
function e(t) {
|
4070
4033
|
this.partialObserver = t;
|
4071
4034
|
}
|
@@ -4075,7 +4038,7 @@ var Pr = function(e) {
|
|
4075
4038
|
try {
|
4076
4039
|
r.next(t);
|
4077
4040
|
} catch (n) {
|
4078
|
-
|
4041
|
+
me(n);
|
4079
4042
|
}
|
4080
4043
|
}, e.prototype.error = function(t) {
|
4081
4044
|
var r = this.partialObserver;
|
@@ -4083,56 +4046,56 @@ var Pr = function(e) {
|
|
4083
4046
|
try {
|
4084
4047
|
r.error(t);
|
4085
4048
|
} catch (n) {
|
4086
|
-
|
4049
|
+
me(n);
|
4087
4050
|
}
|
4088
4051
|
else
|
4089
|
-
|
4052
|
+
me(t);
|
4090
4053
|
}, e.prototype.complete = function() {
|
4091
4054
|
var t = this.partialObserver;
|
4092
4055
|
if (t.complete)
|
4093
4056
|
try {
|
4094
4057
|
t.complete();
|
4095
4058
|
} catch (r) {
|
4096
|
-
|
4059
|
+
me(r);
|
4097
4060
|
}
|
4098
4061
|
}, e;
|
4099
|
-
}(),
|
4100
|
-
|
4062
|
+
}(), Ke = function(e) {
|
4063
|
+
U(t, e);
|
4101
4064
|
function t(r, n, i) {
|
4102
4065
|
var o = e.call(this) || this, s;
|
4103
|
-
return
|
4104
|
-
next: r
|
4105
|
-
error: n
|
4106
|
-
complete: i
|
4107
|
-
} : s = r, o.destination = new
|
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;
|
4108
4071
|
}
|
4109
4072
|
return t;
|
4110
|
-
}(
|
4111
|
-
function
|
4112
|
-
|
4073
|
+
}(vr);
|
4074
|
+
function me(e) {
|
4075
|
+
Ki(e);
|
4113
4076
|
}
|
4114
|
-
function
|
4077
|
+
function to(e) {
|
4115
4078
|
throw e;
|
4116
4079
|
}
|
4117
|
-
var
|
4080
|
+
var ro = {
|
4118
4081
|
closed: !0,
|
4119
|
-
next:
|
4120
|
-
error:
|
4121
|
-
complete:
|
4122
|
-
},
|
4082
|
+
next: Bt,
|
4083
|
+
error: to,
|
4084
|
+
complete: Bt
|
4085
|
+
}, no = function() {
|
4123
4086
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4124
4087
|
}();
|
4125
|
-
function
|
4088
|
+
function io(e) {
|
4126
4089
|
return e;
|
4127
4090
|
}
|
4128
|
-
function
|
4129
|
-
return e.length === 0 ?
|
4091
|
+
function oo(e) {
|
4092
|
+
return e.length === 0 ? io : e.length === 1 ? e[0] : function(r) {
|
4130
4093
|
return e.reduce(function(n, i) {
|
4131
4094
|
return i(n);
|
4132
4095
|
}, r);
|
4133
4096
|
};
|
4134
4097
|
}
|
4135
|
-
var
|
4098
|
+
var At = function() {
|
4136
4099
|
function e(t) {
|
4137
4100
|
t && (this._subscribe = t);
|
4138
4101
|
}
|
@@ -4140,10 +4103,10 @@ var Ut = function() {
|
|
4140
4103
|
var r = new e();
|
4141
4104
|
return r.source = this, r.operator = t, r;
|
4142
4105
|
}, e.prototype.subscribe = function(t, r, n) {
|
4143
|
-
var i = this, o =
|
4144
|
-
return
|
4145
|
-
var s = i, a = s.operator,
|
4146
|
-
o.add(a ? a.call(o,
|
4106
|
+
var i = this, o = ao(t) ? t : new Ke(t, r, n);
|
4107
|
+
return ve(function() {
|
4108
|
+
var s = i, a = s.operator, l = s.source;
|
4109
|
+
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
4147
4110
|
}), o;
|
4148
4111
|
}, e.prototype._trySubscribe = function(t) {
|
4149
4112
|
try {
|
@@ -4153,13 +4116,13 @@ var Ut = function() {
|
|
4153
4116
|
}
|
4154
4117
|
}, e.prototype.forEach = function(t, r) {
|
4155
4118
|
var n = this;
|
4156
|
-
return r =
|
4157
|
-
var s = new
|
4119
|
+
return r = Ot(r), new r(function(i, o) {
|
4120
|
+
var s = new Ke({
|
4158
4121
|
next: function(a) {
|
4159
4122
|
try {
|
4160
4123
|
t(a);
|
4161
|
-
} catch (
|
4162
|
-
o(
|
4124
|
+
} catch (l) {
|
4125
|
+
o(l), s.unsubscribe();
|
4163
4126
|
}
|
4164
4127
|
},
|
4165
4128
|
error: o,
|
@@ -4170,15 +4133,15 @@ var Ut = function() {
|
|
4170
4133
|
}, e.prototype._subscribe = function(t) {
|
4171
4134
|
var r;
|
4172
4135
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4173
|
-
}, e.prototype[
|
4136
|
+
}, e.prototype[no] = function() {
|
4174
4137
|
return this;
|
4175
4138
|
}, e.prototype.pipe = function() {
|
4176
4139
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4177
4140
|
t[r] = arguments[r];
|
4178
|
-
return
|
4141
|
+
return oo(t)(this);
|
4179
4142
|
}, e.prototype.toPromise = function(t) {
|
4180
4143
|
var r = this;
|
4181
|
-
return t =
|
4144
|
+
return t = Ot(t), new t(function(n, i) {
|
4182
4145
|
var o;
|
4183
4146
|
r.subscribe(function(s) {
|
4184
4147
|
return o = s;
|
@@ -4192,45 +4155,45 @@ var Ut = function() {
|
|
4192
4155
|
return new e(t);
|
4193
4156
|
}, e;
|
4194
4157
|
}();
|
4195
|
-
function
|
4158
|
+
function Ot(e) {
|
4196
4159
|
var t;
|
4197
|
-
return (t = e
|
4160
|
+
return (t = e ?? Yi.Promise) !== null && t !== void 0 ? t : Promise;
|
4198
4161
|
}
|
4199
|
-
function
|
4200
|
-
return e &&
|
4162
|
+
function so(e) {
|
4163
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
4201
4164
|
}
|
4202
|
-
function
|
4203
|
-
return e && e instanceof
|
4165
|
+
function ao(e) {
|
4166
|
+
return e && e instanceof vr || so(e) && yr(e);
|
4204
4167
|
}
|
4205
|
-
var
|
4168
|
+
var uo = br(function(e) {
|
4206
4169
|
return function() {
|
4207
4170
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4208
4171
|
};
|
4209
|
-
}),
|
4210
|
-
|
4172
|
+
}), _r = function(e) {
|
4173
|
+
U(t, e);
|
4211
4174
|
function t() {
|
4212
4175
|
var r = e.call(this) || this;
|
4213
4176
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4214
4177
|
}
|
4215
4178
|
return t.prototype.lift = function(r) {
|
4216
|
-
var n = new
|
4179
|
+
var n = new It(this, this);
|
4217
4180
|
return n.operator = r, n;
|
4218
4181
|
}, t.prototype._throwIfClosed = function() {
|
4219
4182
|
if (this.closed)
|
4220
|
-
throw new
|
4183
|
+
throw new uo();
|
4221
4184
|
}, t.prototype.next = function(r) {
|
4222
4185
|
var n = this;
|
4223
|
-
|
4186
|
+
ve(function() {
|
4224
4187
|
var i, o;
|
4225
4188
|
if (n._throwIfClosed(), !n.isStopped) {
|
4226
4189
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4227
4190
|
try {
|
4228
|
-
for (var s =
|
4229
|
-
var
|
4230
|
-
|
4191
|
+
for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4192
|
+
var l = a.value;
|
4193
|
+
l.next(r);
|
4231
4194
|
}
|
4232
|
-
} catch (
|
4233
|
-
i = { error:
|
4195
|
+
} catch (h) {
|
4196
|
+
i = { error: h };
|
4234
4197
|
} finally {
|
4235
4198
|
try {
|
4236
4199
|
a && !a.done && (o = s.return) && o.call(s);
|
@@ -4242,7 +4205,7 @@ var So = Tr(function(e) {
|
|
4242
4205
|
});
|
4243
4206
|
}, t.prototype.error = function(r) {
|
4244
4207
|
var n = this;
|
4245
|
-
|
4208
|
+
ve(function() {
|
4246
4209
|
if (n._throwIfClosed(), !n.isStopped) {
|
4247
4210
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
4248
4211
|
for (var i = n.observers; i.length; )
|
@@ -4251,7 +4214,7 @@ var So = Tr(function(e) {
|
|
4251
4214
|
});
|
4252
4215
|
}, t.prototype.complete = function() {
|
4253
4216
|
var r = this;
|
4254
|
-
|
4217
|
+
ve(function() {
|
4255
4218
|
if (r._throwIfClosed(), !r.isStopped) {
|
4256
4219
|
r.isStopped = !0;
|
4257
4220
|
for (var n = r.observers; n.length; )
|
@@ -4273,20 +4236,20 @@ var So = Tr(function(e) {
|
|
4273
4236
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4274
4237
|
}, t.prototype._innerSubscribe = function(r) {
|
4275
4238
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4276
|
-
return o || s ?
|
4277
|
-
n.currentObservers = null,
|
4239
|
+
return o || s ? gr : (this.currentObservers = null, a.push(r), new Oe(function() {
|
4240
|
+
n.currentObservers = null, qe(a, r);
|
4278
4241
|
}));
|
4279
4242
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4280
4243
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4281
4244
|
i ? r.error(o) : s && r.complete();
|
4282
4245
|
}, t.prototype.asObservable = function() {
|
4283
|
-
var r = new
|
4246
|
+
var r = new At();
|
4284
4247
|
return r.source = this, r;
|
4285
4248
|
}, t.create = function(r, n) {
|
4286
|
-
return new
|
4249
|
+
return new It(r, n);
|
4287
4250
|
}, t;
|
4288
|
-
}(
|
4289
|
-
|
4251
|
+
}(At), It = function(e) {
|
4252
|
+
U(t, e);
|
4290
4253
|
function t(r, n) {
|
4291
4254
|
var i = e.call(this) || this;
|
4292
4255
|
return i.destination = r, i.source = n, i;
|
@@ -4302,58 +4265,58 @@ var So = Tr(function(e) {
|
|
4302
4265
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4303
4266
|
}, t.prototype._subscribe = function(r) {
|
4304
4267
|
var n, i;
|
4305
|
-
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;
|
4306
4269
|
}, t;
|
4307
|
-
}(
|
4270
|
+
}(_r), xr = {
|
4308
4271
|
now: function() {
|
4309
|
-
return (
|
4272
|
+
return (xr.delegate || Date).now();
|
4310
4273
|
},
|
4311
4274
|
delegate: void 0
|
4312
|
-
},
|
4313
|
-
|
4275
|
+
}, lo = function(e) {
|
4276
|
+
U(t, e);
|
4314
4277
|
function t(r, n, i) {
|
4315
|
-
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);
|
4316
4279
|
var o = e.call(this) || this;
|
4317
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;
|
4318
4281
|
}
|
4319
4282
|
return t.prototype.next = function(r) {
|
4320
|
-
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider,
|
4321
|
-
i || (o.push(r), !s && o.push(a.now() +
|
4283
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
4284
|
+
i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
4322
4285
|
}, t.prototype._subscribe = function(r) {
|
4323
4286
|
this._throwIfClosed(), this._trimBuffer();
|
4324
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(),
|
4325
|
-
r.next(a[
|
4287
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
4288
|
+
r.next(a[l]);
|
4326
4289
|
return this._checkFinalizedStatuses(r), n;
|
4327
4290
|
}, t.prototype._trimBuffer = function() {
|
4328
4291
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
4329
4292
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
4330
|
-
for (var
|
4331
|
-
|
4332
|
-
|
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);
|
4333
4296
|
}
|
4334
4297
|
}, t;
|
4335
|
-
}(
|
4336
|
-
const
|
4337
|
-
if (
|
4338
|
-
const r = new
|
4339
|
-
|
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);
|
4340
4303
|
}
|
4341
|
-
return
|
4304
|
+
return Nt[e];
|
4342
4305
|
};
|
4343
|
-
window.emWidgets = { topic:
|
4344
|
-
const
|
4345
|
-
function
|
4346
|
-
|
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)}}');
|
4347
4310
|
}
|
4348
|
-
function
|
4311
|
+
function Mt(e, t, r) {
|
4349
4312
|
const n = e.slice();
|
4350
4313
|
return n[41] = t[r], n;
|
4351
4314
|
}
|
4352
|
-
function
|
4315
|
+
function Rt(e, t, r) {
|
4353
4316
|
const n = e.slice();
|
4354
4317
|
return n[44] = t[r], n;
|
4355
4318
|
}
|
4356
|
-
function
|
4319
|
+
function po(e) {
|
4357
4320
|
let t, r, n, i = (
|
4358
4321
|
/*type*/
|
4359
4322
|
(e[0] == "vendor" ? (
|
@@ -4363,36 +4326,36 @@ function Po(e) {
|
|
4363
4326
|
/*$_*/
|
4364
4327
|
e[11]("collections")
|
4365
4328
|
)) + ""
|
4366
|
-
), o, s, a,
|
4329
|
+
), o, s, a, l, h, u, c = (
|
4367
4330
|
/*numberOfSlides*/
|
4368
4331
|
e[8] > /*numberOfVisibleSlides*/
|
4369
|
-
e[9] &&
|
4370
|
-
), f =
|
4332
|
+
e[9] && $t(e)
|
4333
|
+
), f = Se(
|
4371
4334
|
/*gameCategories*/
|
4372
4335
|
e[3]
|
4373
|
-
),
|
4336
|
+
), m = [];
|
4374
4337
|
for (let d = 0; d < f.length; d += 1)
|
4375
|
-
|
4338
|
+
m[d] = Dt(Mt(e, f, d));
|
4376
4339
|
return {
|
4377
4340
|
c() {
|
4378
|
-
t =
|
4379
|
-
for (let d = 0; d <
|
4380
|
-
|
4381
|
-
E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(
|
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(() => (
|
4382
4345
|
/*div1_elementresize_handler*/
|
4383
|
-
e[27].call(
|
4384
|
-
)), E(t, "class",
|
4346
|
+
e[27].call(l)
|
4347
|
+
)), E(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
4385
4348
|
(e[10] ? "Mobile" : "") + " " + /*type*/
|
4386
4349
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4387
4350
|
},
|
4388
4351
|
m(d, g) {
|
4389
|
-
|
4390
|
-
for (let
|
4391
|
-
p
|
4392
|
-
e[26](
|
4393
|
-
|
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(
|
4356
|
+
l,
|
4394
4357
|
/*div1_elementresize_handler*/
|
4395
|
-
e[27].bind(
|
4358
|
+
e[27].bind(l)
|
4396
4359
|
);
|
4397
4360
|
},
|
4398
4361
|
p(d, g) {
|
@@ -4404,63 +4367,63 @@ function Po(e) {
|
|
4404
4367
|
) : (
|
4405
4368
|
/*$_*/
|
4406
4369
|
d[11]("collections")
|
4407
|
-
)) + "") &&
|
4370
|
+
)) + "") && tt(o, i), /*numberOfSlides*/
|
4408
4371
|
d[8] > /*numberOfVisibleSlides*/
|
4409
|
-
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*/
|
4410
4373
|
49166) {
|
4411
|
-
f =
|
4374
|
+
f = Se(
|
4412
4375
|
/*gameCategories*/
|
4413
4376
|
d[3]
|
4414
4377
|
);
|
4415
|
-
let
|
4416
|
-
for (
|
4417
|
-
const
|
4418
|
-
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));
|
4419
4382
|
}
|
4420
|
-
for (;
|
4421
|
-
p
|
4422
|
-
|
4383
|
+
for (; p < m.length; p += 1)
|
4384
|
+
m[p].d(1);
|
4385
|
+
m.length = f.length;
|
4423
4386
|
}
|
4424
4387
|
g[0] & /*mobile, type*/
|
4425
|
-
1025 &&
|
4388
|
+
1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
4426
4389
|
(d[10] ? "Mobile" : "") + " " + /*type*/
|
4427
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class",
|
4390
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
|
4428
4391
|
},
|
4429
4392
|
d(d) {
|
4430
|
-
d &&
|
4393
|
+
d && N(t), c && c.d(), Vt(m, d), e[26](null), h();
|
4431
4394
|
}
|
4432
4395
|
};
|
4433
4396
|
}
|
4434
|
-
function
|
4397
|
+
function mo(e) {
|
4435
4398
|
let t;
|
4436
4399
|
return {
|
4437
4400
|
c() {
|
4438
|
-
t =
|
4401
|
+
t = H("div"), E(t, "class", "LoadingSpinner");
|
4439
4402
|
},
|
4440
4403
|
m(r, n) {
|
4441
|
-
|
4404
|
+
R(r, t, n);
|
4442
4405
|
},
|
4443
|
-
p:
|
4406
|
+
p: I,
|
4444
4407
|
d(r) {
|
4445
|
-
r &&
|
4408
|
+
r && N(t);
|
4446
4409
|
}
|
4447
4410
|
};
|
4448
4411
|
}
|
4449
|
-
function
|
4412
|
+
function $t(e) {
|
4450
4413
|
let t, r, n, i, o, s;
|
4451
4414
|
return {
|
4452
4415
|
c() {
|
4453
|
-
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");
|
4454
4417
|
},
|
4455
|
-
m(a,
|
4456
|
-
|
4457
|
-
|
4418
|
+
m(a, l) {
|
4419
|
+
R(a, t, l), T(t, r), T(t, n), T(t, i), o || (s = [
|
4420
|
+
Q(
|
4458
4421
|
r,
|
4459
4422
|
"click",
|
4460
4423
|
/*click_handler*/
|
4461
4424
|
e[22]
|
4462
4425
|
),
|
4463
|
-
|
4426
|
+
Q(
|
4464
4427
|
i,
|
4465
4428
|
"click",
|
4466
4429
|
/*click_handler_1*/
|
@@ -4468,85 +4431,85 @@ function Wt(e) {
|
|
4468
4431
|
)
|
4469
4432
|
], o = !0);
|
4470
4433
|
},
|
4471
|
-
p:
|
4434
|
+
p: I,
|
4472
4435
|
d(a) {
|
4473
|
-
a &&
|
4436
|
+
a && N(t), o = !1, ee(s);
|
4474
4437
|
}
|
4475
4438
|
};
|
4476
4439
|
}
|
4477
|
-
function
|
4440
|
+
function bo(e) {
|
4478
4441
|
let t, r = (
|
4479
4442
|
/*category*/
|
4480
4443
|
e[41].name + ""
|
4481
4444
|
), n;
|
4482
4445
|
return {
|
4483
4446
|
c() {
|
4484
|
-
t =
|
4447
|
+
t = H("p"), n = He(r), E(t, "class", "CategorySlideTitle");
|
4485
4448
|
},
|
4486
4449
|
m(i, o) {
|
4487
|
-
|
4450
|
+
R(i, t, o), T(t, n);
|
4488
4451
|
},
|
4489
4452
|
p(i, o) {
|
4490
4453
|
o[0] & /*gameCategories*/
|
4491
4454
|
8 && r !== (r = /*category*/
|
4492
|
-
i[41].name + "") &&
|
4455
|
+
i[41].name + "") && tt(n, r);
|
4493
4456
|
},
|
4494
4457
|
d(i) {
|
4495
|
-
i &&
|
4458
|
+
i && N(t);
|
4496
4459
|
}
|
4497
4460
|
};
|
4498
4461
|
}
|
4499
|
-
function
|
4462
|
+
function go(e) {
|
4500
4463
|
let t, r, n;
|
4501
4464
|
return {
|
4502
4465
|
c() {
|
4503
|
-
t =
|
4466
|
+
t = H("img"), E(t, "class", "CategorySlideLogo"), _e(t.src, r = /*category*/
|
4504
4467
|
e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
|
4505
4468
|
e[41].name + " icon");
|
4506
4469
|
},
|
4507
4470
|
m(i, o) {
|
4508
|
-
|
4471
|
+
R(i, t, o);
|
4509
4472
|
},
|
4510
4473
|
p(i, o) {
|
4511
4474
|
o[0] & /*gameCategories*/
|
4512
|
-
8 && !
|
4475
|
+
8 && !_e(t.src, r = /*category*/
|
4513
4476
|
i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
|
4514
4477
|
8 && n !== (n = /*category*/
|
4515
4478
|
i[41].name + " icon") && E(t, "alt", n);
|
4516
4479
|
},
|
4517
4480
|
d(i) {
|
4518
|
-
i &&
|
4481
|
+
i && N(t);
|
4519
4482
|
}
|
4520
4483
|
};
|
4521
4484
|
}
|
4522
|
-
function
|
4485
|
+
function Gt(e) {
|
4523
4486
|
let t, r = (
|
4524
4487
|
/*game*/
|
4525
4488
|
e[44].name + ""
|
4526
4489
|
), n, i;
|
4527
4490
|
return {
|
4528
4491
|
c() {
|
4529
|
-
t =
|
4492
|
+
t = H("p"), n = He(r), E(t, "title", i = /*game*/
|
4530
4493
|
e[44].name);
|
4531
4494
|
},
|
4532
4495
|
m(o, s) {
|
4533
|
-
|
4496
|
+
R(o, t, s), T(t, n);
|
4534
4497
|
},
|
4535
4498
|
p(o, s) {
|
4536
4499
|
s[0] & /*gameCategories*/
|
4537
4500
|
8 && r !== (r = /*game*/
|
4538
|
-
o[44].name + "") &&
|
4501
|
+
o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
|
4539
4502
|
8 && i !== (i = /*game*/
|
4540
4503
|
o[44].name) && E(t, "title", i);
|
4541
4504
|
},
|
4542
4505
|
d(o) {
|
4543
|
-
o &&
|
4506
|
+
o && N(t);
|
4544
4507
|
}
|
4545
4508
|
};
|
4546
4509
|
}
|
4547
|
-
function
|
4548
|
-
let t, r, n, i, o, s, a,
|
4549
|
-
function
|
4510
|
+
function Ut(e) {
|
4511
|
+
let t, r, n, i, o, s, a, l;
|
4512
|
+
function h() {
|
4550
4513
|
return (
|
4551
4514
|
/*click_handler_2*/
|
4552
4515
|
e[24](
|
@@ -4555,50 +4518,50 @@ function Zt(e) {
|
|
4555
4518
|
)
|
4556
4519
|
);
|
4557
4520
|
}
|
4558
|
-
let
|
4521
|
+
let u = (
|
4559
4522
|
/*collectionprovidersgamenames*/
|
4560
|
-
e[2] == "true" &&
|
4523
|
+
e[2] == "true" && Gt(e)
|
4561
4524
|
);
|
4562
4525
|
return {
|
4563
4526
|
c() {
|
4564
|
-
t =
|
4527
|
+
t = H("div"), r = H("img"), o = F(), u && u.c(), s = F(), E(r, "class", "CategorySlideGameImage"), _e(r.src, n = /*game*/
|
4565
4528
|
e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
|
4566
4529
|
e[44].name), E(t, "class", "CategorySlideGames");
|
4567
4530
|
},
|
4568
4531
|
m(c, f) {
|
4569
|
-
|
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);
|
4570
4533
|
},
|
4571
4534
|
p(c, f) {
|
4572
4535
|
e = c, f[0] & /*gameCategories*/
|
4573
|
-
8 && !
|
4536
|
+
8 && !_e(r.src, n = /*game*/
|
4574
4537
|
e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
|
4575
4538
|
8 && i !== (i = /*game*/
|
4576
4539
|
e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
|
4577
|
-
e[2] == "true" ?
|
4540
|
+
e[2] == "true" ? u ? u.p(e, f) : (u = Gt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
|
4578
4541
|
},
|
4579
4542
|
d(c) {
|
4580
|
-
c &&
|
4543
|
+
c && N(t), u && u.d(), a = !1, l();
|
4581
4544
|
}
|
4582
4545
|
};
|
4583
4546
|
}
|
4584
|
-
function
|
4585
|
-
let t, r, n, i, o, s, a,
|
4586
|
-
function
|
4547
|
+
function Dt(e) {
|
4548
|
+
let t, r, n, i, o, s, a, l, h;
|
4549
|
+
function u(p, S) {
|
4587
4550
|
if (
|
4588
4551
|
/*titletype*/
|
4589
|
-
|
4590
|
-
) return
|
4552
|
+
p[1] == "logo"
|
4553
|
+
) return go;
|
4591
4554
|
if (
|
4592
4555
|
/*titletype*/
|
4593
|
-
|
4594
|
-
) return
|
4556
|
+
p[1] == "title"
|
4557
|
+
) return bo;
|
4595
4558
|
}
|
4596
|
-
let c =
|
4559
|
+
let c = u(e), f = c && c(e), m = Se(
|
4597
4560
|
/*category*/
|
4598
4561
|
e[41].games
|
4599
4562
|
), d = [];
|
4600
|
-
for (let
|
4601
|
-
d[
|
4563
|
+
for (let p = 0; p < m.length; p += 1)
|
4564
|
+
d[p] = Ut(Rt(e, m, p));
|
4602
4565
|
function g() {
|
4603
4566
|
return (
|
4604
4567
|
/*click_handler_3*/
|
@@ -4610,134 +4573,129 @@ function Qt(e) {
|
|
4610
4573
|
}
|
4611
4574
|
return {
|
4612
4575
|
c() {
|
4613
|
-
|
4614
|
-
|
4615
|
-
|
4616
|
-
|
4617
|
-
|
4618
|
-
|
4619
|
-
((x = e[41]) == null ? void 0 : x.background) + ")"), Ne(r, "background-size", "cover"), E(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");
|
4620
4582
|
},
|
4621
|
-
m(
|
4622
|
-
|
4623
|
-
for (let
|
4624
|
-
d[
|
4625
|
-
|
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);
|
4626
4588
|
},
|
4627
|
-
p(
|
4628
|
-
|
4629
|
-
if (e = m, c === (c = h(e)) && f ? f.p(e, x) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), x[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*/
|
4630
4591
|
16396) {
|
4631
|
-
|
4592
|
+
m = Se(
|
4632
4593
|
/*category*/
|
4633
4594
|
e[41].games
|
4634
4595
|
);
|
4635
|
-
let
|
4636
|
-
for (
|
4637
|
-
const P =
|
4638
|
-
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));
|
4639
4600
|
}
|
4640
|
-
for (;
|
4641
|
-
d[
|
4642
|
-
d.length =
|
4601
|
+
for (; _ < d.length; _ += 1)
|
4602
|
+
d[_].d(1);
|
4603
|
+
d.length = m.length;
|
4643
4604
|
}
|
4644
|
-
|
4605
|
+
S[0] & /*gameCategories*/
|
4645
4606
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4646
|
-
(
|
4647
|
-
8 &&
|
4648
|
-
|
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 + ")");
|
4649
4610
|
},
|
4650
|
-
d(
|
4651
|
-
|
4611
|
+
d(p) {
|
4612
|
+
p && N(t), f && f.d(), Vt(d, p), l = !1, h();
|
4652
4613
|
}
|
4653
4614
|
};
|
4654
4615
|
}
|
4655
|
-
function
|
4616
|
+
function yo(e) {
|
4656
4617
|
let t;
|
4657
4618
|
function r(o, s) {
|
4658
4619
|
return (
|
4659
4620
|
/*isLoading*/
|
4660
|
-
o[7] ?
|
4621
|
+
o[7] ? mo : po
|
4661
4622
|
);
|
4662
4623
|
}
|
4663
4624
|
let n = r(e), i = n(e);
|
4664
4625
|
return {
|
4665
4626
|
c() {
|
4666
|
-
t =
|
4627
|
+
t = H("div"), i.c();
|
4667
4628
|
},
|
4668
4629
|
m(o, s) {
|
4669
|
-
|
4630
|
+
R(o, t, s), i.m(t, null), e[28](t);
|
4670
4631
|
},
|
4671
4632
|
p(o, s) {
|
4672
4633
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
4673
4634
|
},
|
4674
|
-
i:
|
4675
|
-
o:
|
4635
|
+
i: I,
|
4636
|
+
o: I,
|
4676
4637
|
d(o) {
|
4677
|
-
o &&
|
4638
|
+
o && N(t), i.d(), e[28](null);
|
4678
4639
|
}
|
4679
4640
|
};
|
4680
4641
|
}
|
4681
|
-
function
|
4642
|
+
function vo(e, t, r) {
|
4682
4643
|
let n;
|
4683
|
-
|
4684
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype:
|
4685
|
-
const
|
4686
|
-
fetch(c).then((
|
4687
|
-
Object.keys(
|
4688
|
-
|
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]);
|
4689
4650
|
});
|
4690
|
-
}).catch((
|
4691
|
-
console.log(
|
4651
|
+
}).catch((C) => {
|
4652
|
+
console.log(C);
|
4692
4653
|
});
|
4693
4654
|
};
|
4694
|
-
Object.keys(
|
4695
|
-
|
4655
|
+
Object.keys(Ct).forEach((b) => {
|
4656
|
+
Ht(b, Ct[b]);
|
4696
4657
|
});
|
4697
|
-
const
|
4658
|
+
const Sr = () => {
|
4698
4659
|
const b = new URL(`${i}/v2/casino/groups/${o}`);
|
4699
|
-
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) => {
|
4700
4661
|
r(7, d = !1);
|
4701
|
-
let
|
4702
|
-
r(3,
|
4703
|
-
|
4704
|
-
|
4705
|
-
|
4706
|
-
|
4707
|
-
|
4708
|
-
|
4709
|
-
|
4710
|
-
flag: N.flags
|
4711
|
-
};
|
4712
|
-
})), r(8, x = 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);
|
4713
4671
|
});
|
4714
|
-
},
|
4715
|
-
|
4716
|
-
|
4717
|
-
}),
|
4718
|
-
},
|
4719
|
-
r(9,
|
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();
|
4720
4682
|
}, ut = () => {
|
4721
|
-
|
4722
|
-
}, lt = () => {
|
4723
|
-
m === 0 ? m = x - S : m - S < -1 ? m = 0 : m--, ut();
|
4724
|
-
}, ht = () => {
|
4725
|
-
m === x - S ? m = 0 : x - S < m + 1 ? m = x - S : m++, ut();
|
4726
|
-
}, ct = (b, B, I, N) => {
|
4683
|
+
p === S - _ ? p = 0 : S - _ < p + 1 ? p = S - _ : p++, st();
|
4684
|
+
}, lt = (b, C, O, L) => {
|
4727
4685
|
window.postMessage(
|
4728
4686
|
{
|
4729
4687
|
type: "OpenCollectionsProvidersGame",
|
4730
4688
|
gameId: b,
|
4731
|
-
launchUrl:
|
4732
|
-
gameName:
|
4733
|
-
subVendor:
|
4689
|
+
launchUrl: C,
|
4690
|
+
gameName: O,
|
4691
|
+
subVendor: L
|
4734
4692
|
},
|
4735
4693
|
window.location.href
|
4736
4694
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
4737
4695
|
context: "CollectionsProviders",
|
4738
|
-
gameName: `${
|
4696
|
+
gameName: `${O}`
|
4739
4697
|
});
|
4740
|
-
},
|
4698
|
+
}, ht = (b) => {
|
4741
4699
|
window.postMessage(
|
4742
4700
|
{
|
4743
4701
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4745,89 +4703,89 @@ function Lo(e, t, r) {
|
|
4745
4703
|
},
|
4746
4704
|
window.location.href
|
4747
4705
|
);
|
4748
|
-
},
|
4749
|
-
|
4750
|
-
},
|
4706
|
+
}, Tr = () => {
|
4707
|
+
Ji(s);
|
4708
|
+
}, Hr = () => {
|
4751
4709
|
let b = document.createElement("style");
|
4752
|
-
b.innerHTML =
|
4753
|
-
},
|
4754
|
-
let b = new URL(
|
4755
|
-
fetch(b.href).then((
|
4756
|
-
|
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(
|
4757
4715
|
() => {
|
4758
|
-
|
4716
|
+
B.appendChild(C);
|
4759
4717
|
},
|
4760
4718
|
1
|
4761
4719
|
);
|
4762
4720
|
});
|
4763
4721
|
};
|
4764
|
-
|
4765
|
-
r(10,
|
4722
|
+
zr(() => {
|
4723
|
+
r(10, ie = co(j));
|
4766
4724
|
});
|
4767
|
-
const
|
4768
|
-
function
|
4769
|
-
|
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) {
|
4727
|
+
xe[b ? "unshift" : "push"](() => {
|
4770
4728
|
g = b, r(4, g);
|
4771
4729
|
});
|
4772
4730
|
}
|
4773
|
-
function
|
4774
|
-
|
4731
|
+
function Lr() {
|
4732
|
+
oe = this.clientWidth, r(6, oe);
|
4775
4733
|
}
|
4776
|
-
function
|
4777
|
-
|
4778
|
-
|
4734
|
+
function Nr(b) {
|
4735
|
+
xe[b ? "unshift" : "push"](() => {
|
4736
|
+
B = b, r(5, B);
|
4779
4737
|
});
|
4780
4738
|
}
|
4781
4739
|
return e.$$set = (b) => {
|
4782
|
-
"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,
|
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);
|
4783
4741
|
}, e.$$.update = () => {
|
4784
4742
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4785
|
-
458752 && i && o && s &&
|
4786
|
-
88 &&
|
4787
|
-
262144 && s &&
|
4788
|
-
524320 &&
|
4789
|
-
1048608 &&
|
4790
|
-
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();
|
4791
4749
|
}, [
|
4792
4750
|
a,
|
4793
|
-
|
4751
|
+
l,
|
4794
4752
|
f,
|
4795
|
-
|
4753
|
+
m,
|
4796
4754
|
g,
|
4797
|
-
|
4798
|
-
|
4755
|
+
B,
|
4756
|
+
oe,
|
4799
4757
|
d,
|
4800
|
-
x,
|
4801
4758
|
S,
|
4802
|
-
|
4759
|
+
_,
|
4760
|
+
ie,
|
4803
4761
|
n,
|
4762
|
+
at,
|
4763
|
+
ut,
|
4804
4764
|
lt,
|
4805
4765
|
ht,
|
4806
|
-
ct,
|
4807
|
-
ft,
|
4808
4766
|
i,
|
4809
4767
|
o,
|
4810
4768
|
s,
|
4811
|
-
l,
|
4812
4769
|
h,
|
4770
|
+
u,
|
4813
4771
|
c,
|
4814
|
-
|
4815
|
-
|
4816
|
-
|
4817
|
-
|
4818
|
-
|
4819
|
-
|
4820
|
-
|
4772
|
+
Pr,
|
4773
|
+
Br,
|
4774
|
+
Ar,
|
4775
|
+
Or,
|
4776
|
+
Ir,
|
4777
|
+
Lr,
|
4778
|
+
Nr
|
4821
4779
|
];
|
4822
4780
|
}
|
4823
|
-
class
|
4781
|
+
class _o extends sn {
|
4824
4782
|
constructor(t) {
|
4825
|
-
super(),
|
4783
|
+
super(), nn(
|
4826
4784
|
this,
|
4827
4785
|
t,
|
4828
|
-
|
4829
|
-
|
4830
|
-
|
4786
|
+
vo,
|
4787
|
+
yo,
|
4788
|
+
kt,
|
4831
4789
|
{
|
4832
4790
|
endpoint: 16,
|
4833
4791
|
datasource: 17,
|
@@ -4839,7 +4797,7 @@ class No extends _n {
|
|
4839
4797
|
translationurl: 21,
|
4840
4798
|
collectionprovidersgamenames: 2
|
4841
4799
|
},
|
4842
|
-
|
4800
|
+
fo,
|
4843
4801
|
[-1, -1]
|
4844
4802
|
);
|
4845
4803
|
}
|
@@ -4847,58 +4805,58 @@ class No extends _n {
|
|
4847
4805
|
return this.$$.ctx[16];
|
4848
4806
|
}
|
4849
4807
|
set endpoint(t) {
|
4850
|
-
this.$$set({ endpoint: t }),
|
4808
|
+
this.$$set({ endpoint: t }), M();
|
4851
4809
|
}
|
4852
4810
|
get datasource() {
|
4853
4811
|
return this.$$.ctx[17];
|
4854
4812
|
}
|
4855
4813
|
set datasource(t) {
|
4856
|
-
this.$$set({ datasource: t }),
|
4814
|
+
this.$$set({ datasource: t }), M();
|
4857
4815
|
}
|
4858
4816
|
get lang() {
|
4859
4817
|
return this.$$.ctx[18];
|
4860
4818
|
}
|
4861
4819
|
set lang(t) {
|
4862
|
-
this.$$set({ lang: t }),
|
4820
|
+
this.$$set({ lang: t }), M();
|
4863
4821
|
}
|
4864
4822
|
get type() {
|
4865
4823
|
return this.$$.ctx[0];
|
4866
4824
|
}
|
4867
4825
|
set type(t) {
|
4868
|
-
this.$$set({ type: t }),
|
4826
|
+
this.$$set({ type: t }), M();
|
4869
4827
|
}
|
4870
4828
|
get titletype() {
|
4871
4829
|
return this.$$.ctx[1];
|
4872
4830
|
}
|
4873
4831
|
set titletype(t) {
|
4874
|
-
this.$$set({ titletype: t }),
|
4832
|
+
this.$$set({ titletype: t }), M();
|
4875
4833
|
}
|
4876
4834
|
get clientstyling() {
|
4877
4835
|
return this.$$.ctx[19];
|
4878
4836
|
}
|
4879
4837
|
set clientstyling(t) {
|
4880
|
-
this.$$set({ clientstyling: t }),
|
4838
|
+
this.$$set({ clientstyling: t }), M();
|
4881
4839
|
}
|
4882
4840
|
get clientstylingurl() {
|
4883
4841
|
return this.$$.ctx[20];
|
4884
4842
|
}
|
4885
4843
|
set clientstylingurl(t) {
|
4886
|
-
this.$$set({ clientstylingurl: t }),
|
4844
|
+
this.$$set({ clientstylingurl: t }), M();
|
4887
4845
|
}
|
4888
4846
|
get translationurl() {
|
4889
4847
|
return this.$$.ctx[21];
|
4890
4848
|
}
|
4891
4849
|
set translationurl(t) {
|
4892
|
-
this.$$set({ translationurl: t }),
|
4850
|
+
this.$$set({ translationurl: t }), M();
|
4893
4851
|
}
|
4894
4852
|
get collectionprovidersgamenames() {
|
4895
4853
|
return this.$$.ctx[2];
|
4896
4854
|
}
|
4897
4855
|
set collectionprovidersgamenames(t) {
|
4898
|
-
this.$$set({ collectionprovidersgamenames: t }),
|
4856
|
+
this.$$set({ collectionprovidersgamenames: t }), M();
|
4899
4857
|
}
|
4900
4858
|
}
|
4901
|
-
|
4859
|
+
on(_o, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
|
4902
4860
|
export {
|
4903
|
-
|
4861
|
+
_o as C
|
4904
4862
|
};
|