@everymatrix/casino-jackpot-banner 1.64.7 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoJackpotBanner-BHoq__lL.cjs +18 -0
- package/components/{CasinoJackpotBanner-CQRncgRt.js → CasinoJackpotBanner-C4ookVkU.js} +771 -792
- package/components/{CasinoJackpotBanner-BaOAv4dd.js → CasinoJackpotBanner-bWqH9jBM.js} +753 -774
- 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-BzQXAkmg.js +558 -0
- package/stencil/index-97d17652-DYGS0vqJ.cjs +1 -0
- package/stencil/index-97d17652-mbOyENH9.js +542 -0
- package/stencil/{ui-image-CQQDA5b0.js → ui-image-BmTbGz5h.js} +1 -1
- package/stencil/{ui-image-CmwNU-jf.js → ui-image-CFddgpOe.js} +1 -1
- package/stencil/{ui-image-CMb1eK44.cjs → ui-image-DzutkFSv.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-7wF4sIlr.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DQE3WxuL.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-kIlLPkYB.js} +1 -1
- package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CJHJWEhi.cjs} +1 -1
- package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Db7N7hzA.js} +2 -2
- package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-oohpKuRS.js} +2 -2
- package/components/CasinoJackpotBanner-y20EosLQ.cjs +0 -18
- package/stencil/index-97d17652-BEnqZAxL.js +0 -558
- package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
- package/stencil/index-97d17652-WK_DbPS4.js +0 -542
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var cn = Object.defineProperty, hn = Object.defineProperties;
|
|
2
|
+
var fn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Xt = Object.getOwnPropertySymbols;
|
|
4
|
+
var pn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var mt = (e, t, r) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
pn.call(t, r) && mt(e, r, t[r]);
|
|
8
|
+
if (Xt)
|
|
9
|
+
for (var r of Xt(t))
|
|
10
|
+
dn.call(t, r) && mt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var Q = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Jt = (e, t) => hn(e, fn(t));
|
|
13
|
+
var Q = (e, t, r) => (mt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Zt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -27,32 +27,32 @@ var Yt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-BmTbGz5h.js";
|
|
31
31
|
function Z() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Br(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function Qt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
39
|
+
function Ze(e) {
|
|
40
|
+
e.forEach(Br);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function kt(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Pr(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
48
|
let et;
|
|
49
49
|
function Y(e, t) {
|
|
50
50
|
return e === t ? !0 : (et || (et = document.createElement("a")), et.href = t, e === et.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function mn(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function bn(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -64,14 +64,14 @@ function gn(e, ...t) {
|
|
|
64
64
|
function d(e, t) {
|
|
65
65
|
e.appendChild(t);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
const n =
|
|
67
|
+
function gn(e, t, r) {
|
|
68
|
+
const n = yn(e);
|
|
69
69
|
if (!n.getElementById(t)) {
|
|
70
70
|
const i = m("style");
|
|
71
|
-
i.id = t, i.textContent = r,
|
|
71
|
+
i.id = t, i.textContent = r, vn(n, i);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function yn(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return document;
|
|
77
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -81,20 +81,20 @@ function vn(e) {
|
|
|
81
81
|
t
|
|
82
82
|
) : e.ownerDocument;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function vn(e, t) {
|
|
85
85
|
return d(
|
|
86
86
|
/** @type {Document} */
|
|
87
87
|
e.head || e,
|
|
88
88
|
t
|
|
89
89
|
), t.sheet;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function $(e, t, r) {
|
|
92
92
|
e.insertBefore(t, r || null);
|
|
93
93
|
}
|
|
94
94
|
function D(e) {
|
|
95
95
|
e.parentNode && e.parentNode.removeChild(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function _n(e, t) {
|
|
98
98
|
for (let r = 0; r < e.length; r += 1)
|
|
99
99
|
e[r] && e[r].d(t);
|
|
100
100
|
}
|
|
@@ -104,33 +104,33 @@ function m(e) {
|
|
|
104
104
|
function U(e) {
|
|
105
105
|
return document.createTextNode(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function I() {
|
|
108
108
|
return U(" ");
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function En() {
|
|
111
111
|
return U("");
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function xn(e, t, r, n) {
|
|
114
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
115
115
|
}
|
|
116
116
|
function E(e, t, r) {
|
|
117
117
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function L(e, t, r) {
|
|
120
120
|
const n = t.toLowerCase();
|
|
121
121
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Sn(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function F(e, t) {
|
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
128
128
|
t);
|
|
129
129
|
}
|
|
130
130
|
function tt(e, t, r, n) {
|
|
131
131
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Tn(e) {
|
|
134
134
|
const t = {};
|
|
135
135
|
return e.childNodes.forEach(
|
|
136
136
|
/** @param {Element} node */
|
|
@@ -139,63 +139,63 @@ function wn(e) {
|
|
|
139
139
|
}
|
|
140
140
|
), t;
|
|
141
141
|
}
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
|
|
142
|
+
let Xe;
|
|
143
|
+
function We(e) {
|
|
144
|
+
Xe = e;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
if (!
|
|
146
|
+
function Lr() {
|
|
147
|
+
if (!Xe)
|
|
148
148
|
throw new Error("Function called outside component initialization");
|
|
149
|
-
return
|
|
149
|
+
return Xe;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function wn(e) {
|
|
152
|
+
Lr().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
154
|
+
function Hn(e) {
|
|
155
|
+
Lr().$$.on_destroy.push(e);
|
|
156
156
|
}
|
|
157
|
-
const Be = [],
|
|
157
|
+
const Be = [], Tt = [];
|
|
158
158
|
let Pe = [];
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
159
|
+
const Yt = [], An = /* @__PURE__ */ Promise.resolve();
|
|
160
|
+
let wt = !1;
|
|
161
|
+
function Bn() {
|
|
162
|
+
wt || (wt = !0, An.then(C));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Ht(e) {
|
|
165
165
|
Pe.push(e);
|
|
166
166
|
}
|
|
167
|
-
const
|
|
167
|
+
const bt = /* @__PURE__ */ new Set();
|
|
168
168
|
let He = 0;
|
|
169
|
-
function
|
|
169
|
+
function C() {
|
|
170
170
|
if (He !== 0)
|
|
171
171
|
return;
|
|
172
|
-
const e =
|
|
172
|
+
const e = Xe;
|
|
173
173
|
do {
|
|
174
174
|
try {
|
|
175
175
|
for (; He < Be.length; ) {
|
|
176
176
|
const t = Be[He];
|
|
177
|
-
He++,
|
|
177
|
+
He++, We(t), Pn(t.$$);
|
|
178
178
|
}
|
|
179
179
|
} catch (t) {
|
|
180
180
|
throw Be.length = 0, He = 0, t;
|
|
181
181
|
}
|
|
182
|
-
for (
|
|
183
|
-
|
|
182
|
+
for (We(null), Be.length = 0, He = 0; Tt.length; )
|
|
183
|
+
Tt.pop()();
|
|
184
184
|
for (let t = 0; t < Pe.length; t += 1) {
|
|
185
185
|
const r = Pe[t];
|
|
186
|
-
|
|
186
|
+
bt.has(r) || (bt.add(r), r());
|
|
187
187
|
}
|
|
188
188
|
Pe.length = 0;
|
|
189
189
|
} while (Be.length);
|
|
190
|
-
for (;
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
for (; Yt.length; )
|
|
191
|
+
Yt.pop()();
|
|
192
|
+
wt = !1, bt.clear(), We(e);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Pn(e) {
|
|
195
195
|
if (e.fragment !== null) {
|
|
196
|
-
e.update(),
|
|
196
|
+
e.update(), Ze(e.before_update);
|
|
197
197
|
const t = e.dirty;
|
|
198
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
198
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
function Ln(e) {
|
|
@@ -206,26 +206,26 @@ const Cn = /* @__PURE__ */ new Set();
|
|
|
206
206
|
function In(e, t) {
|
|
207
207
|
e && e.i && (Cn.delete(e), e.i(t));
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function qt(e) {
|
|
210
210
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function On(e, t, r) {
|
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
|
214
|
-
n && n.m(t, r),
|
|
215
|
-
const o = e.$$.on_mount.map(
|
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
217
|
-
}), i.forEach(
|
|
214
|
+
n && n.m(t, r), Ht(() => {
|
|
215
|
+
const o = e.$$.on_mount.map(Br).filter(kt);
|
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ze(o), e.$$.on_mount = [];
|
|
217
|
+
}), i.forEach(Ht);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function Nn(e, t) {
|
|
220
220
|
const r = e.$$;
|
|
221
|
-
r.fragment !== null && (Ln(r.after_update),
|
|
221
|
+
r.fragment !== null && (Ln(r.after_update), Ze(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
e.$$.dirty[0] === -1 && (Be.push(e),
|
|
223
|
+
function Mn(e, t) {
|
|
224
|
+
e.$$.dirty[0] === -1 && (Be.push(e), Bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
const l =
|
|
228
|
-
|
|
226
|
+
function Rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
227
|
+
const l = Xe;
|
|
228
|
+
We(e);
|
|
229
229
|
const u = e.$$ = {
|
|
230
230
|
fragment: null,
|
|
231
231
|
ctx: [],
|
|
@@ -233,7 +233,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
233
233
|
props: o,
|
|
234
234
|
update: Z,
|
|
235
235
|
not_equal: i,
|
|
236
|
-
bound:
|
|
236
|
+
bound: Qt(),
|
|
237
237
|
// lifecycle
|
|
238
238
|
on_mount: [],
|
|
239
239
|
on_destroy: [],
|
|
@@ -242,7 +242,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
242
242
|
after_update: [],
|
|
243
243
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
244
244
|
// everything else
|
|
245
|
-
callbacks:
|
|
245
|
+
callbacks: Qt(),
|
|
246
246
|
dirty: a,
|
|
247
247
|
skip_bound: !1,
|
|
248
248
|
root: t.target || l.$$.root
|
|
@@ -251,19 +251,19 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
251
251
|
let c = !1;
|
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (f, p, ...g) => {
|
|
253
253
|
const v = g.length ? g[0] : p;
|
|
254
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), c &&
|
|
255
|
-
}) : [], u.update(), c = !0,
|
|
254
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), c && Mn(e, f)), p;
|
|
255
|
+
}) : [], u.update(), c = !0, Ze(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
256
256
|
if (t.hydrate) {
|
|
257
|
-
const f =
|
|
257
|
+
const f = Sn(t.target);
|
|
258
258
|
u.fragment && u.fragment.l(f), f.forEach(D);
|
|
259
259
|
} else
|
|
260
260
|
u.fragment && u.fragment.c();
|
|
261
|
-
t.intro && In(e.$$.fragment),
|
|
261
|
+
t.intro && In(e.$$.fragment), On(e, t.target, t.anchor), C();
|
|
262
262
|
}
|
|
263
|
-
|
|
263
|
+
We(l);
|
|
264
264
|
}
|
|
265
|
-
let
|
|
266
|
-
typeof HTMLElement == "function" && (
|
|
265
|
+
let Cr;
|
|
266
|
+
typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
|
|
267
267
|
constructor(t, r, n) {
|
|
268
268
|
super();
|
|
269
269
|
/** The Svelte component constructor */
|
|
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
connectedCallback() {
|
|
303
|
-
return
|
|
303
|
+
return Zt(this, null, function* () {
|
|
304
304
|
if (this.$$cn = !0, !this.$$c) {
|
|
305
305
|
let t = function(o) {
|
|
306
306
|
return () => {
|
|
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
314
314
|
* @param {HTMLElement} [anchor]
|
|
315
315
|
*/
|
|
316
316
|
m: function(u, c) {
|
|
317
|
-
|
|
317
|
+
$(u, s, c);
|
|
318
318
|
},
|
|
319
319
|
d: function(u) {
|
|
320
320
|
u && D(s);
|
|
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
324
324
|
};
|
|
325
325
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
326
326
|
return;
|
|
327
|
-
const r = {}, n =
|
|
327
|
+
const r = {}, n = Tn(this);
|
|
328
328
|
for (const o of this.$$s)
|
|
329
329
|
o in n && (r[o] = [t(o)]);
|
|
330
330
|
for (const o of this.attributes) {
|
|
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
335
335
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
336
336
|
this.$$c = new this.$$ctor({
|
|
337
337
|
target: this.shadowRoot || this,
|
|
338
|
-
props:
|
|
338
|
+
props: Jt(zt({}, this.$$d), {
|
|
339
339
|
$$slots: r,
|
|
340
340
|
$$scope: {
|
|
341
341
|
ctx: []
|
|
@@ -413,8 +413,8 @@ function it(e, t, r, n) {
|
|
|
413
413
|
return t;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
417
|
-
let s = class extends
|
|
416
|
+
function Un(e, t, r, n, i, o) {
|
|
417
|
+
let s = class extends Cr {
|
|
418
418
|
constructor() {
|
|
419
419
|
super(e, r, i), this.$$p_d = t;
|
|
420
420
|
}
|
|
@@ -444,7 +444,7 @@ function Dn(e, t, r, n, i, o) {
|
|
|
444
444
|
}), e.element = /** @type {any} */
|
|
445
445
|
s, s;
|
|
446
446
|
}
|
|
447
|
-
class
|
|
447
|
+
class Dn {
|
|
448
448
|
constructor() {
|
|
449
449
|
/**
|
|
450
450
|
* ### PRIVATE API
|
|
@@ -465,7 +465,7 @@ class Gn {
|
|
|
465
465
|
}
|
|
466
466
|
/** @returns {void} */
|
|
467
467
|
$destroy() {
|
|
468
|
-
|
|
468
|
+
Nn(this, 1), this.$destroy = Z;
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
471
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -474,7 +474,7 @@ class Gn {
|
|
|
474
474
|
* @returns {() => void}
|
|
475
475
|
*/
|
|
476
476
|
$on(t, r) {
|
|
477
|
-
if (!
|
|
477
|
+
if (!kt(r))
|
|
478
478
|
return Z;
|
|
479
479
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
480
480
|
return n.push(r), () => {
|
|
@@ -487,11 +487,11 @@ class Gn {
|
|
|
487
487
|
* @returns {void}
|
|
488
488
|
*/
|
|
489
489
|
$set(t) {
|
|
490
|
-
this.$$set && !
|
|
490
|
+
this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
const
|
|
494
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
493
|
+
const Gn = "4";
|
|
494
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
|
|
495
495
|
/*! *****************************************************************************
|
|
496
496
|
Copyright (c) Microsoft Corporation.
|
|
497
497
|
|
|
@@ -506,24 +506,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
506
506
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
507
507
|
PERFORMANCE OF THIS SOFTWARE.
|
|
508
508
|
***************************************************************************** */
|
|
509
|
-
var
|
|
510
|
-
return
|
|
509
|
+
var At = function(e, t) {
|
|
510
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
511
511
|
r.__proto__ = n;
|
|
512
512
|
} || function(r, n) {
|
|
513
513
|
for (var i in n)
|
|
514
514
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
515
|
-
},
|
|
515
|
+
}, At(e, t);
|
|
516
516
|
};
|
|
517
|
-
function
|
|
517
|
+
function le(e, t) {
|
|
518
518
|
if (typeof t != "function" && t !== null)
|
|
519
519
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
520
|
-
|
|
520
|
+
At(e, t);
|
|
521
521
|
function r() {
|
|
522
522
|
this.constructor = e;
|
|
523
523
|
}
|
|
524
524
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
var B = function() {
|
|
527
|
+
return B = Object.assign || function(t) {
|
|
528
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
529
|
+
r = arguments[n];
|
|
530
|
+
for (var o in r)
|
|
531
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
532
|
+
}
|
|
533
|
+
return t;
|
|
534
|
+
}, B.apply(this, arguments);
|
|
535
|
+
};
|
|
536
|
+
function kn(e, t) {
|
|
537
|
+
var r = {};
|
|
538
|
+
for (var n in e)
|
|
539
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
540
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
541
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
542
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
543
|
+
return r;
|
|
544
|
+
}
|
|
545
|
+
function Bt(e) {
|
|
527
546
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
528
547
|
if (r)
|
|
529
548
|
return r.call(e);
|
|
@@ -535,7 +554,7 @@ function Ot(e) {
|
|
|
535
554
|
};
|
|
536
555
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
537
556
|
}
|
|
538
|
-
function
|
|
557
|
+
function Pt(e, t) {
|
|
539
558
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
540
559
|
if (!r)
|
|
541
560
|
return e;
|
|
@@ -555,22 +574,22 @@ function Lt(e, t) {
|
|
|
555
574
|
}
|
|
556
575
|
return o;
|
|
557
576
|
}
|
|
558
|
-
function
|
|
559
|
-
if (arguments.length === 2)
|
|
577
|
+
function Le(e, t, r) {
|
|
578
|
+
if (r || arguments.length === 2)
|
|
560
579
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
561
580
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
562
581
|
return e.concat(o || t);
|
|
563
582
|
}
|
|
564
|
-
function
|
|
583
|
+
function ue(e) {
|
|
565
584
|
return typeof e == "function";
|
|
566
585
|
}
|
|
567
|
-
function
|
|
586
|
+
function Ir(e) {
|
|
568
587
|
var t = function(n) {
|
|
569
588
|
Error.call(n), n.stack = new Error().stack;
|
|
570
589
|
}, r = e(t);
|
|
571
590
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
572
591
|
}
|
|
573
|
-
var
|
|
592
|
+
var gt = Ir(function(e) {
|
|
574
593
|
return function(r) {
|
|
575
594
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
576
595
|
` + r.map(function(n, i) {
|
|
@@ -579,13 +598,13 @@ var vt = Nr(function(e) {
|
|
|
579
598
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
580
599
|
};
|
|
581
600
|
});
|
|
582
|
-
function
|
|
601
|
+
function Lt(e, t) {
|
|
583
602
|
if (e) {
|
|
584
603
|
var r = e.indexOf(t);
|
|
585
604
|
0 <= r && e.splice(r, 1);
|
|
586
605
|
}
|
|
587
606
|
}
|
|
588
|
-
var
|
|
607
|
+
var ct = function() {
|
|
589
608
|
function e(t) {
|
|
590
609
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
591
610
|
}
|
|
@@ -597,7 +616,7 @@ var ht = function() {
|
|
|
597
616
|
if (s)
|
|
598
617
|
if (this._parentage = null, Array.isArray(s))
|
|
599
618
|
try {
|
|
600
|
-
for (var a =
|
|
619
|
+
for (var a = Bt(s), l = a.next(); !l.done; l = a.next()) {
|
|
601
620
|
var u = l.value;
|
|
602
621
|
u.remove(this);
|
|
603
622
|
}
|
|
@@ -614,22 +633,22 @@ var ht = function() {
|
|
|
614
633
|
else
|
|
615
634
|
s.remove(this);
|
|
616
635
|
var c = this.initialTeardown;
|
|
617
|
-
if (
|
|
636
|
+
if (ue(c))
|
|
618
637
|
try {
|
|
619
638
|
c();
|
|
620
639
|
} catch (_) {
|
|
621
|
-
o = _ instanceof
|
|
640
|
+
o = _ instanceof gt ? _.errors : [_];
|
|
622
641
|
}
|
|
623
642
|
var f = this._finalizers;
|
|
624
643
|
if (f) {
|
|
625
644
|
this._finalizers = null;
|
|
626
645
|
try {
|
|
627
|
-
for (var p =
|
|
646
|
+
for (var p = Bt(f), g = p.next(); !g.done; g = p.next()) {
|
|
628
647
|
var v = g.value;
|
|
629
648
|
try {
|
|
630
|
-
|
|
649
|
+
Kt(v);
|
|
631
650
|
} catch (_) {
|
|
632
|
-
o = o != null ? o : [], _ instanceof
|
|
651
|
+
o = o != null ? o : [], _ instanceof gt ? o = Le(Le([], Pt(o)), Pt(_.errors)) : o.push(_);
|
|
633
652
|
}
|
|
634
653
|
}
|
|
635
654
|
} catch (_) {
|
|
@@ -644,13 +663,13 @@ var ht = function() {
|
|
|
644
663
|
}
|
|
645
664
|
}
|
|
646
665
|
if (o)
|
|
647
|
-
throw new
|
|
666
|
+
throw new gt(o);
|
|
648
667
|
}
|
|
649
668
|
}, e.prototype.add = function(t) {
|
|
650
669
|
var r;
|
|
651
670
|
if (t && t !== this)
|
|
652
671
|
if (this.closed)
|
|
653
|
-
|
|
672
|
+
Kt(t);
|
|
654
673
|
else {
|
|
655
674
|
if (t instanceof e) {
|
|
656
675
|
if (t.closed || t._hasParent(this))
|
|
@@ -667,28 +686,32 @@ var ht = function() {
|
|
|
667
686
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
668
687
|
}, e.prototype._removeParent = function(t) {
|
|
669
688
|
var r = this._parentage;
|
|
670
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
689
|
+
r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
|
|
671
690
|
}, e.prototype.remove = function(t) {
|
|
672
691
|
var r = this._finalizers;
|
|
673
|
-
r &&
|
|
692
|
+
r && Lt(r, t), t instanceof e && t._removeParent(this);
|
|
674
693
|
}, e.EMPTY = function() {
|
|
675
694
|
var t = new e();
|
|
676
695
|
return t.closed = !0, t;
|
|
677
696
|
}(), e;
|
|
678
|
-
}(),
|
|
679
|
-
function
|
|
680
|
-
return e instanceof
|
|
681
|
-
}
|
|
682
|
-
function
|
|
683
|
-
|
|
684
|
-
}
|
|
685
|
-
var
|
|
686
|
-
|
|
687
|
-
|
|
697
|
+
}(), Or = ct.EMPTY;
|
|
698
|
+
function Nr(e) {
|
|
699
|
+
return e instanceof ct || e && "closed" in e && ue(e.remove) && ue(e.add) && ue(e.unsubscribe);
|
|
700
|
+
}
|
|
701
|
+
function Kt(e) {
|
|
702
|
+
ue(e) ? e() : e.unsubscribe();
|
|
703
|
+
}
|
|
704
|
+
var Mr = {
|
|
705
|
+
onUnhandledError: null,
|
|
706
|
+
onStoppedNotification: null,
|
|
707
|
+
Promise: void 0,
|
|
708
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
709
|
+
useDeprecatedNextContext: !1
|
|
710
|
+
}, jn = {
|
|
688
711
|
setTimeout: function(e, t) {
|
|
689
712
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
690
713
|
r[n - 2] = arguments[n];
|
|
691
|
-
return setTimeout.apply(void 0,
|
|
714
|
+
return setTimeout.apply(void 0, Le([e, t], Pt(r)));
|
|
692
715
|
},
|
|
693
716
|
clearTimeout: function(e) {
|
|
694
717
|
return clearTimeout(e);
|
|
@@ -696,23 +719,23 @@ var jn = {
|
|
|
696
719
|
delegate: void 0
|
|
697
720
|
};
|
|
698
721
|
function Fn(e) {
|
|
699
|
-
|
|
722
|
+
jn.setTimeout(function() {
|
|
700
723
|
throw e;
|
|
701
724
|
});
|
|
702
725
|
}
|
|
703
|
-
function
|
|
726
|
+
function er() {
|
|
704
727
|
}
|
|
705
728
|
function ot(e) {
|
|
706
729
|
e();
|
|
707
730
|
}
|
|
708
|
-
var
|
|
709
|
-
|
|
731
|
+
var Rr = function(e) {
|
|
732
|
+
le(t, e);
|
|
710
733
|
function t(r) {
|
|
711
734
|
var n = e.call(this) || this;
|
|
712
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
735
|
+
return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = Xn, n;
|
|
713
736
|
}
|
|
714
737
|
return t.create = function(r, n, i) {
|
|
715
|
-
return new
|
|
738
|
+
return new Ct(r, n, i);
|
|
716
739
|
}, t.prototype.next = function(r) {
|
|
717
740
|
this.isStopped || this._next(r);
|
|
718
741
|
}, t.prototype.error = function(r) {
|
|
@@ -736,7 +759,11 @@ var Ur = function(e) {
|
|
|
736
759
|
this.unsubscribe();
|
|
737
760
|
}
|
|
738
761
|
}, t;
|
|
739
|
-
}(
|
|
762
|
+
}(ct), $n = Function.prototype.bind;
|
|
763
|
+
function yt(e, t) {
|
|
764
|
+
return $n.call(e, t);
|
|
765
|
+
}
|
|
766
|
+
var Vn = function() {
|
|
740
767
|
function e(t) {
|
|
741
768
|
this.partialObserver = t;
|
|
742
769
|
}
|
|
@@ -767,18 +794,30 @@ var Ur = function(e) {
|
|
|
767
794
|
rt(r);
|
|
768
795
|
}
|
|
769
796
|
}, e;
|
|
770
|
-
}(),
|
|
771
|
-
|
|
797
|
+
}(), Ct = function(e) {
|
|
798
|
+
le(t, e);
|
|
772
799
|
function t(r, n, i) {
|
|
773
800
|
var o = e.call(this) || this, s;
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
801
|
+
if (ue(r) || !r)
|
|
802
|
+
s = {
|
|
803
|
+
next: r != null ? r : void 0,
|
|
804
|
+
error: n != null ? n : void 0,
|
|
805
|
+
complete: i != null ? i : void 0
|
|
806
|
+
};
|
|
807
|
+
else {
|
|
808
|
+
var a;
|
|
809
|
+
o && Mr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
810
|
+
return o.unsubscribe();
|
|
811
|
+
}, s = {
|
|
812
|
+
next: r.next && yt(r.next, a),
|
|
813
|
+
error: r.error && yt(r.error, a),
|
|
814
|
+
complete: r.complete && yt(r.complete, a)
|
|
815
|
+
}) : s = r;
|
|
816
|
+
}
|
|
817
|
+
return o.destination = new Vn(s), o;
|
|
779
818
|
}
|
|
780
819
|
return t;
|
|
781
|
-
}(
|
|
820
|
+
}(Rr);
|
|
782
821
|
function rt(e) {
|
|
783
822
|
Fn(e);
|
|
784
823
|
}
|
|
@@ -787,9 +826,9 @@ function Wn(e) {
|
|
|
787
826
|
}
|
|
788
827
|
var Xn = {
|
|
789
828
|
closed: !0,
|
|
790
|
-
next:
|
|
829
|
+
next: er,
|
|
791
830
|
error: Wn,
|
|
792
|
-
complete:
|
|
831
|
+
complete: er
|
|
793
832
|
}, zn = function() {
|
|
794
833
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
795
834
|
}();
|
|
@@ -803,7 +842,7 @@ function Zn(e) {
|
|
|
803
842
|
}, r);
|
|
804
843
|
};
|
|
805
844
|
}
|
|
806
|
-
var
|
|
845
|
+
var tr = function() {
|
|
807
846
|
function e(t) {
|
|
808
847
|
t && (this._subscribe = t);
|
|
809
848
|
}
|
|
@@ -811,7 +850,7 @@ var nr = function() {
|
|
|
811
850
|
var r = new e();
|
|
812
851
|
return r.source = this, r.operator = t, r;
|
|
813
852
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
814
|
-
var i = this, o = Yn(t) ? t : new
|
|
853
|
+
var i = this, o = Yn(t) ? t : new Ct(t, r, n);
|
|
815
854
|
return ot(function() {
|
|
816
855
|
var s = i, a = s.operator, l = s.source;
|
|
817
856
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -824,8 +863,8 @@ var nr = function() {
|
|
|
824
863
|
}
|
|
825
864
|
}, e.prototype.forEach = function(t, r) {
|
|
826
865
|
var n = this;
|
|
827
|
-
return r =
|
|
828
|
-
var s = new
|
|
866
|
+
return r = rr(r), new r(function(i, o) {
|
|
867
|
+
var s = new Ct({
|
|
829
868
|
next: function(a) {
|
|
830
869
|
try {
|
|
831
870
|
t(a);
|
|
@@ -849,7 +888,7 @@ var nr = function() {
|
|
|
849
888
|
return Zn(t)(this);
|
|
850
889
|
}, e.prototype.toPromise = function(t) {
|
|
851
890
|
var r = this;
|
|
852
|
-
return t =
|
|
891
|
+
return t = rr(t), new t(function(n, i) {
|
|
853
892
|
var o;
|
|
854
893
|
r.subscribe(function(s) {
|
|
855
894
|
return o = s;
|
|
@@ -863,28 +902,28 @@ var nr = function() {
|
|
|
863
902
|
return new e(t);
|
|
864
903
|
}, e;
|
|
865
904
|
}();
|
|
866
|
-
function
|
|
905
|
+
function rr(e) {
|
|
867
906
|
var t;
|
|
868
|
-
return (t = e != null ? e :
|
|
907
|
+
return (t = e != null ? e : Mr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
869
908
|
}
|
|
870
909
|
function Qn(e) {
|
|
871
|
-
return e &&
|
|
910
|
+
return e && ue(e.next) && ue(e.error) && ue(e.complete);
|
|
872
911
|
}
|
|
873
912
|
function Yn(e) {
|
|
874
|
-
return e && e instanceof
|
|
913
|
+
return e && e instanceof Rr || Qn(e) && Nr(e);
|
|
875
914
|
}
|
|
876
|
-
var qn =
|
|
915
|
+
var qn = Ir(function(e) {
|
|
877
916
|
return function() {
|
|
878
917
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
879
918
|
};
|
|
880
|
-
}),
|
|
881
|
-
|
|
919
|
+
}), Ur = function(e) {
|
|
920
|
+
le(t, e);
|
|
882
921
|
function t() {
|
|
883
922
|
var r = e.call(this) || this;
|
|
884
923
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
885
924
|
}
|
|
886
925
|
return t.prototype.lift = function(r) {
|
|
887
|
-
var n = new
|
|
926
|
+
var n = new nr(this, this);
|
|
888
927
|
return n.operator = r, n;
|
|
889
928
|
}, t.prototype._throwIfClosed = function() {
|
|
890
929
|
if (this.closed)
|
|
@@ -896,7 +935,7 @@ var qn = Nr(function(e) {
|
|
|
896
935
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
897
936
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
898
937
|
try {
|
|
899
|
-
for (var s =
|
|
938
|
+
for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
900
939
|
var l = a.value;
|
|
901
940
|
l.next(r);
|
|
902
941
|
}
|
|
@@ -945,20 +984,20 @@ var qn = Nr(function(e) {
|
|
|
945
984
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
946
985
|
}, t.prototype._innerSubscribe = function(r) {
|
|
947
986
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
948
|
-
return o || s ?
|
|
949
|
-
n.currentObservers = null,
|
|
987
|
+
return o || s ? Or : (this.currentObservers = null, a.push(r), new ct(function() {
|
|
988
|
+
n.currentObservers = null, Lt(a, r);
|
|
950
989
|
}));
|
|
951
990
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
952
991
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
953
992
|
i ? r.error(o) : s && r.complete();
|
|
954
993
|
}, t.prototype.asObservable = function() {
|
|
955
|
-
var r = new
|
|
994
|
+
var r = new tr();
|
|
956
995
|
return r.source = this, r;
|
|
957
996
|
}, t.create = function(r, n) {
|
|
958
|
-
return new
|
|
997
|
+
return new nr(r, n);
|
|
959
998
|
}, t;
|
|
960
|
-
}(
|
|
961
|
-
|
|
999
|
+
}(tr), nr = function(e) {
|
|
1000
|
+
le(t, e);
|
|
962
1001
|
function t(r, n) {
|
|
963
1002
|
var i = e.call(this) || this;
|
|
964
1003
|
return i.destination = r, i.source = n, i;
|
|
@@ -974,17 +1013,17 @@ var qn = Nr(function(e) {
|
|
|
974
1013
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
975
1014
|
}, t.prototype._subscribe = function(r) {
|
|
976
1015
|
var n, i;
|
|
977
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1016
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Or;
|
|
978
1017
|
}, t;
|
|
979
|
-
}(
|
|
1018
|
+
}(Ur), Dr = {
|
|
980
1019
|
now: function() {
|
|
981
|
-
return (
|
|
1020
|
+
return (Dr.delegate || Date).now();
|
|
982
1021
|
},
|
|
983
1022
|
delegate: void 0
|
|
984
1023
|
}, Kn = function(e) {
|
|
985
|
-
|
|
1024
|
+
le(t, e);
|
|
986
1025
|
function t(r, n, i) {
|
|
987
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1026
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
|
|
988
1027
|
var o = e.call(this) || this;
|
|
989
1028
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
990
1029
|
}
|
|
@@ -1004,24 +1043,24 @@ var qn = Nr(function(e) {
|
|
|
1004
1043
|
u && o.splice(0, u + 1);
|
|
1005
1044
|
}
|
|
1006
1045
|
}, t;
|
|
1007
|
-
}(
|
|
1008
|
-
const
|
|
1009
|
-
if (
|
|
1046
|
+
}(Ur);
|
|
1047
|
+
const ir = [], or = {}, ei = (e, t = 0) => {
|
|
1048
|
+
if (ir.indexOf(e) == -1) {
|
|
1010
1049
|
const r = new Kn(t);
|
|
1011
|
-
|
|
1050
|
+
or[e] = r, ir.push(e);
|
|
1012
1051
|
}
|
|
1013
|
-
return
|
|
1052
|
+
return or[e];
|
|
1014
1053
|
}, Ae = [];
|
|
1015
1054
|
function ti(e, t) {
|
|
1016
1055
|
return {
|
|
1017
|
-
subscribe:
|
|
1056
|
+
subscribe: ht(e, t).subscribe
|
|
1018
1057
|
};
|
|
1019
1058
|
}
|
|
1020
|
-
function
|
|
1059
|
+
function ht(e, t = Z) {
|
|
1021
1060
|
let r;
|
|
1022
1061
|
const n = /* @__PURE__ */ new Set();
|
|
1023
1062
|
function i(a) {
|
|
1024
|
-
if (
|
|
1063
|
+
if (Pr(e, a) && (e = a, r)) {
|
|
1025
1064
|
const l = !Ae.length;
|
|
1026
1065
|
for (const u of n)
|
|
1027
1066
|
u[1](), Ae.push(u, e);
|
|
@@ -1043,7 +1082,7 @@ function ft(e, t = Z) {
|
|
|
1043
1082
|
}
|
|
1044
1083
|
return { set: i, update: o, subscribe: s };
|
|
1045
1084
|
}
|
|
1046
|
-
function
|
|
1085
|
+
function Me(e, t, r) {
|
|
1047
1086
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1048
1087
|
if (!i.every(Boolean))
|
|
1049
1088
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1057,9 +1096,9 @@ function Ne(e, t, r) {
|
|
|
1057
1096
|
return;
|
|
1058
1097
|
f();
|
|
1059
1098
|
const v = t(n ? u[0] : u, s, a);
|
|
1060
|
-
o ? s(v) : f =
|
|
1099
|
+
o ? s(v) : f = kt(v) ? v : Z;
|
|
1061
1100
|
}, g = i.map(
|
|
1062
|
-
(v, _) =>
|
|
1101
|
+
(v, _) => bn(
|
|
1063
1102
|
v,
|
|
1064
1103
|
(y) => {
|
|
1065
1104
|
u[_] = y, c &= ~(1 << _), l && p();
|
|
@@ -1070,7 +1109,7 @@ function Ne(e, t, r) {
|
|
|
1070
1109
|
)
|
|
1071
1110
|
);
|
|
1072
1111
|
return l = !0, p(), function() {
|
|
1073
|
-
|
|
1112
|
+
Ze(g), f(), l = !1;
|
|
1074
1113
|
};
|
|
1075
1114
|
});
|
|
1076
1115
|
}
|
|
@@ -1094,29 +1133,29 @@ function ui(e) {
|
|
|
1094
1133
|
function li(e) {
|
|
1095
1134
|
return Array.isArray(e) ? [] : {};
|
|
1096
1135
|
}
|
|
1097
|
-
function
|
|
1098
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1136
|
+
function ze(e, t) {
|
|
1137
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ce(li(e), e, t) : e;
|
|
1099
1138
|
}
|
|
1100
1139
|
function ci(e, t, r) {
|
|
1101
1140
|
return e.concat(t).map(function(n) {
|
|
1102
|
-
return
|
|
1141
|
+
return ze(n, r);
|
|
1103
1142
|
});
|
|
1104
1143
|
}
|
|
1105
1144
|
function hi(e, t) {
|
|
1106
1145
|
if (!t.customMerge)
|
|
1107
|
-
return
|
|
1146
|
+
return Ce;
|
|
1108
1147
|
var r = t.customMerge(e);
|
|
1109
|
-
return typeof r == "function" ? r :
|
|
1148
|
+
return typeof r == "function" ? r : Ce;
|
|
1110
1149
|
}
|
|
1111
1150
|
function fi(e) {
|
|
1112
1151
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1113
1152
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1114
1153
|
}) : [];
|
|
1115
1154
|
}
|
|
1116
|
-
function
|
|
1155
|
+
function sr(e) {
|
|
1117
1156
|
return Object.keys(e).concat(fi(e));
|
|
1118
1157
|
}
|
|
1119
|
-
function
|
|
1158
|
+
function Gr(e, t) {
|
|
1120
1159
|
try {
|
|
1121
1160
|
return t in e;
|
|
1122
1161
|
} catch (r) {
|
|
@@ -1124,179 +1163,129 @@ function kr(e, t) {
|
|
|
1124
1163
|
}
|
|
1125
1164
|
}
|
|
1126
1165
|
function pi(e, t) {
|
|
1127
|
-
return
|
|
1166
|
+
return Gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1128
1167
|
}
|
|
1129
1168
|
function di(e, t, r) {
|
|
1130
1169
|
var n = {};
|
|
1131
|
-
return r.isMergeableObject(e) &&
|
|
1132
|
-
n[i] =
|
|
1133
|
-
}),
|
|
1134
|
-
pi(e, i) || (
|
|
1170
|
+
return r.isMergeableObject(e) && sr(e).forEach(function(i) {
|
|
1171
|
+
n[i] = ze(e[i], r);
|
|
1172
|
+
}), sr(t).forEach(function(i) {
|
|
1173
|
+
pi(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = hi(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
|
|
1135
1174
|
}), n;
|
|
1136
1175
|
}
|
|
1137
|
-
function
|
|
1138
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified =
|
|
1176
|
+
function Ce(e, t, r) {
|
|
1177
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified = ze;
|
|
1139
1178
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1140
|
-
return o ? n ? r.arrayMerge(e, t, r) : di(e, t, r) :
|
|
1179
|
+
return o ? n ? r.arrayMerge(e, t, r) : di(e, t, r) : ze(t, r);
|
|
1141
1180
|
}
|
|
1142
|
-
|
|
1181
|
+
Ce.all = function(t, r) {
|
|
1143
1182
|
if (!Array.isArray(t))
|
|
1144
1183
|
throw new Error("first argument should be an array");
|
|
1145
1184
|
return t.reduce(function(n, i) {
|
|
1146
|
-
return
|
|
1185
|
+
return Ce(n, i, r);
|
|
1147
1186
|
}, {});
|
|
1148
1187
|
};
|
|
1149
|
-
var mi =
|
|
1188
|
+
var mi = Ce, bi = mi;
|
|
1150
1189
|
const gi = /* @__PURE__ */ ri(bi);
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
r.__proto__ = n;
|
|
1154
|
-
} || function(r, n) {
|
|
1155
|
-
for (var i in n)
|
|
1156
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1157
|
-
}, Mt(e, t);
|
|
1158
|
-
};
|
|
1159
|
-
function pt(e, t) {
|
|
1160
|
-
if (typeof t != "function" && t !== null)
|
|
1161
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1162
|
-
Mt(e, t);
|
|
1163
|
-
function r() {
|
|
1164
|
-
this.constructor = e;
|
|
1165
|
-
}
|
|
1166
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1167
|
-
}
|
|
1168
|
-
var re = function() {
|
|
1169
|
-
return re = Object.assign || function(t) {
|
|
1170
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1171
|
-
r = arguments[n];
|
|
1172
|
-
for (var o in r)
|
|
1173
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1174
|
-
}
|
|
1175
|
-
return t;
|
|
1176
|
-
}, re.apply(this, arguments);
|
|
1177
|
-
};
|
|
1178
|
-
function yi(e, t) {
|
|
1179
|
-
var r = {};
|
|
1180
|
-
for (var n in e)
|
|
1181
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1182
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1183
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1184
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1185
|
-
return r;
|
|
1186
|
-
}
|
|
1187
|
-
function _t(e, t, r) {
|
|
1188
|
-
if (r || arguments.length === 2)
|
|
1189
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1190
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1191
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1192
|
-
}
|
|
1193
|
-
function Et(e, t) {
|
|
1194
|
-
var r = t && t.cache ? t.cache : wi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
|
|
1190
|
+
function vt(e, t) {
|
|
1191
|
+
var r = t && t.cache ? t.cache : Si, n = t && t.serializer ? t.serializer : xi, i = t && t.strategy ? t.strategy : vi;
|
|
1195
1192
|
return i(e, {
|
|
1196
1193
|
cache: r,
|
|
1197
1194
|
serializer: n
|
|
1198
1195
|
});
|
|
1199
1196
|
}
|
|
1200
|
-
function
|
|
1197
|
+
function yi(e) {
|
|
1201
1198
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1202
1199
|
}
|
|
1203
|
-
function
|
|
1204
|
-
var i =
|
|
1200
|
+
function kr(e, t, r, n) {
|
|
1201
|
+
var i = yi(n) ? n : r(n), o = t.get(i);
|
|
1205
1202
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1206
1203
|
}
|
|
1207
1204
|
function jr(e, t, r) {
|
|
1208
1205
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1209
1206
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1210
1207
|
}
|
|
1211
|
-
function
|
|
1208
|
+
function jt(e, t, r, n, i) {
|
|
1212
1209
|
return r.bind(t, e, n, i);
|
|
1213
1210
|
}
|
|
1214
|
-
function
|
|
1215
|
-
var r = e.length === 1 ?
|
|
1216
|
-
return
|
|
1211
|
+
function vi(e, t) {
|
|
1212
|
+
var r = e.length === 1 ? kr : jr;
|
|
1213
|
+
return jt(e, this, r, t.cache.create(), t.serializer);
|
|
1217
1214
|
}
|
|
1218
|
-
function
|
|
1219
|
-
return
|
|
1215
|
+
function _i(e, t) {
|
|
1216
|
+
return jt(e, this, jr, t.cache.create(), t.serializer);
|
|
1220
1217
|
}
|
|
1221
|
-
|
|
1218
|
+
function Ei(e, t) {
|
|
1219
|
+
return jt(e, this, kr, t.cache.create(), t.serializer);
|
|
1220
|
+
}
|
|
1221
|
+
var xi = function() {
|
|
1222
1222
|
return JSON.stringify(arguments);
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
}()
|
|
1235
|
-
), wi = {
|
|
1223
|
+
};
|
|
1224
|
+
function Ft() {
|
|
1225
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1226
|
+
}
|
|
1227
|
+
Ft.prototype.get = function(e) {
|
|
1228
|
+
return this.cache[e];
|
|
1229
|
+
};
|
|
1230
|
+
Ft.prototype.set = function(e, t) {
|
|
1231
|
+
this.cache[e] = t;
|
|
1232
|
+
};
|
|
1233
|
+
var Si = {
|
|
1236
1234
|
create: function() {
|
|
1237
|
-
return new
|
|
1235
|
+
return new Ft();
|
|
1238
1236
|
}
|
|
1239
|
-
},
|
|
1240
|
-
variadic:
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1244
|
-
r = arguments[n];
|
|
1245
|
-
for (var o in r)
|
|
1246
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1247
|
-
}
|
|
1248
|
-
return t;
|
|
1249
|
-
}, ut.apply(this, arguments);
|
|
1250
|
-
};
|
|
1251
|
-
var T;
|
|
1237
|
+
}, _t = {
|
|
1238
|
+
variadic: _i,
|
|
1239
|
+
monadic: Ei
|
|
1240
|
+
}, T;
|
|
1252
1241
|
(function(e) {
|
|
1253
1242
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1254
1243
|
})(T || (T = {}));
|
|
1255
|
-
var
|
|
1244
|
+
var P;
|
|
1256
1245
|
(function(e) {
|
|
1257
1246
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1258
|
-
})(
|
|
1259
|
-
var
|
|
1247
|
+
})(P || (P = {}));
|
|
1248
|
+
var Ie;
|
|
1260
1249
|
(function(e) {
|
|
1261
1250
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1262
|
-
})(
|
|
1263
|
-
function
|
|
1264
|
-
return e.type ===
|
|
1251
|
+
})(Ie || (Ie = {}));
|
|
1252
|
+
function ar(e) {
|
|
1253
|
+
return e.type === P.literal;
|
|
1265
1254
|
}
|
|
1266
|
-
function
|
|
1267
|
-
return e.type ===
|
|
1255
|
+
function Ti(e) {
|
|
1256
|
+
return e.type === P.argument;
|
|
1268
1257
|
}
|
|
1269
1258
|
function Fr(e) {
|
|
1270
|
-
return e.type ===
|
|
1259
|
+
return e.type === P.number;
|
|
1260
|
+
}
|
|
1261
|
+
function $r(e) {
|
|
1262
|
+
return e.type === P.date;
|
|
1271
1263
|
}
|
|
1272
1264
|
function Vr(e) {
|
|
1273
|
-
return e.type ===
|
|
1265
|
+
return e.type === P.time;
|
|
1274
1266
|
}
|
|
1275
1267
|
function Wr(e) {
|
|
1276
|
-
return e.type ===
|
|
1268
|
+
return e.type === P.select;
|
|
1277
1269
|
}
|
|
1278
1270
|
function Xr(e) {
|
|
1279
|
-
return e.type ===
|
|
1271
|
+
return e.type === P.plural;
|
|
1280
1272
|
}
|
|
1281
|
-
function
|
|
1282
|
-
return e.type ===
|
|
1273
|
+
function wi(e) {
|
|
1274
|
+
return e.type === P.pound;
|
|
1283
1275
|
}
|
|
1284
|
-
function
|
|
1285
|
-
return e.type ===
|
|
1276
|
+
function zr(e) {
|
|
1277
|
+
return e.type === P.tag;
|
|
1286
1278
|
}
|
|
1287
1279
|
function Jr(e) {
|
|
1288
|
-
return e.type ===
|
|
1280
|
+
return !!(e && typeof e == "object" && e.type === Ie.number);
|
|
1289
1281
|
}
|
|
1290
|
-
function
|
|
1291
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1282
|
+
function It(e) {
|
|
1283
|
+
return !!(e && typeof e == "object" && e.type === Ie.dateTime);
|
|
1292
1284
|
}
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
}
|
|
1296
|
-
var Qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1297
|
-
function Pi(e) {
|
|
1285
|
+
var Zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1286
|
+
function Ai(e) {
|
|
1298
1287
|
var t = {};
|
|
1299
|
-
return e.replace(
|
|
1288
|
+
return e.replace(Hi, function(r) {
|
|
1300
1289
|
var n = r.length;
|
|
1301
1290
|
switch (r[0]) {
|
|
1302
1291
|
case "G":
|
|
@@ -1385,21 +1374,11 @@ function Pi(e) {
|
|
|
1385
1374
|
return "";
|
|
1386
1375
|
}), t;
|
|
1387
1376
|
}
|
|
1388
|
-
var
|
|
1389
|
-
|
|
1390
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1391
|
-
r = arguments[n];
|
|
1392
|
-
for (var o in r)
|
|
1393
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1394
|
-
}
|
|
1395
|
-
return t;
|
|
1396
|
-
}, L.apply(this, arguments);
|
|
1397
|
-
};
|
|
1398
|
-
var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1399
|
-
function Li(e) {
|
|
1377
|
+
var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1378
|
+
function Pi(e) {
|
|
1400
1379
|
if (e.length === 0)
|
|
1401
1380
|
throw new Error("Number skeleton cannot be empty");
|
|
1402
|
-
for (var t = e.split(
|
|
1381
|
+
for (var t = e.split(Bi).filter(function(p) {
|
|
1403
1382
|
return p.length > 0;
|
|
1404
1383
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1405
1384
|
var o = i[n], s = o.split("/");
|
|
@@ -1414,17 +1393,17 @@ function Li(e) {
|
|
|
1414
1393
|
}
|
|
1415
1394
|
return r;
|
|
1416
1395
|
}
|
|
1417
|
-
function
|
|
1396
|
+
function Li(e) {
|
|
1418
1397
|
return e.replace(/^(.*?)-/, "");
|
|
1419
1398
|
}
|
|
1420
|
-
var
|
|
1421
|
-
function
|
|
1399
|
+
var ur = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
|
|
1400
|
+
function lr(e) {
|
|
1422
1401
|
var t = {};
|
|
1423
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1402
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
|
|
1424
1403
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1425
1404
|
}), t;
|
|
1426
1405
|
}
|
|
1427
|
-
function
|
|
1406
|
+
function qr(e) {
|
|
1428
1407
|
switch (e) {
|
|
1429
1408
|
case "sign-auto":
|
|
1430
1409
|
return {
|
|
@@ -1464,7 +1443,7 @@ function Kr(e) {
|
|
|
1464
1443
|
};
|
|
1465
1444
|
}
|
|
1466
1445
|
}
|
|
1467
|
-
function
|
|
1446
|
+
function Ii(e) {
|
|
1468
1447
|
var t;
|
|
1469
1448
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1470
1449
|
notation: "engineering"
|
|
@@ -1472,17 +1451,17 @@ function Ni(e) {
|
|
|
1472
1451
|
notation: "scientific"
|
|
1473
1452
|
}, e = e.slice(1)), t) {
|
|
1474
1453
|
var r = e.slice(0, 2);
|
|
1475
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1454
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
|
|
1476
1455
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1477
1456
|
t.minimumIntegerDigits = e.length;
|
|
1478
1457
|
}
|
|
1479
1458
|
return t;
|
|
1480
1459
|
}
|
|
1481
|
-
function
|
|
1482
|
-
var t = {}, r =
|
|
1460
|
+
function cr(e) {
|
|
1461
|
+
var t = {}, r = qr(e);
|
|
1483
1462
|
return r || t;
|
|
1484
1463
|
}
|
|
1485
|
-
function
|
|
1464
|
+
function Oi(e) {
|
|
1486
1465
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1487
1466
|
var i = n[r];
|
|
1488
1467
|
switch (i.stem) {
|
|
@@ -1506,7 +1485,7 @@ function Mi(e) {
|
|
|
1506
1485
|
continue;
|
|
1507
1486
|
case "measure-unit":
|
|
1508
1487
|
case "unit":
|
|
1509
|
-
t.style = "unit", t.unit =
|
|
1488
|
+
t.style = "unit", t.unit = Li(i.options[0]);
|
|
1510
1489
|
continue;
|
|
1511
1490
|
case "compact-short":
|
|
1512
1491
|
case "K":
|
|
@@ -1517,13 +1496,13 @@ function Mi(e) {
|
|
|
1517
1496
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1518
1497
|
continue;
|
|
1519
1498
|
case "scientific":
|
|
1520
|
-
t =
|
|
1521
|
-
return
|
|
1499
|
+
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1500
|
+
return B(B({}, l), cr(u));
|
|
1522
1501
|
}, {}));
|
|
1523
1502
|
continue;
|
|
1524
1503
|
case "engineering":
|
|
1525
|
-
t =
|
|
1526
|
-
return
|
|
1504
|
+
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1505
|
+
return B(B({}, l), cr(u));
|
|
1527
1506
|
}, {}));
|
|
1528
1507
|
continue;
|
|
1529
1508
|
case "notation-simple":
|
|
@@ -1568,7 +1547,7 @@ function Mi(e) {
|
|
|
1568
1547
|
case "integer-width":
|
|
1569
1548
|
if (i.options.length > 1)
|
|
1570
1549
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1571
|
-
i.options[0].replace(
|
|
1550
|
+
i.options[0].replace(Ci, function(l, u, c, f, p, g) {
|
|
1572
1551
|
if (u)
|
|
1573
1552
|
t.minimumIntegerDigits = c.length;
|
|
1574
1553
|
else {
|
|
@@ -1581,28 +1560,28 @@ function Mi(e) {
|
|
|
1581
1560
|
});
|
|
1582
1561
|
continue;
|
|
1583
1562
|
}
|
|
1584
|
-
if (
|
|
1563
|
+
if (Yr.test(i.stem)) {
|
|
1585
1564
|
t.minimumIntegerDigits = i.stem.length;
|
|
1586
1565
|
continue;
|
|
1587
1566
|
}
|
|
1588
|
-
if (
|
|
1567
|
+
if (ur.test(i.stem)) {
|
|
1589
1568
|
if (i.options.length > 1)
|
|
1590
1569
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1591
|
-
i.stem.replace(
|
|
1570
|
+
i.stem.replace(ur, function(l, u, c, f, p, g) {
|
|
1592
1571
|
return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && g ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1593
1572
|
});
|
|
1594
1573
|
var o = i.options[0];
|
|
1595
|
-
o === "w" ? t =
|
|
1574
|
+
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), lr(o)));
|
|
1596
1575
|
continue;
|
|
1597
1576
|
}
|
|
1598
|
-
if (
|
|
1599
|
-
t =
|
|
1577
|
+
if (Qr.test(i.stem)) {
|
|
1578
|
+
t = B(B({}, t), lr(i.stem));
|
|
1600
1579
|
continue;
|
|
1601
1580
|
}
|
|
1602
|
-
var s =
|
|
1603
|
-
s && (t =
|
|
1604
|
-
var a =
|
|
1605
|
-
a && (t =
|
|
1581
|
+
var s = qr(i.stem);
|
|
1582
|
+
s && (t = B(B({}, t), s));
|
|
1583
|
+
var a = Ii(i.stem);
|
|
1584
|
+
a && (t = B(B({}, t), a));
|
|
1606
1585
|
}
|
|
1607
1586
|
return t;
|
|
1608
1587
|
}
|
|
@@ -3021,13 +3000,13 @@ var nt = {
|
|
|
3021
3000
|
"h"
|
|
3022
3001
|
]
|
|
3023
3002
|
};
|
|
3024
|
-
function
|
|
3003
|
+
function Ni(e, t) {
|
|
3025
3004
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3026
3005
|
var i = e.charAt(n);
|
|
3027
3006
|
if (i === "j") {
|
|
3028
3007
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3029
3008
|
o++, n++;
|
|
3030
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3009
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Mi(t);
|
|
3031
3010
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3032
3011
|
r += l;
|
|
3033
3012
|
for (; s-- > 0; )
|
|
@@ -3037,7 +3016,7 @@ function Ri(e, t) {
|
|
|
3037
3016
|
}
|
|
3038
3017
|
return r;
|
|
3039
3018
|
}
|
|
3040
|
-
function
|
|
3019
|
+
function Mi(e) {
|
|
3041
3020
|
var t = e.hourCycle;
|
|
3042
3021
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3043
3022
|
e.hourCycles && // @ts-ignore
|
|
@@ -3059,20 +3038,20 @@ function Ui(e) {
|
|
|
3059
3038
|
var i = nt[n || ""] || nt[r || ""] || nt["".concat(r, "-001")] || nt["001"];
|
|
3060
3039
|
return i[0];
|
|
3061
3040
|
}
|
|
3062
|
-
var
|
|
3041
|
+
var Et, Ri = new RegExp("^".concat(Zr.source, "*")), Ui = new RegExp("".concat(Zr.source, "*$"));
|
|
3063
3042
|
function A(e, t) {
|
|
3064
3043
|
return { start: e, end: t };
|
|
3065
3044
|
}
|
|
3066
|
-
var
|
|
3045
|
+
var Di = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, ki = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, $i = !!String.prototype.trimEnd, Vi = !!Number.isSafeInteger, Wi = Vi ? Number.isSafeInteger : function(e) {
|
|
3067
3046
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3068
|
-
},
|
|
3047
|
+
}, Ot = !0;
|
|
3069
3048
|
try {
|
|
3070
|
-
var
|
|
3071
|
-
|
|
3049
|
+
var Xi = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3050
|
+
Ot = ((Et = Xi.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
3072
3051
|
} catch (e) {
|
|
3073
|
-
|
|
3052
|
+
Ot = !1;
|
|
3074
3053
|
}
|
|
3075
|
-
var
|
|
3054
|
+
var hr = Di ? (
|
|
3076
3055
|
// Native
|
|
3077
3056
|
function(t, r, n) {
|
|
3078
3057
|
return t.startsWith(r, n);
|
|
@@ -3082,7 +3061,7 @@ var pr = ki ? (
|
|
|
3082
3061
|
function(t, r, n) {
|
|
3083
3062
|
return t.slice(n, n + r.length) === r;
|
|
3084
3063
|
}
|
|
3085
|
-
),
|
|
3064
|
+
), Nt = Gi ? String.fromCodePoint : (
|
|
3086
3065
|
// IE11
|
|
3087
3066
|
function() {
|
|
3088
3067
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3094,9 +3073,9 @@ var pr = ki ? (
|
|
|
3094
3073
|
}
|
|
3095
3074
|
return n;
|
|
3096
3075
|
}
|
|
3097
|
-
),
|
|
3076
|
+
), fr = (
|
|
3098
3077
|
// native
|
|
3099
|
-
|
|
3078
|
+
ki ? Object.fromEntries : (
|
|
3100
3079
|
// Ponyfill
|
|
3101
3080
|
function(t) {
|
|
3102
3081
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3106,7 +3085,7 @@ var pr = ki ? (
|
|
|
3106
3085
|
return r;
|
|
3107
3086
|
}
|
|
3108
3087
|
)
|
|
3109
|
-
),
|
|
3088
|
+
), Kr = ji ? (
|
|
3110
3089
|
// Native
|
|
3111
3090
|
function(t, r) {
|
|
3112
3091
|
return t.codePointAt(r);
|
|
@@ -3120,7 +3099,7 @@ var pr = ki ? (
|
|
|
3120
3099
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3121
3100
|
}
|
|
3122
3101
|
}
|
|
3123
|
-
),
|
|
3102
|
+
), zi = Fi ? (
|
|
3124
3103
|
// Native
|
|
3125
3104
|
function(t) {
|
|
3126
3105
|
return t.trimStart();
|
|
@@ -3128,9 +3107,9 @@ var pr = ki ? (
|
|
|
3128
3107
|
) : (
|
|
3129
3108
|
// Ponyfill
|
|
3130
3109
|
function(t) {
|
|
3131
|
-
return t.replace(
|
|
3110
|
+
return t.replace(Ri, "");
|
|
3132
3111
|
}
|
|
3133
|
-
),
|
|
3112
|
+
), Ji = $i ? (
|
|
3134
3113
|
// Native
|
|
3135
3114
|
function(t) {
|
|
3136
3115
|
return t.trimEnd();
|
|
@@ -3138,32 +3117,32 @@ var pr = ki ? (
|
|
|
3138
3117
|
) : (
|
|
3139
3118
|
// Ponyfill
|
|
3140
3119
|
function(t) {
|
|
3141
|
-
return t.replace(
|
|
3120
|
+
return t.replace(Ui, "");
|
|
3142
3121
|
}
|
|
3143
3122
|
);
|
|
3144
|
-
function
|
|
3123
|
+
function en(e, t) {
|
|
3145
3124
|
return new RegExp(e, t);
|
|
3146
3125
|
}
|
|
3147
|
-
var
|
|
3148
|
-
if (
|
|
3149
|
-
var
|
|
3150
|
-
|
|
3126
|
+
var Mt;
|
|
3127
|
+
if (Ot) {
|
|
3128
|
+
var pr = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3129
|
+
Mt = function(t, r) {
|
|
3151
3130
|
var n;
|
|
3152
|
-
|
|
3153
|
-
var i =
|
|
3131
|
+
pr.lastIndex = r;
|
|
3132
|
+
var i = pr.exec(t);
|
|
3154
3133
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3155
3134
|
};
|
|
3156
3135
|
} else
|
|
3157
|
-
|
|
3136
|
+
Mt = function(t, r) {
|
|
3158
3137
|
for (var n = []; ; ) {
|
|
3159
|
-
var i =
|
|
3160
|
-
if (i === void 0 ||
|
|
3138
|
+
var i = Kr(t, r);
|
|
3139
|
+
if (i === void 0 || tn(i) || qi(i))
|
|
3161
3140
|
break;
|
|
3162
3141
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3163
3142
|
}
|
|
3164
|
-
return
|
|
3143
|
+
return Nt.apply(void 0, n);
|
|
3165
3144
|
};
|
|
3166
|
-
var
|
|
3145
|
+
var Zi = (
|
|
3167
3146
|
/** @class */
|
|
3168
3147
|
function() {
|
|
3169
3148
|
function e(t, r) {
|
|
@@ -3187,14 +3166,14 @@ var Yi = (
|
|
|
3187
3166
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3188
3167
|
var a = this.clonePosition();
|
|
3189
3168
|
this.bump(), i.push({
|
|
3190
|
-
type:
|
|
3169
|
+
type: P.pound,
|
|
3191
3170
|
location: A(a, this.clonePosition())
|
|
3192
3171
|
});
|
|
3193
3172
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3194
3173
|
if (n)
|
|
3195
3174
|
break;
|
|
3196
3175
|
return this.error(T.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
3197
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3176
|
+
} else if (o === 60 && !this.ignoreTag && Rt(this.peek() || 0)) {
|
|
3198
3177
|
var s = this.parseTag(t, r);
|
|
3199
3178
|
if (s.err)
|
|
3200
3179
|
return s;
|
|
@@ -3215,7 +3194,7 @@ var Yi = (
|
|
|
3215
3194
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3216
3195
|
return {
|
|
3217
3196
|
val: {
|
|
3218
|
-
type:
|
|
3197
|
+
type: P.literal,
|
|
3219
3198
|
value: "<".concat(i, "/>"),
|
|
3220
3199
|
location: A(n, this.clonePosition())
|
|
3221
3200
|
},
|
|
@@ -3227,12 +3206,12 @@ var Yi = (
|
|
|
3227
3206
|
return o;
|
|
3228
3207
|
var s = o.val, a = this.clonePosition();
|
|
3229
3208
|
if (this.bumpIf("</")) {
|
|
3230
|
-
if (this.isEOF() || !
|
|
3209
|
+
if (this.isEOF() || !Rt(this.char()))
|
|
3231
3210
|
return this.error(T.INVALID_TAG, A(a, this.clonePosition()));
|
|
3232
3211
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3233
3212
|
return i !== u ? this.error(T.UNMATCHED_CLOSING_TAG, A(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3234
3213
|
val: {
|
|
3235
|
-
type:
|
|
3214
|
+
type: P.tag,
|
|
3236
3215
|
value: i,
|
|
3237
3216
|
children: s,
|
|
3238
3217
|
location: A(n, this.clonePosition())
|
|
@@ -3245,7 +3224,7 @@ var Yi = (
|
|
|
3245
3224
|
return this.error(T.INVALID_TAG, A(n, this.clonePosition()));
|
|
3246
3225
|
}, e.prototype.parseTagName = function() {
|
|
3247
3226
|
var t = this.offset();
|
|
3248
|
-
for (this.bump(); !this.isEOF() &&
|
|
3227
|
+
for (this.bump(); !this.isEOF() && Yi(this.char()); )
|
|
3249
3228
|
this.bump();
|
|
3250
3229
|
return this.message.slice(t, this.offset());
|
|
3251
3230
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3269,12 +3248,12 @@ var Yi = (
|
|
|
3269
3248
|
}
|
|
3270
3249
|
var l = A(n, this.clonePosition());
|
|
3271
3250
|
return {
|
|
3272
|
-
val: { type:
|
|
3251
|
+
val: { type: P.literal, value: i, location: l },
|
|
3273
3252
|
err: null
|
|
3274
3253
|
};
|
|
3275
3254
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3276
3255
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3277
|
-
!
|
|
3256
|
+
!Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3278
3257
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3279
3258
|
if (this.isEOF() || this.char() !== 39)
|
|
3280
3259
|
return null;
|
|
@@ -3308,12 +3287,12 @@ var Yi = (
|
|
|
3308
3287
|
r.push(n);
|
|
3309
3288
|
this.bump();
|
|
3310
3289
|
}
|
|
3311
|
-
return
|
|
3290
|
+
return Nt.apply(void 0, r);
|
|
3312
3291
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3313
3292
|
if (this.isEOF())
|
|
3314
3293
|
return null;
|
|
3315
3294
|
var n = this.char();
|
|
3316
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3295
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Nt(n));
|
|
3317
3296
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3318
3297
|
var n = this.clonePosition();
|
|
3319
3298
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3329,7 +3308,7 @@ var Yi = (
|
|
|
3329
3308
|
case 125:
|
|
3330
3309
|
return this.bump(), {
|
|
3331
3310
|
val: {
|
|
3332
|
-
type:
|
|
3311
|
+
type: P.argument,
|
|
3333
3312
|
// value does not include the opening and closing braces.
|
|
3334
3313
|
value: i,
|
|
3335
3314
|
location: A(n, this.clonePosition())
|
|
@@ -3342,7 +3321,7 @@ var Yi = (
|
|
|
3342
3321
|
return this.error(T.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
3343
3322
|
}
|
|
3344
3323
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3345
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3324
|
+
var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
|
|
3346
3325
|
this.bumpTo(i);
|
|
3347
3326
|
var o = this.clonePosition(), s = A(t, o);
|
|
3348
3327
|
return { value: n, location: s };
|
|
@@ -3361,7 +3340,7 @@ var Yi = (
|
|
|
3361
3340
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3362
3341
|
if (f.err)
|
|
3363
3342
|
return f;
|
|
3364
|
-
var p =
|
|
3343
|
+
var p = Ji(f.val);
|
|
3365
3344
|
if (p.length === 0)
|
|
3366
3345
|
return this.error(T.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
3367
3346
|
var g = A(c, this.clonePosition());
|
|
@@ -3371,25 +3350,25 @@ var Yi = (
|
|
|
3371
3350
|
if (v.err)
|
|
3372
3351
|
return v;
|
|
3373
3352
|
var _ = A(i, this.clonePosition());
|
|
3374
|
-
if (u &&
|
|
3375
|
-
var y =
|
|
3353
|
+
if (u && hr(u == null ? void 0 : u.style, "::", 0)) {
|
|
3354
|
+
var y = zi(u.style.slice(2));
|
|
3376
3355
|
if (a === "number") {
|
|
3377
3356
|
var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
|
|
3378
3357
|
return f.err ? f : {
|
|
3379
|
-
val: { type:
|
|
3358
|
+
val: { type: P.number, value: n, location: _, style: f.val },
|
|
3380
3359
|
err: null
|
|
3381
3360
|
};
|
|
3382
3361
|
} else {
|
|
3383
3362
|
if (y.length === 0)
|
|
3384
3363
|
return this.error(T.EXPECT_DATE_TIME_SKELETON, _);
|
|
3385
3364
|
var S = y;
|
|
3386
|
-
this.locale && (S =
|
|
3365
|
+
this.locale && (S = Ni(y, this.locale));
|
|
3387
3366
|
var p = {
|
|
3388
|
-
type:
|
|
3367
|
+
type: Ie.dateTime,
|
|
3389
3368
|
pattern: S,
|
|
3390
3369
|
location: u.styleLocation,
|
|
3391
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3392
|
-
}, b = a === "date" ?
|
|
3370
|
+
parsedOptions: this.shouldParseSkeletons ? Ai(S) : {}
|
|
3371
|
+
}, b = a === "date" ? P.date : P.time;
|
|
3393
3372
|
return {
|
|
3394
3373
|
val: { type: b, value: n, location: _, style: p },
|
|
3395
3374
|
err: null
|
|
@@ -3398,7 +3377,7 @@ var Yi = (
|
|
|
3398
3377
|
}
|
|
3399
3378
|
return {
|
|
3400
3379
|
val: {
|
|
3401
|
-
type: a === "number" ?
|
|
3380
|
+
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3402
3381
|
value: n,
|
|
3403
3382
|
location: _,
|
|
3404
3383
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3411,7 +3390,7 @@ var Yi = (
|
|
|
3411
3390
|
case "select": {
|
|
3412
3391
|
var w = this.clonePosition();
|
|
3413
3392
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3414
|
-
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, A(w,
|
|
3393
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, A(w, B({}, w)));
|
|
3415
3394
|
this.bumpSpace();
|
|
3416
3395
|
var N = this.parseIdentifierIfPossible(), G = 0;
|
|
3417
3396
|
if (a !== "select" && N.value === "offset") {
|
|
@@ -3429,23 +3408,23 @@ var Yi = (
|
|
|
3429
3408
|
var v = this.tryParseArgumentClose(i);
|
|
3430
3409
|
if (v.err)
|
|
3431
3410
|
return v;
|
|
3432
|
-
var
|
|
3411
|
+
var re = A(i, this.clonePosition());
|
|
3433
3412
|
return a === "select" ? {
|
|
3434
3413
|
val: {
|
|
3435
|
-
type:
|
|
3414
|
+
type: P.select,
|
|
3436
3415
|
value: n,
|
|
3437
|
-
options:
|
|
3438
|
-
location:
|
|
3416
|
+
options: fr(k.val),
|
|
3417
|
+
location: re
|
|
3439
3418
|
},
|
|
3440
3419
|
err: null
|
|
3441
3420
|
} : {
|
|
3442
3421
|
val: {
|
|
3443
|
-
type:
|
|
3422
|
+
type: P.plural,
|
|
3444
3423
|
value: n,
|
|
3445
|
-
options:
|
|
3424
|
+
options: fr(k.val),
|
|
3446
3425
|
offset: G,
|
|
3447
3426
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3448
|
-
location:
|
|
3427
|
+
location: re
|
|
3449
3428
|
},
|
|
3450
3429
|
err: null
|
|
3451
3430
|
};
|
|
@@ -3493,16 +3472,16 @@ var Yi = (
|
|
|
3493
3472
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3494
3473
|
var n = [];
|
|
3495
3474
|
try {
|
|
3496
|
-
n =
|
|
3475
|
+
n = Pi(t);
|
|
3497
3476
|
} catch (i) {
|
|
3498
3477
|
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
3499
3478
|
}
|
|
3500
3479
|
return {
|
|
3501
3480
|
val: {
|
|
3502
|
-
type:
|
|
3481
|
+
type: Ie.number,
|
|
3503
3482
|
tokens: n,
|
|
3504
3483
|
location: r,
|
|
3505
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3484
|
+
parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
|
|
3506
3485
|
},
|
|
3507
3486
|
err: null
|
|
3508
3487
|
};
|
|
@@ -3550,7 +3529,7 @@ var Yi = (
|
|
|
3550
3529
|
break;
|
|
3551
3530
|
}
|
|
3552
3531
|
var l = A(i, this.clonePosition());
|
|
3553
|
-
return o ? (s *= n,
|
|
3532
|
+
return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3554
3533
|
}, e.prototype.offset = function() {
|
|
3555
3534
|
return this.position.offset;
|
|
3556
3535
|
}, e.prototype.isEOF = function() {
|
|
@@ -3565,7 +3544,7 @@ var Yi = (
|
|
|
3565
3544
|
var t = this.position.offset;
|
|
3566
3545
|
if (t >= this.message.length)
|
|
3567
3546
|
throw Error("out of bound");
|
|
3568
|
-
var r =
|
|
3547
|
+
var r = Kr(this.message, t);
|
|
3569
3548
|
if (r === void 0)
|
|
3570
3549
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3571
3550
|
return r;
|
|
@@ -3584,7 +3563,7 @@ var Yi = (
|
|
|
3584
3563
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3585
3564
|
}
|
|
3586
3565
|
}, e.prototype.bumpIf = function(t) {
|
|
3587
|
-
if (
|
|
3566
|
+
if (hr(this.message, t, this.offset())) {
|
|
3588
3567
|
for (var r = 0; r < t.length; r++)
|
|
3589
3568
|
this.bump();
|
|
3590
3569
|
return !0;
|
|
@@ -3606,7 +3585,7 @@ var Yi = (
|
|
|
3606
3585
|
break;
|
|
3607
3586
|
}
|
|
3608
3587
|
}, e.prototype.bumpSpace = function() {
|
|
3609
|
-
for (; !this.isEOF() &&
|
|
3588
|
+
for (; !this.isEOF() && tn(this.char()); )
|
|
3610
3589
|
this.bump();
|
|
3611
3590
|
}, e.prototype.peek = function() {
|
|
3612
3591
|
if (this.isEOF())
|
|
@@ -3616,47 +3595,47 @@ var Yi = (
|
|
|
3616
3595
|
}, e;
|
|
3617
3596
|
}()
|
|
3618
3597
|
);
|
|
3619
|
-
function
|
|
3598
|
+
function Rt(e) {
|
|
3620
3599
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3621
3600
|
}
|
|
3622
|
-
function
|
|
3623
|
-
return
|
|
3601
|
+
function Qi(e) {
|
|
3602
|
+
return Rt(e) || e === 47;
|
|
3624
3603
|
}
|
|
3625
|
-
function
|
|
3604
|
+
function Yi(e) {
|
|
3626
3605
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3627
3606
|
}
|
|
3628
|
-
function
|
|
3607
|
+
function tn(e) {
|
|
3629
3608
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3630
3609
|
}
|
|
3631
|
-
function
|
|
3610
|
+
function qi(e) {
|
|
3632
3611
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3633
3612
|
}
|
|
3634
|
-
function
|
|
3613
|
+
function Ut(e) {
|
|
3635
3614
|
e.forEach(function(t) {
|
|
3636
|
-
if (delete t.location,
|
|
3615
|
+
if (delete t.location, Wr(t) || Xr(t))
|
|
3637
3616
|
for (var r in t.options)
|
|
3638
|
-
delete t.options[r].location,
|
|
3617
|
+
delete t.options[r].location, Ut(t.options[r].value);
|
|
3639
3618
|
else
|
|
3640
|
-
Fr(t) &&
|
|
3619
|
+
Fr(t) && Jr(t.style) || ($r(t) || Vr(t)) && It(t.style) ? delete t.style.location : zr(t) && Ut(t.children);
|
|
3641
3620
|
});
|
|
3642
3621
|
}
|
|
3643
|
-
function
|
|
3644
|
-
t === void 0 && (t = {}), t =
|
|
3645
|
-
var r = new
|
|
3622
|
+
function Ki(e, t) {
|
|
3623
|
+
t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3624
|
+
var r = new Zi(e, t).parse();
|
|
3646
3625
|
if (r.err) {
|
|
3647
3626
|
var n = SyntaxError(T[r.err.kind]);
|
|
3648
3627
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3649
3628
|
}
|
|
3650
|
-
return t != null && t.captureLocation ||
|
|
3629
|
+
return t != null && t.captureLocation || Ut(r.val), r.val;
|
|
3651
3630
|
}
|
|
3652
|
-
var
|
|
3631
|
+
var Oe;
|
|
3653
3632
|
(function(e) {
|
|
3654
3633
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3655
|
-
})(
|
|
3656
|
-
var
|
|
3634
|
+
})(Oe || (Oe = {}));
|
|
3635
|
+
var ft = (
|
|
3657
3636
|
/** @class */
|
|
3658
3637
|
function(e) {
|
|
3659
|
-
|
|
3638
|
+
le(t, e);
|
|
3660
3639
|
function t(r, n, i) {
|
|
3661
3640
|
var o = e.call(this, r) || this;
|
|
3662
3641
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3665,48 +3644,48 @@ var dt = (
|
|
|
3665
3644
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3666
3645
|
}, t;
|
|
3667
3646
|
}(Error)
|
|
3668
|
-
),
|
|
3647
|
+
), dr = (
|
|
3669
3648
|
/** @class */
|
|
3670
3649
|
function(e) {
|
|
3671
|
-
|
|
3650
|
+
le(t, e);
|
|
3672
3651
|
function t(r, n, i, o) {
|
|
3673
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3652
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
|
|
3674
3653
|
}
|
|
3675
3654
|
return t;
|
|
3676
|
-
}(
|
|
3677
|
-
),
|
|
3655
|
+
}(ft)
|
|
3656
|
+
), eo = (
|
|
3678
3657
|
/** @class */
|
|
3679
3658
|
function(e) {
|
|
3680
|
-
|
|
3659
|
+
le(t, e);
|
|
3681
3660
|
function t(r, n, i) {
|
|
3682
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3661
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
|
|
3683
3662
|
}
|
|
3684
3663
|
return t;
|
|
3685
|
-
}(
|
|
3686
|
-
),
|
|
3664
|
+
}(ft)
|
|
3665
|
+
), to = (
|
|
3687
3666
|
/** @class */
|
|
3688
3667
|
function(e) {
|
|
3689
|
-
|
|
3668
|
+
le(t, e);
|
|
3690
3669
|
function t(r, n) {
|
|
3691
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3670
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
|
|
3692
3671
|
}
|
|
3693
3672
|
return t;
|
|
3694
|
-
}(
|
|
3673
|
+
}(ft)
|
|
3695
3674
|
), j;
|
|
3696
3675
|
(function(e) {
|
|
3697
3676
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3698
3677
|
})(j || (j = {}));
|
|
3699
|
-
function
|
|
3678
|
+
function ro(e) {
|
|
3700
3679
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3701
3680
|
var n = t[t.length - 1];
|
|
3702
3681
|
return !n || n.type !== j.literal || r.type !== j.literal ? t.push(r) : n.value += r.value, t;
|
|
3703
3682
|
}, []);
|
|
3704
3683
|
}
|
|
3705
|
-
function
|
|
3684
|
+
function no(e) {
|
|
3706
3685
|
return typeof e == "function";
|
|
3707
3686
|
}
|
|
3708
3687
|
function st(e, t, r, n, i, o, s) {
|
|
3709
|
-
if (e.length === 1 &&
|
|
3688
|
+
if (e.length === 1 && ar(e[0]))
|
|
3710
3689
|
return [
|
|
3711
3690
|
{
|
|
3712
3691
|
type: j.literal,
|
|
@@ -3715,14 +3694,14 @@ function st(e, t, r, n, i, o, s) {
|
|
|
3715
3694
|
];
|
|
3716
3695
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3717
3696
|
var c = u[l];
|
|
3718
|
-
if (
|
|
3697
|
+
if (ar(c)) {
|
|
3719
3698
|
a.push({
|
|
3720
3699
|
type: j.literal,
|
|
3721
3700
|
value: c.value
|
|
3722
3701
|
});
|
|
3723
3702
|
continue;
|
|
3724
3703
|
}
|
|
3725
|
-
if (
|
|
3704
|
+
if (wi(c)) {
|
|
3726
3705
|
typeof o == "number" && a.push({
|
|
3727
3706
|
type: j.literal,
|
|
3728
3707
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3731,25 +3710,25 @@ function st(e, t, r, n, i, o, s) {
|
|
|
3731
3710
|
}
|
|
3732
3711
|
var f = c.value;
|
|
3733
3712
|
if (!(i && f in i))
|
|
3734
|
-
throw new
|
|
3713
|
+
throw new to(f, s);
|
|
3735
3714
|
var p = i[f];
|
|
3736
|
-
if (
|
|
3715
|
+
if (Ti(c)) {
|
|
3737
3716
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3738
3717
|
type: typeof p == "string" ? j.literal : j.object,
|
|
3739
3718
|
value: p
|
|
3740
3719
|
});
|
|
3741
3720
|
continue;
|
|
3742
3721
|
}
|
|
3743
|
-
if (
|
|
3744
|
-
var g = typeof c.style == "string" ? n.date[c.style] :
|
|
3722
|
+
if ($r(c)) {
|
|
3723
|
+
var g = typeof c.style == "string" ? n.date[c.style] : It(c.style) ? c.style.parsedOptions : void 0;
|
|
3745
3724
|
a.push({
|
|
3746
3725
|
type: j.literal,
|
|
3747
3726
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3748
3727
|
});
|
|
3749
3728
|
continue;
|
|
3750
3729
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var g = typeof c.style == "string" ? n.time[c.style] :
|
|
3730
|
+
if (Vr(c)) {
|
|
3731
|
+
var g = typeof c.style == "string" ? n.time[c.style] : It(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3753
3732
|
a.push({
|
|
3754
3733
|
type: j.literal,
|
|
3755
3734
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
@@ -3757,17 +3736,17 @@ function st(e, t, r, n, i, o, s) {
|
|
|
3757
3736
|
continue;
|
|
3758
3737
|
}
|
|
3759
3738
|
if (Fr(c)) {
|
|
3760
|
-
var g = typeof c.style == "string" ? n.number[c.style] :
|
|
3739
|
+
var g = typeof c.style == "string" ? n.number[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
|
|
3761
3740
|
g && g.scale && (p = p * (g.scale || 1)), a.push({
|
|
3762
3741
|
type: j.literal,
|
|
3763
3742
|
value: r.getNumberFormat(t, g).format(p)
|
|
3764
3743
|
});
|
|
3765
3744
|
continue;
|
|
3766
3745
|
}
|
|
3767
|
-
if (
|
|
3746
|
+
if (zr(c)) {
|
|
3768
3747
|
var v = c.children, _ = c.value, y = i[_];
|
|
3769
|
-
if (!
|
|
3770
|
-
throw new
|
|
3748
|
+
if (!no(y))
|
|
3749
|
+
throw new eo(_, "function", s);
|
|
3771
3750
|
var S = st(v, t, r, n, i, o), b = y(S.map(function(G) {
|
|
3772
3751
|
return G.value;
|
|
3773
3752
|
}));
|
|
@@ -3778,42 +3757,42 @@ function st(e, t, r, n, i, o, s) {
|
|
|
3778
3757
|
};
|
|
3779
3758
|
}));
|
|
3780
3759
|
}
|
|
3781
|
-
if (
|
|
3760
|
+
if (Wr(c)) {
|
|
3782
3761
|
var w = c.options[p] || c.options.other;
|
|
3783
3762
|
if (!w)
|
|
3784
|
-
throw new
|
|
3763
|
+
throw new dr(c.value, p, Object.keys(c.options), s);
|
|
3785
3764
|
a.push.apply(a, st(w.value, t, r, n, i));
|
|
3786
3765
|
continue;
|
|
3787
3766
|
}
|
|
3788
|
-
if (
|
|
3767
|
+
if (Xr(c)) {
|
|
3789
3768
|
var w = c.options["=".concat(p)];
|
|
3790
3769
|
if (!w) {
|
|
3791
3770
|
if (!Intl.PluralRules)
|
|
3792
|
-
throw new
|
|
3771
|
+
throw new ft(`Intl.PluralRules is not available in this environment.
|
|
3793
3772
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3794
|
-
`,
|
|
3773
|
+
`, Oe.MISSING_INTL_API, s);
|
|
3795
3774
|
var N = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3796
3775
|
w = c.options[N] || c.options.other;
|
|
3797
3776
|
}
|
|
3798
3777
|
if (!w)
|
|
3799
|
-
throw new
|
|
3778
|
+
throw new dr(c.value, p, Object.keys(c.options), s);
|
|
3800
3779
|
a.push.apply(a, st(w.value, t, r, n, i, p - (c.offset || 0)));
|
|
3801
3780
|
continue;
|
|
3802
3781
|
}
|
|
3803
3782
|
}
|
|
3804
|
-
return
|
|
3783
|
+
return ro(a);
|
|
3805
3784
|
}
|
|
3806
|
-
function
|
|
3807
|
-
return t ?
|
|
3808
|
-
return r[n] =
|
|
3785
|
+
function io(e, t) {
|
|
3786
|
+
return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3787
|
+
return r[n] = B(B({}, e[n]), t[n] || {}), r;
|
|
3809
3788
|
}, {})) : e;
|
|
3810
3789
|
}
|
|
3811
|
-
function
|
|
3790
|
+
function oo(e, t) {
|
|
3812
3791
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3813
|
-
return r[n] =
|
|
3814
|
-
},
|
|
3792
|
+
return r[n] = io(e[n], t[n]), r;
|
|
3793
|
+
}, B({}, e)) : e;
|
|
3815
3794
|
}
|
|
3816
|
-
function
|
|
3795
|
+
function xt(e) {
|
|
3817
3796
|
return {
|
|
3818
3797
|
create: function() {
|
|
3819
3798
|
return {
|
|
@@ -3827,39 +3806,39 @@ function Tt(e) {
|
|
|
3827
3806
|
}
|
|
3828
3807
|
};
|
|
3829
3808
|
}
|
|
3830
|
-
function
|
|
3809
|
+
function so(e) {
|
|
3831
3810
|
return e === void 0 && (e = {
|
|
3832
3811
|
number: {},
|
|
3833
3812
|
dateTime: {},
|
|
3834
3813
|
pluralRules: {}
|
|
3835
3814
|
}), {
|
|
3836
|
-
getNumberFormat:
|
|
3815
|
+
getNumberFormat: vt(function() {
|
|
3837
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3838
3817
|
r[n] = arguments[n];
|
|
3839
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
|
|
3840
3819
|
}, {
|
|
3841
|
-
cache:
|
|
3842
|
-
strategy:
|
|
3820
|
+
cache: xt(e.number),
|
|
3821
|
+
strategy: _t.variadic
|
|
3843
3822
|
}),
|
|
3844
|
-
getDateTimeFormat:
|
|
3823
|
+
getDateTimeFormat: vt(function() {
|
|
3845
3824
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3846
3825
|
r[n] = arguments[n];
|
|
3847
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3826
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
|
|
3848
3827
|
}, {
|
|
3849
|
-
cache:
|
|
3850
|
-
strategy:
|
|
3828
|
+
cache: xt(e.dateTime),
|
|
3829
|
+
strategy: _t.variadic
|
|
3851
3830
|
}),
|
|
3852
|
-
getPluralRules:
|
|
3831
|
+
getPluralRules: vt(function() {
|
|
3853
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3854
3833
|
r[n] = arguments[n];
|
|
3855
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
|
|
3856
3835
|
}, {
|
|
3857
|
-
cache:
|
|
3858
|
-
strategy:
|
|
3836
|
+
cache: xt(e.pluralRules),
|
|
3837
|
+
strategy: _t.variadic
|
|
3859
3838
|
})
|
|
3860
3839
|
};
|
|
3861
3840
|
}
|
|
3862
|
-
var
|
|
3841
|
+
var ao = (
|
|
3863
3842
|
/** @class */
|
|
3864
3843
|
function() {
|
|
3865
3844
|
function e(t, r, n, i) {
|
|
@@ -3891,13 +3870,13 @@ var lo = (
|
|
|
3891
3870
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3892
3871
|
var s = i || {};
|
|
3893
3872
|
s.formatters;
|
|
3894
|
-
var a =
|
|
3895
|
-
this.ast = e.__parse(t,
|
|
3873
|
+
var a = kn(s, ["formatters"]);
|
|
3874
|
+
this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
|
|
3896
3875
|
} else
|
|
3897
3876
|
this.ast = t;
|
|
3898
3877
|
if (!Array.isArray(this.ast))
|
|
3899
3878
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3900
|
-
this.formats =
|
|
3879
|
+
this.formats = oo(e.formats, n), this.formatters = i && i.formatters || so(this.formatterCache);
|
|
3901
3880
|
}
|
|
3902
3881
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3903
3882
|
get: function() {
|
|
@@ -3910,7 +3889,7 @@ var lo = (
|
|
|
3910
3889
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3911
3890
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3912
3891
|
}
|
|
3913
|
-
}, e.__parse =
|
|
3892
|
+
}, e.__parse = Ki, e.formats = {
|
|
3914
3893
|
number: {
|
|
3915
3894
|
integer: {
|
|
3916
3895
|
maximumFractionDigits: 0
|
|
@@ -3971,7 +3950,7 @@ var lo = (
|
|
|
3971
3950
|
}, e;
|
|
3972
3951
|
}()
|
|
3973
3952
|
);
|
|
3974
|
-
function
|
|
3953
|
+
function uo(e, t) {
|
|
3975
3954
|
if (t == null)
|
|
3976
3955
|
return;
|
|
3977
3956
|
if (t in e)
|
|
@@ -3992,92 +3971,92 @@ function co(e, t) {
|
|
|
3992
3971
|
n = void 0;
|
|
3993
3972
|
return n;
|
|
3994
3973
|
}
|
|
3995
|
-
const fe = {},
|
|
3974
|
+
const fe = {}, lo = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), rn = (e, t) => {
|
|
3996
3975
|
if (t == null)
|
|
3997
3976
|
return;
|
|
3998
3977
|
if (t in fe && e in fe[t])
|
|
3999
3978
|
return fe[t][e];
|
|
4000
|
-
const r =
|
|
3979
|
+
const r = pt(t);
|
|
4001
3980
|
for (let n = 0; n < r.length; n++) {
|
|
4002
|
-
const i = r[n], o =
|
|
3981
|
+
const i = r[n], o = ho(i, e);
|
|
4003
3982
|
if (o)
|
|
4004
|
-
return
|
|
3983
|
+
return lo(e, t, o);
|
|
4005
3984
|
}
|
|
4006
3985
|
};
|
|
4007
|
-
let
|
|
4008
|
-
const Qe =
|
|
4009
|
-
function
|
|
4010
|
-
return
|
|
3986
|
+
let $t;
|
|
3987
|
+
const Qe = ht({});
|
|
3988
|
+
function co(e) {
|
|
3989
|
+
return $t[e] || null;
|
|
4011
3990
|
}
|
|
4012
|
-
function
|
|
4013
|
-
return e in
|
|
3991
|
+
function nn(e) {
|
|
3992
|
+
return e in $t;
|
|
4014
3993
|
}
|
|
4015
|
-
function
|
|
4016
|
-
if (!
|
|
3994
|
+
function ho(e, t) {
|
|
3995
|
+
if (!nn(e))
|
|
4017
3996
|
return null;
|
|
4018
|
-
const r =
|
|
4019
|
-
return
|
|
3997
|
+
const r = co(e);
|
|
3998
|
+
return uo(r, t);
|
|
4020
3999
|
}
|
|
4021
|
-
function
|
|
4000
|
+
function fo(e) {
|
|
4022
4001
|
if (e == null)
|
|
4023
4002
|
return;
|
|
4024
|
-
const t =
|
|
4003
|
+
const t = pt(e);
|
|
4025
4004
|
for (let r = 0; r < t.length; r++) {
|
|
4026
4005
|
const n = t[r];
|
|
4027
|
-
if (
|
|
4006
|
+
if (nn(n))
|
|
4028
4007
|
return n;
|
|
4029
4008
|
}
|
|
4030
4009
|
}
|
|
4031
|
-
function
|
|
4010
|
+
function on(e, ...t) {
|
|
4032
4011
|
delete fe[e], Qe.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
|
|
4033
4012
|
}
|
|
4034
|
-
|
|
4013
|
+
Me(
|
|
4035
4014
|
[Qe],
|
|
4036
4015
|
([e]) => Object.keys(e)
|
|
4037
4016
|
);
|
|
4038
|
-
Qe.subscribe((e) =>
|
|
4017
|
+
Qe.subscribe((e) => $t = e);
|
|
4039
4018
|
const at = {};
|
|
4040
|
-
function
|
|
4019
|
+
function po(e, t) {
|
|
4041
4020
|
at[e].delete(t), at[e].size === 0 && delete at[e];
|
|
4042
4021
|
}
|
|
4043
|
-
function
|
|
4022
|
+
function sn(e) {
|
|
4044
4023
|
return at[e];
|
|
4045
4024
|
}
|
|
4046
|
-
function
|
|
4047
|
-
return
|
|
4048
|
-
const r =
|
|
4025
|
+
function mo(e) {
|
|
4026
|
+
return pt(e).map((t) => {
|
|
4027
|
+
const r = sn(t);
|
|
4049
4028
|
return [t, r ? [...r] : []];
|
|
4050
4029
|
}).filter(([, t]) => t.length > 0);
|
|
4051
4030
|
}
|
|
4052
|
-
function
|
|
4053
|
-
return e == null ? !1 :
|
|
4031
|
+
function Dt(e) {
|
|
4032
|
+
return e == null ? !1 : pt(e).some(
|
|
4054
4033
|
(t) => {
|
|
4055
4034
|
var r;
|
|
4056
|
-
return (r =
|
|
4035
|
+
return (r = sn(t)) == null ? void 0 : r.size;
|
|
4057
4036
|
}
|
|
4058
4037
|
);
|
|
4059
4038
|
}
|
|
4060
|
-
function
|
|
4039
|
+
function bo(e, t) {
|
|
4061
4040
|
return Promise.all(
|
|
4062
|
-
t.map((n) => (
|
|
4063
|
-
).then((n) =>
|
|
4064
|
-
}
|
|
4065
|
-
const
|
|
4066
|
-
function
|
|
4067
|
-
if (
|
|
4068
|
-
return e in
|
|
4069
|
-
const t =
|
|
4070
|
-
return
|
|
4041
|
+
t.map((n) => (po(e, n), n().then((i) => i.default || i)))
|
|
4042
|
+
).then((n) => on(e, ...n));
|
|
4043
|
+
}
|
|
4044
|
+
const Ve = {};
|
|
4045
|
+
function an(e) {
|
|
4046
|
+
if (!Dt(e))
|
|
4047
|
+
return e in Ve ? Ve[e] : Promise.resolve();
|
|
4048
|
+
const t = mo(e);
|
|
4049
|
+
return Ve[e] = Promise.all(
|
|
4071
4050
|
t.map(
|
|
4072
|
-
([r, n]) =>
|
|
4051
|
+
([r, n]) => bo(r, n)
|
|
4073
4052
|
)
|
|
4074
4053
|
).then(() => {
|
|
4075
|
-
if (
|
|
4076
|
-
return
|
|
4077
|
-
delete
|
|
4078
|
-
}),
|
|
4054
|
+
if (Dt(e))
|
|
4055
|
+
return an(e);
|
|
4056
|
+
delete Ve[e];
|
|
4057
|
+
}), Ve[e];
|
|
4079
4058
|
}
|
|
4080
|
-
const
|
|
4059
|
+
const go = {
|
|
4081
4060
|
number: {
|
|
4082
4061
|
scientific: { notation: "scientific" },
|
|
4083
4062
|
engineering: { notation: "engineering" },
|
|
@@ -4106,135 +4085,135 @@ const vo = {
|
|
|
4106
4085
|
timeZoneName: "short"
|
|
4107
4086
|
}
|
|
4108
4087
|
}
|
|
4109
|
-
},
|
|
4088
|
+
}, yo = {
|
|
4110
4089
|
fallbackLocale: null,
|
|
4111
4090
|
loadingDelay: 200,
|
|
4112
|
-
formats:
|
|
4091
|
+
formats: go,
|
|
4113
4092
|
warnOnMissingMessages: !0,
|
|
4114
4093
|
handleMissingMessage: void 0,
|
|
4115
4094
|
ignoreTag: !0
|
|
4116
|
-
},
|
|
4117
|
-
function
|
|
4118
|
-
return
|
|
4095
|
+
}, vo = yo;
|
|
4096
|
+
function Ne() {
|
|
4097
|
+
return vo;
|
|
4119
4098
|
}
|
|
4120
|
-
const
|
|
4121
|
-
var
|
|
4099
|
+
const St = ht(!1);
|
|
4100
|
+
var _o = Object.defineProperty, Eo = Object.defineProperties, xo = Object.getOwnPropertyDescriptors, mr = Object.getOwnPropertySymbols, So = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, br = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wo = (e, t) => {
|
|
4122
4101
|
for (var r in t || (t = {}))
|
|
4123
|
-
|
|
4124
|
-
if (
|
|
4125
|
-
for (var r of
|
|
4126
|
-
|
|
4102
|
+
So.call(t, r) && br(e, r, t[r]);
|
|
4103
|
+
if (mr)
|
|
4104
|
+
for (var r of mr(t))
|
|
4105
|
+
To.call(t, r) && br(e, r, t[r]);
|
|
4127
4106
|
return e;
|
|
4128
|
-
},
|
|
4129
|
-
let
|
|
4130
|
-
const
|
|
4131
|
-
function
|
|
4107
|
+
}, Ho = (e, t) => Eo(e, xo(t));
|
|
4108
|
+
let Gt;
|
|
4109
|
+
const ut = ht(null);
|
|
4110
|
+
function gr(e) {
|
|
4132
4111
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4133
4112
|
}
|
|
4134
|
-
function
|
|
4135
|
-
const r =
|
|
4136
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4113
|
+
function pt(e, t = Ne().fallbackLocale) {
|
|
4114
|
+
const r = gr(e);
|
|
4115
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...gr(t)])] : r;
|
|
4137
4116
|
}
|
|
4138
4117
|
function ge() {
|
|
4139
|
-
return
|
|
4118
|
+
return Gt != null ? Gt : void 0;
|
|
4140
4119
|
}
|
|
4141
|
-
|
|
4142
|
-
|
|
4120
|
+
ut.subscribe((e) => {
|
|
4121
|
+
Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4143
4122
|
});
|
|
4144
|
-
const
|
|
4145
|
-
if (e &&
|
|
4146
|
-
const { loadingDelay: t } =
|
|
4123
|
+
const Ao = (e) => {
|
|
4124
|
+
if (e && fo(e) && Dt(e)) {
|
|
4125
|
+
const { loadingDelay: t } = Ne();
|
|
4147
4126
|
let r;
|
|
4148
4127
|
return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
|
|
4149
|
-
() =>
|
|
4128
|
+
() => St.set(!0),
|
|
4150
4129
|
t
|
|
4151
|
-
) :
|
|
4152
|
-
|
|
4130
|
+
) : St.set(!0), an(e).then(() => {
|
|
4131
|
+
ut.set(e);
|
|
4153
4132
|
}).finally(() => {
|
|
4154
|
-
clearTimeout(r),
|
|
4133
|
+
clearTimeout(r), St.set(!1);
|
|
4155
4134
|
});
|
|
4156
4135
|
}
|
|
4157
|
-
return
|
|
4158
|
-
},
|
|
4159
|
-
set:
|
|
4160
|
-
}),
|
|
4136
|
+
return ut.set(e);
|
|
4137
|
+
}, Re = Ho(wo({}, ut), {
|
|
4138
|
+
set: Ao
|
|
4139
|
+
}), dt = (e) => {
|
|
4161
4140
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4162
4141
|
return (n) => {
|
|
4163
4142
|
const i = JSON.stringify(n);
|
|
4164
4143
|
return i in t ? t[i] : t[i] = e(n);
|
|
4165
4144
|
};
|
|
4166
4145
|
};
|
|
4167
|
-
var
|
|
4146
|
+
var Bo = Object.defineProperty, lt = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
4168
4147
|
for (var r in t || (t = {}))
|
|
4169
|
-
|
|
4170
|
-
if (
|
|
4171
|
-
for (var r of
|
|
4172
|
-
|
|
4148
|
+
un.call(t, r) && yr(e, r, t[r]);
|
|
4149
|
+
if (lt)
|
|
4150
|
+
for (var r of lt(t))
|
|
4151
|
+
ln.call(t, r) && yr(e, r, t[r]);
|
|
4173
4152
|
return e;
|
|
4174
|
-
},
|
|
4153
|
+
}, Ue = (e, t) => {
|
|
4175
4154
|
var r = {};
|
|
4176
4155
|
for (var n in e)
|
|
4177
|
-
|
|
4178
|
-
if (e != null &&
|
|
4179
|
-
for (var n of
|
|
4180
|
-
t.indexOf(n) < 0 &&
|
|
4156
|
+
un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4157
|
+
if (e != null && lt)
|
|
4158
|
+
for (var n of lt(e))
|
|
4159
|
+
t.indexOf(n) < 0 && ln.call(e, n) && (r[n] = e[n]);
|
|
4181
4160
|
return r;
|
|
4182
4161
|
};
|
|
4183
|
-
const
|
|
4184
|
-
const { formats: r } =
|
|
4162
|
+
const Je = (e, t) => {
|
|
4163
|
+
const { formats: r } = Ne();
|
|
4185
4164
|
if (e in r && t in r[e])
|
|
4186
4165
|
return r[e][t];
|
|
4187
4166
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4188
|
-
},
|
|
4167
|
+
}, Po = dt(
|
|
4189
4168
|
(e) => {
|
|
4190
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4169
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4191
4170
|
if (r == null)
|
|
4192
4171
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4193
|
-
return n && (i =
|
|
4172
|
+
return n && (i = Je("number", n)), new Intl.NumberFormat(r, i);
|
|
4194
4173
|
}
|
|
4195
|
-
),
|
|
4174
|
+
), Lo = dt(
|
|
4196
4175
|
(e) => {
|
|
4197
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4176
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4198
4177
|
if (r == null)
|
|
4199
4178
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4200
|
-
return n ? i =
|
|
4179
|
+
return n ? i = Je("date", n) : Object.keys(i).length === 0 && (i = Je("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4201
4180
|
}
|
|
4202
|
-
),
|
|
4181
|
+
), Co = dt(
|
|
4203
4182
|
(e) => {
|
|
4204
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4183
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4205
4184
|
if (r == null)
|
|
4206
4185
|
throw new Error(
|
|
4207
4186
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4208
4187
|
);
|
|
4209
|
-
return n ? i =
|
|
4188
|
+
return n ? i = Je("time", n) : Object.keys(i).length === 0 && (i = Je("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4210
4189
|
}
|
|
4211
|
-
),
|
|
4190
|
+
), Io = (e = {}) => {
|
|
4212
4191
|
var t = e, {
|
|
4213
4192
|
locale: r = ge()
|
|
4214
|
-
} = t, n =
|
|
4193
|
+
} = t, n = Ue(t, [
|
|
4215
4194
|
"locale"
|
|
4216
4195
|
]);
|
|
4217
|
-
return
|
|
4218
|
-
},
|
|
4196
|
+
return Po(Vt({ locale: r }, n));
|
|
4197
|
+
}, Oo = (e = {}) => {
|
|
4219
4198
|
var t = e, {
|
|
4220
4199
|
locale: r = ge()
|
|
4221
|
-
} = t, n =
|
|
4200
|
+
} = t, n = Ue(t, [
|
|
4222
4201
|
"locale"
|
|
4223
4202
|
]);
|
|
4224
|
-
return
|
|
4225
|
-
},
|
|
4203
|
+
return Lo(Vt({ locale: r }, n));
|
|
4204
|
+
}, No = (e = {}) => {
|
|
4226
4205
|
var t = e, {
|
|
4227
4206
|
locale: r = ge()
|
|
4228
|
-
} = t, n =
|
|
4207
|
+
} = t, n = Ue(t, [
|
|
4229
4208
|
"locale"
|
|
4230
4209
|
]);
|
|
4231
|
-
return
|
|
4232
|
-
},
|
|
4210
|
+
return Co(Vt({ locale: r }, n));
|
|
4211
|
+
}, Mo = dt(
|
|
4233
4212
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4234
|
-
(e, t = ge()) => new
|
|
4235
|
-
ignoreTag:
|
|
4213
|
+
(e, t = ge()) => new ao(e, t, Ne().formats, {
|
|
4214
|
+
ignoreTag: Ne().ignoreTag
|
|
4236
4215
|
})
|
|
4237
|
-
),
|
|
4216
|
+
), Ro = (e, t = {}) => {
|
|
4238
4217
|
var r, n, i, o;
|
|
4239
4218
|
let s = t;
|
|
4240
4219
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4247,9 +4226,9 @@ const ze = (e, t) => {
|
|
|
4247
4226
|
throw new Error(
|
|
4248
4227
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4249
4228
|
);
|
|
4250
|
-
let c =
|
|
4229
|
+
let c = rn(e, l);
|
|
4251
4230
|
if (!c)
|
|
4252
|
-
c = (o = (i = (n = (r =
|
|
4231
|
+
c = (o = (i = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4253
4232
|
else if (typeof c != "string")
|
|
4254
4233
|
return console.warn(
|
|
4255
4234
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4258,7 +4237,7 @@ const ze = (e, t) => {
|
|
|
4258
4237
|
return c;
|
|
4259
4238
|
let f = c;
|
|
4260
4239
|
try {
|
|
4261
|
-
f =
|
|
4240
|
+
f = Mo(c, l).format(a);
|
|
4262
4241
|
} catch (p) {
|
|
4263
4242
|
p instanceof Error && console.warn(
|
|
4264
4243
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4266,21 +4245,21 @@ const ze = (e, t) => {
|
|
|
4266
4245
|
);
|
|
4267
4246
|
}
|
|
4268
4247
|
return f;
|
|
4269
|
-
},
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4248
|
+
}, Uo = (e, t) => No(t).format(e), Do = (e, t) => Oo(t).format(e), Go = (e, t) => Io(t).format(e), ko = (e, t = ge()) => rn(e, t);
|
|
4249
|
+
Me([Re, Qe], () => Ro);
|
|
4250
|
+
Me([Re], () => Uo);
|
|
4251
|
+
Me([Re], () => Do);
|
|
4252
|
+
Me([Re], () => Go);
|
|
4253
|
+
Me([Re, Qe], () => ko);
|
|
4275
4254
|
window.emWidgets = { topic: ei };
|
|
4276
|
-
const
|
|
4277
|
-
function
|
|
4255
|
+
const jo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4256
|
+
function Fo(e, t) {
|
|
4278
4257
|
if (e) {
|
|
4279
4258
|
const r = document.createElement("style");
|
|
4280
4259
|
r.innerHTML = t, e.appendChild(r);
|
|
4281
4260
|
}
|
|
4282
4261
|
}
|
|
4283
|
-
function
|
|
4262
|
+
function $o(e, t) {
|
|
4284
4263
|
const r = new URL(t);
|
|
4285
4264
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4286
4265
|
const i = document.createElement("style");
|
|
@@ -4289,7 +4268,7 @@ function Wo(e, t) {
|
|
|
4289
4268
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4290
4269
|
});
|
|
4291
4270
|
}
|
|
4292
|
-
function
|
|
4271
|
+
function Vo(e, t, r) {
|
|
4293
4272
|
if (window.emMessageBus) {
|
|
4294
4273
|
const n = document.createElement("style");
|
|
4295
4274
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4297,13 +4276,13 @@ function Xo(e, t, r) {
|
|
|
4297
4276
|
});
|
|
4298
4277
|
}
|
|
4299
4278
|
}
|
|
4300
|
-
function
|
|
4301
|
-
|
|
4279
|
+
function vr(e, t) {
|
|
4280
|
+
on(e, t);
|
|
4302
4281
|
}
|
|
4303
|
-
function
|
|
4304
|
-
|
|
4282
|
+
function Wo(e) {
|
|
4283
|
+
Re.set(e);
|
|
4305
4284
|
}
|
|
4306
|
-
const
|
|
4285
|
+
const _r = {
|
|
4307
4286
|
en: {
|
|
4308
4287
|
loadingText: "Loading, please wait..."
|
|
4309
4288
|
},
|
|
@@ -4341,27 +4320,27 @@ const xr = {
|
|
|
4341
4320
|
loadingText: "Loading, please wait..."
|
|
4342
4321
|
}
|
|
4343
4322
|
};
|
|
4344
|
-
function
|
|
4345
|
-
|
|
4323
|
+
function Xo(e) {
|
|
4324
|
+
gn(e, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4346
4325
|
}
|
|
4347
|
-
function
|
|
4326
|
+
function Er(e, t, r) {
|
|
4348
4327
|
const n = e.slice();
|
|
4349
4328
|
return n[55] = t[r], n[57] = r, n;
|
|
4350
4329
|
}
|
|
4351
|
-
function
|
|
4330
|
+
function zo(e) {
|
|
4352
4331
|
let t, r, n, i, o, s, a, l, u, c, f, p, g;
|
|
4353
4332
|
function v(S, b) {
|
|
4354
4333
|
return (
|
|
4355
4334
|
/*tabletView*/
|
|
4356
|
-
S[7] ?
|
|
4335
|
+
S[7] ? Qo : Yo
|
|
4357
4336
|
);
|
|
4358
4337
|
}
|
|
4359
4338
|
let _ = v(e), y = _(e);
|
|
4360
4339
|
return {
|
|
4361
4340
|
c() {
|
|
4362
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("div"), o =
|
|
4341
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("div"), o = I(), s = m("div"), y.c(), a = I(), l = m("div"), u = m("ui-image"), E(i, "class", "vendorLogo"), tt(i, "background-image", "url(" + /*vendorIcon*/
|
|
4363
4342
|
e[8] + ")"), E(s, "class", "displayContainer"), Y(u.src, c = /*titleLogoImg*/
|
|
4364
|
-
e[13]) ||
|
|
4343
|
+
e[13]) || L(u, "src", c), L(u, "alt", ""), E(l, "class", "title"), E(n, "class", f = "mainWrapper " + /*visualstructure*/
|
|
4365
4344
|
e[0] + " " + /*mobileView*/
|
|
4366
4345
|
(e[6] && !/*tabletView*/
|
|
4367
4346
|
e[7] ? "mobile" : (
|
|
@@ -4371,7 +4350,7 @@ function Zo(e) {
|
|
|
4371
4350
|
e[12] + ")"), E(r, "class", "jackpotBanner"), E(t, "class", "");
|
|
4372
4351
|
},
|
|
4373
4352
|
m(S, b) {
|
|
4374
|
-
|
|
4353
|
+
$(S, t, b), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), y.m(s, null), d(n, a), d(n, l), d(l, u), p || (g = xn(
|
|
4375
4354
|
r,
|
|
4376
4355
|
"click",
|
|
4377
4356
|
/*click_handler*/
|
|
@@ -4383,7 +4362,7 @@ function Zo(e) {
|
|
|
4383
4362
|
256 && tt(i, "background-image", "url(" + /*vendorIcon*/
|
|
4384
4363
|
S[8] + ")"), _ === (_ = v(S)) && y ? y.p(S, b) : (y.d(1), y = _(S), y && (y.c(), y.m(s, null))), b[0] & /*titleLogoImg*/
|
|
4385
4364
|
8192 && !Y(u.src, c = /*titleLogoImg*/
|
|
4386
|
-
S[13]) &&
|
|
4365
|
+
S[13]) && L(u, "src", c), b[0] & /*visualstructure, mobileView, tabletView*/
|
|
4387
4366
|
193 && f !== (f = "mainWrapper " + /*visualstructure*/
|
|
4388
4367
|
S[0] + " " + /*mobileView*/
|
|
4389
4368
|
(S[6] && !/*tabletView*/
|
|
@@ -4399,14 +4378,14 @@ function Zo(e) {
|
|
|
4399
4378
|
}
|
|
4400
4379
|
};
|
|
4401
4380
|
}
|
|
4402
|
-
function
|
|
4381
|
+
function Jo(e) {
|
|
4403
4382
|
let t;
|
|
4404
4383
|
return {
|
|
4405
4384
|
c() {
|
|
4406
4385
|
t = m("div"), E(t, "class", "LoadingSpinner");
|
|
4407
4386
|
},
|
|
4408
4387
|
m(r, n) {
|
|
4409
|
-
|
|
4388
|
+
$(r, t, n);
|
|
4410
4389
|
},
|
|
4411
4390
|
p: Z,
|
|
4412
4391
|
d(r) {
|
|
@@ -4414,14 +4393,14 @@ function Qo(e) {
|
|
|
4414
4393
|
}
|
|
4415
4394
|
};
|
|
4416
4395
|
}
|
|
4417
|
-
function
|
|
4396
|
+
function Zo(e) {
|
|
4418
4397
|
let t;
|
|
4419
4398
|
return {
|
|
4420
4399
|
c() {
|
|
4421
4400
|
t = m("p"), t.textContent = "500 Server error";
|
|
4422
4401
|
},
|
|
4423
4402
|
m(r, n) {
|
|
4424
|
-
|
|
4403
|
+
$(r, t, n);
|
|
4425
4404
|
},
|
|
4426
4405
|
p: Z,
|
|
4427
4406
|
d(r) {
|
|
@@ -4429,7 +4408,7 @@ function Yo(e) {
|
|
|
4429
4408
|
}
|
|
4430
4409
|
};
|
|
4431
4410
|
}
|
|
4432
|
-
function
|
|
4411
|
+
function Qo(e) {
|
|
4433
4412
|
let t, r, n, i, o, s, a, l = (
|
|
4434
4413
|
/*formattedLabels*/
|
|
4435
4414
|
e[10][0] + ""
|
|
@@ -4442,10 +4421,10 @@ function qo(e) {
|
|
|
4442
4421
|
/*formattedJackpotValues*/
|
|
4443
4422
|
e[9][0]
|
|
4444
4423
|
)) + ""
|
|
4445
|
-
), v, _, y, S, b, w, N, G, k,
|
|
4424
|
+
), v, _, y, S, b, w, N, G, k, re = (
|
|
4446
4425
|
/*formattedLabels*/
|
|
4447
4426
|
e[10][1] + ""
|
|
4448
|
-
), pe, ye, K, ce,
|
|
4427
|
+
), pe, ye, K, ce, ne = (
|
|
4449
4428
|
/*realtimeupdate*/
|
|
4450
4429
|
(e[2] === "true" ? (
|
|
4451
4430
|
/*updatedJackpotValues*/
|
|
@@ -4454,10 +4433,10 @@ function qo(e) {
|
|
|
4454
4433
|
/*formattedJackpotValues*/
|
|
4455
4434
|
e[9][1]
|
|
4456
4435
|
)) + ""
|
|
4457
|
-
), ve,
|
|
4436
|
+
), ve, De, _e, ee, ie, R, J, de, Ee, q, oe = (
|
|
4458
4437
|
/*formattedLabels*/
|
|
4459
4438
|
e[10][2] + ""
|
|
4460
|
-
),
|
|
4439
|
+
), Ge, xe, se, Se, Te = (
|
|
4461
4440
|
/*realtimeupdate*/
|
|
4462
4441
|
(e[2] === "true" ? (
|
|
4463
4442
|
/*updatedJackpotValues*/
|
|
@@ -4466,10 +4445,10 @@ function qo(e) {
|
|
|
4466
4445
|
/*formattedJackpotValues*/
|
|
4467
4446
|
e[9][2]
|
|
4468
4447
|
)) + ""
|
|
4469
|
-
),
|
|
4448
|
+
), ke, Ye, je, ae, he, te, me, qe, be, we = (
|
|
4470
4449
|
/*formattedLabels*/
|
|
4471
4450
|
e[10][3] + ""
|
|
4472
|
-
),
|
|
4451
|
+
), Fe, Ke, h, H, M = (
|
|
4473
4452
|
/*realtimeupdate*/
|
|
4474
4453
|
(e[2] === "true" ? (
|
|
4475
4454
|
/*updatedJackpotValues*/
|
|
@@ -4478,28 +4457,28 @@ function qo(e) {
|
|
|
4478
4457
|
/*formattedJackpotValues*/
|
|
4479
4458
|
e[9][3]
|
|
4480
4459
|
)) + ""
|
|
4481
|
-
), $e,
|
|
4482
|
-
e[3] &&
|
|
4483
|
-
e[3] &&
|
|
4484
|
-
e[3] &&
|
|
4485
|
-
e[3] &&
|
|
4460
|
+
), $e, Wt, V = !/*currencylocale*/
|
|
4461
|
+
e[3] && xr(e), W = !/*currencylocale*/
|
|
4462
|
+
e[3] && Sr(e), X = !/*currencylocale*/
|
|
4463
|
+
e[3] && Tr(e), z = !/*currencylocale*/
|
|
4464
|
+
e[3] && wr(e);
|
|
4486
4465
|
return {
|
|
4487
4466
|
c() {
|
|
4488
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s =
|
|
4489
|
-
e[11][0]) ||
|
|
4490
|
-
e[11][1]) ||
|
|
4491
|
-
e[11][2]) ||
|
|
4492
|
-
e[11][3]) ||
|
|
4467
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s = I(), a = m("span"), u = U(l), c = I(), f = m("span"), p = m("span"), v = U(g), _ = I(), V && V.c(), y = I(), S = m("div"), b = m("div"), w = m("ui-image"), G = I(), k = m("span"), pe = U(re), ye = I(), K = m("span"), ce = m("span"), ve = U(ne), De = I(), W && W.c(), _e = I(), ee = m("div"), ie = m("div"), R = m("div"), J = m("ui-image"), Ee = I(), q = m("span"), Ge = U(oe), xe = I(), se = m("span"), Se = m("span"), ke = U(Te), Ye = I(), X && X.c(), je = I(), ae = m("div"), he = m("div"), te = m("ui-image"), qe = I(), be = m("span"), Fe = U(we), Ke = I(), h = m("span"), H = m("span"), $e = U(M), Wt = I(), z && z.c(), L(i, "class", "displayCardIcon"), Y(i.src, o = /*caticons*/
|
|
4468
|
+
e[11][0]) || L(i, "src", o), L(i, "alt", ""), E(a, "class", "cardLabel"), E(n, "class", "iconWrapper"), E(p, "class", "jackpotValue"), E(f, "class", "cardTextWrapper"), E(r, "class", "displayCard"), L(w, "class", "displayCardIcon"), Y(w.src, N = /*caticons*/
|
|
4469
|
+
e[11][1]) || L(w, "src", N), L(w, "alt", ""), E(k, "class", "cardLabel"), E(b, "class", "iconWrapper"), E(ce, "class", "jackpotValue"), E(K, "class", "cardTextWrapper"), E(S, "class", "displayCard"), E(t, "class", "pairWrapper"), L(J, "class", "displayCardIcon"), Y(J.src, de = /*caticons*/
|
|
4470
|
+
e[11][2]) || L(J, "src", de), L(J, "alt", ""), E(q, "class", "cardLabel"), E(R, "class", "iconWrapper"), E(Se, "class", "jackpotValue"), E(se, "class", "cardTextWrapper"), E(ie, "class", "displayCard"), L(te, "class", "displayCardIcon"), Y(te.src, me = /*caticons*/
|
|
4471
|
+
e[11][3]) || L(te, "src", me), L(te, "alt", ""), E(be, "class", "cardLabel"), E(he, "class", "iconWrapper"), E(H, "class", "jackpotValue"), E(h, "class", "cardTextWrapper"), E(ae, "class", "displayCard"), E(ee, "class", "pairWrapper");
|
|
4493
4472
|
},
|
|
4494
|
-
m(x,
|
|
4495
|
-
|
|
4473
|
+
m(x, O) {
|
|
4474
|
+
$(x, t, O), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, f), d(f, p), d(p, v), d(f, _), V && V.m(f, null), d(t, y), d(t, S), d(S, b), d(b, w), d(b, G), d(b, k), d(k, pe), d(S, ye), d(S, K), d(K, ce), d(ce, ve), d(K, De), W && W.m(K, null), $(x, _e, O), $(x, ee, O), d(ee, ie), d(ie, R), d(R, J), d(R, Ee), d(R, q), d(q, Ge), d(ie, xe), d(ie, se), d(se, Se), d(Se, ke), d(se, Ye), X && X.m(se, null), d(ee, je), d(ee, ae), d(ae, he), d(he, te), d(he, qe), d(he, be), d(be, Fe), d(ae, Ke), d(ae, h), d(h, H), d(H, $e), d(h, Wt), z && z.m(h, null);
|
|
4496
4475
|
},
|
|
4497
|
-
p(x,
|
|
4498
|
-
|
|
4476
|
+
p(x, O) {
|
|
4477
|
+
O[0] & /*caticons*/
|
|
4499
4478
|
2048 && !Y(i.src, o = /*caticons*/
|
|
4500
|
-
x[11][0]) &&
|
|
4479
|
+
x[11][0]) && L(i, "src", o), O[0] & /*formattedLabels*/
|
|
4501
4480
|
1024 && l !== (l = /*formattedLabels*/
|
|
4502
|
-
x[10][0] + "") &&
|
|
4481
|
+
x[10][0] + "") && F(u, l), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4503
4482
|
33284 && g !== (g = /*realtimeupdate*/
|
|
4504
4483
|
(x[2] === "true" ? (
|
|
4505
4484
|
/*updatedJackpotValues*/
|
|
@@ -4507,25 +4486,25 @@ function qo(e) {
|
|
|
4507
4486
|
) : (
|
|
4508
4487
|
/*formattedJackpotValues*/
|
|
4509
4488
|
x[9][0]
|
|
4510
|
-
)) + "") &&
|
|
4511
|
-
x[3] ? V && (V.d(1), V = null) : V ? V.p(x,
|
|
4489
|
+
)) + "") && F(v, g), /*currencylocale*/
|
|
4490
|
+
x[3] ? V && (V.d(1), V = null) : V ? V.p(x, O) : (V = xr(x), V.c(), V.m(f, null)), O[0] & /*caticons*/
|
|
4512
4491
|
2048 && !Y(w.src, N = /*caticons*/
|
|
4513
|
-
x[11][1]) &&
|
|
4514
|
-
1024 &&
|
|
4515
|
-
x[10][1] + "") &&
|
|
4516
|
-
33284 &&
|
|
4492
|
+
x[11][1]) && L(w, "src", N), O[0] & /*formattedLabels*/
|
|
4493
|
+
1024 && re !== (re = /*formattedLabels*/
|
|
4494
|
+
x[10][1] + "") && F(pe, re), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4495
|
+
33284 && ne !== (ne = /*realtimeupdate*/
|
|
4517
4496
|
(x[2] === "true" ? (
|
|
4518
4497
|
/*updatedJackpotValues*/
|
|
4519
4498
|
x[15][1]
|
|
4520
4499
|
) : (
|
|
4521
4500
|
/*formattedJackpotValues*/
|
|
4522
4501
|
x[9][1]
|
|
4523
|
-
)) + "") &&
|
|
4524
|
-
x[3] ? W && (W.d(1), W = null) : W ? W.p(x,
|
|
4502
|
+
)) + "") && F(ve, ne), /*currencylocale*/
|
|
4503
|
+
x[3] ? W && (W.d(1), W = null) : W ? W.p(x, O) : (W = Sr(x), W.c(), W.m(K, null)), O[0] & /*caticons*/
|
|
4525
4504
|
2048 && !Y(J.src, de = /*caticons*/
|
|
4526
|
-
x[11][2]) &&
|
|
4527
|
-
1024 &&
|
|
4528
|
-
x[10][2] + "") &&
|
|
4505
|
+
x[11][2]) && L(J, "src", de), O[0] & /*formattedLabels*/
|
|
4506
|
+
1024 && oe !== (oe = /*formattedLabels*/
|
|
4507
|
+
x[10][2] + "") && F(Ge, oe), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4529
4508
|
33284 && Te !== (Te = /*realtimeupdate*/
|
|
4530
4509
|
(x[2] === "true" ? (
|
|
4531
4510
|
/*updatedJackpotValues*/
|
|
@@ -4533,12 +4512,12 @@ function qo(e) {
|
|
|
4533
4512
|
) : (
|
|
4534
4513
|
/*formattedJackpotValues*/
|
|
4535
4514
|
x[9][2]
|
|
4536
|
-
)) + "") &&
|
|
4537
|
-
x[3] ? X && (X.d(1), X = null) : X ? X.p(x,
|
|
4515
|
+
)) + "") && F(ke, Te), /*currencylocale*/
|
|
4516
|
+
x[3] ? X && (X.d(1), X = null) : X ? X.p(x, O) : (X = Tr(x), X.c(), X.m(se, null)), O[0] & /*caticons*/
|
|
4538
4517
|
2048 && !Y(te.src, me = /*caticons*/
|
|
4539
|
-
x[11][3]) &&
|
|
4518
|
+
x[11][3]) && L(te, "src", me), O[0] & /*formattedLabels*/
|
|
4540
4519
|
1024 && we !== (we = /*formattedLabels*/
|
|
4541
|
-
x[10][3] + "") &&
|
|
4520
|
+
x[10][3] + "") && F(Fe, we), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4542
4521
|
33284 && M !== (M = /*realtimeupdate*/
|
|
4543
4522
|
(x[2] === "true" ? (
|
|
4544
4523
|
/*updatedJackpotValues*/
|
|
@@ -4546,37 +4525,37 @@ function qo(e) {
|
|
|
4546
4525
|
) : (
|
|
4547
4526
|
/*formattedJackpotValues*/
|
|
4548
4527
|
x[9][3]
|
|
4549
|
-
)) + "") &&
|
|
4550
|
-
x[3] ? z && (z.d(1), z = null) : z ? z.p(x,
|
|
4528
|
+
)) + "") && F($e, M), /*currencylocale*/
|
|
4529
|
+
x[3] ? z && (z.d(1), z = null) : z ? z.p(x, O) : (z = wr(x), z.c(), z.m(h, null));
|
|
4551
4530
|
},
|
|
4552
4531
|
d(x) {
|
|
4553
4532
|
x && (D(t), D(_e), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4554
4533
|
}
|
|
4555
4534
|
};
|
|
4556
4535
|
}
|
|
4557
|
-
function
|
|
4558
|
-
let t, r =
|
|
4536
|
+
function Yo(e) {
|
|
4537
|
+
let t, r = qt(Array(4)), n = [];
|
|
4559
4538
|
for (let i = 0; i < r.length; i += 1)
|
|
4560
|
-
n[i] =
|
|
4539
|
+
n[i] = Ar(Er(e, r, i));
|
|
4561
4540
|
return {
|
|
4562
4541
|
c() {
|
|
4563
4542
|
for (let i = 0; i < n.length; i += 1)
|
|
4564
4543
|
n[i].c();
|
|
4565
|
-
t =
|
|
4544
|
+
t = En();
|
|
4566
4545
|
},
|
|
4567
4546
|
m(i, o) {
|
|
4568
4547
|
for (let s = 0; s < n.length; s += 1)
|
|
4569
4548
|
n[s] && n[s].m(i, o);
|
|
4570
|
-
|
|
4549
|
+
$(i, t, o);
|
|
4571
4550
|
},
|
|
4572
4551
|
p(i, o) {
|
|
4573
4552
|
if (o[0] & /*currency, currencylocale, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4574
4553
|
36366) {
|
|
4575
|
-
r =
|
|
4554
|
+
r = qt(Array(4));
|
|
4576
4555
|
let s;
|
|
4577
4556
|
for (s = 0; s < r.length; s += 1) {
|
|
4578
|
-
const a =
|
|
4579
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4557
|
+
const a = Er(i, r, s);
|
|
4558
|
+
n[s] ? n[s].p(a, o) : (n[s] = Ar(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4580
4559
|
}
|
|
4581
4560
|
for (; s < n.length; s += 1)
|
|
4582
4561
|
n[s].d(1);
|
|
@@ -4584,11 +4563,11 @@ function Ko(e) {
|
|
|
4584
4563
|
}
|
|
4585
4564
|
},
|
|
4586
4565
|
d(i) {
|
|
4587
|
-
i && D(t),
|
|
4566
|
+
i && D(t), _n(n, i);
|
|
4588
4567
|
}
|
|
4589
4568
|
};
|
|
4590
4569
|
}
|
|
4591
|
-
function
|
|
4570
|
+
function xr(e) {
|
|
4592
4571
|
let t, r;
|
|
4593
4572
|
return {
|
|
4594
4573
|
c() {
|
|
@@ -4598,11 +4577,11 @@ function Tr(e) {
|
|
|
4598
4577
|
), E(t, "class", "jackpot-currency");
|
|
4599
4578
|
},
|
|
4600
4579
|
m(n, i) {
|
|
4601
|
-
|
|
4580
|
+
$(n, t, i), d(t, r);
|
|
4602
4581
|
},
|
|
4603
4582
|
p(n, i) {
|
|
4604
4583
|
i[0] & /*currency*/
|
|
4605
|
-
2 &&
|
|
4584
|
+
2 && F(
|
|
4606
4585
|
r,
|
|
4607
4586
|
/*currency*/
|
|
4608
4587
|
n[1]
|
|
@@ -4613,7 +4592,7 @@ function Tr(e) {
|
|
|
4613
4592
|
}
|
|
4614
4593
|
};
|
|
4615
4594
|
}
|
|
4616
|
-
function
|
|
4595
|
+
function Sr(e) {
|
|
4617
4596
|
let t, r;
|
|
4618
4597
|
return {
|
|
4619
4598
|
c() {
|
|
@@ -4623,11 +4602,11 @@ function wr(e) {
|
|
|
4623
4602
|
), E(t, "class", "jackpot-currency");
|
|
4624
4603
|
},
|
|
4625
4604
|
m(n, i) {
|
|
4626
|
-
|
|
4605
|
+
$(n, t, i), d(t, r);
|
|
4627
4606
|
},
|
|
4628
4607
|
p(n, i) {
|
|
4629
4608
|
i[0] & /*currency*/
|
|
4630
|
-
2 &&
|
|
4609
|
+
2 && F(
|
|
4631
4610
|
r,
|
|
4632
4611
|
/*currency*/
|
|
4633
4612
|
n[1]
|
|
@@ -4638,7 +4617,7 @@ function wr(e) {
|
|
|
4638
4617
|
}
|
|
4639
4618
|
};
|
|
4640
4619
|
}
|
|
4641
|
-
function
|
|
4620
|
+
function Tr(e) {
|
|
4642
4621
|
let t, r;
|
|
4643
4622
|
return {
|
|
4644
4623
|
c() {
|
|
@@ -4648,11 +4627,11 @@ function Hr(e) {
|
|
|
4648
4627
|
), E(t, "class", "jackpot-currency");
|
|
4649
4628
|
},
|
|
4650
4629
|
m(n, i) {
|
|
4651
|
-
|
|
4630
|
+
$(n, t, i), d(t, r);
|
|
4652
4631
|
},
|
|
4653
4632
|
p(n, i) {
|
|
4654
4633
|
i[0] & /*currency*/
|
|
4655
|
-
2 &&
|
|
4634
|
+
2 && F(
|
|
4656
4635
|
r,
|
|
4657
4636
|
/*currency*/
|
|
4658
4637
|
n[1]
|
|
@@ -4663,7 +4642,7 @@ function Hr(e) {
|
|
|
4663
4642
|
}
|
|
4664
4643
|
};
|
|
4665
4644
|
}
|
|
4666
|
-
function
|
|
4645
|
+
function wr(e) {
|
|
4667
4646
|
let t, r;
|
|
4668
4647
|
return {
|
|
4669
4648
|
c() {
|
|
@@ -4673,11 +4652,11 @@ function Ar(e) {
|
|
|
4673
4652
|
), E(t, "class", "jackpot-currency");
|
|
4674
4653
|
},
|
|
4675
4654
|
m(n, i) {
|
|
4676
|
-
|
|
4655
|
+
$(n, t, i), d(t, r);
|
|
4677
4656
|
},
|
|
4678
4657
|
p(n, i) {
|
|
4679
4658
|
i[0] & /*currency*/
|
|
4680
|
-
2 &&
|
|
4659
|
+
2 && F(
|
|
4681
4660
|
r,
|
|
4682
4661
|
/*currency*/
|
|
4683
4662
|
n[1]
|
|
@@ -4688,7 +4667,7 @@ function Ar(e) {
|
|
|
4688
4667
|
}
|
|
4689
4668
|
};
|
|
4690
4669
|
}
|
|
4691
|
-
function
|
|
4670
|
+
function Hr(e) {
|
|
4692
4671
|
let t, r;
|
|
4693
4672
|
return {
|
|
4694
4673
|
c() {
|
|
@@ -4698,11 +4677,11 @@ function Br(e) {
|
|
|
4698
4677
|
), E(t, "class", "jackpot-currency");
|
|
4699
4678
|
},
|
|
4700
4679
|
m(n, i) {
|
|
4701
|
-
|
|
4680
|
+
$(n, t, i), d(t, r);
|
|
4702
4681
|
},
|
|
4703
4682
|
p(n, i) {
|
|
4704
4683
|
i[0] & /*currency*/
|
|
4705
|
-
2 &&
|
|
4684
|
+
2 && F(
|
|
4706
4685
|
r,
|
|
4707
4686
|
/*currency*/
|
|
4708
4687
|
n[1]
|
|
@@ -4713,7 +4692,7 @@ function Br(e) {
|
|
|
4713
4692
|
}
|
|
4714
4693
|
};
|
|
4715
4694
|
}
|
|
4716
|
-
function
|
|
4695
|
+
function Ar(e) {
|
|
4717
4696
|
var S;
|
|
4718
4697
|
let t, r, n, i, o, s, a = (
|
|
4719
4698
|
/*formattedLabels*/
|
|
@@ -4737,17 +4716,17 @@ function Pr(e) {
|
|
|
4737
4716
|
]) != null ? S : ""
|
|
4738
4717
|
)) + ""
|
|
4739
4718
|
), g, v, _, y = !/*currencylocale*/
|
|
4740
|
-
e[3] &&
|
|
4719
|
+
e[3] && Hr(e);
|
|
4741
4720
|
return {
|
|
4742
4721
|
c() {
|
|
4743
|
-
t = m("div"), r = m("div"), n = m("ui-image"), o =
|
|
4722
|
+
t = m("div"), r = m("div"), n = m("ui-image"), o = I(), s = m("span"), l = U(a), u = I(), c = m("span"), f = m("span"), g = U(p), v = I(), y && y.c(), _ = I(), L(n, "class", "displayCardIcon"), Y(n.src, i = /*caticons*/
|
|
4744
4723
|
e[11][
|
|
4745
4724
|
/*i*/
|
|
4746
4725
|
e[57]
|
|
4747
|
-
]) ||
|
|
4726
|
+
]) || L(n, "src", i), L(n, "alt", ""), E(s, "class", "cardLabel"), E(r, "class", "iconWrapper"), E(f, "class", "jackpotValue"), E(c, "class", "cardTextWrapper"), E(t, "class", "displayCard");
|
|
4748
4727
|
},
|
|
4749
4728
|
m(b, w) {
|
|
4750
|
-
|
|
4729
|
+
$(b, t, w), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, f), d(f, g), d(c, v), y && y.m(c, null), d(t, _);
|
|
4751
4730
|
},
|
|
4752
4731
|
p(b, w) {
|
|
4753
4732
|
var N;
|
|
@@ -4756,12 +4735,12 @@ function Pr(e) {
|
|
|
4756
4735
|
b[11][
|
|
4757
4736
|
/*i*/
|
|
4758
4737
|
b[57]
|
|
4759
|
-
]) &&
|
|
4738
|
+
]) && L(n, "src", i), w[0] & /*formattedLabels*/
|
|
4760
4739
|
1024 && a !== (a = /*formattedLabels*/
|
|
4761
4740
|
b[10][
|
|
4762
4741
|
/*i*/
|
|
4763
4742
|
b[57]
|
|
4764
|
-
] + "") &&
|
|
4743
|
+
] + "") && F(l, a), w[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4765
4744
|
33284 && p !== (p = /*realtimeupdate*/
|
|
4766
4745
|
(b[2] === "true" ? (
|
|
4767
4746
|
/*updatedJackpotValues*/
|
|
@@ -4775,22 +4754,22 @@ function Pr(e) {
|
|
|
4775
4754
|
/*i*/
|
|
4776
4755
|
b[57]
|
|
4777
4756
|
]) != null ? N : ""
|
|
4778
|
-
)) + "") &&
|
|
4779
|
-
b[3] ? y && (y.d(1), y = null) : y ? y.p(b, w) : (y =
|
|
4757
|
+
)) + "") && F(g, p), /*currencylocale*/
|
|
4758
|
+
b[3] ? y && (y.d(1), y = null) : y ? y.p(b, w) : (y = Hr(b), y.c(), y.m(c, null));
|
|
4780
4759
|
},
|
|
4781
4760
|
d(b) {
|
|
4782
4761
|
b && D(t), y && y.d();
|
|
4783
4762
|
}
|
|
4784
4763
|
};
|
|
4785
4764
|
}
|
|
4786
|
-
function
|
|
4765
|
+
function qo(e) {
|
|
4787
4766
|
let t;
|
|
4788
4767
|
function r(o, s) {
|
|
4789
4768
|
return (
|
|
4790
4769
|
/*hasErrors*/
|
|
4791
|
-
o[14] ?
|
|
4770
|
+
o[14] ? Zo : (
|
|
4792
4771
|
/*isLoading*/
|
|
4793
|
-
o[5] ?
|
|
4772
|
+
o[5] ? Jo : zo
|
|
4794
4773
|
)
|
|
4795
4774
|
);
|
|
4796
4775
|
}
|
|
@@ -4800,7 +4779,7 @@ function es(e) {
|
|
|
4800
4779
|
t = m("div"), i.c();
|
|
4801
4780
|
},
|
|
4802
4781
|
m(o, s) {
|
|
4803
|
-
|
|
4782
|
+
$(o, t, s), i.m(t, null), e[35](t);
|
|
4804
4783
|
},
|
|
4805
4784
|
p(o, s) {
|
|
4806
4785
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4812,21 +4791,21 @@ function es(e) {
|
|
|
4812
4791
|
}
|
|
4813
4792
|
};
|
|
4814
4793
|
}
|
|
4815
|
-
function
|
|
4816
|
-
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: o = "" } = t, { caticon1: s = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: c = "" } = t, { currency: f = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: g = "" } = t, { lang: v = "en" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: y = "" } = t, { translationurl: S = "" } = t, { endpoint: b = "" } = t, { gameid: w = "" } = t, { mbsource: N } = t, { realtimeupdate: G = "false" } = t, { currencylocale: k = "" } = t,
|
|
4817
|
-
const
|
|
4794
|
+
function Ko(e, t, r) {
|
|
4795
|
+
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: o = "" } = t, { caticon1: s = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: c = "" } = t, { currency: f = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: g = "" } = t, { lang: v = "en" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: y = "" } = t, { translationurl: S = "" } = t, { endpoint: b = "" } = t, { gameid: w = "" } = t, { mbsource: N } = t, { realtimeupdate: G = "false" } = t, { currencylocale: k = "" } = t, re = window.navigator.userAgent, pe = !1, ye = !1, K = "", ce = [], ne = [], ve = [], De = [], _e = [], ee = "", ie = "", R, J = !0, de = !1, Ee, q = null, oe = [];
|
|
4796
|
+
const Ge = () => {
|
|
4818
4797
|
fetch(S).then((H) => H.json()).then((H) => {
|
|
4819
4798
|
Object.keys(H).forEach((M) => {
|
|
4820
|
-
|
|
4799
|
+
vr(M, H[M]);
|
|
4821
4800
|
});
|
|
4822
4801
|
}).catch((H) => {
|
|
4823
4802
|
console.log(H);
|
|
4824
4803
|
});
|
|
4825
4804
|
};
|
|
4826
|
-
Object.keys(
|
|
4827
|
-
|
|
4805
|
+
Object.keys(_r).forEach((h) => {
|
|
4806
|
+
vr(h, _r[h]);
|
|
4828
4807
|
});
|
|
4829
|
-
const xe = ["typeSpread", "typeLeft"],
|
|
4808
|
+
const xe = ["typeSpread", "typeLeft"], se = (h) => {
|
|
4830
4809
|
var M;
|
|
4831
4810
|
const H = (M = h == null ? void 0 : h.items[0]) == null ? void 0 : M.additionalData;
|
|
4832
4811
|
H && Object.values(H).forEach(($e) => ce.push(+$e));
|
|
@@ -4837,29 +4816,29 @@ function ts(e, t, r) {
|
|
|
4837
4816
|
if (b && v && f) {
|
|
4838
4817
|
let h = new URL(`${b}/v1/casino/jackpots`);
|
|
4839
4818
|
h.searchParams.append("filter", `id=${w}`), h.searchParams.append("language", v), h.searchParams.append("additionalDataCurrency", f), fetch(h.href).then((H) => H.json().then((M) => {
|
|
4840
|
-
r(5, J = !1), Ee = M,
|
|
4819
|
+
r(5, J = !1), Ee = M, ne.includes(w) && (se(Ee), Se(Ee));
|
|
4841
4820
|
}).catch((M) => {
|
|
4842
4821
|
r(14, de = !0), r(5, J = !1), console.error(M);
|
|
4843
4822
|
}).finally(() => {
|
|
4844
|
-
|
|
4823
|
+
ke();
|
|
4845
4824
|
}));
|
|
4846
4825
|
}
|
|
4847
|
-
},
|
|
4826
|
+
}, ke = () => {
|
|
4848
4827
|
const h = R.getRootNode().host;
|
|
4849
4828
|
h.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: h } }));
|
|
4850
4829
|
}, Ye = () => {
|
|
4851
4830
|
let h = new URL(`${b}/v1/casino/jackpots/config`);
|
|
4852
4831
|
fetch(h.href).then((H) => H.json()).then((H) => {
|
|
4853
|
-
r(33,
|
|
4832
|
+
r(33, ne = H.egtJackpotIds.map((M) => M));
|
|
4854
4833
|
});
|
|
4855
|
-
},
|
|
4856
|
-
r(6, pe =
|
|
4857
|
-
},
|
|
4834
|
+
}, je = () => {
|
|
4835
|
+
r(6, pe = jo(re) && window.innerHeight / window.innerWidth > 1), r(7, ye = te()), ce.length !== 0 && r(9, ve = he(ce)), r(10, De = u ? u.split(",").map((h) => h.trim().toUpperCase()) : new Array(4).fill("")), xe.includes(n.trim()) ? r(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${xe[0]}"`), r(0, n = xe[0])), r(12, ee = p && pe && !ye ? p : c), r(13, ie = g), r(11, _e = [o, s, a, l]);
|
|
4836
|
+
}, ae = (h) => Intl.NumberFormat(k, {
|
|
4858
4837
|
minimumFractionDigits: 2,
|
|
4859
4838
|
maximumFractionDigits: 2,
|
|
4860
4839
|
style: "currency",
|
|
4861
4840
|
currency: f
|
|
4862
|
-
}).format(h).replace(/\s/g, ""), he = (h) => k ? h.map((H) =>
|
|
4841
|
+
}).format(h).replace(/\s/g, ""), he = (h) => k ? h.map((H) => ae(H)) : h.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), te = () => {
|
|
4863
4842
|
const h = window.innerHeight / window.innerWidth;
|
|
4864
4843
|
return 0.75 < h && h < 1.6;
|
|
4865
4844
|
}, me = () => {
|
|
@@ -4868,27 +4847,27 @@ function ts(e, t, r) {
|
|
|
4868
4847
|
gameId: `${w}`
|
|
4869
4848
|
});
|
|
4870
4849
|
}, qe = () => {
|
|
4871
|
-
|
|
4850
|
+
Wo(v);
|
|
4872
4851
|
}, be = (h) => {
|
|
4873
4852
|
const H = JSON.parse(h.data);
|
|
4874
4853
|
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === w) {
|
|
4875
4854
|
const M = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4876
4855
|
r(
|
|
4877
4856
|
15,
|
|
4878
|
-
|
|
4879
|
-
|
|
4857
|
+
oe[M] = k ? ae(H.data.data[`${f}`].balance) : H.data.data[`${f}`].balance.toString(),
|
|
4858
|
+
oe
|
|
4880
4859
|
);
|
|
4881
4860
|
}
|
|
4882
4861
|
}, we = () => {
|
|
4883
|
-
G === "true" && (
|
|
4862
|
+
G === "true" && (je(), r(15, oe = ["", "", "", ""]), q = new EventSource(`${b}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
|
|
4884
4863
|
};
|
|
4885
|
-
|
|
4886
|
-
}),
|
|
4864
|
+
wn(() => () => {
|
|
4865
|
+
}), Hn(() => {
|
|
4887
4866
|
q && (q.removeEventListener("message", be), q.close(), q = null);
|
|
4888
4867
|
});
|
|
4889
|
-
const
|
|
4868
|
+
const Fe = () => me();
|
|
4890
4869
|
function Ke(h) {
|
|
4891
|
-
|
|
4870
|
+
Tt[h ? "unshift" : "push"](() => {
|
|
4892
4871
|
R = h, r(4, R);
|
|
4893
4872
|
});
|
|
4894
4873
|
}
|
|
@@ -4897,15 +4876,15 @@ function ts(e, t, r) {
|
|
|
4897
4876
|
}, e.$$.update = () => {
|
|
4898
4877
|
e.$$.dirty[0] & /*endpoint*/
|
|
4899
4878
|
1073741824 && b && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4900
|
-
134217744 && _ && R &&
|
|
4901
|
-
268435472 && y && R &&
|
|
4879
|
+
134217744 && _ && R && Fo(R, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4880
|
+
268435472 && y && R && $o(R, y), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4902
4881
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4903
|
-
2 && N && R &&
|
|
4882
|
+
2 && N && R && Vo(R, `${N}.Style`), e.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
4904
4883
|
1140850690 | e.$$.dirty[1] & /*validGameIds*/
|
|
4905
|
-
4 && b && v && f &&
|
|
4906
|
-
67108898 && f && v && !J &&
|
|
4884
|
+
4 && b && v && f && ne.length > 0 && Te(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4885
|
+
67108898 && f && v && !J && je(), e.$$.dirty[0] & /*lang*/
|
|
4907
4886
|
67108864 && v && qe(), e.$$.dirty[0] & /*translationurl*/
|
|
4908
|
-
536870912 && S &&
|
|
4887
|
+
536870912 && S && Ge(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4909
4888
|
4 && G && we();
|
|
4910
4889
|
}, [
|
|
4911
4890
|
n,
|
|
@@ -4918,12 +4897,12 @@ function ts(e, t, r) {
|
|
|
4918
4897
|
ye,
|
|
4919
4898
|
K,
|
|
4920
4899
|
ve,
|
|
4921
|
-
|
|
4900
|
+
De,
|
|
4922
4901
|
_e,
|
|
4923
4902
|
ee,
|
|
4924
|
-
|
|
4903
|
+
ie,
|
|
4925
4904
|
de,
|
|
4926
|
-
|
|
4905
|
+
oe,
|
|
4927
4906
|
me,
|
|
4928
4907
|
i,
|
|
4929
4908
|
o,
|
|
@@ -4941,19 +4920,19 @@ function ts(e, t, r) {
|
|
|
4941
4920
|
b,
|
|
4942
4921
|
w,
|
|
4943
4922
|
N,
|
|
4944
|
-
|
|
4945
|
-
|
|
4923
|
+
ne,
|
|
4924
|
+
Fe,
|
|
4946
4925
|
Ke
|
|
4947
4926
|
];
|
|
4948
4927
|
}
|
|
4949
|
-
class
|
|
4928
|
+
class es extends Dn {
|
|
4950
4929
|
constructor(t) {
|
|
4951
|
-
super(),
|
|
4930
|
+
super(), Rn(
|
|
4952
4931
|
this,
|
|
4953
4932
|
t,
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4933
|
+
Ko,
|
|
4934
|
+
qo,
|
|
4935
|
+
Pr,
|
|
4957
4936
|
{
|
|
4958
4937
|
visualstructure: 0,
|
|
4959
4938
|
title: 17,
|
|
@@ -4976,7 +4955,7 @@ class rs extends Gn {
|
|
|
4976
4955
|
realtimeupdate: 2,
|
|
4977
4956
|
currencylocale: 3
|
|
4978
4957
|
},
|
|
4979
|
-
|
|
4958
|
+
Xo,
|
|
4980
4959
|
[-1, -1]
|
|
4981
4960
|
);
|
|
4982
4961
|
}
|
|
@@ -4984,124 +4963,124 @@ class rs extends Gn {
|
|
|
4984
4963
|
return this.$$.ctx[0];
|
|
4985
4964
|
}
|
|
4986
4965
|
set visualstructure(t) {
|
|
4987
|
-
this.$$set({ visualstructure: t }),
|
|
4966
|
+
this.$$set({ visualstructure: t }), C();
|
|
4988
4967
|
}
|
|
4989
4968
|
get title() {
|
|
4990
4969
|
return this.$$.ctx[17];
|
|
4991
4970
|
}
|
|
4992
4971
|
set title(t) {
|
|
4993
|
-
this.$$set({ title: t }),
|
|
4972
|
+
this.$$set({ title: t }), C();
|
|
4994
4973
|
}
|
|
4995
4974
|
get caticon0() {
|
|
4996
4975
|
return this.$$.ctx[18];
|
|
4997
4976
|
}
|
|
4998
4977
|
set caticon0(t) {
|
|
4999
|
-
this.$$set({ caticon0: t }),
|
|
4978
|
+
this.$$set({ caticon0: t }), C();
|
|
5000
4979
|
}
|
|
5001
4980
|
get caticon1() {
|
|
5002
4981
|
return this.$$.ctx[19];
|
|
5003
4982
|
}
|
|
5004
4983
|
set caticon1(t) {
|
|
5005
|
-
this.$$set({ caticon1: t }),
|
|
4984
|
+
this.$$set({ caticon1: t }), C();
|
|
5006
4985
|
}
|
|
5007
4986
|
get caticon2() {
|
|
5008
4987
|
return this.$$.ctx[20];
|
|
5009
4988
|
}
|
|
5010
4989
|
set caticon2(t) {
|
|
5011
|
-
this.$$set({ caticon2: t }),
|
|
4990
|
+
this.$$set({ caticon2: t }), C();
|
|
5012
4991
|
}
|
|
5013
4992
|
get caticon3() {
|
|
5014
4993
|
return this.$$.ctx[21];
|
|
5015
4994
|
}
|
|
5016
4995
|
set caticon3(t) {
|
|
5017
|
-
this.$$set({ caticon3: t }),
|
|
4996
|
+
this.$$set({ caticon3: t }), C();
|
|
5018
4997
|
}
|
|
5019
4998
|
get iconlabels() {
|
|
5020
4999
|
return this.$$.ctx[22];
|
|
5021
5000
|
}
|
|
5022
5001
|
set iconlabels(t) {
|
|
5023
|
-
this.$$set({ iconlabels: t }),
|
|
5002
|
+
this.$$set({ iconlabels: t }), C();
|
|
5024
5003
|
}
|
|
5025
5004
|
get backgroundsrc() {
|
|
5026
5005
|
return this.$$.ctx[23];
|
|
5027
5006
|
}
|
|
5028
5007
|
set backgroundsrc(t) {
|
|
5029
|
-
this.$$set({ backgroundsrc: t }),
|
|
5008
|
+
this.$$set({ backgroundsrc: t }), C();
|
|
5030
5009
|
}
|
|
5031
5010
|
get currency() {
|
|
5032
5011
|
return this.$$.ctx[1];
|
|
5033
5012
|
}
|
|
5034
5013
|
set currency(t) {
|
|
5035
|
-
this.$$set({ currency: t }),
|
|
5014
|
+
this.$$set({ currency: t }), C();
|
|
5036
5015
|
}
|
|
5037
5016
|
get backgroundsrcmobile() {
|
|
5038
5017
|
return this.$$.ctx[24];
|
|
5039
5018
|
}
|
|
5040
5019
|
set backgroundsrcmobile(t) {
|
|
5041
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
5020
|
+
this.$$set({ backgroundsrcmobile: t }), C();
|
|
5042
5021
|
}
|
|
5043
5022
|
get titlelogopath() {
|
|
5044
5023
|
return this.$$.ctx[25];
|
|
5045
5024
|
}
|
|
5046
5025
|
set titlelogopath(t) {
|
|
5047
|
-
this.$$set({ titlelogopath: t }),
|
|
5026
|
+
this.$$set({ titlelogopath: t }), C();
|
|
5048
5027
|
}
|
|
5049
5028
|
get lang() {
|
|
5050
5029
|
return this.$$.ctx[26];
|
|
5051
5030
|
}
|
|
5052
5031
|
set lang(t) {
|
|
5053
|
-
this.$$set({ lang: t }),
|
|
5032
|
+
this.$$set({ lang: t }), C();
|
|
5054
5033
|
}
|
|
5055
5034
|
get clientstyling() {
|
|
5056
5035
|
return this.$$.ctx[27];
|
|
5057
5036
|
}
|
|
5058
5037
|
set clientstyling(t) {
|
|
5059
|
-
this.$$set({ clientstyling: t }),
|
|
5038
|
+
this.$$set({ clientstyling: t }), C();
|
|
5060
5039
|
}
|
|
5061
5040
|
get clientstylingurl() {
|
|
5062
5041
|
return this.$$.ctx[28];
|
|
5063
5042
|
}
|
|
5064
5043
|
set clientstylingurl(t) {
|
|
5065
|
-
this.$$set({ clientstylingurl: t }),
|
|
5044
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
5066
5045
|
}
|
|
5067
5046
|
get translationurl() {
|
|
5068
5047
|
return this.$$.ctx[29];
|
|
5069
5048
|
}
|
|
5070
5049
|
set translationurl(t) {
|
|
5071
|
-
this.$$set({ translationurl: t }),
|
|
5050
|
+
this.$$set({ translationurl: t }), C();
|
|
5072
5051
|
}
|
|
5073
5052
|
get endpoint() {
|
|
5074
5053
|
return this.$$.ctx[30];
|
|
5075
5054
|
}
|
|
5076
5055
|
set endpoint(t) {
|
|
5077
|
-
this.$$set({ endpoint: t }),
|
|
5056
|
+
this.$$set({ endpoint: t }), C();
|
|
5078
5057
|
}
|
|
5079
5058
|
get gameid() {
|
|
5080
5059
|
return this.$$.ctx[31];
|
|
5081
5060
|
}
|
|
5082
5061
|
set gameid(t) {
|
|
5083
|
-
this.$$set({ gameid: t }),
|
|
5062
|
+
this.$$set({ gameid: t }), C();
|
|
5084
5063
|
}
|
|
5085
5064
|
get mbsource() {
|
|
5086
5065
|
return this.$$.ctx[32];
|
|
5087
5066
|
}
|
|
5088
5067
|
set mbsource(t) {
|
|
5089
|
-
this.$$set({ mbsource: t }),
|
|
5068
|
+
this.$$set({ mbsource: t }), C();
|
|
5090
5069
|
}
|
|
5091
5070
|
get realtimeupdate() {
|
|
5092
5071
|
return this.$$.ctx[2];
|
|
5093
5072
|
}
|
|
5094
5073
|
set realtimeupdate(t) {
|
|
5095
|
-
this.$$set({ realtimeupdate: t }),
|
|
5074
|
+
this.$$set({ realtimeupdate: t }), C();
|
|
5096
5075
|
}
|
|
5097
5076
|
get currencylocale() {
|
|
5098
5077
|
return this.$$.ctx[3];
|
|
5099
5078
|
}
|
|
5100
5079
|
set currencylocale(t) {
|
|
5101
|
-
this.$$set({ currencylocale: t }),
|
|
5080
|
+
this.$$set({ currencylocale: t }), C();
|
|
5102
5081
|
}
|
|
5103
5082
|
}
|
|
5104
|
-
|
|
5083
|
+
Un(es, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
5105
5084
|
export {
|
|
5106
|
-
|
|
5085
|
+
es as default
|
|
5107
5086
|
};
|