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