@everymatrix/casino-jackpot-banner 1.77.19 → 1.77.20
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-CBsjExI3.js → CasinoJackpotBanner-B_G2m1z9.js} +817 -860
- package/components/{CasinoJackpotBanner-C06wch9B.js → CasinoJackpotBanner-CW9FpeK5.js} +789 -832
- package/components/CasinoJackpotBanner-Dixr5n7e.cjs +18 -0
- package/es2015/casino-jackpot-banner.cjs +1 -1
- package/es2015/casino-jackpot-banner.js +1 -1
- package/esnext/casino-jackpot-banner.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
- package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-DbQ7SENq.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-L-CYescb.js} +2 -2
- package/components/CasinoJackpotBanner-B4RmJHSE.cjs +0 -18
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var sn = Object.defineProperty, an = Object.defineProperties;
|
|
2
|
+
var un = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var $t = Object.getOwnPropertySymbols;
|
|
4
|
+
var ln = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var bt = (e, t, r) => t in e ? sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ln.call(t, r) && bt(e, r, t[r]);
|
|
8
|
+
if ($t)
|
|
9
|
+
for (var r of $t(t))
|
|
10
|
+
hn.call(t, r) && bt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var Q = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Wt = (e, t) => an(e, un(t));
|
|
13
|
+
var Q = (e, t, r) => (bt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Xt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -27,32 +27,32 @@ var Yt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-DfVgiF6v.js";
|
|
31
31
|
function Z() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function wr(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function zt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
39
|
+
function Je(e) {
|
|
40
|
+
e.forEach(wr);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function kt(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Hr(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
48
|
let tt;
|
|
49
49
|
function Y(e, t) {
|
|
50
50
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function cn(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function fn(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -64,14 +64,14 @@ function gn(e, ...t) {
|
|
|
64
64
|
function d(e, t) {
|
|
65
65
|
e.appendChild(t);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
const n =
|
|
67
|
+
function pn(e, t, r) {
|
|
68
|
+
const n = dn(e);
|
|
69
69
|
if (!n.getElementById(t)) {
|
|
70
70
|
const i = m("style");
|
|
71
|
-
i.id = t, i.textContent = r,
|
|
71
|
+
i.id = t, i.textContent = r, mn(n, i);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function dn(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return document;
|
|
77
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -81,20 +81,20 @@ function vn(e) {
|
|
|
81
81
|
t
|
|
82
82
|
) : e.ownerDocument;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function mn(e, t) {
|
|
85
85
|
return d(
|
|
86
86
|
/** @type {Document} */
|
|
87
87
|
e.head || e,
|
|
88
88
|
t
|
|
89
89
|
), t.sheet;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function F(e, t, r) {
|
|
92
92
|
e.insertBefore(t, r || null);
|
|
93
93
|
}
|
|
94
94
|
function D(e) {
|
|
95
95
|
e.parentNode && e.parentNode.removeChild(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function bn(e, t) {
|
|
98
98
|
for (let r = 0; r < e.length; r += 1)
|
|
99
99
|
e[r] && e[r].d(t);
|
|
100
100
|
}
|
|
@@ -107,20 +107,20 @@ function U(e) {
|
|
|
107
107
|
function I() {
|
|
108
108
|
return U(" ");
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function gn() {
|
|
111
111
|
return U("");
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function yn(e, t, r, n) {
|
|
114
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
115
115
|
}
|
|
116
116
|
function _(e, t, r) {
|
|
117
117
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function O(e, t, r) {
|
|
120
120
|
const n = t.toLowerCase();
|
|
121
121
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function vn(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
126
|
function j(e, t) {
|
|
@@ -130,7 +130,7 @@ function j(e, t) {
|
|
|
130
130
|
function rt(e, t, r, n) {
|
|
131
131
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function _n(e) {
|
|
134
134
|
const t = {};
|
|
135
135
|
return e.childNodes.forEach(
|
|
136
136
|
/** @param {Element} node */
|
|
@@ -139,93 +139,93 @@ function wn(e) {
|
|
|
139
139
|
}
|
|
140
140
|
), t;
|
|
141
141
|
}
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
|
|
142
|
+
let We;
|
|
143
|
+
function Ve(e) {
|
|
144
|
+
We = e;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
if (!
|
|
146
|
+
function Ar() {
|
|
147
|
+
if (!We)
|
|
148
148
|
throw new Error("Function called outside component initialization");
|
|
149
|
-
return
|
|
149
|
+
return We;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function En(e) {
|
|
152
|
+
Ar().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
154
|
+
function xn(e) {
|
|
155
|
+
Ar().$$.on_destroy.push(e);
|
|
156
156
|
}
|
|
157
|
-
const Be = [],
|
|
157
|
+
const Be = [], Tt = [];
|
|
158
158
|
let Pe = [];
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
159
|
+
const Jt = [], Sn = /* @__PURE__ */ Promise.resolve();
|
|
160
|
+
let wt = !1;
|
|
161
|
+
function Tn() {
|
|
162
|
+
wt || (wt = !0, Sn.then(L));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Ht(e) {
|
|
165
165
|
Pe.push(e);
|
|
166
166
|
}
|
|
167
|
-
const
|
|
167
|
+
const gt = /* @__PURE__ */ new Set();
|
|
168
168
|
let He = 0;
|
|
169
|
-
function
|
|
169
|
+
function L() {
|
|
170
170
|
if (He !== 0)
|
|
171
171
|
return;
|
|
172
|
-
const e =
|
|
172
|
+
const e = We;
|
|
173
173
|
do {
|
|
174
174
|
try {
|
|
175
175
|
for (; He < Be.length; ) {
|
|
176
176
|
const t = Be[He];
|
|
177
|
-
He++,
|
|
177
|
+
He++, Ve(t), wn(t.$$);
|
|
178
178
|
}
|
|
179
179
|
} catch (t) {
|
|
180
180
|
throw Be.length = 0, He = 0, t;
|
|
181
181
|
}
|
|
182
|
-
for (
|
|
183
|
-
|
|
182
|
+
for (Ve(null), Be.length = 0, He = 0; Tt.length; )
|
|
183
|
+
Tt.pop()();
|
|
184
184
|
for (let t = 0; t < Pe.length; t += 1) {
|
|
185
185
|
const r = Pe[t];
|
|
186
|
-
|
|
186
|
+
gt.has(r) || (gt.add(r), r());
|
|
187
187
|
}
|
|
188
188
|
Pe.length = 0;
|
|
189
189
|
} while (Be.length);
|
|
190
|
-
for (;
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
for (; Jt.length; )
|
|
191
|
+
Jt.pop()();
|
|
192
|
+
wt = !1, gt.clear(), Ve(e);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function wn(e) {
|
|
195
195
|
if (e.fragment !== null) {
|
|
196
|
-
e.update(),
|
|
196
|
+
e.update(), Je(e.before_update);
|
|
197
197
|
const t = e.dirty;
|
|
198
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
198
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Hn(e) {
|
|
202
202
|
const t = [], r = [];
|
|
203
203
|
Pe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Pe = t;
|
|
204
204
|
}
|
|
205
|
-
const
|
|
206
|
-
function
|
|
207
|
-
e && e.i && (
|
|
205
|
+
const An = /* @__PURE__ */ new Set();
|
|
206
|
+
function Bn(e, t) {
|
|
207
|
+
e && e.i && (An.delete(e), e.i(t));
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Zt(e) {
|
|
210
210
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Pn(e, t, r) {
|
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
|
214
|
-
n && n.m(t, r),
|
|
215
|
-
const o = e.$$.on_mount.map(
|
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
217
|
-
}), i.forEach(
|
|
214
|
+
n && n.m(t, r), Ht(() => {
|
|
215
|
+
const o = e.$$.on_mount.map(wr).filter(kt);
|
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Je(o), e.$$.on_mount = [];
|
|
217
|
+
}), i.forEach(Ht);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function On(e, t) {
|
|
220
220
|
const r = e.$$;
|
|
221
|
-
r.fragment !== null && (
|
|
221
|
+
r.fragment !== null && (Hn(r.after_update), Je(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
e.$$.dirty[0] === -1 && (Be.push(e),
|
|
223
|
+
function Ln(e, t) {
|
|
224
|
+
e.$$.dirty[0] === -1 && (Be.push(e), Tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
const l =
|
|
228
|
-
|
|
226
|
+
function Cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
227
|
+
const l = We;
|
|
228
|
+
Ve(e);
|
|
229
229
|
const u = e.$$ = {
|
|
230
230
|
fragment: null,
|
|
231
231
|
ctx: [],
|
|
@@ -233,7 +233,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
233
233
|
props: o,
|
|
234
234
|
update: Z,
|
|
235
235
|
not_equal: i,
|
|
236
|
-
bound:
|
|
236
|
+
bound: zt(),
|
|
237
237
|
// lifecycle
|
|
238
238
|
on_mount: [],
|
|
239
239
|
on_destroy: [],
|
|
@@ -242,28 +242,28 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
242
242
|
after_update: [],
|
|
243
243
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
244
244
|
// everything else
|
|
245
|
-
callbacks:
|
|
245
|
+
callbacks: zt(),
|
|
246
246
|
dirty: a,
|
|
247
247
|
skip_bound: !1,
|
|
248
248
|
root: t.target || l.$$.root
|
|
249
249
|
};
|
|
250
250
|
s && s(u.root);
|
|
251
|
-
let
|
|
251
|
+
let h = !1;
|
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (p, f, ...b) => {
|
|
253
253
|
const x = b.length ? b[0] : f;
|
|
254
|
-
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x),
|
|
255
|
-
}) : [], u.update(),
|
|
254
|
+
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), h && Ln(e, p)), f;
|
|
255
|
+
}) : [], u.update(), h = !0, Je(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
256
256
|
if (t.hydrate) {
|
|
257
|
-
const p =
|
|
257
|
+
const p = vn(t.target);
|
|
258
258
|
u.fragment && u.fragment.l(p), p.forEach(D);
|
|
259
259
|
} else
|
|
260
260
|
u.fragment && u.fragment.c();
|
|
261
|
-
t.intro &&
|
|
261
|
+
t.intro && Bn(e.$$.fragment), Pn(e, t.target, t.anchor), L();
|
|
262
262
|
}
|
|
263
|
-
|
|
263
|
+
Ve(l);
|
|
264
264
|
}
|
|
265
|
-
let
|
|
266
|
-
typeof HTMLElement == "function" && (
|
|
265
|
+
let Br;
|
|
266
|
+
typeof HTMLElement == "function" && (Br = class extends HTMLElement {
|
|
267
267
|
constructor(t, r, n) {
|
|
268
268
|
super();
|
|
269
269
|
/** The Svelte component constructor */
|
|
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
connectedCallback() {
|
|
303
|
-
return
|
|
303
|
+
return Xt(this, null, function* () {
|
|
304
304
|
if (this.$$cn = !0, !this.$$c) {
|
|
305
305
|
let t = function(o) {
|
|
306
306
|
return () => {
|
|
@@ -313,8 +313,8 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
313
313
|
* @param {HTMLElement} target
|
|
314
314
|
* @param {HTMLElement} [anchor]
|
|
315
315
|
*/
|
|
316
|
-
m: function(u,
|
|
317
|
-
|
|
316
|
+
m: function(u, h) {
|
|
317
|
+
F(u, s, h);
|
|
318
318
|
},
|
|
319
319
|
d: function(u) {
|
|
320
320
|
u && D(s);
|
|
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
324
324
|
};
|
|
325
325
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
326
326
|
return;
|
|
327
|
-
const r = {}, n =
|
|
327
|
+
const r = {}, n = _n(this);
|
|
328
328
|
for (const o of this.$$s)
|
|
329
329
|
o in n && (r[o] = [t(o)]);
|
|
330
330
|
for (const o of this.attributes) {
|
|
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
335
335
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
336
336
|
this.$$c = new this.$$ctor({
|
|
337
337
|
target: this.shadowRoot || this,
|
|
338
|
-
props:
|
|
338
|
+
props: Wt(Vt({}, this.$$d), {
|
|
339
339
|
$$slots: r,
|
|
340
340
|
$$scope: {
|
|
341
341
|
ctx: []
|
|
@@ -413,8 +413,8 @@ function ot(e, t, r, n) {
|
|
|
413
413
|
return t;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
417
|
-
let s = class extends
|
|
416
|
+
function In(e, t, r, n, i, o) {
|
|
417
|
+
let s = class extends Br {
|
|
418
418
|
constructor() {
|
|
419
419
|
super(e, r, i), this.$$p_d = t;
|
|
420
420
|
}
|
|
@@ -444,7 +444,7 @@ function Dn(e, t, r, n, i, o) {
|
|
|
444
444
|
}), e.element = /** @type {any} */
|
|
445
445
|
s, s;
|
|
446
446
|
}
|
|
447
|
-
class
|
|
447
|
+
class Nn {
|
|
448
448
|
constructor() {
|
|
449
449
|
/**
|
|
450
450
|
* ### PRIVATE API
|
|
@@ -465,7 +465,7 @@ class Gn {
|
|
|
465
465
|
}
|
|
466
466
|
/** @returns {void} */
|
|
467
467
|
$destroy() {
|
|
468
|
-
|
|
468
|
+
On(this, 1), this.$destroy = Z;
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
471
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -474,7 +474,7 @@ class Gn {
|
|
|
474
474
|
* @returns {() => void}
|
|
475
475
|
*/
|
|
476
476
|
$on(t, r) {
|
|
477
|
-
if (!
|
|
477
|
+
if (!kt(r))
|
|
478
478
|
return Z;
|
|
479
479
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
480
480
|
return n.push(r), () => {
|
|
@@ -487,11 +487,11 @@ class Gn {
|
|
|
487
487
|
* @returns {void}
|
|
488
488
|
*/
|
|
489
489
|
$set(t) {
|
|
490
|
-
this.$$set && !
|
|
490
|
+
this.$$set && !cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
const
|
|
494
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
493
|
+
const Mn = "4";
|
|
494
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mn);
|
|
495
495
|
/*! *****************************************************************************
|
|
496
496
|
Copyright (c) Microsoft Corporation.
|
|
497
497
|
|
|
@@ -506,24 +506,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
506
506
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
507
507
|
PERFORMANCE OF THIS SOFTWARE.
|
|
508
508
|
***************************************************************************** */
|
|
509
|
-
var
|
|
510
|
-
return
|
|
509
|
+
var At = function(e, t) {
|
|
510
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
511
511
|
r.__proto__ = n;
|
|
512
512
|
} || function(r, n) {
|
|
513
513
|
for (var i in n)
|
|
514
514
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
515
|
-
},
|
|
515
|
+
}, At(e, t);
|
|
516
516
|
};
|
|
517
|
-
function
|
|
517
|
+
function ce(e, t) {
|
|
518
518
|
if (typeof t != "function" && t !== null)
|
|
519
519
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
520
|
-
|
|
520
|
+
At(e, t);
|
|
521
521
|
function r() {
|
|
522
522
|
this.constructor = e;
|
|
523
523
|
}
|
|
524
524
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
var B = function() {
|
|
527
|
+
return B = Object.assign || function(t) {
|
|
528
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
529
|
+
r = arguments[n];
|
|
530
|
+
for (var o in r)
|
|
531
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
532
|
+
}
|
|
533
|
+
return t;
|
|
534
|
+
}, B.apply(this, arguments);
|
|
535
|
+
};
|
|
536
|
+
function Rn(e, t) {
|
|
537
|
+
var r = {};
|
|
538
|
+
for (var n in e)
|
|
539
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
540
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
541
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
542
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
543
|
+
return r;
|
|
544
|
+
}
|
|
545
|
+
function Bt(e) {
|
|
527
546
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
528
547
|
if (r)
|
|
529
548
|
return r.call(e);
|
|
@@ -535,7 +554,7 @@ function Lt(e) {
|
|
|
535
554
|
};
|
|
536
555
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
537
556
|
}
|
|
538
|
-
function
|
|
557
|
+
function Pt(e, t) {
|
|
539
558
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
540
559
|
if (!r)
|
|
541
560
|
return e;
|
|
@@ -555,8 +574,8 @@ function Ct(e, t) {
|
|
|
555
574
|
}
|
|
556
575
|
return o;
|
|
557
576
|
}
|
|
558
|
-
function
|
|
559
|
-
if (arguments.length === 2)
|
|
577
|
+
function Oe(e, t, r) {
|
|
578
|
+
if (r || arguments.length === 2)
|
|
560
579
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
561
580
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
562
581
|
return e.concat(o || t);
|
|
@@ -564,13 +583,13 @@ function It(e, t, r) {
|
|
|
564
583
|
function he(e) {
|
|
565
584
|
return typeof e == "function";
|
|
566
585
|
}
|
|
567
|
-
function
|
|
586
|
+
function Pr(e) {
|
|
568
587
|
var t = function(n) {
|
|
569
588
|
Error.call(n), n.stack = new Error().stack;
|
|
570
589
|
}, r = e(t);
|
|
571
590
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
572
591
|
}
|
|
573
|
-
var
|
|
592
|
+
var yt = Pr(function(e) {
|
|
574
593
|
return function(r) {
|
|
575
594
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
576
595
|
` + r.map(function(n, i) {
|
|
@@ -579,13 +598,13 @@ var _t = Nr(function(e) {
|
|
|
579
598
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
580
599
|
};
|
|
581
600
|
});
|
|
582
|
-
function
|
|
601
|
+
function Ot(e, t) {
|
|
583
602
|
if (e) {
|
|
584
603
|
var r = e.indexOf(t);
|
|
585
604
|
0 <= r && e.splice(r, 1);
|
|
586
605
|
}
|
|
587
606
|
}
|
|
588
|
-
var
|
|
607
|
+
var ct = function() {
|
|
589
608
|
function e(t) {
|
|
590
609
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
591
610
|
}
|
|
@@ -597,7 +616,7 @@ var ft = function() {
|
|
|
597
616
|
if (s)
|
|
598
617
|
if (this._parentage = null, Array.isArray(s))
|
|
599
618
|
try {
|
|
600
|
-
for (var a =
|
|
619
|
+
for (var a = Bt(s), l = a.next(); !l.done; l = a.next()) {
|
|
601
620
|
var u = l.value;
|
|
602
621
|
u.remove(this);
|
|
603
622
|
}
|
|
@@ -613,23 +632,23 @@ var ft = function() {
|
|
|
613
632
|
}
|
|
614
633
|
else
|
|
615
634
|
s.remove(this);
|
|
616
|
-
var
|
|
617
|
-
if (he(
|
|
635
|
+
var h = this.initialTeardown;
|
|
636
|
+
if (he(h))
|
|
618
637
|
try {
|
|
619
|
-
|
|
638
|
+
h();
|
|
620
639
|
} catch (g) {
|
|
621
|
-
o = g instanceof
|
|
640
|
+
o = g instanceof yt ? g.errors : [g];
|
|
622
641
|
}
|
|
623
642
|
var p = this._finalizers;
|
|
624
643
|
if (p) {
|
|
625
644
|
this._finalizers = null;
|
|
626
645
|
try {
|
|
627
|
-
for (var f =
|
|
646
|
+
for (var f = Bt(p), b = f.next(); !b.done; b = f.next()) {
|
|
628
647
|
var x = b.value;
|
|
629
648
|
try {
|
|
630
|
-
|
|
649
|
+
Qt(x);
|
|
631
650
|
} catch (g) {
|
|
632
|
-
o = o != null ? o : [], g instanceof
|
|
651
|
+
o = o != null ? o : [], g instanceof yt ? o = Oe(Oe([], Pt(o)), Pt(g.errors)) : o.push(g);
|
|
633
652
|
}
|
|
634
653
|
}
|
|
635
654
|
} catch (g) {
|
|
@@ -644,13 +663,13 @@ var ft = function() {
|
|
|
644
663
|
}
|
|
645
664
|
}
|
|
646
665
|
if (o)
|
|
647
|
-
throw new
|
|
666
|
+
throw new yt(o);
|
|
648
667
|
}
|
|
649
668
|
}, e.prototype.add = function(t) {
|
|
650
669
|
var r;
|
|
651
670
|
if (t && t !== this)
|
|
652
671
|
if (this.closed)
|
|
653
|
-
|
|
672
|
+
Qt(t);
|
|
654
673
|
else {
|
|
655
674
|
if (t instanceof e) {
|
|
656
675
|
if (t.closed || t._hasParent(this))
|
|
@@ -667,52 +686,52 @@ var ft = function() {
|
|
|
667
686
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
668
687
|
}, e.prototype._removeParent = function(t) {
|
|
669
688
|
var r = this._parentage;
|
|
670
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
689
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
|
|
671
690
|
}, e.prototype.remove = function(t) {
|
|
672
691
|
var r = this._finalizers;
|
|
673
|
-
r &&
|
|
692
|
+
r && Ot(r, t), t instanceof e && t._removeParent(this);
|
|
674
693
|
}, e.EMPTY = function() {
|
|
675
694
|
var t = new e();
|
|
676
695
|
return t.closed = !0, t;
|
|
677
696
|
}(), e;
|
|
678
|
-
}(),
|
|
679
|
-
function
|
|
680
|
-
return e instanceof
|
|
697
|
+
}(), Or = ct.EMPTY;
|
|
698
|
+
function Lr(e) {
|
|
699
|
+
return e instanceof ct || e && "closed" in e && he(e.remove) && he(e.add) && he(e.unsubscribe);
|
|
681
700
|
}
|
|
682
|
-
function
|
|
701
|
+
function Qt(e) {
|
|
683
702
|
he(e) ? e() : e.unsubscribe();
|
|
684
703
|
}
|
|
685
|
-
var
|
|
704
|
+
var Un = {
|
|
686
705
|
Promise: void 0
|
|
687
|
-
},
|
|
706
|
+
}, Dn = {
|
|
688
707
|
setTimeout: function(e, t) {
|
|
689
708
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
690
709
|
r[n - 2] = arguments[n];
|
|
691
|
-
return setTimeout.apply(void 0,
|
|
710
|
+
return setTimeout.apply(void 0, Oe([e, t], Pt(r)));
|
|
692
711
|
},
|
|
693
712
|
clearTimeout: function(e) {
|
|
694
713
|
return clearTimeout(e);
|
|
695
714
|
},
|
|
696
715
|
delegate: void 0
|
|
697
716
|
};
|
|
698
|
-
function
|
|
699
|
-
|
|
717
|
+
function Gn(e) {
|
|
718
|
+
Dn.setTimeout(function() {
|
|
700
719
|
throw e;
|
|
701
720
|
});
|
|
702
721
|
}
|
|
703
|
-
function
|
|
722
|
+
function Yt() {
|
|
704
723
|
}
|
|
705
724
|
function st(e) {
|
|
706
725
|
e();
|
|
707
726
|
}
|
|
708
|
-
var
|
|
709
|
-
|
|
727
|
+
var Cr = function(e) {
|
|
728
|
+
ce(t, e);
|
|
710
729
|
function t(r) {
|
|
711
730
|
var n = e.call(this) || this;
|
|
712
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
731
|
+
return n.isStopped = !1, r ? (n.destination = r, Lr(r) && r.add(n)) : n.destination = Fn, n;
|
|
713
732
|
}
|
|
714
733
|
return t.create = function(r, n, i) {
|
|
715
|
-
return new
|
|
734
|
+
return new Lt(r, n, i);
|
|
716
735
|
}, t.prototype.next = function(r) {
|
|
717
736
|
this.isStopped || this._next(r);
|
|
718
737
|
}, t.prototype.error = function(r) {
|
|
@@ -736,7 +755,7 @@ var Ur = function(e) {
|
|
|
736
755
|
this.unsubscribe();
|
|
737
756
|
}
|
|
738
757
|
}, t;
|
|
739
|
-
}(
|
|
758
|
+
}(ct), kn = function() {
|
|
740
759
|
function e(t) {
|
|
741
760
|
this.partialObserver = t;
|
|
742
761
|
}
|
|
@@ -767,43 +786,43 @@ var Ur = function(e) {
|
|
|
767
786
|
nt(r);
|
|
768
787
|
}
|
|
769
788
|
}, e;
|
|
770
|
-
}(),
|
|
771
|
-
|
|
789
|
+
}(), Lt = function(e) {
|
|
790
|
+
ce(t, e);
|
|
772
791
|
function t(r, n, i) {
|
|
773
792
|
var o = e.call(this) || this, s;
|
|
774
793
|
return he(r) || !r ? s = {
|
|
775
794
|
next: r != null ? r : void 0,
|
|
776
795
|
error: n != null ? n : void 0,
|
|
777
796
|
complete: i != null ? i : void 0
|
|
778
|
-
} : s = r, o.destination = new
|
|
797
|
+
} : s = r, o.destination = new kn(s), o;
|
|
779
798
|
}
|
|
780
799
|
return t;
|
|
781
|
-
}(
|
|
800
|
+
}(Cr);
|
|
782
801
|
function nt(e) {
|
|
783
|
-
|
|
802
|
+
Gn(e);
|
|
784
803
|
}
|
|
785
|
-
function
|
|
804
|
+
function jn(e) {
|
|
786
805
|
throw e;
|
|
787
806
|
}
|
|
788
|
-
var
|
|
807
|
+
var Fn = {
|
|
789
808
|
closed: !0,
|
|
790
|
-
next:
|
|
791
|
-
error:
|
|
792
|
-
complete:
|
|
793
|
-
},
|
|
809
|
+
next: Yt,
|
|
810
|
+
error: jn,
|
|
811
|
+
complete: Yt
|
|
812
|
+
}, $n = function() {
|
|
794
813
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
795
814
|
}();
|
|
796
|
-
function
|
|
815
|
+
function Vn(e) {
|
|
797
816
|
return e;
|
|
798
817
|
}
|
|
799
|
-
function
|
|
800
|
-
return e.length === 0 ?
|
|
818
|
+
function Wn(e) {
|
|
819
|
+
return e.length === 0 ? Vn : e.length === 1 ? e[0] : function(r) {
|
|
801
820
|
return e.reduce(function(n, i) {
|
|
802
821
|
return i(n);
|
|
803
822
|
}, r);
|
|
804
823
|
};
|
|
805
824
|
}
|
|
806
|
-
var
|
|
825
|
+
var qt = function() {
|
|
807
826
|
function e(t) {
|
|
808
827
|
t && (this._subscribe = t);
|
|
809
828
|
}
|
|
@@ -811,7 +830,7 @@ var nr = function() {
|
|
|
811
830
|
var r = new e();
|
|
812
831
|
return r.source = this, r.operator = t, r;
|
|
813
832
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
814
|
-
var i = this, o =
|
|
833
|
+
var i = this, o = zn(t) ? t : new Lt(t, r, n);
|
|
815
834
|
return st(function() {
|
|
816
835
|
var s = i, a = s.operator, l = s.source;
|
|
817
836
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -824,8 +843,8 @@ var nr = function() {
|
|
|
824
843
|
}
|
|
825
844
|
}, e.prototype.forEach = function(t, r) {
|
|
826
845
|
var n = this;
|
|
827
|
-
return r =
|
|
828
|
-
var s = new
|
|
846
|
+
return r = Kt(r), new r(function(i, o) {
|
|
847
|
+
var s = new Lt({
|
|
829
848
|
next: function(a) {
|
|
830
849
|
try {
|
|
831
850
|
t(a);
|
|
@@ -841,15 +860,15 @@ var nr = function() {
|
|
|
841
860
|
}, e.prototype._subscribe = function(t) {
|
|
842
861
|
var r;
|
|
843
862
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
844
|
-
}, e.prototype[
|
|
863
|
+
}, e.prototype[$n] = function() {
|
|
845
864
|
return this;
|
|
846
865
|
}, e.prototype.pipe = function() {
|
|
847
866
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
848
867
|
t[r] = arguments[r];
|
|
849
|
-
return
|
|
868
|
+
return Wn(t)(this);
|
|
850
869
|
}, e.prototype.toPromise = function(t) {
|
|
851
870
|
var r = this;
|
|
852
|
-
return t =
|
|
871
|
+
return t = Kt(t), new t(function(n, i) {
|
|
853
872
|
var o;
|
|
854
873
|
r.subscribe(function(s) {
|
|
855
874
|
return o = s;
|
|
@@ -863,32 +882,32 @@ var nr = function() {
|
|
|
863
882
|
return new e(t);
|
|
864
883
|
}, e;
|
|
865
884
|
}();
|
|
866
|
-
function
|
|
885
|
+
function Kt(e) {
|
|
867
886
|
var t;
|
|
868
|
-
return (t = e != null ? e :
|
|
887
|
+
return (t = e != null ? e : Un.Promise) !== null && t !== void 0 ? t : Promise;
|
|
869
888
|
}
|
|
870
|
-
function
|
|
889
|
+
function Xn(e) {
|
|
871
890
|
return e && he(e.next) && he(e.error) && he(e.complete);
|
|
872
891
|
}
|
|
873
|
-
function
|
|
874
|
-
return e && e instanceof
|
|
892
|
+
function zn(e) {
|
|
893
|
+
return e && e instanceof Cr || Xn(e) && Lr(e);
|
|
875
894
|
}
|
|
876
|
-
var
|
|
895
|
+
var Jn = Pr(function(e) {
|
|
877
896
|
return function() {
|
|
878
897
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
879
898
|
};
|
|
880
|
-
}),
|
|
881
|
-
|
|
899
|
+
}), Ir = function(e) {
|
|
900
|
+
ce(t, e);
|
|
882
901
|
function t() {
|
|
883
902
|
var r = e.call(this) || this;
|
|
884
903
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
885
904
|
}
|
|
886
905
|
return t.prototype.lift = function(r) {
|
|
887
|
-
var n = new
|
|
906
|
+
var n = new er(this, this);
|
|
888
907
|
return n.operator = r, n;
|
|
889
908
|
}, t.prototype._throwIfClosed = function() {
|
|
890
909
|
if (this.closed)
|
|
891
|
-
throw new
|
|
910
|
+
throw new Jn();
|
|
892
911
|
}, t.prototype.next = function(r) {
|
|
893
912
|
var n = this;
|
|
894
913
|
st(function() {
|
|
@@ -896,7 +915,7 @@ var qn = Nr(function(e) {
|
|
|
896
915
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
897
916
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
898
917
|
try {
|
|
899
|
-
for (var s =
|
|
918
|
+
for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
900
919
|
var l = a.value;
|
|
901
920
|
l.next(r);
|
|
902
921
|
}
|
|
@@ -945,20 +964,20 @@ var qn = Nr(function(e) {
|
|
|
945
964
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
946
965
|
}, t.prototype._innerSubscribe = function(r) {
|
|
947
966
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
948
|
-
return o || s ?
|
|
949
|
-
n.currentObservers = null,
|
|
967
|
+
return o || s ? Or : (this.currentObservers = null, a.push(r), new ct(function() {
|
|
968
|
+
n.currentObservers = null, Ot(a, r);
|
|
950
969
|
}));
|
|
951
970
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
952
971
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
953
972
|
i ? r.error(o) : s && r.complete();
|
|
954
973
|
}, t.prototype.asObservable = function() {
|
|
955
|
-
var r = new
|
|
974
|
+
var r = new qt();
|
|
956
975
|
return r.source = this, r;
|
|
957
976
|
}, t.create = function(r, n) {
|
|
958
|
-
return new
|
|
977
|
+
return new er(r, n);
|
|
959
978
|
}, t;
|
|
960
|
-
}(
|
|
961
|
-
|
|
979
|
+
}(qt), er = function(e) {
|
|
980
|
+
ce(t, e);
|
|
962
981
|
function t(r, n) {
|
|
963
982
|
var i = e.call(this) || this;
|
|
964
983
|
return i.destination = r, i.source = n, i;
|
|
@@ -974,17 +993,17 @@ var qn = Nr(function(e) {
|
|
|
974
993
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
975
994
|
}, t.prototype._subscribe = function(r) {
|
|
976
995
|
var n, i;
|
|
977
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
996
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Or;
|
|
978
997
|
}, t;
|
|
979
|
-
}(
|
|
998
|
+
}(Ir), Nr = {
|
|
980
999
|
now: function() {
|
|
981
|
-
return (
|
|
1000
|
+
return (Nr.delegate || Date).now();
|
|
982
1001
|
},
|
|
983
1002
|
delegate: void 0
|
|
984
|
-
},
|
|
985
|
-
|
|
1003
|
+
}, Zn = function(e) {
|
|
1004
|
+
ce(t, e);
|
|
986
1005
|
function t(r, n, i) {
|
|
987
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1006
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
|
|
988
1007
|
var o = e.call(this) || this;
|
|
989
1008
|
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;
|
|
990
1009
|
}
|
|
@@ -999,29 +1018,29 @@ var qn = Nr(function(e) {
|
|
|
999
1018
|
}, t.prototype._trimBuffer = function() {
|
|
1000
1019
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1001
1020
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1002
|
-
for (var l = i.now(), u = 0,
|
|
1003
|
-
u =
|
|
1021
|
+
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1022
|
+
u = h;
|
|
1004
1023
|
u && o.splice(0, u + 1);
|
|
1005
1024
|
}
|
|
1006
1025
|
}, t;
|
|
1007
|
-
}(
|
|
1008
|
-
const
|
|
1009
|
-
if (
|
|
1010
|
-
const r = new
|
|
1011
|
-
|
|
1026
|
+
}(Ir);
|
|
1027
|
+
const tr = [], rr = {}, Qn = (e, t = 0) => {
|
|
1028
|
+
if (tr.indexOf(e) == -1) {
|
|
1029
|
+
const r = new Zn(t);
|
|
1030
|
+
rr[e] = r, tr.push(e);
|
|
1012
1031
|
}
|
|
1013
|
-
return
|
|
1032
|
+
return rr[e];
|
|
1014
1033
|
}, Ae = [];
|
|
1015
|
-
function
|
|
1034
|
+
function Yn(e, t) {
|
|
1016
1035
|
return {
|
|
1017
|
-
subscribe:
|
|
1036
|
+
subscribe: ft(e, t).subscribe
|
|
1018
1037
|
};
|
|
1019
1038
|
}
|
|
1020
|
-
function
|
|
1039
|
+
function ft(e, t = Z) {
|
|
1021
1040
|
let r;
|
|
1022
1041
|
const n = /* @__PURE__ */ new Set();
|
|
1023
1042
|
function i(a) {
|
|
1024
|
-
if (
|
|
1043
|
+
if (Hr(e, a) && (e = a, r)) {
|
|
1025
1044
|
const l = !Ae.length;
|
|
1026
1045
|
for (const u of n)
|
|
1027
1046
|
u[1](), Ae.push(u, e);
|
|
@@ -1043,184 +1062,142 @@ function pt(e, t = Z) {
|
|
|
1043
1062
|
}
|
|
1044
1063
|
return { set: i, update: o, subscribe: s };
|
|
1045
1064
|
}
|
|
1046
|
-
function
|
|
1065
|
+
function Me(e, t, r) {
|
|
1047
1066
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1048
1067
|
if (!i.every(Boolean))
|
|
1049
1068
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1050
1069
|
const o = t.length < 2;
|
|
1051
|
-
return
|
|
1070
|
+
return Yn(r, (s, a) => {
|
|
1052
1071
|
let l = !1;
|
|
1053
1072
|
const u = [];
|
|
1054
|
-
let
|
|
1073
|
+
let h = 0, p = Z;
|
|
1055
1074
|
const f = () => {
|
|
1056
|
-
if (
|
|
1075
|
+
if (h)
|
|
1057
1076
|
return;
|
|
1058
1077
|
p();
|
|
1059
1078
|
const x = t(n ? u[0] : u, s, a);
|
|
1060
|
-
o ? s(x) : p =
|
|
1079
|
+
o ? s(x) : p = kt(x) ? x : Z;
|
|
1061
1080
|
}, b = i.map(
|
|
1062
|
-
(x, g) =>
|
|
1081
|
+
(x, g) => fn(
|
|
1063
1082
|
x,
|
|
1064
1083
|
(v) => {
|
|
1065
|
-
u[g] = v,
|
|
1084
|
+
u[g] = v, h &= ~(1 << g), l && f();
|
|
1066
1085
|
},
|
|
1067
1086
|
() => {
|
|
1068
|
-
|
|
1087
|
+
h |= 1 << g;
|
|
1069
1088
|
}
|
|
1070
1089
|
)
|
|
1071
1090
|
);
|
|
1072
1091
|
return l = !0, f(), function() {
|
|
1073
|
-
|
|
1092
|
+
Je(b), p(), l = !1;
|
|
1074
1093
|
};
|
|
1075
1094
|
});
|
|
1076
1095
|
}
|
|
1077
|
-
function
|
|
1096
|
+
function qn(e) {
|
|
1078
1097
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1079
1098
|
}
|
|
1080
|
-
var
|
|
1081
|
-
return
|
|
1099
|
+
var Kn = function(t) {
|
|
1100
|
+
return ei(t) && !ti(t);
|
|
1082
1101
|
};
|
|
1083
|
-
function
|
|
1102
|
+
function ei(e) {
|
|
1084
1103
|
return !!e && typeof e == "object";
|
|
1085
1104
|
}
|
|
1086
|
-
function
|
|
1105
|
+
function ti(e) {
|
|
1087
1106
|
var t = Object.prototype.toString.call(e);
|
|
1088
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1107
|
+
return t === "[object RegExp]" || t === "[object Date]" || ii(e);
|
|
1089
1108
|
}
|
|
1090
|
-
var
|
|
1091
|
-
function
|
|
1092
|
-
return e.$$typeof ===
|
|
1109
|
+
var ri = typeof Symbol == "function" && Symbol.for, ni = ri ? Symbol.for("react.element") : 60103;
|
|
1110
|
+
function ii(e) {
|
|
1111
|
+
return e.$$typeof === ni;
|
|
1093
1112
|
}
|
|
1094
|
-
function
|
|
1113
|
+
function oi(e) {
|
|
1095
1114
|
return Array.isArray(e) ? [] : {};
|
|
1096
1115
|
}
|
|
1097
|
-
function
|
|
1098
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1116
|
+
function Xe(e, t) {
|
|
1117
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Le(oi(e), e, t) : e;
|
|
1099
1118
|
}
|
|
1100
|
-
function
|
|
1119
|
+
function si(e, t, r) {
|
|
1101
1120
|
return e.concat(t).map(function(n) {
|
|
1102
|
-
return
|
|
1121
|
+
return Xe(n, r);
|
|
1103
1122
|
});
|
|
1104
1123
|
}
|
|
1105
|
-
function
|
|
1124
|
+
function ai(e, t) {
|
|
1106
1125
|
if (!t.customMerge)
|
|
1107
|
-
return
|
|
1126
|
+
return Le;
|
|
1108
1127
|
var r = t.customMerge(e);
|
|
1109
|
-
return typeof r == "function" ? r :
|
|
1128
|
+
return typeof r == "function" ? r : Le;
|
|
1110
1129
|
}
|
|
1111
|
-
function
|
|
1130
|
+
function ui(e) {
|
|
1112
1131
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1113
1132
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1114
1133
|
}) : [];
|
|
1115
1134
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return Object.keys(e).concat(
|
|
1135
|
+
function nr(e) {
|
|
1136
|
+
return Object.keys(e).concat(ui(e));
|
|
1118
1137
|
}
|
|
1119
|
-
function
|
|
1138
|
+
function Mr(e, t) {
|
|
1120
1139
|
try {
|
|
1121
1140
|
return t in e;
|
|
1122
1141
|
} catch (r) {
|
|
1123
1142
|
return !1;
|
|
1124
1143
|
}
|
|
1125
1144
|
}
|
|
1126
|
-
function
|
|
1127
|
-
return
|
|
1145
|
+
function li(e, t) {
|
|
1146
|
+
return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1128
1147
|
}
|
|
1129
|
-
function
|
|
1148
|
+
function hi(e, t, r) {
|
|
1130
1149
|
var n = {};
|
|
1131
|
-
return r.isMergeableObject(e) &&
|
|
1132
|
-
n[i] =
|
|
1133
|
-
}),
|
|
1134
|
-
|
|
1150
|
+
return r.isMergeableObject(e) && nr(e).forEach(function(i) {
|
|
1151
|
+
n[i] = Xe(e[i], r);
|
|
1152
|
+
}), nr(t).forEach(function(i) {
|
|
1153
|
+
li(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ai(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
|
|
1135
1154
|
}), n;
|
|
1136
1155
|
}
|
|
1137
|
-
function
|
|
1138
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1156
|
+
function Le(e, t, r) {
|
|
1157
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || si, r.isMergeableObject = r.isMergeableObject || Kn, r.cloneUnlessOtherwiseSpecified = Xe;
|
|
1139
1158
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1140
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1159
|
+
return o ? n ? r.arrayMerge(e, t, r) : hi(e, t, r) : Xe(t, r);
|
|
1141
1160
|
}
|
|
1142
|
-
|
|
1161
|
+
Le.all = function(t, r) {
|
|
1143
1162
|
if (!Array.isArray(t))
|
|
1144
1163
|
throw new Error("first argument should be an array");
|
|
1145
1164
|
return t.reduce(function(n, i) {
|
|
1146
|
-
return
|
|
1165
|
+
return Le(n, i, r);
|
|
1147
1166
|
}, {});
|
|
1148
1167
|
};
|
|
1149
|
-
var
|
|
1150
|
-
const
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
r.__proto__ = n;
|
|
1154
|
-
} || function(r, n) {
|
|
1155
|
-
for (var i in n)
|
|
1156
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1157
|
-
}, Rt(e, t);
|
|
1158
|
-
};
|
|
1159
|
-
function dt(e, t) {
|
|
1160
|
-
if (typeof t != "function" && t !== null)
|
|
1161
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1162
|
-
Rt(e, t);
|
|
1163
|
-
function r() {
|
|
1164
|
-
this.constructor = e;
|
|
1165
|
-
}
|
|
1166
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1167
|
-
}
|
|
1168
|
-
var ne = function() {
|
|
1169
|
-
return ne = Object.assign || function(t) {
|
|
1170
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1171
|
-
r = arguments[n];
|
|
1172
|
-
for (var o in r)
|
|
1173
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1174
|
-
}
|
|
1175
|
-
return t;
|
|
1176
|
-
}, ne.apply(this, arguments);
|
|
1177
|
-
};
|
|
1178
|
-
function yi(e, t) {
|
|
1179
|
-
var r = {};
|
|
1180
|
-
for (var n in e)
|
|
1181
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1182
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1183
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1184
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1185
|
-
return r;
|
|
1186
|
-
}
|
|
1187
|
-
function Et(e, t, r) {
|
|
1188
|
-
if (r || arguments.length === 2)
|
|
1189
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1190
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1191
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1192
|
-
}
|
|
1193
|
-
function xt(e, t) {
|
|
1194
|
-
var r = t && t.cache ? t.cache : wi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
|
|
1168
|
+
var ci = Le, fi = ci;
|
|
1169
|
+
const pi = /* @__PURE__ */ qn(fi);
|
|
1170
|
+
function vt(e, t) {
|
|
1171
|
+
var r = t && t.cache ? t.cache : _i, n = t && t.serializer ? t.serializer : yi, i = t && t.strategy ? t.strategy : bi;
|
|
1195
1172
|
return i(e, {
|
|
1196
1173
|
cache: r,
|
|
1197
1174
|
serializer: n
|
|
1198
1175
|
});
|
|
1199
1176
|
}
|
|
1200
|
-
function
|
|
1177
|
+
function di(e) {
|
|
1201
1178
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1202
1179
|
}
|
|
1203
|
-
function
|
|
1204
|
-
var i =
|
|
1180
|
+
function mi(e, t, r, n) {
|
|
1181
|
+
var i = di(n) ? n : r(n), o = t.get(i);
|
|
1205
1182
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1206
1183
|
}
|
|
1207
|
-
function
|
|
1184
|
+
function Rr(e, t, r) {
|
|
1208
1185
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1209
1186
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1210
1187
|
}
|
|
1211
|
-
function
|
|
1188
|
+
function Ur(e, t, r, n, i) {
|
|
1212
1189
|
return r.bind(t, e, n, i);
|
|
1213
1190
|
}
|
|
1214
|
-
function
|
|
1215
|
-
var r = e.length === 1 ?
|
|
1216
|
-
return
|
|
1191
|
+
function bi(e, t) {
|
|
1192
|
+
var r = e.length === 1 ? mi : Rr;
|
|
1193
|
+
return Ur(e, this, r, t.cache.create(), t.serializer);
|
|
1217
1194
|
}
|
|
1218
|
-
function
|
|
1219
|
-
return
|
|
1195
|
+
function gi(e, t) {
|
|
1196
|
+
return Ur(e, this, Rr, t.cache.create(), t.serializer);
|
|
1220
1197
|
}
|
|
1221
|
-
var
|
|
1198
|
+
var yi = function() {
|
|
1222
1199
|
return JSON.stringify(arguments);
|
|
1223
|
-
},
|
|
1200
|
+
}, vi = (
|
|
1224
1201
|
/** @class */
|
|
1225
1202
|
function() {
|
|
1226
1203
|
function e() {
|
|
@@ -1232,71 +1209,61 @@ var Si = function() {
|
|
|
1232
1209
|
this.cache[t] = r;
|
|
1233
1210
|
}, e;
|
|
1234
1211
|
}()
|
|
1235
|
-
),
|
|
1212
|
+
), _i = {
|
|
1236
1213
|
create: function() {
|
|
1237
|
-
return new
|
|
1214
|
+
return new vi();
|
|
1238
1215
|
}
|
|
1239
|
-
},
|
|
1240
|
-
variadic:
|
|
1241
|
-
},
|
|
1242
|
-
return lt = Object.assign || function(t) {
|
|
1243
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1244
|
-
r = arguments[n];
|
|
1245
|
-
for (var o in r)
|
|
1246
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1247
|
-
}
|
|
1248
|
-
return t;
|
|
1249
|
-
}, lt.apply(this, arguments);
|
|
1250
|
-
};
|
|
1251
|
-
var w;
|
|
1216
|
+
}, _t = {
|
|
1217
|
+
variadic: gi
|
|
1218
|
+
}, w;
|
|
1252
1219
|
(function(e) {
|
|
1253
1220
|
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";
|
|
1254
1221
|
})(w || (w = {}));
|
|
1255
|
-
var
|
|
1222
|
+
var P;
|
|
1256
1223
|
(function(e) {
|
|
1257
1224
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1258
|
-
})(
|
|
1259
|
-
var
|
|
1225
|
+
})(P || (P = {}));
|
|
1226
|
+
var Ce;
|
|
1260
1227
|
(function(e) {
|
|
1261
1228
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1262
|
-
})(
|
|
1263
|
-
function
|
|
1264
|
-
return e.type ===
|
|
1229
|
+
})(Ce || (Ce = {}));
|
|
1230
|
+
function ir(e) {
|
|
1231
|
+
return e.type === P.literal;
|
|
1265
1232
|
}
|
|
1266
|
-
function
|
|
1267
|
-
return e.type ===
|
|
1233
|
+
function Ei(e) {
|
|
1234
|
+
return e.type === P.argument;
|
|
1268
1235
|
}
|
|
1269
|
-
function
|
|
1270
|
-
return e.type ===
|
|
1236
|
+
function Dr(e) {
|
|
1237
|
+
return e.type === P.number;
|
|
1271
1238
|
}
|
|
1272
|
-
function
|
|
1273
|
-
return e.type ===
|
|
1239
|
+
function Gr(e) {
|
|
1240
|
+
return e.type === P.date;
|
|
1274
1241
|
}
|
|
1275
|
-
function
|
|
1276
|
-
return e.type ===
|
|
1242
|
+
function kr(e) {
|
|
1243
|
+
return e.type === P.time;
|
|
1277
1244
|
}
|
|
1278
|
-
function
|
|
1279
|
-
return e.type ===
|
|
1245
|
+
function jr(e) {
|
|
1246
|
+
return e.type === P.select;
|
|
1280
1247
|
}
|
|
1281
|
-
function
|
|
1282
|
-
return e.type ===
|
|
1248
|
+
function Fr(e) {
|
|
1249
|
+
return e.type === P.plural;
|
|
1283
1250
|
}
|
|
1284
|
-
function
|
|
1285
|
-
return e.type ===
|
|
1251
|
+
function xi(e) {
|
|
1252
|
+
return e.type === P.pound;
|
|
1286
1253
|
}
|
|
1287
|
-
function
|
|
1288
|
-
return e.type ===
|
|
1254
|
+
function $r(e) {
|
|
1255
|
+
return e.type === P.tag;
|
|
1289
1256
|
}
|
|
1290
|
-
function
|
|
1291
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1257
|
+
function Vr(e) {
|
|
1258
|
+
return !!(e && typeof e == "object" && e.type === Ce.number);
|
|
1292
1259
|
}
|
|
1293
|
-
function
|
|
1294
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1260
|
+
function Ct(e) {
|
|
1261
|
+
return !!(e && typeof e == "object" && e.type === Ce.dateTime);
|
|
1295
1262
|
}
|
|
1296
|
-
var
|
|
1297
|
-
function
|
|
1263
|
+
var Wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
|
|
1264
|
+
function Ti(e) {
|
|
1298
1265
|
var t = {};
|
|
1299
|
-
return e.replace(
|
|
1266
|
+
return e.replace(Si, function(r) {
|
|
1300
1267
|
var n = r.length;
|
|
1301
1268
|
switch (r[0]) {
|
|
1302
1269
|
case "G":
|
|
@@ -1385,28 +1352,18 @@ function Pi(e) {
|
|
|
1385
1352
|
return "";
|
|
1386
1353
|
}), t;
|
|
1387
1354
|
}
|
|
1388
|
-
var
|
|
1389
|
-
|
|
1390
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1391
|
-
r = arguments[n];
|
|
1392
|
-
for (var o in r)
|
|
1393
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1394
|
-
}
|
|
1395
|
-
return t;
|
|
1396
|
-
}, L.apply(this, arguments);
|
|
1397
|
-
};
|
|
1398
|
-
var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1399
|
-
function Li(e) {
|
|
1355
|
+
var wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1356
|
+
function Hi(e) {
|
|
1400
1357
|
if (e.length === 0)
|
|
1401
1358
|
throw new Error("Number skeleton cannot be empty");
|
|
1402
|
-
for (var t = e.split(
|
|
1359
|
+
for (var t = e.split(wi).filter(function(f) {
|
|
1403
1360
|
return f.length > 0;
|
|
1404
1361
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1405
1362
|
var o = i[n], s = o.split("/");
|
|
1406
1363
|
if (s.length === 0)
|
|
1407
1364
|
throw new Error("Invalid number skeleton");
|
|
1408
|
-
for (var a = s[0], l = s.slice(1), u = 0,
|
|
1409
|
-
var p =
|
|
1365
|
+
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1366
|
+
var p = h[u];
|
|
1410
1367
|
if (p.length === 0)
|
|
1411
1368
|
throw new Error("Invalid number skeleton");
|
|
1412
1369
|
}
|
|
@@ -1414,17 +1371,17 @@ function Li(e) {
|
|
|
1414
1371
|
}
|
|
1415
1372
|
return r;
|
|
1416
1373
|
}
|
|
1417
|
-
function
|
|
1374
|
+
function Ai(e) {
|
|
1418
1375
|
return e.replace(/^(.*?)-/, "");
|
|
1419
1376
|
}
|
|
1420
|
-
var
|
|
1421
|
-
function
|
|
1377
|
+
var or = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
|
|
1378
|
+
function sr(e) {
|
|
1422
1379
|
var t = {};
|
|
1423
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1380
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xr, function(r, n, i) {
|
|
1424
1381
|
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)), "";
|
|
1425
1382
|
}), t;
|
|
1426
1383
|
}
|
|
1427
|
-
function
|
|
1384
|
+
function Jr(e) {
|
|
1428
1385
|
switch (e) {
|
|
1429
1386
|
case "sign-auto":
|
|
1430
1387
|
return {
|
|
@@ -1464,7 +1421,7 @@ function Kr(e) {
|
|
|
1464
1421
|
};
|
|
1465
1422
|
}
|
|
1466
1423
|
}
|
|
1467
|
-
function
|
|
1424
|
+
function Pi(e) {
|
|
1468
1425
|
var t;
|
|
1469
1426
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1470
1427
|
notation: "engineering"
|
|
@@ -1472,17 +1429,17 @@ function Ni(e) {
|
|
|
1472
1429
|
notation: "scientific"
|
|
1473
1430
|
}, e = e.slice(1)), t) {
|
|
1474
1431
|
var r = e.slice(0, 2);
|
|
1475
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1432
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zr.test(e))
|
|
1476
1433
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1477
1434
|
t.minimumIntegerDigits = e.length;
|
|
1478
1435
|
}
|
|
1479
1436
|
return t;
|
|
1480
1437
|
}
|
|
1481
|
-
function
|
|
1482
|
-
var t = {}, r =
|
|
1438
|
+
function ar(e) {
|
|
1439
|
+
var t = {}, r = Jr(e);
|
|
1483
1440
|
return r || t;
|
|
1484
1441
|
}
|
|
1485
|
-
function
|
|
1442
|
+
function Oi(e) {
|
|
1486
1443
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1487
1444
|
var i = n[r];
|
|
1488
1445
|
switch (i.stem) {
|
|
@@ -1506,7 +1463,7 @@ function Mi(e) {
|
|
|
1506
1463
|
continue;
|
|
1507
1464
|
case "measure-unit":
|
|
1508
1465
|
case "unit":
|
|
1509
|
-
t.style = "unit", t.unit =
|
|
1466
|
+
t.style = "unit", t.unit = Ai(i.options[0]);
|
|
1510
1467
|
continue;
|
|
1511
1468
|
case "compact-short":
|
|
1512
1469
|
case "K":
|
|
@@ -1517,13 +1474,13 @@ function Mi(e) {
|
|
|
1517
1474
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1518
1475
|
continue;
|
|
1519
1476
|
case "scientific":
|
|
1520
|
-
t =
|
|
1521
|
-
return
|
|
1477
|
+
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1478
|
+
return B(B({}, l), ar(u));
|
|
1522
1479
|
}, {}));
|
|
1523
1480
|
continue;
|
|
1524
1481
|
case "engineering":
|
|
1525
|
-
t =
|
|
1526
|
-
return
|
|
1482
|
+
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1483
|
+
return B(B({}, l), ar(u));
|
|
1527
1484
|
}, {}));
|
|
1528
1485
|
continue;
|
|
1529
1486
|
case "notation-simple":
|
|
@@ -1568,9 +1525,9 @@ function Mi(e) {
|
|
|
1568
1525
|
case "integer-width":
|
|
1569
1526
|
if (i.options.length > 1)
|
|
1570
1527
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1571
|
-
i.options[0].replace(
|
|
1528
|
+
i.options[0].replace(Bi, function(l, u, h, p, f, b) {
|
|
1572
1529
|
if (u)
|
|
1573
|
-
t.minimumIntegerDigits =
|
|
1530
|
+
t.minimumIntegerDigits = h.length;
|
|
1574
1531
|
else {
|
|
1575
1532
|
if (p && f)
|
|
1576
1533
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1581,28 +1538,28 @@ function Mi(e) {
|
|
|
1581
1538
|
});
|
|
1582
1539
|
continue;
|
|
1583
1540
|
}
|
|
1584
|
-
if (
|
|
1541
|
+
if (zr.test(i.stem)) {
|
|
1585
1542
|
t.minimumIntegerDigits = i.stem.length;
|
|
1586
1543
|
continue;
|
|
1587
1544
|
}
|
|
1588
|
-
if (
|
|
1545
|
+
if (or.test(i.stem)) {
|
|
1589
1546
|
if (i.options.length > 1)
|
|
1590
1547
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1591
|
-
i.stem.replace(
|
|
1592
|
-
return
|
|
1548
|
+
i.stem.replace(or, function(l, u, h, p, f, b) {
|
|
1549
|
+
return h === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1593
1550
|
});
|
|
1594
1551
|
var o = i.options[0];
|
|
1595
|
-
o === "w" ? t =
|
|
1552
|
+
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), sr(o)));
|
|
1596
1553
|
continue;
|
|
1597
1554
|
}
|
|
1598
|
-
if (
|
|
1599
|
-
t =
|
|
1555
|
+
if (Xr.test(i.stem)) {
|
|
1556
|
+
t = B(B({}, t), sr(i.stem));
|
|
1600
1557
|
continue;
|
|
1601
1558
|
}
|
|
1602
|
-
var s =
|
|
1603
|
-
s && (t =
|
|
1604
|
-
var a =
|
|
1605
|
-
a && (t =
|
|
1559
|
+
var s = Jr(i.stem);
|
|
1560
|
+
s && (t = B(B({}, t), s));
|
|
1561
|
+
var a = Pi(i.stem);
|
|
1562
|
+
a && (t = B(B({}, t), a));
|
|
1606
1563
|
}
|
|
1607
1564
|
return t;
|
|
1608
1565
|
}
|
|
@@ -3021,13 +2978,13 @@ var it = {
|
|
|
3021
2978
|
"h"
|
|
3022
2979
|
]
|
|
3023
2980
|
};
|
|
3024
|
-
function
|
|
2981
|
+
function Li(e, t) {
|
|
3025
2982
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3026
2983
|
var i = e.charAt(n);
|
|
3027
2984
|
if (i === "j") {
|
|
3028
2985
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3029
2986
|
o++, n++;
|
|
3030
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2987
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ci(t);
|
|
3031
2988
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3032
2989
|
r += l;
|
|
3033
2990
|
for (; s-- > 0; )
|
|
@@ -3037,7 +2994,7 @@ function Ri(e, t) {
|
|
|
3037
2994
|
}
|
|
3038
2995
|
return r;
|
|
3039
2996
|
}
|
|
3040
|
-
function
|
|
2997
|
+
function Ci(e) {
|
|
3041
2998
|
var t = e.hourCycle;
|
|
3042
2999
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3043
3000
|
e.hourCycles && // @ts-ignore
|
|
@@ -3059,20 +3016,20 @@ function Ui(e) {
|
|
|
3059
3016
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
3060
3017
|
return i[0];
|
|
3061
3018
|
}
|
|
3062
|
-
var
|
|
3019
|
+
var Et, Ii = new RegExp("^".concat(Wr.source, "*")), Ni = new RegExp("".concat(Wr.source, "*$"));
|
|
3063
3020
|
function A(e, t) {
|
|
3064
3021
|
return { start: e, end: t };
|
|
3065
3022
|
}
|
|
3066
|
-
var
|
|
3023
|
+
var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Ui = !!Object.fromEntries, Di = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, Fi = ji ? Number.isSafeInteger : function(e) {
|
|
3067
3024
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3068
|
-
},
|
|
3025
|
+
}, It = !0;
|
|
3069
3026
|
try {
|
|
3070
|
-
var
|
|
3071
|
-
|
|
3027
|
+
var $i = Qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3028
|
+
It = ((Et = $i.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
3072
3029
|
} catch (e) {
|
|
3073
|
-
|
|
3030
|
+
It = !1;
|
|
3074
3031
|
}
|
|
3075
|
-
var
|
|
3032
|
+
var ur = Mi ? (
|
|
3076
3033
|
// Native
|
|
3077
3034
|
function(t, r, n) {
|
|
3078
3035
|
return t.startsWith(r, n);
|
|
@@ -3082,7 +3039,7 @@ var pr = ki ? (
|
|
|
3082
3039
|
function(t, r, n) {
|
|
3083
3040
|
return t.slice(n, n + r.length) === r;
|
|
3084
3041
|
}
|
|
3085
|
-
),
|
|
3042
|
+
), Nt = Ri ? String.fromCodePoint : (
|
|
3086
3043
|
// IE11
|
|
3087
3044
|
function() {
|
|
3088
3045
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3094,9 +3051,9 @@ var pr = ki ? (
|
|
|
3094
3051
|
}
|
|
3095
3052
|
return n;
|
|
3096
3053
|
}
|
|
3097
|
-
),
|
|
3054
|
+
), lr = (
|
|
3098
3055
|
// native
|
|
3099
|
-
|
|
3056
|
+
Ui ? Object.fromEntries : (
|
|
3100
3057
|
// Ponyfill
|
|
3101
3058
|
function(t) {
|
|
3102
3059
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3106,7 +3063,7 @@ var pr = ki ? (
|
|
|
3106
3063
|
return r;
|
|
3107
3064
|
}
|
|
3108
3065
|
)
|
|
3109
|
-
),
|
|
3066
|
+
), Zr = Di ? (
|
|
3110
3067
|
// Native
|
|
3111
3068
|
function(t, r) {
|
|
3112
3069
|
return t.codePointAt(r);
|
|
@@ -3120,7 +3077,7 @@ var pr = ki ? (
|
|
|
3120
3077
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3121
3078
|
}
|
|
3122
3079
|
}
|
|
3123
|
-
),
|
|
3080
|
+
), Vi = Gi ? (
|
|
3124
3081
|
// Native
|
|
3125
3082
|
function(t) {
|
|
3126
3083
|
return t.trimStart();
|
|
@@ -3128,9 +3085,9 @@ var pr = ki ? (
|
|
|
3128
3085
|
) : (
|
|
3129
3086
|
// Ponyfill
|
|
3130
3087
|
function(t) {
|
|
3131
|
-
return t.replace(
|
|
3088
|
+
return t.replace(Ii, "");
|
|
3132
3089
|
}
|
|
3133
|
-
),
|
|
3090
|
+
), Wi = ki ? (
|
|
3134
3091
|
// Native
|
|
3135
3092
|
function(t) {
|
|
3136
3093
|
return t.trimEnd();
|
|
@@ -3138,32 +3095,32 @@ var pr = ki ? (
|
|
|
3138
3095
|
) : (
|
|
3139
3096
|
// Ponyfill
|
|
3140
3097
|
function(t) {
|
|
3141
|
-
return t.replace(
|
|
3098
|
+
return t.replace(Ni, "");
|
|
3142
3099
|
}
|
|
3143
3100
|
);
|
|
3144
|
-
function
|
|
3101
|
+
function Qr(e, t) {
|
|
3145
3102
|
return new RegExp(e, t);
|
|
3146
3103
|
}
|
|
3147
|
-
var
|
|
3148
|
-
if (
|
|
3149
|
-
var
|
|
3150
|
-
|
|
3104
|
+
var Mt;
|
|
3105
|
+
if (It) {
|
|
3106
|
+
var hr = Qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3107
|
+
Mt = function(t, r) {
|
|
3151
3108
|
var n;
|
|
3152
|
-
|
|
3153
|
-
var i =
|
|
3109
|
+
hr.lastIndex = r;
|
|
3110
|
+
var i = hr.exec(t);
|
|
3154
3111
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3155
3112
|
};
|
|
3156
3113
|
} else
|
|
3157
|
-
|
|
3114
|
+
Mt = function(t, r) {
|
|
3158
3115
|
for (var n = []; ; ) {
|
|
3159
|
-
var i =
|
|
3160
|
-
if (i === void 0 ||
|
|
3116
|
+
var i = Zr(t, r);
|
|
3117
|
+
if (i === void 0 || Yr(i) || Zi(i))
|
|
3161
3118
|
break;
|
|
3162
3119
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3163
3120
|
}
|
|
3164
|
-
return
|
|
3121
|
+
return Nt.apply(void 0, n);
|
|
3165
3122
|
};
|
|
3166
|
-
var
|
|
3123
|
+
var Xi = (
|
|
3167
3124
|
/** @class */
|
|
3168
3125
|
function() {
|
|
3169
3126
|
function e(t, r) {
|
|
@@ -3187,14 +3144,14 @@ var Yi = (
|
|
|
3187
3144
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3188
3145
|
var a = this.clonePosition();
|
|
3189
3146
|
this.bump(), i.push({
|
|
3190
|
-
type:
|
|
3147
|
+
type: P.pound,
|
|
3191
3148
|
location: A(a, this.clonePosition())
|
|
3192
3149
|
});
|
|
3193
3150
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3194
3151
|
if (n)
|
|
3195
3152
|
break;
|
|
3196
3153
|
return this.error(w.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
3197
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3154
|
+
} else if (o === 60 && !this.ignoreTag && Rt(this.peek() || 0)) {
|
|
3198
3155
|
var s = this.parseTag(t, r);
|
|
3199
3156
|
if (s.err)
|
|
3200
3157
|
return s;
|
|
@@ -3215,7 +3172,7 @@ var Yi = (
|
|
|
3215
3172
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3216
3173
|
return {
|
|
3217
3174
|
val: {
|
|
3218
|
-
type:
|
|
3175
|
+
type: P.literal,
|
|
3219
3176
|
value: "<".concat(i, "/>"),
|
|
3220
3177
|
location: A(n, this.clonePosition())
|
|
3221
3178
|
},
|
|
@@ -3227,12 +3184,12 @@ var Yi = (
|
|
|
3227
3184
|
return o;
|
|
3228
3185
|
var s = o.val, a = this.clonePosition();
|
|
3229
3186
|
if (this.bumpIf("</")) {
|
|
3230
|
-
if (this.isEOF() || !
|
|
3187
|
+
if (this.isEOF() || !Rt(this.char()))
|
|
3231
3188
|
return this.error(w.INVALID_TAG, A(a, this.clonePosition()));
|
|
3232
3189
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3233
3190
|
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, A(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3234
3191
|
val: {
|
|
3235
|
-
type:
|
|
3192
|
+
type: P.tag,
|
|
3236
3193
|
value: i,
|
|
3237
3194
|
children: s,
|
|
3238
3195
|
location: A(n, this.clonePosition())
|
|
@@ -3245,7 +3202,7 @@ var Yi = (
|
|
|
3245
3202
|
return this.error(w.INVALID_TAG, A(n, this.clonePosition()));
|
|
3246
3203
|
}, e.prototype.parseTagName = function() {
|
|
3247
3204
|
var t = this.offset();
|
|
3248
|
-
for (this.bump(); !this.isEOF() &&
|
|
3205
|
+
for (this.bump(); !this.isEOF() && Ji(this.char()); )
|
|
3249
3206
|
this.bump();
|
|
3250
3207
|
return this.message.slice(t, this.offset());
|
|
3251
3208
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3269,12 +3226,12 @@ var Yi = (
|
|
|
3269
3226
|
}
|
|
3270
3227
|
var l = A(n, this.clonePosition());
|
|
3271
3228
|
return {
|
|
3272
|
-
val: { type:
|
|
3229
|
+
val: { type: P.literal, value: i, location: l },
|
|
3273
3230
|
err: null
|
|
3274
3231
|
};
|
|
3275
3232
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3276
3233
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3277
|
-
!
|
|
3234
|
+
!zi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3278
3235
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3279
3236
|
if (this.isEOF() || this.char() !== 39)
|
|
3280
3237
|
return null;
|
|
@@ -3308,12 +3265,12 @@ var Yi = (
|
|
|
3308
3265
|
r.push(n);
|
|
3309
3266
|
this.bump();
|
|
3310
3267
|
}
|
|
3311
|
-
return
|
|
3268
|
+
return Nt.apply(void 0, r);
|
|
3312
3269
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3313
3270
|
if (this.isEOF())
|
|
3314
3271
|
return null;
|
|
3315
3272
|
var n = this.char();
|
|
3316
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3273
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Nt(n));
|
|
3317
3274
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3318
3275
|
var n = this.clonePosition();
|
|
3319
3276
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3329,7 +3286,7 @@ var Yi = (
|
|
|
3329
3286
|
case 125:
|
|
3330
3287
|
return this.bump(), {
|
|
3331
3288
|
val: {
|
|
3332
|
-
type:
|
|
3289
|
+
type: P.argument,
|
|
3333
3290
|
// value does not include the opening and closing braces.
|
|
3334
3291
|
value: i,
|
|
3335
3292
|
location: A(n, this.clonePosition())
|
|
@@ -3342,7 +3299,7 @@ var Yi = (
|
|
|
3342
3299
|
return this.error(w.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
3343
3300
|
}
|
|
3344
3301
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3345
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3302
|
+
var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
|
|
3346
3303
|
this.bumpTo(i);
|
|
3347
3304
|
var o = this.clonePosition(), s = A(t, o);
|
|
3348
3305
|
return { value: n, location: s };
|
|
@@ -3358,38 +3315,38 @@ var Yi = (
|
|
|
3358
3315
|
var u = null;
|
|
3359
3316
|
if (this.bumpIf(",")) {
|
|
3360
3317
|
this.bumpSpace();
|
|
3361
|
-
var
|
|
3318
|
+
var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
3362
3319
|
if (p.err)
|
|
3363
3320
|
return p;
|
|
3364
|
-
var f =
|
|
3321
|
+
var f = Wi(p.val);
|
|
3365
3322
|
if (f.length === 0)
|
|
3366
3323
|
return this.error(w.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
3367
|
-
var b = A(
|
|
3324
|
+
var b = A(h, this.clonePosition());
|
|
3368
3325
|
u = { style: f, styleLocation: b };
|
|
3369
3326
|
}
|
|
3370
3327
|
var x = this.tryParseArgumentClose(i);
|
|
3371
3328
|
if (x.err)
|
|
3372
3329
|
return x;
|
|
3373
3330
|
var g = A(i, this.clonePosition());
|
|
3374
|
-
if (u &&
|
|
3375
|
-
var v =
|
|
3331
|
+
if (u && ur(u == null ? void 0 : u.style, "::", 0)) {
|
|
3332
|
+
var v = Vi(u.style.slice(2));
|
|
3376
3333
|
if (a === "number") {
|
|
3377
3334
|
var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3378
3335
|
return p.err ? p : {
|
|
3379
|
-
val: { type:
|
|
3336
|
+
val: { type: P.number, value: n, location: g, style: p.val },
|
|
3380
3337
|
err: null
|
|
3381
3338
|
};
|
|
3382
3339
|
} else {
|
|
3383
3340
|
if (v.length === 0)
|
|
3384
3341
|
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
3385
3342
|
var S = v;
|
|
3386
|
-
this.locale && (S =
|
|
3343
|
+
this.locale && (S = Li(v, this.locale));
|
|
3387
3344
|
var f = {
|
|
3388
|
-
type:
|
|
3345
|
+
type: Ce.dateTime,
|
|
3389
3346
|
pattern: S,
|
|
3390
3347
|
location: u.styleLocation,
|
|
3391
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3392
|
-
}, y = a === "date" ?
|
|
3348
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(S) : {}
|
|
3349
|
+
}, y = a === "date" ? P.date : P.time;
|
|
3393
3350
|
return {
|
|
3394
3351
|
val: { type: y, value: n, location: g, style: f },
|
|
3395
3352
|
err: null
|
|
@@ -3398,7 +3355,7 @@ var Yi = (
|
|
|
3398
3355
|
}
|
|
3399
3356
|
return {
|
|
3400
3357
|
val: {
|
|
3401
|
-
type: a === "number" ?
|
|
3358
|
+
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3402
3359
|
value: n,
|
|
3403
3360
|
location: g,
|
|
3404
3361
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3411,7 +3368,7 @@ var Yi = (
|
|
|
3411
3368
|
case "select": {
|
|
3412
3369
|
var T = this.clonePosition();
|
|
3413
3370
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3414
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, A(T,
|
|
3371
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, A(T, B({}, T)));
|
|
3415
3372
|
this.bumpSpace();
|
|
3416
3373
|
var C = this.parseIdentifierIfPossible(), G = 0;
|
|
3417
3374
|
if (a !== "select" && C.value === "offset") {
|
|
@@ -3423,26 +3380,26 @@ var Yi = (
|
|
|
3423
3380
|
return p;
|
|
3424
3381
|
this.bumpSpace(), C = this.parseIdentifierIfPossible(), G = p.val;
|
|
3425
3382
|
}
|
|
3426
|
-
var
|
|
3427
|
-
if (
|
|
3428
|
-
return
|
|
3383
|
+
var $ = this.tryParsePluralOrSelectOptions(t, a, r, C);
|
|
3384
|
+
if ($.err)
|
|
3385
|
+
return $;
|
|
3429
3386
|
var x = this.tryParseArgumentClose(i);
|
|
3430
3387
|
if (x.err)
|
|
3431
3388
|
return x;
|
|
3432
3389
|
var J = A(i, this.clonePosition());
|
|
3433
3390
|
return a === "select" ? {
|
|
3434
3391
|
val: {
|
|
3435
|
-
type:
|
|
3392
|
+
type: P.select,
|
|
3436
3393
|
value: n,
|
|
3437
|
-
options:
|
|
3394
|
+
options: lr($.val),
|
|
3438
3395
|
location: J
|
|
3439
3396
|
},
|
|
3440
3397
|
err: null
|
|
3441
3398
|
} : {
|
|
3442
3399
|
val: {
|
|
3443
|
-
type:
|
|
3400
|
+
type: P.plural,
|
|
3444
3401
|
value: n,
|
|
3445
|
-
options:
|
|
3402
|
+
options: lr($.val),
|
|
3446
3403
|
offset: G,
|
|
3447
3404
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3448
3405
|
location: J
|
|
@@ -3493,33 +3450,33 @@ var Yi = (
|
|
|
3493
3450
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3494
3451
|
var n = [];
|
|
3495
3452
|
try {
|
|
3496
|
-
n =
|
|
3453
|
+
n = Hi(t);
|
|
3497
3454
|
} catch (i) {
|
|
3498
3455
|
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
3499
3456
|
}
|
|
3500
3457
|
return {
|
|
3501
3458
|
val: {
|
|
3502
|
-
type:
|
|
3459
|
+
type: Ce.number,
|
|
3503
3460
|
tokens: n,
|
|
3504
3461
|
location: r,
|
|
3505
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3462
|
+
parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
|
|
3506
3463
|
},
|
|
3507
3464
|
err: null
|
|
3508
3465
|
};
|
|
3509
3466
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3510
|
-
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value,
|
|
3467
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3511
3468
|
if (u.length === 0) {
|
|
3512
3469
|
var p = this.clonePosition();
|
|
3513
3470
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3514
3471
|
var f = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3515
3472
|
if (f.err)
|
|
3516
3473
|
return f;
|
|
3517
|
-
|
|
3474
|
+
h = A(p, this.clonePosition()), u = this.message.slice(p.offset, this.offset());
|
|
3518
3475
|
} else
|
|
3519
3476
|
break;
|
|
3520
3477
|
}
|
|
3521
3478
|
if (l.has(u))
|
|
3522
|
-
return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3479
|
+
return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3523
3480
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3524
3481
|
var b = this.clonePosition();
|
|
3525
3482
|
if (!this.bumpIf("{"))
|
|
@@ -3536,7 +3493,7 @@ var Yi = (
|
|
|
3536
3493
|
value: x.val,
|
|
3537
3494
|
location: A(b, this.clonePosition())
|
|
3538
3495
|
}
|
|
3539
|
-
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value,
|
|
3496
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3540
3497
|
}
|
|
3541
3498
|
return a.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(w.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3542
3499
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3550,7 +3507,7 @@ var Yi = (
|
|
|
3550
3507
|
break;
|
|
3551
3508
|
}
|
|
3552
3509
|
var l = A(i, this.clonePosition());
|
|
3553
|
-
return o ? (s *= n,
|
|
3510
|
+
return o ? (s *= n, Fi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3554
3511
|
}, e.prototype.offset = function() {
|
|
3555
3512
|
return this.position.offset;
|
|
3556
3513
|
}, e.prototype.isEOF = function() {
|
|
@@ -3565,7 +3522,7 @@ var Yi = (
|
|
|
3565
3522
|
var t = this.position.offset;
|
|
3566
3523
|
if (t >= this.message.length)
|
|
3567
3524
|
throw Error("out of bound");
|
|
3568
|
-
var r =
|
|
3525
|
+
var r = Zr(this.message, t);
|
|
3569
3526
|
if (r === void 0)
|
|
3570
3527
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3571
3528
|
return r;
|
|
@@ -3584,7 +3541,7 @@ var Yi = (
|
|
|
3584
3541
|
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);
|
|
3585
3542
|
}
|
|
3586
3543
|
}, e.prototype.bumpIf = function(t) {
|
|
3587
|
-
if (
|
|
3544
|
+
if (ur(this.message, t, this.offset())) {
|
|
3588
3545
|
for (var r = 0; r < t.length; r++)
|
|
3589
3546
|
this.bump();
|
|
3590
3547
|
return !0;
|
|
@@ -3606,7 +3563,7 @@ var Yi = (
|
|
|
3606
3563
|
break;
|
|
3607
3564
|
}
|
|
3608
3565
|
}, e.prototype.bumpSpace = function() {
|
|
3609
|
-
for (; !this.isEOF() &&
|
|
3566
|
+
for (; !this.isEOF() && Yr(this.char()); )
|
|
3610
3567
|
this.bump();
|
|
3611
3568
|
}, e.prototype.peek = function() {
|
|
3612
3569
|
if (this.isEOF())
|
|
@@ -3616,47 +3573,47 @@ var Yi = (
|
|
|
3616
3573
|
}, e;
|
|
3617
3574
|
}()
|
|
3618
3575
|
);
|
|
3619
|
-
function
|
|
3576
|
+
function Rt(e) {
|
|
3620
3577
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3621
3578
|
}
|
|
3622
|
-
function
|
|
3623
|
-
return
|
|
3579
|
+
function zi(e) {
|
|
3580
|
+
return Rt(e) || e === 47;
|
|
3624
3581
|
}
|
|
3625
|
-
function
|
|
3582
|
+
function Ji(e) {
|
|
3626
3583
|
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;
|
|
3627
3584
|
}
|
|
3628
|
-
function
|
|
3585
|
+
function Yr(e) {
|
|
3629
3586
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3630
3587
|
}
|
|
3631
|
-
function
|
|
3588
|
+
function Zi(e) {
|
|
3632
3589
|
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;
|
|
3633
3590
|
}
|
|
3634
|
-
function
|
|
3591
|
+
function Ut(e) {
|
|
3635
3592
|
e.forEach(function(t) {
|
|
3636
|
-
if (delete t.location,
|
|
3593
|
+
if (delete t.location, jr(t) || Fr(t))
|
|
3637
3594
|
for (var r in t.options)
|
|
3638
|
-
delete t.options[r].location,
|
|
3595
|
+
delete t.options[r].location, Ut(t.options[r].value);
|
|
3639
3596
|
else
|
|
3640
|
-
|
|
3597
|
+
Dr(t) && Vr(t.style) || (Gr(t) || kr(t)) && Ct(t.style) ? delete t.style.location : $r(t) && Ut(t.children);
|
|
3641
3598
|
});
|
|
3642
3599
|
}
|
|
3643
|
-
function
|
|
3644
|
-
t === void 0 && (t = {}), t =
|
|
3645
|
-
var r = new
|
|
3600
|
+
function Qi(e, t) {
|
|
3601
|
+
t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3602
|
+
var r = new Xi(e, t).parse();
|
|
3646
3603
|
if (r.err) {
|
|
3647
3604
|
var n = SyntaxError(w[r.err.kind]);
|
|
3648
3605
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3649
3606
|
}
|
|
3650
|
-
return t != null && t.captureLocation ||
|
|
3607
|
+
return t != null && t.captureLocation || Ut(r.val), r.val;
|
|
3651
3608
|
}
|
|
3652
|
-
var
|
|
3609
|
+
var Ie;
|
|
3653
3610
|
(function(e) {
|
|
3654
3611
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3655
|
-
})(
|
|
3656
|
-
var
|
|
3612
|
+
})(Ie || (Ie = {}));
|
|
3613
|
+
var pt = (
|
|
3657
3614
|
/** @class */
|
|
3658
3615
|
function(e) {
|
|
3659
|
-
|
|
3616
|
+
ce(t, e);
|
|
3660
3617
|
function t(r, n, i) {
|
|
3661
3618
|
var o = e.call(this, r) || this;
|
|
3662
3619
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3665,48 +3622,48 @@ var mt = (
|
|
|
3665
3622
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3666
3623
|
}, t;
|
|
3667
3624
|
}(Error)
|
|
3668
|
-
),
|
|
3625
|
+
), cr = (
|
|
3669
3626
|
/** @class */
|
|
3670
3627
|
function(e) {
|
|
3671
|
-
|
|
3628
|
+
ce(t, e);
|
|
3672
3629
|
function t(r, n, i, o) {
|
|
3673
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3630
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ie.INVALID_VALUE, o) || this;
|
|
3674
3631
|
}
|
|
3675
3632
|
return t;
|
|
3676
|
-
}(
|
|
3677
|
-
),
|
|
3633
|
+
}(pt)
|
|
3634
|
+
), Yi = (
|
|
3678
3635
|
/** @class */
|
|
3679
3636
|
function(e) {
|
|
3680
|
-
|
|
3637
|
+
ce(t, e);
|
|
3681
3638
|
function t(r, n, i) {
|
|
3682
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3639
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ie.INVALID_VALUE, i) || this;
|
|
3683
3640
|
}
|
|
3684
3641
|
return t;
|
|
3685
|
-
}(
|
|
3686
|
-
),
|
|
3642
|
+
}(pt)
|
|
3643
|
+
), qi = (
|
|
3687
3644
|
/** @class */
|
|
3688
3645
|
function(e) {
|
|
3689
|
-
|
|
3646
|
+
ce(t, e);
|
|
3690
3647
|
function t(r, n) {
|
|
3691
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3648
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ie.MISSING_VALUE, n) || this;
|
|
3692
3649
|
}
|
|
3693
3650
|
return t;
|
|
3694
|
-
}(
|
|
3651
|
+
}(pt)
|
|
3695
3652
|
), k;
|
|
3696
3653
|
(function(e) {
|
|
3697
3654
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3698
3655
|
})(k || (k = {}));
|
|
3699
|
-
function
|
|
3656
|
+
function Ki(e) {
|
|
3700
3657
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3701
3658
|
var n = t[t.length - 1];
|
|
3702
3659
|
return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
|
|
3703
3660
|
}, []);
|
|
3704
3661
|
}
|
|
3705
|
-
function
|
|
3662
|
+
function eo(e) {
|
|
3706
3663
|
return typeof e == "function";
|
|
3707
3664
|
}
|
|
3708
3665
|
function at(e, t, r, n, i, o, s) {
|
|
3709
|
-
if (e.length === 1 &&
|
|
3666
|
+
if (e.length === 1 && ir(e[0]))
|
|
3710
3667
|
return [
|
|
3711
3668
|
{
|
|
3712
3669
|
type: k.literal,
|
|
@@ -3714,60 +3671,60 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3714
3671
|
}
|
|
3715
3672
|
];
|
|
3716
3673
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3717
|
-
var
|
|
3718
|
-
if (
|
|
3674
|
+
var h = u[l];
|
|
3675
|
+
if (ir(h)) {
|
|
3719
3676
|
a.push({
|
|
3720
3677
|
type: k.literal,
|
|
3721
|
-
value:
|
|
3678
|
+
value: h.value
|
|
3722
3679
|
});
|
|
3723
3680
|
continue;
|
|
3724
3681
|
}
|
|
3725
|
-
if (
|
|
3682
|
+
if (xi(h)) {
|
|
3726
3683
|
typeof o == "number" && a.push({
|
|
3727
3684
|
type: k.literal,
|
|
3728
3685
|
value: r.getNumberFormat(t).format(o)
|
|
3729
3686
|
});
|
|
3730
3687
|
continue;
|
|
3731
3688
|
}
|
|
3732
|
-
var p =
|
|
3689
|
+
var p = h.value;
|
|
3733
3690
|
if (!(i && p in i))
|
|
3734
|
-
throw new
|
|
3691
|
+
throw new qi(p, s);
|
|
3735
3692
|
var f = i[p];
|
|
3736
|
-
if (
|
|
3693
|
+
if (Ei(h)) {
|
|
3737
3694
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3738
3695
|
type: typeof f == "string" ? k.literal : k.object,
|
|
3739
3696
|
value: f
|
|
3740
3697
|
});
|
|
3741
3698
|
continue;
|
|
3742
3699
|
}
|
|
3743
|
-
if (
|
|
3744
|
-
var b = typeof
|
|
3700
|
+
if (Gr(h)) {
|
|
3701
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Ct(h.style) ? h.style.parsedOptions : void 0;
|
|
3745
3702
|
a.push({
|
|
3746
3703
|
type: k.literal,
|
|
3747
3704
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3748
3705
|
});
|
|
3749
3706
|
continue;
|
|
3750
3707
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var b = typeof
|
|
3708
|
+
if (kr(h)) {
|
|
3709
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Ct(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3753
3710
|
a.push({
|
|
3754
3711
|
type: k.literal,
|
|
3755
3712
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3756
3713
|
});
|
|
3757
3714
|
continue;
|
|
3758
3715
|
}
|
|
3759
|
-
if (
|
|
3760
|
-
var b = typeof
|
|
3716
|
+
if (Dr(h)) {
|
|
3717
|
+
var b = typeof h.style == "string" ? n.number[h.style] : Vr(h.style) ? h.style.parsedOptions : void 0;
|
|
3761
3718
|
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3762
3719
|
type: k.literal,
|
|
3763
3720
|
value: r.getNumberFormat(t, b).format(f)
|
|
3764
3721
|
});
|
|
3765
3722
|
continue;
|
|
3766
3723
|
}
|
|
3767
|
-
if (
|
|
3768
|
-
var x =
|
|
3769
|
-
if (!
|
|
3770
|
-
throw new
|
|
3724
|
+
if ($r(h)) {
|
|
3725
|
+
var x = h.children, g = h.value, v = i[g];
|
|
3726
|
+
if (!eo(v))
|
|
3727
|
+
throw new Yi(g, "function", s);
|
|
3771
3728
|
var S = at(x, t, r, n, i, o), y = v(S.map(function(G) {
|
|
3772
3729
|
return G.value;
|
|
3773
3730
|
}));
|
|
@@ -3778,42 +3735,42 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3778
3735
|
};
|
|
3779
3736
|
}));
|
|
3780
3737
|
}
|
|
3781
|
-
if (
|
|
3782
|
-
var T =
|
|
3738
|
+
if (jr(h)) {
|
|
3739
|
+
var T = h.options[f] || h.options.other;
|
|
3783
3740
|
if (!T)
|
|
3784
|
-
throw new
|
|
3741
|
+
throw new cr(h.value, f, Object.keys(h.options), s);
|
|
3785
3742
|
a.push.apply(a, at(T.value, t, r, n, i));
|
|
3786
3743
|
continue;
|
|
3787
3744
|
}
|
|
3788
|
-
if (
|
|
3789
|
-
var T =
|
|
3745
|
+
if (Fr(h)) {
|
|
3746
|
+
var T = h.options["=".concat(f)];
|
|
3790
3747
|
if (!T) {
|
|
3791
3748
|
if (!Intl.PluralRules)
|
|
3792
|
-
throw new
|
|
3749
|
+
throw new pt(`Intl.PluralRules is not available in this environment.
|
|
3793
3750
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3794
|
-
`,
|
|
3795
|
-
var C = r.getPluralRules(t, { type:
|
|
3796
|
-
T =
|
|
3751
|
+
`, Ie.MISSING_INTL_API, s);
|
|
3752
|
+
var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3753
|
+
T = h.options[C] || h.options.other;
|
|
3797
3754
|
}
|
|
3798
3755
|
if (!T)
|
|
3799
|
-
throw new
|
|
3800
|
-
a.push.apply(a, at(T.value, t, r, n, i, f - (
|
|
3756
|
+
throw new cr(h.value, f, Object.keys(h.options), s);
|
|
3757
|
+
a.push.apply(a, at(T.value, t, r, n, i, f - (h.offset || 0)));
|
|
3801
3758
|
continue;
|
|
3802
3759
|
}
|
|
3803
3760
|
}
|
|
3804
|
-
return
|
|
3761
|
+
return Ki(a);
|
|
3805
3762
|
}
|
|
3806
|
-
function
|
|
3807
|
-
return t ?
|
|
3808
|
-
return r[n] =
|
|
3763
|
+
function to(e, t) {
|
|
3764
|
+
return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3765
|
+
return r[n] = B(B({}, e[n]), t[n] || {}), r;
|
|
3809
3766
|
}, {})) : e;
|
|
3810
3767
|
}
|
|
3811
|
-
function
|
|
3768
|
+
function ro(e, t) {
|
|
3812
3769
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3813
|
-
return r[n] =
|
|
3814
|
-
},
|
|
3770
|
+
return r[n] = to(e[n], t[n]), r;
|
|
3771
|
+
}, B({}, e)) : e;
|
|
3815
3772
|
}
|
|
3816
|
-
function
|
|
3773
|
+
function xt(e) {
|
|
3817
3774
|
return {
|
|
3818
3775
|
create: function() {
|
|
3819
3776
|
return {
|
|
@@ -3827,39 +3784,39 @@ function wt(e) {
|
|
|
3827
3784
|
}
|
|
3828
3785
|
};
|
|
3829
3786
|
}
|
|
3830
|
-
function
|
|
3787
|
+
function no(e) {
|
|
3831
3788
|
return e === void 0 && (e = {
|
|
3832
3789
|
number: {},
|
|
3833
3790
|
dateTime: {},
|
|
3834
3791
|
pluralRules: {}
|
|
3835
3792
|
}), {
|
|
3836
|
-
getNumberFormat:
|
|
3793
|
+
getNumberFormat: vt(function() {
|
|
3837
3794
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3838
3795
|
r[n] = arguments[n];
|
|
3839
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3796
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3840
3797
|
}, {
|
|
3841
|
-
cache:
|
|
3842
|
-
strategy:
|
|
3798
|
+
cache: xt(e.number),
|
|
3799
|
+
strategy: _t.variadic
|
|
3843
3800
|
}),
|
|
3844
|
-
getDateTimeFormat:
|
|
3801
|
+
getDateTimeFormat: vt(function() {
|
|
3845
3802
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3846
3803
|
r[n] = arguments[n];
|
|
3847
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3804
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3848
3805
|
}, {
|
|
3849
|
-
cache:
|
|
3850
|
-
strategy:
|
|
3806
|
+
cache: xt(e.dateTime),
|
|
3807
|
+
strategy: _t.variadic
|
|
3851
3808
|
}),
|
|
3852
|
-
getPluralRules:
|
|
3809
|
+
getPluralRules: vt(function() {
|
|
3853
3810
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3854
3811
|
r[n] = arguments[n];
|
|
3855
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3812
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3856
3813
|
}, {
|
|
3857
|
-
cache:
|
|
3858
|
-
strategy:
|
|
3814
|
+
cache: xt(e.pluralRules),
|
|
3815
|
+
strategy: _t.variadic
|
|
3859
3816
|
})
|
|
3860
3817
|
};
|
|
3861
3818
|
}
|
|
3862
|
-
var
|
|
3819
|
+
var io = (
|
|
3863
3820
|
/** @class */
|
|
3864
3821
|
function() {
|
|
3865
3822
|
function e(t, r, n, i) {
|
|
@@ -3873,10 +3830,10 @@ var lo = (
|
|
|
3873
3830
|
var u = o.formatToParts(l);
|
|
3874
3831
|
if (u.length === 1)
|
|
3875
3832
|
return u[0].value;
|
|
3876
|
-
var
|
|
3833
|
+
var h = u.reduce(function(p, f) {
|
|
3877
3834
|
return !p.length || f.type !== k.literal || typeof p[p.length - 1] != "string" ? p.push(f.value) : p[p.length - 1] += f.value, p;
|
|
3878
3835
|
}, []);
|
|
3879
|
-
return
|
|
3836
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3880
3837
|
}, this.formatToParts = function(l) {
|
|
3881
3838
|
return at(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3882
3839
|
}, this.resolvedOptions = function() {
|
|
@@ -3891,13 +3848,13 @@ var lo = (
|
|
|
3891
3848
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3892
3849
|
var s = i || {};
|
|
3893
3850
|
s.formatters;
|
|
3894
|
-
var a =
|
|
3895
|
-
this.ast = e.__parse(t,
|
|
3851
|
+
var a = Rn(s, ["formatters"]);
|
|
3852
|
+
this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
|
|
3896
3853
|
} else
|
|
3897
3854
|
this.ast = t;
|
|
3898
3855
|
if (!Array.isArray(this.ast))
|
|
3899
3856
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3900
|
-
this.formats =
|
|
3857
|
+
this.formats = ro(e.formats, n), this.formatters = i && i.formatters || no(this.formatterCache);
|
|
3901
3858
|
}
|
|
3902
3859
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3903
3860
|
get: function() {
|
|
@@ -3910,7 +3867,7 @@ var lo = (
|
|
|
3910
3867
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3911
3868
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3912
3869
|
}
|
|
3913
|
-
}, e.__parse =
|
|
3870
|
+
}, e.__parse = Qi, e.formats = {
|
|
3914
3871
|
number: {
|
|
3915
3872
|
integer: {
|
|
3916
3873
|
maximumFractionDigits: 0
|
|
@@ -3971,7 +3928,7 @@ var lo = (
|
|
|
3971
3928
|
}, e;
|
|
3972
3929
|
}()
|
|
3973
3930
|
);
|
|
3974
|
-
function
|
|
3931
|
+
function oo(e, t) {
|
|
3975
3932
|
if (t == null)
|
|
3976
3933
|
return;
|
|
3977
3934
|
if (t in e)
|
|
@@ -3992,92 +3949,92 @@ function co(e, t) {
|
|
|
3992
3949
|
n = void 0;
|
|
3993
3950
|
return n;
|
|
3994
3951
|
}
|
|
3995
|
-
const me = {},
|
|
3952
|
+
const me = {}, so = (e, t, r) => r && (t in me || (me[t] = {}), e in me[t] || (me[t][e] = r), r), qr = (e, t) => {
|
|
3996
3953
|
if (t == null)
|
|
3997
3954
|
return;
|
|
3998
3955
|
if (t in me && e in me[t])
|
|
3999
3956
|
return me[t][e];
|
|
4000
|
-
const r =
|
|
3957
|
+
const r = dt(t);
|
|
4001
3958
|
for (let n = 0; n < r.length; n++) {
|
|
4002
|
-
const i = r[n], o =
|
|
3959
|
+
const i = r[n], o = uo(i, e);
|
|
4003
3960
|
if (o)
|
|
4004
|
-
return
|
|
3961
|
+
return so(e, t, o);
|
|
4005
3962
|
}
|
|
4006
3963
|
};
|
|
4007
|
-
let
|
|
4008
|
-
const Ze =
|
|
4009
|
-
function
|
|
4010
|
-
return
|
|
3964
|
+
let jt;
|
|
3965
|
+
const Ze = ft({});
|
|
3966
|
+
function ao(e) {
|
|
3967
|
+
return jt[e] || null;
|
|
4011
3968
|
}
|
|
4012
|
-
function
|
|
4013
|
-
return e in
|
|
3969
|
+
function Kr(e) {
|
|
3970
|
+
return e in jt;
|
|
4014
3971
|
}
|
|
4015
|
-
function
|
|
4016
|
-
if (!
|
|
3972
|
+
function uo(e, t) {
|
|
3973
|
+
if (!Kr(e))
|
|
4017
3974
|
return null;
|
|
4018
|
-
const r =
|
|
4019
|
-
return
|
|
3975
|
+
const r = ao(e);
|
|
3976
|
+
return oo(r, t);
|
|
4020
3977
|
}
|
|
4021
|
-
function
|
|
3978
|
+
function lo(e) {
|
|
4022
3979
|
if (e == null)
|
|
4023
3980
|
return;
|
|
4024
|
-
const t =
|
|
3981
|
+
const t = dt(e);
|
|
4025
3982
|
for (let r = 0; r < t.length; r++) {
|
|
4026
3983
|
const n = t[r];
|
|
4027
|
-
if (
|
|
3984
|
+
if (Kr(n))
|
|
4028
3985
|
return n;
|
|
4029
3986
|
}
|
|
4030
3987
|
}
|
|
4031
|
-
function
|
|
4032
|
-
delete me[e], Ze.update((r) => (r[e] =
|
|
3988
|
+
function en(e, ...t) {
|
|
3989
|
+
delete me[e], Ze.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
|
|
4033
3990
|
}
|
|
4034
|
-
|
|
3991
|
+
Me(
|
|
4035
3992
|
[Ze],
|
|
4036
3993
|
([e]) => Object.keys(e)
|
|
4037
3994
|
);
|
|
4038
|
-
Ze.subscribe((e) =>
|
|
3995
|
+
Ze.subscribe((e) => jt = e);
|
|
4039
3996
|
const ut = {};
|
|
4040
|
-
function
|
|
3997
|
+
function ho(e, t) {
|
|
4041
3998
|
ut[e].delete(t), ut[e].size === 0 && delete ut[e];
|
|
4042
3999
|
}
|
|
4043
|
-
function
|
|
4000
|
+
function tn(e) {
|
|
4044
4001
|
return ut[e];
|
|
4045
4002
|
}
|
|
4046
|
-
function
|
|
4047
|
-
return
|
|
4048
|
-
const r =
|
|
4003
|
+
function co(e) {
|
|
4004
|
+
return dt(e).map((t) => {
|
|
4005
|
+
const r = tn(t);
|
|
4049
4006
|
return [t, r ? [...r] : []];
|
|
4050
4007
|
}).filter(([, t]) => t.length > 0);
|
|
4051
4008
|
}
|
|
4052
|
-
function
|
|
4053
|
-
return e == null ? !1 :
|
|
4009
|
+
function Dt(e) {
|
|
4010
|
+
return e == null ? !1 : dt(e).some(
|
|
4054
4011
|
(t) => {
|
|
4055
4012
|
var r;
|
|
4056
|
-
return (r =
|
|
4013
|
+
return (r = tn(t)) == null ? void 0 : r.size;
|
|
4057
4014
|
}
|
|
4058
4015
|
);
|
|
4059
4016
|
}
|
|
4060
|
-
function
|
|
4017
|
+
function fo(e, t) {
|
|
4061
4018
|
return Promise.all(
|
|
4062
|
-
t.map((n) => (
|
|
4063
|
-
).then((n) =>
|
|
4019
|
+
t.map((n) => (ho(e, n), n().then((i) => i.default || i)))
|
|
4020
|
+
).then((n) => en(e, ...n));
|
|
4064
4021
|
}
|
|
4065
4022
|
const $e = {};
|
|
4066
|
-
function
|
|
4067
|
-
if (!
|
|
4023
|
+
function rn(e) {
|
|
4024
|
+
if (!Dt(e))
|
|
4068
4025
|
return e in $e ? $e[e] : Promise.resolve();
|
|
4069
|
-
const t =
|
|
4026
|
+
const t = co(e);
|
|
4070
4027
|
return $e[e] = Promise.all(
|
|
4071
4028
|
t.map(
|
|
4072
|
-
([r, n]) =>
|
|
4029
|
+
([r, n]) => fo(r, n)
|
|
4073
4030
|
)
|
|
4074
4031
|
).then(() => {
|
|
4075
|
-
if (
|
|
4076
|
-
return
|
|
4032
|
+
if (Dt(e))
|
|
4033
|
+
return rn(e);
|
|
4077
4034
|
delete $e[e];
|
|
4078
4035
|
}), $e[e];
|
|
4079
4036
|
}
|
|
4080
|
-
const
|
|
4037
|
+
const po = {
|
|
4081
4038
|
number: {
|
|
4082
4039
|
scientific: { notation: "scientific" },
|
|
4083
4040
|
engineering: { notation: "engineering" },
|
|
@@ -4106,135 +4063,135 @@ const vo = {
|
|
|
4106
4063
|
timeZoneName: "short"
|
|
4107
4064
|
}
|
|
4108
4065
|
}
|
|
4109
|
-
},
|
|
4066
|
+
}, mo = {
|
|
4110
4067
|
fallbackLocale: null,
|
|
4111
4068
|
loadingDelay: 200,
|
|
4112
|
-
formats:
|
|
4069
|
+
formats: po,
|
|
4113
4070
|
warnOnMissingMessages: !0,
|
|
4114
4071
|
handleMissingMessage: void 0,
|
|
4115
4072
|
ignoreTag: !0
|
|
4116
|
-
},
|
|
4117
|
-
function
|
|
4118
|
-
return
|
|
4073
|
+
}, bo = mo;
|
|
4074
|
+
function Ne() {
|
|
4075
|
+
return bo;
|
|
4119
4076
|
}
|
|
4120
|
-
const
|
|
4121
|
-
var
|
|
4077
|
+
const St = ft(!1);
|
|
4078
|
+
var go = Object.defineProperty, yo = Object.defineProperties, vo = Object.getOwnPropertyDescriptors, fr = Object.getOwnPropertySymbols, _o = Object.prototype.hasOwnProperty, Eo = Object.prototype.propertyIsEnumerable, pr = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xo = (e, t) => {
|
|
4122
4079
|
for (var r in t || (t = {}))
|
|
4123
|
-
|
|
4124
|
-
if (
|
|
4125
|
-
for (var r of
|
|
4126
|
-
|
|
4080
|
+
_o.call(t, r) && pr(e, r, t[r]);
|
|
4081
|
+
if (fr)
|
|
4082
|
+
for (var r of fr(t))
|
|
4083
|
+
Eo.call(t, r) && pr(e, r, t[r]);
|
|
4127
4084
|
return e;
|
|
4128
|
-
},
|
|
4129
|
-
let
|
|
4130
|
-
const
|
|
4131
|
-
function
|
|
4085
|
+
}, So = (e, t) => yo(e, vo(t));
|
|
4086
|
+
let Gt;
|
|
4087
|
+
const lt = ft(null);
|
|
4088
|
+
function dr(e) {
|
|
4132
4089
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4133
4090
|
}
|
|
4134
|
-
function
|
|
4135
|
-
const r =
|
|
4136
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4091
|
+
function dt(e, t = Ne().fallbackLocale) {
|
|
4092
|
+
const r = dr(e);
|
|
4093
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
|
|
4137
4094
|
}
|
|
4138
4095
|
function ye() {
|
|
4139
|
-
return
|
|
4096
|
+
return Gt != null ? Gt : void 0;
|
|
4140
4097
|
}
|
|
4141
|
-
|
|
4142
|
-
|
|
4098
|
+
lt.subscribe((e) => {
|
|
4099
|
+
Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4143
4100
|
});
|
|
4144
|
-
const
|
|
4145
|
-
if (e &&
|
|
4146
|
-
const { loadingDelay: t } =
|
|
4101
|
+
const To = (e) => {
|
|
4102
|
+
if (e && lo(e) && Dt(e)) {
|
|
4103
|
+
const { loadingDelay: t } = Ne();
|
|
4147
4104
|
let r;
|
|
4148
4105
|
return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
|
|
4149
|
-
() =>
|
|
4106
|
+
() => St.set(!0),
|
|
4150
4107
|
t
|
|
4151
|
-
) :
|
|
4152
|
-
|
|
4108
|
+
) : St.set(!0), rn(e).then(() => {
|
|
4109
|
+
lt.set(e);
|
|
4153
4110
|
}).finally(() => {
|
|
4154
|
-
clearTimeout(r),
|
|
4111
|
+
clearTimeout(r), St.set(!1);
|
|
4155
4112
|
});
|
|
4156
4113
|
}
|
|
4157
|
-
return
|
|
4158
|
-
},
|
|
4159
|
-
set:
|
|
4160
|
-
}),
|
|
4114
|
+
return lt.set(e);
|
|
4115
|
+
}, Re = So(xo({}, lt), {
|
|
4116
|
+
set: To
|
|
4117
|
+
}), mt = (e) => {
|
|
4161
4118
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4162
4119
|
return (n) => {
|
|
4163
4120
|
const i = JSON.stringify(n);
|
|
4164
4121
|
return i in t ? t[i] : t[i] = e(n);
|
|
4165
4122
|
};
|
|
4166
4123
|
};
|
|
4167
|
-
var
|
|
4124
|
+
var wo = Object.defineProperty, ht = Object.getOwnPropertySymbols, nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
|
|
4168
4125
|
for (var r in t || (t = {}))
|
|
4169
|
-
|
|
4126
|
+
nn.call(t, r) && mr(e, r, t[r]);
|
|
4170
4127
|
if (ht)
|
|
4171
4128
|
for (var r of ht(t))
|
|
4172
|
-
|
|
4129
|
+
on.call(t, r) && mr(e, r, t[r]);
|
|
4173
4130
|
return e;
|
|
4174
|
-
},
|
|
4131
|
+
}, Ue = (e, t) => {
|
|
4175
4132
|
var r = {};
|
|
4176
4133
|
for (var n in e)
|
|
4177
|
-
|
|
4134
|
+
nn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4178
4135
|
if (e != null && ht)
|
|
4179
4136
|
for (var n of ht(e))
|
|
4180
|
-
t.indexOf(n) < 0 &&
|
|
4137
|
+
t.indexOf(n) < 0 && on.call(e, n) && (r[n] = e[n]);
|
|
4181
4138
|
return r;
|
|
4182
4139
|
};
|
|
4183
|
-
const
|
|
4184
|
-
const { formats: r } =
|
|
4140
|
+
const ze = (e, t) => {
|
|
4141
|
+
const { formats: r } = Ne();
|
|
4185
4142
|
if (e in r && t in r[e])
|
|
4186
4143
|
return r[e][t];
|
|
4187
4144
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4188
|
-
},
|
|
4145
|
+
}, Ho = mt(
|
|
4189
4146
|
(e) => {
|
|
4190
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4147
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4191
4148
|
if (r == null)
|
|
4192
4149
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4193
|
-
return n && (i =
|
|
4150
|
+
return n && (i = ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4194
4151
|
}
|
|
4195
|
-
),
|
|
4152
|
+
), Ao = mt(
|
|
4196
4153
|
(e) => {
|
|
4197
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4154
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4198
4155
|
if (r == null)
|
|
4199
4156
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4200
|
-
return n ? i =
|
|
4157
|
+
return n ? i = ze("date", n) : Object.keys(i).length === 0 && (i = ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4201
4158
|
}
|
|
4202
|
-
),
|
|
4159
|
+
), Bo = mt(
|
|
4203
4160
|
(e) => {
|
|
4204
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4161
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4205
4162
|
if (r == null)
|
|
4206
4163
|
throw new Error(
|
|
4207
4164
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4208
4165
|
);
|
|
4209
|
-
return n ? i =
|
|
4166
|
+
return n ? i = ze("time", n) : Object.keys(i).length === 0 && (i = ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4210
4167
|
}
|
|
4211
|
-
),
|
|
4168
|
+
), Po = (e = {}) => {
|
|
4212
4169
|
var t = e, {
|
|
4213
4170
|
locale: r = ye()
|
|
4214
|
-
} = t, n =
|
|
4171
|
+
} = t, n = Ue(t, [
|
|
4215
4172
|
"locale"
|
|
4216
4173
|
]);
|
|
4217
|
-
return
|
|
4218
|
-
},
|
|
4174
|
+
return Ho(Ft({ locale: r }, n));
|
|
4175
|
+
}, Oo = (e = {}) => {
|
|
4219
4176
|
var t = e, {
|
|
4220
4177
|
locale: r = ye()
|
|
4221
|
-
} = t, n =
|
|
4178
|
+
} = t, n = Ue(t, [
|
|
4222
4179
|
"locale"
|
|
4223
4180
|
]);
|
|
4224
|
-
return
|
|
4225
|
-
},
|
|
4181
|
+
return Ao(Ft({ locale: r }, n));
|
|
4182
|
+
}, Lo = (e = {}) => {
|
|
4226
4183
|
var t = e, {
|
|
4227
4184
|
locale: r = ye()
|
|
4228
|
-
} = t, n =
|
|
4185
|
+
} = t, n = Ue(t, [
|
|
4229
4186
|
"locale"
|
|
4230
4187
|
]);
|
|
4231
|
-
return
|
|
4232
|
-
},
|
|
4188
|
+
return Bo(Ft({ locale: r }, n));
|
|
4189
|
+
}, Co = mt(
|
|
4233
4190
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4234
|
-
(e, t = ye()) => new
|
|
4235
|
-
ignoreTag:
|
|
4191
|
+
(e, t = ye()) => new io(e, t, Ne().formats, {
|
|
4192
|
+
ignoreTag: Ne().ignoreTag
|
|
4236
4193
|
})
|
|
4237
|
-
),
|
|
4194
|
+
), Io = (e, t = {}) => {
|
|
4238
4195
|
var r, n, i, o;
|
|
4239
4196
|
let s = t;
|
|
4240
4197
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4247,18 +4204,18 @@ const Xe = (e, t) => {
|
|
|
4247
4204
|
throw new Error(
|
|
4248
4205
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4249
4206
|
);
|
|
4250
|
-
let
|
|
4251
|
-
if (!
|
|
4252
|
-
|
|
4253
|
-
else if (typeof
|
|
4207
|
+
let h = qr(e, l);
|
|
4208
|
+
if (!h)
|
|
4209
|
+
h = (o = (i = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4210
|
+
else if (typeof h != "string")
|
|
4254
4211
|
return console.warn(
|
|
4255
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4256
|
-
),
|
|
4212
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4213
|
+
), h;
|
|
4257
4214
|
if (!a)
|
|
4258
|
-
return
|
|
4259
|
-
let p =
|
|
4215
|
+
return h;
|
|
4216
|
+
let p = h;
|
|
4260
4217
|
try {
|
|
4261
|
-
p =
|
|
4218
|
+
p = Co(h, l).format(a);
|
|
4262
4219
|
} catch (f) {
|
|
4263
4220
|
f instanceof Error && console.warn(
|
|
4264
4221
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4266,21 +4223,21 @@ const Xe = (e, t) => {
|
|
|
4266
4223
|
);
|
|
4267
4224
|
}
|
|
4268
4225
|
return p;
|
|
4269
|
-
},
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
window.emWidgets = { topic:
|
|
4276
|
-
const
|
|
4277
|
-
function
|
|
4226
|
+
}, No = (e, t) => Lo(t).format(e), Mo = (e, t) => Oo(t).format(e), Ro = (e, t) => Po(t).format(e), Uo = (e, t = ye()) => qr(e, t);
|
|
4227
|
+
Me([Re, Ze], () => Io);
|
|
4228
|
+
Me([Re], () => No);
|
|
4229
|
+
Me([Re], () => Mo);
|
|
4230
|
+
Me([Re], () => Ro);
|
|
4231
|
+
Me([Re, Ze], () => Uo);
|
|
4232
|
+
window.emWidgets = { topic: Qn };
|
|
4233
|
+
const Do = (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));
|
|
4234
|
+
function Go(e, t) {
|
|
4278
4235
|
if (e) {
|
|
4279
4236
|
const r = document.createElement("style");
|
|
4280
4237
|
r.innerHTML = t, e.appendChild(r);
|
|
4281
4238
|
}
|
|
4282
4239
|
}
|
|
4283
|
-
function
|
|
4240
|
+
function ko(e, t) {
|
|
4284
4241
|
const r = new URL(t);
|
|
4285
4242
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4286
4243
|
const i = document.createElement("style");
|
|
@@ -4289,7 +4246,7 @@ function Wo(e, t) {
|
|
|
4289
4246
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4290
4247
|
});
|
|
4291
4248
|
}
|
|
4292
|
-
function
|
|
4249
|
+
function jo(e, t, r) {
|
|
4293
4250
|
if (window.emMessageBus) {
|
|
4294
4251
|
const n = document.createElement("style");
|
|
4295
4252
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4297,13 +4254,13 @@ function Xo(e, t, r) {
|
|
|
4297
4254
|
});
|
|
4298
4255
|
}
|
|
4299
4256
|
}
|
|
4300
|
-
function
|
|
4301
|
-
|
|
4257
|
+
function br(e, t) {
|
|
4258
|
+
en(e, t);
|
|
4302
4259
|
}
|
|
4303
|
-
function
|
|
4304
|
-
|
|
4260
|
+
function Fo(e) {
|
|
4261
|
+
Re.set(e);
|
|
4305
4262
|
}
|
|
4306
|
-
const
|
|
4263
|
+
const gr = {
|
|
4307
4264
|
en: {
|
|
4308
4265
|
loadingText: "Loading, please wait..."
|
|
4309
4266
|
},
|
|
@@ -4341,27 +4298,27 @@ const xr = {
|
|
|
4341
4298
|
loadingText: "Loading, please wait..."
|
|
4342
4299
|
}
|
|
4343
4300
|
};
|
|
4344
|
-
function
|
|
4345
|
-
|
|
4301
|
+
function $o(e) {
|
|
4302
|
+
pn(e, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4346
4303
|
}
|
|
4347
|
-
function
|
|
4304
|
+
function yr(e, t, r) {
|
|
4348
4305
|
const n = e.slice();
|
|
4349
4306
|
return n[56] = t[r], n[58] = r, n;
|
|
4350
4307
|
}
|
|
4351
|
-
function
|
|
4352
|
-
let t, r, n, i, o, s, a, l, u,
|
|
4308
|
+
function Vo(e) {
|
|
4309
|
+
let t, r, n, i, o, s, a, l, u, h, p, f, b;
|
|
4353
4310
|
function x(S, y) {
|
|
4354
4311
|
return (
|
|
4355
4312
|
/*tabletView*/
|
|
4356
|
-
S[8] ?
|
|
4313
|
+
S[8] ? zo : Jo
|
|
4357
4314
|
);
|
|
4358
4315
|
}
|
|
4359
4316
|
let g = x(e), v = g(e);
|
|
4360
4317
|
return {
|
|
4361
4318
|
c() {
|
|
4362
4319
|
t = m("div"), r = m("div"), n = m("div"), i = m("div"), o = I(), s = m("div"), v.c(), a = I(), l = m("div"), u = m("ui-image"), _(i, "class", "vendorLogo"), rt(i, "background-image", "url(" + /*vendorIcon*/
|
|
4363
|
-
e[9] + ")"), _(s, "class", "displayContainer"), Y(u.src,
|
|
4364
|
-
e[14]) ||
|
|
4320
|
+
e[9] + ")"), _(s, "class", "displayContainer"), Y(u.src, h = /*titleLogoImg*/
|
|
4321
|
+
e[14]) || O(u, "src", h), O(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
|
|
4365
4322
|
e[0] + " " + /*mobileView*/
|
|
4366
4323
|
(e[7] && !/*tabletView*/
|
|
4367
4324
|
e[8] ? "mobile" : (
|
|
@@ -4371,7 +4328,7 @@ function Zo(e) {
|
|
|
4371
4328
|
e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4372
4329
|
},
|
|
4373
4330
|
m(S, y) {
|
|
4374
|
-
|
|
4331
|
+
F(S, t, y), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), f || (b = yn(
|
|
4375
4332
|
r,
|
|
4376
4333
|
"click",
|
|
4377
4334
|
/*click_handler*/
|
|
@@ -4382,8 +4339,8 @@ function Zo(e) {
|
|
|
4382
4339
|
y[0] & /*vendorIcon*/
|
|
4383
4340
|
512 && rt(i, "background-image", "url(" + /*vendorIcon*/
|
|
4384
4341
|
S[9] + ")"), g === (g = x(S)) && v ? v.p(S, y) : (v.d(1), v = g(S), v && (v.c(), v.m(s, null))), y[0] & /*titleLogoImg*/
|
|
4385
|
-
16384 && !Y(u.src,
|
|
4386
|
-
S[14]) &&
|
|
4342
|
+
16384 && !Y(u.src, h = /*titleLogoImg*/
|
|
4343
|
+
S[14]) && O(u, "src", h), y[0] & /*visualstructure, mobileView, tabletView*/
|
|
4387
4344
|
385 && p !== (p = "mainWrapper " + /*visualstructure*/
|
|
4388
4345
|
S[0] + " " + /*mobileView*/
|
|
4389
4346
|
(S[7] && !/*tabletView*/
|
|
@@ -4399,14 +4356,14 @@ function Zo(e) {
|
|
|
4399
4356
|
}
|
|
4400
4357
|
};
|
|
4401
4358
|
}
|
|
4402
|
-
function
|
|
4359
|
+
function Wo(e) {
|
|
4403
4360
|
let t;
|
|
4404
4361
|
return {
|
|
4405
4362
|
c() {
|
|
4406
4363
|
t = m("div"), _(t, "class", "LoadingSpinner");
|
|
4407
4364
|
},
|
|
4408
4365
|
m(r, n) {
|
|
4409
|
-
|
|
4366
|
+
F(r, t, n);
|
|
4410
4367
|
},
|
|
4411
4368
|
p: Z,
|
|
4412
4369
|
d(r) {
|
|
@@ -4414,14 +4371,14 @@ function Qo(e) {
|
|
|
4414
4371
|
}
|
|
4415
4372
|
};
|
|
4416
4373
|
}
|
|
4417
|
-
function
|
|
4374
|
+
function Xo(e) {
|
|
4418
4375
|
let t;
|
|
4419
4376
|
return {
|
|
4420
4377
|
c() {
|
|
4421
4378
|
t = m("p"), t.textContent = "500 Server error";
|
|
4422
4379
|
},
|
|
4423
4380
|
m(r, n) {
|
|
4424
|
-
|
|
4381
|
+
F(r, t, n);
|
|
4425
4382
|
},
|
|
4426
4383
|
p: Z,
|
|
4427
4384
|
d(r) {
|
|
@@ -4429,11 +4386,11 @@ function Yo(e) {
|
|
|
4429
4386
|
}
|
|
4430
4387
|
};
|
|
4431
4388
|
}
|
|
4432
|
-
function
|
|
4389
|
+
function zo(e) {
|
|
4433
4390
|
let t, r, n, i, o, s, a, l = (
|
|
4434
4391
|
/*formattedLabels*/
|
|
4435
4392
|
e[11][0] + ""
|
|
4436
|
-
), u,
|
|
4393
|
+
), u, h, p, f, b = (
|
|
4437
4394
|
/*realtimeupdate*/
|
|
4438
4395
|
(e[2] === "true" ? (
|
|
4439
4396
|
/*reversedJackpotValues*/
|
|
@@ -4442,10 +4399,10 @@ function qo(e) {
|
|
|
4442
4399
|
/*formattedJackpotValues*/
|
|
4443
4400
|
e[10][0]
|
|
4444
4401
|
)) + ""
|
|
4445
|
-
), x, g, v, S, y, T, C, G,
|
|
4402
|
+
), x, g, v, S, y, T, C, G, $, J = (
|
|
4446
4403
|
/*formattedLabels*/
|
|
4447
4404
|
e[11][1] + ""
|
|
4448
|
-
),
|
|
4405
|
+
), De, ve, q, be, fe = (
|
|
4449
4406
|
/*realtimeupdate*/
|
|
4450
4407
|
(e[2] === "true" ? (
|
|
4451
4408
|
/*reversedJackpotValues*/
|
|
@@ -4454,10 +4411,10 @@ function qo(e) {
|
|
|
4454
4411
|
/*formattedJackpotValues*/
|
|
4455
4412
|
e[10][1]
|
|
4456
4413
|
)) + ""
|
|
4457
|
-
), pe, _e, Ee, te,
|
|
4414
|
+
), pe, _e, Ee, te, ne, ie, M, oe, Ge, de, K = (
|
|
4458
4415
|
/*formattedLabels*/
|
|
4459
4416
|
e[11][2] + ""
|
|
4460
|
-
),
|
|
4417
|
+
), se, Qe, ee, xe, Se = (
|
|
4461
4418
|
/*realtimeupdate*/
|
|
4462
4419
|
(e[2] === "true" ? (
|
|
4463
4420
|
/*updatedJackpotValues*/
|
|
@@ -4466,10 +4423,10 @@ function qo(e) {
|
|
|
4466
4423
|
/*formattedJackpotValues*/
|
|
4467
4424
|
e[10][2]
|
|
4468
4425
|
)) + ""
|
|
4469
|
-
),
|
|
4426
|
+
), ke, Ye, qe, ae, ue, re, Te, je, we, ge = (
|
|
4470
4427
|
/*formattedLabels*/
|
|
4471
4428
|
e[11][3] + ""
|
|
4472
|
-
),
|
|
4429
|
+
), Fe, Ke, le, c, H = (
|
|
4473
4430
|
/*realtimeupdate*/
|
|
4474
4431
|
(e[2] === "true" ? (
|
|
4475
4432
|
/*updatedJackpotValues*/
|
|
@@ -4479,25 +4436,25 @@ function qo(e) {
|
|
|
4479
4436
|
e[10][3]
|
|
4480
4437
|
)) + ""
|
|
4481
4438
|
), R, et, V = !/*currencylocale*/
|
|
4482
|
-
e[3] &&
|
|
4483
|
-
e[3] &&
|
|
4484
|
-
e[3] &&
|
|
4485
|
-
e[3] &&
|
|
4439
|
+
e[3] && vr(e), W = !/*currencylocale*/
|
|
4440
|
+
e[3] && _r(e), X = !/*currencylocale*/
|
|
4441
|
+
e[3] && Er(e), z = !/*currencylocale*/
|
|
4442
|
+
e[3] && xr(e);
|
|
4486
4443
|
return {
|
|
4487
4444
|
c() {
|
|
4488
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s = I(), a = m("span"), u = U(l),
|
|
4489
|
-
e[12][0]) ||
|
|
4490
|
-
e[12][1]) ||
|
|
4491
|
-
e[12][2]) ||
|
|
4492
|
-
e[12][3]) ||
|
|
4445
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s = I(), a = m("span"), u = U(l), h = I(), p = m("span"), f = m("span"), x = U(b), g = I(), V && V.c(), v = I(), S = m("div"), y = m("div"), T = m("ui-image"), G = I(), $ = m("span"), De = U(J), ve = I(), q = m("span"), be = m("span"), pe = U(fe), _e = I(), W && W.c(), Ee = I(), te = m("div"), ne = m("div"), ie = m("div"), M = m("ui-image"), Ge = I(), de = m("span"), se = U(K), Qe = I(), ee = m("span"), xe = m("span"), ke = U(Se), Ye = I(), X && X.c(), qe = I(), ae = m("div"), ue = m("div"), re = m("ui-image"), je = I(), we = m("span"), Fe = U(ge), Ke = I(), le = m("span"), c = m("span"), R = U(H), et = I(), z && z.c(), O(i, "class", "displayCardIcon"), Y(i.src, o = /*caticons*/
|
|
4446
|
+
e[12][0]) || O(i, "src", o), O(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), O(T, "class", "displayCardIcon"), Y(T.src, C = /*caticons*/
|
|
4447
|
+
e[12][1]) || O(T, "src", C), O(T, "alt", ""), _($, "class", "cardLabel"), _(y, "class", "iconWrapper"), _(be, "class", "jackpotValue"), _(q, "class", "cardTextWrapper"), _(S, "class", "displayCard"), _(t, "class", "pairWrapper"), O(M, "class", "displayCardIcon"), Y(M.src, oe = /*caticons*/
|
|
4448
|
+
e[12][2]) || O(M, "src", oe), O(M, "alt", ""), _(de, "class", "cardLabel"), _(ie, "class", "iconWrapper"), _(xe, "class", "jackpotValue"), _(ee, "class", "cardTextWrapper"), _(ne, "class", "displayCard"), O(re, "class", "displayCardIcon"), Y(re.src, Te = /*caticons*/
|
|
4449
|
+
e[12][3]) || O(re, "src", Te), O(re, "alt", ""), _(we, "class", "cardLabel"), _(ue, "class", "iconWrapper"), _(c, "class", "jackpotValue"), _(le, "class", "cardTextWrapper"), _(ae, "class", "displayCard"), _(te, "class", "pairWrapper");
|
|
4493
4450
|
},
|
|
4494
4451
|
m(E, N) {
|
|
4495
|
-
|
|
4452
|
+
F(E, t, N), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, h), d(r, p), d(p, f), d(f, x), d(p, g), V && V.m(p, null), d(t, v), d(t, S), d(S, y), d(y, T), d(y, G), d(y, $), d($, De), d(S, ve), d(S, q), d(q, be), d(be, pe), d(q, _e), W && W.m(q, null), F(E, Ee, N), F(E, te, N), d(te, ne), d(ne, ie), d(ie, M), d(ie, Ge), d(ie, de), d(de, se), d(ne, Qe), d(ne, ee), d(ee, xe), d(xe, ke), d(ee, Ye), X && X.m(ee, null), d(te, qe), d(te, ae), d(ae, ue), d(ue, re), d(ue, je), d(ue, we), d(we, Fe), d(ae, Ke), d(ae, le), d(le, c), d(c, R), d(le, et), z && z.m(le, null);
|
|
4496
4453
|
},
|
|
4497
4454
|
p(E, N) {
|
|
4498
4455
|
N[0] & /*caticons*/
|
|
4499
4456
|
4096 && !Y(i.src, o = /*caticons*/
|
|
4500
|
-
E[12][0]) &&
|
|
4457
|
+
E[12][0]) && O(i, "src", o), N[0] & /*formattedLabels*/
|
|
4501
4458
|
2048 && l !== (l = /*formattedLabels*/
|
|
4502
4459
|
E[11][0] + "") && j(u, l), N[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4503
4460
|
66564 && b !== (b = /*realtimeupdate*/
|
|
@@ -4508,11 +4465,11 @@ function qo(e) {
|
|
|
4508
4465
|
/*formattedJackpotValues*/
|
|
4509
4466
|
E[10][0]
|
|
4510
4467
|
)) + "") && j(x, b), /*currencylocale*/
|
|
4511
|
-
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, N) : (V =
|
|
4468
|
+
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, N) : (V = vr(E), V.c(), V.m(p, null)), N[0] & /*caticons*/
|
|
4512
4469
|
4096 && !Y(T.src, C = /*caticons*/
|
|
4513
|
-
E[12][1]) &&
|
|
4470
|
+
E[12][1]) && O(T, "src", C), N[0] & /*formattedLabels*/
|
|
4514
4471
|
2048 && J !== (J = /*formattedLabels*/
|
|
4515
|
-
E[11][1] + "") && j(
|
|
4472
|
+
E[11][1] + "") && j(De, J), N[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4516
4473
|
66564 && fe !== (fe = /*realtimeupdate*/
|
|
4517
4474
|
(E[2] === "true" ? (
|
|
4518
4475
|
/*reversedJackpotValues*/
|
|
@@ -4521,11 +4478,11 @@ function qo(e) {
|
|
|
4521
4478
|
/*formattedJackpotValues*/
|
|
4522
4479
|
E[10][1]
|
|
4523
4480
|
)) + "") && j(pe, fe), /*currencylocale*/
|
|
4524
|
-
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, N) : (W =
|
|
4525
|
-
4096 && !Y(M.src,
|
|
4526
|
-
E[12][2]) &&
|
|
4481
|
+
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, N) : (W = _r(E), W.c(), W.m(q, null)), N[0] & /*caticons*/
|
|
4482
|
+
4096 && !Y(M.src, oe = /*caticons*/
|
|
4483
|
+
E[12][2]) && O(M, "src", oe), N[0] & /*formattedLabels*/
|
|
4527
4484
|
2048 && K !== (K = /*formattedLabels*/
|
|
4528
|
-
E[11][2] + "") && j(
|
|
4485
|
+
E[11][2] + "") && j(se, K), N[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4529
4486
|
1092 && Se !== (Se = /*realtimeupdate*/
|
|
4530
4487
|
(E[2] === "true" ? (
|
|
4531
4488
|
/*updatedJackpotValues*/
|
|
@@ -4533,12 +4490,12 @@ function qo(e) {
|
|
|
4533
4490
|
) : (
|
|
4534
4491
|
/*formattedJackpotValues*/
|
|
4535
4492
|
E[10][2]
|
|
4536
|
-
)) + "") && j(
|
|
4537
|
-
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, N) : (X =
|
|
4493
|
+
)) + "") && j(ke, Se), /*currencylocale*/
|
|
4494
|
+
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, N) : (X = Er(E), X.c(), X.m(ee, null)), N[0] & /*caticons*/
|
|
4538
4495
|
4096 && !Y(re.src, Te = /*caticons*/
|
|
4539
|
-
E[12][3]) &&
|
|
4496
|
+
E[12][3]) && O(re, "src", Te), N[0] & /*formattedLabels*/
|
|
4540
4497
|
2048 && ge !== (ge = /*formattedLabels*/
|
|
4541
|
-
E[11][3] + "") && j(
|
|
4498
|
+
E[11][3] + "") && j(Fe, ge), N[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4542
4499
|
1092 && H !== (H = /*realtimeupdate*/
|
|
4543
4500
|
(E[2] === "true" ? (
|
|
4544
4501
|
/*updatedJackpotValues*/
|
|
@@ -4547,36 +4504,36 @@ function qo(e) {
|
|
|
4547
4504
|
/*formattedJackpotValues*/
|
|
4548
4505
|
E[10][3]
|
|
4549
4506
|
)) + "") && j(R, H), /*currencylocale*/
|
|
4550
|
-
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, N) : (z =
|
|
4507
|
+
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, N) : (z = xr(E), z.c(), z.m(le, null));
|
|
4551
4508
|
},
|
|
4552
4509
|
d(E) {
|
|
4553
4510
|
E && (D(t), D(Ee), D(te)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4554
4511
|
}
|
|
4555
4512
|
};
|
|
4556
4513
|
}
|
|
4557
|
-
function
|
|
4558
|
-
let t, r =
|
|
4514
|
+
function Jo(e) {
|
|
4515
|
+
let t, r = Zt(Array(4)), n = [];
|
|
4559
4516
|
for (let i = 0; i < r.length; i += 1)
|
|
4560
|
-
n[i] =
|
|
4517
|
+
n[i] = Tr(yr(e, r, i));
|
|
4561
4518
|
return {
|
|
4562
4519
|
c() {
|
|
4563
4520
|
for (let i = 0; i < n.length; i += 1)
|
|
4564
4521
|
n[i].c();
|
|
4565
|
-
t =
|
|
4522
|
+
t = gn();
|
|
4566
4523
|
},
|
|
4567
4524
|
m(i, o) {
|
|
4568
4525
|
for (let s = 0; s < n.length; s += 1)
|
|
4569
4526
|
n[s] && n[s].m(i, o);
|
|
4570
|
-
|
|
4527
|
+
F(i, t, o);
|
|
4571
4528
|
},
|
|
4572
4529
|
p(i, o) {
|
|
4573
4530
|
if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4574
4531
|
72718) {
|
|
4575
|
-
r =
|
|
4532
|
+
r = Zt(Array(4));
|
|
4576
4533
|
let s;
|
|
4577
4534
|
for (s = 0; s < r.length; s += 1) {
|
|
4578
|
-
const a =
|
|
4579
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4535
|
+
const a = yr(i, r, s);
|
|
4536
|
+
n[s] ? n[s].p(a, o) : (n[s] = Tr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4580
4537
|
}
|
|
4581
4538
|
for (; s < n.length; s += 1)
|
|
4582
4539
|
n[s].d(1);
|
|
@@ -4584,11 +4541,11 @@ function Ko(e) {
|
|
|
4584
4541
|
}
|
|
4585
4542
|
},
|
|
4586
4543
|
d(i) {
|
|
4587
|
-
i && D(t),
|
|
4544
|
+
i && D(t), bn(n, i);
|
|
4588
4545
|
}
|
|
4589
4546
|
};
|
|
4590
4547
|
}
|
|
4591
|
-
function
|
|
4548
|
+
function vr(e) {
|
|
4592
4549
|
let t, r;
|
|
4593
4550
|
return {
|
|
4594
4551
|
c() {
|
|
@@ -4598,7 +4555,7 @@ function Tr(e) {
|
|
|
4598
4555
|
), _(t, "class", "jackpot-currency");
|
|
4599
4556
|
},
|
|
4600
4557
|
m(n, i) {
|
|
4601
|
-
|
|
4558
|
+
F(n, t, i), d(t, r);
|
|
4602
4559
|
},
|
|
4603
4560
|
p(n, i) {
|
|
4604
4561
|
i[0] & /*currency*/
|
|
@@ -4613,7 +4570,7 @@ function Tr(e) {
|
|
|
4613
4570
|
}
|
|
4614
4571
|
};
|
|
4615
4572
|
}
|
|
4616
|
-
function
|
|
4573
|
+
function _r(e) {
|
|
4617
4574
|
let t, r;
|
|
4618
4575
|
return {
|
|
4619
4576
|
c() {
|
|
@@ -4623,7 +4580,7 @@ function wr(e) {
|
|
|
4623
4580
|
), _(t, "class", "jackpot-currency");
|
|
4624
4581
|
},
|
|
4625
4582
|
m(n, i) {
|
|
4626
|
-
|
|
4583
|
+
F(n, t, i), d(t, r);
|
|
4627
4584
|
},
|
|
4628
4585
|
p(n, i) {
|
|
4629
4586
|
i[0] & /*currency*/
|
|
@@ -4638,7 +4595,7 @@ function wr(e) {
|
|
|
4638
4595
|
}
|
|
4639
4596
|
};
|
|
4640
4597
|
}
|
|
4641
|
-
function
|
|
4598
|
+
function Er(e) {
|
|
4642
4599
|
let t, r;
|
|
4643
4600
|
return {
|
|
4644
4601
|
c() {
|
|
@@ -4648,7 +4605,7 @@ function Hr(e) {
|
|
|
4648
4605
|
), _(t, "class", "jackpot-currency");
|
|
4649
4606
|
},
|
|
4650
4607
|
m(n, i) {
|
|
4651
|
-
|
|
4608
|
+
F(n, t, i), d(t, r);
|
|
4652
4609
|
},
|
|
4653
4610
|
p(n, i) {
|
|
4654
4611
|
i[0] & /*currency*/
|
|
@@ -4663,7 +4620,7 @@ function Hr(e) {
|
|
|
4663
4620
|
}
|
|
4664
4621
|
};
|
|
4665
4622
|
}
|
|
4666
|
-
function
|
|
4623
|
+
function xr(e) {
|
|
4667
4624
|
let t, r;
|
|
4668
4625
|
return {
|
|
4669
4626
|
c() {
|
|
@@ -4673,7 +4630,7 @@ function Ar(e) {
|
|
|
4673
4630
|
), _(t, "class", "jackpot-currency");
|
|
4674
4631
|
},
|
|
4675
4632
|
m(n, i) {
|
|
4676
|
-
|
|
4633
|
+
F(n, t, i), d(t, r);
|
|
4677
4634
|
},
|
|
4678
4635
|
p(n, i) {
|
|
4679
4636
|
i[0] & /*currency*/
|
|
@@ -4688,7 +4645,7 @@ function Ar(e) {
|
|
|
4688
4645
|
}
|
|
4689
4646
|
};
|
|
4690
4647
|
}
|
|
4691
|
-
function
|
|
4648
|
+
function Sr(e) {
|
|
4692
4649
|
let t, r;
|
|
4693
4650
|
return {
|
|
4694
4651
|
c() {
|
|
@@ -4698,7 +4655,7 @@ function Br(e) {
|
|
|
4698
4655
|
), _(t, "class", "jackpot-currency");
|
|
4699
4656
|
},
|
|
4700
4657
|
m(n, i) {
|
|
4701
|
-
|
|
4658
|
+
F(n, t, i), d(t, r);
|
|
4702
4659
|
},
|
|
4703
4660
|
p(n, i) {
|
|
4704
4661
|
i[0] & /*currency*/
|
|
@@ -4713,7 +4670,7 @@ function Br(e) {
|
|
|
4713
4670
|
}
|
|
4714
4671
|
};
|
|
4715
4672
|
}
|
|
4716
|
-
function
|
|
4673
|
+
function Tr(e) {
|
|
4717
4674
|
var S;
|
|
4718
4675
|
let t, r, n, i, o, s, a = (
|
|
4719
4676
|
/*formattedLabels*/
|
|
@@ -4721,7 +4678,7 @@ function Pr(e) {
|
|
|
4721
4678
|
/*i*/
|
|
4722
4679
|
e[58]
|
|
4723
4680
|
] + ""
|
|
4724
|
-
), l, u,
|
|
4681
|
+
), l, u, h, p, f = (
|
|
4725
4682
|
/*realtimeupdate*/
|
|
4726
4683
|
(e[2] === "true" ? (
|
|
4727
4684
|
/*reversedJackpotValues*/
|
|
@@ -4737,17 +4694,17 @@ function Pr(e) {
|
|
|
4737
4694
|
]) != null ? S : ""
|
|
4738
4695
|
)) + ""
|
|
4739
4696
|
), b, x, g, v = !/*currencylocale*/
|
|
4740
|
-
e[3] &&
|
|
4697
|
+
e[3] && Sr(e);
|
|
4741
4698
|
return {
|
|
4742
4699
|
c() {
|
|
4743
|
-
t = m("div"), r = m("div"), n = m("ui-image"), o = I(), s = m("span"), l = U(a), u = I(),
|
|
4700
|
+
t = m("div"), r = m("div"), n = m("ui-image"), o = I(), s = m("span"), l = U(a), u = I(), h = m("span"), p = m("span"), b = U(f), x = I(), v && v.c(), g = I(), O(n, "class", "displayCardIcon"), Y(n.src, i = /*caticons*/
|
|
4744
4701
|
e[12][
|
|
4745
4702
|
/*i*/
|
|
4746
4703
|
e[58]
|
|
4747
|
-
]) ||
|
|
4704
|
+
]) || O(n, "src", i), O(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(h, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4748
4705
|
},
|
|
4749
4706
|
m(y, T) {
|
|
4750
|
-
|
|
4707
|
+
F(y, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, h), d(h, p), d(p, b), d(h, x), v && v.m(h, null), d(t, g);
|
|
4751
4708
|
},
|
|
4752
4709
|
p(y, T) {
|
|
4753
4710
|
var C;
|
|
@@ -4756,7 +4713,7 @@ function Pr(e) {
|
|
|
4756
4713
|
y[12][
|
|
4757
4714
|
/*i*/
|
|
4758
4715
|
y[58]
|
|
4759
|
-
]) &&
|
|
4716
|
+
]) && O(n, "src", i), T[0] & /*formattedLabels*/
|
|
4760
4717
|
2048 && a !== (a = /*formattedLabels*/
|
|
4761
4718
|
y[11][
|
|
4762
4719
|
/*i*/
|
|
@@ -4776,21 +4733,21 @@ function Pr(e) {
|
|
|
4776
4733
|
y[58]
|
|
4777
4734
|
]) != null ? C : ""
|
|
4778
4735
|
)) + "") && j(b, f), /*currencylocale*/
|
|
4779
|
-
y[3] ? v && (v.d(1), v = null) : v ? v.p(y, T) : (v =
|
|
4736
|
+
y[3] ? v && (v.d(1), v = null) : v ? v.p(y, T) : (v = Sr(y), v.c(), v.m(h, null));
|
|
4780
4737
|
},
|
|
4781
4738
|
d(y) {
|
|
4782
4739
|
y && D(t), v && v.d();
|
|
4783
4740
|
}
|
|
4784
4741
|
};
|
|
4785
4742
|
}
|
|
4786
|
-
function
|
|
4743
|
+
function Zo(e) {
|
|
4787
4744
|
let t;
|
|
4788
4745
|
function r(o, s) {
|
|
4789
4746
|
return (
|
|
4790
4747
|
/*hasErrors*/
|
|
4791
|
-
o[15] ?
|
|
4748
|
+
o[15] ? Xo : (
|
|
4792
4749
|
/*isLoading*/
|
|
4793
|
-
o[5] ?
|
|
4750
|
+
o[5] ? Wo : Vo
|
|
4794
4751
|
)
|
|
4795
4752
|
);
|
|
4796
4753
|
}
|
|
@@ -4800,7 +4757,7 @@ function es(e) {
|
|
|
4800
4757
|
t = m("div"), i.c();
|
|
4801
4758
|
},
|
|
4802
4759
|
m(o, s) {
|
|
4803
|
-
|
|
4760
|
+
F(o, t, s), i.m(t, null), e[36](t);
|
|
4804
4761
|
},
|
|
4805
4762
|
p(o, s) {
|
|
4806
4763
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4812,127 +4769,127 @@ function es(e) {
|
|
|
4812
4769
|
}
|
|
4813
4770
|
};
|
|
4814
4771
|
}
|
|
4815
|
-
function
|
|
4816
|
-
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels:
|
|
4772
|
+
function Qo(e, t, r) {
|
|
4773
|
+
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: h = "" } = t, { backgroundsrc: p = "" } = t, { currency: f = "" } = t, { backgroundsrcmobile: b = "" } = t, { titlelogopath: x = "" } = t, { lang: g = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: y = "" } = t, { endpoint: T = "" } = t, { gameid: C = "" } = t, { mbsource: G } = t, { realtimeupdate: $ = "false" } = t, { currencylocale: J = "" } = t, De = window.navigator.userAgent, ve = !1, q = !1, be = "", fe = [], pe = [], _e = [], Ee = [], te = [], ne = "", ie = "", M, oe = !0, Ge = !1, de, K = null, se = [];
|
|
4817
4774
|
const Qe = () => {
|
|
4818
4775
|
fetch(y).then((H) => H.json()).then((H) => {
|
|
4819
4776
|
Object.keys(H).forEach((R) => {
|
|
4820
|
-
|
|
4777
|
+
br(R, H[R]);
|
|
4821
4778
|
});
|
|
4822
4779
|
}).catch((H) => {
|
|
4823
4780
|
console.log(H);
|
|
4824
4781
|
});
|
|
4825
4782
|
};
|
|
4826
|
-
Object.keys(
|
|
4827
|
-
|
|
4783
|
+
Object.keys(gr).forEach((c) => {
|
|
4784
|
+
br(c, gr[c]);
|
|
4828
4785
|
});
|
|
4829
|
-
const ee = ["typeSpread", "typeLeft"], xe = (
|
|
4786
|
+
const ee = ["typeSpread", "typeLeft"], xe = (c) => {
|
|
4830
4787
|
var R;
|
|
4831
|
-
const H = (R =
|
|
4788
|
+
const H = (R = c == null ? void 0 : c.items[0]) == null ? void 0 : R.additionalData;
|
|
4832
4789
|
H && Object.values(H).forEach((et) => fe.push(+et));
|
|
4833
|
-
}, Se = (
|
|
4790
|
+
}, Se = (c) => {
|
|
4834
4791
|
var H;
|
|
4835
|
-
r(9, be = ((H =
|
|
4836
|
-
},
|
|
4792
|
+
r(9, be = ((H = c == null ? void 0 : c.items[0]) == null ? void 0 : H.vendorLogo) || "");
|
|
4793
|
+
}, ke = () => {
|
|
4837
4794
|
if (T && g && f) {
|
|
4838
|
-
let
|
|
4839
|
-
|
|
4840
|
-
r(5,
|
|
4795
|
+
let c = new URL(`${T}/v1/casino/jackpots`);
|
|
4796
|
+
c.searchParams.append("filter", `id=${C}`), c.searchParams.append("language", g), c.searchParams.append("additionalDataCurrency", f), fetch(c.href).then((H) => H.json().then((R) => {
|
|
4797
|
+
r(5, oe = !1), de = R, pe.includes(C) && (xe(de), Se(de));
|
|
4841
4798
|
}).catch((R) => {
|
|
4842
|
-
r(15,
|
|
4799
|
+
r(15, Ge = !0), r(5, oe = !1), console.error(R);
|
|
4843
4800
|
}).finally(() => {
|
|
4844
4801
|
Ye();
|
|
4845
4802
|
}));
|
|
4846
4803
|
}
|
|
4847
4804
|
}, Ye = () => {
|
|
4848
|
-
const
|
|
4849
|
-
|
|
4805
|
+
const c = M.getRootNode().host;
|
|
4806
|
+
c.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: c } }));
|
|
4850
4807
|
}, qe = () => {
|
|
4851
|
-
let
|
|
4852
|
-
fetch(
|
|
4808
|
+
let c = new URL(`${T}/v1/casino/jackpots/config`);
|
|
4809
|
+
fetch(c.href).then((H) => H.json()).then((H) => {
|
|
4853
4810
|
r(34, pe = H.egtJackpotIds.map((R) => R));
|
|
4854
4811
|
});
|
|
4855
|
-
},
|
|
4856
|
-
r(7, ve =
|
|
4857
|
-
},
|
|
4812
|
+
}, ae = () => {
|
|
4813
|
+
r(7, ve = Do(De) && window.innerHeight / window.innerWidth > 1), r(8, q = Te()), fe.length !== 0 && (r(10, _e = re(fe)), _e.reverse()), r(11, Ee = h ? h.split(",").map((c) => c.trim().toUpperCase()) : new Array(4).fill("")), ee.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${ee[0]}"`), r(0, i = ee[0])), r(13, ne = b && ve && !q ? b : p), r(14, ie = x), r(12, te = [s, a, l, u]);
|
|
4814
|
+
}, ue = (c) => Intl.NumberFormat(J, {
|
|
4858
4815
|
minimumFractionDigits: 2,
|
|
4859
4816
|
maximumFractionDigits: 2,
|
|
4860
4817
|
style: "currency",
|
|
4861
4818
|
currency: f
|
|
4862
|
-
}).format(
|
|
4863
|
-
const
|
|
4864
|
-
return 0.75 <
|
|
4865
|
-
},
|
|
4819
|
+
}).format(c).replace(/\s/g, ""), re = (c) => J ? c.map((H) => ue(H)) : c.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), Te = () => {
|
|
4820
|
+
const c = window.innerHeight / window.innerWidth;
|
|
4821
|
+
return 0.75 < c && c < 1.6;
|
|
4822
|
+
}, je = () => {
|
|
4866
4823
|
window.postMessage({ type: "JackpotBannerClicked", gameid: C }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4867
4824
|
context: "JackpotBanner",
|
|
4868
4825
|
gameId: `${C}`
|
|
4869
4826
|
});
|
|
4870
4827
|
}, we = () => {
|
|
4871
|
-
|
|
4872
|
-
}, ge = (
|
|
4873
|
-
const H = JSON.parse(
|
|
4828
|
+
Fo(g);
|
|
4829
|
+
}, ge = (c) => {
|
|
4830
|
+
const H = JSON.parse(c.data);
|
|
4874
4831
|
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === C) {
|
|
4875
4832
|
const R = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4876
4833
|
r(
|
|
4877
4834
|
6,
|
|
4878
|
-
|
|
4879
|
-
|
|
4835
|
+
se[R] = J ? ue(H.data.data[`${f}`].balance) : H.data.data[`${f}`].balance.toString(),
|
|
4836
|
+
se
|
|
4880
4837
|
);
|
|
4881
4838
|
}
|
|
4882
|
-
},
|
|
4883
|
-
|
|
4839
|
+
}, Fe = () => {
|
|
4840
|
+
$ === "true" && (ae(), r(6, se = ["", "", "", ""]), K = new EventSource(`${T}/v1/encoder/jackpot/*/update`), K.addEventListener("message", ge));
|
|
4884
4841
|
};
|
|
4885
|
-
|
|
4886
|
-
}),
|
|
4842
|
+
En(() => () => {
|
|
4843
|
+
}), xn(() => {
|
|
4887
4844
|
K && (K.removeEventListener("message", ge), K.close(), K = null);
|
|
4888
4845
|
});
|
|
4889
|
-
const Ke = () =>
|
|
4890
|
-
function
|
|
4891
|
-
|
|
4892
|
-
M =
|
|
4846
|
+
const Ke = () => je();
|
|
4847
|
+
function le(c) {
|
|
4848
|
+
Tt[c ? "unshift" : "push"](() => {
|
|
4849
|
+
M = c, r(4, M);
|
|
4893
4850
|
});
|
|
4894
4851
|
}
|
|
4895
|
-
return e.$$set = (
|
|
4896
|
-
"visualstructure" in
|
|
4852
|
+
return e.$$set = (c) => {
|
|
4853
|
+
"visualstructure" in c && r(0, i = c.visualstructure), "title" in c && r(18, o = c.title), "caticon0" in c && r(19, s = c.caticon0), "caticon1" in c && r(20, a = c.caticon1), "caticon2" in c && r(21, l = c.caticon2), "caticon3" in c && r(22, u = c.caticon3), "iconlabels" in c && r(23, h = c.iconlabels), "backgroundsrc" in c && r(24, p = c.backgroundsrc), "currency" in c && r(1, f = c.currency), "backgroundsrcmobile" in c && r(25, b = c.backgroundsrcmobile), "titlelogopath" in c && r(26, x = c.titlelogopath), "lang" in c && r(27, g = c.lang), "clientstyling" in c && r(28, v = c.clientstyling), "clientstylingurl" in c && r(29, S = c.clientstylingurl), "translationurl" in c && r(30, y = c.translationurl), "endpoint" in c && r(31, T = c.endpoint), "gameid" in c && r(32, C = c.gameid), "mbsource" in c && r(33, G = c.mbsource), "realtimeupdate" in c && r(2, $ = c.realtimeupdate), "currencylocale" in c && r(3, J = c.currencylocale);
|
|
4897
4854
|
}, e.$$.update = () => {
|
|
4898
4855
|
e.$$.dirty[1] & /*endpoint*/
|
|
4899
4856
|
1 && T && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4900
|
-
268435472 && v && M &&
|
|
4901
|
-
536870928 && S && M &&
|
|
4857
|
+
268435472 && v && M && Go(M, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4858
|
+
536870928 && S && M && ko(M, S), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4902
4859
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4903
|
-
4 && G && M &&
|
|
4860
|
+
4 && G && M && jo(M, `${G}.Style`), e.$$.dirty[0] & /*lang, currency*/
|
|
4904
4861
|
134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
4905
|
-
9 && T && g && f && pe.length > 0 &&
|
|
4906
|
-
134217762 && f && g && !
|
|
4862
|
+
9 && T && g && f && pe.length > 0 && ke(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4863
|
+
134217762 && f && g && !oe && ae(), e.$$.dirty[0] & /*lang*/
|
|
4907
4864
|
134217728 && g && we(), e.$$.dirty[0] & /*translationurl*/
|
|
4908
4865
|
1073741824 && y && Qe(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4909
|
-
4 &&
|
|
4910
|
-
64 && r(16, n = [...
|
|
4866
|
+
4 && $ && Fe(), e.$$.dirty[0] & /*updatedJackpotValues*/
|
|
4867
|
+
64 && r(16, n = [...se].reverse());
|
|
4911
4868
|
}, [
|
|
4912
4869
|
i,
|
|
4913
4870
|
f,
|
|
4914
|
-
|
|
4871
|
+
$,
|
|
4915
4872
|
J,
|
|
4916
4873
|
M,
|
|
4874
|
+
oe,
|
|
4917
4875
|
se,
|
|
4918
|
-
ae,
|
|
4919
4876
|
ve,
|
|
4920
4877
|
q,
|
|
4921
4878
|
be,
|
|
4922
4879
|
_e,
|
|
4923
4880
|
Ee,
|
|
4924
4881
|
te,
|
|
4882
|
+
ne,
|
|
4925
4883
|
ie,
|
|
4926
|
-
|
|
4927
|
-
De,
|
|
4884
|
+
Ge,
|
|
4928
4885
|
n,
|
|
4929
|
-
|
|
4886
|
+
je,
|
|
4930
4887
|
o,
|
|
4931
4888
|
s,
|
|
4932
4889
|
a,
|
|
4933
4890
|
l,
|
|
4934
4891
|
u,
|
|
4935
|
-
|
|
4892
|
+
h,
|
|
4936
4893
|
p,
|
|
4937
4894
|
b,
|
|
4938
4895
|
x,
|
|
@@ -4945,17 +4902,17 @@ function ts(e, t, r) {
|
|
|
4945
4902
|
G,
|
|
4946
4903
|
pe,
|
|
4947
4904
|
Ke,
|
|
4948
|
-
|
|
4905
|
+
le
|
|
4949
4906
|
];
|
|
4950
4907
|
}
|
|
4951
|
-
class
|
|
4908
|
+
class Yo extends Nn {
|
|
4952
4909
|
constructor(t) {
|
|
4953
|
-
super(),
|
|
4910
|
+
super(), Cn(
|
|
4954
4911
|
this,
|
|
4955
4912
|
t,
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4913
|
+
Qo,
|
|
4914
|
+
Zo,
|
|
4915
|
+
Hr,
|
|
4959
4916
|
{
|
|
4960
4917
|
visualstructure: 0,
|
|
4961
4918
|
title: 18,
|
|
@@ -4978,7 +4935,7 @@ class rs extends Gn {
|
|
|
4978
4935
|
realtimeupdate: 2,
|
|
4979
4936
|
currencylocale: 3
|
|
4980
4937
|
},
|
|
4981
|
-
|
|
4938
|
+
$o,
|
|
4982
4939
|
[-1, -1]
|
|
4983
4940
|
);
|
|
4984
4941
|
}
|
|
@@ -4986,124 +4943,124 @@ class rs extends Gn {
|
|
|
4986
4943
|
return this.$$.ctx[0];
|
|
4987
4944
|
}
|
|
4988
4945
|
set visualstructure(t) {
|
|
4989
|
-
this.$$set({ visualstructure: t }),
|
|
4946
|
+
this.$$set({ visualstructure: t }), L();
|
|
4990
4947
|
}
|
|
4991
4948
|
get title() {
|
|
4992
4949
|
return this.$$.ctx[18];
|
|
4993
4950
|
}
|
|
4994
4951
|
set title(t) {
|
|
4995
|
-
this.$$set({ title: t }),
|
|
4952
|
+
this.$$set({ title: t }), L();
|
|
4996
4953
|
}
|
|
4997
4954
|
get caticon0() {
|
|
4998
4955
|
return this.$$.ctx[19];
|
|
4999
4956
|
}
|
|
5000
4957
|
set caticon0(t) {
|
|
5001
|
-
this.$$set({ caticon0: t }),
|
|
4958
|
+
this.$$set({ caticon0: t }), L();
|
|
5002
4959
|
}
|
|
5003
4960
|
get caticon1() {
|
|
5004
4961
|
return this.$$.ctx[20];
|
|
5005
4962
|
}
|
|
5006
4963
|
set caticon1(t) {
|
|
5007
|
-
this.$$set({ caticon1: t }),
|
|
4964
|
+
this.$$set({ caticon1: t }), L();
|
|
5008
4965
|
}
|
|
5009
4966
|
get caticon2() {
|
|
5010
4967
|
return this.$$.ctx[21];
|
|
5011
4968
|
}
|
|
5012
4969
|
set caticon2(t) {
|
|
5013
|
-
this.$$set({ caticon2: t }),
|
|
4970
|
+
this.$$set({ caticon2: t }), L();
|
|
5014
4971
|
}
|
|
5015
4972
|
get caticon3() {
|
|
5016
4973
|
return this.$$.ctx[22];
|
|
5017
4974
|
}
|
|
5018
4975
|
set caticon3(t) {
|
|
5019
|
-
this.$$set({ caticon3: t }),
|
|
4976
|
+
this.$$set({ caticon3: t }), L();
|
|
5020
4977
|
}
|
|
5021
4978
|
get iconlabels() {
|
|
5022
4979
|
return this.$$.ctx[23];
|
|
5023
4980
|
}
|
|
5024
4981
|
set iconlabels(t) {
|
|
5025
|
-
this.$$set({ iconlabels: t }),
|
|
4982
|
+
this.$$set({ iconlabels: t }), L();
|
|
5026
4983
|
}
|
|
5027
4984
|
get backgroundsrc() {
|
|
5028
4985
|
return this.$$.ctx[24];
|
|
5029
4986
|
}
|
|
5030
4987
|
set backgroundsrc(t) {
|
|
5031
|
-
this.$$set({ backgroundsrc: t }),
|
|
4988
|
+
this.$$set({ backgroundsrc: t }), L();
|
|
5032
4989
|
}
|
|
5033
4990
|
get currency() {
|
|
5034
4991
|
return this.$$.ctx[1];
|
|
5035
4992
|
}
|
|
5036
4993
|
set currency(t) {
|
|
5037
|
-
this.$$set({ currency: t }),
|
|
4994
|
+
this.$$set({ currency: t }), L();
|
|
5038
4995
|
}
|
|
5039
4996
|
get backgroundsrcmobile() {
|
|
5040
4997
|
return this.$$.ctx[25];
|
|
5041
4998
|
}
|
|
5042
4999
|
set backgroundsrcmobile(t) {
|
|
5043
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
5000
|
+
this.$$set({ backgroundsrcmobile: t }), L();
|
|
5044
5001
|
}
|
|
5045
5002
|
get titlelogopath() {
|
|
5046
5003
|
return this.$$.ctx[26];
|
|
5047
5004
|
}
|
|
5048
5005
|
set titlelogopath(t) {
|
|
5049
|
-
this.$$set({ titlelogopath: t }),
|
|
5006
|
+
this.$$set({ titlelogopath: t }), L();
|
|
5050
5007
|
}
|
|
5051
5008
|
get lang() {
|
|
5052
5009
|
return this.$$.ctx[27];
|
|
5053
5010
|
}
|
|
5054
5011
|
set lang(t) {
|
|
5055
|
-
this.$$set({ lang: t }),
|
|
5012
|
+
this.$$set({ lang: t }), L();
|
|
5056
5013
|
}
|
|
5057
5014
|
get clientstyling() {
|
|
5058
5015
|
return this.$$.ctx[28];
|
|
5059
5016
|
}
|
|
5060
5017
|
set clientstyling(t) {
|
|
5061
|
-
this.$$set({ clientstyling: t }),
|
|
5018
|
+
this.$$set({ clientstyling: t }), L();
|
|
5062
5019
|
}
|
|
5063
5020
|
get clientstylingurl() {
|
|
5064
5021
|
return this.$$.ctx[29];
|
|
5065
5022
|
}
|
|
5066
5023
|
set clientstylingurl(t) {
|
|
5067
|
-
this.$$set({ clientstylingurl: t }),
|
|
5024
|
+
this.$$set({ clientstylingurl: t }), L();
|
|
5068
5025
|
}
|
|
5069
5026
|
get translationurl() {
|
|
5070
5027
|
return this.$$.ctx[30];
|
|
5071
5028
|
}
|
|
5072
5029
|
set translationurl(t) {
|
|
5073
|
-
this.$$set({ translationurl: t }),
|
|
5030
|
+
this.$$set({ translationurl: t }), L();
|
|
5074
5031
|
}
|
|
5075
5032
|
get endpoint() {
|
|
5076
5033
|
return this.$$.ctx[31];
|
|
5077
5034
|
}
|
|
5078
5035
|
set endpoint(t) {
|
|
5079
|
-
this.$$set({ endpoint: t }),
|
|
5036
|
+
this.$$set({ endpoint: t }), L();
|
|
5080
5037
|
}
|
|
5081
5038
|
get gameid() {
|
|
5082
5039
|
return this.$$.ctx[32];
|
|
5083
5040
|
}
|
|
5084
5041
|
set gameid(t) {
|
|
5085
|
-
this.$$set({ gameid: t }),
|
|
5042
|
+
this.$$set({ gameid: t }), L();
|
|
5086
5043
|
}
|
|
5087
5044
|
get mbsource() {
|
|
5088
5045
|
return this.$$.ctx[33];
|
|
5089
5046
|
}
|
|
5090
5047
|
set mbsource(t) {
|
|
5091
|
-
this.$$set({ mbsource: t }),
|
|
5048
|
+
this.$$set({ mbsource: t }), L();
|
|
5092
5049
|
}
|
|
5093
5050
|
get realtimeupdate() {
|
|
5094
5051
|
return this.$$.ctx[2];
|
|
5095
5052
|
}
|
|
5096
5053
|
set realtimeupdate(t) {
|
|
5097
|
-
this.$$set({ realtimeupdate: t }),
|
|
5054
|
+
this.$$set({ realtimeupdate: t }), L();
|
|
5098
5055
|
}
|
|
5099
5056
|
get currencylocale() {
|
|
5100
5057
|
return this.$$.ctx[3];
|
|
5101
5058
|
}
|
|
5102
5059
|
set currencylocale(t) {
|
|
5103
|
-
this.$$set({ currencylocale: t }),
|
|
5060
|
+
this.$$set({ currencylocale: t }), L();
|
|
5104
5061
|
}
|
|
5105
5062
|
}
|
|
5106
|
-
|
|
5063
|
+
In(Yo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
5107
5064
|
export {
|
|
5108
|
-
|
|
5065
|
+
Yo as default
|
|
5109
5066
|
};
|