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