@everymatrix/casino-jackpot-banner 1.76.3 → 1.76.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoJackpotBanner-B4RmJHSE.cjs +18 -0
- package/components/{CasinoJackpotBanner-alOj6ZGt.js → CasinoJackpotBanner-C06wch9B.js} +1049 -1014
- package/components/{CasinoJackpotBanner-D3tmVTCd.js → CasinoJackpotBanner-CBsjExI3.js} +1025 -990
- 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-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
- package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BaHsVAxH.cjs} +1 -1
- package/stencil/{ui-image-D3_FGUyo.js → ui-image-C7s6Uvn5.js} +1 -1
- package/stencil/{ui-image-CYuYAlOX.js → ui-image-CHeV8e9p.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-qO3reSlr.js} +2 -2
- package/components/CasinoJackpotBanner-C4ARReIt.cjs +0 -18
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-CHeV8e9p.js";
|
|
2
2
|
function Z() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Tr(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Xt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
e.forEach(
|
|
10
|
+
function Xe(e) {
|
|
11
|
+
e.forEach(Tr);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function $t(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function wr(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
19
|
let Ke;
|
|
20
20
|
function Q(e, t) {
|
|
21
21
|
return e === t ? !0 : (Ke || (Ke = document.createElement("a")), Ke.href = t, e === Ke.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function on(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function sn(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
@@ -32,17 +32,17 @@ function tn(e, ...t) {
|
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function d(e, t) {
|
|
36
36
|
e.appendChild(t);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
const n =
|
|
38
|
+
function an(e, t, r) {
|
|
39
|
+
const n = un(e);
|
|
40
40
|
if (!n.getElementById(t)) {
|
|
41
41
|
const i = b("style");
|
|
42
|
-
i.id = t, i.textContent = r,
|
|
42
|
+
i.id = t, i.textContent = r, ln(n, i);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function un(e) {
|
|
46
46
|
if (!e)
|
|
47
47
|
return document;
|
|
48
48
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -52,20 +52,20 @@ function nn(e) {
|
|
|
52
52
|
t
|
|
53
53
|
) : e.ownerDocument;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
return
|
|
55
|
+
function ln(e, t) {
|
|
56
|
+
return d(
|
|
57
57
|
/** @type {Document} */
|
|
58
58
|
e.head || e,
|
|
59
59
|
t
|
|
60
60
|
), t.sheet;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function $(e, t, r) {
|
|
63
63
|
e.insertBefore(t, r || null);
|
|
64
64
|
}
|
|
65
65
|
function D(e) {
|
|
66
66
|
e.parentNode && e.parentNode.removeChild(e);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function cn(e, t) {
|
|
69
69
|
for (let r = 0; r < e.length; r += 1)
|
|
70
70
|
e[r] && e[r].d(t);
|
|
71
71
|
}
|
|
@@ -78,30 +78,30 @@ function R(e) {
|
|
|
78
78
|
function C() {
|
|
79
79
|
return R(" ");
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function hn() {
|
|
82
82
|
return R("");
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function fn(e, t, r, n) {
|
|
85
85
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function _(e, t, r) {
|
|
88
88
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function P(e, t, r) {
|
|
91
91
|
const n = t.toLowerCase();
|
|
92
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
92
|
+
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);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function pn(e) {
|
|
95
95
|
return Array.from(e.childNodes);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function G(e, t) {
|
|
98
98
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
99
99
|
t);
|
|
100
100
|
}
|
|
101
101
|
function et(e, t, r, n) {
|
|
102
102
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function dn(e) {
|
|
105
105
|
const t = {};
|
|
106
106
|
return e.childNodes.forEach(
|
|
107
107
|
/** @param {Element} node */
|
|
@@ -110,101 +110,101 @@ function cn(e) {
|
|
|
110
110
|
}
|
|
111
111
|
), t;
|
|
112
112
|
}
|
|
113
|
-
let
|
|
113
|
+
let Fe;
|
|
114
114
|
function $e(e) {
|
|
115
|
-
|
|
115
|
+
Fe = e;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
if (!
|
|
117
|
+
function Hr() {
|
|
118
|
+
if (!Fe)
|
|
119
119
|
throw new Error("Function called outside component initialization");
|
|
120
|
-
return
|
|
120
|
+
return Fe;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function mn(e) {
|
|
123
|
+
Hr().$$.on_mount.push(e);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function bn(e) {
|
|
126
|
+
Hr().$$.on_destroy.push(e);
|
|
127
127
|
}
|
|
128
|
-
const Ae = [],
|
|
128
|
+
const Ae = [], Tt = [];
|
|
129
129
|
let Be = [];
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
function
|
|
133
|
-
|
|
130
|
+
const zt = [], gn = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let wt = !1;
|
|
132
|
+
function yn() {
|
|
133
|
+
wt || (wt = !0, gn.then(O));
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Ht(e) {
|
|
136
136
|
Be.push(e);
|
|
137
137
|
}
|
|
138
|
-
const
|
|
138
|
+
const bt = /* @__PURE__ */ new Set();
|
|
139
139
|
let we = 0;
|
|
140
140
|
function O() {
|
|
141
141
|
if (we !== 0)
|
|
142
142
|
return;
|
|
143
|
-
const e =
|
|
143
|
+
const e = Fe;
|
|
144
144
|
do {
|
|
145
145
|
try {
|
|
146
146
|
for (; we < Ae.length; ) {
|
|
147
147
|
const t = Ae[we];
|
|
148
|
-
we++, $e(t),
|
|
148
|
+
we++, $e(t), vn(t.$$);
|
|
149
149
|
}
|
|
150
150
|
} catch (t) {
|
|
151
151
|
throw Ae.length = 0, we = 0, t;
|
|
152
152
|
}
|
|
153
|
-
for ($e(null), Ae.length = 0, we = 0;
|
|
154
|
-
|
|
153
|
+
for ($e(null), Ae.length = 0, we = 0; Tt.length; )
|
|
154
|
+
Tt.pop()();
|
|
155
155
|
for (let t = 0; t < Be.length; t += 1) {
|
|
156
156
|
const r = Be[t];
|
|
157
|
-
|
|
157
|
+
bt.has(r) || (bt.add(r), r());
|
|
158
158
|
}
|
|
159
159
|
Be.length = 0;
|
|
160
160
|
} while (Ae.length);
|
|
161
|
-
for (;
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
for (; zt.length; )
|
|
162
|
+
zt.pop()();
|
|
163
|
+
wt = !1, bt.clear(), $e(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function vn(e) {
|
|
166
166
|
if (e.fragment !== null) {
|
|
167
|
-
e.update(),
|
|
167
|
+
e.update(), Xe(e.before_update);
|
|
168
168
|
const t = e.dirty;
|
|
169
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
169
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function _n(e) {
|
|
173
173
|
const t = [], r = [];
|
|
174
174
|
Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
|
|
175
175
|
}
|
|
176
|
-
const
|
|
177
|
-
function
|
|
178
|
-
e && e.i && (
|
|
176
|
+
const En = /* @__PURE__ */ new Set();
|
|
177
|
+
function xn(e, t) {
|
|
178
|
+
e && e.i && (En.delete(e), e.i(t));
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Jt(e) {
|
|
181
181
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Sn(e, t, r) {
|
|
184
184
|
const { fragment: n, after_update: i } = e.$$;
|
|
185
|
-
n && n.m(t, r),
|
|
186
|
-
const
|
|
187
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
188
|
-
}), i.forEach(
|
|
185
|
+
n && n.m(t, r), Ht(() => {
|
|
186
|
+
const o = e.$$.on_mount.map(Tr).filter($t);
|
|
187
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Xe(o), e.$$.on_mount = [];
|
|
188
|
+
}), i.forEach(Ht);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Tn(e, t) {
|
|
191
191
|
const r = e.$$;
|
|
192
|
-
r.fragment !== null && (
|
|
192
|
+
r.fragment !== null && (_n(r.after_update), Xe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
e.$$.dirty[0] === -1 && (Ae.push(e),
|
|
194
|
+
function wn(e, t) {
|
|
195
|
+
e.$$.dirty[0] === -1 && (Ae.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
const l =
|
|
197
|
+
function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
198
|
+
const l = Fe;
|
|
199
199
|
$e(e);
|
|
200
200
|
const u = e.$$ = {
|
|
201
201
|
fragment: null,
|
|
202
202
|
ctx: [],
|
|
203
203
|
// state
|
|
204
|
-
props:
|
|
204
|
+
props: o,
|
|
205
205
|
update: Z,
|
|
206
206
|
not_equal: i,
|
|
207
|
-
bound:
|
|
207
|
+
bound: Xt(),
|
|
208
208
|
// lifecycle
|
|
209
209
|
on_mount: [],
|
|
210
210
|
on_destroy: [],
|
|
@@ -213,28 +213,28 @@ function xn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
213
213
|
after_update: [],
|
|
214
214
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
215
215
|
// everything else
|
|
216
|
-
callbacks:
|
|
216
|
+
callbacks: Xt(),
|
|
217
217
|
dirty: a,
|
|
218
218
|
skip_bound: !1,
|
|
219
219
|
root: t.target || l.$$.root
|
|
220
220
|
};
|
|
221
|
-
|
|
221
|
+
s && s(u.root);
|
|
222
222
|
let c = !1;
|
|
223
|
-
if (u.ctx = r(e, t.props || {}, (
|
|
223
|
+
if (u.ctx = r ? r(e, t.props || {}, (p, h, ...g) => {
|
|
224
224
|
const x = g.length ? g[0] : h;
|
|
225
|
-
return u.ctx && i(u.ctx[
|
|
226
|
-
}), u.update(), c = !0,
|
|
225
|
+
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c && wn(e, p)), h;
|
|
226
|
+
}) : [], u.update(), c = !0, Xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
227
227
|
if (t.hydrate) {
|
|
228
|
-
const
|
|
229
|
-
u.fragment && u.fragment.l(
|
|
228
|
+
const p = pn(t.target);
|
|
229
|
+
u.fragment && u.fragment.l(p), p.forEach(D);
|
|
230
230
|
} else
|
|
231
231
|
u.fragment && u.fragment.c();
|
|
232
|
-
t.intro &&
|
|
232
|
+
t.intro && xn(e.$$.fragment), Sn(e, t.target, t.anchor), O();
|
|
233
233
|
}
|
|
234
234
|
$e(l);
|
|
235
235
|
}
|
|
236
|
-
let
|
|
237
|
-
typeof HTMLElement == "function" && (
|
|
236
|
+
let Ar;
|
|
237
|
+
typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
238
238
|
/** The Svelte component constructor */
|
|
239
239
|
$$ctor;
|
|
240
240
|
/** Slots */
|
|
@@ -273,32 +273,32 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
273
273
|
if (this.$$cn = !0, !this.$$c) {
|
|
274
274
|
let e = function(i) {
|
|
275
275
|
return () => {
|
|
276
|
-
let
|
|
276
|
+
let o;
|
|
277
277
|
return {
|
|
278
278
|
c: function() {
|
|
279
|
-
|
|
279
|
+
o = b("slot"), i !== "default" && _(o, "name", i);
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
282
|
* @param {HTMLElement} target
|
|
283
283
|
* @param {HTMLElement} [anchor]
|
|
284
284
|
*/
|
|
285
285
|
m: function(l, u) {
|
|
286
|
-
|
|
286
|
+
$(l, o, u);
|
|
287
287
|
},
|
|
288
288
|
d: function(l) {
|
|
289
|
-
l && D(
|
|
289
|
+
l && D(o);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
};
|
|
294
294
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
295
295
|
return;
|
|
296
|
-
const t = {}, r =
|
|
296
|
+
const t = {}, r = dn(this);
|
|
297
297
|
for (const i of this.$$s)
|
|
298
298
|
i in r && (t[i] = [e(i)]);
|
|
299
299
|
for (const i of this.attributes) {
|
|
300
|
-
const
|
|
301
|
-
|
|
300
|
+
const o = this.$$g_p(i.name);
|
|
301
|
+
o in this.$$d || (this.$$d[o] = nt(o, i.value, this.$$p_d, "toProp"));
|
|
302
302
|
}
|
|
303
303
|
for (const i in this.$$p_d)
|
|
304
304
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -316,21 +316,21 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
316
316
|
this.$$r = !0;
|
|
317
317
|
for (const i in this.$$p_d)
|
|
318
318
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
319
|
-
const
|
|
319
|
+
const o = nt(
|
|
320
320
|
i,
|
|
321
321
|
this.$$d[i],
|
|
322
322
|
this.$$p_d,
|
|
323
323
|
"toAttribute"
|
|
324
324
|
);
|
|
325
|
-
|
|
325
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
326
326
|
}
|
|
327
327
|
this.$$r = !1;
|
|
328
328
|
};
|
|
329
329
|
this.$$c.$$.after_update.push(n), n();
|
|
330
330
|
for (const i in this.$$l)
|
|
331
|
-
for (const
|
|
332
|
-
const
|
|
333
|
-
this.$$l_u.set(
|
|
331
|
+
for (const o of this.$$l[i]) {
|
|
332
|
+
const s = this.$$c.$on(i, o);
|
|
333
|
+
this.$$l_u.set(o, s);
|
|
334
334
|
}
|
|
335
335
|
this.$$l = {};
|
|
336
336
|
}
|
|
@@ -380,8 +380,8 @@ function nt(e, t, r, n) {
|
|
|
380
380
|
return t;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
let
|
|
383
|
+
function An(e, t, r, n, i, o) {
|
|
384
|
+
let s = class extends Ar {
|
|
385
385
|
constructor() {
|
|
386
386
|
super(e, r, i), this.$$p_d = t;
|
|
387
387
|
}
|
|
@@ -392,7 +392,7 @@ function Sn(e, t, r, n, i, s) {
|
|
|
392
392
|
}
|
|
393
393
|
};
|
|
394
394
|
return Object.keys(t).forEach((a) => {
|
|
395
|
-
Object.defineProperty(
|
|
395
|
+
Object.defineProperty(s.prototype, a, {
|
|
396
396
|
get() {
|
|
397
397
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
398
398
|
},
|
|
@@ -401,15 +401,15 @@ function Sn(e, t, r, n, i, s) {
|
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
}), n.forEach((a) => {
|
|
404
|
-
Object.defineProperty(
|
|
404
|
+
Object.defineProperty(s.prototype, a, {
|
|
405
405
|
get() {
|
|
406
406
|
return this.$$c?.[a];
|
|
407
407
|
}
|
|
408
408
|
});
|
|
409
409
|
}), e.element = /** @type {any} */
|
|
410
|
-
|
|
410
|
+
s, s;
|
|
411
411
|
}
|
|
412
|
-
class
|
|
412
|
+
class Bn {
|
|
413
413
|
/**
|
|
414
414
|
* ### PRIVATE API
|
|
415
415
|
*
|
|
@@ -428,7 +428,7 @@ class Tn {
|
|
|
428
428
|
$$set = void 0;
|
|
429
429
|
/** @returns {void} */
|
|
430
430
|
$destroy() {
|
|
431
|
-
|
|
431
|
+
Tn(this, 1), this.$destroy = Z;
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
434
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -437,7 +437,7 @@ class Tn {
|
|
|
437
437
|
* @returns {() => void}
|
|
438
438
|
*/
|
|
439
439
|
$on(t, r) {
|
|
440
|
-
if (
|
|
440
|
+
if (!$t(r))
|
|
441
441
|
return Z;
|
|
442
442
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
443
443
|
return n.push(r), () => {
|
|
@@ -450,11 +450,11 @@ class Tn {
|
|
|
450
450
|
* @returns {void}
|
|
451
451
|
*/
|
|
452
452
|
$set(t) {
|
|
453
|
-
this.$$set && !
|
|
453
|
+
this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
const
|
|
457
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
456
|
+
const Pn = "4";
|
|
457
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
458
458
|
/*! *****************************************************************************
|
|
459
459
|
Copyright (c) Microsoft Corporation.
|
|
460
460
|
|
|
@@ -469,43 +469,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
469
469
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
470
470
|
PERFORMANCE OF THIS SOFTWARE.
|
|
471
471
|
***************************************************************************** */
|
|
472
|
-
var
|
|
473
|
-
return
|
|
472
|
+
var At = function(e, t) {
|
|
473
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
474
474
|
r.__proto__ = n;
|
|
475
475
|
} || function(r, n) {
|
|
476
476
|
for (var i in n)
|
|
477
477
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
478
|
-
},
|
|
478
|
+
}, At(e, t);
|
|
479
479
|
};
|
|
480
|
-
function
|
|
480
|
+
function ze(e, t) {
|
|
481
481
|
if (typeof t != "function" && t !== null)
|
|
482
482
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
483
|
-
|
|
483
|
+
At(e, t);
|
|
484
484
|
function r() {
|
|
485
485
|
this.constructor = e;
|
|
486
486
|
}
|
|
487
487
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
488
488
|
}
|
|
489
|
-
|
|
490
|
-
return H = Object.assign || function(t) {
|
|
491
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
492
|
-
r = arguments[n];
|
|
493
|
-
for (var s in r)
|
|
494
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
495
|
-
}
|
|
496
|
-
return t;
|
|
497
|
-
}, H.apply(this, arguments);
|
|
498
|
-
};
|
|
499
|
-
function Hn(e, t) {
|
|
500
|
-
var r = {};
|
|
501
|
-
for (var n in e)
|
|
502
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
503
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
504
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
505
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
506
|
-
return r;
|
|
507
|
-
}
|
|
508
|
-
function wt(e) {
|
|
489
|
+
function Bt(e) {
|
|
509
490
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
510
491
|
if (r)
|
|
511
492
|
return r.call(e);
|
|
@@ -517,42 +498,42 @@ function wt(e) {
|
|
|
517
498
|
};
|
|
518
499
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
519
500
|
}
|
|
520
|
-
function
|
|
501
|
+
function Pt(e, t) {
|
|
521
502
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
522
503
|
if (!r)
|
|
523
504
|
return e;
|
|
524
|
-
var n = r.call(e), i,
|
|
505
|
+
var n = r.call(e), i, o = [], s;
|
|
525
506
|
try {
|
|
526
507
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
527
|
-
|
|
508
|
+
o.push(i.value);
|
|
528
509
|
} catch (a) {
|
|
529
|
-
|
|
510
|
+
s = { error: a };
|
|
530
511
|
} finally {
|
|
531
512
|
try {
|
|
532
513
|
i && !i.done && (r = n.return) && r.call(n);
|
|
533
514
|
} finally {
|
|
534
|
-
if (
|
|
535
|
-
throw
|
|
515
|
+
if (s)
|
|
516
|
+
throw s.error;
|
|
536
517
|
}
|
|
537
518
|
}
|
|
538
|
-
return
|
|
519
|
+
return o;
|
|
539
520
|
}
|
|
540
|
-
function
|
|
541
|
-
if (
|
|
542
|
-
for (var n = 0, i = t.length,
|
|
543
|
-
(
|
|
544
|
-
return e.concat(
|
|
521
|
+
function Ot(e, t, r) {
|
|
522
|
+
if (arguments.length === 2)
|
|
523
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
524
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
525
|
+
return e.concat(o || t);
|
|
545
526
|
}
|
|
546
|
-
function
|
|
527
|
+
function ce(e) {
|
|
547
528
|
return typeof e == "function";
|
|
548
529
|
}
|
|
549
|
-
function
|
|
530
|
+
function Br(e) {
|
|
550
531
|
var t = function(n) {
|
|
551
532
|
Error.call(n), n.stack = new Error().stack;
|
|
552
533
|
}, r = e(t);
|
|
553
534
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
554
535
|
}
|
|
555
|
-
var
|
|
536
|
+
var gt = Br(function(e) {
|
|
556
537
|
return function(r) {
|
|
557
538
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
558
539
|
` + r.map(function(n, i) {
|
|
@@ -561,25 +542,25 @@ var mt = Tr(function(e) {
|
|
|
561
542
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
562
543
|
};
|
|
563
544
|
});
|
|
564
|
-
function
|
|
545
|
+
function Lt(e, t) {
|
|
565
546
|
if (e) {
|
|
566
547
|
var r = e.indexOf(t);
|
|
567
548
|
0 <= r && e.splice(r, 1);
|
|
568
549
|
}
|
|
569
550
|
}
|
|
570
|
-
var
|
|
551
|
+
var ct = function() {
|
|
571
552
|
function e(t) {
|
|
572
553
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
573
554
|
}
|
|
574
555
|
return e.prototype.unsubscribe = function() {
|
|
575
|
-
var t, r, n, i,
|
|
556
|
+
var t, r, n, i, o;
|
|
576
557
|
if (!this.closed) {
|
|
577
558
|
this.closed = !0;
|
|
578
|
-
var
|
|
579
|
-
if (
|
|
580
|
-
if (this._parentage = null, Array.isArray(
|
|
559
|
+
var s = this._parentage;
|
|
560
|
+
if (s)
|
|
561
|
+
if (this._parentage = null, Array.isArray(s))
|
|
581
562
|
try {
|
|
582
|
-
for (var a =
|
|
563
|
+
for (var a = Bt(s), l = a.next(); !l.done; l = a.next()) {
|
|
583
564
|
var u = l.value;
|
|
584
565
|
u.remove(this);
|
|
585
566
|
}
|
|
@@ -594,24 +575,24 @@ var lt = function() {
|
|
|
594
575
|
}
|
|
595
576
|
}
|
|
596
577
|
else
|
|
597
|
-
|
|
578
|
+
s.remove(this);
|
|
598
579
|
var c = this.initialTeardown;
|
|
599
|
-
if (
|
|
580
|
+
if (ce(c))
|
|
600
581
|
try {
|
|
601
582
|
c();
|
|
602
583
|
} catch (y) {
|
|
603
|
-
|
|
584
|
+
o = y instanceof gt ? y.errors : [y];
|
|
604
585
|
}
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
586
|
+
var p = this._finalizers;
|
|
587
|
+
if (p) {
|
|
607
588
|
this._finalizers = null;
|
|
608
589
|
try {
|
|
609
|
-
for (var h =
|
|
590
|
+
for (var h = Bt(p), g = h.next(); !g.done; g = h.next()) {
|
|
610
591
|
var x = g.value;
|
|
611
592
|
try {
|
|
612
|
-
|
|
593
|
+
Zt(x);
|
|
613
594
|
} catch (y) {
|
|
614
|
-
|
|
595
|
+
o = o ?? [], y instanceof gt ? o = Ot(Ot([], Pt(o)), Pt(y.errors)) : o.push(y);
|
|
615
596
|
}
|
|
616
597
|
}
|
|
617
598
|
} catch (y) {
|
|
@@ -625,14 +606,14 @@ var lt = function() {
|
|
|
625
606
|
}
|
|
626
607
|
}
|
|
627
608
|
}
|
|
628
|
-
if (
|
|
629
|
-
throw new
|
|
609
|
+
if (o)
|
|
610
|
+
throw new gt(o);
|
|
630
611
|
}
|
|
631
612
|
}, e.prototype.add = function(t) {
|
|
632
613
|
var r;
|
|
633
614
|
if (t && t !== this)
|
|
634
615
|
if (this.closed)
|
|
635
|
-
|
|
616
|
+
Zt(t);
|
|
636
617
|
else {
|
|
637
618
|
if (t instanceof e) {
|
|
638
619
|
if (t.closed || t._hasParent(this))
|
|
@@ -649,56 +630,52 @@ var lt = function() {
|
|
|
649
630
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
650
631
|
}, e.prototype._removeParent = function(t) {
|
|
651
632
|
var r = this._parentage;
|
|
652
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
633
|
+
r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
|
|
653
634
|
}, e.prototype.remove = function(t) {
|
|
654
635
|
var r = this._finalizers;
|
|
655
|
-
r &&
|
|
636
|
+
r && Lt(r, t), t instanceof e && t._removeParent(this);
|
|
656
637
|
}, e.EMPTY = function() {
|
|
657
638
|
var t = new e();
|
|
658
639
|
return t.closed = !0, t;
|
|
659
640
|
}(), e;
|
|
660
|
-
}(),
|
|
661
|
-
function
|
|
662
|
-
return e instanceof
|
|
663
|
-
}
|
|
664
|
-
function
|
|
665
|
-
|
|
666
|
-
}
|
|
667
|
-
var
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
Promise: void 0,
|
|
671
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
672
|
-
useDeprecatedNextContext: !1
|
|
673
|
-
}, Bn = {
|
|
641
|
+
}(), Pr = ct.EMPTY;
|
|
642
|
+
function Or(e) {
|
|
643
|
+
return e instanceof ct || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
|
|
644
|
+
}
|
|
645
|
+
function Zt(e) {
|
|
646
|
+
ce(e) ? e() : e.unsubscribe();
|
|
647
|
+
}
|
|
648
|
+
var On = {
|
|
649
|
+
Promise: void 0
|
|
650
|
+
}, Ln = {
|
|
674
651
|
setTimeout: function(e, t) {
|
|
675
652
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
676
653
|
r[n - 2] = arguments[n];
|
|
677
|
-
return setTimeout.apply(void 0,
|
|
654
|
+
return setTimeout.apply(void 0, Ot([e, t], Pt(r)));
|
|
678
655
|
},
|
|
679
656
|
clearTimeout: function(e) {
|
|
680
657
|
return clearTimeout(e);
|
|
681
658
|
},
|
|
682
659
|
delegate: void 0
|
|
683
660
|
};
|
|
684
|
-
function
|
|
685
|
-
|
|
661
|
+
function Cn(e) {
|
|
662
|
+
Ln.setTimeout(function() {
|
|
686
663
|
throw e;
|
|
687
664
|
});
|
|
688
665
|
}
|
|
689
|
-
function
|
|
666
|
+
function Qt() {
|
|
690
667
|
}
|
|
691
668
|
function it(e) {
|
|
692
669
|
e();
|
|
693
670
|
}
|
|
694
|
-
var
|
|
695
|
-
|
|
671
|
+
var Lr = function(e) {
|
|
672
|
+
ze(t, e);
|
|
696
673
|
function t(r) {
|
|
697
674
|
var n = e.call(this) || this;
|
|
698
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
675
|
+
return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = Mn, n;
|
|
699
676
|
}
|
|
700
677
|
return t.create = function(r, n, i) {
|
|
701
|
-
return new
|
|
678
|
+
return new Ct(r, n, i);
|
|
702
679
|
}, t.prototype.next = function(r) {
|
|
703
680
|
this.isStopped || this._next(r);
|
|
704
681
|
}, t.prototype.error = function(r) {
|
|
@@ -722,7 +699,7 @@ var Ar = function(e) {
|
|
|
722
699
|
this.unsubscribe();
|
|
723
700
|
}
|
|
724
701
|
}, t;
|
|
725
|
-
}(
|
|
702
|
+
}(ct), In = function() {
|
|
726
703
|
function e(t) {
|
|
727
704
|
this.partialObserver = t;
|
|
728
705
|
}
|
|
@@ -753,43 +730,43 @@ var Ar = function(e) {
|
|
|
753
730
|
tt(r);
|
|
754
731
|
}
|
|
755
732
|
}, e;
|
|
756
|
-
}(),
|
|
757
|
-
|
|
733
|
+
}(), Ct = function(e) {
|
|
734
|
+
ze(t, e);
|
|
758
735
|
function t(r, n, i) {
|
|
759
|
-
var
|
|
760
|
-
return
|
|
736
|
+
var o = e.call(this) || this, s;
|
|
737
|
+
return ce(r) || !r ? s = {
|
|
761
738
|
next: r ?? void 0,
|
|
762
739
|
error: n ?? void 0,
|
|
763
740
|
complete: i ?? void 0
|
|
764
|
-
} :
|
|
741
|
+
} : s = r, o.destination = new In(s), o;
|
|
765
742
|
}
|
|
766
743
|
return t;
|
|
767
|
-
}(
|
|
744
|
+
}(Lr);
|
|
768
745
|
function tt(e) {
|
|
769
|
-
|
|
746
|
+
Cn(e);
|
|
770
747
|
}
|
|
771
|
-
function
|
|
748
|
+
function Nn(e) {
|
|
772
749
|
throw e;
|
|
773
750
|
}
|
|
774
|
-
var
|
|
751
|
+
var Mn = {
|
|
775
752
|
closed: !0,
|
|
776
|
-
next:
|
|
777
|
-
error:
|
|
778
|
-
complete:
|
|
779
|
-
},
|
|
753
|
+
next: Qt,
|
|
754
|
+
error: Nn,
|
|
755
|
+
complete: Qt
|
|
756
|
+
}, Rn = function() {
|
|
780
757
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
781
758
|
}();
|
|
782
|
-
function
|
|
759
|
+
function Un(e) {
|
|
783
760
|
return e;
|
|
784
761
|
}
|
|
785
|
-
function
|
|
786
|
-
return e.length === 0 ?
|
|
762
|
+
function Dn(e) {
|
|
763
|
+
return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
|
|
787
764
|
return e.reduce(function(n, i) {
|
|
788
765
|
return i(n);
|
|
789
766
|
}, r);
|
|
790
767
|
};
|
|
791
768
|
}
|
|
792
|
-
var
|
|
769
|
+
var Yt = function() {
|
|
793
770
|
function e(t) {
|
|
794
771
|
t && (this._subscribe = t);
|
|
795
772
|
}
|
|
@@ -797,11 +774,11 @@ var zt = function() {
|
|
|
797
774
|
var r = new e();
|
|
798
775
|
return r.source = this, r.operator = t, r;
|
|
799
776
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
800
|
-
var i = this,
|
|
777
|
+
var i = this, o = jn(t) ? t : new Ct(t, r, n);
|
|
801
778
|
return it(function() {
|
|
802
|
-
var
|
|
803
|
-
|
|
804
|
-
}),
|
|
779
|
+
var s = i, a = s.operator, l = s.source;
|
|
780
|
+
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
781
|
+
}), o;
|
|
805
782
|
}, e.prototype._trySubscribe = function(t) {
|
|
806
783
|
try {
|
|
807
784
|
return this._subscribe(t);
|
|
@@ -810,79 +787,79 @@ var zt = function() {
|
|
|
810
787
|
}
|
|
811
788
|
}, e.prototype.forEach = function(t, r) {
|
|
812
789
|
var n = this;
|
|
813
|
-
return r =
|
|
814
|
-
var
|
|
790
|
+
return r = qt(r), new r(function(i, o) {
|
|
791
|
+
var s = new Ct({
|
|
815
792
|
next: function(a) {
|
|
816
793
|
try {
|
|
817
794
|
t(a);
|
|
818
795
|
} catch (l) {
|
|
819
|
-
|
|
796
|
+
o(l), s.unsubscribe();
|
|
820
797
|
}
|
|
821
798
|
},
|
|
822
|
-
error:
|
|
799
|
+
error: o,
|
|
823
800
|
complete: i
|
|
824
801
|
});
|
|
825
|
-
n.subscribe(
|
|
802
|
+
n.subscribe(s);
|
|
826
803
|
});
|
|
827
804
|
}, e.prototype._subscribe = function(t) {
|
|
828
805
|
var r;
|
|
829
806
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
830
|
-
}, e.prototype[
|
|
807
|
+
}, e.prototype[Rn] = function() {
|
|
831
808
|
return this;
|
|
832
809
|
}, e.prototype.pipe = function() {
|
|
833
810
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
834
811
|
t[r] = arguments[r];
|
|
835
|
-
return
|
|
812
|
+
return Dn(t)(this);
|
|
836
813
|
}, e.prototype.toPromise = function(t) {
|
|
837
814
|
var r = this;
|
|
838
|
-
return t =
|
|
839
|
-
var
|
|
840
|
-
r.subscribe(function(
|
|
841
|
-
return
|
|
842
|
-
}, function(
|
|
843
|
-
return i(
|
|
815
|
+
return t = qt(t), new t(function(n, i) {
|
|
816
|
+
var o;
|
|
817
|
+
r.subscribe(function(s) {
|
|
818
|
+
return o = s;
|
|
819
|
+
}, function(s) {
|
|
820
|
+
return i(s);
|
|
844
821
|
}, function() {
|
|
845
|
-
return n(
|
|
822
|
+
return n(o);
|
|
846
823
|
});
|
|
847
824
|
});
|
|
848
825
|
}, e.create = function(t) {
|
|
849
826
|
return new e(t);
|
|
850
827
|
}, e;
|
|
851
828
|
}();
|
|
852
|
-
function
|
|
829
|
+
function qt(e) {
|
|
853
830
|
var t;
|
|
854
|
-
return (t = e ??
|
|
831
|
+
return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
|
|
855
832
|
}
|
|
856
|
-
function
|
|
857
|
-
return e &&
|
|
833
|
+
function kn(e) {
|
|
834
|
+
return e && ce(e.next) && ce(e.error) && ce(e.complete);
|
|
858
835
|
}
|
|
859
|
-
function
|
|
860
|
-
return e && e instanceof
|
|
836
|
+
function jn(e) {
|
|
837
|
+
return e && e instanceof Lr || kn(e) && Or(e);
|
|
861
838
|
}
|
|
862
|
-
var
|
|
839
|
+
var Gn = Br(function(e) {
|
|
863
840
|
return function() {
|
|
864
841
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
865
842
|
};
|
|
866
|
-
}),
|
|
867
|
-
|
|
843
|
+
}), Cr = function(e) {
|
|
844
|
+
ze(t, e);
|
|
868
845
|
function t() {
|
|
869
846
|
var r = e.call(this) || this;
|
|
870
847
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
871
848
|
}
|
|
872
849
|
return t.prototype.lift = function(r) {
|
|
873
|
-
var n = new
|
|
850
|
+
var n = new Kt(this, this);
|
|
874
851
|
return n.operator = r, n;
|
|
875
852
|
}, t.prototype._throwIfClosed = function() {
|
|
876
853
|
if (this.closed)
|
|
877
|
-
throw new
|
|
854
|
+
throw new Gn();
|
|
878
855
|
}, t.prototype.next = function(r) {
|
|
879
856
|
var n = this;
|
|
880
857
|
it(function() {
|
|
881
|
-
var i,
|
|
858
|
+
var i, o;
|
|
882
859
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
883
860
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
884
861
|
try {
|
|
885
|
-
for (var
|
|
862
|
+
for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
886
863
|
var l = a.value;
|
|
887
864
|
l.next(r);
|
|
888
865
|
}
|
|
@@ -890,7 +867,7 @@ var Dn = Tr(function(e) {
|
|
|
890
867
|
i = { error: u };
|
|
891
868
|
} finally {
|
|
892
869
|
try {
|
|
893
|
-
a && !a.done && (
|
|
870
|
+
a && !a.done && (o = s.return) && o.call(s);
|
|
894
871
|
} finally {
|
|
895
872
|
if (i)
|
|
896
873
|
throw i.error;
|
|
@@ -930,21 +907,21 @@ var Dn = Tr(function(e) {
|
|
|
930
907
|
}, t.prototype._subscribe = function(r) {
|
|
931
908
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
932
909
|
}, t.prototype._innerSubscribe = function(r) {
|
|
933
|
-
var n = this, i = this,
|
|
934
|
-
return
|
|
935
|
-
n.currentObservers = null,
|
|
910
|
+
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
911
|
+
return o || s ? Pr : (this.currentObservers = null, a.push(r), new ct(function() {
|
|
912
|
+
n.currentObservers = null, Lt(a, r);
|
|
936
913
|
}));
|
|
937
914
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
938
|
-
var n = this, i = n.hasError,
|
|
939
|
-
i ? r.error(
|
|
915
|
+
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
916
|
+
i ? r.error(o) : s && r.complete();
|
|
940
917
|
}, t.prototype.asObservable = function() {
|
|
941
|
-
var r = new
|
|
918
|
+
var r = new Yt();
|
|
942
919
|
return r.source = this, r;
|
|
943
920
|
}, t.create = function(r, n) {
|
|
944
|
-
return new
|
|
921
|
+
return new Kt(r, n);
|
|
945
922
|
}, t;
|
|
946
|
-
}(
|
|
947
|
-
|
|
923
|
+
}(Yt), Kt = function(e) {
|
|
924
|
+
ze(t, e);
|
|
948
925
|
function t(r, n) {
|
|
949
926
|
var i = e.call(this) || this;
|
|
950
927
|
return i.destination = r, i.source = n, i;
|
|
@@ -960,54 +937,54 @@ var Dn = Tr(function(e) {
|
|
|
960
937
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
961
938
|
}, t.prototype._subscribe = function(r) {
|
|
962
939
|
var n, i;
|
|
963
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
940
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
|
|
964
941
|
}, t;
|
|
965
|
-
}(
|
|
942
|
+
}(Cr), Ir = {
|
|
966
943
|
now: function() {
|
|
967
|
-
return (
|
|
944
|
+
return (Ir.delegate || Date).now();
|
|
968
945
|
},
|
|
969
946
|
delegate: void 0
|
|
970
|
-
},
|
|
971
|
-
|
|
947
|
+
}, $n = function(e) {
|
|
948
|
+
ze(t, e);
|
|
972
949
|
function t(r, n, i) {
|
|
973
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
974
|
-
var
|
|
975
|
-
return
|
|
950
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
|
|
951
|
+
var o = e.call(this) || this;
|
|
952
|
+
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
976
953
|
}
|
|
977
954
|
return t.prototype.next = function(r) {
|
|
978
|
-
var n = this, i = n.isStopped,
|
|
979
|
-
i || (
|
|
955
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
|
956
|
+
i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
980
957
|
}, t.prototype._subscribe = function(r) {
|
|
981
958
|
this._throwIfClosed(), this._trimBuffer();
|
|
982
|
-
for (var n = this._innerSubscribe(r), i = this,
|
|
959
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
|
983
960
|
r.next(a[l]);
|
|
984
961
|
return this._checkFinalizedStatuses(r), n;
|
|
985
962
|
}, t.prototype._trimBuffer = function() {
|
|
986
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider,
|
|
987
|
-
if (n < 1 / 0 && a <
|
|
988
|
-
for (var l = i.now(), u = 0, c = 1; c <
|
|
963
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
964
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
965
|
+
for (var l = i.now(), u = 0, c = 1; c < o.length && o[c] <= l; c += 2)
|
|
989
966
|
u = c;
|
|
990
|
-
u &&
|
|
967
|
+
u && o.splice(0, u + 1);
|
|
991
968
|
}
|
|
992
969
|
}, t;
|
|
993
|
-
}(
|
|
994
|
-
const
|
|
995
|
-
if (
|
|
996
|
-
const r = new
|
|
997
|
-
|
|
970
|
+
}(Cr);
|
|
971
|
+
const er = [], tr = {}, Fn = (e, t = 0) => {
|
|
972
|
+
if (er.indexOf(e) == -1) {
|
|
973
|
+
const r = new $n(t);
|
|
974
|
+
tr[e] = r, er.push(e);
|
|
998
975
|
}
|
|
999
|
-
return
|
|
976
|
+
return tr[e];
|
|
1000
977
|
}, He = [];
|
|
1001
|
-
function
|
|
978
|
+
function Vn(e, t) {
|
|
1002
979
|
return {
|
|
1003
|
-
subscribe:
|
|
980
|
+
subscribe: ht(e, t).subscribe
|
|
1004
981
|
};
|
|
1005
982
|
}
|
|
1006
|
-
function
|
|
983
|
+
function ht(e, t = Z) {
|
|
1007
984
|
let r;
|
|
1008
985
|
const n = /* @__PURE__ */ new Set();
|
|
1009
986
|
function i(a) {
|
|
1010
|
-
if (
|
|
987
|
+
if (wr(e, a) && (e = a, r)) {
|
|
1011
988
|
const l = !He.length;
|
|
1012
989
|
for (const u of n)
|
|
1013
990
|
u[1](), He.push(u, e);
|
|
@@ -1018,37 +995,37 @@ function ct(e, t = Z) {
|
|
|
1018
995
|
}
|
|
1019
996
|
}
|
|
1020
997
|
}
|
|
1021
|
-
function
|
|
998
|
+
function o(a) {
|
|
1022
999
|
i(a(e));
|
|
1023
1000
|
}
|
|
1024
|
-
function
|
|
1001
|
+
function s(a, l = Z) {
|
|
1025
1002
|
const u = [a, l];
|
|
1026
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
1003
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || Z), a(e), () => {
|
|
1027
1004
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1028
1005
|
};
|
|
1029
1006
|
}
|
|
1030
|
-
return { set: i, update:
|
|
1007
|
+
return { set: i, update: o, subscribe: s };
|
|
1031
1008
|
}
|
|
1032
|
-
function
|
|
1009
|
+
function Ie(e, t, r) {
|
|
1033
1010
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1034
1011
|
if (!i.every(Boolean))
|
|
1035
1012
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1036
|
-
const
|
|
1037
|
-
return
|
|
1013
|
+
const o = t.length < 2;
|
|
1014
|
+
return Vn(r, (s, a) => {
|
|
1038
1015
|
let l = !1;
|
|
1039
1016
|
const u = [];
|
|
1040
|
-
let c = 0,
|
|
1017
|
+
let c = 0, p = Z;
|
|
1041
1018
|
const h = () => {
|
|
1042
1019
|
if (c)
|
|
1043
1020
|
return;
|
|
1044
|
-
|
|
1045
|
-
const x = t(n ? u[0] : u,
|
|
1046
|
-
|
|
1021
|
+
p();
|
|
1022
|
+
const x = t(n ? u[0] : u, s, a);
|
|
1023
|
+
o ? s(x) : p = $t(x) ? x : Z;
|
|
1047
1024
|
}, g = i.map(
|
|
1048
|
-
(x, y) =>
|
|
1025
|
+
(x, y) => sn(
|
|
1049
1026
|
x,
|
|
1050
|
-
(
|
|
1051
|
-
u[y] =
|
|
1027
|
+
(v) => {
|
|
1028
|
+
u[y] = v, c &= ~(1 << y), l && h();
|
|
1052
1029
|
},
|
|
1053
1030
|
() => {
|
|
1054
1031
|
c |= 1 << y;
|
|
@@ -1056,118 +1033,157 @@ function Ne(e, t, r) {
|
|
|
1056
1033
|
)
|
|
1057
1034
|
);
|
|
1058
1035
|
return l = !0, h(), function() {
|
|
1059
|
-
|
|
1036
|
+
Xe(g), p(), l = !1;
|
|
1060
1037
|
};
|
|
1061
1038
|
});
|
|
1062
1039
|
}
|
|
1063
|
-
function
|
|
1064
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1040
|
+
function Wn(e) {
|
|
1041
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1065
1042
|
}
|
|
1066
|
-
var
|
|
1067
|
-
return
|
|
1043
|
+
var Xn = function(t) {
|
|
1044
|
+
return zn(t) && !Jn(t);
|
|
1068
1045
|
};
|
|
1069
|
-
function
|
|
1046
|
+
function zn(e) {
|
|
1070
1047
|
return !!e && typeof e == "object";
|
|
1071
1048
|
}
|
|
1072
|
-
function
|
|
1049
|
+
function Jn(e) {
|
|
1073
1050
|
var t = Object.prototype.toString.call(e);
|
|
1074
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1051
|
+
return t === "[object RegExp]" || t === "[object Date]" || Yn(e);
|
|
1075
1052
|
}
|
|
1076
|
-
var
|
|
1077
|
-
function
|
|
1078
|
-
return e.$$typeof ===
|
|
1053
|
+
var Zn = typeof Symbol == "function" && Symbol.for, Qn = Zn ? Symbol.for("react.element") : 60103;
|
|
1054
|
+
function Yn(e) {
|
|
1055
|
+
return e.$$typeof === Qn;
|
|
1079
1056
|
}
|
|
1080
|
-
function
|
|
1057
|
+
function qn(e) {
|
|
1081
1058
|
return Array.isArray(e) ? [] : {};
|
|
1082
1059
|
}
|
|
1083
|
-
function
|
|
1084
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1060
|
+
function Ve(e, t) {
|
|
1061
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Pe(qn(e), e, t) : e;
|
|
1085
1062
|
}
|
|
1086
|
-
function
|
|
1063
|
+
function Kn(e, t, r) {
|
|
1087
1064
|
return e.concat(t).map(function(n) {
|
|
1088
|
-
return
|
|
1065
|
+
return Ve(n, r);
|
|
1089
1066
|
});
|
|
1090
1067
|
}
|
|
1091
|
-
function
|
|
1068
|
+
function ei(e, t) {
|
|
1092
1069
|
if (!t.customMerge)
|
|
1093
|
-
return
|
|
1070
|
+
return Pe;
|
|
1094
1071
|
var r = t.customMerge(e);
|
|
1095
|
-
return typeof r == "function" ? r :
|
|
1072
|
+
return typeof r == "function" ? r : Pe;
|
|
1096
1073
|
}
|
|
1097
|
-
function
|
|
1074
|
+
function ti(e) {
|
|
1098
1075
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1099
1076
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1100
1077
|
}) : [];
|
|
1101
1078
|
}
|
|
1102
|
-
function
|
|
1103
|
-
return Object.keys(e).concat(
|
|
1079
|
+
function rr(e) {
|
|
1080
|
+
return Object.keys(e).concat(ti(e));
|
|
1104
1081
|
}
|
|
1105
|
-
function
|
|
1082
|
+
function Nr(e, t) {
|
|
1106
1083
|
try {
|
|
1107
1084
|
return t in e;
|
|
1108
1085
|
} catch {
|
|
1109
1086
|
return !1;
|
|
1110
1087
|
}
|
|
1111
1088
|
}
|
|
1112
|
-
function
|
|
1113
|
-
return
|
|
1089
|
+
function ri(e, t) {
|
|
1090
|
+
return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1114
1091
|
}
|
|
1115
|
-
function
|
|
1092
|
+
function ni(e, t, r) {
|
|
1116
1093
|
var n = {};
|
|
1117
|
-
return r.isMergeableObject(e) &&
|
|
1118
|
-
n[i] =
|
|
1119
|
-
}),
|
|
1120
|
-
|
|
1094
|
+
return r.isMergeableObject(e) && rr(e).forEach(function(i) {
|
|
1095
|
+
n[i] = Ve(e[i], r);
|
|
1096
|
+
}), rr(t).forEach(function(i) {
|
|
1097
|
+
ri(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Ve(t[i], r));
|
|
1121
1098
|
}), n;
|
|
1122
1099
|
}
|
|
1123
|
-
function
|
|
1124
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1125
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
1126
|
-
return
|
|
1100
|
+
function Pe(e, t, r) {
|
|
1101
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
1102
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1103
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Ve(t, r);
|
|
1127
1104
|
}
|
|
1128
|
-
|
|
1105
|
+
Pe.all = function(t, r) {
|
|
1129
1106
|
if (!Array.isArray(t))
|
|
1130
1107
|
throw new Error("first argument should be an array");
|
|
1131
1108
|
return t.reduce(function(n, i) {
|
|
1132
|
-
return
|
|
1109
|
+
return Pe(n, i, r);
|
|
1133
1110
|
}, {});
|
|
1134
1111
|
};
|
|
1135
|
-
var
|
|
1136
|
-
const
|
|
1137
|
-
function
|
|
1138
|
-
|
|
1112
|
+
var ii = Pe, oi = ii;
|
|
1113
|
+
const si = /* @__PURE__ */ Wn(oi);
|
|
1114
|
+
var It = function(e, t) {
|
|
1115
|
+
return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1116
|
+
r.__proto__ = n;
|
|
1117
|
+
} || function(r, n) {
|
|
1118
|
+
for (var i in n)
|
|
1119
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1120
|
+
}, It(e, t);
|
|
1121
|
+
};
|
|
1122
|
+
function ft(e, t) {
|
|
1123
|
+
if (typeof t != "function" && t !== null)
|
|
1124
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1125
|
+
It(e, t);
|
|
1126
|
+
function r() {
|
|
1127
|
+
this.constructor = e;
|
|
1128
|
+
}
|
|
1129
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1130
|
+
}
|
|
1131
|
+
var re = function() {
|
|
1132
|
+
return re = Object.assign || function(t) {
|
|
1133
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1134
|
+
r = arguments[n];
|
|
1135
|
+
for (var o in r)
|
|
1136
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1137
|
+
}
|
|
1138
|
+
return t;
|
|
1139
|
+
}, re.apply(this, arguments);
|
|
1140
|
+
};
|
|
1141
|
+
function ai(e, t) {
|
|
1142
|
+
var r = {};
|
|
1143
|
+
for (var n in e)
|
|
1144
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1145
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1146
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1147
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1148
|
+
return r;
|
|
1149
|
+
}
|
|
1150
|
+
function yt(e, t, r) {
|
|
1151
|
+
if (r || arguments.length === 2)
|
|
1152
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1153
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1154
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1155
|
+
}
|
|
1156
|
+
function vt(e, t) {
|
|
1157
|
+
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : ci;
|
|
1139
1158
|
return i(e, {
|
|
1140
1159
|
cache: r,
|
|
1141
1160
|
serializer: n
|
|
1142
1161
|
});
|
|
1143
1162
|
}
|
|
1144
|
-
function
|
|
1163
|
+
function ui(e) {
|
|
1145
1164
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1146
1165
|
}
|
|
1147
|
-
function
|
|
1148
|
-
var i =
|
|
1149
|
-
return typeof
|
|
1166
|
+
function li(e, t, r, n) {
|
|
1167
|
+
var i = ui(n) ? n : r(n), o = t.get(i);
|
|
1168
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1150
1169
|
}
|
|
1151
|
-
function
|
|
1152
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
1153
|
-
return typeof
|
|
1170
|
+
function Mr(e, t, r) {
|
|
1171
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1172
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1154
1173
|
}
|
|
1155
|
-
function
|
|
1174
|
+
function Rr(e, t, r, n, i) {
|
|
1156
1175
|
return r.bind(t, e, n, i);
|
|
1157
1176
|
}
|
|
1158
|
-
function
|
|
1159
|
-
var r = e.length === 1 ?
|
|
1160
|
-
return
|
|
1177
|
+
function ci(e, t) {
|
|
1178
|
+
var r = e.length === 1 ? li : Mr;
|
|
1179
|
+
return Rr(e, this, r, t.cache.create(), t.serializer);
|
|
1161
1180
|
}
|
|
1162
|
-
function
|
|
1163
|
-
return
|
|
1181
|
+
function hi(e, t) {
|
|
1182
|
+
return Rr(e, this, Mr, t.cache.create(), t.serializer);
|
|
1164
1183
|
}
|
|
1165
|
-
function
|
|
1166
|
-
return Dt(e, this, Or, t.cache.create(), t.serializer);
|
|
1167
|
-
}
|
|
1168
|
-
var ui = function() {
|
|
1184
|
+
var fi = function() {
|
|
1169
1185
|
return JSON.stringify(arguments);
|
|
1170
|
-
},
|
|
1186
|
+
}, pi = (
|
|
1171
1187
|
/** @class */
|
|
1172
1188
|
function() {
|
|
1173
1189
|
function e() {
|
|
@@ -1179,62 +1195,71 @@ var ui = function() {
|
|
|
1179
1195
|
this.cache[t] = r;
|
|
1180
1196
|
}, e;
|
|
1181
1197
|
}()
|
|
1182
|
-
),
|
|
1198
|
+
), di = {
|
|
1183
1199
|
create: function() {
|
|
1184
|
-
return new
|
|
1200
|
+
return new pi();
|
|
1185
1201
|
}
|
|
1186
|
-
},
|
|
1187
|
-
variadic:
|
|
1188
|
-
|
|
1189
|
-
|
|
1202
|
+
}, _t = {
|
|
1203
|
+
variadic: hi
|
|
1204
|
+
}, at = function() {
|
|
1205
|
+
return at = Object.assign || function(t) {
|
|
1206
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1207
|
+
r = arguments[n];
|
|
1208
|
+
for (var o in r)
|
|
1209
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1210
|
+
}
|
|
1211
|
+
return t;
|
|
1212
|
+
}, at.apply(this, arguments);
|
|
1213
|
+
};
|
|
1214
|
+
var S;
|
|
1190
1215
|
(function(e) {
|
|
1191
1216
|
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";
|
|
1192
1217
|
})(S || (S = {}));
|
|
1193
|
-
var
|
|
1218
|
+
var B;
|
|
1194
1219
|
(function(e) {
|
|
1195
1220
|
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";
|
|
1196
|
-
})(
|
|
1221
|
+
})(B || (B = {}));
|
|
1197
1222
|
var Oe;
|
|
1198
1223
|
(function(e) {
|
|
1199
1224
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1200
1225
|
})(Oe || (Oe = {}));
|
|
1201
|
-
function
|
|
1202
|
-
return e.type ===
|
|
1226
|
+
function nr(e) {
|
|
1227
|
+
return e.type === B.literal;
|
|
1203
1228
|
}
|
|
1204
|
-
function
|
|
1205
|
-
return e.type ===
|
|
1229
|
+
function mi(e) {
|
|
1230
|
+
return e.type === B.argument;
|
|
1206
1231
|
}
|
|
1207
|
-
function
|
|
1208
|
-
return e.type ===
|
|
1232
|
+
function Ur(e) {
|
|
1233
|
+
return e.type === B.number;
|
|
1209
1234
|
}
|
|
1210
|
-
function
|
|
1211
|
-
return e.type ===
|
|
1235
|
+
function Dr(e) {
|
|
1236
|
+
return e.type === B.date;
|
|
1212
1237
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return e.type ===
|
|
1238
|
+
function kr(e) {
|
|
1239
|
+
return e.type === B.time;
|
|
1215
1240
|
}
|
|
1216
|
-
function
|
|
1217
|
-
return e.type ===
|
|
1241
|
+
function jr(e) {
|
|
1242
|
+
return e.type === B.select;
|
|
1218
1243
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return e.type ===
|
|
1244
|
+
function Gr(e) {
|
|
1245
|
+
return e.type === B.plural;
|
|
1221
1246
|
}
|
|
1222
|
-
function
|
|
1223
|
-
return e.type ===
|
|
1247
|
+
function bi(e) {
|
|
1248
|
+
return e.type === B.pound;
|
|
1224
1249
|
}
|
|
1225
|
-
function
|
|
1226
|
-
return e.type ===
|
|
1250
|
+
function $r(e) {
|
|
1251
|
+
return e.type === B.tag;
|
|
1227
1252
|
}
|
|
1228
|
-
function
|
|
1253
|
+
function Fr(e) {
|
|
1229
1254
|
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1230
1255
|
}
|
|
1231
|
-
function
|
|
1256
|
+
function Nt(e) {
|
|
1232
1257
|
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1233
1258
|
}
|
|
1234
|
-
var
|
|
1235
|
-
function
|
|
1259
|
+
var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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;
|
|
1260
|
+
function yi(e) {
|
|
1236
1261
|
var t = {};
|
|
1237
|
-
return e.replace(
|
|
1262
|
+
return e.replace(gi, function(r) {
|
|
1238
1263
|
var n = r.length;
|
|
1239
1264
|
switch (r[0]) {
|
|
1240
1265
|
case "G":
|
|
@@ -1323,36 +1348,46 @@ function pi(e) {
|
|
|
1323
1348
|
return "";
|
|
1324
1349
|
}), t;
|
|
1325
1350
|
}
|
|
1326
|
-
var
|
|
1327
|
-
function
|
|
1351
|
+
var L = function() {
|
|
1352
|
+
return L = Object.assign || function(t) {
|
|
1353
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1354
|
+
r = arguments[n];
|
|
1355
|
+
for (var o in r)
|
|
1356
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1357
|
+
}
|
|
1358
|
+
return t;
|
|
1359
|
+
}, L.apply(this, arguments);
|
|
1360
|
+
};
|
|
1361
|
+
var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1362
|
+
function _i(e) {
|
|
1328
1363
|
if (e.length === 0)
|
|
1329
1364
|
throw new Error("Number skeleton cannot be empty");
|
|
1330
|
-
for (var t = e.split(
|
|
1365
|
+
for (var t = e.split(vi).filter(function(h) {
|
|
1331
1366
|
return h.length > 0;
|
|
1332
1367
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1333
|
-
var
|
|
1334
|
-
if (
|
|
1368
|
+
var o = i[n], s = o.split("/");
|
|
1369
|
+
if (s.length === 0)
|
|
1335
1370
|
throw new Error("Invalid number skeleton");
|
|
1336
|
-
for (var a =
|
|
1337
|
-
var
|
|
1338
|
-
if (
|
|
1371
|
+
for (var a = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
|
|
1372
|
+
var p = c[u];
|
|
1373
|
+
if (p.length === 0)
|
|
1339
1374
|
throw new Error("Invalid number skeleton");
|
|
1340
1375
|
}
|
|
1341
1376
|
r.push({ stem: a, options: l });
|
|
1342
1377
|
}
|
|
1343
1378
|
return r;
|
|
1344
1379
|
}
|
|
1345
|
-
function
|
|
1380
|
+
function Ei(e) {
|
|
1346
1381
|
return e.replace(/^(.*?)-/, "");
|
|
1347
1382
|
}
|
|
1348
|
-
var
|
|
1349
|
-
function
|
|
1383
|
+
var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
|
|
1384
|
+
function or(e) {
|
|
1350
1385
|
var t = {};
|
|
1351
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1386
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
|
|
1352
1387
|
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)), "";
|
|
1353
1388
|
}), t;
|
|
1354
1389
|
}
|
|
1355
|
-
function
|
|
1390
|
+
function zr(e) {
|
|
1356
1391
|
switch (e) {
|
|
1357
1392
|
case "sign-auto":
|
|
1358
1393
|
return {
|
|
@@ -1392,7 +1427,7 @@ function $r(e) {
|
|
|
1392
1427
|
};
|
|
1393
1428
|
}
|
|
1394
1429
|
}
|
|
1395
|
-
function
|
|
1430
|
+
function Si(e) {
|
|
1396
1431
|
var t;
|
|
1397
1432
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1398
1433
|
notation: "engineering"
|
|
@@ -1400,17 +1435,17 @@ function _i(e) {
|
|
|
1400
1435
|
notation: "scientific"
|
|
1401
1436
|
}, e = e.slice(1)), t) {
|
|
1402
1437
|
var r = e.slice(0, 2);
|
|
1403
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1438
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
|
|
1404
1439
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1405
1440
|
t.minimumIntegerDigits = e.length;
|
|
1406
1441
|
}
|
|
1407
1442
|
return t;
|
|
1408
1443
|
}
|
|
1409
|
-
function
|
|
1410
|
-
var t = {}, r =
|
|
1444
|
+
function sr(e) {
|
|
1445
|
+
var t = {}, r = zr(e);
|
|
1411
1446
|
return r || t;
|
|
1412
1447
|
}
|
|
1413
|
-
function
|
|
1448
|
+
function Ti(e) {
|
|
1414
1449
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1415
1450
|
var i = n[r];
|
|
1416
1451
|
switch (i.stem) {
|
|
@@ -1434,7 +1469,7 @@ function vi(e) {
|
|
|
1434
1469
|
continue;
|
|
1435
1470
|
case "measure-unit":
|
|
1436
1471
|
case "unit":
|
|
1437
|
-
t.style = "unit", t.unit =
|
|
1472
|
+
t.style = "unit", t.unit = Ei(i.options[0]);
|
|
1438
1473
|
continue;
|
|
1439
1474
|
case "compact-short":
|
|
1440
1475
|
case "K":
|
|
@@ -1445,13 +1480,13 @@ function vi(e) {
|
|
|
1445
1480
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1446
1481
|
continue;
|
|
1447
1482
|
case "scientific":
|
|
1448
|
-
t =
|
|
1449
|
-
return
|
|
1483
|
+
t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1484
|
+
return L(L({}, l), sr(u));
|
|
1450
1485
|
}, {}));
|
|
1451
1486
|
continue;
|
|
1452
1487
|
case "engineering":
|
|
1453
|
-
t =
|
|
1454
|
-
return
|
|
1488
|
+
t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1489
|
+
return L(L({}, l), sr(u));
|
|
1455
1490
|
}, {}));
|
|
1456
1491
|
continue;
|
|
1457
1492
|
case "notation-simple":
|
|
@@ -1496,11 +1531,11 @@ function vi(e) {
|
|
|
1496
1531
|
case "integer-width":
|
|
1497
1532
|
if (i.options.length > 1)
|
|
1498
1533
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1499
|
-
i.options[0].replace(
|
|
1534
|
+
i.options[0].replace(xi, function(l, u, c, p, h, g) {
|
|
1500
1535
|
if (u)
|
|
1501
1536
|
t.minimumIntegerDigits = c.length;
|
|
1502
1537
|
else {
|
|
1503
|
-
if (
|
|
1538
|
+
if (p && h)
|
|
1504
1539
|
throw new Error("We currently do not support maximum integer digits");
|
|
1505
1540
|
if (g)
|
|
1506
1541
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1509,28 +1544,28 @@ function vi(e) {
|
|
|
1509
1544
|
});
|
|
1510
1545
|
continue;
|
|
1511
1546
|
}
|
|
1512
|
-
if (
|
|
1547
|
+
if (Xr.test(i.stem)) {
|
|
1513
1548
|
t.minimumIntegerDigits = i.stem.length;
|
|
1514
1549
|
continue;
|
|
1515
1550
|
}
|
|
1516
|
-
if (
|
|
1551
|
+
if (ir.test(i.stem)) {
|
|
1517
1552
|
if (i.options.length > 1)
|
|
1518
1553
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1519
|
-
i.stem.replace(
|
|
1520
|
-
return c === "*" ? t.minimumFractionDigits = u.length :
|
|
1554
|
+
i.stem.replace(ir, function(l, u, c, p, h, g) {
|
|
1555
|
+
return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1521
1556
|
});
|
|
1522
|
-
var
|
|
1523
|
-
|
|
1557
|
+
var o = i.options[0];
|
|
1558
|
+
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), or(o)));
|
|
1524
1559
|
continue;
|
|
1525
1560
|
}
|
|
1526
|
-
if (
|
|
1527
|
-
t =
|
|
1561
|
+
if (Wr.test(i.stem)) {
|
|
1562
|
+
t = L(L({}, t), or(i.stem));
|
|
1528
1563
|
continue;
|
|
1529
1564
|
}
|
|
1530
|
-
var
|
|
1531
|
-
|
|
1532
|
-
var a =
|
|
1533
|
-
a && (t =
|
|
1565
|
+
var s = zr(i.stem);
|
|
1566
|
+
s && (t = L(L({}, t), s));
|
|
1567
|
+
var a = Si(i.stem);
|
|
1568
|
+
a && (t = L(L({}, t), a));
|
|
1534
1569
|
}
|
|
1535
1570
|
return t;
|
|
1536
1571
|
}
|
|
@@ -2949,23 +2984,23 @@ var rt = {
|
|
|
2949
2984
|
"h"
|
|
2950
2985
|
]
|
|
2951
2986
|
};
|
|
2952
|
-
function
|
|
2987
|
+
function wi(e, t) {
|
|
2953
2988
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2954
2989
|
var i = e.charAt(n);
|
|
2955
2990
|
if (i === "j") {
|
|
2956
|
-
for (var
|
|
2957
|
-
|
|
2958
|
-
var
|
|
2991
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2992
|
+
o++, n++;
|
|
2993
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
|
|
2959
2994
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2960
2995
|
r += l;
|
|
2961
|
-
for (;
|
|
2996
|
+
for (; s-- > 0; )
|
|
2962
2997
|
r = u + r;
|
|
2963
2998
|
} else
|
|
2964
2999
|
i === "J" ? r += "H" : r += i;
|
|
2965
3000
|
}
|
|
2966
3001
|
return r;
|
|
2967
3002
|
}
|
|
2968
|
-
function
|
|
3003
|
+
function Hi(e) {
|
|
2969
3004
|
var t = e.hourCycle;
|
|
2970
3005
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2971
3006
|
e.hourCycles && // @ts-ignore
|
|
@@ -2987,20 +3022,20 @@ function xi(e) {
|
|
|
2987
3022
|
var i = rt[n || ""] || rt[r || ""] || rt["".concat(r, "-001")] || rt["001"];
|
|
2988
3023
|
return i[0];
|
|
2989
3024
|
}
|
|
2990
|
-
var
|
|
3025
|
+
var Et, Ai = new RegExp("^".concat(Vr.source, "*")), Bi = new RegExp("".concat(Vr.source, "*$"));
|
|
2991
3026
|
function w(e, t) {
|
|
2992
3027
|
return { start: e, end: t };
|
|
2993
3028
|
}
|
|
2994
|
-
var
|
|
3029
|
+
var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ri = Mi ? Number.isSafeInteger : function(e) {
|
|
2995
3030
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2996
|
-
},
|
|
3031
|
+
}, Mt = !0;
|
|
2997
3032
|
try {
|
|
2998
|
-
var
|
|
2999
|
-
|
|
3033
|
+
var Ui = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3034
|
+
Mt = ((Et = Ui.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
3000
3035
|
} catch {
|
|
3001
|
-
|
|
3036
|
+
Mt = !1;
|
|
3002
3037
|
}
|
|
3003
|
-
var
|
|
3038
|
+
var ar = Pi ? (
|
|
3004
3039
|
// Native
|
|
3005
3040
|
function(t, r, n) {
|
|
3006
3041
|
return t.startsWith(r, n);
|
|
@@ -3010,31 +3045,31 @@ var nr = wi ? (
|
|
|
3010
3045
|
function(t, r, n) {
|
|
3011
3046
|
return t.slice(n, n + r.length) === r;
|
|
3012
3047
|
}
|
|
3013
|
-
),
|
|
3048
|
+
), Rt = Oi ? String.fromCodePoint : (
|
|
3014
3049
|
// IE11
|
|
3015
3050
|
function() {
|
|
3016
3051
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3017
3052
|
t[r] = arguments[r];
|
|
3018
|
-
for (var n = "", i = t.length,
|
|
3019
|
-
if (
|
|
3020
|
-
throw RangeError(
|
|
3021
|
-
n +=
|
|
3053
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
3054
|
+
if (s = t[o++], s > 1114111)
|
|
3055
|
+
throw RangeError(s + " is not a valid code point");
|
|
3056
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
3022
3057
|
}
|
|
3023
3058
|
return n;
|
|
3024
3059
|
}
|
|
3025
|
-
),
|
|
3060
|
+
), ur = (
|
|
3026
3061
|
// native
|
|
3027
|
-
|
|
3062
|
+
Li ? Object.fromEntries : (
|
|
3028
3063
|
// Ponyfill
|
|
3029
3064
|
function(t) {
|
|
3030
3065
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3031
|
-
var
|
|
3032
|
-
r[
|
|
3066
|
+
var o = i[n], s = o[0], a = o[1];
|
|
3067
|
+
r[s] = a;
|
|
3033
3068
|
}
|
|
3034
3069
|
return r;
|
|
3035
3070
|
}
|
|
3036
3071
|
)
|
|
3037
|
-
),
|
|
3072
|
+
), Jr = Ci ? (
|
|
3038
3073
|
// Native
|
|
3039
3074
|
function(t, r) {
|
|
3040
3075
|
return t.codePointAt(r);
|
|
@@ -3044,11 +3079,11 @@ var nr = wi ? (
|
|
|
3044
3079
|
function(t, r) {
|
|
3045
3080
|
var n = t.length;
|
|
3046
3081
|
if (!(r < 0 || r >= n)) {
|
|
3047
|
-
var i = t.charCodeAt(r),
|
|
3048
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
3082
|
+
var i = t.charCodeAt(r), o;
|
|
3083
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3049
3084
|
}
|
|
3050
3085
|
}
|
|
3051
|
-
),
|
|
3086
|
+
), Di = Ii ? (
|
|
3052
3087
|
// Native
|
|
3053
3088
|
function(t) {
|
|
3054
3089
|
return t.trimStart();
|
|
@@ -3056,9 +3091,9 @@ var nr = wi ? (
|
|
|
3056
3091
|
) : (
|
|
3057
3092
|
// Ponyfill
|
|
3058
3093
|
function(t) {
|
|
3059
|
-
return t.replace(
|
|
3094
|
+
return t.replace(Ai, "");
|
|
3060
3095
|
}
|
|
3061
|
-
),
|
|
3096
|
+
), ki = Ni ? (
|
|
3062
3097
|
// Native
|
|
3063
3098
|
function(t) {
|
|
3064
3099
|
return t.trimEnd();
|
|
@@ -3066,32 +3101,32 @@ var nr = wi ? (
|
|
|
3066
3101
|
) : (
|
|
3067
3102
|
// Ponyfill
|
|
3068
3103
|
function(t) {
|
|
3069
|
-
return t.replace(
|
|
3104
|
+
return t.replace(Bi, "");
|
|
3070
3105
|
}
|
|
3071
3106
|
);
|
|
3072
|
-
function
|
|
3107
|
+
function Zr(e, t) {
|
|
3073
3108
|
return new RegExp(e, t);
|
|
3074
3109
|
}
|
|
3075
|
-
var
|
|
3076
|
-
if (
|
|
3077
|
-
var
|
|
3078
|
-
|
|
3110
|
+
var Ut;
|
|
3111
|
+
if (Mt) {
|
|
3112
|
+
var lr = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3113
|
+
Ut = function(t, r) {
|
|
3079
3114
|
var n;
|
|
3080
|
-
|
|
3081
|
-
var i =
|
|
3115
|
+
lr.lastIndex = r;
|
|
3116
|
+
var i = lr.exec(t);
|
|
3082
3117
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3083
3118
|
};
|
|
3084
3119
|
} else
|
|
3085
|
-
|
|
3120
|
+
Ut = function(t, r) {
|
|
3086
3121
|
for (var n = []; ; ) {
|
|
3087
|
-
var i =
|
|
3088
|
-
if (i === void 0 ||
|
|
3122
|
+
var i = Jr(t, r);
|
|
3123
|
+
if (i === void 0 || Qr(i) || Fi(i))
|
|
3089
3124
|
break;
|
|
3090
3125
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3091
3126
|
}
|
|
3092
|
-
return
|
|
3127
|
+
return Rt.apply(void 0, n);
|
|
3093
3128
|
};
|
|
3094
|
-
var
|
|
3129
|
+
var ji = (
|
|
3095
3130
|
/** @class */
|
|
3096
3131
|
function() {
|
|
3097
3132
|
function e(t, r) {
|
|
@@ -3103,35 +3138,35 @@ var Ri = (
|
|
|
3103
3138
|
return this.parseMessage(0, "", !1);
|
|
3104
3139
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3105
3140
|
for (var i = []; !this.isEOF(); ) {
|
|
3106
|
-
var
|
|
3107
|
-
if (
|
|
3108
|
-
var
|
|
3109
|
-
if (
|
|
3110
|
-
return
|
|
3111
|
-
i.push(
|
|
3141
|
+
var o = this.char();
|
|
3142
|
+
if (o === 123) {
|
|
3143
|
+
var s = this.parseArgument(t, n);
|
|
3144
|
+
if (s.err)
|
|
3145
|
+
return s;
|
|
3146
|
+
i.push(s.val);
|
|
3112
3147
|
} else {
|
|
3113
|
-
if (
|
|
3148
|
+
if (o === 125 && t > 0)
|
|
3114
3149
|
break;
|
|
3115
|
-
if (
|
|
3150
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3116
3151
|
var a = this.clonePosition();
|
|
3117
3152
|
this.bump(), i.push({
|
|
3118
|
-
type:
|
|
3153
|
+
type: B.pound,
|
|
3119
3154
|
location: w(a, this.clonePosition())
|
|
3120
3155
|
});
|
|
3121
|
-
} else if (
|
|
3156
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3122
3157
|
if (n)
|
|
3123
3158
|
break;
|
|
3124
3159
|
return this.error(S.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3125
|
-
} else if (
|
|
3126
|
-
var
|
|
3127
|
-
if (
|
|
3128
|
-
return
|
|
3129
|
-
i.push(
|
|
3160
|
+
} else if (o === 60 && !this.ignoreTag && Dt(this.peek() || 0)) {
|
|
3161
|
+
var s = this.parseTag(t, r);
|
|
3162
|
+
if (s.err)
|
|
3163
|
+
return s;
|
|
3164
|
+
i.push(s.val);
|
|
3130
3165
|
} else {
|
|
3131
|
-
var
|
|
3132
|
-
if (
|
|
3133
|
-
return
|
|
3134
|
-
i.push(
|
|
3166
|
+
var s = this.parseLiteral(t, r);
|
|
3167
|
+
if (s.err)
|
|
3168
|
+
return s;
|
|
3169
|
+
i.push(s.val);
|
|
3135
3170
|
}
|
|
3136
3171
|
}
|
|
3137
3172
|
}
|
|
@@ -3143,26 +3178,26 @@ var Ri = (
|
|
|
3143
3178
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3144
3179
|
return {
|
|
3145
3180
|
val: {
|
|
3146
|
-
type:
|
|
3181
|
+
type: B.literal,
|
|
3147
3182
|
value: "<".concat(i, "/>"),
|
|
3148
3183
|
location: w(n, this.clonePosition())
|
|
3149
3184
|
},
|
|
3150
3185
|
err: null
|
|
3151
3186
|
};
|
|
3152
3187
|
if (this.bumpIf(">")) {
|
|
3153
|
-
var
|
|
3154
|
-
if (
|
|
3155
|
-
return
|
|
3156
|
-
var
|
|
3188
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3189
|
+
if (o.err)
|
|
3190
|
+
return o;
|
|
3191
|
+
var s = o.val, a = this.clonePosition();
|
|
3157
3192
|
if (this.bumpIf("</")) {
|
|
3158
|
-
if (this.isEOF() || !
|
|
3193
|
+
if (this.isEOF() || !Dt(this.char()))
|
|
3159
3194
|
return this.error(S.INVALID_TAG, w(a, this.clonePosition()));
|
|
3160
3195
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3161
3196
|
return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3162
3197
|
val: {
|
|
3163
|
-
type:
|
|
3198
|
+
type: B.tag,
|
|
3164
3199
|
value: i,
|
|
3165
|
-
children:
|
|
3200
|
+
children: s,
|
|
3166
3201
|
location: w(n, this.clonePosition())
|
|
3167
3202
|
},
|
|
3168
3203
|
err: null
|
|
@@ -3173,21 +3208,21 @@ var Ri = (
|
|
|
3173
3208
|
return this.error(S.INVALID_TAG, w(n, this.clonePosition()));
|
|
3174
3209
|
}, e.prototype.parseTagName = function() {
|
|
3175
3210
|
var t = this.offset();
|
|
3176
|
-
for (this.bump(); !this.isEOF() &&
|
|
3211
|
+
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
3177
3212
|
this.bump();
|
|
3178
3213
|
return this.message.slice(t, this.offset());
|
|
3179
3214
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3180
3215
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3181
|
-
var
|
|
3182
|
-
if (s) {
|
|
3183
|
-
i += s;
|
|
3184
|
-
continue;
|
|
3185
|
-
}
|
|
3186
|
-
var o = this.tryParseUnquoted(t, r);
|
|
3216
|
+
var o = this.tryParseQuote(r);
|
|
3187
3217
|
if (o) {
|
|
3188
3218
|
i += o;
|
|
3189
3219
|
continue;
|
|
3190
3220
|
}
|
|
3221
|
+
var s = this.tryParseUnquoted(t, r);
|
|
3222
|
+
if (s) {
|
|
3223
|
+
i += s;
|
|
3224
|
+
continue;
|
|
3225
|
+
}
|
|
3191
3226
|
var a = this.tryParseLeftAngleBracket();
|
|
3192
3227
|
if (a) {
|
|
3193
3228
|
i += a;
|
|
@@ -3197,12 +3232,12 @@ var Ri = (
|
|
|
3197
3232
|
}
|
|
3198
3233
|
var l = w(n, this.clonePosition());
|
|
3199
3234
|
return {
|
|
3200
|
-
val: { type:
|
|
3235
|
+
val: { type: B.literal, value: i, location: l },
|
|
3201
3236
|
err: null
|
|
3202
3237
|
};
|
|
3203
3238
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3204
3239
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3205
|
-
!
|
|
3240
|
+
!Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3206
3241
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3207
3242
|
if (this.isEOF() || this.char() !== 39)
|
|
3208
3243
|
return null;
|
|
@@ -3236,12 +3271,12 @@ var Ri = (
|
|
|
3236
3271
|
r.push(n);
|
|
3237
3272
|
this.bump();
|
|
3238
3273
|
}
|
|
3239
|
-
return
|
|
3274
|
+
return Rt.apply(void 0, r);
|
|
3240
3275
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3241
3276
|
if (this.isEOF())
|
|
3242
3277
|
return null;
|
|
3243
3278
|
var n = this.char();
|
|
3244
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3279
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
|
|
3245
3280
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3246
3281
|
var n = this.clonePosition();
|
|
3247
3282
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3257,7 +3292,7 @@ var Ri = (
|
|
|
3257
3292
|
case 125:
|
|
3258
3293
|
return this.bump(), {
|
|
3259
3294
|
val: {
|
|
3260
|
-
type:
|
|
3295
|
+
type: B.argument,
|
|
3261
3296
|
// value does not include the opening and closing braces.
|
|
3262
3297
|
value: i,
|
|
3263
3298
|
location: w(n, this.clonePosition())
|
|
@@ -3270,15 +3305,15 @@ var Ri = (
|
|
|
3270
3305
|
return this.error(S.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3271
3306
|
}
|
|
3272
3307
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3273
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3308
|
+
var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
|
|
3274
3309
|
this.bumpTo(i);
|
|
3275
|
-
var
|
|
3276
|
-
return { value: n, location:
|
|
3310
|
+
var o = this.clonePosition(), s = w(t, o);
|
|
3311
|
+
return { value: n, location: s };
|
|
3277
3312
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3278
|
-
var
|
|
3313
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3279
3314
|
switch (a) {
|
|
3280
3315
|
case "":
|
|
3281
|
-
return this.error(S.EXPECT_ARGUMENT_TYPE, w(
|
|
3316
|
+
return this.error(S.EXPECT_ARGUMENT_TYPE, w(s, l));
|
|
3282
3317
|
case "number":
|
|
3283
3318
|
case "date":
|
|
3284
3319
|
case "time": {
|
|
@@ -3286,10 +3321,10 @@ var Ri = (
|
|
|
3286
3321
|
var u = null;
|
|
3287
3322
|
if (this.bumpIf(",")) {
|
|
3288
3323
|
this.bumpSpace();
|
|
3289
|
-
var c = this.clonePosition(),
|
|
3290
|
-
if (
|
|
3291
|
-
return
|
|
3292
|
-
var h =
|
|
3324
|
+
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
3325
|
+
if (p.err)
|
|
3326
|
+
return p;
|
|
3327
|
+
var h = ki(p.val);
|
|
3293
3328
|
if (h.length === 0)
|
|
3294
3329
|
return this.error(S.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3295
3330
|
var g = w(c, this.clonePosition());
|
|
@@ -3299,25 +3334,25 @@ var Ri = (
|
|
|
3299
3334
|
if (x.err)
|
|
3300
3335
|
return x;
|
|
3301
3336
|
var y = w(i, this.clonePosition());
|
|
3302
|
-
if (u &&
|
|
3303
|
-
var
|
|
3337
|
+
if (u && ar(u?.style, "::", 0)) {
|
|
3338
|
+
var v = Di(u.style.slice(2));
|
|
3304
3339
|
if (a === "number") {
|
|
3305
|
-
var
|
|
3306
|
-
return
|
|
3307
|
-
val: { type:
|
|
3340
|
+
var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3341
|
+
return p.err ? p : {
|
|
3342
|
+
val: { type: B.number, value: n, location: y, style: p.val },
|
|
3308
3343
|
err: null
|
|
3309
3344
|
};
|
|
3310
3345
|
} else {
|
|
3311
|
-
if (
|
|
3346
|
+
if (v.length === 0)
|
|
3312
3347
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
3313
|
-
var m =
|
|
3314
|
-
this.locale && (m =
|
|
3348
|
+
var m = v;
|
|
3349
|
+
this.locale && (m = wi(v, this.locale));
|
|
3315
3350
|
var h = {
|
|
3316
3351
|
type: Oe.dateTime,
|
|
3317
3352
|
pattern: m,
|
|
3318
3353
|
location: u.styleLocation,
|
|
3319
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3320
|
-
}, T = a === "date" ?
|
|
3354
|
+
parsedOptions: this.shouldParseSkeletons ? yi(m) : {}
|
|
3355
|
+
}, T = a === "date" ? B.date : B.time;
|
|
3321
3356
|
return {
|
|
3322
3357
|
val: { type: T, value: n, location: y, style: h },
|
|
3323
3358
|
err: null
|
|
@@ -3326,10 +3361,10 @@ var Ri = (
|
|
|
3326
3361
|
}
|
|
3327
3362
|
return {
|
|
3328
3363
|
val: {
|
|
3329
|
-
type: a === "number" ?
|
|
3364
|
+
type: a === "number" ? B.number : a === "date" ? B.date : B.time,
|
|
3330
3365
|
value: n,
|
|
3331
3366
|
location: y,
|
|
3332
|
-
style: (
|
|
3367
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3333
3368
|
},
|
|
3334
3369
|
err: null
|
|
3335
3370
|
};
|
|
@@ -3337,40 +3372,40 @@ var Ri = (
|
|
|
3337
3372
|
case "plural":
|
|
3338
3373
|
case "selectordinal":
|
|
3339
3374
|
case "select": {
|
|
3340
|
-
var
|
|
3375
|
+
var A = this.clonePosition();
|
|
3341
3376
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3342
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(
|
|
3377
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, at({}, A)));
|
|
3343
3378
|
this.bumpSpace();
|
|
3344
3379
|
var M = this.parseIdentifierIfPossible(), k = 0;
|
|
3345
3380
|
if (a !== "select" && M.value === "offset") {
|
|
3346
3381
|
if (!this.bumpIf(":"))
|
|
3347
3382
|
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
3348
3383
|
this.bumpSpace();
|
|
3349
|
-
var
|
|
3350
|
-
if (
|
|
3351
|
-
return
|
|
3352
|
-
this.bumpSpace(), M = this.parseIdentifierIfPossible(), k =
|
|
3384
|
+
var p = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3385
|
+
if (p.err)
|
|
3386
|
+
return p;
|
|
3387
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = p.val;
|
|
3353
3388
|
}
|
|
3354
|
-
var
|
|
3355
|
-
if (
|
|
3356
|
-
return
|
|
3389
|
+
var F = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3390
|
+
if (F.err)
|
|
3391
|
+
return F;
|
|
3357
3392
|
var x = this.tryParseArgumentClose(i);
|
|
3358
3393
|
if (x.err)
|
|
3359
3394
|
return x;
|
|
3360
3395
|
var J = w(i, this.clonePosition());
|
|
3361
3396
|
return a === "select" ? {
|
|
3362
3397
|
val: {
|
|
3363
|
-
type:
|
|
3398
|
+
type: B.select,
|
|
3364
3399
|
value: n,
|
|
3365
|
-
options:
|
|
3400
|
+
options: ur(F.val),
|
|
3366
3401
|
location: J
|
|
3367
3402
|
},
|
|
3368
3403
|
err: null
|
|
3369
3404
|
} : {
|
|
3370
3405
|
val: {
|
|
3371
|
-
type:
|
|
3406
|
+
type: B.plural,
|
|
3372
3407
|
value: n,
|
|
3373
|
-
options:
|
|
3408
|
+
options: ur(F.val),
|
|
3374
3409
|
offset: k,
|
|
3375
3410
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3376
3411
|
location: J
|
|
@@ -3379,7 +3414,7 @@ var Ri = (
|
|
|
3379
3414
|
};
|
|
3380
3415
|
}
|
|
3381
3416
|
default:
|
|
3382
|
-
return this.error(S.INVALID_ARGUMENT_TYPE, w(
|
|
3417
|
+
return this.error(S.INVALID_ARGUMENT_TYPE, w(s, l));
|
|
3383
3418
|
}
|
|
3384
3419
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3385
3420
|
return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3421,7 +3456,7 @@ var Ri = (
|
|
|
3421
3456
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3422
3457
|
var n = [];
|
|
3423
3458
|
try {
|
|
3424
|
-
n =
|
|
3459
|
+
n = _i(t);
|
|
3425
3460
|
} catch {
|
|
3426
3461
|
return this.error(S.INVALID_NUMBER_SKELETON, r);
|
|
3427
3462
|
}
|
|
@@ -3430,25 +3465,25 @@ var Ri = (
|
|
|
3430
3465
|
type: Oe.number,
|
|
3431
3466
|
tokens: n,
|
|
3432
3467
|
location: r,
|
|
3433
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3468
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
3434
3469
|
},
|
|
3435
3470
|
err: null
|
|
3436
3471
|
};
|
|
3437
3472
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3438
|
-
for (var
|
|
3473
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
|
|
3439
3474
|
if (u.length === 0) {
|
|
3440
|
-
var
|
|
3475
|
+
var p = this.clonePosition();
|
|
3441
3476
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3442
3477
|
var h = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3443
3478
|
if (h.err)
|
|
3444
3479
|
return h;
|
|
3445
|
-
c = w(
|
|
3480
|
+
c = w(p, this.clonePosition()), u = this.message.slice(p.offset, this.offset());
|
|
3446
3481
|
} else
|
|
3447
3482
|
break;
|
|
3448
3483
|
}
|
|
3449
3484
|
if (l.has(u))
|
|
3450
3485
|
return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3451
|
-
u === "other" && (
|
|
3486
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3452
3487
|
var g = this.clonePosition();
|
|
3453
3488
|
if (!this.bumpIf("{"))
|
|
3454
3489
|
return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
@@ -3464,21 +3499,21 @@ var Ri = (
|
|
|
3464
3499
|
value: x.val,
|
|
3465
3500
|
location: w(g, this.clonePosition())
|
|
3466
3501
|
}
|
|
3467
|
-
]), l.add(u), this.bumpSpace(),
|
|
3502
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3468
3503
|
}
|
|
3469
|
-
return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3504
|
+
return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3470
3505
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3471
3506
|
var n = 1, i = this.clonePosition();
|
|
3472
3507
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3473
|
-
for (var
|
|
3508
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3474
3509
|
var a = this.char();
|
|
3475
3510
|
if (a >= 48 && a <= 57)
|
|
3476
|
-
|
|
3511
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
|
3477
3512
|
else
|
|
3478
3513
|
break;
|
|
3479
3514
|
}
|
|
3480
3515
|
var l = w(i, this.clonePosition());
|
|
3481
|
-
return
|
|
3516
|
+
return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3482
3517
|
}, e.prototype.offset = function() {
|
|
3483
3518
|
return this.position.offset;
|
|
3484
3519
|
}, e.prototype.isEOF = function() {
|
|
@@ -3493,7 +3528,7 @@ var Ri = (
|
|
|
3493
3528
|
var t = this.position.offset;
|
|
3494
3529
|
if (t >= this.message.length)
|
|
3495
3530
|
throw Error("out of bound");
|
|
3496
|
-
var r =
|
|
3531
|
+
var r = Jr(this.message, t);
|
|
3497
3532
|
if (r === void 0)
|
|
3498
3533
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3499
3534
|
return r;
|
|
@@ -3512,7 +3547,7 @@ var Ri = (
|
|
|
3512
3547
|
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);
|
|
3513
3548
|
}
|
|
3514
3549
|
}, e.prototype.bumpIf = function(t) {
|
|
3515
|
-
if (
|
|
3550
|
+
if (ar(this.message, t, this.offset())) {
|
|
3516
3551
|
for (var r = 0; r < t.length; r++)
|
|
3517
3552
|
this.bump();
|
|
3518
3553
|
return !0;
|
|
@@ -3534,7 +3569,7 @@ var Ri = (
|
|
|
3534
3569
|
break;
|
|
3535
3570
|
}
|
|
3536
3571
|
}, e.prototype.bumpSpace = function() {
|
|
3537
|
-
for (; !this.isEOF() &&
|
|
3572
|
+
for (; !this.isEOF() && Qr(this.char()); )
|
|
3538
3573
|
this.bump();
|
|
3539
3574
|
}, e.prototype.peek = function() {
|
|
3540
3575
|
if (this.isEOF())
|
|
@@ -3544,204 +3579,204 @@ var Ri = (
|
|
|
3544
3579
|
}, e;
|
|
3545
3580
|
}()
|
|
3546
3581
|
);
|
|
3547
|
-
function
|
|
3582
|
+
function Dt(e) {
|
|
3548
3583
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3549
3584
|
}
|
|
3550
|
-
function
|
|
3551
|
-
return
|
|
3585
|
+
function Gi(e) {
|
|
3586
|
+
return Dt(e) || e === 47;
|
|
3552
3587
|
}
|
|
3553
|
-
function
|
|
3588
|
+
function $i(e) {
|
|
3554
3589
|
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;
|
|
3555
3590
|
}
|
|
3556
|
-
function
|
|
3591
|
+
function Qr(e) {
|
|
3557
3592
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3558
3593
|
}
|
|
3559
|
-
function
|
|
3594
|
+
function Fi(e) {
|
|
3560
3595
|
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;
|
|
3561
3596
|
}
|
|
3562
|
-
function
|
|
3597
|
+
function kt(e) {
|
|
3563
3598
|
e.forEach(function(t) {
|
|
3564
|
-
if (delete t.location,
|
|
3599
|
+
if (delete t.location, jr(t) || Gr(t))
|
|
3565
3600
|
for (var r in t.options)
|
|
3566
|
-
delete t.options[r].location,
|
|
3601
|
+
delete t.options[r].location, kt(t.options[r].value);
|
|
3567
3602
|
else
|
|
3568
|
-
|
|
3603
|
+
Ur(t) && Fr(t.style) || (Dr(t) || kr(t)) && Nt(t.style) ? delete t.style.location : $r(t) && kt(t.children);
|
|
3569
3604
|
});
|
|
3570
3605
|
}
|
|
3571
|
-
function
|
|
3572
|
-
t === void 0 && (t = {}), t =
|
|
3573
|
-
var r = new
|
|
3606
|
+
function Vi(e, t) {
|
|
3607
|
+
t === void 0 && (t = {}), t = at({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3608
|
+
var r = new ji(e, t).parse();
|
|
3574
3609
|
if (r.err) {
|
|
3575
3610
|
var n = SyntaxError(S[r.err.kind]);
|
|
3576
3611
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3577
3612
|
}
|
|
3578
|
-
return t?.captureLocation ||
|
|
3613
|
+
return t?.captureLocation || kt(r.val), r.val;
|
|
3579
3614
|
}
|
|
3580
|
-
var
|
|
3615
|
+
var Le;
|
|
3581
3616
|
(function(e) {
|
|
3582
3617
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3583
|
-
})(
|
|
3584
|
-
var
|
|
3618
|
+
})(Le || (Le = {}));
|
|
3619
|
+
var pt = (
|
|
3585
3620
|
/** @class */
|
|
3586
3621
|
function(e) {
|
|
3587
|
-
|
|
3622
|
+
ft(t, e);
|
|
3588
3623
|
function t(r, n, i) {
|
|
3589
|
-
var
|
|
3590
|
-
return
|
|
3624
|
+
var o = e.call(this, r) || this;
|
|
3625
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3591
3626
|
}
|
|
3592
3627
|
return t.prototype.toString = function() {
|
|
3593
3628
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3594
3629
|
}, t;
|
|
3595
3630
|
}(Error)
|
|
3596
|
-
),
|
|
3631
|
+
), cr = (
|
|
3597
3632
|
/** @class */
|
|
3598
3633
|
function(e) {
|
|
3599
|
-
|
|
3600
|
-
function t(r, n, i,
|
|
3601
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3634
|
+
ft(t, e);
|
|
3635
|
+
function t(r, n, i, o) {
|
|
3636
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
|
|
3602
3637
|
}
|
|
3603
3638
|
return t;
|
|
3604
|
-
}(
|
|
3605
|
-
),
|
|
3639
|
+
}(pt)
|
|
3640
|
+
), Wi = (
|
|
3606
3641
|
/** @class */
|
|
3607
3642
|
function(e) {
|
|
3608
|
-
|
|
3643
|
+
ft(t, e);
|
|
3609
3644
|
function t(r, n, i) {
|
|
3610
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3645
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
|
|
3611
3646
|
}
|
|
3612
3647
|
return t;
|
|
3613
|
-
}(
|
|
3614
|
-
),
|
|
3648
|
+
}(pt)
|
|
3649
|
+
), Xi = (
|
|
3615
3650
|
/** @class */
|
|
3616
3651
|
function(e) {
|
|
3617
|
-
|
|
3652
|
+
ft(t, e);
|
|
3618
3653
|
function t(r, n) {
|
|
3619
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3654
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
|
|
3620
3655
|
}
|
|
3621
3656
|
return t;
|
|
3622
|
-
}(
|
|
3623
|
-
),
|
|
3657
|
+
}(pt)
|
|
3658
|
+
), j;
|
|
3624
3659
|
(function(e) {
|
|
3625
3660
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3626
|
-
})(
|
|
3627
|
-
function
|
|
3661
|
+
})(j || (j = {}));
|
|
3662
|
+
function zi(e) {
|
|
3628
3663
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3629
3664
|
var n = t[t.length - 1];
|
|
3630
|
-
return !n || n.type !==
|
|
3665
|
+
return !n || n.type !== j.literal || r.type !== j.literal ? t.push(r) : n.value += r.value, t;
|
|
3631
3666
|
}, []);
|
|
3632
3667
|
}
|
|
3633
|
-
function
|
|
3668
|
+
function Ji(e) {
|
|
3634
3669
|
return typeof e == "function";
|
|
3635
3670
|
}
|
|
3636
|
-
function
|
|
3637
|
-
if (e.length === 1 &&
|
|
3671
|
+
function ot(e, t, r, n, i, o, s) {
|
|
3672
|
+
if (e.length === 1 && nr(e[0]))
|
|
3638
3673
|
return [
|
|
3639
3674
|
{
|
|
3640
|
-
type:
|
|
3675
|
+
type: j.literal,
|
|
3641
3676
|
value: e[0].value
|
|
3642
3677
|
}
|
|
3643
3678
|
];
|
|
3644
3679
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3645
3680
|
var c = u[l];
|
|
3646
|
-
if (
|
|
3681
|
+
if (nr(c)) {
|
|
3647
3682
|
a.push({
|
|
3648
|
-
type:
|
|
3683
|
+
type: j.literal,
|
|
3649
3684
|
value: c.value
|
|
3650
3685
|
});
|
|
3651
3686
|
continue;
|
|
3652
3687
|
}
|
|
3653
|
-
if (
|
|
3654
|
-
typeof
|
|
3655
|
-
type:
|
|
3656
|
-
value: r.getNumberFormat(t).format(
|
|
3688
|
+
if (bi(c)) {
|
|
3689
|
+
typeof o == "number" && a.push({
|
|
3690
|
+
type: j.literal,
|
|
3691
|
+
value: r.getNumberFormat(t).format(o)
|
|
3657
3692
|
});
|
|
3658
3693
|
continue;
|
|
3659
3694
|
}
|
|
3660
|
-
var
|
|
3661
|
-
if (!(i &&
|
|
3662
|
-
throw new
|
|
3663
|
-
var h = i[
|
|
3664
|
-
if (
|
|
3695
|
+
var p = c.value;
|
|
3696
|
+
if (!(i && p in i))
|
|
3697
|
+
throw new Xi(p, s);
|
|
3698
|
+
var h = i[p];
|
|
3699
|
+
if (mi(c)) {
|
|
3665
3700
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3666
|
-
type: typeof h == "string" ?
|
|
3701
|
+
type: typeof h == "string" ? j.literal : j.object,
|
|
3667
3702
|
value: h
|
|
3668
3703
|
});
|
|
3669
3704
|
continue;
|
|
3670
3705
|
}
|
|
3671
|
-
if (
|
|
3672
|
-
var g = typeof c.style == "string" ? n.date[c.style] :
|
|
3706
|
+
if (Dr(c)) {
|
|
3707
|
+
var g = typeof c.style == "string" ? n.date[c.style] : Nt(c.style) ? c.style.parsedOptions : void 0;
|
|
3673
3708
|
a.push({
|
|
3674
|
-
type:
|
|
3709
|
+
type: j.literal,
|
|
3675
3710
|
value: r.getDateTimeFormat(t, g).format(h)
|
|
3676
3711
|
});
|
|
3677
3712
|
continue;
|
|
3678
3713
|
}
|
|
3679
|
-
if (
|
|
3680
|
-
var g = typeof c.style == "string" ? n.time[c.style] :
|
|
3714
|
+
if (kr(c)) {
|
|
3715
|
+
var g = typeof c.style == "string" ? n.time[c.style] : Nt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3681
3716
|
a.push({
|
|
3682
|
-
type:
|
|
3717
|
+
type: j.literal,
|
|
3683
3718
|
value: r.getDateTimeFormat(t, g).format(h)
|
|
3684
3719
|
});
|
|
3685
3720
|
continue;
|
|
3686
3721
|
}
|
|
3687
|
-
if (
|
|
3688
|
-
var g = typeof c.style == "string" ? n.number[c.style] :
|
|
3722
|
+
if (Ur(c)) {
|
|
3723
|
+
var g = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
|
|
3689
3724
|
g && g.scale && (h = h * (g.scale || 1)), a.push({
|
|
3690
|
-
type:
|
|
3725
|
+
type: j.literal,
|
|
3691
3726
|
value: r.getNumberFormat(t, g).format(h)
|
|
3692
3727
|
});
|
|
3693
3728
|
continue;
|
|
3694
3729
|
}
|
|
3695
|
-
if (
|
|
3696
|
-
var x = c.children, y = c.value,
|
|
3697
|
-
if (!
|
|
3698
|
-
throw new
|
|
3699
|
-
var m =
|
|
3730
|
+
if ($r(c)) {
|
|
3731
|
+
var x = c.children, y = c.value, v = i[y];
|
|
3732
|
+
if (!Ji(v))
|
|
3733
|
+
throw new Wi(y, "function", s);
|
|
3734
|
+
var m = ot(x, t, r, n, i, o), T = v(m.map(function(k) {
|
|
3700
3735
|
return k.value;
|
|
3701
3736
|
}));
|
|
3702
3737
|
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(k) {
|
|
3703
3738
|
return {
|
|
3704
|
-
type: typeof k == "string" ?
|
|
3739
|
+
type: typeof k == "string" ? j.literal : j.object,
|
|
3705
3740
|
value: k
|
|
3706
3741
|
};
|
|
3707
3742
|
}));
|
|
3708
3743
|
}
|
|
3709
|
-
if (
|
|
3710
|
-
var
|
|
3711
|
-
if (!
|
|
3712
|
-
throw new
|
|
3713
|
-
a.push.apply(a,
|
|
3744
|
+
if (jr(c)) {
|
|
3745
|
+
var A = c.options[h] || c.options.other;
|
|
3746
|
+
if (!A)
|
|
3747
|
+
throw new cr(c.value, h, Object.keys(c.options), s);
|
|
3748
|
+
a.push.apply(a, ot(A.value, t, r, n, i));
|
|
3714
3749
|
continue;
|
|
3715
3750
|
}
|
|
3716
|
-
if (
|
|
3717
|
-
var
|
|
3718
|
-
if (!
|
|
3751
|
+
if (Gr(c)) {
|
|
3752
|
+
var A = c.options["=".concat(h)];
|
|
3753
|
+
if (!A) {
|
|
3719
3754
|
if (!Intl.PluralRules)
|
|
3720
|
-
throw new
|
|
3755
|
+
throw new pt(`Intl.PluralRules is not available in this environment.
|
|
3721
3756
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3722
|
-
`,
|
|
3757
|
+
`, Le.MISSING_INTL_API, s);
|
|
3723
3758
|
var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3724
|
-
|
|
3759
|
+
A = c.options[M] || c.options.other;
|
|
3725
3760
|
}
|
|
3726
|
-
if (!
|
|
3727
|
-
throw new
|
|
3728
|
-
a.push.apply(a,
|
|
3761
|
+
if (!A)
|
|
3762
|
+
throw new cr(c.value, h, Object.keys(c.options), s);
|
|
3763
|
+
a.push.apply(a, ot(A.value, t, r, n, i, h - (c.offset || 0)));
|
|
3729
3764
|
continue;
|
|
3730
3765
|
}
|
|
3731
3766
|
}
|
|
3732
|
-
return
|
|
3767
|
+
return zi(a);
|
|
3733
3768
|
}
|
|
3734
|
-
function
|
|
3735
|
-
return t ?
|
|
3736
|
-
return r[n] =
|
|
3769
|
+
function Zi(e, t) {
|
|
3770
|
+
return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3771
|
+
return r[n] = re(re({}, e[n]), t[n] || {}), r;
|
|
3737
3772
|
}, {})) : e;
|
|
3738
3773
|
}
|
|
3739
|
-
function
|
|
3774
|
+
function Qi(e, t) {
|
|
3740
3775
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3741
|
-
return r[n] =
|
|
3742
|
-
},
|
|
3776
|
+
return r[n] = Zi(e[n], t[n]), r;
|
|
3777
|
+
}, re({}, e)) : e;
|
|
3743
3778
|
}
|
|
3744
|
-
function
|
|
3779
|
+
function xt(e) {
|
|
3745
3780
|
return {
|
|
3746
3781
|
create: function() {
|
|
3747
3782
|
return {
|
|
@@ -3755,77 +3790,77 @@ function _t(e) {
|
|
|
3755
3790
|
}
|
|
3756
3791
|
};
|
|
3757
3792
|
}
|
|
3758
|
-
function
|
|
3793
|
+
function Yi(e) {
|
|
3759
3794
|
return e === void 0 && (e = {
|
|
3760
3795
|
number: {},
|
|
3761
3796
|
dateTime: {},
|
|
3762
3797
|
pluralRules: {}
|
|
3763
3798
|
}), {
|
|
3764
|
-
getNumberFormat:
|
|
3799
|
+
getNumberFormat: vt(function() {
|
|
3765
3800
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3766
3801
|
r[n] = arguments[n];
|
|
3767
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3802
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, yt([void 0], r, !1)))();
|
|
3768
3803
|
}, {
|
|
3769
|
-
cache:
|
|
3770
|
-
strategy:
|
|
3804
|
+
cache: xt(e.number),
|
|
3805
|
+
strategy: _t.variadic
|
|
3771
3806
|
}),
|
|
3772
|
-
getDateTimeFormat:
|
|
3807
|
+
getDateTimeFormat: vt(function() {
|
|
3773
3808
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3774
3809
|
r[n] = arguments[n];
|
|
3775
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3810
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, yt([void 0], r, !1)))();
|
|
3776
3811
|
}, {
|
|
3777
|
-
cache:
|
|
3778
|
-
strategy:
|
|
3812
|
+
cache: xt(e.dateTime),
|
|
3813
|
+
strategy: _t.variadic
|
|
3779
3814
|
}),
|
|
3780
|
-
getPluralRules:
|
|
3815
|
+
getPluralRules: vt(function() {
|
|
3781
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3782
3817
|
r[n] = arguments[n];
|
|
3783
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.PluralRules).bind.apply(t, yt([void 0], r, !1)))();
|
|
3784
3819
|
}, {
|
|
3785
|
-
cache:
|
|
3786
|
-
strategy:
|
|
3820
|
+
cache: xt(e.pluralRules),
|
|
3821
|
+
strategy: _t.variadic
|
|
3787
3822
|
})
|
|
3788
3823
|
};
|
|
3789
3824
|
}
|
|
3790
|
-
var
|
|
3825
|
+
var qi = (
|
|
3791
3826
|
/** @class */
|
|
3792
3827
|
function() {
|
|
3793
3828
|
function e(t, r, n, i) {
|
|
3794
3829
|
r === void 0 && (r = e.defaultLocale);
|
|
3795
|
-
var
|
|
3830
|
+
var o = this;
|
|
3796
3831
|
if (this.formatterCache = {
|
|
3797
3832
|
number: {},
|
|
3798
3833
|
dateTime: {},
|
|
3799
3834
|
pluralRules: {}
|
|
3800
3835
|
}, this.format = function(l) {
|
|
3801
|
-
var u =
|
|
3836
|
+
var u = o.formatToParts(l);
|
|
3802
3837
|
if (u.length === 1)
|
|
3803
3838
|
return u[0].value;
|
|
3804
|
-
var c = u.reduce(function(
|
|
3805
|
-
return !
|
|
3839
|
+
var c = u.reduce(function(p, h) {
|
|
3840
|
+
return !p.length || h.type !== j.literal || typeof p[p.length - 1] != "string" ? p.push(h.value) : p[p.length - 1] += h.value, p;
|
|
3806
3841
|
}, []);
|
|
3807
3842
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3808
3843
|
}, this.formatToParts = function(l) {
|
|
3809
|
-
return
|
|
3844
|
+
return ot(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3810
3845
|
}, this.resolvedOptions = function() {
|
|
3811
3846
|
var l;
|
|
3812
3847
|
return {
|
|
3813
|
-
locale: ((l =
|
|
3848
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3814
3849
|
};
|
|
3815
3850
|
}, this.getAst = function() {
|
|
3816
|
-
return
|
|
3851
|
+
return o.ast;
|
|
3817
3852
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3818
3853
|
if (this.message = t, !e.__parse)
|
|
3819
3854
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3820
|
-
var
|
|
3821
|
-
|
|
3822
|
-
var a =
|
|
3823
|
-
this.ast = e.__parse(t,
|
|
3855
|
+
var s = i || {};
|
|
3856
|
+
s.formatters;
|
|
3857
|
+
var a = ai(s, ["formatters"]);
|
|
3858
|
+
this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
|
|
3824
3859
|
} else
|
|
3825
3860
|
this.ast = t;
|
|
3826
3861
|
if (!Array.isArray(this.ast))
|
|
3827
3862
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3828
|
-
this.formats =
|
|
3863
|
+
this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Yi(this.formatterCache);
|
|
3829
3864
|
}
|
|
3830
3865
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3831
3866
|
get: function() {
|
|
@@ -3838,7 +3873,7 @@ var Ji = (
|
|
|
3838
3873
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3839
3874
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3840
3875
|
}
|
|
3841
|
-
}, e.__parse =
|
|
3876
|
+
}, e.__parse = Vi, e.formats = {
|
|
3842
3877
|
number: {
|
|
3843
3878
|
integer: {
|
|
3844
3879
|
maximumFractionDigits: 0
|
|
@@ -3899,7 +3934,7 @@ var Ji = (
|
|
|
3899
3934
|
}, e;
|
|
3900
3935
|
}()
|
|
3901
3936
|
);
|
|
3902
|
-
function
|
|
3937
|
+
function Ki(e, t) {
|
|
3903
3938
|
if (t == null)
|
|
3904
3939
|
return;
|
|
3905
3940
|
if (t in e)
|
|
@@ -3909,9 +3944,9 @@ function Zi(e, t) {
|
|
|
3909
3944
|
for (let i = 0; i < r.length; i++)
|
|
3910
3945
|
if (typeof n == "object") {
|
|
3911
3946
|
if (i > 0) {
|
|
3912
|
-
const
|
|
3913
|
-
if (
|
|
3914
|
-
n = n[
|
|
3947
|
+
const o = r.slice(i, r.length).join(".");
|
|
3948
|
+
if (o in n) {
|
|
3949
|
+
n = n[o];
|
|
3915
3950
|
break;
|
|
3916
3951
|
}
|
|
3917
3952
|
}
|
|
@@ -3920,92 +3955,92 @@ function Zi(e, t) {
|
|
|
3920
3955
|
n = void 0;
|
|
3921
3956
|
return n;
|
|
3922
3957
|
}
|
|
3923
|
-
const
|
|
3958
|
+
const de = {}, eo = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Yr = (e, t) => {
|
|
3924
3959
|
if (t == null)
|
|
3925
3960
|
return;
|
|
3926
|
-
if (t in
|
|
3927
|
-
return
|
|
3928
|
-
const r =
|
|
3961
|
+
if (t in de && e in de[t])
|
|
3962
|
+
return de[t][e];
|
|
3963
|
+
const r = dt(t);
|
|
3929
3964
|
for (let n = 0; n < r.length; n++) {
|
|
3930
|
-
const i = r[n],
|
|
3931
|
-
if (
|
|
3932
|
-
return
|
|
3965
|
+
const i = r[n], o = ro(i, e);
|
|
3966
|
+
if (o)
|
|
3967
|
+
return eo(e, t, o);
|
|
3933
3968
|
}
|
|
3934
3969
|
};
|
|
3935
|
-
let
|
|
3936
|
-
const Je =
|
|
3937
|
-
function
|
|
3938
|
-
return
|
|
3970
|
+
let Ft;
|
|
3971
|
+
const Je = ht({});
|
|
3972
|
+
function to(e) {
|
|
3973
|
+
return Ft[e] || null;
|
|
3939
3974
|
}
|
|
3940
|
-
function
|
|
3941
|
-
return e in
|
|
3975
|
+
function qr(e) {
|
|
3976
|
+
return e in Ft;
|
|
3942
3977
|
}
|
|
3943
|
-
function
|
|
3944
|
-
if (!
|
|
3978
|
+
function ro(e, t) {
|
|
3979
|
+
if (!qr(e))
|
|
3945
3980
|
return null;
|
|
3946
|
-
const r =
|
|
3947
|
-
return
|
|
3981
|
+
const r = to(e);
|
|
3982
|
+
return Ki(r, t);
|
|
3948
3983
|
}
|
|
3949
|
-
function
|
|
3984
|
+
function no(e) {
|
|
3950
3985
|
if (e == null)
|
|
3951
3986
|
return;
|
|
3952
|
-
const t =
|
|
3987
|
+
const t = dt(e);
|
|
3953
3988
|
for (let r = 0; r < t.length; r++) {
|
|
3954
3989
|
const n = t[r];
|
|
3955
|
-
if (
|
|
3990
|
+
if (qr(n))
|
|
3956
3991
|
return n;
|
|
3957
3992
|
}
|
|
3958
3993
|
}
|
|
3959
|
-
function
|
|
3960
|
-
delete
|
|
3994
|
+
function Kr(e, ...t) {
|
|
3995
|
+
delete de[e], Je.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3961
3996
|
}
|
|
3962
|
-
|
|
3997
|
+
Ie(
|
|
3963
3998
|
[Je],
|
|
3964
3999
|
([e]) => Object.keys(e)
|
|
3965
4000
|
);
|
|
3966
|
-
Je.subscribe((e) =>
|
|
3967
|
-
const
|
|
3968
|
-
function
|
|
3969
|
-
|
|
4001
|
+
Je.subscribe((e) => Ft = e);
|
|
4002
|
+
const st = {};
|
|
4003
|
+
function io(e, t) {
|
|
4004
|
+
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
3970
4005
|
}
|
|
3971
|
-
function
|
|
3972
|
-
return
|
|
4006
|
+
function en(e) {
|
|
4007
|
+
return st[e];
|
|
3973
4008
|
}
|
|
3974
|
-
function
|
|
3975
|
-
return
|
|
3976
|
-
const r =
|
|
4009
|
+
function oo(e) {
|
|
4010
|
+
return dt(e).map((t) => {
|
|
4011
|
+
const r = en(t);
|
|
3977
4012
|
return [t, r ? [...r] : []];
|
|
3978
4013
|
}).filter(([, t]) => t.length > 0);
|
|
3979
4014
|
}
|
|
3980
|
-
function
|
|
3981
|
-
return e == null ? !1 :
|
|
4015
|
+
function jt(e) {
|
|
4016
|
+
return e == null ? !1 : dt(e).some(
|
|
3982
4017
|
(t) => {
|
|
3983
4018
|
var r;
|
|
3984
|
-
return (r =
|
|
4019
|
+
return (r = en(t)) == null ? void 0 : r.size;
|
|
3985
4020
|
}
|
|
3986
4021
|
);
|
|
3987
4022
|
}
|
|
3988
|
-
function
|
|
4023
|
+
function so(e, t) {
|
|
3989
4024
|
return Promise.all(
|
|
3990
|
-
t.map((n) => (
|
|
3991
|
-
).then((n) =>
|
|
3992
|
-
}
|
|
3993
|
-
const
|
|
3994
|
-
function
|
|
3995
|
-
if (!
|
|
3996
|
-
return e in
|
|
3997
|
-
const t =
|
|
3998
|
-
return
|
|
4025
|
+
t.map((n) => (io(e, n), n().then((i) => i.default || i)))
|
|
4026
|
+
).then((n) => Kr(e, ...n));
|
|
4027
|
+
}
|
|
4028
|
+
const Ge = {};
|
|
4029
|
+
function tn(e) {
|
|
4030
|
+
if (!jt(e))
|
|
4031
|
+
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4032
|
+
const t = oo(e);
|
|
4033
|
+
return Ge[e] = Promise.all(
|
|
3999
4034
|
t.map(
|
|
4000
|
-
([r, n]) =>
|
|
4035
|
+
([r, n]) => so(r, n)
|
|
4001
4036
|
)
|
|
4002
4037
|
).then(() => {
|
|
4003
|
-
if (
|
|
4004
|
-
return
|
|
4005
|
-
delete
|
|
4006
|
-
}),
|
|
4038
|
+
if (jt(e))
|
|
4039
|
+
return tn(e);
|
|
4040
|
+
delete Ge[e];
|
|
4041
|
+
}), Ge[e];
|
|
4007
4042
|
}
|
|
4008
|
-
const
|
|
4043
|
+
const ao = {
|
|
4009
4044
|
number: {
|
|
4010
4045
|
scientific: { notation: "scientific" },
|
|
4011
4046
|
engineering: { notation: "engineering" },
|
|
@@ -4034,181 +4069,181 @@ const ns = {
|
|
|
4034
4069
|
timeZoneName: "short"
|
|
4035
4070
|
}
|
|
4036
4071
|
}
|
|
4037
|
-
},
|
|
4072
|
+
}, uo = {
|
|
4038
4073
|
fallbackLocale: null,
|
|
4039
4074
|
loadingDelay: 200,
|
|
4040
|
-
formats:
|
|
4075
|
+
formats: ao,
|
|
4041
4076
|
warnOnMissingMessages: !0,
|
|
4042
4077
|
handleMissingMessage: void 0,
|
|
4043
4078
|
ignoreTag: !0
|
|
4044
|
-
},
|
|
4045
|
-
function
|
|
4046
|
-
return
|
|
4047
|
-
}
|
|
4048
|
-
const
|
|
4049
|
-
var
|
|
4050
|
-
for (var r in t)
|
|
4051
|
-
|
|
4052
|
-
if (
|
|
4053
|
-
for (var r of
|
|
4054
|
-
|
|
4079
|
+
}, lo = uo;
|
|
4080
|
+
function Ce() {
|
|
4081
|
+
return lo;
|
|
4082
|
+
}
|
|
4083
|
+
const St = ht(!1);
|
|
4084
|
+
var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
|
|
4085
|
+
for (var r in t || (t = {}))
|
|
4086
|
+
po.call(t, r) && fr(e, r, t[r]);
|
|
4087
|
+
if (hr)
|
|
4088
|
+
for (var r of hr(t))
|
|
4089
|
+
mo.call(t, r) && fr(e, r, t[r]);
|
|
4055
4090
|
return e;
|
|
4056
|
-
},
|
|
4057
|
-
let
|
|
4058
|
-
const
|
|
4059
|
-
function
|
|
4091
|
+
}, go = (e, t) => ho(e, fo(t));
|
|
4092
|
+
let Gt;
|
|
4093
|
+
const ut = ht(null);
|
|
4094
|
+
function pr(e) {
|
|
4060
4095
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4061
4096
|
}
|
|
4062
|
-
function
|
|
4063
|
-
const r =
|
|
4064
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4097
|
+
function dt(e, t = Ce().fallbackLocale) {
|
|
4098
|
+
const r = pr(e);
|
|
4099
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
|
|
4065
4100
|
}
|
|
4066
4101
|
function ge() {
|
|
4067
|
-
return
|
|
4102
|
+
return Gt ?? void 0;
|
|
4068
4103
|
}
|
|
4069
|
-
|
|
4070
|
-
|
|
4104
|
+
ut.subscribe((e) => {
|
|
4105
|
+
Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4071
4106
|
});
|
|
4072
|
-
const
|
|
4073
|
-
if (e &&
|
|
4074
|
-
const { loadingDelay: t } =
|
|
4107
|
+
const yo = (e) => {
|
|
4108
|
+
if (e && no(e) && jt(e)) {
|
|
4109
|
+
const { loadingDelay: t } = Ce();
|
|
4075
4110
|
let r;
|
|
4076
4111
|
return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
|
|
4077
|
-
() =>
|
|
4112
|
+
() => St.set(!0),
|
|
4078
4113
|
t
|
|
4079
|
-
) :
|
|
4080
|
-
|
|
4114
|
+
) : St.set(!0), tn(e).then(() => {
|
|
4115
|
+
ut.set(e);
|
|
4081
4116
|
}).finally(() => {
|
|
4082
|
-
clearTimeout(r),
|
|
4117
|
+
clearTimeout(r), St.set(!1);
|
|
4083
4118
|
});
|
|
4084
4119
|
}
|
|
4085
|
-
return
|
|
4086
|
-
},
|
|
4087
|
-
set:
|
|
4088
|
-
}),
|
|
4120
|
+
return ut.set(e);
|
|
4121
|
+
}, Ne = go(bo({}, ut), {
|
|
4122
|
+
set: yo
|
|
4123
|
+
}), mt = (e) => {
|
|
4089
4124
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4090
4125
|
return (n) => {
|
|
4091
4126
|
const i = JSON.stringify(n);
|
|
4092
4127
|
return i in t ? t[i] : t[i] = e(n);
|
|
4093
4128
|
};
|
|
4094
4129
|
};
|
|
4095
|
-
var
|
|
4130
|
+
var vo = Object.defineProperty, lt = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
4096
4131
|
for (var r in t || (t = {}))
|
|
4097
|
-
|
|
4098
|
-
if (
|
|
4099
|
-
for (var r of
|
|
4100
|
-
|
|
4132
|
+
rn.call(t, r) && dr(e, r, t[r]);
|
|
4133
|
+
if (lt)
|
|
4134
|
+
for (var r of lt(t))
|
|
4135
|
+
nn.call(t, r) && dr(e, r, t[r]);
|
|
4101
4136
|
return e;
|
|
4102
|
-
},
|
|
4137
|
+
}, Me = (e, t) => {
|
|
4103
4138
|
var r = {};
|
|
4104
4139
|
for (var n in e)
|
|
4105
|
-
|
|
4106
|
-
if (e != null &&
|
|
4107
|
-
for (var n of
|
|
4108
|
-
t.indexOf(n) < 0 &&
|
|
4140
|
+
rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4141
|
+
if (e != null && lt)
|
|
4142
|
+
for (var n of lt(e))
|
|
4143
|
+
t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
|
|
4109
4144
|
return r;
|
|
4110
4145
|
};
|
|
4111
|
-
const
|
|
4112
|
-
const { formats: r } =
|
|
4146
|
+
const We = (e, t) => {
|
|
4147
|
+
const { formats: r } = Ce();
|
|
4113
4148
|
if (e in r && t in r[e])
|
|
4114
4149
|
return r[e][t];
|
|
4115
4150
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4116
|
-
},
|
|
4151
|
+
}, _o = mt(
|
|
4117
4152
|
(e) => {
|
|
4118
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4153
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4119
4154
|
if (r == null)
|
|
4120
4155
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4121
|
-
return n && (i =
|
|
4156
|
+
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4122
4157
|
}
|
|
4123
|
-
),
|
|
4158
|
+
), Eo = mt(
|
|
4124
4159
|
(e) => {
|
|
4125
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4160
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4126
4161
|
if (r == null)
|
|
4127
4162
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4128
|
-
return n ? i =
|
|
4163
|
+
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4129
4164
|
}
|
|
4130
|
-
),
|
|
4165
|
+
), xo = mt(
|
|
4131
4166
|
(e) => {
|
|
4132
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4167
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4133
4168
|
if (r == null)
|
|
4134
4169
|
throw new Error(
|
|
4135
4170
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4136
4171
|
);
|
|
4137
|
-
return n ? i =
|
|
4172
|
+
return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4138
4173
|
}
|
|
4139
|
-
),
|
|
4174
|
+
), So = (e = {}) => {
|
|
4140
4175
|
var t = e, {
|
|
4141
4176
|
locale: r = ge()
|
|
4142
|
-
} = t, n =
|
|
4177
|
+
} = t, n = Me(t, [
|
|
4143
4178
|
"locale"
|
|
4144
4179
|
]);
|
|
4145
|
-
return
|
|
4146
|
-
},
|
|
4180
|
+
return _o(Vt({ locale: r }, n));
|
|
4181
|
+
}, To = (e = {}) => {
|
|
4147
4182
|
var t = e, {
|
|
4148
4183
|
locale: r = ge()
|
|
4149
|
-
} = t, n =
|
|
4184
|
+
} = t, n = Me(t, [
|
|
4150
4185
|
"locale"
|
|
4151
4186
|
]);
|
|
4152
|
-
return
|
|
4153
|
-
},
|
|
4187
|
+
return Eo(Vt({ locale: r }, n));
|
|
4188
|
+
}, wo = (e = {}) => {
|
|
4154
4189
|
var t = e, {
|
|
4155
4190
|
locale: r = ge()
|
|
4156
|
-
} = t, n =
|
|
4191
|
+
} = t, n = Me(t, [
|
|
4157
4192
|
"locale"
|
|
4158
4193
|
]);
|
|
4159
|
-
return
|
|
4160
|
-
},
|
|
4194
|
+
return xo(Vt({ locale: r }, n));
|
|
4195
|
+
}, Ho = mt(
|
|
4161
4196
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4162
|
-
(e, t = ge()) => new
|
|
4163
|
-
ignoreTag:
|
|
4197
|
+
(e, t = ge()) => new qi(e, t, Ce().formats, {
|
|
4198
|
+
ignoreTag: Ce().ignoreTag
|
|
4164
4199
|
})
|
|
4165
|
-
),
|
|
4166
|
-
var r, n, i,
|
|
4167
|
-
let
|
|
4168
|
-
typeof e == "object" && (
|
|
4200
|
+
), Ao = (e, t = {}) => {
|
|
4201
|
+
var r, n, i, o;
|
|
4202
|
+
let s = t;
|
|
4203
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
4169
4204
|
const {
|
|
4170
4205
|
values: a,
|
|
4171
4206
|
locale: l = ge(),
|
|
4172
4207
|
default: u
|
|
4173
|
-
} =
|
|
4208
|
+
} = s;
|
|
4174
4209
|
if (l == null)
|
|
4175
4210
|
throw new Error(
|
|
4176
4211
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4177
4212
|
);
|
|
4178
|
-
let c =
|
|
4213
|
+
let c = Yr(e, l);
|
|
4179
4214
|
if (!c)
|
|
4180
|
-
c = (
|
|
4215
|
+
c = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4181
4216
|
else if (typeof c != "string")
|
|
4182
4217
|
return console.warn(
|
|
4183
4218
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4184
4219
|
), c;
|
|
4185
4220
|
if (!a)
|
|
4186
4221
|
return c;
|
|
4187
|
-
let
|
|
4222
|
+
let p = c;
|
|
4188
4223
|
try {
|
|
4189
|
-
|
|
4224
|
+
p = Ho(c, l).format(a);
|
|
4190
4225
|
} catch (h) {
|
|
4191
4226
|
h instanceof Error && console.warn(
|
|
4192
4227
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4193
4228
|
h.message
|
|
4194
4229
|
);
|
|
4195
4230
|
}
|
|
4196
|
-
return
|
|
4197
|
-
},
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
window.emWidgets = { topic:
|
|
4204
|
-
const
|
|
4205
|
-
function
|
|
4231
|
+
return p;
|
|
4232
|
+
}, Bo = (e, t) => wo(t).format(e), Po = (e, t) => To(t).format(e), Oo = (e, t) => So(t).format(e), Lo = (e, t = ge()) => Yr(e, t);
|
|
4233
|
+
Ie([Ne, Je], () => Ao);
|
|
4234
|
+
Ie([Ne], () => Bo);
|
|
4235
|
+
Ie([Ne], () => Po);
|
|
4236
|
+
Ie([Ne], () => Oo);
|
|
4237
|
+
Ie([Ne, Je], () => Lo);
|
|
4238
|
+
window.emWidgets = { topic: Fn };
|
|
4239
|
+
const Co = (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));
|
|
4240
|
+
function Io(e, t) {
|
|
4206
4241
|
if (e) {
|
|
4207
4242
|
const r = document.createElement("style");
|
|
4208
4243
|
r.innerHTML = t, e.appendChild(r);
|
|
4209
4244
|
}
|
|
4210
4245
|
}
|
|
4211
|
-
function
|
|
4246
|
+
function No(e, t) {
|
|
4212
4247
|
const r = new URL(t);
|
|
4213
4248
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4214
4249
|
const i = document.createElement("style");
|
|
@@ -4217,7 +4252,7 @@ function Ps(e, t) {
|
|
|
4217
4252
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4218
4253
|
});
|
|
4219
4254
|
}
|
|
4220
|
-
function
|
|
4255
|
+
function Mo(e, t, r) {
|
|
4221
4256
|
if (window.emMessageBus) {
|
|
4222
4257
|
const n = document.createElement("style");
|
|
4223
4258
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4225,13 +4260,13 @@ function Ls(e, t, r) {
|
|
|
4225
4260
|
});
|
|
4226
4261
|
}
|
|
4227
4262
|
}
|
|
4228
|
-
function
|
|
4229
|
-
|
|
4263
|
+
function mr(e, t) {
|
|
4264
|
+
Kr(e, t);
|
|
4230
4265
|
}
|
|
4231
|
-
function
|
|
4232
|
-
|
|
4266
|
+
function Ro(e) {
|
|
4267
|
+
Ne.set(e);
|
|
4233
4268
|
}
|
|
4234
|
-
const
|
|
4269
|
+
const br = {
|
|
4235
4270
|
en: {
|
|
4236
4271
|
loadingText: "Loading, please wait..."
|
|
4237
4272
|
},
|
|
@@ -4269,37 +4304,37 @@ const fr = {
|
|
|
4269
4304
|
loadingText: "Loading, please wait..."
|
|
4270
4305
|
}
|
|
4271
4306
|
};
|
|
4272
|
-
function
|
|
4273
|
-
|
|
4307
|
+
function Uo(e) {
|
|
4308
|
+
an(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)}}');
|
|
4274
4309
|
}
|
|
4275
|
-
function
|
|
4310
|
+
function gr(e, t, r) {
|
|
4276
4311
|
const n = e.slice();
|
|
4277
4312
|
return n[56] = t[r], n[58] = r, n;
|
|
4278
4313
|
}
|
|
4279
|
-
function
|
|
4280
|
-
let t, r, n, i,
|
|
4314
|
+
function Do(e) {
|
|
4315
|
+
let t, r, n, i, o, s, a, l, u, c, p, h, g;
|
|
4281
4316
|
function x(m, T) {
|
|
4282
4317
|
return (
|
|
4283
4318
|
/*tabletView*/
|
|
4284
|
-
m[8] ?
|
|
4319
|
+
m[8] ? Go : $o
|
|
4285
4320
|
);
|
|
4286
4321
|
}
|
|
4287
|
-
let y = x(e),
|
|
4322
|
+
let y = x(e), v = y(e);
|
|
4288
4323
|
return {
|
|
4289
4324
|
c() {
|
|
4290
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("div"),
|
|
4291
|
-
e[9] + ")"),
|
|
4292
|
-
e[14]) ||
|
|
4325
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = C(), s = b("div"), v.c(), a = C(), l = b("div"), u = b("ui-image"), _(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4326
|
+
e[9] + ")"), _(s, "class", "displayContainer"), Q(u.src, c = /*titleLogoImg*/
|
|
4327
|
+
e[14]) || P(u, "src", c), P(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
|
|
4293
4328
|
e[0] + " " + /*mobileView*/
|
|
4294
4329
|
(e[7] && !/*tabletView*/
|
|
4295
4330
|
e[8] ? "mobile" : (
|
|
4296
4331
|
/*tabletView*/
|
|
4297
4332
|
e[8] ? "tablet" : ""
|
|
4298
4333
|
))), et(n, "background", "url(" + /*backgroundImg*/
|
|
4299
|
-
e[13] + ")"),
|
|
4334
|
+
e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4300
4335
|
},
|
|
4301
4336
|
m(m, T) {
|
|
4302
|
-
|
|
4337
|
+
$(m, t, T), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), h || (g = fn(
|
|
4303
4338
|
r,
|
|
4304
4339
|
"click",
|
|
4305
4340
|
/*click_handler*/
|
|
@@ -4309,32 +4344,32 @@ function Is(e) {
|
|
|
4309
4344
|
p(m, T) {
|
|
4310
4345
|
T[0] & /*vendorIcon*/
|
|
4311
4346
|
512 && et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4312
|
-
m[9] + ")"), y === (y = x(m)) &&
|
|
4347
|
+
m[9] + ")"), y === (y = x(m)) && v ? v.p(m, T) : (v.d(1), v = y(m), v && (v.c(), v.m(s, null))), T[0] & /*titleLogoImg*/
|
|
4313
4348
|
16384 && !Q(u.src, c = /*titleLogoImg*/
|
|
4314
|
-
m[14]) &&
|
|
4315
|
-
385 &&
|
|
4349
|
+
m[14]) && P(u, "src", c), T[0] & /*visualstructure, mobileView, tabletView*/
|
|
4350
|
+
385 && p !== (p = "mainWrapper " + /*visualstructure*/
|
|
4316
4351
|
m[0] + " " + /*mobileView*/
|
|
4317
4352
|
(m[7] && !/*tabletView*/
|
|
4318
4353
|
m[8] ? "mobile" : (
|
|
4319
4354
|
/*tabletView*/
|
|
4320
4355
|
m[8] ? "tablet" : ""
|
|
4321
|
-
))) &&
|
|
4356
|
+
))) && _(n, "class", p), T[0] & /*backgroundImg*/
|
|
4322
4357
|
8192 && et(n, "background", "url(" + /*backgroundImg*/
|
|
4323
4358
|
m[13] + ")");
|
|
4324
4359
|
},
|
|
4325
4360
|
d(m) {
|
|
4326
|
-
m && D(t),
|
|
4361
|
+
m && D(t), v.d(), h = !1, g();
|
|
4327
4362
|
}
|
|
4328
4363
|
};
|
|
4329
4364
|
}
|
|
4330
|
-
function
|
|
4365
|
+
function ko(e) {
|
|
4331
4366
|
let t;
|
|
4332
4367
|
return {
|
|
4333
4368
|
c() {
|
|
4334
|
-
t = b("div"),
|
|
4369
|
+
t = b("div"), _(t, "class", "LoadingSpinner");
|
|
4335
4370
|
},
|
|
4336
4371
|
m(r, n) {
|
|
4337
|
-
|
|
4372
|
+
$(r, t, n);
|
|
4338
4373
|
},
|
|
4339
4374
|
p: Z,
|
|
4340
4375
|
d(r) {
|
|
@@ -4342,14 +4377,14 @@ function Ns(e) {
|
|
|
4342
4377
|
}
|
|
4343
4378
|
};
|
|
4344
4379
|
}
|
|
4345
|
-
function
|
|
4380
|
+
function jo(e) {
|
|
4346
4381
|
let t;
|
|
4347
4382
|
return {
|
|
4348
4383
|
c() {
|
|
4349
4384
|
t = b("p"), t.textContent = "500 Server error";
|
|
4350
4385
|
},
|
|
4351
4386
|
m(r, n) {
|
|
4352
|
-
|
|
4387
|
+
$(r, t, n);
|
|
4353
4388
|
},
|
|
4354
4389
|
p: Z,
|
|
4355
4390
|
d(r) {
|
|
@@ -4357,11 +4392,11 @@ function Ms(e) {
|
|
|
4357
4392
|
}
|
|
4358
4393
|
};
|
|
4359
4394
|
}
|
|
4360
|
-
function
|
|
4361
|
-
let t, r, n, i,
|
|
4395
|
+
function Go(e) {
|
|
4396
|
+
let t, r, n, i, o, s, a, l = (
|
|
4362
4397
|
/*formattedLabels*/
|
|
4363
4398
|
e[11][0] + ""
|
|
4364
|
-
), u, c,
|
|
4399
|
+
), u, c, p, h, g = (
|
|
4365
4400
|
/*realtimeupdate*/
|
|
4366
4401
|
(e[2] === "true" ? (
|
|
4367
4402
|
/*reversedJackpotValues*/
|
|
@@ -4370,10 +4405,10 @@ function Rs(e) {
|
|
|
4370
4405
|
/*formattedJackpotValues*/
|
|
4371
4406
|
e[10][0]
|
|
4372
4407
|
)) + ""
|
|
4373
|
-
), x, y,
|
|
4408
|
+
), x, y, v, m, T, A, M, k, F, J = (
|
|
4374
4409
|
/*formattedLabels*/
|
|
4375
4410
|
e[11][1] + ""
|
|
4376
|
-
),
|
|
4411
|
+
), Re, ye, Y, me, he = (
|
|
4377
4412
|
/*realtimeupdate*/
|
|
4378
4413
|
(e[2] === "true" ? (
|
|
4379
4414
|
/*reversedJackpotValues*/
|
|
@@ -4382,7 +4417,7 @@ function Rs(e) {
|
|
|
4382
4417
|
/*formattedJackpotValues*/
|
|
4383
4418
|
e[10][1]
|
|
4384
4419
|
)) + ""
|
|
4385
|
-
), fe,
|
|
4420
|
+
), fe, ve, _e, ee, ne, ie, N, oe, Ue, pe, q = (
|
|
4386
4421
|
/*formattedLabels*/
|
|
4387
4422
|
e[11][2] + ""
|
|
4388
4423
|
), se, Ze, K, Ee, xe = (
|
|
@@ -4394,10 +4429,10 @@ function Rs(e) {
|
|
|
4394
4429
|
/*formattedJackpotValues*/
|
|
4395
4430
|
e[10][2]
|
|
4396
4431
|
)) + ""
|
|
4397
|
-
),
|
|
4432
|
+
), De, Qe, Ye, ae, ue, te, Se, ke, Te, be = (
|
|
4398
4433
|
/*formattedLabels*/
|
|
4399
4434
|
e[11][3] + ""
|
|
4400
|
-
), je, qe,
|
|
4435
|
+
), je, qe, le, f, H = (
|
|
4401
4436
|
/*realtimeupdate*/
|
|
4402
4437
|
(e[2] === "true" ? (
|
|
4403
4438
|
/*updatedJackpotValues*/
|
|
@@ -4406,28 +4441,28 @@ function Rs(e) {
|
|
|
4406
4441
|
/*formattedJackpotValues*/
|
|
4407
4442
|
e[10][3]
|
|
4408
4443
|
)) + ""
|
|
4409
|
-
), U,
|
|
4410
|
-
e[3] &&
|
|
4411
|
-
e[3] &&
|
|
4412
|
-
e[3] &&
|
|
4413
|
-
e[3] &&
|
|
4444
|
+
), U, Wt, V = !/*currencylocale*/
|
|
4445
|
+
e[3] && yr(e), W = !/*currencylocale*/
|
|
4446
|
+
e[3] && vr(e), X = !/*currencylocale*/
|
|
4447
|
+
e[3] && _r(e), z = !/*currencylocale*/
|
|
4448
|
+
e[3] && Er(e);
|
|
4414
4449
|
return {
|
|
4415
4450
|
c() {
|
|
4416
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"),
|
|
4417
|
-
e[12][0]) ||
|
|
4418
|
-
e[12][1]) ||
|
|
4419
|
-
e[12][2]) ||
|
|
4420
|
-
e[12][3]) ||
|
|
4451
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l), c = C(), p = b("span"), h = b("span"), x = R(g), y = C(), V && V.c(), v = C(), m = b("div"), T = b("div"), A = b("ui-image"), k = C(), F = b("span"), Re = R(J), ye = C(), Y = b("span"), me = b("span"), fe = R(he), ve = C(), W && W.c(), _e = C(), ee = b("div"), ne = b("div"), ie = b("div"), N = b("ui-image"), Ue = C(), pe = b("span"), se = R(q), Ze = C(), K = b("span"), Ee = b("span"), De = R(xe), Qe = C(), X && X.c(), Ye = C(), ae = b("div"), ue = b("div"), te = b("ui-image"), ke = C(), Te = b("span"), je = R(be), qe = C(), le = b("span"), f = b("span"), U = R(H), Wt = C(), z && z.c(), P(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
|
|
4452
|
+
e[12][0]) || P(i, "src", o), P(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), P(A, "class", "displayCardIcon"), Q(A.src, M = /*caticons*/
|
|
4453
|
+
e[12][1]) || P(A, "src", M), P(A, "alt", ""), _(F, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(me, "class", "jackpotValue"), _(Y, "class", "cardTextWrapper"), _(m, "class", "displayCard"), _(t, "class", "pairWrapper"), P(N, "class", "displayCardIcon"), Q(N.src, oe = /*caticons*/
|
|
4454
|
+
e[12][2]) || P(N, "src", oe), P(N, "alt", ""), _(pe, "class", "cardLabel"), _(ie, "class", "iconWrapper"), _(Ee, "class", "jackpotValue"), _(K, "class", "cardTextWrapper"), _(ne, "class", "displayCard"), P(te, "class", "displayCardIcon"), Q(te.src, Se = /*caticons*/
|
|
4455
|
+
e[12][3]) || P(te, "src", Se), P(te, "alt", ""), _(Te, "class", "cardLabel"), _(ue, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(le, "class", "cardTextWrapper"), _(ae, "class", "displayCard"), _(ee, "class", "pairWrapper");
|
|
4421
4456
|
},
|
|
4422
4457
|
m(E, I) {
|
|
4423
|
-
|
|
4458
|
+
$(E, t, I), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, p), d(p, h), d(h, x), d(p, y), V && V.m(p, null), d(t, v), d(t, m), d(m, T), d(T, A), d(T, k), d(T, F), d(F, Re), d(m, ye), d(m, Y), d(Y, me), d(me, fe), d(Y, ve), W && W.m(Y, null), $(E, _e, I), $(E, ee, I), d(ee, ne), d(ne, ie), d(ie, N), d(ie, Ue), d(ie, pe), d(pe, se), d(ne, Ze), d(ne, K), d(K, Ee), d(Ee, De), d(K, Qe), X && X.m(K, null), d(ee, Ye), d(ee, ae), d(ae, ue), d(ue, te), d(ue, ke), d(ue, Te), d(Te, je), d(ae, qe), d(ae, le), d(le, f), d(f, U), d(le, Wt), z && z.m(le, null);
|
|
4424
4459
|
},
|
|
4425
4460
|
p(E, I) {
|
|
4426
4461
|
I[0] & /*caticons*/
|
|
4427
|
-
4096 && !Q(i.src,
|
|
4428
|
-
E[12][0]) &&
|
|
4462
|
+
4096 && !Q(i.src, o = /*caticons*/
|
|
4463
|
+
E[12][0]) && P(i, "src", o), I[0] & /*formattedLabels*/
|
|
4429
4464
|
2048 && l !== (l = /*formattedLabels*/
|
|
4430
|
-
E[11][0] + "") &&
|
|
4465
|
+
E[11][0] + "") && G(u, l), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4431
4466
|
66564 && g !== (g = /*realtimeupdate*/
|
|
4432
4467
|
(E[2] === "true" ? (
|
|
4433
4468
|
/*reversedJackpotValues*/
|
|
@@ -4435,12 +4470,12 @@ function Rs(e) {
|
|
|
4435
4470
|
) : (
|
|
4436
4471
|
/*formattedJackpotValues*/
|
|
4437
4472
|
E[10][0]
|
|
4438
|
-
)) + "") &&
|
|
4439
|
-
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V =
|
|
4440
|
-
4096 && !Q(
|
|
4441
|
-
E[12][1]) &&
|
|
4473
|
+
)) + "") && G(x, g), /*currencylocale*/
|
|
4474
|
+
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V = yr(E), V.c(), V.m(p, null)), I[0] & /*caticons*/
|
|
4475
|
+
4096 && !Q(A.src, M = /*caticons*/
|
|
4476
|
+
E[12][1]) && P(A, "src", M), I[0] & /*formattedLabels*/
|
|
4442
4477
|
2048 && J !== (J = /*formattedLabels*/
|
|
4443
|
-
E[11][1] + "") &&
|
|
4478
|
+
E[11][1] + "") && G(Re, J), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4444
4479
|
66564 && he !== (he = /*realtimeupdate*/
|
|
4445
4480
|
(E[2] === "true" ? (
|
|
4446
4481
|
/*reversedJackpotValues*/
|
|
@@ -4448,12 +4483,12 @@ function Rs(e) {
|
|
|
4448
4483
|
) : (
|
|
4449
4484
|
/*formattedJackpotValues*/
|
|
4450
4485
|
E[10][1]
|
|
4451
|
-
)) + "") &&
|
|
4452
|
-
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W =
|
|
4453
|
-
4096 && !Q(N.src,
|
|
4454
|
-
E[12][2]) &&
|
|
4486
|
+
)) + "") && G(fe, he), /*currencylocale*/
|
|
4487
|
+
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W = vr(E), W.c(), W.m(Y, null)), I[0] & /*caticons*/
|
|
4488
|
+
4096 && !Q(N.src, oe = /*caticons*/
|
|
4489
|
+
E[12][2]) && P(N, "src", oe), I[0] & /*formattedLabels*/
|
|
4455
4490
|
2048 && q !== (q = /*formattedLabels*/
|
|
4456
|
-
E[11][2] + "") &&
|
|
4491
|
+
E[11][2] + "") && G(se, q), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4457
4492
|
1092 && xe !== (xe = /*realtimeupdate*/
|
|
4458
4493
|
(E[2] === "true" ? (
|
|
4459
4494
|
/*updatedJackpotValues*/
|
|
@@ -4461,76 +4496,76 @@ function Rs(e) {
|
|
|
4461
4496
|
) : (
|
|
4462
4497
|
/*formattedJackpotValues*/
|
|
4463
4498
|
E[10][2]
|
|
4464
|
-
)) + "") &&
|
|
4465
|
-
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X =
|
|
4499
|
+
)) + "") && G(De, xe), /*currencylocale*/
|
|
4500
|
+
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X = _r(E), X.c(), X.m(K, null)), I[0] & /*caticons*/
|
|
4466
4501
|
4096 && !Q(te.src, Se = /*caticons*/
|
|
4467
|
-
E[12][3]) &&
|
|
4502
|
+
E[12][3]) && P(te, "src", Se), I[0] & /*formattedLabels*/
|
|
4468
4503
|
2048 && be !== (be = /*formattedLabels*/
|
|
4469
|
-
E[11][3] + "") &&
|
|
4470
|
-
1092 &&
|
|
4504
|
+
E[11][3] + "") && G(je, be), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4505
|
+
1092 && H !== (H = /*realtimeupdate*/
|
|
4471
4506
|
(E[2] === "true" ? (
|
|
4472
4507
|
/*updatedJackpotValues*/
|
|
4473
4508
|
E[6][3]
|
|
4474
4509
|
) : (
|
|
4475
4510
|
/*formattedJackpotValues*/
|
|
4476
4511
|
E[10][3]
|
|
4477
|
-
)) + "") &&
|
|
4478
|
-
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z =
|
|
4512
|
+
)) + "") && G(U, H), /*currencylocale*/
|
|
4513
|
+
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z = Er(E), z.c(), z.m(le, null));
|
|
4479
4514
|
},
|
|
4480
4515
|
d(E) {
|
|
4481
|
-
E && (D(t), D(
|
|
4516
|
+
E && (D(t), D(_e), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4482
4517
|
}
|
|
4483
4518
|
};
|
|
4484
4519
|
}
|
|
4485
|
-
function
|
|
4486
|
-
let t, r =
|
|
4520
|
+
function $o(e) {
|
|
4521
|
+
let t, r = Jt(Array(4)), n = [];
|
|
4487
4522
|
for (let i = 0; i < r.length; i += 1)
|
|
4488
|
-
n[i] =
|
|
4523
|
+
n[i] = Sr(gr(e, r, i));
|
|
4489
4524
|
return {
|
|
4490
4525
|
c() {
|
|
4491
4526
|
for (let i = 0; i < n.length; i += 1)
|
|
4492
4527
|
n[i].c();
|
|
4493
|
-
t =
|
|
4528
|
+
t = hn();
|
|
4494
4529
|
},
|
|
4495
|
-
m(i,
|
|
4496
|
-
for (let
|
|
4497
|
-
n[
|
|
4498
|
-
|
|
4530
|
+
m(i, o) {
|
|
4531
|
+
for (let s = 0; s < n.length; s += 1)
|
|
4532
|
+
n[s] && n[s].m(i, o);
|
|
4533
|
+
$(i, t, o);
|
|
4499
4534
|
},
|
|
4500
|
-
p(i,
|
|
4501
|
-
if (
|
|
4535
|
+
p(i, o) {
|
|
4536
|
+
if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4502
4537
|
72718) {
|
|
4503
|
-
r =
|
|
4504
|
-
let
|
|
4505
|
-
for (
|
|
4506
|
-
const a =
|
|
4507
|
-
n[
|
|
4538
|
+
r = Jt(Array(4));
|
|
4539
|
+
let s;
|
|
4540
|
+
for (s = 0; s < r.length; s += 1) {
|
|
4541
|
+
const a = gr(i, r, s);
|
|
4542
|
+
n[s] ? n[s].p(a, o) : (n[s] = Sr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4508
4543
|
}
|
|
4509
|
-
for (;
|
|
4510
|
-
n[
|
|
4544
|
+
for (; s < n.length; s += 1)
|
|
4545
|
+
n[s].d(1);
|
|
4511
4546
|
n.length = r.length;
|
|
4512
4547
|
}
|
|
4513
4548
|
},
|
|
4514
4549
|
d(i) {
|
|
4515
|
-
i && D(t),
|
|
4550
|
+
i && D(t), cn(n, i);
|
|
4516
4551
|
}
|
|
4517
4552
|
};
|
|
4518
4553
|
}
|
|
4519
|
-
function
|
|
4554
|
+
function yr(e) {
|
|
4520
4555
|
let t, r;
|
|
4521
4556
|
return {
|
|
4522
4557
|
c() {
|
|
4523
4558
|
t = b("span"), r = R(
|
|
4524
4559
|
/*currency*/
|
|
4525
4560
|
e[1]
|
|
4526
|
-
),
|
|
4561
|
+
), _(t, "class", "jackpot-currency");
|
|
4527
4562
|
},
|
|
4528
4563
|
m(n, i) {
|
|
4529
|
-
|
|
4564
|
+
$(n, t, i), d(t, r);
|
|
4530
4565
|
},
|
|
4531
4566
|
p(n, i) {
|
|
4532
4567
|
i[0] & /*currency*/
|
|
4533
|
-
2 &&
|
|
4568
|
+
2 && G(
|
|
4534
4569
|
r,
|
|
4535
4570
|
/*currency*/
|
|
4536
4571
|
n[1]
|
|
@@ -4541,21 +4576,21 @@ function pr(e) {
|
|
|
4541
4576
|
}
|
|
4542
4577
|
};
|
|
4543
4578
|
}
|
|
4544
|
-
function
|
|
4579
|
+
function vr(e) {
|
|
4545
4580
|
let t, r;
|
|
4546
4581
|
return {
|
|
4547
4582
|
c() {
|
|
4548
4583
|
t = b("span"), r = R(
|
|
4549
4584
|
/*currency*/
|
|
4550
4585
|
e[1]
|
|
4551
|
-
),
|
|
4586
|
+
), _(t, "class", "jackpot-currency");
|
|
4552
4587
|
},
|
|
4553
4588
|
m(n, i) {
|
|
4554
|
-
|
|
4589
|
+
$(n, t, i), d(t, r);
|
|
4555
4590
|
},
|
|
4556
4591
|
p(n, i) {
|
|
4557
4592
|
i[0] & /*currency*/
|
|
4558
|
-
2 &&
|
|
4593
|
+
2 && G(
|
|
4559
4594
|
r,
|
|
4560
4595
|
/*currency*/
|
|
4561
4596
|
n[1]
|
|
@@ -4566,21 +4601,21 @@ function mr(e) {
|
|
|
4566
4601
|
}
|
|
4567
4602
|
};
|
|
4568
4603
|
}
|
|
4569
|
-
function
|
|
4604
|
+
function _r(e) {
|
|
4570
4605
|
let t, r;
|
|
4571
4606
|
return {
|
|
4572
4607
|
c() {
|
|
4573
4608
|
t = b("span"), r = R(
|
|
4574
4609
|
/*currency*/
|
|
4575
4610
|
e[1]
|
|
4576
|
-
),
|
|
4611
|
+
), _(t, "class", "jackpot-currency");
|
|
4577
4612
|
},
|
|
4578
4613
|
m(n, i) {
|
|
4579
|
-
|
|
4614
|
+
$(n, t, i), d(t, r);
|
|
4580
4615
|
},
|
|
4581
4616
|
p(n, i) {
|
|
4582
4617
|
i[0] & /*currency*/
|
|
4583
|
-
2 &&
|
|
4618
|
+
2 && G(
|
|
4584
4619
|
r,
|
|
4585
4620
|
/*currency*/
|
|
4586
4621
|
n[1]
|
|
@@ -4591,21 +4626,21 @@ function br(e) {
|
|
|
4591
4626
|
}
|
|
4592
4627
|
};
|
|
4593
4628
|
}
|
|
4594
|
-
function
|
|
4629
|
+
function Er(e) {
|
|
4595
4630
|
let t, r;
|
|
4596
4631
|
return {
|
|
4597
4632
|
c() {
|
|
4598
4633
|
t = b("span"), r = R(
|
|
4599
4634
|
/*currency*/
|
|
4600
4635
|
e[1]
|
|
4601
|
-
),
|
|
4636
|
+
), _(t, "class", "jackpot-currency");
|
|
4602
4637
|
},
|
|
4603
4638
|
m(n, i) {
|
|
4604
|
-
|
|
4639
|
+
$(n, t, i), d(t, r);
|
|
4605
4640
|
},
|
|
4606
4641
|
p(n, i) {
|
|
4607
4642
|
i[0] & /*currency*/
|
|
4608
|
-
2 &&
|
|
4643
|
+
2 && G(
|
|
4609
4644
|
r,
|
|
4610
4645
|
/*currency*/
|
|
4611
4646
|
n[1]
|
|
@@ -4616,21 +4651,21 @@ function gr(e) {
|
|
|
4616
4651
|
}
|
|
4617
4652
|
};
|
|
4618
4653
|
}
|
|
4619
|
-
function
|
|
4654
|
+
function xr(e) {
|
|
4620
4655
|
let t, r;
|
|
4621
4656
|
return {
|
|
4622
4657
|
c() {
|
|
4623
4658
|
t = b("span"), r = R(
|
|
4624
4659
|
/*currency*/
|
|
4625
4660
|
e[1]
|
|
4626
|
-
),
|
|
4661
|
+
), _(t, "class", "jackpot-currency");
|
|
4627
4662
|
},
|
|
4628
4663
|
m(n, i) {
|
|
4629
|
-
|
|
4664
|
+
$(n, t, i), d(t, r);
|
|
4630
4665
|
},
|
|
4631
4666
|
p(n, i) {
|
|
4632
4667
|
i[0] & /*currency*/
|
|
4633
|
-
2 &&
|
|
4668
|
+
2 && G(
|
|
4634
4669
|
r,
|
|
4635
4670
|
/*currency*/
|
|
4636
4671
|
n[1]
|
|
@@ -4641,14 +4676,14 @@ function yr(e) {
|
|
|
4641
4676
|
}
|
|
4642
4677
|
};
|
|
4643
4678
|
}
|
|
4644
|
-
function
|
|
4645
|
-
let t, r, n, i,
|
|
4679
|
+
function Sr(e) {
|
|
4680
|
+
let t, r, n, i, o, s, a = (
|
|
4646
4681
|
/*formattedLabels*/
|
|
4647
4682
|
e[11][
|
|
4648
4683
|
/*i*/
|
|
4649
4684
|
e[58]
|
|
4650
4685
|
] + ""
|
|
4651
|
-
), l, u, c,
|
|
4686
|
+
), l, u, c, p, h = (
|
|
4652
4687
|
/*realtimeupdate*/
|
|
4653
4688
|
(e[2] === "true" ? (
|
|
4654
4689
|
/*reversedJackpotValues*/
|
|
@@ -4663,18 +4698,18 @@ function _r(e) {
|
|
|
4663
4698
|
e[58]
|
|
4664
4699
|
] ?? ""
|
|
4665
4700
|
)) + ""
|
|
4666
|
-
), g, x, y,
|
|
4667
|
-
e[3] &&
|
|
4701
|
+
), g, x, y, v = !/*currencylocale*/
|
|
4702
|
+
e[3] && xr(e);
|
|
4668
4703
|
return {
|
|
4669
4704
|
c() {
|
|
4670
|
-
t = b("div"), r = b("div"), n = b("ui-image"),
|
|
4705
|
+
t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(), c = b("span"), p = b("span"), g = R(h), x = C(), v && v.c(), y = C(), P(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
|
|
4671
4706
|
e[12][
|
|
4672
4707
|
/*i*/
|
|
4673
4708
|
e[58]
|
|
4674
|
-
]) ||
|
|
4709
|
+
]) || P(n, "src", i), P(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4675
4710
|
},
|
|
4676
4711
|
m(m, T) {
|
|
4677
|
-
|
|
4712
|
+
$(m, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, p), d(p, g), d(c, x), v && v.m(c, null), d(t, y);
|
|
4678
4713
|
},
|
|
4679
4714
|
p(m, T) {
|
|
4680
4715
|
T[0] & /*caticons*/
|
|
@@ -4682,12 +4717,12 @@ function _r(e) {
|
|
|
4682
4717
|
m[12][
|
|
4683
4718
|
/*i*/
|
|
4684
4719
|
m[58]
|
|
4685
|
-
]) &&
|
|
4720
|
+
]) && P(n, "src", i), T[0] & /*formattedLabels*/
|
|
4686
4721
|
2048 && a !== (a = /*formattedLabels*/
|
|
4687
4722
|
m[11][
|
|
4688
4723
|
/*i*/
|
|
4689
4724
|
m[58]
|
|
4690
|
-
] + "") &&
|
|
4725
|
+
] + "") && G(l, a), T[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4691
4726
|
66564 && h !== (h = /*realtimeupdate*/
|
|
4692
4727
|
(m[2] === "true" ? (
|
|
4693
4728
|
/*reversedJackpotValues*/
|
|
@@ -4701,22 +4736,22 @@ function _r(e) {
|
|
|
4701
4736
|
/*i*/
|
|
4702
4737
|
m[58]
|
|
4703
4738
|
] ?? ""
|
|
4704
|
-
)) + "") &&
|
|
4705
|
-
m[3] ?
|
|
4739
|
+
)) + "") && G(g, h), /*currencylocale*/
|
|
4740
|
+
m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v = xr(m), v.c(), v.m(c, null));
|
|
4706
4741
|
},
|
|
4707
4742
|
d(m) {
|
|
4708
|
-
m && D(t),
|
|
4743
|
+
m && D(t), v && v.d();
|
|
4709
4744
|
}
|
|
4710
4745
|
};
|
|
4711
4746
|
}
|
|
4712
|
-
function
|
|
4747
|
+
function Fo(e) {
|
|
4713
4748
|
let t;
|
|
4714
|
-
function r(
|
|
4749
|
+
function r(o, s) {
|
|
4715
4750
|
return (
|
|
4716
4751
|
/*hasErrors*/
|
|
4717
|
-
|
|
4752
|
+
o[15] ? jo : (
|
|
4718
4753
|
/*isLoading*/
|
|
4719
|
-
|
|
4754
|
+
o[5] ? ko : Do
|
|
4720
4755
|
)
|
|
4721
4756
|
);
|
|
4722
4757
|
}
|
|
@@ -4725,45 +4760,45 @@ function Ds(e) {
|
|
|
4725
4760
|
c() {
|
|
4726
4761
|
t = b("div"), i.c();
|
|
4727
4762
|
},
|
|
4728
|
-
m(
|
|
4729
|
-
|
|
4763
|
+
m(o, s) {
|
|
4764
|
+
$(o, t, s), i.m(t, null), e[36](t);
|
|
4730
4765
|
},
|
|
4731
|
-
p(
|
|
4732
|
-
n === (n = r(
|
|
4766
|
+
p(o, s) {
|
|
4767
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4733
4768
|
},
|
|
4734
4769
|
i: Z,
|
|
4735
4770
|
o: Z,
|
|
4736
|
-
d(
|
|
4737
|
-
|
|
4771
|
+
d(o) {
|
|
4772
|
+
o && D(t), i.d(), e[36](null);
|
|
4738
4773
|
}
|
|
4739
4774
|
};
|
|
4740
4775
|
}
|
|
4741
|
-
function
|
|
4742
|
-
let n, { visualstructure: i = "" } = t, { title:
|
|
4776
|
+
function Vo(e, t, r) {
|
|
4777
|
+
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint: A = "" } = t, { gameid: M = "" } = t, { mbsource: k } = t, { realtimeupdate: F = "false" } = t, { currencylocale: J = "" } = t, Re = window.navigator.userAgent, ye = !1, Y = !1, me = "", he = [], fe = [], ve = [], _e = [], ee = [], ne = "", ie = "", N, oe = !0, Ue = !1, pe, q = null, se = [];
|
|
4743
4778
|
const Ze = () => {
|
|
4744
|
-
fetch(T).then((
|
|
4745
|
-
Object.keys(
|
|
4746
|
-
|
|
4779
|
+
fetch(T).then((H) => H.json()).then((H) => {
|
|
4780
|
+
Object.keys(H).forEach((U) => {
|
|
4781
|
+
mr(U, H[U]);
|
|
4747
4782
|
});
|
|
4748
|
-
}).catch((
|
|
4749
|
-
console.log(
|
|
4783
|
+
}).catch((H) => {
|
|
4784
|
+
console.log(H);
|
|
4750
4785
|
});
|
|
4751
4786
|
};
|
|
4752
|
-
Object.keys(
|
|
4753
|
-
|
|
4787
|
+
Object.keys(br).forEach((f) => {
|
|
4788
|
+
mr(f, br[f]);
|
|
4754
4789
|
});
|
|
4755
4790
|
const K = ["typeSpread", "typeLeft"], Ee = (f) => {
|
|
4756
|
-
const
|
|
4757
|
-
|
|
4791
|
+
const H = f?.items[0]?.additionalData;
|
|
4792
|
+
H && Object.values(H).forEach((U) => he.push(+U));
|
|
4758
4793
|
}, xe = (f) => {
|
|
4759
4794
|
r(9, me = f?.items[0]?.vendorLogo || "");
|
|
4760
|
-
},
|
|
4761
|
-
if (
|
|
4762
|
-
let f = new URL(`${
|
|
4763
|
-
f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((
|
|
4764
|
-
r(5,
|
|
4795
|
+
}, De = () => {
|
|
4796
|
+
if (A && y && h) {
|
|
4797
|
+
let f = new URL(`${A}/v1/casino/jackpots`);
|
|
4798
|
+
f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((H) => H.json().then((U) => {
|
|
4799
|
+
r(5, oe = !1), pe = U, fe.includes(M) && (Ee(pe), xe(pe));
|
|
4765
4800
|
}).catch((U) => {
|
|
4766
|
-
r(15,
|
|
4801
|
+
r(15, Ue = !0), r(5, oe = !1), console.error(U);
|
|
4767
4802
|
}).finally(() => {
|
|
4768
4803
|
Qe();
|
|
4769
4804
|
}));
|
|
@@ -4772,114 +4807,114 @@ function ks(e, t, r) {
|
|
|
4772
4807
|
const f = N.getRootNode().host;
|
|
4773
4808
|
f.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: f } }));
|
|
4774
4809
|
}, Ye = () => {
|
|
4775
|
-
let f = new URL(`${
|
|
4776
|
-
fetch(f.href).then((
|
|
4777
|
-
r(34, fe =
|
|
4810
|
+
let f = new URL(`${A}/v1/casino/jackpots/config`);
|
|
4811
|
+
fetch(f.href).then((H) => H.json()).then((H) => {
|
|
4812
|
+
r(34, fe = H.egtJackpotIds.map((U) => U));
|
|
4778
4813
|
});
|
|
4779
|
-
},
|
|
4780
|
-
r(7, ye =
|
|
4781
|
-
},
|
|
4814
|
+
}, ae = () => {
|
|
4815
|
+
r(7, ye = Co(Re) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), he.length !== 0 && (r(10, ve = te(he)), ve.reverse()), r(11, _e = c ? c.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), K.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 "${K[0]}"`), r(0, i = K[0])), r(13, ne = g && ye && !Y ? g : p), r(14, ie = x), r(12, ee = [s, a, l, u]);
|
|
4816
|
+
}, ue = (f) => Intl.NumberFormat(J, {
|
|
4782
4817
|
minimumFractionDigits: 2,
|
|
4783
4818
|
maximumFractionDigits: 2,
|
|
4784
4819
|
style: "currency",
|
|
4785
4820
|
currency: h
|
|
4786
|
-
}).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((
|
|
4821
|
+
}).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((H) => ue(H)) : f.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), Se = () => {
|
|
4787
4822
|
const f = window.innerHeight / window.innerWidth;
|
|
4788
4823
|
return 0.75 < f && f < 1.6;
|
|
4789
|
-
},
|
|
4824
|
+
}, ke = () => {
|
|
4790
4825
|
window.postMessage({ type: "JackpotBannerClicked", gameid: M }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4791
4826
|
context: "JackpotBanner",
|
|
4792
4827
|
gameId: `${M}`
|
|
4793
4828
|
});
|
|
4794
4829
|
}, Te = () => {
|
|
4795
|
-
|
|
4830
|
+
Ro(y);
|
|
4796
4831
|
}, be = (f) => {
|
|
4797
|
-
const
|
|
4798
|
-
if (
|
|
4799
|
-
const U = Number(
|
|
4832
|
+
const H = JSON.parse(f.data);
|
|
4833
|
+
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === M) {
|
|
4834
|
+
const U = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4800
4835
|
r(
|
|
4801
4836
|
6,
|
|
4802
|
-
se[U] = J ?
|
|
4837
|
+
se[U] = J ? ue(H.data.data[`${h}`].balance) : H.data.data[`${h}`].balance.toString(),
|
|
4803
4838
|
se
|
|
4804
4839
|
);
|
|
4805
4840
|
}
|
|
4806
4841
|
}, je = () => {
|
|
4807
|
-
|
|
4842
|
+
F === "true" && (ae(), r(6, se = ["", "", "", ""]), q = new EventSource(`${A}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
|
|
4808
4843
|
};
|
|
4809
|
-
|
|
4810
|
-
}),
|
|
4844
|
+
mn(() => () => {
|
|
4845
|
+
}), bn(() => {
|
|
4811
4846
|
q && (q.removeEventListener("message", be), q.close(), q = null);
|
|
4812
4847
|
});
|
|
4813
|
-
const qe = () =>
|
|
4814
|
-
function
|
|
4815
|
-
|
|
4848
|
+
const qe = () => ke();
|
|
4849
|
+
function le(f) {
|
|
4850
|
+
Tt[f ? "unshift" : "push"](() => {
|
|
4816
4851
|
N = f, r(4, N);
|
|
4817
4852
|
});
|
|
4818
4853
|
}
|
|
4819
4854
|
return e.$$set = (f) => {
|
|
4820
|
-
"visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18,
|
|
4855
|
+
"visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, o = f.title), "caticon0" in f && r(19, s = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, v = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31, A = f.endpoint), "gameid" in f && r(32, M = f.gameid), "mbsource" in f && r(33, k = f.mbsource), "realtimeupdate" in f && r(2, F = f.realtimeupdate), "currencylocale" in f && r(3, J = f.currencylocale);
|
|
4821
4856
|
}, e.$$.update = () => {
|
|
4822
4857
|
e.$$.dirty[1] & /*endpoint*/
|
|
4823
|
-
1 &&
|
|
4824
|
-
268435472 &&
|
|
4825
|
-
536870928 && m && N &&
|
|
4858
|
+
1 && A && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4859
|
+
268435472 && v && N && Io(N, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4860
|
+
536870928 && m && N && No(N, m), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4826
4861
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4827
|
-
4 && k && N &&
|
|
4862
|
+
4 && k && N && Mo(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
|
|
4828
4863
|
134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
4829
|
-
9 &&
|
|
4830
|
-
134217762 && h && y && !
|
|
4864
|
+
9 && A && y && h && fe.length > 0 && De(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4865
|
+
134217762 && h && y && !oe && ae(), e.$$.dirty[0] & /*lang*/
|
|
4831
4866
|
134217728 && y && Te(), e.$$.dirty[0] & /*translationurl*/
|
|
4832
4867
|
1073741824 && T && Ze(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4833
|
-
4 &&
|
|
4868
|
+
4 && F && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
|
|
4834
4869
|
64 && r(16, n = [...se].reverse());
|
|
4835
4870
|
}, [
|
|
4836
4871
|
i,
|
|
4837
4872
|
h,
|
|
4838
|
-
|
|
4873
|
+
F,
|
|
4839
4874
|
J,
|
|
4840
4875
|
N,
|
|
4841
|
-
|
|
4876
|
+
oe,
|
|
4842
4877
|
se,
|
|
4843
4878
|
ye,
|
|
4844
4879
|
Y,
|
|
4845
4880
|
me,
|
|
4846
|
-
_e,
|
|
4847
4881
|
ve,
|
|
4882
|
+
_e,
|
|
4848
4883
|
ee,
|
|
4849
|
-
re,
|
|
4850
4884
|
ne,
|
|
4851
|
-
|
|
4885
|
+
ie,
|
|
4886
|
+
Ue,
|
|
4852
4887
|
n,
|
|
4853
|
-
|
|
4854
|
-
s,
|
|
4888
|
+
ke,
|
|
4855
4889
|
o,
|
|
4890
|
+
s,
|
|
4856
4891
|
a,
|
|
4857
4892
|
l,
|
|
4858
4893
|
u,
|
|
4859
4894
|
c,
|
|
4860
|
-
|
|
4895
|
+
p,
|
|
4861
4896
|
g,
|
|
4862
4897
|
x,
|
|
4863
4898
|
y,
|
|
4864
|
-
|
|
4899
|
+
v,
|
|
4865
4900
|
m,
|
|
4866
4901
|
T,
|
|
4867
|
-
|
|
4902
|
+
A,
|
|
4868
4903
|
M,
|
|
4869
4904
|
k,
|
|
4870
4905
|
fe,
|
|
4871
4906
|
qe,
|
|
4872
|
-
|
|
4907
|
+
le
|
|
4873
4908
|
];
|
|
4874
4909
|
}
|
|
4875
|
-
class
|
|
4910
|
+
class Wo extends Bn {
|
|
4876
4911
|
constructor(t) {
|
|
4877
|
-
super(),
|
|
4912
|
+
super(), Hn(
|
|
4878
4913
|
this,
|
|
4879
4914
|
t,
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4915
|
+
Vo,
|
|
4916
|
+
Fo,
|
|
4917
|
+
wr,
|
|
4883
4918
|
{
|
|
4884
4919
|
visualstructure: 0,
|
|
4885
4920
|
title: 18,
|
|
@@ -4902,7 +4937,7 @@ class Gs extends Tn {
|
|
|
4902
4937
|
realtimeupdate: 2,
|
|
4903
4938
|
currencylocale: 3
|
|
4904
4939
|
},
|
|
4905
|
-
|
|
4940
|
+
Uo,
|
|
4906
4941
|
[-1, -1]
|
|
4907
4942
|
);
|
|
4908
4943
|
}
|
|
@@ -5027,7 +5062,7 @@ class Gs extends Tn {
|
|
|
5027
5062
|
this.$$set({ currencylocale: t }), O();
|
|
5028
5063
|
}
|
|
5029
5064
|
}
|
|
5030
|
-
|
|
5065
|
+
An(Wo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
5031
5066
|
export {
|
|
5032
|
-
|
|
5067
|
+
Wo as C
|
|
5033
5068
|
};
|