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