@everymatrix/casino-jackpot-banner 1.59.3 → 1.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoJackpotBanner-CddJKifU.cjs +18 -0
- package/components/{CasinoJackpotBanner-DvgIIMt9.js → CasinoJackpotBanner-DA157WfZ.js} +568 -546
- package/components/{CasinoJackpotBanner-DG0Gqyq0.js → CasinoJackpotBanner-ulJ9t0OI.js} +599 -577
- package/es2015/casino-jackpot-banner.cjs +1 -1
- package/es2015/casino-jackpot-banner.js +1 -1
- package/esnext/casino-jackpot-banner.js +1 -1
- package/package.json +1 -1
- package/components/CasinoJackpotBanner-NWh7LI52.cjs +0 -18
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function G() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function fr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Gt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function je(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(fr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ot(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function pr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let Xe;
|
|
19
19
|
function k(e, t) {
|
|
20
20
|
return e === t ? !0 : (Xe || (Xe = document.createElement("a")), Xe.href = t, e === Xe.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function zr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Jr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -34,14 +34,14 @@ function Vr(e, ...t) {
|
|
|
34
34
|
function d(e, t) {
|
|
35
35
|
e.appendChild(t);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const n =
|
|
37
|
+
function Zr(e, t, r) {
|
|
38
|
+
const n = Qr(e);
|
|
39
39
|
if (!n.getElementById(t)) {
|
|
40
40
|
const i = g("style");
|
|
41
|
-
i.id = t, i.textContent = r,
|
|
41
|
+
i.id = t, i.textContent = r, Yr(n, i);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Qr(e) {
|
|
45
45
|
if (!e)
|
|
46
46
|
return document;
|
|
47
47
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -51,7 +51,7 @@ function Xr(e) {
|
|
|
51
51
|
t
|
|
52
52
|
) : e.ownerDocument;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Yr(e, t) {
|
|
55
55
|
return d(
|
|
56
56
|
/** @type {Document} */
|
|
57
57
|
e.head || e,
|
|
@@ -64,7 +64,7 @@ function q(e, t, r) {
|
|
|
64
64
|
function V(e) {
|
|
65
65
|
e.parentNode && e.parentNode.removeChild(e);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function qr(e, t) {
|
|
68
68
|
for (let r = 0; r < e.length; r += 1)
|
|
69
69
|
e[r] && e[r].d(t);
|
|
70
70
|
}
|
|
@@ -77,16 +77,16 @@ function N(e) {
|
|
|
77
77
|
function Y() {
|
|
78
78
|
return N(" ");
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Kr() {
|
|
81
81
|
return N("");
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function en(e, t, r, n) {
|
|
84
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
85
85
|
}
|
|
86
86
|
function m(e, t, r) {
|
|
87
87
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function tn(e) {
|
|
90
90
|
return Array.from(e.childNodes);
|
|
91
91
|
}
|
|
92
92
|
function U(e, t) {
|
|
@@ -96,7 +96,7 @@ function U(e, t) {
|
|
|
96
96
|
function ze(e, t, r, n) {
|
|
97
97
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function rn(e) {
|
|
100
100
|
const t = {};
|
|
101
101
|
return e.childNodes.forEach(
|
|
102
102
|
/** @param {Element} node */
|
|
@@ -109,25 +109,25 @@ let De;
|
|
|
109
109
|
function Ue(e) {
|
|
110
110
|
De = e;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function dr() {
|
|
113
113
|
if (!De)
|
|
114
114
|
throw new Error("Function called outside component initialization");
|
|
115
115
|
return De;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
117
|
+
function nn(e) {
|
|
118
|
+
dr().$$.on_mount.push(e);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
121
|
-
|
|
120
|
+
function on(e) {
|
|
121
|
+
dr().$$.on_destroy.push(e);
|
|
122
122
|
}
|
|
123
|
-
const xe = [],
|
|
123
|
+
const xe = [], gt = [];
|
|
124
124
|
let Se = [];
|
|
125
|
-
const
|
|
126
|
-
let
|
|
127
|
-
function
|
|
128
|
-
|
|
125
|
+
const kt = [], sn = /* @__PURE__ */ Promise.resolve();
|
|
126
|
+
let yt = !1;
|
|
127
|
+
function an() {
|
|
128
|
+
yt || (yt = !0, sn.then(L));
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function vt(e) {
|
|
131
131
|
Se.push(e);
|
|
132
132
|
}
|
|
133
133
|
const lt = /* @__PURE__ */ new Set();
|
|
@@ -140,56 +140,56 @@ function L() {
|
|
|
140
140
|
try {
|
|
141
141
|
for (; _e < xe.length; ) {
|
|
142
142
|
const t = xe[_e];
|
|
143
|
-
_e++, Ue(t),
|
|
143
|
+
_e++, Ue(t), un(t.$$);
|
|
144
144
|
}
|
|
145
145
|
} catch (t) {
|
|
146
146
|
throw xe.length = 0, _e = 0, t;
|
|
147
147
|
}
|
|
148
|
-
for (Ue(null), xe.length = 0, _e = 0;
|
|
149
|
-
|
|
148
|
+
for (Ue(null), xe.length = 0, _e = 0; gt.length; )
|
|
149
|
+
gt.pop()();
|
|
150
150
|
for (let t = 0; t < Se.length; t += 1) {
|
|
151
151
|
const r = Se[t];
|
|
152
152
|
lt.has(r) || (lt.add(r), r());
|
|
153
153
|
}
|
|
154
154
|
Se.length = 0;
|
|
155
155
|
} while (xe.length);
|
|
156
|
-
for (;
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
for (; kt.length; )
|
|
157
|
+
kt.pop()();
|
|
158
|
+
yt = !1, lt.clear(), Ue(e);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function un(e) {
|
|
161
161
|
if (e.fragment !== null) {
|
|
162
162
|
e.update(), je(e.before_update);
|
|
163
163
|
const t = e.dirty;
|
|
164
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
164
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(vt);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function ln(e) {
|
|
168
168
|
const t = [], r = [];
|
|
169
169
|
Se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Se = t;
|
|
170
170
|
}
|
|
171
|
-
const
|
|
172
|
-
function
|
|
173
|
-
e && e.i && (
|
|
171
|
+
const hn = /* @__PURE__ */ new Set();
|
|
172
|
+
function cn(e, t) {
|
|
173
|
+
e && e.i && (hn.delete(e), e.i(t));
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function jt(e) {
|
|
176
176
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function fn(e, t, r) {
|
|
179
179
|
const { fragment: n, after_update: i } = e.$$;
|
|
180
|
-
n && n.m(t, r),
|
|
181
|
-
const o = e.$$.on_mount.map(
|
|
180
|
+
n && n.m(t, r), vt(() => {
|
|
181
|
+
const o = e.$$.on_mount.map(fr).filter(Ot);
|
|
182
182
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : je(o), e.$$.on_mount = [];
|
|
183
|
-
}), i.forEach(
|
|
183
|
+
}), i.forEach(vt);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function pn(e, t) {
|
|
186
186
|
const r = e.$$;
|
|
187
|
-
r.fragment !== null && (
|
|
187
|
+
r.fragment !== null && (ln(r.after_update), je(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
e.$$.dirty[0] === -1 && (xe.push(e),
|
|
189
|
+
function dn(e, t) {
|
|
190
|
+
e.$$.dirty[0] === -1 && (xe.push(e), an(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
193
193
|
const l = De;
|
|
194
194
|
Ue(e);
|
|
195
195
|
const u = e.$$ = {
|
|
@@ -199,7 +199,7 @@ function cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
199
199
|
props: o,
|
|
200
200
|
update: G,
|
|
201
201
|
not_equal: i,
|
|
202
|
-
bound:
|
|
202
|
+
bound: Gt(),
|
|
203
203
|
// lifecycle
|
|
204
204
|
on_mount: [],
|
|
205
205
|
on_destroy: [],
|
|
@@ -208,7 +208,7 @@ function cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
208
208
|
after_update: [],
|
|
209
209
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
210
210
|
// everything else
|
|
211
|
-
callbacks:
|
|
211
|
+
callbacks: Gt(),
|
|
212
212
|
dirty: a,
|
|
213
213
|
skip_bound: !1,
|
|
214
214
|
root: t.target || l.$$.root
|
|
@@ -217,19 +217,19 @@ function cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
217
217
|
let h = !1;
|
|
218
218
|
if (u.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
|
|
219
219
|
const v = y.length ? y[0] : p;
|
|
220
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h &&
|
|
220
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && dn(e, c)), p;
|
|
221
221
|
}) : [], u.update(), h = !0, je(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
222
222
|
if (t.hydrate) {
|
|
223
|
-
const c =
|
|
223
|
+
const c = tn(t.target);
|
|
224
224
|
u.fragment && u.fragment.l(c), c.forEach(V);
|
|
225
225
|
} else
|
|
226
226
|
u.fragment && u.fragment.c();
|
|
227
|
-
t.intro &&
|
|
227
|
+
t.intro && cn(e.$$.fragment), fn(e, t.target, t.anchor), L();
|
|
228
228
|
}
|
|
229
229
|
Ue(l);
|
|
230
230
|
}
|
|
231
|
-
let
|
|
232
|
-
typeof HTMLElement == "function" && (
|
|
231
|
+
let mr;
|
|
232
|
+
typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
233
233
|
/** The Svelte component constructor */
|
|
234
234
|
$$ctor;
|
|
235
235
|
/** Slots */
|
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
288
288
|
};
|
|
289
289
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
290
290
|
return;
|
|
291
|
-
const t = {}, r =
|
|
291
|
+
const t = {}, r = rn(this);
|
|
292
292
|
for (const i of this.$$s)
|
|
293
293
|
i in r && (t[i] = [e(i)]);
|
|
294
294
|
for (const i of this.attributes) {
|
|
@@ -375,8 +375,8 @@ function Qe(e, t, r, n) {
|
|
|
375
375
|
return t;
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
function
|
|
379
|
-
let s = class extends
|
|
378
|
+
function bn(e, t, r, n, i, o) {
|
|
379
|
+
let s = class extends mr {
|
|
380
380
|
constructor() {
|
|
381
381
|
super(e, r, i), this.$$p_d = t;
|
|
382
382
|
}
|
|
@@ -404,7 +404,7 @@ function fn(e, t, r, n, i, o) {
|
|
|
404
404
|
}), e.element = /** @type {any} */
|
|
405
405
|
s, s;
|
|
406
406
|
}
|
|
407
|
-
class
|
|
407
|
+
class gn {
|
|
408
408
|
/**
|
|
409
409
|
* ### PRIVATE API
|
|
410
410
|
*
|
|
@@ -423,7 +423,7 @@ class pn {
|
|
|
423
423
|
$$set = void 0;
|
|
424
424
|
/** @returns {void} */
|
|
425
425
|
$destroy() {
|
|
426
|
-
|
|
426
|
+
pn(this, 1), this.$destroy = G;
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
429
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -432,7 +432,7 @@ class pn {
|
|
|
432
432
|
* @returns {() => void}
|
|
433
433
|
*/
|
|
434
434
|
$on(t, r) {
|
|
435
|
-
if (!
|
|
435
|
+
if (!Ot(r))
|
|
436
436
|
return G;
|
|
437
437
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
438
438
|
return n.push(r), () => {
|
|
@@ -445,11 +445,11 @@ class pn {
|
|
|
445
445
|
* @returns {void}
|
|
446
446
|
*/
|
|
447
447
|
$set(t) {
|
|
448
|
-
this.$$set && !
|
|
448
|
+
this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
const
|
|
452
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
451
|
+
const yn = "4";
|
|
452
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
|
|
453
453
|
/*! *****************************************************************************
|
|
454
454
|
Copyright (c) Microsoft Corporation.
|
|
455
455
|
|
|
@@ -464,18 +464,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
464
464
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
465
465
|
PERFORMANCE OF THIS SOFTWARE.
|
|
466
466
|
***************************************************************************** */
|
|
467
|
-
var
|
|
468
|
-
return
|
|
467
|
+
var _t = function(e, t) {
|
|
468
|
+
return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
469
469
|
r.__proto__ = n;
|
|
470
470
|
} || function(r, n) {
|
|
471
471
|
for (var i in n)
|
|
472
472
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
473
|
-
},
|
|
473
|
+
}, _t(e, t);
|
|
474
474
|
};
|
|
475
475
|
function te(e, t) {
|
|
476
476
|
if (typeof t != "function" && t !== null)
|
|
477
477
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
478
|
-
|
|
478
|
+
_t(e, t);
|
|
479
479
|
function r() {
|
|
480
480
|
this.constructor = e;
|
|
481
481
|
}
|
|
@@ -491,7 +491,7 @@ var T = function() {
|
|
|
491
491
|
return t;
|
|
492
492
|
}, T.apply(this, arguments);
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function vn(e, t) {
|
|
495
495
|
var r = {};
|
|
496
496
|
for (var n in e)
|
|
497
497
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -500,7 +500,7 @@ function mn(e, t) {
|
|
|
500
500
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
501
501
|
return r;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Et(e) {
|
|
504
504
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
505
505
|
if (r)
|
|
506
506
|
return r.call(e);
|
|
@@ -512,7 +512,7 @@ function _t(e) {
|
|
|
512
512
|
};
|
|
513
513
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function xt(e, t) {
|
|
516
516
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
517
517
|
if (!r)
|
|
518
518
|
return e;
|
|
@@ -541,13 +541,13 @@ function Te(e, t, r) {
|
|
|
541
541
|
function ee(e) {
|
|
542
542
|
return typeof e == "function";
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function br(e) {
|
|
545
545
|
var t = function(n) {
|
|
546
546
|
Error.call(n), n.stack = new Error().stack;
|
|
547
547
|
}, r = e(t);
|
|
548
548
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
549
549
|
}
|
|
550
|
-
var ht =
|
|
550
|
+
var ht = br(function(e) {
|
|
551
551
|
return function(r) {
|
|
552
552
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
553
553
|
` + r.map(function(n, i) {
|
|
@@ -556,7 +556,7 @@ var ht = pr(function(e) {
|
|
|
556
556
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
557
557
|
};
|
|
558
558
|
});
|
|
559
|
-
function
|
|
559
|
+
function St(e, t) {
|
|
560
560
|
if (e) {
|
|
561
561
|
var r = e.indexOf(t);
|
|
562
562
|
0 <= r && e.splice(r, 1);
|
|
@@ -574,7 +574,7 @@ var rt = function() {
|
|
|
574
574
|
if (s)
|
|
575
575
|
if (this._parentage = null, Array.isArray(s))
|
|
576
576
|
try {
|
|
577
|
-
for (var a =
|
|
577
|
+
for (var a = Et(s), l = a.next(); !l.done; l = a.next()) {
|
|
578
578
|
var u = l.value;
|
|
579
579
|
u.remove(this);
|
|
580
580
|
}
|
|
@@ -601,12 +601,12 @@ var rt = function() {
|
|
|
601
601
|
if (c) {
|
|
602
602
|
this._finalizers = null;
|
|
603
603
|
try {
|
|
604
|
-
for (var p =
|
|
604
|
+
for (var p = Et(c), y = p.next(); !y.done; y = p.next()) {
|
|
605
605
|
var v = y.value;
|
|
606
606
|
try {
|
|
607
|
-
|
|
607
|
+
$t(v);
|
|
608
608
|
} catch (b) {
|
|
609
|
-
o = o ?? [], b instanceof ht ? o = Te(Te([],
|
|
609
|
+
o = o ?? [], b instanceof ht ? o = Te(Te([], xt(o)), xt(b.errors)) : o.push(b);
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
} catch (b) {
|
|
@@ -627,7 +627,7 @@ var rt = function() {
|
|
|
627
627
|
var r;
|
|
628
628
|
if (t && t !== this)
|
|
629
629
|
if (this.closed)
|
|
630
|
-
|
|
630
|
+
$t(t);
|
|
631
631
|
else {
|
|
632
632
|
if (t instanceof e) {
|
|
633
633
|
if (t.closed || t._hasParent(this))
|
|
@@ -644,52 +644,56 @@ var rt = function() {
|
|
|
644
644
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
645
645
|
}, e.prototype._removeParent = function(t) {
|
|
646
646
|
var r = this._parentage;
|
|
647
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
647
|
+
r === t ? this._parentage = null : Array.isArray(r) && St(r, t);
|
|
648
648
|
}, e.prototype.remove = function(t) {
|
|
649
649
|
var r = this._finalizers;
|
|
650
|
-
r &&
|
|
650
|
+
r && St(r, t), t instanceof e && t._removeParent(this);
|
|
651
651
|
}, e.EMPTY = function() {
|
|
652
652
|
var t = new e();
|
|
653
653
|
return t.closed = !0, t;
|
|
654
654
|
}(), e;
|
|
655
|
-
}(),
|
|
656
|
-
function
|
|
655
|
+
}(), gr = rt.EMPTY;
|
|
656
|
+
function yr(e) {
|
|
657
657
|
return e instanceof rt || e && "closed" in e && ee(e.remove) && ee(e.add) && ee(e.unsubscribe);
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function $t(e) {
|
|
660
660
|
ee(e) ? e() : e.unsubscribe();
|
|
661
661
|
}
|
|
662
|
-
var
|
|
663
|
-
|
|
664
|
-
|
|
662
|
+
var vr = {
|
|
663
|
+
onUnhandledError: null,
|
|
664
|
+
onStoppedNotification: null,
|
|
665
|
+
Promise: void 0,
|
|
666
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
|
+
useDeprecatedNextContext: !1
|
|
668
|
+
}, _n = {
|
|
665
669
|
setTimeout: function(e, t) {
|
|
666
670
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
667
671
|
r[n - 2] = arguments[n];
|
|
668
|
-
return setTimeout.apply(void 0, Te([e, t],
|
|
672
|
+
return setTimeout.apply(void 0, Te([e, t], xt(r)));
|
|
669
673
|
},
|
|
670
674
|
clearTimeout: function(e) {
|
|
671
675
|
return clearTimeout(e);
|
|
672
676
|
},
|
|
673
677
|
delegate: void 0
|
|
674
678
|
};
|
|
675
|
-
function
|
|
676
|
-
|
|
679
|
+
function En(e) {
|
|
680
|
+
_n.setTimeout(function() {
|
|
677
681
|
throw e;
|
|
678
682
|
});
|
|
679
683
|
}
|
|
680
|
-
function
|
|
684
|
+
function Ft() {
|
|
681
685
|
}
|
|
682
686
|
function Ye(e) {
|
|
683
687
|
e();
|
|
684
688
|
}
|
|
685
|
-
var
|
|
689
|
+
var _r = function(e) {
|
|
686
690
|
te(t, e);
|
|
687
691
|
function t(r) {
|
|
688
692
|
var n = e.call(this) || this;
|
|
689
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
693
|
+
return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = wn, n;
|
|
690
694
|
}
|
|
691
695
|
return t.create = function(r, n, i) {
|
|
692
|
-
return new
|
|
696
|
+
return new Tt(r, n, i);
|
|
693
697
|
}, t.prototype.next = function(r) {
|
|
694
698
|
this.isStopped || this._next(r);
|
|
695
699
|
}, t.prototype.error = function(r) {
|
|
@@ -713,7 +717,11 @@ var br = function(e) {
|
|
|
713
717
|
this.unsubscribe();
|
|
714
718
|
}
|
|
715
719
|
}, t;
|
|
716
|
-
}(rt),
|
|
720
|
+
}(rt), xn = Function.prototype.bind;
|
|
721
|
+
function ct(e, t) {
|
|
722
|
+
return xn.call(e, t);
|
|
723
|
+
}
|
|
724
|
+
var Sn = function() {
|
|
717
725
|
function e(t) {
|
|
718
726
|
this.partialObserver = t;
|
|
719
727
|
}
|
|
@@ -744,43 +752,55 @@ var br = function(e) {
|
|
|
744
752
|
Je(r);
|
|
745
753
|
}
|
|
746
754
|
}, e;
|
|
747
|
-
}(),
|
|
755
|
+
}(), Tt = function(e) {
|
|
748
756
|
te(t, e);
|
|
749
757
|
function t(r, n, i) {
|
|
750
758
|
var o = e.call(this) || this, s;
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
759
|
+
if (ee(r) || !r)
|
|
760
|
+
s = {
|
|
761
|
+
next: r ?? void 0,
|
|
762
|
+
error: n ?? void 0,
|
|
763
|
+
complete: i ?? void 0
|
|
764
|
+
};
|
|
765
|
+
else {
|
|
766
|
+
var a;
|
|
767
|
+
o && vr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
768
|
+
return o.unsubscribe();
|
|
769
|
+
}, s = {
|
|
770
|
+
next: r.next && ct(r.next, a),
|
|
771
|
+
error: r.error && ct(r.error, a),
|
|
772
|
+
complete: r.complete && ct(r.complete, a)
|
|
773
|
+
}) : s = r;
|
|
774
|
+
}
|
|
775
|
+
return o.destination = new Sn(s), o;
|
|
756
776
|
}
|
|
757
777
|
return t;
|
|
758
|
-
}(
|
|
778
|
+
}(_r);
|
|
759
779
|
function Je(e) {
|
|
760
|
-
|
|
780
|
+
En(e);
|
|
761
781
|
}
|
|
762
|
-
function
|
|
782
|
+
function Tn(e) {
|
|
763
783
|
throw e;
|
|
764
784
|
}
|
|
765
|
-
var
|
|
785
|
+
var wn = {
|
|
766
786
|
closed: !0,
|
|
767
|
-
next:
|
|
768
|
-
error:
|
|
769
|
-
complete:
|
|
770
|
-
},
|
|
787
|
+
next: Ft,
|
|
788
|
+
error: Tn,
|
|
789
|
+
complete: Ft
|
|
790
|
+
}, Hn = function() {
|
|
771
791
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
772
792
|
}();
|
|
773
|
-
function
|
|
793
|
+
function An(e) {
|
|
774
794
|
return e;
|
|
775
795
|
}
|
|
776
|
-
function
|
|
777
|
-
return e.length === 0 ?
|
|
796
|
+
function Bn(e) {
|
|
797
|
+
return e.length === 0 ? An : e.length === 1 ? e[0] : function(r) {
|
|
778
798
|
return e.reduce(function(n, i) {
|
|
779
799
|
return i(n);
|
|
780
800
|
}, r);
|
|
781
801
|
};
|
|
782
802
|
}
|
|
783
|
-
var
|
|
803
|
+
var Vt = function() {
|
|
784
804
|
function e(t) {
|
|
785
805
|
t && (this._subscribe = t);
|
|
786
806
|
}
|
|
@@ -788,7 +808,7 @@ var jt = function() {
|
|
|
788
808
|
var r = new e();
|
|
789
809
|
return r.source = this, r.operator = t, r;
|
|
790
810
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
791
|
-
var i = this, o =
|
|
811
|
+
var i = this, o = Ln(t) ? t : new Tt(t, r, n);
|
|
792
812
|
return Ye(function() {
|
|
793
813
|
var s = i, a = s.operator, l = s.source;
|
|
794
814
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -801,8 +821,8 @@ var jt = function() {
|
|
|
801
821
|
}
|
|
802
822
|
}, e.prototype.forEach = function(t, r) {
|
|
803
823
|
var n = this;
|
|
804
|
-
return r =
|
|
805
|
-
var s = new
|
|
824
|
+
return r = Wt(r), new r(function(i, o) {
|
|
825
|
+
var s = new Tt({
|
|
806
826
|
next: function(a) {
|
|
807
827
|
try {
|
|
808
828
|
t(a);
|
|
@@ -818,15 +838,15 @@ var jt = function() {
|
|
|
818
838
|
}, e.prototype._subscribe = function(t) {
|
|
819
839
|
var r;
|
|
820
840
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
821
|
-
}, e.prototype[
|
|
841
|
+
}, e.prototype[Hn] = function() {
|
|
822
842
|
return this;
|
|
823
843
|
}, e.prototype.pipe = function() {
|
|
824
844
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
825
845
|
t[r] = arguments[r];
|
|
826
|
-
return
|
|
846
|
+
return Bn(t)(this);
|
|
827
847
|
}, e.prototype.toPromise = function(t) {
|
|
828
848
|
var r = this;
|
|
829
|
-
return t =
|
|
849
|
+
return t = Wt(t), new t(function(n, i) {
|
|
830
850
|
var o;
|
|
831
851
|
r.subscribe(function(s) {
|
|
832
852
|
return o = s;
|
|
@@ -840,32 +860,32 @@ var jt = function() {
|
|
|
840
860
|
return new e(t);
|
|
841
861
|
}, e;
|
|
842
862
|
}();
|
|
843
|
-
function
|
|
863
|
+
function Wt(e) {
|
|
844
864
|
var t;
|
|
845
|
-
return (t = e ??
|
|
865
|
+
return (t = e ?? vr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
846
866
|
}
|
|
847
|
-
function
|
|
867
|
+
function Pn(e) {
|
|
848
868
|
return e && ee(e.next) && ee(e.error) && ee(e.complete);
|
|
849
869
|
}
|
|
850
|
-
function
|
|
851
|
-
return e && e instanceof
|
|
870
|
+
function Ln(e) {
|
|
871
|
+
return e && e instanceof _r || Pn(e) && yr(e);
|
|
852
872
|
}
|
|
853
|
-
var
|
|
873
|
+
var Cn = br(function(e) {
|
|
854
874
|
return function() {
|
|
855
875
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
856
876
|
};
|
|
857
|
-
}),
|
|
877
|
+
}), Er = function(e) {
|
|
858
878
|
te(t, e);
|
|
859
879
|
function t() {
|
|
860
880
|
var r = e.call(this) || this;
|
|
861
881
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
862
882
|
}
|
|
863
883
|
return t.prototype.lift = function(r) {
|
|
864
|
-
var n = new
|
|
884
|
+
var n = new Xt(this, this);
|
|
865
885
|
return n.operator = r, n;
|
|
866
886
|
}, t.prototype._throwIfClosed = function() {
|
|
867
887
|
if (this.closed)
|
|
868
|
-
throw new
|
|
888
|
+
throw new Cn();
|
|
869
889
|
}, t.prototype.next = function(r) {
|
|
870
890
|
var n = this;
|
|
871
891
|
Ye(function() {
|
|
@@ -873,7 +893,7 @@ var An = pr(function(e) {
|
|
|
873
893
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
874
894
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
875
895
|
try {
|
|
876
|
-
for (var s =
|
|
896
|
+
for (var s = Et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
877
897
|
var l = a.value;
|
|
878
898
|
l.next(r);
|
|
879
899
|
}
|
|
@@ -922,19 +942,19 @@ var An = pr(function(e) {
|
|
|
922
942
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
923
943
|
}, t.prototype._innerSubscribe = function(r) {
|
|
924
944
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
925
|
-
return o || s ?
|
|
926
|
-
n.currentObservers = null,
|
|
945
|
+
return o || s ? gr : (this.currentObservers = null, a.push(r), new rt(function() {
|
|
946
|
+
n.currentObservers = null, St(a, r);
|
|
927
947
|
}));
|
|
928
948
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
929
949
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
930
950
|
i ? r.error(o) : s && r.complete();
|
|
931
951
|
}, t.prototype.asObservable = function() {
|
|
932
|
-
var r = new
|
|
952
|
+
var r = new Vt();
|
|
933
953
|
return r.source = this, r;
|
|
934
954
|
}, t.create = function(r, n) {
|
|
935
|
-
return new
|
|
955
|
+
return new Xt(r, n);
|
|
936
956
|
}, t;
|
|
937
|
-
}(
|
|
957
|
+
}(Vt), Xt = function(e) {
|
|
938
958
|
te(t, e);
|
|
939
959
|
function t(r, n) {
|
|
940
960
|
var i = e.call(this) || this;
|
|
@@ -951,17 +971,17 @@ var An = pr(function(e) {
|
|
|
951
971
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
952
972
|
}, t.prototype._subscribe = function(r) {
|
|
953
973
|
var n, i;
|
|
954
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
974
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
|
|
955
975
|
}, t;
|
|
956
|
-
}(
|
|
976
|
+
}(Er), xr = {
|
|
957
977
|
now: function() {
|
|
958
|
-
return (
|
|
978
|
+
return (xr.delegate || Date).now();
|
|
959
979
|
},
|
|
960
980
|
delegate: void 0
|
|
961
|
-
},
|
|
981
|
+
}, In = function(e) {
|
|
962
982
|
te(t, e);
|
|
963
983
|
function t(r, n, i) {
|
|
964
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
984
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
|
|
965
985
|
var o = e.call(this) || this;
|
|
966
986
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
967
987
|
}
|
|
@@ -981,15 +1001,15 @@ var An = pr(function(e) {
|
|
|
981
1001
|
u && o.splice(0, u + 1);
|
|
982
1002
|
}
|
|
983
1003
|
}, t;
|
|
984
|
-
}(
|
|
985
|
-
const
|
|
986
|
-
if (
|
|
987
|
-
const r = new
|
|
988
|
-
|
|
1004
|
+
}(Er);
|
|
1005
|
+
const zt = [], Jt = {}, On = (e, t = 0) => {
|
|
1006
|
+
if (zt.indexOf(e) == -1) {
|
|
1007
|
+
const r = new In(t);
|
|
1008
|
+
Jt[e] = r, zt.push(e);
|
|
989
1009
|
}
|
|
990
|
-
return
|
|
1010
|
+
return Jt[e];
|
|
991
1011
|
}, Ee = [];
|
|
992
|
-
function
|
|
1012
|
+
function Nn(e, t) {
|
|
993
1013
|
return {
|
|
994
1014
|
subscribe: nt(e, t).subscribe
|
|
995
1015
|
};
|
|
@@ -998,7 +1018,7 @@ function nt(e, t = G) {
|
|
|
998
1018
|
let r;
|
|
999
1019
|
const n = /* @__PURE__ */ new Set();
|
|
1000
1020
|
function i(a) {
|
|
1001
|
-
if (
|
|
1021
|
+
if (pr(e, a) && (e = a, r)) {
|
|
1002
1022
|
const l = !Ee.length;
|
|
1003
1023
|
for (const u of n)
|
|
1004
1024
|
u[1](), Ee.push(u, e);
|
|
@@ -1025,7 +1045,7 @@ function Pe(e, t, r) {
|
|
|
1025
1045
|
if (!i.every(Boolean))
|
|
1026
1046
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1027
1047
|
const o = t.length < 2;
|
|
1028
|
-
return
|
|
1048
|
+
return Nn(r, (s, a) => {
|
|
1029
1049
|
let l = !1;
|
|
1030
1050
|
const u = [];
|
|
1031
1051
|
let h = 0, c = G;
|
|
@@ -1034,9 +1054,9 @@ function Pe(e, t, r) {
|
|
|
1034
1054
|
return;
|
|
1035
1055
|
c();
|
|
1036
1056
|
const v = t(n ? u[0] : u, s, a);
|
|
1037
|
-
o ? s(v) : c =
|
|
1057
|
+
o ? s(v) : c = Ot(v) ? v : G;
|
|
1038
1058
|
}, y = i.map(
|
|
1039
|
-
(v, b) =>
|
|
1059
|
+
(v, b) => Jr(
|
|
1040
1060
|
v,
|
|
1041
1061
|
(_) => {
|
|
1042
1062
|
u[b] = _, h &= ~(1 << b), l && p();
|
|
@@ -1051,70 +1071,70 @@ function Pe(e, t, r) {
|
|
|
1051
1071
|
};
|
|
1052
1072
|
});
|
|
1053
1073
|
}
|
|
1054
|
-
function
|
|
1074
|
+
function Mn(e) {
|
|
1055
1075
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1056
1076
|
}
|
|
1057
|
-
var
|
|
1058
|
-
return
|
|
1077
|
+
var Rn = function(t) {
|
|
1078
|
+
return Un(t) && !Dn(t);
|
|
1059
1079
|
};
|
|
1060
|
-
function
|
|
1080
|
+
function Un(e) {
|
|
1061
1081
|
return !!e && typeof e == "object";
|
|
1062
1082
|
}
|
|
1063
|
-
function
|
|
1083
|
+
function Dn(e) {
|
|
1064
1084
|
var t = Object.prototype.toString.call(e);
|
|
1065
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1085
|
+
return t === "[object RegExp]" || t === "[object Date]" || jn(e);
|
|
1066
1086
|
}
|
|
1067
|
-
var
|
|
1068
|
-
function
|
|
1069
|
-
return e.$$typeof ===
|
|
1087
|
+
var Gn = typeof Symbol == "function" && Symbol.for, kn = Gn ? Symbol.for("react.element") : 60103;
|
|
1088
|
+
function jn(e) {
|
|
1089
|
+
return e.$$typeof === kn;
|
|
1070
1090
|
}
|
|
1071
|
-
function
|
|
1091
|
+
function $n(e) {
|
|
1072
1092
|
return Array.isArray(e) ? [] : {};
|
|
1073
1093
|
}
|
|
1074
1094
|
function Ge(e, t) {
|
|
1075
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? we(
|
|
1095
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? we($n(e), e, t) : e;
|
|
1076
1096
|
}
|
|
1077
|
-
function
|
|
1097
|
+
function Fn(e, t, r) {
|
|
1078
1098
|
return e.concat(t).map(function(n) {
|
|
1079
1099
|
return Ge(n, r);
|
|
1080
1100
|
});
|
|
1081
1101
|
}
|
|
1082
|
-
function
|
|
1102
|
+
function Vn(e, t) {
|
|
1083
1103
|
if (!t.customMerge)
|
|
1084
1104
|
return we;
|
|
1085
1105
|
var r = t.customMerge(e);
|
|
1086
1106
|
return typeof r == "function" ? r : we;
|
|
1087
1107
|
}
|
|
1088
|
-
function
|
|
1108
|
+
function Wn(e) {
|
|
1089
1109
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1090
1110
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1091
1111
|
}) : [];
|
|
1092
1112
|
}
|
|
1093
|
-
function
|
|
1094
|
-
return Object.keys(e).concat(
|
|
1113
|
+
function Zt(e) {
|
|
1114
|
+
return Object.keys(e).concat(Wn(e));
|
|
1095
1115
|
}
|
|
1096
|
-
function
|
|
1116
|
+
function Sr(e, t) {
|
|
1097
1117
|
try {
|
|
1098
1118
|
return t in e;
|
|
1099
1119
|
} catch {
|
|
1100
1120
|
return !1;
|
|
1101
1121
|
}
|
|
1102
1122
|
}
|
|
1103
|
-
function
|
|
1104
|
-
return
|
|
1123
|
+
function Xn(e, t) {
|
|
1124
|
+
return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1105
1125
|
}
|
|
1106
|
-
function
|
|
1126
|
+
function zn(e, t, r) {
|
|
1107
1127
|
var n = {};
|
|
1108
|
-
return r.isMergeableObject(e) &&
|
|
1128
|
+
return r.isMergeableObject(e) && Zt(e).forEach(function(i) {
|
|
1109
1129
|
n[i] = Ge(e[i], r);
|
|
1110
|
-
}),
|
|
1111
|
-
|
|
1130
|
+
}), Zt(t).forEach(function(i) {
|
|
1131
|
+
Xn(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vn(i, r)(e[i], t[i], r) : n[i] = Ge(t[i], r));
|
|
1112
1132
|
}), n;
|
|
1113
1133
|
}
|
|
1114
1134
|
function we(e, t, r) {
|
|
1115
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1135
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = Ge;
|
|
1116
1136
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1117
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1137
|
+
return o ? n ? r.arrayMerge(e, t, r) : zn(e, t, r) : Ge(t, r);
|
|
1118
1138
|
}
|
|
1119
1139
|
we.all = function(t, r) {
|
|
1120
1140
|
if (!Array.isArray(t))
|
|
@@ -1123,56 +1143,58 @@ we.all = function(t, r) {
|
|
|
1123
1143
|
return we(n, i, r);
|
|
1124
1144
|
}, {});
|
|
1125
1145
|
};
|
|
1126
|
-
var
|
|
1127
|
-
const
|
|
1128
|
-
function
|
|
1129
|
-
var r = t && t.cache ? t.cache :
|
|
1146
|
+
var Jn = we, Zn = Jn;
|
|
1147
|
+
const Qn = /* @__PURE__ */ Mn(Zn);
|
|
1148
|
+
function ft(e, t) {
|
|
1149
|
+
var r = t && t.cache ? t.cache : ri, n = t && t.serializer ? t.serializer : ti, i = t && t.strategy ? t.strategy : qn;
|
|
1130
1150
|
return i(e, {
|
|
1131
1151
|
cache: r,
|
|
1132
1152
|
serializer: n
|
|
1133
1153
|
});
|
|
1134
1154
|
}
|
|
1135
|
-
function
|
|
1155
|
+
function Yn(e) {
|
|
1136
1156
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1137
1157
|
}
|
|
1138
|
-
function
|
|
1139
|
-
var i =
|
|
1158
|
+
function Tr(e, t, r, n) {
|
|
1159
|
+
var i = Yn(n) ? n : r(n), o = t.get(i);
|
|
1140
1160
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1141
1161
|
}
|
|
1142
|
-
function
|
|
1162
|
+
function wr(e, t, r) {
|
|
1143
1163
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1144
1164
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1145
1165
|
}
|
|
1146
|
-
function
|
|
1166
|
+
function Nt(e, t, r, n, i) {
|
|
1147
1167
|
return r.bind(t, e, n, i);
|
|
1148
1168
|
}
|
|
1149
|
-
function
|
|
1150
|
-
var r = e.length === 1 ?
|
|
1151
|
-
return
|
|
1169
|
+
function qn(e, t) {
|
|
1170
|
+
var r = e.length === 1 ? Tr : wr;
|
|
1171
|
+
return Nt(e, this, r, t.cache.create(), t.serializer);
|
|
1152
1172
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return
|
|
1173
|
+
function Kn(e, t) {
|
|
1174
|
+
return Nt(e, this, wr, t.cache.create(), t.serializer);
|
|
1155
1175
|
}
|
|
1156
|
-
|
|
1176
|
+
function ei(e, t) {
|
|
1177
|
+
return Nt(e, this, Tr, t.cache.create(), t.serializer);
|
|
1178
|
+
}
|
|
1179
|
+
var ti = function() {
|
|
1157
1180
|
return JSON.stringify(arguments);
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
}()
|
|
1170
|
-
), Kn = {
|
|
1181
|
+
};
|
|
1182
|
+
function Mt() {
|
|
1183
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1184
|
+
}
|
|
1185
|
+
Mt.prototype.get = function(e) {
|
|
1186
|
+
return this.cache[e];
|
|
1187
|
+
};
|
|
1188
|
+
Mt.prototype.set = function(e, t) {
|
|
1189
|
+
this.cache[e] = t;
|
|
1190
|
+
};
|
|
1191
|
+
var ri = {
|
|
1171
1192
|
create: function() {
|
|
1172
|
-
return new
|
|
1193
|
+
return new Mt();
|
|
1173
1194
|
}
|
|
1174
|
-
},
|
|
1175
|
-
variadic:
|
|
1195
|
+
}, pt = {
|
|
1196
|
+
variadic: Kn,
|
|
1197
|
+
monadic: ei
|
|
1176
1198
|
}, E;
|
|
1177
1199
|
(function(e) {
|
|
1178
1200
|
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";
|
|
@@ -1185,43 +1207,43 @@ var He;
|
|
|
1185
1207
|
(function(e) {
|
|
1186
1208
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1187
1209
|
})(He || (He = {}));
|
|
1188
|
-
function
|
|
1210
|
+
function Qt(e) {
|
|
1189
1211
|
return e.type === P.literal;
|
|
1190
1212
|
}
|
|
1191
|
-
function
|
|
1213
|
+
function ni(e) {
|
|
1192
1214
|
return e.type === P.argument;
|
|
1193
1215
|
}
|
|
1194
|
-
function
|
|
1216
|
+
function Hr(e) {
|
|
1195
1217
|
return e.type === P.number;
|
|
1196
1218
|
}
|
|
1197
|
-
function
|
|
1219
|
+
function Ar(e) {
|
|
1198
1220
|
return e.type === P.date;
|
|
1199
1221
|
}
|
|
1200
|
-
function
|
|
1222
|
+
function Br(e) {
|
|
1201
1223
|
return e.type === P.time;
|
|
1202
1224
|
}
|
|
1203
|
-
function
|
|
1225
|
+
function Pr(e) {
|
|
1204
1226
|
return e.type === P.select;
|
|
1205
1227
|
}
|
|
1206
|
-
function
|
|
1228
|
+
function Lr(e) {
|
|
1207
1229
|
return e.type === P.plural;
|
|
1208
1230
|
}
|
|
1209
|
-
function
|
|
1231
|
+
function ii(e) {
|
|
1210
1232
|
return e.type === P.pound;
|
|
1211
1233
|
}
|
|
1212
|
-
function
|
|
1234
|
+
function Cr(e) {
|
|
1213
1235
|
return e.type === P.tag;
|
|
1214
1236
|
}
|
|
1215
|
-
function
|
|
1237
|
+
function Ir(e) {
|
|
1216
1238
|
return !!(e && typeof e == "object" && e.type === He.number);
|
|
1217
1239
|
}
|
|
1218
|
-
function
|
|
1240
|
+
function wt(e) {
|
|
1219
1241
|
return !!(e && typeof e == "object" && e.type === He.dateTime);
|
|
1220
1242
|
}
|
|
1221
|
-
var
|
|
1222
|
-
function
|
|
1243
|
+
var Or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oi = /(?:[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;
|
|
1244
|
+
function si(e) {
|
|
1223
1245
|
var t = {};
|
|
1224
|
-
return e.replace(
|
|
1246
|
+
return e.replace(oi, function(r) {
|
|
1225
1247
|
var n = r.length;
|
|
1226
1248
|
switch (r[0]) {
|
|
1227
1249
|
case "G":
|
|
@@ -1310,11 +1332,11 @@ function ni(e) {
|
|
|
1310
1332
|
return "";
|
|
1311
1333
|
}), t;
|
|
1312
1334
|
}
|
|
1313
|
-
var
|
|
1314
|
-
function
|
|
1335
|
+
var ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1336
|
+
function ui(e) {
|
|
1315
1337
|
if (e.length === 0)
|
|
1316
1338
|
throw new Error("Number skeleton cannot be empty");
|
|
1317
|
-
for (var t = e.split(
|
|
1339
|
+
for (var t = e.split(ai).filter(function(p) {
|
|
1318
1340
|
return p.length > 0;
|
|
1319
1341
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1320
1342
|
var o = i[n], s = o.split("/");
|
|
@@ -1329,17 +1351,17 @@ function oi(e) {
|
|
|
1329
1351
|
}
|
|
1330
1352
|
return r;
|
|
1331
1353
|
}
|
|
1332
|
-
function
|
|
1354
|
+
function li(e) {
|
|
1333
1355
|
return e.replace(/^(.*?)-/, "");
|
|
1334
1356
|
}
|
|
1335
|
-
var
|
|
1336
|
-
function
|
|
1357
|
+
var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nr = /^(@+)?(\+|#+)?[rs]?$/g, hi = /(\*)(0+)|(#+)(0+)|(0+)/g, Mr = /^(0+)$/;
|
|
1358
|
+
function qt(e) {
|
|
1337
1359
|
var t = {};
|
|
1338
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1360
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nr, function(r, n, i) {
|
|
1339
1361
|
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)), "";
|
|
1340
1362
|
}), t;
|
|
1341
1363
|
}
|
|
1342
|
-
function
|
|
1364
|
+
function Rr(e) {
|
|
1343
1365
|
switch (e) {
|
|
1344
1366
|
case "sign-auto":
|
|
1345
1367
|
return {
|
|
@@ -1379,7 +1401,7 @@ function Cr(e) {
|
|
|
1379
1401
|
};
|
|
1380
1402
|
}
|
|
1381
1403
|
}
|
|
1382
|
-
function
|
|
1404
|
+
function ci(e) {
|
|
1383
1405
|
var t;
|
|
1384
1406
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1385
1407
|
notation: "engineering"
|
|
@@ -1387,17 +1409,17 @@ function ui(e) {
|
|
|
1387
1409
|
notation: "scientific"
|
|
1388
1410
|
}, e = e.slice(1)), t) {
|
|
1389
1411
|
var r = e.slice(0, 2);
|
|
1390
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1412
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mr.test(e))
|
|
1391
1413
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1392
1414
|
t.minimumIntegerDigits = e.length;
|
|
1393
1415
|
}
|
|
1394
1416
|
return t;
|
|
1395
1417
|
}
|
|
1396
|
-
function
|
|
1397
|
-
var t = {}, r =
|
|
1418
|
+
function Kt(e) {
|
|
1419
|
+
var t = {}, r = Rr(e);
|
|
1398
1420
|
return r || t;
|
|
1399
1421
|
}
|
|
1400
|
-
function
|
|
1422
|
+
function fi(e) {
|
|
1401
1423
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1402
1424
|
var i = n[r];
|
|
1403
1425
|
switch (i.stem) {
|
|
@@ -1421,7 +1443,7 @@ function li(e) {
|
|
|
1421
1443
|
continue;
|
|
1422
1444
|
case "measure-unit":
|
|
1423
1445
|
case "unit":
|
|
1424
|
-
t.style = "unit", t.unit =
|
|
1446
|
+
t.style = "unit", t.unit = li(i.options[0]);
|
|
1425
1447
|
continue;
|
|
1426
1448
|
case "compact-short":
|
|
1427
1449
|
case "K":
|
|
@@ -1433,12 +1455,12 @@ function li(e) {
|
|
|
1433
1455
|
continue;
|
|
1434
1456
|
case "scientific":
|
|
1435
1457
|
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1436
|
-
return T(T({}, l),
|
|
1458
|
+
return T(T({}, l), Kt(u));
|
|
1437
1459
|
}, {}));
|
|
1438
1460
|
continue;
|
|
1439
1461
|
case "engineering":
|
|
1440
1462
|
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1441
|
-
return T(T({}, l),
|
|
1463
|
+
return T(T({}, l), Kt(u));
|
|
1442
1464
|
}, {}));
|
|
1443
1465
|
continue;
|
|
1444
1466
|
case "notation-simple":
|
|
@@ -1483,7 +1505,7 @@ function li(e) {
|
|
|
1483
1505
|
case "integer-width":
|
|
1484
1506
|
if (i.options.length > 1)
|
|
1485
1507
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1486
|
-
i.options[0].replace(
|
|
1508
|
+
i.options[0].replace(hi, function(l, u, h, c, p, y) {
|
|
1487
1509
|
if (u)
|
|
1488
1510
|
t.minimumIntegerDigits = h.length;
|
|
1489
1511
|
else {
|
|
@@ -1496,27 +1518,27 @@ function li(e) {
|
|
|
1496
1518
|
});
|
|
1497
1519
|
continue;
|
|
1498
1520
|
}
|
|
1499
|
-
if (
|
|
1521
|
+
if (Mr.test(i.stem)) {
|
|
1500
1522
|
t.minimumIntegerDigits = i.stem.length;
|
|
1501
1523
|
continue;
|
|
1502
1524
|
}
|
|
1503
|
-
if (
|
|
1525
|
+
if (Yt.test(i.stem)) {
|
|
1504
1526
|
if (i.options.length > 1)
|
|
1505
1527
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1506
|
-
i.stem.replace(
|
|
1528
|
+
i.stem.replace(Yt, function(l, u, h, c, p, y) {
|
|
1507
1529
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1508
1530
|
});
|
|
1509
1531
|
var o = i.options[0];
|
|
1510
|
-
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t),
|
|
1532
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), qt(o)));
|
|
1511
1533
|
continue;
|
|
1512
1534
|
}
|
|
1513
|
-
if (
|
|
1514
|
-
t = T(T({}, t),
|
|
1535
|
+
if (Nr.test(i.stem)) {
|
|
1536
|
+
t = T(T({}, t), qt(i.stem));
|
|
1515
1537
|
continue;
|
|
1516
1538
|
}
|
|
1517
|
-
var s =
|
|
1539
|
+
var s = Rr(i.stem);
|
|
1518
1540
|
s && (t = T(T({}, t), s));
|
|
1519
|
-
var a =
|
|
1541
|
+
var a = ci(i.stem);
|
|
1520
1542
|
a && (t = T(T({}, t), a));
|
|
1521
1543
|
}
|
|
1522
1544
|
return t;
|
|
@@ -2936,13 +2958,13 @@ var Ze = {
|
|
|
2936
2958
|
"h"
|
|
2937
2959
|
]
|
|
2938
2960
|
};
|
|
2939
|
-
function
|
|
2961
|
+
function pi(e, t) {
|
|
2940
2962
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2941
2963
|
var i = e.charAt(n);
|
|
2942
2964
|
if (i === "j") {
|
|
2943
2965
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2944
2966
|
o++, n++;
|
|
2945
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2967
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = di(t);
|
|
2946
2968
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2947
2969
|
r += l;
|
|
2948
2970
|
for (; s-- > 0; )
|
|
@@ -2952,7 +2974,7 @@ function hi(e, t) {
|
|
|
2952
2974
|
}
|
|
2953
2975
|
return r;
|
|
2954
2976
|
}
|
|
2955
|
-
function
|
|
2977
|
+
function di(e) {
|
|
2956
2978
|
var t = e.hourCycle;
|
|
2957
2979
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2958
2980
|
e.hourCycles && // @ts-ignore
|
|
@@ -2974,20 +2996,20 @@ function ci(e) {
|
|
|
2974
2996
|
var i = Ze[n || ""] || Ze[r || ""] || Ze["".concat(r, "-001")] || Ze["001"];
|
|
2975
2997
|
return i[0];
|
|
2976
2998
|
}
|
|
2977
|
-
var
|
|
2999
|
+
var dt, mi = new RegExp("^".concat(Or.source, "*")), bi = new RegExp("".concat(Or.source, "*$"));
|
|
2978
3000
|
function x(e, t) {
|
|
2979
3001
|
return { start: e, end: t };
|
|
2980
3002
|
}
|
|
2981
|
-
var
|
|
3003
|
+
var gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, vi = !!Object.fromEntries, _i = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ti = Si ? Number.isSafeInteger : function(e) {
|
|
2982
3004
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2983
|
-
},
|
|
3005
|
+
}, Ht = !0;
|
|
2984
3006
|
try {
|
|
2985
|
-
var
|
|
2986
|
-
|
|
3007
|
+
var wi = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3008
|
+
Ht = ((dt = wi.exec("a")) === null || dt === void 0 ? void 0 : dt[0]) === "a";
|
|
2987
3009
|
} catch {
|
|
2988
|
-
|
|
3010
|
+
Ht = !1;
|
|
2989
3011
|
}
|
|
2990
|
-
var
|
|
3012
|
+
var er = gi ? (
|
|
2991
3013
|
// Native
|
|
2992
3014
|
function(t, r, n) {
|
|
2993
3015
|
return t.startsWith(r, n);
|
|
@@ -2997,7 +3019,7 @@ var Yt = di ? (
|
|
|
2997
3019
|
function(t, r, n) {
|
|
2998
3020
|
return t.slice(n, n + r.length) === r;
|
|
2999
3021
|
}
|
|
3000
|
-
),
|
|
3022
|
+
), At = yi ? String.fromCodePoint : (
|
|
3001
3023
|
// IE11
|
|
3002
3024
|
function() {
|
|
3003
3025
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3009,9 +3031,9 @@ var Yt = di ? (
|
|
|
3009
3031
|
}
|
|
3010
3032
|
return n;
|
|
3011
3033
|
}
|
|
3012
|
-
),
|
|
3034
|
+
), tr = (
|
|
3013
3035
|
// native
|
|
3014
|
-
|
|
3036
|
+
vi ? Object.fromEntries : (
|
|
3015
3037
|
// Ponyfill
|
|
3016
3038
|
function(t) {
|
|
3017
3039
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3021,7 +3043,7 @@ var Yt = di ? (
|
|
|
3021
3043
|
return r;
|
|
3022
3044
|
}
|
|
3023
3045
|
)
|
|
3024
|
-
),
|
|
3046
|
+
), Ur = _i ? (
|
|
3025
3047
|
// Native
|
|
3026
3048
|
function(t, r) {
|
|
3027
3049
|
return t.codePointAt(r);
|
|
@@ -3035,7 +3057,7 @@ var Yt = di ? (
|
|
|
3035
3057
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3036
3058
|
}
|
|
3037
3059
|
}
|
|
3038
|
-
),
|
|
3060
|
+
), Hi = Ei ? (
|
|
3039
3061
|
// Native
|
|
3040
3062
|
function(t) {
|
|
3041
3063
|
return t.trimStart();
|
|
@@ -3043,9 +3065,9 @@ var Yt = di ? (
|
|
|
3043
3065
|
) : (
|
|
3044
3066
|
// Ponyfill
|
|
3045
3067
|
function(t) {
|
|
3046
|
-
return t.replace(
|
|
3068
|
+
return t.replace(mi, "");
|
|
3047
3069
|
}
|
|
3048
|
-
),
|
|
3070
|
+
), Ai = xi ? (
|
|
3049
3071
|
// Native
|
|
3050
3072
|
function(t) {
|
|
3051
3073
|
return t.trimEnd();
|
|
@@ -3053,32 +3075,32 @@ var Yt = di ? (
|
|
|
3053
3075
|
) : (
|
|
3054
3076
|
// Ponyfill
|
|
3055
3077
|
function(t) {
|
|
3056
|
-
return t.replace(
|
|
3078
|
+
return t.replace(bi, "");
|
|
3057
3079
|
}
|
|
3058
3080
|
);
|
|
3059
|
-
function
|
|
3081
|
+
function Dr(e, t) {
|
|
3060
3082
|
return new RegExp(e, t);
|
|
3061
3083
|
}
|
|
3062
|
-
var
|
|
3063
|
-
if (
|
|
3064
|
-
var
|
|
3065
|
-
|
|
3084
|
+
var Bt;
|
|
3085
|
+
if (Ht) {
|
|
3086
|
+
var rr = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3087
|
+
Bt = function(t, r) {
|
|
3066
3088
|
var n;
|
|
3067
|
-
|
|
3068
|
-
var i =
|
|
3089
|
+
rr.lastIndex = r;
|
|
3090
|
+
var i = rr.exec(t);
|
|
3069
3091
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3070
3092
|
};
|
|
3071
3093
|
} else
|
|
3072
|
-
|
|
3094
|
+
Bt = function(t, r) {
|
|
3073
3095
|
for (var n = []; ; ) {
|
|
3074
|
-
var i =
|
|
3075
|
-
if (i === void 0 ||
|
|
3096
|
+
var i = Ur(t, r);
|
|
3097
|
+
if (i === void 0 || Gr(i) || Ci(i))
|
|
3076
3098
|
break;
|
|
3077
3099
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3078
3100
|
}
|
|
3079
|
-
return
|
|
3101
|
+
return At.apply(void 0, n);
|
|
3080
3102
|
};
|
|
3081
|
-
var
|
|
3103
|
+
var Bi = (
|
|
3082
3104
|
/** @class */
|
|
3083
3105
|
function() {
|
|
3084
3106
|
function e(t, r) {
|
|
@@ -3109,7 +3131,7 @@ var wi = (
|
|
|
3109
3131
|
if (n)
|
|
3110
3132
|
break;
|
|
3111
3133
|
return this.error(E.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3112
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3134
|
+
} else if (o === 60 && !this.ignoreTag && Pt(this.peek() || 0)) {
|
|
3113
3135
|
var s = this.parseTag(t, r);
|
|
3114
3136
|
if (s.err)
|
|
3115
3137
|
return s;
|
|
@@ -3142,7 +3164,7 @@ var wi = (
|
|
|
3142
3164
|
return o;
|
|
3143
3165
|
var s = o.val, a = this.clonePosition();
|
|
3144
3166
|
if (this.bumpIf("</")) {
|
|
3145
|
-
if (this.isEOF() || !
|
|
3167
|
+
if (this.isEOF() || !Pt(this.char()))
|
|
3146
3168
|
return this.error(E.INVALID_TAG, x(a, this.clonePosition()));
|
|
3147
3169
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3148
3170
|
return i !== u ? this.error(E.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3160,7 +3182,7 @@ var wi = (
|
|
|
3160
3182
|
return this.error(E.INVALID_TAG, x(n, this.clonePosition()));
|
|
3161
3183
|
}, e.prototype.parseTagName = function() {
|
|
3162
3184
|
var t = this.offset();
|
|
3163
|
-
for (this.bump(); !this.isEOF() &&
|
|
3185
|
+
for (this.bump(); !this.isEOF() && Li(this.char()); )
|
|
3164
3186
|
this.bump();
|
|
3165
3187
|
return this.message.slice(t, this.offset());
|
|
3166
3188
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3189,7 +3211,7 @@ var wi = (
|
|
|
3189
3211
|
};
|
|
3190
3212
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3191
3213
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3192
|
-
!
|
|
3214
|
+
!Pi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3193
3215
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3194
3216
|
if (this.isEOF() || this.char() !== 39)
|
|
3195
3217
|
return null;
|
|
@@ -3223,12 +3245,12 @@ var wi = (
|
|
|
3223
3245
|
r.push(n);
|
|
3224
3246
|
this.bump();
|
|
3225
3247
|
}
|
|
3226
|
-
return
|
|
3248
|
+
return At.apply(void 0, r);
|
|
3227
3249
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3228
3250
|
if (this.isEOF())
|
|
3229
3251
|
return null;
|
|
3230
3252
|
var n = this.char();
|
|
3231
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3253
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), At(n));
|
|
3232
3254
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3233
3255
|
var n = this.clonePosition();
|
|
3234
3256
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3257,7 +3279,7 @@ var wi = (
|
|
|
3257
3279
|
return this.error(E.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3258
3280
|
}
|
|
3259
3281
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3260
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3282
|
+
var t = this.clonePosition(), r = this.offset(), n = Bt(this.message, r), i = r + n.length;
|
|
3261
3283
|
this.bumpTo(i);
|
|
3262
3284
|
var o = this.clonePosition(), s = x(t, o);
|
|
3263
3285
|
return { value: n, location: s };
|
|
@@ -3276,7 +3298,7 @@ var wi = (
|
|
|
3276
3298
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3277
3299
|
if (c.err)
|
|
3278
3300
|
return c;
|
|
3279
|
-
var p =
|
|
3301
|
+
var p = Ai(c.val);
|
|
3280
3302
|
if (p.length === 0)
|
|
3281
3303
|
return this.error(E.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3282
3304
|
var y = x(h, this.clonePosition());
|
|
@@ -3286,8 +3308,8 @@ var wi = (
|
|
|
3286
3308
|
if (v.err)
|
|
3287
3309
|
return v;
|
|
3288
3310
|
var b = x(i, this.clonePosition());
|
|
3289
|
-
if (u &&
|
|
3290
|
-
var _ =
|
|
3311
|
+
if (u && er(u?.style, "::", 0)) {
|
|
3312
|
+
var _ = Hi(u.style.slice(2));
|
|
3291
3313
|
if (a === "number") {
|
|
3292
3314
|
var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
3293
3315
|
return c.err ? c : {
|
|
@@ -3298,12 +3320,12 @@ var wi = (
|
|
|
3298
3320
|
if (_.length === 0)
|
|
3299
3321
|
return this.error(E.EXPECT_DATE_TIME_SKELETON, b);
|
|
3300
3322
|
var S = _;
|
|
3301
|
-
this.locale && (S =
|
|
3323
|
+
this.locale && (S = pi(_, this.locale));
|
|
3302
3324
|
var p = {
|
|
3303
3325
|
type: He.dateTime,
|
|
3304
3326
|
pattern: S,
|
|
3305
3327
|
location: u.styleLocation,
|
|
3306
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3328
|
+
parsedOptions: this.shouldParseSkeletons ? si(S) : {}
|
|
3307
3329
|
}, w = a === "date" ? P.date : P.time;
|
|
3308
3330
|
return {
|
|
3309
3331
|
val: { type: w, value: n, location: b, style: p },
|
|
@@ -3328,7 +3350,7 @@ var wi = (
|
|
|
3328
3350
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3329
3351
|
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, x(B, T({}, B)));
|
|
3330
3352
|
this.bumpSpace();
|
|
3331
|
-
var R = this.parseIdentifierIfPossible(),
|
|
3353
|
+
var R = this.parseIdentifierIfPossible(), I = 0;
|
|
3332
3354
|
if (a !== "select" && R.value === "offset") {
|
|
3333
3355
|
if (!this.bumpIf(":"))
|
|
3334
3356
|
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3336,7 +3358,7 @@ var wi = (
|
|
|
3336
3358
|
var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3337
3359
|
if (c.err)
|
|
3338
3360
|
return c;
|
|
3339
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
|
3361
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), I = c.val;
|
|
3340
3362
|
}
|
|
3341
3363
|
var j = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3342
3364
|
if (j.err)
|
|
@@ -3349,7 +3371,7 @@ var wi = (
|
|
|
3349
3371
|
val: {
|
|
3350
3372
|
type: P.select,
|
|
3351
3373
|
value: n,
|
|
3352
|
-
options:
|
|
3374
|
+
options: tr(j.val),
|
|
3353
3375
|
location: W
|
|
3354
3376
|
},
|
|
3355
3377
|
err: null
|
|
@@ -3357,8 +3379,8 @@ var wi = (
|
|
|
3357
3379
|
val: {
|
|
3358
3380
|
type: P.plural,
|
|
3359
3381
|
value: n,
|
|
3360
|
-
options:
|
|
3361
|
-
offset:
|
|
3382
|
+
options: tr(j.val),
|
|
3383
|
+
offset: I,
|
|
3362
3384
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3363
3385
|
location: W
|
|
3364
3386
|
},
|
|
@@ -3408,7 +3430,7 @@ var wi = (
|
|
|
3408
3430
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3409
3431
|
var n = [];
|
|
3410
3432
|
try {
|
|
3411
|
-
n =
|
|
3433
|
+
n = ui(t);
|
|
3412
3434
|
} catch {
|
|
3413
3435
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3414
3436
|
}
|
|
@@ -3417,7 +3439,7 @@ var wi = (
|
|
|
3417
3439
|
type: He.number,
|
|
3418
3440
|
tokens: n,
|
|
3419
3441
|
location: r,
|
|
3420
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3442
|
+
parsedOptions: this.shouldParseSkeletons ? fi(n) : {}
|
|
3421
3443
|
},
|
|
3422
3444
|
err: null
|
|
3423
3445
|
};
|
|
@@ -3465,7 +3487,7 @@ var wi = (
|
|
|
3465
3487
|
break;
|
|
3466
3488
|
}
|
|
3467
3489
|
var l = x(i, this.clonePosition());
|
|
3468
|
-
return o ? (s *= n,
|
|
3490
|
+
return o ? (s *= n, Ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3469
3491
|
}, e.prototype.offset = function() {
|
|
3470
3492
|
return this.position.offset;
|
|
3471
3493
|
}, e.prototype.isEOF = function() {
|
|
@@ -3480,7 +3502,7 @@ var wi = (
|
|
|
3480
3502
|
var t = this.position.offset;
|
|
3481
3503
|
if (t >= this.message.length)
|
|
3482
3504
|
throw Error("out of bound");
|
|
3483
|
-
var r =
|
|
3505
|
+
var r = Ur(this.message, t);
|
|
3484
3506
|
if (r === void 0)
|
|
3485
3507
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3486
3508
|
return r;
|
|
@@ -3499,7 +3521,7 @@ var wi = (
|
|
|
3499
3521
|
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);
|
|
3500
3522
|
}
|
|
3501
3523
|
}, e.prototype.bumpIf = function(t) {
|
|
3502
|
-
if (
|
|
3524
|
+
if (er(this.message, t, this.offset())) {
|
|
3503
3525
|
for (var r = 0; r < t.length; r++)
|
|
3504
3526
|
this.bump();
|
|
3505
3527
|
return !0;
|
|
@@ -3521,7 +3543,7 @@ var wi = (
|
|
|
3521
3543
|
break;
|
|
3522
3544
|
}
|
|
3523
3545
|
}, e.prototype.bumpSpace = function() {
|
|
3524
|
-
for (; !this.isEOF() &&
|
|
3546
|
+
for (; !this.isEOF() && Gr(this.char()); )
|
|
3525
3547
|
this.bump();
|
|
3526
3548
|
}, e.prototype.peek = function() {
|
|
3527
3549
|
if (this.isEOF())
|
|
@@ -3531,38 +3553,38 @@ var wi = (
|
|
|
3531
3553
|
}, e;
|
|
3532
3554
|
}()
|
|
3533
3555
|
);
|
|
3534
|
-
function
|
|
3556
|
+
function Pt(e) {
|
|
3535
3557
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3536
3558
|
}
|
|
3537
|
-
function
|
|
3538
|
-
return
|
|
3559
|
+
function Pi(e) {
|
|
3560
|
+
return Pt(e) || e === 47;
|
|
3539
3561
|
}
|
|
3540
|
-
function
|
|
3562
|
+
function Li(e) {
|
|
3541
3563
|
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;
|
|
3542
3564
|
}
|
|
3543
|
-
function
|
|
3565
|
+
function Gr(e) {
|
|
3544
3566
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3545
3567
|
}
|
|
3546
|
-
function
|
|
3568
|
+
function Ci(e) {
|
|
3547
3569
|
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;
|
|
3548
3570
|
}
|
|
3549
|
-
function
|
|
3571
|
+
function Lt(e) {
|
|
3550
3572
|
e.forEach(function(t) {
|
|
3551
|
-
if (delete t.location,
|
|
3573
|
+
if (delete t.location, Pr(t) || Lr(t))
|
|
3552
3574
|
for (var r in t.options)
|
|
3553
|
-
delete t.options[r].location,
|
|
3575
|
+
delete t.options[r].location, Lt(t.options[r].value);
|
|
3554
3576
|
else
|
|
3555
|
-
|
|
3577
|
+
Hr(t) && Ir(t.style) || (Ar(t) || Br(t)) && wt(t.style) ? delete t.style.location : Cr(t) && Lt(t.children);
|
|
3556
3578
|
});
|
|
3557
3579
|
}
|
|
3558
|
-
function
|
|
3580
|
+
function Ii(e, t) {
|
|
3559
3581
|
t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3560
|
-
var r = new
|
|
3582
|
+
var r = new Bi(e, t).parse();
|
|
3561
3583
|
if (r.err) {
|
|
3562
3584
|
var n = SyntaxError(E[r.err.kind]);
|
|
3563
3585
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3564
3586
|
}
|
|
3565
|
-
return t?.captureLocation ||
|
|
3587
|
+
return t?.captureLocation || Lt(r.val), r.val;
|
|
3566
3588
|
}
|
|
3567
3589
|
var Ae;
|
|
3568
3590
|
(function(e) {
|
|
@@ -3580,7 +3602,7 @@ var it = (
|
|
|
3580
3602
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3581
3603
|
}, t;
|
|
3582
3604
|
}(Error)
|
|
3583
|
-
),
|
|
3605
|
+
), nr = (
|
|
3584
3606
|
/** @class */
|
|
3585
3607
|
function(e) {
|
|
3586
3608
|
te(t, e);
|
|
@@ -3589,7 +3611,7 @@ var it = (
|
|
|
3589
3611
|
}
|
|
3590
3612
|
return t;
|
|
3591
3613
|
}(it)
|
|
3592
|
-
),
|
|
3614
|
+
), Oi = (
|
|
3593
3615
|
/** @class */
|
|
3594
3616
|
function(e) {
|
|
3595
3617
|
te(t, e);
|
|
@@ -3598,7 +3620,7 @@ var it = (
|
|
|
3598
3620
|
}
|
|
3599
3621
|
return t;
|
|
3600
3622
|
}(it)
|
|
3601
|
-
),
|
|
3623
|
+
), Ni = (
|
|
3602
3624
|
/** @class */
|
|
3603
3625
|
function(e) {
|
|
3604
3626
|
te(t, e);
|
|
@@ -3611,17 +3633,17 @@ var it = (
|
|
|
3611
3633
|
(function(e) {
|
|
3612
3634
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3613
3635
|
})(D || (D = {}));
|
|
3614
|
-
function
|
|
3636
|
+
function Mi(e) {
|
|
3615
3637
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3616
3638
|
var n = t[t.length - 1];
|
|
3617
3639
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
3618
3640
|
}, []);
|
|
3619
3641
|
}
|
|
3620
|
-
function
|
|
3642
|
+
function Ri(e) {
|
|
3621
3643
|
return typeof e == "function";
|
|
3622
3644
|
}
|
|
3623
3645
|
function qe(e, t, r, n, i, o, s) {
|
|
3624
|
-
if (e.length === 1 &&
|
|
3646
|
+
if (e.length === 1 && Qt(e[0]))
|
|
3625
3647
|
return [
|
|
3626
3648
|
{
|
|
3627
3649
|
type: D.literal,
|
|
@@ -3630,14 +3652,14 @@ function qe(e, t, r, n, i, o, s) {
|
|
|
3630
3652
|
];
|
|
3631
3653
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3632
3654
|
var h = u[l];
|
|
3633
|
-
if (
|
|
3655
|
+
if (Qt(h)) {
|
|
3634
3656
|
a.push({
|
|
3635
3657
|
type: D.literal,
|
|
3636
3658
|
value: h.value
|
|
3637
3659
|
});
|
|
3638
3660
|
continue;
|
|
3639
3661
|
}
|
|
3640
|
-
if (
|
|
3662
|
+
if (ii(h)) {
|
|
3641
3663
|
typeof o == "number" && a.push({
|
|
3642
3664
|
type: D.literal,
|
|
3643
3665
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3646,61 +3668,61 @@ function qe(e, t, r, n, i, o, s) {
|
|
|
3646
3668
|
}
|
|
3647
3669
|
var c = h.value;
|
|
3648
3670
|
if (!(i && c in i))
|
|
3649
|
-
throw new
|
|
3671
|
+
throw new Ni(c, s);
|
|
3650
3672
|
var p = i[c];
|
|
3651
|
-
if (
|
|
3673
|
+
if (ni(h)) {
|
|
3652
3674
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3653
3675
|
type: typeof p == "string" ? D.literal : D.object,
|
|
3654
3676
|
value: p
|
|
3655
3677
|
});
|
|
3656
3678
|
continue;
|
|
3657
3679
|
}
|
|
3658
|
-
if (
|
|
3659
|
-
var y = typeof h.style == "string" ? n.date[h.style] :
|
|
3680
|
+
if (Ar(h)) {
|
|
3681
|
+
var y = typeof h.style == "string" ? n.date[h.style] : wt(h.style) ? h.style.parsedOptions : void 0;
|
|
3660
3682
|
a.push({
|
|
3661
3683
|
type: D.literal,
|
|
3662
3684
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3663
3685
|
});
|
|
3664
3686
|
continue;
|
|
3665
3687
|
}
|
|
3666
|
-
if (
|
|
3667
|
-
var y = typeof h.style == "string" ? n.time[h.style] :
|
|
3688
|
+
if (Br(h)) {
|
|
3689
|
+
var y = typeof h.style == "string" ? n.time[h.style] : wt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3668
3690
|
a.push({
|
|
3669
3691
|
type: D.literal,
|
|
3670
3692
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3671
3693
|
});
|
|
3672
3694
|
continue;
|
|
3673
3695
|
}
|
|
3674
|
-
if (
|
|
3675
|
-
var y = typeof h.style == "string" ? n.number[h.style] :
|
|
3696
|
+
if (Hr(h)) {
|
|
3697
|
+
var y = typeof h.style == "string" ? n.number[h.style] : Ir(h.style) ? h.style.parsedOptions : void 0;
|
|
3676
3698
|
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3677
3699
|
type: D.literal,
|
|
3678
3700
|
value: r.getNumberFormat(t, y).format(p)
|
|
3679
3701
|
});
|
|
3680
3702
|
continue;
|
|
3681
3703
|
}
|
|
3682
|
-
if (
|
|
3704
|
+
if (Cr(h)) {
|
|
3683
3705
|
var v = h.children, b = h.value, _ = i[b];
|
|
3684
|
-
if (!
|
|
3685
|
-
throw new
|
|
3686
|
-
var S = qe(v, t, r, n, i, o), w = _(S.map(function(
|
|
3687
|
-
return
|
|
3706
|
+
if (!Ri(_))
|
|
3707
|
+
throw new Oi(b, "function", s);
|
|
3708
|
+
var S = qe(v, t, r, n, i, o), w = _(S.map(function(I) {
|
|
3709
|
+
return I.value;
|
|
3688
3710
|
}));
|
|
3689
|
-
Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(
|
|
3711
|
+
Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(I) {
|
|
3690
3712
|
return {
|
|
3691
|
-
type: typeof
|
|
3692
|
-
value:
|
|
3713
|
+
type: typeof I == "string" ? D.literal : D.object,
|
|
3714
|
+
value: I
|
|
3693
3715
|
};
|
|
3694
3716
|
}));
|
|
3695
3717
|
}
|
|
3696
|
-
if (
|
|
3718
|
+
if (Pr(h)) {
|
|
3697
3719
|
var B = h.options[p] || h.options.other;
|
|
3698
3720
|
if (!B)
|
|
3699
|
-
throw new
|
|
3721
|
+
throw new nr(h.value, p, Object.keys(h.options), s);
|
|
3700
3722
|
a.push.apply(a, qe(B.value, t, r, n, i));
|
|
3701
3723
|
continue;
|
|
3702
3724
|
}
|
|
3703
|
-
if (
|
|
3725
|
+
if (Lr(h)) {
|
|
3704
3726
|
var B = h.options["=".concat(p)];
|
|
3705
3727
|
if (!B) {
|
|
3706
3728
|
if (!Intl.PluralRules)
|
|
@@ -3711,24 +3733,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3711
3733
|
B = h.options[R] || h.options.other;
|
|
3712
3734
|
}
|
|
3713
3735
|
if (!B)
|
|
3714
|
-
throw new
|
|
3736
|
+
throw new nr(h.value, p, Object.keys(h.options), s);
|
|
3715
3737
|
a.push.apply(a, qe(B.value, t, r, n, i, p - (h.offset || 0)));
|
|
3716
3738
|
continue;
|
|
3717
3739
|
}
|
|
3718
3740
|
}
|
|
3719
|
-
return
|
|
3741
|
+
return Mi(a);
|
|
3720
3742
|
}
|
|
3721
|
-
function
|
|
3743
|
+
function Ui(e, t) {
|
|
3722
3744
|
return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3723
3745
|
return r[n] = T(T({}, e[n]), t[n] || {}), r;
|
|
3724
3746
|
}, {})) : e;
|
|
3725
3747
|
}
|
|
3726
|
-
function
|
|
3748
|
+
function Di(e, t) {
|
|
3727
3749
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3728
|
-
return r[n] =
|
|
3750
|
+
return r[n] = Ui(e[n], t[n]), r;
|
|
3729
3751
|
}, T({}, e)) : e;
|
|
3730
3752
|
}
|
|
3731
|
-
function
|
|
3753
|
+
function mt(e) {
|
|
3732
3754
|
return {
|
|
3733
3755
|
create: function() {
|
|
3734
3756
|
return {
|
|
@@ -3742,39 +3764,39 @@ function dt(e) {
|
|
|
3742
3764
|
}
|
|
3743
3765
|
};
|
|
3744
3766
|
}
|
|
3745
|
-
function
|
|
3767
|
+
function Gi(e) {
|
|
3746
3768
|
return e === void 0 && (e = {
|
|
3747
3769
|
number: {},
|
|
3748
3770
|
dateTime: {},
|
|
3749
3771
|
pluralRules: {}
|
|
3750
3772
|
}), {
|
|
3751
|
-
getNumberFormat:
|
|
3773
|
+
getNumberFormat: ft(function() {
|
|
3752
3774
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3753
3775
|
r[n] = arguments[n];
|
|
3754
3776
|
return new ((t = Intl.NumberFormat).bind.apply(t, Te([void 0], r, !1)))();
|
|
3755
3777
|
}, {
|
|
3756
|
-
cache:
|
|
3757
|
-
strategy:
|
|
3778
|
+
cache: mt(e.number),
|
|
3779
|
+
strategy: pt.variadic
|
|
3758
3780
|
}),
|
|
3759
|
-
getDateTimeFormat:
|
|
3781
|
+
getDateTimeFormat: ft(function() {
|
|
3760
3782
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3761
3783
|
r[n] = arguments[n];
|
|
3762
3784
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Te([void 0], r, !1)))();
|
|
3763
3785
|
}, {
|
|
3764
|
-
cache:
|
|
3765
|
-
strategy:
|
|
3786
|
+
cache: mt(e.dateTime),
|
|
3787
|
+
strategy: pt.variadic
|
|
3766
3788
|
}),
|
|
3767
|
-
getPluralRules:
|
|
3789
|
+
getPluralRules: ft(function() {
|
|
3768
3790
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3769
3791
|
r[n] = arguments[n];
|
|
3770
3792
|
return new ((t = Intl.PluralRules).bind.apply(t, Te([void 0], r, !1)))();
|
|
3771
3793
|
}, {
|
|
3772
|
-
cache:
|
|
3773
|
-
strategy:
|
|
3794
|
+
cache: mt(e.pluralRules),
|
|
3795
|
+
strategy: pt.variadic
|
|
3774
3796
|
})
|
|
3775
3797
|
};
|
|
3776
3798
|
}
|
|
3777
|
-
var
|
|
3799
|
+
var ki = (
|
|
3778
3800
|
/** @class */
|
|
3779
3801
|
function() {
|
|
3780
3802
|
function e(t, r, n, i) {
|
|
@@ -3806,13 +3828,13 @@ var Ui = (
|
|
|
3806
3828
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3807
3829
|
var s = i || {};
|
|
3808
3830
|
s.formatters;
|
|
3809
|
-
var a =
|
|
3831
|
+
var a = vn(s, ["formatters"]);
|
|
3810
3832
|
this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
|
|
3811
3833
|
} else
|
|
3812
3834
|
this.ast = t;
|
|
3813
3835
|
if (!Array.isArray(this.ast))
|
|
3814
3836
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3815
|
-
this.formats =
|
|
3837
|
+
this.formats = Di(e.formats, n), this.formatters = i && i.formatters || Gi(this.formatterCache);
|
|
3816
3838
|
}
|
|
3817
3839
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3818
3840
|
get: function() {
|
|
@@ -3825,7 +3847,7 @@ var Ui = (
|
|
|
3825
3847
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3826
3848
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3827
3849
|
}
|
|
3828
|
-
}, e.__parse =
|
|
3850
|
+
}, e.__parse = Ii, e.formats = {
|
|
3829
3851
|
number: {
|
|
3830
3852
|
integer: {
|
|
3831
3853
|
maximumFractionDigits: 0
|
|
@@ -3886,7 +3908,7 @@ var Ui = (
|
|
|
3886
3908
|
}, e;
|
|
3887
3909
|
}()
|
|
3888
3910
|
);
|
|
3889
|
-
function
|
|
3911
|
+
function ji(e, t) {
|
|
3890
3912
|
if (t == null)
|
|
3891
3913
|
return;
|
|
3892
3914
|
if (t in e)
|
|
@@ -3907,92 +3929,92 @@ function Di(e, t) {
|
|
|
3907
3929
|
n = void 0;
|
|
3908
3930
|
return n;
|
|
3909
3931
|
}
|
|
3910
|
-
const se = {},
|
|
3932
|
+
const se = {}, $i = (e, t, r) => r && (t in se || (se[t] = {}), e in se[t] || (se[t][e] = r), r), kr = (e, t) => {
|
|
3911
3933
|
if (t == null)
|
|
3912
3934
|
return;
|
|
3913
3935
|
if (t in se && e in se[t])
|
|
3914
3936
|
return se[t][e];
|
|
3915
3937
|
const r = ot(t);
|
|
3916
3938
|
for (let n = 0; n < r.length; n++) {
|
|
3917
|
-
const i = r[n], o =
|
|
3939
|
+
const i = r[n], o = Vi(i, e);
|
|
3918
3940
|
if (o)
|
|
3919
|
-
return
|
|
3941
|
+
return $i(e, t, o);
|
|
3920
3942
|
}
|
|
3921
3943
|
};
|
|
3922
|
-
let
|
|
3944
|
+
let Rt;
|
|
3923
3945
|
const $e = nt({});
|
|
3924
|
-
function
|
|
3925
|
-
return
|
|
3946
|
+
function Fi(e) {
|
|
3947
|
+
return Rt[e] || null;
|
|
3926
3948
|
}
|
|
3927
|
-
function
|
|
3928
|
-
return e in
|
|
3949
|
+
function jr(e) {
|
|
3950
|
+
return e in Rt;
|
|
3929
3951
|
}
|
|
3930
|
-
function
|
|
3931
|
-
if (!
|
|
3952
|
+
function Vi(e, t) {
|
|
3953
|
+
if (!jr(e))
|
|
3932
3954
|
return null;
|
|
3933
|
-
const r =
|
|
3934
|
-
return
|
|
3955
|
+
const r = Fi(e);
|
|
3956
|
+
return ji(r, t);
|
|
3935
3957
|
}
|
|
3936
|
-
function
|
|
3958
|
+
function Wi(e) {
|
|
3937
3959
|
if (e == null)
|
|
3938
3960
|
return;
|
|
3939
3961
|
const t = ot(e);
|
|
3940
3962
|
for (let r = 0; r < t.length; r++) {
|
|
3941
3963
|
const n = t[r];
|
|
3942
|
-
if (
|
|
3964
|
+
if (jr(n))
|
|
3943
3965
|
return n;
|
|
3944
3966
|
}
|
|
3945
3967
|
}
|
|
3946
|
-
function
|
|
3947
|
-
delete se[e], $e.update((r) => (r[e] =
|
|
3968
|
+
function $r(e, ...t) {
|
|
3969
|
+
delete se[e], $e.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
|
|
3948
3970
|
}
|
|
3949
3971
|
Pe(
|
|
3950
3972
|
[$e],
|
|
3951
3973
|
([e]) => Object.keys(e)
|
|
3952
3974
|
);
|
|
3953
|
-
$e.subscribe((e) =>
|
|
3975
|
+
$e.subscribe((e) => Rt = e);
|
|
3954
3976
|
const Ke = {};
|
|
3955
|
-
function
|
|
3977
|
+
function Xi(e, t) {
|
|
3956
3978
|
Ke[e].delete(t), Ke[e].size === 0 && delete Ke[e];
|
|
3957
3979
|
}
|
|
3958
|
-
function
|
|
3980
|
+
function Fr(e) {
|
|
3959
3981
|
return Ke[e];
|
|
3960
3982
|
}
|
|
3961
|
-
function
|
|
3983
|
+
function zi(e) {
|
|
3962
3984
|
return ot(e).map((t) => {
|
|
3963
|
-
const r =
|
|
3985
|
+
const r = Fr(t);
|
|
3964
3986
|
return [t, r ? [...r] : []];
|
|
3965
3987
|
}).filter(([, t]) => t.length > 0);
|
|
3966
3988
|
}
|
|
3967
|
-
function
|
|
3989
|
+
function Ct(e) {
|
|
3968
3990
|
return e == null ? !1 : ot(e).some(
|
|
3969
3991
|
(t) => {
|
|
3970
3992
|
var r;
|
|
3971
|
-
return (r =
|
|
3993
|
+
return (r = Fr(t)) == null ? void 0 : r.size;
|
|
3972
3994
|
}
|
|
3973
3995
|
);
|
|
3974
3996
|
}
|
|
3975
|
-
function
|
|
3997
|
+
function Ji(e, t) {
|
|
3976
3998
|
return Promise.all(
|
|
3977
|
-
t.map((n) => (
|
|
3978
|
-
).then((n) =>
|
|
3999
|
+
t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
|
|
4000
|
+
).then((n) => $r(e, ...n));
|
|
3979
4001
|
}
|
|
3980
4002
|
const Re = {};
|
|
3981
|
-
function
|
|
3982
|
-
if (!
|
|
4003
|
+
function Vr(e) {
|
|
4004
|
+
if (!Ct(e))
|
|
3983
4005
|
return e in Re ? Re[e] : Promise.resolve();
|
|
3984
|
-
const t =
|
|
4006
|
+
const t = zi(e);
|
|
3985
4007
|
return Re[e] = Promise.all(
|
|
3986
4008
|
t.map(
|
|
3987
|
-
([r, n]) =>
|
|
4009
|
+
([r, n]) => Ji(r, n)
|
|
3988
4010
|
)
|
|
3989
4011
|
).then(() => {
|
|
3990
|
-
if (
|
|
3991
|
-
return
|
|
4012
|
+
if (Ct(e))
|
|
4013
|
+
return Vr(e);
|
|
3992
4014
|
delete Re[e];
|
|
3993
4015
|
}), Re[e];
|
|
3994
4016
|
}
|
|
3995
|
-
const
|
|
4017
|
+
const Zi = {
|
|
3996
4018
|
number: {
|
|
3997
4019
|
scientific: { notation: "scientific" },
|
|
3998
4020
|
engineering: { notation: "engineering" },
|
|
@@ -4021,57 +4043,57 @@ const Xi = {
|
|
|
4021
4043
|
timeZoneName: "short"
|
|
4022
4044
|
}
|
|
4023
4045
|
}
|
|
4024
|
-
},
|
|
4046
|
+
}, Qi = {
|
|
4025
4047
|
fallbackLocale: null,
|
|
4026
4048
|
loadingDelay: 200,
|
|
4027
|
-
formats:
|
|
4049
|
+
formats: Zi,
|
|
4028
4050
|
warnOnMissingMessages: !0,
|
|
4029
4051
|
handleMissingMessage: void 0,
|
|
4030
4052
|
ignoreTag: !0
|
|
4031
|
-
},
|
|
4053
|
+
}, Yi = Qi;
|
|
4032
4054
|
function Be() {
|
|
4033
|
-
return
|
|
4055
|
+
return Yi;
|
|
4034
4056
|
}
|
|
4035
|
-
const
|
|
4036
|
-
var
|
|
4057
|
+
const bt = nt(!1);
|
|
4058
|
+
var qi = Object.defineProperty, Ki = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, no = (e, t) => {
|
|
4037
4059
|
for (var r in t || (t = {}))
|
|
4038
|
-
|
|
4039
|
-
if (
|
|
4040
|
-
for (var r of
|
|
4041
|
-
|
|
4060
|
+
to.call(t, r) && or(e, r, t[r]);
|
|
4061
|
+
if (ir)
|
|
4062
|
+
for (var r of ir(t))
|
|
4063
|
+
ro.call(t, r) && or(e, r, t[r]);
|
|
4042
4064
|
return e;
|
|
4043
|
-
},
|
|
4044
|
-
let
|
|
4065
|
+
}, io = (e, t) => Ki(e, eo(t));
|
|
4066
|
+
let It;
|
|
4045
4067
|
const et = nt(null);
|
|
4046
|
-
function
|
|
4068
|
+
function sr(e) {
|
|
4047
4069
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4048
4070
|
}
|
|
4049
4071
|
function ot(e, t = Be().fallbackLocale) {
|
|
4050
|
-
const r =
|
|
4051
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4072
|
+
const r = sr(e);
|
|
4073
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
|
|
4052
4074
|
}
|
|
4053
4075
|
function ce() {
|
|
4054
|
-
return
|
|
4076
|
+
return It ?? void 0;
|
|
4055
4077
|
}
|
|
4056
4078
|
et.subscribe((e) => {
|
|
4057
|
-
|
|
4079
|
+
It = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4058
4080
|
});
|
|
4059
|
-
const
|
|
4060
|
-
if (e &&
|
|
4081
|
+
const oo = (e) => {
|
|
4082
|
+
if (e && Wi(e) && Ct(e)) {
|
|
4061
4083
|
const { loadingDelay: t } = Be();
|
|
4062
4084
|
let r;
|
|
4063
4085
|
return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
|
|
4064
|
-
() =>
|
|
4086
|
+
() => bt.set(!0),
|
|
4065
4087
|
t
|
|
4066
|
-
) :
|
|
4088
|
+
) : bt.set(!0), Vr(e).then(() => {
|
|
4067
4089
|
et.set(e);
|
|
4068
4090
|
}).finally(() => {
|
|
4069
|
-
clearTimeout(r),
|
|
4091
|
+
clearTimeout(r), bt.set(!1);
|
|
4070
4092
|
});
|
|
4071
4093
|
}
|
|
4072
4094
|
return et.set(e);
|
|
4073
|
-
}, Le =
|
|
4074
|
-
set:
|
|
4095
|
+
}, Le = io(no({}, et), {
|
|
4096
|
+
set: oo
|
|
4075
4097
|
}), st = (e) => {
|
|
4076
4098
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4077
4099
|
return (n) => {
|
|
@@ -4079,20 +4101,20 @@ const ro = (e) => {
|
|
|
4079
4101
|
return i in t ? t[i] : t[i] = e(n);
|
|
4080
4102
|
};
|
|
4081
4103
|
};
|
|
4082
|
-
var
|
|
4104
|
+
var so = Object.defineProperty, tt = Object.getOwnPropertySymbols, Wr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
|
|
4083
4105
|
for (var r in t || (t = {}))
|
|
4084
|
-
|
|
4106
|
+
Wr.call(t, r) && ar(e, r, t[r]);
|
|
4085
4107
|
if (tt)
|
|
4086
4108
|
for (var r of tt(t))
|
|
4087
|
-
|
|
4109
|
+
Xr.call(t, r) && ar(e, r, t[r]);
|
|
4088
4110
|
return e;
|
|
4089
|
-
},
|
|
4111
|
+
}, Ce = (e, t) => {
|
|
4090
4112
|
var r = {};
|
|
4091
4113
|
for (var n in e)
|
|
4092
|
-
|
|
4114
|
+
Wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4093
4115
|
if (e != null && tt)
|
|
4094
4116
|
for (var n of tt(e))
|
|
4095
|
-
t.indexOf(n) < 0 &&
|
|
4117
|
+
t.indexOf(n) < 0 && Xr.call(e, n) && (r[n] = e[n]);
|
|
4096
4118
|
return r;
|
|
4097
4119
|
};
|
|
4098
4120
|
const ke = (e, t) => {
|
|
@@ -4100,56 +4122,56 @@ const ke = (e, t) => {
|
|
|
4100
4122
|
if (e in r && t in r[e])
|
|
4101
4123
|
return r[e][t];
|
|
4102
4124
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4103
|
-
},
|
|
4125
|
+
}, ao = st(
|
|
4104
4126
|
(e) => {
|
|
4105
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4127
|
+
var t = e, { locale: r, format: n } = t, i = Ce(t, ["locale", "format"]);
|
|
4106
4128
|
if (r == null)
|
|
4107
4129
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4108
4130
|
return n && (i = ke("number", n)), new Intl.NumberFormat(r, i);
|
|
4109
4131
|
}
|
|
4110
|
-
),
|
|
4132
|
+
), uo = st(
|
|
4111
4133
|
(e) => {
|
|
4112
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4134
|
+
var t = e, { locale: r, format: n } = t, i = Ce(t, ["locale", "format"]);
|
|
4113
4135
|
if (r == null)
|
|
4114
4136
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4115
4137
|
return n ? i = ke("date", n) : Object.keys(i).length === 0 && (i = ke("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4116
4138
|
}
|
|
4117
|
-
),
|
|
4139
|
+
), lo = st(
|
|
4118
4140
|
(e) => {
|
|
4119
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4141
|
+
var t = e, { locale: r, format: n } = t, i = Ce(t, ["locale", "format"]);
|
|
4120
4142
|
if (r == null)
|
|
4121
4143
|
throw new Error(
|
|
4122
4144
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4123
4145
|
);
|
|
4124
4146
|
return n ? i = ke("time", n) : Object.keys(i).length === 0 && (i = ke("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4125
4147
|
}
|
|
4126
|
-
),
|
|
4148
|
+
), ho = (e = {}) => {
|
|
4127
4149
|
var t = e, {
|
|
4128
4150
|
locale: r = ce()
|
|
4129
|
-
} = t, n =
|
|
4151
|
+
} = t, n = Ce(t, [
|
|
4130
4152
|
"locale"
|
|
4131
4153
|
]);
|
|
4132
|
-
return
|
|
4133
|
-
},
|
|
4154
|
+
return ao(Ut({ locale: r }, n));
|
|
4155
|
+
}, co = (e = {}) => {
|
|
4134
4156
|
var t = e, {
|
|
4135
4157
|
locale: r = ce()
|
|
4136
|
-
} = t, n =
|
|
4158
|
+
} = t, n = Ce(t, [
|
|
4137
4159
|
"locale"
|
|
4138
4160
|
]);
|
|
4139
|
-
return
|
|
4140
|
-
},
|
|
4161
|
+
return uo(Ut({ locale: r }, n));
|
|
4162
|
+
}, fo = (e = {}) => {
|
|
4141
4163
|
var t = e, {
|
|
4142
4164
|
locale: r = ce()
|
|
4143
|
-
} = t, n =
|
|
4165
|
+
} = t, n = Ce(t, [
|
|
4144
4166
|
"locale"
|
|
4145
4167
|
]);
|
|
4146
|
-
return
|
|
4147
|
-
},
|
|
4168
|
+
return lo(Ut({ locale: r }, n));
|
|
4169
|
+
}, po = st(
|
|
4148
4170
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4149
|
-
(e, t = ce()) => new
|
|
4171
|
+
(e, t = ce()) => new ki(e, t, Be().formats, {
|
|
4150
4172
|
ignoreTag: Be().ignoreTag
|
|
4151
4173
|
})
|
|
4152
|
-
),
|
|
4174
|
+
), mo = (e, t = {}) => {
|
|
4153
4175
|
var r, n, i, o;
|
|
4154
4176
|
let s = t;
|
|
4155
4177
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4162,7 +4184,7 @@ const ke = (e, t) => {
|
|
|
4162
4184
|
throw new Error(
|
|
4163
4185
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4164
4186
|
);
|
|
4165
|
-
let h =
|
|
4187
|
+
let h = kr(e, l);
|
|
4166
4188
|
if (!h)
|
|
4167
4189
|
h = (o = (i = (n = (r = Be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4168
4190
|
else if (typeof h != "string")
|
|
@@ -4173,7 +4195,7 @@ const ke = (e, t) => {
|
|
|
4173
4195
|
return h;
|
|
4174
4196
|
let c = h;
|
|
4175
4197
|
try {
|
|
4176
|
-
c =
|
|
4198
|
+
c = po(h, l).format(a);
|
|
4177
4199
|
} catch (p) {
|
|
4178
4200
|
p instanceof Error && console.warn(
|
|
4179
4201
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4181,21 +4203,21 @@ const ke = (e, t) => {
|
|
|
4181
4203
|
);
|
|
4182
4204
|
}
|
|
4183
4205
|
return c;
|
|
4184
|
-
},
|
|
4185
|
-
Pe([Le, $e], () =>
|
|
4186
|
-
Pe([Le], () =>
|
|
4187
|
-
Pe([Le], () =>
|
|
4188
|
-
Pe([Le], () =>
|
|
4189
|
-
Pe([Le, $e], () =>
|
|
4190
|
-
window.emWidgets = { topic:
|
|
4191
|
-
const
|
|
4192
|
-
function
|
|
4206
|
+
}, bo = (e, t) => fo(t).format(e), go = (e, t) => co(t).format(e), yo = (e, t) => ho(t).format(e), vo = (e, t = ce()) => kr(e, t);
|
|
4207
|
+
Pe([Le, $e], () => mo);
|
|
4208
|
+
Pe([Le], () => bo);
|
|
4209
|
+
Pe([Le], () => go);
|
|
4210
|
+
Pe([Le], () => yo);
|
|
4211
|
+
Pe([Le, $e], () => vo);
|
|
4212
|
+
window.emWidgets = { topic: On };
|
|
4213
|
+
const _o = (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));
|
|
4214
|
+
function Eo(e, t) {
|
|
4193
4215
|
if (e) {
|
|
4194
4216
|
const r = document.createElement("style");
|
|
4195
4217
|
r.innerHTML = t, e.appendChild(r);
|
|
4196
4218
|
}
|
|
4197
4219
|
}
|
|
4198
|
-
function
|
|
4220
|
+
function xo(e, t) {
|
|
4199
4221
|
const r = new URL(t);
|
|
4200
4222
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4201
4223
|
const i = document.createElement("style");
|
|
@@ -4204,7 +4226,7 @@ function vo(e, t) {
|
|
|
4204
4226
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4205
4227
|
});
|
|
4206
4228
|
}
|
|
4207
|
-
function
|
|
4229
|
+
function So(e, t, r) {
|
|
4208
4230
|
if (window.emMessageBus) {
|
|
4209
4231
|
const n = document.createElement("style");
|
|
4210
4232
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4212,13 +4234,13 @@ function _o(e, t, r) {
|
|
|
4212
4234
|
});
|
|
4213
4235
|
}
|
|
4214
4236
|
}
|
|
4215
|
-
function
|
|
4216
|
-
|
|
4237
|
+
function ur(e, t) {
|
|
4238
|
+
$r(e, t);
|
|
4217
4239
|
}
|
|
4218
|
-
function
|
|
4240
|
+
function To(e) {
|
|
4219
4241
|
Le.set(e);
|
|
4220
4242
|
}
|
|
4221
|
-
const
|
|
4243
|
+
const lr = {
|
|
4222
4244
|
en: {
|
|
4223
4245
|
loadingText: "Loading, please wait..."
|
|
4224
4246
|
},
|
|
@@ -4256,19 +4278,19 @@ const sr = {
|
|
|
4256
4278
|
loadingText: "Loading, please wait..."
|
|
4257
4279
|
}
|
|
4258
4280
|
};
|
|
4259
|
-
function
|
|
4260
|
-
|
|
4281
|
+
function wo(e) {
|
|
4282
|
+
Zr(e, "svelte-5y37b4", ':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 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 img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4261
4283
|
}
|
|
4262
|
-
function
|
|
4284
|
+
function hr(e, t, r) {
|
|
4263
4285
|
const n = e.slice();
|
|
4264
4286
|
return n[53] = t[r], n[55] = r, n;
|
|
4265
4287
|
}
|
|
4266
|
-
function
|
|
4288
|
+
function Ho(e) {
|
|
4267
4289
|
let t, r, n, i, o, s, a, l, u, h, c, p, y;
|
|
4268
4290
|
function v(S, w) {
|
|
4269
4291
|
return (
|
|
4270
4292
|
/*tabletView*/
|
|
4271
|
-
S[6] ?
|
|
4293
|
+
S[6] ? Po : Lo
|
|
4272
4294
|
);
|
|
4273
4295
|
}
|
|
4274
4296
|
let b = v(e), _ = b(e);
|
|
@@ -4286,7 +4308,7 @@ function So(e) {
|
|
|
4286
4308
|
e[11] + ")"), m(r, "class", "jackpotBanner"), m(t, "class", "");
|
|
4287
4309
|
},
|
|
4288
4310
|
m(S, w) {
|
|
4289
|
-
q(S, t, w), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), _.m(s, null), d(n, a), d(n, l), d(l, u), p || (y =
|
|
4311
|
+
q(S, t, w), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), _.m(s, null), d(n, a), d(n, l), d(l, u), p || (y = en(
|
|
4290
4312
|
r,
|
|
4291
4313
|
"click",
|
|
4292
4314
|
/*click_handler*/
|
|
@@ -4314,7 +4336,7 @@ function So(e) {
|
|
|
4314
4336
|
}
|
|
4315
4337
|
};
|
|
4316
4338
|
}
|
|
4317
|
-
function
|
|
4339
|
+
function Ao(e) {
|
|
4318
4340
|
let t;
|
|
4319
4341
|
return {
|
|
4320
4342
|
c() {
|
|
@@ -4329,7 +4351,7 @@ function To(e) {
|
|
|
4329
4351
|
}
|
|
4330
4352
|
};
|
|
4331
4353
|
}
|
|
4332
|
-
function
|
|
4354
|
+
function Bo(e) {
|
|
4333
4355
|
let t;
|
|
4334
4356
|
return {
|
|
4335
4357
|
c() {
|
|
@@ -4344,7 +4366,7 @@ function wo(e) {
|
|
|
4344
4366
|
}
|
|
4345
4367
|
};
|
|
4346
4368
|
}
|
|
4347
|
-
function
|
|
4369
|
+
function Po(e) {
|
|
4348
4370
|
let t, r, n, i, o, s, a = (
|
|
4349
4371
|
/*formattedLabels*/
|
|
4350
4372
|
e[9][0] + ""
|
|
@@ -4357,7 +4379,7 @@ function Ho(e) {
|
|
|
4357
4379
|
/*formattedJackpotValues*/
|
|
4358
4380
|
e[8][0]
|
|
4359
4381
|
)) + ""
|
|
4360
|
-
), p, y, v, b, _, S, w, B, R,
|
|
4382
|
+
), p, y, v, b, _, S, w, B, R, I, j = (
|
|
4361
4383
|
/*formattedLabels*/
|
|
4362
4384
|
e[9][1] + ""
|
|
4363
4385
|
), W, X, ae, re = (
|
|
@@ -4369,10 +4391,10 @@ function Ho(e) {
|
|
|
4369
4391
|
/*formattedJackpotValues*/
|
|
4370
4392
|
e[8][1]
|
|
4371
4393
|
)) + ""
|
|
4372
|
-
), ne,
|
|
4394
|
+
), ne, Ie, ue, fe, pe, z, M, J, $, ie, F, K = (
|
|
4373
4395
|
/*formattedLabels*/
|
|
4374
4396
|
e[9][2] + ""
|
|
4375
|
-
),
|
|
4397
|
+
), Oe, Z, de, me = (
|
|
4376
4398
|
/*realtimeupdate*/
|
|
4377
4399
|
(e[2] === "true" ? (
|
|
4378
4400
|
/*updatedJackpotValues*/
|
|
@@ -4384,7 +4406,7 @@ function Ho(e) {
|
|
|
4384
4406
|
), Ne, Fe, be, ge, Ve, le, oe, Q, he, ye, ve = (
|
|
4385
4407
|
/*formattedLabels*/
|
|
4386
4408
|
e[9][3] + ""
|
|
4387
|
-
), Me, f, A,
|
|
4409
|
+
), Me, f, A, O = (
|
|
4388
4410
|
/*realtimeupdate*/
|
|
4389
4411
|
(e[2] === "true" ? (
|
|
4390
4412
|
/*updatedJackpotValues*/
|
|
@@ -4393,36 +4415,36 @@ function Ho(e) {
|
|
|
4393
4415
|
/*formattedJackpotValues*/
|
|
4394
4416
|
e[8][3]
|
|
4395
4417
|
)) + ""
|
|
4396
|
-
), at,
|
|
4418
|
+
), at, Dt, We, ut;
|
|
4397
4419
|
return {
|
|
4398
4420
|
c() {
|
|
4399
4421
|
t = g("div"), r = g("div"), n = g("div"), i = g("img"), s = g("span"), l = N(a), u = g("span"), h = g("span"), p = N(c), y = Y(), v = g("span"), b = N(
|
|
4400
4422
|
/*currency*/
|
|
4401
4423
|
e[1]
|
|
4402
|
-
), _ = Y(), S = g("div"), w = g("div"), B = g("img"),
|
|
4424
|
+
), _ = Y(), S = g("div"), w = g("div"), B = g("img"), I = g("span"), W = N(j), X = g("span"), ae = g("span"), ne = N(re), Ie = Y(), ue = g("span"), fe = N(
|
|
4403
4425
|
/*currency*/
|
|
4404
4426
|
e[1]
|
|
4405
|
-
), pe = Y(), z = g("div"), M = g("div"), J = g("div"), $ = g("img"), F = g("span"),
|
|
4427
|
+
), pe = Y(), z = g("div"), M = g("div"), J = g("div"), $ = g("img"), F = g("span"), Oe = N(K), Z = g("span"), de = g("span"), Ne = N(me), Fe = Y(), be = g("span"), ge = N(
|
|
4406
4428
|
/*currency*/
|
|
4407
4429
|
e[1]
|
|
4408
|
-
), Ve = Y(), le = g("div"), oe = g("div"), Q = g("img"), ye = g("span"), Me = N(ve), f = g("span"), A = g("span"), at = N(
|
|
4430
|
+
), Ve = Y(), le = g("div"), oe = g("div"), Q = g("img"), ye = g("span"), Me = N(ve), f = g("span"), A = g("span"), at = N(O), Dt = Y(), We = g("span"), ut = N(
|
|
4409
4431
|
/*currency*/
|
|
4410
4432
|
e[1]
|
|
4411
4433
|
), m(i, "class", "displayCardIcon"), k(i.src, o = /*caticons*/
|
|
4412
4434
|
e[10][0]) || m(i, "src", o), m(i, "alt", ""), m(s, "class", "cardLabel"), m(n, "class", "iconWrapper"), m(h, "class", "jackpotValue"), m(v, "class", "jackpot-currency"), m(u, "class", "cardTextWrapper"), m(r, "class", "displayCard"), m(B, "class", "displayCardIcon"), k(B.src, R = /*caticons*/
|
|
4413
|
-
e[10][1]) || m(B, "src", R), m(B, "alt", ""), m(
|
|
4435
|
+
e[10][1]) || m(B, "src", R), m(B, "alt", ""), m(I, "class", "cardLabel"), m(w, "class", "iconWrapper"), m(ae, "class", "jackpotValue"), m(ue, "class", "jackpot-currency"), m(X, "class", "cardTextWrapper"), m(S, "class", "displayCard"), m(t, "class", "pairWrapper"), m($, "class", "displayCardIcon"), k($.src, ie = /*caticons*/
|
|
4414
4436
|
e[10][2]) || m($, "src", ie), m($, "alt", ""), m(F, "class", "cardLabel"), m(J, "class", "iconWrapper"), m(de, "class", "jackpotValue"), m(be, "class", "jackpot-currency"), m(Z, "class", "cardTextWrapper"), m(M, "class", "displayCard"), m(Q, "class", "displayCardIcon"), k(Q.src, he = /*caticons*/
|
|
4415
4437
|
e[10][3]) || m(Q, "src", he), m(Q, "alt", ""), m(ye, "class", "cardLabel"), m(oe, "class", "iconWrapper"), m(A, "class", "jackpotValue"), m(We, "class", "jackpot-currency"), m(f, "class", "cardTextWrapper"), m(le, "class", "displayCard"), m(z, "class", "pairWrapper");
|
|
4416
4438
|
},
|
|
4417
|
-
m(H,
|
|
4418
|
-
q(H, t,
|
|
4439
|
+
m(H, C) {
|
|
4440
|
+
q(H, t, C), d(t, r), d(r, n), d(n, i), d(n, s), d(s, l), d(r, u), d(u, h), d(h, p), d(u, y), d(u, v), d(v, b), d(t, _), d(t, S), d(S, w), d(w, B), d(w, I), d(I, W), d(S, X), d(X, ae), d(ae, ne), d(X, Ie), d(X, ue), d(ue, fe), q(H, pe, C), q(H, z, C), d(z, M), d(M, J), d(J, $), d(J, F), d(F, Oe), d(M, Z), d(Z, de), d(de, Ne), d(Z, Fe), d(Z, be), d(be, ge), d(z, Ve), d(z, le), d(le, oe), d(oe, Q), d(oe, ye), d(ye, Me), d(le, f), d(f, A), d(A, at), d(f, Dt), d(f, We), d(We, ut);
|
|
4419
4441
|
},
|
|
4420
|
-
p(H,
|
|
4421
|
-
|
|
4442
|
+
p(H, C) {
|
|
4443
|
+
C[0] & /*caticons*/
|
|
4422
4444
|
1024 && !k(i.src, o = /*caticons*/
|
|
4423
|
-
H[10][0]) && m(i, "src", o),
|
|
4445
|
+
H[10][0]) && m(i, "src", o), C[0] & /*formattedLabels*/
|
|
4424
4446
|
512 && a !== (a = /*formattedLabels*/
|
|
4425
|
-
H[9][0] + "") && U(l, a),
|
|
4447
|
+
H[9][0] + "") && U(l, a), C[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4426
4448
|
16644 && c !== (c = /*realtimeupdate*/
|
|
4427
4449
|
(H[2] === "true" ? (
|
|
4428
4450
|
/*updatedJackpotValues*/
|
|
@@ -4430,16 +4452,16 @@ function Ho(e) {
|
|
|
4430
4452
|
) : (
|
|
4431
4453
|
/*formattedJackpotValues*/
|
|
4432
4454
|
H[8][0]
|
|
4433
|
-
)) + "") && U(p, c),
|
|
4455
|
+
)) + "") && U(p, c), C[0] & /*currency*/
|
|
4434
4456
|
2 && U(
|
|
4435
4457
|
b,
|
|
4436
4458
|
/*currency*/
|
|
4437
4459
|
H[1]
|
|
4438
|
-
),
|
|
4460
|
+
), C[0] & /*caticons*/
|
|
4439
4461
|
1024 && !k(B.src, R = /*caticons*/
|
|
4440
|
-
H[10][1]) && m(B, "src", R),
|
|
4462
|
+
H[10][1]) && m(B, "src", R), C[0] & /*formattedLabels*/
|
|
4441
4463
|
512 && j !== (j = /*formattedLabels*/
|
|
4442
|
-
H[9][1] + "") && U(W, j),
|
|
4464
|
+
H[9][1] + "") && U(W, j), C[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4443
4465
|
16644 && re !== (re = /*realtimeupdate*/
|
|
4444
4466
|
(H[2] === "true" ? (
|
|
4445
4467
|
/*updatedJackpotValues*/
|
|
@@ -4447,16 +4469,16 @@ function Ho(e) {
|
|
|
4447
4469
|
) : (
|
|
4448
4470
|
/*formattedJackpotValues*/
|
|
4449
4471
|
H[8][1]
|
|
4450
|
-
)) + "") && U(ne, re),
|
|
4472
|
+
)) + "") && U(ne, re), C[0] & /*currency*/
|
|
4451
4473
|
2 && U(
|
|
4452
4474
|
fe,
|
|
4453
4475
|
/*currency*/
|
|
4454
4476
|
H[1]
|
|
4455
|
-
),
|
|
4477
|
+
), C[0] & /*caticons*/
|
|
4456
4478
|
1024 && !k($.src, ie = /*caticons*/
|
|
4457
|
-
H[10][2]) && m($, "src", ie),
|
|
4479
|
+
H[10][2]) && m($, "src", ie), C[0] & /*formattedLabels*/
|
|
4458
4480
|
512 && K !== (K = /*formattedLabels*/
|
|
4459
|
-
H[9][2] + "") && U(
|
|
4481
|
+
H[9][2] + "") && U(Oe, K), C[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4460
4482
|
16644 && me !== (me = /*realtimeupdate*/
|
|
4461
4483
|
(H[2] === "true" ? (
|
|
4462
4484
|
/*updatedJackpotValues*/
|
|
@@ -4464,24 +4486,24 @@ function Ho(e) {
|
|
|
4464
4486
|
) : (
|
|
4465
4487
|
/*formattedJackpotValues*/
|
|
4466
4488
|
H[8][2]
|
|
4467
|
-
)) + "") && U(Ne, me),
|
|
4489
|
+
)) + "") && U(Ne, me), C[0] & /*currency*/
|
|
4468
4490
|
2 && U(
|
|
4469
4491
|
ge,
|
|
4470
4492
|
/*currency*/
|
|
4471
4493
|
H[1]
|
|
4472
|
-
),
|
|
4494
|
+
), C[0] & /*caticons*/
|
|
4473
4495
|
1024 && !k(Q.src, he = /*caticons*/
|
|
4474
|
-
H[10][3]) && m(Q, "src", he),
|
|
4496
|
+
H[10][3]) && m(Q, "src", he), C[0] & /*formattedLabels*/
|
|
4475
4497
|
512 && ve !== (ve = /*formattedLabels*/
|
|
4476
|
-
H[9][3] + "") && U(Me, ve),
|
|
4477
|
-
16644 &&
|
|
4498
|
+
H[9][3] + "") && U(Me, ve), C[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4499
|
+
16644 && O !== (O = /*realtimeupdate*/
|
|
4478
4500
|
(H[2] === "true" ? (
|
|
4479
4501
|
/*updatedJackpotValues*/
|
|
4480
4502
|
H[14][3]
|
|
4481
4503
|
) : (
|
|
4482
4504
|
/*formattedJackpotValues*/
|
|
4483
4505
|
H[8][3]
|
|
4484
|
-
)) + "") && U(at,
|
|
4506
|
+
)) + "") && U(at, O), C[0] & /*currency*/
|
|
4485
4507
|
2 && U(
|
|
4486
4508
|
ut,
|
|
4487
4509
|
/*currency*/
|
|
@@ -4493,15 +4515,15 @@ function Ho(e) {
|
|
|
4493
4515
|
}
|
|
4494
4516
|
};
|
|
4495
4517
|
}
|
|
4496
|
-
function
|
|
4497
|
-
let t, r =
|
|
4518
|
+
function Lo(e) {
|
|
4519
|
+
let t, r = jt(Array(4)), n = [];
|
|
4498
4520
|
for (let i = 0; i < r.length; i += 1)
|
|
4499
|
-
n[i] =
|
|
4521
|
+
n[i] = cr(hr(e, r, i));
|
|
4500
4522
|
return {
|
|
4501
4523
|
c() {
|
|
4502
4524
|
for (let i = 0; i < n.length; i += 1)
|
|
4503
4525
|
n[i].c();
|
|
4504
|
-
t =
|
|
4526
|
+
t = Kr();
|
|
4505
4527
|
},
|
|
4506
4528
|
m(i, o) {
|
|
4507
4529
|
for (let s = 0; s < n.length; s += 1)
|
|
@@ -4511,11 +4533,11 @@ function Ao(e) {
|
|
|
4511
4533
|
p(i, o) {
|
|
4512
4534
|
if (o[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4513
4535
|
18182) {
|
|
4514
|
-
r =
|
|
4536
|
+
r = jt(Array(4));
|
|
4515
4537
|
let s;
|
|
4516
4538
|
for (s = 0; s < r.length; s += 1) {
|
|
4517
|
-
const a =
|
|
4518
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4539
|
+
const a = hr(i, r, s);
|
|
4540
|
+
n[s] ? n[s].p(a, o) : (n[s] = cr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4519
4541
|
}
|
|
4520
4542
|
for (; s < n.length; s += 1)
|
|
4521
4543
|
n[s].d(1);
|
|
@@ -4523,11 +4545,11 @@ function Ao(e) {
|
|
|
4523
4545
|
}
|
|
4524
4546
|
},
|
|
4525
4547
|
d(i) {
|
|
4526
|
-
i && V(t),
|
|
4548
|
+
i && V(t), qr(n, i);
|
|
4527
4549
|
}
|
|
4528
4550
|
};
|
|
4529
4551
|
}
|
|
4530
|
-
function
|
|
4552
|
+
function cr(e) {
|
|
4531
4553
|
let t, r, n, i, o, s = (
|
|
4532
4554
|
/*formattedLabels*/
|
|
4533
4555
|
e[9][
|
|
@@ -4601,14 +4623,14 @@ function ur(e) {
|
|
|
4601
4623
|
}
|
|
4602
4624
|
};
|
|
4603
4625
|
}
|
|
4604
|
-
function
|
|
4626
|
+
function Co(e) {
|
|
4605
4627
|
let t;
|
|
4606
4628
|
function r(o, s) {
|
|
4607
4629
|
return (
|
|
4608
4630
|
/*hasErrors*/
|
|
4609
|
-
o[13] ?
|
|
4631
|
+
o[13] ? Bo : (
|
|
4610
4632
|
/*isLoading*/
|
|
4611
|
-
o[4] ?
|
|
4633
|
+
o[4] ? Ao : Ho
|
|
4612
4634
|
)
|
|
4613
4635
|
);
|
|
4614
4636
|
}
|
|
@@ -4630,32 +4652,32 @@ function Bo(e) {
|
|
|
4630
4652
|
}
|
|
4631
4653
|
};
|
|
4632
4654
|
}
|
|
4633
|
-
function
|
|
4634
|
-
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: o = "" } = t, { caticon1: s = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: h = "" } = t, { currency: c = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: y = "" } = t, { lang: v = "en" } = t, { clientstyling: b = "" } = t, { clientstylingurl: _ = "" } = t, { translationurl: S = "" } = t, { endpoint: w = "" } = t, { gameid: B = "" } = t, { mbsource: R } = t, { realtimeupdate:
|
|
4635
|
-
const
|
|
4655
|
+
function Io(e, t, r) {
|
|
4656
|
+
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: o = "" } = t, { caticon1: s = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: h = "" } = t, { currency: c = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: y = "" } = t, { lang: v = "en" } = t, { clientstyling: b = "" } = t, { clientstylingurl: _ = "" } = t, { translationurl: S = "" } = t, { endpoint: w = "" } = t, { gameid: B = "" } = t, { mbsource: R } = t, { realtimeupdate: I = "false" } = t, j = window.navigator.userAgent, W = !1, X = !1, ae = "", re = [], ne = [], Ie = [], ue = [], fe = [], pe = "", z = "", M, J = !0, $ = !1, ie, F = null, K = [];
|
|
4657
|
+
const Oe = () => {
|
|
4636
4658
|
fetch(S).then((A) => A.json()).then((A) => {
|
|
4637
|
-
Object.keys(A).forEach((
|
|
4638
|
-
|
|
4659
|
+
Object.keys(A).forEach((O) => {
|
|
4660
|
+
ur(O, A[O]);
|
|
4639
4661
|
});
|
|
4640
4662
|
}).catch((A) => {
|
|
4641
4663
|
console.log(A);
|
|
4642
4664
|
});
|
|
4643
4665
|
};
|
|
4644
|
-
Object.keys(
|
|
4645
|
-
|
|
4666
|
+
Object.keys(lr).forEach((f) => {
|
|
4667
|
+
ur(f, lr[f]);
|
|
4646
4668
|
});
|
|
4647
4669
|
const Z = ["typeSpread", "typeLeft"], de = (f) => {
|
|
4648
4670
|
const A = f?.items[0]?.additionalData;
|
|
4649
|
-
A && Object.values(A).forEach((
|
|
4671
|
+
A && Object.values(A).forEach((O) => re.push(+O));
|
|
4650
4672
|
}, me = (f) => {
|
|
4651
4673
|
r(7, ae = f?.items[0]?.vendorLogo || "");
|
|
4652
4674
|
}, Ne = () => {
|
|
4653
4675
|
if (w && v && c) {
|
|
4654
4676
|
let f = new URL(`${w}/v1/casino/jackpots`);
|
|
4655
|
-
f.searchParams.append("filter", `id=${B}`), f.searchParams.append("language", v), f.searchParams.append("additionalDataCurrency", c), fetch(f.href).then((A) => A.json().then((
|
|
4656
|
-
r(4, J = !1), ie =
|
|
4657
|
-
}).catch((
|
|
4658
|
-
r(13, $ = !0), r(4, J = !1), console.error(
|
|
4677
|
+
f.searchParams.append("filter", `id=${B}`), f.searchParams.append("language", v), f.searchParams.append("additionalDataCurrency", c), fetch(f.href).then((A) => A.json().then((O) => {
|
|
4678
|
+
r(4, J = !1), ie = O, ne.includes(B) && (de(ie), me(ie));
|
|
4679
|
+
}).catch((O) => {
|
|
4680
|
+
r(13, $ = !0), r(4, J = !1), console.error(O);
|
|
4659
4681
|
}).finally(() => {
|
|
4660
4682
|
Fe();
|
|
4661
4683
|
}));
|
|
@@ -4666,10 +4688,10 @@ function Po(e, t, r) {
|
|
|
4666
4688
|
}, be = () => {
|
|
4667
4689
|
let f = new URL(`${w}/v1/casino/jackpots/config`);
|
|
4668
4690
|
fetch(f.href).then((A) => A.json()).then((A) => {
|
|
4669
|
-
r(32, ne = A.egtJackpotIds.map((
|
|
4691
|
+
r(32, ne = A.egtJackpotIds.map((O) => O));
|
|
4670
4692
|
});
|
|
4671
4693
|
}, ge = () => {
|
|
4672
|
-
r(5, W =
|
|
4694
|
+
r(5, W = _o(j) && window.innerHeight / window.innerWidth > 1), r(6, X = le()), re.length !== 0 && r(8, Ie = Ve(re)), r(9, ue = u ? u.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), Z.includes(n.trim()) ? r(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${Z[0]}"`), r(0, n = Z[0])), r(11, pe = p && W && !X ? p : h), r(12, z = y), r(10, fe = [o, s, a, l]);
|
|
4673
4695
|
}, Ve = (f) => f.map((A) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(A)), le = () => {
|
|
4674
4696
|
const f = window.innerHeight / window.innerWidth;
|
|
4675
4697
|
return 0.75 < f && f < 1.6;
|
|
@@ -4679,51 +4701,51 @@ function Po(e, t, r) {
|
|
|
4679
4701
|
gameId: `${B}`
|
|
4680
4702
|
});
|
|
4681
4703
|
}, Q = () => {
|
|
4682
|
-
|
|
4704
|
+
To(v);
|
|
4683
4705
|
}, he = (f) => {
|
|
4684
4706
|
const A = JSON.parse(f.data);
|
|
4685
4707
|
if (A.success && A.data.messageType === "UpdateEgtJackpotBalance" && A.data.jackpotAlias.split("_")[0] === B) {
|
|
4686
|
-
const
|
|
4687
|
-
r(14, K[
|
|
4708
|
+
const O = Number(A.data.jackpotAlias.split("_")[1]) - 1;
|
|
4709
|
+
r(14, K[O] = A.data.data[`${c}`].balance.toString(), K);
|
|
4688
4710
|
}
|
|
4689
4711
|
}, ye = () => {
|
|
4690
|
-
|
|
4712
|
+
I === "true" && (ge(), r(14, K = ["", "", "", ""]), F = new EventSource(`${w}/v1/encoder/jackpot/*/update`), F.addEventListener("message", he));
|
|
4691
4713
|
};
|
|
4692
|
-
|
|
4693
|
-
}),
|
|
4714
|
+
nn(() => () => {
|
|
4715
|
+
}), on(() => {
|
|
4694
4716
|
F && (F.removeEventListener("message", he), F.close(), F = null);
|
|
4695
4717
|
});
|
|
4696
4718
|
const ve = () => oe();
|
|
4697
4719
|
function Me(f) {
|
|
4698
|
-
|
|
4720
|
+
gt[f ? "unshift" : "push"](() => {
|
|
4699
4721
|
M = f, r(3, M);
|
|
4700
4722
|
});
|
|
4701
4723
|
}
|
|
4702
4724
|
return e.$$set = (f) => {
|
|
4703
|
-
"visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(16, i = f.title), "caticon0" in f && r(17, o = f.caticon0), "caticon1" in f && r(18, s = f.caticon1), "caticon2" in f && r(19, a = f.caticon2), "caticon3" in f && r(20, l = f.caticon3), "iconlabels" in f && r(21, u = f.iconlabels), "backgroundsrc" in f && r(22, h = f.backgroundsrc), "currency" in f && r(1, c = f.currency), "backgroundsrcmobile" in f && r(23, p = f.backgroundsrcmobile), "titlelogopath" in f && r(24, y = f.titlelogopath), "lang" in f && r(25, v = f.lang), "clientstyling" in f && r(26, b = f.clientstyling), "clientstylingurl" in f && r(27, _ = f.clientstylingurl), "translationurl" in f && r(28, S = f.translationurl), "endpoint" in f && r(29, w = f.endpoint), "gameid" in f && r(30, B = f.gameid), "mbsource" in f && r(31, R = f.mbsource), "realtimeupdate" in f && r(2,
|
|
4725
|
+
"visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(16, i = f.title), "caticon0" in f && r(17, o = f.caticon0), "caticon1" in f && r(18, s = f.caticon1), "caticon2" in f && r(19, a = f.caticon2), "caticon3" in f && r(20, l = f.caticon3), "iconlabels" in f && r(21, u = f.iconlabels), "backgroundsrc" in f && r(22, h = f.backgroundsrc), "currency" in f && r(1, c = f.currency), "backgroundsrcmobile" in f && r(23, p = f.backgroundsrcmobile), "titlelogopath" in f && r(24, y = f.titlelogopath), "lang" in f && r(25, v = f.lang), "clientstyling" in f && r(26, b = f.clientstyling), "clientstylingurl" in f && r(27, _ = f.clientstylingurl), "translationurl" in f && r(28, S = f.translationurl), "endpoint" in f && r(29, w = f.endpoint), "gameid" in f && r(30, B = f.gameid), "mbsource" in f && r(31, R = f.mbsource), "realtimeupdate" in f && r(2, I = f.realtimeupdate);
|
|
4704
4726
|
}, e.$$.update = () => {
|
|
4705
4727
|
e.$$.dirty[0] & /*endpoint*/
|
|
4706
4728
|
536870912 && w && be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4707
|
-
67108872 && b && M &&
|
|
4708
|
-
134217736 && _ && M &&
|
|
4729
|
+
67108872 && b && M && Eo(M, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4730
|
+
134217736 && _ && M && xo(M, _), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4709
4731
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4710
|
-
1 && R && M &&
|
|
4732
|
+
1 && R && M && So(M, `${R}.Style`), e.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
4711
4733
|
570425346 | e.$$.dirty[1] & /*validGameIds*/
|
|
4712
4734
|
2 && w && v && c && ne.length > 0 && Ne(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4713
4735
|
33554450 && c && v && !J && ge(), e.$$.dirty[0] & /*lang*/
|
|
4714
4736
|
33554432 && v && Q(), e.$$.dirty[0] & /*translationurl*/
|
|
4715
|
-
268435456 && S &&
|
|
4716
|
-
4 &&
|
|
4737
|
+
268435456 && S && Oe(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4738
|
+
4 && I && ye();
|
|
4717
4739
|
}, [
|
|
4718
4740
|
n,
|
|
4719
4741
|
c,
|
|
4720
|
-
|
|
4742
|
+
I,
|
|
4721
4743
|
M,
|
|
4722
4744
|
J,
|
|
4723
4745
|
W,
|
|
4724
4746
|
X,
|
|
4725
4747
|
ae,
|
|
4726
|
-
|
|
4748
|
+
Ie,
|
|
4727
4749
|
ue,
|
|
4728
4750
|
fe,
|
|
4729
4751
|
pe,
|
|
@@ -4752,14 +4774,14 @@ function Po(e, t, r) {
|
|
|
4752
4774
|
Me
|
|
4753
4775
|
];
|
|
4754
4776
|
}
|
|
4755
|
-
class
|
|
4777
|
+
class Oo extends gn {
|
|
4756
4778
|
constructor(t) {
|
|
4757
|
-
super(),
|
|
4779
|
+
super(), mn(
|
|
4758
4780
|
this,
|
|
4759
4781
|
t,
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4782
|
+
Io,
|
|
4783
|
+
Co,
|
|
4784
|
+
pr,
|
|
4763
4785
|
{
|
|
4764
4786
|
visualstructure: 0,
|
|
4765
4787
|
title: 16,
|
|
@@ -4781,7 +4803,7 @@ class Lo extends pn {
|
|
|
4781
4803
|
mbsource: 31,
|
|
4782
4804
|
realtimeupdate: 2
|
|
4783
4805
|
},
|
|
4784
|
-
|
|
4806
|
+
wo,
|
|
4785
4807
|
[-1, -1]
|
|
4786
4808
|
);
|
|
4787
4809
|
}
|
|
@@ -4900,7 +4922,7 @@ class Lo extends pn {
|
|
|
4900
4922
|
this.$$set({ realtimeupdate: t }), L();
|
|
4901
4923
|
}
|
|
4902
4924
|
}
|
|
4903
|
-
|
|
4925
|
+
bn(Oo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
|
|
4904
4926
|
export {
|
|
4905
|
-
|
|
4927
|
+
Oo as C
|
|
4906
4928
|
};
|