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