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