@everymatrix/casino-random-game 1.61.1 → 1.62.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/{CasinoRandomGame-CWg3JVv6.js → CasinoRandomGame-B-Oro-Qy.js} +632 -610
- package/components/CasinoRandomGame-DJ9hXMGz.cjs +19 -0
- package/components/{CasinoRandomGame-C0RUSFkS.js → CasinoRandomGame-Fy7y3ChE.js} +650 -628
- package/es2015/casino-random-game.cjs +1 -1
- package/es2015/casino-random-game.js +1 -1
- package/esnext/casino-random-game.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b7bbd57e-6KaMTlNN.js +534 -0
- package/stencil/index-b7bbd57e-BSagye0B.js +550 -0
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +1 -0
- package/stencil/{ui-image-38c3c15f-ByZECnci.js → ui-image-38c3c15f-CumwWbNu.js} +1 -1
- package/stencil/{ui-image-38c3c15f-D_V48h1L.js → ui-image-38c3c15f-Dxl-aZb-.js} +1 -1
- package/stencil/{ui-image-38c3c15f-VguNkCIq.cjs → ui-image-38c3c15f-y5t5ZLG0.cjs} +1 -1
- package/stencil/{ui-image-BNrzgSpe.js → ui-image-BQa5UbqU.js} +2 -2
- package/stencil/{ui-image-CPH6BqjQ.js → ui-image-Bi4jDe3D.js} +2 -2
- package/stencil/{ui-image-CLghOqUz.cjs → ui-image-z441BZiX.cjs} +1 -1
- package/components/CasinoRandomGame-Dx3yk5qZ.cjs +0 -19
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
2
|
-
function
|
|
1
|
+
import "../stencil/ui-image-BQa5UbqU.js";
|
|
2
|
+
function C() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function kr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,50 +9,50 @@ function Dr(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Wt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function dt() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function J(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Wt);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function at(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Xt(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
27
|
let ye;
|
|
28
|
-
function
|
|
28
|
+
function pt(e, t) {
|
|
29
29
|
return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Vr(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function zt(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const n of t)
|
|
37
37
|
n(void 0);
|
|
38
|
-
return
|
|
38
|
+
return C;
|
|
39
39
|
}
|
|
40
40
|
const r = e.subscribe(...t);
|
|
41
41
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e.$$.on_destroy.push(
|
|
43
|
+
function Wr(e, t, r) {
|
|
44
|
+
e.$$.on_destroy.push(zt(t, r));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Xr(e, t, r, n) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Jt(e, t, r, n);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && n ?
|
|
52
|
+
function Jt(e, t, r, n) {
|
|
53
|
+
return e[1] && n ? kr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function zr(e, t, r, n) {
|
|
56
56
|
if (e[2] && n) {
|
|
57
57
|
const i = e[2](n(r));
|
|
58
58
|
if (t.dirty === void 0)
|
|
@@ -67,13 +67,13 @@ function kr(e, t, r, n) {
|
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Jr(e, t, r, n, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const a =
|
|
72
|
+
const a = Jt(t, r, n, o);
|
|
73
73
|
e.p(a, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Zr(e) {
|
|
77
77
|
if (e.ctx.length > 32) {
|
|
78
78
|
const t = [], r = e.ctx.length / 32;
|
|
79
79
|
for (let n = 0; n < r; n++)
|
|
@@ -85,14 +85,14 @@ function Wr(e) {
|
|
|
85
85
|
function x(e, t) {
|
|
86
86
|
e.appendChild(t);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
const n =
|
|
88
|
+
function Qr(e, t, r) {
|
|
89
|
+
const n = Yr(e);
|
|
90
90
|
if (!n.getElementById(t)) {
|
|
91
91
|
const i = S("style");
|
|
92
|
-
i.id = t, i.textContent = r,
|
|
92
|
+
i.id = t, i.textContent = r, qr(n, i);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Yr(e) {
|
|
96
96
|
if (!e)
|
|
97
97
|
return document;
|
|
98
98
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -102,27 +102,27 @@ function zr(e) {
|
|
|
102
102
|
t
|
|
103
103
|
) : e.ownerDocument;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function qr(e, t) {
|
|
106
106
|
return x(
|
|
107
107
|
/** @type {Document} */
|
|
108
108
|
e.head || e,
|
|
109
109
|
t
|
|
110
110
|
), t.sheet;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function O(e, t, r) {
|
|
113
113
|
e.insertBefore(t, r || null);
|
|
114
114
|
}
|
|
115
115
|
function R(e) {
|
|
116
116
|
e.parentNode && e.parentNode.removeChild(e);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Kr(e, t) {
|
|
119
119
|
for (let r = 0; r < e.length; r += 1)
|
|
120
120
|
e[r] && e[r].d(t);
|
|
121
121
|
}
|
|
122
122
|
function S(e) {
|
|
123
123
|
return document.createElement(e);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function bt(e) {
|
|
126
126
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
127
127
|
}
|
|
128
128
|
function j(e) {
|
|
@@ -141,14 +141,14 @@ function W(e, t, r) {
|
|
|
141
141
|
const n = t.toLowerCase();
|
|
142
142
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function en(e) {
|
|
145
145
|
return Array.from(e.childNodes);
|
|
146
146
|
}
|
|
147
147
|
function z(e, t) {
|
|
148
148
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
149
149
|
t);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function tn(e) {
|
|
152
152
|
const t = {};
|
|
153
153
|
return e.childNodes.forEach(
|
|
154
154
|
/** @param {Element} node */
|
|
@@ -161,30 +161,30 @@ let me;
|
|
|
161
161
|
function ce(e) {
|
|
162
162
|
me = e;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function rn() {
|
|
165
165
|
if (!me)
|
|
166
166
|
throw new Error("Function called outside component initialization");
|
|
167
167
|
return me;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
|
|
169
|
+
function nn(e) {
|
|
170
|
+
rn().$$.on_mount.push(e);
|
|
171
171
|
}
|
|
172
172
|
const K = [], Be = [];
|
|
173
173
|
let ee = [];
|
|
174
|
-
const
|
|
175
|
-
let
|
|
176
|
-
function
|
|
177
|
-
|
|
174
|
+
const gt = [], Zt = /* @__PURE__ */ Promise.resolve();
|
|
175
|
+
let Ve = !1;
|
|
176
|
+
function Qt() {
|
|
177
|
+
Ve || (Ve = !0, Zt.then(I));
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
return
|
|
179
|
+
function on() {
|
|
180
|
+
return Qt(), Zt;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function We(e) {
|
|
183
183
|
ee.push(e);
|
|
184
184
|
}
|
|
185
|
-
const
|
|
185
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
186
186
|
let Y = 0;
|
|
187
|
-
function
|
|
187
|
+
function I() {
|
|
188
188
|
if (Y !== 0)
|
|
189
189
|
return;
|
|
190
190
|
const e = me;
|
|
@@ -192,7 +192,7 @@ function O() {
|
|
|
192
192
|
try {
|
|
193
193
|
for (; Y < K.length; ) {
|
|
194
194
|
const t = K[Y];
|
|
195
|
-
Y++, ce(t),
|
|
195
|
+
Y++, ce(t), an(t.$$);
|
|
196
196
|
}
|
|
197
197
|
} catch (t) {
|
|
198
198
|
throw K.length = 0, Y = 0, t;
|
|
@@ -201,28 +201,28 @@ function O() {
|
|
|
201
201
|
Be.pop()();
|
|
202
202
|
for (let t = 0; t < ee.length; t += 1) {
|
|
203
203
|
const r = ee[t];
|
|
204
|
-
|
|
204
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
205
205
|
}
|
|
206
206
|
ee.length = 0;
|
|
207
207
|
} while (K.length);
|
|
208
|
-
for (;
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
for (; gt.length; )
|
|
209
|
+
gt.pop()();
|
|
210
|
+
Ve = !1, Ne.clear(), ce(e);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function an(e) {
|
|
213
213
|
if (e.fragment !== null) {
|
|
214
214
|
e.update(), J(e.before_update);
|
|
215
215
|
const t = e.dirty;
|
|
216
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
216
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function sn(e) {
|
|
220
220
|
const t = [], r = [];
|
|
221
221
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
222
222
|
}
|
|
223
223
|
const xe = /* @__PURE__ */ new Set();
|
|
224
224
|
let X;
|
|
225
|
-
function
|
|
225
|
+
function un() {
|
|
226
226
|
X = {
|
|
227
227
|
r: 0,
|
|
228
228
|
c: [],
|
|
@@ -230,13 +230,13 @@ function nn() {
|
|
|
230
230
|
// parent group
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function ln() {
|
|
234
234
|
X.r || J(X.c), X = X.p;
|
|
235
235
|
}
|
|
236
236
|
function fe(e, t) {
|
|
237
237
|
e && e.i && (xe.delete(e), e.i(t));
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function Xe(e, t, r, n) {
|
|
240
240
|
if (e && e.o) {
|
|
241
241
|
if (xe.has(e))
|
|
242
242
|
return;
|
|
@@ -246,24 +246,24 @@ function We(e, t, r, n) {
|
|
|
246
246
|
} else
|
|
247
247
|
n && n();
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function yt(e) {
|
|
250
250
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function hn(e, t, r) {
|
|
253
253
|
const { fragment: n, after_update: i } = e.$$;
|
|
254
|
-
n && n.m(t, r),
|
|
255
|
-
const o = e.$$.on_mount.map(
|
|
254
|
+
n && n.m(t, r), We(() => {
|
|
255
|
+
const o = e.$$.on_mount.map(Wt).filter(at);
|
|
256
256
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
|
257
|
-
}), i.forEach(
|
|
257
|
+
}), i.forEach(We);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function cn(e, t) {
|
|
260
260
|
const r = e.$$;
|
|
261
|
-
r.fragment !== null && (
|
|
261
|
+
r.fragment !== null && (sn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
263
|
+
function fn(e, t) {
|
|
264
|
+
e.$$.dirty[0] === -1 && (K.push(e), Qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function mn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
267
267
|
const h = me;
|
|
268
268
|
ce(e);
|
|
269
269
|
const l = e.$$ = {
|
|
@@ -271,9 +271,9 @@ function ln(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
271
271
|
ctx: [],
|
|
272
272
|
// state
|
|
273
273
|
props: o,
|
|
274
|
-
update:
|
|
274
|
+
update: C,
|
|
275
275
|
not_equal: i,
|
|
276
|
-
bound:
|
|
276
|
+
bound: dt(),
|
|
277
277
|
// lifecycle
|
|
278
278
|
on_mount: [],
|
|
279
279
|
on_destroy: [],
|
|
@@ -282,7 +282,7 @@ function ln(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
282
282
|
after_update: [],
|
|
283
283
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
284
284
|
// everything else
|
|
285
|
-
callbacks:
|
|
285
|
+
callbacks: dt(),
|
|
286
286
|
dirty: s,
|
|
287
287
|
skip_bound: !1,
|
|
288
288
|
root: t.target || h.$$.root
|
|
@@ -291,19 +291,19 @@ function ln(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
291
291
|
let u = !1;
|
|
292
292
|
if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
|
|
293
293
|
const d = m.length ? m[0] : c;
|
|
294
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u &&
|
|
294
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && fn(e, f)), c;
|
|
295
295
|
}) : [], l.update(), u = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
296
296
|
if (t.hydrate) {
|
|
297
|
-
const f =
|
|
297
|
+
const f = en(t.target);
|
|
298
298
|
l.fragment && l.fragment.l(f), f.forEach(R);
|
|
299
299
|
} else
|
|
300
300
|
l.fragment && l.fragment.c();
|
|
301
|
-
t.intro && fe(e.$$.fragment),
|
|
301
|
+
t.intro && fe(e.$$.fragment), hn(e, t.target, t.anchor), I();
|
|
302
302
|
}
|
|
303
303
|
ce(h);
|
|
304
304
|
}
|
|
305
|
-
let
|
|
306
|
-
typeof HTMLElement == "function" && (
|
|
305
|
+
let Yt;
|
|
306
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
307
307
|
/** The Svelte component constructor */
|
|
308
308
|
$$ctor;
|
|
309
309
|
/** Slots */
|
|
@@ -352,7 +352,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
|
352
352
|
* @param {HTMLElement} [anchor]
|
|
353
353
|
*/
|
|
354
354
|
m: function(h, l) {
|
|
355
|
-
|
|
355
|
+
O(h, o, l);
|
|
356
356
|
},
|
|
357
357
|
d: function(h) {
|
|
358
358
|
h && R(o);
|
|
@@ -362,7 +362,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
|
362
362
|
};
|
|
363
363
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
364
364
|
return;
|
|
365
|
-
const t = {}, r =
|
|
365
|
+
const t = {}, r = tn(this);
|
|
366
366
|
for (const i of this.$$s)
|
|
367
367
|
i in r && (t[i] = [e(i)]);
|
|
368
368
|
for (const i of this.attributes) {
|
|
@@ -449,8 +449,8 @@ function Ee(e, t, r, n) {
|
|
|
449
449
|
return t;
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
function
|
|
453
|
-
let a = class extends
|
|
452
|
+
function dn(e, t, r, n, i, o) {
|
|
453
|
+
let a = class extends Yt {
|
|
454
454
|
constructor() {
|
|
455
455
|
super(e, r, i), this.$$p_d = t;
|
|
456
456
|
}
|
|
@@ -478,7 +478,7 @@ function hn(e, t, r, n, i, o) {
|
|
|
478
478
|
}), e.element = /** @type {any} */
|
|
479
479
|
a, a;
|
|
480
480
|
}
|
|
481
|
-
class
|
|
481
|
+
class pn {
|
|
482
482
|
/**
|
|
483
483
|
* ### PRIVATE API
|
|
484
484
|
*
|
|
@@ -497,7 +497,7 @@ class cn {
|
|
|
497
497
|
$$set = void 0;
|
|
498
498
|
/** @returns {void} */
|
|
499
499
|
$destroy() {
|
|
500
|
-
|
|
500
|
+
cn(this, 1), this.$destroy = C;
|
|
501
501
|
}
|
|
502
502
|
/**
|
|
503
503
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -506,8 +506,8 @@ class cn {
|
|
|
506
506
|
* @returns {() => void}
|
|
507
507
|
*/
|
|
508
508
|
$on(t, r) {
|
|
509
|
-
if (!
|
|
510
|
-
return
|
|
509
|
+
if (!at(r))
|
|
510
|
+
return C;
|
|
511
511
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
512
512
|
return n.push(r), () => {
|
|
513
513
|
const i = n.indexOf(r);
|
|
@@ -519,11 +519,11 @@ class cn {
|
|
|
519
519
|
* @returns {void}
|
|
520
520
|
*/
|
|
521
521
|
$set(t) {
|
|
522
|
-
this.$$set && !
|
|
522
|
+
this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
const
|
|
526
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
525
|
+
const bn = "4";
|
|
526
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bn);
|
|
527
527
|
/*! *****************************************************************************
|
|
528
528
|
Copyright (c) Microsoft Corporation.
|
|
529
529
|
|
|
@@ -538,18 +538,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
538
538
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
539
539
|
PERFORMANCE OF THIS SOFTWARE.
|
|
540
540
|
***************************************************************************** */
|
|
541
|
-
var
|
|
542
|
-
return
|
|
541
|
+
var ze = function(e, t) {
|
|
542
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
543
543
|
r.__proto__ = n;
|
|
544
544
|
} || function(r, n) {
|
|
545
545
|
for (var i in n)
|
|
546
546
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
547
|
-
},
|
|
547
|
+
}, ze(e, t);
|
|
548
548
|
};
|
|
549
549
|
function F(e, t) {
|
|
550
550
|
if (typeof t != "function" && t !== null)
|
|
551
551
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
552
|
-
|
|
552
|
+
ze(e, t);
|
|
553
553
|
function r() {
|
|
554
554
|
this.constructor = e;
|
|
555
555
|
}
|
|
@@ -565,7 +565,7 @@ var v = function() {
|
|
|
565
565
|
return t;
|
|
566
566
|
}, v.apply(this, arguments);
|
|
567
567
|
};
|
|
568
|
-
function
|
|
568
|
+
function gn(e, t) {
|
|
569
569
|
var r = {};
|
|
570
570
|
for (var n in e)
|
|
571
571
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -574,7 +574,7 @@ function mn(e, t) {
|
|
|
574
574
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
575
575
|
return r;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function Je(e) {
|
|
578
578
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
579
579
|
if (r)
|
|
580
580
|
return r.call(e);
|
|
@@ -586,7 +586,7 @@ function ze(e) {
|
|
|
586
586
|
};
|
|
587
587
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Ze(e, t) {
|
|
590
590
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
591
591
|
if (!r)
|
|
592
592
|
return e;
|
|
@@ -615,13 +615,13 @@ function te(e, t, r) {
|
|
|
615
615
|
function D(e) {
|
|
616
616
|
return typeof e == "function";
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function qt(e) {
|
|
619
619
|
var t = function(n) {
|
|
620
620
|
Error.call(n), n.stack = new Error().stack;
|
|
621
621
|
}, r = e(t);
|
|
622
622
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
623
623
|
}
|
|
624
|
-
var Ge =
|
|
624
|
+
var Ge = qt(function(e) {
|
|
625
625
|
return function(r) {
|
|
626
626
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
627
627
|
` + r.map(function(n, i) {
|
|
@@ -630,7 +630,7 @@ var Ge = Zt(function(e) {
|
|
|
630
630
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
631
631
|
};
|
|
632
632
|
});
|
|
633
|
-
function
|
|
633
|
+
function Qe(e, t) {
|
|
634
634
|
if (e) {
|
|
635
635
|
var r = e.indexOf(t);
|
|
636
636
|
0 <= r && e.splice(r, 1);
|
|
@@ -648,7 +648,7 @@ var Re = function() {
|
|
|
648
648
|
if (a)
|
|
649
649
|
if (this._parentage = null, Array.isArray(a))
|
|
650
650
|
try {
|
|
651
|
-
for (var s =
|
|
651
|
+
for (var s = Je(a), h = s.next(); !h.done; h = s.next()) {
|
|
652
652
|
var l = h.value;
|
|
653
653
|
l.remove(this);
|
|
654
654
|
}
|
|
@@ -675,12 +675,12 @@ var Re = function() {
|
|
|
675
675
|
if (f) {
|
|
676
676
|
this._finalizers = null;
|
|
677
677
|
try {
|
|
678
|
-
for (var c =
|
|
678
|
+
for (var c = Je(f), m = c.next(); !m.done; m = c.next()) {
|
|
679
679
|
var d = m.value;
|
|
680
680
|
try {
|
|
681
|
-
|
|
681
|
+
vt(d);
|
|
682
682
|
} catch (p) {
|
|
683
|
-
o = o ?? [], p instanceof Ge ? o = te(te([],
|
|
683
|
+
o = o ?? [], p instanceof Ge ? o = te(te([], Ze(o)), Ze(p.errors)) : o.push(p);
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
686
|
} catch (p) {
|
|
@@ -701,7 +701,7 @@ var Re = function() {
|
|
|
701
701
|
var r;
|
|
702
702
|
if (t && t !== this)
|
|
703
703
|
if (this.closed)
|
|
704
|
-
|
|
704
|
+
vt(t);
|
|
705
705
|
else {
|
|
706
706
|
if (t instanceof e) {
|
|
707
707
|
if (t.closed || t._hasParent(this))
|
|
@@ -718,52 +718,56 @@ var Re = function() {
|
|
|
718
718
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
719
719
|
}, e.prototype._removeParent = function(t) {
|
|
720
720
|
var r = this._parentage;
|
|
721
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
721
|
+
r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
|
|
722
722
|
}, e.prototype.remove = function(t) {
|
|
723
723
|
var r = this._finalizers;
|
|
724
|
-
r &&
|
|
724
|
+
r && Qe(r, t), t instanceof e && t._removeParent(this);
|
|
725
725
|
}, e.EMPTY = function() {
|
|
726
726
|
var t = new e();
|
|
727
727
|
return t.closed = !0, t;
|
|
728
728
|
}(), e;
|
|
729
|
-
}(),
|
|
730
|
-
function
|
|
729
|
+
}(), Kt = Re.EMPTY;
|
|
730
|
+
function er(e) {
|
|
731
731
|
return e instanceof Re || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function vt(e) {
|
|
734
734
|
D(e) ? e() : e.unsubscribe();
|
|
735
735
|
}
|
|
736
|
-
var
|
|
737
|
-
|
|
738
|
-
|
|
736
|
+
var tr = {
|
|
737
|
+
onUnhandledError: null,
|
|
738
|
+
onStoppedNotification: null,
|
|
739
|
+
Promise: void 0,
|
|
740
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
741
|
+
useDeprecatedNextContext: !1
|
|
742
|
+
}, yn = {
|
|
739
743
|
setTimeout: function(e, t) {
|
|
740
744
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
741
745
|
r[n - 2] = arguments[n];
|
|
742
|
-
return setTimeout.apply(void 0, te([e, t],
|
|
746
|
+
return setTimeout.apply(void 0, te([e, t], Ze(r)));
|
|
743
747
|
},
|
|
744
748
|
clearTimeout: function(e) {
|
|
745
749
|
return clearTimeout(e);
|
|
746
750
|
},
|
|
747
751
|
delegate: void 0
|
|
748
752
|
};
|
|
749
|
-
function
|
|
750
|
-
|
|
753
|
+
function vn(e) {
|
|
754
|
+
yn.setTimeout(function() {
|
|
751
755
|
throw e;
|
|
752
756
|
});
|
|
753
757
|
}
|
|
754
|
-
function
|
|
758
|
+
function _t() {
|
|
755
759
|
}
|
|
756
760
|
function we(e) {
|
|
757
761
|
e();
|
|
758
762
|
}
|
|
759
|
-
var
|
|
763
|
+
var rr = function(e) {
|
|
760
764
|
F(t, e);
|
|
761
765
|
function t(r) {
|
|
762
766
|
var n = e.call(this) || this;
|
|
763
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
767
|
+
return n.isStopped = !1, r ? (n.destination = r, er(r) && r.add(n)) : n.destination = wn, n;
|
|
764
768
|
}
|
|
765
769
|
return t.create = function(r, n, i) {
|
|
766
|
-
return new
|
|
770
|
+
return new Ye(r, n, i);
|
|
767
771
|
}, t.prototype.next = function(r) {
|
|
768
772
|
this.isStopped || this._next(r);
|
|
769
773
|
}, t.prototype.error = function(r) {
|
|
@@ -787,7 +791,11 @@ var qt = function(e) {
|
|
|
787
791
|
this.unsubscribe();
|
|
788
792
|
}
|
|
789
793
|
}, t;
|
|
790
|
-
}(Re),
|
|
794
|
+
}(Re), _n = Function.prototype.bind;
|
|
795
|
+
function Ue(e, t) {
|
|
796
|
+
return _n.call(e, t);
|
|
797
|
+
}
|
|
798
|
+
var xn = function() {
|
|
791
799
|
function e(t) {
|
|
792
800
|
this.partialObserver = t;
|
|
793
801
|
}
|
|
@@ -818,43 +826,55 @@ var qt = function(e) {
|
|
|
818
826
|
ve(r);
|
|
819
827
|
}
|
|
820
828
|
}, e;
|
|
821
|
-
}(),
|
|
829
|
+
}(), Ye = function(e) {
|
|
822
830
|
F(t, e);
|
|
823
831
|
function t(r, n, i) {
|
|
824
832
|
var o = e.call(this) || this, a;
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
833
|
+
if (D(r) || !r)
|
|
834
|
+
a = {
|
|
835
|
+
next: r ?? void 0,
|
|
836
|
+
error: n ?? void 0,
|
|
837
|
+
complete: i ?? void 0
|
|
838
|
+
};
|
|
839
|
+
else {
|
|
840
|
+
var s;
|
|
841
|
+
o && tr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
842
|
+
return o.unsubscribe();
|
|
843
|
+
}, a = {
|
|
844
|
+
next: r.next && Ue(r.next, s),
|
|
845
|
+
error: r.error && Ue(r.error, s),
|
|
846
|
+
complete: r.complete && Ue(r.complete, s)
|
|
847
|
+
}) : a = r;
|
|
848
|
+
}
|
|
849
|
+
return o.destination = new xn(a), o;
|
|
830
850
|
}
|
|
831
851
|
return t;
|
|
832
|
-
}(
|
|
852
|
+
}(rr);
|
|
833
853
|
function ve(e) {
|
|
834
|
-
|
|
854
|
+
vn(e);
|
|
835
855
|
}
|
|
836
|
-
function
|
|
856
|
+
function En(e) {
|
|
837
857
|
throw e;
|
|
838
858
|
}
|
|
839
|
-
var
|
|
859
|
+
var wn = {
|
|
840
860
|
closed: !0,
|
|
841
|
-
next:
|
|
842
|
-
error:
|
|
843
|
-
complete:
|
|
844
|
-
},
|
|
861
|
+
next: _t,
|
|
862
|
+
error: En,
|
|
863
|
+
complete: _t
|
|
864
|
+
}, Sn = function() {
|
|
845
865
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
846
866
|
}();
|
|
847
|
-
function
|
|
867
|
+
function Tn(e) {
|
|
848
868
|
return e;
|
|
849
869
|
}
|
|
850
|
-
function
|
|
851
|
-
return e.length === 0 ?
|
|
870
|
+
function Hn(e) {
|
|
871
|
+
return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
|
|
852
872
|
return e.reduce(function(n, i) {
|
|
853
873
|
return i(n);
|
|
854
874
|
}, r);
|
|
855
875
|
};
|
|
856
876
|
}
|
|
857
|
-
var
|
|
877
|
+
var xt = function() {
|
|
858
878
|
function e(t) {
|
|
859
879
|
t && (this._subscribe = t);
|
|
860
880
|
}
|
|
@@ -862,7 +882,7 @@ var yt = function() {
|
|
|
862
882
|
var r = new e();
|
|
863
883
|
return r.source = this, r.operator = t, r;
|
|
864
884
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
865
|
-
var i = this, o =
|
|
885
|
+
var i = this, o = An(t) ? t : new Ye(t, r, n);
|
|
866
886
|
return we(function() {
|
|
867
887
|
var a = i, s = a.operator, h = a.source;
|
|
868
888
|
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -875,8 +895,8 @@ var yt = function() {
|
|
|
875
895
|
}
|
|
876
896
|
}, e.prototype.forEach = function(t, r) {
|
|
877
897
|
var n = this;
|
|
878
|
-
return r =
|
|
879
|
-
var a = new
|
|
898
|
+
return r = Et(r), new r(function(i, o) {
|
|
899
|
+
var a = new Ye({
|
|
880
900
|
next: function(s) {
|
|
881
901
|
try {
|
|
882
902
|
t(s);
|
|
@@ -892,15 +912,15 @@ var yt = function() {
|
|
|
892
912
|
}, e.prototype._subscribe = function(t) {
|
|
893
913
|
var r;
|
|
894
914
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
895
|
-
}, e.prototype[
|
|
915
|
+
}, e.prototype[Sn] = function() {
|
|
896
916
|
return this;
|
|
897
917
|
}, e.prototype.pipe = function() {
|
|
898
918
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
899
919
|
t[r] = arguments[r];
|
|
900
|
-
return
|
|
920
|
+
return Hn(t)(this);
|
|
901
921
|
}, e.prototype.toPromise = function(t) {
|
|
902
922
|
var r = this;
|
|
903
|
-
return t =
|
|
923
|
+
return t = Et(t), new t(function(n, i) {
|
|
904
924
|
var o;
|
|
905
925
|
r.subscribe(function(a) {
|
|
906
926
|
return o = a;
|
|
@@ -914,32 +934,32 @@ var yt = function() {
|
|
|
914
934
|
return new e(t);
|
|
915
935
|
}, e;
|
|
916
936
|
}();
|
|
917
|
-
function
|
|
937
|
+
function Et(e) {
|
|
918
938
|
var t;
|
|
919
|
-
return (t = e ??
|
|
939
|
+
return (t = e ?? tr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
920
940
|
}
|
|
921
|
-
function
|
|
941
|
+
function Bn(e) {
|
|
922
942
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
923
943
|
}
|
|
924
|
-
function
|
|
925
|
-
return e && e instanceof
|
|
944
|
+
function An(e) {
|
|
945
|
+
return e && e instanceof rr || Bn(e) && er(e);
|
|
926
946
|
}
|
|
927
|
-
var
|
|
947
|
+
var Pn = qt(function(e) {
|
|
928
948
|
return function() {
|
|
929
949
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
930
950
|
};
|
|
931
|
-
}),
|
|
951
|
+
}), nr = function(e) {
|
|
932
952
|
F(t, e);
|
|
933
953
|
function t() {
|
|
934
954
|
var r = e.call(this) || this;
|
|
935
955
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
936
956
|
}
|
|
937
957
|
return t.prototype.lift = function(r) {
|
|
938
|
-
var n = new
|
|
958
|
+
var n = new wt(this, this);
|
|
939
959
|
return n.operator = r, n;
|
|
940
960
|
}, t.prototype._throwIfClosed = function() {
|
|
941
961
|
if (this.closed)
|
|
942
|
-
throw new
|
|
962
|
+
throw new Pn();
|
|
943
963
|
}, t.prototype.next = function(r) {
|
|
944
964
|
var n = this;
|
|
945
965
|
we(function() {
|
|
@@ -947,7 +967,7 @@ var Tn = Zt(function(e) {
|
|
|
947
967
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
948
968
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
949
969
|
try {
|
|
950
|
-
for (var a =
|
|
970
|
+
for (var a = Je(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
951
971
|
var h = s.value;
|
|
952
972
|
h.next(r);
|
|
953
973
|
}
|
|
@@ -996,19 +1016,19 @@ var Tn = Zt(function(e) {
|
|
|
996
1016
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
997
1017
|
}, t.prototype._innerSubscribe = function(r) {
|
|
998
1018
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
999
|
-
return o || a ?
|
|
1000
|
-
n.currentObservers = null,
|
|
1019
|
+
return o || a ? Kt : (this.currentObservers = null, s.push(r), new Re(function() {
|
|
1020
|
+
n.currentObservers = null, Qe(s, r);
|
|
1001
1021
|
}));
|
|
1002
1022
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1003
1023
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1004
1024
|
i ? r.error(o) : a && r.complete();
|
|
1005
1025
|
}, t.prototype.asObservable = function() {
|
|
1006
|
-
var r = new
|
|
1026
|
+
var r = new xt();
|
|
1007
1027
|
return r.source = this, r;
|
|
1008
1028
|
}, t.create = function(r, n) {
|
|
1009
|
-
return new
|
|
1029
|
+
return new wt(r, n);
|
|
1010
1030
|
}, t;
|
|
1011
|
-
}(
|
|
1031
|
+
}(xt), wt = function(e) {
|
|
1012
1032
|
F(t, e);
|
|
1013
1033
|
function t(r, n) {
|
|
1014
1034
|
var i = e.call(this) || this;
|
|
@@ -1025,17 +1045,17 @@ var Tn = Zt(function(e) {
|
|
|
1025
1045
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1026
1046
|
}, t.prototype._subscribe = function(r) {
|
|
1027
1047
|
var n, i;
|
|
1028
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1048
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kt;
|
|
1029
1049
|
}, t;
|
|
1030
|
-
}(
|
|
1050
|
+
}(nr), ir = {
|
|
1031
1051
|
now: function() {
|
|
1032
|
-
return (
|
|
1052
|
+
return (ir.delegate || Date).now();
|
|
1033
1053
|
},
|
|
1034
1054
|
delegate: void 0
|
|
1035
|
-
},
|
|
1055
|
+
}, Rn = function(e) {
|
|
1036
1056
|
F(t, e);
|
|
1037
1057
|
function t(r, n, i) {
|
|
1038
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1058
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
|
|
1039
1059
|
var o = e.call(this) || this;
|
|
1040
1060
|
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;
|
|
1041
1061
|
}
|
|
@@ -1055,24 +1075,24 @@ var Tn = Zt(function(e) {
|
|
|
1055
1075
|
l && o.splice(0, l + 1);
|
|
1056
1076
|
}
|
|
1057
1077
|
}, t;
|
|
1058
|
-
}(
|
|
1059
|
-
const
|
|
1060
|
-
if (
|
|
1061
|
-
const r = new
|
|
1062
|
-
|
|
1078
|
+
}(nr);
|
|
1079
|
+
const St = [], Tt = {}, In = (e, t = 0) => {
|
|
1080
|
+
if (St.indexOf(e) == -1) {
|
|
1081
|
+
const r = new Rn(t);
|
|
1082
|
+
Tt[e] = r, St.push(e);
|
|
1063
1083
|
}
|
|
1064
|
-
return
|
|
1084
|
+
return Tt[e];
|
|
1065
1085
|
}, q = [];
|
|
1066
|
-
function
|
|
1086
|
+
function On(e, t) {
|
|
1067
1087
|
return {
|
|
1068
|
-
subscribe:
|
|
1088
|
+
subscribe: Ie(e, t).subscribe
|
|
1069
1089
|
};
|
|
1070
1090
|
}
|
|
1071
|
-
function
|
|
1091
|
+
function Ie(e, t = C) {
|
|
1072
1092
|
let r;
|
|
1073
1093
|
const n = /* @__PURE__ */ new Set();
|
|
1074
1094
|
function i(s) {
|
|
1075
|
-
if (
|
|
1095
|
+
if (Xt(e, s) && (e = s, r)) {
|
|
1076
1096
|
const h = !q.length;
|
|
1077
1097
|
for (const l of n)
|
|
1078
1098
|
l[1](), q.push(l, e);
|
|
@@ -1086,9 +1106,9 @@ function Oe(e, t = M) {
|
|
|
1086
1106
|
function o(s) {
|
|
1087
1107
|
i(s(e));
|
|
1088
1108
|
}
|
|
1089
|
-
function a(s, h =
|
|
1109
|
+
function a(s, h = C) {
|
|
1090
1110
|
const l = [s, h];
|
|
1091
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
|
1111
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || C), s(e), () => {
|
|
1092
1112
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
1093
1113
|
};
|
|
1094
1114
|
}
|
|
@@ -1099,18 +1119,18 @@ function ae(e, t, r) {
|
|
|
1099
1119
|
if (!i.every(Boolean))
|
|
1100
1120
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1101
1121
|
const o = t.length < 2;
|
|
1102
|
-
return
|
|
1122
|
+
return On(r, (a, s) => {
|
|
1103
1123
|
let h = !1;
|
|
1104
1124
|
const l = [];
|
|
1105
|
-
let u = 0, f =
|
|
1125
|
+
let u = 0, f = C;
|
|
1106
1126
|
const c = () => {
|
|
1107
1127
|
if (u)
|
|
1108
1128
|
return;
|
|
1109
1129
|
f();
|
|
1110
1130
|
const d = t(n ? l[0] : l, a, s);
|
|
1111
|
-
o ? a(d) : f =
|
|
1131
|
+
o ? a(d) : f = at(d) ? d : C;
|
|
1112
1132
|
}, m = i.map(
|
|
1113
|
-
(d, p) =>
|
|
1133
|
+
(d, p) => zt(
|
|
1114
1134
|
d,
|
|
1115
1135
|
(A) => {
|
|
1116
1136
|
l[p] = A, u &= ~(1 << p), h && c();
|
|
@@ -1125,70 +1145,70 @@ function ae(e, t, r) {
|
|
|
1125
1145
|
};
|
|
1126
1146
|
});
|
|
1127
1147
|
}
|
|
1128
|
-
function
|
|
1148
|
+
function Ln(e) {
|
|
1129
1149
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1130
1150
|
}
|
|
1131
|
-
var
|
|
1132
|
-
return
|
|
1151
|
+
var Mn = function(t) {
|
|
1152
|
+
return Cn(t) && !Nn(t);
|
|
1133
1153
|
};
|
|
1134
|
-
function
|
|
1154
|
+
function Cn(e) {
|
|
1135
1155
|
return !!e && typeof e == "object";
|
|
1136
1156
|
}
|
|
1137
|
-
function
|
|
1157
|
+
function Nn(e) {
|
|
1138
1158
|
var t = Object.prototype.toString.call(e);
|
|
1139
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1159
|
+
return t === "[object RegExp]" || t === "[object Date]" || Dn(e);
|
|
1140
1160
|
}
|
|
1141
|
-
var
|
|
1142
|
-
function
|
|
1143
|
-
return e.$$typeof ===
|
|
1161
|
+
var Gn = typeof Symbol == "function" && Symbol.for, Un = Gn ? Symbol.for("react.element") : 60103;
|
|
1162
|
+
function Dn(e) {
|
|
1163
|
+
return e.$$typeof === Un;
|
|
1144
1164
|
}
|
|
1145
|
-
function
|
|
1165
|
+
function Fn(e) {
|
|
1146
1166
|
return Array.isArray(e) ? [] : {};
|
|
1147
1167
|
}
|
|
1148
1168
|
function de(e, t) {
|
|
1149
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1169
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Fn(e), e, t) : e;
|
|
1150
1170
|
}
|
|
1151
|
-
function
|
|
1171
|
+
function $n(e, t, r) {
|
|
1152
1172
|
return e.concat(t).map(function(n) {
|
|
1153
1173
|
return de(n, r);
|
|
1154
1174
|
});
|
|
1155
1175
|
}
|
|
1156
|
-
function
|
|
1176
|
+
function jn(e, t) {
|
|
1157
1177
|
if (!t.customMerge)
|
|
1158
1178
|
return re;
|
|
1159
1179
|
var r = t.customMerge(e);
|
|
1160
1180
|
return typeof r == "function" ? r : re;
|
|
1161
1181
|
}
|
|
1162
|
-
function
|
|
1182
|
+
function kn(e) {
|
|
1163
1183
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1164
1184
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1165
1185
|
}) : [];
|
|
1166
1186
|
}
|
|
1167
|
-
function
|
|
1168
|
-
return Object.keys(e).concat(
|
|
1187
|
+
function Ht(e) {
|
|
1188
|
+
return Object.keys(e).concat(kn(e));
|
|
1169
1189
|
}
|
|
1170
|
-
function
|
|
1190
|
+
function or(e, t) {
|
|
1171
1191
|
try {
|
|
1172
1192
|
return t in e;
|
|
1173
1193
|
} catch {
|
|
1174
1194
|
return !1;
|
|
1175
1195
|
}
|
|
1176
1196
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return
|
|
1197
|
+
function Vn(e, t) {
|
|
1198
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1179
1199
|
}
|
|
1180
|
-
function
|
|
1200
|
+
function Wn(e, t, r) {
|
|
1181
1201
|
var n = {};
|
|
1182
|
-
return r.isMergeableObject(e) &&
|
|
1202
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1183
1203
|
n[i] = de(e[i], r);
|
|
1184
|
-
}),
|
|
1185
|
-
|
|
1204
|
+
}), Ht(t).forEach(function(i) {
|
|
1205
|
+
Vn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
1186
1206
|
}), n;
|
|
1187
1207
|
}
|
|
1188
1208
|
function re(e, t, r) {
|
|
1189
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1209
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || $n, r.isMergeableObject = r.isMergeableObject || Mn, r.cloneUnlessOtherwiseSpecified = de;
|
|
1190
1210
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1191
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1211
|
+
return o ? n ? r.arrayMerge(e, t, r) : Wn(e, t, r) : de(t, r);
|
|
1192
1212
|
}
|
|
1193
1213
|
re.all = function(t, r) {
|
|
1194
1214
|
if (!Array.isArray(t))
|
|
@@ -1197,56 +1217,58 @@ re.all = function(t, r) {
|
|
|
1197
1217
|
return re(n, i, r);
|
|
1198
1218
|
}, {});
|
|
1199
1219
|
};
|
|
1200
|
-
var
|
|
1201
|
-
const
|
|
1202
|
-
function
|
|
1203
|
-
var r = t && t.cache ? t.cache :
|
|
1220
|
+
var Xn = re, zn = Xn;
|
|
1221
|
+
const Jn = /* @__PURE__ */ Ln(zn);
|
|
1222
|
+
function De(e, t) {
|
|
1223
|
+
var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Qn;
|
|
1204
1224
|
return i(e, {
|
|
1205
1225
|
cache: r,
|
|
1206
1226
|
serializer: n
|
|
1207
1227
|
});
|
|
1208
1228
|
}
|
|
1209
|
-
function
|
|
1229
|
+
function Zn(e) {
|
|
1210
1230
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1211
1231
|
}
|
|
1212
|
-
function
|
|
1213
|
-
var i =
|
|
1232
|
+
function ar(e, t, r, n) {
|
|
1233
|
+
var i = Zn(n) ? n : r(n), o = t.get(i);
|
|
1214
1234
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1215
1235
|
}
|
|
1216
|
-
function
|
|
1236
|
+
function sr(e, t, r) {
|
|
1217
1237
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1218
1238
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1219
1239
|
}
|
|
1220
|
-
function
|
|
1240
|
+
function st(e, t, r, n, i) {
|
|
1221
1241
|
return r.bind(t, e, n, i);
|
|
1222
1242
|
}
|
|
1223
|
-
function
|
|
1224
|
-
var r = e.length === 1 ?
|
|
1225
|
-
return
|
|
1243
|
+
function Qn(e, t) {
|
|
1244
|
+
var r = e.length === 1 ? ar : sr;
|
|
1245
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
|
1246
|
+
}
|
|
1247
|
+
function Yn(e, t) {
|
|
1248
|
+
return st(e, this, sr, t.cache.create(), t.serializer);
|
|
1226
1249
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return
|
|
1250
|
+
function qn(e, t) {
|
|
1251
|
+
return st(e, this, ar, t.cache.create(), t.serializer);
|
|
1229
1252
|
}
|
|
1230
|
-
var
|
|
1253
|
+
var Kn = function() {
|
|
1231
1254
|
return JSON.stringify(arguments);
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
}()
|
|
1244
|
-
), Yn = {
|
|
1255
|
+
};
|
|
1256
|
+
function ut() {
|
|
1257
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1258
|
+
}
|
|
1259
|
+
ut.prototype.get = function(e) {
|
|
1260
|
+
return this.cache[e];
|
|
1261
|
+
};
|
|
1262
|
+
ut.prototype.set = function(e, t) {
|
|
1263
|
+
this.cache[e] = t;
|
|
1264
|
+
};
|
|
1265
|
+
var ei = {
|
|
1245
1266
|
create: function() {
|
|
1246
|
-
return new
|
|
1267
|
+
return new ut();
|
|
1247
1268
|
}
|
|
1248
|
-
},
|
|
1249
|
-
variadic:
|
|
1269
|
+
}, Fe = {
|
|
1270
|
+
variadic: Yn,
|
|
1271
|
+
monadic: qn
|
|
1250
1272
|
}, g;
|
|
1251
1273
|
(function(e) {
|
|
1252
1274
|
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";
|
|
@@ -1259,43 +1281,43 @@ var ne;
|
|
|
1259
1281
|
(function(e) {
|
|
1260
1282
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1261
1283
|
})(ne || (ne = {}));
|
|
1262
|
-
function
|
|
1284
|
+
function Bt(e) {
|
|
1263
1285
|
return e.type === w.literal;
|
|
1264
1286
|
}
|
|
1265
|
-
function
|
|
1287
|
+
function ti(e) {
|
|
1266
1288
|
return e.type === w.argument;
|
|
1267
1289
|
}
|
|
1268
|
-
function
|
|
1290
|
+
function ur(e) {
|
|
1269
1291
|
return e.type === w.number;
|
|
1270
1292
|
}
|
|
1271
|
-
function
|
|
1293
|
+
function lr(e) {
|
|
1272
1294
|
return e.type === w.date;
|
|
1273
1295
|
}
|
|
1274
|
-
function
|
|
1296
|
+
function hr(e) {
|
|
1275
1297
|
return e.type === w.time;
|
|
1276
1298
|
}
|
|
1277
|
-
function
|
|
1299
|
+
function cr(e) {
|
|
1278
1300
|
return e.type === w.select;
|
|
1279
1301
|
}
|
|
1280
|
-
function
|
|
1302
|
+
function fr(e) {
|
|
1281
1303
|
return e.type === w.plural;
|
|
1282
1304
|
}
|
|
1283
|
-
function
|
|
1305
|
+
function ri(e) {
|
|
1284
1306
|
return e.type === w.pound;
|
|
1285
1307
|
}
|
|
1286
|
-
function
|
|
1308
|
+
function mr(e) {
|
|
1287
1309
|
return e.type === w.tag;
|
|
1288
1310
|
}
|
|
1289
|
-
function
|
|
1311
|
+
function dr(e) {
|
|
1290
1312
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1291
1313
|
}
|
|
1292
|
-
function
|
|
1314
|
+
function qe(e) {
|
|
1293
1315
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1294
1316
|
}
|
|
1295
|
-
var
|
|
1296
|
-
function
|
|
1317
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
|
|
1318
|
+
function ii(e) {
|
|
1297
1319
|
var t = {};
|
|
1298
|
-
return e.replace(
|
|
1320
|
+
return e.replace(ni, function(r) {
|
|
1299
1321
|
var n = r.length;
|
|
1300
1322
|
switch (r[0]) {
|
|
1301
1323
|
case "G":
|
|
@@ -1384,11 +1406,11 @@ function ti(e) {
|
|
|
1384
1406
|
return "";
|
|
1385
1407
|
}), t;
|
|
1386
1408
|
}
|
|
1387
|
-
var
|
|
1388
|
-
function
|
|
1409
|
+
var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1410
|
+
function ai(e) {
|
|
1389
1411
|
if (e.length === 0)
|
|
1390
1412
|
throw new Error("Number skeleton cannot be empty");
|
|
1391
|
-
for (var t = e.split(
|
|
1413
|
+
for (var t = e.split(oi).filter(function(c) {
|
|
1392
1414
|
return c.length > 0;
|
|
1393
1415
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1394
1416
|
var o = i[n], a = o.split("/");
|
|
@@ -1403,17 +1425,17 @@ function ni(e) {
|
|
|
1403
1425
|
}
|
|
1404
1426
|
return r;
|
|
1405
1427
|
}
|
|
1406
|
-
function
|
|
1428
|
+
function si(e) {
|
|
1407
1429
|
return e.replace(/^(.*?)-/, "");
|
|
1408
1430
|
}
|
|
1409
|
-
var
|
|
1410
|
-
function
|
|
1431
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
|
|
1432
|
+
function Pt(e) {
|
|
1411
1433
|
var t = {};
|
|
1412
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1434
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
|
|
1413
1435
|
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)), "";
|
|
1414
1436
|
}), t;
|
|
1415
1437
|
}
|
|
1416
|
-
function
|
|
1438
|
+
function yr(e) {
|
|
1417
1439
|
switch (e) {
|
|
1418
1440
|
case "sign-auto":
|
|
1419
1441
|
return {
|
|
@@ -1453,7 +1475,7 @@ function dr(e) {
|
|
|
1453
1475
|
};
|
|
1454
1476
|
}
|
|
1455
1477
|
}
|
|
1456
|
-
function
|
|
1478
|
+
function li(e) {
|
|
1457
1479
|
var t;
|
|
1458
1480
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1459
1481
|
notation: "engineering"
|
|
@@ -1461,17 +1483,17 @@ function ai(e) {
|
|
|
1461
1483
|
notation: "scientific"
|
|
1462
1484
|
}, e = e.slice(1)), t) {
|
|
1463
1485
|
var r = e.slice(0, 2);
|
|
1464
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1486
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
|
|
1465
1487
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1466
1488
|
t.minimumIntegerDigits = e.length;
|
|
1467
1489
|
}
|
|
1468
1490
|
return t;
|
|
1469
1491
|
}
|
|
1470
|
-
function
|
|
1471
|
-
var t = {}, r =
|
|
1492
|
+
function Rt(e) {
|
|
1493
|
+
var t = {}, r = yr(e);
|
|
1472
1494
|
return r || t;
|
|
1473
1495
|
}
|
|
1474
|
-
function
|
|
1496
|
+
function hi(e) {
|
|
1475
1497
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1476
1498
|
var i = n[r];
|
|
1477
1499
|
switch (i.stem) {
|
|
@@ -1495,7 +1517,7 @@ function si(e) {
|
|
|
1495
1517
|
continue;
|
|
1496
1518
|
case "measure-unit":
|
|
1497
1519
|
case "unit":
|
|
1498
|
-
t.style = "unit", t.unit =
|
|
1520
|
+
t.style = "unit", t.unit = si(i.options[0]);
|
|
1499
1521
|
continue;
|
|
1500
1522
|
case "compact-short":
|
|
1501
1523
|
case "K":
|
|
@@ -1507,12 +1529,12 @@ function si(e) {
|
|
|
1507
1529
|
continue;
|
|
1508
1530
|
case "scientific":
|
|
1509
1531
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1510
|
-
return v(v({}, h),
|
|
1532
|
+
return v(v({}, h), Rt(l));
|
|
1511
1533
|
}, {}));
|
|
1512
1534
|
continue;
|
|
1513
1535
|
case "engineering":
|
|
1514
1536
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1515
|
-
return v(v({}, h),
|
|
1537
|
+
return v(v({}, h), Rt(l));
|
|
1516
1538
|
}, {}));
|
|
1517
1539
|
continue;
|
|
1518
1540
|
case "notation-simple":
|
|
@@ -1557,7 +1579,7 @@ function si(e) {
|
|
|
1557
1579
|
case "integer-width":
|
|
1558
1580
|
if (i.options.length > 1)
|
|
1559
1581
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1560
|
-
i.options[0].replace(
|
|
1582
|
+
i.options[0].replace(ui, function(h, l, u, f, c, m) {
|
|
1561
1583
|
if (l)
|
|
1562
1584
|
t.minimumIntegerDigits = u.length;
|
|
1563
1585
|
else {
|
|
@@ -1570,27 +1592,27 @@ function si(e) {
|
|
|
1570
1592
|
});
|
|
1571
1593
|
continue;
|
|
1572
1594
|
}
|
|
1573
|
-
if (
|
|
1595
|
+
if (gr.test(i.stem)) {
|
|
1574
1596
|
t.minimumIntegerDigits = i.stem.length;
|
|
1575
1597
|
continue;
|
|
1576
1598
|
}
|
|
1577
|
-
if (
|
|
1599
|
+
if (At.test(i.stem)) {
|
|
1578
1600
|
if (i.options.length > 1)
|
|
1579
1601
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1580
|
-
i.stem.replace(
|
|
1602
|
+
i.stem.replace(At, function(h, l, u, f, c, m) {
|
|
1581
1603
|
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1582
1604
|
});
|
|
1583
1605
|
var o = i.options[0];
|
|
1584
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1606
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), Pt(o)));
|
|
1585
1607
|
continue;
|
|
1586
1608
|
}
|
|
1587
|
-
if (
|
|
1588
|
-
t = v(v({}, t),
|
|
1609
|
+
if (br.test(i.stem)) {
|
|
1610
|
+
t = v(v({}, t), Pt(i.stem));
|
|
1589
1611
|
continue;
|
|
1590
1612
|
}
|
|
1591
|
-
var a =
|
|
1613
|
+
var a = yr(i.stem);
|
|
1592
1614
|
a && (t = v(v({}, t), a));
|
|
1593
|
-
var s =
|
|
1615
|
+
var s = li(i.stem);
|
|
1594
1616
|
s && (t = v(v({}, t), s));
|
|
1595
1617
|
}
|
|
1596
1618
|
return t;
|
|
@@ -3010,13 +3032,13 @@ var _e = {
|
|
|
3010
3032
|
"h"
|
|
3011
3033
|
]
|
|
3012
3034
|
};
|
|
3013
|
-
function
|
|
3035
|
+
function ci(e, t) {
|
|
3014
3036
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3015
3037
|
var i = e.charAt(n);
|
|
3016
3038
|
if (i === "j") {
|
|
3017
3039
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3018
3040
|
o++, n++;
|
|
3019
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l =
|
|
3041
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = fi(t);
|
|
3020
3042
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
3021
3043
|
r += h;
|
|
3022
3044
|
for (; a-- > 0; )
|
|
@@ -3026,7 +3048,7 @@ function ui(e, t) {
|
|
|
3026
3048
|
}
|
|
3027
3049
|
return r;
|
|
3028
3050
|
}
|
|
3029
|
-
function
|
|
3051
|
+
function fi(e) {
|
|
3030
3052
|
var t = e.hourCycle;
|
|
3031
3053
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3032
3054
|
e.hourCycles && // @ts-ignore
|
|
@@ -3048,20 +3070,20 @@ function li(e) {
|
|
|
3048
3070
|
var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
|
|
3049
3071
|
return i[0];
|
|
3050
3072
|
}
|
|
3051
|
-
var
|
|
3073
|
+
var $e, mi = new RegExp("^".concat(pr.source, "*")), di = new RegExp("".concat(pr.source, "*$"));
|
|
3052
3074
|
function y(e, t) {
|
|
3053
3075
|
return { start: e, end: t };
|
|
3054
3076
|
}
|
|
3055
|
-
var
|
|
3077
|
+
var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, Ei = xi ? Number.isSafeInteger : function(e) {
|
|
3056
3078
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3057
|
-
},
|
|
3079
|
+
}, Ke = !0;
|
|
3058
3080
|
try {
|
|
3059
|
-
var
|
|
3060
|
-
|
|
3081
|
+
var wi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3082
|
+
Ke = (($e = wi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
|
3061
3083
|
} catch {
|
|
3062
|
-
|
|
3084
|
+
Ke = !1;
|
|
3063
3085
|
}
|
|
3064
|
-
var
|
|
3086
|
+
var It = pi ? (
|
|
3065
3087
|
// Native
|
|
3066
3088
|
function(t, r, n) {
|
|
3067
3089
|
return t.startsWith(r, n);
|
|
@@ -3071,7 +3093,7 @@ var At = fi ? (
|
|
|
3071
3093
|
function(t, r, n) {
|
|
3072
3094
|
return t.slice(n, n + r.length) === r;
|
|
3073
3095
|
}
|
|
3074
|
-
),
|
|
3096
|
+
), et = bi ? String.fromCodePoint : (
|
|
3075
3097
|
// IE11
|
|
3076
3098
|
function() {
|
|
3077
3099
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3083,9 +3105,9 @@ var At = fi ? (
|
|
|
3083
3105
|
}
|
|
3084
3106
|
return n;
|
|
3085
3107
|
}
|
|
3086
|
-
),
|
|
3108
|
+
), Ot = (
|
|
3087
3109
|
// native
|
|
3088
|
-
|
|
3110
|
+
gi ? Object.fromEntries : (
|
|
3089
3111
|
// Ponyfill
|
|
3090
3112
|
function(t) {
|
|
3091
3113
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3095,7 +3117,7 @@ var At = fi ? (
|
|
|
3095
3117
|
return r;
|
|
3096
3118
|
}
|
|
3097
3119
|
)
|
|
3098
|
-
),
|
|
3120
|
+
), vr = yi ? (
|
|
3099
3121
|
// Native
|
|
3100
3122
|
function(t, r) {
|
|
3101
3123
|
return t.codePointAt(r);
|
|
@@ -3109,7 +3131,7 @@ var At = fi ? (
|
|
|
3109
3131
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3110
3132
|
}
|
|
3111
3133
|
}
|
|
3112
|
-
),
|
|
3134
|
+
), Si = vi ? (
|
|
3113
3135
|
// Native
|
|
3114
3136
|
function(t) {
|
|
3115
3137
|
return t.trimStart();
|
|
@@ -3117,9 +3139,9 @@ var At = fi ? (
|
|
|
3117
3139
|
) : (
|
|
3118
3140
|
// Ponyfill
|
|
3119
3141
|
function(t) {
|
|
3120
|
-
return t.replace(
|
|
3142
|
+
return t.replace(mi, "");
|
|
3121
3143
|
}
|
|
3122
|
-
),
|
|
3144
|
+
), Ti = _i ? (
|
|
3123
3145
|
// Native
|
|
3124
3146
|
function(t) {
|
|
3125
3147
|
return t.trimEnd();
|
|
@@ -3127,32 +3149,32 @@ var At = fi ? (
|
|
|
3127
3149
|
) : (
|
|
3128
3150
|
// Ponyfill
|
|
3129
3151
|
function(t) {
|
|
3130
|
-
return t.replace(
|
|
3152
|
+
return t.replace(di, "");
|
|
3131
3153
|
}
|
|
3132
3154
|
);
|
|
3133
|
-
function
|
|
3155
|
+
function _r(e, t) {
|
|
3134
3156
|
return new RegExp(e, t);
|
|
3135
3157
|
}
|
|
3136
|
-
var
|
|
3137
|
-
if (
|
|
3138
|
-
var
|
|
3139
|
-
|
|
3158
|
+
var tt;
|
|
3159
|
+
if (Ke) {
|
|
3160
|
+
var Lt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3161
|
+
tt = function(t, r) {
|
|
3140
3162
|
var n;
|
|
3141
|
-
|
|
3142
|
-
var i =
|
|
3163
|
+
Lt.lastIndex = r;
|
|
3164
|
+
var i = Lt.exec(t);
|
|
3143
3165
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3144
3166
|
};
|
|
3145
3167
|
} else
|
|
3146
|
-
|
|
3168
|
+
tt = function(t, r) {
|
|
3147
3169
|
for (var n = []; ; ) {
|
|
3148
|
-
var i =
|
|
3149
|
-
if (i === void 0 ||
|
|
3170
|
+
var i = vr(t, r);
|
|
3171
|
+
if (i === void 0 || xr(i) || Pi(i))
|
|
3150
3172
|
break;
|
|
3151
3173
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3152
3174
|
}
|
|
3153
|
-
return
|
|
3175
|
+
return et.apply(void 0, n);
|
|
3154
3176
|
};
|
|
3155
|
-
var
|
|
3177
|
+
var Hi = (
|
|
3156
3178
|
/** @class */
|
|
3157
3179
|
function() {
|
|
3158
3180
|
function e(t, r) {
|
|
@@ -3183,7 +3205,7 @@ var wi = (
|
|
|
3183
3205
|
if (n)
|
|
3184
3206
|
break;
|
|
3185
3207
|
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3186
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3208
|
+
} else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
|
|
3187
3209
|
var a = this.parseTag(t, r);
|
|
3188
3210
|
if (a.err)
|
|
3189
3211
|
return a;
|
|
@@ -3216,7 +3238,7 @@ var wi = (
|
|
|
3216
3238
|
return o;
|
|
3217
3239
|
var a = o.val, s = this.clonePosition();
|
|
3218
3240
|
if (this.bumpIf("</")) {
|
|
3219
|
-
if (this.isEOF() || !
|
|
3241
|
+
if (this.isEOF() || !rt(this.char()))
|
|
3220
3242
|
return this.error(g.INVALID_TAG, y(s, this.clonePosition()));
|
|
3221
3243
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3222
3244
|
return i !== l ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3234,7 +3256,7 @@ var wi = (
|
|
|
3234
3256
|
return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
|
|
3235
3257
|
}, e.prototype.parseTagName = function() {
|
|
3236
3258
|
var t = this.offset();
|
|
3237
|
-
for (this.bump(); !this.isEOF() &&
|
|
3259
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
|
3238
3260
|
this.bump();
|
|
3239
3261
|
return this.message.slice(t, this.offset());
|
|
3240
3262
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3263,7 +3285,7 @@ var wi = (
|
|
|
3263
3285
|
};
|
|
3264
3286
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3265
3287
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3266
|
-
!
|
|
3288
|
+
!Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3267
3289
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3268
3290
|
if (this.isEOF() || this.char() !== 39)
|
|
3269
3291
|
return null;
|
|
@@ -3297,12 +3319,12 @@ var wi = (
|
|
|
3297
3319
|
r.push(n);
|
|
3298
3320
|
this.bump();
|
|
3299
3321
|
}
|
|
3300
|
-
return
|
|
3322
|
+
return et.apply(void 0, r);
|
|
3301
3323
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3302
3324
|
if (this.isEOF())
|
|
3303
3325
|
return null;
|
|
3304
3326
|
var n = this.char();
|
|
3305
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3327
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
|
|
3306
3328
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3307
3329
|
var n = this.clonePosition();
|
|
3308
3330
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3331,7 +3353,7 @@ var wi = (
|
|
|
3331
3353
|
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3332
3354
|
}
|
|
3333
3355
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3334
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3356
|
+
var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
|
|
3335
3357
|
this.bumpTo(i);
|
|
3336
3358
|
var o = this.clonePosition(), a = y(t, o);
|
|
3337
3359
|
return { value: n, location: a };
|
|
@@ -3350,7 +3372,7 @@ var wi = (
|
|
|
3350
3372
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3351
3373
|
if (f.err)
|
|
3352
3374
|
return f;
|
|
3353
|
-
var c =
|
|
3375
|
+
var c = Ti(f.val);
|
|
3354
3376
|
if (c.length === 0)
|
|
3355
3377
|
return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3356
3378
|
var m = y(u, this.clonePosition());
|
|
@@ -3360,8 +3382,8 @@ var wi = (
|
|
|
3360
3382
|
if (d.err)
|
|
3361
3383
|
return d;
|
|
3362
3384
|
var p = y(i, this.clonePosition());
|
|
3363
|
-
if (l &&
|
|
3364
|
-
var A =
|
|
3385
|
+
if (l && It(l?.style, "::", 0)) {
|
|
3386
|
+
var A = Si(l.style.slice(2));
|
|
3365
3387
|
if (s === "number") {
|
|
3366
3388
|
var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
|
|
3367
3389
|
return f.err ? f : {
|
|
@@ -3372,12 +3394,12 @@ var wi = (
|
|
|
3372
3394
|
if (A.length === 0)
|
|
3373
3395
|
return this.error(g.EXPECT_DATE_TIME_SKELETON, p);
|
|
3374
3396
|
var H = A;
|
|
3375
|
-
this.locale && (H =
|
|
3397
|
+
this.locale && (H = ci(A, this.locale));
|
|
3376
3398
|
var c = {
|
|
3377
3399
|
type: ne.dateTime,
|
|
3378
3400
|
pattern: H,
|
|
3379
3401
|
location: l.styleLocation,
|
|
3380
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3402
|
+
parsedOptions: this.shouldParseSkeletons ? ii(H) : {}
|
|
3381
3403
|
}, T = s === "date" ? w.date : w.time;
|
|
3382
3404
|
return {
|
|
3383
3405
|
val: { type: T, value: n, location: p, style: c },
|
|
@@ -3402,19 +3424,19 @@ var wi = (
|
|
|
3402
3424
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3403
3425
|
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(B, v({}, B)));
|
|
3404
3426
|
this.bumpSpace();
|
|
3405
|
-
var
|
|
3406
|
-
if (s !== "select" &&
|
|
3427
|
+
var L = this.parseIdentifierIfPossible(), M = 0;
|
|
3428
|
+
if (s !== "select" && L.value === "offset") {
|
|
3407
3429
|
if (!this.bumpIf(":"))
|
|
3408
3430
|
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3409
3431
|
this.bumpSpace();
|
|
3410
3432
|
var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3411
3433
|
if (f.err)
|
|
3412
3434
|
return f;
|
|
3413
|
-
this.bumpSpace(),
|
|
3435
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = f.val;
|
|
3414
3436
|
}
|
|
3415
|
-
var
|
|
3416
|
-
if (
|
|
3417
|
-
return
|
|
3437
|
+
var N = this.tryParsePluralOrSelectOptions(t, s, r, L);
|
|
3438
|
+
if (N.err)
|
|
3439
|
+
return N;
|
|
3418
3440
|
var d = this.tryParseArgumentClose(i);
|
|
3419
3441
|
if (d.err)
|
|
3420
3442
|
return d;
|
|
@@ -3423,7 +3445,7 @@ var wi = (
|
|
|
3423
3445
|
val: {
|
|
3424
3446
|
type: w.select,
|
|
3425
3447
|
value: n,
|
|
3426
|
-
options:
|
|
3448
|
+
options: Ot(N.val),
|
|
3427
3449
|
location: be
|
|
3428
3450
|
},
|
|
3429
3451
|
err: null
|
|
@@ -3431,8 +3453,8 @@ var wi = (
|
|
|
3431
3453
|
val: {
|
|
3432
3454
|
type: w.plural,
|
|
3433
3455
|
value: n,
|
|
3434
|
-
options:
|
|
3435
|
-
offset:
|
|
3456
|
+
options: Ot(N.val),
|
|
3457
|
+
offset: M,
|
|
3436
3458
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3437
3459
|
location: be
|
|
3438
3460
|
},
|
|
@@ -3482,7 +3504,7 @@ var wi = (
|
|
|
3482
3504
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3483
3505
|
var n = [];
|
|
3484
3506
|
try {
|
|
3485
|
-
n =
|
|
3507
|
+
n = ai(t);
|
|
3486
3508
|
} catch {
|
|
3487
3509
|
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3488
3510
|
}
|
|
@@ -3491,7 +3513,7 @@ var wi = (
|
|
|
3491
3513
|
type: ne.number,
|
|
3492
3514
|
tokens: n,
|
|
3493
3515
|
location: r,
|
|
3494
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3516
|
+
parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
|
|
3495
3517
|
},
|
|
3496
3518
|
err: null
|
|
3497
3519
|
};
|
|
@@ -3539,7 +3561,7 @@ var wi = (
|
|
|
3539
3561
|
break;
|
|
3540
3562
|
}
|
|
3541
3563
|
var h = y(i, this.clonePosition());
|
|
3542
|
-
return o ? (a *= n,
|
|
3564
|
+
return o ? (a *= n, Ei(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3543
3565
|
}, e.prototype.offset = function() {
|
|
3544
3566
|
return this.position.offset;
|
|
3545
3567
|
}, e.prototype.isEOF = function() {
|
|
@@ -3554,7 +3576,7 @@ var wi = (
|
|
|
3554
3576
|
var t = this.position.offset;
|
|
3555
3577
|
if (t >= this.message.length)
|
|
3556
3578
|
throw Error("out of bound");
|
|
3557
|
-
var r =
|
|
3579
|
+
var r = vr(this.message, t);
|
|
3558
3580
|
if (r === void 0)
|
|
3559
3581
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3560
3582
|
return r;
|
|
@@ -3573,7 +3595,7 @@ var wi = (
|
|
|
3573
3595
|
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);
|
|
3574
3596
|
}
|
|
3575
3597
|
}, e.prototype.bumpIf = function(t) {
|
|
3576
|
-
if (
|
|
3598
|
+
if (It(this.message, t, this.offset())) {
|
|
3577
3599
|
for (var r = 0; r < t.length; r++)
|
|
3578
3600
|
this.bump();
|
|
3579
3601
|
return !0;
|
|
@@ -3595,7 +3617,7 @@ var wi = (
|
|
|
3595
3617
|
break;
|
|
3596
3618
|
}
|
|
3597
3619
|
}, e.prototype.bumpSpace = function() {
|
|
3598
|
-
for (; !this.isEOF() &&
|
|
3620
|
+
for (; !this.isEOF() && xr(this.char()); )
|
|
3599
3621
|
this.bump();
|
|
3600
3622
|
}, e.prototype.peek = function() {
|
|
3601
3623
|
if (this.isEOF())
|
|
@@ -3605,44 +3627,44 @@ var wi = (
|
|
|
3605
3627
|
}, e;
|
|
3606
3628
|
}()
|
|
3607
3629
|
);
|
|
3608
|
-
function
|
|
3630
|
+
function rt(e) {
|
|
3609
3631
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3610
3632
|
}
|
|
3611
|
-
function
|
|
3612
|
-
return
|
|
3633
|
+
function Bi(e) {
|
|
3634
|
+
return rt(e) || e === 47;
|
|
3613
3635
|
}
|
|
3614
|
-
function
|
|
3636
|
+
function Ai(e) {
|
|
3615
3637
|
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;
|
|
3616
3638
|
}
|
|
3617
|
-
function
|
|
3639
|
+
function xr(e) {
|
|
3618
3640
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3619
3641
|
}
|
|
3620
|
-
function
|
|
3642
|
+
function Pi(e) {
|
|
3621
3643
|
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;
|
|
3622
3644
|
}
|
|
3623
|
-
function
|
|
3645
|
+
function nt(e) {
|
|
3624
3646
|
e.forEach(function(t) {
|
|
3625
|
-
if (delete t.location,
|
|
3647
|
+
if (delete t.location, cr(t) || fr(t))
|
|
3626
3648
|
for (var r in t.options)
|
|
3627
|
-
delete t.options[r].location,
|
|
3649
|
+
delete t.options[r].location, nt(t.options[r].value);
|
|
3628
3650
|
else
|
|
3629
|
-
|
|
3651
|
+
ur(t) && dr(t.style) || (lr(t) || hr(t)) && qe(t.style) ? delete t.style.location : mr(t) && nt(t.children);
|
|
3630
3652
|
});
|
|
3631
3653
|
}
|
|
3632
|
-
function
|
|
3654
|
+
function Ri(e, t) {
|
|
3633
3655
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3634
|
-
var r = new
|
|
3656
|
+
var r = new Hi(e, t).parse();
|
|
3635
3657
|
if (r.err) {
|
|
3636
3658
|
var n = SyntaxError(g[r.err.kind]);
|
|
3637
3659
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3638
3660
|
}
|
|
3639
|
-
return t?.captureLocation ||
|
|
3661
|
+
return t?.captureLocation || nt(r.val), r.val;
|
|
3640
3662
|
}
|
|
3641
3663
|
var ie;
|
|
3642
3664
|
(function(e) {
|
|
3643
3665
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3644
3666
|
})(ie || (ie = {}));
|
|
3645
|
-
var
|
|
3667
|
+
var Oe = (
|
|
3646
3668
|
/** @class */
|
|
3647
3669
|
function(e) {
|
|
3648
3670
|
F(t, e);
|
|
@@ -3654,7 +3676,7 @@ var Ie = (
|
|
|
3654
3676
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3655
3677
|
}, t;
|
|
3656
3678
|
}(Error)
|
|
3657
|
-
),
|
|
3679
|
+
), Mt = (
|
|
3658
3680
|
/** @class */
|
|
3659
3681
|
function(e) {
|
|
3660
3682
|
F(t, e);
|
|
@@ -3662,8 +3684,8 @@ var Ie = (
|
|
|
3662
3684
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3663
3685
|
}
|
|
3664
3686
|
return t;
|
|
3665
|
-
}(
|
|
3666
|
-
),
|
|
3687
|
+
}(Oe)
|
|
3688
|
+
), Ii = (
|
|
3667
3689
|
/** @class */
|
|
3668
3690
|
function(e) {
|
|
3669
3691
|
F(t, e);
|
|
@@ -3671,8 +3693,8 @@ var Ie = (
|
|
|
3671
3693
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3672
3694
|
}
|
|
3673
3695
|
return t;
|
|
3674
|
-
}(
|
|
3675
|
-
),
|
|
3696
|
+
}(Oe)
|
|
3697
|
+
), Oi = (
|
|
3676
3698
|
/** @class */
|
|
3677
3699
|
function(e) {
|
|
3678
3700
|
F(t, e);
|
|
@@ -3680,22 +3702,22 @@ var Ie = (
|
|
|
3680
3702
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3681
3703
|
}
|
|
3682
3704
|
return t;
|
|
3683
|
-
}(
|
|
3705
|
+
}(Oe)
|
|
3684
3706
|
), P;
|
|
3685
3707
|
(function(e) {
|
|
3686
3708
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3687
3709
|
})(P || (P = {}));
|
|
3688
|
-
function
|
|
3710
|
+
function Li(e) {
|
|
3689
3711
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3690
3712
|
var n = t[t.length - 1];
|
|
3691
3713
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3692
3714
|
}, []);
|
|
3693
3715
|
}
|
|
3694
|
-
function
|
|
3716
|
+
function Mi(e) {
|
|
3695
3717
|
return typeof e == "function";
|
|
3696
3718
|
}
|
|
3697
3719
|
function Se(e, t, r, n, i, o, a) {
|
|
3698
|
-
if (e.length === 1 &&
|
|
3720
|
+
if (e.length === 1 && Bt(e[0]))
|
|
3699
3721
|
return [
|
|
3700
3722
|
{
|
|
3701
3723
|
type: P.literal,
|
|
@@ -3704,14 +3726,14 @@ function Se(e, t, r, n, i, o, a) {
|
|
|
3704
3726
|
];
|
|
3705
3727
|
for (var s = [], h = 0, l = e; h < l.length; h++) {
|
|
3706
3728
|
var u = l[h];
|
|
3707
|
-
if (
|
|
3729
|
+
if (Bt(u)) {
|
|
3708
3730
|
s.push({
|
|
3709
3731
|
type: P.literal,
|
|
3710
3732
|
value: u.value
|
|
3711
3733
|
});
|
|
3712
3734
|
continue;
|
|
3713
3735
|
}
|
|
3714
|
-
if (
|
|
3736
|
+
if (ri(u)) {
|
|
3715
3737
|
typeof o == "number" && s.push({
|
|
3716
3738
|
type: P.literal,
|
|
3717
3739
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3720,89 +3742,89 @@ function Se(e, t, r, n, i, o, a) {
|
|
|
3720
3742
|
}
|
|
3721
3743
|
var f = u.value;
|
|
3722
3744
|
if (!(i && f in i))
|
|
3723
|
-
throw new
|
|
3745
|
+
throw new Oi(f, a);
|
|
3724
3746
|
var c = i[f];
|
|
3725
|
-
if (
|
|
3747
|
+
if (ti(u)) {
|
|
3726
3748
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3727
3749
|
type: typeof c == "string" ? P.literal : P.object,
|
|
3728
3750
|
value: c
|
|
3729
3751
|
});
|
|
3730
3752
|
continue;
|
|
3731
3753
|
}
|
|
3732
|
-
if (
|
|
3733
|
-
var m = typeof u.style == "string" ? n.date[u.style] :
|
|
3754
|
+
if (lr(u)) {
|
|
3755
|
+
var m = typeof u.style == "string" ? n.date[u.style] : qe(u.style) ? u.style.parsedOptions : void 0;
|
|
3734
3756
|
s.push({
|
|
3735
3757
|
type: P.literal,
|
|
3736
3758
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3737
3759
|
});
|
|
3738
3760
|
continue;
|
|
3739
3761
|
}
|
|
3740
|
-
if (
|
|
3741
|
-
var m = typeof u.style == "string" ? n.time[u.style] :
|
|
3762
|
+
if (hr(u)) {
|
|
3763
|
+
var m = typeof u.style == "string" ? n.time[u.style] : qe(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3742
3764
|
s.push({
|
|
3743
3765
|
type: P.literal,
|
|
3744
3766
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3745
3767
|
});
|
|
3746
3768
|
continue;
|
|
3747
3769
|
}
|
|
3748
|
-
if (
|
|
3749
|
-
var m = typeof u.style == "string" ? n.number[u.style] :
|
|
3770
|
+
if (ur(u)) {
|
|
3771
|
+
var m = typeof u.style == "string" ? n.number[u.style] : dr(u.style) ? u.style.parsedOptions : void 0;
|
|
3750
3772
|
m && m.scale && (c = c * (m.scale || 1)), s.push({
|
|
3751
3773
|
type: P.literal,
|
|
3752
3774
|
value: r.getNumberFormat(t, m).format(c)
|
|
3753
3775
|
});
|
|
3754
3776
|
continue;
|
|
3755
3777
|
}
|
|
3756
|
-
if (
|
|
3778
|
+
if (mr(u)) {
|
|
3757
3779
|
var d = u.children, p = u.value, A = i[p];
|
|
3758
|
-
if (!
|
|
3759
|
-
throw new
|
|
3760
|
-
var H = Se(d, t, r, n, i, o), T = A(H.map(function(
|
|
3761
|
-
return
|
|
3780
|
+
if (!Mi(A))
|
|
3781
|
+
throw new Ii(p, "function", a);
|
|
3782
|
+
var H = Se(d, t, r, n, i, o), T = A(H.map(function(M) {
|
|
3783
|
+
return M.value;
|
|
3762
3784
|
}));
|
|
3763
|
-
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(
|
|
3785
|
+
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(M) {
|
|
3764
3786
|
return {
|
|
3765
|
-
type: typeof
|
|
3766
|
-
value:
|
|
3787
|
+
type: typeof M == "string" ? P.literal : P.object,
|
|
3788
|
+
value: M
|
|
3767
3789
|
};
|
|
3768
3790
|
}));
|
|
3769
3791
|
}
|
|
3770
|
-
if (
|
|
3792
|
+
if (cr(u)) {
|
|
3771
3793
|
var B = u.options[c] || u.options.other;
|
|
3772
3794
|
if (!B)
|
|
3773
|
-
throw new
|
|
3795
|
+
throw new Mt(u.value, c, Object.keys(u.options), a);
|
|
3774
3796
|
s.push.apply(s, Se(B.value, t, r, n, i));
|
|
3775
3797
|
continue;
|
|
3776
3798
|
}
|
|
3777
|
-
if (
|
|
3799
|
+
if (fr(u)) {
|
|
3778
3800
|
var B = u.options["=".concat(c)];
|
|
3779
3801
|
if (!B) {
|
|
3780
3802
|
if (!Intl.PluralRules)
|
|
3781
|
-
throw new
|
|
3803
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
3782
3804
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3783
3805
|
`, ie.MISSING_INTL_API, a);
|
|
3784
|
-
var
|
|
3785
|
-
B = u.options[
|
|
3806
|
+
var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
|
|
3807
|
+
B = u.options[L] || u.options.other;
|
|
3786
3808
|
}
|
|
3787
3809
|
if (!B)
|
|
3788
|
-
throw new
|
|
3810
|
+
throw new Mt(u.value, c, Object.keys(u.options), a);
|
|
3789
3811
|
s.push.apply(s, Se(B.value, t, r, n, i, c - (u.offset || 0)));
|
|
3790
3812
|
continue;
|
|
3791
3813
|
}
|
|
3792
3814
|
}
|
|
3793
|
-
return
|
|
3815
|
+
return Li(s);
|
|
3794
3816
|
}
|
|
3795
|
-
function
|
|
3817
|
+
function Ci(e, t) {
|
|
3796
3818
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3797
3819
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3798
3820
|
}, {})) : e;
|
|
3799
3821
|
}
|
|
3800
3822
|
function Ni(e, t) {
|
|
3801
3823
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3802
|
-
return r[n] =
|
|
3824
|
+
return r[n] = Ci(e[n], t[n]), r;
|
|
3803
3825
|
}, v({}, e)) : e;
|
|
3804
3826
|
}
|
|
3805
|
-
function
|
|
3827
|
+
function je(e) {
|
|
3806
3828
|
return {
|
|
3807
3829
|
create: function() {
|
|
3808
3830
|
return {
|
|
@@ -3816,39 +3838,39 @@ function $e(e) {
|
|
|
3816
3838
|
}
|
|
3817
3839
|
};
|
|
3818
3840
|
}
|
|
3819
|
-
function
|
|
3841
|
+
function Gi(e) {
|
|
3820
3842
|
return e === void 0 && (e = {
|
|
3821
3843
|
number: {},
|
|
3822
3844
|
dateTime: {},
|
|
3823
3845
|
pluralRules: {}
|
|
3824
3846
|
}), {
|
|
3825
|
-
getNumberFormat:
|
|
3847
|
+
getNumberFormat: De(function() {
|
|
3826
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3827
3849
|
r[n] = arguments[n];
|
|
3828
3850
|
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3829
3851
|
}, {
|
|
3830
|
-
cache:
|
|
3831
|
-
strategy:
|
|
3852
|
+
cache: je(e.number),
|
|
3853
|
+
strategy: Fe.variadic
|
|
3832
3854
|
}),
|
|
3833
|
-
getDateTimeFormat:
|
|
3855
|
+
getDateTimeFormat: De(function() {
|
|
3834
3856
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3835
3857
|
r[n] = arguments[n];
|
|
3836
3858
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3837
3859
|
}, {
|
|
3838
|
-
cache:
|
|
3839
|
-
strategy:
|
|
3860
|
+
cache: je(e.dateTime),
|
|
3861
|
+
strategy: Fe.variadic
|
|
3840
3862
|
}),
|
|
3841
|
-
getPluralRules:
|
|
3863
|
+
getPluralRules: De(function() {
|
|
3842
3864
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3843
3865
|
r[n] = arguments[n];
|
|
3844
3866
|
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3845
3867
|
}, {
|
|
3846
|
-
cache:
|
|
3847
|
-
strategy:
|
|
3868
|
+
cache: je(e.pluralRules),
|
|
3869
|
+
strategy: Fe.variadic
|
|
3848
3870
|
})
|
|
3849
3871
|
};
|
|
3850
3872
|
}
|
|
3851
|
-
var
|
|
3873
|
+
var Ui = (
|
|
3852
3874
|
/** @class */
|
|
3853
3875
|
function() {
|
|
3854
3876
|
function e(t, r, n, i) {
|
|
@@ -3880,13 +3902,13 @@ var Mi = (
|
|
|
3880
3902
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3881
3903
|
var a = i || {};
|
|
3882
3904
|
a.formatters;
|
|
3883
|
-
var s =
|
|
3905
|
+
var s = gn(a, ["formatters"]);
|
|
3884
3906
|
this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
|
|
3885
3907
|
} else
|
|
3886
3908
|
this.ast = t;
|
|
3887
3909
|
if (!Array.isArray(this.ast))
|
|
3888
3910
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3889
|
-
this.formats = Ni(e.formats, n), this.formatters = i && i.formatters ||
|
|
3911
|
+
this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Gi(this.formatterCache);
|
|
3890
3912
|
}
|
|
3891
3913
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3892
3914
|
get: function() {
|
|
@@ -3899,7 +3921,7 @@ var Mi = (
|
|
|
3899
3921
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3900
3922
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3901
3923
|
}
|
|
3902
|
-
}, e.__parse =
|
|
3924
|
+
}, e.__parse = Ri, e.formats = {
|
|
3903
3925
|
number: {
|
|
3904
3926
|
integer: {
|
|
3905
3927
|
maximumFractionDigits: 0
|
|
@@ -3960,7 +3982,7 @@ var Mi = (
|
|
|
3960
3982
|
}, e;
|
|
3961
3983
|
}()
|
|
3962
3984
|
);
|
|
3963
|
-
function
|
|
3985
|
+
function Di(e, t) {
|
|
3964
3986
|
if (t == null)
|
|
3965
3987
|
return;
|
|
3966
3988
|
if (t in e)
|
|
@@ -3981,92 +4003,92 @@ function Ci(e, t) {
|
|
|
3981
4003
|
n = void 0;
|
|
3982
4004
|
return n;
|
|
3983
4005
|
}
|
|
3984
|
-
const $ = {},
|
|
4006
|
+
const $ = {}, Fi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Er = (e, t) => {
|
|
3985
4007
|
if (t == null)
|
|
3986
4008
|
return;
|
|
3987
4009
|
if (t in $ && e in $[t])
|
|
3988
4010
|
return $[t][e];
|
|
3989
|
-
const r =
|
|
4011
|
+
const r = Le(t);
|
|
3990
4012
|
for (let n = 0; n < r.length; n++) {
|
|
3991
|
-
const i = r[n], o =
|
|
4013
|
+
const i = r[n], o = ji(i, e);
|
|
3992
4014
|
if (o)
|
|
3993
|
-
return
|
|
4015
|
+
return Fi(e, t, o);
|
|
3994
4016
|
}
|
|
3995
4017
|
};
|
|
3996
|
-
let
|
|
3997
|
-
const se =
|
|
3998
|
-
function
|
|
3999
|
-
return
|
|
4018
|
+
let lt;
|
|
4019
|
+
const se = Ie({});
|
|
4020
|
+
function $i(e) {
|
|
4021
|
+
return lt[e] || null;
|
|
4000
4022
|
}
|
|
4001
|
-
function
|
|
4002
|
-
return e in
|
|
4023
|
+
function wr(e) {
|
|
4024
|
+
return e in lt;
|
|
4003
4025
|
}
|
|
4004
|
-
function
|
|
4005
|
-
if (!
|
|
4026
|
+
function ji(e, t) {
|
|
4027
|
+
if (!wr(e))
|
|
4006
4028
|
return null;
|
|
4007
|
-
const r =
|
|
4008
|
-
return
|
|
4029
|
+
const r = $i(e);
|
|
4030
|
+
return Di(r, t);
|
|
4009
4031
|
}
|
|
4010
|
-
function
|
|
4032
|
+
function ki(e) {
|
|
4011
4033
|
if (e == null)
|
|
4012
4034
|
return;
|
|
4013
|
-
const t =
|
|
4035
|
+
const t = Le(e);
|
|
4014
4036
|
for (let r = 0; r < t.length; r++) {
|
|
4015
4037
|
const n = t[r];
|
|
4016
|
-
if (
|
|
4038
|
+
if (wr(n))
|
|
4017
4039
|
return n;
|
|
4018
4040
|
}
|
|
4019
4041
|
}
|
|
4020
|
-
function
|
|
4021
|
-
delete $[e], se.update((r) => (r[e] =
|
|
4042
|
+
function Sr(e, ...t) {
|
|
4043
|
+
delete $[e], se.update((r) => (r[e] = Jn.all([r[e] || {}, ...t]), r));
|
|
4022
4044
|
}
|
|
4023
4045
|
ae(
|
|
4024
4046
|
[se],
|
|
4025
4047
|
([e]) => Object.keys(e)
|
|
4026
4048
|
);
|
|
4027
|
-
se.subscribe((e) =>
|
|
4049
|
+
se.subscribe((e) => lt = e);
|
|
4028
4050
|
const Te = {};
|
|
4029
|
-
function
|
|
4051
|
+
function Vi(e, t) {
|
|
4030
4052
|
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
|
4031
4053
|
}
|
|
4032
|
-
function
|
|
4054
|
+
function Tr(e) {
|
|
4033
4055
|
return Te[e];
|
|
4034
4056
|
}
|
|
4035
|
-
function
|
|
4036
|
-
return
|
|
4037
|
-
const r =
|
|
4057
|
+
function Wi(e) {
|
|
4058
|
+
return Le(e).map((t) => {
|
|
4059
|
+
const r = Tr(t);
|
|
4038
4060
|
return [t, r ? [...r] : []];
|
|
4039
4061
|
}).filter(([, t]) => t.length > 0);
|
|
4040
4062
|
}
|
|
4041
|
-
function
|
|
4042
|
-
return e == null ? !1 :
|
|
4063
|
+
function it(e) {
|
|
4064
|
+
return e == null ? !1 : Le(e).some(
|
|
4043
4065
|
(t) => {
|
|
4044
4066
|
var r;
|
|
4045
|
-
return (r =
|
|
4067
|
+
return (r = Tr(t)) == null ? void 0 : r.size;
|
|
4046
4068
|
}
|
|
4047
4069
|
);
|
|
4048
4070
|
}
|
|
4049
|
-
function
|
|
4071
|
+
function Xi(e, t) {
|
|
4050
4072
|
return Promise.all(
|
|
4051
|
-
t.map((n) => (
|
|
4052
|
-
).then((n) =>
|
|
4073
|
+
t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
|
|
4074
|
+
).then((n) => Sr(e, ...n));
|
|
4053
4075
|
}
|
|
4054
4076
|
const he = {};
|
|
4055
|
-
function
|
|
4056
|
-
if (!
|
|
4077
|
+
function Hr(e) {
|
|
4078
|
+
if (!it(e))
|
|
4057
4079
|
return e in he ? he[e] : Promise.resolve();
|
|
4058
|
-
const t =
|
|
4080
|
+
const t = Wi(e);
|
|
4059
4081
|
return he[e] = Promise.all(
|
|
4060
4082
|
t.map(
|
|
4061
|
-
([r, n]) =>
|
|
4083
|
+
([r, n]) => Xi(r, n)
|
|
4062
4084
|
)
|
|
4063
4085
|
).then(() => {
|
|
4064
|
-
if (
|
|
4065
|
-
return
|
|
4086
|
+
if (it(e))
|
|
4087
|
+
return Hr(e);
|
|
4066
4088
|
delete he[e];
|
|
4067
4089
|
}), he[e];
|
|
4068
4090
|
}
|
|
4069
|
-
const
|
|
4091
|
+
const zi = {
|
|
4070
4092
|
number: {
|
|
4071
4093
|
scientific: { notation: "scientific" },
|
|
4072
4094
|
engineering: { notation: "engineering" },
|
|
@@ -4095,78 +4117,78 @@ const Vi = {
|
|
|
4095
4117
|
timeZoneName: "short"
|
|
4096
4118
|
}
|
|
4097
4119
|
}
|
|
4098
|
-
},
|
|
4120
|
+
}, Ji = {
|
|
4099
4121
|
fallbackLocale: null,
|
|
4100
4122
|
loadingDelay: 200,
|
|
4101
|
-
formats:
|
|
4123
|
+
formats: zi,
|
|
4102
4124
|
warnOnMissingMessages: !0,
|
|
4103
4125
|
handleMissingMessage: void 0,
|
|
4104
4126
|
ignoreTag: !0
|
|
4105
|
-
},
|
|
4127
|
+
}, Zi = Ji;
|
|
4106
4128
|
function oe() {
|
|
4107
|
-
return
|
|
4129
|
+
return Zi;
|
|
4108
4130
|
}
|
|
4109
|
-
const
|
|
4110
|
-
var
|
|
4131
|
+
const ke = Ie(!1);
|
|
4132
|
+
var Qi = Object.defineProperty, Yi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
|
|
4111
4133
|
for (var r in t || (t = {}))
|
|
4112
|
-
|
|
4113
|
-
if (
|
|
4114
|
-
for (var r of
|
|
4115
|
-
|
|
4134
|
+
Ki.call(t, r) && Nt(e, r, t[r]);
|
|
4135
|
+
if (Ct)
|
|
4136
|
+
for (var r of Ct(t))
|
|
4137
|
+
eo.call(t, r) && Nt(e, r, t[r]);
|
|
4116
4138
|
return e;
|
|
4117
|
-
},
|
|
4118
|
-
let
|
|
4119
|
-
const Ae =
|
|
4120
|
-
function
|
|
4139
|
+
}, ro = (e, t) => Yi(e, qi(t));
|
|
4140
|
+
let ot;
|
|
4141
|
+
const Ae = Ie(null);
|
|
4142
|
+
function Gt(e) {
|
|
4121
4143
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4122
4144
|
}
|
|
4123
|
-
function
|
|
4124
|
-
const r =
|
|
4125
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4145
|
+
function Le(e, t = oe().fallbackLocale) {
|
|
4146
|
+
const r = Gt(e);
|
|
4147
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
|
|
4126
4148
|
}
|
|
4127
4149
|
function Z() {
|
|
4128
|
-
return
|
|
4150
|
+
return ot ?? void 0;
|
|
4129
4151
|
}
|
|
4130
4152
|
Ae.subscribe((e) => {
|
|
4131
|
-
|
|
4153
|
+
ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4132
4154
|
});
|
|
4133
|
-
const
|
|
4134
|
-
if (e &&
|
|
4155
|
+
const no = (e) => {
|
|
4156
|
+
if (e && ki(e) && it(e)) {
|
|
4135
4157
|
const { loadingDelay: t } = oe();
|
|
4136
4158
|
let r;
|
|
4137
4159
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4138
|
-
() =>
|
|
4160
|
+
() => ke.set(!0),
|
|
4139
4161
|
t
|
|
4140
|
-
) :
|
|
4162
|
+
) : ke.set(!0), Hr(e).then(() => {
|
|
4141
4163
|
Ae.set(e);
|
|
4142
4164
|
}).finally(() => {
|
|
4143
|
-
clearTimeout(r),
|
|
4165
|
+
clearTimeout(r), ke.set(!1);
|
|
4144
4166
|
});
|
|
4145
4167
|
}
|
|
4146
4168
|
return Ae.set(e);
|
|
4147
|
-
}, V =
|
|
4148
|
-
set:
|
|
4149
|
-
}),
|
|
4169
|
+
}, V = ro(to({}, Ae), {
|
|
4170
|
+
set: no
|
|
4171
|
+
}), Me = (e) => {
|
|
4150
4172
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4151
4173
|
return (n) => {
|
|
4152
4174
|
const i = JSON.stringify(n);
|
|
4153
4175
|
return i in t ? t[i] : t[i] = e(n);
|
|
4154
4176
|
};
|
|
4155
4177
|
};
|
|
4156
|
-
var
|
|
4178
|
+
var io = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4157
4179
|
for (var r in t || (t = {}))
|
|
4158
|
-
|
|
4180
|
+
Br.call(t, r) && Ut(e, r, t[r]);
|
|
4159
4181
|
if (Pe)
|
|
4160
4182
|
for (var r of Pe(t))
|
|
4161
|
-
|
|
4183
|
+
Ar.call(t, r) && Ut(e, r, t[r]);
|
|
4162
4184
|
return e;
|
|
4163
4185
|
}, ue = (e, t) => {
|
|
4164
4186
|
var r = {};
|
|
4165
4187
|
for (var n in e)
|
|
4166
|
-
|
|
4188
|
+
Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4167
4189
|
if (e != null && Pe)
|
|
4168
4190
|
for (var n of Pe(e))
|
|
4169
|
-
t.indexOf(n) < 0 &&
|
|
4191
|
+
t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
|
|
4170
4192
|
return r;
|
|
4171
4193
|
};
|
|
4172
4194
|
const pe = (e, t) => {
|
|
@@ -4174,21 +4196,21 @@ const pe = (e, t) => {
|
|
|
4174
4196
|
if (e in r && t in r[e])
|
|
4175
4197
|
return r[e][t];
|
|
4176
4198
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4177
|
-
},
|
|
4199
|
+
}, oo = Me(
|
|
4178
4200
|
(e) => {
|
|
4179
4201
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4180
4202
|
if (r == null)
|
|
4181
4203
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4182
4204
|
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4183
4205
|
}
|
|
4184
|
-
),
|
|
4206
|
+
), ao = Me(
|
|
4185
4207
|
(e) => {
|
|
4186
4208
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4187
4209
|
if (r == null)
|
|
4188
4210
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4189
4211
|
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4190
4212
|
}
|
|
4191
|
-
),
|
|
4213
|
+
), so = Me(
|
|
4192
4214
|
(e) => {
|
|
4193
4215
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4194
4216
|
if (r == null)
|
|
@@ -4197,33 +4219,33 @@ const pe = (e, t) => {
|
|
|
4197
4219
|
);
|
|
4198
4220
|
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4199
4221
|
}
|
|
4200
|
-
),
|
|
4222
|
+
), uo = (e = {}) => {
|
|
4201
4223
|
var t = e, {
|
|
4202
4224
|
locale: r = Z()
|
|
4203
4225
|
} = t, n = ue(t, [
|
|
4204
4226
|
"locale"
|
|
4205
4227
|
]);
|
|
4206
|
-
return
|
|
4207
|
-
},
|
|
4228
|
+
return oo(ht({ locale: r }, n));
|
|
4229
|
+
}, lo = (e = {}) => {
|
|
4208
4230
|
var t = e, {
|
|
4209
4231
|
locale: r = Z()
|
|
4210
4232
|
} = t, n = ue(t, [
|
|
4211
4233
|
"locale"
|
|
4212
4234
|
]);
|
|
4213
|
-
return
|
|
4214
|
-
},
|
|
4235
|
+
return ao(ht({ locale: r }, n));
|
|
4236
|
+
}, ho = (e = {}) => {
|
|
4215
4237
|
var t = e, {
|
|
4216
4238
|
locale: r = Z()
|
|
4217
4239
|
} = t, n = ue(t, [
|
|
4218
4240
|
"locale"
|
|
4219
4241
|
]);
|
|
4220
|
-
return
|
|
4221
|
-
},
|
|
4242
|
+
return so(ht({ locale: r }, n));
|
|
4243
|
+
}, co = Me(
|
|
4222
4244
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4223
|
-
(e, t = Z()) => new
|
|
4245
|
+
(e, t = Z()) => new Ui(e, t, oe().formats, {
|
|
4224
4246
|
ignoreTag: oe().ignoreTag
|
|
4225
4247
|
})
|
|
4226
|
-
),
|
|
4248
|
+
), fo = (e, t = {}) => {
|
|
4227
4249
|
var r, n, i, o;
|
|
4228
4250
|
let a = t;
|
|
4229
4251
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4236,7 +4258,7 @@ const pe = (e, t) => {
|
|
|
4236
4258
|
throw new Error(
|
|
4237
4259
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4238
4260
|
);
|
|
4239
|
-
let u =
|
|
4261
|
+
let u = Er(e, h);
|
|
4240
4262
|
if (!u)
|
|
4241
4263
|
u = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4242
4264
|
else if (typeof u != "string")
|
|
@@ -4247,7 +4269,7 @@ const pe = (e, t) => {
|
|
|
4247
4269
|
return u;
|
|
4248
4270
|
let f = u;
|
|
4249
4271
|
try {
|
|
4250
|
-
f =
|
|
4272
|
+
f = co(u, h).format(s);
|
|
4251
4273
|
} catch (c) {
|
|
4252
4274
|
c instanceof Error && console.warn(
|
|
4253
4275
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4255,20 +4277,20 @@ const pe = (e, t) => {
|
|
|
4255
4277
|
);
|
|
4256
4278
|
}
|
|
4257
4279
|
return f;
|
|
4258
|
-
},
|
|
4259
|
-
ae([V], () =>
|
|
4260
|
-
ae([V], () =>
|
|
4261
|
-
ae([V], () =>
|
|
4262
|
-
ae([V, se], () =>
|
|
4263
|
-
window.emWidgets = { topic:
|
|
4264
|
-
const
|
|
4265
|
-
function
|
|
4280
|
+
}, mo = (e, t) => ho(t).format(e), po = (e, t) => lo(t).format(e), bo = (e, t) => uo(t).format(e), go = (e, t = Z()) => Er(e, t), yo = ae([V, se], () => fo);
|
|
4281
|
+
ae([V], () => mo);
|
|
4282
|
+
ae([V], () => po);
|
|
4283
|
+
ae([V], () => bo);
|
|
4284
|
+
ae([V, se], () => go);
|
|
4285
|
+
window.emWidgets = { topic: In };
|
|
4286
|
+
const vo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4287
|
+
function _o(e, t) {
|
|
4266
4288
|
if (e) {
|
|
4267
4289
|
const r = document.createElement("style");
|
|
4268
4290
|
r.innerHTML = t, e.appendChild(r);
|
|
4269
4291
|
}
|
|
4270
4292
|
}
|
|
4271
|
-
function
|
|
4293
|
+
function xo(e, t) {
|
|
4272
4294
|
const r = new URL(t);
|
|
4273
4295
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4274
4296
|
const i = document.createElement("style");
|
|
@@ -4277,7 +4299,7 @@ function yo(e, t) {
|
|
|
4277
4299
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4278
4300
|
});
|
|
4279
4301
|
}
|
|
4280
|
-
function
|
|
4302
|
+
function Eo(e, t, r) {
|
|
4281
4303
|
if (window.emMessageBus) {
|
|
4282
4304
|
const n = document.createElement("style");
|
|
4283
4305
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4285,18 +4307,18 @@ function vo(e, t, r) {
|
|
|
4285
4307
|
});
|
|
4286
4308
|
}
|
|
4287
4309
|
}
|
|
4288
|
-
function
|
|
4310
|
+
function wo({ withLocale: e, translations: t }) {
|
|
4289
4311
|
V.subscribe((r) => {
|
|
4290
4312
|
r == null && (se.set(t), V.set(e));
|
|
4291
4313
|
});
|
|
4292
4314
|
}
|
|
4293
|
-
function
|
|
4294
|
-
|
|
4315
|
+
function Dt(e, t) {
|
|
4316
|
+
Sr(e, t);
|
|
4295
4317
|
}
|
|
4296
|
-
function
|
|
4318
|
+
function So(e) {
|
|
4297
4319
|
V.set(e);
|
|
4298
4320
|
}
|
|
4299
|
-
const
|
|
4321
|
+
const Ft = {
|
|
4300
4322
|
en: {
|
|
4301
4323
|
playRandomGame: "Play a random game",
|
|
4302
4324
|
randomGameLoading: "Selecting ...",
|
|
@@ -4370,30 +4392,30 @@ const Gt = {
|
|
|
4370
4392
|
noGames: "There are no random games to play"
|
|
4371
4393
|
}
|
|
4372
4394
|
};
|
|
4373
|
-
function
|
|
4374
|
-
|
|
4395
|
+
function To(e) {
|
|
4396
|
+
Qr(e, "svelte-fd0a5p", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
|
|
4375
4397
|
}
|
|
4376
|
-
function
|
|
4398
|
+
function $t(e, t, r) {
|
|
4377
4399
|
const n = e.slice();
|
|
4378
4400
|
return n[41] = t[r], n;
|
|
4379
4401
|
}
|
|
4380
|
-
const
|
|
4381
|
-
function
|
|
4402
|
+
const Ho = (e) => ({}), jt = (e) => ({});
|
|
4403
|
+
function kt(e) {
|
|
4382
4404
|
let t, r, n, i, o, a, s;
|
|
4383
4405
|
const h = (
|
|
4384
4406
|
/*#slots*/
|
|
4385
4407
|
e[23].close
|
|
4386
|
-
), l =
|
|
4408
|
+
), l = Xr(
|
|
4387
4409
|
h,
|
|
4388
4410
|
e,
|
|
4389
4411
|
/*$$scope*/
|
|
4390
4412
|
e[22],
|
|
4391
|
-
|
|
4392
|
-
), u = l ||
|
|
4413
|
+
jt
|
|
4414
|
+
), u = l || Bo();
|
|
4393
4415
|
function f(d, p) {
|
|
4394
4416
|
return (
|
|
4395
4417
|
/*hasRandomGames*/
|
|
4396
|
-
d[7] ?
|
|
4418
|
+
d[7] ? Po : Ao
|
|
4397
4419
|
);
|
|
4398
4420
|
}
|
|
4399
4421
|
let c = f(e), m = c(e);
|
|
@@ -4402,7 +4424,7 @@ function Ft(e) {
|
|
|
4402
4424
|
t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = k(), m.c(), _(n, "class", "ModalCloseBtn"), _(n, "role", "button"), _(r, "class", "ModalContainer"), _(t, "class", "ModalWindow");
|
|
4403
4425
|
},
|
|
4404
4426
|
m(d, p) {
|
|
4405
|
-
|
|
4427
|
+
O(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = He(
|
|
4406
4428
|
n,
|
|
4407
4429
|
"click",
|
|
4408
4430
|
/*closeModal*/
|
|
@@ -4411,52 +4433,52 @@ function Ft(e) {
|
|
|
4411
4433
|
},
|
|
4412
4434
|
p(d, p) {
|
|
4413
4435
|
l && l.p && (!o || p[0] & /*$$scope*/
|
|
4414
|
-
4194304) &&
|
|
4436
|
+
4194304) && Jr(
|
|
4415
4437
|
l,
|
|
4416
4438
|
h,
|
|
4417
4439
|
d,
|
|
4418
4440
|
/*$$scope*/
|
|
4419
4441
|
d[22],
|
|
4420
|
-
o ?
|
|
4442
|
+
o ? zr(
|
|
4421
4443
|
h,
|
|
4422
4444
|
/*$$scope*/
|
|
4423
4445
|
d[22],
|
|
4424
4446
|
p,
|
|
4425
|
-
|
|
4426
|
-
) :
|
|
4447
|
+
Ho
|
|
4448
|
+
) : Zr(
|
|
4427
4449
|
/*$$scope*/
|
|
4428
4450
|
d[22]
|
|
4429
4451
|
),
|
|
4430
|
-
|
|
4452
|
+
jt
|
|
4431
4453
|
), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
|
|
4432
4454
|
},
|
|
4433
4455
|
i(d) {
|
|
4434
4456
|
o || (fe(u, d), o = !0);
|
|
4435
4457
|
},
|
|
4436
4458
|
o(d) {
|
|
4437
|
-
|
|
4459
|
+
Xe(u, d), o = !1;
|
|
4438
4460
|
},
|
|
4439
4461
|
d(d) {
|
|
4440
4462
|
d && R(t), u && u.d(d), m.d(), a = !1, s();
|
|
4441
4463
|
}
|
|
4442
4464
|
};
|
|
4443
4465
|
}
|
|
4444
|
-
function
|
|
4466
|
+
function Bo(e) {
|
|
4445
4467
|
let t, r;
|
|
4446
4468
|
return {
|
|
4447
4469
|
c() {
|
|
4448
|
-
t =
|
|
4470
|
+
t = bt("svg"), r = bt("path"), _(r, "stroke-linecap", "round"), _(r, "stroke-linejoin", "round"), _(r, "stroke-width", "2"), _(r, "d", "M6 18L18 6M6 6l12 12"), _(t, "class", "w-6 h-6"), _(t, "fill", "none"), _(t, "stroke", "currentColor"), _(t, "viewBox", "0 0 24 24"), _(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4449
4471
|
},
|
|
4450
4472
|
m(n, i) {
|
|
4451
|
-
|
|
4473
|
+
O(n, t, i), x(t, r);
|
|
4452
4474
|
},
|
|
4453
|
-
p:
|
|
4475
|
+
p: C,
|
|
4454
4476
|
d(n) {
|
|
4455
4477
|
n && R(t);
|
|
4456
4478
|
}
|
|
4457
4479
|
};
|
|
4458
4480
|
}
|
|
4459
|
-
function
|
|
4481
|
+
function Ao(e) {
|
|
4460
4482
|
let t, r = (
|
|
4461
4483
|
/*$_*/
|
|
4462
4484
|
e[9]("noGames") + ""
|
|
@@ -4466,7 +4488,7 @@ function To(e) {
|
|
|
4466
4488
|
t = S("p"), n = j(r), _(t, "class", "RandomGameLoading");
|
|
4467
4489
|
},
|
|
4468
4490
|
m(i, o) {
|
|
4469
|
-
|
|
4491
|
+
O(i, t, o), x(t, n);
|
|
4470
4492
|
},
|
|
4471
4493
|
p(i, o) {
|
|
4472
4494
|
o[0] & /*$_*/
|
|
@@ -4478,17 +4500,17 @@ function To(e) {
|
|
|
4478
4500
|
}
|
|
4479
4501
|
};
|
|
4480
4502
|
}
|
|
4481
|
-
function
|
|
4482
|
-
let t, r, n, i, o =
|
|
4503
|
+
function Po(e) {
|
|
4504
|
+
let t, r, n, i, o = yt(
|
|
4483
4505
|
/*gamesToShow*/
|
|
4484
4506
|
e[4]
|
|
4485
4507
|
), a = [];
|
|
4486
4508
|
for (let u = 0; u < o.length; u += 1)
|
|
4487
|
-
a[u] = $t(
|
|
4509
|
+
a[u] = Vt($t(e, o, u));
|
|
4488
4510
|
function s(u, f) {
|
|
4489
4511
|
return (
|
|
4490
4512
|
/*animationDone*/
|
|
4491
|
-
u[6] ?
|
|
4513
|
+
u[6] ? Io : Ro
|
|
4492
4514
|
);
|
|
4493
4515
|
}
|
|
4494
4516
|
let h = s(e), l = h(e);
|
|
@@ -4500,7 +4522,7 @@ function Ho(e) {
|
|
|
4500
4522
|
i = k(), l.c(), _(n, "class", "GamesContainer"), _(r, "class", "RandomGamesSliderWrapper"), _(t, "class", "RandomGameWrapper");
|
|
4501
4523
|
},
|
|
4502
4524
|
m(u, f) {
|
|
4503
|
-
|
|
4525
|
+
O(u, t, f), x(t, r), x(r, n);
|
|
4504
4526
|
for (let c = 0; c < a.length; c += 1)
|
|
4505
4527
|
a[c] && a[c].m(n, null);
|
|
4506
4528
|
e[24](n), x(t, i), l.m(t, null);
|
|
@@ -4508,14 +4530,14 @@ function Ho(e) {
|
|
|
4508
4530
|
p(u, f) {
|
|
4509
4531
|
if (f[0] & /*gamesToShow*/
|
|
4510
4532
|
16) {
|
|
4511
|
-
o =
|
|
4533
|
+
o = yt(
|
|
4512
4534
|
/*gamesToShow*/
|
|
4513
4535
|
u[4]
|
|
4514
4536
|
);
|
|
4515
4537
|
let c;
|
|
4516
4538
|
for (c = 0; c < o.length; c += 1) {
|
|
4517
|
-
const m =
|
|
4518
|
-
a[c] ? a[c].p(m, f) : (a[c] =
|
|
4539
|
+
const m = $t(u, o, c);
|
|
4540
|
+
a[c] ? a[c].p(m, f) : (a[c] = Vt(m), a[c].c(), a[c].m(n, null));
|
|
4519
4541
|
}
|
|
4520
4542
|
for (; c < a.length; c += 1)
|
|
4521
4543
|
a[c].d(1);
|
|
@@ -4524,25 +4546,25 @@ function Ho(e) {
|
|
|
4524
4546
|
h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
|
|
4525
4547
|
},
|
|
4526
4548
|
d(u) {
|
|
4527
|
-
u && R(t),
|
|
4549
|
+
u && R(t), Kr(a, u), e[24](null), l.d();
|
|
4528
4550
|
}
|
|
4529
4551
|
};
|
|
4530
4552
|
}
|
|
4531
|
-
function
|
|
4553
|
+
function Vt(e) {
|
|
4532
4554
|
let t, r, n, i, o, a;
|
|
4533
4555
|
return {
|
|
4534
4556
|
c() {
|
|
4535
|
-
t = S("div"), r = S("ui-image"), a = k(), W(r, "imgClass", "RandomGameImage"),
|
|
4557
|
+
t = S("div"), r = S("ui-image"), a = k(), W(r, "imgClass", "RandomGameImage"), pt(r.src, n = /*game*/
|
|
4536
4558
|
e[41].thumbnail) || W(r, "src", n), W(r, "alt", i = /*game*/
|
|
4537
4559
|
e[41].name), W(r, "title", o = /*game*/
|
|
4538
4560
|
e[41].name), _(t, "class", "item");
|
|
4539
4561
|
},
|
|
4540
4562
|
m(s, h) {
|
|
4541
|
-
|
|
4563
|
+
O(s, t, h), x(t, r), x(t, a);
|
|
4542
4564
|
},
|
|
4543
4565
|
p(s, h) {
|
|
4544
4566
|
h[0] & /*gamesToShow*/
|
|
4545
|
-
16 && !
|
|
4567
|
+
16 && !pt(r.src, n = /*game*/
|
|
4546
4568
|
s[41].thumbnail) && W(r, "src", n), h[0] & /*gamesToShow*/
|
|
4547
4569
|
16 && i !== (i = /*game*/
|
|
4548
4570
|
s[41].name) && W(r, "alt", i), h[0] & /*gamesToShow*/
|
|
@@ -4554,7 +4576,7 @@ function $t(e) {
|
|
|
4554
4576
|
}
|
|
4555
4577
|
};
|
|
4556
4578
|
}
|
|
4557
|
-
function
|
|
4579
|
+
function Ro(e) {
|
|
4558
4580
|
let t, r = (
|
|
4559
4581
|
/*$_*/
|
|
4560
4582
|
e[9]("randomGameLoading") + ""
|
|
@@ -4564,7 +4586,7 @@ function Bo(e) {
|
|
|
4564
4586
|
t = S("p"), n = j(r), _(t, "class", "RandomGameLoading");
|
|
4565
4587
|
},
|
|
4566
4588
|
m(i, o) {
|
|
4567
|
-
|
|
4589
|
+
O(i, t, o), x(t, n);
|
|
4568
4590
|
},
|
|
4569
4591
|
p(i, o) {
|
|
4570
4592
|
o[0] & /*$_*/
|
|
@@ -4576,7 +4598,7 @@ function Bo(e) {
|
|
|
4576
4598
|
}
|
|
4577
4599
|
};
|
|
4578
4600
|
}
|
|
4579
|
-
function
|
|
4601
|
+
function Io(e) {
|
|
4580
4602
|
let t, r, n, i, o = (
|
|
4581
4603
|
/*randomGame*/
|
|
4582
4604
|
e[3].name + ""
|
|
@@ -4593,7 +4615,7 @@ function Ao(e) {
|
|
|
4593
4615
|
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, r = k(), n = S("div"), i = S("p"), a = j(o), s = k(), h = S("p"), u = j(l), f = k(), c = S("button"), d = j(m), _(t, "class", "RandomTryAgain"), _(i, "class", "RandomGameTitle"), _(h, "class", "RandomGameVendor"), _(c, "class", "RandomGamePlay"), _(n, "class", "RandomGameDetails");
|
|
4594
4616
|
},
|
|
4595
4617
|
m(H, T) {
|
|
4596
|
-
|
|
4618
|
+
O(H, t, T), O(H, r, T), O(H, n, T), x(n, i), x(i, a), x(n, s), x(n, h), x(h, u), x(n, f), x(n, c), x(c, d), p || (A = [
|
|
4597
4619
|
He(
|
|
4598
4620
|
t,
|
|
4599
4621
|
"click",
|
|
@@ -4622,7 +4644,7 @@ function Ao(e) {
|
|
|
4622
4644
|
}
|
|
4623
4645
|
};
|
|
4624
4646
|
}
|
|
4625
|
-
function
|
|
4647
|
+
function Oo(e) {
|
|
4626
4648
|
let t, r = (
|
|
4627
4649
|
/*$_*/
|
|
4628
4650
|
e[9]("playRandomGame") + ""
|
|
@@ -4632,7 +4654,7 @@ function Po(e) {
|
|
|
4632
4654
|
t = S("span"), n = j(r), _(t, "class", "RandomButtonText");
|
|
4633
4655
|
},
|
|
4634
4656
|
m(i, o) {
|
|
4635
|
-
|
|
4657
|
+
O(i, t, o), x(t, n);
|
|
4636
4658
|
},
|
|
4637
4659
|
p(i, o) {
|
|
4638
4660
|
o[0] & /*$_*/
|
|
@@ -4644,7 +4666,7 @@ function Po(e) {
|
|
|
4644
4666
|
}
|
|
4645
4667
|
};
|
|
4646
4668
|
}
|
|
4647
|
-
function
|
|
4669
|
+
function Lo(e) {
|
|
4648
4670
|
let t, r;
|
|
4649
4671
|
return {
|
|
4650
4672
|
c() {
|
|
@@ -4654,7 +4676,7 @@ function Ro(e) {
|
|
|
4654
4676
|
), _(t, "class", "RandomButtonText");
|
|
4655
4677
|
},
|
|
4656
4678
|
m(n, i) {
|
|
4657
|
-
|
|
4679
|
+
O(n, t, i), x(t, r);
|
|
4658
4680
|
},
|
|
4659
4681
|
p(n, i) {
|
|
4660
4682
|
i[0] & /*buttontext*/
|
|
@@ -4669,20 +4691,20 @@ function Ro(e) {
|
|
|
4669
4691
|
}
|
|
4670
4692
|
};
|
|
4671
4693
|
}
|
|
4672
|
-
function
|
|
4694
|
+
function Mo(e) {
|
|
4673
4695
|
let t, r, n, i, o, a, s, h, l, u = (
|
|
4674
4696
|
/*show*/
|
|
4675
|
-
e[5] &&
|
|
4697
|
+
e[5] && kt(e)
|
|
4676
4698
|
);
|
|
4677
4699
|
function f(d, p) {
|
|
4678
4700
|
if (
|
|
4679
4701
|
/*buttontext*/
|
|
4680
4702
|
d[1]
|
|
4681
4703
|
)
|
|
4682
|
-
return
|
|
4704
|
+
return Lo;
|
|
4683
4705
|
if (!/*buttontext*/
|
|
4684
4706
|
d[1])
|
|
4685
|
-
return
|
|
4707
|
+
return Oo;
|
|
4686
4708
|
}
|
|
4687
4709
|
let c = f(e), m = c && c(e);
|
|
4688
4710
|
return {
|
|
@@ -4690,7 +4712,7 @@ function Oo(e) {
|
|
|
4690
4712
|
t = S("div"), u && u.c(), r = k(), n = S("div"), i = S("button"), m && m.c(), o = k(), a = S("span"), _(a, "class", "RandomButtonIcon"), _(i, "class", "RandomButton"), _(n, "class", "RandomButtonWrapper");
|
|
4691
4713
|
},
|
|
4692
4714
|
m(d, p) {
|
|
4693
|
-
|
|
4715
|
+
O(d, t, p), u && u.m(t, null), x(t, r), x(t, n), x(n, i), m && m.m(i, null), x(i, o), x(i, a), a.innerHTML = /*randombuttonicon*/
|
|
4694
4716
|
e[0], e[28](t), s = !0, h || (l = He(
|
|
4695
4717
|
i,
|
|
4696
4718
|
"click",
|
|
@@ -4701,9 +4723,9 @@ function Oo(e) {
|
|
|
4701
4723
|
p(d, p) {
|
|
4702
4724
|
/*show*/
|
|
4703
4725
|
d[5] ? u ? (u.p(d, p), p[0] & /*show*/
|
|
4704
|
-
32 && fe(u, 1)) : (u =
|
|
4726
|
+
32 && fe(u, 1)) : (u = kt(d), u.c(), fe(u, 1), u.m(t, r)) : u && (un(), Xe(u, 1, 1, () => {
|
|
4705
4727
|
u = null;
|
|
4706
|
-
}),
|
|
4728
|
+
}), ln()), c === (c = f(d)) && m ? m.p(d, p) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || p[0] & /*randombuttonicon*/
|
|
4707
4729
|
1) && (a.innerHTML = /*randombuttonicon*/
|
|
4708
4730
|
d[0]);
|
|
4709
4731
|
},
|
|
@@ -4711,89 +4733,89 @@ function Oo(e) {
|
|
|
4711
4733
|
s || (fe(u), s = !0);
|
|
4712
4734
|
},
|
|
4713
4735
|
o(d) {
|
|
4714
|
-
|
|
4736
|
+
Xe(u), s = !1;
|
|
4715
4737
|
},
|
|
4716
4738
|
d(d) {
|
|
4717
4739
|
d && R(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
|
|
4718
4740
|
}
|
|
4719
4741
|
};
|
|
4720
4742
|
}
|
|
4721
|
-
function
|
|
4743
|
+
function Co(e, t, r) {
|
|
4722
4744
|
let n;
|
|
4723
|
-
|
|
4724
|
-
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B,
|
|
4725
|
-
|
|
4726
|
-
const
|
|
4745
|
+
Wr(e, yo, (b) => r(9, n = b));
|
|
4746
|
+
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, L = !1, M = !1, N = !1, be = window.navigator.userAgent, G, Q, ct, ge, ft = null;
|
|
4747
|
+
wo({ withLocale: "en", translations: {} });
|
|
4748
|
+
const Pr = () => {
|
|
4727
4749
|
fetch(c).then((E) => E.json()).then((E) => {
|
|
4728
4750
|
Object.keys(E).forEach((U) => {
|
|
4729
|
-
|
|
4751
|
+
Dt(U, E[U]);
|
|
4730
4752
|
});
|
|
4731
4753
|
}).catch((E) => {
|
|
4732
4754
|
console.log(E);
|
|
4733
4755
|
});
|
|
4734
4756
|
};
|
|
4735
|
-
Object.keys(
|
|
4736
|
-
|
|
4757
|
+
Object.keys(Ft).forEach((b) => {
|
|
4758
|
+
Dt(b, Ft[b]);
|
|
4737
4759
|
});
|
|
4738
|
-
const
|
|
4760
|
+
const Rr = () => {
|
|
4739
4761
|
let b = new URL(`${a}/v1/casino/games`);
|
|
4740
|
-
b.searchParams.append("platform",
|
|
4741
|
-
H = E.items, H.length ? (r(4, B =
|
|
4762
|
+
b.searchParams.append("platform", vo(be)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((E) => E.json()).then((E) => {
|
|
4763
|
+
H = E.items, H.length ? (r(4, B = Ir(H.slice(0, 19))), r(7, N = !0)) : (r(4, B = []), r(7, N = !1));
|
|
4742
4764
|
}).catch((E) => {
|
|
4743
|
-
console.log(E), r(7,
|
|
4765
|
+
console.log(E), r(7, N = !1);
|
|
4744
4766
|
});
|
|
4745
|
-
},
|
|
4746
|
-
const E =
|
|
4767
|
+
}, Ir = (b) => {
|
|
4768
|
+
const E = Lr(b);
|
|
4747
4769
|
return E.concat(E);
|
|
4748
|
-
},
|
|
4749
|
-
await
|
|
4750
|
-
},
|
|
4751
|
-
r(6,
|
|
4752
|
-
const b = window.getComputedStyle(Q).getPropertyValue("gap"), E = parseInt(b, 10) || 0, le = (
|
|
4770
|
+
}, Or = async () => {
|
|
4771
|
+
await on(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), ct = Q.children[ge];
|
|
4772
|
+
}, Ce = async () => {
|
|
4773
|
+
r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Or();
|
|
4774
|
+
const b = window.getComputedStyle(Q).getPropertyValue("gap"), E = parseInt(b, 10) || 0, le = (ct.offsetHeight + E) * ge, $r = [
|
|
4753
4775
|
{ transform: "translateX(0px)" },
|
|
4754
4776
|
{ filter: "blur(5px)" },
|
|
4755
4777
|
{
|
|
4756
4778
|
transform: `translateY(-${le}px)`
|
|
4757
4779
|
}
|
|
4758
|
-
],
|
|
4780
|
+
], jr = {
|
|
4759
4781
|
duration: 2e3,
|
|
4760
4782
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
4761
4783
|
fill: "forwards"
|
|
4762
4784
|
};
|
|
4763
|
-
|
|
4764
|
-
r(6,
|
|
4785
|
+
ft = Q.animate($r, jr), ft.onfinish = () => {
|
|
4786
|
+
r(6, M = !0);
|
|
4765
4787
|
};
|
|
4766
|
-
},
|
|
4788
|
+
}, Lr = (b) => {
|
|
4767
4789
|
const E = structuredClone(b);
|
|
4768
4790
|
let U = E.length, le;
|
|
4769
4791
|
for (; U != 0; )
|
|
4770
4792
|
le = Math.floor(Math.random() * U), U--, [E[U], E[le]] = [E[le], E[U]];
|
|
4771
4793
|
return E;
|
|
4772
|
-
},
|
|
4794
|
+
}, mt = () => {
|
|
4773
4795
|
window.postMessage(
|
|
4774
4796
|
{
|
|
4775
4797
|
type: h,
|
|
4776
4798
|
gameId: T.gId || T.id
|
|
4777
4799
|
},
|
|
4778
4800
|
window.location.href
|
|
4779
|
-
), r(5,
|
|
4801
|
+
), r(5, L = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
4780
4802
|
context: "RandomGameWidget",
|
|
4781
4803
|
gameId: `${T.gId || T.id}`
|
|
4782
4804
|
});
|
|
4783
|
-
},
|
|
4784
|
-
r(5,
|
|
4785
|
-
},
|
|
4786
|
-
|
|
4805
|
+
}, Mr = () => {
|
|
4806
|
+
r(5, L = !1), window.postMessage({ type: "RandomWidgetState", state: L }, window.location.href);
|
|
4807
|
+
}, Cr = () => {
|
|
4808
|
+
So(l);
|
|
4787
4809
|
};
|
|
4788
|
-
|
|
4810
|
+
nn(() => () => {
|
|
4789
4811
|
});
|
|
4790
|
-
function
|
|
4812
|
+
function Nr(b) {
|
|
4791
4813
|
Be[b ? "unshift" : "push"](() => {
|
|
4792
4814
|
Q = b, r(8, Q);
|
|
4793
4815
|
});
|
|
4794
4816
|
}
|
|
4795
|
-
const
|
|
4796
|
-
function
|
|
4817
|
+
const Gr = () => Ce(), Ur = () => mt(), Dr = () => Ce();
|
|
4818
|
+
function Fr(b) {
|
|
4797
4819
|
Be[b ? "unshift" : "push"](() => {
|
|
4798
4820
|
G = b, r(2, G);
|
|
4799
4821
|
});
|
|
@@ -4802,26 +4824,26 @@ function Io(e, t, r) {
|
|
|
4802
4824
|
"endpoint" in b && r(13, a = b.endpoint), "datasource" in b && r(14, s = b.datasource), "gameevent" in b && r(15, h = b.gameevent), "lang" in b && r(16, l = b.lang), "randombuttonicon" in b && r(0, u = b.randombuttonicon), "buttontext" in b && r(1, f = b.buttontext), "translationurl" in b && r(17, c = b.translationurl), "clientstyling" in b && r(18, m = b.clientstyling), "clientstylingurl" in b && r(19, d = b.clientstylingurl), "filteredrandomgamecategories" in b && r(20, p = b.filteredrandomgamecategories), "mbsource" in b && r(21, A = b.mbsource), "$$scope" in b && r(22, o = b.$$scope);
|
|
4803
4825
|
}, e.$$.update = () => {
|
|
4804
4826
|
e.$$.dirty[0] & /*lang*/
|
|
4805
|
-
65536 && l &&
|
|
4806
|
-
131072 && c &&
|
|
4807
|
-
24576 && a && s &&
|
|
4808
|
-
262148 && m && G &&
|
|
4809
|
-
524292 && d && G &&
|
|
4810
|
-
2097156 && G &&
|
|
4827
|
+
65536 && l && Cr(), e.$$.dirty[0] & /*translationurl*/
|
|
4828
|
+
131072 && c && Pr(), e.$$.dirty[0] & /*endpoint, datasource*/
|
|
4829
|
+
24576 && a && s && Rr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4830
|
+
262148 && m && G && _o(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4831
|
+
524292 && d && G && xo(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4832
|
+
2097156 && G && Eo(G, `${A}.Style`);
|
|
4811
4833
|
}, [
|
|
4812
4834
|
u,
|
|
4813
4835
|
f,
|
|
4814
4836
|
G,
|
|
4815
4837
|
T,
|
|
4816
4838
|
B,
|
|
4817
|
-
N,
|
|
4818
4839
|
L,
|
|
4819
|
-
|
|
4840
|
+
M,
|
|
4841
|
+
N,
|
|
4820
4842
|
Q,
|
|
4821
4843
|
n,
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4844
|
+
Ce,
|
|
4845
|
+
mt,
|
|
4846
|
+
Mr,
|
|
4825
4847
|
a,
|
|
4826
4848
|
s,
|
|
4827
4849
|
h,
|
|
@@ -4833,21 +4855,21 @@ function Io(e, t, r) {
|
|
|
4833
4855
|
A,
|
|
4834
4856
|
o,
|
|
4835
4857
|
i,
|
|
4836
|
-
Ir,
|
|
4837
4858
|
Nr,
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4859
|
+
Gr,
|
|
4860
|
+
Ur,
|
|
4861
|
+
Dr,
|
|
4862
|
+
Fr
|
|
4841
4863
|
];
|
|
4842
4864
|
}
|
|
4843
|
-
class No extends
|
|
4865
|
+
class No extends pn {
|
|
4844
4866
|
constructor(t) {
|
|
4845
|
-
super(),
|
|
4867
|
+
super(), mn(
|
|
4846
4868
|
this,
|
|
4847
4869
|
t,
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4870
|
+
Co,
|
|
4871
|
+
Mo,
|
|
4872
|
+
Xt,
|
|
4851
4873
|
{
|
|
4852
4874
|
endpoint: 13,
|
|
4853
4875
|
datasource: 14,
|
|
@@ -4861,7 +4883,7 @@ class No extends cn {
|
|
|
4861
4883
|
filteredrandomgamecategories: 20,
|
|
4862
4884
|
mbsource: 21
|
|
4863
4885
|
},
|
|
4864
|
-
|
|
4886
|
+
To,
|
|
4865
4887
|
[-1, -1]
|
|
4866
4888
|
);
|
|
4867
4889
|
}
|
|
@@ -4869,70 +4891,70 @@ class No extends cn {
|
|
|
4869
4891
|
return this.$$.ctx[13];
|
|
4870
4892
|
}
|
|
4871
4893
|
set endpoint(t) {
|
|
4872
|
-
this.$$set({ endpoint: t }),
|
|
4894
|
+
this.$$set({ endpoint: t }), I();
|
|
4873
4895
|
}
|
|
4874
4896
|
get datasource() {
|
|
4875
4897
|
return this.$$.ctx[14];
|
|
4876
4898
|
}
|
|
4877
4899
|
set datasource(t) {
|
|
4878
|
-
this.$$set({ datasource: t }),
|
|
4900
|
+
this.$$set({ datasource: t }), I();
|
|
4879
4901
|
}
|
|
4880
4902
|
get gameevent() {
|
|
4881
4903
|
return this.$$.ctx[15];
|
|
4882
4904
|
}
|
|
4883
4905
|
set gameevent(t) {
|
|
4884
|
-
this.$$set({ gameevent: t }),
|
|
4906
|
+
this.$$set({ gameevent: t }), I();
|
|
4885
4907
|
}
|
|
4886
4908
|
get lang() {
|
|
4887
4909
|
return this.$$.ctx[16];
|
|
4888
4910
|
}
|
|
4889
4911
|
set lang(t) {
|
|
4890
|
-
this.$$set({ lang: t }),
|
|
4912
|
+
this.$$set({ lang: t }), I();
|
|
4891
4913
|
}
|
|
4892
4914
|
get randombuttonicon() {
|
|
4893
4915
|
return this.$$.ctx[0];
|
|
4894
4916
|
}
|
|
4895
4917
|
set randombuttonicon(t) {
|
|
4896
|
-
this.$$set({ randombuttonicon: t }),
|
|
4918
|
+
this.$$set({ randombuttonicon: t }), I();
|
|
4897
4919
|
}
|
|
4898
4920
|
get buttontext() {
|
|
4899
4921
|
return this.$$.ctx[1];
|
|
4900
4922
|
}
|
|
4901
4923
|
set buttontext(t) {
|
|
4902
|
-
this.$$set({ buttontext: t }),
|
|
4924
|
+
this.$$set({ buttontext: t }), I();
|
|
4903
4925
|
}
|
|
4904
4926
|
get translationurl() {
|
|
4905
4927
|
return this.$$.ctx[17];
|
|
4906
4928
|
}
|
|
4907
4929
|
set translationurl(t) {
|
|
4908
|
-
this.$$set({ translationurl: t }),
|
|
4930
|
+
this.$$set({ translationurl: t }), I();
|
|
4909
4931
|
}
|
|
4910
4932
|
get clientstyling() {
|
|
4911
4933
|
return this.$$.ctx[18];
|
|
4912
4934
|
}
|
|
4913
4935
|
set clientstyling(t) {
|
|
4914
|
-
this.$$set({ clientstyling: t }),
|
|
4936
|
+
this.$$set({ clientstyling: t }), I();
|
|
4915
4937
|
}
|
|
4916
4938
|
get clientstylingurl() {
|
|
4917
4939
|
return this.$$.ctx[19];
|
|
4918
4940
|
}
|
|
4919
4941
|
set clientstylingurl(t) {
|
|
4920
|
-
this.$$set({ clientstylingurl: t }),
|
|
4942
|
+
this.$$set({ clientstylingurl: t }), I();
|
|
4921
4943
|
}
|
|
4922
4944
|
get filteredrandomgamecategories() {
|
|
4923
4945
|
return this.$$.ctx[20];
|
|
4924
4946
|
}
|
|
4925
4947
|
set filteredrandomgamecategories(t) {
|
|
4926
|
-
this.$$set({ filteredrandomgamecategories: t }),
|
|
4948
|
+
this.$$set({ filteredrandomgamecategories: t }), I();
|
|
4927
4949
|
}
|
|
4928
4950
|
get mbsource() {
|
|
4929
4951
|
return this.$$.ctx[21];
|
|
4930
4952
|
}
|
|
4931
4953
|
set mbsource(t) {
|
|
4932
|
-
this.$$set({ mbsource: t }),
|
|
4954
|
+
this.$$set({ mbsource: t }), I();
|
|
4933
4955
|
}
|
|
4934
4956
|
}
|
|
4935
|
-
|
|
4957
|
+
dn(No, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
4936
4958
|
export {
|
|
4937
4959
|
No as C
|
|
4938
4960
|
};
|