@everymatrix/casino-jackpot-banner 1.62.4 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoJackpotBanner-DZF9P2a5.cjs +18 -0
- package/components/{CasinoJackpotBanner-CnytcBLZ.js → CasinoJackpotBanner-ONGBaJ6O.js} +1232 -1120
- package/components/{CasinoJackpotBanner-D9C488wZ.js → CasinoJackpotBanner-vC-EKx4J.js} +1276 -1164
- package/es2015/casino-jackpot-banner.cjs +1 -1
- package/es2015/casino-jackpot-banner.js +1 -1
- package/esnext/casino-jackpot-banner.js +1 -1
- package/package.json +1 -1
- package/components/CasinoJackpotBanner-DCF8nNV4.cjs +0 -18
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import "../stencil/ui-image-o9dMcntc.js";
|
|
2
|
-
function
|
|
2
|
+
function Z() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Tr(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Xt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
e.forEach(
|
|
10
|
+
function Xe(e) {
|
|
11
|
+
e.forEach(Tr);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function $t(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function wr(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
|
-
let
|
|
20
|
-
function
|
|
21
|
-
return e === t ? !0 : (
|
|
19
|
+
let qe;
|
|
20
|
+
function Q(e, t) {
|
|
21
|
+
return e === t ? !0 : (qe || (qe = document.createElement("a")), qe.href = t, e === qe.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function on(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function sn(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
30
|
-
return
|
|
30
|
+
return Z;
|
|
31
31
|
}
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -35,14 +35,14 @@ function Qr(e, ...t) {
|
|
|
35
35
|
function d(e, t) {
|
|
36
36
|
e.appendChild(t);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
const n =
|
|
38
|
+
function an(e, t, r) {
|
|
39
|
+
const n = un(e);
|
|
40
40
|
if (!n.getElementById(t)) {
|
|
41
41
|
const i = b("style");
|
|
42
|
-
i.id = t, i.textContent = r,
|
|
42
|
+
i.id = t, i.textContent = r, ln(n, i);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function un(e) {
|
|
46
46
|
if (!e)
|
|
47
47
|
return document;
|
|
48
48
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -52,56 +52,56 @@ function qr(e) {
|
|
|
52
52
|
t
|
|
53
53
|
) : e.ownerDocument;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function ln(e, t) {
|
|
56
56
|
return d(
|
|
57
57
|
/** @type {Document} */
|
|
58
58
|
e.head || e,
|
|
59
59
|
t
|
|
60
60
|
), t.sheet;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function F(e, t, r) {
|
|
63
63
|
e.insertBefore(t, r || null);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function U(e) {
|
|
66
66
|
e.parentNode && e.parentNode.removeChild(e);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function cn(e, t) {
|
|
69
69
|
for (let r = 0; r < e.length; r += 1)
|
|
70
70
|
e[r] && e[r].d(t);
|
|
71
71
|
}
|
|
72
72
|
function b(e) {
|
|
73
73
|
return document.createElement(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function R(e) {
|
|
76
76
|
return document.createTextNode(e);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
78
|
+
function C() {
|
|
79
|
+
return R(" ");
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
return
|
|
81
|
+
function hn() {
|
|
82
|
+
return R("");
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function fn(e, t, r, n) {
|
|
85
85
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function E(e, t, r) {
|
|
88
88
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
89
89
|
}
|
|
90
90
|
function P(e, t, r) {
|
|
91
91
|
const n = t.toLowerCase();
|
|
92
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
92
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function pn(e) {
|
|
95
95
|
return Array.from(e.childNodes);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function $(e, t) {
|
|
98
98
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
99
99
|
t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Ke(e, t, r, n) {
|
|
102
102
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function dn(e) {
|
|
105
105
|
const t = {};
|
|
106
106
|
return e.childNodes.forEach(
|
|
107
107
|
/** @param {Element} node */
|
|
@@ -110,101 +110,101 @@ function on(e) {
|
|
|
110
110
|
}
|
|
111
111
|
), t;
|
|
112
112
|
}
|
|
113
|
-
let
|
|
114
|
-
function
|
|
115
|
-
|
|
113
|
+
let Fe;
|
|
114
|
+
function $e(e) {
|
|
115
|
+
Fe = e;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
if (!
|
|
117
|
+
function Hr() {
|
|
118
|
+
if (!Fe)
|
|
119
119
|
throw new Error("Function called outside component initialization");
|
|
120
|
-
return
|
|
120
|
+
return Fe;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function mn(e) {
|
|
123
|
+
Hr().$$.on_mount.push(e);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function bn(e) {
|
|
126
|
+
Hr().$$.on_destroy.push(e);
|
|
127
127
|
}
|
|
128
|
-
const
|
|
129
|
-
let
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
function
|
|
133
|
-
|
|
128
|
+
const Ae = [], Tt = [];
|
|
129
|
+
let Be = [];
|
|
130
|
+
const zt = [], gn = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let wt = !1;
|
|
132
|
+
function yn() {
|
|
133
|
+
wt || (wt = !0, gn.then(O));
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
|
|
135
|
+
function Ht(e) {
|
|
136
|
+
Be.push(e);
|
|
137
137
|
}
|
|
138
|
-
const
|
|
139
|
-
let
|
|
140
|
-
function
|
|
141
|
-
if (
|
|
138
|
+
const bt = /* @__PURE__ */ new Set();
|
|
139
|
+
let we = 0;
|
|
140
|
+
function O() {
|
|
141
|
+
if (we !== 0)
|
|
142
142
|
return;
|
|
143
|
-
const e =
|
|
143
|
+
const e = Fe;
|
|
144
144
|
do {
|
|
145
145
|
try {
|
|
146
|
-
for (;
|
|
147
|
-
const t =
|
|
148
|
-
|
|
146
|
+
for (; we < Ae.length; ) {
|
|
147
|
+
const t = Ae[we];
|
|
148
|
+
we++, $e(t), vn(t.$$);
|
|
149
149
|
}
|
|
150
150
|
} catch (t) {
|
|
151
|
-
throw
|
|
151
|
+
throw Ae.length = 0, we = 0, t;
|
|
152
152
|
}
|
|
153
|
-
for (
|
|
154
|
-
|
|
155
|
-
for (let t = 0; t <
|
|
156
|
-
const r =
|
|
157
|
-
|
|
153
|
+
for ($e(null), Ae.length = 0, we = 0; Tt.length; )
|
|
154
|
+
Tt.pop()();
|
|
155
|
+
for (let t = 0; t < Be.length; t += 1) {
|
|
156
|
+
const r = Be[t];
|
|
157
|
+
bt.has(r) || (bt.add(r), r());
|
|
158
158
|
}
|
|
159
|
-
|
|
160
|
-
} while (
|
|
161
|
-
for (;
|
|
162
|
-
|
|
163
|
-
|
|
159
|
+
Be.length = 0;
|
|
160
|
+
} while (Ae.length);
|
|
161
|
+
for (; zt.length; )
|
|
162
|
+
zt.pop()();
|
|
163
|
+
wt = !1, bt.clear(), $e(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function vn(e) {
|
|
166
166
|
if (e.fragment !== null) {
|
|
167
|
-
e.update(),
|
|
167
|
+
e.update(), Xe(e.before_update);
|
|
168
168
|
const t = e.dirty;
|
|
169
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
169
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function _n(e) {
|
|
173
173
|
const t = [], r = [];
|
|
174
|
-
|
|
174
|
+
Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
|
|
175
175
|
}
|
|
176
|
-
const
|
|
177
|
-
function
|
|
178
|
-
e && e.i && (
|
|
176
|
+
const En = /* @__PURE__ */ new Set();
|
|
177
|
+
function xn(e, t) {
|
|
178
|
+
e && e.i && (En.delete(e), e.i(t));
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Jt(e) {
|
|
181
181
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Sn(e, t, r) {
|
|
184
184
|
const { fragment: n, after_update: i } = e.$$;
|
|
185
|
-
n && n.m(t, r),
|
|
186
|
-
const o = e.$$.on_mount.map(
|
|
187
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
188
|
-
}), i.forEach(
|
|
185
|
+
n && n.m(t, r), Ht(() => {
|
|
186
|
+
const o = e.$$.on_mount.map(Tr).filter($t);
|
|
187
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Xe(o), e.$$.on_mount = [];
|
|
188
|
+
}), i.forEach(Ht);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Tn(e, t) {
|
|
191
191
|
const r = e.$$;
|
|
192
|
-
r.fragment !== null && (
|
|
192
|
+
r.fragment !== null && (_n(r.after_update), Xe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
e.$$.dirty[0] === -1 && (
|
|
194
|
+
function wn(e, t) {
|
|
195
|
+
e.$$.dirty[0] === -1 && (Ae.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
const l =
|
|
199
|
-
|
|
197
|
+
function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
198
|
+
const l = Fe;
|
|
199
|
+
$e(e);
|
|
200
200
|
const u = e.$$ = {
|
|
201
201
|
fragment: null,
|
|
202
202
|
ctx: [],
|
|
203
203
|
// state
|
|
204
204
|
props: o,
|
|
205
|
-
update:
|
|
205
|
+
update: Z,
|
|
206
206
|
not_equal: i,
|
|
207
|
-
bound:
|
|
207
|
+
bound: Xt(),
|
|
208
208
|
// lifecycle
|
|
209
209
|
on_mount: [],
|
|
210
210
|
on_destroy: [],
|
|
@@ -213,28 +213,28 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
213
213
|
after_update: [],
|
|
214
214
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
215
215
|
// everything else
|
|
216
|
-
callbacks:
|
|
216
|
+
callbacks: Xt(),
|
|
217
217
|
dirty: a,
|
|
218
218
|
skip_bound: !1,
|
|
219
219
|
root: t.target || l.$$.root
|
|
220
220
|
};
|
|
221
221
|
s && s(u.root);
|
|
222
|
-
let
|
|
223
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
224
|
-
const
|
|
225
|
-
return u.ctx && i(u.ctx[
|
|
226
|
-
}) : [], u.update(),
|
|
222
|
+
let c = !1;
|
|
223
|
+
if (u.ctx = r ? r(e, t.props || {}, (h, p, ...g) => {
|
|
224
|
+
const v = g.length ? g[0] : p;
|
|
225
|
+
return u.ctx && i(u.ctx[h], u.ctx[h] = v) && (!u.skip_bound && u.bound[h] && u.bound[h](v), c && wn(e, h)), p;
|
|
226
|
+
}) : [], u.update(), c = !0, Xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
227
227
|
if (t.hydrate) {
|
|
228
|
-
const
|
|
229
|
-
u.fragment && u.fragment.l(
|
|
228
|
+
const h = pn(t.target);
|
|
229
|
+
u.fragment && u.fragment.l(h), h.forEach(U);
|
|
230
230
|
} else
|
|
231
231
|
u.fragment && u.fragment.c();
|
|
232
|
-
t.intro &&
|
|
232
|
+
t.intro && xn(e.$$.fragment), Sn(e, t.target, t.anchor), O();
|
|
233
233
|
}
|
|
234
|
-
|
|
234
|
+
$e(l);
|
|
235
235
|
}
|
|
236
|
-
let
|
|
237
|
-
typeof HTMLElement == "function" && (
|
|
236
|
+
let Ar;
|
|
237
|
+
typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
238
238
|
/** The Svelte component constructor */
|
|
239
239
|
$$ctor;
|
|
240
240
|
/** Slots */
|
|
@@ -276,29 +276,29 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
276
276
|
let o;
|
|
277
277
|
return {
|
|
278
278
|
c: function() {
|
|
279
|
-
o = b("slot"), i !== "default" &&
|
|
279
|
+
o = b("slot"), i !== "default" && E(o, "name", i);
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
282
|
* @param {HTMLElement} target
|
|
283
283
|
* @param {HTMLElement} [anchor]
|
|
284
284
|
*/
|
|
285
285
|
m: function(l, u) {
|
|
286
|
-
|
|
286
|
+
F(l, o, u);
|
|
287
287
|
},
|
|
288
288
|
d: function(l) {
|
|
289
|
-
l &&
|
|
289
|
+
l && U(o);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
};
|
|
294
294
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
295
295
|
return;
|
|
296
|
-
const t = {}, r =
|
|
296
|
+
const t = {}, r = dn(this);
|
|
297
297
|
for (const i of this.$$s)
|
|
298
298
|
i in r && (t[i] = [e(i)]);
|
|
299
299
|
for (const i of this.attributes) {
|
|
300
300
|
const o = this.$$g_p(i.name);
|
|
301
|
-
o in this.$$d || (this.$$d[o] =
|
|
301
|
+
o in this.$$d || (this.$$d[o] = rt(o, i.value, this.$$p_d, "toProp"));
|
|
302
302
|
}
|
|
303
303
|
for (const i in this.$$p_d)
|
|
304
304
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
316
316
|
this.$$r = !0;
|
|
317
317
|
for (const i in this.$$p_d)
|
|
318
318
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
319
|
-
const o =
|
|
319
|
+
const o = rt(
|
|
320
320
|
i,
|
|
321
321
|
this.$$d[i],
|
|
322
322
|
this.$$p_d,
|
|
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
338
338
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
339
339
|
// and setting attributes through setAttribute etc, this is helpful
|
|
340
340
|
attributeChangedCallback(e, t, r) {
|
|
341
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
341
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = rt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
342
342
|
}
|
|
343
343
|
disconnectedCallback() {
|
|
344
344
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
351
351
|
) || e;
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
function
|
|
354
|
+
function rt(e, t, r, n) {
|
|
355
355
|
const i = r[e]?.type;
|
|
356
356
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
357
357
|
return t;
|
|
@@ -380,8 +380,8 @@ function Ye(e, t, r, n) {
|
|
|
380
380
|
return t;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
let s = class extends
|
|
383
|
+
function An(e, t, r, n, i, o) {
|
|
384
|
+
let s = class extends Ar {
|
|
385
385
|
constructor() {
|
|
386
386
|
super(e, r, i), this.$$p_d = t;
|
|
387
387
|
}
|
|
@@ -397,7 +397,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
397
397
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
398
398
|
},
|
|
399
399
|
set(l) {
|
|
400
|
-
l =
|
|
400
|
+
l = rt(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
}), n.forEach((a) => {
|
|
@@ -409,7 +409,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
409
409
|
}), e.element = /** @type {any} */
|
|
410
410
|
s, s;
|
|
411
411
|
}
|
|
412
|
-
class
|
|
412
|
+
class Bn {
|
|
413
413
|
/**
|
|
414
414
|
* ### PRIVATE API
|
|
415
415
|
*
|
|
@@ -428,7 +428,7 @@ class vn {
|
|
|
428
428
|
$$set = void 0;
|
|
429
429
|
/** @returns {void} */
|
|
430
430
|
$destroy() {
|
|
431
|
-
|
|
431
|
+
Tn(this, 1), this.$destroy = Z;
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
434
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -437,8 +437,8 @@ class vn {
|
|
|
437
437
|
* @returns {() => void}
|
|
438
438
|
*/
|
|
439
439
|
$on(t, r) {
|
|
440
|
-
if (
|
|
441
|
-
return
|
|
440
|
+
if (!$t(r))
|
|
441
|
+
return Z;
|
|
442
442
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
443
443
|
return n.push(r), () => {
|
|
444
444
|
const i = n.indexOf(r);
|
|
@@ -450,11 +450,11 @@ class vn {
|
|
|
450
450
|
* @returns {void}
|
|
451
451
|
*/
|
|
452
452
|
$set(t) {
|
|
453
|
-
this.$$set && !
|
|
453
|
+
this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
const
|
|
457
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
456
|
+
const Pn = "4";
|
|
457
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
458
458
|
/*! *****************************************************************************
|
|
459
459
|
Copyright (c) Microsoft Corporation.
|
|
460
460
|
|
|
@@ -469,24 +469,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
469
469
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
470
470
|
PERFORMANCE OF THIS SOFTWARE.
|
|
471
471
|
***************************************************************************** */
|
|
472
|
-
var
|
|
473
|
-
return
|
|
472
|
+
var At = function(e, t) {
|
|
473
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
474
474
|
r.__proto__ = n;
|
|
475
475
|
} || function(r, n) {
|
|
476
476
|
for (var i in n)
|
|
477
477
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
478
|
-
},
|
|
478
|
+
}, At(e, t);
|
|
479
479
|
};
|
|
480
|
-
function
|
|
480
|
+
function ze(e, t) {
|
|
481
481
|
if (typeof t != "function" && t !== null)
|
|
482
482
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
483
|
-
|
|
483
|
+
At(e, t);
|
|
484
484
|
function r() {
|
|
485
485
|
this.constructor = e;
|
|
486
486
|
}
|
|
487
487
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Bt(e) {
|
|
490
490
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
491
491
|
if (r)
|
|
492
492
|
return r.call(e);
|
|
@@ -498,7 +498,7 @@ function Tt(e) {
|
|
|
498
498
|
};
|
|
499
499
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function Pt(e, t) {
|
|
502
502
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
503
503
|
if (!r)
|
|
504
504
|
return e;
|
|
@@ -518,22 +518,22 @@ function wt(e, t) {
|
|
|
518
518
|
}
|
|
519
519
|
return o;
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Ot(e, t, r) {
|
|
522
522
|
if (arguments.length === 2)
|
|
523
523
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
524
524
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
525
525
|
return e.concat(o || t);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function ue(e) {
|
|
528
528
|
return typeof e == "function";
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Br(e) {
|
|
531
531
|
var t = function(n) {
|
|
532
532
|
Error.call(n), n.stack = new Error().stack;
|
|
533
533
|
}, r = e(t);
|
|
534
534
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
535
535
|
}
|
|
536
|
-
var
|
|
536
|
+
var gt = Br(function(e) {
|
|
537
537
|
return function(r) {
|
|
538
538
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
539
539
|
` + r.map(function(n, i) {
|
|
@@ -542,13 +542,13 @@ var pt = vr(function(e) {
|
|
|
542
542
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
543
543
|
};
|
|
544
544
|
});
|
|
545
|
-
function
|
|
545
|
+
function Lt(e, t) {
|
|
546
546
|
if (e) {
|
|
547
547
|
var r = e.indexOf(t);
|
|
548
548
|
0 <= r && e.splice(r, 1);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
var
|
|
551
|
+
var lt = function() {
|
|
552
552
|
function e(t) {
|
|
553
553
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
554
554
|
}
|
|
@@ -560,12 +560,12 @@ var it = function() {
|
|
|
560
560
|
if (s)
|
|
561
561
|
if (this._parentage = null, Array.isArray(s))
|
|
562
562
|
try {
|
|
563
|
-
for (var a =
|
|
563
|
+
for (var a = Bt(s), l = a.next(); !l.done; l = a.next()) {
|
|
564
564
|
var u = l.value;
|
|
565
565
|
u.remove(this);
|
|
566
566
|
}
|
|
567
|
-
} catch (
|
|
568
|
-
t = { error:
|
|
567
|
+
} catch (_) {
|
|
568
|
+
t = { error: _ };
|
|
569
569
|
} finally {
|
|
570
570
|
try {
|
|
571
571
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -576,27 +576,27 @@ var it = function() {
|
|
|
576
576
|
}
|
|
577
577
|
else
|
|
578
578
|
s.remove(this);
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
579
|
+
var c = this.initialTeardown;
|
|
580
|
+
if (ue(c))
|
|
581
581
|
try {
|
|
582
|
-
|
|
583
|
-
} catch (
|
|
584
|
-
o =
|
|
582
|
+
c();
|
|
583
|
+
} catch (_) {
|
|
584
|
+
o = _ instanceof gt ? _.errors : [_];
|
|
585
585
|
}
|
|
586
|
-
var
|
|
587
|
-
if (
|
|
586
|
+
var h = this._finalizers;
|
|
587
|
+
if (h) {
|
|
588
588
|
this._finalizers = null;
|
|
589
589
|
try {
|
|
590
|
-
for (var p =
|
|
591
|
-
var
|
|
590
|
+
for (var p = Bt(h), g = p.next(); !g.done; g = p.next()) {
|
|
591
|
+
var v = g.value;
|
|
592
592
|
try {
|
|
593
|
-
|
|
594
|
-
} catch (
|
|
595
|
-
o = o ?? [],
|
|
593
|
+
Zt(v);
|
|
594
|
+
} catch (_) {
|
|
595
|
+
o = o ?? [], _ instanceof gt ? o = Ot(Ot([], Pt(o)), Pt(_.errors)) : o.push(_);
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
} catch (
|
|
599
|
-
n = { error:
|
|
598
|
+
} catch (_) {
|
|
599
|
+
n = { error: _ };
|
|
600
600
|
} finally {
|
|
601
601
|
try {
|
|
602
602
|
g && !g.done && (i = p.return) && i.call(p);
|
|
@@ -607,13 +607,13 @@ var it = function() {
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
if (o)
|
|
610
|
-
throw new
|
|
610
|
+
throw new gt(o);
|
|
611
611
|
}
|
|
612
612
|
}, e.prototype.add = function(t) {
|
|
613
613
|
var r;
|
|
614
614
|
if (t && t !== this)
|
|
615
615
|
if (this.closed)
|
|
616
|
-
|
|
616
|
+
Zt(t);
|
|
617
617
|
else {
|
|
618
618
|
if (t instanceof e) {
|
|
619
619
|
if (t.closed || t._hasParent(this))
|
|
@@ -630,52 +630,52 @@ var it = function() {
|
|
|
630
630
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
631
631
|
}, e.prototype._removeParent = function(t) {
|
|
632
632
|
var r = this._parentage;
|
|
633
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
633
|
+
r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
|
|
634
634
|
}, e.prototype.remove = function(t) {
|
|
635
635
|
var r = this._finalizers;
|
|
636
|
-
r &&
|
|
636
|
+
r && Lt(r, t), t instanceof e && t._removeParent(this);
|
|
637
637
|
}, e.EMPTY = function() {
|
|
638
638
|
var t = new e();
|
|
639
639
|
return t.closed = !0, t;
|
|
640
640
|
}(), e;
|
|
641
|
-
}(),
|
|
642
|
-
function
|
|
643
|
-
return e instanceof
|
|
641
|
+
}(), Pr = lt.EMPTY;
|
|
642
|
+
function Or(e) {
|
|
643
|
+
return e instanceof lt || e && "closed" in e && ue(e.remove) && ue(e.add) && ue(e.unsubscribe);
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
|
|
645
|
+
function Zt(e) {
|
|
646
|
+
ue(e) ? e() : e.unsubscribe();
|
|
647
647
|
}
|
|
648
|
-
var
|
|
648
|
+
var On = {
|
|
649
649
|
Promise: void 0
|
|
650
|
-
},
|
|
650
|
+
}, Ln = {
|
|
651
651
|
setTimeout: function(e, t) {
|
|
652
652
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
653
653
|
r[n - 2] = arguments[n];
|
|
654
|
-
return setTimeout.apply(void 0,
|
|
654
|
+
return setTimeout.apply(void 0, Ot([e, t], Pt(r)));
|
|
655
655
|
},
|
|
656
656
|
clearTimeout: function(e) {
|
|
657
657
|
return clearTimeout(e);
|
|
658
658
|
},
|
|
659
659
|
delegate: void 0
|
|
660
660
|
};
|
|
661
|
-
function
|
|
662
|
-
|
|
661
|
+
function Cn(e) {
|
|
662
|
+
Ln.setTimeout(function() {
|
|
663
663
|
throw e;
|
|
664
664
|
});
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function Qt() {
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function nt(e) {
|
|
669
669
|
e();
|
|
670
670
|
}
|
|
671
|
-
var
|
|
672
|
-
|
|
671
|
+
var Lr = function(e) {
|
|
672
|
+
ze(t, e);
|
|
673
673
|
function t(r) {
|
|
674
674
|
var n = e.call(this) || this;
|
|
675
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
675
|
+
return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = Mn, n;
|
|
676
676
|
}
|
|
677
677
|
return t.create = function(r, n, i) {
|
|
678
|
-
return new
|
|
678
|
+
return new Ct(r, n, i);
|
|
679
679
|
}, t.prototype.next = function(r) {
|
|
680
680
|
this.isStopped || this._next(r);
|
|
681
681
|
}, t.prototype.error = function(r) {
|
|
@@ -699,7 +699,7 @@ var xr = function(e) {
|
|
|
699
699
|
this.unsubscribe();
|
|
700
700
|
}
|
|
701
701
|
}, t;
|
|
702
|
-
}(
|
|
702
|
+
}(lt), In = function() {
|
|
703
703
|
function e(t) {
|
|
704
704
|
this.partialObserver = t;
|
|
705
705
|
}
|
|
@@ -709,7 +709,7 @@ var xr = function(e) {
|
|
|
709
709
|
try {
|
|
710
710
|
r.next(t);
|
|
711
711
|
} catch (n) {
|
|
712
|
-
|
|
712
|
+
et(n);
|
|
713
713
|
}
|
|
714
714
|
}, e.prototype.error = function(t) {
|
|
715
715
|
var r = this.partialObserver;
|
|
@@ -717,56 +717,56 @@ var xr = function(e) {
|
|
|
717
717
|
try {
|
|
718
718
|
r.error(t);
|
|
719
719
|
} catch (n) {
|
|
720
|
-
|
|
720
|
+
et(n);
|
|
721
721
|
}
|
|
722
722
|
else
|
|
723
|
-
|
|
723
|
+
et(t);
|
|
724
724
|
}, e.prototype.complete = function() {
|
|
725
725
|
var t = this.partialObserver;
|
|
726
726
|
if (t.complete)
|
|
727
727
|
try {
|
|
728
728
|
t.complete();
|
|
729
729
|
} catch (r) {
|
|
730
|
-
|
|
730
|
+
et(r);
|
|
731
731
|
}
|
|
732
732
|
}, e;
|
|
733
|
-
}(),
|
|
734
|
-
|
|
733
|
+
}(), Ct = function(e) {
|
|
734
|
+
ze(t, e);
|
|
735
735
|
function t(r, n, i) {
|
|
736
736
|
var o = e.call(this) || this, s;
|
|
737
|
-
return
|
|
737
|
+
return ue(r) || !r ? s = {
|
|
738
738
|
next: r ?? void 0,
|
|
739
739
|
error: n ?? void 0,
|
|
740
740
|
complete: i ?? void 0
|
|
741
|
-
} : s = r, o.destination = new
|
|
741
|
+
} : s = r, o.destination = new In(s), o;
|
|
742
742
|
}
|
|
743
743
|
return t;
|
|
744
|
-
}(
|
|
745
|
-
function
|
|
746
|
-
|
|
744
|
+
}(Lr);
|
|
745
|
+
function et(e) {
|
|
746
|
+
Cn(e);
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function Nn(e) {
|
|
749
749
|
throw e;
|
|
750
750
|
}
|
|
751
|
-
var
|
|
751
|
+
var Mn = {
|
|
752
752
|
closed: !0,
|
|
753
|
-
next:
|
|
754
|
-
error:
|
|
755
|
-
complete:
|
|
756
|
-
},
|
|
753
|
+
next: Qt,
|
|
754
|
+
error: Nn,
|
|
755
|
+
complete: Qt
|
|
756
|
+
}, Rn = function() {
|
|
757
757
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
758
758
|
}();
|
|
759
|
-
function
|
|
759
|
+
function Un(e) {
|
|
760
760
|
return e;
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
return e.length === 0 ?
|
|
762
|
+
function Dn(e) {
|
|
763
|
+
return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
|
|
764
764
|
return e.reduce(function(n, i) {
|
|
765
765
|
return i(n);
|
|
766
766
|
}, r);
|
|
767
767
|
};
|
|
768
768
|
}
|
|
769
|
-
var
|
|
769
|
+
var Yt = function() {
|
|
770
770
|
function e(t) {
|
|
771
771
|
t && (this._subscribe = t);
|
|
772
772
|
}
|
|
@@ -774,8 +774,8 @@ var zt = function() {
|
|
|
774
774
|
var r = new e();
|
|
775
775
|
return r.source = this, r.operator = t, r;
|
|
776
776
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
777
|
-
var i = this, o =
|
|
778
|
-
return
|
|
777
|
+
var i = this, o = jn(t) ? t : new Ct(t, r, n);
|
|
778
|
+
return nt(function() {
|
|
779
779
|
var s = i, a = s.operator, l = s.source;
|
|
780
780
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
781
781
|
}), o;
|
|
@@ -787,8 +787,8 @@ var zt = function() {
|
|
|
787
787
|
}
|
|
788
788
|
}, e.prototype.forEach = function(t, r) {
|
|
789
789
|
var n = this;
|
|
790
|
-
return r =
|
|
791
|
-
var s = new
|
|
790
|
+
return r = qt(r), new r(function(i, o) {
|
|
791
|
+
var s = new Ct({
|
|
792
792
|
next: function(a) {
|
|
793
793
|
try {
|
|
794
794
|
t(a);
|
|
@@ -804,15 +804,15 @@ var zt = function() {
|
|
|
804
804
|
}, e.prototype._subscribe = function(t) {
|
|
805
805
|
var r;
|
|
806
806
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
807
|
-
}, e.prototype[
|
|
807
|
+
}, e.prototype[Rn] = function() {
|
|
808
808
|
return this;
|
|
809
809
|
}, e.prototype.pipe = function() {
|
|
810
810
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
811
811
|
t[r] = arguments[r];
|
|
812
|
-
return
|
|
812
|
+
return Dn(t)(this);
|
|
813
813
|
}, e.prototype.toPromise = function(t) {
|
|
814
814
|
var r = this;
|
|
815
|
-
return t =
|
|
815
|
+
return t = qt(t), new t(function(n, i) {
|
|
816
816
|
var o;
|
|
817
817
|
r.subscribe(function(s) {
|
|
818
818
|
return o = s;
|
|
@@ -826,40 +826,40 @@ var zt = function() {
|
|
|
826
826
|
return new e(t);
|
|
827
827
|
}, e;
|
|
828
828
|
}();
|
|
829
|
-
function
|
|
829
|
+
function qt(e) {
|
|
830
830
|
var t;
|
|
831
|
-
return (t = e ??
|
|
831
|
+
return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
|
|
832
832
|
}
|
|
833
|
-
function
|
|
834
|
-
return e &&
|
|
833
|
+
function kn(e) {
|
|
834
|
+
return e && ue(e.next) && ue(e.error) && ue(e.complete);
|
|
835
835
|
}
|
|
836
|
-
function
|
|
837
|
-
return e && e instanceof
|
|
836
|
+
function jn(e) {
|
|
837
|
+
return e && e instanceof Lr || kn(e) && Or(e);
|
|
838
838
|
}
|
|
839
|
-
var
|
|
839
|
+
var Gn = Br(function(e) {
|
|
840
840
|
return function() {
|
|
841
841
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
842
842
|
};
|
|
843
|
-
}),
|
|
844
|
-
|
|
843
|
+
}), Cr = function(e) {
|
|
844
|
+
ze(t, e);
|
|
845
845
|
function t() {
|
|
846
846
|
var r = e.call(this) || this;
|
|
847
847
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
848
848
|
}
|
|
849
849
|
return t.prototype.lift = function(r) {
|
|
850
|
-
var n = new
|
|
850
|
+
var n = new Kt(this, this);
|
|
851
851
|
return n.operator = r, n;
|
|
852
852
|
}, t.prototype._throwIfClosed = function() {
|
|
853
853
|
if (this.closed)
|
|
854
|
-
throw new
|
|
854
|
+
throw new Gn();
|
|
855
855
|
}, t.prototype.next = function(r) {
|
|
856
856
|
var n = this;
|
|
857
|
-
|
|
857
|
+
nt(function() {
|
|
858
858
|
var i, o;
|
|
859
859
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
860
860
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
861
861
|
try {
|
|
862
|
-
for (var s =
|
|
862
|
+
for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
863
863
|
var l = a.value;
|
|
864
864
|
l.next(r);
|
|
865
865
|
}
|
|
@@ -877,7 +877,7 @@ var Cn = vr(function(e) {
|
|
|
877
877
|
});
|
|
878
878
|
}, t.prototype.error = function(r) {
|
|
879
879
|
var n = this;
|
|
880
|
-
|
|
880
|
+
nt(function() {
|
|
881
881
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
882
882
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
883
883
|
for (var i = n.observers; i.length; )
|
|
@@ -886,7 +886,7 @@ var Cn = vr(function(e) {
|
|
|
886
886
|
});
|
|
887
887
|
}, t.prototype.complete = function() {
|
|
888
888
|
var r = this;
|
|
889
|
-
|
|
889
|
+
nt(function() {
|
|
890
890
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
891
891
|
r.isStopped = !0;
|
|
892
892
|
for (var n = r.observers; n.length; )
|
|
@@ -908,20 +908,20 @@ var Cn = vr(function(e) {
|
|
|
908
908
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
909
909
|
}, t.prototype._innerSubscribe = function(r) {
|
|
910
910
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
911
|
-
return o || s ?
|
|
912
|
-
n.currentObservers = null,
|
|
911
|
+
return o || s ? Pr : (this.currentObservers = null, a.push(r), new lt(function() {
|
|
912
|
+
n.currentObservers = null, Lt(a, r);
|
|
913
913
|
}));
|
|
914
914
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
915
915
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
916
916
|
i ? r.error(o) : s && r.complete();
|
|
917
917
|
}, t.prototype.asObservable = function() {
|
|
918
|
-
var r = new
|
|
918
|
+
var r = new Yt();
|
|
919
919
|
return r.source = this, r;
|
|
920
920
|
}, t.create = function(r, n) {
|
|
921
|
-
return new
|
|
921
|
+
return new Kt(r, n);
|
|
922
922
|
}, t;
|
|
923
|
-
}(
|
|
924
|
-
|
|
923
|
+
}(Yt), Kt = function(e) {
|
|
924
|
+
ze(t, e);
|
|
925
925
|
function t(r, n) {
|
|
926
926
|
var i = e.call(this) || this;
|
|
927
927
|
return i.destination = r, i.source = n, i;
|
|
@@ -937,17 +937,17 @@ var Cn = vr(function(e) {
|
|
|
937
937
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
938
938
|
}, t.prototype._subscribe = function(r) {
|
|
939
939
|
var n, i;
|
|
940
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
940
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
|
|
941
941
|
}, t;
|
|
942
|
-
}(
|
|
942
|
+
}(Cr), Ir = {
|
|
943
943
|
now: function() {
|
|
944
|
-
return (
|
|
944
|
+
return (Ir.delegate || Date).now();
|
|
945
945
|
},
|
|
946
946
|
delegate: void 0
|
|
947
|
-
},
|
|
948
|
-
|
|
947
|
+
}, $n = function(e) {
|
|
948
|
+
ze(t, e);
|
|
949
949
|
function t(r, n, i) {
|
|
950
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
950
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
|
|
951
951
|
var o = e.call(this) || this;
|
|
952
952
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
953
953
|
}
|
|
@@ -962,183 +962,183 @@ var Cn = vr(function(e) {
|
|
|
962
962
|
}, t.prototype._trimBuffer = function() {
|
|
963
963
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
964
964
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
965
|
-
for (var l = i.now(), u = 0,
|
|
966
|
-
u =
|
|
965
|
+
for (var l = i.now(), u = 0, c = 1; c < o.length && o[c] <= l; c += 2)
|
|
966
|
+
u = c;
|
|
967
967
|
u && o.splice(0, u + 1);
|
|
968
968
|
}
|
|
969
969
|
}, t;
|
|
970
|
-
}(
|
|
971
|
-
const
|
|
972
|
-
if (
|
|
973
|
-
const r = new
|
|
974
|
-
|
|
970
|
+
}(Cr);
|
|
971
|
+
const er = [], tr = {}, Fn = (e, t = 0) => {
|
|
972
|
+
if (er.indexOf(e) == -1) {
|
|
973
|
+
const r = new $n(t);
|
|
974
|
+
tr[e] = r, er.push(e);
|
|
975
975
|
}
|
|
976
|
-
return
|
|
977
|
-
},
|
|
978
|
-
function
|
|
976
|
+
return tr[e];
|
|
977
|
+
}, He = [];
|
|
978
|
+
function Vn(e, t) {
|
|
979
979
|
return {
|
|
980
|
-
subscribe:
|
|
980
|
+
subscribe: ct(e, t).subscribe
|
|
981
981
|
};
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function ct(e, t = Z) {
|
|
984
984
|
let r;
|
|
985
985
|
const n = /* @__PURE__ */ new Set();
|
|
986
986
|
function i(a) {
|
|
987
|
-
if (
|
|
988
|
-
const l = !
|
|
987
|
+
if (wr(e, a) && (e = a, r)) {
|
|
988
|
+
const l = !He.length;
|
|
989
989
|
for (const u of n)
|
|
990
|
-
u[1](),
|
|
990
|
+
u[1](), He.push(u, e);
|
|
991
991
|
if (l) {
|
|
992
|
-
for (let u = 0; u <
|
|
993
|
-
|
|
994
|
-
|
|
992
|
+
for (let u = 0; u < He.length; u += 2)
|
|
993
|
+
He[u][0](He[u + 1]);
|
|
994
|
+
He.length = 0;
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
998
|
function o(a) {
|
|
999
999
|
i(a(e));
|
|
1000
1000
|
}
|
|
1001
|
-
function s(a, l =
|
|
1001
|
+
function s(a, l = Z) {
|
|
1002
1002
|
const u = [a, l];
|
|
1003
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1003
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || Z), a(e), () => {
|
|
1004
1004
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1005
1005
|
};
|
|
1006
1006
|
}
|
|
1007
1007
|
return { set: i, update: o, subscribe: s };
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function Ie(e, t, r) {
|
|
1010
1010
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1011
1011
|
if (!i.every(Boolean))
|
|
1012
1012
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1013
1013
|
const o = t.length < 2;
|
|
1014
|
-
return
|
|
1014
|
+
return Vn(r, (s, a) => {
|
|
1015
1015
|
let l = !1;
|
|
1016
1016
|
const u = [];
|
|
1017
|
-
let
|
|
1017
|
+
let c = 0, h = Z;
|
|
1018
1018
|
const p = () => {
|
|
1019
|
-
if (
|
|
1019
|
+
if (c)
|
|
1020
1020
|
return;
|
|
1021
|
-
|
|
1022
|
-
const
|
|
1023
|
-
o ? s(
|
|
1021
|
+
h();
|
|
1022
|
+
const v = t(n ? u[0] : u, s, a);
|
|
1023
|
+
o ? s(v) : h = $t(v) ? v : Z;
|
|
1024
1024
|
}, g = i.map(
|
|
1025
|
-
(
|
|
1026
|
-
|
|
1027
|
-
(
|
|
1028
|
-
u[
|
|
1025
|
+
(v, _) => sn(
|
|
1026
|
+
v,
|
|
1027
|
+
(y) => {
|
|
1028
|
+
u[_] = y, c &= ~(1 << _), l && p();
|
|
1029
1029
|
},
|
|
1030
1030
|
() => {
|
|
1031
|
-
|
|
1031
|
+
c |= 1 << _;
|
|
1032
1032
|
}
|
|
1033
1033
|
)
|
|
1034
1034
|
);
|
|
1035
1035
|
return l = !0, p(), function() {
|
|
1036
|
-
|
|
1036
|
+
Xe(g), h(), l = !1;
|
|
1037
1037
|
};
|
|
1038
1038
|
});
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function Wn(e) {
|
|
1041
1041
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1042
1042
|
}
|
|
1043
|
-
var
|
|
1044
|
-
return
|
|
1043
|
+
var Xn = function(t) {
|
|
1044
|
+
return zn(t) && !Jn(t);
|
|
1045
1045
|
};
|
|
1046
|
-
function
|
|
1046
|
+
function zn(e) {
|
|
1047
1047
|
return !!e && typeof e == "object";
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1049
|
+
function Jn(e) {
|
|
1050
1050
|
var t = Object.prototype.toString.call(e);
|
|
1051
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1051
|
+
return t === "[object RegExp]" || t === "[object Date]" || Yn(e);
|
|
1052
1052
|
}
|
|
1053
|
-
var
|
|
1054
|
-
function
|
|
1055
|
-
return e.$$typeof ===
|
|
1053
|
+
var Zn = typeof Symbol == "function" && Symbol.for, Qn = Zn ? Symbol.for("react.element") : 60103;
|
|
1054
|
+
function Yn(e) {
|
|
1055
|
+
return e.$$typeof === Qn;
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function qn(e) {
|
|
1058
1058
|
return Array.isArray(e) ? [] : {};
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1060
|
+
function Ve(e, t) {
|
|
1061
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Pe(qn(e), e, t) : e;
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function Kn(e, t, r) {
|
|
1064
1064
|
return e.concat(t).map(function(n) {
|
|
1065
|
-
return
|
|
1065
|
+
return Ve(n, r);
|
|
1066
1066
|
});
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function ei(e, t) {
|
|
1069
1069
|
if (!t.customMerge)
|
|
1070
|
-
return
|
|
1070
|
+
return Pe;
|
|
1071
1071
|
var r = t.customMerge(e);
|
|
1072
|
-
return typeof r == "function" ? r :
|
|
1072
|
+
return typeof r == "function" ? r : Pe;
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function ti(e) {
|
|
1075
1075
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1076
1076
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1077
1077
|
}) : [];
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1080
|
-
return Object.keys(e).concat(
|
|
1079
|
+
function rr(e) {
|
|
1080
|
+
return Object.keys(e).concat(ti(e));
|
|
1081
1081
|
}
|
|
1082
|
-
function
|
|
1082
|
+
function Nr(e, t) {
|
|
1083
1083
|
try {
|
|
1084
1084
|
return t in e;
|
|
1085
1085
|
} catch {
|
|
1086
1086
|
return !1;
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return
|
|
1089
|
+
function ri(e, t) {
|
|
1090
|
+
return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function ni(e, t, r) {
|
|
1093
1093
|
var n = {};
|
|
1094
|
-
return r.isMergeableObject(e) &&
|
|
1095
|
-
n[i] =
|
|
1096
|
-
}),
|
|
1097
|
-
|
|
1094
|
+
return r.isMergeableObject(e) && rr(e).forEach(function(i) {
|
|
1095
|
+
n[i] = Ve(e[i], r);
|
|
1096
|
+
}), rr(t).forEach(function(i) {
|
|
1097
|
+
ri(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Ve(t[i], r));
|
|
1098
1098
|
}), n;
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1101
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1100
|
+
function Pe(e, t, r) {
|
|
1101
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
1102
1102
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1103
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1103
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Ve(t, r);
|
|
1104
1104
|
}
|
|
1105
|
-
|
|
1105
|
+
Pe.all = function(t, r) {
|
|
1106
1106
|
if (!Array.isArray(t))
|
|
1107
1107
|
throw new Error("first argument should be an array");
|
|
1108
1108
|
return t.reduce(function(n, i) {
|
|
1109
|
-
return
|
|
1109
|
+
return Pe(n, i, r);
|
|
1110
1110
|
}, {});
|
|
1111
1111
|
};
|
|
1112
|
-
var
|
|
1113
|
-
const
|
|
1114
|
-
var
|
|
1115
|
-
return
|
|
1112
|
+
var ii = Pe, oi = ii;
|
|
1113
|
+
const si = /* @__PURE__ */ Wn(oi);
|
|
1114
|
+
var It = function(e, t) {
|
|
1115
|
+
return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1116
1116
|
r.__proto__ = n;
|
|
1117
1117
|
} || function(r, n) {
|
|
1118
1118
|
for (var i in n)
|
|
1119
1119
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1120
|
-
},
|
|
1120
|
+
}, It(e, t);
|
|
1121
1121
|
};
|
|
1122
|
-
function
|
|
1122
|
+
function ht(e, t) {
|
|
1123
1123
|
if (typeof t != "function" && t !== null)
|
|
1124
1124
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1125
|
-
|
|
1125
|
+
It(e, t);
|
|
1126
1126
|
function r() {
|
|
1127
1127
|
this.constructor = e;
|
|
1128
1128
|
}
|
|
1129
1129
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1132
|
-
return
|
|
1131
|
+
var te = function() {
|
|
1132
|
+
return te = Object.assign || function(t) {
|
|
1133
1133
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1134
1134
|
r = arguments[n];
|
|
1135
1135
|
for (var o in r)
|
|
1136
1136
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1137
1137
|
}
|
|
1138
1138
|
return t;
|
|
1139
|
-
},
|
|
1139
|
+
}, te.apply(this, arguments);
|
|
1140
1140
|
};
|
|
1141
|
-
function
|
|
1141
|
+
function ai(e, t) {
|
|
1142
1142
|
var r = {};
|
|
1143
1143
|
for (var n in e)
|
|
1144
1144
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1147,43 +1147,43 @@ function qn(e, t) {
|
|
|
1147
1147
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1148
1148
|
return r;
|
|
1149
1149
|
}
|
|
1150
|
-
function
|
|
1150
|
+
function yt(e, t, r) {
|
|
1151
1151
|
if (r || arguments.length === 2)
|
|
1152
1152
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1153
1153
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1154
1154
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1157
|
-
var r = t && t.cache ? t.cache :
|
|
1156
|
+
function vt(e, t) {
|
|
1157
|
+
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : ci;
|
|
1158
1158
|
return i(e, {
|
|
1159
1159
|
cache: r,
|
|
1160
1160
|
serializer: n
|
|
1161
1161
|
});
|
|
1162
1162
|
}
|
|
1163
|
-
function
|
|
1163
|
+
function ui(e) {
|
|
1164
1164
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1167
|
-
var i =
|
|
1166
|
+
function li(e, t, r, n) {
|
|
1167
|
+
var i = ui(n) ? n : r(n), o = t.get(i);
|
|
1168
1168
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function Mr(e, t, r) {
|
|
1171
1171
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1172
1172
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1173
1173
|
}
|
|
1174
|
-
function
|
|
1174
|
+
function Rr(e, t, r, n, i) {
|
|
1175
1175
|
return r.bind(t, e, n, i);
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1178
|
-
var r = e.length === 1 ?
|
|
1179
|
-
return
|
|
1177
|
+
function ci(e, t) {
|
|
1178
|
+
var r = e.length === 1 ? li : Mr;
|
|
1179
|
+
return Rr(e, this, r, t.cache.create(), t.serializer);
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return
|
|
1181
|
+
function hi(e, t) {
|
|
1182
|
+
return Rr(e, this, Mr, t.cache.create(), t.serializer);
|
|
1183
1183
|
}
|
|
1184
|
-
var
|
|
1184
|
+
var fi = function() {
|
|
1185
1185
|
return JSON.stringify(arguments);
|
|
1186
|
-
},
|
|
1186
|
+
}, pi = (
|
|
1187
1187
|
/** @class */
|
|
1188
1188
|
function() {
|
|
1189
1189
|
function e() {
|
|
@@ -1195,71 +1195,71 @@ var ni = function() {
|
|
|
1195
1195
|
this.cache[t] = r;
|
|
1196
1196
|
}, e;
|
|
1197
1197
|
}()
|
|
1198
|
-
),
|
|
1198
|
+
), di = {
|
|
1199
1199
|
create: function() {
|
|
1200
|
-
return new
|
|
1200
|
+
return new pi();
|
|
1201
1201
|
}
|
|
1202
|
-
},
|
|
1203
|
-
variadic:
|
|
1204
|
-
},
|
|
1205
|
-
return
|
|
1202
|
+
}, _t = {
|
|
1203
|
+
variadic: hi
|
|
1204
|
+
}, st = function() {
|
|
1205
|
+
return st = Object.assign || function(t) {
|
|
1206
1206
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1207
1207
|
r = arguments[n];
|
|
1208
1208
|
for (var o in r)
|
|
1209
1209
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1210
1210
|
}
|
|
1211
1211
|
return t;
|
|
1212
|
-
},
|
|
1212
|
+
}, st.apply(this, arguments);
|
|
1213
1213
|
};
|
|
1214
|
-
var
|
|
1214
|
+
var T;
|
|
1215
1215
|
(function(e) {
|
|
1216
1216
|
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";
|
|
1217
|
-
})(
|
|
1217
|
+
})(T || (T = {}));
|
|
1218
1218
|
var B;
|
|
1219
1219
|
(function(e) {
|
|
1220
1220
|
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";
|
|
1221
1221
|
})(B || (B = {}));
|
|
1222
|
-
var
|
|
1222
|
+
var Oe;
|
|
1223
1223
|
(function(e) {
|
|
1224
1224
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1225
|
-
})(
|
|
1226
|
-
function
|
|
1225
|
+
})(Oe || (Oe = {}));
|
|
1226
|
+
function nr(e) {
|
|
1227
1227
|
return e.type === B.literal;
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function mi(e) {
|
|
1230
1230
|
return e.type === B.argument;
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function Ur(e) {
|
|
1233
1233
|
return e.type === B.number;
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function Dr(e) {
|
|
1236
1236
|
return e.type === B.date;
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function kr(e) {
|
|
1239
1239
|
return e.type === B.time;
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function jr(e) {
|
|
1242
1242
|
return e.type === B.select;
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function Gr(e) {
|
|
1245
1245
|
return e.type === B.plural;
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function bi(e) {
|
|
1248
1248
|
return e.type === B.pound;
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function $r(e) {
|
|
1251
1251
|
return e.type === B.tag;
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1253
|
+
function Fr(e) {
|
|
1254
|
+
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1256
|
+
function Nt(e) {
|
|
1257
|
+
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1258
1258
|
}
|
|
1259
|
-
var
|
|
1260
|
-
function
|
|
1259
|
+
var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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;
|
|
1260
|
+
function yi(e) {
|
|
1261
1261
|
var t = {};
|
|
1262
|
-
return e.replace(
|
|
1262
|
+
return e.replace(gi, function(r) {
|
|
1263
1263
|
var n = r.length;
|
|
1264
1264
|
switch (r[0]) {
|
|
1265
1265
|
case "G":
|
|
@@ -1348,46 +1348,46 @@ function li(e) {
|
|
|
1348
1348
|
return "";
|
|
1349
1349
|
}), t;
|
|
1350
1350
|
}
|
|
1351
|
-
var
|
|
1352
|
-
return
|
|
1351
|
+
var L = function() {
|
|
1352
|
+
return L = Object.assign || function(t) {
|
|
1353
1353
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1354
1354
|
r = arguments[n];
|
|
1355
1355
|
for (var o in r)
|
|
1356
1356
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1357
1357
|
}
|
|
1358
1358
|
return t;
|
|
1359
|
-
},
|
|
1359
|
+
}, L.apply(this, arguments);
|
|
1360
1360
|
};
|
|
1361
|
-
var
|
|
1362
|
-
function
|
|
1361
|
+
var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1362
|
+
function _i(e) {
|
|
1363
1363
|
if (e.length === 0)
|
|
1364
1364
|
throw new Error("Number skeleton cannot be empty");
|
|
1365
|
-
for (var t = e.split(
|
|
1365
|
+
for (var t = e.split(vi).filter(function(p) {
|
|
1366
1366
|
return p.length > 0;
|
|
1367
1367
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1368
1368
|
var o = i[n], s = o.split("/");
|
|
1369
1369
|
if (s.length === 0)
|
|
1370
1370
|
throw new Error("Invalid number skeleton");
|
|
1371
|
-
for (var a = s[0], l = s.slice(1), u = 0,
|
|
1372
|
-
var
|
|
1373
|
-
if (
|
|
1371
|
+
for (var a = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
|
|
1372
|
+
var h = c[u];
|
|
1373
|
+
if (h.length === 0)
|
|
1374
1374
|
throw new Error("Invalid number skeleton");
|
|
1375
1375
|
}
|
|
1376
1376
|
r.push({ stem: a, options: l });
|
|
1377
1377
|
}
|
|
1378
1378
|
return r;
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function Ei(e) {
|
|
1381
1381
|
return e.replace(/^(.*?)-/, "");
|
|
1382
1382
|
}
|
|
1383
|
-
var
|
|
1384
|
-
function
|
|
1383
|
+
var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
|
|
1384
|
+
function or(e) {
|
|
1385
1385
|
var t = {};
|
|
1386
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1386
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
|
|
1387
1387
|
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)), "";
|
|
1388
1388
|
}), t;
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1390
|
+
function zr(e) {
|
|
1391
1391
|
switch (e) {
|
|
1392
1392
|
case "sign-auto":
|
|
1393
1393
|
return {
|
|
@@ -1427,7 +1427,7 @@ function Dr(e) {
|
|
|
1427
1427
|
};
|
|
1428
1428
|
}
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function Si(e) {
|
|
1431
1431
|
var t;
|
|
1432
1432
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1433
1433
|
notation: "engineering"
|
|
@@ -1435,17 +1435,17 @@ function di(e) {
|
|
|
1435
1435
|
notation: "scientific"
|
|
1436
1436
|
}, e = e.slice(1)), t) {
|
|
1437
1437
|
var r = e.slice(0, 2);
|
|
1438
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1438
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
|
|
1439
1439
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1440
1440
|
t.minimumIntegerDigits = e.length;
|
|
1441
1441
|
}
|
|
1442
1442
|
return t;
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1445
|
-
var t = {}, r =
|
|
1444
|
+
function sr(e) {
|
|
1445
|
+
var t = {}, r = zr(e);
|
|
1446
1446
|
return r || t;
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function Ti(e) {
|
|
1449
1449
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1450
1450
|
var i = n[r];
|
|
1451
1451
|
switch (i.stem) {
|
|
@@ -1469,7 +1469,7 @@ function mi(e) {
|
|
|
1469
1469
|
continue;
|
|
1470
1470
|
case "measure-unit":
|
|
1471
1471
|
case "unit":
|
|
1472
|
-
t.style = "unit", t.unit =
|
|
1472
|
+
t.style = "unit", t.unit = Ei(i.options[0]);
|
|
1473
1473
|
continue;
|
|
1474
1474
|
case "compact-short":
|
|
1475
1475
|
case "K":
|
|
@@ -1480,13 +1480,13 @@ function mi(e) {
|
|
|
1480
1480
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1481
1481
|
continue;
|
|
1482
1482
|
case "scientific":
|
|
1483
|
-
t =
|
|
1484
|
-
return
|
|
1483
|
+
t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1484
|
+
return L(L({}, l), sr(u));
|
|
1485
1485
|
}, {}));
|
|
1486
1486
|
continue;
|
|
1487
1487
|
case "engineering":
|
|
1488
|
-
t =
|
|
1489
|
-
return
|
|
1488
|
+
t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1489
|
+
return L(L({}, l), sr(u));
|
|
1490
1490
|
}, {}));
|
|
1491
1491
|
continue;
|
|
1492
1492
|
case "notation-simple":
|
|
@@ -1531,11 +1531,11 @@ function mi(e) {
|
|
|
1531
1531
|
case "integer-width":
|
|
1532
1532
|
if (i.options.length > 1)
|
|
1533
1533
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1534
|
-
i.options[0].replace(
|
|
1534
|
+
i.options[0].replace(xi, function(l, u, c, h, p, g) {
|
|
1535
1535
|
if (u)
|
|
1536
|
-
t.minimumIntegerDigits =
|
|
1536
|
+
t.minimumIntegerDigits = c.length;
|
|
1537
1537
|
else {
|
|
1538
|
-
if (
|
|
1538
|
+
if (h && p)
|
|
1539
1539
|
throw new Error("We currently do not support maximum integer digits");
|
|
1540
1540
|
if (g)
|
|
1541
1541
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1544,32 +1544,32 @@ function mi(e) {
|
|
|
1544
1544
|
});
|
|
1545
1545
|
continue;
|
|
1546
1546
|
}
|
|
1547
|
-
if (
|
|
1547
|
+
if (Xr.test(i.stem)) {
|
|
1548
1548
|
t.minimumIntegerDigits = i.stem.length;
|
|
1549
1549
|
continue;
|
|
1550
1550
|
}
|
|
1551
|
-
if (
|
|
1551
|
+
if (ir.test(i.stem)) {
|
|
1552
1552
|
if (i.options.length > 1)
|
|
1553
1553
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1554
|
-
i.stem.replace(
|
|
1555
|
-
return
|
|
1554
|
+
i.stem.replace(ir, function(l, u, c, h, p, g) {
|
|
1555
|
+
return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : p && g ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1556
1556
|
});
|
|
1557
1557
|
var o = i.options[0];
|
|
1558
|
-
o === "w" ? t =
|
|
1558
|
+
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), or(o)));
|
|
1559
1559
|
continue;
|
|
1560
1560
|
}
|
|
1561
|
-
if (
|
|
1562
|
-
t =
|
|
1561
|
+
if (Wr.test(i.stem)) {
|
|
1562
|
+
t = L(L({}, t), or(i.stem));
|
|
1563
1563
|
continue;
|
|
1564
1564
|
}
|
|
1565
|
-
var s =
|
|
1566
|
-
s && (t =
|
|
1567
|
-
var a =
|
|
1568
|
-
a && (t =
|
|
1565
|
+
var s = zr(i.stem);
|
|
1566
|
+
s && (t = L(L({}, t), s));
|
|
1567
|
+
var a = Si(i.stem);
|
|
1568
|
+
a && (t = L(L({}, t), a));
|
|
1569
1569
|
}
|
|
1570
1570
|
return t;
|
|
1571
1571
|
}
|
|
1572
|
-
var
|
|
1572
|
+
var tt = {
|
|
1573
1573
|
"001": [
|
|
1574
1574
|
"H",
|
|
1575
1575
|
"h"
|
|
@@ -2984,13 +2984,13 @@ var Qe = {
|
|
|
2984
2984
|
"h"
|
|
2985
2985
|
]
|
|
2986
2986
|
};
|
|
2987
|
-
function
|
|
2987
|
+
function wi(e, t) {
|
|
2988
2988
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2989
2989
|
var i = e.charAt(n);
|
|
2990
2990
|
if (i === "j") {
|
|
2991
2991
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2992
2992
|
o++, n++;
|
|
2993
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2993
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
|
|
2994
2994
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2995
2995
|
r += l;
|
|
2996
2996
|
for (; s-- > 0; )
|
|
@@ -3000,7 +3000,7 @@ function bi(e, t) {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
return r;
|
|
3002
3002
|
}
|
|
3003
|
-
function
|
|
3003
|
+
function Hi(e) {
|
|
3004
3004
|
var t = e.hourCycle;
|
|
3005
3005
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3006
3006
|
e.hourCycles && // @ts-ignore
|
|
@@ -3019,23 +3019,23 @@ function gi(e) {
|
|
|
3019
3019
|
}
|
|
3020
3020
|
var r = e.language, n;
|
|
3021
3021
|
r !== "root" && (n = e.maximize().region);
|
|
3022
|
-
var i =
|
|
3022
|
+
var i = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
|
|
3023
3023
|
return i[0];
|
|
3024
3024
|
}
|
|
3025
|
-
var
|
|
3026
|
-
function
|
|
3025
|
+
var Et, Ai = new RegExp("^".concat(Vr.source, "*")), Bi = new RegExp("".concat(Vr.source, "*$"));
|
|
3026
|
+
function w(e, t) {
|
|
3027
3027
|
return { start: e, end: t };
|
|
3028
3028
|
}
|
|
3029
|
-
var
|
|
3029
|
+
var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ri = Mi ? Number.isSafeInteger : function(e) {
|
|
3030
3030
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3031
|
-
},
|
|
3031
|
+
}, Mt = !0;
|
|
3032
3032
|
try {
|
|
3033
|
-
var
|
|
3034
|
-
|
|
3033
|
+
var Ui = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3034
|
+
Mt = ((Et = Ui.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
3035
3035
|
} catch {
|
|
3036
|
-
|
|
3036
|
+
Mt = !1;
|
|
3037
3037
|
}
|
|
3038
|
-
var
|
|
3038
|
+
var ar = Pi ? (
|
|
3039
3039
|
// Native
|
|
3040
3040
|
function(t, r, n) {
|
|
3041
3041
|
return t.startsWith(r, n);
|
|
@@ -3045,7 +3045,7 @@ var nr = _i ? (
|
|
|
3045
3045
|
function(t, r, n) {
|
|
3046
3046
|
return t.slice(n, n + r.length) === r;
|
|
3047
3047
|
}
|
|
3048
|
-
),
|
|
3048
|
+
), Rt = Oi ? String.fromCodePoint : (
|
|
3049
3049
|
// IE11
|
|
3050
3050
|
function() {
|
|
3051
3051
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3057,9 +3057,9 @@ var nr = _i ? (
|
|
|
3057
3057
|
}
|
|
3058
3058
|
return n;
|
|
3059
3059
|
}
|
|
3060
|
-
),
|
|
3060
|
+
), ur = (
|
|
3061
3061
|
// native
|
|
3062
|
-
|
|
3062
|
+
Li ? Object.fromEntries : (
|
|
3063
3063
|
// Ponyfill
|
|
3064
3064
|
function(t) {
|
|
3065
3065
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3069,7 +3069,7 @@ var nr = _i ? (
|
|
|
3069
3069
|
return r;
|
|
3070
3070
|
}
|
|
3071
3071
|
)
|
|
3072
|
-
),
|
|
3072
|
+
), Jr = Ci ? (
|
|
3073
3073
|
// Native
|
|
3074
3074
|
function(t, r) {
|
|
3075
3075
|
return t.codePointAt(r);
|
|
@@ -3083,7 +3083,7 @@ var nr = _i ? (
|
|
|
3083
3083
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3084
3084
|
}
|
|
3085
3085
|
}
|
|
3086
|
-
),
|
|
3086
|
+
), Di = Ii ? (
|
|
3087
3087
|
// Native
|
|
3088
3088
|
function(t) {
|
|
3089
3089
|
return t.trimStart();
|
|
@@ -3091,9 +3091,9 @@ var nr = _i ? (
|
|
|
3091
3091
|
) : (
|
|
3092
3092
|
// Ponyfill
|
|
3093
3093
|
function(t) {
|
|
3094
|
-
return t.replace(
|
|
3094
|
+
return t.replace(Ai, "");
|
|
3095
3095
|
}
|
|
3096
|
-
),
|
|
3096
|
+
), ki = Ni ? (
|
|
3097
3097
|
// Native
|
|
3098
3098
|
function(t) {
|
|
3099
3099
|
return t.trimEnd();
|
|
@@ -3101,32 +3101,32 @@ var nr = _i ? (
|
|
|
3101
3101
|
) : (
|
|
3102
3102
|
// Ponyfill
|
|
3103
3103
|
function(t) {
|
|
3104
|
-
return t.replace(
|
|
3104
|
+
return t.replace(Bi, "");
|
|
3105
3105
|
}
|
|
3106
3106
|
);
|
|
3107
|
-
function
|
|
3107
|
+
function Zr(e, t) {
|
|
3108
3108
|
return new RegExp(e, t);
|
|
3109
3109
|
}
|
|
3110
|
-
var
|
|
3111
|
-
if (
|
|
3112
|
-
var
|
|
3113
|
-
|
|
3110
|
+
var Ut;
|
|
3111
|
+
if (Mt) {
|
|
3112
|
+
var lr = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3113
|
+
Ut = function(t, r) {
|
|
3114
3114
|
var n;
|
|
3115
|
-
|
|
3116
|
-
var i =
|
|
3115
|
+
lr.lastIndex = r;
|
|
3116
|
+
var i = lr.exec(t);
|
|
3117
3117
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3118
3118
|
};
|
|
3119
3119
|
} else
|
|
3120
|
-
|
|
3120
|
+
Ut = function(t, r) {
|
|
3121
3121
|
for (var n = []; ; ) {
|
|
3122
|
-
var i =
|
|
3123
|
-
if (i === void 0 ||
|
|
3122
|
+
var i = Jr(t, r);
|
|
3123
|
+
if (i === void 0 || Qr(i) || Fi(i))
|
|
3124
3124
|
break;
|
|
3125
3125
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3126
3126
|
}
|
|
3127
|
-
return
|
|
3127
|
+
return Rt.apply(void 0, n);
|
|
3128
3128
|
};
|
|
3129
|
-
var
|
|
3129
|
+
var ji = (
|
|
3130
3130
|
/** @class */
|
|
3131
3131
|
function() {
|
|
3132
3132
|
function e(t, r) {
|
|
@@ -3151,13 +3151,13 @@ var Li = (
|
|
|
3151
3151
|
var a = this.clonePosition();
|
|
3152
3152
|
this.bump(), i.push({
|
|
3153
3153
|
type: B.pound,
|
|
3154
|
-
location:
|
|
3154
|
+
location: w(a, this.clonePosition())
|
|
3155
3155
|
});
|
|
3156
3156
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3157
3157
|
if (n)
|
|
3158
3158
|
break;
|
|
3159
|
-
return this.error(
|
|
3160
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3159
|
+
return this.error(T.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3160
|
+
} else if (o === 60 && !this.ignoreTag && Dt(this.peek() || 0)) {
|
|
3161
3161
|
var s = this.parseTag(t, r);
|
|
3162
3162
|
if (s.err)
|
|
3163
3163
|
return s;
|
|
@@ -3180,7 +3180,7 @@ var Li = (
|
|
|
3180
3180
|
val: {
|
|
3181
3181
|
type: B.literal,
|
|
3182
3182
|
value: "<".concat(i, "/>"),
|
|
3183
|
-
location:
|
|
3183
|
+
location: w(n, this.clonePosition())
|
|
3184
3184
|
},
|
|
3185
3185
|
err: null
|
|
3186
3186
|
};
|
|
@@ -3190,25 +3190,25 @@ var Li = (
|
|
|
3190
3190
|
return o;
|
|
3191
3191
|
var s = o.val, a = this.clonePosition();
|
|
3192
3192
|
if (this.bumpIf("</")) {
|
|
3193
|
-
if (this.isEOF() || !
|
|
3194
|
-
return this.error(
|
|
3193
|
+
if (this.isEOF() || !Dt(this.char()))
|
|
3194
|
+
return this.error(T.INVALID_TAG, w(a, this.clonePosition()));
|
|
3195
3195
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3196
|
-
return i !== u ? this.error(
|
|
3196
|
+
return i !== u ? this.error(T.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3197
3197
|
val: {
|
|
3198
3198
|
type: B.tag,
|
|
3199
3199
|
value: i,
|
|
3200
3200
|
children: s,
|
|
3201
|
-
location:
|
|
3201
|
+
location: w(n, this.clonePosition())
|
|
3202
3202
|
},
|
|
3203
3203
|
err: null
|
|
3204
|
-
} : this.error(
|
|
3204
|
+
} : this.error(T.INVALID_TAG, w(a, this.clonePosition())));
|
|
3205
3205
|
} else
|
|
3206
|
-
return this.error(
|
|
3206
|
+
return this.error(T.UNCLOSED_TAG, w(n, this.clonePosition()));
|
|
3207
3207
|
} else
|
|
3208
|
-
return this.error(
|
|
3208
|
+
return this.error(T.INVALID_TAG, w(n, this.clonePosition()));
|
|
3209
3209
|
}, e.prototype.parseTagName = function() {
|
|
3210
3210
|
var t = this.offset();
|
|
3211
|
-
for (this.bump(); !this.isEOF() &&
|
|
3211
|
+
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
3212
3212
|
this.bump();
|
|
3213
3213
|
return this.message.slice(t, this.offset());
|
|
3214
3214
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3230,14 +3230,14 @@ var Li = (
|
|
|
3230
3230
|
}
|
|
3231
3231
|
break;
|
|
3232
3232
|
}
|
|
3233
|
-
var l =
|
|
3233
|
+
var l = w(n, this.clonePosition());
|
|
3234
3234
|
return {
|
|
3235
3235
|
val: { type: B.literal, value: i, location: l },
|
|
3236
3236
|
err: null
|
|
3237
3237
|
};
|
|
3238
3238
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3239
3239
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3240
|
-
!
|
|
3240
|
+
!Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3241
3241
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3242
3242
|
if (this.isEOF() || this.char() !== 39)
|
|
3243
3243
|
return null;
|
|
@@ -3271,23 +3271,23 @@ var Li = (
|
|
|
3271
3271
|
r.push(n);
|
|
3272
3272
|
this.bump();
|
|
3273
3273
|
}
|
|
3274
|
-
return
|
|
3274
|
+
return Rt.apply(void 0, r);
|
|
3275
3275
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3276
3276
|
if (this.isEOF())
|
|
3277
3277
|
return null;
|
|
3278
3278
|
var n = this.char();
|
|
3279
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3279
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
|
|
3280
3280
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3281
3281
|
var n = this.clonePosition();
|
|
3282
3282
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3283
|
-
return this.error(
|
|
3283
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
3284
3284
|
if (this.char() === 125)
|
|
3285
|
-
return this.bump(), this.error(
|
|
3285
|
+
return this.bump(), this.error(T.EMPTY_ARGUMENT, w(n, this.clonePosition()));
|
|
3286
3286
|
var i = this.parseIdentifierIfPossible().value;
|
|
3287
3287
|
if (!i)
|
|
3288
|
-
return this.error(
|
|
3288
|
+
return this.error(T.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3289
3289
|
if (this.bumpSpace(), this.isEOF())
|
|
3290
|
-
return this.error(
|
|
3290
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
3291
3291
|
switch (this.char()) {
|
|
3292
3292
|
case 125:
|
|
3293
3293
|
return this.bump(), {
|
|
@@ -3295,25 +3295,25 @@ var Li = (
|
|
|
3295
3295
|
type: B.argument,
|
|
3296
3296
|
// value does not include the opening and closing braces.
|
|
3297
3297
|
value: i,
|
|
3298
|
-
location:
|
|
3298
|
+
location: w(n, this.clonePosition())
|
|
3299
3299
|
},
|
|
3300
3300
|
err: null
|
|
3301
3301
|
};
|
|
3302
3302
|
case 44:
|
|
3303
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3303
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3304
3304
|
default:
|
|
3305
|
-
return this.error(
|
|
3305
|
+
return this.error(T.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3306
3306
|
}
|
|
3307
3307
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3308
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3308
|
+
var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
|
|
3309
3309
|
this.bumpTo(i);
|
|
3310
|
-
var o = this.clonePosition(), s =
|
|
3310
|
+
var o = this.clonePosition(), s = w(t, o);
|
|
3311
3311
|
return { value: n, location: s };
|
|
3312
3312
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3313
3313
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3314
3314
|
switch (a) {
|
|
3315
3315
|
case "":
|
|
3316
|
-
return this.error(
|
|
3316
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, w(s, l));
|
|
3317
3317
|
case "number":
|
|
3318
3318
|
case "date":
|
|
3319
3319
|
case "time": {
|
|
@@ -3321,40 +3321,40 @@ var Li = (
|
|
|
3321
3321
|
var u = null;
|
|
3322
3322
|
if (this.bumpIf(",")) {
|
|
3323
3323
|
this.bumpSpace();
|
|
3324
|
-
var
|
|
3325
|
-
if (
|
|
3326
|
-
return
|
|
3327
|
-
var p =
|
|
3324
|
+
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
3325
|
+
if (h.err)
|
|
3326
|
+
return h;
|
|
3327
|
+
var p = ki(h.val);
|
|
3328
3328
|
if (p.length === 0)
|
|
3329
|
-
return this.error(
|
|
3330
|
-
var g =
|
|
3329
|
+
return this.error(T.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3330
|
+
var g = w(c, this.clonePosition());
|
|
3331
3331
|
u = { style: p, styleLocation: g };
|
|
3332
3332
|
}
|
|
3333
|
-
var
|
|
3334
|
-
if (
|
|
3335
|
-
return
|
|
3336
|
-
var
|
|
3337
|
-
if (u &&
|
|
3338
|
-
var
|
|
3333
|
+
var v = this.tryParseArgumentClose(i);
|
|
3334
|
+
if (v.err)
|
|
3335
|
+
return v;
|
|
3336
|
+
var _ = w(i, this.clonePosition());
|
|
3337
|
+
if (u && ar(u?.style, "::", 0)) {
|
|
3338
|
+
var y = Di(u.style.slice(2));
|
|
3339
3339
|
if (a === "number") {
|
|
3340
|
-
var
|
|
3341
|
-
return
|
|
3342
|
-
val: { type: B.number, value: n, location:
|
|
3340
|
+
var h = this.parseNumberSkeletonFromString(y, u.styleLocation);
|
|
3341
|
+
return h.err ? h : {
|
|
3342
|
+
val: { type: B.number, value: n, location: _, style: h.val },
|
|
3343
3343
|
err: null
|
|
3344
3344
|
};
|
|
3345
3345
|
} else {
|
|
3346
|
-
if (
|
|
3347
|
-
return this.error(
|
|
3348
|
-
var
|
|
3349
|
-
this.locale && (
|
|
3346
|
+
if (y.length === 0)
|
|
3347
|
+
return this.error(T.EXPECT_DATE_TIME_SKELETON, _);
|
|
3348
|
+
var m = y;
|
|
3349
|
+
this.locale && (m = wi(y, this.locale));
|
|
3350
3350
|
var p = {
|
|
3351
|
-
type:
|
|
3352
|
-
pattern:
|
|
3351
|
+
type: Oe.dateTime,
|
|
3352
|
+
pattern: m,
|
|
3353
3353
|
location: u.styleLocation,
|
|
3354
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3355
|
-
},
|
|
3354
|
+
parsedOptions: this.shouldParseSkeletons ? yi(m) : {}
|
|
3355
|
+
}, x = a === "date" ? B.date : B.time;
|
|
3356
3356
|
return {
|
|
3357
|
-
val: { type:
|
|
3357
|
+
val: { type: x, value: n, location: _, style: p },
|
|
3358
3358
|
err: null
|
|
3359
3359
|
};
|
|
3360
3360
|
}
|
|
@@ -3363,7 +3363,7 @@ var Li = (
|
|
|
3363
3363
|
val: {
|
|
3364
3364
|
type: a === "number" ? B.number : a === "date" ? B.date : B.time,
|
|
3365
3365
|
value: n,
|
|
3366
|
-
location:
|
|
3366
|
+
location: _,
|
|
3367
3367
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3368
3368
|
},
|
|
3369
3369
|
err: null
|
|
@@ -3374,50 +3374,50 @@ var Li = (
|
|
|
3374
3374
|
case "select": {
|
|
3375
3375
|
var A = this.clonePosition();
|
|
3376
3376
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3377
|
-
return this.error(
|
|
3377
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, st({}, A)));
|
|
3378
3378
|
this.bumpSpace();
|
|
3379
|
-
var
|
|
3380
|
-
if (a !== "select" &&
|
|
3379
|
+
var D = this.parseIdentifierIfPossible(), k = 0;
|
|
3380
|
+
if (a !== "select" && D.value === "offset") {
|
|
3381
3381
|
if (!this.bumpIf(":"))
|
|
3382
|
-
return this.error(
|
|
3382
|
+
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
3383
3383
|
this.bumpSpace();
|
|
3384
|
-
var
|
|
3385
|
-
if (
|
|
3386
|
-
return
|
|
3387
|
-
this.bumpSpace(),
|
|
3384
|
+
var h = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3385
|
+
if (h.err)
|
|
3386
|
+
return h;
|
|
3387
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), k = h.val;
|
|
3388
3388
|
}
|
|
3389
|
-
var
|
|
3390
|
-
if (
|
|
3391
|
-
return
|
|
3392
|
-
var
|
|
3393
|
-
if (
|
|
3394
|
-
return
|
|
3395
|
-
var
|
|
3389
|
+
var j = this.tryParsePluralOrSelectOptions(t, a, r, D);
|
|
3390
|
+
if (j.err)
|
|
3391
|
+
return j;
|
|
3392
|
+
var v = this.tryParseArgumentClose(i);
|
|
3393
|
+
if (v.err)
|
|
3394
|
+
return v;
|
|
3395
|
+
var re = w(i, this.clonePosition());
|
|
3396
3396
|
return a === "select" ? {
|
|
3397
3397
|
val: {
|
|
3398
3398
|
type: B.select,
|
|
3399
3399
|
value: n,
|
|
3400
|
-
options:
|
|
3401
|
-
location:
|
|
3400
|
+
options: ur(j.val),
|
|
3401
|
+
location: re
|
|
3402
3402
|
},
|
|
3403
3403
|
err: null
|
|
3404
3404
|
} : {
|
|
3405
3405
|
val: {
|
|
3406
3406
|
type: B.plural,
|
|
3407
3407
|
value: n,
|
|
3408
|
-
options:
|
|
3409
|
-
offset:
|
|
3408
|
+
options: ur(j.val),
|
|
3409
|
+
offset: k,
|
|
3410
3410
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3411
|
-
location:
|
|
3411
|
+
location: re
|
|
3412
3412
|
},
|
|
3413
3413
|
err: null
|
|
3414
3414
|
};
|
|
3415
3415
|
}
|
|
3416
3416
|
default:
|
|
3417
|
-
return this.error(
|
|
3417
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, w(s, l));
|
|
3418
3418
|
}
|
|
3419
3419
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3420
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3420
|
+
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3421
3421
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3422
3422
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3423
3423
|
var n = this.char();
|
|
@@ -3426,7 +3426,7 @@ var Li = (
|
|
|
3426
3426
|
this.bump();
|
|
3427
3427
|
var i = this.clonePosition();
|
|
3428
3428
|
if (!this.bumpUntil("'"))
|
|
3429
|
-
return this.error(
|
|
3429
|
+
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
|
|
3430
3430
|
this.bump();
|
|
3431
3431
|
break;
|
|
3432
3432
|
}
|
|
@@ -3456,52 +3456,52 @@ var Li = (
|
|
|
3456
3456
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3457
3457
|
var n = [];
|
|
3458
3458
|
try {
|
|
3459
|
-
n =
|
|
3459
|
+
n = _i(t);
|
|
3460
3460
|
} catch {
|
|
3461
|
-
return this.error(
|
|
3461
|
+
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
3462
3462
|
}
|
|
3463
3463
|
return {
|
|
3464
3464
|
val: {
|
|
3465
|
-
type:
|
|
3465
|
+
type: Oe.number,
|
|
3466
3466
|
tokens: n,
|
|
3467
3467
|
location: r,
|
|
3468
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3468
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
3469
3469
|
},
|
|
3470
3470
|
err: null
|
|
3471
3471
|
};
|
|
3472
3472
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3473
|
-
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value,
|
|
3473
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
|
|
3474
3474
|
if (u.length === 0) {
|
|
3475
|
-
var
|
|
3475
|
+
var h = this.clonePosition();
|
|
3476
3476
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3477
|
-
var p = this.tryParseDecimalInteger(
|
|
3477
|
+
var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3478
3478
|
if (p.err)
|
|
3479
3479
|
return p;
|
|
3480
|
-
|
|
3480
|
+
c = w(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
|
|
3481
3481
|
} else
|
|
3482
3482
|
break;
|
|
3483
3483
|
}
|
|
3484
3484
|
if (l.has(u))
|
|
3485
|
-
return this.error(r === "select" ?
|
|
3485
|
+
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3486
3486
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3487
3487
|
var g = this.clonePosition();
|
|
3488
3488
|
if (!this.bumpIf("{"))
|
|
3489
|
-
return this.error(r === "select" ?
|
|
3490
|
-
var
|
|
3491
|
-
if (
|
|
3492
|
-
return
|
|
3493
|
-
var
|
|
3494
|
-
if (
|
|
3495
|
-
return
|
|
3489
|
+
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3490
|
+
var v = this.parseMessage(t + 1, r, n);
|
|
3491
|
+
if (v.err)
|
|
3492
|
+
return v;
|
|
3493
|
+
var _ = this.tryParseArgumentClose(g);
|
|
3494
|
+
if (_.err)
|
|
3495
|
+
return _;
|
|
3496
3496
|
a.push([
|
|
3497
3497
|
u,
|
|
3498
3498
|
{
|
|
3499
|
-
value:
|
|
3500
|
-
location:
|
|
3499
|
+
value: v.val,
|
|
3500
|
+
location: w(g, this.clonePosition())
|
|
3501
3501
|
}
|
|
3502
|
-
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value,
|
|
3502
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3503
3503
|
}
|
|
3504
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3504
|
+
return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(T.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3505
3505
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3506
3506
|
var n = 1, i = this.clonePosition();
|
|
3507
3507
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3512,8 +3512,8 @@ var Li = (
|
|
|
3512
3512
|
else
|
|
3513
3513
|
break;
|
|
3514
3514
|
}
|
|
3515
|
-
var l =
|
|
3516
|
-
return o ? (s *= n,
|
|
3515
|
+
var l = w(i, this.clonePosition());
|
|
3516
|
+
return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3517
3517
|
}, e.prototype.offset = function() {
|
|
3518
3518
|
return this.position.offset;
|
|
3519
3519
|
}, e.prototype.isEOF = function() {
|
|
@@ -3528,7 +3528,7 @@ var Li = (
|
|
|
3528
3528
|
var t = this.position.offset;
|
|
3529
3529
|
if (t >= this.message.length)
|
|
3530
3530
|
throw Error("out of bound");
|
|
3531
|
-
var r =
|
|
3531
|
+
var r = Jr(this.message, t);
|
|
3532
3532
|
if (r === void 0)
|
|
3533
3533
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3534
3534
|
return r;
|
|
@@ -3547,7 +3547,7 @@ var Li = (
|
|
|
3547
3547
|
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);
|
|
3548
3548
|
}
|
|
3549
3549
|
}, e.prototype.bumpIf = function(t) {
|
|
3550
|
-
if (
|
|
3550
|
+
if (ar(this.message, t, this.offset())) {
|
|
3551
3551
|
for (var r = 0; r < t.length; r++)
|
|
3552
3552
|
this.bump();
|
|
3553
3553
|
return !0;
|
|
@@ -3569,7 +3569,7 @@ var Li = (
|
|
|
3569
3569
|
break;
|
|
3570
3570
|
}
|
|
3571
3571
|
}, e.prototype.bumpSpace = function() {
|
|
3572
|
-
for (; !this.isEOF() &&
|
|
3572
|
+
for (; !this.isEOF() && Qr(this.char()); )
|
|
3573
3573
|
this.bump();
|
|
3574
3574
|
}, e.prototype.peek = function() {
|
|
3575
3575
|
if (this.isEOF())
|
|
@@ -3579,47 +3579,47 @@ var Li = (
|
|
|
3579
3579
|
}, e;
|
|
3580
3580
|
}()
|
|
3581
3581
|
);
|
|
3582
|
-
function
|
|
3582
|
+
function Dt(e) {
|
|
3583
3583
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3584
3584
|
}
|
|
3585
|
-
function
|
|
3586
|
-
return
|
|
3585
|
+
function Gi(e) {
|
|
3586
|
+
return Dt(e) || e === 47;
|
|
3587
3587
|
}
|
|
3588
|
-
function
|
|
3588
|
+
function $i(e) {
|
|
3589
3589
|
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;
|
|
3590
3590
|
}
|
|
3591
|
-
function
|
|
3591
|
+
function Qr(e) {
|
|
3592
3592
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3593
3593
|
}
|
|
3594
|
-
function
|
|
3594
|
+
function Fi(e) {
|
|
3595
3595
|
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;
|
|
3596
3596
|
}
|
|
3597
|
-
function
|
|
3597
|
+
function kt(e) {
|
|
3598
3598
|
e.forEach(function(t) {
|
|
3599
|
-
if (delete t.location,
|
|
3599
|
+
if (delete t.location, jr(t) || Gr(t))
|
|
3600
3600
|
for (var r in t.options)
|
|
3601
|
-
delete t.options[r].location,
|
|
3601
|
+
delete t.options[r].location, kt(t.options[r].value);
|
|
3602
3602
|
else
|
|
3603
|
-
|
|
3603
|
+
Ur(t) && Fr(t.style) || (Dr(t) || kr(t)) && Nt(t.style) ? delete t.style.location : $r(t) && kt(t.children);
|
|
3604
3604
|
});
|
|
3605
3605
|
}
|
|
3606
|
-
function
|
|
3607
|
-
t === void 0 && (t = {}), t =
|
|
3608
|
-
var r = new
|
|
3606
|
+
function Vi(e, t) {
|
|
3607
|
+
t === void 0 && (t = {}), t = st({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3608
|
+
var r = new ji(e, t).parse();
|
|
3609
3609
|
if (r.err) {
|
|
3610
|
-
var n = SyntaxError(
|
|
3610
|
+
var n = SyntaxError(T[r.err.kind]);
|
|
3611
3611
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3612
3612
|
}
|
|
3613
|
-
return t?.captureLocation ||
|
|
3613
|
+
return t?.captureLocation || kt(r.val), r.val;
|
|
3614
3614
|
}
|
|
3615
|
-
var
|
|
3615
|
+
var Le;
|
|
3616
3616
|
(function(e) {
|
|
3617
3617
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3618
|
-
})(
|
|
3619
|
-
var
|
|
3618
|
+
})(Le || (Le = {}));
|
|
3619
|
+
var ft = (
|
|
3620
3620
|
/** @class */
|
|
3621
3621
|
function(e) {
|
|
3622
|
-
|
|
3622
|
+
ht(t, e);
|
|
3623
3623
|
function t(r, n, i) {
|
|
3624
3624
|
var o = e.call(this, r) || this;
|
|
3625
3625
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3628,155 +3628,155 @@ var at = (
|
|
|
3628
3628
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3629
3629
|
}, t;
|
|
3630
3630
|
}(Error)
|
|
3631
|
-
),
|
|
3631
|
+
), cr = (
|
|
3632
3632
|
/** @class */
|
|
3633
3633
|
function(e) {
|
|
3634
|
-
|
|
3634
|
+
ht(t, e);
|
|
3635
3635
|
function t(r, n, i, o) {
|
|
3636
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3636
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
|
|
3637
3637
|
}
|
|
3638
3638
|
return t;
|
|
3639
|
-
}(
|
|
3640
|
-
),
|
|
3639
|
+
}(ft)
|
|
3640
|
+
), Wi = (
|
|
3641
3641
|
/** @class */
|
|
3642
3642
|
function(e) {
|
|
3643
|
-
|
|
3643
|
+
ht(t, e);
|
|
3644
3644
|
function t(r, n, i) {
|
|
3645
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3645
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
|
|
3646
3646
|
}
|
|
3647
3647
|
return t;
|
|
3648
|
-
}(
|
|
3649
|
-
),
|
|
3648
|
+
}(ft)
|
|
3649
|
+
), Xi = (
|
|
3650
3650
|
/** @class */
|
|
3651
3651
|
function(e) {
|
|
3652
|
-
|
|
3652
|
+
ht(t, e);
|
|
3653
3653
|
function t(r, n) {
|
|
3654
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3654
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
|
|
3655
3655
|
}
|
|
3656
3656
|
return t;
|
|
3657
|
-
}(
|
|
3658
|
-
),
|
|
3657
|
+
}(ft)
|
|
3658
|
+
), G;
|
|
3659
3659
|
(function(e) {
|
|
3660
3660
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3661
|
-
})(
|
|
3662
|
-
function
|
|
3661
|
+
})(G || (G = {}));
|
|
3662
|
+
function zi(e) {
|
|
3663
3663
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3664
3664
|
var n = t[t.length - 1];
|
|
3665
|
-
return !n || n.type !==
|
|
3665
|
+
return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
|
|
3666
3666
|
}, []);
|
|
3667
3667
|
}
|
|
3668
|
-
function
|
|
3668
|
+
function Ji(e) {
|
|
3669
3669
|
return typeof e == "function";
|
|
3670
3670
|
}
|
|
3671
|
-
function
|
|
3672
|
-
if (e.length === 1 &&
|
|
3671
|
+
function it(e, t, r, n, i, o, s) {
|
|
3672
|
+
if (e.length === 1 && nr(e[0]))
|
|
3673
3673
|
return [
|
|
3674
3674
|
{
|
|
3675
|
-
type:
|
|
3675
|
+
type: G.literal,
|
|
3676
3676
|
value: e[0].value
|
|
3677
3677
|
}
|
|
3678
3678
|
];
|
|
3679
3679
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3680
|
-
var
|
|
3681
|
-
if (
|
|
3680
|
+
var c = u[l];
|
|
3681
|
+
if (nr(c)) {
|
|
3682
3682
|
a.push({
|
|
3683
|
-
type:
|
|
3684
|
-
value:
|
|
3683
|
+
type: G.literal,
|
|
3684
|
+
value: c.value
|
|
3685
3685
|
});
|
|
3686
3686
|
continue;
|
|
3687
3687
|
}
|
|
3688
|
-
if (
|
|
3688
|
+
if (bi(c)) {
|
|
3689
3689
|
typeof o == "number" && a.push({
|
|
3690
|
-
type:
|
|
3690
|
+
type: G.literal,
|
|
3691
3691
|
value: r.getNumberFormat(t).format(o)
|
|
3692
3692
|
});
|
|
3693
3693
|
continue;
|
|
3694
3694
|
}
|
|
3695
|
-
var
|
|
3696
|
-
if (!(i &&
|
|
3697
|
-
throw new
|
|
3698
|
-
var p = i[
|
|
3699
|
-
if (
|
|
3695
|
+
var h = c.value;
|
|
3696
|
+
if (!(i && h in i))
|
|
3697
|
+
throw new Xi(h, s);
|
|
3698
|
+
var p = i[h];
|
|
3699
|
+
if (mi(c)) {
|
|
3700
3700
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3701
|
-
type: typeof p == "string" ?
|
|
3701
|
+
type: typeof p == "string" ? G.literal : G.object,
|
|
3702
3702
|
value: p
|
|
3703
3703
|
});
|
|
3704
3704
|
continue;
|
|
3705
3705
|
}
|
|
3706
|
-
if (
|
|
3707
|
-
var g = typeof
|
|
3706
|
+
if (Dr(c)) {
|
|
3707
|
+
var g = typeof c.style == "string" ? n.date[c.style] : Nt(c.style) ? c.style.parsedOptions : void 0;
|
|
3708
3708
|
a.push({
|
|
3709
|
-
type:
|
|
3709
|
+
type: G.literal,
|
|
3710
3710
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3711
3711
|
});
|
|
3712
3712
|
continue;
|
|
3713
3713
|
}
|
|
3714
|
-
if (
|
|
3715
|
-
var g = typeof
|
|
3714
|
+
if (kr(c)) {
|
|
3715
|
+
var g = typeof c.style == "string" ? n.time[c.style] : Nt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3716
3716
|
a.push({
|
|
3717
|
-
type:
|
|
3717
|
+
type: G.literal,
|
|
3718
3718
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3719
3719
|
});
|
|
3720
3720
|
continue;
|
|
3721
3721
|
}
|
|
3722
|
-
if (
|
|
3723
|
-
var g = typeof
|
|
3722
|
+
if (Ur(c)) {
|
|
3723
|
+
var g = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
|
|
3724
3724
|
g && g.scale && (p = p * (g.scale || 1)), a.push({
|
|
3725
|
-
type:
|
|
3725
|
+
type: G.literal,
|
|
3726
3726
|
value: r.getNumberFormat(t, g).format(p)
|
|
3727
3727
|
});
|
|
3728
3728
|
continue;
|
|
3729
3729
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
var
|
|
3732
|
-
if (!
|
|
3733
|
-
throw new
|
|
3734
|
-
var
|
|
3735
|
-
return
|
|
3730
|
+
if ($r(c)) {
|
|
3731
|
+
var v = c.children, _ = c.value, y = i[_];
|
|
3732
|
+
if (!Ji(y))
|
|
3733
|
+
throw new Wi(_, "function", s);
|
|
3734
|
+
var m = it(v, t, r, n, i, o), x = y(m.map(function(k) {
|
|
3735
|
+
return k.value;
|
|
3736
3736
|
}));
|
|
3737
|
-
Array.isArray(
|
|
3737
|
+
Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(k) {
|
|
3738
3738
|
return {
|
|
3739
|
-
type: typeof
|
|
3740
|
-
value:
|
|
3739
|
+
type: typeof k == "string" ? G.literal : G.object,
|
|
3740
|
+
value: k
|
|
3741
3741
|
};
|
|
3742
3742
|
}));
|
|
3743
3743
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var A =
|
|
3744
|
+
if (jr(c)) {
|
|
3745
|
+
var A = c.options[p] || c.options.other;
|
|
3746
3746
|
if (!A)
|
|
3747
|
-
throw new
|
|
3748
|
-
a.push.apply(a,
|
|
3747
|
+
throw new cr(c.value, p, Object.keys(c.options), s);
|
|
3748
|
+
a.push.apply(a, it(A.value, t, r, n, i));
|
|
3749
3749
|
continue;
|
|
3750
3750
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var A =
|
|
3751
|
+
if (Gr(c)) {
|
|
3752
|
+
var A = c.options["=".concat(p)];
|
|
3753
3753
|
if (!A) {
|
|
3754
3754
|
if (!Intl.PluralRules)
|
|
3755
|
-
throw new
|
|
3755
|
+
throw new ft(`Intl.PluralRules is not available in this environment.
|
|
3756
3756
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3757
|
-
`,
|
|
3758
|
-
var
|
|
3759
|
-
A =
|
|
3757
|
+
`, Le.MISSING_INTL_API, s);
|
|
3758
|
+
var D = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3759
|
+
A = c.options[D] || c.options.other;
|
|
3760
3760
|
}
|
|
3761
3761
|
if (!A)
|
|
3762
|
-
throw new
|
|
3763
|
-
a.push.apply(a,
|
|
3762
|
+
throw new cr(c.value, p, Object.keys(c.options), s);
|
|
3763
|
+
a.push.apply(a, it(A.value, t, r, n, i, p - (c.offset || 0)));
|
|
3764
3764
|
continue;
|
|
3765
3765
|
}
|
|
3766
3766
|
}
|
|
3767
|
-
return
|
|
3767
|
+
return zi(a);
|
|
3768
3768
|
}
|
|
3769
|
-
function
|
|
3770
|
-
return t ?
|
|
3771
|
-
return r[n] =
|
|
3769
|
+
function Zi(e, t) {
|
|
3770
|
+
return t ? te(te(te({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3771
|
+
return r[n] = te(te({}, e[n]), t[n] || {}), r;
|
|
3772
3772
|
}, {})) : e;
|
|
3773
3773
|
}
|
|
3774
|
-
function
|
|
3774
|
+
function Qi(e, t) {
|
|
3775
3775
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3776
|
-
return r[n] =
|
|
3777
|
-
},
|
|
3776
|
+
return r[n] = Zi(e[n], t[n]), r;
|
|
3777
|
+
}, te({}, e)) : e;
|
|
3778
3778
|
}
|
|
3779
|
-
function
|
|
3779
|
+
function xt(e) {
|
|
3780
3780
|
return {
|
|
3781
3781
|
create: function() {
|
|
3782
3782
|
return {
|
|
@@ -3790,39 +3790,39 @@ function yt(e) {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
};
|
|
3792
3792
|
}
|
|
3793
|
-
function
|
|
3793
|
+
function Yi(e) {
|
|
3794
3794
|
return e === void 0 && (e = {
|
|
3795
3795
|
number: {},
|
|
3796
3796
|
dateTime: {},
|
|
3797
3797
|
pluralRules: {}
|
|
3798
3798
|
}), {
|
|
3799
|
-
getNumberFormat:
|
|
3799
|
+
getNumberFormat: vt(function() {
|
|
3800
3800
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3801
3801
|
r[n] = arguments[n];
|
|
3802
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3802
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, yt([void 0], r, !1)))();
|
|
3803
3803
|
}, {
|
|
3804
|
-
cache:
|
|
3805
|
-
strategy:
|
|
3804
|
+
cache: xt(e.number),
|
|
3805
|
+
strategy: _t.variadic
|
|
3806
3806
|
}),
|
|
3807
|
-
getDateTimeFormat:
|
|
3807
|
+
getDateTimeFormat: vt(function() {
|
|
3808
3808
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3809
3809
|
r[n] = arguments[n];
|
|
3810
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3810
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, yt([void 0], r, !1)))();
|
|
3811
3811
|
}, {
|
|
3812
|
-
cache:
|
|
3813
|
-
strategy:
|
|
3812
|
+
cache: xt(e.dateTime),
|
|
3813
|
+
strategy: _t.variadic
|
|
3814
3814
|
}),
|
|
3815
|
-
getPluralRules:
|
|
3815
|
+
getPluralRules: vt(function() {
|
|
3816
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3817
3817
|
r[n] = arguments[n];
|
|
3818
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.PluralRules).bind.apply(t, yt([void 0], r, !1)))();
|
|
3819
3819
|
}, {
|
|
3820
|
-
cache:
|
|
3821
|
-
strategy:
|
|
3820
|
+
cache: xt(e.pluralRules),
|
|
3821
|
+
strategy: _t.variadic
|
|
3822
3822
|
})
|
|
3823
3823
|
};
|
|
3824
3824
|
}
|
|
3825
|
-
var
|
|
3825
|
+
var qi = (
|
|
3826
3826
|
/** @class */
|
|
3827
3827
|
function() {
|
|
3828
3828
|
function e(t, r, n, i) {
|
|
@@ -3836,12 +3836,12 @@ var Fi = (
|
|
|
3836
3836
|
var u = o.formatToParts(l);
|
|
3837
3837
|
if (u.length === 1)
|
|
3838
3838
|
return u[0].value;
|
|
3839
|
-
var
|
|
3840
|
-
return !
|
|
3839
|
+
var c = u.reduce(function(h, p) {
|
|
3840
|
+
return !h.length || p.type !== G.literal || typeof h[h.length - 1] != "string" ? h.push(p.value) : h[h.length - 1] += p.value, h;
|
|
3841
3841
|
}, []);
|
|
3842
|
-
return
|
|
3842
|
+
return c.length <= 1 ? c[0] || "" : c;
|
|
3843
3843
|
}, this.formatToParts = function(l) {
|
|
3844
|
-
return
|
|
3844
|
+
return it(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3845
3845
|
}, this.resolvedOptions = function() {
|
|
3846
3846
|
var l;
|
|
3847
3847
|
return {
|
|
@@ -3854,13 +3854,13 @@ var Fi = (
|
|
|
3854
3854
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3855
3855
|
var s = i || {};
|
|
3856
3856
|
s.formatters;
|
|
3857
|
-
var a =
|
|
3858
|
-
this.ast = e.__parse(t,
|
|
3857
|
+
var a = ai(s, ["formatters"]);
|
|
3858
|
+
this.ast = e.__parse(t, te(te({}, a), { locale: this.resolvedLocale }));
|
|
3859
3859
|
} else
|
|
3860
3860
|
this.ast = t;
|
|
3861
3861
|
if (!Array.isArray(this.ast))
|
|
3862
3862
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3863
|
-
this.formats =
|
|
3863
|
+
this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Yi(this.formatterCache);
|
|
3864
3864
|
}
|
|
3865
3865
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3866
3866
|
get: function() {
|
|
@@ -3873,7 +3873,7 @@ var Fi = (
|
|
|
3873
3873
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3874
3874
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3875
3875
|
}
|
|
3876
|
-
}, e.__parse =
|
|
3876
|
+
}, e.__parse = Vi, e.formats = {
|
|
3877
3877
|
number: {
|
|
3878
3878
|
integer: {
|
|
3879
3879
|
maximumFractionDigits: 0
|
|
@@ -3934,7 +3934,7 @@ var Fi = (
|
|
|
3934
3934
|
}, e;
|
|
3935
3935
|
}()
|
|
3936
3936
|
);
|
|
3937
|
-
function
|
|
3937
|
+
function Ki(e, t) {
|
|
3938
3938
|
if (t == null)
|
|
3939
3939
|
return;
|
|
3940
3940
|
if (t in e)
|
|
@@ -3955,92 +3955,92 @@ function Vi(e, t) {
|
|
|
3955
3955
|
n = void 0;
|
|
3956
3956
|
return n;
|
|
3957
3957
|
}
|
|
3958
|
-
const
|
|
3958
|
+
const he = {}, eo = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), Yr = (e, t) => {
|
|
3959
3959
|
if (t == null)
|
|
3960
3960
|
return;
|
|
3961
|
-
if (t in
|
|
3962
|
-
return
|
|
3963
|
-
const r =
|
|
3961
|
+
if (t in he && e in he[t])
|
|
3962
|
+
return he[t][e];
|
|
3963
|
+
const r = pt(t);
|
|
3964
3964
|
for (let n = 0; n < r.length; n++) {
|
|
3965
|
-
const i = r[n], o =
|
|
3965
|
+
const i = r[n], o = ro(i, e);
|
|
3966
3966
|
if (o)
|
|
3967
|
-
return
|
|
3967
|
+
return eo(e, t, o);
|
|
3968
3968
|
}
|
|
3969
3969
|
};
|
|
3970
|
-
let
|
|
3971
|
-
const
|
|
3972
|
-
function
|
|
3973
|
-
return
|
|
3970
|
+
let Ft;
|
|
3971
|
+
const Je = ct({});
|
|
3972
|
+
function to(e) {
|
|
3973
|
+
return Ft[e] || null;
|
|
3974
3974
|
}
|
|
3975
|
-
function
|
|
3976
|
-
return e in
|
|
3975
|
+
function qr(e) {
|
|
3976
|
+
return e in Ft;
|
|
3977
3977
|
}
|
|
3978
|
-
function
|
|
3979
|
-
if (!
|
|
3978
|
+
function ro(e, t) {
|
|
3979
|
+
if (!qr(e))
|
|
3980
3980
|
return null;
|
|
3981
|
-
const r =
|
|
3982
|
-
return
|
|
3981
|
+
const r = to(e);
|
|
3982
|
+
return Ki(r, t);
|
|
3983
3983
|
}
|
|
3984
|
-
function
|
|
3984
|
+
function no(e) {
|
|
3985
3985
|
if (e == null)
|
|
3986
3986
|
return;
|
|
3987
|
-
const t =
|
|
3987
|
+
const t = pt(e);
|
|
3988
3988
|
for (let r = 0; r < t.length; r++) {
|
|
3989
3989
|
const n = t[r];
|
|
3990
|
-
if (
|
|
3990
|
+
if (qr(n))
|
|
3991
3991
|
return n;
|
|
3992
3992
|
}
|
|
3993
3993
|
}
|
|
3994
|
-
function
|
|
3995
|
-
delete
|
|
3994
|
+
function Kr(e, ...t) {
|
|
3995
|
+
delete he[e], Je.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3996
3996
|
}
|
|
3997
|
-
|
|
3998
|
-
[
|
|
3997
|
+
Ie(
|
|
3998
|
+
[Je],
|
|
3999
3999
|
([e]) => Object.keys(e)
|
|
4000
4000
|
);
|
|
4001
|
-
|
|
4002
|
-
const
|
|
4003
|
-
function
|
|
4004
|
-
|
|
4001
|
+
Je.subscribe((e) => Ft = e);
|
|
4002
|
+
const ot = {};
|
|
4003
|
+
function io(e, t) {
|
|
4004
|
+
ot[e].delete(t), ot[e].size === 0 && delete ot[e];
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4007
|
-
return
|
|
4006
|
+
function en(e) {
|
|
4007
|
+
return ot[e];
|
|
4008
4008
|
}
|
|
4009
|
-
function
|
|
4010
|
-
return
|
|
4011
|
-
const r =
|
|
4009
|
+
function oo(e) {
|
|
4010
|
+
return pt(e).map((t) => {
|
|
4011
|
+
const r = en(t);
|
|
4012
4012
|
return [t, r ? [...r] : []];
|
|
4013
4013
|
}).filter(([, t]) => t.length > 0);
|
|
4014
4014
|
}
|
|
4015
|
-
function
|
|
4016
|
-
return e == null ? !1 :
|
|
4015
|
+
function jt(e) {
|
|
4016
|
+
return e == null ? !1 : pt(e).some(
|
|
4017
4017
|
(t) => {
|
|
4018
4018
|
var r;
|
|
4019
|
-
return (r =
|
|
4019
|
+
return (r = en(t)) == null ? void 0 : r.size;
|
|
4020
4020
|
}
|
|
4021
4021
|
);
|
|
4022
4022
|
}
|
|
4023
|
-
function
|
|
4023
|
+
function so(e, t) {
|
|
4024
4024
|
return Promise.all(
|
|
4025
|
-
t.map((n) => (
|
|
4026
|
-
).then((n) =>
|
|
4027
|
-
}
|
|
4028
|
-
const
|
|
4029
|
-
function
|
|
4030
|
-
if (!
|
|
4031
|
-
return e in
|
|
4032
|
-
const t =
|
|
4033
|
-
return
|
|
4025
|
+
t.map((n) => (io(e, n), n().then((i) => i.default || i)))
|
|
4026
|
+
).then((n) => Kr(e, ...n));
|
|
4027
|
+
}
|
|
4028
|
+
const Ge = {};
|
|
4029
|
+
function tn(e) {
|
|
4030
|
+
if (!jt(e))
|
|
4031
|
+
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4032
|
+
const t = oo(e);
|
|
4033
|
+
return Ge[e] = Promise.all(
|
|
4034
4034
|
t.map(
|
|
4035
|
-
([r, n]) =>
|
|
4035
|
+
([r, n]) => so(r, n)
|
|
4036
4036
|
)
|
|
4037
4037
|
).then(() => {
|
|
4038
|
-
if (
|
|
4039
|
-
return
|
|
4040
|
-
delete
|
|
4041
|
-
}),
|
|
4038
|
+
if (jt(e))
|
|
4039
|
+
return tn(e);
|
|
4040
|
+
delete Ge[e];
|
|
4041
|
+
}), Ge[e];
|
|
4042
4042
|
}
|
|
4043
|
-
const
|
|
4043
|
+
const ao = {
|
|
4044
4044
|
number: {
|
|
4045
4045
|
scientific: { notation: "scientific" },
|
|
4046
4046
|
engineering: { notation: "engineering" },
|
|
@@ -4069,181 +4069,181 @@ const qi = {
|
|
|
4069
4069
|
timeZoneName: "short"
|
|
4070
4070
|
}
|
|
4071
4071
|
}
|
|
4072
|
-
},
|
|
4072
|
+
}, uo = {
|
|
4073
4073
|
fallbackLocale: null,
|
|
4074
4074
|
loadingDelay: 200,
|
|
4075
|
-
formats:
|
|
4075
|
+
formats: ao,
|
|
4076
4076
|
warnOnMissingMessages: !0,
|
|
4077
4077
|
handleMissingMessage: void 0,
|
|
4078
4078
|
ignoreTag: !0
|
|
4079
|
-
},
|
|
4080
|
-
function
|
|
4081
|
-
return
|
|
4079
|
+
}, lo = uo;
|
|
4080
|
+
function Ce() {
|
|
4081
|
+
return lo;
|
|
4082
4082
|
}
|
|
4083
|
-
const
|
|
4084
|
-
var
|
|
4083
|
+
const St = ct(!1);
|
|
4084
|
+
var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
|
|
4085
4085
|
for (var r in t || (t = {}))
|
|
4086
|
-
|
|
4087
|
-
if (
|
|
4088
|
-
for (var r of
|
|
4089
|
-
|
|
4086
|
+
po.call(t, r) && fr(e, r, t[r]);
|
|
4087
|
+
if (hr)
|
|
4088
|
+
for (var r of hr(t))
|
|
4089
|
+
mo.call(t, r) && fr(e, r, t[r]);
|
|
4090
4090
|
return e;
|
|
4091
|
-
},
|
|
4092
|
-
let
|
|
4093
|
-
const
|
|
4094
|
-
function
|
|
4091
|
+
}, go = (e, t) => ho(e, fo(t));
|
|
4092
|
+
let Gt;
|
|
4093
|
+
const at = ct(null);
|
|
4094
|
+
function pr(e) {
|
|
4095
4095
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4096
4096
|
}
|
|
4097
|
-
function
|
|
4098
|
-
const r =
|
|
4099
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4097
|
+
function pt(e, t = Ce().fallbackLocale) {
|
|
4098
|
+
const r = pr(e);
|
|
4099
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
|
|
4100
4100
|
}
|
|
4101
|
-
function
|
|
4102
|
-
return
|
|
4101
|
+
function be() {
|
|
4102
|
+
return Gt ?? void 0;
|
|
4103
4103
|
}
|
|
4104
|
-
|
|
4105
|
-
|
|
4104
|
+
at.subscribe((e) => {
|
|
4105
|
+
Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4106
4106
|
});
|
|
4107
|
-
const
|
|
4108
|
-
if (e &&
|
|
4109
|
-
const { loadingDelay: t } =
|
|
4107
|
+
const yo = (e) => {
|
|
4108
|
+
if (e && no(e) && jt(e)) {
|
|
4109
|
+
const { loadingDelay: t } = Ce();
|
|
4110
4110
|
let r;
|
|
4111
|
-
return typeof window < "u" &&
|
|
4112
|
-
() =>
|
|
4111
|
+
return typeof window < "u" && be() != null && t ? r = window.setTimeout(
|
|
4112
|
+
() => St.set(!0),
|
|
4113
4113
|
t
|
|
4114
|
-
) :
|
|
4115
|
-
|
|
4114
|
+
) : St.set(!0), tn(e).then(() => {
|
|
4115
|
+
at.set(e);
|
|
4116
4116
|
}).finally(() => {
|
|
4117
|
-
clearTimeout(r),
|
|
4117
|
+
clearTimeout(r), St.set(!1);
|
|
4118
4118
|
});
|
|
4119
4119
|
}
|
|
4120
|
-
return
|
|
4121
|
-
},
|
|
4122
|
-
set:
|
|
4123
|
-
}),
|
|
4120
|
+
return at.set(e);
|
|
4121
|
+
}, Ne = go(bo({}, at), {
|
|
4122
|
+
set: yo
|
|
4123
|
+
}), dt = (e) => {
|
|
4124
4124
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4125
4125
|
return (n) => {
|
|
4126
4126
|
const i = JSON.stringify(n);
|
|
4127
4127
|
return i in t ? t[i] : t[i] = e(n);
|
|
4128
4128
|
};
|
|
4129
4129
|
};
|
|
4130
|
-
var
|
|
4130
|
+
var vo = Object.defineProperty, ut = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
4131
4131
|
for (var r in t || (t = {}))
|
|
4132
|
-
|
|
4133
|
-
if (
|
|
4134
|
-
for (var r of
|
|
4135
|
-
|
|
4132
|
+
rn.call(t, r) && dr(e, r, t[r]);
|
|
4133
|
+
if (ut)
|
|
4134
|
+
for (var r of ut(t))
|
|
4135
|
+
nn.call(t, r) && dr(e, r, t[r]);
|
|
4136
4136
|
return e;
|
|
4137
|
-
},
|
|
4137
|
+
}, Me = (e, t) => {
|
|
4138
4138
|
var r = {};
|
|
4139
4139
|
for (var n in e)
|
|
4140
|
-
|
|
4141
|
-
if (e != null &&
|
|
4142
|
-
for (var n of
|
|
4143
|
-
t.indexOf(n) < 0 &&
|
|
4140
|
+
rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4141
|
+
if (e != null && ut)
|
|
4142
|
+
for (var n of ut(e))
|
|
4143
|
+
t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
|
|
4144
4144
|
return r;
|
|
4145
4145
|
};
|
|
4146
|
-
const
|
|
4147
|
-
const { formats: r } =
|
|
4146
|
+
const We = (e, t) => {
|
|
4147
|
+
const { formats: r } = Ce();
|
|
4148
4148
|
if (e in r && t in r[e])
|
|
4149
4149
|
return r[e][t];
|
|
4150
4150
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4151
|
-
},
|
|
4151
|
+
}, _o = dt(
|
|
4152
4152
|
(e) => {
|
|
4153
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4153
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4154
4154
|
if (r == null)
|
|
4155
4155
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4156
|
-
return n && (i =
|
|
4156
|
+
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4157
4157
|
}
|
|
4158
|
-
),
|
|
4158
|
+
), Eo = dt(
|
|
4159
4159
|
(e) => {
|
|
4160
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4160
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4161
4161
|
if (r == null)
|
|
4162
4162
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4163
|
-
return n ? i =
|
|
4163
|
+
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4164
4164
|
}
|
|
4165
|
-
),
|
|
4165
|
+
), xo = dt(
|
|
4166
4166
|
(e) => {
|
|
4167
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4167
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4168
4168
|
if (r == null)
|
|
4169
4169
|
throw new Error(
|
|
4170
4170
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4171
4171
|
);
|
|
4172
|
-
return n ? i =
|
|
4172
|
+
return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4173
4173
|
}
|
|
4174
|
-
),
|
|
4174
|
+
), So = (e = {}) => {
|
|
4175
4175
|
var t = e, {
|
|
4176
|
-
locale: r =
|
|
4177
|
-
} = t, n =
|
|
4176
|
+
locale: r = be()
|
|
4177
|
+
} = t, n = Me(t, [
|
|
4178
4178
|
"locale"
|
|
4179
4179
|
]);
|
|
4180
|
-
return
|
|
4181
|
-
},
|
|
4180
|
+
return _o(Vt({ locale: r }, n));
|
|
4181
|
+
}, To = (e = {}) => {
|
|
4182
4182
|
var t = e, {
|
|
4183
|
-
locale: r =
|
|
4184
|
-
} = t, n =
|
|
4183
|
+
locale: r = be()
|
|
4184
|
+
} = t, n = Me(t, [
|
|
4185
4185
|
"locale"
|
|
4186
4186
|
]);
|
|
4187
|
-
return
|
|
4188
|
-
},
|
|
4187
|
+
return Eo(Vt({ locale: r }, n));
|
|
4188
|
+
}, wo = (e = {}) => {
|
|
4189
4189
|
var t = e, {
|
|
4190
|
-
locale: r =
|
|
4191
|
-
} = t, n =
|
|
4190
|
+
locale: r = be()
|
|
4191
|
+
} = t, n = Me(t, [
|
|
4192
4192
|
"locale"
|
|
4193
4193
|
]);
|
|
4194
|
-
return
|
|
4195
|
-
},
|
|
4194
|
+
return xo(Vt({ locale: r }, n));
|
|
4195
|
+
}, Ho = dt(
|
|
4196
4196
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4197
|
-
(e, t =
|
|
4198
|
-
ignoreTag:
|
|
4197
|
+
(e, t = be()) => new qi(e, t, Ce().formats, {
|
|
4198
|
+
ignoreTag: Ce().ignoreTag
|
|
4199
4199
|
})
|
|
4200
|
-
),
|
|
4200
|
+
), Ao = (e, t = {}) => {
|
|
4201
4201
|
var r, n, i, o;
|
|
4202
4202
|
let s = t;
|
|
4203
4203
|
typeof e == "object" && (s = e, e = s.id);
|
|
4204
4204
|
const {
|
|
4205
4205
|
values: a,
|
|
4206
|
-
locale: l =
|
|
4206
|
+
locale: l = be(),
|
|
4207
4207
|
default: u
|
|
4208
4208
|
} = s;
|
|
4209
4209
|
if (l == null)
|
|
4210
4210
|
throw new Error(
|
|
4211
4211
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4212
4212
|
);
|
|
4213
|
-
let
|
|
4214
|
-
if (!
|
|
4215
|
-
|
|
4216
|
-
else if (typeof
|
|
4213
|
+
let c = Yr(e, l);
|
|
4214
|
+
if (!c)
|
|
4215
|
+
c = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4216
|
+
else if (typeof c != "string")
|
|
4217
4217
|
return console.warn(
|
|
4218
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4219
|
-
),
|
|
4218
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4219
|
+
), c;
|
|
4220
4220
|
if (!a)
|
|
4221
|
-
return
|
|
4222
|
-
let
|
|
4221
|
+
return c;
|
|
4222
|
+
let h = c;
|
|
4223
4223
|
try {
|
|
4224
|
-
|
|
4224
|
+
h = Ho(c, l).format(a);
|
|
4225
4225
|
} catch (p) {
|
|
4226
4226
|
p instanceof Error && console.warn(
|
|
4227
4227
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4228
4228
|
p.message
|
|
4229
4229
|
);
|
|
4230
4230
|
}
|
|
4231
|
-
return
|
|
4232
|
-
},
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
window.emWidgets = { topic:
|
|
4239
|
-
const
|
|
4240
|
-
function
|
|
4231
|
+
return h;
|
|
4232
|
+
}, Bo = (e, t) => wo(t).format(e), Po = (e, t) => To(t).format(e), Oo = (e, t) => So(t).format(e), Lo = (e, t = be()) => Yr(e, t);
|
|
4233
|
+
Ie([Ne, Je], () => Ao);
|
|
4234
|
+
Ie([Ne], () => Bo);
|
|
4235
|
+
Ie([Ne], () => Po);
|
|
4236
|
+
Ie([Ne], () => Oo);
|
|
4237
|
+
Ie([Ne, Je], () => Lo);
|
|
4238
|
+
window.emWidgets = { topic: Fn };
|
|
4239
|
+
const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4240
|
+
function Io(e, t) {
|
|
4241
4241
|
if (e) {
|
|
4242
4242
|
const r = document.createElement("style");
|
|
4243
4243
|
r.innerHTML = t, e.appendChild(r);
|
|
4244
4244
|
}
|
|
4245
4245
|
}
|
|
4246
|
-
function
|
|
4246
|
+
function No(e, t) {
|
|
4247
4247
|
const r = new URL(t);
|
|
4248
4248
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4249
4249
|
const i = document.createElement("style");
|
|
@@ -4252,7 +4252,7 @@ function wo(e, t) {
|
|
|
4252
4252
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4253
4253
|
});
|
|
4254
4254
|
}
|
|
4255
|
-
function
|
|
4255
|
+
function Mo(e, t, r) {
|
|
4256
4256
|
if (window.emMessageBus) {
|
|
4257
4257
|
const n = document.createElement("style");
|
|
4258
4258
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4260,13 +4260,13 @@ function Ho(e, t, r) {
|
|
|
4260
4260
|
});
|
|
4261
4261
|
}
|
|
4262
4262
|
}
|
|
4263
|
-
function
|
|
4264
|
-
|
|
4263
|
+
function mr(e, t) {
|
|
4264
|
+
Kr(e, t);
|
|
4265
4265
|
}
|
|
4266
|
-
function
|
|
4267
|
-
|
|
4266
|
+
function Ro(e) {
|
|
4267
|
+
Ne.set(e);
|
|
4268
4268
|
}
|
|
4269
|
-
const
|
|
4269
|
+
const br = {
|
|
4270
4270
|
en: {
|
|
4271
4271
|
loadingText: "Loading, please wait..."
|
|
4272
4272
|
},
|
|
@@ -4304,266 +4304,242 @@ const fr = {
|
|
|
4304
4304
|
loadingText: "Loading, please wait..."
|
|
4305
4305
|
}
|
|
4306
4306
|
};
|
|
4307
|
-
function
|
|
4308
|
-
|
|
4307
|
+
function Uo(e) {
|
|
4308
|
+
an(e, "svelte-hxpfl0", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4309
4309
|
}
|
|
4310
|
-
function
|
|
4310
|
+
function gr(e, t, r) {
|
|
4311
4311
|
const n = e.slice();
|
|
4312
|
-
return n[
|
|
4312
|
+
return n[55] = t[r], n[57] = r, n;
|
|
4313
4313
|
}
|
|
4314
|
-
function
|
|
4315
|
-
let t, r, n, i, o, s, a, l, u,
|
|
4316
|
-
function
|
|
4314
|
+
function Do(e) {
|
|
4315
|
+
let t, r, n, i, o, s, a, l, u, c, h, p, g;
|
|
4316
|
+
function v(m, x) {
|
|
4317
4317
|
return (
|
|
4318
4318
|
/*tabletView*/
|
|
4319
|
-
|
|
4319
|
+
m[7] ? Go : $o
|
|
4320
4320
|
);
|
|
4321
4321
|
}
|
|
4322
|
-
let
|
|
4322
|
+
let _ = v(e), y = _(e);
|
|
4323
4323
|
return {
|
|
4324
4324
|
c() {
|
|
4325
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o =
|
|
4326
|
-
e[
|
|
4327
|
-
e[
|
|
4325
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = C(), s = b("div"), y.c(), a = C(), l = b("div"), u = b("ui-image"), E(i, "class", "vendorLogo"), Ke(i, "background-image", "url(" + /*vendorIcon*/
|
|
4326
|
+
e[8] + ")"), E(s, "class", "displayContainer"), Q(u.src, c = /*titleLogoImg*/
|
|
4327
|
+
e[13]) || P(u, "src", c), P(u, "alt", ""), E(l, "class", "title"), E(n, "class", h = "mainWrapper " + /*visualstructure*/
|
|
4328
4328
|
e[0] + " " + /*mobileView*/
|
|
4329
|
-
(e[
|
|
4330
|
-
e[
|
|
4329
|
+
(e[6] && !/*tabletView*/
|
|
4330
|
+
e[7] ? "mobile" : (
|
|
4331
4331
|
/*tabletView*/
|
|
4332
|
-
e[
|
|
4333
|
-
))),
|
|
4334
|
-
e[
|
|
4332
|
+
e[7] ? "tablet" : ""
|
|
4333
|
+
))), Ke(n, "background", "url(" + /*backgroundImg*/
|
|
4334
|
+
e[12] + ")"), E(r, "class", "jackpotBanner"), E(t, "class", "");
|
|
4335
4335
|
},
|
|
4336
|
-
m(
|
|
4337
|
-
|
|
4336
|
+
m(m, x) {
|
|
4337
|
+
F(m, t, x), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), y.m(s, null), d(n, a), d(n, l), d(l, u), p || (g = fn(
|
|
4338
4338
|
r,
|
|
4339
4339
|
"click",
|
|
4340
4340
|
/*click_handler*/
|
|
4341
|
-
e[
|
|
4341
|
+
e[34]
|
|
4342
4342
|
), p = !0);
|
|
4343
4343
|
},
|
|
4344
|
-
p(
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
(
|
|
4353
|
-
|
|
4344
|
+
p(m, x) {
|
|
4345
|
+
x[0] & /*vendorIcon*/
|
|
4346
|
+
256 && Ke(i, "background-image", "url(" + /*vendorIcon*/
|
|
4347
|
+
m[8] + ")"), _ === (_ = v(m)) && y ? y.p(m, x) : (y.d(1), y = _(m), y && (y.c(), y.m(s, null))), x[0] & /*titleLogoImg*/
|
|
4348
|
+
8192 && !Q(u.src, c = /*titleLogoImg*/
|
|
4349
|
+
m[13]) && P(u, "src", c), x[0] & /*visualstructure, mobileView, tabletView*/
|
|
4350
|
+
193 && h !== (h = "mainWrapper " + /*visualstructure*/
|
|
4351
|
+
m[0] + " " + /*mobileView*/
|
|
4352
|
+
(m[6] && !/*tabletView*/
|
|
4353
|
+
m[7] ? "mobile" : (
|
|
4354
4354
|
/*tabletView*/
|
|
4355
|
-
|
|
4356
|
-
))) &&
|
|
4357
|
-
|
|
4358
|
-
|
|
4355
|
+
m[7] ? "tablet" : ""
|
|
4356
|
+
))) && E(n, "class", h), x[0] & /*backgroundImg*/
|
|
4357
|
+
4096 && Ke(n, "background", "url(" + /*backgroundImg*/
|
|
4358
|
+
m[12] + ")");
|
|
4359
4359
|
},
|
|
4360
|
-
d(
|
|
4361
|
-
|
|
4360
|
+
d(m) {
|
|
4361
|
+
m && U(t), y.d(), p = !1, g();
|
|
4362
4362
|
}
|
|
4363
4363
|
};
|
|
4364
4364
|
}
|
|
4365
|
-
function
|
|
4365
|
+
function ko(e) {
|
|
4366
4366
|
let t;
|
|
4367
4367
|
return {
|
|
4368
4368
|
c() {
|
|
4369
|
-
t = b("div"),
|
|
4369
|
+
t = b("div"), E(t, "class", "LoadingSpinner");
|
|
4370
4370
|
},
|
|
4371
4371
|
m(r, n) {
|
|
4372
|
-
|
|
4372
|
+
F(r, t, n);
|
|
4373
4373
|
},
|
|
4374
|
-
p:
|
|
4374
|
+
p: Z,
|
|
4375
4375
|
d(r) {
|
|
4376
|
-
r &&
|
|
4376
|
+
r && U(t);
|
|
4377
4377
|
}
|
|
4378
4378
|
};
|
|
4379
4379
|
}
|
|
4380
|
-
function
|
|
4380
|
+
function jo(e) {
|
|
4381
4381
|
let t;
|
|
4382
4382
|
return {
|
|
4383
4383
|
c() {
|
|
4384
4384
|
t = b("p"), t.textContent = "500 Server error";
|
|
4385
4385
|
},
|
|
4386
4386
|
m(r, n) {
|
|
4387
|
-
|
|
4387
|
+
F(r, t, n);
|
|
4388
4388
|
},
|
|
4389
|
-
p:
|
|
4389
|
+
p: Z,
|
|
4390
4390
|
d(r) {
|
|
4391
|
-
r &&
|
|
4391
|
+
r && U(t);
|
|
4392
4392
|
}
|
|
4393
4393
|
};
|
|
4394
4394
|
}
|
|
4395
|
-
function
|
|
4396
|
-
let t, r, n, i, o, s, a = (
|
|
4395
|
+
function Go(e) {
|
|
4396
|
+
let t, r, n, i, o, s, a, l = (
|
|
4397
4397
|
/*formattedLabels*/
|
|
4398
|
-
e[
|
|
4399
|
-
),
|
|
4398
|
+
e[10][0] + ""
|
|
4399
|
+
), u, c, h, p, g = (
|
|
4400
4400
|
/*realtimeupdate*/
|
|
4401
4401
|
(e[2] === "true" ? (
|
|
4402
4402
|
/*updatedJackpotValues*/
|
|
4403
|
-
e[
|
|
4403
|
+
e[15][0]
|
|
4404
4404
|
) : (
|
|
4405
4405
|
/*formattedJackpotValues*/
|
|
4406
|
-
e[
|
|
4406
|
+
e[9][0]
|
|
4407
4407
|
)) + ""
|
|
4408
|
-
),
|
|
4408
|
+
), v, _, y, m, x, A, D, k, j, re = (
|
|
4409
4409
|
/*formattedLabels*/
|
|
4410
|
-
e[
|
|
4411
|
-
),
|
|
4410
|
+
e[10][1] + ""
|
|
4411
|
+
), fe, ge, q, le, ne = (
|
|
4412
4412
|
/*realtimeupdate*/
|
|
4413
4413
|
(e[2] === "true" ? (
|
|
4414
4414
|
/*updatedJackpotValues*/
|
|
4415
|
-
e[
|
|
4415
|
+
e[15][1]
|
|
4416
4416
|
) : (
|
|
4417
4417
|
/*formattedJackpotValues*/
|
|
4418
|
-
e[
|
|
4418
|
+
e[9][1]
|
|
4419
4419
|
)) + ""
|
|
4420
|
-
),
|
|
4420
|
+
), ye, Re, ve, K, ie, N, J, pe, _e, Y, oe = (
|
|
4421
4421
|
/*formattedLabels*/
|
|
4422
|
-
e[
|
|
4423
|
-
),
|
|
4422
|
+
e[10][2] + ""
|
|
4423
|
+
), Ue, Ee, se, xe, Se = (
|
|
4424
4424
|
/*realtimeupdate*/
|
|
4425
4425
|
(e[2] === "true" ? (
|
|
4426
4426
|
/*updatedJackpotValues*/
|
|
4427
|
-
e[
|
|
4427
|
+
e[15][2]
|
|
4428
4428
|
) : (
|
|
4429
4429
|
/*formattedJackpotValues*/
|
|
4430
|
-
e[
|
|
4430
|
+
e[9][2]
|
|
4431
4431
|
)) + ""
|
|
4432
|
-
),
|
|
4432
|
+
), De, Ze, ke, ae, ce, ee, de, Qe, me, Te = (
|
|
4433
4433
|
/*formattedLabels*/
|
|
4434
|
-
e[
|
|
4435
|
-
),
|
|
4434
|
+
e[10][3] + ""
|
|
4435
|
+
), je, Ye, f, H, M = (
|
|
4436
4436
|
/*realtimeupdate*/
|
|
4437
4437
|
(e[2] === "true" ? (
|
|
4438
4438
|
/*updatedJackpotValues*/
|
|
4439
|
-
e[
|
|
4439
|
+
e[15][3]
|
|
4440
4440
|
) : (
|
|
4441
4441
|
/*formattedJackpotValues*/
|
|
4442
|
-
e[
|
|
4442
|
+
e[9][3]
|
|
4443
4443
|
)) + ""
|
|
4444
|
-
),
|
|
4444
|
+
), mt, Wt, V = !/*currencylocale*/
|
|
4445
|
+
e[3] && yr(e), W = !/*currencylocale*/
|
|
4446
|
+
e[3] && vr(e), X = !/*currencylocale*/
|
|
4447
|
+
e[3] && _r(e), z = !/*currencylocale*/
|
|
4448
|
+
e[3] && Er(e);
|
|
4445
4449
|
return {
|
|
4446
4450
|
c() {
|
|
4447
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = b("span"), l =
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
)
|
|
4451
|
-
|
|
4452
|
-
e[1]
|
|
4453
|
-
), de = q(), J = b("div"), R = b("div"), Z = b("div"), F = b("ui-image"), V = b("span"), Ie = M(te), Q = b("span"), me = b("span"), Ne = M(be), Ve = q(), ge = b("span"), ye = M(
|
|
4454
|
-
/*currency*/
|
|
4455
|
-
e[1]
|
|
4456
|
-
), We = q(), he = b("div"), se = b("div"), Y = b("ui-image"), ve = b("span"), Me = M(_e), f = b("span"), H = b("span"), ht = M(N), Gt = q(), Xe = b("span"), ct = M(
|
|
4457
|
-
/*currency*/
|
|
4458
|
-
e[1]
|
|
4459
|
-
), P(i, "class", "displayCardIcon"), G(i.src, o = /*caticons*/
|
|
4460
|
-
e[10][0]) || P(i, "src", o), P(i, "alt", ""), v(s, "class", "cardLabel"), v(n, "class", "iconWrapper"), v(h, "class", "jackpotValue"), v(y, "class", "jackpot-currency"), v(u, "class", "cardTextWrapper"), v(r, "class", "displayCard"), P(A, "class", "displayCardIcon"), G(A.src, U = /*caticons*/
|
|
4461
|
-
e[10][1]) || P(A, "src", U), P(A, "alt", ""), v(I, "class", "cardLabel"), v(T, "class", "iconWrapper"), v(ue, "class", "jackpotValue"), v(le, "class", "jackpot-currency"), v(z, "class", "cardTextWrapper"), v(S, "class", "displayCard"), v(t, "class", "pairWrapper"), P(F, "class", "displayCardIcon"), G(F.src, oe = /*caticons*/
|
|
4462
|
-
e[10][2]) || P(F, "src", oe), P(F, "alt", ""), v(V, "class", "cardLabel"), v(Z, "class", "iconWrapper"), v(me, "class", "jackpotValue"), v(ge, "class", "jackpot-currency"), v(Q, "class", "cardTextWrapper"), v(R, "class", "displayCard"), P(Y, "class", "displayCardIcon"), G(Y.src, ce = /*caticons*/
|
|
4463
|
-
e[10][3]) || P(Y, "src", ce), P(Y, "alt", ""), v(ve, "class", "cardLabel"), v(se, "class", "iconWrapper"), v(H, "class", "jackpotValue"), v(Xe, "class", "jackpot-currency"), v(f, "class", "cardTextWrapper"), v(he, "class", "displayCard"), v(J, "class", "pairWrapper");
|
|
4451
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l), c = C(), h = b("span"), p = b("span"), v = R(g), _ = C(), V && V.c(), y = C(), m = b("div"), x = b("div"), A = b("ui-image"), k = C(), j = b("span"), fe = R(re), ge = C(), q = b("span"), le = b("span"), ye = R(ne), Re = C(), W && W.c(), ve = C(), K = b("div"), ie = b("div"), N = b("div"), J = b("ui-image"), _e = C(), Y = b("span"), Ue = R(oe), Ee = C(), se = b("span"), xe = b("span"), De = R(Se), Ze = C(), X && X.c(), ke = C(), ae = b("div"), ce = b("div"), ee = b("ui-image"), Qe = C(), me = b("span"), je = R(Te), Ye = C(), f = b("span"), H = b("span"), mt = R(M), Wt = C(), z && z.c(), P(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
|
|
4452
|
+
e[11][0]) || P(i, "src", o), P(i, "alt", ""), E(a, "class", "cardLabel"), E(n, "class", "iconWrapper"), E(p, "class", "jackpotValue"), E(h, "class", "cardTextWrapper"), E(r, "class", "displayCard"), P(A, "class", "displayCardIcon"), Q(A.src, D = /*caticons*/
|
|
4453
|
+
e[11][1]) || P(A, "src", D), P(A, "alt", ""), E(j, "class", "cardLabel"), E(x, "class", "iconWrapper"), E(le, "class", "jackpotValue"), E(q, "class", "cardTextWrapper"), E(m, "class", "displayCard"), E(t, "class", "pairWrapper"), P(J, "class", "displayCardIcon"), Q(J.src, pe = /*caticons*/
|
|
4454
|
+
e[11][2]) || P(J, "src", pe), P(J, "alt", ""), E(Y, "class", "cardLabel"), E(N, "class", "iconWrapper"), E(xe, "class", "jackpotValue"), E(se, "class", "cardTextWrapper"), E(ie, "class", "displayCard"), P(ee, "class", "displayCardIcon"), Q(ee.src, de = /*caticons*/
|
|
4455
|
+
e[11][3]) || P(ee, "src", de), P(ee, "alt", ""), E(me, "class", "cardLabel"), E(ce, "class", "iconWrapper"), E(H, "class", "jackpotValue"), E(f, "class", "cardTextWrapper"), E(ae, "class", "displayCard"), E(K, "class", "pairWrapper");
|
|
4464
4456
|
},
|
|
4465
|
-
m(
|
|
4466
|
-
|
|
4457
|
+
m(S, I) {
|
|
4458
|
+
F(S, t, I), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, h), d(h, p), d(p, v), d(h, _), V && V.m(h, null), d(t, y), d(t, m), d(m, x), d(x, A), d(x, k), d(x, j), d(j, fe), d(m, ge), d(m, q), d(q, le), d(le, ye), d(q, Re), W && W.m(q, null), F(S, ve, I), F(S, K, I), d(K, ie), d(ie, N), d(N, J), d(N, _e), d(N, Y), d(Y, Ue), d(ie, Ee), d(ie, se), d(se, xe), d(xe, De), d(se, Ze), X && X.m(se, null), d(K, ke), d(K, ae), d(ae, ce), d(ce, ee), d(ce, Qe), d(ce, me), d(me, je), d(ae, Ye), d(ae, f), d(f, H), d(H, mt), d(f, Wt), z && z.m(f, null);
|
|
4467
4459
|
},
|
|
4468
|
-
p(
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
(
|
|
4460
|
+
p(S, I) {
|
|
4461
|
+
I[0] & /*caticons*/
|
|
4462
|
+
2048 && !Q(i.src, o = /*caticons*/
|
|
4463
|
+
S[11][0]) && P(i, "src", o), I[0] & /*formattedLabels*/
|
|
4464
|
+
1024 && l !== (l = /*formattedLabels*/
|
|
4465
|
+
S[10][0] + "") && $(u, l), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4466
|
+
33284 && g !== (g = /*realtimeupdate*/
|
|
4467
|
+
(S[2] === "true" ? (
|
|
4476
4468
|
/*updatedJackpotValues*/
|
|
4477
|
-
|
|
4469
|
+
S[15][0]
|
|
4478
4470
|
) : (
|
|
4479
4471
|
/*formattedJackpotValues*/
|
|
4480
|
-
|
|
4481
|
-
)) + "") &&
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
),
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
512 && $ !== ($ = /*formattedLabels*/
|
|
4490
|
-
w[9][1] + "") && D(X, $), C[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4491
|
-
16644 && ne !== (ne = /*realtimeupdate*/
|
|
4492
|
-
(w[2] === "true" ? (
|
|
4472
|
+
S[9][0]
|
|
4473
|
+
)) + "") && $(v, g), /*currencylocale*/
|
|
4474
|
+
S[3] ? V && (V.d(1), V = null) : V ? V.p(S, I) : (V = yr(S), V.c(), V.m(h, null)), I[0] & /*caticons*/
|
|
4475
|
+
2048 && !Q(A.src, D = /*caticons*/
|
|
4476
|
+
S[11][1]) && P(A, "src", D), I[0] & /*formattedLabels*/
|
|
4477
|
+
1024 && re !== (re = /*formattedLabels*/
|
|
4478
|
+
S[10][1] + "") && $(fe, re), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4479
|
+
33284 && ne !== (ne = /*realtimeupdate*/
|
|
4480
|
+
(S[2] === "true" ? (
|
|
4493
4481
|
/*updatedJackpotValues*/
|
|
4494
|
-
|
|
4482
|
+
S[15][1]
|
|
4495
4483
|
) : (
|
|
4496
4484
|
/*formattedJackpotValues*/
|
|
4497
|
-
|
|
4498
|
-
)) + "") &&
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
),
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
512 && te !== (te = /*formattedLabels*/
|
|
4507
|
-
w[9][2] + "") && D(Ie, te), C[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4508
|
-
16644 && be !== (be = /*realtimeupdate*/
|
|
4509
|
-
(w[2] === "true" ? (
|
|
4485
|
+
S[9][1]
|
|
4486
|
+
)) + "") && $(ye, ne), /*currencylocale*/
|
|
4487
|
+
S[3] ? W && (W.d(1), W = null) : W ? W.p(S, I) : (W = vr(S), W.c(), W.m(q, null)), I[0] & /*caticons*/
|
|
4488
|
+
2048 && !Q(J.src, pe = /*caticons*/
|
|
4489
|
+
S[11][2]) && P(J, "src", pe), I[0] & /*formattedLabels*/
|
|
4490
|
+
1024 && oe !== (oe = /*formattedLabels*/
|
|
4491
|
+
S[10][2] + "") && $(Ue, oe), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4492
|
+
33284 && Se !== (Se = /*realtimeupdate*/
|
|
4493
|
+
(S[2] === "true" ? (
|
|
4510
4494
|
/*updatedJackpotValues*/
|
|
4511
|
-
|
|
4495
|
+
S[15][2]
|
|
4512
4496
|
) : (
|
|
4513
4497
|
/*formattedJackpotValues*/
|
|
4514
|
-
|
|
4515
|
-
)) + "") &&
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
),
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
512 && _e !== (_e = /*formattedLabels*/
|
|
4524
|
-
w[9][3] + "") && D(Me, _e), C[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4525
|
-
16644 && N !== (N = /*realtimeupdate*/
|
|
4526
|
-
(w[2] === "true" ? (
|
|
4498
|
+
S[9][2]
|
|
4499
|
+
)) + "") && $(De, Se), /*currencylocale*/
|
|
4500
|
+
S[3] ? X && (X.d(1), X = null) : X ? X.p(S, I) : (X = _r(S), X.c(), X.m(se, null)), I[0] & /*caticons*/
|
|
4501
|
+
2048 && !Q(ee.src, de = /*caticons*/
|
|
4502
|
+
S[11][3]) && P(ee, "src", de), I[0] & /*formattedLabels*/
|
|
4503
|
+
1024 && Te !== (Te = /*formattedLabels*/
|
|
4504
|
+
S[10][3] + "") && $(je, Te), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4505
|
+
33284 && M !== (M = /*realtimeupdate*/
|
|
4506
|
+
(S[2] === "true" ? (
|
|
4527
4507
|
/*updatedJackpotValues*/
|
|
4528
|
-
|
|
4508
|
+
S[15][3]
|
|
4529
4509
|
) : (
|
|
4530
4510
|
/*formattedJackpotValues*/
|
|
4531
|
-
|
|
4532
|
-
)) + "") &&
|
|
4533
|
-
|
|
4534
|
-
ct,
|
|
4535
|
-
/*currency*/
|
|
4536
|
-
w[1]
|
|
4537
|
-
);
|
|
4511
|
+
S[9][3]
|
|
4512
|
+
)) + "") && $(mt, M), /*currencylocale*/
|
|
4513
|
+
S[3] ? z && (z.d(1), z = null) : z ? z.p(S, I) : (z = Er(S), z.c(), z.m(f, null));
|
|
4538
4514
|
},
|
|
4539
|
-
d(
|
|
4540
|
-
|
|
4515
|
+
d(S) {
|
|
4516
|
+
S && (U(t), U(ve), U(K)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4541
4517
|
}
|
|
4542
4518
|
};
|
|
4543
4519
|
}
|
|
4544
|
-
function
|
|
4545
|
-
let t, r =
|
|
4520
|
+
function $o(e) {
|
|
4521
|
+
let t, r = Jt(Array(4)), n = [];
|
|
4546
4522
|
for (let i = 0; i < r.length; i += 1)
|
|
4547
|
-
n[i] =
|
|
4523
|
+
n[i] = Sr(gr(e, r, i));
|
|
4548
4524
|
return {
|
|
4549
4525
|
c() {
|
|
4550
4526
|
for (let i = 0; i < n.length; i += 1)
|
|
4551
4527
|
n[i].c();
|
|
4552
|
-
t =
|
|
4528
|
+
t = hn();
|
|
4553
4529
|
},
|
|
4554
4530
|
m(i, o) {
|
|
4555
4531
|
for (let s = 0; s < n.length; s += 1)
|
|
4556
4532
|
n[s] && n[s].m(i, o);
|
|
4557
|
-
|
|
4533
|
+
F(i, t, o);
|
|
4558
4534
|
},
|
|
4559
4535
|
p(i, o) {
|
|
4560
|
-
if (o[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4561
|
-
|
|
4562
|
-
r =
|
|
4536
|
+
if (o[0] & /*currency, currencylocale, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4537
|
+
36366) {
|
|
4538
|
+
r = Jt(Array(4));
|
|
4563
4539
|
let s;
|
|
4564
4540
|
for (s = 0; s < r.length; s += 1) {
|
|
4565
|
-
const a =
|
|
4566
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4541
|
+
const a = gr(i, r, s);
|
|
4542
|
+
n[s] ? n[s].p(a, o) : (n[s] = Sr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4567
4543
|
}
|
|
4568
4544
|
for (; s < n.length; s += 1)
|
|
4569
4545
|
n[s].d(1);
|
|
@@ -4571,92 +4547,211 @@ function Io(e) {
|
|
|
4571
4547
|
}
|
|
4572
4548
|
},
|
|
4573
4549
|
d(i) {
|
|
4574
|
-
i &&
|
|
4550
|
+
i && U(t), cn(n, i);
|
|
4551
|
+
}
|
|
4552
|
+
};
|
|
4553
|
+
}
|
|
4554
|
+
function yr(e) {
|
|
4555
|
+
let t, r;
|
|
4556
|
+
return {
|
|
4557
|
+
c() {
|
|
4558
|
+
t = b("span"), r = R(
|
|
4559
|
+
/*currency*/
|
|
4560
|
+
e[1]
|
|
4561
|
+
), E(t, "class", "jackpot-currency");
|
|
4562
|
+
},
|
|
4563
|
+
m(n, i) {
|
|
4564
|
+
F(n, t, i), d(t, r);
|
|
4565
|
+
},
|
|
4566
|
+
p(n, i) {
|
|
4567
|
+
i[0] & /*currency*/
|
|
4568
|
+
2 && $(
|
|
4569
|
+
r,
|
|
4570
|
+
/*currency*/
|
|
4571
|
+
n[1]
|
|
4572
|
+
);
|
|
4573
|
+
},
|
|
4574
|
+
d(n) {
|
|
4575
|
+
n && U(t);
|
|
4576
|
+
}
|
|
4577
|
+
};
|
|
4578
|
+
}
|
|
4579
|
+
function vr(e) {
|
|
4580
|
+
let t, r;
|
|
4581
|
+
return {
|
|
4582
|
+
c() {
|
|
4583
|
+
t = b("span"), r = R(
|
|
4584
|
+
/*currency*/
|
|
4585
|
+
e[1]
|
|
4586
|
+
), E(t, "class", "jackpot-currency");
|
|
4587
|
+
},
|
|
4588
|
+
m(n, i) {
|
|
4589
|
+
F(n, t, i), d(t, r);
|
|
4590
|
+
},
|
|
4591
|
+
p(n, i) {
|
|
4592
|
+
i[0] & /*currency*/
|
|
4593
|
+
2 && $(
|
|
4594
|
+
r,
|
|
4595
|
+
/*currency*/
|
|
4596
|
+
n[1]
|
|
4597
|
+
);
|
|
4598
|
+
},
|
|
4599
|
+
d(n) {
|
|
4600
|
+
n && U(t);
|
|
4601
|
+
}
|
|
4602
|
+
};
|
|
4603
|
+
}
|
|
4604
|
+
function _r(e) {
|
|
4605
|
+
let t, r;
|
|
4606
|
+
return {
|
|
4607
|
+
c() {
|
|
4608
|
+
t = b("span"), r = R(
|
|
4609
|
+
/*currency*/
|
|
4610
|
+
e[1]
|
|
4611
|
+
), E(t, "class", "jackpot-currency");
|
|
4612
|
+
},
|
|
4613
|
+
m(n, i) {
|
|
4614
|
+
F(n, t, i), d(t, r);
|
|
4615
|
+
},
|
|
4616
|
+
p(n, i) {
|
|
4617
|
+
i[0] & /*currency*/
|
|
4618
|
+
2 && $(
|
|
4619
|
+
r,
|
|
4620
|
+
/*currency*/
|
|
4621
|
+
n[1]
|
|
4622
|
+
);
|
|
4623
|
+
},
|
|
4624
|
+
d(n) {
|
|
4625
|
+
n && U(t);
|
|
4575
4626
|
}
|
|
4576
4627
|
};
|
|
4577
4628
|
}
|
|
4578
|
-
function
|
|
4579
|
-
let t, r
|
|
4629
|
+
function Er(e) {
|
|
4630
|
+
let t, r;
|
|
4631
|
+
return {
|
|
4632
|
+
c() {
|
|
4633
|
+
t = b("span"), r = R(
|
|
4634
|
+
/*currency*/
|
|
4635
|
+
e[1]
|
|
4636
|
+
), E(t, "class", "jackpot-currency");
|
|
4637
|
+
},
|
|
4638
|
+
m(n, i) {
|
|
4639
|
+
F(n, t, i), d(t, r);
|
|
4640
|
+
},
|
|
4641
|
+
p(n, i) {
|
|
4642
|
+
i[0] & /*currency*/
|
|
4643
|
+
2 && $(
|
|
4644
|
+
r,
|
|
4645
|
+
/*currency*/
|
|
4646
|
+
n[1]
|
|
4647
|
+
);
|
|
4648
|
+
},
|
|
4649
|
+
d(n) {
|
|
4650
|
+
n && U(t);
|
|
4651
|
+
}
|
|
4652
|
+
};
|
|
4653
|
+
}
|
|
4654
|
+
function xr(e) {
|
|
4655
|
+
let t, r;
|
|
4656
|
+
return {
|
|
4657
|
+
c() {
|
|
4658
|
+
t = b("span"), r = R(
|
|
4659
|
+
/*currency*/
|
|
4660
|
+
e[1]
|
|
4661
|
+
), E(t, "class", "jackpot-currency");
|
|
4662
|
+
},
|
|
4663
|
+
m(n, i) {
|
|
4664
|
+
F(n, t, i), d(t, r);
|
|
4665
|
+
},
|
|
4666
|
+
p(n, i) {
|
|
4667
|
+
i[0] & /*currency*/
|
|
4668
|
+
2 && $(
|
|
4669
|
+
r,
|
|
4670
|
+
/*currency*/
|
|
4671
|
+
n[1]
|
|
4672
|
+
);
|
|
4673
|
+
},
|
|
4674
|
+
d(n) {
|
|
4675
|
+
n && U(t);
|
|
4676
|
+
}
|
|
4677
|
+
};
|
|
4678
|
+
}
|
|
4679
|
+
function Sr(e) {
|
|
4680
|
+
let t, r, n, i, o, s, a = (
|
|
4580
4681
|
/*formattedLabels*/
|
|
4581
|
-
e[
|
|
4682
|
+
e[10][
|
|
4582
4683
|
/*i*/
|
|
4583
|
-
e[
|
|
4684
|
+
e[57]
|
|
4584
4685
|
] + ""
|
|
4585
|
-
),
|
|
4686
|
+
), l, u, c, h, p = (
|
|
4586
4687
|
/*realtimeupdate*/
|
|
4587
4688
|
(e[2] === "true" ? (
|
|
4588
4689
|
/*updatedJackpotValues*/
|
|
4589
|
-
e[
|
|
4690
|
+
e[15][
|
|
4590
4691
|
/*i*/
|
|
4591
|
-
e[
|
|
4692
|
+
e[57]
|
|
4592
4693
|
]
|
|
4593
4694
|
) : (
|
|
4594
4695
|
/*formattedJackpotValues*/
|
|
4595
|
-
e[
|
|
4696
|
+
e[9][
|
|
4596
4697
|
/*i*/
|
|
4597
|
-
e[
|
|
4698
|
+
e[57]
|
|
4598
4699
|
] ?? ""
|
|
4599
4700
|
)) + ""
|
|
4600
|
-
),
|
|
4701
|
+
), g, v, _, y = !/*currencylocale*/
|
|
4702
|
+
e[3] && xr(e);
|
|
4601
4703
|
return {
|
|
4602
4704
|
c() {
|
|
4603
|
-
t = b("div"), r = b("div"), n = b("ui-image"), o = b("span"), a =
|
|
4604
|
-
|
|
4605
|
-
e[1]
|
|
4606
|
-
), P(n, "class", "displayCardIcon"), G(n.src, i = /*caticons*/
|
|
4607
|
-
e[10][
|
|
4705
|
+
t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(), c = b("span"), h = b("span"), g = R(p), v = C(), y && y.c(), _ = C(), P(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
|
|
4706
|
+
e[11][
|
|
4608
4707
|
/*i*/
|
|
4609
|
-
e[
|
|
4610
|
-
]) || P(n, "src", i), P(n, "alt", ""),
|
|
4708
|
+
e[57]
|
|
4709
|
+
]) || P(n, "src", i), P(n, "alt", ""), E(s, "class", "cardLabel"), E(r, "class", "iconWrapper"), E(h, "class", "jackpotValue"), E(c, "class", "cardTextWrapper"), E(t, "class", "displayCard");
|
|
4611
4710
|
},
|
|
4612
|
-
m(m,
|
|
4613
|
-
|
|
4711
|
+
m(m, x) {
|
|
4712
|
+
F(m, t, x), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, h), d(h, g), d(c, v), y && y.m(c, null), d(t, _);
|
|
4614
4713
|
},
|
|
4615
|
-
p(m,
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
m[
|
|
4714
|
+
p(m, x) {
|
|
4715
|
+
x[0] & /*caticons*/
|
|
4716
|
+
2048 && !Q(n.src, i = /*caticons*/
|
|
4717
|
+
m[11][
|
|
4619
4718
|
/*i*/
|
|
4620
|
-
m[
|
|
4621
|
-
]) && P(n, "src", i),
|
|
4622
|
-
|
|
4623
|
-
m[
|
|
4719
|
+
m[57]
|
|
4720
|
+
]) && P(n, "src", i), x[0] & /*formattedLabels*/
|
|
4721
|
+
1024 && a !== (a = /*formattedLabels*/
|
|
4722
|
+
m[10][
|
|
4624
4723
|
/*i*/
|
|
4625
|
-
m[
|
|
4626
|
-
] + "") &&
|
|
4627
|
-
|
|
4724
|
+
m[57]
|
|
4725
|
+
] + "") && $(l, a), x[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4726
|
+
33284 && p !== (p = /*realtimeupdate*/
|
|
4628
4727
|
(m[2] === "true" ? (
|
|
4629
4728
|
/*updatedJackpotValues*/
|
|
4630
|
-
m[
|
|
4729
|
+
m[15][
|
|
4631
4730
|
/*i*/
|
|
4632
|
-
m[
|
|
4731
|
+
m[57]
|
|
4633
4732
|
]
|
|
4634
4733
|
) : (
|
|
4635
4734
|
/*formattedJackpotValues*/
|
|
4636
|
-
m[
|
|
4735
|
+
m[9][
|
|
4637
4736
|
/*i*/
|
|
4638
|
-
m[
|
|
4737
|
+
m[57]
|
|
4639
4738
|
] ?? ""
|
|
4640
|
-
)) + "") &&
|
|
4641
|
-
|
|
4642
|
-
y,
|
|
4643
|
-
/*currency*/
|
|
4644
|
-
m[1]
|
|
4645
|
-
);
|
|
4739
|
+
)) + "") && $(g, p), /*currencylocale*/
|
|
4740
|
+
m[3] ? y && (y.d(1), y = null) : y ? y.p(m, x) : (y = xr(m), y.c(), y.m(c, null));
|
|
4646
4741
|
},
|
|
4647
4742
|
d(m) {
|
|
4648
|
-
m &&
|
|
4743
|
+
m && U(t), y && y.d();
|
|
4649
4744
|
}
|
|
4650
4745
|
};
|
|
4651
4746
|
}
|
|
4652
|
-
function
|
|
4747
|
+
function Fo(e) {
|
|
4653
4748
|
let t;
|
|
4654
4749
|
function r(o, s) {
|
|
4655
4750
|
return (
|
|
4656
4751
|
/*hasErrors*/
|
|
4657
|
-
o[
|
|
4752
|
+
o[14] ? jo : (
|
|
4658
4753
|
/*isLoading*/
|
|
4659
|
-
o[
|
|
4754
|
+
o[5] ? ko : Do
|
|
4660
4755
|
)
|
|
4661
4756
|
);
|
|
4662
4757
|
}
|
|
@@ -4666,170 +4761,181 @@ function No(e) {
|
|
|
4666
4761
|
t = b("div"), i.c();
|
|
4667
4762
|
},
|
|
4668
4763
|
m(o, s) {
|
|
4669
|
-
|
|
4764
|
+
F(o, t, s), i.m(t, null), e[35](t);
|
|
4670
4765
|
},
|
|
4671
4766
|
p(o, s) {
|
|
4672
4767
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4673
4768
|
},
|
|
4674
|
-
i:
|
|
4675
|
-
o:
|
|
4769
|
+
i: Z,
|
|
4770
|
+
o: Z,
|
|
4676
4771
|
d(o) {
|
|
4677
|
-
o &&
|
|
4772
|
+
o && U(t), i.d(), e[35](null);
|
|
4678
4773
|
}
|
|
4679
4774
|
};
|
|
4680
4775
|
}
|
|
4681
|
-
function
|
|
4682
|
-
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: o = "" } = t, { caticon1: s = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc:
|
|
4683
|
-
const
|
|
4684
|
-
fetch(
|
|
4685
|
-
Object.keys(H).forEach((
|
|
4686
|
-
|
|
4776
|
+
function Vo(e, t, r) {
|
|
4777
|
+
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: o = "" } = t, { caticon1: s = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: c = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: g = "" } = t, { lang: v = "en" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: y = "" } = t, { translationurl: m = "" } = t, { endpoint: x = "" } = t, { gameid: A = "" } = t, { mbsource: D } = t, { realtimeupdate: k = "false" } = t, { currencylocale: j = "" } = t, re = window.navigator.userAgent, fe = !1, ge = !1, q = "", le = [], ne = [], ye = [], Re = [], ve = [], K = "", ie = "", N, J = !0, pe = !1, _e, Y = null, oe = [];
|
|
4778
|
+
const Ue = () => {
|
|
4779
|
+
fetch(m).then((H) => H.json()).then((H) => {
|
|
4780
|
+
Object.keys(H).forEach((M) => {
|
|
4781
|
+
mr(M, H[M]);
|
|
4687
4782
|
});
|
|
4688
4783
|
}).catch((H) => {
|
|
4689
4784
|
console.log(H);
|
|
4690
4785
|
});
|
|
4691
4786
|
};
|
|
4692
|
-
Object.keys(
|
|
4693
|
-
|
|
4787
|
+
Object.keys(br).forEach((f) => {
|
|
4788
|
+
mr(f, br[f]);
|
|
4694
4789
|
});
|
|
4695
|
-
const
|
|
4790
|
+
const Ee = ["typeSpread", "typeLeft"], se = (f) => {
|
|
4696
4791
|
const H = f?.items[0]?.additionalData;
|
|
4697
|
-
H && Object.values(H).forEach((
|
|
4698
|
-
},
|
|
4699
|
-
r(
|
|
4700
|
-
},
|
|
4701
|
-
if (
|
|
4702
|
-
let f = new URL(`${
|
|
4703
|
-
f.searchParams.append("filter", `id=${A}`), f.searchParams.append("language",
|
|
4704
|
-
r(
|
|
4705
|
-
}).catch((
|
|
4706
|
-
r(
|
|
4792
|
+
H && Object.values(H).forEach((M) => le.push(+M));
|
|
4793
|
+
}, xe = (f) => {
|
|
4794
|
+
r(8, q = f?.items[0]?.vendorLogo || "");
|
|
4795
|
+
}, Se = () => {
|
|
4796
|
+
if (x && v && h) {
|
|
4797
|
+
let f = new URL(`${x}/v1/casino/jackpots`);
|
|
4798
|
+
f.searchParams.append("filter", `id=${A}`), f.searchParams.append("language", v), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((H) => H.json().then((M) => {
|
|
4799
|
+
r(5, J = !1), _e = M, ne.includes(A) && (se(_e), xe(_e));
|
|
4800
|
+
}).catch((M) => {
|
|
4801
|
+
r(14, pe = !0), r(5, J = !1), console.error(M);
|
|
4707
4802
|
}).finally(() => {
|
|
4708
|
-
|
|
4803
|
+
De();
|
|
4709
4804
|
}));
|
|
4710
4805
|
}
|
|
4711
|
-
},
|
|
4712
|
-
const f =
|
|
4806
|
+
}, De = () => {
|
|
4807
|
+
const f = N.getRootNode().host;
|
|
4713
4808
|
f.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: f } }));
|
|
4714
|
-
},
|
|
4715
|
-
let f = new URL(`${
|
|
4809
|
+
}, Ze = () => {
|
|
4810
|
+
let f = new URL(`${x}/v1/casino/jackpots/config`);
|
|
4716
4811
|
fetch(f.href).then((H) => H.json()).then((H) => {
|
|
4717
|
-
r(
|
|
4812
|
+
r(33, ne = H.egtJackpotIds.map((M) => M));
|
|
4718
4813
|
});
|
|
4719
|
-
},
|
|
4720
|
-
r(
|
|
4721
|
-
},
|
|
4814
|
+
}, ke = () => {
|
|
4815
|
+
r(6, fe = Co(re) && window.innerHeight / window.innerWidth > 1), r(7, ge = ee()), le.length !== 0 && r(9, ye = ce(le)), r(10, Re = u ? u.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), Ee.includes(n.trim()) ? r(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${Ee[0]}"`), r(0, n = Ee[0])), r(12, K = p && fe && !ge ? p : c), r(13, ie = g), r(11, ve = [o, s, a, l]);
|
|
4816
|
+
}, ae = (f) => Intl.NumberFormat(j, {
|
|
4817
|
+
minimumFractionDigits: 2,
|
|
4818
|
+
maximumFractionDigits: 2,
|
|
4819
|
+
style: "currency",
|
|
4820
|
+
currency: h
|
|
4821
|
+
}).format(f).replace(/\s/g, ""), ce = (f) => j ? f.map((H) => ae(H)) : f.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), ee = () => {
|
|
4722
4822
|
const f = window.innerHeight / window.innerWidth;
|
|
4723
4823
|
return 0.75 < f && f < 1.6;
|
|
4724
|
-
},
|
|
4824
|
+
}, de = () => {
|
|
4725
4825
|
window.postMessage({ type: "JackpotBannerClicked", gameid: A }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4726
4826
|
context: "JackpotBanner",
|
|
4727
4827
|
gameId: `${A}`
|
|
4728
4828
|
});
|
|
4729
|
-
},
|
|
4730
|
-
|
|
4731
|
-
},
|
|
4829
|
+
}, Qe = () => {
|
|
4830
|
+
Ro(v);
|
|
4831
|
+
}, me = (f) => {
|
|
4732
4832
|
const H = JSON.parse(f.data);
|
|
4733
4833
|
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === A) {
|
|
4734
|
-
const
|
|
4735
|
-
r(
|
|
4834
|
+
const M = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4835
|
+
r(
|
|
4836
|
+
15,
|
|
4837
|
+
oe[M] = j ? ae(H.data.data[`${h}`].balance) : H.data.data[`${h}`].balance.toString(),
|
|
4838
|
+
oe
|
|
4839
|
+
);
|
|
4736
4840
|
}
|
|
4737
|
-
},
|
|
4738
|
-
|
|
4841
|
+
}, Te = () => {
|
|
4842
|
+
k === "true" && (ke(), r(15, oe = ["", "", "", ""]), Y = new EventSource(`${x}/v1/encoder/jackpot/*/update`), Y.addEventListener("message", me));
|
|
4739
4843
|
};
|
|
4740
|
-
|
|
4741
|
-
}),
|
|
4742
|
-
|
|
4844
|
+
mn(() => () => {
|
|
4845
|
+
}), bn(() => {
|
|
4846
|
+
Y && (Y.removeEventListener("message", me), Y.close(), Y = null);
|
|
4743
4847
|
});
|
|
4744
|
-
const
|
|
4745
|
-
function
|
|
4746
|
-
|
|
4747
|
-
|
|
4848
|
+
const je = () => de();
|
|
4849
|
+
function Ye(f) {
|
|
4850
|
+
Tt[f ? "unshift" : "push"](() => {
|
|
4851
|
+
N = f, r(4, N);
|
|
4748
4852
|
});
|
|
4749
4853
|
}
|
|
4750
4854
|
return e.$$set = (f) => {
|
|
4751
|
-
"visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(
|
|
4855
|
+
"visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(17, i = f.title), "caticon0" in f && r(18, o = f.caticon0), "caticon1" in f && r(19, s = f.caticon1), "caticon2" in f && r(20, a = f.caticon2), "caticon3" in f && r(21, l = f.caticon3), "iconlabels" in f && r(22, u = f.iconlabels), "backgroundsrc" in f && r(23, c = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(24, p = f.backgroundsrcmobile), "titlelogopath" in f && r(25, g = f.titlelogopath), "lang" in f && r(26, v = f.lang), "clientstyling" in f && r(27, _ = f.clientstyling), "clientstylingurl" in f && r(28, y = f.clientstylingurl), "translationurl" in f && r(29, m = f.translationurl), "endpoint" in f && r(30, x = f.endpoint), "gameid" in f && r(31, A = f.gameid), "mbsource" in f && r(32, D = f.mbsource), "realtimeupdate" in f && r(2, k = f.realtimeupdate), "currencylocale" in f && r(3, j = f.currencylocale);
|
|
4752
4856
|
}, e.$$.update = () => {
|
|
4753
4857
|
e.$$.dirty[0] & /*endpoint*/
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
4 &&
|
|
4858
|
+
1073741824 && x && Ze(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4859
|
+
134217744 && _ && N && Io(N, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4860
|
+
268435472 && y && N && No(N, y), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4861
|
+
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4862
|
+
2 && D && N && Mo(N, `${D}.Style`), e.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
4863
|
+
1140850690 | e.$$.dirty[1] & /*validGameIds*/
|
|
4864
|
+
4 && x && v && h && ne.length > 0 && Se(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4865
|
+
67108898 && h && v && !J && ke(), e.$$.dirty[0] & /*lang*/
|
|
4866
|
+
67108864 && v && Qe(), e.$$.dirty[0] & /*translationurl*/
|
|
4867
|
+
536870912 && m && Ue(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4868
|
+
4 && k && Te();
|
|
4765
4869
|
}, [
|
|
4766
4870
|
n,
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4871
|
+
h,
|
|
4872
|
+
k,
|
|
4873
|
+
j,
|
|
4874
|
+
N,
|
|
4875
|
+
J,
|
|
4876
|
+
fe,
|
|
4877
|
+
ge,
|
|
4878
|
+
q,
|
|
4879
|
+
ye,
|
|
4880
|
+
Re,
|
|
4881
|
+
ve,
|
|
4882
|
+
K,
|
|
4883
|
+
ie,
|
|
4776
4884
|
pe,
|
|
4885
|
+
oe,
|
|
4777
4886
|
de,
|
|
4778
|
-
J,
|
|
4779
|
-
F,
|
|
4780
|
-
te,
|
|
4781
|
-
se,
|
|
4782
4887
|
i,
|
|
4783
4888
|
o,
|
|
4784
4889
|
s,
|
|
4785
4890
|
a,
|
|
4786
4891
|
l,
|
|
4787
4892
|
u,
|
|
4788
|
-
|
|
4893
|
+
c,
|
|
4789
4894
|
p,
|
|
4790
4895
|
g,
|
|
4896
|
+
v,
|
|
4897
|
+
_,
|
|
4791
4898
|
y,
|
|
4792
4899
|
m,
|
|
4793
|
-
|
|
4794
|
-
S,
|
|
4795
|
-
T,
|
|
4900
|
+
x,
|
|
4796
4901
|
A,
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4902
|
+
D,
|
|
4903
|
+
ne,
|
|
4904
|
+
je,
|
|
4905
|
+
Ye
|
|
4801
4906
|
];
|
|
4802
4907
|
}
|
|
4803
|
-
class
|
|
4908
|
+
class Wo extends Bn {
|
|
4804
4909
|
constructor(t) {
|
|
4805
|
-
super(),
|
|
4910
|
+
super(), Hn(
|
|
4806
4911
|
this,
|
|
4807
4912
|
t,
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4913
|
+
Vo,
|
|
4914
|
+
Fo,
|
|
4915
|
+
wr,
|
|
4811
4916
|
{
|
|
4812
4917
|
visualstructure: 0,
|
|
4813
|
-
title:
|
|
4814
|
-
caticon0:
|
|
4815
|
-
caticon1:
|
|
4816
|
-
caticon2:
|
|
4817
|
-
caticon3:
|
|
4818
|
-
iconlabels:
|
|
4819
|
-
backgroundsrc:
|
|
4918
|
+
title: 17,
|
|
4919
|
+
caticon0: 18,
|
|
4920
|
+
caticon1: 19,
|
|
4921
|
+
caticon2: 20,
|
|
4922
|
+
caticon3: 21,
|
|
4923
|
+
iconlabels: 22,
|
|
4924
|
+
backgroundsrc: 23,
|
|
4820
4925
|
currency: 1,
|
|
4821
|
-
backgroundsrcmobile:
|
|
4822
|
-
titlelogopath:
|
|
4823
|
-
lang:
|
|
4824
|
-
clientstyling:
|
|
4825
|
-
clientstylingurl:
|
|
4826
|
-
translationurl:
|
|
4827
|
-
endpoint:
|
|
4828
|
-
gameid:
|
|
4829
|
-
mbsource:
|
|
4830
|
-
realtimeupdate: 2
|
|
4926
|
+
backgroundsrcmobile: 24,
|
|
4927
|
+
titlelogopath: 25,
|
|
4928
|
+
lang: 26,
|
|
4929
|
+
clientstyling: 27,
|
|
4930
|
+
clientstylingurl: 28,
|
|
4931
|
+
translationurl: 29,
|
|
4932
|
+
endpoint: 30,
|
|
4933
|
+
gameid: 31,
|
|
4934
|
+
mbsource: 32,
|
|
4935
|
+
realtimeupdate: 2,
|
|
4936
|
+
currencylocale: 3
|
|
4831
4937
|
},
|
|
4832
|
-
|
|
4938
|
+
Uo,
|
|
4833
4939
|
[-1, -1]
|
|
4834
4940
|
);
|
|
4835
4941
|
}
|
|
@@ -4837,118 +4943,124 @@ class Ro extends vn {
|
|
|
4837
4943
|
return this.$$.ctx[0];
|
|
4838
4944
|
}
|
|
4839
4945
|
set visualstructure(t) {
|
|
4840
|
-
this.$$set({ visualstructure: t }),
|
|
4946
|
+
this.$$set({ visualstructure: t }), O();
|
|
4841
4947
|
}
|
|
4842
4948
|
get title() {
|
|
4843
|
-
return this.$$.ctx[
|
|
4949
|
+
return this.$$.ctx[17];
|
|
4844
4950
|
}
|
|
4845
4951
|
set title(t) {
|
|
4846
|
-
this.$$set({ title: t }),
|
|
4952
|
+
this.$$set({ title: t }), O();
|
|
4847
4953
|
}
|
|
4848
4954
|
get caticon0() {
|
|
4849
|
-
return this.$$.ctx[
|
|
4955
|
+
return this.$$.ctx[18];
|
|
4850
4956
|
}
|
|
4851
4957
|
set caticon0(t) {
|
|
4852
|
-
this.$$set({ caticon0: t }),
|
|
4958
|
+
this.$$set({ caticon0: t }), O();
|
|
4853
4959
|
}
|
|
4854
4960
|
get caticon1() {
|
|
4855
|
-
return this.$$.ctx[
|
|
4961
|
+
return this.$$.ctx[19];
|
|
4856
4962
|
}
|
|
4857
4963
|
set caticon1(t) {
|
|
4858
|
-
this.$$set({ caticon1: t }),
|
|
4964
|
+
this.$$set({ caticon1: t }), O();
|
|
4859
4965
|
}
|
|
4860
4966
|
get caticon2() {
|
|
4861
|
-
return this.$$.ctx[
|
|
4967
|
+
return this.$$.ctx[20];
|
|
4862
4968
|
}
|
|
4863
4969
|
set caticon2(t) {
|
|
4864
|
-
this.$$set({ caticon2: t }),
|
|
4970
|
+
this.$$set({ caticon2: t }), O();
|
|
4865
4971
|
}
|
|
4866
4972
|
get caticon3() {
|
|
4867
|
-
return this.$$.ctx[
|
|
4973
|
+
return this.$$.ctx[21];
|
|
4868
4974
|
}
|
|
4869
4975
|
set caticon3(t) {
|
|
4870
|
-
this.$$set({ caticon3: t }),
|
|
4976
|
+
this.$$set({ caticon3: t }), O();
|
|
4871
4977
|
}
|
|
4872
4978
|
get iconlabels() {
|
|
4873
|
-
return this.$$.ctx[
|
|
4979
|
+
return this.$$.ctx[22];
|
|
4874
4980
|
}
|
|
4875
4981
|
set iconlabels(t) {
|
|
4876
|
-
this.$$set({ iconlabels: t }),
|
|
4982
|
+
this.$$set({ iconlabels: t }), O();
|
|
4877
4983
|
}
|
|
4878
4984
|
get backgroundsrc() {
|
|
4879
|
-
return this.$$.ctx[
|
|
4985
|
+
return this.$$.ctx[23];
|
|
4880
4986
|
}
|
|
4881
4987
|
set backgroundsrc(t) {
|
|
4882
|
-
this.$$set({ backgroundsrc: t }),
|
|
4988
|
+
this.$$set({ backgroundsrc: t }), O();
|
|
4883
4989
|
}
|
|
4884
4990
|
get currency() {
|
|
4885
4991
|
return this.$$.ctx[1];
|
|
4886
4992
|
}
|
|
4887
4993
|
set currency(t) {
|
|
4888
|
-
this.$$set({ currency: t }),
|
|
4994
|
+
this.$$set({ currency: t }), O();
|
|
4889
4995
|
}
|
|
4890
4996
|
get backgroundsrcmobile() {
|
|
4891
|
-
return this.$$.ctx[
|
|
4997
|
+
return this.$$.ctx[24];
|
|
4892
4998
|
}
|
|
4893
4999
|
set backgroundsrcmobile(t) {
|
|
4894
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
5000
|
+
this.$$set({ backgroundsrcmobile: t }), O();
|
|
4895
5001
|
}
|
|
4896
5002
|
get titlelogopath() {
|
|
4897
|
-
return this.$$.ctx[
|
|
5003
|
+
return this.$$.ctx[25];
|
|
4898
5004
|
}
|
|
4899
5005
|
set titlelogopath(t) {
|
|
4900
|
-
this.$$set({ titlelogopath: t }),
|
|
5006
|
+
this.$$set({ titlelogopath: t }), O();
|
|
4901
5007
|
}
|
|
4902
5008
|
get lang() {
|
|
4903
|
-
return this.$$.ctx[
|
|
5009
|
+
return this.$$.ctx[26];
|
|
4904
5010
|
}
|
|
4905
5011
|
set lang(t) {
|
|
4906
|
-
this.$$set({ lang: t }),
|
|
5012
|
+
this.$$set({ lang: t }), O();
|
|
4907
5013
|
}
|
|
4908
5014
|
get clientstyling() {
|
|
4909
|
-
return this.$$.ctx[
|
|
5015
|
+
return this.$$.ctx[27];
|
|
4910
5016
|
}
|
|
4911
5017
|
set clientstyling(t) {
|
|
4912
|
-
this.$$set({ clientstyling: t }),
|
|
5018
|
+
this.$$set({ clientstyling: t }), O();
|
|
4913
5019
|
}
|
|
4914
5020
|
get clientstylingurl() {
|
|
4915
|
-
return this.$$.ctx[
|
|
5021
|
+
return this.$$.ctx[28];
|
|
4916
5022
|
}
|
|
4917
5023
|
set clientstylingurl(t) {
|
|
4918
|
-
this.$$set({ clientstylingurl: t }),
|
|
5024
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4919
5025
|
}
|
|
4920
5026
|
get translationurl() {
|
|
4921
|
-
return this.$$.ctx[
|
|
5027
|
+
return this.$$.ctx[29];
|
|
4922
5028
|
}
|
|
4923
5029
|
set translationurl(t) {
|
|
4924
|
-
this.$$set({ translationurl: t }),
|
|
5030
|
+
this.$$set({ translationurl: t }), O();
|
|
4925
5031
|
}
|
|
4926
5032
|
get endpoint() {
|
|
4927
|
-
return this.$$.ctx[
|
|
5033
|
+
return this.$$.ctx[30];
|
|
4928
5034
|
}
|
|
4929
5035
|
set endpoint(t) {
|
|
4930
|
-
this.$$set({ endpoint: t }),
|
|
5036
|
+
this.$$set({ endpoint: t }), O();
|
|
4931
5037
|
}
|
|
4932
5038
|
get gameid() {
|
|
4933
|
-
return this.$$.ctx[
|
|
5039
|
+
return this.$$.ctx[31];
|
|
4934
5040
|
}
|
|
4935
5041
|
set gameid(t) {
|
|
4936
|
-
this.$$set({ gameid: t }),
|
|
5042
|
+
this.$$set({ gameid: t }), O();
|
|
4937
5043
|
}
|
|
4938
5044
|
get mbsource() {
|
|
4939
|
-
return this.$$.ctx[
|
|
5045
|
+
return this.$$.ctx[32];
|
|
4940
5046
|
}
|
|
4941
5047
|
set mbsource(t) {
|
|
4942
|
-
this.$$set({ mbsource: t }),
|
|
5048
|
+
this.$$set({ mbsource: t }), O();
|
|
4943
5049
|
}
|
|
4944
5050
|
get realtimeupdate() {
|
|
4945
5051
|
return this.$$.ctx[2];
|
|
4946
5052
|
}
|
|
4947
5053
|
set realtimeupdate(t) {
|
|
4948
|
-
this.$$set({ realtimeupdate: t }),
|
|
5054
|
+
this.$$set({ realtimeupdate: t }), O();
|
|
5055
|
+
}
|
|
5056
|
+
get currencylocale() {
|
|
5057
|
+
return this.$$.ctx[3];
|
|
5058
|
+
}
|
|
5059
|
+
set currencylocale(t) {
|
|
5060
|
+
this.$$set({ currencylocale: t }), O();
|
|
4949
5061
|
}
|
|
4950
5062
|
}
|
|
4951
|
-
|
|
5063
|
+
An(Wo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
4952
5064
|
export {
|
|
4953
|
-
|
|
5065
|
+
Wo as C
|
|
4954
5066
|
};
|