@everymatrix/casino-jackpot-banner 1.74.3 → 1.74.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoJackpotBanner-CECrloSF.cjs +18 -0
- package/components/{CasinoJackpotBanner-alOj6ZGt.js → CasinoJackpotBanner-D4H3-LNg.js} +943 -929
- package/components/{CasinoJackpotBanner-D3tmVTCd.js → CasinoJackpotBanner-xFnu8LcC.js} +842 -828
- 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/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CasinoJackpotBanner-C4ARReIt.cjs +0 -18
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-BW8AeEVd.js";
|
|
2
2
|
function Z() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function xr(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Vt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
10
|
function ze(e) {
|
|
11
|
-
e.forEach(
|
|
11
|
+
e.forEach(xr);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function Dt(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Sr(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
19
|
let Ke;
|
|
20
20
|
function Q(e, t) {
|
|
21
21
|
return e === t ? !0 : (Ke || (Ke = document.createElement("a")), Ke.href = t, e === Ke.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function nn(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function on(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
@@ -32,17 +32,17 @@ function tn(e, ...t) {
|
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function d(e, t) {
|
|
36
36
|
e.appendChild(t);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
const n =
|
|
38
|
+
function sn(e, t, r) {
|
|
39
|
+
const n = an(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, un(n, i);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function an(e) {
|
|
46
46
|
if (!e)
|
|
47
47
|
return document;
|
|
48
48
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -52,8 +52,8 @@ function nn(e) {
|
|
|
52
52
|
t
|
|
53
53
|
) : e.ownerDocument;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
return
|
|
55
|
+
function un(e, t) {
|
|
56
|
+
return d(
|
|
57
57
|
/** @type {Document} */
|
|
58
58
|
e.head || e,
|
|
59
59
|
t
|
|
@@ -65,7 +65,7 @@ function F(e, t, r) {
|
|
|
65
65
|
function D(e) {
|
|
66
66
|
e.parentNode && e.parentNode.removeChild(e);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function ln(e, t) {
|
|
69
69
|
for (let r = 0; r < e.length; r += 1)
|
|
70
70
|
e[r] && e[r].d(t);
|
|
71
71
|
}
|
|
@@ -75,23 +75,23 @@ function b(e) {
|
|
|
75
75
|
function R(e) {
|
|
76
76
|
return document.createTextNode(e);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function I() {
|
|
79
79
|
return R(" ");
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function cn() {
|
|
82
82
|
return R("");
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function hn(e, t, r, n) {
|
|
85
85
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function _(e, t, r) {
|
|
88
88
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
89
89
|
}
|
|
90
90
|
function L(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, t, r);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function fn(e) {
|
|
95
95
|
return Array.from(e.childNodes);
|
|
96
96
|
}
|
|
97
97
|
function j(e, t) {
|
|
@@ -101,7 +101,7 @@ function j(e, t) {
|
|
|
101
101
|
function et(e, t, r, n) {
|
|
102
102
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function pn(e) {
|
|
105
105
|
const t = {};
|
|
106
106
|
return e.childNodes.forEach(
|
|
107
107
|
/** @param {Element} node */
|
|
@@ -114,30 +114,30 @@ let Ve;
|
|
|
114
114
|
function $e(e) {
|
|
115
115
|
Ve = e;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Tr() {
|
|
118
118
|
if (!Ve)
|
|
119
119
|
throw new Error("Function called outside component initialization");
|
|
120
120
|
return Ve;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function dn(e) {
|
|
123
|
+
Tr().$$.on_mount.push(e);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function mn(e) {
|
|
126
|
+
Tr().$$.on_destroy.push(e);
|
|
127
127
|
}
|
|
128
|
-
const Ae = [],
|
|
128
|
+
const Ae = [], xt = [];
|
|
129
129
|
let Be = [];
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
function
|
|
133
|
-
|
|
130
|
+
const Wt = [], bn = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let St = !1;
|
|
132
|
+
function gn() {
|
|
133
|
+
St || (St = !0, bn.then(C));
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Tt(e) {
|
|
136
136
|
Be.push(e);
|
|
137
137
|
}
|
|
138
|
-
const
|
|
138
|
+
const dt = /* @__PURE__ */ new Set();
|
|
139
139
|
let we = 0;
|
|
140
|
-
function
|
|
140
|
+
function C() {
|
|
141
141
|
if (we !== 0)
|
|
142
142
|
return;
|
|
143
143
|
const e = Ve;
|
|
@@ -145,66 +145,66 @@ function O() {
|
|
|
145
145
|
try {
|
|
146
146
|
for (; we < Ae.length; ) {
|
|
147
147
|
const t = Ae[we];
|
|
148
|
-
we++, $e(t),
|
|
148
|
+
we++, $e(t), yn(t.$$);
|
|
149
149
|
}
|
|
150
150
|
} catch (t) {
|
|
151
151
|
throw Ae.length = 0, we = 0, t;
|
|
152
152
|
}
|
|
153
|
-
for ($e(null), Ae.length = 0, we = 0;
|
|
154
|
-
|
|
153
|
+
for ($e(null), Ae.length = 0, we = 0; xt.length; )
|
|
154
|
+
xt.pop()();
|
|
155
155
|
for (let t = 0; t < Be.length; t += 1) {
|
|
156
156
|
const r = Be[t];
|
|
157
|
-
|
|
157
|
+
dt.has(r) || (dt.add(r), r());
|
|
158
158
|
}
|
|
159
159
|
Be.length = 0;
|
|
160
160
|
} while (Ae.length);
|
|
161
|
-
for (;
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
for (; Wt.length; )
|
|
162
|
+
Wt.pop()();
|
|
163
|
+
St = !1, dt.clear(), $e(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function yn(e) {
|
|
166
166
|
if (e.fragment !== null) {
|
|
167
167
|
e.update(), ze(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(Tt);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function vn(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 _n = /* @__PURE__ */ new Set();
|
|
177
|
+
function En(e, t) {
|
|
178
|
+
e && e.i && (_n.delete(e), e.i(t));
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Xt(e) {
|
|
181
181
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function xn(e, t, r) {
|
|
184
184
|
const { fragment: n, after_update: i } = e.$$;
|
|
185
|
-
n && n.m(t, r),
|
|
186
|
-
const
|
|
187
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
188
|
-
}), i.forEach(
|
|
185
|
+
n && n.m(t, r), Tt(() => {
|
|
186
|
+
const o = e.$$.on_mount.map(xr).filter(Dt);
|
|
187
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ze(o), e.$$.on_mount = [];
|
|
188
|
+
}), i.forEach(Tt);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Sn(e, t) {
|
|
191
191
|
const r = e.$$;
|
|
192
|
-
r.fragment !== null && (
|
|
192
|
+
r.fragment !== null && (vn(r.after_update), ze(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 && (Ae.push(e),
|
|
194
|
+
function Tn(e, t) {
|
|
195
|
+
e.$$.dirty[0] === -1 && (Ae.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function wn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
198
198
|
const l = Ve;
|
|
199
199
|
$e(e);
|
|
200
200
|
const u = e.$$ = {
|
|
201
201
|
fragment: null,
|
|
202
202
|
ctx: [],
|
|
203
203
|
// state
|
|
204
|
-
props:
|
|
204
|
+
props: o,
|
|
205
205
|
update: Z,
|
|
206
206
|
not_equal: i,
|
|
207
|
-
bound:
|
|
207
|
+
bound: Vt(),
|
|
208
208
|
// lifecycle
|
|
209
209
|
on_mount: [],
|
|
210
210
|
on_destroy: [],
|
|
@@ -213,28 +213,28 @@ function xn(e, t, r, n, i, s, o = 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: Vt(),
|
|
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
222
|
let c = !1;
|
|
223
|
-
if (u.ctx = r(e, t.props || {}, (
|
|
223
|
+
if (u.ctx = r ? r(e, t.props || {}, (p, h, ...g) => {
|
|
224
224
|
const x = g.length ? g[0] : h;
|
|
225
|
-
return u.ctx && i(u.ctx[
|
|
226
|
-
}), u.update(), c = !0, ze(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
225
|
+
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c && Tn(e, p)), h;
|
|
226
|
+
}) : [], u.update(), c = !0, ze(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 p = fn(t.target);
|
|
229
|
+
u.fragment && u.fragment.l(p), p.forEach(D);
|
|
230
230
|
} else
|
|
231
231
|
u.fragment && u.fragment.c();
|
|
232
|
-
t.intro &&
|
|
232
|
+
t.intro && En(e.$$.fragment), xn(e, t.target, t.anchor), C();
|
|
233
233
|
}
|
|
234
234
|
$e(l);
|
|
235
235
|
}
|
|
236
|
-
let
|
|
237
|
-
typeof HTMLElement == "function" && (
|
|
236
|
+
let wr;
|
|
237
|
+
typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
238
238
|
/** The Svelte component constructor */
|
|
239
239
|
$$ctor;
|
|
240
240
|
/** Slots */
|
|
@@ -273,32 +273,32 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
273
273
|
if (this.$$cn = !0, !this.$$c) {
|
|
274
274
|
let e = function(i) {
|
|
275
275
|
return () => {
|
|
276
|
-
let
|
|
276
|
+
let o;
|
|
277
277
|
return {
|
|
278
278
|
c: function() {
|
|
279
|
-
|
|
279
|
+
o = b("slot"), i !== "default" && _(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
|
-
F(l,
|
|
286
|
+
F(l, o, u);
|
|
287
287
|
},
|
|
288
288
|
d: function(l) {
|
|
289
|
-
l && D(
|
|
289
|
+
l && D(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 = pn(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
|
-
const
|
|
301
|
-
|
|
300
|
+
const o = this.$$g_p(i.name);
|
|
301
|
+
o in this.$$d || (this.$$d[o] = nt(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,21 +316,21 @@ typeof HTMLElement == "function" && (Sr = 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
|
|
319
|
+
const o = nt(
|
|
320
320
|
i,
|
|
321
321
|
this.$$d[i],
|
|
322
322
|
this.$$p_d,
|
|
323
323
|
"toAttribute"
|
|
324
324
|
);
|
|
325
|
-
|
|
325
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
326
326
|
}
|
|
327
327
|
this.$$r = !1;
|
|
328
328
|
};
|
|
329
329
|
this.$$c.$$.after_update.push(n), n();
|
|
330
330
|
for (const i in this.$$l)
|
|
331
|
-
for (const
|
|
332
|
-
const
|
|
333
|
-
this.$$l_u.set(
|
|
331
|
+
for (const o of this.$$l[i]) {
|
|
332
|
+
const s = this.$$c.$on(i, o);
|
|
333
|
+
this.$$l_u.set(o, s);
|
|
334
334
|
}
|
|
335
335
|
this.$$l = {};
|
|
336
336
|
}
|
|
@@ -380,8 +380,8 @@ function nt(e, t, r, n) {
|
|
|
380
380
|
return t;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
let
|
|
383
|
+
function Hn(e, t, r, n, i, o) {
|
|
384
|
+
let s = class extends wr {
|
|
385
385
|
constructor() {
|
|
386
386
|
super(e, r, i), this.$$p_d = t;
|
|
387
387
|
}
|
|
@@ -392,7 +392,7 @@ function Sn(e, t, r, n, i, s) {
|
|
|
392
392
|
}
|
|
393
393
|
};
|
|
394
394
|
return Object.keys(t).forEach((a) => {
|
|
395
|
-
Object.defineProperty(
|
|
395
|
+
Object.defineProperty(s.prototype, a, {
|
|
396
396
|
get() {
|
|
397
397
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
398
398
|
},
|
|
@@ -401,15 +401,15 @@ function Sn(e, t, r, n, i, s) {
|
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
}), n.forEach((a) => {
|
|
404
|
-
Object.defineProperty(
|
|
404
|
+
Object.defineProperty(s.prototype, a, {
|
|
405
405
|
get() {
|
|
406
406
|
return this.$$c?.[a];
|
|
407
407
|
}
|
|
408
408
|
});
|
|
409
409
|
}), e.element = /** @type {any} */
|
|
410
|
-
|
|
410
|
+
s, s;
|
|
411
411
|
}
|
|
412
|
-
class
|
|
412
|
+
class An {
|
|
413
413
|
/**
|
|
414
414
|
* ### PRIVATE API
|
|
415
415
|
*
|
|
@@ -428,7 +428,7 @@ class Tn {
|
|
|
428
428
|
$$set = void 0;
|
|
429
429
|
/** @returns {void} */
|
|
430
430
|
$destroy() {
|
|
431
|
-
|
|
431
|
+
Sn(this, 1), this.$destroy = Z;
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
434
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -437,7 +437,7 @@ class Tn {
|
|
|
437
437
|
* @returns {() => void}
|
|
438
438
|
*/
|
|
439
439
|
$on(t, r) {
|
|
440
|
-
if (!
|
|
440
|
+
if (!Dt(r))
|
|
441
441
|
return Z;
|
|
442
442
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
443
443
|
return n.push(r), () => {
|
|
@@ -450,11 +450,11 @@ class Tn {
|
|
|
450
450
|
* @returns {void}
|
|
451
451
|
*/
|
|
452
452
|
$set(t) {
|
|
453
|
-
this.$$set && !
|
|
453
|
+
this.$$set && !nn(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 Bn = "4";
|
|
457
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
|
|
458
458
|
/*! *****************************************************************************
|
|
459
459
|
Copyright (c) Microsoft Corporation.
|
|
460
460
|
|
|
@@ -469,18 +469,18 @@ 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 wt = function(e, t) {
|
|
473
|
+
return wt = 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
|
+
}, wt(e, t);
|
|
479
479
|
};
|
|
480
480
|
function ce(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
|
+
wt(e, t);
|
|
484
484
|
function r() {
|
|
485
485
|
this.constructor = e;
|
|
486
486
|
}
|
|
@@ -490,13 +490,13 @@ var H = function() {
|
|
|
490
490
|
return H = Object.assign || function(t) {
|
|
491
491
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
492
492
|
r = arguments[n];
|
|
493
|
-
for (var
|
|
494
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
493
|
+
for (var o in r)
|
|
494
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
495
495
|
}
|
|
496
496
|
return t;
|
|
497
497
|
}, H.apply(this, arguments);
|
|
498
498
|
};
|
|
499
|
-
function
|
|
499
|
+
function Pn(e, t) {
|
|
500
500
|
var r = {};
|
|
501
501
|
for (var n in e)
|
|
502
502
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -505,7 +505,7 @@ function Hn(e, t) {
|
|
|
505
505
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
506
506
|
return r;
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function Ht(e) {
|
|
509
509
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
510
510
|
if (r)
|
|
511
511
|
return r.call(e);
|
|
@@ -517,42 +517,42 @@ function wt(e) {
|
|
|
517
517
|
};
|
|
518
518
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function At(e, t) {
|
|
521
521
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
522
522
|
if (!r)
|
|
523
523
|
return e;
|
|
524
|
-
var n = r.call(e), i,
|
|
524
|
+
var n = r.call(e), i, o = [], s;
|
|
525
525
|
try {
|
|
526
526
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
527
|
-
|
|
527
|
+
o.push(i.value);
|
|
528
528
|
} catch (a) {
|
|
529
|
-
|
|
529
|
+
s = { error: a };
|
|
530
530
|
} finally {
|
|
531
531
|
try {
|
|
532
532
|
i && !i.done && (r = n.return) && r.call(n);
|
|
533
533
|
} finally {
|
|
534
|
-
if (
|
|
535
|
-
throw
|
|
534
|
+
if (s)
|
|
535
|
+
throw s.error;
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
return
|
|
538
|
+
return o;
|
|
539
539
|
}
|
|
540
540
|
function Pe(e, t, r) {
|
|
541
541
|
if (r || arguments.length === 2)
|
|
542
|
-
for (var n = 0, i = t.length,
|
|
543
|
-
(
|
|
544
|
-
return e.concat(
|
|
542
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
543
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
544
|
+
return e.concat(o || t);
|
|
545
545
|
}
|
|
546
546
|
function le(e) {
|
|
547
547
|
return typeof e == "function";
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function Hr(e) {
|
|
550
550
|
var t = function(n) {
|
|
551
551
|
Error.call(n), n.stack = new Error().stack;
|
|
552
552
|
}, r = e(t);
|
|
553
553
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
554
554
|
}
|
|
555
|
-
var mt =
|
|
555
|
+
var mt = Hr(function(e) {
|
|
556
556
|
return function(r) {
|
|
557
557
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
558
558
|
` + r.map(function(n, i) {
|
|
@@ -561,7 +561,7 @@ var mt = Tr(function(e) {
|
|
|
561
561
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
562
562
|
};
|
|
563
563
|
});
|
|
564
|
-
function
|
|
564
|
+
function Bt(e, t) {
|
|
565
565
|
if (e) {
|
|
566
566
|
var r = e.indexOf(t);
|
|
567
567
|
0 <= r && e.splice(r, 1);
|
|
@@ -572,14 +572,14 @@ var lt = function() {
|
|
|
572
572
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
573
573
|
}
|
|
574
574
|
return e.prototype.unsubscribe = function() {
|
|
575
|
-
var t, r, n, i,
|
|
575
|
+
var t, r, n, i, o;
|
|
576
576
|
if (!this.closed) {
|
|
577
577
|
this.closed = !0;
|
|
578
|
-
var
|
|
579
|
-
if (
|
|
580
|
-
if (this._parentage = null, Array.isArray(
|
|
578
|
+
var s = this._parentage;
|
|
579
|
+
if (s)
|
|
580
|
+
if (this._parentage = null, Array.isArray(s))
|
|
581
581
|
try {
|
|
582
|
-
for (var a =
|
|
582
|
+
for (var a = Ht(s), l = a.next(); !l.done; l = a.next()) {
|
|
583
583
|
var u = l.value;
|
|
584
584
|
u.remove(this);
|
|
585
585
|
}
|
|
@@ -594,24 +594,24 @@ var lt = function() {
|
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
else
|
|
597
|
-
|
|
597
|
+
s.remove(this);
|
|
598
598
|
var c = this.initialTeardown;
|
|
599
599
|
if (le(c))
|
|
600
600
|
try {
|
|
601
601
|
c();
|
|
602
602
|
} catch (y) {
|
|
603
|
-
|
|
603
|
+
o = y instanceof mt ? y.errors : [y];
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
605
|
+
var p = this._finalizers;
|
|
606
|
+
if (p) {
|
|
607
607
|
this._finalizers = null;
|
|
608
608
|
try {
|
|
609
|
-
for (var h =
|
|
609
|
+
for (var h = Ht(p), g = h.next(); !g.done; g = h.next()) {
|
|
610
610
|
var x = g.value;
|
|
611
611
|
try {
|
|
612
|
-
|
|
612
|
+
zt(x);
|
|
613
613
|
} catch (y) {
|
|
614
|
-
|
|
614
|
+
o = o ?? [], y instanceof mt ? o = Pe(Pe([], At(o)), At(y.errors)) : o.push(y);
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
} catch (y) {
|
|
@@ -625,14 +625,14 @@ var lt = function() {
|
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
if (
|
|
629
|
-
throw new mt(
|
|
628
|
+
if (o)
|
|
629
|
+
throw new mt(o);
|
|
630
630
|
}
|
|
631
631
|
}, e.prototype.add = function(t) {
|
|
632
632
|
var r;
|
|
633
633
|
if (t && t !== this)
|
|
634
634
|
if (this.closed)
|
|
635
|
-
|
|
635
|
+
zt(t);
|
|
636
636
|
else {
|
|
637
637
|
if (t instanceof e) {
|
|
638
638
|
if (t.closed || t._hasParent(this))
|
|
@@ -649,56 +649,56 @@ var lt = function() {
|
|
|
649
649
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
650
650
|
}, e.prototype._removeParent = function(t) {
|
|
651
651
|
var r = this._parentage;
|
|
652
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
652
|
+
r === t ? this._parentage = null : Array.isArray(r) && Bt(r, t);
|
|
653
653
|
}, e.prototype.remove = function(t) {
|
|
654
654
|
var r = this._finalizers;
|
|
655
|
-
r &&
|
|
655
|
+
r && Bt(r, t), t instanceof e && t._removeParent(this);
|
|
656
656
|
}, e.EMPTY = function() {
|
|
657
657
|
var t = new e();
|
|
658
658
|
return t.closed = !0, t;
|
|
659
659
|
}(), e;
|
|
660
|
-
}(),
|
|
661
|
-
function
|
|
660
|
+
}(), Ar = lt.EMPTY;
|
|
661
|
+
function Br(e) {
|
|
662
662
|
return e instanceof lt || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
|
|
663
663
|
}
|
|
664
|
-
function
|
|
664
|
+
function zt(e) {
|
|
665
665
|
le(e) ? e() : e.unsubscribe();
|
|
666
666
|
}
|
|
667
|
-
var
|
|
667
|
+
var Pr = {
|
|
668
668
|
onUnhandledError: null,
|
|
669
669
|
onStoppedNotification: null,
|
|
670
670
|
Promise: void 0,
|
|
671
671
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
672
672
|
useDeprecatedNextContext: !1
|
|
673
|
-
},
|
|
673
|
+
}, Ln = {
|
|
674
674
|
setTimeout: function(e, t) {
|
|
675
675
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
676
676
|
r[n - 2] = arguments[n];
|
|
677
|
-
return setTimeout.apply(void 0, Pe([e, t],
|
|
677
|
+
return setTimeout.apply(void 0, Pe([e, t], At(r)));
|
|
678
678
|
},
|
|
679
679
|
clearTimeout: function(e) {
|
|
680
680
|
return clearTimeout(e);
|
|
681
681
|
},
|
|
682
682
|
delegate: void 0
|
|
683
683
|
};
|
|
684
|
-
function
|
|
685
|
-
|
|
684
|
+
function Cn(e) {
|
|
685
|
+
Ln.setTimeout(function() {
|
|
686
686
|
throw e;
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function Jt() {
|
|
690
690
|
}
|
|
691
691
|
function it(e) {
|
|
692
692
|
e();
|
|
693
693
|
}
|
|
694
|
-
var
|
|
694
|
+
var Lr = function(e) {
|
|
695
695
|
ce(t, e);
|
|
696
696
|
function t(r) {
|
|
697
697
|
var n = e.call(this) || this;
|
|
698
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
698
|
+
return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Mn, n;
|
|
699
699
|
}
|
|
700
700
|
return t.create = function(r, n, i) {
|
|
701
|
-
return new
|
|
701
|
+
return new Pt(r, n, i);
|
|
702
702
|
}, t.prototype.next = function(r) {
|
|
703
703
|
this.isStopped || this._next(r);
|
|
704
704
|
}, t.prototype.error = function(r) {
|
|
@@ -722,7 +722,11 @@ var Ar = function(e) {
|
|
|
722
722
|
this.unsubscribe();
|
|
723
723
|
}
|
|
724
724
|
}, t;
|
|
725
|
-
}(lt),
|
|
725
|
+
}(lt), In = Function.prototype.bind;
|
|
726
|
+
function bt(e, t) {
|
|
727
|
+
return In.call(e, t);
|
|
728
|
+
}
|
|
729
|
+
var On = function() {
|
|
726
730
|
function e(t) {
|
|
727
731
|
this.partialObserver = t;
|
|
728
732
|
}
|
|
@@ -753,43 +757,55 @@ var Ar = function(e) {
|
|
|
753
757
|
tt(r);
|
|
754
758
|
}
|
|
755
759
|
}, e;
|
|
756
|
-
}(),
|
|
760
|
+
}(), Pt = function(e) {
|
|
757
761
|
ce(t, e);
|
|
758
762
|
function t(r, n, i) {
|
|
759
|
-
var
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
763
|
+
var o = e.call(this) || this, s;
|
|
764
|
+
if (le(r) || !r)
|
|
765
|
+
s = {
|
|
766
|
+
next: r ?? void 0,
|
|
767
|
+
error: n ?? void 0,
|
|
768
|
+
complete: i ?? void 0
|
|
769
|
+
};
|
|
770
|
+
else {
|
|
771
|
+
var a;
|
|
772
|
+
o && Pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
773
|
+
return o.unsubscribe();
|
|
774
|
+
}, s = {
|
|
775
|
+
next: r.next && bt(r.next, a),
|
|
776
|
+
error: r.error && bt(r.error, a),
|
|
777
|
+
complete: r.complete && bt(r.complete, a)
|
|
778
|
+
}) : s = r;
|
|
779
|
+
}
|
|
780
|
+
return o.destination = new On(s), o;
|
|
765
781
|
}
|
|
766
782
|
return t;
|
|
767
|
-
}(
|
|
783
|
+
}(Lr);
|
|
768
784
|
function tt(e) {
|
|
769
|
-
|
|
785
|
+
Cn(e);
|
|
770
786
|
}
|
|
771
|
-
function
|
|
787
|
+
function Nn(e) {
|
|
772
788
|
throw e;
|
|
773
789
|
}
|
|
774
|
-
var
|
|
790
|
+
var Mn = {
|
|
775
791
|
closed: !0,
|
|
776
|
-
next:
|
|
777
|
-
error:
|
|
778
|
-
complete:
|
|
779
|
-
},
|
|
792
|
+
next: Jt,
|
|
793
|
+
error: Nn,
|
|
794
|
+
complete: Jt
|
|
795
|
+
}, Rn = function() {
|
|
780
796
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
781
797
|
}();
|
|
782
|
-
function
|
|
798
|
+
function Un(e) {
|
|
783
799
|
return e;
|
|
784
800
|
}
|
|
785
|
-
function
|
|
786
|
-
return e.length === 0 ?
|
|
801
|
+
function Dn(e) {
|
|
802
|
+
return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
|
|
787
803
|
return e.reduce(function(n, i) {
|
|
788
804
|
return i(n);
|
|
789
805
|
}, r);
|
|
790
806
|
};
|
|
791
807
|
}
|
|
792
|
-
var
|
|
808
|
+
var Zt = function() {
|
|
793
809
|
function e(t) {
|
|
794
810
|
t && (this._subscribe = t);
|
|
795
811
|
}
|
|
@@ -797,11 +813,11 @@ var zt = function() {
|
|
|
797
813
|
var r = new e();
|
|
798
814
|
return r.source = this, r.operator = t, r;
|
|
799
815
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
800
|
-
var i = this,
|
|
816
|
+
var i = this, o = Gn(t) ? t : new Pt(t, r, n);
|
|
801
817
|
return it(function() {
|
|
802
|
-
var
|
|
803
|
-
|
|
804
|
-
}),
|
|
818
|
+
var s = i, a = s.operator, l = s.source;
|
|
819
|
+
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
820
|
+
}), o;
|
|
805
821
|
}, e.prototype._trySubscribe = function(t) {
|
|
806
822
|
try {
|
|
807
823
|
return this._subscribe(t);
|
|
@@ -810,79 +826,79 @@ var zt = function() {
|
|
|
810
826
|
}
|
|
811
827
|
}, e.prototype.forEach = function(t, r) {
|
|
812
828
|
var n = this;
|
|
813
|
-
return r =
|
|
814
|
-
var
|
|
829
|
+
return r = Qt(r), new r(function(i, o) {
|
|
830
|
+
var s = new Pt({
|
|
815
831
|
next: function(a) {
|
|
816
832
|
try {
|
|
817
833
|
t(a);
|
|
818
834
|
} catch (l) {
|
|
819
|
-
|
|
835
|
+
o(l), s.unsubscribe();
|
|
820
836
|
}
|
|
821
837
|
},
|
|
822
|
-
error:
|
|
838
|
+
error: o,
|
|
823
839
|
complete: i
|
|
824
840
|
});
|
|
825
|
-
n.subscribe(
|
|
841
|
+
n.subscribe(s);
|
|
826
842
|
});
|
|
827
843
|
}, e.prototype._subscribe = function(t) {
|
|
828
844
|
var r;
|
|
829
845
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
830
|
-
}, e.prototype[
|
|
846
|
+
}, e.prototype[Rn] = function() {
|
|
831
847
|
return this;
|
|
832
848
|
}, e.prototype.pipe = function() {
|
|
833
849
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
834
850
|
t[r] = arguments[r];
|
|
835
|
-
return
|
|
851
|
+
return Dn(t)(this);
|
|
836
852
|
}, e.prototype.toPromise = function(t) {
|
|
837
853
|
var r = this;
|
|
838
|
-
return t =
|
|
839
|
-
var
|
|
840
|
-
r.subscribe(function(
|
|
841
|
-
return
|
|
842
|
-
}, function(
|
|
843
|
-
return i(
|
|
854
|
+
return t = Qt(t), new t(function(n, i) {
|
|
855
|
+
var o;
|
|
856
|
+
r.subscribe(function(s) {
|
|
857
|
+
return o = s;
|
|
858
|
+
}, function(s) {
|
|
859
|
+
return i(s);
|
|
844
860
|
}, function() {
|
|
845
|
-
return n(
|
|
861
|
+
return n(o);
|
|
846
862
|
});
|
|
847
863
|
});
|
|
848
864
|
}, e.create = function(t) {
|
|
849
865
|
return new e(t);
|
|
850
866
|
}, e;
|
|
851
867
|
}();
|
|
852
|
-
function
|
|
868
|
+
function Qt(e) {
|
|
853
869
|
var t;
|
|
854
|
-
return (t = e ??
|
|
870
|
+
return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
855
871
|
}
|
|
856
|
-
function
|
|
872
|
+
function kn(e) {
|
|
857
873
|
return e && le(e.next) && le(e.error) && le(e.complete);
|
|
858
874
|
}
|
|
859
|
-
function
|
|
860
|
-
return e && e instanceof
|
|
875
|
+
function Gn(e) {
|
|
876
|
+
return e && e instanceof Lr || kn(e) && Br(e);
|
|
861
877
|
}
|
|
862
|
-
var
|
|
878
|
+
var jn = Hr(function(e) {
|
|
863
879
|
return function() {
|
|
864
880
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
865
881
|
};
|
|
866
|
-
}),
|
|
882
|
+
}), Cr = function(e) {
|
|
867
883
|
ce(t, e);
|
|
868
884
|
function t() {
|
|
869
885
|
var r = e.call(this) || this;
|
|
870
886
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
871
887
|
}
|
|
872
888
|
return t.prototype.lift = function(r) {
|
|
873
|
-
var n = new
|
|
889
|
+
var n = new Yt(this, this);
|
|
874
890
|
return n.operator = r, n;
|
|
875
891
|
}, t.prototype._throwIfClosed = function() {
|
|
876
892
|
if (this.closed)
|
|
877
|
-
throw new
|
|
893
|
+
throw new jn();
|
|
878
894
|
}, t.prototype.next = function(r) {
|
|
879
895
|
var n = this;
|
|
880
896
|
it(function() {
|
|
881
|
-
var i,
|
|
897
|
+
var i, o;
|
|
882
898
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
883
899
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
884
900
|
try {
|
|
885
|
-
for (var
|
|
901
|
+
for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
886
902
|
var l = a.value;
|
|
887
903
|
l.next(r);
|
|
888
904
|
}
|
|
@@ -890,7 +906,7 @@ var Dn = Tr(function(e) {
|
|
|
890
906
|
i = { error: u };
|
|
891
907
|
} finally {
|
|
892
908
|
try {
|
|
893
|
-
a && !a.done && (
|
|
909
|
+
a && !a.done && (o = s.return) && o.call(s);
|
|
894
910
|
} finally {
|
|
895
911
|
if (i)
|
|
896
912
|
throw i.error;
|
|
@@ -930,20 +946,20 @@ var Dn = Tr(function(e) {
|
|
|
930
946
|
}, t.prototype._subscribe = function(r) {
|
|
931
947
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
932
948
|
}, t.prototype._innerSubscribe = function(r) {
|
|
933
|
-
var n = this, i = this,
|
|
934
|
-
return
|
|
935
|
-
n.currentObservers = null,
|
|
949
|
+
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
950
|
+
return o || s ? Ar : (this.currentObservers = null, a.push(r), new lt(function() {
|
|
951
|
+
n.currentObservers = null, Bt(a, r);
|
|
936
952
|
}));
|
|
937
953
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
938
|
-
var n = this, i = n.hasError,
|
|
939
|
-
i ? r.error(
|
|
954
|
+
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
955
|
+
i ? r.error(o) : s && r.complete();
|
|
940
956
|
}, t.prototype.asObservable = function() {
|
|
941
|
-
var r = new
|
|
957
|
+
var r = new Zt();
|
|
942
958
|
return r.source = this, r;
|
|
943
959
|
}, t.create = function(r, n) {
|
|
944
|
-
return new
|
|
960
|
+
return new Yt(r, n);
|
|
945
961
|
}, t;
|
|
946
|
-
}(
|
|
962
|
+
}(Zt), Yt = function(e) {
|
|
947
963
|
ce(t, e);
|
|
948
964
|
function t(r, n) {
|
|
949
965
|
var i = e.call(this) || this;
|
|
@@ -960,45 +976,45 @@ var Dn = Tr(function(e) {
|
|
|
960
976
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
961
977
|
}, t.prototype._subscribe = function(r) {
|
|
962
978
|
var n, i;
|
|
963
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
979
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
|
|
964
980
|
}, t;
|
|
965
|
-
}(
|
|
981
|
+
}(Cr), Ir = {
|
|
966
982
|
now: function() {
|
|
967
|
-
return (
|
|
983
|
+
return (Ir.delegate || Date).now();
|
|
968
984
|
},
|
|
969
985
|
delegate: void 0
|
|
970
|
-
},
|
|
986
|
+
}, Fn = function(e) {
|
|
971
987
|
ce(t, e);
|
|
972
988
|
function t(r, n, i) {
|
|
973
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
974
|
-
var
|
|
975
|
-
return
|
|
989
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
|
|
990
|
+
var o = e.call(this) || this;
|
|
991
|
+
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;
|
|
976
992
|
}
|
|
977
993
|
return t.prototype.next = function(r) {
|
|
978
|
-
var n = this, i = n.isStopped,
|
|
979
|
-
i || (
|
|
994
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
|
995
|
+
i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
980
996
|
}, t.prototype._subscribe = function(r) {
|
|
981
997
|
this._throwIfClosed(), this._trimBuffer();
|
|
982
|
-
for (var n = this._innerSubscribe(r), i = this,
|
|
998
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
|
983
999
|
r.next(a[l]);
|
|
984
1000
|
return this._checkFinalizedStatuses(r), n;
|
|
985
1001
|
}, t.prototype._trimBuffer = function() {
|
|
986
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider,
|
|
987
|
-
if (n < 1 / 0 && a <
|
|
988
|
-
for (var l = i.now(), u = 0, c = 1; c <
|
|
1002
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1003
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1004
|
+
for (var l = i.now(), u = 0, c = 1; c < o.length && o[c] <= l; c += 2)
|
|
989
1005
|
u = c;
|
|
990
|
-
u &&
|
|
1006
|
+
u && o.splice(0, u + 1);
|
|
991
1007
|
}
|
|
992
1008
|
}, t;
|
|
993
|
-
}(
|
|
994
|
-
const
|
|
995
|
-
if (
|
|
996
|
-
const r = new
|
|
997
|
-
|
|
1009
|
+
}(Cr);
|
|
1010
|
+
const qt = [], Kt = {}, $n = (e, t = 0) => {
|
|
1011
|
+
if (qt.indexOf(e) == -1) {
|
|
1012
|
+
const r = new Fn(t);
|
|
1013
|
+
Kt[e] = r, qt.push(e);
|
|
998
1014
|
}
|
|
999
|
-
return
|
|
1015
|
+
return Kt[e];
|
|
1000
1016
|
}, He = [];
|
|
1001
|
-
function
|
|
1017
|
+
function Vn(e, t) {
|
|
1002
1018
|
return {
|
|
1003
1019
|
subscribe: ct(e, t).subscribe
|
|
1004
1020
|
};
|
|
@@ -1007,7 +1023,7 @@ function ct(e, t = Z) {
|
|
|
1007
1023
|
let r;
|
|
1008
1024
|
const n = /* @__PURE__ */ new Set();
|
|
1009
1025
|
function i(a) {
|
|
1010
|
-
if (
|
|
1026
|
+
if (Sr(e, a) && (e = a, r)) {
|
|
1011
1027
|
const l = !He.length;
|
|
1012
1028
|
for (const u of n)
|
|
1013
1029
|
u[1](), He.push(u, e);
|
|
@@ -1018,37 +1034,37 @@ function ct(e, t = Z) {
|
|
|
1018
1034
|
}
|
|
1019
1035
|
}
|
|
1020
1036
|
}
|
|
1021
|
-
function
|
|
1037
|
+
function o(a) {
|
|
1022
1038
|
i(a(e));
|
|
1023
1039
|
}
|
|
1024
|
-
function
|
|
1040
|
+
function s(a, l = Z) {
|
|
1025
1041
|
const u = [a, l];
|
|
1026
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
1042
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || Z), a(e), () => {
|
|
1027
1043
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1028
1044
|
};
|
|
1029
1045
|
}
|
|
1030
|
-
return { set: i, update:
|
|
1046
|
+
return { set: i, update: o, subscribe: s };
|
|
1031
1047
|
}
|
|
1032
1048
|
function Ne(e, t, r) {
|
|
1033
1049
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1034
1050
|
if (!i.every(Boolean))
|
|
1035
1051
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1036
|
-
const
|
|
1037
|
-
return
|
|
1052
|
+
const o = t.length < 2;
|
|
1053
|
+
return Vn(r, (s, a) => {
|
|
1038
1054
|
let l = !1;
|
|
1039
1055
|
const u = [];
|
|
1040
|
-
let c = 0,
|
|
1056
|
+
let c = 0, p = Z;
|
|
1041
1057
|
const h = () => {
|
|
1042
1058
|
if (c)
|
|
1043
1059
|
return;
|
|
1044
|
-
|
|
1045
|
-
const x = t(n ? u[0] : u,
|
|
1046
|
-
|
|
1060
|
+
p();
|
|
1061
|
+
const x = t(n ? u[0] : u, s, a);
|
|
1062
|
+
o ? s(x) : p = Dt(x) ? x : Z;
|
|
1047
1063
|
}, g = i.map(
|
|
1048
|
-
(x, y) =>
|
|
1064
|
+
(x, y) => on(
|
|
1049
1065
|
x,
|
|
1050
|
-
(
|
|
1051
|
-
u[y] =
|
|
1066
|
+
(v) => {
|
|
1067
|
+
u[y] = v, c &= ~(1 << y), l && h();
|
|
1052
1068
|
},
|
|
1053
1069
|
() => {
|
|
1054
1070
|
c |= 1 << y;
|
|
@@ -1056,74 +1072,74 @@ function Ne(e, t, r) {
|
|
|
1056
1072
|
)
|
|
1057
1073
|
);
|
|
1058
1074
|
return l = !0, h(), function() {
|
|
1059
|
-
ze(g),
|
|
1075
|
+
ze(g), p(), l = !1;
|
|
1060
1076
|
};
|
|
1061
1077
|
});
|
|
1062
1078
|
}
|
|
1063
|
-
function
|
|
1064
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1079
|
+
function Wn(e) {
|
|
1080
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1065
1081
|
}
|
|
1066
|
-
var
|
|
1067
|
-
return
|
|
1082
|
+
var Xn = function(t) {
|
|
1083
|
+
return zn(t) && !Jn(t);
|
|
1068
1084
|
};
|
|
1069
|
-
function
|
|
1085
|
+
function zn(e) {
|
|
1070
1086
|
return !!e && typeof e == "object";
|
|
1071
1087
|
}
|
|
1072
|
-
function
|
|
1088
|
+
function Jn(e) {
|
|
1073
1089
|
var t = Object.prototype.toString.call(e);
|
|
1074
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1090
|
+
return t === "[object RegExp]" || t === "[object Date]" || Yn(e);
|
|
1075
1091
|
}
|
|
1076
|
-
var
|
|
1077
|
-
function
|
|
1078
|
-
return e.$$typeof ===
|
|
1092
|
+
var Zn = typeof Symbol == "function" && Symbol.for, Qn = Zn ? Symbol.for("react.element") : 60103;
|
|
1093
|
+
function Yn(e) {
|
|
1094
|
+
return e.$$typeof === Qn;
|
|
1079
1095
|
}
|
|
1080
|
-
function
|
|
1096
|
+
function qn(e) {
|
|
1081
1097
|
return Array.isArray(e) ? [] : {};
|
|
1082
1098
|
}
|
|
1083
1099
|
function We(e, t) {
|
|
1084
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Le(
|
|
1100
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Le(qn(e), e, t) : e;
|
|
1085
1101
|
}
|
|
1086
|
-
function
|
|
1102
|
+
function Kn(e, t, r) {
|
|
1087
1103
|
return e.concat(t).map(function(n) {
|
|
1088
1104
|
return We(n, r);
|
|
1089
1105
|
});
|
|
1090
1106
|
}
|
|
1091
|
-
function
|
|
1107
|
+
function ei(e, t) {
|
|
1092
1108
|
if (!t.customMerge)
|
|
1093
1109
|
return Le;
|
|
1094
1110
|
var r = t.customMerge(e);
|
|
1095
1111
|
return typeof r == "function" ? r : Le;
|
|
1096
1112
|
}
|
|
1097
|
-
function
|
|
1113
|
+
function ti(e) {
|
|
1098
1114
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1099
1115
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1100
1116
|
}) : [];
|
|
1101
1117
|
}
|
|
1102
|
-
function
|
|
1103
|
-
return Object.keys(e).concat(
|
|
1118
|
+
function er(e) {
|
|
1119
|
+
return Object.keys(e).concat(ti(e));
|
|
1104
1120
|
}
|
|
1105
|
-
function
|
|
1121
|
+
function Or(e, t) {
|
|
1106
1122
|
try {
|
|
1107
1123
|
return t in e;
|
|
1108
1124
|
} catch {
|
|
1109
1125
|
return !1;
|
|
1110
1126
|
}
|
|
1111
1127
|
}
|
|
1112
|
-
function
|
|
1113
|
-
return
|
|
1128
|
+
function ri(e, t) {
|
|
1129
|
+
return Or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1114
1130
|
}
|
|
1115
|
-
function
|
|
1131
|
+
function ni(e, t, r) {
|
|
1116
1132
|
var n = {};
|
|
1117
|
-
return r.isMergeableObject(e) &&
|
|
1133
|
+
return r.isMergeableObject(e) && er(e).forEach(function(i) {
|
|
1118
1134
|
n[i] = We(e[i], r);
|
|
1119
|
-
}),
|
|
1120
|
-
|
|
1135
|
+
}), er(t).forEach(function(i) {
|
|
1136
|
+
ri(e, i) || (Or(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1121
1137
|
}), n;
|
|
1122
1138
|
}
|
|
1123
1139
|
function Le(e, t, r) {
|
|
1124
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1125
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
1126
|
-
return
|
|
1140
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = We;
|
|
1141
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1142
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : We(t, r);
|
|
1127
1143
|
}
|
|
1128
1144
|
Le.all = function(t, r) {
|
|
1129
1145
|
if (!Array.isArray(t))
|
|
@@ -1132,60 +1148,58 @@ Le.all = function(t, r) {
|
|
|
1132
1148
|
return Le(n, i, r);
|
|
1133
1149
|
}, {});
|
|
1134
1150
|
};
|
|
1135
|
-
var
|
|
1136
|
-
const
|
|
1137
|
-
function
|
|
1138
|
-
var r = t && t.cache ? t.cache :
|
|
1151
|
+
var ii = Le, oi = ii;
|
|
1152
|
+
const si = /* @__PURE__ */ Wn(oi);
|
|
1153
|
+
function gt(e, t) {
|
|
1154
|
+
var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
|
|
1139
1155
|
return i(e, {
|
|
1140
1156
|
cache: r,
|
|
1141
1157
|
serializer: n
|
|
1142
1158
|
});
|
|
1143
1159
|
}
|
|
1144
|
-
function
|
|
1160
|
+
function ai(e) {
|
|
1145
1161
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1146
1162
|
}
|
|
1147
|
-
function
|
|
1148
|
-
var i =
|
|
1149
|
-
return typeof
|
|
1163
|
+
function Nr(e, t, r, n) {
|
|
1164
|
+
var i = ai(n) ? n : r(n), o = t.get(i);
|
|
1165
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1150
1166
|
}
|
|
1151
|
-
function
|
|
1152
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
1153
|
-
return typeof
|
|
1167
|
+
function Mr(e, t, r) {
|
|
1168
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1169
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1154
1170
|
}
|
|
1155
|
-
function
|
|
1171
|
+
function kt(e, t, r, n, i) {
|
|
1156
1172
|
return r.bind(t, e, n, i);
|
|
1157
1173
|
}
|
|
1158
|
-
function
|
|
1159
|
-
var r = e.length === 1 ?
|
|
1160
|
-
return
|
|
1174
|
+
function ui(e, t) {
|
|
1175
|
+
var r = e.length === 1 ? Nr : Mr;
|
|
1176
|
+
return kt(e, this, r, t.cache.create(), t.serializer);
|
|
1161
1177
|
}
|
|
1162
|
-
function
|
|
1163
|
-
return
|
|
1178
|
+
function li(e, t) {
|
|
1179
|
+
return kt(e, this, Mr, t.cache.create(), t.serializer);
|
|
1164
1180
|
}
|
|
1165
|
-
function
|
|
1166
|
-
return
|
|
1181
|
+
function ci(e, t) {
|
|
1182
|
+
return kt(e, this, Nr, t.cache.create(), t.serializer);
|
|
1167
1183
|
}
|
|
1168
|
-
var
|
|
1184
|
+
var hi = function() {
|
|
1169
1185
|
return JSON.stringify(arguments);
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
}()
|
|
1182
|
-
), ci = {
|
|
1186
|
+
};
|
|
1187
|
+
function Gt() {
|
|
1188
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1189
|
+
}
|
|
1190
|
+
Gt.prototype.get = function(e) {
|
|
1191
|
+
return this.cache[e];
|
|
1192
|
+
};
|
|
1193
|
+
Gt.prototype.set = function(e, t) {
|
|
1194
|
+
this.cache[e] = t;
|
|
1195
|
+
};
|
|
1196
|
+
var fi = {
|
|
1183
1197
|
create: function() {
|
|
1184
|
-
return new
|
|
1198
|
+
return new Gt();
|
|
1185
1199
|
}
|
|
1186
|
-
},
|
|
1187
|
-
variadic:
|
|
1188
|
-
monadic:
|
|
1200
|
+
}, yt = {
|
|
1201
|
+
variadic: li,
|
|
1202
|
+
monadic: ci
|
|
1189
1203
|
}, S;
|
|
1190
1204
|
(function(e) {
|
|
1191
1205
|
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";
|
|
@@ -1194,47 +1208,47 @@ var P;
|
|
|
1194
1208
|
(function(e) {
|
|
1195
1209
|
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";
|
|
1196
1210
|
})(P || (P = {}));
|
|
1197
|
-
var
|
|
1211
|
+
var Ce;
|
|
1198
1212
|
(function(e) {
|
|
1199
1213
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1200
|
-
})(
|
|
1201
|
-
function
|
|
1214
|
+
})(Ce || (Ce = {}));
|
|
1215
|
+
function tr(e) {
|
|
1202
1216
|
return e.type === P.literal;
|
|
1203
1217
|
}
|
|
1204
|
-
function
|
|
1218
|
+
function pi(e) {
|
|
1205
1219
|
return e.type === P.argument;
|
|
1206
1220
|
}
|
|
1207
|
-
function
|
|
1221
|
+
function Rr(e) {
|
|
1208
1222
|
return e.type === P.number;
|
|
1209
1223
|
}
|
|
1210
|
-
function
|
|
1224
|
+
function Ur(e) {
|
|
1211
1225
|
return e.type === P.date;
|
|
1212
1226
|
}
|
|
1213
|
-
function
|
|
1227
|
+
function Dr(e) {
|
|
1214
1228
|
return e.type === P.time;
|
|
1215
1229
|
}
|
|
1216
|
-
function
|
|
1230
|
+
function kr(e) {
|
|
1217
1231
|
return e.type === P.select;
|
|
1218
1232
|
}
|
|
1219
|
-
function
|
|
1233
|
+
function Gr(e) {
|
|
1220
1234
|
return e.type === P.plural;
|
|
1221
1235
|
}
|
|
1222
|
-
function
|
|
1236
|
+
function di(e) {
|
|
1223
1237
|
return e.type === P.pound;
|
|
1224
1238
|
}
|
|
1225
|
-
function
|
|
1239
|
+
function jr(e) {
|
|
1226
1240
|
return e.type === P.tag;
|
|
1227
1241
|
}
|
|
1228
|
-
function
|
|
1229
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1242
|
+
function Fr(e) {
|
|
1243
|
+
return !!(e && typeof e == "object" && e.type === Ce.number);
|
|
1230
1244
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1245
|
+
function Lt(e) {
|
|
1246
|
+
return !!(e && typeof e == "object" && e.type === Ce.dateTime);
|
|
1233
1247
|
}
|
|
1234
|
-
var
|
|
1235
|
-
function
|
|
1248
|
+
var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[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;
|
|
1249
|
+
function bi(e) {
|
|
1236
1250
|
var t = {};
|
|
1237
|
-
return e.replace(
|
|
1251
|
+
return e.replace(mi, function(r) {
|
|
1238
1252
|
var n = r.length;
|
|
1239
1253
|
switch (r[0]) {
|
|
1240
1254
|
case "G":
|
|
@@ -1323,36 +1337,36 @@ function pi(e) {
|
|
|
1323
1337
|
return "";
|
|
1324
1338
|
}), t;
|
|
1325
1339
|
}
|
|
1326
|
-
var
|
|
1327
|
-
function
|
|
1340
|
+
var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1341
|
+
function yi(e) {
|
|
1328
1342
|
if (e.length === 0)
|
|
1329
1343
|
throw new Error("Number skeleton cannot be empty");
|
|
1330
|
-
for (var t = e.split(
|
|
1344
|
+
for (var t = e.split(gi).filter(function(h) {
|
|
1331
1345
|
return h.length > 0;
|
|
1332
1346
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1333
|
-
var
|
|
1334
|
-
if (
|
|
1347
|
+
var o = i[n], s = o.split("/");
|
|
1348
|
+
if (s.length === 0)
|
|
1335
1349
|
throw new Error("Invalid number skeleton");
|
|
1336
|
-
for (var a =
|
|
1337
|
-
var
|
|
1338
|
-
if (
|
|
1350
|
+
for (var a = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
|
|
1351
|
+
var p = c[u];
|
|
1352
|
+
if (p.length === 0)
|
|
1339
1353
|
throw new Error("Invalid number skeleton");
|
|
1340
1354
|
}
|
|
1341
1355
|
r.push({ stem: a, options: l });
|
|
1342
1356
|
}
|
|
1343
1357
|
return r;
|
|
1344
1358
|
}
|
|
1345
|
-
function
|
|
1359
|
+
function vi(e) {
|
|
1346
1360
|
return e.replace(/^(.*?)-/, "");
|
|
1347
1361
|
}
|
|
1348
|
-
var
|
|
1349
|
-
function
|
|
1362
|
+
var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
|
|
1363
|
+
function nr(e) {
|
|
1350
1364
|
var t = {};
|
|
1351
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1365
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vr, function(r, n, i) {
|
|
1352
1366
|
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)), "";
|
|
1353
1367
|
}), t;
|
|
1354
1368
|
}
|
|
1355
|
-
function
|
|
1369
|
+
function Xr(e) {
|
|
1356
1370
|
switch (e) {
|
|
1357
1371
|
case "sign-auto":
|
|
1358
1372
|
return {
|
|
@@ -1392,7 +1406,7 @@ function $r(e) {
|
|
|
1392
1406
|
};
|
|
1393
1407
|
}
|
|
1394
1408
|
}
|
|
1395
|
-
function
|
|
1409
|
+
function Ei(e) {
|
|
1396
1410
|
var t;
|
|
1397
1411
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1398
1412
|
notation: "engineering"
|
|
@@ -1400,17 +1414,17 @@ function _i(e) {
|
|
|
1400
1414
|
notation: "scientific"
|
|
1401
1415
|
}, e = e.slice(1)), t) {
|
|
1402
1416
|
var r = e.slice(0, 2);
|
|
1403
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1417
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
|
|
1404
1418
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1405
1419
|
t.minimumIntegerDigits = e.length;
|
|
1406
1420
|
}
|
|
1407
1421
|
return t;
|
|
1408
1422
|
}
|
|
1409
|
-
function
|
|
1410
|
-
var t = {}, r =
|
|
1423
|
+
function ir(e) {
|
|
1424
|
+
var t = {}, r = Xr(e);
|
|
1411
1425
|
return r || t;
|
|
1412
1426
|
}
|
|
1413
|
-
function
|
|
1427
|
+
function xi(e) {
|
|
1414
1428
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1415
1429
|
var i = n[r];
|
|
1416
1430
|
switch (i.stem) {
|
|
@@ -1434,7 +1448,7 @@ function vi(e) {
|
|
|
1434
1448
|
continue;
|
|
1435
1449
|
case "measure-unit":
|
|
1436
1450
|
case "unit":
|
|
1437
|
-
t.style = "unit", t.unit =
|
|
1451
|
+
t.style = "unit", t.unit = vi(i.options[0]);
|
|
1438
1452
|
continue;
|
|
1439
1453
|
case "compact-short":
|
|
1440
1454
|
case "K":
|
|
@@ -1446,12 +1460,12 @@ function vi(e) {
|
|
|
1446
1460
|
continue;
|
|
1447
1461
|
case "scientific":
|
|
1448
1462
|
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1449
|
-
return H(H({}, l),
|
|
1463
|
+
return H(H({}, l), ir(u));
|
|
1450
1464
|
}, {}));
|
|
1451
1465
|
continue;
|
|
1452
1466
|
case "engineering":
|
|
1453
1467
|
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1454
|
-
return H(H({}, l),
|
|
1468
|
+
return H(H({}, l), ir(u));
|
|
1455
1469
|
}, {}));
|
|
1456
1470
|
continue;
|
|
1457
1471
|
case "notation-simple":
|
|
@@ -1496,11 +1510,11 @@ function vi(e) {
|
|
|
1496
1510
|
case "integer-width":
|
|
1497
1511
|
if (i.options.length > 1)
|
|
1498
1512
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1499
|
-
i.options[0].replace(
|
|
1513
|
+
i.options[0].replace(_i, function(l, u, c, p, h, g) {
|
|
1500
1514
|
if (u)
|
|
1501
1515
|
t.minimumIntegerDigits = c.length;
|
|
1502
1516
|
else {
|
|
1503
|
-
if (
|
|
1517
|
+
if (p && h)
|
|
1504
1518
|
throw new Error("We currently do not support maximum integer digits");
|
|
1505
1519
|
if (g)
|
|
1506
1520
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1509,27 +1523,27 @@ function vi(e) {
|
|
|
1509
1523
|
});
|
|
1510
1524
|
continue;
|
|
1511
1525
|
}
|
|
1512
|
-
if (
|
|
1526
|
+
if (Wr.test(i.stem)) {
|
|
1513
1527
|
t.minimumIntegerDigits = i.stem.length;
|
|
1514
1528
|
continue;
|
|
1515
1529
|
}
|
|
1516
|
-
if (
|
|
1530
|
+
if (rr.test(i.stem)) {
|
|
1517
1531
|
if (i.options.length > 1)
|
|
1518
1532
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1519
|
-
i.stem.replace(
|
|
1520
|
-
return c === "*" ? t.minimumFractionDigits = u.length :
|
|
1533
|
+
i.stem.replace(rr, function(l, u, c, p, h, g) {
|
|
1534
|
+
return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1521
1535
|
});
|
|
1522
|
-
var
|
|
1523
|
-
|
|
1536
|
+
var o = i.options[0];
|
|
1537
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), nr(o)));
|
|
1524
1538
|
continue;
|
|
1525
1539
|
}
|
|
1526
|
-
if (
|
|
1527
|
-
t = H(H({}, t),
|
|
1540
|
+
if (Vr.test(i.stem)) {
|
|
1541
|
+
t = H(H({}, t), nr(i.stem));
|
|
1528
1542
|
continue;
|
|
1529
1543
|
}
|
|
1530
|
-
var
|
|
1531
|
-
|
|
1532
|
-
var a =
|
|
1544
|
+
var s = Xr(i.stem);
|
|
1545
|
+
s && (t = H(H({}, t), s));
|
|
1546
|
+
var a = Ei(i.stem);
|
|
1533
1547
|
a && (t = H(H({}, t), a));
|
|
1534
1548
|
}
|
|
1535
1549
|
return t;
|
|
@@ -2949,23 +2963,23 @@ var rt = {
|
|
|
2949
2963
|
"h"
|
|
2950
2964
|
]
|
|
2951
2965
|
};
|
|
2952
|
-
function
|
|
2966
|
+
function Si(e, t) {
|
|
2953
2967
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2954
2968
|
var i = e.charAt(n);
|
|
2955
2969
|
if (i === "j") {
|
|
2956
|
-
for (var
|
|
2957
|
-
|
|
2958
|
-
var
|
|
2970
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2971
|
+
o++, n++;
|
|
2972
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ti(t);
|
|
2959
2973
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2960
2974
|
r += l;
|
|
2961
|
-
for (;
|
|
2975
|
+
for (; s-- > 0; )
|
|
2962
2976
|
r = u + r;
|
|
2963
2977
|
} else
|
|
2964
2978
|
i === "J" ? r += "H" : r += i;
|
|
2965
2979
|
}
|
|
2966
2980
|
return r;
|
|
2967
2981
|
}
|
|
2968
|
-
function
|
|
2982
|
+
function Ti(e) {
|
|
2969
2983
|
var t = e.hourCycle;
|
|
2970
2984
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2971
2985
|
e.hourCycles && // @ts-ignore
|
|
@@ -2987,20 +3001,20 @@ function xi(e) {
|
|
|
2987
3001
|
var i = rt[n || ""] || rt[r || ""] || rt["".concat(r, "-001")] || rt["001"];
|
|
2988
3002
|
return i[0];
|
|
2989
3003
|
}
|
|
2990
|
-
var
|
|
3004
|
+
var vt, wi = new RegExp("^".concat($r.source, "*")), Hi = new RegExp("".concat($r.source, "*$"));
|
|
2991
3005
|
function w(e, t) {
|
|
2992
3006
|
return { start: e, end: t };
|
|
2993
3007
|
}
|
|
2994
|
-
var
|
|
3008
|
+
var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Pi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Oi = !!Number.isSafeInteger, Ni = Oi ? Number.isSafeInteger : function(e) {
|
|
2995
3009
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2996
|
-
},
|
|
3010
|
+
}, Ct = !0;
|
|
2997
3011
|
try {
|
|
2998
|
-
var
|
|
2999
|
-
|
|
3012
|
+
var Mi = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3013
|
+
Ct = ((vt = Mi.exec("a")) === null || vt === void 0 ? void 0 : vt[0]) === "a";
|
|
3000
3014
|
} catch {
|
|
3001
|
-
|
|
3015
|
+
Ct = !1;
|
|
3002
3016
|
}
|
|
3003
|
-
var
|
|
3017
|
+
var or = Ai ? (
|
|
3004
3018
|
// Native
|
|
3005
3019
|
function(t, r, n) {
|
|
3006
3020
|
return t.startsWith(r, n);
|
|
@@ -3010,31 +3024,31 @@ var nr = wi ? (
|
|
|
3010
3024
|
function(t, r, n) {
|
|
3011
3025
|
return t.slice(n, n + r.length) === r;
|
|
3012
3026
|
}
|
|
3013
|
-
),
|
|
3027
|
+
), It = Bi ? String.fromCodePoint : (
|
|
3014
3028
|
// IE11
|
|
3015
3029
|
function() {
|
|
3016
3030
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3017
3031
|
t[r] = arguments[r];
|
|
3018
|
-
for (var n = "", i = t.length,
|
|
3019
|
-
if (
|
|
3020
|
-
throw RangeError(
|
|
3021
|
-
n +=
|
|
3032
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
3033
|
+
if (s = t[o++], s > 1114111)
|
|
3034
|
+
throw RangeError(s + " is not a valid code point");
|
|
3035
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
3022
3036
|
}
|
|
3023
3037
|
return n;
|
|
3024
3038
|
}
|
|
3025
|
-
),
|
|
3039
|
+
), sr = (
|
|
3026
3040
|
// native
|
|
3027
|
-
|
|
3041
|
+
Pi ? Object.fromEntries : (
|
|
3028
3042
|
// Ponyfill
|
|
3029
3043
|
function(t) {
|
|
3030
3044
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3031
|
-
var
|
|
3032
|
-
r[
|
|
3045
|
+
var o = i[n], s = o[0], a = o[1];
|
|
3046
|
+
r[s] = a;
|
|
3033
3047
|
}
|
|
3034
3048
|
return r;
|
|
3035
3049
|
}
|
|
3036
3050
|
)
|
|
3037
|
-
),
|
|
3051
|
+
), zr = Li ? (
|
|
3038
3052
|
// Native
|
|
3039
3053
|
function(t, r) {
|
|
3040
3054
|
return t.codePointAt(r);
|
|
@@ -3044,11 +3058,11 @@ var nr = wi ? (
|
|
|
3044
3058
|
function(t, r) {
|
|
3045
3059
|
var n = t.length;
|
|
3046
3060
|
if (!(r < 0 || r >= n)) {
|
|
3047
|
-
var i = t.charCodeAt(r),
|
|
3048
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
3061
|
+
var i = t.charCodeAt(r), o;
|
|
3062
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3049
3063
|
}
|
|
3050
3064
|
}
|
|
3051
|
-
),
|
|
3065
|
+
), Ri = Ci ? (
|
|
3052
3066
|
// Native
|
|
3053
3067
|
function(t) {
|
|
3054
3068
|
return t.trimStart();
|
|
@@ -3056,9 +3070,9 @@ var nr = wi ? (
|
|
|
3056
3070
|
) : (
|
|
3057
3071
|
// Ponyfill
|
|
3058
3072
|
function(t) {
|
|
3059
|
-
return t.replace(
|
|
3073
|
+
return t.replace(wi, "");
|
|
3060
3074
|
}
|
|
3061
|
-
),
|
|
3075
|
+
), Ui = Ii ? (
|
|
3062
3076
|
// Native
|
|
3063
3077
|
function(t) {
|
|
3064
3078
|
return t.trimEnd();
|
|
@@ -3066,32 +3080,32 @@ var nr = wi ? (
|
|
|
3066
3080
|
) : (
|
|
3067
3081
|
// Ponyfill
|
|
3068
3082
|
function(t) {
|
|
3069
|
-
return t.replace(
|
|
3083
|
+
return t.replace(Hi, "");
|
|
3070
3084
|
}
|
|
3071
3085
|
);
|
|
3072
|
-
function
|
|
3086
|
+
function Jr(e, t) {
|
|
3073
3087
|
return new RegExp(e, t);
|
|
3074
3088
|
}
|
|
3075
|
-
var
|
|
3076
|
-
if (
|
|
3077
|
-
var
|
|
3078
|
-
|
|
3089
|
+
var Ot;
|
|
3090
|
+
if (Ct) {
|
|
3091
|
+
var ar = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3092
|
+
Ot = function(t, r) {
|
|
3079
3093
|
var n;
|
|
3080
|
-
|
|
3081
|
-
var i =
|
|
3094
|
+
ar.lastIndex = r;
|
|
3095
|
+
var i = ar.exec(t);
|
|
3082
3096
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3083
3097
|
};
|
|
3084
3098
|
} else
|
|
3085
|
-
|
|
3099
|
+
Ot = function(t, r) {
|
|
3086
3100
|
for (var n = []; ; ) {
|
|
3087
|
-
var i =
|
|
3088
|
-
if (i === void 0 ||
|
|
3101
|
+
var i = zr(t, r);
|
|
3102
|
+
if (i === void 0 || Zr(i) || ji(i))
|
|
3089
3103
|
break;
|
|
3090
3104
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3091
3105
|
}
|
|
3092
|
-
return
|
|
3106
|
+
return It.apply(void 0, n);
|
|
3093
3107
|
};
|
|
3094
|
-
var
|
|
3108
|
+
var Di = (
|
|
3095
3109
|
/** @class */
|
|
3096
3110
|
function() {
|
|
3097
3111
|
function e(t, r) {
|
|
@@ -3103,35 +3117,35 @@ var Ri = (
|
|
|
3103
3117
|
return this.parseMessage(0, "", !1);
|
|
3104
3118
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3105
3119
|
for (var i = []; !this.isEOF(); ) {
|
|
3106
|
-
var
|
|
3107
|
-
if (
|
|
3108
|
-
var
|
|
3109
|
-
if (
|
|
3110
|
-
return
|
|
3111
|
-
i.push(
|
|
3120
|
+
var o = this.char();
|
|
3121
|
+
if (o === 123) {
|
|
3122
|
+
var s = this.parseArgument(t, n);
|
|
3123
|
+
if (s.err)
|
|
3124
|
+
return s;
|
|
3125
|
+
i.push(s.val);
|
|
3112
3126
|
} else {
|
|
3113
|
-
if (
|
|
3127
|
+
if (o === 125 && t > 0)
|
|
3114
3128
|
break;
|
|
3115
|
-
if (
|
|
3129
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3116
3130
|
var a = this.clonePosition();
|
|
3117
3131
|
this.bump(), i.push({
|
|
3118
3132
|
type: P.pound,
|
|
3119
3133
|
location: w(a, this.clonePosition())
|
|
3120
3134
|
});
|
|
3121
|
-
} else if (
|
|
3135
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3122
3136
|
if (n)
|
|
3123
3137
|
break;
|
|
3124
3138
|
return this.error(S.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3125
|
-
} else if (
|
|
3126
|
-
var
|
|
3127
|
-
if (
|
|
3128
|
-
return
|
|
3129
|
-
i.push(
|
|
3139
|
+
} else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
|
|
3140
|
+
var s = this.parseTag(t, r);
|
|
3141
|
+
if (s.err)
|
|
3142
|
+
return s;
|
|
3143
|
+
i.push(s.val);
|
|
3130
3144
|
} else {
|
|
3131
|
-
var
|
|
3132
|
-
if (
|
|
3133
|
-
return
|
|
3134
|
-
i.push(
|
|
3145
|
+
var s = this.parseLiteral(t, r);
|
|
3146
|
+
if (s.err)
|
|
3147
|
+
return s;
|
|
3148
|
+
i.push(s.val);
|
|
3135
3149
|
}
|
|
3136
3150
|
}
|
|
3137
3151
|
}
|
|
@@ -3150,19 +3164,19 @@ var Ri = (
|
|
|
3150
3164
|
err: null
|
|
3151
3165
|
};
|
|
3152
3166
|
if (this.bumpIf(">")) {
|
|
3153
|
-
var
|
|
3154
|
-
if (
|
|
3155
|
-
return
|
|
3156
|
-
var
|
|
3167
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3168
|
+
if (o.err)
|
|
3169
|
+
return o;
|
|
3170
|
+
var s = o.val, a = this.clonePosition();
|
|
3157
3171
|
if (this.bumpIf("</")) {
|
|
3158
|
-
if (this.isEOF() || !
|
|
3172
|
+
if (this.isEOF() || !Nt(this.char()))
|
|
3159
3173
|
return this.error(S.INVALID_TAG, w(a, this.clonePosition()));
|
|
3160
3174
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3161
3175
|
return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3162
3176
|
val: {
|
|
3163
3177
|
type: P.tag,
|
|
3164
3178
|
value: i,
|
|
3165
|
-
children:
|
|
3179
|
+
children: s,
|
|
3166
3180
|
location: w(n, this.clonePosition())
|
|
3167
3181
|
},
|
|
3168
3182
|
err: null
|
|
@@ -3173,21 +3187,21 @@ var Ri = (
|
|
|
3173
3187
|
return this.error(S.INVALID_TAG, w(n, this.clonePosition()));
|
|
3174
3188
|
}, e.prototype.parseTagName = function() {
|
|
3175
3189
|
var t = this.offset();
|
|
3176
|
-
for (this.bump(); !this.isEOF() &&
|
|
3190
|
+
for (this.bump(); !this.isEOF() && Gi(this.char()); )
|
|
3177
3191
|
this.bump();
|
|
3178
3192
|
return this.message.slice(t, this.offset());
|
|
3179
3193
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3180
3194
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3181
|
-
var
|
|
3182
|
-
if (s) {
|
|
3183
|
-
i += s;
|
|
3184
|
-
continue;
|
|
3185
|
-
}
|
|
3186
|
-
var o = this.tryParseUnquoted(t, r);
|
|
3195
|
+
var o = this.tryParseQuote(r);
|
|
3187
3196
|
if (o) {
|
|
3188
3197
|
i += o;
|
|
3189
3198
|
continue;
|
|
3190
3199
|
}
|
|
3200
|
+
var s = this.tryParseUnquoted(t, r);
|
|
3201
|
+
if (s) {
|
|
3202
|
+
i += s;
|
|
3203
|
+
continue;
|
|
3204
|
+
}
|
|
3191
3205
|
var a = this.tryParseLeftAngleBracket();
|
|
3192
3206
|
if (a) {
|
|
3193
3207
|
i += a;
|
|
@@ -3202,7 +3216,7 @@ var Ri = (
|
|
|
3202
3216
|
};
|
|
3203
3217
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3204
3218
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3205
|
-
!
|
|
3219
|
+
!ki(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3206
3220
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3207
3221
|
if (this.isEOF() || this.char() !== 39)
|
|
3208
3222
|
return null;
|
|
@@ -3236,12 +3250,12 @@ var Ri = (
|
|
|
3236
3250
|
r.push(n);
|
|
3237
3251
|
this.bump();
|
|
3238
3252
|
}
|
|
3239
|
-
return
|
|
3253
|
+
return It.apply(void 0, r);
|
|
3240
3254
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3241
3255
|
if (this.isEOF())
|
|
3242
3256
|
return null;
|
|
3243
3257
|
var n = this.char();
|
|
3244
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3258
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), It(n));
|
|
3245
3259
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3246
3260
|
var n = this.clonePosition();
|
|
3247
3261
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3270,15 +3284,15 @@ var Ri = (
|
|
|
3270
3284
|
return this.error(S.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3271
3285
|
}
|
|
3272
3286
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3273
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3287
|
+
var t = this.clonePosition(), r = this.offset(), n = Ot(this.message, r), i = r + n.length;
|
|
3274
3288
|
this.bumpTo(i);
|
|
3275
|
-
var
|
|
3276
|
-
return { value: n, location:
|
|
3289
|
+
var o = this.clonePosition(), s = w(t, o);
|
|
3290
|
+
return { value: n, location: s };
|
|
3277
3291
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3278
|
-
var
|
|
3292
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3279
3293
|
switch (a) {
|
|
3280
3294
|
case "":
|
|
3281
|
-
return this.error(S.EXPECT_ARGUMENT_TYPE, w(
|
|
3295
|
+
return this.error(S.EXPECT_ARGUMENT_TYPE, w(s, l));
|
|
3282
3296
|
case "number":
|
|
3283
3297
|
case "date":
|
|
3284
3298
|
case "time": {
|
|
@@ -3286,10 +3300,10 @@ var Ri = (
|
|
|
3286
3300
|
var u = null;
|
|
3287
3301
|
if (this.bumpIf(",")) {
|
|
3288
3302
|
this.bumpSpace();
|
|
3289
|
-
var c = this.clonePosition(),
|
|
3290
|
-
if (
|
|
3291
|
-
return
|
|
3292
|
-
var h =
|
|
3303
|
+
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
3304
|
+
if (p.err)
|
|
3305
|
+
return p;
|
|
3306
|
+
var h = Ui(p.val);
|
|
3293
3307
|
if (h.length === 0)
|
|
3294
3308
|
return this.error(S.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3295
3309
|
var g = w(c, this.clonePosition());
|
|
@@ -3299,24 +3313,24 @@ var Ri = (
|
|
|
3299
3313
|
if (x.err)
|
|
3300
3314
|
return x;
|
|
3301
3315
|
var y = w(i, this.clonePosition());
|
|
3302
|
-
if (u &&
|
|
3303
|
-
var
|
|
3316
|
+
if (u && or(u?.style, "::", 0)) {
|
|
3317
|
+
var v = Ri(u.style.slice(2));
|
|
3304
3318
|
if (a === "number") {
|
|
3305
|
-
var
|
|
3306
|
-
return
|
|
3307
|
-
val: { type: P.number, value: n, location: y, style:
|
|
3319
|
+
var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3320
|
+
return p.err ? p : {
|
|
3321
|
+
val: { type: P.number, value: n, location: y, style: p.val },
|
|
3308
3322
|
err: null
|
|
3309
3323
|
};
|
|
3310
3324
|
} else {
|
|
3311
|
-
if (
|
|
3325
|
+
if (v.length === 0)
|
|
3312
3326
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
3313
|
-
var m =
|
|
3314
|
-
this.locale && (m =
|
|
3327
|
+
var m = v;
|
|
3328
|
+
this.locale && (m = Si(v, this.locale));
|
|
3315
3329
|
var h = {
|
|
3316
|
-
type:
|
|
3330
|
+
type: Ce.dateTime,
|
|
3317
3331
|
pattern: m,
|
|
3318
3332
|
location: u.styleLocation,
|
|
3319
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3333
|
+
parsedOptions: this.shouldParseSkeletons ? bi(m) : {}
|
|
3320
3334
|
}, T = a === "date" ? P.date : P.time;
|
|
3321
3335
|
return {
|
|
3322
3336
|
val: { type: T, value: n, location: y, style: h },
|
|
@@ -3329,7 +3343,7 @@ var Ri = (
|
|
|
3329
3343
|
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3330
3344
|
value: n,
|
|
3331
3345
|
location: y,
|
|
3332
|
-
style: (
|
|
3346
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3333
3347
|
},
|
|
3334
3348
|
err: null
|
|
3335
3349
|
};
|
|
@@ -3346,10 +3360,10 @@ var Ri = (
|
|
|
3346
3360
|
if (!this.bumpIf(":"))
|
|
3347
3361
|
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
3348
3362
|
this.bumpSpace();
|
|
3349
|
-
var
|
|
3350
|
-
if (
|
|
3351
|
-
return
|
|
3352
|
-
this.bumpSpace(), M = this.parseIdentifierIfPossible(), k =
|
|
3363
|
+
var p = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3364
|
+
if (p.err)
|
|
3365
|
+
return p;
|
|
3366
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = p.val;
|
|
3353
3367
|
}
|
|
3354
3368
|
var $ = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3355
3369
|
if ($.err)
|
|
@@ -3362,7 +3376,7 @@ var Ri = (
|
|
|
3362
3376
|
val: {
|
|
3363
3377
|
type: P.select,
|
|
3364
3378
|
value: n,
|
|
3365
|
-
options:
|
|
3379
|
+
options: sr($.val),
|
|
3366
3380
|
location: J
|
|
3367
3381
|
},
|
|
3368
3382
|
err: null
|
|
@@ -3370,7 +3384,7 @@ var Ri = (
|
|
|
3370
3384
|
val: {
|
|
3371
3385
|
type: P.plural,
|
|
3372
3386
|
value: n,
|
|
3373
|
-
options:
|
|
3387
|
+
options: sr($.val),
|
|
3374
3388
|
offset: k,
|
|
3375
3389
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3376
3390
|
location: J
|
|
@@ -3379,7 +3393,7 @@ var Ri = (
|
|
|
3379
3393
|
};
|
|
3380
3394
|
}
|
|
3381
3395
|
default:
|
|
3382
|
-
return this.error(S.INVALID_ARGUMENT_TYPE, w(
|
|
3396
|
+
return this.error(S.INVALID_ARGUMENT_TYPE, w(s, l));
|
|
3383
3397
|
}
|
|
3384
3398
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3385
3399
|
return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3421,34 +3435,34 @@ var Ri = (
|
|
|
3421
3435
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3422
3436
|
var n = [];
|
|
3423
3437
|
try {
|
|
3424
|
-
n =
|
|
3438
|
+
n = yi(t);
|
|
3425
3439
|
} catch {
|
|
3426
3440
|
return this.error(S.INVALID_NUMBER_SKELETON, r);
|
|
3427
3441
|
}
|
|
3428
3442
|
return {
|
|
3429
3443
|
val: {
|
|
3430
|
-
type:
|
|
3444
|
+
type: Ce.number,
|
|
3431
3445
|
tokens: n,
|
|
3432
3446
|
location: r,
|
|
3433
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3447
|
+
parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
|
|
3434
3448
|
},
|
|
3435
3449
|
err: null
|
|
3436
3450
|
};
|
|
3437
3451
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3438
|
-
for (var
|
|
3452
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
|
|
3439
3453
|
if (u.length === 0) {
|
|
3440
|
-
var
|
|
3454
|
+
var p = this.clonePosition();
|
|
3441
3455
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3442
3456
|
var h = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3443
3457
|
if (h.err)
|
|
3444
3458
|
return h;
|
|
3445
|
-
c = w(
|
|
3459
|
+
c = w(p, this.clonePosition()), u = this.message.slice(p.offset, this.offset());
|
|
3446
3460
|
} else
|
|
3447
3461
|
break;
|
|
3448
3462
|
}
|
|
3449
3463
|
if (l.has(u))
|
|
3450
3464
|
return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3451
|
-
u === "other" && (
|
|
3465
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3452
3466
|
var g = this.clonePosition();
|
|
3453
3467
|
if (!this.bumpIf("{"))
|
|
3454
3468
|
return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
@@ -3464,21 +3478,21 @@ var Ri = (
|
|
|
3464
3478
|
value: x.val,
|
|
3465
3479
|
location: w(g, this.clonePosition())
|
|
3466
3480
|
}
|
|
3467
|
-
]), l.add(u), this.bumpSpace(),
|
|
3481
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3468
3482
|
}
|
|
3469
|
-
return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3483
|
+
return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3470
3484
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3471
3485
|
var n = 1, i = this.clonePosition();
|
|
3472
3486
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3473
|
-
for (var
|
|
3487
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3474
3488
|
var a = this.char();
|
|
3475
3489
|
if (a >= 48 && a <= 57)
|
|
3476
|
-
|
|
3490
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
|
3477
3491
|
else
|
|
3478
3492
|
break;
|
|
3479
3493
|
}
|
|
3480
3494
|
var l = w(i, this.clonePosition());
|
|
3481
|
-
return
|
|
3495
|
+
return o ? (s *= n, Ni(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3482
3496
|
}, e.prototype.offset = function() {
|
|
3483
3497
|
return this.position.offset;
|
|
3484
3498
|
}, e.prototype.isEOF = function() {
|
|
@@ -3493,7 +3507,7 @@ var Ri = (
|
|
|
3493
3507
|
var t = this.position.offset;
|
|
3494
3508
|
if (t >= this.message.length)
|
|
3495
3509
|
throw Error("out of bound");
|
|
3496
|
-
var r =
|
|
3510
|
+
var r = zr(this.message, t);
|
|
3497
3511
|
if (r === void 0)
|
|
3498
3512
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3499
3513
|
return r;
|
|
@@ -3512,7 +3526,7 @@ var Ri = (
|
|
|
3512
3526
|
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);
|
|
3513
3527
|
}
|
|
3514
3528
|
}, e.prototype.bumpIf = function(t) {
|
|
3515
|
-
if (
|
|
3529
|
+
if (or(this.message, t, this.offset())) {
|
|
3516
3530
|
for (var r = 0; r < t.length; r++)
|
|
3517
3531
|
this.bump();
|
|
3518
3532
|
return !0;
|
|
@@ -3534,7 +3548,7 @@ var Ri = (
|
|
|
3534
3548
|
break;
|
|
3535
3549
|
}
|
|
3536
3550
|
}, e.prototype.bumpSpace = function() {
|
|
3537
|
-
for (; !this.isEOF() &&
|
|
3551
|
+
for (; !this.isEOF() && Zr(this.char()); )
|
|
3538
3552
|
this.bump();
|
|
3539
3553
|
}, e.prototype.peek = function() {
|
|
3540
3554
|
if (this.isEOF())
|
|
@@ -3544,79 +3558,79 @@ var Ri = (
|
|
|
3544
3558
|
}, e;
|
|
3545
3559
|
}()
|
|
3546
3560
|
);
|
|
3547
|
-
function
|
|
3561
|
+
function Nt(e) {
|
|
3548
3562
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3549
3563
|
}
|
|
3550
|
-
function
|
|
3551
|
-
return
|
|
3564
|
+
function ki(e) {
|
|
3565
|
+
return Nt(e) || e === 47;
|
|
3552
3566
|
}
|
|
3553
|
-
function
|
|
3567
|
+
function Gi(e) {
|
|
3554
3568
|
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;
|
|
3555
3569
|
}
|
|
3556
|
-
function
|
|
3570
|
+
function Zr(e) {
|
|
3557
3571
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3558
3572
|
}
|
|
3559
|
-
function
|
|
3573
|
+
function ji(e) {
|
|
3560
3574
|
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;
|
|
3561
3575
|
}
|
|
3562
|
-
function
|
|
3576
|
+
function Mt(e) {
|
|
3563
3577
|
e.forEach(function(t) {
|
|
3564
|
-
if (delete t.location,
|
|
3578
|
+
if (delete t.location, kr(t) || Gr(t))
|
|
3565
3579
|
for (var r in t.options)
|
|
3566
|
-
delete t.options[r].location,
|
|
3580
|
+
delete t.options[r].location, Mt(t.options[r].value);
|
|
3567
3581
|
else
|
|
3568
|
-
|
|
3582
|
+
Rr(t) && Fr(t.style) || (Ur(t) || Dr(t)) && Lt(t.style) ? delete t.style.location : jr(t) && Mt(t.children);
|
|
3569
3583
|
});
|
|
3570
3584
|
}
|
|
3571
|
-
function
|
|
3585
|
+
function Fi(e, t) {
|
|
3572
3586
|
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3573
|
-
var r = new
|
|
3587
|
+
var r = new Di(e, t).parse();
|
|
3574
3588
|
if (r.err) {
|
|
3575
3589
|
var n = SyntaxError(S[r.err.kind]);
|
|
3576
3590
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3577
3591
|
}
|
|
3578
|
-
return t?.captureLocation ||
|
|
3592
|
+
return t?.captureLocation || Mt(r.val), r.val;
|
|
3579
3593
|
}
|
|
3580
|
-
var
|
|
3594
|
+
var Ie;
|
|
3581
3595
|
(function(e) {
|
|
3582
3596
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3583
|
-
})(
|
|
3597
|
+
})(Ie || (Ie = {}));
|
|
3584
3598
|
var ht = (
|
|
3585
3599
|
/** @class */
|
|
3586
3600
|
function(e) {
|
|
3587
3601
|
ce(t, e);
|
|
3588
3602
|
function t(r, n, i) {
|
|
3589
|
-
var
|
|
3590
|
-
return
|
|
3603
|
+
var o = e.call(this, r) || this;
|
|
3604
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3591
3605
|
}
|
|
3592
3606
|
return t.prototype.toString = function() {
|
|
3593
3607
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3594
3608
|
}, t;
|
|
3595
3609
|
}(Error)
|
|
3596
|
-
),
|
|
3610
|
+
), ur = (
|
|
3597
3611
|
/** @class */
|
|
3598
3612
|
function(e) {
|
|
3599
3613
|
ce(t, e);
|
|
3600
|
-
function t(r, n, i,
|
|
3601
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3614
|
+
function t(r, n, i, o) {
|
|
3615
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ie.INVALID_VALUE, o) || this;
|
|
3602
3616
|
}
|
|
3603
3617
|
return t;
|
|
3604
3618
|
}(ht)
|
|
3605
|
-
),
|
|
3619
|
+
), $i = (
|
|
3606
3620
|
/** @class */
|
|
3607
3621
|
function(e) {
|
|
3608
3622
|
ce(t, e);
|
|
3609
3623
|
function t(r, n, i) {
|
|
3610
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3624
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ie.INVALID_VALUE, i) || this;
|
|
3611
3625
|
}
|
|
3612
3626
|
return t;
|
|
3613
3627
|
}(ht)
|
|
3614
|
-
),
|
|
3628
|
+
), Vi = (
|
|
3615
3629
|
/** @class */
|
|
3616
3630
|
function(e) {
|
|
3617
3631
|
ce(t, e);
|
|
3618
3632
|
function t(r, n) {
|
|
3619
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3633
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ie.MISSING_VALUE, n) || this;
|
|
3620
3634
|
}
|
|
3621
3635
|
return t;
|
|
3622
3636
|
}(ht)
|
|
@@ -3624,17 +3638,17 @@ var ht = (
|
|
|
3624
3638
|
(function(e) {
|
|
3625
3639
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3626
3640
|
})(G || (G = {}));
|
|
3627
|
-
function
|
|
3641
|
+
function Wi(e) {
|
|
3628
3642
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3629
3643
|
var n = t[t.length - 1];
|
|
3630
3644
|
return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
|
|
3631
3645
|
}, []);
|
|
3632
3646
|
}
|
|
3633
|
-
function
|
|
3647
|
+
function Xi(e) {
|
|
3634
3648
|
return typeof e == "function";
|
|
3635
3649
|
}
|
|
3636
|
-
function
|
|
3637
|
-
if (e.length === 1 &&
|
|
3650
|
+
function ot(e, t, r, n, i, o, s) {
|
|
3651
|
+
if (e.length === 1 && tr(e[0]))
|
|
3638
3652
|
return [
|
|
3639
3653
|
{
|
|
3640
3654
|
type: G.literal,
|
|
@@ -3643,60 +3657,60 @@ function st(e, t, r, n, i, s, o) {
|
|
|
3643
3657
|
];
|
|
3644
3658
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3645
3659
|
var c = u[l];
|
|
3646
|
-
if (
|
|
3660
|
+
if (tr(c)) {
|
|
3647
3661
|
a.push({
|
|
3648
3662
|
type: G.literal,
|
|
3649
3663
|
value: c.value
|
|
3650
3664
|
});
|
|
3651
3665
|
continue;
|
|
3652
3666
|
}
|
|
3653
|
-
if (
|
|
3654
|
-
typeof
|
|
3667
|
+
if (di(c)) {
|
|
3668
|
+
typeof o == "number" && a.push({
|
|
3655
3669
|
type: G.literal,
|
|
3656
|
-
value: r.getNumberFormat(t).format(
|
|
3670
|
+
value: r.getNumberFormat(t).format(o)
|
|
3657
3671
|
});
|
|
3658
3672
|
continue;
|
|
3659
3673
|
}
|
|
3660
|
-
var
|
|
3661
|
-
if (!(i &&
|
|
3662
|
-
throw new
|
|
3663
|
-
var h = i[
|
|
3664
|
-
if (
|
|
3674
|
+
var p = c.value;
|
|
3675
|
+
if (!(i && p in i))
|
|
3676
|
+
throw new Vi(p, s);
|
|
3677
|
+
var h = i[p];
|
|
3678
|
+
if (pi(c)) {
|
|
3665
3679
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3666
3680
|
type: typeof h == "string" ? G.literal : G.object,
|
|
3667
3681
|
value: h
|
|
3668
3682
|
});
|
|
3669
3683
|
continue;
|
|
3670
3684
|
}
|
|
3671
|
-
if (
|
|
3672
|
-
var g = typeof c.style == "string" ? n.date[c.style] :
|
|
3685
|
+
if (Ur(c)) {
|
|
3686
|
+
var g = typeof c.style == "string" ? n.date[c.style] : Lt(c.style) ? c.style.parsedOptions : void 0;
|
|
3673
3687
|
a.push({
|
|
3674
3688
|
type: G.literal,
|
|
3675
3689
|
value: r.getDateTimeFormat(t, g).format(h)
|
|
3676
3690
|
});
|
|
3677
3691
|
continue;
|
|
3678
3692
|
}
|
|
3679
|
-
if (
|
|
3680
|
-
var g = typeof c.style == "string" ? n.time[c.style] :
|
|
3693
|
+
if (Dr(c)) {
|
|
3694
|
+
var g = typeof c.style == "string" ? n.time[c.style] : Lt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3681
3695
|
a.push({
|
|
3682
3696
|
type: G.literal,
|
|
3683
3697
|
value: r.getDateTimeFormat(t, g).format(h)
|
|
3684
3698
|
});
|
|
3685
3699
|
continue;
|
|
3686
3700
|
}
|
|
3687
|
-
if (
|
|
3688
|
-
var g = typeof c.style == "string" ? n.number[c.style] :
|
|
3701
|
+
if (Rr(c)) {
|
|
3702
|
+
var g = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
|
|
3689
3703
|
g && g.scale && (h = h * (g.scale || 1)), a.push({
|
|
3690
3704
|
type: G.literal,
|
|
3691
3705
|
value: r.getNumberFormat(t, g).format(h)
|
|
3692
3706
|
});
|
|
3693
3707
|
continue;
|
|
3694
3708
|
}
|
|
3695
|
-
if (
|
|
3696
|
-
var x = c.children, y = c.value,
|
|
3697
|
-
if (!
|
|
3698
|
-
throw new
|
|
3699
|
-
var m =
|
|
3709
|
+
if (jr(c)) {
|
|
3710
|
+
var x = c.children, y = c.value, v = i[y];
|
|
3711
|
+
if (!Xi(v))
|
|
3712
|
+
throw new $i(y, "function", s);
|
|
3713
|
+
var m = ot(x, t, r, n, i, o), T = v(m.map(function(k) {
|
|
3700
3714
|
return k.value;
|
|
3701
3715
|
}));
|
|
3702
3716
|
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(k) {
|
|
@@ -3706,39 +3720,39 @@ function st(e, t, r, n, i, s, o) {
|
|
|
3706
3720
|
};
|
|
3707
3721
|
}));
|
|
3708
3722
|
}
|
|
3709
|
-
if (
|
|
3723
|
+
if (kr(c)) {
|
|
3710
3724
|
var B = c.options[h] || c.options.other;
|
|
3711
3725
|
if (!B)
|
|
3712
|
-
throw new
|
|
3713
|
-
a.push.apply(a,
|
|
3726
|
+
throw new ur(c.value, h, Object.keys(c.options), s);
|
|
3727
|
+
a.push.apply(a, ot(B.value, t, r, n, i));
|
|
3714
3728
|
continue;
|
|
3715
3729
|
}
|
|
3716
|
-
if (
|
|
3730
|
+
if (Gr(c)) {
|
|
3717
3731
|
var B = c.options["=".concat(h)];
|
|
3718
3732
|
if (!B) {
|
|
3719
3733
|
if (!Intl.PluralRules)
|
|
3720
3734
|
throw new ht(`Intl.PluralRules is not available in this environment.
|
|
3721
3735
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3722
|
-
`,
|
|
3736
|
+
`, Ie.MISSING_INTL_API, s);
|
|
3723
3737
|
var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3724
3738
|
B = c.options[M] || c.options.other;
|
|
3725
3739
|
}
|
|
3726
3740
|
if (!B)
|
|
3727
|
-
throw new
|
|
3728
|
-
a.push.apply(a,
|
|
3741
|
+
throw new ur(c.value, h, Object.keys(c.options), s);
|
|
3742
|
+
a.push.apply(a, ot(B.value, t, r, n, i, h - (c.offset || 0)));
|
|
3729
3743
|
continue;
|
|
3730
3744
|
}
|
|
3731
3745
|
}
|
|
3732
|
-
return
|
|
3746
|
+
return Wi(a);
|
|
3733
3747
|
}
|
|
3734
|
-
function
|
|
3748
|
+
function zi(e, t) {
|
|
3735
3749
|
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3736
3750
|
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
3737
3751
|
}, {})) : e;
|
|
3738
3752
|
}
|
|
3739
|
-
function
|
|
3753
|
+
function Ji(e, t) {
|
|
3740
3754
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3741
|
-
return r[n] =
|
|
3755
|
+
return r[n] = zi(e[n], t[n]), r;
|
|
3742
3756
|
}, H({}, e)) : e;
|
|
3743
3757
|
}
|
|
3744
3758
|
function _t(e) {
|
|
@@ -3755,77 +3769,77 @@ function _t(e) {
|
|
|
3755
3769
|
}
|
|
3756
3770
|
};
|
|
3757
3771
|
}
|
|
3758
|
-
function
|
|
3772
|
+
function Zi(e) {
|
|
3759
3773
|
return e === void 0 && (e = {
|
|
3760
3774
|
number: {},
|
|
3761
3775
|
dateTime: {},
|
|
3762
3776
|
pluralRules: {}
|
|
3763
3777
|
}), {
|
|
3764
|
-
getNumberFormat:
|
|
3778
|
+
getNumberFormat: gt(function() {
|
|
3765
3779
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3766
3780
|
r[n] = arguments[n];
|
|
3767
3781
|
return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3768
3782
|
}, {
|
|
3769
3783
|
cache: _t(e.number),
|
|
3770
|
-
strategy:
|
|
3784
|
+
strategy: yt.variadic
|
|
3771
3785
|
}),
|
|
3772
|
-
getDateTimeFormat:
|
|
3786
|
+
getDateTimeFormat: gt(function() {
|
|
3773
3787
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3774
3788
|
r[n] = arguments[n];
|
|
3775
3789
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3776
3790
|
}, {
|
|
3777
3791
|
cache: _t(e.dateTime),
|
|
3778
|
-
strategy:
|
|
3792
|
+
strategy: yt.variadic
|
|
3779
3793
|
}),
|
|
3780
|
-
getPluralRules:
|
|
3794
|
+
getPluralRules: gt(function() {
|
|
3781
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3782
3796
|
r[n] = arguments[n];
|
|
3783
3797
|
return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3784
3798
|
}, {
|
|
3785
3799
|
cache: _t(e.pluralRules),
|
|
3786
|
-
strategy:
|
|
3800
|
+
strategy: yt.variadic
|
|
3787
3801
|
})
|
|
3788
3802
|
};
|
|
3789
3803
|
}
|
|
3790
|
-
var
|
|
3804
|
+
var Qi = (
|
|
3791
3805
|
/** @class */
|
|
3792
3806
|
function() {
|
|
3793
3807
|
function e(t, r, n, i) {
|
|
3794
3808
|
r === void 0 && (r = e.defaultLocale);
|
|
3795
|
-
var
|
|
3809
|
+
var o = this;
|
|
3796
3810
|
if (this.formatterCache = {
|
|
3797
3811
|
number: {},
|
|
3798
3812
|
dateTime: {},
|
|
3799
3813
|
pluralRules: {}
|
|
3800
3814
|
}, this.format = function(l) {
|
|
3801
|
-
var u =
|
|
3815
|
+
var u = o.formatToParts(l);
|
|
3802
3816
|
if (u.length === 1)
|
|
3803
3817
|
return u[0].value;
|
|
3804
|
-
var c = u.reduce(function(
|
|
3805
|
-
return !
|
|
3818
|
+
var c = u.reduce(function(p, h) {
|
|
3819
|
+
return !p.length || h.type !== G.literal || typeof p[p.length - 1] != "string" ? p.push(h.value) : p[p.length - 1] += h.value, p;
|
|
3806
3820
|
}, []);
|
|
3807
3821
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3808
3822
|
}, this.formatToParts = function(l) {
|
|
3809
|
-
return
|
|
3823
|
+
return ot(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3810
3824
|
}, this.resolvedOptions = function() {
|
|
3811
3825
|
var l;
|
|
3812
3826
|
return {
|
|
3813
|
-
locale: ((l =
|
|
3827
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3814
3828
|
};
|
|
3815
3829
|
}, this.getAst = function() {
|
|
3816
|
-
return
|
|
3830
|
+
return o.ast;
|
|
3817
3831
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3818
3832
|
if (this.message = t, !e.__parse)
|
|
3819
3833
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3820
|
-
var
|
|
3821
|
-
|
|
3822
|
-
var a =
|
|
3834
|
+
var s = i || {};
|
|
3835
|
+
s.formatters;
|
|
3836
|
+
var a = Pn(s, ["formatters"]);
|
|
3823
3837
|
this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
|
|
3824
3838
|
} else
|
|
3825
3839
|
this.ast = t;
|
|
3826
3840
|
if (!Array.isArray(this.ast))
|
|
3827
3841
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3828
|
-
this.formats =
|
|
3842
|
+
this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Zi(this.formatterCache);
|
|
3829
3843
|
}
|
|
3830
3844
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3831
3845
|
get: function() {
|
|
@@ -3838,7 +3852,7 @@ var Ji = (
|
|
|
3838
3852
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3839
3853
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3840
3854
|
}
|
|
3841
|
-
}, e.__parse =
|
|
3855
|
+
}, e.__parse = Fi, e.formats = {
|
|
3842
3856
|
number: {
|
|
3843
3857
|
integer: {
|
|
3844
3858
|
maximumFractionDigits: 0
|
|
@@ -3899,7 +3913,7 @@ var Ji = (
|
|
|
3899
3913
|
}, e;
|
|
3900
3914
|
}()
|
|
3901
3915
|
);
|
|
3902
|
-
function
|
|
3916
|
+
function Yi(e, t) {
|
|
3903
3917
|
if (t == null)
|
|
3904
3918
|
return;
|
|
3905
3919
|
if (t in e)
|
|
@@ -3909,9 +3923,9 @@ function Zi(e, t) {
|
|
|
3909
3923
|
for (let i = 0; i < r.length; i++)
|
|
3910
3924
|
if (typeof n == "object") {
|
|
3911
3925
|
if (i > 0) {
|
|
3912
|
-
const
|
|
3913
|
-
if (
|
|
3914
|
-
n = n[
|
|
3926
|
+
const o = r.slice(i, r.length).join(".");
|
|
3927
|
+
if (o in n) {
|
|
3928
|
+
n = n[o];
|
|
3915
3929
|
break;
|
|
3916
3930
|
}
|
|
3917
3931
|
}
|
|
@@ -3920,92 +3934,92 @@ function Zi(e, t) {
|
|
|
3920
3934
|
n = void 0;
|
|
3921
3935
|
return n;
|
|
3922
3936
|
}
|
|
3923
|
-
const
|
|
3937
|
+
const de = {}, qi = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Qr = (e, t) => {
|
|
3924
3938
|
if (t == null)
|
|
3925
3939
|
return;
|
|
3926
|
-
if (t in
|
|
3927
|
-
return
|
|
3940
|
+
if (t in de && e in de[t])
|
|
3941
|
+
return de[t][e];
|
|
3928
3942
|
const r = ft(t);
|
|
3929
3943
|
for (let n = 0; n < r.length; n++) {
|
|
3930
|
-
const i = r[n],
|
|
3931
|
-
if (
|
|
3932
|
-
return
|
|
3944
|
+
const i = r[n], o = eo(i, e);
|
|
3945
|
+
if (o)
|
|
3946
|
+
return qi(e, t, o);
|
|
3933
3947
|
}
|
|
3934
3948
|
};
|
|
3935
|
-
let
|
|
3949
|
+
let jt;
|
|
3936
3950
|
const Je = ct({});
|
|
3937
|
-
function
|
|
3938
|
-
return
|
|
3951
|
+
function Ki(e) {
|
|
3952
|
+
return jt[e] || null;
|
|
3939
3953
|
}
|
|
3940
|
-
function
|
|
3941
|
-
return e in
|
|
3954
|
+
function Yr(e) {
|
|
3955
|
+
return e in jt;
|
|
3942
3956
|
}
|
|
3943
|
-
function
|
|
3944
|
-
if (!
|
|
3957
|
+
function eo(e, t) {
|
|
3958
|
+
if (!Yr(e))
|
|
3945
3959
|
return null;
|
|
3946
|
-
const r =
|
|
3947
|
-
return
|
|
3960
|
+
const r = Ki(e);
|
|
3961
|
+
return Yi(r, t);
|
|
3948
3962
|
}
|
|
3949
|
-
function
|
|
3963
|
+
function to(e) {
|
|
3950
3964
|
if (e == null)
|
|
3951
3965
|
return;
|
|
3952
3966
|
const t = ft(e);
|
|
3953
3967
|
for (let r = 0; r < t.length; r++) {
|
|
3954
3968
|
const n = t[r];
|
|
3955
|
-
if (
|
|
3969
|
+
if (Yr(n))
|
|
3956
3970
|
return n;
|
|
3957
3971
|
}
|
|
3958
3972
|
}
|
|
3959
|
-
function
|
|
3960
|
-
delete
|
|
3973
|
+
function qr(e, ...t) {
|
|
3974
|
+
delete de[e], Je.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3961
3975
|
}
|
|
3962
3976
|
Ne(
|
|
3963
3977
|
[Je],
|
|
3964
3978
|
([e]) => Object.keys(e)
|
|
3965
3979
|
);
|
|
3966
|
-
Je.subscribe((e) =>
|
|
3967
|
-
const
|
|
3968
|
-
function
|
|
3969
|
-
|
|
3980
|
+
Je.subscribe((e) => jt = e);
|
|
3981
|
+
const st = {};
|
|
3982
|
+
function ro(e, t) {
|
|
3983
|
+
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
3970
3984
|
}
|
|
3971
|
-
function
|
|
3972
|
-
return
|
|
3985
|
+
function Kr(e) {
|
|
3986
|
+
return st[e];
|
|
3973
3987
|
}
|
|
3974
|
-
function
|
|
3988
|
+
function no(e) {
|
|
3975
3989
|
return ft(e).map((t) => {
|
|
3976
|
-
const r =
|
|
3990
|
+
const r = Kr(t);
|
|
3977
3991
|
return [t, r ? [...r] : []];
|
|
3978
3992
|
}).filter(([, t]) => t.length > 0);
|
|
3979
3993
|
}
|
|
3980
|
-
function
|
|
3994
|
+
function Rt(e) {
|
|
3981
3995
|
return e == null ? !1 : ft(e).some(
|
|
3982
3996
|
(t) => {
|
|
3983
3997
|
var r;
|
|
3984
|
-
return (r =
|
|
3998
|
+
return (r = Kr(t)) == null ? void 0 : r.size;
|
|
3985
3999
|
}
|
|
3986
4000
|
);
|
|
3987
4001
|
}
|
|
3988
|
-
function
|
|
4002
|
+
function io(e, t) {
|
|
3989
4003
|
return Promise.all(
|
|
3990
|
-
t.map((n) => (
|
|
3991
|
-
).then((n) =>
|
|
4004
|
+
t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
|
|
4005
|
+
).then((n) => qr(e, ...n));
|
|
3992
4006
|
}
|
|
3993
4007
|
const Fe = {};
|
|
3994
|
-
function
|
|
3995
|
-
if (!
|
|
4008
|
+
function en(e) {
|
|
4009
|
+
if (!Rt(e))
|
|
3996
4010
|
return e in Fe ? Fe[e] : Promise.resolve();
|
|
3997
|
-
const t =
|
|
4011
|
+
const t = no(e);
|
|
3998
4012
|
return Fe[e] = Promise.all(
|
|
3999
4013
|
t.map(
|
|
4000
|
-
([r, n]) =>
|
|
4014
|
+
([r, n]) => io(r, n)
|
|
4001
4015
|
)
|
|
4002
4016
|
).then(() => {
|
|
4003
|
-
if (
|
|
4004
|
-
return
|
|
4017
|
+
if (Rt(e))
|
|
4018
|
+
return en(e);
|
|
4005
4019
|
delete Fe[e];
|
|
4006
4020
|
}), Fe[e];
|
|
4007
4021
|
}
|
|
4008
|
-
const
|
|
4022
|
+
const oo = {
|
|
4009
4023
|
number: {
|
|
4010
4024
|
scientific: { notation: "scientific" },
|
|
4011
4025
|
engineering: { notation: "engineering" },
|
|
@@ -4034,100 +4048,100 @@ const ns = {
|
|
|
4034
4048
|
timeZoneName: "short"
|
|
4035
4049
|
}
|
|
4036
4050
|
}
|
|
4037
|
-
},
|
|
4051
|
+
}, so = {
|
|
4038
4052
|
fallbackLocale: null,
|
|
4039
4053
|
loadingDelay: 200,
|
|
4040
|
-
formats:
|
|
4054
|
+
formats: oo,
|
|
4041
4055
|
warnOnMissingMessages: !0,
|
|
4042
4056
|
handleMissingMessage: void 0,
|
|
4043
4057
|
ignoreTag: !0
|
|
4044
|
-
},
|
|
4045
|
-
function
|
|
4046
|
-
return
|
|
4047
|
-
}
|
|
4048
|
-
const
|
|
4049
|
-
var
|
|
4050
|
-
for (var r in t)
|
|
4051
|
-
|
|
4052
|
-
if (
|
|
4053
|
-
for (var r of
|
|
4054
|
-
|
|
4058
|
+
}, ao = so;
|
|
4059
|
+
function Oe() {
|
|
4060
|
+
return ao;
|
|
4061
|
+
}
|
|
4062
|
+
const Et = ct(!1);
|
|
4063
|
+
var uo = Object.defineProperty, lo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
|
|
4064
|
+
for (var r in t || (t = {}))
|
|
4065
|
+
ho.call(t, r) && cr(e, r, t[r]);
|
|
4066
|
+
if (lr)
|
|
4067
|
+
for (var r of lr(t))
|
|
4068
|
+
fo.call(t, r) && cr(e, r, t[r]);
|
|
4055
4069
|
return e;
|
|
4056
|
-
},
|
|
4057
|
-
let
|
|
4070
|
+
}, mo = (e, t) => lo(e, co(t));
|
|
4071
|
+
let Ut;
|
|
4058
4072
|
const at = ct(null);
|
|
4059
|
-
function
|
|
4073
|
+
function hr(e) {
|
|
4060
4074
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4061
4075
|
}
|
|
4062
|
-
function ft(e, t =
|
|
4063
|
-
const r =
|
|
4064
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4076
|
+
function ft(e, t = Oe().fallbackLocale) {
|
|
4077
|
+
const r = hr(e);
|
|
4078
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
|
|
4065
4079
|
}
|
|
4066
4080
|
function ge() {
|
|
4067
|
-
return
|
|
4081
|
+
return Ut ?? void 0;
|
|
4068
4082
|
}
|
|
4069
4083
|
at.subscribe((e) => {
|
|
4070
|
-
|
|
4084
|
+
Ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4071
4085
|
});
|
|
4072
|
-
const
|
|
4073
|
-
if (e &&
|
|
4074
|
-
const { loadingDelay: t } =
|
|
4086
|
+
const bo = (e) => {
|
|
4087
|
+
if (e && to(e) && Rt(e)) {
|
|
4088
|
+
const { loadingDelay: t } = Oe();
|
|
4075
4089
|
let r;
|
|
4076
4090
|
return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
|
|
4077
|
-
() =>
|
|
4091
|
+
() => Et.set(!0),
|
|
4078
4092
|
t
|
|
4079
|
-
) :
|
|
4093
|
+
) : Et.set(!0), en(e).then(() => {
|
|
4080
4094
|
at.set(e);
|
|
4081
4095
|
}).finally(() => {
|
|
4082
|
-
clearTimeout(r),
|
|
4096
|
+
clearTimeout(r), Et.set(!1);
|
|
4083
4097
|
});
|
|
4084
4098
|
}
|
|
4085
4099
|
return at.set(e);
|
|
4086
|
-
}, Me =
|
|
4087
|
-
set:
|
|
4088
|
-
}),
|
|
4100
|
+
}, Me = mo(po({}, at), {
|
|
4101
|
+
set: bo
|
|
4102
|
+
}), pt = (e) => {
|
|
4089
4103
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4090
4104
|
return (n) => {
|
|
4091
4105
|
const i = JSON.stringify(n);
|
|
4092
4106
|
return i in t ? t[i] : t[i] = e(n);
|
|
4093
4107
|
};
|
|
4094
4108
|
};
|
|
4095
|
-
var
|
|
4109
|
+
var go = Object.defineProperty, ut = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
|
|
4096
4110
|
for (var r in t || (t = {}))
|
|
4097
|
-
|
|
4111
|
+
tn.call(t, r) && fr(e, r, t[r]);
|
|
4098
4112
|
if (ut)
|
|
4099
4113
|
for (var r of ut(t))
|
|
4100
|
-
|
|
4114
|
+
rn.call(t, r) && fr(e, r, t[r]);
|
|
4101
4115
|
return e;
|
|
4102
4116
|
}, Re = (e, t) => {
|
|
4103
4117
|
var r = {};
|
|
4104
4118
|
for (var n in e)
|
|
4105
|
-
|
|
4119
|
+
tn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4106
4120
|
if (e != null && ut)
|
|
4107
4121
|
for (var n of ut(e))
|
|
4108
|
-
t.indexOf(n) < 0 &&
|
|
4122
|
+
t.indexOf(n) < 0 && rn.call(e, n) && (r[n] = e[n]);
|
|
4109
4123
|
return r;
|
|
4110
4124
|
};
|
|
4111
4125
|
const Xe = (e, t) => {
|
|
4112
|
-
const { formats: r } =
|
|
4126
|
+
const { formats: r } = Oe();
|
|
4113
4127
|
if (e in r && t in r[e])
|
|
4114
4128
|
return r[e][t];
|
|
4115
4129
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4116
|
-
},
|
|
4130
|
+
}, yo = pt(
|
|
4117
4131
|
(e) => {
|
|
4118
4132
|
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4119
4133
|
if (r == null)
|
|
4120
4134
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4121
4135
|
return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
|
|
4122
4136
|
}
|
|
4123
|
-
),
|
|
4137
|
+
), vo = pt(
|
|
4124
4138
|
(e) => {
|
|
4125
4139
|
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4126
4140
|
if (r == null)
|
|
4127
4141
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4128
4142
|
return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4129
4143
|
}
|
|
4130
|
-
),
|
|
4144
|
+
), _o = pt(
|
|
4131
4145
|
(e) => {
|
|
4132
4146
|
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4133
4147
|
if (r == null)
|
|
@@ -4136,79 +4150,79 @@ const Xe = (e, t) => {
|
|
|
4136
4150
|
);
|
|
4137
4151
|
return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4138
4152
|
}
|
|
4139
|
-
),
|
|
4153
|
+
), Eo = (e = {}) => {
|
|
4140
4154
|
var t = e, {
|
|
4141
4155
|
locale: r = ge()
|
|
4142
4156
|
} = t, n = Re(t, [
|
|
4143
4157
|
"locale"
|
|
4144
4158
|
]);
|
|
4145
|
-
return
|
|
4146
|
-
},
|
|
4159
|
+
return yo(Ft({ locale: r }, n));
|
|
4160
|
+
}, xo = (e = {}) => {
|
|
4147
4161
|
var t = e, {
|
|
4148
4162
|
locale: r = ge()
|
|
4149
4163
|
} = t, n = Re(t, [
|
|
4150
4164
|
"locale"
|
|
4151
4165
|
]);
|
|
4152
|
-
return
|
|
4153
|
-
},
|
|
4166
|
+
return vo(Ft({ locale: r }, n));
|
|
4167
|
+
}, So = (e = {}) => {
|
|
4154
4168
|
var t = e, {
|
|
4155
4169
|
locale: r = ge()
|
|
4156
4170
|
} = t, n = Re(t, [
|
|
4157
4171
|
"locale"
|
|
4158
4172
|
]);
|
|
4159
|
-
return
|
|
4160
|
-
},
|
|
4173
|
+
return _o(Ft({ locale: r }, n));
|
|
4174
|
+
}, To = pt(
|
|
4161
4175
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4162
|
-
(e, t = ge()) => new
|
|
4163
|
-
ignoreTag:
|
|
4176
|
+
(e, t = ge()) => new Qi(e, t, Oe().formats, {
|
|
4177
|
+
ignoreTag: Oe().ignoreTag
|
|
4164
4178
|
})
|
|
4165
|
-
),
|
|
4166
|
-
var r, n, i,
|
|
4167
|
-
let
|
|
4168
|
-
typeof e == "object" && (
|
|
4179
|
+
), wo = (e, t = {}) => {
|
|
4180
|
+
var r, n, i, o;
|
|
4181
|
+
let s = t;
|
|
4182
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
4169
4183
|
const {
|
|
4170
4184
|
values: a,
|
|
4171
4185
|
locale: l = ge(),
|
|
4172
4186
|
default: u
|
|
4173
|
-
} =
|
|
4187
|
+
} = s;
|
|
4174
4188
|
if (l == null)
|
|
4175
4189
|
throw new Error(
|
|
4176
4190
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4177
4191
|
);
|
|
4178
|
-
let c =
|
|
4192
|
+
let c = Qr(e, l);
|
|
4179
4193
|
if (!c)
|
|
4180
|
-
c = (
|
|
4194
|
+
c = (o = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4181
4195
|
else if (typeof c != "string")
|
|
4182
4196
|
return console.warn(
|
|
4183
4197
|
`[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.`
|
|
4184
4198
|
), c;
|
|
4185
4199
|
if (!a)
|
|
4186
4200
|
return c;
|
|
4187
|
-
let
|
|
4201
|
+
let p = c;
|
|
4188
4202
|
try {
|
|
4189
|
-
|
|
4203
|
+
p = To(c, l).format(a);
|
|
4190
4204
|
} catch (h) {
|
|
4191
4205
|
h instanceof Error && console.warn(
|
|
4192
4206
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4193
4207
|
h.message
|
|
4194
4208
|
);
|
|
4195
4209
|
}
|
|
4196
|
-
return
|
|
4197
|
-
},
|
|
4198
|
-
Ne([Me, Je], () =>
|
|
4199
|
-
Ne([Me], () =>
|
|
4200
|
-
Ne([Me], () =>
|
|
4201
|
-
Ne([Me], () =>
|
|
4202
|
-
Ne([Me, Je], () =>
|
|
4203
|
-
window.emWidgets = { topic:
|
|
4204
|
-
const
|
|
4205
|
-
function
|
|
4210
|
+
return p;
|
|
4211
|
+
}, Ho = (e, t) => So(t).format(e), Ao = (e, t) => xo(t).format(e), Bo = (e, t) => Eo(t).format(e), Po = (e, t = ge()) => Qr(e, t);
|
|
4212
|
+
Ne([Me, Je], () => wo);
|
|
4213
|
+
Ne([Me], () => Ho);
|
|
4214
|
+
Ne([Me], () => Ao);
|
|
4215
|
+
Ne([Me], () => Bo);
|
|
4216
|
+
Ne([Me, Je], () => Po);
|
|
4217
|
+
window.emWidgets = { topic: $n };
|
|
4218
|
+
const Lo = (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));
|
|
4219
|
+
function Co(e, t) {
|
|
4206
4220
|
if (e) {
|
|
4207
4221
|
const r = document.createElement("style");
|
|
4208
4222
|
r.innerHTML = t, e.appendChild(r);
|
|
4209
4223
|
}
|
|
4210
4224
|
}
|
|
4211
|
-
function
|
|
4225
|
+
function Io(e, t) {
|
|
4212
4226
|
const r = new URL(t);
|
|
4213
4227
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4214
4228
|
const i = document.createElement("style");
|
|
@@ -4217,7 +4231,7 @@ function Ps(e, t) {
|
|
|
4217
4231
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4218
4232
|
});
|
|
4219
4233
|
}
|
|
4220
|
-
function
|
|
4234
|
+
function Oo(e, t, r) {
|
|
4221
4235
|
if (window.emMessageBus) {
|
|
4222
4236
|
const n = document.createElement("style");
|
|
4223
4237
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4225,13 +4239,13 @@ function Ls(e, t, r) {
|
|
|
4225
4239
|
});
|
|
4226
4240
|
}
|
|
4227
4241
|
}
|
|
4228
|
-
function
|
|
4229
|
-
|
|
4242
|
+
function pr(e, t) {
|
|
4243
|
+
qr(e, t);
|
|
4230
4244
|
}
|
|
4231
|
-
function
|
|
4245
|
+
function No(e) {
|
|
4232
4246
|
Me.set(e);
|
|
4233
4247
|
}
|
|
4234
|
-
const
|
|
4248
|
+
const dr = {
|
|
4235
4249
|
en: {
|
|
4236
4250
|
loadingText: "Loading, please wait..."
|
|
4237
4251
|
},
|
|
@@ -4269,37 +4283,37 @@ const fr = {
|
|
|
4269
4283
|
loadingText: "Loading, please wait..."
|
|
4270
4284
|
}
|
|
4271
4285
|
};
|
|
4272
|
-
function
|
|
4273
|
-
|
|
4286
|
+
function Mo(e) {
|
|
4287
|
+
sn(e, "svelte-w5pa6u", ':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, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4274
4288
|
}
|
|
4275
|
-
function
|
|
4289
|
+
function mr(e, t, r) {
|
|
4276
4290
|
const n = e.slice();
|
|
4277
4291
|
return n[56] = t[r], n[58] = r, n;
|
|
4278
4292
|
}
|
|
4279
|
-
function
|
|
4280
|
-
let t, r, n, i,
|
|
4293
|
+
function Ro(e) {
|
|
4294
|
+
let t, r, n, i, o, s, a, l, u, c, p, h, g;
|
|
4281
4295
|
function x(m, T) {
|
|
4282
4296
|
return (
|
|
4283
4297
|
/*tabletView*/
|
|
4284
|
-
m[8] ?
|
|
4298
|
+
m[8] ? ko : Go
|
|
4285
4299
|
);
|
|
4286
4300
|
}
|
|
4287
|
-
let y = x(e),
|
|
4301
|
+
let y = x(e), v = y(e);
|
|
4288
4302
|
return {
|
|
4289
4303
|
c() {
|
|
4290
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("div"),
|
|
4291
|
-
e[9] + ")"),
|
|
4292
|
-
e[14]) || L(u, "src", c), L(u, "alt", ""),
|
|
4304
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = I(), s = b("div"), v.c(), a = I(), l = b("div"), u = b("ui-image"), _(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4305
|
+
e[9] + ")"), _(s, "class", "displayContainer"), Q(u.src, c = /*titleLogoImg*/
|
|
4306
|
+
e[14]) || L(u, "src", c), L(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
|
|
4293
4307
|
e[0] + " " + /*mobileView*/
|
|
4294
4308
|
(e[7] && !/*tabletView*/
|
|
4295
4309
|
e[8] ? "mobile" : (
|
|
4296
4310
|
/*tabletView*/
|
|
4297
4311
|
e[8] ? "tablet" : ""
|
|
4298
4312
|
))), et(n, "background", "url(" + /*backgroundImg*/
|
|
4299
|
-
e[13] + ")"),
|
|
4313
|
+
e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4300
4314
|
},
|
|
4301
4315
|
m(m, T) {
|
|
4302
|
-
F(m, t, T),
|
|
4316
|
+
F(m, t, T), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), h || (g = hn(
|
|
4303
4317
|
r,
|
|
4304
4318
|
"click",
|
|
4305
4319
|
/*click_handler*/
|
|
@@ -4309,29 +4323,29 @@ function Is(e) {
|
|
|
4309
4323
|
p(m, T) {
|
|
4310
4324
|
T[0] & /*vendorIcon*/
|
|
4311
4325
|
512 && et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4312
|
-
m[9] + ")"), y === (y = x(m)) &&
|
|
4326
|
+
m[9] + ")"), y === (y = x(m)) && v ? v.p(m, T) : (v.d(1), v = y(m), v && (v.c(), v.m(s, null))), T[0] & /*titleLogoImg*/
|
|
4313
4327
|
16384 && !Q(u.src, c = /*titleLogoImg*/
|
|
4314
4328
|
m[14]) && L(u, "src", c), T[0] & /*visualstructure, mobileView, tabletView*/
|
|
4315
|
-
385 &&
|
|
4329
|
+
385 && p !== (p = "mainWrapper " + /*visualstructure*/
|
|
4316
4330
|
m[0] + " " + /*mobileView*/
|
|
4317
4331
|
(m[7] && !/*tabletView*/
|
|
4318
4332
|
m[8] ? "mobile" : (
|
|
4319
4333
|
/*tabletView*/
|
|
4320
4334
|
m[8] ? "tablet" : ""
|
|
4321
|
-
))) &&
|
|
4335
|
+
))) && _(n, "class", p), T[0] & /*backgroundImg*/
|
|
4322
4336
|
8192 && et(n, "background", "url(" + /*backgroundImg*/
|
|
4323
4337
|
m[13] + ")");
|
|
4324
4338
|
},
|
|
4325
4339
|
d(m) {
|
|
4326
|
-
m && D(t),
|
|
4340
|
+
m && D(t), v.d(), h = !1, g();
|
|
4327
4341
|
}
|
|
4328
4342
|
};
|
|
4329
4343
|
}
|
|
4330
|
-
function
|
|
4344
|
+
function Uo(e) {
|
|
4331
4345
|
let t;
|
|
4332
4346
|
return {
|
|
4333
4347
|
c() {
|
|
4334
|
-
t = b("div"),
|
|
4348
|
+
t = b("div"), _(t, "class", "LoadingSpinner");
|
|
4335
4349
|
},
|
|
4336
4350
|
m(r, n) {
|
|
4337
4351
|
F(r, t, n);
|
|
@@ -4342,7 +4356,7 @@ function Ns(e) {
|
|
|
4342
4356
|
}
|
|
4343
4357
|
};
|
|
4344
4358
|
}
|
|
4345
|
-
function
|
|
4359
|
+
function Do(e) {
|
|
4346
4360
|
let t;
|
|
4347
4361
|
return {
|
|
4348
4362
|
c() {
|
|
@@ -4357,11 +4371,11 @@ function Ms(e) {
|
|
|
4357
4371
|
}
|
|
4358
4372
|
};
|
|
4359
4373
|
}
|
|
4360
|
-
function
|
|
4361
|
-
let t, r, n, i,
|
|
4374
|
+
function ko(e) {
|
|
4375
|
+
let t, r, n, i, o, s, a, l = (
|
|
4362
4376
|
/*formattedLabels*/
|
|
4363
4377
|
e[11][0] + ""
|
|
4364
|
-
), u, c,
|
|
4378
|
+
), u, c, p, h, g = (
|
|
4365
4379
|
/*realtimeupdate*/
|
|
4366
4380
|
(e[2] === "true" ? (
|
|
4367
4381
|
/*reversedJackpotValues*/
|
|
@@ -4370,7 +4384,7 @@ function Rs(e) {
|
|
|
4370
4384
|
/*formattedJackpotValues*/
|
|
4371
4385
|
e[10][0]
|
|
4372
4386
|
)) + ""
|
|
4373
|
-
), x, y,
|
|
4387
|
+
), x, y, v, m, T, B, M, k, $, J = (
|
|
4374
4388
|
/*formattedLabels*/
|
|
4375
4389
|
e[11][1] + ""
|
|
4376
4390
|
), Ue, ye, Y, me, he = (
|
|
@@ -4382,10 +4396,10 @@ function Rs(e) {
|
|
|
4382
4396
|
/*formattedJackpotValues*/
|
|
4383
4397
|
e[10][1]
|
|
4384
4398
|
)) + ""
|
|
4385
|
-
), fe,
|
|
4399
|
+
), fe, ve, _e, ee, re, ne, N, ie, De, pe, q = (
|
|
4386
4400
|
/*formattedLabels*/
|
|
4387
4401
|
e[11][2] + ""
|
|
4388
|
-
),
|
|
4402
|
+
), oe, Ze, K, Ee, xe = (
|
|
4389
4403
|
/*realtimeupdate*/
|
|
4390
4404
|
(e[2] === "true" ? (
|
|
4391
4405
|
/*updatedJackpotValues*/
|
|
@@ -4394,7 +4408,7 @@ function Rs(e) {
|
|
|
4394
4408
|
/*formattedJackpotValues*/
|
|
4395
4409
|
e[10][2]
|
|
4396
4410
|
)) + ""
|
|
4397
|
-
), ke, Qe, Ye,
|
|
4411
|
+
), ke, Qe, Ye, se, ae, te, Se, Ge, Te, be = (
|
|
4398
4412
|
/*formattedLabels*/
|
|
4399
4413
|
e[11][3] + ""
|
|
4400
4414
|
), je, qe, ue, f, A = (
|
|
@@ -4406,28 +4420,28 @@ function Rs(e) {
|
|
|
4406
4420
|
/*formattedJackpotValues*/
|
|
4407
4421
|
e[10][3]
|
|
4408
4422
|
)) + ""
|
|
4409
|
-
), U,
|
|
4410
|
-
e[3] &&
|
|
4411
|
-
e[3] &&
|
|
4412
|
-
e[3] &&
|
|
4413
|
-
e[3] &&
|
|
4423
|
+
), U, $t, V = !/*currencylocale*/
|
|
4424
|
+
e[3] && br(e), W = !/*currencylocale*/
|
|
4425
|
+
e[3] && gr(e), X = !/*currencylocale*/
|
|
4426
|
+
e[3] && yr(e), z = !/*currencylocale*/
|
|
4427
|
+
e[3] && vr(e);
|
|
4414
4428
|
return {
|
|
4415
4429
|
c() {
|
|
4416
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"),
|
|
4417
|
-
e[12][0]) || L(i, "src",
|
|
4418
|
-
e[12][1]) || L(B, "src", M), L(B, "alt", ""),
|
|
4419
|
-
e[12][2]) || L(N, "src", ie), L(N, "alt", ""),
|
|
4420
|
-
e[12][3]) || L(te, "src", Se), L(te, "alt", ""),
|
|
4430
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = I(), a = b("span"), u = R(l), c = I(), p = b("span"), h = b("span"), x = R(g), y = I(), V && V.c(), v = I(), m = b("div"), T = b("div"), B = b("ui-image"), k = I(), $ = b("span"), Ue = R(J), ye = I(), Y = b("span"), me = b("span"), fe = R(he), ve = I(), W && W.c(), _e = I(), ee = b("div"), re = b("div"), ne = b("div"), N = b("ui-image"), De = I(), pe = b("span"), oe = R(q), Ze = I(), K = b("span"), Ee = b("span"), ke = R(xe), Qe = I(), X && X.c(), Ye = I(), se = b("div"), ae = b("div"), te = b("ui-image"), Ge = I(), Te = b("span"), je = R(be), qe = I(), ue = b("span"), f = b("span"), U = R(A), $t = I(), z && z.c(), L(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
|
|
4431
|
+
e[12][0]) || L(i, "src", o), L(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), L(B, "class", "displayCardIcon"), Q(B.src, M = /*caticons*/
|
|
4432
|
+
e[12][1]) || L(B, "src", M), L(B, "alt", ""), _($, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(me, "class", "jackpotValue"), _(Y, "class", "cardTextWrapper"), _(m, "class", "displayCard"), _(t, "class", "pairWrapper"), L(N, "class", "displayCardIcon"), Q(N.src, ie = /*caticons*/
|
|
4433
|
+
e[12][2]) || L(N, "src", ie), L(N, "alt", ""), _(pe, "class", "cardLabel"), _(ne, "class", "iconWrapper"), _(Ee, "class", "jackpotValue"), _(K, "class", "cardTextWrapper"), _(re, "class", "displayCard"), L(te, "class", "displayCardIcon"), Q(te.src, Se = /*caticons*/
|
|
4434
|
+
e[12][3]) || L(te, "src", Se), L(te, "alt", ""), _(Te, "class", "cardLabel"), _(ae, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(ue, "class", "cardTextWrapper"), _(se, "class", "displayCard"), _(ee, "class", "pairWrapper");
|
|
4421
4435
|
},
|
|
4422
|
-
m(E,
|
|
4423
|
-
F(E, t,
|
|
4436
|
+
m(E, O) {
|
|
4437
|
+
F(E, t, O), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, p), d(p, h), d(h, x), d(p, y), V && V.m(p, null), d(t, v), d(t, m), d(m, T), d(T, B), d(T, k), d(T, $), d($, Ue), d(m, ye), d(m, Y), d(Y, me), d(me, fe), d(Y, ve), W && W.m(Y, null), F(E, _e, O), F(E, ee, O), d(ee, re), d(re, ne), d(ne, N), d(ne, De), d(ne, pe), d(pe, oe), d(re, Ze), d(re, K), d(K, Ee), d(Ee, ke), d(K, Qe), X && X.m(K, null), d(ee, Ye), d(ee, se), d(se, ae), d(ae, te), d(ae, Ge), d(ae, Te), d(Te, je), d(se, qe), d(se, ue), d(ue, f), d(f, U), d(ue, $t), z && z.m(ue, null);
|
|
4424
4438
|
},
|
|
4425
|
-
p(E,
|
|
4426
|
-
|
|
4427
|
-
4096 && !Q(i.src,
|
|
4428
|
-
E[12][0]) && L(i, "src",
|
|
4439
|
+
p(E, O) {
|
|
4440
|
+
O[0] & /*caticons*/
|
|
4441
|
+
4096 && !Q(i.src, o = /*caticons*/
|
|
4442
|
+
E[12][0]) && L(i, "src", o), O[0] & /*formattedLabels*/
|
|
4429
4443
|
2048 && l !== (l = /*formattedLabels*/
|
|
4430
|
-
E[11][0] + "") && j(u, l),
|
|
4444
|
+
E[11][0] + "") && j(u, l), O[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4431
4445
|
66564 && g !== (g = /*realtimeupdate*/
|
|
4432
4446
|
(E[2] === "true" ? (
|
|
4433
4447
|
/*reversedJackpotValues*/
|
|
@@ -4436,11 +4450,11 @@ function Rs(e) {
|
|
|
4436
4450
|
/*formattedJackpotValues*/
|
|
4437
4451
|
E[10][0]
|
|
4438
4452
|
)) + "") && j(x, g), /*currencylocale*/
|
|
4439
|
-
E[3] ? V && (V.d(1), V = null) : V ? V.p(E,
|
|
4453
|
+
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, O) : (V = br(E), V.c(), V.m(p, null)), O[0] & /*caticons*/
|
|
4440
4454
|
4096 && !Q(B.src, M = /*caticons*/
|
|
4441
|
-
E[12][1]) && L(B, "src", M),
|
|
4455
|
+
E[12][1]) && L(B, "src", M), O[0] & /*formattedLabels*/
|
|
4442
4456
|
2048 && J !== (J = /*formattedLabels*/
|
|
4443
|
-
E[11][1] + "") && j(Ue, J),
|
|
4457
|
+
E[11][1] + "") && j(Ue, J), O[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4444
4458
|
66564 && he !== (he = /*realtimeupdate*/
|
|
4445
4459
|
(E[2] === "true" ? (
|
|
4446
4460
|
/*reversedJackpotValues*/
|
|
@@ -4449,11 +4463,11 @@ function Rs(e) {
|
|
|
4449
4463
|
/*formattedJackpotValues*/
|
|
4450
4464
|
E[10][1]
|
|
4451
4465
|
)) + "") && j(fe, he), /*currencylocale*/
|
|
4452
|
-
E[3] ? W && (W.d(1), W = null) : W ? W.p(E,
|
|
4466
|
+
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, O) : (W = gr(E), W.c(), W.m(Y, null)), O[0] & /*caticons*/
|
|
4453
4467
|
4096 && !Q(N.src, ie = /*caticons*/
|
|
4454
|
-
E[12][2]) && L(N, "src", ie),
|
|
4468
|
+
E[12][2]) && L(N, "src", ie), O[0] & /*formattedLabels*/
|
|
4455
4469
|
2048 && q !== (q = /*formattedLabels*/
|
|
4456
|
-
E[11][2] + "") && j(
|
|
4470
|
+
E[11][2] + "") && j(oe, q), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4457
4471
|
1092 && xe !== (xe = /*realtimeupdate*/
|
|
4458
4472
|
(E[2] === "true" ? (
|
|
4459
4473
|
/*updatedJackpotValues*/
|
|
@@ -4462,11 +4476,11 @@ function Rs(e) {
|
|
|
4462
4476
|
/*formattedJackpotValues*/
|
|
4463
4477
|
E[10][2]
|
|
4464
4478
|
)) + "") && j(ke, xe), /*currencylocale*/
|
|
4465
|
-
E[3] ? X && (X.d(1), X = null) : X ? X.p(E,
|
|
4479
|
+
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, O) : (X = yr(E), X.c(), X.m(K, null)), O[0] & /*caticons*/
|
|
4466
4480
|
4096 && !Q(te.src, Se = /*caticons*/
|
|
4467
|
-
E[12][3]) && L(te, "src", Se),
|
|
4481
|
+
E[12][3]) && L(te, "src", Se), O[0] & /*formattedLabels*/
|
|
4468
4482
|
2048 && be !== (be = /*formattedLabels*/
|
|
4469
|
-
E[11][3] + "") && j(je, be),
|
|
4483
|
+
E[11][3] + "") && j(je, be), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4470
4484
|
1092 && A !== (A = /*realtimeupdate*/
|
|
4471
4485
|
(E[2] === "true" ? (
|
|
4472
4486
|
/*updatedJackpotValues*/
|
|
@@ -4475,58 +4489,58 @@ function Rs(e) {
|
|
|
4475
4489
|
/*formattedJackpotValues*/
|
|
4476
4490
|
E[10][3]
|
|
4477
4491
|
)) + "") && j(U, A), /*currencylocale*/
|
|
4478
|
-
E[3] ? z && (z.d(1), z = null) : z ? z.p(E,
|
|
4492
|
+
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, O) : (z = vr(E), z.c(), z.m(ue, null));
|
|
4479
4493
|
},
|
|
4480
4494
|
d(E) {
|
|
4481
|
-
E && (D(t), D(
|
|
4495
|
+
E && (D(t), D(_e), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4482
4496
|
}
|
|
4483
4497
|
};
|
|
4484
4498
|
}
|
|
4485
|
-
function
|
|
4486
|
-
let t, r =
|
|
4499
|
+
function Go(e) {
|
|
4500
|
+
let t, r = Xt(Array(4)), n = [];
|
|
4487
4501
|
for (let i = 0; i < r.length; i += 1)
|
|
4488
|
-
n[i] =
|
|
4502
|
+
n[i] = Er(mr(e, r, i));
|
|
4489
4503
|
return {
|
|
4490
4504
|
c() {
|
|
4491
4505
|
for (let i = 0; i < n.length; i += 1)
|
|
4492
4506
|
n[i].c();
|
|
4493
|
-
t =
|
|
4507
|
+
t = cn();
|
|
4494
4508
|
},
|
|
4495
|
-
m(i,
|
|
4496
|
-
for (let
|
|
4497
|
-
n[
|
|
4498
|
-
F(i, t,
|
|
4509
|
+
m(i, o) {
|
|
4510
|
+
for (let s = 0; s < n.length; s += 1)
|
|
4511
|
+
n[s] && n[s].m(i, o);
|
|
4512
|
+
F(i, t, o);
|
|
4499
4513
|
},
|
|
4500
|
-
p(i,
|
|
4501
|
-
if (
|
|
4514
|
+
p(i, o) {
|
|
4515
|
+
if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4502
4516
|
72718) {
|
|
4503
|
-
r =
|
|
4504
|
-
let
|
|
4505
|
-
for (
|
|
4506
|
-
const a =
|
|
4507
|
-
n[
|
|
4517
|
+
r = Xt(Array(4));
|
|
4518
|
+
let s;
|
|
4519
|
+
for (s = 0; s < r.length; s += 1) {
|
|
4520
|
+
const a = mr(i, r, s);
|
|
4521
|
+
n[s] ? n[s].p(a, o) : (n[s] = Er(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4508
4522
|
}
|
|
4509
|
-
for (;
|
|
4510
|
-
n[
|
|
4523
|
+
for (; s < n.length; s += 1)
|
|
4524
|
+
n[s].d(1);
|
|
4511
4525
|
n.length = r.length;
|
|
4512
4526
|
}
|
|
4513
4527
|
},
|
|
4514
4528
|
d(i) {
|
|
4515
|
-
i && D(t),
|
|
4529
|
+
i && D(t), ln(n, i);
|
|
4516
4530
|
}
|
|
4517
4531
|
};
|
|
4518
4532
|
}
|
|
4519
|
-
function
|
|
4533
|
+
function br(e) {
|
|
4520
4534
|
let t, r;
|
|
4521
4535
|
return {
|
|
4522
4536
|
c() {
|
|
4523
4537
|
t = b("span"), r = R(
|
|
4524
4538
|
/*currency*/
|
|
4525
4539
|
e[1]
|
|
4526
|
-
),
|
|
4540
|
+
), _(t, "class", "jackpot-currency");
|
|
4527
4541
|
},
|
|
4528
4542
|
m(n, i) {
|
|
4529
|
-
F(n, t, i),
|
|
4543
|
+
F(n, t, i), d(t, r);
|
|
4530
4544
|
},
|
|
4531
4545
|
p(n, i) {
|
|
4532
4546
|
i[0] & /*currency*/
|
|
@@ -4541,17 +4555,17 @@ function pr(e) {
|
|
|
4541
4555
|
}
|
|
4542
4556
|
};
|
|
4543
4557
|
}
|
|
4544
|
-
function
|
|
4558
|
+
function gr(e) {
|
|
4545
4559
|
let t, r;
|
|
4546
4560
|
return {
|
|
4547
4561
|
c() {
|
|
4548
4562
|
t = b("span"), r = R(
|
|
4549
4563
|
/*currency*/
|
|
4550
4564
|
e[1]
|
|
4551
|
-
),
|
|
4565
|
+
), _(t, "class", "jackpot-currency");
|
|
4552
4566
|
},
|
|
4553
4567
|
m(n, i) {
|
|
4554
|
-
F(n, t, i),
|
|
4568
|
+
F(n, t, i), d(t, r);
|
|
4555
4569
|
},
|
|
4556
4570
|
p(n, i) {
|
|
4557
4571
|
i[0] & /*currency*/
|
|
@@ -4566,17 +4580,17 @@ function mr(e) {
|
|
|
4566
4580
|
}
|
|
4567
4581
|
};
|
|
4568
4582
|
}
|
|
4569
|
-
function
|
|
4583
|
+
function yr(e) {
|
|
4570
4584
|
let t, r;
|
|
4571
4585
|
return {
|
|
4572
4586
|
c() {
|
|
4573
4587
|
t = b("span"), r = R(
|
|
4574
4588
|
/*currency*/
|
|
4575
4589
|
e[1]
|
|
4576
|
-
),
|
|
4590
|
+
), _(t, "class", "jackpot-currency");
|
|
4577
4591
|
},
|
|
4578
4592
|
m(n, i) {
|
|
4579
|
-
F(n, t, i),
|
|
4593
|
+
F(n, t, i), d(t, r);
|
|
4580
4594
|
},
|
|
4581
4595
|
p(n, i) {
|
|
4582
4596
|
i[0] & /*currency*/
|
|
@@ -4591,17 +4605,17 @@ function br(e) {
|
|
|
4591
4605
|
}
|
|
4592
4606
|
};
|
|
4593
4607
|
}
|
|
4594
|
-
function
|
|
4608
|
+
function vr(e) {
|
|
4595
4609
|
let t, r;
|
|
4596
4610
|
return {
|
|
4597
4611
|
c() {
|
|
4598
4612
|
t = b("span"), r = R(
|
|
4599
4613
|
/*currency*/
|
|
4600
4614
|
e[1]
|
|
4601
|
-
),
|
|
4615
|
+
), _(t, "class", "jackpot-currency");
|
|
4602
4616
|
},
|
|
4603
4617
|
m(n, i) {
|
|
4604
|
-
F(n, t, i),
|
|
4618
|
+
F(n, t, i), d(t, r);
|
|
4605
4619
|
},
|
|
4606
4620
|
p(n, i) {
|
|
4607
4621
|
i[0] & /*currency*/
|
|
@@ -4616,17 +4630,17 @@ function gr(e) {
|
|
|
4616
4630
|
}
|
|
4617
4631
|
};
|
|
4618
4632
|
}
|
|
4619
|
-
function
|
|
4633
|
+
function _r(e) {
|
|
4620
4634
|
let t, r;
|
|
4621
4635
|
return {
|
|
4622
4636
|
c() {
|
|
4623
4637
|
t = b("span"), r = R(
|
|
4624
4638
|
/*currency*/
|
|
4625
4639
|
e[1]
|
|
4626
|
-
),
|
|
4640
|
+
), _(t, "class", "jackpot-currency");
|
|
4627
4641
|
},
|
|
4628
4642
|
m(n, i) {
|
|
4629
|
-
F(n, t, i),
|
|
4643
|
+
F(n, t, i), d(t, r);
|
|
4630
4644
|
},
|
|
4631
4645
|
p(n, i) {
|
|
4632
4646
|
i[0] & /*currency*/
|
|
@@ -4641,14 +4655,14 @@ function yr(e) {
|
|
|
4641
4655
|
}
|
|
4642
4656
|
};
|
|
4643
4657
|
}
|
|
4644
|
-
function
|
|
4645
|
-
let t, r, n, i,
|
|
4658
|
+
function Er(e) {
|
|
4659
|
+
let t, r, n, i, o, s, a = (
|
|
4646
4660
|
/*formattedLabels*/
|
|
4647
4661
|
e[11][
|
|
4648
4662
|
/*i*/
|
|
4649
4663
|
e[58]
|
|
4650
4664
|
] + ""
|
|
4651
|
-
), l, u, c,
|
|
4665
|
+
), l, u, c, p, h = (
|
|
4652
4666
|
/*realtimeupdate*/
|
|
4653
4667
|
(e[2] === "true" ? (
|
|
4654
4668
|
/*reversedJackpotValues*/
|
|
@@ -4663,18 +4677,18 @@ function _r(e) {
|
|
|
4663
4677
|
e[58]
|
|
4664
4678
|
] ?? ""
|
|
4665
4679
|
)) + ""
|
|
4666
|
-
), g, x, y,
|
|
4667
|
-
e[3] &&
|
|
4680
|
+
), g, x, y, v = !/*currencylocale*/
|
|
4681
|
+
e[3] && _r(e);
|
|
4668
4682
|
return {
|
|
4669
4683
|
c() {
|
|
4670
|
-
t = b("div"), r = b("div"), n = b("ui-image"),
|
|
4684
|
+
t = b("div"), r = b("div"), n = b("ui-image"), o = I(), s = b("span"), l = R(a), u = I(), c = b("span"), p = b("span"), g = R(h), x = I(), v && v.c(), y = I(), L(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
|
|
4671
4685
|
e[12][
|
|
4672
4686
|
/*i*/
|
|
4673
4687
|
e[58]
|
|
4674
|
-
]) || L(n, "src", i), L(n, "alt", ""),
|
|
4688
|
+
]) || L(n, "src", i), L(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4675
4689
|
},
|
|
4676
4690
|
m(m, T) {
|
|
4677
|
-
F(m, t, T),
|
|
4691
|
+
F(m, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, p), d(p, g), d(c, x), v && v.m(c, null), d(t, y);
|
|
4678
4692
|
},
|
|
4679
4693
|
p(m, T) {
|
|
4680
4694
|
T[0] & /*caticons*/
|
|
@@ -4702,21 +4716,21 @@ function _r(e) {
|
|
|
4702
4716
|
m[58]
|
|
4703
4717
|
] ?? ""
|
|
4704
4718
|
)) + "") && j(g, h), /*currencylocale*/
|
|
4705
|
-
m[3] ?
|
|
4719
|
+
m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v = _r(m), v.c(), v.m(c, null));
|
|
4706
4720
|
},
|
|
4707
4721
|
d(m) {
|
|
4708
|
-
m && D(t),
|
|
4722
|
+
m && D(t), v && v.d();
|
|
4709
4723
|
}
|
|
4710
4724
|
};
|
|
4711
4725
|
}
|
|
4712
|
-
function
|
|
4726
|
+
function jo(e) {
|
|
4713
4727
|
let t;
|
|
4714
|
-
function r(
|
|
4728
|
+
function r(o, s) {
|
|
4715
4729
|
return (
|
|
4716
4730
|
/*hasErrors*/
|
|
4717
|
-
|
|
4731
|
+
o[15] ? Do : (
|
|
4718
4732
|
/*isLoading*/
|
|
4719
|
-
|
|
4733
|
+
o[5] ? Uo : Ro
|
|
4720
4734
|
)
|
|
4721
4735
|
);
|
|
4722
4736
|
}
|
|
@@ -4725,32 +4739,32 @@ function Ds(e) {
|
|
|
4725
4739
|
c() {
|
|
4726
4740
|
t = b("div"), i.c();
|
|
4727
4741
|
},
|
|
4728
|
-
m(
|
|
4729
|
-
F(
|
|
4742
|
+
m(o, s) {
|
|
4743
|
+
F(o, t, s), i.m(t, null), e[36](t);
|
|
4730
4744
|
},
|
|
4731
|
-
p(
|
|
4732
|
-
n === (n = r(
|
|
4745
|
+
p(o, s) {
|
|
4746
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4733
4747
|
},
|
|
4734
4748
|
i: Z,
|
|
4735
4749
|
o: Z,
|
|
4736
|
-
d(
|
|
4737
|
-
|
|
4750
|
+
d(o) {
|
|
4751
|
+
o && D(t), i.d(), e[36](null);
|
|
4738
4752
|
}
|
|
4739
4753
|
};
|
|
4740
4754
|
}
|
|
4741
|
-
function
|
|
4742
|
-
let n, { visualstructure: i = "" } = t, { title:
|
|
4755
|
+
function Fo(e, t, r) {
|
|
4756
|
+
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint: B = "" } = t, { gameid: M = "" } = t, { mbsource: k } = t, { realtimeupdate: $ = "false" } = t, { currencylocale: J = "" } = t, Ue = window.navigator.userAgent, ye = !1, Y = !1, me = "", he = [], fe = [], ve = [], _e = [], ee = [], re = "", ne = "", N, ie = !0, De = !1, pe, q = null, oe = [];
|
|
4743
4757
|
const Ze = () => {
|
|
4744
4758
|
fetch(T).then((A) => A.json()).then((A) => {
|
|
4745
4759
|
Object.keys(A).forEach((U) => {
|
|
4746
|
-
|
|
4760
|
+
pr(U, A[U]);
|
|
4747
4761
|
});
|
|
4748
4762
|
}).catch((A) => {
|
|
4749
4763
|
console.log(A);
|
|
4750
4764
|
});
|
|
4751
4765
|
};
|
|
4752
|
-
Object.keys(
|
|
4753
|
-
|
|
4766
|
+
Object.keys(dr).forEach((f) => {
|
|
4767
|
+
pr(f, dr[f]);
|
|
4754
4768
|
});
|
|
4755
4769
|
const K = ["typeSpread", "typeLeft"], Ee = (f) => {
|
|
4756
4770
|
const A = f?.items[0]?.additionalData;
|
|
@@ -4761,7 +4775,7 @@ function ks(e, t, r) {
|
|
|
4761
4775
|
if (B && y && h) {
|
|
4762
4776
|
let f = new URL(`${B}/v1/casino/jackpots`);
|
|
4763
4777
|
f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((A) => A.json().then((U) => {
|
|
4764
|
-
r(5, ie = !1),
|
|
4778
|
+
r(5, ie = !1), pe = U, fe.includes(M) && (Ee(pe), xe(pe));
|
|
4765
4779
|
}).catch((U) => {
|
|
4766
4780
|
r(15, De = !0), r(5, ie = !1), console.error(U);
|
|
4767
4781
|
}).finally(() => {
|
|
@@ -4776,8 +4790,8 @@ function ks(e, t, r) {
|
|
|
4776
4790
|
fetch(f.href).then((A) => A.json()).then((A) => {
|
|
4777
4791
|
r(34, fe = A.egtJackpotIds.map((U) => U));
|
|
4778
4792
|
});
|
|
4779
|
-
},
|
|
4780
|
-
r(7, ye =
|
|
4793
|
+
}, se = () => {
|
|
4794
|
+
r(7, ye = Lo(Ue) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), he.length !== 0 && (r(10, ve = te(he)), ve.reverse()), r(11, _e = c ? c.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), K.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${K[0]}"`), r(0, i = K[0])), r(13, re = g && ye && !Y ? g : p), r(14, ne = x), r(12, ee = [s, a, l, u]);
|
|
4781
4795
|
}, ae = (f) => Intl.NumberFormat(J, {
|
|
4782
4796
|
minimumFractionDigits: 2,
|
|
4783
4797
|
maximumFractionDigits: 2,
|
|
@@ -4792,46 +4806,46 @@ function ks(e, t, r) {
|
|
|
4792
4806
|
gameId: `${M}`
|
|
4793
4807
|
});
|
|
4794
4808
|
}, Te = () => {
|
|
4795
|
-
|
|
4809
|
+
No(y);
|
|
4796
4810
|
}, be = (f) => {
|
|
4797
4811
|
const A = JSON.parse(f.data);
|
|
4798
4812
|
if (A.success && A.data.messageType === "UpdateEgtJackpotBalance" && A.data.jackpotAlias.split("_")[0] === M) {
|
|
4799
4813
|
const U = Number(A.data.jackpotAlias.split("_")[1]) - 1;
|
|
4800
4814
|
r(
|
|
4801
4815
|
6,
|
|
4802
|
-
|
|
4803
|
-
|
|
4816
|
+
oe[U] = J ? ae(A.data.data[`${h}`].balance) : A.data.data[`${h}`].balance.toString(),
|
|
4817
|
+
oe
|
|
4804
4818
|
);
|
|
4805
4819
|
}
|
|
4806
4820
|
}, je = () => {
|
|
4807
|
-
$ === "true" && (
|
|
4821
|
+
$ === "true" && (se(), r(6, oe = ["", "", "", ""]), q = new EventSource(`${B}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
|
|
4808
4822
|
};
|
|
4809
|
-
|
|
4810
|
-
}),
|
|
4823
|
+
dn(() => () => {
|
|
4824
|
+
}), mn(() => {
|
|
4811
4825
|
q && (q.removeEventListener("message", be), q.close(), q = null);
|
|
4812
4826
|
});
|
|
4813
4827
|
const qe = () => Ge();
|
|
4814
4828
|
function ue(f) {
|
|
4815
|
-
|
|
4829
|
+
xt[f ? "unshift" : "push"](() => {
|
|
4816
4830
|
N = f, r(4, N);
|
|
4817
4831
|
});
|
|
4818
4832
|
}
|
|
4819
4833
|
return e.$$set = (f) => {
|
|
4820
|
-
"visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18,
|
|
4834
|
+
"visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, o = f.title), "caticon0" in f && r(19, s = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, v = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31, B = f.endpoint), "gameid" in f && r(32, M = f.gameid), "mbsource" in f && r(33, k = f.mbsource), "realtimeupdate" in f && r(2, $ = f.realtimeupdate), "currencylocale" in f && r(3, J = f.currencylocale);
|
|
4821
4835
|
}, e.$$.update = () => {
|
|
4822
4836
|
e.$$.dirty[1] & /*endpoint*/
|
|
4823
4837
|
1 && B && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4824
|
-
268435472 &&
|
|
4825
|
-
536870928 && m && N &&
|
|
4838
|
+
268435472 && v && N && Co(N, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4839
|
+
536870928 && m && N && Io(N, m), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4826
4840
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4827
|
-
4 && k && N &&
|
|
4841
|
+
4 && k && N && Oo(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
|
|
4828
4842
|
134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
4829
4843
|
9 && B && y && h && fe.length > 0 && ke(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4830
|
-
134217762 && h && y && !ie &&
|
|
4844
|
+
134217762 && h && y && !ie && se(), e.$$.dirty[0] & /*lang*/
|
|
4831
4845
|
134217728 && y && Te(), e.$$.dirty[0] & /*translationurl*/
|
|
4832
4846
|
1073741824 && T && Ze(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4833
4847
|
4 && $ && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
|
|
4834
|
-
64 && r(16, n = [...
|
|
4848
|
+
64 && r(16, n = [...oe].reverse());
|
|
4835
4849
|
}, [
|
|
4836
4850
|
i,
|
|
4837
4851
|
h,
|
|
@@ -4839,29 +4853,29 @@ function ks(e, t, r) {
|
|
|
4839
4853
|
J,
|
|
4840
4854
|
N,
|
|
4841
4855
|
ie,
|
|
4842
|
-
|
|
4856
|
+
oe,
|
|
4843
4857
|
ye,
|
|
4844
4858
|
Y,
|
|
4845
4859
|
me,
|
|
4846
|
-
_e,
|
|
4847
4860
|
ve,
|
|
4861
|
+
_e,
|
|
4848
4862
|
ee,
|
|
4849
4863
|
re,
|
|
4850
4864
|
ne,
|
|
4851
4865
|
De,
|
|
4852
4866
|
n,
|
|
4853
4867
|
Ge,
|
|
4854
|
-
s,
|
|
4855
4868
|
o,
|
|
4869
|
+
s,
|
|
4856
4870
|
a,
|
|
4857
4871
|
l,
|
|
4858
4872
|
u,
|
|
4859
4873
|
c,
|
|
4860
|
-
|
|
4874
|
+
p,
|
|
4861
4875
|
g,
|
|
4862
4876
|
x,
|
|
4863
4877
|
y,
|
|
4864
|
-
|
|
4878
|
+
v,
|
|
4865
4879
|
m,
|
|
4866
4880
|
T,
|
|
4867
4881
|
B,
|
|
@@ -4872,14 +4886,14 @@ function ks(e, t, r) {
|
|
|
4872
4886
|
ue
|
|
4873
4887
|
];
|
|
4874
4888
|
}
|
|
4875
|
-
class
|
|
4889
|
+
class $o extends An {
|
|
4876
4890
|
constructor(t) {
|
|
4877
|
-
super(),
|
|
4891
|
+
super(), wn(
|
|
4878
4892
|
this,
|
|
4879
4893
|
t,
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4894
|
+
Fo,
|
|
4895
|
+
jo,
|
|
4896
|
+
Sr,
|
|
4883
4897
|
{
|
|
4884
4898
|
visualstructure: 0,
|
|
4885
4899
|
title: 18,
|
|
@@ -4902,7 +4916,7 @@ class Gs extends Tn {
|
|
|
4902
4916
|
realtimeupdate: 2,
|
|
4903
4917
|
currencylocale: 3
|
|
4904
4918
|
},
|
|
4905
|
-
|
|
4919
|
+
Mo,
|
|
4906
4920
|
[-1, -1]
|
|
4907
4921
|
);
|
|
4908
4922
|
}
|
|
@@ -4910,124 +4924,124 @@ class Gs extends Tn {
|
|
|
4910
4924
|
return this.$$.ctx[0];
|
|
4911
4925
|
}
|
|
4912
4926
|
set visualstructure(t) {
|
|
4913
|
-
this.$$set({ visualstructure: t }),
|
|
4927
|
+
this.$$set({ visualstructure: t }), C();
|
|
4914
4928
|
}
|
|
4915
4929
|
get title() {
|
|
4916
4930
|
return this.$$.ctx[18];
|
|
4917
4931
|
}
|
|
4918
4932
|
set title(t) {
|
|
4919
|
-
this.$$set({ title: t }),
|
|
4933
|
+
this.$$set({ title: t }), C();
|
|
4920
4934
|
}
|
|
4921
4935
|
get caticon0() {
|
|
4922
4936
|
return this.$$.ctx[19];
|
|
4923
4937
|
}
|
|
4924
4938
|
set caticon0(t) {
|
|
4925
|
-
this.$$set({ caticon0: t }),
|
|
4939
|
+
this.$$set({ caticon0: t }), C();
|
|
4926
4940
|
}
|
|
4927
4941
|
get caticon1() {
|
|
4928
4942
|
return this.$$.ctx[20];
|
|
4929
4943
|
}
|
|
4930
4944
|
set caticon1(t) {
|
|
4931
|
-
this.$$set({ caticon1: t }),
|
|
4945
|
+
this.$$set({ caticon1: t }), C();
|
|
4932
4946
|
}
|
|
4933
4947
|
get caticon2() {
|
|
4934
4948
|
return this.$$.ctx[21];
|
|
4935
4949
|
}
|
|
4936
4950
|
set caticon2(t) {
|
|
4937
|
-
this.$$set({ caticon2: t }),
|
|
4951
|
+
this.$$set({ caticon2: t }), C();
|
|
4938
4952
|
}
|
|
4939
4953
|
get caticon3() {
|
|
4940
4954
|
return this.$$.ctx[22];
|
|
4941
4955
|
}
|
|
4942
4956
|
set caticon3(t) {
|
|
4943
|
-
this.$$set({ caticon3: t }),
|
|
4957
|
+
this.$$set({ caticon3: t }), C();
|
|
4944
4958
|
}
|
|
4945
4959
|
get iconlabels() {
|
|
4946
4960
|
return this.$$.ctx[23];
|
|
4947
4961
|
}
|
|
4948
4962
|
set iconlabels(t) {
|
|
4949
|
-
this.$$set({ iconlabels: t }),
|
|
4963
|
+
this.$$set({ iconlabels: t }), C();
|
|
4950
4964
|
}
|
|
4951
4965
|
get backgroundsrc() {
|
|
4952
4966
|
return this.$$.ctx[24];
|
|
4953
4967
|
}
|
|
4954
4968
|
set backgroundsrc(t) {
|
|
4955
|
-
this.$$set({ backgroundsrc: t }),
|
|
4969
|
+
this.$$set({ backgroundsrc: t }), C();
|
|
4956
4970
|
}
|
|
4957
4971
|
get currency() {
|
|
4958
4972
|
return this.$$.ctx[1];
|
|
4959
4973
|
}
|
|
4960
4974
|
set currency(t) {
|
|
4961
|
-
this.$$set({ currency: t }),
|
|
4975
|
+
this.$$set({ currency: t }), C();
|
|
4962
4976
|
}
|
|
4963
4977
|
get backgroundsrcmobile() {
|
|
4964
4978
|
return this.$$.ctx[25];
|
|
4965
4979
|
}
|
|
4966
4980
|
set backgroundsrcmobile(t) {
|
|
4967
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
4981
|
+
this.$$set({ backgroundsrcmobile: t }), C();
|
|
4968
4982
|
}
|
|
4969
4983
|
get titlelogopath() {
|
|
4970
4984
|
return this.$$.ctx[26];
|
|
4971
4985
|
}
|
|
4972
4986
|
set titlelogopath(t) {
|
|
4973
|
-
this.$$set({ titlelogopath: t }),
|
|
4987
|
+
this.$$set({ titlelogopath: t }), C();
|
|
4974
4988
|
}
|
|
4975
4989
|
get lang() {
|
|
4976
4990
|
return this.$$.ctx[27];
|
|
4977
4991
|
}
|
|
4978
4992
|
set lang(t) {
|
|
4979
|
-
this.$$set({ lang: t }),
|
|
4993
|
+
this.$$set({ lang: t }), C();
|
|
4980
4994
|
}
|
|
4981
4995
|
get clientstyling() {
|
|
4982
4996
|
return this.$$.ctx[28];
|
|
4983
4997
|
}
|
|
4984
4998
|
set clientstyling(t) {
|
|
4985
|
-
this.$$set({ clientstyling: t }),
|
|
4999
|
+
this.$$set({ clientstyling: t }), C();
|
|
4986
5000
|
}
|
|
4987
5001
|
get clientstylingurl() {
|
|
4988
5002
|
return this.$$.ctx[29];
|
|
4989
5003
|
}
|
|
4990
5004
|
set clientstylingurl(t) {
|
|
4991
|
-
this.$$set({ clientstylingurl: t }),
|
|
5005
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
4992
5006
|
}
|
|
4993
5007
|
get translationurl() {
|
|
4994
5008
|
return this.$$.ctx[30];
|
|
4995
5009
|
}
|
|
4996
5010
|
set translationurl(t) {
|
|
4997
|
-
this.$$set({ translationurl: t }),
|
|
5011
|
+
this.$$set({ translationurl: t }), C();
|
|
4998
5012
|
}
|
|
4999
5013
|
get endpoint() {
|
|
5000
5014
|
return this.$$.ctx[31];
|
|
5001
5015
|
}
|
|
5002
5016
|
set endpoint(t) {
|
|
5003
|
-
this.$$set({ endpoint: t }),
|
|
5017
|
+
this.$$set({ endpoint: t }), C();
|
|
5004
5018
|
}
|
|
5005
5019
|
get gameid() {
|
|
5006
5020
|
return this.$$.ctx[32];
|
|
5007
5021
|
}
|
|
5008
5022
|
set gameid(t) {
|
|
5009
|
-
this.$$set({ gameid: t }),
|
|
5023
|
+
this.$$set({ gameid: t }), C();
|
|
5010
5024
|
}
|
|
5011
5025
|
get mbsource() {
|
|
5012
5026
|
return this.$$.ctx[33];
|
|
5013
5027
|
}
|
|
5014
5028
|
set mbsource(t) {
|
|
5015
|
-
this.$$set({ mbsource: t }),
|
|
5029
|
+
this.$$set({ mbsource: t }), C();
|
|
5016
5030
|
}
|
|
5017
5031
|
get realtimeupdate() {
|
|
5018
5032
|
return this.$$.ctx[2];
|
|
5019
5033
|
}
|
|
5020
5034
|
set realtimeupdate(t) {
|
|
5021
|
-
this.$$set({ realtimeupdate: t }),
|
|
5035
|
+
this.$$set({ realtimeupdate: t }), C();
|
|
5022
5036
|
}
|
|
5023
5037
|
get currencylocale() {
|
|
5024
5038
|
return this.$$.ctx[3];
|
|
5025
5039
|
}
|
|
5026
5040
|
set currencylocale(t) {
|
|
5027
|
-
this.$$set({ currencylocale: t }),
|
|
5041
|
+
this.$$set({ currencylocale: t }), C();
|
|
5028
5042
|
}
|
|
5029
5043
|
}
|
|
5030
|
-
|
|
5044
|
+
Hn($o, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
5031
5045
|
export {
|
|
5032
|
-
|
|
5046
|
+
$o as C
|
|
5033
5047
|
};
|