@everymatrix/casino-slider-nd 1.86.3 → 1.86.5
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/{CasinoSliderNd-DKbfw_Hm.js → CasinoSliderNd-BResWyUu.js} +873 -852
- package/components/CasinoSliderNd-B_L6DoH9.cjs +18 -0
- package/components/{CasinoSliderNd-BlbX2Diu.js → CasinoSliderNd-CBzkrbc4.js} +890 -869
- package/es2015/casino-slider-nd.cjs +1 -1
- package/es2015/casino-slider-nd.js +1 -1
- package/esnext/casino-slider-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSliderNd-BFlcltq4.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var dn = Object.defineProperty,
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var dn = Object.defineProperty, mn = Object.defineProperties;
|
|
2
|
+
var bn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var At = Object.getOwnPropertySymbols;
|
|
4
|
+
var gn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var qe = (e, t, r) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
gn.call(t, r) && qe(e, r, t[r]);
|
|
8
|
+
if (At)
|
|
9
|
+
for (var r of At(t))
|
|
10
|
+
yn.call(t, r) && qe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var $ = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Bt = (e, t) => mn(e, bn(t));
|
|
13
|
+
var $ = (e, t, r) => (qe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Mt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -27,50 +27,50 @@ var It = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function mr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Pt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function Y(e) {
|
|
39
|
+
e.forEach(mr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Ct(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function br(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let Me;
|
|
48
|
-
function
|
|
48
|
+
function ke(e, t) {
|
|
49
49
|
return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function vn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function _n(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
58
|
-
return
|
|
58
|
+
return D;
|
|
59
59
|
}
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function E(e, t) {
|
|
64
64
|
e.appendChild(t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
66
|
+
function En(e, t, r) {
|
|
67
|
+
const n = wn(e);
|
|
68
68
|
if (!n.getElementById(t)) {
|
|
69
69
|
const i = B("style");
|
|
70
|
-
i.id = t, i.textContent = r,
|
|
70
|
+
i.id = t, i.textContent = r, Cn(n, i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function wn(e) {
|
|
74
74
|
if (!e)
|
|
75
75
|
return document;
|
|
76
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -80,20 +80,20 @@ function En(e) {
|
|
|
80
80
|
t
|
|
81
81
|
) : e.ownerDocument;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function Cn(e, t) {
|
|
84
|
+
return E(
|
|
85
85
|
/** @type {Document} */
|
|
86
86
|
e.head || e,
|
|
87
87
|
t
|
|
88
88
|
), t.sheet;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function T(e, t, r) {
|
|
91
91
|
e.insertBefore(t, r || null);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function S(e) {
|
|
94
94
|
e.parentNode && e.parentNode.removeChild(e);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function xn(e, t) {
|
|
97
97
|
for (let r = 0; r < e.length; r += 1)
|
|
98
98
|
e[r] && e[r].d(t);
|
|
99
99
|
}
|
|
@@ -106,7 +106,7 @@ function q(e) {
|
|
|
106
106
|
function te(e) {
|
|
107
107
|
return document.createTextNode(e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function X() {
|
|
110
110
|
return te(" ");
|
|
111
111
|
}
|
|
112
112
|
function ne() {
|
|
@@ -115,17 +115,17 @@ function ne() {
|
|
|
115
115
|
function J(e, t, r, n) {
|
|
116
116
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function d(e, t, r) {
|
|
119
119
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Sn(e) {
|
|
122
122
|
return Array.from(e.childNodes);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function me(e, t) {
|
|
125
125
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
126
126
|
t);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Hn(e) {
|
|
129
129
|
const t = {};
|
|
130
130
|
return e.childNodes.forEach(
|
|
131
131
|
/** @param {Element} node */
|
|
@@ -134,128 +134,128 @@ function Sn(e) {
|
|
|
134
134
|
}
|
|
135
135
|
), t;
|
|
136
136
|
}
|
|
137
|
-
let
|
|
138
|
-
function
|
|
139
|
-
|
|
137
|
+
let Se;
|
|
138
|
+
function Ce(e) {
|
|
139
|
+
Se = e;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
if (!
|
|
141
|
+
function Tn() {
|
|
142
|
+
if (!Se)
|
|
143
143
|
throw new Error("Function called outside component initialization");
|
|
144
|
-
return
|
|
144
|
+
return Se;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
146
|
+
function An(e) {
|
|
147
|
+
Tn().$$.on_mount.push(e);
|
|
148
148
|
}
|
|
149
|
-
const le = [],
|
|
149
|
+
const le = [], xe = [];
|
|
150
150
|
let ue = [];
|
|
151
|
-
const
|
|
152
|
-
let
|
|
153
|
-
function
|
|
154
|
-
|
|
151
|
+
const Ot = [], In = /* @__PURE__ */ Promise.resolve();
|
|
152
|
+
let st = !1;
|
|
153
|
+
function Bn() {
|
|
154
|
+
st || (st = !0, In.then(P));
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function at(e) {
|
|
157
157
|
ue.push(e);
|
|
158
158
|
}
|
|
159
|
-
const
|
|
159
|
+
const Je = /* @__PURE__ */ new Set();
|
|
160
160
|
let se = 0;
|
|
161
161
|
function P() {
|
|
162
162
|
if (se !== 0)
|
|
163
163
|
return;
|
|
164
|
-
const e =
|
|
164
|
+
const e = Se;
|
|
165
165
|
do {
|
|
166
166
|
try {
|
|
167
167
|
for (; se < le.length; ) {
|
|
168
168
|
const t = le[se];
|
|
169
|
-
se++,
|
|
169
|
+
se++, Ce(t), Mn(t.$$);
|
|
170
170
|
}
|
|
171
171
|
} catch (t) {
|
|
172
172
|
throw le.length = 0, se = 0, t;
|
|
173
173
|
}
|
|
174
|
-
for (
|
|
175
|
-
|
|
174
|
+
for (Ce(null), le.length = 0, se = 0; xe.length; )
|
|
175
|
+
xe.pop()();
|
|
176
176
|
for (let t = 0; t < ue.length; t += 1) {
|
|
177
177
|
const r = ue[t];
|
|
178
|
-
|
|
178
|
+
Je.has(r) || (Je.add(r), r());
|
|
179
179
|
}
|
|
180
180
|
ue.length = 0;
|
|
181
181
|
} while (le.length);
|
|
182
|
-
for (;
|
|
183
|
-
|
|
184
|
-
|
|
182
|
+
for (; Ot.length; )
|
|
183
|
+
Ot.pop()();
|
|
184
|
+
st = !1, Je.clear(), Ce(e);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function Mn(e) {
|
|
187
187
|
if (e.fragment !== null) {
|
|
188
|
-
e.update(),
|
|
188
|
+
e.update(), Y(e.before_update);
|
|
189
189
|
const t = e.dirty;
|
|
190
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
190
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Pn(e) {
|
|
194
194
|
const t = [], r = [];
|
|
195
195
|
ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
|
|
196
196
|
}
|
|
197
|
-
const
|
|
198
|
-
function
|
|
199
|
-
e && e.i && (
|
|
197
|
+
const On = /* @__PURE__ */ new Set();
|
|
198
|
+
function gr(e, t) {
|
|
199
|
+
e && e.i && (On.delete(e), e.i(t));
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function he(e) {
|
|
202
202
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function yr(e, t) {
|
|
205
205
|
e.d(1), t.delete(e.key);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function vr(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
208
208
|
let f = e.length, m = o.length, b = f;
|
|
209
209
|
const g = {};
|
|
210
210
|
for (; b--; )
|
|
211
211
|
g[e[b].key] = b;
|
|
212
|
-
const y = [],
|
|
212
|
+
const y = [], C = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), N = [];
|
|
213
213
|
for (b = m; b--; ) {
|
|
214
|
-
const
|
|
214
|
+
const H = c(i, o, b), U = r(H);
|
|
215
215
|
let O = s.get(U);
|
|
216
|
-
O ? N.push(() => O.p(
|
|
216
|
+
O ? N.push(() => O.p(H, t)) : (O = u(U, H), O.c()), C.set(U, y[b] = O), U in g && A.set(U, Math.abs(b - g[U]));
|
|
217
217
|
}
|
|
218
218
|
const j = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set();
|
|
219
|
-
function V(
|
|
220
|
-
|
|
219
|
+
function V(H) {
|
|
220
|
+
gr(H, 1), H.m(a, h), s.set(H.key, H), h = H.first, m--;
|
|
221
221
|
}
|
|
222
222
|
for (; f && m; ) {
|
|
223
|
-
const
|
|
224
|
-
|
|
223
|
+
const H = y[m - 1], U = e[f - 1], O = H.key, G = U.key;
|
|
224
|
+
H === U ? (h = H.first, f--, m--) : C.has(G) ? !s.has(O) || j.has(O) ? V(H) : F.has(G) ? f-- : A.get(O) > A.get(G) ? (F.add(O), V(H)) : (j.add(G), f--) : (l(U, s), f--);
|
|
225
225
|
}
|
|
226
226
|
for (; f--; ) {
|
|
227
|
-
const
|
|
228
|
-
|
|
227
|
+
const H = e[f];
|
|
228
|
+
C.has(H.key) || l(H, s);
|
|
229
229
|
}
|
|
230
230
|
for (; m; )
|
|
231
231
|
V(y[m - 1]);
|
|
232
|
-
return
|
|
232
|
+
return Y(N), y;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Ln(e, t, r) {
|
|
235
235
|
const { fragment: n, after_update: i } = e.$$;
|
|
236
|
-
n && n.m(t, r),
|
|
237
|
-
const o = e.$$.on_mount.map(
|
|
238
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
239
|
-
}), i.forEach(
|
|
236
|
+
n && n.m(t, r), at(() => {
|
|
237
|
+
const o = e.$$.on_mount.map(mr).filter(Ct);
|
|
238
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
|
|
239
|
+
}), i.forEach(at);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Nn(e, t) {
|
|
242
242
|
const r = e.$$;
|
|
243
|
-
r.fragment !== null && (
|
|
243
|
+
r.fragment !== null && (Pn(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
e.$$.dirty[0] === -1 && (le.push(e),
|
|
245
|
+
function Rn(e, t) {
|
|
246
|
+
e.$$.dirty[0] === -1 && (le.push(e), Bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
const l =
|
|
250
|
-
|
|
248
|
+
function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
249
|
+
const l = Se;
|
|
250
|
+
Ce(e);
|
|
251
251
|
const u = e.$$ = {
|
|
252
252
|
fragment: null,
|
|
253
253
|
ctx: [],
|
|
254
254
|
// state
|
|
255
255
|
props: o,
|
|
256
|
-
update:
|
|
256
|
+
update: D,
|
|
257
257
|
not_equal: i,
|
|
258
|
-
bound:
|
|
258
|
+
bound: Pt(),
|
|
259
259
|
// lifecycle
|
|
260
260
|
on_mount: [],
|
|
261
261
|
on_destroy: [],
|
|
@@ -264,7 +264,7 @@ function Rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
264
264
|
after_update: [],
|
|
265
265
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
266
266
|
// everything else
|
|
267
|
-
callbacks:
|
|
267
|
+
callbacks: Pt(),
|
|
268
268
|
dirty: a,
|
|
269
269
|
skip_bound: !1,
|
|
270
270
|
root: t.target || l.$$.root
|
|
@@ -273,19 +273,19 @@ function Rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
273
273
|
let h = !1;
|
|
274
274
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
275
275
|
const b = m.length ? m[0] : f;
|
|
276
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h &&
|
|
277
|
-
}) : [], u.update(), h = !0,
|
|
276
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && Rn(e, c)), f;
|
|
277
|
+
}) : [], u.update(), h = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
278
278
|
if (t.hydrate) {
|
|
279
|
-
const c =
|
|
280
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
279
|
+
const c = Sn(t.target);
|
|
280
|
+
u.fragment && u.fragment.l(c), c.forEach(S);
|
|
281
281
|
} else
|
|
282
282
|
u.fragment && u.fragment.c();
|
|
283
|
-
t.intro &&
|
|
283
|
+
t.intro && gr(e.$$.fragment), Ln(e, t.target, t.anchor), P();
|
|
284
284
|
}
|
|
285
|
-
|
|
285
|
+
Ce(l);
|
|
286
286
|
}
|
|
287
|
-
let
|
|
288
|
-
typeof HTMLElement == "function" && (
|
|
287
|
+
let _r;
|
|
288
|
+
typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
289
289
|
constructor(t, r, n) {
|
|
290
290
|
super();
|
|
291
291
|
/** The Svelte component constructor */
|
|
@@ -322,31 +322,31 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
connectedCallback() {
|
|
325
|
-
return
|
|
325
|
+
return Mt(this, null, function* () {
|
|
326
326
|
if (this.$$cn = !0, !this.$$c) {
|
|
327
327
|
let t = function(o) {
|
|
328
328
|
return () => {
|
|
329
329
|
let s;
|
|
330
330
|
return {
|
|
331
331
|
c: function() {
|
|
332
|
-
s = B("slot"), o !== "default" &&
|
|
332
|
+
s = B("slot"), o !== "default" && d(s, "name", o);
|
|
333
333
|
},
|
|
334
334
|
/**
|
|
335
335
|
* @param {HTMLElement} target
|
|
336
336
|
* @param {HTMLElement} [anchor]
|
|
337
337
|
*/
|
|
338
338
|
m: function(u, h) {
|
|
339
|
-
|
|
339
|
+
T(u, s, h);
|
|
340
340
|
},
|
|
341
341
|
d: function(u) {
|
|
342
|
-
u &&
|
|
342
|
+
u && S(s);
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
};
|
|
346
346
|
};
|
|
347
347
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
348
348
|
return;
|
|
349
|
-
const r = {}, n =
|
|
349
|
+
const r = {}, n = Hn(this);
|
|
350
350
|
for (const o of this.$$s)
|
|
351
351
|
o in n && (r[o] = [t(o)]);
|
|
352
352
|
for (const o of this.attributes) {
|
|
@@ -357,7 +357,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
357
357
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
358
358
|
this.$$c = new this.$$ctor({
|
|
359
359
|
target: this.shadowRoot || this,
|
|
360
|
-
props:
|
|
360
|
+
props: Bt(It({}, this.$$d), {
|
|
361
361
|
$$slots: r,
|
|
362
362
|
$$scope: {
|
|
363
363
|
ctx: []
|
|
@@ -435,8 +435,8 @@ function Le(e, t, r, n) {
|
|
|
435
435
|
return t;
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
function
|
|
439
|
-
let s = class extends
|
|
438
|
+
function kn(e, t, r, n, i, o) {
|
|
439
|
+
let s = class extends _r {
|
|
440
440
|
constructor() {
|
|
441
441
|
super(e, r, i), this.$$p_d = t;
|
|
442
442
|
}
|
|
@@ -487,7 +487,7 @@ class Dn {
|
|
|
487
487
|
}
|
|
488
488
|
/** @returns {void} */
|
|
489
489
|
$destroy() {
|
|
490
|
-
|
|
490
|
+
Nn(this, 1), this.$destroy = D;
|
|
491
491
|
}
|
|
492
492
|
/**
|
|
493
493
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -496,8 +496,8 @@ class Dn {
|
|
|
496
496
|
* @returns {() => void}
|
|
497
497
|
*/
|
|
498
498
|
$on(t, r) {
|
|
499
|
-
if (!
|
|
500
|
-
return
|
|
499
|
+
if (!Ct(r))
|
|
500
|
+
return D;
|
|
501
501
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
502
502
|
return n.push(r), () => {
|
|
503
503
|
const i = n.indexOf(r);
|
|
@@ -509,11 +509,11 @@ class Dn {
|
|
|
509
509
|
* @returns {void}
|
|
510
510
|
*/
|
|
511
511
|
$set(t) {
|
|
512
|
-
this.$$set && !
|
|
512
|
+
this.$$set && !vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
const
|
|
516
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
515
|
+
const Un = "4";
|
|
516
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Un);
|
|
517
517
|
/*! *****************************************************************************
|
|
518
518
|
Copyright (c) Microsoft Corporation.
|
|
519
519
|
|
|
@@ -528,43 +528,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
528
528
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
529
529
|
PERFORMANCE OF THIS SOFTWARE.
|
|
530
530
|
***************************************************************************** */
|
|
531
|
-
var
|
|
532
|
-
return
|
|
531
|
+
var lt = function(e, t) {
|
|
532
|
+
return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
533
533
|
r.__proto__ = n;
|
|
534
534
|
} || function(r, n) {
|
|
535
535
|
for (var i in n)
|
|
536
536
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
537
|
-
},
|
|
537
|
+
}, lt(e, t);
|
|
538
538
|
};
|
|
539
|
-
function
|
|
539
|
+
function Ae(e, t) {
|
|
540
540
|
if (typeof t != "function" && t !== null)
|
|
541
541
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
542
|
-
|
|
542
|
+
lt(e, t);
|
|
543
543
|
function r() {
|
|
544
544
|
this.constructor = e;
|
|
545
545
|
}
|
|
546
546
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
547
547
|
}
|
|
548
|
-
|
|
549
|
-
return E = Object.assign || function(t) {
|
|
550
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
551
|
-
r = arguments[n];
|
|
552
|
-
for (var o in r)
|
|
553
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
554
|
-
}
|
|
555
|
-
return t;
|
|
556
|
-
}, E.apply(this, arguments);
|
|
557
|
-
};
|
|
558
|
-
function Un(e, t) {
|
|
559
|
-
var r = {};
|
|
560
|
-
for (var n in e)
|
|
561
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
562
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
563
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
564
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
565
|
-
return r;
|
|
566
|
-
}
|
|
567
|
-
function at(e) {
|
|
548
|
+
function ut(e) {
|
|
568
549
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
569
550
|
if (r)
|
|
570
551
|
return r.call(e);
|
|
@@ -576,7 +557,7 @@ function at(e) {
|
|
|
576
557
|
};
|
|
577
558
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
578
559
|
}
|
|
579
|
-
function
|
|
560
|
+
function ht(e, t) {
|
|
580
561
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
581
562
|
if (!r)
|
|
582
563
|
return e;
|
|
@@ -596,22 +577,22 @@ function lt(e, t) {
|
|
|
596
577
|
}
|
|
597
578
|
return o;
|
|
598
579
|
}
|
|
599
|
-
function
|
|
600
|
-
if (
|
|
580
|
+
function ct(e, t, r) {
|
|
581
|
+
if (arguments.length === 2)
|
|
601
582
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
602
583
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
603
584
|
return e.concat(o || t);
|
|
604
585
|
}
|
|
605
|
-
function
|
|
586
|
+
function Q(e) {
|
|
606
587
|
return typeof e == "function";
|
|
607
588
|
}
|
|
608
|
-
function
|
|
589
|
+
function Er(e) {
|
|
609
590
|
var t = function(n) {
|
|
610
591
|
Error.call(n), n.stack = new Error().stack;
|
|
611
592
|
}, r = e(t);
|
|
612
593
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
613
594
|
}
|
|
614
|
-
var
|
|
595
|
+
var Ke = Er(function(e) {
|
|
615
596
|
return function(r) {
|
|
616
597
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
617
598
|
` + r.map(function(n, i) {
|
|
@@ -620,13 +601,13 @@ var qe = vr(function(e) {
|
|
|
620
601
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
621
602
|
};
|
|
622
603
|
});
|
|
623
|
-
function
|
|
604
|
+
function ft(e, t) {
|
|
624
605
|
if (e) {
|
|
625
606
|
var r = e.indexOf(t);
|
|
626
607
|
0 <= r && e.splice(r, 1);
|
|
627
608
|
}
|
|
628
609
|
}
|
|
629
|
-
var
|
|
610
|
+
var $e = function() {
|
|
630
611
|
function e(t) {
|
|
631
612
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
632
613
|
}
|
|
@@ -638,7 +619,7 @@ var Ge = function() {
|
|
|
638
619
|
if (s)
|
|
639
620
|
if (this._parentage = null, Array.isArray(s))
|
|
640
621
|
try {
|
|
641
|
-
for (var a =
|
|
622
|
+
for (var a = ut(s), l = a.next(); !l.done; l = a.next()) {
|
|
642
623
|
var u = l.value;
|
|
643
624
|
u.remove(this);
|
|
644
625
|
}
|
|
@@ -655,22 +636,22 @@ var Ge = function() {
|
|
|
655
636
|
else
|
|
656
637
|
s.remove(this);
|
|
657
638
|
var h = this.initialTeardown;
|
|
658
|
-
if (
|
|
639
|
+
if (Q(h))
|
|
659
640
|
try {
|
|
660
641
|
h();
|
|
661
642
|
} catch (g) {
|
|
662
|
-
o = g instanceof
|
|
643
|
+
o = g instanceof Ke ? g.errors : [g];
|
|
663
644
|
}
|
|
664
645
|
var c = this._finalizers;
|
|
665
646
|
if (c) {
|
|
666
647
|
this._finalizers = null;
|
|
667
648
|
try {
|
|
668
|
-
for (var f =
|
|
649
|
+
for (var f = ut(c), m = f.next(); !m.done; m = f.next()) {
|
|
669
650
|
var b = m.value;
|
|
670
651
|
try {
|
|
671
|
-
|
|
652
|
+
Lt(b);
|
|
672
653
|
} catch (g) {
|
|
673
|
-
o = o != null ? o : [], g instanceof
|
|
654
|
+
o = o != null ? o : [], g instanceof Ke ? o = ct(ct([], ht(o)), ht(g.errors)) : o.push(g);
|
|
674
655
|
}
|
|
675
656
|
}
|
|
676
657
|
} catch (g) {
|
|
@@ -685,13 +666,13 @@ var Ge = function() {
|
|
|
685
666
|
}
|
|
686
667
|
}
|
|
687
668
|
if (o)
|
|
688
|
-
throw new
|
|
669
|
+
throw new Ke(o);
|
|
689
670
|
}
|
|
690
671
|
}, e.prototype.add = function(t) {
|
|
691
672
|
var r;
|
|
692
673
|
if (t && t !== this)
|
|
693
674
|
if (this.closed)
|
|
694
|
-
|
|
675
|
+
Lt(t);
|
|
695
676
|
else {
|
|
696
677
|
if (t instanceof e) {
|
|
697
678
|
if (t.closed || t._hasParent(this))
|
|
@@ -708,56 +689,52 @@ var Ge = function() {
|
|
|
708
689
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
709
690
|
}, e.prototype._removeParent = function(t) {
|
|
710
691
|
var r = this._parentage;
|
|
711
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
692
|
+
r === t ? this._parentage = null : Array.isArray(r) && ft(r, t);
|
|
712
693
|
}, e.prototype.remove = function(t) {
|
|
713
694
|
var r = this._finalizers;
|
|
714
|
-
r &&
|
|
695
|
+
r && ft(r, t), t instanceof e && t._removeParent(this);
|
|
715
696
|
}, e.EMPTY = function() {
|
|
716
697
|
var t = new e();
|
|
717
698
|
return t.closed = !0, t;
|
|
718
699
|
}(), e;
|
|
719
|
-
}(),
|
|
720
|
-
function
|
|
721
|
-
return e instanceof
|
|
722
|
-
}
|
|
723
|
-
function
|
|
724
|
-
|
|
725
|
-
}
|
|
726
|
-
var
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
Promise: void 0,
|
|
730
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
731
|
-
useDeprecatedNextContext: !1
|
|
732
|
-
}, Gn = {
|
|
700
|
+
}(), wr = $e.EMPTY;
|
|
701
|
+
function Cr(e) {
|
|
702
|
+
return e instanceof $e || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
|
|
703
|
+
}
|
|
704
|
+
function Lt(e) {
|
|
705
|
+
Q(e) ? e() : e.unsubscribe();
|
|
706
|
+
}
|
|
707
|
+
var Gn = {
|
|
708
|
+
Promise: void 0
|
|
709
|
+
}, $n = {
|
|
733
710
|
setTimeout: function(e, t) {
|
|
734
711
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
735
712
|
r[n - 2] = arguments[n];
|
|
736
|
-
return setTimeout.apply(void 0,
|
|
713
|
+
return setTimeout.apply(void 0, ct([e, t], ht(r)));
|
|
737
714
|
},
|
|
738
715
|
clearTimeout: function(e) {
|
|
739
716
|
return clearTimeout(e);
|
|
740
717
|
},
|
|
741
718
|
delegate: void 0
|
|
742
719
|
};
|
|
743
|
-
function
|
|
744
|
-
|
|
720
|
+
function jn(e) {
|
|
721
|
+
$n.setTimeout(function() {
|
|
745
722
|
throw e;
|
|
746
723
|
});
|
|
747
724
|
}
|
|
748
|
-
function
|
|
725
|
+
function Nt() {
|
|
749
726
|
}
|
|
750
727
|
function Ne(e) {
|
|
751
728
|
e();
|
|
752
729
|
}
|
|
753
|
-
var
|
|
754
|
-
|
|
730
|
+
var xr = function(e) {
|
|
731
|
+
Ae(t, e);
|
|
755
732
|
function t(r) {
|
|
756
733
|
var n = e.call(this) || this;
|
|
757
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
734
|
+
return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = Xn, n;
|
|
758
735
|
}
|
|
759
736
|
return t.create = function(r, n, i) {
|
|
760
|
-
return new
|
|
737
|
+
return new pt(r, n, i);
|
|
761
738
|
}, t.prototype.next = function(r) {
|
|
762
739
|
this.isStopped || this._next(r);
|
|
763
740
|
}, t.prototype.error = function(r) {
|
|
@@ -781,11 +758,7 @@ var Cr = function(e) {
|
|
|
781
758
|
this.unsubscribe();
|
|
782
759
|
}
|
|
783
760
|
}, t;
|
|
784
|
-
}(
|
|
785
|
-
function Je(e, t) {
|
|
786
|
-
return jn.call(e, t);
|
|
787
|
-
}
|
|
788
|
-
var Vn = function() {
|
|
761
|
+
}($e), Vn = function() {
|
|
789
762
|
function e(t) {
|
|
790
763
|
this.partialObserver = t;
|
|
791
764
|
}
|
|
@@ -816,41 +789,29 @@ var Vn = function() {
|
|
|
816
789
|
Pe(r);
|
|
817
790
|
}
|
|
818
791
|
}, e;
|
|
819
|
-
}(),
|
|
820
|
-
|
|
792
|
+
}(), pt = function(e) {
|
|
793
|
+
Ae(t, e);
|
|
821
794
|
function t(r, n, i) {
|
|
822
795
|
var o = e.call(this) || this, s;
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
};
|
|
829
|
-
else {
|
|
830
|
-
var a;
|
|
831
|
-
o && wr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
832
|
-
return o.unsubscribe();
|
|
833
|
-
}, s = {
|
|
834
|
-
next: r.next && Je(r.next, a),
|
|
835
|
-
error: r.error && Je(r.error, a),
|
|
836
|
-
complete: r.complete && Je(r.complete, a)
|
|
837
|
-
}) : s = r;
|
|
838
|
-
}
|
|
839
|
-
return o.destination = new Vn(s), o;
|
|
796
|
+
return Q(r) || !r ? s = {
|
|
797
|
+
next: r != null ? r : void 0,
|
|
798
|
+
error: n != null ? n : void 0,
|
|
799
|
+
complete: i != null ? i : void 0
|
|
800
|
+
} : s = r, o.destination = new Vn(s), o;
|
|
840
801
|
}
|
|
841
802
|
return t;
|
|
842
|
-
}(
|
|
803
|
+
}(xr);
|
|
843
804
|
function Pe(e) {
|
|
844
|
-
|
|
805
|
+
jn(e);
|
|
845
806
|
}
|
|
846
807
|
function Wn(e) {
|
|
847
808
|
throw e;
|
|
848
809
|
}
|
|
849
810
|
var Xn = {
|
|
850
811
|
closed: !0,
|
|
851
|
-
next:
|
|
812
|
+
next: Nt,
|
|
852
813
|
error: Wn,
|
|
853
|
-
complete:
|
|
814
|
+
complete: Nt
|
|
854
815
|
}, Zn = function() {
|
|
855
816
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
856
817
|
}();
|
|
@@ -864,7 +825,7 @@ function Qn(e) {
|
|
|
864
825
|
}, r);
|
|
865
826
|
};
|
|
866
827
|
}
|
|
867
|
-
var
|
|
828
|
+
var Rt = function() {
|
|
868
829
|
function e(t) {
|
|
869
830
|
t && (this._subscribe = t);
|
|
870
831
|
}
|
|
@@ -872,7 +833,7 @@ var Lt = function() {
|
|
|
872
833
|
var r = new e();
|
|
873
834
|
return r.source = this, r.operator = t, r;
|
|
874
835
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
875
|
-
var i = this, o = qn(t) ? t : new
|
|
836
|
+
var i = this, o = qn(t) ? t : new pt(t, r, n);
|
|
876
837
|
return Ne(function() {
|
|
877
838
|
var s = i, a = s.operator, l = s.source;
|
|
878
839
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -885,8 +846,8 @@ var Lt = function() {
|
|
|
885
846
|
}
|
|
886
847
|
}, e.prototype.forEach = function(t, r) {
|
|
887
848
|
var n = this;
|
|
888
|
-
return r =
|
|
889
|
-
var s = new
|
|
849
|
+
return r = Ft(r), new r(function(i, o) {
|
|
850
|
+
var s = new pt({
|
|
890
851
|
next: function(a) {
|
|
891
852
|
try {
|
|
892
853
|
t(a);
|
|
@@ -910,7 +871,7 @@ var Lt = function() {
|
|
|
910
871
|
return Qn(t)(this);
|
|
911
872
|
}, e.prototype.toPromise = function(t) {
|
|
912
873
|
var r = this;
|
|
913
|
-
return t =
|
|
874
|
+
return t = Ft(t), new t(function(n, i) {
|
|
914
875
|
var o;
|
|
915
876
|
r.subscribe(function(s) {
|
|
916
877
|
return o = s;
|
|
@@ -924,28 +885,28 @@ var Lt = function() {
|
|
|
924
885
|
return new e(t);
|
|
925
886
|
}, e;
|
|
926
887
|
}();
|
|
927
|
-
function
|
|
888
|
+
function Ft(e) {
|
|
928
889
|
var t;
|
|
929
|
-
return (t = e != null ? e :
|
|
890
|
+
return (t = e != null ? e : Gn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
930
891
|
}
|
|
931
892
|
function Yn(e) {
|
|
932
|
-
return e &&
|
|
893
|
+
return e && Q(e.next) && Q(e.error) && Q(e.complete);
|
|
933
894
|
}
|
|
934
895
|
function qn(e) {
|
|
935
|
-
return e && e instanceof
|
|
896
|
+
return e && e instanceof xr || Yn(e) && Cr(e);
|
|
936
897
|
}
|
|
937
|
-
var Jn =
|
|
898
|
+
var Jn = Er(function(e) {
|
|
938
899
|
return function() {
|
|
939
900
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
940
901
|
};
|
|
941
|
-
}),
|
|
942
|
-
|
|
902
|
+
}), Sr = function(e) {
|
|
903
|
+
Ae(t, e);
|
|
943
904
|
function t() {
|
|
944
905
|
var r = e.call(this) || this;
|
|
945
906
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
946
907
|
}
|
|
947
908
|
return t.prototype.lift = function(r) {
|
|
948
|
-
var n = new
|
|
909
|
+
var n = new kt(this, this);
|
|
949
910
|
return n.operator = r, n;
|
|
950
911
|
}, t.prototype._throwIfClosed = function() {
|
|
951
912
|
if (this.closed)
|
|
@@ -957,7 +918,7 @@ var Jn = vr(function(e) {
|
|
|
957
918
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
958
919
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
959
920
|
try {
|
|
960
|
-
for (var s =
|
|
921
|
+
for (var s = ut(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
961
922
|
var l = a.value;
|
|
962
923
|
l.next(r);
|
|
963
924
|
}
|
|
@@ -1006,20 +967,20 @@ var Jn = vr(function(e) {
|
|
|
1006
967
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1007
968
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1008
969
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1009
|
-
return o || s ?
|
|
1010
|
-
n.currentObservers = null,
|
|
970
|
+
return o || s ? wr : (this.currentObservers = null, a.push(r), new $e(function() {
|
|
971
|
+
n.currentObservers = null, ft(a, r);
|
|
1011
972
|
}));
|
|
1012
973
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1013
974
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1014
975
|
i ? r.error(o) : s && r.complete();
|
|
1015
976
|
}, t.prototype.asObservable = function() {
|
|
1016
|
-
var r = new
|
|
977
|
+
var r = new Rt();
|
|
1017
978
|
return r.source = this, r;
|
|
1018
979
|
}, t.create = function(r, n) {
|
|
1019
|
-
return new
|
|
980
|
+
return new kt(r, n);
|
|
1020
981
|
}, t;
|
|
1021
|
-
}(
|
|
1022
|
-
|
|
982
|
+
}(Rt), kt = function(e) {
|
|
983
|
+
Ae(t, e);
|
|
1023
984
|
function t(r, n) {
|
|
1024
985
|
var i = e.call(this) || this;
|
|
1025
986
|
return i.destination = r, i.source = n, i;
|
|
@@ -1035,17 +996,17 @@ var Jn = vr(function(e) {
|
|
|
1035
996
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1036
997
|
}, t.prototype._subscribe = function(r) {
|
|
1037
998
|
var n, i;
|
|
1038
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
999
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wr;
|
|
1039
1000
|
}, t;
|
|
1040
|
-
}(
|
|
1001
|
+
}(Sr), Hr = {
|
|
1041
1002
|
now: function() {
|
|
1042
|
-
return (
|
|
1003
|
+
return (Hr.delegate || Date).now();
|
|
1043
1004
|
},
|
|
1044
1005
|
delegate: void 0
|
|
1045
1006
|
}, Kn = function(e) {
|
|
1046
|
-
|
|
1007
|
+
Ae(t, e);
|
|
1047
1008
|
function t(r, n, i) {
|
|
1048
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1009
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Hr);
|
|
1049
1010
|
var o = e.call(this) || this;
|
|
1050
1011
|
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;
|
|
1051
1012
|
}
|
|
@@ -1065,24 +1026,24 @@ var Jn = vr(function(e) {
|
|
|
1065
1026
|
u && o.splice(0, u + 1);
|
|
1066
1027
|
}
|
|
1067
1028
|
}, t;
|
|
1068
|
-
}(
|
|
1069
|
-
const
|
|
1070
|
-
if (
|
|
1029
|
+
}(Sr);
|
|
1030
|
+
const Dt = [], Ut = {}, ei = (e, t = 0) => {
|
|
1031
|
+
if (Dt.indexOf(e) == -1) {
|
|
1071
1032
|
const r = new Kn(t);
|
|
1072
|
-
|
|
1033
|
+
Ut[e] = r, Dt.push(e);
|
|
1073
1034
|
}
|
|
1074
|
-
return
|
|
1035
|
+
return Ut[e];
|
|
1075
1036
|
}, ae = [];
|
|
1076
1037
|
function ti(e, t) {
|
|
1077
1038
|
return {
|
|
1078
|
-
subscribe:
|
|
1039
|
+
subscribe: je(e, t).subscribe
|
|
1079
1040
|
};
|
|
1080
1041
|
}
|
|
1081
|
-
function
|
|
1042
|
+
function je(e, t = D) {
|
|
1082
1043
|
let r;
|
|
1083
1044
|
const n = /* @__PURE__ */ new Set();
|
|
1084
1045
|
function i(a) {
|
|
1085
|
-
if (
|
|
1046
|
+
if (br(e, a) && (e = a, r)) {
|
|
1086
1047
|
const l = !ae.length;
|
|
1087
1048
|
for (const u of n)
|
|
1088
1049
|
u[1](), ae.push(u, e);
|
|
@@ -1096,15 +1057,15 @@ function $e(e, t = k) {
|
|
|
1096
1057
|
function o(a) {
|
|
1097
1058
|
i(a(e));
|
|
1098
1059
|
}
|
|
1099
|
-
function s(a, l =
|
|
1060
|
+
function s(a, l = D) {
|
|
1100
1061
|
const u = [a, l];
|
|
1101
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1062
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || D), a(e), () => {
|
|
1102
1063
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1103
1064
|
};
|
|
1104
1065
|
}
|
|
1105
1066
|
return { set: i, update: o, subscribe: s };
|
|
1106
1067
|
}
|
|
1107
|
-
function
|
|
1068
|
+
function be(e, t, r) {
|
|
1108
1069
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1109
1070
|
if (!i.every(Boolean))
|
|
1110
1071
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1112,15 +1073,15 @@ function ge(e, t, r) {
|
|
|
1112
1073
|
return ti(r, (s, a) => {
|
|
1113
1074
|
let l = !1;
|
|
1114
1075
|
const u = [];
|
|
1115
|
-
let h = 0, c =
|
|
1076
|
+
let h = 0, c = D;
|
|
1116
1077
|
const f = () => {
|
|
1117
1078
|
if (h)
|
|
1118
1079
|
return;
|
|
1119
1080
|
c();
|
|
1120
1081
|
const b = t(n ? u[0] : u, s, a);
|
|
1121
|
-
o ? s(b) : c =
|
|
1082
|
+
o ? s(b) : c = Ct(b) ? b : D;
|
|
1122
1083
|
}, m = i.map(
|
|
1123
|
-
(b, g) =>
|
|
1084
|
+
(b, g) => _n(
|
|
1124
1085
|
b,
|
|
1125
1086
|
(y) => {
|
|
1126
1087
|
u[g] = y, h &= ~(1 << g), l && f();
|
|
@@ -1131,7 +1092,7 @@ function ge(e, t, r) {
|
|
|
1131
1092
|
)
|
|
1132
1093
|
);
|
|
1133
1094
|
return l = !0, f(), function() {
|
|
1134
|
-
|
|
1095
|
+
Y(m), c(), l = !1;
|
|
1135
1096
|
};
|
|
1136
1097
|
});
|
|
1137
1098
|
}
|
|
@@ -1155,159 +1116,209 @@ function li(e) {
|
|
|
1155
1116
|
function ui(e) {
|
|
1156
1117
|
return Array.isArray(e) ? [] : {};
|
|
1157
1118
|
}
|
|
1158
|
-
function
|
|
1159
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1119
|
+
function He(e, t) {
|
|
1120
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ce(ui(e), e, t) : e;
|
|
1160
1121
|
}
|
|
1161
1122
|
function hi(e, t, r) {
|
|
1162
1123
|
return e.concat(t).map(function(n) {
|
|
1163
|
-
return
|
|
1124
|
+
return He(n, r);
|
|
1164
1125
|
});
|
|
1165
1126
|
}
|
|
1166
1127
|
function ci(e, t) {
|
|
1167
1128
|
if (!t.customMerge)
|
|
1168
|
-
return
|
|
1129
|
+
return ce;
|
|
1169
1130
|
var r = t.customMerge(e);
|
|
1170
|
-
return typeof r == "function" ? r :
|
|
1131
|
+
return typeof r == "function" ? r : ce;
|
|
1171
1132
|
}
|
|
1172
1133
|
function fi(e) {
|
|
1173
1134
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1174
1135
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1175
1136
|
}) : [];
|
|
1176
1137
|
}
|
|
1177
|
-
function
|
|
1138
|
+
function Gt(e) {
|
|
1178
1139
|
return Object.keys(e).concat(fi(e));
|
|
1179
1140
|
}
|
|
1180
|
-
function
|
|
1141
|
+
function Tr(e, t) {
|
|
1181
1142
|
try {
|
|
1182
1143
|
return t in e;
|
|
1183
1144
|
} catch (r) {
|
|
1184
1145
|
return !1;
|
|
1185
1146
|
}
|
|
1186
1147
|
}
|
|
1187
|
-
function
|
|
1188
|
-
return
|
|
1148
|
+
function pi(e, t) {
|
|
1149
|
+
return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1189
1150
|
}
|
|
1190
|
-
function
|
|
1151
|
+
function di(e, t, r) {
|
|
1191
1152
|
var n = {};
|
|
1192
|
-
return r.isMergeableObject(e) &&
|
|
1193
|
-
n[i] =
|
|
1194
|
-
}),
|
|
1195
|
-
|
|
1153
|
+
return r.isMergeableObject(e) && Gt(e).forEach(function(i) {
|
|
1154
|
+
n[i] = He(e[i], r);
|
|
1155
|
+
}), Gt(t).forEach(function(i) {
|
|
1156
|
+
pi(e, i) || (Tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ci(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
|
|
1196
1157
|
}), n;
|
|
1197
1158
|
}
|
|
1198
|
-
function
|
|
1199
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified =
|
|
1159
|
+
function ce(e, t, r) {
|
|
1160
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified = He;
|
|
1200
1161
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1201
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1162
|
+
return o ? n ? r.arrayMerge(e, t, r) : di(e, t, r) : He(t, r);
|
|
1202
1163
|
}
|
|
1203
|
-
|
|
1164
|
+
ce.all = function(t, r) {
|
|
1204
1165
|
if (!Array.isArray(t))
|
|
1205
1166
|
throw new Error("first argument should be an array");
|
|
1206
1167
|
return t.reduce(function(n, i) {
|
|
1207
|
-
return
|
|
1168
|
+
return ce(n, i, r);
|
|
1208
1169
|
}, {});
|
|
1209
1170
|
};
|
|
1210
|
-
var mi =
|
|
1171
|
+
var mi = ce, bi = mi;
|
|
1211
1172
|
const gi = /* @__PURE__ */ ri(bi);
|
|
1212
|
-
function
|
|
1213
|
-
|
|
1173
|
+
var dt = function(e, t) {
|
|
1174
|
+
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1175
|
+
r.__proto__ = n;
|
|
1176
|
+
} || function(r, n) {
|
|
1177
|
+
for (var i in n)
|
|
1178
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1179
|
+
}, dt(e, t);
|
|
1180
|
+
};
|
|
1181
|
+
function Ve(e, t) {
|
|
1182
|
+
if (typeof t != "function" && t !== null)
|
|
1183
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1184
|
+
dt(e, t);
|
|
1185
|
+
function r() {
|
|
1186
|
+
this.constructor = e;
|
|
1187
|
+
}
|
|
1188
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1189
|
+
}
|
|
1190
|
+
var W = function() {
|
|
1191
|
+
return W = Object.assign || function(t) {
|
|
1192
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1193
|
+
r = arguments[n];
|
|
1194
|
+
for (var o in r)
|
|
1195
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1196
|
+
}
|
|
1197
|
+
return t;
|
|
1198
|
+
}, W.apply(this, arguments);
|
|
1199
|
+
};
|
|
1200
|
+
function yi(e, t) {
|
|
1201
|
+
var r = {};
|
|
1202
|
+
for (var n in e)
|
|
1203
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1204
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1205
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1206
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1207
|
+
return r;
|
|
1208
|
+
}
|
|
1209
|
+
function et(e, t, r) {
|
|
1210
|
+
if (r || arguments.length === 2)
|
|
1211
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1212
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1213
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1214
|
+
}
|
|
1215
|
+
function tt(e, t) {
|
|
1216
|
+
var r = t && t.cache ? t.cache : Si, n = t && t.serializer ? t.serializer : Ci, i = t && t.strategy ? t.strategy : Ei;
|
|
1214
1217
|
return i(e, {
|
|
1215
1218
|
cache: r,
|
|
1216
1219
|
serializer: n
|
|
1217
1220
|
});
|
|
1218
1221
|
}
|
|
1219
|
-
function
|
|
1222
|
+
function vi(e) {
|
|
1220
1223
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1221
1224
|
}
|
|
1222
|
-
function
|
|
1223
|
-
var i =
|
|
1225
|
+
function _i(e, t, r, n) {
|
|
1226
|
+
var i = vi(n) ? n : r(n), o = t.get(i);
|
|
1224
1227
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1225
1228
|
}
|
|
1226
1229
|
function Ar(e, t, r) {
|
|
1227
1230
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1228
1231
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1229
1232
|
}
|
|
1230
|
-
function
|
|
1233
|
+
function Ir(e, t, r, n, i) {
|
|
1231
1234
|
return r.bind(t, e, n, i);
|
|
1232
1235
|
}
|
|
1233
|
-
function vi(e, t) {
|
|
1234
|
-
var r = e.length === 1 ? Tr : Ar;
|
|
1235
|
-
return _t(e, this, r, t.cache.create(), t.serializer);
|
|
1236
|
-
}
|
|
1237
|
-
function _i(e, t) {
|
|
1238
|
-
return _t(e, this, Ar, t.cache.create(), t.serializer);
|
|
1239
|
-
}
|
|
1240
1236
|
function Ei(e, t) {
|
|
1241
|
-
|
|
1237
|
+
var r = e.length === 1 ? _i : Ar;
|
|
1238
|
+
return Ir(e, this, r, t.cache.create(), t.serializer);
|
|
1242
1239
|
}
|
|
1243
|
-
|
|
1244
|
-
return
|
|
1245
|
-
};
|
|
1246
|
-
function Et() {
|
|
1247
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1240
|
+
function wi(e, t) {
|
|
1241
|
+
return Ir(e, this, Ar, t.cache.create(), t.serializer);
|
|
1248
1242
|
}
|
|
1249
|
-
|
|
1250
|
-
return
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1243
|
+
var Ci = function() {
|
|
1244
|
+
return JSON.stringify(arguments);
|
|
1245
|
+
}, xi = (
|
|
1246
|
+
/** @class */
|
|
1247
|
+
function() {
|
|
1248
|
+
function e() {
|
|
1249
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1250
|
+
}
|
|
1251
|
+
return e.prototype.get = function(t) {
|
|
1252
|
+
return this.cache[t];
|
|
1253
|
+
}, e.prototype.set = function(t, r) {
|
|
1254
|
+
this.cache[t] = r;
|
|
1255
|
+
}, e;
|
|
1256
|
+
}()
|
|
1257
|
+
), Si = {
|
|
1256
1258
|
create: function() {
|
|
1257
|
-
return new
|
|
1259
|
+
return new xi();
|
|
1258
1260
|
}
|
|
1259
|
-
},
|
|
1260
|
-
variadic:
|
|
1261
|
-
|
|
1262
|
-
|
|
1261
|
+
}, rt = {
|
|
1262
|
+
variadic: wi
|
|
1263
|
+
}, De = function() {
|
|
1264
|
+
return De = Object.assign || function(t) {
|
|
1265
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1266
|
+
r = arguments[n];
|
|
1267
|
+
for (var o in r)
|
|
1268
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1269
|
+
}
|
|
1270
|
+
return t;
|
|
1271
|
+
}, De.apply(this, arguments);
|
|
1272
|
+
};
|
|
1273
|
+
var v;
|
|
1263
1274
|
(function(e) {
|
|
1264
1275
|
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";
|
|
1265
1276
|
})(v || (v = {}));
|
|
1266
|
-
var
|
|
1277
|
+
var x;
|
|
1267
1278
|
(function(e) {
|
|
1268
1279
|
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";
|
|
1269
|
-
})(
|
|
1270
|
-
var
|
|
1280
|
+
})(x || (x = {}));
|
|
1281
|
+
var fe;
|
|
1271
1282
|
(function(e) {
|
|
1272
1283
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1273
|
-
})(
|
|
1274
|
-
function
|
|
1275
|
-
return e.type ===
|
|
1276
|
-
}
|
|
1277
|
-
function xi(e) {
|
|
1278
|
-
return e.type === S.argument;
|
|
1284
|
+
})(fe || (fe = {}));
|
|
1285
|
+
function $t(e) {
|
|
1286
|
+
return e.type === x.literal;
|
|
1279
1287
|
}
|
|
1280
|
-
function
|
|
1281
|
-
return e.type ===
|
|
1288
|
+
function Hi(e) {
|
|
1289
|
+
return e.type === x.argument;
|
|
1282
1290
|
}
|
|
1283
1291
|
function Br(e) {
|
|
1284
|
-
return e.type ===
|
|
1292
|
+
return e.type === x.number;
|
|
1285
1293
|
}
|
|
1286
1294
|
function Mr(e) {
|
|
1287
|
-
return e.type ===
|
|
1295
|
+
return e.type === x.date;
|
|
1288
1296
|
}
|
|
1289
1297
|
function Pr(e) {
|
|
1290
|
-
return e.type ===
|
|
1298
|
+
return e.type === x.time;
|
|
1291
1299
|
}
|
|
1292
1300
|
function Or(e) {
|
|
1293
|
-
return e.type ===
|
|
1294
|
-
}
|
|
1295
|
-
function Si(e) {
|
|
1296
|
-
return e.type === S.pound;
|
|
1301
|
+
return e.type === x.select;
|
|
1297
1302
|
}
|
|
1298
1303
|
function Lr(e) {
|
|
1299
|
-
return e.type ===
|
|
1304
|
+
return e.type === x.plural;
|
|
1305
|
+
}
|
|
1306
|
+
function Ti(e) {
|
|
1307
|
+
return e.type === x.pound;
|
|
1300
1308
|
}
|
|
1301
1309
|
function Nr(e) {
|
|
1302
|
-
return
|
|
1310
|
+
return e.type === x.tag;
|
|
1303
1311
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1312
|
+
function Rr(e) {
|
|
1313
|
+
return !!(e && typeof e == "object" && e.type === fe.number);
|
|
1306
1314
|
}
|
|
1307
|
-
|
|
1308
|
-
|
|
1315
|
+
function mt(e) {
|
|
1316
|
+
return !!(e && typeof e == "object" && e.type === fe.dateTime);
|
|
1317
|
+
}
|
|
1318
|
+
var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ai = /(?:[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;
|
|
1319
|
+
function Ii(e) {
|
|
1309
1320
|
var t = {};
|
|
1310
|
-
return e.replace(
|
|
1321
|
+
return e.replace(Ai, function(r) {
|
|
1311
1322
|
var n = r.length;
|
|
1312
1323
|
switch (r[0]) {
|
|
1313
1324
|
case "G":
|
|
@@ -1396,11 +1407,21 @@ function Ti(e) {
|
|
|
1396
1407
|
return "";
|
|
1397
1408
|
}), t;
|
|
1398
1409
|
}
|
|
1399
|
-
var
|
|
1400
|
-
function
|
|
1410
|
+
var I = function() {
|
|
1411
|
+
return I = Object.assign || function(t) {
|
|
1412
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1413
|
+
r = arguments[n];
|
|
1414
|
+
for (var o in r)
|
|
1415
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1416
|
+
}
|
|
1417
|
+
return t;
|
|
1418
|
+
}, I.apply(this, arguments);
|
|
1419
|
+
};
|
|
1420
|
+
var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1421
|
+
function Mi(e) {
|
|
1401
1422
|
if (e.length === 0)
|
|
1402
1423
|
throw new Error("Number skeleton cannot be empty");
|
|
1403
|
-
for (var t = e.split(
|
|
1424
|
+
for (var t = e.split(Bi).filter(function(f) {
|
|
1404
1425
|
return f.length > 0;
|
|
1405
1426
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1406
1427
|
var o = i[n], s = o.split("/");
|
|
@@ -1415,17 +1436,17 @@ function Ii(e) {
|
|
|
1415
1436
|
}
|
|
1416
1437
|
return r;
|
|
1417
1438
|
}
|
|
1418
|
-
function
|
|
1439
|
+
function Pi(e) {
|
|
1419
1440
|
return e.replace(/^(.*?)-/, "");
|
|
1420
1441
|
}
|
|
1421
|
-
var
|
|
1422
|
-
function
|
|
1442
|
+
var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, Oi = /(\*)(0+)|(#+)(0+)|(0+)/g, Dr = /^(0+)$/;
|
|
1443
|
+
function Vt(e) {
|
|
1423
1444
|
var t = {};
|
|
1424
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1445
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, n, i) {
|
|
1425
1446
|
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)), "";
|
|
1426
1447
|
}), t;
|
|
1427
1448
|
}
|
|
1428
|
-
function
|
|
1449
|
+
function Ur(e) {
|
|
1429
1450
|
switch (e) {
|
|
1430
1451
|
case "sign-auto":
|
|
1431
1452
|
return {
|
|
@@ -1465,7 +1486,7 @@ function kr(e) {
|
|
|
1465
1486
|
};
|
|
1466
1487
|
}
|
|
1467
1488
|
}
|
|
1468
|
-
function
|
|
1489
|
+
function Li(e) {
|
|
1469
1490
|
var t;
|
|
1470
1491
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1471
1492
|
notation: "engineering"
|
|
@@ -1479,11 +1500,11 @@ function Pi(e) {
|
|
|
1479
1500
|
}
|
|
1480
1501
|
return t;
|
|
1481
1502
|
}
|
|
1482
|
-
function
|
|
1483
|
-
var t = {}, r =
|
|
1503
|
+
function Wt(e) {
|
|
1504
|
+
var t = {}, r = Ur(e);
|
|
1484
1505
|
return r || t;
|
|
1485
1506
|
}
|
|
1486
|
-
function
|
|
1507
|
+
function Ni(e) {
|
|
1487
1508
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1488
1509
|
var i = n[r];
|
|
1489
1510
|
switch (i.stem) {
|
|
@@ -1507,7 +1528,7 @@ function Oi(e) {
|
|
|
1507
1528
|
continue;
|
|
1508
1529
|
case "measure-unit":
|
|
1509
1530
|
case "unit":
|
|
1510
|
-
t.style = "unit", t.unit =
|
|
1531
|
+
t.style = "unit", t.unit = Pi(i.options[0]);
|
|
1511
1532
|
continue;
|
|
1512
1533
|
case "compact-short":
|
|
1513
1534
|
case "K":
|
|
@@ -1518,13 +1539,13 @@ function Oi(e) {
|
|
|
1518
1539
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1519
1540
|
continue;
|
|
1520
1541
|
case "scientific":
|
|
1521
|
-
t =
|
|
1522
|
-
return
|
|
1542
|
+
t = I(I(I({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1543
|
+
return I(I({}, l), Wt(u));
|
|
1523
1544
|
}, {}));
|
|
1524
1545
|
continue;
|
|
1525
1546
|
case "engineering":
|
|
1526
|
-
t =
|
|
1527
|
-
return
|
|
1547
|
+
t = I(I(I({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1548
|
+
return I(I({}, l), Wt(u));
|
|
1528
1549
|
}, {}));
|
|
1529
1550
|
continue;
|
|
1530
1551
|
case "notation-simple":
|
|
@@ -1569,7 +1590,7 @@ function Oi(e) {
|
|
|
1569
1590
|
case "integer-width":
|
|
1570
1591
|
if (i.options.length > 1)
|
|
1571
1592
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1572
|
-
i.options[0].replace(
|
|
1593
|
+
i.options[0].replace(Oi, function(l, u, h, c, f, m) {
|
|
1573
1594
|
if (u)
|
|
1574
1595
|
t.minimumIntegerDigits = h.length;
|
|
1575
1596
|
else {
|
|
@@ -1586,24 +1607,24 @@ function Oi(e) {
|
|
|
1586
1607
|
t.minimumIntegerDigits = i.stem.length;
|
|
1587
1608
|
continue;
|
|
1588
1609
|
}
|
|
1589
|
-
if (
|
|
1610
|
+
if (jt.test(i.stem)) {
|
|
1590
1611
|
if (i.options.length > 1)
|
|
1591
1612
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1592
|
-
i.stem.replace(
|
|
1613
|
+
i.stem.replace(jt, function(l, u, h, c, f, m) {
|
|
1593
1614
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1594
1615
|
});
|
|
1595
1616
|
var o = i.options[0];
|
|
1596
|
-
o === "w" ? t =
|
|
1617
|
+
o === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = I(I({}, t), Vt(o)));
|
|
1597
1618
|
continue;
|
|
1598
1619
|
}
|
|
1599
|
-
if (
|
|
1600
|
-
t =
|
|
1620
|
+
if (kr.test(i.stem)) {
|
|
1621
|
+
t = I(I({}, t), Vt(i.stem));
|
|
1601
1622
|
continue;
|
|
1602
1623
|
}
|
|
1603
|
-
var s =
|
|
1604
|
-
s && (t =
|
|
1605
|
-
var a =
|
|
1606
|
-
a && (t =
|
|
1624
|
+
var s = Ur(i.stem);
|
|
1625
|
+
s && (t = I(I({}, t), s));
|
|
1626
|
+
var a = Li(i.stem);
|
|
1627
|
+
a && (t = I(I({}, t), a));
|
|
1607
1628
|
}
|
|
1608
1629
|
return t;
|
|
1609
1630
|
}
|
|
@@ -3022,13 +3043,13 @@ var Oe = {
|
|
|
3022
3043
|
"h"
|
|
3023
3044
|
]
|
|
3024
3045
|
};
|
|
3025
|
-
function
|
|
3046
|
+
function Ri(e, t) {
|
|
3026
3047
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3027
3048
|
var i = e.charAt(n);
|
|
3028
3049
|
if (i === "j") {
|
|
3029
3050
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3030
3051
|
o++, n++;
|
|
3031
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3052
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fi(t);
|
|
3032
3053
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3033
3054
|
r += l;
|
|
3034
3055
|
for (; s-- > 0; )
|
|
@@ -3038,7 +3059,7 @@ function Li(e, t) {
|
|
|
3038
3059
|
}
|
|
3039
3060
|
return r;
|
|
3040
3061
|
}
|
|
3041
|
-
function
|
|
3062
|
+
function Fi(e) {
|
|
3042
3063
|
var t = e.hourCycle;
|
|
3043
3064
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3044
3065
|
e.hourCycles && // @ts-ignore
|
|
@@ -3060,20 +3081,20 @@ function Ni(e) {
|
|
|
3060
3081
|
var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
|
|
3061
3082
|
return i[0];
|
|
3062
3083
|
}
|
|
3063
|
-
var
|
|
3084
|
+
var nt, ki = new RegExp("^".concat(Fr.source, "*")), Di = new RegExp("".concat(Fr.source, "*$"));
|
|
3064
3085
|
function _(e, t) {
|
|
3065
3086
|
return { start: e, end: t };
|
|
3066
3087
|
}
|
|
3067
|
-
var
|
|
3088
|
+
var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, $i = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, Wi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Zi = Xi ? Number.isSafeInteger : function(e) {
|
|
3068
3089
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3069
|
-
},
|
|
3090
|
+
}, bt = !0;
|
|
3070
3091
|
try {
|
|
3071
|
-
var
|
|
3072
|
-
|
|
3092
|
+
var zi = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3093
|
+
bt = ((nt = zi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
|
|
3073
3094
|
} catch (e) {
|
|
3074
|
-
|
|
3095
|
+
bt = !1;
|
|
3075
3096
|
}
|
|
3076
|
-
var
|
|
3097
|
+
var Xt = Ui ? (
|
|
3077
3098
|
// Native
|
|
3078
3099
|
function(t, r, n) {
|
|
3079
3100
|
return t.startsWith(r, n);
|
|
@@ -3083,7 +3104,7 @@ var Vt = Di ? (
|
|
|
3083
3104
|
function(t, r, n) {
|
|
3084
3105
|
return t.slice(n, n + r.length) === r;
|
|
3085
3106
|
}
|
|
3086
|
-
),
|
|
3107
|
+
), gt = Gi ? String.fromCodePoint : (
|
|
3087
3108
|
// IE11
|
|
3088
3109
|
function() {
|
|
3089
3110
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3095,9 +3116,9 @@ var Vt = Di ? (
|
|
|
3095
3116
|
}
|
|
3096
3117
|
return n;
|
|
3097
3118
|
}
|
|
3098
|
-
),
|
|
3119
|
+
), Zt = (
|
|
3099
3120
|
// native
|
|
3100
|
-
|
|
3121
|
+
$i ? Object.fromEntries : (
|
|
3101
3122
|
// Ponyfill
|
|
3102
3123
|
function(t) {
|
|
3103
3124
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3107,7 +3128,7 @@ var Vt = Di ? (
|
|
|
3107
3128
|
return r;
|
|
3108
3129
|
}
|
|
3109
3130
|
)
|
|
3110
|
-
),
|
|
3131
|
+
), Gr = ji ? (
|
|
3111
3132
|
// Native
|
|
3112
3133
|
function(t, r) {
|
|
3113
3134
|
return t.codePointAt(r);
|
|
@@ -3121,7 +3142,7 @@ var Vt = Di ? (
|
|
|
3121
3142
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3122
3143
|
}
|
|
3123
3144
|
}
|
|
3124
|
-
),
|
|
3145
|
+
), Qi = Vi ? (
|
|
3125
3146
|
// Native
|
|
3126
3147
|
function(t) {
|
|
3127
3148
|
return t.trimStart();
|
|
@@ -3129,9 +3150,9 @@ var Vt = Di ? (
|
|
|
3129
3150
|
) : (
|
|
3130
3151
|
// Ponyfill
|
|
3131
3152
|
function(t) {
|
|
3132
|
-
return t.replace(
|
|
3153
|
+
return t.replace(ki, "");
|
|
3133
3154
|
}
|
|
3134
|
-
),
|
|
3155
|
+
), Yi = Wi ? (
|
|
3135
3156
|
// Native
|
|
3136
3157
|
function(t) {
|
|
3137
3158
|
return t.trimEnd();
|
|
@@ -3139,32 +3160,32 @@ var Vt = Di ? (
|
|
|
3139
3160
|
) : (
|
|
3140
3161
|
// Ponyfill
|
|
3141
3162
|
function(t) {
|
|
3142
|
-
return t.replace(
|
|
3163
|
+
return t.replace(Di, "");
|
|
3143
3164
|
}
|
|
3144
3165
|
);
|
|
3145
|
-
function
|
|
3166
|
+
function $r(e, t) {
|
|
3146
3167
|
return new RegExp(e, t);
|
|
3147
3168
|
}
|
|
3148
|
-
var
|
|
3149
|
-
if (
|
|
3150
|
-
var
|
|
3151
|
-
|
|
3169
|
+
var yt;
|
|
3170
|
+
if (bt) {
|
|
3171
|
+
var zt = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3172
|
+
yt = function(t, r) {
|
|
3152
3173
|
var n;
|
|
3153
|
-
|
|
3154
|
-
var i =
|
|
3174
|
+
zt.lastIndex = r;
|
|
3175
|
+
var i = zt.exec(t);
|
|
3155
3176
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3156
3177
|
};
|
|
3157
3178
|
} else
|
|
3158
|
-
|
|
3179
|
+
yt = function(t, r) {
|
|
3159
3180
|
for (var n = []; ; ) {
|
|
3160
|
-
var i =
|
|
3161
|
-
if (i === void 0 ||
|
|
3181
|
+
var i = Gr(t, r);
|
|
3182
|
+
if (i === void 0 || jr(i) || eo(i))
|
|
3162
3183
|
break;
|
|
3163
3184
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3164
3185
|
}
|
|
3165
|
-
return
|
|
3186
|
+
return gt.apply(void 0, n);
|
|
3166
3187
|
};
|
|
3167
|
-
var
|
|
3188
|
+
var qi = (
|
|
3168
3189
|
/** @class */
|
|
3169
3190
|
function() {
|
|
3170
3191
|
function e(t, r) {
|
|
@@ -3188,14 +3209,14 @@ var Qi = (
|
|
|
3188
3209
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3189
3210
|
var a = this.clonePosition();
|
|
3190
3211
|
this.bump(), i.push({
|
|
3191
|
-
type:
|
|
3212
|
+
type: x.pound,
|
|
3192
3213
|
location: _(a, this.clonePosition())
|
|
3193
3214
|
});
|
|
3194
3215
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3195
3216
|
if (n)
|
|
3196
3217
|
break;
|
|
3197
3218
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3198
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3219
|
+
} else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
|
|
3199
3220
|
var s = this.parseTag(t, r);
|
|
3200
3221
|
if (s.err)
|
|
3201
3222
|
return s;
|
|
@@ -3216,7 +3237,7 @@ var Qi = (
|
|
|
3216
3237
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3217
3238
|
return {
|
|
3218
3239
|
val: {
|
|
3219
|
-
type:
|
|
3240
|
+
type: x.literal,
|
|
3220
3241
|
value: "<".concat(i, "/>"),
|
|
3221
3242
|
location: _(n, this.clonePosition())
|
|
3222
3243
|
},
|
|
@@ -3228,12 +3249,12 @@ var Qi = (
|
|
|
3228
3249
|
return o;
|
|
3229
3250
|
var s = o.val, a = this.clonePosition();
|
|
3230
3251
|
if (this.bumpIf("</")) {
|
|
3231
|
-
if (this.isEOF() || !
|
|
3252
|
+
if (this.isEOF() || !vt(this.char()))
|
|
3232
3253
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3233
3254
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3234
3255
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3235
3256
|
val: {
|
|
3236
|
-
type:
|
|
3257
|
+
type: x.tag,
|
|
3237
3258
|
value: i,
|
|
3238
3259
|
children: s,
|
|
3239
3260
|
location: _(n, this.clonePosition())
|
|
@@ -3246,7 +3267,7 @@ var Qi = (
|
|
|
3246
3267
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3247
3268
|
}, e.prototype.parseTagName = function() {
|
|
3248
3269
|
var t = this.offset();
|
|
3249
|
-
for (this.bump(); !this.isEOF() &&
|
|
3270
|
+
for (this.bump(); !this.isEOF() && Ki(this.char()); )
|
|
3250
3271
|
this.bump();
|
|
3251
3272
|
return this.message.slice(t, this.offset());
|
|
3252
3273
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3270,12 +3291,12 @@ var Qi = (
|
|
|
3270
3291
|
}
|
|
3271
3292
|
var l = _(n, this.clonePosition());
|
|
3272
3293
|
return {
|
|
3273
|
-
val: { type:
|
|
3294
|
+
val: { type: x.literal, value: i, location: l },
|
|
3274
3295
|
err: null
|
|
3275
3296
|
};
|
|
3276
3297
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3277
3298
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3278
|
-
!
|
|
3299
|
+
!Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3279
3300
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3280
3301
|
if (this.isEOF() || this.char() !== 39)
|
|
3281
3302
|
return null;
|
|
@@ -3309,12 +3330,12 @@ var Qi = (
|
|
|
3309
3330
|
r.push(n);
|
|
3310
3331
|
this.bump();
|
|
3311
3332
|
}
|
|
3312
|
-
return
|
|
3333
|
+
return gt.apply(void 0, r);
|
|
3313
3334
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3314
3335
|
if (this.isEOF())
|
|
3315
3336
|
return null;
|
|
3316
3337
|
var n = this.char();
|
|
3317
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3338
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), gt(n));
|
|
3318
3339
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3319
3340
|
var n = this.clonePosition();
|
|
3320
3341
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3330,7 +3351,7 @@ var Qi = (
|
|
|
3330
3351
|
case 125:
|
|
3331
3352
|
return this.bump(), {
|
|
3332
3353
|
val: {
|
|
3333
|
-
type:
|
|
3354
|
+
type: x.argument,
|
|
3334
3355
|
// value does not include the opening and closing braces.
|
|
3335
3356
|
value: i,
|
|
3336
3357
|
location: _(n, this.clonePosition())
|
|
@@ -3343,7 +3364,7 @@ var Qi = (
|
|
|
3343
3364
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3344
3365
|
}
|
|
3345
3366
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3346
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3367
|
+
var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
|
|
3347
3368
|
this.bumpTo(i);
|
|
3348
3369
|
var o = this.clonePosition(), s = _(t, o);
|
|
3349
3370
|
return { value: n, location: s };
|
|
@@ -3362,7 +3383,7 @@ var Qi = (
|
|
|
3362
3383
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3363
3384
|
if (c.err)
|
|
3364
3385
|
return c;
|
|
3365
|
-
var f =
|
|
3386
|
+
var f = Yi(c.val);
|
|
3366
3387
|
if (f.length === 0)
|
|
3367
3388
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3368
3389
|
var m = _(h, this.clonePosition());
|
|
@@ -3372,34 +3393,34 @@ var Qi = (
|
|
|
3372
3393
|
if (b.err)
|
|
3373
3394
|
return b;
|
|
3374
3395
|
var g = _(i, this.clonePosition());
|
|
3375
|
-
if (u &&
|
|
3376
|
-
var y =
|
|
3396
|
+
if (u && Xt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3397
|
+
var y = Qi(u.style.slice(2));
|
|
3377
3398
|
if (a === "number") {
|
|
3378
3399
|
var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
|
|
3379
3400
|
return c.err ? c : {
|
|
3380
|
-
val: { type:
|
|
3401
|
+
val: { type: x.number, value: n, location: g, style: c.val },
|
|
3381
3402
|
err: null
|
|
3382
3403
|
};
|
|
3383
3404
|
} else {
|
|
3384
3405
|
if (y.length === 0)
|
|
3385
3406
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
|
3386
|
-
var
|
|
3387
|
-
this.locale && (
|
|
3407
|
+
var C = y;
|
|
3408
|
+
this.locale && (C = Ri(y, this.locale));
|
|
3388
3409
|
var f = {
|
|
3389
|
-
type:
|
|
3390
|
-
pattern:
|
|
3410
|
+
type: fe.dateTime,
|
|
3411
|
+
pattern: C,
|
|
3391
3412
|
location: u.styleLocation,
|
|
3392
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3393
|
-
},
|
|
3413
|
+
parsedOptions: this.shouldParseSkeletons ? Ii(C) : {}
|
|
3414
|
+
}, A = a === "date" ? x.date : x.time;
|
|
3394
3415
|
return {
|
|
3395
|
-
val: { type:
|
|
3416
|
+
val: { type: A, value: n, location: g, style: f },
|
|
3396
3417
|
err: null
|
|
3397
3418
|
};
|
|
3398
3419
|
}
|
|
3399
3420
|
}
|
|
3400
3421
|
return {
|
|
3401
3422
|
val: {
|
|
3402
|
-
type: a === "number" ?
|
|
3423
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3403
3424
|
value: n,
|
|
3404
3425
|
location: g,
|
|
3405
3426
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3412,7 +3433,7 @@ var Qi = (
|
|
|
3412
3433
|
case "select": {
|
|
3413
3434
|
var N = this.clonePosition();
|
|
3414
3435
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3415
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(N,
|
|
3436
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(N, De({}, N)));
|
|
3416
3437
|
this.bumpSpace();
|
|
3417
3438
|
var j = this.parseIdentifierIfPossible(), F = 0;
|
|
3418
3439
|
if (a !== "select" && j.value === "offset") {
|
|
@@ -3430,23 +3451,23 @@ var Qi = (
|
|
|
3430
3451
|
var b = this.tryParseArgumentClose(i);
|
|
3431
3452
|
if (b.err)
|
|
3432
3453
|
return b;
|
|
3433
|
-
var
|
|
3454
|
+
var H = _(i, this.clonePosition());
|
|
3434
3455
|
return a === "select" ? {
|
|
3435
3456
|
val: {
|
|
3436
|
-
type:
|
|
3457
|
+
type: x.select,
|
|
3437
3458
|
value: n,
|
|
3438
|
-
options:
|
|
3439
|
-
location:
|
|
3459
|
+
options: Zt(V.val),
|
|
3460
|
+
location: H
|
|
3440
3461
|
},
|
|
3441
3462
|
err: null
|
|
3442
3463
|
} : {
|
|
3443
3464
|
val: {
|
|
3444
|
-
type:
|
|
3465
|
+
type: x.plural,
|
|
3445
3466
|
value: n,
|
|
3446
|
-
options:
|
|
3467
|
+
options: Zt(V.val),
|
|
3447
3468
|
offset: F,
|
|
3448
3469
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3449
|
-
location:
|
|
3470
|
+
location: H
|
|
3450
3471
|
},
|
|
3451
3472
|
err: null
|
|
3452
3473
|
};
|
|
@@ -3494,16 +3515,16 @@ var Qi = (
|
|
|
3494
3515
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3495
3516
|
var n = [];
|
|
3496
3517
|
try {
|
|
3497
|
-
n =
|
|
3518
|
+
n = Mi(t);
|
|
3498
3519
|
} catch (i) {
|
|
3499
3520
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3500
3521
|
}
|
|
3501
3522
|
return {
|
|
3502
3523
|
val: {
|
|
3503
|
-
type:
|
|
3524
|
+
type: fe.number,
|
|
3504
3525
|
tokens: n,
|
|
3505
3526
|
location: r,
|
|
3506
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3527
|
+
parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
|
|
3507
3528
|
},
|
|
3508
3529
|
err: null
|
|
3509
3530
|
};
|
|
@@ -3551,7 +3572,7 @@ var Qi = (
|
|
|
3551
3572
|
break;
|
|
3552
3573
|
}
|
|
3553
3574
|
var l = _(i, this.clonePosition());
|
|
3554
|
-
return o ? (s *= n,
|
|
3575
|
+
return o ? (s *= n, Zi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3555
3576
|
}, e.prototype.offset = function() {
|
|
3556
3577
|
return this.position.offset;
|
|
3557
3578
|
}, e.prototype.isEOF = function() {
|
|
@@ -3566,7 +3587,7 @@ var Qi = (
|
|
|
3566
3587
|
var t = this.position.offset;
|
|
3567
3588
|
if (t >= this.message.length)
|
|
3568
3589
|
throw Error("out of bound");
|
|
3569
|
-
var r =
|
|
3590
|
+
var r = Gr(this.message, t);
|
|
3570
3591
|
if (r === void 0)
|
|
3571
3592
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3572
3593
|
return r;
|
|
@@ -3585,7 +3606,7 @@ var Qi = (
|
|
|
3585
3606
|
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);
|
|
3586
3607
|
}
|
|
3587
3608
|
}, e.prototype.bumpIf = function(t) {
|
|
3588
|
-
if (
|
|
3609
|
+
if (Xt(this.message, t, this.offset())) {
|
|
3589
3610
|
for (var r = 0; r < t.length; r++)
|
|
3590
3611
|
this.bump();
|
|
3591
3612
|
return !0;
|
|
@@ -3607,7 +3628,7 @@ var Qi = (
|
|
|
3607
3628
|
break;
|
|
3608
3629
|
}
|
|
3609
3630
|
}, e.prototype.bumpSpace = function() {
|
|
3610
|
-
for (; !this.isEOF() &&
|
|
3631
|
+
for (; !this.isEOF() && jr(this.char()); )
|
|
3611
3632
|
this.bump();
|
|
3612
3633
|
}, e.prototype.peek = function() {
|
|
3613
3634
|
if (this.isEOF())
|
|
@@ -3617,47 +3638,47 @@ var Qi = (
|
|
|
3617
3638
|
}, e;
|
|
3618
3639
|
}()
|
|
3619
3640
|
);
|
|
3620
|
-
function
|
|
3641
|
+
function vt(e) {
|
|
3621
3642
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3622
3643
|
}
|
|
3623
|
-
function
|
|
3624
|
-
return
|
|
3644
|
+
function Ji(e) {
|
|
3645
|
+
return vt(e) || e === 47;
|
|
3625
3646
|
}
|
|
3626
|
-
function
|
|
3647
|
+
function Ki(e) {
|
|
3627
3648
|
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;
|
|
3628
3649
|
}
|
|
3629
|
-
function
|
|
3650
|
+
function jr(e) {
|
|
3630
3651
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3631
3652
|
}
|
|
3632
|
-
function
|
|
3653
|
+
function eo(e) {
|
|
3633
3654
|
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;
|
|
3634
3655
|
}
|
|
3635
|
-
function
|
|
3656
|
+
function _t(e) {
|
|
3636
3657
|
e.forEach(function(t) {
|
|
3637
|
-
if (delete t.location,
|
|
3658
|
+
if (delete t.location, Or(t) || Lr(t))
|
|
3638
3659
|
for (var r in t.options)
|
|
3639
|
-
delete t.options[r].location,
|
|
3660
|
+
delete t.options[r].location, _t(t.options[r].value);
|
|
3640
3661
|
else
|
|
3641
|
-
|
|
3662
|
+
Br(t) && Rr(t.style) || (Mr(t) || Pr(t)) && mt(t.style) ? delete t.style.location : Nr(t) && _t(t.children);
|
|
3642
3663
|
});
|
|
3643
3664
|
}
|
|
3644
|
-
function
|
|
3645
|
-
t === void 0 && (t = {}), t =
|
|
3646
|
-
var r = new
|
|
3665
|
+
function to(e, t) {
|
|
3666
|
+
t === void 0 && (t = {}), t = De({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3667
|
+
var r = new qi(e, t).parse();
|
|
3647
3668
|
if (r.err) {
|
|
3648
3669
|
var n = SyntaxError(v[r.err.kind]);
|
|
3649
3670
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3650
3671
|
}
|
|
3651
|
-
return t != null && t.captureLocation ||
|
|
3672
|
+
return t != null && t.captureLocation || _t(r.val), r.val;
|
|
3652
3673
|
}
|
|
3653
3674
|
var pe;
|
|
3654
3675
|
(function(e) {
|
|
3655
3676
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3656
3677
|
})(pe || (pe = {}));
|
|
3657
|
-
var
|
|
3678
|
+
var We = (
|
|
3658
3679
|
/** @class */
|
|
3659
3680
|
function(e) {
|
|
3660
|
-
|
|
3681
|
+
Ve(t, e);
|
|
3661
3682
|
function t(r, n, i) {
|
|
3662
3683
|
var o = e.call(this, r) || this;
|
|
3663
3684
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3666,48 +3687,48 @@ var je = (
|
|
|
3666
3687
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3667
3688
|
}, t;
|
|
3668
3689
|
}(Error)
|
|
3669
|
-
),
|
|
3690
|
+
), Qt = (
|
|
3670
3691
|
/** @class */
|
|
3671
3692
|
function(e) {
|
|
3672
|
-
|
|
3693
|
+
Ve(t, e);
|
|
3673
3694
|
function t(r, n, i, o) {
|
|
3674
3695
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pe.INVALID_VALUE, o) || this;
|
|
3675
3696
|
}
|
|
3676
3697
|
return t;
|
|
3677
|
-
}(
|
|
3678
|
-
),
|
|
3698
|
+
}(We)
|
|
3699
|
+
), ro = (
|
|
3679
3700
|
/** @class */
|
|
3680
3701
|
function(e) {
|
|
3681
|
-
|
|
3702
|
+
Ve(t, e);
|
|
3682
3703
|
function t(r, n, i) {
|
|
3683
3704
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pe.INVALID_VALUE, i) || this;
|
|
3684
3705
|
}
|
|
3685
3706
|
return t;
|
|
3686
|
-
}(
|
|
3687
|
-
),
|
|
3707
|
+
}(We)
|
|
3708
|
+
), no = (
|
|
3688
3709
|
/** @class */
|
|
3689
3710
|
function(e) {
|
|
3690
|
-
|
|
3711
|
+
Ve(t, e);
|
|
3691
3712
|
function t(r, n) {
|
|
3692
3713
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pe.MISSING_VALUE, n) || this;
|
|
3693
3714
|
}
|
|
3694
3715
|
return t;
|
|
3695
|
-
}(
|
|
3716
|
+
}(We)
|
|
3696
3717
|
), R;
|
|
3697
3718
|
(function(e) {
|
|
3698
3719
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3699
3720
|
})(R || (R = {}));
|
|
3700
|
-
function
|
|
3721
|
+
function io(e) {
|
|
3701
3722
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3702
3723
|
var n = t[t.length - 1];
|
|
3703
3724
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
|
3704
3725
|
}, []);
|
|
3705
3726
|
}
|
|
3706
|
-
function
|
|
3727
|
+
function oo(e) {
|
|
3707
3728
|
return typeof e == "function";
|
|
3708
3729
|
}
|
|
3709
3730
|
function Re(e, t, r, n, i, o, s) {
|
|
3710
|
-
if (e.length === 1 &&
|
|
3731
|
+
if (e.length === 1 && $t(e[0]))
|
|
3711
3732
|
return [
|
|
3712
3733
|
{
|
|
3713
3734
|
type: R.literal,
|
|
@@ -3716,14 +3737,14 @@ function Re(e, t, r, n, i, o, s) {
|
|
|
3716
3737
|
];
|
|
3717
3738
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3718
3739
|
var h = u[l];
|
|
3719
|
-
if (
|
|
3740
|
+
if ($t(h)) {
|
|
3720
3741
|
a.push({
|
|
3721
3742
|
type: R.literal,
|
|
3722
3743
|
value: h.value
|
|
3723
3744
|
});
|
|
3724
3745
|
continue;
|
|
3725
3746
|
}
|
|
3726
|
-
if (
|
|
3747
|
+
if (Ti(h)) {
|
|
3727
3748
|
typeof o == "number" && a.push({
|
|
3728
3749
|
type: R.literal,
|
|
3729
3750
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3732,89 +3753,89 @@ function Re(e, t, r, n, i, o, s) {
|
|
|
3732
3753
|
}
|
|
3733
3754
|
var c = h.value;
|
|
3734
3755
|
if (!(i && c in i))
|
|
3735
|
-
throw new
|
|
3756
|
+
throw new no(c, s);
|
|
3736
3757
|
var f = i[c];
|
|
3737
|
-
if (
|
|
3758
|
+
if (Hi(h)) {
|
|
3738
3759
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3739
3760
|
type: typeof f == "string" ? R.literal : R.object,
|
|
3740
3761
|
value: f
|
|
3741
3762
|
});
|
|
3742
3763
|
continue;
|
|
3743
3764
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3765
|
+
if (Mr(h)) {
|
|
3766
|
+
var m = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3746
3767
|
a.push({
|
|
3747
3768
|
type: R.literal,
|
|
3748
3769
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3749
3770
|
});
|
|
3750
3771
|
continue;
|
|
3751
3772
|
}
|
|
3752
|
-
if (
|
|
3753
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3773
|
+
if (Pr(h)) {
|
|
3774
|
+
var m = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3754
3775
|
a.push({
|
|
3755
3776
|
type: R.literal,
|
|
3756
3777
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3757
3778
|
});
|
|
3758
3779
|
continue;
|
|
3759
3780
|
}
|
|
3760
|
-
if (
|
|
3761
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3781
|
+
if (Br(h)) {
|
|
3782
|
+
var m = typeof h.style == "string" ? n.number[h.style] : Rr(h.style) ? h.style.parsedOptions : void 0;
|
|
3762
3783
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3763
3784
|
type: R.literal,
|
|
3764
3785
|
value: r.getNumberFormat(t, m).format(f)
|
|
3765
3786
|
});
|
|
3766
3787
|
continue;
|
|
3767
3788
|
}
|
|
3768
|
-
if (
|
|
3789
|
+
if (Nr(h)) {
|
|
3769
3790
|
var b = h.children, g = h.value, y = i[g];
|
|
3770
|
-
if (!
|
|
3771
|
-
throw new
|
|
3772
|
-
var
|
|
3791
|
+
if (!oo(y))
|
|
3792
|
+
throw new ro(g, "function", s);
|
|
3793
|
+
var C = Re(b, t, r, n, i, o), A = y(C.map(function(F) {
|
|
3773
3794
|
return F.value;
|
|
3774
3795
|
}));
|
|
3775
|
-
Array.isArray(
|
|
3796
|
+
Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(F) {
|
|
3776
3797
|
return {
|
|
3777
3798
|
type: typeof F == "string" ? R.literal : R.object,
|
|
3778
3799
|
value: F
|
|
3779
3800
|
};
|
|
3780
3801
|
}));
|
|
3781
3802
|
}
|
|
3782
|
-
if (
|
|
3803
|
+
if (Or(h)) {
|
|
3783
3804
|
var N = h.options[f] || h.options.other;
|
|
3784
3805
|
if (!N)
|
|
3785
|
-
throw new
|
|
3806
|
+
throw new Qt(h.value, f, Object.keys(h.options), s);
|
|
3786
3807
|
a.push.apply(a, Re(N.value, t, r, n, i));
|
|
3787
3808
|
continue;
|
|
3788
3809
|
}
|
|
3789
|
-
if (
|
|
3810
|
+
if (Lr(h)) {
|
|
3790
3811
|
var N = h.options["=".concat(f)];
|
|
3791
3812
|
if (!N) {
|
|
3792
3813
|
if (!Intl.PluralRules)
|
|
3793
|
-
throw new
|
|
3814
|
+
throw new We(`Intl.PluralRules is not available in this environment.
|
|
3794
3815
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3795
3816
|
`, pe.MISSING_INTL_API, s);
|
|
3796
3817
|
var j = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3797
3818
|
N = h.options[j] || h.options.other;
|
|
3798
3819
|
}
|
|
3799
3820
|
if (!N)
|
|
3800
|
-
throw new
|
|
3821
|
+
throw new Qt(h.value, f, Object.keys(h.options), s);
|
|
3801
3822
|
a.push.apply(a, Re(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3802
3823
|
continue;
|
|
3803
3824
|
}
|
|
3804
3825
|
}
|
|
3805
|
-
return
|
|
3826
|
+
return io(a);
|
|
3806
3827
|
}
|
|
3807
|
-
function
|
|
3808
|
-
return t ?
|
|
3809
|
-
return r[n] =
|
|
3828
|
+
function so(e, t) {
|
|
3829
|
+
return t ? W(W(W({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3830
|
+
return r[n] = W(W({}, e[n]), t[n] || {}), r;
|
|
3810
3831
|
}, {})) : e;
|
|
3811
3832
|
}
|
|
3812
|
-
function
|
|
3833
|
+
function ao(e, t) {
|
|
3813
3834
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3814
|
-
return r[n] =
|
|
3815
|
-
},
|
|
3835
|
+
return r[n] = so(e[n], t[n]), r;
|
|
3836
|
+
}, W({}, e)) : e;
|
|
3816
3837
|
}
|
|
3817
|
-
function
|
|
3838
|
+
function it(e) {
|
|
3818
3839
|
return {
|
|
3819
3840
|
create: function() {
|
|
3820
3841
|
return {
|
|
@@ -3828,39 +3849,39 @@ function rt(e) {
|
|
|
3828
3849
|
}
|
|
3829
3850
|
};
|
|
3830
3851
|
}
|
|
3831
|
-
function
|
|
3852
|
+
function lo(e) {
|
|
3832
3853
|
return e === void 0 && (e = {
|
|
3833
3854
|
number: {},
|
|
3834
3855
|
dateTime: {},
|
|
3835
3856
|
pluralRules: {}
|
|
3836
3857
|
}), {
|
|
3837
|
-
getNumberFormat:
|
|
3858
|
+
getNumberFormat: tt(function() {
|
|
3838
3859
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3839
3860
|
r[n] = arguments[n];
|
|
3840
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3861
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, et([void 0], r, !1)))();
|
|
3841
3862
|
}, {
|
|
3842
|
-
cache:
|
|
3843
|
-
strategy:
|
|
3863
|
+
cache: it(e.number),
|
|
3864
|
+
strategy: rt.variadic
|
|
3844
3865
|
}),
|
|
3845
|
-
getDateTimeFormat:
|
|
3866
|
+
getDateTimeFormat: tt(function() {
|
|
3846
3867
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3847
3868
|
r[n] = arguments[n];
|
|
3848
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3869
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, et([void 0], r, !1)))();
|
|
3849
3870
|
}, {
|
|
3850
|
-
cache:
|
|
3851
|
-
strategy:
|
|
3871
|
+
cache: it(e.dateTime),
|
|
3872
|
+
strategy: rt.variadic
|
|
3852
3873
|
}),
|
|
3853
|
-
getPluralRules:
|
|
3874
|
+
getPluralRules: tt(function() {
|
|
3854
3875
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3855
3876
|
r[n] = arguments[n];
|
|
3856
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3877
|
+
return new ((t = Intl.PluralRules).bind.apply(t, et([void 0], r, !1)))();
|
|
3857
3878
|
}, {
|
|
3858
|
-
cache:
|
|
3859
|
-
strategy:
|
|
3879
|
+
cache: it(e.pluralRules),
|
|
3880
|
+
strategy: rt.variadic
|
|
3860
3881
|
})
|
|
3861
3882
|
};
|
|
3862
3883
|
}
|
|
3863
|
-
var
|
|
3884
|
+
var uo = (
|
|
3864
3885
|
/** @class */
|
|
3865
3886
|
function() {
|
|
3866
3887
|
function e(t, r, n, i) {
|
|
@@ -3892,13 +3913,13 @@ var ao = (
|
|
|
3892
3913
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3893
3914
|
var s = i || {};
|
|
3894
3915
|
s.formatters;
|
|
3895
|
-
var a =
|
|
3896
|
-
this.ast = e.__parse(t,
|
|
3916
|
+
var a = yi(s, ["formatters"]);
|
|
3917
|
+
this.ast = e.__parse(t, W(W({}, a), { locale: this.resolvedLocale }));
|
|
3897
3918
|
} else
|
|
3898
3919
|
this.ast = t;
|
|
3899
3920
|
if (!Array.isArray(this.ast))
|
|
3900
3921
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3901
|
-
this.formats =
|
|
3922
|
+
this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
|
|
3902
3923
|
}
|
|
3903
3924
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3904
3925
|
get: function() {
|
|
@@ -3911,7 +3932,7 @@ var ao = (
|
|
|
3911
3932
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3912
3933
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3913
3934
|
}
|
|
3914
|
-
}, e.__parse =
|
|
3935
|
+
}, e.__parse = to, e.formats = {
|
|
3915
3936
|
number: {
|
|
3916
3937
|
integer: {
|
|
3917
3938
|
maximumFractionDigits: 0
|
|
@@ -3972,7 +3993,7 @@ var ao = (
|
|
|
3972
3993
|
}, e;
|
|
3973
3994
|
}()
|
|
3974
3995
|
);
|
|
3975
|
-
function
|
|
3996
|
+
function ho(e, t) {
|
|
3976
3997
|
if (t == null)
|
|
3977
3998
|
return;
|
|
3978
3999
|
if (t in e)
|
|
@@ -3993,92 +4014,92 @@ function lo(e, t) {
|
|
|
3993
4014
|
n = void 0;
|
|
3994
4015
|
return n;
|
|
3995
4016
|
}
|
|
3996
|
-
const K = {},
|
|
4017
|
+
const K = {}, co = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), Vr = (e, t) => {
|
|
3997
4018
|
if (t == null)
|
|
3998
4019
|
return;
|
|
3999
4020
|
if (t in K && e in K[t])
|
|
4000
4021
|
return K[t][e];
|
|
4001
|
-
const r =
|
|
4022
|
+
const r = Xe(t);
|
|
4002
4023
|
for (let n = 0; n < r.length; n++) {
|
|
4003
|
-
const i = r[n], o =
|
|
4024
|
+
const i = r[n], o = po(i, e);
|
|
4004
4025
|
if (o)
|
|
4005
|
-
return
|
|
4026
|
+
return co(e, t, o);
|
|
4006
4027
|
}
|
|
4007
4028
|
};
|
|
4008
|
-
let
|
|
4009
|
-
const
|
|
4010
|
-
function
|
|
4011
|
-
return
|
|
4029
|
+
let xt;
|
|
4030
|
+
const ge = je({});
|
|
4031
|
+
function fo(e) {
|
|
4032
|
+
return xt[e] || null;
|
|
4012
4033
|
}
|
|
4013
|
-
function
|
|
4014
|
-
return e in
|
|
4034
|
+
function Wr(e) {
|
|
4035
|
+
return e in xt;
|
|
4015
4036
|
}
|
|
4016
|
-
function
|
|
4017
|
-
if (!
|
|
4037
|
+
function po(e, t) {
|
|
4038
|
+
if (!Wr(e))
|
|
4018
4039
|
return null;
|
|
4019
|
-
const r =
|
|
4020
|
-
return
|
|
4040
|
+
const r = fo(e);
|
|
4041
|
+
return ho(r, t);
|
|
4021
4042
|
}
|
|
4022
|
-
function
|
|
4043
|
+
function mo(e) {
|
|
4023
4044
|
if (e == null)
|
|
4024
4045
|
return;
|
|
4025
|
-
const t =
|
|
4046
|
+
const t = Xe(e);
|
|
4026
4047
|
for (let r = 0; r < t.length; r++) {
|
|
4027
4048
|
const n = t[r];
|
|
4028
|
-
if (
|
|
4049
|
+
if (Wr(n))
|
|
4029
4050
|
return n;
|
|
4030
4051
|
}
|
|
4031
4052
|
}
|
|
4032
|
-
function
|
|
4033
|
-
delete K[e],
|
|
4053
|
+
function Xr(e, ...t) {
|
|
4054
|
+
delete K[e], ge.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
|
|
4034
4055
|
}
|
|
4035
|
-
|
|
4036
|
-
[
|
|
4056
|
+
be(
|
|
4057
|
+
[ge],
|
|
4037
4058
|
([e]) => Object.keys(e)
|
|
4038
4059
|
);
|
|
4039
|
-
|
|
4060
|
+
ge.subscribe((e) => xt = e);
|
|
4040
4061
|
const Fe = {};
|
|
4041
|
-
function
|
|
4062
|
+
function bo(e, t) {
|
|
4042
4063
|
Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
|
|
4043
4064
|
}
|
|
4044
|
-
function
|
|
4065
|
+
function Zr(e) {
|
|
4045
4066
|
return Fe[e];
|
|
4046
4067
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return
|
|
4049
|
-
const r =
|
|
4068
|
+
function go(e) {
|
|
4069
|
+
return Xe(e).map((t) => {
|
|
4070
|
+
const r = Zr(t);
|
|
4050
4071
|
return [t, r ? [...r] : []];
|
|
4051
4072
|
}).filter(([, t]) => t.length > 0);
|
|
4052
4073
|
}
|
|
4053
|
-
function
|
|
4054
|
-
return e == null ? !1 :
|
|
4074
|
+
function Et(e) {
|
|
4075
|
+
return e == null ? !1 : Xe(e).some(
|
|
4055
4076
|
(t) => {
|
|
4056
4077
|
var r;
|
|
4057
|
-
return (r =
|
|
4078
|
+
return (r = Zr(t)) == null ? void 0 : r.size;
|
|
4058
4079
|
}
|
|
4059
4080
|
);
|
|
4060
4081
|
}
|
|
4061
|
-
function
|
|
4082
|
+
function yo(e, t) {
|
|
4062
4083
|
return Promise.all(
|
|
4063
|
-
t.map((n) => (
|
|
4064
|
-
).then((n) =>
|
|
4065
|
-
}
|
|
4066
|
-
const
|
|
4067
|
-
function
|
|
4068
|
-
if (!
|
|
4069
|
-
return e in
|
|
4070
|
-
const t =
|
|
4071
|
-
return
|
|
4084
|
+
t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
|
|
4085
|
+
).then((n) => Xr(e, ...n));
|
|
4086
|
+
}
|
|
4087
|
+
const we = {};
|
|
4088
|
+
function zr(e) {
|
|
4089
|
+
if (!Et(e))
|
|
4090
|
+
return e in we ? we[e] : Promise.resolve();
|
|
4091
|
+
const t = go(e);
|
|
4092
|
+
return we[e] = Promise.all(
|
|
4072
4093
|
t.map(
|
|
4073
|
-
([r, n]) =>
|
|
4094
|
+
([r, n]) => yo(r, n)
|
|
4074
4095
|
)
|
|
4075
4096
|
).then(() => {
|
|
4076
|
-
if (
|
|
4077
|
-
return
|
|
4078
|
-
delete
|
|
4079
|
-
}),
|
|
4097
|
+
if (Et(e))
|
|
4098
|
+
return zr(e);
|
|
4099
|
+
delete we[e];
|
|
4100
|
+
}), we[e];
|
|
4080
4101
|
}
|
|
4081
|
-
const
|
|
4102
|
+
const vo = {
|
|
4082
4103
|
number: {
|
|
4083
4104
|
scientific: { notation: "scientific" },
|
|
4084
4105
|
engineering: { notation: "engineering" },
|
|
@@ -4107,135 +4128,135 @@ const go = {
|
|
|
4107
4128
|
timeZoneName: "short"
|
|
4108
4129
|
}
|
|
4109
4130
|
}
|
|
4110
|
-
},
|
|
4131
|
+
}, _o = {
|
|
4111
4132
|
fallbackLocale: null,
|
|
4112
4133
|
loadingDelay: 200,
|
|
4113
|
-
formats:
|
|
4134
|
+
formats: vo,
|
|
4114
4135
|
warnOnMissingMessages: !0,
|
|
4115
4136
|
handleMissingMessage: void 0,
|
|
4116
4137
|
ignoreTag: !0
|
|
4117
|
-
},
|
|
4118
|
-
function
|
|
4119
|
-
return
|
|
4138
|
+
}, Eo = _o;
|
|
4139
|
+
function de() {
|
|
4140
|
+
return Eo;
|
|
4120
4141
|
}
|
|
4121
|
-
const
|
|
4122
|
-
var
|
|
4142
|
+
const ot = je(!1);
|
|
4143
|
+
var wo = Object.defineProperty, Co = Object.defineProperties, xo = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, So = Object.prototype.hasOwnProperty, Ho = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, To = (e, t) => {
|
|
4123
4144
|
for (var r in t || (t = {}))
|
|
4124
|
-
|
|
4125
|
-
if (
|
|
4126
|
-
for (var r of
|
|
4127
|
-
|
|
4145
|
+
So.call(t, r) && qt(e, r, t[r]);
|
|
4146
|
+
if (Yt)
|
|
4147
|
+
for (var r of Yt(t))
|
|
4148
|
+
Ho.call(t, r) && qt(e, r, t[r]);
|
|
4128
4149
|
return e;
|
|
4129
|
-
},
|
|
4130
|
-
let
|
|
4131
|
-
const
|
|
4132
|
-
function
|
|
4150
|
+
}, Ao = (e, t) => Co(e, xo(t));
|
|
4151
|
+
let wt;
|
|
4152
|
+
const Ue = je(null);
|
|
4153
|
+
function Jt(e) {
|
|
4133
4154
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4134
4155
|
}
|
|
4135
|
-
function
|
|
4136
|
-
const r =
|
|
4137
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4156
|
+
function Xe(e, t = de().fallbackLocale) {
|
|
4157
|
+
const r = Jt(e);
|
|
4158
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Jt(t)])] : r;
|
|
4138
4159
|
}
|
|
4139
4160
|
function ie() {
|
|
4140
|
-
return
|
|
4161
|
+
return wt != null ? wt : void 0;
|
|
4141
4162
|
}
|
|
4142
|
-
|
|
4143
|
-
|
|
4163
|
+
Ue.subscribe((e) => {
|
|
4164
|
+
wt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4144
4165
|
});
|
|
4145
|
-
const
|
|
4146
|
-
if (e &&
|
|
4147
|
-
const { loadingDelay: t } =
|
|
4166
|
+
const Io = (e) => {
|
|
4167
|
+
if (e && mo(e) && Et(e)) {
|
|
4168
|
+
const { loadingDelay: t } = de();
|
|
4148
4169
|
let r;
|
|
4149
4170
|
return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
|
|
4150
|
-
() =>
|
|
4171
|
+
() => ot.set(!0),
|
|
4151
4172
|
t
|
|
4152
|
-
) :
|
|
4153
|
-
|
|
4173
|
+
) : ot.set(!0), zr(e).then(() => {
|
|
4174
|
+
Ue.set(e);
|
|
4154
4175
|
}).finally(() => {
|
|
4155
|
-
clearTimeout(r),
|
|
4176
|
+
clearTimeout(r), ot.set(!1);
|
|
4156
4177
|
});
|
|
4157
4178
|
}
|
|
4158
|
-
return
|
|
4159
|
-
}, ee =
|
|
4160
|
-
set:
|
|
4161
|
-
}),
|
|
4179
|
+
return Ue.set(e);
|
|
4180
|
+
}, ee = Ao(To({}, Ue), {
|
|
4181
|
+
set: Io
|
|
4182
|
+
}), Ze = (e) => {
|
|
4162
4183
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4163
4184
|
return (n) => {
|
|
4164
4185
|
const i = JSON.stringify(n);
|
|
4165
4186
|
return i in t ? t[i] : t[i] = e(n);
|
|
4166
4187
|
};
|
|
4167
4188
|
};
|
|
4168
|
-
var
|
|
4189
|
+
var Bo = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
|
|
4169
4190
|
for (var r in t || (t = {}))
|
|
4170
|
-
|
|
4171
|
-
if (
|
|
4172
|
-
for (var r of
|
|
4173
|
-
|
|
4191
|
+
Qr.call(t, r) && Kt(e, r, t[r]);
|
|
4192
|
+
if (Ge)
|
|
4193
|
+
for (var r of Ge(t))
|
|
4194
|
+
Yr.call(t, r) && Kt(e, r, t[r]);
|
|
4174
4195
|
return e;
|
|
4175
|
-
},
|
|
4196
|
+
}, ye = (e, t) => {
|
|
4176
4197
|
var r = {};
|
|
4177
4198
|
for (var n in e)
|
|
4178
|
-
|
|
4179
|
-
if (e != null &&
|
|
4180
|
-
for (var n of
|
|
4181
|
-
t.indexOf(n) < 0 &&
|
|
4199
|
+
Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4200
|
+
if (e != null && Ge)
|
|
4201
|
+
for (var n of Ge(e))
|
|
4202
|
+
t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
|
|
4182
4203
|
return r;
|
|
4183
4204
|
};
|
|
4184
|
-
const
|
|
4185
|
-
const { formats: r } =
|
|
4205
|
+
const Te = (e, t) => {
|
|
4206
|
+
const { formats: r } = de();
|
|
4186
4207
|
if (e in r && t in r[e])
|
|
4187
4208
|
return r[e][t];
|
|
4188
4209
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4189
|
-
},
|
|
4210
|
+
}, Mo = Ze(
|
|
4190
4211
|
(e) => {
|
|
4191
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4212
|
+
var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
|
|
4192
4213
|
if (r == null)
|
|
4193
4214
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4194
|
-
return n && (i =
|
|
4215
|
+
return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
|
|
4195
4216
|
}
|
|
4196
|
-
),
|
|
4217
|
+
), Po = Ze(
|
|
4197
4218
|
(e) => {
|
|
4198
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4219
|
+
var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
|
|
4199
4220
|
if (r == null)
|
|
4200
4221
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4201
|
-
return n ? i =
|
|
4222
|
+
return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4202
4223
|
}
|
|
4203
|
-
),
|
|
4224
|
+
), Oo = Ze(
|
|
4204
4225
|
(e) => {
|
|
4205
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4226
|
+
var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
|
|
4206
4227
|
if (r == null)
|
|
4207
4228
|
throw new Error(
|
|
4208
4229
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4209
4230
|
);
|
|
4210
|
-
return n ? i =
|
|
4231
|
+
return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4211
4232
|
}
|
|
4212
|
-
),
|
|
4233
|
+
), Lo = (e = {}) => {
|
|
4213
4234
|
var t = e, {
|
|
4214
4235
|
locale: r = ie()
|
|
4215
|
-
} = t, n =
|
|
4236
|
+
} = t, n = ye(t, [
|
|
4216
4237
|
"locale"
|
|
4217
4238
|
]);
|
|
4218
|
-
return
|
|
4219
|
-
},
|
|
4239
|
+
return Mo(St({ locale: r }, n));
|
|
4240
|
+
}, No = (e = {}) => {
|
|
4220
4241
|
var t = e, {
|
|
4221
4242
|
locale: r = ie()
|
|
4222
|
-
} = t, n =
|
|
4243
|
+
} = t, n = ye(t, [
|
|
4223
4244
|
"locale"
|
|
4224
4245
|
]);
|
|
4225
|
-
return
|
|
4226
|
-
},
|
|
4246
|
+
return Po(St({ locale: r }, n));
|
|
4247
|
+
}, Ro = (e = {}) => {
|
|
4227
4248
|
var t = e, {
|
|
4228
4249
|
locale: r = ie()
|
|
4229
|
-
} = t, n =
|
|
4250
|
+
} = t, n = ye(t, [
|
|
4230
4251
|
"locale"
|
|
4231
4252
|
]);
|
|
4232
|
-
return
|
|
4233
|
-
},
|
|
4253
|
+
return Oo(St({ locale: r }, n));
|
|
4254
|
+
}, Fo = Ze(
|
|
4234
4255
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4235
|
-
(e, t = ie()) => new
|
|
4236
|
-
ignoreTag:
|
|
4256
|
+
(e, t = ie()) => new uo(e, t, de().formats, {
|
|
4257
|
+
ignoreTag: de().ignoreTag
|
|
4237
4258
|
})
|
|
4238
|
-
),
|
|
4259
|
+
), ko = (e, t = {}) => {
|
|
4239
4260
|
var r, n, i, o;
|
|
4240
4261
|
let s = t;
|
|
4241
4262
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4248,9 +4269,9 @@ const Ae = (e, t) => {
|
|
|
4248
4269
|
throw new Error(
|
|
4249
4270
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4250
4271
|
);
|
|
4251
|
-
let h =
|
|
4272
|
+
let h = Vr(e, l);
|
|
4252
4273
|
if (!h)
|
|
4253
|
-
h = (o = (i = (n = (r =
|
|
4274
|
+
h = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4254
4275
|
else if (typeof h != "string")
|
|
4255
4276
|
return console.warn(
|
|
4256
4277
|
`[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.`
|
|
@@ -4259,7 +4280,7 @@ const Ae = (e, t) => {
|
|
|
4259
4280
|
return h;
|
|
4260
4281
|
let c = h;
|
|
4261
4282
|
try {
|
|
4262
|
-
c =
|
|
4283
|
+
c = Fo(h, l).format(a);
|
|
4263
4284
|
} catch (f) {
|
|
4264
4285
|
f instanceof Error && console.warn(
|
|
4265
4286
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4267,22 +4288,22 @@ const Ae = (e, t) => {
|
|
|
4267
4288
|
);
|
|
4268
4289
|
}
|
|
4269
4290
|
return c;
|
|
4270
|
-
},
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4291
|
+
}, Do = (e, t) => Ro(t).format(e), Uo = (e, t) => No(t).format(e), Go = (e, t) => Lo(t).format(e), $o = (e, t = ie()) => Vr(e, t);
|
|
4292
|
+
be([ee, ge], () => ko);
|
|
4293
|
+
be([ee], () => Do);
|
|
4294
|
+
be([ee], () => Uo);
|
|
4295
|
+
be([ee], () => Go);
|
|
4296
|
+
be([ee, ge], () => $o);
|
|
4276
4297
|
window.emWidgets = { topic: ei };
|
|
4277
|
-
const
|
|
4298
|
+
const jo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4278
4299
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4279
|
-
function
|
|
4300
|
+
function Vo(e, t) {
|
|
4280
4301
|
if (e) {
|
|
4281
4302
|
const r = document.createElement("style");
|
|
4282
4303
|
r.innerHTML = t, e.appendChild(r);
|
|
4283
4304
|
}
|
|
4284
4305
|
}
|
|
4285
|
-
function
|
|
4306
|
+
function Wo(e, t) {
|
|
4286
4307
|
if (!e || !t)
|
|
4287
4308
|
return;
|
|
4288
4309
|
const r = new URL(t);
|
|
@@ -4293,7 +4314,7 @@ function jo(e, t) {
|
|
|
4293
4314
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4294
4315
|
});
|
|
4295
4316
|
}
|
|
4296
|
-
function
|
|
4317
|
+
function Xo(e, t, r) {
|
|
4297
4318
|
if (window.emMessageBus) {
|
|
4298
4319
|
const n = document.createElement("style");
|
|
4299
4320
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4301,18 +4322,18 @@ function Vo(e, t, r) {
|
|
|
4301
4322
|
});
|
|
4302
4323
|
}
|
|
4303
4324
|
}
|
|
4304
|
-
function
|
|
4325
|
+
function Zo({ withLocale: e, translations: t }) {
|
|
4305
4326
|
ee.subscribe((r) => {
|
|
4306
|
-
r == null && (
|
|
4327
|
+
r == null && (ge.set(t), ee.set(e));
|
|
4307
4328
|
});
|
|
4308
4329
|
}
|
|
4309
|
-
function
|
|
4310
|
-
|
|
4330
|
+
function er(e, t) {
|
|
4331
|
+
Xr(e, t);
|
|
4311
4332
|
}
|
|
4312
|
-
function
|
|
4333
|
+
function zo(e) {
|
|
4313
4334
|
ee.set(e);
|
|
4314
4335
|
}
|
|
4315
|
-
const
|
|
4336
|
+
const tr = {
|
|
4316
4337
|
en: {
|
|
4317
4338
|
login: "Login",
|
|
4318
4339
|
register: "Register",
|
|
@@ -4369,23 +4390,23 @@ const Kt = {
|
|
|
4369
4390
|
deposit: "Deposit"
|
|
4370
4391
|
}
|
|
4371
4392
|
};
|
|
4372
|
-
function
|
|
4373
|
-
|
|
4393
|
+
function Qo(e) {
|
|
4394
|
+
En(e, "svelte-1o68uwz", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127);border-radius:var(--emw--border-radius-medium, 10px);max-width:1300px;margin:0 auto}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus-within button{border-bottom:2px solid #23B04E;position:relative}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{margin-right:5px;position:relative;top:5px;max-height:25px}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:50%;padding:3px;width:20px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:11px}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover span,.CarouselContainer .SubDropDown.active span{color:var(--emw--categories-contrast, var(--emw--color-contrast, #23B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}.CarouselWrapperMobile{margin:0 10px;border-radius:10px;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static}.CarouselWrapperMobile .CategoryIconContainer{height:25px}');
|
|
4374
4395
|
}
|
|
4375
|
-
function
|
|
4396
|
+
function rr(e, t, r) {
|
|
4376
4397
|
const n = e.slice();
|
|
4377
4398
|
return n[53] = t[r], n[55] = r, n;
|
|
4378
4399
|
}
|
|
4379
|
-
function
|
|
4400
|
+
function nr(e, t, r) {
|
|
4380
4401
|
const n = e.slice();
|
|
4381
4402
|
return n[56] = t[r], n;
|
|
4382
4403
|
}
|
|
4383
|
-
function
|
|
4404
|
+
function ir(e, t, r) {
|
|
4384
4405
|
const n = e.slice();
|
|
4385
4406
|
return n[59] = t[r], n[61] = r, n;
|
|
4386
4407
|
}
|
|
4387
|
-
function
|
|
4388
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4408
|
+
function or(e) {
|
|
4409
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = he(
|
|
4389
4410
|
/*sliderdata*/
|
|
4390
4411
|
e[9]
|
|
4391
4412
|
);
|
|
@@ -4394,8 +4415,8 @@ function nr(e) {
|
|
|
4394
4415
|
s[53].id
|
|
4395
4416
|
);
|
|
4396
4417
|
for (let s = 0; s < i.length; s += 1) {
|
|
4397
|
-
let a =
|
|
4398
|
-
r.set(l, t[s] =
|
|
4418
|
+
let a = rr(e, i, s), l = o(a);
|
|
4419
|
+
r.set(l, t[s] = dr(l, a));
|
|
4399
4420
|
}
|
|
4400
4421
|
return {
|
|
4401
4422
|
c() {
|
|
@@ -4406,23 +4427,23 @@ function nr(e) {
|
|
|
4406
4427
|
m(s, a) {
|
|
4407
4428
|
for (let l = 0; l < t.length; l += 1)
|
|
4408
4429
|
t[l] && t[l].m(s, a);
|
|
4409
|
-
|
|
4430
|
+
T(s, n, a);
|
|
4410
4431
|
},
|
|
4411
4432
|
p(s, a) {
|
|
4412
4433
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, isMobile, categoriesicon*/
|
|
4413
|
-
28623 && (i =
|
|
4434
|
+
28623 && (i = he(
|
|
4414
4435
|
/*sliderdata*/
|
|
4415
4436
|
s[9]
|
|
4416
|
-
), t =
|
|
4437
|
+
), t = vr(t, a, o, 1, s, i, r, n.parentNode, yr, dr, n, rr));
|
|
4417
4438
|
},
|
|
4418
4439
|
d(s) {
|
|
4419
|
-
s &&
|
|
4440
|
+
s && S(n);
|
|
4420
4441
|
for (let a = 0; a < t.length; a += 1)
|
|
4421
4442
|
t[a].d(s);
|
|
4422
4443
|
}
|
|
4423
4444
|
};
|
|
4424
4445
|
}
|
|
4425
|
-
function
|
|
4446
|
+
function Yo(e) {
|
|
4426
4447
|
var h;
|
|
4427
4448
|
let t, r, n = (
|
|
4428
4449
|
/*category*/
|
|
@@ -4435,75 +4456,75 @@ function zo(e) {
|
|
|
4435
4456
|
c[55] === 0 && /*categoriesicon*/
|
|
4436
4457
|
c[3] !== "false"
|
|
4437
4458
|
)
|
|
4438
|
-
return
|
|
4459
|
+
return es;
|
|
4439
4460
|
if (
|
|
4440
4461
|
/*category*/
|
|
4441
4462
|
(m = c[53]) != null && m.icon && /*categoriesicon*/
|
|
4442
4463
|
c[3] !== "false"
|
|
4443
4464
|
)
|
|
4444
|
-
return
|
|
4465
|
+
return Ko;
|
|
4445
4466
|
if (
|
|
4446
4467
|
/*categoriesicon*/
|
|
4447
4468
|
c[3] !== "false"
|
|
4448
4469
|
)
|
|
4449
|
-
return
|
|
4470
|
+
return Jo;
|
|
4450
4471
|
}
|
|
4451
4472
|
let a = s(e), l = a && a(e), u = (
|
|
4452
4473
|
/*category*/
|
|
4453
4474
|
((h = e[53]) == null ? void 0 : h.games.total) && !/*isMobile*/
|
|
4454
|
-
e[13] &&
|
|
4475
|
+
e[13] && lr(e)
|
|
4455
4476
|
);
|
|
4456
4477
|
return {
|
|
4457
4478
|
c() {
|
|
4458
|
-
l && l.c(), t =
|
|
4479
|
+
l && l.c(), t = X(), r = B("button"), i = te(n), o = X(), u && u.c(), d(r, "class", "CategoryButton");
|
|
4459
4480
|
},
|
|
4460
4481
|
m(c, f) {
|
|
4461
|
-
l && l.m(c, f),
|
|
4482
|
+
l && l.m(c, f), T(c, t, f), T(c, r, f), E(r, i), E(r, o), u && u.m(r, null);
|
|
4462
4483
|
},
|
|
4463
4484
|
p(c, f) {
|
|
4464
4485
|
var m;
|
|
4465
4486
|
a === (a = s(c)) && l ? l.p(c, f) : (l && l.d(1), l = a && a(c), l && (l.c(), l.m(t.parentNode, t))), f[0] & /*sliderdata*/
|
|
4466
4487
|
512 && n !== (n = /*category*/
|
|
4467
|
-
c[53].name + "") &&
|
|
4488
|
+
c[53].name + "") && me(i, n), /*category*/
|
|
4468
4489
|
(m = c[53]) != null && m.games.total && !/*isMobile*/
|
|
4469
|
-
c[13] ? u ? u.p(c, f) : (u =
|
|
4490
|
+
c[13] ? u ? u.p(c, f) : (u = lr(c), u.c(), u.m(r, null)) : u && (u.d(1), u = null);
|
|
4470
4491
|
},
|
|
4471
4492
|
d(c) {
|
|
4472
|
-
c && (
|
|
4493
|
+
c && (S(t), S(r)), l && l.d(c), u && u.d();
|
|
4473
4494
|
}
|
|
4474
4495
|
};
|
|
4475
4496
|
}
|
|
4476
|
-
function
|
|
4497
|
+
function qo(e) {
|
|
4477
4498
|
let t, r = (
|
|
4478
4499
|
/*category*/
|
|
4479
4500
|
e[53].label + ""
|
|
4480
4501
|
), n, i;
|
|
4481
4502
|
return {
|
|
4482
4503
|
c() {
|
|
4483
|
-
t = B("a"), n = te(r),
|
|
4504
|
+
t = B("a"), n = te(r), d(t, "href", i = /*category*/
|
|
4484
4505
|
e[53].path);
|
|
4485
4506
|
},
|
|
4486
4507
|
m(o, s) {
|
|
4487
|
-
|
|
4508
|
+
T(o, t, s), E(t, n);
|
|
4488
4509
|
},
|
|
4489
4510
|
p(o, s) {
|
|
4490
4511
|
s[0] & /*sliderdata*/
|
|
4491
4512
|
512 && r !== (r = /*category*/
|
|
4492
|
-
o[53].label + "") &&
|
|
4513
|
+
o[53].label + "") && me(n, r), s[0] & /*sliderdata*/
|
|
4493
4514
|
512 && i !== (i = /*category*/
|
|
4494
|
-
o[53].path) &&
|
|
4515
|
+
o[53].path) && d(t, "href", i);
|
|
4495
4516
|
},
|
|
4496
4517
|
d(o) {
|
|
4497
|
-
o &&
|
|
4518
|
+
o && S(t);
|
|
4498
4519
|
}
|
|
4499
4520
|
};
|
|
4500
4521
|
}
|
|
4501
|
-
function
|
|
4522
|
+
function Jo(e) {
|
|
4502
4523
|
let t;
|
|
4503
4524
|
function r(o, s) {
|
|
4504
4525
|
return (
|
|
4505
4526
|
/*isMobile*/
|
|
4506
|
-
o[13] ?
|
|
4527
|
+
o[13] ? rs : ts
|
|
4507
4528
|
);
|
|
4508
4529
|
}
|
|
4509
4530
|
let i = r(e)(e);
|
|
@@ -4512,22 +4533,22 @@ function Yo(e) {
|
|
|
4512
4533
|
i.c(), t = ne();
|
|
4513
4534
|
},
|
|
4514
4535
|
m(o, s) {
|
|
4515
|
-
i.m(o, s),
|
|
4536
|
+
i.m(o, s), T(o, t, s);
|
|
4516
4537
|
},
|
|
4517
4538
|
p(o, s) {
|
|
4518
4539
|
i.p(o, s);
|
|
4519
4540
|
},
|
|
4520
4541
|
d(o) {
|
|
4521
|
-
o &&
|
|
4542
|
+
o && S(t), i.d(o);
|
|
4522
4543
|
}
|
|
4523
4544
|
};
|
|
4524
4545
|
}
|
|
4525
|
-
function
|
|
4546
|
+
function Ko(e) {
|
|
4526
4547
|
let t;
|
|
4527
4548
|
function r(o, s) {
|
|
4528
4549
|
return (
|
|
4529
4550
|
/*isMobile*/
|
|
4530
|
-
o[13] ?
|
|
4551
|
+
o[13] ? is : ns
|
|
4531
4552
|
);
|
|
4532
4553
|
}
|
|
4533
4554
|
let i = r(e)(e);
|
|
@@ -4536,70 +4557,70 @@ function qo(e) {
|
|
|
4536
4557
|
i.c(), t = ne();
|
|
4537
4558
|
},
|
|
4538
4559
|
m(o, s) {
|
|
4539
|
-
i.m(o, s),
|
|
4560
|
+
i.m(o, s), T(o, t, s);
|
|
4540
4561
|
},
|
|
4541
4562
|
p(o, s) {
|
|
4542
4563
|
i.p(o, s);
|
|
4543
4564
|
},
|
|
4544
4565
|
d(o) {
|
|
4545
|
-
o &&
|
|
4566
|
+
o && S(t), i.d(o);
|
|
4546
4567
|
}
|
|
4547
4568
|
};
|
|
4548
4569
|
}
|
|
4549
|
-
function
|
|
4570
|
+
function es(e) {
|
|
4550
4571
|
let t, r, n, i;
|
|
4551
4572
|
return {
|
|
4552
4573
|
c() {
|
|
4553
|
-
t = q("svg"), r = q("g"), n = q("path"), i = q("path"),
|
|
4574
|
+
t = q("svg"), r = q("g"), n = q("path"), i = q("path"), d(n, "id", "Path_5184"), d(n, "data-name", "Path 5184"), d(n, "d", "M57.612,37.659a3.721,3.721,0,0,0-3.535,4.883l-1.708,4.269-1.15-4.07a4.418,4.418,0,1,0-5.7.061l-1.151,4.016-1.75-4.358a3.722,3.722,0,1,0-4.827,2.418L41.182,59.7l.288,1.259,1.292,0,11.193.027,1.3,0,.29-1.265,3.408-14.876a3.72,3.72,0,0,0-1.339-7.192Zm0,5.816H57.6l-3.64,15.89-11.193-.027L39.135,43.473l-.08,0a2.1,2.1,0,1,1,1.8-1.028l3.763,9.373,2.8-9.781a2.8,2.8,0,1,1,1.9-.029l2.78,9.838,3.74-9.344a2.1,2.1,0,1,1,1.769.972Z"), d(n, "fill", "#fff"), d(i, "id", "Path_5185"), d(i, "data-name", "Path 5185"), d(i, "d", "M435.863,656.62a9.519,9.519,0,0,1-2.285,3.477,8.1,8.1,0,0,1-1.614,1.19,8.1,8.1,0,0,1,1.614,1.19,9.516,9.516,0,0,1,2.285,3.477,9.517,9.517,0,0,1,2.285-3.477,8.106,8.106,0,0,1,1.615-1.19,8.1,8.1,0,0,1-1.615-1.189A9.517,9.517,0,0,1,435.863,656.62Zm1.158,4.668a10.292,10.292,0,0,0-1.158,1.3,10.335,10.335,0,0,0-1.158-1.3h0a10.287,10.287,0,0,0,1.158-1.3,10.321,10.321,0,0,0,1.158,1.3h0Z"), d(i, "transform", "translate(-387.531 -607.426)"), d(i, "fill", "#fff"), d(r, "id", "noun-crown-5396133"), d(r, "transform", "translate(-35.333 -34.978)"), d(t, "class", "CategoryLobbyIcon"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "20"), d(t, "height", "20.015"), d(t, "viewBox", "0 0 26 26.015");
|
|
4554
4575
|
},
|
|
4555
4576
|
m(o, s) {
|
|
4556
|
-
|
|
4577
|
+
T(o, t, s), E(t, r), E(r, n), E(r, i);
|
|
4557
4578
|
},
|
|
4558
|
-
p:
|
|
4579
|
+
p: D,
|
|
4559
4580
|
d(o) {
|
|
4560
|
-
o &&
|
|
4581
|
+
o && S(t);
|
|
4561
4582
|
}
|
|
4562
4583
|
};
|
|
4563
4584
|
}
|
|
4564
|
-
function
|
|
4585
|
+
function ts(e) {
|
|
4565
4586
|
let t, r;
|
|
4566
4587
|
return {
|
|
4567
4588
|
c() {
|
|
4568
|
-
t = q("svg"), r = q("path"),
|
|
4589
|
+
t = q("svg"), r = q("path"), d(r, "id", "noun-dice-number-5396160"), d(r, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), d(r, "transform", "translate(-35.16 -35.168)"), d(r, "fill", "#fff"), d(t, "class", "CasinoCategoryIcon"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "20"), d(t, "height", "20"), d(t, "viewBox", "0 0 26 26");
|
|
4569
4590
|
},
|
|
4570
4591
|
m(n, i) {
|
|
4571
|
-
|
|
4592
|
+
T(n, t, i), E(t, r);
|
|
4572
4593
|
},
|
|
4573
|
-
p:
|
|
4594
|
+
p: D,
|
|
4574
4595
|
d(n) {
|
|
4575
|
-
n &&
|
|
4596
|
+
n && S(t);
|
|
4576
4597
|
}
|
|
4577
4598
|
};
|
|
4578
4599
|
}
|
|
4579
|
-
function
|
|
4600
|
+
function rs(e) {
|
|
4580
4601
|
var s;
|
|
4581
4602
|
let t, r, n, i, o = (
|
|
4582
4603
|
/*category*/
|
|
4583
|
-
((s = e[53]) == null ? void 0 : s.games.total) &&
|
|
4604
|
+
((s = e[53]) == null ? void 0 : s.games.total) && sr(e)
|
|
4584
4605
|
);
|
|
4585
4606
|
return {
|
|
4586
4607
|
c() {
|
|
4587
|
-
t = B("div"), r = q("svg"), n = q("path"), i =
|
|
4608
|
+
t = B("div"), r = q("svg"), n = q("path"), i = X(), o && o.c(), d(n, "id", "noun-dice-number-5396160"), d(n, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), d(n, "transform", "translate(-35.16 -35.168)"), d(n, "fill", "#fff"), d(r, "class", "CasinoCategoryIcon"), d(r, "xmlns", "http://www.w3.org/2000/svg"), d(r, "width", "20"), d(r, "height", "20"), d(r, "viewBox", "0 0 26 26"), d(t, "class", "CategoryIconContainer");
|
|
4588
4609
|
},
|
|
4589
4610
|
m(a, l) {
|
|
4590
|
-
|
|
4611
|
+
T(a, t, l), E(t, r), E(r, n), E(t, i), o && o.m(t, null);
|
|
4591
4612
|
},
|
|
4592
4613
|
p(a, l) {
|
|
4593
4614
|
var u;
|
|
4594
4615
|
/*category*/
|
|
4595
|
-
(u = a[53]) != null && u.games.total ? o ? o.p(a, l) : (o =
|
|
4616
|
+
(u = a[53]) != null && u.games.total ? o ? o.p(a, l) : (o = sr(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
4596
4617
|
},
|
|
4597
4618
|
d(a) {
|
|
4598
|
-
a &&
|
|
4619
|
+
a && S(t), o && o.d();
|
|
4599
4620
|
}
|
|
4600
4621
|
};
|
|
4601
4622
|
}
|
|
4602
|
-
function
|
|
4623
|
+
function sr(e) {
|
|
4603
4624
|
var i;
|
|
4604
4625
|
let t, r = (
|
|
4605
4626
|
/*category*/
|
|
@@ -4607,75 +4628,75 @@ function ir(e) {
|
|
|
4607
4628
|
), n;
|
|
4608
4629
|
return {
|
|
4609
4630
|
c() {
|
|
4610
|
-
t = B("span"), n = te(r),
|
|
4631
|
+
t = B("span"), n = te(r), d(t, "class", "CategoryButtonCount");
|
|
4611
4632
|
},
|
|
4612
4633
|
m(o, s) {
|
|
4613
|
-
|
|
4634
|
+
T(o, t, s), E(t, n);
|
|
4614
4635
|
},
|
|
4615
4636
|
p(o, s) {
|
|
4616
4637
|
var a;
|
|
4617
4638
|
s[0] & /*sliderdata*/
|
|
4618
4639
|
512 && r !== (r = /*category*/
|
|
4619
|
-
((a = o[53]) == null ? void 0 : a.games.total) + "") &&
|
|
4640
|
+
((a = o[53]) == null ? void 0 : a.games.total) + "") && me(n, r);
|
|
4620
4641
|
},
|
|
4621
4642
|
d(o) {
|
|
4622
|
-
o &&
|
|
4643
|
+
o && S(t);
|
|
4623
4644
|
}
|
|
4624
4645
|
};
|
|
4625
4646
|
}
|
|
4626
|
-
function
|
|
4647
|
+
function ns(e) {
|
|
4627
4648
|
let t, r, n;
|
|
4628
4649
|
return {
|
|
4629
4650
|
c() {
|
|
4630
|
-
t = B("img"),
|
|
4631
|
-
e[53].icon) ||
|
|
4651
|
+
t = B("img"), d(t, "class", "CasinoCategoryIcon "), ke(t.src, r = /*category*/
|
|
4652
|
+
e[53].icon) || d(t, "src", r), d(t, "alt", n = /*category*/
|
|
4632
4653
|
e[53].name);
|
|
4633
4654
|
},
|
|
4634
4655
|
m(i, o) {
|
|
4635
|
-
|
|
4656
|
+
T(i, t, o);
|
|
4636
4657
|
},
|
|
4637
4658
|
p(i, o) {
|
|
4638
4659
|
o[0] & /*sliderdata*/
|
|
4639
|
-
512 && !
|
|
4640
|
-
i[53].icon) &&
|
|
4660
|
+
512 && !ke(t.src, r = /*category*/
|
|
4661
|
+
i[53].icon) && d(t, "src", r), o[0] & /*sliderdata*/
|
|
4641
4662
|
512 && n !== (n = /*category*/
|
|
4642
|
-
i[53].name) &&
|
|
4663
|
+
i[53].name) && d(t, "alt", n);
|
|
4643
4664
|
},
|
|
4644
4665
|
d(i) {
|
|
4645
|
-
i &&
|
|
4666
|
+
i && S(t);
|
|
4646
4667
|
}
|
|
4647
4668
|
};
|
|
4648
4669
|
}
|
|
4649
|
-
function
|
|
4670
|
+
function is(e) {
|
|
4650
4671
|
var a;
|
|
4651
4672
|
let t, r, n, i, o, s = (
|
|
4652
4673
|
/*category*/
|
|
4653
|
-
((a = e[53]) == null ? void 0 : a.games.total) &&
|
|
4674
|
+
((a = e[53]) == null ? void 0 : a.games.total) && ar(e)
|
|
4654
4675
|
);
|
|
4655
4676
|
return {
|
|
4656
4677
|
c() {
|
|
4657
|
-
t = B("div"), r = B("img"), o =
|
|
4658
|
-
e[53].icon) ||
|
|
4659
|
-
e[53].name),
|
|
4678
|
+
t = B("div"), r = B("img"), o = X(), s && s.c(), d(r, "class", "CasinoCategoryIcon"), ke(r.src, n = /*category*/
|
|
4679
|
+
e[53].icon) || d(r, "src", n), d(r, "alt", i = /*category*/
|
|
4680
|
+
e[53].name), d(t, "class", "CategoryIconContainer");
|
|
4660
4681
|
},
|
|
4661
4682
|
m(l, u) {
|
|
4662
|
-
|
|
4683
|
+
T(l, t, u), E(t, r), E(t, o), s && s.m(t, null);
|
|
4663
4684
|
},
|
|
4664
4685
|
p(l, u) {
|
|
4665
4686
|
var h;
|
|
4666
4687
|
u[0] & /*sliderdata*/
|
|
4667
|
-
512 && !
|
|
4668
|
-
l[53].icon) &&
|
|
4688
|
+
512 && !ke(r.src, n = /*category*/
|
|
4689
|
+
l[53].icon) && d(r, "src", n), u[0] & /*sliderdata*/
|
|
4669
4690
|
512 && i !== (i = /*category*/
|
|
4670
|
-
l[53].name) &&
|
|
4671
|
-
(h = l[53]) != null && h.games.total ? s ? s.p(l, u) : (s =
|
|
4691
|
+
l[53].name) && d(r, "alt", i), /*category*/
|
|
4692
|
+
(h = l[53]) != null && h.games.total ? s ? s.p(l, u) : (s = ar(l), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4672
4693
|
},
|
|
4673
4694
|
d(l) {
|
|
4674
|
-
l &&
|
|
4695
|
+
l && S(t), s && s.d();
|
|
4675
4696
|
}
|
|
4676
4697
|
};
|
|
4677
4698
|
}
|
|
4678
|
-
function
|
|
4699
|
+
function ar(e) {
|
|
4679
4700
|
var i;
|
|
4680
4701
|
let t, r = (
|
|
4681
4702
|
/*category*/
|
|
@@ -4683,23 +4704,23 @@ function or(e) {
|
|
|
4683
4704
|
), n;
|
|
4684
4705
|
return {
|
|
4685
4706
|
c() {
|
|
4686
|
-
t = B("span"), n = te(r),
|
|
4707
|
+
t = B("span"), n = te(r), d(t, "class", "CategoryButtonCount");
|
|
4687
4708
|
},
|
|
4688
4709
|
m(o, s) {
|
|
4689
|
-
|
|
4710
|
+
T(o, t, s), E(t, n);
|
|
4690
4711
|
},
|
|
4691
4712
|
p(o, s) {
|
|
4692
4713
|
var a;
|
|
4693
4714
|
s[0] & /*sliderdata*/
|
|
4694
4715
|
512 && r !== (r = /*category*/
|
|
4695
|
-
((a = o[53]) == null ? void 0 : a.games.total) + "") &&
|
|
4716
|
+
((a = o[53]) == null ? void 0 : a.games.total) + "") && me(n, r);
|
|
4696
4717
|
},
|
|
4697
4718
|
d(o) {
|
|
4698
|
-
o &&
|
|
4719
|
+
o && S(t);
|
|
4699
4720
|
}
|
|
4700
4721
|
};
|
|
4701
4722
|
}
|
|
4702
|
-
function
|
|
4723
|
+
function lr(e) {
|
|
4703
4724
|
var i;
|
|
4704
4725
|
let t, r = (
|
|
4705
4726
|
/*category*/
|
|
@@ -4707,75 +4728,75 @@ function sr(e) {
|
|
|
4707
4728
|
), n;
|
|
4708
4729
|
return {
|
|
4709
4730
|
c() {
|
|
4710
|
-
t = B("span"), n = te(r),
|
|
4731
|
+
t = B("span"), n = te(r), d(t, "class", "CategoryButtonCount");
|
|
4711
4732
|
},
|
|
4712
4733
|
m(o, s) {
|
|
4713
|
-
|
|
4734
|
+
T(o, t, s), E(t, n);
|
|
4714
4735
|
},
|
|
4715
4736
|
p(o, s) {
|
|
4716
4737
|
var a;
|
|
4717
4738
|
s[0] & /*sliderdata*/
|
|
4718
4739
|
512 && r !== (r = /*category*/
|
|
4719
|
-
((a = o[53]) == null ? void 0 : a.games.total) + "") &&
|
|
4740
|
+
((a = o[53]) == null ? void 0 : a.games.total) + "") && me(n, r);
|
|
4720
4741
|
},
|
|
4721
4742
|
d(o) {
|
|
4722
|
-
o &&
|
|
4743
|
+
o && S(t);
|
|
4723
4744
|
}
|
|
4724
4745
|
};
|
|
4725
4746
|
}
|
|
4726
|
-
function
|
|
4747
|
+
function ur(e) {
|
|
4727
4748
|
let t, r = (
|
|
4728
4749
|
/*subGroupsData*/
|
|
4729
4750
|
e[10].length > 0 && /*showsubgroups*/
|
|
4730
|
-
e[2] == "true" &&
|
|
4751
|
+
e[2] == "true" && hr(e)
|
|
4731
4752
|
);
|
|
4732
4753
|
return {
|
|
4733
4754
|
c() {
|
|
4734
4755
|
r && r.c(), t = ne();
|
|
4735
4756
|
},
|
|
4736
4757
|
m(n, i) {
|
|
4737
|
-
r && r.m(n, i),
|
|
4758
|
+
r && r.m(n, i), T(n, t, i);
|
|
4738
4759
|
},
|
|
4739
4760
|
p(n, i) {
|
|
4740
4761
|
/*subGroupsData*/
|
|
4741
4762
|
n[10].length > 0 && /*showsubgroups*/
|
|
4742
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
|
4763
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = hr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4743
4764
|
},
|
|
4744
4765
|
d(n) {
|
|
4745
|
-
n &&
|
|
4766
|
+
n && S(t), r && r.d(n);
|
|
4746
4767
|
}
|
|
4747
4768
|
};
|
|
4748
4769
|
}
|
|
4749
|
-
function
|
|
4750
|
-
let t, r =
|
|
4770
|
+
function hr(e) {
|
|
4771
|
+
let t, r = he(
|
|
4751
4772
|
/*subGroupsData*/
|
|
4752
4773
|
e[10]
|
|
4753
4774
|
), n = [];
|
|
4754
4775
|
for (let i = 0; i < r.length; i += 1)
|
|
4755
|
-
n[i] =
|
|
4776
|
+
n[i] = pr(nr(e, r, i));
|
|
4756
4777
|
return {
|
|
4757
4778
|
c() {
|
|
4758
4779
|
t = B("ul");
|
|
4759
4780
|
for (let i = 0; i < n.length; i += 1)
|
|
4760
4781
|
n[i].c();
|
|
4761
|
-
|
|
4782
|
+
d(t, "class", "DropDown");
|
|
4762
4783
|
},
|
|
4763
4784
|
m(i, o) {
|
|
4764
|
-
|
|
4785
|
+
T(i, t, o);
|
|
4765
4786
|
for (let s = 0; s < n.length; s += 1)
|
|
4766
4787
|
n[s] && n[s].m(t, null);
|
|
4767
4788
|
},
|
|
4768
4789
|
p(i, o) {
|
|
4769
4790
|
if (o[0] & /*subGroupsData, sliderdata, activeIndex, activeSubIndex, prevSubIndex, handleClick*/
|
|
4770
4791
|
18368) {
|
|
4771
|
-
r =
|
|
4792
|
+
r = he(
|
|
4772
4793
|
/*subGroupsData*/
|
|
4773
4794
|
i[10]
|
|
4774
4795
|
);
|
|
4775
4796
|
let s;
|
|
4776
4797
|
for (s = 0; s < r.length; s += 1) {
|
|
4777
|
-
const a =
|
|
4778
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4798
|
+
const a = nr(i, r, s);
|
|
4799
|
+
n[s] ? n[s].p(a, o) : (n[s] = pr(a), n[s].c(), n[s].m(t, null));
|
|
4779
4800
|
}
|
|
4780
4801
|
for (; s < n.length; s += 1)
|
|
4781
4802
|
n[s].d(1);
|
|
@@ -4783,11 +4804,11 @@ function lr(e) {
|
|
|
4783
4804
|
}
|
|
4784
4805
|
},
|
|
4785
4806
|
d(i) {
|
|
4786
|
-
i &&
|
|
4807
|
+
i && S(t), xn(n, i);
|
|
4787
4808
|
}
|
|
4788
4809
|
};
|
|
4789
4810
|
}
|
|
4790
|
-
function
|
|
4811
|
+
function cr(e) {
|
|
4791
4812
|
var c;
|
|
4792
4813
|
let t, r, n = (
|
|
4793
4814
|
/*subGroupItem*/
|
|
@@ -4827,7 +4848,7 @@ function ur(e) {
|
|
|
4827
4848
|
}
|
|
4828
4849
|
return {
|
|
4829
4850
|
c() {
|
|
4830
|
-
t = B("li"), r = B("span"), i = te(n), o =
|
|
4851
|
+
t = B("li"), r = B("span"), i = te(n), o = X(), d(t, "class", s = "SubDropDown " + /*index*/
|
|
4831
4852
|
(e[55] == /*activeIndex*/
|
|
4832
4853
|
e[6] && /*activeSubIndex*/
|
|
4833
4854
|
(e[7] == /*subindex*/
|
|
@@ -4836,7 +4857,7 @@ function ur(e) {
|
|
|
4836
4857
|
e[61]) ? "active" : ""));
|
|
4837
4858
|
},
|
|
4838
4859
|
m(f, m) {
|
|
4839
|
-
|
|
4860
|
+
T(f, t, m), E(t, r), E(r, i), E(t, o), a || (l = [
|
|
4840
4861
|
J(t, "click", u),
|
|
4841
4862
|
J(t, "keydown", h)
|
|
4842
4863
|
], a = !0);
|
|
@@ -4845,25 +4866,25 @@ function ur(e) {
|
|
|
4845
4866
|
var b;
|
|
4846
4867
|
e = f, m[0] & /*subGroupsData*/
|
|
4847
4868
|
1024 && n !== (n = /*subGroupItem*/
|
|
4848
|
-
((b = e[59]) == null ? void 0 : b.name) + "") &&
|
|
4869
|
+
((b = e[59]) == null ? void 0 : b.name) + "") && me(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
4849
4870
|
1984 && s !== (s = "SubDropDown " + /*index*/
|
|
4850
4871
|
(e[55] == /*activeIndex*/
|
|
4851
4872
|
e[6] && /*activeSubIndex*/
|
|
4852
4873
|
(e[7] == /*subindex*/
|
|
4853
4874
|
e[61] || /*prevSubIndex*/
|
|
4854
4875
|
e[8] == /*subindex*/
|
|
4855
|
-
e[61]) ? "active" : "")) &&
|
|
4876
|
+
e[61]) ? "active" : "")) && d(t, "class", s);
|
|
4856
4877
|
},
|
|
4857
4878
|
d(f) {
|
|
4858
|
-
f &&
|
|
4879
|
+
f && S(t), a = !1, Y(l);
|
|
4859
4880
|
}
|
|
4860
4881
|
};
|
|
4861
4882
|
}
|
|
4862
|
-
function
|
|
4883
|
+
function fr(e, t) {
|
|
4863
4884
|
let r, n, i = (
|
|
4864
4885
|
/*index*/
|
|
4865
4886
|
t[55] == /*subGroup*/
|
|
4866
|
-
t[56].index &&
|
|
4887
|
+
t[56].index && cr(t)
|
|
4867
4888
|
);
|
|
4868
4889
|
return {
|
|
4869
4890
|
key: e,
|
|
@@ -4872,20 +4893,20 @@ function hr(e, t) {
|
|
|
4872
4893
|
r = ne(), i && i.c(), n = ne(), this.first = r;
|
|
4873
4894
|
},
|
|
4874
4895
|
m(o, s) {
|
|
4875
|
-
|
|
4896
|
+
T(o, r, s), i && i.m(o, s), T(o, n, s);
|
|
4876
4897
|
},
|
|
4877
4898
|
p(o, s) {
|
|
4878
4899
|
t = o, /*index*/
|
|
4879
4900
|
t[55] == /*subGroup*/
|
|
4880
|
-
t[56].index ? i ? i.p(t, s) : (i =
|
|
4901
|
+
t[56].index ? i ? i.p(t, s) : (i = cr(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
|
4881
4902
|
},
|
|
4882
4903
|
d(o) {
|
|
4883
|
-
o && (
|
|
4904
|
+
o && (S(r), S(n)), i && i.d(o);
|
|
4884
4905
|
}
|
|
4885
4906
|
};
|
|
4886
4907
|
}
|
|
4887
|
-
function
|
|
4888
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4908
|
+
function pr(e) {
|
|
4909
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = he(
|
|
4889
4910
|
/*subGroup*/
|
|
4890
4911
|
e[56].items
|
|
4891
4912
|
);
|
|
@@ -4894,8 +4915,8 @@ function cr(e) {
|
|
|
4894
4915
|
s[59].id
|
|
4895
4916
|
);
|
|
4896
4917
|
for (let s = 0; s < i.length; s += 1) {
|
|
4897
|
-
let a =
|
|
4898
|
-
r.set(l, t[s] =
|
|
4918
|
+
let a = ir(e, i, s), l = o(a);
|
|
4919
|
+
r.set(l, t[s] = fr(l, a));
|
|
4899
4920
|
}
|
|
4900
4921
|
return {
|
|
4901
4922
|
c() {
|
|
@@ -4906,28 +4927,28 @@ function cr(e) {
|
|
|
4906
4927
|
m(s, a) {
|
|
4907
4928
|
for (let l = 0; l < t.length; l += 1)
|
|
4908
4929
|
t[l] && t[l].m(s, a);
|
|
4909
|
-
|
|
4930
|
+
T(s, n, a);
|
|
4910
4931
|
},
|
|
4911
4932
|
p(s, a) {
|
|
4912
4933
|
a[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex, handleClick*/
|
|
4913
|
-
18368 && (i =
|
|
4934
|
+
18368 && (i = he(
|
|
4914
4935
|
/*subGroup*/
|
|
4915
4936
|
s[56].items
|
|
4916
|
-
), t =
|
|
4937
|
+
), t = vr(t, a, o, 1, s, i, r, n.parentNode, yr, fr, n, ir));
|
|
4917
4938
|
},
|
|
4918
4939
|
d(s) {
|
|
4919
|
-
s &&
|
|
4940
|
+
s && S(n);
|
|
4920
4941
|
for (let a = 0; a < t.length; a += 1)
|
|
4921
4942
|
t[a].d(s);
|
|
4922
4943
|
}
|
|
4923
4944
|
};
|
|
4924
4945
|
}
|
|
4925
|
-
function
|
|
4946
|
+
function dr(e, t) {
|
|
4926
4947
|
let r, n, i, o, s, a;
|
|
4927
4948
|
function l(b, g) {
|
|
4928
4949
|
return (
|
|
4929
4950
|
/*location*/
|
|
4930
|
-
b[0] === "headerMain" ?
|
|
4951
|
+
b[0] === "headerMain" ? qo : Yo
|
|
4931
4952
|
);
|
|
4932
4953
|
}
|
|
4933
4954
|
let u = l(t), h = u(t), c = (
|
|
@@ -4935,7 +4956,7 @@ function fr(e, t) {
|
|
|
4935
4956
|
t[11][
|
|
4936
4957
|
/*index*/
|
|
4937
4958
|
t[55]
|
|
4938
|
-
] == !0 &&
|
|
4959
|
+
] == !0 && ur(t)
|
|
4939
4960
|
);
|
|
4940
4961
|
function f(...b) {
|
|
4941
4962
|
return (
|
|
@@ -4966,7 +4987,7 @@ function fr(e, t) {
|
|
|
4966
4987
|
first: null,
|
|
4967
4988
|
c() {
|
|
4968
4989
|
var b, g;
|
|
4969
|
-
r = B("li"), h.c(), n =
|
|
4990
|
+
r = B("li"), h.c(), n = X(), c && c.c(), i = X(), d(r, "class", o = "CarouselItem " + /*activeindex*/
|
|
4970
4991
|
(((b = t[1]) == null ? void 0 : b.toString().indexOf("$")) > -1 ? (
|
|
4971
4992
|
/*activeindex*/
|
|
4972
4993
|
((g = t[1]) == null ? void 0 : g.split("$").pop()) == /*category*/
|
|
@@ -4979,50 +5000,50 @@ function fr(e, t) {
|
|
|
4979
5000
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
|
4980
5001
|
},
|
|
4981
5002
|
m(b, g) {
|
|
4982
|
-
|
|
5003
|
+
T(b, r, g), h.m(r, null), E(r, n), c && c.m(r, null), E(r, i), s || (a = [
|
|
4983
5004
|
J(r, "click", f),
|
|
4984
5005
|
J(r, "keydown", m)
|
|
4985
5006
|
], s = !0);
|
|
4986
5007
|
},
|
|
4987
5008
|
p(b, g) {
|
|
4988
|
-
var y,
|
|
5009
|
+
var y, C;
|
|
4989
5010
|
t = b, u === (u = l(t)) && h ? h.p(t, g) : (h.d(1), h = u(t), h && (h.c(), h.m(r, n))), /*itemsActive*/
|
|
4990
5011
|
t[11][
|
|
4991
5012
|
/*index*/
|
|
4992
5013
|
t[55]
|
|
4993
|
-
] == !0 ? c ? c.p(t, g) : (c =
|
|
5014
|
+
] == !0 ? c ? c.p(t, g) : (c = ur(t), c.c(), c.m(r, i)) : c && (c.d(1), c = null), g[0] & /*activeindex, sliderdata, location*/
|
|
4994
5015
|
515 && o !== (o = "CarouselItem " + /*activeindex*/
|
|
4995
5016
|
(((y = t[1]) == null ? void 0 : y.toString().indexOf("$")) > -1 ? (
|
|
4996
5017
|
/*activeindex*/
|
|
4997
|
-
((
|
|
5018
|
+
((C = t[1]) == null ? void 0 : C.split("$").pop()) == /*category*/
|
|
4998
5019
|
t[53].id.split("$").pop() ? "active" : ""
|
|
4999
5020
|
) : (
|
|
5000
5021
|
/*activeindex*/
|
|
5001
5022
|
t[1] == /*category*/
|
|
5002
5023
|
t[53].id ? "active" : ""
|
|
5003
5024
|
)) + " " + /*location*/
|
|
5004
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
|
5025
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && d(r, "class", o);
|
|
5005
5026
|
},
|
|
5006
5027
|
d(b) {
|
|
5007
|
-
b &&
|
|
5028
|
+
b && S(r), h.d(), c && c.d(), s = !1, Y(a);
|
|
5008
5029
|
}
|
|
5009
5030
|
};
|
|
5010
5031
|
}
|
|
5011
|
-
function
|
|
5032
|
+
function os(e) {
|
|
5012
5033
|
let t, r, n, i, o, s, a, l, u, h, c, f, m, b, g, y = (
|
|
5013
5034
|
/*sliderdata*/
|
|
5014
|
-
e[9].length > 0 &&
|
|
5035
|
+
e[9].length > 0 && or(e)
|
|
5015
5036
|
);
|
|
5016
5037
|
return {
|
|
5017
5038
|
c() {
|
|
5018
|
-
t = B("div"), r = B("div"), n = B("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', i =
|
|
5019
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
|
5020
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
|
5039
|
+
t = B("div"), r = B("div"), n = B("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', i = X(), o = B("div"), s = B("ul"), a = B("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = X(), y && y.c(), u = X(), h = B("div"), h.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M9 5l7 7-7 7"></path></svg>', d(n, "class", "CarouselLeftArrow"), d(a, "class", "TouchOnly"), d(s, "id", "CarouselNav"), d(s, "class", "CarouselItems"), d(o, "class", "CarouselNavWrap scroller"), d(h, "class", "CarouselRightArrow"), d(r, "class", c = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
5040
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), d(r, "style", f = /*location*/
|
|
5041
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), d(t, "class", m = "CarouselWrapper " + /*location*/
|
|
5021
5042
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
|
|
5022
5043
|
(e[13] ? "CarouselWrapperMobile" : ""));
|
|
5023
5044
|
},
|
|
5024
|
-
m(
|
|
5025
|
-
|
|
5045
|
+
m(C, A) {
|
|
5046
|
+
T(C, t, A), E(t, r), E(r, n), E(r, i), E(r, o), E(o, s), E(s, a), E(s, l), y && y.m(s, null), e[38](s), e[39](o), E(r, u), E(r, h), e[42](t), b || (g = [
|
|
5026
5047
|
J(
|
|
5027
5048
|
n,
|
|
5028
5049
|
"click",
|
|
@@ -5049,178 +5070,178 @@ function ns(e) {
|
|
|
5049
5070
|
)
|
|
5050
5071
|
], b = !0);
|
|
5051
5072
|
},
|
|
5052
|
-
p(
|
|
5073
|
+
p(C, A) {
|
|
5053
5074
|
/*sliderdata*/
|
|
5054
|
-
|
|
5075
|
+
C[9].length > 0 ? y ? y.p(C, A) : (y = or(C), y.c(), y.m(s, null)) : y && (y.d(1), y = null), A[0] & /*location*/
|
|
5055
5076
|
1 && c !== (c = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
5056
|
-
|
|
5077
|
+
C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && d(r, "class", c), A[0] & /*location*/
|
|
5057
5078
|
1 && f !== (f = /*location*/
|
|
5058
|
-
|
|
5079
|
+
C[0] === "headerMain" ? "max-width: auto" : void 0) && d(r, "style", f), A[0] & /*location*/
|
|
5059
5080
|
1 && m !== (m = "CarouselWrapper " + /*location*/
|
|
5060
|
-
(
|
|
5061
|
-
(
|
|
5081
|
+
(C[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
|
|
5082
|
+
(C[13] ? "CarouselWrapperMobile" : "")) && d(t, "class", m);
|
|
5062
5083
|
},
|
|
5063
|
-
i:
|
|
5064
|
-
o:
|
|
5065
|
-
d(
|
|
5066
|
-
|
|
5084
|
+
i: D,
|
|
5085
|
+
o: D,
|
|
5086
|
+
d(C) {
|
|
5087
|
+
C && S(t), y && y.d(), e[38](null), e[39](null), e[42](null), b = !1, Y(g);
|
|
5067
5088
|
}
|
|
5068
5089
|
};
|
|
5069
5090
|
}
|
|
5070
|
-
function
|
|
5071
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: l = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { identity: f = "" } = t, { translationurl: m = "" } = t, { isprimarymenu: b = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: y = "" } = t, { activeindex:
|
|
5072
|
-
|
|
5091
|
+
function ss(e, t, r) {
|
|
5092
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: l = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { identity: f = "" } = t, { translationurl: m = "" } = t, { isprimarymenu: b = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: y = "" } = t, { activeindex: C = "0" } = t, { showsubgroups: A = "false" } = t, { categoriesicon: N = "false" } = t, { lobbyiconimage: j = "" } = t, { mygamesiconimage: F = "" } = t;
|
|
5093
|
+
Zo({ withLocale: "en", translations: {} });
|
|
5073
5094
|
const V = () => {
|
|
5074
|
-
fetch(m).then((
|
|
5075
|
-
Object.keys(
|
|
5076
|
-
|
|
5095
|
+
fetch(m).then((w) => w.json()).then((w) => {
|
|
5096
|
+
Object.keys(w).forEach((M) => {
|
|
5097
|
+
er(M, w[M]);
|
|
5077
5098
|
});
|
|
5078
|
-
}).catch((
|
|
5079
|
-
console.log(
|
|
5099
|
+
}).catch((w) => {
|
|
5100
|
+
console.log(w);
|
|
5080
5101
|
});
|
|
5081
5102
|
};
|
|
5082
|
-
Object.keys(
|
|
5083
|
-
|
|
5103
|
+
Object.keys(tr).forEach((p) => {
|
|
5104
|
+
er(p, tr[p]);
|
|
5084
5105
|
});
|
|
5085
|
-
let
|
|
5106
|
+
let H = window.navigator.userAgent, U = jo(H) !== "PC", O, G, ve, ze, Z, _e = [], Ie = [], oe = [], L, Ee = (p, w, M, z, k) => {
|
|
5086
5107
|
var re;
|
|
5087
|
-
if (!(
|
|
5088
|
-
if (Be(), r(6, G =
|
|
5108
|
+
if (!(p.subGroups && z === null)) {
|
|
5109
|
+
if (Be(), r(6, G = w), r(6, G), k != "secondary") {
|
|
5089
5110
|
window.postMessage(
|
|
5090
5111
|
{
|
|
5091
5112
|
type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
|
5092
5113
|
buzz: "1",
|
|
5093
|
-
itemId:
|
|
5094
|
-
index:
|
|
5095
|
-
item:
|
|
5096
|
-
path:
|
|
5097
|
-
externalLink:
|
|
5098
|
-
target: ((re =
|
|
5114
|
+
itemId: p.id,
|
|
5115
|
+
index: w,
|
|
5116
|
+
item: p,
|
|
5117
|
+
path: p.path,
|
|
5118
|
+
externalLink: p.externalLink || !1,
|
|
5119
|
+
target: ((re = p.attrs) == null ? void 0 : re.target) || null
|
|
5099
5120
|
},
|
|
5100
5121
|
window.location.href
|
|
5101
|
-
), r(7,
|
|
5122
|
+
), r(7, ve = null), r(8, ze = null);
|
|
5102
5123
|
return;
|
|
5103
5124
|
}
|
|
5104
|
-
r(7,
|
|
5125
|
+
r(7, ve = z), r(7, ve), r(8, ze = ve), window.postMessage(
|
|
5105
5126
|
{
|
|
5106
5127
|
type: s,
|
|
5107
5128
|
itemId: M.id,
|
|
5108
|
-
subIndex:
|
|
5129
|
+
subIndex: z,
|
|
5109
5130
|
subItem: M
|
|
5110
5131
|
},
|
|
5111
5132
|
window.location.href
|
|
5112
5133
|
);
|
|
5113
5134
|
}
|
|
5114
|
-
},
|
|
5135
|
+
}, Qe = () => {
|
|
5115
5136
|
L && (oe.length !== G ? r(12, L.scrollLeft -= 250, L) : r(12, L.scrollLeft = 0, L));
|
|
5116
|
-
},
|
|
5137
|
+
}, Ye = () => {
|
|
5117
5138
|
L && (oe.length !== G ? r(12, L.scrollLeft += 250, L) : r(12, L.scrollLeft = 0, L));
|
|
5118
5139
|
};
|
|
5119
|
-
const
|
|
5120
|
-
|
|
5121
|
-
|
|
5140
|
+
const Ht = (p) => {
|
|
5141
|
+
p.data.type == "SliderData" && p.data.identity == f && (r(9, _e = p.data.data), r(11, oe = new Array(_e.length).fill(!1)), A == "true" && Kr()), p.data.type == "GoToHomepage" && _e.forEach((w, M) => {
|
|
5142
|
+
w.path.endsWith("/casino") && (r(6, G = M), r(6, G));
|
|
5122
5143
|
});
|
|
5123
|
-
},
|
|
5124
|
-
|
|
5125
|
-
},
|
|
5126
|
-
if (l == "secondaryMenu" && n && i && y &&
|
|
5127
|
-
let
|
|
5128
|
-
fetch(
|
|
5129
|
-
|
|
5144
|
+
}, qr = () => {
|
|
5145
|
+
zo(y);
|
|
5146
|
+
}, Jr = (p, w, M) => {
|
|
5147
|
+
if (l == "secondaryMenu" && n && i && y && p.id) {
|
|
5148
|
+
let z = new URL(`${n}/v1/casino/groups/${i}/${p.id}/subGroups?language=${y}`);
|
|
5149
|
+
fetch(z.href).then((k) => k.json()).then((k) => {
|
|
5150
|
+
k.index = w, r(10, Ie = Ie.concat(k)), A == "false" && window.postMessage(
|
|
5130
5151
|
{
|
|
5131
5152
|
type: s,
|
|
5132
|
-
itemId:
|
|
5133
|
-
index:
|
|
5134
|
-
item:
|
|
5153
|
+
itemId: p.id,
|
|
5154
|
+
index: w,
|
|
5155
|
+
item: p
|
|
5135
5156
|
},
|
|
5136
5157
|
window.location.href
|
|
5137
5158
|
);
|
|
5138
5159
|
const re = [];
|
|
5139
|
-
Ie.map((
|
|
5140
|
-
re.find((
|
|
5160
|
+
Ie.map((fn) => (fn.items.forEach((Tt) => {
|
|
5161
|
+
re.find((pn) => Tt.id == pn) || re.push(Tt.id);
|
|
5141
5162
|
}), re.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: re }, window.location.href);
|
|
5142
5163
|
}).then(() => {
|
|
5143
5164
|
O.querySelectorAll(".DropDown") && Be();
|
|
5144
5165
|
});
|
|
5145
5166
|
}
|
|
5146
|
-
l == "headerMain" && window.postMessage({ type: s, item:
|
|
5167
|
+
l == "headerMain" && window.postMessage({ type: s, item: p }, window.location.href);
|
|
5147
5168
|
}, Be = () => {
|
|
5148
|
-
const
|
|
5169
|
+
const p = O.querySelectorAll(".DropDown");
|
|
5149
5170
|
document.activeElement.blur(), L.classList.add("isScrolling");
|
|
5150
|
-
for (let
|
|
5151
|
-
|
|
5171
|
+
for (let w = 0; w < p.length; w++)
|
|
5172
|
+
p[w].style.transform = "translateX(-" + L.scrollLeft + "px)";
|
|
5152
5173
|
L.classList.remove("isScrolling");
|
|
5153
|
-
},
|
|
5154
|
-
|
|
5174
|
+
}, Kr = () => {
|
|
5175
|
+
_e.forEach((p, w) => {
|
|
5155
5176
|
var M;
|
|
5156
|
-
((M =
|
|
5177
|
+
((M = p == null ? void 0 : p.subGroups) == null ? void 0 : M.count) > 0 && (r(11, oe[w] = !0, oe), Jr(p, w));
|
|
5157
5178
|
});
|
|
5158
5179
|
};
|
|
5159
|
-
|
|
5180
|
+
An(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), window.addEventListener("message", Ht, !1), window.postMessage({ type: "SliderMounted", identity: f }), setTimeout(
|
|
5160
5181
|
() => {
|
|
5161
5182
|
L.addEventListener("scroll", Be);
|
|
5162
5183
|
},
|
|
5163
5184
|
500
|
|
5164
5185
|
), () => {
|
|
5165
|
-
window.removeEventListener("message",
|
|
5186
|
+
window.removeEventListener("message", Ht), O.removeEventListener("scroll", Be);
|
|
5166
5187
|
}));
|
|
5167
|
-
const
|
|
5168
|
-
(
|
|
5169
|
-
},
|
|
5170
|
-
|
|
5171
|
-
},
|
|
5172
|
-
(
|
|
5173
|
-
},
|
|
5174
|
-
|
|
5175
|
-
},
|
|
5176
|
-
(M.key === "Enter" || M.key === " ") && (
|
|
5188
|
+
const en = () => Qe(), tn = (p) => {
|
|
5189
|
+
(p.key === "Enter" || p.key === " ") && (Qe(), p.preventDefault());
|
|
5190
|
+
}, rn = (p, w, M, z, k) => {
|
|
5191
|
+
Ee(p, w, M, z, "secondary"), k.stopPropagation();
|
|
5192
|
+
}, nn = (p, w, M, z, k) => {
|
|
5193
|
+
(k.key === "Enter" || k.key === " ") && (Ee(p, w, M, z, "secondary"), k.stopPropagation(), k.preventDefault());
|
|
5194
|
+
}, on = (p, w, M) => {
|
|
5195
|
+
Ee(p, w, null, null, "main"), M.preventDefault();
|
|
5196
|
+
}, sn = (p, w, M) => {
|
|
5197
|
+
(M.key === "Enter" || M.key === " ") && (Ee(p, w, null, null, "main"), M.preventDefault());
|
|
5177
5198
|
};
|
|
5178
|
-
function
|
|
5179
|
-
|
|
5180
|
-
O =
|
|
5199
|
+
function an(p) {
|
|
5200
|
+
xe[p ? "unshift" : "push"](() => {
|
|
5201
|
+
O = p, r(5, O);
|
|
5181
5202
|
});
|
|
5182
5203
|
}
|
|
5183
|
-
function
|
|
5184
|
-
|
|
5185
|
-
L =
|
|
5204
|
+
function ln(p) {
|
|
5205
|
+
xe[p ? "unshift" : "push"](() => {
|
|
5206
|
+
L = p, r(12, L);
|
|
5186
5207
|
});
|
|
5187
5208
|
}
|
|
5188
|
-
const
|
|
5189
|
-
(
|
|
5209
|
+
const un = () => Ye(), hn = (p) => {
|
|
5210
|
+
(p.key === "Enter" || p.key === " ") && (Ye(), p.preventDefault());
|
|
5190
5211
|
};
|
|
5191
|
-
function
|
|
5192
|
-
|
|
5193
|
-
|
|
5212
|
+
function cn(p) {
|
|
5213
|
+
xe[p ? "unshift" : "push"](() => {
|
|
5214
|
+
Z = p, r(4, Z);
|
|
5194
5215
|
});
|
|
5195
5216
|
}
|
|
5196
|
-
return e.$$set = (
|
|
5197
|
-
"endpoint" in
|
|
5217
|
+
return e.$$set = (p) => {
|
|
5218
|
+
"endpoint" in p && r(17, n = p.endpoint), "datasource" in p && r(18, i = p.datasource), "onclickeventname" in p && r(19, o = p.onclickeventname), "actionevent" in p && r(20, s = p.actionevent), "favoritesnumber" in p && r(21, a = p.favoritesnumber), "location" in p && r(0, l = p.location), "mbsource" in p && r(22, u = p.mbsource), "clientstyling" in p && r(23, h = p.clientstyling), "clientstylingurl" in p && r(24, c = p.clientstylingurl), "identity" in p && r(25, f = p.identity), "translationurl" in p && r(26, m = p.translationurl), "isprimarymenu" in p && r(27, b = p.isprimarymenu), "issecondarymenu" in p && r(28, g = p.issecondarymenu), "lang" in p && r(29, y = p.lang), "activeindex" in p && r(1, C = p.activeindex), "showsubgroups" in p && r(2, A = p.showsubgroups), "categoriesicon" in p && r(3, N = p.categoriesicon), "lobbyiconimage" in p && r(30, j = p.lobbyiconimage), "mygamesiconimage" in p && r(31, F = p.mygamesiconimage);
|
|
5198
5219
|
}, e.$$.update = () => {
|
|
5199
5220
|
e.$$.dirty[0] & /*activeindex*/
|
|
5200
5221
|
2, e.$$.dirty[0] & /*translationurl*/
|
|
5201
5222
|
67108864 && m && V(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5202
|
-
8388624 && h &&
|
|
5203
|
-
16777232 && c &&
|
|
5204
|
-
4194320 && u &&
|
|
5205
|
-
536870912 && y &&
|
|
5223
|
+
8388624 && h && Z && Vo(Z, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5224
|
+
16777232 && c && Z && Wo(Z, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5225
|
+
4194320 && u && Z && Xo(Z, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
5226
|
+
536870912 && y && qr();
|
|
5206
5227
|
}, [
|
|
5207
5228
|
l,
|
|
5208
|
-
|
|
5209
|
-
|
|
5229
|
+
C,
|
|
5230
|
+
A,
|
|
5210
5231
|
N,
|
|
5211
|
-
|
|
5232
|
+
Z,
|
|
5212
5233
|
O,
|
|
5213
5234
|
G,
|
|
5235
|
+
ve,
|
|
5236
|
+
ze,
|
|
5214
5237
|
_e,
|
|
5215
|
-
Xe,
|
|
5216
|
-
Ee,
|
|
5217
5238
|
Ie,
|
|
5218
5239
|
oe,
|
|
5219
5240
|
L,
|
|
5220
5241
|
U,
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5242
|
+
Ee,
|
|
5243
|
+
Qe,
|
|
5244
|
+
Ye,
|
|
5224
5245
|
n,
|
|
5225
5246
|
i,
|
|
5226
5247
|
o,
|
|
@@ -5236,7 +5257,6 @@ function is(e, t, r) {
|
|
|
5236
5257
|
y,
|
|
5237
5258
|
j,
|
|
5238
5259
|
F,
|
|
5239
|
-
Kr,
|
|
5240
5260
|
en,
|
|
5241
5261
|
tn,
|
|
5242
5262
|
rn,
|
|
@@ -5246,17 +5266,18 @@ function is(e, t, r) {
|
|
|
5246
5266
|
an,
|
|
5247
5267
|
ln,
|
|
5248
5268
|
un,
|
|
5249
|
-
hn
|
|
5269
|
+
hn,
|
|
5270
|
+
cn
|
|
5250
5271
|
];
|
|
5251
5272
|
}
|
|
5252
|
-
class
|
|
5273
|
+
class as extends Dn {
|
|
5253
5274
|
constructor(t) {
|
|
5254
|
-
super(),
|
|
5275
|
+
super(), Fn(
|
|
5255
5276
|
this,
|
|
5256
5277
|
t,
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5278
|
+
ss,
|
|
5279
|
+
os,
|
|
5280
|
+
br,
|
|
5260
5281
|
{
|
|
5261
5282
|
endpoint: 17,
|
|
5262
5283
|
datasource: 18,
|
|
@@ -5278,7 +5299,7 @@ class os extends Dn {
|
|
|
5278
5299
|
lobbyiconimage: 30,
|
|
5279
5300
|
mygamesiconimage: 31
|
|
5280
5301
|
},
|
|
5281
|
-
|
|
5302
|
+
Qo,
|
|
5282
5303
|
[-1, -1]
|
|
5283
5304
|
);
|
|
5284
5305
|
}
|
|
@@ -5397,7 +5418,7 @@ class os extends Dn {
|
|
|
5397
5418
|
this.$$set({ mygamesiconimage: t }), P();
|
|
5398
5419
|
}
|
|
5399
5420
|
}
|
|
5400
|
-
|
|
5421
|
+
kn(as, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
|
5401
5422
|
export {
|
|
5402
|
-
|
|
5423
|
+
as as default
|
|
5403
5424
|
};
|