@everymatrix/casino-jackpot-banner 1.86.4 → 1.86.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoJackpotBanner-DJKf4enm.js → CasinoJackpotBanner-BdoZB0BG.js} +767 -746
- package/components/CasinoJackpotBanner-D0MRvDYI.cjs +18 -0
- package/components/{CasinoJackpotBanner-CJqf4taC.js → CasinoJackpotBanner-DA_2QcAA.js} +793 -772
- 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-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CasinoJackpotBanner-DCKkU54Y.cjs +0 -18
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
|
@@ -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 Zt = (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-CP8Lp7fB.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 bn(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 yn(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
|
}
|
|
@@ -104,23 +104,23 @@ function m(e) {
|
|
|
104
104
|
function U(e) {
|
|
105
105
|
return document.createTextNode(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function C() {
|
|
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,63 +139,63 @@ function Tn(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 Ir() {
|
|
147
|
+
if (!Ve)
|
|
148
148
|
throw new Error("Function called outside component initialization");
|
|
149
|
-
return
|
|
150
|
-
}
|
|
151
|
-
function wn(e) {
|
|
152
|
-
Lr().$$.on_mount.push(e);
|
|
149
|
+
return Ve;
|
|
153
150
|
}
|
|
154
151
|
function Hn(e) {
|
|
155
|
-
|
|
152
|
+
Ir().$$.on_mount.push(e);
|
|
153
|
+
}
|
|
154
|
+
function An(e) {
|
|
155
|
+
Ir().$$.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
201
|
function Ln(e) {
|
|
@@ -206,26 +206,26 @@ const In = /* @__PURE__ */ new Set();
|
|
|
206
206
|
function Cn(e, t) {
|
|
207
207
|
e && e.i && (In.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 && (Ln(r.after_update),
|
|
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 Rn(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,7 +242,7 @@ function Rn(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
|
|
@@ -251,19 +251,19 @@ function Rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
251
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), c &&
|
|
255
|
-
}) : [], u.update(), c = !0,
|
|
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 && Cn(e.$$.fragment),
|
|
261
|
+
t.intro && Cn(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 Cr;
|
|
266
|
+
typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
|
|
267
267
|
constructor(t, r, n) {
|
|
268
268
|
super();
|
|
269
269
|
/** The Svelte component constructor */
|
|
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
connectedCallback() {
|
|
303
|
-
return
|
|
303
|
+
return Yt(this, null, function* () {
|
|
304
304
|
if (this.$$cn = !0, !this.$$c) {
|
|
305
305
|
let t = function(o) {
|
|
306
306
|
return () => {
|
|
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
314
314
|
* @param {HTMLElement} [anchor]
|
|
315
315
|
*/
|
|
316
316
|
m: function(u, c) {
|
|
317
|
-
|
|
317
|
+
$(u, s, c);
|
|
318
318
|
},
|
|
319
319
|
d: function(u) {
|
|
320
320
|
u && D(s);
|
|
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
324
324
|
};
|
|
325
325
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
326
326
|
return;
|
|
327
|
-
const r = {}, n =
|
|
327
|
+
const r = {}, n = 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" && (Ir = class extends HTMLElement {
|
|
|
335
335
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
336
336
|
this.$$c = new this.$$ctor({
|
|
337
337
|
target: this.shadowRoot || this,
|
|
338
|
-
props:
|
|
338
|
+
props: 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 Cr {
|
|
418
418
|
constructor() {
|
|
419
419
|
super(e, r, i), this.$$p_d = t;
|
|
420
420
|
}
|
|
@@ -444,7 +444,7 @@ function Un(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 Dn {
|
|
|
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 Dn {
|
|
|
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 Dn {
|
|
|
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 kn(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 Pt(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 Pt(e) {
|
|
|
554
535
|
};
|
|
555
536
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
556
537
|
}
|
|
557
|
-
function
|
|
538
|
+
function It(e, t) {
|
|
558
539
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
559
540
|
if (!r)
|
|
560
541
|
return e;
|
|
@@ -574,22 +555,22 @@ function Lt(e, t) {
|
|
|
574
555
|
}
|
|
575
556
|
return o;
|
|
576
557
|
}
|
|
577
|
-
function
|
|
578
|
-
if (
|
|
558
|
+
function Ct(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);
|
|
582
563
|
}
|
|
583
|
-
function
|
|
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 = Cr(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 ht = 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
|
}
|
|
@@ -633,22 +614,22 @@ var ht = function() {
|
|
|
633
614
|
else
|
|
634
615
|
s.remove(this);
|
|
635
616
|
var c = this.initialTeardown;
|
|
636
|
-
if (
|
|
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 = Ct(Ct([], It(o)), It(g.errors)) : o.push(g);
|
|
652
633
|
}
|
|
653
634
|
}
|
|
654
635
|
} catch (g) {
|
|
@@ -663,13 +644,13 @@ var ht = 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,32 +667,28 @@ var ht = 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
|
|
700
|
-
}
|
|
701
|
-
function
|
|
702
|
-
|
|
703
|
-
}
|
|
704
|
-
var
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
Promise: void 0,
|
|
708
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
709
|
-
useDeprecatedNextContext: !1
|
|
710
|
-
}, jn = {
|
|
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);
|
|
681
|
+
}
|
|
682
|
+
function tr(e) {
|
|
683
|
+
he(e) ? e() : e.unsubscribe();
|
|
684
|
+
}
|
|
685
|
+
var jn = {
|
|
686
|
+
Promise: void 0
|
|
687
|
+
}, $n = {
|
|
711
688
|
setTimeout: function(e, t) {
|
|
712
689
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
713
690
|
r[n - 2] = arguments[n];
|
|
714
|
-
return setTimeout.apply(void 0,
|
|
691
|
+
return setTimeout.apply(void 0, Ct([e, t], It(r)));
|
|
715
692
|
},
|
|
716
693
|
clearTimeout: function(e) {
|
|
717
694
|
return clearTimeout(e);
|
|
@@ -719,23 +696,23 @@ var Mr = {
|
|
|
719
696
|
delegate: void 0
|
|
720
697
|
};
|
|
721
698
|
function Fn(e) {
|
|
722
|
-
|
|
699
|
+
$n.setTimeout(function() {
|
|
723
700
|
throw e;
|
|
724
701
|
});
|
|
725
702
|
}
|
|
726
|
-
function
|
|
703
|
+
function rr() {
|
|
727
704
|
}
|
|
728
705
|
function st(e) {
|
|
729
706
|
e();
|
|
730
707
|
}
|
|
731
|
-
var
|
|
732
|
-
|
|
708
|
+
var Ur = function(e) {
|
|
709
|
+
Je(t, e);
|
|
733
710
|
function t(r) {
|
|
734
711
|
var n = e.call(this) || this;
|
|
735
|
-
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;
|
|
736
713
|
}
|
|
737
714
|
return t.create = function(r, n, i) {
|
|
738
|
-
return new
|
|
715
|
+
return new Mt(r, n, i);
|
|
739
716
|
}, t.prototype.next = function(r) {
|
|
740
717
|
this.isStopped || this._next(r);
|
|
741
718
|
}, t.prototype.error = function(r) {
|
|
@@ -759,11 +736,7 @@ var Rr = function(e) {
|
|
|
759
736
|
this.unsubscribe();
|
|
760
737
|
}
|
|
761
738
|
}, t;
|
|
762
|
-
}(
|
|
763
|
-
function vt(e, t) {
|
|
764
|
-
return $n.call(e, t);
|
|
765
|
-
}
|
|
766
|
-
var Vn = function() {
|
|
739
|
+
}(ft), Vn = function() {
|
|
767
740
|
function e(t) {
|
|
768
741
|
this.partialObserver = t;
|
|
769
742
|
}
|
|
@@ -794,30 +767,18 @@ var Vn = function() {
|
|
|
794
767
|
nt(r);
|
|
795
768
|
}
|
|
796
769
|
}, e;
|
|
797
|
-
}(),
|
|
798
|
-
|
|
770
|
+
}(), Mt = function(e) {
|
|
771
|
+
Je(t, e);
|
|
799
772
|
function t(r, n, i) {
|
|
800
773
|
var o = e.call(this) || this, s;
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
};
|
|
807
|
-
else {
|
|
808
|
-
var a;
|
|
809
|
-
o && Mr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
810
|
-
return o.unsubscribe();
|
|
811
|
-
}, s = {
|
|
812
|
-
next: r.next && vt(r.next, a),
|
|
813
|
-
error: r.error && vt(r.error, a),
|
|
814
|
-
complete: r.complete && vt(r.complete, a)
|
|
815
|
-
}) : s = r;
|
|
816
|
-
}
|
|
817
|
-
return o.destination = new Vn(s), o;
|
|
774
|
+
return he(r) || !r ? s = {
|
|
775
|
+
next: r != null ? r : void 0,
|
|
776
|
+
error: n != null ? n : void 0,
|
|
777
|
+
complete: i != null ? i : void 0
|
|
778
|
+
} : s = r, o.destination = new Vn(s), o;
|
|
818
779
|
}
|
|
819
780
|
return t;
|
|
820
|
-
}(
|
|
781
|
+
}(Ur);
|
|
821
782
|
function nt(e) {
|
|
822
783
|
Fn(e);
|
|
823
784
|
}
|
|
@@ -826,9 +787,9 @@ function Wn(e) {
|
|
|
826
787
|
}
|
|
827
788
|
var Xn = {
|
|
828
789
|
closed: !0,
|
|
829
|
-
next:
|
|
790
|
+
next: rr,
|
|
830
791
|
error: Wn,
|
|
831
|
-
complete:
|
|
792
|
+
complete: rr
|
|
832
793
|
}, zn = function() {
|
|
833
794
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
834
795
|
}();
|
|
@@ -842,7 +803,7 @@ function Zn(e) {
|
|
|
842
803
|
}, r);
|
|
843
804
|
};
|
|
844
805
|
}
|
|
845
|
-
var
|
|
806
|
+
var nr = function() {
|
|
846
807
|
function e(t) {
|
|
847
808
|
t && (this._subscribe = t);
|
|
848
809
|
}
|
|
@@ -850,7 +811,7 @@ var tr = function() {
|
|
|
850
811
|
var r = new e();
|
|
851
812
|
return r.source = this, r.operator = t, r;
|
|
852
813
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
853
|
-
var i = this, o = Yn(t) ? t : new
|
|
814
|
+
var i = this, o = Yn(t) ? t : new Mt(t, r, n);
|
|
854
815
|
return st(function() {
|
|
855
816
|
var s = i, a = s.operator, l = s.source;
|
|
856
817
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -863,8 +824,8 @@ var tr = function() {
|
|
|
863
824
|
}
|
|
864
825
|
}, e.prototype.forEach = function(t, r) {
|
|
865
826
|
var n = this;
|
|
866
|
-
return r =
|
|
867
|
-
var s = new
|
|
827
|
+
return r = ir(r), new r(function(i, o) {
|
|
828
|
+
var s = new Mt({
|
|
868
829
|
next: function(a) {
|
|
869
830
|
try {
|
|
870
831
|
t(a);
|
|
@@ -888,7 +849,7 @@ var tr = function() {
|
|
|
888
849
|
return Zn(t)(this);
|
|
889
850
|
}, e.prototype.toPromise = function(t) {
|
|
890
851
|
var r = this;
|
|
891
|
-
return t =
|
|
852
|
+
return t = ir(t), new t(function(n, i) {
|
|
892
853
|
var o;
|
|
893
854
|
r.subscribe(function(s) {
|
|
894
855
|
return o = s;
|
|
@@ -902,28 +863,28 @@ var tr = function() {
|
|
|
902
863
|
return new e(t);
|
|
903
864
|
}, e;
|
|
904
865
|
}();
|
|
905
|
-
function
|
|
866
|
+
function ir(e) {
|
|
906
867
|
var t;
|
|
907
|
-
return (t = e != null ? e :
|
|
868
|
+
return (t = e != null ? e : jn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
908
869
|
}
|
|
909
870
|
function Qn(e) {
|
|
910
|
-
return e &&
|
|
871
|
+
return e && he(e.next) && he(e.error) && he(e.complete);
|
|
911
872
|
}
|
|
912
873
|
function Yn(e) {
|
|
913
|
-
return e && e instanceof
|
|
874
|
+
return e && e instanceof Ur || Qn(e) && Rr(e);
|
|
914
875
|
}
|
|
915
|
-
var qn =
|
|
876
|
+
var qn = Nr(function(e) {
|
|
916
877
|
return function() {
|
|
917
878
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
918
879
|
};
|
|
919
|
-
}),
|
|
920
|
-
|
|
880
|
+
}), Dr = function(e) {
|
|
881
|
+
Je(t, e);
|
|
921
882
|
function t() {
|
|
922
883
|
var r = e.call(this) || this;
|
|
923
884
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
924
885
|
}
|
|
925
886
|
return t.prototype.lift = function(r) {
|
|
926
|
-
var n = new
|
|
887
|
+
var n = new or(this, this);
|
|
927
888
|
return n.operator = r, n;
|
|
928
889
|
}, t.prototype._throwIfClosed = function() {
|
|
929
890
|
if (this.closed)
|
|
@@ -935,7 +896,7 @@ var qn = Cr(function(e) {
|
|
|
935
896
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
936
897
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
937
898
|
try {
|
|
938
|
-
for (var s =
|
|
899
|
+
for (var s = Lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
939
900
|
var l = a.value;
|
|
940
901
|
l.next(r);
|
|
941
902
|
}
|
|
@@ -984,20 +945,20 @@ var qn = Cr(function(e) {
|
|
|
984
945
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
985
946
|
}, t.prototype._innerSubscribe = function(r) {
|
|
986
947
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
987
|
-
return o || s ?
|
|
988
|
-
n.currentObservers = null,
|
|
948
|
+
return o || s ? Mr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
949
|
+
n.currentObservers = null, Nt(a, r);
|
|
989
950
|
}));
|
|
990
951
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
991
952
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
992
953
|
i ? r.error(o) : s && r.complete();
|
|
993
954
|
}, t.prototype.asObservable = function() {
|
|
994
|
-
var r = new
|
|
955
|
+
var r = new nr();
|
|
995
956
|
return r.source = this, r;
|
|
996
957
|
}, t.create = function(r, n) {
|
|
997
|
-
return new
|
|
958
|
+
return new or(r, n);
|
|
998
959
|
}, t;
|
|
999
|
-
}(
|
|
1000
|
-
|
|
960
|
+
}(nr), or = function(e) {
|
|
961
|
+
Je(t, e);
|
|
1001
962
|
function t(r, n) {
|
|
1002
963
|
var i = e.call(this) || this;
|
|
1003
964
|
return i.destination = r, i.source = n, i;
|
|
@@ -1013,17 +974,17 @@ var qn = Cr(function(e) {
|
|
|
1013
974
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1014
975
|
}, t.prototype._subscribe = function(r) {
|
|
1015
976
|
var n, i;
|
|
1016
|
-
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;
|
|
1017
978
|
}, t;
|
|
1018
|
-
}(
|
|
979
|
+
}(Dr), Gr = {
|
|
1019
980
|
now: function() {
|
|
1020
|
-
return (
|
|
981
|
+
return (Gr.delegate || Date).now();
|
|
1021
982
|
},
|
|
1022
983
|
delegate: void 0
|
|
1023
984
|
}, Kn = function(e) {
|
|
1024
|
-
|
|
985
|
+
Je(t, e);
|
|
1025
986
|
function t(r, n, i) {
|
|
1026
|
-
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);
|
|
1027
988
|
var o = e.call(this) || this;
|
|
1028
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;
|
|
1029
990
|
}
|
|
@@ -1043,24 +1004,24 @@ var qn = Cr(function(e) {
|
|
|
1043
1004
|
u && o.splice(0, u + 1);
|
|
1044
1005
|
}
|
|
1045
1006
|
}, t;
|
|
1046
|
-
}(
|
|
1047
|
-
const
|
|
1048
|
-
if (
|
|
1007
|
+
}(Dr);
|
|
1008
|
+
const sr = [], ar = {}, ei = (e, t = 0) => {
|
|
1009
|
+
if (sr.indexOf(e) == -1) {
|
|
1049
1010
|
const r = new Kn(t);
|
|
1050
|
-
|
|
1011
|
+
ar[e] = r, sr.push(e);
|
|
1051
1012
|
}
|
|
1052
|
-
return
|
|
1013
|
+
return ar[e];
|
|
1053
1014
|
}, Ae = [];
|
|
1054
1015
|
function ti(e, t) {
|
|
1055
1016
|
return {
|
|
1056
|
-
subscribe:
|
|
1017
|
+
subscribe: pt(e, t).subscribe
|
|
1057
1018
|
};
|
|
1058
1019
|
}
|
|
1059
|
-
function
|
|
1020
|
+
function pt(e, t = Z) {
|
|
1060
1021
|
let r;
|
|
1061
1022
|
const n = /* @__PURE__ */ new Set();
|
|
1062
1023
|
function i(a) {
|
|
1063
|
-
if (
|
|
1024
|
+
if (Lr(e, a) && (e = a, r)) {
|
|
1064
1025
|
const l = !Ae.length;
|
|
1065
1026
|
for (const u of n)
|
|
1066
1027
|
u[1](), Ae.push(u, e);
|
|
@@ -1082,7 +1043,7 @@ function ft(e, t = Z) {
|
|
|
1082
1043
|
}
|
|
1083
1044
|
return { set: i, update: o, subscribe: s };
|
|
1084
1045
|
}
|
|
1085
|
-
function
|
|
1046
|
+
function Ne(e, t, r) {
|
|
1086
1047
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1087
1048
|
if (!i.every(Boolean))
|
|
1088
1049
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1096,9 +1057,9 @@ function Me(e, t, r) {
|
|
|
1096
1057
|
return;
|
|
1097
1058
|
p();
|
|
1098
1059
|
const x = t(n ? u[0] : u, s, a);
|
|
1099
|
-
o ? s(x) : p =
|
|
1060
|
+
o ? s(x) : p = Wt(x) ? x : Z;
|
|
1100
1061
|
}, b = i.map(
|
|
1101
|
-
(x, g) =>
|
|
1062
|
+
(x, g) => gn(
|
|
1102
1063
|
x,
|
|
1103
1064
|
(v) => {
|
|
1104
1065
|
u[g] = v, c &= ~(1 << g), l && f();
|
|
@@ -1109,7 +1070,7 @@ function Me(e, t, r) {
|
|
|
1109
1070
|
)
|
|
1110
1071
|
);
|
|
1111
1072
|
return l = !0, f(), function() {
|
|
1112
|
-
|
|
1073
|
+
ze(b), p(), l = !1;
|
|
1113
1074
|
};
|
|
1114
1075
|
});
|
|
1115
1076
|
}
|
|
@@ -1133,29 +1094,29 @@ function ui(e) {
|
|
|
1133
1094
|
function li(e) {
|
|
1134
1095
|
return Array.isArray(e) ? [] : {};
|
|
1135
1096
|
}
|
|
1136
|
-
function
|
|
1137
|
-
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;
|
|
1138
1099
|
}
|
|
1139
1100
|
function ci(e, t, r) {
|
|
1140
1101
|
return e.concat(t).map(function(n) {
|
|
1141
|
-
return
|
|
1102
|
+
return We(n, r);
|
|
1142
1103
|
});
|
|
1143
1104
|
}
|
|
1144
1105
|
function hi(e, t) {
|
|
1145
1106
|
if (!t.customMerge)
|
|
1146
|
-
return
|
|
1107
|
+
return Oe;
|
|
1147
1108
|
var r = t.customMerge(e);
|
|
1148
|
-
return typeof r == "function" ? r :
|
|
1109
|
+
return typeof r == "function" ? r : Oe;
|
|
1149
1110
|
}
|
|
1150
1111
|
function fi(e) {
|
|
1151
1112
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1152
1113
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1153
1114
|
}) : [];
|
|
1154
1115
|
}
|
|
1155
|
-
function
|
|
1116
|
+
function ur(e) {
|
|
1156
1117
|
return Object.keys(e).concat(fi(e));
|
|
1157
1118
|
}
|
|
1158
|
-
function
|
|
1119
|
+
function kr(e, t) {
|
|
1159
1120
|
try {
|
|
1160
1121
|
return t in e;
|
|
1161
1122
|
} catch (r) {
|
|
@@ -1163,129 +1124,179 @@ function Gr(e, t) {
|
|
|
1163
1124
|
}
|
|
1164
1125
|
}
|
|
1165
1126
|
function pi(e, t) {
|
|
1166
|
-
return
|
|
1127
|
+
return kr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1167
1128
|
}
|
|
1168
1129
|
function di(e, t, r) {
|
|
1169
1130
|
var n = {};
|
|
1170
|
-
return r.isMergeableObject(e) &&
|
|
1171
|
-
n[i] =
|
|
1172
|
-
}),
|
|
1173
|
-
pi(e, i) || (
|
|
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));
|
|
1174
1135
|
}), n;
|
|
1175
1136
|
}
|
|
1176
|
-
function
|
|
1177
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified =
|
|
1137
|
+
function Oe(e, t, r) {
|
|
1138
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified = We;
|
|
1178
1139
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1179
|
-
return o ? n ? r.arrayMerge(e, t, r) : di(e, t, r) :
|
|
1140
|
+
return o ? n ? r.arrayMerge(e, t, r) : di(e, t, r) : We(t, r);
|
|
1180
1141
|
}
|
|
1181
|
-
|
|
1142
|
+
Oe.all = function(t, r) {
|
|
1182
1143
|
if (!Array.isArray(t))
|
|
1183
1144
|
throw new Error("first argument should be an array");
|
|
1184
1145
|
return t.reduce(function(n, i) {
|
|
1185
|
-
return
|
|
1146
|
+
return Oe(n, i, r);
|
|
1186
1147
|
}, {});
|
|
1187
1148
|
};
|
|
1188
|
-
var mi =
|
|
1149
|
+
var mi = Oe, bi = mi;
|
|
1189
1150
|
const gi = /* @__PURE__ */ ri(bi);
|
|
1190
|
-
function
|
|
1191
|
-
|
|
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;
|
|
1192
1195
|
return i(e, {
|
|
1193
1196
|
cache: r,
|
|
1194
1197
|
serializer: n
|
|
1195
1198
|
});
|
|
1196
1199
|
}
|
|
1197
|
-
function
|
|
1200
|
+
function vi(e) {
|
|
1198
1201
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1199
1202
|
}
|
|
1200
|
-
function
|
|
1201
|
-
var i =
|
|
1203
|
+
function _i(e, t, r, n) {
|
|
1204
|
+
var i = vi(n) ? n : r(n), o = t.get(i);
|
|
1202
1205
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1203
1206
|
}
|
|
1204
1207
|
function jr(e, t, r) {
|
|
1205
1208
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1206
1209
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1207
1210
|
}
|
|
1208
|
-
function
|
|
1211
|
+
function $r(e, t, r, n, i) {
|
|
1209
1212
|
return r.bind(t, e, n, i);
|
|
1210
1213
|
}
|
|
1211
|
-
function vi(e, t) {
|
|
1212
|
-
var r = e.length === 1 ? kr : jr;
|
|
1213
|
-
return Ft(e, this, r, t.cache.create(), t.serializer);
|
|
1214
|
-
}
|
|
1215
|
-
function _i(e, t) {
|
|
1216
|
-
return Ft(e, this, jr, t.cache.create(), t.serializer);
|
|
1217
|
-
}
|
|
1218
1214
|
function Ei(e, t) {
|
|
1219
|
-
|
|
1215
|
+
var r = e.length === 1 ? _i : jr;
|
|
1216
|
+
return $r(e, this, r, t.cache.create(), t.serializer);
|
|
1220
1217
|
}
|
|
1221
|
-
|
|
1222
|
-
return
|
|
1223
|
-
};
|
|
1224
|
-
function $t() {
|
|
1225
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1218
|
+
function xi(e, t) {
|
|
1219
|
+
return $r(e, this, jr, t.cache.create(), t.serializer);
|
|
1226
1220
|
}
|
|
1227
|
-
|
|
1228
|
-
return
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1221
|
+
var Si = function() {
|
|
1222
|
+
return JSON.stringify(arguments);
|
|
1223
|
+
}, Ti = (
|
|
1224
|
+
/** @class */
|
|
1225
|
+
function() {
|
|
1226
|
+
function e() {
|
|
1227
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1228
|
+
}
|
|
1229
|
+
return e.prototype.get = function(t) {
|
|
1230
|
+
return this.cache[t];
|
|
1231
|
+
}, e.prototype.set = function(t, r) {
|
|
1232
|
+
this.cache[t] = r;
|
|
1233
|
+
}, e;
|
|
1234
|
+
}()
|
|
1235
|
+
), wi = {
|
|
1234
1236
|
create: function() {
|
|
1235
|
-
return new
|
|
1237
|
+
return new Ti();
|
|
1236
1238
|
}
|
|
1237
|
-
},
|
|
1238
|
-
variadic:
|
|
1239
|
-
|
|
1240
|
-
|
|
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;
|
|
1241
1252
|
(function(e) {
|
|
1242
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";
|
|
1243
1254
|
})(w || (w = {}));
|
|
1244
|
-
var
|
|
1255
|
+
var B;
|
|
1245
1256
|
(function(e) {
|
|
1246
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";
|
|
1247
|
-
})(
|
|
1248
|
-
var
|
|
1258
|
+
})(B || (B = {}));
|
|
1259
|
+
var Le;
|
|
1249
1260
|
(function(e) {
|
|
1250
1261
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1251
|
-
})(
|
|
1252
|
-
function
|
|
1253
|
-
return e.type ===
|
|
1262
|
+
})(Le || (Le = {}));
|
|
1263
|
+
function lr(e) {
|
|
1264
|
+
return e.type === B.literal;
|
|
1254
1265
|
}
|
|
1255
|
-
function
|
|
1256
|
-
return e.type ===
|
|
1266
|
+
function Hi(e) {
|
|
1267
|
+
return e.type === B.argument;
|
|
1257
1268
|
}
|
|
1258
1269
|
function Fr(e) {
|
|
1259
|
-
return e.type ===
|
|
1260
|
-
}
|
|
1261
|
-
function $r(e) {
|
|
1262
|
-
return e.type === P.date;
|
|
1270
|
+
return e.type === B.number;
|
|
1263
1271
|
}
|
|
1264
1272
|
function Vr(e) {
|
|
1265
|
-
return e.type ===
|
|
1273
|
+
return e.type === B.date;
|
|
1266
1274
|
}
|
|
1267
1275
|
function Wr(e) {
|
|
1268
|
-
return e.type ===
|
|
1276
|
+
return e.type === B.time;
|
|
1269
1277
|
}
|
|
1270
1278
|
function Xr(e) {
|
|
1271
|
-
return e.type ===
|
|
1272
|
-
}
|
|
1273
|
-
function wi(e) {
|
|
1274
|
-
return e.type === P.pound;
|
|
1279
|
+
return e.type === B.select;
|
|
1275
1280
|
}
|
|
1276
1281
|
function zr(e) {
|
|
1277
|
-
return e.type ===
|
|
1282
|
+
return e.type === B.plural;
|
|
1283
|
+
}
|
|
1284
|
+
function Ai(e) {
|
|
1285
|
+
return e.type === B.pound;
|
|
1278
1286
|
}
|
|
1279
1287
|
function Jr(e) {
|
|
1280
|
-
return
|
|
1288
|
+
return e.type === B.tag;
|
|
1281
1289
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1290
|
+
function Zr(e) {
|
|
1291
|
+
return !!(e && typeof e == "object" && e.type === Le.number);
|
|
1284
1292
|
}
|
|
1285
|
-
|
|
1286
|
-
|
|
1293
|
+
function Ut(e) {
|
|
1294
|
+
return !!(e && typeof e == "object" && e.type === Le.dateTime);
|
|
1295
|
+
}
|
|
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) {
|
|
1287
1298
|
var t = {};
|
|
1288
|
-
return e.replace(
|
|
1299
|
+
return e.replace(Bi, function(r) {
|
|
1289
1300
|
var n = r.length;
|
|
1290
1301
|
switch (r[0]) {
|
|
1291
1302
|
case "G":
|
|
@@ -1374,11 +1385,21 @@ function Ai(e) {
|
|
|
1374
1385
|
return "";
|
|
1375
1386
|
}), t;
|
|
1376
1387
|
}
|
|
1377
|
-
var
|
|
1378
|
-
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) {
|
|
1379
1400
|
if (e.length === 0)
|
|
1380
1401
|
throw new Error("Number skeleton cannot be empty");
|
|
1381
|
-
for (var t = e.split(
|
|
1402
|
+
for (var t = e.split(Oi).filter(function(f) {
|
|
1382
1403
|
return f.length > 0;
|
|
1383
1404
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1384
1405
|
var o = i[n], s = o.split("/");
|
|
@@ -1393,17 +1414,17 @@ function Pi(e) {
|
|
|
1393
1414
|
}
|
|
1394
1415
|
return r;
|
|
1395
1416
|
}
|
|
1396
|
-
function
|
|
1417
|
+
function Ii(e) {
|
|
1397
1418
|
return e.replace(/^(.*?)-/, "");
|
|
1398
1419
|
}
|
|
1399
|
-
var
|
|
1400
|
-
function
|
|
1420
|
+
var cr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
|
|
1421
|
+
function hr(e) {
|
|
1401
1422
|
var t = {};
|
|
1402
|
-
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) {
|
|
1403
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)), "";
|
|
1404
1425
|
}), t;
|
|
1405
1426
|
}
|
|
1406
|
-
function
|
|
1427
|
+
function Kr(e) {
|
|
1407
1428
|
switch (e) {
|
|
1408
1429
|
case "sign-auto":
|
|
1409
1430
|
return {
|
|
@@ -1443,7 +1464,7 @@ function qr(e) {
|
|
|
1443
1464
|
};
|
|
1444
1465
|
}
|
|
1445
1466
|
}
|
|
1446
|
-
function
|
|
1467
|
+
function Ni(e) {
|
|
1447
1468
|
var t;
|
|
1448
1469
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1449
1470
|
notation: "engineering"
|
|
@@ -1451,17 +1472,17 @@ function Ci(e) {
|
|
|
1451
1472
|
notation: "scientific"
|
|
1452
1473
|
}, e = e.slice(1)), t) {
|
|
1453
1474
|
var r = e.slice(0, 2);
|
|
1454
|
-
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))
|
|
1455
1476
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1456
1477
|
t.minimumIntegerDigits = e.length;
|
|
1457
1478
|
}
|
|
1458
1479
|
return t;
|
|
1459
1480
|
}
|
|
1460
|
-
function
|
|
1461
|
-
var t = {}, r =
|
|
1481
|
+
function fr(e) {
|
|
1482
|
+
var t = {}, r = Kr(e);
|
|
1462
1483
|
return r || t;
|
|
1463
1484
|
}
|
|
1464
|
-
function
|
|
1485
|
+
function Mi(e) {
|
|
1465
1486
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1466
1487
|
var i = n[r];
|
|
1467
1488
|
switch (i.stem) {
|
|
@@ -1485,7 +1506,7 @@ function Oi(e) {
|
|
|
1485
1506
|
continue;
|
|
1486
1507
|
case "measure-unit":
|
|
1487
1508
|
case "unit":
|
|
1488
|
-
t.style = "unit", t.unit =
|
|
1509
|
+
t.style = "unit", t.unit = Ii(i.options[0]);
|
|
1489
1510
|
continue;
|
|
1490
1511
|
case "compact-short":
|
|
1491
1512
|
case "K":
|
|
@@ -1496,13 +1517,13 @@ function Oi(e) {
|
|
|
1496
1517
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1497
1518
|
continue;
|
|
1498
1519
|
case "scientific":
|
|
1499
|
-
t =
|
|
1500
|
-
return
|
|
1520
|
+
t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1521
|
+
return L(L({}, l), fr(u));
|
|
1501
1522
|
}, {}));
|
|
1502
1523
|
continue;
|
|
1503
1524
|
case "engineering":
|
|
1504
|
-
t =
|
|
1505
|
-
return
|
|
1525
|
+
t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1526
|
+
return L(L({}, l), fr(u));
|
|
1506
1527
|
}, {}));
|
|
1507
1528
|
continue;
|
|
1508
1529
|
case "notation-simple":
|
|
@@ -1547,7 +1568,7 @@ function Oi(e) {
|
|
|
1547
1568
|
case "integer-width":
|
|
1548
1569
|
if (i.options.length > 1)
|
|
1549
1570
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1550
|
-
i.options[0].replace(
|
|
1571
|
+
i.options[0].replace(Ci, function(l, u, c, p, f, b) {
|
|
1551
1572
|
if (u)
|
|
1552
1573
|
t.minimumIntegerDigits = c.length;
|
|
1553
1574
|
else {
|
|
@@ -1560,28 +1581,28 @@ function Oi(e) {
|
|
|
1560
1581
|
});
|
|
1561
1582
|
continue;
|
|
1562
1583
|
}
|
|
1563
|
-
if (
|
|
1584
|
+
if (qr.test(i.stem)) {
|
|
1564
1585
|
t.minimumIntegerDigits = i.stem.length;
|
|
1565
1586
|
continue;
|
|
1566
1587
|
}
|
|
1567
|
-
if (
|
|
1588
|
+
if (cr.test(i.stem)) {
|
|
1568
1589
|
if (i.options.length > 1)
|
|
1569
1590
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1570
|
-
i.stem.replace(
|
|
1591
|
+
i.stem.replace(cr, function(l, u, c, p, f, b) {
|
|
1571
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), "";
|
|
1572
1593
|
});
|
|
1573
1594
|
var o = i.options[0];
|
|
1574
|
-
o === "w" ? t =
|
|
1595
|
+
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), hr(o)));
|
|
1575
1596
|
continue;
|
|
1576
1597
|
}
|
|
1577
|
-
if (
|
|
1578
|
-
t =
|
|
1598
|
+
if (Yr.test(i.stem)) {
|
|
1599
|
+
t = L(L({}, t), hr(i.stem));
|
|
1579
1600
|
continue;
|
|
1580
1601
|
}
|
|
1581
|
-
var s =
|
|
1582
|
-
s && (t =
|
|
1583
|
-
var a =
|
|
1584
|
-
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));
|
|
1585
1606
|
}
|
|
1586
1607
|
return t;
|
|
1587
1608
|
}
|
|
@@ -3000,13 +3021,13 @@ var it = {
|
|
|
3000
3021
|
"h"
|
|
3001
3022
|
]
|
|
3002
3023
|
};
|
|
3003
|
-
function
|
|
3024
|
+
function Ri(e, t) {
|
|
3004
3025
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3005
3026
|
var i = e.charAt(n);
|
|
3006
3027
|
if (i === "j") {
|
|
3007
3028
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3008
3029
|
o++, n++;
|
|
3009
|
-
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);
|
|
3010
3031
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3011
3032
|
r += l;
|
|
3012
3033
|
for (; s-- > 0; )
|
|
@@ -3016,7 +3037,7 @@ function Ni(e, t) {
|
|
|
3016
3037
|
}
|
|
3017
3038
|
return r;
|
|
3018
3039
|
}
|
|
3019
|
-
function
|
|
3040
|
+
function Ui(e) {
|
|
3020
3041
|
var t = e.hourCycle;
|
|
3021
3042
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3022
3043
|
e.hourCycles && // @ts-ignore
|
|
@@ -3038,20 +3059,20 @@ function Mi(e) {
|
|
|
3038
3059
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
3039
3060
|
return i[0];
|
|
3040
3061
|
}
|
|
3041
|
-
var
|
|
3062
|
+
var Tt, Di = new RegExp("^".concat(Qr.source, "*")), Gi = new RegExp("".concat(Qr.source, "*$"));
|
|
3042
3063
|
function A(e, t) {
|
|
3043
3064
|
return { start: e, end: t };
|
|
3044
3065
|
}
|
|
3045
|
-
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) {
|
|
3046
3067
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3047
|
-
},
|
|
3068
|
+
}, Dt = !0;
|
|
3048
3069
|
try {
|
|
3049
|
-
var
|
|
3050
|
-
|
|
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";
|
|
3051
3072
|
} catch (e) {
|
|
3052
|
-
|
|
3073
|
+
Dt = !1;
|
|
3053
3074
|
}
|
|
3054
|
-
var
|
|
3075
|
+
var pr = ki ? (
|
|
3055
3076
|
// Native
|
|
3056
3077
|
function(t, r, n) {
|
|
3057
3078
|
return t.startsWith(r, n);
|
|
@@ -3061,7 +3082,7 @@ var hr = Di ? (
|
|
|
3061
3082
|
function(t, r, n) {
|
|
3062
3083
|
return t.slice(n, n + r.length) === r;
|
|
3063
3084
|
}
|
|
3064
|
-
),
|
|
3085
|
+
), Gt = ji ? String.fromCodePoint : (
|
|
3065
3086
|
// IE11
|
|
3066
3087
|
function() {
|
|
3067
3088
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3073,9 +3094,9 @@ var hr = Di ? (
|
|
|
3073
3094
|
}
|
|
3074
3095
|
return n;
|
|
3075
3096
|
}
|
|
3076
|
-
),
|
|
3097
|
+
), dr = (
|
|
3077
3098
|
// native
|
|
3078
|
-
|
|
3099
|
+
$i ? Object.fromEntries : (
|
|
3079
3100
|
// Ponyfill
|
|
3080
3101
|
function(t) {
|
|
3081
3102
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3085,7 +3106,7 @@ var hr = Di ? (
|
|
|
3085
3106
|
return r;
|
|
3086
3107
|
}
|
|
3087
3108
|
)
|
|
3088
|
-
),
|
|
3109
|
+
), en = Fi ? (
|
|
3089
3110
|
// Native
|
|
3090
3111
|
function(t, r) {
|
|
3091
3112
|
return t.codePointAt(r);
|
|
@@ -3099,7 +3120,7 @@ var hr = Di ? (
|
|
|
3099
3120
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3100
3121
|
}
|
|
3101
3122
|
}
|
|
3102
|
-
),
|
|
3123
|
+
), Zi = Vi ? (
|
|
3103
3124
|
// Native
|
|
3104
3125
|
function(t) {
|
|
3105
3126
|
return t.trimStart();
|
|
@@ -3107,9 +3128,9 @@ var hr = Di ? (
|
|
|
3107
3128
|
) : (
|
|
3108
3129
|
// Ponyfill
|
|
3109
3130
|
function(t) {
|
|
3110
|
-
return t.replace(
|
|
3131
|
+
return t.replace(Di, "");
|
|
3111
3132
|
}
|
|
3112
|
-
),
|
|
3133
|
+
), Qi = Wi ? (
|
|
3113
3134
|
// Native
|
|
3114
3135
|
function(t) {
|
|
3115
3136
|
return t.trimEnd();
|
|
@@ -3117,32 +3138,32 @@ var hr = Di ? (
|
|
|
3117
3138
|
) : (
|
|
3118
3139
|
// Ponyfill
|
|
3119
3140
|
function(t) {
|
|
3120
|
-
return t.replace(
|
|
3141
|
+
return t.replace(Gi, "");
|
|
3121
3142
|
}
|
|
3122
3143
|
);
|
|
3123
|
-
function
|
|
3144
|
+
function tn(e, t) {
|
|
3124
3145
|
return new RegExp(e, t);
|
|
3125
3146
|
}
|
|
3126
|
-
var
|
|
3127
|
-
if (
|
|
3128
|
-
var
|
|
3129
|
-
|
|
3147
|
+
var kt;
|
|
3148
|
+
if (Dt) {
|
|
3149
|
+
var mr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3150
|
+
kt = function(t, r) {
|
|
3130
3151
|
var n;
|
|
3131
|
-
|
|
3132
|
-
var i =
|
|
3152
|
+
mr.lastIndex = r;
|
|
3153
|
+
var i = mr.exec(t);
|
|
3133
3154
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3134
3155
|
};
|
|
3135
3156
|
} else
|
|
3136
|
-
|
|
3157
|
+
kt = function(t, r) {
|
|
3137
3158
|
for (var n = []; ; ) {
|
|
3138
|
-
var i =
|
|
3139
|
-
if (i === void 0 ||
|
|
3159
|
+
var i = en(t, r);
|
|
3160
|
+
if (i === void 0 || rn(i) || eo(i))
|
|
3140
3161
|
break;
|
|
3141
3162
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3142
3163
|
}
|
|
3143
|
-
return
|
|
3164
|
+
return Gt.apply(void 0, n);
|
|
3144
3165
|
};
|
|
3145
|
-
var
|
|
3166
|
+
var Yi = (
|
|
3146
3167
|
/** @class */
|
|
3147
3168
|
function() {
|
|
3148
3169
|
function e(t, r) {
|
|
@@ -3166,14 +3187,14 @@ var Zi = (
|
|
|
3166
3187
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3167
3188
|
var a = this.clonePosition();
|
|
3168
3189
|
this.bump(), i.push({
|
|
3169
|
-
type:
|
|
3190
|
+
type: B.pound,
|
|
3170
3191
|
location: A(a, this.clonePosition())
|
|
3171
3192
|
});
|
|
3172
3193
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3173
3194
|
if (n)
|
|
3174
3195
|
break;
|
|
3175
3196
|
return this.error(w.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
3176
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3197
|
+
} else if (o === 60 && !this.ignoreTag && jt(this.peek() || 0)) {
|
|
3177
3198
|
var s = this.parseTag(t, r);
|
|
3178
3199
|
if (s.err)
|
|
3179
3200
|
return s;
|
|
@@ -3194,7 +3215,7 @@ var Zi = (
|
|
|
3194
3215
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3195
3216
|
return {
|
|
3196
3217
|
val: {
|
|
3197
|
-
type:
|
|
3218
|
+
type: B.literal,
|
|
3198
3219
|
value: "<".concat(i, "/>"),
|
|
3199
3220
|
location: A(n, this.clonePosition())
|
|
3200
3221
|
},
|
|
@@ -3206,12 +3227,12 @@ var Zi = (
|
|
|
3206
3227
|
return o;
|
|
3207
3228
|
var s = o.val, a = this.clonePosition();
|
|
3208
3229
|
if (this.bumpIf("</")) {
|
|
3209
|
-
if (this.isEOF() || !
|
|
3230
|
+
if (this.isEOF() || !jt(this.char()))
|
|
3210
3231
|
return this.error(w.INVALID_TAG, A(a, this.clonePosition()));
|
|
3211
3232
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3212
3233
|
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, A(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3213
3234
|
val: {
|
|
3214
|
-
type:
|
|
3235
|
+
type: B.tag,
|
|
3215
3236
|
value: i,
|
|
3216
3237
|
children: s,
|
|
3217
3238
|
location: A(n, this.clonePosition())
|
|
@@ -3224,7 +3245,7 @@ var Zi = (
|
|
|
3224
3245
|
return this.error(w.INVALID_TAG, A(n, this.clonePosition()));
|
|
3225
3246
|
}, e.prototype.parseTagName = function() {
|
|
3226
3247
|
var t = this.offset();
|
|
3227
|
-
for (this.bump(); !this.isEOF() &&
|
|
3248
|
+
for (this.bump(); !this.isEOF() && Ki(this.char()); )
|
|
3228
3249
|
this.bump();
|
|
3229
3250
|
return this.message.slice(t, this.offset());
|
|
3230
3251
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3248,12 +3269,12 @@ var Zi = (
|
|
|
3248
3269
|
}
|
|
3249
3270
|
var l = A(n, this.clonePosition());
|
|
3250
3271
|
return {
|
|
3251
|
-
val: { type:
|
|
3272
|
+
val: { type: B.literal, value: i, location: l },
|
|
3252
3273
|
err: null
|
|
3253
3274
|
};
|
|
3254
3275
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3255
3276
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3256
|
-
!
|
|
3277
|
+
!qi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3257
3278
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3258
3279
|
if (this.isEOF() || this.char() !== 39)
|
|
3259
3280
|
return null;
|
|
@@ -3287,12 +3308,12 @@ var Zi = (
|
|
|
3287
3308
|
r.push(n);
|
|
3288
3309
|
this.bump();
|
|
3289
3310
|
}
|
|
3290
|
-
return
|
|
3311
|
+
return Gt.apply(void 0, r);
|
|
3291
3312
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3292
3313
|
if (this.isEOF())
|
|
3293
3314
|
return null;
|
|
3294
3315
|
var n = this.char();
|
|
3295
|
-
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));
|
|
3296
3317
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3297
3318
|
var n = this.clonePosition();
|
|
3298
3319
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3308,7 +3329,7 @@ var Zi = (
|
|
|
3308
3329
|
case 125:
|
|
3309
3330
|
return this.bump(), {
|
|
3310
3331
|
val: {
|
|
3311
|
-
type:
|
|
3332
|
+
type: B.argument,
|
|
3312
3333
|
// value does not include the opening and closing braces.
|
|
3313
3334
|
value: i,
|
|
3314
3335
|
location: A(n, this.clonePosition())
|
|
@@ -3321,7 +3342,7 @@ var Zi = (
|
|
|
3321
3342
|
return this.error(w.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
3322
3343
|
}
|
|
3323
3344
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3324
|
-
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;
|
|
3325
3346
|
this.bumpTo(i);
|
|
3326
3347
|
var o = this.clonePosition(), s = A(t, o);
|
|
3327
3348
|
return { value: n, location: s };
|
|
@@ -3340,7 +3361,7 @@ var Zi = (
|
|
|
3340
3361
|
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
3341
3362
|
if (p.err)
|
|
3342
3363
|
return p;
|
|
3343
|
-
var f =
|
|
3364
|
+
var f = Qi(p.val);
|
|
3344
3365
|
if (f.length === 0)
|
|
3345
3366
|
return this.error(w.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
3346
3367
|
var b = A(c, this.clonePosition());
|
|
@@ -3350,25 +3371,25 @@ var Zi = (
|
|
|
3350
3371
|
if (x.err)
|
|
3351
3372
|
return x;
|
|
3352
3373
|
var g = A(i, this.clonePosition());
|
|
3353
|
-
if (u &&
|
|
3354
|
-
var v =
|
|
3374
|
+
if (u && pr(u == null ? void 0 : u.style, "::", 0)) {
|
|
3375
|
+
var v = Zi(u.style.slice(2));
|
|
3355
3376
|
if (a === "number") {
|
|
3356
3377
|
var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3357
3378
|
return p.err ? p : {
|
|
3358
|
-
val: { type:
|
|
3379
|
+
val: { type: B.number, value: n, location: g, style: p.val },
|
|
3359
3380
|
err: null
|
|
3360
3381
|
};
|
|
3361
3382
|
} else {
|
|
3362
3383
|
if (v.length === 0)
|
|
3363
3384
|
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
3364
3385
|
var S = v;
|
|
3365
|
-
this.locale && (S =
|
|
3386
|
+
this.locale && (S = Ri(v, this.locale));
|
|
3366
3387
|
var f = {
|
|
3367
|
-
type:
|
|
3388
|
+
type: Le.dateTime,
|
|
3368
3389
|
pattern: S,
|
|
3369
3390
|
location: u.styleLocation,
|
|
3370
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3371
|
-
}, y = a === "date" ?
|
|
3391
|
+
parsedOptions: this.shouldParseSkeletons ? Pi(S) : {}
|
|
3392
|
+
}, y = a === "date" ? B.date : B.time;
|
|
3372
3393
|
return {
|
|
3373
3394
|
val: { type: y, value: n, location: g, style: f },
|
|
3374
3395
|
err: null
|
|
@@ -3377,7 +3398,7 @@ var Zi = (
|
|
|
3377
3398
|
}
|
|
3378
3399
|
return {
|
|
3379
3400
|
val: {
|
|
3380
|
-
type: a === "number" ?
|
|
3401
|
+
type: a === "number" ? B.number : a === "date" ? B.date : B.time,
|
|
3381
3402
|
value: n,
|
|
3382
3403
|
location: g,
|
|
3383
3404
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3390,38 +3411,38 @@ var Zi = (
|
|
|
3390
3411
|
case "select": {
|
|
3391
3412
|
var T = this.clonePosition();
|
|
3392
3413
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3393
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, A(T,
|
|
3414
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, A(T, lt({}, T)));
|
|
3394
3415
|
this.bumpSpace();
|
|
3395
|
-
var
|
|
3396
|
-
if (a !== "select" &&
|
|
3416
|
+
var I = this.parseIdentifierIfPossible(), G = 0;
|
|
3417
|
+
if (a !== "select" && I.value === "offset") {
|
|
3397
3418
|
if (!this.bumpIf(":"))
|
|
3398
3419
|
return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
3399
3420
|
this.bumpSpace();
|
|
3400
3421
|
var p = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3401
3422
|
if (p.err)
|
|
3402
3423
|
return p;
|
|
3403
|
-
this.bumpSpace(),
|
|
3424
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), G = p.val;
|
|
3404
3425
|
}
|
|
3405
|
-
var
|
|
3406
|
-
if (
|
|
3407
|
-
return
|
|
3426
|
+
var F = this.tryParsePluralOrSelectOptions(t, a, r, I);
|
|
3427
|
+
if (F.err)
|
|
3428
|
+
return F;
|
|
3408
3429
|
var x = this.tryParseArgumentClose(i);
|
|
3409
3430
|
if (x.err)
|
|
3410
3431
|
return x;
|
|
3411
3432
|
var J = A(i, this.clonePosition());
|
|
3412
3433
|
return a === "select" ? {
|
|
3413
3434
|
val: {
|
|
3414
|
-
type:
|
|
3435
|
+
type: B.select,
|
|
3415
3436
|
value: n,
|
|
3416
|
-
options:
|
|
3437
|
+
options: dr(F.val),
|
|
3417
3438
|
location: J
|
|
3418
3439
|
},
|
|
3419
3440
|
err: null
|
|
3420
3441
|
} : {
|
|
3421
3442
|
val: {
|
|
3422
|
-
type:
|
|
3443
|
+
type: B.plural,
|
|
3423
3444
|
value: n,
|
|
3424
|
-
options:
|
|
3445
|
+
options: dr(F.val),
|
|
3425
3446
|
offset: G,
|
|
3426
3447
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3427
3448
|
location: J
|
|
@@ -3472,16 +3493,16 @@ var Zi = (
|
|
|
3472
3493
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3473
3494
|
var n = [];
|
|
3474
3495
|
try {
|
|
3475
|
-
n =
|
|
3496
|
+
n = Li(t);
|
|
3476
3497
|
} catch (i) {
|
|
3477
3498
|
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
3478
3499
|
}
|
|
3479
3500
|
return {
|
|
3480
3501
|
val: {
|
|
3481
|
-
type:
|
|
3502
|
+
type: Le.number,
|
|
3482
3503
|
tokens: n,
|
|
3483
3504
|
location: r,
|
|
3484
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3505
|
+
parsedOptions: this.shouldParseSkeletons ? Mi(n) : {}
|
|
3485
3506
|
},
|
|
3486
3507
|
err: null
|
|
3487
3508
|
};
|
|
@@ -3529,7 +3550,7 @@ var Zi = (
|
|
|
3529
3550
|
break;
|
|
3530
3551
|
}
|
|
3531
3552
|
var l = A(i, this.clonePosition());
|
|
3532
|
-
return o ? (s *= n,
|
|
3553
|
+
return o ? (s *= n, zi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3533
3554
|
}, e.prototype.offset = function() {
|
|
3534
3555
|
return this.position.offset;
|
|
3535
3556
|
}, e.prototype.isEOF = function() {
|
|
@@ -3544,7 +3565,7 @@ var Zi = (
|
|
|
3544
3565
|
var t = this.position.offset;
|
|
3545
3566
|
if (t >= this.message.length)
|
|
3546
3567
|
throw Error("out of bound");
|
|
3547
|
-
var r =
|
|
3568
|
+
var r = en(this.message, t);
|
|
3548
3569
|
if (r === void 0)
|
|
3549
3570
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3550
3571
|
return r;
|
|
@@ -3563,7 +3584,7 @@ var Zi = (
|
|
|
3563
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);
|
|
3564
3585
|
}
|
|
3565
3586
|
}, e.prototype.bumpIf = function(t) {
|
|
3566
|
-
if (
|
|
3587
|
+
if (pr(this.message, t, this.offset())) {
|
|
3567
3588
|
for (var r = 0; r < t.length; r++)
|
|
3568
3589
|
this.bump();
|
|
3569
3590
|
return !0;
|
|
@@ -3585,7 +3606,7 @@ var Zi = (
|
|
|
3585
3606
|
break;
|
|
3586
3607
|
}
|
|
3587
3608
|
}, e.prototype.bumpSpace = function() {
|
|
3588
|
-
for (; !this.isEOF() &&
|
|
3609
|
+
for (; !this.isEOF() && rn(this.char()); )
|
|
3589
3610
|
this.bump();
|
|
3590
3611
|
}, e.prototype.peek = function() {
|
|
3591
3612
|
if (this.isEOF())
|
|
@@ -3595,47 +3616,47 @@ var Zi = (
|
|
|
3595
3616
|
}, e;
|
|
3596
3617
|
}()
|
|
3597
3618
|
);
|
|
3598
|
-
function
|
|
3619
|
+
function jt(e) {
|
|
3599
3620
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3600
3621
|
}
|
|
3601
|
-
function
|
|
3602
|
-
return
|
|
3622
|
+
function qi(e) {
|
|
3623
|
+
return jt(e) || e === 47;
|
|
3603
3624
|
}
|
|
3604
|
-
function
|
|
3625
|
+
function Ki(e) {
|
|
3605
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;
|
|
3606
3627
|
}
|
|
3607
|
-
function
|
|
3628
|
+
function rn(e) {
|
|
3608
3629
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3609
3630
|
}
|
|
3610
|
-
function
|
|
3631
|
+
function eo(e) {
|
|
3611
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;
|
|
3612
3633
|
}
|
|
3613
|
-
function
|
|
3634
|
+
function $t(e) {
|
|
3614
3635
|
e.forEach(function(t) {
|
|
3615
|
-
if (delete t.location,
|
|
3636
|
+
if (delete t.location, Xr(t) || zr(t))
|
|
3616
3637
|
for (var r in t.options)
|
|
3617
|
-
delete t.options[r].location,
|
|
3638
|
+
delete t.options[r].location, $t(t.options[r].value);
|
|
3618
3639
|
else
|
|
3619
|
-
Fr(t) &&
|
|
3640
|
+
Fr(t) && Zr(t.style) || (Vr(t) || Wr(t)) && Ut(t.style) ? delete t.style.location : Jr(t) && $t(t.children);
|
|
3620
3641
|
});
|
|
3621
3642
|
}
|
|
3622
|
-
function
|
|
3623
|
-
t === void 0 && (t = {}), t =
|
|
3624
|
-
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();
|
|
3625
3646
|
if (r.err) {
|
|
3626
3647
|
var n = SyntaxError(w[r.err.kind]);
|
|
3627
3648
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3628
3649
|
}
|
|
3629
|
-
return t != null && t.captureLocation ||
|
|
3650
|
+
return t != null && t.captureLocation || $t(r.val), r.val;
|
|
3630
3651
|
}
|
|
3631
|
-
var
|
|
3652
|
+
var Ie;
|
|
3632
3653
|
(function(e) {
|
|
3633
3654
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3634
|
-
})(
|
|
3635
|
-
var
|
|
3655
|
+
})(Ie || (Ie = {}));
|
|
3656
|
+
var mt = (
|
|
3636
3657
|
/** @class */
|
|
3637
3658
|
function(e) {
|
|
3638
|
-
|
|
3659
|
+
dt(t, e);
|
|
3639
3660
|
function t(r, n, i) {
|
|
3640
3661
|
var o = e.call(this, r) || this;
|
|
3641
3662
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3644,48 +3665,48 @@ var pt = (
|
|
|
3644
3665
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3645
3666
|
}, t;
|
|
3646
3667
|
}(Error)
|
|
3647
|
-
),
|
|
3668
|
+
), br = (
|
|
3648
3669
|
/** @class */
|
|
3649
3670
|
function(e) {
|
|
3650
|
-
|
|
3671
|
+
dt(t, e);
|
|
3651
3672
|
function t(r, n, i, o) {
|
|
3652
|
-
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('", "'), '"'), Ie.INVALID_VALUE, o) || this;
|
|
3653
3674
|
}
|
|
3654
3675
|
return t;
|
|
3655
|
-
}(
|
|
3656
|
-
),
|
|
3676
|
+
}(mt)
|
|
3677
|
+
), ro = (
|
|
3657
3678
|
/** @class */
|
|
3658
3679
|
function(e) {
|
|
3659
|
-
|
|
3680
|
+
dt(t, e);
|
|
3660
3681
|
function t(r, n, i) {
|
|
3661
|
-
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), Ie.INVALID_VALUE, i) || this;
|
|
3662
3683
|
}
|
|
3663
3684
|
return t;
|
|
3664
|
-
}(
|
|
3665
|
-
),
|
|
3685
|
+
}(mt)
|
|
3686
|
+
), no = (
|
|
3666
3687
|
/** @class */
|
|
3667
3688
|
function(e) {
|
|
3668
|
-
|
|
3689
|
+
dt(t, e);
|
|
3669
3690
|
function t(r, n) {
|
|
3670
|
-
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, '"'), Ie.MISSING_VALUE, n) || this;
|
|
3671
3692
|
}
|
|
3672
3693
|
return t;
|
|
3673
|
-
}(
|
|
3694
|
+
}(mt)
|
|
3674
3695
|
), k;
|
|
3675
3696
|
(function(e) {
|
|
3676
3697
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3677
3698
|
})(k || (k = {}));
|
|
3678
|
-
function
|
|
3699
|
+
function io(e) {
|
|
3679
3700
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3680
3701
|
var n = t[t.length - 1];
|
|
3681
3702
|
return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
|
|
3682
3703
|
}, []);
|
|
3683
3704
|
}
|
|
3684
|
-
function
|
|
3705
|
+
function oo(e) {
|
|
3685
3706
|
return typeof e == "function";
|
|
3686
3707
|
}
|
|
3687
3708
|
function at(e, t, r, n, i, o, s) {
|
|
3688
|
-
if (e.length === 1 &&
|
|
3709
|
+
if (e.length === 1 && lr(e[0]))
|
|
3689
3710
|
return [
|
|
3690
3711
|
{
|
|
3691
3712
|
type: k.literal,
|
|
@@ -3694,14 +3715,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3694
3715
|
];
|
|
3695
3716
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3696
3717
|
var c = u[l];
|
|
3697
|
-
if (
|
|
3718
|
+
if (lr(c)) {
|
|
3698
3719
|
a.push({
|
|
3699
3720
|
type: k.literal,
|
|
3700
3721
|
value: c.value
|
|
3701
3722
|
});
|
|
3702
3723
|
continue;
|
|
3703
3724
|
}
|
|
3704
|
-
if (
|
|
3725
|
+
if (Ai(c)) {
|
|
3705
3726
|
typeof o == "number" && a.push({
|
|
3706
3727
|
type: k.literal,
|
|
3707
3728
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3710,25 +3731,25 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3710
3731
|
}
|
|
3711
3732
|
var p = c.value;
|
|
3712
3733
|
if (!(i && p in i))
|
|
3713
|
-
throw new
|
|
3734
|
+
throw new no(p, s);
|
|
3714
3735
|
var f = i[p];
|
|
3715
|
-
if (
|
|
3736
|
+
if (Hi(c)) {
|
|
3716
3737
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3717
3738
|
type: typeof f == "string" ? k.literal : k.object,
|
|
3718
3739
|
value: f
|
|
3719
3740
|
});
|
|
3720
3741
|
continue;
|
|
3721
3742
|
}
|
|
3722
|
-
if (
|
|
3723
|
-
var b = typeof c.style == "string" ? n.date[c.style] :
|
|
3743
|
+
if (Vr(c)) {
|
|
3744
|
+
var b = typeof c.style == "string" ? n.date[c.style] : Ut(c.style) ? c.style.parsedOptions : void 0;
|
|
3724
3745
|
a.push({
|
|
3725
3746
|
type: k.literal,
|
|
3726
3747
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3727
3748
|
});
|
|
3728
3749
|
continue;
|
|
3729
3750
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
var b = typeof c.style == "string" ? n.time[c.style] :
|
|
3751
|
+
if (Wr(c)) {
|
|
3752
|
+
var b = typeof c.style == "string" ? n.time[c.style] : Ut(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3732
3753
|
a.push({
|
|
3733
3754
|
type: k.literal,
|
|
3734
3755
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
@@ -3736,17 +3757,17 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3736
3757
|
continue;
|
|
3737
3758
|
}
|
|
3738
3759
|
if (Fr(c)) {
|
|
3739
|
-
var b = typeof c.style == "string" ? n.number[c.style] :
|
|
3760
|
+
var b = typeof c.style == "string" ? n.number[c.style] : Zr(c.style) ? c.style.parsedOptions : void 0;
|
|
3740
3761
|
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3741
3762
|
type: k.literal,
|
|
3742
3763
|
value: r.getNumberFormat(t, b).format(f)
|
|
3743
3764
|
});
|
|
3744
3765
|
continue;
|
|
3745
3766
|
}
|
|
3746
|
-
if (
|
|
3767
|
+
if (Jr(c)) {
|
|
3747
3768
|
var x = c.children, g = c.value, v = i[g];
|
|
3748
|
-
if (!
|
|
3749
|
-
throw new
|
|
3769
|
+
if (!oo(v))
|
|
3770
|
+
throw new ro(g, "function", s);
|
|
3750
3771
|
var S = at(x, t, r, n, i, o), y = v(S.map(function(G) {
|
|
3751
3772
|
return G.value;
|
|
3752
3773
|
}));
|
|
@@ -3757,42 +3778,42 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3757
3778
|
};
|
|
3758
3779
|
}));
|
|
3759
3780
|
}
|
|
3760
|
-
if (
|
|
3781
|
+
if (Xr(c)) {
|
|
3761
3782
|
var T = c.options[f] || c.options.other;
|
|
3762
3783
|
if (!T)
|
|
3763
|
-
throw new
|
|
3784
|
+
throw new br(c.value, f, Object.keys(c.options), s);
|
|
3764
3785
|
a.push.apply(a, at(T.value, t, r, n, i));
|
|
3765
3786
|
continue;
|
|
3766
3787
|
}
|
|
3767
|
-
if (
|
|
3788
|
+
if (zr(c)) {
|
|
3768
3789
|
var T = c.options["=".concat(f)];
|
|
3769
3790
|
if (!T) {
|
|
3770
3791
|
if (!Intl.PluralRules)
|
|
3771
|
-
throw new
|
|
3792
|
+
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3772
3793
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3773
|
-
`,
|
|
3774
|
-
var
|
|
3775
|
-
T = c.options[
|
|
3794
|
+
`, Ie.MISSING_INTL_API, s);
|
|
3795
|
+
var I = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
|
|
3796
|
+
T = c.options[I] || c.options.other;
|
|
3776
3797
|
}
|
|
3777
3798
|
if (!T)
|
|
3778
|
-
throw new
|
|
3799
|
+
throw new br(c.value, f, Object.keys(c.options), s);
|
|
3779
3800
|
a.push.apply(a, at(T.value, t, r, n, i, f - (c.offset || 0)));
|
|
3780
3801
|
continue;
|
|
3781
3802
|
}
|
|
3782
3803
|
}
|
|
3783
|
-
return
|
|
3804
|
+
return io(a);
|
|
3784
3805
|
}
|
|
3785
|
-
function
|
|
3786
|
-
return t ?
|
|
3787
|
-
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;
|
|
3788
3809
|
}, {})) : e;
|
|
3789
3810
|
}
|
|
3790
|
-
function
|
|
3811
|
+
function ao(e, t) {
|
|
3791
3812
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3792
|
-
return r[n] =
|
|
3793
|
-
},
|
|
3813
|
+
return r[n] = so(e[n], t[n]), r;
|
|
3814
|
+
}, ne({}, e)) : e;
|
|
3794
3815
|
}
|
|
3795
|
-
function
|
|
3816
|
+
function wt(e) {
|
|
3796
3817
|
return {
|
|
3797
3818
|
create: function() {
|
|
3798
3819
|
return {
|
|
@@ -3806,39 +3827,39 @@ function St(e) {
|
|
|
3806
3827
|
}
|
|
3807
3828
|
};
|
|
3808
3829
|
}
|
|
3809
|
-
function
|
|
3830
|
+
function uo(e) {
|
|
3810
3831
|
return e === void 0 && (e = {
|
|
3811
3832
|
number: {},
|
|
3812
3833
|
dateTime: {},
|
|
3813
3834
|
pluralRules: {}
|
|
3814
3835
|
}), {
|
|
3815
|
-
getNumberFormat:
|
|
3836
|
+
getNumberFormat: xt(function() {
|
|
3816
3837
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3817
3838
|
r[n] = arguments[n];
|
|
3818
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3839
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Et([void 0], r, !1)))();
|
|
3819
3840
|
}, {
|
|
3820
|
-
cache:
|
|
3821
|
-
strategy:
|
|
3841
|
+
cache: wt(e.number),
|
|
3842
|
+
strategy: St.variadic
|
|
3822
3843
|
}),
|
|
3823
|
-
getDateTimeFormat:
|
|
3844
|
+
getDateTimeFormat: xt(function() {
|
|
3824
3845
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3825
3846
|
r[n] = arguments[n];
|
|
3826
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3847
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Et([void 0], r, !1)))();
|
|
3827
3848
|
}, {
|
|
3828
|
-
cache:
|
|
3829
|
-
strategy:
|
|
3849
|
+
cache: wt(e.dateTime),
|
|
3850
|
+
strategy: St.variadic
|
|
3830
3851
|
}),
|
|
3831
|
-
getPluralRules:
|
|
3852
|
+
getPluralRules: xt(function() {
|
|
3832
3853
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3854
|
r[n] = arguments[n];
|
|
3834
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3855
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Et([void 0], r, !1)))();
|
|
3835
3856
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3857
|
+
cache: wt(e.pluralRules),
|
|
3858
|
+
strategy: St.variadic
|
|
3838
3859
|
})
|
|
3839
3860
|
};
|
|
3840
3861
|
}
|
|
3841
|
-
var
|
|
3862
|
+
var lo = (
|
|
3842
3863
|
/** @class */
|
|
3843
3864
|
function() {
|
|
3844
3865
|
function e(t, r, n, i) {
|
|
@@ -3870,13 +3891,13 @@ var ao = (
|
|
|
3870
3891
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3871
3892
|
var s = i || {};
|
|
3872
3893
|
s.formatters;
|
|
3873
|
-
var a =
|
|
3874
|
-
this.ast = e.__parse(t,
|
|
3894
|
+
var a = yi(s, ["formatters"]);
|
|
3895
|
+
this.ast = e.__parse(t, ne(ne({}, a), { locale: this.resolvedLocale }));
|
|
3875
3896
|
} else
|
|
3876
3897
|
this.ast = t;
|
|
3877
3898
|
if (!Array.isArray(this.ast))
|
|
3878
3899
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3879
|
-
this.formats =
|
|
3900
|
+
this.formats = ao(e.formats, n), this.formatters = i && i.formatters || uo(this.formatterCache);
|
|
3880
3901
|
}
|
|
3881
3902
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3882
3903
|
get: function() {
|
|
@@ -3889,7 +3910,7 @@ var ao = (
|
|
|
3889
3910
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3890
3911
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3891
3912
|
}
|
|
3892
|
-
}, e.__parse =
|
|
3913
|
+
}, e.__parse = to, e.formats = {
|
|
3893
3914
|
number: {
|
|
3894
3915
|
integer: {
|
|
3895
3916
|
maximumFractionDigits: 0
|
|
@@ -3950,7 +3971,7 @@ var ao = (
|
|
|
3950
3971
|
}, e;
|
|
3951
3972
|
}()
|
|
3952
3973
|
);
|
|
3953
|
-
function
|
|
3974
|
+
function co(e, t) {
|
|
3954
3975
|
if (t == null)
|
|
3955
3976
|
return;
|
|
3956
3977
|
if (t in e)
|
|
@@ -3971,92 +3992,92 @@ function uo(e, t) {
|
|
|
3971
3992
|
n = void 0;
|
|
3972
3993
|
return n;
|
|
3973
3994
|
}
|
|
3974
|
-
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) => {
|
|
3975
3996
|
if (t == null)
|
|
3976
3997
|
return;
|
|
3977
3998
|
if (t in me && e in me[t])
|
|
3978
3999
|
return me[t][e];
|
|
3979
|
-
const r =
|
|
4000
|
+
const r = bt(t);
|
|
3980
4001
|
for (let n = 0; n < r.length; n++) {
|
|
3981
|
-
const i = r[n], o =
|
|
4002
|
+
const i = r[n], o = po(i, e);
|
|
3982
4003
|
if (o)
|
|
3983
|
-
return
|
|
4004
|
+
return ho(e, t, o);
|
|
3984
4005
|
}
|
|
3985
4006
|
};
|
|
3986
|
-
let
|
|
3987
|
-
const Ze =
|
|
3988
|
-
function
|
|
3989
|
-
return
|
|
4007
|
+
let Xt;
|
|
4008
|
+
const Ze = pt({});
|
|
4009
|
+
function fo(e) {
|
|
4010
|
+
return Xt[e] || null;
|
|
3990
4011
|
}
|
|
3991
|
-
function
|
|
3992
|
-
return e in
|
|
4012
|
+
function on(e) {
|
|
4013
|
+
return e in Xt;
|
|
3993
4014
|
}
|
|
3994
|
-
function
|
|
3995
|
-
if (!
|
|
4015
|
+
function po(e, t) {
|
|
4016
|
+
if (!on(e))
|
|
3996
4017
|
return null;
|
|
3997
|
-
const r =
|
|
3998
|
-
return
|
|
4018
|
+
const r = fo(e);
|
|
4019
|
+
return co(r, t);
|
|
3999
4020
|
}
|
|
4000
|
-
function
|
|
4021
|
+
function mo(e) {
|
|
4001
4022
|
if (e == null)
|
|
4002
4023
|
return;
|
|
4003
|
-
const t =
|
|
4024
|
+
const t = bt(e);
|
|
4004
4025
|
for (let r = 0; r < t.length; r++) {
|
|
4005
4026
|
const n = t[r];
|
|
4006
|
-
if (
|
|
4027
|
+
if (on(n))
|
|
4007
4028
|
return n;
|
|
4008
4029
|
}
|
|
4009
4030
|
}
|
|
4010
|
-
function
|
|
4031
|
+
function sn(e, ...t) {
|
|
4011
4032
|
delete me[e], Ze.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
|
|
4012
4033
|
}
|
|
4013
|
-
|
|
4034
|
+
Ne(
|
|
4014
4035
|
[Ze],
|
|
4015
4036
|
([e]) => Object.keys(e)
|
|
4016
4037
|
);
|
|
4017
|
-
Ze.subscribe((e) =>
|
|
4038
|
+
Ze.subscribe((e) => Xt = e);
|
|
4018
4039
|
const ut = {};
|
|
4019
|
-
function
|
|
4040
|
+
function bo(e, t) {
|
|
4020
4041
|
ut[e].delete(t), ut[e].size === 0 && delete ut[e];
|
|
4021
4042
|
}
|
|
4022
|
-
function
|
|
4043
|
+
function an(e) {
|
|
4023
4044
|
return ut[e];
|
|
4024
4045
|
}
|
|
4025
|
-
function
|
|
4026
|
-
return
|
|
4027
|
-
const r =
|
|
4046
|
+
function go(e) {
|
|
4047
|
+
return bt(e).map((t) => {
|
|
4048
|
+
const r = an(t);
|
|
4028
4049
|
return [t, r ? [...r] : []];
|
|
4029
4050
|
}).filter(([, t]) => t.length > 0);
|
|
4030
4051
|
}
|
|
4031
|
-
function
|
|
4032
|
-
return e == null ? !1 :
|
|
4052
|
+
function Ft(e) {
|
|
4053
|
+
return e == null ? !1 : bt(e).some(
|
|
4033
4054
|
(t) => {
|
|
4034
4055
|
var r;
|
|
4035
|
-
return (r =
|
|
4056
|
+
return (r = an(t)) == null ? void 0 : r.size;
|
|
4036
4057
|
}
|
|
4037
4058
|
);
|
|
4038
4059
|
}
|
|
4039
|
-
function
|
|
4060
|
+
function yo(e, t) {
|
|
4040
4061
|
return Promise.all(
|
|
4041
|
-
t.map((n) => (
|
|
4042
|
-
).then((n) =>
|
|
4062
|
+
t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
|
|
4063
|
+
).then((n) => sn(e, ...n));
|
|
4043
4064
|
}
|
|
4044
4065
|
const $e = {};
|
|
4045
|
-
function
|
|
4046
|
-
if (!
|
|
4066
|
+
function un(e) {
|
|
4067
|
+
if (!Ft(e))
|
|
4047
4068
|
return e in $e ? $e[e] : Promise.resolve();
|
|
4048
|
-
const t =
|
|
4069
|
+
const t = go(e);
|
|
4049
4070
|
return $e[e] = Promise.all(
|
|
4050
4071
|
t.map(
|
|
4051
|
-
([r, n]) =>
|
|
4072
|
+
([r, n]) => yo(r, n)
|
|
4052
4073
|
)
|
|
4053
4074
|
).then(() => {
|
|
4054
|
-
if (
|
|
4055
|
-
return
|
|
4075
|
+
if (Ft(e))
|
|
4076
|
+
return un(e);
|
|
4056
4077
|
delete $e[e];
|
|
4057
4078
|
}), $e[e];
|
|
4058
4079
|
}
|
|
4059
|
-
const
|
|
4080
|
+
const vo = {
|
|
4060
4081
|
number: {
|
|
4061
4082
|
scientific: { notation: "scientific" },
|
|
4062
4083
|
engineering: { notation: "engineering" },
|
|
@@ -4085,135 +4106,135 @@ const go = {
|
|
|
4085
4106
|
timeZoneName: "short"
|
|
4086
4107
|
}
|
|
4087
4108
|
}
|
|
4088
|
-
},
|
|
4109
|
+
}, _o = {
|
|
4089
4110
|
fallbackLocale: null,
|
|
4090
4111
|
loadingDelay: 200,
|
|
4091
|
-
formats:
|
|
4112
|
+
formats: vo,
|
|
4092
4113
|
warnOnMissingMessages: !0,
|
|
4093
4114
|
handleMissingMessage: void 0,
|
|
4094
4115
|
ignoreTag: !0
|
|
4095
|
-
},
|
|
4096
|
-
function
|
|
4097
|
-
return
|
|
4116
|
+
}, Eo = _o;
|
|
4117
|
+
function Ce() {
|
|
4118
|
+
return Eo;
|
|
4098
4119
|
}
|
|
4099
|
-
const
|
|
4100
|
-
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) => {
|
|
4101
4122
|
for (var r in t || (t = {}))
|
|
4102
|
-
|
|
4103
|
-
if (
|
|
4104
|
-
for (var r of
|
|
4105
|
-
|
|
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]);
|
|
4106
4127
|
return e;
|
|
4107
|
-
},
|
|
4108
|
-
let
|
|
4109
|
-
const
|
|
4110
|
-
function
|
|
4128
|
+
}, Bo = (e, t) => So(e, To(t));
|
|
4129
|
+
let Vt;
|
|
4130
|
+
const ct = pt(null);
|
|
4131
|
+
function vr(e) {
|
|
4111
4132
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4112
4133
|
}
|
|
4113
|
-
function
|
|
4114
|
-
const r =
|
|
4115
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4134
|
+
function bt(e, t = Ce().fallbackLocale) {
|
|
4135
|
+
const r = vr(e);
|
|
4136
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...vr(t)])] : r;
|
|
4116
4137
|
}
|
|
4117
4138
|
function ye() {
|
|
4118
|
-
return
|
|
4139
|
+
return Vt != null ? Vt : void 0;
|
|
4119
4140
|
}
|
|
4120
|
-
|
|
4121
|
-
|
|
4141
|
+
ct.subscribe((e) => {
|
|
4142
|
+
Vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4122
4143
|
});
|
|
4123
|
-
const
|
|
4124
|
-
if (e &&
|
|
4125
|
-
const { loadingDelay: t } =
|
|
4144
|
+
const Po = (e) => {
|
|
4145
|
+
if (e && mo(e) && Ft(e)) {
|
|
4146
|
+
const { loadingDelay: t } = Ce();
|
|
4126
4147
|
let r;
|
|
4127
4148
|
return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
|
|
4128
|
-
() =>
|
|
4149
|
+
() => Ht.set(!0),
|
|
4129
4150
|
t
|
|
4130
|
-
) :
|
|
4131
|
-
|
|
4151
|
+
) : Ht.set(!0), un(e).then(() => {
|
|
4152
|
+
ct.set(e);
|
|
4132
4153
|
}).finally(() => {
|
|
4133
|
-
clearTimeout(r),
|
|
4154
|
+
clearTimeout(r), Ht.set(!1);
|
|
4134
4155
|
});
|
|
4135
4156
|
}
|
|
4136
|
-
return
|
|
4137
|
-
},
|
|
4138
|
-
set:
|
|
4139
|
-
}),
|
|
4157
|
+
return ct.set(e);
|
|
4158
|
+
}, Me = Bo(Ao({}, ct), {
|
|
4159
|
+
set: Po
|
|
4160
|
+
}), gt = (e) => {
|
|
4140
4161
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4141
4162
|
return (n) => {
|
|
4142
4163
|
const i = JSON.stringify(n);
|
|
4143
4164
|
return i in t ? t[i] : t[i] = e(n);
|
|
4144
4165
|
};
|
|
4145
4166
|
};
|
|
4146
|
-
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) => {
|
|
4147
4168
|
for (var r in t || (t = {}))
|
|
4148
|
-
|
|
4149
|
-
if (
|
|
4150
|
-
for (var r of
|
|
4151
|
-
|
|
4169
|
+
ln.call(t, r) && _r(e, r, t[r]);
|
|
4170
|
+
if (ht)
|
|
4171
|
+
for (var r of ht(t))
|
|
4172
|
+
cn.call(t, r) && _r(e, r, t[r]);
|
|
4152
4173
|
return e;
|
|
4153
|
-
},
|
|
4174
|
+
}, Re = (e, t) => {
|
|
4154
4175
|
var r = {};
|
|
4155
4176
|
for (var n in e)
|
|
4156
|
-
|
|
4157
|
-
if (e != null &&
|
|
4158
|
-
for (var n of
|
|
4159
|
-
t.indexOf(n) < 0 &&
|
|
4177
|
+
ln.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4178
|
+
if (e != null && ht)
|
|
4179
|
+
for (var n of ht(e))
|
|
4180
|
+
t.indexOf(n) < 0 && cn.call(e, n) && (r[n] = e[n]);
|
|
4160
4181
|
return r;
|
|
4161
4182
|
};
|
|
4162
|
-
const
|
|
4163
|
-
const { formats: r } =
|
|
4183
|
+
const Xe = (e, t) => {
|
|
4184
|
+
const { formats: r } = Ce();
|
|
4164
4185
|
if (e in r && t in r[e])
|
|
4165
4186
|
return r[e][t];
|
|
4166
4187
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4167
|
-
},
|
|
4188
|
+
}, Lo = gt(
|
|
4168
4189
|
(e) => {
|
|
4169
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4190
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4170
4191
|
if (r == null)
|
|
4171
4192
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4172
|
-
return n && (i =
|
|
4193
|
+
return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
|
|
4173
4194
|
}
|
|
4174
|
-
),
|
|
4195
|
+
), Io = gt(
|
|
4175
4196
|
(e) => {
|
|
4176
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4197
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4177
4198
|
if (r == null)
|
|
4178
4199
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4179
|
-
return n ? i =
|
|
4200
|
+
return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4180
4201
|
}
|
|
4181
|
-
),
|
|
4202
|
+
), Co = gt(
|
|
4182
4203
|
(e) => {
|
|
4183
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4204
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4184
4205
|
if (r == null)
|
|
4185
4206
|
throw new Error(
|
|
4186
4207
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4187
4208
|
);
|
|
4188
|
-
return n ? i =
|
|
4209
|
+
return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4189
4210
|
}
|
|
4190
|
-
),
|
|
4211
|
+
), No = (e = {}) => {
|
|
4191
4212
|
var t = e, {
|
|
4192
4213
|
locale: r = ye()
|
|
4193
|
-
} = t, n =
|
|
4214
|
+
} = t, n = Re(t, [
|
|
4194
4215
|
"locale"
|
|
4195
4216
|
]);
|
|
4196
|
-
return
|
|
4197
|
-
},
|
|
4217
|
+
return Lo(zt({ locale: r }, n));
|
|
4218
|
+
}, Mo = (e = {}) => {
|
|
4198
4219
|
var t = e, {
|
|
4199
4220
|
locale: r = ye()
|
|
4200
|
-
} = t, n =
|
|
4221
|
+
} = t, n = Re(t, [
|
|
4201
4222
|
"locale"
|
|
4202
4223
|
]);
|
|
4203
|
-
return
|
|
4204
|
-
},
|
|
4224
|
+
return Io(zt({ locale: r }, n));
|
|
4225
|
+
}, Ro = (e = {}) => {
|
|
4205
4226
|
var t = e, {
|
|
4206
4227
|
locale: r = ye()
|
|
4207
|
-
} = t, n =
|
|
4228
|
+
} = t, n = Re(t, [
|
|
4208
4229
|
"locale"
|
|
4209
4230
|
]);
|
|
4210
|
-
return
|
|
4211
|
-
},
|
|
4231
|
+
return Co(zt({ locale: r }, n));
|
|
4232
|
+
}, Uo = gt(
|
|
4212
4233
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4213
|
-
(e, t = ye()) => new
|
|
4214
|
-
ignoreTag:
|
|
4234
|
+
(e, t = ye()) => new lo(e, t, Ce().formats, {
|
|
4235
|
+
ignoreTag: Ce().ignoreTag
|
|
4215
4236
|
})
|
|
4216
|
-
),
|
|
4237
|
+
), Do = (e, t = {}) => {
|
|
4217
4238
|
var r, n, i, o;
|
|
4218
4239
|
let s = t;
|
|
4219
4240
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4226,9 +4247,9 @@ const ze = (e, t) => {
|
|
|
4226
4247
|
throw new Error(
|
|
4227
4248
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4228
4249
|
);
|
|
4229
|
-
let c =
|
|
4250
|
+
let c = nn(e, l);
|
|
4230
4251
|
if (!c)
|
|
4231
|
-
c = (o = (i = (n = (r =
|
|
4252
|
+
c = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4232
4253
|
else if (typeof c != "string")
|
|
4233
4254
|
return console.warn(
|
|
4234
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.`
|
|
@@ -4237,7 +4258,7 @@ const ze = (e, t) => {
|
|
|
4237
4258
|
return c;
|
|
4238
4259
|
let p = c;
|
|
4239
4260
|
try {
|
|
4240
|
-
p =
|
|
4261
|
+
p = Uo(c, l).format(a);
|
|
4241
4262
|
} catch (f) {
|
|
4242
4263
|
f instanceof Error && console.warn(
|
|
4243
4264
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4245,22 +4266,22 @@ const ze = (e, t) => {
|
|
|
4245
4266
|
);
|
|
4246
4267
|
}
|
|
4247
4268
|
return p;
|
|
4248
|
-
},
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
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);
|
|
4254
4275
|
window.emWidgets = { topic: ei };
|
|
4255
|
-
const
|
|
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));
|
|
4256
4277
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4257
|
-
function
|
|
4278
|
+
function Vo(e, t) {
|
|
4258
4279
|
if (e) {
|
|
4259
4280
|
const r = document.createElement("style");
|
|
4260
4281
|
r.innerHTML = t, e.appendChild(r);
|
|
4261
4282
|
}
|
|
4262
4283
|
}
|
|
4263
|
-
function
|
|
4284
|
+
function Wo(e, t) {
|
|
4264
4285
|
if (!e || !t)
|
|
4265
4286
|
return;
|
|
4266
4287
|
const r = new URL(t);
|
|
@@ -4271,7 +4292,7 @@ function $o(e, t) {
|
|
|
4271
4292
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4272
4293
|
});
|
|
4273
4294
|
}
|
|
4274
|
-
function
|
|
4295
|
+
function Xo(e, t, r) {
|
|
4275
4296
|
if (window.emMessageBus) {
|
|
4276
4297
|
const n = document.createElement("style");
|
|
4277
4298
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4279,13 +4300,13 @@ function Vo(e, t, r) {
|
|
|
4279
4300
|
});
|
|
4280
4301
|
}
|
|
4281
4302
|
}
|
|
4282
|
-
function
|
|
4283
|
-
|
|
4303
|
+
function Er(e, t) {
|
|
4304
|
+
sn(e, t);
|
|
4284
4305
|
}
|
|
4285
|
-
function
|
|
4286
|
-
|
|
4306
|
+
function zo(e) {
|
|
4307
|
+
Me.set(e);
|
|
4287
4308
|
}
|
|
4288
|
-
const
|
|
4309
|
+
const xr = {
|
|
4289
4310
|
en: {
|
|
4290
4311
|
loadingText: "Loading, please wait..."
|
|
4291
4312
|
},
|
|
@@ -4323,27 +4344,27 @@ const _r = {
|
|
|
4323
4344
|
loadingText: "Loading, please wait..."
|
|
4324
4345
|
}
|
|
4325
4346
|
};
|
|
4326
|
-
function
|
|
4327
|
-
|
|
4347
|
+
function Jo(e) {
|
|
4348
|
+
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)}}');
|
|
4328
4349
|
}
|
|
4329
|
-
function
|
|
4350
|
+
function Sr(e, t, r) {
|
|
4330
4351
|
const n = e.slice();
|
|
4331
4352
|
return n[56] = t[r], n[58] = r, n;
|
|
4332
4353
|
}
|
|
4333
|
-
function
|
|
4354
|
+
function Zo(e) {
|
|
4334
4355
|
let t, r, n, i, o, s, a, l, u, c, p, f, b;
|
|
4335
4356
|
function x(S, y) {
|
|
4336
4357
|
return (
|
|
4337
4358
|
/*tabletView*/
|
|
4338
|
-
S[8] ?
|
|
4359
|
+
S[8] ? qo : Ko
|
|
4339
4360
|
);
|
|
4340
4361
|
}
|
|
4341
4362
|
let g = x(e), v = g(e);
|
|
4342
4363
|
return {
|
|
4343
4364
|
c() {
|
|
4344
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("div"), o =
|
|
4365
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("div"), o = C(), s = m("div"), v.c(), a = C(), l = m("div"), u = m("ui-image"), _(i, "class", "vendorLogo"), rt(i, "background-image", "url(" + /*vendorIcon*/
|
|
4345
4366
|
e[9] + ")"), _(s, "class", "displayContainer"), Y(u.src, c = /*titleLogoImg*/
|
|
4346
|
-
e[14]) ||
|
|
4367
|
+
e[14]) || P(u, "src", c), P(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
|
|
4347
4368
|
e[0] + " " + /*mobileView*/
|
|
4348
4369
|
(e[7] && !/*tabletView*/
|
|
4349
4370
|
e[8] ? "mobile" : (
|
|
@@ -4353,7 +4374,7 @@ function zo(e) {
|
|
|
4353
4374
|
e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4354
4375
|
},
|
|
4355
4376
|
m(S, y) {
|
|
4356
|
-
|
|
4377
|
+
$(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(
|
|
4357
4378
|
r,
|
|
4358
4379
|
"click",
|
|
4359
4380
|
/*click_handler*/
|
|
@@ -4365,7 +4386,7 @@ function zo(e) {
|
|
|
4365
4386
|
512 && rt(i, "background-image", "url(" + /*vendorIcon*/
|
|
4366
4387
|
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*/
|
|
4367
4388
|
16384 && !Y(u.src, c = /*titleLogoImg*/
|
|
4368
|
-
S[14]) &&
|
|
4389
|
+
S[14]) && P(u, "src", c), y[0] & /*visualstructure, mobileView, tabletView*/
|
|
4369
4390
|
385 && p !== (p = "mainWrapper " + /*visualstructure*/
|
|
4370
4391
|
S[0] + " " + /*mobileView*/
|
|
4371
4392
|
(S[7] && !/*tabletView*/
|
|
@@ -4381,14 +4402,14 @@ function zo(e) {
|
|
|
4381
4402
|
}
|
|
4382
4403
|
};
|
|
4383
4404
|
}
|
|
4384
|
-
function
|
|
4405
|
+
function Qo(e) {
|
|
4385
4406
|
let t;
|
|
4386
4407
|
return {
|
|
4387
4408
|
c() {
|
|
4388
4409
|
t = m("div"), _(t, "class", "LoadingSpinner");
|
|
4389
4410
|
},
|
|
4390
4411
|
m(r, n) {
|
|
4391
|
-
|
|
4412
|
+
$(r, t, n);
|
|
4392
4413
|
},
|
|
4393
4414
|
p: Z,
|
|
4394
4415
|
d(r) {
|
|
@@ -4396,14 +4417,14 @@ function Jo(e) {
|
|
|
4396
4417
|
}
|
|
4397
4418
|
};
|
|
4398
4419
|
}
|
|
4399
|
-
function
|
|
4420
|
+
function Yo(e) {
|
|
4400
4421
|
let t;
|
|
4401
4422
|
return {
|
|
4402
4423
|
c() {
|
|
4403
4424
|
t = m("p"), t.textContent = "500 Server error";
|
|
4404
4425
|
},
|
|
4405
4426
|
m(r, n) {
|
|
4406
|
-
|
|
4427
|
+
$(r, t, n);
|
|
4407
4428
|
},
|
|
4408
4429
|
p: Z,
|
|
4409
4430
|
d(r) {
|
|
@@ -4411,7 +4432,7 @@ function Zo(e) {
|
|
|
4411
4432
|
}
|
|
4412
4433
|
};
|
|
4413
4434
|
}
|
|
4414
|
-
function
|
|
4435
|
+
function qo(e) {
|
|
4415
4436
|
let t, r, n, i, o, s, a, l = (
|
|
4416
4437
|
/*formattedLabels*/
|
|
4417
4438
|
e[11][0] + ""
|
|
@@ -4424,10 +4445,10 @@ function Qo(e) {
|
|
|
4424
4445
|
/*formattedJackpotValues*/
|
|
4425
4446
|
e[10][0]
|
|
4426
4447
|
)) + ""
|
|
4427
|
-
), x, g, v, S, y, T,
|
|
4448
|
+
), x, g, v, S, y, T, I, G, F, J = (
|
|
4428
4449
|
/*formattedLabels*/
|
|
4429
4450
|
e[11][1] + ""
|
|
4430
|
-
),
|
|
4451
|
+
), Ue, ve, q, be, fe = (
|
|
4431
4452
|
/*realtimeupdate*/
|
|
4432
4453
|
(e[2] === "true" ? (
|
|
4433
4454
|
/*reversedJackpotValues*/
|
|
@@ -4436,10 +4457,10 @@ function Qo(e) {
|
|
|
4436
4457
|
/*formattedJackpotValues*/
|
|
4437
4458
|
e[10][1]
|
|
4438
4459
|
)) + ""
|
|
4439
|
-
), pe, _e, Ee, te,
|
|
4460
|
+
), pe, _e, Ee, te, ie, oe, M, se, De, de, K = (
|
|
4440
4461
|
/*formattedLabels*/
|
|
4441
4462
|
e[11][2] + ""
|
|
4442
|
-
),
|
|
4463
|
+
), ae, Qe, ee, xe, Se = (
|
|
4443
4464
|
/*realtimeupdate*/
|
|
4444
4465
|
(e[2] === "true" ? (
|
|
4445
4466
|
/*updatedJackpotValues*/
|
|
@@ -4448,10 +4469,10 @@ function Qo(e) {
|
|
|
4448
4469
|
/*formattedJackpotValues*/
|
|
4449
4470
|
e[10][2]
|
|
4450
4471
|
)) + ""
|
|
4451
|
-
),
|
|
4472
|
+
), Ge, Ye, qe, ue, le, re, Te, ke, we, ge = (
|
|
4452
4473
|
/*formattedLabels*/
|
|
4453
4474
|
e[11][3] + ""
|
|
4454
|
-
),
|
|
4475
|
+
), je, Ke, ce, h, H = (
|
|
4455
4476
|
/*realtimeupdate*/
|
|
4456
4477
|
(e[2] === "true" ? (
|
|
4457
4478
|
/*updatedJackpotValues*/
|
|
@@ -4461,25 +4482,25 @@ function Qo(e) {
|
|
|
4461
4482
|
e[10][3]
|
|
4462
4483
|
)) + ""
|
|
4463
4484
|
), R, et, V = !/*currencylocale*/
|
|
4464
|
-
e[3] &&
|
|
4465
|
-
e[3] &&
|
|
4466
|
-
e[3] &&
|
|
4467
|
-
e[3] &&
|
|
4485
|
+
e[3] && Tr(e), W = !/*currencylocale*/
|
|
4486
|
+
e[3] && wr(e), X = !/*currencylocale*/
|
|
4487
|
+
e[3] && Hr(e), z = !/*currencylocale*/
|
|
4488
|
+
e[3] && Ar(e);
|
|
4468
4489
|
return {
|
|
4469
4490
|
c() {
|
|
4470
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s =
|
|
4471
|
-
e[12][0]) ||
|
|
4472
|
-
e[12][1]) ||
|
|
4473
|
-
e[12][2]) ||
|
|
4474
|
-
e[12][3]) ||
|
|
4491
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s = C(), a = m("span"), u = U(l), c = C(), p = m("span"), f = m("span"), x = U(b), g = C(), V && V.c(), v = C(), S = m("div"), y = m("div"), T = m("ui-image"), G = C(), F = m("span"), Ue = U(J), ve = C(), q = m("span"), be = m("span"), pe = U(fe), _e = C(), W && W.c(), Ee = C(), te = m("div"), ie = m("div"), oe = m("div"), M = m("ui-image"), De = C(), de = m("span"), ae = U(K), Qe = C(), ee = m("span"), xe = m("span"), Ge = U(Se), Ye = C(), X && X.c(), qe = C(), ue = m("div"), le = m("div"), re = m("ui-image"), ke = C(), we = m("span"), je = U(ge), Ke = C(), ce = m("span"), h = m("span"), R = U(H), et = C(), z && z.c(), P(i, "class", "displayCardIcon"), Y(i.src, o = /*caticons*/
|
|
4492
|
+
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, I = /*caticons*/
|
|
4493
|
+
e[12][1]) || P(T, "src", I), 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*/
|
|
4494
|
+
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*/
|
|
4495
|
+
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");
|
|
4475
4496
|
},
|
|
4476
4497
|
m(E, N) {
|
|
4477
|
-
|
|
4498
|
+
$(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);
|
|
4478
4499
|
},
|
|
4479
4500
|
p(E, N) {
|
|
4480
4501
|
N[0] & /*caticons*/
|
|
4481
4502
|
4096 && !Y(i.src, o = /*caticons*/
|
|
4482
|
-
E[12][0]) &&
|
|
4503
|
+
E[12][0]) && P(i, "src", o), N[0] & /*formattedLabels*/
|
|
4483
4504
|
2048 && l !== (l = /*formattedLabels*/
|
|
4484
4505
|
E[11][0] + "") && j(u, l), N[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4485
4506
|
66564 && b !== (b = /*realtimeupdate*/
|
|
@@ -4490,11 +4511,11 @@ function Qo(e) {
|
|
|
4490
4511
|
/*formattedJackpotValues*/
|
|
4491
4512
|
E[10][0]
|
|
4492
4513
|
)) + "") && j(x, b), /*currencylocale*/
|
|
4493
|
-
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, N) : (V =
|
|
4494
|
-
4096 && !Y(T.src,
|
|
4495
|
-
E[12][1]) &&
|
|
4514
|
+
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*/
|
|
4515
|
+
4096 && !Y(T.src, I = /*caticons*/
|
|
4516
|
+
E[12][1]) && P(T, "src", I), N[0] & /*formattedLabels*/
|
|
4496
4517
|
2048 && J !== (J = /*formattedLabels*/
|
|
4497
|
-
E[11][1] + "") && j(
|
|
4518
|
+
E[11][1] + "") && j(Ue, J), N[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4498
4519
|
66564 && fe !== (fe = /*realtimeupdate*/
|
|
4499
4520
|
(E[2] === "true" ? (
|
|
4500
4521
|
/*reversedJackpotValues*/
|
|
@@ -4503,11 +4524,11 @@ function Qo(e) {
|
|
|
4503
4524
|
/*formattedJackpotValues*/
|
|
4504
4525
|
E[10][1]
|
|
4505
4526
|
)) + "") && j(pe, fe), /*currencylocale*/
|
|
4506
|
-
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, N) : (W =
|
|
4507
|
-
4096 && !Y(M.src,
|
|
4508
|
-
E[12][2]) &&
|
|
4527
|
+
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*/
|
|
4528
|
+
4096 && !Y(M.src, se = /*caticons*/
|
|
4529
|
+
E[12][2]) && P(M, "src", se), N[0] & /*formattedLabels*/
|
|
4509
4530
|
2048 && K !== (K = /*formattedLabels*/
|
|
4510
|
-
E[11][2] + "") && j(
|
|
4531
|
+
E[11][2] + "") && j(ae, K), N[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4511
4532
|
1092 && Se !== (Se = /*realtimeupdate*/
|
|
4512
4533
|
(E[2] === "true" ? (
|
|
4513
4534
|
/*updatedJackpotValues*/
|
|
@@ -4515,12 +4536,12 @@ function Qo(e) {
|
|
|
4515
4536
|
) : (
|
|
4516
4537
|
/*formattedJackpotValues*/
|
|
4517
4538
|
E[10][2]
|
|
4518
|
-
)) + "") && j(
|
|
4519
|
-
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, N) : (X =
|
|
4539
|
+
)) + "") && j(Ge, Se), /*currencylocale*/
|
|
4540
|
+
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*/
|
|
4520
4541
|
4096 && !Y(re.src, Te = /*caticons*/
|
|
4521
|
-
E[12][3]) &&
|
|
4542
|
+
E[12][3]) && P(re, "src", Te), N[0] & /*formattedLabels*/
|
|
4522
4543
|
2048 && ge !== (ge = /*formattedLabels*/
|
|
4523
|
-
E[11][3] + "") && j(
|
|
4544
|
+
E[11][3] + "") && j(je, ge), N[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4524
4545
|
1092 && H !== (H = /*realtimeupdate*/
|
|
4525
4546
|
(E[2] === "true" ? (
|
|
4526
4547
|
/*updatedJackpotValues*/
|
|
@@ -4529,36 +4550,36 @@ function Qo(e) {
|
|
|
4529
4550
|
/*formattedJackpotValues*/
|
|
4530
4551
|
E[10][3]
|
|
4531
4552
|
)) + "") && j(R, H), /*currencylocale*/
|
|
4532
|
-
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, N) : (z =
|
|
4553
|
+
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, N) : (z = Ar(E), z.c(), z.m(ce, null));
|
|
4533
4554
|
},
|
|
4534
4555
|
d(E) {
|
|
4535
4556
|
E && (D(t), D(Ee), D(te)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4536
4557
|
}
|
|
4537
4558
|
};
|
|
4538
4559
|
}
|
|
4539
|
-
function
|
|
4540
|
-
let t, r =
|
|
4560
|
+
function Ko(e) {
|
|
4561
|
+
let t, r = er(Array(4)), n = [];
|
|
4541
4562
|
for (let i = 0; i < r.length; i += 1)
|
|
4542
|
-
n[i] =
|
|
4563
|
+
n[i] = Pr(Sr(e, r, i));
|
|
4543
4564
|
return {
|
|
4544
4565
|
c() {
|
|
4545
4566
|
for (let i = 0; i < n.length; i += 1)
|
|
4546
4567
|
n[i].c();
|
|
4547
|
-
t =
|
|
4568
|
+
t = xn();
|
|
4548
4569
|
},
|
|
4549
4570
|
m(i, o) {
|
|
4550
4571
|
for (let s = 0; s < n.length; s += 1)
|
|
4551
4572
|
n[s] && n[s].m(i, o);
|
|
4552
|
-
|
|
4573
|
+
$(i, t, o);
|
|
4553
4574
|
},
|
|
4554
4575
|
p(i, o) {
|
|
4555
4576
|
if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4556
4577
|
72718) {
|
|
4557
|
-
r =
|
|
4578
|
+
r = er(Array(4));
|
|
4558
4579
|
let s;
|
|
4559
4580
|
for (s = 0; s < r.length; s += 1) {
|
|
4560
|
-
const a =
|
|
4561
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4581
|
+
const a = Sr(i, r, s);
|
|
4582
|
+
n[s] ? n[s].p(a, o) : (n[s] = Pr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4562
4583
|
}
|
|
4563
4584
|
for (; s < n.length; s += 1)
|
|
4564
4585
|
n[s].d(1);
|
|
@@ -4566,11 +4587,11 @@ function Yo(e) {
|
|
|
4566
4587
|
}
|
|
4567
4588
|
},
|
|
4568
4589
|
d(i) {
|
|
4569
|
-
i && D(t),
|
|
4590
|
+
i && D(t), En(n, i);
|
|
4570
4591
|
}
|
|
4571
4592
|
};
|
|
4572
4593
|
}
|
|
4573
|
-
function
|
|
4594
|
+
function Tr(e) {
|
|
4574
4595
|
let t, r;
|
|
4575
4596
|
return {
|
|
4576
4597
|
c() {
|
|
@@ -4580,7 +4601,7 @@ function xr(e) {
|
|
|
4580
4601
|
), _(t, "class", "jackpot-currency");
|
|
4581
4602
|
},
|
|
4582
4603
|
m(n, i) {
|
|
4583
|
-
|
|
4604
|
+
$(n, t, i), d(t, r);
|
|
4584
4605
|
},
|
|
4585
4606
|
p(n, i) {
|
|
4586
4607
|
i[0] & /*currency*/
|
|
@@ -4595,7 +4616,7 @@ function xr(e) {
|
|
|
4595
4616
|
}
|
|
4596
4617
|
};
|
|
4597
4618
|
}
|
|
4598
|
-
function
|
|
4619
|
+
function wr(e) {
|
|
4599
4620
|
let t, r;
|
|
4600
4621
|
return {
|
|
4601
4622
|
c() {
|
|
@@ -4605,7 +4626,7 @@ function Sr(e) {
|
|
|
4605
4626
|
), _(t, "class", "jackpot-currency");
|
|
4606
4627
|
},
|
|
4607
4628
|
m(n, i) {
|
|
4608
|
-
|
|
4629
|
+
$(n, t, i), d(t, r);
|
|
4609
4630
|
},
|
|
4610
4631
|
p(n, i) {
|
|
4611
4632
|
i[0] & /*currency*/
|
|
@@ -4620,7 +4641,7 @@ function Sr(e) {
|
|
|
4620
4641
|
}
|
|
4621
4642
|
};
|
|
4622
4643
|
}
|
|
4623
|
-
function
|
|
4644
|
+
function Hr(e) {
|
|
4624
4645
|
let t, r;
|
|
4625
4646
|
return {
|
|
4626
4647
|
c() {
|
|
@@ -4630,7 +4651,7 @@ function Tr(e) {
|
|
|
4630
4651
|
), _(t, "class", "jackpot-currency");
|
|
4631
4652
|
},
|
|
4632
4653
|
m(n, i) {
|
|
4633
|
-
|
|
4654
|
+
$(n, t, i), d(t, r);
|
|
4634
4655
|
},
|
|
4635
4656
|
p(n, i) {
|
|
4636
4657
|
i[0] & /*currency*/
|
|
@@ -4645,7 +4666,7 @@ function Tr(e) {
|
|
|
4645
4666
|
}
|
|
4646
4667
|
};
|
|
4647
4668
|
}
|
|
4648
|
-
function
|
|
4669
|
+
function Ar(e) {
|
|
4649
4670
|
let t, r;
|
|
4650
4671
|
return {
|
|
4651
4672
|
c() {
|
|
@@ -4655,7 +4676,7 @@ function wr(e) {
|
|
|
4655
4676
|
), _(t, "class", "jackpot-currency");
|
|
4656
4677
|
},
|
|
4657
4678
|
m(n, i) {
|
|
4658
|
-
|
|
4679
|
+
$(n, t, i), d(t, r);
|
|
4659
4680
|
},
|
|
4660
4681
|
p(n, i) {
|
|
4661
4682
|
i[0] & /*currency*/
|
|
@@ -4670,7 +4691,7 @@ function wr(e) {
|
|
|
4670
4691
|
}
|
|
4671
4692
|
};
|
|
4672
4693
|
}
|
|
4673
|
-
function
|
|
4694
|
+
function Br(e) {
|
|
4674
4695
|
let t, r;
|
|
4675
4696
|
return {
|
|
4676
4697
|
c() {
|
|
@@ -4680,7 +4701,7 @@ function Hr(e) {
|
|
|
4680
4701
|
), _(t, "class", "jackpot-currency");
|
|
4681
4702
|
},
|
|
4682
4703
|
m(n, i) {
|
|
4683
|
-
|
|
4704
|
+
$(n, t, i), d(t, r);
|
|
4684
4705
|
},
|
|
4685
4706
|
p(n, i) {
|
|
4686
4707
|
i[0] & /*currency*/
|
|
@@ -4695,7 +4716,7 @@ function Hr(e) {
|
|
|
4695
4716
|
}
|
|
4696
4717
|
};
|
|
4697
4718
|
}
|
|
4698
|
-
function
|
|
4719
|
+
function Pr(e) {
|
|
4699
4720
|
var S;
|
|
4700
4721
|
let t, r, n, i, o, s, a = (
|
|
4701
4722
|
/*formattedLabels*/
|
|
@@ -4719,26 +4740,26 @@ function Ar(e) {
|
|
|
4719
4740
|
]) != null ? S : ""
|
|
4720
4741
|
)) + ""
|
|
4721
4742
|
), b, x, g, v = !/*currencylocale*/
|
|
4722
|
-
e[3] &&
|
|
4743
|
+
e[3] && Br(e);
|
|
4723
4744
|
return {
|
|
4724
4745
|
c() {
|
|
4725
|
-
t = m("div"), r = m("div"), n = m("ui-image"), o =
|
|
4746
|
+
t = m("div"), r = m("div"), n = m("ui-image"), o = C(), s = m("span"), l = U(a), u = C(), c = m("span"), p = m("span"), b = U(f), x = C(), v && v.c(), g = C(), P(n, "class", "displayCardIcon"), Y(n.src, i = /*caticons*/
|
|
4726
4747
|
e[12][
|
|
4727
4748
|
/*i*/
|
|
4728
4749
|
e[58]
|
|
4729
|
-
]) ||
|
|
4750
|
+
]) || P(n, "src", i), P(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4730
4751
|
},
|
|
4731
4752
|
m(y, T) {
|
|
4732
|
-
|
|
4753
|
+
$(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);
|
|
4733
4754
|
},
|
|
4734
4755
|
p(y, T) {
|
|
4735
|
-
var
|
|
4756
|
+
var I;
|
|
4736
4757
|
T[0] & /*caticons*/
|
|
4737
4758
|
4096 && !Y(n.src, i = /*caticons*/
|
|
4738
4759
|
y[12][
|
|
4739
4760
|
/*i*/
|
|
4740
4761
|
y[58]
|
|
4741
|
-
]) &&
|
|
4762
|
+
]) && P(n, "src", i), T[0] & /*formattedLabels*/
|
|
4742
4763
|
2048 && a !== (a = /*formattedLabels*/
|
|
4743
4764
|
y[11][
|
|
4744
4765
|
/*i*/
|
|
@@ -4753,26 +4774,26 @@ function Ar(e) {
|
|
|
4753
4774
|
]
|
|
4754
4775
|
) : (
|
|
4755
4776
|
/*formattedJackpotValues*/
|
|
4756
|
-
(
|
|
4777
|
+
(I = y[10][
|
|
4757
4778
|
/*i*/
|
|
4758
4779
|
y[58]
|
|
4759
|
-
]) != null ?
|
|
4780
|
+
]) != null ? I : ""
|
|
4760
4781
|
)) + "") && j(b, f), /*currencylocale*/
|
|
4761
|
-
y[3] ? v && (v.d(1), v = null) : v ? v.p(y, T) : (v =
|
|
4782
|
+
y[3] ? v && (v.d(1), v = null) : v ? v.p(y, T) : (v = Br(y), v.c(), v.m(c, null));
|
|
4762
4783
|
},
|
|
4763
4784
|
d(y) {
|
|
4764
4785
|
y && D(t), v && v.d();
|
|
4765
4786
|
}
|
|
4766
4787
|
};
|
|
4767
4788
|
}
|
|
4768
|
-
function
|
|
4789
|
+
function es(e) {
|
|
4769
4790
|
let t;
|
|
4770
4791
|
function r(o, s) {
|
|
4771
4792
|
return (
|
|
4772
4793
|
/*hasErrors*/
|
|
4773
|
-
o[15] ?
|
|
4794
|
+
o[15] ? Yo : (
|
|
4774
4795
|
/*isLoading*/
|
|
4775
|
-
o[5] ?
|
|
4796
|
+
o[5] ? Qo : Zo
|
|
4776
4797
|
)
|
|
4777
4798
|
);
|
|
4778
4799
|
}
|
|
@@ -4782,7 +4803,7 @@ function qo(e) {
|
|
|
4782
4803
|
t = m("div"), i.c();
|
|
4783
4804
|
},
|
|
4784
4805
|
m(o, s) {
|
|
4785
|
-
|
|
4806
|
+
$(o, t, s), i.m(t, null), e[36](t);
|
|
4786
4807
|
},
|
|
4787
4808
|
p(o, s) {
|
|
4788
4809
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4794,19 +4815,19 @@ function qo(e) {
|
|
|
4794
4815
|
}
|
|
4795
4816
|
};
|
|
4796
4817
|
}
|
|
4797
|
-
function
|
|
4798
|
-
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:
|
|
4818
|
+
function ts(e, t, r) {
|
|
4819
|
+
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: I = "" } = 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 = [];
|
|
4799
4820
|
const Qe = () => {
|
|
4800
4821
|
fetch(y).then((H) => H.json()).then((H) => {
|
|
4801
4822
|
Object.keys(H).forEach((R) => {
|
|
4802
|
-
|
|
4823
|
+
Er(R, H[R]);
|
|
4803
4824
|
});
|
|
4804
4825
|
}).catch((H) => {
|
|
4805
4826
|
console.log(H);
|
|
4806
4827
|
});
|
|
4807
4828
|
};
|
|
4808
|
-
Object.keys(
|
|
4809
|
-
|
|
4829
|
+
Object.keys(xr).forEach((h) => {
|
|
4830
|
+
Er(h, xr[h]);
|
|
4810
4831
|
});
|
|
4811
4832
|
const ee = ["typeSpread", "typeLeft"], xe = (h) => {
|
|
4812
4833
|
var R;
|
|
@@ -4815,13 +4836,13 @@ function Ko(e, t, r) {
|
|
|
4815
4836
|
}, Se = (h) => {
|
|
4816
4837
|
var H;
|
|
4817
4838
|
r(9, be = ((H = h == null ? void 0 : h.items[0]) == null ? void 0 : H.vendorLogo) || "");
|
|
4818
|
-
},
|
|
4839
|
+
}, Ge = () => {
|
|
4819
4840
|
if (T && g && f) {
|
|
4820
4841
|
let h = new URL(`${T}/v1/casino/jackpots`);
|
|
4821
|
-
h.searchParams.append("filter", `id=${
|
|
4822
|
-
r(5,
|
|
4842
|
+
h.searchParams.append("filter", `id=${I}`), h.searchParams.append("language", g), h.searchParams.append("additionalDataCurrency", f), fetch(h.href).then((H) => H.json().then((R) => {
|
|
4843
|
+
r(5, se = !1), de = R, pe.includes(I) && (xe(de), Se(de));
|
|
4823
4844
|
}).catch((R) => {
|
|
4824
|
-
r(15,
|
|
4845
|
+
r(15, De = !0), r(5, se = !1), console.error(R);
|
|
4825
4846
|
}).finally(() => {
|
|
4826
4847
|
Ye();
|
|
4827
4848
|
}));
|
|
@@ -4834,81 +4855,81 @@ function Ko(e, t, r) {
|
|
|
4834
4855
|
fetch(h.href).then((H) => H.json()).then((H) => {
|
|
4835
4856
|
r(34, pe = H.egtJackpotIds.map((R) => R));
|
|
4836
4857
|
});
|
|
4837
|
-
},
|
|
4838
|
-
r(7, ve =
|
|
4839
|
-
},
|
|
4858
|
+
}, ue = () => {
|
|
4859
|
+
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]);
|
|
4860
|
+
}, le = (h) => Intl.NumberFormat(J, {
|
|
4840
4861
|
minimumFractionDigits: 2,
|
|
4841
4862
|
maximumFractionDigits: 2,
|
|
4842
4863
|
style: "currency",
|
|
4843
4864
|
currency: f
|
|
4844
|
-
}).format(h).replace(/\s/g, ""), re = (h) => J ? h.map((H) =>
|
|
4865
|
+
}).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 = () => {
|
|
4845
4866
|
const h = window.innerHeight / window.innerWidth;
|
|
4846
4867
|
return 0.75 < h && h < 1.6;
|
|
4847
|
-
},
|
|
4848
|
-
window.postMessage({ type: "JackpotBannerClicked", gameid:
|
|
4868
|
+
}, ke = () => {
|
|
4869
|
+
window.postMessage({ type: "JackpotBannerClicked", gameid: I }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4849
4870
|
context: "JackpotBanner",
|
|
4850
|
-
gameId: `${
|
|
4871
|
+
gameId: `${I}`
|
|
4851
4872
|
});
|
|
4852
4873
|
}, we = () => {
|
|
4853
|
-
|
|
4874
|
+
zo(g);
|
|
4854
4875
|
}, ge = (h) => {
|
|
4855
4876
|
const H = JSON.parse(h.data);
|
|
4856
|
-
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] ===
|
|
4877
|
+
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === I) {
|
|
4857
4878
|
const R = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4858
4879
|
r(
|
|
4859
4880
|
6,
|
|
4860
|
-
|
|
4861
|
-
|
|
4881
|
+
ae[R] = J ? le(H.data.data[`${f}`].balance) : H.data.data[`${f}`].balance.toString(),
|
|
4882
|
+
ae
|
|
4862
4883
|
);
|
|
4863
4884
|
}
|
|
4864
|
-
},
|
|
4865
|
-
|
|
4885
|
+
}, je = () => {
|
|
4886
|
+
F === "true" && (ue(), r(6, ae = ["", "", "", ""]), K = new EventSource(`${T}/v1/encoder/jackpot/*/update`), K.addEventListener("message", ge));
|
|
4866
4887
|
};
|
|
4867
|
-
|
|
4868
|
-
}),
|
|
4888
|
+
Hn(() => () => {
|
|
4889
|
+
}), An(() => {
|
|
4869
4890
|
K && (K.removeEventListener("message", ge), K.close(), K = null);
|
|
4870
4891
|
});
|
|
4871
|
-
const Ke = () =>
|
|
4872
|
-
function
|
|
4873
|
-
|
|
4892
|
+
const Ke = () => ke();
|
|
4893
|
+
function ce(h) {
|
|
4894
|
+
At[h ? "unshift" : "push"](() => {
|
|
4874
4895
|
M = h, r(4, M);
|
|
4875
4896
|
});
|
|
4876
4897
|
}
|
|
4877
4898
|
return e.$$set = (h) => {
|
|
4878
|
-
"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,
|
|
4899
|
+
"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, I = 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);
|
|
4879
4900
|
}, e.$$.update = () => {
|
|
4880
4901
|
e.$$.dirty[1] & /*endpoint*/
|
|
4881
4902
|
1 && T && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4882
|
-
268435472 && v && M &&
|
|
4883
|
-
536870928 && S && M &&
|
|
4903
|
+
268435472 && v && M && Vo(M, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4904
|
+
536870928 && S && M && Wo(M, S), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4884
4905
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4885
|
-
4 && G && M &&
|
|
4906
|
+
4 && G && M && Xo(M, `${G}.Style`), e.$$.dirty[0] & /*lang, currency*/
|
|
4886
4907
|
134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
4887
|
-
9 && T && g && f && pe.length > 0 &&
|
|
4888
|
-
134217762 && f && g && !
|
|
4908
|
+
9 && T && g && f && pe.length > 0 && Ge(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4909
|
+
134217762 && f && g && !se && ue(), e.$$.dirty[0] & /*lang*/
|
|
4889
4910
|
134217728 && g && we(), e.$$.dirty[0] & /*translationurl*/
|
|
4890
4911
|
1073741824 && y && Qe(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4891
|
-
4 &&
|
|
4892
|
-
64 && r(16, n = [...
|
|
4912
|
+
4 && F && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
|
|
4913
|
+
64 && r(16, n = [...ae].reverse());
|
|
4893
4914
|
}, [
|
|
4894
4915
|
i,
|
|
4895
4916
|
f,
|
|
4896
|
-
|
|
4917
|
+
F,
|
|
4897
4918
|
J,
|
|
4898
4919
|
M,
|
|
4899
|
-
oe,
|
|
4900
4920
|
se,
|
|
4921
|
+
ae,
|
|
4901
4922
|
ve,
|
|
4902
4923
|
q,
|
|
4903
4924
|
be,
|
|
4904
4925
|
_e,
|
|
4905
4926
|
Ee,
|
|
4906
4927
|
te,
|
|
4907
|
-
ne,
|
|
4908
4928
|
ie,
|
|
4909
|
-
|
|
4929
|
+
oe,
|
|
4930
|
+
De,
|
|
4910
4931
|
n,
|
|
4911
|
-
|
|
4932
|
+
ke,
|
|
4912
4933
|
o,
|
|
4913
4934
|
s,
|
|
4914
4935
|
a,
|
|
@@ -4923,21 +4944,21 @@ function Ko(e, t, r) {
|
|
|
4923
4944
|
S,
|
|
4924
4945
|
y,
|
|
4925
4946
|
T,
|
|
4926
|
-
|
|
4947
|
+
I,
|
|
4927
4948
|
G,
|
|
4928
4949
|
pe,
|
|
4929
4950
|
Ke,
|
|
4930
|
-
|
|
4951
|
+
ce
|
|
4931
4952
|
];
|
|
4932
4953
|
}
|
|
4933
|
-
class
|
|
4954
|
+
class rs extends Gn {
|
|
4934
4955
|
constructor(t) {
|
|
4935
|
-
super(),
|
|
4956
|
+
super(), Un(
|
|
4936
4957
|
this,
|
|
4937
4958
|
t,
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4959
|
+
ts,
|
|
4960
|
+
es,
|
|
4961
|
+
Lr,
|
|
4941
4962
|
{
|
|
4942
4963
|
visualstructure: 0,
|
|
4943
4964
|
title: 18,
|
|
@@ -4960,7 +4981,7 @@ class es extends Dn {
|
|
|
4960
4981
|
realtimeupdate: 2,
|
|
4961
4982
|
currencylocale: 3
|
|
4962
4983
|
},
|
|
4963
|
-
|
|
4984
|
+
Jo,
|
|
4964
4985
|
[-1, -1]
|
|
4965
4986
|
);
|
|
4966
4987
|
}
|
|
@@ -4968,124 +4989,124 @@ class es extends Dn {
|
|
|
4968
4989
|
return this.$$.ctx[0];
|
|
4969
4990
|
}
|
|
4970
4991
|
set visualstructure(t) {
|
|
4971
|
-
this.$$set({ visualstructure: t }),
|
|
4992
|
+
this.$$set({ visualstructure: t }), O();
|
|
4972
4993
|
}
|
|
4973
4994
|
get title() {
|
|
4974
4995
|
return this.$$.ctx[18];
|
|
4975
4996
|
}
|
|
4976
4997
|
set title(t) {
|
|
4977
|
-
this.$$set({ title: t }),
|
|
4998
|
+
this.$$set({ title: t }), O();
|
|
4978
4999
|
}
|
|
4979
5000
|
get caticon0() {
|
|
4980
5001
|
return this.$$.ctx[19];
|
|
4981
5002
|
}
|
|
4982
5003
|
set caticon0(t) {
|
|
4983
|
-
this.$$set({ caticon0: t }),
|
|
5004
|
+
this.$$set({ caticon0: t }), O();
|
|
4984
5005
|
}
|
|
4985
5006
|
get caticon1() {
|
|
4986
5007
|
return this.$$.ctx[20];
|
|
4987
5008
|
}
|
|
4988
5009
|
set caticon1(t) {
|
|
4989
|
-
this.$$set({ caticon1: t }),
|
|
5010
|
+
this.$$set({ caticon1: t }), O();
|
|
4990
5011
|
}
|
|
4991
5012
|
get caticon2() {
|
|
4992
5013
|
return this.$$.ctx[21];
|
|
4993
5014
|
}
|
|
4994
5015
|
set caticon2(t) {
|
|
4995
|
-
this.$$set({ caticon2: t }),
|
|
5016
|
+
this.$$set({ caticon2: t }), O();
|
|
4996
5017
|
}
|
|
4997
5018
|
get caticon3() {
|
|
4998
5019
|
return this.$$.ctx[22];
|
|
4999
5020
|
}
|
|
5000
5021
|
set caticon3(t) {
|
|
5001
|
-
this.$$set({ caticon3: t }),
|
|
5022
|
+
this.$$set({ caticon3: t }), O();
|
|
5002
5023
|
}
|
|
5003
5024
|
get iconlabels() {
|
|
5004
5025
|
return this.$$.ctx[23];
|
|
5005
5026
|
}
|
|
5006
5027
|
set iconlabels(t) {
|
|
5007
|
-
this.$$set({ iconlabels: t }),
|
|
5028
|
+
this.$$set({ iconlabels: t }), O();
|
|
5008
5029
|
}
|
|
5009
5030
|
get backgroundsrc() {
|
|
5010
5031
|
return this.$$.ctx[24];
|
|
5011
5032
|
}
|
|
5012
5033
|
set backgroundsrc(t) {
|
|
5013
|
-
this.$$set({ backgroundsrc: t }),
|
|
5034
|
+
this.$$set({ backgroundsrc: t }), O();
|
|
5014
5035
|
}
|
|
5015
5036
|
get currency() {
|
|
5016
5037
|
return this.$$.ctx[1];
|
|
5017
5038
|
}
|
|
5018
5039
|
set currency(t) {
|
|
5019
|
-
this.$$set({ currency: t }),
|
|
5040
|
+
this.$$set({ currency: t }), O();
|
|
5020
5041
|
}
|
|
5021
5042
|
get backgroundsrcmobile() {
|
|
5022
5043
|
return this.$$.ctx[25];
|
|
5023
5044
|
}
|
|
5024
5045
|
set backgroundsrcmobile(t) {
|
|
5025
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
5046
|
+
this.$$set({ backgroundsrcmobile: t }), O();
|
|
5026
5047
|
}
|
|
5027
5048
|
get titlelogopath() {
|
|
5028
5049
|
return this.$$.ctx[26];
|
|
5029
5050
|
}
|
|
5030
5051
|
set titlelogopath(t) {
|
|
5031
|
-
this.$$set({ titlelogopath: t }),
|
|
5052
|
+
this.$$set({ titlelogopath: t }), O();
|
|
5032
5053
|
}
|
|
5033
5054
|
get lang() {
|
|
5034
5055
|
return this.$$.ctx[27];
|
|
5035
5056
|
}
|
|
5036
5057
|
set lang(t) {
|
|
5037
|
-
this.$$set({ lang: t }),
|
|
5058
|
+
this.$$set({ lang: t }), O();
|
|
5038
5059
|
}
|
|
5039
5060
|
get clientstyling() {
|
|
5040
5061
|
return this.$$.ctx[28];
|
|
5041
5062
|
}
|
|
5042
5063
|
set clientstyling(t) {
|
|
5043
|
-
this.$$set({ clientstyling: t }),
|
|
5064
|
+
this.$$set({ clientstyling: t }), O();
|
|
5044
5065
|
}
|
|
5045
5066
|
get clientstylingurl() {
|
|
5046
5067
|
return this.$$.ctx[29];
|
|
5047
5068
|
}
|
|
5048
5069
|
set clientstylingurl(t) {
|
|
5049
|
-
this.$$set({ clientstylingurl: t }),
|
|
5070
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
5050
5071
|
}
|
|
5051
5072
|
get translationurl() {
|
|
5052
5073
|
return this.$$.ctx[30];
|
|
5053
5074
|
}
|
|
5054
5075
|
set translationurl(t) {
|
|
5055
|
-
this.$$set({ translationurl: t }),
|
|
5076
|
+
this.$$set({ translationurl: t }), O();
|
|
5056
5077
|
}
|
|
5057
5078
|
get endpoint() {
|
|
5058
5079
|
return this.$$.ctx[31];
|
|
5059
5080
|
}
|
|
5060
5081
|
set endpoint(t) {
|
|
5061
|
-
this.$$set({ endpoint: t }),
|
|
5082
|
+
this.$$set({ endpoint: t }), O();
|
|
5062
5083
|
}
|
|
5063
5084
|
get gameid() {
|
|
5064
5085
|
return this.$$.ctx[32];
|
|
5065
5086
|
}
|
|
5066
5087
|
set gameid(t) {
|
|
5067
|
-
this.$$set({ gameid: t }),
|
|
5088
|
+
this.$$set({ gameid: t }), O();
|
|
5068
5089
|
}
|
|
5069
5090
|
get mbsource() {
|
|
5070
5091
|
return this.$$.ctx[33];
|
|
5071
5092
|
}
|
|
5072
5093
|
set mbsource(t) {
|
|
5073
|
-
this.$$set({ mbsource: t }),
|
|
5094
|
+
this.$$set({ mbsource: t }), O();
|
|
5074
5095
|
}
|
|
5075
5096
|
get realtimeupdate() {
|
|
5076
5097
|
return this.$$.ctx[2];
|
|
5077
5098
|
}
|
|
5078
5099
|
set realtimeupdate(t) {
|
|
5079
|
-
this.$$set({ realtimeupdate: t }),
|
|
5100
|
+
this.$$set({ realtimeupdate: t }), O();
|
|
5080
5101
|
}
|
|
5081
5102
|
get currencylocale() {
|
|
5082
5103
|
return this.$$.ctx[3];
|
|
5083
5104
|
}
|
|
5084
5105
|
set currencylocale(t) {
|
|
5085
|
-
this.$$set({ currencylocale: t }),
|
|
5106
|
+
this.$$set({ currencylocale: t }), O();
|
|
5086
5107
|
}
|
|
5087
5108
|
}
|
|
5088
|
-
|
|
5109
|
+
Dn(rs, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
5089
5110
|
export {
|
|
5090
|
-
|
|
5111
|
+
rs as default
|
|
5091
5112
|
};
|