@everymatrix/casino-slider 1.59.3 → 1.60.1
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/CasinoSlider-0iFlMggk.cjs +16 -0
- package/components/{CasinoSlider-B0Jk2JNm.js → CasinoSlider-OUZcTpfW.js} +591 -589
- package/components/{CasinoSlider-DldeSUqT.js → CasinoSlider-xL4TKs9S.js} +621 -619
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-DHl3JTvX.cjs +0 -16
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var Re = (e, t, r) => t in e ?
|
1
|
+
var Lr = Object.defineProperty, Pr = Object.defineProperties;
|
2
|
+
var Or = Object.getOwnPropertyDescriptors;
|
3
|
+
var ft = Object.getOwnPropertySymbols;
|
4
|
+
var Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Re = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Fr.call(t, r) && Re(e, r, t[r]);
|
8
|
+
if (ft)
|
9
|
+
for (var r of ft(t))
|
10
|
+
Rr.call(t, r) && Re(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var
|
14
|
-
var
|
12
|
+
}, dt = (e, t) => Pr(e, Or(t));
|
13
|
+
var U = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var pt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
@@ -27,35 +27,35 @@ var mt = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
-
function
|
30
|
+
function k() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Vt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function gt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function J(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(Vt);
|
40
40
|
}
|
41
41
|
function rt(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function Xt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let Ce;
|
48
|
-
function
|
48
|
+
function bt(e, t) {
|
49
49
|
return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Dr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function Ur(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
58
|
-
return
|
58
|
+
return k;
|
59
59
|
}
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
@@ -63,14 +63,14 @@ function Rr(e, ...t) {
|
|
63
63
|
function B(e, t) {
|
64
64
|
e.appendChild(t);
|
65
65
|
}
|
66
|
-
function
|
67
|
-
const n =
|
66
|
+
function Gr(e, t, r) {
|
67
|
+
const n = kr(e);
|
68
68
|
if (!n.getElementById(t)) {
|
69
|
-
const i =
|
70
|
-
i.id = t, i.textContent = r,
|
69
|
+
const i = L("style");
|
70
|
+
i.id = t, i.textContent = r, $r(n, i);
|
71
71
|
}
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function kr(e) {
|
74
74
|
if (!e)
|
75
75
|
return document;
|
76
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -80,34 +80,34 @@ function Ur(e) {
|
|
80
80
|
t
|
81
81
|
) : e.ownerDocument;
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function $r(e, t) {
|
84
84
|
return B(
|
85
85
|
/** @type {Document} */
|
86
86
|
e.head || e,
|
87
87
|
t
|
88
88
|
), t.sheet;
|
89
89
|
}
|
90
|
-
function
|
90
|
+
function G(e, t, r) {
|
91
91
|
e.insertBefore(t, r || null);
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function D(e) {
|
94
94
|
e.parentNode && e.parentNode.removeChild(e);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function jr(e, t) {
|
97
97
|
for (let r = 0; r < e.length; r += 1)
|
98
98
|
e[r] && e[r].d(t);
|
99
99
|
}
|
100
|
-
function
|
100
|
+
function L(e) {
|
101
101
|
return document.createElement(e);
|
102
102
|
}
|
103
|
-
function
|
103
|
+
function _e(e) {
|
104
104
|
return document.createTextNode(e);
|
105
105
|
}
|
106
106
|
function q() {
|
107
|
-
return
|
107
|
+
return _e(" ");
|
108
108
|
}
|
109
|
-
function
|
110
|
-
return
|
109
|
+
function ge() {
|
110
|
+
return _e("");
|
111
111
|
}
|
112
112
|
function Ae(e, t, r, n) {
|
113
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
@@ -115,14 +115,14 @@ function Ae(e, t, r, n) {
|
|
115
115
|
function S(e, t, r) {
|
116
116
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
117
117
|
}
|
118
|
-
function
|
118
|
+
function Vr(e) {
|
119
119
|
return Array.from(e.childNodes);
|
120
120
|
}
|
121
121
|
function nt(e, t) {
|
122
122
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
123
123
|
t);
|
124
124
|
}
|
125
|
-
function
|
125
|
+
function Xr(e) {
|
126
126
|
const t = {};
|
127
127
|
return e.childNodes.forEach(
|
128
128
|
/** @param {Element} node */
|
@@ -131,128 +131,128 @@ function jr(e) {
|
|
131
131
|
}
|
132
132
|
), t;
|
133
133
|
}
|
134
|
-
let
|
135
|
-
function
|
136
|
-
|
134
|
+
let be;
|
135
|
+
function de(e) {
|
136
|
+
be = e;
|
137
137
|
}
|
138
|
-
function
|
139
|
-
if (!
|
138
|
+
function Wr() {
|
139
|
+
if (!be)
|
140
140
|
throw new Error("Function called outside component initialization");
|
141
|
-
return
|
141
|
+
return be;
|
142
142
|
}
|
143
|
-
function
|
144
|
-
|
143
|
+
function zr(e) {
|
144
|
+
Wr().$$.on_mount.push(e);
|
145
145
|
}
|
146
|
-
const
|
147
|
-
let
|
148
|
-
const
|
146
|
+
const re = [], pe = [];
|
147
|
+
let ne = [];
|
148
|
+
const yt = [], Zr = /* @__PURE__ */ Promise.resolve();
|
149
149
|
let Xe = !1;
|
150
|
-
function
|
151
|
-
Xe || (Xe = !0,
|
150
|
+
function Qr() {
|
151
|
+
Xe || (Xe = !0, Zr.then(A));
|
152
152
|
}
|
153
153
|
function We(e) {
|
154
|
-
|
154
|
+
ne.push(e);
|
155
155
|
}
|
156
156
|
const De = /* @__PURE__ */ new Set();
|
157
|
-
let
|
157
|
+
let ee = 0;
|
158
158
|
function A() {
|
159
|
-
if (
|
159
|
+
if (ee !== 0)
|
160
160
|
return;
|
161
|
-
const e =
|
161
|
+
const e = be;
|
162
162
|
do {
|
163
163
|
try {
|
164
|
-
for (;
|
165
|
-
const t =
|
166
|
-
|
164
|
+
for (; ee < re.length; ) {
|
165
|
+
const t = re[ee];
|
166
|
+
ee++, de(t), qr(t.$$);
|
167
167
|
}
|
168
168
|
} catch (t) {
|
169
|
-
throw
|
169
|
+
throw re.length = 0, ee = 0, t;
|
170
170
|
}
|
171
|
-
for (
|
172
|
-
|
173
|
-
for (let t = 0; t <
|
174
|
-
const r =
|
171
|
+
for (de(null), re.length = 0, ee = 0; pe.length; )
|
172
|
+
pe.pop()();
|
173
|
+
for (let t = 0; t < ne.length; t += 1) {
|
174
|
+
const r = ne[t];
|
175
175
|
De.has(r) || (De.add(r), r());
|
176
176
|
}
|
177
|
-
|
178
|
-
} while (
|
179
|
-
for (;
|
180
|
-
|
181
|
-
Xe = !1, De.clear(),
|
177
|
+
ne.length = 0;
|
178
|
+
} while (re.length);
|
179
|
+
for (; yt.length; )
|
180
|
+
yt.pop()();
|
181
|
+
Xe = !1, De.clear(), de(e);
|
182
182
|
}
|
183
|
-
function
|
183
|
+
function qr(e) {
|
184
184
|
if (e.fragment !== null) {
|
185
185
|
e.update(), J(e.before_update);
|
186
186
|
const t = e.dirty;
|
187
187
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
188
188
|
}
|
189
189
|
}
|
190
|
-
function
|
190
|
+
function Jr(e) {
|
191
191
|
const t = [], r = [];
|
192
|
-
|
192
|
+
ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
|
193
193
|
}
|
194
|
-
const
|
195
|
-
function
|
196
|
-
e && e.i && (
|
194
|
+
const Yr = /* @__PURE__ */ new Set();
|
195
|
+
function Wt(e, t) {
|
196
|
+
e && e.i && (Yr.delete(e), e.i(t));
|
197
197
|
}
|
198
|
-
function
|
198
|
+
function ie(e) {
|
199
199
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
200
200
|
}
|
201
|
-
function
|
201
|
+
function zt(e, t) {
|
202
202
|
e.d(1), t.delete(e.key);
|
203
203
|
}
|
204
|
-
function
|
204
|
+
function Zt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
205
205
|
let f = e.length, p = o.length, g = f;
|
206
206
|
const b = {};
|
207
207
|
for (; g--; )
|
208
208
|
b[e[g].key] = g;
|
209
209
|
const d = [], H = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), x = [];
|
210
210
|
for (g = p; g--; ) {
|
211
|
-
const w = m(i, o, g),
|
212
|
-
let P = s.get(
|
213
|
-
P ? x.push(() => P.p(w, t)) : (P = l(
|
211
|
+
const w = m(i, o, g), M = r(w);
|
212
|
+
let P = s.get(M);
|
213
|
+
P ? x.push(() => P.p(w, t)) : (P = l(M, w), P.c()), H.set(M, d[g] = P), M in b && _.set(M, Math.abs(g - b[M]));
|
214
214
|
}
|
215
|
-
const
|
216
|
-
function
|
217
|
-
|
215
|
+
const O = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
|
216
|
+
function $(w) {
|
217
|
+
Wt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
|
218
218
|
}
|
219
219
|
for (; f && p; ) {
|
220
|
-
const w = d[p - 1],
|
221
|
-
w ===
|
220
|
+
const w = d[p - 1], M = e[f - 1], P = w.key, V = M.key;
|
221
|
+
w === M ? (h = w.first, f--, p--) : H.has(V) ? !s.has(P) || O.has(P) ? $(w) : I.has(V) ? f-- : _.get(P) > _.get(V) ? (I.add(P), $(w)) : (O.add(V), f--) : (u(M, s), f--);
|
222
222
|
}
|
223
223
|
for (; f--; ) {
|
224
224
|
const w = e[f];
|
225
225
|
H.has(w.key) || u(w, s);
|
226
226
|
}
|
227
227
|
for (; p; )
|
228
|
-
|
228
|
+
$(d[p - 1]);
|
229
229
|
return J(x), d;
|
230
230
|
}
|
231
|
-
function
|
231
|
+
function Kr(e, t, r) {
|
232
232
|
const { fragment: n, after_update: i } = e.$$;
|
233
233
|
n && n.m(t, r), We(() => {
|
234
|
-
const o = e.$$.on_mount.map(
|
234
|
+
const o = e.$$.on_mount.map(Vt).filter(rt);
|
235
235
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
236
236
|
}), i.forEach(We);
|
237
237
|
}
|
238
|
-
function
|
238
|
+
function en(e, t) {
|
239
239
|
const r = e.$$;
|
240
|
-
r.fragment !== null && (
|
240
|
+
r.fragment !== null && (Jr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
241
241
|
}
|
242
|
-
function
|
243
|
-
e.$$.dirty[0] === -1 && (
|
242
|
+
function tn(e, t) {
|
243
|
+
e.$$.dirty[0] === -1 && (re.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
244
244
|
}
|
245
|
-
function
|
246
|
-
const u =
|
247
|
-
|
245
|
+
function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
246
|
+
const u = be;
|
247
|
+
de(e);
|
248
248
|
const l = e.$$ = {
|
249
249
|
fragment: null,
|
250
250
|
ctx: [],
|
251
251
|
// state
|
252
252
|
props: o,
|
253
|
-
update:
|
253
|
+
update: k,
|
254
254
|
not_equal: i,
|
255
|
-
bound:
|
255
|
+
bound: gt(),
|
256
256
|
// lifecycle
|
257
257
|
on_mount: [],
|
258
258
|
on_destroy: [],
|
@@ -261,7 +261,7 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
261
261
|
after_update: [],
|
262
262
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
263
263
|
// everything else
|
264
|
-
callbacks:
|
264
|
+
callbacks: gt(),
|
265
265
|
dirty: a,
|
266
266
|
skip_bound: !1,
|
267
267
|
root: t.target || u.$$.root
|
@@ -270,39 +270,39 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
270
270
|
let h = !1;
|
271
271
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
272
272
|
const g = p.length ? p[0] : f;
|
273
|
-
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h &&
|
273
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && tn(e, m)), f;
|
274
274
|
}) : [], l.update(), h = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
275
275
|
if (t.hydrate) {
|
276
|
-
const m =
|
277
|
-
l.fragment && l.fragment.l(m), m.forEach(
|
276
|
+
const m = Vr(t.target);
|
277
|
+
l.fragment && l.fragment.l(m), m.forEach(D);
|
278
278
|
} else
|
279
279
|
l.fragment && l.fragment.c();
|
280
|
-
t.intro &&
|
280
|
+
t.intro && Wt(e.$$.fragment), Kr(e, t.target, t.anchor), A();
|
281
281
|
}
|
282
|
-
|
282
|
+
de(u);
|
283
283
|
}
|
284
|
-
let
|
285
|
-
typeof HTMLElement == "function" && (
|
284
|
+
let Qt;
|
285
|
+
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
286
286
|
constructor(t, r, n) {
|
287
287
|
super();
|
288
288
|
/** The Svelte component constructor */
|
289
|
-
|
289
|
+
U(this, "$$ctor");
|
290
290
|
/** Slots */
|
291
|
-
|
291
|
+
U(this, "$$s");
|
292
292
|
/** The Svelte component instance */
|
293
|
-
|
293
|
+
U(this, "$$c");
|
294
294
|
/** Whether or not the custom element is connected */
|
295
|
-
|
295
|
+
U(this, "$$cn", !1);
|
296
296
|
/** Component props data */
|
297
|
-
|
297
|
+
U(this, "$$d", {});
|
298
298
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
299
|
-
|
299
|
+
U(this, "$$r", !1);
|
300
300
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
301
|
-
|
301
|
+
U(this, "$$p_d", {});
|
302
302
|
/** @type {Record<string, Function[]>} Event listeners */
|
303
|
-
|
303
|
+
U(this, "$$l", {});
|
304
304
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
305
|
-
|
305
|
+
U(this, "$$l_u", /* @__PURE__ */ new Map());
|
306
306
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
307
307
|
}
|
308
308
|
addEventListener(t, r, n) {
|
@@ -319,31 +319,31 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
319
319
|
}
|
320
320
|
}
|
321
321
|
connectedCallback() {
|
322
|
-
return
|
322
|
+
return pt(this, null, function* () {
|
323
323
|
if (this.$$cn = !0, !this.$$c) {
|
324
324
|
let t = function(o) {
|
325
325
|
return () => {
|
326
326
|
let s;
|
327
327
|
return {
|
328
328
|
c: function() {
|
329
|
-
s =
|
329
|
+
s = L("slot"), o !== "default" && S(s, "name", o);
|
330
330
|
},
|
331
331
|
/**
|
332
332
|
* @param {HTMLElement} target
|
333
333
|
* @param {HTMLElement} [anchor]
|
334
334
|
*/
|
335
335
|
m: function(l, h) {
|
336
|
-
|
336
|
+
G(l, s, h);
|
337
337
|
},
|
338
338
|
d: function(l) {
|
339
|
-
l &&
|
339
|
+
l && D(s);
|
340
340
|
}
|
341
341
|
};
|
342
342
|
};
|
343
343
|
};
|
344
344
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
345
345
|
return;
|
346
|
-
const r = {}, n =
|
346
|
+
const r = {}, n = Xr(this);
|
347
347
|
for (const o of this.$$s)
|
348
348
|
o in n && (r[o] = [t(o)]);
|
349
349
|
for (const o of this.attributes) {
|
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
354
354
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
355
355
|
this.$$c = new this.$$ctor({
|
356
356
|
target: this.shadowRoot || this,
|
357
|
-
props:
|
357
|
+
props: dt(mt({}, this.$$d), {
|
358
358
|
$$slots: r,
|
359
359
|
$$scope: {
|
360
360
|
ctx: []
|
@@ -432,8 +432,8 @@ function He(e, t, r, n) {
|
|
432
432
|
return t;
|
433
433
|
}
|
434
434
|
}
|
435
|
-
function
|
436
|
-
let s = class extends
|
435
|
+
function nn(e, t, r, n, i, o) {
|
436
|
+
let s = class extends Qt {
|
437
437
|
constructor() {
|
438
438
|
super(e, r, i), this.$$p_d = t;
|
439
439
|
}
|
@@ -463,7 +463,7 @@ function tn(e, t, r, n, i, o) {
|
|
463
463
|
}), e.element = /** @type {any} */
|
464
464
|
s, s;
|
465
465
|
}
|
466
|
-
class
|
466
|
+
class on {
|
467
467
|
constructor() {
|
468
468
|
/**
|
469
469
|
* ### PRIVATE API
|
@@ -472,7 +472,7 @@ class rn {
|
|
472
472
|
*
|
473
473
|
* @type {any}
|
474
474
|
*/
|
475
|
-
|
475
|
+
U(this, "$$");
|
476
476
|
/**
|
477
477
|
* ### PRIVATE API
|
478
478
|
*
|
@@ -480,11 +480,11 @@ class rn {
|
|
480
480
|
*
|
481
481
|
* @type {any}
|
482
482
|
*/
|
483
|
-
|
483
|
+
U(this, "$$set");
|
484
484
|
}
|
485
485
|
/** @returns {void} */
|
486
486
|
$destroy() {
|
487
|
-
|
487
|
+
en(this, 1), this.$destroy = k;
|
488
488
|
}
|
489
489
|
/**
|
490
490
|
* @template {Extract<keyof Events, string>} K
|
@@ -494,7 +494,7 @@ class rn {
|
|
494
494
|
*/
|
495
495
|
$on(t, r) {
|
496
496
|
if (!rt(r))
|
497
|
-
return
|
497
|
+
return k;
|
498
498
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
499
499
|
return n.push(r), () => {
|
500
500
|
const i = n.indexOf(r);
|
@@ -506,18 +506,18 @@ class rn {
|
|
506
506
|
* @returns {void}
|
507
507
|
*/
|
508
508
|
$set(t) {
|
509
|
-
this.$$set && !
|
509
|
+
this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
510
510
|
}
|
511
511
|
}
|
512
|
-
const
|
513
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
514
|
-
function
|
512
|
+
const sn = "4";
|
513
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
|
514
|
+
function an(e, t) {
|
515
515
|
if (e) {
|
516
516
|
const r = document.createElement("style");
|
517
517
|
r.innerHTML = t, e.appendChild(r);
|
518
518
|
}
|
519
519
|
}
|
520
|
-
function
|
520
|
+
function ln(e, t) {
|
521
521
|
const r = new URL(t);
|
522
522
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
523
523
|
const i = document.createElement("style");
|
@@ -526,7 +526,7 @@ function sn(e, t) {
|
|
526
526
|
console.error("There was an error while trying to load client styling from URL", n);
|
527
527
|
});
|
528
528
|
}
|
529
|
-
function
|
529
|
+
function un(e, t, r) {
|
530
530
|
if (window.emMessageBus) {
|
531
531
|
const n = document.createElement("style");
|
532
532
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -534,55 +534,55 @@ function an(e, t, r) {
|
|
534
534
|
});
|
535
535
|
}
|
536
536
|
}
|
537
|
-
const
|
538
|
-
function
|
537
|
+
const te = [];
|
538
|
+
function hn(e, t) {
|
539
539
|
return {
|
540
540
|
subscribe: Me(e, t).subscribe
|
541
541
|
};
|
542
542
|
}
|
543
|
-
function Me(e, t =
|
543
|
+
function Me(e, t = k) {
|
544
544
|
let r;
|
545
545
|
const n = /* @__PURE__ */ new Set();
|
546
546
|
function i(a) {
|
547
|
-
if (
|
548
|
-
const u = !
|
547
|
+
if (Xt(e, a) && (e = a, r)) {
|
548
|
+
const u = !te.length;
|
549
549
|
for (const l of n)
|
550
|
-
l[1](),
|
550
|
+
l[1](), te.push(l, e);
|
551
551
|
if (u) {
|
552
|
-
for (let l = 0; l <
|
553
|
-
|
554
|
-
|
552
|
+
for (let l = 0; l < te.length; l += 2)
|
553
|
+
te[l][0](te[l + 1]);
|
554
|
+
te.length = 0;
|
555
555
|
}
|
556
556
|
}
|
557
557
|
}
|
558
558
|
function o(a) {
|
559
559
|
i(a(e));
|
560
560
|
}
|
561
|
-
function s(a, u =
|
561
|
+
function s(a, u = k) {
|
562
562
|
const l = [a, u];
|
563
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
563
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
|
564
564
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
565
565
|
};
|
566
566
|
}
|
567
567
|
return { set: i, update: o, subscribe: s };
|
568
568
|
}
|
569
|
-
function
|
569
|
+
function ue(e, t, r) {
|
570
570
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
571
571
|
if (!i.every(Boolean))
|
572
572
|
throw new Error("derived() expects stores as input, got a falsy value");
|
573
573
|
const o = t.length < 2;
|
574
|
-
return
|
574
|
+
return hn(r, (s, a) => {
|
575
575
|
let u = !1;
|
576
576
|
const l = [];
|
577
|
-
let h = 0, m =
|
577
|
+
let h = 0, m = k;
|
578
578
|
const f = () => {
|
579
579
|
if (h)
|
580
580
|
return;
|
581
581
|
m();
|
582
582
|
const g = t(n ? l[0] : l, s, a);
|
583
|
-
o ? s(g) : m = rt(g) ? g :
|
583
|
+
o ? s(g) : m = rt(g) ? g : k;
|
584
584
|
}, p = i.map(
|
585
|
-
(g, b) =>
|
585
|
+
(g, b) => Ur(
|
586
586
|
g,
|
587
587
|
(d) => {
|
588
588
|
l[b] = d, h &= ~(1 << b), u && f();
|
@@ -597,80 +597,80 @@ function le(e, t, r) {
|
|
597
597
|
};
|
598
598
|
});
|
599
599
|
}
|
600
|
-
function
|
600
|
+
function cn(e) {
|
601
601
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
602
602
|
}
|
603
|
-
var
|
604
|
-
return
|
603
|
+
var fn = function(t) {
|
604
|
+
return mn(t) && !dn(t);
|
605
605
|
};
|
606
|
-
function
|
606
|
+
function mn(e) {
|
607
607
|
return !!e && typeof e == "object";
|
608
608
|
}
|
609
|
-
function
|
609
|
+
function dn(e) {
|
610
610
|
var t = Object.prototype.toString.call(e);
|
611
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
611
|
+
return t === "[object RegExp]" || t === "[object Date]" || bn(e);
|
612
612
|
}
|
613
|
-
var
|
614
|
-
function
|
615
|
-
return e.$$typeof ===
|
613
|
+
var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
|
614
|
+
function bn(e) {
|
615
|
+
return e.$$typeof === gn;
|
616
616
|
}
|
617
|
-
function
|
617
|
+
function yn(e) {
|
618
618
|
return Array.isArray(e) ? [] : {};
|
619
619
|
}
|
620
|
-
function
|
621
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
620
|
+
function ye(e, t) {
|
621
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? oe(yn(e), e, t) : e;
|
622
622
|
}
|
623
|
-
function
|
623
|
+
function vn(e, t, r) {
|
624
624
|
return e.concat(t).map(function(n) {
|
625
|
-
return
|
625
|
+
return ye(n, r);
|
626
626
|
});
|
627
627
|
}
|
628
|
-
function
|
628
|
+
function _n(e, t) {
|
629
629
|
if (!t.customMerge)
|
630
|
-
return
|
630
|
+
return oe;
|
631
631
|
var r = t.customMerge(e);
|
632
|
-
return typeof r == "function" ? r :
|
632
|
+
return typeof r == "function" ? r : oe;
|
633
633
|
}
|
634
|
-
function
|
634
|
+
function En(e) {
|
635
635
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
636
636
|
return Object.propertyIsEnumerable.call(e, t);
|
637
637
|
}) : [];
|
638
638
|
}
|
639
|
-
function
|
640
|
-
return Object.keys(e).concat(
|
639
|
+
function vt(e) {
|
640
|
+
return Object.keys(e).concat(En(e));
|
641
641
|
}
|
642
|
-
function
|
642
|
+
function qt(e, t) {
|
643
643
|
try {
|
644
644
|
return t in e;
|
645
645
|
} catch (r) {
|
646
646
|
return !1;
|
647
647
|
}
|
648
648
|
}
|
649
|
-
function
|
650
|
-
return
|
649
|
+
function xn(e, t) {
|
650
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
651
651
|
}
|
652
|
-
function
|
652
|
+
function Cn(e, t, r) {
|
653
653
|
var n = {};
|
654
|
-
return r.isMergeableObject(e) &&
|
655
|
-
n[i] =
|
656
|
-
}),
|
657
|
-
|
654
|
+
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
655
|
+
n[i] = ye(e[i], r);
|
656
|
+
}), vt(t).forEach(function(i) {
|
657
|
+
xn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
|
658
658
|
}), n;
|
659
659
|
}
|
660
|
-
function
|
661
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
660
|
+
function oe(e, t, r) {
|
661
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = ye;
|
662
662
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
663
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
663
|
+
return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : ye(t, r);
|
664
664
|
}
|
665
|
-
|
665
|
+
oe.all = function(t, r) {
|
666
666
|
if (!Array.isArray(t))
|
667
667
|
throw new Error("first argument should be an array");
|
668
668
|
return t.reduce(function(n, i) {
|
669
|
-
return
|
669
|
+
return oe(n, i, r);
|
670
670
|
}, {});
|
671
671
|
};
|
672
|
-
var
|
673
|
-
const
|
672
|
+
var wn = oe, Hn = wn;
|
673
|
+
const Sn = /* @__PURE__ */ cn(Hn);
|
674
674
|
/*! *****************************************************************************
|
675
675
|
Copyright (c) Microsoft Corporation.
|
676
676
|
|
@@ -712,7 +712,7 @@ var E = function() {
|
|
712
712
|
return t;
|
713
713
|
}, E.apply(this, arguments);
|
714
714
|
};
|
715
|
-
function
|
715
|
+
function Tn(e, t) {
|
716
716
|
var r = {};
|
717
717
|
for (var n in e)
|
718
718
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -728,53 +728,55 @@ function Ue(e, t, r) {
|
|
728
728
|
return e.concat(o || t);
|
729
729
|
}
|
730
730
|
function Ge(e, t) {
|
731
|
-
var r = t && t.cache ? t.cache :
|
731
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Bn;
|
732
732
|
return i(e, {
|
733
733
|
cache: r,
|
734
734
|
serializer: n
|
735
735
|
});
|
736
736
|
}
|
737
|
-
function
|
737
|
+
function An(e) {
|
738
738
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
739
739
|
}
|
740
|
-
function
|
741
|
-
var i =
|
740
|
+
function Jt(e, t, r, n) {
|
741
|
+
var i = An(n) ? n : r(n), o = t.get(i);
|
742
742
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
743
743
|
}
|
744
|
-
function
|
744
|
+
function Yt(e, t, r) {
|
745
745
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
746
746
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
747
747
|
}
|
748
|
-
function
|
748
|
+
function it(e, t, r, n, i) {
|
749
749
|
return r.bind(t, e, n, i);
|
750
750
|
}
|
751
|
-
function An(e, t) {
|
752
|
-
var r = e.length === 1 ? Tn : Qt;
|
753
|
-
return qt(e, this, r, t.cache.create(), t.serializer);
|
754
|
-
}
|
755
751
|
function Bn(e, t) {
|
756
|
-
|
752
|
+
var r = e.length === 1 ? Jt : Yt;
|
753
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
754
|
+
}
|
755
|
+
function In(e, t) {
|
756
|
+
return it(e, this, Yt, t.cache.create(), t.serializer);
|
757
757
|
}
|
758
|
-
|
758
|
+
function Mn(e, t) {
|
759
|
+
return it(e, this, Jt, t.cache.create(), t.serializer);
|
760
|
+
}
|
761
|
+
var Nn = function() {
|
759
762
|
return JSON.stringify(arguments);
|
760
|
-
}
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
}()
|
772
|
-
), Nn = {
|
763
|
+
};
|
764
|
+
function ot() {
|
765
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
766
|
+
}
|
767
|
+
ot.prototype.get = function(e) {
|
768
|
+
return this.cache[e];
|
769
|
+
};
|
770
|
+
ot.prototype.set = function(e, t) {
|
771
|
+
this.cache[e] = t;
|
772
|
+
};
|
773
|
+
var Ln = {
|
773
774
|
create: function() {
|
774
|
-
return new
|
775
|
+
return new ot();
|
775
776
|
}
|
776
777
|
}, ke = {
|
777
|
-
variadic:
|
778
|
+
variadic: In,
|
779
|
+
monadic: Mn
|
778
780
|
}, y;
|
779
781
|
(function(e) {
|
780
782
|
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";
|
@@ -783,47 +785,47 @@ var T;
|
|
783
785
|
(function(e) {
|
784
786
|
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";
|
785
787
|
})(T || (T = {}));
|
786
|
-
var
|
788
|
+
var se;
|
787
789
|
(function(e) {
|
788
790
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
789
|
-
})(
|
790
|
-
function
|
791
|
+
})(se || (se = {}));
|
792
|
+
function _t(e) {
|
791
793
|
return e.type === T.literal;
|
792
794
|
}
|
793
795
|
function Pn(e) {
|
794
796
|
return e.type === T.argument;
|
795
797
|
}
|
796
|
-
function
|
798
|
+
function Kt(e) {
|
797
799
|
return e.type === T.number;
|
798
800
|
}
|
799
|
-
function
|
801
|
+
function er(e) {
|
800
802
|
return e.type === T.date;
|
801
803
|
}
|
802
|
-
function
|
804
|
+
function tr(e) {
|
803
805
|
return e.type === T.time;
|
804
806
|
}
|
805
|
-
function
|
807
|
+
function rr(e) {
|
806
808
|
return e.type === T.select;
|
807
809
|
}
|
808
|
-
function
|
810
|
+
function nr(e) {
|
809
811
|
return e.type === T.plural;
|
810
812
|
}
|
811
|
-
function
|
813
|
+
function On(e) {
|
812
814
|
return e.type === T.pound;
|
813
815
|
}
|
814
|
-
function
|
816
|
+
function ir(e) {
|
815
817
|
return e.type === T.tag;
|
816
818
|
}
|
817
|
-
function
|
818
|
-
return !!(e && typeof e == "object" && e.type ===
|
819
|
+
function or(e) {
|
820
|
+
return !!(e && typeof e == "object" && e.type === se.number);
|
819
821
|
}
|
820
822
|
function Ze(e) {
|
821
|
-
return !!(e && typeof e == "object" && e.type ===
|
823
|
+
return !!(e && typeof e == "object" && e.type === se.dateTime);
|
822
824
|
}
|
823
|
-
var
|
824
|
-
function
|
825
|
+
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
826
|
+
function Rn(e) {
|
825
827
|
var t = {};
|
826
|
-
return e.replace(
|
828
|
+
return e.replace(Fn, function(r) {
|
827
829
|
var n = r.length;
|
828
830
|
switch (r[0]) {
|
829
831
|
case "G":
|
@@ -912,11 +914,11 @@ function Fn(e) {
|
|
912
914
|
return "";
|
913
915
|
}), t;
|
914
916
|
}
|
915
|
-
var
|
916
|
-
function
|
917
|
+
var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
918
|
+
function Un(e) {
|
917
919
|
if (e.length === 0)
|
918
920
|
throw new Error("Number skeleton cannot be empty");
|
919
|
-
for (var t = e.split(
|
921
|
+
for (var t = e.split(Dn).filter(function(f) {
|
920
922
|
return f.length > 0;
|
921
923
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
922
924
|
var o = i[n], s = o.split("/");
|
@@ -931,17 +933,17 @@ function Dn(e) {
|
|
931
933
|
}
|
932
934
|
return r;
|
933
935
|
}
|
934
|
-
function
|
936
|
+
function Gn(e) {
|
935
937
|
return e.replace(/^(.*?)-/, "");
|
936
938
|
}
|
937
|
-
var
|
938
|
-
function
|
939
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
|
940
|
+
function xt(e) {
|
939
941
|
var t = {};
|
940
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
942
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
|
941
943
|
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)), "";
|
942
944
|
}), t;
|
943
945
|
}
|
944
|
-
function
|
946
|
+
function ur(e) {
|
945
947
|
switch (e) {
|
946
948
|
case "sign-auto":
|
947
949
|
return {
|
@@ -981,7 +983,7 @@ function ar(e) {
|
|
981
983
|
};
|
982
984
|
}
|
983
985
|
}
|
984
|
-
function
|
986
|
+
function $n(e) {
|
985
987
|
var t;
|
986
988
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
987
989
|
notation: "engineering"
|
@@ -989,17 +991,17 @@ function kn(e) {
|
|
989
991
|
notation: "scientific"
|
990
992
|
}, e = e.slice(1)), t) {
|
991
993
|
var r = e.slice(0, 2);
|
992
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
994
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
|
993
995
|
throw new Error("Malformed concise eng/scientific notation");
|
994
996
|
t.minimumIntegerDigits = e.length;
|
995
997
|
}
|
996
998
|
return t;
|
997
999
|
}
|
998
|
-
function
|
999
|
-
var t = {}, r =
|
1000
|
+
function Ct(e) {
|
1001
|
+
var t = {}, r = ur(e);
|
1000
1002
|
return r || t;
|
1001
1003
|
}
|
1002
|
-
function
|
1004
|
+
function jn(e) {
|
1003
1005
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1004
1006
|
var i = n[r];
|
1005
1007
|
switch (i.stem) {
|
@@ -1023,7 +1025,7 @@ function $n(e) {
|
|
1023
1025
|
continue;
|
1024
1026
|
case "measure-unit":
|
1025
1027
|
case "unit":
|
1026
|
-
t.style = "unit", t.unit =
|
1028
|
+
t.style = "unit", t.unit = Gn(i.options[0]);
|
1027
1029
|
continue;
|
1028
1030
|
case "compact-short":
|
1029
1031
|
case "K":
|
@@ -1035,12 +1037,12 @@ function $n(e) {
|
|
1035
1037
|
continue;
|
1036
1038
|
case "scientific":
|
1037
1039
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1038
|
-
return E(E({}, u),
|
1040
|
+
return E(E({}, u), Ct(l));
|
1039
1041
|
}, {}));
|
1040
1042
|
continue;
|
1041
1043
|
case "engineering":
|
1042
1044
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1043
|
-
return E(E({}, u),
|
1045
|
+
return E(E({}, u), Ct(l));
|
1044
1046
|
}, {}));
|
1045
1047
|
continue;
|
1046
1048
|
case "notation-simple":
|
@@ -1085,7 +1087,7 @@ function $n(e) {
|
|
1085
1087
|
case "integer-width":
|
1086
1088
|
if (i.options.length > 1)
|
1087
1089
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1088
|
-
i.options[0].replace(
|
1090
|
+
i.options[0].replace(kn, function(u, l, h, m, f, p) {
|
1089
1091
|
if (l)
|
1090
1092
|
t.minimumIntegerDigits = h.length;
|
1091
1093
|
else {
|
@@ -1098,27 +1100,27 @@ function $n(e) {
|
|
1098
1100
|
});
|
1099
1101
|
continue;
|
1100
1102
|
}
|
1101
|
-
if (
|
1103
|
+
if (lr.test(i.stem)) {
|
1102
1104
|
t.minimumIntegerDigits = i.stem.length;
|
1103
1105
|
continue;
|
1104
1106
|
}
|
1105
|
-
if (
|
1107
|
+
if (Et.test(i.stem)) {
|
1106
1108
|
if (i.options.length > 1)
|
1107
1109
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1108
|
-
i.stem.replace(
|
1110
|
+
i.stem.replace(Et, function(u, l, h, m, f, p) {
|
1109
1111
|
return h === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1110
1112
|
});
|
1111
1113
|
var o = i.options[0];
|
1112
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
1114
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
|
1113
1115
|
continue;
|
1114
1116
|
}
|
1115
|
-
if (
|
1116
|
-
t = E(E({}, t),
|
1117
|
+
if (ar.test(i.stem)) {
|
1118
|
+
t = E(E({}, t), xt(i.stem));
|
1117
1119
|
continue;
|
1118
1120
|
}
|
1119
|
-
var s =
|
1121
|
+
var s = ur(i.stem);
|
1120
1122
|
s && (t = E(E({}, t), s));
|
1121
|
-
var a =
|
1123
|
+
var a = $n(i.stem);
|
1122
1124
|
a && (t = E(E({}, t), a));
|
1123
1125
|
}
|
1124
1126
|
return t;
|
@@ -2538,13 +2540,13 @@ var we = {
|
|
2538
2540
|
"h"
|
2539
2541
|
]
|
2540
2542
|
};
|
2541
|
-
function
|
2543
|
+
function Vn(e, t) {
|
2542
2544
|
for (var r = "", n = 0; n < e.length; n++) {
|
2543
2545
|
var i = e.charAt(n);
|
2544
2546
|
if (i === "j") {
|
2545
2547
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2546
2548
|
o++, n++;
|
2547
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
2549
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Xn(t);
|
2548
2550
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2549
2551
|
r += u;
|
2550
2552
|
for (; s-- > 0; )
|
@@ -2554,7 +2556,7 @@ function jn(e, t) {
|
|
2554
2556
|
}
|
2555
2557
|
return r;
|
2556
2558
|
}
|
2557
|
-
function
|
2559
|
+
function Xn(e) {
|
2558
2560
|
var t = e.hourCycle;
|
2559
2561
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2560
2562
|
e.hourCycles && // @ts-ignore
|
@@ -2576,20 +2578,20 @@ function Vn(e) {
|
|
2576
2578
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
2577
2579
|
return i[0];
|
2578
2580
|
}
|
2579
|
-
var $e,
|
2581
|
+
var $e, Wn = new RegExp("^".concat(sr.source, "*")), zn = new RegExp("".concat(sr.source, "*$"));
|
2580
2582
|
function v(e, t) {
|
2581
2583
|
return { start: e, end: t };
|
2582
2584
|
}
|
2583
|
-
var
|
2585
|
+
var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
|
2584
2586
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2585
2587
|
}, Qe = !0;
|
2586
2588
|
try {
|
2587
|
-
var
|
2588
|
-
Qe = (($e =
|
2589
|
+
var ri = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2590
|
+
Qe = (($e = ri.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
2589
2591
|
} catch (e) {
|
2590
2592
|
Qe = !1;
|
2591
2593
|
}
|
2592
|
-
var
|
2594
|
+
var wt = Zn ? (
|
2593
2595
|
// Native
|
2594
2596
|
function(t, r, n) {
|
2595
2597
|
return t.startsWith(r, n);
|
@@ -2599,7 +2601,7 @@ var xt = zn ? (
|
|
2599
2601
|
function(t, r, n) {
|
2600
2602
|
return t.slice(n, n + r.length) === r;
|
2601
2603
|
}
|
2602
|
-
), qe =
|
2604
|
+
), qe = Qn ? String.fromCodePoint : (
|
2603
2605
|
// IE11
|
2604
2606
|
function() {
|
2605
2607
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2611,9 +2613,9 @@ var xt = zn ? (
|
|
2611
2613
|
}
|
2612
2614
|
return n;
|
2613
2615
|
}
|
2614
|
-
),
|
2616
|
+
), Ht = (
|
2615
2617
|
// native
|
2616
|
-
|
2618
|
+
qn ? Object.fromEntries : (
|
2617
2619
|
// Ponyfill
|
2618
2620
|
function(t) {
|
2619
2621
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2623,7 +2625,7 @@ var xt = zn ? (
|
|
2623
2625
|
return r;
|
2624
2626
|
}
|
2625
2627
|
)
|
2626
|
-
),
|
2628
|
+
), hr = Jn ? (
|
2627
2629
|
// Native
|
2628
2630
|
function(t, r) {
|
2629
2631
|
return t.codePointAt(r);
|
@@ -2637,7 +2639,7 @@ var xt = zn ? (
|
|
2637
2639
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2638
2640
|
}
|
2639
2641
|
}
|
2640
|
-
),
|
2642
|
+
), ni = Yn ? (
|
2641
2643
|
// Native
|
2642
2644
|
function(t) {
|
2643
2645
|
return t.trimStart();
|
@@ -2645,9 +2647,9 @@ var xt = zn ? (
|
|
2645
2647
|
) : (
|
2646
2648
|
// Ponyfill
|
2647
2649
|
function(t) {
|
2648
|
-
return t.replace(
|
2650
|
+
return t.replace(Wn, "");
|
2649
2651
|
}
|
2650
|
-
),
|
2652
|
+
), ii = Kn ? (
|
2651
2653
|
// Native
|
2652
2654
|
function(t) {
|
2653
2655
|
return t.trimEnd();
|
@@ -2655,32 +2657,32 @@ var xt = zn ? (
|
|
2655
2657
|
) : (
|
2656
2658
|
// Ponyfill
|
2657
2659
|
function(t) {
|
2658
|
-
return t.replace(
|
2660
|
+
return t.replace(zn, "");
|
2659
2661
|
}
|
2660
2662
|
);
|
2661
|
-
function
|
2663
|
+
function cr(e, t) {
|
2662
2664
|
return new RegExp(e, t);
|
2663
2665
|
}
|
2664
2666
|
var Je;
|
2665
2667
|
if (Qe) {
|
2666
|
-
var
|
2668
|
+
var St = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2667
2669
|
Je = function(t, r) {
|
2668
2670
|
var n;
|
2669
|
-
|
2670
|
-
var i =
|
2671
|
+
St.lastIndex = r;
|
2672
|
+
var i = St.exec(t);
|
2671
2673
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2672
2674
|
};
|
2673
2675
|
} else
|
2674
2676
|
Je = function(t, r) {
|
2675
2677
|
for (var n = []; ; ) {
|
2676
|
-
var i =
|
2677
|
-
if (i === void 0 ||
|
2678
|
+
var i = hr(t, r);
|
2679
|
+
if (i === void 0 || fr(i) || li(i))
|
2678
2680
|
break;
|
2679
2681
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2680
2682
|
}
|
2681
2683
|
return qe.apply(void 0, n);
|
2682
2684
|
};
|
2683
|
-
var
|
2685
|
+
var oi = (
|
2684
2686
|
/** @class */
|
2685
2687
|
function() {
|
2686
2688
|
function e(t, r) {
|
@@ -2762,7 +2764,7 @@ var ii = (
|
|
2762
2764
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2763
2765
|
}, e.prototype.parseTagName = function() {
|
2764
2766
|
var t = this.offset();
|
2765
|
-
for (this.bump(); !this.isEOF() &&
|
2767
|
+
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
2766
2768
|
this.bump();
|
2767
2769
|
return this.message.slice(t, this.offset());
|
2768
2770
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2791,7 +2793,7 @@ var ii = (
|
|
2791
2793
|
};
|
2792
2794
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2793
2795
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2794
|
-
!
|
2796
|
+
!si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2795
2797
|
}, e.prototype.tryParseQuote = function(t) {
|
2796
2798
|
if (this.isEOF() || this.char() !== 39)
|
2797
2799
|
return null;
|
@@ -2878,7 +2880,7 @@ var ii = (
|
|
2878
2880
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2879
2881
|
if (m.err)
|
2880
2882
|
return m;
|
2881
|
-
var f =
|
2883
|
+
var f = ii(m.val);
|
2882
2884
|
if (f.length === 0)
|
2883
2885
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2884
2886
|
var p = v(h, this.clonePosition());
|
@@ -2888,8 +2890,8 @@ var ii = (
|
|
2888
2890
|
if (g.err)
|
2889
2891
|
return g;
|
2890
2892
|
var b = v(i, this.clonePosition());
|
2891
|
-
if (l &&
|
2892
|
-
var d =
|
2893
|
+
if (l && wt(l == null ? void 0 : l.style, "::", 0)) {
|
2894
|
+
var d = ni(l.style.slice(2));
|
2893
2895
|
if (a === "number") {
|
2894
2896
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2895
2897
|
return m.err ? m : {
|
@@ -2900,12 +2902,12 @@ var ii = (
|
|
2900
2902
|
if (d.length === 0)
|
2901
2903
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2902
2904
|
var H = d;
|
2903
|
-
this.locale && (H =
|
2905
|
+
this.locale && (H = Vn(d, this.locale));
|
2904
2906
|
var f = {
|
2905
|
-
type:
|
2907
|
+
type: se.dateTime,
|
2906
2908
|
pattern: H,
|
2907
2909
|
location: l.styleLocation,
|
2908
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2910
|
+
parsedOptions: this.shouldParseSkeletons ? Rn(H) : {}
|
2909
2911
|
}, _ = a === "date" ? T.date : T.time;
|
2910
2912
|
return {
|
2911
2913
|
val: { type: _, value: n, location: b, style: f },
|
@@ -2930,19 +2932,19 @@ var ii = (
|
|
2930
2932
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2931
2933
|
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, E({}, x)));
|
2932
2934
|
this.bumpSpace();
|
2933
|
-
var
|
2934
|
-
if (a !== "select" &&
|
2935
|
+
var O = this.parseIdentifierIfPossible(), I = 0;
|
2936
|
+
if (a !== "select" && O.value === "offset") {
|
2935
2937
|
if (!this.bumpIf(":"))
|
2936
2938
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2937
2939
|
this.bumpSpace();
|
2938
2940
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2939
2941
|
if (m.err)
|
2940
2942
|
return m;
|
2941
|
-
this.bumpSpace(),
|
2943
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), I = m.val;
|
2942
2944
|
}
|
2943
|
-
var
|
2944
|
-
if (
|
2945
|
-
return
|
2945
|
+
var $ = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
2946
|
+
if ($.err)
|
2947
|
+
return $;
|
2946
2948
|
var g = this.tryParseArgumentClose(i);
|
2947
2949
|
if (g.err)
|
2948
2950
|
return g;
|
@@ -2951,7 +2953,7 @@ var ii = (
|
|
2951
2953
|
val: {
|
2952
2954
|
type: T.select,
|
2953
2955
|
value: n,
|
2954
|
-
options:
|
2956
|
+
options: Ht($.val),
|
2955
2957
|
location: w
|
2956
2958
|
},
|
2957
2959
|
err: null
|
@@ -2959,7 +2961,7 @@ var ii = (
|
|
2959
2961
|
val: {
|
2960
2962
|
type: T.plural,
|
2961
2963
|
value: n,
|
2962
|
-
options:
|
2964
|
+
options: Ht($.val),
|
2963
2965
|
offset: I,
|
2964
2966
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2965
2967
|
location: w
|
@@ -3010,16 +3012,16 @@ var ii = (
|
|
3010
3012
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3011
3013
|
var n = [];
|
3012
3014
|
try {
|
3013
|
-
n =
|
3015
|
+
n = Un(t);
|
3014
3016
|
} catch (i) {
|
3015
3017
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3016
3018
|
}
|
3017
3019
|
return {
|
3018
3020
|
val: {
|
3019
|
-
type:
|
3021
|
+
type: se.number,
|
3020
3022
|
tokens: n,
|
3021
3023
|
location: r,
|
3022
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3024
|
+
parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
|
3023
3025
|
},
|
3024
3026
|
err: null
|
3025
3027
|
};
|
@@ -3067,7 +3069,7 @@ var ii = (
|
|
3067
3069
|
break;
|
3068
3070
|
}
|
3069
3071
|
var u = v(i, this.clonePosition());
|
3070
|
-
return o ? (s *= n,
|
3072
|
+
return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3071
3073
|
}, e.prototype.offset = function() {
|
3072
3074
|
return this.position.offset;
|
3073
3075
|
}, e.prototype.isEOF = function() {
|
@@ -3082,7 +3084,7 @@ var ii = (
|
|
3082
3084
|
var t = this.position.offset;
|
3083
3085
|
if (t >= this.message.length)
|
3084
3086
|
throw Error("out of bound");
|
3085
|
-
var r =
|
3087
|
+
var r = hr(this.message, t);
|
3086
3088
|
if (r === void 0)
|
3087
3089
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3088
3090
|
return r;
|
@@ -3101,7 +3103,7 @@ var ii = (
|
|
3101
3103
|
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);
|
3102
3104
|
}
|
3103
3105
|
}, e.prototype.bumpIf = function(t) {
|
3104
|
-
if (
|
3106
|
+
if (wt(this.message, t, this.offset())) {
|
3105
3107
|
for (var r = 0; r < t.length; r++)
|
3106
3108
|
this.bump();
|
3107
3109
|
return !0;
|
@@ -3123,7 +3125,7 @@ var ii = (
|
|
3123
3125
|
break;
|
3124
3126
|
}
|
3125
3127
|
}, e.prototype.bumpSpace = function() {
|
3126
|
-
for (; !this.isEOF() &&
|
3128
|
+
for (; !this.isEOF() && fr(this.char()); )
|
3127
3129
|
this.bump();
|
3128
3130
|
}, e.prototype.peek = function() {
|
3129
3131
|
if (this.isEOF())
|
@@ -3136,41 +3138,41 @@ var ii = (
|
|
3136
3138
|
function Ye(e) {
|
3137
3139
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3138
3140
|
}
|
3139
|
-
function
|
3141
|
+
function si(e) {
|
3140
3142
|
return Ye(e) || e === 47;
|
3141
3143
|
}
|
3142
|
-
function
|
3144
|
+
function ai(e) {
|
3143
3145
|
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;
|
3144
3146
|
}
|
3145
|
-
function
|
3147
|
+
function fr(e) {
|
3146
3148
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3147
3149
|
}
|
3148
|
-
function
|
3150
|
+
function li(e) {
|
3149
3151
|
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;
|
3150
3152
|
}
|
3151
3153
|
function Ke(e) {
|
3152
3154
|
e.forEach(function(t) {
|
3153
|
-
if (delete t.location,
|
3155
|
+
if (delete t.location, rr(t) || nr(t))
|
3154
3156
|
for (var r in t.options)
|
3155
3157
|
delete t.options[r].location, Ke(t.options[r].value);
|
3156
3158
|
else
|
3157
|
-
|
3159
|
+
Kt(t) && or(t.style) || (er(t) || tr(t)) && Ze(t.style) ? delete t.style.location : ir(t) && Ke(t.children);
|
3158
3160
|
});
|
3159
3161
|
}
|
3160
|
-
function
|
3162
|
+
function ui(e, t) {
|
3161
3163
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3162
|
-
var r = new
|
3164
|
+
var r = new oi(e, t).parse();
|
3163
3165
|
if (r.err) {
|
3164
3166
|
var n = SyntaxError(y[r.err.kind]);
|
3165
3167
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3166
3168
|
}
|
3167
3169
|
return t != null && t.captureLocation || Ke(r.val), r.val;
|
3168
3170
|
}
|
3169
|
-
var
|
3171
|
+
var ae;
|
3170
3172
|
(function(e) {
|
3171
3173
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3172
|
-
})(
|
3173
|
-
var
|
3174
|
+
})(ae || (ae = {}));
|
3175
|
+
var Le = (
|
3174
3176
|
/** @class */
|
3175
3177
|
function(e) {
|
3176
3178
|
Ne(t, e);
|
@@ -3182,152 +3184,152 @@ var Pe = (
|
|
3182
3184
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3183
3185
|
}, t;
|
3184
3186
|
}(Error)
|
3185
|
-
),
|
3187
|
+
), Tt = (
|
3186
3188
|
/** @class */
|
3187
3189
|
function(e) {
|
3188
3190
|
Ne(t, e);
|
3189
3191
|
function t(r, n, i, o) {
|
3190
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3192
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
|
3191
3193
|
}
|
3192
3194
|
return t;
|
3193
|
-
}(
|
3194
|
-
),
|
3195
|
+
}(Le)
|
3196
|
+
), hi = (
|
3195
3197
|
/** @class */
|
3196
3198
|
function(e) {
|
3197
3199
|
Ne(t, e);
|
3198
3200
|
function t(r, n, i) {
|
3199
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3201
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
|
3200
3202
|
}
|
3201
3203
|
return t;
|
3202
|
-
}(
|
3203
|
-
),
|
3204
|
+
}(Le)
|
3205
|
+
), ci = (
|
3204
3206
|
/** @class */
|
3205
3207
|
function(e) {
|
3206
3208
|
Ne(t, e);
|
3207
3209
|
function t(r, n) {
|
3208
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3210
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
|
3209
3211
|
}
|
3210
3212
|
return t;
|
3211
|
-
}(
|
3212
|
-
),
|
3213
|
+
}(Le)
|
3214
|
+
), R;
|
3213
3215
|
(function(e) {
|
3214
3216
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3215
|
-
})(
|
3216
|
-
function
|
3217
|
+
})(R || (R = {}));
|
3218
|
+
function fi(e) {
|
3217
3219
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3218
3220
|
var n = t[t.length - 1];
|
3219
|
-
return !n || n.type !==
|
3221
|
+
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
3220
3222
|
}, []);
|
3221
3223
|
}
|
3222
|
-
function
|
3224
|
+
function mi(e) {
|
3223
3225
|
return typeof e == "function";
|
3224
3226
|
}
|
3225
3227
|
function Se(e, t, r, n, i, o, s) {
|
3226
|
-
if (e.length === 1 &&
|
3228
|
+
if (e.length === 1 && _t(e[0]))
|
3227
3229
|
return [
|
3228
3230
|
{
|
3229
|
-
type:
|
3231
|
+
type: R.literal,
|
3230
3232
|
value: e[0].value
|
3231
3233
|
}
|
3232
3234
|
];
|
3233
3235
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3234
3236
|
var h = l[u];
|
3235
|
-
if (
|
3237
|
+
if (_t(h)) {
|
3236
3238
|
a.push({
|
3237
|
-
type:
|
3239
|
+
type: R.literal,
|
3238
3240
|
value: h.value
|
3239
3241
|
});
|
3240
3242
|
continue;
|
3241
3243
|
}
|
3242
|
-
if (
|
3244
|
+
if (On(h)) {
|
3243
3245
|
typeof o == "number" && a.push({
|
3244
|
-
type:
|
3246
|
+
type: R.literal,
|
3245
3247
|
value: r.getNumberFormat(t).format(o)
|
3246
3248
|
});
|
3247
3249
|
continue;
|
3248
3250
|
}
|
3249
3251
|
var m = h.value;
|
3250
3252
|
if (!(i && m in i))
|
3251
|
-
throw new
|
3253
|
+
throw new ci(m, s);
|
3252
3254
|
var f = i[m];
|
3253
3255
|
if (Pn(h)) {
|
3254
3256
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3255
|
-
type: typeof f == "string" ?
|
3257
|
+
type: typeof f == "string" ? R.literal : R.object,
|
3256
3258
|
value: f
|
3257
3259
|
});
|
3258
3260
|
continue;
|
3259
3261
|
}
|
3260
|
-
if (
|
3262
|
+
if (er(h)) {
|
3261
3263
|
var p = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
|
3262
3264
|
a.push({
|
3263
|
-
type:
|
3265
|
+
type: R.literal,
|
3264
3266
|
value: r.getDateTimeFormat(t, p).format(f)
|
3265
3267
|
});
|
3266
3268
|
continue;
|
3267
3269
|
}
|
3268
|
-
if (
|
3270
|
+
if (tr(h)) {
|
3269
3271
|
var p = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
3270
3272
|
a.push({
|
3271
|
-
type:
|
3273
|
+
type: R.literal,
|
3272
3274
|
value: r.getDateTimeFormat(t, p).format(f)
|
3273
3275
|
});
|
3274
3276
|
continue;
|
3275
3277
|
}
|
3276
|
-
if (
|
3277
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
3278
|
+
if (Kt(h)) {
|
3279
|
+
var p = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
|
3278
3280
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3279
|
-
type:
|
3281
|
+
type: R.literal,
|
3280
3282
|
value: r.getNumberFormat(t, p).format(f)
|
3281
3283
|
});
|
3282
3284
|
continue;
|
3283
3285
|
}
|
3284
|
-
if (
|
3286
|
+
if (ir(h)) {
|
3285
3287
|
var g = h.children, b = h.value, d = i[b];
|
3286
|
-
if (!
|
3287
|
-
throw new
|
3288
|
+
if (!mi(d))
|
3289
|
+
throw new hi(b, "function", s);
|
3288
3290
|
var H = Se(g, t, r, n, i, o), _ = d(H.map(function(I) {
|
3289
3291
|
return I.value;
|
3290
3292
|
}));
|
3291
3293
|
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
|
3292
3294
|
return {
|
3293
|
-
type: typeof I == "string" ?
|
3295
|
+
type: typeof I == "string" ? R.literal : R.object,
|
3294
3296
|
value: I
|
3295
3297
|
};
|
3296
3298
|
}));
|
3297
3299
|
}
|
3298
|
-
if (
|
3300
|
+
if (rr(h)) {
|
3299
3301
|
var x = h.options[f] || h.options.other;
|
3300
3302
|
if (!x)
|
3301
|
-
throw new
|
3303
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
3302
3304
|
a.push.apply(a, Se(x.value, t, r, n, i));
|
3303
3305
|
continue;
|
3304
3306
|
}
|
3305
|
-
if (
|
3307
|
+
if (nr(h)) {
|
3306
3308
|
var x = h.options["=".concat(f)];
|
3307
3309
|
if (!x) {
|
3308
3310
|
if (!Intl.PluralRules)
|
3309
|
-
throw new
|
3311
|
+
throw new Le(`Intl.PluralRules is not available in this environment.
|
3310
3312
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3311
|
-
`,
|
3312
|
-
var
|
3313
|
-
x = h.options[
|
3313
|
+
`, ae.MISSING_INTL_API, s);
|
3314
|
+
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3315
|
+
x = h.options[O] || h.options.other;
|
3314
3316
|
}
|
3315
3317
|
if (!x)
|
3316
|
-
throw new
|
3318
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
3317
3319
|
a.push.apply(a, Se(x.value, t, r, n, i, f - (h.offset || 0)));
|
3318
3320
|
continue;
|
3319
3321
|
}
|
3320
3322
|
}
|
3321
|
-
return
|
3323
|
+
return fi(a);
|
3322
3324
|
}
|
3323
|
-
function
|
3325
|
+
function di(e, t) {
|
3324
3326
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3325
3327
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
3326
3328
|
}, {})) : e;
|
3327
3329
|
}
|
3328
|
-
function
|
3330
|
+
function pi(e, t) {
|
3329
3331
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3330
|
-
return r[n] =
|
3332
|
+
return r[n] = di(e[n], t[n]), r;
|
3331
3333
|
}, E({}, e)) : e;
|
3332
3334
|
}
|
3333
3335
|
function je(e) {
|
@@ -3344,7 +3346,7 @@ function je(e) {
|
|
3344
3346
|
}
|
3345
3347
|
};
|
3346
3348
|
}
|
3347
|
-
function
|
3349
|
+
function gi(e) {
|
3348
3350
|
return e === void 0 && (e = {
|
3349
3351
|
number: {},
|
3350
3352
|
dateTime: {},
|
@@ -3376,7 +3378,7 @@ function pi(e) {
|
|
3376
3378
|
})
|
3377
3379
|
};
|
3378
3380
|
}
|
3379
|
-
var
|
3381
|
+
var bi = (
|
3380
3382
|
/** @class */
|
3381
3383
|
function() {
|
3382
3384
|
function e(t, r, n, i) {
|
@@ -3391,7 +3393,7 @@ var gi = (
|
|
3391
3393
|
if (l.length === 1)
|
3392
3394
|
return l[0].value;
|
3393
3395
|
var h = l.reduce(function(m, f) {
|
3394
|
-
return !m.length || f.type !==
|
3396
|
+
return !m.length || f.type !== R.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
3395
3397
|
}, []);
|
3396
3398
|
return h.length <= 1 ? h[0] || "" : h;
|
3397
3399
|
}, this.formatToParts = function(u) {
|
@@ -3408,13 +3410,13 @@ var gi = (
|
|
3408
3410
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3409
3411
|
var s = i || {};
|
3410
3412
|
s.formatters;
|
3411
|
-
var a =
|
3413
|
+
var a = Tn(s, ["formatters"]);
|
3412
3414
|
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
3413
3415
|
} else
|
3414
3416
|
this.ast = t;
|
3415
3417
|
if (!Array.isArray(this.ast))
|
3416
3418
|
throw new TypeError("A message must be provided as a String or AST.");
|
3417
|
-
this.formats =
|
3419
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
|
3418
3420
|
}
|
3419
3421
|
return Object.defineProperty(e, "defaultLocale", {
|
3420
3422
|
get: function() {
|
@@ -3427,7 +3429,7 @@ var gi = (
|
|
3427
3429
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3428
3430
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3429
3431
|
}
|
3430
|
-
}, e.__parse =
|
3432
|
+
}, e.__parse = ui, e.formats = {
|
3431
3433
|
number: {
|
3432
3434
|
integer: {
|
3433
3435
|
maximumFractionDigits: 0
|
@@ -3488,7 +3490,7 @@ var gi = (
|
|
3488
3490
|
}, e;
|
3489
3491
|
}()
|
3490
3492
|
);
|
3491
|
-
function
|
3493
|
+
function yi(e, t) {
|
3492
3494
|
if (t == null)
|
3493
3495
|
return;
|
3494
3496
|
if (t in e)
|
@@ -3509,92 +3511,92 @@ function bi(e, t) {
|
|
3509
3511
|
n = void 0;
|
3510
3512
|
return n;
|
3511
3513
|
}
|
3512
|
-
const W = {},
|
3514
|
+
const W = {}, vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), mr = (e, t) => {
|
3513
3515
|
if (t == null)
|
3514
3516
|
return;
|
3515
3517
|
if (t in W && e in W[t])
|
3516
3518
|
return W[t][e];
|
3517
|
-
const r =
|
3519
|
+
const r = Pe(t);
|
3518
3520
|
for (let n = 0; n < r.length; n++) {
|
3519
|
-
const i = r[n], o =
|
3521
|
+
const i = r[n], o = Ei(i, e);
|
3520
3522
|
if (o)
|
3521
|
-
return
|
3523
|
+
return vi(e, t, o);
|
3522
3524
|
}
|
3523
3525
|
};
|
3524
|
-
let
|
3525
|
-
const
|
3526
|
-
function
|
3527
|
-
return
|
3526
|
+
let st;
|
3527
|
+
const he = Me({});
|
3528
|
+
function _i(e) {
|
3529
|
+
return st[e] || null;
|
3528
3530
|
}
|
3529
|
-
function
|
3530
|
-
return e in
|
3531
|
+
function dr(e) {
|
3532
|
+
return e in st;
|
3531
3533
|
}
|
3532
|
-
function
|
3533
|
-
if (!
|
3534
|
+
function Ei(e, t) {
|
3535
|
+
if (!dr(e))
|
3534
3536
|
return null;
|
3535
|
-
const r =
|
3536
|
-
return
|
3537
|
+
const r = _i(e);
|
3538
|
+
return yi(r, t);
|
3537
3539
|
}
|
3538
|
-
function
|
3540
|
+
function xi(e) {
|
3539
3541
|
if (e == null)
|
3540
3542
|
return;
|
3541
|
-
const t =
|
3543
|
+
const t = Pe(e);
|
3542
3544
|
for (let r = 0; r < t.length; r++) {
|
3543
3545
|
const n = t[r];
|
3544
|
-
if (
|
3546
|
+
if (dr(n))
|
3545
3547
|
return n;
|
3546
3548
|
}
|
3547
3549
|
}
|
3548
|
-
function
|
3549
|
-
delete W[e],
|
3550
|
+
function pr(e, ...t) {
|
3551
|
+
delete W[e], he.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
|
3550
3552
|
}
|
3551
|
-
|
3552
|
-
[
|
3553
|
+
ue(
|
3554
|
+
[he],
|
3553
3555
|
([e]) => Object.keys(e)
|
3554
3556
|
);
|
3555
|
-
|
3557
|
+
he.subscribe((e) => st = e);
|
3556
3558
|
const Te = {};
|
3557
|
-
function
|
3559
|
+
function Ci(e, t) {
|
3558
3560
|
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
3559
3561
|
}
|
3560
|
-
function
|
3562
|
+
function gr(e) {
|
3561
3563
|
return Te[e];
|
3562
3564
|
}
|
3563
|
-
function
|
3564
|
-
return
|
3565
|
-
const r =
|
3565
|
+
function wi(e) {
|
3566
|
+
return Pe(e).map((t) => {
|
3567
|
+
const r = gr(t);
|
3566
3568
|
return [t, r ? [...r] : []];
|
3567
3569
|
}).filter(([, t]) => t.length > 0);
|
3568
3570
|
}
|
3569
3571
|
function et(e) {
|
3570
|
-
return e == null ? !1 :
|
3572
|
+
return e == null ? !1 : Pe(e).some(
|
3571
3573
|
(t) => {
|
3572
3574
|
var r;
|
3573
|
-
return (r =
|
3575
|
+
return (r = gr(t)) == null ? void 0 : r.size;
|
3574
3576
|
}
|
3575
3577
|
);
|
3576
3578
|
}
|
3577
|
-
function
|
3579
|
+
function Hi(e, t) {
|
3578
3580
|
return Promise.all(
|
3579
|
-
t.map((n) => (
|
3580
|
-
).then((n) =>
|
3581
|
+
t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
|
3582
|
+
).then((n) => pr(e, ...n));
|
3581
3583
|
}
|
3582
|
-
const
|
3583
|
-
function
|
3584
|
+
const me = {};
|
3585
|
+
function br(e) {
|
3584
3586
|
if (!et(e))
|
3585
|
-
return e in
|
3586
|
-
const t =
|
3587
|
-
return
|
3587
|
+
return e in me ? me[e] : Promise.resolve();
|
3588
|
+
const t = wi(e);
|
3589
|
+
return me[e] = Promise.all(
|
3588
3590
|
t.map(
|
3589
|
-
([r, n]) =>
|
3591
|
+
([r, n]) => Hi(r, n)
|
3590
3592
|
)
|
3591
3593
|
).then(() => {
|
3592
3594
|
if (et(e))
|
3593
|
-
return
|
3594
|
-
delete
|
3595
|
-
}),
|
3595
|
+
return br(e);
|
3596
|
+
delete me[e];
|
3597
|
+
}), me[e];
|
3596
3598
|
}
|
3597
|
-
const
|
3599
|
+
const Si = {
|
3598
3600
|
number: {
|
3599
3601
|
scientific: { notation: "scientific" },
|
3600
3602
|
engineering: { notation: "engineering" },
|
@@ -3623,34 +3625,34 @@ const Hi = {
|
|
3623
3625
|
timeZoneName: "short"
|
3624
3626
|
}
|
3625
3627
|
}
|
3626
|
-
},
|
3628
|
+
}, Ti = {
|
3627
3629
|
fallbackLocale: null,
|
3628
3630
|
loadingDelay: 200,
|
3629
|
-
formats:
|
3631
|
+
formats: Si,
|
3630
3632
|
warnOnMissingMessages: !0,
|
3631
3633
|
handleMissingMessage: void 0,
|
3632
3634
|
ignoreTag: !0
|
3633
|
-
},
|
3634
|
-
function
|
3635
|
-
return
|
3635
|
+
}, Ai = Ti;
|
3636
|
+
function le() {
|
3637
|
+
return Ai;
|
3636
3638
|
}
|
3637
3639
|
const Ve = Me(!1);
|
3638
|
-
var
|
3640
|
+
var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
|
3639
3641
|
for (var r in t || (t = {}))
|
3640
|
-
|
3641
|
-
if (
|
3642
|
-
for (var r of
|
3643
|
-
|
3642
|
+
Ni.call(t, r) && Bt(e, r, t[r]);
|
3643
|
+
if (At)
|
3644
|
+
for (var r of At(t))
|
3645
|
+
Li.call(t, r) && Bt(e, r, t[r]);
|
3644
3646
|
return e;
|
3645
|
-
},
|
3647
|
+
}, Oi = (e, t) => Ii(e, Mi(t));
|
3646
3648
|
let tt;
|
3647
3649
|
const Be = Me(null);
|
3648
|
-
function
|
3650
|
+
function It(e) {
|
3649
3651
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3650
3652
|
}
|
3651
|
-
function
|
3652
|
-
const r =
|
3653
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3653
|
+
function Pe(e, t = le().fallbackLocale) {
|
3654
|
+
const r = It(e);
|
3655
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
3654
3656
|
}
|
3655
3657
|
function Y() {
|
3656
3658
|
return tt != null ? tt : void 0;
|
@@ -3658,22 +3660,22 @@ function Y() {
|
|
3658
3660
|
Be.subscribe((e) => {
|
3659
3661
|
tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3660
3662
|
});
|
3661
|
-
const
|
3662
|
-
if (e &&
|
3663
|
-
const { loadingDelay: t } =
|
3663
|
+
const Fi = (e) => {
|
3664
|
+
if (e && xi(e) && et(e)) {
|
3665
|
+
const { loadingDelay: t } = le();
|
3664
3666
|
let r;
|
3665
3667
|
return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
|
3666
3668
|
() => Ve.set(!0),
|
3667
3669
|
t
|
3668
|
-
) : Ve.set(!0),
|
3670
|
+
) : Ve.set(!0), br(e).then(() => {
|
3669
3671
|
Be.set(e);
|
3670
3672
|
}).finally(() => {
|
3671
3673
|
clearTimeout(r), Ve.set(!1);
|
3672
3674
|
});
|
3673
3675
|
}
|
3674
3676
|
return Be.set(e);
|
3675
|
-
}, z =
|
3676
|
-
set:
|
3677
|
+
}, z = Oi(Pi({}, Be), {
|
3678
|
+
set: Fi
|
3677
3679
|
}), Oe = (e) => {
|
3678
3680
|
const t = /* @__PURE__ */ Object.create(null);
|
3679
3681
|
return (n) => {
|
@@ -3681,77 +3683,77 @@ const Oi = (e) => {
|
|
3681
3683
|
return i in t ? t[i] : t[i] = e(n);
|
3682
3684
|
};
|
3683
3685
|
};
|
3684
|
-
var
|
3686
|
+
var Ri = Object.defineProperty, Ie = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
3685
3687
|
for (var r in t || (t = {}))
|
3686
|
-
|
3688
|
+
yr.call(t, r) && Mt(e, r, t[r]);
|
3687
3689
|
if (Ie)
|
3688
3690
|
for (var r of Ie(t))
|
3689
|
-
|
3691
|
+
vr.call(t, r) && Mt(e, r, t[r]);
|
3690
3692
|
return e;
|
3691
|
-
},
|
3693
|
+
}, ce = (e, t) => {
|
3692
3694
|
var r = {};
|
3693
3695
|
for (var n in e)
|
3694
|
-
|
3696
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3695
3697
|
if (e != null && Ie)
|
3696
3698
|
for (var n of Ie(e))
|
3697
|
-
t.indexOf(n) < 0 &&
|
3699
|
+
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
3698
3700
|
return r;
|
3699
3701
|
};
|
3700
|
-
const
|
3701
|
-
const { formats: r } =
|
3702
|
+
const ve = (e, t) => {
|
3703
|
+
const { formats: r } = le();
|
3702
3704
|
if (e in r && t in r[e])
|
3703
3705
|
return r[e][t];
|
3704
3706
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3705
|
-
},
|
3707
|
+
}, Di = Oe(
|
3706
3708
|
(e) => {
|
3707
|
-
var t = e, { locale: r, format: n } = t, i =
|
3709
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3708
3710
|
if (r == null)
|
3709
3711
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3710
|
-
return n && (i =
|
3712
|
+
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
3711
3713
|
}
|
3712
|
-
),
|
3714
|
+
), Ui = Oe(
|
3713
3715
|
(e) => {
|
3714
|
-
var t = e, { locale: r, format: n } = t, i =
|
3716
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3715
3717
|
if (r == null)
|
3716
3718
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3717
|
-
return n ? i =
|
3719
|
+
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
3718
3720
|
}
|
3719
|
-
),
|
3721
|
+
), Gi = Oe(
|
3720
3722
|
(e) => {
|
3721
|
-
var t = e, { locale: r, format: n } = t, i =
|
3723
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3722
3724
|
if (r == null)
|
3723
3725
|
throw new Error(
|
3724
3726
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3725
3727
|
);
|
3726
|
-
return n ? i =
|
3728
|
+
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
3727
3729
|
}
|
3728
|
-
),
|
3730
|
+
), ki = (e = {}) => {
|
3729
3731
|
var t = e, {
|
3730
3732
|
locale: r = Y()
|
3731
|
-
} = t, n =
|
3733
|
+
} = t, n = ce(t, [
|
3732
3734
|
"locale"
|
3733
3735
|
]);
|
3734
|
-
return
|
3735
|
-
},
|
3736
|
+
return Di(at({ locale: r }, n));
|
3737
|
+
}, $i = (e = {}) => {
|
3736
3738
|
var t = e, {
|
3737
3739
|
locale: r = Y()
|
3738
|
-
} = t, n =
|
3740
|
+
} = t, n = ce(t, [
|
3739
3741
|
"locale"
|
3740
3742
|
]);
|
3741
|
-
return
|
3742
|
-
},
|
3743
|
+
return Ui(at({ locale: r }, n));
|
3744
|
+
}, ji = (e = {}) => {
|
3743
3745
|
var t = e, {
|
3744
3746
|
locale: r = Y()
|
3745
|
-
} = t, n =
|
3747
|
+
} = t, n = ce(t, [
|
3746
3748
|
"locale"
|
3747
3749
|
]);
|
3748
|
-
return
|
3749
|
-
},
|
3750
|
+
return Gi(at({ locale: r }, n));
|
3751
|
+
}, Vi = Oe(
|
3750
3752
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3751
|
-
(e, t = Y()) => new
|
3752
|
-
ignoreTag:
|
3753
|
+
(e, t = Y()) => new bi(e, t, le().formats, {
|
3754
|
+
ignoreTag: le().ignoreTag
|
3753
3755
|
})
|
3754
|
-
),
|
3756
|
+
), Xi = (e, t = {}) => {
|
3755
3757
|
var r, n, i, o;
|
3756
3758
|
let s = t;
|
3757
3759
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3764,9 +3766,9 @@ const ye = (e, t) => {
|
|
3764
3766
|
throw new Error(
|
3765
3767
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3766
3768
|
);
|
3767
|
-
let h =
|
3769
|
+
let h = mr(e, u);
|
3768
3770
|
if (!h)
|
3769
|
-
h = (o = (i = (n = (r =
|
3771
|
+
h = (o = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
3770
3772
|
else if (typeof h != "string")
|
3771
3773
|
return console.warn(
|
3772
3774
|
`[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.`
|
@@ -3775,7 +3777,7 @@ const ye = (e, t) => {
|
|
3775
3777
|
return h;
|
3776
3778
|
let m = h;
|
3777
3779
|
try {
|
3778
|
-
m =
|
3780
|
+
m = Vi(h, u).format(a);
|
3779
3781
|
} catch (f) {
|
3780
3782
|
f instanceof Error && console.warn(
|
3781
3783
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3783,24 +3785,24 @@ const ye = (e, t) => {
|
|
3783
3785
|
);
|
3784
3786
|
}
|
3785
3787
|
return m;
|
3786
|
-
},
|
3787
|
-
|
3788
|
-
|
3789
|
-
|
3790
|
-
|
3791
|
-
|
3792
|
-
function
|
3788
|
+
}, Wi = (e, t) => ji(t).format(e), zi = (e, t) => $i(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t = Y()) => mr(e, t);
|
3789
|
+
ue([z, he], () => Xi);
|
3790
|
+
ue([z], () => Wi);
|
3791
|
+
ue([z], () => zi);
|
3792
|
+
ue([z], () => Zi);
|
3793
|
+
ue([z, he], () => Qi);
|
3794
|
+
function qi({ withLocale: e, translations: t }) {
|
3793
3795
|
z.subscribe((r) => {
|
3794
|
-
r == null && (
|
3796
|
+
r == null && (he.set(t), z.set(e));
|
3795
3797
|
});
|
3796
3798
|
}
|
3797
|
-
function
|
3798
|
-
|
3799
|
+
function Nt(e, t) {
|
3800
|
+
pr(e, t);
|
3799
3801
|
}
|
3800
|
-
function
|
3802
|
+
function Ji(e) {
|
3801
3803
|
z.set(e);
|
3802
3804
|
}
|
3803
|
-
const
|
3805
|
+
const Lt = {
|
3804
3806
|
en: {
|
3805
3807
|
login: "Login",
|
3806
3808
|
register: "Register",
|
@@ -3857,23 +3859,23 @@ const Mt = {
|
|
3857
3859
|
deposit: "Deposit"
|
3858
3860
|
}
|
3859
3861
|
};
|
3860
|
-
function
|
3861
|
-
|
3862
|
+
function Yi(e) {
|
3863
|
+
Gr(e, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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}.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}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.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;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;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{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.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}.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:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.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, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.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}');
|
3862
3864
|
}
|
3863
|
-
function
|
3865
|
+
function Pt(e, t, r) {
|
3864
3866
|
const n = e.slice();
|
3865
3867
|
return n[48] = t[r], n[50] = r, n;
|
3866
3868
|
}
|
3867
|
-
function
|
3869
|
+
function Ot(e, t, r) {
|
3868
3870
|
const n = e.slice();
|
3869
3871
|
return n[51] = t[r], n;
|
3870
3872
|
}
|
3871
|
-
function
|
3873
|
+
function Ft(e, t, r) {
|
3872
3874
|
const n = e.slice();
|
3873
3875
|
return n[54] = t[r], n[56] = r, n;
|
3874
3876
|
}
|
3875
|
-
function
|
3876
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
3877
|
+
function Rt(e) {
|
3878
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
|
3877
3879
|
/*sliderdata*/
|
3878
3880
|
e[9]
|
3879
3881
|
);
|
@@ -3882,45 +3884,45 @@ function Ot(e) {
|
|
3882
3884
|
s[48].id
|
3883
3885
|
);
|
3884
3886
|
for (let s = 0; s < i.length; s += 1) {
|
3885
|
-
let a =
|
3886
|
-
r.set(u, t[s] =
|
3887
|
+
let a = Pt(e, i, s), u = o(a);
|
3888
|
+
r.set(u, t[s] = jt(u, a));
|
3887
3889
|
}
|
3888
3890
|
return {
|
3889
3891
|
c() {
|
3890
3892
|
for (let s = 0; s < t.length; s += 1)
|
3891
3893
|
t[s].c();
|
3892
|
-
n =
|
3894
|
+
n = ge();
|
3893
3895
|
},
|
3894
3896
|
m(s, a) {
|
3895
3897
|
for (let u = 0; u < t.length; u += 1)
|
3896
3898
|
t[u] && t[u].m(s, a);
|
3897
|
-
|
3899
|
+
G(s, n, a);
|
3898
3900
|
},
|
3899
3901
|
p(s, a) {
|
3900
3902
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
3901
|
-
77775 && (i =
|
3903
|
+
77775 && (i = ie(
|
3902
3904
|
/*sliderdata*/
|
3903
3905
|
s[9]
|
3904
|
-
), t =
|
3906
|
+
), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, jt, n, Pt));
|
3905
3907
|
},
|
3906
3908
|
d(s) {
|
3907
|
-
s &&
|
3909
|
+
s && D(n);
|
3908
3910
|
for (let a = 0; a < t.length; a += 1)
|
3909
3911
|
t[a].d(s);
|
3910
3912
|
}
|
3911
3913
|
};
|
3912
3914
|
}
|
3913
|
-
function
|
3915
|
+
function Ki(e) {
|
3914
3916
|
let t, r = (
|
3915
3917
|
/*category*/
|
3916
3918
|
e[48].name + ""
|
3917
3919
|
), n;
|
3918
3920
|
return {
|
3919
3921
|
c() {
|
3920
|
-
t =
|
3922
|
+
t = L("button"), n = _e(r), S(t, "class", "CategoryButton");
|
3921
3923
|
},
|
3922
3924
|
m(i, o) {
|
3923
|
-
|
3925
|
+
G(i, t, o), B(t, n);
|
3924
3926
|
},
|
3925
3927
|
p(i, o) {
|
3926
3928
|
o[0] & /*sliderdata*/
|
@@ -3928,22 +3930,22 @@ function Yi(e) {
|
|
3928
3930
|
i[48].name + "") && nt(n, r);
|
3929
3931
|
},
|
3930
3932
|
d(i) {
|
3931
|
-
i &&
|
3933
|
+
i && D(t);
|
3932
3934
|
}
|
3933
3935
|
};
|
3934
3936
|
}
|
3935
|
-
function
|
3937
|
+
function eo(e) {
|
3936
3938
|
let t, r = (
|
3937
3939
|
/*category*/
|
3938
3940
|
e[48].label + ""
|
3939
3941
|
), n, i;
|
3940
3942
|
return {
|
3941
3943
|
c() {
|
3942
|
-
t =
|
3944
|
+
t = L("a"), n = _e(r), S(t, "href", i = /*category*/
|
3943
3945
|
e[48].path);
|
3944
3946
|
},
|
3945
3947
|
m(o, s) {
|
3946
|
-
|
3948
|
+
G(o, t, s), B(t, n);
|
3947
3949
|
},
|
3948
3950
|
p(o, s) {
|
3949
3951
|
s[0] & /*sliderdata*/
|
@@ -3953,63 +3955,63 @@ function Ki(e) {
|
|
3953
3955
|
o[48].path) && S(t, "href", i);
|
3954
3956
|
},
|
3955
3957
|
d(o) {
|
3956
|
-
o &&
|
3958
|
+
o && D(t);
|
3957
3959
|
}
|
3958
3960
|
};
|
3959
3961
|
}
|
3960
|
-
function
|
3962
|
+
function Dt(e) {
|
3961
3963
|
let t, r = (
|
3962
3964
|
/*subGroupsData*/
|
3963
3965
|
e[10].length > 0 && /*showsubgroups*/
|
3964
|
-
e[2] == "true" &&
|
3966
|
+
e[2] == "true" && Ut(e)
|
3965
3967
|
);
|
3966
3968
|
return {
|
3967
3969
|
c() {
|
3968
|
-
r && r.c(), t =
|
3970
|
+
r && r.c(), t = ge();
|
3969
3971
|
},
|
3970
3972
|
m(n, i) {
|
3971
|
-
r && r.m(n, i),
|
3973
|
+
r && r.m(n, i), G(n, t, i);
|
3972
3974
|
},
|
3973
3975
|
p(n, i) {
|
3974
3976
|
/*subGroupsData*/
|
3975
3977
|
n[10].length > 0 && /*showsubgroups*/
|
3976
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3978
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = Ut(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3977
3979
|
},
|
3978
3980
|
d(n) {
|
3979
|
-
n &&
|
3981
|
+
n && D(t), r && r.d(n);
|
3980
3982
|
}
|
3981
3983
|
};
|
3982
3984
|
}
|
3983
|
-
function
|
3984
|
-
let t, r =
|
3985
|
+
function Ut(e) {
|
3986
|
+
let t, r = ie(
|
3985
3987
|
/*subGroupsData*/
|
3986
3988
|
e[10]
|
3987
3989
|
), n = [];
|
3988
3990
|
for (let i = 0; i < r.length; i += 1)
|
3989
|
-
n[i] =
|
3991
|
+
n[i] = $t(Ot(e, r, i));
|
3990
3992
|
return {
|
3991
3993
|
c() {
|
3992
|
-
t =
|
3994
|
+
t = L("ul");
|
3993
3995
|
for (let i = 0; i < n.length; i += 1)
|
3994
3996
|
n[i].c();
|
3995
3997
|
S(t, "class", "DropDown");
|
3996
3998
|
},
|
3997
3999
|
m(i, o) {
|
3998
|
-
|
4000
|
+
G(i, t, o);
|
3999
4001
|
for (let s = 0; s < n.length; s += 1)
|
4000
4002
|
n[s] && n[s].m(t, null);
|
4001
4003
|
},
|
4002
4004
|
p(i, o) {
|
4003
4005
|
if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
4004
4006
|
10176) {
|
4005
|
-
r =
|
4007
|
+
r = ie(
|
4006
4008
|
/*subGroupsData*/
|
4007
4009
|
i[10]
|
4008
4010
|
);
|
4009
4011
|
let s;
|
4010
4012
|
for (s = 0; s < r.length; s += 1) {
|
4011
|
-
const a =
|
4012
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
4013
|
+
const a = Ot(i, r, s);
|
4014
|
+
n[s] ? n[s].p(a, o) : (n[s] = $t(a), n[s].c(), n[s].m(t, null));
|
4013
4015
|
}
|
4014
4016
|
for (; s < n.length; s += 1)
|
4015
4017
|
n[s].d(1);
|
@@ -4017,11 +4019,11 @@ function Rt(e) {
|
|
4017
4019
|
}
|
4018
4020
|
},
|
4019
4021
|
d(i) {
|
4020
|
-
i &&
|
4022
|
+
i && D(t), jr(n, i);
|
4021
4023
|
}
|
4022
4024
|
};
|
4023
4025
|
}
|
4024
|
-
function
|
4026
|
+
function Gt(e) {
|
4025
4027
|
var h;
|
4026
4028
|
let t, r, n = (
|
4027
4029
|
/*subGroupItem*/
|
@@ -4045,7 +4047,7 @@ function Dt(e) {
|
|
4045
4047
|
}
|
4046
4048
|
return {
|
4047
4049
|
c() {
|
4048
|
-
t =
|
4050
|
+
t = L("li"), r = L("a"), i = _e(n), s = q(), S(r, "class", o = "SubDropDown " + /*index*/
|
4049
4051
|
(e[50] == /*activeIndex*/
|
4050
4052
|
e[6] && /*activeSubIndex*/
|
4051
4053
|
(e[7] == /*subindex*/
|
@@ -4054,7 +4056,7 @@ function Dt(e) {
|
|
4054
4056
|
e[56]) ? "active" : ""));
|
4055
4057
|
},
|
4056
4058
|
m(m, f) {
|
4057
|
-
|
4059
|
+
G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Ae(t, "click", l), a = !0);
|
4058
4060
|
},
|
4059
4061
|
p(m, f) {
|
4060
4062
|
var p;
|
@@ -4070,37 +4072,37 @@ function Dt(e) {
|
|
4070
4072
|
e[56]) ? "active" : "")) && S(r, "class", o);
|
4071
4073
|
},
|
4072
4074
|
d(m) {
|
4073
|
-
m &&
|
4075
|
+
m && D(t), a = !1, u();
|
4074
4076
|
}
|
4075
4077
|
};
|
4076
4078
|
}
|
4077
|
-
function
|
4079
|
+
function kt(e, t) {
|
4078
4080
|
let r, n, i = (
|
4079
4081
|
/*index*/
|
4080
4082
|
t[50] == /*subGroup*/
|
4081
|
-
t[51].index &&
|
4083
|
+
t[51].index && Gt(t)
|
4082
4084
|
);
|
4083
4085
|
return {
|
4084
4086
|
key: e,
|
4085
4087
|
first: null,
|
4086
4088
|
c() {
|
4087
|
-
r =
|
4089
|
+
r = ge(), i && i.c(), n = ge(), this.first = r;
|
4088
4090
|
},
|
4089
4091
|
m(o, s) {
|
4090
|
-
|
4092
|
+
G(o, r, s), i && i.m(o, s), G(o, n, s);
|
4091
4093
|
},
|
4092
4094
|
p(o, s) {
|
4093
4095
|
t = o, /*index*/
|
4094
4096
|
t[50] == /*subGroup*/
|
4095
|
-
t[51].index ? i ? i.p(t, s) : (i =
|
4097
|
+
t[51].index ? i ? i.p(t, s) : (i = Gt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4096
4098
|
},
|
4097
4099
|
d(o) {
|
4098
|
-
o && (
|
4100
|
+
o && (D(r), D(n)), i && i.d(o);
|
4099
4101
|
}
|
4100
4102
|
};
|
4101
4103
|
}
|
4102
|
-
function
|
4103
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
4104
|
+
function $t(e) {
|
4105
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
|
4104
4106
|
/*subGroup*/
|
4105
4107
|
e[51].items
|
4106
4108
|
);
|
@@ -4109,40 +4111,40 @@ function Gt(e) {
|
|
4109
4111
|
s[54].id
|
4110
4112
|
);
|
4111
4113
|
for (let s = 0; s < i.length; s += 1) {
|
4112
|
-
let a =
|
4113
|
-
r.set(u, t[s] =
|
4114
|
+
let a = Ft(e, i, s), u = o(a);
|
4115
|
+
r.set(u, t[s] = kt(u, a));
|
4114
4116
|
}
|
4115
4117
|
return {
|
4116
4118
|
c() {
|
4117
4119
|
for (let s = 0; s < t.length; s += 1)
|
4118
4120
|
t[s].c();
|
4119
|
-
n =
|
4121
|
+
n = ge();
|
4120
4122
|
},
|
4121
4123
|
m(s, a) {
|
4122
4124
|
for (let u = 0; u < t.length; u += 1)
|
4123
4125
|
t[u] && t[u].m(s, a);
|
4124
|
-
|
4126
|
+
G(s, n, a);
|
4125
4127
|
},
|
4126
4128
|
p(s, a) {
|
4127
4129
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4128
|
-
10176 && (i =
|
4130
|
+
10176 && (i = ie(
|
4129
4131
|
/*subGroup*/
|
4130
4132
|
s[51].items
|
4131
|
-
), t =
|
4133
|
+
), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, kt, n, Ft));
|
4132
4134
|
},
|
4133
4135
|
d(s) {
|
4134
|
-
s &&
|
4136
|
+
s && D(n);
|
4135
4137
|
for (let a = 0; a < t.length; a += 1)
|
4136
4138
|
t[a].d(s);
|
4137
4139
|
}
|
4138
4140
|
};
|
4139
4141
|
}
|
4140
|
-
function
|
4142
|
+
function jt(e, t) {
|
4141
4143
|
let r, n, i, o, s, a, u, l, h, m, f;
|
4142
4144
|
function p(_, x) {
|
4143
4145
|
return (
|
4144
4146
|
/*location*/
|
4145
|
-
_[0] === "headerMain" ?
|
4147
|
+
_[0] === "headerMain" ? eo : Ki
|
4146
4148
|
);
|
4147
4149
|
}
|
4148
4150
|
let g = p(t), b = g(t), d = (
|
@@ -4150,7 +4152,7 @@ function kt(e, t) {
|
|
4150
4152
|
t[11][
|
4151
4153
|
/*index*/
|
4152
4154
|
t[50]
|
4153
|
-
] == !0 &&
|
4155
|
+
] == !0 && Dt(t)
|
4154
4156
|
);
|
4155
4157
|
function H(..._) {
|
4156
4158
|
return (
|
@@ -4169,8 +4171,8 @@ function kt(e, t) {
|
|
4169
4171
|
first: null,
|
4170
4172
|
c() {
|
4171
4173
|
var _, x;
|
4172
|
-
r =
|
4173
|
-
(t[3] === "true" ? "" : "DisplayNone")),
|
4174
|
+
r = L("li"), n = L("div"), i = L("img"), a = q(), b.c(), u = q(), d && d.c(), l = q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
|
4175
|
+
(t[3] === "true" ? "" : "DisplayNone")), bt(i.src, s = /*handleSrc*/
|
4174
4176
|
t[16](
|
4175
4177
|
/*category*/
|
4176
4178
|
t[48]
|
@@ -4187,14 +4189,14 @@ function kt(e, t) {
|
|
4187
4189
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4188
4190
|
},
|
4189
4191
|
m(_, x) {
|
4190
|
-
|
4192
|
+
G(_, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", H), m = !0);
|
4191
4193
|
},
|
4192
4194
|
p(_, x) {
|
4193
|
-
var
|
4195
|
+
var O, I;
|
4194
4196
|
t = _, x[0] & /*categoriesicon*/
|
4195
4197
|
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4196
4198
|
(t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), x[0] & /*sliderdata*/
|
4197
|
-
512 && !
|
4199
|
+
512 && !bt(i.src, s = /*handleSrc*/
|
4198
4200
|
t[16](
|
4199
4201
|
/*category*/
|
4200
4202
|
t[48]
|
@@ -4202,9 +4204,9 @@ function kt(e, t) {
|
|
4202
4204
|
t[11][
|
4203
4205
|
/*index*/
|
4204
4206
|
t[50]
|
4205
|
-
] == !0 ? d ? d.p(t, x) : (d =
|
4207
|
+
] == !0 ? d ? d.p(t, x) : (d = Dt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
|
4206
4208
|
515 && h !== (h = "CarouselItem " + /*activeindex*/
|
4207
|
-
(((
|
4209
|
+
(((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
|
4208
4210
|
/*activeindex*/
|
4209
4211
|
((I = t[1]) == null ? void 0 : I.split("$").pop()) == /*category*/
|
4210
4212
|
t[48].id.split("$").pop() ? "active" : ""
|
@@ -4216,24 +4218,24 @@ function kt(e, t) {
|
|
4216
4218
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", h);
|
4217
4219
|
},
|
4218
4220
|
d(_) {
|
4219
|
-
_ &&
|
4221
|
+
_ && D(r), b.d(), d && d.d(), m = !1, f();
|
4220
4222
|
}
|
4221
4223
|
};
|
4222
4224
|
}
|
4223
|
-
function
|
4225
|
+
function to(e) {
|
4224
4226
|
let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
|
4225
4227
|
/*sliderdata*/
|
4226
|
-
e[9].length > 0 &&
|
4228
|
+
e[9].length > 0 && Rt(e)
|
4227
4229
|
);
|
4228
4230
|
return {
|
4229
4231
|
c() {
|
4230
|
-
t =
|
4232
|
+
t = L("div"), r = L("div"), n = L("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="2" d="M15 19l-7-7 7-7"></path></svg>', i = q(), o = L("div"), s = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = L("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="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap scroller"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4231
4233
|
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
|
4232
4234
|
e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
|
4233
4235
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4234
4236
|
},
|
4235
4237
|
m(H, _) {
|
4236
|
-
|
4238
|
+
G(H, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
|
4237
4239
|
Ae(
|
4238
4240
|
n,
|
4239
4241
|
"click",
|
@@ -4250,7 +4252,7 @@ function eo(e) {
|
|
4250
4252
|
},
|
4251
4253
|
p(H, _) {
|
4252
4254
|
/*sliderdata*/
|
4253
|
-
H[9].length > 0 ? d ? d.p(H, _) : (d =
|
4255
|
+
H[9].length > 0 ? d ? d.p(H, _) : (d = Rt(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
|
4254
4256
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4255
4257
|
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), _[0] & /*location*/
|
4256
4258
|
1 && f !== (f = /*location*/
|
@@ -4258,32 +4260,32 @@ function eo(e) {
|
|
4258
4260
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4259
4261
|
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
|
4260
4262
|
},
|
4261
|
-
i:
|
4262
|
-
o:
|
4263
|
+
i: k,
|
4264
|
+
o: k,
|
4263
4265
|
d(H) {
|
4264
|
-
H &&
|
4266
|
+
H && D(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, J(b);
|
4265
4267
|
}
|
4266
4268
|
};
|
4267
4269
|
}
|
4268
|
-
function
|
4269
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: x = "" } = t, { mygamesiconimage:
|
4270
|
-
|
4271
|
-
const
|
4270
|
+
function ro(e, t, r) {
|
4271
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: x = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: I = "" } = t;
|
4272
|
+
qi({ withLocale: "en", translations: {} });
|
4273
|
+
const $ = () => {
|
4272
4274
|
fetch(f).then((C) => C.json()).then((C) => {
|
4273
|
-
Object.keys(C).forEach((
|
4274
|
-
|
4275
|
+
Object.keys(C).forEach((F) => {
|
4276
|
+
Nt(F, C[F]);
|
4275
4277
|
});
|
4276
4278
|
}).catch((C) => {
|
4277
4279
|
console.log(C);
|
4278
4280
|
});
|
4279
4281
|
};
|
4280
|
-
Object.keys(
|
4281
|
-
|
4282
|
+
Object.keys(Lt).forEach((c) => {
|
4283
|
+
Nt(c, Lt[c]);
|
4282
4284
|
});
|
4283
|
-
let w,
|
4285
|
+
let w, M, P, V, j, fe = [], Ee = [], K = [], N, Fe = (c, C, F, Z, X) => {
|
4284
4286
|
var Q;
|
4285
4287
|
if (!(c.subGroups && Z === null)) {
|
4286
|
-
if (xe(), r(6,
|
4288
|
+
if (xe(), r(6, M = C), r(6, M), X != "secondary") {
|
4287
4289
|
window.postMessage(
|
4288
4290
|
{
|
4289
4291
|
type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
@@ -4302,29 +4304,29 @@ function to(e, t, r) {
|
|
4302
4304
|
r(7, P = Z), r(7, P), r(8, V = P), window.postMessage(
|
4303
4305
|
{
|
4304
4306
|
type: s,
|
4305
|
-
itemId:
|
4307
|
+
itemId: F.id,
|
4306
4308
|
subIndex: Z,
|
4307
|
-
subItem:
|
4309
|
+
subItem: F
|
4308
4310
|
},
|
4309
4311
|
window.location.href
|
4310
4312
|
);
|
4311
4313
|
}
|
4312
|
-
},
|
4313
|
-
|
4314
|
-
},
|
4315
|
-
|
4314
|
+
}, lt = () => {
|
4315
|
+
N && (K.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4316
|
+
}, ut = () => {
|
4317
|
+
N && (K.length !== M ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4316
4318
|
};
|
4317
|
-
const
|
4318
|
-
c.data.type == "SliderData" && c.data.identity == m && (r(9,
|
4319
|
-
C.path.endsWith("/casino") && (r(6,
|
4319
|
+
const ht = (c) => {
|
4320
|
+
c.data.type == "SliderData" && c.data.identity == m && (r(9, fe = c.data.data), r(11, K = new Array(fe.length).fill(!1)), H == "true" && xr()), c.data.type == "GoToHomepage" && fe.forEach((C, F) => {
|
4321
|
+
C.path.endsWith("/casino") && (r(6, M = F), r(6, M));
|
4320
4322
|
});
|
4321
|
-
},
|
4322
|
-
|
4323
|
-
},
|
4323
|
+
}, _r = () => {
|
4324
|
+
Ji(b);
|
4325
|
+
}, Er = (c, C, F) => {
|
4324
4326
|
if (u == "secondaryMenu" && n && i && b && c.id) {
|
4325
4327
|
let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4326
4328
|
fetch(Z.href).then((X) => X.json()).then((X) => {
|
4327
|
-
X.index = C, r(10,
|
4329
|
+
X.index = C, r(10, Ee = Ee.concat(X)), H == "false" && window.postMessage(
|
4328
4330
|
{
|
4329
4331
|
type: s,
|
4330
4332
|
itemId: c.id,
|
@@ -4334,8 +4336,8 @@ function to(e, t, r) {
|
|
4334
4336
|
window.location.href
|
4335
4337
|
);
|
4336
4338
|
const Q = [];
|
4337
|
-
|
4338
|
-
Q.find((
|
4339
|
+
Ee.map((Mr) => (Mr.items.forEach((ct) => {
|
4340
|
+
Q.find((Nr) => ct.id == Nr) || Q.push(ct.id);
|
4339
4341
|
}), Q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Q }, window.location.href);
|
4340
4342
|
}).then(() => {
|
4341
4343
|
w.querySelectorAll(".DropDown") && xe();
|
@@ -4344,77 +4346,77 @@ function to(e, t, r) {
|
|
4344
4346
|
u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
|
4345
4347
|
}, xe = () => {
|
4346
4348
|
const c = w.querySelectorAll(".DropDown");
|
4347
|
-
document.activeElement.blur(),
|
4349
|
+
document.activeElement.blur(), N.classList.add("isScrolling");
|
4348
4350
|
for (let C = 0; C < c.length; C++)
|
4349
|
-
c[C].style.transform = "translateX(-" +
|
4350
|
-
|
4351
|
-
},
|
4352
|
-
|
4353
|
-
var
|
4354
|
-
((
|
4351
|
+
c[C].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4352
|
+
N.classList.remove("isScrolling");
|
4353
|
+
}, xr = () => {
|
4354
|
+
fe.forEach((c, C) => {
|
4355
|
+
var F;
|
4356
|
+
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, K[C] = !0, K), Er(c, C));
|
4355
4357
|
});
|
4356
|
-
},
|
4358
|
+
}, Cr = (c) => {
|
4357
4359
|
let C = "";
|
4358
|
-
return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C =
|
4360
|
+
return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = O), c.icon || C;
|
4359
4361
|
};
|
4360
|
-
|
4362
|
+
zr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4361
4363
|
() => {
|
4362
|
-
|
4364
|
+
N.addEventListener("scroll", xe);
|
4363
4365
|
},
|
4364
4366
|
500
|
4365
4367
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4366
|
-
window.removeEventListener("message",
|
4368
|
+
window.removeEventListener("message", ht), w.removeEventListener("scroll", xe);
|
4367
4369
|
}));
|
4368
|
-
const
|
4369
|
-
Fe(c, C,
|
4370
|
-
},
|
4371
|
-
Fe(c, C, null, null, "main"),
|
4370
|
+
const wr = () => lt(), Hr = (c, C, F, Z, X) => {
|
4371
|
+
Fe(c, C, F, Z, "secondary"), X.stopPropagation();
|
4372
|
+
}, Sr = (c, C, F) => {
|
4373
|
+
Fe(c, C, null, null, "main"), F.preventDefault();
|
4372
4374
|
};
|
4373
|
-
function
|
4374
|
-
|
4375
|
+
function Tr(c) {
|
4376
|
+
pe[c ? "unshift" : "push"](() => {
|
4375
4377
|
w = c, r(5, w);
|
4376
4378
|
});
|
4377
4379
|
}
|
4378
|
-
function
|
4379
|
-
|
4380
|
-
|
4380
|
+
function Ar(c) {
|
4381
|
+
pe[c ? "unshift" : "push"](() => {
|
4382
|
+
N = c, r(12, N);
|
4381
4383
|
});
|
4382
4384
|
}
|
4383
|
-
const
|
4384
|
-
function
|
4385
|
-
|
4386
|
-
|
4385
|
+
const Br = () => ut();
|
4386
|
+
function Ir(c) {
|
4387
|
+
pe[c ? "unshift" : "push"](() => {
|
4388
|
+
j = c, r(4, j);
|
4387
4389
|
});
|
4388
4390
|
}
|
4389
4391
|
return e.$$set = (c) => {
|
4390
|
-
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, H = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, x = c.lobbyiconimage), "mygamesiconimage" in c && r(30,
|
4392
|
+
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, H = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, x = c.lobbyiconimage), "mygamesiconimage" in c && r(30, O = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
|
4391
4393
|
}, e.$$.update = () => {
|
4392
4394
|
e.$$.dirty[0] & /*activeindex*/
|
4393
4395
|
2, e.$$.dirty[0] & /*translationurl*/
|
4394
|
-
33554432 && f &&
|
4395
|
-
4194320 && l &&
|
4396
|
-
8388624 && h &&
|
4396
|
+
33554432 && f && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4397
|
+
4194320 && l && j && an(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4398
|
+
8388624 && h && j && ln(j, h), e.$$.dirty[0] & /*customStylingContainer*/
|
4397
4399
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4398
|
-
1 && I &&
|
4399
|
-
268435456 && b &&
|
4400
|
+
1 && I && j && un(j, `${I}.Style`), e.$$.dirty[0] & /*lang*/
|
4401
|
+
268435456 && b && _r();
|
4400
4402
|
}, [
|
4401
4403
|
u,
|
4402
4404
|
d,
|
4403
4405
|
H,
|
4404
4406
|
_,
|
4405
|
-
|
4407
|
+
j,
|
4406
4408
|
w,
|
4407
|
-
|
4409
|
+
M,
|
4408
4410
|
P,
|
4409
4411
|
V,
|
4410
|
-
|
4411
|
-
_e,
|
4412
|
+
fe,
|
4412
4413
|
Ee,
|
4413
|
-
|
4414
|
+
K,
|
4415
|
+
N,
|
4414
4416
|
Fe,
|
4415
|
-
|
4416
|
-
|
4417
|
-
|
4417
|
+
lt,
|
4418
|
+
ut,
|
4419
|
+
Cr,
|
4418
4420
|
n,
|
4419
4421
|
i,
|
4420
4422
|
o,
|
@@ -4428,25 +4430,25 @@ function to(e, t, r) {
|
|
4428
4430
|
g,
|
4429
4431
|
b,
|
4430
4432
|
x,
|
4431
|
-
|
4433
|
+
O,
|
4432
4434
|
I,
|
4433
|
-
xr,
|
4434
|
-
Cr,
|
4435
4435
|
wr,
|
4436
4436
|
Hr,
|
4437
4437
|
Sr,
|
4438
4438
|
Tr,
|
4439
|
-
Ar
|
4439
|
+
Ar,
|
4440
|
+
Br,
|
4441
|
+
Ir
|
4440
4442
|
];
|
4441
4443
|
}
|
4442
|
-
class
|
4444
|
+
class no extends on {
|
4443
4445
|
constructor(t) {
|
4444
|
-
super(),
|
4446
|
+
super(), rn(
|
4445
4447
|
this,
|
4446
4448
|
t,
|
4449
|
+
ro,
|
4447
4450
|
to,
|
4448
|
-
|
4449
|
-
jt,
|
4451
|
+
Xt,
|
4450
4452
|
{
|
4451
4453
|
endpoint: 17,
|
4452
4454
|
datasource: 18,
|
@@ -4468,7 +4470,7 @@ class ro extends rn {
|
|
4468
4470
|
mygamesiconimage: 30,
|
4469
4471
|
mbsource: 31
|
4470
4472
|
},
|
4471
|
-
|
4473
|
+
Yi,
|
4472
4474
|
[-1, -1]
|
4473
4475
|
);
|
4474
4476
|
}
|
@@ -4587,7 +4589,7 @@ class ro extends rn {
|
|
4587
4589
|
this.$$set({ mbsource: t }), A();
|
4588
4590
|
}
|
4589
4591
|
}
|
4590
|
-
|
4592
|
+
nn(no, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4591
4593
|
export {
|
4592
|
-
|
4594
|
+
no as default
|
4593
4595
|
};
|