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